@keystrokehq/netsuite 0.1.2 → 0.1.4

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 (573) hide show
  1. package/dist/actions/async-get-job-status.cjs +3 -3
  2. package/dist/actions/async-get-job-status.cjs.map +1 -1
  3. package/dist/actions/async-get-job-status.d.cts +17 -5
  4. package/dist/actions/async-get-job-status.d.mts +17 -5
  5. package/dist/actions/async-get-job-status.mjs +3 -3
  6. package/dist/actions/async-get-job-status.mjs.map +1 -1
  7. package/dist/actions/async-get-job-task-result.cjs +2 -2
  8. package/dist/actions/async-get-job-task-result.cjs.map +1 -1
  9. package/dist/actions/async-get-job-task-result.d.cts +15 -3
  10. package/dist/actions/async-get-job-task-result.d.mts +15 -3
  11. package/dist/actions/async-get-job-task-result.mjs +2 -2
  12. package/dist/actions/async-get-job-task-result.mjs.map +1 -1
  13. package/dist/actions/async-get-job-task.cjs +1 -1
  14. package/dist/actions/async-get-job-task.cjs.map +1 -1
  15. package/dist/actions/async-get-job-task.d.cts +14 -2
  16. package/dist/actions/async-get-job-task.d.mts +14 -2
  17. package/dist/actions/async-get-job-task.mjs +1 -1
  18. package/dist/actions/async-get-job-task.mjs.map +1 -1
  19. package/dist/actions/create-customer-payment.cjs +1 -1
  20. package/dist/actions/create-customer-payment.cjs.map +1 -1
  21. package/dist/actions/create-customer-payment.d.cts +14 -2
  22. package/dist/actions/create-customer-payment.d.cts.map +1 -1
  23. package/dist/actions/create-customer-payment.d.mts +14 -2
  24. package/dist/actions/create-customer-payment.d.mts.map +1 -1
  25. package/dist/actions/create-customer-payment.mjs +1 -1
  26. package/dist/actions/create-customer-payment.mjs.map +1 -1
  27. package/dist/actions/create-customer.cjs +1 -1
  28. package/dist/actions/create-customer.cjs.map +1 -1
  29. package/dist/actions/create-customer.d.cts +14 -2
  30. package/dist/actions/create-customer.d.cts.map +1 -1
  31. package/dist/actions/create-customer.d.mts +14 -2
  32. package/dist/actions/create-customer.d.mts.map +1 -1
  33. package/dist/actions/create-customer.mjs +1 -1
  34. package/dist/actions/create-customer.mjs.map +1 -1
  35. package/dist/actions/create-employee.cjs +1 -1
  36. package/dist/actions/create-employee.cjs.map +1 -1
  37. package/dist/actions/create-employee.d.cts +14 -2
  38. package/dist/actions/create-employee.d.cts.map +1 -1
  39. package/dist/actions/create-employee.d.mts +14 -2
  40. package/dist/actions/create-employee.d.mts.map +1 -1
  41. package/dist/actions/create-employee.mjs +1 -1
  42. package/dist/actions/create-employee.mjs.map +1 -1
  43. package/dist/actions/create-invoice.cjs +1 -1
  44. package/dist/actions/create-invoice.cjs.map +1 -1
  45. package/dist/actions/create-invoice.d.cts +14 -2
  46. package/dist/actions/create-invoice.d.cts.map +1 -1
  47. package/dist/actions/create-invoice.d.mts +14 -2
  48. package/dist/actions/create-invoice.d.mts.map +1 -1
  49. package/dist/actions/create-invoice.mjs +1 -1
  50. package/dist/actions/create-invoice.mjs.map +1 -1
  51. package/dist/actions/create-item.cjs +1 -1
  52. package/dist/actions/create-item.cjs.map +1 -1
  53. package/dist/actions/create-item.d.cts +14 -2
  54. package/dist/actions/create-item.d.cts.map +1 -1
  55. package/dist/actions/create-item.d.mts +14 -2
  56. package/dist/actions/create-item.d.mts.map +1 -1
  57. package/dist/actions/create-item.mjs +1 -1
  58. package/dist/actions/create-item.mjs.map +1 -1
  59. package/dist/actions/create-journal-entry.cjs +1 -1
  60. package/dist/actions/create-journal-entry.cjs.map +1 -1
  61. package/dist/actions/create-journal-entry.d.cts +14 -2
  62. package/dist/actions/create-journal-entry.d.cts.map +1 -1
  63. package/dist/actions/create-journal-entry.d.mts +14 -2
  64. package/dist/actions/create-journal-entry.d.mts.map +1 -1
  65. package/dist/actions/create-journal-entry.mjs +1 -1
  66. package/dist/actions/create-journal-entry.mjs.map +1 -1
  67. package/dist/actions/create-jwt-client-assertion.cjs +1 -1
  68. package/dist/actions/create-jwt-client-assertion.cjs.map +1 -1
  69. package/dist/actions/create-jwt-client-assertion.d.cts +14 -2
  70. package/dist/actions/create-jwt-client-assertion.d.mts +14 -2
  71. package/dist/actions/create-jwt-client-assertion.mjs +1 -1
  72. package/dist/actions/create-jwt-client-assertion.mjs.map +1 -1
  73. package/dist/actions/create-purchase-order.cjs +2 -2
  74. package/dist/actions/create-purchase-order.cjs.map +1 -1
  75. package/dist/actions/create-purchase-order.d.cts +16 -3
  76. package/dist/actions/create-purchase-order.d.mts +16 -3
  77. package/dist/actions/create-purchase-order.mjs +2 -2
  78. package/dist/actions/create-purchase-order.mjs.map +1 -1
  79. package/dist/actions/create-record.cjs +1 -1
  80. package/dist/actions/create-record.cjs.map +1 -1
  81. package/dist/actions/create-record.d.cts +14 -2
  82. package/dist/actions/create-record.d.cts.map +1 -1
  83. package/dist/actions/create-record.d.mts +14 -2
  84. package/dist/actions/create-record.d.mts.map +1 -1
  85. package/dist/actions/create-record.mjs +1 -1
  86. package/dist/actions/create-record.mjs.map +1 -1
  87. package/dist/actions/create-sales-order.cjs +2 -2
  88. package/dist/actions/create-sales-order.cjs.map +1 -1
  89. package/dist/actions/create-sales-order.d.cts +16 -3
  90. package/dist/actions/create-sales-order.d.mts +16 -3
  91. package/dist/actions/create-sales-order.mjs +2 -2
  92. package/dist/actions/create-sales-order.mjs.map +1 -1
  93. package/dist/actions/create-vendor-bill.cjs +1 -1
  94. package/dist/actions/create-vendor-bill.cjs.map +1 -1
  95. package/dist/actions/create-vendor-bill.d.cts +14 -2
  96. package/dist/actions/create-vendor-bill.d.cts.map +1 -1
  97. package/dist/actions/create-vendor-bill.d.mts +14 -2
  98. package/dist/actions/create-vendor-bill.d.mts.map +1 -1
  99. package/dist/actions/create-vendor-bill.mjs +1 -1
  100. package/dist/actions/create-vendor-bill.mjs.map +1 -1
  101. package/dist/actions/create-vendor.cjs +1 -1
  102. package/dist/actions/create-vendor.cjs.map +1 -1
  103. package/dist/actions/create-vendor.d.cts +14 -2
  104. package/dist/actions/create-vendor.d.cts.map +1 -1
  105. package/dist/actions/create-vendor.d.mts +14 -2
  106. package/dist/actions/create-vendor.d.mts.map +1 -1
  107. package/dist/actions/create-vendor.mjs +1 -1
  108. package/dist/actions/create-vendor.mjs.map +1 -1
  109. package/dist/actions/delete-customer-payment.cjs +1 -1
  110. package/dist/actions/delete-customer-payment.cjs.map +1 -1
  111. package/dist/actions/delete-customer-payment.d.cts +14 -2
  112. package/dist/actions/delete-customer-payment.d.mts +14 -2
  113. package/dist/actions/delete-customer-payment.mjs +1 -1
  114. package/dist/actions/delete-customer-payment.mjs.map +1 -1
  115. package/dist/actions/delete-customer.cjs +1 -1
  116. package/dist/actions/delete-customer.cjs.map +1 -1
  117. package/dist/actions/delete-customer.d.cts +14 -2
  118. package/dist/actions/delete-customer.d.mts +14 -2
  119. package/dist/actions/delete-customer.mjs +1 -1
  120. package/dist/actions/delete-customer.mjs.map +1 -1
  121. package/dist/actions/delete-employee.cjs +1 -1
  122. package/dist/actions/delete-employee.cjs.map +1 -1
  123. package/dist/actions/delete-employee.d.cts +14 -2
  124. package/dist/actions/delete-employee.d.mts +14 -2
  125. package/dist/actions/delete-employee.mjs +1 -1
  126. package/dist/actions/delete-employee.mjs.map +1 -1
  127. package/dist/actions/delete-invoice.cjs +1 -1
  128. package/dist/actions/delete-invoice.cjs.map +1 -1
  129. package/dist/actions/delete-invoice.d.cts +14 -2
  130. package/dist/actions/delete-invoice.d.mts +14 -2
  131. package/dist/actions/delete-invoice.mjs +1 -1
  132. package/dist/actions/delete-invoice.mjs.map +1 -1
  133. package/dist/actions/delete-item-fulfillment.cjs +1 -1
  134. package/dist/actions/delete-item-fulfillment.cjs.map +1 -1
  135. package/dist/actions/delete-item-fulfillment.d.cts +14 -2
  136. package/dist/actions/delete-item-fulfillment.d.mts +14 -2
  137. package/dist/actions/delete-item-fulfillment.mjs +1 -1
  138. package/dist/actions/delete-item-fulfillment.mjs.map +1 -1
  139. package/dist/actions/delete-item-receipt.cjs +1 -1
  140. package/dist/actions/delete-item-receipt.cjs.map +1 -1
  141. package/dist/actions/delete-item-receipt.d.cts +14 -2
  142. package/dist/actions/delete-item-receipt.d.mts +14 -2
  143. package/dist/actions/delete-item-receipt.mjs +1 -1
  144. package/dist/actions/delete-item-receipt.mjs.map +1 -1
  145. package/dist/actions/delete-item.cjs +1 -1
  146. package/dist/actions/delete-item.cjs.map +1 -1
  147. package/dist/actions/delete-item.d.cts +14 -2
  148. package/dist/actions/delete-item.d.mts +14 -2
  149. package/dist/actions/delete-item.mjs +1 -1
  150. package/dist/actions/delete-item.mjs.map +1 -1
  151. package/dist/actions/delete-journal-entry.cjs +1 -1
  152. package/dist/actions/delete-journal-entry.cjs.map +1 -1
  153. package/dist/actions/delete-journal-entry.d.cts +14 -2
  154. package/dist/actions/delete-journal-entry.d.mts +14 -2
  155. package/dist/actions/delete-journal-entry.mjs +1 -1
  156. package/dist/actions/delete-journal-entry.mjs.map +1 -1
  157. package/dist/actions/delete-purchase-order.cjs +1 -1
  158. package/dist/actions/delete-purchase-order.cjs.map +1 -1
  159. package/dist/actions/delete-purchase-order.d.cts +14 -2
  160. package/dist/actions/delete-purchase-order.d.mts +14 -2
  161. package/dist/actions/delete-purchase-order.mjs +1 -1
  162. package/dist/actions/delete-purchase-order.mjs.map +1 -1
  163. package/dist/actions/delete-sales-order.cjs +1 -1
  164. package/dist/actions/delete-sales-order.cjs.map +1 -1
  165. package/dist/actions/delete-sales-order.d.cts +14 -2
  166. package/dist/actions/delete-sales-order.d.mts +14 -2
  167. package/dist/actions/delete-sales-order.mjs +1 -1
  168. package/dist/actions/delete-sales-order.mjs.map +1 -1
  169. package/dist/actions/delete-vendor-payment.cjs +1 -1
  170. package/dist/actions/delete-vendor-payment.cjs.map +1 -1
  171. package/dist/actions/delete-vendor-payment.d.cts +14 -2
  172. package/dist/actions/delete-vendor-payment.d.mts +14 -2
  173. package/dist/actions/delete-vendor-payment.mjs +1 -1
  174. package/dist/actions/delete-vendor-payment.mjs.map +1 -1
  175. package/dist/actions/execute-dataset.cjs +2 -2
  176. package/dist/actions/execute-dataset.cjs.map +1 -1
  177. package/dist/actions/execute-dataset.d.cts +15 -3
  178. package/dist/actions/execute-dataset.d.mts +15 -3
  179. package/dist/actions/execute-dataset.mjs +2 -2
  180. package/dist/actions/execute-dataset.mjs.map +1 -1
  181. package/dist/actions/get-customer-payment.cjs +2 -2
  182. package/dist/actions/get-customer-payment.cjs.map +1 -1
  183. package/dist/actions/get-customer-payment.d.cts +15 -3
  184. package/dist/actions/get-customer-payment.d.mts +15 -3
  185. package/dist/actions/get-customer-payment.mjs +2 -2
  186. package/dist/actions/get-customer-payment.mjs.map +1 -1
  187. package/dist/actions/get-customer.cjs +2 -2
  188. package/dist/actions/get-customer.cjs.map +1 -1
  189. package/dist/actions/get-customer.d.cts +15 -3
  190. package/dist/actions/get-customer.d.mts +15 -3
  191. package/dist/actions/get-customer.mjs +2 -2
  192. package/dist/actions/get-customer.mjs.map +1 -1
  193. package/dist/actions/get-datacenter-urls.cjs +1 -1
  194. package/dist/actions/get-datacenter-urls.cjs.map +1 -1
  195. package/dist/actions/get-datacenter-urls.d.cts +14 -2
  196. package/dist/actions/get-datacenter-urls.d.mts +14 -2
  197. package/dist/actions/get-datacenter-urls.mjs +1 -1
  198. package/dist/actions/get-datacenter-urls.mjs.map +1 -1
  199. package/dist/actions/get-employee.cjs +2 -2
  200. package/dist/actions/get-employee.cjs.map +1 -1
  201. package/dist/actions/get-employee.d.cts +15 -3
  202. package/dist/actions/get-employee.d.mts +15 -3
  203. package/dist/actions/get-employee.mjs +2 -2
  204. package/dist/actions/get-employee.mjs.map +1 -1
  205. package/dist/actions/get-governance-limits.cjs +1 -1
  206. package/dist/actions/get-governance-limits.cjs.map +1 -1
  207. package/dist/actions/get-governance-limits.d.cts +14 -2
  208. package/dist/actions/get-governance-limits.d.cts.map +1 -1
  209. package/dist/actions/get-governance-limits.d.mts +14 -2
  210. package/dist/actions/get-governance-limits.d.mts.map +1 -1
  211. package/dist/actions/get-governance-limits.mjs +1 -1
  212. package/dist/actions/get-governance-limits.mjs.map +1 -1
  213. package/dist/actions/get-invoice.cjs +2 -2
  214. package/dist/actions/get-invoice.cjs.map +1 -1
  215. package/dist/actions/get-invoice.d.cts +15 -3
  216. package/dist/actions/get-invoice.d.mts +15 -3
  217. package/dist/actions/get-invoice.mjs +2 -2
  218. package/dist/actions/get-invoice.mjs.map +1 -1
  219. package/dist/actions/get-item-fulfillment.cjs +2 -2
  220. package/dist/actions/get-item-fulfillment.cjs.map +1 -1
  221. package/dist/actions/get-item-fulfillment.d.cts +15 -3
  222. package/dist/actions/get-item-fulfillment.d.mts +15 -3
  223. package/dist/actions/get-item-fulfillment.mjs +2 -2
  224. package/dist/actions/get-item-fulfillment.mjs.map +1 -1
  225. package/dist/actions/get-item-receipt.cjs +2 -2
  226. package/dist/actions/get-item-receipt.cjs.map +1 -1
  227. package/dist/actions/get-item-receipt.d.cts +15 -3
  228. package/dist/actions/get-item-receipt.d.mts +15 -3
  229. package/dist/actions/get-item-receipt.mjs +2 -2
  230. package/dist/actions/get-item-receipt.mjs.map +1 -1
  231. package/dist/actions/get-item.cjs +2 -2
  232. package/dist/actions/get-item.cjs.map +1 -1
  233. package/dist/actions/get-item.d.cts +15 -3
  234. package/dist/actions/get-item.d.mts +15 -3
  235. package/dist/actions/get-item.mjs +2 -2
  236. package/dist/actions/get-item.mjs.map +1 -1
  237. package/dist/actions/get-journal-entry.cjs +2 -2
  238. package/dist/actions/get-journal-entry.cjs.map +1 -1
  239. package/dist/actions/get-journal-entry.d.cts +15 -3
  240. package/dist/actions/get-journal-entry.d.mts +15 -3
  241. package/dist/actions/get-journal-entry.mjs +2 -2
  242. package/dist/actions/get-journal-entry.mjs.map +1 -1
  243. package/dist/actions/get-purchase-order.cjs +2 -2
  244. package/dist/actions/get-purchase-order.cjs.map +1 -1
  245. package/dist/actions/get-purchase-order.d.cts +15 -3
  246. package/dist/actions/get-purchase-order.d.mts +15 -3
  247. package/dist/actions/get-purchase-order.mjs +2 -2
  248. package/dist/actions/get-purchase-order.mjs.map +1 -1
  249. package/dist/actions/get-record-metadata.cjs +1 -1
  250. package/dist/actions/get-record-metadata.cjs.map +1 -1
  251. package/dist/actions/get-record-metadata.d.cts +14 -2
  252. package/dist/actions/get-record-metadata.d.mts +14 -2
  253. package/dist/actions/get-record-metadata.mjs +1 -1
  254. package/dist/actions/get-record-metadata.mjs.map +1 -1
  255. package/dist/actions/get-reference-select-field.cjs +2 -2
  256. package/dist/actions/get-reference-select-field.cjs.map +1 -1
  257. package/dist/actions/get-reference-select-field.d.cts +15 -3
  258. package/dist/actions/get-reference-select-field.d.mts +15 -3
  259. package/dist/actions/get-reference-select-field.mjs +2 -2
  260. package/dist/actions/get-reference-select-field.mjs.map +1 -1
  261. package/dist/actions/get-sales-order.cjs +2 -2
  262. package/dist/actions/get-sales-order.cjs.map +1 -1
  263. package/dist/actions/get-sales-order.d.cts +15 -3
  264. package/dist/actions/get-sales-order.d.mts +15 -3
  265. package/dist/actions/get-sales-order.mjs +2 -2
  266. package/dist/actions/get-sales-order.mjs.map +1 -1
  267. package/dist/actions/get-server-time.cjs +1 -1
  268. package/dist/actions/get-server-time.cjs.map +1 -1
  269. package/dist/actions/get-server-time.d.cts +14 -2
  270. package/dist/actions/get-server-time.d.cts.map +1 -1
  271. package/dist/actions/get-server-time.d.mts +14 -2
  272. package/dist/actions/get-server-time.d.mts.map +1 -1
  273. package/dist/actions/get-server-time.mjs +1 -1
  274. package/dist/actions/get-server-time.mjs.map +1 -1
  275. package/dist/actions/get-sublist-collection.cjs +2 -2
  276. package/dist/actions/get-sublist-collection.cjs.map +1 -1
  277. package/dist/actions/get-sublist-collection.d.cts +15 -3
  278. package/dist/actions/get-sublist-collection.d.mts +15 -3
  279. package/dist/actions/get-sublist-collection.mjs +2 -2
  280. package/dist/actions/get-sublist-collection.mjs.map +1 -1
  281. package/dist/actions/get-sublist-line.cjs +2 -2
  282. package/dist/actions/get-sublist-line.cjs.map +1 -1
  283. package/dist/actions/get-sublist-line.d.cts +15 -3
  284. package/dist/actions/get-sublist-line.d.mts +15 -3
  285. package/dist/actions/get-sublist-line.mjs +2 -2
  286. package/dist/actions/get-sublist-line.mjs.map +1 -1
  287. package/dist/actions/get-subrecord.cjs +2 -2
  288. package/dist/actions/get-subrecord.cjs.map +1 -1
  289. package/dist/actions/get-subrecord.d.cts +15 -3
  290. package/dist/actions/get-subrecord.d.mts +15 -3
  291. package/dist/actions/get-subrecord.mjs +2 -2
  292. package/dist/actions/get-subrecord.mjs.map +1 -1
  293. package/dist/actions/get-vendor-bill.cjs +2 -2
  294. package/dist/actions/get-vendor-bill.cjs.map +1 -1
  295. package/dist/actions/get-vendor-bill.d.cts +15 -3
  296. package/dist/actions/get-vendor-bill.d.mts +15 -3
  297. package/dist/actions/get-vendor-bill.mjs +2 -2
  298. package/dist/actions/get-vendor-bill.mjs.map +1 -1
  299. package/dist/actions/get-vendor-payment.cjs +2 -2
  300. package/dist/actions/get-vendor-payment.cjs.map +1 -1
  301. package/dist/actions/get-vendor-payment.d.cts +15 -3
  302. package/dist/actions/get-vendor-payment.d.mts +15 -3
  303. package/dist/actions/get-vendor-payment.mjs +2 -2
  304. package/dist/actions/get-vendor-payment.mjs.map +1 -1
  305. package/dist/actions/get-vendor.cjs +2 -2
  306. package/dist/actions/get-vendor.cjs.map +1 -1
  307. package/dist/actions/get-vendor.d.cts +15 -3
  308. package/dist/actions/get-vendor.d.mts +15 -3
  309. package/dist/actions/get-vendor.mjs +2 -2
  310. package/dist/actions/get-vendor.mjs.map +1 -1
  311. package/dist/actions/list-customer-payments.cjs +3 -3
  312. package/dist/actions/list-customer-payments.cjs.map +1 -1
  313. package/dist/actions/list-customer-payments.d.cts +17 -5
  314. package/dist/actions/list-customer-payments.d.mts +17 -5
  315. package/dist/actions/list-customer-payments.mjs +3 -3
  316. package/dist/actions/list-customer-payments.mjs.map +1 -1
  317. package/dist/actions/list-datasets.cjs +4 -4
  318. package/dist/actions/list-datasets.cjs.map +1 -1
  319. package/dist/actions/list-datasets.d.cts +17 -5
  320. package/dist/actions/list-datasets.d.mts +17 -5
  321. package/dist/actions/list-datasets.mjs +4 -4
  322. package/dist/actions/list-datasets.mjs.map +1 -1
  323. package/dist/actions/list-employees.cjs +3 -3
  324. package/dist/actions/list-employees.cjs.map +1 -1
  325. package/dist/actions/list-employees.d.cts +17 -5
  326. package/dist/actions/list-employees.d.mts +17 -5
  327. package/dist/actions/list-employees.mjs +3 -3
  328. package/dist/actions/list-employees.mjs.map +1 -1
  329. package/dist/actions/list-integrations.cjs +2 -2
  330. package/dist/actions/list-integrations.cjs.map +1 -1
  331. package/dist/actions/list-integrations.d.cts +15 -3
  332. package/dist/actions/list-integrations.d.mts +15 -3
  333. package/dist/actions/list-integrations.mjs +2 -2
  334. package/dist/actions/list-integrations.mjs.map +1 -1
  335. package/dist/actions/list-invoices.cjs +3 -3
  336. package/dist/actions/list-invoices.cjs.map +1 -1
  337. package/dist/actions/list-invoices.d.cts +17 -5
  338. package/dist/actions/list-invoices.d.mts +17 -5
  339. package/dist/actions/list-invoices.mjs +3 -3
  340. package/dist/actions/list-invoices.mjs.map +1 -1
  341. package/dist/actions/list-item-fulfillments.cjs +3 -3
  342. package/dist/actions/list-item-fulfillments.cjs.map +1 -1
  343. package/dist/actions/list-item-fulfillments.d.cts +17 -5
  344. package/dist/actions/list-item-fulfillments.d.mts +17 -5
  345. package/dist/actions/list-item-fulfillments.mjs +3 -3
  346. package/dist/actions/list-item-fulfillments.mjs.map +1 -1
  347. package/dist/actions/list-item-receipts.cjs +3 -3
  348. package/dist/actions/list-item-receipts.cjs.map +1 -1
  349. package/dist/actions/list-item-receipts.d.cts +17 -5
  350. package/dist/actions/list-item-receipts.d.mts +17 -5
  351. package/dist/actions/list-item-receipts.mjs +3 -3
  352. package/dist/actions/list-item-receipts.mjs.map +1 -1
  353. package/dist/actions/list-journal-entries.cjs +3 -3
  354. package/dist/actions/list-journal-entries.cjs.map +1 -1
  355. package/dist/actions/list-journal-entries.d.cts +17 -5
  356. package/dist/actions/list-journal-entries.d.mts +17 -5
  357. package/dist/actions/list-journal-entries.mjs +3 -3
  358. package/dist/actions/list-journal-entries.mjs.map +1 -1
  359. package/dist/actions/list-metadata-catalog.cjs +3 -3
  360. package/dist/actions/list-metadata-catalog.cjs.map +1 -1
  361. package/dist/actions/list-metadata-catalog.d.cts +16 -4
  362. package/dist/actions/list-metadata-catalog.d.mts +16 -4
  363. package/dist/actions/list-metadata-catalog.mjs +3 -3
  364. package/dist/actions/list-metadata-catalog.mjs.map +1 -1
  365. package/dist/actions/list-purchase-orders.cjs +3 -3
  366. package/dist/actions/list-purchase-orders.cjs.map +1 -1
  367. package/dist/actions/list-purchase-orders.d.cts +17 -5
  368. package/dist/actions/list-purchase-orders.d.mts +17 -5
  369. package/dist/actions/list-purchase-orders.mjs +3 -3
  370. package/dist/actions/list-purchase-orders.mjs.map +1 -1
  371. package/dist/actions/list-records.cjs +3 -3
  372. package/dist/actions/list-records.cjs.map +1 -1
  373. package/dist/actions/list-records.d.cts +17 -5
  374. package/dist/actions/list-records.d.mts +17 -5
  375. package/dist/actions/list-records.mjs +3 -3
  376. package/dist/actions/list-records.mjs.map +1 -1
  377. package/dist/actions/list-sales-orders.cjs +3 -3
  378. package/dist/actions/list-sales-orders.cjs.map +1 -1
  379. package/dist/actions/list-sales-orders.d.cts +17 -5
  380. package/dist/actions/list-sales-orders.d.mts +17 -5
  381. package/dist/actions/list-sales-orders.mjs +3 -3
  382. package/dist/actions/list-sales-orders.mjs.map +1 -1
  383. package/dist/actions/list-vendor-payments.cjs +3 -3
  384. package/dist/actions/list-vendor-payments.cjs.map +1 -1
  385. package/dist/actions/list-vendor-payments.d.cts +17 -5
  386. package/dist/actions/list-vendor-payments.d.mts +17 -5
  387. package/dist/actions/list-vendor-payments.mjs +3 -3
  388. package/dist/actions/list-vendor-payments.mjs.map +1 -1
  389. package/dist/actions/o-auth2-authorize-account-domain.cjs +1 -1
  390. package/dist/actions/o-auth2-authorize-account-domain.cjs.map +1 -1
  391. package/dist/actions/o-auth2-authorize-account-domain.d.cts +14 -2
  392. package/dist/actions/o-auth2-authorize-account-domain.d.mts +14 -2
  393. package/dist/actions/o-auth2-authorize-account-domain.mjs +1 -1
  394. package/dist/actions/o-auth2-authorize-account-domain.mjs.map +1 -1
  395. package/dist/actions/o-auth2-authorize-system-domain.cjs +1 -1
  396. package/dist/actions/o-auth2-authorize-system-domain.cjs.map +1 -1
  397. package/dist/actions/o-auth2-authorize-system-domain.d.cts +14 -2
  398. package/dist/actions/o-auth2-authorize-system-domain.d.mts +14 -2
  399. package/dist/actions/o-auth2-authorize-system-domain.mjs +1 -1
  400. package/dist/actions/o-auth2-authorize-system-domain.mjs.map +1 -1
  401. package/dist/actions/o-auth2-logout.cjs +1 -1
  402. package/dist/actions/o-auth2-logout.cjs.map +1 -1
  403. package/dist/actions/o-auth2-logout.d.cts +14 -2
  404. package/dist/actions/o-auth2-logout.d.mts +14 -2
  405. package/dist/actions/o-auth2-logout.mjs +1 -1
  406. package/dist/actions/o-auth2-logout.mjs.map +1 -1
  407. package/dist/actions/o-auth2-revoke-refresh-token.cjs +1 -1
  408. package/dist/actions/o-auth2-revoke-refresh-token.cjs.map +1 -1
  409. package/dist/actions/o-auth2-revoke-refresh-token.d.cts +14 -2
  410. package/dist/actions/o-auth2-revoke-refresh-token.d.mts +14 -2
  411. package/dist/actions/o-auth2-revoke-refresh-token.mjs +1 -1
  412. package/dist/actions/o-auth2-revoke-refresh-token.mjs.map +1 -1
  413. package/dist/actions/o-auth2-token-authorization-code.cjs +1 -1
  414. package/dist/actions/o-auth2-token-authorization-code.cjs.map +1 -1
  415. package/dist/actions/o-auth2-token-authorization-code.d.cts +14 -2
  416. package/dist/actions/o-auth2-token-authorization-code.d.mts +14 -2
  417. package/dist/actions/o-auth2-token-authorization-code.mjs +1 -1
  418. package/dist/actions/o-auth2-token-authorization-code.mjs.map +1 -1
  419. package/dist/actions/o-auth2-token-client-credentials.cjs +1 -1
  420. package/dist/actions/o-auth2-token-client-credentials.cjs.map +1 -1
  421. package/dist/actions/o-auth2-token-client-credentials.d.cts +14 -2
  422. package/dist/actions/o-auth2-token-client-credentials.d.mts +14 -2
  423. package/dist/actions/o-auth2-token-client-credentials.mjs +1 -1
  424. package/dist/actions/o-auth2-token-client-credentials.mjs.map +1 -1
  425. package/dist/actions/o-auth2-token-refresh.cjs +1 -1
  426. package/dist/actions/o-auth2-token-refresh.cjs.map +1 -1
  427. package/dist/actions/o-auth2-token-refresh.d.cts +14 -2
  428. package/dist/actions/o-auth2-token-refresh.d.mts +14 -2
  429. package/dist/actions/o-auth2-token-refresh.mjs +1 -1
  430. package/dist/actions/o-auth2-token-refresh.mjs.map +1 -1
  431. package/dist/actions/oauth2-get-jwks-keys.cjs +2 -2
  432. package/dist/actions/oauth2-get-jwks-keys.cjs.map +1 -1
  433. package/dist/actions/oauth2-get-jwks-keys.d.cts +15 -3
  434. package/dist/actions/oauth2-get-jwks-keys.d.cts.map +1 -1
  435. package/dist/actions/oauth2-get-jwks-keys.d.mts +15 -3
  436. package/dist/actions/oauth2-get-jwks-keys.d.mts.map +1 -1
  437. package/dist/actions/oauth2-get-jwks-keys.mjs +2 -2
  438. package/dist/actions/oauth2-get-jwks-keys.mjs.map +1 -1
  439. package/dist/actions/run-suiteql-query.cjs +2 -2
  440. package/dist/actions/run-suiteql-query.cjs.map +1 -1
  441. package/dist/actions/run-suiteql-query.d.cts +16 -4
  442. package/dist/actions/run-suiteql-query.d.mts +16 -4
  443. package/dist/actions/run-suiteql-query.mjs +2 -2
  444. package/dist/actions/run-suiteql-query.mjs.map +1 -1
  445. package/dist/actions/transform-record.cjs +1 -1
  446. package/dist/actions/transform-record.cjs.map +1 -1
  447. package/dist/actions/transform-record.d.cts +14 -2
  448. package/dist/actions/transform-record.d.cts.map +1 -1
  449. package/dist/actions/transform-record.d.mts +14 -2
  450. package/dist/actions/transform-record.d.mts.map +1 -1
  451. package/dist/actions/transform-record.mjs +1 -1
  452. package/dist/actions/transform-record.mjs.map +1 -1
  453. package/dist/actions/update-customer-payment.cjs +1 -1
  454. package/dist/actions/update-customer-payment.cjs.map +1 -1
  455. package/dist/actions/update-customer-payment.d.cts +14 -2
  456. package/dist/actions/update-customer-payment.d.cts.map +1 -1
  457. package/dist/actions/update-customer-payment.d.mts +14 -2
  458. package/dist/actions/update-customer-payment.d.mts.map +1 -1
  459. package/dist/actions/update-customer-payment.mjs +1 -1
  460. package/dist/actions/update-customer-payment.mjs.map +1 -1
  461. package/dist/actions/update-customer.cjs +1 -1
  462. package/dist/actions/update-customer.cjs.map +1 -1
  463. package/dist/actions/update-customer.d.cts +14 -2
  464. package/dist/actions/update-customer.d.cts.map +1 -1
  465. package/dist/actions/update-customer.d.mts +14 -2
  466. package/dist/actions/update-customer.d.mts.map +1 -1
  467. package/dist/actions/update-customer.mjs +1 -1
  468. package/dist/actions/update-customer.mjs.map +1 -1
  469. package/dist/actions/update-employee.cjs +1 -1
  470. package/dist/actions/update-employee.cjs.map +1 -1
  471. package/dist/actions/update-employee.d.cts +14 -2
  472. package/dist/actions/update-employee.d.cts.map +1 -1
  473. package/dist/actions/update-employee.d.mts +14 -2
  474. package/dist/actions/update-employee.d.mts.map +1 -1
  475. package/dist/actions/update-employee.mjs +1 -1
  476. package/dist/actions/update-employee.mjs.map +1 -1
  477. package/dist/actions/update-invoice.cjs +1 -1
  478. package/dist/actions/update-invoice.cjs.map +1 -1
  479. package/dist/actions/update-invoice.d.cts +14 -2
  480. package/dist/actions/update-invoice.d.cts.map +1 -1
  481. package/dist/actions/update-invoice.d.mts +14 -2
  482. package/dist/actions/update-invoice.d.mts.map +1 -1
  483. package/dist/actions/update-invoice.mjs +1 -1
  484. package/dist/actions/update-invoice.mjs.map +1 -1
  485. package/dist/actions/update-item-fulfillment.cjs +1 -1
  486. package/dist/actions/update-item-fulfillment.cjs.map +1 -1
  487. package/dist/actions/update-item-fulfillment.d.cts +14 -2
  488. package/dist/actions/update-item-fulfillment.d.cts.map +1 -1
  489. package/dist/actions/update-item-fulfillment.d.mts +14 -2
  490. package/dist/actions/update-item-fulfillment.d.mts.map +1 -1
  491. package/dist/actions/update-item-fulfillment.mjs +1 -1
  492. package/dist/actions/update-item-fulfillment.mjs.map +1 -1
  493. package/dist/actions/update-item-receipt.cjs +1 -1
  494. package/dist/actions/update-item-receipt.cjs.map +1 -1
  495. package/dist/actions/update-item-receipt.d.cts +14 -2
  496. package/dist/actions/update-item-receipt.d.cts.map +1 -1
  497. package/dist/actions/update-item-receipt.d.mts +14 -2
  498. package/dist/actions/update-item-receipt.d.mts.map +1 -1
  499. package/dist/actions/update-item-receipt.mjs +1 -1
  500. package/dist/actions/update-item-receipt.mjs.map +1 -1
  501. package/dist/actions/update-item.cjs +1 -1
  502. package/dist/actions/update-item.cjs.map +1 -1
  503. package/dist/actions/update-item.d.cts +14 -2
  504. package/dist/actions/update-item.d.cts.map +1 -1
  505. package/dist/actions/update-item.d.mts +14 -2
  506. package/dist/actions/update-item.d.mts.map +1 -1
  507. package/dist/actions/update-item.mjs +1 -1
  508. package/dist/actions/update-item.mjs.map +1 -1
  509. package/dist/actions/update-journal-entry.cjs +1 -1
  510. package/dist/actions/update-journal-entry.cjs.map +1 -1
  511. package/dist/actions/update-journal-entry.d.cts +14 -2
  512. package/dist/actions/update-journal-entry.d.cts.map +1 -1
  513. package/dist/actions/update-journal-entry.d.mts +14 -2
  514. package/dist/actions/update-journal-entry.d.mts.map +1 -1
  515. package/dist/actions/update-journal-entry.mjs +1 -1
  516. package/dist/actions/update-journal-entry.mjs.map +1 -1
  517. package/dist/actions/update-purchase-order.cjs +1 -1
  518. package/dist/actions/update-purchase-order.cjs.map +1 -1
  519. package/dist/actions/update-purchase-order.d.cts +14 -2
  520. package/dist/actions/update-purchase-order.d.cts.map +1 -1
  521. package/dist/actions/update-purchase-order.d.mts +14 -2
  522. package/dist/actions/update-purchase-order.d.mts.map +1 -1
  523. package/dist/actions/update-purchase-order.mjs +1 -1
  524. package/dist/actions/update-purchase-order.mjs.map +1 -1
  525. package/dist/actions/update-sales-order.cjs +1 -1
  526. package/dist/actions/update-sales-order.cjs.map +1 -1
  527. package/dist/actions/update-sales-order.d.cts +14 -2
  528. package/dist/actions/update-sales-order.d.cts.map +1 -1
  529. package/dist/actions/update-sales-order.d.mts +14 -2
  530. package/dist/actions/update-sales-order.d.mts.map +1 -1
  531. package/dist/actions/update-sales-order.mjs +1 -1
  532. package/dist/actions/update-sales-order.mjs.map +1 -1
  533. package/dist/actions/update-vendor-bill.cjs +1 -1
  534. package/dist/actions/update-vendor-bill.cjs.map +1 -1
  535. package/dist/actions/update-vendor-bill.d.cts +14 -2
  536. package/dist/actions/update-vendor-bill.d.cts.map +1 -1
  537. package/dist/actions/update-vendor-bill.d.mts +14 -2
  538. package/dist/actions/update-vendor-bill.d.mts.map +1 -1
  539. package/dist/actions/update-vendor-bill.mjs +1 -1
  540. package/dist/actions/update-vendor-bill.mjs.map +1 -1
  541. package/dist/actions/update-vendor-payment.cjs +1 -1
  542. package/dist/actions/update-vendor-payment.cjs.map +1 -1
  543. package/dist/actions/update-vendor-payment.d.cts +14 -2
  544. package/dist/actions/update-vendor-payment.d.cts.map +1 -1
  545. package/dist/actions/update-vendor-payment.d.mts +14 -2
  546. package/dist/actions/update-vendor-payment.d.mts.map +1 -1
  547. package/dist/actions/update-vendor-payment.mjs +1 -1
  548. package/dist/actions/update-vendor-payment.mjs.map +1 -1
  549. package/dist/actions/update-vendor.cjs +1 -1
  550. package/dist/actions/update-vendor.cjs.map +1 -1
  551. package/dist/actions/update-vendor.d.cts +14 -2
  552. package/dist/actions/update-vendor.d.cts.map +1 -1
  553. package/dist/actions/update-vendor.d.mts +14 -2
  554. package/dist/actions/update-vendor.d.mts.map +1 -1
  555. package/dist/actions/update-vendor.mjs +1 -1
  556. package/dist/actions/update-vendor.mjs.map +1 -1
  557. package/dist/actions/upsert-record-by-external-id.cjs +1 -1
  558. package/dist/actions/upsert-record-by-external-id.cjs.map +1 -1
  559. package/dist/actions/upsert-record-by-external-id.d.cts +14 -2
  560. package/dist/actions/upsert-record-by-external-id.d.cts.map +1 -1
  561. package/dist/actions/upsert-record-by-external-id.d.mts +14 -2
  562. package/dist/actions/upsert-record-by-external-id.d.mts.map +1 -1
  563. package/dist/actions/upsert-record-by-external-id.mjs +1 -1
  564. package/dist/actions/upsert-record-by-external-id.mjs.map +1 -1
  565. package/dist/app.cjs +5 -2
  566. package/dist/app.cjs.map +1 -1
  567. package/dist/app.d.cts +9 -1
  568. package/dist/app.d.cts.map +1 -1
  569. package/dist/app.d.mts +9 -1
  570. package/dist/app.d.mts.map +1 -1
  571. package/dist/app.mjs +3 -1
  572. package/dist/app.mjs.map +1 -1
  573. package/package.json +1 -1
@@ -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.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}).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,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"}
@@ -6,7 +6,7 @@ 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
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.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}).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,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"}
@@ -8,10 +8,22 @@ declare const NetsuiteOAuth2LogoutOutput: z.ZodObject<{
8
8
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
10
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const netsuiteOAuth2Logout: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id_token_hint: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ accessToken: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>;
15
27
  //#endregion
16
28
  export { netsuiteOAuth2Logout };
17
29
  //# sourceMappingURL=o-auth2-logout.d.cts.map
@@ -8,10 +8,22 @@ declare const NetsuiteOAuth2LogoutOutput: z.ZodObject<{
8
8
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
10
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const netsuiteOAuth2Logout: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id_token_hint: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ accessToken: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>;
15
27
  //#endregion
16
28
  export { netsuiteOAuth2Logout };
17
29
  //# sourceMappingURL=o-auth2-logout.d.mts.map
@@ -9,7 +9,7 @@ const netsuiteOAuth2Logout = action("NETSUITE_O_AUTH2_LOGOUT", {
9
9
  error: z.string().describe("Error code or message if logout failed (e.g., 'invalid_token', 'unauthorized').").nullable().optional(),
10
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.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}).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,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"}
@@ -9,7 +9,7 @@ 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
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.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}).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,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"}
@@ -9,11 +9,23 @@ declare const NetsuiteOAuth2RevokeRefreshTokenOutput: z.ZodObject<{
9
9
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
11
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const netsuiteOAuth2RevokeRefreshToken: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  token: string;
15
15
  client_id?: string | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ accessToken: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ accessToken: z.ZodString;
28
+ }, z.core.$strip>>]>;
17
29
  //#endregion
18
30
  export { netsuiteOAuth2RevokeRefreshToken };
19
31
  //# sourceMappingURL=o-auth2-revoke-refresh-token.d.cts.map
@@ -9,11 +9,23 @@ declare const NetsuiteOAuth2RevokeRefreshTokenOutput: z.ZodObject<{
9
9
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
11
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const netsuiteOAuth2RevokeRefreshToken: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  token: string;
15
15
  client_id?: string | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ accessToken: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ accessToken: z.ZodString;
28
+ }, z.core.$strip>>]>;
17
29
  //#endregion
18
30
  export { netsuiteOAuth2RevokeRefreshToken };
19
31
  //# sourceMappingURL=o-auth2-revoke-refresh-token.d.mts.map
@@ -12,7 +12,7 @@ const netsuiteOAuth2RevokeRefreshToken = action("NETSUITE_O_AUTH2_REVOKE_REFRESH
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
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.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}).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,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.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}).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,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"}
@@ -15,14 +15,26 @@ declare const NetsuiteOAuth2TokenAuthorizationCodeOutput: z.ZodObject<{
15
15
  token_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const netsuiteOAuth2TokenAuthorizationCode: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  code: string;
21
21
  redirect_uri: string;
22
22
  code_verifier: string;
23
23
  client_id?: string | undefined;
24
24
  grant_type?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ accessToken: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ accessToken: z.ZodString;
37
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { netsuiteOAuth2TokenAuthorizationCode };
28
40
  //# sourceMappingURL=o-auth2-token-authorization-code.d.cts.map
@@ -15,14 +15,26 @@ declare const NetsuiteOAuth2TokenAuthorizationCodeOutput: z.ZodObject<{
15
15
  token_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const netsuiteOAuth2TokenAuthorizationCode: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  code: string;
21
21
  redirect_uri: string;
22
22
  code_verifier: string;
23
23
  client_id?: string | undefined;
24
24
  grant_type?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ accessToken: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ accessToken: z.ZodString;
37
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { netsuiteOAuth2TokenAuthorizationCode };
28
40
  //# sourceMappingURL=o-auth2-token-authorization-code.d.mts.map
@@ -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.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}).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,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.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}).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,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"}
@@ -11,12 +11,24 @@ declare const NetsuiteOAuth2TokenClientCredentialsOutput: z.ZodObject<{
11
11
  expires_in: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  token_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const netsuiteOAuth2TokenClientCredentials: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  client_assertion: string;
17
17
  grant_type?: string | undefined;
18
18
  client_assertion_type?: string | undefined;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ accessToken: z.ZodString;
25
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ accessToken: z.ZodString;
31
+ }, z.core.$strip>>]>;
20
32
  //#endregion
21
33
  export { netsuiteOAuth2TokenClientCredentials };
22
34
  //# sourceMappingURL=o-auth2-token-client-credentials.d.cts.map
@@ -11,12 +11,24 @@ declare const NetsuiteOAuth2TokenClientCredentialsOutput: z.ZodObject<{
11
11
  expires_in: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  token_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const netsuiteOAuth2TokenClientCredentials: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  client_assertion: string;
17
17
  grant_type?: string | undefined;
18
18
  client_assertion_type?: string | undefined;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ accessToken: z.ZodString;
25
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ accessToken: z.ZodString;
31
+ }, z.core.$strip>>]>;
20
32
  //#endregion
21
33
  export { netsuiteOAuth2TokenClientCredentials };
22
34
  //# sourceMappingURL=o-auth2-token-client-credentials.d.mts.map
@@ -14,7 +14,7 @@ const netsuiteOAuth2TokenClientCredentials = action("NETSUITE_O_AUTH2_TOKEN_CLIE
14
14
  expires_in: z.number().int().describe("Token lifetime in seconds.").nullable().optional(),
15
15
  token_type: z.string().describe("Token type; always 'bearer'.").nullable().optional(),
16
16
  access_token: z.string().describe("Access token in JWT format; valid for a limited period.").nullable().optional()
17
- }).describe("Response model for OAuth2 token obtained via client credentials.\nIncludes optional error field to capture authorization server errors.")
17
+ }).passthrough().describe("Response model for OAuth2 token obtained via client credentials.\nIncludes optional error field to capture authorization server errors.")
18
18
  });
19
19
  //#endregion
20
20
  export { netsuiteOAuth2TokenClientCredentials };
@@ -1 +1 @@
1
- {"version":3,"file":"o-auth2-token-client-credentials.mjs","names":[],"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}).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":";;AAgBA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuD,EAAE,OAAO;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,QAAQ,oBAAoB,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACxJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EACtG,uBAAuB,EAAE,OAAO,CAAC,CAAC,QAAQ,wDAAwD,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChL,CAAC,CAAC,CAAC,SAAS,4FAYH;CACP,QAZwD,EAAE,OAAO;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,yIAOF;AACV,CAAC"}
1
+ {"version":3,"file":"o-auth2-token-client-credentials.mjs","names":[],"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":";;AAgBA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuD,EAAE,OAAO;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,QAAQ,oBAAoB,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACxJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EACtG,uBAAuB,EAAE,OAAO,CAAC,CAAC,QAAQ,wDAAwD,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChL,CAAC,CAAC,CAAC,SAAS,4FAYH;CACP,QAZwD,EAAE,OAAO;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yIAOhB;AACV,CAAC"}
@@ -12,7 +12,7 @@ const NetsuiteOAuth2TokenRefreshOutput = zod.z.object({
12
12
  token_type: zod.z.string().describe("OAuth2 token type; typically 'bearer'.").nullable().optional(),
13
13
  access_token: zod.z.string().describe("New OAuth2 access token (JWT format).").nullable().optional(),
14
14
  refresh_token: zod.z.string().describe("New refresh token returned for public clients; may be omitted for confidential clients.").nullable().optional()
15
- }).describe("Response model for an OAuth2 token refresh operation.\nIncludes optional error field to capture authorization server errors.");
15
+ }).passthrough().describe("Response model for an OAuth2 token refresh operation.\nIncludes optional error field to capture authorization server errors.");
16
16
  const netsuiteOAuth2TokenRefresh = require_action.action("NETSUITE_O_AUTH2_TOKEN_REFRESH", {
17
17
  slug: "netsuite-o-auth2-token-refresh",
18
18
  name: "OAuth2 Token Refresh",
@@ -1 +1 @@
1
- {"version":3,"file":"o-auth2-token-refresh.cjs","names":["z","action"],"sources":["../../src/actions/o-auth2-token-refresh.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2TokenRefreshInput = z.object({\n client_id: z.string().describe(\"OAuth2 client ID. Required for public clients if Authorization header is omitted.\").optional(),\n client_secret: z.string().describe(\"OAuth2 client secret for confidential clients.\").optional(),\n refresh_token: z.string().describe(\"OAuth2 refresh token in JWT format. If omitted, uses the configured metadata refresh_token.\").optional(),\n}).describe(\"Request model for refreshing an OAuth2 access token using a refresh token.\");\nexport const NetsuiteOAuth2TokenRefreshOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token; typically 3600.\").nullable().optional(),\n token_type: z.string().describe(\"OAuth2 token type; typically 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"New OAuth2 access token (JWT format).\").nullable().optional(),\n refresh_token: z.string().describe(\"New refresh token returned for public clients; may be omitted for confidential clients.\").nullable().optional(),\n}).describe(\"Response model for an OAuth2 token refresh operation.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenRefresh = action(\"NETSUITE_O_AUTH2_TOKEN_REFRESH\", {\n slug: \"netsuite-o-auth2-token-refresh\",\n name: \"OAuth2 Token Refresh\",\n description: \"Tool to refresh an OAuth2 access token. Use when the current access token has expired and you need a new one.\",\n input: NetsuiteOAuth2TokenRefreshInput,\n output: NetsuiteOAuth2TokenRefreshOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,8HAA8H;AAE1I,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"o-auth2-token-refresh.cjs","names":["z","action"],"sources":["../../src/actions/o-auth2-token-refresh.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2TokenRefreshInput = z.object({\n client_id: z.string().describe(\"OAuth2 client ID. Required for public clients if Authorization header is omitted.\").optional(),\n client_secret: z.string().describe(\"OAuth2 client secret for confidential clients.\").optional(),\n refresh_token: z.string().describe(\"OAuth2 refresh token in JWT format. If omitted, uses the configured metadata refresh_token.\").optional(),\n}).describe(\"Request model for refreshing an OAuth2 access token using a refresh token.\");\nexport const NetsuiteOAuth2TokenRefreshOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token; typically 3600.\").nullable().optional(),\n token_type: z.string().describe(\"OAuth2 token type; typically 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"New OAuth2 access token (JWT format).\").nullable().optional(),\n refresh_token: z.string().describe(\"New refresh token returned for public clients; may be omitted for confidential clients.\").nullable().optional(),\n}).passthrough().describe(\"Response model for an OAuth2 token refresh operation.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenRefresh = action(\"NETSUITE_O_AUTH2_TOKEN_REFRESH\", {\n slug: \"netsuite-o-auth2-token-refresh\",\n name: \"OAuth2 Token Refresh\",\n description: \"Tool to refresh an OAuth2 access token. Use when the current access token has expired and you need a new one.\",\n input: NetsuiteOAuth2TokenRefreshInput,\n output: NetsuiteOAuth2TokenRefreshOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8HAA8H;AAExJ,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,12 +12,24 @@ declare const NetsuiteOAuth2TokenRefreshOutput: z.ZodObject<{
12
12
  token_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const netsuiteOAuth2TokenRefresh: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  client_id?: string | undefined;
18
18
  client_secret?: string | undefined;
19
19
  refresh_token?: string | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ accessToken: z.ZodString;
32
+ }, z.core.$strip>>]>;
21
33
  //#endregion
22
34
  export { netsuiteOAuth2TokenRefresh };
23
35
  //# sourceMappingURL=o-auth2-token-refresh.d.cts.map
@@ -12,12 +12,24 @@ declare const NetsuiteOAuth2TokenRefreshOutput: z.ZodObject<{
12
12
  token_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const netsuiteOAuth2TokenRefresh: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  client_id?: string | undefined;
18
18
  client_secret?: string | undefined;
19
19
  refresh_token?: string | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ accessToken: z.ZodString;
32
+ }, z.core.$strip>>]>;
21
33
  //#endregion
22
34
  export { netsuiteOAuth2TokenRefresh };
23
35
  //# sourceMappingURL=o-auth2-token-refresh.d.mts.map
@@ -15,7 +15,7 @@ const netsuiteOAuth2TokenRefresh = action("NETSUITE_O_AUTH2_TOKEN_REFRESH", {
15
15
  token_type: z.string().describe("OAuth2 token type; typically 'bearer'.").nullable().optional(),
16
16
  access_token: z.string().describe("New OAuth2 access token (JWT format).").nullable().optional(),
17
17
  refresh_token: z.string().describe("New refresh token returned for public clients; may be omitted for confidential clients.").nullable().optional()
18
- }).describe("Response model for an OAuth2 token refresh operation.\nIncludes optional error field to capture authorization server errors.")
18
+ }).passthrough().describe("Response model for an OAuth2 token refresh operation.\nIncludes optional error field to capture authorization server errors.")
19
19
  });
20
20
  //#endregion
21
21
  export { netsuiteOAuth2TokenRefresh };
@@ -1 +1 @@
1
- {"version":3,"file":"o-auth2-token-refresh.mjs","names":[],"sources":["../../src/actions/o-auth2-token-refresh.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2TokenRefreshInput = z.object({\n client_id: z.string().describe(\"OAuth2 client ID. Required for public clients if Authorization header is omitted.\").optional(),\n client_secret: z.string().describe(\"OAuth2 client secret for confidential clients.\").optional(),\n refresh_token: z.string().describe(\"OAuth2 refresh token in JWT format. If omitted, uses the configured metadata refresh_token.\").optional(),\n}).describe(\"Request model for refreshing an OAuth2 access token using a refresh token.\");\nexport const NetsuiteOAuth2TokenRefreshOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token; typically 3600.\").nullable().optional(),\n token_type: z.string().describe(\"OAuth2 token type; typically 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"New OAuth2 access token (JWT format).\").nullable().optional(),\n refresh_token: z.string().describe(\"New refresh token returned for public clients; may be omitted for confidential clients.\").nullable().optional(),\n}).describe(\"Response model for an OAuth2 token refresh operation.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenRefresh = action(\"NETSUITE_O_AUTH2_TOKEN_REFRESH\", {\n slug: \"netsuite-o-auth2-token-refresh\",\n name: \"OAuth2 Token Refresh\",\n description: \"Tool to refresh an OAuth2 access token. Use when the current access token has expired and you need a new one.\",\n input: NetsuiteOAuth2TokenRefreshInput,\n output: NetsuiteOAuth2TokenRefreshOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC7H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,SAAS,4EAaH;CACP,QAb8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,8HAOF;AACV,CAAC"}
1
+ {"version":3,"file":"o-auth2-token-refresh.mjs","names":[],"sources":["../../src/actions/o-auth2-token-refresh.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2TokenRefreshInput = z.object({\n client_id: z.string().describe(\"OAuth2 client ID. Required for public clients if Authorization header is omitted.\").optional(),\n client_secret: z.string().describe(\"OAuth2 client secret for confidential clients.\").optional(),\n refresh_token: z.string().describe(\"OAuth2 refresh token in JWT format. If omitted, uses the configured metadata refresh_token.\").optional(),\n}).describe(\"Request model for refreshing an OAuth2 access token using a refresh token.\");\nexport const NetsuiteOAuth2TokenRefreshOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token; typically 3600.\").nullable().optional(),\n token_type: z.string().describe(\"OAuth2 token type; typically 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"New OAuth2 access token (JWT format).\").nullable().optional(),\n refresh_token: z.string().describe(\"New refresh token returned for public clients; may be omitted for confidential clients.\").nullable().optional(),\n}).passthrough().describe(\"Response model for an OAuth2 token refresh operation.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenRefresh = action(\"NETSUITE_O_AUTH2_TOKEN_REFRESH\", {\n slug: \"netsuite-o-auth2-token-refresh\",\n name: \"OAuth2 Token Refresh\",\n description: \"Tool to refresh an OAuth2 access token. Use when the current access token has expired and you need a new one.\",\n input: NetsuiteOAuth2TokenRefreshInput,\n output: NetsuiteOAuth2TokenRefreshOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC7H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,SAAS,4EAaH;CACP,QAb8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8HAOhB;AACV,CAAC"}