@pikku/addon-microsoft-one-drive 0.0.2

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 (271) hide show
  1. package/README.md +12 -0
  2. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +67 -0
  3. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
  4. package/dist/.pikku/addon/pikku-addon-types.gen.js +78 -0
  5. package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
  6. package/dist/.pikku/addon/pikku-addon-types.gen.ts +106 -0
  7. package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
  8. package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
  9. package/dist/.pikku/addon/pikku-package.gen.js +11 -0
  10. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
  11. package/dist/.pikku/addon/pikku-package.gen.ts +13 -0
  12. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
  13. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
  14. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
  15. package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
  16. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
  17. package/dist/.pikku/agent/pikku-agent-types.gen.ts +82 -0
  18. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
  19. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
  20. package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
  21. package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
  22. package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
  23. package/dist/.pikku/console/pikku-addon-meta.gen.json +14 -0
  24. package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
  25. package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
  26. package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
  27. package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
  28. package/dist/.pikku/console/pikku-node-types.gen.ts +8 -0
  29. package/dist/.pikku/credentials/pikku-credentials-meta.gen.json +20 -0
  30. package/dist/.pikku/credentials/pikku-credentials.gen.d.ts +15 -0
  31. package/dist/.pikku/credentials/pikku-credentials.gen.d.ts.map +1 -0
  32. package/dist/.pikku/credentials/pikku-credentials.gen.js +13 -0
  33. package/dist/.pikku/credentials/pikku-credentials.gen.js.map +1 -0
  34. package/dist/.pikku/credentials/pikku-credentials.gen.ts +23 -0
  35. package/dist/.pikku/function/pikku-function-types.gen.d.ts +490 -0
  36. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
  37. package/dist/.pikku/function/pikku-function-types.gen.js +334 -0
  38. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
  39. package/dist/.pikku/function/pikku-function-types.gen.ts +754 -0
  40. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +466 -0
  41. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
  42. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
  43. package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
  44. package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
  45. package/dist/.pikku/function/pikku-functions-meta.gen.json +306 -0
  46. package/dist/.pikku/function/pikku-functions-meta.gen.ts +7 -0
  47. package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
  48. package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
  49. package/dist/.pikku/function/pikku-functions.gen.js +38 -0
  50. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
  51. package/dist/.pikku/function/pikku-functions.gen.ts +38 -0
  52. package/dist/.pikku/http/pikku-http-types.gen.d.ts +120 -0
  53. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
  54. package/dist/.pikku/http/pikku-http-types.gen.js +72 -0
  55. package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
  56. package/dist/.pikku/http/pikku-http-types.gen.ts +147 -0
  57. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
  58. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
  59. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
  60. package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
  61. package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
  62. package/dist/.pikku/pikku-bootstrap.gen.d.ts +9 -0
  63. package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
  64. package/dist/.pikku/pikku-bootstrap.gen.js +9 -0
  65. package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
  66. package/dist/.pikku/pikku-bootstrap.gen.ts +8 -0
  67. package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
  68. package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
  69. package/dist/.pikku/pikku-meta-service.gen.js +10 -0
  70. package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
  71. package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
  72. package/dist/.pikku/pikku-services.gen.d.ts +36 -0
  73. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
  74. package/dist/.pikku/pikku-services.gen.js +32 -0
  75. package/dist/.pikku/pikku-services.gen.js.map +1 -0
  76. package/dist/.pikku/pikku-services.gen.ts +45 -0
  77. package/dist/.pikku/pikku-types.gen.d.ts +12 -0
  78. package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
  79. package/dist/.pikku/pikku-types.gen.js +17 -0
  80. package/dist/.pikku/pikku-types.gen.js.map +1 -0
  81. package/dist/.pikku/pikku-types.gen.ts +21 -0
  82. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
  83. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
  84. package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
  85. package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
  86. package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
  87. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +223 -0
  88. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +239 -0
  89. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
  90. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
  91. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
  92. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
  93. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +18 -0
  94. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
  95. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
  96. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
  97. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
  98. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
  99. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
  100. package/dist/.pikku/schemas/register.gen.d.ts +2 -0
  101. package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
  102. package/dist/.pikku/schemas/register.gen.js +75 -0
  103. package/dist/.pikku/schemas/register.gen.js.map +1 -0
  104. package/dist/.pikku/schemas/register.gen.ts +143 -0
  105. package/dist/.pikku/schemas/schemas/CredentialSchema_microsoftOneDrive.schema.json +1 -0
  106. package/dist/.pikku/schemas/schemas/FileCopyInput.schema.json +1 -0
  107. package/dist/.pikku/schemas/schemas/FileCopyOutput.schema.json +1 -0
  108. package/dist/.pikku/schemas/schemas/FileDeleteInput.schema.json +1 -0
  109. package/dist/.pikku/schemas/schemas/FileDeleteOutput.schema.json +1 -0
  110. package/dist/.pikku/schemas/schemas/FileDownloadInput.schema.json +1 -0
  111. package/dist/.pikku/schemas/schemas/FileDownloadOutput.schema.json +1 -0
  112. package/dist/.pikku/schemas/schemas/FileGetInput.schema.json +1 -0
  113. package/dist/.pikku/schemas/schemas/FileGetOutput.schema.json +1 -0
  114. package/dist/.pikku/schemas/schemas/FileMoveInput.schema.json +1 -0
  115. package/dist/.pikku/schemas/schemas/FileMoveOutput.schema.json +1 -0
  116. package/dist/.pikku/schemas/schemas/FileRenameInput.schema.json +1 -0
  117. package/dist/.pikku/schemas/schemas/FileRenameOutput.schema.json +1 -0
  118. package/dist/.pikku/schemas/schemas/FileSearchInput.schema.json +1 -0
  119. package/dist/.pikku/schemas/schemas/FileSearchOutput.schema.json +1 -0
  120. package/dist/.pikku/schemas/schemas/FileShareInput.schema.json +1 -0
  121. package/dist/.pikku/schemas/schemas/FileShareOutput.schema.json +1 -0
  122. package/dist/.pikku/schemas/schemas/FileUploadInput.schema.json +1 -0
  123. package/dist/.pikku/schemas/schemas/FileUploadOutput.schema.json +1 -0
  124. package/dist/.pikku/schemas/schemas/FolderCreateInput.schema.json +1 -0
  125. package/dist/.pikku/schemas/schemas/FolderCreateOutput.schema.json +1 -0
  126. package/dist/.pikku/schemas/schemas/FolderDeleteInput.schema.json +1 -0
  127. package/dist/.pikku/schemas/schemas/FolderDeleteOutput.schema.json +1 -0
  128. package/dist/.pikku/schemas/schemas/FolderGetChildrenInput.schema.json +1 -0
  129. package/dist/.pikku/schemas/schemas/FolderGetChildrenOutput.schema.json +1 -0
  130. package/dist/.pikku/schemas/schemas/FolderMoveInput.schema.json +1 -0
  131. package/dist/.pikku/schemas/schemas/FolderMoveOutput.schema.json +1 -0
  132. package/dist/.pikku/schemas/schemas/FolderRenameInput.schema.json +1 -0
  133. package/dist/.pikku/schemas/schemas/FolderRenameOutput.schema.json +1 -0
  134. package/dist/.pikku/schemas/schemas/FolderSearchInput.schema.json +1 -0
  135. package/dist/.pikku/schemas/schemas/FolderSearchOutput.schema.json +1 -0
  136. package/dist/.pikku/schemas/schemas/FolderShareInput.schema.json +1 -0
  137. package/dist/.pikku/schemas/schemas/FolderShareOutput.schema.json +1 -0
  138. package/dist/.pikku/schemas/schemas/SecretSchema_microsoftOneDriveOAuthApp.schema.json +1 -0
  139. package/dist/.pikku/schemas/schemas/VariableSchema_MICROSOFT_ONE_DRIVE_BASE_URL.schema.json +1 -0
  140. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
  141. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
  142. package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
  143. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
  144. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
  145. package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +10 -0
  146. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +15 -0
  147. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
  148. package/dist/.pikku/secrets/pikku-secrets.gen.js +13 -0
  149. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
  150. package/dist/.pikku/secrets/pikku-secrets.gen.ts +23 -0
  151. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
  152. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
  153. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
  154. package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
  155. package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
  156. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
  157. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
  158. package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
  159. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
  160. package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
  161. package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
  162. package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
  163. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
  164. package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
  165. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
  166. package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
  167. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
  168. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
  169. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
  170. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
  171. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
  172. package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
  173. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
  174. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
  175. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
  176. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
  177. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
  178. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
  179. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
  180. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
  181. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
  182. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
  183. package/dist/src/functions/fileCopy.function.d.ts +41 -0
  184. package/dist/src/functions/fileCopy.function.d.ts.map +1 -0
  185. package/dist/src/functions/fileCopy.function.js +22 -0
  186. package/dist/src/functions/fileCopy.function.js.map +1 -0
  187. package/dist/src/functions/fileDelete.function.d.ts +21 -0
  188. package/dist/src/functions/fileDelete.function.d.ts.map +1 -0
  189. package/dist/src/functions/fileDelete.function.js +17 -0
  190. package/dist/src/functions/fileDelete.function.js.map +1 -0
  191. package/dist/src/functions/fileDownload.function.d.ts +13 -0
  192. package/dist/src/functions/fileDownload.function.d.ts.map +1 -0
  193. package/dist/src/functions/fileDownload.function.js +15 -0
  194. package/dist/src/functions/fileDownload.function.js.map +1 -0
  195. package/dist/src/functions/fileGet.function.d.ts +13 -0
  196. package/dist/src/functions/fileGet.function.d.ts.map +1 -0
  197. package/dist/src/functions/fileGet.function.js +15 -0
  198. package/dist/src/functions/fileGet.function.js.map +1 -0
  199. package/dist/src/functions/fileMove.function.d.ts +33 -0
  200. package/dist/src/functions/fileMove.function.d.ts.map +1 -0
  201. package/dist/src/functions/fileMove.function.js +20 -0
  202. package/dist/src/functions/fileMove.function.js.map +1 -0
  203. package/dist/src/functions/fileRename.function.d.ts +17 -0
  204. package/dist/src/functions/fileRename.function.d.ts.map +1 -0
  205. package/dist/src/functions/fileRename.function.js +16 -0
  206. package/dist/src/functions/fileRename.function.js.map +1 -0
  207. package/dist/src/functions/fileSearch.function.d.ts +13 -0
  208. package/dist/src/functions/fileSearch.function.d.ts.map +1 -0
  209. package/dist/src/functions/fileSearch.function.js +15 -0
  210. package/dist/src/functions/fileSearch.function.js.map +1 -0
  211. package/dist/src/functions/fileShare.function.d.ts +21 -0
  212. package/dist/src/functions/fileShare.function.d.ts.map +1 -0
  213. package/dist/src/functions/fileShare.function.js +17 -0
  214. package/dist/src/functions/fileShare.function.js.map +1 -0
  215. package/dist/src/functions/fileUpload.function.d.ts +21 -0
  216. package/dist/src/functions/fileUpload.function.d.ts.map +1 -0
  217. package/dist/src/functions/fileUpload.function.js +17 -0
  218. package/dist/src/functions/fileUpload.function.js.map +1 -0
  219. package/dist/src/functions/folderCreate.function.d.ts +17 -0
  220. package/dist/src/functions/folderCreate.function.d.ts.map +1 -0
  221. package/dist/src/functions/folderCreate.function.js +16 -0
  222. package/dist/src/functions/folderCreate.function.js.map +1 -0
  223. package/dist/src/functions/folderDelete.function.d.ts +21 -0
  224. package/dist/src/functions/folderDelete.function.d.ts.map +1 -0
  225. package/dist/src/functions/folderDelete.function.js +17 -0
  226. package/dist/src/functions/folderDelete.function.js.map +1 -0
  227. package/dist/src/functions/folderGetChildren.function.d.ts +13 -0
  228. package/dist/src/functions/folderGetChildren.function.d.ts.map +1 -0
  229. package/dist/src/functions/folderGetChildren.function.js +15 -0
  230. package/dist/src/functions/folderGetChildren.function.js.map +1 -0
  231. package/dist/src/functions/folderMove.function.d.ts +33 -0
  232. package/dist/src/functions/folderMove.function.d.ts.map +1 -0
  233. package/dist/src/functions/folderMove.function.js +20 -0
  234. package/dist/src/functions/folderMove.function.js.map +1 -0
  235. package/dist/src/functions/folderRename.function.d.ts +17 -0
  236. package/dist/src/functions/folderRename.function.d.ts.map +1 -0
  237. package/dist/src/functions/folderRename.function.js +16 -0
  238. package/dist/src/functions/folderRename.function.js.map +1 -0
  239. package/dist/src/functions/folderSearch.function.d.ts +13 -0
  240. package/dist/src/functions/folderSearch.function.d.ts.map +1 -0
  241. package/dist/src/functions/folderSearch.function.js +15 -0
  242. package/dist/src/functions/folderSearch.function.js.map +1 -0
  243. package/dist/src/functions/folderShare.function.d.ts +21 -0
  244. package/dist/src/functions/folderShare.function.d.ts.map +1 -0
  245. package/dist/src/functions/folderShare.function.js +17 -0
  246. package/dist/src/functions/folderShare.function.js.map +1 -0
  247. package/dist/src/index.d.ts +17 -0
  248. package/dist/src/index.d.ts.map +1 -0
  249. package/dist/src/index.js +17 -0
  250. package/dist/src/index.js.map +1 -0
  251. package/dist/src/microsoft-one-drive-api.service.d.ts +15 -0
  252. package/dist/src/microsoft-one-drive-api.service.d.ts.map +1 -0
  253. package/dist/src/microsoft-one-drive-api.service.js +193 -0
  254. package/dist/src/microsoft-one-drive-api.service.js.map +1 -0
  255. package/dist/src/microsoft-one-drive.credential.d.ts +10 -0
  256. package/dist/src/microsoft-one-drive.credential.d.ts.map +1 -0
  257. package/dist/src/microsoft-one-drive.credential.js +33 -0
  258. package/dist/src/microsoft-one-drive.credential.js.map +1 -0
  259. package/dist/src/microsoft-one-drive.types.d.ts +7 -0
  260. package/dist/src/microsoft-one-drive.types.d.ts.map +1 -0
  261. package/dist/src/microsoft-one-drive.types.js +8 -0
  262. package/dist/src/microsoft-one-drive.types.js.map +1 -0
  263. package/dist/src/microsoft-one-drive.variable.d.ts +5 -0
  264. package/dist/src/microsoft-one-drive.variable.d.ts.map +1 -0
  265. package/dist/src/microsoft-one-drive.variable.js +11 -0
  266. package/dist/src/microsoft-one-drive.variable.js.map +1 -0
  267. package/dist/src/services.d.ts +2 -0
  268. package/dist/src/services.d.ts.map +1 -0
  269. package/dist/src/services.js +7 -0
  270. package/dist/src/services.js.map +1 -0
  271. package/package.json +39 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,KAAK;IACtB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;IACjB,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,KAAK;IACpB,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,IAAI;IACf,cAAc,EAAE,KAAK;IACrB,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA;AAOV,oDAAoD;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,SAAS,EAAC,WAAW,CAAU,CAAA"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import type { SingletonServices } from '../types/application-types.d.js'
5
+ import type { Services } from '../types/application-types.d.js'
6
+
7
+ // Singleton services map: true if required, false if available but unused
8
+ export const requiredSingletonServices = {
9
+ 'agentRunService': false,
10
+ 'aiAgentRunner': false,
11
+ 'aiRunState': false,
12
+ 'aiStorage': false,
13
+ 'audit': false,
14
+ 'auditLog': false,
15
+ 'config': true,
16
+ 'content': false,
17
+ 'credentialService': false,
18
+ 'deploymentService': false,
19
+ 'emailService': false,
20
+ 'eventHub': false,
21
+ 'jwt': false,
22
+ 'logger': true,
23
+ 'metaService': false,
24
+ 'microsoftOneDrive': false,
25
+ 'queueService': false,
26
+ 'schedulerService': false,
27
+ 'schema': true,
28
+ 'secrets': true,
29
+ 'sessionStore': false,
30
+ 'variables': true,
31
+ 'workflowRunService': false,
32
+ 'workflowService': false,
33
+ } as const
34
+
35
+ // Wire services map: true if required, false if available but unused
36
+ export const requiredWireServices = {
37
+ } as const
38
+
39
+ // Type exports
40
+ export type RequiredSingletonServices = Required<Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>
41
+
42
+ export type RequiredWireServices = Partial<Services>
43
+
44
+ // Services this addon needs from the parent project
45
+ export const requiredParentServices = ["secrets","variables"] as const
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * Main type export hub - re-exports all wiring-specific types
6
+ */
7
+ export * from './function/pikku-function-types.gen.js';
8
+ export * from './trigger/pikku-trigger-types.gen.js';
9
+ export * from './console/pikku-node-types.gen.js';
10
+ export * from './secrets/pikku-secret-types.gen.js';
11
+ export * from './addon/pikku-addon-types.gen.js';
12
+ //# sourceMappingURL=pikku-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-types.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,cAAc,wCAAwC,CAAA;AAGtD,cAAc,sCAAsC,CAAA;AAGpD,cAAc,mCAAmC,CAAA;AAGjD,cAAc,qCAAqC,CAAA;AAGnD,cAAc,kCAAkC,CAAA"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * Main type export hub - re-exports all wiring-specific types
6
+ */
7
+ // Core function, middleware, and permission types
8
+ export * from './function/pikku-function-types.gen.js';
9
+ // Trigger wiring types
10
+ export * from './trigger/pikku-trigger-types.gen.js';
11
+ // Node wiring types
12
+ export * from './console/pikku-node-types.gen.js';
13
+ // Secret definition types
14
+ export * from './secrets/pikku-secret-types.gen.js';
15
+ // Addon types
16
+ export * from './addon/pikku-addon-types.gen.js';
17
+ //# sourceMappingURL=pikku-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-types.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,kDAAkD;AAClD,cAAc,wCAAwC,CAAA;AAEtD,uBAAuB;AACvB,cAAc,sCAAsC,CAAA;AAEpD,oBAAoB;AACpB,cAAc,mCAAmC,CAAA;AAEjD,0BAA0B;AAC1B,cAAc,qCAAqC,CAAA;AAEnD,cAAc;AACd,cAAc,kCAAkC,CAAA"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * Main type export hub - re-exports all wiring-specific types
6
+ */
7
+
8
+ // Core function, middleware, and permission types
9
+ export * from './function/pikku-function-types.gen.js'
10
+
11
+ // Trigger wiring types
12
+ export * from './trigger/pikku-trigger-types.gen.js'
13
+
14
+ // Node wiring types
15
+ export * from './console/pikku-node-types.gen.js'
16
+
17
+ // Secret definition types
18
+ export * from './secrets/pikku-secret-types.gen.js'
19
+
20
+ // Addon types
21
+ export * from './addon/pikku-addon-types.gen.js'
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * Queue-specific type definitions for tree-shaking optimization
6
+ */
7
+ import { CoreQueueWorker } from '@pikku/core/queue';
8
+ import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
9
+ /**
10
+ * Type definition for queue workers that process background jobs.
11
+ *
12
+ * @template In - Input type for the queue job
13
+ * @template Out - Output type for the queue job
14
+ */
15
+ type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'session' | 'rpc'>>;
16
+ /**
17
+ * Registers a queue worker with the Pikku framework.
18
+ * Workers process background jobs from queues.
19
+ *
20
+ * @param queueWorker - Queue worker definition with job handler
21
+ */
22
+ export declare const wireQueueWorker: (queueWorker: QueueWiring<any, any>) => void;
23
+ export {};
24
+ //# sourceMappingURL=pikku-queue-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-queue-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,eAAe,EAA0C,MAAM,mBAAmB,CAAA;AAC3F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAElF;;;;;GAKG;AACH,KAAK,WAAW,CAAC,EAAE,EAAE,GAAG,IAAI,eAAe,CAAC,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,KAAK,CAAC,CAAC,CAAA;AAE5F;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,aAAa,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,SAEjE,CAAA"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * Queue-specific type definitions for tree-shaking optimization
6
+ */
7
+ import { wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue';
8
+ /**
9
+ * Registers a queue worker with the Pikku framework.
10
+ * Workers process background jobs from queues.
11
+ *
12
+ * @param queueWorker - Queue worker definition with job handler
13
+ */
14
+ export const wireQueueWorker = (queueWorker) => {
15
+ wireQueueWorkerCore(queueWorker);
16
+ };
17
+ //# sourceMappingURL=pikku-queue-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-queue-types.gen.js","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAmB,eAAe,IAAI,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAW3F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,WAAkC,EAAE,EAAE;IACpE,mBAAmB,CAAC,WAAkB,CAAC,CAAA;AACzC,CAAC,CAAA"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * Queue-specific type definitions for tree-shaking optimization
6
+ */
7
+
8
+ import { CoreQueueWorker, wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue'
9
+ import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js'
10
+
11
+ /**
12
+ * Type definition for queue workers that process background jobs.
13
+ *
14
+ * @template In - Input type for the queue job
15
+ * @template Out - Output type for the queue job
16
+ */
17
+ type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'session' | 'rpc'>>
18
+
19
+ /**
20
+ * Registers a queue worker with the Pikku framework.
21
+ * Workers process background jobs from queues.
22
+ *
23
+ * @param queueWorker - Queue worker definition with job handler
24
+ */
25
+ export const wireQueueWorker = (queueWorker: QueueWiring<any, any>) => {
26
+ wireQueueWorkerCore(queueWorker as any)
27
+ }
@@ -0,0 +1,223 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * This provides the structure needed for typescript to be aware of RPCs and their return types
6
+ */
7
+
8
+
9
+
10
+
11
+
12
+ export type CredentialSchema_microsoftOneDrive = {
13
+ accessToken: string;
14
+ refreshToken?: string | undefined;
15
+ }
16
+ export type FileCopyInput = {
17
+ fileId: string;
18
+ name?: string | undefined;
19
+ parentReference?: {
20
+ id?: string | undefined;
21
+ driveId?: string | undefined;
22
+ } | undefined;
23
+ }
24
+ export type FileCopyOutput = {
25
+ location?: string | undefined;
26
+ }
27
+ export type FileDeleteInput = {
28
+ fileId: string;
29
+ }
30
+ export type FileDeleteOutput = {
31
+ success?: boolean | undefined;
32
+ }
33
+ export type FileDownloadInput = {
34
+ fileId: string;
35
+ }
36
+ export type FileDownloadOutput = string
37
+ export type FileGetInput = {
38
+ fileId: string;
39
+ }
40
+ export type FileGetOutput = {
41
+ [key: string]: unknown;
42
+ }
43
+ export type FileMoveInput = {
44
+ fileId: string;
45
+ name?: string | undefined;
46
+ parentReference?: {
47
+ id?: string | undefined;
48
+ driveId?: string | undefined;
49
+ } | undefined;
50
+ }
51
+ export type FileMoveOutput = {
52
+ [key: string]: unknown;
53
+ }
54
+ export type FileRenameInput = {
55
+ fileId: string;
56
+ name?: string | undefined;
57
+ }
58
+ export type FileRenameOutput = {
59
+ [key: string]: unknown;
60
+ }
61
+ export type FileSearchInput = {
62
+ query: string;
63
+ }
64
+ export type FileSearchOutput = {
65
+ [key: string]: unknown;
66
+ }
67
+ export type FileShareInput = {
68
+ fileId: string;
69
+ type?: string | undefined;
70
+ scope?: string | undefined;
71
+ }
72
+ export type FileShareOutput = {
73
+ [key: string]: unknown;
74
+ }
75
+ export type FileUploadInput = {
76
+ parentId: string;
77
+ fileName: string;
78
+ fileContent?: string | undefined;
79
+ }
80
+ export type FileUploadOutput = {
81
+ [key: string]: unknown;
82
+ }
83
+ export type FolderCreateInput = {
84
+ name?: string | undefined;
85
+ parentFolderId?: string | undefined;
86
+ }
87
+ export type FolderCreateOutput = {
88
+ [key: string]: unknown;
89
+ }
90
+ export type FolderDeleteInput = {
91
+ folderId: string;
92
+ }
93
+ export type FolderDeleteOutput = {
94
+ success?: boolean | undefined;
95
+ }
96
+ export type FolderGetChildrenInput = {
97
+ folderId: string;
98
+ }
99
+ export type FolderGetChildrenOutput = {
100
+ [key: string]: unknown;
101
+ }
102
+ export type FolderMoveInput = {
103
+ folderId: string;
104
+ name?: string | undefined;
105
+ parentReference?: {
106
+ id?: string | undefined;
107
+ driveId?: string | undefined;
108
+ } | undefined;
109
+ }
110
+ export type FolderMoveOutput = {
111
+ [key: string]: unknown;
112
+ }
113
+ export type FolderRenameInput = {
114
+ folderId: string;
115
+ name?: string | undefined;
116
+ }
117
+ export type FolderRenameOutput = {
118
+ [key: string]: unknown;
119
+ }
120
+ export type FolderSearchInput = {
121
+ query: string;
122
+ }
123
+ export type FolderSearchOutput = {
124
+ [key: string]: unknown;
125
+ }
126
+ export type FolderShareInput = {
127
+ folderId: string;
128
+ type?: string | undefined;
129
+ scope?: string | undefined;
130
+ }
131
+ export type FolderShareOutput = {
132
+ [key: string]: unknown;
133
+ }
134
+ export type SecretSchema_microsoftOneDriveOAuthApp = {
135
+ /** OAuth2 app client ID */
136
+ clientId: string;
137
+ /** OAuth2 app client secret */
138
+ clientSecret: string;
139
+ }
140
+ export type VariableSchema_MICROSOFT_ONE_DRIVE_BASE_URL = "https://graph.microsoft.com/v1.0"
141
+
142
+ interface RPCHandler<I, O> {
143
+ input: I;
144
+ output: O;
145
+ }
146
+
147
+ export type RPCMap = {
148
+ };
149
+
150
+
151
+
152
+ // No addon packages, use RPCMap directly
153
+ export type FlattenedRPCMap = RPCMap
154
+
155
+ type IsAny<T> = 0 extends (1 & T) ? true : false
156
+ type IsVoidishInput<T> = IsAny<T> extends true
157
+ ? false
158
+ : [T] extends [void | null | undefined]
159
+ ? true
160
+ : false
161
+
162
+
163
+ export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
164
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
165
+ ? [name: Name]
166
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
167
+ ) => Promise<FlattenedRPCMap[Name]['output']>
168
+
169
+ export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
170
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
171
+ ? [name: Name]
172
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
173
+ ) => Promise<FlattenedRPCMap[Name]['output']>
174
+
175
+ import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
176
+
177
+ import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
178
+
179
+
180
+ type FlattenedAgentMap = AgentMap
181
+
182
+
183
+ import type { PikkuRPC } from '@pikku/core/rpc'
184
+
185
+ interface AIAgentInput {
186
+ message: string
187
+ threadId: string
188
+ resourceId: string
189
+ }
190
+
191
+ export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
192
+ name: Name,
193
+ input: FlattenedWorkflowMap[Name]['input'],
194
+ options?: { startNode?: string }
195
+ ) => Promise<{ runId: string }>
196
+
197
+ export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
198
+ name: Name,
199
+ input: FlattenedWorkflowMap[Name]['input']
200
+ ) => Promise<FlattenedWorkflowMap[Name]['output']>
201
+
202
+ export type TypedWorkflowStatus = (
203
+ workflowName: string,
204
+ runId: string
205
+ ) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
206
+
207
+ type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
208
+ ? (name: string, input: AIAgentInput) => Promise<any>
209
+ : <Name extends keyof FlattenedAgentMap>(
210
+ name: Name,
211
+ input: AIAgentInput
212
+ ) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
213
+
214
+ type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
215
+ ? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
216
+ : <Name extends keyof FlattenedAgentMap>(
217
+ name: Name,
218
+ input: AIAgentInput,
219
+ options?: { requiresToolApproval?: 'all' | 'explicit' | false }
220
+ ) => Promise<void>
221
+
222
+ export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
223
+
@@ -0,0 +1,239 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * This provides the structure needed for typescript to be aware of RPCs and their return types
6
+ */
7
+
8
+
9
+
10
+
11
+
12
+ export type CredentialSchema_microsoftOneDrive = {
13
+ accessToken: string;
14
+ refreshToken?: string | undefined;
15
+ }
16
+ export type FileCopyInput = {
17
+ fileId: string;
18
+ name?: string | undefined;
19
+ parentReference?: {
20
+ id?: string | undefined;
21
+ driveId?: string | undefined;
22
+ } | undefined;
23
+ }
24
+ export type FileCopyOutput = {
25
+ location?: string | undefined;
26
+ }
27
+ export type FileDeleteInput = {
28
+ fileId: string;
29
+ }
30
+ export type FileDeleteOutput = {
31
+ success?: boolean | undefined;
32
+ }
33
+ export type FileDownloadInput = {
34
+ fileId: string;
35
+ }
36
+ export type FileDownloadOutput = string
37
+ export type FileGetInput = {
38
+ fileId: string;
39
+ }
40
+ export type FileGetOutput = {
41
+ [key: string]: unknown;
42
+ }
43
+ export type FileMoveInput = {
44
+ fileId: string;
45
+ name?: string | undefined;
46
+ parentReference?: {
47
+ id?: string | undefined;
48
+ driveId?: string | undefined;
49
+ } | undefined;
50
+ }
51
+ export type FileMoveOutput = {
52
+ [key: string]: unknown;
53
+ }
54
+ export type FileRenameInput = {
55
+ fileId: string;
56
+ name?: string | undefined;
57
+ }
58
+ export type FileRenameOutput = {
59
+ [key: string]: unknown;
60
+ }
61
+ export type FileSearchInput = {
62
+ query: string;
63
+ }
64
+ export type FileSearchOutput = {
65
+ [key: string]: unknown;
66
+ }
67
+ export type FileShareInput = {
68
+ fileId: string;
69
+ type?: string | undefined;
70
+ scope?: string | undefined;
71
+ }
72
+ export type FileShareOutput = {
73
+ [key: string]: unknown;
74
+ }
75
+ export type FileUploadInput = {
76
+ parentId: string;
77
+ fileName: string;
78
+ fileContent?: string | undefined;
79
+ }
80
+ export type FileUploadOutput = {
81
+ [key: string]: unknown;
82
+ }
83
+ export type FolderCreateInput = {
84
+ name?: string | undefined;
85
+ parentFolderId?: string | undefined;
86
+ }
87
+ export type FolderCreateOutput = {
88
+ [key: string]: unknown;
89
+ }
90
+ export type FolderDeleteInput = {
91
+ folderId: string;
92
+ }
93
+ export type FolderDeleteOutput = {
94
+ success?: boolean | undefined;
95
+ }
96
+ export type FolderGetChildrenInput = {
97
+ folderId: string;
98
+ }
99
+ export type FolderGetChildrenOutput = {
100
+ [key: string]: unknown;
101
+ }
102
+ export type FolderMoveInput = {
103
+ folderId: string;
104
+ name?: string | undefined;
105
+ parentReference?: {
106
+ id?: string | undefined;
107
+ driveId?: string | undefined;
108
+ } | undefined;
109
+ }
110
+ export type FolderMoveOutput = {
111
+ [key: string]: unknown;
112
+ }
113
+ export type FolderRenameInput = {
114
+ folderId: string;
115
+ name?: string | undefined;
116
+ }
117
+ export type FolderRenameOutput = {
118
+ [key: string]: unknown;
119
+ }
120
+ export type FolderSearchInput = {
121
+ query: string;
122
+ }
123
+ export type FolderSearchOutput = {
124
+ [key: string]: unknown;
125
+ }
126
+ export type FolderShareInput = {
127
+ folderId: string;
128
+ type?: string | undefined;
129
+ scope?: string | undefined;
130
+ }
131
+ export type FolderShareOutput = {
132
+ [key: string]: unknown;
133
+ }
134
+ export type SecretSchema_microsoftOneDriveOAuthApp = {
135
+ /** OAuth2 app client ID */
136
+ clientId: string;
137
+ /** OAuth2 app client secret */
138
+ clientSecret: string;
139
+ }
140
+ export type VariableSchema_MICROSOFT_ONE_DRIVE_BASE_URL = "https://graph.microsoft.com/v1.0"
141
+
142
+ interface RPCHandler<I, O> {
143
+ input: I;
144
+ output: O;
145
+ }
146
+
147
+ export type RPCMap = {
148
+ readonly 'fileCopy': RPCHandler<FileCopyInput, FileCopyOutput>,
149
+ readonly 'fileGet': RPCHandler<FileGetInput, FileGetOutput>,
150
+ readonly 'fileRename': RPCHandler<FileRenameInput, FileRenameOutput>,
151
+ readonly 'fileDelete': RPCHandler<FileDeleteInput, FileDeleteOutput>,
152
+ readonly 'fileMove': RPCHandler<FileMoveInput, FileMoveOutput>,
153
+ readonly 'fileDownload': RPCHandler<FileDownloadInput, FileDownloadOutput>,
154
+ readonly 'fileShare': RPCHandler<FileShareInput, FileShareOutput>,
155
+ readonly 'fileUpload': RPCHandler<FileUploadInput, FileUploadOutput>,
156
+ readonly 'fileSearch': RPCHandler<FileSearchInput, FileSearchOutput>,
157
+ readonly 'folderCreate': RPCHandler<FolderCreateInput, FolderCreateOutput>,
158
+ readonly 'folderRename': RPCHandler<FolderRenameInput, FolderRenameOutput>,
159
+ readonly 'folderDelete': RPCHandler<FolderDeleteInput, FolderDeleteOutput>,
160
+ readonly 'folderMove': RPCHandler<FolderMoveInput, FolderMoveOutput>,
161
+ readonly 'folderGetChildren': RPCHandler<FolderGetChildrenInput, FolderGetChildrenOutput>,
162
+ readonly 'folderShare': RPCHandler<FolderShareInput, FolderShareOutput>,
163
+ readonly 'folderSearch': RPCHandler<FolderSearchInput, FolderSearchOutput>,
164
+ };
165
+
166
+
167
+
168
+ // No addon packages, use RPCMap directly
169
+ export type FlattenedRPCMap = RPCMap
170
+
171
+ type IsAny<T> = 0 extends (1 & T) ? true : false
172
+ type IsVoidishInput<T> = IsAny<T> extends true
173
+ ? false
174
+ : [T] extends [void | null | undefined]
175
+ ? true
176
+ : false
177
+
178
+
179
+ export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
180
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
181
+ ? [name: Name]
182
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
183
+ ) => Promise<FlattenedRPCMap[Name]['output']>
184
+
185
+ export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
186
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
187
+ ? [name: Name]
188
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
189
+ ) => Promise<FlattenedRPCMap[Name]['output']>
190
+
191
+ import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
192
+
193
+ import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
194
+
195
+
196
+ type FlattenedAgentMap = AgentMap
197
+
198
+
199
+ import type { PikkuRPC } from '@pikku/core/rpc'
200
+
201
+ interface AIAgentInput {
202
+ message: string
203
+ threadId: string
204
+ resourceId: string
205
+ }
206
+
207
+ export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
208
+ name: Name,
209
+ input: FlattenedWorkflowMap[Name]['input'],
210
+ options?: { startNode?: string }
211
+ ) => Promise<{ runId: string }>
212
+
213
+ export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
214
+ name: Name,
215
+ input: FlattenedWorkflowMap[Name]['input']
216
+ ) => Promise<FlattenedWorkflowMap[Name]['output']>
217
+
218
+ export type TypedWorkflowStatus = (
219
+ workflowName: string,
220
+ runId: string
221
+ ) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
222
+
223
+ type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
224
+ ? (name: string, input: AIAgentInput) => Promise<any>
225
+ : <Name extends keyof FlattenedAgentMap>(
226
+ name: Name,
227
+ input: AIAgentInput
228
+ ) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
229
+
230
+ type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
231
+ ? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
232
+ : <Name extends keyof FlattenedAgentMap>(
233
+ name: Name,
234
+ input: AIAgentInput,
235
+ options?: { requiresToolApproval?: 'all' | 'explicit' | false }
236
+ ) => Promise<void>
237
+
238
+ export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
239
+
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import { pikkuState } from '@pikku/core/internal';
5
+ import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
6
+ pikkuState('@pikku/addon-microsoft-one-drive', 'rpc', 'meta', metaData);
7
+ //# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.js","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,QAAQ,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACvF,UAAU,CAAC,kCAAkC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}