@keystrokehq/netsuite 0.1.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 (714) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/async-get-job-status.cjs +29 -0
  7. package/dist/actions/async-get-job-status.cjs.map +1 -0
  8. package/dist/actions/async-get-job-status.d.cts +9 -0
  9. package/dist/actions/async-get-job-status.d.cts.map +1 -0
  10. package/dist/actions/async-get-job-status.d.mts +9 -0
  11. package/dist/actions/async-get-job-status.d.mts.map +1 -0
  12. package/dist/actions/async-get-job-status.mjs +28 -0
  13. package/dist/actions/async-get-job-status.mjs.map +1 -0
  14. package/dist/actions/async-get-job-task-result.cjs +22 -0
  15. package/dist/actions/async-get-job-task-result.cjs.map +1 -0
  16. package/dist/actions/async-get-job-task-result.d.cts +9 -0
  17. package/dist/actions/async-get-job-task-result.d.cts.map +1 -0
  18. package/dist/actions/async-get-job-task-result.d.mts +9 -0
  19. package/dist/actions/async-get-job-task-result.d.mts.map +1 -0
  20. package/dist/actions/async-get-job-task-result.mjs +19 -0
  21. package/dist/actions/async-get-job-task-result.mjs.map +1 -0
  22. package/dist/actions/async-get-job-task.cjs +19 -0
  23. package/dist/actions/async-get-job-task.cjs.map +1 -0
  24. package/dist/actions/async-get-job-task.d.cts +9 -0
  25. package/dist/actions/async-get-job-task.d.cts.map +1 -0
  26. package/dist/actions/async-get-job-task.d.mts +9 -0
  27. package/dist/actions/async-get-job-task.d.mts.map +1 -0
  28. package/dist/actions/async-get-job-task.mjs +16 -0
  29. package/dist/actions/async-get-job-task.mjs.map +1 -0
  30. package/dist/actions/create-customer-payment.cjs +34 -0
  31. package/dist/actions/create-customer-payment.cjs.map +1 -0
  32. package/dist/actions/create-customer-payment.d.cts +9 -0
  33. package/dist/actions/create-customer-payment.d.cts.map +1 -0
  34. package/dist/actions/create-customer-payment.d.mts +9 -0
  35. package/dist/actions/create-customer-payment.d.mts.map +1 -0
  36. package/dist/actions/create-customer-payment.mjs +31 -0
  37. package/dist/actions/create-customer-payment.mjs.map +1 -0
  38. package/dist/actions/create-customer.cjs +34 -0
  39. package/dist/actions/create-customer.cjs.map +1 -0
  40. package/dist/actions/create-customer.d.cts +9 -0
  41. package/dist/actions/create-customer.d.cts.map +1 -0
  42. package/dist/actions/create-customer.d.mts +9 -0
  43. package/dist/actions/create-customer.d.mts.map +1 -0
  44. package/dist/actions/create-customer.mjs +31 -0
  45. package/dist/actions/create-customer.mjs.map +1 -0
  46. package/dist/actions/create-employee.cjs +34 -0
  47. package/dist/actions/create-employee.cjs.map +1 -0
  48. package/dist/actions/create-employee.d.cts +9 -0
  49. package/dist/actions/create-employee.d.cts.map +1 -0
  50. package/dist/actions/create-employee.d.mts +9 -0
  51. package/dist/actions/create-employee.d.mts.map +1 -0
  52. package/dist/actions/create-employee.mjs +31 -0
  53. package/dist/actions/create-employee.mjs.map +1 -0
  54. package/dist/actions/create-invoice.cjs +34 -0
  55. package/dist/actions/create-invoice.cjs.map +1 -0
  56. package/dist/actions/create-invoice.d.cts +9 -0
  57. package/dist/actions/create-invoice.d.cts.map +1 -0
  58. package/dist/actions/create-invoice.d.mts +9 -0
  59. package/dist/actions/create-invoice.d.mts.map +1 -0
  60. package/dist/actions/create-invoice.mjs +31 -0
  61. package/dist/actions/create-invoice.mjs.map +1 -0
  62. package/dist/actions/create-item.cjs +49 -0
  63. package/dist/actions/create-item.cjs.map +1 -0
  64. package/dist/actions/create-item.d.cts +9 -0
  65. package/dist/actions/create-item.d.cts.map +1 -0
  66. package/dist/actions/create-item.d.mts +9 -0
  67. package/dist/actions/create-item.d.mts.map +1 -0
  68. package/dist/actions/create-item.mjs +46 -0
  69. package/dist/actions/create-item.mjs.map +1 -0
  70. package/dist/actions/create-journal-entry.cjs +34 -0
  71. package/dist/actions/create-journal-entry.cjs.map +1 -0
  72. package/dist/actions/create-journal-entry.d.cts +9 -0
  73. package/dist/actions/create-journal-entry.d.cts.map +1 -0
  74. package/dist/actions/create-journal-entry.d.mts +9 -0
  75. package/dist/actions/create-journal-entry.d.mts.map +1 -0
  76. package/dist/actions/create-journal-entry.mjs +31 -0
  77. package/dist/actions/create-journal-entry.mjs.map +1 -0
  78. package/dist/actions/create-jwt-client-assertion.cjs +25 -0
  79. package/dist/actions/create-jwt-client-assertion.cjs.map +1 -0
  80. package/dist/actions/create-jwt-client-assertion.d.cts +9 -0
  81. package/dist/actions/create-jwt-client-assertion.d.cts.map +1 -0
  82. package/dist/actions/create-jwt-client-assertion.d.mts +9 -0
  83. package/dist/actions/create-jwt-client-assertion.d.mts.map +1 -0
  84. package/dist/actions/create-jwt-client-assertion.mjs +22 -0
  85. package/dist/actions/create-jwt-client-assertion.mjs.map +1 -0
  86. package/dist/actions/create-purchase-order.cjs +45 -0
  87. package/dist/actions/create-purchase-order.cjs.map +1 -0
  88. package/dist/actions/create-purchase-order.d.cts +9 -0
  89. package/dist/actions/create-purchase-order.d.cts.map +1 -0
  90. package/dist/actions/create-purchase-order.d.mts +9 -0
  91. package/dist/actions/create-purchase-order.d.mts.map +1 -0
  92. package/dist/actions/create-purchase-order.mjs +42 -0
  93. package/dist/actions/create-purchase-order.mjs.map +1 -0
  94. package/dist/actions/create-record.cjs +36 -0
  95. package/dist/actions/create-record.cjs.map +1 -0
  96. package/dist/actions/create-record.d.cts +9 -0
  97. package/dist/actions/create-record.d.cts.map +1 -0
  98. package/dist/actions/create-record.d.mts +9 -0
  99. package/dist/actions/create-record.d.mts.map +1 -0
  100. package/dist/actions/create-record.mjs +33 -0
  101. package/dist/actions/create-record.mjs.map +1 -0
  102. package/dist/actions/create-sales-order.cjs +49 -0
  103. package/dist/actions/create-sales-order.cjs.map +1 -0
  104. package/dist/actions/create-sales-order.d.cts +9 -0
  105. package/dist/actions/create-sales-order.d.cts.map +1 -0
  106. package/dist/actions/create-sales-order.d.mts +9 -0
  107. package/dist/actions/create-sales-order.d.mts.map +1 -0
  108. package/dist/actions/create-sales-order.mjs +46 -0
  109. package/dist/actions/create-sales-order.mjs.map +1 -0
  110. package/dist/actions/create-vendor-bill.cjs +34 -0
  111. package/dist/actions/create-vendor-bill.cjs.map +1 -0
  112. package/dist/actions/create-vendor-bill.d.cts +9 -0
  113. package/dist/actions/create-vendor-bill.d.cts.map +1 -0
  114. package/dist/actions/create-vendor-bill.d.mts +9 -0
  115. package/dist/actions/create-vendor-bill.d.mts.map +1 -0
  116. package/dist/actions/create-vendor-bill.mjs +31 -0
  117. package/dist/actions/create-vendor-bill.mjs.map +1 -0
  118. package/dist/actions/create-vendor.cjs +34 -0
  119. package/dist/actions/create-vendor.cjs.map +1 -0
  120. package/dist/actions/create-vendor.d.cts +9 -0
  121. package/dist/actions/create-vendor.d.cts.map +1 -0
  122. package/dist/actions/create-vendor.d.mts +9 -0
  123. package/dist/actions/create-vendor.d.mts.map +1 -0
  124. package/dist/actions/create-vendor.mjs +31 -0
  125. package/dist/actions/create-vendor.mjs.map +1 -0
  126. package/dist/actions/delete-customer-payment.cjs +16 -0
  127. package/dist/actions/delete-customer-payment.cjs.map +1 -0
  128. package/dist/actions/delete-customer-payment.d.cts +9 -0
  129. package/dist/actions/delete-customer-payment.d.cts.map +1 -0
  130. package/dist/actions/delete-customer-payment.d.mts +9 -0
  131. package/dist/actions/delete-customer-payment.d.mts.map +1 -0
  132. package/dist/actions/delete-customer-payment.mjs +13 -0
  133. package/dist/actions/delete-customer-payment.mjs.map +1 -0
  134. package/dist/actions/delete-customer.cjs +16 -0
  135. package/dist/actions/delete-customer.cjs.map +1 -0
  136. package/dist/actions/delete-customer.d.cts +9 -0
  137. package/dist/actions/delete-customer.d.cts.map +1 -0
  138. package/dist/actions/delete-customer.d.mts +9 -0
  139. package/dist/actions/delete-customer.d.mts.map +1 -0
  140. package/dist/actions/delete-customer.mjs +13 -0
  141. package/dist/actions/delete-customer.mjs.map +1 -0
  142. package/dist/actions/delete-employee.cjs +16 -0
  143. package/dist/actions/delete-employee.cjs.map +1 -0
  144. package/dist/actions/delete-employee.d.cts +9 -0
  145. package/dist/actions/delete-employee.d.cts.map +1 -0
  146. package/dist/actions/delete-employee.d.mts +9 -0
  147. package/dist/actions/delete-employee.d.mts.map +1 -0
  148. package/dist/actions/delete-employee.mjs +13 -0
  149. package/dist/actions/delete-employee.mjs.map +1 -0
  150. package/dist/actions/delete-invoice.cjs +16 -0
  151. package/dist/actions/delete-invoice.cjs.map +1 -0
  152. package/dist/actions/delete-invoice.d.cts +9 -0
  153. package/dist/actions/delete-invoice.d.cts.map +1 -0
  154. package/dist/actions/delete-invoice.d.mts +9 -0
  155. package/dist/actions/delete-invoice.d.mts.map +1 -0
  156. package/dist/actions/delete-invoice.mjs +13 -0
  157. package/dist/actions/delete-invoice.mjs.map +1 -0
  158. package/dist/actions/delete-item-fulfillment.cjs +25 -0
  159. package/dist/actions/delete-item-fulfillment.cjs.map +1 -0
  160. package/dist/actions/delete-item-fulfillment.d.cts +9 -0
  161. package/dist/actions/delete-item-fulfillment.d.cts.map +1 -0
  162. package/dist/actions/delete-item-fulfillment.d.mts +9 -0
  163. package/dist/actions/delete-item-fulfillment.d.mts.map +1 -0
  164. package/dist/actions/delete-item-fulfillment.mjs +22 -0
  165. package/dist/actions/delete-item-fulfillment.mjs.map +1 -0
  166. package/dist/actions/delete-item-receipt.cjs +16 -0
  167. package/dist/actions/delete-item-receipt.cjs.map +1 -0
  168. package/dist/actions/delete-item-receipt.d.cts +9 -0
  169. package/dist/actions/delete-item-receipt.d.cts.map +1 -0
  170. package/dist/actions/delete-item-receipt.d.mts +9 -0
  171. package/dist/actions/delete-item-receipt.d.mts.map +1 -0
  172. package/dist/actions/delete-item-receipt.mjs +13 -0
  173. package/dist/actions/delete-item-receipt.mjs.map +1 -0
  174. package/dist/actions/delete-item.cjs +25 -0
  175. package/dist/actions/delete-item.cjs.map +1 -0
  176. package/dist/actions/delete-item.d.cts +9 -0
  177. package/dist/actions/delete-item.d.cts.map +1 -0
  178. package/dist/actions/delete-item.d.mts +9 -0
  179. package/dist/actions/delete-item.d.mts.map +1 -0
  180. package/dist/actions/delete-item.mjs +22 -0
  181. package/dist/actions/delete-item.mjs.map +1 -0
  182. package/dist/actions/delete-journal-entry.cjs +20 -0
  183. package/dist/actions/delete-journal-entry.cjs.map +1 -0
  184. package/dist/actions/delete-journal-entry.d.cts +9 -0
  185. package/dist/actions/delete-journal-entry.d.cts.map +1 -0
  186. package/dist/actions/delete-journal-entry.d.mts +9 -0
  187. package/dist/actions/delete-journal-entry.d.mts.map +1 -0
  188. package/dist/actions/delete-journal-entry.mjs +17 -0
  189. package/dist/actions/delete-journal-entry.mjs.map +1 -0
  190. package/dist/actions/delete-purchase-order.cjs +16 -0
  191. package/dist/actions/delete-purchase-order.cjs.map +1 -0
  192. package/dist/actions/delete-purchase-order.d.cts +9 -0
  193. package/dist/actions/delete-purchase-order.d.cts.map +1 -0
  194. package/dist/actions/delete-purchase-order.d.mts +9 -0
  195. package/dist/actions/delete-purchase-order.d.mts.map +1 -0
  196. package/dist/actions/delete-purchase-order.mjs +13 -0
  197. package/dist/actions/delete-purchase-order.mjs.map +1 -0
  198. package/dist/actions/delete-sales-order.cjs +16 -0
  199. package/dist/actions/delete-sales-order.cjs.map +1 -0
  200. package/dist/actions/delete-sales-order.d.cts +9 -0
  201. package/dist/actions/delete-sales-order.d.cts.map +1 -0
  202. package/dist/actions/delete-sales-order.d.mts +9 -0
  203. package/dist/actions/delete-sales-order.d.mts.map +1 -0
  204. package/dist/actions/delete-sales-order.mjs +13 -0
  205. package/dist/actions/delete-sales-order.mjs.map +1 -0
  206. package/dist/actions/delete-vendor-payment.cjs +16 -0
  207. package/dist/actions/delete-vendor-payment.cjs.map +1 -0
  208. package/dist/actions/delete-vendor-payment.d.cts +9 -0
  209. package/dist/actions/delete-vendor-payment.d.cts.map +1 -0
  210. package/dist/actions/delete-vendor-payment.d.mts +9 -0
  211. package/dist/actions/delete-vendor-payment.d.mts.map +1 -0
  212. package/dist/actions/delete-vendor-payment.mjs +13 -0
  213. package/dist/actions/delete-vendor-payment.mjs.map +1 -0
  214. package/dist/actions/execute-dataset.cjs +31 -0
  215. package/dist/actions/execute-dataset.cjs.map +1 -0
  216. package/dist/actions/execute-dataset.d.cts +9 -0
  217. package/dist/actions/execute-dataset.d.cts.map +1 -0
  218. package/dist/actions/execute-dataset.d.mts +9 -0
  219. package/dist/actions/execute-dataset.d.mts.map +1 -0
  220. package/dist/actions/execute-dataset.mjs +30 -0
  221. package/dist/actions/execute-dataset.mjs.map +1 -0
  222. package/dist/actions/get-customer-payment.cjs +28 -0
  223. package/dist/actions/get-customer-payment.cjs.map +1 -0
  224. package/dist/actions/get-customer-payment.d.cts +9 -0
  225. package/dist/actions/get-customer-payment.d.cts.map +1 -0
  226. package/dist/actions/get-customer-payment.d.mts +9 -0
  227. package/dist/actions/get-customer-payment.d.mts.map +1 -0
  228. package/dist/actions/get-customer-payment.mjs +27 -0
  229. package/dist/actions/get-customer-payment.mjs.map +1 -0
  230. package/dist/actions/get-customer.cjs +27 -0
  231. package/dist/actions/get-customer.cjs.map +1 -0
  232. package/dist/actions/get-customer.d.cts +9 -0
  233. package/dist/actions/get-customer.d.cts.map +1 -0
  234. package/dist/actions/get-customer.d.mts +9 -0
  235. package/dist/actions/get-customer.d.mts.map +1 -0
  236. package/dist/actions/get-customer.mjs +26 -0
  237. package/dist/actions/get-customer.mjs.map +1 -0
  238. package/dist/actions/get-datacenter-urls.cjs +23 -0
  239. package/dist/actions/get-datacenter-urls.cjs.map +1 -0
  240. package/dist/actions/get-datacenter-urls.d.cts +9 -0
  241. package/dist/actions/get-datacenter-urls.d.cts.map +1 -0
  242. package/dist/actions/get-datacenter-urls.d.mts +9 -0
  243. package/dist/actions/get-datacenter-urls.d.mts.map +1 -0
  244. package/dist/actions/get-datacenter-urls.mjs +20 -0
  245. package/dist/actions/get-datacenter-urls.mjs.map +1 -0
  246. package/dist/actions/get-employee.cjs +27 -0
  247. package/dist/actions/get-employee.cjs.map +1 -0
  248. package/dist/actions/get-employee.d.cts +9 -0
  249. package/dist/actions/get-employee.d.cts.map +1 -0
  250. package/dist/actions/get-employee.d.mts +9 -0
  251. package/dist/actions/get-employee.d.mts.map +1 -0
  252. package/dist/actions/get-employee.mjs +26 -0
  253. package/dist/actions/get-employee.mjs.map +1 -0
  254. package/dist/actions/get-governance-limits.cjs +25 -0
  255. package/dist/actions/get-governance-limits.cjs.map +1 -0
  256. package/dist/actions/get-governance-limits.d.cts +9 -0
  257. package/dist/actions/get-governance-limits.d.cts.map +1 -0
  258. package/dist/actions/get-governance-limits.d.mts +9 -0
  259. package/dist/actions/get-governance-limits.d.mts.map +1 -0
  260. package/dist/actions/get-governance-limits.mjs +22 -0
  261. package/dist/actions/get-governance-limits.mjs.map +1 -0
  262. package/dist/actions/get-invoice.cjs +28 -0
  263. package/dist/actions/get-invoice.cjs.map +1 -0
  264. package/dist/actions/get-invoice.d.cts +9 -0
  265. package/dist/actions/get-invoice.d.cts.map +1 -0
  266. package/dist/actions/get-invoice.d.mts +9 -0
  267. package/dist/actions/get-invoice.d.mts.map +1 -0
  268. package/dist/actions/get-invoice.mjs +27 -0
  269. package/dist/actions/get-invoice.mjs.map +1 -0
  270. package/dist/actions/get-item-fulfillment.cjs +24 -0
  271. package/dist/actions/get-item-fulfillment.cjs.map +1 -0
  272. package/dist/actions/get-item-fulfillment.d.cts +9 -0
  273. package/dist/actions/get-item-fulfillment.d.cts.map +1 -0
  274. package/dist/actions/get-item-fulfillment.d.mts +9 -0
  275. package/dist/actions/get-item-fulfillment.d.mts.map +1 -0
  276. package/dist/actions/get-item-fulfillment.mjs +21 -0
  277. package/dist/actions/get-item-fulfillment.mjs.map +1 -0
  278. package/dist/actions/get-item-receipt.cjs +27 -0
  279. package/dist/actions/get-item-receipt.cjs.map +1 -0
  280. package/dist/actions/get-item-receipt.d.cts +9 -0
  281. package/dist/actions/get-item-receipt.d.cts.map +1 -0
  282. package/dist/actions/get-item-receipt.d.mts +9 -0
  283. package/dist/actions/get-item-receipt.d.mts.map +1 -0
  284. package/dist/actions/get-item-receipt.mjs +26 -0
  285. package/dist/actions/get-item-receipt.mjs.map +1 -0
  286. package/dist/actions/get-item.cjs +24 -0
  287. package/dist/actions/get-item.cjs.map +1 -0
  288. package/dist/actions/get-item.d.cts +9 -0
  289. package/dist/actions/get-item.d.cts.map +1 -0
  290. package/dist/actions/get-item.d.mts +9 -0
  291. package/dist/actions/get-item.d.mts.map +1 -0
  292. package/dist/actions/get-item.mjs +21 -0
  293. package/dist/actions/get-item.mjs.map +1 -0
  294. package/dist/actions/get-journal-entry.cjs +24 -0
  295. package/dist/actions/get-journal-entry.cjs.map +1 -0
  296. package/dist/actions/get-journal-entry.d.cts +9 -0
  297. package/dist/actions/get-journal-entry.d.cts.map +1 -0
  298. package/dist/actions/get-journal-entry.d.mts +9 -0
  299. package/dist/actions/get-journal-entry.d.mts.map +1 -0
  300. package/dist/actions/get-journal-entry.mjs +21 -0
  301. package/dist/actions/get-journal-entry.mjs.map +1 -0
  302. package/dist/actions/get-purchase-order.cjs +28 -0
  303. package/dist/actions/get-purchase-order.cjs.map +1 -0
  304. package/dist/actions/get-purchase-order.d.cts +9 -0
  305. package/dist/actions/get-purchase-order.d.cts.map +1 -0
  306. package/dist/actions/get-purchase-order.d.mts +9 -0
  307. package/dist/actions/get-purchase-order.d.mts.map +1 -0
  308. package/dist/actions/get-purchase-order.mjs +27 -0
  309. package/dist/actions/get-purchase-order.mjs.map +1 -0
  310. package/dist/actions/get-record-metadata.cjs +19 -0
  311. package/dist/actions/get-record-metadata.cjs.map +1 -0
  312. package/dist/actions/get-record-metadata.d.cts +9 -0
  313. package/dist/actions/get-record-metadata.d.cts.map +1 -0
  314. package/dist/actions/get-record-metadata.d.mts +9 -0
  315. package/dist/actions/get-record-metadata.d.mts.map +1 -0
  316. package/dist/actions/get-record-metadata.mjs +16 -0
  317. package/dist/actions/get-record-metadata.mjs.map +1 -0
  318. package/dist/actions/get-reference-select-field.cjs +29 -0
  319. package/dist/actions/get-reference-select-field.cjs.map +1 -0
  320. package/dist/actions/get-reference-select-field.d.cts +9 -0
  321. package/dist/actions/get-reference-select-field.d.cts.map +1 -0
  322. package/dist/actions/get-reference-select-field.d.mts +9 -0
  323. package/dist/actions/get-reference-select-field.d.mts.map +1 -0
  324. package/dist/actions/get-reference-select-field.mjs +28 -0
  325. package/dist/actions/get-reference-select-field.mjs.map +1 -0
  326. package/dist/actions/get-sales-order.cjs +23 -0
  327. package/dist/actions/get-sales-order.cjs.map +1 -0
  328. package/dist/actions/get-sales-order.d.cts +9 -0
  329. package/dist/actions/get-sales-order.d.cts.map +1 -0
  330. package/dist/actions/get-sales-order.d.mts +9 -0
  331. package/dist/actions/get-sales-order.d.mts.map +1 -0
  332. package/dist/actions/get-sales-order.mjs +20 -0
  333. package/dist/actions/get-sales-order.mjs.map +1 -0
  334. package/dist/actions/get-server-time.cjs +16 -0
  335. package/dist/actions/get-server-time.cjs.map +1 -0
  336. package/dist/actions/get-server-time.d.cts +9 -0
  337. package/dist/actions/get-server-time.d.cts.map +1 -0
  338. package/dist/actions/get-server-time.d.mts +9 -0
  339. package/dist/actions/get-server-time.d.mts.map +1 -0
  340. package/dist/actions/get-server-time.mjs +13 -0
  341. package/dist/actions/get-server-time.mjs.map +1 -0
  342. package/dist/actions/get-sublist-collection.cjs +33 -0
  343. package/dist/actions/get-sublist-collection.cjs.map +1 -0
  344. package/dist/actions/get-sublist-collection.d.cts +9 -0
  345. package/dist/actions/get-sublist-collection.d.cts.map +1 -0
  346. package/dist/actions/get-sublist-collection.d.mts +9 -0
  347. package/dist/actions/get-sublist-collection.d.mts.map +1 -0
  348. package/dist/actions/get-sublist-collection.mjs +32 -0
  349. package/dist/actions/get-sublist-collection.mjs.map +1 -0
  350. package/dist/actions/get-sublist-line.cjs +25 -0
  351. package/dist/actions/get-sublist-line.cjs.map +1 -0
  352. package/dist/actions/get-sublist-line.d.cts +9 -0
  353. package/dist/actions/get-sublist-line.d.cts.map +1 -0
  354. package/dist/actions/get-sublist-line.d.mts +9 -0
  355. package/dist/actions/get-sublist-line.d.mts.map +1 -0
  356. package/dist/actions/get-sublist-line.mjs +22 -0
  357. package/dist/actions/get-sublist-line.mjs.map +1 -0
  358. package/dist/actions/get-subrecord.cjs +27 -0
  359. package/dist/actions/get-subrecord.cjs.map +1 -0
  360. package/dist/actions/get-subrecord.d.cts +9 -0
  361. package/dist/actions/get-subrecord.d.cts.map +1 -0
  362. package/dist/actions/get-subrecord.d.mts +9 -0
  363. package/dist/actions/get-subrecord.d.mts.map +1 -0
  364. package/dist/actions/get-subrecord.mjs +26 -0
  365. package/dist/actions/get-subrecord.mjs.map +1 -0
  366. package/dist/actions/get-vendor-bill.cjs +27 -0
  367. package/dist/actions/get-vendor-bill.cjs.map +1 -0
  368. package/dist/actions/get-vendor-bill.d.cts +9 -0
  369. package/dist/actions/get-vendor-bill.d.cts.map +1 -0
  370. package/dist/actions/get-vendor-bill.d.mts +9 -0
  371. package/dist/actions/get-vendor-bill.d.mts.map +1 -0
  372. package/dist/actions/get-vendor-bill.mjs +26 -0
  373. package/dist/actions/get-vendor-bill.mjs.map +1 -0
  374. package/dist/actions/get-vendor-payment.cjs +27 -0
  375. package/dist/actions/get-vendor-payment.cjs.map +1 -0
  376. package/dist/actions/get-vendor-payment.d.cts +9 -0
  377. package/dist/actions/get-vendor-payment.d.cts.map +1 -0
  378. package/dist/actions/get-vendor-payment.d.mts +9 -0
  379. package/dist/actions/get-vendor-payment.d.mts.map +1 -0
  380. package/dist/actions/get-vendor-payment.mjs +26 -0
  381. package/dist/actions/get-vendor-payment.mjs.map +1 -0
  382. package/dist/actions/get-vendor.cjs +24 -0
  383. package/dist/actions/get-vendor.cjs.map +1 -0
  384. package/dist/actions/get-vendor.d.cts +9 -0
  385. package/dist/actions/get-vendor.d.cts.map +1 -0
  386. package/dist/actions/get-vendor.d.mts +9 -0
  387. package/dist/actions/get-vendor.d.mts.map +1 -0
  388. package/dist/actions/get-vendor.mjs +21 -0
  389. package/dist/actions/get-vendor.mjs.map +1 -0
  390. package/dist/actions/index.cjs +171 -0
  391. package/dist/actions/index.d.cts +86 -0
  392. package/dist/actions/index.d.mts +86 -0
  393. package/dist/actions/index.mjs +86 -0
  394. package/dist/actions/list-customer-payments.cjs +35 -0
  395. package/dist/actions/list-customer-payments.cjs.map +1 -0
  396. package/dist/actions/list-customer-payments.d.cts +9 -0
  397. package/dist/actions/list-customer-payments.d.cts.map +1 -0
  398. package/dist/actions/list-customer-payments.d.mts +9 -0
  399. package/dist/actions/list-customer-payments.d.mts.map +1 -0
  400. package/dist/actions/list-customer-payments.mjs +34 -0
  401. package/dist/actions/list-customer-payments.mjs.map +1 -0
  402. package/dist/actions/list-datasets.cjs +40 -0
  403. package/dist/actions/list-datasets.cjs.map +1 -0
  404. package/dist/actions/list-datasets.d.cts +9 -0
  405. package/dist/actions/list-datasets.d.cts.map +1 -0
  406. package/dist/actions/list-datasets.d.mts +9 -0
  407. package/dist/actions/list-datasets.d.mts.map +1 -0
  408. package/dist/actions/list-datasets.mjs +39 -0
  409. package/dist/actions/list-datasets.mjs.map +1 -0
  410. package/dist/actions/list-employees.cjs +35 -0
  411. package/dist/actions/list-employees.cjs.map +1 -0
  412. package/dist/actions/list-employees.d.cts +9 -0
  413. package/dist/actions/list-employees.d.cts.map +1 -0
  414. package/dist/actions/list-employees.d.mts +9 -0
  415. package/dist/actions/list-employees.d.mts.map +1 -0
  416. package/dist/actions/list-employees.mjs +34 -0
  417. package/dist/actions/list-employees.mjs.map +1 -0
  418. package/dist/actions/list-integrations.cjs +33 -0
  419. package/dist/actions/list-integrations.cjs.map +1 -0
  420. package/dist/actions/list-integrations.d.cts +9 -0
  421. package/dist/actions/list-integrations.d.cts.map +1 -0
  422. package/dist/actions/list-integrations.d.mts +9 -0
  423. package/dist/actions/list-integrations.d.mts.map +1 -0
  424. package/dist/actions/list-integrations.mjs +32 -0
  425. package/dist/actions/list-integrations.mjs.map +1 -0
  426. package/dist/actions/list-invoices.cjs +35 -0
  427. package/dist/actions/list-invoices.cjs.map +1 -0
  428. package/dist/actions/list-invoices.d.cts +9 -0
  429. package/dist/actions/list-invoices.d.cts.map +1 -0
  430. package/dist/actions/list-invoices.d.mts +9 -0
  431. package/dist/actions/list-invoices.d.mts.map +1 -0
  432. package/dist/actions/list-invoices.mjs +34 -0
  433. package/dist/actions/list-invoices.mjs.map +1 -0
  434. package/dist/actions/list-item-fulfillments.cjs +35 -0
  435. package/dist/actions/list-item-fulfillments.cjs.map +1 -0
  436. package/dist/actions/list-item-fulfillments.d.cts +9 -0
  437. package/dist/actions/list-item-fulfillments.d.cts.map +1 -0
  438. package/dist/actions/list-item-fulfillments.d.mts +9 -0
  439. package/dist/actions/list-item-fulfillments.d.mts.map +1 -0
  440. package/dist/actions/list-item-fulfillments.mjs +34 -0
  441. package/dist/actions/list-item-fulfillments.mjs.map +1 -0
  442. package/dist/actions/list-item-receipts.cjs +35 -0
  443. package/dist/actions/list-item-receipts.cjs.map +1 -0
  444. package/dist/actions/list-item-receipts.d.cts +9 -0
  445. package/dist/actions/list-item-receipts.d.cts.map +1 -0
  446. package/dist/actions/list-item-receipts.d.mts +9 -0
  447. package/dist/actions/list-item-receipts.d.mts.map +1 -0
  448. package/dist/actions/list-item-receipts.mjs +34 -0
  449. package/dist/actions/list-item-receipts.mjs.map +1 -0
  450. package/dist/actions/list-journal-entries.cjs +35 -0
  451. package/dist/actions/list-journal-entries.cjs.map +1 -0
  452. package/dist/actions/list-journal-entries.d.cts +9 -0
  453. package/dist/actions/list-journal-entries.d.cts.map +1 -0
  454. package/dist/actions/list-journal-entries.d.mts +9 -0
  455. package/dist/actions/list-journal-entries.d.mts.map +1 -0
  456. package/dist/actions/list-journal-entries.mjs +34 -0
  457. package/dist/actions/list-journal-entries.mjs.map +1 -0
  458. package/dist/actions/list-metadata-catalog.cjs +28 -0
  459. package/dist/actions/list-metadata-catalog.cjs.map +1 -0
  460. package/dist/actions/list-metadata-catalog.d.cts +9 -0
  461. package/dist/actions/list-metadata-catalog.d.cts.map +1 -0
  462. package/dist/actions/list-metadata-catalog.d.mts +9 -0
  463. package/dist/actions/list-metadata-catalog.d.mts.map +1 -0
  464. package/dist/actions/list-metadata-catalog.mjs +27 -0
  465. package/dist/actions/list-metadata-catalog.mjs.map +1 -0
  466. package/dist/actions/list-purchase-orders.cjs +35 -0
  467. package/dist/actions/list-purchase-orders.cjs.map +1 -0
  468. package/dist/actions/list-purchase-orders.d.cts +9 -0
  469. package/dist/actions/list-purchase-orders.d.cts.map +1 -0
  470. package/dist/actions/list-purchase-orders.d.mts +9 -0
  471. package/dist/actions/list-purchase-orders.d.mts.map +1 -0
  472. package/dist/actions/list-purchase-orders.mjs +34 -0
  473. package/dist/actions/list-purchase-orders.mjs.map +1 -0
  474. package/dist/actions/list-records.cjs +36 -0
  475. package/dist/actions/list-records.cjs.map +1 -0
  476. package/dist/actions/list-records.d.cts +9 -0
  477. package/dist/actions/list-records.d.cts.map +1 -0
  478. package/dist/actions/list-records.d.mts +9 -0
  479. package/dist/actions/list-records.d.mts.map +1 -0
  480. package/dist/actions/list-records.mjs +35 -0
  481. package/dist/actions/list-records.mjs.map +1 -0
  482. package/dist/actions/list-sales-orders.cjs +35 -0
  483. package/dist/actions/list-sales-orders.cjs.map +1 -0
  484. package/dist/actions/list-sales-orders.d.cts +9 -0
  485. package/dist/actions/list-sales-orders.d.cts.map +1 -0
  486. package/dist/actions/list-sales-orders.d.mts +9 -0
  487. package/dist/actions/list-sales-orders.d.mts.map +1 -0
  488. package/dist/actions/list-sales-orders.mjs +34 -0
  489. package/dist/actions/list-sales-orders.mjs.map +1 -0
  490. package/dist/actions/list-vendor-payments.cjs +35 -0
  491. package/dist/actions/list-vendor-payments.cjs.map +1 -0
  492. package/dist/actions/list-vendor-payments.d.cts +9 -0
  493. package/dist/actions/list-vendor-payments.d.cts.map +1 -0
  494. package/dist/actions/list-vendor-payments.d.mts +9 -0
  495. package/dist/actions/list-vendor-payments.d.mts.map +1 -0
  496. package/dist/actions/list-vendor-payments.mjs +34 -0
  497. package/dist/actions/list-vendor-payments.mjs.map +1 -0
  498. package/dist/actions/o-auth2-authorize-account-domain.cjs +31 -0
  499. package/dist/actions/o-auth2-authorize-account-domain.cjs.map +1 -0
  500. package/dist/actions/o-auth2-authorize-account-domain.d.cts +9 -0
  501. package/dist/actions/o-auth2-authorize-account-domain.d.cts.map +1 -0
  502. package/dist/actions/o-auth2-authorize-account-domain.d.mts +9 -0
  503. package/dist/actions/o-auth2-authorize-account-domain.d.mts.map +1 -0
  504. package/dist/actions/o-auth2-authorize-account-domain.mjs +28 -0
  505. package/dist/actions/o-auth2-authorize-account-domain.mjs.map +1 -0
  506. package/dist/actions/o-auth2-authorize-system-domain.cjs +31 -0
  507. package/dist/actions/o-auth2-authorize-system-domain.cjs.map +1 -0
  508. package/dist/actions/o-auth2-authorize-system-domain.d.cts +9 -0
  509. package/dist/actions/o-auth2-authorize-system-domain.d.cts.map +1 -0
  510. package/dist/actions/o-auth2-authorize-system-domain.d.mts +9 -0
  511. package/dist/actions/o-auth2-authorize-system-domain.d.mts.map +1 -0
  512. package/dist/actions/o-auth2-authorize-system-domain.mjs +28 -0
  513. package/dist/actions/o-auth2-authorize-system-domain.mjs.map +1 -0
  514. package/dist/actions/o-auth2-logout.cjs +20 -0
  515. package/dist/actions/o-auth2-logout.cjs.map +1 -0
  516. package/dist/actions/o-auth2-logout.d.cts +9 -0
  517. package/dist/actions/o-auth2-logout.d.cts.map +1 -0
  518. package/dist/actions/o-auth2-logout.d.mts +9 -0
  519. package/dist/actions/o-auth2-logout.d.mts.map +1 -0
  520. package/dist/actions/o-auth2-logout.mjs +17 -0
  521. package/dist/actions/o-auth2-logout.mjs.map +1 -0
  522. package/dist/actions/o-auth2-revoke-refresh-token.cjs +23 -0
  523. package/dist/actions/o-auth2-revoke-refresh-token.cjs.map +1 -0
  524. package/dist/actions/o-auth2-revoke-refresh-token.d.cts +9 -0
  525. package/dist/actions/o-auth2-revoke-refresh-token.d.cts.map +1 -0
  526. package/dist/actions/o-auth2-revoke-refresh-token.d.mts +9 -0
  527. package/dist/actions/o-auth2-revoke-refresh-token.d.mts.map +1 -0
  528. package/dist/actions/o-auth2-revoke-refresh-token.mjs +20 -0
  529. package/dist/actions/o-auth2-revoke-refresh-token.mjs.map +1 -0
  530. package/dist/actions/o-auth2-token-authorization-code.cjs +29 -0
  531. package/dist/actions/o-auth2-token-authorization-code.cjs.map +1 -0
  532. package/dist/actions/o-auth2-token-authorization-code.d.cts +9 -0
  533. package/dist/actions/o-auth2-token-authorization-code.d.cts.map +1 -0
  534. package/dist/actions/o-auth2-token-authorization-code.d.mts +9 -0
  535. package/dist/actions/o-auth2-token-authorization-code.d.mts.map +1 -0
  536. package/dist/actions/o-auth2-token-authorization-code.mjs +26 -0
  537. package/dist/actions/o-auth2-token-authorization-code.mjs.map +1 -0
  538. package/dist/actions/o-auth2-token-client-credentials.cjs +25 -0
  539. package/dist/actions/o-auth2-token-client-credentials.cjs.map +1 -0
  540. package/dist/actions/o-auth2-token-client-credentials.d.cts +9 -0
  541. package/dist/actions/o-auth2-token-client-credentials.d.cts.map +1 -0
  542. package/dist/actions/o-auth2-token-client-credentials.d.mts +9 -0
  543. package/dist/actions/o-auth2-token-client-credentials.d.mts.map +1 -0
  544. package/dist/actions/o-auth2-token-client-credentials.mjs +22 -0
  545. package/dist/actions/o-auth2-token-client-credentials.mjs.map +1 -0
  546. package/dist/actions/o-auth2-token-refresh.cjs +26 -0
  547. package/dist/actions/o-auth2-token-refresh.cjs.map +1 -0
  548. package/dist/actions/o-auth2-token-refresh.d.cts +9 -0
  549. package/dist/actions/o-auth2-token-refresh.d.cts.map +1 -0
  550. package/dist/actions/o-auth2-token-refresh.d.mts +9 -0
  551. package/dist/actions/o-auth2-token-refresh.d.mts.map +1 -0
  552. package/dist/actions/o-auth2-token-refresh.mjs +23 -0
  553. package/dist/actions/o-auth2-token-refresh.mjs.map +1 -0
  554. package/dist/actions/oauth2-get-jwks-keys.cjs +26 -0
  555. package/dist/actions/oauth2-get-jwks-keys.cjs.map +1 -0
  556. package/dist/actions/oauth2-get-jwks-keys.d.cts +9 -0
  557. package/dist/actions/oauth2-get-jwks-keys.d.cts.map +1 -0
  558. package/dist/actions/oauth2-get-jwks-keys.d.mts +9 -0
  559. package/dist/actions/oauth2-get-jwks-keys.d.mts.map +1 -0
  560. package/dist/actions/oauth2-get-jwks-keys.mjs +25 -0
  561. package/dist/actions/oauth2-get-jwks-keys.mjs.map +1 -0
  562. package/dist/actions/run-suiteql-query.cjs +32 -0
  563. package/dist/actions/run-suiteql-query.cjs.map +1 -0
  564. package/dist/actions/run-suiteql-query.d.cts +9 -0
  565. package/dist/actions/run-suiteql-query.d.cts.map +1 -0
  566. package/dist/actions/run-suiteql-query.d.mts +9 -0
  567. package/dist/actions/run-suiteql-query.d.mts.map +1 -0
  568. package/dist/actions/run-suiteql-query.mjs +31 -0
  569. package/dist/actions/run-suiteql-query.mjs.map +1 -0
  570. package/dist/actions/transform-record.cjs +29 -0
  571. package/dist/actions/transform-record.cjs.map +1 -0
  572. package/dist/actions/transform-record.d.cts +9 -0
  573. package/dist/actions/transform-record.d.cts.map +1 -0
  574. package/dist/actions/transform-record.d.mts +9 -0
  575. package/dist/actions/transform-record.d.mts.map +1 -0
  576. package/dist/actions/transform-record.mjs +26 -0
  577. package/dist/actions/transform-record.mjs.map +1 -0
  578. package/dist/actions/update-customer-payment.cjs +34 -0
  579. package/dist/actions/update-customer-payment.cjs.map +1 -0
  580. package/dist/actions/update-customer-payment.d.cts +9 -0
  581. package/dist/actions/update-customer-payment.d.cts.map +1 -0
  582. package/dist/actions/update-customer-payment.d.mts +9 -0
  583. package/dist/actions/update-customer-payment.d.mts.map +1 -0
  584. package/dist/actions/update-customer-payment.mjs +31 -0
  585. package/dist/actions/update-customer-payment.mjs.map +1 -0
  586. package/dist/actions/update-customer.cjs +34 -0
  587. package/dist/actions/update-customer.cjs.map +1 -0
  588. package/dist/actions/update-customer.d.cts +9 -0
  589. package/dist/actions/update-customer.d.cts.map +1 -0
  590. package/dist/actions/update-customer.d.mts +9 -0
  591. package/dist/actions/update-customer.d.mts.map +1 -0
  592. package/dist/actions/update-customer.mjs +31 -0
  593. package/dist/actions/update-customer.mjs.map +1 -0
  594. package/dist/actions/update-employee.cjs +36 -0
  595. package/dist/actions/update-employee.cjs.map +1 -0
  596. package/dist/actions/update-employee.d.cts +9 -0
  597. package/dist/actions/update-employee.d.cts.map +1 -0
  598. package/dist/actions/update-employee.d.mts +9 -0
  599. package/dist/actions/update-employee.d.mts.map +1 -0
  600. package/dist/actions/update-employee.mjs +33 -0
  601. package/dist/actions/update-employee.mjs.map +1 -0
  602. package/dist/actions/update-invoice.cjs +34 -0
  603. package/dist/actions/update-invoice.cjs.map +1 -0
  604. package/dist/actions/update-invoice.d.cts +9 -0
  605. package/dist/actions/update-invoice.d.cts.map +1 -0
  606. package/dist/actions/update-invoice.d.mts +9 -0
  607. package/dist/actions/update-invoice.d.mts.map +1 -0
  608. package/dist/actions/update-invoice.mjs +31 -0
  609. package/dist/actions/update-invoice.mjs.map +1 -0
  610. package/dist/actions/update-item-fulfillment.cjs +36 -0
  611. package/dist/actions/update-item-fulfillment.cjs.map +1 -0
  612. package/dist/actions/update-item-fulfillment.d.cts +9 -0
  613. package/dist/actions/update-item-fulfillment.d.cts.map +1 -0
  614. package/dist/actions/update-item-fulfillment.d.mts +9 -0
  615. package/dist/actions/update-item-fulfillment.d.mts.map +1 -0
  616. package/dist/actions/update-item-fulfillment.mjs +33 -0
  617. package/dist/actions/update-item-fulfillment.mjs.map +1 -0
  618. package/dist/actions/update-item-receipt.cjs +36 -0
  619. package/dist/actions/update-item-receipt.cjs.map +1 -0
  620. package/dist/actions/update-item-receipt.d.cts +9 -0
  621. package/dist/actions/update-item-receipt.d.cts.map +1 -0
  622. package/dist/actions/update-item-receipt.d.mts +9 -0
  623. package/dist/actions/update-item-receipt.d.mts.map +1 -0
  624. package/dist/actions/update-item-receipt.mjs +33 -0
  625. package/dist/actions/update-item-receipt.mjs.map +1 -0
  626. package/dist/actions/update-item.cjs +37 -0
  627. package/dist/actions/update-item.cjs.map +1 -0
  628. package/dist/actions/update-item.d.cts +9 -0
  629. package/dist/actions/update-item.d.cts.map +1 -0
  630. package/dist/actions/update-item.d.mts +9 -0
  631. package/dist/actions/update-item.d.mts.map +1 -0
  632. package/dist/actions/update-item.mjs +34 -0
  633. package/dist/actions/update-item.mjs.map +1 -0
  634. package/dist/actions/update-journal-entry.cjs +36 -0
  635. package/dist/actions/update-journal-entry.cjs.map +1 -0
  636. package/dist/actions/update-journal-entry.d.cts +9 -0
  637. package/dist/actions/update-journal-entry.d.cts.map +1 -0
  638. package/dist/actions/update-journal-entry.d.mts +9 -0
  639. package/dist/actions/update-journal-entry.d.mts.map +1 -0
  640. package/dist/actions/update-journal-entry.mjs +33 -0
  641. package/dist/actions/update-journal-entry.mjs.map +1 -0
  642. package/dist/actions/update-purchase-order.cjs +35 -0
  643. package/dist/actions/update-purchase-order.cjs.map +1 -0
  644. package/dist/actions/update-purchase-order.d.cts +9 -0
  645. package/dist/actions/update-purchase-order.d.cts.map +1 -0
  646. package/dist/actions/update-purchase-order.d.mts +9 -0
  647. package/dist/actions/update-purchase-order.d.mts.map +1 -0
  648. package/dist/actions/update-purchase-order.mjs +32 -0
  649. package/dist/actions/update-purchase-order.mjs.map +1 -0
  650. package/dist/actions/update-sales-order.cjs +34 -0
  651. package/dist/actions/update-sales-order.cjs.map +1 -0
  652. package/dist/actions/update-sales-order.d.cts +9 -0
  653. package/dist/actions/update-sales-order.d.cts.map +1 -0
  654. package/dist/actions/update-sales-order.d.mts +9 -0
  655. package/dist/actions/update-sales-order.d.mts.map +1 -0
  656. package/dist/actions/update-sales-order.mjs +31 -0
  657. package/dist/actions/update-sales-order.mjs.map +1 -0
  658. package/dist/actions/update-vendor-bill.cjs +36 -0
  659. package/dist/actions/update-vendor-bill.cjs.map +1 -0
  660. package/dist/actions/update-vendor-bill.d.cts +9 -0
  661. package/dist/actions/update-vendor-bill.d.cts.map +1 -0
  662. package/dist/actions/update-vendor-bill.d.mts +9 -0
  663. package/dist/actions/update-vendor-bill.d.mts.map +1 -0
  664. package/dist/actions/update-vendor-bill.mjs +33 -0
  665. package/dist/actions/update-vendor-bill.mjs.map +1 -0
  666. package/dist/actions/update-vendor-payment.cjs +36 -0
  667. package/dist/actions/update-vendor-payment.cjs.map +1 -0
  668. package/dist/actions/update-vendor-payment.d.cts +9 -0
  669. package/dist/actions/update-vendor-payment.d.cts.map +1 -0
  670. package/dist/actions/update-vendor-payment.d.mts +9 -0
  671. package/dist/actions/update-vendor-payment.d.mts.map +1 -0
  672. package/dist/actions/update-vendor-payment.mjs +33 -0
  673. package/dist/actions/update-vendor-payment.mjs.map +1 -0
  674. package/dist/actions/update-vendor.cjs +34 -0
  675. package/dist/actions/update-vendor.cjs.map +1 -0
  676. package/dist/actions/update-vendor.d.cts +9 -0
  677. package/dist/actions/update-vendor.d.cts.map +1 -0
  678. package/dist/actions/update-vendor.d.mts +9 -0
  679. package/dist/actions/update-vendor.d.mts.map +1 -0
  680. package/dist/actions/update-vendor.mjs +31 -0
  681. package/dist/actions/update-vendor.mjs.map +1 -0
  682. package/dist/actions/upsert-record-by-external-id.cjs +23 -0
  683. package/dist/actions/upsert-record-by-external-id.cjs.map +1 -0
  684. package/dist/actions/upsert-record-by-external-id.d.cts +9 -0
  685. package/dist/actions/upsert-record-by-external-id.d.cts.map +1 -0
  686. package/dist/actions/upsert-record-by-external-id.d.mts +9 -0
  687. package/dist/actions/upsert-record-by-external-id.d.mts.map +1 -0
  688. package/dist/actions/upsert-record-by-external-id.mjs +20 -0
  689. package/dist/actions/upsert-record-by-external-id.mjs.map +1 -0
  690. package/dist/app.cjs +9 -0
  691. package/dist/app.cjs.map +1 -0
  692. package/dist/app.d.cts +5 -0
  693. package/dist/app.d.cts.map +1 -0
  694. package/dist/app.d.mts +5 -0
  695. package/dist/app.d.mts.map +1 -0
  696. package/dist/app.mjs +10 -0
  697. package/dist/app.mjs.map +1 -0
  698. package/dist/catalog.cjs +15 -0
  699. package/dist/catalog.cjs.map +1 -0
  700. package/dist/catalog.d.cts +14 -0
  701. package/dist/catalog.d.cts.map +1 -0
  702. package/dist/catalog.d.mts +14 -0
  703. package/dist/catalog.d.mts.map +1 -0
  704. package/dist/catalog.mjs +15 -0
  705. package/dist/catalog.mjs.map +1 -0
  706. package/dist/execute.cjs +18 -0
  707. package/dist/execute.cjs.map +1 -0
  708. package/dist/execute.mjs +18 -0
  709. package/dist/execute.mjs.map +1 -0
  710. package/dist/index.cjs +176 -0
  711. package/dist/index.d.cts +88 -0
  712. package/dist/index.d.mts +88 -0
  713. package/dist/index.mjs +89 -0
  714. package/package.json +49 -0
@@ -0,0 +1,34 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-vendor-payments.ts
4
+ const NetsuiteListVendorPaymentsInput = z.object({
5
+ q: z.string().describe("Filter expression using N/query operators; e.g., 'amount BETWEEN 100 AND 500'. Logical AND/OR and parentheses supported. Wrap multi-word values in quotes.").optional(),
6
+ limit: z.number().int().describe("Maximum number of records per page (1–1000); default is 1000.").optional(),
7
+ offset: z.number().int().describe("Zero-based index of the first record in page; must be divisible by limit.").optional()
8
+ }).describe("Query parameters for LIST_VENDOR_PAYMENTS:\n- q: optional filter expression using NetSuite query operators (AND/OR, parentheses).\n- limit: optional page size (1–1000; default is 1000).\n- offset: optional zero-based start index; if provided, must be divisible by limit.");
9
+ const NetsuiteListVendorPayments_LinkSchema = z.object({
10
+ rel: z.string().describe("Navigation relation (self, next, prev, first, last)"),
11
+ href: z.string().describe("URL for the linked resource")
12
+ });
13
+ const NetsuiteListVendorPayments_VendorPaymentListItemSchema = z.object({
14
+ id: z.string().describe("Internal ID of the vendor payment record"),
15
+ links: z.array(NetsuiteListVendorPayments_LinkSchema).describe("HATEOAS link(s) for this vendor payment record")
16
+ });
17
+ const netsuiteListVendorPayments = action("NETSUITE_LIST_VENDOR_PAYMENTS", {
18
+ slug: "netsuite-list-vendor-payments",
19
+ name: "List Vendor Payments",
20
+ description: "Tool to list vendor payment records. Use when you need to retrieve vendor payments with optional filtering and pagination after establishing a valid NetSuite connection.",
21
+ input: NetsuiteListVendorPaymentsInput,
22
+ output: z.object({
23
+ count: z.number().int().describe("Number of items in this page").nullable().optional(),
24
+ items: z.array(NetsuiteListVendorPayments_VendorPaymentListItemSchema).describe("List of vendor payment result items"),
25
+ links: z.array(NetsuiteListVendorPayments_LinkSchema).describe("Paging navigation links"),
26
+ offset: z.number().int().describe("Offset used for this page").nullable().optional(),
27
+ hasMore: z.boolean().describe("True if additional pages exist").nullable().optional(),
28
+ totalResults: z.number().int().describe("Total number of matching records").nullable().optional()
29
+ })
30
+ });
31
+ //#endregion
32
+ export { netsuiteListVendorPayments };
33
+
34
+ //# sourceMappingURL=list-vendor-payments.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-vendor-payments.mjs","names":[],"sources":["../../src/actions/list-vendor-payments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteListVendorPaymentsInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Filter expression using N/query operators; e.g., 'amount BETWEEN 100 AND 500'. Logical AND/OR and parentheses supported. Wrap multi-word values in quotes.\").optional(),\n limit: z.number().int().describe(\"Maximum number of records per page (1–1000); default is 1000.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of the first record in page; must be divisible by limit.\").optional(),\n}).describe(\"Query parameters for LIST_VENDOR_PAYMENTS:\\n- q: optional filter expression using NetSuite query operators (AND/OR, parentheses).\\n- limit: optional page size (1–1000; default is 1000).\\n- offset: optional zero-based start index; if provided, must be divisible by limit.\");\nconst NetsuiteListVendorPayments_LinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Navigation relation (self, next, prev, first, last)\"),\n href: z.string().describe(\"URL for the linked resource\"),\n});\nconst NetsuiteListVendorPayments_VendorPaymentListItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Internal ID of the vendor payment record\"),\n links: z.array(NetsuiteListVendorPayments_LinkSchema).describe(\"HATEOAS link(s) for this vendor payment record\"),\n});\nexport const NetsuiteListVendorPaymentsOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Number of items in this page\").nullable().optional(),\n items: z.array(NetsuiteListVendorPayments_VendorPaymentListItemSchema).describe(\"List of vendor payment result items\"),\n links: z.array(NetsuiteListVendorPayments_LinkSchema).describe(\"Paging navigation links\"),\n offset: z.number().int().describe(\"Offset used for this page\").nullable().optional(),\n hasMore: z.boolean().describe(\"True if additional pages exist\").nullable().optional(),\n totalResults: z.number().int().describe(\"Total number of matching records\").nullable().optional(),\n});\n\nexport const netsuiteListVendorPayments = action(\"NETSUITE_LIST_VENDOR_PAYMENTS\", {\n slug: \"netsuite-list-vendor-payments\",\n name: \"List Vendor Payments\",\n description: \"Tool to list vendor payment records. Use when you need to retrieve vendor payments with optional filtering and pagination after establishing a valid NetSuite connection.\",\n input: NetsuiteListVendorPaymentsInput,\n output: NetsuiteListVendorPaymentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAC9L,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,gRAAgR;AAC5R,MAAM,wCAAsD,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AACzD,CAAC;AACD,MAAM,yDAAuE,EAAE,OAAO;CACpF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAClE,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,gDAAgD;AACjH,CAAC;AAUD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd4D,EAAE,OAAO;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,qCAAqC;EACrH,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,yBAAyB;EACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAOU;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/o-auth2-authorize-account-domain.ts
4
+ const NetsuiteOAuth2AuthorizeAccountDomainInput = zod.z.object({
5
+ scope: zod.z.string().describe("Space-delimited list of scopes. Allowed values: restlets, rest_webservices, suite_analytics, mcp; 'mcp' cannot be combined with others, and scopes must be enabled on the integration record."),
6
+ state: zod.z.string().describe("Opaque CSRF token (22-1024 printable ASCII), unique per flow").optional(),
7
+ prompt: zod.z.enum([
8
+ "none",
9
+ "login",
10
+ "consent",
11
+ "login consent",
12
+ "consent login"
13
+ ]).describe("Controls user prompt behavior: 'none' (no prompt; not allowed with mcp), 'login' (account domain only), 'consent', 'login consent', or 'consent login'").optional(),
14
+ client_id: zod.z.string().describe("Integration record's client ID"),
15
+ redirect_uri: zod.z.string().describe("Redirect URI registered in the integration record (must match exactly)"),
16
+ response_type: zod.z.string().default("code").describe("Must be 'code' for the authorization code grant type").optional(),
17
+ code_challenge: zod.z.string().describe("PKCE code challenge (base64url-encoded SHA256 of the code_verifier). Required for public clients or when scope=mcp.").optional(),
18
+ code_challenge_method: zod.z.string().describe("Must be 'S256' when sending a code_challenge").optional()
19
+ }).describe("Request model for constructing the OAuth2 authorization URL on account-specific NetSuite domain.");
20
+ const NetsuiteOAuth2AuthorizeAccountDomainOutput = zod.z.object({ authorization_url: zod.z.string().describe("Full URL to redirect the user to for OAuth2 authorization") }).describe("Response model returning the full URL for starting the OAuth2 authorization flow.");
21
+ const netsuiteOAuth2AuthorizeAccountDomain = require_action.action("NETSUITE_O_AUTH2_AUTHORIZE_ACCOUNT_DOMAIN", {
22
+ slug: "netsuite-o-auth2-authorize-account-domain",
23
+ name: "OAuth2 Authorize Account Domain",
24
+ description: "Tool to construct an OAuth2 authorization URL for a NetSuite account-specific domain. Use when initiating the OAuth2 authorization code flow.",
25
+ input: NetsuiteOAuth2AuthorizeAccountDomainInput,
26
+ output: NetsuiteOAuth2AuthorizeAccountDomainOutput
27
+ });
28
+ //#endregion
29
+ exports.netsuiteOAuth2AuthorizeAccountDomain = netsuiteOAuth2AuthorizeAccountDomain;
30
+
31
+ //# sourceMappingURL=o-auth2-authorize-account-domain.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-authorize-account-domain.cjs","names":["z","action"],"sources":["../../src/actions/o-auth2-authorize-account-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2AuthorizeAccountDomainInput: z.ZodTypeAny = z.object({\n scope: z.string().describe(\"Space-delimited list of scopes. Allowed values: restlets, rest_webservices, suite_analytics, mcp; 'mcp' cannot be combined with others, and scopes must be enabled on the integration record.\"),\n state: z.string().describe(\"Opaque CSRF token (22-1024 printable ASCII), unique per flow\").optional(),\n prompt: z.enum([\"none\", \"login\", \"consent\", \"login consent\", \"consent login\"]).describe(\"Controls user prompt behavior: 'none' (no prompt; not allowed with mcp), 'login' (account domain only), 'consent', 'login consent', or 'consent login'\").optional(),\n client_id: z.string().describe(\"Integration record's client ID\"),\n redirect_uri: z.string().describe(\"Redirect URI registered in the integration record (must match exactly)\"),\n response_type: z.string().default(\"code\").describe(\"Must be 'code' for the authorization code grant type\").optional(),\n code_challenge: z.string().describe(\"PKCE code challenge (base64url-encoded SHA256 of the code_verifier). Required for public clients or when scope=mcp.\").optional(),\n code_challenge_method: z.string().describe(\"Must be 'S256' when sending a code_challenge\").optional(),\n}).describe(\"Request model for constructing the OAuth2 authorization URL on account-specific NetSuite domain.\");\nexport const NetsuiteOAuth2AuthorizeAccountDomainOutput: z.ZodTypeAny = z.object({\n authorization_url: z.string().describe(\"Full URL to redirect the user to for OAuth2 authorization\"),\n}).describe(\"Response model returning the full URL for starting the OAuth2 authorization flow.\");\n\nexport const netsuiteOAuth2AuthorizeAccountDomain = action(\"NETSUITE_O_AUTH2_AUTHORIZE_ACCOUNT_DOMAIN\", {\n slug: \"netsuite-o-auth2-authorize-account-domain\",\n name: \"OAuth2 Authorize Account Domain\",\n description: \"Tool to construct an OAuth2 authorization URL for a NetSuite account-specific domain. Use when initiating the OAuth2 authorization code flow.\",\n input: NetsuiteOAuth2AuthorizeAccountDomainInput,\n output: NetsuiteOAuth2AuthorizeAccountDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+LAA+L;CAC1N,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACpG,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAS;EAAW;EAAiB;CAAe,CAAC,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CAC3P,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC/D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAC1G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACpK,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,kGAAkG;AAC9G,MAAa,6CAA2DA,IAAAA,EAAE,OAAO,EAC/E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACpG,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAE/F,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/o-auth2-authorize-account-domain.d.ts
4
+ declare const NetsuiteOAuth2AuthorizeAccountDomainInput: z.ZodTypeAny;
5
+ declare const NetsuiteOAuth2AuthorizeAccountDomainOutput: z.ZodTypeAny;
6
+ declare const netsuiteOAuth2AuthorizeAccountDomain: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteOAuth2AuthorizeAccountDomain };
9
+ //# sourceMappingURL=o-auth2-authorize-account-domain.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-authorize-account-domain.d.cts","names":[],"sources":["../../src/actions/o-auth2-authorize-account-domain.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UASqD;AAAA,cAClG,0CAAA,EAA4C,CAAA,CAAE,UAEqC;AAAA,cAEnF,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/o-auth2-authorize-account-domain.d.ts
4
+ declare const NetsuiteOAuth2AuthorizeAccountDomainInput: z.ZodTypeAny;
5
+ declare const NetsuiteOAuth2AuthorizeAccountDomainOutput: z.ZodTypeAny;
6
+ declare const netsuiteOAuth2AuthorizeAccountDomain: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteOAuth2AuthorizeAccountDomain };
9
+ //# sourceMappingURL=o-auth2-authorize-account-domain.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-authorize-account-domain.d.mts","names":[],"sources":["../../src/actions/o-auth2-authorize-account-domain.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UASqD;AAAA,cAClG,0CAAA,EAA4C,CAAA,CAAE,UAEqC;AAAA,cAEnF,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const netsuiteOAuth2AuthorizeAccountDomain = action("NETSUITE_O_AUTH2_AUTHORIZE_ACCOUNT_DOMAIN", {
4
+ slug: "netsuite-o-auth2-authorize-account-domain",
5
+ name: "OAuth2 Authorize Account Domain",
6
+ description: "Tool to construct an OAuth2 authorization URL for a NetSuite account-specific domain. Use when initiating the OAuth2 authorization code flow.",
7
+ input: z.object({
8
+ scope: z.string().describe("Space-delimited list of scopes. Allowed values: restlets, rest_webservices, suite_analytics, mcp; 'mcp' cannot be combined with others, and scopes must be enabled on the integration record."),
9
+ state: z.string().describe("Opaque CSRF token (22-1024 printable ASCII), unique per flow").optional(),
10
+ prompt: z.enum([
11
+ "none",
12
+ "login",
13
+ "consent",
14
+ "login consent",
15
+ "consent login"
16
+ ]).describe("Controls user prompt behavior: 'none' (no prompt; not allowed with mcp), 'login' (account domain only), 'consent', 'login consent', or 'consent login'").optional(),
17
+ client_id: z.string().describe("Integration record's client ID"),
18
+ redirect_uri: z.string().describe("Redirect URI registered in the integration record (must match exactly)"),
19
+ response_type: z.string().default("code").describe("Must be 'code' for the authorization code grant type").optional(),
20
+ code_challenge: z.string().describe("PKCE code challenge (base64url-encoded SHA256 of the code_verifier). Required for public clients or when scope=mcp.").optional(),
21
+ code_challenge_method: z.string().describe("Must be 'S256' when sending a code_challenge").optional()
22
+ }).describe("Request model for constructing the OAuth2 authorization URL on account-specific NetSuite domain."),
23
+ output: z.object({ authorization_url: z.string().describe("Full URL to redirect the user to for OAuth2 authorization") }).describe("Response model returning the full URL for starting the OAuth2 authorization flow.")
24
+ });
25
+ //#endregion
26
+ export { netsuiteOAuth2AuthorizeAccountDomain };
27
+
28
+ //# sourceMappingURL=o-auth2-authorize-account-domain.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-authorize-account-domain.mjs","names":[],"sources":["../../src/actions/o-auth2-authorize-account-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2AuthorizeAccountDomainInput: z.ZodTypeAny = z.object({\n scope: z.string().describe(\"Space-delimited list of scopes. Allowed values: restlets, rest_webservices, suite_analytics, mcp; 'mcp' cannot be combined with others, and scopes must be enabled on the integration record.\"),\n state: z.string().describe(\"Opaque CSRF token (22-1024 printable ASCII), unique per flow\").optional(),\n prompt: z.enum([\"none\", \"login\", \"consent\", \"login consent\", \"consent login\"]).describe(\"Controls user prompt behavior: 'none' (no prompt; not allowed with mcp), 'login' (account domain only), 'consent', 'login consent', or 'consent login'\").optional(),\n client_id: z.string().describe(\"Integration record's client ID\"),\n redirect_uri: z.string().describe(\"Redirect URI registered in the integration record (must match exactly)\"),\n response_type: z.string().default(\"code\").describe(\"Must be 'code' for the authorization code grant type\").optional(),\n code_challenge: z.string().describe(\"PKCE code challenge (base64url-encoded SHA256 of the code_verifier). Required for public clients or when scope=mcp.\").optional(),\n code_challenge_method: z.string().describe(\"Must be 'S256' when sending a code_challenge\").optional(),\n}).describe(\"Request model for constructing the OAuth2 authorization URL on account-specific NetSuite domain.\");\nexport const NetsuiteOAuth2AuthorizeAccountDomainOutput: z.ZodTypeAny = z.object({\n authorization_url: z.string().describe(\"Full URL to redirect the user to for OAuth2 authorization\"),\n}).describe(\"Response model returning the full URL for starting the OAuth2 authorization flow.\");\n\nexport const netsuiteOAuth2AuthorizeAccountDomain = action(\"NETSUITE_O_AUTH2_AUTHORIZE_ACCOUNT_DOMAIN\", {\n slug: \"netsuite-o-auth2-authorize-account-domain\",\n name: \"OAuth2 Authorize Account Domain\",\n description: \"Tool to construct an OAuth2 authorization URL for a NetSuite account-specific domain. Use when initiating the OAuth2 authorization code flow.\",\n input: NetsuiteOAuth2AuthorizeAccountDomainInput,\n output: NetsuiteOAuth2AuthorizeAccountDomainOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBqE,EAAE,OAAO;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+LAA+L;EAC1N,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACpG,QAAQ,EAAE,KAAK;GAAC;GAAQ;GAAS;GAAW;GAAiB;EAAe,CAAC,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;EAC3P,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC/D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EAC1G,eAAe,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACpH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EACpK,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,kGASH;CACP,QATsE,EAAE,OAAO,EAC/E,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACpG,CAAC,CAAC,CAAC,SAAS,mFAOF;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/o-auth2-authorize-system-domain.ts
4
+ const NetsuiteOAuth2AuthorizeSystemDomainInput = zod.z.object({
5
+ nonce: zod.z.string().describe("Optional string to associate a user session with an ID token; max length 256 characters.").optional(),
6
+ scope: zod.z.string().describe("Space-separated list of OAuth2 scopes. Valid values are 'openid' and 'email'. Use 'openid email' for both, or either one individually."),
7
+ state: zod.z.string().describe("Opaque value to maintain state between request and callback; 22–1024 printable ASCII characters."),
8
+ prompt: zod.z.enum([
9
+ "none",
10
+ "login",
11
+ "consent",
12
+ "login consent"
13
+ ]).describe("OAuth2 prompt behavior: 'none' (no consent screen), 'login' (force authentication), 'consent' (always show consent), or 'login consent' (both required).").optional(),
14
+ client_id: zod.z.string().describe("The integration record's client identifier."),
15
+ redirect_uri: zod.z.string().describe("The exact callback URI registered in the integration record; must match registration."),
16
+ response_type: zod.z.string().default("code").describe("OAuth2 response type. Must be 'code'.").optional(),
17
+ code_challenge: zod.z.string().describe("PKCE code challenge, required for public clients; base64url(SHA256(code_verifier)), 43–128 characters.").optional(),
18
+ code_challenge_method: zod.z.string().describe("Method to derive code_challenge; only 'S256' is supported.").optional()
19
+ }).describe("Request model for starting an OAuth2 authorization code flow on the NetSuite system domain.");
20
+ const NetsuiteOAuth2AuthorizeSystemDomainOutput = zod.z.object({ redirect_url: zod.z.string().describe("The NetSuite authorization URL where the user should be redirected to authenticate and authorize the application. After authorization, NetSuite redirects back to the redirect_uri with the authorization code or error.") }).describe("Response model containing the redirect URL for OAuth2 authorization.");
21
+ const netsuiteOAuth2AuthorizeSystemDomain = require_action.action("NETSUITE_O_AUTH2_AUTHORIZE_SYSTEM_DOMAIN", {
22
+ slug: "netsuite-o-auth2-authorize-system-domain",
23
+ name: "OAuth2 Authorize System Domain",
24
+ description: "Initiates the OAuth2 authorization code flow using NetSuite's system domain endpoint. Returns the authorization URL where users should be redirected to authenticate and grant permissions. After user authorization, NetSuite redirects back to your redirect_uri with an authorization code. Use this when you don't know the specific NetSuite account ID or want to use the generic system domain.",
25
+ input: NetsuiteOAuth2AuthorizeSystemDomainInput,
26
+ output: NetsuiteOAuth2AuthorizeSystemDomainOutput
27
+ });
28
+ //#endregion
29
+ exports.netsuiteOAuth2AuthorizeSystemDomain = netsuiteOAuth2AuthorizeSystemDomain;
30
+
31
+ //# sourceMappingURL=o-auth2-authorize-system-domain.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-authorize-system-domain.cjs","names":["z","action"],"sources":["../../src/actions/o-auth2-authorize-system-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2AuthorizeSystemDomainInput: z.ZodTypeAny = z.object({\n nonce: z.string().describe(\"Optional string to associate a user session with an ID token; max length 256 characters.\").optional(),\n scope: z.string().describe(\"Space-separated list of OAuth2 scopes. Valid values are 'openid' and 'email'. Use 'openid email' for both, or either one individually.\"),\n state: z.string().describe(\"Opaque value to maintain state between request and callback; 22–1024 printable ASCII characters.\"),\n prompt: z.enum([\"none\", \"login\", \"consent\", \"login consent\"]).describe(\"OAuth2 prompt behavior: 'none' (no consent screen), 'login' (force authentication), 'consent' (always show consent), or 'login consent' (both required).\").optional(),\n client_id: z.string().describe(\"The integration record's client identifier.\"),\n redirect_uri: z.string().describe(\"The exact callback URI registered in the integration record; must match registration.\"),\n response_type: z.string().default(\"code\").describe(\"OAuth2 response type. Must be 'code'.\").optional(),\n code_challenge: z.string().describe(\"PKCE code challenge, required for public clients; base64url(SHA256(code_verifier)), 43–128 characters.\").optional(),\n code_challenge_method: z.string().describe(\"Method to derive code_challenge; only 'S256' is supported.\").optional(),\n}).describe(\"Request model for starting an OAuth2 authorization code flow on the NetSuite system domain.\");\nexport const NetsuiteOAuth2AuthorizeSystemDomainOutput: z.ZodTypeAny = z.object({\n redirect_url: z.string().describe(\"The NetSuite authorization URL where the user should be redirected to authenticate and authorize the application. After authorization, NetSuite redirects back to the redirect_uri with the authorization code or error.\"),\n}).describe(\"Response model containing the redirect URL for OAuth2 authorization.\");\n\nexport const netsuiteOAuth2AuthorizeSystemDomain = action(\"NETSUITE_O_AUTH2_AUTHORIZE_SYSTEM_DOMAIN\", {\n slug: \"netsuite-o-auth2-authorize-system-domain\",\n name: \"OAuth2 Authorize System Domain\",\n description: \"Initiates the OAuth2 authorization code flow using NetSuite's system domain endpoint. Returns the authorization URL where users should be redirected to authenticate and grant permissions. After user authorization, NetSuite redirects back to your redirect_uri with an authorization code. Use this when you don't know the specific NetSuite account ID or want to use the generic system domain.\",\n input: NetsuiteOAuth2AuthorizeSystemDomainInput,\n output: NetsuiteOAuth2AuthorizeSystemDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CACnK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CAC7H,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAS;EAAW;CAAe,CAAC,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CAC5O,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACzH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACvJ,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,6FAA6F;AACzG,MAAa,4CAA0DA,IAAAA,EAAE,OAAO,EAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0NAA0N,EAC9P,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/o-auth2-authorize-system-domain.d.ts
4
+ declare const NetsuiteOAuth2AuthorizeSystemDomainInput: z.ZodTypeAny;
5
+ declare const NetsuiteOAuth2AuthorizeSystemDomainOutput: z.ZodTypeAny;
6
+ declare const netsuiteOAuth2AuthorizeSystemDomain: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteOAuth2AuthorizeSystemDomain };
9
+ //# sourceMappingURL=o-auth2-authorize-system-domain.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-authorize-system-domain.d.cts","names":[],"sources":["../../src/actions/o-auth2-authorize-system-domain.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAUiD;AAAA,cAC7F,yCAAA,EAA2C,CAAA,CAAE,UAEyB;AAAA,cAEtE,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/o-auth2-authorize-system-domain.d.ts
4
+ declare const NetsuiteOAuth2AuthorizeSystemDomainInput: z.ZodTypeAny;
5
+ declare const NetsuiteOAuth2AuthorizeSystemDomainOutput: z.ZodTypeAny;
6
+ declare const netsuiteOAuth2AuthorizeSystemDomain: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteOAuth2AuthorizeSystemDomain };
9
+ //# sourceMappingURL=o-auth2-authorize-system-domain.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-authorize-system-domain.d.mts","names":[],"sources":["../../src/actions/o-auth2-authorize-system-domain.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAUiD;AAAA,cAC7F,yCAAA,EAA2C,CAAA,CAAE,UAEyB;AAAA,cAEtE,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const netsuiteOAuth2AuthorizeSystemDomain = action("NETSUITE_O_AUTH2_AUTHORIZE_SYSTEM_DOMAIN", {
4
+ slug: "netsuite-o-auth2-authorize-system-domain",
5
+ name: "OAuth2 Authorize System Domain",
6
+ description: "Initiates the OAuth2 authorization code flow using NetSuite's system domain endpoint. Returns the authorization URL where users should be redirected to authenticate and grant permissions. After user authorization, NetSuite redirects back to your redirect_uri with an authorization code. Use this when you don't know the specific NetSuite account ID or want to use the generic system domain.",
7
+ input: z.object({
8
+ nonce: z.string().describe("Optional string to associate a user session with an ID token; max length 256 characters.").optional(),
9
+ scope: z.string().describe("Space-separated list of OAuth2 scopes. Valid values are 'openid' and 'email'. Use 'openid email' for both, or either one individually."),
10
+ state: z.string().describe("Opaque value to maintain state between request and callback; 22–1024 printable ASCII characters."),
11
+ prompt: z.enum([
12
+ "none",
13
+ "login",
14
+ "consent",
15
+ "login consent"
16
+ ]).describe("OAuth2 prompt behavior: 'none' (no consent screen), 'login' (force authentication), 'consent' (always show consent), or 'login consent' (both required).").optional(),
17
+ client_id: z.string().describe("The integration record's client identifier."),
18
+ redirect_uri: z.string().describe("The exact callback URI registered in the integration record; must match registration."),
19
+ response_type: z.string().default("code").describe("OAuth2 response type. Must be 'code'.").optional(),
20
+ code_challenge: z.string().describe("PKCE code challenge, required for public clients; base64url(SHA256(code_verifier)), 43–128 characters.").optional(),
21
+ code_challenge_method: z.string().describe("Method to derive code_challenge; only 'S256' is supported.").optional()
22
+ }).describe("Request model for starting an OAuth2 authorization code flow on the NetSuite system domain."),
23
+ output: z.object({ redirect_url: z.string().describe("The NetSuite authorization URL where the user should be redirected to authenticate and authorize the application. After authorization, NetSuite redirects back to the redirect_uri with the authorization code or error.") }).describe("Response model containing the redirect URL for OAuth2 authorization.")
24
+ });
25
+ //#endregion
26
+ export { netsuiteOAuth2AuthorizeSystemDomain };
27
+
28
+ //# sourceMappingURL=o-auth2-authorize-system-domain.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-authorize-system-domain.mjs","names":[],"sources":["../../src/actions/o-auth2-authorize-system-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2AuthorizeSystemDomainInput: z.ZodTypeAny = z.object({\n nonce: z.string().describe(\"Optional string to associate a user session with an ID token; max length 256 characters.\").optional(),\n scope: z.string().describe(\"Space-separated list of OAuth2 scopes. Valid values are 'openid' and 'email'. Use 'openid email' for both, or either one individually.\"),\n state: z.string().describe(\"Opaque value to maintain state between request and callback; 22–1024 printable ASCII characters.\"),\n prompt: z.enum([\"none\", \"login\", \"consent\", \"login consent\"]).describe(\"OAuth2 prompt behavior: 'none' (no consent screen), 'login' (force authentication), 'consent' (always show consent), or 'login consent' (both required).\").optional(),\n client_id: z.string().describe(\"The integration record's client identifier.\"),\n redirect_uri: z.string().describe(\"The exact callback URI registered in the integration record; must match registration.\"),\n response_type: z.string().default(\"code\").describe(\"OAuth2 response type. Must be 'code'.\").optional(),\n code_challenge: z.string().describe(\"PKCE code challenge, required for public clients; base64url(SHA256(code_verifier)), 43–128 characters.\").optional(),\n code_challenge_method: z.string().describe(\"Method to derive code_challenge; only 'S256' is supported.\").optional(),\n}).describe(\"Request model for starting an OAuth2 authorization code flow on the NetSuite system domain.\");\nexport const NetsuiteOAuth2AuthorizeSystemDomainOutput: z.ZodTypeAny = z.object({\n redirect_url: z.string().describe(\"The NetSuite authorization URL where the user should be redirected to authenticate and authorize the application. After authorization, NetSuite redirects back to the redirect_uri with the authorization code or error.\"),\n}).describe(\"Response model containing the redirect URL for OAuth2 authorization.\");\n\nexport const netsuiteOAuth2AuthorizeSystemDomain = action(\"NETSUITE_O_AUTH2_AUTHORIZE_SYSTEM_DOMAIN\", {\n slug: \"netsuite-o-auth2-authorize-system-domain\",\n name: \"OAuth2 Authorize System Domain\",\n description: \"Initiates the OAuth2 authorization code flow using NetSuite's system domain endpoint. Returns the authorization URL where users should be redirected to authenticate and grant permissions. After user authorization, NetSuite redirects back to your redirect_uri with an authorization code. Use this when you don't know the specific NetSuite account ID or want to use the generic system domain.\",\n input: NetsuiteOAuth2AuthorizeSystemDomainInput,\n output: NetsuiteOAuth2AuthorizeSystemDomainOutput,\n});\n"],"mappings":";;AAmBA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBoE,EAAE,OAAO;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EAChI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;EACnK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAC7H,QAAQ,EAAE,KAAK;GAAC;GAAQ;GAAS;GAAW;EAAe,CAAC,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;EAC5O,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;EACzH,eAAe,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACvJ,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,6FASH;CACP,QATqE,EAAE,OAAO,EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0NAA0N,EAC9P,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
@@ -0,0 +1,20 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/o-auth2-logout.ts
4
+ const NetsuiteOAuth2LogoutInput = zod.z.object({ id_token_hint: zod.z.string().describe("ID token to revoke; revokes its associated access and refresh tokens.") }).describe("Request model for revoking an ID token and its associated access and refresh tokens.");
5
+ const NetsuiteOAuth2LogoutOutput = zod.z.object({
6
+ error: zod.z.string().describe("Error code or message if logout failed (e.g., 'invalid_token', 'unauthorized').").nullable().optional(),
7
+ success: zod.z.boolean().describe("True if the ID token and its related tokens were revoked successfully"),
8
+ status_code: zod.z.number().int().describe("HTTP status code from the logout endpoint (e.g., 200 for success, 400 for errors).").nullable().optional()
9
+ }).describe("Response model indicating successful token revocation.");
10
+ const netsuiteOAuth2Logout = require_action.action("NETSUITE_O_AUTH2_LOGOUT", {
11
+ slug: "netsuite-o-auth2-logout",
12
+ name: "OAuth2 Logout",
13
+ description: "Tool to revoke an ID token and its associated access and refresh tokens. Use when ending an OAuth2 session to ensure credentials are invalidated.",
14
+ input: NetsuiteOAuth2LogoutInput,
15
+ output: NetsuiteOAuth2LogoutOutput
16
+ });
17
+ //#endregion
18
+ exports.netsuiteOAuth2Logout = netsuiteOAuth2Logout;
19
+
20
+ //# sourceMappingURL=o-auth2-logout.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-logout.cjs","names":["z","action"],"sources":["../../src/actions/o-auth2-logout.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2LogoutInput: z.ZodTypeAny = z.object({\n id_token_hint: z.string().describe(\"ID token to revoke; revokes its associated access and refresh tokens.\"),\n}).describe(\"Request model for revoking an ID token and its associated access and refresh tokens.\");\nexport const NetsuiteOAuth2LogoutOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error code or message if logout failed (e.g., 'invalid_token', 'unauthorized').\").nullable().optional(),\n success: z.boolean().describe(\"True if the ID token and its related tokens were revoked successfully\"),\n status_code: z.number().int().describe(\"HTTP status code from the logout endpoint (e.g., 200 for success, 400 for errors).\").nullable().optional(),\n}).describe(\"Response model indicating successful token revocation.\");\n\nexport const netsuiteOAuth2Logout = action(\"NETSUITE_O_AUTH2_LOGOUT\", {\n slug: \"netsuite-o-auth2-logout\",\n name: \"OAuth2 Logout\",\n description: \"Tool to revoke an ID token and its associated access and refresh tokens. Use when ending an OAuth2 session to ensure credentials are invalidated.\",\n input: NetsuiteOAuth2LogoutInput,\n output: NetsuiteOAuth2LogoutOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,EAC5G,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/o-auth2-logout.d.ts
4
+ declare const NetsuiteOAuth2LogoutInput: z.ZodTypeAny;
5
+ declare const NetsuiteOAuth2LogoutOutput: z.ZodTypeAny;
6
+ declare const netsuiteOAuth2Logout: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteOAuth2Logout };
9
+ //# sourceMappingURL=o-auth2-logout.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-logout.d.cts","names":[],"sources":["../../src/actions/o-auth2-logout.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEyD;AAAA,cACtF,0BAAA,EAA4B,CAAA,CAAE,UAI0B;AAAA,cAExD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/o-auth2-logout.d.ts
4
+ declare const NetsuiteOAuth2LogoutInput: z.ZodTypeAny;
5
+ declare const NetsuiteOAuth2LogoutOutput: z.ZodTypeAny;
6
+ declare const netsuiteOAuth2Logout: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteOAuth2Logout };
9
+ //# sourceMappingURL=o-auth2-logout.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-logout.d.mts","names":[],"sources":["../../src/actions/o-auth2-logout.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEyD;AAAA,cACtF,0BAAA,EAA4B,CAAA,CAAE,UAI0B;AAAA,cAExD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,17 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const netsuiteOAuth2Logout = action("NETSUITE_O_AUTH2_LOGOUT", {
4
+ slug: "netsuite-o-auth2-logout",
5
+ name: "OAuth2 Logout",
6
+ description: "Tool to revoke an ID token and its associated access and refresh tokens. Use when ending an OAuth2 session to ensure credentials are invalidated.",
7
+ input: z.object({ id_token_hint: z.string().describe("ID token to revoke; revokes its associated access and refresh tokens.") }).describe("Request model for revoking an ID token and its associated access and refresh tokens."),
8
+ output: z.object({
9
+ error: z.string().describe("Error code or message if logout failed (e.g., 'invalid_token', 'unauthorized').").nullable().optional(),
10
+ success: z.boolean().describe("True if the ID token and its related tokens were revoked successfully"),
11
+ status_code: z.number().int().describe("HTTP status code from the logout endpoint (e.g., 200 for success, 400 for errors).").nullable().optional()
12
+ }).describe("Response model indicating successful token revocation.")
13
+ });
14
+ //#endregion
15
+ export { netsuiteOAuth2Logout };
16
+
17
+ //# sourceMappingURL=o-auth2-logout.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-logout.mjs","names":[],"sources":["../../src/actions/o-auth2-logout.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2LogoutInput: z.ZodTypeAny = z.object({\n id_token_hint: z.string().describe(\"ID token to revoke; revokes its associated access and refresh tokens.\"),\n}).describe(\"Request model for revoking an ID token and its associated access and refresh tokens.\");\nexport const NetsuiteOAuth2LogoutOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error code or message if logout failed (e.g., 'invalid_token', 'unauthorized').\").nullable().optional(),\n success: z.boolean().describe(\"True if the ID token and its related tokens were revoked successfully\"),\n status_code: z.number().int().describe(\"HTTP status code from the logout endpoint (e.g., 200 for success, 400 for errors).\").nullable().optional(),\n}).describe(\"Response model indicating successful token revocation.\");\n\nexport const netsuiteOAuth2Logout = action(\"NETSUITE_O_AUTH2_LOGOUT\", {\n slug: \"netsuite-o-auth2-logout\",\n name: \"OAuth2 Logout\",\n description: \"Tool to revoke an ID token and its associated access and refresh tokens. Use when ending an OAuth2 session to ensure credentials are invalidated.\",\n input: NetsuiteOAuth2LogoutInput,\n output: NetsuiteOAuth2LogoutOutput,\n});\n"],"mappings":";;AAaA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqD,EAAE,OAAO,EAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,EAC5G,CAAC,CAAC,CAAC,SAAS,sFAWH;CACP,QAXsD,EAAE,OAAO;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/o-auth2-revoke-refresh-token.ts
4
+ const NetsuiteOAuth2RevokeRefreshTokenInput = zod.z.object({
5
+ token: zod.z.string().describe("The OAuth2 refresh token (JWT format) to revoke. Once revoked, this token and its associated access tokens become invalid."),
6
+ client_id: zod.z.string().describe("OAuth2 client ID for public clients. When provided, skips Basic authentication and sends client_id in the request body instead. Leave empty for confidential clients that use metadata credentials.").optional()
7
+ }).describe("Request parameters for revoking a NetSuite OAuth2 refresh token.\n\nSupports both confidential clients (with Basic auth from metadata) and public clients\n(with client_id in request body).");
8
+ const NetsuiteOAuth2RevokeRefreshTokenOutput = zod.z.object({
9
+ error: zod.z.string().describe("Error code or message when revocation fails. Common values: 'invalid_request' (malformed token), 'invalid_client' (bad credentials), 'unsupported_token_type' (wrong token type).").nullable().optional(),
10
+ success: zod.z.boolean().describe("True if the refresh token was successfully revoked; False if revocation failed."),
11
+ status_code: zod.z.number().int().describe("HTTP status code from NetSuite's revocation endpoint. 200 indicates success, 400+ indicates an error condition.").nullable().optional()
12
+ }).describe("Response indicating the result of the token revocation operation.\n\nOn success, returns success=True with status_code=200.\nOn failure, returns success=False with error details and the HTTP status code.");
13
+ const netsuiteOAuth2RevokeRefreshToken = require_action.action("NETSUITE_O_AUTH2_REVOKE_REFRESH_TOKEN", {
14
+ slug: "netsuite-o-auth2-revoke-refresh-token",
15
+ name: "Revoke OAuth2 Refresh Token",
16
+ description: "Revokes a NetSuite OAuth2 refresh token and all associated access tokens, immediately invalidating them. Use this when: - A user logs out and you want to invalidate their session tokens - Credentials are compromised and need immediate revocation - Decommissioning an integration or removing access - Cleaning up test tokens after development Note: This is a destructive operation - revoked tokens cannot be reused.",
17
+ input: NetsuiteOAuth2RevokeRefreshTokenInput,
18
+ output: NetsuiteOAuth2RevokeRefreshTokenOutput
19
+ });
20
+ //#endregion
21
+ exports.netsuiteOAuth2RevokeRefreshToken = netsuiteOAuth2RevokeRefreshToken;
22
+
23
+ //# sourceMappingURL=o-auth2-revoke-refresh-token.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-revoke-refresh-token.cjs","names":["z","action"],"sources":["../../src/actions/o-auth2-revoke-refresh-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2RevokeRefreshTokenInput: z.ZodTypeAny = z.object({\n token: z.string().describe(\"The OAuth2 refresh token (JWT format) to revoke. Once revoked, this token and its associated access tokens become invalid.\"),\n client_id: z.string().describe(\"OAuth2 client ID for public clients. When provided, skips Basic authentication and sends client_id in the request body instead. Leave empty for confidential clients that use metadata credentials.\").optional(),\n}).describe(\"Request parameters for revoking a NetSuite OAuth2 refresh token.\\n\\nSupports both confidential clients (with Basic auth from metadata) and public clients\\n(with client_id in request body).\");\nexport const NetsuiteOAuth2RevokeRefreshTokenOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error code or message when revocation fails. Common values: 'invalid_request' (malformed token), 'invalid_client' (bad credentials), 'unsupported_token_type' (wrong token type).\").nullable().optional(),\n success: z.boolean().describe(\"True if the refresh token was successfully revoked; False if revocation failed.\"),\n status_code: z.number().int().describe(\"HTTP status code from NetSuite's revocation endpoint. 200 indicates success, 400+ indicates an error condition.\").nullable().optional(),\n}).describe(\"Response indicating the result of the token revocation operation.\\n\\nOn success, returns success=True with status_code=200.\\nOn failure, returns success=False with error details and the HTTP status code.\");\n\nexport const netsuiteOAuth2RevokeRefreshToken = action(\"NETSUITE_O_AUTH2_REVOKE_REFRESH_TOKEN\", {\n slug: \"netsuite-o-auth2-revoke-refresh-token\",\n name: \"Revoke OAuth2 Refresh Token\",\n description: \"Revokes a NetSuite OAuth2 refresh token and all associated access tokens, immediately invalidating them. Use this when: - A user logs out and you want to invalidate their session tokens - Credentials are compromised and need immediate revocation - Decommissioning an integration or removing access - Cleaning up test tokens after development Note: This is a destructive operation - revoked tokens cannot be reused.\",\n input: NetsuiteOAuth2RevokeRefreshTokenInput,\n output: NetsuiteOAuth2RevokeRefreshTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H;CACvJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM,CAAC,CAAC,SAAS;AACjP,CAAC,CAAC,CAAC,SAAS,8LAA8L;AAC1M,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpO,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChL,CAAC,CAAC,CAAC,SAAS,6MAA6M;AAEzN,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/o-auth2-revoke-refresh-token.d.ts
4
+ declare const NetsuiteOAuth2RevokeRefreshTokenInput: z.ZodTypeAny;
5
+ declare const NetsuiteOAuth2RevokeRefreshTokenOutput: z.ZodTypeAny;
6
+ declare const netsuiteOAuth2RevokeRefreshToken: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteOAuth2RevokeRefreshToken };
9
+ //# sourceMappingURL=o-auth2-revoke-refresh-token.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-revoke-refresh-token.d.cts","names":[],"sources":["../../src/actions/o-auth2-revoke-refresh-token.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAGqJ;AAAA,cAC9L,sCAAA,EAAwC,CAAA,CAAE,UAImK;AAAA,cAE7M,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/o-auth2-revoke-refresh-token.d.ts
4
+ declare const NetsuiteOAuth2RevokeRefreshTokenInput: z.ZodTypeAny;
5
+ declare const NetsuiteOAuth2RevokeRefreshTokenOutput: z.ZodTypeAny;
6
+ declare const netsuiteOAuth2RevokeRefreshToken: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteOAuth2RevokeRefreshToken };
9
+ //# sourceMappingURL=o-auth2-revoke-refresh-token.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-revoke-refresh-token.d.mts","names":[],"sources":["../../src/actions/o-auth2-revoke-refresh-token.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAGqJ;AAAA,cAC9L,sCAAA,EAAwC,CAAA,CAAE,UAImK;AAAA,cAE7M,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const netsuiteOAuth2RevokeRefreshToken = action("NETSUITE_O_AUTH2_REVOKE_REFRESH_TOKEN", {
4
+ slug: "netsuite-o-auth2-revoke-refresh-token",
5
+ name: "Revoke OAuth2 Refresh Token",
6
+ description: "Revokes a NetSuite OAuth2 refresh token and all associated access tokens, immediately invalidating them. Use this when: - A user logs out and you want to invalidate their session tokens - Credentials are compromised and need immediate revocation - Decommissioning an integration or removing access - Cleaning up test tokens after development Note: This is a destructive operation - revoked tokens cannot be reused.",
7
+ input: z.object({
8
+ token: z.string().describe("The OAuth2 refresh token (JWT format) to revoke. Once revoked, this token and its associated access tokens become invalid."),
9
+ client_id: z.string().describe("OAuth2 client ID for public clients. When provided, skips Basic authentication and sends client_id in the request body instead. Leave empty for confidential clients that use metadata credentials.").optional()
10
+ }).describe("Request parameters for revoking a NetSuite OAuth2 refresh token.\n\nSupports both confidential clients (with Basic auth from metadata) and public clients\n(with client_id in request body)."),
11
+ output: z.object({
12
+ error: z.string().describe("Error code or message when revocation fails. Common values: 'invalid_request' (malformed token), 'invalid_client' (bad credentials), 'unsupported_token_type' (wrong token type).").nullable().optional(),
13
+ success: z.boolean().describe("True if the refresh token was successfully revoked; False if revocation failed."),
14
+ status_code: z.number().int().describe("HTTP status code from NetSuite's revocation endpoint. 200 indicates success, 400+ indicates an error condition.").nullable().optional()
15
+ }).describe("Response indicating the result of the token revocation operation.\n\nOn success, returns success=True with status_code=200.\nOn failure, returns success=False with error details and the HTTP status code.")
16
+ });
17
+ //#endregion
18
+ export { netsuiteOAuth2RevokeRefreshToken };
19
+
20
+ //# sourceMappingURL=o-auth2-revoke-refresh-token.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-revoke-refresh-token.mjs","names":[],"sources":["../../src/actions/o-auth2-revoke-refresh-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2RevokeRefreshTokenInput: z.ZodTypeAny = z.object({\n token: z.string().describe(\"The OAuth2 refresh token (JWT format) to revoke. Once revoked, this token and its associated access tokens become invalid.\"),\n client_id: z.string().describe(\"OAuth2 client ID for public clients. When provided, skips Basic authentication and sends client_id in the request body instead. Leave empty for confidential clients that use metadata credentials.\").optional(),\n}).describe(\"Request parameters for revoking a NetSuite OAuth2 refresh token.\\n\\nSupports both confidential clients (with Basic auth from metadata) and public clients\\n(with client_id in request body).\");\nexport const NetsuiteOAuth2RevokeRefreshTokenOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error code or message when revocation fails. Common values: 'invalid_request' (malformed token), 'invalid_client' (bad credentials), 'unsupported_token_type' (wrong token type).\").nullable().optional(),\n success: z.boolean().describe(\"True if the refresh token was successfully revoked; False if revocation failed.\"),\n status_code: z.number().int().describe(\"HTTP status code from NetSuite's revocation endpoint. 200 indicates success, 400+ indicates an error condition.\").nullable().optional(),\n}).describe(\"Response indicating the result of the token revocation operation.\\n\\nOn success, returns success=True with status_code=200.\\nOn failure, returns success=False with error details and the HTTP status code.\");\n\nexport const netsuiteOAuth2RevokeRefreshToken = action(\"NETSUITE_O_AUTH2_REVOKE_REFRESH_TOKEN\", {\n slug: \"netsuite-o-auth2-revoke-refresh-token\",\n name: \"Revoke OAuth2 Refresh Token\",\n description: \"Revokes a NetSuite OAuth2 refresh token and all associated access tokens, immediately invalidating them. Use this when: - A user logs out and you want to invalidate their session tokens - Credentials are compromised and need immediate revocation - Decommissioning an integration or removing access - Cleaning up test tokens after development Note: This is a destructive operation - revoked tokens cannot be reused.\",\n input: NetsuiteOAuth2RevokeRefreshTokenInput,\n output: NetsuiteOAuth2RevokeRefreshTokenOutput,\n});\n"],"mappings":";;AAcA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdiE,EAAE,OAAO;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H;EACvJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM,CAAC,CAAC,SAAS;CACjP,CAAC,CAAC,CAAC,SAAS,8LAWH;CACP,QAXkE,EAAE,OAAO;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpO,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;EAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,CAAC,CAAC,CAAC,SAAS,6MAOF;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/o-auth2-token-authorization-code.ts
4
+ const NetsuiteOAuth2TokenAuthorizationCodeInput = zod.z.object({
5
+ code: zod.z.string().describe("Authorization code received from the OAuth2 authorization endpoint callback. This code is single-use and expires quickly (typically within 5-10 minutes)."),
6
+ client_id: zod.z.string().describe("Client ID from the NetSuite integration record. Required only when client credentials are not provided in metadata (public client flow).").optional(),
7
+ grant_type: zod.z.string().default("authorization_code").describe("OAuth2 grant type. Always 'authorization_code' for this flow.").optional(),
8
+ redirect_uri: zod.z.string().describe("Redirect URI that must exactly match the one used in the authorization request and registered in the NetSuite integration record. Mismatches will cause the request to fail."),
9
+ code_verifier: zod.z.string().describe("PKCE code verifier (43-128 character random string) used to generate the code_challenge in the initial authorization request. Required for security.")
10
+ }).describe("Request model for exchanging an OAuth2 authorization code for access and refresh tokens.\nUse this after the user completes authorization through the NetSuite OAuth2 flow.");
11
+ const NetsuiteOAuth2TokenAuthorizationCodeOutput = zod.z.object({
12
+ error: zod.z.string().describe("OAuth2 error code when request fails. Common values: 'invalid_grant' (invalid/expired code), 'invalid_client' (bad credentials), 'invalid_request' (malformed request), 'unauthorized_client' (client not authorized).").nullable().optional(),
13
+ id_token: zod.z.string().describe("JWT ID token containing user identity claims (OpenID Connect). Valid for 3 hours. Optional, returned only for OpenID Connect flows.").nullable().optional(),
14
+ expires_in: zod.z.number().int().describe("Access token lifetime in seconds. Always 3600 (60 minutes) for NetSuite.").nullable().optional(),
15
+ token_type: zod.z.string().describe("Token type for API requests. Always 'bearer' (case-insensitive).").nullable().optional(),
16
+ access_token: zod.z.string().describe("JWT access token for authenticating NetSuite API requests. Valid for 60 minutes. Use in Authorization header as 'Bearer {access_token}'.").nullable().optional(),
17
+ refresh_token: zod.z.string().describe("JWT refresh token for obtaining new access tokens when they expire. Valid for 7 days by default (configurable in integration record). Store securely.").nullable().optional()
18
+ }).describe("Response model for OAuth2 token exchange containing access tokens, refresh tokens, and error details.\nOn success, contains tokens for API authentication. On failure, contains error code.");
19
+ const netsuiteOAuth2TokenAuthorizationCode = require_action.action("NETSUITE_O_AUTH2_TOKEN_AUTHORIZATION_CODE", {
20
+ slug: "netsuite-o-auth2-token-authorization-code",
21
+ name: "Exchange OAuth2 Authorization Code for Tokens",
22
+ description: "Exchange an OAuth2 authorization code for access and refresh tokens using the NetSuite token endpoint. This is the second step in the OAuth2 authorization code flow with PKCE: 1. User authorizes via OAuth2AuthorizeAccountDomain or OAuth2AuthorizeSystemDomain 2. User is redirected to your redirect_uri with authorization code 3. Use THIS action to exchange the code for tokens 4. Use access_token to make API requests, refresh_token to get new access tokens Supports both confidential clients (client secret in metadata) and public clients (no secret). PKCE (code_verifier) is required for security.",
23
+ input: NetsuiteOAuth2TokenAuthorizationCodeInput,
24
+ output: NetsuiteOAuth2TokenAuthorizationCodeOutput
25
+ });
26
+ //#endregion
27
+ exports.netsuiteOAuth2TokenAuthorizationCode = netsuiteOAuth2TokenAuthorizationCode;
28
+
29
+ //# sourceMappingURL=o-auth2-token-authorization-code.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-token-authorization-code.cjs","names":["z","action"],"sources":["../../src/actions/o-auth2-token-authorization-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2TokenAuthorizationCodeInput: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Authorization code received from the OAuth2 authorization endpoint callback. This code is single-use and expires quickly (typically within 5-10 minutes).\"),\n client_id: z.string().describe(\"Client ID from the NetSuite integration record. Required only when client credentials are not provided in metadata (public client flow).\").optional(),\n grant_type: z.string().default(\"authorization_code\").describe(\"OAuth2 grant type. Always 'authorization_code' for this flow.\").optional(),\n redirect_uri: z.string().describe(\"Redirect URI that must exactly match the one used in the authorization request and registered in the NetSuite integration record. Mismatches will cause the request to fail.\"),\n code_verifier: z.string().describe(\"PKCE code verifier (43-128 character random string) used to generate the code_challenge in the initial authorization request. Required for security.\"),\n}).describe(\"Request model for exchanging an OAuth2 authorization code for access and refresh tokens.\\nUse this after the user completes authorization through the NetSuite OAuth2 flow.\");\nexport const NetsuiteOAuth2TokenAuthorizationCodeOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"OAuth2 error code when request fails. Common values: 'invalid_grant' (invalid/expired code), 'invalid_client' (bad credentials), 'invalid_request' (malformed request), 'unauthorized_client' (client not authorized).\").nullable().optional(),\n id_token: z.string().describe(\"JWT ID token containing user identity claims (OpenID Connect). Valid for 3 hours. Optional, returned only for OpenID Connect flows.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Access token lifetime in seconds. Always 3600 (60 minutes) for NetSuite.\").nullable().optional(),\n token_type: z.string().describe(\"Token type for API requests. Always 'bearer' (case-insensitive).\").nullable().optional(),\n access_token: z.string().describe(\"JWT access token for authenticating NetSuite API requests. Valid for 60 minutes. Use in Authorization header as 'Bearer {access_token}'.\").nullable().optional(),\n refresh_token: z.string().describe(\"JWT refresh token for obtaining new access tokens when they expire. Valid for 7 days by default (configurable in integration record). Store securely.\").nullable().optional(),\n}).describe(\"Response model for OAuth2 token exchange containing access tokens, refresh tokens, and error details.\\nOn success, contains tokens for API authentication. On failure, contains error code.\");\n\nexport const netsuiteOAuth2TokenAuthorizationCode = action(\"NETSUITE_O_AUTH2_TOKEN_AUTHORIZATION_CODE\", {\n slug: \"netsuite-o-auth2-token-authorization-code\",\n name: \"Exchange OAuth2 Authorization Code for Tokens\",\n description: \"Exchange an OAuth2 authorization code for access and refresh tokens using the NetSuite token endpoint. This is the second step in the OAuth2 authorization code flow with PKCE: 1. User authorizes via OAuth2AuthorizeAccountDomain or OAuth2AuthorizeSystemDomain 2. User is redirected to your redirect_uri with authorization code 3. Use THIS action to exchange the code for tokens 4. Use access_token to make API requests, refresh_token to get new access tokens Supports both confidential clients (client secret in metadata) and public clients (no secret). PKCE (code_verifier) is required for security.\",\n input: NetsuiteOAuth2TokenAuthorizationCodeInput,\n output: NetsuiteOAuth2TokenAuthorizationCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J;CACrL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;CACpL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,oBAAoB,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;CAChN,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;AAC3L,CAAC,CAAC,CAAC,SAAS,6KAA6K;AACzL,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wNAAwN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzQ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClM,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClN,CAAC,CAAC,CAAC,SAAS,6LAA6L;AAEzM,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/o-auth2-token-authorization-code.d.ts
4
+ declare const NetsuiteOAuth2TokenAuthorizationCodeInput: z.ZodTypeAny;
5
+ declare const NetsuiteOAuth2TokenAuthorizationCodeOutput: z.ZodTypeAny;
6
+ declare const netsuiteOAuth2TokenAuthorizationCode: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteOAuth2TokenAuthorizationCode };
9
+ //# sourceMappingURL=o-auth2-token-authorization-code.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-token-authorization-code.d.cts","names":[],"sources":["../../src/actions/o-auth2-token-authorization-code.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAMgI;AAAA,cAC7K,0CAAA,EAA4C,CAAA,CAAE,UAO+I;AAAA,cAE7L,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/o-auth2-token-authorization-code.d.ts
4
+ declare const NetsuiteOAuth2TokenAuthorizationCodeInput: z.ZodTypeAny;
5
+ declare const NetsuiteOAuth2TokenAuthorizationCodeOutput: z.ZodTypeAny;
6
+ declare const netsuiteOAuth2TokenAuthorizationCode: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteOAuth2TokenAuthorizationCode };
9
+ //# sourceMappingURL=o-auth2-token-authorization-code.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-token-authorization-code.d.mts","names":[],"sources":["../../src/actions/o-auth2-token-authorization-code.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAMgI;AAAA,cAC7K,0CAAA,EAA4C,CAAA,CAAE,UAO+I;AAAA,cAE7L,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,26 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const netsuiteOAuth2TokenAuthorizationCode = action("NETSUITE_O_AUTH2_TOKEN_AUTHORIZATION_CODE", {
4
+ slug: "netsuite-o-auth2-token-authorization-code",
5
+ name: "Exchange OAuth2 Authorization Code for Tokens",
6
+ description: "Exchange an OAuth2 authorization code for access and refresh tokens using the NetSuite token endpoint. This is the second step in the OAuth2 authorization code flow with PKCE: 1. User authorizes via OAuth2AuthorizeAccountDomain or OAuth2AuthorizeSystemDomain 2. User is redirected to your redirect_uri with authorization code 3. Use THIS action to exchange the code for tokens 4. Use access_token to make API requests, refresh_token to get new access tokens Supports both confidential clients (client secret in metadata) and public clients (no secret). PKCE (code_verifier) is required for security.",
7
+ input: z.object({
8
+ code: z.string().describe("Authorization code received from the OAuth2 authorization endpoint callback. This code is single-use and expires quickly (typically within 5-10 minutes)."),
9
+ client_id: z.string().describe("Client ID from the NetSuite integration record. Required only when client credentials are not provided in metadata (public client flow).").optional(),
10
+ grant_type: z.string().default("authorization_code").describe("OAuth2 grant type. Always 'authorization_code' for this flow.").optional(),
11
+ redirect_uri: z.string().describe("Redirect URI that must exactly match the one used in the authorization request and registered in the NetSuite integration record. Mismatches will cause the request to fail."),
12
+ code_verifier: z.string().describe("PKCE code verifier (43-128 character random string) used to generate the code_challenge in the initial authorization request. Required for security.")
13
+ }).describe("Request model for exchanging an OAuth2 authorization code for access and refresh tokens.\nUse this after the user completes authorization through the NetSuite OAuth2 flow."),
14
+ output: z.object({
15
+ error: z.string().describe("OAuth2 error code when request fails. Common values: 'invalid_grant' (invalid/expired code), 'invalid_client' (bad credentials), 'invalid_request' (malformed request), 'unauthorized_client' (client not authorized).").nullable().optional(),
16
+ id_token: z.string().describe("JWT ID token containing user identity claims (OpenID Connect). Valid for 3 hours. Optional, returned only for OpenID Connect flows.").nullable().optional(),
17
+ expires_in: z.number().int().describe("Access token lifetime in seconds. Always 3600 (60 minutes) for NetSuite.").nullable().optional(),
18
+ token_type: z.string().describe("Token type for API requests. Always 'bearer' (case-insensitive).").nullable().optional(),
19
+ access_token: z.string().describe("JWT access token for authenticating NetSuite API requests. Valid for 60 minutes. Use in Authorization header as 'Bearer {access_token}'.").nullable().optional(),
20
+ refresh_token: z.string().describe("JWT refresh token for obtaining new access tokens when they expire. Valid for 7 days by default (configurable in integration record). Store securely.").nullable().optional()
21
+ }).describe("Response model for OAuth2 token exchange containing access tokens, refresh tokens, and error details.\nOn success, contains tokens for API authentication. On failure, contains error code.")
22
+ });
23
+ //#endregion
24
+ export { netsuiteOAuth2TokenAuthorizationCode };
25
+
26
+ //# sourceMappingURL=o-auth2-token-authorization-code.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o-auth2-token-authorization-code.mjs","names":[],"sources":["../../src/actions/o-auth2-token-authorization-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2TokenAuthorizationCodeInput: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Authorization code received from the OAuth2 authorization endpoint callback. This code is single-use and expires quickly (typically within 5-10 minutes).\"),\n client_id: z.string().describe(\"Client ID from the NetSuite integration record. Required only when client credentials are not provided in metadata (public client flow).\").optional(),\n grant_type: z.string().default(\"authorization_code\").describe(\"OAuth2 grant type. Always 'authorization_code' for this flow.\").optional(),\n redirect_uri: z.string().describe(\"Redirect URI that must exactly match the one used in the authorization request and registered in the NetSuite integration record. Mismatches will cause the request to fail.\"),\n code_verifier: z.string().describe(\"PKCE code verifier (43-128 character random string) used to generate the code_challenge in the initial authorization request. Required for security.\"),\n}).describe(\"Request model for exchanging an OAuth2 authorization code for access and refresh tokens.\\nUse this after the user completes authorization through the NetSuite OAuth2 flow.\");\nexport const NetsuiteOAuth2TokenAuthorizationCodeOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"OAuth2 error code when request fails. Common values: 'invalid_grant' (invalid/expired code), 'invalid_client' (bad credentials), 'invalid_request' (malformed request), 'unauthorized_client' (client not authorized).\").nullable().optional(),\n id_token: z.string().describe(\"JWT ID token containing user identity claims (OpenID Connect). Valid for 3 hours. Optional, returned only for OpenID Connect flows.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Access token lifetime in seconds. Always 3600 (60 minutes) for NetSuite.\").nullable().optional(),\n token_type: z.string().describe(\"Token type for API requests. Always 'bearer' (case-insensitive).\").nullable().optional(),\n access_token: z.string().describe(\"JWT access token for authenticating NetSuite API requests. Valid for 60 minutes. Use in Authorization header as 'Bearer {access_token}'.\").nullable().optional(),\n refresh_token: z.string().describe(\"JWT refresh token for obtaining new access tokens when they expire. Valid for 7 days by default (configurable in integration record). Store securely.\").nullable().optional(),\n}).describe(\"Response model for OAuth2 token exchange containing access tokens, refresh tokens, and error details.\\nOn success, contains tokens for API authentication. On failure, contains error code.\");\n\nexport const netsuiteOAuth2TokenAuthorizationCode = action(\"NETSUITE_O_AUTH2_TOKEN_AUTHORIZATION_CODE\", {\n slug: \"netsuite-o-auth2-token-authorization-code\",\n name: \"Exchange OAuth2 Authorization Code for Tokens\",\n description: \"Exchange an OAuth2 authorization code for access and refresh tokens using the NetSuite token endpoint. This is the second step in the OAuth2 authorization code flow with PKCE: 1. User authorizes via OAuth2AuthorizeAccountDomain or OAuth2AuthorizeSystemDomain 2. User is redirected to your redirect_uri with authorization code 3. Use THIS action to exchange the code for tokens 4. Use access_token to make API requests, refresh_token to get new access tokens Supports both confidential clients (client secret in metadata) and public clients (no secret). PKCE (code_verifier) is required for security.\",\n input: NetsuiteOAuth2TokenAuthorizationCodeInput,\n output: NetsuiteOAuth2TokenAuthorizationCodeOutput,\n});\n"],"mappings":";;AAoBA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBqE,EAAE,OAAO;EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J;EACrL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;EACpL,YAAY,EAAE,OAAO,CAAC,CAAC,QAAQ,oBAAoB,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACxI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;EAChN,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;CAC3L,CAAC,CAAC,CAAC,SAAS,6KAcH;CACP,QAdsE,EAAE,OAAO;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wNAAwN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzQ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzL,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClM,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClN,CAAC,CAAC,CAAC,SAAS,6LAOF;AACV,CAAC"}