@orq-ai/node 4.16.9 → 4.16.11

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 (122) hide show
  1. package/funcs/websearchSearch.d.ts +3 -3
  2. package/funcs/websearchSearch.js +3 -3
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +2 -2
  5. package/lib/config.js +2 -2
  6. package/lib/config.js.map +1 -1
  7. package/models/components/reasoningpart.js +1 -1
  8. package/models/operations/createtool.js +4 -4
  9. package/models/operations/getalltools.js +4 -4
  10. package/models/operations/getv2humanevalsets.js +2 -2
  11. package/models/operations/getv2humanevalsetsid.js +2 -2
  12. package/models/operations/listdeploymentversions.js +1 -1
  13. package/models/operations/patchv2humanevalsetsid.js +2 -2
  14. package/models/operations/postv2feedbackevaluation.js +4 -4
  15. package/models/operations/postv2humanevalsets.js +2 -2
  16. package/models/operations/retrievetool.js +4 -4
  17. package/models/operations/runagent.js +1 -1
  18. package/models/operations/searchweb.d.ts +3 -1
  19. package/models/operations/searchweb.d.ts.map +1 -1
  20. package/models/operations/searchweb.js +2 -0
  21. package/models/operations/searchweb.js.map +1 -1
  22. package/models/operations/streamrunagent.js +1 -1
  23. package/models/operations/updatetool.js +4 -4
  24. package/package.json +5 -5
  25. package/packages/orq-rc/src/funcs/modelsAzureFoundryDeployments.ts +1 -1
  26. package/packages/orq-rc/src/funcs/modelsUpdate.ts +1 -1
  27. package/packages/orq-rc/src/lib/config.ts +2 -2
  28. package/packages/orq-rc/src/models/components/alertscope.ts +0 -1
  29. package/packages/orq-rc/src/models/components/alerttelemetrysource.ts +0 -1
  30. package/packages/orq-rc/src/models/components/budgetalertdimension.ts +0 -1
  31. package/packages/orq-rc/src/models/components/budgetperiod.ts +0 -1
  32. package/packages/orq-rc/src/models/components/budgetscopekind.ts +0 -1
  33. package/packages/orq-rc/src/models/components/budgetsortfield.ts +0 -1
  34. package/packages/orq-rc/src/models/components/createmanagementkeyrequest.ts +2 -3
  35. package/packages/orq-rc/src/models/components/createmcpgatewayrequest.ts +7 -0
  36. package/packages/orq-rc/src/models/components/domainverificationstatus.ts +0 -1
  37. package/packages/orq-rc/src/models/components/filepurpose.ts +0 -1
  38. package/packages/orq-rc/src/models/components/getlogcontextresponse.ts +1 -1
  39. package/packages/orq-rc/src/models/components/getlogresponse.ts +1 -1
  40. package/packages/orq-rc/src/models/components/identitysortfield.ts +0 -1
  41. package/packages/orq-rc/src/models/components/index.ts +5 -0
  42. package/packages/orq-rc/src/models/components/log.ts +1 -1
  43. package/packages/orq-rc/src/models/components/managementkey.ts +2 -2
  44. package/packages/orq-rc/src/models/components/managementkeystatus.ts +0 -1
  45. package/packages/orq-rc/src/models/components/managementpermissionmode.ts +0 -1
  46. package/packages/orq-rc/src/models/components/mcpauthconfig.ts +11 -0
  47. package/packages/orq-rc/src/models/components/mcpauthconfigoutput.ts +9 -0
  48. package/packages/orq-rc/src/models/components/mcpauthtype.ts +1 -1
  49. package/packages/orq-rc/src/models/components/mcpconnectiontype.ts +0 -1
  50. package/packages/orq-rc/src/models/components/mcpenterpriseauthconfig.ts +72 -0
  51. package/packages/orq-rc/src/models/components/mcpenterpriseauthconfigoutput.ts +62 -0
  52. package/packages/orq-rc/src/models/components/mcpgateway.ts +6 -0
  53. package/packages/orq-rc/src/models/components/mcpgatewaymode.ts +0 -1
  54. package/packages/orq-rc/src/models/components/mcpgatewayserverlink.ts +15 -0
  55. package/packages/orq-rc/src/models/components/mcpgatewaystatus.ts +0 -1
  56. package/packages/orq-rc/src/models/components/mcpserver.ts +6 -0
  57. package/packages/orq-rc/src/models/components/mcpskill.ts +85 -0
  58. package/packages/orq-rc/src/models/components/mcpskillexposure.ts +72 -0
  59. package/packages/orq-rc/src/models/components/mcpskillfile.ts +47 -0
  60. package/packages/orq-rc/src/models/components/mcpsyncstate.ts +6 -0
  61. package/packages/orq-rc/src/models/components/mcptoolexposuremode.ts +0 -1
  62. package/packages/orq-rc/src/models/components/mcptoolnaming.ts +0 -1
  63. package/packages/orq-rc/src/models/components/modeldocument.ts +3 -0
  64. package/packages/orq-rc/src/models/components/modelfusionpreset.ts +0 -1
  65. package/packages/orq-rc/src/models/components/modelfusionsynthesismode.ts +0 -2
  66. package/packages/orq-rc/src/models/components/monitortelemetrysource.ts +0 -1
  67. package/packages/orq-rc/src/models/components/notifiertype.ts +0 -1
  68. package/packages/orq-rc/src/models/components/pricing.ts +6 -0
  69. package/packages/orq-rc/src/models/components/pricingvariant.ts +6 -0
  70. package/packages/orq-rc/src/models/components/publicusage.ts +23 -0
  71. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  72. package/packages/orq-rc/src/models/components/sessioninterval.ts +0 -1
  73. package/packages/orq-rc/src/models/components/smartrouterprofile.ts +0 -1
  74. package/packages/orq-rc/src/models/components/syncstatus.ts +0 -1
  75. package/packages/orq-rc/src/models/components/telemetryquerymode.ts +0 -1
  76. package/packages/orq-rc/src/models/components/telemetryresultkind.ts +0 -1
  77. package/packages/orq-rc/src/models/components/telemetrysource.ts +0 -1
  78. package/packages/orq-rc/src/models/components/telemetryvaluecardinality.ts +0 -2
  79. package/packages/orq-rc/src/models/components/threadkind.ts +0 -1
  80. package/packages/orq-rc/src/models/components/updateidentityrequest.ts +1 -1
  81. package/packages/orq-rc/src/models/components/updatemcpgatewayrequest.ts +14 -0
  82. package/packages/orq-rc/src/models/components/updateworkspacesettingsrequest.ts +2 -4
  83. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +23 -0
  84. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  85. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  86. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  87. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  88. package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +1 -1
  89. package/packages/orq-rc/src/models/operations/modelcreate.ts +3 -0
  90. package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +3 -0
  91. package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +3 -0
  92. package/packages/orq-rc/src/models/operations/modelcreatevertex.ts +3 -0
  93. package/packages/orq-rc/src/models/operations/modelupdate.ts +3 -0
  94. package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +3 -0
  95. package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +3 -0
  96. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  97. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  98. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  99. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  100. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  101. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  102. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  103. package/packages/orq-rc/src/sdk/models.ts +2 -2
  104. package/sdk/websearch.d.ts +3 -3
  105. package/sdk/websearch.js +3 -3
  106. package/src/funcs/websearchSearch.ts +3 -3
  107. package/src/lib/config.ts +2 -2
  108. package/src/models/components/reasoningpart.ts +1 -1
  109. package/src/models/operations/createtool.ts +4 -4
  110. package/src/models/operations/getalltools.ts +4 -4
  111. package/src/models/operations/getv2humanevalsets.ts +2 -2
  112. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  113. package/src/models/operations/listdeploymentversions.ts +1 -1
  114. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  115. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  116. package/src/models/operations/postv2humanevalsets.ts +2 -2
  117. package/src/models/operations/retrievetool.ts +4 -4
  118. package/src/models/operations/runagent.ts +1 -1
  119. package/src/models/operations/searchweb.ts +3 -1
  120. package/src/models/operations/streamrunagent.ts +1 -1
  121. package/src/models/operations/updatetool.ts +4 -4
  122. package/src/sdk/websearch.ts +3 -3
@@ -0,0 +1,47 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ /**
11
+ * A file of an upstream skill, as listed in the skill's manifest.
12
+ */
13
+ export type McpSkillFile = {
14
+ /**
15
+ * Resource URI of the file on the upstream server.
16
+ */
17
+ uri?: string | undefined;
18
+ /**
19
+ * SHA-256 digest of the file's raw bytes, formatted as `sha256:{hex}`.
20
+ */
21
+ digest?: string | undefined;
22
+ /**
23
+ * Length in bytes of the file's raw content.
24
+ */
25
+ size?: string | undefined;
26
+ };
27
+
28
+ /** @internal */
29
+ export const McpSkillFile$inboundSchema: z.ZodType<
30
+ McpSkillFile,
31
+ z.ZodTypeDef,
32
+ unknown
33
+ > = z.object({
34
+ uri: z.string().optional(),
35
+ digest: z.string().optional(),
36
+ size: z.string().optional(),
37
+ });
38
+
39
+ export function mcpSkillFileFromJSON(
40
+ jsonString: string,
41
+ ): SafeParseResult<McpSkillFile, SDKValidationError> {
42
+ return safeParse(
43
+ jsonString,
44
+ (x) => McpSkillFile$inboundSchema.parse(JSON.parse(x)),
45
+ `Failed to parse 'McpSkillFile' from JSON`,
46
+ );
47
+ }
@@ -31,6 +31,10 @@ export type McpSyncState = {
31
31
  * Failures reported by the last sync.
32
32
  */
33
33
  errors?: Array<string> | undefined;
34
+ /**
35
+ * Skills in the catalog after the last sync.
36
+ */
37
+ skillsTotal?: number | undefined;
34
38
  };
35
39
 
36
40
  /** @internal */
@@ -45,12 +49,14 @@ export const McpSyncState$inboundSchema: z.ZodType<
45
49
  tools_removed: z.number().int().optional(),
46
50
  last_synced_at: z.string().optional(),
47
51
  errors: z.array(z.string()).optional(),
52
+ skills_total: z.number().int().optional(),
48
53
  }).transform((v) => {
49
54
  return remap$(v, {
50
55
  "tools_total": "toolsTotal",
51
56
  "tools_added": "toolsAdded",
52
57
  "tools_removed": "toolsRemoved",
53
58
  "last_synced_at": "lastSyncedAt",
59
+ "skills_total": "skillsTotal",
54
60
  });
55
61
  });
56
62
 
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const McpToolExposureMode = {
9
- McpToolExposureModeUnspecified: "MCP_TOOL_EXPOSURE_MODE_UNSPECIFIED",
10
9
  McpToolExposureModeAll: "MCP_TOOL_EXPOSURE_MODE_ALL",
11
10
  McpToolExposureModeSelected: "MCP_TOOL_EXPOSURE_MODE_SELECTED",
12
11
  McpToolExposureModeNone: "MCP_TOOL_EXPOSURE_MODE_NONE",
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const McpToolNaming = {
9
- McpToolNamingUnspecified: "MCP_TOOL_NAMING_UNSPECIFIED",
10
9
  McpToolNamingPrefixWithServerKey: "MCP_TOOL_NAMING_PREFIX_WITH_SERVER_KEY",
11
10
  McpToolNamingPrefixOnCollision: "MCP_TOOL_NAMING_PREFIX_ON_COLLISION",
12
11
  } as const;
@@ -36,6 +36,9 @@ export type ModelDocument = {
36
36
  inputCost: number | null;
37
37
  inputCurrency: string;
38
38
  isActive: boolean;
39
+ /**
40
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
41
+ */
39
42
  legacyUuid?: string | undefined;
40
43
  metadata: ModelMetadata;
41
44
  modelDeveloper?: string | undefined;
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const ModelFusionPreset = {
9
- ModelFusionPresetUnspecified: "MODEL_FUSION_PRESET_UNSPECIFIED",
10
9
  ModelFusionPresetGeneral: "MODEL_FUSION_PRESET_GENERAL",
11
10
  ModelFusionPresetQuality: "MODEL_FUSION_PRESET_QUALITY",
12
11
  ModelFusionPresetBudget: "MODEL_FUSION_PRESET_BUDGET",
@@ -6,8 +6,6 @@ import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const ModelFusionSynthesisMode = {
9
- ModelFusionSynthesisModeUnspecified:
10
- "MODEL_FUSION_SYNTHESIS_MODE_UNSPECIFIED",
11
9
  ModelFusionSynthesisModeAnalysis: "MODEL_FUSION_SYNTHESIS_MODE_ANALYSIS",
12
10
  ModelFusionSynthesisModeJudgeWritesFinal:
13
11
  "MODEL_FUSION_SYNTHESIS_MODE_JUDGE_WRITES_FINAL",
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const MonitorTelemetrySource = {
9
- MonitorTelemetrySourceUnspecified: "MONITOR_TELEMETRY_SOURCE_UNSPECIFIED",
10
9
  MonitorTelemetrySourceTraces: "MONITOR_TELEMETRY_SOURCE_TRACES",
11
10
  MonitorTelemetrySourceMetrics: "MONITOR_TELEMETRY_SOURCE_METRICS",
12
11
  MonitorTelemetrySourceLogs: "MONITOR_TELEMETRY_SOURCE_LOGS",
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const NotifierType = {
9
- NotifierTypeUnspecified: "NOTIFIER_TYPE_UNSPECIFIED",
10
9
  NotifierTypeEmail: "NOTIFIER_TYPE_EMAIL",
11
10
  NotifierTypeSlackWebhook: "NOTIFIER_TYPE_SLACK_WEBHOOK",
12
11
  NotifierTypeWebhook: "NOTIFIER_TYPE_WEBHOOK",
@@ -26,6 +26,7 @@ export type Pricing = {
26
26
  audioSession?: Price | undefined;
27
27
  cacheRead?: Price | undefined;
28
28
  cacheWrite1h?: Price | undefined;
29
+ cacheWrite30m?: Price | undefined;
29
30
  cacheWrite5m?: Price | undefined;
30
31
  fetch?: Price | undefined;
31
32
  input?: Price | undefined;
@@ -44,6 +45,7 @@ export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
44
45
  audio_session: Price$inboundSchema.optional(),
45
46
  cache_read: Price$inboundSchema.optional(),
46
47
  cache_write_1h: Price$inboundSchema.optional(),
48
+ cache_write_30m: Price$inboundSchema.optional(),
47
49
  cache_write_5m: Price$inboundSchema.optional(),
48
50
  fetch: Price$inboundSchema.optional(),
49
51
  input: Price$inboundSchema.optional(),
@@ -59,6 +61,7 @@ export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
59
61
  "audio_session": "audioSession",
60
62
  "cache_read": "cacheRead",
61
63
  "cache_write_1h": "cacheWrite1h",
64
+ "cache_write_30m": "cacheWrite30m",
62
65
  "cache_write_5m": "cacheWrite5m",
63
66
  "text_input": "textInput",
64
67
  });
@@ -70,6 +73,7 @@ export type Pricing$Outbound = {
70
73
  audio_session?: Price$Outbound | undefined;
71
74
  cache_read?: Price$Outbound | undefined;
72
75
  cache_write_1h?: Price$Outbound | undefined;
76
+ cache_write_30m?: Price$Outbound | undefined;
73
77
  cache_write_5m?: Price$Outbound | undefined;
74
78
  fetch?: Price$Outbound | undefined;
75
79
  input?: Price$Outbound | undefined;
@@ -91,6 +95,7 @@ export const Pricing$outboundSchema: z.ZodType<
91
95
  audioSession: Price$outboundSchema.optional(),
92
96
  cacheRead: Price$outboundSchema.optional(),
93
97
  cacheWrite1h: Price$outboundSchema.optional(),
98
+ cacheWrite30m: Price$outboundSchema.optional(),
94
99
  cacheWrite5m: Price$outboundSchema.optional(),
95
100
  fetch: Price$outboundSchema.optional(),
96
101
  input: Price$outboundSchema.optional(),
@@ -106,6 +111,7 @@ export const Pricing$outboundSchema: z.ZodType<
106
111
  audioSession: "audio_session",
107
112
  cacheRead: "cache_read",
108
113
  cacheWrite1h: "cache_write_1h",
114
+ cacheWrite30m: "cache_write_30m",
109
115
  cacheWrite5m: "cache_write_5m",
110
116
  textInput: "text_input",
111
117
  });
@@ -20,6 +20,7 @@ export type PricingVariant = {
20
20
  audioSession?: Price | undefined;
21
21
  cacheRead?: Price | undefined;
22
22
  cacheWrite1h?: Price | undefined;
23
+ cacheWrite30m?: Price | undefined;
23
24
  cacheWrite5m?: Price | undefined;
24
25
  fetch?: Price | undefined;
25
26
  input?: Price | undefined;
@@ -41,6 +42,7 @@ export const PricingVariant$inboundSchema: z.ZodType<
41
42
  audio_session: Price$inboundSchema.optional(),
42
43
  cache_read: Price$inboundSchema.optional(),
43
44
  cache_write_1h: Price$inboundSchema.optional(),
45
+ cache_write_30m: Price$inboundSchema.optional(),
44
46
  cache_write_5m: Price$inboundSchema.optional(),
45
47
  fetch: Price$inboundSchema.optional(),
46
48
  input: Price$inboundSchema.optional(),
@@ -56,6 +58,7 @@ export const PricingVariant$inboundSchema: z.ZodType<
56
58
  "audio_session": "audioSession",
57
59
  "cache_read": "cacheRead",
58
60
  "cache_write_1h": "cacheWrite1h",
61
+ "cache_write_30m": "cacheWrite30m",
59
62
  "cache_write_5m": "cacheWrite5m",
60
63
  "text_input": "textInput",
61
64
  });
@@ -67,6 +70,7 @@ export type PricingVariant$Outbound = {
67
70
  audio_session?: Price$Outbound | undefined;
68
71
  cache_read?: Price$Outbound | undefined;
69
72
  cache_write_1h?: Price$Outbound | undefined;
73
+ cache_write_30m?: Price$Outbound | undefined;
70
74
  cache_write_5m?: Price$Outbound | undefined;
71
75
  fetch?: Price$Outbound | undefined;
72
76
  input?: Price$Outbound | undefined;
@@ -88,6 +92,7 @@ export const PricingVariant$outboundSchema: z.ZodType<
88
92
  audioSession: Price$outboundSchema.optional(),
89
93
  cacheRead: Price$outboundSchema.optional(),
90
94
  cacheWrite1h: Price$outboundSchema.optional(),
95
+ cacheWrite30m: Price$outboundSchema.optional(),
91
96
  cacheWrite5m: Price$outboundSchema.optional(),
92
97
  fetch: Price$outboundSchema.optional(),
93
98
  input: Price$outboundSchema.optional(),
@@ -103,6 +108,7 @@ export const PricingVariant$outboundSchema: z.ZodType<
103
108
  audioSession: "audio_session",
104
109
  cacheRead: "cache_read",
105
110
  cacheWrite1h: "cache_write_1h",
111
+ cacheWrite30m: "cache_write_30m",
106
112
  cacheWrite5m: "cache_write_5m",
107
113
  textInput: "text_input",
108
114
  });
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
+ import { ClosedEnum } from "../../types/enums.js";
8
9
  import { Result as SafeParseResult } from "../../types/fp.js";
9
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
11
  import {
@@ -20,6 +21,18 @@ import {
20
21
  ServerToolUseDetails$inboundSchema,
21
22
  } from "./servertoolusedetails.js";
22
23
 
24
+ /**
25
+ * Inference speed reported by Anthropic and used for billing.
26
+ */
27
+ export const Speed = {
28
+ Standard: "standard",
29
+ Fast: "fast",
30
+ } as const;
31
+ /**
32
+ * Inference speed reported by Anthropic and used for billing.
33
+ */
34
+ export type Speed = ClosedEnum<typeof Speed>;
35
+
23
36
  export type PublicUsage = {
24
37
  /**
25
38
  * Cost (USD) of input tokens. Present when billing was computed for this response.
@@ -34,6 +47,10 @@ export type PublicUsage = {
34
47
  outputTokens: number;
35
48
  outputTokensDetails: OutputTokensDetails;
36
49
  serverToolUse?: ServerToolUseDetails | undefined;
50
+ /**
51
+ * Inference speed reported by Anthropic and used for billing.
52
+ */
53
+ speed?: Speed | undefined;
37
54
  /**
38
55
  * Total cost (USD) of the response. Present when billing was computed for this response.
39
56
  */
@@ -42,6 +59,11 @@ export type PublicUsage = {
42
59
  webSearchRequests?: number | undefined;
43
60
  };
44
61
 
62
+ /** @internal */
63
+ export const Speed$inboundSchema: z.ZodNativeEnum<typeof Speed> = z.nativeEnum(
64
+ Speed,
65
+ );
66
+
45
67
  /** @internal */
46
68
  export const PublicUsage$inboundSchema: z.ZodType<
47
69
  PublicUsage,
@@ -55,6 +77,7 @@ export const PublicUsage$inboundSchema: z.ZodType<
55
77
  output_tokens: z.number().int(),
56
78
  output_tokens_details: OutputTokensDetails$inboundSchema,
57
79
  server_tool_use: ServerToolUseDetails$inboundSchema.optional(),
80
+ speed: Speed$inboundSchema.optional(),
58
81
  total_cost: z.number().optional(),
59
82
  total_tokens: z.number().int(),
60
83
  web_search_requests: z.number().int().optional(),
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- _id: z.string().default("reasoning_01m50dv9x8vm9xxs8f8jwj2zq5"),
43
+ _id: z.string().default("reasoning_01m52hq7rysfw5spsy1trxjyzg"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const SessionInterval = {
9
- SessionIntervalUnspecified: "SESSION_INTERVAL_UNSPECIFIED",
10
9
  SessionIntervalAllTime: "SESSION_INTERVAL_ALL_TIME",
11
10
  SessionIntervalLast30Minutes: "SESSION_INTERVAL_LAST_30_MINUTES",
12
11
  SessionIntervalLast1Hour: "SESSION_INTERVAL_LAST_1_HOUR",
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const SmartRouterProfile = {
9
- SmartRouterProfileUnspecified: "SMART_ROUTER_PROFILE_UNSPECIFIED",
10
9
  SmartRouterProfileQuality: "SMART_ROUTER_PROFILE_QUALITY",
11
10
  SmartRouterProfileBalanced: "SMART_ROUTER_PROFILE_BALANCED",
12
11
  SmartRouterProfileCost: "SMART_ROUTER_PROFILE_COST",
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const SyncStatus = {
9
- SyncStatusUnspecified: "SYNC_STATUS_UNSPECIFIED",
10
9
  SyncStatusSynced: "SYNC_STATUS_SYNCED",
11
10
  SyncStatusFailed: "SYNC_STATUS_FAILED",
12
11
  SyncStatusPending: "SYNC_STATUS_PENDING",
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const TelemetryQueryMode = {
9
- TelemetryQueryModeUnspecified: "TELEMETRY_QUERY_MODE_UNSPECIFIED",
10
9
  TelemetryQueryModeScalar: "TELEMETRY_QUERY_MODE_SCALAR",
11
10
  TelemetryQueryModeTimeSeries: "TELEMETRY_QUERY_MODE_TIME_SERIES",
12
11
  } as const;
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const TelemetryResultKind = {
9
- TelemetryResultKindUnspecified: "TELEMETRY_RESULT_KIND_UNSPECIFIED",
10
9
  TelemetryResultKindScalar: "TELEMETRY_RESULT_KIND_SCALAR",
11
10
  TelemetryResultKindGroupedScalar: "TELEMETRY_RESULT_KIND_GROUPED_SCALAR",
12
11
  TelemetryResultKindTimeSeries: "TELEMETRY_RESULT_KIND_TIME_SERIES",
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const TelemetrySource = {
9
- TelemetrySourceUnspecified: "TELEMETRY_SOURCE_UNSPECIFIED",
10
9
  TelemetrySourceTraces: "TELEMETRY_SOURCE_TRACES",
11
10
  TelemetrySourceMetrics: "TELEMETRY_SOURCE_METRICS",
12
11
  TelemetrySourceLogs: "TELEMETRY_SOURCE_LOGS",
@@ -6,8 +6,6 @@ import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const TelemetryValueCardinality = {
9
- TelemetryValueCardinalityUnspecified:
10
- "TELEMETRY_VALUE_CARDINALITY_UNSPECIFIED",
11
9
  TelemetryValueCardinalitySingle: "TELEMETRY_VALUE_CARDINALITY_SINGLE",
12
10
  TelemetryValueCardinalityMultiple: "TELEMETRY_VALUE_CARDINALITY_MULTIPLE",
13
11
  } as const;
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const ThreadKind = {
9
- ThreadKindUnspecified: "THREAD_KIND_UNSPECIFIED",
10
9
  ThreadKindConversation: "THREAD_KIND_CONVERSATION",
11
10
  ThreadKindCodingAgent: "THREAD_KIND_CODING_AGENT",
12
11
  } as const;
@@ -11,7 +11,7 @@ export type UpdateIdentityRequest = {
11
11
  */
12
12
  displayName?: string | undefined;
13
13
  /**
14
- * New email address. Omit to keep the current email.
14
+ * New email address. Omit to keep the current email, or send an empty string to clear it.
15
15
  */
16
16
  email?: string | undefined;
17
17
  /**
@@ -68,6 +68,14 @@ export type UpdateMcpGatewayRequest = {
68
68
  * Plugins run on every tool call this gateway serves.
69
69
  */
70
70
  plugins?: Array<McpGatewayPlugin> | undefined;
71
+ /**
72
+ * Replaces the served workspace skills. An empty array is treated as no change; use `clear_skill_ids` to remove them all.
73
+ */
74
+ skillIds?: Array<string> | undefined;
75
+ /**
76
+ * Set true to stop serving every workspace skill; cannot be combined with `skill_ids`.
77
+ */
78
+ clearSkillIds?: boolean | undefined;
71
79
  };
72
80
 
73
81
  /** @internal */
@@ -82,6 +90,8 @@ export type UpdateMcpGatewayRequest$Outbound = {
82
90
  sharing?: Sharing$Outbound | undefined;
83
91
  clear_server_links?: boolean | undefined;
84
92
  plugins?: Array<McpGatewayPlugin$Outbound> | undefined;
93
+ skill_ids?: Array<string> | undefined;
94
+ clear_skill_ids?: boolean | undefined;
85
95
  };
86
96
 
87
97
  /** @internal */
@@ -100,12 +110,16 @@ export const UpdateMcpGatewayRequest$outboundSchema: z.ZodType<
100
110
  sharing: Sharing$outboundSchema.optional(),
101
111
  clearServerLinks: z.boolean().optional(),
102
112
  plugins: z.array(McpGatewayPlugin$outboundSchema).optional(),
113
+ skillIds: z.array(z.string()).optional(),
114
+ clearSkillIds: z.boolean().optional(),
103
115
  }).transform((v) => {
104
116
  return remap$(v, {
105
117
  displayName: "display_name",
106
118
  serverLinks: "server_links",
107
119
  toolNaming: "tool_naming",
108
120
  clearServerLinks: "clear_server_links",
121
+ skillIds: "skill_ids",
122
+ clearSkillIds: "clear_skill_ids",
109
123
  });
110
124
  });
111
125
 
@@ -16,10 +16,8 @@ import {
16
16
  * @remarks
17
17
  * and an omitted field is left unchanged.
18
18
  *
19
- * There is deliberately no `key` / `slug` field. The workspace slug is
20
- * immutable through this service (it is embedded in resource URLs and API
21
- * credentials), mirroring the dashboard's WorkspaceUpdateGuard, which rejects a
22
- * `key` in the PATCH /workspaces/:key body. Do not add one.
19
+ * The workspace slug is immutable through this service: it is embedded in
20
+ * resource URLs and API credentials.
23
21
  */
24
22
  export type UpdateWorkspaceSettingsRequest = {
25
23
  /**
@@ -491,6 +491,18 @@ export const ServiceTier = {
491
491
  */
492
492
  export type ServiceTier = ClosedEnum<typeof ServiceTier>;
493
493
 
494
+ /**
495
+ * Inference speed for direct Anthropic models. Fast mode is available on Claude Opus 4.8, Opus 5, and Opus 5.5 at premium pricing, and cannot be combined with batch or priority processing.
496
+ */
497
+ export const Speed = {
498
+ Standard: "standard",
499
+ Fast: "fast",
500
+ } as const;
501
+ /**
502
+ * Inference speed for direct Anthropic models. Fast mode is available on Claude Opus 4.8, Opus 5, and Opus 5.5 at premium pricing, and cannot be combined with batch or priority processing.
503
+ */
504
+ export type Speed = ClosedEnum<typeof Speed>;
505
+
494
506
  /**
495
507
  * Template engine for variable substitution in instructions. Defaults to the agent manifest's engine when invoking an agent, otherwise text.
496
508
  */
@@ -974,6 +986,10 @@ export type CreateRouterResponseRequestBody = {
974
986
  * Processing mode for the request. Ultrafast is available for GPT-6 Astra on US/global processing. Fast uses premium low-latency processing; priority remains a backward-compatible alias.
975
987
  */
976
988
  serviceTier?: ServiceTier | undefined;
989
+ /**
990
+ * Inference speed for direct Anthropic models. Fast mode is available on Claude Opus 4.8, Opus 5, and Opus 5.5 at premium pricing, and cannot be combined with batch or priority processing.
991
+ */
992
+ speed?: Speed | undefined;
977
993
  /**
978
994
  * Custom text sequences that cause the model to stop generating. Forwarded to providers that support it (e.g. Anthropic); ignored otherwise.
979
995
  */
@@ -1597,6 +1613,11 @@ export function createRouterResponseInputToJSON(
1597
1613
  export const ServiceTier$outboundSchema: z.ZodNativeEnum<typeof ServiceTier> = z
1598
1614
  .nativeEnum(ServiceTier);
1599
1615
 
1616
+ /** @internal */
1617
+ export const Speed$outboundSchema: z.ZodNativeEnum<typeof Speed> = z.nativeEnum(
1618
+ Speed,
1619
+ );
1620
+
1600
1621
  /** @internal */
1601
1622
  export const TemplateEngine$outboundSchema: z.ZodNativeEnum<
1602
1623
  typeof TemplateEngine
@@ -2146,6 +2167,7 @@ export type CreateRouterResponseRequestBody$Outbound = {
2146
2167
  safety_identifier?: string | undefined;
2147
2168
  security?: components.SecurityConfig$Outbound | undefined;
2148
2169
  service_tier?: string | undefined;
2170
+ speed?: string | undefined;
2149
2171
  stop_sequences?: Array<string> | undefined;
2150
2172
  store?: boolean | undefined;
2151
2173
  stream?: boolean | undefined;
@@ -2238,6 +2260,7 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
2238
2260
  safetyIdentifier: z.string().optional(),
2239
2261
  security: components.SecurityConfig$outboundSchema.optional(),
2240
2262
  serviceTier: ServiceTier$outboundSchema.optional(),
2263
+ speed: Speed$outboundSchema.optional(),
2241
2264
  stopSequences: z.array(z.string()).optional(),
2242
2265
  store: z.boolean().optional(),
2243
2266
  stream: z.boolean().optional(),
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1575
1575
  z.ZodTypeDef,
1576
1576
  unknown
1577
1577
  > = z.object({
1578
- _id: z.string().default("tool_01M50DV9ZY0ZERFE6E0FE8KVBV"),
1578
+ _id: z.string().default("tool_01M52HQ7XGSV59VM595S4RXXY4"),
1579
1579
  path: z.string(),
1580
1580
  key: z.string(),
1581
1581
  display_name: z.string().optional(),
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
1761
1761
  z.ZodTypeDef,
1762
1762
  unknown
1763
1763
  > = z.object({
1764
- _id: z.string().default("tool_01M50DV9ZYYDNPTKVSP4C33K5E"),
1764
+ _id: z.string().default("tool_01M52HQ7XF5N00N7BV1N9G3D51"),
1765
1765
  path: z.string(),
1766
1766
  key: z.string(),
1767
1767
  display_name: z.string().optional(),
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1854
1854
  z.ZodTypeDef,
1855
1855
  unknown
1856
1856
  > = z.object({
1857
- _id: z.string().default("tool_01M50DV9ZY4KZT0C1CE738J4T5"),
1857
+ _id: z.string().default("tool_01M52HQ7XEYC3MVPFZ79BHB8CH"),
1858
1858
  path: z.string(),
1859
1859
  key: z.string(),
1860
1860
  display_name: z.string().optional(),
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
1955
1955
  z.ZodTypeDef,
1956
1956
  unknown
1957
1957
  > = z.object({
1958
- _id: z.string().default("tool_01M50DV9ZXDC77PN0C340SHQ7X"),
1958
+ _id: z.string().default("tool_01M52HQ7XDWAY2G9K3TM47VZV2"),
1959
1959
  path: z.string(),
1960
1960
  key: z.string(),
1961
1961
  display_name: z.string().optional(),
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
639
639
  z.ZodTypeDef,
640
640
  unknown
641
641
  > = z.object({
642
- _id: z.string().default("tool_01M50DV9ZVY8AC804NC1M0KPVF"),
642
+ _id: z.string().default("tool_01M52HQ7X9AJ7HJJG0AFNNK9JH"),
643
643
  path: z.string(),
644
644
  key: z.string(),
645
645
  display_name: z.string().optional(),
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
821
821
  z.ZodTypeDef,
822
822
  unknown
823
823
  > = z.object({
824
- _id: z.string().default("tool_01M50DV9ZTY0S1CJ56WZTBFH5A"),
824
+ _id: z.string().default("tool_01M52HQ7X81BMTGBEGJTWDKVCS"),
825
825
  path: z.string(),
826
826
  key: z.string(),
827
827
  display_name: z.string().optional(),
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
914
914
  z.ZodTypeDef,
915
915
  unknown
916
916
  > = z.object({
917
- _id: z.string().default("tool_01M50DV9ZT65N48HEJCAD2BBVS"),
917
+ _id: z.string().default("tool_01M52HQ7X7NQYS472PCDK9AP9G"),
918
918
  path: z.string(),
919
919
  key: z.string(),
920
920
  display_name: z.string().optional(),
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1012
1012
  z.ZodTypeDef,
1013
1013
  unknown
1014
1014
  > = z.object({
1015
- _id: z.string().default("tool_01M50DV9ZT75FVE6FWSAHBEKD5"),
1015
+ _id: z.string().default("tool_01M52HQ7X6AA42NR0XVZJ2W9KY"),
1016
1016
  path: z.string(),
1017
1017
  key: z.string(),
1018
1018
  display_name: z.string().optional(),
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
140
140
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
141
141
  .optional(),
142
142
  updated: z.string().datetime({ offset: true }).default(
143
- "2026-10-15T18:40:25.712Z",
143
+ "2026-10-16T14:26:32.701Z",
144
144
  ).transform(v => new Date(v)),
145
145
  filter_type: z.literal("name"),
146
146
  filter_value: z.string(),
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
185
185
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
186
186
  .optional(),
187
187
  updated: z.string().datetime({ offset: true }).default(
188
- "2026-10-15T18:40:25.712Z",
188
+ "2026-10-16T14:26:32.701Z",
189
189
  ).transform(v => new Date(v)),
190
190
  filter_type: z.literal("span_type"),
191
191
  filter_values: z.array(z.string()),
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
141
141
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
142
142
  .optional(),
143
143
  updated: z.string().datetime({ offset: true }).default(
144
- "2026-10-15T18:40:25.712Z",
144
+ "2026-10-16T14:26:32.701Z",
145
145
  ).transform(v => new Date(v)),
146
146
  filter_type: z.literal("name"),
147
147
  filter_value: z.string(),
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
186
186
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
187
187
  .optional(),
188
188
  updated: z.string().datetime({ offset: true }).default(
189
- "2026-10-15T18:40:25.712Z",
189
+ "2026-10-16T14:26:32.701Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -2525,7 +2525,7 @@ export const ListDeploymentVersionsKnowledgeBases$inboundSchema: z.ZodType<
2525
2525
  z.ZodTypeDef,
2526
2526
  unknown
2527
2527
  > = z.object({
2528
- id: z.string().default("01M50DV9WF9QR929Z8CMJNNC8B"),
2528
+ id: z.string().default("01M52HQ7QJ50DNDM3Z230QKB7M"),
2529
2529
  knowledge_id: z.string(),
2530
2530
  configuration: z.union([
2531
2531
  z.lazy(() => KnowledgeBaseLastUserMessage$inboundSchema),
@@ -44,6 +44,9 @@ export type ModelCreateResponseBody = {
44
44
  inputCost: number | null;
45
45
  inputCurrency: string;
46
46
  isActive: boolean;
47
+ /**
48
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
49
+ */
47
50
  legacyUuid?: string | undefined;
48
51
  metadata: components.ModelMetadata;
49
52
  modelDeveloper?: string | undefined;
@@ -58,6 +58,9 @@ export type ModelCreateAwsBedrockResponseBody = {
58
58
  inputCost: number | null;
59
59
  inputCurrency: string;
60
60
  isActive: boolean;
61
+ /**
62
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
63
+ */
61
64
  legacyUuid?: string | undefined;
62
65
  metadata: components.ModelMetadata;
63
66
  modelDeveloper?: string | undefined;
@@ -50,6 +50,9 @@ export type ModelCreateOpenAILikeResponseBody = {
50
50
  inputCost: number | null;
51
51
  inputCurrency: string;
52
52
  isActive: boolean;
53
+ /**
54
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
55
+ */
53
56
  legacyUuid?: string | undefined;
54
57
  metadata: components.ModelMetadata;
55
58
  modelDeveloper?: string | undefined;