@orq-ai/node 3.11.13 → 3.11.15

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 (91) 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/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/operations/createcontact.js +2 -2
  10. package/models/operations/createdataset.js +2 -2
  11. package/models/operations/createdatasetitem.js +2 -2
  12. package/models/operations/createdatasource.js +2 -2
  13. package/models/operations/createeval.js +16 -16
  14. package/models/operations/fileget.js +2 -2
  15. package/models/operations/filelist.js +2 -2
  16. package/models/operations/fileupload.js +2 -2
  17. package/models/operations/getevals.js +28 -28
  18. package/models/operations/listcontacts.js +2 -2
  19. package/models/operations/listdatasetdatapoints.js +2 -2
  20. package/models/operations/listdatasets.js +2 -2
  21. package/models/operations/listdatasources.js +2 -2
  22. package/models/operations/retrievecontact.js +2 -2
  23. package/models/operations/retrievedatapoint.js +2 -2
  24. package/models/operations/retrievedataset.js +2 -2
  25. package/models/operations/retrievedatasource.js +2 -2
  26. package/models/operations/updatecontact.js +2 -2
  27. package/models/operations/updatedatapoint.js +2 -2
  28. package/models/operations/updatedataset.js +2 -2
  29. package/models/operations/updatedatasource.js +2 -2
  30. package/models/operations/updateeval.js +16 -16
  31. package/package.json +1 -1
  32. package/packages/orq-rc/docs/sdks/proxy/README.md +78 -0
  33. package/packages/orq-rc/examples/package-lock.json +1 -1
  34. package/packages/orq-rc/jsr.json +1 -1
  35. package/packages/orq-rc/package-lock.json +2 -2
  36. package/packages/orq-rc/package.json +1 -1
  37. package/packages/orq-rc/src/lib/config.ts +3 -3
  38. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  39. package/packages/orq-rc/src/mcp-server/server.ts +1 -1
  40. package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
  41. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  42. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  43. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
  44. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  45. package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
  46. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  47. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  48. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  49. package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
  50. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  51. package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
  52. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  53. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
  54. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  55. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  56. package/packages/orq-rc/src/models/operations/postv2proxyaudiospeech.ts +315 -0
  57. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  58. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
  59. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  60. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  61. package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
  62. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  63. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
  64. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  65. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  66. package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
  67. package/src/lib/config.ts +3 -3
  68. package/src/mcp-server/mcp-server.ts +1 -1
  69. package/src/mcp-server/server.ts +1 -1
  70. package/src/models/operations/createcontact.ts +2 -2
  71. package/src/models/operations/createdataset.ts +2 -2
  72. package/src/models/operations/createdatasetitem.ts +2 -2
  73. package/src/models/operations/createdatasource.ts +2 -2
  74. package/src/models/operations/createeval.ts +16 -16
  75. package/src/models/operations/fileget.ts +2 -2
  76. package/src/models/operations/filelist.ts +2 -2
  77. package/src/models/operations/fileupload.ts +2 -2
  78. package/src/models/operations/getevals.ts +28 -28
  79. package/src/models/operations/listcontacts.ts +2 -2
  80. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  81. package/src/models/operations/listdatasets.ts +2 -2
  82. package/src/models/operations/listdatasources.ts +2 -2
  83. package/src/models/operations/retrievecontact.ts +2 -2
  84. package/src/models/operations/retrievedatapoint.ts +2 -2
  85. package/src/models/operations/retrievedataset.ts +2 -2
  86. package/src/models/operations/retrievedatasource.ts +2 -2
  87. package/src/models/operations/updatecontact.ts +2 -2
  88. package/src/models/operations/updatedatapoint.ts +2 -2
  89. package/src/models/operations/updatedataset.ts +2 -2
  90. package/src/models/operations/updatedatasource.ts +2 -2
  91. 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-09-03T06:59:35.346Z"),
1555
- updated: z.string().default("2025-09-03T06:59:35.346Z"),
1554
+ created: z.string().default("2025-09-04T06:09:36.017Z"),
1555
+ updated: z.string().default("2025-09-04T06:09:36.017Z"),
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-09-03T06:59:35.346Z"),
1599
- updated: z.string().default("2025-09-03T06:59:35.346Z"),
1598
+ created: z.string().default("2025-09-04T06:09:36.017Z"),
1599
+ updated: z.string().default("2025-09-04T06:09:36.017Z"),
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-09-03T06:59:35.346Z"),
1996
- updated: z.string().default("2025-09-03T06:59:35.346Z"),
1995
+ created: z.string().default("2025-09-04T06:09:36.017Z"),
1996
+ updated: z.string().default("2025-09-04T06:09:36.017Z"),
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-09-03T06:59:35.346Z"),
2040
- updated: z.string().default("2025-09-03T06:59:35.346Z"),
2039
+ created: z.string().default("2025-09-04T06:09:36.017Z"),
2040
+ updated: z.string().default("2025-09-04T06:09:36.017Z"),
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-09-03T06:59:35.346Z"),
5335
- updated: z.string().default("2025-09-03T06:59:35.346Z"),
5334
+ created: z.string().default("2025-09-04T06:09:36.017Z"),
5335
+ updated: z.string().default("2025-09-04T06:09:36.017Z"),
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-09-03T06:59:35.346Z"),
5446
- updated: z.string().default("2025-09-03T06:59:35.346Z"),
5445
+ created: z.string().default("2025-09-04T06:09:36.017Z"),
5446
+ updated: z.string().default("2025-09-04T06:09:36.017Z"),
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-09-03T06:59:35.346Z"),
5829
- updated: z.string().default("2025-09-03T06:59:35.346Z"),
5828
+ created: z.string().default("2025-09-04T06:09:36.017Z"),
5829
+ updated: z.string().default("2025-09-04T06:09:36.017Z"),
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-09-03T06:59:35.346Z"),
5868
- updated: z.string().default("2025-09-03T06:59:35.346Z"),
5867
+ created: z.string().default("2025-09-04T06:09:36.017Z"),
5868
+ updated: z.string().default("2025-09-04T06:09:36.017Z"),
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-09-03T06:59:35.346Z"),
6215
- updated: z.string().default("2025-09-03T06:59:35.346Z"),
6214
+ created: z.string().default("2025-09-04T06:09:36.017Z"),
6215
+ updated: z.string().default("2025-09-04T06:09:36.017Z"),
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-09-03T06:59:35.346Z"),
6260
- updated: z.string().default("2025-09-03T06:59:35.346Z"),
6259
+ created: z.string().default("2025-09-04T06:09:36.017Z"),
6260
+ updated: z.string().default("2025-09-04T06:09:36.017Z"),
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-09-03T06:59:35.346Z"),
6626
- updated: z.string().default("2025-09-03T06:59:35.346Z"),
6625
+ created: z.string().default("2025-09-04T06:09:36.017Z"),
6626
+ updated: z.string().default("2025-09-04T06:09:36.017Z"),
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-09-03T06:59:35.346Z"),
6669
- updated: z.string().default("2025-09-03T06:59:35.346Z"),
6668
+ created: z.string().default("2025-09-04T06:09:36.017Z"),
6669
+ updated: z.string().default("2025-09-04T06:09:36.017Z"),
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-09-03T06:59:35.346Z"),
7052
- updated: z.string().default("2025-09-03T06:59:35.346Z"),
7051
+ created: z.string().default("2025-09-04T06:09:36.017Z"),
7052
+ updated: z.string().default("2025-09-04T06:09:36.017Z"),
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-09-03T06:59:35.346Z"),
7097
- updated: z.string().default("2025-09-03T06:59:35.346Z"),
7096
+ created: z.string().default("2025-09-04T06:09:36.017Z"),
7097
+ updated: z.string().default("2025-09-04T06:09:36.017Z"),
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-09-03T06:59:32.668Z",
473
+ "2025-09-04T06:09:33.474Z",
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-09-03T06:59:32.668Z"))
511
+ updated: z.date().default(() => new Date("2025-09-04T06:09:33.474Z"))
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-09-03T06:59:32.668Z",
348
+ "2025-09-04T06:09:33.474Z",
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-09-03T06:59:32.668Z"))
385
+ updated: z.date().default(() => new Date("2025-09-04T06:09:33.474Z"))
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-09-03T06:59:32.668Z",
3103
+ "2025-09-04T06:09:33.474Z",
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-09-03T06:59:32.668Z"))
3167
+ updated: z.date().default(() => new Date("2025-09-04T06:09:33.474Z"))
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-09-03T06:59:32.668Z",
256
+ "2025-09-04T06:09:33.474Z",
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-09-03T06:59:32.668Z"))
296
+ updated: z.date().default(() => new Date("2025-09-04T06:09:33.474Z"))
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("01K475ZJ0RTHV3RQ0SECW7R0V5"),
281
+ _id: z.string().default("01K49NGQXKKXEJNW6B3Y4HAN5H"),
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("01K475ZJ0RTHV3RQ0SECW7R0V5"),
325
+ id: z.string().default("01K49NGQXKKXEJNW6B3Y4HAN5H"),
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
  export const Six = {
@@ -62,6 +63,64 @@ export type PostV2ProxyAudioSpeechResponseFormat = ClosedEnum<
62
63
  typeof PostV2ProxyAudioSpeechResponseFormat
63
64
  >;
64
65
 
66
+ /**
67
+ * Retry configuration for the request
68
+ */
69
+ export type PostV2ProxyAudioSpeechRetry = {
70
+ /**
71
+ * Number of retry attempts (1-5)
72
+ */
73
+ count?: number | undefined;
74
+ /**
75
+ * HTTP status codes that trigger retry logic
76
+ */
77
+ onCodes?: Array<number> | undefined;
78
+ };
79
+
80
+ export type PostV2ProxyAudioSpeechFallbacks = {
81
+ /**
82
+ * Fallback model identifier
83
+ */
84
+ model: string;
85
+ };
86
+
87
+ /**
88
+ * Thread information to group related requests
89
+ */
90
+ export type PostV2ProxyAudioSpeechThread = {
91
+ /**
92
+ * Unique thread identifier to group related invocations.
93
+ */
94
+ id: string;
95
+ /**
96
+ * Optional tags to differentiate or categorize threads
97
+ */
98
+ tags?: Array<string> | undefined;
99
+ };
100
+
101
+ export type PostV2ProxyAudioSpeechOrq = {
102
+ /**
103
+ * Retry configuration for the request
104
+ */
105
+ retry?: PostV2ProxyAudioSpeechRetry | undefined;
106
+ /**
107
+ * Array of fallback models to use if primary model fails
108
+ */
109
+ fallbacks?: Array<PostV2ProxyAudioSpeechFallbacks> | undefined;
110
+ /**
111
+ * The name to display on the trace. If not specified, the default system name will be used.
112
+ */
113
+ name?: string | undefined;
114
+ /**
115
+ * Information about the contact making the request. If the contact does not exist, it will be created automatically.
116
+ */
117
+ contact?: components.PublicContact | undefined;
118
+ /**
119
+ * Thread information to group related requests
120
+ */
121
+ thread?: PostV2ProxyAudioSpeechThread | undefined;
122
+ };
123
+
65
124
  /**
66
125
  * input
67
126
  */
@@ -96,6 +155,7 @@ export type PostV2ProxyAudioSpeechRequestBody = {
96
155
  * The speed of the generated audio.
97
156
  */
98
157
  speed?: number | undefined;
158
+ orq?: PostV2ProxyAudioSpeechOrq | undefined;
99
159
  };
100
160
 
101
161
  /** @internal */
@@ -297,6 +357,258 @@ export namespace PostV2ProxyAudioSpeechResponseFormat$ {
297
357
  PostV2ProxyAudioSpeechResponseFormat$outboundSchema;
298
358
  }
299
359
 
360
+ /** @internal */
361
+ export const PostV2ProxyAudioSpeechRetry$inboundSchema: z.ZodType<
362
+ PostV2ProxyAudioSpeechRetry,
363
+ z.ZodTypeDef,
364
+ unknown
365
+ > = z.object({
366
+ count: z.number().default(3),
367
+ on_codes: z.array(z.number()).optional(),
368
+ }).transform((v) => {
369
+ return remap$(v, {
370
+ "on_codes": "onCodes",
371
+ });
372
+ });
373
+
374
+ /** @internal */
375
+ export type PostV2ProxyAudioSpeechRetry$Outbound = {
376
+ count: number;
377
+ on_codes?: Array<number> | undefined;
378
+ };
379
+
380
+ /** @internal */
381
+ export const PostV2ProxyAudioSpeechRetry$outboundSchema: z.ZodType<
382
+ PostV2ProxyAudioSpeechRetry$Outbound,
383
+ z.ZodTypeDef,
384
+ PostV2ProxyAudioSpeechRetry
385
+ > = z.object({
386
+ count: z.number().default(3),
387
+ onCodes: z.array(z.number()).optional(),
388
+ }).transform((v) => {
389
+ return remap$(v, {
390
+ onCodes: "on_codes",
391
+ });
392
+ });
393
+
394
+ /**
395
+ * @internal
396
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
397
+ */
398
+ export namespace PostV2ProxyAudioSpeechRetry$ {
399
+ /** @deprecated use `PostV2ProxyAudioSpeechRetry$inboundSchema` instead. */
400
+ export const inboundSchema = PostV2ProxyAudioSpeechRetry$inboundSchema;
401
+ /** @deprecated use `PostV2ProxyAudioSpeechRetry$outboundSchema` instead. */
402
+ export const outboundSchema = PostV2ProxyAudioSpeechRetry$outboundSchema;
403
+ /** @deprecated use `PostV2ProxyAudioSpeechRetry$Outbound` instead. */
404
+ export type Outbound = PostV2ProxyAudioSpeechRetry$Outbound;
405
+ }
406
+
407
+ export function postV2ProxyAudioSpeechRetryToJSON(
408
+ postV2ProxyAudioSpeechRetry: PostV2ProxyAudioSpeechRetry,
409
+ ): string {
410
+ return JSON.stringify(
411
+ PostV2ProxyAudioSpeechRetry$outboundSchema.parse(
412
+ postV2ProxyAudioSpeechRetry,
413
+ ),
414
+ );
415
+ }
416
+
417
+ export function postV2ProxyAudioSpeechRetryFromJSON(
418
+ jsonString: string,
419
+ ): SafeParseResult<PostV2ProxyAudioSpeechRetry, SDKValidationError> {
420
+ return safeParse(
421
+ jsonString,
422
+ (x) => PostV2ProxyAudioSpeechRetry$inboundSchema.parse(JSON.parse(x)),
423
+ `Failed to parse 'PostV2ProxyAudioSpeechRetry' from JSON`,
424
+ );
425
+ }
426
+
427
+ /** @internal */
428
+ export const PostV2ProxyAudioSpeechFallbacks$inboundSchema: z.ZodType<
429
+ PostV2ProxyAudioSpeechFallbacks,
430
+ z.ZodTypeDef,
431
+ unknown
432
+ > = z.object({
433
+ model: z.string(),
434
+ });
435
+
436
+ /** @internal */
437
+ export type PostV2ProxyAudioSpeechFallbacks$Outbound = {
438
+ model: string;
439
+ };
440
+
441
+ /** @internal */
442
+ export const PostV2ProxyAudioSpeechFallbacks$outboundSchema: z.ZodType<
443
+ PostV2ProxyAudioSpeechFallbacks$Outbound,
444
+ z.ZodTypeDef,
445
+ PostV2ProxyAudioSpeechFallbacks
446
+ > = z.object({
447
+ model: z.string(),
448
+ });
449
+
450
+ /**
451
+ * @internal
452
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
453
+ */
454
+ export namespace PostV2ProxyAudioSpeechFallbacks$ {
455
+ /** @deprecated use `PostV2ProxyAudioSpeechFallbacks$inboundSchema` instead. */
456
+ export const inboundSchema = PostV2ProxyAudioSpeechFallbacks$inboundSchema;
457
+ /** @deprecated use `PostV2ProxyAudioSpeechFallbacks$outboundSchema` instead. */
458
+ export const outboundSchema = PostV2ProxyAudioSpeechFallbacks$outboundSchema;
459
+ /** @deprecated use `PostV2ProxyAudioSpeechFallbacks$Outbound` instead. */
460
+ export type Outbound = PostV2ProxyAudioSpeechFallbacks$Outbound;
461
+ }
462
+
463
+ export function postV2ProxyAudioSpeechFallbacksToJSON(
464
+ postV2ProxyAudioSpeechFallbacks: PostV2ProxyAudioSpeechFallbacks,
465
+ ): string {
466
+ return JSON.stringify(
467
+ PostV2ProxyAudioSpeechFallbacks$outboundSchema.parse(
468
+ postV2ProxyAudioSpeechFallbacks,
469
+ ),
470
+ );
471
+ }
472
+
473
+ export function postV2ProxyAudioSpeechFallbacksFromJSON(
474
+ jsonString: string,
475
+ ): SafeParseResult<PostV2ProxyAudioSpeechFallbacks, SDKValidationError> {
476
+ return safeParse(
477
+ jsonString,
478
+ (x) => PostV2ProxyAudioSpeechFallbacks$inboundSchema.parse(JSON.parse(x)),
479
+ `Failed to parse 'PostV2ProxyAudioSpeechFallbacks' from JSON`,
480
+ );
481
+ }
482
+
483
+ /** @internal */
484
+ export const PostV2ProxyAudioSpeechThread$inboundSchema: z.ZodType<
485
+ PostV2ProxyAudioSpeechThread,
486
+ z.ZodTypeDef,
487
+ unknown
488
+ > = z.object({
489
+ id: z.string(),
490
+ tags: z.array(z.string()).optional(),
491
+ });
492
+
493
+ /** @internal */
494
+ export type PostV2ProxyAudioSpeechThread$Outbound = {
495
+ id: string;
496
+ tags?: Array<string> | undefined;
497
+ };
498
+
499
+ /** @internal */
500
+ export const PostV2ProxyAudioSpeechThread$outboundSchema: z.ZodType<
501
+ PostV2ProxyAudioSpeechThread$Outbound,
502
+ z.ZodTypeDef,
503
+ PostV2ProxyAudioSpeechThread
504
+ > = z.object({
505
+ id: z.string(),
506
+ tags: z.array(z.string()).optional(),
507
+ });
508
+
509
+ /**
510
+ * @internal
511
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
512
+ */
513
+ export namespace PostV2ProxyAudioSpeechThread$ {
514
+ /** @deprecated use `PostV2ProxyAudioSpeechThread$inboundSchema` instead. */
515
+ export const inboundSchema = PostV2ProxyAudioSpeechThread$inboundSchema;
516
+ /** @deprecated use `PostV2ProxyAudioSpeechThread$outboundSchema` instead. */
517
+ export const outboundSchema = PostV2ProxyAudioSpeechThread$outboundSchema;
518
+ /** @deprecated use `PostV2ProxyAudioSpeechThread$Outbound` instead. */
519
+ export type Outbound = PostV2ProxyAudioSpeechThread$Outbound;
520
+ }
521
+
522
+ export function postV2ProxyAudioSpeechThreadToJSON(
523
+ postV2ProxyAudioSpeechThread: PostV2ProxyAudioSpeechThread,
524
+ ): string {
525
+ return JSON.stringify(
526
+ PostV2ProxyAudioSpeechThread$outboundSchema.parse(
527
+ postV2ProxyAudioSpeechThread,
528
+ ),
529
+ );
530
+ }
531
+
532
+ export function postV2ProxyAudioSpeechThreadFromJSON(
533
+ jsonString: string,
534
+ ): SafeParseResult<PostV2ProxyAudioSpeechThread, SDKValidationError> {
535
+ return safeParse(
536
+ jsonString,
537
+ (x) => PostV2ProxyAudioSpeechThread$inboundSchema.parse(JSON.parse(x)),
538
+ `Failed to parse 'PostV2ProxyAudioSpeechThread' from JSON`,
539
+ );
540
+ }
541
+
542
+ /** @internal */
543
+ export const PostV2ProxyAudioSpeechOrq$inboundSchema: z.ZodType<
544
+ PostV2ProxyAudioSpeechOrq,
545
+ z.ZodTypeDef,
546
+ unknown
547
+ > = z.object({
548
+ retry: z.lazy(() => PostV2ProxyAudioSpeechRetry$inboundSchema).optional(),
549
+ fallbacks: z.array(
550
+ z.lazy(() => PostV2ProxyAudioSpeechFallbacks$inboundSchema),
551
+ ).optional(),
552
+ name: z.string().optional(),
553
+ contact: components.PublicContact$inboundSchema.optional(),
554
+ thread: z.lazy(() => PostV2ProxyAudioSpeechThread$inboundSchema).optional(),
555
+ });
556
+
557
+ /** @internal */
558
+ export type PostV2ProxyAudioSpeechOrq$Outbound = {
559
+ retry?: PostV2ProxyAudioSpeechRetry$Outbound | undefined;
560
+ fallbacks?: Array<PostV2ProxyAudioSpeechFallbacks$Outbound> | undefined;
561
+ name?: string | undefined;
562
+ contact?: components.PublicContact$Outbound | undefined;
563
+ thread?: PostV2ProxyAudioSpeechThread$Outbound | undefined;
564
+ };
565
+
566
+ /** @internal */
567
+ export const PostV2ProxyAudioSpeechOrq$outboundSchema: z.ZodType<
568
+ PostV2ProxyAudioSpeechOrq$Outbound,
569
+ z.ZodTypeDef,
570
+ PostV2ProxyAudioSpeechOrq
571
+ > = z.object({
572
+ retry: z.lazy(() => PostV2ProxyAudioSpeechRetry$outboundSchema).optional(),
573
+ fallbacks: z.array(
574
+ z.lazy(() => PostV2ProxyAudioSpeechFallbacks$outboundSchema),
575
+ ).optional(),
576
+ name: z.string().optional(),
577
+ contact: components.PublicContact$outboundSchema.optional(),
578
+ thread: z.lazy(() => PostV2ProxyAudioSpeechThread$outboundSchema).optional(),
579
+ });
580
+
581
+ /**
582
+ * @internal
583
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
584
+ */
585
+ export namespace PostV2ProxyAudioSpeechOrq$ {
586
+ /** @deprecated use `PostV2ProxyAudioSpeechOrq$inboundSchema` instead. */
587
+ export const inboundSchema = PostV2ProxyAudioSpeechOrq$inboundSchema;
588
+ /** @deprecated use `PostV2ProxyAudioSpeechOrq$outboundSchema` instead. */
589
+ export const outboundSchema = PostV2ProxyAudioSpeechOrq$outboundSchema;
590
+ /** @deprecated use `PostV2ProxyAudioSpeechOrq$Outbound` instead. */
591
+ export type Outbound = PostV2ProxyAudioSpeechOrq$Outbound;
592
+ }
593
+
594
+ export function postV2ProxyAudioSpeechOrqToJSON(
595
+ postV2ProxyAudioSpeechOrq: PostV2ProxyAudioSpeechOrq,
596
+ ): string {
597
+ return JSON.stringify(
598
+ PostV2ProxyAudioSpeechOrq$outboundSchema.parse(postV2ProxyAudioSpeechOrq),
599
+ );
600
+ }
601
+
602
+ export function postV2ProxyAudioSpeechOrqFromJSON(
603
+ jsonString: string,
604
+ ): SafeParseResult<PostV2ProxyAudioSpeechOrq, SDKValidationError> {
605
+ return safeParse(
606
+ jsonString,
607
+ (x) => PostV2ProxyAudioSpeechOrq$inboundSchema.parse(JSON.parse(x)),
608
+ `Failed to parse 'PostV2ProxyAudioSpeechOrq' from JSON`,
609
+ );
610
+ }
611
+
300
612
  /** @internal */
301
613
  export const PostV2ProxyAudioSpeechRequestBody$inboundSchema: z.ZodType<
302
614
  PostV2ProxyAudioSpeechRequestBody,
@@ -317,6 +629,7 @@ export const PostV2ProxyAudioSpeechRequestBody$inboundSchema: z.ZodType<
317
629
  "mp3",
318
630
  ),
319
631
  speed: z.number().default(1),
632
+ orq: z.lazy(() => PostV2ProxyAudioSpeechOrq$inboundSchema).optional(),
320
633
  }).transform((v) => {
321
634
  return remap$(v, {
322
635
  "response_format": "responseFormat",
@@ -330,6 +643,7 @@ export type PostV2ProxyAudioSpeechRequestBody$Outbound = {
330
643
  voice: string;
331
644
  response_format: string;
332
645
  speed: number;
646
+ orq?: PostV2ProxyAudioSpeechOrq$Outbound | undefined;
333
647
  };
334
648
 
335
649
  /** @internal */
@@ -352,6 +666,7 @@ export const PostV2ProxyAudioSpeechRequestBody$outboundSchema: z.ZodType<
352
666
  "mp3",
353
667
  ),
354
668
  speed: z.number().default(1),
669
+ orq: z.lazy(() => PostV2ProxyAudioSpeechOrq$outboundSchema).optional(),
355
670
  }).transform((v) => {
356
671
  return remap$(v, {
357
672
  responseFormat: "response_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-09-03T06:59:32.668Z",
130
+ "2025-09-04T06:09:33.474Z",
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-09-03T06:59:32.668Z"))
168
+ updated: z.date().default(() => new Date("2025-09-04T06:09:33.474Z"))
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-09-03T06:59:32.668Z",
2960
+ "2025-09-04T06:09:33.474Z",
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-09-03T06:59:32.668Z"))
3018
+ updated: z.date().default(() => new Date("2025-09-04T06:09:33.474Z"))
3019
3019
  .transform(v => v.toISOString()),
3020
3020
  }).transform((v) => {
3021
3021
  return remap$(v, {
@@ -201,7 +201,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
201
201
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
202
202
  .optional(),
203
203
  updated: z.string().datetime({ offset: true }).default(
204
- "2025-09-03T06:59:32.668Z",
204
+ "2025-09-04T06:09:33.474Z",
205
205
  ).transform(v => new Date(v)),
206
206
  }).transform((v) => {
207
207
  return remap$(v, {
@@ -241,7 +241,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
241
241
  updatedById: z.string().optional(),
242
242
  metadata: z.lazy(() => RetrieveDatasetMetadata$outboundSchema),
243
243
  created: z.date().transform(v => v.toISOString()).optional(),
244
- updated: z.date().default(() => new Date("2025-09-03T06:59:32.668Z"))
244
+ updated: z.date().default(() => new Date("2025-09-04T06:09:33.474Z"))
245
245
  .transform(v => v.toISOString()),
246
246
  }).transform((v) => {
247
247
  return remap$(v, {