@orq-ai/node 4.17.14 → 4.17.16

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 (105) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +3 -3
  3. package/lib/config.js +3 -3
  4. package/lib/config.js.map +1 -1
  5. package/models/components/reasoningpart.js +1 -1
  6. package/models/operations/createtool.js +4 -4
  7. package/models/operations/getalltools.js +4 -4
  8. package/models/operations/getv2humanevalsets.js +2 -2
  9. package/models/operations/getv2humanevalsetsid.js +2 -2
  10. package/models/operations/listdeploymentversions.js +1 -1
  11. package/models/operations/patchv2humanevalsetsid.js +2 -2
  12. package/models/operations/postv2humanevalsets.js +2 -2
  13. package/models/operations/retrievetool.js +4 -4
  14. package/models/operations/runagent.js +1 -1
  15. package/models/operations/streamrunagent.js +1 -1
  16. package/models/operations/updatetool.js +4 -4
  17. package/package.json +5 -5
  18. package/packages/orq-rc/src/lib/config.ts +3 -3
  19. package/packages/orq-rc/src/models/components/createmcpgatewayrequest.ts +11 -0
  20. package/packages/orq-rc/src/models/components/index.ts +0 -27
  21. package/packages/orq-rc/src/models/components/mcpauthconfig.ts +67 -10
  22. package/packages/orq-rc/src/models/components/mcpauthconfigoutput.ts +57 -8
  23. package/packages/orq-rc/src/models/components/mcpgateway.ts +15 -0
  24. package/packages/orq-rc/src/models/components/mcpoauthconfig.ts +19 -1
  25. package/packages/orq-rc/src/models/components/mcpoauthconfigoutput.ts +17 -1
  26. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  27. package/packages/orq-rc/src/models/components/spansummary.ts +22 -0
  28. package/packages/orq-rc/src/models/components/updatemcpgatewayrequest.ts +11 -0
  29. package/packages/orq-rc/src/models/components/updateworkspacerequest.ts +4 -0
  30. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  31. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  32. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  33. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  34. package/packages/orq-rc/src/models/operations/index.ts +0 -10
  35. package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +1 -1
  36. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  37. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  38. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  39. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  40. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  41. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  42. package/packages/orq-rc/src/sdk/sdk.ts +0 -6
  43. package/src/lib/config.ts +3 -3
  44. package/src/models/components/reasoningpart.ts +1 -1
  45. package/src/models/operations/createtool.ts +4 -4
  46. package/src/models/operations/getalltools.ts +4 -4
  47. package/src/models/operations/getv2humanevalsets.ts +2 -2
  48. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  49. package/src/models/operations/listdeploymentversions.ts +1 -1
  50. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  51. package/src/models/operations/postv2humanevalsets.ts +2 -2
  52. package/src/models/operations/retrievetool.ts +4 -4
  53. package/src/models/operations/runagent.ts +1 -1
  54. package/src/models/operations/streamrunagent.ts +1 -1
  55. package/src/models/operations/updatetool.ts +4 -4
  56. package/packages/orq-rc/src/funcs/wikisCreate.ts +0 -165
  57. package/packages/orq-rc/src/funcs/wikisDelete.ts +0 -171
  58. package/packages/orq-rc/src/funcs/wikisGet.ts +0 -171
  59. package/packages/orq-rc/src/funcs/wikisGetPage.ts +0 -177
  60. package/packages/orq-rc/src/funcs/wikisGetTree.ts +0 -171
  61. package/packages/orq-rc/src/funcs/wikisInspectRepository.ts +0 -166
  62. package/packages/orq-rc/src/funcs/wikisList.ts +0 -176
  63. package/packages/orq-rc/src/funcs/wikisListRuns.ts +0 -176
  64. package/packages/orq-rc/src/funcs/wikisRefresh.ts +0 -174
  65. package/packages/orq-rc/src/funcs/wikisSearch.ts +0 -177
  66. package/packages/orq-rc/src/funcs/wikisUpdate.ts +0 -172
  67. package/packages/orq-rc/src/funcs/wikisUpdatePage.ts +0 -174
  68. package/packages/orq-rc/src/models/components/createwikirequest.ts +0 -67
  69. package/packages/orq-rc/src/models/components/createwikiresponse.ts +0 -32
  70. package/packages/orq-rc/src/models/components/deletewikiresponse.ts +0 -27
  71. package/packages/orq-rc/src/models/components/getwikipageresponse.ts +0 -32
  72. package/packages/orq-rc/src/models/components/getwikiresponse.ts +0 -32
  73. package/packages/orq-rc/src/models/components/getwikitreeresponse.ts +0 -32
  74. package/packages/orq-rc/src/models/components/inspectrepositorywikirequest.ts +0 -45
  75. package/packages/orq-rc/src/models/components/inspectrepositorywikiresponse.ts +0 -38
  76. package/packages/orq-rc/src/models/components/listwikirunsresponse.ts +0 -32
  77. package/packages/orq-rc/src/models/components/listwikisresponse.ts +0 -39
  78. package/packages/orq-rc/src/models/components/mcpenterpriseauthconfig.ts +0 -72
  79. package/packages/orq-rc/src/models/components/mcpenterpriseauthconfigoutput.ts +0 -62
  80. package/packages/orq-rc/src/models/components/refreshwikirequest.ts +0 -31
  81. package/packages/orq-rc/src/models/components/refreshwikiresponse.ts +0 -32
  82. package/packages/orq-rc/src/models/components/searchwikiresponse.ts +0 -32
  83. package/packages/orq-rc/src/models/components/updatewikipagerequest.ts +0 -42
  84. package/packages/orq-rc/src/models/components/updatewikipageresponse.ts +0 -32
  85. package/packages/orq-rc/src/models/components/updatewikirequest.ts +0 -48
  86. package/packages/orq-rc/src/models/components/updatewikiresponse.ts +0 -32
  87. package/packages/orq-rc/src/models/components/wiki.ts +0 -91
  88. package/packages/orq-rc/src/models/components/wikipage.ts +0 -58
  89. package/packages/orq-rc/src/models/components/wikirepository.ts +0 -72
  90. package/packages/orq-rc/src/models/components/wikirun.ts +0 -71
  91. package/packages/orq-rc/src/models/components/wikirunstats.ts +0 -44
  92. package/packages/orq-rc/src/models/components/wikisearchhit.ts +0 -45
  93. package/packages/orq-rc/src/models/components/wikisettings.ts +0 -76
  94. package/packages/orq-rc/src/models/components/wikitreepage.ts +0 -47
  95. package/packages/orq-rc/src/models/operations/deletewiki.ts +0 -36
  96. package/packages/orq-rc/src/models/operations/getwiki.ts +0 -32
  97. package/packages/orq-rc/src/models/operations/getwikipage.ts +0 -43
  98. package/packages/orq-rc/src/models/operations/getwikitree.ts +0 -36
  99. package/packages/orq-rc/src/models/operations/listwikiruns.ts +0 -39
  100. package/packages/orq-rc/src/models/operations/listwikis.ts +0 -54
  101. package/packages/orq-rc/src/models/operations/refreshwiki.ts +0 -41
  102. package/packages/orq-rc/src/models/operations/searchwiki.ts +0 -42
  103. package/packages/orq-rc/src/models/operations/updatewiki.ts +0 -41
  104. package/packages/orq-rc/src/models/operations/updatewikipage.ts +0 -41
  105. package/packages/orq-rc/src/sdk/wikis.ts +0 -154
@@ -1764,7 +1764,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1764
1764
  z.ZodTypeDef,
1765
1765
  unknown
1766
1766
  > = z.object({
1767
- _id: z.string().default("tool_01M5Y34ENSPA9S69D30WEAWA7K"),
1767
+ _id: z.string().default("tool_01M613CWQXN4YWQ2KCVTN5XCR3"),
1768
1768
  path: z.string(),
1769
1769
  key: z.string(),
1770
1770
  display_name: z.string().optional(),
@@ -1959,7 +1959,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
1959
1959
  z.ZodTypeDef,
1960
1960
  unknown
1961
1961
  > = z.object({
1962
- _id: z.string().default("tool_01M5Y34ENSDJW728D3TBW7JVNM"),
1962
+ _id: z.string().default("tool_01M613CWQXZXV8QD3Z0GWRHBA6"),
1963
1963
  path: z.string(),
1964
1964
  key: z.string(),
1965
1965
  display_name: z.string().optional(),
@@ -2054,7 +2054,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2054
2054
  z.ZodTypeDef,
2055
2055
  unknown
2056
2056
  > = z.object({
2057
- _id: z.string().default("tool_01M5Y34ENR9RJKZ6HMBBCN2WH0"),
2057
+ _id: z.string().default("tool_01M613CWQXGEE3B2YD7QMS2P4Z"),
2058
2058
  path: z.string(),
2059
2059
  key: z.string(),
2060
2060
  display_name: z.string().optional(),
@@ -2157,7 +2157,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
2157
2157
  z.ZodTypeDef,
2158
2158
  unknown
2159
2159
  > = z.object({
2160
- _id: z.string().default("tool_01M5Y34ENRPYNK7XYK056GMRTS"),
2160
+ _id: z.string().default("tool_01M613CWQWMP7BBWY84PG19AQ6"),
2161
2161
  path: z.string(),
2162
2162
  key: z.string(),
2163
2163
  display_name: z.string().optional(),
@@ -52,7 +52,6 @@ import { Users } from "./users.js";
52
52
  import { Views } from "./views.js";
53
53
  import { Webhooks } from "./webhooks.js";
54
54
  import { Websearch } from "./websearch.js";
55
- import { Wikis } from "./wikis.js";
56
55
  import { Workspaces } from "./workspaces.js";
57
56
  import { WorkspaceSecurity } from "./workspacesecurity.js";
58
57
  import { WorkspaceSettings } from "./workspacesettings.js";
@@ -290,11 +289,6 @@ export class Orq extends ClientSDK {
290
289
  return (this._webhooks ??= new Webhooks(this._options));
291
290
  }
292
291
 
293
- private _wikis?: Wikis;
294
- get wikis(): Wikis {
295
- return (this._wikis ??= new Wikis(this._options));
296
- }
297
-
298
292
  private _workspaces?: Workspaces;
299
293
  get workspaces(): Workspaces {
300
294
  return (this._workspaces ??= new Workspaces(this._options));
package/src/lib/config.ts CHANGED
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
58
58
  export const SDK_METADATA = {
59
59
  language: "typescript",
60
60
  openapiDocVersion: "2.0",
61
- sdkVersion: "4.17.14",
62
- genVersion: "2.950.13",
63
- userAgent: "speakeasy-sdk/typescript 4.17.14 2.950.13 2.0 @orq-ai/node",
61
+ sdkVersion: "4.17.16",
62
+ genVersion: "2.954.8",
63
+ userAgent: "speakeasy-sdk/typescript 4.17.16 2.954.8 2.0 @orq-ai/node",
64
64
  } as const;
@@ -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_01m5yb8v04ktq1053ddyqk9eb0"),
43
+ _id: z.string().default("reasoning_01m61daq0m2r608s1thgm01r66"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -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_01M5YB8V4V5CX0H410XT3MNSNS"),
1578
+ _id: z.string().default("tool_01M61DAQ4X9AH9ARSM8FYHHGGZ"),
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_01M5YB8V4S9F87K2W80R1VMCYJ"),
1764
+ _id: z.string().default("tool_01M61DAQ4W974GDXH5G1V3BQYS"),
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_01M5YB8V4SP5ECKGY9TWF8J86P"),
1857
+ _id: z.string().default("tool_01M61DAQ4VSJ1S5SAQYMYZ5JQG"),
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_01M5YB8V4RF1FCHVET61DA33X1"),
1958
+ _id: z.string().default("tool_01M61DAQ4VW7S7502694PYMTDR"),
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_01M5YB8V4KR5GY80S1YNX5SGNV"),
642
+ _id: z.string().default("tool_01M61DAQ4QJKRX8N3BEZ9RBB54"),
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_01M5YB8V4JM3T167DVAKJ3JV8K"),
824
+ _id: z.string().default("tool_01M61DAQ4PNP16QWQYTSQE5SD1"),
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_01M5YB8V4HDXV3Z5EZ8XZ1FSJV"),
917
+ _id: z.string().default("tool_01M61DAQ4NNVZ6GQ5Q0E8NTHH5"),
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_01M5YB8V4G1X54K9GCY81MH9Z0"),
1015
+ _id: z.string().default("tool_01M61DAQ4M6PQ9PXC6CS4FTNYJ"),
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-27T09:32:33.502Z",
143
+ "2026-10-28T14:06:15.307Z",
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-27T09:32:33.502Z",
188
+ "2026-10-28T14:06:15.307Z",
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-27T09:32:33.502Z",
144
+ "2026-10-28T14:06:15.307Z",
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-27T09:32:33.502Z",
189
+ "2026-10-28T14:06:15.307Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -2527,7 +2527,7 @@ export const ListDeploymentVersionsKnowledgeBases$inboundSchema: z.ZodType<
2527
2527
  z.ZodTypeDef,
2528
2528
  unknown
2529
2529
  > = z.object({
2530
- id: z.string().default("01M5YB8TYRH11BTMGWE42R8NNE"),
2530
+ id: z.string().default("01M61DAPZDSJQBMYYR6TWA9N04"),
2531
2531
  knowledge_id: z.string(),
2532
2532
  configuration: z.union([
2533
2533
  z.lazy(() => KnowledgeBaseLastUserMessage$inboundSchema),
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
318
318
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
319
319
  .optional(),
320
320
  updated: z.string().datetime({ offset: true }).default(
321
- "2026-10-27T09:32:33.502Z",
321
+ "2026-10-28T14:06:15.307Z",
322
322
  ).transform(v => new Date(v)),
323
323
  filter_type: z.literal("name"),
324
324
  filter_value: z.string(),
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
364
364
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
365
365
  .optional(),
366
366
  updated: z.string().datetime({ offset: true }).default(
367
- "2026-10-27T09:32:33.502Z",
367
+ "2026-10-28T14:06:15.307Z",
368
368
  ).transform(v => new Date(v)),
369
369
  filter_type: z.literal("span_type"),
370
370
  filter_values: z.array(z.string()),
@@ -257,7 +257,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
257
257
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
258
258
  .optional(),
259
259
  updated: z.string().datetime({ offset: true }).default(
260
- "2026-10-27T09:32:33.502Z",
260
+ "2026-10-28T14:06:15.307Z",
261
261
  ).transform(v => new Date(v)),
262
262
  filter_type: z.literal("name"),
263
263
  filter_value: z.string(),
@@ -302,7 +302,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
302
302
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
303
303
  .optional(),
304
304
  updated: z.string().datetime({ offset: true }).default(
305
- "2026-10-27T09:32:33.502Z",
305
+ "2026-10-28T14:06:15.307Z",
306
306
  ).transform(v => new Date(v)),
307
307
  filter_type: z.literal("span_type"),
308
308
  filter_values: z.array(z.string()),
@@ -624,7 +624,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
624
624
  z.ZodTypeDef,
625
625
  unknown
626
626
  > = z.object({
627
- _id: z.string().default("tool_01M5YB8V5CAFGHGDX3MVMMVDX2"),
627
+ _id: z.string().default("tool_01M61DAQ5D8JJ2YYZTC2DD4T6R"),
628
628
  path: z.string(),
629
629
  key: z.string(),
630
630
  display_name: z.string().optional(),
@@ -820,7 +820,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
820
820
  z.ZodTypeDef,
821
821
  unknown
822
822
  > = z.object({
823
- _id: z.string().default("tool_01M5YB8V59H2FH58WP2FA87X3R"),
823
+ _id: z.string().default("tool_01M61DAQ5CNYHAJYXC2228WYBD"),
824
824
  path: z.string(),
825
825
  key: z.string(),
826
826
  display_name: z.string().optional(),
@@ -916,7 +916,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
916
916
  z.ZodTypeDef,
917
917
  unknown
918
918
  > = z.object({
919
- _id: z.string().default("tool_01M5YB8V58HZ383DSCFFRVTG62"),
919
+ _id: z.string().default("tool_01M61DAQ594Y3QHTQ9T8HKFCS7"),
920
920
  path: z.string(),
921
921
  key: z.string(),
922
922
  display_name: z.string().optional(),
@@ -1022,7 +1022,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
1022
1022
  z.ZodTypeDef,
1023
1023
  unknown
1024
1024
  > = z.object({
1025
- _id: z.string().default("tool_01M5YB8V57GB366PPY81DDKT14"),
1025
+ _id: z.string().default("tool_01M61DAQ5932G56GNKNQ7KTQ7V"),
1026
1026
  path: z.string(),
1027
1027
  key: z.string(),
1028
1028
  display_name: z.string().optional(),
@@ -3906,7 +3906,7 @@ export const Tools$outboundSchema: z.ZodType<
3906
3906
  z.ZodTypeDef,
3907
3907
  Tools
3908
3908
  > = z.object({
3909
- id: z.string().default("01M5YB8V20MXVTBD20D4XW868F"),
3909
+ id: z.string().default("01M61DAQ2BWBYGP0XRCA7HC858"),
3910
3910
  name: z.string(),
3911
3911
  description: z.string().optional(),
3912
3912
  schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
@@ -3965,7 +3965,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
3965
3965
  z.ZodTypeDef,
3966
3966
  AgentToolInputRunTools
3967
3967
  > = z.object({
3968
- id: z.string().default("01M5YB8V2S34B0727SG1YP5FCY"),
3968
+ id: z.string().default("01M61DAQ31NZP453PJ1XRC51TR"),
3969
3969
  name: z.string(),
3970
3970
  description: z.string().optional(),
3971
3971
  schema: z.lazy(() =>
@@ -1764,7 +1764,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1764
1764
  z.ZodTypeDef,
1765
1765
  unknown
1766
1766
  > = z.object({
1767
- _id: z.string().default("tool_01M5YB8V50YM4CPNTW4DK82FM8"),
1767
+ _id: z.string().default("tool_01M61DAQ528HWM2S08R7RJC4P4"),
1768
1768
  path: z.string(),
1769
1769
  key: z.string(),
1770
1770
  display_name: z.string().optional(),
@@ -1959,7 +1959,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
1959
1959
  z.ZodTypeDef,
1960
1960
  unknown
1961
1961
  > = z.object({
1962
- _id: z.string().default("tool_01M5YB8V4ZY4DX89KCXS0359XH"),
1962
+ _id: z.string().default("tool_01M61DAQ51EHCRBE58F2K469K1"),
1963
1963
  path: z.string(),
1964
1964
  key: z.string(),
1965
1965
  display_name: z.string().optional(),
@@ -2054,7 +2054,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2054
2054
  z.ZodTypeDef,
2055
2055
  unknown
2056
2056
  > = z.object({
2057
- _id: z.string().default("tool_01M5YB8V4Y491C0R3H13EP15EN"),
2057
+ _id: z.string().default("tool_01M61DAQ51T3YMC4CREA0JTF5P"),
2058
2058
  path: z.string(),
2059
2059
  key: z.string(),
2060
2060
  display_name: z.string().optional(),
@@ -2157,7 +2157,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
2157
2157
  z.ZodTypeDef,
2158
2158
  unknown
2159
2159
  > = z.object({
2160
- _id: z.string().default("tool_01M5YB8V4YZW13GZ8C0G430RYH"),
2160
+ _id: z.string().default("tool_01M61DAQ50SJJRD5K2H5EBZZ30"),
2161
2161
  path: z.string(),
2162
2162
  key: z.string(),
2163
2163
  display_name: z.string().optional(),
@@ -1,165 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { OrqCore } from "../core.js";
6
- import { encodeJSON } from "../lib/encodings.js";
7
- import { matchStatusCode } from "../lib/http.js";
8
- import * as M from "../lib/matchers.js";
9
- import { compactMap } from "../lib/primitives.js";
10
- import { safeParse } from "../lib/schemas.js";
11
- import { RequestOptions } from "../lib/sdks.js";
12
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
- import { pathToFunc } from "../lib/url.js";
14
- import * as components from "../models/components/index.js";
15
- import {
16
- ConnectionError,
17
- InvalidRequestError,
18
- RequestAbortedError,
19
- RequestTimeoutError,
20
- UnexpectedClientError,
21
- } from "../models/errors/httpclienterrors.js";
22
- import * as errors from "../models/errors/index.js";
23
- import { OrqError } from "../models/errors/orqerror.js";
24
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
25
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
26
- import { APICall, APIPromise } from "../types/async.js";
27
- import { Result } from "../types/fp.js";
28
-
29
- export function wikisCreate(
30
- client: OrqCore,
31
- request: components.CreateWikiRequest,
32
- options?: RequestOptions,
33
- ): APIPromise<
34
- Result<
35
- components.CreateWikiResponse,
36
- | errors.ErrorResponse
37
- | OrqError
38
- | ResponseValidationError
39
- | ConnectionError
40
- | RequestAbortedError
41
- | RequestTimeoutError
42
- | InvalidRequestError
43
- | UnexpectedClientError
44
- | SDKValidationError
45
- >
46
- > {
47
- return new APIPromise($do(
48
- client,
49
- request,
50
- options,
51
- ));
52
- }
53
-
54
- async function $do(
55
- client: OrqCore,
56
- request: components.CreateWikiRequest,
57
- options?: RequestOptions,
58
- ): Promise<
59
- [
60
- Result<
61
- components.CreateWikiResponse,
62
- | errors.ErrorResponse
63
- | OrqError
64
- | ResponseValidationError
65
- | ConnectionError
66
- | RequestAbortedError
67
- | RequestTimeoutError
68
- | InvalidRequestError
69
- | UnexpectedClientError
70
- | SDKValidationError
71
- >,
72
- APICall,
73
- ]
74
- > {
75
- const parsed = safeParse(
76
- request,
77
- (value) => components.CreateWikiRequest$outboundSchema.parse(value),
78
- "Input validation failed",
79
- );
80
- if (!parsed.ok) {
81
- return [parsed, { status: "invalid" }];
82
- }
83
- const payload = parsed.value;
84
- const body = encodeJSON("body", payload, { explode: true });
85
-
86
- const path = pathToFunc("/v2/wikis")();
87
-
88
- const headers = new Headers(compactMap({
89
- "Content-Type": "application/json",
90
- Accept: "application/json",
91
- }));
92
-
93
- const secConfig = await extractSecurity(client._options.apiKey);
94
- const securityInput = secConfig == null ? {} : { apiKey: secConfig };
95
- const requestSecurity = resolveGlobalSecurity(securityInput);
96
-
97
- const context = {
98
- options: client._options,
99
- baseURL: options?.serverURL ?? client._baseURL ?? "",
100
- operationID: "CreateWiki",
101
- oAuth2Scopes: null,
102
-
103
- resolvedSecurity: requestSecurity,
104
-
105
- securitySource: client._options.apiKey,
106
- retryConfig: options?.retries
107
- || client._options.retryConfig
108
- || { strategy: "none" },
109
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
110
- };
111
-
112
- const requestRes = client._createRequest(context, {
113
- security: requestSecurity,
114
- method: "POST",
115
- baseURL: options?.serverURL,
116
- path: path,
117
- headers: headers,
118
- body: body,
119
- userAgent: client._options.userAgent,
120
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
121
- }, options);
122
- if (!requestRes.ok) {
123
- return [requestRes, { status: "invalid" }];
124
- }
125
- const req = requestRes.value;
126
-
127
- const doResult = await client._do(req, {
128
- context,
129
- isErrorStatusCode: (statusCode: number) =>
130
- matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
131
- retryConfig: context.retryConfig,
132
- retryCodes: context.retryCodes,
133
- });
134
- if (!doResult.ok) {
135
- return [doResult, { status: "request-error", request: req }];
136
- }
137
- const response = doResult.value;
138
-
139
- const responseFields = {
140
- HttpMeta: { Response: response, Request: req },
141
- };
142
-
143
- const [result] = await M.match<
144
- components.CreateWikiResponse,
145
- | errors.ErrorResponse
146
- | OrqError
147
- | ResponseValidationError
148
- | ConnectionError
149
- | RequestAbortedError
150
- | RequestTimeoutError
151
- | InvalidRequestError
152
- | UnexpectedClientError
153
- | SDKValidationError
154
- >(
155
- M.json(200, components.CreateWikiResponse$inboundSchema),
156
- M.jsonErr(401, errors.ErrorResponse$inboundSchema),
157
- M.fail("4XX"),
158
- M.fail("5XX"),
159
- )(response, req, { extraFields: responseFields });
160
- if (!result.ok) {
161
- return [result, { status: "complete", request: req, response }];
162
- }
163
-
164
- return [result, { status: "complete", request: req, response }];
165
- }
@@ -1,171 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { OrqCore } from "../core.js";
6
- import { encodeSimple } from "../lib/encodings.js";
7
- import { matchStatusCode } from "../lib/http.js";
8
- import * as M from "../lib/matchers.js";
9
- import { compactMap } from "../lib/primitives.js";
10
- import { safeParse } from "../lib/schemas.js";
11
- import { RequestOptions } from "../lib/sdks.js";
12
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
- import { pathToFunc } from "../lib/url.js";
14
- import * as components from "../models/components/index.js";
15
- import {
16
- ConnectionError,
17
- InvalidRequestError,
18
- RequestAbortedError,
19
- RequestTimeoutError,
20
- UnexpectedClientError,
21
- } from "../models/errors/httpclienterrors.js";
22
- import * as errors from "../models/errors/index.js";
23
- import { OrqError } from "../models/errors/orqerror.js";
24
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
25
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
26
- import * as operations from "../models/operations/index.js";
27
- import { APICall, APIPromise } from "../types/async.js";
28
- import { Result } from "../types/fp.js";
29
-
30
- export function wikisDelete(
31
- client: OrqCore,
32
- request: operations.DeleteWikiRequest,
33
- options?: RequestOptions,
34
- ): APIPromise<
35
- Result<
36
- components.DeleteWikiResponse,
37
- | errors.ErrorResponse
38
- | OrqError
39
- | ResponseValidationError
40
- | ConnectionError
41
- | RequestAbortedError
42
- | RequestTimeoutError
43
- | InvalidRequestError
44
- | UnexpectedClientError
45
- | SDKValidationError
46
- >
47
- > {
48
- return new APIPromise($do(
49
- client,
50
- request,
51
- options,
52
- ));
53
- }
54
-
55
- async function $do(
56
- client: OrqCore,
57
- request: operations.DeleteWikiRequest,
58
- options?: RequestOptions,
59
- ): Promise<
60
- [
61
- Result<
62
- components.DeleteWikiResponse,
63
- | errors.ErrorResponse
64
- | OrqError
65
- | ResponseValidationError
66
- | ConnectionError
67
- | RequestAbortedError
68
- | RequestTimeoutError
69
- | InvalidRequestError
70
- | UnexpectedClientError
71
- | SDKValidationError
72
- >,
73
- APICall,
74
- ]
75
- > {
76
- const parsed = safeParse(
77
- request,
78
- (value) => operations.DeleteWikiRequest$outboundSchema.parse(value),
79
- "Input validation failed",
80
- );
81
- if (!parsed.ok) {
82
- return [parsed, { status: "invalid" }];
83
- }
84
- const payload = parsed.value;
85
- const body = null;
86
-
87
- const pathParams = {
88
- wiki_id: encodeSimple("wiki_id", payload.wiki_id, {
89
- explode: false,
90
- charEncoding: "percent",
91
- }),
92
- };
93
- const path = pathToFunc("/v2/wikis/{wiki_id}")(pathParams);
94
-
95
- const headers = new Headers(compactMap({
96
- Accept: "application/json",
97
- }));
98
-
99
- const secConfig = await extractSecurity(client._options.apiKey);
100
- const securityInput = secConfig == null ? {} : { apiKey: secConfig };
101
- const requestSecurity = resolveGlobalSecurity(securityInput);
102
-
103
- const context = {
104
- options: client._options,
105
- baseURL: options?.serverURL ?? client._baseURL ?? "",
106
- operationID: "DeleteWiki",
107
- oAuth2Scopes: null,
108
-
109
- resolvedSecurity: requestSecurity,
110
-
111
- securitySource: client._options.apiKey,
112
- retryConfig: options?.retries
113
- || client._options.retryConfig
114
- || { strategy: "none" },
115
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
116
- };
117
-
118
- const requestRes = client._createRequest(context, {
119
- security: requestSecurity,
120
- method: "DELETE",
121
- baseURL: options?.serverURL,
122
- path: path,
123
- headers: headers,
124
- body: body,
125
- userAgent: client._options.userAgent,
126
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
127
- }, options);
128
- if (!requestRes.ok) {
129
- return [requestRes, { status: "invalid" }];
130
- }
131
- const req = requestRes.value;
132
-
133
- const doResult = await client._do(req, {
134
- context,
135
- isErrorStatusCode: (statusCode: number) =>
136
- matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
137
- retryConfig: context.retryConfig,
138
- retryCodes: context.retryCodes,
139
- });
140
- if (!doResult.ok) {
141
- return [doResult, { status: "request-error", request: req }];
142
- }
143
- const response = doResult.value;
144
-
145
- const responseFields = {
146
- HttpMeta: { Response: response, Request: req },
147
- };
148
-
149
- const [result] = await M.match<
150
- components.DeleteWikiResponse,
151
- | errors.ErrorResponse
152
- | OrqError
153
- | ResponseValidationError
154
- | ConnectionError
155
- | RequestAbortedError
156
- | RequestTimeoutError
157
- | InvalidRequestError
158
- | UnexpectedClientError
159
- | SDKValidationError
160
- >(
161
- M.json(200, components.DeleteWikiResponse$inboundSchema),
162
- M.jsonErr(401, errors.ErrorResponse$inboundSchema),
163
- M.fail("4XX"),
164
- M.fail("5XX"),
165
- )(response, req, { extraFields: responseFields });
166
- if (!result.ok) {
167
- return [result, { status: "complete", request: req, response }];
168
- }
169
-
170
- return [result, { status: "complete", request: req, response }];
171
- }