@orq-ai/node 4.15.6 → 4.15.9

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 (144) 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/createdataset.js +1 -1
  7. package/models/operations/createdatasetitem.js +5 -5
  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/listdatasetdatapoints.js +5 -5
  13. package/models/operations/listdatasets.js +1 -1
  14. package/models/operations/patchv2humanevalsetsid.js +2 -2
  15. package/models/operations/postv2feedbackevaluation.js +4 -4
  16. package/models/operations/postv2humanevalsets.js +2 -2
  17. package/models/operations/retrievedatapoint.js +5 -5
  18. package/models/operations/retrievedataset.js +1 -1
  19. package/models/operations/retrievetool.js +4 -4
  20. package/models/operations/runagent.js +1 -1
  21. package/models/operations/streamrunagent.js +1 -1
  22. package/models/operations/updatedatapoint.js +5 -5
  23. package/models/operations/updatedataset.js +1 -1
  24. package/models/operations/updatetool.js +4 -4
  25. package/package.json +6 -6
  26. package/packages/orq-rc/src/funcs/routerClassifyCreate.ts +1 -1
  27. package/packages/orq-rc/src/funcs/{auditLogsQuery.ts → wikisCreate.ts} +10 -16
  28. package/packages/orq-rc/src/funcs/wikisDelete.ts +162 -0
  29. package/packages/orq-rc/src/funcs/wikisGet.ts +162 -0
  30. package/packages/orq-rc/src/funcs/wikisGetPage.ts +168 -0
  31. package/packages/orq-rc/src/funcs/wikisGetTree.ts +162 -0
  32. package/packages/orq-rc/src/funcs/wikisInspectRepository.ts +157 -0
  33. package/packages/orq-rc/src/funcs/wikisList.ts +167 -0
  34. package/packages/orq-rc/src/funcs/wikisListRuns.ts +167 -0
  35. package/packages/orq-rc/src/funcs/wikisRefresh.ts +165 -0
  36. package/packages/orq-rc/src/funcs/wikisSearch.ts +168 -0
  37. package/packages/orq-rc/src/funcs/wikisUpdate.ts +163 -0
  38. package/packages/orq-rc/src/funcs/wikisUpdatePage.ts +165 -0
  39. package/packages/orq-rc/src/lib/config.ts +3 -3
  40. package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +66 -0
  41. package/packages/orq-rc/src/models/components/classifyanswer.ts +1 -1
  42. package/packages/orq-rc/src/models/components/classifyusage.ts +2 -2
  43. package/packages/orq-rc/src/models/components/createapikeyrequest.ts +3 -3
  44. package/packages/orq-rc/src/models/components/createmanagementkeyrequest.ts +3 -3
  45. package/packages/orq-rc/src/models/components/createwikirequest.ts +67 -0
  46. package/packages/orq-rc/src/models/components/createwikiresponse.ts +32 -0
  47. package/packages/orq-rc/src/models/components/deletewikiresponse.ts +27 -0
  48. package/packages/orq-rc/src/models/components/getwikipageresponse.ts +32 -0
  49. package/packages/orq-rc/src/models/components/getwikiresponse.ts +32 -0
  50. package/packages/orq-rc/src/models/components/getwikitreeresponse.ts +32 -0
  51. package/packages/orq-rc/src/models/components/index.ts +25 -8
  52. package/packages/orq-rc/src/models/components/inspectrepositorywikirequest.ts +45 -0
  53. package/packages/orq-rc/src/models/components/inspectrepositorywikiresponse.ts +38 -0
  54. package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +126 -0
  55. package/packages/orq-rc/src/models/components/listwikirunsresponse.ts +32 -0
  56. package/packages/orq-rc/src/models/components/listwikisresponse.ts +39 -0
  57. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  58. package/packages/orq-rc/src/models/components/refreshwikirequest.ts +31 -0
  59. package/packages/orq-rc/src/models/components/refreshwikiresponse.ts +32 -0
  60. package/packages/orq-rc/src/models/components/searchwikiresponse.ts +32 -0
  61. package/packages/orq-rc/src/models/components/updatewikipagerequest.ts +42 -0
  62. package/packages/orq-rc/src/models/components/updatewikipageresponse.ts +32 -0
  63. package/packages/orq-rc/src/models/components/updatewikirequest.ts +48 -0
  64. package/packages/orq-rc/src/models/components/updatewikiresponse.ts +32 -0
  65. package/packages/orq-rc/src/models/components/wiki.ts +91 -0
  66. package/packages/orq-rc/src/models/components/wikipage.ts +58 -0
  67. package/packages/orq-rc/src/models/components/wikirepository.ts +72 -0
  68. package/packages/orq-rc/src/models/components/wikirun.ts +71 -0
  69. package/packages/orq-rc/src/models/components/wikirunstats.ts +44 -0
  70. package/packages/orq-rc/src/models/components/wikisearchhit.ts +45 -0
  71. package/packages/orq-rc/src/models/components/wikisettings.ts +76 -0
  72. package/packages/orq-rc/src/models/components/wikitreepage.ts +47 -0
  73. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +222 -0
  74. package/packages/orq-rc/src/models/operations/createclassify.ts +4 -2
  75. package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
  76. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +159 -5
  77. package/packages/orq-rc/src/models/operations/createprompt.ts +143 -0
  78. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  79. package/packages/orq-rc/src/models/operations/deletewiki.ts +36 -0
  80. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +147 -0
  81. package/packages/orq-rc/src/models/operations/deploymentstream.ts +126 -0
  82. package/packages/orq-rc/src/models/operations/getallprompts.ts +63 -0
  83. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  84. package/packages/orq-rc/src/models/operations/getoneprompt.ts +63 -0
  85. package/packages/orq-rc/src/models/operations/getpromptversion.ts +65 -0
  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/getwiki.ts +32 -0
  89. package/packages/orq-rc/src/models/operations/getwikipage.ts +43 -0
  90. package/packages/orq-rc/src/models/operations/getwikitree.ts +36 -0
  91. package/packages/orq-rc/src/models/operations/index.ts +10 -0
  92. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +77 -5
  93. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  94. package/packages/orq-rc/src/models/operations/listpromptversions.ts +66 -0
  95. package/packages/orq-rc/src/models/operations/listwikiruns.ts +39 -0
  96. package/packages/orq-rc/src/models/{components/auditlogpagination.ts → operations/listwikis.ts} +19 -20
  97. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  98. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  99. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  100. package/packages/orq-rc/src/models/operations/refreshwiki.ts +41 -0
  101. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +71 -5
  102. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  103. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  104. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  105. package/packages/orq-rc/src/models/operations/searchwiki.ts +42 -0
  106. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  107. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +152 -5
  108. package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
  109. package/packages/orq-rc/src/models/operations/updateprompt.ts +143 -0
  110. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  111. package/packages/orq-rc/src/models/operations/updatewiki.ts +41 -0
  112. package/packages/orq-rc/src/models/operations/updatewikipage.ts +41 -0
  113. package/packages/orq-rc/src/sdk/classify.ts +1 -1
  114. package/packages/orq-rc/src/sdk/sdk.ts +6 -6
  115. package/packages/orq-rc/src/sdk/wikis.ts +154 -0
  116. package/src/lib/config.ts +3 -3
  117. package/src/models/components/reasoningpart.ts +1 -1
  118. package/src/models/operations/createdataset.ts +1 -1
  119. package/src/models/operations/createdatasetitem.ts +5 -5
  120. package/src/models/operations/createtool.ts +4 -4
  121. package/src/models/operations/getalltools.ts +4 -4
  122. package/src/models/operations/getv2humanevalsets.ts +2 -2
  123. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  124. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  125. package/src/models/operations/listdatasets.ts +1 -1
  126. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  127. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  128. package/src/models/operations/postv2humanevalsets.ts +2 -2
  129. package/src/models/operations/retrievedatapoint.ts +5 -5
  130. package/src/models/operations/retrievedataset.ts +1 -1
  131. package/src/models/operations/retrievetool.ts +4 -4
  132. package/src/models/operations/runagent.ts +1 -1
  133. package/src/models/operations/streamrunagent.ts +1 -1
  134. package/src/models/operations/updatedatapoint.ts +5 -5
  135. package/src/models/operations/updatedataset.ts +1 -1
  136. package/src/models/operations/updatetool.ts +4 -4
  137. package/packages/orq-rc/src/models/components/auditlog.ts +0 -122
  138. package/packages/orq-rc/src/models/components/auditlogfilter.ts +0 -51
  139. package/packages/orq-rc/src/models/components/auditlogfilterquery.ts +0 -54
  140. package/packages/orq-rc/src/models/components/auditlogsort.ts +0 -39
  141. package/packages/orq-rc/src/models/components/queryauditlogsrequest.ts +0 -64
  142. package/packages/orq-rc/src/models/components/queryauditlogsresponse.ts +0 -55
  143. package/packages/orq-rc/src/models/components/value.ts +0 -24
  144. package/packages/orq-rc/src/sdk/auditlogs.ts +0 -27
@@ -147,6 +147,20 @@ export type UpdatePromptMessagesFunction = {
147
147
  arguments?: string | undefined;
148
148
  };
149
149
 
150
+ export type UpdatePromptMessagesGoogle = {
151
+ /**
152
+ * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call. Takes precedence over the top-level `thought_signature` when both are set.
153
+ */
154
+ thoughtSignature?: string | undefined;
155
+ };
156
+
157
+ /**
158
+ * Provider-specific extra content for the tool call.
159
+ */
160
+ export type UpdatePromptMessagesExtraContent = {
161
+ google?: UpdatePromptMessagesGoogle | undefined;
162
+ };
163
+
150
164
  export type UpdatePromptMessagesToolCalls = {
151
165
  /**
152
166
  * The ID of the tool call.
@@ -161,6 +175,10 @@ export type UpdatePromptMessagesToolCalls = {
161
175
  * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
162
176
  */
163
177
  thoughtSignature?: string | undefined;
178
+ /**
179
+ * Provider-specific extra content for the tool call.
180
+ */
181
+ extraContent?: UpdatePromptMessagesExtraContent | undefined;
164
182
  };
165
183
 
166
184
  export type UpdatePromptMessagesAssistantMessage = {
@@ -2112,6 +2130,20 @@ export type UpdatePromptMessagesPromptsFunction = {
2112
2130
  arguments?: string | undefined;
2113
2131
  };
2114
2132
 
2133
+ export type UpdatePromptMessagesPromptsGoogle = {
2134
+ /**
2135
+ * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call. Takes precedence over the top-level `thought_signature` when both are set.
2136
+ */
2137
+ thoughtSignature?: string | undefined;
2138
+ };
2139
+
2140
+ /**
2141
+ * Provider-specific extra content for the tool call.
2142
+ */
2143
+ export type UpdatePromptMessagesPromptsExtraContent = {
2144
+ google?: UpdatePromptMessagesPromptsGoogle | undefined;
2145
+ };
2146
+
2115
2147
  export type UpdatePromptMessagesPromptsToolCalls = {
2116
2148
  /**
2117
2149
  * The ID of the tool call.
@@ -2126,6 +2158,10 @@ export type UpdatePromptMessagesPromptsToolCalls = {
2126
2158
  * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
2127
2159
  */
2128
2160
  thoughtSignature?: string | undefined;
2161
+ /**
2162
+ * Provider-specific extra content for the tool call.
2163
+ */
2164
+ extraContent?: UpdatePromptMessagesPromptsExtraContent | undefined;
2129
2165
  };
2130
2166
 
2131
2167
  export type UpdatePromptMessagesPromptsAssistantMessage = {
@@ -2822,12 +2858,63 @@ export function updatePromptMessagesFunctionToJSON(
2822
2858
  );
2823
2859
  }
2824
2860
 
2861
+ /** @internal */
2862
+ export type UpdatePromptMessagesGoogle$Outbound = {
2863
+ thought_signature?: string | undefined;
2864
+ };
2865
+
2866
+ /** @internal */
2867
+ export const UpdatePromptMessagesGoogle$outboundSchema: z.ZodType<
2868
+ UpdatePromptMessagesGoogle$Outbound,
2869
+ z.ZodTypeDef,
2870
+ UpdatePromptMessagesGoogle
2871
+ > = z.object({
2872
+ thoughtSignature: z.string().optional(),
2873
+ }).transform((v) => {
2874
+ return remap$(v, {
2875
+ thoughtSignature: "thought_signature",
2876
+ });
2877
+ });
2878
+
2879
+ export function updatePromptMessagesGoogleToJSON(
2880
+ updatePromptMessagesGoogle: UpdatePromptMessagesGoogle,
2881
+ ): string {
2882
+ return JSON.stringify(
2883
+ UpdatePromptMessagesGoogle$outboundSchema.parse(updatePromptMessagesGoogle),
2884
+ );
2885
+ }
2886
+
2887
+ /** @internal */
2888
+ export type UpdatePromptMessagesExtraContent$Outbound = {
2889
+ google?: UpdatePromptMessagesGoogle$Outbound | undefined;
2890
+ };
2891
+
2892
+ /** @internal */
2893
+ export const UpdatePromptMessagesExtraContent$outboundSchema: z.ZodType<
2894
+ UpdatePromptMessagesExtraContent$Outbound,
2895
+ z.ZodTypeDef,
2896
+ UpdatePromptMessagesExtraContent
2897
+ > = z.object({
2898
+ google: z.lazy(() => UpdatePromptMessagesGoogle$outboundSchema).optional(),
2899
+ });
2900
+
2901
+ export function updatePromptMessagesExtraContentToJSON(
2902
+ updatePromptMessagesExtraContent: UpdatePromptMessagesExtraContent,
2903
+ ): string {
2904
+ return JSON.stringify(
2905
+ UpdatePromptMessagesExtraContent$outboundSchema.parse(
2906
+ updatePromptMessagesExtraContent,
2907
+ ),
2908
+ );
2909
+ }
2910
+
2825
2911
  /** @internal */
2826
2912
  export type UpdatePromptMessagesToolCalls$Outbound = {
2827
2913
  id: string;
2828
2914
  type: string;
2829
2915
  function: UpdatePromptMessagesFunction$Outbound;
2830
2916
  thought_signature?: string | undefined;
2917
+ extra_content?: UpdatePromptMessagesExtraContent$Outbound | undefined;
2831
2918
  };
2832
2919
 
2833
2920
  /** @internal */
@@ -2840,9 +2927,12 @@ export const UpdatePromptMessagesToolCalls$outboundSchema: z.ZodType<
2840
2927
  type: UpdatePromptMessagesType$outboundSchema,
2841
2928
  function: z.lazy(() => UpdatePromptMessagesFunction$outboundSchema),
2842
2929
  thoughtSignature: z.string().optional(),
2930
+ extraContent: z.lazy(() => UpdatePromptMessagesExtraContent$outboundSchema)
2931
+ .optional(),
2843
2932
  }).transform((v) => {
2844
2933
  return remap$(v, {
2845
2934
  thoughtSignature: "thought_signature",
2935
+ extraContent: "extra_content",
2846
2936
  });
2847
2937
  });
2848
2938
 
@@ -5461,6 +5551,55 @@ export function updatePromptMessagesPromptsFunctionFromJSON(
5461
5551
  );
5462
5552
  }
5463
5553
 
5554
+ /** @internal */
5555
+ export const UpdatePromptMessagesPromptsGoogle$inboundSchema: z.ZodType<
5556
+ UpdatePromptMessagesPromptsGoogle,
5557
+ z.ZodTypeDef,
5558
+ unknown
5559
+ > = z.object({
5560
+ thought_signature: z.string().optional(),
5561
+ }).transform((v) => {
5562
+ return remap$(v, {
5563
+ "thought_signature": "thoughtSignature",
5564
+ });
5565
+ });
5566
+
5567
+ export function updatePromptMessagesPromptsGoogleFromJSON(
5568
+ jsonString: string,
5569
+ ): SafeParseResult<UpdatePromptMessagesPromptsGoogle, SDKValidationError> {
5570
+ return safeParse(
5571
+ jsonString,
5572
+ (x) => UpdatePromptMessagesPromptsGoogle$inboundSchema.parse(JSON.parse(x)),
5573
+ `Failed to parse 'UpdatePromptMessagesPromptsGoogle' from JSON`,
5574
+ );
5575
+ }
5576
+
5577
+ /** @internal */
5578
+ export const UpdatePromptMessagesPromptsExtraContent$inboundSchema: z.ZodType<
5579
+ UpdatePromptMessagesPromptsExtraContent,
5580
+ z.ZodTypeDef,
5581
+ unknown
5582
+ > = z.object({
5583
+ google: z.lazy(() => UpdatePromptMessagesPromptsGoogle$inboundSchema)
5584
+ .optional(),
5585
+ });
5586
+
5587
+ export function updatePromptMessagesPromptsExtraContentFromJSON(
5588
+ jsonString: string,
5589
+ ): SafeParseResult<
5590
+ UpdatePromptMessagesPromptsExtraContent,
5591
+ SDKValidationError
5592
+ > {
5593
+ return safeParse(
5594
+ jsonString,
5595
+ (x) =>
5596
+ UpdatePromptMessagesPromptsExtraContent$inboundSchema.parse(
5597
+ JSON.parse(x),
5598
+ ),
5599
+ `Failed to parse 'UpdatePromptMessagesPromptsExtraContent' from JSON`,
5600
+ );
5601
+ }
5602
+
5464
5603
  /** @internal */
5465
5604
  export const UpdatePromptMessagesPromptsToolCalls$inboundSchema: z.ZodType<
5466
5605
  UpdatePromptMessagesPromptsToolCalls,
@@ -5471,9 +5610,13 @@ export const UpdatePromptMessagesPromptsToolCalls$inboundSchema: z.ZodType<
5471
5610
  type: UpdatePromptMessagesPromptsResponseType$inboundSchema,
5472
5611
  function: z.lazy(() => UpdatePromptMessagesPromptsFunction$inboundSchema),
5473
5612
  thought_signature: z.string().optional(),
5613
+ extra_content: z.lazy(() =>
5614
+ UpdatePromptMessagesPromptsExtraContent$inboundSchema
5615
+ ).optional(),
5474
5616
  }).transform((v) => {
5475
5617
  return remap$(v, {
5476
5618
  "thought_signature": "thoughtSignature",
5619
+ "extra_content": "extraContent",
5477
5620
  });
5478
5621
  });
5479
5622
 
@@ -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_01M2T6Y9MN2TZ096F589EJGA1F"),
1767
+ _id: z.string().default("tool_01M31DF1X5PAGSSGY15CZ1ZPT0"),
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_01M2T6Y9MMAYP727X5JEFYNQ9K"),
1962
+ _id: z.string().default("tool_01M31DF1X42TCDHJ55R4KAN0FY"),
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_01M2T6Y9MM7JDPWEJRAK007G4T"),
2057
+ _id: z.string().default("tool_01M31DF1X456T3R8J5QGWKXTW3"),
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_01M2T6Y9MK2TP4M6NWYQMNE5WH"),
2160
+ _id: z.string().default("tool_01M31DF1X33PRGJDAH9792AAAP"),
2161
2161
  path: z.string(),
2162
2162
  key: z.string(),
2163
2163
  display_name: z.string().optional(),
@@ -0,0 +1,41 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import * as components from "../components/index.js";
8
+
9
+ export type UpdateWikiRequest = {
10
+ wikiId: string;
11
+ updateWikiRequest: components.UpdateWikiRequest;
12
+ };
13
+
14
+ /** @internal */
15
+ export type UpdateWikiRequest$Outbound = {
16
+ wiki_id: string;
17
+ UpdateWikiRequest: components.UpdateWikiRequest$Outbound;
18
+ };
19
+
20
+ /** @internal */
21
+ export const UpdateWikiRequest$outboundSchema: z.ZodType<
22
+ UpdateWikiRequest$Outbound,
23
+ z.ZodTypeDef,
24
+ UpdateWikiRequest
25
+ > = z.object({
26
+ wikiId: z.string(),
27
+ updateWikiRequest: components.UpdateWikiRequest$outboundSchema,
28
+ }).transform((v) => {
29
+ return remap$(v, {
30
+ wikiId: "wiki_id",
31
+ updateWikiRequest: "UpdateWikiRequest",
32
+ });
33
+ });
34
+
35
+ export function updateWikiRequestToJSON(
36
+ updateWikiRequest: UpdateWikiRequest,
37
+ ): string {
38
+ return JSON.stringify(
39
+ UpdateWikiRequest$outboundSchema.parse(updateWikiRequest),
40
+ );
41
+ }
@@ -0,0 +1,41 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import * as components from "../components/index.js";
8
+
9
+ export type UpdateWikiPageRequest = {
10
+ wikiId: string;
11
+ updateWikiPageRequest: components.UpdateWikiPageRequest;
12
+ };
13
+
14
+ /** @internal */
15
+ export type UpdateWikiPageRequest$Outbound = {
16
+ wiki_id: string;
17
+ UpdateWikiPageRequest: components.UpdateWikiPageRequest$Outbound;
18
+ };
19
+
20
+ /** @internal */
21
+ export const UpdateWikiPageRequest$outboundSchema: z.ZodType<
22
+ UpdateWikiPageRequest$Outbound,
23
+ z.ZodTypeDef,
24
+ UpdateWikiPageRequest
25
+ > = z.object({
26
+ wikiId: z.string(),
27
+ updateWikiPageRequest: components.UpdateWikiPageRequest$outboundSchema,
28
+ }).transform((v) => {
29
+ return remap$(v, {
30
+ wikiId: "wiki_id",
31
+ updateWikiPageRequest: "UpdateWikiPageRequest",
32
+ });
33
+ });
34
+
35
+ export function updateWikiPageRequestToJSON(
36
+ updateWikiPageRequest: UpdateWikiPageRequest,
37
+ ): string {
38
+ return JSON.stringify(
39
+ UpdateWikiPageRequest$outboundSchema.parse(updateWikiPageRequest),
40
+ );
41
+ }
@@ -12,7 +12,7 @@ export class Classify extends ClientSDK {
12
12
  * Classify
13
13
  *
14
14
  * @remarks
15
- * **Beta.** Runs typed classification questions (`noul`, `choice`, `score`) against a classify model such as `typesafe/jev-latest`. The request and response proxy the TypeSafe classification contract 1:1; `model` in the response is the orq model id that served the request and `usage` carries the computed cost like the Responses API. This endpoint currently does not apply PII plugins or guardrails.
15
+ * **Beta.** Runs typed classification questions (`noul`, `choice`, `score`) against 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`. Chat models answer through one structured-output call and their probabilities are model-reported rather than calibrated. The request and response follow the TypeSafe classification contract; `model` in the response echoes the request and `usage` carries the computed cost like the Responses API. This endpoint currently does not apply PII plugins or guardrails.
16
16
  */
17
17
  async create(
18
18
  request: operations.CreateClassifyRequestBody,
@@ -8,7 +8,6 @@ import { Alerts } from "./alerts.js";
8
8
  import { AnnotationQueues } from "./annotationqueues.js";
9
9
  import { Annotations } from "./annotations.js";
10
10
  import { ApiKeys } from "./apikeys.js";
11
- import { AuditLogs } from "./auditlogs.js";
12
11
  import { Budgets } from "./budgets.js";
13
12
  import { Chunking } from "./chunking.js";
14
13
  import { Datasets } from "./datasets.js";
@@ -46,6 +45,7 @@ import { Telemetry } from "./telemetry.js";
46
45
  import { Tools } from "./tools.js";
47
46
  import { Traces } from "./traces.js";
48
47
  import { Webhooks } from "./webhooks.js";
48
+ import { Wikis } from "./wikis.js";
49
49
  import { Workspaces } from "./workspaces.js";
50
50
  import { WorkspaceSecurity } from "./workspacesecurity.js";
51
51
  import { WorkspaceSettings } from "./workspacesettings.js";
@@ -171,11 +171,6 @@ export class Orq extends ClientSDK {
171
171
  return (this._apiKeys ??= new ApiKeys(this._options));
172
172
  }
173
173
 
174
- private _auditLogs?: AuditLogs;
175
- get auditLogs(): AuditLogs {
176
- return (this._auditLogs ??= new AuditLogs(this._options));
177
- }
178
-
179
174
  private _budgets?: Budgets;
180
175
  get budgets(): Budgets {
181
176
  return (this._budgets ??= new Budgets(this._options));
@@ -256,6 +251,11 @@ export class Orq extends ClientSDK {
256
251
  return (this._webhooks ??= new Webhooks(this._options));
257
252
  }
258
253
 
254
+ private _wikis?: Wikis;
255
+ get wikis(): Wikis {
256
+ return (this._wikis ??= new Wikis(this._options));
257
+ }
258
+
259
259
  private _workspaces?: Workspaces;
260
260
  get workspaces(): Workspaces {
261
261
  return (this._workspaces ??= new Workspaces(this._options));
@@ -0,0 +1,154 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { wikisCreate } from "../funcs/wikisCreate.js";
6
+ import { wikisDelete } from "../funcs/wikisDelete.js";
7
+ import { wikisGet } from "../funcs/wikisGet.js";
8
+ import { wikisGetPage } from "../funcs/wikisGetPage.js";
9
+ import { wikisGetTree } from "../funcs/wikisGetTree.js";
10
+ import { wikisInspectRepository } from "../funcs/wikisInspectRepository.js";
11
+ import { wikisList } from "../funcs/wikisList.js";
12
+ import { wikisListRuns } from "../funcs/wikisListRuns.js";
13
+ import { wikisRefresh } from "../funcs/wikisRefresh.js";
14
+ import { wikisSearch } from "../funcs/wikisSearch.js";
15
+ import { wikisUpdate } from "../funcs/wikisUpdate.js";
16
+ import { wikisUpdatePage } from "../funcs/wikisUpdatePage.js";
17
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
18
+ import * as components from "../models/components/index.js";
19
+ import * as operations from "../models/operations/index.js";
20
+ import { unwrapAsync } from "../types/fp.js";
21
+
22
+ export class Wikis extends ClientSDK {
23
+ async list(
24
+ request?: operations.ListWikisRequest | undefined,
25
+ options?: RequestOptions,
26
+ ): Promise<components.ListWikisResponse> {
27
+ return unwrapAsync(wikisList(
28
+ this,
29
+ request,
30
+ options,
31
+ ));
32
+ }
33
+
34
+ async create(
35
+ request: components.CreateWikiRequest,
36
+ options?: RequestOptions,
37
+ ): Promise<components.CreateWikiResponse> {
38
+ return unwrapAsync(wikisCreate(
39
+ this,
40
+ request,
41
+ options,
42
+ ));
43
+ }
44
+
45
+ async inspectRepository(
46
+ request: components.InspectRepositoryWikiRequest,
47
+ options?: RequestOptions,
48
+ ): Promise<components.InspectRepositoryWikiResponse> {
49
+ return unwrapAsync(wikisInspectRepository(
50
+ this,
51
+ request,
52
+ options,
53
+ ));
54
+ }
55
+
56
+ async get(
57
+ request: operations.GetWikiRequest,
58
+ options?: RequestOptions,
59
+ ): Promise<components.GetWikiResponse> {
60
+ return unwrapAsync(wikisGet(
61
+ this,
62
+ request,
63
+ options,
64
+ ));
65
+ }
66
+
67
+ async delete(
68
+ request: operations.DeleteWikiRequest,
69
+ options?: RequestOptions,
70
+ ): Promise<components.DeleteWikiResponse> {
71
+ return unwrapAsync(wikisDelete(
72
+ this,
73
+ request,
74
+ options,
75
+ ));
76
+ }
77
+
78
+ async update(
79
+ request: operations.UpdateWikiRequest,
80
+ options?: RequestOptions,
81
+ ): Promise<components.UpdateWikiResponse> {
82
+ return unwrapAsync(wikisUpdate(
83
+ this,
84
+ request,
85
+ options,
86
+ ));
87
+ }
88
+
89
+ async getPage(
90
+ request: operations.GetWikiPageRequest,
91
+ options?: RequestOptions,
92
+ ): Promise<components.GetWikiPageResponse> {
93
+ return unwrapAsync(wikisGetPage(
94
+ this,
95
+ request,
96
+ options,
97
+ ));
98
+ }
99
+
100
+ async updatePage(
101
+ request: operations.UpdateWikiPageRequest,
102
+ options?: RequestOptions,
103
+ ): Promise<components.UpdateWikiPageResponse> {
104
+ return unwrapAsync(wikisUpdatePage(
105
+ this,
106
+ request,
107
+ options,
108
+ ));
109
+ }
110
+
111
+ async refresh(
112
+ request: operations.RefreshWikiRequest,
113
+ options?: RequestOptions,
114
+ ): Promise<components.RefreshWikiResponse> {
115
+ return unwrapAsync(wikisRefresh(
116
+ this,
117
+ request,
118
+ options,
119
+ ));
120
+ }
121
+
122
+ async listRuns(
123
+ request: operations.ListWikiRunsRequest,
124
+ options?: RequestOptions,
125
+ ): Promise<components.ListWikiRunsResponse> {
126
+ return unwrapAsync(wikisListRuns(
127
+ this,
128
+ request,
129
+ options,
130
+ ));
131
+ }
132
+
133
+ async search(
134
+ request: operations.SearchWikiRequest,
135
+ options?: RequestOptions,
136
+ ): Promise<components.SearchWikiResponse> {
137
+ return unwrapAsync(wikisSearch(
138
+ this,
139
+ request,
140
+ options,
141
+ ));
142
+ }
143
+
144
+ async getTree(
145
+ request: operations.GetWikiTreeRequest,
146
+ options?: RequestOptions,
147
+ ): Promise<components.GetWikiTreeResponse> {
148
+ return unwrapAsync(wikisGetTree(
149
+ this,
150
+ request,
151
+ options,
152
+ ));
153
+ }
154
+ }
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.15.6",
62
- genVersion: "2.937.18",
63
- userAgent: "speakeasy-sdk/typescript 4.15.6 2.937.18 2.0 @orq-ai/node",
61
+ sdkVersion: "4.15.9",
62
+ genVersion: "2.938.0",
63
+ userAgent: "speakeasy-sdk/typescript 4.15.9 2.938.0 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_01m2tethk5t2hakj5fqbyhra4x"),
43
+ _id: z.string().default("reasoning_01m325wmn8tq06f3gncqdhbefj"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
138
138
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
139
139
  .optional(),
140
140
  updated: z.string().datetime({ offset: true }).default(
141
- "2026-09-18T14:30:38.856Z",
141
+ "2026-09-21T14:28:24.208Z",
142
142
  ).transform(v => new Date(v)),
143
143
  }).transform((v) => {
144
144
  return remap$(v, {
@@ -2739,7 +2739,7 @@ export const Evaluations4$inboundSchema: z.ZodType<
2739
2739
  explanation: z.string().optional(),
2740
2740
  reviewed_by_id: z.string(),
2741
2741
  reviewed_at: z.string().datetime({ offset: true }).default(
2742
- "2026-09-18T14:30:44.159Z",
2742
+ "2026-09-21T14:28:31.146Z",
2743
2743
  ).transform(v => new Date(v)),
2744
2744
  type: z.literal("string_array"),
2745
2745
  values: z.array(z.string()),
@@ -2829,7 +2829,7 @@ export const CreateDatasetItemEvaluations3$inboundSchema: z.ZodType<
2829
2829
  explanation: z.string().optional(),
2830
2830
  reviewed_by_id: z.string(),
2831
2831
  reviewed_at: z.string().datetime({ offset: true }).default(
2832
- "2026-09-18T14:30:44.159Z",
2832
+ "2026-09-21T14:28:31.146Z",
2833
2833
  ).transform(v => new Date(v)),
2834
2834
  type: z.literal("boolean"),
2835
2835
  value: z.boolean(),
@@ -2914,7 +2914,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
2914
2914
  explanation: z.string().optional(),
2915
2915
  reviewed_by_id: z.string(),
2916
2916
  reviewed_at: z.string().datetime({ offset: true }).default(
2917
- "2026-09-18T14:30:44.159Z",
2917
+ "2026-09-21T14:28:31.146Z",
2918
2918
  ).transform(v => new Date(v)),
2919
2919
  type: z.literal("number"),
2920
2920
  value: z.number(),
@@ -3000,7 +3000,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
3000
3000
  explanation: z.string().optional(),
3001
3001
  reviewed_by_id: z.string(),
3002
3002
  reviewed_at: z.string().datetime({ offset: true }).default(
3003
- "2026-09-18T14:30:44.159Z",
3003
+ "2026-09-21T14:28:31.146Z",
3004
3004
  ).transform(v => new Date(v)),
3005
3005
  type: z.literal("string"),
3006
3006
  value: z.string(),
@@ -3087,7 +3087,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
3087
3087
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
3088
3088
  .optional(),
3089
3089
  updated: z.string().datetime({ offset: true }).default(
3090
- "2026-09-18T14:30:38.856Z",
3090
+ "2026-09-21T14:28:24.208Z",
3091
3091
  ).transform(v => new Date(v)),
3092
3092
  }).transform((v) => {
3093
3093
  return remap$(v, {
@@ -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_01M2TETHND5RHPCPJZYJND1Y5N"),
1578
+ _id: z.string().default("tool_01M325WMRFA1ES9TT20RDVEK7S"),
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_01M2TETHND8ZY8TG085Y9E532Y"),
1764
+ _id: z.string().default("tool_01M325WMREETFSEBNB3K876GK8"),
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_01M2TETHNDX5E1B7DG7P3JG41Z"),
1857
+ _id: z.string().default("tool_01M325WMREXMZBN7SWJVAPZ4D7"),
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_01M2TETHNCSTS2V4AE4HM3DH9K"),
1958
+ _id: z.string().default("tool_01M325WMRD9PW07RWWMQZBJARH"),
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_01M2TETHNA4TSNKTNCT8W6DZH2"),
642
+ _id: z.string().default("tool_01M325WMRA1KMP5ATE7SN5BFHH"),
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_01M2TETHNAYDFZ66306KBK0NM0"),
824
+ _id: z.string().default("tool_01M325WMR9DVATJW9TWBBXWMPK"),
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_01M2TETHN9SMT54S41W4TBQD64"),
917
+ _id: z.string().default("tool_01M325WMR9C3XWF98NJYMMB3Q2"),
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_01M2TETHN986JH5YZSAYVT7DJP"),
1015
+ _id: z.string().default("tool_01M325WMR8Q0HGE57ZW043KTQ3"),
1016
1016
  path: z.string(),
1017
1017
  key: z.string(),
1018
1018
  display_name: z.string().optional(),