@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,22 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const netsuiteCreateJwtClientAssertion = action("NETSUITE_CREATE_JWT_CLIENT_ASSERTION", {
4
+ slug: "netsuite-create-jwt-client-assertion",
5
+ name: "Create JWT Client Assertion",
6
+ description: "Tool to build a JWT client assertion for NetSuite OAuth2 client credentials. Use before exchanging for an access token.",
7
+ input: z.object({
8
+ alg: z.string().describe("Signing algorithm to use. Defaults to PS256. Supported: PS256 (RSA-PSS), RS256 (RSA), HS256 (HMAC).").optional(),
9
+ aud: z.string().describe("Audience for the JWT assertion. Defaults to the NetSuite OAuth2 token endpoint for your account.").optional(),
10
+ 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(),
11
+ iat: z.number().int().describe("Issued-at time as Unix timestamp (seconds). Defaults to current time.").optional(),
12
+ scope: z.string().describe("Comma-separated list of scopes for the JWT assertion. Allowed values: restlets, rest_webservices, suite_analytics."),
13
+ client_id: z.string().describe("Integration client ID (Application ID) to use as JWT issuer (iss). If omitted, taken from metadata.").optional(),
14
+ certificate_id: z.string().describe("Certificate ID to set as JWT header 'kid'. If omitted, taken from metadata consumer_id.").optional(),
15
+ 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()
16
+ }),
17
+ output: z.object({ client_assertion: z.string().describe("Signed JWT client assertion in compact form.") })
18
+ });
19
+ //#endregion
20
+ export { netsuiteCreateJwtClientAssertion };
21
+
22
+ //# sourceMappingURL=create-jwt-client-assertion.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-jwt-client-assertion.mjs","names":[],"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":";;AAkBA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBiE,EAAE,OAAO;EAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACzI,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACtI,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC5J,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACjH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;EAC/I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC/I,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACxI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACnK,CASS;CACP,QATkE,EAAE,OAAO,EAC3E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACtF,CAOU;AACV,CAAC"}
@@ -0,0 +1,45 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-purchase-order.ts
4
+ const NetsuiteCreatePurchaseOrderInput = zod.z.object({
5
+ item: zod.z.object({ items: zod.z.array(zod.z.object({
6
+ item: zod.z.object({ id: zod.z.string().describe("Internal ID of the referenced record") }).describe("Reference to the item being ordered"),
7
+ rate: zod.z.number().describe("Rate or price per unit for the item").optional(),
8
+ taxCode: zod.z.object({ id: zod.z.string().describe("Internal ID of the referenced record") }).describe("Reference to another NetSuite record by internal ID.").optional(),
9
+ quantity: zod.z.number().describe("Quantity to order (must be non-negative)"),
10
+ description: zod.z.string().describe("Line description").optional()
11
+ }).describe("A single line item on the purchase order.")).describe("List of line items to include on the purchase order") }).describe("Container for purchase order line items"),
12
+ memo: zod.z.string().describe("Header memo for the purchase order").optional(),
13
+ Prefer: zod.z.string().describe("Use 'respond-async' to run the create operation asynchronously").optional(),
14
+ entity: zod.z.object({ id: zod.z.string().describe("Internal ID of the referenced record") }).describe("Vendor record reference"),
15
+ replace: zod.z.string().describe("Comma-separated sublist names to fully replace with those provided").optional(),
16
+ location: zod.z.object({ id: zod.z.string().describe("Internal ID of the referenced record") }).describe("Reference to another NetSuite record by internal ID.").optional(),
17
+ tranDate: zod.z.string().describe("Transaction date in YYYY-MM-DD format").optional(),
18
+ customForm: zod.z.object({ id: zod.z.string().describe("Internal ID of the referenced record") }).describe("Reference to another NetSuite record by internal ID.").optional(),
19
+ "X-NetSuite-Idempotency-Key": zod.z.string().describe("UUID to ensure idempotent async requests").optional(),
20
+ "X-NetSuite-PropertyNameValidation": zod.z.enum([
21
+ "Error",
22
+ "Warning",
23
+ "Ignore Warning"
24
+ ]).describe("Controls strictness for property name validation").optional(),
25
+ "X-NetSuite-PropertyValueValidation": zod.z.enum([
26
+ "Error",
27
+ "Warning",
28
+ "Ignore Error"
29
+ ]).describe("Controls strictness for property value validation").optional()
30
+ }).describe("Request model for creating a NetSuite Purchase Order record.");
31
+ const NetsuiteCreatePurchaseOrderOutput = zod.z.object({
32
+ location: zod.z.string().describe("URL of the created Purchase Order record or async job status").nullable().optional(),
33
+ preference_applied: zod.z.string().describe("Echoes 'respond-async' when async creation is requested").nullable().optional()
34
+ }).describe("Response model for creating a Purchase Order record.");
35
+ const netsuiteCreatePurchaseOrder = require_action.action("NETSUITE_CREATE_PURCHASE_ORDER", {
36
+ slug: "netsuite-create-purchase-order",
37
+ name: "Create Purchase Order",
38
+ description: "Tool to create a new purchase order record. Use when you need to submit a purchase order to a vendor.",
39
+ input: NetsuiteCreatePurchaseOrderInput,
40
+ output: NetsuiteCreatePurchaseOrderOutput
41
+ });
42
+ //#endregion
43
+ exports.netsuiteCreatePurchaseOrder = netsuiteCreatePurchaseOrder;
44
+
45
+ //# sourceMappingURL=create-purchase-order.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-purchase-order.cjs","names":["z","action"],"sources":["../../src/actions/create-purchase-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreatePurchaseOrderInput: z.ZodTypeAny = z.object({\n item: z.object({\n items: z.array(z.object({\n item: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to the item being ordered\"),\n rate: z.number().describe(\"Rate or price per unit for the item\").optional(),\n taxCode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n quantity: z.number().describe(\"Quantity to order (must be non-negative)\"),\n description: z.string().describe(\"Line description\").optional(),\n}).describe(\"A single line item on the purchase order.\")).describe(\"List of line items to include on the purchase order\"),\n}).describe(\"Container for purchase order line items\"),\n memo: z.string().describe(\"Header memo for the purchase order\").optional(),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously\").optional(),\n entity: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Vendor record reference\"),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided\").optional(),\n location: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n tranDate: z.string().describe(\"Transaction date in YYYY-MM-DD format\").optional(),\n customForm: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests\").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 Purchase Order record.\");\nexport const NetsuiteCreatePurchaseOrderOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the created Purchase Order 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 Purchase Order record.\");\n\nexport const netsuiteCreatePurchaseOrder = action(\"NETSUITE_CREATE_PURCHASE_ORDER\", {\n slug: \"netsuite-create-purchase-order\",\n name: \"Create Purchase Order\",\n description: \"Tool to create a new purchase order record. Use when you need to submit a purchase order to a vendor.\",\n input: NetsuiteCreatePurchaseOrderInput,\n output: NetsuiteCreatePurchaseOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,EACf,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,EACf,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,qCAAqC;EAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,SAASA,IAAAA,EAAE,OAAO,EAClB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAChE,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,qDAAqD,EACxH,CAAC,CAAC,CAAC,SAAS,yCAAyC;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,EACjB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,yBAAyB;CACnC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5G,UAAUA,IAAAA,EAAE,OAAO,EACnB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,EACrB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3E,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvG,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1J,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAc,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,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-purchase-order.d.ts
4
+ declare const NetsuiteCreatePurchaseOrderInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreatePurchaseOrderOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreatePurchaseOrder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreatePurchaseOrder };
9
+ //# sourceMappingURL=create-purchase-order.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-purchase-order.d.cts","names":[],"sources":["../../src/actions/create-purchase-order.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UA8B0B;AAAA,cAC9D,iCAAA,EAAmC,CAAA,CAAE,UAGiB;AAAA,cAEtD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-purchase-order.d.ts
4
+ declare const NetsuiteCreatePurchaseOrderInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreatePurchaseOrderOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreatePurchaseOrder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreatePurchaseOrder };
9
+ //# sourceMappingURL=create-purchase-order.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-purchase-order.d.mts","names":[],"sources":["../../src/actions/create-purchase-order.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UA8B0B;AAAA,cAC9D,iCAAA,EAAmC,CAAA,CAAE,UAGiB;AAAA,cAEtD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,42 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const netsuiteCreatePurchaseOrder = action("NETSUITE_CREATE_PURCHASE_ORDER", {
4
+ slug: "netsuite-create-purchase-order",
5
+ name: "Create Purchase Order",
6
+ description: "Tool to create a new purchase order record. Use when you need to submit a purchase order to a vendor.",
7
+ input: z.object({
8
+ item: z.object({ items: z.array(z.object({
9
+ item: z.object({ id: z.string().describe("Internal ID of the referenced record") }).describe("Reference to the item being ordered"),
10
+ rate: z.number().describe("Rate or price per unit for the item").optional(),
11
+ taxCode: z.object({ id: z.string().describe("Internal ID of the referenced record") }).describe("Reference to another NetSuite record by internal ID.").optional(),
12
+ quantity: z.number().describe("Quantity to order (must be non-negative)"),
13
+ description: z.string().describe("Line description").optional()
14
+ }).describe("A single line item on the purchase order.")).describe("List of line items to include on the purchase order") }).describe("Container for purchase order line items"),
15
+ memo: z.string().describe("Header memo for the purchase order").optional(),
16
+ Prefer: z.string().describe("Use 'respond-async' to run the create operation asynchronously").optional(),
17
+ entity: z.object({ id: z.string().describe("Internal ID of the referenced record") }).describe("Vendor record reference"),
18
+ replace: z.string().describe("Comma-separated sublist names to fully replace with those provided").optional(),
19
+ location: z.object({ id: z.string().describe("Internal ID of the referenced record") }).describe("Reference to another NetSuite record by internal ID.").optional(),
20
+ tranDate: z.string().describe("Transaction date in YYYY-MM-DD format").optional(),
21
+ customForm: z.object({ id: z.string().describe("Internal ID of the referenced record") }).describe("Reference to another NetSuite record by internal ID.").optional(),
22
+ "X-NetSuite-Idempotency-Key": z.string().describe("UUID to ensure idempotent async requests").optional(),
23
+ "X-NetSuite-PropertyNameValidation": z.enum([
24
+ "Error",
25
+ "Warning",
26
+ "Ignore Warning"
27
+ ]).describe("Controls strictness for property name validation").optional(),
28
+ "X-NetSuite-PropertyValueValidation": z.enum([
29
+ "Error",
30
+ "Warning",
31
+ "Ignore Error"
32
+ ]).describe("Controls strictness for property value validation").optional()
33
+ }).describe("Request model for creating a NetSuite Purchase Order record."),
34
+ output: z.object({
35
+ location: z.string().describe("URL of the created Purchase Order record or async job status").nullable().optional(),
36
+ preference_applied: z.string().describe("Echoes 'respond-async' when async creation is requested").nullable().optional()
37
+ }).describe("Response model for creating a Purchase Order record.")
38
+ });
39
+ //#endregion
40
+ export { netsuiteCreatePurchaseOrder };
41
+
42
+ //# sourceMappingURL=create-purchase-order.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-purchase-order.mjs","names":[],"sources":["../../src/actions/create-purchase-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreatePurchaseOrderInput: z.ZodTypeAny = z.object({\n item: z.object({\n items: z.array(z.object({\n item: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to the item being ordered\"),\n rate: z.number().describe(\"Rate or price per unit for the item\").optional(),\n taxCode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n quantity: z.number().describe(\"Quantity to order (must be non-negative)\"),\n description: z.string().describe(\"Line description\").optional(),\n}).describe(\"A single line item on the purchase order.\")).describe(\"List of line items to include on the purchase order\"),\n}).describe(\"Container for purchase order line items\"),\n memo: z.string().describe(\"Header memo for the purchase order\").optional(),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously\").optional(),\n entity: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Vendor record reference\"),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided\").optional(),\n location: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n tranDate: z.string().describe(\"Transaction date in YYYY-MM-DD format\").optional(),\n customForm: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests\").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 Purchase Order record.\");\nexport const NetsuiteCreatePurchaseOrderOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the created Purchase Order 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 Purchase Order record.\");\n\nexport const netsuiteCreatePurchaseOrder = action(\"NETSUITE_CREATE_PURCHASE_ORDER\", {\n slug: \"netsuite-create-purchase-order\",\n name: \"Create Purchase Order\",\n description: \"Tool to create a new purchase order record. Use when you need to submit a purchase order to a vendor.\",\n input: NetsuiteCreatePurchaseOrderInput,\n output: NetsuiteCreatePurchaseOrderOutput,\n});\n"],"mappings":";;AAwCA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxC4D,EAAE,OAAO;EACrE,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,MAAM,EAAE,OAAO,EACf,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,qCAAqC;GAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GAC1E,SAAS,EAAE,OAAO,EAClB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;GACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAChE,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,qDAAqD,EACxH,CAAC,CAAC,CAAC,SAAS,yCAAyC;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACvG,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,yBAAyB;EACnC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC5G,UAAU,EAAE,OAAO,EACnB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,EACrB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3E,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACvG,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC1J,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,SAAS,8DAUH;CACP,QAV6D,EAAE,OAAO;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
@@ -0,0 +1,36 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-record.ts
4
+ const NetsuiteCreateRecordInput = zod.z.object({
5
+ body: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Record data as a JSON object. Must include all required fields for the record type. Use GET_RECORD_METADATA to discover required fields and schema. Common fields: companyname/firstname+lastname (for entities), subsidiary reference (often required)."),
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
+ record_type: zod.z.string().describe("Record type identifier (e.g., 'customer', 'vendor', 'salesorder', 'invoice', 'employee', 'item'). For custom records, use 'customrecord_<scriptId>' format."),
9
+ "X-NetSuite-Idempotency-Key": zod.z.string().describe("UUID to ensure idempotent async requests; ignored for synchronous calls.").optional(),
10
+ "X-NetSuite-PropertyNameValidation": zod.z.enum([
11
+ "ignore",
12
+ "warning",
13
+ "error"
14
+ ]).describe("Controls validation level for unrecognized property names: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid names.").optional(),
15
+ "X-NetSuite-PropertyValueValidation": zod.z.enum([
16
+ "ignore",
17
+ "warning",
18
+ "error"
19
+ ]).describe("Controls validation level for invalid property values: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid values.").optional()
20
+ }).describe("Request model for creating a new NetSuite record of any type.");
21
+ const NetsuiteCreateRecordOutput = zod.z.object({
22
+ location: zod.z.string().describe("Full URL of the created record or async job status endpoint.").nullable().optional(),
23
+ record_id: zod.z.string().describe("Internal ID of the newly created record, extracted from location URL. Use this ID to reference the record in subsequent operations.").nullable().optional(),
24
+ preference_applied: zod.z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
25
+ }).describe("Response model for creating a record.");
26
+ const netsuiteCreateRecord = require_action.action("NETSUITE_CREATE_RECORD", {
27
+ slug: "netsuite-create-record",
28
+ name: "Create Record",
29
+ description: "Creates a new NetSuite record of any type (customer, vendor, invoice, sales order, etc.). Use this action when you need to create any type of record in NetSuite. Provide the record type identifier and a JSON body with all required fields. Consider using GET_RECORD_METADATA first to discover required fields and valid values. Supports both synchronous (immediate) and asynchronous (background) creation. Returns the new record's ID and location URL. Limitations: Does not support subrecord creation or bulk operations (use dedicated bulk actions instead).",
30
+ input: NetsuiteCreateRecordInput,
31
+ output: NetsuiteCreateRecordOutput
32
+ });
33
+ //#endregion
34
+ exports.netsuiteCreateRecord = netsuiteCreateRecord;
35
+
36
+ //# sourceMappingURL=create-record.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-record.cjs","names":["z","action"],"sources":["../../src/actions/create-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateRecordInput: z.ZodTypeAny = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Record data as a JSON object. Must include all required fields for the record type. Use GET_RECORD_METADATA to discover required fields and schema. Common fields: companyname/firstname+lastname (for entities), subsidiary reference (often required).\"),\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 record_type: z.string().describe(\"Record type identifier (e.g., 'customer', 'vendor', 'salesorder', 'invoice', 'employee', 'item'). For custom records, use 'customrecord_<scriptId>' format.\"),\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([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for unrecognized property names: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid names.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for invalid property values: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid values.\").optional(),\n}).describe(\"Request model for creating a new NetSuite record of any type.\");\nexport const NetsuiteCreateRecordOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"Full URL of the created record or async job status endpoint.\").nullable().optional(),\n record_id: z.string().describe(\"Internal ID of the newly created record, extracted from location URL. Use this ID to reference the record in subsequent operations.\").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 record.\");\n\nexport const netsuiteCreateRecord = action(\"NETSUITE_CREATE_RECORD\", {\n slug: \"netsuite-create-record\",\n name: \"Create Record\",\n description: \"Creates a new NetSuite record of any type (customer, vendor, invoice, sales order, etc.). Use this action when you need to create any type of record in NetSuite. Provide the record type identifier and a JSON body with all required fields. Consider using GET_RECORD_METADATA first to discover required fields and valid values. Supports both synchronous (immediate) and asynchronous (background) creation. Returns the new record's ID and location URL. Limitations: Does not support subrecord creation or bulk operations (use dedicated bulk actions instead).\",\n input: NetsuiteCreateRecordInput,\n output: NetsuiteCreateRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P;CAC3S,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;CAC9L,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;CACvR,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS;AACvR,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,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-record.d.ts
4
+ declare const NetsuiteCreateRecordInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateRecordOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateRecord };
9
+ //# sourceMappingURL=create-record.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-record.d.cts","names":[],"sources":["../../src/actions/create-record.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAQkC;AAAA,cAC/D,0BAAA,EAA4B,CAAA,CAAE,UAIS;AAAA,cAEvC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-record.d.ts
4
+ declare const NetsuiteCreateRecordInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateRecordOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateRecord };
9
+ //# sourceMappingURL=create-record.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-record.d.mts","names":[],"sources":["../../src/actions/create-record.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAQkC;AAAA,cAC/D,0BAAA,EAA4B,CAAA,CAAE,UAIS;AAAA,cAEvC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,33 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const netsuiteCreateRecord = action("NETSUITE_CREATE_RECORD", {
4
+ slug: "netsuite-create-record",
5
+ name: "Create Record",
6
+ description: "Creates a new NetSuite record of any type (customer, vendor, invoice, sales order, etc.). Use this action when you need to create any type of record in NetSuite. Provide the record type identifier and a JSON body with all required fields. Consider using GET_RECORD_METADATA first to discover required fields and valid values. Supports both synchronous (immediate) and asynchronous (background) creation. Returns the new record's ID and location URL. Limitations: Does not support subrecord creation or bulk operations (use dedicated bulk actions instead).",
7
+ input: z.object({
8
+ body: z.record(z.string(), z.unknown()).describe("Record data as a JSON object. Must include all required fields for the record type. Use GET_RECORD_METADATA to discover required fields and schema. Common fields: companyname/firstname+lastname (for entities), subsidiary reference (often required)."),
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
+ record_type: z.string().describe("Record type identifier (e.g., 'customer', 'vendor', 'salesorder', 'invoice', 'employee', 'item'). For custom records, use 'customrecord_<scriptId>' format."),
12
+ "X-NetSuite-Idempotency-Key": z.string().describe("UUID to ensure idempotent async requests; ignored for synchronous calls.").optional(),
13
+ "X-NetSuite-PropertyNameValidation": z.enum([
14
+ "ignore",
15
+ "warning",
16
+ "error"
17
+ ]).describe("Controls validation level for unrecognized property names: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid names.").optional(),
18
+ "X-NetSuite-PropertyValueValidation": z.enum([
19
+ "ignore",
20
+ "warning",
21
+ "error"
22
+ ]).describe("Controls validation level for invalid property values: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid values.").optional()
23
+ }).describe("Request model for creating a new NetSuite record of any type."),
24
+ output: z.object({
25
+ location: z.string().describe("Full URL of the created record or async job status endpoint.").nullable().optional(),
26
+ record_id: z.string().describe("Internal ID of the newly created record, extracted from location URL. Use this ID to reference the record in subsequent operations.").nullable().optional(),
27
+ preference_applied: z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
28
+ }).describe("Response model for creating a record.")
29
+ });
30
+ //#endregion
31
+ export { netsuiteCreateRecord };
32
+
33
+ //# sourceMappingURL=create-record.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-record.mjs","names":[],"sources":["../../src/actions/create-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateRecordInput: z.ZodTypeAny = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Record data as a JSON object. Must include all required fields for the record type. Use GET_RECORD_METADATA to discover required fields and schema. Common fields: companyname/firstname+lastname (for entities), subsidiary reference (often required).\"),\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 record_type: z.string().describe(\"Record type identifier (e.g., 'customer', 'vendor', 'salesorder', 'invoice', 'employee', 'item'). For custom records, use 'customrecord_<scriptId>' format.\"),\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([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for unrecognized property names: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid names.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for invalid property values: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid values.\").optional(),\n}).describe(\"Request model for creating a new NetSuite record of any type.\");\nexport const NetsuiteCreateRecordOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"Full URL of the created record or async job status endpoint.\").nullable().optional(),\n record_id: z.string().describe(\"Internal ID of the newly created record, extracted from location URL. Use this ID to reference the record in subsequent operations.\").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 record.\");\n\nexport const netsuiteCreateRecord = action(\"NETSUITE_CREATE_RECORD\", {\n slug: \"netsuite-create-record\",\n name: \"Create Record\",\n description: \"Creates a new NetSuite record of any type (customer, vendor, invoice, sales order, etc.). Use this action when you need to create any type of record in NetSuite. Provide the record type identifier and a JSON body with all required fields. Consider using GET_RECORD_METADATA first to discover required fields and valid values. Supports both synchronous (immediate) and asynchronous (background) creation. Returns the new record's ID and location URL. Limitations: Does not support subrecord creation or bulk operations (use dedicated bulk actions instead).\",\n input: NetsuiteCreateRecordInput,\n output: NetsuiteCreateRecordOutput,\n});\n"],"mappings":";;AAmBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P;EAC3S,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;EAC9L,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAU;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;EACvR,sCAAsC,EAAE,KAAK;GAAC;GAAU;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS;CACvR,CAAC,CAAC,CAAC,SAAS,+DAWH;CACP,QAXsD,EAAE,OAAO;EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1L,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
@@ -0,0 +1,49 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-sales-order.ts
4
+ const NetsuiteCreateSalesOrderInput = zod.z.object({
5
+ item: zod.z.object({ items: zod.z.array(zod.z.object({
6
+ item: zod.z.object({ id: zod.z.string().describe("Internal ID of the referenced record") }).describe("Reference to the item being ordered (internal ID required)"),
7
+ rate: zod.z.number().describe("Unit price per item. Required unless item has default pricing. Must be non-negative.").optional(),
8
+ amount: zod.z.number().describe("Total line amount. Alternative to specifying rate. Calculated as quantity * rate if not provided. Must be non-negative.").optional(),
9
+ taxcode: zod.z.object({ id: zod.z.string().describe("Internal ID of the referenced record") }).describe("Reference to another NetSuite record by internal ID.").optional(),
10
+ quantity: zod.z.number().describe("Quantity to order (must be non-negative)"),
11
+ taxRate1: zod.z.number().describe("Tax rate as a decimal (e.g., 0.16 for 16%). Optional if taxcode is provided.").optional(),
12
+ description: zod.z.string().describe("Line item description or additional notes").optional()
13
+ }).describe("A single line item on the sales order.")).describe("List of line items to include on the sales order") }).describe("Container for sales order line items. Must include at least one item with quantity and pricing."),
14
+ memo: zod.z.string().describe("Header memo for the sales order").optional(),
15
+ Prefer: zod.z.string().describe("Use 'respond-async' to run the create operation asynchronously").optional(),
16
+ entity: zod.z.object({ id: zod.z.string().describe("Internal ID of the referenced record") }).describe("Customer record reference (internal ID required)"),
17
+ replace: zod.z.string().describe("Comma-separated sublist names to fully replace with those provided").optional(),
18
+ tranDate: zod.z.string().describe("Transaction date in YYYY-MM-DD format").optional(),
19
+ promocode: zod.z.object({ id: zod.z.string().describe("Internal ID of the referenced record") }).describe("Reference to another NetSuite record by internal ID.").optional(),
20
+ customForm: zod.z.string().describe("Internal ID of the custom sales order form (determines billing behavior)").optional(),
21
+ orderStatus: zod.z.enum(["A", "B"]).describe("Approval status: 'A' = Pending Approval, 'B' = Pending Fulfillment").optional(),
22
+ otherrefnum: zod.z.string().describe("External reference or PO number").optional(),
23
+ "X-NetSuite-Idempotency-Key": zod.z.string().describe("UUID to ensure idempotent async requests").optional(),
24
+ "X-NetSuite-PropertyNameValidation": zod.z.enum([
25
+ "Error",
26
+ "Warning",
27
+ "Ignore"
28
+ ]).describe("Controls strictness for property name validation").optional(),
29
+ "X-NetSuite-PropertyValueValidation": zod.z.enum([
30
+ "Error",
31
+ "Warning",
32
+ "Ignore"
33
+ ]).describe("Controls strictness for property value validation").optional()
34
+ }).describe("Request model for creating a NetSuite Sales Order record.\n\nRequired fields:\n- entity: Customer (internal ID)\n- item: Container with list of line items\n\nEach line item must include item ID, quantity, and pricing (rate or amount).\nIf SuiteTax is enabled on the account, each line item must also include a taxcode.");
35
+ const NetsuiteCreateSalesOrderOutput = zod.z.object({
36
+ location: zod.z.string().describe("URL of the created Sales Order 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 a Sales Order record.");
39
+ const netsuiteCreateSalesOrder = require_action.action("NETSUITE_CREATE_SALES_ORDER", {
40
+ slug: "netsuite-create-sales-order",
41
+ name: "Create Sales Order",
42
+ description: "Tool to create a new sales order record in NetSuite. Use this when you need to submit a customer order with one or more items. Each line item requires: - item: Reference to the inventory/service item (internal ID) - quantity: Number of units to order - rate: Unit price (optional if item has default pricing) - taxcode: Tax code reference (required if SuiteTax is enabled on the account) Note: NetSuite accounts with SuiteTax enabled require tax codes for line items.",
43
+ input: NetsuiteCreateSalesOrderInput,
44
+ output: NetsuiteCreateSalesOrderOutput
45
+ });
46
+ //#endregion
47
+ exports.netsuiteCreateSalesOrder = netsuiteCreateSalesOrder;
48
+
49
+ //# sourceMappingURL=create-sales-order.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-sales-order.cjs","names":["z","action"],"sources":["../../src/actions/create-sales-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateSalesOrderInput: z.ZodTypeAny = z.object({\n item: z.object({\n items: z.array(z.object({\n item: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to the item being ordered (internal ID required)\"),\n rate: z.number().describe(\"Unit price per item. Required unless item has default pricing. Must be non-negative.\").optional(),\n amount: z.number().describe(\"Total line amount. Alternative to specifying rate. Calculated as quantity * rate if not provided. Must be non-negative.\").optional(),\n taxcode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n quantity: z.number().describe(\"Quantity to order (must be non-negative)\"),\n taxRate1: z.number().describe(\"Tax rate as a decimal (e.g., 0.16 for 16%). Optional if taxcode is provided.\").optional(),\n description: z.string().describe(\"Line item description or additional notes\").optional(),\n}).describe(\"A single line item on the sales order.\")).describe(\"List of line items to include on the sales order\"),\n}).describe(\"Container for sales order line items. Must include at least one item with quantity and pricing.\"),\n memo: z.string().describe(\"Header memo for the sales order\").optional(),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously\").optional(),\n entity: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Customer record reference (internal ID required)\"),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided\").optional(),\n tranDate: z.string().describe(\"Transaction date in YYYY-MM-DD format\").optional(),\n promocode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n customForm: z.string().describe(\"Internal ID of the custom sales order form (determines billing behavior)\").optional(),\n orderStatus: z.enum([\"A\", \"B\"]).describe(\"Approval status: 'A' = Pending Approval, 'B' = Pending Fulfillment\").optional(),\n otherrefnum: z.string().describe(\"External reference or PO number\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests\").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 Sales Order record.\\n\\nRequired fields:\\n- entity: Customer (internal ID)\\n- item: Container with list of line items\\n\\nEach line item must include item ID, quantity, and pricing (rate or amount).\\nIf SuiteTax is enabled on the account, each line item must also include a taxcode.\");\nexport const NetsuiteCreateSalesOrderOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the created Sales Order 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 Sales Order record.\");\n\nexport const netsuiteCreateSalesOrder = action(\"NETSUITE_CREATE_SALES_ORDER\", {\n slug: \"netsuite-create-sales-order\",\n name: \"Create Sales Order\",\n description: \"Tool to create a new sales order record in NetSuite. Use this when you need to submit a customer order with one or more items. Each line item requires: - item: Reference to the inventory/service item (internal ID) - quantity: Number of units to order - rate: Unit price (optional if item has default pricing) - taxcode: Tax code reference (required if SuiteTax is enabled on the account) Note: NetSuite accounts with SuiteTax enabled require tax codes for line items.\",\n input: NetsuiteCreateSalesOrderInput,\n output: NetsuiteCreateSalesOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,EACf,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,EACf,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,4DAA4D;EACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC3H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EAChK,SAASA,IAAAA,EAAE,OAAO,EAClB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACvH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,kDAAkD,EAClH,CAAC,CAAC,CAAC,SAAS,iGAAiG;CAC3G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,EACjB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,kDAAkD;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,EACpB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvG,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClJ,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,gUAAgU;AAC5U,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,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-sales-order.d.ts
4
+ declare const NetsuiteCreateSalesOrderInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateSalesOrderOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateSalesOrder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateSalesOrder };
9
+ //# sourceMappingURL=create-sales-order.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-sales-order.d.cts","names":[],"sources":["../../src/actions/create-sales-order.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAgC+R;AAAA,cAChU,8BAAA,EAAgC,CAAA,CAAE,UAGiB;AAAA,cAEnD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-sales-order.d.ts
4
+ declare const NetsuiteCreateSalesOrderInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateSalesOrderOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateSalesOrder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateSalesOrder };
9
+ //# sourceMappingURL=create-sales-order.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-sales-order.d.mts","names":[],"sources":["../../src/actions/create-sales-order.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAgC+R;AAAA,cAChU,8BAAA,EAAgC,CAAA,CAAE,UAGiB;AAAA,cAEnD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,46 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const netsuiteCreateSalesOrder = action("NETSUITE_CREATE_SALES_ORDER", {
4
+ slug: "netsuite-create-sales-order",
5
+ name: "Create Sales Order",
6
+ description: "Tool to create a new sales order record in NetSuite. Use this when you need to submit a customer order with one or more items. Each line item requires: - item: Reference to the inventory/service item (internal ID) - quantity: Number of units to order - rate: Unit price (optional if item has default pricing) - taxcode: Tax code reference (required if SuiteTax is enabled on the account) Note: NetSuite accounts with SuiteTax enabled require tax codes for line items.",
7
+ input: z.object({
8
+ item: z.object({ items: z.array(z.object({
9
+ item: z.object({ id: z.string().describe("Internal ID of the referenced record") }).describe("Reference to the item being ordered (internal ID required)"),
10
+ rate: z.number().describe("Unit price per item. Required unless item has default pricing. Must be non-negative.").optional(),
11
+ amount: z.number().describe("Total line amount. Alternative to specifying rate. Calculated as quantity * rate if not provided. Must be non-negative.").optional(),
12
+ taxcode: z.object({ id: z.string().describe("Internal ID of the referenced record") }).describe("Reference to another NetSuite record by internal ID.").optional(),
13
+ quantity: z.number().describe("Quantity to order (must be non-negative)"),
14
+ taxRate1: z.number().describe("Tax rate as a decimal (e.g., 0.16 for 16%). Optional if taxcode is provided.").optional(),
15
+ description: z.string().describe("Line item description or additional notes").optional()
16
+ }).describe("A single line item on the sales order.")).describe("List of line items to include on the sales order") }).describe("Container for sales order line items. Must include at least one item with quantity and pricing."),
17
+ memo: z.string().describe("Header memo for the sales order").optional(),
18
+ Prefer: z.string().describe("Use 'respond-async' to run the create operation asynchronously").optional(),
19
+ entity: z.object({ id: z.string().describe("Internal ID of the referenced record") }).describe("Customer record reference (internal ID required)"),
20
+ replace: z.string().describe("Comma-separated sublist names to fully replace with those provided").optional(),
21
+ tranDate: z.string().describe("Transaction date in YYYY-MM-DD format").optional(),
22
+ promocode: z.object({ id: z.string().describe("Internal ID of the referenced record") }).describe("Reference to another NetSuite record by internal ID.").optional(),
23
+ customForm: z.string().describe("Internal ID of the custom sales order form (determines billing behavior)").optional(),
24
+ orderStatus: z.enum(["A", "B"]).describe("Approval status: 'A' = Pending Approval, 'B' = Pending Fulfillment").optional(),
25
+ otherrefnum: z.string().describe("External reference or PO number").optional(),
26
+ "X-NetSuite-Idempotency-Key": z.string().describe("UUID to ensure idempotent async requests").optional(),
27
+ "X-NetSuite-PropertyNameValidation": z.enum([
28
+ "Error",
29
+ "Warning",
30
+ "Ignore"
31
+ ]).describe("Controls strictness for property name validation").optional(),
32
+ "X-NetSuite-PropertyValueValidation": z.enum([
33
+ "Error",
34
+ "Warning",
35
+ "Ignore"
36
+ ]).describe("Controls strictness for property value validation").optional()
37
+ }).describe("Request model for creating a NetSuite Sales Order record.\n\nRequired fields:\n- entity: Customer (internal ID)\n- item: Container with list of line items\n\nEach line item must include item ID, quantity, and pricing (rate or amount).\nIf SuiteTax is enabled on the account, each line item must also include a taxcode."),
38
+ output: z.object({
39
+ location: z.string().describe("URL of the created Sales Order 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 a Sales Order record.")
42
+ });
43
+ //#endregion
44
+ export { netsuiteCreateSalesOrder };
45
+
46
+ //# sourceMappingURL=create-sales-order.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-sales-order.mjs","names":[],"sources":["../../src/actions/create-sales-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateSalesOrderInput: z.ZodTypeAny = z.object({\n item: z.object({\n items: z.array(z.object({\n item: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to the item being ordered (internal ID required)\"),\n rate: z.number().describe(\"Unit price per item. Required unless item has default pricing. Must be non-negative.\").optional(),\n amount: z.number().describe(\"Total line amount. Alternative to specifying rate. Calculated as quantity * rate if not provided. Must be non-negative.\").optional(),\n taxcode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n quantity: z.number().describe(\"Quantity to order (must be non-negative)\"),\n taxRate1: z.number().describe(\"Tax rate as a decimal (e.g., 0.16 for 16%). Optional if taxcode is provided.\").optional(),\n description: z.string().describe(\"Line item description or additional notes\").optional(),\n}).describe(\"A single line item on the sales order.\")).describe(\"List of line items to include on the sales order\"),\n}).describe(\"Container for sales order line items. Must include at least one item with quantity and pricing.\"),\n memo: z.string().describe(\"Header memo for the sales order\").optional(),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously\").optional(),\n entity: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Customer record reference (internal ID required)\"),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided\").optional(),\n tranDate: z.string().describe(\"Transaction date in YYYY-MM-DD format\").optional(),\n promocode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n customForm: z.string().describe(\"Internal ID of the custom sales order form (determines billing behavior)\").optional(),\n orderStatus: z.enum([\"A\", \"B\"]).describe(\"Approval status: 'A' = Pending Approval, 'B' = Pending Fulfillment\").optional(),\n otherrefnum: z.string().describe(\"External reference or PO number\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests\").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 Sales Order record.\\n\\nRequired fields:\\n- entity: Customer (internal ID)\\n- item: Container with list of line items\\n\\nEach line item must include item ID, quantity, and pricing (rate or amount).\\nIf SuiteTax is enabled on the account, each line item must also include a taxcode.\");\nexport const NetsuiteCreateSalesOrderOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the created Sales Order 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 Sales Order record.\");\n\nexport const netsuiteCreateSalesOrder = action(\"NETSUITE_CREATE_SALES_ORDER\", {\n slug: \"netsuite-create-sales-order\",\n name: \"Create Sales Order\",\n description: \"Tool to create a new sales order record in NetSuite. Use this when you need to submit a customer order with one or more items. Each line item requires: - item: Reference to the inventory/service item (internal ID) - quantity: Number of units to order - rate: Unit price (optional if item has default pricing) - taxcode: Tax code reference (required if SuiteTax is enabled on the account) Note: NetSuite accounts with SuiteTax enabled require tax codes for line items.\",\n input: NetsuiteCreateSalesOrderInput,\n output: NetsuiteCreateSalesOrderOutput,\n});\n"],"mappings":";;AA0CA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1CyD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,MAAM,EAAE,OAAO,EACf,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,4DAA4D;GACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;GAC3H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;GAChK,SAAS,EAAE,OAAO,EAClB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;GACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;GACvH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACzF,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,kDAAkD,EAClH,CAAC,CAAC,CAAC,SAAS,iGAAiG;EAC3G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACvG,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,kDAAkD;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC5G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,OAAO,EACpB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACrH,aAAa,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC7E,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACvG,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAClJ,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,gUAUH;CACP,QAV0D,EAAE,OAAO;EACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -0,0 +1,34 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-vendor-bill.ts
4
+ const NetsuiteCreateVendorBillInput = zod.z.object({
5
+ body: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON object matching NetSuite vendorBill schema; 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"
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 Vendor Bill record.");
20
+ const NetsuiteCreateVendorBillOutput = zod.z.object({
21
+ location: zod.z.string().describe("URL of the created Vendor Bill 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 Vendor Bill record.");
24
+ const netsuiteCreateVendorBill = require_action.action("NETSUITE_CREATE_VENDOR_BILL", {
25
+ slug: "netsuite-create-vendor-bill",
26
+ name: "Create Vendor Bill",
27
+ description: "Tool to create a new vendor bill record. Use when you have all required bill and line-item details to add a vendor bill in NetSuite.",
28
+ input: NetsuiteCreateVendorBillInput,
29
+ output: NetsuiteCreateVendorBillOutput
30
+ });
31
+ //#endregion
32
+ exports.netsuiteCreateVendorBill = netsuiteCreateVendorBill;
33
+
34
+ //# sourceMappingURL=create-vendor-bill.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-vendor-bill.cjs","names":["z","action"],"sources":["../../src/actions/create-vendor-bill.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateVendorBillInput: z.ZodTypeAny = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite vendorBill schema; 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\"]).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 Vendor Bill record.\");\nexport const NetsuiteCreateVendorBillOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the created Vendor Bill 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 Vendor Bill record.\");\n\nexport const netsuiteCreateVendorBill = action(\"NETSUITE_CREATE_VENDOR_BILL\", {\n slug: \"netsuite-create-vendor-bill\",\n name: \"Create Vendor Bill\",\n description: \"Tool to create a new vendor bill record. Use when you have all required bill and line-item details to add a vendor bill in NetSuite.\",\n input: NetsuiteCreateVendorBillInput,\n output: NetsuiteCreateVendorBillOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF;CACjI,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,2DAA2D;AACvE,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,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-vendor-bill.d.ts
4
+ declare const NetsuiteCreateVendorBillInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateVendorBillOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateVendorBill: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateVendorBill };
9
+ //# sourceMappingURL=create-vendor-bill.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-vendor-bill.d.cts","names":[],"sources":["../../src/actions/create-vendor-bill.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAO0B;AAAA,cAC3D,8BAAA,EAAgC,CAAA,CAAE,UAGiB;AAAA,cAEnD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-vendor-bill.d.ts
4
+ declare const NetsuiteCreateVendorBillInput: z.ZodTypeAny;
5
+ declare const NetsuiteCreateVendorBillOutput: z.ZodTypeAny;
6
+ declare const netsuiteCreateVendorBill: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { netsuiteCreateVendorBill };
9
+ //# sourceMappingURL=create-vendor-bill.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-vendor-bill.d.mts","names":[],"sources":["../../src/actions/create-vendor-bill.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAO0B;AAAA,cAC3D,8BAAA,EAAgC,CAAA,CAAE,UAGiB;AAAA,cAEnD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,31 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const netsuiteCreateVendorBill = action("NETSUITE_CREATE_VENDOR_BILL", {
4
+ slug: "netsuite-create-vendor-bill",
5
+ name: "Create Vendor Bill",
6
+ description: "Tool to create a new vendor bill record. Use when you have all required bill and line-item details to add a vendor bill in NetSuite.",
7
+ input: z.object({
8
+ body: z.record(z.string(), z.unknown()).describe("JSON object matching NetSuite vendorBill schema; 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"
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 Vendor Bill record."),
23
+ output: z.object({
24
+ location: z.string().describe("URL of the created Vendor Bill 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 Vendor Bill record.")
27
+ });
28
+ //#endregion
29
+ export { netsuiteCreateVendorBill };
30
+
31
+ //# sourceMappingURL=create-vendor-bill.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-vendor-bill.mjs","names":[],"sources":["../../src/actions/create-vendor-bill.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateVendorBillInput: z.ZodTypeAny = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite vendorBill schema; 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\"]).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 Vendor Bill record.\");\nexport const NetsuiteCreateVendorBillOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the created Vendor Bill 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 Vendor Bill record.\");\n\nexport const netsuiteCreateVendorBill = action(\"NETSUITE_CREATE_VENDOR_BILL\", {\n slug: \"netsuite-create-vendor-bill\",\n name: \"Create Vendor Bill\",\n description: \"Tool to create a new vendor bill record. Use when you have all required bill and line-item details to add a vendor bill in NetSuite.\",\n input: NetsuiteCreateVendorBillInput,\n output: NetsuiteCreateVendorBillOutput,\n});\n"],"mappings":";;AAiBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF;EACjI,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,2DAUH;CACP,QAV0D,EAAE,OAAO;EACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}