@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,662 @@
1
+ // Copyright 2026 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/rpc/error_details.proto (package google.rpc, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
21
+ import type { Duration } from "@bufbuild/protobuf/wkt";
22
+ import { file_google_protobuf_duration } from "@bufbuild/protobuf/wkt";
23
+ import type { Message } from "@bufbuild/protobuf";
24
+
25
+ /**
26
+ * Describes the file google/rpc/error_details.proto.
27
+ */
28
+ export const file_google_rpc_error_details: GenFile = /*@__PURE__*/
29
+ fileDesc("Ch5nb29nbGUvcnBjL2Vycm9yX2RldGFpbHMucHJvdG8SCmdvb2dsZS5ycGMikwEKCUVycm9ySW5mbxIOCgZyZWFzb24YASABKAkSDgoGZG9tYWluGAIgASgJEjUKCG1ldGFkYXRhGAMgAygLMiMuZ29vZ2xlLnJwYy5FcnJvckluZm8uTWV0YWRhdGFFbnRyeRovCg1NZXRhZGF0YUVudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEiOwoJUmV0cnlJbmZvEi4KC3JldHJ5X2RlbGF5GAEgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uIjIKCURlYnVnSW5mbxIVCg1zdGFja19lbnRyaWVzGAEgAygJEg4KBmRldGFpbBgCIAEoCSKXAwoMUXVvdGFGYWlsdXJlEjYKCnZpb2xhdGlvbnMYASADKAsyIi5nb29nbGUucnBjLlF1b3RhRmFpbHVyZS5WaW9sYXRpb24azgIKCVZpb2xhdGlvbhIPCgdzdWJqZWN0GAEgASgJEhMKC2Rlc2NyaXB0aW9uGAIgASgJEhMKC2FwaV9zZXJ2aWNlGAMgASgJEhQKDHF1b3RhX21ldHJpYxgEIAEoCRIQCghxdW90YV9pZBgFIAEoCRJRChBxdW90YV9kaW1lbnNpb25zGAYgAygLMjcuZ29vZ2xlLnJwYy5RdW90YUZhaWx1cmUuVmlvbGF0aW9uLlF1b3RhRGltZW5zaW9uc0VudHJ5EhcKC3F1b3RhX3ZhbHVlGAcgASgDQgIwARIjChJmdXR1cmVfcXVvdGFfdmFsdWUYCCABKANCAjABSACIAQEaNgoUUXVvdGFEaW1lbnNpb25zRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUIVChNfZnV0dXJlX3F1b3RhX3ZhbHVlIpUBChNQcmVjb25kaXRpb25GYWlsdXJlEj0KCnZpb2xhdGlvbnMYASADKAsyKS5nb29nbGUucnBjLlByZWNvbmRpdGlvbkZhaWx1cmUuVmlvbGF0aW9uGj8KCVZpb2xhdGlvbhIMCgR0eXBlGAEgASgJEg8KB3N1YmplY3QYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkizAEKCkJhZFJlcXVlc3QSPwoQZmllbGRfdmlvbGF0aW9ucxgBIAMoCzIlLmdvb2dsZS5ycGMuQmFkUmVxdWVzdC5GaWVsZFZpb2xhdGlvbhp9Cg5GaWVsZFZpb2xhdGlvbhINCgVmaWVsZBgBIAEoCRITCgtkZXNjcmlwdGlvbhgCIAEoCRIOCgZyZWFzb24YAyABKAkSNwoRbG9jYWxpemVkX21lc3NhZ2UYBCABKAsyHC5nb29nbGUucnBjLkxvY2FsaXplZE1lc3NhZ2UiNwoLUmVxdWVzdEluZm8SEgoKcmVxdWVzdF9pZBgBIAEoCRIUCgxzZXJ2aW5nX2RhdGEYAiABKAkiYAoMUmVzb3VyY2VJbmZvEhUKDXJlc291cmNlX3R5cGUYASABKAkSFQoNcmVzb3VyY2VfbmFtZRgCIAEoCRINCgVvd25lchgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCSJWCgRIZWxwEiQKBWxpbmtzGAEgAygLMhUuZ29vZ2xlLnJwYy5IZWxwLkxpbmsaKAoETGluaxITCgtkZXNjcmlwdGlvbhgBIAEoCRILCgN1cmwYAiABKAkiMwoQTG9jYWxpemVkTWVzc2FnZRIOCgZsb2NhbGUYASABKAkSDwoHbWVzc2FnZRgCIAEoCUKtAQoOY29tLmdvb2dsZS5ycGNCEUVycm9yRGV0YWlsc1Byb3RvUAFaP2dvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvcnBjL2VycmRldGFpbHM7ZXJyZGV0YWlsc6ICA0dSWKoCCkdvb2dsZS5ScGPKAgpHb29nbGVcUnBj4gIWR29vZ2xlXFJwY1xHUEJNZXRhZGF0YeoCC0dvb2dsZTo6UnBjYgZwcm90bzM", [file_google_protobuf_duration]);
30
+
31
+ /**
32
+ * Describes the cause of the error with structured details.
33
+ *
34
+ * Example of an error when contacting the "pubsub.googleapis.com" API when it
35
+ * is not enabled:
36
+ *
37
+ * { "reason": "API_DISABLED"
38
+ * "domain": "googleapis.com"
39
+ * "metadata": {
40
+ * "resource": "projects/123",
41
+ * "service": "pubsub.googleapis.com"
42
+ * }
43
+ * }
44
+ *
45
+ * This response indicates that the pubsub.googleapis.com API is not enabled.
46
+ *
47
+ * Example of an error that is returned when attempting to create a Spanner
48
+ * instance in a region that is out of stock:
49
+ *
50
+ * { "reason": "STOCKOUT"
51
+ * "domain": "spanner.googleapis.com",
52
+ * "metadata": {
53
+ * "availableRegions": "us-central1,us-east2"
54
+ * }
55
+ * }
56
+ *
57
+ * @generated from message google.rpc.ErrorInfo
58
+ */
59
+ export type ErrorInfo = Message<"google.rpc.ErrorInfo"> & {
60
+ /**
61
+ * The reason of the error. This is a constant value that identifies the
62
+ * proximate cause of the error. Error reasons are unique within a particular
63
+ * domain of errors. This should be at most 63 characters and match a
64
+ * regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents
65
+ * UPPER_SNAKE_CASE.
66
+ *
67
+ * @generated from field: string reason = 1;
68
+ */
69
+ reason: string;
70
+
71
+ /**
72
+ * The logical grouping to which the "reason" belongs. The error domain
73
+ * is typically the registered service name of the tool or product that
74
+ * generates the error. Example: "pubsub.googleapis.com". If the error is
75
+ * generated by some common infrastructure, the error domain must be a
76
+ * globally unique value that identifies the infrastructure. For Google API
77
+ * infrastructure, the error domain is "googleapis.com".
78
+ *
79
+ * @generated from field: string domain = 2;
80
+ */
81
+ domain: string;
82
+
83
+ /**
84
+ * Additional structured details about this error.
85
+ *
86
+ * Keys must match a regular expression of `[a-z][a-zA-Z0-9-_]+` but should
87
+ * ideally be lowerCamelCase. Also, they must be limited to 64 characters in
88
+ * length. When identifying the current value of an exceeded limit, the units
89
+ * should be contained in the key, not the value. For example, rather than
90
+ * `{"instanceLimit": "100/request"}`, should be returned as,
91
+ * `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
92
+ * instances that can be created in a single (batch) request.
93
+ *
94
+ * @generated from field: map<string, string> metadata = 3;
95
+ */
96
+ metadata: { [key: string]: string };
97
+ };
98
+
99
+ /**
100
+ * Describes the message google.rpc.ErrorInfo.
101
+ * Use `create(ErrorInfoSchema)` to create a new message.
102
+ */
103
+ export const ErrorInfoSchema: GenMessage<ErrorInfo> = /*@__PURE__*/
104
+ messageDesc(file_google_rpc_error_details, 0);
105
+
106
+ /**
107
+ * Describes when the clients can retry a failed request. Clients could ignore
108
+ * the recommendation here or retry when this information is missing from error
109
+ * responses.
110
+ *
111
+ * It's always recommended that clients should use exponential backoff when
112
+ * retrying.
113
+ *
114
+ * Clients should wait until `retry_delay` amount of time has passed since
115
+ * receiving the error response before retrying. If retrying requests also
116
+ * fail, clients should use an exponential backoff scheme to gradually increase
117
+ * the delay between retries based on `retry_delay`, until either a maximum
118
+ * number of retries have been reached or a maximum retry delay cap has been
119
+ * reached.
120
+ *
121
+ * @generated from message google.rpc.RetryInfo
122
+ */
123
+ export type RetryInfo = Message<"google.rpc.RetryInfo"> & {
124
+ /**
125
+ * Clients should wait at least this long between retrying the same request.
126
+ *
127
+ * @generated from field: google.protobuf.Duration retry_delay = 1;
128
+ */
129
+ retryDelay?: Duration;
130
+ };
131
+
132
+ /**
133
+ * Describes the message google.rpc.RetryInfo.
134
+ * Use `create(RetryInfoSchema)` to create a new message.
135
+ */
136
+ export const RetryInfoSchema: GenMessage<RetryInfo> = /*@__PURE__*/
137
+ messageDesc(file_google_rpc_error_details, 1);
138
+
139
+ /**
140
+ * Describes additional debugging info.
141
+ *
142
+ * @generated from message google.rpc.DebugInfo
143
+ */
144
+ export type DebugInfo = Message<"google.rpc.DebugInfo"> & {
145
+ /**
146
+ * The stack trace entries indicating where the error occurred.
147
+ *
148
+ * @generated from field: repeated string stack_entries = 1;
149
+ */
150
+ stackEntries: string[];
151
+
152
+ /**
153
+ * Additional debugging information provided by the server.
154
+ *
155
+ * @generated from field: string detail = 2;
156
+ */
157
+ detail: string;
158
+ };
159
+
160
+ /**
161
+ * Describes the message google.rpc.DebugInfo.
162
+ * Use `create(DebugInfoSchema)` to create a new message.
163
+ */
164
+ export const DebugInfoSchema: GenMessage<DebugInfo> = /*@__PURE__*/
165
+ messageDesc(file_google_rpc_error_details, 2);
166
+
167
+ /**
168
+ * Describes how a quota check failed.
169
+ *
170
+ * For example if a daily limit was exceeded for the calling project,
171
+ * a service could respond with a QuotaFailure detail containing the project
172
+ * id and the description of the quota limit that was exceeded. If the
173
+ * calling project hasn't enabled the service in the developer console, then
174
+ * a service could respond with the project id and set `service_disabled`
175
+ * to true.
176
+ *
177
+ * Also see RetryInfo and Help types for other details about handling a
178
+ * quota failure.
179
+ *
180
+ * @generated from message google.rpc.QuotaFailure
181
+ */
182
+ export type QuotaFailure = Message<"google.rpc.QuotaFailure"> & {
183
+ /**
184
+ * Describes all quota violations.
185
+ *
186
+ * @generated from field: repeated google.rpc.QuotaFailure.Violation violations = 1;
187
+ */
188
+ violations: QuotaFailure_Violation[];
189
+ };
190
+
191
+ /**
192
+ * Describes the message google.rpc.QuotaFailure.
193
+ * Use `create(QuotaFailureSchema)` to create a new message.
194
+ */
195
+ export const QuotaFailureSchema: GenMessage<QuotaFailure> = /*@__PURE__*/
196
+ messageDesc(file_google_rpc_error_details, 3);
197
+
198
+ /**
199
+ * A message type used to describe a single quota violation. For example, a
200
+ * daily quota or a custom quota that was exceeded.
201
+ *
202
+ * @generated from message google.rpc.QuotaFailure.Violation
203
+ */
204
+ export type QuotaFailure_Violation = Message<"google.rpc.QuotaFailure.Violation"> & {
205
+ /**
206
+ * The subject on which the quota check failed.
207
+ * For example, "clientip:<ip address of client>" or "project:<Google
208
+ * developer project id>".
209
+ *
210
+ * @generated from field: string subject = 1;
211
+ */
212
+ subject: string;
213
+
214
+ /**
215
+ * A description of how the quota check failed. Clients can use this
216
+ * description to find more about the quota configuration in the service's
217
+ * public documentation, or find the relevant quota limit to adjust through
218
+ * developer console.
219
+ *
220
+ * For example: "Service disabled" or "Daily Limit for read operations
221
+ * exceeded".
222
+ *
223
+ * @generated from field: string description = 2;
224
+ */
225
+ description: string;
226
+
227
+ /**
228
+ * The API Service from which the `QuotaFailure.Violation` orginates. In
229
+ * some cases, Quota issues originate from an API Service other than the one
230
+ * that was called. In other words, a dependency of the called API Service
231
+ * could be the cause of the `QuotaFailure`, and this field would have the
232
+ * dependency API service name.
233
+ *
234
+ * For example, if the called API is Kubernetes Engine API
235
+ * (container.googleapis.com), and a quota violation occurs in the
236
+ * Kubernetes Engine API itself, this field would be
237
+ * "container.googleapis.com". On the other hand, if the quota violation
238
+ * occurs when the Kubernetes Engine API creates VMs in the Compute Engine
239
+ * API (compute.googleapis.com), this field would be
240
+ * "compute.googleapis.com".
241
+ *
242
+ * @generated from field: string api_service = 3;
243
+ */
244
+ apiService: string;
245
+
246
+ /**
247
+ * The metric of the violated quota. A quota metric is a named counter to
248
+ * measure usage, such as API requests or CPUs. When an activity occurs in a
249
+ * service, such as Virtual Machine allocation, one or more quota metrics
250
+ * may be affected.
251
+ *
252
+ * For example, "compute.googleapis.com/cpus_per_vm_family",
253
+ * "storage.googleapis.com/internet_egress_bandwidth".
254
+ *
255
+ * @generated from field: string quota_metric = 4;
256
+ */
257
+ quotaMetric: string;
258
+
259
+ /**
260
+ * The id of the violated quota. Also know as "limit name", this is the
261
+ * unique identifier of a quota in the context of an API service.
262
+ *
263
+ * For example, "CPUS-PER-VM-FAMILY-per-project-region".
264
+ *
265
+ * @generated from field: string quota_id = 5;
266
+ */
267
+ quotaId: string;
268
+
269
+ /**
270
+ * The dimensions of the violated quota. Every non-global quota is enforced
271
+ * on a set of dimensions. While quota metric defines what to count, the
272
+ * dimensions specify for what aspects the counter should be increased.
273
+ *
274
+ * For example, the quota "CPUs per region per VM family" enforces a limit
275
+ * on the metric "compute.googleapis.com/cpus_per_vm_family" on dimensions
276
+ * "region" and "vm_family". And if the violation occurred in region
277
+ * "us-central1" and for VM family "n1", the quota_dimensions would be,
278
+ *
279
+ * {
280
+ * "region": "us-central1",
281
+ * "vm_family": "n1",
282
+ * }
283
+ *
284
+ * When a quota is enforced globally, the quota_dimensions would always be
285
+ * empty.
286
+ *
287
+ * @generated from field: map<string, string> quota_dimensions = 6;
288
+ */
289
+ quotaDimensions: { [key: string]: string };
290
+
291
+ /**
292
+ * The enforced quota value at the time of the `QuotaFailure`.
293
+ *
294
+ * For example, if the enforced quota value at the time of the
295
+ * `QuotaFailure` on the number of CPUs is "10", then the value of this
296
+ * field would reflect this quantity.
297
+ *
298
+ * @generated from field: int64 quota_value = 7 [jstype = JS_STRING];
299
+ */
300
+ quotaValue: string;
301
+
302
+ /**
303
+ * The new quota value being rolled out at the time of the violation. At the
304
+ * completion of the rollout, this value will be enforced in place of
305
+ * quota_value. If no rollout is in progress at the time of the violation,
306
+ * this field is not set.
307
+ *
308
+ * For example, if at the time of the violation a rollout is in progress
309
+ * changing the number of CPUs quota from 10 to 20, 20 would be the value of
310
+ * this field.
311
+ *
312
+ * @generated from field: optional int64 future_quota_value = 8 [jstype = JS_STRING];
313
+ */
314
+ futureQuotaValue?: string;
315
+ };
316
+
317
+ /**
318
+ * Describes the message google.rpc.QuotaFailure.Violation.
319
+ * Use `create(QuotaFailure_ViolationSchema)` to create a new message.
320
+ */
321
+ export const QuotaFailure_ViolationSchema: GenMessage<QuotaFailure_Violation> = /*@__PURE__*/
322
+ messageDesc(file_google_rpc_error_details, 3, 0);
323
+
324
+ /**
325
+ * Describes what preconditions have failed.
326
+ *
327
+ * For example, if an RPC failed because it required the Terms of Service to be
328
+ * acknowledged, it could list the terms of service violation in the
329
+ * PreconditionFailure message.
330
+ *
331
+ * @generated from message google.rpc.PreconditionFailure
332
+ */
333
+ export type PreconditionFailure = Message<"google.rpc.PreconditionFailure"> & {
334
+ /**
335
+ * Describes all precondition violations.
336
+ *
337
+ * @generated from field: repeated google.rpc.PreconditionFailure.Violation violations = 1;
338
+ */
339
+ violations: PreconditionFailure_Violation[];
340
+ };
341
+
342
+ /**
343
+ * Describes the message google.rpc.PreconditionFailure.
344
+ * Use `create(PreconditionFailureSchema)` to create a new message.
345
+ */
346
+ export const PreconditionFailureSchema: GenMessage<PreconditionFailure> = /*@__PURE__*/
347
+ messageDesc(file_google_rpc_error_details, 4);
348
+
349
+ /**
350
+ * A message type used to describe a single precondition failure.
351
+ *
352
+ * @generated from message google.rpc.PreconditionFailure.Violation
353
+ */
354
+ export type PreconditionFailure_Violation = Message<"google.rpc.PreconditionFailure.Violation"> & {
355
+ /**
356
+ * The type of PreconditionFailure. We recommend using a service-specific
357
+ * enum type to define the supported precondition violation subjects. For
358
+ * example, "TOS" for "Terms of Service violation".
359
+ *
360
+ * @generated from field: string type = 1;
361
+ */
362
+ type: string;
363
+
364
+ /**
365
+ * The subject, relative to the type, that failed.
366
+ * For example, "google.com/cloud" relative to the "TOS" type would indicate
367
+ * which terms of service is being referenced.
368
+ *
369
+ * @generated from field: string subject = 2;
370
+ */
371
+ subject: string;
372
+
373
+ /**
374
+ * A description of how the precondition failed. Developers can use this
375
+ * description to understand how to fix the failure.
376
+ *
377
+ * For example: "Terms of service not accepted".
378
+ *
379
+ * @generated from field: string description = 3;
380
+ */
381
+ description: string;
382
+ };
383
+
384
+ /**
385
+ * Describes the message google.rpc.PreconditionFailure.Violation.
386
+ * Use `create(PreconditionFailure_ViolationSchema)` to create a new message.
387
+ */
388
+ export const PreconditionFailure_ViolationSchema: GenMessage<PreconditionFailure_Violation> = /*@__PURE__*/
389
+ messageDesc(file_google_rpc_error_details, 4, 0);
390
+
391
+ /**
392
+ * Describes violations in a client request. This error type focuses on the
393
+ * syntactic aspects of the request.
394
+ *
395
+ * @generated from message google.rpc.BadRequest
396
+ */
397
+ export type BadRequest = Message<"google.rpc.BadRequest"> & {
398
+ /**
399
+ * Describes all violations in a client request.
400
+ *
401
+ * @generated from field: repeated google.rpc.BadRequest.FieldViolation field_violations = 1;
402
+ */
403
+ fieldViolations: BadRequest_FieldViolation[];
404
+ };
405
+
406
+ /**
407
+ * Describes the message google.rpc.BadRequest.
408
+ * Use `create(BadRequestSchema)` to create a new message.
409
+ */
410
+ export const BadRequestSchema: GenMessage<BadRequest> = /*@__PURE__*/
411
+ messageDesc(file_google_rpc_error_details, 5);
412
+
413
+ /**
414
+ * A message type used to describe a single bad request field.
415
+ *
416
+ * @generated from message google.rpc.BadRequest.FieldViolation
417
+ */
418
+ export type BadRequest_FieldViolation = Message<"google.rpc.BadRequest.FieldViolation"> & {
419
+ /**
420
+ * A path that leads to a field in the request body. The value will be a
421
+ * sequence of dot-separated identifiers that identify a protocol buffer
422
+ * field.
423
+ *
424
+ * Consider the following:
425
+ *
426
+ * message CreateContactRequest {
427
+ * message EmailAddress {
428
+ * enum Type {
429
+ * TYPE_UNSPECIFIED = 0;
430
+ * HOME = 1;
431
+ * WORK = 2;
432
+ * }
433
+ *
434
+ * optional string email = 1;
435
+ * repeated EmailType type = 2;
436
+ * }
437
+ *
438
+ * string full_name = 1;
439
+ * repeated EmailAddress email_addresses = 2;
440
+ * }
441
+ *
442
+ * In this example, in proto `field` could take one of the following values:
443
+ *
444
+ * * `full_name` for a violation in the `full_name` value
445
+ * * `email_addresses[0].email` for a violation in the `email` field of the
446
+ * first `email_addresses` message
447
+ * * `email_addresses[2].type[1]` for a violation in the second `type`
448
+ * value in the third `email_addresses` message.
449
+ *
450
+ * In JSON, the same values are represented as:
451
+ *
452
+ * * `fullName` for a violation in the `fullName` value
453
+ * * `emailAddresses[0].email` for a violation in the `email` field of the
454
+ * first `emailAddresses` message
455
+ * * `emailAddresses[2].type[1]` for a violation in the second `type`
456
+ * value in the third `emailAddresses` message.
457
+ *
458
+ * @generated from field: string field = 1;
459
+ */
460
+ field: string;
461
+
462
+ /**
463
+ * A description of why the request element is bad.
464
+ *
465
+ * @generated from field: string description = 2;
466
+ */
467
+ description: string;
468
+
469
+ /**
470
+ * The reason of the field-level error. This is a constant value that
471
+ * identifies the proximate cause of the field-level error. It should
472
+ * uniquely identify the type of the FieldViolation within the scope of the
473
+ * google.rpc.ErrorInfo.domain. This should be at most 63
474
+ * characters and match a regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`,
475
+ * which represents UPPER_SNAKE_CASE.
476
+ *
477
+ * @generated from field: string reason = 3;
478
+ */
479
+ reason: string;
480
+
481
+ /**
482
+ * Provides a localized error message for field-level errors that is safe to
483
+ * return to the API consumer.
484
+ *
485
+ * @generated from field: google.rpc.LocalizedMessage localized_message = 4;
486
+ */
487
+ localizedMessage?: LocalizedMessage;
488
+ };
489
+
490
+ /**
491
+ * Describes the message google.rpc.BadRequest.FieldViolation.
492
+ * Use `create(BadRequest_FieldViolationSchema)` to create a new message.
493
+ */
494
+ export const BadRequest_FieldViolationSchema: GenMessage<BadRequest_FieldViolation> = /*@__PURE__*/
495
+ messageDesc(file_google_rpc_error_details, 5, 0);
496
+
497
+ /**
498
+ * Contains metadata about the request that clients can attach when filing a bug
499
+ * or providing other forms of feedback.
500
+ *
501
+ * @generated from message google.rpc.RequestInfo
502
+ */
503
+ export type RequestInfo = Message<"google.rpc.RequestInfo"> & {
504
+ /**
505
+ * An opaque string that should only be interpreted by the service generating
506
+ * it. For example, it can be used to identify requests in the service's logs.
507
+ *
508
+ * @generated from field: string request_id = 1;
509
+ */
510
+ requestId: string;
511
+
512
+ /**
513
+ * Any data that was used to serve this request. For example, an encrypted
514
+ * stack trace that can be sent back to the service provider for debugging.
515
+ *
516
+ * @generated from field: string serving_data = 2;
517
+ */
518
+ servingData: string;
519
+ };
520
+
521
+ /**
522
+ * Describes the message google.rpc.RequestInfo.
523
+ * Use `create(RequestInfoSchema)` to create a new message.
524
+ */
525
+ export const RequestInfoSchema: GenMessage<RequestInfo> = /*@__PURE__*/
526
+ messageDesc(file_google_rpc_error_details, 6);
527
+
528
+ /**
529
+ * Describes the resource that is being accessed.
530
+ *
531
+ * @generated from message google.rpc.ResourceInfo
532
+ */
533
+ export type ResourceInfo = Message<"google.rpc.ResourceInfo"> & {
534
+ /**
535
+ * A name for the type of resource being accessed, e.g. "sql table",
536
+ * "cloud storage bucket", "file", "Google calendar"; or the type URL
537
+ * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
538
+ *
539
+ * @generated from field: string resource_type = 1;
540
+ */
541
+ resourceType: string;
542
+
543
+ /**
544
+ * The name of the resource being accessed. For example, a shared calendar
545
+ * name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
546
+ * error is
547
+ * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
548
+ *
549
+ * @generated from field: string resource_name = 2;
550
+ */
551
+ resourceName: string;
552
+
553
+ /**
554
+ * The owner of the resource (optional).
555
+ * For example, "user:<owner email>" or "project:<Google developer project
556
+ * id>".
557
+ *
558
+ * @generated from field: string owner = 3;
559
+ */
560
+ owner: string;
561
+
562
+ /**
563
+ * Describes what error is encountered when accessing this resource.
564
+ * For example, updating a cloud project may require the `writer` permission
565
+ * on the developer console project.
566
+ *
567
+ * @generated from field: string description = 4;
568
+ */
569
+ description: string;
570
+ };
571
+
572
+ /**
573
+ * Describes the message google.rpc.ResourceInfo.
574
+ * Use `create(ResourceInfoSchema)` to create a new message.
575
+ */
576
+ export const ResourceInfoSchema: GenMessage<ResourceInfo> = /*@__PURE__*/
577
+ messageDesc(file_google_rpc_error_details, 7);
578
+
579
+ /**
580
+ * Provides links to documentation or for performing an out of band action.
581
+ *
582
+ * For example, if a quota check failed with an error indicating the calling
583
+ * project hasn't enabled the accessed service, this can contain a URL pointing
584
+ * directly to the right place in the developer console to flip the bit.
585
+ *
586
+ * @generated from message google.rpc.Help
587
+ */
588
+ export type Help = Message<"google.rpc.Help"> & {
589
+ /**
590
+ * URL(s) pointing to additional information on handling the current error.
591
+ *
592
+ * @generated from field: repeated google.rpc.Help.Link links = 1;
593
+ */
594
+ links: Help_Link[];
595
+ };
596
+
597
+ /**
598
+ * Describes the message google.rpc.Help.
599
+ * Use `create(HelpSchema)` to create a new message.
600
+ */
601
+ export const HelpSchema: GenMessage<Help> = /*@__PURE__*/
602
+ messageDesc(file_google_rpc_error_details, 8);
603
+
604
+ /**
605
+ * Describes a URL link.
606
+ *
607
+ * @generated from message google.rpc.Help.Link
608
+ */
609
+ export type Help_Link = Message<"google.rpc.Help.Link"> & {
610
+ /**
611
+ * Describes what the link offers.
612
+ *
613
+ * @generated from field: string description = 1;
614
+ */
615
+ description: string;
616
+
617
+ /**
618
+ * The URL of the link.
619
+ *
620
+ * @generated from field: string url = 2;
621
+ */
622
+ url: string;
623
+ };
624
+
625
+ /**
626
+ * Describes the message google.rpc.Help.Link.
627
+ * Use `create(Help_LinkSchema)` to create a new message.
628
+ */
629
+ export const Help_LinkSchema: GenMessage<Help_Link> = /*@__PURE__*/
630
+ messageDesc(file_google_rpc_error_details, 8, 0);
631
+
632
+ /**
633
+ * Provides a localized error message that is safe to return to the user
634
+ * which can be attached to an RPC error.
635
+ *
636
+ * @generated from message google.rpc.LocalizedMessage
637
+ */
638
+ export type LocalizedMessage = Message<"google.rpc.LocalizedMessage"> & {
639
+ /**
640
+ * The locale used following the specification defined at
641
+ * https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
642
+ * Examples are: "en-US", "fr-CH", "es-MX"
643
+ *
644
+ * @generated from field: string locale = 1;
645
+ */
646
+ locale: string;
647
+
648
+ /**
649
+ * The localized error message in the above locale.
650
+ *
651
+ * @generated from field: string message = 2;
652
+ */
653
+ message: string;
654
+ };
655
+
656
+ /**
657
+ * Describes the message google.rpc.LocalizedMessage.
658
+ * Use `create(LocalizedMessageSchema)` to create a new message.
659
+ */
660
+ export const LocalizedMessageSchema: GenMessage<LocalizedMessage> = /*@__PURE__*/
661
+ messageDesc(file_google_rpc_error_details, 9);
662
+