@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,807 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { BucketRef, FolderRef, UploadRef } from "./internal_pb.js";
4
+ import type { Integration, IntegrationContentType, IntegrationNewFile, IntegrationRef, IntegrationRendererConfig } from "./integration_types_pb.js";
5
+ import type { Folder, Upload } from "./uploads_pb.js";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ /**
8
+ * Describes the file uplim/api/v1/integrations.proto.
9
+ */
10
+ export declare const file_uplim_api_v1_integrations: GenFile;
11
+ /**
12
+ * @generated from message uplim.api.v1.ListIntegrationsRequest
13
+ */
14
+ export type ListIntegrationsRequest = Message<"uplim.api.v1.ListIntegrationsRequest"> & {
15
+ /**
16
+ * Filter to integrations that have at least one content type with open_with enabled
17
+ *
18
+ * @generated from field: bool open_with_only = 1;
19
+ */
20
+ openWithOnly: boolean;
21
+ /**
22
+ * Filter to integrations that have at least one content type with a renderer
23
+ *
24
+ * @generated from field: bool renderer_only = 2;
25
+ */
26
+ rendererOnly: boolean;
27
+ /**
28
+ * Filter to integrations whose content types match this extension
29
+ *
30
+ * @generated from field: optional string extension = 3;
31
+ */
32
+ extension?: string;
33
+ };
34
+ /**
35
+ * Describes the message uplim.api.v1.ListIntegrationsRequest.
36
+ * Use `create(ListIntegrationsRequestSchema)` to create a new message.
37
+ */
38
+ export declare const ListIntegrationsRequestSchema: GenMessage<ListIntegrationsRequest>;
39
+ /**
40
+ * @generated from message uplim.api.v1.ListIntegrationsResponse
41
+ */
42
+ export type ListIntegrationsResponse = Message<"uplim.api.v1.ListIntegrationsResponse"> & {
43
+ /**
44
+ * @generated from field: repeated uplim.api.v1.Integration integrations = 1;
45
+ */
46
+ integrations: Integration[];
47
+ };
48
+ /**
49
+ * Describes the message uplim.api.v1.ListIntegrationsResponse.
50
+ * Use `create(ListIntegrationsResponseSchema)` to create a new message.
51
+ */
52
+ export declare const ListIntegrationsResponseSchema: GenMessage<ListIntegrationsResponse>;
53
+ /**
54
+ * @generated from message uplim.api.v1.OpenWithOption
55
+ */
56
+ export type OpenWithOption = Message<"uplim.api.v1.OpenWithOption"> & {
57
+ /**
58
+ * @generated from field: uplim.api.v1.Integration integration = 1;
59
+ */
60
+ integration?: Integration;
61
+ /**
62
+ * @generated from field: uplim.api.v1.IntegrationContentType content_type = 6;
63
+ */
64
+ contentType?: IntegrationContentType;
65
+ /**
66
+ * @generated from field: bool enabled_for_user = 2;
67
+ */
68
+ enabledForUser: boolean;
69
+ /**
70
+ * @generated from field: bool best_match = 3;
71
+ */
72
+ bestMatch: boolean;
73
+ /**
74
+ * @generated from field: optional string launch_url = 4;
75
+ */
76
+ launchUrl?: string;
77
+ /**
78
+ * @generated from field: optional string reason = 5;
79
+ */
80
+ reason?: string;
81
+ };
82
+ /**
83
+ * Describes the message uplim.api.v1.OpenWithOption.
84
+ * Use `create(OpenWithOptionSchema)` to create a new message.
85
+ */
86
+ export declare const OpenWithOptionSchema: GenMessage<OpenWithOption>;
87
+ /**
88
+ * @generated from message uplim.api.v1.ResolveResourceIntegrationsRequest
89
+ */
90
+ export type ResolveResourceIntegrationsRequest = Message<"uplim.api.v1.ResolveResourceIntegrationsRequest"> & {
91
+ /**
92
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
93
+ */
94
+ bucketRef?: BucketRef;
95
+ /**
96
+ * @generated from oneof uplim.api.v1.ResolveResourceIntegrationsRequest.target
97
+ */
98
+ target: {
99
+ /**
100
+ * @generated from field: uplim.api.v1.UploadRef upload_ref = 2;
101
+ */
102
+ value: UploadRef;
103
+ case: "uploadRef";
104
+ } | {
105
+ /**
106
+ * @generated from field: uplim.api.v1.FolderRef folder_ref = 3;
107
+ */
108
+ value: FolderRef;
109
+ case: "folderRef";
110
+ } | {
111
+ case: undefined;
112
+ value?: undefined;
113
+ };
114
+ };
115
+ /**
116
+ * Describes the message uplim.api.v1.ResolveResourceIntegrationsRequest.
117
+ * Use `create(ResolveResourceIntegrationsRequestSchema)` to create a new message.
118
+ */
119
+ export declare const ResolveResourceIntegrationsRequestSchema: GenMessage<ResolveResourceIntegrationsRequest>;
120
+ /**
121
+ * @generated from message uplim.api.v1.ResolveResourceIntegrationsResponse
122
+ */
123
+ export type ResolveResourceIntegrationsResponse = Message<"uplim.api.v1.ResolveResourceIntegrationsResponse"> & {
124
+ /**
125
+ * @generated from field: optional uplim.api.v1.Integration renderer_integration = 1;
126
+ */
127
+ rendererIntegration?: Integration;
128
+ /**
129
+ * @generated from field: optional uplim.api.v1.IntegrationRendererConfig renderer = 2;
130
+ */
131
+ renderer?: IntegrationRendererConfig;
132
+ /**
133
+ * @generated from field: repeated uplim.api.v1.OpenWithOption open_with = 3;
134
+ */
135
+ openWith: OpenWithOption[];
136
+ /**
137
+ * Self-signed token for loading the renderer archive asset.
138
+ *
139
+ * @generated from field: optional string renderer_access_token = 4;
140
+ */
141
+ rendererAccessToken?: string;
142
+ /**
143
+ * @generated from field: optional google.protobuf.Timestamp renderer_access_token_expires_at = 5;
144
+ */
145
+ rendererAccessTokenExpiresAt?: Timestamp;
146
+ /**
147
+ * OAuth access token scoped to the integration's client, for the renderer to call APIs.
148
+ *
149
+ * @generated from field: optional string integration_access_token = 6;
150
+ */
151
+ integrationAccessToken?: string;
152
+ /**
153
+ * @generated from field: optional google.protobuf.Timestamp integration_access_token_expires_at = 7;
154
+ */
155
+ integrationAccessTokenExpiresAt?: Timestamp;
156
+ /**
157
+ * The user's resolved default Open-With for this resource, if they've previously
158
+ * picked one for the (content_type, extension) pair. Always one of the entries
159
+ * in open_with above. Null if no default has been set.
160
+ *
161
+ * @generated from field: optional uplim.api.v1.OpenWithOption default_application = 8;
162
+ */
163
+ defaultApplication?: OpenWithOption;
164
+ /**
165
+ * True when the caller has installed application-mode integrations whose content
166
+ * types match this resource, but has not yet picked a default. UIs use this to
167
+ * show an Open-With picker on first open.
168
+ *
169
+ * @generated from field: bool default_unset = 9;
170
+ */
171
+ defaultUnset: boolean;
172
+ };
173
+ /**
174
+ * Describes the message uplim.api.v1.ResolveResourceIntegrationsResponse.
175
+ * Use `create(ResolveResourceIntegrationsResponseSchema)` to create a new message.
176
+ */
177
+ export declare const ResolveResourceIntegrationsResponseSchema: GenMessage<ResolveResourceIntegrationsResponse>;
178
+ /**
179
+ * @generated from message uplim.api.v1.CreateOpenWithLaunchRequest
180
+ */
181
+ export type CreateOpenWithLaunchRequest = Message<"uplim.api.v1.CreateOpenWithLaunchRequest"> & {
182
+ /**
183
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
184
+ */
185
+ bucketRef?: BucketRef;
186
+ /**
187
+ * @generated from field: string integration_id = 2;
188
+ */
189
+ integrationId: string;
190
+ /**
191
+ * The content type to use for this launch
192
+ *
193
+ * @generated from field: string content_type_id = 5;
194
+ */
195
+ contentTypeId: string;
196
+ /**
197
+ * @generated from oneof uplim.api.v1.CreateOpenWithLaunchRequest.target
198
+ */
199
+ target: {
200
+ /**
201
+ * @generated from field: uplim.api.v1.UploadRef upload_ref = 3;
202
+ */
203
+ value: UploadRef;
204
+ case: "uploadRef";
205
+ } | {
206
+ /**
207
+ * @generated from field: uplim.api.v1.FolderRef folder_ref = 4;
208
+ */
209
+ value: FolderRef;
210
+ case: "folderRef";
211
+ } | {
212
+ case: undefined;
213
+ value?: undefined;
214
+ };
215
+ };
216
+ /**
217
+ * Describes the message uplim.api.v1.CreateOpenWithLaunchRequest.
218
+ * Use `create(CreateOpenWithLaunchRequestSchema)` to create a new message.
219
+ */
220
+ export declare const CreateOpenWithLaunchRequestSchema: GenMessage<CreateOpenWithLaunchRequest>;
221
+ /**
222
+ * @generated from message uplim.api.v1.CreateOpenWithLaunchResponse
223
+ */
224
+ export type CreateOpenWithLaunchResponse = Message<"uplim.api.v1.CreateOpenWithLaunchResponse"> & {
225
+ /**
226
+ * @generated from field: string launch_url = 1;
227
+ */
228
+ launchUrl: string;
229
+ /**
230
+ * @generated from field: google.protobuf.Timestamp expires_at = 2;
231
+ */
232
+ expiresAt?: Timestamp;
233
+ };
234
+ /**
235
+ * Describes the message uplim.api.v1.CreateOpenWithLaunchResponse.
236
+ * Use `create(CreateOpenWithLaunchResponseSchema)` to create a new message.
237
+ */
238
+ export declare const CreateOpenWithLaunchResponseSchema: GenMessage<CreateOpenWithLaunchResponse>;
239
+ /**
240
+ * @generated from message uplim.api.v1.ResolveOpenWithTokenRequest
241
+ */
242
+ export type ResolveOpenWithTokenRequest = Message<"uplim.api.v1.ResolveOpenWithTokenRequest"> & {
243
+ /**
244
+ * @generated from field: string token = 1;
245
+ */
246
+ token: string;
247
+ };
248
+ /**
249
+ * Describes the message uplim.api.v1.ResolveOpenWithTokenRequest.
250
+ * Use `create(ResolveOpenWithTokenRequestSchema)` to create a new message.
251
+ */
252
+ export declare const ResolveOpenWithTokenRequestSchema: GenMessage<ResolveOpenWithTokenRequest>;
253
+ /**
254
+ * @generated from message uplim.api.v1.ResolveOpenWithTokenResponse
255
+ */
256
+ export type ResolveOpenWithTokenResponse = Message<"uplim.api.v1.ResolveOpenWithTokenResponse"> & {
257
+ /**
258
+ * @generated from oneof uplim.api.v1.ResolveOpenWithTokenResponse.target
259
+ */
260
+ target: {
261
+ /**
262
+ * @generated from field: uplim.api.v1.Upload upload = 1;
263
+ */
264
+ value: Upload;
265
+ case: "upload";
266
+ } | {
267
+ /**
268
+ * @generated from field: uplim.api.v1.Folder folder = 2;
269
+ */
270
+ value: Folder;
271
+ case: "folder";
272
+ } | {
273
+ case: undefined;
274
+ value?: undefined;
275
+ };
276
+ /**
277
+ * @generated from field: optional string download_url = 3;
278
+ */
279
+ downloadUrl?: string;
280
+ /**
281
+ * @generated from field: google.protobuf.Timestamp expires_at = 4;
282
+ */
283
+ expiresAt?: Timestamp;
284
+ };
285
+ /**
286
+ * Describes the message uplim.api.v1.ResolveOpenWithTokenResponse.
287
+ * Use `create(ResolveOpenWithTokenResponseSchema)` to create a new message.
288
+ */
289
+ export declare const ResolveOpenWithTokenResponseSchema: GenMessage<ResolveOpenWithTokenResponse>;
290
+ /**
291
+ * @generated from message uplim.api.v1.VerifyThumbnailQueueTokenRequest
292
+ */
293
+ export type VerifyThumbnailQueueTokenRequest = Message<"uplim.api.v1.VerifyThumbnailQueueTokenRequest"> & {
294
+ /**
295
+ * @generated from field: string token = 1;
296
+ */
297
+ token: string;
298
+ };
299
+ /**
300
+ * Describes the message uplim.api.v1.VerifyThumbnailQueueTokenRequest.
301
+ * Use `create(VerifyThumbnailQueueTokenRequestSchema)` to create a new message.
302
+ */
303
+ export declare const VerifyThumbnailQueueTokenRequestSchema: GenMessage<VerifyThumbnailQueueTokenRequest>;
304
+ /**
305
+ * @generated from message uplim.api.v1.VerifyThumbnailQueueTokenResponse
306
+ */
307
+ export type VerifyThumbnailQueueTokenResponse = Message<"uplim.api.v1.VerifyThumbnailQueueTokenResponse"> & {
308
+ /**
309
+ * @generated from field: string integration_id = 1;
310
+ */
311
+ integrationId: string;
312
+ /**
313
+ * @generated from field: string integration_name = 2;
314
+ */
315
+ integrationName: string;
316
+ /**
317
+ * @generated from field: string oauth_client_id = 3;
318
+ */
319
+ oauthClientId: string;
320
+ /**
321
+ * @generated from field: string pool_id = 4;
322
+ */
323
+ poolId: string;
324
+ };
325
+ /**
326
+ * Describes the message uplim.api.v1.VerifyThumbnailQueueTokenResponse.
327
+ * Use `create(VerifyThumbnailQueueTokenResponseSchema)` to create a new message.
328
+ */
329
+ export declare const VerifyThumbnailQueueTokenResponseSchema: GenMessage<VerifyThumbnailQueueTokenResponse>;
330
+ /**
331
+ * @generated from message uplim.api.v1.ListNewFileOptionsRequest
332
+ */
333
+ export type ListNewFileOptionsRequest = Message<"uplim.api.v1.ListNewFileOptionsRequest"> & {};
334
+ /**
335
+ * Describes the message uplim.api.v1.ListNewFileOptionsRequest.
336
+ * Use `create(ListNewFileOptionsRequestSchema)` to create a new message.
337
+ */
338
+ export declare const ListNewFileOptionsRequestSchema: GenMessage<ListNewFileOptionsRequest>;
339
+ /**
340
+ * @generated from message uplim.api.v1.ListNewFileOptionsResponse
341
+ */
342
+ export type ListNewFileOptionsResponse = Message<"uplim.api.v1.ListNewFileOptionsResponse"> & {
343
+ /**
344
+ * @generated from field: repeated uplim.api.v1.NewFileOption options = 1;
345
+ */
346
+ options: NewFileOption[];
347
+ };
348
+ /**
349
+ * Describes the message uplim.api.v1.ListNewFileOptionsResponse.
350
+ * Use `create(ListNewFileOptionsResponseSchema)` to create a new message.
351
+ */
352
+ export declare const ListNewFileOptionsResponseSchema: GenMessage<ListNewFileOptionsResponse>;
353
+ /**
354
+ * @generated from message uplim.api.v1.NewFileOption
355
+ */
356
+ export type NewFileOption = Message<"uplim.api.v1.NewFileOption"> & {
357
+ /**
358
+ * @generated from field: uplim.api.v1.IntegrationRef integration = 1;
359
+ */
360
+ integration?: IntegrationRef;
361
+ /**
362
+ * @generated from field: uplim.api.v1.IntegrationNewFile new_file = 2;
363
+ */
364
+ newFile?: IntegrationNewFile;
365
+ };
366
+ /**
367
+ * Describes the message uplim.api.v1.NewFileOption.
368
+ * Use `create(NewFileOptionSchema)` to create a new message.
369
+ */
370
+ export declare const NewFileOptionSchema: GenMessage<NewFileOption>;
371
+ /**
372
+ * @generated from message uplim.api.v1.ListAvailableApplicationsRequest
373
+ */
374
+ export type ListAvailableApplicationsRequest = Message<"uplim.api.v1.ListAvailableApplicationsRequest"> & {};
375
+ /**
376
+ * Describes the message uplim.api.v1.ListAvailableApplicationsRequest.
377
+ * Use `create(ListAvailableApplicationsRequestSchema)` to create a new message.
378
+ */
379
+ export declare const ListAvailableApplicationsRequestSchema: GenMessage<ListAvailableApplicationsRequest>;
380
+ /**
381
+ * @generated from message uplim.api.v1.ListAvailableApplicationsResponse
382
+ */
383
+ export type ListAvailableApplicationsResponse = Message<"uplim.api.v1.ListAvailableApplicationsResponse"> & {
384
+ /**
385
+ * Catalogue of all application-mode integrations. Includes both installed and
386
+ * not-installed for a given bucket; the per-bucket install state is in
387
+ * ListBucketApplications.
388
+ *
389
+ * @generated from field: repeated uplim.api.v1.Integration applications = 1;
390
+ */
391
+ applications: Integration[];
392
+ };
393
+ /**
394
+ * Describes the message uplim.api.v1.ListAvailableApplicationsResponse.
395
+ * Use `create(ListAvailableApplicationsResponseSchema)` to create a new message.
396
+ */
397
+ export declare const ListAvailableApplicationsResponseSchema: GenMessage<ListAvailableApplicationsResponse>;
398
+ /**
399
+ * @generated from message uplim.api.v1.ListBucketApplicationsRequest
400
+ */
401
+ export type ListBucketApplicationsRequest = Message<"uplim.api.v1.ListBucketApplicationsRequest"> & {
402
+ /**
403
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
404
+ */
405
+ bucketRef?: BucketRef;
406
+ };
407
+ /**
408
+ * Describes the message uplim.api.v1.ListBucketApplicationsRequest.
409
+ * Use `create(ListBucketApplicationsRequestSchema)` to create a new message.
410
+ */
411
+ export declare const ListBucketApplicationsRequestSchema: GenMessage<ListBucketApplicationsRequest>;
412
+ /**
413
+ * @generated from message uplim.api.v1.ListBucketApplicationsResponse
414
+ */
415
+ export type ListBucketApplicationsResponse = Message<"uplim.api.v1.ListBucketApplicationsResponse"> & {
416
+ /**
417
+ * @generated from field: repeated uplim.api.v1.Integration applications = 1;
418
+ */
419
+ applications: Integration[];
420
+ };
421
+ /**
422
+ * Describes the message uplim.api.v1.ListBucketApplicationsResponse.
423
+ * Use `create(ListBucketApplicationsResponseSchema)` to create a new message.
424
+ */
425
+ export declare const ListBucketApplicationsResponseSchema: GenMessage<ListBucketApplicationsResponse>;
426
+ /**
427
+ * @generated from message uplim.api.v1.InstallApplicationOnBucketRequest
428
+ */
429
+ export type InstallApplicationOnBucketRequest = Message<"uplim.api.v1.InstallApplicationOnBucketRequest"> & {
430
+ /**
431
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
432
+ */
433
+ bucketRef?: BucketRef;
434
+ /**
435
+ * @generated from field: string integration_id = 2;
436
+ */
437
+ integrationId: string;
438
+ };
439
+ /**
440
+ * Describes the message uplim.api.v1.InstallApplicationOnBucketRequest.
441
+ * Use `create(InstallApplicationOnBucketRequestSchema)` to create a new message.
442
+ */
443
+ export declare const InstallApplicationOnBucketRequestSchema: GenMessage<InstallApplicationOnBucketRequest>;
444
+ /**
445
+ * @generated from message uplim.api.v1.InstallApplicationOnBucketResponse
446
+ */
447
+ export type InstallApplicationOnBucketResponse = Message<"uplim.api.v1.InstallApplicationOnBucketResponse"> & {
448
+ /**
449
+ * @generated from field: uplim.api.v1.Integration application = 1;
450
+ */
451
+ application?: Integration;
452
+ };
453
+ /**
454
+ * Describes the message uplim.api.v1.InstallApplicationOnBucketResponse.
455
+ * Use `create(InstallApplicationOnBucketResponseSchema)` to create a new message.
456
+ */
457
+ export declare const InstallApplicationOnBucketResponseSchema: GenMessage<InstallApplicationOnBucketResponse>;
458
+ /**
459
+ * @generated from message uplim.api.v1.UninstallApplicationFromBucketRequest
460
+ */
461
+ export type UninstallApplicationFromBucketRequest = Message<"uplim.api.v1.UninstallApplicationFromBucketRequest"> & {
462
+ /**
463
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
464
+ */
465
+ bucketRef?: BucketRef;
466
+ /**
467
+ * @generated from field: string integration_id = 2;
468
+ */
469
+ integrationId: string;
470
+ };
471
+ /**
472
+ * Describes the message uplim.api.v1.UninstallApplicationFromBucketRequest.
473
+ * Use `create(UninstallApplicationFromBucketRequestSchema)` to create a new message.
474
+ */
475
+ export declare const UninstallApplicationFromBucketRequestSchema: GenMessage<UninstallApplicationFromBucketRequest>;
476
+ /**
477
+ * @generated from message uplim.api.v1.BucketOpenWithDefault
478
+ */
479
+ export type BucketOpenWithDefault = Message<"uplim.api.v1.BucketOpenWithDefault"> & {
480
+ /**
481
+ * Resolved content type the preference applies to.
482
+ *
483
+ * @generated from field: string content_type_id = 1;
484
+ */
485
+ contentTypeId: string;
486
+ /**
487
+ * Optional file extension (empty string means "applies to all matches of this content type").
488
+ *
489
+ * @generated from field: string extension = 2;
490
+ */
491
+ extension: string;
492
+ /**
493
+ * Empty string here means "bucket admin picked built-in / no app" for this pair.
494
+ *
495
+ * @generated from field: string integration_id = 3;
496
+ */
497
+ integrationId: string;
498
+ /**
499
+ * @generated from field: google.protobuf.Timestamp updated_at = 4;
500
+ */
501
+ updatedAt?: Timestamp;
502
+ };
503
+ /**
504
+ * Describes the message uplim.api.v1.BucketOpenWithDefault.
505
+ * Use `create(BucketOpenWithDefaultSchema)` to create a new message.
506
+ */
507
+ export declare const BucketOpenWithDefaultSchema: GenMessage<BucketOpenWithDefault>;
508
+ /**
509
+ * @generated from message uplim.api.v1.SetBucketDefaultOpenWithRequest
510
+ */
511
+ export type SetBucketDefaultOpenWithRequest = Message<"uplim.api.v1.SetBucketDefaultOpenWithRequest"> & {
512
+ /**
513
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
514
+ */
515
+ bucketRef?: BucketRef;
516
+ /**
517
+ * @generated from field: string content_type_id = 2;
518
+ */
519
+ contentTypeId: string;
520
+ /**
521
+ * Empty string applies the default to all matches of the content type.
522
+ *
523
+ * @generated from field: string extension = 3;
524
+ */
525
+ extension: string;
526
+ /**
527
+ * Empty string explicitly records "no app — use built-in preview" for this pair.
528
+ *
529
+ * @generated from field: string integration_id = 4;
530
+ */
531
+ integrationId: string;
532
+ };
533
+ /**
534
+ * Describes the message uplim.api.v1.SetBucketDefaultOpenWithRequest.
535
+ * Use `create(SetBucketDefaultOpenWithRequestSchema)` to create a new message.
536
+ */
537
+ export declare const SetBucketDefaultOpenWithRequestSchema: GenMessage<SetBucketDefaultOpenWithRequest>;
538
+ /**
539
+ * @generated from message uplim.api.v1.SetBucketDefaultOpenWithResponse
540
+ */
541
+ export type SetBucketDefaultOpenWithResponse = Message<"uplim.api.v1.SetBucketDefaultOpenWithResponse"> & {
542
+ /**
543
+ * @generated from field: uplim.api.v1.BucketOpenWithDefault default = 1;
544
+ */
545
+ default?: BucketOpenWithDefault;
546
+ };
547
+ /**
548
+ * Describes the message uplim.api.v1.SetBucketDefaultOpenWithResponse.
549
+ * Use `create(SetBucketDefaultOpenWithResponseSchema)` to create a new message.
550
+ */
551
+ export declare const SetBucketDefaultOpenWithResponseSchema: GenMessage<SetBucketDefaultOpenWithResponse>;
552
+ /**
553
+ * @generated from message uplim.api.v1.ListBucketDefaultOpenWithRequest
554
+ */
555
+ export type ListBucketDefaultOpenWithRequest = Message<"uplim.api.v1.ListBucketDefaultOpenWithRequest"> & {
556
+ /**
557
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
558
+ */
559
+ bucketRef?: BucketRef;
560
+ };
561
+ /**
562
+ * Describes the message uplim.api.v1.ListBucketDefaultOpenWithRequest.
563
+ * Use `create(ListBucketDefaultOpenWithRequestSchema)` to create a new message.
564
+ */
565
+ export declare const ListBucketDefaultOpenWithRequestSchema: GenMessage<ListBucketDefaultOpenWithRequest>;
566
+ /**
567
+ * @generated from message uplim.api.v1.ListBucketDefaultOpenWithResponse
568
+ */
569
+ export type ListBucketDefaultOpenWithResponse = Message<"uplim.api.v1.ListBucketDefaultOpenWithResponse"> & {
570
+ /**
571
+ * @generated from field: repeated uplim.api.v1.BucketOpenWithDefault defaults = 1;
572
+ */
573
+ defaults: BucketOpenWithDefault[];
574
+ };
575
+ /**
576
+ * Describes the message uplim.api.v1.ListBucketDefaultOpenWithResponse.
577
+ * Use `create(ListBucketDefaultOpenWithResponseSchema)` to create a new message.
578
+ */
579
+ export declare const ListBucketDefaultOpenWithResponseSchema: GenMessage<ListBucketDefaultOpenWithResponse>;
580
+ /**
581
+ * @generated from message uplim.api.v1.TriggerOpenWithThumbnailRequest
582
+ */
583
+ export type TriggerOpenWithThumbnailRequest = Message<"uplim.api.v1.TriggerOpenWithThumbnailRequest"> & {
584
+ /**
585
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 1;
586
+ */
587
+ bucketRef?: BucketRef;
588
+ /**
589
+ * @generated from field: string upload_id = 2;
590
+ */
591
+ uploadId: string;
592
+ /**
593
+ * @generated from field: string integration_id = 3;
594
+ */
595
+ integrationId: string;
596
+ /**
597
+ * @generated from field: string content_type_id = 4;
598
+ */
599
+ contentTypeId: string;
600
+ };
601
+ /**
602
+ * Describes the message uplim.api.v1.TriggerOpenWithThumbnailRequest.
603
+ * Use `create(TriggerOpenWithThumbnailRequestSchema)` to create a new message.
604
+ */
605
+ export declare const TriggerOpenWithThumbnailRequestSchema: GenMessage<TriggerOpenWithThumbnailRequest>;
606
+ /**
607
+ * @generated from message uplim.api.v1.TriggerOpenWithThumbnailResponse
608
+ */
609
+ export type TriggerOpenWithThumbnailResponse = Message<"uplim.api.v1.TriggerOpenWithThumbnailResponse"> & {
610
+ /**
611
+ * True when a job was enqueued; false when no thumbnail parser is configured
612
+ * (caller can safely skip retry).
613
+ *
614
+ * @generated from field: bool enqueued = 1;
615
+ */
616
+ enqueued: boolean;
617
+ };
618
+ /**
619
+ * Describes the message uplim.api.v1.TriggerOpenWithThumbnailResponse.
620
+ * Use `create(TriggerOpenWithThumbnailResponseSchema)` to create a new message.
621
+ */
622
+ export declare const TriggerOpenWithThumbnailResponseSchema: GenMessage<TriggerOpenWithThumbnailResponse>;
623
+ /**
624
+ * @generated from message uplim.api.v1.GenerateIntegrationTokenRequest
625
+ */
626
+ export type GenerateIntegrationTokenRequest = Message<"uplim.api.v1.GenerateIntegrationTokenRequest"> & {
627
+ /**
628
+ * @generated from field: string integration_id = 1;
629
+ */
630
+ integrationId: string;
631
+ /**
632
+ * @generated from field: uplim.api.v1.BucketRef bucket_ref = 2;
633
+ */
634
+ bucketRef?: BucketRef;
635
+ /**
636
+ * @generated from oneof uplim.api.v1.GenerateIntegrationTokenRequest.target
637
+ */
638
+ target: {
639
+ /**
640
+ * @generated from field: uplim.api.v1.UploadRef upload_ref = 3;
641
+ */
642
+ value: UploadRef;
643
+ case: "uploadRef";
644
+ } | {
645
+ /**
646
+ * @generated from field: uplim.api.v1.FolderRef folder_ref = 4;
647
+ */
648
+ value: FolderRef;
649
+ case: "folderRef";
650
+ } | {
651
+ case: undefined;
652
+ value?: undefined;
653
+ };
654
+ /**
655
+ * If true, generate a non-expiring token (requires auth:forever scope on the subject token).
656
+ *
657
+ * @generated from field: bool forever = 5;
658
+ */
659
+ forever: boolean;
660
+ /**
661
+ * Optional duration string (e.g. "30d", "1y"). Ignored if forever is true.
662
+ *
663
+ * @generated from field: optional string duration = 6;
664
+ */
665
+ duration?: string;
666
+ };
667
+ /**
668
+ * Describes the message uplim.api.v1.GenerateIntegrationTokenRequest.
669
+ * Use `create(GenerateIntegrationTokenRequestSchema)` to create a new message.
670
+ */
671
+ export declare const GenerateIntegrationTokenRequestSchema: GenMessage<GenerateIntegrationTokenRequest>;
672
+ /**
673
+ * @generated from message uplim.api.v1.GenerateIntegrationTokenResponse
674
+ */
675
+ export type GenerateIntegrationTokenResponse = Message<"uplim.api.v1.GenerateIntegrationTokenResponse"> & {
676
+ /**
677
+ * @generated from field: string access_token = 1;
678
+ */
679
+ accessToken: string;
680
+ /**
681
+ * @generated from field: optional google.protobuf.Timestamp expires_at = 2;
682
+ */
683
+ expiresAt?: Timestamp;
684
+ };
685
+ /**
686
+ * Describes the message uplim.api.v1.GenerateIntegrationTokenResponse.
687
+ * Use `create(GenerateIntegrationTokenResponseSchema)` to create a new message.
688
+ */
689
+ export declare const GenerateIntegrationTokenResponseSchema: GenMessage<GenerateIntegrationTokenResponse>;
690
+ /**
691
+ * @generated from service uplim.api.v1.IntegrationsService
692
+ */
693
+ export declare const IntegrationsService: GenService<{
694
+ /**
695
+ * @generated from rpc uplim.api.v1.IntegrationsService.ListIntegrations
696
+ */
697
+ listIntegrations: {
698
+ methodKind: "unary";
699
+ input: typeof ListIntegrationsRequestSchema;
700
+ output: typeof ListIntegrationsResponseSchema;
701
+ };
702
+ /**
703
+ * @generated from rpc uplim.api.v1.IntegrationsService.ResolveResourceIntegrations
704
+ */
705
+ resolveResourceIntegrations: {
706
+ methodKind: "unary";
707
+ input: typeof ResolveResourceIntegrationsRequestSchema;
708
+ output: typeof ResolveResourceIntegrationsResponseSchema;
709
+ };
710
+ /**
711
+ * @generated from rpc uplim.api.v1.IntegrationsService.CreateOpenWithLaunch
712
+ */
713
+ createOpenWithLaunch: {
714
+ methodKind: "unary";
715
+ input: typeof CreateOpenWithLaunchRequestSchema;
716
+ output: typeof CreateOpenWithLaunchResponseSchema;
717
+ };
718
+ /**
719
+ * @generated from rpc uplim.api.v1.IntegrationsService.ResolveOpenWithToken
720
+ */
721
+ resolveOpenWithToken: {
722
+ methodKind: "unary";
723
+ input: typeof ResolveOpenWithTokenRequestSchema;
724
+ output: typeof ResolveOpenWithTokenResponseSchema;
725
+ };
726
+ /**
727
+ * @generated from rpc uplim.api.v1.IntegrationsService.VerifyThumbnailQueueToken
728
+ */
729
+ verifyThumbnailQueueToken: {
730
+ methodKind: "unary";
731
+ input: typeof VerifyThumbnailQueueTokenRequestSchema;
732
+ output: typeof VerifyThumbnailQueueTokenResponseSchema;
733
+ };
734
+ /**
735
+ * @generated from rpc uplim.api.v1.IntegrationsService.GenerateIntegrationToken
736
+ */
737
+ generateIntegrationToken: {
738
+ methodKind: "unary";
739
+ input: typeof GenerateIntegrationTokenRequestSchema;
740
+ output: typeof GenerateIntegrationTokenResponseSchema;
741
+ };
742
+ /**
743
+ * @generated from rpc uplim.api.v1.IntegrationsService.ListNewFileOptions
744
+ */
745
+ listNewFileOptions: {
746
+ methodKind: "unary";
747
+ input: typeof ListNewFileOptionsRequestSchema;
748
+ output: typeof ListNewFileOptionsResponseSchema;
749
+ };
750
+ /**
751
+ * @generated from rpc uplim.api.v1.IntegrationsService.ListAvailableApplications
752
+ */
753
+ listAvailableApplications: {
754
+ methodKind: "unary";
755
+ input: typeof ListAvailableApplicationsRequestSchema;
756
+ output: typeof ListAvailableApplicationsResponseSchema;
757
+ };
758
+ /**
759
+ * @generated from rpc uplim.api.v1.IntegrationsService.ListBucketApplications
760
+ */
761
+ listBucketApplications: {
762
+ methodKind: "unary";
763
+ input: typeof ListBucketApplicationsRequestSchema;
764
+ output: typeof ListBucketApplicationsResponseSchema;
765
+ };
766
+ /**
767
+ * @generated from rpc uplim.api.v1.IntegrationsService.InstallApplicationOnBucket
768
+ */
769
+ installApplicationOnBucket: {
770
+ methodKind: "unary";
771
+ input: typeof InstallApplicationOnBucketRequestSchema;
772
+ output: typeof InstallApplicationOnBucketResponseSchema;
773
+ };
774
+ /**
775
+ * @generated from rpc uplim.api.v1.IntegrationsService.UninstallApplicationFromBucket
776
+ */
777
+ uninstallApplicationFromBucket: {
778
+ methodKind: "unary";
779
+ input: typeof UninstallApplicationFromBucketRequestSchema;
780
+ output: typeof EmptySchema;
781
+ };
782
+ /**
783
+ * @generated from rpc uplim.api.v1.IntegrationsService.SetBucketDefaultOpenWith
784
+ */
785
+ setBucketDefaultOpenWith: {
786
+ methodKind: "unary";
787
+ input: typeof SetBucketDefaultOpenWithRequestSchema;
788
+ output: typeof SetBucketDefaultOpenWithResponseSchema;
789
+ };
790
+ /**
791
+ * @generated from rpc uplim.api.v1.IntegrationsService.ListBucketDefaultOpenWith
792
+ */
793
+ listBucketDefaultOpenWith: {
794
+ methodKind: "unary";
795
+ input: typeof ListBucketDefaultOpenWithRequestSchema;
796
+ output: typeof ListBucketDefaultOpenWithResponseSchema;
797
+ };
798
+ /**
799
+ * @generated from rpc uplim.api.v1.IntegrationsService.TriggerOpenWithThumbnail
800
+ */
801
+ triggerOpenWithThumbnail: {
802
+ methodKind: "unary";
803
+ input: typeof TriggerOpenWithThumbnailRequestSchema;
804
+ output: typeof TriggerOpenWithThumbnailResponseSchema;
805
+ };
806
+ }>;
807
+ //# sourceMappingURL=integrations_pb.d.ts.map