@xeonr/upload-pool-sdk 1.0.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 (402) hide show
  1. package/README.md +83 -0
  2. package/dist/errors.d.ts +14 -0
  3. package/dist/errors.d.ts.map +1 -0
  4. package/dist/errors.js +15 -0
  5. package/dist/errors.js.map +1 -0
  6. package/dist/index.d.ts +27 -0
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +27 -0
  9. package/dist/index.js.map +1 -0
  10. package/dist/job-context.d.ts +18 -0
  11. package/dist/job-context.d.ts.map +1 -0
  12. package/dist/job-context.js +176 -0
  13. package/dist/job-context.js.map +1 -0
  14. package/dist/pool.d.ts +16 -0
  15. package/dist/pool.d.ts.map +1 -0
  16. package/dist/pool.js +111 -0
  17. package/dist/pool.js.map +1 -0
  18. package/dist/protocol/buf/validate/expression_pb.d.ts +128 -0
  19. package/dist/protocol/buf/validate/expression_pb.d.ts.map +1 -0
  20. package/dist/protocol/buf/validate/expression_pb.js +34 -0
  21. package/dist/protocol/buf/validate/expression_pb.js.map +1 -0
  22. package/dist/protocol/buf/validate/priv/private_pb.d.ts +54 -0
  23. package/dist/protocol/buf/validate/priv/private_pb.d.ts.map +1 -0
  24. package/dist/protocol/buf/validate/priv/private_pb.js +36 -0
  25. package/dist/protocol/buf/validate/priv/private_pb.js.map +1 -0
  26. package/dist/protocol/buf/validate/validate_pb.d.ts +3685 -0
  27. package/dist/protocol/buf/validate/validate_pb.d.ts.map +1 -0
  28. package/dist/protocol/buf/validate/validate_pb.js +223 -0
  29. package/dist/protocol/buf/validate/validate_pb.js.map +1 -0
  30. package/dist/protocol/gnostic/discovery/v1/discovery_pb.d.ts +816 -0
  31. package/dist/protocol/gnostic/discovery/v1/discovery_pb.d.ts.map +1 -0
  32. package/dist/protocol/gnostic/discovery/v1/discovery_pb.js +160 -0
  33. package/dist/protocol/gnostic/discovery/v1/discovery_pb.js.map +1 -0
  34. package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.d.ts +2229 -0
  35. package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.d.ts.map +1 -0
  36. package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.js +320 -0
  37. package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.js.map +1 -0
  38. package/dist/protocol/gnostic/openapi/v3/annotations_pb.d.ts +24 -0
  39. package/dist/protocol/gnostic/openapi/v3/annotations_pb.d.ts.map +1 -0
  40. package/dist/protocol/gnostic/openapi/v3/annotations_pb.js +37 -0
  41. package/dist/protocol/gnostic/openapi/v3/annotations_pb.js.map +1 -0
  42. package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.d.ts +2245 -0
  43. package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.d.ts.map +1 -0
  44. package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.js +410 -0
  45. package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.js.map +1 -0
  46. package/dist/protocol/google/api/annotations_pb.d.ts +14 -0
  47. package/dist/protocol/google/api/annotations_pb.d.ts.map +1 -0
  48. package/dist/protocol/google/api/annotations_pb.js +27 -0
  49. package/dist/protocol/google/api/annotations_pb.js.map +1 -0
  50. package/dist/protocol/google/api/client_pb.d.ts +1034 -0
  51. package/dist/protocol/google/api/client_pb.d.ts.map +1 -0
  52. package/dist/protocol/google/api/client_pb.js +338 -0
  53. package/dist/protocol/google/api/client_pb.js.map +1 -0
  54. package/dist/protocol/google/api/expr/v1alpha1/checked_pb.d.ts +672 -0
  55. package/dist/protocol/google/api/expr/v1alpha1/checked_pb.d.ts.map +1 -0
  56. package/dist/protocol/google/api/expr/v1alpha1/checked_pb.js +176 -0
  57. package/dist/protocol/google/api/expr/v1alpha1/checked_pb.js.map +1 -0
  58. package/dist/protocol/google/api/expr/v1alpha1/eval_pb.d.ts +185 -0
  59. package/dist/protocol/google/api/expr/v1alpha1/eval_pb.d.ts.map +1 -0
  60. package/dist/protocol/google/api/expr/v1alpha1/eval_pb.js +46 -0
  61. package/dist/protocol/google/api/expr/v1alpha1/eval_pb.js.map +1 -0
  62. package/dist/protocol/google/api/expr/v1alpha1/explain_pb.d.ts +68 -0
  63. package/dist/protocol/google/api/expr/v1alpha1/explain_pb.d.ts.map +1 -0
  64. package/dist/protocol/google/api/expr/v1alpha1/explain_pb.js +32 -0
  65. package/dist/protocol/google/api/expr/v1alpha1/explain_pb.js.map +1 -0
  66. package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.d.ts +796 -0
  67. package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.d.ts.map +1 -0
  68. package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.js +128 -0
  69. package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.js.map +1 -0
  70. package/dist/protocol/google/api/expr/v1alpha1/value_pb.d.ts +224 -0
  71. package/dist/protocol/google/api/expr/v1alpha1/value_pb.d.ts.map +1 -0
  72. package/dist/protocol/google/api/expr/v1alpha1/value_pb.js +45 -0
  73. package/dist/protocol/google/api/expr/v1alpha1/value_pb.js.map +1 -0
  74. package/dist/protocol/google/api/expr/v1beta1/decl_pb.d.ts +151 -0
  75. package/dist/protocol/google/api/expr/v1beta1/decl_pb.d.ts.map +1 -0
  76. package/dist/protocol/google/api/expr/v1beta1/decl_pb.js +41 -0
  77. package/dist/protocol/google/api/expr/v1beta1/decl_pb.js.map +1 -0
  78. package/dist/protocol/google/api/expr/v1beta1/eval_pb.d.ts +203 -0
  79. package/dist/protocol/google/api/expr/v1beta1/eval_pb.d.ts.map +1 -0
  80. package/dist/protocol/google/api/expr/v1beta1/eval_pb.js +52 -0
  81. package/dist/protocol/google/api/expr/v1beta1/eval_pb.js.map +1 -0
  82. package/dist/protocol/google/api/expr/v1beta1/expr_pb.d.ts +504 -0
  83. package/dist/protocol/google/api/expr/v1beta1/expr_pb.d.ts.map +1 -0
  84. package/dist/protocol/google/api/expr/v1beta1/expr_pb.js +72 -0
  85. package/dist/protocol/google/api/expr/v1beta1/expr_pb.js.map +1 -0
  86. package/dist/protocol/google/api/expr/v1beta1/source_pb.d.ts +86 -0
  87. package/dist/protocol/google/api/expr/v1beta1/source_pb.d.ts.map +1 -0
  88. package/dist/protocol/google/api/expr/v1beta1/source_pb.js +30 -0
  89. package/dist/protocol/google/api/expr/v1beta1/source_pb.js.map +1 -0
  90. package/dist/protocol/google/api/expr/v1beta1/value_pb.d.ts +224 -0
  91. package/dist/protocol/google/api/expr/v1beta1/value_pb.d.ts.map +1 -0
  92. package/dist/protocol/google/api/expr/v1beta1/value_pb.js +46 -0
  93. package/dist/protocol/google/api/expr/v1beta1/value_pb.js.map +1 -0
  94. package/dist/protocol/google/api/field_behavior_pb.d.ts +122 -0
  95. package/dist/protocol/google/api/field_behavior_pb.d.ts.map +1 -0
  96. package/dist/protocol/google/api/field_behavior_pb.js +136 -0
  97. package/dist/protocol/google/api/field_behavior_pb.js.map +1 -0
  98. package/dist/protocol/google/api/field_info_pb.d.ts +140 -0
  99. package/dist/protocol/google/api/field_info_pb.d.ts.map +1 -0
  100. package/dist/protocol/google/api/field_info_pb.js +108 -0
  101. package/dist/protocol/google/api/field_info_pb.js.map +1 -0
  102. package/dist/protocol/google/api/http_pb.d.ts +441 -0
  103. package/dist/protocol/google/api/http_pb.d.ts.map +1 -0
  104. package/dist/protocol/google/api/http_pb.js +34 -0
  105. package/dist/protocol/google/api/http_pb.js.map +1 -0
  106. package/dist/protocol/google/api/httpbody_pb.d.ts +81 -0
  107. package/dist/protocol/google/api/httpbody_pb.d.ts.map +1 -0
  108. package/dist/protocol/google/api/httpbody_pb.js +25 -0
  109. package/dist/protocol/google/api/httpbody_pb.js.map +1 -0
  110. package/dist/protocol/google/api/launch_stage_pb.d.ts +87 -0
  111. package/dist/protocol/google/api/launch_stage_pb.d.ts.map +1 -0
  112. package/dist/protocol/google/api/launch_stage_pb.js +101 -0
  113. package/dist/protocol/google/api/launch_stage_pb.js.map +1 -0
  114. package/dist/protocol/google/api/resource_pb.d.ts +304 -0
  115. package/dist/protocol/google/api/resource_pb.d.ts.map +1 -0
  116. package/dist/protocol/google/api/resource_pb.js +116 -0
  117. package/dist/protocol/google/api/resource_pb.js.map +1 -0
  118. package/dist/protocol/google/api/routing_pb.d.ts +476 -0
  119. package/dist/protocol/google/api/routing_pb.d.ts.map +1 -0
  120. package/dist/protocol/google/api/routing_pb.js +36 -0
  121. package/dist/protocol/google/api/routing_pb.js.map +1 -0
  122. package/dist/protocol/google/api/visibility_pb.d.ts +128 -0
  123. package/dist/protocol/google/api/visibility_pb.d.ts.map +1 -0
  124. package/dist/protocol/google/api/visibility_pb.js +66 -0
  125. package/dist/protocol/google/api/visibility_pb.js.map +1 -0
  126. package/dist/protocol/google/bytestream/bytestream_pb.d.ts +278 -0
  127. package/dist/protocol/google/bytestream/bytestream_pb.d.ts.map +1 -0
  128. package/dist/protocol/google/bytestream/bytestream_pb.js +77 -0
  129. package/dist/protocol/google/bytestream/bytestream_pb.js.map +1 -0
  130. package/dist/protocol/google/geo/type/viewport_pb.d.ts +66 -0
  131. package/dist/protocol/google/geo/type/viewport_pb.d.ts.map +1 -0
  132. package/dist/protocol/google/geo/type/viewport_pb.js +26 -0
  133. package/dist/protocol/google/geo/type/viewport_pb.js.map +1 -0
  134. package/dist/protocol/google/iam/v1/iam_policy_pb.d.ts +193 -0
  135. package/dist/protocol/google/iam/v1/iam_policy_pb.d.ts.map +1 -0
  136. package/dist/protocol/google/iam/v1/iam_policy_pb.js +76 -0
  137. package/dist/protocol/google/iam/v1/iam_policy_pb.js.map +1 -0
  138. package/dist/protocol/google/iam/v1/options_pb.d.ts +42 -0
  139. package/dist/protocol/google/iam/v1/options_pb.d.ts.map +1 -0
  140. package/dist/protocol/google/iam/v1/options_pb.js +24 -0
  141. package/dist/protocol/google/iam/v1/options_pb.js.map +1 -0
  142. package/dist/protocol/google/iam/v1/policy_pb.d.ts +571 -0
  143. package/dist/protocol/google/iam/v1/policy_pb.d.ts.map +1 -0
  144. package/dist/protocol/google/iam/v1/policy_pb.js +152 -0
  145. package/dist/protocol/google/iam/v1/policy_pb.js.map +1 -0
  146. package/dist/protocol/google/longrunning/operations_pb.d.ts +398 -0
  147. package/dist/protocol/google/longrunning/operations_pb.d.ts.map +1 -0
  148. package/dist/protocol/google/longrunning/operations_pb.js +89 -0
  149. package/dist/protocol/google/longrunning/operations_pb.js.map +1 -0
  150. package/dist/protocol/google/rpc/code_pb.d.ts +228 -0
  151. package/dist/protocol/google/rpc/code_pb.d.ts.map +1 -0
  152. package/dist/protocol/google/rpc/code_pb.js +242 -0
  153. package/dist/protocol/google/rpc/code_pb.js.map +1 -0
  154. package/dist/protocol/google/rpc/context/attribute_context_pb.d.ts +560 -0
  155. package/dist/protocol/google/rpc/context/attribute_context_pb.d.ts.map +1 -0
  156. package/dist/protocol/google/rpc/context/attribute_context_pb.js +55 -0
  157. package/dist/protocol/google/rpc/context/attribute_context_pb.js.map +1 -0
  158. package/dist/protocol/google/rpc/error_details_pb.d.ts +581 -0
  159. package/dist/protocol/google/rpc/error_details_pb.d.ts.map +1 -0
  160. package/dist/protocol/google/rpc/error_details_pb.js +90 -0
  161. package/dist/protocol/google/rpc/error_details_pb.js.map +1 -0
  162. package/dist/protocol/google/rpc/status_pb.d.ts +49 -0
  163. package/dist/protocol/google/rpc/status_pb.d.ts.map +1 -0
  164. package/dist/protocol/google/rpc/status_pb.js +25 -0
  165. package/dist/protocol/google/rpc/status_pb.js.map +1 -0
  166. package/dist/protocol/google/type/calendar_period_pb.d.ts +71 -0
  167. package/dist/protocol/google/type/calendar_period_pb.d.ts.map +1 -0
  168. package/dist/protocol/google/type/calendar_period_pb.js +85 -0
  169. package/dist/protocol/google/type/calendar_period_pb.js.map +1 -0
  170. package/dist/protocol/google/type/color_pb.d.ts +176 -0
  171. package/dist/protocol/google/type/color_pb.d.ts.map +1 -0
  172. package/dist/protocol/google/type/color_pb.js +25 -0
  173. package/dist/protocol/google/type/color_pb.js.map +1 -0
  174. package/dist/protocol/google/type/date_pb.d.ts +56 -0
  175. package/dist/protocol/google/type/date_pb.d.ts.map +1 -0
  176. package/dist/protocol/google/type/date_pb.js +24 -0
  177. package/dist/protocol/google/type/date_pb.js.map +1 -0
  178. package/dist/protocol/google/type/datetime_pb.d.ts +148 -0
  179. package/dist/protocol/google/type/datetime_pb.d.ts.map +1 -0
  180. package/dist/protocol/google/type/datetime_pb.js +30 -0
  181. package/dist/protocol/google/type/datetime_pb.js.map +1 -0
  182. package/dist/protocol/google/type/dayofweek_pb.d.ts +65 -0
  183. package/dist/protocol/google/type/dayofweek_pb.d.ts.map +1 -0
  184. package/dist/protocol/google/type/dayofweek_pb.js +79 -0
  185. package/dist/protocol/google/type/dayofweek_pb.js.map +1 -0
  186. package/dist/protocol/google/type/decimal_pb.d.ts +89 -0
  187. package/dist/protocol/google/type/decimal_pb.d.ts.map +1 -0
  188. package/dist/protocol/google/type/decimal_pb.js +24 -0
  189. package/dist/protocol/google/type/decimal_pb.js.map +1 -0
  190. package/dist/protocol/google/type/expr_pb.d.ts +78 -0
  191. package/dist/protocol/google/type/expr_pb.d.ts.map +1 -0
  192. package/dist/protocol/google/type/expr_pb.js +24 -0
  193. package/dist/protocol/google/type/expr_pb.js.map +1 -0
  194. package/dist/protocol/google/type/fraction_pb.d.ts +32 -0
  195. package/dist/protocol/google/type/fraction_pb.d.ts.map +1 -0
  196. package/dist/protocol/google/type/fraction_pb.js +24 -0
  197. package/dist/protocol/google/type/fraction_pb.js.map +1 -0
  198. package/dist/protocol/google/type/interval_pb.d.ts +43 -0
  199. package/dist/protocol/google/type/interval_pb.d.ts.map +1 -0
  200. package/dist/protocol/google/type/interval_pb.js +25 -0
  201. package/dist/protocol/google/type/interval_pb.js.map +1 -0
  202. package/dist/protocol/google/type/latlng_pb.d.ts +35 -0
  203. package/dist/protocol/google/type/latlng_pb.d.ts.map +1 -0
  204. package/dist/protocol/google/type/latlng_pb.js +24 -0
  205. package/dist/protocol/google/type/latlng_pb.js.map +1 -0
  206. package/dist/protocol/google/type/localized_text_pb.d.ts +35 -0
  207. package/dist/protocol/google/type/localized_text_pb.d.ts.map +1 -0
  208. package/dist/protocol/google/type/localized_text_pb.js +24 -0
  209. package/dist/protocol/google/type/localized_text_pb.js.map +1 -0
  210. package/dist/protocol/google/type/money_pb.d.ts +43 -0
  211. package/dist/protocol/google/type/money_pb.d.ts.map +1 -0
  212. package/dist/protocol/google/type/money_pb.js +24 -0
  213. package/dist/protocol/google/type/money_pb.js.map +1 -0
  214. package/dist/protocol/google/type/month_pb.d.ts +95 -0
  215. package/dist/protocol/google/type/month_pb.d.ts.map +1 -0
  216. package/dist/protocol/google/type/month_pb.js +109 -0
  217. package/dist/protocol/google/type/month_pb.js.map +1 -0
  218. package/dist/protocol/google/type/phone_number_pb.d.ts +145 -0
  219. package/dist/protocol/google/type/phone_number_pb.d.ts.map +1 -0
  220. package/dist/protocol/google/type/phone_number_pb.js +29 -0
  221. package/dist/protocol/google/type/phone_number_pb.js.map +1 -0
  222. package/dist/protocol/google/type/postal_address_pb.d.ts +160 -0
  223. package/dist/protocol/google/type/postal_address_pb.d.ts.map +1 -0
  224. package/dist/protocol/google/type/postal_address_pb.js +24 -0
  225. package/dist/protocol/google/type/postal_address_pb.js.map +1 -0
  226. package/dist/protocol/google/type/quaternion_pb.d.ts +99 -0
  227. package/dist/protocol/google/type/quaternion_pb.d.ts.map +1 -0
  228. package/dist/protocol/google/type/quaternion_pb.js +24 -0
  229. package/dist/protocol/google/type/quaternion_pb.js.map +1 -0
  230. package/dist/protocol/google/type/timeofday_pb.d.ts +52 -0
  231. package/dist/protocol/google/type/timeofday_pb.d.ts.map +1 -0
  232. package/dist/protocol/google/type/timeofday_pb.js +24 -0
  233. package/dist/protocol/google/type/timeofday_pb.js.map +1 -0
  234. package/dist/protocol/uplim/api/v1/account_pb.d.ts +144 -0
  235. package/dist/protocol/uplim/api/v1/account_pb.d.ts.map +1 -0
  236. package/dist/protocol/uplim/api/v1/account_pb.js +100 -0
  237. package/dist/protocol/uplim/api/v1/account_pb.js.map +1 -0
  238. package/dist/protocol/uplim/api/v1/auth_pb.d.ts +231 -0
  239. package/dist/protocol/uplim/api/v1/auth_pb.d.ts.map +1 -0
  240. package/dist/protocol/uplim/api/v1/auth_pb.js +65 -0
  241. package/dist/protocol/uplim/api/v1/auth_pb.js.map +1 -0
  242. package/dist/protocol/uplim/api/v1/buckets_pb.d.ts +1920 -0
  243. package/dist/protocol/uplim/api/v1/buckets_pb.d.ts.map +1 -0
  244. package/dist/protocol/uplim/api/v1/buckets_pb.js +471 -0
  245. package/dist/protocol/uplim/api/v1/buckets_pb.js.map +1 -0
  246. package/dist/protocol/uplim/api/v1/content_type_matcher_pb.d.ts +398 -0
  247. package/dist/protocol/uplim/api/v1/content_type_matcher_pb.d.ts.map +1 -0
  248. package/dist/protocol/uplim/api/v1/content_type_matcher_pb.js +79 -0
  249. package/dist/protocol/uplim/api/v1/content_type_matcher_pb.js.map +1 -0
  250. package/dist/protocol/uplim/api/v1/events_pb.d.ts +767 -0
  251. package/dist/protocol/uplim/api/v1/events_pb.d.ts.map +1 -0
  252. package/dist/protocol/uplim/api/v1/events_pb.js +242 -0
  253. package/dist/protocol/uplim/api/v1/events_pb.js.map +1 -0
  254. package/dist/protocol/uplim/api/v1/integration_admin_pb.d.ts +1059 -0
  255. package/dist/protocol/uplim/api/v1/integration_admin_pb.d.ts.map +1 -0
  256. package/dist/protocol/uplim/api/v1/integration_admin_pb.js +209 -0
  257. package/dist/protocol/uplim/api/v1/integration_admin_pb.js.map +1 -0
  258. package/dist/protocol/uplim/api/v1/integration_install_pb.d.ts +313 -0
  259. package/dist/protocol/uplim/api/v1/integration_install_pb.d.ts.map +1 -0
  260. package/dist/protocol/uplim/api/v1/integration_install_pb.js +129 -0
  261. package/dist/protocol/uplim/api/v1/integration_install_pb.js.map +1 -0
  262. package/dist/protocol/uplim/api/v1/integration_types_pb.d.ts +767 -0
  263. package/dist/protocol/uplim/api/v1/integration_types_pb.d.ts.map +1 -0
  264. package/dist/protocol/uplim/api/v1/integration_types_pb.js +221 -0
  265. package/dist/protocol/uplim/api/v1/integration_types_pb.js.map +1 -0
  266. package/dist/protocol/uplim/api/v1/integrations_pb.d.ts +807 -0
  267. package/dist/protocol/uplim/api/v1/integrations_pb.d.ts.map +1 -0
  268. package/dist/protocol/uplim/api/v1/integrations_pb.js +169 -0
  269. package/dist/protocol/uplim/api/v1/integrations_pb.js.map +1 -0
  270. package/dist/protocol/uplim/api/v1/internal_pb.d.ts +204 -0
  271. package/dist/protocol/uplim/api/v1/internal_pb.d.ts.map +1 -0
  272. package/dist/protocol/uplim/api/v1/internal_pb.js +118 -0
  273. package/dist/protocol/uplim/api/v1/internal_pb.js.map +1 -0
  274. package/dist/protocol/uplim/api/v1/metadata_pb.d.ts +265 -0
  275. package/dist/protocol/uplim/api/v1/metadata_pb.d.ts.map +1 -0
  276. package/dist/protocol/uplim/api/v1/metadata_pb.js +50 -0
  277. package/dist/protocol/uplim/api/v1/metadata_pb.js.map +1 -0
  278. package/dist/protocol/uplim/api/v1/public-buckets_pb.d.ts +64 -0
  279. package/dist/protocol/uplim/api/v1/public-buckets_pb.d.ts.map +1 -0
  280. package/dist/protocol/uplim/api/v1/public-buckets_pb.js +28 -0
  281. package/dist/protocol/uplim/api/v1/public-buckets_pb.js.map +1 -0
  282. package/dist/protocol/uplim/api/v1/public-uploads_pb.d.ts +461 -0
  283. package/dist/protocol/uplim/api/v1/public-uploads_pb.d.ts.map +1 -0
  284. package/dist/protocol/uplim/api/v1/public-uploads_pb.js +139 -0
  285. package/dist/protocol/uplim/api/v1/public-uploads_pb.js.map +1 -0
  286. package/dist/protocol/uplim/api/v1/upload-aliases_pb.d.ts +396 -0
  287. package/dist/protocol/uplim/api/v1/upload-aliases_pb.d.ts.map +1 -0
  288. package/dist/protocol/uplim/api/v1/upload-aliases_pb.js +69 -0
  289. package/dist/protocol/uplim/api/v1/upload-aliases_pb.js.map +1 -0
  290. package/dist/protocol/uplim/api/v1/uploads_pb.d.ts +3736 -0
  291. package/dist/protocol/uplim/api/v1/uploads_pb.d.ts.map +1 -0
  292. package/dist/protocol/uplim/api/v1/uploads_pb.js +732 -0
  293. package/dist/protocol/uplim/api/v1/uploads_pb.js.map +1 -0
  294. package/dist/protocol/uplim/workflow/v1/activities_pb.d.ts +394 -0
  295. package/dist/protocol/uplim/workflow/v1/activities_pb.d.ts.map +1 -0
  296. package/dist/protocol/uplim/workflow/v1/activities_pb.js +122 -0
  297. package/dist/protocol/uplim/workflow/v1/activities_pb.js.map +1 -0
  298. package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.d.ts +486 -0
  299. package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.d.ts.map +1 -0
  300. package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.js +158 -0
  301. package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.js.map +1 -0
  302. package/dist/protocol/uplim/workflow/v1/integration_queue_pb.d.ts +289 -0
  303. package/dist/protocol/uplim/workflow/v1/integration_queue_pb.d.ts.map +1 -0
  304. package/dist/protocol/uplim/workflow/v1/integration_queue_pb.js +66 -0
  305. package/dist/protocol/uplim/workflow/v1/integration_queue_pb.js.map +1 -0
  306. package/dist/protocol/uplim/workflow/v1/workflows_pb.d.ts +602 -0
  307. package/dist/protocol/uplim/workflow/v1/workflows_pb.d.ts.map +1 -0
  308. package/dist/protocol/uplim/workflow/v1/workflows_pb.js +194 -0
  309. package/dist/protocol/uplim/workflow/v1/workflows_pb.js.map +1 -0
  310. package/dist/rpc-clients.d.ts +9 -0
  311. package/dist/rpc-clients.d.ts.map +1 -0
  312. package/dist/rpc-clients.js +24 -0
  313. package/dist/rpc-clients.js.map +1 -0
  314. package/dist/sse-client.d.ts +20 -0
  315. package/dist/sse-client.d.ts.map +1 -0
  316. package/dist/sse-client.js +68 -0
  317. package/dist/sse-client.js.map +1 -0
  318. package/dist/types.d.ts +174 -0
  319. package/dist/types.d.ts.map +1 -0
  320. package/dist/types.js +17 -0
  321. package/dist/types.js.map +1 -0
  322. package/package.json +47 -0
  323. package/src/errors.ts +14 -0
  324. package/src/index.ts +41 -0
  325. package/src/job-context.ts +244 -0
  326. package/src/pool.ts +143 -0
  327. package/src/protocol/buf/validate/expression_pb.ts +163 -0
  328. package/src/protocol/buf/validate/priv/private_pb.ts +86 -0
  329. package/src/protocol/buf/validate/validate_pb.ts +3802 -0
  330. package/src/protocol/gnostic/discovery/v1/discovery_pb.ts +1020 -0
  331. package/src/protocol/gnostic/openapi/v2/openapiv2_pb.ts +2679 -0
  332. package/src/protocol/gnostic/openapi/v3/annotations_pb.ts +55 -0
  333. package/src/protocol/gnostic/openapi/v3/openapiv3_pb.ts +2660 -0
  334. package/src/protocol/google/api/annotations_pb.ts +39 -0
  335. package/src/protocol/google/api/client_pb.ts +1183 -0
  336. package/src/protocol/google/api/expr/v1alpha1/checked_pb.ts +751 -0
  337. package/src/protocol/google/api/expr/v1alpha1/eval_pb.ts +222 -0
  338. package/src/protocol/google/api/expr/v1alpha1/explain_pb.ts +98 -0
  339. package/src/protocol/google/api/expr/v1alpha1/syntax_pb.ts +882 -0
  340. package/src/protocol/google/api/expr/v1alpha1/value_pb.ts +260 -0
  341. package/src/protocol/google/api/expr/v1beta1/decl_pb.ts +191 -0
  342. package/src/protocol/google/api/expr/v1beta1/eval_pb.ts +244 -0
  343. package/src/protocol/google/api/expr/v1beta1/expr_pb.ts +565 -0
  344. package/src/protocol/google/api/expr/v1beta1/source_pb.ts +117 -0
  345. package/src/protocol/google/api/expr/v1beta1/value_pb.ts +261 -0
  346. package/src/protocol/google/api/field_behavior_pb.ts +157 -0
  347. package/src/protocol/google/api/field_info_pb.ts +178 -0
  348. package/src/protocol/google/api/http_pb.ts +474 -0
  349. package/src/protocol/google/api/httpbody_pb.ts +108 -0
  350. package/src/protocol/google/api/launch_stage_pb.ts +118 -0
  351. package/src/protocol/google/api/resource_pb.ts +354 -0
  352. package/src/protocol/google/api/routing_pb.ts +507 -0
  353. package/src/protocol/google/api/visibility_pb.ts +169 -0
  354. package/src/protocol/google/bytestream/bytestream_pb.ts +325 -0
  355. package/src/protocol/google/geo/type/viewport_pb.ts +93 -0
  356. package/src/protocol/google/iam/v1/iam_policy_pb.ts +239 -0
  357. package/src/protocol/google/iam/v1/options_pb.ts +66 -0
  358. package/src/protocol/google/iam/v1/policy_pb.ts +644 -0
  359. package/src/protocol/google/longrunning/operations_pb.ts +460 -0
  360. package/src/protocol/google/rpc/code_pb.ts +268 -0
  361. package/src/protocol/google/rpc/context/attribute_context_pb.ts +638 -0
  362. package/src/protocol/google/rpc/error_details_pb.ts +662 -0
  363. package/src/protocol/google/rpc/status_pb.ts +76 -0
  364. package/src/protocol/google/type/calendar_period_pb.ts +102 -0
  365. package/src/protocol/google/type/color_pb.ts +204 -0
  366. package/src/protocol/google/type/date_pb.ts +82 -0
  367. package/src/protocol/google/type/datetime_pb.ts +181 -0
  368. package/src/protocol/google/type/dayofweek_pb.ts +96 -0
  369. package/src/protocol/google/type/decimal_pb.ts +113 -0
  370. package/src/protocol/google/type/expr_pb.ts +105 -0
  371. package/src/protocol/google/type/fraction_pb.ts +57 -0
  372. package/src/protocol/google/type/interval_pb.ts +69 -0
  373. package/src/protocol/google/type/latlng_pb.ts +60 -0
  374. package/src/protocol/google/type/localized_text_pb.ts +60 -0
  375. package/src/protocol/google/type/money_pb.ts +69 -0
  376. package/src/protocol/google/type/month_pb.ts +131 -0
  377. package/src/protocol/google/type/phone_number_pb.ts +171 -0
  378. package/src/protocol/google/type/postal_address_pb.ts +194 -0
  379. package/src/protocol/google/type/quaternion_pb.ts +126 -0
  380. package/src/protocol/google/type/timeofday_pb.ts +79 -0
  381. package/src/protocol/uplim/api/v1/account_pb.ts +178 -0
  382. package/src/protocol/uplim/api/v1/auth_pb.ts +278 -0
  383. package/src/protocol/uplim/api/v1/buckets_pb.ts +2214 -0
  384. package/src/protocol/uplim/api/v1/content_type_matcher_pb.ts +448 -0
  385. package/src/protocol/uplim/api/v1/events_pb.ts +874 -0
  386. package/src/protocol/uplim/api/v1/integration_admin_pb.ts +1237 -0
  387. package/src/protocol/uplim/api/v1/integration_install_pb.ts +386 -0
  388. package/src/protocol/uplim/api/v1/integration_types_pb.ts +896 -0
  389. package/src/protocol/uplim/api/v1/integrations_pb.ts +944 -0
  390. package/src/protocol/uplim/api/v1/internal_pb.ts +234 -0
  391. package/src/protocol/uplim/api/v1/metadata_pb.ts +305 -0
  392. package/src/protocol/uplim/api/v1/public-buckets_pb.ts +83 -0
  393. package/src/protocol/uplim/api/v1/public-uploads_pb.ts +543 -0
  394. package/src/protocol/uplim/api/v1/upload-aliases_pb.ts +468 -0
  395. package/src/protocol/uplim/api/v1/uploads_pb.ts +4294 -0
  396. package/src/protocol/uplim/workflow/v1/activities_pb.ts +488 -0
  397. package/src/protocol/uplim/workflow/v1/integration_queue_admin_pb.ts +594 -0
  398. package/src/protocol/uplim/workflow/v1/integration_queue_pb.ts +353 -0
  399. package/src/protocol/uplim/workflow/v1/workflows_pb.ts +746 -0
  400. package/src/rpc-clients.ts +29 -0
  401. package/src/sse-client.ts +83 -0
  402. package/src/types.ts +169 -0
@@ -0,0 +1,1920 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Empty, EmptySchema, FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { PublicAccount } from "./account_pb.js";
4
+ import type { BucketRef, FolderRef, UploadRef } from "./internal_pb.js";
5
+ import type { IntegrationBucketType } from "./integration_types_pb.js";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ /**
8
+ * Describes the file uplim/api/v1/buckets.proto.
9
+ */
10
+ export declare const file_uplim_api_v1_buckets: GenFile;
11
+ /**
12
+ * @generated from message uplim.api.v1.BucketPermission
13
+ */
14
+ export type BucketPermission = Message<"uplim.api.v1.BucketPermission"> & {
15
+ /**
16
+ * The user that has been granted access
17
+ *
18
+ * @generated from field: uplim.api.v1.PublicAccount account = 1;
19
+ */
20
+ account?: PublicAccount;
21
+ /**
22
+ * The permissions granted to the user
23
+ *
24
+ * @generated from field: uplim.api.v1.BucketPermissionLevel permission_level = 2;
25
+ */
26
+ permissionLevel: BucketPermissionLevel;
27
+ };
28
+ /**
29
+ * Describes the message uplim.api.v1.BucketPermission.
30
+ * Use `create(BucketPermissionSchema)` to create a new message.
31
+ */
32
+ export declare const BucketPermissionSchema: GenMessage<BucketPermission>;
33
+ /**
34
+ * Bucket represents a storage bucket in the system
35
+ *
36
+ * @generated from message uplim.api.v1.Bucket
37
+ */
38
+ export type Bucket = Message<"uplim.api.v1.Bucket"> & {
39
+ /**
40
+ * Internal database identifier for the bucket
41
+ *
42
+ * @generated from field: string bucket_id = 1;
43
+ */
44
+ bucketId: string;
45
+ /**
46
+ * User-defined name for the bucket
47
+ *
48
+ * @generated from field: string bucket_name = 2;
49
+ */
50
+ bucketName: string;
51
+ /**
52
+ * Public URL for accessing the bucket
53
+ *
54
+ * @generated from field: string url = 3;
55
+ */
56
+ url: string;
57
+ /**
58
+ * Total number of files uploaded to this bucket
59
+ *
60
+ * @generated from field: int64 upload_count = 4 [jstype = JS_STRING];
61
+ */
62
+ uploadCount: string;
63
+ /**
64
+ * Current storage space used in bytes
65
+ *
66
+ * @generated from field: int64 used_space_bytes = 5 [jstype = JS_STRING];
67
+ */
68
+ usedSpaceBytes: string;
69
+ /**
70
+ * Maximum storage space allowed in bytes
71
+ *
72
+ * @generated from field: int64 total_space_bytes = 6 [jstype = JS_STRING];
73
+ */
74
+ totalSpaceBytes: string;
75
+ /**
76
+ * Alternative names/identifiers for the bucket
77
+ *
78
+ * @generated from field: repeated string aliases = 7;
79
+ */
80
+ aliases: string[];
81
+ /**
82
+ * Whether this is the user's primary bucket
83
+ *
84
+ * @generated from field: bool is_primary = 8;
85
+ */
86
+ isPrimary: boolean;
87
+ /**
88
+ * When the bucket was created
89
+ *
90
+ * @generated from field: google.protobuf.Timestamp created_at = 9;
91
+ */
92
+ createdAt?: Timestamp;
93
+ /**
94
+ * When the bucket was last modified
95
+ *
96
+ * @generated from field: google.protobuf.Timestamp updated_at = 10;
97
+ */
98
+ updatedAt?: Timestamp;
99
+ /**
100
+ * The type of bucket (directory, tags, or integration)
101
+ *
102
+ * @generated from field: uplim.api.v1.BucketType type = 12;
103
+ */
104
+ type: BucketType;
105
+ /**
106
+ * Where the bucket's files are stored
107
+ *
108
+ * @generated from field: uplim.api.v1.BucketDestination destination = 13;
109
+ */
110
+ destination: BucketDestination;
111
+ /**
112
+ * Storage destination configuration (S3 bucket or custom S3 server)
113
+ *
114
+ * @generated from field: uplim.api.v1.BucketDestinationConfig destination_config = 14;
115
+ */
116
+ destinationConfig?: BucketDestinationConfig;
117
+ /**
118
+ * Primary alias used to access this bucket (optional - may be empty if no aliases defined)
119
+ *
120
+ * @generated from field: optional string primary_alias = 15;
121
+ */
122
+ primaryAlias?: string;
123
+ /**
124
+ * Portal configuration for this bucket
125
+ *
126
+ * @generated from field: uplim.api.v1.PortalConfig portal_config = 16;
127
+ */
128
+ portalConfig?: PortalConfig;
129
+ /**
130
+ * When type = BUCKET_TYPE_INTEGRATION, links to the controlling IntegrationBucketType
131
+ *
132
+ * @generated from field: optional string integration_bucket_type_id = 17;
133
+ */
134
+ integrationBucketTypeId?: string;
135
+ };
136
+ /**
137
+ * Describes the message uplim.api.v1.Bucket.
138
+ * Use `create(BucketSchema)` to create a new message.
139
+ */
140
+ export declare const BucketSchema: GenMessage<Bucket>;
141
+ /**
142
+ * Status information for a bucket alias
143
+ *
144
+ * @generated from message uplim.api.v1.AliasStatus
145
+ */
146
+ export type AliasStatus = Message<"uplim.api.v1.AliasStatus"> & {
147
+ /**
148
+ * The alias name
149
+ *
150
+ * @generated from field: string alias = 1;
151
+ */
152
+ alias: string;
153
+ /**
154
+ * Whether this is a custom domain
155
+ *
156
+ * @generated from field: bool is_custom_domain = 2;
157
+ */
158
+ isCustomDomain: boolean;
159
+ /**
160
+ * Current status (pending, active, error, etc.)
161
+ * Common values: "pending", "active", "moved", "deleted"
162
+ *
163
+ * @generated from field: optional string status = 3;
164
+ */
165
+ status?: string;
166
+ /**
167
+ * When the hostname was verified
168
+ *
169
+ * @generated from field: optional google.protobuf.Timestamp verified_at = 4;
170
+ */
171
+ verifiedAt?: Timestamp;
172
+ /**
173
+ * Error message if verification failed
174
+ * Common errors include DNS validation issues, SSL certificate problems, etc.
175
+ * Check that the CNAME record points to fallback_hostname
176
+ *
177
+ * @generated from field: optional string error = 5;
178
+ */
179
+ error?: string;
180
+ /**
181
+ * When the alias was created
182
+ *
183
+ * @generated from field: google.protobuf.Timestamp created_at = 6;
184
+ */
185
+ createdAt?: Timestamp;
186
+ /**
187
+ * Fallback hostname to CNAME to (only for custom domains)
188
+ * Custom domains must have a CNAME record pointing to this hostname
189
+ *
190
+ * @generated from field: optional string fallback_hostname = 7;
191
+ */
192
+ fallbackHostname?: string;
193
+ };
194
+ /**
195
+ * Describes the message uplim.api.v1.AliasStatus.
196
+ * Use `create(AliasStatusSchema)` to create a new message.
197
+ */
198
+ export declare const AliasStatusSchema: GenMessage<AliasStatus>;
199
+ /**
200
+ * Request message for retrieving a specific bucket
201
+ *
202
+ * @generated from message uplim.api.v1.GetBucketRequest
203
+ */
204
+ export type GetBucketRequest = Message<"uplim.api.v1.GetBucketRequest"> & {
205
+ /**
206
+ * Reference to the bucket
207
+ *
208
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
209
+ */
210
+ bucketRef?: BucketRef;
211
+ /**
212
+ * Include detailed alias status information
213
+ *
214
+ * @generated from field: bool include_alias_status = 2;
215
+ */
216
+ includeAliasStatus: boolean;
217
+ };
218
+ /**
219
+ * Describes the message uplim.api.v1.GetBucketRequest.
220
+ * Use `create(GetBucketRequestSchema)` to create a new message.
221
+ */
222
+ export declare const GetBucketRequestSchema: GenMessage<GetBucketRequest>;
223
+ /**
224
+ * Response message containing bucket details
225
+ *
226
+ * @generated from message uplim.api.v1.GetBucketResponse
227
+ */
228
+ export type GetBucketResponse = Message<"uplim.api.v1.GetBucketResponse"> & {
229
+ /**
230
+ * The requested bucket information
231
+ *
232
+ * @generated from field: uplim.api.v1.Bucket bucket = 1;
233
+ */
234
+ bucket?: Bucket;
235
+ /**
236
+ * The caller's permission level on this bucket
237
+ *
238
+ * @generated from field: uplim.api.v1.BucketPermissionLevel permission_level = 2;
239
+ */
240
+ permissionLevel: BucketPermissionLevel;
241
+ /**
242
+ * Whether the caller is the primary owner of this bucket
243
+ *
244
+ * @generated from field: bool is_primary_owner = 3;
245
+ */
246
+ isPrimaryOwner: boolean;
247
+ /**
248
+ * Detailed status for each alias (only if include_alias_status was true)
249
+ *
250
+ * @generated from field: repeated uplim.api.v1.AliasStatus alias_status = 4;
251
+ */
252
+ aliasStatus: AliasStatus[];
253
+ /**
254
+ * The bucket's current event_id, for aligning REST snapshots with
255
+ * WebSocket replay. Clients use this as last_event_id when subscribing.
256
+ *
257
+ * @generated from field: uint64 bucket_event_id = 5 [jstype = JS_STRING];
258
+ */
259
+ bucketEventId: string;
260
+ };
261
+ /**
262
+ * Describes the message uplim.api.v1.GetBucketResponse.
263
+ * Use `create(GetBucketResponseSchema)` to create a new message.
264
+ */
265
+ export declare const GetBucketResponseSchema: GenMessage<GetBucketResponse>;
266
+ /**
267
+ * Storage destination configuration for a bucket
268
+ *
269
+ * @generated from message uplim.api.v1.BucketDestinationConfig
270
+ */
271
+ export type BucketDestinationConfig = Message<"uplim.api.v1.BucketDestinationConfig"> & {
272
+ /**
273
+ * @generated from oneof uplim.api.v1.BucketDestinationConfig.destination
274
+ */
275
+ destination: {
276
+ /**
277
+ * @generated from field: uplim.api.v1.BucketDestinationConfig.S3Bucket s3_bucket = 1;
278
+ */
279
+ value: BucketDestinationConfig_S3Bucket;
280
+ case: "s3Bucket";
281
+ } | {
282
+ /**
283
+ * @generated from field: uplim.api.v1.BucketDestinationConfig.S3Server s3_server = 2;
284
+ */
285
+ value: BucketDestinationConfig_S3Server;
286
+ case: "s3Server";
287
+ } | {
288
+ case: undefined;
289
+ value?: undefined;
290
+ };
291
+ };
292
+ /**
293
+ * Describes the message uplim.api.v1.BucketDestinationConfig.
294
+ * Use `create(BucketDestinationConfigSchema)` to create a new message.
295
+ */
296
+ export declare const BucketDestinationConfigSchema: GenMessage<BucketDestinationConfig>;
297
+ /**
298
+ * Configuration for storing files in an AWS S3 bucket via IAM role assumption
299
+ *
300
+ * @generated from message uplim.api.v1.BucketDestinationConfig.S3Bucket
301
+ */
302
+ export type BucketDestinationConfig_S3Bucket = Message<"uplim.api.v1.BucketDestinationConfig.S3Bucket"> & {
303
+ /**
304
+ * S3 bucket name
305
+ *
306
+ * @generated from field: string bucket_name = 1;
307
+ */
308
+ bucketName: string;
309
+ /**
310
+ * AWS region (e.g. "us-east-1")
311
+ *
312
+ * @generated from field: string region = 2;
313
+ */
314
+ region: string;
315
+ /**
316
+ * IAM role ARN to assume for S3 access
317
+ *
318
+ * @generated from field: string role_arn = 3;
319
+ */
320
+ roleArn: string;
321
+ };
322
+ /**
323
+ * Describes the message uplim.api.v1.BucketDestinationConfig.S3Bucket.
324
+ * Use `create(BucketDestinationConfig_S3BucketSchema)` to create a new message.
325
+ */
326
+ export declare const BucketDestinationConfig_S3BucketSchema: GenMessage<BucketDestinationConfig_S3Bucket>;
327
+ /**
328
+ * Configuration for storing files on a custom S3-compatible server (MinIO, etc.)
329
+ *
330
+ * @generated from message uplim.api.v1.BucketDestinationConfig.S3Server
331
+ */
332
+ export type BucketDestinationConfig_S3Server = Message<"uplim.api.v1.BucketDestinationConfig.S3Server"> & {
333
+ /**
334
+ * S3-compatible server endpoint URL
335
+ *
336
+ * @generated from field: string endpoint = 1;
337
+ */
338
+ endpoint: string;
339
+ /**
340
+ * S3 access key ID
341
+ *
342
+ * @generated from field: string access_key_id = 2;
343
+ */
344
+ accessKeyId: string;
345
+ /**
346
+ * S3 secret access key
347
+ *
348
+ * @generated from field: string secret_access_key = 3;
349
+ */
350
+ secretAccessKey: string;
351
+ /**
352
+ * S3 region
353
+ *
354
+ * @generated from field: string region = 4;
355
+ */
356
+ region: string;
357
+ /**
358
+ * Use path-style addressing instead of virtual-hosted-style
359
+ *
360
+ * @generated from field: bool force_path_style = 5;
361
+ */
362
+ forcePathStyle: boolean;
363
+ /**
364
+ * S3 bucket name
365
+ *
366
+ * @generated from field: string bucket_name = 6;
367
+ */
368
+ bucketName: string;
369
+ };
370
+ /**
371
+ * Describes the message uplim.api.v1.BucketDestinationConfig.S3Server.
372
+ * Use `create(BucketDestinationConfig_S3ServerSchema)` to create a new message.
373
+ */
374
+ export declare const BucketDestinationConfig_S3ServerSchema: GenMessage<BucketDestinationConfig_S3Server>;
375
+ /**
376
+ * Configuration for the bucket's portal/frontend behavior
377
+ *
378
+ * @generated from message uplim.api.v1.PortalConfig
379
+ */
380
+ export type PortalConfig = Message<"uplim.api.v1.PortalConfig"> & {
381
+ /**
382
+ * When true, the portal operates in CDN mode - optimized for content delivery
383
+ * without upload/management UI features
384
+ *
385
+ * @generated from field: bool cdn_mode = 1;
386
+ */
387
+ cdnMode: boolean;
388
+ };
389
+ /**
390
+ * Describes the message uplim.api.v1.PortalConfig.
391
+ * Use `create(PortalConfigSchema)` to create a new message.
392
+ */
393
+ export declare const PortalConfigSchema: GenMessage<PortalConfig>;
394
+ /**
395
+ * Request message for creating a new bucket
396
+ *
397
+ * @generated from message uplim.api.v1.CreateBucketRequest
398
+ */
399
+ export type CreateBucketRequest = Message<"uplim.api.v1.CreateBucketRequest"> & {
400
+ /**
401
+ * Name for the new bucket
402
+ *
403
+ * @generated from field: string bucket_name = 1;
404
+ */
405
+ bucketName: string;
406
+ /**
407
+ * Optional aliases for the bucket
408
+ *
409
+ * @generated from field: repeated string aliases = 2;
410
+ */
411
+ aliases: string[];
412
+ /**
413
+ * Optional description of the bucket
414
+ *
415
+ * @generated from field: string description = 3;
416
+ */
417
+ description: string;
418
+ /**
419
+ * Destination for the bucket
420
+ *
421
+ * @generated from field: uplim.api.v1.BucketDestination destination = 4;
422
+ */
423
+ destination: BucketDestination;
424
+ /**
425
+ * @generated from field: uplim.api.v1.BucketDestinationConfig destination_config = 5;
426
+ */
427
+ destinationConfig?: BucketDestinationConfig;
428
+ /**
429
+ * Portal configuration for the bucket
430
+ *
431
+ * @generated from field: optional uplim.api.v1.PortalConfig portal_config = 6;
432
+ */
433
+ portalConfig?: PortalConfig;
434
+ /**
435
+ * Required when type = BUCKET_TYPE_INTEGRATION. Links the bucket to an IntegrationBucketType.
436
+ *
437
+ * @generated from field: optional string integration_bucket_type_id = 7;
438
+ */
439
+ integrationBucketTypeId?: string;
440
+ };
441
+ /**
442
+ * Describes the message uplim.api.v1.CreateBucketRequest.
443
+ * Use `create(CreateBucketRequestSchema)` to create a new message.
444
+ */
445
+ export declare const CreateBucketRequestSchema: GenMessage<CreateBucketRequest>;
446
+ /**
447
+ * Response message containing the created bucket
448
+ *
449
+ * @generated from message uplim.api.v1.CreateBucketResponse
450
+ */
451
+ export type CreateBucketResponse = Message<"uplim.api.v1.CreateBucketResponse"> & {
452
+ /**
453
+ * The newly created bucket
454
+ *
455
+ * @generated from field: uplim.api.v1.Bucket bucket = 1;
456
+ */
457
+ bucket?: Bucket;
458
+ };
459
+ /**
460
+ * Describes the message uplim.api.v1.CreateBucketResponse.
461
+ * Use `create(CreateBucketResponseSchema)` to create a new message.
462
+ */
463
+ export declare const CreateBucketResponseSchema: GenMessage<CreateBucketResponse>;
464
+ /**
465
+ * Request message for deleting a bucket
466
+ *
467
+ * @generated from message uplim.api.v1.DeleteBucketRequest
468
+ */
469
+ export type DeleteBucketRequest = Message<"uplim.api.v1.DeleteBucketRequest"> & {
470
+ /**
471
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
472
+ */
473
+ bucketRef?: BucketRef;
474
+ /**
475
+ * Force deletion even if bucket is not empty
476
+ *
477
+ * @generated from field: bool force = 2;
478
+ */
479
+ force: boolean;
480
+ };
481
+ /**
482
+ * Describes the message uplim.api.v1.DeleteBucketRequest.
483
+ * Use `create(DeleteBucketRequestSchema)` to create a new message.
484
+ */
485
+ export declare const DeleteBucketRequestSchema: GenMessage<DeleteBucketRequest>;
486
+ /**
487
+ * Response message for bucket deletion
488
+ *
489
+ * @generated from message uplim.api.v1.DeleteBucketResponse
490
+ */
491
+ export type DeleteBucketResponse = Message<"uplim.api.v1.DeleteBucketResponse"> & {
492
+ /**
493
+ * Empty response indicating successful deletion
494
+ *
495
+ * @generated from field: google.protobuf.Empty empty = 1;
496
+ */
497
+ empty?: Empty;
498
+ };
499
+ /**
500
+ * Describes the message uplim.api.v1.DeleteBucketResponse.
501
+ * Use `create(DeleteBucketResponseSchema)` to create a new message.
502
+ */
503
+ export declare const DeleteBucketResponseSchema: GenMessage<DeleteBucketResponse>;
504
+ /**
505
+ * Filter to only return buckets where a specific file exists
506
+ *
507
+ * @generated from message uplim.api.v1.FileExistsFilter
508
+ */
509
+ export type FileExistsFilter = Message<"uplim.api.v1.FileExistsFilter"> & {
510
+ /**
511
+ * Path where the file should exist (e.g., "/" for root)
512
+ *
513
+ * @generated from field: string path = 1;
514
+ */
515
+ path: string;
516
+ /**
517
+ * Slug of the file (e.g., "config.json")
518
+ *
519
+ * @generated from field: string slug = 2;
520
+ */
521
+ slug: string;
522
+ };
523
+ /**
524
+ * Describes the message uplim.api.v1.FileExistsFilter.
525
+ * Use `create(FileExistsFilterSchema)` to create a new message.
526
+ */
527
+ export declare const FileExistsFilterSchema: GenMessage<FileExistsFilter>;
528
+ /**
529
+ * Request message for listing all buckets
530
+ *
531
+ * @generated from message uplim.api.v1.ListBucketsRequest
532
+ */
533
+ export type ListBucketsRequest = Message<"uplim.api.v1.ListBucketsRequest"> & {
534
+ /**
535
+ * @generated from field: int32 include_latest_uploads = 1;
536
+ */
537
+ includeLatestUploads: number;
538
+ /**
539
+ * Include detailed alias status information for each bucket
540
+ *
541
+ * @generated from field: bool include_alias_status = 2;
542
+ */
543
+ includeAliasStatus: boolean;
544
+ /**
545
+ * Filter to only return buckets where this file exists
546
+ *
547
+ * @generated from field: optional uplim.api.v1.FileExistsFilter has_file = 3;
548
+ */
549
+ hasFile?: FileExistsFilter;
550
+ };
551
+ /**
552
+ * Describes the message uplim.api.v1.ListBucketsRequest.
553
+ * Use `create(ListBucketsRequestSchema)` to create a new message.
554
+ */
555
+ export declare const ListBucketsRequestSchema: GenMessage<ListBucketsRequest>;
556
+ /**
557
+ * A recent upload in a bucket, used for preview thumbnails on the bucket list
558
+ *
559
+ * @generated from message uplim.api.v1.BucketLatestUpload
560
+ */
561
+ export type BucketLatestUpload = Message<"uplim.api.v1.BucketLatestUpload"> & {
562
+ /**
563
+ * Unique identifier for the upload
564
+ *
565
+ * @generated from field: string upload_id = 1;
566
+ */
567
+ uploadId: string;
568
+ /**
569
+ * URL to access the uploaded file
570
+ *
571
+ * @generated from field: string url = 2;
572
+ */
573
+ url: string;
574
+ /**
575
+ * URL for the thumbnail of the uploaded file, won't exist if it hasn't been processed
576
+ *
577
+ * @generated from field: string thumbnail_url = 3;
578
+ */
579
+ thumbnailUrl: string;
580
+ /**
581
+ * OAuth client ID that created this upload (if via integration)
582
+ *
583
+ * @generated from field: string oauth_client_id = 4;
584
+ */
585
+ oauthClientId: string;
586
+ };
587
+ /**
588
+ * Describes the message uplim.api.v1.BucketLatestUpload.
589
+ * Use `create(BucketLatestUploadSchema)` to create a new message.
590
+ */
591
+ export declare const BucketLatestUploadSchema: GenMessage<BucketLatestUpload>;
592
+ /**
593
+ * Response message containing list of buckets
594
+ *
595
+ * @generated from message uplim.api.v1.ListBucketsResponse
596
+ */
597
+ export type ListBucketsResponse = Message<"uplim.api.v1.ListBucketsResponse"> & {
598
+ /**
599
+ * List of buckets owned by the user or shared at bucket level
600
+ *
601
+ * @generated from field: repeated uplim.api.v1.ListBucketsResponse.BucketAccess buckets = 1;
602
+ */
603
+ buckets: ListBucketsResponse_BucketAccess[];
604
+ /**
605
+ * Resources (folders/uploads) shared with the user (when bucket not shared)
606
+ *
607
+ * @generated from field: repeated uplim.api.v1.SharedResourceAccess shared_resources = 2;
608
+ */
609
+ sharedResources: SharedResourceAccess[];
610
+ };
611
+ /**
612
+ * Describes the message uplim.api.v1.ListBucketsResponse.
613
+ * Use `create(ListBucketsResponseSchema)` to create a new message.
614
+ */
615
+ export declare const ListBucketsResponseSchema: GenMessage<ListBucketsResponse>;
616
+ /**
617
+ * A bucket with the caller's access level
618
+ *
619
+ * @generated from message uplim.api.v1.ListBucketsResponse.BucketAccess
620
+ */
621
+ export type ListBucketsResponse_BucketAccess = Message<"uplim.api.v1.ListBucketsResponse.BucketAccess"> & {
622
+ /**
623
+ * The bucket
624
+ *
625
+ * @generated from field: uplim.api.v1.Bucket bucket = 1;
626
+ */
627
+ bucket?: Bucket;
628
+ /**
629
+ * The caller's permission level
630
+ *
631
+ * @generated from field: uplim.api.v1.BucketPermissionLevel permission_level = 2;
632
+ */
633
+ permissionLevel: BucketPermissionLevel;
634
+ /**
635
+ * Whether the caller is the primary owner
636
+ *
637
+ * @generated from field: bool is_primary_owner = 3;
638
+ */
639
+ isPrimaryOwner: boolean;
640
+ /**
641
+ * Recent uploads for preview thumbnails (if requested)
642
+ *
643
+ * @generated from field: repeated uplim.api.v1.BucketLatestUpload latest_uploads = 4;
644
+ */
645
+ latestUploads: BucketLatestUpload[];
646
+ /**
647
+ * Integration that created/owns this bucket (if integration-scoped)
648
+ *
649
+ * @generated from field: optional string parent_integration_id = 5;
650
+ */
651
+ parentIntegrationId?: string;
652
+ /**
653
+ * Application that owns the integration (if integration-scoped)
654
+ *
655
+ * @generated from field: optional string parent_application_id = 6;
656
+ */
657
+ parentApplicationId?: string;
658
+ /**
659
+ * Detailed status for each alias (only if include_alias_status was true)
660
+ *
661
+ * @generated from field: repeated uplim.api.v1.AliasStatus alias_status = 7;
662
+ */
663
+ aliasStatus: AliasStatus[];
664
+ };
665
+ /**
666
+ * Describes the message uplim.api.v1.ListBucketsResponse.BucketAccess.
667
+ * Use `create(ListBucketsResponse_BucketAccessSchema)` to create a new message.
668
+ */
669
+ export declare const ListBucketsResponse_BucketAccessSchema: GenMessage<ListBucketsResponse_BucketAccess>;
670
+ /**
671
+ * Request message for retrieving bucket statistics
672
+ *
673
+ * @generated from message uplim.api.v1.GetBucketStatisticsRequest
674
+ */
675
+ export type GetBucketStatisticsRequest = Message<"uplim.api.v1.GetBucketStatisticsRequest"> & {
676
+ /**
677
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
678
+ */
679
+ bucketRef?: BucketRef;
680
+ /**
681
+ * Start time for statistics period
682
+ *
683
+ * @generated from field: google.protobuf.Timestamp start_time = 2;
684
+ */
685
+ startTime?: Timestamp;
686
+ /**
687
+ * End time for statistics period
688
+ *
689
+ * @generated from field: google.protobuf.Timestamp end_time = 3;
690
+ */
691
+ endTime?: Timestamp;
692
+ /**
693
+ * Granularity of statistics (hourly, daily, monthly)
694
+ *
695
+ * @generated from field: uplim.api.v1.StatisticsGranularity granularity = 4;
696
+ */
697
+ granularity: StatisticsGranularity;
698
+ };
699
+ /**
700
+ * Describes the message uplim.api.v1.GetBucketStatisticsRequest.
701
+ * Use `create(GetBucketStatisticsRequestSchema)` to create a new message.
702
+ */
703
+ export declare const GetBucketStatisticsRequestSchema: GenMessage<GetBucketStatisticsRequest>;
704
+ /**
705
+ * Response message containing bucket statistics
706
+ *
707
+ * @generated from message uplim.api.v1.GetBucketStatisticsResponse
708
+ */
709
+ export type GetBucketStatisticsResponse = Message<"uplim.api.v1.GetBucketStatisticsResponse"> & {
710
+ /**
711
+ * Time series of bucket statistics
712
+ *
713
+ * @generated from field: repeated uplim.api.v1.GetBucketStatisticsResponse.Statistics statistics = 1;
714
+ */
715
+ statistics: GetBucketStatisticsResponse_Statistics[];
716
+ };
717
+ /**
718
+ * Describes the message uplim.api.v1.GetBucketStatisticsResponse.
719
+ * Use `create(GetBucketStatisticsResponseSchema)` to create a new message.
720
+ */
721
+ export declare const GetBucketStatisticsResponseSchema: GenMessage<GetBucketStatisticsResponse>;
722
+ /**
723
+ * Statistics for a single time period
724
+ *
725
+ * @generated from message uplim.api.v1.GetBucketStatisticsResponse.Statistics
726
+ */
727
+ export type GetBucketStatisticsResponse_Statistics = Message<"uplim.api.v1.GetBucketStatisticsResponse.Statistics"> & {
728
+ /**
729
+ * Total size of all files in bytes
730
+ *
731
+ * @generated from field: int64 size_bytes = 1 [jstype = JS_STRING];
732
+ */
733
+ sizeBytes: string;
734
+ /**
735
+ * Number of files uploaded in this period
736
+ *
737
+ * @generated from field: int64 upload_count = 2 [jstype = JS_STRING];
738
+ */
739
+ uploadCount: string;
740
+ /**
741
+ * Timestamp for these statistics
742
+ *
743
+ * @generated from field: google.protobuf.Timestamp timestamp = 3;
744
+ */
745
+ timestamp?: Timestamp;
746
+ /**
747
+ * Number of downloads in this period
748
+ *
749
+ * @generated from field: int64 download_count = 4 [jstype = JS_STRING];
750
+ */
751
+ downloadCount: string;
752
+ /**
753
+ * Bandwidth used in bytes
754
+ *
755
+ * @generated from field: int64 bandwidth_bytes = 5 [jstype = JS_STRING];
756
+ */
757
+ bandwidthBytes: string;
758
+ };
759
+ /**
760
+ * Describes the message uplim.api.v1.GetBucketStatisticsResponse.Statistics.
761
+ * Use `create(GetBucketStatisticsResponse_StatisticsSchema)` to create a new message.
762
+ */
763
+ export declare const GetBucketStatisticsResponse_StatisticsSchema: GenMessage<GetBucketStatisticsResponse_Statistics>;
764
+ /**
765
+ * @generated from message uplim.api.v1.GrantBucketPermissionRequest
766
+ */
767
+ export type GrantBucketPermissionRequest = Message<"uplim.api.v1.GrantBucketPermissionRequest"> & {
768
+ /**
769
+ * Reference to the bucket
770
+ *
771
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
772
+ */
773
+ bucketRef?: BucketRef;
774
+ /**
775
+ * @generated from field: string account_id = 2;
776
+ */
777
+ accountId: string;
778
+ /**
779
+ * Permission level to grant
780
+ *
781
+ * @generated from field: uplim.api.v1.BucketPermissionLevel permission_level = 3;
782
+ */
783
+ permissionLevel: BucketPermissionLevel;
784
+ };
785
+ /**
786
+ * Describes the message uplim.api.v1.GrantBucketPermissionRequest.
787
+ * Use `create(GrantBucketPermissionRequestSchema)` to create a new message.
788
+ */
789
+ export declare const GrantBucketPermissionRequestSchema: GenMessage<GrantBucketPermissionRequest>;
790
+ /**
791
+ * @generated from message uplim.api.v1.GrantBucketPermissionResponse
792
+ */
793
+ export type GrantBucketPermissionResponse = Message<"uplim.api.v1.GrantBucketPermissionResponse"> & {
794
+ /**
795
+ * @generated from field: uplim.api.v1.BucketPermission permission = 1;
796
+ */
797
+ permission?: BucketPermission;
798
+ };
799
+ /**
800
+ * Describes the message uplim.api.v1.GrantBucketPermissionResponse.
801
+ * Use `create(GrantBucketPermissionResponseSchema)` to create a new message.
802
+ */
803
+ export declare const GrantBucketPermissionResponseSchema: GenMessage<GrantBucketPermissionResponse>;
804
+ /**
805
+ * @generated from message uplim.api.v1.RevokeBucketPermissionRequest
806
+ */
807
+ export type RevokeBucketPermissionRequest = Message<"uplim.api.v1.RevokeBucketPermissionRequest"> & {
808
+ /**
809
+ * Reference to the bucket
810
+ *
811
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
812
+ */
813
+ bucketRef?: BucketRef;
814
+ /**
815
+ * @generated from field: string account_id = 2;
816
+ */
817
+ accountId: string;
818
+ };
819
+ /**
820
+ * Describes the message uplim.api.v1.RevokeBucketPermissionRequest.
821
+ * Use `create(RevokeBucketPermissionRequestSchema)` to create a new message.
822
+ */
823
+ export declare const RevokeBucketPermissionRequestSchema: GenMessage<RevokeBucketPermissionRequest>;
824
+ /**
825
+ * @generated from message uplim.api.v1.ListBucketPermissionsRequest
826
+ */
827
+ export type ListBucketPermissionsRequest = Message<"uplim.api.v1.ListBucketPermissionsRequest"> & {
828
+ /**
829
+ * Reference to the bucket
830
+ *
831
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
832
+ */
833
+ bucketRef?: BucketRef;
834
+ };
835
+ /**
836
+ * Describes the message uplim.api.v1.ListBucketPermissionsRequest.
837
+ * Use `create(ListBucketPermissionsRequestSchema)` to create a new message.
838
+ */
839
+ export declare const ListBucketPermissionsRequestSchema: GenMessage<ListBucketPermissionsRequest>;
840
+ /**
841
+ * @generated from message uplim.api.v1.ListBucketPermissionsResponse
842
+ */
843
+ export type ListBucketPermissionsResponse = Message<"uplim.api.v1.ListBucketPermissionsResponse"> & {
844
+ /**
845
+ * @generated from field: repeated uplim.api.v1.BucketPermission permissions = 1;
846
+ */
847
+ permissions: BucketPermission[];
848
+ };
849
+ /**
850
+ * Describes the message uplim.api.v1.ListBucketPermissionsResponse.
851
+ * Use `create(ListBucketPermissionsResponseSchema)` to create a new message.
852
+ */
853
+ export declare const ListBucketPermissionsResponseSchema: GenMessage<ListBucketPermissionsResponse>;
854
+ /**
855
+ * @generated from message uplim.api.v1.UpdateBucketRequest
856
+ */
857
+ export type UpdateBucketRequest = Message<"uplim.api.v1.UpdateBucketRequest"> & {
858
+ /**
859
+ * Reference to the bucket
860
+ *
861
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
862
+ */
863
+ bucketRef?: BucketRef;
864
+ /**
865
+ * Field mask to specify which fields to update
866
+ * Valid paths: "type", "aliases", "primary_alias", "bucket_name", "portal_config"
867
+ * If not provided, all non-empty fields will be updated (legacy behavior)
868
+ *
869
+ * @generated from field: google.protobuf.FieldMask update_mask = 2;
870
+ */
871
+ updateMask?: FieldMask;
872
+ /**
873
+ * @generated from field: optional uplim.api.v1.BucketType type = 3;
874
+ */
875
+ type?: BucketType;
876
+ /**
877
+ * Set the complete list of aliases for the bucket
878
+ * The system will automatically add new aliases and remove missing ones
879
+ * Note: Cannot remove primary alias unless setting a new one
880
+ *
881
+ * @generated from field: repeated string aliases = 4;
882
+ */
883
+ aliases: string[];
884
+ /**
885
+ * Recheck Cloudflare status for all custom domain aliases
886
+ *
887
+ * @generated from field: bool recheck_alias_status = 5;
888
+ */
889
+ recheckAliasStatus: boolean;
890
+ /**
891
+ * Set the primary alias for the bucket
892
+ * Must be a verified custom domain or a non-custom domain
893
+ * Can be set to a new alias being added in the same request (for non-custom domains)
894
+ *
895
+ * @generated from field: optional string primary_alias = 6;
896
+ */
897
+ primaryAlias?: string;
898
+ /**
899
+ * Update the bucket's display name
900
+ * This is a user-friendly label and does not affect routing (aliases handle that)
901
+ *
902
+ * @generated from field: optional string bucket_name = 7;
903
+ */
904
+ bucketName?: string;
905
+ /**
906
+ * Update the bucket's portal configuration
907
+ *
908
+ * @generated from field: optional uplim.api.v1.PortalConfig portal_config = 8;
909
+ */
910
+ portalConfig?: PortalConfig;
911
+ };
912
+ /**
913
+ * Describes the message uplim.api.v1.UpdateBucketRequest.
914
+ * Use `create(UpdateBucketRequestSchema)` to create a new message.
915
+ */
916
+ export declare const UpdateBucketRequestSchema: GenMessage<UpdateBucketRequest>;
917
+ /**
918
+ * @generated from message uplim.api.v1.UpdateBucketResponse
919
+ */
920
+ export type UpdateBucketResponse = Message<"uplim.api.v1.UpdateBucketResponse"> & {
921
+ /**
922
+ * @generated from field: uplim.api.v1.Bucket bucket = 1;
923
+ */
924
+ bucket?: Bucket;
925
+ /**
926
+ * Updated alias status after recheck (only if recheck_alias_status was true)
927
+ *
928
+ * @generated from field: repeated uplim.api.v1.AliasStatus alias_status = 2;
929
+ */
930
+ aliasStatus: AliasStatus[];
931
+ };
932
+ /**
933
+ * Describes the message uplim.api.v1.UpdateBucketResponse.
934
+ * Use `create(UpdateBucketResponseSchema)` to create a new message.
935
+ */
936
+ export declare const UpdateBucketResponseSchema: GenMessage<UpdateBucketResponse>;
937
+ /**
938
+ * @generated from message uplim.api.v1.GetSearchTokenRequest
939
+ */
940
+ export type GetSearchTokenRequest = Message<"uplim.api.v1.GetSearchTokenRequest"> & {
941
+ /**
942
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
943
+ */
944
+ bucketRef?: BucketRef;
945
+ };
946
+ /**
947
+ * Describes the message uplim.api.v1.GetSearchTokenRequest.
948
+ * Use `create(GetSearchTokenRequestSchema)` to create a new message.
949
+ */
950
+ export declare const GetSearchTokenRequestSchema: GenMessage<GetSearchTokenRequest>;
951
+ /**
952
+ * Response containing credentials for the search index (Typesense)
953
+ *
954
+ * @generated from message uplim.api.v1.GetSearchTokenResponse
955
+ */
956
+ export type GetSearchTokenResponse = Message<"uplim.api.v1.GetSearchTokenResponse"> & {
957
+ /**
958
+ * Search server endpoint URL
959
+ *
960
+ * @generated from field: string endpoint = 1;
961
+ */
962
+ endpoint: string;
963
+ /**
964
+ * Scoped search API key
965
+ *
966
+ * @generated from field: string token = 2;
967
+ */
968
+ token: string;
969
+ /**
970
+ * Collection name to query
971
+ *
972
+ * @generated from field: string collection_name = 3;
973
+ */
974
+ collectionName: string;
975
+ };
976
+ /**
977
+ * Describes the message uplim.api.v1.GetSearchTokenResponse.
978
+ * Use `create(GetSearchTokenResponseSchema)` to create a new message.
979
+ */
980
+ export declare const GetSearchTokenResponseSchema: GenMessage<GetSearchTokenResponse>;
981
+ /**
982
+ * @generated from message uplim.api.v1.ReprocessBucketRequest
983
+ */
984
+ export type ReprocessBucketRequest = Message<"uplim.api.v1.ReprocessBucketRequest"> & {
985
+ /**
986
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
987
+ */
988
+ bucketRef?: BucketRef;
989
+ /**
990
+ * @generated from field: optional uplim.api.v1.FolderRef folder_ref = 2;
991
+ */
992
+ folderRef?: FolderRef;
993
+ /**
994
+ * Force these factors to run (skip_when_current=false).
995
+ *
996
+ * @generated from field: repeated uplim.api.v1.SkipFactor force = 3;
997
+ */
998
+ force: SkipFactor[];
999
+ /**
1000
+ * @generated from field: repeated string upload_id = 5;
1001
+ */
1002
+ uploadId: string[];
1003
+ };
1004
+ /**
1005
+ * Describes the message uplim.api.v1.ReprocessBucketRequest.
1006
+ * Use `create(ReprocessBucketRequestSchema)` to create a new message.
1007
+ */
1008
+ export declare const ReprocessBucketRequestSchema: GenMessage<ReprocessBucketRequest>;
1009
+ /**
1010
+ * @generated from message uplim.api.v1.ReprocessBucketResponse
1011
+ */
1012
+ export type ReprocessBucketResponse = Message<"uplim.api.v1.ReprocessBucketResponse"> & {
1013
+ /**
1014
+ * @generated from field: int32 count_reprocessed = 1;
1015
+ */
1016
+ countReprocessed: number;
1017
+ };
1018
+ /**
1019
+ * Describes the message uplim.api.v1.ReprocessBucketResponse.
1020
+ * Use `create(ReprocessBucketResponseSchema)` to create a new message.
1021
+ */
1022
+ export declare const ReprocessBucketResponseSchema: GenMessage<ReprocessBucketResponse>;
1023
+ /**
1024
+ * @generated from message uplim.api.v1.BulkMoveContentRequest
1025
+ */
1026
+ export type BulkMoveContentRequest = Message<"uplim.api.v1.BulkMoveContentRequest"> & {
1027
+ /**
1028
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
1029
+ */
1030
+ bucketRef?: BucketRef;
1031
+ /**
1032
+ * @generated from field: repeated uplim.api.v1.BulkMoveContentRequest.Target target = 2;
1033
+ */
1034
+ target: BulkMoveContentRequest_Target[];
1035
+ /**
1036
+ * @generated from field: repeated string add_tags = 3;
1037
+ */
1038
+ addTags: string[];
1039
+ /**
1040
+ * @generated from field: repeated string remove_tags = 4;
1041
+ */
1042
+ removeTags: string[];
1043
+ /**
1044
+ * @generated from field: uplim.api.v1.FolderRef parent_folder = 5;
1045
+ */
1046
+ parentFolder?: FolderRef;
1047
+ };
1048
+ /**
1049
+ * Describes the message uplim.api.v1.BulkMoveContentRequest.
1050
+ * Use `create(BulkMoveContentRequestSchema)` to create a new message.
1051
+ */
1052
+ export declare const BulkMoveContentRequestSchema: GenMessage<BulkMoveContentRequest>;
1053
+ /**
1054
+ * @generated from message uplim.api.v1.BulkMoveContentRequest.Target
1055
+ */
1056
+ export type BulkMoveContentRequest_Target = Message<"uplim.api.v1.BulkMoveContentRequest.Target"> & {
1057
+ /**
1058
+ * @generated from oneof uplim.api.v1.BulkMoveContentRequest.Target.type
1059
+ */
1060
+ type: {
1061
+ /**
1062
+ * @generated from field: string upload_id = 1;
1063
+ */
1064
+ value: string;
1065
+ case: "uploadId";
1066
+ } | {
1067
+ /**
1068
+ * @generated from field: string folder_id = 2;
1069
+ */
1070
+ value: string;
1071
+ case: "folderId";
1072
+ } | {
1073
+ case: undefined;
1074
+ value?: undefined;
1075
+ };
1076
+ };
1077
+ /**
1078
+ * Describes the message uplim.api.v1.BulkMoveContentRequest.Target.
1079
+ * Use `create(BulkMoveContentRequest_TargetSchema)` to create a new message.
1080
+ */
1081
+ export declare const BulkMoveContentRequest_TargetSchema: GenMessage<BulkMoveContentRequest_Target>;
1082
+ /**
1083
+ * @generated from message uplim.api.v1.BulkMoveContentResponse
1084
+ */
1085
+ export type BulkMoveContentResponse = Message<"uplim.api.v1.BulkMoveContentResponse"> & {};
1086
+ /**
1087
+ * Describes the message uplim.api.v1.BulkMoveContentResponse.
1088
+ * Use `create(BulkMoveContentResponseSchema)` to create a new message.
1089
+ */
1090
+ export declare const BulkMoveContentResponseSchema: GenMessage<BulkMoveContentResponse>;
1091
+ /**
1092
+ * @generated from message uplim.api.v1.BulkDeleteContentRequest
1093
+ */
1094
+ export type BulkDeleteContentRequest = Message<"uplim.api.v1.BulkDeleteContentRequest"> & {
1095
+ /**
1096
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
1097
+ */
1098
+ bucketRef?: BucketRef;
1099
+ /**
1100
+ * @generated from field: repeated uplim.api.v1.BulkDeleteContentRequest.Target target = 2;
1101
+ */
1102
+ target: BulkDeleteContentRequest_Target[];
1103
+ };
1104
+ /**
1105
+ * Describes the message uplim.api.v1.BulkDeleteContentRequest.
1106
+ * Use `create(BulkDeleteContentRequestSchema)` to create a new message.
1107
+ */
1108
+ export declare const BulkDeleteContentRequestSchema: GenMessage<BulkDeleteContentRequest>;
1109
+ /**
1110
+ * @generated from message uplim.api.v1.BulkDeleteContentRequest.Target
1111
+ */
1112
+ export type BulkDeleteContentRequest_Target = Message<"uplim.api.v1.BulkDeleteContentRequest.Target"> & {
1113
+ /**
1114
+ * @generated from oneof uplim.api.v1.BulkDeleteContentRequest.Target.type
1115
+ */
1116
+ type: {
1117
+ /**
1118
+ * @generated from field: string upload_id = 1;
1119
+ */
1120
+ value: string;
1121
+ case: "uploadId";
1122
+ } | {
1123
+ /**
1124
+ * @generated from field: string folder_id = 2;
1125
+ */
1126
+ value: string;
1127
+ case: "folderId";
1128
+ } | {
1129
+ case: undefined;
1130
+ value?: undefined;
1131
+ };
1132
+ };
1133
+ /**
1134
+ * Describes the message uplim.api.v1.BulkDeleteContentRequest.Target.
1135
+ * Use `create(BulkDeleteContentRequest_TargetSchema)` to create a new message.
1136
+ */
1137
+ export declare const BulkDeleteContentRequest_TargetSchema: GenMessage<BulkDeleteContentRequest_Target>;
1138
+ /**
1139
+ * @generated from message uplim.api.v1.BulkDeleteContentResponse
1140
+ */
1141
+ export type BulkDeleteContentResponse = Message<"uplim.api.v1.BulkDeleteContentResponse"> & {};
1142
+ /**
1143
+ * Describes the message uplim.api.v1.BulkDeleteContentResponse.
1144
+ * Use `create(BulkDeleteContentResponseSchema)` to create a new message.
1145
+ */
1146
+ export declare const BulkDeleteContentResponseSchema: GenMessage<BulkDeleteContentResponse>;
1147
+ /**
1148
+ * @generated from message uplim.api.v1.BulkCopyContentRequest
1149
+ */
1150
+ export type BulkCopyContentRequest = Message<"uplim.api.v1.BulkCopyContentRequest"> & {
1151
+ /**
1152
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
1153
+ */
1154
+ bucketRef?: BucketRef;
1155
+ /**
1156
+ * Upload IDs to copy
1157
+ *
1158
+ * @generated from field: repeated string upload_id = 2;
1159
+ */
1160
+ uploadId: string[];
1161
+ /**
1162
+ * Destination folder for the copies
1163
+ *
1164
+ * @generated from field: uplim.api.v1.FolderRef destination_folder = 3;
1165
+ */
1166
+ destinationFolder?: FolderRef;
1167
+ /**
1168
+ * Generate random slugs of this length. If not set, attempts to use source slug (may fail if conflict)
1169
+ *
1170
+ * @generated from field: optional int32 slug_length = 4;
1171
+ */
1172
+ slugLength?: number;
1173
+ };
1174
+ /**
1175
+ * Describes the message uplim.api.v1.BulkCopyContentRequest.
1176
+ * Use `create(BulkCopyContentRequestSchema)` to create a new message.
1177
+ */
1178
+ export declare const BulkCopyContentRequestSchema: GenMessage<BulkCopyContentRequest>;
1179
+ /**
1180
+ * @generated from message uplim.api.v1.BulkCopyContentResponse
1181
+ */
1182
+ export type BulkCopyContentResponse = Message<"uplim.api.v1.BulkCopyContentResponse"> & {
1183
+ /**
1184
+ * Mapping from source upload ID to newly created upload ID
1185
+ *
1186
+ * @generated from field: map<string, string> copied_uploads = 1;
1187
+ */
1188
+ copiedUploads: {
1189
+ [key: string]: string;
1190
+ };
1191
+ };
1192
+ /**
1193
+ * Describes the message uplim.api.v1.BulkCopyContentResponse.
1194
+ * Use `create(BulkCopyContentResponseSchema)` to create a new message.
1195
+ */
1196
+ export declare const BulkCopyContentResponseSchema: GenMessage<BulkCopyContentResponse>;
1197
+ /**
1198
+ * Represents a shared folder or upload access grant
1199
+ *
1200
+ * @generated from message uplim.api.v1.SharedResourceAccess
1201
+ */
1202
+ export type SharedResourceAccess = Message<"uplim.api.v1.SharedResourceAccess"> & {
1203
+ /**
1204
+ * The parent bucket (limited view for non-owners)
1205
+ *
1206
+ * @generated from field: uplim.api.v1.Bucket bucket = 1;
1207
+ */
1208
+ bucket?: Bucket;
1209
+ /**
1210
+ * Permission level granted
1211
+ *
1212
+ * @generated from field: uplim.api.v1.BucketPermissionLevel permission_level = 2;
1213
+ */
1214
+ permissionLevel: BucketPermissionLevel;
1215
+ /**
1216
+ * User who shared this resource
1217
+ *
1218
+ * @generated from field: uplim.api.v1.PublicAccount shared_by = 3;
1219
+ */
1220
+ sharedBy?: PublicAccount;
1221
+ /**
1222
+ * When the resource was shared
1223
+ *
1224
+ * @generated from field: google.protobuf.Timestamp shared_at = 4;
1225
+ */
1226
+ sharedAt?: Timestamp;
1227
+ /**
1228
+ * Permission ID (for management)
1229
+ *
1230
+ * @generated from field: string permission_id = 5;
1231
+ */
1232
+ permissionId: string;
1233
+ /**
1234
+ * @generated from oneof uplim.api.v1.SharedResourceAccess.resource
1235
+ */
1236
+ resource: {
1237
+ /**
1238
+ * @generated from field: uplim.api.v1.SharedFolder folder = 6;
1239
+ */
1240
+ value: SharedFolder;
1241
+ case: "folder";
1242
+ } | {
1243
+ /**
1244
+ * @generated from field: uplim.api.v1.SharedUpload upload = 7;
1245
+ */
1246
+ value: SharedUpload;
1247
+ case: "upload";
1248
+ } | {
1249
+ case: undefined;
1250
+ value?: undefined;
1251
+ };
1252
+ };
1253
+ /**
1254
+ * Describes the message uplim.api.v1.SharedResourceAccess.
1255
+ * Use `create(SharedResourceAccessSchema)` to create a new message.
1256
+ */
1257
+ export declare const SharedResourceAccessSchema: GenMessage<SharedResourceAccess>;
1258
+ /**
1259
+ * Shared folder information
1260
+ *
1261
+ * @generated from message uplim.api.v1.SharedFolder
1262
+ */
1263
+ export type SharedFolder = Message<"uplim.api.v1.SharedFolder"> & {
1264
+ /**
1265
+ * @generated from field: string folder_id = 1;
1266
+ */
1267
+ folderId: string;
1268
+ /**
1269
+ * @generated from field: string path = 2;
1270
+ */
1271
+ path: string;
1272
+ /**
1273
+ * Subpaths that are revoked (user cannot access these)
1274
+ *
1275
+ * @generated from field: repeated string revoked_subpaths = 3;
1276
+ */
1277
+ revokedSubpaths: string[];
1278
+ };
1279
+ /**
1280
+ * Describes the message uplim.api.v1.SharedFolder.
1281
+ * Use `create(SharedFolderSchema)` to create a new message.
1282
+ */
1283
+ export declare const SharedFolderSchema: GenMessage<SharedFolder>;
1284
+ /**
1285
+ * Shared upload information
1286
+ *
1287
+ * @generated from message uplim.api.v1.SharedUpload
1288
+ */
1289
+ export type SharedUpload = Message<"uplim.api.v1.SharedUpload"> & {
1290
+ /**
1291
+ * @generated from field: string upload_id = 1;
1292
+ */
1293
+ uploadId: string;
1294
+ /**
1295
+ * @generated from field: string path = 2;
1296
+ */
1297
+ path: string;
1298
+ };
1299
+ /**
1300
+ * Describes the message uplim.api.v1.SharedUpload.
1301
+ * Use `create(SharedUploadSchema)` to create a new message.
1302
+ */
1303
+ export declare const SharedUploadSchema: GenMessage<SharedUpload>;
1304
+ /**
1305
+ * Request to grant resource-level permission
1306
+ *
1307
+ * @generated from message uplim.api.v1.GrantResourcePermissionRequest
1308
+ */
1309
+ export type GrantResourcePermissionRequest = Message<"uplim.api.v1.GrantResourcePermissionRequest"> & {
1310
+ /**
1311
+ * Reference to the bucket containing the resource
1312
+ *
1313
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
1314
+ */
1315
+ bucketRef?: BucketRef;
1316
+ /**
1317
+ * User to grant permission to
1318
+ *
1319
+ * @generated from field: string account_id = 2;
1320
+ */
1321
+ accountId: string;
1322
+ /**
1323
+ * Permission level to grant
1324
+ *
1325
+ * @generated from field: uplim.api.v1.BucketPermissionLevel permission_level = 3;
1326
+ */
1327
+ permissionLevel: BucketPermissionLevel;
1328
+ /**
1329
+ * @generated from oneof uplim.api.v1.GrantResourcePermissionRequest.resource
1330
+ */
1331
+ resource: {
1332
+ /**
1333
+ * Grant access to a folder (and all descendants)
1334
+ *
1335
+ * @generated from field: uplim.api.v1.FolderRef folder_ref = 4;
1336
+ */
1337
+ value: FolderRef;
1338
+ case: "folderRef";
1339
+ } | {
1340
+ /**
1341
+ * Grant access to a specific upload
1342
+ *
1343
+ * @generated from field: uplim.api.v1.UploadRef upload_ref = 5;
1344
+ */
1345
+ value: UploadRef;
1346
+ case: "uploadRef";
1347
+ } | {
1348
+ case: undefined;
1349
+ value?: undefined;
1350
+ };
1351
+ };
1352
+ /**
1353
+ * Describes the message uplim.api.v1.GrantResourcePermissionRequest.
1354
+ * Use `create(GrantResourcePermissionRequestSchema)` to create a new message.
1355
+ */
1356
+ export declare const GrantResourcePermissionRequestSchema: GenMessage<GrantResourcePermissionRequest>;
1357
+ /**
1358
+ * @generated from message uplim.api.v1.GrantResourcePermissionResponse
1359
+ */
1360
+ export type GrantResourcePermissionResponse = Message<"uplim.api.v1.GrantResourcePermissionResponse"> & {
1361
+ /**
1362
+ * @generated from field: uplim.api.v1.SharedResourceAccess permission = 1;
1363
+ */
1364
+ permission?: SharedResourceAccess;
1365
+ };
1366
+ /**
1367
+ * Describes the message uplim.api.v1.GrantResourcePermissionResponse.
1368
+ * Use `create(GrantResourcePermissionResponseSchema)` to create a new message.
1369
+ */
1370
+ export declare const GrantResourcePermissionResponseSchema: GenMessage<GrantResourcePermissionResponse>;
1371
+ /**
1372
+ * Request to revoke resource-level permission
1373
+ *
1374
+ * @generated from message uplim.api.v1.RevokeResourcePermissionRequest
1375
+ */
1376
+ export type RevokeResourcePermissionRequest = Message<"uplim.api.v1.RevokeResourcePermissionRequest"> & {
1377
+ /**
1378
+ * Reference to the bucket
1379
+ *
1380
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
1381
+ */
1382
+ bucketRef?: BucketRef;
1383
+ /**
1384
+ * User to revoke permission from
1385
+ *
1386
+ * @generated from field: string account_id = 2;
1387
+ */
1388
+ accountId: string;
1389
+ /**
1390
+ * @generated from oneof uplim.api.v1.RevokeResourcePermissionRequest.resource
1391
+ */
1392
+ resource: {
1393
+ /**
1394
+ * Revoke folder access
1395
+ *
1396
+ * @generated from field: uplim.api.v1.FolderRef folder_ref = 3;
1397
+ */
1398
+ value: FolderRef;
1399
+ case: "folderRef";
1400
+ } | {
1401
+ /**
1402
+ * Revoke upload access
1403
+ *
1404
+ * @generated from field: uplim.api.v1.UploadRef upload_ref = 4;
1405
+ */
1406
+ value: UploadRef;
1407
+ case: "uploadRef";
1408
+ } | {
1409
+ case: undefined;
1410
+ value?: undefined;
1411
+ };
1412
+ };
1413
+ /**
1414
+ * Describes the message uplim.api.v1.RevokeResourcePermissionRequest.
1415
+ * Use `create(RevokeResourcePermissionRequestSchema)` to create a new message.
1416
+ */
1417
+ export declare const RevokeResourcePermissionRequestSchema: GenMessage<RevokeResourcePermissionRequest>;
1418
+ /**
1419
+ * Request to list all resource permissions for a bucket
1420
+ *
1421
+ * @generated from message uplim.api.v1.ListResourcePermissionsRequest
1422
+ */
1423
+ export type ListResourcePermissionsRequest = Message<"uplim.api.v1.ListResourcePermissionsRequest"> & {
1424
+ /**
1425
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
1426
+ */
1427
+ bucketRef?: BucketRef;
1428
+ };
1429
+ /**
1430
+ * Describes the message uplim.api.v1.ListResourcePermissionsRequest.
1431
+ * Use `create(ListResourcePermissionsRequestSchema)` to create a new message.
1432
+ */
1433
+ export declare const ListResourcePermissionsRequestSchema: GenMessage<ListResourcePermissionsRequest>;
1434
+ /**
1435
+ * @generated from message uplim.api.v1.ListResourcePermissionsResponse
1436
+ */
1437
+ export type ListResourcePermissionsResponse = Message<"uplim.api.v1.ListResourcePermissionsResponse"> & {
1438
+ /**
1439
+ * @generated from field: repeated uplim.api.v1.SharedResourceAccess permissions = 1;
1440
+ */
1441
+ permissions: SharedResourceAccess[];
1442
+ };
1443
+ /**
1444
+ * Describes the message uplim.api.v1.ListResourcePermissionsResponse.
1445
+ * Use `create(ListResourcePermissionsResponseSchema)` to create a new message.
1446
+ */
1447
+ export declare const ListResourcePermissionsResponseSchema: GenMessage<ListResourcePermissionsResponse>;
1448
+ /**
1449
+ * Request to revoke access to a subfolder within a shared folder
1450
+ *
1451
+ * @generated from message uplim.api.v1.RevokeSubfolderAccessRequest
1452
+ */
1453
+ export type RevokeSubfolderAccessRequest = Message<"uplim.api.v1.RevokeSubfolderAccessRequest"> & {
1454
+ /**
1455
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
1456
+ */
1457
+ bucketRef?: BucketRef;
1458
+ /**
1459
+ * The parent folder permission ID
1460
+ *
1461
+ * @generated from field: string permission_id = 2;
1462
+ */
1463
+ permissionId: string;
1464
+ /**
1465
+ * The subfolder to revoke access to
1466
+ *
1467
+ * @generated from field: uplim.api.v1.FolderRef folder_ref = 3;
1468
+ */
1469
+ folderRef?: FolderRef;
1470
+ };
1471
+ /**
1472
+ * Describes the message uplim.api.v1.RevokeSubfolderAccessRequest.
1473
+ * Use `create(RevokeSubfolderAccessRequestSchema)` to create a new message.
1474
+ */
1475
+ export declare const RevokeSubfolderAccessRequestSchema: GenMessage<RevokeSubfolderAccessRequest>;
1476
+ /**
1477
+ * Request to restore access to a previously revoked subfolder
1478
+ *
1479
+ * @generated from message uplim.api.v1.RestoreSubfolderAccessRequest
1480
+ */
1481
+ export type RestoreSubfolderAccessRequest = Message<"uplim.api.v1.RestoreSubfolderAccessRequest"> & {
1482
+ /**
1483
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
1484
+ */
1485
+ bucketRef?: BucketRef;
1486
+ /**
1487
+ * The parent folder permission ID
1488
+ *
1489
+ * @generated from field: string permission_id = 2;
1490
+ */
1491
+ permissionId: string;
1492
+ /**
1493
+ * The subfolder to restore access to
1494
+ *
1495
+ * @generated from field: uplim.api.v1.FolderRef folder_ref = 3;
1496
+ */
1497
+ folderRef?: FolderRef;
1498
+ };
1499
+ /**
1500
+ * Describes the message uplim.api.v1.RestoreSubfolderAccessRequest.
1501
+ * Use `create(RestoreSubfolderAccessRequestSchema)` to create a new message.
1502
+ */
1503
+ export declare const RestoreSubfolderAccessRequestSchema: GenMessage<RestoreSubfolderAccessRequest>;
1504
+ /**
1505
+ * @generated from message uplim.api.v1.ListBucketTypesRequest
1506
+ */
1507
+ export type ListBucketTypesRequest = Message<"uplim.api.v1.ListBucketTypesRequest"> & {};
1508
+ /**
1509
+ * Describes the message uplim.api.v1.ListBucketTypesRequest.
1510
+ * Use `create(ListBucketTypesRequestSchema)` to create a new message.
1511
+ */
1512
+ export declare const ListBucketTypesRequestSchema: GenMessage<ListBucketTypesRequest>;
1513
+ /**
1514
+ * @generated from message uplim.api.v1.ListBucketTypesResponse
1515
+ */
1516
+ export type ListBucketTypesResponse = Message<"uplim.api.v1.ListBucketTypesResponse"> & {
1517
+ /**
1518
+ * Standard built-in bucket types
1519
+ *
1520
+ * @generated from field: repeated uplim.api.v1.ListBucketTypesResponse.BuiltInBucketType built_in = 1;
1521
+ */
1522
+ builtIn: ListBucketTypesResponse_BuiltInBucketType[];
1523
+ /**
1524
+ * Integration-defined bucket types
1525
+ *
1526
+ * @generated from field: repeated uplim.api.v1.IntegrationBucketType integration = 2;
1527
+ */
1528
+ integration: IntegrationBucketType[];
1529
+ };
1530
+ /**
1531
+ * Describes the message uplim.api.v1.ListBucketTypesResponse.
1532
+ * Use `create(ListBucketTypesResponseSchema)` to create a new message.
1533
+ */
1534
+ export declare const ListBucketTypesResponseSchema: GenMessage<ListBucketTypesResponse>;
1535
+ /**
1536
+ * @generated from message uplim.api.v1.ListBucketTypesResponse.BuiltInBucketType
1537
+ */
1538
+ export type ListBucketTypesResponse_BuiltInBucketType = Message<"uplim.api.v1.ListBucketTypesResponse.BuiltInBucketType"> & {
1539
+ /**
1540
+ * @generated from field: uplim.api.v1.BucketType type = 1;
1541
+ */
1542
+ type: BucketType;
1543
+ /**
1544
+ * @generated from field: string display_name = 2;
1545
+ */
1546
+ displayName: string;
1547
+ /**
1548
+ * @generated from field: string description = 3;
1549
+ */
1550
+ description: string;
1551
+ };
1552
+ /**
1553
+ * Describes the message uplim.api.v1.ListBucketTypesResponse.BuiltInBucketType.
1554
+ * Use `create(ListBucketTypesResponse_BuiltInBucketTypeSchema)` to create a new message.
1555
+ */
1556
+ export declare const ListBucketTypesResponse_BuiltInBucketTypeSchema: GenMessage<ListBucketTypesResponse_BuiltInBucketType>;
1557
+ /**
1558
+ * @generated from enum uplim.api.v1.BucketPermissionLevel
1559
+ */
1560
+ export declare enum BucketPermissionLevel {
1561
+ /**
1562
+ * Unspecified permission level - should not be used
1563
+ *
1564
+ * @generated from enum value: BUCKET_PERMISSION_LEVEL_UNSPECIFIED = 0;
1565
+ */
1566
+ UNSPECIFIED = 0,
1567
+ /**
1568
+ * Read-only access to the bucket
1569
+ *
1570
+ * @generated from enum value: BUCKET_PERMISSION_LEVEL_READ = 1;
1571
+ */
1572
+ READ = 1,
1573
+ /**
1574
+ * Read and write access to the bucket
1575
+ *
1576
+ * @generated from enum value: BUCKET_PERMISSION_LEVEL_READ_WRITE = 2;
1577
+ */
1578
+ READ_WRITE = 2,
1579
+ /**
1580
+ * Full access to the bucket, including deletion
1581
+ *
1582
+ * @generated from enum value: BUCKET_PERMISSION_LEVEL_ADMIN = 3;
1583
+ */
1584
+ ADMIN = 3
1585
+ }
1586
+ /**
1587
+ * Describes the enum uplim.api.v1.BucketPermissionLevel.
1588
+ */
1589
+ export declare const BucketPermissionLevelSchema: GenEnum<BucketPermissionLevel>;
1590
+ /**
1591
+ * @generated from enum uplim.api.v1.BucketType
1592
+ */
1593
+ export declare enum BucketType {
1594
+ /**
1595
+ * Unspecified bucket type - should not be used
1596
+ *
1597
+ * @generated from enum value: BUCKET_TYPE_UNSPECIFIED = 0;
1598
+ */
1599
+ UNSPECIFIED = 0,
1600
+ /**
1601
+ * @generated from enum value: BUCKET_TYPE_UPLOADS_DIRECTORY = 1;
1602
+ */
1603
+ UPLOADS_DIRECTORY = 1,
1604
+ /**
1605
+ * @generated from enum value: BUCKET_TYPE_UPLOADS_TAGS = 2;
1606
+ */
1607
+ UPLOADS_TAGS = 2,
1608
+ /**
1609
+ * Bucket type driven by an integration. Requires integration_bucket_type_id.
1610
+ * The linked IntegrationBucketType provides the renderer and thumbnail parser.
1611
+ * Write operations are restricted to the integration's own OAuth client
1612
+ * and first-party user tokens.
1613
+ *
1614
+ * @generated from enum value: BUCKET_TYPE_INTEGRATION = 3;
1615
+ */
1616
+ INTEGRATION = 3
1617
+ }
1618
+ /**
1619
+ * Describes the enum uplim.api.v1.BucketType.
1620
+ */
1621
+ export declare const BucketTypeSchema: GenEnum<BucketType>;
1622
+ /**
1623
+ * @generated from enum uplim.api.v1.BucketDestination
1624
+ */
1625
+ export declare enum BucketDestination {
1626
+ /**
1627
+ * Unspecified destination - should not be used
1628
+ *
1629
+ * @generated from enum value: BUCKET_DESTINATION_UNSPECIFIED = 0;
1630
+ */
1631
+ UNSPECIFIED = 0,
1632
+ /**
1633
+ * The bucket is the default destination for uploads
1634
+ *
1635
+ * @generated from enum value: BUCKET_DESTINATION_DEFAULT = 1;
1636
+ */
1637
+ DEFAULT = 1,
1638
+ /**
1639
+ * The bucket that the user owns
1640
+ *
1641
+ * @generated from enum value: BUCKET_DESTINATION_S3_BUCKET = 2;
1642
+ */
1643
+ S3_BUCKET = 2,
1644
+ /**
1645
+ * a custom server
1646
+ *
1647
+ * @generated from enum value: BUCKET_DESTINATION_S3_SERVER = 3;
1648
+ */
1649
+ S3_SERVER = 3,
1650
+ /**
1651
+ * upl.im-managed lite tier (rustfs-backed). Uses built-in service credentials —
1652
+ * bucket creation requires no config. NOTE: this tier has no backups / replication;
1653
+ * it's intended for low-importance / ephemeral content.
1654
+ *
1655
+ * @generated from enum value: BUCKET_DESTINATION_UPLIM_LITE = 4;
1656
+ */
1657
+ UPLIM_LITE = 4
1658
+ }
1659
+ /**
1660
+ * Describes the enum uplim.api.v1.BucketDestination.
1661
+ */
1662
+ export declare const BucketDestinationSchema: GenEnum<BucketDestination>;
1663
+ /**
1664
+ * Granularity options for statistics
1665
+ *
1666
+ * @generated from enum uplim.api.v1.StatisticsGranularity
1667
+ */
1668
+ export declare enum StatisticsGranularity {
1669
+ /**
1670
+ * Unspecified granularity - should not be used
1671
+ *
1672
+ * @generated from enum value: STATISTICS_GRANULARITY_UNSPECIFIED = 0;
1673
+ */
1674
+ UNSPECIFIED = 0,
1675
+ /**
1676
+ * Hour by hour statistics
1677
+ *
1678
+ * @generated from enum value: STATISTICS_GRANULARITY_HOURLY = 1;
1679
+ */
1680
+ HOURLY = 1,
1681
+ /**
1682
+ * Day by day statistics
1683
+ *
1684
+ * @generated from enum value: STATISTICS_GRANULARITY_DAILY = 2;
1685
+ */
1686
+ DAILY = 2,
1687
+ /**
1688
+ * Month by month statistics
1689
+ *
1690
+ * @generated from enum value: STATISTICS_GRANULARITY_MONTHLY = 3;
1691
+ */
1692
+ MONTHLY = 3
1693
+ }
1694
+ /**
1695
+ * Describes the enum uplim.api.v1.StatisticsGranularity.
1696
+ */
1697
+ export declare const StatisticsGranularitySchema: GenEnum<StatisticsGranularity>;
1698
+ /**
1699
+ * Pipeline processing factors that can be forced during reprocessing
1700
+ *
1701
+ * @generated from enum uplim.api.v1.SkipFactor
1702
+ */
1703
+ export declare enum SkipFactor {
1704
+ /**
1705
+ * @generated from enum value: SKIP_FACTORS_UNSPECIFIED = 0;
1706
+ */
1707
+ SKIP_FACTORS_UNSPECIFIED = 0,
1708
+ /**
1709
+ * Regenerate thumbnails
1710
+ *
1711
+ * @generated from enum value: SKIP_FACTORS_THUMBNAIL = 1;
1712
+ */
1713
+ SKIP_FACTORS_THUMBNAIL = 1,
1714
+ /**
1715
+ * Regenerate AI descriptions
1716
+ *
1717
+ * @generated from enum value: SKIP_FACTORS_AI_DESCRIPTION = 2;
1718
+ */
1719
+ SKIP_FACTORS_AI_DESCRIPTION = 2,
1720
+ /**
1721
+ * Regenerate AI tags
1722
+ *
1723
+ * @generated from enum value: SKIP_FACTORS_AI_TAGS = 3;
1724
+ */
1725
+ SKIP_FACTORS_AI_TAGS = 3,
1726
+ /**
1727
+ * Re-run virus scanning
1728
+ *
1729
+ * @generated from enum value: SKIP_FACTORS_VIRUS_SCAN = 4;
1730
+ */
1731
+ SKIP_FACTORS_VIRUS_SCAN = 4
1732
+ }
1733
+ /**
1734
+ * Describes the enum uplim.api.v1.SkipFactor.
1735
+ */
1736
+ export declare const SkipFactorSchema: GenEnum<SkipFactor>;
1737
+ /**
1738
+ * BucketsService provides methods for managing storage buckets
1739
+ *
1740
+ * @generated from service uplim.api.v1.BucketsService
1741
+ */
1742
+ export declare const BucketsService: GenService<{
1743
+ /**
1744
+ * GetBucket retrieves details for a specific bucket
1745
+ *
1746
+ * @generated from rpc uplim.api.v1.BucketsService.GetBucket
1747
+ */
1748
+ getBucket: {
1749
+ methodKind: "unary";
1750
+ input: typeof GetBucketRequestSchema;
1751
+ output: typeof GetBucketResponseSchema;
1752
+ };
1753
+ /**
1754
+ * CreateBucket creates a new storage bucket
1755
+ *
1756
+ * @generated from rpc uplim.api.v1.BucketsService.CreateBucket
1757
+ */
1758
+ createBucket: {
1759
+ methodKind: "unary";
1760
+ input: typeof CreateBucketRequestSchema;
1761
+ output: typeof CreateBucketResponseSchema;
1762
+ };
1763
+ /**
1764
+ * @generated from rpc uplim.api.v1.BucketsService.UpdateBucket
1765
+ */
1766
+ updateBucket: {
1767
+ methodKind: "unary";
1768
+ input: typeof UpdateBucketRequestSchema;
1769
+ output: typeof UpdateBucketResponseSchema;
1770
+ };
1771
+ /**
1772
+ * DeleteBucket permanently removes a bucket and all its contents
1773
+ *
1774
+ * @generated from rpc uplim.api.v1.BucketsService.DeleteBucket
1775
+ */
1776
+ deleteBucket: {
1777
+ methodKind: "unary";
1778
+ input: typeof DeleteBucketRequestSchema;
1779
+ output: typeof DeleteBucketResponseSchema;
1780
+ };
1781
+ /**
1782
+ * ListBuckets retrieves all buckets owned by the authenticated user
1783
+ *
1784
+ * @generated from rpc uplim.api.v1.BucketsService.ListBuckets
1785
+ */
1786
+ listBuckets: {
1787
+ methodKind: "unary";
1788
+ input: typeof ListBucketsRequestSchema;
1789
+ output: typeof ListBucketsResponseSchema;
1790
+ };
1791
+ /**
1792
+ * @generated from rpc uplim.api.v1.BucketsService.ListBucketPermissions
1793
+ */
1794
+ listBucketPermissions: {
1795
+ methodKind: "unary";
1796
+ input: typeof ListBucketPermissionsRequestSchema;
1797
+ output: typeof ListBucketPermissionsResponseSchema;
1798
+ };
1799
+ /**
1800
+ * @generated from rpc uplim.api.v1.BucketsService.GrantBucketPermission
1801
+ */
1802
+ grantBucketPermission: {
1803
+ methodKind: "unary";
1804
+ input: typeof GrantBucketPermissionRequestSchema;
1805
+ output: typeof GrantBucketPermissionResponseSchema;
1806
+ };
1807
+ /**
1808
+ * @generated from rpc uplim.api.v1.BucketsService.RevokeBucketPermission
1809
+ */
1810
+ revokeBucketPermission: {
1811
+ methodKind: "unary";
1812
+ input: typeof RevokeBucketPermissionRequestSchema;
1813
+ output: typeof EmptySchema;
1814
+ };
1815
+ /**
1816
+ * GetBucketStatistics retrieves usage statistics for a bucket
1817
+ *
1818
+ * @generated from rpc uplim.api.v1.BucketsService.GetBucketStatistics
1819
+ */
1820
+ getBucketStatistics: {
1821
+ methodKind: "unary";
1822
+ input: typeof GetBucketStatisticsRequestSchema;
1823
+ output: typeof GetBucketStatisticsResponseSchema;
1824
+ };
1825
+ /**
1826
+ * @generated from rpc uplim.api.v1.BucketsService.BulkMoveContent
1827
+ */
1828
+ bulkMoveContent: {
1829
+ methodKind: "unary";
1830
+ input: typeof BulkMoveContentRequestSchema;
1831
+ output: typeof BulkMoveContentResponseSchema;
1832
+ };
1833
+ /**
1834
+ * @generated from rpc uplim.api.v1.BucketsService.BulkDeleteContent
1835
+ */
1836
+ bulkDeleteContent: {
1837
+ methodKind: "unary";
1838
+ input: typeof BulkDeleteContentRequestSchema;
1839
+ output: typeof BulkDeleteContentResponseSchema;
1840
+ };
1841
+ /**
1842
+ * @generated from rpc uplim.api.v1.BucketsService.BulkCopyContent
1843
+ */
1844
+ bulkCopyContent: {
1845
+ methodKind: "unary";
1846
+ input: typeof BulkCopyContentRequestSchema;
1847
+ output: typeof BulkCopyContentResponseSchema;
1848
+ };
1849
+ /**
1850
+ * @generated from rpc uplim.api.v1.BucketsService.ReprocessBucket
1851
+ */
1852
+ reprocessBucket: {
1853
+ methodKind: "unary";
1854
+ input: typeof ReprocessBucketRequestSchema;
1855
+ output: typeof ReprocessBucketResponseSchema;
1856
+ };
1857
+ /**
1858
+ * @generated from rpc uplim.api.v1.BucketsService.GetSearchToken
1859
+ */
1860
+ getSearchToken: {
1861
+ methodKind: "unary";
1862
+ input: typeof GetSearchTokenRequestSchema;
1863
+ output: typeof GetSearchTokenResponseSchema;
1864
+ };
1865
+ /**
1866
+ * Resource-level permissions (folder/upload sharing)
1867
+ *
1868
+ * @generated from rpc uplim.api.v1.BucketsService.GrantResourcePermission
1869
+ */
1870
+ grantResourcePermission: {
1871
+ methodKind: "unary";
1872
+ input: typeof GrantResourcePermissionRequestSchema;
1873
+ output: typeof GrantResourcePermissionResponseSchema;
1874
+ };
1875
+ /**
1876
+ * @generated from rpc uplim.api.v1.BucketsService.RevokeResourcePermission
1877
+ */
1878
+ revokeResourcePermission: {
1879
+ methodKind: "unary";
1880
+ input: typeof RevokeResourcePermissionRequestSchema;
1881
+ output: typeof EmptySchema;
1882
+ };
1883
+ /**
1884
+ * @generated from rpc uplim.api.v1.BucketsService.ListResourcePermissions
1885
+ */
1886
+ listResourcePermissions: {
1887
+ methodKind: "unary";
1888
+ input: typeof ListResourcePermissionsRequestSchema;
1889
+ output: typeof ListResourcePermissionsResponseSchema;
1890
+ };
1891
+ /**
1892
+ * Subfolder revocation within a shared folder
1893
+ *
1894
+ * @generated from rpc uplim.api.v1.BucketsService.RevokeSubfolderAccess
1895
+ */
1896
+ revokeSubfolderAccess: {
1897
+ methodKind: "unary";
1898
+ input: typeof RevokeSubfolderAccessRequestSchema;
1899
+ output: typeof EmptySchema;
1900
+ };
1901
+ /**
1902
+ * @generated from rpc uplim.api.v1.BucketsService.RestoreSubfolderAccess
1903
+ */
1904
+ restoreSubfolderAccess: {
1905
+ methodKind: "unary";
1906
+ input: typeof RestoreSubfolderAccessRequestSchema;
1907
+ output: typeof EmptySchema;
1908
+ };
1909
+ /**
1910
+ * ListBucketTypes returns all available bucket types (built-in and integration-defined)
1911
+ *
1912
+ * @generated from rpc uplim.api.v1.BucketsService.ListBucketTypes
1913
+ */
1914
+ listBucketTypes: {
1915
+ methodKind: "unary";
1916
+ input: typeof ListBucketTypesRequestSchema;
1917
+ output: typeof ListBucketTypesResponseSchema;
1918
+ };
1919
+ }>;
1920
+ //# sourceMappingURL=buckets_pb.d.ts.map