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