@orq-ai/node 3.11.8 → 3.11.10

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 (98) hide show
  1. package/bin/mcp-server.js +104 -104
  2. package/bin/mcp-server.js.map +26 -26
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/lib/config.js.map +1 -1
  8. package/mcp-server/mcp-server.js +1 -1
  9. package/mcp-server/mcp-server.js.map +1 -1
  10. package/mcp-server/server.js +1 -1
  11. package/mcp-server/server.js.map +1 -1
  12. package/models/operations/createcontact.js +2 -2
  13. package/models/operations/createdataset.js +2 -2
  14. package/models/operations/createdatasetitem.js +2 -2
  15. package/models/operations/createdatasource.js +2 -2
  16. package/models/operations/createeval.js +16 -16
  17. package/models/operations/fileget.js +2 -2
  18. package/models/operations/filelist.js +2 -2
  19. package/models/operations/fileupload.js +2 -2
  20. package/models/operations/getevals.js +28 -28
  21. package/models/operations/listcontacts.js +2 -2
  22. package/models/operations/listdatasetdatapoints.js +2 -2
  23. package/models/operations/listdatasets.js +2 -2
  24. package/models/operations/listdatasources.js +2 -2
  25. package/models/operations/retrievecontact.js +2 -2
  26. package/models/operations/retrievedatapoint.js +2 -2
  27. package/models/operations/retrievedataset.js +2 -2
  28. package/models/operations/retrievedatasource.js +2 -2
  29. package/models/operations/updatecontact.js +2 -2
  30. package/models/operations/updatedatapoint.js +2 -2
  31. package/models/operations/updatedataset.js +2 -2
  32. package/models/operations/updatedatasource.js +2 -2
  33. package/models/operations/updateeval.js +16 -16
  34. package/package.json +1 -1
  35. package/packages/orq-rc/docs/sdks/knowledge/README.md +1 -1
  36. package/packages/orq-rc/docs/sdks/proxy/README.md +72 -0
  37. package/packages/orq-rc/examples/package-lock.json +1 -1
  38. package/packages/orq-rc/jsr.json +1 -1
  39. package/packages/orq-rc/package-lock.json +2 -2
  40. package/packages/orq-rc/package.json +1 -1
  41. package/packages/orq-rc/src/funcs/knowledgeSearch.ts +1 -1
  42. package/packages/orq-rc/src/lib/config.ts +3 -3
  43. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  44. package/packages/orq-rc/src/mcp-server/server.ts +1 -1
  45. package/packages/orq-rc/src/mcp-server/tools/knowledgeSearch.ts +1 -1
  46. package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
  47. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  48. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  49. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
  50. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  51. package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
  52. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  53. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  54. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  55. package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
  56. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  57. package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
  58. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  59. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
  60. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  61. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  62. package/packages/orq-rc/src/models/operations/postv2proxyembeddings.ts +335 -0
  63. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  64. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
  65. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  66. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  67. package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
  68. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  69. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
  70. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  71. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  72. package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
  73. package/packages/orq-rc/src/sdk/knowledge.ts +1 -1
  74. package/src/lib/config.ts +3 -3
  75. package/src/mcp-server/mcp-server.ts +1 -1
  76. package/src/mcp-server/server.ts +1 -1
  77. package/src/models/operations/createcontact.ts +2 -2
  78. package/src/models/operations/createdataset.ts +2 -2
  79. package/src/models/operations/createdatasetitem.ts +2 -2
  80. package/src/models/operations/createdatasource.ts +2 -2
  81. package/src/models/operations/createeval.ts +16 -16
  82. package/src/models/operations/fileget.ts +2 -2
  83. package/src/models/operations/filelist.ts +2 -2
  84. package/src/models/operations/fileupload.ts +2 -2
  85. package/src/models/operations/getevals.ts +28 -28
  86. package/src/models/operations/listcontacts.ts +2 -2
  87. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  88. package/src/models/operations/listdatasets.ts +2 -2
  89. package/src/models/operations/listdatasources.ts +2 -2
  90. package/src/models/operations/retrievecontact.ts +2 -2
  91. package/src/models/operations/retrievedatapoint.ts +2 -2
  92. package/src/models/operations/retrievedataset.ts +2 -2
  93. package/src/models/operations/retrievedatasource.ts +2 -2
  94. package/src/models/operations/updatecontact.ts +2 -2
  95. package/src/models/operations/updatedatapoint.ts +2 -2
  96. package/src/models/operations/updatedataset.ts +2 -2
  97. package/src/models/operations/updatedatasource.ts +2 -2
  98. package/src/models/operations/updateeval.ts +16 -16
@@ -1551,8 +1551,8 @@ export const Typescript$inboundSchema: z.ZodType<
1551
1551
  > = z.object({
1552
1552
  _id: z.string(),
1553
1553
  description: z.string(),
1554
- created: z.string().default("2025-08-27T07:41:10.243Z"),
1555
- updated: z.string().default("2025-08-27T07:41:10.243Z"),
1554
+ created: z.string().default("2025-08-28T12:00:12.628Z"),
1555
+ updated: z.string().default("2025-08-28T12:00:12.628Z"),
1556
1556
  guardrail_config: z.union([
1557
1557
  z.lazy(() =>
1558
1558
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
@@ -1595,8 +1595,8 @@ export const Typescript$outboundSchema: z.ZodType<
1595
1595
  > = z.object({
1596
1596
  id: z.string(),
1597
1597
  description: z.string(),
1598
- created: z.string().default("2025-08-27T07:41:10.243Z"),
1599
- updated: z.string().default("2025-08-27T07:41:10.243Z"),
1598
+ created: z.string().default("2025-08-28T12:00:12.628Z"),
1599
+ updated: z.string().default("2025-08-28T12:00:12.628Z"),
1600
1600
  guardrailConfig: z.union([
1601
1601
  z.lazy(() =>
1602
1602
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
@@ -1992,8 +1992,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
1992
1992
  .object({
1993
1993
  _id: z.string(),
1994
1994
  description: z.string(),
1995
- created: z.string().default("2025-08-27T07:41:10.243Z"),
1996
- updated: z.string().default("2025-08-27T07:41:10.243Z"),
1995
+ created: z.string().default("2025-08-28T12:00:12.628Z"),
1996
+ updated: z.string().default("2025-08-28T12:00:12.628Z"),
1997
1997
  guardrail_config: z.union([
1998
1998
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
1999
1999
  z.lazy(() =>
@@ -2036,8 +2036,8 @@ export const Ragas$outboundSchema: z.ZodType<
2036
2036
  > = z.object({
2037
2037
  id: z.string(),
2038
2038
  description: z.string(),
2039
- created: z.string().default("2025-08-27T07:41:10.243Z"),
2040
- updated: z.string().default("2025-08-27T07:41:10.243Z"),
2039
+ created: z.string().default("2025-08-28T12:00:12.628Z"),
2040
+ updated: z.string().default("2025-08-28T12:00:12.628Z"),
2041
2041
  guardrailConfig: z.union([
2042
2042
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
2043
2043
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
@@ -5331,8 +5331,8 @@ export const DataFunction$inboundSchema: z.ZodType<
5331
5331
  > = z.object({
5332
5332
  _id: z.string(),
5333
5333
  description: z.string(),
5334
- created: z.string().default("2025-08-27T07:41:10.243Z"),
5335
- updated: z.string().default("2025-08-27T07:41:10.243Z"),
5334
+ created: z.string().default("2025-08-28T12:00:12.628Z"),
5335
+ updated: z.string().default("2025-08-28T12:00:12.628Z"),
5336
5336
  guardrail_config: z.union([
5337
5337
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
5338
5338
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -5442,8 +5442,8 @@ export const DataFunction$outboundSchema: z.ZodType<
5442
5442
  > = z.object({
5443
5443
  id: z.string(),
5444
5444
  description: z.string(),
5445
- created: z.string().default("2025-08-27T07:41:10.243Z"),
5446
- updated: z.string().default("2025-08-27T07:41:10.243Z"),
5445
+ created: z.string().default("2025-08-28T12:00:12.628Z"),
5446
+ updated: z.string().default("2025-08-28T12:00:12.628Z"),
5447
5447
  guardrailConfig: z.union([
5448
5448
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
5449
5449
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
@@ -5825,8 +5825,8 @@ export const DataPython$inboundSchema: z.ZodType<
5825
5825
  > = z.object({
5826
5826
  _id: z.string(),
5827
5827
  description: z.string(),
5828
- created: z.string().default("2025-08-27T07:41:10.243Z"),
5829
- updated: z.string().default("2025-08-27T07:41:10.243Z"),
5828
+ created: z.string().default("2025-08-28T12:00:12.628Z"),
5829
+ updated: z.string().default("2025-08-28T12:00:12.628Z"),
5830
5830
  guardrail_config: z.union([
5831
5831
  z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
5832
5832
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
@@ -5864,8 +5864,8 @@ export const DataPython$outboundSchema: z.ZodType<
5864
5864
  > = z.object({
5865
5865
  id: z.string(),
5866
5866
  description: z.string(),
5867
- created: z.string().default("2025-08-27T07:41:10.243Z"),
5868
- updated: z.string().default("2025-08-27T07:41:10.243Z"),
5867
+ created: z.string().default("2025-08-28T12:00:12.628Z"),
5868
+ updated: z.string().default("2025-08-28T12:00:12.628Z"),
5869
5869
  guardrailConfig: z.union([
5870
5870
  z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
5871
5871
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
@@ -6211,8 +6211,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
6211
6211
  > = z.object({
6212
6212
  _id: z.string(),
6213
6213
  description: z.string(),
6214
- created: z.string().default("2025-08-27T07:41:10.243Z"),
6215
- updated: z.string().default("2025-08-27T07:41:10.243Z"),
6214
+ created: z.string().default("2025-08-28T12:00:12.628Z"),
6215
+ updated: z.string().default("2025-08-28T12:00:12.628Z"),
6216
6216
  guardrail_config: z.union([
6217
6217
  z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
6218
6218
  z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
@@ -6256,8 +6256,8 @@ export const DataHTTP$outboundSchema: z.ZodType<
6256
6256
  > = z.object({
6257
6257
  id: z.string(),
6258
6258
  description: z.string(),
6259
- created: z.string().default("2025-08-27T07:41:10.243Z"),
6260
- updated: z.string().default("2025-08-27T07:41:10.243Z"),
6259
+ created: z.string().default("2025-08-28T12:00:12.628Z"),
6260
+ updated: z.string().default("2025-08-28T12:00:12.628Z"),
6261
6261
  guardrailConfig: z.union([
6262
6262
  z.lazy(() => GetEvalsGuardrailConfigNumber$outboundSchema),
6263
6263
  z.lazy(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
@@ -6622,8 +6622,8 @@ export const DataJSON$inboundSchema: z.ZodType<
6622
6622
  > = z.object({
6623
6623
  _id: z.string(),
6624
6624
  description: z.string(),
6625
- created: z.string().default("2025-08-27T07:41:10.243Z"),
6626
- updated: z.string().default("2025-08-27T07:41:10.243Z"),
6625
+ created: z.string().default("2025-08-28T12:00:12.628Z"),
6626
+ updated: z.string().default("2025-08-28T12:00:12.628Z"),
6627
6627
  guardrail_config: z.union([
6628
6628
  z.lazy(() =>
6629
6629
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema
@@ -6665,8 +6665,8 @@ export const DataJSON$outboundSchema: z.ZodType<
6665
6665
  > = z.object({
6666
6666
  id: z.string(),
6667
6667
  description: z.string(),
6668
- created: z.string().default("2025-08-27T07:41:10.243Z"),
6669
- updated: z.string().default("2025-08-27T07:41:10.243Z"),
6668
+ created: z.string().default("2025-08-28T12:00:12.628Z"),
6669
+ updated: z.string().default("2025-08-28T12:00:12.628Z"),
6670
6670
  guardrailConfig: z.union([
6671
6671
  z.lazy(() =>
6672
6672
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema
@@ -7048,8 +7048,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
7048
7048
  z.object({
7049
7049
  _id: z.string(),
7050
7050
  description: z.string(),
7051
- created: z.string().default("2025-08-27T07:41:10.243Z"),
7052
- updated: z.string().default("2025-08-27T07:41:10.243Z"),
7051
+ created: z.string().default("2025-08-28T12:00:12.628Z"),
7052
+ updated: z.string().default("2025-08-28T12:00:12.628Z"),
7053
7053
  guardrail_config: z.union([
7054
7054
  z.lazy(() =>
7055
7055
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
@@ -7093,8 +7093,8 @@ export const DataLLM$outboundSchema: z.ZodType<
7093
7093
  > = z.object({
7094
7094
  id: z.string(),
7095
7095
  description: z.string(),
7096
- created: z.string().default("2025-08-27T07:41:10.243Z"),
7097
- updated: z.string().default("2025-08-27T07:41:10.243Z"),
7096
+ created: z.string().default("2025-08-28T12:00:12.628Z"),
7097
+ updated: z.string().default("2025-08-28T12:00:12.628Z"),
7098
7098
  guardrailConfig: z.union([
7099
7099
  z.lazy(() =>
7100
7100
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
@@ -470,7 +470,7 @@ export const ListBudgetsData$inboundSchema: z.ZodType<
470
470
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
471
471
  .optional(),
472
472
  updated: z.string().datetime({ offset: true }).default(
473
- "2025-08-27T07:41:07.739Z",
473
+ "2025-08-28T12:00:09.894Z",
474
474
  ).transform(v => new Date(v)),
475
475
  }).transform((v) => {
476
476
  return remap$(v, {
@@ -508,7 +508,7 @@ export const ListBudgetsData$outboundSchema: z.ZodType<
508
508
  isActive: z.boolean(),
509
509
  consumption: z.lazy(() => ListBudgetsConsumption$outboundSchema).optional(),
510
510
  created: z.date().transform(v => v.toISOString()).optional(),
511
- updated: z.date().default(() => new Date("2025-08-27T07:41:07.739Z"))
511
+ updated: z.date().default(() => new Date("2025-08-28T12:00:09.894Z"))
512
512
  .transform(v => v.toISOString()),
513
513
  }).transform((v) => {
514
514
  return remap$(v, {
@@ -345,7 +345,7 @@ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
345
345
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
346
346
  .optional(),
347
347
  updated: z.string().datetime({ offset: true }).default(
348
- "2025-08-27T07:41:07.739Z",
348
+ "2025-08-28T12:00:09.894Z",
349
349
  ).transform(v => new Date(v)),
350
350
  metrics: z.lazy(() => Metrics$inboundSchema),
351
351
  }).transform((v) => {
@@ -382,7 +382,7 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
382
382
  tags: z.array(z.string()).optional(),
383
383
  metadata: z.record(z.any()).optional(),
384
384
  created: z.date().transform(v => v.toISOString()).optional(),
385
- updated: z.date().default(() => new Date("2025-08-27T07:41:07.739Z"))
385
+ updated: z.date().default(() => new Date("2025-08-28T12:00:09.894Z"))
386
386
  .transform(v => v.toISOString()),
387
387
  metrics: z.lazy(() => Metrics$outboundSchema),
388
388
  }).transform((v) => {
@@ -3100,7 +3100,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
3100
3100
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
3101
3101
  .optional(),
3102
3102
  updated: z.string().datetime({ offset: true }).default(
3103
- "2025-08-27T07:41:07.739Z",
3103
+ "2025-08-28T12:00:09.894Z",
3104
3104
  ).transform(v => new Date(v)),
3105
3105
  }).transform((v) => {
3106
3106
  return remap$(v, {
@@ -3164,7 +3164,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
3164
3164
  createdById: z.string().optional(),
3165
3165
  updatedById: z.string().optional(),
3166
3166
  created: z.date().transform(v => v.toISOString()).optional(),
3167
- updated: z.date().default(() => new Date("2025-08-27T07:41:07.739Z"))
3167
+ updated: z.date().default(() => new Date("2025-08-28T12:00:09.894Z"))
3168
3168
  .transform(v => v.toISOString()),
3169
3169
  }).transform((v) => {
3170
3170
  return remap$(v, {
@@ -253,7 +253,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
253
253
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
254
254
  .optional(),
255
255
  updated: z.string().datetime({ offset: true }).default(
256
- "2025-08-27T07:41:07.739Z",
256
+ "2025-08-28T12:00:09.894Z",
257
257
  ).transform(v => new Date(v)),
258
258
  }).transform((v) => {
259
259
  return remap$(v, {
@@ -293,7 +293,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
293
293
  updatedById: z.string().optional(),
294
294
  metadata: z.lazy(() => ListDatasetsMetadata$outboundSchema),
295
295
  created: z.date().transform(v => v.toISOString()).optional(),
296
- updated: z.date().default(() => new Date("2025-08-27T07:41:07.739Z"))
296
+ updated: z.date().default(() => new Date("2025-08-28T12:00:09.894Z"))
297
297
  .transform(v => v.toISOString()),
298
298
  }).transform((v) => {
299
299
  return remap$(v, {
@@ -278,7 +278,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
278
278
  z.ZodTypeDef,
279
279
  unknown
280
280
  > = z.object({
281
- _id: z.string().default("01K3N7JN4TN7S2W4B7WBF28VHW"),
281
+ _id: z.string().default("01K3R8SPE2ZZEN5VP69ABFX4PG"),
282
282
  display_name: z.string(),
283
283
  description: z.string().optional(),
284
284
  status: ListDatasourcesStatus$inboundSchema,
@@ -322,7 +322,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
322
322
  z.ZodTypeDef,
323
323
  ListDatasourcesData
324
324
  > = z.object({
325
- id: z.string().default("01K3N7JN4TN7S2W4B7WBF28VHW"),
325
+ id: z.string().default("01K3R8SPE2ZZEN5VP69ABFX4PG"),
326
326
  displayName: z.string(),
327
327
  description: z.string().optional(),
328
328
  status: ListDatasourcesStatus$outboundSchema,
@@ -7,6 +7,7 @@ import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
8
  import { ClosedEnum } from "../../types/enums.js";
9
9
  import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import * as components from "../components/index.js";
10
11
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
12
 
12
13
  /**
@@ -28,6 +29,68 @@ export type PostV2ProxyEmbeddingsEncodingFormat = ClosedEnum<
28
29
  typeof PostV2ProxyEmbeddingsEncodingFormat
29
30
  >;
30
31
 
32
+ export type PostV2ProxyEmbeddingsFallbacks = {
33
+ /**
34
+ * Fallback model identifier
35
+ */
36
+ model: string;
37
+ };
38
+
39
+ export const PostV2ProxyEmbeddingsType = {
40
+ ExactMatch: "exact_match",
41
+ } as const;
42
+ export type PostV2ProxyEmbeddingsType = ClosedEnum<
43
+ typeof PostV2ProxyEmbeddingsType
44
+ >;
45
+
46
+ /**
47
+ * Cache configuration for the request.
48
+ */
49
+ export type PostV2ProxyEmbeddingsCache = {
50
+ /**
51
+ * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
52
+ */
53
+ ttl?: number | undefined;
54
+ type: PostV2ProxyEmbeddingsType;
55
+ };
56
+
57
+ /**
58
+ * Retry configuration for the request
59
+ */
60
+ export type PostV2ProxyEmbeddingsRetry = {
61
+ /**
62
+ * Number of retry attempts (1-5)
63
+ */
64
+ count?: number | undefined;
65
+ /**
66
+ * HTTP status codes that trigger retry logic
67
+ */
68
+ onCodes?: Array<number> | undefined;
69
+ };
70
+
71
+ export type PostV2ProxyEmbeddingsOrq = {
72
+ /**
73
+ * The name to display on the trace. If not specified, the default system name will be used.
74
+ */
75
+ name?: string | undefined;
76
+ /**
77
+ * Array of fallback models to use if primary model fails
78
+ */
79
+ fallbacks?: Array<PostV2ProxyEmbeddingsFallbacks> | undefined;
80
+ /**
81
+ * Cache configuration for the request.
82
+ */
83
+ cache?: PostV2ProxyEmbeddingsCache | undefined;
84
+ /**
85
+ * Retry configuration for the request
86
+ */
87
+ retry?: PostV2ProxyEmbeddingsRetry | undefined;
88
+ /**
89
+ * Information about the contact making the request. If the contact does not exist, it will be created automatically.
90
+ */
91
+ contact?: components.PublicContact | undefined;
92
+ };
93
+
31
94
  /**
32
95
  * input
33
96
  */
@@ -52,6 +115,7 @@ export type PostV2ProxyEmbeddingsRequestBody = {
52
115
  * A unique identifier representing your end-user
53
116
  */
54
117
  user?: string | undefined;
118
+ orq?: PostV2ProxyEmbeddingsOrq | undefined;
55
119
  };
56
120
 
57
121
  export const PostV2ProxyEmbeddingsObject = {
@@ -183,6 +247,274 @@ export namespace PostV2ProxyEmbeddingsEncodingFormat$ {
183
247
  PostV2ProxyEmbeddingsEncodingFormat$outboundSchema;
184
248
  }
185
249
 
250
+ /** @internal */
251
+ export const PostV2ProxyEmbeddingsFallbacks$inboundSchema: z.ZodType<
252
+ PostV2ProxyEmbeddingsFallbacks,
253
+ z.ZodTypeDef,
254
+ unknown
255
+ > = z.object({
256
+ model: z.string(),
257
+ });
258
+
259
+ /** @internal */
260
+ export type PostV2ProxyEmbeddingsFallbacks$Outbound = {
261
+ model: string;
262
+ };
263
+
264
+ /** @internal */
265
+ export const PostV2ProxyEmbeddingsFallbacks$outboundSchema: z.ZodType<
266
+ PostV2ProxyEmbeddingsFallbacks$Outbound,
267
+ z.ZodTypeDef,
268
+ PostV2ProxyEmbeddingsFallbacks
269
+ > = z.object({
270
+ model: z.string(),
271
+ });
272
+
273
+ /**
274
+ * @internal
275
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
276
+ */
277
+ export namespace PostV2ProxyEmbeddingsFallbacks$ {
278
+ /** @deprecated use `PostV2ProxyEmbeddingsFallbacks$inboundSchema` instead. */
279
+ export const inboundSchema = PostV2ProxyEmbeddingsFallbacks$inboundSchema;
280
+ /** @deprecated use `PostV2ProxyEmbeddingsFallbacks$outboundSchema` instead. */
281
+ export const outboundSchema = PostV2ProxyEmbeddingsFallbacks$outboundSchema;
282
+ /** @deprecated use `PostV2ProxyEmbeddingsFallbacks$Outbound` instead. */
283
+ export type Outbound = PostV2ProxyEmbeddingsFallbacks$Outbound;
284
+ }
285
+
286
+ export function postV2ProxyEmbeddingsFallbacksToJSON(
287
+ postV2ProxyEmbeddingsFallbacks: PostV2ProxyEmbeddingsFallbacks,
288
+ ): string {
289
+ return JSON.stringify(
290
+ PostV2ProxyEmbeddingsFallbacks$outboundSchema.parse(
291
+ postV2ProxyEmbeddingsFallbacks,
292
+ ),
293
+ );
294
+ }
295
+
296
+ export function postV2ProxyEmbeddingsFallbacksFromJSON(
297
+ jsonString: string,
298
+ ): SafeParseResult<PostV2ProxyEmbeddingsFallbacks, SDKValidationError> {
299
+ return safeParse(
300
+ jsonString,
301
+ (x) => PostV2ProxyEmbeddingsFallbacks$inboundSchema.parse(JSON.parse(x)),
302
+ `Failed to parse 'PostV2ProxyEmbeddingsFallbacks' from JSON`,
303
+ );
304
+ }
305
+
306
+ /** @internal */
307
+ export const PostV2ProxyEmbeddingsType$inboundSchema: z.ZodNativeEnum<
308
+ typeof PostV2ProxyEmbeddingsType
309
+ > = z.nativeEnum(PostV2ProxyEmbeddingsType);
310
+
311
+ /** @internal */
312
+ export const PostV2ProxyEmbeddingsType$outboundSchema: z.ZodNativeEnum<
313
+ typeof PostV2ProxyEmbeddingsType
314
+ > = PostV2ProxyEmbeddingsType$inboundSchema;
315
+
316
+ /**
317
+ * @internal
318
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
319
+ */
320
+ export namespace PostV2ProxyEmbeddingsType$ {
321
+ /** @deprecated use `PostV2ProxyEmbeddingsType$inboundSchema` instead. */
322
+ export const inboundSchema = PostV2ProxyEmbeddingsType$inboundSchema;
323
+ /** @deprecated use `PostV2ProxyEmbeddingsType$outboundSchema` instead. */
324
+ export const outboundSchema = PostV2ProxyEmbeddingsType$outboundSchema;
325
+ }
326
+
327
+ /** @internal */
328
+ export const PostV2ProxyEmbeddingsCache$inboundSchema: z.ZodType<
329
+ PostV2ProxyEmbeddingsCache,
330
+ z.ZodTypeDef,
331
+ unknown
332
+ > = z.object({
333
+ ttl: z.number().default(1800),
334
+ type: PostV2ProxyEmbeddingsType$inboundSchema,
335
+ });
336
+
337
+ /** @internal */
338
+ export type PostV2ProxyEmbeddingsCache$Outbound = {
339
+ ttl: number;
340
+ type: string;
341
+ };
342
+
343
+ /** @internal */
344
+ export const PostV2ProxyEmbeddingsCache$outboundSchema: z.ZodType<
345
+ PostV2ProxyEmbeddingsCache$Outbound,
346
+ z.ZodTypeDef,
347
+ PostV2ProxyEmbeddingsCache
348
+ > = z.object({
349
+ ttl: z.number().default(1800),
350
+ type: PostV2ProxyEmbeddingsType$outboundSchema,
351
+ });
352
+
353
+ /**
354
+ * @internal
355
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
356
+ */
357
+ export namespace PostV2ProxyEmbeddingsCache$ {
358
+ /** @deprecated use `PostV2ProxyEmbeddingsCache$inboundSchema` instead. */
359
+ export const inboundSchema = PostV2ProxyEmbeddingsCache$inboundSchema;
360
+ /** @deprecated use `PostV2ProxyEmbeddingsCache$outboundSchema` instead. */
361
+ export const outboundSchema = PostV2ProxyEmbeddingsCache$outboundSchema;
362
+ /** @deprecated use `PostV2ProxyEmbeddingsCache$Outbound` instead. */
363
+ export type Outbound = PostV2ProxyEmbeddingsCache$Outbound;
364
+ }
365
+
366
+ export function postV2ProxyEmbeddingsCacheToJSON(
367
+ postV2ProxyEmbeddingsCache: PostV2ProxyEmbeddingsCache,
368
+ ): string {
369
+ return JSON.stringify(
370
+ PostV2ProxyEmbeddingsCache$outboundSchema.parse(postV2ProxyEmbeddingsCache),
371
+ );
372
+ }
373
+
374
+ export function postV2ProxyEmbeddingsCacheFromJSON(
375
+ jsonString: string,
376
+ ): SafeParseResult<PostV2ProxyEmbeddingsCache, SDKValidationError> {
377
+ return safeParse(
378
+ jsonString,
379
+ (x) => PostV2ProxyEmbeddingsCache$inboundSchema.parse(JSON.parse(x)),
380
+ `Failed to parse 'PostV2ProxyEmbeddingsCache' from JSON`,
381
+ );
382
+ }
383
+
384
+ /** @internal */
385
+ export const PostV2ProxyEmbeddingsRetry$inboundSchema: z.ZodType<
386
+ PostV2ProxyEmbeddingsRetry,
387
+ z.ZodTypeDef,
388
+ unknown
389
+ > = z.object({
390
+ count: z.number().default(3),
391
+ on_codes: z.array(z.number()).optional(),
392
+ }).transform((v) => {
393
+ return remap$(v, {
394
+ "on_codes": "onCodes",
395
+ });
396
+ });
397
+
398
+ /** @internal */
399
+ export type PostV2ProxyEmbeddingsRetry$Outbound = {
400
+ count: number;
401
+ on_codes?: Array<number> | undefined;
402
+ };
403
+
404
+ /** @internal */
405
+ export const PostV2ProxyEmbeddingsRetry$outboundSchema: z.ZodType<
406
+ PostV2ProxyEmbeddingsRetry$Outbound,
407
+ z.ZodTypeDef,
408
+ PostV2ProxyEmbeddingsRetry
409
+ > = z.object({
410
+ count: z.number().default(3),
411
+ onCodes: z.array(z.number()).optional(),
412
+ }).transform((v) => {
413
+ return remap$(v, {
414
+ onCodes: "on_codes",
415
+ });
416
+ });
417
+
418
+ /**
419
+ * @internal
420
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
421
+ */
422
+ export namespace PostV2ProxyEmbeddingsRetry$ {
423
+ /** @deprecated use `PostV2ProxyEmbeddingsRetry$inboundSchema` instead. */
424
+ export const inboundSchema = PostV2ProxyEmbeddingsRetry$inboundSchema;
425
+ /** @deprecated use `PostV2ProxyEmbeddingsRetry$outboundSchema` instead. */
426
+ export const outboundSchema = PostV2ProxyEmbeddingsRetry$outboundSchema;
427
+ /** @deprecated use `PostV2ProxyEmbeddingsRetry$Outbound` instead. */
428
+ export type Outbound = PostV2ProxyEmbeddingsRetry$Outbound;
429
+ }
430
+
431
+ export function postV2ProxyEmbeddingsRetryToJSON(
432
+ postV2ProxyEmbeddingsRetry: PostV2ProxyEmbeddingsRetry,
433
+ ): string {
434
+ return JSON.stringify(
435
+ PostV2ProxyEmbeddingsRetry$outboundSchema.parse(postV2ProxyEmbeddingsRetry),
436
+ );
437
+ }
438
+
439
+ export function postV2ProxyEmbeddingsRetryFromJSON(
440
+ jsonString: string,
441
+ ): SafeParseResult<PostV2ProxyEmbeddingsRetry, SDKValidationError> {
442
+ return safeParse(
443
+ jsonString,
444
+ (x) => PostV2ProxyEmbeddingsRetry$inboundSchema.parse(JSON.parse(x)),
445
+ `Failed to parse 'PostV2ProxyEmbeddingsRetry' from JSON`,
446
+ );
447
+ }
448
+
449
+ /** @internal */
450
+ export const PostV2ProxyEmbeddingsOrq$inboundSchema: z.ZodType<
451
+ PostV2ProxyEmbeddingsOrq,
452
+ z.ZodTypeDef,
453
+ unknown
454
+ > = z.object({
455
+ name: z.string().optional(),
456
+ fallbacks: z.array(z.lazy(() => PostV2ProxyEmbeddingsFallbacks$inboundSchema))
457
+ .optional(),
458
+ cache: z.lazy(() => PostV2ProxyEmbeddingsCache$inboundSchema).optional(),
459
+ retry: z.lazy(() => PostV2ProxyEmbeddingsRetry$inboundSchema).optional(),
460
+ contact: components.PublicContact$inboundSchema.optional(),
461
+ });
462
+
463
+ /** @internal */
464
+ export type PostV2ProxyEmbeddingsOrq$Outbound = {
465
+ name?: string | undefined;
466
+ fallbacks?: Array<PostV2ProxyEmbeddingsFallbacks$Outbound> | undefined;
467
+ cache?: PostV2ProxyEmbeddingsCache$Outbound | undefined;
468
+ retry?: PostV2ProxyEmbeddingsRetry$Outbound | undefined;
469
+ contact?: components.PublicContact$Outbound | undefined;
470
+ };
471
+
472
+ /** @internal */
473
+ export const PostV2ProxyEmbeddingsOrq$outboundSchema: z.ZodType<
474
+ PostV2ProxyEmbeddingsOrq$Outbound,
475
+ z.ZodTypeDef,
476
+ PostV2ProxyEmbeddingsOrq
477
+ > = z.object({
478
+ name: z.string().optional(),
479
+ fallbacks: z.array(
480
+ z.lazy(() => PostV2ProxyEmbeddingsFallbacks$outboundSchema),
481
+ ).optional(),
482
+ cache: z.lazy(() => PostV2ProxyEmbeddingsCache$outboundSchema).optional(),
483
+ retry: z.lazy(() => PostV2ProxyEmbeddingsRetry$outboundSchema).optional(),
484
+ contact: components.PublicContact$outboundSchema.optional(),
485
+ });
486
+
487
+ /**
488
+ * @internal
489
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
490
+ */
491
+ export namespace PostV2ProxyEmbeddingsOrq$ {
492
+ /** @deprecated use `PostV2ProxyEmbeddingsOrq$inboundSchema` instead. */
493
+ export const inboundSchema = PostV2ProxyEmbeddingsOrq$inboundSchema;
494
+ /** @deprecated use `PostV2ProxyEmbeddingsOrq$outboundSchema` instead. */
495
+ export const outboundSchema = PostV2ProxyEmbeddingsOrq$outboundSchema;
496
+ /** @deprecated use `PostV2ProxyEmbeddingsOrq$Outbound` instead. */
497
+ export type Outbound = PostV2ProxyEmbeddingsOrq$Outbound;
498
+ }
499
+
500
+ export function postV2ProxyEmbeddingsOrqToJSON(
501
+ postV2ProxyEmbeddingsOrq: PostV2ProxyEmbeddingsOrq,
502
+ ): string {
503
+ return JSON.stringify(
504
+ PostV2ProxyEmbeddingsOrq$outboundSchema.parse(postV2ProxyEmbeddingsOrq),
505
+ );
506
+ }
507
+
508
+ export function postV2ProxyEmbeddingsOrqFromJSON(
509
+ jsonString: string,
510
+ ): SafeParseResult<PostV2ProxyEmbeddingsOrq, SDKValidationError> {
511
+ return safeParse(
512
+ jsonString,
513
+ (x) => PostV2ProxyEmbeddingsOrq$inboundSchema.parse(JSON.parse(x)),
514
+ `Failed to parse 'PostV2ProxyEmbeddingsOrq' from JSON`,
515
+ );
516
+ }
517
+
186
518
  /** @internal */
187
519
  export const PostV2ProxyEmbeddingsRequestBody$inboundSchema: z.ZodType<
188
520
  PostV2ProxyEmbeddingsRequestBody,
@@ -196,6 +528,7 @@ export const PostV2ProxyEmbeddingsRequestBody$inboundSchema: z.ZodType<
196
528
  ),
197
529
  dimensions: z.number().optional(),
198
530
  user: z.string().optional(),
531
+ orq: z.lazy(() => PostV2ProxyEmbeddingsOrq$inboundSchema).optional(),
199
532
  }).transform((v) => {
200
533
  return remap$(v, {
201
534
  "encoding_format": "encodingFormat",
@@ -209,6 +542,7 @@ export type PostV2ProxyEmbeddingsRequestBody$Outbound = {
209
542
  encoding_format: string;
210
543
  dimensions?: number | undefined;
211
544
  user?: string | undefined;
545
+ orq?: PostV2ProxyEmbeddingsOrq$Outbound | undefined;
212
546
  };
213
547
 
214
548
  /** @internal */
@@ -224,6 +558,7 @@ export const PostV2ProxyEmbeddingsRequestBody$outboundSchema: z.ZodType<
224
558
  ),
225
559
  dimensions: z.number().optional(),
226
560
  user: z.string().optional(),
561
+ orq: z.lazy(() => PostV2ProxyEmbeddingsOrq$outboundSchema).optional(),
227
562
  }).transform((v) => {
228
563
  return remap$(v, {
229
564
  encodingFormat: "encoding_format",
@@ -127,7 +127,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
127
127
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
128
128
  .optional(),
129
129
  updated: z.string().datetime({ offset: true }).default(
130
- "2025-08-27T07:41:07.739Z",
130
+ "2025-08-28T12:00:09.894Z",
131
131
  ).transform(v => new Date(v)),
132
132
  }).transform((v) => {
133
133
  return remap$(v, {
@@ -165,7 +165,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
165
165
  tags: z.array(z.string()).optional(),
166
166
  metadata: z.record(z.any()).optional(),
167
167
  created: z.date().transform(v => v.toISOString()).optional(),
168
- updated: z.date().default(() => new Date("2025-08-27T07:41:07.739Z"))
168
+ updated: z.date().default(() => new Date("2025-08-28T12:00:09.894Z"))
169
169
  .transform(v => v.toISOString()),
170
170
  }).transform((v) => {
171
171
  return remap$(v, {
@@ -2957,7 +2957,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
2957
2957
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2958
2958
  .optional(),
2959
2959
  updated: z.string().datetime({ offset: true }).default(
2960
- "2025-08-27T07:41:07.739Z",
2960
+ "2025-08-28T12:00:09.894Z",
2961
2961
  ).transform(v => new Date(v)),
2962
2962
  }).transform((v) => {
2963
2963
  return remap$(v, {
@@ -3015,7 +3015,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
3015
3015
  createdById: z.string().optional(),
3016
3016
  updatedById: z.string().optional(),
3017
3017
  created: z.date().transform(v => v.toISOString()).optional(),
3018
- updated: z.date().default(() => new Date("2025-08-27T07:41:07.739Z"))
3018
+ updated: z.date().default(() => new Date("2025-08-28T12:00:09.894Z"))
3019
3019
  .transform(v => v.toISOString()),
3020
3020
  }).transform((v) => {
3021
3021
  return remap$(v, {