syllable-sdk 0.1.0-alpha.45 → 0.1.0-alpha.47

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 (215) hide show
  1. package/README.md +34 -0
  2. package/docs/sdks/insights/README.md +6 -0
  3. package/docs/sdks/summary/README.md +85 -0
  4. package/docs/sdks/syllablesdktools/README.md +411 -0
  5. package/docs/sdks/workflows/README.md +429 -0
  6. package/funcs/insightsToolsCreate.d.ts +16 -0
  7. package/funcs/insightsToolsCreate.d.ts.map +1 -0
  8. package/funcs/insightsToolsCreate.js +102 -0
  9. package/funcs/insightsToolsCreate.js.map +1 -0
  10. package/funcs/insightsToolsGetById.d.ts +17 -0
  11. package/funcs/insightsToolsGetById.d.ts.map +1 -0
  12. package/funcs/insightsToolsGetById.js +108 -0
  13. package/funcs/insightsToolsGetById.js.map +1 -0
  14. package/funcs/insightsToolsInsightToolGetDefinitions.d.ts +15 -0
  15. package/funcs/insightsToolsInsightToolGetDefinitions.d.ts.map +1 -0
  16. package/funcs/insightsToolsInsightToolGetDefinitions.js +89 -0
  17. package/funcs/insightsToolsInsightToolGetDefinitions.js.map +1 -0
  18. package/funcs/insightsToolsList.d.ts +17 -0
  19. package/funcs/insightsToolsList.d.ts.map +1 -0
  20. package/funcs/insightsToolsList.js +114 -0
  21. package/funcs/insightsToolsList.js.map +1 -0
  22. package/funcs/insightsToolsUpdate.d.ts +17 -0
  23. package/funcs/insightsToolsUpdate.d.ts.map +1 -0
  24. package/funcs/insightsToolsUpdate.js +109 -0
  25. package/funcs/insightsToolsUpdate.js.map +1 -0
  26. package/funcs/insightsWorkflowsCreate.d.ts +16 -0
  27. package/funcs/insightsWorkflowsCreate.d.ts.map +1 -0
  28. package/funcs/insightsWorkflowsCreate.js +102 -0
  29. package/funcs/insightsWorkflowsCreate.js.map +1 -0
  30. package/funcs/insightsWorkflowsDelete.d.ts +16 -0
  31. package/funcs/insightsWorkflowsDelete.d.ts.map +1 -0
  32. package/funcs/insightsWorkflowsDelete.js +108 -0
  33. package/funcs/insightsWorkflowsDelete.js.map +1 -0
  34. package/funcs/insightsWorkflowsGetById.d.ts +17 -0
  35. package/funcs/insightsWorkflowsGetById.d.ts.map +1 -0
  36. package/funcs/insightsWorkflowsGetById.js +108 -0
  37. package/funcs/insightsWorkflowsGetById.js.map +1 -0
  38. package/funcs/insightsWorkflowsList.d.ts +17 -0
  39. package/funcs/insightsWorkflowsList.d.ts.map +1 -0
  40. package/funcs/insightsWorkflowsList.js +114 -0
  41. package/funcs/insightsWorkflowsList.js.map +1 -0
  42. package/funcs/insightsWorkflowsUpdate.d.ts +17 -0
  43. package/funcs/insightsWorkflowsUpdate.d.ts.map +1 -0
  44. package/funcs/insightsWorkflowsUpdate.js +111 -0
  45. package/funcs/insightsWorkflowsUpdate.js.map +1 -0
  46. package/funcs/sessionsSummaryGetById.d.ts +13 -0
  47. package/funcs/sessionsSummaryGetById.d.ts.map +1 -0
  48. package/funcs/sessionsSummaryGetById.js +105 -0
  49. package/funcs/sessionsSummaryGetById.js.map +1 -0
  50. package/jsr.json +1 -1
  51. package/lib/config.d.ts +2 -2
  52. package/lib/config.js +2 -2
  53. package/mintlify/mint.json +5 -2
  54. package/models/components/datasourcecreaterequest.d.ts +1 -1
  55. package/models/components/datasourcedetailresponse.d.ts +1 -1
  56. package/models/components/datasourcemetadataresponse.d.ts +1 -1
  57. package/models/components/datasourceupdaterequest.d.ts +1 -1
  58. package/models/components/index.d.ts +10 -0
  59. package/models/components/index.d.ts.map +1 -1
  60. package/models/components/index.js +10 -0
  61. package/models/components/index.js.map +1 -1
  62. package/models/components/insighttooldefinition.d.ts +105 -0
  63. package/models/components/insighttooldefinition.d.ts.map +1 -0
  64. package/models/components/insighttooldefinition.js +126 -0
  65. package/models/components/insighttooldefinition.js.map +1 -0
  66. package/models/components/insighttoolinput.d.ts +76 -0
  67. package/models/components/insighttoolinput.d.ts.map +1 -0
  68. package/models/components/insighttoolinput.js +101 -0
  69. package/models/components/insighttoolinput.js.map +1 -0
  70. package/models/components/insighttooloutput.d.ts +102 -0
  71. package/models/components/insighttooloutput.d.ts.map +1 -0
  72. package/models/components/insighttooloutput.js +124 -0
  73. package/models/components/insighttooloutput.js.map +1 -0
  74. package/models/components/insighttoolproperties.d.ts +40 -0
  75. package/models/components/insighttoolproperties.d.ts.map +1 -0
  76. package/models/components/insighttoolproperties.js +54 -0
  77. package/models/components/insighttoolproperties.js.map +1 -0
  78. package/models/components/insightworkflowinput.d.ts +76 -0
  79. package/models/components/insightworkflowinput.d.ts.map +1 -0
  80. package/models/components/insightworkflowinput.js +99 -0
  81. package/models/components/insightworkflowinput.js.map +1 -0
  82. package/models/components/insightworkflowoutput.d.ts +102 -0
  83. package/models/components/insightworkflowoutput.d.ts.map +1 -0
  84. package/models/components/insightworkflowoutput.js +120 -0
  85. package/models/components/insightworkflowoutput.js.map +1 -0
  86. package/models/components/insightworkflowproperties.d.ts +43 -0
  87. package/models/components/insightworkflowproperties.d.ts.map +1 -0
  88. package/models/components/insightworkflowproperties.js +55 -0
  89. package/models/components/insightworkflowproperties.js.map +1 -0
  90. package/models/components/listresponseinsighttooloutput.d.ts +38 -0
  91. package/models/components/listresponseinsighttooloutput.d.ts.map +1 -0
  92. package/models/components/listresponseinsighttooloutput.js +81 -0
  93. package/models/components/listresponseinsighttooloutput.js.map +1 -0
  94. package/models/components/listresponseinsightworkflowoutput.d.ts +38 -0
  95. package/models/components/listresponseinsightworkflowoutput.d.ts.map +1 -0
  96. package/models/components/listresponseinsightworkflowoutput.js +81 -0
  97. package/models/components/listresponseinsightworkflowoutput.js.map +1 -0
  98. package/models/components/toolagentinfo.d.ts +40 -0
  99. package/models/components/toolagentinfo.d.ts.map +1 -0
  100. package/models/components/toolagentinfo.js +61 -0
  101. package/models/components/toolagentinfo.js.map +1 -0
  102. package/models/components/tooldetailresponse.d.ts +6 -0
  103. package/models/components/tooldetailresponse.d.ts.map +1 -1
  104. package/models/components/tooldetailresponse.js +5 -0
  105. package/models/components/tooldetailresponse.js.map +1 -1
  106. package/models/components/toolresponse.d.ts +6 -0
  107. package/models/components/toolresponse.d.ts.map +1 -1
  108. package/models/components/toolresponse.js +5 -0
  109. package/models/components/toolresponse.js.map +1 -1
  110. package/models/operations/directoryworkflowdelete.d.ts +29 -0
  111. package/models/operations/directoryworkflowdelete.d.ts.map +1 -0
  112. package/models/operations/directoryworkflowdelete.js +68 -0
  113. package/models/operations/directoryworkflowdelete.js.map +1 -0
  114. package/models/operations/index.d.ts +8 -0
  115. package/models/operations/index.d.ts.map +1 -1
  116. package/models/operations/index.js +8 -0
  117. package/models/operations/index.js.map +1 -1
  118. package/models/operations/insightstoolupdate.d.ts +32 -0
  119. package/models/operations/insightstoolupdate.d.ts.map +1 -0
  120. package/models/operations/insightstoolupdate.js +73 -0
  121. package/models/operations/insightstoolupdate.js.map +1 -0
  122. package/models/operations/insightsworkflowgetbyid.d.ts +29 -0
  123. package/models/operations/insightsworkflowgetbyid.d.ts.map +1 -0
  124. package/models/operations/insightsworkflowgetbyid.js +68 -0
  125. package/models/operations/insightsworkflowgetbyid.js.map +1 -0
  126. package/models/operations/insightsworkflowlist.d.ts +46 -0
  127. package/models/operations/insightsworkflowlist.d.ts.map +1 -0
  128. package/models/operations/insightsworkflowlist.js +101 -0
  129. package/models/operations/insightsworkflowlist.js.map +1 -0
  130. package/models/operations/insightsworkflowupdate.d.ts +32 -0
  131. package/models/operations/insightsworkflowupdate.d.ts.map +1 -0
  132. package/models/operations/insightsworkflowupdate.js +73 -0
  133. package/models/operations/insightsworkflowupdate.js.map +1 -0
  134. package/models/operations/insighttoolgetbyid.d.ts +29 -0
  135. package/models/operations/insighttoolgetbyid.d.ts.map +1 -0
  136. package/models/operations/insighttoolgetbyid.js +68 -0
  137. package/models/operations/insighttoolgetbyid.js.map +1 -0
  138. package/models/operations/insighttoollist.d.ts +46 -0
  139. package/models/operations/insighttoollist.d.ts.map +1 -0
  140. package/models/operations/insighttoollist.js +103 -0
  141. package/models/operations/insighttoollist.js.map +1 -0
  142. package/models/operations/sessionsummarygetbyid.d.ts +29 -0
  143. package/models/operations/sessionsummarygetbyid.d.ts.map +1 -0
  144. package/models/operations/sessionsummarygetbyid.js +68 -0
  145. package/models/operations/sessionsummarygetbyid.js.map +1 -0
  146. package/openapi.json +1315 -35
  147. package/package.json +1 -1
  148. package/sdk/insights.d.ts +10 -0
  149. package/sdk/insights.d.ts.map +1 -0
  150. package/sdk/insights.js +19 -0
  151. package/sdk/insights.js.map +1 -0
  152. package/sdk/sdk.d.ts +3 -0
  153. package/sdk/sdk.d.ts.map +1 -1
  154. package/sdk/sdk.js +4 -0
  155. package/sdk/sdk.js.map +1 -1
  156. package/sdk/sessions.d.ts +3 -0
  157. package/sdk/sessions.d.ts.map +1 -1
  158. package/sdk/sessions.js +4 -0
  159. package/sdk/sessions.js.map +1 -1
  160. package/sdk/summary.d.ts +9 -0
  161. package/sdk/summary.d.ts.map +1 -0
  162. package/sdk/summary.js +19 -0
  163. package/sdk/summary.js.map +1 -0
  164. package/sdk/syllablesdktools.d.ts +41 -0
  165. package/sdk/syllablesdktools.d.ts.map +1 -0
  166. package/sdk/syllablesdktools.js +62 -0
  167. package/sdk/syllablesdktools.js.map +1 -0
  168. package/sdk/workflows.d.ts +41 -0
  169. package/sdk/workflows.d.ts.map +1 -0
  170. package/sdk/workflows.js +62 -0
  171. package/sdk/workflows.js.map +1 -0
  172. package/src/funcs/insightsToolsCreate.ts +135 -0
  173. package/src/funcs/insightsToolsGetById.ts +142 -0
  174. package/src/funcs/insightsToolsInsightToolGetDefinitions.ts +112 -0
  175. package/src/funcs/insightsToolsList.ts +148 -0
  176. package/src/funcs/insightsToolsUpdate.ts +143 -0
  177. package/src/funcs/insightsWorkflowsCreate.ts +135 -0
  178. package/src/funcs/insightsWorkflowsDelete.ts +145 -0
  179. package/src/funcs/insightsWorkflowsGetById.ts +145 -0
  180. package/src/funcs/insightsWorkflowsList.ts +149 -0
  181. package/src/funcs/insightsWorkflowsUpdate.ts +148 -0
  182. package/src/funcs/sessionsSummaryGetById.ts +140 -0
  183. package/src/lib/config.ts +2 -2
  184. package/src/models/components/datasourcecreaterequest.ts +1 -1
  185. package/src/models/components/datasourcedetailresponse.ts +1 -1
  186. package/src/models/components/datasourcemetadataresponse.ts +1 -1
  187. package/src/models/components/datasourceupdaterequest.ts +1 -1
  188. package/src/models/components/index.ts +10 -0
  189. package/src/models/components/insighttooldefinition.ts +213 -0
  190. package/src/models/components/insighttoolinput.ts +163 -0
  191. package/src/models/components/insighttooloutput.ts +210 -0
  192. package/src/models/components/insighttoolproperties.ts +37 -0
  193. package/src/models/components/insightworkflowinput.ts +161 -0
  194. package/src/models/components/insightworkflowoutput.ts +206 -0
  195. package/src/models/components/insightworkflowproperties.ts +40 -0
  196. package/src/models/components/listresponseinsighttooloutput.ts +103 -0
  197. package/src/models/components/listresponseinsightworkflowoutput.ts +104 -0
  198. package/src/models/components/toolagentinfo.ts +75 -0
  199. package/src/models/components/tooldetailresponse.ts +15 -0
  200. package/src/models/components/toolresponse.ts +15 -0
  201. package/src/models/operations/directoryworkflowdelete.ts +77 -0
  202. package/src/models/operations/index.ts +8 -0
  203. package/src/models/operations/insightstoolupdate.ts +82 -0
  204. package/src/models/operations/insightsworkflowgetbyid.ts +77 -0
  205. package/src/models/operations/insightsworkflowlist.ts +130 -0
  206. package/src/models/operations/insightsworkflowupdate.ts +84 -0
  207. package/src/models/operations/insighttoolgetbyid.ts +75 -0
  208. package/src/models/operations/insighttoollist.ts +126 -0
  209. package/src/models/operations/sessionsummarygetbyid.ts +77 -0
  210. package/src/sdk/insights.ts +19 -0
  211. package/src/sdk/sdk.ts +6 -0
  212. package/src/sdk/sessions.ts +6 -0
  213. package/src/sdk/summary.ts +24 -0
  214. package/src/sdk/syllablesdktools.ts +98 -0
  215. package/src/sdk/workflows.ts +100 -0
@@ -0,0 +1,100 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { insightsWorkflowsCreate } from "../funcs/insightsWorkflowsCreate.js";
6
+ import { insightsWorkflowsDelete } from "../funcs/insightsWorkflowsDelete.js";
7
+ import { insightsWorkflowsGetById } from "../funcs/insightsWorkflowsGetById.js";
8
+ import { insightsWorkflowsList } from "../funcs/insightsWorkflowsList.js";
9
+ import { insightsWorkflowsUpdate } from "../funcs/insightsWorkflowsUpdate.js";
10
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
11
+ import * as components from "../models/components/index.js";
12
+ import * as operations from "../models/operations/index.js";
13
+ import { unwrapAsync } from "../types/fp.js";
14
+
15
+ export class Workflows extends ClientSDK {
16
+ /**
17
+ * Insight Workflow List
18
+ *
19
+ * @remarks
20
+ * List the existing insight_workflows
21
+ */
22
+ async list(
23
+ request: operations.InsightsWorkflowListRequest,
24
+ options?: RequestOptions,
25
+ ): Promise<components.ListResponseInsightWorkflowOutput> {
26
+ return unwrapAsync(insightsWorkflowsList(
27
+ this,
28
+ request,
29
+ options,
30
+ ));
31
+ }
32
+
33
+ /**
34
+ * Create Insight Workflow
35
+ *
36
+ * @remarks
37
+ * Create a new tool in the insights
38
+ */
39
+ async create(
40
+ request: components.InsightWorkflowInput,
41
+ options?: RequestOptions,
42
+ ): Promise<components.InsightWorkflowOutput> {
43
+ return unwrapAsync(insightsWorkflowsCreate(
44
+ this,
45
+ request,
46
+ options,
47
+ ));
48
+ }
49
+
50
+ /**
51
+ * Get Insight Workflow By Id
52
+ *
53
+ * @remarks
54
+ * Get a InsightWorkflow by ID.
55
+ */
56
+ async getById(
57
+ request: operations.InsightsWorkflowGetByIdRequest,
58
+ options?: RequestOptions,
59
+ ): Promise<components.InsightWorkflowOutput> {
60
+ return unwrapAsync(insightsWorkflowsGetById(
61
+ this,
62
+ request,
63
+ options,
64
+ ));
65
+ }
66
+
67
+ /**
68
+ * Update Insights Workflow
69
+ *
70
+ * @remarks
71
+ * Update a InsightWorkflow.
72
+ */
73
+ async update(
74
+ request: operations.InsightsWorkflowUpdateRequest,
75
+ options?: RequestOptions,
76
+ ): Promise<components.InsightWorkflowOutput> {
77
+ return unwrapAsync(insightsWorkflowsUpdate(
78
+ this,
79
+ request,
80
+ options,
81
+ ));
82
+ }
83
+
84
+ /**
85
+ * Delete Insights Workflow
86
+ *
87
+ * @remarks
88
+ * Delete a Insights workflow.
89
+ */
90
+ async delete(
91
+ request: operations.DirectoryWorkflowDeleteRequest,
92
+ options?: RequestOptions,
93
+ ): Promise<any> {
94
+ return unwrapAsync(insightsWorkflowsDelete(
95
+ this,
96
+ request,
97
+ options,
98
+ ));
99
+ }
100
+ }