@zapier/zapier-sdk 0.65.0 → 0.67.0

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 (487) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +64 -34
  3. package/dist/api/client.d.ts.map +1 -1
  4. package/dist/api/client.js +2 -0
  5. package/dist/api/debug.d.ts.map +1 -1
  6. package/dist/api/debug.js +6 -4
  7. package/dist/api/polling.d.ts +2 -0
  8. package/dist/api/polling.d.ts.map +1 -1
  9. package/dist/api/polling.js +10 -2
  10. package/dist/auth.d.ts.map +1 -1
  11. package/dist/auth.js +8 -5
  12. package/dist/core-stack.d.ts +24 -0
  13. package/dist/core-stack.d.ts.map +1 -0
  14. package/dist/core-stack.js +32 -0
  15. package/dist/experimental.cjs +1598 -1323
  16. package/dist/experimental.d.mts +3476 -224
  17. package/dist/experimental.d.ts +3508 -256
  18. package/dist/experimental.d.ts.map +1 -1
  19. package/dist/experimental.js +117 -87
  20. package/dist/experimental.mjs +1585 -1322
  21. package/dist/formatters/action.d.ts +4 -0
  22. package/dist/formatters/action.d.ts.map +1 -0
  23. package/dist/formatters/action.js +18 -0
  24. package/dist/formatters/actionResult.d.ts +3 -0
  25. package/dist/formatters/actionResult.d.ts.map +1 -0
  26. package/dist/formatters/actionResult.js +25 -0
  27. package/dist/formatters/app.d.ts +4 -0
  28. package/dist/formatters/app.d.ts.map +1 -0
  29. package/dist/formatters/app.js +10 -0
  30. package/dist/formatters/clientCredentials.d.ts +5 -0
  31. package/dist/formatters/clientCredentials.d.ts.map +1 -0
  32. package/dist/formatters/clientCredentials.js +27 -0
  33. package/dist/formatters/connection.d.ts +4 -0
  34. package/dist/formatters/connection.d.ts.map +1 -0
  35. package/dist/formatters/connection.js +26 -0
  36. package/dist/formatters/field.d.ts +4 -0
  37. package/dist/formatters/field.d.ts.map +1 -0
  38. package/dist/formatters/field.js +51 -0
  39. package/dist/formatters/inputFieldChoice.d.ts +4 -0
  40. package/dist/formatters/inputFieldChoice.d.ts.map +1 -0
  41. package/dist/formatters/inputFieldChoice.js +16 -0
  42. package/dist/formatters/tableField.d.ts +4 -0
  43. package/dist/formatters/tableField.d.ts.map +1 -0
  44. package/dist/formatters/tableField.js +7 -0
  45. package/dist/formatters/tableRecord.d.ts +5 -3
  46. package/dist/formatters/tableRecord.d.ts.map +1 -1
  47. package/dist/formatters/tableRecord.js +4 -3
  48. package/dist/formatters/triggerInbox.d.ts +4 -0
  49. package/dist/formatters/triggerInbox.d.ts.map +1 -0
  50. package/dist/formatters/triggerInbox.js +31 -0
  51. package/dist/formatters/triggerMessage.d.ts +5 -0
  52. package/dist/formatters/triggerMessage.d.ts.map +1 -0
  53. package/dist/formatters/triggerMessage.js +34 -0
  54. package/dist/formatters/userProfile.d.ts +4 -0
  55. package/dist/formatters/userProfile.d.ts.map +1 -0
  56. package/dist/formatters/userProfile.js +19 -0
  57. package/dist/{index-JhNxS_mq.d.mts → index-Dh0b5NAY.d.mts} +13207 -7904
  58. package/dist/{index-JhNxS_mq.d.ts → index-Dh0b5NAY.d.ts} +13207 -7904
  59. package/dist/index.cjs +1729 -1469
  60. package/dist/index.d.mts +2 -2
  61. package/dist/index.d.ts +12 -9
  62. package/dist/index.d.ts.map +1 -1
  63. package/dist/index.js +21 -7
  64. package/dist/index.mjs +1716 -1468
  65. package/dist/plugins/api/index.d.ts +1 -1
  66. package/dist/plugins/api/index.js +1 -1
  67. package/dist/plugins/apps/index.d.ts +8 -5
  68. package/dist/plugins/apps/index.d.ts.map +1 -1
  69. package/dist/plugins/apps/index.js +1 -1
  70. package/dist/plugins/capabilities/index.d.ts +1 -1
  71. package/dist/plugins/capabilities/index.js +1 -1
  72. package/dist/plugins/codeSubstrate/cancelDurableRun/index.d.ts +32 -2
  73. package/dist/plugins/codeSubstrate/cancelDurableRun/index.d.ts.map +1 -1
  74. package/dist/plugins/codeSubstrate/cancelDurableRun/index.js +1 -1
  75. package/dist/plugins/codeSubstrate/createWorkflow/index.d.ts +2 -2
  76. package/dist/plugins/codeSubstrate/createWorkflow/index.js +1 -1
  77. package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts +27 -2
  78. package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts.map +1 -1
  79. package/dist/plugins/codeSubstrate/deleteWorkflow/index.js +1 -1
  80. package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts +27 -2
  81. package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts.map +1 -1
  82. package/dist/plugins/codeSubstrate/disableWorkflow/index.js +1 -1
  83. package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts +27 -2
  84. package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts.map +1 -1
  85. package/dist/plugins/codeSubstrate/enableWorkflow/index.js +1 -1
  86. package/dist/plugins/codeSubstrate/getDurableRun/index.d.ts +32 -2
  87. package/dist/plugins/codeSubstrate/getDurableRun/index.d.ts.map +1 -1
  88. package/dist/plugins/codeSubstrate/getDurableRun/index.js +1 -1
  89. package/dist/plugins/codeSubstrate/getTriggerRun/index.d.ts +2 -2
  90. package/dist/plugins/codeSubstrate/getTriggerRun/index.js +1 -1
  91. package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts +27 -2
  92. package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts.map +1 -1
  93. package/dist/plugins/codeSubstrate/getWorkflow/index.js +1 -1
  94. package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts +55 -2
  95. package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts.map +1 -1
  96. package/dist/plugins/codeSubstrate/getWorkflowRun/index.js +1 -1
  97. package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts +51 -2
  98. package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts.map +1 -1
  99. package/dist/plugins/codeSubstrate/getWorkflowVersion/index.js +1 -1
  100. package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts +3 -3
  101. package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts.map +1 -1
  102. package/dist/plugins/codeSubstrate/listDurableRuns/index.js +1 -1
  103. package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts +28 -3
  104. package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts.map +1 -1
  105. package/dist/plugins/codeSubstrate/listWorkflowRuns/index.js +1 -1
  106. package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts +28 -3
  107. package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts.map +1 -1
  108. package/dist/plugins/codeSubstrate/listWorkflowVersions/index.js +1 -1
  109. package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts +3 -3
  110. package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts.map +1 -1
  111. package/dist/plugins/codeSubstrate/listWorkflows/index.js +2 -3
  112. package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts +27 -2
  113. package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts.map +1 -1
  114. package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.js +1 -1
  115. package/dist/plugins/codeSubstrate/runDurable/index.d.ts +2 -2
  116. package/dist/plugins/codeSubstrate/runDurable/index.js +1 -1
  117. package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts +73 -0
  118. package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts.map +1 -0
  119. package/dist/plugins/codeSubstrate/triggerWorkflow/index.js +52 -0
  120. package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.d.ts +16 -0
  121. package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.d.ts.map +1 -0
  122. package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.js +31 -0
  123. package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts +27 -2
  124. package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts.map +1 -1
  125. package/dist/plugins/codeSubstrate/updateWorkflow/index.js +1 -1
  126. package/dist/plugins/connections/index.d.ts +1 -1
  127. package/dist/plugins/connections/index.js +1 -1
  128. package/dist/plugins/createClientCredentials/index.d.ts +2 -2
  129. package/dist/plugins/createClientCredentials/index.d.ts.map +1 -1
  130. package/dist/plugins/createClientCredentials/index.js +4 -2
  131. package/dist/plugins/createClientCredentials/schemas.d.ts +1 -2
  132. package/dist/plugins/createClientCredentials/schemas.d.ts.map +1 -1
  133. package/dist/plugins/deleteClientCredentials/index.d.ts +24 -2
  134. package/dist/plugins/deleteClientCredentials/index.d.ts.map +1 -1
  135. package/dist/plugins/deleteClientCredentials/index.js +2 -2
  136. package/dist/plugins/deleteClientCredentials/schemas.d.ts +1 -2
  137. package/dist/plugins/deleteClientCredentials/schemas.d.ts.map +1 -1
  138. package/dist/plugins/deprecated/authentications.d.ts +144 -16
  139. package/dist/plugins/deprecated/authentications.d.ts.map +1 -1
  140. package/dist/plugins/deprecated/authentications.js +14 -5
  141. package/dist/plugins/deprecated/inputFields.d.ts +58 -23
  142. package/dist/plugins/deprecated/inputFields.d.ts.map +1 -1
  143. package/dist/plugins/deprecated/inputFields.js +15 -7
  144. package/dist/plugins/eventEmission/event-emission-hook.d.ts +10 -0
  145. package/dist/plugins/eventEmission/event-emission-hook.d.ts.map +1 -0
  146. package/dist/plugins/eventEmission/event-emission-hook.js +47 -0
  147. package/dist/plugins/eventEmission/index.d.ts +5 -3
  148. package/dist/plugins/eventEmission/index.d.ts.map +1 -1
  149. package/dist/plugins/eventEmission/index.js +16 -9
  150. package/dist/plugins/eventEmission/method-metadata.d.ts +16 -0
  151. package/dist/plugins/eventEmission/method-metadata.d.ts.map +1 -0
  152. package/dist/plugins/eventEmission/method-metadata.js +20 -0
  153. package/dist/plugins/eventEmission/transport.d.ts.map +1 -1
  154. package/dist/plugins/eventEmission/transport.js +2 -1
  155. package/dist/plugins/fetch/index.d.ts +11 -5
  156. package/dist/plugins/fetch/index.d.ts.map +1 -1
  157. package/dist/plugins/fetch/index.js +42 -32
  158. package/dist/plugins/fetch/schemas.d.ts +1 -1
  159. package/dist/plugins/findFirstConnection/index.d.ts +4 -4
  160. package/dist/plugins/findFirstConnection/index.d.ts.map +1 -1
  161. package/dist/plugins/findFirstConnection/index.js +4 -2
  162. package/dist/plugins/findFirstConnection/schemas.d.ts +2 -2
  163. package/dist/plugins/findUniqueConnection/index.d.ts +4 -4
  164. package/dist/plugins/findUniqueConnection/index.d.ts.map +1 -1
  165. package/dist/plugins/findUniqueConnection/index.js +4 -2
  166. package/dist/plugins/findUniqueConnection/schemas.d.ts +2 -2
  167. package/dist/plugins/getAction/index.d.ts +141 -4
  168. package/dist/plugins/getAction/index.d.ts.map +1 -1
  169. package/dist/plugins/getAction/index.js +5 -3
  170. package/dist/plugins/getAction/schemas.d.ts +6 -6
  171. package/dist/plugins/getActionInputFieldsSchema/index.d.ts +232 -3
  172. package/dist/plugins/getActionInputFieldsSchema/index.d.ts.map +1 -1
  173. package/dist/plugins/getActionInputFieldsSchema/index.js +3 -3
  174. package/dist/plugins/getActionInputFieldsSchema/schemas.d.ts +6 -6
  175. package/dist/plugins/getApp/index.d.ts +4 -4
  176. package/dist/plugins/getApp/index.d.ts.map +1 -1
  177. package/dist/plugins/getApp/index.js +3 -1
  178. package/dist/plugins/getApp/schemas.d.ts +4 -4
  179. package/dist/plugins/getConnection/index.d.ts +125 -2
  180. package/dist/plugins/getConnection/index.d.ts.map +1 -1
  181. package/dist/plugins/getConnection/index.js +4 -2
  182. package/dist/plugins/getProfile/index.d.ts +2 -2
  183. package/dist/plugins/getProfile/index.d.ts.map +1 -1
  184. package/dist/plugins/getProfile/index.js +4 -2
  185. package/dist/plugins/getProfile/schemas.d.ts +1 -2
  186. package/dist/plugins/getProfile/schemas.d.ts.map +1 -1
  187. package/dist/plugins/listActionInputFieldChoices/index.d.ts +287 -4
  188. package/dist/plugins/listActionInputFieldChoices/index.d.ts.map +1 -1
  189. package/dist/plugins/listActionInputFieldChoices/index.js +6 -4
  190. package/dist/plugins/listActionInputFieldChoices/schemas.d.ts +8 -8
  191. package/dist/plugins/listActionInputFieldChoices/schemas.d.ts.map +1 -1
  192. package/dist/plugins/listActionInputFieldChoices/schemas.js +1 -22
  193. package/dist/plugins/listActionInputFields/index.d.ts +168 -5
  194. package/dist/plugins/listActionInputFields/index.d.ts.map +1 -1
  195. package/dist/plugins/listActionInputFields/index.js +7 -5
  196. package/dist/plugins/listActionInputFields/schemas.d.ts +6 -6
  197. package/dist/plugins/listActions/index.d.ts +140 -3
  198. package/dist/plugins/listActions/index.d.ts.map +1 -1
  199. package/dist/plugins/listActions/index.js +6 -4
  200. package/dist/plugins/listActions/schemas.d.ts +4 -4
  201. package/dist/plugins/listApps/index.d.ts +3 -3
  202. package/dist/plugins/listApps/index.d.ts.map +1 -1
  203. package/dist/plugins/listApps/index.js +6 -4
  204. package/dist/plugins/listClientCredentials/index.d.ts +3 -3
  205. package/dist/plugins/listClientCredentials/index.d.ts.map +1 -1
  206. package/dist/plugins/listClientCredentials/index.js +6 -4
  207. package/dist/plugins/listConnections/index.d.ts +140 -3
  208. package/dist/plugins/listConnections/index.d.ts.map +1 -1
  209. package/dist/plugins/listConnections/index.js +7 -5
  210. package/dist/plugins/listConnections/schemas.d.ts +2 -2
  211. package/dist/plugins/manifest/index.d.ts +1 -1
  212. package/dist/plugins/manifest/index.d.ts.map +1 -1
  213. package/dist/plugins/manifest/index.js +6 -4
  214. package/dist/plugins/registry/index.d.ts +1 -1
  215. package/dist/plugins/registry/index.js +1 -1
  216. package/dist/plugins/request/index.d.ts +8 -5
  217. package/dist/plugins/request/index.d.ts.map +1 -1
  218. package/dist/plugins/request/index.js +4 -3
  219. package/dist/plugins/request/schemas.d.ts +2 -2
  220. package/dist/plugins/runAction/index.d.ts +168 -5
  221. package/dist/plugins/runAction/index.d.ts.map +1 -1
  222. package/dist/plugins/runAction/index.js +9 -5
  223. package/dist/plugins/runAction/schemas.d.ts +6 -6
  224. package/dist/plugins/tables/createTable/index.d.ts +2 -2
  225. package/dist/plugins/tables/createTable/index.js +2 -2
  226. package/dist/plugins/tables/createTable/schemas.d.ts +1 -2
  227. package/dist/plugins/tables/createTable/schemas.d.ts.map +1 -1
  228. package/dist/plugins/tables/createTableFields/index.d.ts +34 -2
  229. package/dist/plugins/tables/createTableFields/index.d.ts.map +1 -1
  230. package/dist/plugins/tables/createTableFields/index.js +4 -2
  231. package/dist/plugins/tables/createTableFields/schemas.d.ts +3 -4
  232. package/dist/plugins/tables/createTableFields/schemas.d.ts.map +1 -1
  233. package/dist/plugins/tables/createTableRecords/index.d.ts +63 -2
  234. package/dist/plugins/tables/createTableRecords/index.d.ts.map +1 -1
  235. package/dist/plugins/tables/createTableRecords/index.js +2 -2
  236. package/dist/plugins/tables/createTableRecords/schemas.d.ts +3 -4
  237. package/dist/plugins/tables/createTableRecords/schemas.d.ts.map +1 -1
  238. package/dist/plugins/tables/deleteTable/index.d.ts +34 -2
  239. package/dist/plugins/tables/deleteTable/index.d.ts.map +1 -1
  240. package/dist/plugins/tables/deleteTable/index.js +2 -2
  241. package/dist/plugins/tables/deleteTable/schemas.d.ts +3 -4
  242. package/dist/plugins/tables/deleteTable/schemas.d.ts.map +1 -1
  243. package/dist/plugins/tables/deleteTableFields/index.d.ts +63 -2
  244. package/dist/plugins/tables/deleteTableFields/index.d.ts.map +1 -1
  245. package/dist/plugins/tables/deleteTableFields/index.js +2 -2
  246. package/dist/plugins/tables/deleteTableFields/schemas.d.ts +4 -5
  247. package/dist/plugins/tables/deleteTableFields/schemas.d.ts.map +1 -1
  248. package/dist/plugins/tables/deleteTableRecords/index.d.ts +84 -2
  249. package/dist/plugins/tables/deleteTableRecords/index.d.ts.map +1 -1
  250. package/dist/plugins/tables/deleteTableRecords/index.js +2 -2
  251. package/dist/plugins/tables/deleteTableRecords/schemas.d.ts +4 -5
  252. package/dist/plugins/tables/deleteTableRecords/schemas.d.ts.map +1 -1
  253. package/dist/plugins/tables/getTable/index.d.ts +34 -2
  254. package/dist/plugins/tables/getTable/index.d.ts.map +1 -1
  255. package/dist/plugins/tables/getTable/index.js +2 -2
  256. package/dist/plugins/tables/getTable/schemas.d.ts +2 -2
  257. package/dist/plugins/tables/getTableRecord/index.d.ts +84 -2
  258. package/dist/plugins/tables/getTableRecord/index.d.ts.map +1 -1
  259. package/dist/plugins/tables/getTableRecord/index.js +2 -2
  260. package/dist/plugins/tables/getTableRecord/schemas.d.ts +6 -7
  261. package/dist/plugins/tables/getTableRecord/schemas.d.ts.map +1 -1
  262. package/dist/plugins/tables/getTableRecord/schemas.js +1 -10
  263. package/dist/plugins/tables/listTableFields/index.d.ts +34 -2
  264. package/dist/plugins/tables/listTableFields/index.d.ts.map +1 -1
  265. package/dist/plugins/tables/listTableFields/index.js +4 -2
  266. package/dist/plugins/tables/listTableFields/schemas.d.ts +4 -5
  267. package/dist/plugins/tables/listTableFields/schemas.d.ts.map +1 -1
  268. package/dist/plugins/tables/listTableFields/schemas.js +1 -9
  269. package/dist/plugins/tables/listTableRecords/index.d.ts +65 -4
  270. package/dist/plugins/tables/listTableRecords/index.d.ts.map +1 -1
  271. package/dist/plugins/tables/listTableRecords/index.js +3 -3
  272. package/dist/plugins/tables/listTableRecords/schemas.d.ts +2 -2
  273. package/dist/plugins/tables/listTables/index.d.ts +3 -3
  274. package/dist/plugins/tables/listTables/index.d.ts.map +1 -1
  275. package/dist/plugins/tables/listTables/index.js +4 -4
  276. package/dist/plugins/tables/updateTableRecords/index.d.ts +63 -2
  277. package/dist/plugins/tables/updateTableRecords/index.d.ts.map +1 -1
  278. package/dist/plugins/tables/updateTableRecords/index.js +2 -2
  279. package/dist/plugins/tables/updateTableRecords/schemas.d.ts +3 -4
  280. package/dist/plugins/tables/updateTableRecords/schemas.d.ts.map +1 -1
  281. package/dist/plugins/triggers/ackTriggerInboxMessages/index.d.ts +59 -2
  282. package/dist/plugins/triggers/ackTriggerInboxMessages/index.d.ts.map +1 -1
  283. package/dist/plugins/triggers/ackTriggerInboxMessages/index.js +1 -1
  284. package/dist/plugins/triggers/ackTriggerInboxMessages/schemas.d.ts +1 -1
  285. package/dist/plugins/triggers/createTriggerInbox/index.d.ts +231 -2
  286. package/dist/plugins/triggers/createTriggerInbox/index.d.ts.map +1 -1
  287. package/dist/plugins/triggers/createTriggerInbox/index.js +3 -1
  288. package/dist/plugins/triggers/createTriggerInbox/schemas.d.ts +3 -4
  289. package/dist/plugins/triggers/createTriggerInbox/schemas.d.ts.map +1 -1
  290. package/dist/plugins/triggers/deleteTriggerInbox/index.d.ts +33 -2
  291. package/dist/plugins/triggers/deleteTriggerInbox/index.d.ts.map +1 -1
  292. package/dist/plugins/triggers/deleteTriggerInbox/index.js +3 -1
  293. package/dist/plugins/triggers/deleteTriggerInbox/schemas.d.ts +2 -3
  294. package/dist/plugins/triggers/deleteTriggerInbox/schemas.d.ts.map +1 -1
  295. package/dist/plugins/triggers/drainTriggerInbox/index.d.ts +68 -6
  296. package/dist/plugins/triggers/drainTriggerInbox/index.d.ts.map +1 -1
  297. package/dist/plugins/triggers/drainTriggerInbox/index.js +1 -1
  298. package/dist/plugins/triggers/drainTriggerInbox/schemas.d.ts +2 -2
  299. package/dist/plugins/triggers/ensureTriggerInbox/index.d.ts +231 -2
  300. package/dist/plugins/triggers/ensureTriggerInbox/index.d.ts.map +1 -1
  301. package/dist/plugins/triggers/ensureTriggerInbox/index.js +3 -1
  302. package/dist/plugins/triggers/ensureTriggerInbox/schemas.d.ts +3 -4
  303. package/dist/plugins/triggers/ensureTriggerInbox/schemas.d.ts.map +1 -1
  304. package/dist/plugins/triggers/getTriggerInbox/index.d.ts +33 -2
  305. package/dist/plugins/triggers/getTriggerInbox/index.d.ts.map +1 -1
  306. package/dist/plugins/triggers/getTriggerInbox/index.js +3 -1
  307. package/dist/plugins/triggers/getTriggerInbox/schemas.d.ts +2 -3
  308. package/dist/plugins/triggers/getTriggerInbox/schemas.d.ts.map +1 -1
  309. package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.d.ts +232 -3
  310. package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.d.ts.map +1 -1
  311. package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.js +1 -1
  312. package/dist/plugins/triggers/getTriggerInputFieldsSchema/schemas.d.ts +2 -2
  313. package/dist/plugins/triggers/leaseTriggerInboxMessages/index.d.ts +33 -2
  314. package/dist/plugins/triggers/leaseTriggerInboxMessages/index.d.ts.map +1 -1
  315. package/dist/plugins/triggers/leaseTriggerInboxMessages/index.js +1 -1
  316. package/dist/plugins/triggers/leaseTriggerInboxMessages/schemas.d.ts +1 -1
  317. package/dist/plugins/triggers/listTriggerInboxMessages/index.d.ts +34 -3
  318. package/dist/plugins/triggers/listTriggerInboxMessages/index.d.ts.map +1 -1
  319. package/dist/plugins/triggers/listTriggerInboxMessages/index.js +5 -13
  320. package/dist/plugins/triggers/listTriggerInboxMessages/schemas.d.ts +1 -1
  321. package/dist/plugins/triggers/listTriggerInboxes/index.d.ts +3 -3
  322. package/dist/plugins/triggers/listTriggerInboxes/index.d.ts.map +1 -1
  323. package/dist/plugins/triggers/listTriggerInboxes/index.js +5 -14
  324. package/dist/plugins/triggers/listTriggerInputFieldChoices/index.d.ts +288 -5
  325. package/dist/plugins/triggers/listTriggerInputFieldChoices/index.d.ts.map +1 -1
  326. package/dist/plugins/triggers/listTriggerInputFieldChoices/index.js +7 -5
  327. package/dist/plugins/triggers/listTriggerInputFieldChoices/schemas.d.ts +3 -3
  328. package/dist/plugins/triggers/listTriggerInputFields/index.d.ts +234 -5
  329. package/dist/plugins/triggers/listTriggerInputFields/index.d.ts.map +1 -1
  330. package/dist/plugins/triggers/listTriggerInputFields/index.js +6 -5
  331. package/dist/plugins/triggers/listTriggerInputFields/schemas.d.ts +2 -2
  332. package/dist/plugins/triggers/listTriggers/index.d.ts +142 -5
  333. package/dist/plugins/triggers/listTriggers/index.d.ts.map +1 -1
  334. package/dist/plugins/triggers/listTriggers/index.js +6 -5
  335. package/dist/plugins/triggers/listTriggers/schemas.d.ts +1 -1
  336. package/dist/plugins/triggers/pauseTriggerInbox/index.d.ts +33 -2
  337. package/dist/plugins/triggers/pauseTriggerInbox/index.d.ts.map +1 -1
  338. package/dist/plugins/triggers/pauseTriggerInbox/index.js +3 -1
  339. package/dist/plugins/triggers/pauseTriggerInbox/schemas.d.ts +2 -3
  340. package/dist/plugins/triggers/pauseTriggerInbox/schemas.d.ts.map +1 -1
  341. package/dist/plugins/triggers/releaseTriggerInboxMessages/index.d.ts +59 -2
  342. package/dist/plugins/triggers/releaseTriggerInboxMessages/index.d.ts.map +1 -1
  343. package/dist/plugins/triggers/releaseTriggerInboxMessages/index.js +1 -1
  344. package/dist/plugins/triggers/releaseTriggerInboxMessages/schemas.d.ts +1 -1
  345. package/dist/plugins/triggers/resumeTriggerInbox/index.d.ts +33 -2
  346. package/dist/plugins/triggers/resumeTriggerInbox/index.d.ts.map +1 -1
  347. package/dist/plugins/triggers/resumeTriggerInbox/index.js +3 -1
  348. package/dist/plugins/triggers/resumeTriggerInbox/schemas.d.ts +2 -3
  349. package/dist/plugins/triggers/resumeTriggerInbox/schemas.d.ts.map +1 -1
  350. package/dist/plugins/triggers/updateTriggerInbox/index.d.ts +33 -2
  351. package/dist/plugins/triggers/updateTriggerInbox/index.d.ts.map +1 -1
  352. package/dist/plugins/triggers/updateTriggerInbox/index.js +3 -1
  353. package/dist/plugins/triggers/updateTriggerInbox/schemas.d.ts +2 -3
  354. package/dist/plugins/triggers/updateTriggerInbox/schemas.d.ts.map +1 -1
  355. package/dist/plugins/triggers/watchTriggerInbox/index.d.ts +37 -6
  356. package/dist/plugins/triggers/watchTriggerInbox/index.d.ts.map +1 -1
  357. package/dist/plugins/triggers/watchTriggerInbox/index.js +1 -1
  358. package/dist/resolvers/actionKey.d.ts +3 -2
  359. package/dist/resolvers/actionKey.d.ts.map +1 -1
  360. package/dist/resolvers/actionType.d.ts +7 -2
  361. package/dist/resolvers/actionType.d.ts.map +1 -1
  362. package/dist/resolvers/actionType.js +3 -0
  363. package/dist/resolvers/appKey.d.ts +10 -5
  364. package/dist/resolvers/appKey.d.ts.map +1 -1
  365. package/dist/resolvers/appKey.js +3 -0
  366. package/dist/resolvers/clientCredentialsName.d.ts +1 -1
  367. package/dist/resolvers/clientCredentialsName.d.ts.map +1 -1
  368. package/dist/resolvers/clientId.d.ts +3 -2
  369. package/dist/resolvers/clientId.d.ts.map +1 -1
  370. package/dist/resolvers/clientId.js +1 -1
  371. package/dist/resolvers/connectionId.d.ts +5 -2
  372. package/dist/resolvers/connectionId.d.ts.map +1 -1
  373. package/dist/resolvers/connectionId.js +1 -1
  374. package/dist/resolvers/durableRunId.d.ts +3 -2
  375. package/dist/resolvers/durableRunId.d.ts.map +1 -1
  376. package/dist/resolvers/durableRunId.js +3 -2
  377. package/dist/resolvers/inputFieldKey.d.ts +3 -2
  378. package/dist/resolvers/inputFieldKey.d.ts.map +1 -1
  379. package/dist/resolvers/inputFieldKey.js +1 -1
  380. package/dist/resolvers/tableFieldIds.d.ts +3 -2
  381. package/dist/resolvers/tableFieldIds.d.ts.map +1 -1
  382. package/dist/resolvers/tableFields.d.ts +2 -2
  383. package/dist/resolvers/tableFields.d.ts.map +1 -1
  384. package/dist/resolvers/tableFilters.d.ts +3 -2
  385. package/dist/resolvers/tableFilters.d.ts.map +1 -1
  386. package/dist/resolvers/tableId.d.ts +3 -2
  387. package/dist/resolvers/tableId.d.ts.map +1 -1
  388. package/dist/resolvers/tableId.js +1 -1
  389. package/dist/resolvers/tableName.d.ts +1 -1
  390. package/dist/resolvers/tableName.d.ts.map +1 -1
  391. package/dist/resolvers/tableRecordId.d.ts +4 -3
  392. package/dist/resolvers/tableRecordId.d.ts.map +1 -1
  393. package/dist/resolvers/tableRecords.d.ts +4 -3
  394. package/dist/resolvers/tableRecords.d.ts.map +1 -1
  395. package/dist/resolvers/tableSort.d.ts +3 -2
  396. package/dist/resolvers/tableSort.d.ts.map +1 -1
  397. package/dist/resolvers/triggerInbox.d.ts +3 -2
  398. package/dist/resolvers/triggerInbox.d.ts.map +1 -1
  399. package/dist/resolvers/triggerInbox.js +1 -1
  400. package/dist/resolvers/triggerMessages.d.ts +3 -2
  401. package/dist/resolvers/triggerMessages.d.ts.map +1 -1
  402. package/dist/resolvers/triggerMessages.js +2 -4
  403. package/dist/resolvers/workflowId.d.ts +3 -2
  404. package/dist/resolvers/workflowId.d.ts.map +1 -1
  405. package/dist/resolvers/workflowId.js +3 -2
  406. package/dist/resolvers/workflowRunId.d.ts +3 -2
  407. package/dist/resolvers/workflowRunId.d.ts.map +1 -1
  408. package/dist/resolvers/workflowRunId.js +5 -5
  409. package/dist/resolvers/workflowVersionId.d.ts +3 -2
  410. package/dist/resolvers/workflowVersionId.d.ts.map +1 -1
  411. package/dist/resolvers/workflowVersionId.js +7 -7
  412. package/dist/schemas/Action.d.ts.map +1 -1
  413. package/dist/schemas/Action.js +6 -30
  414. package/dist/schemas/App.d.ts +0 -1
  415. package/dist/schemas/App.d.ts.map +1 -1
  416. package/dist/schemas/App.js +2 -14
  417. package/dist/schemas/ClientCredentials.d.ts.map +1 -1
  418. package/dist/schemas/ClientCredentials.js +3 -41
  419. package/dist/schemas/Connection.d.ts.map +1 -1
  420. package/dist/schemas/Connection.js +2 -28
  421. package/dist/schemas/Field.d.ts.map +1 -1
  422. package/dist/schemas/Field.js +3 -70
  423. package/dist/schemas/Run.d.ts.map +1 -1
  424. package/dist/schemas/Run.js +3 -29
  425. package/dist/schemas/TriggerInbox.d.ts.map +1 -1
  426. package/dist/schemas/TriggerInbox.js +1 -33
  427. package/dist/schemas/TriggerMessage.d.ts.map +1 -1
  428. package/dist/schemas/TriggerMessage.js +2 -60
  429. package/dist/schemas/UserProfile.d.ts +0 -1
  430. package/dist/schemas/UserProfile.d.ts.map +1 -1
  431. package/dist/schemas/UserProfile.js +1 -20
  432. package/dist/sdk.d.ts +2761 -441
  433. package/dist/sdk.d.ts.map +1 -1
  434. package/dist/sdk.js +93 -129
  435. package/dist/types/errors.d.ts +44 -42
  436. package/dist/types/errors.d.ts.map +1 -1
  437. package/dist/types/errors.js +79 -33
  438. package/dist/types/functions.d.ts +1 -41
  439. package/dist/types/functions.d.ts.map +1 -1
  440. package/dist/types/properties.d.ts +7 -7
  441. package/dist/types/properties.js +1 -1
  442. package/dist/types/sdk.d.ts +1 -1
  443. package/dist/types/sdk.d.ts.map +1 -1
  444. package/dist/utils/domain-utils.js +1 -1
  445. package/dist/utils/logging.d.ts +1 -12
  446. package/dist/utils/logging.d.ts.map +1 -1
  447. package/dist/utils/logging.js +2 -20
  448. package/dist/utils/pagination.d.ts +38 -0
  449. package/dist/utils/pagination.d.ts.map +1 -0
  450. package/dist/utils/pagination.js +53 -0
  451. package/package.json +3 -2
  452. package/dist/registry.d.ts +0 -9
  453. package/dist/registry.d.ts.map +0 -1
  454. package/dist/registry.js +0 -103
  455. package/dist/types/meta.d.ts +0 -9
  456. package/dist/types/meta.d.ts.map +0 -1
  457. package/dist/types/meta.js +0 -3
  458. package/dist/types/plugin.d.ts +0 -84
  459. package/dist/types/plugin.d.ts.map +0 -1
  460. package/dist/types/plugin.js +0 -13
  461. package/dist/types/registry.d.ts +0 -54
  462. package/dist/types/registry.d.ts.map +0 -1
  463. package/dist/types/registry.js +0 -1
  464. package/dist/utils/function-utils.d.ts +0 -59
  465. package/dist/utils/function-utils.d.ts.map +0 -1
  466. package/dist/utils/function-utils.js +0 -245
  467. package/dist/utils/pagination-utils.d.ts +0 -73
  468. package/dist/utils/pagination-utils.d.ts.map +0 -1
  469. package/dist/utils/pagination-utils.js +0 -308
  470. package/dist/utils/plugin-utils.d.ts +0 -245
  471. package/dist/utils/plugin-utils.d.ts.map +0 -1
  472. package/dist/utils/plugin-utils.js +0 -234
  473. package/dist/utils/schema-utils.d.ts +0 -211
  474. package/dist/utils/schema-utils.d.ts.map +0 -1
  475. package/dist/utils/schema-utils.js +0 -72
  476. package/dist/utils/string-utils.d.ts +0 -40
  477. package/dist/utils/string-utils.d.ts.map +0 -1
  478. package/dist/utils/string-utils.js +0 -69
  479. package/dist/utils/telemetry-context.d.ts +0 -15
  480. package/dist/utils/telemetry-context.d.ts.map +0 -1
  481. package/dist/utils/telemetry-context.js +0 -48
  482. package/dist/utils/telemetry-utils.d.ts +0 -44
  483. package/dist/utils/telemetry-utils.d.ts.map +0 -1
  484. package/dist/utils/telemetry-utils.js +0 -60
  485. package/dist/utils/validation.d.ts +0 -4
  486. package/dist/utils/validation.d.ts.map +0 -1
  487. package/dist/utils/validation.js +0 -30
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getWorkflowVersion/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBpC,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,UAAU,CACvD,OAAO,wBAAwB,CAChC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getWorkflowVersion/index.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BpC,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,UAAU,CACvD,OAAO,wBAAwB,CAChC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { definePlugin, createPluginMethod } from "../../../utils/plugin-utils";
1
+ import { definePlugin, createPluginMethod } from "kitcore";
2
2
  import { workflowIdResolver } from "../../../resolvers/workflowId";
3
3
  import { workflowVersionIdResolver } from "../../../resolvers/workflowVersionId";
4
4
  import { codeSubstrateDefaults } from "../shared";
@@ -18,7 +18,7 @@ export declare const listDurableRunsPlugin: (sdk: {
18
18
  context: import("../../eventEmission").EventEmissionContext;
19
19
  } & {
20
20
  context: {
21
- meta: Record<string, import("../../..").PluginMeta>;
21
+ meta: Record<string, import("kitcore").PluginMeta>;
22
22
  };
23
23
  }) => {
24
24
  listDurableRuns: (options?: ({
@@ -29,7 +29,7 @@ export declare const listDurableRunsPlugin: (sdk: {
29
29
  cursor?: string;
30
30
  pageSize?: number;
31
31
  maxItems?: number;
32
- }) | undefined) => import("../../..").PaginatedSdkResult<{
32
+ }) | undefined) => import("kitcore").PaginatedSdkResult<{
33
33
  id: string;
34
34
  status: "initialized" | "started" | "finished" | "failed" | "cancelled";
35
35
  input: unknown;
@@ -47,7 +47,7 @@ export declare const listDurableRunsPlugin: (sdk: {
47
47
  } & {
48
48
  context: {
49
49
  meta: {
50
- listDurableRuns: import("../../..").PluginMeta;
50
+ listDurableRuns: import("kitcore").PluginMeta<unknown>;
51
51
  };
52
52
  };
53
53
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listDurableRuns/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BjC,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,qBAAqB,CAC7B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listDurableRuns/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BjC,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,qBAAqB,CAC7B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { definePlugin, createPaginatedPluginMethod, } from "../../../utils/plugin-utils";
1
+ import { definePlugin, createPaginatedPluginMethod } from "kitcore";
2
2
  import { DEFAULT_PAGE_SIZE } from "../../../constants";
3
3
  import { codeSubstrateDefaults } from "../shared";
4
4
  import { ListDurableRunsOptionsSchema, RunItemSchema, } from "./schemas";
@@ -16,9 +16,34 @@ export declare const listWorkflowRunsPlugin: (sdk: {
16
16
  };
17
17
  } & {
18
18
  context: import("../../eventEmission").EventEmissionContext;
19
+ } & {
20
+ listWorkflows: (options?: ({
21
+ pageSize?: number | undefined;
22
+ maxItems?: number | undefined;
23
+ cursor?: string | undefined;
24
+ } & {
25
+ cursor?: string;
26
+ pageSize?: number;
27
+ maxItems?: number;
28
+ }) | undefined) => import("kitcore").PaginatedSdkResult<{
29
+ id: string;
30
+ name: string;
31
+ description: string | null;
32
+ trigger_url: string;
33
+ enabled: boolean;
34
+ current_version_id: string | null;
35
+ created_at: string;
36
+ updated_at: string;
37
+ }>;
38
+ } & {
39
+ context: {
40
+ meta: {
41
+ listWorkflows: import("kitcore").PluginMeta<unknown>;
42
+ };
43
+ };
19
44
  } & {
20
45
  context: {
21
- meta: Record<string, import("../../..").PluginMeta>;
46
+ meta: Record<string, import("kitcore").PluginMeta>;
22
47
  };
23
48
  }) => {
24
49
  listWorkflowRuns: (options?: ({
@@ -30,7 +55,7 @@ export declare const listWorkflowRunsPlugin: (sdk: {
30
55
  cursor?: string;
31
56
  pageSize?: number;
32
57
  maxItems?: number;
33
- }) | undefined) => import("../../..").PaginatedSdkResult<{
58
+ }) | undefined) => import("kitcore").PaginatedSdkResult<{
34
59
  id: string;
35
60
  trigger_id: string | null;
36
61
  durable_run_id: string | null;
@@ -45,7 +70,7 @@ export declare const listWorkflowRunsPlugin: (sdk: {
45
70
  } & {
46
71
  context: {
47
72
  meta: {
48
- listWorkflowRuns: import("../../..").PluginMeta;
73
+ listWorkflowRuns: import("kitcore").PluginMeta<unknown>;
49
74
  };
50
75
  };
51
76
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflowRuns/index.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkClC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,UAAU,CACrD,OAAO,sBAAsB,CAC9B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflowRuns/index.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsClC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,UAAU,CACrD,OAAO,sBAAsB,CAC9B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { definePlugin, createPaginatedPluginMethod, } from "../../../utils/plugin-utils";
1
+ import { definePlugin, createPaginatedPluginMethod } from "kitcore";
2
2
  import { workflowIdResolver } from "../../../resolvers/workflowId";
3
3
  import { DEFAULT_PAGE_SIZE } from "../../../constants";
4
4
  import { codeSubstrateDefaults } from "../shared";
@@ -16,9 +16,34 @@ export declare const listWorkflowVersionsPlugin: (sdk: {
16
16
  };
17
17
  } & {
18
18
  context: import("../../eventEmission").EventEmissionContext;
19
+ } & {
20
+ listWorkflows: (options?: ({
21
+ pageSize?: number | undefined;
22
+ maxItems?: number | undefined;
23
+ cursor?: string | undefined;
24
+ } & {
25
+ cursor?: string;
26
+ pageSize?: number;
27
+ maxItems?: number;
28
+ }) | undefined) => import("kitcore").PaginatedSdkResult<{
29
+ id: string;
30
+ name: string;
31
+ description: string | null;
32
+ trigger_url: string;
33
+ enabled: boolean;
34
+ current_version_id: string | null;
35
+ created_at: string;
36
+ updated_at: string;
37
+ }>;
38
+ } & {
39
+ context: {
40
+ meta: {
41
+ listWorkflows: import("kitcore").PluginMeta<unknown>;
42
+ };
43
+ };
19
44
  } & {
20
45
  context: {
21
- meta: Record<string, import("../../..").PluginMeta>;
46
+ meta: Record<string, import("kitcore").PluginMeta>;
22
47
  };
23
48
  }) => {
24
49
  listWorkflowVersions: (options?: ({
@@ -30,7 +55,7 @@ export declare const listWorkflowVersionsPlugin: (sdk: {
30
55
  cursor?: string;
31
56
  pageSize?: number;
32
57
  maxItems?: number;
33
- }) | undefined) => import("../../..").PaginatedSdkResult<{
58
+ }) | undefined) => import("kitcore").PaginatedSdkResult<{
34
59
  id: string;
35
60
  workflow_id: string;
36
61
  zapier_durable_version: string;
@@ -41,7 +66,7 @@ export declare const listWorkflowVersionsPlugin: (sdk: {
41
66
  } & {
42
67
  context: {
43
68
  meta: {
44
- listWorkflowVersions: import("../../..").PluginMeta;
69
+ listWorkflowVersions: import("kitcore").PluginMeta<unknown>;
45
70
  };
46
71
  };
47
72
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflowVersions/index.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCtC,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG,UAAU,CACzD,OAAO,0BAA0B,CAClC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflowVersions/index.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCtC,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG,UAAU,CACzD,OAAO,0BAA0B,CAClC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { definePlugin, createPaginatedPluginMethod, } from "../../../utils/plugin-utils";
1
+ import { definePlugin, createPaginatedPluginMethod } from "kitcore";
2
2
  import { workflowIdResolver } from "../../../resolvers/workflowId";
3
3
  import { DEFAULT_PAGE_SIZE } from "../../../constants";
4
4
  import { codeSubstrateDefaults } from "../shared";
@@ -18,7 +18,7 @@ export declare const listWorkflowsPlugin: (sdk: {
18
18
  context: import("../../eventEmission").EventEmissionContext;
19
19
  } & {
20
20
  context: {
21
- meta: Record<string, import("../../..").PluginMeta>;
21
+ meta: Record<string, import("kitcore").PluginMeta>;
22
22
  };
23
23
  }) => {
24
24
  listWorkflows: (options?: ({
@@ -29,7 +29,7 @@ export declare const listWorkflowsPlugin: (sdk: {
29
29
  cursor?: string;
30
30
  pageSize?: number;
31
31
  maxItems?: number;
32
- }) | undefined) => import("../../..").PaginatedSdkResult<{
32
+ }) | undefined) => import("kitcore").PaginatedSdkResult<{
33
33
  id: string;
34
34
  name: string;
35
35
  description: string | null;
@@ -42,7 +42,7 @@ export declare const listWorkflowsPlugin: (sdk: {
42
42
  } & {
43
43
  context: {
44
44
  meta: {
45
- listWorkflows: import("../../..").PluginMeta;
45
+ listWorkflows: import("kitcore").PluginMeta<unknown>;
46
46
  };
47
47
  };
48
48
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflows/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B/B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,mBAAmB,CAC3B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/listWorkflows/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B/B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,mBAAmB,CAC3B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { definePlugin, createPaginatedPluginMethod, } from "../../../utils/plugin-utils";
1
+ import { definePlugin, createPaginatedPluginMethod } from "kitcore";
2
2
  import { DEFAULT_PAGE_SIZE } from "../../../constants";
3
3
  import { codeSubstrateDefaults } from "../shared";
4
4
  import { ListWorkflowsApiResponseSchema, ListWorkflowsOptionsSchema, WorkflowItemSchema, } from "./schemas";
@@ -22,8 +22,7 @@ export const listWorkflowsPlugin = definePlugin((sdk) => createPaginatedPluginMe
22
22
  const response = ListWorkflowsApiResponseSchema.parse(raw);
23
23
  return {
24
24
  data: response.workflows,
25
- next: response.next_cursor ?? null,
25
+ nextCursor: response.next_cursor ?? undefined,
26
26
  };
27
27
  },
28
- extractCursor: (response) => response.next ?? undefined,
29
28
  }));
@@ -16,9 +16,34 @@ export declare const publishWorkflowVersionPlugin: (sdk: {
16
16
  };
17
17
  } & {
18
18
  context: import("../../eventEmission").EventEmissionContext;
19
+ } & {
20
+ listWorkflows: (options?: ({
21
+ pageSize?: number | undefined;
22
+ maxItems?: number | undefined;
23
+ cursor?: string | undefined;
24
+ } & {
25
+ cursor?: string;
26
+ pageSize?: number;
27
+ maxItems?: number;
28
+ }) | undefined) => import("kitcore").PaginatedSdkResult<{
29
+ id: string;
30
+ name: string;
31
+ description: string | null;
32
+ trigger_url: string;
33
+ enabled: boolean;
34
+ current_version_id: string | null;
35
+ created_at: string;
36
+ updated_at: string;
37
+ }>;
38
+ } & {
39
+ context: {
40
+ meta: {
41
+ listWorkflows: import("kitcore").PluginMeta<unknown>;
42
+ };
43
+ };
19
44
  } & {
20
45
  context: {
21
- meta: Record<string, import("../../..").PluginMeta>;
46
+ meta: Record<string, import("kitcore").PluginMeta>;
22
47
  };
23
48
  }) => {
24
49
  publishWorkflowVersion: (options?: {
@@ -41,7 +66,7 @@ export declare const publishWorkflowVersionPlugin: (sdk: {
41
66
  } & {
42
67
  context: {
43
68
  meta: {
44
- publishWorkflowVersion: import("../../..").PluginMeta;
69
+ publishWorkflowVersion: import("kitcore").PluginMeta<unknown>;
45
70
  };
46
71
  };
47
72
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/publishWorkflowVersion/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCxC,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG,UAAU,CAC3D,OAAO,4BAA4B,CACpC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/publishWorkflowVersion/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCxC,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG,UAAU,CAC3D,OAAO,4BAA4B,CACpC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { definePlugin, createPluginMethod } from "../../../utils/plugin-utils";
1
+ import { definePlugin, createPluginMethod } from "kitcore";
2
2
  import { workflowIdResolver } from "../../../resolvers/workflowId";
3
3
  import { codeSubstrateDefaults } from "../shared";
4
4
  import { PublishWorkflowVersionOptionsSchema, PublishWorkflowVersionResponseSchema, } from "./schemas";
@@ -18,7 +18,7 @@ export declare const runDurablePlugin: (sdk: {
18
18
  context: import("../../eventEmission").EventEmissionContext;
19
19
  } & {
20
20
  context: {
21
- meta: Record<string, import("../../..").PluginMeta>;
21
+ meta: Record<string, import("kitcore").PluginMeta>;
22
22
  };
23
23
  }) => {
24
24
  runDurable: (options?: {
@@ -45,7 +45,7 @@ export declare const runDurablePlugin: (sdk: {
45
45
  } & {
46
46
  context: {
47
47
  meta: {
48
- runDurable: import("../../..").PluginMeta;
48
+ runDurable: import("kitcore").PluginMeta<unknown>;
49
49
  };
50
50
  };
51
51
  };
@@ -1,4 +1,4 @@
1
- import { definePlugin, createPluginMethod } from "../../../utils/plugin-utils";
1
+ import { definePlugin, createPluginMethod } from "kitcore";
2
2
  import { codeSubstrateDefaults } from "../shared";
3
3
  import { RunDurableOptionsSchema, RunDurableResponseSchema, } from "./schemas";
4
4
  export const runDurablePlugin = definePlugin((sdk) => createPluginMethod(sdk, {
@@ -0,0 +1,73 @@
1
+ export declare const triggerWorkflowPlugin: (sdk: {
2
+ context: {
3
+ api: import("../../..").ApiClient;
4
+ resolveCredentials: () => Promise<string | {
5
+ clientId: string;
6
+ clientSecret: string;
7
+ type?: "client_credentials" | undefined;
8
+ baseUrl?: string | undefined;
9
+ scope?: string | undefined;
10
+ } | {
11
+ clientId: string;
12
+ type?: "pkce" | undefined;
13
+ baseUrl?: string | undefined;
14
+ scope?: string | undefined;
15
+ } | undefined>;
16
+ };
17
+ } & {
18
+ context: import("../../eventEmission").EventEmissionContext;
19
+ } & {
20
+ listWorkflows: (options?: ({
21
+ pageSize?: number | undefined;
22
+ maxItems?: number | undefined;
23
+ cursor?: string | undefined;
24
+ } & {
25
+ cursor?: string;
26
+ pageSize?: number;
27
+ maxItems?: number;
28
+ }) | undefined) => import("kitcore").PaginatedSdkResult<{
29
+ id: string;
30
+ name: string;
31
+ description: string | null;
32
+ trigger_url: string;
33
+ enabled: boolean;
34
+ current_version_id: string | null;
35
+ created_at: string;
36
+ updated_at: string;
37
+ }>;
38
+ } & {
39
+ context: {
40
+ meta: {
41
+ listWorkflows: import("kitcore").PluginMeta<unknown>;
42
+ };
43
+ };
44
+ } & {
45
+ context: {
46
+ options: {
47
+ fetch?: typeof globalThis.fetch;
48
+ };
49
+ };
50
+ } & {
51
+ context: {
52
+ meta: Record<string, import("kitcore").PluginMeta>;
53
+ };
54
+ }) => {
55
+ triggerWorkflow: (options?: {
56
+ workflow: string;
57
+ input?: unknown;
58
+ } | undefined) => Promise<{
59
+ data: {
60
+ workflow: string;
61
+ status: number;
62
+ body: unknown;
63
+ };
64
+ }>;
65
+ } & {
66
+ context: {
67
+ meta: {
68
+ triggerWorkflow: import("kitcore").PluginMeta<unknown>;
69
+ };
70
+ };
71
+ };
72
+ export type TriggerWorkflowPluginProvides = ReturnType<typeof triggerWorkflowPlugin>;
73
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/triggerWorkflow/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAKjB;QAAE,OAAO,EAAE;YAAE,KAAK,CAAC,EAAE,OAAO,UAAU,CAAC,KAAK,CAAA;SAAE,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;CA4DhE,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,qBAAqB,CAC7B,CAAC"}
@@ -0,0 +1,52 @@
1
+ import { definePlugin, createPluginMethod } from "kitcore";
2
+ import { workflowIdResolver } from "../../../resolvers/workflowId";
3
+ import { ZapierApiError } from "../../../types/errors";
4
+ import { codeSubstrateDefaults } from "../shared";
5
+ import { TriggerWorkflowLookupResponseSchema, TriggerWorkflowOptionsSchema, TriggerWorkflowResponseSchema, } from "./schemas";
6
+ export const triggerWorkflowPlugin = definePlugin((sdk) => createPluginMethod(sdk, {
7
+ ...codeSubstrateDefaults,
8
+ name: "triggerWorkflow",
9
+ type: "create",
10
+ itemType: "WorkflowRun",
11
+ inputSchema: TriggerWorkflowOptionsSchema,
12
+ outputSchema: TriggerWorkflowResponseSchema,
13
+ resolvers: { workflow: workflowIdResolver },
14
+ handler: async ({ sdk, options }) => {
15
+ // Two-step: get the workflow's trigger_url via sdk.context.api
16
+ // (authenticated), then POST the payload to that URL with no
17
+ // auth header — the URL itself embeds a secret token. Custom
18
+ // fetch (e.g. tests) flows through sdk.context.options.fetch.
19
+ const rawWorkflow = await sdk.context.api.get(`/durableworkflowzaps/api/v0/workflows/${encodeURIComponent(options.workflow)}`, {
20
+ authRequired: true,
21
+ resource: { type: "workflow", id: options.workflow },
22
+ });
23
+ const workflow = TriggerWorkflowLookupResponseSchema.parse(rawWorkflow);
24
+ const fetch = sdk.context.options.fetch ?? globalThis.fetch;
25
+ const response = await fetch(workflow.trigger_url, {
26
+ method: "POST",
27
+ headers: { "Content-Type": "application/json" },
28
+ body: options.input === undefined
29
+ ? undefined
30
+ : JSON.stringify(options.input),
31
+ });
32
+ const text = await response.text().catch(() => "");
33
+ let body = text;
34
+ if (text) {
35
+ try {
36
+ body = JSON.parse(text);
37
+ }
38
+ catch {
39
+ body = text;
40
+ }
41
+ }
42
+ if (!response.ok) {
43
+ throw new ZapierApiError(`Trigger failed: ${response.status} ${response.statusText}: ${text || "(empty body)"}`, { statusCode: response.status, response: body });
44
+ }
45
+ const data = {
46
+ workflow: options.workflow,
47
+ status: response.status,
48
+ body,
49
+ };
50
+ return { data };
51
+ },
52
+ }));
@@ -0,0 +1,16 @@
1
+ import { z } from "zod";
2
+ export declare const TriggerWorkflowLookupResponseSchema: z.ZodObject<{
3
+ trigger_url: z.ZodString;
4
+ }, z.core.$loose>;
5
+ export declare const TriggerWorkflowOptionsSchema: z.ZodObject<{
6
+ workflow: z.ZodString;
7
+ input: z.ZodOptional<z.ZodUnknown>;
8
+ }, z.core.$strip>;
9
+ export type TriggerWorkflowOptions = z.infer<typeof TriggerWorkflowOptionsSchema>;
10
+ export declare const TriggerWorkflowResponseSchema: z.ZodObject<{
11
+ workflow: z.ZodString;
12
+ status: z.ZodNumber;
13
+ body: z.ZodUnknown;
14
+ }, z.core.$strip>;
15
+ export type TriggerWorkflowResponse = z.infer<typeof TriggerWorkflowResponseSchema>;
16
+ //# sourceMappingURL=schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/triggerWorkflow/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,mCAAmC;;iBAIhC,CAAC;AAEjB,eAAO,MAAM,4BAA4B;;;iBAYtC,CAAC;AAEJ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,6BAA6B;;;;iBAWxC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAC3C,OAAO,6BAA6B,CACrC,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { z } from "zod";
2
+ // Minimal shape we read off the GET /workflows/{id} response. The
3
+ // workflow lookup happens inline (we only need the trigger_url), so we
4
+ // pin a focused schema here rather than importing the full
5
+ // GetWorkflowResponseSchema and coupling these plugins together.
6
+ // trigger_url is required (matches getWorkflow / listWorkflows /
7
+ // createWorkflow / updateWorkflow which all declare it z.string()).
8
+ export const TriggerWorkflowLookupResponseSchema = z
9
+ .object({
10
+ trigger_url: z.string(),
11
+ })
12
+ .passthrough();
13
+ export const TriggerWorkflowOptionsSchema = z
14
+ .object({
15
+ workflow: z.string().uuid().describe("Durable workflow ID"),
16
+ input: z
17
+ .unknown()
18
+ .optional()
19
+ .describe("JSON payload delivered as the trigger body. Sent as `application/json`; omit to fire with an empty body."),
20
+ })
21
+ .describe("Look up a workflow's trigger URL and fire it manually. The trigger endpoint is tokenized (the URL contains a secret) and takes no auth header, so the SDK uses a raw fetch rather than the api plugin.");
22
+ export const TriggerWorkflowResponseSchema = z.object({
23
+ workflow: z.string().describe("The workflow ID that was triggered"),
24
+ status: z
25
+ .number()
26
+ .int()
27
+ .describe("HTTP status returned by the trigger endpoint"),
28
+ body: z
29
+ .unknown()
30
+ .describe("Response body from the trigger endpoint. Parsed as JSON when the response body parses, otherwise returned as the raw response text."),
31
+ });
@@ -16,9 +16,34 @@ export declare const updateWorkflowPlugin: (sdk: {
16
16
  };
17
17
  } & {
18
18
  context: import("../../eventEmission").EventEmissionContext;
19
+ } & {
20
+ listWorkflows: (options?: ({
21
+ pageSize?: number | undefined;
22
+ maxItems?: number | undefined;
23
+ cursor?: string | undefined;
24
+ } & {
25
+ cursor?: string;
26
+ pageSize?: number;
27
+ maxItems?: number;
28
+ }) | undefined) => import("kitcore").PaginatedSdkResult<{
29
+ id: string;
30
+ name: string;
31
+ description: string | null;
32
+ trigger_url: string;
33
+ enabled: boolean;
34
+ current_version_id: string | null;
35
+ created_at: string;
36
+ updated_at: string;
37
+ }>;
38
+ } & {
39
+ context: {
40
+ meta: {
41
+ listWorkflows: import("kitcore").PluginMeta<unknown>;
42
+ };
43
+ };
19
44
  } & {
20
45
  context: {
21
- meta: Record<string, import("../../..").PluginMeta>;
46
+ meta: Record<string, import("kitcore").PluginMeta>;
22
47
  };
23
48
  }) => {
24
49
  updateWorkflow: (options?: {
@@ -39,7 +64,7 @@ export declare const updateWorkflowPlugin: (sdk: {
39
64
  } & {
40
65
  context: {
41
66
  meta: {
42
- updateWorkflow: import("../../..").PluginMeta;
67
+ updateWorkflow: import("kitcore").PluginMeta<unknown>;
43
68
  };
44
69
  };
45
70
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/updateWorkflow/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BhC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,oBAAoB,CAC5B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/updateWorkflow/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiChC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,oBAAoB,CAC5B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { definePlugin, createPluginMethod } from "../../../utils/plugin-utils";
1
+ import { definePlugin, createPluginMethod } from "kitcore";
2
2
  import { workflowIdResolver } from "../../../resolvers/workflowId";
3
3
  import { codeSubstrateDefaults } from "../shared";
4
4
  import { UpdateWorkflowOptionsSchema, UpdateWorkflowResponseSchema, } from "./schemas";
@@ -3,7 +3,7 @@ export declare const connectionsPlugin: (sdk: {
3
3
  context: Pick<ManifestPluginProvides["context"], "getManifestConnections">;
4
4
  } & {
5
5
  context: {
6
- meta: Record<string, import("../..").PluginMeta>;
6
+ meta: Record<string, import("kitcore").PluginMeta>;
7
7
  };
8
8
  }) => {
9
9
  context: {
@@ -1,4 +1,4 @@
1
- import { definePlugin } from "../../utils/plugin-utils";
1
+ import { definePlugin } from "kitcore";
2
2
  export const connectionsPlugin = definePlugin((sdk) => {
3
3
  let cachedMap;
4
4
  async function loadConnectionsMap() {
@@ -7,7 +7,7 @@ export declare const createClientCredentialsPlugin: (sdk: {
7
7
  context: import("../eventEmission").EventEmissionContext;
8
8
  } & {
9
9
  context: {
10
- meta: Record<string, import("../..").PluginMeta>;
10
+ meta: Record<string, import("kitcore").PluginMeta>;
11
11
  };
12
12
  }) => {
13
13
  createClientCredentials: (options?: {
@@ -24,7 +24,7 @@ export declare const createClientCredentialsPlugin: (sdk: {
24
24
  } & {
25
25
  context: {
26
26
  meta: {
27
- createClientCredentials: import("../..").PluginMeta;
27
+ createClientCredentials: import("kitcore").PluginMeta<unknown>;
28
28
  };
29
29
  };
30
30
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/createClientCredentials/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAO3C,eAAO,MAAM,6BAA6B;aACvB;QAAE,GAAG,EAAE,SAAS,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;;CA2BpC,CAAC;AAEF,MAAM,MAAM,qCAAqC,GAAG,UAAU,CAC5D,OAAO,6BAA6B,CACrC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/createClientCredentials/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAQ3C,eAAO,MAAM,6BAA6B;aACvB;QAAE,GAAG,EAAE,SAAS,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;;CA4BpC,CAAC;AAEF,MAAM,MAAM,qCAAqC,GAAG,UAAU,CAC5D,OAAO,6BAA6B,CACrC,CAAC"}
@@ -1,7 +1,8 @@
1
- import { definePlugin } from "../../utils/plugin-utils";
2
- import { createPluginMethod } from "../../utils/plugin-utils";
1
+ import { definePlugin } from "kitcore";
2
+ import { createPluginMethod } from "kitcore";
3
3
  import { CreateClientCredentialsSchema } from "./schemas";
4
4
  import { ClientCredentialsCreatedItemSchema } from "../../schemas/ClientCredentials";
5
+ import { clientCredentialsCreatedItemFormatter } from "../../formatters/clientCredentials";
5
6
  import { clientCredentialsNameResolver } from "../../resolvers";
6
7
  export const createClientCredentialsPlugin = definePlugin((sdk) => createPluginMethod(sdk, {
7
8
  name: "createClientCredentials",
@@ -10,6 +11,7 @@ export const createClientCredentialsPlugin = definePlugin((sdk) => createPluginM
10
11
  itemType: "ClientCredentials",
11
12
  inputSchema: CreateClientCredentialsSchema,
12
13
  outputSchema: ClientCredentialsCreatedItemSchema,
14
+ formatter: clientCredentialsCreatedItemFormatter,
13
15
  confirm: "create-secret",
14
16
  resolvers: { name: clientCredentialsNameResolver },
15
17
  handler: async ({ sdk, options }) => {
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod";
2
- import type { FunctionOptions } from "../../types/functions";
3
2
  import type { ClientCredentialsCreatedItem } from "@zapier/zapier-sdk-core/v0/schemas/client-credentials";
4
3
  export declare const CreateClientCredentialsSchema: z.ZodObject<{
5
4
  name: z.ZodString;
@@ -9,7 +8,7 @@ export declare const CreateClientCredentialsSchema: z.ZodObject<{
9
8
  }>>>;
10
9
  policy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11
10
  }, z.core.$strip>;
12
- export type CreateClientCredentialsOptions = z.infer<typeof CreateClientCredentialsSchema> & FunctionOptions;
11
+ export type CreateClientCredentialsOptions = z.infer<typeof CreateClientCredentialsSchema>;
13
12
  export interface CreateClientCredentialsResult {
14
13
  data: ClientCredentialsCreatedItem;
15
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/createClientCredentials/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uDAAuD,CAAC;AAE1G,eAAO,MAAM,6BAA6B;;;;;;;iBAc+B,CAAC;AAG1E,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,6BAA6B,CACrC,GACC,eAAe,CAAC;AAGlB,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,4BAA4B,CAAC;CACpC;AAGD,MAAM,WAAW,kCAAkC;IACjD,uBAAuB,EAAE,CACvB,OAAO,EAAE,8BAA8B,KACpC,OAAO,CAAC,6BAA6B,CAAC,CAAC;CAC7C"}
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/createClientCredentials/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uDAAuD,CAAC;AAE1G,eAAO,MAAM,6BAA6B;;;;;;;iBAc+B,CAAC;AAG1E,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,6BAA6B,CACrC,CAAC;AAGF,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,4BAA4B,CAAC;CACpC;AAGD,MAAM,WAAW,kCAAkC;IACjD,uBAAuB,EAAE,CACvB,OAAO,EAAE,8BAA8B,KACpC,OAAO,CAAC,6BAA6B,CAAC,CAAC;CAC7C"}