@milaboratories/pl-drivers 1.11.59 → 1.11.60

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 (330) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +29 -0
  2. package/dist/clients/constructors.cjs +28 -28
  3. package/dist/clients/constructors.cjs.map +1 -1
  4. package/dist/clients/constructors.d.ts +17 -13
  5. package/dist/clients/constructors.js +28 -26
  6. package/dist/clients/constructors.js.map +1 -1
  7. package/dist/clients/crc32c.cjs +8 -13
  8. package/dist/clients/crc32c.cjs.map +1 -1
  9. package/dist/clients/crc32c.js +8 -12
  10. package/dist/clients/crc32c.js.map +1 -1
  11. package/dist/clients/download.cjs +119 -160
  12. package/dist/clients/download.cjs.map +1 -1
  13. package/dist/clients/download.d.ts +45 -41
  14. package/dist/clients/download.js +115 -137
  15. package/dist/clients/download.js.map +1 -1
  16. package/dist/clients/logs.cjs +78 -82
  17. package/dist/clients/logs.cjs.map +1 -1
  18. package/dist/clients/logs.d.ts +34 -24
  19. package/dist/clients/logs.js +77 -80
  20. package/dist/clients/logs.js.map +1 -1
  21. package/dist/clients/ls_api.cjs +62 -68
  22. package/dist/clients/ls_api.cjs.map +1 -1
  23. package/dist/clients/ls_api.d.ts +15 -11
  24. package/dist/clients/ls_api.js +61 -66
  25. package/dist/clients/ls_api.js.map +1 -1
  26. package/dist/clients/progress.cjs +49 -59
  27. package/dist/clients/progress.cjs.map +1 -1
  28. package/dist/clients/progress.d.ts +27 -20
  29. package/dist/clients/progress.js +48 -57
  30. package/dist/clients/progress.js.map +1 -1
  31. package/dist/clients/upload.cjs +189 -250
  32. package/dist/clients/upload.cjs.map +1 -1
  33. package/dist/clients/upload.d.ts +44 -34
  34. package/dist/clients/upload.js +187 -229
  35. package/dist/clients/upload.js.map +1 -1
  36. package/dist/drivers/download_blob/blob_key.cjs +9 -26
  37. package/dist/drivers/download_blob/blob_key.cjs.map +1 -1
  38. package/dist/drivers/download_blob/blob_key.js +7 -5
  39. package/dist/drivers/download_blob/blob_key.js.map +1 -1
  40. package/dist/drivers/download_blob/download_blob.cjs +395 -478
  41. package/dist/drivers/download_blob/download_blob.cjs.map +1 -1
  42. package/dist/drivers/download_blob/download_blob.d.ts +102 -100
  43. package/dist/drivers/download_blob/download_blob.js +388 -453
  44. package/dist/drivers/download_blob/download_blob.js.map +1 -1
  45. package/dist/drivers/download_blob/download_blob_task.cjs +128 -163
  46. package/dist/drivers/download_blob/download_blob_task.cjs.map +1 -1
  47. package/dist/drivers/download_blob/download_blob_task.js +125 -141
  48. package/dist/drivers/download_blob/download_blob_task.js.map +1 -1
  49. package/dist/drivers/download_blob/sparse_cache/cache.cjs +166 -195
  50. package/dist/drivers/download_blob/sparse_cache/cache.cjs.map +1 -1
  51. package/dist/drivers/download_blob/sparse_cache/cache.js +164 -193
  52. package/dist/drivers/download_blob/sparse_cache/cache.js.map +1 -1
  53. package/dist/drivers/download_blob/sparse_cache/file.cjs +29 -50
  54. package/dist/drivers/download_blob/sparse_cache/file.cjs.map +1 -1
  55. package/dist/drivers/download_blob/sparse_cache/file.js +28 -29
  56. package/dist/drivers/download_blob/sparse_cache/file.js.map +1 -1
  57. package/dist/drivers/download_blob/sparse_cache/ranges.cjs +48 -76
  58. package/dist/drivers/download_blob/sparse_cache/ranges.cjs.map +1 -1
  59. package/dist/drivers/download_blob/sparse_cache/ranges.js +47 -54
  60. package/dist/drivers/download_blob/sparse_cache/ranges.js.map +1 -1
  61. package/dist/drivers/download_blob_url/driver.cjs +125 -165
  62. package/dist/drivers/download_blob_url/driver.cjs.map +1 -1
  63. package/dist/drivers/download_blob_url/driver.d.ts +45 -42
  64. package/dist/drivers/download_blob_url/driver.js +123 -144
  65. package/dist/drivers/download_blob_url/driver.js.map +1 -1
  66. package/dist/drivers/download_blob_url/driver_id.cjs +4 -4
  67. package/dist/drivers/download_blob_url/driver_id.cjs.map +1 -1
  68. package/dist/drivers/download_blob_url/driver_id.js +4 -3
  69. package/dist/drivers/download_blob_url/driver_id.js.map +1 -1
  70. package/dist/drivers/download_blob_url/snapshot.cjs +7 -11
  71. package/dist/drivers/download_blob_url/snapshot.cjs.map +1 -1
  72. package/dist/drivers/download_blob_url/snapshot.d.ts +10 -5
  73. package/dist/drivers/download_blob_url/snapshot.js +5 -8
  74. package/dist/drivers/download_blob_url/snapshot.js.map +1 -1
  75. package/dist/drivers/download_blob_url/task.cjs +147 -194
  76. package/dist/drivers/download_blob_url/task.cjs.map +1 -1
  77. package/dist/drivers/download_blob_url/task.d.ts +55 -57
  78. package/dist/drivers/download_blob_url/task.js +140 -170
  79. package/dist/drivers/download_blob_url/task.js.map +1 -1
  80. package/dist/drivers/download_url/driver.cjs +109 -146
  81. package/dist/drivers/download_url/driver.cjs.map +1 -1
  82. package/dist/drivers/download_url/driver.d.ts +59 -57
  83. package/dist/drivers/download_url/driver.js +107 -125
  84. package/dist/drivers/download_url/driver.js.map +1 -1
  85. package/dist/drivers/download_url/task.cjs +104 -137
  86. package/dist/drivers/download_url/task.cjs.map +1 -1
  87. package/dist/drivers/download_url/task.d.ts +33 -37
  88. package/dist/drivers/download_url/task.js +99 -113
  89. package/dist/drivers/download_url/task.js.map +1 -1
  90. package/dist/drivers/helpers/download_local_handle.cjs +13 -14
  91. package/dist/drivers/helpers/download_local_handle.cjs.map +1 -1
  92. package/dist/drivers/helpers/download_local_handle.js +13 -13
  93. package/dist/drivers/helpers/download_local_handle.js.map +1 -1
  94. package/dist/drivers/helpers/download_remote_handle.cjs +23 -24
  95. package/dist/drivers/helpers/download_remote_handle.cjs.map +1 -1
  96. package/dist/drivers/helpers/download_remote_handle.js +22 -22
  97. package/dist/drivers/helpers/download_remote_handle.js.map +1 -1
  98. package/dist/drivers/helpers/files_cache.cjs +53 -64
  99. package/dist/drivers/helpers/files_cache.cjs.map +1 -1
  100. package/dist/drivers/helpers/files_cache.js +52 -62
  101. package/dist/drivers/helpers/files_cache.js.map +1 -1
  102. package/dist/drivers/helpers/helpers.cjs +24 -28
  103. package/dist/drivers/helpers/helpers.cjs.map +1 -1
  104. package/dist/drivers/helpers/helpers.d.ts +10 -7
  105. package/dist/drivers/helpers/helpers.js +24 -27
  106. package/dist/drivers/helpers/helpers.js.map +1 -1
  107. package/dist/drivers/helpers/logs_handle.cjs +24 -33
  108. package/dist/drivers/helpers/logs_handle.cjs.map +1 -1
  109. package/dist/drivers/helpers/logs_handle.js +24 -29
  110. package/dist/drivers/helpers/logs_handle.js.map +1 -1
  111. package/dist/drivers/helpers/ls_remote_import_handle.cjs +20 -20
  112. package/dist/drivers/helpers/ls_remote_import_handle.cjs.map +1 -1
  113. package/dist/drivers/helpers/ls_remote_import_handle.js +20 -18
  114. package/dist/drivers/helpers/ls_remote_import_handle.js.map +1 -1
  115. package/dist/drivers/helpers/ls_storage_entry.cjs +36 -40
  116. package/dist/drivers/helpers/ls_storage_entry.cjs.map +1 -1
  117. package/dist/drivers/helpers/ls_storage_entry.js +36 -37
  118. package/dist/drivers/helpers/ls_storage_entry.js.map +1 -1
  119. package/dist/drivers/helpers/polling_ops.d.ts +6 -5
  120. package/dist/drivers/helpers/read_file.cjs +34 -57
  121. package/dist/drivers/helpers/read_file.cjs.map +1 -1
  122. package/dist/drivers/helpers/read_file.js +30 -34
  123. package/dist/drivers/helpers/read_file.js.map +1 -1
  124. package/dist/drivers/logs.cjs +94 -112
  125. package/dist/drivers/logs.cjs.map +1 -1
  126. package/dist/drivers/logs.d.ts +35 -32
  127. package/dist/drivers/logs.js +93 -110
  128. package/dist/drivers/logs.js.map +1 -1
  129. package/dist/drivers/logs_stream.cjs +210 -242
  130. package/dist/drivers/logs_stream.cjs.map +1 -1
  131. package/dist/drivers/logs_stream.d.ts +55 -53
  132. package/dist/drivers/logs_stream.js +209 -240
  133. package/dist/drivers/logs_stream.js.map +1 -1
  134. package/dist/drivers/ls.cjs +151 -238
  135. package/dist/drivers/ls.cjs.map +1 -1
  136. package/dist/drivers/ls.d.ts +53 -49
  137. package/dist/drivers/ls.js +148 -216
  138. package/dist/drivers/ls.js.map +1 -1
  139. package/dist/drivers/types.cjs +25 -53
  140. package/dist/drivers/types.cjs.map +1 -1
  141. package/dist/drivers/types.d.ts +91 -106
  142. package/dist/drivers/types.js +23 -50
  143. package/dist/drivers/types.js.map +1 -1
  144. package/dist/drivers/upload.cjs +127 -153
  145. package/dist/drivers/upload.cjs.map +1 -1
  146. package/dist/drivers/upload.d.ts +52 -50
  147. package/dist/drivers/upload.js +126 -151
  148. package/dist/drivers/upload.js.map +1 -1
  149. package/dist/drivers/upload_task.cjs +223 -260
  150. package/dist/drivers/upload_task.cjs.map +1 -1
  151. package/dist/drivers/upload_task.d.ts +54 -52
  152. package/dist/drivers/upload_task.js +221 -258
  153. package/dist/drivers/upload_task.js.map +1 -1
  154. package/dist/drivers/urls/url.cjs +30 -35
  155. package/dist/drivers/urls/url.cjs.map +1 -1
  156. package/dist/drivers/urls/url.js +28 -33
  157. package/dist/drivers/urls/url.js.map +1 -1
  158. package/dist/drivers/virtual_storages.cjs +36 -48
  159. package/dist/drivers/virtual_storages.cjs.map +1 -1
  160. package/dist/drivers/virtual_storages.d.ts +6 -2
  161. package/dist/drivers/virtual_storages.js +32 -46
  162. package/dist/drivers/virtual_storages.js.map +1 -1
  163. package/dist/helpers/download.cjs +72 -95
  164. package/dist/helpers/download.cjs.map +1 -1
  165. package/dist/helpers/download.d.ts +13 -9
  166. package/dist/helpers/download.js +71 -93
  167. package/dist/helpers/download.js.map +1 -1
  168. package/dist/helpers/download_errors.cjs +28 -27
  169. package/dist/helpers/download_errors.cjs.map +1 -1
  170. package/dist/helpers/download_errors.d.ts +16 -13
  171. package/dist/helpers/download_errors.js +28 -26
  172. package/dist/helpers/download_errors.js.map +1 -1
  173. package/dist/helpers/validate.cjs +8 -7
  174. package/dist/helpers/validate.cjs.map +1 -1
  175. package/dist/helpers/validate.d.ts +4 -1
  176. package/dist/helpers/validate.js +6 -5
  177. package/dist/helpers/validate.js.map +1 -1
  178. package/dist/index.cjs +75 -79
  179. package/dist/index.d.ts +22 -22
  180. package/dist/index.js +22 -21
  181. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs +238 -249
  182. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs.map +1 -1
  183. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.cjs +27 -27
  184. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.cjs.map +1 -1
  185. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +25 -23
  186. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js +26 -25
  187. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js.map +1 -1
  188. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +51 -87
  189. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js +238 -245
  190. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js.map +1 -1
  191. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs +295 -289
  192. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs.map +1 -1
  193. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.cjs +30 -30
  194. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.cjs.map +1 -1
  195. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.js +29 -28
  196. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.js.map +1 -1
  197. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +86 -150
  198. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js +295 -285
  199. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js.map +1 -1
  200. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.cjs +385 -393
  201. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.cjs.map +1 -1
  202. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.cjs +34 -34
  203. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.cjs.map +1 -1
  204. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +33 -34
  205. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js +33 -32
  206. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js.map +1 -1
  207. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +78 -129
  208. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js +385 -387
  209. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js.map +1 -1
  210. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs +570 -468
  211. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs.map +1 -1
  212. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.cjs +82 -82
  213. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.cjs.map +1 -1
  214. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +109 -112
  215. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js +81 -80
  216. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js.map +1 -1
  217. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +243 -264
  218. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js +569 -460
  219. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js.map +1 -1
  220. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs +751 -729
  221. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs.map +1 -1
  222. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.cjs +67 -67
  223. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.cjs.map +1 -1
  224. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.js +66 -65
  225. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.js.map +1 -1
  226. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts +15 -381
  227. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js +749 -718
  228. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js.map +1 -1
  229. package/dist/proto-grpc/google/protobuf/duration.cjs +92 -100
  230. package/dist/proto-grpc/google/protobuf/duration.cjs.map +1 -1
  231. package/dist/proto-grpc/google/protobuf/duration.d.ts +38 -43
  232. package/dist/proto-grpc/google/protobuf/duration.js +91 -98
  233. package/dist/proto-grpc/google/protobuf/duration.js.map +1 -1
  234. package/dist/proto-grpc/google/protobuf/timestamp.cjs +117 -128
  235. package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -1
  236. package/dist/proto-grpc/google/protobuf/timestamp.d.ts +50 -55
  237. package/dist/proto-grpc/google/protobuf/timestamp.js +116 -126
  238. package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -1
  239. package/dist/proto-rest/downloadapi.d.ts +85 -91
  240. package/dist/proto-rest/index.d.ts +11 -16
  241. package/dist/proto-rest/progressapi.d.ts +130 -140
  242. package/dist/proto-rest/streamingapi.d.ts +413 -434
  243. package/package.json +12 -12
  244. package/dist/clients/constructors.d.ts.map +0 -1
  245. package/dist/clients/crc32c.d.ts +0 -2
  246. package/dist/clients/crc32c.d.ts.map +0 -1
  247. package/dist/clients/download.d.ts.map +0 -1
  248. package/dist/clients/logs.d.ts.map +0 -1
  249. package/dist/clients/ls_api.d.ts.map +0 -1
  250. package/dist/clients/progress.d.ts.map +0 -1
  251. package/dist/clients/upload.d.ts.map +0 -1
  252. package/dist/drivers/download_blob/blob_key.d.ts +0 -5
  253. package/dist/drivers/download_blob/blob_key.d.ts.map +0 -1
  254. package/dist/drivers/download_blob/download_blob.d.ts.map +0 -1
  255. package/dist/drivers/download_blob/download_blob_task.d.ts +0 -56
  256. package/dist/drivers/download_blob/download_blob_task.d.ts.map +0 -1
  257. package/dist/drivers/download_blob/sparse_cache/cache.d.ts +0 -82
  258. package/dist/drivers/download_blob/sparse_cache/cache.d.ts.map +0 -1
  259. package/dist/drivers/download_blob/sparse_cache/file.d.ts +0 -8
  260. package/dist/drivers/download_blob/sparse_cache/file.d.ts.map +0 -1
  261. package/dist/drivers/download_blob/sparse_cache/ranges.d.ts +0 -46
  262. package/dist/drivers/download_blob/sparse_cache/ranges.d.ts.map +0 -1
  263. package/dist/drivers/download_blob_url/driver.d.ts.map +0 -1
  264. package/dist/drivers/download_blob_url/driver_id.d.ts +0 -6
  265. package/dist/drivers/download_blob_url/driver_id.d.ts.map +0 -1
  266. package/dist/drivers/download_blob_url/snapshot.d.ts.map +0 -1
  267. package/dist/drivers/download_blob_url/task.d.ts.map +0 -1
  268. package/dist/drivers/download_url/driver.d.ts.map +0 -1
  269. package/dist/drivers/download_url/task.d.ts.map +0 -1
  270. package/dist/drivers/helpers/download_local_handle.d.ts +0 -11
  271. package/dist/drivers/helpers/download_local_handle.d.ts.map +0 -1
  272. package/dist/drivers/helpers/download_remote_handle.d.ts +0 -13
  273. package/dist/drivers/helpers/download_remote_handle.d.ts.map +0 -1
  274. package/dist/drivers/helpers/files_cache.d.ts +0 -29
  275. package/dist/drivers/helpers/files_cache.d.ts.map +0 -1
  276. package/dist/drivers/helpers/helpers.d.ts.map +0 -1
  277. package/dist/drivers/helpers/logs_handle.d.ts +0 -15
  278. package/dist/drivers/helpers/logs_handle.d.ts.map +0 -1
  279. package/dist/drivers/helpers/ls_remote_import_handle.d.ts +0 -8
  280. package/dist/drivers/helpers/ls_remote_import_handle.d.ts.map +0 -1
  281. package/dist/drivers/helpers/ls_storage_entry.d.ts +0 -23
  282. package/dist/drivers/helpers/ls_storage_entry.d.ts.map +0 -1
  283. package/dist/drivers/helpers/polling_ops.d.ts.map +0 -1
  284. package/dist/drivers/helpers/read_file.d.ts +0 -12
  285. package/dist/drivers/helpers/read_file.d.ts.map +0 -1
  286. package/dist/drivers/helpers/test_helpers.d.ts +0 -2
  287. package/dist/drivers/helpers/test_helpers.d.ts.map +0 -1
  288. package/dist/drivers/logs.d.ts.map +0 -1
  289. package/dist/drivers/logs_stream.d.ts.map +0 -1
  290. package/dist/drivers/ls.d.ts.map +0 -1
  291. package/dist/drivers/types.d.ts.map +0 -1
  292. package/dist/drivers/upload.d.ts.map +0 -1
  293. package/dist/drivers/upload_task.d.ts.map +0 -1
  294. package/dist/drivers/urls/url.d.ts +0 -13
  295. package/dist/drivers/urls/url.d.ts.map +0 -1
  296. package/dist/drivers/virtual_storages.d.ts.map +0 -1
  297. package/dist/helpers/download.d.ts.map +0 -1
  298. package/dist/helpers/download_errors.d.ts.map +0 -1
  299. package/dist/helpers/validate.d.ts.map +0 -1
  300. package/dist/index.cjs.map +0 -1
  301. package/dist/index.d.ts.map +0 -1
  302. package/dist/index.js.map +0 -1
  303. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +0 -1
  304. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +0 -1
  305. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +0 -46
  306. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +0 -1
  307. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +0 -1
  308. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +0 -1
  309. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +0 -1
  310. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +0 -1
  311. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +0 -1
  312. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts +0 -108
  313. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts.map +0 -1
  314. package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts.map +0 -1
  315. package/dist/proto-grpc/google/api/http.d.ts +0 -460
  316. package/dist/proto-grpc/google/api/http.d.ts.map +0 -1
  317. package/dist/proto-grpc/google/protobuf/descriptor.d.ts +0 -2340
  318. package/dist/proto-grpc/google/protobuf/descriptor.d.ts.map +0 -1
  319. package/dist/proto-grpc/google/protobuf/duration.d.ts.map +0 -1
  320. package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +0 -1
  321. package/dist/proto-rest/downloadapi.d.ts.map +0 -1
  322. package/dist/proto-rest/index.d.ts.map +0 -1
  323. package/dist/proto-rest/lsapi.d.ts +0 -148
  324. package/dist/proto-rest/lsapi.d.ts.map +0 -1
  325. package/dist/proto-rest/progressapi.d.ts.map +0 -1
  326. package/dist/proto-rest/streamingapi.d.ts.map +0 -1
  327. package/dist/proto-rest/uploadapi.d.ts +0 -355
  328. package/dist/proto-rest/uploadapi.d.ts.map +0 -1
  329. package/dist/test_env.d.ts +0 -6
  330. package/dist/test_env.d.ts.map +0 -1
@@ -1,469 +1,448 @@
1
+ //#region src/proto-rest/streamingapi.d.ts
1
2
  /**
2
3
  * This file was auto-generated by openapi-typescript.
3
4
  * Do not make direct changes to the file.
4
5
  */
5
- export interface paths {
6
- "/v1/last-lines": {
7
- parameters: {
8
- query?: never;
9
- header?: never;
10
- path?: never;
11
- cookie?: never;
12
- };
13
- get?: never;
14
- put?: never;
15
- /**
16
- * @description LastLines provides single message with the last lines from data source.
17
- * When search pattern is specified, the last lines matching the given pattern are returned.
18
- * The lines are returned in reversed order, as server reads data source from the end.
19
- * Consider it as equivalent to 'tac <file> | grep <search> | head -n <line_count>'
20
- * The <new_offset> returned in the response points to the _beginning_ of the last
21
- * line found, so client can continue reading the file backwards in subsequent calls.
22
- * This means, that use of this <new_offset> in ReadText() will return you the same line
23
- * returned last in LastLines() data.
24
- */
25
- post: operations["Streaming_LastLines"];
26
- delete?: never;
27
- options?: never;
28
- head?: never;
29
- patch?: never;
30
- trace?: never;
6
+ interface paths {
7
+ "/v1/last-lines": {
8
+ parameters: {
9
+ query?: never;
10
+ header?: never;
11
+ path?: never;
12
+ cookie?: never;
31
13
  };
32
- "/v1/read/binary": {
33
- parameters: {
34
- query?: never;
35
- header?: never;
36
- path?: never;
37
- cookie?: never;
38
- };
39
- get?: never;
40
- put?: never;
41
- /**
42
- * @description ReadBinary allows to read remote item in chunks using stream-like API.
43
- * The difference to StreamBinary is that the client receives single response for each
44
- * call and has to send new calls to the server to get fresh data from remote item.
45
- * Each response (each chunk from server) keeps not more than 3.9MiB of data.
46
- */
47
- post: operations["Streaming_ReadBinary"];
48
- delete?: never;
49
- options?: never;
50
- head?: never;
51
- patch?: never;
52
- trace?: never;
14
+ get?: never;
15
+ put?: never;
16
+ /**
17
+ * @description LastLines provides single message with the last lines from data source.
18
+ * When search pattern is specified, the last lines matching the given pattern are returned.
19
+ * The lines are returned in reversed order, as server reads data source from the end.
20
+ * Consider it as equivalent to 'tac <file> | grep <search> | head -n <line_count>'
21
+ * The <new_offset> returned in the response points to the _beginning_ of the last
22
+ * line found, so client can continue reading the file backwards in subsequent calls.
23
+ * This means, that use of this <new_offset> in ReadText() will return you the same line
24
+ * returned last in LastLines() data.
25
+ */
26
+ post: operations["Streaming_LastLines"];
27
+ delete?: never;
28
+ options?: never;
29
+ head?: never;
30
+ patch?: never;
31
+ trace?: never;
32
+ };
33
+ "/v1/read/binary": {
34
+ parameters: {
35
+ query?: never;
36
+ header?: never;
37
+ path?: never;
38
+ cookie?: never;
53
39
  };
54
- "/v1/read/text": {
55
- parameters: {
56
- query?: never;
57
- header?: never;
58
- path?: never;
59
- cookie?: never;
60
- };
61
- get?: never;
62
- put?: never;
63
- /**
64
- * @description ReadBinary allows to read remote item in chunks using stream-like API.
65
- * The difference to StreamBinary is that the client receives single response for each
66
- * call and has to send new calls to the server to get fresh data from remote item.
67
- * Each response (each chunk from server) keeps not more than 3.9MiB of data.
68
- */
69
- post: operations["Streaming_ReadText"];
70
- delete?: never;
71
- options?: never;
72
- head?: never;
73
- patch?: never;
74
- trace?: never;
40
+ get?: never;
41
+ put?: never;
42
+ /**
43
+ * @description ReadBinary allows to read remote item in chunks using stream-like API.
44
+ * The difference to StreamBinary is that the client receives single response for each
45
+ * call and has to send new calls to the server to get fresh data from remote item.
46
+ * Each response (each chunk from server) keeps not more than 3.9MiB of data.
47
+ */
48
+ post: operations["Streaming_ReadBinary"];
49
+ delete?: never;
50
+ options?: never;
51
+ head?: never;
52
+ patch?: never;
53
+ trace?: never;
54
+ };
55
+ "/v1/read/text": {
56
+ parameters: {
57
+ query?: never;
58
+ header?: never;
59
+ path?: never;
60
+ cookie?: never;
75
61
  };
76
- "/v1/stream/binary": {
77
- parameters: {
78
- query?: never;
79
- header?: never;
80
- path?: never;
81
- cookie?: never;
82
- };
83
- get?: never;
84
- put?: never;
85
- /**
86
- * @description StreamBinary provides stream of binary file. Each response message keeps
87
- * one single chunk of binary data from data source. See StreamingAPI.Binary message
88
- * for more info on available options.
89
- */
90
- post: operations["Streaming_StreamBinary"];
91
- delete?: never;
92
- options?: never;
93
- head?: never;
94
- patch?: never;
95
- trace?: never;
62
+ get?: never;
63
+ put?: never;
64
+ /**
65
+ * @description ReadBinary allows to read remote item in chunks using stream-like API.
66
+ * The difference to StreamBinary is that the client receives single response for each
67
+ * call and has to send new calls to the server to get fresh data from remote item.
68
+ * Each response (each chunk from server) keeps not more than 3.9MiB of data.
69
+ */
70
+ post: operations["Streaming_ReadText"];
71
+ delete?: never;
72
+ options?: never;
73
+ head?: never;
74
+ patch?: never;
75
+ trace?: never;
76
+ };
77
+ "/v1/stream/binary": {
78
+ parameters: {
79
+ query?: never;
80
+ header?: never;
81
+ path?: never;
82
+ cookie?: never;
96
83
  };
97
- "/v1/stream/text": {
98
- parameters: {
99
- query?: never;
100
- header?: never;
101
- path?: never;
102
- cookie?: never;
103
- };
104
- get?: never;
105
- put?: never;
106
- /**
107
- * @description StreamText provides stream of textual file, splitting the data by newline symbol.
108
- * Each response message keeps one single line of text from data source.
109
- */
110
- post: operations["Streaming_StreamText"];
111
- delete?: never;
112
- options?: never;
113
- head?: never;
114
- patch?: never;
115
- trace?: never;
84
+ get?: never;
85
+ put?: never;
86
+ /**
87
+ * @description StreamBinary provides stream of binary file. Each response message keeps
88
+ * one single chunk of binary data from data source. See StreamingAPI.Binary message
89
+ * for more info on available options.
90
+ */
91
+ post: operations["Streaming_StreamBinary"];
92
+ delete?: never;
93
+ options?: never;
94
+ head?: never;
95
+ patch?: never;
96
+ trace?: never;
97
+ };
98
+ "/v1/stream/text": {
99
+ parameters: {
100
+ query?: never;
101
+ header?: never;
102
+ path?: never;
103
+ cookie?: never;
104
+ };
105
+ get?: never;
106
+ put?: never;
107
+ /**
108
+ * @description StreamText provides stream of textual file, splitting the data by newline symbol.
109
+ * Each response message keeps one single line of text from data source.
110
+ */
111
+ post: operations["Streaming_StreamText"];
112
+ delete?: never;
113
+ options?: never;
114
+ head?: never;
115
+ patch?: never;
116
+ trace?: never;
117
+ };
118
+ }
119
+ interface components {
120
+ schemas: {
121
+ /** @description Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. */GoogleProtobufAny: {
122
+ /** @description The type of the serialized message. */"@type": string;
123
+ } & {
124
+ [key: string]: unknown;
125
+ }; /** @description The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). */
126
+ Status: {
127
+ /**
128
+ * Format: int32
129
+ * @description The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
130
+ */
131
+ code: number; /** @description A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. */
132
+ message: string; /** @description A list of messages that carry the error details. There is a common set of message types for APIs to use. */
133
+ details: components["schemas"]["GoogleProtobufAny"][];
134
+ };
135
+ StreamingAPI_LastLines: {
136
+ /** @description <resource_id> of Stream resource, that keeps info on item to be streamed. */resourceId: string;
137
+ /**
138
+ * @description <offset> makes streamer to perform seek operation to given offset before sending the contents.
139
+ * This offset is taken in BYTES, as it eases streaming recovery after client reconnection or controller restart.
140
+ * By default, LastLines starts to treat the data source from the very last byte available in data stream
141
+ * at the moment of call, but client can set the server to start from earlier position.
142
+ */
143
+ offset: string;
144
+ /**
145
+ * Format: int32
146
+ * @description <line_count> makes streamer to return up to <line_count> lines to the client.
147
+ * Default value: 1
148
+ */
149
+ lineCount: number;
150
+ /**
151
+ * @description <search> is substring for line search pattern.
152
+ * This option makes controller to send to the client only lines, that
153
+ * have given substring.
154
+ */
155
+ search: string;
156
+ /**
157
+ * @description <search_re> is regular expression for line search pattern.
158
+ * This option makes controller to send to the client only lines, that
159
+ * match given regular expression.
160
+ */
161
+ searchRe: string;
116
162
  };
163
+ StreamingAPI_ReadBinary: {
164
+ /** @description <resource_id> of Stream resource, that keeps info on item to be streamed. */resourceId: string; /** @description <offset> makes streamer to perform seek operation to given offset before sending the data. */
165
+ offset: string;
166
+ /**
167
+ * Format: uint32
168
+ * @description <chunk_size> limits the maximum size of <data> for response message in stream.
169
+ *
170
+ * Default value: 32 768 (32 KiB)
171
+ * Max value: 3900 * 1024 (3.9 MiB)
172
+ */
173
+ chunkSize: number;
174
+ };
175
+ StreamingAPI_ReadText: {
176
+ /** @description <resource_id> of Stream resource, that keeps info on item to be streamed. */resourceId: string;
177
+ /**
178
+ * @description <offset> makes streamer to perform seek operation to given offset before sending the contents.
179
+ * This offset is taken in BYTES, as it eases streaming recovery after client reconnection or controller restart.
180
+ * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
181
+ */
182
+ offset: string;
183
+ /**
184
+ * @description <read_limit> allows client to limit total data sent from server.
185
+ * Measured in lines of text.
186
+ * E.g. to read top 1000 lines from stream source, use <read_limit> = 1000.
187
+ * When both <read_limit> and <search>/<search_re> are set, the <read_limit> is applied first.
188
+ * this is equivalent to 'head -n <read_limit> | grep <search>'.
189
+ * At most 3.9 MiB (3900 * 1024 KiB) of data is returned in single read regardless of <read_limit> option
190
+ * Only full lines of text are returned except for the last line from the completed source
191
+ * (the one that is not expected to have new data, like blob in storage)
192
+ */
193
+ readLimit: string;
194
+ /**
195
+ * @description <search> is substring for line search pattern.
196
+ * This option makes controller to send to the client only lines, that
197
+ * have given substring.
198
+ */
199
+ search: string;
200
+ /**
201
+ * @description <search_re> is regular expression for line search pattern.
202
+ * This option makes controller to send to the client only lines, that
203
+ * match given regular expression.
204
+ */
205
+ searchRe: string;
206
+ };
207
+ StreamingAPI_Response: {
208
+ /**
209
+ * Format: bytes
210
+ * @description data chunk from item, starting from the <new_offset> of the previous message in the same stream.
211
+ */
212
+ data: string;
213
+ /**
214
+ * @description <size> is the actual size of the streamed item at the moment of this message.
215
+ * This might be not a final amount of streamed data, as stream source can be updated
216
+ * by other independent process (e.g., data is written to log file).
217
+ * This field in combination with <new_offset> shows, how far the client is from the end
218
+ * of the data right now.
219
+ */
220
+ size: string;
221
+ /**
222
+ * @description <new_offset> is the new offset in bytes from the start of the streamed item,
223
+ * including size of <data> in current response.
224
+ * Call to Stream rpc with <offset> = <new_offset> will continue
225
+ * streaming from the place of last received message
226
+ * (e.g. <offset> = <new_offset> - 1 will repeat the last byte of
227
+ * previously received <data>)
228
+ */
229
+ newOffset: string;
230
+ };
231
+ StreamingAPI_StreamBinary: {
232
+ /** @description <resource_id> of Stream resource, that keeps info on item to be streamed. */resourceId: string; /** @description <offset> makes streamer to perform seek operation to given offset before sending the data. */
233
+ offset: string;
234
+ /**
235
+ * Format: uint32
236
+ * @description <chunk_size> limits the maximum size of <data> for each response message in stream.
237
+ *
238
+ * Default value: 32 768 (32 KiB)
239
+ * Max value: 3900 * 1024 (3.9 MiB)
240
+ */
241
+ chunkSize: number;
242
+ /**
243
+ * @description <read_limit> allows client to limit total data sent from server.
244
+ * This limit is aggregation of all data, sent in all chunks.
245
+ * E.g. to read 2000 bytes of data in chunks of at most
246
+ * 130 bytes, use <chunk_size> = 130; <read_limit> = 2000.
247
+ * For storage item of appropriate size this settings will result in
248
+ * 16 messages from server: 15 of 130 bytes and one of 50 bytes.
249
+ */
250
+ readLimit: string;
251
+ };
252
+ StreamingAPI_StreamText: {
253
+ /** @description <resource_id> of Stream resource, that keeps info on item to be streamed. */resourceId: string;
254
+ /**
255
+ * @description <offset> makes streamer to perform seek operation to given offset before sending the contents.
256
+ * This offset is taken in BYTES, as it eases streaming recovery after client reconnection or controller restart.
257
+ * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
258
+ */
259
+ offset: string;
260
+ /**
261
+ * @description <read_limit> allows client to limit total data sent from server.
262
+ * This limit is aggregation of all data, sent in all chunks, measured
263
+ * in lines of text.
264
+ * E.g. to read top 1000 lines from stream source, use <read_limit> = 1000.
265
+ * When both <read_limit> and <search>/<search_re> are set, the <read_limit> is applied first.
266
+ * this is equivalent to 'head -n <read_limit> | grep <search>'.
267
+ */
268
+ readLimit: string;
269
+ /**
270
+ * @description <search> is substring for line search pattern.
271
+ * This option makes controller to send to the client only lines, that
272
+ * have given substring.
273
+ */
274
+ search: string;
275
+ /**
276
+ * @description <search_re> is regular expression for line search pattern.
277
+ * This option makes controller to send to the client only lines, that
278
+ * match given regular expression.
279
+ */
280
+ searchRe: string;
281
+ };
282
+ };
283
+ responses: never;
284
+ parameters: never;
285
+ requestBodies: never;
286
+ headers: never;
287
+ pathItems: never;
117
288
  }
118
- export type webhooks = Record<string, never>;
119
- export interface components {
120
- schemas: {
121
- /** @description Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. */
122
- GoogleProtobufAny: {
123
- /** @description The type of the serialized message. */
124
- "@type": string;
125
- } & {
126
- [key: string]: unknown;
289
+ interface operations {
290
+ Streaming_LastLines: {
291
+ parameters: {
292
+ query?: never;
293
+ header?: never;
294
+ path?: never;
295
+ cookie?: never;
296
+ };
297
+ requestBody: {
298
+ content: {
299
+ "application/json": components["schemas"]["StreamingAPI_LastLines"];
300
+ };
301
+ };
302
+ responses: {
303
+ /** @description OK */200: {
304
+ headers: {
305
+ [name: string]: unknown;
127
306
  };
128
- /** @description The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). */
129
- Status: {
130
- /**
131
- * Format: int32
132
- * @description The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
133
- */
134
- code: number;
135
- /** @description A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. */
136
- message: string;
137
- /** @description A list of messages that carry the error details. There is a common set of message types for APIs to use. */
138
- details: components["schemas"]["GoogleProtobufAny"][];
307
+ content: {
308
+ "application/json": components["schemas"]["StreamingAPI_Response"];
139
309
  };
140
- StreamingAPI_LastLines: {
141
- /** @description <resource_id> of Stream resource, that keeps info on item to be streamed. */
142
- resourceId: string;
143
- /**
144
- * @description <offset> makes streamer to perform seek operation to given offset before sending the contents.
145
- * This offset is taken in BYTES, as it eases streaming recovery after client reconnection or controller restart.
146
- * By default, LastLines starts to treat the data source from the very last byte available in data stream
147
- * at the moment of call, but client can set the server to start from earlier position.
148
- */
149
- offset: string;
150
- /**
151
- * Format: int32
152
- * @description <line_count> makes streamer to return up to <line_count> lines to the client.
153
- * Default value: 1
154
- */
155
- lineCount: number;
156
- /**
157
- * @description <search> is substring for line search pattern.
158
- * This option makes controller to send to the client only lines, that
159
- * have given substring.
160
- */
161
- search: string;
162
- /**
163
- * @description <search_re> is regular expression for line search pattern.
164
- * This option makes controller to send to the client only lines, that
165
- * match given regular expression.
166
- */
167
- searchRe: string;
310
+ }; /** @description Default error response */
311
+ default: {
312
+ headers: {
313
+ [name: string]: unknown;
168
314
  };
169
- StreamingAPI_ReadBinary: {
170
- /** @description <resource_id> of Stream resource, that keeps info on item to be streamed. */
171
- resourceId: string;
172
- /** @description <offset> makes streamer to perform seek operation to given offset before sending the data. */
173
- offset: string;
174
- /**
175
- * Format: uint32
176
- * @description <chunk_size> limits the maximum size of <data> for response message in stream.
177
- *
178
- * Default value: 32 768 (32 KiB)
179
- * Max value: 3900 * 1024 (3.9 MiB)
180
- */
181
- chunkSize: number;
315
+ content: {
316
+ "application/json": components["schemas"]["Status"];
182
317
  };
183
- StreamingAPI_ReadText: {
184
- /** @description <resource_id> of Stream resource, that keeps info on item to be streamed. */
185
- resourceId: string;
186
- /**
187
- * @description <offset> makes streamer to perform seek operation to given offset before sending the contents.
188
- * This offset is taken in BYTES, as it eases streaming recovery after client reconnection or controller restart.
189
- * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
190
- */
191
- offset: string;
192
- /**
193
- * @description <read_limit> allows client to limit total data sent from server.
194
- * Measured in lines of text.
195
- * E.g. to read top 1000 lines from stream source, use <read_limit> = 1000.
196
- * When both <read_limit> and <search>/<search_re> are set, the <read_limit> is applied first.
197
- * this is equivalent to 'head -n <read_limit> | grep <search>'.
198
- * At most 3.9 MiB (3900 * 1024 KiB) of data is returned in single read regardless of <read_limit> option
199
- * Only full lines of text are returned except for the last line from the completed source
200
- * (the one that is not expected to have new data, like blob in storage)
201
- */
202
- readLimit: string;
203
- /**
204
- * @description <search> is substring for line search pattern.
205
- * This option makes controller to send to the client only lines, that
206
- * have given substring.
207
- */
208
- search: string;
209
- /**
210
- * @description <search_re> is regular expression for line search pattern.
211
- * This option makes controller to send to the client only lines, that
212
- * match given regular expression.
213
- */
214
- searchRe: string;
318
+ };
319
+ };
320
+ };
321
+ Streaming_ReadBinary: {
322
+ parameters: {
323
+ query?: never;
324
+ header?: never;
325
+ path?: never;
326
+ cookie?: never;
327
+ };
328
+ requestBody: {
329
+ content: {
330
+ "application/json": components["schemas"]["StreamingAPI_ReadBinary"];
331
+ };
332
+ };
333
+ responses: {
334
+ /** @description OK */200: {
335
+ headers: {
336
+ [name: string]: unknown;
215
337
  };
216
- StreamingAPI_Response: {
217
- /**
218
- * Format: bytes
219
- * @description data chunk from item, starting from the <new_offset> of the previous message in the same stream.
220
- */
221
- data: string;
222
- /**
223
- * @description <size> is the actual size of the streamed item at the moment of this message.
224
- * This might be not a final amount of streamed data, as stream source can be updated
225
- * by other independent process (e.g., data is written to log file).
226
- * This field in combination with <new_offset> shows, how far the client is from the end
227
- * of the data right now.
228
- */
229
- size: string;
230
- /**
231
- * @description <new_offset> is the new offset in bytes from the start of the streamed item,
232
- * including size of <data> in current response.
233
- * Call to Stream rpc with <offset> = <new_offset> will continue
234
- * streaming from the place of last received message
235
- * (e.g. <offset> = <new_offset> - 1 will repeat the last byte of
236
- * previously received <data>)
237
- */
238
- newOffset: string;
338
+ content: {
339
+ "application/json": components["schemas"]["StreamingAPI_Response"];
239
340
  };
240
- StreamingAPI_StreamBinary: {
241
- /** @description <resource_id> of Stream resource, that keeps info on item to be streamed. */
242
- resourceId: string;
243
- /** @description <offset> makes streamer to perform seek operation to given offset before sending the data. */
244
- offset: string;
245
- /**
246
- * Format: uint32
247
- * @description <chunk_size> limits the maximum size of <data> for each response message in stream.
248
- *
249
- * Default value: 32 768 (32 KiB)
250
- * Max value: 3900 * 1024 (3.9 MiB)
251
- */
252
- chunkSize: number;
253
- /**
254
- * @description <read_limit> allows client to limit total data sent from server.
255
- * This limit is aggregation of all data, sent in all chunks.
256
- * E.g. to read 2000 bytes of data in chunks of at most
257
- * 130 bytes, use <chunk_size> = 130; <read_limit> = 2000.
258
- * For storage item of appropriate size this settings will result in
259
- * 16 messages from server: 15 of 130 bytes and one of 50 bytes.
260
- */
261
- readLimit: string;
341
+ }; /** @description Default error response */
342
+ default: {
343
+ headers: {
344
+ [name: string]: unknown;
262
345
  };
263
- StreamingAPI_StreamText: {
264
- /** @description <resource_id> of Stream resource, that keeps info on item to be streamed. */
265
- resourceId: string;
266
- /**
267
- * @description <offset> makes streamer to perform seek operation to given offset before sending the contents.
268
- * This offset is taken in BYTES, as it eases streaming recovery after client reconnection or controller restart.
269
- * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
270
- */
271
- offset: string;
272
- /**
273
- * @description <read_limit> allows client to limit total data sent from server.
274
- * This limit is aggregation of all data, sent in all chunks, measured
275
- * in lines of text.
276
- * E.g. to read top 1000 lines from stream source, use <read_limit> = 1000.
277
- * When both <read_limit> and <search>/<search_re> are set, the <read_limit> is applied first.
278
- * this is equivalent to 'head -n <read_limit> | grep <search>'.
279
- */
280
- readLimit: string;
281
- /**
282
- * @description <search> is substring for line search pattern.
283
- * This option makes controller to send to the client only lines, that
284
- * have given substring.
285
- */
286
- search: string;
287
- /**
288
- * @description <search_re> is regular expression for line search pattern.
289
- * This option makes controller to send to the client only lines, that
290
- * match given regular expression.
291
- */
292
- searchRe: string;
346
+ content: {
347
+ "application/json": components["schemas"]["Status"];
293
348
  };
349
+ };
294
350
  };
295
- responses: never;
296
- parameters: never;
297
- requestBodies: never;
298
- headers: never;
299
- pathItems: never;
300
- }
301
- export type $defs = Record<string, never>;
302
- export interface operations {
303
- Streaming_LastLines: {
304
- parameters: {
305
- query?: never;
306
- header?: never;
307
- path?: never;
308
- cookie?: never;
309
- };
310
- requestBody: {
311
- content: {
312
- "application/json": components["schemas"]["StreamingAPI_LastLines"];
313
- };
314
- };
315
- responses: {
316
- /** @description OK */
317
- 200: {
318
- headers: {
319
- [name: string]: unknown;
320
- };
321
- content: {
322
- "application/json": components["schemas"]["StreamingAPI_Response"];
323
- };
324
- };
325
- /** @description Default error response */
326
- default: {
327
- headers: {
328
- [name: string]: unknown;
329
- };
330
- content: {
331
- "application/json": components["schemas"]["Status"];
332
- };
333
- };
334
- };
351
+ };
352
+ Streaming_ReadText: {
353
+ parameters: {
354
+ query?: never;
355
+ header?: never;
356
+ path?: never;
357
+ cookie?: never;
335
358
  };
336
- Streaming_ReadBinary: {
337
- parameters: {
338
- query?: never;
339
- header?: never;
340
- path?: never;
341
- cookie?: never;
342
- };
343
- requestBody: {
344
- content: {
345
- "application/json": components["schemas"]["StreamingAPI_ReadBinary"];
346
- };
347
- };
348
- responses: {
349
- /** @description OK */
350
- 200: {
351
- headers: {
352
- [name: string]: unknown;
353
- };
354
- content: {
355
- "application/json": components["schemas"]["StreamingAPI_Response"];
356
- };
357
- };
358
- /** @description Default error response */
359
- default: {
360
- headers: {
361
- [name: string]: unknown;
362
- };
363
- content: {
364
- "application/json": components["schemas"]["Status"];
365
- };
366
- };
367
- };
359
+ requestBody: {
360
+ content: {
361
+ "application/json": components["schemas"]["StreamingAPI_ReadText"];
362
+ };
368
363
  };
369
- Streaming_ReadText: {
370
- parameters: {
371
- query?: never;
372
- header?: never;
373
- path?: never;
374
- cookie?: never;
364
+ responses: {
365
+ /** @description OK */200: {
366
+ headers: {
367
+ [name: string]: unknown;
368
+ };
369
+ content: {
370
+ "application/json": components["schemas"]["StreamingAPI_Response"];
375
371
  };
376
- requestBody: {
377
- content: {
378
- "application/json": components["schemas"]["StreamingAPI_ReadText"];
379
- };
372
+ }; /** @description Default error response */
373
+ default: {
374
+ headers: {
375
+ [name: string]: unknown;
380
376
  };
381
- responses: {
382
- /** @description OK */
383
- 200: {
384
- headers: {
385
- [name: string]: unknown;
386
- };
387
- content: {
388
- "application/json": components["schemas"]["StreamingAPI_Response"];
389
- };
390
- };
391
- /** @description Default error response */
392
- default: {
393
- headers: {
394
- [name: string]: unknown;
395
- };
396
- content: {
397
- "application/json": components["schemas"]["Status"];
398
- };
399
- };
377
+ content: {
378
+ "application/json": components["schemas"]["Status"];
400
379
  };
380
+ };
381
+ };
382
+ };
383
+ Streaming_StreamBinary: {
384
+ parameters: {
385
+ query?: never;
386
+ header?: never;
387
+ path?: never;
388
+ cookie?: never;
389
+ };
390
+ requestBody: {
391
+ content: {
392
+ "application/json": components["schemas"]["StreamingAPI_StreamBinary"];
393
+ };
401
394
  };
402
- Streaming_StreamBinary: {
403
- parameters: {
404
- query?: never;
405
- header?: never;
406
- path?: never;
407
- cookie?: never;
395
+ responses: {
396
+ /** @description OK */200: {
397
+ headers: {
398
+ [name: string]: unknown;
408
399
  };
409
- requestBody: {
410
- content: {
411
- "application/json": components["schemas"]["StreamingAPI_StreamBinary"];
412
- };
400
+ content: {
401
+ "application/json": components["schemas"]["StreamingAPI_Response"];
413
402
  };
414
- responses: {
415
- /** @description OK */
416
- 200: {
417
- headers: {
418
- [name: string]: unknown;
419
- };
420
- content: {
421
- "application/json": components["schemas"]["StreamingAPI_Response"];
422
- };
423
- };
424
- /** @description Default error response */
425
- default: {
426
- headers: {
427
- [name: string]: unknown;
428
- };
429
- content: {
430
- "application/json": components["schemas"]["Status"];
431
- };
432
- };
403
+ }; /** @description Default error response */
404
+ default: {
405
+ headers: {
406
+ [name: string]: unknown;
433
407
  };
408
+ content: {
409
+ "application/json": components["schemas"]["Status"];
410
+ };
411
+ };
412
+ };
413
+ };
414
+ Streaming_StreamText: {
415
+ parameters: {
416
+ query?: never;
417
+ header?: never;
418
+ path?: never;
419
+ cookie?: never;
434
420
  };
435
- Streaming_StreamText: {
436
- parameters: {
437
- query?: never;
438
- header?: never;
439
- path?: never;
440
- cookie?: never;
421
+ requestBody: {
422
+ content: {
423
+ "application/json": components["schemas"]["StreamingAPI_StreamText"];
424
+ };
425
+ };
426
+ responses: {
427
+ /** @description OK */200: {
428
+ headers: {
429
+ [name: string]: unknown;
430
+ };
431
+ content: {
432
+ "application/json": components["schemas"]["StreamingAPI_Response"];
441
433
  };
442
- requestBody: {
443
- content: {
444
- "application/json": components["schemas"]["StreamingAPI_StreamText"];
445
- };
434
+ }; /** @description Default error response */
435
+ default: {
436
+ headers: {
437
+ [name: string]: unknown;
446
438
  };
447
- responses: {
448
- /** @description OK */
449
- 200: {
450
- headers: {
451
- [name: string]: unknown;
452
- };
453
- content: {
454
- "application/json": components["schemas"]["StreamingAPI_Response"];
455
- };
456
- };
457
- /** @description Default error response */
458
- default: {
459
- headers: {
460
- [name: string]: unknown;
461
- };
462
- content: {
463
- "application/json": components["schemas"]["Status"];
464
- };
465
- };
439
+ content: {
440
+ "application/json": components["schemas"]["Status"];
466
441
  };
442
+ };
467
443
  };
444
+ };
468
445
  }
446
+ //#endregion
447
+ export { paths };
469
448
  //# sourceMappingURL=streamingapi.d.ts.map