@keystrokehq/netsuite 0.1.2 → 0.1.3

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 (511) hide show
  1. package/dist/actions/async-get-job-status.cjs +3 -3
  2. package/dist/actions/async-get-job-status.cjs.map +1 -1
  3. package/dist/actions/async-get-job-status.d.cts +4 -4
  4. package/dist/actions/async-get-job-status.d.mts +4 -4
  5. package/dist/actions/async-get-job-status.mjs +3 -3
  6. package/dist/actions/async-get-job-status.mjs.map +1 -1
  7. package/dist/actions/async-get-job-task-result.cjs +2 -2
  8. package/dist/actions/async-get-job-task-result.cjs.map +1 -1
  9. package/dist/actions/async-get-job-task-result.d.cts +2 -2
  10. package/dist/actions/async-get-job-task-result.d.mts +2 -2
  11. package/dist/actions/async-get-job-task-result.mjs +2 -2
  12. package/dist/actions/async-get-job-task-result.mjs.map +1 -1
  13. package/dist/actions/async-get-job-task.cjs +1 -1
  14. package/dist/actions/async-get-job-task.cjs.map +1 -1
  15. package/dist/actions/async-get-job-task.d.cts +1 -1
  16. package/dist/actions/async-get-job-task.d.mts +1 -1
  17. package/dist/actions/async-get-job-task.mjs +1 -1
  18. package/dist/actions/async-get-job-task.mjs.map +1 -1
  19. package/dist/actions/create-customer-payment.cjs +1 -1
  20. package/dist/actions/create-customer-payment.cjs.map +1 -1
  21. package/dist/actions/create-customer-payment.d.cts +1 -1
  22. package/dist/actions/create-customer-payment.d.mts +1 -1
  23. package/dist/actions/create-customer-payment.mjs +1 -1
  24. package/dist/actions/create-customer-payment.mjs.map +1 -1
  25. package/dist/actions/create-customer.cjs +1 -1
  26. package/dist/actions/create-customer.cjs.map +1 -1
  27. package/dist/actions/create-customer.d.cts +1 -1
  28. package/dist/actions/create-customer.d.mts +1 -1
  29. package/dist/actions/create-customer.mjs +1 -1
  30. package/dist/actions/create-customer.mjs.map +1 -1
  31. package/dist/actions/create-employee.cjs +1 -1
  32. package/dist/actions/create-employee.cjs.map +1 -1
  33. package/dist/actions/create-employee.d.cts +1 -1
  34. package/dist/actions/create-employee.d.mts +1 -1
  35. package/dist/actions/create-employee.mjs +1 -1
  36. package/dist/actions/create-employee.mjs.map +1 -1
  37. package/dist/actions/create-invoice.cjs +1 -1
  38. package/dist/actions/create-invoice.cjs.map +1 -1
  39. package/dist/actions/create-invoice.d.cts +1 -1
  40. package/dist/actions/create-invoice.d.mts +1 -1
  41. package/dist/actions/create-invoice.mjs +1 -1
  42. package/dist/actions/create-invoice.mjs.map +1 -1
  43. package/dist/actions/create-item.cjs +1 -1
  44. package/dist/actions/create-item.cjs.map +1 -1
  45. package/dist/actions/create-item.d.cts +4 -4
  46. package/dist/actions/create-item.d.mts +4 -4
  47. package/dist/actions/create-item.mjs +1 -1
  48. package/dist/actions/create-item.mjs.map +1 -1
  49. package/dist/actions/create-journal-entry.cjs +1 -1
  50. package/dist/actions/create-journal-entry.cjs.map +1 -1
  51. package/dist/actions/create-journal-entry.d.cts +1 -1
  52. package/dist/actions/create-journal-entry.d.mts +1 -1
  53. package/dist/actions/create-journal-entry.mjs +1 -1
  54. package/dist/actions/create-journal-entry.mjs.map +1 -1
  55. package/dist/actions/create-jwt-client-assertion.cjs +1 -1
  56. package/dist/actions/create-jwt-client-assertion.cjs.map +1 -1
  57. package/dist/actions/create-jwt-client-assertion.d.cts +1 -1
  58. package/dist/actions/create-jwt-client-assertion.d.mts +1 -1
  59. package/dist/actions/create-jwt-client-assertion.mjs +1 -1
  60. package/dist/actions/create-jwt-client-assertion.mjs.map +1 -1
  61. package/dist/actions/create-purchase-order.cjs +2 -2
  62. package/dist/actions/create-purchase-order.cjs.map +1 -1
  63. package/dist/actions/create-purchase-order.d.cts +3 -2
  64. package/dist/actions/create-purchase-order.d.mts +3 -2
  65. package/dist/actions/create-purchase-order.mjs +2 -2
  66. package/dist/actions/create-purchase-order.mjs.map +1 -1
  67. package/dist/actions/create-record.cjs +1 -1
  68. package/dist/actions/create-record.cjs.map +1 -1
  69. package/dist/actions/create-record.d.cts +1 -1
  70. package/dist/actions/create-record.d.mts +1 -1
  71. package/dist/actions/create-record.mjs +1 -1
  72. package/dist/actions/create-record.mjs.map +1 -1
  73. package/dist/actions/create-sales-order.cjs +2 -2
  74. package/dist/actions/create-sales-order.cjs.map +1 -1
  75. package/dist/actions/create-sales-order.d.cts +3 -2
  76. package/dist/actions/create-sales-order.d.mts +3 -2
  77. package/dist/actions/create-sales-order.mjs +2 -2
  78. package/dist/actions/create-sales-order.mjs.map +1 -1
  79. package/dist/actions/create-vendor-bill.cjs +1 -1
  80. package/dist/actions/create-vendor-bill.cjs.map +1 -1
  81. package/dist/actions/create-vendor-bill.d.cts +1 -1
  82. package/dist/actions/create-vendor-bill.d.mts +1 -1
  83. package/dist/actions/create-vendor-bill.mjs +1 -1
  84. package/dist/actions/create-vendor-bill.mjs.map +1 -1
  85. package/dist/actions/create-vendor.cjs +1 -1
  86. package/dist/actions/create-vendor.cjs.map +1 -1
  87. package/dist/actions/create-vendor.d.cts +1 -1
  88. package/dist/actions/create-vendor.d.mts +1 -1
  89. package/dist/actions/create-vendor.mjs +1 -1
  90. package/dist/actions/create-vendor.mjs.map +1 -1
  91. package/dist/actions/delete-customer-payment.cjs +1 -1
  92. package/dist/actions/delete-customer-payment.cjs.map +1 -1
  93. package/dist/actions/delete-customer-payment.d.cts +1 -1
  94. package/dist/actions/delete-customer-payment.d.mts +1 -1
  95. package/dist/actions/delete-customer-payment.mjs +1 -1
  96. package/dist/actions/delete-customer-payment.mjs.map +1 -1
  97. package/dist/actions/delete-customer.cjs +1 -1
  98. package/dist/actions/delete-customer.cjs.map +1 -1
  99. package/dist/actions/delete-customer.d.cts +1 -1
  100. package/dist/actions/delete-customer.d.mts +1 -1
  101. package/dist/actions/delete-customer.mjs +1 -1
  102. package/dist/actions/delete-customer.mjs.map +1 -1
  103. package/dist/actions/delete-employee.cjs +1 -1
  104. package/dist/actions/delete-employee.cjs.map +1 -1
  105. package/dist/actions/delete-employee.d.cts +1 -1
  106. package/dist/actions/delete-employee.d.mts +1 -1
  107. package/dist/actions/delete-employee.mjs +1 -1
  108. package/dist/actions/delete-employee.mjs.map +1 -1
  109. package/dist/actions/delete-invoice.cjs +1 -1
  110. package/dist/actions/delete-invoice.cjs.map +1 -1
  111. package/dist/actions/delete-invoice.d.cts +1 -1
  112. package/dist/actions/delete-invoice.d.mts +1 -1
  113. package/dist/actions/delete-invoice.mjs +1 -1
  114. package/dist/actions/delete-invoice.mjs.map +1 -1
  115. package/dist/actions/delete-item-fulfillment.cjs +1 -1
  116. package/dist/actions/delete-item-fulfillment.cjs.map +1 -1
  117. package/dist/actions/delete-item-fulfillment.d.cts +1 -1
  118. package/dist/actions/delete-item-fulfillment.d.mts +1 -1
  119. package/dist/actions/delete-item-fulfillment.mjs +1 -1
  120. package/dist/actions/delete-item-fulfillment.mjs.map +1 -1
  121. package/dist/actions/delete-item-receipt.cjs +1 -1
  122. package/dist/actions/delete-item-receipt.cjs.map +1 -1
  123. package/dist/actions/delete-item-receipt.d.cts +1 -1
  124. package/dist/actions/delete-item-receipt.d.mts +1 -1
  125. package/dist/actions/delete-item-receipt.mjs +1 -1
  126. package/dist/actions/delete-item-receipt.mjs.map +1 -1
  127. package/dist/actions/delete-item.cjs +1 -1
  128. package/dist/actions/delete-item.cjs.map +1 -1
  129. package/dist/actions/delete-item.d.cts +4 -4
  130. package/dist/actions/delete-item.d.mts +4 -4
  131. package/dist/actions/delete-item.mjs +1 -1
  132. package/dist/actions/delete-item.mjs.map +1 -1
  133. package/dist/actions/delete-journal-entry.cjs +1 -1
  134. package/dist/actions/delete-journal-entry.cjs.map +1 -1
  135. package/dist/actions/delete-journal-entry.d.cts +1 -1
  136. package/dist/actions/delete-journal-entry.d.mts +1 -1
  137. package/dist/actions/delete-journal-entry.mjs +1 -1
  138. package/dist/actions/delete-journal-entry.mjs.map +1 -1
  139. package/dist/actions/delete-purchase-order.cjs +1 -1
  140. package/dist/actions/delete-purchase-order.cjs.map +1 -1
  141. package/dist/actions/delete-purchase-order.d.cts +1 -1
  142. package/dist/actions/delete-purchase-order.d.mts +1 -1
  143. package/dist/actions/delete-purchase-order.mjs +1 -1
  144. package/dist/actions/delete-purchase-order.mjs.map +1 -1
  145. package/dist/actions/delete-sales-order.cjs +1 -1
  146. package/dist/actions/delete-sales-order.cjs.map +1 -1
  147. package/dist/actions/delete-sales-order.d.cts +1 -1
  148. package/dist/actions/delete-sales-order.d.mts +1 -1
  149. package/dist/actions/delete-sales-order.mjs +1 -1
  150. package/dist/actions/delete-sales-order.mjs.map +1 -1
  151. package/dist/actions/delete-vendor-payment.cjs +1 -1
  152. package/dist/actions/delete-vendor-payment.cjs.map +1 -1
  153. package/dist/actions/delete-vendor-payment.d.cts +1 -1
  154. package/dist/actions/delete-vendor-payment.d.mts +1 -1
  155. package/dist/actions/delete-vendor-payment.mjs +1 -1
  156. package/dist/actions/delete-vendor-payment.mjs.map +1 -1
  157. package/dist/actions/execute-dataset.cjs +2 -2
  158. package/dist/actions/execute-dataset.cjs.map +1 -1
  159. package/dist/actions/execute-dataset.d.cts +2 -2
  160. package/dist/actions/execute-dataset.d.mts +2 -2
  161. package/dist/actions/execute-dataset.mjs +2 -2
  162. package/dist/actions/execute-dataset.mjs.map +1 -1
  163. package/dist/actions/get-customer-payment.cjs +2 -2
  164. package/dist/actions/get-customer-payment.cjs.map +1 -1
  165. package/dist/actions/get-customer-payment.d.cts +2 -2
  166. package/dist/actions/get-customer-payment.d.mts +2 -2
  167. package/dist/actions/get-customer-payment.mjs +2 -2
  168. package/dist/actions/get-customer-payment.mjs.map +1 -1
  169. package/dist/actions/get-customer.cjs +2 -2
  170. package/dist/actions/get-customer.cjs.map +1 -1
  171. package/dist/actions/get-customer.d.cts +2 -2
  172. package/dist/actions/get-customer.d.mts +2 -2
  173. package/dist/actions/get-customer.mjs +2 -2
  174. package/dist/actions/get-customer.mjs.map +1 -1
  175. package/dist/actions/get-datacenter-urls.cjs +1 -1
  176. package/dist/actions/get-datacenter-urls.cjs.map +1 -1
  177. package/dist/actions/get-datacenter-urls.d.cts +1 -1
  178. package/dist/actions/get-datacenter-urls.d.mts +1 -1
  179. package/dist/actions/get-datacenter-urls.mjs +1 -1
  180. package/dist/actions/get-datacenter-urls.mjs.map +1 -1
  181. package/dist/actions/get-employee.cjs +2 -2
  182. package/dist/actions/get-employee.cjs.map +1 -1
  183. package/dist/actions/get-employee.d.cts +2 -2
  184. package/dist/actions/get-employee.d.mts +2 -2
  185. package/dist/actions/get-employee.mjs +2 -2
  186. package/dist/actions/get-employee.mjs.map +1 -1
  187. package/dist/actions/get-governance-limits.cjs +1 -1
  188. package/dist/actions/get-governance-limits.cjs.map +1 -1
  189. package/dist/actions/get-governance-limits.d.cts +1 -1
  190. package/dist/actions/get-governance-limits.d.mts +1 -1
  191. package/dist/actions/get-governance-limits.mjs +1 -1
  192. package/dist/actions/get-governance-limits.mjs.map +1 -1
  193. package/dist/actions/get-invoice.cjs +2 -2
  194. package/dist/actions/get-invoice.cjs.map +1 -1
  195. package/dist/actions/get-invoice.d.cts +2 -2
  196. package/dist/actions/get-invoice.d.mts +2 -2
  197. package/dist/actions/get-invoice.mjs +2 -2
  198. package/dist/actions/get-invoice.mjs.map +1 -1
  199. package/dist/actions/get-item-fulfillment.cjs +2 -2
  200. package/dist/actions/get-item-fulfillment.cjs.map +1 -1
  201. package/dist/actions/get-item-fulfillment.d.cts +2 -2
  202. package/dist/actions/get-item-fulfillment.d.mts +2 -2
  203. package/dist/actions/get-item-fulfillment.mjs +2 -2
  204. package/dist/actions/get-item-fulfillment.mjs.map +1 -1
  205. package/dist/actions/get-item-receipt.cjs +2 -2
  206. package/dist/actions/get-item-receipt.cjs.map +1 -1
  207. package/dist/actions/get-item-receipt.d.cts +2 -2
  208. package/dist/actions/get-item-receipt.d.mts +2 -2
  209. package/dist/actions/get-item-receipt.mjs +2 -2
  210. package/dist/actions/get-item-receipt.mjs.map +1 -1
  211. package/dist/actions/get-item.cjs +2 -2
  212. package/dist/actions/get-item.cjs.map +1 -1
  213. package/dist/actions/get-item.d.cts +2 -2
  214. package/dist/actions/get-item.d.mts +2 -2
  215. package/dist/actions/get-item.mjs +2 -2
  216. package/dist/actions/get-item.mjs.map +1 -1
  217. package/dist/actions/get-journal-entry.cjs +2 -2
  218. package/dist/actions/get-journal-entry.cjs.map +1 -1
  219. package/dist/actions/get-journal-entry.d.cts +2 -2
  220. package/dist/actions/get-journal-entry.d.mts +2 -2
  221. package/dist/actions/get-journal-entry.mjs +2 -2
  222. package/dist/actions/get-journal-entry.mjs.map +1 -1
  223. package/dist/actions/get-purchase-order.cjs +2 -2
  224. package/dist/actions/get-purchase-order.cjs.map +1 -1
  225. package/dist/actions/get-purchase-order.d.cts +2 -2
  226. package/dist/actions/get-purchase-order.d.mts +2 -2
  227. package/dist/actions/get-purchase-order.mjs +2 -2
  228. package/dist/actions/get-purchase-order.mjs.map +1 -1
  229. package/dist/actions/get-record-metadata.cjs +1 -1
  230. package/dist/actions/get-record-metadata.cjs.map +1 -1
  231. package/dist/actions/get-record-metadata.d.cts +1 -1
  232. package/dist/actions/get-record-metadata.d.mts +1 -1
  233. package/dist/actions/get-record-metadata.mjs +1 -1
  234. package/dist/actions/get-record-metadata.mjs.map +1 -1
  235. package/dist/actions/get-reference-select-field.cjs +2 -2
  236. package/dist/actions/get-reference-select-field.cjs.map +1 -1
  237. package/dist/actions/get-reference-select-field.d.cts +2 -2
  238. package/dist/actions/get-reference-select-field.d.mts +2 -2
  239. package/dist/actions/get-reference-select-field.mjs +2 -2
  240. package/dist/actions/get-reference-select-field.mjs.map +1 -1
  241. package/dist/actions/get-sales-order.cjs +2 -2
  242. package/dist/actions/get-sales-order.cjs.map +1 -1
  243. package/dist/actions/get-sales-order.d.cts +2 -2
  244. package/dist/actions/get-sales-order.d.mts +2 -2
  245. package/dist/actions/get-sales-order.mjs +2 -2
  246. package/dist/actions/get-sales-order.mjs.map +1 -1
  247. package/dist/actions/get-server-time.cjs +1 -1
  248. package/dist/actions/get-server-time.cjs.map +1 -1
  249. package/dist/actions/get-server-time.d.cts +1 -1
  250. package/dist/actions/get-server-time.d.mts +1 -1
  251. package/dist/actions/get-server-time.mjs +1 -1
  252. package/dist/actions/get-server-time.mjs.map +1 -1
  253. package/dist/actions/get-sublist-collection.cjs +2 -2
  254. package/dist/actions/get-sublist-collection.cjs.map +1 -1
  255. package/dist/actions/get-sublist-collection.d.cts +2 -2
  256. package/dist/actions/get-sublist-collection.d.mts +2 -2
  257. package/dist/actions/get-sublist-collection.mjs +2 -2
  258. package/dist/actions/get-sublist-collection.mjs.map +1 -1
  259. package/dist/actions/get-sublist-line.cjs +2 -2
  260. package/dist/actions/get-sublist-line.cjs.map +1 -1
  261. package/dist/actions/get-sublist-line.d.cts +2 -2
  262. package/dist/actions/get-sublist-line.d.mts +2 -2
  263. package/dist/actions/get-sublist-line.mjs +2 -2
  264. package/dist/actions/get-sublist-line.mjs.map +1 -1
  265. package/dist/actions/get-subrecord.cjs +2 -2
  266. package/dist/actions/get-subrecord.cjs.map +1 -1
  267. package/dist/actions/get-subrecord.d.cts +2 -2
  268. package/dist/actions/get-subrecord.d.mts +2 -2
  269. package/dist/actions/get-subrecord.mjs +2 -2
  270. package/dist/actions/get-subrecord.mjs.map +1 -1
  271. package/dist/actions/get-vendor-bill.cjs +2 -2
  272. package/dist/actions/get-vendor-bill.cjs.map +1 -1
  273. package/dist/actions/get-vendor-bill.d.cts +2 -2
  274. package/dist/actions/get-vendor-bill.d.mts +2 -2
  275. package/dist/actions/get-vendor-bill.mjs +2 -2
  276. package/dist/actions/get-vendor-bill.mjs.map +1 -1
  277. package/dist/actions/get-vendor-payment.cjs +2 -2
  278. package/dist/actions/get-vendor-payment.cjs.map +1 -1
  279. package/dist/actions/get-vendor-payment.d.cts +2 -2
  280. package/dist/actions/get-vendor-payment.d.mts +2 -2
  281. package/dist/actions/get-vendor-payment.mjs +2 -2
  282. package/dist/actions/get-vendor-payment.mjs.map +1 -1
  283. package/dist/actions/get-vendor.cjs +2 -2
  284. package/dist/actions/get-vendor.cjs.map +1 -1
  285. package/dist/actions/get-vendor.d.cts +2 -2
  286. package/dist/actions/get-vendor.d.mts +2 -2
  287. package/dist/actions/get-vendor.mjs +2 -2
  288. package/dist/actions/get-vendor.mjs.map +1 -1
  289. package/dist/actions/list-customer-payments.cjs +3 -3
  290. package/dist/actions/list-customer-payments.cjs.map +1 -1
  291. package/dist/actions/list-customer-payments.d.cts +4 -4
  292. package/dist/actions/list-customer-payments.d.mts +4 -4
  293. package/dist/actions/list-customer-payments.mjs +3 -3
  294. package/dist/actions/list-customer-payments.mjs.map +1 -1
  295. package/dist/actions/list-datasets.cjs +4 -4
  296. package/dist/actions/list-datasets.cjs.map +1 -1
  297. package/dist/actions/list-datasets.d.cts +4 -4
  298. package/dist/actions/list-datasets.d.mts +4 -4
  299. package/dist/actions/list-datasets.mjs +4 -4
  300. package/dist/actions/list-datasets.mjs.map +1 -1
  301. package/dist/actions/list-employees.cjs +3 -3
  302. package/dist/actions/list-employees.cjs.map +1 -1
  303. package/dist/actions/list-employees.d.cts +4 -4
  304. package/dist/actions/list-employees.d.mts +4 -4
  305. package/dist/actions/list-employees.mjs +3 -3
  306. package/dist/actions/list-employees.mjs.map +1 -1
  307. package/dist/actions/list-integrations.cjs +2 -2
  308. package/dist/actions/list-integrations.cjs.map +1 -1
  309. package/dist/actions/list-integrations.d.cts +2 -2
  310. package/dist/actions/list-integrations.d.mts +2 -2
  311. package/dist/actions/list-integrations.mjs +2 -2
  312. package/dist/actions/list-integrations.mjs.map +1 -1
  313. package/dist/actions/list-invoices.cjs +3 -3
  314. package/dist/actions/list-invoices.cjs.map +1 -1
  315. package/dist/actions/list-invoices.d.cts +4 -4
  316. package/dist/actions/list-invoices.d.mts +4 -4
  317. package/dist/actions/list-invoices.mjs +3 -3
  318. package/dist/actions/list-invoices.mjs.map +1 -1
  319. package/dist/actions/list-item-fulfillments.cjs +3 -3
  320. package/dist/actions/list-item-fulfillments.cjs.map +1 -1
  321. package/dist/actions/list-item-fulfillments.d.cts +4 -4
  322. package/dist/actions/list-item-fulfillments.d.mts +4 -4
  323. package/dist/actions/list-item-fulfillments.mjs +3 -3
  324. package/dist/actions/list-item-fulfillments.mjs.map +1 -1
  325. package/dist/actions/list-item-receipts.cjs +3 -3
  326. package/dist/actions/list-item-receipts.cjs.map +1 -1
  327. package/dist/actions/list-item-receipts.d.cts +4 -4
  328. package/dist/actions/list-item-receipts.d.mts +4 -4
  329. package/dist/actions/list-item-receipts.mjs +3 -3
  330. package/dist/actions/list-item-receipts.mjs.map +1 -1
  331. package/dist/actions/list-journal-entries.cjs +3 -3
  332. package/dist/actions/list-journal-entries.cjs.map +1 -1
  333. package/dist/actions/list-journal-entries.d.cts +4 -4
  334. package/dist/actions/list-journal-entries.d.mts +4 -4
  335. package/dist/actions/list-journal-entries.mjs +3 -3
  336. package/dist/actions/list-journal-entries.mjs.map +1 -1
  337. package/dist/actions/list-metadata-catalog.cjs +3 -3
  338. package/dist/actions/list-metadata-catalog.cjs.map +1 -1
  339. package/dist/actions/list-metadata-catalog.d.cts +3 -3
  340. package/dist/actions/list-metadata-catalog.d.mts +3 -3
  341. package/dist/actions/list-metadata-catalog.mjs +3 -3
  342. package/dist/actions/list-metadata-catalog.mjs.map +1 -1
  343. package/dist/actions/list-purchase-orders.cjs +3 -3
  344. package/dist/actions/list-purchase-orders.cjs.map +1 -1
  345. package/dist/actions/list-purchase-orders.d.cts +4 -4
  346. package/dist/actions/list-purchase-orders.d.mts +4 -4
  347. package/dist/actions/list-purchase-orders.mjs +3 -3
  348. package/dist/actions/list-purchase-orders.mjs.map +1 -1
  349. package/dist/actions/list-records.cjs +3 -3
  350. package/dist/actions/list-records.cjs.map +1 -1
  351. package/dist/actions/list-records.d.cts +4 -4
  352. package/dist/actions/list-records.d.mts +4 -4
  353. package/dist/actions/list-records.mjs +3 -3
  354. package/dist/actions/list-records.mjs.map +1 -1
  355. package/dist/actions/list-sales-orders.cjs +3 -3
  356. package/dist/actions/list-sales-orders.cjs.map +1 -1
  357. package/dist/actions/list-sales-orders.d.cts +4 -4
  358. package/dist/actions/list-sales-orders.d.mts +4 -4
  359. package/dist/actions/list-sales-orders.mjs +3 -3
  360. package/dist/actions/list-sales-orders.mjs.map +1 -1
  361. package/dist/actions/list-vendor-payments.cjs +3 -3
  362. package/dist/actions/list-vendor-payments.cjs.map +1 -1
  363. package/dist/actions/list-vendor-payments.d.cts +4 -4
  364. package/dist/actions/list-vendor-payments.d.mts +4 -4
  365. package/dist/actions/list-vendor-payments.mjs +3 -3
  366. package/dist/actions/list-vendor-payments.mjs.map +1 -1
  367. package/dist/actions/o-auth2-authorize-account-domain.cjs +1 -1
  368. package/dist/actions/o-auth2-authorize-account-domain.cjs.map +1 -1
  369. package/dist/actions/o-auth2-authorize-account-domain.d.cts +1 -1
  370. package/dist/actions/o-auth2-authorize-account-domain.d.mts +1 -1
  371. package/dist/actions/o-auth2-authorize-account-domain.mjs +1 -1
  372. package/dist/actions/o-auth2-authorize-account-domain.mjs.map +1 -1
  373. package/dist/actions/o-auth2-authorize-system-domain.cjs +1 -1
  374. package/dist/actions/o-auth2-authorize-system-domain.cjs.map +1 -1
  375. package/dist/actions/o-auth2-authorize-system-domain.d.cts +1 -1
  376. package/dist/actions/o-auth2-authorize-system-domain.d.mts +1 -1
  377. package/dist/actions/o-auth2-authorize-system-domain.mjs +1 -1
  378. package/dist/actions/o-auth2-authorize-system-domain.mjs.map +1 -1
  379. package/dist/actions/o-auth2-logout.cjs +1 -1
  380. package/dist/actions/o-auth2-logout.cjs.map +1 -1
  381. package/dist/actions/o-auth2-logout.d.cts +1 -1
  382. package/dist/actions/o-auth2-logout.d.mts +1 -1
  383. package/dist/actions/o-auth2-logout.mjs +1 -1
  384. package/dist/actions/o-auth2-logout.mjs.map +1 -1
  385. package/dist/actions/o-auth2-revoke-refresh-token.cjs +1 -1
  386. package/dist/actions/o-auth2-revoke-refresh-token.cjs.map +1 -1
  387. package/dist/actions/o-auth2-revoke-refresh-token.d.cts +1 -1
  388. package/dist/actions/o-auth2-revoke-refresh-token.d.mts +1 -1
  389. package/dist/actions/o-auth2-revoke-refresh-token.mjs +1 -1
  390. package/dist/actions/o-auth2-revoke-refresh-token.mjs.map +1 -1
  391. package/dist/actions/o-auth2-token-authorization-code.cjs +1 -1
  392. package/dist/actions/o-auth2-token-authorization-code.cjs.map +1 -1
  393. package/dist/actions/o-auth2-token-authorization-code.d.cts +1 -1
  394. package/dist/actions/o-auth2-token-authorization-code.d.mts +1 -1
  395. package/dist/actions/o-auth2-token-authorization-code.mjs +1 -1
  396. package/dist/actions/o-auth2-token-authorization-code.mjs.map +1 -1
  397. package/dist/actions/o-auth2-token-client-credentials.cjs +1 -1
  398. package/dist/actions/o-auth2-token-client-credentials.cjs.map +1 -1
  399. package/dist/actions/o-auth2-token-client-credentials.d.cts +1 -1
  400. package/dist/actions/o-auth2-token-client-credentials.d.mts +1 -1
  401. package/dist/actions/o-auth2-token-client-credentials.mjs +1 -1
  402. package/dist/actions/o-auth2-token-client-credentials.mjs.map +1 -1
  403. package/dist/actions/o-auth2-token-refresh.cjs +1 -1
  404. package/dist/actions/o-auth2-token-refresh.cjs.map +1 -1
  405. package/dist/actions/o-auth2-token-refresh.d.cts +1 -1
  406. package/dist/actions/o-auth2-token-refresh.d.mts +1 -1
  407. package/dist/actions/o-auth2-token-refresh.mjs +1 -1
  408. package/dist/actions/o-auth2-token-refresh.mjs.map +1 -1
  409. package/dist/actions/oauth2-get-jwks-keys.cjs +2 -2
  410. package/dist/actions/oauth2-get-jwks-keys.cjs.map +1 -1
  411. package/dist/actions/oauth2-get-jwks-keys.d.cts +2 -2
  412. package/dist/actions/oauth2-get-jwks-keys.d.mts +2 -2
  413. package/dist/actions/oauth2-get-jwks-keys.mjs +2 -2
  414. package/dist/actions/oauth2-get-jwks-keys.mjs.map +1 -1
  415. package/dist/actions/run-suiteql-query.cjs +2 -2
  416. package/dist/actions/run-suiteql-query.cjs.map +1 -1
  417. package/dist/actions/run-suiteql-query.d.cts +3 -3
  418. package/dist/actions/run-suiteql-query.d.mts +3 -3
  419. package/dist/actions/run-suiteql-query.mjs +2 -2
  420. package/dist/actions/run-suiteql-query.mjs.map +1 -1
  421. package/dist/actions/transform-record.cjs +1 -1
  422. package/dist/actions/transform-record.cjs.map +1 -1
  423. package/dist/actions/transform-record.d.cts +1 -1
  424. package/dist/actions/transform-record.d.mts +1 -1
  425. package/dist/actions/transform-record.mjs +1 -1
  426. package/dist/actions/transform-record.mjs.map +1 -1
  427. package/dist/actions/update-customer-payment.cjs +1 -1
  428. package/dist/actions/update-customer-payment.cjs.map +1 -1
  429. package/dist/actions/update-customer-payment.d.cts +1 -1
  430. package/dist/actions/update-customer-payment.d.mts +1 -1
  431. package/dist/actions/update-customer-payment.mjs +1 -1
  432. package/dist/actions/update-customer-payment.mjs.map +1 -1
  433. package/dist/actions/update-customer.cjs +1 -1
  434. package/dist/actions/update-customer.cjs.map +1 -1
  435. package/dist/actions/update-customer.d.cts +1 -1
  436. package/dist/actions/update-customer.d.mts +1 -1
  437. package/dist/actions/update-customer.mjs +1 -1
  438. package/dist/actions/update-customer.mjs.map +1 -1
  439. package/dist/actions/update-employee.cjs +1 -1
  440. package/dist/actions/update-employee.cjs.map +1 -1
  441. package/dist/actions/update-employee.d.cts +1 -1
  442. package/dist/actions/update-employee.d.mts +1 -1
  443. package/dist/actions/update-employee.mjs +1 -1
  444. package/dist/actions/update-employee.mjs.map +1 -1
  445. package/dist/actions/update-invoice.cjs +1 -1
  446. package/dist/actions/update-invoice.cjs.map +1 -1
  447. package/dist/actions/update-invoice.d.cts +1 -1
  448. package/dist/actions/update-invoice.d.mts +1 -1
  449. package/dist/actions/update-invoice.mjs +1 -1
  450. package/dist/actions/update-invoice.mjs.map +1 -1
  451. package/dist/actions/update-item-fulfillment.cjs +1 -1
  452. package/dist/actions/update-item-fulfillment.cjs.map +1 -1
  453. package/dist/actions/update-item-fulfillment.d.cts +1 -1
  454. package/dist/actions/update-item-fulfillment.d.mts +1 -1
  455. package/dist/actions/update-item-fulfillment.mjs +1 -1
  456. package/dist/actions/update-item-fulfillment.mjs.map +1 -1
  457. package/dist/actions/update-item-receipt.cjs +1 -1
  458. package/dist/actions/update-item-receipt.cjs.map +1 -1
  459. package/dist/actions/update-item-receipt.d.cts +1 -1
  460. package/dist/actions/update-item-receipt.d.mts +1 -1
  461. package/dist/actions/update-item-receipt.mjs +1 -1
  462. package/dist/actions/update-item-receipt.mjs.map +1 -1
  463. package/dist/actions/update-item.cjs +1 -1
  464. package/dist/actions/update-item.cjs.map +1 -1
  465. package/dist/actions/update-item.d.cts +1 -1
  466. package/dist/actions/update-item.d.mts +1 -1
  467. package/dist/actions/update-item.mjs +1 -1
  468. package/dist/actions/update-item.mjs.map +1 -1
  469. package/dist/actions/update-journal-entry.cjs +1 -1
  470. package/dist/actions/update-journal-entry.cjs.map +1 -1
  471. package/dist/actions/update-journal-entry.d.cts +1 -1
  472. package/dist/actions/update-journal-entry.d.mts +1 -1
  473. package/dist/actions/update-journal-entry.mjs +1 -1
  474. package/dist/actions/update-journal-entry.mjs.map +1 -1
  475. package/dist/actions/update-purchase-order.cjs +1 -1
  476. package/dist/actions/update-purchase-order.cjs.map +1 -1
  477. package/dist/actions/update-purchase-order.d.cts +1 -1
  478. package/dist/actions/update-purchase-order.d.mts +1 -1
  479. package/dist/actions/update-purchase-order.mjs +1 -1
  480. package/dist/actions/update-purchase-order.mjs.map +1 -1
  481. package/dist/actions/update-sales-order.cjs +1 -1
  482. package/dist/actions/update-sales-order.cjs.map +1 -1
  483. package/dist/actions/update-sales-order.d.cts +1 -1
  484. package/dist/actions/update-sales-order.d.mts +1 -1
  485. package/dist/actions/update-sales-order.mjs +1 -1
  486. package/dist/actions/update-sales-order.mjs.map +1 -1
  487. package/dist/actions/update-vendor-bill.cjs +1 -1
  488. package/dist/actions/update-vendor-bill.cjs.map +1 -1
  489. package/dist/actions/update-vendor-bill.d.cts +1 -1
  490. package/dist/actions/update-vendor-bill.d.mts +1 -1
  491. package/dist/actions/update-vendor-bill.mjs +1 -1
  492. package/dist/actions/update-vendor-bill.mjs.map +1 -1
  493. package/dist/actions/update-vendor-payment.cjs +1 -1
  494. package/dist/actions/update-vendor-payment.cjs.map +1 -1
  495. package/dist/actions/update-vendor-payment.d.cts +1 -1
  496. package/dist/actions/update-vendor-payment.d.mts +1 -1
  497. package/dist/actions/update-vendor-payment.mjs +1 -1
  498. package/dist/actions/update-vendor-payment.mjs.map +1 -1
  499. package/dist/actions/update-vendor.cjs +1 -1
  500. package/dist/actions/update-vendor.cjs.map +1 -1
  501. package/dist/actions/update-vendor.d.cts +1 -1
  502. package/dist/actions/update-vendor.d.mts +1 -1
  503. package/dist/actions/update-vendor.mjs +1 -1
  504. package/dist/actions/update-vendor.mjs.map +1 -1
  505. package/dist/actions/upsert-record-by-external-id.cjs +1 -1
  506. package/dist/actions/upsert-record-by-external-id.cjs.map +1 -1
  507. package/dist/actions/upsert-record-by-external-id.d.cts +1 -1
  508. package/dist/actions/upsert-record-by-external-id.d.mts +1 -1
  509. package/dist/actions/upsert-record-by-external-id.mjs +1 -1
  510. package/dist/actions/upsert-record-by-external-id.mjs.map +1 -1
  511. package/package.json +1 -1
@@ -5,8 +5,8 @@ const NetsuiteAsyncGetJobStatusInput = zod.z.object({ jobId: zod.z.string().desc
5
5
  const NetsuiteAsyncGetJobStatus_LinkSchema = zod.z.object({
6
6
  rel: zod.z.string().describe("Link relation type (e.g., 'self').").nullable(),
7
7
  href: zod.z.string().describe("URL of the linked resource.").nullable()
8
- }).describe("HATEOAS link for navigation.");
9
- const NetsuiteAsyncGetJobStatus_TaskLinksSchema = zod.z.object({ links: zod.z.array(NetsuiteAsyncGetJobStatus_LinkSchema).describe("Navigation links for the task resource.") }).describe("Links to the job's task resource.");
8
+ }).passthrough().describe("HATEOAS link for navigation.");
9
+ const NetsuiteAsyncGetJobStatus_TaskLinksSchema = zod.z.object({ links: zod.z.array(NetsuiteAsyncGetJobStatus_LinkSchema).describe("Navigation links for the task resource.") }).passthrough().describe("Links to the job's task resource.");
10
10
  const NetsuiteAsyncGetJobStatusOutput = zod.z.object({
11
11
  id: zod.z.string().describe("The unique identifier of the asynchronous job.").nullable(),
12
12
  task: NetsuiteAsyncGetJobStatus_TaskLinksSchema.nullable(),
@@ -15,7 +15,7 @@ const NetsuiteAsyncGetJobStatusOutput = zod.z.object({
15
15
  progress: zod.z.string().describe("Current state of the job (e.g., 'pending', 'processing', 'succeeded', 'failed').").nullable(),
16
16
  completed: zod.z.boolean().describe("True if the asynchronous job has completed processing.").nullable(),
17
17
  startTime: zod.z.string().describe("ISO 8601 timestamp when the job started processing.").nullable().optional()
18
- }).describe("Response model representing the status of an asynchronous REST job.");
18
+ }).passthrough().describe("Response model representing the status of an asynchronous REST job.");
19
19
  const netsuiteAsyncGetJobStatus = require_action.action("NETSUITE_ASYNC_GET_JOB_STATUS", {
20
20
  slug: "netsuite-async-get-job-status",
21
21
  name: "Get Async Job Status",
@@ -1 +1 @@
1
- {"version":3,"file":"async-get-job-status.cjs","names":["z","action"],"sources":["../../src/actions/async-get-job-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteAsyncGetJobStatusInput = z.object({\n jobId: z.string().describe(\"The Job ID extracted from the Location header URL when an async request was submitted with 'Prefer: respond-async'. For example, if Location header is 'https://demo.suitetalk.api.netsuite.com/services/rest/async/v1/job/203', the job ID is '203'.\"),\n}).describe(\"Request model for retrieving the status of an asynchronous REST job.\");\nconst NetsuiteAsyncGetJobStatus_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self').\").nullable(),\n href: z.string().describe(\"URL of the linked resource.\").nullable(),\n}).describe(\"HATEOAS link for navigation.\");\nconst NetsuiteAsyncGetJobStatus_TaskLinksSchema = z.object({\n links: z.array(NetsuiteAsyncGetJobStatus_LinkSchema).describe(\"Navigation links for the task resource.\"),\n}).describe(\"Links to the job's task resource.\");\nexport const NetsuiteAsyncGetJobStatusOutput = z.object({\n id: z.string().describe(\"The unique identifier of the asynchronous job.\").nullable(),\n task: NetsuiteAsyncGetJobStatus_TaskLinksSchema.nullable(),\n links: z.array(NetsuiteAsyncGetJobStatus_LinkSchema).describe(\"HATEOAS navigation links for this job status resource.\"),\n endTime: z.string().describe(\"ISO 8601 timestamp when the job completed (only present if completed).\").nullable().optional(),\n progress: z.string().describe(\"Current state of the job (e.g., 'pending', 'processing', 'succeeded', 'failed').\").nullable(),\n completed: z.boolean().describe(\"True if the asynchronous job has completed processing.\").nullable(),\n startTime: z.string().describe(\"ISO 8601 timestamp when the job started processing.\").nullable().optional(),\n}).describe(\"Response model representing the status of an asynchronous REST job.\");\n\nexport const netsuiteAsyncGetJobStatus = action(\"NETSUITE_ASYNC_GET_JOB_STATUS\", {\n slug: \"netsuite-async-get-job-status\",\n name: \"Get Async Job Status\",\n description: \"Retrieves the current status of an asynchronous NetSuite REST job. Use this tool to check whether an async job has completed and its progress state. When you submit any NetSuite REST API request with the 'Prefer: respond-async' header, NetSuite returns a Location header containing the job ID. Use that job ID with this tool to poll the job's status. The response indicates if the job is completed, its progress state (pending/processing/succeeded/failed), and provides links to retrieve the job results once completed.\",\n input: NetsuiteAsyncGetJobStatusInput,\n output: NetsuiteAsyncGetJobStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uPAAuP,EACpR,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,4CAA4CA,IAAAA,EAAE,OAAO,EACzD,OAAOA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yCAAyC,EACzG,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAM,0CAA0C,SAAS;CACzD,OAAOA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,wDAAwD;CACtH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAEjF,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"async-get-job-status.cjs","names":["z","action"],"sources":["../../src/actions/async-get-job-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteAsyncGetJobStatusInput = z.object({\n jobId: z.string().describe(\"The Job ID extracted from the Location header URL when an async request was submitted with 'Prefer: respond-async'. For example, if Location header is 'https://demo.suitetalk.api.netsuite.com/services/rest/async/v1/job/203', the job ID is '203'.\"),\n}).describe(\"Request model for retrieving the status of an asynchronous REST job.\");\nconst NetsuiteAsyncGetJobStatus_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self').\").nullable(),\n href: z.string().describe(\"URL of the linked resource.\").nullable(),\n}).passthrough().describe(\"HATEOAS link for navigation.\");\nconst NetsuiteAsyncGetJobStatus_TaskLinksSchema = z.object({\n links: z.array(NetsuiteAsyncGetJobStatus_LinkSchema).describe(\"Navigation links for the task resource.\"),\n}).passthrough().describe(\"Links to the job's task resource.\");\nexport const NetsuiteAsyncGetJobStatusOutput = z.object({\n id: z.string().describe(\"The unique identifier of the asynchronous job.\").nullable(),\n task: NetsuiteAsyncGetJobStatus_TaskLinksSchema.nullable(),\n links: z.array(NetsuiteAsyncGetJobStatus_LinkSchema).describe(\"HATEOAS navigation links for this job status resource.\"),\n endTime: z.string().describe(\"ISO 8601 timestamp when the job completed (only present if completed).\").nullable().optional(),\n progress: z.string().describe(\"Current state of the job (e.g., 'pending', 'processing', 'succeeded', 'failed').\").nullable(),\n completed: z.boolean().describe(\"True if the asynchronous job has completed processing.\").nullable(),\n startTime: z.string().describe(\"ISO 8601 timestamp when the job started processing.\").nullable().optional(),\n}).passthrough().describe(\"Response model representing the status of an asynchronous REST job.\");\n\nexport const netsuiteAsyncGetJobStatus = action(\"NETSUITE_ASYNC_GET_JOB_STATUS\", {\n slug: \"netsuite-async-get-job-status\",\n name: \"Get Async Job Status\",\n description: \"Retrieves the current status of an asynchronous NetSuite REST job. Use this tool to check whether an async job has completed and its progress state. When you submit any NetSuite REST API request with the 'Prefer: respond-async' header, NetSuite returns a Location header containing the job ID. Use that job ID with this tool to poll the job's status. The response indicates if the job is completed, its progress state (pending/processing/succeeded/failed), and provides links to retrieve the job results once completed.\",\n input: NetsuiteAsyncGetJobStatusInput,\n output: NetsuiteAsyncGetJobStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uPAAuP,EACpR,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO,EACzD,OAAOA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yCAAyC,EACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAM,0CAA0C,SAAS;CACzD,OAAOA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,wDAAwD;CACtH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,17 +10,17 @@ declare const NetsuiteAsyncGetJobStatusOutput: z.ZodObject<{
10
10
  links: z.ZodArray<z.ZodObject<{
11
11
  rel: z.ZodNullable<z.ZodString>;
12
12
  href: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>>;
14
- }, z.core.$strip>>;
13
+ }, z.core.$loose>>;
14
+ }, z.core.$loose>>;
15
15
  links: z.ZodArray<z.ZodObject<{
16
16
  rel: z.ZodNullable<z.ZodString>;
17
17
  href: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  endTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  progress: z.ZodNullable<z.ZodString>;
21
21
  completed: z.ZodNullable<z.ZodBoolean>;
22
22
  startTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const netsuiteAsyncGetJobStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  jobId: string;
26
26
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -10,17 +10,17 @@ declare const NetsuiteAsyncGetJobStatusOutput: z.ZodObject<{
10
10
  links: z.ZodArray<z.ZodObject<{
11
11
  rel: z.ZodNullable<z.ZodString>;
12
12
  href: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>>;
14
- }, z.core.$strip>>;
13
+ }, z.core.$loose>>;
14
+ }, z.core.$loose>>;
15
15
  links: z.ZodArray<z.ZodObject<{
16
16
  rel: z.ZodNullable<z.ZodString>;
17
17
  href: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  endTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  progress: z.ZodNullable<z.ZodString>;
21
21
  completed: z.ZodNullable<z.ZodBoolean>;
22
22
  startTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const netsuiteAsyncGetJobStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  jobId: string;
26
26
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,8 +5,8 @@ const NetsuiteAsyncGetJobStatusInput = z.object({ jobId: z.string().describe("Th
5
5
  const NetsuiteAsyncGetJobStatus_LinkSchema = z.object({
6
6
  rel: z.string().describe("Link relation type (e.g., 'self').").nullable(),
7
7
  href: z.string().describe("URL of the linked resource.").nullable()
8
- }).describe("HATEOAS link for navigation.");
9
- const NetsuiteAsyncGetJobStatus_TaskLinksSchema = z.object({ links: z.array(NetsuiteAsyncGetJobStatus_LinkSchema).describe("Navigation links for the task resource.") }).describe("Links to the job's task resource.");
8
+ }).passthrough().describe("HATEOAS link for navigation.");
9
+ const NetsuiteAsyncGetJobStatus_TaskLinksSchema = z.object({ links: z.array(NetsuiteAsyncGetJobStatus_LinkSchema).describe("Navigation links for the task resource.") }).passthrough().describe("Links to the job's task resource.");
10
10
  const netsuiteAsyncGetJobStatus = action("NETSUITE_ASYNC_GET_JOB_STATUS", {
11
11
  slug: "netsuite-async-get-job-status",
12
12
  name: "Get Async Job Status",
@@ -20,7 +20,7 @@ const netsuiteAsyncGetJobStatus = action("NETSUITE_ASYNC_GET_JOB_STATUS", {
20
20
  progress: z.string().describe("Current state of the job (e.g., 'pending', 'processing', 'succeeded', 'failed').").nullable(),
21
21
  completed: z.boolean().describe("True if the asynchronous job has completed processing.").nullable(),
22
22
  startTime: z.string().describe("ISO 8601 timestamp when the job started processing.").nullable().optional()
23
- }).describe("Response model representing the status of an asynchronous REST job.")
23
+ }).passthrough().describe("Response model representing the status of an asynchronous REST job.")
24
24
  });
25
25
  //#endregion
26
26
  export { netsuiteAsyncGetJobStatus };
@@ -1 +1 @@
1
- {"version":3,"file":"async-get-job-status.mjs","names":[],"sources":["../../src/actions/async-get-job-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteAsyncGetJobStatusInput = z.object({\n jobId: z.string().describe(\"The Job ID extracted from the Location header URL when an async request was submitted with 'Prefer: respond-async'. For example, if Location header is 'https://demo.suitetalk.api.netsuite.com/services/rest/async/v1/job/203', the job ID is '203'.\"),\n}).describe(\"Request model for retrieving the status of an asynchronous REST job.\");\nconst NetsuiteAsyncGetJobStatus_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self').\").nullable(),\n href: z.string().describe(\"URL of the linked resource.\").nullable(),\n}).describe(\"HATEOAS link for navigation.\");\nconst NetsuiteAsyncGetJobStatus_TaskLinksSchema = z.object({\n links: z.array(NetsuiteAsyncGetJobStatus_LinkSchema).describe(\"Navigation links for the task resource.\"),\n}).describe(\"Links to the job's task resource.\");\nexport const NetsuiteAsyncGetJobStatusOutput = z.object({\n id: z.string().describe(\"The unique identifier of the asynchronous job.\").nullable(),\n task: NetsuiteAsyncGetJobStatus_TaskLinksSchema.nullable(),\n links: z.array(NetsuiteAsyncGetJobStatus_LinkSchema).describe(\"HATEOAS navigation links for this job status resource.\"),\n endTime: z.string().describe(\"ISO 8601 timestamp when the job completed (only present if completed).\").nullable().optional(),\n progress: z.string().describe(\"Current state of the job (e.g., 'pending', 'processing', 'succeeded', 'failed').\").nullable(),\n completed: z.boolean().describe(\"True if the asynchronous job has completed processing.\").nullable(),\n startTime: z.string().describe(\"ISO 8601 timestamp when the job started processing.\").nullable().optional(),\n}).describe(\"Response model representing the status of an asynchronous REST job.\");\n\nexport const netsuiteAsyncGetJobStatus = action(\"NETSUITE_ASYNC_GET_JOB_STATUS\", {\n slug: \"netsuite-async-get-job-status\",\n name: \"Get Async Job Status\",\n description: \"Retrieves the current status of an asynchronous NetSuite REST job. Use this tool to check whether an async job has completed and its progress state. When you submit any NetSuite REST API request with the 'Prefer: respond-async' header, NetSuite returns a Location header containing the job ID. Use that job ID with this tool to poll the job's status. The response indicates if the job is completed, its progress state (pending/processing/succeeded/failed), and provides links to retrieve the job results once completed.\",\n input: NetsuiteAsyncGetJobStatusInput,\n output: NetsuiteAsyncGetJobStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uPAAuP,EACpR,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,uCAAuC,EAAE,OAAO;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,4CAA4C,EAAE,OAAO,EACzD,OAAO,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yCAAyC,EACzG,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAW/C,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACnF,MAAM,0CAA0C,SAAS;EACzD,OAAO,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,wDAAwD;EACtH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EAC3H,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"async-get-job-status.mjs","names":[],"sources":["../../src/actions/async-get-job-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteAsyncGetJobStatusInput = z.object({\n jobId: z.string().describe(\"The Job ID extracted from the Location header URL when an async request was submitted with 'Prefer: respond-async'. For example, if Location header is 'https://demo.suitetalk.api.netsuite.com/services/rest/async/v1/job/203', the job ID is '203'.\"),\n}).describe(\"Request model for retrieving the status of an asynchronous REST job.\");\nconst NetsuiteAsyncGetJobStatus_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self').\").nullable(),\n href: z.string().describe(\"URL of the linked resource.\").nullable(),\n}).passthrough().describe(\"HATEOAS link for navigation.\");\nconst NetsuiteAsyncGetJobStatus_TaskLinksSchema = z.object({\n links: z.array(NetsuiteAsyncGetJobStatus_LinkSchema).describe(\"Navigation links for the task resource.\"),\n}).passthrough().describe(\"Links to the job's task resource.\");\nexport const NetsuiteAsyncGetJobStatusOutput = z.object({\n id: z.string().describe(\"The unique identifier of the asynchronous job.\").nullable(),\n task: NetsuiteAsyncGetJobStatus_TaskLinksSchema.nullable(),\n links: z.array(NetsuiteAsyncGetJobStatus_LinkSchema).describe(\"HATEOAS navigation links for this job status resource.\"),\n endTime: z.string().describe(\"ISO 8601 timestamp when the job completed (only present if completed).\").nullable().optional(),\n progress: z.string().describe(\"Current state of the job (e.g., 'pending', 'processing', 'succeeded', 'failed').\").nullable(),\n completed: z.boolean().describe(\"True if the asynchronous job has completed processing.\").nullable(),\n startTime: z.string().describe(\"ISO 8601 timestamp when the job started processing.\").nullable().optional(),\n}).passthrough().describe(\"Response model representing the status of an asynchronous REST job.\");\n\nexport const netsuiteAsyncGetJobStatus = action(\"NETSUITE_ASYNC_GET_JOB_STATUS\", {\n slug: \"netsuite-async-get-job-status\",\n name: \"Get Async Job Status\",\n description: \"Retrieves the current status of an asynchronous NetSuite REST job. Use this tool to check whether an async job has completed and its progress state. When you submit any NetSuite REST API request with the 'Prefer: respond-async' header, NetSuite returns a Location header containing the job ID. Use that job ID with this tool to poll the job's status. The response indicates if the job is completed, its progress state (pending/processing/succeeded/failed), and provides links to retrieve the job results once completed.\",\n input: NetsuiteAsyncGetJobStatusInput,\n output: NetsuiteAsyncGetJobStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uPAAuP,EACpR,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,uCAAuC,EAAE,OAAO;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,4CAA4C,EAAE,OAAO,EACzD,OAAO,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yCAAyC,EACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAW7D,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACnF,MAAM,0CAA0C,SAAS;EACzD,OAAO,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,wDAAwD;EACtH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EAC3H,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
@@ -6,9 +6,9 @@ const NetsuiteAsyncGetJobTaskResultInput = zod.z.object({
6
6
  taskId: zod.z.string().describe("The task ID for the submitted job, obtained via the async task endpoints for the given job.")
7
7
  }).describe("Request model for retrieving the result of a completed async task.");
8
8
  const NetsuiteAsyncGetJobTaskResultOutput = zod.z.object({
9
- links: zod.z.array(zod.z.object({})).describe("HATEOAS navigation links for the resource, if available"),
9
+ links: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("HATEOAS navigation links for the resource, if available"),
10
10
  result: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Payload fields returned by the completed async task")
11
- }).describe("Response model for the payload returned by a completed async task.");
11
+ }).passthrough().describe("Response model for the payload returned by a completed async task.");
12
12
  const netsuiteAsyncGetJobTaskResult = require_action.action("NETSUITE_ASYNC_GET_JOB_TASK_RESULT", {
13
13
  slug: "netsuite-async-get-job-task-result",
14
14
  name: "Async Get Job Task Result",
@@ -1 +1 @@
1
- {"version":3,"file":"async-get-job-task-result.cjs","names":["z","action"],"sources":["../../src/actions/async-get-job-task-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteAsyncGetJobTaskResultInput = z.object({\n jobId: z.string().describe(\"The async job ID returned in the Location header when the request was submitted with Prefer: respond-async.\"),\n taskId: z.string().describe(\"The task ID for the submitted job, obtained via the async task endpoints for the given job.\"),\n}).describe(\"Request model for retrieving the result of a completed async task.\");\nexport const NetsuiteAsyncGetJobTaskResultOutput = z.object({\n links: z.array(z.object({})).describe(\"HATEOAS navigation links for the resource, if available\"),\n result: z.record(z.string(), z.unknown()).describe(\"Payload fields returned by the completed async task\"),\n}).describe(\"Response model for the payload returned by a completed async task.\");\n\nexport const netsuiteAsyncGetJobTaskResult = action(\"NETSUITE_ASYNC_GET_JOB_TASK_RESULT\", {\n slug: \"netsuite-async-get-job-task-result\",\n name: \"Async Get Job Task Result\",\n description: \"Tool to retrieve the payload result of a completed async task. Use after confirming the async job and task have completed to fetch the operation's output.\",\n input: NetsuiteAsyncGetJobTaskResultInput,\n output: NetsuiteAsyncGetJobTaskResultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACxI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;AAC3H,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;CAC/F,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAC1G,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"async-get-job-task-result.cjs","names":["z","action"],"sources":["../../src/actions/async-get-job-task-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteAsyncGetJobTaskResultInput = z.object({\n jobId: z.string().describe(\"The async job ID returned in the Location header when the request was submitted with Prefer: respond-async.\"),\n taskId: z.string().describe(\"The task ID for the submitted job, obtained via the async task endpoints for the given job.\"),\n}).describe(\"Request model for retrieving the result of a completed async task.\");\nexport const NetsuiteAsyncGetJobTaskResultOutput = z.object({\n links: z.array(z.record(z.string(), z.unknown())).describe(\"HATEOAS navigation links for the resource, if available\"),\n result: z.record(z.string(), z.unknown()).describe(\"Payload fields returned by the completed async task\"),\n}).passthrough().describe(\"Response model for the payload returned by a completed async task.\");\n\nexport const netsuiteAsyncGetJobTaskResult = action(\"NETSUITE_ASYNC_GET_JOB_TASK_RESULT\", {\n slug: \"netsuite-async-get-job-task-result\",\n name: \"Async Get Job Task Result\",\n description: \"Tool to retrieve the payload result of a completed async task. Use after confirming the async job and task have completed to fetch the operation's output.\",\n input: NetsuiteAsyncGetJobTaskResultInput,\n output: NetsuiteAsyncGetJobTaskResultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACxI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;AAC3H,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;CACpH,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,9 +6,9 @@ declare const NetsuiteAsyncGetJobTaskResultInput: z.ZodObject<{
6
6
  taskId: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const NetsuiteAsyncGetJobTaskResultOutput: z.ZodObject<{
9
- links: z.ZodArray<z.ZodObject<{}, z.core.$strip>>;
9
+ links: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
10
  result: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const netsuiteAsyncGetJobTaskResult: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  jobId: string;
14
14
  taskId: string;
@@ -6,9 +6,9 @@ declare const NetsuiteAsyncGetJobTaskResultInput: z.ZodObject<{
6
6
  taskId: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const NetsuiteAsyncGetJobTaskResultOutput: z.ZodObject<{
9
- links: z.ZodArray<z.ZodObject<{}, z.core.$strip>>;
9
+ links: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
10
  result: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const netsuiteAsyncGetJobTaskResult: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  jobId: string;
14
14
  taskId: string;
@@ -9,9 +9,9 @@ const netsuiteAsyncGetJobTaskResult = action("NETSUITE_ASYNC_GET_JOB_TASK_RESULT
9
9
  taskId: z.string().describe("The task ID for the submitted job, obtained via the async task endpoints for the given job.")
10
10
  }).describe("Request model for retrieving the result of a completed async task."),
11
11
  output: z.object({
12
- links: z.array(z.object({})).describe("HATEOAS navigation links for the resource, if available"),
12
+ links: z.array(z.record(z.string(), z.unknown())).describe("HATEOAS navigation links for the resource, if available"),
13
13
  result: z.record(z.string(), z.unknown()).describe("Payload fields returned by the completed async task")
14
- }).describe("Response model for the payload returned by a completed async task.")
14
+ }).passthrough().describe("Response model for the payload returned by a completed async task.")
15
15
  });
16
16
  //#endregion
17
17
  export { netsuiteAsyncGetJobTaskResult };
@@ -1 +1 @@
1
- {"version":3,"file":"async-get-job-task-result.mjs","names":[],"sources":["../../src/actions/async-get-job-task-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteAsyncGetJobTaskResultInput = z.object({\n jobId: z.string().describe(\"The async job ID returned in the Location header when the request was submitted with Prefer: respond-async.\"),\n taskId: z.string().describe(\"The task ID for the submitted job, obtained via the async task endpoints for the given job.\"),\n}).describe(\"Request model for retrieving the result of a completed async task.\");\nexport const NetsuiteAsyncGetJobTaskResultOutput = z.object({\n links: z.array(z.object({})).describe(\"HATEOAS navigation links for the resource, if available\"),\n result: z.record(z.string(), z.unknown()).describe(\"Payload fields returned by the completed async task\"),\n}).describe(\"Response model for the payload returned by a completed async task.\");\n\nexport const netsuiteAsyncGetJobTaskResult = action(\"NETSUITE_ASYNC_GET_JOB_TASK_RESULT\", {\n slug: \"netsuite-async-get-job-task-result\",\n name: \"Async Get Job Task Result\",\n description: \"Tool to retrieve the payload result of a completed async task. Use after confirming the async job and task have completed to fetch the operation's output.\",\n input: NetsuiteAsyncGetJobTaskResultInput,\n output: NetsuiteAsyncGetJobTaskResultOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO;EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EACxI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CAC3H,CAAC,CAAC,CAAC,SAAS,oEAUH;CACP,QAViD,EAAE,OAAO;EAC1D,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;EAC/F,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD;CAC1G,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"async-get-job-task-result.mjs","names":[],"sources":["../../src/actions/async-get-job-task-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteAsyncGetJobTaskResultInput = z.object({\n jobId: z.string().describe(\"The async job ID returned in the Location header when the request was submitted with Prefer: respond-async.\"),\n taskId: z.string().describe(\"The task ID for the submitted job, obtained via the async task endpoints for the given job.\"),\n}).describe(\"Request model for retrieving the result of a completed async task.\");\nexport const NetsuiteAsyncGetJobTaskResultOutput = z.object({\n links: z.array(z.record(z.string(), z.unknown())).describe(\"HATEOAS navigation links for the resource, if available\"),\n result: z.record(z.string(), z.unknown()).describe(\"Payload fields returned by the completed async task\"),\n}).passthrough().describe(\"Response model for the payload returned by a completed async task.\");\n\nexport const netsuiteAsyncGetJobTaskResult = action(\"NETSUITE_ASYNC_GET_JOB_TASK_RESULT\", {\n slug: \"netsuite-async-get-job-task-result\",\n name: \"Async Get Job Task Result\",\n description: \"Tool to retrieve the payload result of a completed async task. Use after confirming the async job and task have completed to fetch the operation's output.\",\n input: NetsuiteAsyncGetJobTaskResultInput,\n output: NetsuiteAsyncGetJobTaskResultOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO;EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EACxI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CAC3H,CAAC,CAAC,CAAC,SAAS,oEAUH;CACP,QAViD,EAAE,OAAO;EAC1D,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;EACpH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const NetsuiteAsyncGetJobTaskInput = zod.z.object({ job_id: zod.z.string().descr
5
5
  const NetsuiteAsyncGetJobTaskOutput = zod.z.object({
6
6
  task_id: zod.z.string().describe("Identifier of the task reference for this asynchronous job.").nullable(),
7
7
  location: zod.z.string().describe("URL to the specific task resource for this asynchronous job.").nullable()
8
- }).describe("Response model containing the task resource URL and identifier for an asynchronous job.");
8
+ }).passthrough().describe("Response model containing the task resource URL and identifier for an asynchronous job.");
9
9
  const netsuiteAsyncGetJobTask = require_action.action("NETSUITE_ASYNC_GET_JOB_TASK", {
10
10
  slug: "netsuite-async-get-job-task",
11
11
  name: "Get Async Job Task",
@@ -1 +1 @@
1
- {"version":3,"file":"async-get-job-task.cjs","names":["z","action"],"sources":["../../src/actions/async-get-job-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteAsyncGetJobTaskInput = z.object({\n job_id: z.string().describe(\"Internal ID of the asynchronous job returned when initiating a request with Prefer: respond-async.\"),\n}).describe(\"Request model for retrieving the task reference of an asynchronous job.\");\nexport const NetsuiteAsyncGetJobTaskOutput = z.object({\n task_id: z.string().describe(\"Identifier of the task reference for this asynchronous job.\").nullable(),\n location: z.string().describe(\"URL to the specific task resource for this asynchronous job.\").nullable(),\n}).describe(\"Response model containing the task resource URL and identifier for an asynchronous job.\");\n\nexport const netsuiteAsyncGetJobTask = action(\"NETSUITE_ASYNC_GET_JOB_TASK\", {\n slug: \"netsuite-async-get-job-task\",\n name: \"Get Async Job Task\",\n description: \"Retrieves the task reference (task ID and URL) for an asynchronous job in NetSuite. Use this action after submitting an async request with 'Prefer: respond-async' header and receiving a job_id in the Location header. The task ID is required to retrieve the job's result using the async get job task result action. Typical workflow: 1) Submit async request → 2) Get job_id → 3) Use this action to get task_id → 4) Poll job status → 5) Retrieve results with task_id.\",\n input: NetsuiteAsyncGetJobTaskInput,\n output: NetsuiteAsyncGetJobTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAClI,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,yFAAyF;AAErG,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"async-get-job-task.cjs","names":["z","action"],"sources":["../../src/actions/async-get-job-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteAsyncGetJobTaskInput = z.object({\n job_id: z.string().describe(\"Internal ID of the asynchronous job returned when initiating a request with Prefer: respond-async.\"),\n}).describe(\"Request model for retrieving the task reference of an asynchronous job.\");\nexport const NetsuiteAsyncGetJobTaskOutput = z.object({\n task_id: z.string().describe(\"Identifier of the task reference for this asynchronous job.\").nullable(),\n location: z.string().describe(\"URL to the specific task resource for this asynchronous job.\").nullable(),\n}).passthrough().describe(\"Response model containing the task resource URL and identifier for an asynchronous job.\");\n\nexport const netsuiteAsyncGetJobTask = action(\"NETSUITE_ASYNC_GET_JOB_TASK\", {\n slug: \"netsuite-async-get-job-task\",\n name: \"Get Async Job Task\",\n description: \"Retrieves the task reference (task ID and URL) for an asynchronous job in NetSuite. Use this action after submitting an async request with 'Prefer: respond-async' header and receiving a job_id in the Location header. The task ID is required to retrieve the job's result using the async get job task result action. Typical workflow: 1) Submit async request → 2) Get job_id → 3) Use this action to get task_id → 4) Poll job status → 5) Retrieve results with task_id.\",\n input: NetsuiteAsyncGetJobTaskInput,\n output: NetsuiteAsyncGetJobTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAClI,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yFAAyF;AAEnH,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,7 +7,7 @@ declare const NetsuiteAsyncGetJobTaskInput: z.ZodObject<{
7
7
  declare const NetsuiteAsyncGetJobTaskOutput: z.ZodObject<{
8
8
  task_id: z.ZodNullable<z.ZodString>;
9
9
  location: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const netsuiteAsyncGetJobTask: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  job_id: string;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,7 +7,7 @@ declare const NetsuiteAsyncGetJobTaskInput: z.ZodObject<{
7
7
  declare const NetsuiteAsyncGetJobTaskOutput: z.ZodObject<{
8
8
  task_id: z.ZodNullable<z.ZodString>;
9
9
  location: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const netsuiteAsyncGetJobTask: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  job_id: string;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -8,7 +8,7 @@ const netsuiteAsyncGetJobTask = action("NETSUITE_ASYNC_GET_JOB_TASK", {
8
8
  output: z.object({
9
9
  task_id: z.string().describe("Identifier of the task reference for this asynchronous job.").nullable(),
10
10
  location: z.string().describe("URL to the specific task resource for this asynchronous job.").nullable()
11
- }).describe("Response model containing the task resource URL and identifier for an asynchronous job.")
11
+ }).passthrough().describe("Response model containing the task resource URL and identifier for an asynchronous job.")
12
12
  });
13
13
  //#endregion
14
14
  export { netsuiteAsyncGetJobTask };
@@ -1 +1 @@
1
- {"version":3,"file":"async-get-job-task.mjs","names":[],"sources":["../../src/actions/async-get-job-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteAsyncGetJobTaskInput = z.object({\n job_id: z.string().describe(\"Internal ID of the asynchronous job returned when initiating a request with Prefer: respond-async.\"),\n}).describe(\"Request model for retrieving the task reference of an asynchronous job.\");\nexport const NetsuiteAsyncGetJobTaskOutput = z.object({\n task_id: z.string().describe(\"Identifier of the task reference for this asynchronous job.\").nullable(),\n location: z.string().describe(\"URL to the specific task resource for this asynchronous job.\").nullable(),\n}).describe(\"Response model containing the task resource URL and identifier for an asynchronous job.\");\n\nexport const netsuiteAsyncGetJobTask = action(\"NETSUITE_ASYNC_GET_JOB_TASK\", {\n slug: \"netsuite-async-get-job-task\",\n name: \"Get Async Job Task\",\n description: \"Retrieves the task reference (task ID and URL) for an asynchronous job in NetSuite. Use this action after submitting an async request with 'Prefer: respond-async' header and receiving a job_id in the Location header. The task ID is required to retrieve the job's result using the async get job task result action. Typical workflow: 1) Submit async request → 2) Get job_id → 3) Use this action to get task_id → 4) Poll job status → 5) Retrieve results with task_id.\",\n input: NetsuiteAsyncGetJobTaskInput,\n output: NetsuiteAsyncGetJobTaskOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAClI,CAAC,CAAC,CAAC,SAAS,yEAUH;CACP,QAV2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,yFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"async-get-job-task.mjs","names":[],"sources":["../../src/actions/async-get-job-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteAsyncGetJobTaskInput = z.object({\n job_id: z.string().describe(\"Internal ID of the asynchronous job returned when initiating a request with Prefer: respond-async.\"),\n}).describe(\"Request model for retrieving the task reference of an asynchronous job.\");\nexport const NetsuiteAsyncGetJobTaskOutput = z.object({\n task_id: z.string().describe(\"Identifier of the task reference for this asynchronous job.\").nullable(),\n location: z.string().describe(\"URL to the specific task resource for this asynchronous job.\").nullable(),\n}).passthrough().describe(\"Response model containing the task resource URL and identifier for an asynchronous job.\");\n\nexport const netsuiteAsyncGetJobTask = action(\"NETSUITE_ASYNC_GET_JOB_TASK\", {\n slug: \"netsuite-async-get-job-task\",\n name: \"Get Async Job Task\",\n description: \"Retrieves the task reference (task ID and URL) for an asynchronous job in NetSuite. Use this action after submitting an async request with 'Prefer: respond-async' header and receiving a job_id in the Location header. The task ID is required to retrieve the job's result using the async get job task result action. Typical workflow: 1) Submit async request → 2) Get job_id → 3) Use this action to get task_id → 4) Poll job status → 5) Retrieve results with task_id.\",\n input: NetsuiteAsyncGetJobTaskInput,\n output: NetsuiteAsyncGetJobTaskOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAClI,CAAC,CAAC,CAAC,SAAS,yEAUH;CACP,QAV2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yFAOhB;AACV,CAAC"}
@@ -20,7 +20,7 @@ const NetsuiteCreateCustomerPaymentInput = zod.z.object({
20
20
  const NetsuiteCreateCustomerPaymentOutput = zod.z.object({
21
21
  location: zod.z.string().describe("URL of the created Customer Payment record or async job status.").nullable().optional(),
22
22
  preference_applied: zod.z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
23
- }).describe("Response model for creating a Customer Payment record.");
23
+ }).passthrough().describe("Response model for creating a Customer Payment record.");
24
24
  const netsuiteCreateCustomerPayment = require_action.action("NETSUITE_CREATE_CUSTOMER_PAYMENT", {
25
25
  slug: "netsuite-create-customer-payment",
26
26
  name: "Create Customer Payment",
@@ -1 +1 @@
1
- {"version":3,"file":"create-customer-payment.cjs","names":["z","action"],"sources":["../../src/actions/create-customer-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateCustomerPaymentInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Customer payment record data. Required fields: 'account' (deposit account, typically Undeposited Funds), 'customer' (customer ID reference), and 'payment' (payment amount). Optional: 'memo', 'toBeEmailed', 'apply' (sublist to link payment to specific invoices with doc/line/apply/amount fields).\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Customer Payment record.\");\nexport const NetsuiteCreateCustomerPaymentOutput = z.object({\n location: z.string().describe(\"URL of the created Customer Payment record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating a Customer Payment record.\");\n\nexport const netsuiteCreateCustomerPayment = action(\"NETSUITE_CREATE_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-create-customer-payment\",\n name: \"Create Customer Payment\",\n description: \"Creates a customer payment record in NetSuite. Requires account (deposit account), customer reference, and payment amount. Optionally link payment to specific invoices via the 'apply' sublist. Returns the URL of the created payment record.\",\n input: NetsuiteCreateCustomerPaymentInput,\n output: NetsuiteCreateCustomerPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ySAAyS;CAC1V,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3J,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-customer-payment.cjs","names":["z","action"],"sources":["../../src/actions/create-customer-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateCustomerPaymentInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Customer payment record data. Required fields: 'account' (deposit account, typically Undeposited Funds), 'customer' (customer ID reference), and 'payment' (payment amount). Optional: 'memo', 'toBeEmailed', 'apply' (sublist to link payment to specific invoices with doc/line/apply/amount fields).\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Customer Payment record.\");\nexport const NetsuiteCreateCustomerPaymentOutput = z.object({\n location: z.string().describe(\"URL of the created Customer Payment record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Customer Payment record.\");\n\nexport const netsuiteCreateCustomerPayment = action(\"NETSUITE_CREATE_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-create-customer-payment\",\n name: \"Create Customer Payment\",\n description: \"Creates a customer payment record in NetSuite. Requires account (deposit account), customer reference, and payment amount. Optionally link payment to specific invoices via the 'apply' sublist. Returns the URL of the created payment record.\",\n input: NetsuiteCreateCustomerPaymentInput,\n output: NetsuiteCreateCustomerPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ySAAyS;CAC1V,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3J,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -20,7 +20,7 @@ declare const NetsuiteCreateCustomerPaymentInput: z.ZodObject<{
20
20
  declare const NetsuiteCreateCustomerPaymentOutput: z.ZodObject<{
21
21
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const netsuiteCreateCustomerPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  body: Record<string, unknown>;
26
26
  Prefer?: string | undefined;
@@ -20,7 +20,7 @@ declare const NetsuiteCreateCustomerPaymentInput: z.ZodObject<{
20
20
  declare const NetsuiteCreateCustomerPaymentOutput: z.ZodObject<{
21
21
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const netsuiteCreateCustomerPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  body: Record<string, unknown>;
26
26
  Prefer?: string | undefined;
@@ -23,7 +23,7 @@ const netsuiteCreateCustomerPayment = action("NETSUITE_CREATE_CUSTOMER_PAYMENT",
23
23
  output: z.object({
24
24
  location: z.string().describe("URL of the created Customer Payment record or async job status.").nullable().optional(),
25
25
  preference_applied: z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
26
- }).describe("Response model for creating a Customer Payment record.")
26
+ }).passthrough().describe("Response model for creating a Customer Payment record.")
27
27
  });
28
28
  //#endregion
29
29
  export { netsuiteCreateCustomerPayment };
@@ -1 +1 @@
1
- {"version":3,"file":"create-customer-payment.mjs","names":[],"sources":["../../src/actions/create-customer-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateCustomerPaymentInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Customer payment record data. Required fields: 'account' (deposit account, typically Undeposited Funds), 'customer' (customer ID reference), and 'payment' (payment amount). Optional: 'memo', 'toBeEmailed', 'apply' (sublist to link payment to specific invoices with doc/line/apply/amount fields).\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Customer Payment record.\");\nexport const NetsuiteCreateCustomerPaymentOutput = z.object({\n location: z.string().describe(\"URL of the created Customer Payment record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating a Customer Payment record.\");\n\nexport const netsuiteCreateCustomerPayment = action(\"NETSUITE_CREATE_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-create-customer-payment\",\n name: \"Create Customer Payment\",\n description: \"Creates a customer payment record in NetSuite. Requires account (deposit account), customer reference, and payment amount. Optionally link payment to specific invoices via the 'apply' sublist. Returns the URL of the created payment record.\",\n input: NetsuiteCreateCustomerPaymentInput,\n output: NetsuiteCreateCustomerPaymentOutput,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ySAAyS;EAC1V,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3J,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAViD,EAAE,OAAO;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-customer-payment.mjs","names":[],"sources":["../../src/actions/create-customer-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateCustomerPaymentInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Customer payment record data. Required fields: 'account' (deposit account, typically Undeposited Funds), 'customer' (customer ID reference), and 'payment' (payment amount). Optional: 'memo', 'toBeEmailed', 'apply' (sublist to link payment to specific invoices with doc/line/apply/amount fields).\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Customer Payment record.\");\nexport const NetsuiteCreateCustomerPaymentOutput = z.object({\n location: z.string().describe(\"URL of the created Customer Payment record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Customer Payment record.\");\n\nexport const netsuiteCreateCustomerPayment = action(\"NETSUITE_CREATE_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-create-customer-payment\",\n name: \"Create Customer Payment\",\n description: \"Creates a customer payment record in NetSuite. Requires account (deposit account), customer reference, and payment amount. Optionally link payment to specific invoices via the 'apply' sublist. Returns the URL of the created payment record.\",\n input: NetsuiteCreateCustomerPaymentInput,\n output: NetsuiteCreateCustomerPaymentOutput,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ySAAyS;EAC1V,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3J,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAViD,EAAE,OAAO;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -20,7 +20,7 @@ const NetsuiteCreateCustomerInput = zod.z.object({
20
20
  const NetsuiteCreateCustomerOutput = zod.z.object({
21
21
  location: zod.z.string().describe("URL of the created Customer record or async job status.").nullable().optional(),
22
22
  preference_applied: zod.z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
23
- }).describe("Response model for creating a Customer record.");
23
+ }).passthrough().describe("Response model for creating a Customer record.");
24
24
  const netsuiteCreateCustomer = require_action.action("NETSUITE_CREATE_CUSTOMER", {
25
25
  slug: "netsuite-create-customer",
26
26
  name: "Create Customer",
@@ -1 +1 @@
1
- {"version":3,"file":"create-customer.cjs","names":["z","action"],"sources":["../../src/actions/create-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateCustomerInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object with customer data. Required fields: 'subsidiary' (object with 'id'), and either 'companyName' (for company customers) or 'firstName'+'lastName' (for individual customers). Optional fields include: 'email', 'phone', 'isPerson' (set to 'T' for individuals), 'comments', etc.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated list of sublist names (e.g., 'contacts', 'addressbook') to fully replace rather than merge with existing data. Only applicable when updating existing records.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls how NetSuite handles invalid property names in the request body. 'Error' (default) rejects requests with invalid names, 'Warning' accepts but warns, 'Ignore Warning' silently ignores invalid names.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls how NetSuite handles invalid property values in the request body. 'Error' (default) rejects requests with invalid values, 'Warning' accepts but warns, 'Ignore Error' attempts to proceed despite invalid values.\").optional(),\n}).describe(\"Request model for creating a NetSuite Customer record.\");\nexport const NetsuiteCreateCustomerOutput = z.object({\n location: z.string().describe(\"URL of the created Customer record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating a Customer record.\");\n\nexport const netsuiteCreateCustomer = action(\"NETSUITE_CREATE_CUSTOMER\", {\n slug: \"netsuite-create-customer\",\n name: \"Create Customer\",\n description: \"Creates a new customer record in NetSuite. Requires subsidiary ID and either company name (for business customers) or first/last name (for individual customers). Returns the location URL of the created customer record, or an async job URL if using async mode.\",\n input: NetsuiteCreateCustomerInput,\n output: NetsuiteCreateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+RAA+R;CAChV,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;CACxN,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,gNAAgN,CAAC,CAAC,SAAS;CACxT,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAc,CAAC,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;AACrU,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-customer.cjs","names":["z","action"],"sources":["../../src/actions/create-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateCustomerInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object with customer data. Required fields: 'subsidiary' (object with 'id'), and either 'companyName' (for company customers) or 'firstName'+'lastName' (for individual customers). Optional fields include: 'email', 'phone', 'isPerson' (set to 'T' for individuals), 'comments', etc.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated list of sublist names (e.g., 'contacts', 'addressbook') to fully replace rather than merge with existing data. Only applicable when updating existing records.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls how NetSuite handles invalid property names in the request body. 'Error' (default) rejects requests with invalid names, 'Warning' accepts but warns, 'Ignore Warning' silently ignores invalid names.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls how NetSuite handles invalid property values in the request body. 'Error' (default) rejects requests with invalid values, 'Warning' accepts but warns, 'Ignore Error' attempts to proceed despite invalid values.\").optional(),\n}).describe(\"Request model for creating a NetSuite Customer record.\");\nexport const NetsuiteCreateCustomerOutput = z.object({\n location: z.string().describe(\"URL of the created Customer record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Customer record.\");\n\nexport const netsuiteCreateCustomer = action(\"NETSUITE_CREATE_CUSTOMER\", {\n slug: \"netsuite-create-customer\",\n name: \"Create Customer\",\n description: \"Creates a new customer record in NetSuite. Requires subsidiary ID and either company name (for business customers) or first/last name (for individual customers). Returns the location URL of the created customer record, or an async job URL if using async mode.\",\n input: NetsuiteCreateCustomerInput,\n output: NetsuiteCreateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+RAA+R;CAChV,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;CACxN,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,gNAAgN,CAAC,CAAC,SAAS;CACxT,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAc,CAAC,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;AACrU,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -20,7 +20,7 @@ declare const NetsuiteCreateCustomerInput: z.ZodObject<{
20
20
  declare const NetsuiteCreateCustomerOutput: z.ZodObject<{
21
21
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const netsuiteCreateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  body: Record<string, unknown>;
26
26
  Prefer?: string | undefined;
@@ -20,7 +20,7 @@ declare const NetsuiteCreateCustomerInput: z.ZodObject<{
20
20
  declare const NetsuiteCreateCustomerOutput: z.ZodObject<{
21
21
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const netsuiteCreateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  body: Record<string, unknown>;
26
26
  Prefer?: string | undefined;
@@ -23,7 +23,7 @@ const netsuiteCreateCustomer = action("NETSUITE_CREATE_CUSTOMER", {
23
23
  output: z.object({
24
24
  location: z.string().describe("URL of the created Customer record or async job status.").nullable().optional(),
25
25
  preference_applied: z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
26
- }).describe("Response model for creating a Customer record.")
26
+ }).passthrough().describe("Response model for creating a Customer record.")
27
27
  });
28
28
  //#endregion
29
29
  export { netsuiteCreateCustomer };
@@ -1 +1 @@
1
- {"version":3,"file":"create-customer.mjs","names":[],"sources":["../../src/actions/create-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateCustomerInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object with customer data. Required fields: 'subsidiary' (object with 'id'), and either 'companyName' (for company customers) or 'firstName'+'lastName' (for individual customers). Optional fields include: 'email', 'phone', 'isPerson' (set to 'T' for individuals), 'comments', etc.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated list of sublist names (e.g., 'contacts', 'addressbook') to fully replace rather than merge with existing data. Only applicable when updating existing records.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls how NetSuite handles invalid property names in the request body. 'Error' (default) rejects requests with invalid names, 'Warning' accepts but warns, 'Ignore Warning' silently ignores invalid names.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls how NetSuite handles invalid property values in the request body. 'Error' (default) rejects requests with invalid values, 'Warning' accepts but warns, 'Ignore Error' attempts to proceed despite invalid values.\").optional(),\n}).describe(\"Request model for creating a NetSuite Customer record.\");\nexport const NetsuiteCreateCustomerOutput = z.object({\n location: z.string().describe(\"URL of the created Customer record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating a Customer record.\");\n\nexport const netsuiteCreateCustomer = action(\"NETSUITE_CREATE_CUSTOMER\", {\n slug: \"netsuite-create-customer\",\n name: \"Create Customer\",\n description: \"Creates a new customer record in NetSuite. Requires subsidiary ID and either company name (for business customers) or first/last name (for individual customers). Returns the location URL of the created customer record, or an async job URL if using async mode.\",\n input: NetsuiteCreateCustomerInput,\n output: NetsuiteCreateCustomerOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+RAA+R;EAChV,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;EACxN,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,gNAAgN,CAAC,CAAC,SAAS;EACxT,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CACrU,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAV0C,EAAE,OAAO;EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-customer.mjs","names":[],"sources":["../../src/actions/create-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateCustomerInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object with customer data. Required fields: 'subsidiary' (object with 'id'), and either 'companyName' (for company customers) or 'firstName'+'lastName' (for individual customers). Optional fields include: 'email', 'phone', 'isPerson' (set to 'T' for individuals), 'comments', etc.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated list of sublist names (e.g., 'contacts', 'addressbook') to fully replace rather than merge with existing data. Only applicable when updating existing records.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls how NetSuite handles invalid property names in the request body. 'Error' (default) rejects requests with invalid names, 'Warning' accepts but warns, 'Ignore Warning' silently ignores invalid names.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls how NetSuite handles invalid property values in the request body. 'Error' (default) rejects requests with invalid values, 'Warning' accepts but warns, 'Ignore Error' attempts to proceed despite invalid values.\").optional(),\n}).describe(\"Request model for creating a NetSuite Customer record.\");\nexport const NetsuiteCreateCustomerOutput = z.object({\n location: z.string().describe(\"URL of the created Customer record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Customer record.\");\n\nexport const netsuiteCreateCustomer = action(\"NETSUITE_CREATE_CUSTOMER\", {\n slug: \"netsuite-create-customer\",\n name: \"Create Customer\",\n description: \"Creates a new customer record in NetSuite. Requires subsidiary ID and either company name (for business customers) or first/last name (for individual customers). Returns the location URL of the created customer record, or an async job URL if using async mode.\",\n input: NetsuiteCreateCustomerInput,\n output: NetsuiteCreateCustomerOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+RAA+R;EAChV,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;EACxN,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,gNAAgN,CAAC,CAAC,SAAS;EACxT,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CACrU,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAV0C,EAAE,OAAO;EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -20,7 +20,7 @@ const NetsuiteCreateEmployeeInput = zod.z.object({
20
20
  const NetsuiteCreateEmployeeOutput = zod.z.object({
21
21
  location: zod.z.string().describe("URL of the created Employee record or async job status.").nullable().optional(),
22
22
  preference_applied: zod.z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
23
- }).describe("Response model for creating an Employee record.");
23
+ }).passthrough().describe("Response model for creating an Employee record.");
24
24
  const netsuiteCreateEmployee = require_action.action("NETSUITE_CREATE_EMPLOYEE", {
25
25
  slug: "netsuite-create-employee",
26
26
  name: "Create Employee",
@@ -1 +1 @@
1
- {"version":3,"file":"create-employee.cjs","names":["z","action"],"sources":["../../src/actions/create-employee.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateEmployeeInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Employee record data. Required fields: firstName (string), lastName (string), and subsidiary (object with id). Optional fields include email, phone, title, department, supervisor, comments, etc. Example: {'firstName': 'John', 'lastName': 'Doe', 'subsidiary': {'id': '1'}}\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Employee record.\");\nexport const NetsuiteCreateEmployeeOutput = z.object({\n location: z.string().describe(\"URL of the created Employee record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating an Employee record.\");\n\nexport const netsuiteCreateEmployee = action(\"NETSUITE_CREATE_EMPLOYEE\", {\n slug: \"netsuite-create-employee\",\n name: \"Create Employee\",\n description: \"Creates a new employee record in NetSuite. Required: firstName, lastName, and subsidiary ID. Returns the URL of the created employee in the location field. Supports async creation with 'respond-async' preference.\",\n input: NetsuiteCreateEmployeeInput,\n output: NetsuiteCreateEmployeeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iRAAiR;CAClU,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnJ,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-employee.cjs","names":["z","action"],"sources":["../../src/actions/create-employee.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateEmployeeInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Employee record data. Required fields: firstName (string), lastName (string), and subsidiary (object with id). Optional fields include email, phone, title, department, supervisor, comments, etc. Example: {'firstName': 'John', 'lastName': 'Doe', 'subsidiary': {'id': '1'}}\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Employee record.\");\nexport const NetsuiteCreateEmployeeOutput = z.object({\n location: z.string().describe(\"URL of the created Employee record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating an Employee record.\");\n\nexport const netsuiteCreateEmployee = action(\"NETSUITE_CREATE_EMPLOYEE\", {\n slug: \"netsuite-create-employee\",\n name: \"Create Employee\",\n description: \"Creates a new employee record in NetSuite. Required: firstName, lastName, and subsidiary ID. Returns the URL of the created employee in the location field. Supports async creation with 'respond-async' preference.\",\n input: NetsuiteCreateEmployeeInput,\n output: NetsuiteCreateEmployeeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iRAAiR;CAClU,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnJ,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -20,7 +20,7 @@ declare const NetsuiteCreateEmployeeInput: z.ZodObject<{
20
20
  declare const NetsuiteCreateEmployeeOutput: z.ZodObject<{
21
21
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const netsuiteCreateEmployee: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  body: Record<string, unknown>;
26
26
  Prefer?: string | undefined;
@@ -20,7 +20,7 @@ declare const NetsuiteCreateEmployeeInput: z.ZodObject<{
20
20
  declare const NetsuiteCreateEmployeeOutput: z.ZodObject<{
21
21
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const netsuiteCreateEmployee: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  body: Record<string, unknown>;
26
26
  Prefer?: string | undefined;
@@ -23,7 +23,7 @@ const netsuiteCreateEmployee = action("NETSUITE_CREATE_EMPLOYEE", {
23
23
  output: z.object({
24
24
  location: z.string().describe("URL of the created Employee record or async job status.").nullable().optional(),
25
25
  preference_applied: z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
26
- }).describe("Response model for creating an Employee record.")
26
+ }).passthrough().describe("Response model for creating an Employee record.")
27
27
  });
28
28
  //#endregion
29
29
  export { netsuiteCreateEmployee };
@@ -1 +1 @@
1
- {"version":3,"file":"create-employee.mjs","names":[],"sources":["../../src/actions/create-employee.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateEmployeeInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Employee record data. Required fields: firstName (string), lastName (string), and subsidiary (object with id). Optional fields include email, phone, title, department, supervisor, comments, etc. Example: {'firstName': 'John', 'lastName': 'Doe', 'subsidiary': {'id': '1'}}\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Employee record.\");\nexport const NetsuiteCreateEmployeeOutput = z.object({\n location: z.string().describe(\"URL of the created Employee record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating an Employee record.\");\n\nexport const netsuiteCreateEmployee = action(\"NETSUITE_CREATE_EMPLOYEE\", {\n slug: \"netsuite-create-employee\",\n name: \"Create Employee\",\n description: \"Creates a new employee record in NetSuite. Required: firstName, lastName, and subsidiary ID. Returns the URL of the created employee in the location field. Supports async creation with 'respond-async' preference.\",\n input: NetsuiteCreateEmployeeInput,\n output: NetsuiteCreateEmployeeOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iRAAiR;EAClU,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACnJ,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAV0C,EAAE,OAAO;EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-employee.mjs","names":[],"sources":["../../src/actions/create-employee.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateEmployeeInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Employee record data. Required fields: firstName (string), lastName (string), and subsidiary (object with id). Optional fields include email, phone, title, department, supervisor, comments, etc. Example: {'firstName': 'John', 'lastName': 'Doe', 'subsidiary': {'id': '1'}}\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Employee record.\");\nexport const NetsuiteCreateEmployeeOutput = z.object({\n location: z.string().describe(\"URL of the created Employee record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating an Employee record.\");\n\nexport const netsuiteCreateEmployee = action(\"NETSUITE_CREATE_EMPLOYEE\", {\n slug: \"netsuite-create-employee\",\n name: \"Create Employee\",\n description: \"Creates a new employee record in NetSuite. Required: firstName, lastName, and subsidiary ID. Returns the URL of the created employee in the location field. Supports async creation with 'respond-async' preference.\",\n input: NetsuiteCreateEmployeeInput,\n output: NetsuiteCreateEmployeeOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iRAAiR;EAClU,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACnJ,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAV0C,EAAE,OAAO;EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -20,7 +20,7 @@ const NetsuiteCreateInvoiceInput = zod.z.object({
20
20
  const NetsuiteCreateInvoiceOutput = zod.z.object({
21
21
  location: zod.z.string().describe("URL of the created Invoice record or async job status.").nullable().optional(),
22
22
  "Preference-Applied": zod.z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
23
- }).describe("Response model for creating an Invoice record.");
23
+ }).passthrough().describe("Response model for creating an Invoice record.");
24
24
  const netsuiteCreateInvoice = require_action.action("NETSUITE_CREATE_INVOICE", {
25
25
  slug: "netsuite-create-invoice",
26
26
  name: "Create Invoice",
@@ -1 +1 @@
1
- {"version":3,"file":"create-invoice.cjs","names":["z","action"],"sources":["../../src/actions/create-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateInvoiceInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite Invoice metadata; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Invoice record.\");\nexport const NetsuiteCreateInvoiceOutput = z.object({\n location: z.string().describe(\"URL of the created Invoice record or async job status.\").nullable().optional(),\n \"Preference-Applied\": z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating an Invoice record.\");\n\nexport const netsuiteCreateInvoice = action(\"NETSUITE_CREATE_INVOICE\", {\n slug: \"netsuite-create-invoice\",\n name: \"Create Invoice\",\n description: \"Tool to create a new invoice record. Use when you have all required invoice details and want to add them to NetSuite.\",\n input: NetsuiteCreateInvoiceInput,\n output: NetsuiteCreateInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E;CAChI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3J,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-invoice.cjs","names":["z","action"],"sources":["../../src/actions/create-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateInvoiceInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite Invoice metadata; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Invoice record.\");\nexport const NetsuiteCreateInvoiceOutput = z.object({\n location: z.string().describe(\"URL of the created Invoice record or async job status.\").nullable().optional(),\n \"Preference-Applied\": z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating an Invoice record.\");\n\nexport const netsuiteCreateInvoice = action(\"NETSUITE_CREATE_INVOICE\", {\n slug: \"netsuite-create-invoice\",\n name: \"Create Invoice\",\n description: \"Tool to create a new invoice record. Use when you have all required invoice details and want to add them to NetSuite.\",\n input: NetsuiteCreateInvoiceInput,\n output: NetsuiteCreateInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E;CAChI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3J,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -20,7 +20,7 @@ declare const NetsuiteCreateInvoiceInput: z.ZodObject<{
20
20
  declare const NetsuiteCreateInvoiceOutput: z.ZodObject<{
21
21
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  "Preference-Applied": z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const netsuiteCreateInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  body: Record<string, unknown>;
26
26
  Prefer?: string | undefined;
@@ -20,7 +20,7 @@ declare const NetsuiteCreateInvoiceInput: z.ZodObject<{
20
20
  declare const NetsuiteCreateInvoiceOutput: z.ZodObject<{
21
21
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  "Preference-Applied": z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const netsuiteCreateInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  body: Record<string, unknown>;
26
26
  Prefer?: string | undefined;