@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 @@
1
+ {"version":3,"file":"create-customer.mjs","names":[],"sources":["../../src/actions/create-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateCustomerInput: z.ZodTypeAny = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object with customer data. Required fields: 'subsidiary' (object with 'id'), and either 'companyName' (for company customers) or 'firstName'+'lastName' (for individual customers). Optional fields include: 'email', 'phone', 'isPerson' (set to 'T' for individuals), 'comments', etc.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated list of sublist names (e.g., 'contacts', 'addressbook') to fully replace rather than merge with existing data. Only applicable when updating existing records.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls how NetSuite handles invalid property names in the request body. 'Error' (default) rejects requests with invalid names, 'Warning' accepts but warns, 'Ignore Warning' silently ignores invalid names.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls how NetSuite handles invalid property values in the request body. 'Error' (default) rejects requests with invalid values, 'Warning' accepts but warns, 'Ignore Error' attempts to proceed despite invalid values.\").optional(),\n}).describe(\"Request model for creating a NetSuite Customer record.\");\nexport const NetsuiteCreateCustomerOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the created Customer record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating a Customer record.\");\n\nexport const netsuiteCreateCustomer = action(\"NETSUITE_CREATE_CUSTOMER\", {\n slug: \"netsuite-create-customer\",\n name: \"Create Customer\",\n description: \"Creates a new customer record in NetSuite. Requires subsidiary ID and either company name (for business customers) or first/last name (for individual customers). Returns the location URL of the created customer record, or an async job URL if using async mode.\",\n input: NetsuiteCreateCustomerInput,\n output: NetsuiteCreateCustomerOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+RAA+R;EAChV,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;EACxN,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,gNAAgN,CAAC,CAAC,SAAS;EACxT,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CACrU,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAVwD,EAAE,OAAO;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,34 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-employee.ts
4
+ const NetsuiteCreateEmployeeInput = zod.z.object({
5
+ body: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Employee record data. Required fields: firstName (string), lastName (string), and subsidiary (object with id). Optional fields include email, phone, title, department, supervisor, comments, etc. Example: {'firstName': 'John', 'lastName': 'Doe', 'subsidiary': {'id': '1'}}"),
6
+ Prefer: zod.z.string().describe("Use 'respond-async' to run the create operation asynchronously.").optional(),
7
+ replace: zod.z.string().describe("Comma-separated sublist names to fully replace with those provided.").optional(),
8
+ "X-NetSuite-Idempotency-Key": zod.z.string().describe("UUID to ensure idempotent async requests; ignored for synchronous calls.").optional(),
9
+ "X-NetSuite-PropertyNameValidation": zod.z.enum([
10
+ "Error",
11
+ "Warning",
12
+ "Ignore"
13
+ ]).describe("Controls strictness for property name validation.").optional(),
14
+ "X-NetSuite-PropertyValueValidation": zod.z.enum([
15
+ "Error",
16
+ "Warning",
17
+ "Ignore"
18
+ ]).describe("Controls strictness for property value validation.").optional()
19
+ }).describe("Request model for creating a NetSuite Employee record.");
20
+ const NetsuiteCreateEmployeeOutput = zod.z.object({
21
+ location: zod.z.string().describe("URL of the created Employee record or async job status.").nullable().optional(),
22
+ preference_applied: zod.z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
23
+ }).describe("Response model for creating an Employee record.");
24
+ const netsuiteCreateEmployee = require_action.action("NETSUITE_CREATE_EMPLOYEE", {
25
+ slug: "netsuite-create-employee",
26
+ name: "Create Employee",
27
+ description: "Creates a new employee record in NetSuite. Required: firstName, lastName, and subsidiary ID. Returns the URL of the created employee in the location field. Supports async creation with 'respond-async' preference.",
28
+ input: NetsuiteCreateEmployeeInput,
29
+ output: NetsuiteCreateEmployeeOutput
30
+ });
31
+ //#endregion
32
+ exports.netsuiteCreateEmployee = netsuiteCreateEmployee;
33
+
34
+ //# sourceMappingURL=create-employee.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-employee.cjs","names":["z","action"],"sources":["../../src/actions/create-employee.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateEmployeeInput: z.ZodTypeAny = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Employee record data. Required fields: firstName (string), lastName (string), and subsidiary (object with id). Optional fields include email, phone, title, department, supervisor, comments, etc. Example: {'firstName': 'John', 'lastName': 'Doe', 'subsidiary': {'id': '1'}}\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Employee record.\");\nexport const NetsuiteCreateEmployeeOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the created Employee record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating an Employee record.\");\n\nexport const netsuiteCreateEmployee = action(\"NETSUITE_CREATE_EMPLOYEE\", {\n slug: \"netsuite-create-employee\",\n name: \"Create Employee\",\n description: \"Creates a new employee record in NetSuite. Required: firstName, lastName, and subsidiary ID. Returns the URL of the created employee in the location field. Supports async creation with 'respond-async' preference.\",\n input: NetsuiteCreateEmployeeInput,\n output: NetsuiteCreateEmployeeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iRAAiR;CAClU,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnJ,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,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/create-employee.d.ts
4
+ declare const NetsuiteCreateEmployeeInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateEmployeeOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateEmployee: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateEmployee };
9
+ //# sourceMappingURL=create-employee.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-employee.d.cts","names":[],"sources":["../../src/actions/create-employee.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAOyB;AAAA,cACxD,4BAAA,EAA8B,CAAA,CAAE,UAGiB;AAAA,cAEjD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-employee.d.ts
4
+ declare const NetsuiteCreateEmployeeInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateEmployeeOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateEmployee: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateEmployee };
9
+ //# sourceMappingURL=create-employee.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-employee.d.mts","names":[],"sources":["../../src/actions/create-employee.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAOyB;AAAA,cACxD,4BAAA,EAA8B,CAAA,CAAE,UAGiB;AAAA,cAEjD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,31 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const netsuiteCreateEmployee = action("NETSUITE_CREATE_EMPLOYEE", {
4
+ slug: "netsuite-create-employee",
5
+ name: "Create Employee",
6
+ description: "Creates a new employee record in NetSuite. Required: firstName, lastName, and subsidiary ID. Returns the URL of the created employee in the location field. Supports async creation with 'respond-async' preference.",
7
+ input: z.object({
8
+ body: z.record(z.string(), z.unknown()).describe("Employee record data. Required fields: firstName (string), lastName (string), and subsidiary (object with id). Optional fields include email, phone, title, department, supervisor, comments, etc. Example: {'firstName': 'John', 'lastName': 'Doe', 'subsidiary': {'id': '1'}}"),
9
+ Prefer: z.string().describe("Use 'respond-async' to run the create operation asynchronously.").optional(),
10
+ replace: z.string().describe("Comma-separated sublist names to fully replace with those provided.").optional(),
11
+ "X-NetSuite-Idempotency-Key": z.string().describe("UUID to ensure idempotent async requests; ignored for synchronous calls.").optional(),
12
+ "X-NetSuite-PropertyNameValidation": z.enum([
13
+ "Error",
14
+ "Warning",
15
+ "Ignore"
16
+ ]).describe("Controls strictness for property name validation.").optional(),
17
+ "X-NetSuite-PropertyValueValidation": z.enum([
18
+ "Error",
19
+ "Warning",
20
+ "Ignore"
21
+ ]).describe("Controls strictness for property value validation.").optional()
22
+ }).describe("Request model for creating a NetSuite Employee record."),
23
+ output: z.object({
24
+ location: z.string().describe("URL of the created Employee record or async job status.").nullable().optional(),
25
+ preference_applied: z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
26
+ }).describe("Response model for creating an Employee record.")
27
+ });
28
+ //#endregion
29
+ export { netsuiteCreateEmployee };
30
+
31
+ //# sourceMappingURL=create-employee.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-employee.mjs","names":[],"sources":["../../src/actions/create-employee.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateEmployeeInput: z.ZodTypeAny = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Employee record data. Required fields: firstName (string), lastName (string), and subsidiary (object with id). Optional fields include email, phone, title, department, supervisor, comments, etc. Example: {'firstName': 'John', 'lastName': 'Doe', 'subsidiary': {'id': '1'}}\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Employee record.\");\nexport const NetsuiteCreateEmployeeOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the created Employee record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating an Employee record.\");\n\nexport const netsuiteCreateEmployee = action(\"NETSUITE_CREATE_EMPLOYEE\", {\n slug: \"netsuite-create-employee\",\n name: \"Create Employee\",\n description: \"Creates a new employee record in NetSuite. Required: firstName, lastName, and subsidiary ID. Returns the URL of the created employee in the location field. Supports async creation with 'respond-async' preference.\",\n input: NetsuiteCreateEmployeeInput,\n output: NetsuiteCreateEmployeeOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iRAAiR;EAClU,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACnJ,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAVwD,EAAE,OAAO;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
@@ -0,0 +1,34 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-invoice.ts
4
+ const NetsuiteCreateInvoiceInput = zod.z.object({
5
+ body: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON object matching NetSuite Invoice metadata; include all mandatory fields."),
6
+ Prefer: zod.z.string().describe("Use 'respond-async' to run the create operation asynchronously.").optional(),
7
+ replace: zod.z.string().describe("Comma-separated sublist names to fully replace with those provided.").optional(),
8
+ "X-NetSuite-Idempotency-Key": zod.z.string().describe("UUID to ensure idempotent async requests; ignored for synchronous calls.").optional(),
9
+ "X-NetSuite-PropertyNameValidation": zod.z.enum([
10
+ "Error",
11
+ "Warning",
12
+ "Ignore Warning"
13
+ ]).describe("Controls strictness for property name validation.").optional(),
14
+ "X-NetSuite-PropertyValueValidation": zod.z.enum([
15
+ "Error",
16
+ "Warning",
17
+ "Ignore Error"
18
+ ]).describe("Controls strictness for property value validation.").optional()
19
+ }).describe("Request model for creating a NetSuite Invoice record.");
20
+ const NetsuiteCreateInvoiceOutput = zod.z.object({
21
+ location: zod.z.string().describe("URL of the created Invoice record or async job status.").nullable().optional(),
22
+ "Preference-Applied": zod.z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
23
+ }).describe("Response model for creating an Invoice record.");
24
+ const netsuiteCreateInvoice = require_action.action("NETSUITE_CREATE_INVOICE", {
25
+ slug: "netsuite-create-invoice",
26
+ name: "Create Invoice",
27
+ description: "Tool to create a new invoice record. Use when you have all required invoice details and want to add them to NetSuite.",
28
+ input: NetsuiteCreateInvoiceInput,
29
+ output: NetsuiteCreateInvoiceOutput
30
+ });
31
+ //#endregion
32
+ exports.netsuiteCreateInvoice = netsuiteCreateInvoice;
33
+
34
+ //# sourceMappingURL=create-invoice.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-invoice.cjs","names":["z","action"],"sources":["../../src/actions/create-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateInvoiceInput: z.ZodTypeAny = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite Invoice metadata; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Invoice record.\");\nexport const NetsuiteCreateInvoiceOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the created Invoice record or async job status.\").nullable().optional(),\n \"Preference-Applied\": z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating an Invoice record.\");\n\nexport const netsuiteCreateInvoice = action(\"NETSUITE_CREATE_INVOICE\", {\n slug: \"netsuite-create-invoice\",\n name: \"Create Invoice\",\n description: \"Tool to create a new invoice record. Use when you have all required invoice details and want to add them to NetSuite.\",\n input: NetsuiteCreateInvoiceInput,\n output: NetsuiteCreateInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E;CAChI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3J,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,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/create-invoice.d.ts
4
+ declare const NetsuiteCreateInvoiceInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateInvoiceOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateInvoice };
9
+ //# sourceMappingURL=create-invoice.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-invoice.d.cts","names":[],"sources":["../../src/actions/create-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAOyB;AAAA,cACvD,2BAAA,EAA6B,CAAA,CAAE,UAGiB;AAAA,cAEhD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-invoice.d.ts
4
+ declare const NetsuiteCreateInvoiceInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateInvoiceOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateInvoice };
9
+ //# sourceMappingURL=create-invoice.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-invoice.d.mts","names":[],"sources":["../../src/actions/create-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAOyB;AAAA,cACvD,2BAAA,EAA6B,CAAA,CAAE,UAGiB;AAAA,cAEhD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,31 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const netsuiteCreateInvoice = action("NETSUITE_CREATE_INVOICE", {
4
+ slug: "netsuite-create-invoice",
5
+ name: "Create Invoice",
6
+ description: "Tool to create a new invoice record. Use when you have all required invoice details and want to add them to NetSuite.",
7
+ input: z.object({
8
+ body: z.record(z.string(), z.unknown()).describe("JSON object matching NetSuite Invoice metadata; include all mandatory fields."),
9
+ Prefer: z.string().describe("Use 'respond-async' to run the create operation asynchronously.").optional(),
10
+ replace: z.string().describe("Comma-separated sublist names to fully replace with those provided.").optional(),
11
+ "X-NetSuite-Idempotency-Key": z.string().describe("UUID to ensure idempotent async requests; ignored for synchronous calls.").optional(),
12
+ "X-NetSuite-PropertyNameValidation": z.enum([
13
+ "Error",
14
+ "Warning",
15
+ "Ignore Warning"
16
+ ]).describe("Controls strictness for property name validation.").optional(),
17
+ "X-NetSuite-PropertyValueValidation": z.enum([
18
+ "Error",
19
+ "Warning",
20
+ "Ignore Error"
21
+ ]).describe("Controls strictness for property value validation.").optional()
22
+ }).describe("Request model for creating a NetSuite Invoice record."),
23
+ output: z.object({
24
+ location: z.string().describe("URL of the created Invoice record or async job status.").nullable().optional(),
25
+ "Preference-Applied": z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
26
+ }).describe("Response model for creating an Invoice record.")
27
+ });
28
+ //#endregion
29
+ export { netsuiteCreateInvoice };
30
+
31
+ //# sourceMappingURL=create-invoice.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-invoice.mjs","names":[],"sources":["../../src/actions/create-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateInvoiceInput: z.ZodTypeAny = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite Invoice metadata; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Invoice record.\");\nexport const NetsuiteCreateInvoiceOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the created Invoice record or async job status.\").nullable().optional(),\n \"Preference-Applied\": z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating an Invoice record.\");\n\nexport const netsuiteCreateInvoice = action(\"NETSUITE_CREATE_INVOICE\", {\n slug: \"netsuite-create-invoice\",\n name: \"Create Invoice\",\n description: \"Tool to create a new invoice record. Use when you have all required invoice details and want to add them to NetSuite.\",\n input: NetsuiteCreateInvoiceInput,\n output: NetsuiteCreateInvoiceOutput,\n});\n"],"mappings":";;AAiBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E;EAChI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3J,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,SAAS,uDAUH;CACP,QAVuD,EAAE,OAAO;EAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,49 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-item.ts
4
+ const NetsuiteCreateItemInput = zod.z.object({
5
+ body: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Item data as JSON object. Required fields vary by record_type. Minimum required for all types: 'itemId' (unique identifier) and 'displayName' (item name). Additional common fields: 'description', 'isInactive', 'taxSchedule' (object with 'id' property, required for inventory/service items), 'incomeAccount', 'assetAccount', 'cogsAccount' (account references as objects with 'id' property). Note: Required fields depend on your NetSuite account configuration and the specific item type."),
6
+ Prefer: zod.z.string().describe("Use 'respond-async' to queue the create operation for asynchronous processing. Note: Using this option typically results in HTTP 202 Accepted with a Location header to poll job status.").optional(),
7
+ replace: zod.z.string().describe("Comma-separated names of sublists/sub-collections to replace entirely (not merge) with provided data. Common sublists: 'pricing' (price levels), 'itemVendor' (vendor associations), 'binNumber' (bin locations). If omitted, sublists are merged/appended. Use this to completely overwrite existing sublist data.").optional(),
8
+ record_type: zod.z.enum([
9
+ "inventoryItem",
10
+ "assemblyItem",
11
+ "serviceSaleItem",
12
+ "serviceResaleItem",
13
+ "servicePurchaseItem",
14
+ "nonInventorySaleItem",
15
+ "nonInventoryResaleItem",
16
+ "nonInventoryPurchaseItem",
17
+ "otherChargeSaleItem",
18
+ "otherChargePurchaseItem",
19
+ "descriptionItem",
20
+ "markupItem",
21
+ "downloadItem"
22
+ ]).describe("Type of item to create. Common types: 'inventoryItem' (tracked inventory with quantities), 'descriptionItem' (non-transactional descriptive text), 'serviceSaleItem' (services sold to customers), 'markupItem' (markup/discount items). Note: Different types have different required fields - inventoryItem and serviceSaleItem typically require taxSchedule, incomeAccount, assetAccount, cogsAccount; descriptionItem only requires itemId and displayName."),
23
+ "X-NetSuite-Idempotency-Key": zod.z.string().describe("UUID to ensure idempotent async requests; ignored for synchronous calls.").optional(),
24
+ "X-NetSuite-PropertyNameValidation": zod.z.enum([
25
+ "Error",
26
+ "Warning",
27
+ "Ignore Warning"
28
+ ]).describe("Controls how NetSuite handles unrecognized property names in the request body. 'Error' (default): Reject request if unrecognized properties exist. 'Warning': Accept request but return warnings. 'Ignore Warning': Accept request silently ignoring unrecognized properties.").optional(),
29
+ "X-NetSuite-PropertyValueValidation": zod.z.enum([
30
+ "Error",
31
+ "Warning",
32
+ "Ignore Error"
33
+ ]).describe("Controls how NetSuite handles invalid property values in the request body. 'Error' (default): Reject request if invalid values exist. 'Warning': Accept request but return warnings for invalid values. 'Ignore Error': Attempt to process request ignoring validation errors (not recommended).").optional()
34
+ }).describe("Request model for creating a NetSuite Item record.");
35
+ const NetsuiteCreateItemOutput = zod.z.object({
36
+ location: zod.z.string().describe("URL of the created Item record or async job status.").nullable().optional(),
37
+ preference_applied: zod.z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
38
+ }).describe("Response model for creating an Item record.");
39
+ const netsuiteCreateItem = require_action.action("NETSUITE_CREATE_ITEM", {
40
+ slug: "netsuite-create-item",
41
+ name: "Create Item",
42
+ description: "Creates a new item record in NetSuite via REST API. Supports multiple item types including inventory items, service items, and description items. Returns the URL of the created item. Use this when you need to add new products, services, or descriptive items to the NetSuite catalog.",
43
+ input: NetsuiteCreateItemInput,
44
+ output: NetsuiteCreateItemOutput
45
+ });
46
+ //#endregion
47
+ exports.netsuiteCreateItem = netsuiteCreateItem;
48
+
49
+ //# sourceMappingURL=create-item.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-item.cjs","names":["z","action"],"sources":["../../src/actions/create-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateItemInput: z.ZodTypeAny = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Item data as JSON object. Required fields vary by record_type. Minimum required for all types: 'itemId' (unique identifier) and 'displayName' (item name). Additional common fields: 'description', 'isInactive', 'taxSchedule' (object with 'id' property, required for inventory/service items), 'incomeAccount', 'assetAccount', 'cogsAccount' (account references as objects with 'id' property). Note: Required fields depend on your NetSuite account configuration and the specific item type.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to queue the create operation for asynchronous processing. Note: Using this option typically results in HTTP 202 Accepted with a Location header to poll job status.\").optional(),\n replace: z.string().describe(\"Comma-separated names of sublists/sub-collections to replace entirely (not merge) with provided data. Common sublists: 'pricing' (price levels), 'itemVendor' (vendor associations), 'binNumber' (bin locations). If omitted, sublists are merged/appended. Use this to completely overwrite existing sublist data.\").optional(),\n record_type: z.enum([\"inventoryItem\", \"assemblyItem\", \"serviceSaleItem\", \"serviceResaleItem\", \"servicePurchaseItem\", \"nonInventorySaleItem\", \"nonInventoryResaleItem\", \"nonInventoryPurchaseItem\", \"otherChargeSaleItem\", \"otherChargePurchaseItem\", \"descriptionItem\", \"markupItem\", \"downloadItem\"]).describe(\"Type of item to create. Common types: 'inventoryItem' (tracked inventory with quantities), 'descriptionItem' (non-transactional descriptive text), 'serviceSaleItem' (services sold to customers), 'markupItem' (markup/discount items). Note: Different types have different required fields - inventoryItem and serviceSaleItem typically require taxSchedule, incomeAccount, assetAccount, cogsAccount; descriptionItem only requires itemId and displayName.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls how NetSuite handles unrecognized property names in the request body. 'Error' (default): Reject request if unrecognized properties exist. 'Warning': Accept request but return warnings. 'Ignore Warning': Accept request silently ignoring unrecognized properties.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls how NetSuite handles invalid property values in the request body. 'Error' (default): Reject request if invalid values exist. 'Warning': Accept request but return warnings for invalid values. 'Ignore Error': Attempt to process request ignoring validation errors (not recommended).\").optional(),\n}).describe(\"Request model for creating a NetSuite Item record.\");\nexport const NetsuiteCreateItemOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the created Item record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating an Item record.\");\n\nexport const netsuiteCreateItem = action(\"NETSUITE_CREATE_ITEM\", {\n slug: \"netsuite-create-item\",\n name: \"Create Item\",\n description: \"Creates a new item record in NetSuite via REST API. Supports multiple item types including inventory items, service items, and description items. Returns the URL of the created item. Use this when you need to add new products, services, or descriptive items to the NetSuite catalog.\",\n input: NetsuiteCreateItemInput,\n output: NetsuiteCreateItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ueAAue;CACxhB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;CACjO,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qTAAqT,CAAC,CAAC,SAAS;CAC7V,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAgB;EAAmB;EAAqB;EAAuB;EAAwB;EAA0B;EAA4B;EAAuB;EAA2B;EAAmB;EAAc;CAAc,CAAC,CAAC,CAAC,SAAS,kcAAkc;CAClvB,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,+QAA+Q,CAAC,CAAC,SAAS;CACvX,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAc,CAAC,CAAC,CAAC,SAAS,kSAAkS,CAAC,CAAC,SAAS;AAC3Y,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,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/create-item.d.ts
4
+ declare const NetsuiteCreateItemInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateItemOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateItem };
9
+ //# sourceMappingURL=create-item.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-item.d.cts","names":[],"sources":["../../src/actions/create-item.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAQyB;AAAA,cACpD,wBAAA,EAA0B,CAAA,CAAE,UAGiB;AAAA,cAE7C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-item.d.ts
4
+ declare const NetsuiteCreateItemInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateItemOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateItem };
9
+ //# sourceMappingURL=create-item.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-item.d.mts","names":[],"sources":["../../src/actions/create-item.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAQyB;AAAA,cACpD,wBAAA,EAA0B,CAAA,CAAE,UAGiB;AAAA,cAE7C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,46 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const netsuiteCreateItem = action("NETSUITE_CREATE_ITEM", {
4
+ slug: "netsuite-create-item",
5
+ name: "Create Item",
6
+ description: "Creates a new item record in NetSuite via REST API. Supports multiple item types including inventory items, service items, and description items. Returns the URL of the created item. Use this when you need to add new products, services, or descriptive items to the NetSuite catalog.",
7
+ input: z.object({
8
+ body: z.record(z.string(), z.unknown()).describe("Item data as JSON object. Required fields vary by record_type. Minimum required for all types: 'itemId' (unique identifier) and 'displayName' (item name). Additional common fields: 'description', 'isInactive', 'taxSchedule' (object with 'id' property, required for inventory/service items), 'incomeAccount', 'assetAccount', 'cogsAccount' (account references as objects with 'id' property). Note: Required fields depend on your NetSuite account configuration and the specific item type."),
9
+ Prefer: z.string().describe("Use 'respond-async' to queue the create operation for asynchronous processing. Note: Using this option typically results in HTTP 202 Accepted with a Location header to poll job status.").optional(),
10
+ replace: z.string().describe("Comma-separated names of sublists/sub-collections to replace entirely (not merge) with provided data. Common sublists: 'pricing' (price levels), 'itemVendor' (vendor associations), 'binNumber' (bin locations). If omitted, sublists are merged/appended. Use this to completely overwrite existing sublist data.").optional(),
11
+ record_type: z.enum([
12
+ "inventoryItem",
13
+ "assemblyItem",
14
+ "serviceSaleItem",
15
+ "serviceResaleItem",
16
+ "servicePurchaseItem",
17
+ "nonInventorySaleItem",
18
+ "nonInventoryResaleItem",
19
+ "nonInventoryPurchaseItem",
20
+ "otherChargeSaleItem",
21
+ "otherChargePurchaseItem",
22
+ "descriptionItem",
23
+ "markupItem",
24
+ "downloadItem"
25
+ ]).describe("Type of item to create. Common types: 'inventoryItem' (tracked inventory with quantities), 'descriptionItem' (non-transactional descriptive text), 'serviceSaleItem' (services sold to customers), 'markupItem' (markup/discount items). Note: Different types have different required fields - inventoryItem and serviceSaleItem typically require taxSchedule, incomeAccount, assetAccount, cogsAccount; descriptionItem only requires itemId and displayName."),
26
+ "X-NetSuite-Idempotency-Key": z.string().describe("UUID to ensure idempotent async requests; ignored for synchronous calls.").optional(),
27
+ "X-NetSuite-PropertyNameValidation": z.enum([
28
+ "Error",
29
+ "Warning",
30
+ "Ignore Warning"
31
+ ]).describe("Controls how NetSuite handles unrecognized property names in the request body. 'Error' (default): Reject request if unrecognized properties exist. 'Warning': Accept request but return warnings. 'Ignore Warning': Accept request silently ignoring unrecognized properties.").optional(),
32
+ "X-NetSuite-PropertyValueValidation": z.enum([
33
+ "Error",
34
+ "Warning",
35
+ "Ignore Error"
36
+ ]).describe("Controls how NetSuite handles invalid property values in the request body. 'Error' (default): Reject request if invalid values exist. 'Warning': Accept request but return warnings for invalid values. 'Ignore Error': Attempt to process request ignoring validation errors (not recommended).").optional()
37
+ }).describe("Request model for creating a NetSuite Item record."),
38
+ output: z.object({
39
+ location: z.string().describe("URL of the created Item record or async job status.").nullable().optional(),
40
+ preference_applied: z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
41
+ }).describe("Response model for creating an Item record.")
42
+ });
43
+ //#endregion
44
+ export { netsuiteCreateItem };
45
+
46
+ //# sourceMappingURL=create-item.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-item.mjs","names":[],"sources":["../../src/actions/create-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateItemInput: z.ZodTypeAny = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Item data as JSON object. Required fields vary by record_type. Minimum required for all types: 'itemId' (unique identifier) and 'displayName' (item name). Additional common fields: 'description', 'isInactive', 'taxSchedule' (object with 'id' property, required for inventory/service items), 'incomeAccount', 'assetAccount', 'cogsAccount' (account references as objects with 'id' property). Note: Required fields depend on your NetSuite account configuration and the specific item type.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to queue the create operation for asynchronous processing. Note: Using this option typically results in HTTP 202 Accepted with a Location header to poll job status.\").optional(),\n replace: z.string().describe(\"Comma-separated names of sublists/sub-collections to replace entirely (not merge) with provided data. Common sublists: 'pricing' (price levels), 'itemVendor' (vendor associations), 'binNumber' (bin locations). If omitted, sublists are merged/appended. Use this to completely overwrite existing sublist data.\").optional(),\n record_type: z.enum([\"inventoryItem\", \"assemblyItem\", \"serviceSaleItem\", \"serviceResaleItem\", \"servicePurchaseItem\", \"nonInventorySaleItem\", \"nonInventoryResaleItem\", \"nonInventoryPurchaseItem\", \"otherChargeSaleItem\", \"otherChargePurchaseItem\", \"descriptionItem\", \"markupItem\", \"downloadItem\"]).describe(\"Type of item to create. Common types: 'inventoryItem' (tracked inventory with quantities), 'descriptionItem' (non-transactional descriptive text), 'serviceSaleItem' (services sold to customers), 'markupItem' (markup/discount items). Note: Different types have different required fields - inventoryItem and serviceSaleItem typically require taxSchedule, incomeAccount, assetAccount, cogsAccount; descriptionItem only requires itemId and displayName.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls how NetSuite handles unrecognized property names in the request body. 'Error' (default): Reject request if unrecognized properties exist. 'Warning': Accept request but return warnings. 'Ignore Warning': Accept request silently ignoring unrecognized properties.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls how NetSuite handles invalid property values in the request body. 'Error' (default): Reject request if invalid values exist. 'Warning': Accept request but return warnings for invalid values. 'Ignore Error': Attempt to process request ignoring validation errors (not recommended).\").optional(),\n}).describe(\"Request model for creating a NetSuite Item record.\");\nexport const NetsuiteCreateItemOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the created Item record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating an Item record.\");\n\nexport const netsuiteCreateItem = action(\"NETSUITE_CREATE_ITEM\", {\n slug: \"netsuite-create-item\",\n name: \"Create Item\",\n description: \"Creates a new item record in NetSuite via REST API. Supports multiple item types including inventory items, service items, and description items. Returns the URL of the created item. Use this when you need to add new products, services, or descriptive items to the NetSuite catalog.\",\n input: NetsuiteCreateItemInput,\n output: NetsuiteCreateItemOutput,\n});\n"],"mappings":";;AAkBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ueAAue;EACxhB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;EACjO,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qTAAqT,CAAC,CAAC,SAAS;EAC7V,aAAa,EAAE,KAAK;GAAC;GAAiB;GAAgB;GAAmB;GAAqB;GAAuB;GAAwB;GAA0B;GAA4B;GAAuB;GAA2B;GAAmB;GAAc;EAAc,CAAC,CAAC,CAAC,SAAS,kcAAkc;EAClvB,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,+QAA+Q,CAAC,CAAC,SAAS;EACvX,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,kSAAkS,CAAC,CAAC,SAAS;CAC3Y,CAAC,CAAC,CAAC,SAAS,oDAUH;CACP,QAVoD,EAAE,OAAO;EAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
@@ -0,0 +1,34 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-journal-entry.ts
4
+ const NetsuiteCreateJournalEntryInput = zod.z.object({
5
+ body: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON object matching NetSuite Journal Entry metadata; include all mandatory fields."),
6
+ Prefer: zod.z.string().describe("Use 'respond-async' to run the create operation asynchronously.").optional(),
7
+ replace: zod.z.string().describe("Comma-separated sublist names to fully replace with those provided.").optional(),
8
+ "X-NetSuite-Idempotency-Key": zod.z.string().describe("UUID to ensure idempotent async requests; ignored for synchronous calls.").optional(),
9
+ "X-NetSuite-PropertyNameValidation": zod.z.enum([
10
+ "Error",
11
+ "Warning",
12
+ "Ignore Warning"
13
+ ]).describe("Controls strictness for property name validation.").optional(),
14
+ "X-NetSuite-PropertyValueValidation": zod.z.enum([
15
+ "Error",
16
+ "Warning",
17
+ "Ignore Error"
18
+ ]).describe("Controls strictness for property value validation.").optional()
19
+ }).describe("Request model for creating a NetSuite Journal Entry record.");
20
+ const NetsuiteCreateJournalEntryOutput = zod.z.object({
21
+ location: zod.z.string().describe("URL of the created Journal Entry record or async job status.").nullable().optional(),
22
+ "Preference-Applied": zod.z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
23
+ }).describe("Response model for creating a Journal Entry record.");
24
+ const netsuiteCreateJournalEntry = require_action.action("NETSUITE_CREATE_JOURNAL_ENTRY", {
25
+ slug: "netsuite-create-journal-entry",
26
+ name: "Create Journal Entry",
27
+ description: "Tool to create a new journal entry record. Use when posting balanced debits and credits to the general ledger.",
28
+ input: NetsuiteCreateJournalEntryInput,
29
+ output: NetsuiteCreateJournalEntryOutput
30
+ });
31
+ //#endregion
32
+ exports.netsuiteCreateJournalEntry = netsuiteCreateJournalEntry;
33
+
34
+ //# sourceMappingURL=create-journal-entry.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-journal-entry.cjs","names":["z","action"],"sources":["../../src/actions/create-journal-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateJournalEntryInput: z.ZodTypeAny = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite Journal Entry metadata; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Journal Entry record.\");\nexport const NetsuiteCreateJournalEntryOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the created Journal Entry record or async job status.\").nullable().optional(),\n \"Preference-Applied\": z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating a Journal Entry record.\");\n\nexport const netsuiteCreateJournalEntry = action(\"NETSUITE_CREATE_JOURNAL_ENTRY\", {\n slug: \"netsuite-create-journal-entry\",\n name: \"Create Journal Entry\",\n description: \"Tool to create a new journal entry record. Use when posting balanced debits and credits to the general ledger.\",\n input: NetsuiteCreateJournalEntryInput,\n output: NetsuiteCreateJournalEntryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3J,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,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/create-journal-entry.d.ts
4
+ declare const NetsuiteCreateJournalEntryInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateJournalEntryOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateJournalEntry: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateJournalEntry };
9
+ //# sourceMappingURL=create-journal-entry.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-journal-entry.d.cts","names":[],"sources":["../../src/actions/create-journal-entry.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAO0B;AAAA,cAC7D,gCAAA,EAAkC,CAAA,CAAE,UAGiB;AAAA,cAErD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-journal-entry.d.ts
4
+ declare const NetsuiteCreateJournalEntryInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateJournalEntryOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateJournalEntry: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateJournalEntry };
9
+ //# sourceMappingURL=create-journal-entry.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-journal-entry.d.mts","names":[],"sources":["../../src/actions/create-journal-entry.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAO0B;AAAA,cAC7D,gCAAA,EAAkC,CAAA,CAAE,UAGiB;AAAA,cAErD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,31 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const netsuiteCreateJournalEntry = action("NETSUITE_CREATE_JOURNAL_ENTRY", {
4
+ slug: "netsuite-create-journal-entry",
5
+ name: "Create Journal Entry",
6
+ description: "Tool to create a new journal entry record. Use when posting balanced debits and credits to the general ledger.",
7
+ input: z.object({
8
+ body: z.record(z.string(), z.unknown()).describe("JSON object matching NetSuite Journal Entry metadata; include all mandatory fields."),
9
+ Prefer: z.string().describe("Use 'respond-async' to run the create operation asynchronously.").optional(),
10
+ replace: z.string().describe("Comma-separated sublist names to fully replace with those provided.").optional(),
11
+ "X-NetSuite-Idempotency-Key": z.string().describe("UUID to ensure idempotent async requests; ignored for synchronous calls.").optional(),
12
+ "X-NetSuite-PropertyNameValidation": z.enum([
13
+ "Error",
14
+ "Warning",
15
+ "Ignore Warning"
16
+ ]).describe("Controls strictness for property name validation.").optional(),
17
+ "X-NetSuite-PropertyValueValidation": z.enum([
18
+ "Error",
19
+ "Warning",
20
+ "Ignore Error"
21
+ ]).describe("Controls strictness for property value validation.").optional()
22
+ }).describe("Request model for creating a NetSuite Journal Entry record."),
23
+ output: z.object({
24
+ location: z.string().describe("URL of the created Journal Entry record or async job status.").nullable().optional(),
25
+ "Preference-Applied": z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
26
+ }).describe("Response model for creating a Journal Entry record.")
27
+ });
28
+ //#endregion
29
+ export { netsuiteCreateJournalEntry };
30
+
31
+ //# sourceMappingURL=create-journal-entry.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-journal-entry.mjs","names":[],"sources":["../../src/actions/create-journal-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateJournalEntryInput: z.ZodTypeAny = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite Journal Entry metadata; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Journal Entry record.\");\nexport const NetsuiteCreateJournalEntryOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the created Journal Entry record or async job status.\").nullable().optional(),\n \"Preference-Applied\": z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating a Journal Entry record.\");\n\nexport const netsuiteCreateJournalEntry = action(\"NETSUITE_CREATE_JOURNAL_ENTRY\", {\n slug: \"netsuite-create-journal-entry\",\n name: \"Create Journal Entry\",\n description: \"Tool to create a new journal entry record. Use when posting balanced debits and credits to the general ledger.\",\n input: NetsuiteCreateJournalEntryInput,\n output: NetsuiteCreateJournalEntryOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF;EACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3J,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,SAAS,6DAUH;CACP,QAV4D,EAAE,OAAO;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
@@ -0,0 +1,25 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-jwt-client-assertion.ts
4
+ const NetsuiteCreateJwtClientAssertionInput = zod.z.object({
5
+ alg: zod.z.string().describe("Signing algorithm to use. Defaults to PS256. Supported: PS256 (RSA-PSS), RS256 (RSA), HS256 (HMAC).").optional(),
6
+ aud: zod.z.string().describe("Audience for the JWT assertion. Defaults to the NetSuite OAuth2 token endpoint for your account.").optional(),
7
+ exp: zod.z.number().int().describe("Expiration time as Unix timestamp (seconds). Must be no more than 3600 seconds after iat. Defaults to iat + 300.").optional(),
8
+ iat: zod.z.number().int().describe("Issued-at time as Unix timestamp (seconds). Defaults to current time.").optional(),
9
+ scope: zod.z.string().describe("Comma-separated list of scopes for the JWT assertion. Allowed values: restlets, rest_webservices, suite_analytics."),
10
+ client_id: zod.z.string().describe("Integration client ID (Application ID) to use as JWT issuer (iss). If omitted, taken from metadata.").optional(),
11
+ certificate_id: zod.z.string().describe("Certificate ID to set as JWT header 'kid'. If omitted, taken from metadata consumer_id.").optional(),
12
+ private_key_pem: zod.z.string().describe("RSA private key in PEM format used to sign the JWT with PS256. If omitted, taken from metadata consumer_secret.").optional()
13
+ });
14
+ const NetsuiteCreateJwtClientAssertionOutput = zod.z.object({ client_assertion: zod.z.string().describe("Signed JWT client assertion in compact form.") });
15
+ const netsuiteCreateJwtClientAssertion = require_action.action("NETSUITE_CREATE_JWT_CLIENT_ASSERTION", {
16
+ slug: "netsuite-create-jwt-client-assertion",
17
+ name: "Create JWT Client Assertion",
18
+ description: "Tool to build a JWT client assertion for NetSuite OAuth2 client credentials. Use before exchanging for an access token.",
19
+ input: NetsuiteCreateJwtClientAssertionInput,
20
+ output: NetsuiteCreateJwtClientAssertionOutput
21
+ });
22
+ //#endregion
23
+ exports.netsuiteCreateJwtClientAssertion = netsuiteCreateJwtClientAssertion;
24
+
25
+ //# sourceMappingURL=create-jwt-client-assertion.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-jwt-client-assertion.cjs","names":["z","action"],"sources":["../../src/actions/create-jwt-client-assertion.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateJwtClientAssertionInput: z.ZodTypeAny = z.object({\n alg: z.string().describe(\"Signing algorithm to use. Defaults to PS256. Supported: PS256 (RSA-PSS), RS256 (RSA), HS256 (HMAC).\").optional(),\n aud: z.string().describe(\"Audience for the JWT assertion. Defaults to the NetSuite OAuth2 token endpoint for your account.\").optional(),\n exp: z.number().int().describe(\"Expiration time as Unix timestamp (seconds). Must be no more than 3600 seconds after iat. Defaults to iat + 300.\").optional(),\n iat: z.number().int().describe(\"Issued-at time as Unix timestamp (seconds). Defaults to current time.\").optional(),\n scope: z.string().describe(\"Comma-separated list of scopes for the JWT assertion. Allowed values: restlets, rest_webservices, suite_analytics.\"),\n client_id: z.string().describe(\"Integration client ID (Application ID) to use as JWT issuer (iss). If omitted, taken from metadata.\").optional(),\n certificate_id: z.string().describe(\"Certificate ID to set as JWT header 'kid'. If omitted, taken from metadata consumer_id.\").optional(),\n private_key_pem: z.string().describe(\"RSA private key in PEM format used to sign the JWT with PS256. If omitted, taken from metadata consumer_secret.\").optional(),\n});\nexport const NetsuiteCreateJwtClientAssertionOutput: z.ZodTypeAny = z.object({\n client_assertion: z.string().describe(\"Signed JWT client assertion in compact form.\"),\n});\n\nexport const netsuiteCreateJwtClientAssertion = action(\"NETSUITE_CREATE_JWT_CLIENT_ASSERTION\", {\n slug: \"netsuite-create-jwt-client-assertion\",\n name: \"Create JWT Client Assertion\",\n description: \"Tool to build a JWT client assertion for NetSuite OAuth2 client credentials. Use before exchanging for an access token.\",\n input: NetsuiteCreateJwtClientAssertionInput,\n output: NetsuiteCreateJwtClientAssertionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACzI,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACtI,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC5J,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CAC/I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC/I,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACxI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;AACnK,CAAC;AACD,MAAa,yCAAuDA,IAAAA,EAAE,OAAO,EAC3E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACtF,CAAC;AAED,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,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/create-jwt-client-assertion.d.ts
4
+ declare const NetsuiteCreateJwtClientAssertionInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateJwtClientAssertionOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateJwtClientAssertion: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateJwtClientAssertion };
9
+ //# sourceMappingURL=create-jwt-client-assertion.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-jwt-client-assertion.d.cts","names":[],"sources":["../../src/actions/create-jwt-client-assertion.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UASpD;AAAA,cACW,sCAAA,EAAwC,CAAA,CAAE,UAErD;AAAA,cAEW,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-jwt-client-assertion.d.ts
4
+ declare const NetsuiteCreateJwtClientAssertionInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateJwtClientAssertionOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateJwtClientAssertion: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateJwtClientAssertion };
9
+ //# sourceMappingURL=create-jwt-client-assertion.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-jwt-client-assertion.d.mts","names":[],"sources":["../../src/actions/create-jwt-client-assertion.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UASpD;AAAA,cACW,sCAAA,EAAwC,CAAA,CAAE,UAErD;AAAA,cAEW,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}