@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,594 @@
1
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=.js"
2
+ // @generated from file uplim/workflow/v1/integration_queue_admin.proto (package uplim.workflow.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_descriptor, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import { file_uplim_workflow_v1_workflows } from "./workflows_pb.js";
10
+ import type { Message } from "@bufbuild/protobuf";
11
+
12
+ /**
13
+ * Describes the file uplim/workflow/v1/integration_queue_admin.proto.
14
+ */
15
+ export const file_uplim_workflow_v1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VwbDpwaXBlbGluZTphZG1pbhKpAQoSR2V0Sm9iU3RhdHVzQ291bnRzEjwudXBsaW0ud29ya2Zsb3cudjEuR2V0SW50ZWdyYXRpb25RdWV1ZUpvYlN0YXR1c0NvdW50c1JlcXVlc3QaPS51cGxpbS53b3JrZmxvdy52MS5HZXRJbnRlZ3JhdGlvblF1ZXVlSm9iU3RhdHVzQ291bnRzUmVzcG9uc2UiFoq1GBJ1cGw6cGlwZWxpbmU6YWRtaW4SlAEKC0xpc3RXb3JrZXJzEjUudXBsaW0ud29ya2Zsb3cudjEuTGlzdEludGVncmF0aW9uUXVldWVXb3JrZXJzUmVxdWVzdBo2LnVwbGltLndvcmtmbG93LnYxLkxpc3RJbnRlZ3JhdGlvblF1ZXVlV29ya2Vyc1Jlc3BvbnNlIhaKtRgSdXBsOnBpcGVsaW5lOmFkbWluEpYBCg9HZXRRdWV1ZU1ldHJpY3MSNC51cGxpbS53b3JrZmxvdy52MS5HZXRJbnRlZ3JhdGlvblF1ZXVlTWV0cmljc1JlcXVlc3QaNS51cGxpbS53b3JrZmxvdy52MS5HZXRJbnRlZ3JhdGlvblF1ZXVlTWV0cmljc1Jlc3BvbnNlIhaKtRgSdXBsOnBpcGVsaW5lOmFkbWluQuQBChVjb20udXBsaW0ud29ya2Zsb3cudjFCGkludGVncmF0aW9uUXVldWVBZG1pblByb3RvUAFaSWdpdGh1Yi5jb20veGVvbnIvdXBsLWltLWFwaS9wcm90by9nZW4vdXBsaW0vd29ya2Zsb3cvdjE7dXBsaW1fd29ya2Zsb3dfdjGiAgNVV1iqAhFVcGxpbS5Xb3JrZmxvdy5WMcoCEVVwbGltXFdvcmtmbG93XFYx4gIdVXBsaW1cV29ya2Zsb3dcVjFcR1BCTWV0YWRhdGHqAhNVcGxpbTo6V29ya2Zsb3c6OlYxYgZwcm90bzM", [file_google_protobuf_timestamp, file_google_protobuf_descriptor, file_uplim_workflow_v1_workflows]);
17
+
18
+ /**
19
+ * @generated from message uplim.workflow.v1.IntegrationQueueJob
20
+ */
21
+ export type IntegrationQueueJob = Message<"uplim.workflow.v1.IntegrationQueueJob"> & {
22
+ /**
23
+ * @generated from field: string job_id = 1;
24
+ */
25
+ jobId: string;
26
+
27
+ /**
28
+ * @generated from field: string pool_id = 2;
29
+ */
30
+ poolId: string;
31
+
32
+ /**
33
+ * @generated from field: string worker_id = 3;
34
+ */
35
+ workerId: string;
36
+
37
+ /**
38
+ * @generated from field: uplim.workflow.v1.IntegrationQueueJobStatus status = 4;
39
+ */
40
+ status: IntegrationQueueJobStatus;
41
+
42
+ /**
43
+ * @generated from field: string payload_json = 5;
44
+ */
45
+ payloadJson: string;
46
+
47
+ /**
48
+ * @generated from field: string error = 6;
49
+ */
50
+ error: string;
51
+
52
+ /**
53
+ * @generated from field: google.protobuf.Timestamp created_at = 7;
54
+ */
55
+ createdAt?: Timestamp;
56
+
57
+ /**
58
+ * @generated from field: google.protobuf.Timestamp dispatched_at = 8;
59
+ */
60
+ dispatchedAt?: Timestamp;
61
+
62
+ /**
63
+ * @generated from field: google.protobuf.Timestamp accepted_at = 9;
64
+ */
65
+ acceptedAt?: Timestamp;
66
+
67
+ /**
68
+ * @generated from field: google.protobuf.Timestamp completed_at = 10;
69
+ */
70
+ completedAt?: Timestamp;
71
+
72
+ /**
73
+ * @generated from field: int64 latency_ms = 11 [jstype = JS_STRING];
74
+ */
75
+ latencyMs: string;
76
+
77
+ /**
78
+ * Whether this job is live in Redis (true) or loaded from historic store (false).
79
+ *
80
+ * @generated from field: bool live = 12;
81
+ */
82
+ live: boolean;
83
+ };
84
+
85
+ /**
86
+ * Describes the message uplim.workflow.v1.IntegrationQueueJob.
87
+ * Use `create(IntegrationQueueJobSchema)` to create a new message.
88
+ */
89
+ export const IntegrationQueueJobSchema: GenMessage<IntegrationQueueJob> = /*@__PURE__*/
90
+ messageDesc(file_uplim_workflow_v1_integration_queue_admin, 0);
91
+
92
+ /**
93
+ * @generated from message uplim.workflow.v1.IntegrationQueueWorker
94
+ */
95
+ export type IntegrationQueueWorker = Message<"uplim.workflow.v1.IntegrationQueueWorker"> & {
96
+ /**
97
+ * @generated from field: string worker_id = 1;
98
+ */
99
+ workerId: string;
100
+
101
+ /**
102
+ * @generated from field: string pool_id = 2;
103
+ */
104
+ poolId: string;
105
+
106
+ /**
107
+ * @generated from field: google.protobuf.Timestamp connected_at = 3;
108
+ */
109
+ connectedAt?: Timestamp;
110
+
111
+ /**
112
+ * Whether the worker has an active SSE connection on this instance.
113
+ *
114
+ * @generated from field: bool sse_connected = 4;
115
+ */
116
+ sseConnected: boolean;
117
+
118
+ /**
119
+ * @generated from field: repeated string active_job_ids = 5;
120
+ */
121
+ activeJobIds: string[];
122
+ };
123
+
124
+ /**
125
+ * Describes the message uplim.workflow.v1.IntegrationQueueWorker.
126
+ * Use `create(IntegrationQueueWorkerSchema)` to create a new message.
127
+ */
128
+ export const IntegrationQueueWorkerSchema: GenMessage<IntegrationQueueWorker> = /*@__PURE__*/
129
+ messageDesc(file_uplim_workflow_v1_integration_queue_admin, 1);
130
+
131
+ /**
132
+ * @generated from message uplim.workflow.v1.GetIntegrationQueueJobRequest
133
+ */
134
+ export type GetIntegrationQueueJobRequest = Message<"uplim.workflow.v1.GetIntegrationQueueJobRequest"> & {
135
+ /**
136
+ * @generated from field: string pool_id = 1;
137
+ */
138
+ poolId: string;
139
+
140
+ /**
141
+ * @generated from field: string job_id = 2;
142
+ */
143
+ jobId: string;
144
+ };
145
+
146
+ /**
147
+ * Describes the message uplim.workflow.v1.GetIntegrationQueueJobRequest.
148
+ * Use `create(GetIntegrationQueueJobRequestSchema)` to create a new message.
149
+ */
150
+ export const GetIntegrationQueueJobRequestSchema: GenMessage<GetIntegrationQueueJobRequest> = /*@__PURE__*/
151
+ messageDesc(file_uplim_workflow_v1_integration_queue_admin, 2);
152
+
153
+ /**
154
+ * @generated from message uplim.workflow.v1.GetIntegrationQueueJobResponse
155
+ */
156
+ export type GetIntegrationQueueJobResponse = Message<"uplim.workflow.v1.GetIntegrationQueueJobResponse"> & {
157
+ /**
158
+ * @generated from field: uplim.workflow.v1.IntegrationQueueJob job = 1;
159
+ */
160
+ job?: IntegrationQueueJob;
161
+ };
162
+
163
+ /**
164
+ * Describes the message uplim.workflow.v1.GetIntegrationQueueJobResponse.
165
+ * Use `create(GetIntegrationQueueJobResponseSchema)` to create a new message.
166
+ */
167
+ export const GetIntegrationQueueJobResponseSchema: GenMessage<GetIntegrationQueueJobResponse> = /*@__PURE__*/
168
+ messageDesc(file_uplim_workflow_v1_integration_queue_admin, 3);
169
+
170
+ /**
171
+ * @generated from message uplim.workflow.v1.ListIntegrationQueueJobsRequest
172
+ */
173
+ export type ListIntegrationQueueJobsRequest = Message<"uplim.workflow.v1.ListIntegrationQueueJobsRequest"> & {
174
+ /**
175
+ * @generated from field: string pool_id = 1;
176
+ */
177
+ poolId: string;
178
+
179
+ /**
180
+ * @generated from field: repeated uplim.workflow.v1.IntegrationQueueJobStatus status = 2;
181
+ */
182
+ status: IntegrationQueueJobStatus[];
183
+
184
+ /**
185
+ * @generated from field: google.protobuf.Timestamp from = 3;
186
+ */
187
+ from?: Timestamp;
188
+
189
+ /**
190
+ * @generated from field: google.protobuf.Timestamp to = 4;
191
+ */
192
+ to?: Timestamp;
193
+
194
+ /**
195
+ * @generated from field: uplim.workflow.v1.IntegrationQueueJobSortBy sort_by = 5;
196
+ */
197
+ sortBy: IntegrationQueueJobSortBy;
198
+
199
+ /**
200
+ * @generated from field: uplim.workflow.v1.IntegrationQueueJobSortDirection sort_direction = 6;
201
+ */
202
+ sortDirection: IntegrationQueueJobSortDirection;
203
+
204
+ /**
205
+ * @generated from field: uint32 page_size = 7;
206
+ */
207
+ pageSize: number;
208
+
209
+ /**
210
+ * @generated from field: string page_token = 8;
211
+ */
212
+ pageToken: string;
213
+ };
214
+
215
+ /**
216
+ * Describes the message uplim.workflow.v1.ListIntegrationQueueJobsRequest.
217
+ * Use `create(ListIntegrationQueueJobsRequestSchema)` to create a new message.
218
+ */
219
+ export const ListIntegrationQueueJobsRequestSchema: GenMessage<ListIntegrationQueueJobsRequest> = /*@__PURE__*/
220
+ messageDesc(file_uplim_workflow_v1_integration_queue_admin, 4);
221
+
222
+ /**
223
+ * @generated from message uplim.workflow.v1.ListIntegrationQueueJobsResponse
224
+ */
225
+ export type ListIntegrationQueueJobsResponse = Message<"uplim.workflow.v1.ListIntegrationQueueJobsResponse"> & {
226
+ /**
227
+ * @generated from field: repeated uplim.workflow.v1.IntegrationQueueJob jobs = 1;
228
+ */
229
+ jobs: IntegrationQueueJob[];
230
+
231
+ /**
232
+ * @generated from field: string next_page_token = 2;
233
+ */
234
+ nextPageToken: string;
235
+ };
236
+
237
+ /**
238
+ * Describes the message uplim.workflow.v1.ListIntegrationQueueJobsResponse.
239
+ * Use `create(ListIntegrationQueueJobsResponseSchema)` to create a new message.
240
+ */
241
+ export const ListIntegrationQueueJobsResponseSchema: GenMessage<ListIntegrationQueueJobsResponse> = /*@__PURE__*/
242
+ messageDesc(file_uplim_workflow_v1_integration_queue_admin, 5);
243
+
244
+ /**
245
+ * @generated from message uplim.workflow.v1.GetIntegrationQueueJobStatusCountsRequest
246
+ */
247
+ export type GetIntegrationQueueJobStatusCountsRequest = Message<"uplim.workflow.v1.GetIntegrationQueueJobStatusCountsRequest"> & {
248
+ /**
249
+ * @generated from field: string pool_id = 1;
250
+ */
251
+ poolId: string;
252
+
253
+ /**
254
+ * @generated from field: google.protobuf.Timestamp from = 2;
255
+ */
256
+ from?: Timestamp;
257
+
258
+ /**
259
+ * @generated from field: google.protobuf.Timestamp to = 3;
260
+ */
261
+ to?: Timestamp;
262
+ };
263
+
264
+ /**
265
+ * Describes the message uplim.workflow.v1.GetIntegrationQueueJobStatusCountsRequest.
266
+ * Use `create(GetIntegrationQueueJobStatusCountsRequestSchema)` to create a new message.
267
+ */
268
+ export const GetIntegrationQueueJobStatusCountsRequestSchema: GenMessage<GetIntegrationQueueJobStatusCountsRequest> = /*@__PURE__*/
269
+ messageDesc(file_uplim_workflow_v1_integration_queue_admin, 6);
270
+
271
+ /**
272
+ * @generated from message uplim.workflow.v1.GetIntegrationQueueJobStatusCountsResponse
273
+ */
274
+ export type GetIntegrationQueueJobStatusCountsResponse = Message<"uplim.workflow.v1.GetIntegrationQueueJobStatusCountsResponse"> & {
275
+ /**
276
+ * @generated from field: uint64 total_count = 1 [jstype = JS_STRING];
277
+ */
278
+ totalCount: string;
279
+
280
+ /**
281
+ * @generated from field: uint64 pending_count = 2 [jstype = JS_STRING];
282
+ */
283
+ pendingCount: string;
284
+
285
+ /**
286
+ * @generated from field: uint64 dispatched_count = 3 [jstype = JS_STRING];
287
+ */
288
+ dispatchedCount: string;
289
+
290
+ /**
291
+ * @generated from field: uint64 accepted_count = 4 [jstype = JS_STRING];
292
+ */
293
+ acceptedCount: string;
294
+
295
+ /**
296
+ * @generated from field: uint64 completed_count = 5 [jstype = JS_STRING];
297
+ */
298
+ completedCount: string;
299
+
300
+ /**
301
+ * @generated from field: uint64 failed_count = 6 [jstype = JS_STRING];
302
+ */
303
+ failedCount: string;
304
+ };
305
+
306
+ /**
307
+ * Describes the message uplim.workflow.v1.GetIntegrationQueueJobStatusCountsResponse.
308
+ * Use `create(GetIntegrationQueueJobStatusCountsResponseSchema)` to create a new message.
309
+ */
310
+ export const GetIntegrationQueueJobStatusCountsResponseSchema: GenMessage<GetIntegrationQueueJobStatusCountsResponse> = /*@__PURE__*/
311
+ messageDesc(file_uplim_workflow_v1_integration_queue_admin, 7);
312
+
313
+ /**
314
+ * @generated from message uplim.workflow.v1.ListIntegrationQueueWorkersRequest
315
+ */
316
+ export type ListIntegrationQueueWorkersRequest = Message<"uplim.workflow.v1.ListIntegrationQueueWorkersRequest"> & {
317
+ /**
318
+ * @generated from field: string pool_id = 1;
319
+ */
320
+ poolId: string;
321
+ };
322
+
323
+ /**
324
+ * Describes the message uplim.workflow.v1.ListIntegrationQueueWorkersRequest.
325
+ * Use `create(ListIntegrationQueueWorkersRequestSchema)` to create a new message.
326
+ */
327
+ export const ListIntegrationQueueWorkersRequestSchema: GenMessage<ListIntegrationQueueWorkersRequest> = /*@__PURE__*/
328
+ messageDesc(file_uplim_workflow_v1_integration_queue_admin, 8);
329
+
330
+ /**
331
+ * @generated from message uplim.workflow.v1.ListIntegrationQueueWorkersResponse
332
+ */
333
+ export type ListIntegrationQueueWorkersResponse = Message<"uplim.workflow.v1.ListIntegrationQueueWorkersResponse"> & {
334
+ /**
335
+ * @generated from field: repeated uplim.workflow.v1.IntegrationQueueWorker workers = 1;
336
+ */
337
+ workers: IntegrationQueueWorker[];
338
+ };
339
+
340
+ /**
341
+ * Describes the message uplim.workflow.v1.ListIntegrationQueueWorkersResponse.
342
+ * Use `create(ListIntegrationQueueWorkersResponseSchema)` to create a new message.
343
+ */
344
+ export const ListIntegrationQueueWorkersResponseSchema: GenMessage<ListIntegrationQueueWorkersResponse> = /*@__PURE__*/
345
+ messageDesc(file_uplim_workflow_v1_integration_queue_admin, 9);
346
+
347
+ /**
348
+ * @generated from message uplim.workflow.v1.GetIntegrationQueueMetricsRequest
349
+ */
350
+ export type GetIntegrationQueueMetricsRequest = Message<"uplim.workflow.v1.GetIntegrationQueueMetricsRequest"> & {
351
+ /**
352
+ * @generated from field: string pool_id = 1;
353
+ */
354
+ poolId: string;
355
+
356
+ /**
357
+ * @generated from field: google.protobuf.Timestamp from = 2;
358
+ */
359
+ from?: Timestamp;
360
+
361
+ /**
362
+ * @generated from field: google.protobuf.Timestamp to = 3;
363
+ */
364
+ to?: Timestamp;
365
+
366
+ /**
367
+ * Bucket granularity in seconds (60, 300, 900, 3600). Default: 300 (5min).
368
+ *
369
+ * @generated from field: uint32 bucket_seconds = 4;
370
+ */
371
+ bucketSeconds: number;
372
+ };
373
+
374
+ /**
375
+ * Describes the message uplim.workflow.v1.GetIntegrationQueueMetricsRequest.
376
+ * Use `create(GetIntegrationQueueMetricsRequestSchema)` to create a new message.
377
+ */
378
+ export const GetIntegrationQueueMetricsRequestSchema: GenMessage<GetIntegrationQueueMetricsRequest> = /*@__PURE__*/
379
+ messageDesc(file_uplim_workflow_v1_integration_queue_admin, 10);
380
+
381
+ /**
382
+ * @generated from message uplim.workflow.v1.IntegrationQueueMetricsBucket
383
+ */
384
+ export type IntegrationQueueMetricsBucket = Message<"uplim.workflow.v1.IntegrationQueueMetricsBucket"> & {
385
+ /**
386
+ * @generated from field: google.protobuf.Timestamp timestamp = 1;
387
+ */
388
+ timestamp?: Timestamp;
389
+
390
+ /**
391
+ * @generated from field: uint64 completed_count = 2 [jstype = JS_STRING];
392
+ */
393
+ completedCount: string;
394
+
395
+ /**
396
+ * @generated from field: uint64 failed_count = 3 [jstype = JS_STRING];
397
+ */
398
+ failedCount: string;
399
+
400
+ /**
401
+ * @generated from field: uint64 total_count = 4 [jstype = JS_STRING];
402
+ */
403
+ totalCount: string;
404
+
405
+ /**
406
+ * @generated from field: uint64 avg_latency_ms = 5 [jstype = JS_STRING];
407
+ */
408
+ avgLatencyMs: string;
409
+
410
+ /**
411
+ * @generated from field: uint64 p95_latency_ms = 6 [jstype = JS_STRING];
412
+ */
413
+ p95LatencyMs: string;
414
+
415
+ /**
416
+ * @generated from field: uint64 p99_latency_ms = 7 [jstype = JS_STRING];
417
+ */
418
+ p99LatencyMs: string;
419
+ };
420
+
421
+ /**
422
+ * Describes the message uplim.workflow.v1.IntegrationQueueMetricsBucket.
423
+ * Use `create(IntegrationQueueMetricsBucketSchema)` to create a new message.
424
+ */
425
+ export const IntegrationQueueMetricsBucketSchema: GenMessage<IntegrationQueueMetricsBucket> = /*@__PURE__*/
426
+ messageDesc(file_uplim_workflow_v1_integration_queue_admin, 11);
427
+
428
+ /**
429
+ * @generated from message uplim.workflow.v1.GetIntegrationQueueMetricsResponse
430
+ */
431
+ export type GetIntegrationQueueMetricsResponse = Message<"uplim.workflow.v1.GetIntegrationQueueMetricsResponse"> & {
432
+ /**
433
+ * @generated from field: repeated uplim.workflow.v1.IntegrationQueueMetricsBucket buckets = 1;
434
+ */
435
+ buckets: IntegrationQueueMetricsBucket[];
436
+ };
437
+
438
+ /**
439
+ * Describes the message uplim.workflow.v1.GetIntegrationQueueMetricsResponse.
440
+ * Use `create(GetIntegrationQueueMetricsResponseSchema)` to create a new message.
441
+ */
442
+ export const GetIntegrationQueueMetricsResponseSchema: GenMessage<GetIntegrationQueueMetricsResponse> = /*@__PURE__*/
443
+ messageDesc(file_uplim_workflow_v1_integration_queue_admin, 12);
444
+
445
+ /**
446
+ * @generated from enum uplim.workflow.v1.IntegrationQueueJobStatus
447
+ */
448
+ export enum IntegrationQueueJobStatus {
449
+ /**
450
+ * @generated from enum value: INTEGRATION_QUEUE_JOB_STATUS_UNSPECIFIED = 0;
451
+ */
452
+ UNSPECIFIED = 0,
453
+
454
+ /**
455
+ * @generated from enum value: INTEGRATION_QUEUE_JOB_STATUS_PENDING = 1;
456
+ */
457
+ PENDING = 1,
458
+
459
+ /**
460
+ * @generated from enum value: INTEGRATION_QUEUE_JOB_STATUS_DISPATCHED = 2;
461
+ */
462
+ DISPATCHED = 2,
463
+
464
+ /**
465
+ * @generated from enum value: INTEGRATION_QUEUE_JOB_STATUS_ACCEPTED = 3;
466
+ */
467
+ ACCEPTED = 3,
468
+
469
+ /**
470
+ * @generated from enum value: INTEGRATION_QUEUE_JOB_STATUS_COMPLETED = 4;
471
+ */
472
+ COMPLETED = 4,
473
+
474
+ /**
475
+ * @generated from enum value: INTEGRATION_QUEUE_JOB_STATUS_FAILED = 5;
476
+ */
477
+ FAILED = 5,
478
+ }
479
+
480
+ /**
481
+ * Describes the enum uplim.workflow.v1.IntegrationQueueJobStatus.
482
+ */
483
+ export const IntegrationQueueJobStatusSchema: GenEnum<IntegrationQueueJobStatus> = /*@__PURE__*/
484
+ enumDesc(file_uplim_workflow_v1_integration_queue_admin, 0);
485
+
486
+ /**
487
+ * @generated from enum uplim.workflow.v1.IntegrationQueueJobSortBy
488
+ */
489
+ export enum IntegrationQueueJobSortBy {
490
+ /**
491
+ * @generated from enum value: INTEGRATION_QUEUE_JOB_SORT_BY_UNSPECIFIED = 0;
492
+ */
493
+ UNSPECIFIED = 0,
494
+
495
+ /**
496
+ * @generated from enum value: INTEGRATION_QUEUE_JOB_SORT_BY_CREATED_AT = 1;
497
+ */
498
+ CREATED_AT = 1,
499
+
500
+ /**
501
+ * @generated from enum value: INTEGRATION_QUEUE_JOB_SORT_BY_COMPLETED_AT = 2;
502
+ */
503
+ COMPLETED_AT = 2,
504
+ }
505
+
506
+ /**
507
+ * Describes the enum uplim.workflow.v1.IntegrationQueueJobSortBy.
508
+ */
509
+ export const IntegrationQueueJobSortBySchema: GenEnum<IntegrationQueueJobSortBy> = /*@__PURE__*/
510
+ enumDesc(file_uplim_workflow_v1_integration_queue_admin, 1);
511
+
512
+ /**
513
+ * @generated from enum uplim.workflow.v1.IntegrationQueueJobSortDirection
514
+ */
515
+ export enum IntegrationQueueJobSortDirection {
516
+ /**
517
+ * @generated from enum value: INTEGRATION_QUEUE_JOB_SORT_DIRECTION_UNSPECIFIED = 0;
518
+ */
519
+ UNSPECIFIED = 0,
520
+
521
+ /**
522
+ * @generated from enum value: INTEGRATION_QUEUE_JOB_SORT_DIRECTION_DESC = 1;
523
+ */
524
+ DESC = 1,
525
+
526
+ /**
527
+ * @generated from enum value: INTEGRATION_QUEUE_JOB_SORT_DIRECTION_ASC = 2;
528
+ */
529
+ ASC = 2,
530
+ }
531
+
532
+ /**
533
+ * Describes the enum uplim.workflow.v1.IntegrationQueueJobSortDirection.
534
+ */
535
+ export const IntegrationQueueJobSortDirectionSchema: GenEnum<IntegrationQueueJobSortDirection> = /*@__PURE__*/
536
+ enumDesc(file_uplim_workflow_v1_integration_queue_admin, 2);
537
+
538
+ /**
539
+ * @generated from service uplim.workflow.v1.IntegrationQueueAdminService
540
+ */
541
+ export const IntegrationQueueAdminService: GenService<{
542
+ /**
543
+ * Get a single job by ID. Tries Redis first, falls back to MySQL.
544
+ *
545
+ * @generated from rpc uplim.workflow.v1.IntegrationQueueAdminService.GetJob
546
+ */
547
+ getJob: {
548
+ methodKind: "unary";
549
+ input: typeof GetIntegrationQueueJobRequestSchema;
550
+ output: typeof GetIntegrationQueueJobResponseSchema;
551
+ },
552
+ /**
553
+ * List jobs with filtering and pagination. Reads from MySQL historic store.
554
+ *
555
+ * @generated from rpc uplim.workflow.v1.IntegrationQueueAdminService.ListJobs
556
+ */
557
+ listJobs: {
558
+ methodKind: "unary";
559
+ input: typeof ListIntegrationQueueJobsRequestSchema;
560
+ output: typeof ListIntegrationQueueJobsResponseSchema;
561
+ },
562
+ /**
563
+ * Aggregate status counts for a pool.
564
+ *
565
+ * @generated from rpc uplim.workflow.v1.IntegrationQueueAdminService.GetJobStatusCounts
566
+ */
567
+ getJobStatusCounts: {
568
+ methodKind: "unary";
569
+ input: typeof GetIntegrationQueueJobStatusCountsRequestSchema;
570
+ output: typeof GetIntegrationQueueJobStatusCountsResponseSchema;
571
+ },
572
+ /**
573
+ * List connected workers for a pool.
574
+ *
575
+ * @generated from rpc uplim.workflow.v1.IntegrationQueueAdminService.ListWorkers
576
+ */
577
+ listWorkers: {
578
+ methodKind: "unary";
579
+ input: typeof ListIntegrationQueueWorkersRequestSchema;
580
+ output: typeof ListIntegrationQueueWorkersResponseSchema;
581
+ },
582
+ /**
583
+ * Historical time-series metrics from ClickHouse.
584
+ *
585
+ * @generated from rpc uplim.workflow.v1.IntegrationQueueAdminService.GetQueueMetrics
586
+ */
587
+ getQueueMetrics: {
588
+ methodKind: "unary";
589
+ input: typeof GetIntegrationQueueMetricsRequestSchema;
590
+ output: typeof GetIntegrationQueueMetricsResponseSchema;
591
+ },
592
+ }> = /*@__PURE__*/
593
+ serviceDesc(file_uplim_workflow_v1_integration_queue_admin, 0);
594
+