@aerokit/sdk 12.44.0

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 (399) hide show
  1. package/LICENSE +277 -0
  2. package/README.md +170 -0
  3. package/dist/cjs/bpm/deployer.js +57 -0
  4. package/dist/cjs/bpm/index.js +35 -0
  5. package/dist/cjs/bpm/process.js +636 -0
  6. package/dist/cjs/bpm/tasks.js +973 -0
  7. package/dist/cjs/bpm/values.js +82 -0
  8. package/dist/cjs/cache/cache.js +64 -0
  9. package/dist/cjs/cache/index.js +26 -0
  10. package/dist/cjs/cms/cmis.js +689 -0
  11. package/dist/cjs/cms/index.js +26 -0
  12. package/dist/cjs/component/decorators.js +126 -0
  13. package/dist/cjs/component/index.js +36 -0
  14. package/dist/cjs/core/configurations.js +110 -0
  15. package/dist/cjs/core/context.js +47 -0
  16. package/dist/cjs/core/env.js +45 -0
  17. package/dist/cjs/core/globals.js +54 -0
  18. package/dist/cjs/core/index.js +35 -0
  19. package/dist/cjs/db/dao.js +795 -0
  20. package/dist/cjs/db/database.js +904 -0
  21. package/dist/cjs/db/decorators.js +167 -0
  22. package/dist/cjs/db/index.js +72 -0
  23. package/dist/cjs/db/insert.js +51 -0
  24. package/dist/cjs/db/orm.js +245 -0
  25. package/dist/cjs/db/ormstatements.js +243 -0
  26. package/dist/cjs/db/procedure.js +112 -0
  27. package/dist/cjs/db/query.js +57 -0
  28. package/dist/cjs/db/repository.js +148 -0
  29. package/dist/cjs/db/sequence.js +59 -0
  30. package/dist/cjs/db/sql.js +516 -0
  31. package/dist/cjs/db/store.js +172 -0
  32. package/dist/cjs/db/translator.js +100 -0
  33. package/dist/cjs/db/update.js +43 -0
  34. package/dist/cjs/etcd/client.js +174 -0
  35. package/dist/cjs/etcd/index.js +26 -0
  36. package/dist/cjs/extensions/decorators.js +40 -0
  37. package/dist/cjs/extensions/extensions.js +108 -0
  38. package/dist/cjs/extensions/index.js +39 -0
  39. package/dist/cjs/git/client.js +277 -0
  40. package/dist/cjs/git/index.js +26 -0
  41. package/dist/cjs/http/client-async.js +224 -0
  42. package/dist/cjs/http/client.js +145 -0
  43. package/dist/cjs/http/decorators.js +76 -0
  44. package/dist/cjs/http/errors/ForbiddenError.js +41 -0
  45. package/dist/cjs/http/errors/ValidationError.js +41 -0
  46. package/dist/cjs/http/errors.js +26 -0
  47. package/dist/cjs/http/index.js +59 -0
  48. package/dist/cjs/http/request.js +281 -0
  49. package/dist/cjs/http/response.js +452 -0
  50. package/dist/cjs/http/rs/resource-common.js +32 -0
  51. package/dist/cjs/http/rs/resource-http-controller.js +306 -0
  52. package/dist/cjs/http/rs/resource-mappings.js +130 -0
  53. package/dist/cjs/http/rs/resource-method.js +218 -0
  54. package/dist/cjs/http/rs/resource.js +232 -0
  55. package/dist/cjs/http/rs.js +31 -0
  56. package/dist/cjs/http/session.js +124 -0
  57. package/dist/cjs/http/upload.js +144 -0
  58. package/dist/cjs/http/utils.js +106 -0
  59. package/dist/cjs/index.js +1 -0
  60. package/dist/cjs/indexing/index.js +29 -0
  61. package/dist/cjs/indexing/searcher.js +70 -0
  62. package/dist/cjs/indexing/writer.js +45 -0
  63. package/dist/cjs/integrations/index.js +26 -0
  64. package/dist/cjs/integrations/integrations.js +55 -0
  65. package/dist/cjs/io/bytes.js +101 -0
  66. package/dist/cjs/io/files.js +344 -0
  67. package/dist/cjs/io/image.js +43 -0
  68. package/dist/cjs/io/index.js +38 -0
  69. package/dist/cjs/io/streams.js +243 -0
  70. package/dist/cjs/io/zip.js +251 -0
  71. package/dist/cjs/job/decorators.js +40 -0
  72. package/dist/cjs/job/index.js +39 -0
  73. package/dist/cjs/job/scheduler.js +347 -0
  74. package/dist/cjs/junit/index.js +18 -0
  75. package/dist/cjs/junit/junit.js +67 -0
  76. package/dist/cjs/kafka/consumer.js +70 -0
  77. package/dist/cjs/kafka/index.js +29 -0
  78. package/dist/cjs/kafka/producer.js +70 -0
  79. package/dist/cjs/log/index.js +26 -0
  80. package/dist/cjs/log/logging.js +174 -0
  81. package/dist/cjs/mail/client.js +153 -0
  82. package/dist/cjs/mail/index.js +26 -0
  83. package/dist/cjs/messaging/consumer.js +83 -0
  84. package/dist/cjs/messaging/decorators.js +40 -0
  85. package/dist/cjs/messaging/index.js +42 -0
  86. package/dist/cjs/messaging/producer.js +81 -0
  87. package/dist/cjs/mongodb/client.js +627 -0
  88. package/dist/cjs/mongodb/dao.js +390 -0
  89. package/dist/cjs/mongodb/index.js +36 -0
  90. package/dist/cjs/net/decorators.js +40 -0
  91. package/dist/cjs/net/index.js +42 -0
  92. package/dist/cjs/net/soap.js +228 -0
  93. package/dist/cjs/net/websockets.js +151 -0
  94. package/dist/cjs/net/wrappers/onClose.js +2 -0
  95. package/dist/cjs/net/wrappers/onError.js +2 -0
  96. package/dist/cjs/net/wrappers/onMessage.js +2 -0
  97. package/dist/cjs/net/wrappers/onOpen.js +2 -0
  98. package/dist/cjs/pdf/index.js +26 -0
  99. package/dist/cjs/pdf/pdf.js +160 -0
  100. package/dist/cjs/platform/command.js +47 -0
  101. package/dist/cjs/platform/engines.js +70 -0
  102. package/dist/cjs/platform/index.js +47 -0
  103. package/dist/cjs/platform/lifecycle.js +49 -0
  104. package/dist/cjs/platform/os.js +51 -0
  105. package/dist/cjs/platform/problems.js +127 -0
  106. package/dist/cjs/platform/registry.js +319 -0
  107. package/dist/cjs/platform/repository.js +498 -0
  108. package/dist/cjs/platform/workspace.js +574 -0
  109. package/dist/cjs/qldb/index.js +26 -0
  110. package/dist/cjs/qldb/qldb.js +24 -0
  111. package/dist/cjs/rabbitmq/consumer.js +50 -0
  112. package/dist/cjs/rabbitmq/index.js +29 -0
  113. package/dist/cjs/rabbitmq/producer.js +38 -0
  114. package/dist/cjs/redis/client.js +190 -0
  115. package/dist/cjs/redis/index.js +26 -0
  116. package/dist/cjs/security/decorators.js +48 -0
  117. package/dist/cjs/security/index.js +40 -0
  118. package/dist/cjs/security/oauth.js +75 -0
  119. package/dist/cjs/security/user.js +88 -0
  120. package/dist/cjs/template/engines.js +139 -0
  121. package/dist/cjs/template/index.js +26 -0
  122. package/dist/cjs/utils/alphanumeric.js +107 -0
  123. package/dist/cjs/utils/base64.js +104 -0
  124. package/dist/cjs/utils/converter.js +78 -0
  125. package/dist/cjs/utils/digest.js +167 -0
  126. package/dist/cjs/utils/escape.js +160 -0
  127. package/dist/cjs/utils/hex.js +104 -0
  128. package/dist/cjs/utils/index.js +68 -0
  129. package/dist/cjs/utils/jsonpath.js +489 -0
  130. package/dist/cjs/utils/qrcode.js +41 -0
  131. package/dist/cjs/utils/url.js +82 -0
  132. package/dist/cjs/utils/utf8.js +61 -0
  133. package/dist/cjs/utils/uuid.js +48 -0
  134. package/dist/cjs/utils/xml.js +57 -0
  135. package/dist/dts/bpm/deployer.d.ts +29 -0
  136. package/dist/dts/bpm/index.d.ts +8 -0
  137. package/dist/dts/bpm/process.d.ts +433 -0
  138. package/dist/dts/bpm/tasks.d.ts +2022 -0
  139. package/dist/dts/bpm/values.d.ts +38 -0
  140. package/dist/dts/cache/cache.d.ts +30 -0
  141. package/dist/dts/cache/index.d.ts +2 -0
  142. package/dist/dts/cms/cmis.d.ts +413 -0
  143. package/dist/dts/cms/index.d.ts +2 -0
  144. package/dist/dts/component/decorators.d.ts +52 -0
  145. package/dist/dts/component/index.d.ts +2 -0
  146. package/dist/dts/core/configurations.d.ts +65 -0
  147. package/dist/dts/core/context.d.ts +19 -0
  148. package/dist/dts/core/env.d.ts +23 -0
  149. package/dist/dts/core/globals.d.ts +30 -0
  150. package/dist/dts/core/index.d.ts +8 -0
  151. package/dist/dts/db/dao.d.ts +8 -0
  152. package/dist/dts/db/database.d.ts +507 -0
  153. package/dist/dts/db/decorators.d.ts +89 -0
  154. package/dist/dts/db/index.d.ts +25 -0
  155. package/dist/dts/db/insert.d.ts +32 -0
  156. package/dist/dts/db/orm.d.ts +44 -0
  157. package/dist/dts/db/ormstatements.d.ts +4 -0
  158. package/dist/dts/db/procedure.d.ts +25 -0
  159. package/dist/dts/db/query.d.ts +48 -0
  160. package/dist/dts/db/repository.d.ts +64 -0
  161. package/dist/dts/db/sequence.d.ts +34 -0
  162. package/dist/dts/db/sql.d.ts +267 -0
  163. package/dist/dts/db/store.d.ts +138 -0
  164. package/dist/dts/db/translator.d.ts +26 -0
  165. package/dist/dts/db/update.d.ts +21 -0
  166. package/dist/dts/etcd/client.d.ts +92 -0
  167. package/dist/dts/etcd/index.d.ts +2 -0
  168. package/dist/dts/extensions/decorators.d.ts +11 -0
  169. package/dist/dts/extensions/extensions.d.ts +41 -0
  170. package/dist/dts/extensions/index.d.ts +4 -0
  171. package/dist/dts/git/client.d.ts +478 -0
  172. package/dist/dts/git/index.d.ts +2 -0
  173. package/dist/dts/http/client-async.d.ts +158 -0
  174. package/dist/dts/http/client.d.ts +180 -0
  175. package/dist/dts/http/decorators.d.ts +11 -0
  176. package/dist/dts/http/errors/ForbiddenError.d.ts +20 -0
  177. package/dist/dts/http/errors/ValidationError.d.ts +20 -0
  178. package/dist/dts/http/errors.d.ts +2 -0
  179. package/dist/dts/http/index.d.ts +16 -0
  180. package/dist/dts/http/request.d.ts +158 -0
  181. package/dist/dts/http/response.d.ts +281 -0
  182. package/dist/dts/http/rs/resource-common.d.ts +11 -0
  183. package/dist/dts/http/rs/resource-http-controller.d.ts +43 -0
  184. package/dist/dts/http/rs/resource-mappings.d.ts +70 -0
  185. package/dist/dts/http/rs/resource-method.d.ts +206 -0
  186. package/dist/dts/http/rs/resource.d.ts +126 -0
  187. package/dist/dts/http/rs.d.ts +4 -0
  188. package/dist/dts/http/session.d.ts +81 -0
  189. package/dist/dts/http/upload.d.ts +100 -0
  190. package/dist/dts/http/utils.d.ts +54 -0
  191. package/dist/dts/index.d.ts +0 -0
  192. package/dist/dts/indexing/index.d.ts +4 -0
  193. package/dist/dts/indexing/searcher.d.ts +47 -0
  194. package/dist/dts/indexing/writer.d.ts +22 -0
  195. package/dist/dts/integrations/index.d.ts +2 -0
  196. package/dist/dts/integrations/integrations.d.ts +118 -0
  197. package/dist/dts/io/bytes.d.ts +56 -0
  198. package/dist/dts/io/files.d.ts +261 -0
  199. package/dist/dts/io/image.d.ts +22 -0
  200. package/dist/dts/io/index.d.ts +10 -0
  201. package/dist/dts/io/streams.d.ts +172 -0
  202. package/dist/dts/io/zip.d.ts +178 -0
  203. package/dist/dts/job/decorators.d.ts +11 -0
  204. package/dist/dts/job/index.d.ts +4 -0
  205. package/dist/dts/job/scheduler.d.ts +250 -0
  206. package/dist/dts/junit/index.d.ts +1 -0
  207. package/dist/dts/junit/junit.d.ts +50 -0
  208. package/dist/dts/kafka/consumer.d.ts +48 -0
  209. package/dist/dts/kafka/index.d.ts +4 -0
  210. package/dist/dts/kafka/producer.d.ts +50 -0
  211. package/dist/dts/log/index.d.ts +2 -0
  212. package/dist/dts/log/logging.d.ts +102 -0
  213. package/dist/dts/mail/client.d.ts +90 -0
  214. package/dist/dts/mail/index.d.ts +2 -0
  215. package/dist/dts/messaging/consumer.d.ts +61 -0
  216. package/dist/dts/messaging/decorators.d.ts +11 -0
  217. package/dist/dts/messaging/index.d.ts +6 -0
  218. package/dist/dts/messaging/producer.d.ts +59 -0
  219. package/dist/dts/mongodb/client.d.ts +367 -0
  220. package/dist/dts/mongodb/dao.d.ts +24 -0
  221. package/dist/dts/mongodb/index.d.ts +2 -0
  222. package/dist/dts/net/decorators.d.ts +11 -0
  223. package/dist/dts/net/index.d.ts +6 -0
  224. package/dist/dts/net/soap.d.ts +115 -0
  225. package/dist/dts/net/websockets.d.ts +100 -0
  226. package/dist/dts/net/wrappers/onClose.d.ts +0 -0
  227. package/dist/dts/net/wrappers/onError.d.ts +0 -0
  228. package/dist/dts/net/wrappers/onMessage.d.ts +0 -0
  229. package/dist/dts/net/wrappers/onOpen.d.ts +0 -0
  230. package/dist/dts/pdf/index.d.ts +2 -0
  231. package/dist/dts/pdf/pdf.d.ts +72 -0
  232. package/dist/dts/platform/command.d.ts +41 -0
  233. package/dist/dts/platform/engines.d.ts +35 -0
  234. package/dist/dts/platform/index.d.ts +16 -0
  235. package/dist/dts/platform/lifecycle.d.ts +22 -0
  236. package/dist/dts/platform/os.d.ts +23 -0
  237. package/dist/dts/platform/problems.d.ts +114 -0
  238. package/dist/dts/platform/registry.d.ts +227 -0
  239. package/dist/dts/platform/repository.d.ts +354 -0
  240. package/dist/dts/platform/workspace.d.ts +421 -0
  241. package/dist/dts/qldb/index.d.ts +2 -0
  242. package/dist/dts/qldb/qldb.d.ts +1 -0
  243. package/dist/dts/rabbitmq/consumer.d.ts +25 -0
  244. package/dist/dts/rabbitmq/index.d.ts +4 -0
  245. package/dist/dts/rabbitmq/producer.d.ts +15 -0
  246. package/dist/dts/redis/client.d.ts +134 -0
  247. package/dist/dts/redis/index.d.ts +2 -0
  248. package/dist/dts/security/decorators.d.ts +4 -0
  249. package/dist/dts/security/index.d.ts +5 -0
  250. package/dist/dts/security/oauth.d.ts +39 -0
  251. package/dist/dts/security/user.d.ts +51 -0
  252. package/dist/dts/template/engines.d.ts +98 -0
  253. package/dist/dts/template/index.d.ts +2 -0
  254. package/dist/dts/utils/alphanumeric.d.ts +39 -0
  255. package/dist/dts/utils/base64.d.ts +48 -0
  256. package/dist/dts/utils/converter.d.ts +44 -0
  257. package/dist/dts/utils/digest.d.ts +50 -0
  258. package/dist/dts/utils/escape.d.ts +110 -0
  259. package/dist/dts/utils/hex.d.ts +48 -0
  260. package/dist/dts/utils/index.d.ts +23 -0
  261. package/dist/dts/utils/jsonpath.d.ts +22 -0
  262. package/dist/dts/utils/qrcode.d.ts +16 -0
  263. package/dist/dts/utils/url.d.ts +50 -0
  264. package/dist/dts/utils/utf8.d.ts +33 -0
  265. package/dist/dts/utils/uuid.d.ts +21 -0
  266. package/dist/dts/utils/xml.d.ts +22 -0
  267. package/dist/esm/bpm/deployer.mjs +38 -0
  268. package/dist/esm/bpm/index.mjs +15 -0
  269. package/dist/esm/bpm/process.mjs +617 -0
  270. package/dist/esm/bpm/tasks.mjs +954 -0
  271. package/dist/esm/bpm/values.mjs +63 -0
  272. package/dist/esm/cache/cache.mjs +45 -0
  273. package/dist/esm/cache/index.mjs +6 -0
  274. package/dist/esm/cms/cmis.mjs +660 -0
  275. package/dist/esm/cms/index.mjs +6 -0
  276. package/dist/esm/component/decorators.mjs +107 -0
  277. package/dist/esm/component/index.mjs +6 -0
  278. package/dist/esm/core/configurations.mjs +91 -0
  279. package/dist/esm/core/context.mjs +28 -0
  280. package/dist/esm/core/env.mjs +26 -0
  281. package/dist/esm/core/globals.mjs +35 -0
  282. package/dist/esm/core/index.mjs +15 -0
  283. package/dist/esm/db/dao.mjs +775 -0
  284. package/dist/esm/db/database.mjs +885 -0
  285. package/dist/esm/db/decorators.mjs +148 -0
  286. package/dist/esm/db/index.mjs +42 -0
  287. package/dist/esm/db/insert.mjs +32 -0
  288. package/dist/esm/db/orm.mjs +225 -0
  289. package/dist/esm/db/ormstatements.mjs +223 -0
  290. package/dist/esm/db/procedure.mjs +93 -0
  291. package/dist/esm/db/query.mjs +38 -0
  292. package/dist/esm/db/repository.mjs +129 -0
  293. package/dist/esm/db/sequence.mjs +40 -0
  294. package/dist/esm/db/sql.mjs +497 -0
  295. package/dist/esm/db/store.mjs +153 -0
  296. package/dist/esm/db/translator.mjs +81 -0
  297. package/dist/esm/db/update.mjs +24 -0
  298. package/dist/esm/etcd/client.mjs +155 -0
  299. package/dist/esm/etcd/index.mjs +6 -0
  300. package/dist/esm/extensions/decorators.mjs +21 -0
  301. package/dist/esm/extensions/extensions.mjs +89 -0
  302. package/dist/esm/extensions/index.mjs +9 -0
  303. package/dist/esm/git/client.mjs +258 -0
  304. package/dist/esm/git/index.mjs +6 -0
  305. package/dist/esm/http/client-async.mjs +205 -0
  306. package/dist/esm/http/client.mjs +126 -0
  307. package/dist/esm/http/decorators.mjs +47 -0
  308. package/dist/esm/http/errors/ForbiddenError.mjs +22 -0
  309. package/dist/esm/http/errors/ValidationError.mjs +22 -0
  310. package/dist/esm/http/errors.mjs +7 -0
  311. package/dist/esm/http/index.mjs +29 -0
  312. package/dist/esm/http/request.mjs +262 -0
  313. package/dist/esm/http/response.mjs +433 -0
  314. package/dist/esm/http/rs/resource-common.mjs +13 -0
  315. package/dist/esm/http/rs/resource-http-controller.mjs +287 -0
  316. package/dist/esm/http/rs/resource-mappings.mjs +111 -0
  317. package/dist/esm/http/rs/resource-method.mjs +199 -0
  318. package/dist/esm/http/rs/resource.mjs +213 -0
  319. package/dist/esm/http/rs.mjs +12 -0
  320. package/dist/esm/http/session.mjs +105 -0
  321. package/dist/esm/http/upload.mjs +125 -0
  322. package/dist/esm/http/utils.mjs +87 -0
  323. package/dist/esm/index.mjs +1 -0
  324. package/dist/esm/indexing/index.mjs +9 -0
  325. package/dist/esm/indexing/searcher.mjs +51 -0
  326. package/dist/esm/indexing/writer.mjs +26 -0
  327. package/dist/esm/integrations/index.mjs +6 -0
  328. package/dist/esm/integrations/integrations.mjs +36 -0
  329. package/dist/esm/io/bytes.mjs +82 -0
  330. package/dist/esm/io/files.mjs +325 -0
  331. package/dist/esm/io/image.mjs +24 -0
  332. package/dist/esm/io/index.mjs +18 -0
  333. package/dist/esm/io/streams.mjs +224 -0
  334. package/dist/esm/io/zip.mjs +232 -0
  335. package/dist/esm/job/decorators.mjs +21 -0
  336. package/dist/esm/job/index.mjs +9 -0
  337. package/dist/esm/job/scheduler.mjs +328 -0
  338. package/dist/esm/junit/index.mjs +2 -0
  339. package/dist/esm/junit/junit.mjs +48 -0
  340. package/dist/esm/kafka/consumer.mjs +51 -0
  341. package/dist/esm/kafka/index.mjs +9 -0
  342. package/dist/esm/kafka/producer.mjs +51 -0
  343. package/dist/esm/log/index.mjs +6 -0
  344. package/dist/esm/log/logging.mjs +155 -0
  345. package/dist/esm/mail/client.mjs +134 -0
  346. package/dist/esm/mail/index.mjs +6 -0
  347. package/dist/esm/messaging/consumer.mjs +64 -0
  348. package/dist/esm/messaging/decorators.mjs +21 -0
  349. package/dist/esm/messaging/index.mjs +12 -0
  350. package/dist/esm/messaging/producer.mjs +62 -0
  351. package/dist/esm/mongodb/client.mjs +608 -0
  352. package/dist/esm/mongodb/dao.mjs +360 -0
  353. package/dist/esm/mongodb/index.mjs +7 -0
  354. package/dist/esm/net/decorators.mjs +21 -0
  355. package/dist/esm/net/index.mjs +12 -0
  356. package/dist/esm/net/soap.mjs +209 -0
  357. package/dist/esm/net/websockets.mjs +132 -0
  358. package/dist/esm/net/wrappers/onClose.mjs +2 -0
  359. package/dist/esm/net/wrappers/onError.mjs +2 -0
  360. package/dist/esm/net/wrappers/onMessage.mjs +2 -0
  361. package/dist/esm/net/wrappers/onOpen.mjs +2 -0
  362. package/dist/esm/pdf/index.mjs +6 -0
  363. package/dist/esm/pdf/pdf.mjs +141 -0
  364. package/dist/esm/platform/command.mjs +28 -0
  365. package/dist/esm/platform/engines.mjs +51 -0
  366. package/dist/esm/platform/index.mjs +27 -0
  367. package/dist/esm/platform/lifecycle.mjs +30 -0
  368. package/dist/esm/platform/os.mjs +32 -0
  369. package/dist/esm/platform/problems.mjs +108 -0
  370. package/dist/esm/platform/registry.mjs +300 -0
  371. package/dist/esm/platform/repository.mjs +479 -0
  372. package/dist/esm/platform/workspace.mjs +555 -0
  373. package/dist/esm/qldb/index.mjs +6 -0
  374. package/dist/esm/qldb/qldb.mjs +5 -0
  375. package/dist/esm/rabbitmq/consumer.mjs +31 -0
  376. package/dist/esm/rabbitmq/index.mjs +9 -0
  377. package/dist/esm/rabbitmq/producer.mjs +19 -0
  378. package/dist/esm/redis/client.mjs +171 -0
  379. package/dist/esm/redis/index.mjs +6 -0
  380. package/dist/esm/security/decorators.mjs +29 -0
  381. package/dist/esm/security/index.mjs +10 -0
  382. package/dist/esm/security/oauth.mjs +56 -0
  383. package/dist/esm/security/user.mjs +69 -0
  384. package/dist/esm/template/engines.mjs +120 -0
  385. package/dist/esm/template/index.mjs +6 -0
  386. package/dist/esm/utils/alphanumeric.mjs +88 -0
  387. package/dist/esm/utils/base64.mjs +85 -0
  388. package/dist/esm/utils/converter.mjs +59 -0
  389. package/dist/esm/utils/digest.mjs +148 -0
  390. package/dist/esm/utils/escape.mjs +141 -0
  391. package/dist/esm/utils/hex.mjs +85 -0
  392. package/dist/esm/utils/index.mjs +38 -0
  393. package/dist/esm/utils/jsonpath.mjs +470 -0
  394. package/dist/esm/utils/qrcode.mjs +22 -0
  395. package/dist/esm/utils/url.mjs +63 -0
  396. package/dist/esm/utils/utf8.mjs +42 -0
  397. package/dist/esm/utils/uuid.mjs +29 -0
  398. package/dist/esm/utils/xml.mjs +38 -0
  399. package/package.json +58 -0
@@ -0,0 +1,158 @@
1
+ /**
2
+ * Provides a JavaScript/TypeScript wrapper (Facade) for making asynchronous HTTP requests.
3
+ *
4
+ */
5
+ /** Defines a single HTTP header, used for both request and response. */
6
+ export interface HttpClientHeader {
7
+ /** The name of the header (e.g., 'Content-Type', 'Authorization'). */
8
+ name: string;
9
+ /** The value of the header. */
10
+ value: string;
11
+ }
12
+ /** Defines a query parameter that will be appended to the URL. */
13
+ export interface HttpClientParam {
14
+ /** The name of the URL query parameter (e.g., 'id'). */
15
+ name: string;
16
+ /** The value of the URL query parameter. */
17
+ value: string;
18
+ }
19
+ /** Defines a file to be included in a multi-part form data request. */
20
+ export interface HttpClientFile {
21
+ /** The form field name for the file. */
22
+ name: string;
23
+ /** The file path or content. */
24
+ value: string;
25
+ }
26
+ /** Configuration options for an HTTP request, mirroring the capabilities of the underlying Java client. */
27
+ export interface HttpClientRequestOptions {
28
+ expectContinueEnabled?: boolean;
29
+ proxyHost?: string;
30
+ proxyPort?: number;
31
+ cookieSpec?: string;
32
+ redirectsEnabled?: boolean;
33
+ relativeRedirectsAllowed?: boolean;
34
+ circularRedirectsAllowed?: boolean;
35
+ maxRedirects?: number;
36
+ authenticationEnabled?: boolean;
37
+ targetPreferredAuthSchemes?: string[];
38
+ proxyPreferredAuthSchemes?: string[];
39
+ connectionRequestTimeout?: number;
40
+ connectTimeout?: number;
41
+ socketTimeout?: number;
42
+ contentCompressionEnabled?: boolean;
43
+ sslTrustAllEnabled?: boolean;
44
+ data?: any[];
45
+ text?: string;
46
+ files?: HttpClientFile[];
47
+ characterEncoding?: string;
48
+ characterEncodingEnabled?: boolean;
49
+ contentType?: string;
50
+ headers?: HttpClientHeader[];
51
+ params?: HttpClientParam[];
52
+ binary?: boolean;
53
+ context?: {
54
+ [key: string]: any;
55
+ };
56
+ }
57
+ /** The structure of the response returned by the HttpClient methods. */
58
+ export interface HttpClientResponse {
59
+ /** The HTTP status code (e.g., 200, 404, 500). */
60
+ statusCode: number;
61
+ /** The status message returned by the server (e.g., 'OK', 'Not Found'). */
62
+ statusMessage: string;
63
+ /** Response body content as an array of bytes (if requested as binary). */
64
+ data: any[];
65
+ /** Response body content as a decoded string. */
66
+ text: string;
67
+ /** The protocol used (e.g., 'HTTP/1.1'). */
68
+ protocol: string;
69
+ /** Indicates if the response was processed as binary data. */
70
+ binary: boolean;
71
+ /** Array of all headers received in the response. */
72
+ headers: HttpClientHeader[];
73
+ }
74
+ /**
75
+ * Defines the callback structure for asynchronous requests.
76
+ * Note: Callbacks are provided as strings containing executable JavaScript code.
77
+ */
78
+ export interface HttpClientAsyncConfig {
79
+ /**
80
+ * Mandatory success callback as a **string of JavaScript code**.
81
+ * It will be executed with signature: `(response: HttpClientResponse, context: { [key: string]: any }) => void`
82
+ */
83
+ success: string;
84
+ /**
85
+ * Optional error callback as a **string of JavaScript code**.
86
+ * It will be executed with signature: `(exception: any) => void`
87
+ */
88
+ error?: string;
89
+ /**
90
+ * Optional cancel callback as a **string of JavaScript code**.
91
+ * It will be executed with signature: `() => void`
92
+ */
93
+ cancel?: string;
94
+ }
95
+ /**
96
+ * The asynchronous HTTP client class. All request methods return immediately
97
+ * and execute callbacks upon completion.
98
+ */
99
+ export declare class HttpAsyncClient {
100
+ /**
101
+ * Executes an asynchronous HTTP GET request.
102
+ * @param url The target URL.
103
+ * @param config The callback configuration object.
104
+ * @param options Request configuration options (e.g., headers, body, params).
105
+ */
106
+ getAsync(url: string, config: HttpClientAsyncConfig, options?: HttpClientRequestOptions): void;
107
+ /**
108
+ * Executes an asynchronous HTTP POST request.
109
+ * @param url The target URL.
110
+ * @param config The callback configuration object.
111
+ * @param options Request configuration options.
112
+ */
113
+ postAsync(url: string, config: HttpClientAsyncConfig, options?: HttpClientRequestOptions): void;
114
+ /**
115
+ * Executes an asynchronous HTTP PUT request.
116
+ * @param url The target URL.
117
+ * @param config The callback configuration object.
118
+ * @param options Request configuration options.
119
+ */
120
+ putAsync(url: string, config: HttpClientAsyncConfig, options?: HttpClientRequestOptions): void;
121
+ /**
122
+ * Executes an asynchronous HTTP PATCH request.
123
+ * @param url The target URL.
124
+ * @param config The callback configuration object.
125
+ * @param options Request configuration options.
126
+ */
127
+ patchAsync(url: string, config: HttpClientAsyncConfig, options?: HttpClientRequestOptions): void;
128
+ /**
129
+ * Executes an asynchronous HTTP DELETE request.
130
+ * @param url The target URL.
131
+ * @param config The callback configuration object.
132
+ * @param options Request configuration options.
133
+ */
134
+ deleteAsync(url: string, config: HttpClientAsyncConfig, options?: HttpClientRequestOptions): void;
135
+ /**
136
+ * Executes an asynchronous HTTP HEAD request.
137
+ * @param url The target URL.
138
+ * @param config The callback configuration object.
139
+ * @param options Request configuration options.
140
+ */
141
+ headAsync(url: string, config: HttpClientAsyncConfig, options?: HttpClientRequestOptions): void;
142
+ /**
143
+ * Executes an asynchronous HTTP TRACE request.
144
+ * @param url The target URL.
145
+ * @param config The callback configuration object.
146
+ * @param options Request configuration options.
147
+ */
148
+ traceAsync(url: string, config: HttpClientAsyncConfig, options?: HttpClientRequestOptions): void;
149
+ /**
150
+ * Initiates the execution of queued asynchronous requests (depending on the underlying Java client's threading model).
151
+ */
152
+ execute(): void;
153
+ }
154
+ /**
155
+ * Factory function to retrieve a new instance of the asynchronous client.
156
+ * @returns A new instance of HttpAsyncClient.
157
+ */
158
+ export declare function getInstance(): HttpAsyncClient;
@@ -0,0 +1,180 @@
1
+ /**
2
+ * Provides a JavaScript/TypeScript wrapper (Facade) for making synchronous HTTP requests.
3
+ *
4
+ */
5
+ /**
6
+ * Defines a single HTTP header, used for both request and response.
7
+ */
8
+ export interface HttpClientHeader {
9
+ /** The name of the header (e.g., 'Content-Type', 'Authorization'). */
10
+ name: string;
11
+ /** The value of the header. */
12
+ value: string;
13
+ }
14
+ /**
15
+ * Defines a query parameter that will be appended to the URL.
16
+ */
17
+ export interface HttpClientParam {
18
+ /** The name of the URL query parameter (e.g., 'id'). */
19
+ name: string;
20
+ /** The value of the URL query parameter. */
21
+ value: string;
22
+ }
23
+ /**
24
+ * Defines a file to be included in a multi-part form data request.
25
+ */
26
+ export interface HttpClientFile {
27
+ /** The form field name for the file. */
28
+ name: string;
29
+ /** The file path or content (behavior depends on the underlying Java implementation). */
30
+ value: string;
31
+ }
32
+ /**
33
+ * Configuration options for an HTTP request, mirroring the capabilities of the underlying Java client.
34
+ */
35
+ export interface HttpClientRequestOptions {
36
+ /** Whether 'Expect: 100-Continue' handshake is enabled. Defaults to false. */
37
+ expectContinueEnabled?: boolean;
38
+ /** The proxy hostname to use for the request. */
39
+ proxyHost?: string;
40
+ /** The proxy port number. */
41
+ proxyPort?: number;
42
+ /** The cookie specification to use (e.g., 'default', 'netscape'). */
43
+ cookieSpec?: string;
44
+ /** Whether automatic redirects are enabled. Defaults to true. */
45
+ redirectsEnabled?: boolean;
46
+ /** Whether relative redirects should be allowed. Defaults to true. */
47
+ relativeRedirectsAllowed?: boolean;
48
+ /** Whether circular redirects (infinite loops) should be allowed. Defaults to false. */
49
+ circularRedirectsAllowed?: boolean;
50
+ /** The maximum number of redirects to follow. */
51
+ maxRedirects?: number;
52
+ /** Whether authentication handling is enabled. */
53
+ authenticationEnabled?: boolean;
54
+ /** Array of preferred authentication schemes for the target host. */
55
+ targetPreferredAuthSchemes?: string[];
56
+ /** Array of preferred authentication schemes for the proxy. */
57
+ proxyPreferredAuthSchemes?: string[];
58
+ /** Timeout in milliseconds for requesting a connection from the connection manager. */
59
+ connectionRequestTimeout?: number;
60
+ /** Timeout in milliseconds for establishing the connection. */
61
+ connectTimeout?: number;
62
+ /** Socket timeout (timeout for waiting for data) in milliseconds. */
63
+ socketTimeout?: number;
64
+ /** Whether automatic content compression (e.g., gzip) is enabled. */
65
+ contentCompressionEnabled?: boolean;
66
+ /** Whether to trust all SSL certificates (use only for testing non-production systems). */
67
+ sslTrustAllEnabled?: boolean;
68
+ /** Data to be sent as the request body, typically as an array of bytes/integers. */
69
+ data?: any[];
70
+ /** Text content to be sent as the request body. Takes precedence over `data`. */
71
+ text?: string;
72
+ /** Array of files for multi-part form data submissions. */
73
+ files?: HttpClientFile[];
74
+ /** The character encoding (charset) to use for the request body (e.g., 'UTF-8'). */
75
+ characterEncoding?: string;
76
+ /** Whether to enforce the character encoding. */
77
+ characterEncodingEnabled?: boolean;
78
+ /** The Content-Type header value for the request body. */
79
+ contentType?: string;
80
+ /** Array of custom headers to include in the request. */
81
+ headers?: HttpClientHeader[];
82
+ /** Array of query parameters to be appended to the URL. */
83
+ params?: HttpClientParam[];
84
+ /** If true, treats the response body as binary data. */
85
+ binary?: boolean;
86
+ /** Optional context map for advanced configuration of the underlying Java client. */
87
+ context?: {
88
+ [key: string]: any;
89
+ };
90
+ }
91
+ /**
92
+ * The structure of the response returned by the HttpClient methods.
93
+ */
94
+ export interface HttpClientResponse {
95
+ /** The HTTP status code (e.g., 200, 404, 500). */
96
+ statusCode: number;
97
+ /** The status message returned by the server (e.g., 'OK', 'Not Found'). */
98
+ statusMessage: string;
99
+ /** Response body content as an array of bytes (if requested as binary). */
100
+ data: any[];
101
+ /** Response body content as a decoded string. */
102
+ text: string;
103
+ /** The protocol used (e.g., 'HTTP/1.1'). */
104
+ protocol: string;
105
+ /** Indicates if the response was processed as binary data. */
106
+ binary: boolean;
107
+ /** Array of all headers received in the response. */
108
+ headers: HttpClientHeader[];
109
+ }
110
+ /**
111
+ * A static class providing methods for making synchronous HTTP requests.
112
+ * All methods call the underlying Java Facade and parse the JSON response.
113
+ */
114
+ export declare class HttpClient {
115
+ /**
116
+ * Executes a synchronous HTTP GET request.
117
+ * @param url The target URL.
118
+ * @param options Configuration options for the request.
119
+ * @returns The parsed response object containing status, headers, and body.
120
+ */
121
+ static get(url: string, options?: HttpClientRequestOptions): HttpClientResponse;
122
+ /**
123
+ * Executes a synchronous HTTP POST request.
124
+ * @param url The target URL.
125
+ * @param options Configuration options for the request, including request body in `text` or `data`.
126
+ * @returns The parsed response object.
127
+ */
128
+ static post(url: string, options?: HttpClientRequestOptions): HttpClientResponse;
129
+ /**
130
+ * Executes a synchronous HTTP PUT request.
131
+ * @param url The target URL.
132
+ * @param options Configuration options for the request.
133
+ * @returns The parsed response object.
134
+ */
135
+ static put(url: string, options?: HttpClientRequestOptions): HttpClientResponse;
136
+ /**
137
+ * Executes a synchronous HTTP PATCH request.
138
+ * @param url The target URL.
139
+ * @param options Configuration options for the request.
140
+ * @returns The parsed response object.
141
+ */
142
+ static patch(url: string, options?: HttpClientRequestOptions): HttpClientResponse;
143
+ /**
144
+ * Executes a synchronous HTTP DELETE request.
145
+ * @param url The target URL.
146
+ * @param options Configuration options for the request.
147
+ * @returns The parsed response object.
148
+ */
149
+ static delete(url: string, options?: HttpClientRequestOptions): HttpClientResponse;
150
+ /**
151
+ * Alias for {@link HttpClient.delete}. Executes a synchronous HTTP DELETE request.
152
+ * @param url The target URL.
153
+ * @param options Configuration options for the request.
154
+ * @returns The parsed response object.
155
+ */
156
+ static del(url: string, options?: HttpClientRequestOptions): HttpClientResponse;
157
+ /**
158
+ * Executes a synchronous HTTP HEAD request (fetches headers only).
159
+ * @param url The target URL.
160
+ * @param options Configuration options for the request.
161
+ * @returns The parsed response object. The body (`text` and `data`) will typically be empty.
162
+ */
163
+ static head(url: string, options?: HttpClientRequestOptions): HttpClientResponse;
164
+ /**
165
+ * Executes a synchronous HTTP TRACE request.
166
+ * @param url The target URL.
167
+ * @param options Configuration options for the request.
168
+ * @returns The parsed response object.
169
+ */
170
+ static trace(url: string, options?: HttpClientRequestOptions): HttpClientResponse;
171
+ /**
172
+ * @private
173
+ * Builds the request URL by appending query parameters from options.params,
174
+ * then removes `params` from the options object before passing it to the Java Facade.
175
+ * @param url The base URL.
176
+ * @param options The request options object.
177
+ * @returns The URL with appended query parameters.
178
+ */
179
+ private static buildUrl;
180
+ }
@@ -0,0 +1,11 @@
1
+ export declare function Controller(ctr: {
2
+ new (): any;
3
+ }, context: ClassDecoratorContext): void;
4
+ export declare function Documentation(documentation: string): (value: any, context: ClassDecoratorContext | ClassFieldDecoratorContext | ClassMethodDecoratorContext) => void;
5
+ export declare const Get: (path: string, consumesMimeTypes?: undefined | string | string[], producesMimeTypes?: undefined | string | string[]) => any;
6
+ export declare const Post: (path: string, consumesMimeTypes?: undefined | string | string[], producesMimeTypes?: undefined | string | string[]) => any;
7
+ export declare const Put: (path: string, consumesMimeTypes?: undefined | string | string[], producesMimeTypes?: undefined | string | string[]) => any;
8
+ export declare const Patch: (path: string, consumesMimeTypes?: undefined | string | string[], producesMimeTypes?: undefined | string | string[]) => any;
9
+ export declare const Delete: (path: string, consumesMimeTypes?: undefined | string | string[], producesMimeTypes?: undefined | string | string[]) => any;
10
+ export declare const Head: (path: string, consumesMimeTypes?: undefined | string | string[], producesMimeTypes?: undefined | string | string[]) => any;
11
+ export declare const Options: (path: string, consumesMimeTypes?: undefined | string | string[], producesMimeTypes?: undefined | string | string[]) => any;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Custom error class representing a 403 Forbidden status, indicating
3
+ * that the user does not have permission to access the requested resource.
4
+ */
5
+ export declare class ForbiddenError extends Error {
6
+ /**
7
+ * The name of the error, set to "ForbiddenError".
8
+ */
9
+ readonly name = "ForbiddenError";
10
+ /**
11
+ * Captures the stack trace when the error is instantiated.
12
+ */
13
+ readonly stack: string;
14
+ /**
15
+ * Creates an instance of ForbiddenError.
16
+ *
17
+ * @param message The error message. Defaults to "You don't have permission to access this resource".
18
+ */
19
+ constructor(message?: string);
20
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Custom error class used for representing failures due to invalid input
3
+ * or data that violates domain-specific validation rules.
4
+ */
5
+ export declare class ValidationError extends Error {
6
+ /**
7
+ * The name of the error, set to "ValidationError".
8
+ */
9
+ readonly name = "ValidationError";
10
+ /**
11
+ * Captures the stack trace when the error is instantiated.
12
+ */
13
+ readonly stack: string;
14
+ /**
15
+ * Creates an instance of ValidationError.
16
+ *
17
+ * @param message The detailed message describing the validation failure.
18
+ */
19
+ constructor(message: string);
20
+ }
@@ -0,0 +1,2 @@
1
+ export { ForbiddenError } from "./errors/ForbiddenError";
2
+ export { ValidationError } from "./errors/ValidationError";
@@ -0,0 +1,16 @@
1
+ export * as asyncClient from "./client-async";
2
+ export * from "./client";
3
+ export { HttpClient as client } from "./client";
4
+ export * as decorators from "./decorators";
5
+ export * from "./decorators";
6
+ export * from "./request";
7
+ export { Request as request } from "./request";
8
+ export * from "./response";
9
+ export { Response as response } from "./response";
10
+ export * as rs from "./rs";
11
+ export * from "./session";
12
+ export { Session as session } from "./session";
13
+ export * from "./upload";
14
+ export { Upload as upload } from "./upload";
15
+ export * as errors from "./errors";
16
+ export { HttpUtils as utils } from "./utils";
@@ -0,0 +1,158 @@
1
+ /**
2
+ * The Request API under the HTTP module is responsible for
3
+ * managing standard HTTP request parameters, headers, cookies,
4
+ * and request metadata provided to server-side scripting services.
5
+ *
6
+ */
7
+ import { InputStream } from "@aerokit/sdk/io/streams";
8
+ import { Cookie } from "./response";
9
+ /**
10
+ * Represents the HTTP Request object available within a service execution
11
+ * context. It provides access to HTTP metadata, query parameters, request
12
+ * body content, cookies, and security information.
13
+ *
14
+ * All functions in this class are static: no instance of `Request`
15
+ * needs to be created.
16
+ */
17
+ export declare class Request {
18
+ private static TEXT_DATA;
19
+ /**
20
+ * Determines whether the current thread is handling a valid HTTP request.
21
+ *
22
+ * @returns `true` if called in a valid HTTP request context, otherwise `false`.
23
+ */
24
+ static isValid(): boolean;
25
+ /** Returns the HTTP method (GET, POST, PUT, DELETE, etc.). */
26
+ static getMethod(): string;
27
+ /** Returns the authenticated remote user name if available. */
28
+ static getRemoteUser(): string;
29
+ /** Returns the portion of the request path following the servlet path. */
30
+ static getPathInfo(): string;
31
+ /** Returns the translated file system path for the request. */
32
+ static getPathTranslated(): string;
33
+ /**
34
+ * Returns the value of a specific HTTP header.
35
+ *
36
+ * @param name - Header name to retrieve.
37
+ * @returns The header value or `undefined` if not found.
38
+ */
39
+ static getHeader(name: string): string;
40
+ /**
41
+ * Checks whether the remote user has the given role.
42
+ *
43
+ * @param role - The role name to check.
44
+ */
45
+ static isUserInRole(role: string): boolean;
46
+ /**
47
+ * Returns a request attribute value previously associated with the request.
48
+ *
49
+ * @param name - The attribute name.
50
+ * @returns A string value or `undefined`.
51
+ */
52
+ static getAttribute(name: string): string | undefined;
53
+ /** Returns the authentication type if known (BASIC, CLIENT_CERT, etc.). */
54
+ static getAuthType(): string;
55
+ /**
56
+ * Returns all cookies sent with the request.
57
+ *
58
+ * @returns An array of Cookie objects.
59
+ */
60
+ static getCookies(): Cookie[];
61
+ /** Returns all available request attribute names. */
62
+ static getAttributeNames(): string[];
63
+ /** Returns the character encoding used in the request body. */
64
+ static getCharacterEncoding(): string;
65
+ /** Returns the size of the request body in bytes, if known. */
66
+ static getContentLength(): number;
67
+ /**
68
+ * Returns all values of a specific header.
69
+ *
70
+ * @param name - Header name to retrieve.
71
+ */
72
+ static getHeaders(name: string): string[];
73
+ /** Returns the MIME content type of the request body. */
74
+ static getContentType(): string;
75
+ /** Returns the raw request body as a byte array. */
76
+ static getBytes(): any[];
77
+ /**
78
+ * Returns the request body as text. This is computed once and cached.
79
+ */
80
+ static getText(): string;
81
+ /**
82
+ * Returns the request body parsed as JSON if valid.
83
+ *
84
+ * @returns A JSON object or `undefined` if parsing fails.
85
+ */
86
+ static json(): {
87
+ [key: string]: any;
88
+ } | undefined;
89
+ /** Same as json(); explicit form. */
90
+ static getJSON(): {
91
+ [key: string]: any;
92
+ } | undefined;
93
+ /** Returns a request parameter value. */
94
+ static getParameter(name: string): string;
95
+ /** Returns a map of request parameters to arrays of values. */
96
+ static getParameters(): {
97
+ [key: string]: string[];
98
+ };
99
+ /** Returns the allocated request resource path. */
100
+ static getResourcePath(): string;
101
+ /** Returns all header names. */
102
+ static getHeaderNames(): string[];
103
+ /** Returns all parameter names. */
104
+ static getParameterNames(): string[];
105
+ /** Returns all values for a given parameter name. */
106
+ static getParameterValues(name: string): string[];
107
+ /** Returns the HTTP protocol version. */
108
+ static getProtocol(): string;
109
+ /** Returns the transport scheme (e.g., http, https). */
110
+ static getScheme(): string;
111
+ /** Returns the context path of the request. */
112
+ static getContextPath(): string;
113
+ /** Returns the server host name. */
114
+ static getServerName(): string;
115
+ /** Returns the server port number. */
116
+ static getServerPort(): number;
117
+ /** Returns the full raw query string. */
118
+ static getQueryString(): string;
119
+ /**
120
+ * Parses the query string and returns a map of parameter keys to values.
121
+ * If the same key appears multiple times, values are collected into arrays.
122
+ */
123
+ static getQueryParametersMap(): {
124
+ [key: string]: string | string[];
125
+ };
126
+ /** Returns the remote client IP address. */
127
+ static getRemoteAddress(): string;
128
+ /** Returns the remote client host name. */
129
+ static getRemoteHost(): string;
130
+ /** Assigns a new attribute to the request. */
131
+ static setAttribute(name: string, value: string): void;
132
+ /** Removes an attribute from the request. */
133
+ static removeAttribute(name: string): void;
134
+ /** Returns the client locale preferences. */
135
+ static getLocale(): any;
136
+ /** Returns the full request URI. */
137
+ static getRequestURI(): string;
138
+ /** Returns `true` if the request was made over HTTPS. */
139
+ static isSecure(): boolean;
140
+ /** Returns the full request URL including protocol and host. */
141
+ static getRequestURL(): string;
142
+ /** Returns the internal service path for routing. */
143
+ static getServicePath(): string;
144
+ /** Returns the remote client port number. */
145
+ static getRemotePort(): number;
146
+ /** Returns the local network host name. */
147
+ static getLocalName(): string;
148
+ /** Returns the local IP address. */
149
+ static getLocalAddress(): string;
150
+ /** Returns the server local port number handling the request. */
151
+ static getLocalPort(): number;
152
+ /**
153
+ * Returns the request body as a binary input stream.
154
+ *
155
+ * Useful for processing binary uploads.
156
+ */
157
+ static getInputStream(): InputStream;
158
+ }