@meetkai/mka1 0.54.19 → 0.54.21

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 (128) hide show
  1. package/bin/mcp-server.js +79 -27
  2. package/bin/mcp-server.js.map +20 -20
  3. package/dist/commonjs/funcs/llmModelsAddCatalogOrgAccess.js +2 -2
  4. package/dist/commonjs/funcs/llmModelsAddCatalogOrgAccess.js.map +1 -1
  5. package/dist/commonjs/funcs/llmModelsClearOrgPrice.js +2 -2
  6. package/dist/commonjs/funcs/llmModelsClearOrgPrice.js.map +1 -1
  7. package/dist/commonjs/funcs/llmModelsListCatalogOrgAccess.js +2 -2
  8. package/dist/commonjs/funcs/llmModelsListCatalogOrgAccess.js.map +1 -1
  9. package/dist/commonjs/funcs/llmModelsListOrgPrices.js +2 -2
  10. package/dist/commonjs/funcs/llmModelsListOrgPrices.js.map +1 -1
  11. package/dist/commonjs/funcs/llmModelsPutOrgAutoModel.d.ts +1 -1
  12. package/dist/commonjs/funcs/llmModelsPutOrgAutoModel.js +1 -1
  13. package/dist/commonjs/funcs/llmModelsReplaceCatalogOrgAccess.js +2 -2
  14. package/dist/commonjs/funcs/llmModelsReplaceCatalogOrgAccess.js.map +1 -1
  15. package/dist/commonjs/funcs/llmModelsSetOrgPrice.js +2 -2
  16. package/dist/commonjs/funcs/llmModelsSetOrgPrice.js.map +1 -1
  17. package/dist/commonjs/lib/config.d.ts +2 -2
  18. package/dist/commonjs/lib/config.js +2 -2
  19. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  20. package/dist/commonjs/mcp-server/server.js +1 -1
  21. package/dist/commonjs/mcp-server/tools/llmModelsPutOrgAutoModel.js +1 -1
  22. package/dist/commonjs/mcp-server/tools/llmModelsPutOrgAutoModel.js.map +1 -1
  23. package/dist/commonjs/models/components/putorgautomodelrequest.d.ts +3 -3
  24. package/dist/commonjs/models/components/putorgautomodelrequest.d.ts.map +1 -1
  25. package/dist/commonjs/models/components/putorgautomodelrequest.js +22 -3
  26. package/dist/commonjs/models/components/putorgautomodelrequest.js.map +1 -1
  27. package/dist/commonjs/models/operations/addmodelcatalogorgaccess.d.ts +1 -1
  28. package/dist/commonjs/models/operations/addmodelcatalogorgaccess.d.ts.map +1 -1
  29. package/dist/commonjs/models/operations/addmodelcatalogorgaccess.js +3 -1
  30. package/dist/commonjs/models/operations/addmodelcatalogorgaccess.js.map +1 -1
  31. package/dist/commonjs/models/operations/clearorgprice.d.ts +1 -1
  32. package/dist/commonjs/models/operations/clearorgprice.d.ts.map +1 -1
  33. package/dist/commonjs/models/operations/clearorgprice.js +10 -1
  34. package/dist/commonjs/models/operations/clearorgprice.js.map +1 -1
  35. package/dist/commonjs/models/operations/listmodelcatalogorgaccess.d.ts +1 -1
  36. package/dist/commonjs/models/operations/listmodelcatalogorgaccess.d.ts.map +1 -1
  37. package/dist/commonjs/models/operations/listmodelcatalogorgaccess.js +10 -1
  38. package/dist/commonjs/models/operations/listmodelcatalogorgaccess.js.map +1 -1
  39. package/dist/commonjs/models/operations/listorgprices.d.ts +1 -1
  40. package/dist/commonjs/models/operations/listorgprices.d.ts.map +1 -1
  41. package/dist/commonjs/models/operations/listorgprices.js +10 -1
  42. package/dist/commonjs/models/operations/listorgprices.js.map +1 -1
  43. package/dist/commonjs/models/operations/replacemodelcatalogorgaccess.d.ts +1 -1
  44. package/dist/commonjs/models/operations/replacemodelcatalogorgaccess.d.ts.map +1 -1
  45. package/dist/commonjs/models/operations/replacemodelcatalogorgaccess.js +3 -1
  46. package/dist/commonjs/models/operations/replacemodelcatalogorgaccess.js.map +1 -1
  47. package/dist/commonjs/models/operations/setorgprice.d.ts +1 -1
  48. package/dist/commonjs/models/operations/setorgprice.d.ts.map +1 -1
  49. package/dist/commonjs/models/operations/setorgprice.js +3 -1
  50. package/dist/commonjs/models/operations/setorgprice.js.map +1 -1
  51. package/dist/commonjs/react-query/llmModelsPutOrgAutoModel.d.ts +1 -1
  52. package/dist/commonjs/react-query/llmModelsPutOrgAutoModel.js +1 -1
  53. package/dist/commonjs/sdk/models.d.ts +1 -1
  54. package/dist/commonjs/sdk/models.js +1 -1
  55. package/dist/esm/funcs/llmModelsAddCatalogOrgAccess.js +2 -2
  56. package/dist/esm/funcs/llmModelsAddCatalogOrgAccess.js.map +1 -1
  57. package/dist/esm/funcs/llmModelsClearOrgPrice.js +2 -2
  58. package/dist/esm/funcs/llmModelsClearOrgPrice.js.map +1 -1
  59. package/dist/esm/funcs/llmModelsListCatalogOrgAccess.js +2 -2
  60. package/dist/esm/funcs/llmModelsListCatalogOrgAccess.js.map +1 -1
  61. package/dist/esm/funcs/llmModelsListOrgPrices.js +2 -2
  62. package/dist/esm/funcs/llmModelsListOrgPrices.js.map +1 -1
  63. package/dist/esm/funcs/llmModelsPutOrgAutoModel.d.ts +1 -1
  64. package/dist/esm/funcs/llmModelsPutOrgAutoModel.js +1 -1
  65. package/dist/esm/funcs/llmModelsReplaceCatalogOrgAccess.js +2 -2
  66. package/dist/esm/funcs/llmModelsReplaceCatalogOrgAccess.js.map +1 -1
  67. package/dist/esm/funcs/llmModelsSetOrgPrice.js +2 -2
  68. package/dist/esm/funcs/llmModelsSetOrgPrice.js.map +1 -1
  69. package/dist/esm/lib/config.d.ts +2 -2
  70. package/dist/esm/lib/config.js +2 -2
  71. package/dist/esm/mcp-server/mcp-server.js +1 -1
  72. package/dist/esm/mcp-server/server.js +1 -1
  73. package/dist/esm/mcp-server/tools/llmModelsPutOrgAutoModel.js +1 -1
  74. package/dist/esm/mcp-server/tools/llmModelsPutOrgAutoModel.js.map +1 -1
  75. package/dist/esm/models/components/putorgautomodelrequest.d.ts +3 -3
  76. package/dist/esm/models/components/putorgautomodelrequest.d.ts.map +1 -1
  77. package/dist/esm/models/components/putorgautomodelrequest.js +22 -3
  78. package/dist/esm/models/components/putorgautomodelrequest.js.map +1 -1
  79. package/dist/esm/models/operations/addmodelcatalogorgaccess.d.ts +1 -1
  80. package/dist/esm/models/operations/addmodelcatalogorgaccess.d.ts.map +1 -1
  81. package/dist/esm/models/operations/addmodelcatalogorgaccess.js +3 -1
  82. package/dist/esm/models/operations/addmodelcatalogorgaccess.js.map +1 -1
  83. package/dist/esm/models/operations/clearorgprice.d.ts +1 -1
  84. package/dist/esm/models/operations/clearorgprice.d.ts.map +1 -1
  85. package/dist/esm/models/operations/clearorgprice.js +10 -1
  86. package/dist/esm/models/operations/clearorgprice.js.map +1 -1
  87. package/dist/esm/models/operations/listmodelcatalogorgaccess.d.ts +1 -1
  88. package/dist/esm/models/operations/listmodelcatalogorgaccess.d.ts.map +1 -1
  89. package/dist/esm/models/operations/listmodelcatalogorgaccess.js +10 -1
  90. package/dist/esm/models/operations/listmodelcatalogorgaccess.js.map +1 -1
  91. package/dist/esm/models/operations/listorgprices.d.ts +1 -1
  92. package/dist/esm/models/operations/listorgprices.d.ts.map +1 -1
  93. package/dist/esm/models/operations/listorgprices.js +10 -1
  94. package/dist/esm/models/operations/listorgprices.js.map +1 -1
  95. package/dist/esm/models/operations/replacemodelcatalogorgaccess.d.ts +1 -1
  96. package/dist/esm/models/operations/replacemodelcatalogorgaccess.d.ts.map +1 -1
  97. package/dist/esm/models/operations/replacemodelcatalogorgaccess.js +3 -1
  98. package/dist/esm/models/operations/replacemodelcatalogorgaccess.js.map +1 -1
  99. package/dist/esm/models/operations/setorgprice.d.ts +1 -1
  100. package/dist/esm/models/operations/setorgprice.d.ts.map +1 -1
  101. package/dist/esm/models/operations/setorgprice.js +3 -1
  102. package/dist/esm/models/operations/setorgprice.js.map +1 -1
  103. package/dist/esm/react-query/llmModelsPutOrgAutoModel.d.ts +1 -1
  104. package/dist/esm/react-query/llmModelsPutOrgAutoModel.js +1 -1
  105. package/dist/esm/sdk/models.d.ts +1 -1
  106. package/dist/esm/sdk/models.js +1 -1
  107. package/jsr.json +1 -1
  108. package/package.json +1 -1
  109. package/src/funcs/llmModelsAddCatalogOrgAccess.ts +2 -2
  110. package/src/funcs/llmModelsClearOrgPrice.ts +4 -2
  111. package/src/funcs/llmModelsListCatalogOrgAccess.ts +2 -2
  112. package/src/funcs/llmModelsListOrgPrices.ts +4 -2
  113. package/src/funcs/llmModelsPutOrgAutoModel.ts +1 -1
  114. package/src/funcs/llmModelsReplaceCatalogOrgAccess.ts +2 -2
  115. package/src/funcs/llmModelsSetOrgPrice.ts +4 -2
  116. package/src/lib/config.ts +2 -2
  117. package/src/mcp-server/mcp-server.ts +1 -1
  118. package/src/mcp-server/server.ts +1 -1
  119. package/src/mcp-server/tools/llmModelsPutOrgAutoModel.ts +1 -1
  120. package/src/models/components/putorgautomodelrequest.ts +25 -6
  121. package/src/models/operations/addmodelcatalogorgaccess.ts +4 -2
  122. package/src/models/operations/clearorgprice.ts +11 -2
  123. package/src/models/operations/listmodelcatalogorgaccess.ts +11 -2
  124. package/src/models/operations/listorgprices.ts +11 -2
  125. package/src/models/operations/replacemodelcatalogorgaccess.ts +4 -2
  126. package/src/models/operations/setorgprice.ts +4 -2
  127. package/src/react-query/llmModelsPutOrgAutoModel.ts +1 -1
  128. package/src/sdk/models.ts +1 -1
@@ -10,7 +10,7 @@ export type AddModelCatalogOrgAccessRequest = {
10
10
  export declare const AddModelCatalogOrgAccessRequest$inboundSchema: z.ZodType<AddModelCatalogOrgAccessRequest, z.ZodTypeDef, unknown>;
11
11
  /** @internal */
12
12
  export type AddModelCatalogOrgAccessRequest$Outbound = {
13
- orgId: string;
13
+ org_id: string;
14
14
  AccessMutationRequest: components.AccessMutationRequest$Outbound;
15
15
  };
16
16
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"addmodelcatalogorgaccess.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/addmodelcatalogorgaccess.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,+BAA+B,GAAG;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB,EAAE,UAAU,CAAC,qBAAqB,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,wCAAwC,GAAG;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB,EAAE,UAAU,CAAC,8BAA8B,CAAC;CAClE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,wCAAwC,EACxC,CAAC,CAAC,UAAU,EACZ,+BAA+B,CAQ/B,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,+BAA+B,EAAE,+BAA+B,GAC/D,MAAM,CAMR;AACD,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
1
+ {"version":3,"file":"addmodelcatalogorgaccess.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/addmodelcatalogorgaccess.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,+BAA+B,GAAG;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB,EAAE,UAAU,CAAC,qBAAqB,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,wCAAwC,GAAG;IACrD,MAAM,EAAE,MAAM,CAAC;IACf,qBAAqB,EAAE,UAAU,CAAC,8BAA8B,CAAC;CAClE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,wCAAwC,EACxC,CAAC,CAAC,UAAU,EACZ,+BAA+B,CAS/B,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,+BAA+B,EAAE,+BAA+B,GAC/D,MAAM,CAMR;AACD,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
@@ -7,10 +7,11 @@ import { safeParse } from "../../lib/schemas.js";
7
7
  import * as components from "../components/index.js";
8
8
  /** @internal */
9
9
  export const AddModelCatalogOrgAccessRequest$inboundSchema = z.object({
10
- orgId: z.string(),
10
+ org_id: z.string(),
11
11
  AccessMutationRequest: components.AccessMutationRequest$inboundSchema,
12
12
  }).transform((v) => {
13
13
  return remap$(v, {
14
+ "org_id": "orgId",
14
15
  "AccessMutationRequest": "accessMutationRequest",
15
16
  });
16
17
  });
@@ -20,6 +21,7 @@ export const AddModelCatalogOrgAccessRequest$outboundSchema = z.object({
20
21
  accessMutationRequest: components.AccessMutationRequest$outboundSchema,
21
22
  }).transform((v) => {
22
23
  return remap$(v, {
24
+ orgId: "org_id",
23
25
  accessMutationRequest: "AccessMutationRequest",
24
26
  });
25
27
  });
@@ -1 +1 @@
1
- {"version":3,"file":"addmodelcatalogorgaccess.js","sourceRoot":"","sources":["../../../../src/models/operations/addmodelcatalogorgaccess.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAQrD,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,qBAAqB,EAAE,UAAU,CAAC,mCAAmC;CACtE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,uBAAuB,EAAE,uBAAuB;KACjD,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,qBAAqB,EAAE,UAAU,CAAC,oCAAoC;CACvE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,qBAAqB,EAAE,uBAAuB;KAC/C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,qCAAqC,CACnD,+BAAgE;IAEhE,OAAO,IAAI,CAAC,SAAS,CACnB,8CAA8C,CAAC,KAAK,CAClD,+BAA+B,CAChC,CACF,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,uCAAuC,CACrD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"addmodelcatalogorgaccess.js","sourceRoot":"","sources":["../../../../src/models/operations/addmodelcatalogorgaccess.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,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ClearOrgPriceRequest = {
9
9
  export declare const ClearOrgPriceRequest$inboundSchema: z.ZodType<ClearOrgPriceRequest, z.ZodTypeDef, unknown>;
10
10
  /** @internal */
11
11
  export type ClearOrgPriceRequest$Outbound = {
12
- orgId: string;
12
+ org_id: string;
13
13
  model: string;
14
14
  };
15
15
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"clearorgprice.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/clearorgprice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAIpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AACD,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
1
+ {"version":3,"file":"clearorgprice.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/clearorgprice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAQpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AACD,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
@@ -2,16 +2,25 @@
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
  /** @internal */
7
8
  export const ClearOrgPriceRequest$inboundSchema = z.object({
8
- orgId: z.string(),
9
+ org_id: z.string(),
9
10
  model: z.string(),
11
+ }).transform((v) => {
12
+ return remap$(v, {
13
+ "org_id": "orgId",
14
+ });
10
15
  });
11
16
  /** @internal */
12
17
  export const ClearOrgPriceRequest$outboundSchema = z.object({
13
18
  orgId: z.string(),
14
19
  model: z.string(),
20
+ }).transform((v) => {
21
+ return remap$(v, {
22
+ orgId: "org_id",
23
+ });
15
24
  });
16
25
  export function clearOrgPriceRequestToJSON(clearOrgPriceRequest) {
17
26
  return JSON.stringify(ClearOrgPriceRequest$outboundSchema.parse(clearOrgPriceRequest));
@@ -1 +1 @@
1
- {"version":3,"file":"clearorgprice.js","sourceRoot":"","sources":["../../../../src/models/operations/clearorgprice.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AASjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAOH,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"clearorgprice.js","sourceRoot":"","sources":["../../../../src/models/operations/clearorgprice.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AASjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,QAAQ,EAAE,OAAO;KAClB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,KAAK,EAAE,QAAQ;KAChB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
@@ -8,7 +8,7 @@ export type ListModelCatalogOrgAccessRequest = {
8
8
  export declare const ListModelCatalogOrgAccessRequest$inboundSchema: z.ZodType<ListModelCatalogOrgAccessRequest, z.ZodTypeDef, unknown>;
9
9
  /** @internal */
10
10
  export type ListModelCatalogOrgAccessRequest$Outbound = {
11
- orgId: string;
11
+ org_id: string;
12
12
  };
13
13
  /** @internal */
14
14
  export declare const ListModelCatalogOrgAccessRequest$outboundSchema: z.ZodType<ListModelCatalogOrgAccessRequest$Outbound, z.ZodTypeDef, ListModelCatalogOrgAccessRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"listmodelcatalogorgaccess.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/listmodelcatalogorgaccess.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gCAAgC,GAAG;IAC7C,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,yCAAyC,GAAG;IACtD,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,yCAAyC,EACzC,CAAC,CAAC,UAAU,EACZ,gCAAgC,CAGhC,CAAC;AAEH,wBAAgB,sCAAsC,CACpD,gCAAgC,EAAE,gCAAgC,GACjE,MAAM,CAMR;AACD,wBAAgB,wCAAwC,CACtD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gCAAgC,EAAE,kBAAkB,CAAC,CAMvE"}
1
+ {"version":3,"file":"listmodelcatalogorgaccess.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/listmodelcatalogorgaccess.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gCAAgC,GAAG;IAC7C,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,yCAAyC,GAAG;IACtD,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,yCAAyC,EACzC,CAAC,CAAC,UAAU,EACZ,gCAAgC,CAOhC,CAAC;AAEH,wBAAgB,sCAAsC,CACpD,gCAAgC,EAAE,gCAAgC,GACjE,MAAM,CAMR;AACD,wBAAgB,wCAAwC,CACtD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gCAAgC,EAAE,kBAAkB,CAAC,CAMvE"}
@@ -2,14 +2,23 @@
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
  /** @internal */
7
8
  export const ListModelCatalogOrgAccessRequest$inboundSchema = z.object({
8
- orgId: z.string(),
9
+ org_id: z.string(),
10
+ }).transform((v) => {
11
+ return remap$(v, {
12
+ "org_id": "orgId",
13
+ });
9
14
  });
10
15
  /** @internal */
11
16
  export const ListModelCatalogOrgAccessRequest$outboundSchema = z.object({
12
17
  orgId: z.string(),
18
+ }).transform((v) => {
19
+ return remap$(v, {
20
+ orgId: "org_id",
21
+ });
13
22
  });
14
23
  export function listModelCatalogOrgAccessRequestToJSON(listModelCatalogOrgAccessRequest) {
15
24
  return JSON.stringify(ListModelCatalogOrgAccessRequest$outboundSchema.parse(listModelCatalogOrgAccessRequest));
@@ -1 +1 @@
1
- {"version":3,"file":"listmodelcatalogorgaccess.js","sourceRoot":"","sources":["../../../../src/models/operations/listmodelcatalogorgaccess.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAQjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAMH,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C,GAIxD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,MAAM,UAAU,sCAAsC,CACpD,gCAAkE;IAElE,OAAO,IAAI,CAAC,SAAS,CACnB,+CAA+C,CAAC,KAAK,CACnD,gCAAgC,CACjC,CACF,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,wCAAwC,CACtD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAA8C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,8DAA8D,CAC/D,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"listmodelcatalogorgaccess.js","sourceRoot":"","sources":["../../../../src/models/operations/listmodelcatalogorgaccess.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAQjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,QAAQ,EAAE,OAAO;KAClB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAMH,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C,GAIxD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,KAAK,EAAE,QAAQ;KAChB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,sCAAsC,CACpD,gCAAkE;IAElE,OAAO,IAAI,CAAC,SAAS,CACnB,+CAA+C,CAAC,KAAK,CACnD,gCAAgC,CACjC,CACF,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,wCAAwC,CACtD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAA8C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,8DAA8D,CAC/D,CAAC;AACJ,CAAC"}
@@ -9,7 +9,7 @@ export type ListOrgPricesRequest = {
9
9
  export declare const ListOrgPricesRequest$inboundSchema: z.ZodType<ListOrgPricesRequest, z.ZodTypeDef, unknown>;
10
10
  /** @internal */
11
11
  export type ListOrgPricesRequest$Outbound = {
12
- orgId: string;
12
+ org_id: string;
13
13
  model?: string | undefined;
14
14
  };
15
15
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"listorgprices.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/listorgprices.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MA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AoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAQpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AACD,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
@@ -2,16 +2,25 @@
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
  /** @internal */
7
8
  export const ListOrgPricesRequest$inboundSchema = z.object({
8
- orgId: z.string(),
9
+ org_id: z.string(),
9
10
  model: z.string().optional(),
11
+ }).transform((v) => {
12
+ return remap$(v, {
13
+ "org_id": "orgId",
14
+ });
10
15
  });
11
16
  /** @internal */
12
17
  export const ListOrgPricesRequest$outboundSchema = z.object({
13
18
  orgId: z.string(),
14
19
  model: z.string().optional(),
20
+ }).transform((v) => {
21
+ return remap$(v, {
22
+ orgId: "org_id",
23
+ });
15
24
  });
16
25
  export function listOrgPricesRequestToJSON(listOrgPricesRequest) {
17
26
  return JSON.stringify(ListOrgPricesRequest$outboundSchema.parse(listOrgPricesRequest));
@@ -1 +1 @@
1
- {"version":3,"file":"listorgprices.js","sourceRoot":"","sources":["../../../../src/models/operations/listorgprices.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;A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,EAAE;CAC7B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,QAAQ,EAAE,OAAO;KAClB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,KAAK,EAAE,QAAQ;KAChB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
@@ -10,7 +10,7 @@ export type ReplaceModelCatalogOrgAccessRequest = {
10
10
  export declare const ReplaceModelCatalogOrgAccessRequest$inboundSchema: z.ZodType<ReplaceModelCatalogOrgAccessRequest, z.ZodTypeDef, unknown>;
11
11
  /** @internal */
12
12
  export type ReplaceModelCatalogOrgAccessRequest$Outbound = {
13
- orgId: string;
13
+ org_id: string;
14
14
  AccessMutationRequest: components.AccessMutationRequest$Outbound;
15
15
  };
16
16
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"replacemodelcatalogorgaccess.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/replacemodelcatalogorgaccess.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,mCAAmC,GAAG;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB,EAAE,UAAU,CAAC,qBAAqB,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,4CAA4C,GAAG;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB,EAAE,UAAU,CAAC,8BAA8B,CAAC;CAClE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,mCAAmC,CAQnC,CAAC;AAEH,wBAAgB,yCAAyC,CACvD,mCAAmC,EAAE,mCAAmC,GACvE,MAAM,CAMR;AACD,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
1
+ {"version":3,"file":"replacemodelcatalogorgaccess.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/replacemodelcatalogorgaccess.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,mCAAmC,GAAG;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB,EAAE,UAAU,CAAC,qBAAqB,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,4CAA4C,GAAG;IACzD,MAAM,EAAE,MAAM,CAAC;IACf,qBAAqB,EAAE,UAAU,CAAC,8BAA8B,CAAC;CAClE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,mCAAmC,CASnC,CAAC;AAEH,wBAAgB,yCAAyC,CACvD,mCAAmC,EAAE,mCAAmC,GACvE,MAAM,CAMR;AACD,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
@@ -7,10 +7,11 @@ import { safeParse } from "../../lib/schemas.js";
7
7
  import * as components from "../components/index.js";
8
8
  /** @internal */
9
9
  export const ReplaceModelCatalogOrgAccessRequest$inboundSchema = z.object({
10
- orgId: z.string(),
10
+ org_id: z.string(),
11
11
  AccessMutationRequest: components.AccessMutationRequest$inboundSchema,
12
12
  }).transform((v) => {
13
13
  return remap$(v, {
14
+ "org_id": "orgId",
14
15
  "AccessMutationRequest": "accessMutationRequest",
15
16
  });
16
17
  });
@@ -20,6 +21,7 @@ export const ReplaceModelCatalogOrgAccessRequest$outboundSchema = z.object({
20
21
  accessMutationRequest: components.AccessMutationRequest$outboundSchema,
21
22
  }).transform((v) => {
22
23
  return remap$(v, {
24
+ orgId: "org_id",
23
25
  accessMutationRequest: "AccessMutationRequest",
24
26
  });
25
27
  });
@@ -1 +1 @@
1
- {"version":3,"file":"replacemodelcatalogorgaccess.js","sourceRoot":"","sources":["../../../../src/models/operations/replacemodelcatalogorgaccess.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAQrD,gBAAgB;AAChB,MAAM,CAAC,MAAM,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,qBAAqB,EAAE,UAAU,CAAC,mCAAmC;CACtE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,uBAAuB,EAAE,uBAAuB;KACjD,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AAChB,MAAM,CAAC,MAAM,kDAAkD,GAI3D,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,qBAAqB,EAAE,UAAU,CAAC,oCAAoC;CACvE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,qBAAqB,EAAE,uBAAuB;KAC/C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,yCAAyC,CACvD,mCAAwE;IAExE,OAAO,IAAI,CAAC,SAAS,CACnB,kDAAkD,CAAC,KAAK,CACtD,mCAAmC,CACpC,CACF,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,2CAA2C,CACzD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"replacemodelcatalogorgaccess.js","sourceRoot":"","sources":["../../../../src/models/operations/replacemodelcatalogorgaccess.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAQrD,gBAAgB;AAChB,MAAM,CAAC,MAAM,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,qBAAqB,EAAE,UAAU,CAAC,mCAAmC;CACtE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,QAAQ,EAAE,OAAO;QACjB,uBAAuB,EAAE,uBAAuB;KACjD,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AAChB,MAAM,CAAC,MAAM,kDAAkD,GAI3D,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,qBAAqB,EAAE,UAAU,CAAC,oCAAoC;CACvE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,KAAK,EAAE,QAAQ;QACf,qBAAqB,EAAE,uBAAuB;KAC/C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,yCAAyC,CACvD,mCAAwE;IAExE,OAAO,IAAI,CAAC,SAAS,CACnB,kDAAkD,CAAC,KAAK,CACtD,mCAAmC,CACpC,CACF,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,2CAA2C,CACzD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC"}
@@ -10,7 +10,7 @@ export type SetOrgPriceRequest = {
10
10
  export declare const SetOrgPriceRequest$inboundSchema: z.ZodType<SetOrgPriceRequest, z.ZodTypeDef, unknown>;
11
11
  /** @internal */
12
12
  export type SetOrgPriceRequest$Outbound = {
13
- orgId: string;
13
+ org_id: string;
14
14
  PutModelPriceBody: components.PutModelPriceBody$Outbound;
15
15
  };
16
16
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"setorgprice.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/setorgprice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,UAAU,CAAC,iBAAiB,CAAC;CACjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,UAAU,CAAC,0BAA0B,CAAC;CAC1D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAQlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AACD,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
1
+ {"version":3,"file":"setorgprice.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/setorgprice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,UAAU,CAAC,iBAAiB,CAAC;CACjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,UAAU,CAAC,0BAA0B,CAAC;CAC1D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CASlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AACD,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
@@ -7,10 +7,11 @@ import { safeParse } from "../../lib/schemas.js";
7
7
  import * as components from "../components/index.js";
8
8
  /** @internal */
9
9
  export const SetOrgPriceRequest$inboundSchema = z.object({
10
- orgId: z.string(),
10
+ org_id: z.string(),
11
11
  PutModelPriceBody: components.PutModelPriceBody$inboundSchema,
12
12
  }).transform((v) => {
13
13
  return remap$(v, {
14
+ "org_id": "orgId",
14
15
  "PutModelPriceBody": "putModelPriceBody",
15
16
  });
16
17
  });
@@ -20,6 +21,7 @@ export const SetOrgPriceRequest$outboundSchema = z.object({
20
21
  putModelPriceBody: components.PutModelPriceBody$outboundSchema,
21
22
  }).transform((v) => {
22
23
  return remap$(v, {
24
+ orgId: "org_id",
23
25
  putModelPriceBody: "PutModelPriceBody",
24
26
  });
25
27
  });
@@ -1 +1 @@
1
- {"version":3,"file":"setorgprice.js","sourceRoot":"","sources":["../../../../src/models/operations/setorgprice.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAQrD,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,iBAAiB,EAAE,UAAU,CAAC,+BAA+B;CAC9D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,mBAAmB,EAAE,mBAAmB;KACzC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AAChB,MAAM,CAAC,MAAM,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,iBAAiB,EAAE,UAAU,CAAC,gCAAgC;CAC/D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C;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,iBAAiB,EAAE,UAAU,CAAC,gCAAgC;CAC/D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,KAAK,EAAE,QAAQ;QACf,iBAAiB,EAAE,mBAAmB;KACvC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,iCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,0BAA0B,CACxC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,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 → modelId }` 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.
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 → modelId }` 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.
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();
@@ -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 → modelId }` 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.
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
  /**
@@ -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 → modelId }` 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.
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@meetkai/mka1",
5
- "version": "0.54.19",
5
+ "version": "0.54.21",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetkai/mka1",
3
- "version": "0.54.19",
3
+ "version": "0.54.21",
4
4
  "author": "Daniel Wilder <dauncy@gmail.com>",
5
5
  "homepage": "https://docs.mka1.com",
6
6
  "publishConfig": {
@@ -93,12 +93,12 @@ async function $do(
93
93
  });
94
94
 
95
95
  const pathParams = {
96
- orgId: encodeSimple("orgId", payload.orgId, {
96
+ org_id: encodeSimple("org_id", payload.org_id, {
97
97
  explode: false,
98
98
  charEncoding: "percent",
99
99
  }),
100
100
  };
101
- const path = pathToFunc("/api/v1/llm/models/catalog/orgs/{orgId}/access")(
101
+ const path = pathToFunc("/api/v1/llm/models/catalog/orgs/{org_id}/access")(
102
102
  pathParams,
103
103
  );
104
104
 
@@ -90,12 +90,14 @@ async function $do(
90
90
  const body = null;
91
91
 
92
92
  const pathParams = {
93
- orgId: encodeSimple("orgId", payload.orgId, {
93
+ org_id: encodeSimple("org_id", payload.org_id, {
94
94
  explode: false,
95
95
  charEncoding: "percent",
96
96
  }),
97
97
  };
98
- const path = pathToFunc("/api/v1/llm/models/pricing/org/{orgId}")(pathParams);
98
+ const path = pathToFunc("/api/v1/llm/models/pricing/org/{org_id}")(
99
+ pathParams,
100
+ );
99
101
 
100
102
  const query = encodeFormQuery({
101
103
  "model": payload.model,
@@ -91,12 +91,12 @@ async function $do(
91
91
  const body = null;
92
92
 
93
93
  const pathParams = {
94
- orgId: encodeSimple("orgId", payload.orgId, {
94
+ org_id: encodeSimple("org_id", payload.org_id, {
95
95
  explode: false,
96
96
  charEncoding: "percent",
97
97
  }),
98
98
  };
99
- const path = pathToFunc("/api/v1/llm/models/catalog/orgs/{orgId}/access")(
99
+ const path = pathToFunc("/api/v1/llm/models/catalog/orgs/{org_id}/access")(
100
100
  pathParams,
101
101
  );
102
102
 
@@ -90,12 +90,14 @@ async function $do(
90
90
  const body = null;
91
91
 
92
92
  const pathParams = {
93
- orgId: encodeSimple("orgId", payload.orgId, {
93
+ org_id: encodeSimple("org_id", payload.org_id, {
94
94
  explode: false,
95
95
  charEncoding: "percent",
96
96
  }),
97
97
  };
98
- const path = pathToFunc("/api/v1/llm/models/pricing/org/{orgId}")(pathParams);
98
+ const path = pathToFunc("/api/v1/llm/models/pricing/org/{org_id}")(
99
+ pathParams,
100
+ );
99
101
 
100
102
  const query = encodeFormQuery({
101
103
  "model": payload.model,
@@ -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 → modelId }` 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.
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
  */
@@ -95,12 +95,12 @@ async function $do(
95
95
  });
96
96
 
97
97
  const pathParams = {
98
- orgId: encodeSimple("orgId", payload.orgId, {
98
+ org_id: encodeSimple("org_id", payload.org_id, {
99
99
  explode: false,
100
100
  charEncoding: "percent",
101
101
  }),
102
102
  };
103
- const path = pathToFunc("/api/v1/llm/models/catalog/orgs/{orgId}/access")(
103
+ const path = pathToFunc("/api/v1/llm/models/catalog/orgs/{org_id}/access")(
104
104
  pathParams,
105
105
  );
106
106
 
@@ -90,12 +90,14 @@ async function $do(
90
90
  const body = encodeJSON("body", payload.PutModelPriceBody, { explode: true });
91
91
 
92
92
  const pathParams = {
93
- orgId: encodeSimple("orgId", payload.orgId, {
93
+ org_id: encodeSimple("org_id", payload.org_id, {
94
94
  explode: false,
95
95
  charEncoding: "percent",
96
96
  }),
97
97
  };
98
- const path = pathToFunc("/api/v1/llm/models/pricing/org/{orgId}")(pathParams);
98
+ const path = pathToFunc("/api/v1/llm/models/pricing/org/{org_id}")(
99
+ pathParams,
100
+ );
99
101
 
100
102
  const headers = new Headers(compactMap({
101
103
  "Content-Type": "application/json",
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.19",
68
+ sdkVersion: "0.54.21",
69
69
  genVersion: "2.935.1",
70
- userAgent: "speakeasy-sdk/typescript 0.54.19 2.935.1 1.1.0 @meetkai/mka1",
70
+ userAgent: "speakeasy-sdk/typescript 0.54.21 2.935.1 1.1.0 @meetkai/mka1",
71
71
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.54.19",
22
+ currentVersion: "0.54.21",
23
23
  },
24
24
  });
25
25
 
@@ -405,7 +405,7 @@ export function createMCPServer(deps: {
405
405
  }) {
406
406
  const server = new McpServer({
407
407
  name: "SDK",
408
- version: "0.54.19",
408
+ version: "0.54.21",
409
409
  });
410
410
 
411
411
  const client = new SDKCore({
@@ -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 → modelId }\` 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.`,
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";
@@ -53,14 +54,19 @@ export const PutOrgAutoModelRequest2$inboundSchema: z.ZodType<
53
54
  unknown
54
55
  > = z.object({
55
56
  policy: Policy$inboundSchema.default("balanced"),
56
- judgeModelId: z.string(),
57
- candidateModelIds: z.array(z.string()),
57
+ judge_model_id: z.string(),
58
+ candidate_model_ids: z.array(z.string()),
59
+ }).transform((v) => {
60
+ return remap$(v, {
61
+ "judge_model_id": "judgeModelId",
62
+ "candidate_model_ids": "candidateModelIds",
63
+ });
58
64
  });
59
65
  /** @internal */
60
66
  export type PutOrgAutoModelRequest2$Outbound = {
61
67
  policy: string;
62
- judgeModelId: string;
63
- candidateModelIds: Array<string>;
68
+ judge_model_id: string;
69
+ candidate_model_ids: Array<string>;
64
70
  };
65
71
 
66
72
  /** @internal */
@@ -72,6 +78,11 @@ export const PutOrgAutoModelRequest2$outboundSchema: z.ZodType<
72
78
  policy: Policy$outboundSchema.default("balanced"),
73
79
  judgeModelId: z.string(),
74
80
  candidateModelIds: z.array(z.string()),
81
+ }).transform((v) => {
82
+ return remap$(v, {
83
+ judgeModelId: "judge_model_id",
84
+ candidateModelIds: "candidate_model_ids",
85
+ });
75
86
  });
76
87
 
77
88
  export function putOrgAutoModelRequest2ToJSON(
@@ -97,11 +108,15 @@ export const PutOrgAutoModelRequest1$inboundSchema: z.ZodType<
97
108
  z.ZodTypeDef,
98
109
  unknown
99
110
  > = z.object({
100
- modelId: z.string(),
111
+ model_id: z.string(),
112
+ }).transform((v) => {
113
+ return remap$(v, {
114
+ "model_id": "modelId",
115
+ });
101
116
  });
102
117
  /** @internal */
103
118
  export type PutOrgAutoModelRequest1$Outbound = {
104
- modelId: string;
119
+ model_id: string;
105
120
  };
106
121
 
107
122
  /** @internal */
@@ -111,6 +126,10 @@ export const PutOrgAutoModelRequest1$outboundSchema: z.ZodType<
111
126
  PutOrgAutoModelRequest1
112
127
  > = z.object({
113
128
  modelId: z.string(),
129
+ }).transform((v) => {
130
+ return remap$(v, {
131
+ modelId: "model_id",
132
+ });
114
133
  });
115
134
 
116
135
  export function putOrgAutoModelRequest1ToJSON(