@orq-ai/node 4.14.0-rc.42 → 4.14.0-rc.44

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 (150) hide show
  1. package/README.md +44 -35
  2. package/funcs/modelCatalogGet.d.ts +18 -0
  3. package/funcs/modelCatalogGet.d.ts.map +1 -0
  4. package/funcs/modelCatalogGet.js +121 -0
  5. package/funcs/modelCatalogGet.js.map +1 -0
  6. package/funcs/modelCatalogList.d.ts +18 -0
  7. package/funcs/modelCatalogList.d.ts.map +1 -0
  8. package/funcs/modelCatalogList.js +133 -0
  9. package/funcs/modelCatalogList.js.map +1 -0
  10. package/funcs/modelCatalogListOfferings.d.ts +18 -0
  11. package/funcs/modelCatalogListOfferings.d.ts.map +1 -0
  12. package/funcs/modelCatalogListOfferings.js +138 -0
  13. package/funcs/modelCatalogListOfferings.js.map +1 -0
  14. package/jsr.json +1 -1
  15. package/lib/config.d.ts +3 -3
  16. package/lib/config.js +3 -3
  17. package/models/components/evaluatorresponsefunction.js +2 -2
  18. package/models/components/evaluatorresponsehttp.js +2 -2
  19. package/models/components/evaluatorresponsejsonschema.js +2 -2
  20. package/models/components/evaluatorresponsellm.js +2 -2
  21. package/models/components/evaluatorresponsepython.js +2 -2
  22. package/models/components/evaluatorresponseragas.js +2 -2
  23. package/models/components/evaluatorresponsetypescript.js +2 -2
  24. package/models/components/getmodelcatalogmodelresponse.d.ts +14 -0
  25. package/models/components/getmodelcatalogmodelresponse.d.ts.map +1 -0
  26. package/models/components/getmodelcatalogmodelresponse.js +51 -0
  27. package/models/components/getmodelcatalogmodelresponse.js.map +1 -0
  28. package/models/components/index.d.ts +6 -0
  29. package/models/components/index.d.ts.map +1 -1
  30. package/models/components/index.js +6 -0
  31. package/models/components/index.js.map +1 -1
  32. package/models/components/listmodelcatalogofferingsresponse.d.ts +25 -0
  33. package/models/components/listmodelcatalogofferingsresponse.d.ts.map +1 -0
  34. package/models/components/listmodelcatalogofferingsresponse.js +58 -0
  35. package/models/components/listmodelcatalogofferingsresponse.js.map +1 -0
  36. package/models/components/listmodelcatalogresponse.d.ts +25 -0
  37. package/models/components/listmodelcatalogresponse.d.ts.map +1 -0
  38. package/models/components/listmodelcatalogresponse.js +58 -0
  39. package/models/components/listmodelcatalogresponse.js.map +1 -0
  40. package/models/components/model.d.ts +129 -0
  41. package/models/components/model.d.ts.map +1 -0
  42. package/models/components/model.js +91 -0
  43. package/models/components/model.js.map +1 -0
  44. package/models/components/modelmodalities.d.ts +17 -0
  45. package/models/components/modelmodalities.d.ts.map +1 -0
  46. package/models/components/modelmodalities.js +51 -0
  47. package/models/components/modelmodalities.js.map +1 -0
  48. package/models/components/modelprovider.d.ts +17 -0
  49. package/models/components/modelprovider.d.ts.map +1 -0
  50. package/models/components/modelprovider.js +51 -0
  51. package/models/components/modelprovider.js.map +1 -0
  52. package/models/components/reasoningpart.js +1 -1
  53. package/models/operations/createannotationqueue.js +1 -1
  54. package/models/operations/createdataset.js +1 -1
  55. package/models/operations/createdatasetitem.js +5 -5
  56. package/models/operations/createtool.js +4 -4
  57. package/models/operations/getalltools.js +4 -4
  58. package/models/operations/geteval.js +16 -16
  59. package/models/operations/getv2humanevalsets.js +2 -2
  60. package/models/operations/getv2humanevalsetsid.js +2 -2
  61. package/models/operations/index.d.ts +3 -0
  62. package/models/operations/index.d.ts.map +1 -1
  63. package/models/operations/index.js +3 -0
  64. package/models/operations/index.js.map +1 -1
  65. package/models/operations/listannotationqueues.js +1 -1
  66. package/models/operations/listdatasetdatapoints.js +5 -5
  67. package/models/operations/listdatasets.js +1 -1
  68. package/models/operations/modelcatalogget.d.ts +15 -0
  69. package/models/operations/modelcatalogget.d.ts.map +1 -0
  70. package/models/operations/modelcatalogget.js +49 -0
  71. package/models/operations/modelcatalogget.js.map +1 -0
  72. package/models/operations/modelcataloglist.d.ts +103 -0
  73. package/models/operations/modelcataloglist.d.ts.map +1 -0
  74. package/models/operations/modelcataloglist.js +74 -0
  75. package/models/operations/modelcataloglist.js.map +1 -0
  76. package/models/operations/modelcataloglistofferings.d.ts +106 -0
  77. package/models/operations/modelcataloglistofferings.d.ts.map +1 -0
  78. package/models/operations/modelcataloglistofferings.js +73 -0
  79. package/models/operations/modelcataloglistofferings.js.map +1 -0
  80. package/models/operations/patchv2humanevalsetsid.js +2 -2
  81. package/models/operations/postv2feedbackevaluation.js +4 -4
  82. package/models/operations/postv2humanevalsets.js +2 -2
  83. package/models/operations/retrieveannotationqueue.js +1 -1
  84. package/models/operations/retrievedatapoint.js +5 -5
  85. package/models/operations/retrievedataset.js +1 -1
  86. package/models/operations/retrievetool.js +4 -4
  87. package/models/operations/runagent.js +1 -1
  88. package/models/operations/streamrunagent.js +1 -1
  89. package/models/operations/updateannotationqueue.js +1 -1
  90. package/models/operations/updatedatapoint.js +5 -5
  91. package/models/operations/updatedataset.js +1 -1
  92. package/models/operations/updatetool.js +4 -4
  93. package/package.json +3 -3
  94. package/sdk/modelcatalog.d.ts +27 -0
  95. package/sdk/modelcatalog.d.ts.map +1 -0
  96. package/sdk/modelcatalog.js +42 -0
  97. package/sdk/modelcatalog.js.map +1 -0
  98. package/sdk/sdk.d.ts +3 -0
  99. package/sdk/sdk.d.ts.map +1 -1
  100. package/sdk/sdk.js +4 -0
  101. package/sdk/sdk.js.map +1 -1
  102. package/src/funcs/modelCatalogGet.ts +168 -0
  103. package/src/funcs/modelCatalogList.ts +182 -0
  104. package/src/funcs/modelCatalogListOfferings.ts +187 -0
  105. package/src/lib/config.ts +3 -3
  106. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  107. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  108. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  109. package/src/models/components/evaluatorresponsellm.ts +2 -2
  110. package/src/models/components/evaluatorresponsepython.ts +2 -2
  111. package/src/models/components/evaluatorresponseragas.ts +2 -2
  112. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  113. package/src/models/components/getmodelcatalogmodelresponse.ts +35 -0
  114. package/src/models/components/index.ts +6 -0
  115. package/src/models/components/listmodelcatalogofferingsresponse.ts +53 -0
  116. package/src/models/components/listmodelcatalogresponse.ts +53 -0
  117. package/src/models/components/model.ts +206 -0
  118. package/src/models/components/modelmodalities.ts +39 -0
  119. package/src/models/components/modelprovider.ts +39 -0
  120. package/src/models/components/reasoningpart.ts +1 -1
  121. package/src/models/operations/createannotationqueue.ts +1 -1
  122. package/src/models/operations/createdataset.ts +1 -1
  123. package/src/models/operations/createdatasetitem.ts +5 -5
  124. package/src/models/operations/createtool.ts +4 -4
  125. package/src/models/operations/getalltools.ts +4 -4
  126. package/src/models/operations/geteval.ts +16 -16
  127. package/src/models/operations/getv2humanevalsets.ts +2 -2
  128. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  129. package/src/models/operations/index.ts +3 -0
  130. package/src/models/operations/listannotationqueues.ts +1 -1
  131. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  132. package/src/models/operations/listdatasets.ts +1 -1
  133. package/src/models/operations/modelcatalogget.ts +34 -0
  134. package/src/models/operations/modelcataloglist.ts +147 -0
  135. package/src/models/operations/modelcataloglistofferings.ts +151 -0
  136. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  137. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  138. package/src/models/operations/postv2humanevalsets.ts +2 -2
  139. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  140. package/src/models/operations/retrievedatapoint.ts +5 -5
  141. package/src/models/operations/retrievedataset.ts +1 -1
  142. package/src/models/operations/retrievetool.ts +4 -4
  143. package/src/models/operations/runagent.ts +1 -1
  144. package/src/models/operations/streamrunagent.ts +1 -1
  145. package/src/models/operations/updateannotationqueue.ts +1 -1
  146. package/src/models/operations/updatedatapoint.ts +5 -5
  147. package/src/models/operations/updatedataset.ts +1 -1
  148. package/src/models/operations/updatetool.ts +4 -4
  149. package/src/sdk/modelcatalog.ts +64 -0
  150. package/src/sdk/sdk.ts +6 -0
@@ -0,0 +1,182 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { OrqCore } from "../core.js";
6
+ import { encodeFormQuery } from "../lib/encodings.js";
7
+ import { matchStatusCode } from "../lib/http.js";
8
+ import * as M from "../lib/matchers.js";
9
+ import { compactMap } from "../lib/primitives.js";
10
+ import { safeParse } from "../lib/schemas.js";
11
+ import { RequestOptions } from "../lib/sdks.js";
12
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
+ import { pathToFunc } from "../lib/url.js";
14
+ import * as components from "../models/components/index.js";
15
+ import {
16
+ ConnectionError,
17
+ InvalidRequestError,
18
+ RequestAbortedError,
19
+ RequestTimeoutError,
20
+ UnexpectedClientError,
21
+ } from "../models/errors/httpclienterrors.js";
22
+ import { OrqError } from "../models/errors/orqerror.js";
23
+ import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
24
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
25
+ import * as operations from "../models/operations/index.js";
26
+ import { APICall, APIPromise } from "../types/async.js";
27
+ import { Result } from "../types/fp.js";
28
+
29
+ /**
30
+ * List the model catalog
31
+ *
32
+ * @remarks
33
+ * Returns every model orq offers, optionally filtered, searched and sorted. Deprecated models are never listed; fetch one directly by id to inspect it. Unset `limit` returns the whole catalog. Use `starting_after` or `ending_before` to page through the collection.
34
+ */
35
+ export function modelCatalogList(
36
+ client: OrqCore,
37
+ request?: operations.ModelCatalogListRequest | undefined,
38
+ options?: RequestOptions,
39
+ ): APIPromise<
40
+ Result<
41
+ components.ListModelCatalogResponse,
42
+ | OrqError
43
+ | ResponseValidationError
44
+ | ConnectionError
45
+ | RequestAbortedError
46
+ | RequestTimeoutError
47
+ | InvalidRequestError
48
+ | UnexpectedClientError
49
+ | SDKValidationError
50
+ >
51
+ > {
52
+ return new APIPromise($do(
53
+ client,
54
+ request,
55
+ options,
56
+ ));
57
+ }
58
+
59
+ async function $do(
60
+ client: OrqCore,
61
+ request?: operations.ModelCatalogListRequest | undefined,
62
+ options?: RequestOptions,
63
+ ): Promise<
64
+ [
65
+ Result<
66
+ components.ListModelCatalogResponse,
67
+ | OrqError
68
+ | ResponseValidationError
69
+ | ConnectionError
70
+ | RequestAbortedError
71
+ | RequestTimeoutError
72
+ | InvalidRequestError
73
+ | UnexpectedClientError
74
+ | SDKValidationError
75
+ >,
76
+ APICall,
77
+ ]
78
+ > {
79
+ const parsed = safeParse(
80
+ request,
81
+ (value) =>
82
+ operations.ModelCatalogListRequest$outboundSchema.optional().parse(value),
83
+ "Input validation failed",
84
+ );
85
+ if (!parsed.ok) {
86
+ return [parsed, { status: "invalid" }];
87
+ }
88
+ const payload = parsed.value;
89
+ const body = null;
90
+
91
+ const path = pathToFunc("/v2/model-catalog")();
92
+
93
+ const query = encodeFormQuery({
94
+ "ending_before": payload?.ending_before,
95
+ "endpoint": payload?.endpoint,
96
+ "feature": payload?.feature,
97
+ "input_modality": payload?.input_modality,
98
+ "limit": payload?.limit,
99
+ "location": payload?.location,
100
+ "offering_of": payload?.offering_of,
101
+ "order": payload?.order,
102
+ "output_modality": payload?.output_modality,
103
+ "provider": payload?.provider,
104
+ "search": payload?.search,
105
+ "sort_by": payload?.sort_by,
106
+ "starting_after": payload?.starting_after,
107
+ "supported_parameter": payload?.supported_parameter,
108
+ "tier": payload?.tier,
109
+ });
110
+
111
+ const headers = new Headers(compactMap({
112
+ Accept: "application/json",
113
+ }));
114
+
115
+ const secConfig = await extractSecurity(client._options.apiKey);
116
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
117
+ const requestSecurity = resolveGlobalSecurity(securityInput);
118
+
119
+ const context = {
120
+ options: client._options,
121
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
122
+ operationID: "ModelCatalogList",
123
+ oAuth2Scopes: null,
124
+
125
+ resolvedSecurity: requestSecurity,
126
+
127
+ securitySource: client._options.apiKey,
128
+ retryConfig: options?.retries
129
+ || client._options.retryConfig
130
+ || { strategy: "none" },
131
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
132
+ };
133
+
134
+ const requestRes = client._createRequest(context, {
135
+ security: requestSecurity,
136
+ method: "GET",
137
+ baseURL: options?.serverURL,
138
+ path: path,
139
+ headers: headers,
140
+ query: query,
141
+ body: body,
142
+ userAgent: client._options.userAgent,
143
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
144
+ }, options);
145
+ if (!requestRes.ok) {
146
+ return [requestRes, { status: "invalid" }];
147
+ }
148
+ const req = requestRes.value;
149
+
150
+ const doResult = await client._do(req, {
151
+ context,
152
+ isErrorStatusCode: (statusCode: number) =>
153
+ matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
154
+ retryConfig: context.retryConfig,
155
+ retryCodes: context.retryCodes,
156
+ });
157
+ if (!doResult.ok) {
158
+ return [doResult, { status: "request-error", request: req }];
159
+ }
160
+ const response = doResult.value;
161
+
162
+ const [result] = await M.match<
163
+ components.ListModelCatalogResponse,
164
+ | OrqError
165
+ | ResponseValidationError
166
+ | ConnectionError
167
+ | RequestAbortedError
168
+ | RequestTimeoutError
169
+ | InvalidRequestError
170
+ | UnexpectedClientError
171
+ | SDKValidationError
172
+ >(
173
+ M.json(200, components.ListModelCatalogResponse$inboundSchema),
174
+ M.fail("4XX"),
175
+ M.fail("5XX"),
176
+ )(response, req);
177
+ if (!result.ok) {
178
+ return [result, { status: "complete", request: req, response }];
179
+ }
180
+
181
+ return [result, { status: "complete", request: req, response }];
182
+ }
@@ -0,0 +1,187 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { OrqCore } from "../core.js";
6
+ import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
7
+ import { matchStatusCode } from "../lib/http.js";
8
+ import * as M from "../lib/matchers.js";
9
+ import { compactMap } from "../lib/primitives.js";
10
+ import { safeParse } from "../lib/schemas.js";
11
+ import { RequestOptions } from "../lib/sdks.js";
12
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
+ import { pathToFunc } from "../lib/url.js";
14
+ import * as components from "../models/components/index.js";
15
+ import {
16
+ ConnectionError,
17
+ InvalidRequestError,
18
+ RequestAbortedError,
19
+ RequestTimeoutError,
20
+ UnexpectedClientError,
21
+ } from "../models/errors/httpclienterrors.js";
22
+ import { OrqError } from "../models/errors/orqerror.js";
23
+ import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
24
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
25
+ import * as operations from "../models/operations/index.js";
26
+ import { APICall, APIPromise } from "../types/async.js";
27
+ import { Result } from "../types/fp.js";
28
+
29
+ /**
30
+ * List model catalog offerings
31
+ *
32
+ * @remarks
33
+ * Returns every provider offering of one base model, identified by `<developer>/<stem>` (for example `anthropic/claude-opus-4-7`). Deprecated models are never listed.
34
+ */
35
+ export function modelCatalogListOfferings(
36
+ client: OrqCore,
37
+ request: operations.ModelCatalogListOfferingsRequest,
38
+ options?: RequestOptions,
39
+ ): APIPromise<
40
+ Result<
41
+ components.ListModelCatalogOfferingsResponse,
42
+ | OrqError
43
+ | ResponseValidationError
44
+ | ConnectionError
45
+ | RequestAbortedError
46
+ | RequestTimeoutError
47
+ | InvalidRequestError
48
+ | UnexpectedClientError
49
+ | SDKValidationError
50
+ >
51
+ > {
52
+ return new APIPromise($do(
53
+ client,
54
+ request,
55
+ options,
56
+ ));
57
+ }
58
+
59
+ async function $do(
60
+ client: OrqCore,
61
+ request: operations.ModelCatalogListOfferingsRequest,
62
+ options?: RequestOptions,
63
+ ): Promise<
64
+ [
65
+ Result<
66
+ components.ListModelCatalogOfferingsResponse,
67
+ | OrqError
68
+ | ResponseValidationError
69
+ | ConnectionError
70
+ | RequestAbortedError
71
+ | RequestTimeoutError
72
+ | InvalidRequestError
73
+ | UnexpectedClientError
74
+ | SDKValidationError
75
+ >,
76
+ APICall,
77
+ ]
78
+ > {
79
+ const parsed = safeParse(
80
+ request,
81
+ (value) =>
82
+ operations.ModelCatalogListOfferingsRequest$outboundSchema.parse(value),
83
+ "Input validation failed",
84
+ );
85
+ if (!parsed.ok) {
86
+ return [parsed, { status: "invalid" }];
87
+ }
88
+ const payload = parsed.value;
89
+ const body = null;
90
+
91
+ const pathParams = {
92
+ model: encodeSimple("model", payload.model, {
93
+ explode: false,
94
+ charEncoding: "percent",
95
+ }),
96
+ };
97
+ const path = pathToFunc("/v2/model-catalog/{model}/offerings")(pathParams);
98
+
99
+ const query = encodeFormQuery({
100
+ "ending_before": payload.ending_before,
101
+ "endpoint": payload.endpoint,
102
+ "feature": payload.feature,
103
+ "input_modality": payload.input_modality,
104
+ "limit": payload.limit,
105
+ "location": payload.location,
106
+ "order": payload.order,
107
+ "output_modality": payload.output_modality,
108
+ "provider": payload.provider,
109
+ "search": payload.search,
110
+ "sort_by": payload.sort_by,
111
+ "starting_after": payload.starting_after,
112
+ "supported_parameter": payload.supported_parameter,
113
+ "tier": payload.tier,
114
+ });
115
+
116
+ const headers = new Headers(compactMap({
117
+ Accept: "application/json",
118
+ }));
119
+
120
+ const secConfig = await extractSecurity(client._options.apiKey);
121
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
122
+ const requestSecurity = resolveGlobalSecurity(securityInput);
123
+
124
+ const context = {
125
+ options: client._options,
126
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
127
+ operationID: "ModelCatalogListOfferings",
128
+ oAuth2Scopes: null,
129
+
130
+ resolvedSecurity: requestSecurity,
131
+
132
+ securitySource: client._options.apiKey,
133
+ retryConfig: options?.retries
134
+ || client._options.retryConfig
135
+ || { strategy: "none" },
136
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
137
+ };
138
+
139
+ const requestRes = client._createRequest(context, {
140
+ security: requestSecurity,
141
+ method: "GET",
142
+ baseURL: options?.serverURL,
143
+ path: path,
144
+ headers: headers,
145
+ query: query,
146
+ body: body,
147
+ userAgent: client._options.userAgent,
148
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
149
+ }, options);
150
+ if (!requestRes.ok) {
151
+ return [requestRes, { status: "invalid" }];
152
+ }
153
+ const req = requestRes.value;
154
+
155
+ const doResult = await client._do(req, {
156
+ context,
157
+ isErrorStatusCode: (statusCode: number) =>
158
+ matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
159
+ retryConfig: context.retryConfig,
160
+ retryCodes: context.retryCodes,
161
+ });
162
+ if (!doResult.ok) {
163
+ return [doResult, { status: "request-error", request: req }];
164
+ }
165
+ const response = doResult.value;
166
+
167
+ const [result] = await M.match<
168
+ components.ListModelCatalogOfferingsResponse,
169
+ | OrqError
170
+ | ResponseValidationError
171
+ | ConnectionError
172
+ | RequestAbortedError
173
+ | RequestTimeoutError
174
+ | InvalidRequestError
175
+ | UnexpectedClientError
176
+ | SDKValidationError
177
+ >(
178
+ M.json(200, components.ListModelCatalogOfferingsResponse$inboundSchema),
179
+ M.fail("4XX"),
180
+ M.fail("5XX"),
181
+ )(response, req);
182
+ if (!result.ok) {
183
+ return [result, { status: "complete", request: req, response }];
184
+ }
185
+
186
+ return [result, { status: "complete", request: req, response }];
187
+ }
package/src/lib/config.ts CHANGED
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
58
58
  export const SDK_METADATA = {
59
59
  language: "typescript",
60
60
  openapiDocVersion: "2.0",
61
- sdkVersion: "4.14.0-rc.42",
62
- genVersion: "2.931.0",
63
- userAgent: "speakeasy-sdk/typescript 4.14.0-rc.42 2.931.0 2.0 @orq-ai/node",
61
+ sdkVersion: "4.14.0-rc.44",
62
+ genVersion: "2.932.9",
63
+ userAgent: "speakeasy-sdk/typescript 4.14.0-rc.44 2.932.9 2.0 @orq-ai/node",
64
64
  } as const;
@@ -860,8 +860,8 @@ export const EvaluatorResponseFunction$inboundSchema: z.ZodType<
860
860
  > = z.object({
861
861
  _id: z.string(),
862
862
  description: z.string(),
863
- created: z.string().default("2026-08-20T15:20:52.764Z"),
864
- updated: z.string().default("2026-08-20T15:20:52.764Z"),
863
+ created: z.string().default("2026-08-21T08:04:35.257Z"),
864
+ updated: z.string().default("2026-08-21T08:04:35.257Z"),
865
865
  updated_by_id: z.nullable(z.string()).optional(),
866
866
  project_id: z.string().optional(),
867
867
  guardrail_config: z.any().optional(),
@@ -46,8 +46,8 @@ export const EvaluatorResponseHttp$inboundSchema: z.ZodType<
46
46
  > = z.object({
47
47
  _id: z.string(),
48
48
  description: z.string(),
49
- created: z.string().default("2026-08-20T15:20:52.764Z"),
50
- updated: z.string().default("2026-08-20T15:20:52.764Z"),
49
+ created: z.string().default("2026-08-21T08:04:35.257Z"),
50
+ updated: z.string().default("2026-08-21T08:04:35.257Z"),
51
51
  updated_by_id: z.nullable(z.string()).optional(),
52
52
  project_id: z.string().optional(),
53
53
  guardrail_config: z.any().optional(),
@@ -32,8 +32,8 @@ export const EvaluatorResponseJsonSchema$inboundSchema: z.ZodType<
32
32
  > = z.object({
33
33
  _id: z.string(),
34
34
  description: z.string(),
35
- created: z.string().default("2026-08-20T15:20:52.764Z"),
36
- updated: z.string().default("2026-08-20T15:20:52.764Z"),
35
+ created: z.string().default("2026-08-21T08:04:35.257Z"),
36
+ updated: z.string().default("2026-08-21T08:04:35.257Z"),
37
37
  updated_by_id: z.nullable(z.string()).optional(),
38
38
  project_id: z.string().optional(),
39
39
  guardrail_config: z.any().optional(),
@@ -271,8 +271,8 @@ export const EvaluatorResponseLlm$inboundSchema: z.ZodType<
271
271
  > = z.object({
272
272
  _id: z.string(),
273
273
  description: z.string(),
274
- created: z.string().default("2026-08-20T15:20:52.764Z"),
275
- updated: z.string().default("2026-08-20T15:20:52.764Z"),
274
+ created: z.string().default("2026-08-21T08:04:35.257Z"),
275
+ updated: z.string().default("2026-08-21T08:04:35.257Z"),
276
276
  updated_by_id: z.nullable(z.string()).optional(),
277
277
  project_id: z.string().optional(),
278
278
  guardrail_config: z.any().optional(),
@@ -32,8 +32,8 @@ export const EvaluatorResponsePython$inboundSchema: z.ZodType<
32
32
  > = z.object({
33
33
  _id: z.string(),
34
34
  description: z.string(),
35
- created: z.string().default("2026-08-20T15:20:52.764Z"),
36
- updated: z.string().default("2026-08-20T15:20:52.764Z"),
35
+ created: z.string().default("2026-08-21T08:04:35.257Z"),
36
+ updated: z.string().default("2026-08-21T08:04:35.257Z"),
37
37
  updated_by_id: z.nullable(z.string()).optional(),
38
38
  project_id: z.string().optional(),
39
39
  guardrail_config: z.any().optional(),
@@ -54,8 +54,8 @@ export const EvaluatorResponseRagas$inboundSchema: z.ZodType<
54
54
  > = z.object({
55
55
  _id: z.string(),
56
56
  description: z.string(),
57
- created: z.string().default("2026-08-20T15:20:52.764Z"),
58
- updated: z.string().default("2026-08-20T15:20:52.764Z"),
57
+ created: z.string().default("2026-08-21T08:04:35.257Z"),
58
+ updated: z.string().default("2026-08-21T08:04:35.257Z"),
59
59
  updated_by_id: z.nullable(z.string()).optional(),
60
60
  project_id: z.string().optional(),
61
61
  guardrail_config: z.any().optional(),
@@ -32,8 +32,8 @@ export const EvaluatorResponseTypescript$inboundSchema: z.ZodType<
32
32
  > = z.object({
33
33
  _id: z.string(),
34
34
  description: z.string(),
35
- created: z.string().default("2026-08-20T15:20:52.764Z"),
36
- updated: z.string().default("2026-08-20T15:20:52.764Z"),
35
+ created: z.string().default("2026-08-21T08:04:35.257Z"),
36
+ updated: z.string().default("2026-08-21T08:04:35.257Z"),
37
37
  updated_by_id: z.nullable(z.string()).optional(),
38
38
  project_id: z.string().optional(),
39
39
  guardrail_config: z.any().optional(),
@@ -0,0 +1,35 @@
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 { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+ import { Model, Model$inboundSchema } from "./model.js";
10
+
11
+ export type GetModelCatalogModelResponse = {
12
+ /**
13
+ * Requested catalog entry.
14
+ */
15
+ model: Model;
16
+ };
17
+
18
+ /** @internal */
19
+ export const GetModelCatalogModelResponse$inboundSchema: z.ZodType<
20
+ GetModelCatalogModelResponse,
21
+ z.ZodTypeDef,
22
+ unknown
23
+ > = z.object({
24
+ model: Model$inboundSchema,
25
+ });
26
+
27
+ export function getModelCatalogModelResponseFromJSON(
28
+ jsonString: string,
29
+ ): SafeParseResult<GetModelCatalogModelResponse, SDKValidationError> {
30
+ return safeParse(
31
+ jsonString,
32
+ (x) => GetModelCatalogModelResponse$inboundSchema.parse(JSON.parse(x)),
33
+ `Failed to parse 'GetModelCatalogModelResponse' from JSON`,
34
+ );
35
+ }
@@ -190,6 +190,7 @@ export * from "./getlogcontextrequest.js";
190
190
  export * from "./getlogcontextresponse.js";
191
191
  export * from "./getlogresponse.js";
192
192
  export * from "./getmanagementkeyresponse.js";
193
+ export * from "./getmodelcatalogmodelresponse.js";
193
194
  export * from "./getnotifierresponse.js";
194
195
  export * from "./getprojectresponse.js";
195
196
  export * from "./getskillresponse.js";
@@ -246,6 +247,8 @@ export * from "./listmanagementkeysresponse.js";
246
247
  export * from "./listmemoriesresponse.js";
247
248
  export * from "./listmemorydocumentsresponse.js";
248
249
  export * from "./listmemorystoresresponse.js";
250
+ export * from "./listmodelcatalogofferingsresponse.js";
251
+ export * from "./listmodelcatalogresponse.js";
249
252
  export * from "./listnotifiersresponse.js";
250
253
  export * from "./listprojectsresponse.js";
251
254
  export * from "./listroutingrulesresponse.js";
@@ -277,12 +280,15 @@ export * from "./memorydocument.js";
277
280
  export * from "./memoryparam.js";
278
281
  export * from "./memorystore.js";
279
282
  export * from "./memorystoreembeddingconfig.js";
283
+ export * from "./model.js";
280
284
  export * from "./modelbudgetscope.js";
281
285
  export * from "./modelbudgetscoperestresponse.js";
282
286
  export * from "./modelconfigurationresponse.js";
283
287
  export * from "./modeldocument.js";
284
288
  export * from "./modelmetadata.js";
289
+ export * from "./modelmodalities.js";
285
290
  export * from "./modelparameterdocument.js";
291
+ export * from "./modelprovider.js";
286
292
  export * from "./modelref.js";
287
293
  export * from "./modelsconfig.js";
288
294
  export * from "./modelsharingconfig.js";
@@ -0,0 +1,53 @@
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
+ import { Model, Model$inboundSchema } from "./model.js";
11
+
12
+ export type ListModelCatalogOfferingsResponse = {
13
+ /**
14
+ * Object discriminator for list responses; always `list`.
15
+ */
16
+ object: string;
17
+ /**
18
+ * Page of catalog offerings, ordered by `offering_of` then `id`.
19
+ */
20
+ data: Array<Model>;
21
+ /**
22
+ * Whether more offerings are available in the selected pagination
23
+ *
24
+ * @remarks
25
+ * direction.
26
+ */
27
+ hasMore: boolean;
28
+ };
29
+
30
+ /** @internal */
31
+ export const ListModelCatalogOfferingsResponse$inboundSchema: z.ZodType<
32
+ ListModelCatalogOfferingsResponse,
33
+ z.ZodTypeDef,
34
+ unknown
35
+ > = z.object({
36
+ object: z.string(),
37
+ data: z.array(Model$inboundSchema),
38
+ has_more: z.boolean(),
39
+ }).transform((v) => {
40
+ return remap$(v, {
41
+ "has_more": "hasMore",
42
+ });
43
+ });
44
+
45
+ export function listModelCatalogOfferingsResponseFromJSON(
46
+ jsonString: string,
47
+ ): SafeParseResult<ListModelCatalogOfferingsResponse, SDKValidationError> {
48
+ return safeParse(
49
+ jsonString,
50
+ (x) => ListModelCatalogOfferingsResponse$inboundSchema.parse(JSON.parse(x)),
51
+ `Failed to parse 'ListModelCatalogOfferingsResponse' from JSON`,
52
+ );
53
+ }
@@ -0,0 +1,53 @@
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
+ import { Model, Model$inboundSchema } from "./model.js";
11
+
12
+ export type ListModelCatalogResponse = {
13
+ /**
14
+ * Object discriminator for list responses; always `list`.
15
+ */
16
+ object: string;
17
+ /**
18
+ * Page of catalog entries.
19
+ */
20
+ data: Array<Model>;
21
+ /**
22
+ * Whether more entries are available in the selected pagination
23
+ *
24
+ * @remarks
25
+ * direction.
26
+ */
27
+ hasMore: boolean;
28
+ };
29
+
30
+ /** @internal */
31
+ export const ListModelCatalogResponse$inboundSchema: z.ZodType<
32
+ ListModelCatalogResponse,
33
+ z.ZodTypeDef,
34
+ unknown
35
+ > = z.object({
36
+ object: z.string(),
37
+ data: z.array(Model$inboundSchema),
38
+ has_more: z.boolean(),
39
+ }).transform((v) => {
40
+ return remap$(v, {
41
+ "has_more": "hasMore",
42
+ });
43
+ });
44
+
45
+ export function listModelCatalogResponseFromJSON(
46
+ jsonString: string,
47
+ ): SafeParseResult<ListModelCatalogResponse, SDKValidationError> {
48
+ return safeParse(
49
+ jsonString,
50
+ (x) => ListModelCatalogResponse$inboundSchema.parse(JSON.parse(x)),
51
+ `Failed to parse 'ListModelCatalogResponse' from JSON`,
52
+ );
53
+ }