@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,874 @@
1
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=.js"
2
+ // @generated from file uplim/api/v1/events.proto (package uplim.api.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
8
+ import type { Folder, MetaUploadType, Upload } from "./uploads_pb.js";
9
+ import { file_uplim_api_v1_uploads } from "./uploads_pb.js";
10
+ import type { Bucket } from "./buckets_pb.js";
11
+ import { file_uplim_api_v1_buckets } from "./buckets_pb.js";
12
+ import { file_uplim_api_v1_account } from "./account_pb.js";
13
+ import type { PublicFolderItem, PublicUpload } from "./public-uploads_pb.js";
14
+ import { file_uplim_api_v1_public_uploads } from "./public-uploads_pb.js";
15
+ import type { Message } from "@bufbuild/protobuf";
16
+
17
+ /**
18
+ * Describes the file uplim/api/v1/events.proto.
19
+ */
20
+ export const file_uplim_api_v1_events: GenFile = /*@__PURE__*/
21
+ fileDesc("Chl1cGxpbS9hcGkvdjEvZXZlbnRzLnByb3RvEgx1cGxpbS5hcGkudjEijQEKElN1YnNjcmlwdGlvbkZpbHRlchIuCgxjaGFuZ2VfdHlwZXMYASADKA4yGC51cGxpbS5hcGkudjEuQ2hhbmdlVHlwZRIyCg5yZXNvdXJjZV90eXBlcxgCIAMoDjIaLnVwbGltLmFwaS52MS5DaGFuZ2VUYXJnZXQSEwoLcGF0aF9wcmVmaXgYAyABKAki2g8KDkV2ZW50c1RvQ2xpZW50EjMKBWhlbGxvGAEgASgLMiIudXBsaW0uYXBpLnYxLkV2ZW50c1RvQ2xpZW50LkhlbGxvSAASRgoPcmVzb3VyY2VfY2hhbmdlGAIgASgLMisudXBsaW0uYXBpLnYxLkV2ZW50c1RvQ2xpZW50LlJlc291cmNlQ2hhbmdlSAASMwoFZXJyb3IYAyABKAsyIi51cGxpbS5hcGkudjEuRXZlbnRzVG9DbGllbnQuRXJyb3JIABJCCg1zdWJzY3JpYmVfYWNrGAQgASgLMikudXBsaW0uYXBpLnYxLkV2ZW50c1RvQ2xpZW50LlN1YnNjcmliZUFja0gAEkYKD3Vuc3Vic2NyaWJlX2FjaxgFIAEoCzIrLnVwbGltLmFwaS52MS5FdmVudHNUb0NsaWVudC5VbnN1YnNjcmliZUFja0gAEjEKBHBvbmcYBiABKAsyIS51cGxpbS5hcGkudjEuRXZlbnRzVG9DbGllbnQuUG9uZ0gAEkAKDHJlcGxheV9iYXRjaBgHIAEoCzIoLnVwbGltLmFwaS52MS5FdmVudHNUb0NsaWVudC5SZXBsYXlCYXRjaEgAEkYKD3JlcGxheV9jb21wbGV0ZRgIIAEoCzIrLnVwbGltLmFwaS52MS5FdmVudHNUb0NsaWVudC5SZXBsYXlDb21wbGV0ZUgAEj4KC2xvZ19leHBpcmVkGAkgASgLMicudXBsaW0uYXBpLnYxLkV2ZW50c1RvQ2xpZW50LkxvZ0V4cGlyZWRIABJTChZwdWJsaWNfcmVzb3VyY2VfY2hhbmdlGAogASgLMjEudXBsaW0uYXBpLnYxLkV2ZW50c1RvQ2xpZW50LlB1YmxpY1Jlc291cmNlQ2hhbmdlSAAaLgoFSGVsbG8SEgoKYnVja2V0X2lkcxgBIAMoCRIRCglzb2NrZXRfaWQYAiABKAkalQMKDlJlc291cmNlQ2hhbmdlEi0KC2NoYW5nZV90eXBlGAEgASgOMhgudXBsaW0uYXBpLnYxLkNoYW5nZVR5cGUSKgoGdGFyZ2V0GAIgASgOMhoudXBsaW0uYXBpLnYxLkNoYW5nZVRhcmdldBIRCgl0YXJnZXRfaWQYAyABKAkSJgoGdXBsb2FkGAQgASgLMhQudXBsaW0uYXBpLnYxLlVwbG9hZEgAEiYKBmZvbGRlchgFIAEoCzIULnVwbGltLmFwaS52MS5Gb2xkZXJIABImCgZidWNrZXQYBiABKAsyFC51cGxpbS5hcGkudjEuQnVja2V0SAASLgoMdXBkYXRlX2hpbnRzGAcgAygOMhgudXBsaW0uYXBpLnYxLlVwZGF0ZUhpbnQSOAoSbWV0YV90eXBlc19jaGFuZ2VkGAggAygOMhwudXBsaW0uYXBpLnYxLk1ldGFVcGxvYWRUeXBlEhEKCWJ1Y2tldF9pZBgJIAEoCRIUCghldmVudF9pZBgKIAEoBEICMAFCCgoIcmVzb3VyY2UaGAoFRXJyb3ISDwoHbWVzc2FnZRgBIAEoCRpYCgxTdWJzY3JpYmVBY2sSFwoPc3Vic2NyaXB0aW9uX2lkGAEgASgJEhEKCWJ1Y2tldF9pZBgCIAEoCRIcChBjdXJyZW50X2V2ZW50X2lkGAMgASgEQgIwARopCg5VbnN1YnNjcmliZUFjaxIXCg9zdWJzY3JpcHRpb25faWQYASABKAkaEgoEUG9uZxIKCgJpZBgBIAEoCRqYAQoLUmVwbGF5QmF0Y2gSFwoPc3Vic2NyaXB0aW9uX2lkGAEgASgJEhEKCWJ1Y2tldF9pZBgCIAEoCRIRCgliYXRjaF9zZXEYAyABKA0SOwoGZXZlbnRzGAQgAygLMisudXBsaW0uYXBpLnYxLkV2ZW50c1RvQ2xpZW50LlJlc291cmNlQ2hhbmdlEg0KBWZpbmFsGAUgASgIGlcKDlJlcGxheUNvbXBsZXRlEhcKD3N1YnNjcmlwdGlvbl9pZBgBIAEoCRIRCglidWNrZXRfaWQYAiABKAkSGQoNbGFzdF9ldmVudF9pZBgDIAEoBEICMAEaXwoKTG9nRXhwaXJlZBIXCg9zdWJzY3JpcHRpb25faWQYASABKAkSEQoJYnVja2V0X2lkGAIgASgJEiUKGW9sZGVzdF9hdmFpbGFibGVfZXZlbnRfaWQYAyABKARCAjABGt8CChRQdWJsaWNSZXNvdXJjZUNoYW5nZRItCgtjaGFuZ2VfdHlwZRgBIAEoDjIYLnVwbGltLmFwaS52MS5DaGFuZ2VUeXBlEioKBnRhcmdldBgCIAEoDjIaLnVwbGltLmFwaS52MS5DaGFuZ2VUYXJnZXQSEQoJdGFyZ2V0X2lkGAMgASgJEiwKBnVwbG9hZBgEIAEoCzIaLnVwbGltLmFwaS52MS5QdWJsaWNVcGxvYWRIABI1Cgtmb2xkZXJfaXRlbRgFIAEoCzIeLnVwbGltLmFwaS52MS5QdWJsaWNGb2xkZXJJdGVtSAASLgoMdXBkYXRlX2hpbnRzGAcgAygOMhgudXBsaW0uYXBpLnYxLlVwZGF0ZUhpbnQSOAoSbWV0YV90eXBlc19jaGFuZ2VkGAggAygOMhwudXBsaW0uYXBpLnYxLk1ldGFVcGxvYWRUeXBlQgoKCHJlc291cmNlQgYKBHR5cGUi5AUKDkV2ZW50c1RvU2VydmVyEjsKCXN1YnNjcmliZRgBIAEoCzImLnVwbGltLmFwaS52MS5FdmVudHNUb1NlcnZlci5TdWJzY3JpYmVIABI/Cgt1bnN1YnNjcmliZRgCIAEoCzIoLnVwbGltLmFwaS52MS5FdmVudHNUb1NlcnZlci5VbnN1YnNjcmliZUgAEjEKBHBpbmcYAyABKAsyIS51cGxpbS5hcGkudjEuRXZlbnRzVG9TZXJ2ZXIuUGluZ0gAEkcKEHJlcGxheV9iYXRjaF9hY2sYBCABKAsyKy51cGxpbS5hcGkudjEuRXZlbnRzVG9TZXJ2ZXIuUmVwbGF5QmF0Y2hBY2tIABJIChBwdWJsaWNfc3Vic2NyaWJlGAUgASgLMiwudXBsaW0uYXBpLnYxLkV2ZW50c1RvU2VydmVyLlB1YmxpY1N1YnNjcmliZUgAGtkBCglTdWJzY3JpYmUSFAoKZXZlcnl0aGluZxgBIAEoCEgAEhMKCWJ1Y2tldF9pZBgCIAEoCUgAEhYKCXVwbG9hZF9pZBgDIAEoCUgBiAEBEjUKBmZpbHRlchgEIAEoCzIgLnVwbGltLmFwaS52MS5TdWJzY3JpcHRpb25GaWx0ZXJIAogBARIeCg1sYXN0X2V2ZW50X2lkGAUgASgEQgIwAUgDiAEBQgcKBXNjb3BlQgwKCl91cGxvYWRfaWRCCQoHX2ZpbHRlckIQCg5fbGFzdF9ldmVudF9pZBomCgtVbnN1YnNjcmliZRIXCg9zdWJzY3JpcHRpb25faWQYASABKAkaPAoOUmVwbGF5QmF0Y2hBY2sSFwoPc3Vic2NyaXB0aW9uX2lkGAEgASgJEhEKCWJhdGNoX3NlcRgCIAEoDRoSCgRQaW5nEgoKAmlkGAEgASgJGjAKD1B1YmxpY1N1YnNjcmliZRIdChV3c19zdWJzY3JpcHRpb25fdG9rZW4YASABKAlCBgoEdHlwZSpxCgpDaGFuZ2VUeXBlEhsKF0NIQU5HRV9UWVBFX1VOU1BFQ0lGSUVEEAASFgoSQ0hBTkdFX1RZUEVfQ1JFQVRFEAESFgoSQ0hBTkdFX1RZUEVfVVBEQVRFEAISFgoSQ0hBTkdFX1RZUEVfREVMRVRFEAMqlgEKDENoYW5nZVRhcmdldBIdChlDSEFOR0VfVEFSR0VUX1VOU1BFQ0lGSUVEEAASGAoUQ0hBTkdFX1RBUkdFVF9CVUNLRVQQARIYChRDSEFOR0VfVEFSR0VUX0ZPTERFUhACEhgKFENIQU5HRV9UQVJHRVRfVVBMT0FEEAMSGQoVQ0hBTkdFX1RBUkdFVF9BQ0NPVU5UEAQqyAIKClVwZGF0ZUhpbnQSGwoXVVBEQVRFX0hJTlRfVU5TUEVDSUZJRUQQABIUChBVUERBVEVfSElOVF9UQUdTEAESFAoQVVBEQVRFX0hJTlRfUEFUSBADEhQKEFVQREFURV9ISU5UX1NMVUcQBBIXChNVUERBVEVfSElOVF9QUklWQVRFEAUSFAoQVVBEQVRFX0hJTlRfVFlQRRAGEhoKFlVQREFURV9ISU5UX1ZJUlVTX1NDQU4QBxIbChdVUERBVEVfSElOVF9BSV9NRVRBREFUQRAIEhwKGFVQREFURV9ISU5UX01FVEFfVVBMT0FEUxAJEhgKFFVQREFURV9ISU5UX01FVEFEQVRBEAoSFQoRVVBEQVRFX0hJTlRfT1JERVIQCxIeChpVUERBVEVfSElOVF9BQ0NFU1NfUkVWT0tFRBAMIgQIAhACQq4BChBjb20udXBsaW0uYXBpLnYxQgtFdmVudHNQcm90b1ABWjtnaXRodWIuY29tL3hlb25yL3VwbC1pbS1hcGkvcHJvdG8vZ2VuL3VwbGltL2FwaS92MTt1cGxpbV92MaICA1VBWKoCDFVwbGltLkFwaS5WMcoCDFVwbGltXEFwaVxWMeICGFVwbGltXEFwaVxWMVxHUEJNZXRhZGF0YeoCDlVwbGltOjpBcGk6OlYxYgZwcm90bzM", [file_google_protobuf_timestamp, file_uplim_api_v1_uploads, file_uplim_api_v1_buckets, file_uplim_api_v1_account, file_uplim_api_v1_public_uploads]);
22
+
23
+ /**
24
+ * Filters for event subscriptions
25
+ *
26
+ * @generated from message uplim.api.v1.SubscriptionFilter
27
+ */
28
+ export type SubscriptionFilter = Message<"uplim.api.v1.SubscriptionFilter"> & {
29
+ /**
30
+ * Only receive events of these types (empty = all types)
31
+ *
32
+ * @generated from field: repeated uplim.api.v1.ChangeType change_types = 1;
33
+ */
34
+ changeTypes: ChangeType[];
35
+
36
+ /**
37
+ * Only receive events for these resource types (empty = all resources)
38
+ *
39
+ * @generated from field: repeated uplim.api.v1.ChangeTarget resource_types = 2;
40
+ */
41
+ resourceTypes: ChangeTarget[];
42
+
43
+ /**
44
+ * Only receive events where path starts with this prefix (empty = all paths)
45
+ *
46
+ * @generated from field: string path_prefix = 3;
47
+ */
48
+ pathPrefix: string;
49
+ };
50
+
51
+ /**
52
+ * Describes the message uplim.api.v1.SubscriptionFilter.
53
+ * Use `create(SubscriptionFilterSchema)` to create a new message.
54
+ */
55
+ export const SubscriptionFilterSchema: GenMessage<SubscriptionFilter> = /*@__PURE__*/
56
+ messageDesc(file_uplim_api_v1_events, 0);
57
+
58
+ /**
59
+ * Server-to-client event messages sent over the WebSocket connection
60
+ *
61
+ * @generated from message uplim.api.v1.EventsToClient
62
+ */
63
+ export type EventsToClient = Message<"uplim.api.v1.EventsToClient"> & {
64
+ /**
65
+ * @generated from oneof uplim.api.v1.EventsToClient.type
66
+ */
67
+ type: {
68
+ /**
69
+ * @generated from field: uplim.api.v1.EventsToClient.Hello hello = 1;
70
+ */
71
+ value: EventsToClient_Hello;
72
+ case: "hello";
73
+ } | {
74
+ /**
75
+ * @generated from field: uplim.api.v1.EventsToClient.ResourceChange resource_change = 2;
76
+ */
77
+ value: EventsToClient_ResourceChange;
78
+ case: "resourceChange";
79
+ } | {
80
+ /**
81
+ * @generated from field: uplim.api.v1.EventsToClient.Error error = 3;
82
+ */
83
+ value: EventsToClient_Error;
84
+ case: "error";
85
+ } | {
86
+ /**
87
+ * @generated from field: uplim.api.v1.EventsToClient.SubscribeAck subscribe_ack = 4;
88
+ */
89
+ value: EventsToClient_SubscribeAck;
90
+ case: "subscribeAck";
91
+ } | {
92
+ /**
93
+ * @generated from field: uplim.api.v1.EventsToClient.UnsubscribeAck unsubscribe_ack = 5;
94
+ */
95
+ value: EventsToClient_UnsubscribeAck;
96
+ case: "unsubscribeAck";
97
+ } | {
98
+ /**
99
+ * @generated from field: uplim.api.v1.EventsToClient.Pong pong = 6;
100
+ */
101
+ value: EventsToClient_Pong;
102
+ case: "pong";
103
+ } | {
104
+ /**
105
+ * @generated from field: uplim.api.v1.EventsToClient.ReplayBatch replay_batch = 7;
106
+ */
107
+ value: EventsToClient_ReplayBatch;
108
+ case: "replayBatch";
109
+ } | {
110
+ /**
111
+ * @generated from field: uplim.api.v1.EventsToClient.ReplayComplete replay_complete = 8;
112
+ */
113
+ value: EventsToClient_ReplayComplete;
114
+ case: "replayComplete";
115
+ } | {
116
+ /**
117
+ * @generated from field: uplim.api.v1.EventsToClient.LogExpired log_expired = 9;
118
+ */
119
+ value: EventsToClient_LogExpired;
120
+ case: "logExpired";
121
+ } | {
122
+ /**
123
+ * @generated from field: uplim.api.v1.EventsToClient.PublicResourceChange public_resource_change = 10;
124
+ */
125
+ value: EventsToClient_PublicResourceChange;
126
+ case: "publicResourceChange";
127
+ } | { case: undefined; value?: undefined };
128
+ };
129
+
130
+ /**
131
+ * Describes the message uplim.api.v1.EventsToClient.
132
+ * Use `create(EventsToClientSchema)` to create a new message.
133
+ */
134
+ export const EventsToClientSchema: GenMessage<EventsToClient> = /*@__PURE__*/
135
+ messageDesc(file_uplim_api_v1_events, 1);
136
+
137
+ /**
138
+ * Initial handshake message sent when the connection is established
139
+ *
140
+ * @generated from message uplim.api.v1.EventsToClient.Hello
141
+ */
142
+ export type EventsToClient_Hello = Message<"uplim.api.v1.EventsToClient.Hello"> & {
143
+ /**
144
+ * Bucket IDs the user has access to
145
+ *
146
+ * @generated from field: repeated string bucket_ids = 1;
147
+ */
148
+ bucketIds: string[];
149
+
150
+ /**
151
+ * Unique identifier for this WebSocket connection
152
+ *
153
+ * @generated from field: string socket_id = 2;
154
+ */
155
+ socketId: string;
156
+ };
157
+
158
+ /**
159
+ * Describes the message uplim.api.v1.EventsToClient.Hello.
160
+ * Use `create(EventsToClient_HelloSchema)` to create a new message.
161
+ */
162
+ export const EventsToClient_HelloSchema: GenMessage<EventsToClient_Hello> = /*@__PURE__*/
163
+ messageDesc(file_uplim_api_v1_events, 1, 0);
164
+
165
+ /**
166
+ * @generated from message uplim.api.v1.EventsToClient.ResourceChange
167
+ */
168
+ export type EventsToClient_ResourceChange = Message<"uplim.api.v1.EventsToClient.ResourceChange"> & {
169
+ /**
170
+ * @generated from field: uplim.api.v1.ChangeType change_type = 1;
171
+ */
172
+ changeType: ChangeType;
173
+
174
+ /**
175
+ * @generated from field: uplim.api.v1.ChangeTarget target = 2;
176
+ */
177
+ target: ChangeTarget;
178
+
179
+ /**
180
+ * @generated from field: string target_id = 3;
181
+ */
182
+ targetId: string;
183
+
184
+ /**
185
+ * @generated from oneof uplim.api.v1.EventsToClient.ResourceChange.resource
186
+ */
187
+ resource: {
188
+ /**
189
+ * @generated from field: uplim.api.v1.Upload upload = 4;
190
+ */
191
+ value: Upload;
192
+ case: "upload";
193
+ } | {
194
+ /**
195
+ * @generated from field: uplim.api.v1.Folder folder = 5;
196
+ */
197
+ value: Folder;
198
+ case: "folder";
199
+ } | {
200
+ /**
201
+ * @generated from field: uplim.api.v1.Bucket bucket = 6;
202
+ */
203
+ value: Bucket;
204
+ case: "bucket";
205
+ } | { case: undefined; value?: undefined };
206
+
207
+ /**
208
+ * For UPDATE events: hints about what changed
209
+ *
210
+ * @generated from field: repeated uplim.api.v1.UpdateHint update_hints = 7;
211
+ */
212
+ updateHints: UpdateHint[];
213
+
214
+ /**
215
+ * For META_UPLOADS updates: which meta types were added/updated
216
+ *
217
+ * @generated from field: repeated uplim.api.v1.MetaUploadType meta_types_changed = 8;
218
+ */
219
+ metaTypesChanged: MetaUploadType[];
220
+
221
+ /**
222
+ * The bucket this event belongs to (for upload, folder, and bucket events)
223
+ *
224
+ * @generated from field: string bucket_id = 9;
225
+ */
226
+ bucketId: string;
227
+
228
+ /**
229
+ * Monotonic per-bucket sequence number. Always > 0 on persisted events.
230
+ * Used by clients for replay watermarking.
231
+ *
232
+ * @generated from field: uint64 event_id = 10 [jstype = JS_STRING];
233
+ */
234
+ eventId: string;
235
+ };
236
+
237
+ /**
238
+ * Describes the message uplim.api.v1.EventsToClient.ResourceChange.
239
+ * Use `create(EventsToClient_ResourceChangeSchema)` to create a new message.
240
+ */
241
+ export const EventsToClient_ResourceChangeSchema: GenMessage<EventsToClient_ResourceChange> = /*@__PURE__*/
242
+ messageDesc(file_uplim_api_v1_events, 1, 1);
243
+
244
+ /**
245
+ * Error message from the server
246
+ *
247
+ * @generated from message uplim.api.v1.EventsToClient.Error
248
+ */
249
+ export type EventsToClient_Error = Message<"uplim.api.v1.EventsToClient.Error"> & {
250
+ /**
251
+ * Human-readable error description
252
+ *
253
+ * @generated from field: string message = 1;
254
+ */
255
+ message: string;
256
+ };
257
+
258
+ /**
259
+ * Describes the message uplim.api.v1.EventsToClient.Error.
260
+ * Use `create(EventsToClient_ErrorSchema)` to create a new message.
261
+ */
262
+ export const EventsToClient_ErrorSchema: GenMessage<EventsToClient_Error> = /*@__PURE__*/
263
+ messageDesc(file_uplim_api_v1_events, 1, 2);
264
+
265
+ /**
266
+ * Acknowledgement that a subscription was created
267
+ *
268
+ * @generated from message uplim.api.v1.EventsToClient.SubscribeAck
269
+ */
270
+ export type EventsToClient_SubscribeAck = Message<"uplim.api.v1.EventsToClient.SubscribeAck"> & {
271
+ /**
272
+ * Unique identifier for the subscription (used to unsubscribe)
273
+ *
274
+ * @generated from field: string subscription_id = 1;
275
+ */
276
+ subscriptionId: string;
277
+
278
+ /**
279
+ * The bucket ID subscribed to (empty if subscribing to everything)
280
+ *
281
+ * @generated from field: string bucket_id = 2;
282
+ */
283
+ bucketId: string;
284
+
285
+ /**
286
+ * The bucket's current event_id at the moment of subscription.
287
+ * For new subscriptions (last_event_id = 0), this is the watermark
288
+ * the client should persist.
289
+ *
290
+ * @generated from field: uint64 current_event_id = 3 [jstype = JS_STRING];
291
+ */
292
+ currentEventId: string;
293
+ };
294
+
295
+ /**
296
+ * Describes the message uplim.api.v1.EventsToClient.SubscribeAck.
297
+ * Use `create(EventsToClient_SubscribeAckSchema)` to create a new message.
298
+ */
299
+ export const EventsToClient_SubscribeAckSchema: GenMessage<EventsToClient_SubscribeAck> = /*@__PURE__*/
300
+ messageDesc(file_uplim_api_v1_events, 1, 3);
301
+
302
+ /**
303
+ * Acknowledgement that a subscription was removed
304
+ *
305
+ * @generated from message uplim.api.v1.EventsToClient.UnsubscribeAck
306
+ */
307
+ export type EventsToClient_UnsubscribeAck = Message<"uplim.api.v1.EventsToClient.UnsubscribeAck"> & {
308
+ /**
309
+ * The subscription that was removed
310
+ *
311
+ * @generated from field: string subscription_id = 1;
312
+ */
313
+ subscriptionId: string;
314
+ };
315
+
316
+ /**
317
+ * Describes the message uplim.api.v1.EventsToClient.UnsubscribeAck.
318
+ * Use `create(EventsToClient_UnsubscribeAckSchema)` to create a new message.
319
+ */
320
+ export const EventsToClient_UnsubscribeAckSchema: GenMessage<EventsToClient_UnsubscribeAck> = /*@__PURE__*/
321
+ messageDesc(file_uplim_api_v1_events, 1, 4);
322
+
323
+ /**
324
+ * Response to a client ping (keepalive)
325
+ *
326
+ * @generated from message uplim.api.v1.EventsToClient.Pong
327
+ */
328
+ export type EventsToClient_Pong = Message<"uplim.api.v1.EventsToClient.Pong"> & {
329
+ /**
330
+ * Echoed ping ID
331
+ *
332
+ * @generated from field: string id = 1;
333
+ */
334
+ id: string;
335
+ };
336
+
337
+ /**
338
+ * Describes the message uplim.api.v1.EventsToClient.Pong.
339
+ * Use `create(EventsToClient_PongSchema)` to create a new message.
340
+ */
341
+ export const EventsToClient_PongSchema: GenMessage<EventsToClient_Pong> = /*@__PURE__*/
342
+ messageDesc(file_uplim_api_v1_events, 1, 5);
343
+
344
+ /**
345
+ * A batch of replayed events sent during the replay phase
346
+ *
347
+ * @generated from message uplim.api.v1.EventsToClient.ReplayBatch
348
+ */
349
+ export type EventsToClient_ReplayBatch = Message<"uplim.api.v1.EventsToClient.ReplayBatch"> & {
350
+ /**
351
+ * @generated from field: string subscription_id = 1;
352
+ */
353
+ subscriptionId: string;
354
+
355
+ /**
356
+ * @generated from field: string bucket_id = 2;
357
+ */
358
+ bucketId: string;
359
+
360
+ /**
361
+ * Monotonic per-subscription batch number, starts at 1
362
+ *
363
+ * @generated from field: uint32 batch_seq = 3;
364
+ */
365
+ batchSeq: number;
366
+
367
+ /**
368
+ * Events in this batch, ordered by event_id ascending
369
+ *
370
+ * @generated from field: repeated uplim.api.v1.EventsToClient.ResourceChange events = 4;
371
+ */
372
+ events: EventsToClient_ResourceChange[];
373
+
374
+ /**
375
+ * True on the last batch; ReplayComplete follows after client acks this
376
+ *
377
+ * @generated from field: bool final = 5;
378
+ */
379
+ final: boolean;
380
+ };
381
+
382
+ /**
383
+ * Describes the message uplim.api.v1.EventsToClient.ReplayBatch.
384
+ * Use `create(EventsToClient_ReplayBatchSchema)` to create a new message.
385
+ */
386
+ export const EventsToClient_ReplayBatchSchema: GenMessage<EventsToClient_ReplayBatch> = /*@__PURE__*/
387
+ messageDesc(file_uplim_api_v1_events, 1, 6);
388
+
389
+ /**
390
+ * Marks the end of the replay phase; all further events are live
391
+ *
392
+ * @generated from message uplim.api.v1.EventsToClient.ReplayComplete
393
+ */
394
+ export type EventsToClient_ReplayComplete = Message<"uplim.api.v1.EventsToClient.ReplayComplete"> & {
395
+ /**
396
+ * @generated from field: string subscription_id = 1;
397
+ */
398
+ subscriptionId: string;
399
+
400
+ /**
401
+ * @generated from field: string bucket_id = 2;
402
+ */
403
+ bucketId: string;
404
+
405
+ /**
406
+ * The largest event_id included in the replay
407
+ *
408
+ * @generated from field: uint64 last_event_id = 3 [jstype = JS_STRING];
409
+ */
410
+ lastEventId: string;
411
+ };
412
+
413
+ /**
414
+ * Describes the message uplim.api.v1.EventsToClient.ReplayComplete.
415
+ * Use `create(EventsToClient_ReplayCompleteSchema)` to create a new message.
416
+ */
417
+ export const EventsToClient_ReplayCompleteSchema: GenMessage<EventsToClient_ReplayComplete> = /*@__PURE__*/
418
+ messageDesc(file_uplim_api_v1_events, 1, 7);
419
+
420
+ /**
421
+ * The client's last_event_id is older than the retention window.
422
+ * The subscription is closed after this frame; client must re-list
423
+ * and re-subscribe with last_event_id = 0.
424
+ *
425
+ * @generated from message uplim.api.v1.EventsToClient.LogExpired
426
+ */
427
+ export type EventsToClient_LogExpired = Message<"uplim.api.v1.EventsToClient.LogExpired"> & {
428
+ /**
429
+ * @generated from field: string subscription_id = 1;
430
+ */
431
+ subscriptionId: string;
432
+
433
+ /**
434
+ * @generated from field: string bucket_id = 2;
435
+ */
436
+ bucketId: string;
437
+
438
+ /**
439
+ * The oldest event_id still available in the log
440
+ *
441
+ * @generated from field: uint64 oldest_available_event_id = 3 [jstype = JS_STRING];
442
+ */
443
+ oldestAvailableEventId: string;
444
+ };
445
+
446
+ /**
447
+ * Describes the message uplim.api.v1.EventsToClient.LogExpired.
448
+ * Use `create(EventsToClient_LogExpiredSchema)` to create a new message.
449
+ */
450
+ export const EventsToClient_LogExpiredSchema: GenMessage<EventsToClient_LogExpired> = /*@__PURE__*/
451
+ messageDesc(file_uplim_api_v1_events, 1, 8);
452
+
453
+ /**
454
+ * Resource change delivered to a public (unauthenticated) subscription.
455
+ * Carries the stripped public projection of an Upload or folder item so
456
+ * no internal fields leak to portal viewers.
457
+ *
458
+ * @generated from message uplim.api.v1.EventsToClient.PublicResourceChange
459
+ */
460
+ export type EventsToClient_PublicResourceChange = Message<"uplim.api.v1.EventsToClient.PublicResourceChange"> & {
461
+ /**
462
+ * @generated from field: uplim.api.v1.ChangeType change_type = 1;
463
+ */
464
+ changeType: ChangeType;
465
+
466
+ /**
467
+ * @generated from field: uplim.api.v1.ChangeTarget target = 2;
468
+ */
469
+ target: ChangeTarget;
470
+
471
+ /**
472
+ * @generated from field: string target_id = 3;
473
+ */
474
+ targetId: string;
475
+
476
+ /**
477
+ * @generated from oneof uplim.api.v1.EventsToClient.PublicResourceChange.resource
478
+ */
479
+ resource: {
480
+ /**
481
+ * @generated from field: uplim.api.v1.PublicUpload upload = 4;
482
+ */
483
+ value: PublicUpload;
484
+ case: "upload";
485
+ } | {
486
+ /**
487
+ * @generated from field: uplim.api.v1.PublicFolderItem folder_item = 5;
488
+ */
489
+ value: PublicFolderItem;
490
+ case: "folderItem";
491
+ } | { case: undefined; value?: undefined };
492
+
493
+ /**
494
+ * For UPDATE events: hints about what changed.
495
+ * UPDATE_HINT_ACCESS_REVOKED signals the subscription is about to close.
496
+ *
497
+ * @generated from field: repeated uplim.api.v1.UpdateHint update_hints = 7;
498
+ */
499
+ updateHints: UpdateHint[];
500
+
501
+ /**
502
+ * For META_UPLOADS updates: which meta types were added/updated
503
+ *
504
+ * @generated from field: repeated uplim.api.v1.MetaUploadType meta_types_changed = 8;
505
+ */
506
+ metaTypesChanged: MetaUploadType[];
507
+ };
508
+
509
+ /**
510
+ * Describes the message uplim.api.v1.EventsToClient.PublicResourceChange.
511
+ * Use `create(EventsToClient_PublicResourceChangeSchema)` to create a new message.
512
+ */
513
+ export const EventsToClient_PublicResourceChangeSchema: GenMessage<EventsToClient_PublicResourceChange> = /*@__PURE__*/
514
+ messageDesc(file_uplim_api_v1_events, 1, 9);
515
+
516
+ /**
517
+ * Client-to-server event messages sent over the WebSocket connection
518
+ *
519
+ * @generated from message uplim.api.v1.EventsToServer
520
+ */
521
+ export type EventsToServer = Message<"uplim.api.v1.EventsToServer"> & {
522
+ /**
523
+ * @generated from oneof uplim.api.v1.EventsToServer.type
524
+ */
525
+ type: {
526
+ /**
527
+ * @generated from field: uplim.api.v1.EventsToServer.Subscribe subscribe = 1;
528
+ */
529
+ value: EventsToServer_Subscribe;
530
+ case: "subscribe";
531
+ } | {
532
+ /**
533
+ * @generated from field: uplim.api.v1.EventsToServer.Unsubscribe unsubscribe = 2;
534
+ */
535
+ value: EventsToServer_Unsubscribe;
536
+ case: "unsubscribe";
537
+ } | {
538
+ /**
539
+ * @generated from field: uplim.api.v1.EventsToServer.Ping ping = 3;
540
+ */
541
+ value: EventsToServer_Ping;
542
+ case: "ping";
543
+ } | {
544
+ /**
545
+ * @generated from field: uplim.api.v1.EventsToServer.ReplayBatchAck replay_batch_ack = 4;
546
+ */
547
+ value: EventsToServer_ReplayBatchAck;
548
+ case: "replayBatchAck";
549
+ } | {
550
+ /**
551
+ * @generated from field: uplim.api.v1.EventsToServer.PublicSubscribe public_subscribe = 5;
552
+ */
553
+ value: EventsToServer_PublicSubscribe;
554
+ case: "publicSubscribe";
555
+ } | { case: undefined; value?: undefined };
556
+ };
557
+
558
+ /**
559
+ * Describes the message uplim.api.v1.EventsToServer.
560
+ * Use `create(EventsToServerSchema)` to create a new message.
561
+ */
562
+ export const EventsToServerSchema: GenMessage<EventsToServer> = /*@__PURE__*/
563
+ messageDesc(file_uplim_api_v1_events, 2);
564
+
565
+ /**
566
+ * Subscribe to resource change events
567
+ *
568
+ * @generated from message uplim.api.v1.EventsToServer.Subscribe
569
+ */
570
+ export type EventsToServer_Subscribe = Message<"uplim.api.v1.EventsToServer.Subscribe"> & {
571
+ /**
572
+ * @generated from oneof uplim.api.v1.EventsToServer.Subscribe.scope
573
+ */
574
+ scope: {
575
+ /**
576
+ * Subscribe to all accessible buckets
577
+ *
578
+ * @generated from field: bool everything = 1;
579
+ */
580
+ value: boolean;
581
+ case: "everything";
582
+ } | {
583
+ /**
584
+ * Subscribe to specific bucket
585
+ *
586
+ * @generated from field: string bucket_id = 2;
587
+ */
588
+ value: string;
589
+ case: "bucketId";
590
+ } | { case: undefined; value?: undefined };
591
+
592
+ /**
593
+ * Optional: subscribe to specific upload (overrides other filters)
594
+ *
595
+ * @generated from field: optional string upload_id = 3;
596
+ */
597
+ uploadId?: string;
598
+
599
+ /**
600
+ * Optional: filter events (applied after scope)
601
+ *
602
+ * @generated from field: optional uplim.api.v1.SubscriptionFilter filter = 4;
603
+ */
604
+ filter?: SubscriptionFilter;
605
+
606
+ /**
607
+ * If set and > 0, server replays events where event_id > last_event_id,
608
+ * then transitions to live tail after ReplayComplete.
609
+ * If 0 or unset, client receives live events only (no replay).
610
+ * Only valid with bucket_id scope (not everything).
611
+ *
612
+ * @generated from field: optional uint64 last_event_id = 5 [jstype = JS_STRING];
613
+ */
614
+ lastEventId?: string;
615
+ };
616
+
617
+ /**
618
+ * Describes the message uplim.api.v1.EventsToServer.Subscribe.
619
+ * Use `create(EventsToServer_SubscribeSchema)` to create a new message.
620
+ */
621
+ export const EventsToServer_SubscribeSchema: GenMessage<EventsToServer_Subscribe> = /*@__PURE__*/
622
+ messageDesc(file_uplim_api_v1_events, 2, 0);
623
+
624
+ /**
625
+ * Unsubscribe from a previous subscription
626
+ *
627
+ * @generated from message uplim.api.v1.EventsToServer.Unsubscribe
628
+ */
629
+ export type EventsToServer_Unsubscribe = Message<"uplim.api.v1.EventsToServer.Unsubscribe"> & {
630
+ /**
631
+ * The subscription ID to remove (from SubscribeAck)
632
+ *
633
+ * @generated from field: string subscription_id = 1;
634
+ */
635
+ subscriptionId: string;
636
+ };
637
+
638
+ /**
639
+ * Describes the message uplim.api.v1.EventsToServer.Unsubscribe.
640
+ * Use `create(EventsToServer_UnsubscribeSchema)` to create a new message.
641
+ */
642
+ export const EventsToServer_UnsubscribeSchema: GenMessage<EventsToServer_Unsubscribe> = /*@__PURE__*/
643
+ messageDesc(file_uplim_api_v1_events, 2, 1);
644
+
645
+ /**
646
+ * Client acknowledgement of a replay batch
647
+ *
648
+ * @generated from message uplim.api.v1.EventsToServer.ReplayBatchAck
649
+ */
650
+ export type EventsToServer_ReplayBatchAck = Message<"uplim.api.v1.EventsToServer.ReplayBatchAck"> & {
651
+ /**
652
+ * @generated from field: string subscription_id = 1;
653
+ */
654
+ subscriptionId: string;
655
+
656
+ /**
657
+ * @generated from field: uint32 batch_seq = 2;
658
+ */
659
+ batchSeq: number;
660
+ };
661
+
662
+ /**
663
+ * Describes the message uplim.api.v1.EventsToServer.ReplayBatchAck.
664
+ * Use `create(EventsToServer_ReplayBatchAckSchema)` to create a new message.
665
+ */
666
+ export const EventsToServer_ReplayBatchAckSchema: GenMessage<EventsToServer_ReplayBatchAck> = /*@__PURE__*/
667
+ messageDesc(file_uplim_api_v1_events, 2, 2);
668
+
669
+ /**
670
+ * Keepalive ping (server responds with Pong)
671
+ *
672
+ * @generated from message uplim.api.v1.EventsToServer.Ping
673
+ */
674
+ export type EventsToServer_Ping = Message<"uplim.api.v1.EventsToServer.Ping"> & {
675
+ /**
676
+ * Unique ping ID (echoed in Pong)
677
+ *
678
+ * @generated from field: string id = 1;
679
+ */
680
+ id: string;
681
+ };
682
+
683
+ /**
684
+ * Describes the message uplim.api.v1.EventsToServer.Ping.
685
+ * Use `create(EventsToServer_PingSchema)` to create a new message.
686
+ */
687
+ export const EventsToServer_PingSchema: GenMessage<EventsToServer_Ping> = /*@__PURE__*/
688
+ messageDesc(file_uplim_api_v1_events, 2, 3);
689
+
690
+ /**
691
+ * Subscribe to events for a public (unauthenticated) resource.
692
+ * Token is minted by the PublicUploadsService and scopes the subscription
693
+ * to a single upload or folder. Replaces the normal Subscribe path on
694
+ * public connections; no other subscriptions may exist on the same
695
+ * connection.
696
+ *
697
+ * @generated from message uplim.api.v1.EventsToServer.PublicSubscribe
698
+ */
699
+ export type EventsToServer_PublicSubscribe = Message<"uplim.api.v1.EventsToServer.PublicSubscribe"> & {
700
+ /**
701
+ * @generated from field: string ws_subscription_token = 1;
702
+ */
703
+ wsSubscriptionToken: string;
704
+ };
705
+
706
+ /**
707
+ * Describes the message uplim.api.v1.EventsToServer.PublicSubscribe.
708
+ * Use `create(EventsToServer_PublicSubscribeSchema)` to create a new message.
709
+ */
710
+ export const EventsToServer_PublicSubscribeSchema: GenMessage<EventsToServer_PublicSubscribe> = /*@__PURE__*/
711
+ messageDesc(file_uplim_api_v1_events, 2, 4);
712
+
713
+ /**
714
+ * The type of change that occurred on a resource
715
+ *
716
+ * @generated from enum uplim.api.v1.ChangeType
717
+ */
718
+ export enum ChangeType {
719
+ /**
720
+ * @generated from enum value: CHANGE_TYPE_UNSPECIFIED = 0;
721
+ */
722
+ UNSPECIFIED = 0,
723
+
724
+ /**
725
+ * A new resource was created
726
+ *
727
+ * @generated from enum value: CHANGE_TYPE_CREATE = 1;
728
+ */
729
+ CREATE = 1,
730
+
731
+ /**
732
+ * An existing resource was updated
733
+ *
734
+ * @generated from enum value: CHANGE_TYPE_UPDATE = 2;
735
+ */
736
+ UPDATE = 2,
737
+
738
+ /**
739
+ * A resource was deleted
740
+ *
741
+ * @generated from enum value: CHANGE_TYPE_DELETE = 3;
742
+ */
743
+ DELETE = 3,
744
+ }
745
+
746
+ /**
747
+ * Describes the enum uplim.api.v1.ChangeType.
748
+ */
749
+ export const ChangeTypeSchema: GenEnum<ChangeType> = /*@__PURE__*/
750
+ enumDesc(file_uplim_api_v1_events, 0);
751
+
752
+ /**
753
+ * The type of resource that was changed
754
+ *
755
+ * @generated from enum uplim.api.v1.ChangeTarget
756
+ */
757
+ export enum ChangeTarget {
758
+ /**
759
+ * @generated from enum value: CHANGE_TARGET_UNSPECIFIED = 0;
760
+ */
761
+ UNSPECIFIED = 0,
762
+
763
+ /**
764
+ * A bucket was changed
765
+ *
766
+ * @generated from enum value: CHANGE_TARGET_BUCKET = 1;
767
+ */
768
+ BUCKET = 1,
769
+
770
+ /**
771
+ * A folder was changed
772
+ *
773
+ * @generated from enum value: CHANGE_TARGET_FOLDER = 2;
774
+ */
775
+ FOLDER = 2,
776
+
777
+ /**
778
+ * An upload was changed
779
+ *
780
+ * @generated from enum value: CHANGE_TARGET_UPLOAD = 3;
781
+ */
782
+ UPLOAD = 3,
783
+
784
+ /**
785
+ * An account was changed
786
+ *
787
+ * @generated from enum value: CHANGE_TARGET_ACCOUNT = 4;
788
+ */
789
+ ACCOUNT = 4,
790
+ }
791
+
792
+ /**
793
+ * Describes the enum uplim.api.v1.ChangeTarget.
794
+ */
795
+ export const ChangeTargetSchema: GenEnum<ChangeTarget> = /*@__PURE__*/
796
+ enumDesc(file_uplim_api_v1_events, 1);
797
+
798
+ /**
799
+ * Hints about what changed in an UPDATE event
800
+ *
801
+ * @generated from enum uplim.api.v1.UpdateHint
802
+ */
803
+ export enum UpdateHint {
804
+ /**
805
+ * @generated from enum value: UPDATE_HINT_UNSPECIFIED = 0;
806
+ */
807
+ UNSPECIFIED = 0,
808
+
809
+ /**
810
+ * @generated from enum value: UPDATE_HINT_TAGS = 1;
811
+ */
812
+ TAGS = 1,
813
+
814
+ /**
815
+ * @generated from enum value: UPDATE_HINT_PATH = 3;
816
+ */
817
+ PATH = 3,
818
+
819
+ /**
820
+ * @generated from enum value: UPDATE_HINT_SLUG = 4;
821
+ */
822
+ SLUG = 4,
823
+
824
+ /**
825
+ * @generated from enum value: UPDATE_HINT_PRIVATE = 5;
826
+ */
827
+ PRIVATE = 5,
828
+
829
+ /**
830
+ * @generated from enum value: UPDATE_HINT_TYPE = 6;
831
+ */
832
+ TYPE = 6,
833
+
834
+ /**
835
+ * @generated from enum value: UPDATE_HINT_VIRUS_SCAN = 7;
836
+ */
837
+ VIRUS_SCAN = 7,
838
+
839
+ /**
840
+ * @generated from enum value: UPDATE_HINT_AI_METADATA = 8;
841
+ */
842
+ AI_METADATA = 8,
843
+
844
+ /**
845
+ * @generated from enum value: UPDATE_HINT_META_UPLOADS = 9;
846
+ */
847
+ META_UPLOADS = 9,
848
+
849
+ /**
850
+ * @generated from enum value: UPDATE_HINT_METADATA = 10;
851
+ */
852
+ METADATA = 10,
853
+
854
+ /**
855
+ * @generated from enum value: UPDATE_HINT_ORDER = 11;
856
+ */
857
+ ORDER = 11,
858
+
859
+ /**
860
+ * Public subscription only: the viewer's access to this resource has been
861
+ * revoked (e.g. upload set private, alias revoked, folder went private).
862
+ * The server closes the subscription after sending this hint.
863
+ *
864
+ * @generated from enum value: UPDATE_HINT_ACCESS_REVOKED = 12;
865
+ */
866
+ ACCESS_REVOKED = 12,
867
+ }
868
+
869
+ /**
870
+ * Describes the enum uplim.api.v1.UpdateHint.
871
+ */
872
+ export const UpdateHintSchema: GenEnum<UpdateHint> = /*@__PURE__*/
873
+ enumDesc(file_uplim_api_v1_events, 2);
874
+