@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,76 @@
1
+ // Copyright 2026 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=.js"
16
+ // @generated from file google/rpc/status.proto (package google.rpc, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
21
+ import type { Any } from "@bufbuild/protobuf/wkt";
22
+ import { file_google_protobuf_any } from "@bufbuild/protobuf/wkt";
23
+ import type { Message } from "@bufbuild/protobuf";
24
+
25
+ /**
26
+ * Describes the file google/rpc/status.proto.
27
+ */
28
+ export const file_google_rpc_status: GenFile = /*@__PURE__*/
29
+ fileDesc("Chdnb29nbGUvcnBjL3N0YXR1cy5wcm90bxIKZ29vZ2xlLnJwYyJOCgZTdGF0dXMSDAoEY29kZRgBIAEoBRIPCgdtZXNzYWdlGAIgASgJEiUKB2RldGFpbHMYAyADKAsyFC5nb29nbGUucHJvdG9idWYuQW55Qp8BCg5jb20uZ29vZ2xlLnJwY0ILU3RhdHVzUHJvdG9QAVo3Z29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9ycGMvc3RhdHVzO3N0YXR1c6ICA0dSWKoCCkdvb2dsZS5ScGPKAgpHb29nbGVcUnBj4gIWR29vZ2xlXFJwY1xHUEJNZXRhZGF0YeoCC0dvb2dsZTo6UnBjYgZwcm90bzM", [file_google_protobuf_any]);
30
+
31
+ /**
32
+ * The `Status` type defines a logical error model that is suitable for
33
+ * different programming environments, including REST APIs and RPC APIs. It is
34
+ * used by [gRPC](https://github.com/grpc). Each `Status` message contains
35
+ * three pieces of data: error code, error message, and error details.
36
+ *
37
+ * You can find out more about this error model and how to work with it in the
38
+ * [API Design Guide](https://cloud.google.com/apis/design/errors).
39
+ *
40
+ * @generated from message google.rpc.Status
41
+ */
42
+ export type Status = Message<"google.rpc.Status"> & {
43
+ /**
44
+ * The status code, which should be an enum value of
45
+ * [google.rpc.Code][google.rpc.Code].
46
+ *
47
+ * @generated from field: int32 code = 1;
48
+ */
49
+ code: number;
50
+
51
+ /**
52
+ * A developer-facing error message, which should be in English. Any
53
+ * user-facing error message should be localized and sent in the
54
+ * [google.rpc.Status.details][google.rpc.Status.details] field, or localized
55
+ * by the client.
56
+ *
57
+ * @generated from field: string message = 2;
58
+ */
59
+ message: string;
60
+
61
+ /**
62
+ * A list of messages that carry the error details. There is a common set of
63
+ * message types for APIs to use.
64
+ *
65
+ * @generated from field: repeated google.protobuf.Any details = 3;
66
+ */
67
+ details: Any[];
68
+ };
69
+
70
+ /**
71
+ * Describes the message google.rpc.Status.
72
+ * Use `create(StatusSchema)` to create a new message.
73
+ */
74
+ export const StatusSchema: GenMessage<Status> = /*@__PURE__*/
75
+ messageDesc(file_google_rpc_status, 0);
76
+
@@ -0,0 +1,102 @@
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/type/calendar_period.proto (package google.type, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
20
+ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
21
+
22
+ /**
23
+ * Describes the file google/type/calendar_period.proto.
24
+ */
25
+ export const file_google_type_calendar_period: GenFile = /*@__PURE__*/
26
+ fileDesc("CiFnb29nbGUvdHlwZS9jYWxlbmRhcl9wZXJpb2QucHJvdG8SC2dvb2dsZS50eXBlKn8KDkNhbGVuZGFyUGVyaW9kEh8KG0NBTEVOREFSX1BFUklPRF9VTlNQRUNJRklFRBAAEgcKA0RBWRABEggKBFdFRUsQAhINCglGT1JUTklHSFQQAxIJCgVNT05USBAEEgsKB1FVQVJURVIQBRIICgRIQUxGEAYSCAoEWUVBUhAHQr0BCg9jb20uZ29vZ2xlLnR5cGVCE0NhbGVuZGFyUGVyaW9kUHJvdG9QAVpIZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy90eXBlL2NhbGVuZGFycGVyaW9kO2NhbGVuZGFycGVyaW9kogIDR1RYqgILR29vZ2xlLlR5cGXKAgtHb29nbGVcVHlwZeICF0dvb2dsZVxUeXBlXEdQQk1ldGFkYXRh6gIMR29vZ2xlOjpUeXBlYgZwcm90bzM");
27
+
28
+ /**
29
+ * A `CalendarPeriod` represents the abstract concept of a time period that has
30
+ * a canonical start. Grammatically, "the start of the current
31
+ * `CalendarPeriod`." All calendar times begin at midnight UTC.
32
+ *
33
+ * @generated from enum google.type.CalendarPeriod
34
+ */
35
+ export enum CalendarPeriod {
36
+ /**
37
+ * Undefined period, raises an error.
38
+ *
39
+ * @generated from enum value: CALENDAR_PERIOD_UNSPECIFIED = 0;
40
+ */
41
+ CALENDAR_PERIOD_UNSPECIFIED = 0,
42
+
43
+ /**
44
+ * A day.
45
+ *
46
+ * @generated from enum value: DAY = 1;
47
+ */
48
+ DAY = 1,
49
+
50
+ /**
51
+ * A week. Weeks begin on Monday, following
52
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_week_date).
53
+ *
54
+ * @generated from enum value: WEEK = 2;
55
+ */
56
+ WEEK = 2,
57
+
58
+ /**
59
+ * A fortnight. The first calendar fortnight of the year begins at the start
60
+ * of week 1 according to
61
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_week_date).
62
+ *
63
+ * @generated from enum value: FORTNIGHT = 3;
64
+ */
65
+ FORTNIGHT = 3,
66
+
67
+ /**
68
+ * A month.
69
+ *
70
+ * @generated from enum value: MONTH = 4;
71
+ */
72
+ MONTH = 4,
73
+
74
+ /**
75
+ * A quarter. Quarters start on dates 1-Jan, 1-Apr, 1-Jul, and 1-Oct of each
76
+ * year.
77
+ *
78
+ * @generated from enum value: QUARTER = 5;
79
+ */
80
+ QUARTER = 5,
81
+
82
+ /**
83
+ * A half-year. Half-years start on dates 1-Jan and 1-Jul.
84
+ *
85
+ * @generated from enum value: HALF = 6;
86
+ */
87
+ HALF = 6,
88
+
89
+ /**
90
+ * A year.
91
+ *
92
+ * @generated from enum value: YEAR = 7;
93
+ */
94
+ YEAR = 7,
95
+ }
96
+
97
+ /**
98
+ * Describes the enum google.type.CalendarPeriod.
99
+ */
100
+ export const CalendarPeriodSchema: GenEnum<CalendarPeriod> = /*@__PURE__*/
101
+ enumDesc(file_google_type_calendar_period, 0);
102
+
@@ -0,0 +1,204 @@
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/type/color.proto (package google.type, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
21
+ import { file_google_protobuf_wrappers } from "@bufbuild/protobuf/wkt";
22
+ import type { Message } from "@bufbuild/protobuf";
23
+
24
+ /**
25
+ * Describes the file google/type/color.proto.
26
+ */
27
+ export const file_google_type_color: GenFile = /*@__PURE__*/
28
+ fileDesc("Chdnb29nbGUvdHlwZS9jb2xvci5wcm90bxILZ29vZ2xlLnR5cGUiXQoFQ29sb3ISCwoDcmVkGAEgASgCEg0KBWdyZWVuGAIgASgCEgwKBGJsdWUYAyABKAISKgoFYWxwaGEYBCABKAsyGy5nb29nbGUucHJvdG9idWYuRmxvYXRWYWx1ZUKiAQoPY29tLmdvb2dsZS50eXBlQgpDb2xvclByb3RvUAFaNmdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvdHlwZS9jb2xvcjtjb2xvcqICA0dUWKoCC0dvb2dsZS5UeXBlygILR29vZ2xlXFR5cGXiAhdHb29nbGVcVHlwZVxHUEJNZXRhZGF0YeoCDEdvb2dsZTo6VHlwZWIGcHJvdG8z", [file_google_protobuf_wrappers]);
29
+
30
+ /**
31
+ * Represents a color in the RGBA color space. This representation is designed
32
+ * for simplicity of conversion to and from color representations in various
33
+ * languages over compactness. For example, the fields of this representation
34
+ * can be trivially provided to the constructor of `java.awt.Color` in Java; it
35
+ * can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
36
+ * method in iOS; and, with just a little work, it can be easily formatted into
37
+ * a CSS `rgba()` string in JavaScript.
38
+ *
39
+ * This reference page doesn't have information about the absolute color
40
+ * space that should be used to interpret the RGB value—for example, sRGB,
41
+ * Adobe RGB,
42
+ * DCI-P3, and BT.2020. By default, applications should assume the sRGB color
43
+ * space.
44
+ *
45
+ * When color equality needs to be decided, implementations, unless documented
46
+ * otherwise, treat two colors as equal if all their red, green, blue, and alpha
47
+ * values each differ by at most `1e-5`.
48
+ *
49
+ * Example (Java):
50
+ *
51
+ * import com.google.type.Color;
52
+ *
53
+ * // ...
54
+ * public static java.awt.Color fromProto(Color protocolor) {
55
+ * float alpha = protocolor.hasAlpha()
56
+ * ? protocolor.getAlpha().getValue()
57
+ * : 1.0;
58
+ *
59
+ * return new java.awt.Color(
60
+ * protocolor.getRed(),
61
+ * protocolor.getGreen(),
62
+ * protocolor.getBlue(),
63
+ * alpha);
64
+ * }
65
+ *
66
+ * public static Color toProto(java.awt.Color color) {
67
+ * float red = (float) color.getRed();
68
+ * float green = (float) color.getGreen();
69
+ * float blue = (float) color.getBlue();
70
+ * float denominator = 255.0;
71
+ * Color.Builder resultBuilder =
72
+ * Color
73
+ * .newBuilder()
74
+ * .setRed(red / denominator)
75
+ * .setGreen(green / denominator)
76
+ * .setBlue(blue / denominator);
77
+ * int alpha = color.getAlpha();
78
+ * if (alpha != 255) {
79
+ * result.setAlpha(
80
+ * FloatValue
81
+ * .newBuilder()
82
+ * .setValue(((float) alpha) / denominator)
83
+ * .build());
84
+ * }
85
+ * return resultBuilder.build();
86
+ * }
87
+ * // ...
88
+ *
89
+ * Example (iOS / Obj-C):
90
+ *
91
+ * // ...
92
+ * static UIColor* fromProto(Color* protocolor) {
93
+ * float red = [protocolor red];
94
+ * float green = [protocolor green];
95
+ * float blue = [protocolor blue];
96
+ * FloatValue* alpha_wrapper = [protocolor alpha];
97
+ * float alpha = 1.0;
98
+ * if (alpha_wrapper != nil) {
99
+ * alpha = [alpha_wrapper value];
100
+ * }
101
+ * return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
102
+ * }
103
+ *
104
+ * static Color* toProto(UIColor* color) {
105
+ * CGFloat red, green, blue, alpha;
106
+ * if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {
107
+ * return nil;
108
+ * }
109
+ * Color* result = [[Color alloc] init];
110
+ * [result setRed:red];
111
+ * [result setGreen:green];
112
+ * [result setBlue:blue];
113
+ * if (alpha <= 0.9999) {
114
+ * [result setAlpha:floatWrapperWithValue(alpha)];
115
+ * }
116
+ * [result autorelease];
117
+ * return result;
118
+ * }
119
+ * // ...
120
+ *
121
+ * Example (JavaScript):
122
+ *
123
+ * // ...
124
+ *
125
+ * var protoToCssColor = function(rgb_color) {
126
+ * var redFrac = rgb_color.red || 0.0;
127
+ * var greenFrac = rgb_color.green || 0.0;
128
+ * var blueFrac = rgb_color.blue || 0.0;
129
+ * var red = Math.floor(redFrac * 255);
130
+ * var green = Math.floor(greenFrac * 255);
131
+ * var blue = Math.floor(blueFrac * 255);
132
+ *
133
+ * if (!('alpha' in rgb_color)) {
134
+ * return rgbToCssColor(red, green, blue);
135
+ * }
136
+ *
137
+ * var alphaFrac = rgb_color.alpha.value || 0.0;
138
+ * var rgbParams = [red, green, blue].join(',');
139
+ * return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
140
+ * };
141
+ *
142
+ * var rgbToCssColor = function(red, green, blue) {
143
+ * var rgbNumber = new Number((red << 16) | (green << 8) | blue);
144
+ * var hexString = rgbNumber.toString(16);
145
+ * var missingZeros = 6 - hexString.length;
146
+ * var resultBuilder = ['#'];
147
+ * for (var i = 0; i < missingZeros; i++) {
148
+ * resultBuilder.push('0');
149
+ * }
150
+ * resultBuilder.push(hexString);
151
+ * return resultBuilder.join('');
152
+ * };
153
+ *
154
+ * // ...
155
+ *
156
+ * @generated from message google.type.Color
157
+ */
158
+ export type Color = Message<"google.type.Color"> & {
159
+ /**
160
+ * The amount of red in the color as a value in the interval [0, 1].
161
+ *
162
+ * @generated from field: float red = 1;
163
+ */
164
+ red: number;
165
+
166
+ /**
167
+ * The amount of green in the color as a value in the interval [0, 1].
168
+ *
169
+ * @generated from field: float green = 2;
170
+ */
171
+ green: number;
172
+
173
+ /**
174
+ * The amount of blue in the color as a value in the interval [0, 1].
175
+ *
176
+ * @generated from field: float blue = 3;
177
+ */
178
+ blue: number;
179
+
180
+ /**
181
+ * The fraction of this color that should be applied to the pixel. That is,
182
+ * the final pixel color is defined by the equation:
183
+ *
184
+ * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
185
+ *
186
+ * This means that a value of 1.0 corresponds to a solid color, whereas
187
+ * a value of 0.0 corresponds to a completely transparent color. This
188
+ * uses a wrapper message rather than a simple float scalar so that it is
189
+ * possible to distinguish between a default value and the value being unset.
190
+ * If omitted, this color object is rendered as a solid color
191
+ * (as if the alpha value had been explicitly given a value of 1.0).
192
+ *
193
+ * @generated from field: google.protobuf.FloatValue alpha = 4;
194
+ */
195
+ alpha?: number;
196
+ };
197
+
198
+ /**
199
+ * Describes the message google.type.Color.
200
+ * Use `create(ColorSchema)` to create a new message.
201
+ */
202
+ export const ColorSchema: GenMessage<Color> = /*@__PURE__*/
203
+ messageDesc(file_google_type_color, 0);
204
+
@@ -0,0 +1,82 @@
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/type/date.proto (package google.type, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
21
+ import type { Message } from "@bufbuild/protobuf";
22
+
23
+ /**
24
+ * Describes the file google/type/date.proto.
25
+ */
26
+ export const file_google_type_date: GenFile = /*@__PURE__*/
27
+ fileDesc("ChZnb29nbGUvdHlwZS9kYXRlLnByb3RvEgtnb29nbGUudHlwZSIwCgREYXRlEgwKBHllYXIYASABKAUSDQoFbW9udGgYAiABKAUSCwoDZGF5GAMgASgFQp8BCg9jb20uZ29vZ2xlLnR5cGVCCURhdGVQcm90b1ABWjRnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL3R5cGUvZGF0ZTtkYXRlogIDR1RYqgILR29vZ2xlLlR5cGXKAgtHb29nbGVcVHlwZeICF0dvb2dsZVxUeXBlXEdQQk1ldGFkYXRh6gIMR29vZ2xlOjpUeXBlYgZwcm90bzM");
28
+
29
+ /**
30
+ * Represents a whole or partial calendar date, such as a birthday. The time of
31
+ * day and time zone are either specified elsewhere or are insignificant. The
32
+ * date is relative to the Gregorian Calendar. This can represent one of the
33
+ * following:
34
+ *
35
+ * * A full date, with non-zero year, month, and day values.
36
+ * * A month and day, with a zero year (for example, an anniversary).
37
+ * * A year on its own, with a zero month and a zero day.
38
+ * * A year and month, with a zero day (for example, a credit card expiration
39
+ * date).
40
+ *
41
+ * Related types:
42
+ *
43
+ * * [google.type.TimeOfDay][google.type.TimeOfDay]
44
+ * * [google.type.DateTime][google.type.DateTime]
45
+ * * [google.protobuf.Timestamp][google.protobuf.Timestamp]
46
+ *
47
+ * @generated from message google.type.Date
48
+ */
49
+ export type Date = Message<"google.type.Date"> & {
50
+ /**
51
+ * Year of the date. Must be from 1 to 9999, or 0 to specify a date without
52
+ * a year.
53
+ *
54
+ * @generated from field: int32 year = 1;
55
+ */
56
+ year: number;
57
+
58
+ /**
59
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a
60
+ * month and day.
61
+ *
62
+ * @generated from field: int32 month = 2;
63
+ */
64
+ month: number;
65
+
66
+ /**
67
+ * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
68
+ * to specify a year by itself or a year and month where the day isn't
69
+ * significant.
70
+ *
71
+ * @generated from field: int32 day = 3;
72
+ */
73
+ day: number;
74
+ };
75
+
76
+ /**
77
+ * Describes the message google.type.Date.
78
+ * Use `create(DateSchema)` to create a new message.
79
+ */
80
+ export const DateSchema: GenMessage<Date> = /*@__PURE__*/
81
+ messageDesc(file_google_type_date, 0);
82
+
@@ -0,0 +1,181 @@
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/type/datetime.proto (package google.type, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
21
+ import type { Duration } from "@bufbuild/protobuf/wkt";
22
+ import { file_google_protobuf_duration } from "@bufbuild/protobuf/wkt";
23
+ import type { Message } from "@bufbuild/protobuf";
24
+
25
+ /**
26
+ * Describes the file google/type/datetime.proto.
27
+ */
28
+ export const file_google_type_datetime: GenFile = /*@__PURE__*/
29
+ fileDesc("Chpnb29nbGUvdHlwZS9kYXRldGltZS5wcm90bxILZ29vZ2xlLnR5cGUi4AEKCERhdGVUaW1lEgwKBHllYXIYASABKAUSDQoFbW9udGgYAiABKAUSCwoDZGF5GAMgASgFEg0KBWhvdXJzGAQgASgFEg8KB21pbnV0ZXMYBSABKAUSDwoHc2Vjb25kcxgGIAEoBRINCgVuYW5vcxgHIAEoBRIvCgp1dGNfb2Zmc2V0GAggASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uSAASKgoJdGltZV96b25lGAkgASgLMhUuZ29vZ2xlLnR5cGUuVGltZVpvbmVIAEINCgt0aW1lX29mZnNldCInCghUaW1lWm9uZRIKCgJpZBgBIAEoCRIPCgd2ZXJzaW9uGAIgASgJQqsBCg9jb20uZ29vZ2xlLnR5cGVCDURhdGV0aW1lUHJvdG9QAVo8Z29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy90eXBlL2RhdGV0aW1lO2RhdGV0aW1logIDR1RYqgILR29vZ2xlLlR5cGXKAgtHb29nbGVcVHlwZeICF0dvb2dsZVxUeXBlXEdQQk1ldGFkYXRh6gIMR29vZ2xlOjpUeXBlYgZwcm90bzM", [file_google_protobuf_duration]);
30
+
31
+ /**
32
+ * Represents civil time (or occasionally physical time).
33
+ *
34
+ * This type can represent a civil time in one of a few possible ways:
35
+ *
36
+ * * When utc_offset is set and time_zone is unset: a civil time on a calendar
37
+ * day with a particular offset from UTC.
38
+ * * When time_zone is set and utc_offset is unset: a civil time on a calendar
39
+ * day in a particular time zone.
40
+ * * When neither time_zone nor utc_offset is set: a civil time on a calendar
41
+ * day in local time.
42
+ *
43
+ * The date is relative to the Proleptic Gregorian Calendar.
44
+ *
45
+ * If year, month, or day are 0, the DateTime is considered not to have a
46
+ * specific year, month, or day respectively.
47
+ *
48
+ * This type may also be used to represent a physical time if all the date and
49
+ * time fields are set and either case of the `time_offset` oneof is set.
50
+ * Consider using `Timestamp` message for physical time instead. If your use
51
+ * case also would like to store the user's timezone, that can be done in
52
+ * another field.
53
+ *
54
+ * This type is more flexible than some applications may want. Make sure to
55
+ * document and validate your application's limitations.
56
+ *
57
+ * @generated from message google.type.DateTime
58
+ */
59
+ export type DateTime = Message<"google.type.DateTime"> & {
60
+ /**
61
+ * Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
62
+ * datetime without a year.
63
+ *
64
+ * @generated from field: int32 year = 1;
65
+ */
66
+ year: number;
67
+
68
+ /**
69
+ * Optional. Month of year. Must be from 1 to 12, or 0 if specifying a
70
+ * datetime without a month.
71
+ *
72
+ * @generated from field: int32 month = 2;
73
+ */
74
+ month: number;
75
+
76
+ /**
77
+ * Optional. Day of month. Must be from 1 to 31 and valid for the year and
78
+ * month, or 0 if specifying a datetime without a day.
79
+ *
80
+ * @generated from field: int32 day = 3;
81
+ */
82
+ day: number;
83
+
84
+ /**
85
+ * Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults
86
+ * to 0 (midnight). An API may choose to allow the value "24:00:00" for
87
+ * scenarios like business closing time.
88
+ *
89
+ * @generated from field: int32 hours = 4;
90
+ */
91
+ hours: number;
92
+
93
+ /**
94
+ * Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
95
+ *
96
+ * @generated from field: int32 minutes = 5;
97
+ */
98
+ minutes: number;
99
+
100
+ /**
101
+ * Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
102
+ * defaults to 0. An API may allow the value 60 if it allows leap-seconds.
103
+ *
104
+ * @generated from field: int32 seconds = 6;
105
+ */
106
+ seconds: number;
107
+
108
+ /**
109
+ * Optional. Fractions of seconds in nanoseconds. Must be from 0 to
110
+ * 999,999,999, defaults to 0.
111
+ *
112
+ * @generated from field: int32 nanos = 7;
113
+ */
114
+ nanos: number;
115
+
116
+ /**
117
+ * Optional. Specifies either the UTC offset or the time zone of the DateTime.
118
+ * Choose carefully between them, considering that time zone data may change
119
+ * in the future (for example, a country modifies their DST start/end dates,
120
+ * and future DateTimes in the affected range had already been stored).
121
+ * If omitted, the DateTime is considered to be in local time.
122
+ *
123
+ * @generated from oneof google.type.DateTime.time_offset
124
+ */
125
+ timeOffset: {
126
+ /**
127
+ * UTC offset. Must be whole seconds, between -18 hours and +18 hours.
128
+ * For example, a UTC offset of -4:00 would be represented as
129
+ * { seconds: -14400 }.
130
+ *
131
+ * @generated from field: google.protobuf.Duration utc_offset = 8;
132
+ */
133
+ value: Duration;
134
+ case: "utcOffset";
135
+ } | {
136
+ /**
137
+ * Time zone.
138
+ *
139
+ * @generated from field: google.type.TimeZone time_zone = 9;
140
+ */
141
+ value: TimeZone;
142
+ case: "timeZone";
143
+ } | { case: undefined; value?: undefined };
144
+ };
145
+
146
+ /**
147
+ * Describes the message google.type.DateTime.
148
+ * Use `create(DateTimeSchema)` to create a new message.
149
+ */
150
+ export const DateTimeSchema: GenMessage<DateTime> = /*@__PURE__*/
151
+ messageDesc(file_google_type_datetime, 0);
152
+
153
+ /**
154
+ * Represents a time zone from the
155
+ * [IANA Time Zone Database](https://www.iana.org/time-zones).
156
+ *
157
+ * @generated from message google.type.TimeZone
158
+ */
159
+ export type TimeZone = Message<"google.type.TimeZone"> & {
160
+ /**
161
+ * IANA Time Zone Database time zone. For example "America/New_York".
162
+ *
163
+ * @generated from field: string id = 1;
164
+ */
165
+ id: string;
166
+
167
+ /**
168
+ * Optional. IANA Time Zone Database version number. For example "2019a".
169
+ *
170
+ * @generated from field: string version = 2;
171
+ */
172
+ version: string;
173
+ };
174
+
175
+ /**
176
+ * Describes the message google.type.TimeZone.
177
+ * Use `create(TimeZoneSchema)` to create a new message.
178
+ */
179
+ export const TimeZoneSchema: GenMessage<TimeZone> = /*@__PURE__*/
180
+ messageDesc(file_google_type_datetime, 1);
181
+