@oxy.so/contracts 4.9.1 → 4.11.0-oxy-one.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.
Files changed (34) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/index.js +34 -14
  3. package/dist/cjs/inference/catalogue.js +8 -3
  4. package/dist/cjs/inference/privateAutoExecution.js +153 -0
  5. package/dist/cjs/inference/request.js +35 -1
  6. package/dist/cjs/products/access.js +32 -1
  7. package/dist/cjs/products/billing.js +1 -1
  8. package/dist/cjs/products/checkout.js +17 -0
  9. package/dist/cjs/products/plans.js +23 -0
  10. package/dist/cjs/userResponse.js +7 -4
  11. package/dist/esm/.tsbuildinfo +1 -1
  12. package/dist/esm/index.js +7 -3
  13. package/dist/esm/inference/catalogue.js +7 -2
  14. package/dist/esm/inference/privateAutoExecution.js +149 -0
  15. package/dist/esm/inference/request.js +34 -0
  16. package/dist/esm/products/access.js +31 -0
  17. package/dist/esm/products/billing.js +1 -1
  18. package/dist/esm/products/checkout.js +14 -0
  19. package/dist/esm/products/plans.js +20 -0
  20. package/dist/esm/userResponse.js +3 -0
  21. package/dist/types/.tsbuildinfo +1 -1
  22. package/dist/types/externalIdentity.d.ts +90 -0
  23. package/dist/types/index.d.ts +11 -5
  24. package/dist/types/inference/catalogue.d.ts +43 -40
  25. package/dist/types/inference/economics.d.ts +2 -2
  26. package/dist/types/inference/modelDocumentation.d.ts +30 -30
  27. package/dist/types/inference/privateAutoExecution.d.ts +694 -0
  28. package/dist/types/inference/request.d.ts +2238 -14
  29. package/dist/types/products/access.d.ts +459 -54
  30. package/dist/types/products/billing.d.ts +3 -0
  31. package/dist/types/products/checkout.d.ts +60 -0
  32. package/dist/types/products/plans.d.ts +319 -0
  33. package/dist/types/userResponse.d.ts +366 -0
  34. package/package.json +1 -1
@@ -328,7 +328,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
328
328
  description: z.ZodOptional<z.ZodString>;
329
329
  capabilities: z.ZodEffects<z.ZodObject<{
330
330
  inputModalities: z.ZodArray<z.ZodEnum<["text", "image", "audio", "video", "embedding"]>, "many">;
331
- outputModalities: z.ZodArray<z.ZodEnum<["text", "image", "audio", "video", "embedding"]>, "many">;
331
+ outputModalities: z.ZodArray<z.ZodEnum<["text", "image", "audio", "video", "embedding", "decisions"]>, "many">;
332
332
  tools: z.ZodBoolean;
333
333
  parallelToolCalls: z.ZodBoolean;
334
334
  structuredOutput: z.ZodBoolean;
@@ -353,7 +353,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
353
353
  }, "strict", z.ZodTypeAny, {
354
354
  tools: boolean;
355
355
  inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
356
- outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
356
+ outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
357
357
  parallelToolCalls: boolean;
358
358
  structuredOutput: boolean;
359
359
  jsonMode: boolean;
@@ -363,7 +363,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
363
363
  promptCaching: boolean;
364
364
  maxContextTokens: number;
365
365
  maxOutputTokens: number;
366
- apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
366
+ apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
367
367
  realtime?: {
368
368
  transports: "websocket"[];
369
369
  sessionKinds: ("conversation" | "transcription" | "translation")[];
@@ -371,7 +371,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
371
371
  }, {
372
372
  tools: boolean;
373
373
  inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
374
- outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
374
+ outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
375
375
  parallelToolCalls: boolean;
376
376
  structuredOutput: boolean;
377
377
  jsonMode: boolean;
@@ -381,7 +381,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
381
381
  maxContextTokens: number;
382
382
  maxOutputTokens: number;
383
383
  reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
384
- apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
384
+ apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
385
385
  realtime?: {
386
386
  transports: "websocket"[];
387
387
  sessionKinds: ("conversation" | "transcription" | "translation")[];
@@ -389,7 +389,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
389
389
  }>, {
390
390
  tools: boolean;
391
391
  inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
392
- outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
392
+ outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
393
393
  parallelToolCalls: boolean;
394
394
  structuredOutput: boolean;
395
395
  jsonMode: boolean;
@@ -399,7 +399,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
399
399
  promptCaching: boolean;
400
400
  maxContextTokens: number;
401
401
  maxOutputTokens: number;
402
- apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
402
+ apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
403
403
  realtime?: {
404
404
  transports: "websocket"[];
405
405
  sessionKinds: ("conversation" | "transcription" | "translation")[];
@@ -407,7 +407,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
407
407
  }, {
408
408
  tools: boolean;
409
409
  inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
410
- outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
410
+ outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
411
411
  parallelToolCalls: boolean;
412
412
  structuredOutput: boolean;
413
413
  jsonMode: boolean;
@@ -417,7 +417,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
417
417
  maxContextTokens: number;
418
418
  maxOutputTokens: number;
419
419
  reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
420
- apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
420
+ apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
421
421
  realtime?: {
422
422
  transports: "websocket"[];
423
423
  sessionKinds: ("conversation" | "transcription" | "translation")[];
@@ -430,7 +430,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
430
430
  capabilities: {
431
431
  tools: boolean;
432
432
  inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
433
- outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
433
+ outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
434
434
  parallelToolCalls: boolean;
435
435
  structuredOutput: boolean;
436
436
  jsonMode: boolean;
@@ -440,7 +440,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
440
440
  promptCaching: boolean;
441
441
  maxContextTokens: number;
442
442
  maxOutputTokens: number;
443
- apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
443
+ apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
444
444
  realtime?: {
445
445
  transports: "websocket"[];
446
446
  sessionKinds: ("conversation" | "transcription" | "translation")[];
@@ -454,7 +454,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
454
454
  capabilities: {
455
455
  tools: boolean;
456
456
  inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
457
- outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
457
+ outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
458
458
  parallelToolCalls: boolean;
459
459
  structuredOutput: boolean;
460
460
  jsonMode: boolean;
@@ -464,7 +464,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
464
464
  maxContextTokens: number;
465
465
  maxOutputTokens: number;
466
466
  reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
467
- apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
467
+ apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
468
468
  realtime?: {
469
469
  transports: "websocket"[];
470
470
  sessionKinds: ("conversation" | "transcription" | "translation")[];
@@ -1023,7 +1023,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1023
1023
  description: z.ZodOptional<z.ZodString>;
1024
1024
  capabilities: z.ZodEffects<z.ZodObject<{
1025
1025
  inputModalities: z.ZodArray<z.ZodEnum<["text", "image", "audio", "video", "embedding"]>, "many">;
1026
- outputModalities: z.ZodArray<z.ZodEnum<["text", "image", "audio", "video", "embedding"]>, "many">;
1026
+ outputModalities: z.ZodArray<z.ZodEnum<["text", "image", "audio", "video", "embedding", "decisions"]>, "many">;
1027
1027
  tools: z.ZodBoolean;
1028
1028
  parallelToolCalls: z.ZodBoolean;
1029
1029
  structuredOutput: z.ZodBoolean;
@@ -1048,7 +1048,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1048
1048
  }, "strict", z.ZodTypeAny, {
1049
1049
  tools: boolean;
1050
1050
  inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1051
- outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1051
+ outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
1052
1052
  parallelToolCalls: boolean;
1053
1053
  structuredOutput: boolean;
1054
1054
  jsonMode: boolean;
@@ -1058,7 +1058,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1058
1058
  promptCaching: boolean;
1059
1059
  maxContextTokens: number;
1060
1060
  maxOutputTokens: number;
1061
- apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1061
+ apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1062
1062
  realtime?: {
1063
1063
  transports: "websocket"[];
1064
1064
  sessionKinds: ("conversation" | "transcription" | "translation")[];
@@ -1066,7 +1066,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1066
1066
  }, {
1067
1067
  tools: boolean;
1068
1068
  inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1069
- outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1069
+ outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
1070
1070
  parallelToolCalls: boolean;
1071
1071
  structuredOutput: boolean;
1072
1072
  jsonMode: boolean;
@@ -1076,7 +1076,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1076
1076
  maxContextTokens: number;
1077
1077
  maxOutputTokens: number;
1078
1078
  reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
1079
- apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1079
+ apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1080
1080
  realtime?: {
1081
1081
  transports: "websocket"[];
1082
1082
  sessionKinds: ("conversation" | "transcription" | "translation")[];
@@ -1084,7 +1084,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1084
1084
  }>, {
1085
1085
  tools: boolean;
1086
1086
  inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1087
- outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1087
+ outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
1088
1088
  parallelToolCalls: boolean;
1089
1089
  structuredOutput: boolean;
1090
1090
  jsonMode: boolean;
@@ -1094,7 +1094,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1094
1094
  promptCaching: boolean;
1095
1095
  maxContextTokens: number;
1096
1096
  maxOutputTokens: number;
1097
- apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1097
+ apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1098
1098
  realtime?: {
1099
1099
  transports: "websocket"[];
1100
1100
  sessionKinds: ("conversation" | "transcription" | "translation")[];
@@ -1102,7 +1102,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1102
1102
  }, {
1103
1103
  tools: boolean;
1104
1104
  inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1105
- outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1105
+ outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
1106
1106
  parallelToolCalls: boolean;
1107
1107
  structuredOutput: boolean;
1108
1108
  jsonMode: boolean;
@@ -1112,7 +1112,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1112
1112
  maxContextTokens: number;
1113
1113
  maxOutputTokens: number;
1114
1114
  reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
1115
- apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1115
+ apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1116
1116
  realtime?: {
1117
1117
  transports: "websocket"[];
1118
1118
  sessionKinds: ("conversation" | "transcription" | "translation")[];
@@ -1125,7 +1125,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1125
1125
  capabilities: {
1126
1126
  tools: boolean;
1127
1127
  inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1128
- outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1128
+ outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
1129
1129
  parallelToolCalls: boolean;
1130
1130
  structuredOutput: boolean;
1131
1131
  jsonMode: boolean;
@@ -1135,7 +1135,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1135
1135
  promptCaching: boolean;
1136
1136
  maxContextTokens: number;
1137
1137
  maxOutputTokens: number;
1138
- apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1138
+ apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1139
1139
  realtime?: {
1140
1140
  transports: "websocket"[];
1141
1141
  sessionKinds: ("conversation" | "transcription" | "translation")[];
@@ -1149,7 +1149,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1149
1149
  capabilities: {
1150
1150
  tools: boolean;
1151
1151
  inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1152
- outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1152
+ outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
1153
1153
  parallelToolCalls: boolean;
1154
1154
  structuredOutput: boolean;
1155
1155
  jsonMode: boolean;
@@ -1159,7 +1159,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1159
1159
  maxContextTokens: number;
1160
1160
  maxOutputTokens: number;
1161
1161
  reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
1162
- apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1162
+ apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1163
1163
  realtime?: {
1164
1164
  transports: "websocket"[];
1165
1165
  sessionKinds: ("conversation" | "transcription" | "translation")[];
@@ -1176,7 +1176,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1176
1176
  capabilities: {
1177
1177
  tools: boolean;
1178
1178
  inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1179
- outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1179
+ outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
1180
1180
  parallelToolCalls: boolean;
1181
1181
  structuredOutput: boolean;
1182
1182
  jsonMode: boolean;
@@ -1186,7 +1186,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1186
1186
  promptCaching: boolean;
1187
1187
  maxContextTokens: number;
1188
1188
  maxOutputTokens: number;
1189
- apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1189
+ apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1190
1190
  realtime?: {
1191
1191
  transports: "websocket"[];
1192
1192
  sessionKinds: ("conversation" | "transcription" | "translation")[];
@@ -1272,7 +1272,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1272
1272
  capabilities: {
1273
1273
  tools: boolean;
1274
1274
  inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1275
- outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
1275
+ outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
1276
1276
  parallelToolCalls: boolean;
1277
1277
  structuredOutput: boolean;
1278
1278
  jsonMode: boolean;
@@ -1282,7 +1282,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1282
1282
  maxContextTokens: number;
1283
1283
  maxOutputTokens: number;
1284
1284
  reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
1285
- apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1285
+ apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
1286
1286
  realtime?: {
1287
1287
  transports: "websocket"[];
1288
1288
  sessionKinds: ("conversation" | "transcription" | "translation")[];