@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,507 @@
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/api/routing.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import { extDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
21
+ import type { MethodOptions } from "@bufbuild/protobuf/wkt";
22
+ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
23
+ import type { Message } from "@bufbuild/protobuf";
24
+
25
+ /**
26
+ * Describes the file google/api/routing.proto.
27
+ */
28
+ export const file_google_api_routing: GenFile = /*@__PURE__*/
29
+ fileDesc("Chhnb29nbGUvYXBpL3JvdXRpbmcucHJvdG8SCmdvb2dsZS5hcGkiRwoLUm91dGluZ1J1bGUSOAoScm91dGluZ19wYXJhbWV0ZXJzGAIgAygLMhwuZ29vZ2xlLmFwaS5Sb3V0aW5nUGFyYW1ldGVyIjgKEFJvdXRpbmdQYXJhbWV0ZXISDQoFZmllbGQYASABKAkSFQoNcGF0aF90ZW1wbGF0ZRgCIAEoCTpUCgdyb3V0aW5nEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYscq8IiABKAsyFy5nb29nbGUuYXBpLlJvdXRpbmdSdWxlUgdyb3V0aW5nQqoBCg5jb20uZ29vZ2xlLmFwaUIMUm91dGluZ1Byb3RvUAFaQWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL2Fubm90YXRpb25zO2Fubm90YXRpb25zogIDR0FYqgIKR29vZ2xlLkFwacoCCkdvb2dsZVxBcGniAhZHb29nbGVcQXBpXEdQQk1ldGFkYXRh6gILR29vZ2xlOjpBcGliBnByb3RvMw", [file_google_protobuf_descriptor]);
30
+
31
+ /**
32
+ * Specifies the routing information that should be sent along with the request
33
+ * in the form of routing header.
34
+ * **NOTE:** All service configuration rules follow the "last one wins" order.
35
+ *
36
+ * The examples below will apply to an RPC which has the following request type:
37
+ *
38
+ * Message Definition:
39
+ *
40
+ * message Request {
41
+ * // The name of the Table
42
+ * // Values can be of the following formats:
43
+ * // - `projects/<project>/tables/<table>`
44
+ * // - `projects/<project>/instances/<instance>/tables/<table>`
45
+ * // - `region/<region>/zones/<zone>/tables/<table>`
46
+ * string table_name = 1;
47
+ *
48
+ * // This value specifies routing for replication.
49
+ * // It can be in the following formats:
50
+ * // - `profiles/<profile_id>`
51
+ * // - a legacy `profile_id` that can be any string
52
+ * string app_profile_id = 2;
53
+ * }
54
+ *
55
+ * Example message:
56
+ *
57
+ * {
58
+ * table_name: projects/proj_foo/instances/instance_bar/table/table_baz,
59
+ * app_profile_id: profiles/prof_qux
60
+ * }
61
+ *
62
+ * The routing header consists of one or multiple key-value pairs. The order of
63
+ * the key-value pairs is undefined, the order of the `routing_parameters` in
64
+ * the `RoutingRule` only matters for the evaluation order of the path
65
+ * templates when `field` is the same. See the examples below for more details.
66
+ *
67
+ * Every key and value in the routing header must be percent-encoded,
68
+ * and joined together in the following format: `key1=value1&key2=value2`.
69
+ * The examples below skip the percent-encoding for readability.
70
+ *
71
+ * Example 1
72
+ *
73
+ * Extracting a field from the request to put into the routing header
74
+ * unchanged, with the key equal to the field name.
75
+ *
76
+ * annotation:
77
+ *
78
+ * option (google.api.routing) = {
79
+ * // Take the `app_profile_id`.
80
+ * routing_parameters {
81
+ * field: "app_profile_id"
82
+ * }
83
+ * };
84
+ *
85
+ * result:
86
+ *
87
+ * x-goog-request-params: app_profile_id=profiles/prof_qux
88
+ *
89
+ * Example 2
90
+ *
91
+ * Extracting a field from the request to put into the routing header
92
+ * unchanged, with the key different from the field name.
93
+ *
94
+ * annotation:
95
+ *
96
+ * option (google.api.routing) = {
97
+ * // Take the `app_profile_id`, but name it `routing_id` in the header.
98
+ * routing_parameters {
99
+ * field: "app_profile_id"
100
+ * path_template: "{routing_id=**}"
101
+ * }
102
+ * };
103
+ *
104
+ * result:
105
+ *
106
+ * x-goog-request-params: routing_id=profiles/prof_qux
107
+ *
108
+ * Example 3
109
+ *
110
+ * Extracting a field from the request to put into the routing
111
+ * header, while matching a path template syntax on the field's value.
112
+ *
113
+ * NB: it is more useful to send nothing than to send garbage for the purpose
114
+ * of dynamic routing, since garbage pollutes cache. Thus the matching.
115
+ *
116
+ * Sub-example 3a
117
+ *
118
+ * The field matches the template.
119
+ *
120
+ * annotation:
121
+ *
122
+ * option (google.api.routing) = {
123
+ * // Take the `table_name`, if it's well-formed (with project-based
124
+ * // syntax).
125
+ * routing_parameters {
126
+ * field: "table_name"
127
+ * path_template: "{table_name=projects/*\/instances/*\/**}"
128
+ * }
129
+ * };
130
+ *
131
+ * result:
132
+ *
133
+ * x-goog-request-params:
134
+ * table_name=projects/proj_foo/instances/instance_bar/table/table_baz
135
+ *
136
+ * Sub-example 3b
137
+ *
138
+ * The field does not match the template.
139
+ *
140
+ * annotation:
141
+ *
142
+ * option (google.api.routing) = {
143
+ * // Take the `table_name`, if it's well-formed (with region-based
144
+ * // syntax).
145
+ * routing_parameters {
146
+ * field: "table_name"
147
+ * path_template: "{table_name=regions/*\/zones/*\/**}"
148
+ * }
149
+ * };
150
+ *
151
+ * result:
152
+ *
153
+ * <no routing header will be sent>
154
+ *
155
+ * Sub-example 3c
156
+ *
157
+ * Multiple alternative conflictingly named path templates are
158
+ * specified. The one that matches is used to construct the header.
159
+ *
160
+ * annotation:
161
+ *
162
+ * option (google.api.routing) = {
163
+ * // Take the `table_name`, if it's well-formed, whether
164
+ * // using the region- or projects-based syntax.
165
+ *
166
+ * routing_parameters {
167
+ * field: "table_name"
168
+ * path_template: "{table_name=regions/*\/zones/*\/**}"
169
+ * }
170
+ * routing_parameters {
171
+ * field: "table_name"
172
+ * path_template: "{table_name=projects/*\/instances/*\/**}"
173
+ * }
174
+ * };
175
+ *
176
+ * result:
177
+ *
178
+ * x-goog-request-params:
179
+ * table_name=projects/proj_foo/instances/instance_bar/table/table_baz
180
+ *
181
+ * Example 4
182
+ *
183
+ * Extracting a single routing header key-value pair by matching a
184
+ * template syntax on (a part of) a single request field.
185
+ *
186
+ * annotation:
187
+ *
188
+ * option (google.api.routing) = {
189
+ * // Take just the project id from the `table_name` field.
190
+ * routing_parameters {
191
+ * field: "table_name"
192
+ * path_template: "{routing_id=projects/*}/**"
193
+ * }
194
+ * };
195
+ *
196
+ * result:
197
+ *
198
+ * x-goog-request-params: routing_id=projects/proj_foo
199
+ *
200
+ * Example 5
201
+ *
202
+ * Extracting a single routing header key-value pair by matching
203
+ * several conflictingly named path templates on (parts of) a single request
204
+ * field. The last template to match "wins" the conflict.
205
+ *
206
+ * annotation:
207
+ *
208
+ * option (google.api.routing) = {
209
+ * // If the `table_name` does not have instances information,
210
+ * // take just the project id for routing.
211
+ * // Otherwise take project + instance.
212
+ *
213
+ * routing_parameters {
214
+ * field: "table_name"
215
+ * path_template: "{routing_id=projects/*}/**"
216
+ * }
217
+ * routing_parameters {
218
+ * field: "table_name"
219
+ * path_template: "{routing_id=projects/*\/instances/*}/**"
220
+ * }
221
+ * };
222
+ *
223
+ * result:
224
+ *
225
+ * x-goog-request-params:
226
+ * routing_id=projects/proj_foo/instances/instance_bar
227
+ *
228
+ * Example 6
229
+ *
230
+ * Extracting multiple routing header key-value pairs by matching
231
+ * several non-conflicting path templates on (parts of) a single request field.
232
+ *
233
+ * Sub-example 6a
234
+ *
235
+ * Make the templates strict, so that if the `table_name` does not
236
+ * have an instance information, nothing is sent.
237
+ *
238
+ * annotation:
239
+ *
240
+ * option (google.api.routing) = {
241
+ * // The routing code needs two keys instead of one composite
242
+ * // but works only for the tables with the "project-instance" name
243
+ * // syntax.
244
+ *
245
+ * routing_parameters {
246
+ * field: "table_name"
247
+ * path_template: "{project_id=projects/*}/instances/*\/**"
248
+ * }
249
+ * routing_parameters {
250
+ * field: "table_name"
251
+ * path_template: "projects/*\/{instance_id=instances/*}/**"
252
+ * }
253
+ * };
254
+ *
255
+ * result:
256
+ *
257
+ * x-goog-request-params:
258
+ * project_id=projects/proj_foo&instance_id=instances/instance_bar
259
+ *
260
+ * Sub-example 6b
261
+ *
262
+ * Make the templates loose, so that if the `table_name` does not
263
+ * have an instance information, just the project id part is sent.
264
+ *
265
+ * annotation:
266
+ *
267
+ * option (google.api.routing) = {
268
+ * // The routing code wants two keys instead of one composite
269
+ * // but will work with just the `project_id` for tables without
270
+ * // an instance in the `table_name`.
271
+ *
272
+ * routing_parameters {
273
+ * field: "table_name"
274
+ * path_template: "{project_id=projects/*}/**"
275
+ * }
276
+ * routing_parameters {
277
+ * field: "table_name"
278
+ * path_template: "projects/*\/{instance_id=instances/*}/**"
279
+ * }
280
+ * };
281
+ *
282
+ * result (is the same as 6a for our example message because it has the instance
283
+ * information):
284
+ *
285
+ * x-goog-request-params:
286
+ * project_id=projects/proj_foo&instance_id=instances/instance_bar
287
+ *
288
+ * Example 7
289
+ *
290
+ * Extracting multiple routing header key-value pairs by matching
291
+ * several path templates on multiple request fields.
292
+ *
293
+ * NB: note that here there is no way to specify sending nothing if one of the
294
+ * fields does not match its template. E.g. if the `table_name` is in the wrong
295
+ * format, the `project_id` will not be sent, but the `routing_id` will be.
296
+ * The backend routing code has to be aware of that and be prepared to not
297
+ * receive a full complement of keys if it expects multiple.
298
+ *
299
+ * annotation:
300
+ *
301
+ * option (google.api.routing) = {
302
+ * // The routing needs both `project_id` and `routing_id`
303
+ * // (from the `app_profile_id` field) for routing.
304
+ *
305
+ * routing_parameters {
306
+ * field: "table_name"
307
+ * path_template: "{project_id=projects/*}/**"
308
+ * }
309
+ * routing_parameters {
310
+ * field: "app_profile_id"
311
+ * path_template: "{routing_id=**}"
312
+ * }
313
+ * };
314
+ *
315
+ * result:
316
+ *
317
+ * x-goog-request-params:
318
+ * project_id=projects/proj_foo&routing_id=profiles/prof_qux
319
+ *
320
+ * Example 8
321
+ *
322
+ * Extracting a single routing header key-value pair by matching
323
+ * several conflictingly named path templates on several request fields. The
324
+ * last template to match "wins" the conflict.
325
+ *
326
+ * annotation:
327
+ *
328
+ * option (google.api.routing) = {
329
+ * // The `routing_id` can be a project id or a region id depending on
330
+ * // the table name format, but only if the `app_profile_id` is not set.
331
+ * // If `app_profile_id` is set it should be used instead.
332
+ *
333
+ * routing_parameters {
334
+ * field: "table_name"
335
+ * path_template: "{routing_id=projects/*}/**"
336
+ * }
337
+ * routing_parameters {
338
+ * field: "table_name"
339
+ * path_template: "{routing_id=regions/*}/**"
340
+ * }
341
+ * routing_parameters {
342
+ * field: "app_profile_id"
343
+ * path_template: "{routing_id=**}"
344
+ * }
345
+ * };
346
+ *
347
+ * result:
348
+ *
349
+ * x-goog-request-params: routing_id=profiles/prof_qux
350
+ *
351
+ * Example 9
352
+ *
353
+ * Bringing it all together.
354
+ *
355
+ * annotation:
356
+ *
357
+ * option (google.api.routing) = {
358
+ * // For routing both `table_location` and a `routing_id` are needed.
359
+ * //
360
+ * // table_location can be either an instance id or a region+zone id.
361
+ * //
362
+ * // For `routing_id`, take the value of `app_profile_id`
363
+ * // - If it's in the format `profiles/<profile_id>`, send
364
+ * // just the `<profile_id>` part.
365
+ * // - If it's any other literal, send it as is.
366
+ * // If the `app_profile_id` is empty, and the `table_name` starts with
367
+ * // the project_id, send that instead.
368
+ *
369
+ * routing_parameters {
370
+ * field: "table_name"
371
+ * path_template: "projects/*\/{table_location=instances/*}/tables/*"
372
+ * }
373
+ * routing_parameters {
374
+ * field: "table_name"
375
+ * path_template: "{table_location=regions/*\/zones/*}/tables/*"
376
+ * }
377
+ * routing_parameters {
378
+ * field: "table_name"
379
+ * path_template: "{routing_id=projects/*}/**"
380
+ * }
381
+ * routing_parameters {
382
+ * field: "app_profile_id"
383
+ * path_template: "{routing_id=**}"
384
+ * }
385
+ * routing_parameters {
386
+ * field: "app_profile_id"
387
+ * path_template: "profiles/{routing_id=*}"
388
+ * }
389
+ * };
390
+ *
391
+ * result:
392
+ *
393
+ * x-goog-request-params:
394
+ * table_location=instances/instance_bar&routing_id=prof_qux
395
+ *
396
+ * @generated from message google.api.RoutingRule
397
+ */
398
+ export type RoutingRule = Message<"google.api.RoutingRule"> & {
399
+ /**
400
+ * A collection of Routing Parameter specifications.
401
+ * **NOTE:** If multiple Routing Parameters describe the same key
402
+ * (via the `path_template` field or via the `field` field when
403
+ * `path_template` is not provided), "last one wins" rule
404
+ * determines which Parameter gets used.
405
+ * See the examples for more details.
406
+ *
407
+ * @generated from field: repeated google.api.RoutingParameter routing_parameters = 2;
408
+ */
409
+ routingParameters: RoutingParameter[];
410
+ };
411
+
412
+ /**
413
+ * Describes the message google.api.RoutingRule.
414
+ * Use `create(RoutingRuleSchema)` to create a new message.
415
+ */
416
+ export const RoutingRuleSchema: GenMessage<RoutingRule> = /*@__PURE__*/
417
+ messageDesc(file_google_api_routing, 0);
418
+
419
+ /**
420
+ * A projection from an input message to the GRPC or REST header.
421
+ *
422
+ * @generated from message google.api.RoutingParameter
423
+ */
424
+ export type RoutingParameter = Message<"google.api.RoutingParameter"> & {
425
+ /**
426
+ * A request field to extract the header key-value pair from.
427
+ *
428
+ * @generated from field: string field = 1;
429
+ */
430
+ field: string;
431
+
432
+ /**
433
+ * A pattern matching the key-value field. Optional.
434
+ * If not specified, the whole field specified in the `field` field will be
435
+ * taken as value, and its name used as key. If specified, it MUST contain
436
+ * exactly one named segment (along with any number of unnamed segments) The
437
+ * pattern will be matched over the field specified in the `field` field, then
438
+ * if the match is successful:
439
+ * - the name of the single named segment will be used as a header name,
440
+ * - the match value of the segment will be used as a header value;
441
+ * if the match is NOT successful, nothing will be sent.
442
+ *
443
+ * Example:
444
+ *
445
+ * -- This is a field in the request message
446
+ * | that the header value will be extracted from.
447
+ * |
448
+ * | -- This is the key name in the
449
+ * | | routing header.
450
+ * V |
451
+ * field: "table_name" v
452
+ * path_template: "projects/*\/{table_location=instances/*}/tables/*"
453
+ * ^ ^
454
+ * | |
455
+ * In the {} brackets is the pattern that -- |
456
+ * specifies what to extract from the |
457
+ * field as a value to be sent. |
458
+ * |
459
+ * The string in the field must match the whole pattern --
460
+ * before brackets, inside brackets, after brackets.
461
+ *
462
+ * When looking at this specific example, we can see that:
463
+ * - A key-value pair with the key `table_location`
464
+ * and the value matching `instances/*` should be added
465
+ * to the x-goog-request-params routing header.
466
+ * - The value is extracted from the request message's `table_name` field
467
+ * if it matches the full pattern specified:
468
+ * `projects/*\/instances/*\/tables/*`.
469
+ *
470
+ * **NB:** If the `path_template` field is not provided, the key name is
471
+ * equal to the field name, and the whole field should be sent as a value.
472
+ * This makes the pattern for the field and the value functionally equivalent
473
+ * to `**`, and the configuration
474
+ *
475
+ * {
476
+ * field: "table_name"
477
+ * }
478
+ *
479
+ * is a functionally equivalent shorthand to:
480
+ *
481
+ * {
482
+ * field: "table_name"
483
+ * path_template: "{table_name=**}"
484
+ * }
485
+ *
486
+ * See Example 1 for more details.
487
+ *
488
+ * @generated from field: string path_template = 2;
489
+ */
490
+ pathTemplate: string;
491
+ };
492
+
493
+ /**
494
+ * Describes the message google.api.RoutingParameter.
495
+ * Use `create(RoutingParameterSchema)` to create a new message.
496
+ */
497
+ export const RoutingParameterSchema: GenMessage<RoutingParameter> = /*@__PURE__*/
498
+ messageDesc(file_google_api_routing, 1);
499
+
500
+ /**
501
+ * See RoutingRule.
502
+ *
503
+ * @generated from extension: google.api.RoutingRule routing = 72295729;
504
+ */
505
+ export const routing: GenExtension<MethodOptions, RoutingRule> = /*@__PURE__*/
506
+ extDesc(file_google_api_routing, 0);
507
+
@@ -0,0 +1,169 @@
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/api/visibility.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import { extDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
21
+ import type { EnumOptions, EnumValueOptions, FieldOptions, MessageOptions, MethodOptions, ServiceOptions } from "@bufbuild/protobuf/wkt";
22
+ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
23
+ import type { Message } from "@bufbuild/protobuf";
24
+
25
+ /**
26
+ * Describes the file google/api/visibility.proto.
27
+ */
28
+ export const file_google_api_visibility: GenFile = /*@__PURE__*/
29
+ fileDesc("Chtnb29nbGUvYXBpL3Zpc2liaWxpdHkucHJvdG8SCmdvb2dsZS5hcGkiNwoKVmlzaWJpbGl0eRIpCgVydWxlcxgBIAMoCzIaLmdvb2dsZS5hcGkuVmlzaWJpbGl0eVJ1bGUiNwoOVmlzaWJpbGl0eVJ1bGUSEAoIc2VsZWN0b3IYASABKAkSEwoLcmVzdHJpY3Rpb24YAiABKAk6ZAoPZW51bV92aXNpYmlsaXR5EhwuZ29vZ2xlLnByb3RvYnVmLkVudW1PcHRpb25zGK/KvCIgASgLMhouZ29vZ2xlLmFwaS5WaXNpYmlsaXR5UnVsZVIOZW51bVZpc2liaWxpdHk6awoQdmFsdWVfdmlzaWJpbGl0eRIhLmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVPcHRpb25zGK/KvCIgASgLMhouZ29vZ2xlLmFwaS5WaXNpYmlsaXR5UnVsZVIPdmFsdWVWaXNpYmlsaXR5OmcKEGZpZWxkX3Zpc2liaWxpdHkSHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGK/KvCIgASgLMhouZ29vZ2xlLmFwaS5WaXNpYmlsaXR5UnVsZVIPZmllbGRWaXNpYmlsaXR5Om0KEm1lc3NhZ2VfdmlzaWJpbGl0eRIfLmdvb2dsZS5wcm90b2J1Zi5NZXNzYWdlT3B0aW9ucxivyrwiIAEoCzIaLmdvb2dsZS5hcGkuVmlzaWJpbGl0eVJ1bGVSEW1lc3NhZ2VWaXNpYmlsaXR5OmoKEW1ldGhvZF92aXNpYmlsaXR5Eh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYr8q8IiABKAsyGi5nb29nbGUuYXBpLlZpc2liaWxpdHlSdWxlUhBtZXRob2RWaXNpYmlsaXR5OmUKDmFwaV92aXNpYmlsaXR5Eh8uZ29vZ2xlLnByb3RvYnVmLlNlcnZpY2VPcHRpb25zGK/KvCIgASgLMhouZ29vZ2xlLmFwaS5WaXNpYmlsaXR5UnVsZVINYXBpVmlzaWJpbGl0eUKrAQoOY29tLmdvb2dsZS5hcGlCD1Zpc2liaWxpdHlQcm90b1ABWj9nb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS92aXNpYmlsaXR5O3Zpc2liaWxpdHmiAgNHQViqAgpHb29nbGUuQXBpygIKR29vZ2xlXEFwaeICFkdvb2dsZVxBcGlcR1BCTWV0YWRhdGHqAgtHb29nbGU6OkFwaWIGcHJvdG8z", [file_google_protobuf_descriptor]);
30
+
31
+ /**
32
+ * `Visibility` restricts service consumer's access to service elements,
33
+ * such as whether an application can call a visibility-restricted method.
34
+ * The restriction is expressed by applying visibility labels on service
35
+ * elements. The visibility labels are elsewhere linked to service consumers.
36
+ *
37
+ * A service can define multiple visibility labels, but a service consumer
38
+ * should be granted at most one visibility label. Multiple visibility
39
+ * labels for a single service consumer are not supported.
40
+ *
41
+ * If an element and all its parents have no visibility label, its visibility
42
+ * is unconditionally granted.
43
+ *
44
+ * Example:
45
+ *
46
+ * visibility:
47
+ * rules:
48
+ * - selector: google.calendar.Calendar.EnhancedSearch
49
+ * restriction: PREVIEW
50
+ * - selector: google.calendar.Calendar.Delegate
51
+ * restriction: INTERNAL
52
+ *
53
+ * Here, all methods are publicly visible except for the restricted methods
54
+ * EnhancedSearch and Delegate.
55
+ *
56
+ * @generated from message google.api.Visibility
57
+ */
58
+ export type Visibility = Message<"google.api.Visibility"> & {
59
+ /**
60
+ * A list of visibility rules that apply to individual API elements.
61
+ *
62
+ * **NOTE:** All service configuration rules follow "last one wins" order.
63
+ *
64
+ * @generated from field: repeated google.api.VisibilityRule rules = 1;
65
+ */
66
+ rules: VisibilityRule[];
67
+ };
68
+
69
+ /**
70
+ * Describes the message google.api.Visibility.
71
+ * Use `create(VisibilitySchema)` to create a new message.
72
+ */
73
+ export const VisibilitySchema: GenMessage<Visibility> = /*@__PURE__*/
74
+ messageDesc(file_google_api_visibility, 0);
75
+
76
+ /**
77
+ * A visibility rule provides visibility configuration for an individual API
78
+ * element.
79
+ *
80
+ * @generated from message google.api.VisibilityRule
81
+ */
82
+ export type VisibilityRule = Message<"google.api.VisibilityRule"> & {
83
+ /**
84
+ * Selects methods, messages, fields, enums, etc. to which this rule applies.
85
+ *
86
+ * Refer to [selector][google.api.DocumentationRule.selector] for syntax
87
+ * details.
88
+ *
89
+ * @generated from field: string selector = 1;
90
+ */
91
+ selector: string;
92
+
93
+ /**
94
+ * A comma-separated list of visibility labels that apply to the `selector`.
95
+ * Any of the listed labels can be used to grant the visibility.
96
+ *
97
+ * If a rule has multiple labels, removing one of the labels but not all of
98
+ * them can break clients.
99
+ *
100
+ * Example:
101
+ *
102
+ * visibility:
103
+ * rules:
104
+ * - selector: google.calendar.Calendar.EnhancedSearch
105
+ * restriction: INTERNAL, PREVIEW
106
+ *
107
+ * Removing INTERNAL from this restriction will break clients that rely on
108
+ * this method and only had access to it through INTERNAL.
109
+ *
110
+ * @generated from field: string restriction = 2;
111
+ */
112
+ restriction: string;
113
+ };
114
+
115
+ /**
116
+ * Describes the message google.api.VisibilityRule.
117
+ * Use `create(VisibilityRuleSchema)` to create a new message.
118
+ */
119
+ export const VisibilityRuleSchema: GenMessage<VisibilityRule> = /*@__PURE__*/
120
+ messageDesc(file_google_api_visibility, 1);
121
+
122
+ /**
123
+ * See `VisibilityRule`.
124
+ *
125
+ * @generated from extension: google.api.VisibilityRule enum_visibility = 72295727;
126
+ */
127
+ export const enum_visibility: GenExtension<EnumOptions, VisibilityRule> = /*@__PURE__*/
128
+ extDesc(file_google_api_visibility, 0);
129
+
130
+ /**
131
+ * See `VisibilityRule`.
132
+ *
133
+ * @generated from extension: google.api.VisibilityRule value_visibility = 72295727;
134
+ */
135
+ export const value_visibility: GenExtension<EnumValueOptions, VisibilityRule> = /*@__PURE__*/
136
+ extDesc(file_google_api_visibility, 1);
137
+
138
+ /**
139
+ * See `VisibilityRule`.
140
+ *
141
+ * @generated from extension: google.api.VisibilityRule field_visibility = 72295727;
142
+ */
143
+ export const field_visibility: GenExtension<FieldOptions, VisibilityRule> = /*@__PURE__*/
144
+ extDesc(file_google_api_visibility, 2);
145
+
146
+ /**
147
+ * See `VisibilityRule`.
148
+ *
149
+ * @generated from extension: google.api.VisibilityRule message_visibility = 72295727;
150
+ */
151
+ export const message_visibility: GenExtension<MessageOptions, VisibilityRule> = /*@__PURE__*/
152
+ extDesc(file_google_api_visibility, 3);
153
+
154
+ /**
155
+ * See `VisibilityRule`.
156
+ *
157
+ * @generated from extension: google.api.VisibilityRule method_visibility = 72295727;
158
+ */
159
+ export const method_visibility: GenExtension<MethodOptions, VisibilityRule> = /*@__PURE__*/
160
+ extDesc(file_google_api_visibility, 4);
161
+
162
+ /**
163
+ * See `VisibilityRule`.
164
+ *
165
+ * @generated from extension: google.api.VisibilityRule api_visibility = 72295727;
166
+ */
167
+ export const api_visibility: GenExtension<ServiceOptions, VisibilityRule> = /*@__PURE__*/
168
+ extDesc(file_google_api_visibility, 5);
169
+