@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,767 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file uplim/api/v1/integration_types.proto.
6
+ */
7
+ export declare const file_uplim_api_v1_integration_types: GenFile;
8
+ /**
9
+ * Configuration for a custom renderer attached to a content type or bucket type
10
+ *
11
+ * @generated from message uplim.api.v1.IntegrationRendererConfig
12
+ */
13
+ export type IntegrationRendererConfig = Message<"uplim.api.v1.IntegrationRendererConfig"> & {
14
+ /**
15
+ * Whether this renderer is active
16
+ *
17
+ * @generated from field: bool enabled = 1;
18
+ */
19
+ enabled: boolean;
20
+ /**
21
+ * Upload ID of the renderer archive (.zip) containing the built application
22
+ *
23
+ * @generated from field: optional string archive_upload_id = 2;
24
+ */
25
+ archiveUploadId?: string;
26
+ /**
27
+ * Override the default entry path within the archive (e.g. "dashboard" or "portal")
28
+ *
29
+ * @generated from field: optional string entry_path = 3;
30
+ */
31
+ entryPath?: string;
32
+ };
33
+ /**
34
+ * Describes the message uplim.api.v1.IntegrationRendererConfig.
35
+ * Use `create(IntegrationRendererConfigSchema)` to create a new message.
36
+ */
37
+ export declare const IntegrationRendererConfigSchema: GenMessage<IntegrationRendererConfig>;
38
+ /**
39
+ * Configuration for a custom thumbnail parser attached to a content type or bucket type
40
+ *
41
+ * @generated from message uplim.api.v1.IntegrationThumbnailParserConfig
42
+ */
43
+ export type IntegrationThumbnailParserConfig = Message<"uplim.api.v1.IntegrationThumbnailParserConfig"> & {
44
+ /**
45
+ * Whether this thumbnail parser is active
46
+ *
47
+ * @generated from field: bool enabled = 1;
48
+ */
49
+ enabled: boolean;
50
+ /**
51
+ * ID of the thumbnail parse pool to use
52
+ *
53
+ * @generated from field: string pool_id = 3;
54
+ */
55
+ poolId: string;
56
+ };
57
+ /**
58
+ * Describes the message uplim.api.v1.IntegrationThumbnailParserConfig.
59
+ * Use `create(IntegrationThumbnailParserConfigSchema)` to create a new message.
60
+ */
61
+ export declare const IntegrationThumbnailParserConfigSchema: GenMessage<IntegrationThumbnailParserConfig>;
62
+ /**
63
+ * A thumbnail parse pool belonging to an integration. Workers authenticate using the pool token.
64
+ *
65
+ * @generated from message uplim.api.v1.IntegrationThumbnailPool
66
+ */
67
+ export type IntegrationThumbnailPool = Message<"uplim.api.v1.IntegrationThumbnailPool"> & {
68
+ /**
69
+ * Unique pool ID
70
+ *
71
+ * @generated from field: string id = 1;
72
+ */
73
+ id: string;
74
+ /**
75
+ * Parent integration ID
76
+ *
77
+ * @generated from field: string integration_id = 2;
78
+ */
79
+ integrationId: string;
80
+ /**
81
+ * Display name for this pool
82
+ *
83
+ * @generated from field: string name = 3;
84
+ */
85
+ name: string;
86
+ /**
87
+ * Only populated in admin responses (create/list).
88
+ *
89
+ * @generated from field: optional string token = 4;
90
+ */
91
+ token?: string;
92
+ /**
93
+ * @generated from field: google.protobuf.Timestamp created_at = 5;
94
+ */
95
+ createdAt?: Timestamp;
96
+ /**
97
+ * @generated from field: google.protobuf.Timestamp updated_at = 6;
98
+ */
99
+ updatedAt?: Timestamp;
100
+ };
101
+ /**
102
+ * Describes the message uplim.api.v1.IntegrationThumbnailPool.
103
+ * Use `create(IntegrationThumbnailPoolSchema)` to create a new message.
104
+ */
105
+ export declare const IntegrationThumbnailPoolSchema: GenMessage<IntegrationThumbnailPool>;
106
+ /**
107
+ * @generated from message uplim.api.v1.IntegrationContentTypeCriteria
108
+ */
109
+ export type IntegrationContentTypeCriteria = Message<"uplim.api.v1.IntegrationContentTypeCriteria"> & {
110
+ /**
111
+ * Which resource kinds to match (1+ required)
112
+ *
113
+ * @generated from field: repeated uplim.api.v1.IntegrationContentTargetKind kinds = 1;
114
+ */
115
+ kinds: IntegrationContentTargetKind[];
116
+ /**
117
+ * Optional slug regex (for non-integration-folder kinds)
118
+ *
119
+ * @generated from field: optional string slug_pattern = 2;
120
+ */
121
+ slugPattern?: string;
122
+ };
123
+ /**
124
+ * Describes the message uplim.api.v1.IntegrationContentTypeCriteria.
125
+ * Use `create(IntegrationContentTypeCriteriaSchema)` to create a new message.
126
+ */
127
+ export declare const IntegrationContentTypeCriteriaSchema: GenMessage<IntegrationContentTypeCriteria>;
128
+ /**
129
+ * Open-with config on a content type (simplified — no extensions, criteria handles matching)
130
+ *
131
+ * @generated from message uplim.api.v1.IntegrationContentTypeOpenWithConfig
132
+ */
133
+ export type IntegrationContentTypeOpenWithConfig = Message<"uplim.api.v1.IntegrationContentTypeOpenWithConfig"> & {
134
+ /**
135
+ * @generated from field: bool enabled = 1;
136
+ */
137
+ enabled: boolean;
138
+ /**
139
+ * @generated from field: string callback_url = 2;
140
+ */
141
+ callbackUrl: string;
142
+ };
143
+ /**
144
+ * Describes the message uplim.api.v1.IntegrationContentTypeOpenWithConfig.
145
+ * Use `create(IntegrationContentTypeOpenWithConfigSchema)` to create a new message.
146
+ */
147
+ export declare const IntegrationContentTypeOpenWithConfigSchema: GenMessage<IntegrationContentTypeOpenWithConfig>;
148
+ /**
149
+ * A content type defined by an integration. Matches resources by kind and slug pattern.
150
+ *
151
+ * @generated from message uplim.api.v1.IntegrationContentType
152
+ */
153
+ export type IntegrationContentType = Message<"uplim.api.v1.IntegrationContentType"> & {
154
+ /**
155
+ * Unique content type ID
156
+ *
157
+ * @generated from field: string id = 1;
158
+ */
159
+ id: string;
160
+ /**
161
+ * Parent integration ID
162
+ *
163
+ * @generated from field: string integration_id = 2;
164
+ */
165
+ integrationId: string;
166
+ /**
167
+ * Criteria for matching resources to this content type
168
+ *
169
+ * @generated from field: uplim.api.v1.IntegrationContentTypeCriteria criteria = 3;
170
+ */
171
+ criteria?: IntegrationContentTypeCriteria;
172
+ /**
173
+ * Custom renderer configuration for matched resources
174
+ *
175
+ * @generated from field: optional uplim.api.v1.IntegrationRendererConfig renderer = 4;
176
+ */
177
+ renderer?: IntegrationRendererConfig;
178
+ /**
179
+ * Custom thumbnail parser for matched resources
180
+ *
181
+ * @generated from field: optional uplim.api.v1.IntegrationThumbnailParserConfig thumbnail_parser = 5;
182
+ */
183
+ thumbnailParser?: IntegrationThumbnailParserConfig;
184
+ /**
185
+ * Open-with configuration for launching the integration's external app
186
+ *
187
+ * @generated from field: optional uplim.api.v1.IntegrationContentTypeOpenWithConfig open_with = 6;
188
+ */
189
+ openWith?: IntegrationContentTypeOpenWithConfig;
190
+ /**
191
+ * Lower number = higher priority; used to break ties when multiple content types match
192
+ *
193
+ * @generated from field: int32 priority = 7;
194
+ */
195
+ priority: number;
196
+ /**
197
+ * @generated from field: google.protobuf.Timestamp created_at = 8;
198
+ */
199
+ createdAt?: Timestamp;
200
+ /**
201
+ * @generated from field: google.protobuf.Timestamp updated_at = 9;
202
+ */
203
+ updatedAt?: Timestamp;
204
+ /**
205
+ * Immutable URN local part (e.g., "image" in "default:image"). Combined
206
+ * with the parent Integration.slug to form the public URN that replaces
207
+ * the legacy UploadType enum at every API boundary.
208
+ *
209
+ * @generated from field: optional string name = 10;
210
+ */
211
+ name?: string;
212
+ /**
213
+ * Human-readable label shown in the admin UI.
214
+ *
215
+ * @generated from field: optional string display_label = 11;
216
+ */
217
+ displayLabel?: string;
218
+ /**
219
+ * FontAwesome key the frontend uses to render the file icon
220
+ * (e.g., "faFileImage").
221
+ *
222
+ * @generated from field: optional string icon_name = 12;
223
+ */
224
+ iconName?: string;
225
+ /**
226
+ * Serialized ContentTypeMatcher proto. The pipeline evaluates this
227
+ * against the upload's DetectionResult to decide which content type
228
+ * matches; first match wins by matcher_priority.
229
+ *
230
+ * @generated from field: bytes matcher = 13;
231
+ */
232
+ matcher: Uint8Array;
233
+ /**
234
+ * Higher wins. Source of truth is ContentTypeMatcher.priority; this
235
+ * field is denormalized for index-driven ordering during retrieval.
236
+ *
237
+ * @generated from field: int32 matcher_priority = 14;
238
+ */
239
+ matcherPriority: number;
240
+ /**
241
+ * Per-content-type feature flag for the Sub-plan D rollout: false
242
+ * routes uploads through the legacy inline activity, true dispatches
243
+ * to an external worker via the integration's pool.
244
+ *
245
+ * @generated from field: bool dispatch_to_pool = 15;
246
+ */
247
+ dispatchToPool: boolean;
248
+ };
249
+ /**
250
+ * Describes the message uplim.api.v1.IntegrationContentType.
251
+ * Use `create(IntegrationContentTypeSchema)` to create a new message.
252
+ */
253
+ export declare const IntegrationContentTypeSchema: GenMessage<IntegrationContentType>;
254
+ /**
255
+ * A single value that is either string content or a reference to an upload.
256
+ *
257
+ * @generated from message uplim.api.v1.NewFileValue
258
+ */
259
+ export type NewFileValue = Message<"uplim.api.v1.NewFileValue"> & {
260
+ /**
261
+ * @generated from oneof uplim.api.v1.NewFileValue.value
262
+ */
263
+ value: {
264
+ /**
265
+ * @generated from field: string string_content = 1;
266
+ */
267
+ value: string;
268
+ case: "stringContent";
269
+ } | {
270
+ /**
271
+ * References an upload in the integration's internal bucket
272
+ *
273
+ * @generated from field: string upload_id = 2;
274
+ */
275
+ value: string;
276
+ case: "uploadId";
277
+ } | {
278
+ case: undefined;
279
+ value?: undefined;
280
+ };
281
+ };
282
+ /**
283
+ * Describes the message uplim.api.v1.NewFileValue.
284
+ * Use `create(NewFileValueSchema)` to create a new message.
285
+ */
286
+ export declare const NewFileValueSchema: GenMessage<NewFileValue>;
287
+ /**
288
+ * Default content for a new file template.
289
+ *
290
+ * @generated from message uplim.api.v1.NewFileDefaultContent
291
+ */
292
+ export type NewFileDefaultContent = Message<"uplim.api.v1.NewFileDefaultContent"> & {
293
+ /**
294
+ * @generated from oneof uplim.api.v1.NewFileDefaultContent.content
295
+ */
296
+ content: {
297
+ /**
298
+ * Single file: string content or upload reference
299
+ *
300
+ * @generated from field: uplim.api.v1.NewFileValue single = 1;
301
+ */
302
+ value: NewFileValue;
303
+ case: "single";
304
+ } | {
305
+ /**
306
+ * Multi-file (for folder/virtual_file): map of relative paths to values
307
+ *
308
+ * @generated from field: uplim.api.v1.NewFileDefaultContentMap multiple = 2;
309
+ */
310
+ value: NewFileDefaultContentMap;
311
+ case: "multiple";
312
+ } | {
313
+ case: undefined;
314
+ value?: undefined;
315
+ };
316
+ };
317
+ /**
318
+ * Describes the message uplim.api.v1.NewFileDefaultContent.
319
+ * Use `create(NewFileDefaultContentSchema)` to create a new message.
320
+ */
321
+ export declare const NewFileDefaultContentSchema: GenMessage<NewFileDefaultContent>;
322
+ /**
323
+ * @generated from message uplim.api.v1.NewFileDefaultContentMap
324
+ */
325
+ export type NewFileDefaultContentMap = Message<"uplim.api.v1.NewFileDefaultContentMap"> & {
326
+ /**
327
+ * @generated from field: map<string, uplim.api.v1.NewFileValue> files = 1;
328
+ */
329
+ files: {
330
+ [key: string]: NewFileValue;
331
+ };
332
+ };
333
+ /**
334
+ * Describes the message uplim.api.v1.NewFileDefaultContentMap.
335
+ * Use `create(NewFileDefaultContentMapSchema)` to create a new message.
336
+ */
337
+ export declare const NewFileDefaultContentMapSchema: GenMessage<NewFileDefaultContentMap>;
338
+ /**
339
+ * @generated from message uplim.api.v1.IntegrationNewFile
340
+ */
341
+ export type IntegrationNewFile = Message<"uplim.api.v1.IntegrationNewFile"> & {
342
+ /**
343
+ * @generated from field: string id = 1;
344
+ */
345
+ id: string;
346
+ /**
347
+ * @generated from field: string integration_id = 2;
348
+ */
349
+ integrationId: string;
350
+ /**
351
+ * Display name shown in the "new file" menu (e.g. "New Document")
352
+ *
353
+ * @generated from field: string name = 3;
354
+ */
355
+ name: string;
356
+ /**
357
+ * File extension (e.g. "docx")
358
+ *
359
+ * @generated from field: string extension = 4;
360
+ */
361
+ extension: string;
362
+ /**
363
+ * @generated from field: uplim.api.v1.NewFileCreationType creation_type = 5;
364
+ */
365
+ creationType: NewFileCreationType;
366
+ /**
367
+ * @generated from field: optional uplim.api.v1.NewFileDefaultContent default_content = 6;
368
+ */
369
+ defaultContent?: NewFileDefaultContent;
370
+ /**
371
+ * @generated from field: google.protobuf.Timestamp created_at = 7;
372
+ */
373
+ createdAt?: Timestamp;
374
+ /**
375
+ * @generated from field: google.protobuf.Timestamp updated_at = 8;
376
+ */
377
+ updatedAt?: Timestamp;
378
+ };
379
+ /**
380
+ * Describes the message uplim.api.v1.IntegrationNewFile.
381
+ * Use `create(IntegrationNewFileSchema)` to create a new message.
382
+ */
383
+ export declare const IntegrationNewFileSchema: GenMessage<IntegrationNewFile>;
384
+ /**
385
+ * An integration registered with the platform. Integrations extend upl.im with
386
+ * custom renderers, content types, thumbnail parsers, and new file templates.
387
+ *
388
+ * @generated from message uplim.api.v1.Integration
389
+ */
390
+ export type Integration = Message<"uplim.api.v1.Integration"> & {
391
+ /**
392
+ * Unique integration ID
393
+ *
394
+ * @generated from field: string integration_id = 1;
395
+ */
396
+ integrationId: string;
397
+ /**
398
+ * OAuth client ID that owns this integration
399
+ *
400
+ * @generated from field: string oauth_client_id = 2;
401
+ */
402
+ oauthClientId: string;
403
+ /**
404
+ * Associated OAuth application ID (derived from the client's IDP record)
405
+ *
406
+ * @generated from field: optional string oauth_application_id = 3;
407
+ */
408
+ oauthApplicationId?: string;
409
+ /**
410
+ * Display name of the integration
411
+ *
412
+ * @generated from field: string name = 4;
413
+ */
414
+ name: string;
415
+ /**
416
+ * Whether API key authentication is enabled for this integration.
417
+ * When true, the integration's scoped resources are exclusively writable via the API key.
418
+ *
419
+ * @generated from field: bool api_key_enabled = 11;
420
+ */
421
+ apiKeyEnabled: boolean;
422
+ /**
423
+ * Scoping mode: "none", "bucket", or "folder"
424
+ *
425
+ * @generated from field: string scoping = 12;
426
+ */
427
+ scoping: string;
428
+ /**
429
+ * Content types defined by this integration
430
+ *
431
+ * @generated from field: repeated uplim.api.v1.IntegrationContentType content_types = 13;
432
+ */
433
+ contentTypes: IntegrationContentType[];
434
+ /**
435
+ * Required when scoping = "bucket": the default bucket type for this integration
436
+ *
437
+ * @generated from field: optional string default_bucket_type_id = 14;
438
+ */
439
+ defaultBucketTypeId?: string;
440
+ /**
441
+ * New file templates defined by this integration
442
+ *
443
+ * @generated from field: repeated uplim.api.v1.IntegrationNewFile new_files = 15;
444
+ */
445
+ newFiles: IntegrationNewFile[];
446
+ /**
447
+ * Thumbnail parse pools defined by this integration (populated in admin responses)
448
+ *
449
+ * @generated from field: repeated uplim.api.v1.IntegrationThumbnailPool thumbnail_pools = 18;
450
+ */
451
+ thumbnailPools: IntegrationThumbnailPool[];
452
+ /**
453
+ * Required when scoping = "folder": controls how the integration folder behaves
454
+ *
455
+ * @generated from field: uplim.api.v1.IntegrationFolderBehavior folder_behavior = 16;
456
+ */
457
+ folderBehavior: IntegrationFolderBehavior;
458
+ /**
459
+ * Required when folder_behavior = LINK: the URL to open
460
+ *
461
+ * @generated from field: optional string folder_link_url = 17;
462
+ */
463
+ folderLinkUrl?: string;
464
+ /**
465
+ * How the integration is surfaced to users. Immutable after creation.
466
+ *
467
+ * @generated from field: uplim.api.v1.IntegrationMode mode = 19;
468
+ */
469
+ mode: IntegrationMode;
470
+ /**
471
+ * When true (and mode = APPLICATION), the app is offered as a chip at the top
472
+ * of every bucket where it's installed. Clicking the chip opens a picker that
473
+ * lets the user choose a matching upload or folder, then launches the renderer.
474
+ * Apps without this flag are still installable and show up in "Open with…" menus.
475
+ *
476
+ * @generated from field: bool bucket_launcher_enabled = 20;
477
+ */
478
+ bucketLauncherEnabled: boolean;
479
+ /**
480
+ * URL-safe namespace component of content type URNs (e.g., "default" in
481
+ * "default:image"). Immutable after creation. Format: lowercase letter +
482
+ * lowercase alphanumeric or hyphen, 2-64 chars, ending alphanumeric.
483
+ * Reserved values: "default", "system", "uplim", "xeonr".
484
+ *
485
+ * @generated from field: optional string slug = 21;
486
+ */
487
+ slug?: string;
488
+ /**
489
+ * True for first-party system integrations (currently only "default").
490
+ * System integrations cannot be deleted or have their content types edited.
491
+ *
492
+ * @generated from field: bool is_system = 22;
493
+ */
494
+ isSystem: boolean;
495
+ /**
496
+ * @generated from field: google.protobuf.Timestamp created_at = 8;
497
+ */
498
+ createdAt?: Timestamp;
499
+ /**
500
+ * @generated from field: google.protobuf.Timestamp updated_at = 9;
501
+ */
502
+ updatedAt?: Timestamp;
503
+ };
504
+ /**
505
+ * Describes the message uplim.api.v1.Integration.
506
+ * Use `create(IntegrationSchema)` to create a new message.
507
+ */
508
+ export declare const IntegrationSchema: GenMessage<Integration>;
509
+ /**
510
+ * Lightweight integration reference for embedding on resources (uploads, folders).
511
+ *
512
+ * @generated from message uplim.api.v1.IntegrationRef
513
+ */
514
+ export type IntegrationRef = Message<"uplim.api.v1.IntegrationRef"> & {
515
+ /**
516
+ * @generated from field: string integration_id = 1;
517
+ */
518
+ integrationId: string;
519
+ /**
520
+ * @generated from field: string name = 2;
521
+ */
522
+ name: string;
523
+ /**
524
+ * @generated from field: string oauth_client_id = 3;
525
+ */
526
+ oauthClientId: string;
527
+ /**
528
+ * @generated from field: uplim.api.v1.IntegrationFolderBehavior folder_behavior = 4;
529
+ */
530
+ folderBehavior: IntegrationFolderBehavior;
531
+ /**
532
+ * @generated from field: optional string folder_link_url = 5;
533
+ */
534
+ folderLinkUrl?: string;
535
+ /**
536
+ * @generated from field: uplim.api.v1.IntegrationMode mode = 6;
537
+ */
538
+ mode: IntegrationMode;
539
+ /**
540
+ * @generated from field: bool bucket_launcher_enabled = 7;
541
+ */
542
+ bucketLauncherEnabled: boolean;
543
+ };
544
+ /**
545
+ * Describes the message uplim.api.v1.IntegrationRef.
546
+ * Use `create(IntegrationRefSchema)` to create a new message.
547
+ */
548
+ export declare const IntegrationRefSchema: GenMessage<IntegrationRef>;
549
+ /**
550
+ * A bucket type defined by an integration. One integration can define multiple bucket types.
551
+ * When a bucket is created with BUCKET_TYPE_INTEGRATION, it links to one of these.
552
+ *
553
+ * @generated from message uplim.api.v1.IntegrationBucketType
554
+ */
555
+ export type IntegrationBucketType = Message<"uplim.api.v1.IntegrationBucketType"> & {
556
+ /**
557
+ * @generated from field: string id = 1;
558
+ */
559
+ id: string;
560
+ /**
561
+ * @generated from field: string integration_id = 2;
562
+ */
563
+ integrationId: string;
564
+ /**
565
+ * URL-safe identifier for this bucket type (e.g. "npm-registry")
566
+ *
567
+ * @generated from field: string slug = 3;
568
+ */
569
+ slug: string;
570
+ /**
571
+ * Display name shown in bucket creation UI (e.g. "npm Registry")
572
+ *
573
+ * @generated from field: string display_name = 4;
574
+ */
575
+ displayName: string;
576
+ /**
577
+ * Short description (e.g. "Host and manage npm packages")
578
+ *
579
+ * @generated from field: string description = 5;
580
+ */
581
+ description: string;
582
+ /**
583
+ * Optional icon URL for the bucket type
584
+ *
585
+ * @generated from field: optional string icon_url = 6;
586
+ */
587
+ iconUrl?: string;
588
+ /**
589
+ * Bucket-level renderer that takes over the entire bucket/portal UI
590
+ *
591
+ * @generated from field: optional uplim.api.v1.IntegrationRendererConfig renderer = 7;
592
+ */
593
+ renderer?: IntegrationRendererConfig;
594
+ /**
595
+ * Thumbnail parser applied to ALL uploads in buckets of this type
596
+ *
597
+ * @generated from field: optional uplim.api.v1.IntegrationThumbnailParserConfig thumbnail_parser = 8;
598
+ */
599
+ thumbnailParser?: IntegrationThumbnailParserConfig;
600
+ /**
601
+ * @generated from field: google.protobuf.Timestamp created_at = 9;
602
+ */
603
+ createdAt?: Timestamp;
604
+ /**
605
+ * @generated from field: google.protobuf.Timestamp updated_at = 10;
606
+ */
607
+ updatedAt?: Timestamp;
608
+ /**
609
+ * Auth-API service account ID auto-provisioned for this bucket type
610
+ *
611
+ * @generated from field: optional string service_account_id = 11;
612
+ */
613
+ serviceAccountId?: string;
614
+ /**
615
+ * Permission level granted to the service account on new buckets (read, write, admin)
616
+ *
617
+ * @generated from field: optional string service_account_permission = 12;
618
+ */
619
+ serviceAccountPermission?: string;
620
+ };
621
+ /**
622
+ * Describes the message uplim.api.v1.IntegrationBucketType.
623
+ * Use `create(IntegrationBucketTypeSchema)` to create a new message.
624
+ */
625
+ export declare const IntegrationBucketTypeSchema: GenMessage<IntegrationBucketType>;
626
+ /**
627
+ * What kind of resources a content type matches.
628
+ *
629
+ * @generated from enum uplim.api.v1.IntegrationContentTargetKind
630
+ */
631
+ export declare enum IntegrationContentTargetKind {
632
+ /**
633
+ * @generated from enum value: CONTENT_TARGET_KIND_UNSPECIFIED = 0;
634
+ */
635
+ CONTENT_TARGET_KIND_UNSPECIFIED = 0,
636
+ /**
637
+ * Folders with scoping_integration_id set (/@integration:xxx)
638
+ *
639
+ * @generated from enum value: CONTENT_TARGET_KIND_INTEGRATION_FOLDER = 1;
640
+ */
641
+ CONTENT_TARGET_KIND_INTEGRATION_FOLDER = 1,
642
+ /**
643
+ * Folders with virtual_file_enabled = true
644
+ *
645
+ * @generated from enum value: CONTENT_TARGET_KIND_VIRTUAL_FILE = 2;
646
+ */
647
+ CONTENT_TARGET_KIND_VIRTUAL_FILE = 2,
648
+ /**
649
+ * Regular folders
650
+ *
651
+ * @generated from enum value: CONTENT_TARGET_KIND_FOLDER = 3;
652
+ */
653
+ CONTENT_TARGET_KIND_FOLDER = 3,
654
+ /**
655
+ * Uploads
656
+ *
657
+ * @generated from enum value: CONTENT_TARGET_KIND_UPLOAD = 4;
658
+ */
659
+ CONTENT_TARGET_KIND_UPLOAD = 4
660
+ }
661
+ /**
662
+ * Describes the enum uplim.api.v1.IntegrationContentTargetKind.
663
+ */
664
+ export declare const IntegrationContentTargetKindSchema: GenEnum<IntegrationContentTargetKind>;
665
+ /**
666
+ * Controls how an integration folder behaves when scoping = "folder".
667
+ *
668
+ * @generated from enum uplim.api.v1.IntegrationFolderBehavior
669
+ */
670
+ export declare enum IntegrationFolderBehavior {
671
+ /**
672
+ * @generated from enum value: INTEGRATION_FOLDER_BEHAVIOR_UNSPECIFIED = 0;
673
+ */
674
+ UNSPECIFIED = 0,
675
+ /**
676
+ * Folder is a link — clicking opens the integration's external app via callback URL
677
+ *
678
+ * @generated from enum value: INTEGRATION_FOLDER_BEHAVIOR_LINK = 1;
679
+ */
680
+ LINK = 1,
681
+ /**
682
+ * Folder uses content type config for rendering
683
+ *
684
+ * @generated from enum value: INTEGRATION_FOLDER_BEHAVIOR_CONTENT_TYPE = 2;
685
+ */
686
+ CONTENT_TYPE = 2,
687
+ /**
688
+ * Folder behaves as a normal browsable folder (scoping only, no custom UI)
689
+ *
690
+ * @generated from enum value: INTEGRATION_FOLDER_BEHAVIOR_FOLDER = 3;
691
+ */
692
+ FOLDER = 3
693
+ }
694
+ /**
695
+ * Describes the enum uplim.api.v1.IntegrationFolderBehavior.
696
+ */
697
+ export declare const IntegrationFolderBehaviorSchema: GenEnum<IntegrationFolderBehavior>;
698
+ /**
699
+ * How a new file template creates its resource
700
+ *
701
+ * @generated from enum uplim.api.v1.NewFileCreationType
702
+ */
703
+ export declare enum NewFileCreationType {
704
+ /**
705
+ * @generated from enum value: NEW_FILE_CREATION_TYPE_UNSPECIFIED = 0;
706
+ */
707
+ UNSPECIFIED = 0,
708
+ /**
709
+ * Creates a regular folder
710
+ *
711
+ * @generated from enum value: NEW_FILE_CREATION_TYPE_FOLDER = 1;
712
+ */
713
+ FOLDER = 1,
714
+ /**
715
+ * Creates a virtual file (folder that appears as a file)
716
+ *
717
+ * @generated from enum value: NEW_FILE_CREATION_TYPE_VIRTUAL_FILE = 2;
718
+ */
719
+ VIRTUAL_FILE = 2,
720
+ /**
721
+ * Creates a regular upload
722
+ *
723
+ * @generated from enum value: NEW_FILE_CREATION_TYPE_UPLOAD = 3;
724
+ */
725
+ UPLOAD = 3
726
+ }
727
+ /**
728
+ * Describes the enum uplim.api.v1.NewFileCreationType.
729
+ */
730
+ export declare const NewFileCreationTypeSchema: GenEnum<NewFileCreationType>;
731
+ /**
732
+ * How an integration is exposed to end users.
733
+ *
734
+ * OWNED: Default. The integration claims resources via bucket type,
735
+ * scoping folder, or upload integration_id. Its content types
736
+ * only apply to resources within that ownership boundary.
737
+ *
738
+ * APPLICATION: Installable third-party app. Users opt-in via Install; once
739
+ * installed, the app's content types match any upload or folder
740
+ * the user views (outside of any owned-integration scope). The
741
+ * user picks "Open with" per file to launch the app's renderer
742
+ * or open_with callback.
743
+ * Constraints (enforced at create time): scoping must be "none";
744
+ * content type kinds restricted to UPLOAD and FOLDER. Mode is
745
+ * immutable after creation.
746
+ *
747
+ * @generated from enum uplim.api.v1.IntegrationMode
748
+ */
749
+ export declare enum IntegrationMode {
750
+ /**
751
+ * @generated from enum value: INTEGRATION_MODE_UNSPECIFIED = 0;
752
+ */
753
+ UNSPECIFIED = 0,
754
+ /**
755
+ * @generated from enum value: INTEGRATION_MODE_OWNED = 1;
756
+ */
757
+ OWNED = 1,
758
+ /**
759
+ * @generated from enum value: INTEGRATION_MODE_APPLICATION = 2;
760
+ */
761
+ APPLICATION = 2
762
+ }
763
+ /**
764
+ * Describes the enum uplim.api.v1.IntegrationMode.
765
+ */
766
+ export declare const IntegrationModeSchema: GenEnum<IntegrationMode>;
767
+ //# sourceMappingURL=integration_types_pb.d.ts.map