@orq-ai/node 4.10.0-rc.65 → 4.10.0-rc.66

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 (145) hide show
  1. package/funcs/identitiesCreate.js +1 -1
  2. package/jsr.json +1 -1
  3. package/lib/config.d.ts +3 -3
  4. package/lib/config.js +3 -3
  5. package/models/components/embeddingcacheconfig.d.ts +33 -0
  6. package/models/components/embeddingcacheconfig.d.ts.map +1 -0
  7. package/models/components/embeddingcacheconfig.js +58 -0
  8. package/models/components/embeddingcacheconfig.js.map +1 -0
  9. package/models/components/embeddingcontactparams.d.ts +24 -0
  10. package/models/components/embeddingcontactparams.d.ts.map +1 -0
  11. package/models/components/embeddingcontactparams.js +58 -0
  12. package/models/components/embeddingcontactparams.js.map +1 -0
  13. package/models/components/embeddingloadbalancerconfig.d.ts +34 -0
  14. package/models/components/embeddingloadbalancerconfig.d.ts.map +1 -0
  15. package/models/components/embeddingloadbalancerconfig.js +59 -0
  16. package/models/components/embeddingloadbalancerconfig.js.map +1 -0
  17. package/models/components/embeddingloadbalancermodelconfig.d.ts +20 -0
  18. package/models/components/embeddingloadbalancermodelconfig.d.ts.map +1 -0
  19. package/models/components/embeddingloadbalancermodelconfig.js +50 -0
  20. package/models/components/embeddingloadbalancermodelconfig.js.map +1 -0
  21. package/models/components/embeddingorqparams.d.ts +42 -0
  22. package/models/components/embeddingorqparams.d.ts.map +1 -0
  23. package/models/components/embeddingorqparams.js +68 -0
  24. package/models/components/embeddingorqparams.js.map +1 -0
  25. package/models/components/embeddingretryconfig.d.ts +20 -0
  26. package/models/components/embeddingretryconfig.d.ts.map +1 -0
  27. package/models/components/embeddingretryconfig.js +55 -0
  28. package/models/components/embeddingretryconfig.js.map +1 -0
  29. package/models/components/embeddingtimeoutconfig.d.ts +15 -0
  30. package/models/components/embeddingtimeoutconfig.d.ts.map +1 -0
  31. package/models/components/embeddingtimeoutconfig.js +54 -0
  32. package/models/components/embeddingtimeoutconfig.js.map +1 -0
  33. package/models/components/index.d.ts +9 -0
  34. package/models/components/index.d.ts.map +1 -1
  35. package/models/components/index.js +9 -0
  36. package/models/components/index.js.map +1 -1
  37. package/models/components/publicembeddingdata.d.ts +34 -0
  38. package/models/components/publicembeddingdata.d.ts.map +1 -0
  39. package/models/components/publicembeddingdata.js +61 -0
  40. package/models/components/publicembeddingdata.js.map +1 -0
  41. package/models/components/publicembeddingusage.d.ts +17 -0
  42. package/models/components/publicembeddingusage.d.ts.map +1 -0
  43. package/models/components/publicembeddingusage.js +57 -0
  44. package/models/components/publicembeddingusage.js.map +1 -0
  45. package/models/components/publicmodelentry.d.ts +4 -4
  46. package/models/components/publicmodelentry.d.ts.map +1 -1
  47. package/models/components/publicmodelentry.js +4 -5
  48. package/models/components/publicmodelentry.js.map +1 -1
  49. package/models/components/reasoningpart.js +1 -1
  50. package/models/operations/createdataset.js +1 -1
  51. package/models/operations/createdatasetitem.js +4 -4
  52. package/models/operations/createdatasource.js +1 -1
  53. package/models/operations/createembedding.d.ts +50 -390
  54. package/models/operations/createembedding.d.ts.map +1 -1
  55. package/models/operations/createembedding.js +33 -231
  56. package/models/operations/createembedding.js.map +1 -1
  57. package/models/operations/createeval.d.ts +0 -42
  58. package/models/operations/createeval.d.ts.map +1 -1
  59. package/models/operations/createeval.js +16 -49
  60. package/models/operations/createeval.js.map +1 -1
  61. package/models/operations/createrouterresponse.d.ts +8 -8
  62. package/models/operations/createrouterresponse.d.ts.map +1 -1
  63. package/models/operations/createrouterresponse.js +13 -8
  64. package/models/operations/createrouterresponse.js.map +1 -1
  65. package/models/operations/createtool.js +6 -6
  66. package/models/operations/getalltools.js +6 -6
  67. package/models/operations/getevals.d.ts +0 -24
  68. package/models/operations/getevals.d.ts.map +1 -1
  69. package/models/operations/getevals.js +16 -40
  70. package/models/operations/getevals.js.map +1 -1
  71. package/models/operations/getv2humanevalsets.js +2 -2
  72. package/models/operations/getv2humanevalsetsid.js +2 -2
  73. package/models/operations/listchunks.d.ts +24 -4
  74. package/models/operations/listchunks.d.ts.map +1 -1
  75. package/models/operations/listchunks.js +26 -3
  76. package/models/operations/listchunks.js.map +1 -1
  77. package/models/operations/listdatasetdatapoints.js +4 -4
  78. package/models/operations/listdatasets.js +1 -1
  79. package/models/operations/listdatasources.js +1 -1
  80. package/models/operations/patchv2humanevalsetsid.js +2 -2
  81. package/models/operations/postv2feedbackevaluation.js +3 -3
  82. package/models/operations/postv2humanevalsets.js +2 -2
  83. package/models/operations/retrievedatapoint.js +4 -4
  84. package/models/operations/retrievedataset.js +1 -1
  85. package/models/operations/retrievedatasource.js +1 -1
  86. package/models/operations/retrievetool.js +6 -6
  87. package/models/operations/runagent.js +1 -1
  88. package/models/operations/streamrunagent.js +1 -1
  89. package/models/operations/updatedatapoint.js +4 -4
  90. package/models/operations/updatedataset.js +1 -1
  91. package/models/operations/updatedatasource.js +1 -1
  92. package/models/operations/updateeval.d.ts +0 -30
  93. package/models/operations/updateeval.d.ts.map +1 -1
  94. package/models/operations/updateeval.js +16 -43
  95. package/models/operations/updateeval.js.map +1 -1
  96. package/models/operations/updatetool.js +7 -7
  97. package/package.json +7 -7
  98. package/sdk/router.d.ts +2 -2
  99. package/sdk/router.d.ts.map +1 -1
  100. package/sdk/router.js +3 -3
  101. package/sdk/router.js.map +1 -1
  102. package/src/funcs/identitiesCreate.ts +1 -1
  103. package/src/lib/config.ts +3 -3
  104. package/src/models/components/embeddingcacheconfig.ts +59 -0
  105. package/src/models/components/embeddingcontactparams.ts +48 -0
  106. package/src/models/components/embeddingloadbalancerconfig.ts +66 -0
  107. package/src/models/components/embeddingloadbalancermodelconfig.ts +42 -0
  108. package/src/models/components/embeddingorqparams.ts +101 -0
  109. package/src/models/components/embeddingretryconfig.ts +45 -0
  110. package/src/models/components/embeddingtimeoutconfig.ts +39 -0
  111. package/src/models/components/index.ts +9 -0
  112. package/src/models/components/publicembeddingdata.ts +60 -0
  113. package/src/models/components/publicembeddingusage.ts +45 -0
  114. package/src/models/components/publicmodelentry.ts +7 -6
  115. package/src/models/components/reasoningpart.ts +1 -1
  116. package/src/models/operations/createdataset.ts +1 -1
  117. package/src/models/operations/createdatasetitem.ts +4 -4
  118. package/src/models/operations/createdatasource.ts +1 -1
  119. package/src/models/operations/createembedding.ts +82 -810
  120. package/src/models/operations/createeval.ts +16 -91
  121. package/src/models/operations/createrouterresponse.ts +25 -14
  122. package/src/models/operations/createtool.ts +6 -6
  123. package/src/models/operations/getalltools.ts +6 -6
  124. package/src/models/operations/getevals.ts +16 -64
  125. package/src/models/operations/getv2humanevalsets.ts +2 -2
  126. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  127. package/src/models/operations/listchunks.ts +35 -6
  128. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  129. package/src/models/operations/listdatasets.ts +1 -1
  130. package/src/models/operations/listdatasources.ts +1 -1
  131. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  132. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  133. package/src/models/operations/postv2humanevalsets.ts +2 -2
  134. package/src/models/operations/retrievedatapoint.ts +4 -4
  135. package/src/models/operations/retrievedataset.ts +1 -1
  136. package/src/models/operations/retrievedatasource.ts +1 -1
  137. package/src/models/operations/retrievetool.ts +6 -6
  138. package/src/models/operations/runagent.ts +1 -1
  139. package/src/models/operations/streamrunagent.ts +1 -1
  140. package/src/models/operations/updatedatapoint.ts +4 -4
  141. package/src/models/operations/updatedataset.ts +1 -1
  142. package/src/models/operations/updatedatasource.ts +1 -1
  143. package/src/models/operations/updateeval.ts +16 -73
  144. package/src/models/operations/updatetool.ts +7 -7
  145. package/src/sdk/router.ts +5 -5
@@ -0,0 +1,42 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+
7
+ export type EmbeddingLoadBalancerModelConfig = {
8
+ /**
9
+ * Model identifier for load balancing.
10
+ */
11
+ model: string;
12
+ /**
13
+ * Weight assigned to this model for load balancing.
14
+ */
15
+ weight: number;
16
+ };
17
+
18
+ /** @internal */
19
+ export type EmbeddingLoadBalancerModelConfig$Outbound = {
20
+ model: string;
21
+ weight: number;
22
+ };
23
+
24
+ /** @internal */
25
+ export const EmbeddingLoadBalancerModelConfig$outboundSchema: z.ZodType<
26
+ EmbeddingLoadBalancerModelConfig$Outbound,
27
+ z.ZodTypeDef,
28
+ EmbeddingLoadBalancerModelConfig
29
+ > = z.object({
30
+ model: z.string(),
31
+ weight: z.number(),
32
+ });
33
+
34
+ export function embeddingLoadBalancerModelConfigToJSON(
35
+ embeddingLoadBalancerModelConfig: EmbeddingLoadBalancerModelConfig,
36
+ ): string {
37
+ return JSON.stringify(
38
+ EmbeddingLoadBalancerModelConfig$outboundSchema.parse(
39
+ embeddingLoadBalancerModelConfig,
40
+ ),
41
+ );
42
+ }
@@ -0,0 +1,101 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import {
8
+ EmbeddingCacheConfig,
9
+ EmbeddingCacheConfig$Outbound,
10
+ EmbeddingCacheConfig$outboundSchema,
11
+ } from "./embeddingcacheconfig.js";
12
+ import {
13
+ EmbeddingContactParams,
14
+ EmbeddingContactParams$Outbound,
15
+ EmbeddingContactParams$outboundSchema,
16
+ } from "./embeddingcontactparams.js";
17
+ import {
18
+ EmbeddingLoadBalancerConfig,
19
+ EmbeddingLoadBalancerConfig$Outbound,
20
+ EmbeddingLoadBalancerConfig$outboundSchema,
21
+ } from "./embeddingloadbalancerconfig.js";
22
+ import {
23
+ EmbeddingRetryConfig,
24
+ EmbeddingRetryConfig$Outbound,
25
+ EmbeddingRetryConfig$outboundSchema,
26
+ } from "./embeddingretryconfig.js";
27
+ import {
28
+ EmbeddingTimeoutConfig,
29
+ EmbeddingTimeoutConfig$Outbound,
30
+ EmbeddingTimeoutConfig$outboundSchema,
31
+ } from "./embeddingtimeoutconfig.js";
32
+ import {
33
+ FallbackConfig,
34
+ FallbackConfig$Outbound,
35
+ FallbackConfig$outboundSchema,
36
+ } from "./fallbackconfig.js";
37
+ import {
38
+ PublicIdentity,
39
+ PublicIdentity$Outbound,
40
+ PublicIdentity$outboundSchema,
41
+ } from "./publicidentity.js";
42
+
43
+ export type EmbeddingOrqParams = {
44
+ cache?: EmbeddingCacheConfig | undefined;
45
+ contact?: EmbeddingContactParams | undefined;
46
+ /**
47
+ * Deprecated: use top-level fallbacks instead.
48
+ */
49
+ fallbacks?: Array<FallbackConfig> | null | undefined;
50
+ /**
51
+ * Information about the identity making the request. If the identity does not exist, it will be created automatically.
52
+ */
53
+ identity?: PublicIdentity | undefined;
54
+ loadBalancer?: EmbeddingLoadBalancerConfig | undefined;
55
+ /**
56
+ * Deprecated: use top-level name instead.
57
+ */
58
+ name?: string | undefined;
59
+ retry?: EmbeddingRetryConfig | undefined;
60
+ timeout?: EmbeddingTimeoutConfig | undefined;
61
+ };
62
+
63
+ /** @internal */
64
+ export type EmbeddingOrqParams$Outbound = {
65
+ cache?: EmbeddingCacheConfig$Outbound | undefined;
66
+ contact?: EmbeddingContactParams$Outbound | undefined;
67
+ fallbacks?: Array<FallbackConfig$Outbound> | null | undefined;
68
+ identity?: PublicIdentity$Outbound | undefined;
69
+ load_balancer?: EmbeddingLoadBalancerConfig$Outbound | undefined;
70
+ name?: string | undefined;
71
+ retry?: EmbeddingRetryConfig$Outbound | undefined;
72
+ timeout?: EmbeddingTimeoutConfig$Outbound | undefined;
73
+ };
74
+
75
+ /** @internal */
76
+ export const EmbeddingOrqParams$outboundSchema: z.ZodType<
77
+ EmbeddingOrqParams$Outbound,
78
+ z.ZodTypeDef,
79
+ EmbeddingOrqParams
80
+ > = z.object({
81
+ cache: EmbeddingCacheConfig$outboundSchema.optional(),
82
+ contact: EmbeddingContactParams$outboundSchema.optional(),
83
+ fallbacks: z.nullable(z.array(FallbackConfig$outboundSchema)).optional(),
84
+ identity: PublicIdentity$outboundSchema.optional(),
85
+ loadBalancer: EmbeddingLoadBalancerConfig$outboundSchema.optional(),
86
+ name: z.string().optional(),
87
+ retry: EmbeddingRetryConfig$outboundSchema.optional(),
88
+ timeout: EmbeddingTimeoutConfig$outboundSchema.optional(),
89
+ }).transform((v) => {
90
+ return remap$(v, {
91
+ loadBalancer: "load_balancer",
92
+ });
93
+ });
94
+
95
+ export function embeddingOrqParamsToJSON(
96
+ embeddingOrqParams: EmbeddingOrqParams,
97
+ ): string {
98
+ return JSON.stringify(
99
+ EmbeddingOrqParams$outboundSchema.parse(embeddingOrqParams),
100
+ );
101
+ }
@@ -0,0 +1,45 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+
8
+ export type EmbeddingRetryConfig = {
9
+ /**
10
+ * Number of retry attempts (1-5).
11
+ */
12
+ count: number;
13
+ /**
14
+ * HTTP status codes that trigger retry logic.
15
+ */
16
+ onCodes: Array<number> | null;
17
+ };
18
+
19
+ /** @internal */
20
+ export type EmbeddingRetryConfig$Outbound = {
21
+ count: number;
22
+ on_codes: Array<number> | null;
23
+ };
24
+
25
+ /** @internal */
26
+ export const EmbeddingRetryConfig$outboundSchema: z.ZodType<
27
+ EmbeddingRetryConfig$Outbound,
28
+ z.ZodTypeDef,
29
+ EmbeddingRetryConfig
30
+ > = z.object({
31
+ count: z.number().int(),
32
+ onCodes: z.nullable(z.array(z.number().int())),
33
+ }).transform((v) => {
34
+ return remap$(v, {
35
+ onCodes: "on_codes",
36
+ });
37
+ });
38
+
39
+ export function embeddingRetryConfigToJSON(
40
+ embeddingRetryConfig: EmbeddingRetryConfig,
41
+ ): string {
42
+ return JSON.stringify(
43
+ EmbeddingRetryConfig$outboundSchema.parse(embeddingRetryConfig),
44
+ );
45
+ }
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+
8
+ export type EmbeddingTimeoutConfig = {
9
+ /**
10
+ * Timeout value in milliseconds.
11
+ */
12
+ callTimeout: number;
13
+ };
14
+
15
+ /** @internal */
16
+ export type EmbeddingTimeoutConfig$Outbound = {
17
+ call_timeout: number;
18
+ };
19
+
20
+ /** @internal */
21
+ export const EmbeddingTimeoutConfig$outboundSchema: z.ZodType<
22
+ EmbeddingTimeoutConfig$Outbound,
23
+ z.ZodTypeDef,
24
+ EmbeddingTimeoutConfig
25
+ > = z.object({
26
+ callTimeout: z.number().int(),
27
+ }).transform((v) => {
28
+ return remap$(v, {
29
+ callTimeout: "call_timeout",
30
+ });
31
+ });
32
+
33
+ export function embeddingTimeoutConfigToJSON(
34
+ embeddingTimeoutConfig: EmbeddingTimeoutConfig,
35
+ ): string {
36
+ return JSON.stringify(
37
+ EmbeddingTimeoutConfig$outboundSchema.parse(embeddingTimeoutConfig),
38
+ );
39
+ }
@@ -44,6 +44,13 @@ export * from "./deleteskillresponse.js";
44
44
  export * from "./detectrequest.js";
45
45
  export * from "./detectresponse.js";
46
46
  export * from "./domain.js";
47
+ export * from "./embeddingcacheconfig.js";
48
+ export * from "./embeddingcontactparams.js";
49
+ export * from "./embeddingloadbalancerconfig.js";
50
+ export * from "./embeddingloadbalancermodelconfig.js";
51
+ export * from "./embeddingorqparams.js";
52
+ export * from "./embeddingretryconfig.js";
53
+ export * from "./embeddingtimeoutconfig.js";
47
54
  export * from "./errorpart.js";
48
55
  export * from "./errorstreamingevent.js";
49
56
  export * from "./evaluatorref.js";
@@ -104,6 +111,8 @@ export * from "./pricingvariant.js";
104
111
  export * from "./project.js";
105
112
  export * from "./projectscope.js";
106
113
  export * from "./publiccontact.js";
114
+ export * from "./publicembeddingdata.js";
115
+ export * from "./publicembeddingusage.js";
107
116
  export * from "./publicidentity.js";
108
117
  export * from "./publicmodelentry.js";
109
118
  export * from "./publicschedule.js";
@@ -0,0 +1,60 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ /**
12
+ * The object type, which is always "embedding".
13
+ */
14
+ export const ObjectT = {
15
+ Embedding: "embedding",
16
+ } as const;
17
+ /**
18
+ * The object type, which is always "embedding".
19
+ */
20
+ export type ObjectT = ClosedEnum<typeof ObjectT>;
21
+
22
+ export type PublicEmbeddingData = {
23
+ /**
24
+ * The embedding vector, which is a list of floats. The length of vector depends on the model. Can also be a base64-encoded string when encoding_format is base64.
25
+ */
26
+ embedding?: any | undefined;
27
+ /**
28
+ * The index of the embedding in the list of embeddings.
29
+ */
30
+ index: number;
31
+ /**
32
+ * The object type, which is always "embedding".
33
+ */
34
+ object: ObjectT;
35
+ };
36
+
37
+ /** @internal */
38
+ export const ObjectT$inboundSchema: z.ZodNativeEnum<typeof ObjectT> = z
39
+ .nativeEnum(ObjectT);
40
+
41
+ /** @internal */
42
+ export const PublicEmbeddingData$inboundSchema: z.ZodType<
43
+ PublicEmbeddingData,
44
+ z.ZodTypeDef,
45
+ unknown
46
+ > = z.object({
47
+ embedding: z.any().optional(),
48
+ index: z.number().int(),
49
+ object: ObjectT$inboundSchema,
50
+ });
51
+
52
+ export function publicEmbeddingDataFromJSON(
53
+ jsonString: string,
54
+ ): SafeParseResult<PublicEmbeddingData, SDKValidationError> {
55
+ return safeParse(
56
+ jsonString,
57
+ (x) => PublicEmbeddingData$inboundSchema.parse(JSON.parse(x)),
58
+ `Failed to parse 'PublicEmbeddingData' from JSON`,
59
+ );
60
+ }
@@ -0,0 +1,45 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type PublicEmbeddingUsage = {
12
+ /**
13
+ * The number of tokens used by the prompt.
14
+ */
15
+ promptTokens: number;
16
+ /**
17
+ * The total number of tokens used by the request.
18
+ */
19
+ totalTokens: number;
20
+ };
21
+
22
+ /** @internal */
23
+ export const PublicEmbeddingUsage$inboundSchema: z.ZodType<
24
+ PublicEmbeddingUsage,
25
+ z.ZodTypeDef,
26
+ unknown
27
+ > = z.object({
28
+ prompt_tokens: z.number().int(),
29
+ total_tokens: z.number().int(),
30
+ }).transform((v) => {
31
+ return remap$(v, {
32
+ "prompt_tokens": "promptTokens",
33
+ "total_tokens": "totalTokens",
34
+ });
35
+ });
36
+
37
+ export function publicEmbeddingUsageFromJSON(
38
+ jsonString: string,
39
+ ): SafeParseResult<PublicEmbeddingUsage, SDKValidationError> {
40
+ return safeParse(
41
+ jsonString,
42
+ (x) => PublicEmbeddingUsage$inboundSchema.parse(JSON.parse(x)),
43
+ `Failed to parse 'PublicEmbeddingUsage' from JSON`,
44
+ );
45
+ }
@@ -12,13 +12,13 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
12
  /**
13
13
  * Always "model".
14
14
  */
15
- export const ObjectT = {
15
+ export const PublicModelEntryObject = {
16
16
  Model: "model",
17
17
  } as const;
18
18
  /**
19
19
  * Always "model".
20
20
  */
21
- export type ObjectT = ClosedEnum<typeof ObjectT>;
21
+ export type PublicModelEntryObject = ClosedEnum<typeof PublicModelEntryObject>;
22
22
 
23
23
  export type PublicModelEntry = {
24
24
  /**
@@ -32,7 +32,7 @@ export type PublicModelEntry = {
32
32
  /**
33
33
  * Always "model".
34
34
  */
35
- object: ObjectT;
35
+ object: PublicModelEntryObject;
36
36
  /**
37
37
  * The provider that owns the model (e.g. openai, anthropic).
38
38
  */
@@ -40,8 +40,9 @@ export type PublicModelEntry = {
40
40
  };
41
41
 
42
42
  /** @internal */
43
- export const ObjectT$inboundSchema: z.ZodNativeEnum<typeof ObjectT> = z
44
- .nativeEnum(ObjectT);
43
+ export const PublicModelEntryObject$inboundSchema: z.ZodNativeEnum<
44
+ typeof PublicModelEntryObject
45
+ > = z.nativeEnum(PublicModelEntryObject);
45
46
 
46
47
  /** @internal */
47
48
  export const PublicModelEntry$inboundSchema: z.ZodType<
@@ -51,7 +52,7 @@ export const PublicModelEntry$inboundSchema: z.ZodType<
51
52
  > = z.object({
52
53
  created: z.number().int(),
53
54
  id: z.string(),
54
- object: ObjectT$inboundSchema,
55
+ object: PublicModelEntryObject$inboundSchema,
55
56
  owned_by: z.string(),
56
57
  }).transform((v) => {
57
58
  return remap$(v, {
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- _id: z.string().default("reasoning_01kt1t90dhwdrtzaq6gpr9vhew"),
43
+ _id: z.string().default("reasoning_01kt2z4nny4kke3h1tvqvpk623"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
138
138
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
139
139
  .optional(),
140
140
  updated: z.string().datetime({ offset: true }).default(
141
- "2026-06-01T14:43:52.579Z",
141
+ "2026-06-02T01:28:11.213Z",
142
142
  ).transform(v => new Date(v)),
143
143
  }).transform((v) => {
144
144
  return remap$(v, {
@@ -2355,7 +2355,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
2355
2355
  ),
2356
2356
  reviewed_by_id: z.string(),
2357
2357
  reviewed_at: z.string().datetime({ offset: true }).default(
2358
- "2026-06-01T14:44:17.545Z",
2358
+ "2026-06-02T01:28:32.820Z",
2359
2359
  ).transform(v => new Date(v)),
2360
2360
  type: z.literal("string_array"),
2361
2361
  values: z.array(z.string()),
@@ -2400,7 +2400,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
2400
2400
  source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
2401
2401
  reviewed_by_id: z.string(),
2402
2402
  reviewed_at: z.string().datetime({ offset: true }).default(
2403
- "2026-06-01T14:44:17.545Z",
2403
+ "2026-06-02T01:28:32.818Z",
2404
2404
  ).transform(v => new Date(v)),
2405
2405
  type: z.literal("number"),
2406
2406
  value: z.number(),
@@ -2446,7 +2446,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
2446
2446
  source: EvaluationsSource$inboundSchema.default("orq"),
2447
2447
  reviewed_by_id: z.string(),
2448
2448
  reviewed_at: z.string().datetime({ offset: true }).default(
2449
- "2026-06-01T14:44:17.544Z",
2449
+ "2026-06-02T01:28:32.817Z",
2450
2450
  ).transform(v => new Date(v)),
2451
2451
  type: z.literal("string"),
2452
2452
  value: z.string(),
@@ -2529,7 +2529,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
2529
2529
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2530
2530
  .optional(),
2531
2531
  updated: z.string().datetime({ offset: true }).default(
2532
- "2026-06-01T14:43:52.579Z",
2532
+ "2026-06-02T01:28:11.213Z",
2533
2533
  ).transform(v => new Date(v)),
2534
2534
  }).transform((v) => {
2535
2535
  return remap$(v, {
@@ -409,7 +409,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
409
409
  z.ZodTypeDef,
410
410
  unknown
411
411
  > = z.object({
412
- _id: z.string().default("01KT1T90XW5K4GTJBTRQKKN9F6"),
412
+ _id: z.string().default("01KT2Z4P6ENTGDN15WMA741G44"),
413
413
  display_name: z.string(),
414
414
  description: z.string().optional(),
415
415
  status: CreateDatasourceStatus$inboundSchema,