@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,531 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { type Uploadable } from "../../core/uploads.js";
4
+ import { RequestOptions } from "../../internal/request-options.js";
5
+ export declare class Artifacts extends APIResource {
6
+ /**
7
+ * Retrieves a specific artifact by ID.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const artifact = await client.evidence.artifacts.retrieve(
12
+ * '123e4567-e89b-12d3-a456-426614174000',
13
+ * { evidenceId: '123e4567-e89b-12d3-a456-426614174000' },
14
+ * );
15
+ * ```
16
+ */
17
+ retrieve(artifactID: string, params: ArtifactRetrieveParams, options?: RequestOptions): APIPromise<ArtifactRetrieveResponse>;
18
+ /**
19
+ * Update a specific artifact by ID. You can modify the title, note, and effective
20
+ * date of an artifact without changing the underlying file or URL. Only the fields
21
+ * provided in the request body will be updated.
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * const artifact = await client.evidence.artifacts.update(
26
+ * '123e4567-e89b-12d3-a456-426614174000',
27
+ * { evidenceId: '123e4567-e89b-12d3-a456-426614174000' },
28
+ * );
29
+ * ```
30
+ */
31
+ update(artifactID: string, params: ArtifactUpdateParams, options?: RequestOptions): APIPromise<ArtifactUpdateResponse>;
32
+ /**
33
+ * Retrieves all artifacts associated with a specific evidence record. Artifacts
34
+ * are digital files, documents, or URL references that support and validate
35
+ * evidence.
36
+ *
37
+ * @example
38
+ * ```ts
39
+ * const artifacts = await client.evidence.artifacts.list(
40
+ * '123e4567-e89b-12d3-a456-426614174000',
41
+ * );
42
+ * ```
43
+ */
44
+ list(evidenceID: string, query?: ArtifactListParams | null | undefined, options?: RequestOptions): APIPromise<ArtifactListResponse>;
45
+ /**
46
+ * Delete a specific artifact by ID. This operation cannot be undone. If the
47
+ * artifact is a file upload, the file will be removed from storage. If it is a URL
48
+ * artifact, the reference will be deleted. Use this endpoint carefully as it is
49
+ * irreversible.
50
+ *
51
+ * @example
52
+ * ```ts
53
+ * await client.evidence.artifacts.delete(
54
+ * '123e4567-e89b-12d3-a456-426614174000',
55
+ * { evidenceId: '123e4567-e89b-12d3-a456-426614174000' },
56
+ * );
57
+ * ```
58
+ */
59
+ delete(artifactID: string, params: ArtifactDeleteParams, options?: RequestOptions): APIPromise<void>;
60
+ /**
61
+ * Creates an artifact from a URL reference and associates it with the specified
62
+ * evidence record. The URL artifact will maintain the link to the external
63
+ * resource while storing relevant metadata such as title, notes, and effective
64
+ * date.
65
+ *
66
+ * @example
67
+ * ```ts
68
+ * const artifact = await client.evidence.artifacts.addURL(
69
+ * '123e4567-e89b-12d3-a456-426614174000',
70
+ * {
71
+ * pathName:
72
+ * 'https://docs.company.com/security/policies/access-control',
73
+ * },
74
+ * );
75
+ * ```
76
+ */
77
+ addURL(evidenceID: string, body: ArtifactAddURLParams, options?: RequestOptions): APIPromise<Artifact>;
78
+ /**
79
+ * Associates an artifact with a subject. The subject can be a control
80
+ * implementation. Artifacts can only be associated with control implementations on
81
+ * audit assessments, not with program control implementations.
82
+ *
83
+ * @example
84
+ * ```ts
85
+ * await client.evidence.artifacts.artifactAssociate(
86
+ * '123e4567-e89b-12d3-a456-426614174000',
87
+ * {
88
+ * evidenceId: '123e4567-e89b-12d3-a456-426614174000',
89
+ * associationType: 'CONNECT',
90
+ * subjectId: '123e4567-e89b-12d3-a456-426614174000',
91
+ * subjectType: 'CONTROL_IMPLEMENTATION',
92
+ * },
93
+ * );
94
+ * ```
95
+ */
96
+ artifactAssociate(artifactID: string, params: ArtifactArtifactAssociateParams, options?: RequestOptions): APIPromise<void>;
97
+ /**
98
+ * Uploads a file as an artifact and associates it with the specified evidence
99
+ * record. The uploaded file will be securely stored and made available for future
100
+ * reference. Maximum file size: 10 GB.
101
+ *
102
+ * @example
103
+ * ```ts
104
+ * const artifact = await client.evidence.artifacts.upload(
105
+ * '123e4567-e89b-12d3-a456-426614174000',
106
+ * {
107
+ * artifact: {},
108
+ * file: fs.createReadStream('path/to/file'),
109
+ * },
110
+ * );
111
+ * ```
112
+ */
113
+ upload(evidenceID: string, body: ArtifactUploadParams, options?: RequestOptions): APIPromise<Artifact>;
114
+ }
115
+ /**
116
+ * Complete artifact object containing all metadata, file information, and creation
117
+ * details. Artifacts can be either uploaded files or URL references.
118
+ */
119
+ export interface Artifact {
120
+ /**
121
+ * Unique identifier for the artifact
122
+ */
123
+ id: string;
124
+ /**
125
+ * ISO 8601 timestamp when the artifact was created in the system
126
+ */
127
+ createdAt: string;
128
+ /**
129
+ * Information about the user who created the artifact
130
+ */
131
+ createdBy: Artifact.CreatedBy;
132
+ /**
133
+ * Indicates the artifact type: true for URL artifacts, false for uploaded file
134
+ * artifacts
135
+ */
136
+ isUrl: boolean;
137
+ /**
138
+ * For file artifacts: the direct URL to retrieve the stored file. This link may
139
+ * expire after about 60 minutes; request the artifact again to get a new link. For
140
+ * URL artifacts: this is the full external URL to the resource.
141
+ */
142
+ pathname: string;
143
+ /**
144
+ * Display title of the artifact. For file uploads, this defaults to the original
145
+ * filename if not provided during creation.
146
+ */
147
+ title: string;
148
+ /**
149
+ * Information about the validators that have run or are running on the artifact
150
+ */
151
+ validators: Array<Artifact.Validator>;
152
+ /**
153
+ * The date when this artifact was effective or relevant. This may differ from
154
+ * createdAt and represents when the data was actually valid.
155
+ */
156
+ effectiveDate?: string;
157
+ /**
158
+ * MIME type of the file (e.g., application/pdf, image/png). This field is null for
159
+ * URL artifacts.
160
+ */
161
+ fileType?: string | null;
162
+ /**
163
+ * Additional notes or comments about the artifact. Can be null if no note was
164
+ * provided.
165
+ */
166
+ note?: string | null;
167
+ /**
168
+ * The original filename when the artifact was uploaded. This field is null for URL
169
+ * artifacts.
170
+ */
171
+ originalFileName?: string | null;
172
+ }
173
+ export declare namespace Artifact {
174
+ /**
175
+ * Information about the user who created the artifact
176
+ */
177
+ interface CreatedBy {
178
+ email: string | null;
179
+ username: string | null;
180
+ }
181
+ interface Validator {
182
+ id: string | null;
183
+ name: string;
184
+ result: 'PASS' | 'FAIL' | 'NOT_SET' | 'ERROR' | null;
185
+ }
186
+ }
187
+ /**
188
+ * Schema for updating artifact metadata. All fields are optional - only include
189
+ * the fields you want to update. The underlying file or URL cannot be changed
190
+ * through this endpoint.
191
+ */
192
+ export interface PatchArtifact {
193
+ /**
194
+ * Update the effective date of the artifact. Set to null to remove the effective
195
+ * date, or provide a new date to update it.
196
+ */
197
+ effectiveDate?: string | null;
198
+ /**
199
+ * Update the note or comments for the artifact. This will replace the existing
200
+ * note with the new value.
201
+ */
202
+ note?: string;
203
+ /**
204
+ * Update the title of the artifact. This will replace the existing title with the
205
+ * new value.
206
+ */
207
+ title?: string;
208
+ }
209
+ /**
210
+ * Schema for creating new URL artifacts. The pathName field is required and must
211
+ * be a valid URL. All other fields are optional.
212
+ */
213
+ export interface PostURLArtifact {
214
+ /**
215
+ * The complete URL to the external resource. Must be a valid URL starting with
216
+ * http:// or https://
217
+ */
218
+ pathName: string;
219
+ /**
220
+ * The date when this URL artifact was effective or relevant. This represents when
221
+ * the content at the URL was valid or applicable. If not provided, defaults to the
222
+ * current date.
223
+ */
224
+ effectiveDate?: string | null;
225
+ /**
226
+ * Additional notes or comments about the URL artifact. Use this to explain what
227
+ * the URL contains or why it is relevant to the evidence.
228
+ */
229
+ note?: string | null;
230
+ /**
231
+ * A descriptive title for the URL artifact. If not provided, the URL domain will
232
+ * be used as the title.
233
+ */
234
+ title?: string | null;
235
+ }
236
+ /**
237
+ * Schema for creating new file artifacts. All fields are optional - you can upload
238
+ * a file with minimal metadata and enhance it later.
239
+ */
240
+ export interface UploadArtifact {
241
+ /**
242
+ * The date when this artifact was effective or relevant. This may differ from the
243
+ * upload date and represents when the data or document was actually valid. If not
244
+ * provided, defaults to the current date.
245
+ */
246
+ effectiveDate?: string;
247
+ /**
248
+ * Additional notes or comments about the artifact. Use this field to provide
249
+ * context, explanations, or any relevant information about the artifact.
250
+ */
251
+ note?: string;
252
+ /**
253
+ * A descriptive title for the artifact. If not provided, the original filename
254
+ * will be used as the title.
255
+ */
256
+ title?: string;
257
+ }
258
+ /**
259
+ * The single artifact object with detailed metadata and file information
260
+ */
261
+ export interface ArtifactRetrieveResponse {
262
+ /**
263
+ * Unique identifier for the artifact
264
+ */
265
+ id: string;
266
+ /**
267
+ * ISO 8601 timestamp when the artifact was created in the system
268
+ */
269
+ createdAt: string;
270
+ /**
271
+ * Information about the user who created the artifact
272
+ */
273
+ createdBy: ArtifactRetrieveResponse.CreatedBy;
274
+ /**
275
+ * Indicates the artifact type: true for URL artifacts, false for uploaded file
276
+ * artifacts
277
+ */
278
+ isUrl: boolean;
279
+ /**
280
+ * For file artifacts: the direct URL to retrieve the stored file. This link may
281
+ * expire after about 60 minutes; request the artifact again to get a new link. For
282
+ * URL artifacts: this is the full external URL to the resource.
283
+ */
284
+ pathname: string;
285
+ /**
286
+ * Display title of the artifact. For file uploads, this defaults to the original
287
+ * filename if not provided during creation.
288
+ */
289
+ title: string;
290
+ /**
291
+ * Information about the validators that have run or are running on the artifact
292
+ */
293
+ validators: Array<ArtifactRetrieveResponse.Validator>;
294
+ /**
295
+ * The date when this artifact was effective or relevant. This may differ from
296
+ * createdAt and represents when the data was actually valid.
297
+ */
298
+ effectiveDate?: string;
299
+ /**
300
+ * MIME type of the file (e.g., application/pdf, image/png). This field is null for
301
+ * URL artifacts.
302
+ */
303
+ fileType?: string | null;
304
+ /**
305
+ * Additional notes or comments about the artifact. Can be null if no note was
306
+ * provided.
307
+ */
308
+ note?: string | null;
309
+ /**
310
+ * The original filename when the artifact was uploaded. This field is null for URL
311
+ * artifacts.
312
+ */
313
+ originalFileName?: string | null;
314
+ }
315
+ export declare namespace ArtifactRetrieveResponse {
316
+ /**
317
+ * Information about the user who created the artifact
318
+ */
319
+ interface CreatedBy {
320
+ email: string | null;
321
+ username: string | null;
322
+ }
323
+ interface Validator {
324
+ id: string | null;
325
+ name: string;
326
+ result: 'PASS' | 'FAIL' | 'NOT_SET' | 'ERROR' | null;
327
+ }
328
+ }
329
+ /**
330
+ * The artifact as it exists after the update operation, including all current
331
+ * metadata
332
+ */
333
+ export interface ArtifactUpdateResponse {
334
+ /**
335
+ * Unique identifier for the artifact
336
+ */
337
+ id: string;
338
+ /**
339
+ * ISO 8601 timestamp when the artifact was created in the system
340
+ */
341
+ createdAt: string;
342
+ /**
343
+ * Information about the user who created the artifact
344
+ */
345
+ createdBy: ArtifactUpdateResponse.CreatedBy;
346
+ /**
347
+ * Indicates the artifact type: true for URL artifacts, false for uploaded file
348
+ * artifacts
349
+ */
350
+ isUrl: boolean;
351
+ /**
352
+ * For file artifacts: the direct URL to retrieve the stored file. This link may
353
+ * expire after about 60 minutes; request the artifact again to get a new link. For
354
+ * URL artifacts: this is the full external URL to the resource.
355
+ */
356
+ pathname: string;
357
+ /**
358
+ * Display title of the artifact. For file uploads, this defaults to the original
359
+ * filename if not provided during creation.
360
+ */
361
+ title: string;
362
+ /**
363
+ * Information about the validators that have run or are running on the artifact
364
+ */
365
+ validators: Array<ArtifactUpdateResponse.Validator>;
366
+ /**
367
+ * The date when this artifact was effective or relevant. This may differ from
368
+ * createdAt and represents when the data was actually valid.
369
+ */
370
+ effectiveDate?: string;
371
+ /**
372
+ * MIME type of the file (e.g., application/pdf, image/png). This field is null for
373
+ * URL artifacts.
374
+ */
375
+ fileType?: string | null;
376
+ /**
377
+ * Additional notes or comments about the artifact. Can be null if no note was
378
+ * provided.
379
+ */
380
+ note?: string | null;
381
+ /**
382
+ * The original filename when the artifact was uploaded. This field is null for URL
383
+ * artifacts.
384
+ */
385
+ originalFileName?: string | null;
386
+ }
387
+ export declare namespace ArtifactUpdateResponse {
388
+ /**
389
+ * Information about the user who created the artifact
390
+ */
391
+ interface CreatedBy {
392
+ email: string | null;
393
+ username: string | null;
394
+ }
395
+ interface Validator {
396
+ id: string | null;
397
+ name: string;
398
+ result: 'PASS' | 'FAIL' | 'NOT_SET' | 'ERROR' | null;
399
+ }
400
+ }
401
+ export interface ArtifactListResponse {
402
+ /**
403
+ * Array of artifact objects matching the filter criteria
404
+ */
405
+ artifacts: Array<Artifact>;
406
+ }
407
+ export interface ArtifactRetrieveParams {
408
+ /**
409
+ * An id that represents an evidence within the Paramify application.
410
+ */
411
+ evidenceId: string;
412
+ }
413
+ export interface ArtifactUpdateParams {
414
+ /**
415
+ * Path param: An id that represents an evidence within the Paramify application.
416
+ */
417
+ evidenceId: string;
418
+ /**
419
+ * Body param: Update the effective date of the artifact. Set to null to remove the
420
+ * effective date, or provide a new date to update it.
421
+ */
422
+ effectiveDate?: string | null;
423
+ /**
424
+ * Body param: Update the note or comments for the artifact. This will replace the
425
+ * existing note with the new value.
426
+ */
427
+ note?: string;
428
+ /**
429
+ * Body param: Update the title of the artifact. This will replace the existing
430
+ * title with the new value.
431
+ */
432
+ title?: string;
433
+ }
434
+ export interface ArtifactListParams {
435
+ /**
436
+ * Filter artifacts by specific artifact IDs. Multiple IDs can be provided to fetch
437
+ * several artifacts in a single request.
438
+ */
439
+ id?: Array<string>;
440
+ /**
441
+ * Filter artifacts created on specific dates. Use this to find artifacts that were
442
+ * uploaded or created on particular dates. Date format should be YYYY-MM-DD.
443
+ * Multiple dates can be provided.
444
+ */
445
+ createdAt?: Array<string>;
446
+ /**
447
+ * Filter artifacts by their effective dates. The effective date represents when
448
+ * the artifact data was actually valid or captured, which may differ from the
449
+ * upload date. Multiple dates can be provided.
450
+ */
451
+ effectiveDate?: Array<string>;
452
+ /**
453
+ * Filter artifacts by type - whether they are URL references (true) or uploaded
454
+ * files (false). Use true to get only URL artifacts, false to get only file
455
+ * uploads.
456
+ */
457
+ isUrl?: boolean;
458
+ /**
459
+ * Filter artifacts by their original file names. Multiple file names can be
460
+ * provided to fetch several artifacts in a single request.
461
+ */
462
+ originalFileName?: Array<string>;
463
+ }
464
+ export interface ArtifactDeleteParams {
465
+ /**
466
+ * An id that represents an evidence within the Paramify application.
467
+ */
468
+ evidenceId: string;
469
+ }
470
+ export interface ArtifactAddURLParams {
471
+ /**
472
+ * The complete URL to the external resource. Must be a valid URL starting with
473
+ * http:// or https://
474
+ */
475
+ pathName: string;
476
+ /**
477
+ * The date when this URL artifact was effective or relevant. This represents when
478
+ * the content at the URL was valid or applicable. If not provided, defaults to the
479
+ * current date.
480
+ */
481
+ effectiveDate?: string | null;
482
+ /**
483
+ * Additional notes or comments about the URL artifact. Use this to explain what
484
+ * the URL contains or why it is relevant to the evidence.
485
+ */
486
+ note?: string | null;
487
+ /**
488
+ * A descriptive title for the URL artifact. If not provided, the URL domain will
489
+ * be used as the title.
490
+ */
491
+ title?: string | null;
492
+ }
493
+ export interface ArtifactArtifactAssociateParams {
494
+ /**
495
+ * Path param: An id that represents an evidence within the Paramify application.
496
+ */
497
+ evidenceId: string;
498
+ /**
499
+ * Body param: The type of association to make.
500
+ */
501
+ associationType: 'CONNECT' | 'DISCONNECT';
502
+ /**
503
+ * Body param: The ID of the subject to associate the artifact with.
504
+ */
505
+ subjectId: string;
506
+ /**
507
+ * Body param: The type of subject to associate the artifact with.
508
+ */
509
+ subjectType: 'CONTROL_IMPLEMENTATION';
510
+ }
511
+ export interface ArtifactUploadParams {
512
+ /**
513
+ * Schema for creating new file artifacts. All fields are optional - you can upload
514
+ * a file with minimal metadata and enhance it later.
515
+ */
516
+ artifact: UploadArtifact;
517
+ /**
518
+ * The file to be uploaded as an artifact. Any file type is supported. The original
519
+ * filename will be preserved and used as the default title if no title is
520
+ * specified in the metadata.
521
+ *
522
+ * **IMPORTANT**: Filenames containing certain special characters may cause upload
523
+ * errors. URL-encode your filename to avoid issues -- it will be decoded
524
+ * automatically.
525
+ */
526
+ file: Uploadable;
527
+ }
528
+ export declare namespace Artifacts {
529
+ export { type Artifact as Artifact, type PatchArtifact as PatchArtifact, type PostURLArtifact as PostURLArtifact, type UploadArtifact as UploadArtifact, type ArtifactRetrieveResponse as ArtifactRetrieveResponse, type ArtifactUpdateResponse as ArtifactUpdateResponse, type ArtifactListResponse as ArtifactListResponse, type ArtifactRetrieveParams as ArtifactRetrieveParams, type ArtifactUpdateParams as ArtifactUpdateParams, type ArtifactListParams as ArtifactListParams, type ArtifactDeleteParams as ArtifactDeleteParams, type ArtifactAddURLParams as ArtifactAddURLParams, type ArtifactArtifactAssociateParams as ArtifactArtifactAssociateParams, type ArtifactUploadParams as ArtifactUploadParams, };
530
+ }
531
+ //# sourceMappingURL=artifacts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifacts.d.ts","sourceRoot":"","sources":["../../src/resources/evidence/artifacts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,UAAU,EAAE;OAEnB,EAAE,cAAc,EAAE;AAIzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;OAUG;IACH,QAAQ,CACN,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,sBAAsB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAKvC;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAKrC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,UAAU,EAAE,MAAM,EAClB,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAInC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQpG;;;;;;;;;;;;;;;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AIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,eAAe,EAAE,SAAS,GAAG,YAAY,CAAC;IAE1C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,EAAE,wBAAwB,CAAC;CACvC;AAED,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,QAAQ,EAAE,cAAc,CAAC;IAEzB;;;;;;;;OAQG;IACH,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -0,0 +1,145 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Artifacts = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const headers_1 = require("../../internal/headers.js");
7
+ const uploads_1 = require("../../internal/uploads.js");
8
+ const path_1 = require("../../internal/utils/path.js");
9
+ class Artifacts extends resource_1.APIResource {
10
+ /**
11
+ * Retrieves a specific artifact by ID.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const artifact = await client.evidence.artifacts.retrieve(
16
+ * '123e4567-e89b-12d3-a456-426614174000',
17
+ * { evidenceId: '123e4567-e89b-12d3-a456-426614174000' },
18
+ * );
19
+ * ```
20
+ */
21
+ retrieve(artifactID, params, options) {
22
+ const { evidenceId } = params;
23
+ return this._client.get((0, path_1.path) `/evidence/${evidenceId}/artifacts/${artifactID}`, options);
24
+ }
25
+ /**
26
+ * Update a specific artifact by ID. You can modify the title, note, and effective
27
+ * date of an artifact without changing the underlying file or URL. Only the fields
28
+ * provided in the request body will be updated.
29
+ *
30
+ * @example
31
+ * ```ts
32
+ * const artifact = await client.evidence.artifacts.update(
33
+ * '123e4567-e89b-12d3-a456-426614174000',
34
+ * { evidenceId: '123e4567-e89b-12d3-a456-426614174000' },
35
+ * );
36
+ * ```
37
+ */
38
+ update(artifactID, params, options) {
39
+ const { evidenceId, ...body } = params;
40
+ return this._client.patch((0, path_1.path) `/evidence/${evidenceId}/artifacts/${artifactID}`, { body, ...options });
41
+ }
42
+ /**
43
+ * Retrieves all artifacts associated with a specific evidence record. Artifacts
44
+ * are digital files, documents, or URL references that support and validate
45
+ * evidence.
46
+ *
47
+ * @example
48
+ * ```ts
49
+ * const artifacts = await client.evidence.artifacts.list(
50
+ * '123e4567-e89b-12d3-a456-426614174000',
51
+ * );
52
+ * ```
53
+ */
54
+ list(evidenceID, query = {}, options) {
55
+ return this._client.get((0, path_1.path) `/evidence/${evidenceID}/artifacts`, { query, ...options });
56
+ }
57
+ /**
58
+ * Delete a specific artifact by ID. This operation cannot be undone. If the
59
+ * artifact is a file upload, the file will be removed from storage. If it is a URL
60
+ * artifact, the reference will be deleted. Use this endpoint carefully as it is
61
+ * irreversible.
62
+ *
63
+ * @example
64
+ * ```ts
65
+ * await client.evidence.artifacts.delete(
66
+ * '123e4567-e89b-12d3-a456-426614174000',
67
+ * { evidenceId: '123e4567-e89b-12d3-a456-426614174000' },
68
+ * );
69
+ * ```
70
+ */
71
+ delete(artifactID, params, options) {
72
+ const { evidenceId } = params;
73
+ return this._client.delete((0, path_1.path) `/evidence/${evidenceId}/artifacts/${artifactID}`, {
74
+ ...options,
75
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
76
+ });
77
+ }
78
+ /**
79
+ * Creates an artifact from a URL reference and associates it with the specified
80
+ * evidence record. The URL artifact will maintain the link to the external
81
+ * resource while storing relevant metadata such as title, notes, and effective
82
+ * date.
83
+ *
84
+ * @example
85
+ * ```ts
86
+ * const artifact = await client.evidence.artifacts.addURL(
87
+ * '123e4567-e89b-12d3-a456-426614174000',
88
+ * {
89
+ * pathName:
90
+ * 'https://docs.company.com/security/policies/access-control',
91
+ * },
92
+ * );
93
+ * ```
94
+ */
95
+ addURL(evidenceID, body, options) {
96
+ return this._client.post((0, path_1.path) `/evidence/${evidenceID}/artifacts/url`, { body, ...options });
97
+ }
98
+ /**
99
+ * Associates an artifact with a subject. The subject can be a control
100
+ * implementation. Artifacts can only be associated with control implementations on
101
+ * audit assessments, not with program control implementations.
102
+ *
103
+ * @example
104
+ * ```ts
105
+ * await client.evidence.artifacts.artifactAssociate(
106
+ * '123e4567-e89b-12d3-a456-426614174000',
107
+ * {
108
+ * evidenceId: '123e4567-e89b-12d3-a456-426614174000',
109
+ * associationType: 'CONNECT',
110
+ * subjectId: '123e4567-e89b-12d3-a456-426614174000',
111
+ * subjectType: 'CONTROL_IMPLEMENTATION',
112
+ * },
113
+ * );
114
+ * ```
115
+ */
116
+ artifactAssociate(artifactID, params, options) {
117
+ const { evidenceId, ...body } = params;
118
+ return this._client.post((0, path_1.path) `/evidence/${evidenceId}/artifacts/${artifactID}/associate`, {
119
+ body,
120
+ ...options,
121
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
122
+ });
123
+ }
124
+ /**
125
+ * Uploads a file as an artifact and associates it with the specified evidence
126
+ * record. The uploaded file will be securely stored and made available for future
127
+ * reference. Maximum file size: 10 GB.
128
+ *
129
+ * @example
130
+ * ```ts
131
+ * const artifact = await client.evidence.artifacts.upload(
132
+ * '123e4567-e89b-12d3-a456-426614174000',
133
+ * {
134
+ * artifact: {},
135
+ * file: fs.createReadStream('path/to/file'),
136
+ * },
137
+ * );
138
+ * ```
139
+ */
140
+ upload(evidenceID, body, options) {
141
+ return this._client.post((0, path_1.path) `/evidence/${evidenceID}/artifacts/upload`, (0, uploads_1.multipartFormRequestOptions)({ body, ...options }, this._client));
142
+ }
143
+ }
144
+ exports.Artifacts = Artifacts;
145
+ //# sourceMappingURL=artifacts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifacts.js","sourceRoot":"","sources":["../../src/resources/evidence/artifacts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAsD;AAEtD,uDAAqE;AACrE,uDAAiD;AAEjD,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;;OAUG;IACH,QAAQ,CACN,UAAkB,EAClB,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,UAAU,cAAc,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,UAAkB,EAClB,MAA4B,EAC5B,OAAwB;QAExB,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,aAAa,UAAU,cAAc,UAAU,EAAE,EAAE,EAAE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