@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,460 @@
1
+ // Copyright 2025 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=.js"
16
+ // @generated from file google/longrunning/operations.proto (package google.longrunning, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenExtension, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
20
+ import { extDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
21
+ import { file_google_api_annotations } from "../api/annotations_pb.js";
22
+ import { file_google_api_client } from "../api/client_pb.js";
23
+ import { file_google_api_field_behavior } from "../api/field_behavior_pb.js";
24
+ import type { Any, Duration, EmptySchema, MethodOptions } from "@bufbuild/protobuf/wkt";
25
+ import { file_google_protobuf_any, file_google_protobuf_descriptor, file_google_protobuf_duration, file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
26
+ import type { Status } from "../rpc/status_pb.js";
27
+ import { file_google_rpc_status } from "../rpc/status_pb.js";
28
+ import type { Message } from "@bufbuild/protobuf";
29
+
30
+ /**
31
+ * Describes the file google/longrunning/operations.proto.
32
+ */
33
+ export const file_google_longrunning_operations: GenFile = /*@__PURE__*/
34
+ fileDesc("CiNnb29nbGUvbG9uZ3J1bm5pbmcvb3BlcmF0aW9ucy5wcm90bxISZ29vZ2xlLmxvbmdydW5uaW5nIqgBCglPcGVyYXRpb24SDAoEbmFtZRgBIAEoCRImCghtZXRhZGF0YRgCIAEoCzIULmdvb2dsZS5wcm90b2J1Zi5BbnkSDAoEZG9uZRgDIAEoCBIjCgVlcnJvchgEIAEoCzISLmdvb2dsZS5ycGMuU3RhdHVzSAASKAoIcmVzcG9uc2UYBSABKAsyFC5nb29nbGUucHJvdG9idWYuQW55SABCCAoGcmVzdWx0IiMKE0dldE9wZXJhdGlvblJlcXVlc3QSDAoEbmFtZRgBIAEoCSJ8ChVMaXN0T3BlcmF0aW9uc1JlcXVlc3QSDAoEbmFtZRgEIAEoCRIOCgZmaWx0ZXIYASABKAkSEQoJcGFnZV9zaXplGAIgASgFEhIKCnBhZ2VfdG9rZW4YAyABKAkSHgoWcmV0dXJuX3BhcnRpYWxfc3VjY2VzcxgFIAEoCCJ+ChZMaXN0T3BlcmF0aW9uc1Jlc3BvbnNlEjEKCm9wZXJhdGlvbnMYASADKAsyHS5nb29nbGUubG9uZ3J1bm5pbmcuT3BlcmF0aW9uEhcKD25leHRfcGFnZV90b2tlbhgCIAEoCRIYCgt1bnJlYWNoYWJsZRgDIAMoCUID4EEGIiYKFkNhbmNlbE9wZXJhdGlvblJlcXVlc3QSDAoEbmFtZRgBIAEoCSImChZEZWxldGVPcGVyYXRpb25SZXF1ZXN0EgwKBG5hbWUYASABKAkiUAoUV2FpdE9wZXJhdGlvblJlcXVlc3QSDAoEbmFtZRgBIAEoCRIqCgd0aW1lb3V0GAIgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uIj0KDU9wZXJhdGlvbkluZm8SFQoNcmVzcG9uc2VfdHlwZRgBIAEoCRIVCg1tZXRhZGF0YV90eXBlGAIgASgJMqoFCgpPcGVyYXRpb25zEpQBCg5MaXN0T3BlcmF0aW9ucxIpLmdvb2dsZS5sb25ncnVubmluZy5MaXN0T3BlcmF0aW9uc1JlcXVlc3QaKi5nb29nbGUubG9uZ3J1bm5pbmcuTGlzdE9wZXJhdGlvbnNSZXNwb25zZSIr2kELbmFtZSxmaWx0ZXKC0+STAhcSFS92MS97bmFtZT1vcGVyYXRpb25zfRJ/CgxHZXRPcGVyYXRpb24SJy5nb29nbGUubG9uZ3J1bm5pbmcuR2V0T3BlcmF0aW9uUmVxdWVzdBodLmdvb2dsZS5sb25ncnVubmluZy5PcGVyYXRpb24iJ9pBBG5hbWWC0+STAhoSGC92MS97bmFtZT1vcGVyYXRpb25zLyoqfRJ+Cg9EZWxldGVPcGVyYXRpb24SKi5nb29nbGUubG9uZ3J1bm5pbmcuRGVsZXRlT3BlcmF0aW9uUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIn2kEEbmFtZYLT5JMCGioYL3YxL3tuYW1lPW9wZXJhdGlvbnMvKip9EogBCg9DYW5jZWxPcGVyYXRpb24SKi5nb29nbGUubG9uZ3J1bm5pbmcuQ2FuY2VsT3BlcmF0aW9uUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIx2kEEbmFtZYLT5JMCJDoBKiIfL3YxL3tuYW1lPW9wZXJhdGlvbnMvKip9OmNhbmNlbBJaCg1XYWl0T3BlcmF0aW9uEiguZ29vZ2xlLmxvbmdydW5uaW5nLldhaXRPcGVyYXRpb25SZXF1ZXN0Gh0uZ29vZ2xlLmxvbmdydW5uaW5nLk9wZXJhdGlvbiIAGh3KQRpsb25ncnVubmluZy5nb29nbGVhcGlzLmNvbTppCg5vcGVyYXRpb25faW5mbxIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGJkIIAEoCzIhLmdvb2dsZS5sb25ncnVubmluZy5PcGVyYXRpb25JbmZvUg1vcGVyYXRpb25JbmZvQtcBChZjb20uZ29vZ2xlLmxvbmdydW5uaW5nQg9PcGVyYXRpb25zUHJvdG9QAVpDY2xvdWQuZ29vZ2xlLmNvbS9nby9sb25ncnVubmluZy9hdXRvZ2VuL2xvbmdydW5uaW5ncGI7bG9uZ3J1bm5pbmdwYqICA0dMWKoCEkdvb2dsZS5Mb25ncnVubmluZ8oCEkdvb2dsZVxMb25ncnVubmluZ+ICHkdvb2dsZVxMb25ncnVubmluZ1xHUEJNZXRhZGF0YeoCE0dvb2dsZTo6TG9uZ3J1bm5pbmdiBnByb3RvMw", [file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_protobuf_any, file_google_protobuf_descriptor, file_google_protobuf_duration, file_google_protobuf_empty, file_google_rpc_status]);
35
+
36
+ /**
37
+ * This resource represents a long-running operation that is the result of a
38
+ * network API call.
39
+ *
40
+ * @generated from message google.longrunning.Operation
41
+ */
42
+ export type Operation = Message<"google.longrunning.Operation"> & {
43
+ /**
44
+ * The server-assigned name, which is only unique within the same service that
45
+ * originally returns it. If you use the default HTTP mapping, the
46
+ * `name` should be a resource name ending with `operations/{unique_id}`.
47
+ *
48
+ * @generated from field: string name = 1;
49
+ */
50
+ name: string;
51
+
52
+ /**
53
+ * Service-specific metadata associated with the operation. It typically
54
+ * contains progress information and common metadata such as create time.
55
+ * Some services might not provide such metadata. Any method that returns a
56
+ * long-running operation should document the metadata type, if any.
57
+ *
58
+ * @generated from field: google.protobuf.Any metadata = 2;
59
+ */
60
+ metadata?: Any;
61
+
62
+ /**
63
+ * If the value is `false`, it means the operation is still in progress.
64
+ * If `true`, the operation is completed, and either `error` or `response` is
65
+ * available.
66
+ *
67
+ * @generated from field: bool done = 3;
68
+ */
69
+ done: boolean;
70
+
71
+ /**
72
+ * The operation result, which can be either an `error` or a valid `response`.
73
+ * If `done` == `false`, neither `error` nor `response` is set.
74
+ * If `done` == `true`, exactly one of `error` or `response` can be set.
75
+ * Some services might not provide the result.
76
+ *
77
+ * @generated from oneof google.longrunning.Operation.result
78
+ */
79
+ result: {
80
+ /**
81
+ * The error result of the operation in case of failure or cancellation.
82
+ *
83
+ * @generated from field: google.rpc.Status error = 4;
84
+ */
85
+ value: Status;
86
+ case: "error";
87
+ } | {
88
+ /**
89
+ * The normal, successful response of the operation. If the original
90
+ * method returns no data on success, such as `Delete`, the response is
91
+ * `google.protobuf.Empty`. If the original method is standard
92
+ * `Get`/`Create`/`Update`, the response should be the resource. For other
93
+ * methods, the response should have the type `XxxResponse`, where `Xxx`
94
+ * is the original method name. For example, if the original method name
95
+ * is `TakeSnapshot()`, the inferred response type is
96
+ * `TakeSnapshotResponse`.
97
+ *
98
+ * @generated from field: google.protobuf.Any response = 5;
99
+ */
100
+ value: Any;
101
+ case: "response";
102
+ } | { case: undefined; value?: undefined };
103
+ };
104
+
105
+ /**
106
+ * Describes the message google.longrunning.Operation.
107
+ * Use `create(OperationSchema)` to create a new message.
108
+ */
109
+ export const OperationSchema: GenMessage<Operation> = /*@__PURE__*/
110
+ messageDesc(file_google_longrunning_operations, 0);
111
+
112
+ /**
113
+ * The request message for
114
+ * [Operations.GetOperation][google.longrunning.Operations.GetOperation].
115
+ *
116
+ * @generated from message google.longrunning.GetOperationRequest
117
+ */
118
+ export type GetOperationRequest = Message<"google.longrunning.GetOperationRequest"> & {
119
+ /**
120
+ * The name of the operation resource.
121
+ *
122
+ * @generated from field: string name = 1;
123
+ */
124
+ name: string;
125
+ };
126
+
127
+ /**
128
+ * Describes the message google.longrunning.GetOperationRequest.
129
+ * Use `create(GetOperationRequestSchema)` to create a new message.
130
+ */
131
+ export const GetOperationRequestSchema: GenMessage<GetOperationRequest> = /*@__PURE__*/
132
+ messageDesc(file_google_longrunning_operations, 1);
133
+
134
+ /**
135
+ * The request message for
136
+ * [Operations.ListOperations][google.longrunning.Operations.ListOperations].
137
+ *
138
+ * @generated from message google.longrunning.ListOperationsRequest
139
+ */
140
+ export type ListOperationsRequest = Message<"google.longrunning.ListOperationsRequest"> & {
141
+ /**
142
+ * The name of the operation's parent resource.
143
+ *
144
+ * @generated from field: string name = 4;
145
+ */
146
+ name: string;
147
+
148
+ /**
149
+ * The standard list filter.
150
+ *
151
+ * @generated from field: string filter = 1;
152
+ */
153
+ filter: string;
154
+
155
+ /**
156
+ * The standard list page size.
157
+ *
158
+ * @generated from field: int32 page_size = 2;
159
+ */
160
+ pageSize: number;
161
+
162
+ /**
163
+ * The standard list page token.
164
+ *
165
+ * @generated from field: string page_token = 3;
166
+ */
167
+ pageToken: string;
168
+
169
+ /**
170
+ * When set to `true`, operations that are reachable are returned as normal,
171
+ * and those that are unreachable are returned in the
172
+ * [ListOperationsResponse.unreachable] field.
173
+ *
174
+ * This can only be `true` when reading across collections e.g. when `parent`
175
+ * is set to `"projects/example/locations/-"`.
176
+ *
177
+ * This field is not by default supported and will result in an
178
+ * `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
179
+ * service or product specific documentation.
180
+ *
181
+ * @generated from field: bool return_partial_success = 5;
182
+ */
183
+ returnPartialSuccess: boolean;
184
+ };
185
+
186
+ /**
187
+ * Describes the message google.longrunning.ListOperationsRequest.
188
+ * Use `create(ListOperationsRequestSchema)` to create a new message.
189
+ */
190
+ export const ListOperationsRequestSchema: GenMessage<ListOperationsRequest> = /*@__PURE__*/
191
+ messageDesc(file_google_longrunning_operations, 2);
192
+
193
+ /**
194
+ * The response message for
195
+ * [Operations.ListOperations][google.longrunning.Operations.ListOperations].
196
+ *
197
+ * @generated from message google.longrunning.ListOperationsResponse
198
+ */
199
+ export type ListOperationsResponse = Message<"google.longrunning.ListOperationsResponse"> & {
200
+ /**
201
+ * A list of operations that matches the specified filter in the request.
202
+ *
203
+ * @generated from field: repeated google.longrunning.Operation operations = 1;
204
+ */
205
+ operations: Operation[];
206
+
207
+ /**
208
+ * The standard List next-page token.
209
+ *
210
+ * @generated from field: string next_page_token = 2;
211
+ */
212
+ nextPageToken: string;
213
+
214
+ /**
215
+ * Unordered list. Unreachable resources. Populated when the request sets
216
+ * `ListOperationsRequest.return_partial_success` and reads across
217
+ * collections e.g. when attempting to list all resources across all supported
218
+ * locations.
219
+ *
220
+ * @generated from field: repeated string unreachable = 3;
221
+ */
222
+ unreachable: string[];
223
+ };
224
+
225
+ /**
226
+ * Describes the message google.longrunning.ListOperationsResponse.
227
+ * Use `create(ListOperationsResponseSchema)` to create a new message.
228
+ */
229
+ export const ListOperationsResponseSchema: GenMessage<ListOperationsResponse> = /*@__PURE__*/
230
+ messageDesc(file_google_longrunning_operations, 3);
231
+
232
+ /**
233
+ * The request message for
234
+ * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
235
+ *
236
+ * @generated from message google.longrunning.CancelOperationRequest
237
+ */
238
+ export type CancelOperationRequest = Message<"google.longrunning.CancelOperationRequest"> & {
239
+ /**
240
+ * The name of the operation resource to be cancelled.
241
+ *
242
+ * @generated from field: string name = 1;
243
+ */
244
+ name: string;
245
+ };
246
+
247
+ /**
248
+ * Describes the message google.longrunning.CancelOperationRequest.
249
+ * Use `create(CancelOperationRequestSchema)` to create a new message.
250
+ */
251
+ export const CancelOperationRequestSchema: GenMessage<CancelOperationRequest> = /*@__PURE__*/
252
+ messageDesc(file_google_longrunning_operations, 4);
253
+
254
+ /**
255
+ * The request message for
256
+ * [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation].
257
+ *
258
+ * @generated from message google.longrunning.DeleteOperationRequest
259
+ */
260
+ export type DeleteOperationRequest = Message<"google.longrunning.DeleteOperationRequest"> & {
261
+ /**
262
+ * The name of the operation resource to be deleted.
263
+ *
264
+ * @generated from field: string name = 1;
265
+ */
266
+ name: string;
267
+ };
268
+
269
+ /**
270
+ * Describes the message google.longrunning.DeleteOperationRequest.
271
+ * Use `create(DeleteOperationRequestSchema)` to create a new message.
272
+ */
273
+ export const DeleteOperationRequestSchema: GenMessage<DeleteOperationRequest> = /*@__PURE__*/
274
+ messageDesc(file_google_longrunning_operations, 5);
275
+
276
+ /**
277
+ * The request message for
278
+ * [Operations.WaitOperation][google.longrunning.Operations.WaitOperation].
279
+ *
280
+ * @generated from message google.longrunning.WaitOperationRequest
281
+ */
282
+ export type WaitOperationRequest = Message<"google.longrunning.WaitOperationRequest"> & {
283
+ /**
284
+ * The name of the operation resource to wait on.
285
+ *
286
+ * @generated from field: string name = 1;
287
+ */
288
+ name: string;
289
+
290
+ /**
291
+ * The maximum duration to wait before timing out. If left blank, the wait
292
+ * will be at most the time permitted by the underlying HTTP/RPC protocol.
293
+ * If RPC context deadline is also specified, the shorter one will be used.
294
+ *
295
+ * @generated from field: google.protobuf.Duration timeout = 2;
296
+ */
297
+ timeout?: Duration;
298
+ };
299
+
300
+ /**
301
+ * Describes the message google.longrunning.WaitOperationRequest.
302
+ * Use `create(WaitOperationRequestSchema)` to create a new message.
303
+ */
304
+ export const WaitOperationRequestSchema: GenMessage<WaitOperationRequest> = /*@__PURE__*/
305
+ messageDesc(file_google_longrunning_operations, 6);
306
+
307
+ /**
308
+ * A message representing the message types used by a long-running operation.
309
+ *
310
+ * Example:
311
+ *
312
+ * rpc Export(ExportRequest) returns (google.longrunning.Operation) {
313
+ * option (google.longrunning.operation_info) = {
314
+ * response_type: "ExportResponse"
315
+ * metadata_type: "ExportMetadata"
316
+ * };
317
+ * }
318
+ *
319
+ * @generated from message google.longrunning.OperationInfo
320
+ */
321
+ export type OperationInfo = Message<"google.longrunning.OperationInfo"> & {
322
+ /**
323
+ * Required. The message name of the primary return type for this
324
+ * long-running operation.
325
+ * This type will be used to deserialize the LRO's response.
326
+ *
327
+ * If the response is in a different package from the rpc, a fully-qualified
328
+ * message name must be used (e.g. `google.protobuf.Struct`).
329
+ *
330
+ * Note: Altering this value constitutes a breaking change.
331
+ *
332
+ * @generated from field: string response_type = 1;
333
+ */
334
+ responseType: string;
335
+
336
+ /**
337
+ * Required. The message name of the metadata type for this long-running
338
+ * operation.
339
+ *
340
+ * If the response is in a different package from the rpc, a fully-qualified
341
+ * message name must be used (e.g. `google.protobuf.Struct`).
342
+ *
343
+ * Note: Altering this value constitutes a breaking change.
344
+ *
345
+ * @generated from field: string metadata_type = 2;
346
+ */
347
+ metadataType: string;
348
+ };
349
+
350
+ /**
351
+ * Describes the message google.longrunning.OperationInfo.
352
+ * Use `create(OperationInfoSchema)` to create a new message.
353
+ */
354
+ export const OperationInfoSchema: GenMessage<OperationInfo> = /*@__PURE__*/
355
+ messageDesc(file_google_longrunning_operations, 7);
356
+
357
+ /**
358
+ * Manages long-running operations with an API service.
359
+ *
360
+ * When an API method normally takes long time to complete, it can be designed
361
+ * to return [Operation][google.longrunning.Operation] to the client, and the
362
+ * client can use this interface to receive the real response asynchronously by
363
+ * polling the operation resource, or pass the operation resource to another API
364
+ * (such as Pub/Sub API) to receive the response. Any API service that returns
365
+ * long-running operations should implement the `Operations` interface so
366
+ * developers can have a consistent client experience.
367
+ *
368
+ * @generated from service google.longrunning.Operations
369
+ */
370
+ export const Operations: GenService<{
371
+ /**
372
+ * Lists operations that match the specified filter in the request. If the
373
+ * server doesn't support this method, it returns `UNIMPLEMENTED`.
374
+ *
375
+ * @generated from rpc google.longrunning.Operations.ListOperations
376
+ */
377
+ listOperations: {
378
+ methodKind: "unary";
379
+ input: typeof ListOperationsRequestSchema;
380
+ output: typeof ListOperationsResponseSchema;
381
+ },
382
+ /**
383
+ * Gets the latest state of a long-running operation. Clients can use this
384
+ * method to poll the operation result at intervals as recommended by the API
385
+ * service.
386
+ *
387
+ * @generated from rpc google.longrunning.Operations.GetOperation
388
+ */
389
+ getOperation: {
390
+ methodKind: "unary";
391
+ input: typeof GetOperationRequestSchema;
392
+ output: typeof OperationSchema;
393
+ },
394
+ /**
395
+ * Deletes a long-running operation. This method indicates that the client is
396
+ * no longer interested in the operation result. It does not cancel the
397
+ * operation. If the server doesn't support this method, it returns
398
+ * `google.rpc.Code.UNIMPLEMENTED`.
399
+ *
400
+ * @generated from rpc google.longrunning.Operations.DeleteOperation
401
+ */
402
+ deleteOperation: {
403
+ methodKind: "unary";
404
+ input: typeof DeleteOperationRequestSchema;
405
+ output: typeof EmptySchema;
406
+ },
407
+ /**
408
+ * Starts asynchronous cancellation on a long-running operation. The server
409
+ * makes a best effort to cancel the operation, but success is not
410
+ * guaranteed. If the server doesn't support this method, it returns
411
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use
412
+ * [Operations.GetOperation][google.longrunning.Operations.GetOperation] or
413
+ * other methods to check whether the cancellation succeeded or whether the
414
+ * operation completed despite cancellation. On successful cancellation,
415
+ * the operation is not deleted; instead, it becomes an operation with
416
+ * an [Operation.error][google.longrunning.Operation.error] value with a
417
+ * [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to
418
+ * `Code.CANCELLED`.
419
+ *
420
+ * @generated from rpc google.longrunning.Operations.CancelOperation
421
+ */
422
+ cancelOperation: {
423
+ methodKind: "unary";
424
+ input: typeof CancelOperationRequestSchema;
425
+ output: typeof EmptySchema;
426
+ },
427
+ /**
428
+ * Waits until the specified long-running operation is done or reaches at most
429
+ * a specified timeout, returning the latest state. If the operation is
430
+ * already done, the latest state is immediately returned. If the timeout
431
+ * specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
432
+ * timeout is used. If the server does not support this method, it returns
433
+ * `google.rpc.Code.UNIMPLEMENTED`.
434
+ * Note that this method is on a best-effort basis. It may return the latest
435
+ * state before the specified timeout (including immediately), meaning even an
436
+ * immediate response is no guarantee that the operation is done.
437
+ *
438
+ * @generated from rpc google.longrunning.Operations.WaitOperation
439
+ */
440
+ waitOperation: {
441
+ methodKind: "unary";
442
+ input: typeof WaitOperationRequestSchema;
443
+ output: typeof OperationSchema;
444
+ },
445
+ }> = /*@__PURE__*/
446
+ serviceDesc(file_google_longrunning_operations, 0);
447
+
448
+ /**
449
+ * Additional information regarding long-running operations.
450
+ * In particular, this specifies the types that are returned from
451
+ * long-running operations.
452
+ *
453
+ * Required for methods that return `google.longrunning.Operation`; invalid
454
+ * otherwise.
455
+ *
456
+ * @generated from extension: google.longrunning.OperationInfo operation_info = 1049;
457
+ */
458
+ export const operation_info: GenExtension<MethodOptions, OperationInfo> = /*@__PURE__*/
459
+ extDesc(file_google_longrunning_operations, 0);
460
+