@silkline/paramify 0.0.2

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 (588) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/LICENSE +201 -0
  3. package/README.md +402 -0
  4. package/api-promise.d.mts +2 -0
  5. package/api-promise.d.mts.map +1 -0
  6. package/api-promise.d.ts +2 -0
  7. package/api-promise.d.ts.map +1 -0
  8. package/api-promise.js +6 -0
  9. package/api-promise.js.map +1 -0
  10. package/api-promise.mjs +2 -0
  11. package/api-promise.mjs.map +1 -0
  12. package/client.d.mts +199 -0
  13. package/client.d.mts.map +1 -0
  14. package/client.d.ts +199 -0
  15. package/client.d.ts.map +1 -0
  16. package/client.js +494 -0
  17. package/client.js.map +1 -0
  18. package/client.mjs +490 -0
  19. package/client.mjs.map +1 -0
  20. package/core/api-promise.d.mts +46 -0
  21. package/core/api-promise.d.mts.map +1 -0
  22. package/core/api-promise.d.ts +46 -0
  23. package/core/api-promise.d.ts.map +1 -0
  24. package/core/api-promise.js +74 -0
  25. package/core/api-promise.js.map +1 -0
  26. package/core/api-promise.mjs +70 -0
  27. package/core/api-promise.mjs.map +1 -0
  28. package/core/error.d.mts +46 -0
  29. package/core/error.d.mts.map +1 -0
  30. package/core/error.d.ts +46 -0
  31. package/core/error.d.ts.map +1 -0
  32. package/core/error.js +113 -0
  33. package/core/error.js.map +1 -0
  34. package/core/error.mjs +97 -0
  35. package/core/error.mjs.map +1 -0
  36. package/core/resource.d.mts +6 -0
  37. package/core/resource.d.mts.map +1 -0
  38. package/core/resource.d.ts +6 -0
  39. package/core/resource.d.ts.map +1 -0
  40. package/core/resource.js +11 -0
  41. package/core/resource.js.map +1 -0
  42. package/core/resource.mjs +7 -0
  43. package/core/resource.mjs.map +1 -0
  44. package/core/uploads.d.mts +3 -0
  45. package/core/uploads.d.mts.map +1 -0
  46. package/core/uploads.d.ts +3 -0
  47. package/core/uploads.d.ts.map +1 -0
  48. package/core/uploads.js +6 -0
  49. package/core/uploads.js.map +1 -0
  50. package/core/uploads.mjs +2 -0
  51. package/core/uploads.mjs.map +1 -0
  52. package/error.d.mts +2 -0
  53. package/error.d.mts.map +1 -0
  54. package/error.d.ts +2 -0
  55. package/error.d.ts.map +1 -0
  56. package/error.js +6 -0
  57. package/error.js.map +1 -0
  58. package/error.mjs +2 -0
  59. package/error.mjs.map +1 -0
  60. package/index.d.mts +6 -0
  61. package/index.d.mts.map +1 -0
  62. package/index.d.ts +6 -0
  63. package/index.d.ts.map +1 -0
  64. package/index.js +30 -0
  65. package/index.js.map +1 -0
  66. package/index.mjs +7 -0
  67. package/index.mjs.map +1 -0
  68. package/internal/builtin-types.d.mts +73 -0
  69. package/internal/builtin-types.d.mts.map +1 -0
  70. package/internal/builtin-types.d.ts +73 -0
  71. package/internal/builtin-types.d.ts.map +1 -0
  72. package/internal/builtin-types.js +4 -0
  73. package/internal/builtin-types.js.map +1 -0
  74. package/internal/builtin-types.mjs +3 -0
  75. package/internal/builtin-types.mjs.map +1 -0
  76. package/internal/detect-platform.d.mts +15 -0
  77. package/internal/detect-platform.d.mts.map +1 -0
  78. package/internal/detect-platform.d.ts +15 -0
  79. package/internal/detect-platform.d.ts.map +1 -0
  80. package/internal/detect-platform.js +162 -0
  81. package/internal/detect-platform.js.map +1 -0
  82. package/internal/detect-platform.mjs +157 -0
  83. package/internal/detect-platform.mjs.map +1 -0
  84. package/internal/errors.d.mts +3 -0
  85. package/internal/errors.d.mts.map +1 -0
  86. package/internal/errors.d.ts +3 -0
  87. package/internal/errors.d.ts.map +1 -0
  88. package/internal/errors.js +41 -0
  89. package/internal/errors.js.map +1 -0
  90. package/internal/errors.mjs +36 -0
  91. package/internal/errors.mjs.map +1 -0
  92. package/internal/headers.d.mts +20 -0
  93. package/internal/headers.d.mts.map +1 -0
  94. package/internal/headers.d.ts +20 -0
  95. package/internal/headers.d.ts.map +1 -0
  96. package/internal/headers.js +79 -0
  97. package/internal/headers.js.map +1 -0
  98. package/internal/headers.mjs +74 -0
  99. package/internal/headers.mjs.map +1 -0
  100. package/internal/parse.d.mts +12 -0
  101. package/internal/parse.d.mts.map +1 -0
  102. package/internal/parse.d.ts +12 -0
  103. package/internal/parse.d.ts.map +1 -0
  104. package/internal/parse.js +40 -0
  105. package/internal/parse.js.map +1 -0
  106. package/internal/parse.mjs +37 -0
  107. package/internal/parse.mjs.map +1 -0
  108. package/internal/qs/formats.d.mts +7 -0
  109. package/internal/qs/formats.d.mts.map +1 -0
  110. package/internal/qs/formats.d.ts +7 -0
  111. package/internal/qs/formats.d.ts.map +1 -0
  112. package/internal/qs/formats.js +13 -0
  113. package/internal/qs/formats.js.map +1 -0
  114. package/internal/qs/formats.mjs +9 -0
  115. package/internal/qs/formats.mjs.map +1 -0
  116. package/internal/qs/index.d.mts +10 -0
  117. package/internal/qs/index.d.mts.map +1 -0
  118. package/internal/qs/index.d.ts +10 -0
  119. package/internal/qs/index.d.ts.map +1 -0
  120. package/internal/qs/index.js +14 -0
  121. package/internal/qs/index.js.map +1 -0
  122. package/internal/qs/index.mjs +10 -0
  123. package/internal/qs/index.mjs.map +1 -0
  124. package/internal/qs/stringify.d.mts +3 -0
  125. package/internal/qs/stringify.d.mts.map +1 -0
  126. package/internal/qs/stringify.d.ts +3 -0
  127. package/internal/qs/stringify.d.ts.map +1 -0
  128. package/internal/qs/stringify.js +277 -0
  129. package/internal/qs/stringify.js.map +1 -0
  130. package/internal/qs/stringify.mjs +274 -0
  131. package/internal/qs/stringify.mjs.map +1 -0
  132. package/internal/qs/types.d.mts +57 -0
  133. package/internal/qs/types.d.mts.map +1 -0
  134. package/internal/qs/types.d.ts +57 -0
  135. package/internal/qs/types.d.ts.map +1 -0
  136. package/internal/qs/types.js +3 -0
  137. package/internal/qs/types.js.map +1 -0
  138. package/internal/qs/types.mjs +2 -0
  139. package/internal/qs/types.mjs.map +1 -0
  140. package/internal/qs/utils.d.mts +15 -0
  141. package/internal/qs/utils.d.mts.map +1 -0
  142. package/internal/qs/utils.d.ts +15 -0
  143. package/internal/qs/utils.d.ts.map +1 -0
  144. package/internal/qs/utils.js +230 -0
  145. package/internal/qs/utils.js.map +1 -0
  146. package/internal/qs/utils.mjs +217 -0
  147. package/internal/qs/utils.mjs.map +1 -0
  148. package/internal/request-options.d.mts +75 -0
  149. package/internal/request-options.d.mts.map +1 -0
  150. package/internal/request-options.d.ts +75 -0
  151. package/internal/request-options.d.ts.map +1 -0
  152. package/internal/request-options.js +14 -0
  153. package/internal/request-options.js.map +1 -0
  154. package/internal/request-options.mjs +10 -0
  155. package/internal/request-options.mjs.map +1 -0
  156. package/internal/shim-types.d.mts +17 -0
  157. package/internal/shim-types.d.mts.map +1 -0
  158. package/internal/shim-types.d.ts +17 -0
  159. package/internal/shim-types.d.ts.map +1 -0
  160. package/internal/shim-types.js +4 -0
  161. package/internal/shim-types.js.map +1 -0
  162. package/internal/shim-types.mjs +3 -0
  163. package/internal/shim-types.mjs.map +1 -0
  164. package/internal/shims.d.mts +20 -0
  165. package/internal/shims.d.mts.map +1 -0
  166. package/internal/shims.d.ts +20 -0
  167. package/internal/shims.d.ts.map +1 -0
  168. package/internal/shims.js +92 -0
  169. package/internal/shims.js.map +1 -0
  170. package/internal/shims.mjs +85 -0
  171. package/internal/shims.mjs.map +1 -0
  172. package/internal/to-file.d.mts +45 -0
  173. package/internal/to-file.d.mts.map +1 -0
  174. package/internal/to-file.d.ts +45 -0
  175. package/internal/to-file.d.ts.map +1 -0
  176. package/internal/to-file.js +91 -0
  177. package/internal/to-file.js.map +1 -0
  178. package/internal/to-file.mjs +88 -0
  179. package/internal/to-file.mjs.map +1 -0
  180. package/internal/tslib.js +81 -0
  181. package/internal/tslib.mjs +17 -0
  182. package/internal/types.d.mts +69 -0
  183. package/internal/types.d.mts.map +1 -0
  184. package/internal/types.d.ts +69 -0
  185. package/internal/types.d.ts.map +1 -0
  186. package/internal/types.js +4 -0
  187. package/internal/types.js.map +1 -0
  188. package/internal/types.mjs +3 -0
  189. package/internal/types.mjs.map +1 -0
  190. package/internal/uploads.d.mts +42 -0
  191. package/internal/uploads.d.mts.map +1 -0
  192. package/internal/uploads.d.ts +42 -0
  193. package/internal/uploads.d.ts.map +1 -0
  194. package/internal/uploads.js +141 -0
  195. package/internal/uploads.js.map +1 -0
  196. package/internal/uploads.mjs +131 -0
  197. package/internal/uploads.mjs.map +1 -0
  198. package/internal/utils/base64.d.mts +3 -0
  199. package/internal/utils/base64.d.mts.map +1 -0
  200. package/internal/utils/base64.d.ts +3 -0
  201. package/internal/utils/base64.d.ts.map +1 -0
  202. package/internal/utils/base64.js +38 -0
  203. package/internal/utils/base64.js.map +1 -0
  204. package/internal/utils/base64.mjs +33 -0
  205. package/internal/utils/base64.mjs.map +1 -0
  206. package/internal/utils/bytes.d.mts +4 -0
  207. package/internal/utils/bytes.d.mts.map +1 -0
  208. package/internal/utils/bytes.d.ts +4 -0
  209. package/internal/utils/bytes.d.ts.map +1 -0
  210. package/internal/utils/bytes.js +31 -0
  211. package/internal/utils/bytes.js.map +1 -0
  212. package/internal/utils/bytes.mjs +26 -0
  213. package/internal/utils/bytes.mjs.map +1 -0
  214. package/internal/utils/env.d.mts +9 -0
  215. package/internal/utils/env.d.mts.map +1 -0
  216. package/internal/utils/env.d.ts +9 -0
  217. package/internal/utils/env.d.ts.map +1 -0
  218. package/internal/utils/env.js +22 -0
  219. package/internal/utils/env.js.map +1 -0
  220. package/internal/utils/env.mjs +18 -0
  221. package/internal/utils/env.mjs.map +1 -0
  222. package/internal/utils/log.d.mts +37 -0
  223. package/internal/utils/log.d.mts.map +1 -0
  224. package/internal/utils/log.d.ts +37 -0
  225. package/internal/utils/log.d.ts.map +1 -0
  226. package/internal/utils/log.js +87 -0
  227. package/internal/utils/log.js.map +1 -0
  228. package/internal/utils/log.mjs +81 -0
  229. package/internal/utils/log.mjs.map +1 -0
  230. package/internal/utils/path.d.mts +15 -0
  231. package/internal/utils/path.d.mts.map +1 -0
  232. package/internal/utils/path.d.ts +15 -0
  233. package/internal/utils/path.d.ts.map +1 -0
  234. package/internal/utils/path.js +79 -0
  235. package/internal/utils/path.js.map +1 -0
  236. package/internal/utils/path.mjs +74 -0
  237. package/internal/utils/path.mjs.map +1 -0
  238. package/internal/utils/query.d.mts +2 -0
  239. package/internal/utils/query.d.mts.map +1 -0
  240. package/internal/utils/query.d.ts +2 -0
  241. package/internal/utils/query.d.ts.map +1 -0
  242. package/internal/utils/query.js +10 -0
  243. package/internal/utils/query.js.map +1 -0
  244. package/internal/utils/query.mjs +6 -0
  245. package/internal/utils/query.mjs.map +1 -0
  246. package/internal/utils/sleep.d.mts +2 -0
  247. package/internal/utils/sleep.d.mts.map +1 -0
  248. package/internal/utils/sleep.d.ts +2 -0
  249. package/internal/utils/sleep.d.ts.map +1 -0
  250. package/internal/utils/sleep.js +7 -0
  251. package/internal/utils/sleep.js.map +1 -0
  252. package/internal/utils/sleep.mjs +3 -0
  253. package/internal/utils/sleep.mjs.map +1 -0
  254. package/internal/utils/uuid.d.mts +5 -0
  255. package/internal/utils/uuid.d.mts.map +1 -0
  256. package/internal/utils/uuid.d.ts +5 -0
  257. package/internal/utils/uuid.d.ts.map +1 -0
  258. package/internal/utils/uuid.js +19 -0
  259. package/internal/utils/uuid.js.map +1 -0
  260. package/internal/utils/uuid.mjs +15 -0
  261. package/internal/utils/uuid.mjs.map +1 -0
  262. package/internal/utils/values.d.mts +18 -0
  263. package/internal/utils/values.d.mts.map +1 -0
  264. package/internal/utils/values.d.ts +18 -0
  265. package/internal/utils/values.d.ts.map +1 -0
  266. package/internal/utils/values.js +112 -0
  267. package/internal/utils/values.js.map +1 -0
  268. package/internal/utils/values.mjs +94 -0
  269. package/internal/utils/values.mjs.map +1 -0
  270. package/internal/utils.d.mts +8 -0
  271. package/internal/utils.d.mts.map +1 -0
  272. package/internal/utils.d.ts +8 -0
  273. package/internal/utils.d.ts.map +1 -0
  274. package/internal/utils.js +12 -0
  275. package/internal/utils.js.map +1 -0
  276. package/internal/utils.mjs +9 -0
  277. package/internal/utils.mjs.map +1 -0
  278. package/package.json +149 -0
  279. package/resource.d.mts +2 -0
  280. package/resource.d.mts.map +1 -0
  281. package/resource.d.ts +2 -0
  282. package/resource.d.ts.map +1 -0
  283. package/resource.js +6 -0
  284. package/resource.js.map +1 -0
  285. package/resource.mjs +2 -0
  286. package/resource.mjs.map +1 -0
  287. package/resources/assessments/assessments.d.mts +269 -0
  288. package/resources/assessments/assessments.d.mts.map +1 -0
  289. package/resources/assessments/assessments.d.ts +269 -0
  290. package/resources/assessments/assessments.d.ts.map +1 -0
  291. package/resources/assessments/assessments.js +100 -0
  292. package/resources/assessments/assessments.js.map +1 -0
  293. package/resources/assessments/assessments.mjs +95 -0
  294. package/resources/assessments/assessments.mjs.map +1 -0
  295. package/resources/assessments/cycles.d.mts +209 -0
  296. package/resources/assessments/cycles.d.mts.map +1 -0
  297. package/resources/assessments/cycles.d.ts +209 -0
  298. package/resources/assessments/cycles.d.ts.map +1 -0
  299. package/resources/assessments/cycles.js +76 -0
  300. package/resources/assessments/cycles.js.map +1 -0
  301. package/resources/assessments/cycles.mjs +72 -0
  302. package/resources/assessments/cycles.mjs.map +1 -0
  303. package/resources/assessments/index.d.mts +3 -0
  304. package/resources/assessments/index.d.mts.map +1 -0
  305. package/resources/assessments/index.d.ts +3 -0
  306. package/resources/assessments/index.d.ts.map +1 -0
  307. package/resources/assessments/index.js +9 -0
  308. package/resources/assessments/index.js.map +1 -0
  309. package/resources/assessments/index.mjs +4 -0
  310. package/resources/assessments/index.mjs.map +1 -0
  311. package/resources/assessments.d.mts +2 -0
  312. package/resources/assessments.d.mts.map +1 -0
  313. package/resources/assessments.d.ts +2 -0
  314. package/resources/assessments.d.ts.map +1 -0
  315. package/resources/assessments.js +6 -0
  316. package/resources/assessments.js.map +1 -0
  317. package/resources/assessments.mjs +3 -0
  318. package/resources/assessments.mjs.map +1 -0
  319. package/resources/audit-assessments/audit-assessments.d.mts +63 -0
  320. package/resources/audit-assessments/audit-assessments.d.mts.map +1 -0
  321. package/resources/audit-assessments/audit-assessments.d.ts +63 -0
  322. package/resources/audit-assessments/audit-assessments.d.ts.map +1 -0
  323. package/resources/audit-assessments/audit-assessments.js +31 -0
  324. package/resources/audit-assessments/audit-assessments.js.map +1 -0
  325. package/resources/audit-assessments/audit-assessments.mjs +26 -0
  326. package/resources/audit-assessments/audit-assessments.mjs.map +1 -0
  327. package/resources/audit-assessments/control-implementations.d.mts +38 -0
  328. package/resources/audit-assessments/control-implementations.d.mts.map +1 -0
  329. package/resources/audit-assessments/control-implementations.d.ts +38 -0
  330. package/resources/audit-assessments/control-implementations.d.ts.map +1 -0
  331. package/resources/audit-assessments/control-implementations.js +18 -0
  332. package/resources/audit-assessments/control-implementations.js.map +1 -0
  333. package/resources/audit-assessments/control-implementations.mjs +14 -0
  334. package/resources/audit-assessments/control-implementations.mjs.map +1 -0
  335. package/resources/audit-assessments/index.d.mts +3 -0
  336. package/resources/audit-assessments/index.d.mts.map +1 -0
  337. package/resources/audit-assessments/index.d.ts +3 -0
  338. package/resources/audit-assessments/index.d.ts.map +1 -0
  339. package/resources/audit-assessments/index.js +9 -0
  340. package/resources/audit-assessments/index.js.map +1 -0
  341. package/resources/audit-assessments/index.mjs +4 -0
  342. package/resources/audit-assessments/index.mjs.map +1 -0
  343. package/resources/audit-assessments.d.mts +2 -0
  344. package/resources/audit-assessments.d.mts.map +1 -0
  345. package/resources/audit-assessments.d.ts +2 -0
  346. package/resources/audit-assessments.d.ts.map +1 -0
  347. package/resources/audit-assessments.js +6 -0
  348. package/resources/audit-assessments.js.map +1 -0
  349. package/resources/audit-assessments.mjs +3 -0
  350. package/resources/audit-assessments.mjs.map +1 -0
  351. package/resources/elements.d.mts +67 -0
  352. package/resources/elements.d.mts.map +1 -0
  353. package/resources/elements.d.ts +67 -0
  354. package/resources/elements.d.ts.map +1 -0
  355. package/resources/elements.js +23 -0
  356. package/resources/elements.js.map +1 -0
  357. package/resources/elements.mjs +19 -0
  358. package/resources/elements.mjs.map +1 -0
  359. package/resources/evidence/artifacts.d.mts +531 -0
  360. package/resources/evidence/artifacts.d.mts.map +1 -0
  361. package/resources/evidence/artifacts.d.ts +531 -0
  362. package/resources/evidence/artifacts.d.ts.map +1 -0
  363. package/resources/evidence/artifacts.js +145 -0
  364. package/resources/evidence/artifacts.js.map +1 -0
  365. package/resources/evidence/artifacts.mjs +141 -0
  366. package/resources/evidence/artifacts.mjs.map +1 -0
  367. package/resources/evidence/evidence.d.mts +397 -0
  368. package/resources/evidence/evidence.d.mts.map +1 -0
  369. package/resources/evidence/evidence.d.ts +397 -0
  370. package/resources/evidence/evidence.d.ts.map +1 -0
  371. package/resources/evidence/evidence.js +118 -0
  372. package/resources/evidence/evidence.js.map +1 -0
  373. package/resources/evidence/evidence.mjs +113 -0
  374. package/resources/evidence/evidence.mjs.map +1 -0
  375. package/resources/evidence/index.d.mts +3 -0
  376. package/resources/evidence/index.d.mts.map +1 -0
  377. package/resources/evidence/index.d.ts +3 -0
  378. package/resources/evidence/index.d.ts.map +1 -0
  379. package/resources/evidence/index.js +9 -0
  380. package/resources/evidence/index.js.map +1 -0
  381. package/resources/evidence/index.mjs +4 -0
  382. package/resources/evidence/index.mjs.map +1 -0
  383. package/resources/evidence.d.mts +2 -0
  384. package/resources/evidence.d.mts.map +1 -0
  385. package/resources/evidence.d.ts +2 -0
  386. package/resources/evidence.d.ts.map +1 -0
  387. package/resources/evidence.js +6 -0
  388. package/resources/evidence.js.map +1 -0
  389. package/resources/evidence.mjs +3 -0
  390. package/resources/evidence.mjs.map +1 -0
  391. package/resources/index.d.mts +9 -0
  392. package/resources/index.d.mts.map +1 -0
  393. package/resources/index.d.ts +9 -0
  394. package/resources/index.d.ts.map +1 -0
  395. package/resources/index.js +21 -0
  396. package/resources/index.js.map +1 -0
  397. package/resources/index.mjs +10 -0
  398. package/resources/index.mjs.map +1 -0
  399. package/resources/issues/deviations.d.mts +267 -0
  400. package/resources/issues/deviations.d.mts.map +1 -0
  401. package/resources/issues/deviations.d.ts +267 -0
  402. package/resources/issues/deviations.d.ts.map +1 -0
  403. package/resources/issues/deviations.js +105 -0
  404. package/resources/issues/deviations.js.map +1 -0
  405. package/resources/issues/deviations.mjs +101 -0
  406. package/resources/issues/deviations.mjs.map +1 -0
  407. package/resources/issues/index.d.mts +5 -0
  408. package/resources/issues/index.d.mts.map +1 -0
  409. package/resources/issues/index.d.ts +5 -0
  410. package/resources/issues/index.d.ts.map +1 -0
  411. package/resources/issues/index.js +13 -0
  412. package/resources/issues/index.js.map +1 -0
  413. package/resources/issues/index.mjs +6 -0
  414. package/resources/issues/index.mjs.map +1 -0
  415. package/resources/issues/issues.d.mts +878 -0
  416. package/resources/issues/issues.d.mts.map +1 -0
  417. package/resources/issues/issues.d.ts +878 -0
  418. package/resources/issues/issues.d.ts.map +1 -0
  419. package/resources/issues/issues.js +156 -0
  420. package/resources/issues/issues.js.map +1 -0
  421. package/resources/issues/issues.mjs +151 -0
  422. package/resources/issues/issues.mjs.map +1 -0
  423. package/resources/issues/milestones.d.mts +260 -0
  424. package/resources/issues/milestones.d.mts.map +1 -0
  425. package/resources/issues/milestones.d.ts +260 -0
  426. package/resources/issues/milestones.d.ts.map +1 -0
  427. package/resources/issues/milestones.js +101 -0
  428. package/resources/issues/milestones.js.map +1 -0
  429. package/resources/issues/milestones.mjs +97 -0
  430. package/resources/issues/milestones.mjs.map +1 -0
  431. package/resources/issues/recommendations.d.mts +210 -0
  432. package/resources/issues/recommendations.d.mts.map +1 -0
  433. package/resources/issues/recommendations.d.ts +210 -0
  434. package/resources/issues/recommendations.d.ts.map +1 -0
  435. package/resources/issues/recommendations.js +106 -0
  436. package/resources/issues/recommendations.js.map +1 -0
  437. package/resources/issues/recommendations.mjs +102 -0
  438. package/resources/issues/recommendations.mjs.map +1 -0
  439. package/resources/issues.d.mts +2 -0
  440. package/resources/issues.d.mts.map +1 -0
  441. package/resources/issues.d.ts +2 -0
  442. package/resources/issues.d.ts.map +1 -0
  443. package/resources/issues.js +6 -0
  444. package/resources/issues.js.map +1 -0
  445. package/resources/issues.mjs +3 -0
  446. package/resources/issues.mjs.map +1 -0
  447. package/resources/projects/control-implementations.d.mts +36 -0
  448. package/resources/projects/control-implementations.d.mts.map +1 -0
  449. package/resources/projects/control-implementations.d.ts +36 -0
  450. package/resources/projects/control-implementations.d.ts.map +1 -0
  451. package/resources/projects/control-implementations.js +16 -0
  452. package/resources/projects/control-implementations.js.map +1 -0
  453. package/resources/projects/control-implementations.mjs +12 -0
  454. package/resources/projects/control-implementations.mjs.map +1 -0
  455. package/resources/projects/index.d.mts +3 -0
  456. package/resources/projects/index.d.mts.map +1 -0
  457. package/resources/projects/index.d.ts +3 -0
  458. package/resources/projects/index.d.ts.map +1 -0
  459. package/resources/projects/index.js +9 -0
  460. package/resources/projects/index.js.map +1 -0
  461. package/resources/projects/index.mjs +4 -0
  462. package/resources/projects/index.mjs.map +1 -0
  463. package/resources/projects/projects.d.mts +59 -0
  464. package/resources/projects/projects.d.mts.map +1 -0
  465. package/resources/projects/projects.d.ts +59 -0
  466. package/resources/projects/projects.d.ts.map +1 -0
  467. package/resources/projects/projects.js +36 -0
  468. package/resources/projects/projects.js.map +1 -0
  469. package/resources/projects/projects.mjs +31 -0
  470. package/resources/projects/projects.mjs.map +1 -0
  471. package/resources/projects.d.mts +2 -0
  472. package/resources/projects.d.mts.map +1 -0
  473. package/resources/projects.d.ts +2 -0
  474. package/resources/projects.d.ts.map +1 -0
  475. package/resources/projects.js +6 -0
  476. package/resources/projects.js.map +1 -0
  477. package/resources/projects.mjs +3 -0
  478. package/resources/projects.mjs.map +1 -0
  479. package/resources/solution-capabilities.d.mts +61 -0
  480. package/resources/solution-capabilities.d.mts.map +1 -0
  481. package/resources/solution-capabilities.d.ts +61 -0
  482. package/resources/solution-capabilities.d.ts.map +1 -0
  483. package/resources/solution-capabilities.js +23 -0
  484. package/resources/solution-capabilities.js.map +1 -0
  485. package/resources/solution-capabilities.mjs +19 -0
  486. package/resources/solution-capabilities.mjs.map +1 -0
  487. package/resources/validators.d.mts +518 -0
  488. package/resources/validators.d.mts.map +1 -0
  489. package/resources/validators.d.ts +518 -0
  490. package/resources/validators.d.ts.map +1 -0
  491. package/resources/validators.js +66 -0
  492. package/resources/validators.js.map +1 -0
  493. package/resources/validators.mjs +62 -0
  494. package/resources/validators.mjs.map +1 -0
  495. package/resources.d.mts +2 -0
  496. package/resources.d.mts.map +1 -0
  497. package/resources.d.ts +2 -0
  498. package/resources.d.ts.map +1 -0
  499. package/resources.js +5 -0
  500. package/resources.js.map +1 -0
  501. package/resources.mjs +2 -0
  502. package/resources.mjs.map +1 -0
  503. package/src/api-promise.ts +2 -0
  504. package/src/client.ts +868 -0
  505. package/src/core/README.md +3 -0
  506. package/src/core/api-promise.ts +92 -0
  507. package/src/core/error.ts +130 -0
  508. package/src/core/resource.ts +11 -0
  509. package/src/core/uploads.ts +2 -0
  510. package/src/error.ts +2 -0
  511. package/src/index.ts +22 -0
  512. package/src/internal/README.md +3 -0
  513. package/src/internal/builtin-types.ts +93 -0
  514. package/src/internal/detect-platform.ts +196 -0
  515. package/src/internal/errors.ts +33 -0
  516. package/src/internal/headers.ts +97 -0
  517. package/src/internal/parse.ts +56 -0
  518. package/src/internal/qs/LICENSE.md +13 -0
  519. package/src/internal/qs/README.md +3 -0
  520. package/src/internal/qs/formats.ts +10 -0
  521. package/src/internal/qs/index.ts +13 -0
  522. package/src/internal/qs/stringify.ts +385 -0
  523. package/src/internal/qs/types.ts +71 -0
  524. package/src/internal/qs/utils.ts +265 -0
  525. package/src/internal/request-options.ts +91 -0
  526. package/src/internal/shim-types.ts +26 -0
  527. package/src/internal/shims.ts +107 -0
  528. package/src/internal/to-file.ts +154 -0
  529. package/src/internal/types.ts +93 -0
  530. package/src/internal/uploads.ts +187 -0
  531. package/src/internal/utils/base64.ts +40 -0
  532. package/src/internal/utils/bytes.ts +32 -0
  533. package/src/internal/utils/env.ts +18 -0
  534. package/src/internal/utils/log.ts +128 -0
  535. package/src/internal/utils/path.ts +88 -0
  536. package/src/internal/utils/query.ts +7 -0
  537. package/src/internal/utils/sleep.ts +3 -0
  538. package/src/internal/utils/uuid.ts +17 -0
  539. package/src/internal/utils/values.ts +105 -0
  540. package/src/internal/utils.ts +9 -0
  541. package/src/lib/.keep +4 -0
  542. package/src/resource.ts +2 -0
  543. package/src/resources/assessments/assessments.ts +350 -0
  544. package/src/resources/assessments/cycles.ts +267 -0
  545. package/src/resources/assessments/index.ts +20 -0
  546. package/src/resources/assessments.ts +3 -0
  547. package/src/resources/audit-assessments/audit-assessments.ts +92 -0
  548. package/src/resources/audit-assessments/control-implementations.ts +49 -0
  549. package/src/resources/audit-assessments/index.ts +8 -0
  550. package/src/resources/audit-assessments.ts +3 -0
  551. package/src/resources/elements.ts +152 -0
  552. package/src/resources/evidence/artifacts.ts +682 -0
  553. package/src/resources/evidence/evidence.ts +609 -0
  554. package/src/resources/evidence/index.ts +31 -0
  555. package/src/resources/evidence.ts +3 -0
  556. package/src/resources/index.ts +55 -0
  557. package/src/resources/issues/deviations.ts +360 -0
  558. package/src/resources/issues/index.ts +51 -0
  559. package/src/resources/issues/issues.ts +1345 -0
  560. package/src/resources/issues/milestones.ts +350 -0
  561. package/src/resources/issues/recommendations.ts +417 -0
  562. package/src/resources/issues.ts +3 -0
  563. package/src/resources/projects/control-implementations.ts +47 -0
  564. package/src/resources/projects/index.ts +4 -0
  565. package/src/resources/projects/projects.ts +128 -0
  566. package/src/resources/projects.ts +3 -0
  567. package/src/resources/solution-capabilities.ts +85 -0
  568. package/src/resources/validators.ts +691 -0
  569. package/src/resources.ts +1 -0
  570. package/src/tsconfig.json +11 -0
  571. package/src/uploads.ts +2 -0
  572. package/src/version.ts +1 -0
  573. package/uploads.d.mts +2 -0
  574. package/uploads.d.mts.map +1 -0
  575. package/uploads.d.ts +2 -0
  576. package/uploads.d.ts.map +1 -0
  577. package/uploads.js +6 -0
  578. package/uploads.js.map +1 -0
  579. package/uploads.mjs +2 -0
  580. package/uploads.mjs.map +1 -0
  581. package/version.d.mts +2 -0
  582. package/version.d.mts.map +1 -0
  583. package/version.d.ts +2 -0
  584. package/version.d.ts.map +1 -0
  585. package/version.js +5 -0
  586. package/version.js.map +1 -0
  587. package/version.mjs +2 -0
  588. package/version.mjs.map +1 -0
@@ -0,0 +1,878 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import * as DeviationsAPI from "./deviations.js";
3
+ import { Deviation as DeviationsAPIDeviation, DeviationCreateParams, DeviationDeleteParams, DeviationListParams, DeviationListResponse, DeviationMetadata as DeviationsAPIDeviationMetadata, DeviationObservationTypes, DeviationRetrieveParams, DeviationUpdateParams, DeviationUpdateResponse, Deviations } from "./deviations.js";
4
+ import * as MilestonesAPI from "./milestones.js";
5
+ import { Milestone as MilestonesAPIMilestone, MilestoneCreateParams, MilestoneCreateResponse, MilestoneDeleteParams, MilestoneListParams, MilestoneListResponse, MilestoneRetrieveParams, MilestoneRetrieveResponse, MilestoneUpdateParams, MilestoneUpdateResponse, Milestones } from "./milestones.js";
6
+ import * as RecommendationsAPI from "./recommendations.js";
7
+ import { Recommendation as RecommendationsAPIRecommendation, RecommendationCreateParams, RecommendationDeleteParams, RecommendationListParams, RecommendationListResponse, RecommendationRetrieveParams, RecommendationUpdateParams, RecommendationUpdateResponse, Recommendations } from "./recommendations.js";
8
+ import { APIPromise } from "../../core/api-promise.js";
9
+ import { RequestOptions } from "../../internal/request-options.js";
10
+ export declare class Issues extends APIResource {
11
+ recommendations: RecommendationsAPI.Recommendations;
12
+ deviations: DeviationsAPI.Deviations;
13
+ milestones: MilestonesAPI.Milestones;
14
+ /**
15
+ * Creates a new issue within the project specified by the request body's
16
+ * `projectId`. The `id` value of the issue returned can be used as the `issueId`
17
+ * parameter in other routes or request bodies.
18
+ *
19
+ * @example
20
+ * ```ts
21
+ * const issue = await client.issues.create({
22
+ * originalLevel: 'HIGH',
23
+ * projectId: '123e4567-e89b-12d3-a456-426614174000',
24
+ * statusDate: '2022-01-01T00:00:00.000Z',
25
+ * title: 'Issue Title Example',
26
+ * type: 'CONTROL',
27
+ * });
28
+ * ```
29
+ */
30
+ create(body: IssueCreateParams, options?: RequestOptions): APIPromise<Issue>;
31
+ /**
32
+ * Returns the issue specified by the `issueId` query parameter and accessible to
33
+ * the api key. The `id` value of the issue returned can be used as the `issueId`
34
+ * parameter in other routes or request bodies.
35
+ *
36
+ * @example
37
+ * ```ts
38
+ * const issue = await client.issues.retrieve(
39
+ * '123e4567-e89b-12d3-a456-426614174000',
40
+ * );
41
+ * ```
42
+ */
43
+ retrieve(issueID: string, options?: RequestOptions): APIPromise<Issue>;
44
+ /**
45
+ * Updates the issue specified by the `issueId`. Upon successful operation, all
46
+ * fields that are not arrays will be overwritten. Fields that accept array values
47
+ * will add the provided values to the existing values.
48
+ *
49
+ * @example
50
+ * ```ts
51
+ * const issue = await client.issues.update(
52
+ * '123e4567-e89b-12d3-a456-426614174000',
53
+ * );
54
+ * ```
55
+ */
56
+ update(issueID: string, body: IssueUpdateParams, options?: RequestOptions): APIPromise<IssueUpdateResponse>;
57
+ /**
58
+ * Gets all issues within the project specified by the query parameter `projectId`,
59
+ * and optionally filtered by various parameters.
60
+ *
61
+ * **Basic Filtering:**
62
+ *
63
+ * - **Multiple IDs**: Pass several `id` values to retrieve multiple issues at once
64
+ * - **POAM IDs**: Pass several `poamId` values to retrieve multiple issues
65
+ * (requires `projectId`)
66
+ *
67
+ * **Content Filtering:**
68
+ *
69
+ * - **`deviationType`**: Retrieve issues containing deviations of the specified
70
+ * type
71
+ * - **`title`**: Retrieve issues whose title contains the provided string
72
+ * (case-insensitive)
73
+ * - **`kev`**: Retrieve issues containing CVE IDs present in the Known Exploited
74
+ * Vulnerabilities (KEV) catalog
75
+ * - **`cveId`**: Retrieve issues containing the specified CVE identifier (OR logic
76
+ * for multiple CVE IDs)
77
+ * - **`asset`**: Retrieve issues with at least one of the provided asset names
78
+ * (case-sensitive, exact match)
79
+ * - **`internetReachableVulnerability`**: Filter issues by whether they represent
80
+ * an internet-reachable vulnerability (boolean)
81
+ * - **`likelyExploitableVulnerability`**: Filter issues by whether they represent
82
+ * a likely-exploitable vulnerability (boolean)
83
+ *
84
+ * **Date Range Filtering:**
85
+ *
86
+ * Date ranges are inclusive. You may provide one side of the date range to get an
87
+ * unbounded range. Date format for all filters: YYYY-MM-DD (e.g., "2024-01-01")
88
+ *
89
+ * - **Effective Date**: Use `effectiveDateStart` and `effectiveDateEnd` (filters
90
+ * the `createdAt` field returned by the API)
91
+ * - **Due Date**: Use `dueDateStart` and `dueDateEnd`
92
+ * - **Status Date**: Use `statusDateStart` and `statusDateEnd`
93
+ * - **Evaluation Date**: Use `evaluationDateStart` and `evaluationDateEnd`
94
+ *
95
+ * @example
96
+ * ```ts
97
+ * const issues = await client.issues.list();
98
+ * ```
99
+ */
100
+ list(query?: IssueListParams | null | undefined, options?: RequestOptions): APIPromise<IssueListResponse>;
101
+ /**
102
+ * Deletes the issue specified by the `issueId` query parameter. Warning: This
103
+ * action is irreversible.
104
+ *
105
+ * @example
106
+ * ```ts
107
+ * await client.issues.delete(
108
+ * '123e4567-e89b-12d3-a456-426614174000',
109
+ * );
110
+ * ```
111
+ */
112
+ delete(issueID: string, options?: RequestOptions): APIPromise<void>;
113
+ /**
114
+ * Downloads Plan of Action & Milestones (POAM) data in OSCAL XML format. When a
115
+ * `projectId` is provided, returns the POAM for that specific project. When
116
+ * omitted, returns a combined POAM for all projects in the workspace.
117
+ *
118
+ * @example
119
+ * ```ts
120
+ * await client.issues.exportOscal();
121
+ * ```
122
+ */
123
+ exportOscal(query?: IssueExportOscalParams | null | undefined, options?: RequestOptions): APIPromise<void>;
124
+ }
125
+ /**
126
+ * An object containing information about issues contained within a project
127
+ */
128
+ export interface Issue {
129
+ /**
130
+ * A uuid that uniquely identifies an individual issue within Paramify
131
+ */
132
+ id: string;
133
+ /**
134
+ * The date the issue was created
135
+ */
136
+ createdAt: string;
137
+ /**
138
+ * The current risk level of the issue
139
+ */
140
+ level: 'NOT_SET' | 'CHILL' | 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL';
141
+ /**
142
+ * The original risk level of the issue
143
+ */
144
+ originalLevel: 'NOT_SET' | 'CHILL' | 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL';
145
+ /**
146
+ * A user defined identifier for this issue
147
+ */
148
+ poamId: string;
149
+ /**
150
+ * The title of the issue
151
+ */
152
+ title: string;
153
+ /**
154
+ * The type of observation for the issue
155
+ */
156
+ type: 'CONTROL' | 'VULNERABILITY' | 'DOCUMENTATION' | 'CONFIGURATION' | 'NOT_SET';
157
+ /**
158
+ * The assets associated with the issue
159
+ */
160
+ assets?: Array<string> | null;
161
+ /**
162
+ * The CVE IDs associated with the issue
163
+ */
164
+ cveIds?: Array<string> | null;
165
+ /**
166
+ * Text describing the issue
167
+ */
168
+ description?: string | null;
169
+ /**
170
+ * The deviations associated with the issue
171
+ */
172
+ deviations?: Array<DeviationsAPI.Deviation> | null;
173
+ /**
174
+ * The date the issue is due
175
+ */
176
+ dueDate?: string | null;
177
+ /**
178
+ * The evaluation date for the issue.
179
+ */
180
+ evaluationDate?: string | null;
181
+ /**
182
+ * Whether the issue represents an internet-reachable vulnerability.
183
+ */
184
+ internetReachableVulnerability?: boolean | null;
185
+ /**
186
+ * Whether the issue represents a likely-exploitable vulnerability.
187
+ */
188
+ likelyExploitableVulnerability?: boolean | null;
189
+ /**
190
+ * Links associated with the issue
191
+ */
192
+ links?: Array<Issue.Link> | null;
193
+ /**
194
+ * The milestones associated with the issue
195
+ */
196
+ milestones?: Array<Issue.Milestone> | null;
197
+ /**
198
+ * The origins of the issue
199
+ */
200
+ origins?: Array<Origin> | null;
201
+ /**
202
+ * The plugin id associated with the issue
203
+ */
204
+ pluginId?: string | null;
205
+ /**
206
+ * The point of contact for the issue
207
+ */
208
+ pointOfContact?: Issue.PointOfContact | null;
209
+ /**
210
+ * The recommendations associated with the issue
211
+ */
212
+ recommendations?: Array<RecommendationsAPI.Recommendation> | null;
213
+ /**
214
+ * Additional remarks or notes about the issue
215
+ */
216
+ remarks?: string | null;
217
+ /**
218
+ * Description of the remediation for the issue
219
+ */
220
+ remediationDescription?: string | null;
221
+ /**
222
+ * The requirements associated with the issue
223
+ */
224
+ requirements?: Array<string> | null;
225
+ /**
226
+ * The current status of the issue
227
+ */
228
+ status?: 'OPEN' | 'CLOSED' | null;
229
+ /**
230
+ * The date the current status was set
231
+ */
232
+ statusDate?: string | null;
233
+ }
234
+ export declare namespace Issue {
235
+ interface Link {
236
+ url: string;
237
+ title?: string;
238
+ }
239
+ interface Milestone {
240
+ /**
241
+ * A uuid that uniquely identifies the milestone
242
+ */
243
+ id: string;
244
+ /**
245
+ * The description of the milestone
246
+ */
247
+ description: string;
248
+ /**
249
+ * The end date of the milestone
250
+ */
251
+ dueEnd: string | null;
252
+ /**
253
+ * The start date of the milestone
254
+ */
255
+ dueStart: string | null;
256
+ /**
257
+ * The title of the milestone
258
+ */
259
+ title: string;
260
+ }
261
+ /**
262
+ * The point of contact for the issue
263
+ */
264
+ interface PointOfContact {
265
+ name: string;
266
+ email?: string | null;
267
+ }
268
+ }
269
+ /**
270
+ * Issue observation types
271
+ */
272
+ export type IssueObservationTypes = 'CONTROL' | 'VULNERABILITY' | 'DOCUMENTATION' | 'CONFIGURATION' | 'NOT_SET';
273
+ /**
274
+ * The name and subtype of the element within Paramify that created the issue
275
+ */
276
+ export interface Origin {
277
+ name: string;
278
+ subtype?: 'COM_AGREEMENT' | 'COM_CUSTOMER_MANAGED' | 'COM_FEDRAMP_SYSTEM' | 'COM_HARDWARE' | 'COM_IAAS' | 'COM_INTERCONNECTION' | 'COM_PAAS' | 'COM_PLAN' | 'COM_POLICY' | 'COM_PROCEDURE' | 'COM_PROCESS' | 'COM_SAAS' | 'COM_SERVICE' | 'COM_SOFTWARE' | 'COM_SUBNET' | 'COM_CRYPTOGRAPHIC_MODULE' | 'COM_STACK_PARAMETER' | 'PAR_ORGANIZATION' | 'PAR_PERSON' | 'ROL_NO_LOGICAL_ACCESS' | 'ROL_NOT_PRIVILEGED' | 'ROL_PRIVILEGED' | 'LOC_CAMPUS' | 'LOC_DATA_CENTER' | 'LOC_DATA_REGION_CLOUD' | 'LOC_OTHER' | 'LOC_REMOTE' | 'DAT_ACCOUNT_DATA' | 'DAT_CUSTOMER_DATA' | 'DAT_METADATA' | 'DAT_SUPPORT_ADMIN';
279
+ }
280
+ /**
281
+ * The issue as it exists after the operation
282
+ */
283
+ export interface IssueUpdateResponse {
284
+ /**
285
+ * A uuid that uniquely identifies an individual issue within Paramify
286
+ */
287
+ id: string;
288
+ /**
289
+ * The date the issue was created
290
+ */
291
+ createdAt: string;
292
+ /**
293
+ * The current risk level of the issue
294
+ */
295
+ level: 'NOT_SET' | 'CHILL' | 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL';
296
+ /**
297
+ * The original risk level of the issue
298
+ */
299
+ originalLevel: 'NOT_SET' | 'CHILL' | 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL';
300
+ /**
301
+ * A user defined identifier for this issue
302
+ */
303
+ poamId: string;
304
+ /**
305
+ * The title of the issue
306
+ */
307
+ title: string;
308
+ /**
309
+ * The type of observation for the issue
310
+ */
311
+ type: 'CONTROL' | 'VULNERABILITY' | 'DOCUMENTATION' | 'CONFIGURATION' | 'NOT_SET';
312
+ /**
313
+ * The assets associated with the issue
314
+ */
315
+ assets?: Array<string> | null;
316
+ /**
317
+ * The CVE IDs associated with the issue
318
+ */
319
+ cveIds?: Array<string> | null;
320
+ /**
321
+ * Text describing the issue
322
+ */
323
+ description?: string | null;
324
+ /**
325
+ * The deviations associated with the issue
326
+ */
327
+ deviations?: Array<DeviationsAPI.Deviation> | null;
328
+ /**
329
+ * The date the issue is due
330
+ */
331
+ dueDate?: string | null;
332
+ /**
333
+ * The evaluation date for the issue.
334
+ */
335
+ evaluationDate?: string | null;
336
+ /**
337
+ * Whether the issue represents an internet-reachable vulnerability.
338
+ */
339
+ internetReachableVulnerability?: boolean | null;
340
+ /**
341
+ * Whether the issue represents a likely-exploitable vulnerability.
342
+ */
343
+ likelyExploitableVulnerability?: boolean | null;
344
+ /**
345
+ * Links associated with the issue
346
+ */
347
+ links?: Array<IssueUpdateResponse.Link> | null;
348
+ /**
349
+ * The milestones associated with the issue
350
+ */
351
+ milestones?: Array<IssueUpdateResponse.Milestone> | null;
352
+ /**
353
+ * The origins of the issue
354
+ */
355
+ origins?: Array<Origin> | null;
356
+ /**
357
+ * The plugin id associated with the issue
358
+ */
359
+ pluginId?: string | null;
360
+ /**
361
+ * The point of contact for the issue
362
+ */
363
+ pointOfContact?: IssueUpdateResponse.PointOfContact | null;
364
+ /**
365
+ * The recommendations associated with the issue
366
+ */
367
+ recommendations?: Array<RecommendationsAPI.Recommendation> | null;
368
+ /**
369
+ * Additional remarks or notes about the issue
370
+ */
371
+ remarks?: string | null;
372
+ /**
373
+ * Description of the remediation for the issue
374
+ */
375
+ remediationDescription?: string | null;
376
+ /**
377
+ * The requirements associated with the issue
378
+ */
379
+ requirements?: Array<string> | null;
380
+ /**
381
+ * The current status of the issue
382
+ */
383
+ status?: 'OPEN' | 'CLOSED' | null;
384
+ /**
385
+ * The date the current status was set
386
+ */
387
+ statusDate?: string | null;
388
+ }
389
+ export declare namespace IssueUpdateResponse {
390
+ interface Link {
391
+ url: string;
392
+ title?: string;
393
+ }
394
+ interface Milestone {
395
+ /**
396
+ * A uuid that uniquely identifies the milestone
397
+ */
398
+ id: string;
399
+ /**
400
+ * The description of the milestone
401
+ */
402
+ description: string;
403
+ /**
404
+ * The end date of the milestone
405
+ */
406
+ dueEnd: string | null;
407
+ /**
408
+ * The start date of the milestone
409
+ */
410
+ dueStart: string | null;
411
+ /**
412
+ * The title of the milestone
413
+ */
414
+ title: string;
415
+ }
416
+ /**
417
+ * The point of contact for the issue
418
+ */
419
+ interface PointOfContact {
420
+ name: string;
421
+ email?: string | null;
422
+ }
423
+ }
424
+ export interface IssueListResponse {
425
+ issues: Array<Issue>;
426
+ }
427
+ export interface IssueCreateParams {
428
+ /**
429
+ * The original risk level of the issue
430
+ */
431
+ originalLevel: 'NOT_SET' | 'CHILL' | 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL';
432
+ /**
433
+ * A uuid that uniquely identifies the project this issue is associated with
434
+ */
435
+ projectId: string;
436
+ /**
437
+ * The date the current status was set
438
+ */
439
+ statusDate: string;
440
+ /**
441
+ * The title of the issue
442
+ */
443
+ title: string;
444
+ /**
445
+ * The type of observation for the issue
446
+ */
447
+ type: 'CONTROL' | 'VULNERABILITY' | 'DOCUMENTATION' | 'CONFIGURATION' | 'NOT_SET';
448
+ /**
449
+ * The assets associated with the issue
450
+ */
451
+ assets?: Array<string> | null;
452
+ /**
453
+ * The date the issue was created. If not provided, the current date will be used.
454
+ */
455
+ createdAt?: string | null;
456
+ /**
457
+ * The CVE IDs associated with the issue
458
+ */
459
+ cveIds?: Array<string> | null;
460
+ /**
461
+ * Text describing the issue
462
+ */
463
+ description?: string | null;
464
+ /**
465
+ * The deviations associated with the issue
466
+ */
467
+ deviations?: Array<IssueCreateParams.Deviation> | null;
468
+ /**
469
+ * The date the issue is due
470
+ */
471
+ dueDate?: string | null;
472
+ /**
473
+ * The evaluation date for the issue. If not provided, it will default to the
474
+ * issue's effective date.
475
+ */
476
+ evaluationDate?: string | null;
477
+ /**
478
+ * Whether the issue represents an internet-reachable vulnerability.
479
+ */
480
+ internetReachableVulnerability?: boolean | null;
481
+ /**
482
+ * Whether the issue represents a likely-exploitable vulnerability.
483
+ */
484
+ likelyExploitableVulnerability?: boolean | null;
485
+ /**
486
+ * Links associated with the issue
487
+ */
488
+ links?: Array<IssueCreateParams.Link> | null;
489
+ /**
490
+ * The milestones associated with the issue
491
+ */
492
+ milestones?: Array<MilestonesAPI.Milestone> | null;
493
+ /**
494
+ * The origins of the issue
495
+ */
496
+ origins?: Array<IssueCreateParams.Origin> | null;
497
+ /**
498
+ * The plugin id associated with the issue
499
+ */
500
+ pluginId?: string | null;
501
+ /**
502
+ * A user defined identifier for this issue
503
+ */
504
+ poamId?: string | null;
505
+ /**
506
+ * The point of contact for the issue
507
+ */
508
+ pointOfContact?: IssueCreateParams.PointOfContact | null;
509
+ /**
510
+ * The recommendations associated with the issue
511
+ */
512
+ recommendations?: Array<IssueCreateParams.Recommendation> | null;
513
+ /**
514
+ * Additional remarks or notes about the issue
515
+ */
516
+ remarks?: string | null;
517
+ /**
518
+ * Description of the remediation for the issue
519
+ */
520
+ remediationDescription?: string | null;
521
+ /**
522
+ * The requirements associated with the issue
523
+ */
524
+ requirements?: Array<string> | null;
525
+ /**
526
+ * The current status of the issue
527
+ */
528
+ status?: 'OPEN' | 'CLOSED' | null;
529
+ }
530
+ export declare namespace IssueCreateParams {
531
+ interface Deviation {
532
+ /**
533
+ * The description of the deviation
534
+ */
535
+ description: string;
536
+ /**
537
+ * Deviation schema
538
+ */
539
+ deviationMetadata: Deviation.DeviationMetadata;
540
+ method: 'TEST' | 'EXAMINE' | 'INTERVIEW' | 'UNKNOWN';
541
+ /**
542
+ * Deviation observation types
543
+ */
544
+ type: DeviationsAPI.DeviationObservationTypes;
545
+ /**
546
+ * The date the deviation was created
547
+ */
548
+ createdAt?: string | null;
549
+ }
550
+ namespace Deviation {
551
+ /**
552
+ * Deviation schema
553
+ */
554
+ interface DeviationMetadata {
555
+ status: 'PENDING' | 'ACCEPTED' | 'REJECTED';
556
+ /**
557
+ * The date the deviation status was accepted or rejected
558
+ */
559
+ acceptanceStatusDate?: string | null;
560
+ adjustedLevel?: 'NOT_SET' | 'CHILL' | 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL';
561
+ }
562
+ }
563
+ interface Link {
564
+ url: string;
565
+ title?: string;
566
+ }
567
+ /**
568
+ * The name and subtype of the element within Paramify that created the issue
569
+ */
570
+ interface Origin {
571
+ name: string;
572
+ subtype: 'COM_AGREEMENT' | 'COM_CUSTOMER_MANAGED' | 'COM_FEDRAMP_SYSTEM' | 'COM_HARDWARE' | 'COM_IAAS' | 'COM_INTERCONNECTION' | 'COM_PAAS' | 'COM_PLAN' | 'COM_POLICY' | 'COM_PROCEDURE' | 'COM_PROCESS' | 'COM_SAAS' | 'COM_SERVICE' | 'COM_SOFTWARE' | 'COM_SUBNET' | 'COM_CRYPTOGRAPHIC_MODULE' | 'COM_STACK_PARAMETER' | 'PAR_ORGANIZATION' | 'PAR_PERSON' | 'ROL_NO_LOGICAL_ACCESS' | 'ROL_NOT_PRIVILEGED' | 'ROL_PRIVILEGED' | 'LOC_CAMPUS' | 'LOC_DATA_CENTER' | 'LOC_DATA_REGION_CLOUD' | 'LOC_OTHER' | 'LOC_REMOTE' | 'DAT_ACCOUNT_DATA' | 'DAT_CUSTOMER_DATA' | 'DAT_METADATA' | 'DAT_SUPPORT_ADMIN';
573
+ }
574
+ /**
575
+ * The point of contact for the issue
576
+ */
577
+ interface PointOfContact {
578
+ email: string;
579
+ name: string;
580
+ }
581
+ interface Recommendation {
582
+ /**
583
+ * The description of the recommendation
584
+ */
585
+ description: string;
586
+ /**
587
+ * The origins of the recommendation
588
+ */
589
+ origins?: Array<Recommendation.Origin> | null;
590
+ }
591
+ namespace Recommendation {
592
+ /**
593
+ * The name and subtype of the element within Paramify that created the issue
594
+ */
595
+ interface Origin {
596
+ name: string;
597
+ subtype: 'COM_AGREEMENT' | 'COM_CUSTOMER_MANAGED' | 'COM_FEDRAMP_SYSTEM' | 'COM_HARDWARE' | 'COM_IAAS' | 'COM_INTERCONNECTION' | 'COM_PAAS' | 'COM_PLAN' | 'COM_POLICY' | 'COM_PROCEDURE' | 'COM_PROCESS' | 'COM_SAAS' | 'COM_SERVICE' | 'COM_SOFTWARE' | 'COM_SUBNET' | 'COM_CRYPTOGRAPHIC_MODULE' | 'COM_STACK_PARAMETER' | 'PAR_ORGANIZATION' | 'PAR_PERSON' | 'ROL_NO_LOGICAL_ACCESS' | 'ROL_NOT_PRIVILEGED' | 'ROL_PRIVILEGED' | 'LOC_CAMPUS' | 'LOC_DATA_CENTER' | 'LOC_DATA_REGION_CLOUD' | 'LOC_OTHER' | 'LOC_REMOTE' | 'DAT_ACCOUNT_DATA' | 'DAT_CUSTOMER_DATA' | 'DAT_METADATA' | 'DAT_SUPPORT_ADMIN';
598
+ }
599
+ }
600
+ }
601
+ export interface IssueUpdateParams {
602
+ /**
603
+ * The assets associated with the issue
604
+ */
605
+ assets?: Array<string>;
606
+ /**
607
+ * The date the issue was created
608
+ */
609
+ createdAt?: string;
610
+ /**
611
+ * The CVE IDs associated with the issue
612
+ */
613
+ cveIds?: Array<string> | null;
614
+ /**
615
+ * Text describing the issue
616
+ */
617
+ description?: string;
618
+ /**
619
+ * The deviations associated with the issue
620
+ */
621
+ deviations?: Array<IssueUpdateParams.Deviation>;
622
+ /**
623
+ * The date the issue is due
624
+ */
625
+ dueDate?: string | null;
626
+ /**
627
+ * The evaluation date for the issue.
628
+ */
629
+ evaluationDate?: string;
630
+ /**
631
+ * Whether the issue represents an internet-reachable vulnerability.
632
+ */
633
+ internetReachableVulnerability?: boolean;
634
+ /**
635
+ * Whether the issue represents a likely-exploitable vulnerability.
636
+ */
637
+ likelyExploitableVulnerability?: boolean;
638
+ /**
639
+ * Links associated with the issue
640
+ */
641
+ links?: Array<IssueUpdateParams.Link>;
642
+ /**
643
+ * The milestones associated with the issue
644
+ */
645
+ milestones?: Array<IssueUpdateParams.Milestone>;
646
+ /**
647
+ * The original risk level of the issue
648
+ */
649
+ originalLevel?: 'NOT_SET' | 'CHILL' | 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL';
650
+ /**
651
+ * The origins of the issue
652
+ */
653
+ origins?: Array<IssueUpdateParams.Origin>;
654
+ /**
655
+ * The plugin id associated with the issue
656
+ */
657
+ pluginId?: string;
658
+ /**
659
+ * A user defined identifier for this issue
660
+ */
661
+ poamId?: string;
662
+ /**
663
+ * The point of contact for the issue
664
+ */
665
+ pointOfContact?: IssueUpdateParams.PointOfContact;
666
+ /**
667
+ * The recommendations associated with the issue
668
+ */
669
+ recommendations?: Array<IssueUpdateParams.Recommendation>;
670
+ /**
671
+ * Additional remarks or notes about the issue
672
+ */
673
+ remarks?: string;
674
+ /**
675
+ * Description of the remediation for the issue
676
+ */
677
+ remediationDescription?: string;
678
+ /**
679
+ * The requirements associated with the issue
680
+ */
681
+ requirements?: Array<string>;
682
+ /**
683
+ * The current status of the issue
684
+ */
685
+ status?: 'OPEN' | 'CLOSED';
686
+ /**
687
+ * The date the current status was set
688
+ */
689
+ statusDate?: string;
690
+ /**
691
+ * The title of the issue
692
+ */
693
+ title?: string;
694
+ /**
695
+ * Issue observation types
696
+ */
697
+ type?: IssueObservationTypes;
698
+ }
699
+ export declare namespace IssueUpdateParams {
700
+ interface Deviation {
701
+ id?: string;
702
+ /**
703
+ * The date the deviation was created
704
+ */
705
+ createdAt?: string;
706
+ description?: string;
707
+ /**
708
+ * Deviation metadata object
709
+ */
710
+ deviationMetadata?: DeviationsAPI.DeviationMetadata;
711
+ method?: 'TEST' | 'EXAMINE' | 'INTERVIEW' | 'UNKNOWN';
712
+ /**
713
+ * Deviation observation types
714
+ */
715
+ type?: DeviationsAPI.DeviationObservationTypes;
716
+ }
717
+ interface Link {
718
+ url: string;
719
+ title?: string;
720
+ }
721
+ interface Milestone {
722
+ /**
723
+ * A uuid that uniquely identifies the milestone
724
+ */
725
+ id?: string;
726
+ /**
727
+ * The description of the milestone
728
+ */
729
+ description?: string;
730
+ /**
731
+ * The date the milestone is due to be completed
732
+ */
733
+ dueEnd?: string;
734
+ /**
735
+ * The date progress on the milestone should start
736
+ */
737
+ dueStart?: string;
738
+ /**
739
+ * The title of the milestone
740
+ */
741
+ title?: string;
742
+ }
743
+ /**
744
+ * The name and subtype of the element within Paramify that created the issue
745
+ */
746
+ interface Origin {
747
+ name: string;
748
+ subtype: 'COM_AGREEMENT' | 'COM_CUSTOMER_MANAGED' | 'COM_FEDRAMP_SYSTEM' | 'COM_HARDWARE' | 'COM_IAAS' | 'COM_INTERCONNECTION' | 'COM_PAAS' | 'COM_PLAN' | 'COM_POLICY' | 'COM_PROCEDURE' | 'COM_PROCESS' | 'COM_SAAS' | 'COM_SERVICE' | 'COM_SOFTWARE' | 'COM_SUBNET' | 'COM_CRYPTOGRAPHIC_MODULE' | 'COM_STACK_PARAMETER' | 'PAR_ORGANIZATION' | 'PAR_PERSON' | 'ROL_NO_LOGICAL_ACCESS' | 'ROL_NOT_PRIVILEGED' | 'ROL_PRIVILEGED' | 'LOC_CAMPUS' | 'LOC_DATA_CENTER' | 'LOC_DATA_REGION_CLOUD' | 'LOC_OTHER' | 'LOC_REMOTE' | 'DAT_ACCOUNT_DATA' | 'DAT_CUSTOMER_DATA' | 'DAT_METADATA' | 'DAT_SUPPORT_ADMIN';
749
+ }
750
+ /**
751
+ * The point of contact for the issue
752
+ */
753
+ interface PointOfContact {
754
+ email: string;
755
+ name: string;
756
+ }
757
+ interface Recommendation {
758
+ /**
759
+ * A uuid that uniquely identifies the recommendation
760
+ */
761
+ id?: string;
762
+ /**
763
+ * The description of the recommendation
764
+ */
765
+ description?: string;
766
+ /**
767
+ * The origins of the recommendation
768
+ */
769
+ origins?: Array<Recommendation.Origin>;
770
+ }
771
+ namespace Recommendation {
772
+ /**
773
+ * The name and subtype of the element within Paramify that created the issue
774
+ */
775
+ interface Origin {
776
+ name: string;
777
+ subtype: 'COM_AGREEMENT' | 'COM_CUSTOMER_MANAGED' | 'COM_FEDRAMP_SYSTEM' | 'COM_HARDWARE' | 'COM_IAAS' | 'COM_INTERCONNECTION' | 'COM_PAAS' | 'COM_PLAN' | 'COM_POLICY' | 'COM_PROCEDURE' | 'COM_PROCESS' | 'COM_SAAS' | 'COM_SERVICE' | 'COM_SOFTWARE' | 'COM_SUBNET' | 'COM_CRYPTOGRAPHIC_MODULE' | 'COM_STACK_PARAMETER' | 'PAR_ORGANIZATION' | 'PAR_PERSON' | 'ROL_NO_LOGICAL_ACCESS' | 'ROL_NOT_PRIVILEGED' | 'ROL_PRIVILEGED' | 'LOC_CAMPUS' | 'LOC_DATA_CENTER' | 'LOC_DATA_REGION_CLOUD' | 'LOC_OTHER' | 'LOC_REMOTE' | 'DAT_ACCOUNT_DATA' | 'DAT_CUSTOMER_DATA' | 'DAT_METADATA' | 'DAT_SUPPORT_ADMIN';
778
+ }
779
+ }
780
+ }
781
+ export interface IssueListParams {
782
+ /**
783
+ * An id that represents an issue within the Paramify application. You may pass in
784
+ * several `id` values at once.
785
+ */
786
+ id?: Array<string>;
787
+ /**
788
+ * A string that represents an asset of an issue.
789
+ */
790
+ asset?: Array<string>;
791
+ /**
792
+ * A valid CVE ID. Can be passed multiple times to filter by multiple CVE IDs.
793
+ */
794
+ cveId?: Array<string>;
795
+ /**
796
+ * The type of deviations.
797
+ */
798
+ deviationType?: 'FALSE_POSITIVE' | 'OPERATIONAL_REQUIREMENT' | 'RISK_ADJUSTMENT' | 'VENDOR_DEPENDENCY';
799
+ /**
800
+ * The end date of the due date range. The due date should be less than or equal to
801
+ * this date.
802
+ */
803
+ dueDateEnd?: string;
804
+ /**
805
+ * The start date of the due date range. The due date should be greater than or
806
+ * equal to this date.
807
+ */
808
+ dueDateStart?: string;
809
+ /**
810
+ * A date that will be used to filter issues that have an effective date less than
811
+ * or equal to the date passed in. Date format: YYYY-MM-DD.
812
+ */
813
+ effectiveDateEnd?: string;
814
+ /**
815
+ * A date that will be used to filter issues that have an effective date greater
816
+ * than or equal to the date passed in. Date format: YYYY-MM-DD.
817
+ */
818
+ effectiveDateStart?: string;
819
+ /**
820
+ * The end date of the evaluation date range. The evaluation date should be less
821
+ * than or equal to this date.
822
+ */
823
+ evaluationDateEnd?: string;
824
+ /**
825
+ * The start date of the evaluation date range. The evaluation date should be
826
+ * greater than or equal to this date.
827
+ */
828
+ evaluationDateStart?: string;
829
+ /**
830
+ * Filter issues by whether they represent an internet-reachable vulnerability
831
+ */
832
+ internetReachableVulnerability?: boolean;
833
+ /**
834
+ * Add to filter issues containing CVE IDs from the Known Exploited Vulnerabilities
835
+ * (KEV) catalog or not
836
+ */
837
+ kev?: boolean;
838
+ /**
839
+ * Filter issues by whether they represent a likely-exploitable vulnerability
840
+ */
841
+ likelyExploitableVulnerability?: boolean;
842
+ /**
843
+ * User defined identifier for this issue. You may pass in several `poamId` values
844
+ * at once. If used, the projectId is required.
845
+ */
846
+ poamId?: Array<string>;
847
+ /**
848
+ * An id that represents a project within the Paramify application.
849
+ */
850
+ projectId?: string;
851
+ /**
852
+ * The end date of the status date range. The status date should be less than or
853
+ * equal to this date.
854
+ */
855
+ statusDateEnd?: string;
856
+ /**
857
+ * The start date of the status date range. The status date should be greater than
858
+ * or equal to this date.
859
+ */
860
+ statusDateStart?: string;
861
+ /**
862
+ * A string that represents the title or part of the title of an issue.
863
+ */
864
+ title?: string;
865
+ }
866
+ export interface IssueExportOscalParams {
867
+ /**
868
+ * An id that represents a project within the Paramify application.
869
+ */
870
+ projectId?: string;
871
+ }
872
+ export declare namespace Issues {
873
+ export { type Issue as Issue, type IssueObservationTypes as IssueObservationTypes, type Origin as Origin, type IssueUpdateResponse as IssueUpdateResponse, type IssueListResponse as IssueListResponse, type IssueCreateParams as IssueCreateParams, type IssueUpdateParams as IssueUpdateParams, type IssueListParams as IssueListParams, type IssueExportOscalParams as IssueExportOscalParams, };
874
+ export { Recommendations as Recommendations, type RecommendationsAPIRecommendation as Recommendation, type RecommendationUpdateResponse as RecommendationUpdateResponse, type RecommendationListResponse as RecommendationListResponse, type RecommendationCreateParams as RecommendationCreateParams, type RecommendationRetrieveParams as RecommendationRetrieveParams, type RecommendationUpdateParams as RecommendationUpdateParams, type RecommendationListParams as RecommendationListParams, type RecommendationDeleteParams as RecommendationDeleteParams, };
875
+ export { Deviations as Deviations, type DeviationsAPIDeviation as Deviation, type DeviationsAPIDeviationMetadata as DeviationMetadata, type DeviationObservationTypes as DeviationObservationTypes, type DeviationUpdateResponse as DeviationUpdateResponse, type DeviationListResponse as DeviationListResponse, type DeviationCreateParams as DeviationCreateParams, type DeviationRetrieveParams as DeviationRetrieveParams, type DeviationUpdateParams as DeviationUpdateParams, type DeviationListParams as DeviationListParams, type DeviationDeleteParams as DeviationDeleteParams, };
876
+ export { Milestones as Milestones, type MilestonesAPIMilestone as Milestone, type MilestoneCreateResponse as MilestoneCreateResponse, type MilestoneRetrieveResponse as MilestoneRetrieveResponse, type MilestoneUpdateResponse as MilestoneUpdateResponse, type MilestoneListResponse as MilestoneListResponse, type MilestoneCreateParams as MilestoneCreateParams, type MilestoneRetrieveParams as MilestoneRetrieveParams, type MilestoneUpdateParams as MilestoneUpdateParams, type MilestoneListParams as MilestoneListParams, type MilestoneDeleteParams as MilestoneDeleteParams, };
877
+ }
878
+ //# sourceMappingURL=issues.d.ts.map