@orq-ai/node 4.16.0-rc.12 → 4.16.0-rc.14

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 (214) hide show
  1. package/README.md +1 -1
  2. package/funcs/apiKeysCreate.d.ts +3 -2
  3. package/funcs/apiKeysCreate.d.ts.map +1 -1
  4. package/funcs/apiKeysCreate.js +4 -3
  5. package/funcs/apiKeysCreate.js.map +1 -1
  6. package/funcs/apiKeysDelete.js +1 -1
  7. package/funcs/apiKeysDelete.js.map +1 -1
  8. package/funcs/apiKeysGet.d.ts +1 -1
  9. package/funcs/apiKeysGet.js +2 -6
  10. package/funcs/apiKeysGet.js.map +1 -1
  11. package/funcs/apiKeysList.d.ts +1 -1
  12. package/funcs/apiKeysList.js +4 -11
  13. package/funcs/apiKeysList.js.map +1 -1
  14. package/funcs/apiKeysListCapabilities.d.ts +3 -3
  15. package/funcs/apiKeysListCapabilities.d.ts.map +1 -1
  16. package/funcs/apiKeysListCapabilities.js +3 -3
  17. package/funcs/apiKeysListCapabilities.js.map +1 -1
  18. package/funcs/apiKeysUpdate.d.ts +1 -1
  19. package/funcs/apiKeysUpdate.js +3 -5
  20. package/funcs/apiKeysUpdate.js.map +1 -1
  21. package/funcs/routerClassifyCreate.d.ts +1 -1
  22. package/funcs/routerClassifyCreate.js +1 -1
  23. package/jsr.json +1 -1
  24. package/lib/config.d.ts +2 -2
  25. package/lib/config.js +2 -2
  26. package/models/components/classifyanswer.d.ts +2 -2
  27. package/models/components/constraints.d.ts +12 -0
  28. package/models/components/constraints.d.ts.map +1 -0
  29. package/models/components/{singleproject.js → constraints.js} +8 -8
  30. package/models/components/constraints.js.map +1 -0
  31. package/models/components/domain.d.ts +30 -31
  32. package/models/components/domain.d.ts.map +1 -1
  33. package/models/components/domain.js +20 -11
  34. package/models/components/domain.js.map +1 -1
  35. package/models/components/index.d.ts +2 -14
  36. package/models/components/index.d.ts.map +1 -1
  37. package/models/components/index.js +2 -14
  38. package/models/components/index.js.map +1 -1
  39. package/models/components/owner.d.ts +14 -0
  40. package/models/components/owner.d.ts.map +1 -0
  41. package/models/components/{userowner.js → owner.js} +8 -7
  42. package/models/components/owner.js.map +1 -0
  43. package/models/components/projectscope.d.ts +4 -13
  44. package/models/components/projectscope.d.ts.map +1 -1
  45. package/models/components/projectscope.js +7 -4
  46. package/models/components/projectscope.js.map +1 -1
  47. package/models/components/reasoningpart.js +1 -1
  48. package/models/components/wiki.d.ts +1 -1
  49. package/models/components/wiki.d.ts.map +1 -1
  50. package/models/components/wiki.js +2 -2
  51. package/models/components/wiki.js.map +1 -1
  52. package/models/operations/apikeycreate.d.ts +79 -0
  53. package/models/operations/apikeycreate.d.ts.map +1 -0
  54. package/models/{components/createapikeyrequest.js → operations/apikeycreate.js} +35 -21
  55. package/models/operations/apikeycreate.js.map +1 -0
  56. package/models/operations/apikeydelete.d.ts +1 -1
  57. package/models/operations/apikeyget.d.ts +1 -9
  58. package/models/operations/apikeyget.d.ts.map +1 -1
  59. package/models/operations/apikeyget.js +0 -2
  60. package/models/operations/apikeyget.js.map +1 -1
  61. package/models/operations/apikeylist.d.ts +18 -65
  62. package/models/operations/apikeylist.d.ts.map +1 -1
  63. package/models/operations/apikeylist.js +11 -15
  64. package/models/operations/apikeylist.js.map +1 -1
  65. package/models/operations/apikeylistcapabilities.d.ts +17 -0
  66. package/models/operations/apikeylistcapabilities.d.ts.map +1 -0
  67. package/models/{components/listcapabilitiesresponse.js → operations/apikeylistcapabilities.js} +8 -8
  68. package/models/operations/apikeylistcapabilities.js.map +1 -0
  69. package/models/operations/apikeyupdate.d.ts +73 -3
  70. package/models/operations/apikeyupdate.d.ts.map +1 -1
  71. package/models/operations/apikeyupdate.js +43 -3
  72. package/models/operations/apikeyupdate.js.map +1 -1
  73. package/models/operations/createclassify.d.ts +2 -2
  74. package/models/operations/createrouterresponse.d.ts +4 -4
  75. package/models/operations/createrouterresponse.d.ts.map +1 -1
  76. package/models/operations/createrouterresponse.js +5 -5
  77. package/models/operations/createrouterresponse.js.map +1 -1
  78. package/models/operations/createtool.js +4 -4
  79. package/models/operations/filelist.d.ts +3 -3
  80. package/models/operations/getalltools.js +4 -4
  81. package/models/operations/getv2humanevalsets.js +2 -2
  82. package/models/operations/getv2humanevalsetsid.js +2 -2
  83. package/models/operations/index.d.ts +2 -0
  84. package/models/operations/index.d.ts.map +1 -1
  85. package/models/operations/index.js +2 -0
  86. package/models/operations/index.js.map +1 -1
  87. package/models/operations/modelcataloglist.d.ts +2 -2
  88. package/models/operations/modelcataloglistofferings.d.ts +2 -2
  89. package/models/operations/patchv2humanevalsetsid.js +2 -2
  90. package/models/operations/postv2feedbackevaluation.js +4 -4
  91. package/models/operations/postv2humanevalsets.js +2 -2
  92. package/models/operations/retrievetool.js +4 -4
  93. package/models/operations/runagent.js +1 -1
  94. package/models/operations/streamrunagent.js +1 -1
  95. package/models/operations/updatetool.js +4 -4
  96. package/package.json +1 -1
  97. package/sdk/apikeys.d.ts +12 -12
  98. package/sdk/apikeys.d.ts.map +1 -1
  99. package/sdk/apikeys.js +12 -12
  100. package/sdk/apikeys.js.map +1 -1
  101. package/sdk/classify.d.ts +1 -1
  102. package/sdk/classify.js +1 -1
  103. package/sdk/sdk.d.ts +2 -2
  104. package/sdk/sdk.d.ts.map +1 -1
  105. package/sdk/sdk.js +3 -3
  106. package/sdk/sdk.js.map +1 -1
  107. package/src/funcs/apiKeysCreate.ts +6 -5
  108. package/src/funcs/apiKeysDelete.ts +1 -1
  109. package/src/funcs/apiKeysGet.ts +3 -8
  110. package/src/funcs/apiKeysList.ts +4 -11
  111. package/src/funcs/apiKeysListCapabilities.ts +6 -6
  112. package/src/funcs/apiKeysUpdate.ts +3 -5
  113. package/src/funcs/routerClassifyCreate.ts +1 -1
  114. package/src/lib/config.ts +2 -2
  115. package/src/models/components/classifyanswer.ts +2 -2
  116. package/src/models/components/constraints.ts +32 -0
  117. package/src/models/components/domain.ts +42 -39
  118. package/src/models/components/index.ts +2 -14
  119. package/src/models/components/owner.ts +35 -0
  120. package/src/models/components/projectscope.ts +11 -23
  121. package/src/models/components/reasoningpart.ts +1 -1
  122. package/src/models/components/wiki.ts +3 -3
  123. package/src/models/operations/apikeycreate.ts +116 -0
  124. package/src/models/operations/apikeydelete.ts +1 -1
  125. package/src/models/operations/apikeyget.ts +1 -11
  126. package/src/models/operations/apikeylist.ts +23 -78
  127. package/src/models/operations/apikeylistcapabilities.ts +39 -0
  128. package/src/models/operations/apikeyupdate.ts +107 -5
  129. package/src/models/operations/createclassify.ts +2 -2
  130. package/src/models/operations/createrouterresponse.ts +6 -6
  131. package/src/models/operations/createtool.ts +4 -4
  132. package/src/models/operations/filelist.ts +3 -3
  133. package/src/models/operations/getalltools.ts +4 -4
  134. package/src/models/operations/getv2humanevalsets.ts +2 -2
  135. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  136. package/src/models/operations/index.ts +2 -0
  137. package/src/models/operations/modelcataloglist.ts +2 -2
  138. package/src/models/operations/modelcataloglistofferings.ts +2 -2
  139. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  140. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  141. package/src/models/operations/postv2humanevalsets.ts +2 -2
  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/updatetool.ts +4 -4
  146. package/src/sdk/apikeys.ts +18 -18
  147. package/src/sdk/classify.ts +1 -1
  148. package/src/sdk/sdk.ts +5 -5
  149. package/models/components/allprojects.d.ts +0 -8
  150. package/models/components/allprojects.d.ts.map +0 -1
  151. package/models/components/allprojects.js +0 -47
  152. package/models/components/allprojects.js.map +0 -1
  153. package/models/components/apikeyowner.d.ts +0 -26
  154. package/models/components/apikeyowner.d.ts.map +0 -1
  155. package/models/components/apikeyowner.js +0 -57
  156. package/models/components/apikeyowner.js.map +0 -1
  157. package/models/components/apikeystatus.d.ts +0 -12
  158. package/models/components/apikeystatus.d.ts.map +0 -1
  159. package/models/components/apikeystatus.js +0 -49
  160. package/models/components/apikeystatus.js.map +0 -1
  161. package/models/components/createapikeyrequest.d.ts +0 -75
  162. package/models/components/createapikeyrequest.d.ts.map +0 -1
  163. package/models/components/createapikeyrequest.js.map +0 -1
  164. package/models/components/domaingroup.d.ts +0 -11
  165. package/models/components/domaingroup.d.ts.map +0 -1
  166. package/models/components/domaingroup.js +0 -49
  167. package/models/components/domaingroup.js.map +0 -1
  168. package/models/components/listcapabilitiesresponse.d.ts +0 -17
  169. package/models/components/listcapabilitiesresponse.d.ts.map +0 -1
  170. package/models/components/listcapabilitiesresponse.js.map +0 -1
  171. package/models/components/mcpaccess.d.ts +0 -67
  172. package/models/components/mcpaccess.d.ts.map +0 -1
  173. package/models/components/mcpaccess.js +0 -60
  174. package/models/components/mcpaccess.js.map +0 -1
  175. package/models/components/ownertype.d.ts +0 -11
  176. package/models/components/ownertype.d.ts.map +0 -1
  177. package/models/components/ownertype.js +0 -49
  178. package/models/components/ownertype.js.map +0 -1
  179. package/models/components/permissionmode.d.ts +0 -12
  180. package/models/components/permissionmode.d.ts.map +0 -1
  181. package/models/components/permissionmode.js +0 -49
  182. package/models/components/permissionmode.js.map +0 -1
  183. package/models/components/scopemode.d.ts +0 -10
  184. package/models/components/scopemode.d.ts.map +0 -1
  185. package/models/components/scopemode.js +0 -48
  186. package/models/components/scopemode.js.map +0 -1
  187. package/models/components/serviceaccountowner.d.ts +0 -8
  188. package/models/components/serviceaccountowner.d.ts.map +0 -1
  189. package/models/components/serviceaccountowner.js +0 -47
  190. package/models/components/serviceaccountowner.js.map +0 -1
  191. package/models/components/singleproject.d.ts +0 -15
  192. package/models/components/singleproject.d.ts.map +0 -1
  193. package/models/components/singleproject.js.map +0 -1
  194. package/models/components/updateapikeyrequest.d.ts +0 -68
  195. package/models/components/updateapikeyrequest.d.ts.map +0 -1
  196. package/models/components/updateapikeyrequest.js +0 -70
  197. package/models/components/updateapikeyrequest.js.map +0 -1
  198. package/models/components/userowner.d.ts +0 -15
  199. package/models/components/userowner.d.ts.map +0 -1
  200. package/models/components/userowner.js.map +0 -1
  201. package/src/models/components/allprojects.ts +0 -21
  202. package/src/models/components/apikeyowner.ts +0 -55
  203. package/src/models/components/apikeystatus.ts +0 -18
  204. package/src/models/components/createapikeyrequest.ts +0 -116
  205. package/src/models/components/domaingroup.ts +0 -17
  206. package/src/models/components/listcapabilitiesresponse.ts +0 -38
  207. package/src/models/components/mcpaccess.ts +0 -93
  208. package/src/models/components/ownertype.ts +0 -17
  209. package/src/models/components/permissionmode.ts +0 -19
  210. package/src/models/components/scopemode.ts +0 -16
  211. package/src/models/components/serviceaccountowner.ts +0 -25
  212. package/src/models/components/singleproject.ts +0 -35
  213. package/src/models/components/updateapikeyrequest.ts +0 -110
  214. package/src/models/components/userowner.ts +0 -35
@@ -0,0 +1,79 @@
1
+ import * as z from "zod/v3";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import * as components from "../components/index.js";
4
+ /**
5
+ * Permission preset; restricted keys hold only the domains granted in access.
6
+ */
7
+ export declare const PermissionMode: {
8
+ readonly All: "all";
9
+ readonly Restricted: "restricted";
10
+ readonly ReadOnly: "read_only";
11
+ };
12
+ /**
13
+ * Permission preset; restricted keys hold only the domains granted in access.
14
+ */
15
+ export type PermissionMode = ClosedEnum<typeof PermissionMode>;
16
+ /**
17
+ * Origin of the key; router keys are minted for the AI router.
18
+ */
19
+ export declare const ApiKeyCreateSource: {
20
+ readonly Workspace: "workspace";
21
+ readonly Router: "router";
22
+ };
23
+ /**
24
+ * Origin of the key; router keys are minted for the AI router.
25
+ */
26
+ export type ApiKeyCreateSource = ClosedEnum<typeof ApiKeyCreateSource>;
27
+ export type ApiKeyCreateRequestBody = {
28
+ /**
29
+ * Per-domain access level (none, read or write) for restricted keys; domain ids come from the capability catalog.
30
+ */
31
+ access?: {
32
+ [k: string]: string;
33
+ } | undefined;
34
+ constraints?: components.Constraints | undefined;
35
+ /**
36
+ * Legacy expiry as an RFC 3339 timestamp; prefer constraints.expires_at.
37
+ */
38
+ expiration?: Date | undefined;
39
+ /**
40
+ * Display name of the key.
41
+ */
42
+ name: string;
43
+ owner?: components.Owner | undefined;
44
+ /**
45
+ * Permission preset; restricted keys hold only the domains granted in access.
46
+ */
47
+ permissionMode?: PermissionMode | undefined;
48
+ projectScope?: components.ProjectScope | undefined;
49
+ /**
50
+ * Legacy single-project binding; prefer project_scope.
51
+ */
52
+ projects?: Array<string> | null | undefined;
53
+ /**
54
+ * Origin of the key; router keys are minted for the AI router.
55
+ */
56
+ source?: ApiKeyCreateSource | undefined;
57
+ };
58
+ /** @internal */
59
+ export declare const PermissionMode$outboundSchema: z.ZodNativeEnum<typeof PermissionMode>;
60
+ /** @internal */
61
+ export declare const ApiKeyCreateSource$outboundSchema: z.ZodNativeEnum<typeof ApiKeyCreateSource>;
62
+ /** @internal */
63
+ export type ApiKeyCreateRequestBody$Outbound = {
64
+ access?: {
65
+ [k: string]: string;
66
+ } | undefined;
67
+ constraints?: components.Constraints$Outbound | undefined;
68
+ expiration?: string | undefined;
69
+ name: string;
70
+ owner?: components.Owner$Outbound | undefined;
71
+ permission_mode?: string | undefined;
72
+ project_scope?: components.ProjectScope$Outbound | undefined;
73
+ projects?: Array<string> | null | undefined;
74
+ source?: string | undefined;
75
+ };
76
+ /** @internal */
77
+ export declare const ApiKeyCreateRequestBody$outboundSchema: z.ZodType<ApiKeyCreateRequestBody$Outbound, z.ZodTypeDef, ApiKeyCreateRequestBody>;
78
+ export declare function apiKeyCreateRequestBodyToJSON(apiKeyCreateRequestBody: ApiKeyCreateRequestBody): string;
79
+ //# sourceMappingURL=apikeycreate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apikeycreate.d.ts","sourceRoot":"","sources":["../../src/models/operations/apikeycreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MA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AAM,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC7C,WAAW,CAAC,EAAE,UAAU,CAAC,oBAAoB,GAAG,SAAS,CAAC;IAC1D,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,UAAU,CAAC,cAAc,GAAG,SAAS,CAAC;IAC9C,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,aAAa,CAAC,EAAE,UAAU,CAAC,qBAAqB,GAAG,SAAS,CAAC;IAC7D,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CAgBvB,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR"}
@@ -36,34 +36,48 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.CreateApiKeyRequest$outboundSchema = void 0;
40
- exports.createApiKeyRequestToJSON = createApiKeyRequestToJSON;
39
+ exports.ApiKeyCreateRequestBody$outboundSchema = exports.ApiKeyCreateSource$outboundSchema = exports.PermissionMode$outboundSchema = exports.ApiKeyCreateSource = exports.PermissionMode = void 0;
40
+ exports.apiKeyCreateRequestBodyToJSON = apiKeyCreateRequestBodyToJSON;
41
41
  const z = __importStar(require("zod/v3"));
42
42
  const primitives_js_1 = require("../../lib/primitives.js");
43
- const accesslevel_js_1 = require("./accesslevel.js");
44
- const apikeyowner_js_1 = require("./apikeyowner.js");
45
- const mcpaccess_js_1 = require("./mcpaccess.js");
46
- const permissionmode_js_1 = require("./permissionmode.js");
47
- const projectscope_js_1 = require("./projectscope.js");
43
+ const components = __importStar(require("../components/index.js"));
44
+ /**
45
+ * Permission preset; restricted keys hold only the domains granted in access.
46
+ */
47
+ exports.PermissionMode = {
48
+ All: "all",
49
+ Restricted: "restricted",
50
+ ReadOnly: "read_only",
51
+ };
52
+ /**
53
+ * Origin of the key; router keys are minted for the AI router.
54
+ */
55
+ exports.ApiKeyCreateSource = {
56
+ Workspace: "workspace",
57
+ Router: "router",
58
+ };
59
+ /** @internal */
60
+ exports.PermissionMode$outboundSchema = z.nativeEnum(exports.PermissionMode);
48
61
  /** @internal */
49
- exports.CreateApiKeyRequest$outboundSchema = z.object({
62
+ exports.ApiKeyCreateSource$outboundSchema = z.nativeEnum(exports.ApiKeyCreateSource);
63
+ /** @internal */
64
+ exports.ApiKeyCreateRequestBody$outboundSchema = z.object({
65
+ access: z.record(z.string()).optional(),
66
+ constraints: components.Constraints$outboundSchema.optional(),
67
+ expiration: z.date().transform(v => v.toISOString()).optional(),
50
68
  name: z.string(),
51
- owner: apikeyowner_js_1.ApiKeyOwner$outboundSchema.optional(),
52
- projectScope: projectscope_js_1.ProjectScope$outboundSchema.optional(),
53
- permissionMode: permissionmode_js_1.PermissionMode$outboundSchema,
54
- access: z.record(accesslevel_js_1.AccessLevel$outboundSchema).optional(),
55
- expiresAt: z.date().transform(v => v.toISOString()).optional(),
56
- mcpAccess: mcpaccess_js_1.McpAccess$outboundSchema.optional(),
57
- labels: z.record(z.string()).optional(),
69
+ owner: components.Owner$outboundSchema.optional(),
70
+ permissionMode: exports.PermissionMode$outboundSchema.optional(),
71
+ projectScope: components.ProjectScope$outboundSchema.optional(),
72
+ projects: z.nullable(z.array(z.string())).optional(),
73
+ source: exports.ApiKeyCreateSource$outboundSchema.optional(),
58
74
  }).transform((v) => {
59
75
  return (0, primitives_js_1.remap)(v, {
60
- projectScope: "project_scope",
61
76
  permissionMode: "permission_mode",
62
- expiresAt: "expires_at",
63
- mcpAccess: "mcp_access",
77
+ projectScope: "project_scope",
64
78
  });
65
79
  });
66
- function createApiKeyRequestToJSON(createApiKeyRequest) {
67
- return JSON.stringify(exports.CreateApiKeyRequest$outboundSchema.parse(createApiKeyRequest));
80
+ function apiKeyCreateRequestBodyToJSON(apiKeyCreateRequestBody) {
81
+ return JSON.stringify(exports.ApiKeyCreateRequestBody$outboundSchema.parse(apiKeyCreateRequestBody));
68
82
  }
69
- //# sourceMappingURL=createapikeyrequest.js.map
83
+ //# sourceMappingURL=apikeycreate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apikeycreate.js","sourceRoot":"","sources":["../../src/models/operations/apikeycreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2GH,sEAMC;AA/GD,0CAA4B;AAC5B,2DAA0D;AAE1D,mEAAqD;AAErD;;GAEG;AACU,QAAA,cAAc,GAAG;IAC5B,GAAG,EAAE,KAAK;IACV,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,WAAW;CACb,CAAC;AAMX;;GAEG;AACU,QAAA,kBAAkB,GAAG;IAChC,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAC;AAoCX,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,CAAC,CAAC,UAAU,CAAC,sBAAc,CAAC,CAAC;AAEjC,gBAAgB;AACH,QAAA,iCAAiC,GAE1C,CAAC,CAAC,UAAU,CAAC,0BAAkB,CAAC,CAAC;AAerC,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvC,WAAW,EAAE,UAAU,CAAC,0BAA0B,CAAC,QAAQ,EAAE;IAC7D,UAAU,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC/D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,UAAU,CAAC,oBAAoB,CAAC,QAAQ,EAAE;IACjD,cAAc,EAAE,qCAA6B,CAAC,QAAQ,EAAE;IACxD,YAAY,EAAE,UAAU,CAAC,2BAA2B,CAAC,QAAQ,EAAE;IAC/D,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IACpD,MAAM,EAAE,yCAAiC,CAAC,QAAQ,EAAE;CACrD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,YAAY,EAAE,eAAe;KAC9B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import * as z from "zod/v3";
2
2
  export type ApiKeyDeleteRequest = {
3
3
  /**
4
- * API key id to delete.
4
+ * Unique identifier of the API key.
5
5
  */
6
6
  apiKeyId: string;
7
7
  };
@@ -1,21 +1,13 @@
1
1
  import * as z from "zod/v3";
2
2
  export type ApiKeyGetRequest = {
3
3
  /**
4
- * API key id to retrieve (e.g. `01H...`).
4
+ * Unique identifier of the API key.
5
5
  */
6
6
  apiKeyId: string;
7
- /**
8
- * When true, embed the api-key-scoped budget (config and limits only,
9
- *
10
- * @remarks
11
- * no live usage) on the returned record.
12
- */
13
- includeBudget?: boolean | undefined;
14
7
  };
15
8
  /** @internal */
16
9
  export type ApiKeyGetRequest$Outbound = {
17
10
  api_key_id: string;
18
- include_budget?: boolean | undefined;
19
11
  };
20
12
  /** @internal */
21
13
  export declare const ApiKeyGetRequest$outboundSchema: z.ZodType<ApiKeyGetRequest$Outbound, z.ZodTypeDef, ApiKeyGetRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"apikeyget.d.ts","sourceRoot":"","sources":["../../src/models/operations/apikeyget.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,yBAAyB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,gBAAgB,CAShB,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,gBAAgB,EAAE,gBAAgB,GACjC,MAAM,CAIR"}
1
+ {"version":3,"file":"apikeyget.d.ts","sourceRoot":"","sources":["../../src/models/operations/apikeyget.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,yBAAyB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,gBAAgB,CAOhB,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,gBAAgB,EAAE,gBAAgB,GACjC,MAAM,CAIR"}
@@ -43,11 +43,9 @@ const primitives_js_1 = require("../../lib/primitives.js");
43
43
  /** @internal */
44
44
  exports.ApiKeyGetRequest$outboundSchema = z.object({
45
45
  apiKeyId: z.string(),
46
- includeBudget: z.boolean().optional(),
47
46
  }).transform((v) => {
48
47
  return (0, primitives_js_1.remap)(v, {
49
48
  apiKeyId: "api_key_id",
50
- includeBudget: "include_budget",
51
49
  });
52
50
  });
53
51
  function apiKeyGetRequestToJSON(apiKeyGetRequest) {
@@ -1 +1 @@
1
- {"version":3,"file":"apikeyget.js","sourceRoot":"","sources":["../../src/models/operations/apikeyget.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCH,wDAMC;AA5CD,0CAA4B;AAC5B,2DAA0D;AAsB1D,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,aAAa,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,YAAY;QACtB,aAAa,EAAE,gBAAgB;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,uCAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"apikeyget.js","sourceRoot":"","sources":["../../src/models/operations/apikeyget.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BH,wDAMC;AAlCD,0CAA4B;AAC5B,2DAA0D;AAc1D,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,YAAY;KACvB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,uCAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC"}
@@ -1,79 +1,32 @@
1
1
  import * as z from "zod/v3";
2
- import * as components from "../components/index.js";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ /**
4
+ * Only return keys of this source.
5
+ */
6
+ export declare const QueryParamSource: {
7
+ readonly Workspace: "workspace";
8
+ readonly Router: "router";
9
+ };
10
+ /**
11
+ * Only return keys of this source.
12
+ */
13
+ export type QueryParamSource = ClosedEnum<typeof QueryParamSource>;
3
14
  export type ApiKeyListRequest = {
4
15
  /**
5
- * Page size, 1–200. Unset uses the server default (25).
6
- */
7
- limit?: number | undefined;
8
- /**
9
- * Cursor for forward pagination. Set to the `api_key_id` of the last
10
- *
11
- * @remarks
12
- * item from the previous page.
13
- */
14
- startingAfter?: string | undefined;
15
- /**
16
- * Cursor for backward pagination. Set to the `api_key_id` of the
17
- *
18
- * @remarks
19
- * first item from the previous page.
20
- */
21
- endingBefore?: string | undefined;
22
- /**
23
- * Optional filter: only return keys belonging to this project. When
24
- *
25
- * @remarks
26
- * omitted, returns workspace-scoped and any single-project keys.
16
+ * Only return keys bound to this project. When omitted, every key visible to the caller is returned.
27
17
  */
28
18
  projectId?: string | undefined;
29
19
  /**
30
- * Optional filter: only return keys with this status.
31
- */
32
- status?: components.ApiKeyStatus | undefined;
33
- /**
34
- * Optional case-insensitive substring match against the api-key
35
- *
36
- * @remarks
37
- * name. Empty means no name filter.
38
- */
39
- search?: string | undefined;
40
- /**
41
- * Optional filter: only return keys whose `owner.kind` matches
42
- *
43
- * @remarks
44
- * one of the requested types. Combines the user / service-account
45
- * oneof cases into a single repeated enum so the wire stays flat
46
- * and multi-select filters travel as a single field. Empty means
47
- * no owner-type filter.
48
- */
49
- ownerType?: Array<components.OwnerType> | undefined;
50
- /**
51
- * Optional filter: only return keys whose permission mode is one
52
- *
53
- * @remarks
54
- * of the listed presets. Empty means no permission-mode filter.
55
- */
56
- permissionMode?: Array<components.PermissionMode> | undefined;
57
- /**
58
- * When true, embed each key's api-key-scoped budget (config and limits
59
- *
60
- * @remarks
61
- * only, no live usage) on the returned records. Adds one budget lookup
62
- * for the page; omit to skip it.
20
+ * Only return keys of this source.
63
21
  */
64
- includeBudget?: boolean | undefined;
22
+ source?: QueryParamSource | undefined;
65
23
  };
66
24
  /** @internal */
25
+ export declare const QueryParamSource$outboundSchema: z.ZodNativeEnum<typeof QueryParamSource>;
26
+ /** @internal */
67
27
  export type ApiKeyListRequest$Outbound = {
68
- limit?: number | undefined;
69
- starting_after?: string | undefined;
70
- ending_before?: string | undefined;
71
28
  project_id?: string | undefined;
72
- status?: string | undefined;
73
- search?: string | undefined;
74
- owner_type?: Array<string> | undefined;
75
- permission_mode?: Array<string> | undefined;
76
- include_budget?: boolean | undefined;
29
+ source?: string | undefined;
77
30
  };
78
31
  /** @internal */
79
32
  export declare const ApiKeyListRequest$outboundSchema: z.ZodType<ApiKeyListRequest$Outbound, z.ZodTypeDef, ApiKeyListRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"apikeylist.d.ts","sourceRoot":"","sources":["../../src/models/operations/apikeylist.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;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C,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAoBjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR"}
1
+ {"version":3,"file":"apikeylist.d.ts","sourceRoot":"","sources":["../../src/models/operations/apikeylist.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;CAGnB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,gBAAgB,CACS,CAAC;AAEnC,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAQjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR"}
@@ -36,30 +36,26 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ApiKeyListRequest$outboundSchema = void 0;
39
+ exports.ApiKeyListRequest$outboundSchema = exports.QueryParamSource$outboundSchema = exports.QueryParamSource = void 0;
40
40
  exports.apiKeyListRequestToJSON = apiKeyListRequestToJSON;
41
41
  const z = __importStar(require("zod/v3"));
42
42
  const primitives_js_1 = require("../../lib/primitives.js");
43
- const components = __importStar(require("../components/index.js"));
43
+ /**
44
+ * Only return keys of this source.
45
+ */
46
+ exports.QueryParamSource = {
47
+ Workspace: "workspace",
48
+ Router: "router",
49
+ };
50
+ /** @internal */
51
+ exports.QueryParamSource$outboundSchema = z.nativeEnum(exports.QueryParamSource);
44
52
  /** @internal */
45
53
  exports.ApiKeyListRequest$outboundSchema = z.object({
46
- limit: z.number().int().optional(),
47
- startingAfter: z.string().optional(),
48
- endingBefore: z.string().optional(),
49
54
  projectId: z.string().optional(),
50
- status: components.ApiKeyStatus$outboundSchema.optional(),
51
- search: z.string().optional(),
52
- ownerType: z.array(components.OwnerType$outboundSchema).optional(),
53
- permissionMode: z.array(components.PermissionMode$outboundSchema).optional(),
54
- includeBudget: z.boolean().optional(),
55
+ source: exports.QueryParamSource$outboundSchema.optional(),
55
56
  }).transform((v) => {
56
57
  return (0, primitives_js_1.remap)(v, {
57
- startingAfter: "starting_after",
58
- endingBefore: "ending_before",
59
58
  projectId: "project_id",
60
- ownerType: "owner_type",
61
- permissionMode: "permission_mode",
62
- includeBudget: "include_budget",
63
59
  });
64
60
  });
65
61
  function apiKeyListRequestToJSON(apiKeyListRequest) {
@@ -1 +1 @@
1
- {"version":3,"file":"apikeylist.js","sourceRoot":"","sources":["../../src/models/operations/apikeylist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6GH,0DAMC;AAjHD,0CAA4B;AAC5B,2DAA0D;AAC1D,mEAAqD;AA+ErD,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GA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AAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAC;AAiBX,gBAAgB;AACH,QAAA,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,wBAAgB,CAAC,CAAC;AAQnC,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,MAAM,EAAE,uCAA+B,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC"}
@@ -0,0 +1,17 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import * as components from "../components/index.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ /**
6
+ * The capability catalog
7
+ */
8
+ export type ApiKeyListCapabilitiesResponseBody = {
9
+ /**
10
+ * Full capability catalog. Order is stable: workspace-admin first, then platform, then gateway.
11
+ */
12
+ domains: Array<components.Domain> | null;
13
+ };
14
+ /** @internal */
15
+ export declare const ApiKeyListCapabilitiesResponseBody$inboundSchema: z.ZodType<ApiKeyListCapabilitiesResponseBody, z.ZodTypeDef, unknown>;
16
+ export declare function apiKeyListCapabilitiesResponseBodyFromJSON(jsonString: string): SafeParseResult<ApiKeyListCapabilitiesResponseBody, SDKValidationError>;
17
+ //# sourceMappingURL=apikeylistcapabilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apikeylistcapabilities.d.ts","sourceRoot":"","sources":["../../src/models/operations/apikeylistcapabilities.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,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;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,0CAA0C,CACxD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kCAAkC,EAAE,kBAAkB,CAAC,CAOzE"}
@@ -36,16 +36,16 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ListCapabilitiesResponse$inboundSchema = void 0;
40
- exports.listCapabilitiesResponseFromJSON = listCapabilitiesResponseFromJSON;
39
+ exports.ApiKeyListCapabilitiesResponseBody$inboundSchema = void 0;
40
+ exports.apiKeyListCapabilitiesResponseBodyFromJSON = apiKeyListCapabilitiesResponseBodyFromJSON;
41
41
  const z = __importStar(require("zod/v3"));
42
42
  const schemas_js_1 = require("../../lib/schemas.js");
43
- const domain_js_1 = require("./domain.js");
43
+ const components = __importStar(require("../components/index.js"));
44
44
  /** @internal */
45
- exports.ListCapabilitiesResponse$inboundSchema = z.object({
46
- domains: z.array(domain_js_1.Domain$inboundSchema),
45
+ exports.ApiKeyListCapabilitiesResponseBody$inboundSchema = z.object({
46
+ domains: z.nullable(z.array(components.Domain$inboundSchema)),
47
47
  });
48
- function listCapabilitiesResponseFromJSON(jsonString) {
49
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListCapabilitiesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListCapabilitiesResponse' from JSON`);
48
+ function apiKeyListCapabilitiesResponseBodyFromJSON(jsonString) {
49
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ApiKeyListCapabilitiesResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ApiKeyListCapabilitiesResponseBody' from JSON`);
50
50
  }
51
- //# sourceMappingURL=listcapabilitiesresponse.js.map
51
+ //# sourceMappingURL=apikeylistcapabilities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apikeylistcapabilities.js","sourceRoot":"","sources":["../../src/models/operations/apikeylistcapabilities.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BH,gGASC;AAlCD,0CAA4B;AAC5B,qDAAiD;AAEjD,mEAAqD;AAarD,gBAAgB;AACH,QAAA,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;CAC9D,CAAC,CAAC;AAEH,SAAgB,0CAA0C,CACxD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wDAAgD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,gEAAgE,CACjE,CAAC;AACJ,CAAC"}
@@ -1,16 +1,86 @@
1
1
  import * as z from "zod/v3";
2
+ import { ClosedEnum } from "../../types/enums.js";
2
3
  import * as components from "../components/index.js";
4
+ /**
5
+ * Permission preset; a restricted key must keep at least one granted domain.
6
+ */
7
+ export declare const ApiKeyUpdatePermissionMode: {
8
+ readonly All: "all";
9
+ readonly Restricted: "restricted";
10
+ readonly ReadOnly: "read_only";
11
+ };
12
+ /**
13
+ * Permission preset; a restricted key must keep at least one granted domain.
14
+ */
15
+ export type ApiKeyUpdatePermissionMode = ClosedEnum<typeof ApiKeyUpdatePermissionMode>;
16
+ /**
17
+ * Lifecycle status; revoked is terminal.
18
+ */
19
+ export declare const Status: {
20
+ readonly Active: "active";
21
+ readonly Disabled: "disabled";
22
+ readonly Revoked: "revoked";
23
+ };
24
+ /**
25
+ * Lifecycle status; revoked is terminal.
26
+ */
27
+ export type Status = ClosedEnum<typeof Status>;
28
+ export type ApiKeyUpdateRequestBody = {
29
+ /**
30
+ * Per-domain access level (none, read or write) for restricted keys.
31
+ */
32
+ access?: {
33
+ [k: string]: string;
34
+ } | undefined;
35
+ /**
36
+ * Legacy toggle mirrored onto status: false disables, true re-enables.
37
+ */
38
+ active?: boolean | undefined;
39
+ constraints?: components.Constraints | undefined;
40
+ /**
41
+ * New display name.
42
+ */
43
+ name?: string | undefined;
44
+ /**
45
+ * Permission preset; a restricted key must keep at least one granted domain.
46
+ */
47
+ permissionMode?: ApiKeyUpdatePermissionMode | undefined;
48
+ projectScope?: components.ProjectScope | undefined;
49
+ /**
50
+ * Lifecycle status; revoked is terminal.
51
+ */
52
+ status?: Status | undefined;
53
+ };
3
54
  export type ApiKeyUpdateRequest = {
4
55
  /**
5
- * API key id to update.
56
+ * Unique identifier of the API key.
6
57
  */
7
58
  apiKeyId: string;
8
- updateApiKeyRequest: components.UpdateApiKeyRequest;
59
+ requestBody: ApiKeyUpdateRequestBody;
9
60
  };
10
61
  /** @internal */
62
+ export declare const ApiKeyUpdatePermissionMode$outboundSchema: z.ZodNativeEnum<typeof ApiKeyUpdatePermissionMode>;
63
+ /** @internal */
64
+ export declare const Status$outboundSchema: z.ZodNativeEnum<typeof Status>;
65
+ /** @internal */
66
+ export type ApiKeyUpdateRequestBody$Outbound = {
67
+ access?: {
68
+ [k: string]: string;
69
+ } | undefined;
70
+ active?: boolean | undefined;
71
+ constraints?: components.Constraints$Outbound | undefined;
72
+ name?: string | undefined;
73
+ permission_mode?: string | undefined;
74
+ project_scope?: components.ProjectScope$Outbound | undefined;
75
+ status?: string | undefined;
76
+ };
77
+ /** @internal */
78
+ export declare const ApiKeyUpdateRequestBody$outboundSchema: z.ZodType<ApiKeyUpdateRequestBody$Outbound, z.ZodTypeDef, ApiKeyUpdateRequestBody>;
79
+ export declare function apiKeyUpdateRequestBodyToJSON(apiKeyUpdateRequestBody: ApiKeyUpdateRequestBody): string;
80
+ /** @internal */
11
81
  export type ApiKeyUpdateRequest$Outbound = {
12
82
  api_key_id: string;
13
- UpdateApiKeyRequest: components.UpdateApiKeyRequest$Outbound;
83
+ RequestBody: ApiKeyUpdateRequestBody$Outbound;
14
84
  };
15
85
  /** @internal */
16
86
  export declare const ApiKeyUpdateRequest$outboundSchema: z.ZodType<ApiKeyUpdateRequest$Outbound, z.ZodTypeDef, ApiKeyUpdateRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"apikeyupdate.d.ts","sourceRoot":"","sources":["../../src/models/operations/apikeyupdate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,mBAAmB,EAAE,UAAU,CAAC,mBAAmB,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,UAAU,CAAC,4BAA4B,CAAC;CAC9D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CASnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR"}
1
+ {"version":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AgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,MAAM,CAC5C,CAAC;AAEtB,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,MAAM,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC7C,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE,UAAU,CAAC,oBAAoB,GAAG,SAAS,CAAC;IAC1D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,aAAa,CAAC,EAAE,UAAU,CAAC,qBAAqB,GAAG,SAAS,CAAC;IAC7D,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CAcvB,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,gCAAgC,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CASnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR"}
@@ -36,19 +36,59 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ApiKeyUpdateRequest$outboundSchema = void 0;
39
+ exports.ApiKeyUpdateRequest$outboundSchema = exports.ApiKeyUpdateRequestBody$outboundSchema = exports.Status$outboundSchema = exports.ApiKeyUpdatePermissionMode$outboundSchema = exports.Status = exports.ApiKeyUpdatePermissionMode = void 0;
40
+ exports.apiKeyUpdateRequestBodyToJSON = apiKeyUpdateRequestBodyToJSON;
40
41
  exports.apiKeyUpdateRequestToJSON = apiKeyUpdateRequestToJSON;
41
42
  const z = __importStar(require("zod/v3"));
42
43
  const primitives_js_1 = require("../../lib/primitives.js");
43
44
  const components = __importStar(require("../components/index.js"));
45
+ /**
46
+ * Permission preset; a restricted key must keep at least one granted domain.
47
+ */
48
+ exports.ApiKeyUpdatePermissionMode = {
49
+ All: "all",
50
+ Restricted: "restricted",
51
+ ReadOnly: "read_only",
52
+ };
53
+ /**
54
+ * Lifecycle status; revoked is terminal.
55
+ */
56
+ exports.Status = {
57
+ Active: "active",
58
+ Disabled: "disabled",
59
+ Revoked: "revoked",
60
+ };
61
+ /** @internal */
62
+ exports.ApiKeyUpdatePermissionMode$outboundSchema = z.nativeEnum(exports.ApiKeyUpdatePermissionMode);
63
+ /** @internal */
64
+ exports.Status$outboundSchema = z
65
+ .nativeEnum(exports.Status);
66
+ /** @internal */
67
+ exports.ApiKeyUpdateRequestBody$outboundSchema = z.object({
68
+ access: z.record(z.string()).optional(),
69
+ active: z.boolean().optional(),
70
+ constraints: components.Constraints$outboundSchema.optional(),
71
+ name: z.string().optional(),
72
+ permissionMode: exports.ApiKeyUpdatePermissionMode$outboundSchema.optional(),
73
+ projectScope: components.ProjectScope$outboundSchema.optional(),
74
+ status: exports.Status$outboundSchema.optional(),
75
+ }).transform((v) => {
76
+ return (0, primitives_js_1.remap)(v, {
77
+ permissionMode: "permission_mode",
78
+ projectScope: "project_scope",
79
+ });
80
+ });
81
+ function apiKeyUpdateRequestBodyToJSON(apiKeyUpdateRequestBody) {
82
+ return JSON.stringify(exports.ApiKeyUpdateRequestBody$outboundSchema.parse(apiKeyUpdateRequestBody));
83
+ }
44
84
  /** @internal */
45
85
  exports.ApiKeyUpdateRequest$outboundSchema = z.object({
46
86
  apiKeyId: z.string(),
47
- updateApiKeyRequest: components.UpdateApiKeyRequest$outboundSchema,
87
+ requestBody: z.lazy(() => exports.ApiKeyUpdateRequestBody$outboundSchema),
48
88
  }).transform((v) => {
49
89
  return (0, primitives_js_1.remap)(v, {
50
90
  apiKeyId: "api_key_id",
51
- updateApiKeyRequest: "UpdateApiKeyRequest",
91
+ requestBody: "RequestBody",
52
92
  });
53
93
  });
54
94
  function apiKeyUpdateRequestToJSON(apiKeyUpdateRequest) {
@@ -1 +1 @@
1
- {"version":3,"file":"apikeyupdate.js","sourceRoot":"","sources":["../../src/models/operations/apikeyupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCH,8DAMC;AAvCD,0CAA4B;AAC5B,2DAA0D;AAC1D,mEAAqD;AAgBrD,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,mBAAmB,EAAE,UAAU,CAAC,kCAAkC;CACnE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,YAAY;QACtB,mBAAmB,EAAE,qBAAqB;KAC3C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"apikeyupdate.js","sourceRoot":"","sources":["../../src/models/operations/apikeyupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4GH,sEAMC;AAu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CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AAQD,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,8CAAsC,CAAC;CAClE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,YAAY;QACtB,WAAW,EAAE,aAAa;KAC3B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC"}
@@ -93,7 +93,7 @@ export type CreateClassifyRequestBody = {
93
93
  [k: string]: string;
94
94
  } | undefined;
95
95
  /**
96
- * ID of the model to use: the native classify model typesafe/jev-latest, or a chat model that supports classify such as anthropic/claude-haiku-4-5, google-ai/gemini-3.8-flash or zai/glm-5.3-flash.
96
+ * ID of the model to use: the native classify model typesafe/jev-latest, or a chat model that supports classify.
97
97
  */
98
98
  model: string;
99
99
  /**
@@ -125,7 +125,7 @@ export type CreateClassifyResponseBody = {
125
125
  [k: string]: components.ClassifyAnswer;
126
126
  };
127
127
  /**
128
- * The model ID from the request, for example typesafe/jev-latest or google/gemini-3.8-flash.
128
+ * The model ID from the request.
129
129
  */
130
130
  model: string;
131
131
  telemetry?: components.ResponseTelemetry | undefined;