@meetkai/mka1 0.54.20 → 0.54.22
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.
- package/bin/mcp-server.js +171 -37
- package/bin/mcp-server.js.map +16 -16
- package/dist/commonjs/funcs/llmModelsPutOrgAutoModel.d.ts +1 -1
- package/dist/commonjs/funcs/llmModelsPutOrgAutoModel.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmModelsPutOrgAutoModel.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmModelsPutOrgAutoModel.js.map +1 -1
- package/dist/commonjs/models/components/batchgetfeedbackresponse.d.ts +4 -4
- package/dist/commonjs/models/components/batchgetfeedbackresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/batchgetfeedbackresponse.js +13 -2
- package/dist/commonjs/models/components/batchgetfeedbackresponse.js.map +1 -1
- package/dist/commonjs/models/components/createfeedbackresponse.d.ts +4 -4
- package/dist/commonjs/models/components/createfeedbackresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/createfeedbackresponse.js +13 -2
- package/dist/commonjs/models/components/createfeedbackresponse.js.map +1 -1
- package/dist/commonjs/models/components/getexportstatusresponse.d.ts +18 -18
- package/dist/commonjs/models/components/getexportstatusresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/getexportstatusresponse.js +62 -15
- package/dist/commonjs/models/components/getexportstatusresponse.js.map +1 -1
- package/dist/commonjs/models/components/getfeedbackresponse.d.ts +4 -4
- package/dist/commonjs/models/components/getfeedbackresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/getfeedbackresponse.js +13 -2
- package/dist/commonjs/models/components/getfeedbackresponse.js.map +1 -1
- package/dist/commonjs/models/components/listfeedbackresponse.d.ts +2 -2
- package/dist/commonjs/models/components/livekittokenresponse.d.ts +1 -1
- package/dist/commonjs/models/components/livekittokenresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/livekittokenresponse.js +10 -1
- package/dist/commonjs/models/components/livekittokenresponse.js.map +1 -1
- package/dist/commonjs/models/components/putorgautomodelrequest.d.ts +3 -3
- package/dist/commonjs/models/components/putorgautomodelrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/putorgautomodelrequest.js +22 -3
- package/dist/commonjs/models/components/putorgautomodelrequest.js.map +1 -1
- package/dist/commonjs/models/components/startexportfeedbackresponse.d.ts +4 -4
- package/dist/commonjs/models/components/startexportfeedbackresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/startexportfeedbackresponse.js +19 -4
- package/dist/commonjs/models/components/startexportfeedbackresponse.js.map +1 -1
- package/dist/commonjs/models/components/updatefeedbackresponse.d.ts +5 -5
- package/dist/commonjs/models/components/updatefeedbackresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/updatefeedbackresponse.js +13 -2
- package/dist/commonjs/models/components/updatefeedbackresponse.js.map +1 -1
- package/dist/commonjs/react-query/llmModelsPutOrgAutoModel.d.ts +1 -1
- package/dist/commonjs/react-query/llmModelsPutOrgAutoModel.js +1 -1
- package/dist/commonjs/sdk/models.d.ts +1 -1
- package/dist/commonjs/sdk/models.js +1 -1
- package/dist/esm/funcs/llmModelsPutOrgAutoModel.d.ts +1 -1
- package/dist/esm/funcs/llmModelsPutOrgAutoModel.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/llmModelsPutOrgAutoModel.js +1 -1
- package/dist/esm/mcp-server/tools/llmModelsPutOrgAutoModel.js.map +1 -1
- package/dist/esm/models/components/batchgetfeedbackresponse.d.ts +4 -4
- package/dist/esm/models/components/batchgetfeedbackresponse.d.ts.map +1 -1
- package/dist/esm/models/components/batchgetfeedbackresponse.js +13 -2
- package/dist/esm/models/components/batchgetfeedbackresponse.js.map +1 -1
- package/dist/esm/models/components/createfeedbackresponse.d.ts +4 -4
- package/dist/esm/models/components/createfeedbackresponse.d.ts.map +1 -1
- package/dist/esm/models/components/createfeedbackresponse.js +13 -2
- package/dist/esm/models/components/createfeedbackresponse.js.map +1 -1
- package/dist/esm/models/components/getexportstatusresponse.d.ts +18 -18
- package/dist/esm/models/components/getexportstatusresponse.d.ts.map +1 -1
- package/dist/esm/models/components/getexportstatusresponse.js +62 -15
- package/dist/esm/models/components/getexportstatusresponse.js.map +1 -1
- package/dist/esm/models/components/getfeedbackresponse.d.ts +4 -4
- package/dist/esm/models/components/getfeedbackresponse.d.ts.map +1 -1
- package/dist/esm/models/components/getfeedbackresponse.js +13 -2
- package/dist/esm/models/components/getfeedbackresponse.js.map +1 -1
- package/dist/esm/models/components/listfeedbackresponse.d.ts +2 -2
- package/dist/esm/models/components/livekittokenresponse.d.ts +1 -1
- package/dist/esm/models/components/livekittokenresponse.d.ts.map +1 -1
- package/dist/esm/models/components/livekittokenresponse.js +10 -1
- package/dist/esm/models/components/livekittokenresponse.js.map +1 -1
- package/dist/esm/models/components/putorgautomodelrequest.d.ts +3 -3
- package/dist/esm/models/components/putorgautomodelrequest.d.ts.map +1 -1
- package/dist/esm/models/components/putorgautomodelrequest.js +22 -3
- package/dist/esm/models/components/putorgautomodelrequest.js.map +1 -1
- package/dist/esm/models/components/startexportfeedbackresponse.d.ts +4 -4
- package/dist/esm/models/components/startexportfeedbackresponse.d.ts.map +1 -1
- package/dist/esm/models/components/startexportfeedbackresponse.js +19 -4
- package/dist/esm/models/components/startexportfeedbackresponse.js.map +1 -1
- package/dist/esm/models/components/updatefeedbackresponse.d.ts +5 -5
- package/dist/esm/models/components/updatefeedbackresponse.d.ts.map +1 -1
- package/dist/esm/models/components/updatefeedbackresponse.js +13 -2
- package/dist/esm/models/components/updatefeedbackresponse.js.map +1 -1
- package/dist/esm/react-query/llmModelsPutOrgAutoModel.d.ts +1 -1
- package/dist/esm/react-query/llmModelsPutOrgAutoModel.js +1 -1
- package/dist/esm/sdk/models.d.ts +1 -1
- package/dist/esm/sdk/models.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/llmModelsPutOrgAutoModel.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/llmModelsPutOrgAutoModel.ts +1 -1
- package/src/models/components/batchgetfeedbackresponse.ts +17 -6
- package/src/models/components/createfeedbackresponse.ts +17 -6
- package/src/models/components/getexportstatusresponse.ts +82 -33
- package/src/models/components/getfeedbackresponse.ts +17 -6
- package/src/models/components/listfeedbackresponse.ts +2 -2
- package/src/models/components/livekittokenresponse.ts +11 -2
- package/src/models/components/putorgautomodelrequest.ts +25 -6
- package/src/models/components/startexportfeedbackresponse.ts +23 -8
- package/src/models/components/updatefeedbackresponse.ts +18 -7
- package/src/react-query/llmModelsPutOrgAutoModel.ts +1 -1
- package/src/sdk/models.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"startexportfeedbackresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/startexportfeedbackresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"startexportfeedbackresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/startexportfeedbackresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;CASpC,CAAC;AACX;;GAE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jB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v3";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
5
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
6
7
|
/**
|
|
7
8
|
* Current status of the export job
|
|
@@ -38,11 +39,18 @@ export const Stage$outboundSchema = Stage$inboundSchema;
|
|
|
38
39
|
/** @internal */
|
|
39
40
|
export const Progress$inboundSchema = z.object({
|
|
40
41
|
stage: Stage$inboundSchema,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
record_count: z.number().int().optional(),
|
|
43
|
+
completion_count: z.number().int().optional(),
|
|
44
|
+
response_count: z.number().int().optional(),
|
|
45
|
+
parquet_bytes: z.number().int().optional(),
|
|
45
46
|
message: z.string(),
|
|
47
|
+
}).transform((v) => {
|
|
48
|
+
return remap$(v, {
|
|
49
|
+
"record_count": "recordCount",
|
|
50
|
+
"completion_count": "completionCount",
|
|
51
|
+
"response_count": "responseCount",
|
|
52
|
+
"parquet_bytes": "parquetBytes",
|
|
53
|
+
});
|
|
46
54
|
});
|
|
47
55
|
/** @internal */
|
|
48
56
|
export const Progress$outboundSchema = z.object({
|
|
@@ -52,6 +60,13 @@ export const Progress$outboundSchema = z.object({
|
|
|
52
60
|
responseCount: z.number().int().optional(),
|
|
53
61
|
parquetBytes: z.number().int().optional(),
|
|
54
62
|
message: z.string(),
|
|
63
|
+
}).transform((v) => {
|
|
64
|
+
return remap$(v, {
|
|
65
|
+
recordCount: "record_count",
|
|
66
|
+
completionCount: "completion_count",
|
|
67
|
+
responseCount: "response_count",
|
|
68
|
+
parquetBytes: "parquet_bytes",
|
|
69
|
+
});
|
|
55
70
|
});
|
|
56
71
|
export function progressToJSON(progress) {
|
|
57
72
|
return JSON.stringify(Progress$outboundSchema.parse(progress));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"startexportfeedbackresponse.js","sourceRoot":"","sources":["../../../../src/models/components/startexportfeedbackresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,QAAQ,EAAE,WAAW;IACrB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,cAAc,EAAE,kBAAkB;IAClC,QAAQ,EAAE,WAAW;CACb,CAAC;AAQX;;GAEG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAC;AAsDX,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C,GAExD,CAAC,CAAC,UAAU,CAAC,iCAAiC,CAAC,CAAC;AACpD,gBAAgB;AAChB,MAAM,CAAC,MAAM,gDAAgD,GAEzD,+CAA+C,CAAC;AAEpD,gBAAgB;AAChB,MAAM,CAAC,MAAM,mBAAmB,GAAkC,CAAC,CAAC,UAAU,CAC5E,KAAK,CACN,CAAC;AACF,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAC/B,mBAAmB,CAAC;AAEtB,gBAAgB;AAChB,MAAM,CAAC,MAAM,sBAAsB,GAI/B,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,mBAAmB;IAC1B,
|
|
1
|
+
{"version":3,"file":"startexportfeedbackresponse.js","sourceRoot":"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ponseRating: {
|
|
|
14
14
|
*/
|
|
15
15
|
export type UpdateFeedbackResponseRating = ClosedEnum<typeof UpdateFeedbackResponseRating>;
|
|
16
16
|
/**
|
|
17
|
-
* Response containing the updated feedback entry
|
|
17
|
+
* Response containing the updated feedback entry.
|
|
18
18
|
*/
|
|
19
19
|
export type UpdateFeedbackResponse = {
|
|
20
20
|
/**
|
|
@@ -30,11 +30,11 @@ export type UpdateFeedbackResponse = {
|
|
|
30
30
|
*/
|
|
31
31
|
description?: string | undefined;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* ISO 8601 timestamp when the underlying output was created
|
|
34
34
|
*/
|
|
35
35
|
createdAt?: Date | undefined;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* ISO 8601 timestamp when the underlying output record was last updated
|
|
38
38
|
*/
|
|
39
39
|
updatedAt?: Date | undefined;
|
|
40
40
|
};
|
|
@@ -49,8 +49,8 @@ export type UpdateFeedbackResponse$Outbound = {
|
|
|
49
49
|
id: string;
|
|
50
50
|
rating?: string | undefined;
|
|
51
51
|
description?: string | undefined;
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
created_at?: string | undefined;
|
|
53
|
+
updated_at?: string | undefined;
|
|
54
54
|
};
|
|
55
55
|
/** @internal */
|
|
56
56
|
export declare const UpdateFeedbackResponse$outboundSchema: z.ZodType<UpdateFeedbackResponse$Outbound, z.ZodTypeDef, UpdateFeedbackResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updatefeedbackresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/updatefeedbackresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"updatefeedbackresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/updatefeedbackresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UA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AEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CAYtB,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AACD,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v3";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
5
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
6
7
|
/**
|
|
7
8
|
* The feedback rating indicating user satisfaction
|
|
@@ -19,10 +20,15 @@ export const UpdateFeedbackResponse$inboundSchema = z.object({
|
|
|
19
20
|
id: z.string(),
|
|
20
21
|
rating: UpdateFeedbackResponseRating$inboundSchema.optional(),
|
|
21
22
|
description: z.string().optional(),
|
|
22
|
-
|
|
23
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
23
24
|
.optional(),
|
|
24
|
-
|
|
25
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
25
26
|
.optional(),
|
|
27
|
+
}).transform((v) => {
|
|
28
|
+
return remap$(v, {
|
|
29
|
+
"created_at": "createdAt",
|
|
30
|
+
"updated_at": "updatedAt",
|
|
31
|
+
});
|
|
26
32
|
});
|
|
27
33
|
/** @internal */
|
|
28
34
|
export const UpdateFeedbackResponse$outboundSchema = z.object({
|
|
@@ -31,6 +37,11 @@ export const UpdateFeedbackResponse$outboundSchema = z.object({
|
|
|
31
37
|
description: z.string().optional(),
|
|
32
38
|
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
33
39
|
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
createdAt: "created_at",
|
|
43
|
+
updatedAt: "updated_at",
|
|
44
|
+
});
|
|
34
45
|
});
|
|
35
46
|
export function updateFeedbackResponseToJSON(updateFeedbackResponse) {
|
|
36
47
|
return JSON.stringify(UpdateFeedbackResponse$outboundSchema.parse(updateFeedbackResponse));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updatefeedbackresponse.js","sourceRoot":"","sources":["../../../../src/models/components/updatefeedbackresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,QAAQ,EAAE,WAAW;IACrB,UAAU,EAAE,aAAa;CACjB,CAAC;AAkCX,gBAAgB;AAChB,MAAM,CAAC,MAAM,0CAA0C,GAEnD,CAAC,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAC/C,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAEpD,0CAA0C,CAAC;AAE/C,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,MAAM,EAAE,0CAA0C,CAAC,QAAQ,EAAE;IAC7D,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,
|
|
1
|
+
{"version":3,"file":"updatefeedbackresponse.js","sourceRoot":"","sources":["../../../../src/models/components/updatefeedbackresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO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,EAAE;IACd,MAAM,EAAE,2CAA2C,CAAC,QAAQ,EAAE;IAC9D,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9D,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC/D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAC1C,sBAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,qCAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
|
|
@@ -17,7 +17,7 @@ export type LlmModelsPutOrgAutoModelMutationError = SDKError | ResponseValidatio
|
|
|
17
17
|
* Set this org's auto policy for an endpoint
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
|
-
* Stores either the existing direct `{ endpoint →
|
|
20
|
+
* Stores either the existing direct `{ endpoint → model_id }` alias or a judge policy with candidate models. Judge routing is supported for responses, completions, transcriptions, and TTS. All configured models must be active when written; revoked candidates are filtered at request time, while an unavailable judge is an explicit error.
|
|
21
21
|
*/
|
|
22
22
|
export declare function useLlmModelsPutOrgAutoModelMutation(options?: MutationHookOptions<LlmModelsPutOrgAutoModelMutationData, LlmModelsPutOrgAutoModelMutationError, LlmModelsPutOrgAutoModelMutationVariables>): UseMutationResult<LlmModelsPutOrgAutoModelMutationData, LlmModelsPutOrgAutoModelMutationError, LlmModelsPutOrgAutoModelMutationVariables>;
|
|
23
23
|
export declare function mutationKeyLlmModelsPutOrgAutoModel(): MutationKey;
|
|
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Set this org's auto policy for an endpoint
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Stores either the existing direct `{ endpoint →
|
|
13
|
+
* Stores either the existing direct `{ endpoint → model_id }` alias or a judge policy with candidate models. Judge routing is supported for responses, completions, transcriptions, and TTS. All configured models must be active when written; revoked candidates are filtered at request time, while an unavailable judge is an explicit error.
|
|
14
14
|
*/
|
|
15
15
|
export function useLlmModelsPutOrgAutoModelMutation(options) {
|
|
16
16
|
const client = useSDKContext();
|
package/dist/esm/sdk/models.d.ts
CHANGED
|
@@ -111,7 +111,7 @@ export declare class Models extends ClientSDK {
|
|
|
111
111
|
* Set this org's auto policy for an endpoint
|
|
112
112
|
*
|
|
113
113
|
* @remarks
|
|
114
|
-
* Stores either the existing direct `{ endpoint →
|
|
114
|
+
* Stores either the existing direct `{ endpoint → model_id }` alias or a judge policy with candidate models. Judge routing is supported for responses, completions, transcriptions, and TTS. All configured models must be active when written; revoked candidates are filtered at request time, while an unavailable judge is an explicit error.
|
|
115
115
|
*/
|
|
116
116
|
putOrgAutoModel(request: operations.PutOrgAutoModelRequest, options?: RequestOptions): Promise<operations.PutOrgAutoModelResponseBody>;
|
|
117
117
|
/**
|
package/dist/esm/sdk/models.js
CHANGED
|
@@ -169,7 +169,7 @@ export class Models extends ClientSDK {
|
|
|
169
169
|
* Set this org's auto policy for an endpoint
|
|
170
170
|
*
|
|
171
171
|
* @remarks
|
|
172
|
-
* Stores either the existing direct `{ endpoint →
|
|
172
|
+
* Stores either the existing direct `{ endpoint → model_id }` alias or a judge policy with candidate models. Judge routing is supported for responses, completions, transcriptions, and TTS. All configured models must be active when written; revoked candidates are filtered at request time, while an unavailable judge is an explicit error.
|
|
173
173
|
*/
|
|
174
174
|
async putOrgAutoModel(request, options) {
|
|
175
175
|
return unwrapAsync(llmModelsPutOrgAutoModel(this, request, options));
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* Set this org's auto policy for an endpoint
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Stores either the existing direct `{ endpoint →
|
|
32
|
+
* Stores either the existing direct `{ endpoint → model_id }` alias or a judge policy with candidate models. Judge routing is supported for responses, completions, transcriptions, and TTS. All configured models must be active when written; revoked candidates are filtered at request time, while an unavailable judge is an explicit error.
|
|
33
33
|
*
|
|
34
34
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
35
35
|
*/
|
package/src/lib/config.ts
CHANGED
|
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "1.1.0",
|
|
68
|
-
sdkVersion: "0.54.
|
|
68
|
+
sdkVersion: "0.54.22",
|
|
69
69
|
genVersion: "2.935.1",
|
|
70
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 0.54.22 2.935.1 1.1.0 @meetkai/mka1",
|
|
71
71
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -14,7 +14,7 @@ export const tool$llmModelsPutOrgAutoModel: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "llm-models-put-org-auto-model",
|
|
15
15
|
description: `Set this org's auto policy for an endpoint
|
|
16
16
|
|
|
17
|
-
Stores either the existing direct \`{ endpoint →
|
|
17
|
+
Stores either the existing direct \`{ endpoint → model_id }\` alias or a judge policy with candidate models. Judge routing is supported for responses, completions, transcriptions, and TTS. All configured models must be active when written; revoked candidates are filtered at request time, while an unavailable judge is an explicit error.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await llmModelsPutOrgAutoModel(
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
@@ -37,11 +38,11 @@ export type Results2 = {
|
|
|
37
38
|
*/
|
|
38
39
|
description?: string | undefined;
|
|
39
40
|
/**
|
|
40
|
-
*
|
|
41
|
+
* ISO 8601 timestamp when the underlying output was created
|
|
41
42
|
*/
|
|
42
43
|
createdAt?: Date | undefined;
|
|
43
44
|
/**
|
|
44
|
-
*
|
|
45
|
+
* ISO 8601 timestamp when the underlying output record was last updated
|
|
45
46
|
*/
|
|
46
47
|
updatedAt?: Date | undefined;
|
|
47
48
|
};
|
|
@@ -90,18 +91,23 @@ export const Results2$inboundSchema: z.ZodType<
|
|
|
90
91
|
id: z.string(),
|
|
91
92
|
rating: ResultsRating$inboundSchema.optional(),
|
|
92
93
|
description: z.string().optional(),
|
|
93
|
-
|
|
94
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
94
95
|
.optional(),
|
|
95
|
-
|
|
96
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
96
97
|
.optional(),
|
|
98
|
+
}).transform((v) => {
|
|
99
|
+
return remap$(v, {
|
|
100
|
+
"created_at": "createdAt",
|
|
101
|
+
"updated_at": "updatedAt",
|
|
102
|
+
});
|
|
97
103
|
});
|
|
98
104
|
/** @internal */
|
|
99
105
|
export type Results2$Outbound = {
|
|
100
106
|
id: string;
|
|
101
107
|
rating?: string | undefined;
|
|
102
108
|
description?: string | undefined;
|
|
103
|
-
|
|
104
|
-
|
|
109
|
+
created_at?: string | undefined;
|
|
110
|
+
updated_at?: string | undefined;
|
|
105
111
|
};
|
|
106
112
|
|
|
107
113
|
/** @internal */
|
|
@@ -115,6 +121,11 @@ export const Results2$outboundSchema: z.ZodType<
|
|
|
115
121
|
description: z.string().optional(),
|
|
116
122
|
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
117
123
|
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
124
|
+
}).transform((v) => {
|
|
125
|
+
return remap$(v, {
|
|
126
|
+
createdAt: "created_at",
|
|
127
|
+
updatedAt: "updated_at",
|
|
128
|
+
});
|
|
118
129
|
});
|
|
119
130
|
|
|
120
131
|
export function results2ToJSON(results2: Results2): string {
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
@@ -39,11 +40,11 @@ export type CreateFeedbackResponse = {
|
|
|
39
40
|
*/
|
|
40
41
|
description?: string | undefined;
|
|
41
42
|
/**
|
|
42
|
-
*
|
|
43
|
+
* ISO 8601 timestamp when the underlying output was created
|
|
43
44
|
*/
|
|
44
45
|
createdAt?: Date | undefined;
|
|
45
46
|
/**
|
|
46
|
-
*
|
|
47
|
+
* ISO 8601 timestamp when the underlying output record was last updated
|
|
47
48
|
*/
|
|
48
49
|
updatedAt?: Date | undefined;
|
|
49
50
|
};
|
|
@@ -66,18 +67,23 @@ export const CreateFeedbackResponse$inboundSchema: z.ZodType<
|
|
|
66
67
|
id: z.string(),
|
|
67
68
|
rating: CreateFeedbackResponseRating$inboundSchema.optional(),
|
|
68
69
|
description: z.string().optional(),
|
|
69
|
-
|
|
70
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
70
71
|
.optional(),
|
|
71
|
-
|
|
72
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
72
73
|
.optional(),
|
|
74
|
+
}).transform((v) => {
|
|
75
|
+
return remap$(v, {
|
|
76
|
+
"created_at": "createdAt",
|
|
77
|
+
"updated_at": "updatedAt",
|
|
78
|
+
});
|
|
73
79
|
});
|
|
74
80
|
/** @internal */
|
|
75
81
|
export type CreateFeedbackResponse$Outbound = {
|
|
76
82
|
id: string;
|
|
77
83
|
rating?: string | undefined;
|
|
78
84
|
description?: string | undefined;
|
|
79
|
-
|
|
80
|
-
|
|
85
|
+
created_at?: string | undefined;
|
|
86
|
+
updated_at?: string | undefined;
|
|
81
87
|
};
|
|
82
88
|
|
|
83
89
|
/** @internal */
|
|
@@ -91,6 +97,11 @@ export const CreateFeedbackResponse$outboundSchema: z.ZodType<
|
|
|
91
97
|
description: z.string().optional(),
|
|
92
98
|
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
93
99
|
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
100
|
+
}).transform((v) => {
|
|
101
|
+
return remap$(v, {
|
|
102
|
+
createdAt: "created_at",
|
|
103
|
+
updatedAt: "updated_at",
|
|
104
|
+
});
|
|
94
105
|
});
|
|
95
106
|
|
|
96
107
|
export function createFeedbackResponseToJSON(
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
@@ -105,9 +106,9 @@ export type Result = {
|
|
|
105
106
|
*/
|
|
106
107
|
responseFeedbackCount: number;
|
|
107
108
|
/**
|
|
108
|
-
*
|
|
109
|
+
* ISO 8601 timestamp when the export was created
|
|
109
110
|
*/
|
|
110
|
-
exportedAt:
|
|
111
|
+
exportedAt: Date;
|
|
111
112
|
/**
|
|
112
113
|
* Duration of the export in milliseconds
|
|
113
114
|
*/
|
|
@@ -123,11 +124,11 @@ export type GetExportStatusResponse = {
|
|
|
123
124
|
*/
|
|
124
125
|
status: GetExportStatusResponseStatus;
|
|
125
126
|
/**
|
|
126
|
-
*
|
|
127
|
+
* ISO 8601 timestamp when the export job started
|
|
127
128
|
*/
|
|
128
129
|
startTime?: Date | undefined;
|
|
129
130
|
/**
|
|
130
|
-
*
|
|
131
|
+
* ISO 8601 timestamp when the export job completed (if finished)
|
|
131
132
|
*/
|
|
132
133
|
closeTime?: Date | undefined;
|
|
133
134
|
/**
|
|
@@ -169,19 +170,26 @@ export const GetExportStatusResponseProgress$inboundSchema: z.ZodType<
|
|
|
169
170
|
unknown
|
|
170
171
|
> = z.object({
|
|
171
172
|
stage: GetExportStatusResponseStage$inboundSchema,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
record_count: z.number().int().optional(),
|
|
174
|
+
completion_count: z.number().int().optional(),
|
|
175
|
+
response_count: z.number().int().optional(),
|
|
176
|
+
parquet_bytes: z.number().int().optional(),
|
|
176
177
|
message: z.string(),
|
|
178
|
+
}).transform((v) => {
|
|
179
|
+
return remap$(v, {
|
|
180
|
+
"record_count": "recordCount",
|
|
181
|
+
"completion_count": "completionCount",
|
|
182
|
+
"response_count": "responseCount",
|
|
183
|
+
"parquet_bytes": "parquetBytes",
|
|
184
|
+
});
|
|
177
185
|
});
|
|
178
186
|
/** @internal */
|
|
179
187
|
export type GetExportStatusResponseProgress$Outbound = {
|
|
180
188
|
stage: string;
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
189
|
+
record_count?: number | undefined;
|
|
190
|
+
completion_count?: number | undefined;
|
|
191
|
+
response_count?: number | undefined;
|
|
192
|
+
parquet_bytes?: number | undefined;
|
|
185
193
|
message: string;
|
|
186
194
|
};
|
|
187
195
|
|
|
@@ -197,6 +205,13 @@ export const GetExportStatusResponseProgress$outboundSchema: z.ZodType<
|
|
|
197
205
|
responseCount: z.number().int().optional(),
|
|
198
206
|
parquetBytes: z.number().int().optional(),
|
|
199
207
|
message: z.string(),
|
|
208
|
+
}).transform((v) => {
|
|
209
|
+
return remap$(v, {
|
|
210
|
+
recordCount: "record_count",
|
|
211
|
+
completionCount: "completion_count",
|
|
212
|
+
responseCount: "response_count",
|
|
213
|
+
parquetBytes: "parquet_bytes",
|
|
214
|
+
});
|
|
200
215
|
});
|
|
201
216
|
|
|
202
217
|
export function getExportStatusResponseProgressToJSON(
|
|
@@ -221,25 +236,38 @@ export function getExportStatusResponseProgressFromJSON(
|
|
|
221
236
|
/** @internal */
|
|
222
237
|
export const Result$inboundSchema: z.ZodType<Result, z.ZodTypeDef, unknown> = z
|
|
223
238
|
.object({
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
239
|
+
output_path: z.string(),
|
|
240
|
+
completions_file: z.string(),
|
|
241
|
+
responses_file: z.string(),
|
|
242
|
+
record_count: z.number().int(),
|
|
243
|
+
completion_feedback_count: z.number().int(),
|
|
244
|
+
response_feedback_count: z.number().int(),
|
|
245
|
+
exported_at: z.string().datetime({ offset: true }).transform(v =>
|
|
246
|
+
new Date(v)
|
|
247
|
+
),
|
|
248
|
+
duration_ms: z.number().int(),
|
|
249
|
+
}).transform((v) => {
|
|
250
|
+
return remap$(v, {
|
|
251
|
+
"output_path": "outputPath",
|
|
252
|
+
"completions_file": "completionsFile",
|
|
253
|
+
"responses_file": "responsesFile",
|
|
254
|
+
"record_count": "recordCount",
|
|
255
|
+
"completion_feedback_count": "completionFeedbackCount",
|
|
256
|
+
"response_feedback_count": "responseFeedbackCount",
|
|
257
|
+
"exported_at": "exportedAt",
|
|
258
|
+
"duration_ms": "durationMs",
|
|
259
|
+
});
|
|
232
260
|
});
|
|
233
261
|
/** @internal */
|
|
234
262
|
export type Result$Outbound = {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
263
|
+
output_path: string;
|
|
264
|
+
completions_file: string;
|
|
265
|
+
responses_file: string;
|
|
266
|
+
record_count: number;
|
|
267
|
+
completion_feedback_count: number;
|
|
268
|
+
response_feedback_count: number;
|
|
269
|
+
exported_at: string;
|
|
270
|
+
duration_ms: number;
|
|
243
271
|
};
|
|
244
272
|
|
|
245
273
|
/** @internal */
|
|
@@ -254,8 +282,19 @@ export const Result$outboundSchema: z.ZodType<
|
|
|
254
282
|
recordCount: z.number().int(),
|
|
255
283
|
completionFeedbackCount: z.number().int(),
|
|
256
284
|
responseFeedbackCount: z.number().int(),
|
|
257
|
-
exportedAt: z.
|
|
285
|
+
exportedAt: z.date().transform(v => v.toISOString()),
|
|
258
286
|
durationMs: z.number().int(),
|
|
287
|
+
}).transform((v) => {
|
|
288
|
+
return remap$(v, {
|
|
289
|
+
outputPath: "output_path",
|
|
290
|
+
completionsFile: "completions_file",
|
|
291
|
+
responsesFile: "responses_file",
|
|
292
|
+
recordCount: "record_count",
|
|
293
|
+
completionFeedbackCount: "completion_feedback_count",
|
|
294
|
+
responseFeedbackCount: "response_feedback_count",
|
|
295
|
+
exportedAt: "exported_at",
|
|
296
|
+
durationMs: "duration_ms",
|
|
297
|
+
});
|
|
259
298
|
});
|
|
260
299
|
|
|
261
300
|
export function resultToJSON(result: Result): string {
|
|
@@ -278,20 +317,25 @@ export const GetExportStatusResponse$inboundSchema: z.ZodType<
|
|
|
278
317
|
unknown
|
|
279
318
|
> = z.object({
|
|
280
319
|
status: GetExportStatusResponseStatus$inboundSchema,
|
|
281
|
-
|
|
320
|
+
start_time: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
282
321
|
.optional(),
|
|
283
|
-
|
|
322
|
+
close_time: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
284
323
|
.optional(),
|
|
285
324
|
progress: z.lazy(() => GetExportStatusResponseProgress$inboundSchema)
|
|
286
325
|
.optional(),
|
|
287
326
|
result: z.lazy(() => Result$inboundSchema).optional(),
|
|
288
327
|
error: z.string().optional(),
|
|
328
|
+
}).transform((v) => {
|
|
329
|
+
return remap$(v, {
|
|
330
|
+
"start_time": "startTime",
|
|
331
|
+
"close_time": "closeTime",
|
|
332
|
+
});
|
|
289
333
|
});
|
|
290
334
|
/** @internal */
|
|
291
335
|
export type GetExportStatusResponse$Outbound = {
|
|
292
336
|
status: string;
|
|
293
|
-
|
|
294
|
-
|
|
337
|
+
start_time?: string | undefined;
|
|
338
|
+
close_time?: string | undefined;
|
|
295
339
|
progress?: GetExportStatusResponseProgress$Outbound | undefined;
|
|
296
340
|
result?: Result$Outbound | undefined;
|
|
297
341
|
error?: string | undefined;
|
|
@@ -310,6 +354,11 @@ export const GetExportStatusResponse$outboundSchema: z.ZodType<
|
|
|
310
354
|
.optional(),
|
|
311
355
|
result: z.lazy(() => Result$outboundSchema).optional(),
|
|
312
356
|
error: z.string().optional(),
|
|
357
|
+
}).transform((v) => {
|
|
358
|
+
return remap$(v, {
|
|
359
|
+
startTime: "start_time",
|
|
360
|
+
closeTime: "close_time",
|
|
361
|
+
});
|
|
313
362
|
});
|
|
314
363
|
|
|
315
364
|
export function getExportStatusResponseToJSON(
|