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