@pikku/addon-twist 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 (307) 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 +640 -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 +420 -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 +50 -0
  50. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
  51. package/dist/.pikku/function/pikku-functions.gen.ts +50 -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 +248 -0
  88. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +270 -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 +24 -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 +99 -0
  103. package/dist/.pikku/schemas/register.gen.js.map +1 -0
  104. package/dist/.pikku/schemas/register.gen.ts +191 -0
  105. package/dist/.pikku/schemas/schemas/ChannelArchiveInput.schema.json +1 -0
  106. package/dist/.pikku/schemas/schemas/ChannelArchiveOutput.schema.json +1 -0
  107. package/dist/.pikku/schemas/schemas/ChannelCreateInput.schema.json +1 -0
  108. package/dist/.pikku/schemas/schemas/ChannelCreateOutput.schema.json +1 -0
  109. package/dist/.pikku/schemas/schemas/ChannelDeleteInput.schema.json +1 -0
  110. package/dist/.pikku/schemas/schemas/ChannelDeleteOutput.schema.json +1 -0
  111. package/dist/.pikku/schemas/schemas/ChannelGetAllInput.schema.json +1 -0
  112. package/dist/.pikku/schemas/schemas/ChannelGetAllOutput.schema.json +1 -0
  113. package/dist/.pikku/schemas/schemas/ChannelGetInput.schema.json +1 -0
  114. package/dist/.pikku/schemas/schemas/ChannelGetOutput.schema.json +1 -0
  115. package/dist/.pikku/schemas/schemas/ChannelUnarchiveInput.schema.json +1 -0
  116. package/dist/.pikku/schemas/schemas/ChannelUnarchiveOutput.schema.json +1 -0
  117. package/dist/.pikku/schemas/schemas/ChannelUpdateInput.schema.json +1 -0
  118. package/dist/.pikku/schemas/schemas/ChannelUpdateOutput.schema.json +1 -0
  119. package/dist/.pikku/schemas/schemas/CommentCreateInput.schema.json +1 -0
  120. package/dist/.pikku/schemas/schemas/CommentCreateOutput.schema.json +1 -0
  121. package/dist/.pikku/schemas/schemas/CommentDeleteInput.schema.json +1 -0
  122. package/dist/.pikku/schemas/schemas/CommentDeleteOutput.schema.json +1 -0
  123. package/dist/.pikku/schemas/schemas/CommentGetAllInput.schema.json +1 -0
  124. package/dist/.pikku/schemas/schemas/CommentGetAllOutput.schema.json +1 -0
  125. package/dist/.pikku/schemas/schemas/CommentGetInput.schema.json +1 -0
  126. package/dist/.pikku/schemas/schemas/CommentGetOutput.schema.json +1 -0
  127. package/dist/.pikku/schemas/schemas/CommentUpdateInput.schema.json +1 -0
  128. package/dist/.pikku/schemas/schemas/CommentUpdateOutput.schema.json +1 -0
  129. package/dist/.pikku/schemas/schemas/CredentialSchema_twist.schema.json +1 -0
  130. package/dist/.pikku/schemas/schemas/MessageCreateInput.schema.json +1 -0
  131. package/dist/.pikku/schemas/schemas/MessageCreateOutput.schema.json +1 -0
  132. package/dist/.pikku/schemas/schemas/MessageDeleteInput.schema.json +1 -0
  133. package/dist/.pikku/schemas/schemas/MessageDeleteOutput.schema.json +1 -0
  134. package/dist/.pikku/schemas/schemas/MessageGetAllInput.schema.json +1 -0
  135. package/dist/.pikku/schemas/schemas/MessageGetAllOutput.schema.json +1 -0
  136. package/dist/.pikku/schemas/schemas/MessageGetInput.schema.json +1 -0
  137. package/dist/.pikku/schemas/schemas/MessageGetOutput.schema.json +1 -0
  138. package/dist/.pikku/schemas/schemas/MessageUpdateInput.schema.json +1 -0
  139. package/dist/.pikku/schemas/schemas/MessageUpdateOutput.schema.json +1 -0
  140. package/dist/.pikku/schemas/schemas/SecretSchema_twistOAuthApp.schema.json +1 -0
  141. package/dist/.pikku/schemas/schemas/ThreadCreateInput.schema.json +1 -0
  142. package/dist/.pikku/schemas/schemas/ThreadCreateOutput.schema.json +1 -0
  143. package/dist/.pikku/schemas/schemas/ThreadDeleteInput.schema.json +1 -0
  144. package/dist/.pikku/schemas/schemas/ThreadDeleteOutput.schema.json +1 -0
  145. package/dist/.pikku/schemas/schemas/ThreadGetAllInput.schema.json +1 -0
  146. package/dist/.pikku/schemas/schemas/ThreadGetAllOutput.schema.json +1 -0
  147. package/dist/.pikku/schemas/schemas/ThreadGetInput.schema.json +1 -0
  148. package/dist/.pikku/schemas/schemas/ThreadGetOutput.schema.json +1 -0
  149. package/dist/.pikku/schemas/schemas/ThreadUpdateInput.schema.json +1 -0
  150. package/dist/.pikku/schemas/schemas/ThreadUpdateOutput.schema.json +1 -0
  151. package/dist/.pikku/schemas/schemas/VariableSchema_TWIST_BASE_URL.schema.json +1 -0
  152. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
  153. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
  154. package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
  155. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
  156. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
  157. package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +10 -0
  158. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +15 -0
  159. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
  160. package/dist/.pikku/secrets/pikku-secrets.gen.js +13 -0
  161. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
  162. package/dist/.pikku/secrets/pikku-secrets.gen.ts +23 -0
  163. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
  164. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
  165. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
  166. package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
  167. package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
  168. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
  169. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
  170. package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
  171. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
  172. package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
  173. package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
  174. package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
  175. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
  176. package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
  177. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
  178. package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
  179. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
  180. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
  181. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
  182. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
  183. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
  184. package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
  185. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
  186. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
  187. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
  188. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
  189. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
  190. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
  191. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
  192. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
  193. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
  194. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
  195. package/dist/src/functions/channelArchive.function.d.ts +13 -0
  196. package/dist/src/functions/channelArchive.function.d.ts.map +1 -0
  197. package/dist/src/functions/channelArchive.function.js +15 -0
  198. package/dist/src/functions/channelArchive.function.js.map +1 -0
  199. package/dist/src/functions/channelCreate.function.d.ts +17 -0
  200. package/dist/src/functions/channelCreate.function.d.ts.map +1 -0
  201. package/dist/src/functions/channelCreate.function.js +16 -0
  202. package/dist/src/functions/channelCreate.function.js.map +1 -0
  203. package/dist/src/functions/channelDelete.function.d.ts +13 -0
  204. package/dist/src/functions/channelDelete.function.d.ts.map +1 -0
  205. package/dist/src/functions/channelDelete.function.js +15 -0
  206. package/dist/src/functions/channelDelete.function.js.map +1 -0
  207. package/dist/src/functions/channelGet.function.d.ts +13 -0
  208. package/dist/src/functions/channelGet.function.d.ts.map +1 -0
  209. package/dist/src/functions/channelGet.function.js +15 -0
  210. package/dist/src/functions/channelGet.function.js.map +1 -0
  211. package/dist/src/functions/channelGetAll.function.d.ts +13 -0
  212. package/dist/src/functions/channelGetAll.function.d.ts.map +1 -0
  213. package/dist/src/functions/channelGetAll.function.js +15 -0
  214. package/dist/src/functions/channelGetAll.function.js.map +1 -0
  215. package/dist/src/functions/channelUnarchive.function.d.ts +13 -0
  216. package/dist/src/functions/channelUnarchive.function.d.ts.map +1 -0
  217. package/dist/src/functions/channelUnarchive.function.js +15 -0
  218. package/dist/src/functions/channelUnarchive.function.js.map +1 -0
  219. package/dist/src/functions/channelUpdate.function.d.ts +17 -0
  220. package/dist/src/functions/channelUpdate.function.d.ts.map +1 -0
  221. package/dist/src/functions/channelUpdate.function.js +16 -0
  222. package/dist/src/functions/channelUpdate.function.js.map +1 -0
  223. package/dist/src/functions/commentCreate.function.d.ts +17 -0
  224. package/dist/src/functions/commentCreate.function.d.ts.map +1 -0
  225. package/dist/src/functions/commentCreate.function.js +16 -0
  226. package/dist/src/functions/commentCreate.function.js.map +1 -0
  227. package/dist/src/functions/commentDelete.function.d.ts +13 -0
  228. package/dist/src/functions/commentDelete.function.d.ts.map +1 -0
  229. package/dist/src/functions/commentDelete.function.js +15 -0
  230. package/dist/src/functions/commentDelete.function.js.map +1 -0
  231. package/dist/src/functions/commentGet.function.d.ts +13 -0
  232. package/dist/src/functions/commentGet.function.d.ts.map +1 -0
  233. package/dist/src/functions/commentGet.function.js +15 -0
  234. package/dist/src/functions/commentGet.function.js.map +1 -0
  235. package/dist/src/functions/commentGetAll.function.d.ts +13 -0
  236. package/dist/src/functions/commentGetAll.function.d.ts.map +1 -0
  237. package/dist/src/functions/commentGetAll.function.js +15 -0
  238. package/dist/src/functions/commentGetAll.function.js.map +1 -0
  239. package/dist/src/functions/commentUpdate.function.d.ts +17 -0
  240. package/dist/src/functions/commentUpdate.function.d.ts.map +1 -0
  241. package/dist/src/functions/commentUpdate.function.js +16 -0
  242. package/dist/src/functions/commentUpdate.function.js.map +1 -0
  243. package/dist/src/functions/messageCreate.function.d.ts +21 -0
  244. package/dist/src/functions/messageCreate.function.d.ts.map +1 -0
  245. package/dist/src/functions/messageCreate.function.js +17 -0
  246. package/dist/src/functions/messageCreate.function.js.map +1 -0
  247. package/dist/src/functions/messageDelete.function.d.ts +13 -0
  248. package/dist/src/functions/messageDelete.function.d.ts.map +1 -0
  249. package/dist/src/functions/messageDelete.function.js +15 -0
  250. package/dist/src/functions/messageDelete.function.js.map +1 -0
  251. package/dist/src/functions/messageGet.function.d.ts +13 -0
  252. package/dist/src/functions/messageGet.function.d.ts.map +1 -0
  253. package/dist/src/functions/messageGet.function.js +15 -0
  254. package/dist/src/functions/messageGet.function.js.map +1 -0
  255. package/dist/src/functions/messageGetAll.function.d.ts +13 -0
  256. package/dist/src/functions/messageGetAll.function.d.ts.map +1 -0
  257. package/dist/src/functions/messageGetAll.function.js +15 -0
  258. package/dist/src/functions/messageGetAll.function.js.map +1 -0
  259. package/dist/src/functions/messageUpdate.function.d.ts +17 -0
  260. package/dist/src/functions/messageUpdate.function.d.ts.map +1 -0
  261. package/dist/src/functions/messageUpdate.function.js +16 -0
  262. package/dist/src/functions/messageUpdate.function.js.map +1 -0
  263. package/dist/src/functions/threadCreate.function.d.ts +21 -0
  264. package/dist/src/functions/threadCreate.function.d.ts.map +1 -0
  265. package/dist/src/functions/threadCreate.function.js +17 -0
  266. package/dist/src/functions/threadCreate.function.js.map +1 -0
  267. package/dist/src/functions/threadDelete.function.d.ts +13 -0
  268. package/dist/src/functions/threadDelete.function.d.ts.map +1 -0
  269. package/dist/src/functions/threadDelete.function.js +15 -0
  270. package/dist/src/functions/threadDelete.function.js.map +1 -0
  271. package/dist/src/functions/threadGet.function.d.ts +13 -0
  272. package/dist/src/functions/threadGet.function.d.ts.map +1 -0
  273. package/dist/src/functions/threadGet.function.js +15 -0
  274. package/dist/src/functions/threadGet.function.js.map +1 -0
  275. package/dist/src/functions/threadGetAll.function.d.ts +13 -0
  276. package/dist/src/functions/threadGetAll.function.d.ts.map +1 -0
  277. package/dist/src/functions/threadGetAll.function.js +15 -0
  278. package/dist/src/functions/threadGetAll.function.js.map +1 -0
  279. package/dist/src/functions/threadUpdate.function.d.ts +21 -0
  280. package/dist/src/functions/threadUpdate.function.d.ts.map +1 -0
  281. package/dist/src/functions/threadUpdate.function.js +17 -0
  282. package/dist/src/functions/threadUpdate.function.js.map +1 -0
  283. package/dist/src/index.d.ts +23 -0
  284. package/dist/src/index.d.ts.map +1 -0
  285. package/dist/src/index.js +23 -0
  286. package/dist/src/index.js.map +1 -0
  287. package/dist/src/services.d.ts +2 -0
  288. package/dist/src/services.d.ts.map +1 -0
  289. package/dist/src/services.js +7 -0
  290. package/dist/src/services.js.map +1 -0
  291. package/dist/src/twist-api.service.d.ts +15 -0
  292. package/dist/src/twist-api.service.d.ts.map +1 -0
  293. package/dist/src/twist-api.service.js +219 -0
  294. package/dist/src/twist-api.service.js.map +1 -0
  295. package/dist/src/twist.credential.d.ts +10 -0
  296. package/dist/src/twist.credential.d.ts.map +1 -0
  297. package/dist/src/twist.credential.js +33 -0
  298. package/dist/src/twist.credential.js.map +1 -0
  299. package/dist/src/twist.types.d.ts +7 -0
  300. package/dist/src/twist.types.d.ts.map +1 -0
  301. package/dist/src/twist.types.js +8 -0
  302. package/dist/src/twist.types.js.map +1 -0
  303. package/dist/src/twist.variable.d.ts +5 -0
  304. package/dist/src/twist.variable.d.ts.map +1 -0
  305. package/dist/src/twist.variable.js +11 -0
  306. package/dist/src/twist.variable.js.map +1 -0
  307. package/package.json +39 -0
@@ -0,0 +1,191 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import { addSchema } from '@pikku/core/schema'
5
+
6
+ import * as ChannelCreateInput from './schemas/ChannelCreateInput.schema.json' with { type: 'json' }
7
+ addSchema('ChannelCreateInput', ChannelCreateInput, '@pikku/addon-twist')
8
+
9
+
10
+ import * as ChannelCreateOutput from './schemas/ChannelCreateOutput.schema.json' with { type: 'json' }
11
+ addSchema('ChannelCreateOutput', ChannelCreateOutput, '@pikku/addon-twist')
12
+
13
+
14
+ import * as ChannelDeleteInput from './schemas/ChannelDeleteInput.schema.json' with { type: 'json' }
15
+ addSchema('ChannelDeleteInput', ChannelDeleteInput, '@pikku/addon-twist')
16
+
17
+
18
+ import * as ChannelDeleteOutput from './schemas/ChannelDeleteOutput.schema.json' with { type: 'json' }
19
+ addSchema('ChannelDeleteOutput', ChannelDeleteOutput, '@pikku/addon-twist')
20
+
21
+
22
+ import * as ChannelGetInput from './schemas/ChannelGetInput.schema.json' with { type: 'json' }
23
+ addSchema('ChannelGetInput', ChannelGetInput, '@pikku/addon-twist')
24
+
25
+
26
+ import * as ChannelGetOutput from './schemas/ChannelGetOutput.schema.json' with { type: 'json' }
27
+ addSchema('ChannelGetOutput', ChannelGetOutput, '@pikku/addon-twist')
28
+
29
+
30
+ import * as ChannelGetAllInput from './schemas/ChannelGetAllInput.schema.json' with { type: 'json' }
31
+ addSchema('ChannelGetAllInput', ChannelGetAllInput, '@pikku/addon-twist')
32
+
33
+
34
+ import * as ChannelGetAllOutput from './schemas/ChannelGetAllOutput.schema.json' with { type: 'json' }
35
+ addSchema('ChannelGetAllOutput', ChannelGetAllOutput, '@pikku/addon-twist')
36
+
37
+
38
+ import * as ChannelUpdateInput from './schemas/ChannelUpdateInput.schema.json' with { type: 'json' }
39
+ addSchema('ChannelUpdateInput', ChannelUpdateInput, '@pikku/addon-twist')
40
+
41
+
42
+ import * as ChannelUpdateOutput from './schemas/ChannelUpdateOutput.schema.json' with { type: 'json' }
43
+ addSchema('ChannelUpdateOutput', ChannelUpdateOutput, '@pikku/addon-twist')
44
+
45
+
46
+ import * as ChannelArchiveInput from './schemas/ChannelArchiveInput.schema.json' with { type: 'json' }
47
+ addSchema('ChannelArchiveInput', ChannelArchiveInput, '@pikku/addon-twist')
48
+
49
+
50
+ import * as ChannelArchiveOutput from './schemas/ChannelArchiveOutput.schema.json' with { type: 'json' }
51
+ addSchema('ChannelArchiveOutput', ChannelArchiveOutput, '@pikku/addon-twist')
52
+
53
+
54
+ import * as ChannelUnarchiveInput from './schemas/ChannelUnarchiveInput.schema.json' with { type: 'json' }
55
+ addSchema('ChannelUnarchiveInput', ChannelUnarchiveInput, '@pikku/addon-twist')
56
+
57
+
58
+ import * as ChannelUnarchiveOutput from './schemas/ChannelUnarchiveOutput.schema.json' with { type: 'json' }
59
+ addSchema('ChannelUnarchiveOutput', ChannelUnarchiveOutput, '@pikku/addon-twist')
60
+
61
+
62
+ import * as CommentCreateInput from './schemas/CommentCreateInput.schema.json' with { type: 'json' }
63
+ addSchema('CommentCreateInput', CommentCreateInput, '@pikku/addon-twist')
64
+
65
+
66
+ import * as CommentCreateOutput from './schemas/CommentCreateOutput.schema.json' with { type: 'json' }
67
+ addSchema('CommentCreateOutput', CommentCreateOutput, '@pikku/addon-twist')
68
+
69
+
70
+ import * as CommentDeleteInput from './schemas/CommentDeleteInput.schema.json' with { type: 'json' }
71
+ addSchema('CommentDeleteInput', CommentDeleteInput, '@pikku/addon-twist')
72
+
73
+
74
+ import * as CommentDeleteOutput from './schemas/CommentDeleteOutput.schema.json' with { type: 'json' }
75
+ addSchema('CommentDeleteOutput', CommentDeleteOutput, '@pikku/addon-twist')
76
+
77
+
78
+ import * as CommentGetInput from './schemas/CommentGetInput.schema.json' with { type: 'json' }
79
+ addSchema('CommentGetInput', CommentGetInput, '@pikku/addon-twist')
80
+
81
+
82
+ import * as CommentGetOutput from './schemas/CommentGetOutput.schema.json' with { type: 'json' }
83
+ addSchema('CommentGetOutput', CommentGetOutput, '@pikku/addon-twist')
84
+
85
+
86
+ import * as CommentGetAllInput from './schemas/CommentGetAllInput.schema.json' with { type: 'json' }
87
+ addSchema('CommentGetAllInput', CommentGetAllInput, '@pikku/addon-twist')
88
+
89
+
90
+ import * as CommentGetAllOutput from './schemas/CommentGetAllOutput.schema.json' with { type: 'json' }
91
+ addSchema('CommentGetAllOutput', CommentGetAllOutput, '@pikku/addon-twist')
92
+
93
+
94
+ import * as CommentUpdateInput from './schemas/CommentUpdateInput.schema.json' with { type: 'json' }
95
+ addSchema('CommentUpdateInput', CommentUpdateInput, '@pikku/addon-twist')
96
+
97
+
98
+ import * as CommentUpdateOutput from './schemas/CommentUpdateOutput.schema.json' with { type: 'json' }
99
+ addSchema('CommentUpdateOutput', CommentUpdateOutput, '@pikku/addon-twist')
100
+
101
+
102
+ import * as MessageCreateInput from './schemas/MessageCreateInput.schema.json' with { type: 'json' }
103
+ addSchema('MessageCreateInput', MessageCreateInput, '@pikku/addon-twist')
104
+
105
+
106
+ import * as MessageCreateOutput from './schemas/MessageCreateOutput.schema.json' with { type: 'json' }
107
+ addSchema('MessageCreateOutput', MessageCreateOutput, '@pikku/addon-twist')
108
+
109
+
110
+ import * as MessageGetInput from './schemas/MessageGetInput.schema.json' with { type: 'json' }
111
+ addSchema('MessageGetInput', MessageGetInput, '@pikku/addon-twist')
112
+
113
+
114
+ import * as MessageGetOutput from './schemas/MessageGetOutput.schema.json' with { type: 'json' }
115
+ addSchema('MessageGetOutput', MessageGetOutput, '@pikku/addon-twist')
116
+
117
+
118
+ import * as MessageGetAllInput from './schemas/MessageGetAllInput.schema.json' with { type: 'json' }
119
+ addSchema('MessageGetAllInput', MessageGetAllInput, '@pikku/addon-twist')
120
+
121
+
122
+ import * as MessageGetAllOutput from './schemas/MessageGetAllOutput.schema.json' with { type: 'json' }
123
+ addSchema('MessageGetAllOutput', MessageGetAllOutput, '@pikku/addon-twist')
124
+
125
+
126
+ import * as MessageDeleteInput from './schemas/MessageDeleteInput.schema.json' with { type: 'json' }
127
+ addSchema('MessageDeleteInput', MessageDeleteInput, '@pikku/addon-twist')
128
+
129
+
130
+ import * as MessageDeleteOutput from './schemas/MessageDeleteOutput.schema.json' with { type: 'json' }
131
+ addSchema('MessageDeleteOutput', MessageDeleteOutput, '@pikku/addon-twist')
132
+
133
+
134
+ import * as MessageUpdateInput from './schemas/MessageUpdateInput.schema.json' with { type: 'json' }
135
+ addSchema('MessageUpdateInput', MessageUpdateInput, '@pikku/addon-twist')
136
+
137
+
138
+ import * as MessageUpdateOutput from './schemas/MessageUpdateOutput.schema.json' with { type: 'json' }
139
+ addSchema('MessageUpdateOutput', MessageUpdateOutput, '@pikku/addon-twist')
140
+
141
+
142
+ import * as ThreadCreateInput from './schemas/ThreadCreateInput.schema.json' with { type: 'json' }
143
+ addSchema('ThreadCreateInput', ThreadCreateInput, '@pikku/addon-twist')
144
+
145
+
146
+ import * as ThreadCreateOutput from './schemas/ThreadCreateOutput.schema.json' with { type: 'json' }
147
+ addSchema('ThreadCreateOutput', ThreadCreateOutput, '@pikku/addon-twist')
148
+
149
+
150
+ import * as ThreadDeleteInput from './schemas/ThreadDeleteInput.schema.json' with { type: 'json' }
151
+ addSchema('ThreadDeleteInput', ThreadDeleteInput, '@pikku/addon-twist')
152
+
153
+
154
+ import * as ThreadDeleteOutput from './schemas/ThreadDeleteOutput.schema.json' with { type: 'json' }
155
+ addSchema('ThreadDeleteOutput', ThreadDeleteOutput, '@pikku/addon-twist')
156
+
157
+
158
+ import * as ThreadGetInput from './schemas/ThreadGetInput.schema.json' with { type: 'json' }
159
+ addSchema('ThreadGetInput', ThreadGetInput, '@pikku/addon-twist')
160
+
161
+
162
+ import * as ThreadGetOutput from './schemas/ThreadGetOutput.schema.json' with { type: 'json' }
163
+ addSchema('ThreadGetOutput', ThreadGetOutput, '@pikku/addon-twist')
164
+
165
+
166
+ import * as ThreadGetAllInput from './schemas/ThreadGetAllInput.schema.json' with { type: 'json' }
167
+ addSchema('ThreadGetAllInput', ThreadGetAllInput, '@pikku/addon-twist')
168
+
169
+
170
+ import * as ThreadGetAllOutput from './schemas/ThreadGetAllOutput.schema.json' with { type: 'json' }
171
+ addSchema('ThreadGetAllOutput', ThreadGetAllOutput, '@pikku/addon-twist')
172
+
173
+
174
+ import * as ThreadUpdateInput from './schemas/ThreadUpdateInput.schema.json' with { type: 'json' }
175
+ addSchema('ThreadUpdateInput', ThreadUpdateInput, '@pikku/addon-twist')
176
+
177
+
178
+ import * as ThreadUpdateOutput from './schemas/ThreadUpdateOutput.schema.json' with { type: 'json' }
179
+ addSchema('ThreadUpdateOutput', ThreadUpdateOutput, '@pikku/addon-twist')
180
+
181
+
182
+ import * as CredentialSchema_twist from './schemas/CredentialSchema_twist.schema.json' with { type: 'json' }
183
+ addSchema('CredentialSchema_twist', CredentialSchema_twist, '@pikku/addon-twist')
184
+
185
+
186
+ import * as SecretSchema_twistOAuthApp from './schemas/SecretSchema_twistOAuthApp.schema.json' with { type: 'json' }
187
+ addSchema('SecretSchema_twistOAuthApp', SecretSchema_twistOAuthApp, '@pikku/addon-twist')
188
+
189
+
190
+ import * as VariableSchema_TWIST_BASE_URL from './schemas/VariableSchema_TWIST_BASE_URL.schema.json' with { type: 'json' }
191
+ addSchema('VariableSchema_TWIST_BASE_URL', VariableSchema_TWIST_BASE_URL, '@pikku/addon-twist')
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string"}},"required":["workspace_id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"thread_id":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"thread_id":{"type":"string"}},"required":["thread_id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accessToken":{"type":"string"},"refreshToken":{"type":"string"}},"required":["accessToken"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"conversation_id":{"type":"string"},"workspace_id":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"conversation_id":{"type":"string"}},"required":["conversation_id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"clientId":{"type":"string","description":"OAuth2 app client ID"},"clientSecret":{"type":"string","description":"OAuth2 app client secret"}},"required":["clientId","clientSecret"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"channel_id":{"type":"string"},"title":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"channel_id":{"type":"string"}},"required":["channel_id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","default":"https://api.twist.com/api/v3","type":"string","enum":["https://api.twist.com/api/v3"]}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ export { wireSecret } from '@pikku/core/secret';
5
+ export type { CoreSecret, SecretDefinitionMeta, SecretDefinitionsMeta } from '@pikku/core/secret';
6
+ //# sourceMappingURL=pikku-secret-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-secret-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secret-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,YAAY,EAAE,UAAU,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ export { wireSecret } from '@pikku/core/secret';
5
+ //# sourceMappingURL=pikku-secret-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-secret-types.gen.js","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secret-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ export { wireSecret } from '@pikku/core/secret'
5
+ export type { CoreSecret, SecretDefinitionMeta, SecretDefinitionsMeta } from '@pikku/core/secret'
@@ -0,0 +1,10 @@
1
+ {
2
+ "twistOAuthApp": {
3
+ "name": "twistOAuthApp",
4
+ "displayName": "Twist OAuth App",
5
+ "description": "OAuth2 app credentials for Twist",
6
+ "secretId": "TWIST_OAUTH_APP",
7
+ "schema": "SecretSchema_twistOAuthApp",
8
+ "sourceFile": "/home/runner/work/addons/addons/packages/communication/twist/src/twist.credential.ts"
9
+ }
10
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
+ import type { SecretService } from '@pikku/core/services';
6
+ import type { z } from 'zod';
7
+ import { twistOAuthAppSchema } from '../../src/twist.credential.js';
8
+ export interface CredentialsMap {
9
+ 'TWIST_OAUTH_APP': z.infer<typeof twistOAuthAppSchema>;
10
+ }
11
+ export type SecretId = keyof CredentialsMap;
12
+ export declare class TypedSecretService extends CoreTypedSecretService<CredentialsMap> {
13
+ constructor(secrets: SecretService);
14
+ }
15
+ //# sourceMappingURL=pikku-secrets.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-secrets.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;AACxG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAA;AAEnE,MAAM,WAAW,cAAc;IAC7B,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;CACvD;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAA;AAM3C,qBAAa,kBAAmB,SAAQ,sBAAsB,CAAC,cAAc,CAAC;gBAChE,OAAO,EAAE,aAAa;CAGnC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
+ const CREDENTIALS_META = {
6
+ 'TWIST_OAUTH_APP': { name: 'twistOAuthApp', displayName: 'Twist OAuth App' }
7
+ };
8
+ export class TypedSecretService extends CoreTypedSecretService {
9
+ constructor(secrets) {
10
+ super(secrets, CREDENTIALS_META);
11
+ }
12
+ }
13
+ //# sourceMappingURL=pikku-secrets.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-secrets.gen.js","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;AAWxG,MAAM,gBAAgB,GAAmC;IACvD,iBAAiB,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,WAAW,EAAE,iBAAiB,EAAE;CAC7E,CAAA;AAED,MAAM,OAAO,kBAAmB,SAAQ,sBAAsC;IAC5E,YAAY,OAAsB;QAChC,KAAK,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAA;IAClC,CAAC;CACF"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import { TypedSecretService as CoreTypedSecretService, type CredentialMeta } from '@pikku/core/services'
5
+ import type { SecretService } from '@pikku/core/services'
6
+ import type { z } from 'zod'
7
+ import { twistOAuthAppSchema } from '../../src/twist.credential.js'
8
+
9
+ export interface CredentialsMap {
10
+ 'TWIST_OAUTH_APP': z.infer<typeof twistOAuthAppSchema>
11
+ }
12
+
13
+ export type SecretId = keyof CredentialsMap
14
+
15
+ const CREDENTIALS_META: Record<string, CredentialMeta> = {
16
+ 'TWIST_OAUTH_APP': { name: 'twistOAuthApp', displayName: 'Twist OAuth App' }
17
+ }
18
+
19
+ export class TypedSecretService extends CoreTypedSecretService<CredentialsMap> {
20
+ constructor(secrets: SecretService) {
21
+ super(secrets, CREDENTIALS_META)
22
+ }
23
+ }
@@ -0,0 +1,114 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * Trigger-specific type definitions for tree-shaking optimization
6
+ */
7
+ import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig, CoreTrigger } from '@pikku/core/trigger';
8
+ import type { CoreNodeConfig } from '@pikku/core/node';
9
+ import type { SingletonServices } from '../../types/application-types.d.js';
10
+ import type { StandardSchemaV1 } from '@standard-schema/spec';
11
+ /**
12
+ * A trigger function that sets up a subscription and returns a teardown function.
13
+ * The trigger is fired via wire.trigger.invoke(data).
14
+ *
15
+ * @template TInput - Input type (configuration passed when wired)
16
+ * @template TOutput - Output type produced when trigger fires
17
+ */
18
+ export type PikkuTriggerFunction<TInput = unknown, TOutput = unknown> = CorePikkuTriggerFunction<TInput, TOutput, SingletonServices>;
19
+ /**
20
+ * Configuration object for creating a trigger function with metadata
21
+ */
22
+ export type PikkuTriggerFunctionConfig<TInput = unknown, TOutput = unknown, InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = CorePikkuTriggerFunctionConfig<TInput, TOutput, SingletonServices, InputSchema, OutputSchema>;
23
+ /**
24
+ * Helper type to infer the output type from a Standard Schema
25
+ */
26
+ type InferSchemaOutput<T> = T extends StandardSchemaV1<any, infer Output> ? Output : never;
27
+ /**
28
+ * Configuration object for trigger functions with Zod schema validation.
29
+ * Use this when you want to define input/output schemas using Zod.
30
+ * Types are automatically inferred from the schemas.
31
+ */
32
+ export type PikkuTriggerFunctionConfigWithSchema<InputSchema extends StandardSchemaV1, OutputSchema extends StandardSchemaV1 | undefined = undefined> = {
33
+ title?: string;
34
+ description?: string;
35
+ tags?: string[];
36
+ func: PikkuTriggerFunction<InferSchemaOutput<InputSchema>, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>;
37
+ input: InputSchema;
38
+ output?: OutputSchema;
39
+ node?: CoreNodeConfig;
40
+ };
41
+ /**
42
+ * Type definition for trigger wirings.
43
+ * Declares a trigger name and its target pikku function.
44
+ */
45
+ export type TriggerWiring = CoreTrigger;
46
+ /**
47
+ * A trigger source with the subscription function, using project-specific services.
48
+ *
49
+ * @template TInput - Input type passed to the trigger function
50
+ * @template TOutput - Output type produced when trigger fires
51
+ */
52
+ export type TriggerSource<TInput = unknown, TOutput = unknown> = {
53
+ name: string;
54
+ func: PikkuTriggerFunctionConfig<TInput, TOutput>;
55
+ } & (unknown extends TInput ? {
56
+ input?: TInput;
57
+ } : {
58
+ input: TInput;
59
+ });
60
+ /**
61
+ * Creates a trigger function configuration.
62
+ * Use this to define trigger functions that set up subscriptions.
63
+ *
64
+ * @param triggerOrConfig - Function definition or configuration object
65
+ * @returns The normalized configuration object
66
+ *
67
+ * @example
68
+ * ```typescript
69
+ * export const redisSubscribeTrigger = pikkuTriggerFunc<
70
+ * { channel: string },
71
+ * { message: string }
72
+ * >(async ({ redis }, { channel }, { trigger }) => {
73
+ * const subscriber = redis.duplicate()
74
+ * await subscriber.subscribe(channel, (msg) => {
75
+ * trigger.invoke({ message: msg })
76
+ * })
77
+ * return () => subscriber.unsubscribe()
78
+ * })
79
+ *
80
+ * export const redisSubscribeTrigger = pikkuTriggerFunc({
81
+ * title: 'Redis Subscribe Trigger',
82
+ * description: 'Listens to Redis pub/sub channel',
83
+ * input: z.object({ channel: z.string() }),
84
+ * output: z.object({ message: z.string() }),
85
+ * func: async ({ redis }, { channel }, { trigger }) => {
86
+ * const subscriber = redis.duplicate()
87
+ * await subscriber.subscribe(channel, (msg) => {
88
+ * trigger.invoke({ message: msg })
89
+ * })
90
+ * return () => subscriber.unsubscribe()
91
+ * }
92
+ * })
93
+ * ```
94
+ */
95
+ export declare function pikkuTriggerFunc<InputSchema extends StandardSchemaV1, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuTriggerFunctionConfigWithSchema<InputSchema, OutputSchema>): PikkuTriggerFunctionConfig<InferSchemaOutput<InputSchema>, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, InputSchema, OutputSchema>;
96
+ export declare function pikkuTriggerFunc<TInput, TOutput = unknown>(triggerOrConfig: PikkuTriggerFunction<TInput, TOutput> | PikkuTriggerFunctionConfig<TInput, TOutput>): PikkuTriggerFunctionConfig<TInput, TOutput>;
97
+ /**
98
+ * Registers a trigger with the Pikku framework.
99
+ * Declares a trigger name and its target pikku function.
100
+ * Runs everywhere — inspector extracts at build time.
101
+ *
102
+ * @param trigger - Trigger definition with name and function config
103
+ */
104
+ export declare const wireTrigger: (trigger: TriggerWiring) => void;
105
+ /**
106
+ * Registers a trigger source with the Pikku framework.
107
+ * Provides the subscription function and input data.
108
+ * Only imported in the trigger worker process.
109
+ *
110
+ * @param source - Trigger source with name, func, and input
111
+ */
112
+ export declare const wireTriggerSource: <TInput = unknown, TOutput = unknown>(source: TriggerSource<TInput, TOutput>) => void;
113
+ export {};
114
+ //# sourceMappingURL=pikku-trigger-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-trigger-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/trigger/pikku-trigger-types.gen.ts"],"names":[],"mappings":"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"}