@alis-build/common-es 1.0.3

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 (357) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -0
  3. package/alis/a2a/extension/history/v1/history_connect.d.ts +155 -0
  4. package/alis/a2a/extension/history/v1/history_connect.js +155 -0
  5. package/alis/a2a/extension/history/v1/history_pb.d.ts +550 -0
  6. package/alis/a2a/extension/history/v1/history_pb.js +111 -0
  7. package/alis/open/agent/v1/agent_connect.d.ts +155 -0
  8. package/alis/open/agent/v1/agent_connect.js +155 -0
  9. package/alis/open/agent/v1/agent_pb.d.ts +2129 -0
  10. package/alis/open/agent/v1/agent_pb.js +390 -0
  11. package/alis/open/agent/v2/a2a_connect.d.ts +155 -0
  12. package/alis/open/agent/v2/a2a_connect.js +155 -0
  13. package/alis/open/agent/v2/a2a_pb.d.ts +2181 -0
  14. package/alis/open/agent/v2/a2a_pb.js +390 -0
  15. package/alis/open/config/v1/config_pb.d.ts +61 -0
  16. package/alis/open/config/v1/config_pb.js +19 -0
  17. package/alis/open/cx/v1/cx_pb.d.ts +2153 -0
  18. package/alis/open/cx/v1/cx_pb.js +230 -0
  19. package/alis/open/flows/v1/flows_connect.d.ts +94 -0
  20. package/alis/open/flows/v1/flows_connect.js +94 -0
  21. package/alis/open/flows/v1/flows_pb.d.ts +546 -0
  22. package/alis/open/flows/v1/flows_pb.js +104 -0
  23. package/alis/open/iam/v1/group_connect.d.ts +143 -0
  24. package/alis/open/iam/v1/group_connect.js +143 -0
  25. package/alis/open/iam/v1/group_pb.d.ts +385 -0
  26. package/alis/open/iam/v1/group_pb.js +88 -0
  27. package/alis/open/iam/v1/iam_pb.d.ts +171 -0
  28. package/alis/open/iam/v1/iam_pb.js +46 -0
  29. package/alis/open/iam/v1/oauth_pb.d.ts +564 -0
  30. package/alis/open/iam/v1/oauth_pb.js +111 -0
  31. package/alis/open/iam/v1/role_pb.d.ts +95 -0
  32. package/alis/open/iam/v1/role_pb.js +19 -0
  33. package/alis/open/iam/v1/user_connect.d.ts +327 -0
  34. package/alis/open/iam/v1/user_connect.js +327 -0
  35. package/alis/open/iam/v1/user_pb.d.ts +1580 -0
  36. package/alis/open/iam/v1/user_pb.js +279 -0
  37. package/alis/open/in/v1/in_pb.d.ts +902 -0
  38. package/alis/open/in/v1/in_pb.js +113 -0
  39. package/alis/open/notifications/v1/devices_connect.d.ts +161 -0
  40. package/alis/open/notifications/v1/devices_connect.js +161 -0
  41. package/alis/open/notifications/v1/devices_pb.d.ts +362 -0
  42. package/alis/open/notifications/v1/devices_pb.js +75 -0
  43. package/alis/open/notifications/v1/notifications_connect.d.ts +77 -0
  44. package/alis/open/notifications/v1/notifications_connect.js +77 -0
  45. package/alis/open/notifications/v1/notifications_pb.d.ts +196 -0
  46. package/alis/open/notifications/v1/notifications_pb.js +49 -0
  47. package/alis/open/operations/v1/operations_pb.d.ts +194 -0
  48. package/alis/open/operations/v1/operations_pb.js +28 -0
  49. package/alis/open/options/v1/options_pb.d.ts +274 -0
  50. package/alis/open/options/v1/options_pb.js +85 -0
  51. package/alis/open/pubsub/v1/pubsub_pb.d.ts +124 -0
  52. package/alis/open/pubsub/v1/pubsub_pb.js +26 -0
  53. package/alis/open/px/v1/px_pb.d.ts +2169 -0
  54. package/alis/open/px/v1/px_pb.js +281 -0
  55. package/alis/open/support/v1/attachments_connect.d.ts +30 -0
  56. package/alis/open/support/v1/attachments_connect.js +30 -0
  57. package/alis/open/support/v1/attachments_pb.d.ts +84 -0
  58. package/alis/open/support/v1/attachments_pb.js +34 -0
  59. package/alis/open/support/v1/events_connect.d.ts +30 -0
  60. package/alis/open/support/v1/events_connect.js +30 -0
  61. package/alis/open/support/v1/events_pb.d.ts +236 -0
  62. package/alis/open/support/v1/events_pb.js +84 -0
  63. package/alis/open/support/v1/guide_connect.d.ts +76 -0
  64. package/alis/open/support/v1/guide_connect.js +76 -0
  65. package/alis/open/support/v1/guide_pb.d.ts +853 -0
  66. package/alis/open/support/v1/guide_pb.js +169 -0
  67. package/alis/open/support/v1/issue_connect.d.ts +216 -0
  68. package/alis/open/support/v1/issue_connect.js +216 -0
  69. package/alis/open/support/v1/issue_pb.d.ts +1030 -0
  70. package/alis/open/support/v1/issue_pb.js +215 -0
  71. package/alis/open/support/v1/issueactivity_connect.d.ts +139 -0
  72. package/alis/open/support/v1/issueactivity_connect.js +139 -0
  73. package/alis/open/support/v1/issueactivity_pb.d.ts +551 -0
  74. package/alis/open/support/v1/issueactivity_pb.js +108 -0
  75. package/alis/open/support/v1/issuesubscriber_connect.d.ts +146 -0
  76. package/alis/open/support/v1/issuesubscriber_connect.js +146 -0
  77. package/alis/open/support/v1/issuesubscriber_pb.d.ts +341 -0
  78. package/alis/open/support/v1/issuesubscriber_pb.js +68 -0
  79. package/alis/open/validation/v1/test_connect.d.ts +74 -0
  80. package/alis/open/validation/v1/test_connect.js +74 -0
  81. package/alis/open/validation/v1/test_pb.d.ts +345 -0
  82. package/alis/open/validation/v1/test_pb.js +84 -0
  83. package/alis/open/validation/v1/validation_connect.d.ts +39 -0
  84. package/alis/open/validation/v1/validation_connect.js +39 -0
  85. package/alis/open/validation/v1/validation_pb.d.ts +207 -0
  86. package/alis/open/validation/v1/validation_pb.js +59 -0
  87. package/alis/test/v1/test_pb.d.ts +32 -0
  88. package/alis/test/v1/test_pb.js +18 -0
  89. package/common/test/v1/test_pb.d.ts +32 -0
  90. package/common/test/v1/test_pb.js +18 -0
  91. package/google/api/annotations_pb.d.ts +33 -0
  92. package/google/api/annotations_pb.js +35 -0
  93. package/google/api/apikeys/v2/apikeys_connect.d.ts +151 -0
  94. package/google/api/apikeys/v2/apikeys_connect.js +151 -0
  95. package/google/api/apikeys/v2/apikeys_pb.d.ts +449 -0
  96. package/google/api/apikeys/v2/apikeys_pb.js +117 -0
  97. package/google/api/apikeys/v2/resources_pb.d.ts +341 -0
  98. package/google/api/apikeys/v2/resources_pb.js +84 -0
  99. package/google/api/auth_pb.d.ts +380 -0
  100. package/google/api/auth_pb.js +67 -0
  101. package/google/api/backend_pb.d.ts +269 -0
  102. package/google/api/backend_pb.js +59 -0
  103. package/google/api/billing_pb.d.ts +109 -0
  104. package/google/api/billing_pb.js +39 -0
  105. package/google/api/client_pb.d.ts +691 -0
  106. package/google/api/client_pb.js +233 -0
  107. package/google/api/config_change_pb.d.ts +155 -0
  108. package/google/api/config_change_pb.js +54 -0
  109. package/google/api/consumer_pb.d.ts +150 -0
  110. package/google/api/consumer_pb.js +53 -0
  111. package/google/api/context_pb.d.ts +135 -0
  112. package/google/api/context_pb.js +39 -0
  113. package/google/api/control_pb.d.ts +52 -0
  114. package/google/api/control_pb.js +32 -0
  115. package/google/api/distribution_pb.d.ts +377 -0
  116. package/google/api/distribution_pb.js +76 -0
  117. package/google/api/documentation_pb.d.ts +248 -0
  118. package/google/api/documentation_pb.js +46 -0
  119. package/google/api/endpoint_pb.d.ts +102 -0
  120. package/google/api/endpoint_pb.js +32 -0
  121. package/google/api/error_reason_pb.d.ts +657 -0
  122. package/google/api/error_reason_pb.js +48 -0
  123. package/google/api/expr/conformance/v1alpha1/conformance_service_connect.d.ts +71 -0
  124. package/google/api/expr/conformance/v1alpha1/conformance_service_connect.js +71 -0
  125. package/google/api/expr/conformance/v1alpha1/conformance_service_pb.d.ts +415 -0
  126. package/google/api/expr/conformance/v1alpha1/conformance_service_pb.js +112 -0
  127. package/google/api/expr/v1alpha1/checked_pb.d.ts +701 -0
  128. package/google/api/expr/v1alpha1/checked_pb.js +133 -0
  129. package/google/api/expr/v1alpha1/eval_pb.d.ts +212 -0
  130. package/google/api/expr/v1alpha1/eval_pb.js +62 -0
  131. package/google/api/expr/v1alpha1/explain_pb.d.ts +92 -0
  132. package/google/api/expr/v1alpha1/explain_pb.js +42 -0
  133. package/google/api/expr/v1alpha1/syntax_pb.d.ts +698 -0
  134. package/google/api/expr/v1alpha1/syntax_pb.js +112 -0
  135. package/google/api/expr/v1alpha1/value_pb.d.ts +252 -0
  136. package/google/api/expr/v1alpha1/value_pb.js +62 -0
  137. package/google/api/expr/v1beta1/decl_pb.d.ts +183 -0
  138. package/google/api/expr/v1beta1/decl_pb.js +55 -0
  139. package/google/api/expr/v1beta1/eval_pb.d.ts +233 -0
  140. package/google/api/expr/v1beta1/eval_pb.js +70 -0
  141. package/google/api/expr/v1beta1/expr_pb.d.ts +550 -0
  142. package/google/api/expr/v1beta1/expr_pb.js +98 -0
  143. package/google/api/expr/v1beta1/source_pb.d.ts +112 -0
  144. package/google/api/expr/v1beta1/source_pb.js +40 -0
  145. package/google/api/expr/v1beta1/value_pb.d.ts +253 -0
  146. package/google/api/expr/v1beta1/value_pb.js +63 -0
  147. package/google/api/field_behavior_pb.d.ts +133 -0
  148. package/google/api/field_behavior_pb.js +64 -0
  149. package/google/api/http_pb.d.ts +472 -0
  150. package/google/api/http_pb.js +46 -0
  151. package/google/api/httpbody_pb.d.ts +103 -0
  152. package/google/api/httpbody_pb.js +33 -0
  153. package/google/api/label_pb.d.ts +92 -0
  154. package/google/api/label_pb.js +46 -0
  155. package/google/api/launch_stage_pb.d.ts +114 -0
  156. package/google/api/launch_stage_pb.js +40 -0
  157. package/google/api/log_pb.d.ts +81 -0
  158. package/google/api/log_pb.js +33 -0
  159. package/google/api/logging_pb.d.ts +118 -0
  160. package/google/api/logging_pb.js +39 -0
  161. package/google/api/metric_pb.d.ts +422 -0
  162. package/google/api/metric_pb.js +79 -0
  163. package/google/api/monitored_resource_pb.d.ts +194 -0
  164. package/google/api/monitored_resource_pb.js +49 -0
  165. package/google/api/monitoring_pb.d.ts +143 -0
  166. package/google/api/monitoring_pb.js +39 -0
  167. package/google/api/quota_pb.d.ts +271 -0
  168. package/google/api/quota_pb.js +46 -0
  169. package/google/api/resource_pb.d.ts +338 -0
  170. package/google/api/resource_pb.js +96 -0
  171. package/google/api/routing_pb.d.ts +496 -0
  172. package/google/api/routing_pb.js +48 -0
  173. package/google/api/service_pb.d.ts +304 -0
  174. package/google/api/service_pb.js +53 -0
  175. package/google/api/servicecontrol/v1/check_error_pb.d.ts +241 -0
  176. package/google/api/servicecontrol/v1/check_error_pb.js +47 -0
  177. package/google/api/servicecontrol/v1/distribution_pb.d.ts +279 -0
  178. package/google/api/servicecontrol/v1/distribution_pb.js +54 -0
  179. package/google/api/servicecontrol/v1/http_request_pb.d.ts +162 -0
  180. package/google/api/servicecontrol/v1/http_request_pb.js +33 -0
  181. package/google/api/servicecontrol/v1/log_entry_pb.d.ts +237 -0
  182. package/google/api/servicecontrol/v1/log_entry_pb.js +51 -0
  183. package/google/api/servicecontrol/v1/metric_value_pb.d.ts +148 -0
  184. package/google/api/servicecontrol/v1/metric_value_pb.js +41 -0
  185. package/google/api/servicecontrol/v1/operation_pb.d.ts +188 -0
  186. package/google/api/servicecontrol/v1/operation_pb.js +50 -0
  187. package/google/api/servicecontrol/v1/quota_controller_connect.d.ts +56 -0
  188. package/google/api/servicecontrol/v1/quota_controller_connect.js +56 -0
  189. package/google/api/servicecontrol/v1/quota_controller_pb.d.ts +417 -0
  190. package/google/api/servicecontrol/v1/quota_controller_pb.js +100 -0
  191. package/google/api/servicecontrol/v1/service_controller_connect.d.ts +87 -0
  192. package/google/api/servicecontrol/v1/service_controller_connect.js +87 -0
  193. package/google/api/servicecontrol/v1/service_controller_pb.d.ts +437 -0
  194. package/google/api/servicecontrol/v1/service_controller_pb.js +105 -0
  195. package/google/api/servicecontrol/v2/service_controller_connect.d.ts +99 -0
  196. package/google/api/servicecontrol/v2/service_controller_connect.js +99 -0
  197. package/google/api/servicecontrol/v2/service_controller_pb.d.ts +300 -0
  198. package/google/api/servicecontrol/v2/service_controller_pb.js +79 -0
  199. package/google/api/servicemanagement/v1/resources_pb.d.ts +632 -0
  200. package/google/api/servicemanagement/v1/resources_pb.js +159 -0
  201. package/google/api/servicemanagement/v1/servicemanager_connect.d.ts +252 -0
  202. package/google/api/servicemanagement/v1/servicemanager_connect.js +252 -0
  203. package/google/api/servicemanagement/v1/servicemanager_pb.d.ts +854 -0
  204. package/google/api/servicemanagement/v1/servicemanager_pb.js +186 -0
  205. package/google/api/serviceusage/v1/resources_pb.d.ts +231 -0
  206. package/google/api/serviceusage/v1/resources_pb.js +68 -0
  207. package/google/api/serviceusage/v1/serviceusage_connect.d.ts +125 -0
  208. package/google/api/serviceusage/v1/serviceusage_connect.js +125 -0
  209. package/google/api/serviceusage/v1/serviceusage_pb.d.ts +529 -0
  210. package/google/api/serviceusage/v1/serviceusage_pb.js +140 -0
  211. package/google/api/serviceusage/v1beta1/resources_pb.d.ts +748 -0
  212. package/google/api/serviceusage/v1beta1/resources_pb.js +146 -0
  213. package/google/api/serviceusage/v1beta1/serviceusage_connect.d.ts +285 -0
  214. package/google/api/serviceusage/v1beta1/serviceusage_connect.js +285 -0
  215. package/google/api/serviceusage/v1beta1/serviceusage_pb.d.ts +1446 -0
  216. package/google/api/serviceusage/v1beta1/serviceusage_pb.js +304 -0
  217. package/google/api/source_info_pb.d.ts +46 -0
  218. package/google/api/source_info_pb.js +33 -0
  219. package/google/api/system_parameter_pb.d.ts +151 -0
  220. package/google/api/system_parameter_pb.js +46 -0
  221. package/google/api/usage_pb.d.ts +141 -0
  222. package/google/api/usage_pb.js +39 -0
  223. package/google/api/visibility_pb.d.ts +157 -0
  224. package/google/api/visibility_pb.js +88 -0
  225. package/google/iam/admin/v1/audit_data_pb.d.ts +75 -0
  226. package/google/iam/admin/v1/audit_data_pb.js +39 -0
  227. package/google/iam/admin/v1/iam_connect.d.ts +534 -0
  228. package/google/iam/admin/v1/iam_connect.js +534 -0
  229. package/google/iam/admin/v1/iam_pb.d.ts +2699 -0
  230. package/google/iam/admin/v1/iam_pb.js +528 -0
  231. package/google/iam/credentials/v1/common_pb.d.ts +319 -0
  232. package/google/iam/credentials/v1/common_pb.js +85 -0
  233. package/google/iam/credentials/v1/iamcredentials_connect.d.ts +84 -0
  234. package/google/iam/credentials/v1/iamcredentials_connect.js +84 -0
  235. package/google/iam/credentials/v1/iamcredentials_pb.d.ts +81 -0
  236. package/google/iam/credentials/v1/iamcredentials_pb.js +44 -0
  237. package/google/iam/v1/iam_policy_connect.d.ts +102 -0
  238. package/google/iam/v1/iam_policy_connect.js +102 -0
  239. package/google/iam/v1/iam_policy_pb.d.ts +225 -0
  240. package/google/iam/v1/iam_policy_pb.js +93 -0
  241. package/google/iam/v1/logging/audit_data_pb.d.ts +48 -0
  242. package/google/iam/v1/logging/audit_data_pb.js +33 -0
  243. package/google/iam/v1/options_pb.d.ts +62 -0
  244. package/google/iam/v1/options_pb.js +32 -0
  245. package/google/iam/v1/policy_pb.d.ts +622 -0
  246. package/google/iam/v1/policy_pb.js +118 -0
  247. package/google/iam/v1beta/workload_identity_pool_connect.d.ts +203 -0
  248. package/google/iam/v1beta/workload_identity_pool_connect.js +203 -0
  249. package/google/iam/v1beta/workload_identity_pool_pb.d.ts +996 -0
  250. package/google/iam/v1beta/workload_identity_pool_pb.js +207 -0
  251. package/google/iam/v2/deny_pb.d.ts +139 -0
  252. package/google/iam/v2/deny_pb.js +33 -0
  253. package/google/iam/v2/policy_connect.d.ts +102 -0
  254. package/google/iam/v2/policy_connect.js +102 -0
  255. package/google/iam/v2/policy_pb.d.ts +481 -0
  256. package/google/iam/v2/policy_pb.js +102 -0
  257. package/google/iam/v2beta/deny_pb.d.ts +139 -0
  258. package/google/iam/v2beta/deny_pb.js +33 -0
  259. package/google/iam/v2beta/policy_connect.d.ts +102 -0
  260. package/google/iam/v2beta/policy_connect.js +102 -0
  261. package/google/iam/v2beta/policy_pb.d.ts +473 -0
  262. package/google/iam/v2beta/policy_pb.js +102 -0
  263. package/google/logging/type/http_request_pb.d.ts +164 -0
  264. package/google/logging/type/http_request_pb.js +33 -0
  265. package/google/logging/type/log_severity_pb.d.ts +114 -0
  266. package/google/logging/type/log_severity_pb.js +53 -0
  267. package/google/logging/v2/log_entry_pb.d.ts +382 -0
  268. package/google/logging/v2/log_entry_pb.js +61 -0
  269. package/google/logging/v2/logging_config_connect.d.ts +401 -0
  270. package/google/logging/v2/logging_config_connect.js +401 -0
  271. package/google/logging/v2/logging_config_pb.d.ts +2422 -0
  272. package/google/logging/v2/logging_config_pb.js +360 -0
  273. package/google/logging/v2/logging_connect.d.ts +113 -0
  274. package/google/logging/v2/logging_connect.js +113 -0
  275. package/google/logging/v2/logging_metrics_connect.d.ts +88 -0
  276. package/google/logging/v2/logging_metrics_connect.js +88 -0
  277. package/google/logging/v2/logging_metrics_pb.d.ts +467 -0
  278. package/google/logging/v2/logging_metrics_pb.js +104 -0
  279. package/google/logging/v2/logging_pb.d.ts +718 -0
  280. package/google/logging/v2/logging_pb.js +147 -0
  281. package/google/longrunning/operations_connect.d.ts +127 -0
  282. package/google/longrunning/operations_connect.js +127 -0
  283. package/google/longrunning/operations_pb.d.ts +420 -0
  284. package/google/longrunning/operations_pb.js +117 -0
  285. package/google/protobuf/any_pb.d.ts +181 -0
  286. package/google/protobuf/any_pb.js +48 -0
  287. package/google/protobuf/api_pb.d.ts +301 -0
  288. package/google/protobuf/api_pb.js +64 -0
  289. package/google/protobuf/descriptor_pb.d.ts +2589 -0
  290. package/google/protobuf/descriptor_pb.js +503 -0
  291. package/google/protobuf/duration_pb.d.ts +133 -0
  292. package/google/protobuf/duration_pb.js +48 -0
  293. package/google/protobuf/empty_pb.d.ts +62 -0
  294. package/google/protobuf/empty_pb.js +48 -0
  295. package/google/protobuf/field_mask_pb.d.ts +259 -0
  296. package/google/protobuf/field_mask_pb.js +48 -0
  297. package/google/protobuf/source_context_pb.d.ts +63 -0
  298. package/google/protobuf/source_context_pb.js +48 -0
  299. package/google/protobuf/struct_pb.d.ts +185 -0
  300. package/google/protobuf/struct_pb.js +79 -0
  301. package/google/protobuf/timestamp_pb.d.ts +162 -0
  302. package/google/protobuf/timestamp_pb.js +48 -0
  303. package/google/protobuf/type_pb.d.ts +531 -0
  304. package/google/protobuf/type_pb.js +120 -0
  305. package/google/protobuf/wrappers_pb.d.ts +249 -0
  306. package/google/protobuf/wrappers_pb.js +114 -0
  307. package/google/rpc/code_pb.d.ts +264 -0
  308. package/google/rpc/code_pb.js +45 -0
  309. package/google/rpc/context/attribute_context_pb.d.ts +618 -0
  310. package/google/rpc/context/attribute_context_pb.js +78 -0
  311. package/google/rpc/context/audit_context_pb.d.ts +79 -0
  312. package/google/rpc/context/audit_context_pb.js +33 -0
  313. package/google/rpc/error_details_pb.d.ts +534 -0
  314. package/google/rpc/error_details_pb.js +124 -0
  315. package/google/rpc/http_pb.d.ts +136 -0
  316. package/google/rpc/http_pb.js +46 -0
  317. package/google/rpc/status_pb.d.ts +71 -0
  318. package/google/rpc/status_pb.js +33 -0
  319. package/google/type/calendar_period_pb.d.ts +98 -0
  320. package/google/type/calendar_period_pb.js +41 -0
  321. package/google/type/color_pb.d.ts +199 -0
  322. package/google/type/color_pb.js +33 -0
  323. package/google/type/date_pb.d.ts +75 -0
  324. package/google/type/date_pb.js +32 -0
  325. package/google/type/datetime_pb.d.ts +174 -0
  326. package/google/type/datetime_pb.js +40 -0
  327. package/google/type/dayofweek_pb.d.ts +92 -0
  328. package/google/type/dayofweek_pb.js +39 -0
  329. package/google/type/decimal_pb.d.ts +110 -0
  330. package/google/type/decimal_pb.js +32 -0
  331. package/google/type/expr_pb.d.ts +101 -0
  332. package/google/type/expr_pb.js +32 -0
  333. package/google/type/fraction_pb.d.ts +53 -0
  334. package/google/type/fraction_pb.js +32 -0
  335. package/google/type/interval_pb.d.ts +64 -0
  336. package/google/type/interval_pb.js +33 -0
  337. package/google/type/latlng_pb.d.ts +56 -0
  338. package/google/type/latlng_pb.js +32 -0
  339. package/google/type/localized_text_pb.d.ts +55 -0
  340. package/google/type/localized_text_pb.js +32 -0
  341. package/google/type/money_pb.d.ts +65 -0
  342. package/google/type/money_pb.js +32 -0
  343. package/google/type/month_pb.d.ts +127 -0
  344. package/google/type/month_pb.js +39 -0
  345. package/google/type/phone_number_pb.d.ts +160 -0
  346. package/google/type/phone_number_pb.js +39 -0
  347. package/google/type/postal_address_pb.d.ts +189 -0
  348. package/google/type/postal_address_pb.js +32 -0
  349. package/google/type/quaternion_pb.d.ts +121 -0
  350. package/google/type/quaternion_pb.js +32 -0
  351. package/google/type/timeofday_pb.d.ts +71 -0
  352. package/google/type/timeofday_pb.js +32 -0
  353. package/lf/a2a/v1/a2a_connect.d.ts +148 -0
  354. package/lf/a2a/v1/a2a_connect.js +148 -0
  355. package/lf/a2a/v1/a2a_pb.d.ts +2184 -0
  356. package/lf/a2a/v1/a2a_pb.js +363 -0
  357. package/package.json +10 -0
@@ -0,0 +1,2129 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
2
+ // @generated from file alis/open/agent/v1/agent.proto (package alis.open.agent.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import type { JsonObject, Message as Message$1 } from "@bufbuild/protobuf";
7
+ import type { Timestamp } from "@alis-build/google-common-protos/google/protobuf/timestamp_pb";
8
+ import type { Any } from "@alis-build/google-common-protos/google/protobuf/any_pb";
9
+ import type { EmptySchema } from "@alis-build/google-common-protos/google/protobuf/empty_pb";
10
+
11
+ /**
12
+ * Describes the file alis/open/agent/v1/agent.proto.
13
+ */
14
+ export declare const file_alis_open_agent_v1_agent: GenFile;
15
+
16
+ /**
17
+ * Configuration of a send message request.
18
+ *
19
+ * @generated from message alis.open.agent.v1.SendMessageConfiguration
20
+ */
21
+ export declare type SendMessageConfiguration = Message$1<"alis.open.agent.v1.SendMessageConfiguration"> & {
22
+ /**
23
+ * The output modes that the agent is expected to respond with.
24
+ *
25
+ * @generated from field: repeated string accepted_output_modes = 1;
26
+ */
27
+ acceptedOutputModes: string[];
28
+
29
+ /**
30
+ * A configuration of a webhook that can be used to receive updates
31
+ *
32
+ * @generated from field: alis.open.agent.v1.PushNotificationConfig push_notification = 2;
33
+ */
34
+ pushNotification?: PushNotificationConfig;
35
+
36
+ /**
37
+ * The maximum number of messages to include in the history. if 0, the
38
+ * history will be unlimited.
39
+ *
40
+ * @generated from field: int32 history_length = 3;
41
+ */
42
+ historyLength: number;
43
+
44
+ /**
45
+ * If true, the message will be blocking until the task is completed. If
46
+ * false, the message will be non-blocking and the task will be returned
47
+ * immediately. It is the caller's responsibility to check for any task
48
+ * updates.
49
+ *
50
+ * @generated from field: bool blocking = 4;
51
+ */
52
+ blocking: boolean;
53
+ };
54
+
55
+ /**
56
+ * Describes the message alis.open.agent.v1.SendMessageConfiguration.
57
+ * Use `create(SendMessageConfigurationSchema)` to create a new message.
58
+ */
59
+ export declare const SendMessageConfigurationSchema: GenMessage<SendMessageConfiguration>;
60
+
61
+ /**
62
+ * Task is the core unit of action for A2A. It has a current status
63
+ * and when results are created for the task they are stored in the
64
+ * artifact. If there are multiple turns for a task, these are stored in
65
+ * history.
66
+ *
67
+ * @generated from message alis.open.agent.v1.Task
68
+ */
69
+ export declare type Task = Message$1<"alis.open.agent.v1.Task"> & {
70
+ /**
71
+ * The unique name of the Task which cannot be changed.
72
+ * Since it is useful to model a Task as a formal resource, we include the 'name' field
73
+ * in compliance with AIP-122 (https://google.aip.dev/122) despite this not being
74
+ * part of the A2A Task definition.
75
+ * Format: tasks/{task_id}
76
+ *
77
+ * @generated from field: string name = 1;
78
+ */
79
+ name: string;
80
+
81
+ /**
82
+ * Unique identifier (e.g. UUID) for the task, generated by the server for a
83
+ * new task.
84
+ *
85
+ * @generated from field: string id = 2;
86
+ */
87
+ id: string;
88
+
89
+ /**
90
+ * Unique identifier (e.g. UUID) for the contextual collection of interactions
91
+ * (tasks and messages). Created by the A2A server.
92
+ *
93
+ * @generated from field: string context_id = 3;
94
+ */
95
+ contextId: string;
96
+
97
+ /**
98
+ * The current status of a Task, including state and a message.
99
+ *
100
+ * @generated from field: alis.open.agent.v1.TaskStatus status = 4;
101
+ */
102
+ status?: TaskStatus;
103
+
104
+ /**
105
+ * A set of output artifacts for a Task.
106
+ *
107
+ * @generated from field: repeated alis.open.agent.v1.Artifact artifacts = 5;
108
+ */
109
+ artifacts: Artifact[];
110
+
111
+ /**
112
+ * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
113
+ * The history of interactions from a task.
114
+ *
115
+ * @generated from field: repeated alis.open.agent.v1.Message history = 6;
116
+ */
117
+ history: Message[];
118
+
119
+ /**
120
+ * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
121
+ * A key/value object to store custom metadata about a task.
122
+ *
123
+ * @generated from field: google.protobuf.Struct metadata = 7;
124
+ */
125
+ metadata?: JsonObject;
126
+ };
127
+
128
+ /**
129
+ * Describes the message alis.open.agent.v1.Task.
130
+ * Use `create(TaskSchema)` to create a new message.
131
+ */
132
+ export declare const TaskSchema: GenMessage<Task>;
133
+
134
+ /**
135
+ * A container for the status of a task
136
+ *
137
+ * @generated from message alis.open.agent.v1.TaskStatus
138
+ */
139
+ export declare type TaskStatus = Message$1<"alis.open.agent.v1.TaskStatus"> & {
140
+ /**
141
+ * The current state of this task
142
+ *
143
+ * @generated from field: alis.open.agent.v1.TaskState state = 1;
144
+ */
145
+ state: TaskState;
146
+
147
+ /**
148
+ * A message associated with the status.
149
+ *
150
+ * @generated from field: alis.open.agent.v1.Message update = 2 [json_name = "message"];
151
+ */
152
+ update?: Message;
153
+
154
+ /**
155
+ * Timestamp when the status was recorded.
156
+ *
157
+ * @generated from field: google.protobuf.Timestamp timestamp = 3;
158
+ */
159
+ timestamp?: Timestamp;
160
+ };
161
+
162
+ /**
163
+ * Describes the message alis.open.agent.v1.TaskStatus.
164
+ * Use `create(TaskStatusSchema)` to create a new message.
165
+ */
166
+ export declare const TaskStatusSchema: GenMessage<TaskStatus>;
167
+
168
+ /**
169
+ * Part represents a container for a section of communication content.
170
+ * Parts can be purely textual, some sort of file (image, video, etc) or
171
+ * a structured data blob (i.e. JSON).
172
+ *
173
+ * @generated from message alis.open.agent.v1.Part
174
+ */
175
+ export declare type Part = Message$1<"alis.open.agent.v1.Part"> & {
176
+ /**
177
+ * @generated from oneof alis.open.agent.v1.Part.part
178
+ */
179
+ part: {
180
+ /**
181
+ * @generated from field: string text = 1;
182
+ */
183
+ value: string;
184
+ case: "text";
185
+ } | {
186
+ /**
187
+ * @generated from field: alis.open.agent.v1.FilePart file = 2;
188
+ */
189
+ value: FilePart;
190
+ case: "file";
191
+ } | {
192
+ /**
193
+ * @generated from field: alis.open.agent.v1.DataPart data = 3;
194
+ */
195
+ value: DataPart;
196
+ case: "data";
197
+ } | {
198
+ /**
199
+ * @generated from field: google.protobuf.Any any = 20;
200
+ */
201
+ value: Any;
202
+ case: "any";
203
+ } | { case: undefined; value?: undefined };
204
+
205
+ /**
206
+ * Optional metadata associated with this part.
207
+ *
208
+ * @generated from field: google.protobuf.Struct metadata = 4;
209
+ */
210
+ metadata?: JsonObject;
211
+ };
212
+
213
+ /**
214
+ * Describes the message alis.open.agent.v1.Part.
215
+ * Use `create(PartSchema)` to create a new message.
216
+ */
217
+ export declare const PartSchema: GenMessage<Part>;
218
+
219
+ /**
220
+ * FilePart represents the different ways files can be provided. If files are
221
+ * small, directly feeding the bytes is supported via file_with_bytes. If the
222
+ * file is large, the agent should read the content as appropriate directly
223
+ * from the file_with_uri source.
224
+ *
225
+ * @generated from message alis.open.agent.v1.FilePart
226
+ */
227
+ export declare type FilePart = Message$1<"alis.open.agent.v1.FilePart"> & {
228
+ /**
229
+ * @generated from oneof alis.open.agent.v1.FilePart.file
230
+ */
231
+ file: {
232
+ /**
233
+ * @generated from field: string file_with_uri = 1;
234
+ */
235
+ value: string;
236
+ case: "fileWithUri";
237
+ } | {
238
+ /**
239
+ * @generated from field: bytes file_with_bytes = 2;
240
+ */
241
+ value: Uint8Array;
242
+ case: "fileWithBytes";
243
+ } | { case: undefined; value?: undefined };
244
+
245
+ /**
246
+ * @generated from field: string mime_type = 3;
247
+ */
248
+ mimeType: string;
249
+
250
+ /**
251
+ * @generated from field: string name = 4;
252
+ */
253
+ name: string;
254
+ };
255
+
256
+ /**
257
+ * Describes the message alis.open.agent.v1.FilePart.
258
+ * Use `create(FilePartSchema)` to create a new message.
259
+ */
260
+ export declare const FilePartSchema: GenMessage<FilePart>;
261
+
262
+ /**
263
+ * DataPart represents a structured blob. This is most commonly a JSON payload.
264
+ *
265
+ * @generated from message alis.open.agent.v1.DataPart
266
+ */
267
+ export declare type DataPart = Message$1<"alis.open.agent.v1.DataPart"> & {
268
+ /**
269
+ * @generated from field: google.protobuf.Struct data = 1;
270
+ */
271
+ data?: JsonObject;
272
+ };
273
+
274
+ /**
275
+ * Describes the message alis.open.agent.v1.DataPart.
276
+ * Use `create(DataPartSchema)` to create a new message.
277
+ */
278
+ export declare const DataPartSchema: GenMessage<DataPart>;
279
+
280
+ /**
281
+ * Message is one unit of communication between client and server. It is
282
+ * associated with a context and optionally a task. Since the server is
283
+ * responsible for the context definition, it must always provide a context_id
284
+ * in its messages. The client can optionally provide the context_id if it
285
+ * knows the context to associate the message to. Similarly for task_id,
286
+ * except the server decides if a task is created and whether to include the
287
+ * task_id.
288
+ *
289
+ * @generated from message alis.open.agent.v1.Message
290
+ */
291
+ export declare type Message = Message$1<"alis.open.agent.v1.Message"> & {
292
+ /**
293
+ * The unique identifier (e.g. UUID)of the message. This is required and
294
+ * created by the message creator.
295
+ *
296
+ * @generated from field: string message_id = 1;
297
+ */
298
+ messageId: string;
299
+
300
+ /**
301
+ * The context id of the message. This is optional and if set, the message
302
+ * will be associated with the given context.
303
+ *
304
+ * @generated from field: string context_id = 2;
305
+ */
306
+ contextId: string;
307
+
308
+ /**
309
+ * The task id of the message. This is optional and if set, the message
310
+ * will be associated with the given task.
311
+ *
312
+ * @generated from field: string task_id = 3;
313
+ */
314
+ taskId: string;
315
+
316
+ /**
317
+ * A role for the message.
318
+ *
319
+ * @generated from field: alis.open.agent.v1.Role role = 4;
320
+ */
321
+ role: Role;
322
+
323
+ /**
324
+ * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
325
+ * Parts is the container of the message content.
326
+ *
327
+ * @generated from field: repeated alis.open.agent.v1.Part parts = 5;
328
+ */
329
+ parts: Part[];
330
+
331
+ /**
332
+ * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
333
+ * Any optional metadata to provide along with the message.
334
+ *
335
+ * @generated from field: google.protobuf.Struct metadata = 6;
336
+ */
337
+ metadata?: JsonObject;
338
+
339
+ /**
340
+ * The URIs of extensions that are present or contributed to this Message.
341
+ *
342
+ * @generated from field: repeated string extensions = 7;
343
+ */
344
+ extensions: string[];
345
+
346
+ /**
347
+ * A list of task IDs that this message references for additional context.
348
+ *
349
+ * @generated from field: repeated string reference_task_ids = 8;
350
+ */
351
+ referenceTaskIds: string[];
352
+ };
353
+
354
+ /**
355
+ * Describes the message alis.open.agent.v1.Message.
356
+ * Use `create(MessageSchema)` to create a new message.
357
+ */
358
+ export declare const MessageSchema: GenMessage<Message>;
359
+
360
+ /**
361
+ * Artifacts are the container for task completed results. These are similar
362
+ * to Messages but are intended to be the product of a task, as opposed to
363
+ * point-to-point communication.
364
+ *
365
+ * @generated from message alis.open.agent.v1.Artifact
366
+ */
367
+ export declare type Artifact = Message$1<"alis.open.agent.v1.Artifact"> & {
368
+ /**
369
+ * Unique identifier (e.g. UUID) for the artifact. It must be at least unique
370
+ * within a task.
371
+ *
372
+ * @generated from field: string artifact_id = 1;
373
+ */
374
+ artifactId: string;
375
+
376
+ /**
377
+ * A human readable name for the artifact.
378
+ *
379
+ * @generated from field: string name = 3;
380
+ */
381
+ name: string;
382
+
383
+ /**
384
+ * A human readable description of the artifact, optional.
385
+ *
386
+ * @generated from field: string description = 4;
387
+ */
388
+ description: string;
389
+
390
+ /**
391
+ * The content of the artifact.
392
+ *
393
+ * @generated from field: repeated alis.open.agent.v1.Part parts = 5;
394
+ */
395
+ parts: Part[];
396
+
397
+ /**
398
+ * Optional metadata included with the artifact.
399
+ *
400
+ * @generated from field: google.protobuf.Struct metadata = 6;
401
+ */
402
+ metadata?: JsonObject;
403
+
404
+ /**
405
+ * The URIs of extensions that are present or contributed to this Artifact.
406
+ *
407
+ * @generated from field: repeated string extensions = 7;
408
+ */
409
+ extensions: string[];
410
+ };
411
+
412
+ /**
413
+ * Describes the message alis.open.agent.v1.Artifact.
414
+ * Use `create(ArtifactSchema)` to create a new message.
415
+ */
416
+ export declare const ArtifactSchema: GenMessage<Artifact>;
417
+
418
+ /**
419
+ * TaskStatusUpdateEvent is a delta even on a task indicating that a task
420
+ * has changed.
421
+ *
422
+ * @generated from message alis.open.agent.v1.TaskStatusUpdateEvent
423
+ */
424
+ export declare type TaskStatusUpdateEvent = Message$1<"alis.open.agent.v1.TaskStatusUpdateEvent"> & {
425
+ /**
426
+ * The id of the task that is changed
427
+ *
428
+ * @generated from field: string task_id = 1;
429
+ */
430
+ taskId: string;
431
+
432
+ /**
433
+ * The id of the context that the task belongs to
434
+ *
435
+ * @generated from field: string context_id = 2;
436
+ */
437
+ contextId: string;
438
+
439
+ /**
440
+ * The new status of the task.
441
+ *
442
+ * @generated from field: alis.open.agent.v1.TaskStatus status = 3;
443
+ */
444
+ status?: TaskStatus;
445
+
446
+ /**
447
+ * Whether this is the last status update expected for this task.
448
+ *
449
+ * @generated from field: bool final = 4;
450
+ */
451
+ final: boolean;
452
+
453
+ /**
454
+ * Optional metadata to associate with the task update.
455
+ *
456
+ * @generated from field: google.protobuf.Struct metadata = 5;
457
+ */
458
+ metadata?: JsonObject;
459
+ };
460
+
461
+ /**
462
+ * Describes the message alis.open.agent.v1.TaskStatusUpdateEvent.
463
+ * Use `create(TaskStatusUpdateEventSchema)` to create a new message.
464
+ */
465
+ export declare const TaskStatusUpdateEventSchema: GenMessage<TaskStatusUpdateEvent>;
466
+
467
+ /**
468
+ * TaskArtifactUpdateEvent represents a task delta where an artifact has
469
+ * been generated.
470
+ *
471
+ * @generated from message alis.open.agent.v1.TaskArtifactUpdateEvent
472
+ */
473
+ export declare type TaskArtifactUpdateEvent = Message$1<"alis.open.agent.v1.TaskArtifactUpdateEvent"> & {
474
+ /**
475
+ * The id of the task for this artifact
476
+ *
477
+ * @generated from field: string task_id = 1;
478
+ */
479
+ taskId: string;
480
+
481
+ /**
482
+ * The id of the context that this task belongs too
483
+ *
484
+ * @generated from field: string context_id = 2;
485
+ */
486
+ contextId: string;
487
+
488
+ /**
489
+ * The artifact itself
490
+ *
491
+ * @generated from field: alis.open.agent.v1.Artifact artifact = 3;
492
+ */
493
+ artifact?: Artifact;
494
+
495
+ /**
496
+ * Whether this should be appended to a prior one produced
497
+ *
498
+ * @generated from field: bool append = 4;
499
+ */
500
+ append: boolean;
501
+
502
+ /**
503
+ * Whether this represents the last part of an artifact
504
+ *
505
+ * @generated from field: bool last_chunk = 5;
506
+ */
507
+ lastChunk: boolean;
508
+
509
+ /**
510
+ * Optional metadata associated with the artifact update.
511
+ *
512
+ * @generated from field: google.protobuf.Struct metadata = 6;
513
+ */
514
+ metadata?: JsonObject;
515
+ };
516
+
517
+ /**
518
+ * Describes the message alis.open.agent.v1.TaskArtifactUpdateEvent.
519
+ * Use `create(TaskArtifactUpdateEventSchema)` to create a new message.
520
+ */
521
+ export declare const TaskArtifactUpdateEventSchema: GenMessage<TaskArtifactUpdateEvent>;
522
+
523
+ /**
524
+ * Configuration for setting up push notifications for task updates.
525
+ *
526
+ * @generated from message alis.open.agent.v1.PushNotificationConfig
527
+ */
528
+ export declare type PushNotificationConfig = Message$1<"alis.open.agent.v1.PushNotificationConfig"> & {
529
+ /**
530
+ * A unique identifier (e.g. UUID) for this push notification.
531
+ *
532
+ * @generated from field: string id = 1;
533
+ */
534
+ id: string;
535
+
536
+ /**
537
+ * Url to send the notification too
538
+ *
539
+ * @generated from field: string url = 2;
540
+ */
541
+ url: string;
542
+
543
+ /**
544
+ * Token unique for this task/session
545
+ *
546
+ * @generated from field: string token = 3;
547
+ */
548
+ token: string;
549
+
550
+ /**
551
+ * Information about the authentication to sent with the notification
552
+ *
553
+ * @generated from field: alis.open.agent.v1.AuthenticationInfo authentication = 4;
554
+ */
555
+ authentication?: AuthenticationInfo;
556
+ };
557
+
558
+ /**
559
+ * Describes the message alis.open.agent.v1.PushNotificationConfig.
560
+ * Use `create(PushNotificationConfigSchema)` to create a new message.
561
+ */
562
+ export declare const PushNotificationConfigSchema: GenMessage<PushNotificationConfig>;
563
+
564
+ /**
565
+ * Defines authentication details, used for push notifications.
566
+ *
567
+ * @generated from message alis.open.agent.v1.AuthenticationInfo
568
+ */
569
+ export declare type AuthenticationInfo = Message$1<"alis.open.agent.v1.AuthenticationInfo"> & {
570
+ /**
571
+ * Supported authentication schemes - e.g. Basic, Bearer, etc
572
+ *
573
+ * @generated from field: repeated string schemes = 1;
574
+ */
575
+ schemes: string[];
576
+
577
+ /**
578
+ * Optional credentials
579
+ *
580
+ * @generated from field: string credentials = 2;
581
+ */
582
+ credentials: string;
583
+ };
584
+
585
+ /**
586
+ * Describes the message alis.open.agent.v1.AuthenticationInfo.
587
+ * Use `create(AuthenticationInfoSchema)` to create a new message.
588
+ */
589
+ export declare const AuthenticationInfoSchema: GenMessage<AuthenticationInfo>;
590
+
591
+ /**
592
+ * Defines additional transport information for the agent.
593
+ *
594
+ * @generated from message alis.open.agent.v1.AgentInterface
595
+ */
596
+ export declare type AgentInterface = Message$1<"alis.open.agent.v1.AgentInterface"> & {
597
+ /**
598
+ * The url this interface is found at.
599
+ *
600
+ * @generated from field: string url = 1;
601
+ */
602
+ url: string;
603
+
604
+ /**
605
+ * The transport supported this url. This is an open form string, to be
606
+ * easily extended for many transport protocols. The core ones officially
607
+ * supported are JSONRPC, GRPC and HTTP+JSON.
608
+ *
609
+ * @generated from field: string transport = 2;
610
+ */
611
+ transport: string;
612
+ };
613
+
614
+ /**
615
+ * Describes the message alis.open.agent.v1.AgentInterface.
616
+ * Use `create(AgentInterfaceSchema)` to create a new message.
617
+ */
618
+ export declare const AgentInterfaceSchema: GenMessage<AgentInterface>;
619
+
620
+ /**
621
+ * AgentCard conveys key information:
622
+ * - Overall details (version, name, description, uses)
623
+ * - Skills; a set of actions/solutions the agent can perform
624
+ * - Default modalities/content types supported by the agent.
625
+ * - Authentication requirements
626
+ * Next ID: 19
627
+ *
628
+ * @generated from message alis.open.agent.v1.AgentCard
629
+ */
630
+ export declare type AgentCard = Message$1<"alis.open.agent.v1.AgentCard"> & {
631
+ /**
632
+ * The version of the A2A protocol this agent supports.
633
+ *
634
+ * @generated from field: string protocol_version = 16;
635
+ */
636
+ protocolVersion: string;
637
+
638
+ /**
639
+ * A human readable name for the agent.
640
+ * Example: "Recipe Agent"
641
+ *
642
+ * @generated from field: string name = 1;
643
+ */
644
+ name: string;
645
+
646
+ /**
647
+ * A description of the agent's domain of action/solution space.
648
+ * Example: "Agent that helps users with recipes and cooking."
649
+ *
650
+ * @generated from field: string description = 2;
651
+ */
652
+ description: string;
653
+
654
+ /**
655
+ * A URL to the address the agent is hosted at. This represents the
656
+ * preferred endpoint as declared by the agent.
657
+ *
658
+ * @generated from field: string url = 3;
659
+ */
660
+ url: string;
661
+
662
+ /**
663
+ * The transport of the preferred endpoint. If empty, defaults to JSONRPC.
664
+ *
665
+ * @generated from field: string preferred_transport = 14;
666
+ */
667
+ preferredTransport: string;
668
+
669
+ /**
670
+ * Announcement of additional supported transports. Client can use any of
671
+ * the supported transports.
672
+ *
673
+ * @generated from field: repeated alis.open.agent.v1.AgentInterface additional_interfaces = 15;
674
+ */
675
+ additionalInterfaces: AgentInterface[];
676
+
677
+ /**
678
+ * The service provider of the agent.
679
+ *
680
+ * @generated from field: alis.open.agent.v1.AgentProvider provider = 4;
681
+ */
682
+ provider?: AgentProvider;
683
+
684
+ /**
685
+ * The version of the agent.
686
+ * Example: "1.0.0"
687
+ *
688
+ * @generated from field: string version = 5;
689
+ */
690
+ version: string;
691
+
692
+ /**
693
+ * A url to provide additional documentation about the agent.
694
+ *
695
+ * @generated from field: string documentation_url = 6;
696
+ */
697
+ documentationUrl: string;
698
+
699
+ /**
700
+ * A2A Capability set supported by the agent.
701
+ *
702
+ * @generated from field: alis.open.agent.v1.AgentCapabilities capabilities = 7;
703
+ */
704
+ capabilities?: AgentCapabilities;
705
+
706
+ /**
707
+ * The security scheme details used for authenticating with this agent.
708
+ *
709
+ * @generated from field: map<string, alis.open.agent.v1.SecurityScheme> security_schemes = 8;
710
+ */
711
+ securitySchemes: { [key: string]: SecurityScheme };
712
+
713
+ /**
714
+ * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
715
+ * Security requirements for contacting the agent.
716
+ * This list can be seen as an OR of ANDs. Each object in the list describes
717
+ * one possible set of security requirements that must be present on a
718
+ * request. This allows specifying, for example, "callers must either use
719
+ * OAuth OR an API Key AND mTLS."
720
+ * Example:
721
+ * security {
722
+ * schemes { key: "oauth" value { list: ["read"] } }
723
+ * }
724
+ * security {
725
+ * schemes { key: "api-key" }
726
+ * schemes { key: "mtls" }
727
+ * }
728
+ *
729
+ * @generated from field: repeated alis.open.agent.v1.Security security = 9;
730
+ */
731
+ security: Security[];
732
+
733
+ /**
734
+ * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
735
+ * The set of interaction modes that the agent supports across all skills.
736
+ * This can be overridden per skill. Defined as mime types.
737
+ *
738
+ * @generated from field: repeated string default_input_modes = 10;
739
+ */
740
+ defaultInputModes: string[];
741
+
742
+ /**
743
+ * The mime types supported as outputs from this agent.
744
+ *
745
+ * @generated from field: repeated string default_output_modes = 11;
746
+ */
747
+ defaultOutputModes: string[];
748
+
749
+ /**
750
+ * Skills represent a unit of ability an agent can perform. This may
751
+ * somewhat abstract but represents a more focused set of actions that the
752
+ * agent is highly likely to succeed at.
753
+ *
754
+ * @generated from field: repeated alis.open.agent.v1.AgentSkill skills = 12;
755
+ */
756
+ skills: AgentSkill[];
757
+
758
+ /**
759
+ * Whether the agent supports providing an extended agent card when
760
+ * the user is authenticated, i.e. is the card from .well-known
761
+ * different than the card from GetAgentCard.
762
+ *
763
+ * @generated from field: bool supports_authenticated_extended_card = 13;
764
+ */
765
+ supportsAuthenticatedExtendedCard: boolean;
766
+
767
+ /**
768
+ * JSON Web Signatures computed for this AgentCard.
769
+ *
770
+ * @generated from field: repeated alis.open.agent.v1.AgentCardSignature signatures = 17;
771
+ */
772
+ signatures: AgentCardSignature[];
773
+
774
+ /**
775
+ * An optional URL to an icon for the agent.
776
+ *
777
+ * @generated from field: string icon_url = 18;
778
+ */
779
+ iconUrl: string;
780
+ };
781
+
782
+ /**
783
+ * Describes the message alis.open.agent.v1.AgentCard.
784
+ * Use `create(AgentCardSchema)` to create a new message.
785
+ */
786
+ export declare const AgentCardSchema: GenMessage<AgentCard>;
787
+
788
+ /**
789
+ * Represents information about the service provider of an agent.
790
+ *
791
+ * @generated from message alis.open.agent.v1.AgentProvider
792
+ */
793
+ export declare type AgentProvider = Message$1<"alis.open.agent.v1.AgentProvider"> & {
794
+ /**
795
+ * The providers reference url
796
+ * Example: "https://ai.google.dev"
797
+ *
798
+ * @generated from field: string url = 1;
799
+ */
800
+ url: string;
801
+
802
+ /**
803
+ * The providers organization name
804
+ * Example: "Google"
805
+ *
806
+ * @generated from field: string organization = 2;
807
+ */
808
+ organization: string;
809
+ };
810
+
811
+ /**
812
+ * Describes the message alis.open.agent.v1.AgentProvider.
813
+ * Use `create(AgentProviderSchema)` to create a new message.
814
+ */
815
+ export declare const AgentProviderSchema: GenMessage<AgentProvider>;
816
+
817
+ /**
818
+ * Defines the A2A feature set supported by the agent
819
+ *
820
+ * @generated from message alis.open.agent.v1.AgentCapabilities
821
+ */
822
+ export declare type AgentCapabilities = Message$1<"alis.open.agent.v1.AgentCapabilities"> & {
823
+ /**
824
+ * If the agent will support streaming responses
825
+ *
826
+ * @generated from field: bool streaming = 1;
827
+ */
828
+ streaming: boolean;
829
+
830
+ /**
831
+ * If the agent can send push notifications to the clients webhook
832
+ *
833
+ * @generated from field: bool push_notifications = 2;
834
+ */
835
+ pushNotifications: boolean;
836
+
837
+ /**
838
+ * Extensions supported by this agent.
839
+ *
840
+ * @generated from field: repeated alis.open.agent.v1.AgentExtension extensions = 3;
841
+ */
842
+ extensions: AgentExtension[];
843
+
844
+ /**
845
+ * If the agent provides a history of state transitions for a task.
846
+ *
847
+ * @generated from field: bool state_transition_history = 4;
848
+ */
849
+ stateTransitionHistory: boolean;
850
+ };
851
+
852
+ /**
853
+ * Describes the message alis.open.agent.v1.AgentCapabilities.
854
+ * Use `create(AgentCapabilitiesSchema)` to create a new message.
855
+ */
856
+ export declare const AgentCapabilitiesSchema: GenMessage<AgentCapabilities>;
857
+
858
+ /**
859
+ * A declaration of an extension supported by an Agent.
860
+ *
861
+ * @generated from message alis.open.agent.v1.AgentExtension
862
+ */
863
+ export declare type AgentExtension = Message$1<"alis.open.agent.v1.AgentExtension"> & {
864
+ /**
865
+ * The URI of the extension.
866
+ * Example: "https://developers.google.com/identity/protocols/oauth2"
867
+ *
868
+ * @generated from field: string uri = 1;
869
+ */
870
+ uri: string;
871
+
872
+ /**
873
+ * A description of how this agent uses this extension.
874
+ * Example: "Google OAuth 2.0 authentication"
875
+ *
876
+ * @generated from field: string description = 2;
877
+ */
878
+ description: string;
879
+
880
+ /**
881
+ * Whether the client must follow specific requirements of the extension.
882
+ * Example: false
883
+ *
884
+ * @generated from field: bool required = 3;
885
+ */
886
+ required: boolean;
887
+
888
+ /**
889
+ * Optional configuration for the extension.
890
+ *
891
+ * @generated from field: google.protobuf.Struct params = 4;
892
+ */
893
+ params?: JsonObject;
894
+ };
895
+
896
+ /**
897
+ * Describes the message alis.open.agent.v1.AgentExtension.
898
+ * Use `create(AgentExtensionSchema)` to create a new message.
899
+ */
900
+ export declare const AgentExtensionSchema: GenMessage<AgentExtension>;
901
+
902
+ /**
903
+ * AgentSkill represents a unit of action/solution that the agent can perform.
904
+ * One can think of this as a type of highly reliable solution that an agent
905
+ * can be tasked to provide. Agents have the autonomy to choose how and when
906
+ * to use specific skills, but clients should have confidence that if the
907
+ * skill is defined that unit of action can be reliably performed.
908
+ *
909
+ * @generated from message alis.open.agent.v1.AgentSkill
910
+ */
911
+ export declare type AgentSkill = Message$1<"alis.open.agent.v1.AgentSkill"> & {
912
+ /**
913
+ * Unique identifier of the skill within this agent.
914
+ *
915
+ * @generated from field: string id = 1;
916
+ */
917
+ id: string;
918
+
919
+ /**
920
+ * A human readable name for the skill.
921
+ *
922
+ * @generated from field: string name = 2;
923
+ */
924
+ name: string;
925
+
926
+ /**
927
+ * A human (or llm) readable description of the skill
928
+ * details and behaviors.
929
+ *
930
+ * @generated from field: string description = 3;
931
+ */
932
+ description: string;
933
+
934
+ /**
935
+ * A set of tags for the skill to enhance categorization/utilization.
936
+ * Example: ["cooking", "customer support", "billing"]
937
+ *
938
+ * @generated from field: repeated string tags = 4;
939
+ */
940
+ tags: string[];
941
+
942
+ /**
943
+ * A set of example queries that this skill is designed to address.
944
+ * These examples should help the caller to understand how to craft requests
945
+ * to the agent to achieve specific goals.
946
+ * Example: ["I need a recipe for bread"]
947
+ *
948
+ * @generated from field: repeated string examples = 5;
949
+ */
950
+ examples: string[];
951
+
952
+ /**
953
+ * Possible input modalities supported.
954
+ *
955
+ * @generated from field: repeated string input_modes = 6;
956
+ */
957
+ inputModes: string[];
958
+
959
+ /**
960
+ * Possible output modalities produced
961
+ *
962
+ * @generated from field: repeated string output_modes = 7;
963
+ */
964
+ outputModes: string[];
965
+
966
+ /**
967
+ * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
968
+ * Security schemes necessary for the agent to leverage this skill.
969
+ * As in the overall AgentCard.security, this list represents a logical OR of
970
+ * security requirement objects. Each object is a set of security schemes
971
+ * that must be used together (a logical AND).
972
+ *
973
+ * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
974
+ *
975
+ * @generated from field: repeated alis.open.agent.v1.Security security = 8;
976
+ */
977
+ security: Security[];
978
+ };
979
+
980
+ /**
981
+ * Describes the message alis.open.agent.v1.AgentSkill.
982
+ * Use `create(AgentSkillSchema)` to create a new message.
983
+ */
984
+ export declare const AgentSkillSchema: GenMessage<AgentSkill>;
985
+
986
+ /**
987
+ * AgentCardSignature represents a JWS signature of an AgentCard.
988
+ * This follows the JSON format of an RFC 7515 JSON Web Signature (JWS).
989
+ *
990
+ * @generated from message alis.open.agent.v1.AgentCardSignature
991
+ */
992
+ export declare type AgentCardSignature = Message$1<"alis.open.agent.v1.AgentCardSignature"> & {
993
+ /**
994
+ * The protected JWS header for the signature. This is always a
995
+ * base64url-encoded JSON object. Required.
996
+ *
997
+ * @generated from field: string protected = 1;
998
+ */
999
+ protected: string;
1000
+
1001
+ /**
1002
+ * The computed signature, base64url-encoded. Required.
1003
+ *
1004
+ * @generated from field: string signature = 2;
1005
+ */
1006
+ signature: string;
1007
+
1008
+ /**
1009
+ * The unprotected JWS header values.
1010
+ *
1011
+ * @generated from field: google.protobuf.Struct header = 3;
1012
+ */
1013
+ header?: JsonObject;
1014
+ };
1015
+
1016
+ /**
1017
+ * Describes the message alis.open.agent.v1.AgentCardSignature.
1018
+ * Use `create(AgentCardSignatureSchema)` to create a new message.
1019
+ */
1020
+ export declare const AgentCardSignatureSchema: GenMessage<AgentCardSignature>;
1021
+
1022
+ /**
1023
+ * @generated from message alis.open.agent.v1.TaskPushNotificationConfig
1024
+ */
1025
+ export declare type TaskPushNotificationConfig = Message$1<"alis.open.agent.v1.TaskPushNotificationConfig"> & {
1026
+ /**
1027
+ * The resource name of the config.
1028
+ * Format: tasks/{task_id}/pushNotificationConfigs/{config_id}
1029
+ *
1030
+ * @generated from field: string name = 1;
1031
+ */
1032
+ name: string;
1033
+
1034
+ /**
1035
+ * The push notification configuration details.
1036
+ *
1037
+ * @generated from field: alis.open.agent.v1.PushNotificationConfig push_notification_config = 2;
1038
+ */
1039
+ pushNotificationConfig?: PushNotificationConfig;
1040
+ };
1041
+
1042
+ /**
1043
+ * Describes the message alis.open.agent.v1.TaskPushNotificationConfig.
1044
+ * Use `create(TaskPushNotificationConfigSchema)` to create a new message.
1045
+ */
1046
+ export declare const TaskPushNotificationConfigSchema: GenMessage<TaskPushNotificationConfig>;
1047
+
1048
+ /**
1049
+ * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
1050
+ *
1051
+ * @generated from message alis.open.agent.v1.StringList
1052
+ */
1053
+ export declare type StringList = Message$1<"alis.open.agent.v1.StringList"> & {
1054
+ /**
1055
+ * @generated from field: repeated string list = 1;
1056
+ */
1057
+ list: string[];
1058
+ };
1059
+
1060
+ /**
1061
+ * Describes the message alis.open.agent.v1.StringList.
1062
+ * Use `create(StringListSchema)` to create a new message.
1063
+ */
1064
+ export declare const StringListSchema: GenMessage<StringList>;
1065
+
1066
+ /**
1067
+ * @generated from message alis.open.agent.v1.Security
1068
+ */
1069
+ export declare type Security = Message$1<"alis.open.agent.v1.Security"> & {
1070
+ /**
1071
+ * @generated from field: map<string, alis.open.agent.v1.StringList> schemes = 1;
1072
+ */
1073
+ schemes: { [key: string]: StringList };
1074
+ };
1075
+
1076
+ /**
1077
+ * Describes the message alis.open.agent.v1.Security.
1078
+ * Use `create(SecuritySchema)` to create a new message.
1079
+ */
1080
+ export declare const SecuritySchema: GenMessage<Security>;
1081
+
1082
+ /**
1083
+ * @generated from message alis.open.agent.v1.SecurityScheme
1084
+ */
1085
+ export declare type SecurityScheme = Message$1<"alis.open.agent.v1.SecurityScheme"> & {
1086
+ /**
1087
+ * @generated from oneof alis.open.agent.v1.SecurityScheme.scheme
1088
+ */
1089
+ scheme: {
1090
+ /**
1091
+ * @generated from field: alis.open.agent.v1.APIKeySecurityScheme api_key_security_scheme = 1;
1092
+ */
1093
+ value: APIKeySecurityScheme;
1094
+ case: "apiKeySecurityScheme";
1095
+ } | {
1096
+ /**
1097
+ * @generated from field: alis.open.agent.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2;
1098
+ */
1099
+ value: HTTPAuthSecurityScheme;
1100
+ case: "httpAuthSecurityScheme";
1101
+ } | {
1102
+ /**
1103
+ * @generated from field: alis.open.agent.v1.OAuth2SecurityScheme oauth2_security_scheme = 3;
1104
+ */
1105
+ value: OAuth2SecurityScheme;
1106
+ case: "oauth2SecurityScheme";
1107
+ } | {
1108
+ /**
1109
+ * @generated from field: alis.open.agent.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4;
1110
+ */
1111
+ value: OpenIdConnectSecurityScheme;
1112
+ case: "openIdConnectSecurityScheme";
1113
+ } | {
1114
+ /**
1115
+ * @generated from field: alis.open.agent.v1.MutualTlsSecurityScheme mtls_security_scheme = 5;
1116
+ */
1117
+ value: MutualTlsSecurityScheme;
1118
+ case: "mtlsSecurityScheme";
1119
+ } | { case: undefined; value?: undefined };
1120
+ };
1121
+
1122
+ /**
1123
+ * Describes the message alis.open.agent.v1.SecurityScheme.
1124
+ * Use `create(SecuritySchemeSchema)` to create a new message.
1125
+ */
1126
+ export declare const SecuritySchemeSchema: GenMessage<SecurityScheme>;
1127
+
1128
+ /**
1129
+ * @generated from message alis.open.agent.v1.APIKeySecurityScheme
1130
+ */
1131
+ export declare type APIKeySecurityScheme = Message$1<"alis.open.agent.v1.APIKeySecurityScheme"> & {
1132
+ /**
1133
+ * Description of this security scheme.
1134
+ *
1135
+ * @generated from field: string description = 1;
1136
+ */
1137
+ description: string;
1138
+
1139
+ /**
1140
+ * Location of the API key, valid values are "query", "header", or "cookie"
1141
+ *
1142
+ * @generated from field: string location = 2;
1143
+ */
1144
+ location: string;
1145
+
1146
+ /**
1147
+ * Name of the header, query or cookie parameter to be used.
1148
+ *
1149
+ * @generated from field: string name = 3;
1150
+ */
1151
+ name: string;
1152
+ };
1153
+
1154
+ /**
1155
+ * Describes the message alis.open.agent.v1.APIKeySecurityScheme.
1156
+ * Use `create(APIKeySecuritySchemeSchema)` to create a new message.
1157
+ */
1158
+ export declare const APIKeySecuritySchemeSchema: GenMessage<APIKeySecurityScheme>;
1159
+
1160
+ /**
1161
+ * @generated from message alis.open.agent.v1.HTTPAuthSecurityScheme
1162
+ */
1163
+ export declare type HTTPAuthSecurityScheme = Message$1<"alis.open.agent.v1.HTTPAuthSecurityScheme"> & {
1164
+ /**
1165
+ * Description of this security scheme.
1166
+ *
1167
+ * @generated from field: string description = 1;
1168
+ */
1169
+ description: string;
1170
+
1171
+ /**
1172
+ * The name of the HTTP Authentication scheme to be used in the
1173
+ * Authorization header as defined in RFC7235. The values used SHOULD be
1174
+ * registered in the IANA Authentication Scheme registry.
1175
+ * The value is case-insensitive, as defined in RFC7235.
1176
+ *
1177
+ * @generated from field: string scheme = 2;
1178
+ */
1179
+ scheme: string;
1180
+
1181
+ /**
1182
+ * A hint to the client to identify how the bearer token is formatted.
1183
+ * Bearer tokens are usually generated by an authorization server, so
1184
+ * this information is primarily for documentation purposes.
1185
+ *
1186
+ * @generated from field: string bearer_format = 3;
1187
+ */
1188
+ bearerFormat: string;
1189
+ };
1190
+
1191
+ /**
1192
+ * Describes the message alis.open.agent.v1.HTTPAuthSecurityScheme.
1193
+ * Use `create(HTTPAuthSecuritySchemeSchema)` to create a new message.
1194
+ */
1195
+ export declare const HTTPAuthSecuritySchemeSchema: GenMessage<HTTPAuthSecurityScheme>;
1196
+
1197
+ /**
1198
+ * @generated from message alis.open.agent.v1.OAuth2SecurityScheme
1199
+ */
1200
+ export declare type OAuth2SecurityScheme = Message$1<"alis.open.agent.v1.OAuth2SecurityScheme"> & {
1201
+ /**
1202
+ * Description of this security scheme.
1203
+ *
1204
+ * @generated from field: string description = 1;
1205
+ */
1206
+ description: string;
1207
+
1208
+ /**
1209
+ * An object containing configuration information for the flow types supported
1210
+ *
1211
+ * @generated from field: alis.open.agent.v1.OAuthFlows flows = 2;
1212
+ */
1213
+ flows?: OAuthFlows;
1214
+
1215
+ /**
1216
+ * URL to the oauth2 authorization server metadata
1217
+ * [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
1218
+ *
1219
+ * @generated from field: string oauth2_metadata_url = 3;
1220
+ */
1221
+ oauth2MetadataUrl: string;
1222
+ };
1223
+
1224
+ /**
1225
+ * Describes the message alis.open.agent.v1.OAuth2SecurityScheme.
1226
+ * Use `create(OAuth2SecuritySchemeSchema)` to create a new message.
1227
+ */
1228
+ export declare const OAuth2SecuritySchemeSchema: GenMessage<OAuth2SecurityScheme>;
1229
+
1230
+ /**
1231
+ * @generated from message alis.open.agent.v1.OpenIdConnectSecurityScheme
1232
+ */
1233
+ export declare type OpenIdConnectSecurityScheme = Message$1<"alis.open.agent.v1.OpenIdConnectSecurityScheme"> & {
1234
+ /**
1235
+ * Description of this security scheme.
1236
+ *
1237
+ * @generated from field: string description = 1;
1238
+ */
1239
+ description: string;
1240
+
1241
+ /**
1242
+ * Well-known URL to discover the [[OpenID-Connect-Discovery]] provider
1243
+ * metadata.
1244
+ *
1245
+ * @generated from field: string open_id_connect_url = 2;
1246
+ */
1247
+ openIdConnectUrl: string;
1248
+ };
1249
+
1250
+ /**
1251
+ * Describes the message alis.open.agent.v1.OpenIdConnectSecurityScheme.
1252
+ * Use `create(OpenIdConnectSecuritySchemeSchema)` to create a new message.
1253
+ */
1254
+ export declare const OpenIdConnectSecuritySchemeSchema: GenMessage<OpenIdConnectSecurityScheme>;
1255
+
1256
+ /**
1257
+ * @generated from message alis.open.agent.v1.MutualTlsSecurityScheme
1258
+ */
1259
+ export declare type MutualTlsSecurityScheme = Message$1<"alis.open.agent.v1.MutualTlsSecurityScheme"> & {
1260
+ /**
1261
+ * Description of this security scheme.
1262
+ *
1263
+ * @generated from field: string description = 1;
1264
+ */
1265
+ description: string;
1266
+ };
1267
+
1268
+ /**
1269
+ * Describes the message alis.open.agent.v1.MutualTlsSecurityScheme.
1270
+ * Use `create(MutualTlsSecuritySchemeSchema)` to create a new message.
1271
+ */
1272
+ export declare const MutualTlsSecuritySchemeSchema: GenMessage<MutualTlsSecurityScheme>;
1273
+
1274
+ /**
1275
+ * @generated from message alis.open.agent.v1.OAuthFlows
1276
+ */
1277
+ export declare type OAuthFlows = Message$1<"alis.open.agent.v1.OAuthFlows"> & {
1278
+ /**
1279
+ * @generated from oneof alis.open.agent.v1.OAuthFlows.flow
1280
+ */
1281
+ flow: {
1282
+ /**
1283
+ * @generated from field: alis.open.agent.v1.AuthorizationCodeOAuthFlow authorization_code = 1;
1284
+ */
1285
+ value: AuthorizationCodeOAuthFlow;
1286
+ case: "authorizationCode";
1287
+ } | {
1288
+ /**
1289
+ * @generated from field: alis.open.agent.v1.ClientCredentialsOAuthFlow client_credentials = 2;
1290
+ */
1291
+ value: ClientCredentialsOAuthFlow;
1292
+ case: "clientCredentials";
1293
+ } | {
1294
+ /**
1295
+ * @generated from field: alis.open.agent.v1.ImplicitOAuthFlow implicit = 3;
1296
+ */
1297
+ value: ImplicitOAuthFlow;
1298
+ case: "implicit";
1299
+ } | {
1300
+ /**
1301
+ * @generated from field: alis.open.agent.v1.PasswordOAuthFlow password = 4;
1302
+ */
1303
+ value: PasswordOAuthFlow;
1304
+ case: "password";
1305
+ } | { case: undefined; value?: undefined };
1306
+ };
1307
+
1308
+ /**
1309
+ * Describes the message alis.open.agent.v1.OAuthFlows.
1310
+ * Use `create(OAuthFlowsSchema)` to create a new message.
1311
+ */
1312
+ export declare const OAuthFlowsSchema: GenMessage<OAuthFlows>;
1313
+
1314
+ /**
1315
+ * @generated from message alis.open.agent.v1.AuthorizationCodeOAuthFlow
1316
+ */
1317
+ export declare type AuthorizationCodeOAuthFlow = Message$1<"alis.open.agent.v1.AuthorizationCodeOAuthFlow"> & {
1318
+ /**
1319
+ * The authorization URL to be used for this flow. This MUST be in the
1320
+ * form of a URL. The OAuth2 standard requires the use of TLS
1321
+ *
1322
+ * @generated from field: string authorization_url = 1;
1323
+ */
1324
+ authorizationUrl: string;
1325
+
1326
+ /**
1327
+ * The token URL to be used for this flow. This MUST be in the form of a URL.
1328
+ * The OAuth2 standard requires the use of TLS.
1329
+ *
1330
+ * @generated from field: string token_url = 2;
1331
+ */
1332
+ tokenUrl: string;
1333
+
1334
+ /**
1335
+ * The URL to be used for obtaining refresh tokens. This MUST be in the
1336
+ * form of a URL. The OAuth2 standard requires the use of TLS.
1337
+ *
1338
+ * @generated from field: string refresh_url = 3;
1339
+ */
1340
+ refreshUrl: string;
1341
+
1342
+ /**
1343
+ * The available scopes for the OAuth2 security scheme. A map between the
1344
+ * scope name and a short description for it. The map MAY be empty.
1345
+ *
1346
+ * @generated from field: map<string, string> scopes = 4;
1347
+ */
1348
+ scopes: { [key: string]: string };
1349
+ };
1350
+
1351
+ /**
1352
+ * Describes the message alis.open.agent.v1.AuthorizationCodeOAuthFlow.
1353
+ * Use `create(AuthorizationCodeOAuthFlowSchema)` to create a new message.
1354
+ */
1355
+ export declare const AuthorizationCodeOAuthFlowSchema: GenMessage<AuthorizationCodeOAuthFlow>;
1356
+
1357
+ /**
1358
+ * @generated from message alis.open.agent.v1.ClientCredentialsOAuthFlow
1359
+ */
1360
+ export declare type ClientCredentialsOAuthFlow = Message$1<"alis.open.agent.v1.ClientCredentialsOAuthFlow"> & {
1361
+ /**
1362
+ * The token URL to be used for this flow. This MUST be in the form of a URL.
1363
+ * The OAuth2 standard requires the use of TLS.
1364
+ *
1365
+ * @generated from field: string token_url = 1;
1366
+ */
1367
+ tokenUrl: string;
1368
+
1369
+ /**
1370
+ * The URL to be used for obtaining refresh tokens. This MUST be in the
1371
+ * form of a URL. The OAuth2 standard requires the use of TLS.
1372
+ *
1373
+ * @generated from field: string refresh_url = 2;
1374
+ */
1375
+ refreshUrl: string;
1376
+
1377
+ /**
1378
+ * The available scopes for the OAuth2 security scheme. A map between the
1379
+ * scope name and a short description for it. The map MAY be empty.
1380
+ *
1381
+ * @generated from field: map<string, string> scopes = 3;
1382
+ */
1383
+ scopes: { [key: string]: string };
1384
+ };
1385
+
1386
+ /**
1387
+ * Describes the message alis.open.agent.v1.ClientCredentialsOAuthFlow.
1388
+ * Use `create(ClientCredentialsOAuthFlowSchema)` to create a new message.
1389
+ */
1390
+ export declare const ClientCredentialsOAuthFlowSchema: GenMessage<ClientCredentialsOAuthFlow>;
1391
+
1392
+ /**
1393
+ * @generated from message alis.open.agent.v1.ImplicitOAuthFlow
1394
+ */
1395
+ export declare type ImplicitOAuthFlow = Message$1<"alis.open.agent.v1.ImplicitOAuthFlow"> & {
1396
+ /**
1397
+ * The authorization URL to be used for this flow. This MUST be in the
1398
+ * form of a URL. The OAuth2 standard requires the use of TLS
1399
+ *
1400
+ * @generated from field: string authorization_url = 1;
1401
+ */
1402
+ authorizationUrl: string;
1403
+
1404
+ /**
1405
+ * The URL to be used for obtaining refresh tokens. This MUST be in the
1406
+ * form of a URL. The OAuth2 standard requires the use of TLS.
1407
+ *
1408
+ * @generated from field: string refresh_url = 2;
1409
+ */
1410
+ refreshUrl: string;
1411
+
1412
+ /**
1413
+ * The available scopes for the OAuth2 security scheme. A map between the
1414
+ * scope name and a short description for it. The map MAY be empty.
1415
+ *
1416
+ * @generated from field: map<string, string> scopes = 3;
1417
+ */
1418
+ scopes: { [key: string]: string };
1419
+ };
1420
+
1421
+ /**
1422
+ * Describes the message alis.open.agent.v1.ImplicitOAuthFlow.
1423
+ * Use `create(ImplicitOAuthFlowSchema)` to create a new message.
1424
+ */
1425
+ export declare const ImplicitOAuthFlowSchema: GenMessage<ImplicitOAuthFlow>;
1426
+
1427
+ /**
1428
+ * @generated from message alis.open.agent.v1.PasswordOAuthFlow
1429
+ */
1430
+ export declare type PasswordOAuthFlow = Message$1<"alis.open.agent.v1.PasswordOAuthFlow"> & {
1431
+ /**
1432
+ * The token URL to be used for this flow. This MUST be in the form of a URL.
1433
+ * The OAuth2 standard requires the use of TLS.
1434
+ *
1435
+ * @generated from field: string token_url = 1;
1436
+ */
1437
+ tokenUrl: string;
1438
+
1439
+ /**
1440
+ * The URL to be used for obtaining refresh tokens. This MUST be in the
1441
+ * form of a URL. The OAuth2 standard requires the use of TLS.
1442
+ *
1443
+ * @generated from field: string refresh_url = 2;
1444
+ */
1445
+ refreshUrl: string;
1446
+
1447
+ /**
1448
+ * The available scopes for the OAuth2 security scheme. A map between the
1449
+ * scope name and a short description for it. The map MAY be empty.
1450
+ *
1451
+ * @generated from field: map<string, string> scopes = 3;
1452
+ */
1453
+ scopes: { [key: string]: string };
1454
+ };
1455
+
1456
+ /**
1457
+ * Describes the message alis.open.agent.v1.PasswordOAuthFlow.
1458
+ * Use `create(PasswordOAuthFlowSchema)` to create a new message.
1459
+ */
1460
+ export declare const PasswordOAuthFlowSchema: GenMessage<PasswordOAuthFlow>;
1461
+
1462
+ /**
1463
+ * /////////// Request Messages ///////////
1464
+ *
1465
+ * @generated from message alis.open.agent.v1.SendMessageRequest
1466
+ */
1467
+ export declare type SendMessageRequest = Message$1<"alis.open.agent.v1.SendMessageRequest"> & {
1468
+ /**
1469
+ * The message to send to the agent.
1470
+ *
1471
+ * @generated from field: alis.open.agent.v1.Message request = 1 [json_name = "message"];
1472
+ */
1473
+ request?: Message;
1474
+
1475
+ /**
1476
+ * Configuration for the send request.
1477
+ *
1478
+ * @generated from field: alis.open.agent.v1.SendMessageConfiguration configuration = 2;
1479
+ */
1480
+ configuration?: SendMessageConfiguration;
1481
+
1482
+ /**
1483
+ * Optional metadata for the request.
1484
+ *
1485
+ * @generated from field: google.protobuf.Struct metadata = 3;
1486
+ */
1487
+ metadata?: JsonObject;
1488
+ };
1489
+
1490
+ /**
1491
+ * Describes the message alis.open.agent.v1.SendMessageRequest.
1492
+ * Use `create(SendMessageRequestSchema)` to create a new message.
1493
+ */
1494
+ export declare const SendMessageRequestSchema: GenMessage<SendMessageRequest>;
1495
+
1496
+ /**
1497
+ * @generated from message alis.open.agent.v1.GetTaskRequest
1498
+ */
1499
+ export declare type GetTaskRequest = Message$1<"alis.open.agent.v1.GetTaskRequest"> & {
1500
+ /**
1501
+ * The resource name of the task.
1502
+ * Format: tasks/{task_id}
1503
+ *
1504
+ * @generated from field: string name = 1;
1505
+ */
1506
+ name: string;
1507
+
1508
+ /**
1509
+ * The number of most recent messages from the task's history to retrieve.
1510
+ *
1511
+ * @generated from field: int32 history_length = 2;
1512
+ */
1513
+ historyLength: number;
1514
+ };
1515
+
1516
+ /**
1517
+ * Describes the message alis.open.agent.v1.GetTaskRequest.
1518
+ * Use `create(GetTaskRequestSchema)` to create a new message.
1519
+ */
1520
+ export declare const GetTaskRequestSchema: GenMessage<GetTaskRequest>;
1521
+
1522
+ /**
1523
+ * @generated from message alis.open.agent.v1.ListTasksRequest
1524
+ */
1525
+ export declare type ListTasksRequest = Message$1<"alis.open.agent.v1.ListTasksRequest"> & {
1526
+ /**
1527
+ * Filter tasks by context ID to get tasks from a specific conversation
1528
+ * or session.
1529
+ *
1530
+ * @generated from field: string context_id = 1;
1531
+ */
1532
+ contextId: string;
1533
+
1534
+ /**
1535
+ * Filter tasks by their current status state.
1536
+ *
1537
+ * @generated from field: alis.open.agent.v1.TaskState status = 2;
1538
+ */
1539
+ status: TaskState;
1540
+
1541
+ /**
1542
+ * Maximum number of tasks to return. Must be between 1 and 100.
1543
+ * Defaults to 50 if not specified.
1544
+ *
1545
+ * @generated from field: int32 page_size = 3;
1546
+ */
1547
+ pageSize: number;
1548
+
1549
+ /**
1550
+ * Token for pagination. Use the next_page_token from a previous
1551
+ * ListTasksResponse.
1552
+ *
1553
+ * @generated from field: string page_token = 4;
1554
+ */
1555
+ pageToken: string;
1556
+
1557
+ /**
1558
+ * Number of recent messages to include in each task's history.
1559
+ * Must be non-negative. Defaults to 0 if not specified.
1560
+ *
1561
+ * @generated from field: int32 history_length = 5;
1562
+ */
1563
+ historyLength: number;
1564
+
1565
+ /**
1566
+ * Filter tasks updated after this timestamp. Only tasks with a last
1567
+ * updated time greater than or equal to this value will be returned.
1568
+ *
1569
+ * @generated from field: google.protobuf.Timestamp last_updated_time = 6;
1570
+ */
1571
+ lastUpdatedTime?: Timestamp;
1572
+
1573
+ /**
1574
+ * Whether to include artifacts in the returned tasks.
1575
+ * Defaults to false to reduce payload size.
1576
+ *
1577
+ * @generated from field: bool include_artifacts = 7;
1578
+ */
1579
+ includeArtifacts: boolean;
1580
+ };
1581
+
1582
+ /**
1583
+ * Describes the message alis.open.agent.v1.ListTasksRequest.
1584
+ * Use `create(ListTasksRequestSchema)` to create a new message.
1585
+ */
1586
+ export declare const ListTasksRequestSchema: GenMessage<ListTasksRequest>;
1587
+
1588
+ /**
1589
+ * @generated from message alis.open.agent.v1.CancelTaskRequest
1590
+ */
1591
+ export declare type CancelTaskRequest = Message$1<"alis.open.agent.v1.CancelTaskRequest"> & {
1592
+ /**
1593
+ * The resource name of the task to cancel.
1594
+ * Format: tasks/{task_id}
1595
+ *
1596
+ * @generated from field: string name = 1;
1597
+ */
1598
+ name: string;
1599
+ };
1600
+
1601
+ /**
1602
+ * Describes the message alis.open.agent.v1.CancelTaskRequest.
1603
+ * Use `create(CancelTaskRequestSchema)` to create a new message.
1604
+ */
1605
+ export declare const CancelTaskRequestSchema: GenMessage<CancelTaskRequest>;
1606
+
1607
+ /**
1608
+ * @generated from message alis.open.agent.v1.GetTaskPushNotificationConfigRequest
1609
+ */
1610
+ export declare type GetTaskPushNotificationConfigRequest = Message$1<"alis.open.agent.v1.GetTaskPushNotificationConfigRequest"> & {
1611
+ /**
1612
+ * The resource name of the config to retrieve.
1613
+ * Format: tasks/{task_id}/pushNotificationConfigs/{config_id}
1614
+ *
1615
+ * @generated from field: string name = 1;
1616
+ */
1617
+ name: string;
1618
+ };
1619
+
1620
+ /**
1621
+ * Describes the message alis.open.agent.v1.GetTaskPushNotificationConfigRequest.
1622
+ * Use `create(GetTaskPushNotificationConfigRequestSchema)` to create a new message.
1623
+ */
1624
+ export declare const GetTaskPushNotificationConfigRequestSchema: GenMessage<GetTaskPushNotificationConfigRequest>;
1625
+
1626
+ /**
1627
+ * @generated from message alis.open.agent.v1.DeleteTaskPushNotificationConfigRequest
1628
+ */
1629
+ export declare type DeleteTaskPushNotificationConfigRequest = Message$1<"alis.open.agent.v1.DeleteTaskPushNotificationConfigRequest"> & {
1630
+ /**
1631
+ * The resource name of the config to delete.
1632
+ * Format: tasks/{task_id}/pushNotificationConfigs/{config_id}
1633
+ *
1634
+ * @generated from field: string name = 1;
1635
+ */
1636
+ name: string;
1637
+ };
1638
+
1639
+ /**
1640
+ * Describes the message alis.open.agent.v1.DeleteTaskPushNotificationConfigRequest.
1641
+ * Use `create(DeleteTaskPushNotificationConfigRequestSchema)` to create a new message.
1642
+ */
1643
+ export declare const DeleteTaskPushNotificationConfigRequestSchema: GenMessage<DeleteTaskPushNotificationConfigRequest>;
1644
+
1645
+ /**
1646
+ * @generated from message alis.open.agent.v1.CreateTaskPushNotificationConfigRequest
1647
+ */
1648
+ export declare type CreateTaskPushNotificationConfigRequest = Message$1<"alis.open.agent.v1.CreateTaskPushNotificationConfigRequest"> & {
1649
+ /**
1650
+ * The parent task resource for this config.
1651
+ * Format: tasks/{task_id}
1652
+ *
1653
+ * @generated from field: string parent = 1;
1654
+ */
1655
+ parent: string;
1656
+
1657
+ /**
1658
+ * The ID for the new config.
1659
+ *
1660
+ * @generated from field: string config_id = 2;
1661
+ */
1662
+ configId: string;
1663
+
1664
+ /**
1665
+ * The configuration to create.
1666
+ *
1667
+ * @generated from field: alis.open.agent.v1.TaskPushNotificationConfig config = 3;
1668
+ */
1669
+ config?: TaskPushNotificationConfig;
1670
+ };
1671
+
1672
+ /**
1673
+ * Describes the message alis.open.agent.v1.CreateTaskPushNotificationConfigRequest.
1674
+ * Use `create(CreateTaskPushNotificationConfigRequestSchema)` to create a new message.
1675
+ */
1676
+ export declare const CreateTaskPushNotificationConfigRequestSchema: GenMessage<CreateTaskPushNotificationConfigRequest>;
1677
+
1678
+ /**
1679
+ * @generated from message alis.open.agent.v1.TaskSubscriptionRequest
1680
+ */
1681
+ export declare type TaskSubscriptionRequest = Message$1<"alis.open.agent.v1.TaskSubscriptionRequest"> & {
1682
+ /**
1683
+ * The resource name of the task to subscribe to.
1684
+ * Format: tasks/{task_id}
1685
+ *
1686
+ * @generated from field: string name = 1;
1687
+ */
1688
+ name: string;
1689
+ };
1690
+
1691
+ /**
1692
+ * Describes the message alis.open.agent.v1.TaskSubscriptionRequest.
1693
+ * Use `create(TaskSubscriptionRequestSchema)` to create a new message.
1694
+ */
1695
+ export declare const TaskSubscriptionRequestSchema: GenMessage<TaskSubscriptionRequest>;
1696
+
1697
+ /**
1698
+ * @generated from message alis.open.agent.v1.ListTaskPushNotificationConfigRequest
1699
+ */
1700
+ export declare type ListTaskPushNotificationConfigRequest = Message$1<"alis.open.agent.v1.ListTaskPushNotificationConfigRequest"> & {
1701
+ /**
1702
+ * The parent task resource.
1703
+ * Format: tasks/{task_id}
1704
+ *
1705
+ * @generated from field: string parent = 1;
1706
+ */
1707
+ parent: string;
1708
+
1709
+ /**
1710
+ * For AIP-158 these fields are present. Usually not used/needed.
1711
+ * The maximum number of configurations to return.
1712
+ * If unspecified, all configs will be returned.
1713
+ *
1714
+ * @generated from field: int32 page_size = 2;
1715
+ */
1716
+ pageSize: number;
1717
+
1718
+ /**
1719
+ * A page token received from a previous
1720
+ * ListTaskPushNotificationConfigRequest call.
1721
+ * Provide this to retrieve the subsequent page.
1722
+ * When paginating, all other parameters provided to
1723
+ * `ListTaskPushNotificationConfigRequest` must match the call that provided
1724
+ * the page token.
1725
+ *
1726
+ * @generated from field: string page_token = 3;
1727
+ */
1728
+ pageToken: string;
1729
+ };
1730
+
1731
+ /**
1732
+ * Describes the message alis.open.agent.v1.ListTaskPushNotificationConfigRequest.
1733
+ * Use `create(ListTaskPushNotificationConfigRequestSchema)` to create a new message.
1734
+ */
1735
+ export declare const ListTaskPushNotificationConfigRequestSchema: GenMessage<ListTaskPushNotificationConfigRequest>;
1736
+
1737
+ /**
1738
+ * Empty. Added to fix linter violation.
1739
+ *
1740
+ * @generated from message alis.open.agent.v1.GetAgentCardRequest
1741
+ */
1742
+ export declare type GetAgentCardRequest = Message$1<"alis.open.agent.v1.GetAgentCardRequest"> & {
1743
+ };
1744
+
1745
+ /**
1746
+ * Describes the message alis.open.agent.v1.GetAgentCardRequest.
1747
+ * Use `create(GetAgentCardRequestSchema)` to create a new message.
1748
+ */
1749
+ export declare const GetAgentCardRequestSchema: GenMessage<GetAgentCardRequest>;
1750
+
1751
+ /**
1752
+ * ////// Response Messages ///////////
1753
+ *
1754
+ * @generated from message alis.open.agent.v1.SendMessageResponse
1755
+ */
1756
+ export declare type SendMessageResponse = Message$1<"alis.open.agent.v1.SendMessageResponse"> & {
1757
+ /**
1758
+ * @generated from oneof alis.open.agent.v1.SendMessageResponse.payload
1759
+ */
1760
+ payload: {
1761
+ /**
1762
+ * @generated from field: alis.open.agent.v1.Task task = 1;
1763
+ */
1764
+ value: Task;
1765
+ case: "task";
1766
+ } | {
1767
+ /**
1768
+ * @generated from field: alis.open.agent.v1.Message msg = 2 [json_name = "message"];
1769
+ */
1770
+ value: Message;
1771
+ case: "msg";
1772
+ } | { case: undefined; value?: undefined };
1773
+ };
1774
+
1775
+ /**
1776
+ * Describes the message alis.open.agent.v1.SendMessageResponse.
1777
+ * Use `create(SendMessageResponseSchema)` to create a new message.
1778
+ */
1779
+ export declare const SendMessageResponseSchema: GenMessage<SendMessageResponse>;
1780
+
1781
+ /**
1782
+ * The stream response for a message. The stream should be one of the following
1783
+ * sequences:
1784
+ * If the response is a message, the stream should contain one, and only one,
1785
+ * message and then close
1786
+ * If the response is a task lifecycle, the first response should be a Task
1787
+ * object followed by zero or more TaskStatusUpdateEvents and
1788
+ * TaskArtifactUpdateEvents. The stream should complete when the Task
1789
+ * if in an interrupted or terminal state. A stream that ends before these
1790
+ * conditions are met are
1791
+ *
1792
+ * @generated from message alis.open.agent.v1.StreamResponse
1793
+ */
1794
+ export declare type StreamResponse = Message$1<"alis.open.agent.v1.StreamResponse"> & {
1795
+ /**
1796
+ * @generated from oneof alis.open.agent.v1.StreamResponse.payload
1797
+ */
1798
+ payload: {
1799
+ /**
1800
+ * @generated from field: alis.open.agent.v1.Task task = 1;
1801
+ */
1802
+ value: Task;
1803
+ case: "task";
1804
+ } | {
1805
+ /**
1806
+ * @generated from field: alis.open.agent.v1.Message msg = 2 [json_name = "message"];
1807
+ */
1808
+ value: Message;
1809
+ case: "msg";
1810
+ } | {
1811
+ /**
1812
+ * @generated from field: alis.open.agent.v1.TaskStatusUpdateEvent status_update = 3;
1813
+ */
1814
+ value: TaskStatusUpdateEvent;
1815
+ case: "statusUpdate";
1816
+ } | {
1817
+ /**
1818
+ * @generated from field: alis.open.agent.v1.TaskArtifactUpdateEvent artifact_update = 4;
1819
+ */
1820
+ value: TaskArtifactUpdateEvent;
1821
+ case: "artifactUpdate";
1822
+ } | { case: undefined; value?: undefined };
1823
+ };
1824
+
1825
+ /**
1826
+ * Describes the message alis.open.agent.v1.StreamResponse.
1827
+ * Use `create(StreamResponseSchema)` to create a new message.
1828
+ */
1829
+ export declare const StreamResponseSchema: GenMessage<StreamResponse>;
1830
+
1831
+ /**
1832
+ * @generated from message alis.open.agent.v1.ListTasksResponse
1833
+ */
1834
+ export declare type ListTasksResponse = Message$1<"alis.open.agent.v1.ListTasksResponse"> & {
1835
+ /**
1836
+ * Array of tasks matching the specified criteria.
1837
+ *
1838
+ * @generated from field: repeated alis.open.agent.v1.Task tasks = 1;
1839
+ */
1840
+ tasks: Task[];
1841
+
1842
+ /**
1843
+ * Token for retrieving the next page of results.
1844
+ * Empty string if no more results.
1845
+ *
1846
+ * @generated from field: string next_page_token = 2;
1847
+ */
1848
+ nextPageToken: string;
1849
+
1850
+ /**
1851
+ * Total number of tasks available (before pagination).
1852
+ *
1853
+ * @generated from field: int32 total_size = 3;
1854
+ */
1855
+ totalSize: number;
1856
+ };
1857
+
1858
+ /**
1859
+ * Describes the message alis.open.agent.v1.ListTasksResponse.
1860
+ * Use `create(ListTasksResponseSchema)` to create a new message.
1861
+ */
1862
+ export declare const ListTasksResponseSchema: GenMessage<ListTasksResponse>;
1863
+
1864
+ /**
1865
+ * @generated from message alis.open.agent.v1.ListTaskPushNotificationConfigResponse
1866
+ */
1867
+ export declare type ListTaskPushNotificationConfigResponse = Message$1<"alis.open.agent.v1.ListTaskPushNotificationConfigResponse"> & {
1868
+ /**
1869
+ * The list of push notification configurations.
1870
+ *
1871
+ * @generated from field: repeated alis.open.agent.v1.TaskPushNotificationConfig configs = 1;
1872
+ */
1873
+ configs: TaskPushNotificationConfig[];
1874
+
1875
+ /**
1876
+ * A token, which can be sent as `page_token` to retrieve the next page.
1877
+ * If this field is omitted, there are no subsequent pages.
1878
+ *
1879
+ * @generated from field: string next_page_token = 2;
1880
+ */
1881
+ nextPageToken: string;
1882
+ };
1883
+
1884
+ /**
1885
+ * Describes the message alis.open.agent.v1.ListTaskPushNotificationConfigResponse.
1886
+ * Use `create(ListTaskPushNotificationConfigResponseSchema)` to create a new message.
1887
+ */
1888
+ export declare const ListTaskPushNotificationConfigResponseSchema: GenMessage<ListTaskPushNotificationConfigResponse>;
1889
+
1890
+ /**
1891
+ * The set of states a Task can be in.
1892
+ *
1893
+ * @generated from enum alis.open.agent.v1.TaskState
1894
+ */
1895
+ export enum TaskState {
1896
+ /**
1897
+ * @generated from enum value: TASK_STATE_UNSPECIFIED = 0;
1898
+ */
1899
+ UNSPECIFIED = 0,
1900
+
1901
+ /**
1902
+ * Represents the status that acknowledges a task is created
1903
+ *
1904
+ * @generated from enum value: TASK_STATE_SUBMITTED = 1;
1905
+ */
1906
+ SUBMITTED = 1,
1907
+
1908
+ /**
1909
+ * Represents the status that a task is actively being processed
1910
+ *
1911
+ * @generated from enum value: TASK_STATE_WORKING = 2;
1912
+ */
1913
+ WORKING = 2,
1914
+
1915
+ /**
1916
+ * Represents the status a task is finished. This is a terminal state
1917
+ *
1918
+ * @generated from enum value: TASK_STATE_COMPLETED = 3;
1919
+ */
1920
+ COMPLETED = 3,
1921
+
1922
+ /**
1923
+ * Represents the status a task is done but failed. This is a terminal state
1924
+ *
1925
+ * @generated from enum value: TASK_STATE_FAILED = 4;
1926
+ */
1927
+ FAILED = 4,
1928
+
1929
+ /**
1930
+ * Represents the status a task was cancelled before it finished.
1931
+ * This is a terminal state.
1932
+ *
1933
+ * @generated from enum value: TASK_STATE_CANCELLED = 5;
1934
+ */
1935
+ CANCELLED = 5,
1936
+
1937
+ /**
1938
+ * Represents the status that the task requires information to complete.
1939
+ * This is an interrupted state.
1940
+ *
1941
+ * @generated from enum value: TASK_STATE_INPUT_REQUIRED = 6;
1942
+ */
1943
+ INPUT_REQUIRED = 6,
1944
+
1945
+ /**
1946
+ * Represents the status that the agent has decided to not perform the task.
1947
+ * This may be done during initial task creation or later once an agent
1948
+ * has determined it can't or won't proceed. This is a terminal state.
1949
+ *
1950
+ * @generated from enum value: TASK_STATE_REJECTED = 7;
1951
+ */
1952
+ REJECTED = 7,
1953
+
1954
+ /**
1955
+ * Represents the state that some authentication is needed from the upstream
1956
+ * client. Authentication is expected to come out-of-band thus this is not
1957
+ * an interrupted or terminal state.
1958
+ *
1959
+ * @generated from enum value: TASK_STATE_AUTH_REQUIRED = 8;
1960
+ */
1961
+ AUTH_REQUIRED = 8,
1962
+ }
1963
+
1964
+ /**
1965
+ * Describes the enum alis.open.agent.v1.TaskState.
1966
+ */
1967
+ export declare const TaskStateSchema: GenEnum<TaskState>;
1968
+
1969
+ /**
1970
+ * @generated from enum alis.open.agent.v1.Role
1971
+ */
1972
+ export enum Role {
1973
+ /**
1974
+ * @generated from enum value: ROLE_UNSPECIFIED = 0;
1975
+ */
1976
+ UNSPECIFIED = 0,
1977
+
1978
+ /**
1979
+ * USER role refers to communication from the client to the server.
1980
+ *
1981
+ * @generated from enum value: ROLE_USER = 1;
1982
+ */
1983
+ USER = 1,
1984
+
1985
+ /**
1986
+ * AGENT role refers to communication from the server to the client.
1987
+ *
1988
+ * @generated from enum value: ROLE_AGENT = 2;
1989
+ */
1990
+ AGENT = 2,
1991
+ }
1992
+
1993
+ /**
1994
+ * Describes the enum alis.open.agent.v1.Role.
1995
+ */
1996
+ export declare const RoleSchema: GenEnum<Role>;
1997
+
1998
+ /**
1999
+ * A2AService defines the gRPC version of the A2A protocol. This has a slightly
2000
+ * different shape than the JSONRPC version to better conform to AIP-127,
2001
+ * where appropriate. The nouns are AgentCard, Message, Task and
2002
+ * TaskPushNotificationConfig.
2003
+ * - Messages are not a standard resource so there is no get/delete/update/list
2004
+ * interface, only a send and stream custom methods.
2005
+ * - Tasks have a get interface and custom cancel and subscribe methods.
2006
+ * - TaskPushNotificationConfig are a resource whose parent is a task.
2007
+ * They have get, list and create methods.
2008
+ * - AgentCard is a static resource with only a get method.
2009
+ *
2010
+ * @generated from service alis.open.agent.v1.A2AService
2011
+ */
2012
+ export declare const A2AService: GenService<{
2013
+ /**
2014
+ * Send a message to the agent. This is a blocking call that will return the
2015
+ * task once it is completed, or a LRO if requested.
2016
+ *
2017
+ * @generated from rpc alis.open.agent.v1.A2AService.SendMessage
2018
+ */
2019
+ sendMessage: {
2020
+ methodKind: "unary";
2021
+ input: typeof SendMessageRequestSchema;
2022
+ output: typeof SendMessageResponseSchema;
2023
+ },
2024
+ /**
2025
+ * SendStreamingMessage is a streaming call that will return a stream of
2026
+ * task update events until the Task is in an interrupted or terminal state.
2027
+ *
2028
+ * @generated from rpc alis.open.agent.v1.A2AService.SendStreamingMessage
2029
+ */
2030
+ sendStreamingMessage: {
2031
+ methodKind: "server_streaming";
2032
+ input: typeof SendMessageRequestSchema;
2033
+ output: typeof StreamResponseSchema;
2034
+ },
2035
+ /**
2036
+ * Get the current state of a task from the agent.
2037
+ *
2038
+ * @generated from rpc alis.open.agent.v1.A2AService.GetTask
2039
+ */
2040
+ getTask: {
2041
+ methodKind: "unary";
2042
+ input: typeof GetTaskRequestSchema;
2043
+ output: typeof TaskSchema;
2044
+ },
2045
+ /**
2046
+ * List tasks with optional filtering and pagination.
2047
+ *
2048
+ * @generated from rpc alis.open.agent.v1.A2AService.ListTasks
2049
+ */
2050
+ listTasks: {
2051
+ methodKind: "unary";
2052
+ input: typeof ListTasksRequestSchema;
2053
+ output: typeof ListTasksResponseSchema;
2054
+ },
2055
+ /**
2056
+ * Cancel a task from the agent. If supported one should expect no
2057
+ * more task updates for the task.
2058
+ *
2059
+ * @generated from rpc alis.open.agent.v1.A2AService.CancelTask
2060
+ */
2061
+ cancelTask: {
2062
+ methodKind: "unary";
2063
+ input: typeof CancelTaskRequestSchema;
2064
+ output: typeof TaskSchema;
2065
+ },
2066
+ /**
2067
+ * TaskSubscription is a streaming call that will return a stream of task
2068
+ * update events. This attaches the stream to an existing in process task.
2069
+ * If the task is complete the stream will return the completed task (like
2070
+ * GetTask) and close the stream.
2071
+ *
2072
+ * @generated from rpc alis.open.agent.v1.A2AService.TaskSubscription
2073
+ */
2074
+ taskSubscription: {
2075
+ methodKind: "server_streaming";
2076
+ input: typeof TaskSubscriptionRequestSchema;
2077
+ output: typeof StreamResponseSchema;
2078
+ },
2079
+ /**
2080
+ * Set a push notification config for a task.
2081
+ *
2082
+ * @generated from rpc alis.open.agent.v1.A2AService.CreateTaskPushNotificationConfig
2083
+ */
2084
+ createTaskPushNotificationConfig: {
2085
+ methodKind: "unary";
2086
+ input: typeof CreateTaskPushNotificationConfigRequestSchema;
2087
+ output: typeof TaskPushNotificationConfigSchema;
2088
+ },
2089
+ /**
2090
+ * Get a push notification config for a task.
2091
+ *
2092
+ * @generated from rpc alis.open.agent.v1.A2AService.GetTaskPushNotificationConfig
2093
+ */
2094
+ getTaskPushNotificationConfig: {
2095
+ methodKind: "unary";
2096
+ input: typeof GetTaskPushNotificationConfigRequestSchema;
2097
+ output: typeof TaskPushNotificationConfigSchema;
2098
+ },
2099
+ /**
2100
+ * Get a list of push notifications configured for a task.
2101
+ *
2102
+ * @generated from rpc alis.open.agent.v1.A2AService.ListTaskPushNotificationConfig
2103
+ */
2104
+ listTaskPushNotificationConfig: {
2105
+ methodKind: "unary";
2106
+ input: typeof ListTaskPushNotificationConfigRequestSchema;
2107
+ output: typeof ListTaskPushNotificationConfigResponseSchema;
2108
+ },
2109
+ /**
2110
+ * GetAgentCard returns the agent card for the agent.
2111
+ *
2112
+ * @generated from rpc alis.open.agent.v1.A2AService.GetAgentCard
2113
+ */
2114
+ getAgentCard: {
2115
+ methodKind: "unary";
2116
+ input: typeof GetAgentCardRequestSchema;
2117
+ output: typeof AgentCardSchema;
2118
+ },
2119
+ /**
2120
+ * Delete a push notification config for a task.
2121
+ *
2122
+ * @generated from rpc alis.open.agent.v1.A2AService.DeleteTaskPushNotificationConfig
2123
+ */
2124
+ deleteTaskPushNotificationConfig: {
2125
+ methodKind: "unary";
2126
+ input: typeof DeleteTaskPushNotificationConfigRequestSchema;
2127
+ output: typeof EmptySchema;
2128
+ },
2129
+ }>;