@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,672 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Constant, Expr, SourceInfo } from "./syntax_pb.js";
3
+ import type { Empty, NullValue } from "@bufbuild/protobuf/wkt";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file google/api/expr/v1alpha1/checked.proto.
7
+ */
8
+ export declare const file_google_api_expr_v1alpha1_checked: GenFile;
9
+ /**
10
+ * A CEL expression which has been successfully type checked.
11
+ *
12
+ * @generated from message google.api.expr.v1alpha1.CheckedExpr
13
+ */
14
+ export type CheckedExpr = Message<"google.api.expr.v1alpha1.CheckedExpr"> & {
15
+ /**
16
+ * A map from expression ids to resolved references.
17
+ *
18
+ * The following entries are in this table:
19
+ *
20
+ * - An Ident or Select expression is represented here if it resolves to a
21
+ * declaration. For instance, if `a.b.c` is represented by
22
+ * `select(select(id(a), b), c)`, and `a.b` resolves to a declaration,
23
+ * while `c` is a field selection, then the reference is attached to the
24
+ * nested select expression (but not to the id or or the outer select).
25
+ * In turn, if `a` resolves to a declaration and `b.c` are field selections,
26
+ * the reference is attached to the ident expression.
27
+ * - Every Call expression has an entry here, identifying the function being
28
+ * called.
29
+ * - Every CreateStruct expression for a message has an entry, identifying
30
+ * the message.
31
+ *
32
+ * @generated from field: map<int64, google.api.expr.v1alpha1.Reference> reference_map = 2;
33
+ */
34
+ referenceMap: {
35
+ [key: string]: Reference;
36
+ };
37
+ /**
38
+ * A map from expression ids to types.
39
+ *
40
+ * Every expression node which has a type different than DYN has a mapping
41
+ * here. If an expression has type DYN, it is omitted from this map to save
42
+ * space.
43
+ *
44
+ * @generated from field: map<int64, google.api.expr.v1alpha1.Type> type_map = 3;
45
+ */
46
+ typeMap: {
47
+ [key: string]: Type;
48
+ };
49
+ /**
50
+ * The source info derived from input that generated the parsed `expr` and
51
+ * any optimizations made during the type-checking pass.
52
+ *
53
+ * @generated from field: google.api.expr.v1alpha1.SourceInfo source_info = 5;
54
+ */
55
+ sourceInfo?: SourceInfo;
56
+ /**
57
+ * The expr version indicates the major / minor version number of the `expr`
58
+ * representation.
59
+ *
60
+ * The most common reason for a version change will be to indicate to the CEL
61
+ * runtimes that transformations have been performed on the expr during static
62
+ * analysis. In some cases, this will save the runtime the work of applying
63
+ * the same or similar transformations prior to evaluation.
64
+ *
65
+ * @generated from field: string expr_version = 6;
66
+ */
67
+ exprVersion: string;
68
+ /**
69
+ * The checked expression. Semantically equivalent to the parsed `expr`, but
70
+ * may have structural differences.
71
+ *
72
+ * @generated from field: google.api.expr.v1alpha1.Expr expr = 4;
73
+ */
74
+ expr?: Expr;
75
+ };
76
+ /**
77
+ * Describes the message google.api.expr.v1alpha1.CheckedExpr.
78
+ * Use `create(CheckedExprSchema)` to create a new message.
79
+ */
80
+ export declare const CheckedExprSchema: GenMessage<CheckedExpr>;
81
+ /**
82
+ * Represents a CEL type.
83
+ *
84
+ * @generated from message google.api.expr.v1alpha1.Type
85
+ */
86
+ export type Type = Message<"google.api.expr.v1alpha1.Type"> & {
87
+ /**
88
+ * The kind of type.
89
+ *
90
+ * @generated from oneof google.api.expr.v1alpha1.Type.type_kind
91
+ */
92
+ typeKind: {
93
+ /**
94
+ * Dynamic type.
95
+ *
96
+ * @generated from field: google.protobuf.Empty dyn = 1;
97
+ */
98
+ value: Empty;
99
+ case: "dyn";
100
+ } | {
101
+ /**
102
+ * Null value.
103
+ *
104
+ * @generated from field: google.protobuf.NullValue null = 2;
105
+ */
106
+ value: NullValue;
107
+ case: "null";
108
+ } | {
109
+ /**
110
+ * Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
111
+ *
112
+ * @generated from field: google.api.expr.v1alpha1.Type.PrimitiveType primitive = 3;
113
+ */
114
+ value: Type_PrimitiveType;
115
+ case: "primitive";
116
+ } | {
117
+ /**
118
+ * Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
119
+ *
120
+ * @generated from field: google.api.expr.v1alpha1.Type.PrimitiveType wrapper = 4;
121
+ */
122
+ value: Type_PrimitiveType;
123
+ case: "wrapper";
124
+ } | {
125
+ /**
126
+ * Well-known protobuf type such as `google.protobuf.Timestamp`.
127
+ *
128
+ * @generated from field: google.api.expr.v1alpha1.Type.WellKnownType well_known = 5;
129
+ */
130
+ value: Type_WellKnownType;
131
+ case: "wellKnown";
132
+ } | {
133
+ /**
134
+ * Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
135
+ *
136
+ * @generated from field: google.api.expr.v1alpha1.Type.ListType list_type = 6;
137
+ */
138
+ value: Type_ListType;
139
+ case: "listType";
140
+ } | {
141
+ /**
142
+ * Parameterized map with typed keys and values.
143
+ *
144
+ * @generated from field: google.api.expr.v1alpha1.Type.MapType map_type = 7;
145
+ */
146
+ value: Type_MapType;
147
+ case: "mapType";
148
+ } | {
149
+ /**
150
+ * Function type.
151
+ *
152
+ * @generated from field: google.api.expr.v1alpha1.Type.FunctionType function = 8;
153
+ */
154
+ value: Type_FunctionType;
155
+ case: "function";
156
+ } | {
157
+ /**
158
+ * Protocol buffer message type.
159
+ *
160
+ * The `message_type` string specifies the qualified message type name. For
161
+ * example, `google.plus.Profile`.
162
+ *
163
+ * @generated from field: string message_type = 9;
164
+ */
165
+ value: string;
166
+ case: "messageType";
167
+ } | {
168
+ /**
169
+ * Type param type.
170
+ *
171
+ * The `type_param` string specifies the type parameter name, e.g. `list<E>`
172
+ * would be a `list_type` whose element type was a `type_param` type
173
+ * named `E`.
174
+ *
175
+ * @generated from field: string type_param = 10;
176
+ */
177
+ value: string;
178
+ case: "typeParam";
179
+ } | {
180
+ /**
181
+ * Type type.
182
+ *
183
+ * The `type` value specifies the target type. e.g. int is type with a
184
+ * target type of `Primitive.INT`.
185
+ *
186
+ * @generated from field: google.api.expr.v1alpha1.Type type = 11;
187
+ */
188
+ value: Type;
189
+ case: "type";
190
+ } | {
191
+ /**
192
+ * Error type.
193
+ *
194
+ * During type-checking if an expression is an error, its type is propagated
195
+ * as the `ERROR` type. This permits the type-checker to discover other
196
+ * errors present in the expression.
197
+ *
198
+ * @generated from field: google.protobuf.Empty error = 12;
199
+ */
200
+ value: Empty;
201
+ case: "error";
202
+ } | {
203
+ /**
204
+ * Abstract, application defined type.
205
+ *
206
+ * @generated from field: google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14;
207
+ */
208
+ value: Type_AbstractType;
209
+ case: "abstractType";
210
+ } | {
211
+ case: undefined;
212
+ value?: undefined;
213
+ };
214
+ };
215
+ /**
216
+ * Describes the message google.api.expr.v1alpha1.Type.
217
+ * Use `create(TypeSchema)` to create a new message.
218
+ */
219
+ export declare const TypeSchema: GenMessage<Type>;
220
+ /**
221
+ * List type with typed elements, e.g. `list<example.proto.MyMessage>`.
222
+ *
223
+ * @generated from message google.api.expr.v1alpha1.Type.ListType
224
+ */
225
+ export type Type_ListType = Message<"google.api.expr.v1alpha1.Type.ListType"> & {
226
+ /**
227
+ * The element type.
228
+ *
229
+ * @generated from field: google.api.expr.v1alpha1.Type elem_type = 1;
230
+ */
231
+ elemType?: Type;
232
+ };
233
+ /**
234
+ * Describes the message google.api.expr.v1alpha1.Type.ListType.
235
+ * Use `create(Type_ListTypeSchema)` to create a new message.
236
+ */
237
+ export declare const Type_ListTypeSchema: GenMessage<Type_ListType>;
238
+ /**
239
+ * Map type with parameterized key and value types, e.g. `map<string, int>`.
240
+ *
241
+ * @generated from message google.api.expr.v1alpha1.Type.MapType
242
+ */
243
+ export type Type_MapType = Message<"google.api.expr.v1alpha1.Type.MapType"> & {
244
+ /**
245
+ * The type of the key.
246
+ *
247
+ * @generated from field: google.api.expr.v1alpha1.Type key_type = 1;
248
+ */
249
+ keyType?: Type;
250
+ /**
251
+ * The type of the value.
252
+ *
253
+ * @generated from field: google.api.expr.v1alpha1.Type value_type = 2;
254
+ */
255
+ valueType?: Type;
256
+ };
257
+ /**
258
+ * Describes the message google.api.expr.v1alpha1.Type.MapType.
259
+ * Use `create(Type_MapTypeSchema)` to create a new message.
260
+ */
261
+ export declare const Type_MapTypeSchema: GenMessage<Type_MapType>;
262
+ /**
263
+ * Function type with result and arg types.
264
+ *
265
+ * @generated from message google.api.expr.v1alpha1.Type.FunctionType
266
+ */
267
+ export type Type_FunctionType = Message<"google.api.expr.v1alpha1.Type.FunctionType"> & {
268
+ /**
269
+ * Result type of the function.
270
+ *
271
+ * @generated from field: google.api.expr.v1alpha1.Type result_type = 1;
272
+ */
273
+ resultType?: Type;
274
+ /**
275
+ * Argument types of the function.
276
+ *
277
+ * @generated from field: repeated google.api.expr.v1alpha1.Type arg_types = 2;
278
+ */
279
+ argTypes: Type[];
280
+ };
281
+ /**
282
+ * Describes the message google.api.expr.v1alpha1.Type.FunctionType.
283
+ * Use `create(Type_FunctionTypeSchema)` to create a new message.
284
+ */
285
+ export declare const Type_FunctionTypeSchema: GenMessage<Type_FunctionType>;
286
+ /**
287
+ * Application defined abstract type.
288
+ *
289
+ * @generated from message google.api.expr.v1alpha1.Type.AbstractType
290
+ */
291
+ export type Type_AbstractType = Message<"google.api.expr.v1alpha1.Type.AbstractType"> & {
292
+ /**
293
+ * The fully qualified name of this abstract type.
294
+ *
295
+ * @generated from field: string name = 1;
296
+ */
297
+ name: string;
298
+ /**
299
+ * Parameter types for this abstract type.
300
+ *
301
+ * @generated from field: repeated google.api.expr.v1alpha1.Type parameter_types = 2;
302
+ */
303
+ parameterTypes: Type[];
304
+ };
305
+ /**
306
+ * Describes the message google.api.expr.v1alpha1.Type.AbstractType.
307
+ * Use `create(Type_AbstractTypeSchema)` to create a new message.
308
+ */
309
+ export declare const Type_AbstractTypeSchema: GenMessage<Type_AbstractType>;
310
+ /**
311
+ * CEL primitive types.
312
+ *
313
+ * @generated from enum google.api.expr.v1alpha1.Type.PrimitiveType
314
+ */
315
+ export declare enum Type_PrimitiveType {
316
+ /**
317
+ * Unspecified type.
318
+ *
319
+ * @generated from enum value: PRIMITIVE_TYPE_UNSPECIFIED = 0;
320
+ */
321
+ PRIMITIVE_TYPE_UNSPECIFIED = 0,
322
+ /**
323
+ * Boolean type.
324
+ *
325
+ * @generated from enum value: BOOL = 1;
326
+ */
327
+ BOOL = 1,
328
+ /**
329
+ * Int64 type.
330
+ *
331
+ * Proto-based integer values are widened to int64.
332
+ *
333
+ * @generated from enum value: INT64 = 2;
334
+ */
335
+ INT64 = 2,
336
+ /**
337
+ * Uint64 type.
338
+ *
339
+ * Proto-based unsigned integer values are widened to uint64.
340
+ *
341
+ * @generated from enum value: UINT64 = 3;
342
+ */
343
+ UINT64 = 3,
344
+ /**
345
+ * Double type.
346
+ *
347
+ * Proto-based float values are widened to double values.
348
+ *
349
+ * @generated from enum value: DOUBLE = 4;
350
+ */
351
+ DOUBLE = 4,
352
+ /**
353
+ * String type.
354
+ *
355
+ * @generated from enum value: STRING = 5;
356
+ */
357
+ STRING = 5,
358
+ /**
359
+ * Bytes type.
360
+ *
361
+ * @generated from enum value: BYTES = 6;
362
+ */
363
+ BYTES = 6
364
+ }
365
+ /**
366
+ * Describes the enum google.api.expr.v1alpha1.Type.PrimitiveType.
367
+ */
368
+ export declare const Type_PrimitiveTypeSchema: GenEnum<Type_PrimitiveType>;
369
+ /**
370
+ * Well-known protobuf types treated with first-class support in CEL.
371
+ *
372
+ * @generated from enum google.api.expr.v1alpha1.Type.WellKnownType
373
+ */
374
+ export declare enum Type_WellKnownType {
375
+ /**
376
+ * Unspecified type.
377
+ *
378
+ * @generated from enum value: WELL_KNOWN_TYPE_UNSPECIFIED = 0;
379
+ */
380
+ WELL_KNOWN_TYPE_UNSPECIFIED = 0,
381
+ /**
382
+ * Well-known protobuf.Any type.
383
+ *
384
+ * Any types are a polymorphic message type. During type-checking they are
385
+ * treated like `DYN` types, but at runtime they are resolved to a specific
386
+ * message type specified at evaluation time.
387
+ *
388
+ * @generated from enum value: ANY = 1;
389
+ */
390
+ ANY = 1,
391
+ /**
392
+ * Well-known protobuf.Timestamp type, internally referenced as `timestamp`.
393
+ *
394
+ * @generated from enum value: TIMESTAMP = 2;
395
+ */
396
+ TIMESTAMP = 2,
397
+ /**
398
+ * Well-known protobuf.Duration type, internally referenced as `duration`.
399
+ *
400
+ * @generated from enum value: DURATION = 3;
401
+ */
402
+ DURATION = 3
403
+ }
404
+ /**
405
+ * Describes the enum google.api.expr.v1alpha1.Type.WellKnownType.
406
+ */
407
+ export declare const Type_WellKnownTypeSchema: GenEnum<Type_WellKnownType>;
408
+ /**
409
+ * Represents a declaration of a named value or function.
410
+ *
411
+ * A declaration is part of the contract between the expression, the agent
412
+ * evaluating that expression, and the caller requesting evaluation.
413
+ *
414
+ * @generated from message google.api.expr.v1alpha1.Decl
415
+ */
416
+ export type Decl = Message<"google.api.expr.v1alpha1.Decl"> & {
417
+ /**
418
+ * The fully qualified name of the declaration.
419
+ *
420
+ * Declarations are organized in containers and this represents the full path
421
+ * to the declaration in its container, as in `google.api.expr.Decl`.
422
+ *
423
+ * Declarations used as
424
+ * [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload]
425
+ * parameters may or may not have a name depending on whether the overload is
426
+ * function declaration or a function definition containing a result
427
+ * [Expr][google.api.expr.v1alpha1.Expr].
428
+ *
429
+ * @generated from field: string name = 1;
430
+ */
431
+ name: string;
432
+ /**
433
+ * Required. The declaration kind.
434
+ *
435
+ * @generated from oneof google.api.expr.v1alpha1.Decl.decl_kind
436
+ */
437
+ declKind: {
438
+ /**
439
+ * Identifier declaration.
440
+ *
441
+ * @generated from field: google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;
442
+ */
443
+ value: Decl_IdentDecl;
444
+ case: "ident";
445
+ } | {
446
+ /**
447
+ * Function declaration.
448
+ *
449
+ * @generated from field: google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;
450
+ */
451
+ value: Decl_FunctionDecl;
452
+ case: "function";
453
+ } | {
454
+ case: undefined;
455
+ value?: undefined;
456
+ };
457
+ };
458
+ /**
459
+ * Describes the message google.api.expr.v1alpha1.Decl.
460
+ * Use `create(DeclSchema)` to create a new message.
461
+ */
462
+ export declare const DeclSchema: GenMessage<Decl>;
463
+ /**
464
+ * Identifier declaration which specifies its type and optional `Expr` value.
465
+ *
466
+ * An identifier without a value is a declaration that must be provided at
467
+ * evaluation time. An identifier with a value should resolve to a constant,
468
+ * but may be used in conjunction with other identifiers bound at evaluation
469
+ * time.
470
+ *
471
+ * @generated from message google.api.expr.v1alpha1.Decl.IdentDecl
472
+ */
473
+ export type Decl_IdentDecl = Message<"google.api.expr.v1alpha1.Decl.IdentDecl"> & {
474
+ /**
475
+ * Required. The type of the identifier.
476
+ *
477
+ * @generated from field: google.api.expr.v1alpha1.Type type = 1;
478
+ */
479
+ type?: Type;
480
+ /**
481
+ * The constant value of the identifier. If not specified, the identifier
482
+ * must be supplied at evaluation time.
483
+ *
484
+ * @generated from field: google.api.expr.v1alpha1.Constant value = 2;
485
+ */
486
+ value?: Constant;
487
+ /**
488
+ * Documentation string for the identifier.
489
+ *
490
+ * @generated from field: string doc = 3;
491
+ */
492
+ doc: string;
493
+ };
494
+ /**
495
+ * Describes the message google.api.expr.v1alpha1.Decl.IdentDecl.
496
+ * Use `create(Decl_IdentDeclSchema)` to create a new message.
497
+ */
498
+ export declare const Decl_IdentDeclSchema: GenMessage<Decl_IdentDecl>;
499
+ /**
500
+ * Function declaration specifies one or more overloads which indicate the
501
+ * function's parameter types and return type.
502
+ *
503
+ * Functions have no observable side-effects (there may be side-effects like
504
+ * logging which are not observable from CEL).
505
+ *
506
+ * @generated from message google.api.expr.v1alpha1.Decl.FunctionDecl
507
+ */
508
+ export type Decl_FunctionDecl = Message<"google.api.expr.v1alpha1.Decl.FunctionDecl"> & {
509
+ /**
510
+ * Required. List of function overloads, must contain at least one overload.
511
+ *
512
+ * @generated from field: repeated google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1;
513
+ */
514
+ overloads: Decl_FunctionDecl_Overload[];
515
+ /**
516
+ * Documentation string for the function that indicates the general purpose
517
+ * of the function and its behavior.
518
+ *
519
+ * Documentation strings for the function should be general purpose with
520
+ * specific examples provided in the overload doc string.
521
+ *
522
+ * Examples:
523
+ *
524
+ * The 'in' operator tests whether an item exists in a collection.
525
+ *
526
+ * The 'substring' function returns a substring of a target string.
527
+ *
528
+ * @generated from field: string doc = 2;
529
+ */
530
+ doc: string;
531
+ };
532
+ /**
533
+ * Describes the message google.api.expr.v1alpha1.Decl.FunctionDecl.
534
+ * Use `create(Decl_FunctionDeclSchema)` to create a new message.
535
+ */
536
+ export declare const Decl_FunctionDeclSchema: GenMessage<Decl_FunctionDecl>;
537
+ /**
538
+ * An overload indicates a function's parameter types and return type, and
539
+ * may optionally include a function body described in terms of
540
+ * [Expr][google.api.expr.v1alpha1.Expr] values.
541
+ *
542
+ * Functions overloads are declared in either a function or method
543
+ * call-style. For methods, the `params[0]` is the expected type of the
544
+ * target receiver.
545
+ *
546
+ * Overloads must have non-overlapping argument types after erasure of all
547
+ * parameterized type variables (similar as type erasure in Java).
548
+ *
549
+ * @generated from message google.api.expr.v1alpha1.Decl.FunctionDecl.Overload
550
+ */
551
+ export type Decl_FunctionDecl_Overload = Message<"google.api.expr.v1alpha1.Decl.FunctionDecl.Overload"> & {
552
+ /**
553
+ * Required. Globally unique overload name of the function which reflects
554
+ * the function name and argument types.
555
+ *
556
+ * This will be used by a [Reference][google.api.expr.v1alpha1.Reference]
557
+ * to indicate the `overload_id` that was resolved for the function
558
+ * `name`.
559
+ *
560
+ * @generated from field: string overload_id = 1;
561
+ */
562
+ overloadId: string;
563
+ /**
564
+ * List of function parameter [Type][google.api.expr.v1alpha1.Type]
565
+ * values.
566
+ *
567
+ * Param types are disjoint after generic type parameters have been
568
+ * replaced with the type `DYN`. Since the `DYN` type is compatible with
569
+ * any other type, this means that if `A` is a type parameter, the
570
+ * function types `int<A>` and `int<int>` are not disjoint. Likewise,
571
+ * `map<string, string>` is not disjoint from `map<K, V>`.
572
+ *
573
+ * When the `result_type` of a function is a generic type param, the
574
+ * type param name also appears as the `type` of on at least one params.
575
+ *
576
+ * @generated from field: repeated google.api.expr.v1alpha1.Type params = 2;
577
+ */
578
+ params: Type[];
579
+ /**
580
+ * The type param names associated with the function declaration.
581
+ *
582
+ * For example, `function ex<K,V>(K key, map<K, V> map) : V` would yield
583
+ * the type params of `K, V`.
584
+ *
585
+ * @generated from field: repeated string type_params = 3;
586
+ */
587
+ typeParams: string[];
588
+ /**
589
+ * Required. The result type of the function. For example, the operator
590
+ * `string.isEmpty()` would have `result_type` of `kind: BOOL`.
591
+ *
592
+ * @generated from field: google.api.expr.v1alpha1.Type result_type = 4;
593
+ */
594
+ resultType?: Type;
595
+ /**
596
+ * Whether the function is to be used in a method call-style `x.f(...)`
597
+ * or a function call-style `f(x, ...)`.
598
+ *
599
+ * For methods, the first parameter declaration, `params[0]` is the
600
+ * expected type of the target receiver.
601
+ *
602
+ * @generated from field: bool is_instance_function = 5;
603
+ */
604
+ isInstanceFunction: boolean;
605
+ /**
606
+ * Examples for the overload and its expected return value, separated by
607
+ * newlines.
608
+ *
609
+ * Prefer using CEL literals in examples as they are easily consumed by
610
+ * humans and simple to validate with machines. The example should contain
611
+ * an expression with a literal return value in comments inline. If the
612
+ * expression example is too complex or would need an example for a
613
+ * variable that cannot be expressed in CEL, document the input and return
614
+ * in a comment preceding the example.
615
+ *
616
+ * Examples:
617
+ *
618
+ * 1 in [1, 2, 3] // true
619
+ * 'key' in {'key1: 1, 'key2': 2} // false
620
+ * // Test whether one or more keys exist within a map.
621
+ * // returns true if list_of_keys contains 'key2' or 'key3'
622
+ * list_of_keys.exists(key, key in {'key3': 1, 'key2': 2})
623
+ *
624
+ * @generated from field: string doc = 6;
625
+ */
626
+ doc: string;
627
+ };
628
+ /**
629
+ * Describes the message google.api.expr.v1alpha1.Decl.FunctionDecl.Overload.
630
+ * Use `create(Decl_FunctionDecl_OverloadSchema)` to create a new message.
631
+ */
632
+ export declare const Decl_FunctionDecl_OverloadSchema: GenMessage<Decl_FunctionDecl_Overload>;
633
+ /**
634
+ * Describes a resolved reference to a declaration.
635
+ *
636
+ * @generated from message google.api.expr.v1alpha1.Reference
637
+ */
638
+ export type Reference = Message<"google.api.expr.v1alpha1.Reference"> & {
639
+ /**
640
+ * The fully qualified name of the declaration.
641
+ *
642
+ * @generated from field: string name = 1;
643
+ */
644
+ name: string;
645
+ /**
646
+ * For references to functions, this is a list of `Overload.overload_id`
647
+ * values which match according to typing rules.
648
+ *
649
+ * If the list has more than one element, overload resolution among the
650
+ * presented candidates must happen at runtime because of dynamic types. The
651
+ * type checker attempts to narrow down this list as much as possible.
652
+ *
653
+ * Empty if this is not a reference to a
654
+ * [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl].
655
+ *
656
+ * @generated from field: repeated string overload_id = 3;
657
+ */
658
+ overloadId: string[];
659
+ /**
660
+ * For references to constants, this may contain the value of the
661
+ * constant if known at compile time.
662
+ *
663
+ * @generated from field: google.api.expr.v1alpha1.Constant value = 4;
664
+ */
665
+ value?: Constant;
666
+ };
667
+ /**
668
+ * Describes the message google.api.expr.v1alpha1.Reference.
669
+ * Use `create(ReferenceSchema)` to create a new message.
670
+ */
671
+ export declare const ReferenceSchema: GenMessage<Reference>;
672
+ //# sourceMappingURL=checked_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checked_pb.d.ts","sourceRoot":"","sources":["../../../../../../src/protocol/google/api/expr/v1alpha1/checked_pb.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEjF,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjE,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAE/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,OACmpH,CAAC;AAExsH;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,sCAAsC,CAAC,GAAG;IAC1E;;;;;;;;;;;;;;;;;;OAkBG;IACH,YAAY,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;IAE3C;;;;;;;;OAQG;IACH,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;IAEjC;;;;;OAKG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;;;;;;;;;OAUG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,WAAW,CACC,CAAC;AAExD;;;;GAIG;AACH,MAAM,MAAM,IAAI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