@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.
- package/LICENSE +21 -0
- package/README.md +1 -0
- package/alis/a2a/extension/history/v1/history_connect.d.ts +155 -0
- package/alis/a2a/extension/history/v1/history_connect.js +155 -0
- package/alis/a2a/extension/history/v1/history_pb.d.ts +550 -0
- package/alis/a2a/extension/history/v1/history_pb.js +111 -0
- package/alis/open/agent/v1/agent_connect.d.ts +155 -0
- package/alis/open/agent/v1/agent_connect.js +155 -0
- package/alis/open/agent/v1/agent_pb.d.ts +2129 -0
- package/alis/open/agent/v1/agent_pb.js +390 -0
- package/alis/open/agent/v2/a2a_connect.d.ts +155 -0
- package/alis/open/agent/v2/a2a_connect.js +155 -0
- package/alis/open/agent/v2/a2a_pb.d.ts +2181 -0
- package/alis/open/agent/v2/a2a_pb.js +390 -0
- package/alis/open/config/v1/config_pb.d.ts +61 -0
- package/alis/open/config/v1/config_pb.js +19 -0
- package/alis/open/cx/v1/cx_pb.d.ts +2153 -0
- package/alis/open/cx/v1/cx_pb.js +230 -0
- package/alis/open/flows/v1/flows_connect.d.ts +94 -0
- package/alis/open/flows/v1/flows_connect.js +94 -0
- package/alis/open/flows/v1/flows_pb.d.ts +546 -0
- package/alis/open/flows/v1/flows_pb.js +104 -0
- package/alis/open/iam/v1/group_connect.d.ts +143 -0
- package/alis/open/iam/v1/group_connect.js +143 -0
- package/alis/open/iam/v1/group_pb.d.ts +385 -0
- package/alis/open/iam/v1/group_pb.js +88 -0
- package/alis/open/iam/v1/iam_pb.d.ts +171 -0
- package/alis/open/iam/v1/iam_pb.js +46 -0
- package/alis/open/iam/v1/oauth_pb.d.ts +564 -0
- package/alis/open/iam/v1/oauth_pb.js +111 -0
- package/alis/open/iam/v1/role_pb.d.ts +95 -0
- package/alis/open/iam/v1/role_pb.js +19 -0
- package/alis/open/iam/v1/user_connect.d.ts +327 -0
- package/alis/open/iam/v1/user_connect.js +327 -0
- package/alis/open/iam/v1/user_pb.d.ts +1580 -0
- package/alis/open/iam/v1/user_pb.js +279 -0
- package/alis/open/in/v1/in_pb.d.ts +902 -0
- package/alis/open/in/v1/in_pb.js +113 -0
- package/alis/open/notifications/v1/devices_connect.d.ts +161 -0
- package/alis/open/notifications/v1/devices_connect.js +161 -0
- package/alis/open/notifications/v1/devices_pb.d.ts +362 -0
- package/alis/open/notifications/v1/devices_pb.js +75 -0
- package/alis/open/notifications/v1/notifications_connect.d.ts +77 -0
- package/alis/open/notifications/v1/notifications_connect.js +77 -0
- package/alis/open/notifications/v1/notifications_pb.d.ts +196 -0
- package/alis/open/notifications/v1/notifications_pb.js +49 -0
- package/alis/open/operations/v1/operations_pb.d.ts +194 -0
- package/alis/open/operations/v1/operations_pb.js +28 -0
- package/alis/open/options/v1/options_pb.d.ts +274 -0
- package/alis/open/options/v1/options_pb.js +85 -0
- package/alis/open/pubsub/v1/pubsub_pb.d.ts +124 -0
- package/alis/open/pubsub/v1/pubsub_pb.js +26 -0
- package/alis/open/px/v1/px_pb.d.ts +2169 -0
- package/alis/open/px/v1/px_pb.js +281 -0
- package/alis/open/support/v1/attachments_connect.d.ts +30 -0
- package/alis/open/support/v1/attachments_connect.js +30 -0
- package/alis/open/support/v1/attachments_pb.d.ts +84 -0
- package/alis/open/support/v1/attachments_pb.js +34 -0
- package/alis/open/support/v1/events_connect.d.ts +30 -0
- package/alis/open/support/v1/events_connect.js +30 -0
- package/alis/open/support/v1/events_pb.d.ts +236 -0
- package/alis/open/support/v1/events_pb.js +84 -0
- package/alis/open/support/v1/guide_connect.d.ts +76 -0
- package/alis/open/support/v1/guide_connect.js +76 -0
- package/alis/open/support/v1/guide_pb.d.ts +853 -0
- package/alis/open/support/v1/guide_pb.js +169 -0
- package/alis/open/support/v1/issue_connect.d.ts +216 -0
- package/alis/open/support/v1/issue_connect.js +216 -0
- package/alis/open/support/v1/issue_pb.d.ts +1030 -0
- package/alis/open/support/v1/issue_pb.js +215 -0
- package/alis/open/support/v1/issueactivity_connect.d.ts +139 -0
- package/alis/open/support/v1/issueactivity_connect.js +139 -0
- package/alis/open/support/v1/issueactivity_pb.d.ts +551 -0
- package/alis/open/support/v1/issueactivity_pb.js +108 -0
- package/alis/open/support/v1/issuesubscriber_connect.d.ts +146 -0
- package/alis/open/support/v1/issuesubscriber_connect.js +146 -0
- package/alis/open/support/v1/issuesubscriber_pb.d.ts +341 -0
- package/alis/open/support/v1/issuesubscriber_pb.js +68 -0
- package/alis/open/validation/v1/test_connect.d.ts +74 -0
- package/alis/open/validation/v1/test_connect.js +74 -0
- package/alis/open/validation/v1/test_pb.d.ts +345 -0
- package/alis/open/validation/v1/test_pb.js +84 -0
- package/alis/open/validation/v1/validation_connect.d.ts +39 -0
- package/alis/open/validation/v1/validation_connect.js +39 -0
- package/alis/open/validation/v1/validation_pb.d.ts +207 -0
- package/alis/open/validation/v1/validation_pb.js +59 -0
- package/alis/test/v1/test_pb.d.ts +32 -0
- package/alis/test/v1/test_pb.js +18 -0
- package/common/test/v1/test_pb.d.ts +32 -0
- package/common/test/v1/test_pb.js +18 -0
- package/google/api/annotations_pb.d.ts +33 -0
- package/google/api/annotations_pb.js +35 -0
- package/google/api/apikeys/v2/apikeys_connect.d.ts +151 -0
- package/google/api/apikeys/v2/apikeys_connect.js +151 -0
- package/google/api/apikeys/v2/apikeys_pb.d.ts +449 -0
- package/google/api/apikeys/v2/apikeys_pb.js +117 -0
- package/google/api/apikeys/v2/resources_pb.d.ts +341 -0
- package/google/api/apikeys/v2/resources_pb.js +84 -0
- package/google/api/auth_pb.d.ts +380 -0
- package/google/api/auth_pb.js +67 -0
- package/google/api/backend_pb.d.ts +269 -0
- package/google/api/backend_pb.js +59 -0
- package/google/api/billing_pb.d.ts +109 -0
- package/google/api/billing_pb.js +39 -0
- package/google/api/client_pb.d.ts +691 -0
- package/google/api/client_pb.js +233 -0
- package/google/api/config_change_pb.d.ts +155 -0
- package/google/api/config_change_pb.js +54 -0
- package/google/api/consumer_pb.d.ts +150 -0
- package/google/api/consumer_pb.js +53 -0
- package/google/api/context_pb.d.ts +135 -0
- package/google/api/context_pb.js +39 -0
- package/google/api/control_pb.d.ts +52 -0
- package/google/api/control_pb.js +32 -0
- package/google/api/distribution_pb.d.ts +377 -0
- package/google/api/distribution_pb.js +76 -0
- package/google/api/documentation_pb.d.ts +248 -0
- package/google/api/documentation_pb.js +46 -0
- package/google/api/endpoint_pb.d.ts +102 -0
- package/google/api/endpoint_pb.js +32 -0
- package/google/api/error_reason_pb.d.ts +657 -0
- package/google/api/error_reason_pb.js +48 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_connect.d.ts +71 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_connect.js +71 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_pb.d.ts +415 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_pb.js +112 -0
- package/google/api/expr/v1alpha1/checked_pb.d.ts +701 -0
- package/google/api/expr/v1alpha1/checked_pb.js +133 -0
- package/google/api/expr/v1alpha1/eval_pb.d.ts +212 -0
- package/google/api/expr/v1alpha1/eval_pb.js +62 -0
- package/google/api/expr/v1alpha1/explain_pb.d.ts +92 -0
- package/google/api/expr/v1alpha1/explain_pb.js +42 -0
- package/google/api/expr/v1alpha1/syntax_pb.d.ts +698 -0
- package/google/api/expr/v1alpha1/syntax_pb.js +112 -0
- package/google/api/expr/v1alpha1/value_pb.d.ts +252 -0
- package/google/api/expr/v1alpha1/value_pb.js +62 -0
- package/google/api/expr/v1beta1/decl_pb.d.ts +183 -0
- package/google/api/expr/v1beta1/decl_pb.js +55 -0
- package/google/api/expr/v1beta1/eval_pb.d.ts +233 -0
- package/google/api/expr/v1beta1/eval_pb.js +70 -0
- package/google/api/expr/v1beta1/expr_pb.d.ts +550 -0
- package/google/api/expr/v1beta1/expr_pb.js +98 -0
- package/google/api/expr/v1beta1/source_pb.d.ts +112 -0
- package/google/api/expr/v1beta1/source_pb.js +40 -0
- package/google/api/expr/v1beta1/value_pb.d.ts +253 -0
- package/google/api/expr/v1beta1/value_pb.js +63 -0
- package/google/api/field_behavior_pb.d.ts +133 -0
- package/google/api/field_behavior_pb.js +64 -0
- package/google/api/http_pb.d.ts +472 -0
- package/google/api/http_pb.js +46 -0
- package/google/api/httpbody_pb.d.ts +103 -0
- package/google/api/httpbody_pb.js +33 -0
- package/google/api/label_pb.d.ts +92 -0
- package/google/api/label_pb.js +46 -0
- package/google/api/launch_stage_pb.d.ts +114 -0
- package/google/api/launch_stage_pb.js +40 -0
- package/google/api/log_pb.d.ts +81 -0
- package/google/api/log_pb.js +33 -0
- package/google/api/logging_pb.d.ts +118 -0
- package/google/api/logging_pb.js +39 -0
- package/google/api/metric_pb.d.ts +422 -0
- package/google/api/metric_pb.js +79 -0
- package/google/api/monitored_resource_pb.d.ts +194 -0
- package/google/api/monitored_resource_pb.js +49 -0
- package/google/api/monitoring_pb.d.ts +143 -0
- package/google/api/monitoring_pb.js +39 -0
- package/google/api/quota_pb.d.ts +271 -0
- package/google/api/quota_pb.js +46 -0
- package/google/api/resource_pb.d.ts +338 -0
- package/google/api/resource_pb.js +96 -0
- package/google/api/routing_pb.d.ts +496 -0
- package/google/api/routing_pb.js +48 -0
- package/google/api/service_pb.d.ts +304 -0
- package/google/api/service_pb.js +53 -0
- package/google/api/servicecontrol/v1/check_error_pb.d.ts +241 -0
- package/google/api/servicecontrol/v1/check_error_pb.js +47 -0
- package/google/api/servicecontrol/v1/distribution_pb.d.ts +279 -0
- package/google/api/servicecontrol/v1/distribution_pb.js +54 -0
- package/google/api/servicecontrol/v1/http_request_pb.d.ts +162 -0
- package/google/api/servicecontrol/v1/http_request_pb.js +33 -0
- package/google/api/servicecontrol/v1/log_entry_pb.d.ts +237 -0
- package/google/api/servicecontrol/v1/log_entry_pb.js +51 -0
- package/google/api/servicecontrol/v1/metric_value_pb.d.ts +148 -0
- package/google/api/servicecontrol/v1/metric_value_pb.js +41 -0
- package/google/api/servicecontrol/v1/operation_pb.d.ts +188 -0
- package/google/api/servicecontrol/v1/operation_pb.js +50 -0
- package/google/api/servicecontrol/v1/quota_controller_connect.d.ts +56 -0
- package/google/api/servicecontrol/v1/quota_controller_connect.js +56 -0
- package/google/api/servicecontrol/v1/quota_controller_pb.d.ts +417 -0
- package/google/api/servicecontrol/v1/quota_controller_pb.js +100 -0
- package/google/api/servicecontrol/v1/service_controller_connect.d.ts +87 -0
- package/google/api/servicecontrol/v1/service_controller_connect.js +87 -0
- package/google/api/servicecontrol/v1/service_controller_pb.d.ts +437 -0
- package/google/api/servicecontrol/v1/service_controller_pb.js +105 -0
- package/google/api/servicecontrol/v2/service_controller_connect.d.ts +99 -0
- package/google/api/servicecontrol/v2/service_controller_connect.js +99 -0
- package/google/api/servicecontrol/v2/service_controller_pb.d.ts +300 -0
- package/google/api/servicecontrol/v2/service_controller_pb.js +79 -0
- package/google/api/servicemanagement/v1/resources_pb.d.ts +632 -0
- package/google/api/servicemanagement/v1/resources_pb.js +159 -0
- package/google/api/servicemanagement/v1/servicemanager_connect.d.ts +252 -0
- package/google/api/servicemanagement/v1/servicemanager_connect.js +252 -0
- package/google/api/servicemanagement/v1/servicemanager_pb.d.ts +854 -0
- package/google/api/servicemanagement/v1/servicemanager_pb.js +186 -0
- package/google/api/serviceusage/v1/resources_pb.d.ts +231 -0
- package/google/api/serviceusage/v1/resources_pb.js +68 -0
- package/google/api/serviceusage/v1/serviceusage_connect.d.ts +125 -0
- package/google/api/serviceusage/v1/serviceusage_connect.js +125 -0
- package/google/api/serviceusage/v1/serviceusage_pb.d.ts +529 -0
- package/google/api/serviceusage/v1/serviceusage_pb.js +140 -0
- package/google/api/serviceusage/v1beta1/resources_pb.d.ts +748 -0
- package/google/api/serviceusage/v1beta1/resources_pb.js +146 -0
- package/google/api/serviceusage/v1beta1/serviceusage_connect.d.ts +285 -0
- package/google/api/serviceusage/v1beta1/serviceusage_connect.js +285 -0
- package/google/api/serviceusage/v1beta1/serviceusage_pb.d.ts +1446 -0
- package/google/api/serviceusage/v1beta1/serviceusage_pb.js +304 -0
- package/google/api/source_info_pb.d.ts +46 -0
- package/google/api/source_info_pb.js +33 -0
- package/google/api/system_parameter_pb.d.ts +151 -0
- package/google/api/system_parameter_pb.js +46 -0
- package/google/api/usage_pb.d.ts +141 -0
- package/google/api/usage_pb.js +39 -0
- package/google/api/visibility_pb.d.ts +157 -0
- package/google/api/visibility_pb.js +88 -0
- package/google/iam/admin/v1/audit_data_pb.d.ts +75 -0
- package/google/iam/admin/v1/audit_data_pb.js +39 -0
- package/google/iam/admin/v1/iam_connect.d.ts +534 -0
- package/google/iam/admin/v1/iam_connect.js +534 -0
- package/google/iam/admin/v1/iam_pb.d.ts +2699 -0
- package/google/iam/admin/v1/iam_pb.js +528 -0
- package/google/iam/credentials/v1/common_pb.d.ts +319 -0
- package/google/iam/credentials/v1/common_pb.js +85 -0
- package/google/iam/credentials/v1/iamcredentials_connect.d.ts +84 -0
- package/google/iam/credentials/v1/iamcredentials_connect.js +84 -0
- package/google/iam/credentials/v1/iamcredentials_pb.d.ts +81 -0
- package/google/iam/credentials/v1/iamcredentials_pb.js +44 -0
- package/google/iam/v1/iam_policy_connect.d.ts +102 -0
- package/google/iam/v1/iam_policy_connect.js +102 -0
- package/google/iam/v1/iam_policy_pb.d.ts +225 -0
- package/google/iam/v1/iam_policy_pb.js +93 -0
- package/google/iam/v1/logging/audit_data_pb.d.ts +48 -0
- package/google/iam/v1/logging/audit_data_pb.js +33 -0
- package/google/iam/v1/options_pb.d.ts +62 -0
- package/google/iam/v1/options_pb.js +32 -0
- package/google/iam/v1/policy_pb.d.ts +622 -0
- package/google/iam/v1/policy_pb.js +118 -0
- package/google/iam/v1beta/workload_identity_pool_connect.d.ts +203 -0
- package/google/iam/v1beta/workload_identity_pool_connect.js +203 -0
- package/google/iam/v1beta/workload_identity_pool_pb.d.ts +996 -0
- package/google/iam/v1beta/workload_identity_pool_pb.js +207 -0
- package/google/iam/v2/deny_pb.d.ts +139 -0
- package/google/iam/v2/deny_pb.js +33 -0
- package/google/iam/v2/policy_connect.d.ts +102 -0
- package/google/iam/v2/policy_connect.js +102 -0
- package/google/iam/v2/policy_pb.d.ts +481 -0
- package/google/iam/v2/policy_pb.js +102 -0
- package/google/iam/v2beta/deny_pb.d.ts +139 -0
- package/google/iam/v2beta/deny_pb.js +33 -0
- package/google/iam/v2beta/policy_connect.d.ts +102 -0
- package/google/iam/v2beta/policy_connect.js +102 -0
- package/google/iam/v2beta/policy_pb.d.ts +473 -0
- package/google/iam/v2beta/policy_pb.js +102 -0
- package/google/logging/type/http_request_pb.d.ts +164 -0
- package/google/logging/type/http_request_pb.js +33 -0
- package/google/logging/type/log_severity_pb.d.ts +114 -0
- package/google/logging/type/log_severity_pb.js +53 -0
- package/google/logging/v2/log_entry_pb.d.ts +382 -0
- package/google/logging/v2/log_entry_pb.js +61 -0
- package/google/logging/v2/logging_config_connect.d.ts +401 -0
- package/google/logging/v2/logging_config_connect.js +401 -0
- package/google/logging/v2/logging_config_pb.d.ts +2422 -0
- package/google/logging/v2/logging_config_pb.js +360 -0
- package/google/logging/v2/logging_connect.d.ts +113 -0
- package/google/logging/v2/logging_connect.js +113 -0
- package/google/logging/v2/logging_metrics_connect.d.ts +88 -0
- package/google/logging/v2/logging_metrics_connect.js +88 -0
- package/google/logging/v2/logging_metrics_pb.d.ts +467 -0
- package/google/logging/v2/logging_metrics_pb.js +104 -0
- package/google/logging/v2/logging_pb.d.ts +718 -0
- package/google/logging/v2/logging_pb.js +147 -0
- package/google/longrunning/operations_connect.d.ts +127 -0
- package/google/longrunning/operations_connect.js +127 -0
- package/google/longrunning/operations_pb.d.ts +420 -0
- package/google/longrunning/operations_pb.js +117 -0
- package/google/protobuf/any_pb.d.ts +181 -0
- package/google/protobuf/any_pb.js +48 -0
- package/google/protobuf/api_pb.d.ts +301 -0
- package/google/protobuf/api_pb.js +64 -0
- package/google/protobuf/descriptor_pb.d.ts +2589 -0
- package/google/protobuf/descriptor_pb.js +503 -0
- package/google/protobuf/duration_pb.d.ts +133 -0
- package/google/protobuf/duration_pb.js +48 -0
- package/google/protobuf/empty_pb.d.ts +62 -0
- package/google/protobuf/empty_pb.js +48 -0
- package/google/protobuf/field_mask_pb.d.ts +259 -0
- package/google/protobuf/field_mask_pb.js +48 -0
- package/google/protobuf/source_context_pb.d.ts +63 -0
- package/google/protobuf/source_context_pb.js +48 -0
- package/google/protobuf/struct_pb.d.ts +185 -0
- package/google/protobuf/struct_pb.js +79 -0
- package/google/protobuf/timestamp_pb.d.ts +162 -0
- package/google/protobuf/timestamp_pb.js +48 -0
- package/google/protobuf/type_pb.d.ts +531 -0
- package/google/protobuf/type_pb.js +120 -0
- package/google/protobuf/wrappers_pb.d.ts +249 -0
- package/google/protobuf/wrappers_pb.js +114 -0
- package/google/rpc/code_pb.d.ts +264 -0
- package/google/rpc/code_pb.js +45 -0
- package/google/rpc/context/attribute_context_pb.d.ts +618 -0
- package/google/rpc/context/attribute_context_pb.js +78 -0
- package/google/rpc/context/audit_context_pb.d.ts +79 -0
- package/google/rpc/context/audit_context_pb.js +33 -0
- package/google/rpc/error_details_pb.d.ts +534 -0
- package/google/rpc/error_details_pb.js +124 -0
- package/google/rpc/http_pb.d.ts +136 -0
- package/google/rpc/http_pb.js +46 -0
- package/google/rpc/status_pb.d.ts +71 -0
- package/google/rpc/status_pb.js +33 -0
- package/google/type/calendar_period_pb.d.ts +98 -0
- package/google/type/calendar_period_pb.js +41 -0
- package/google/type/color_pb.d.ts +199 -0
- package/google/type/color_pb.js +33 -0
- package/google/type/date_pb.d.ts +75 -0
- package/google/type/date_pb.js +32 -0
- package/google/type/datetime_pb.d.ts +174 -0
- package/google/type/datetime_pb.js +40 -0
- package/google/type/dayofweek_pb.d.ts +92 -0
- package/google/type/dayofweek_pb.js +39 -0
- package/google/type/decimal_pb.d.ts +110 -0
- package/google/type/decimal_pb.js +32 -0
- package/google/type/expr_pb.d.ts +101 -0
- package/google/type/expr_pb.js +32 -0
- package/google/type/fraction_pb.d.ts +53 -0
- package/google/type/fraction_pb.js +32 -0
- package/google/type/interval_pb.d.ts +64 -0
- package/google/type/interval_pb.js +33 -0
- package/google/type/latlng_pb.d.ts +56 -0
- package/google/type/latlng_pb.js +32 -0
- package/google/type/localized_text_pb.d.ts +55 -0
- package/google/type/localized_text_pb.js +32 -0
- package/google/type/money_pb.d.ts +65 -0
- package/google/type/money_pb.js +32 -0
- package/google/type/month_pb.d.ts +127 -0
- package/google/type/month_pb.js +39 -0
- package/google/type/phone_number_pb.d.ts +160 -0
- package/google/type/phone_number_pb.js +39 -0
- package/google/type/postal_address_pb.d.ts +189 -0
- package/google/type/postal_address_pb.js +32 -0
- package/google/type/quaternion_pb.d.ts +121 -0
- package/google/type/quaternion_pb.js +32 -0
- package/google/type/timeofday_pb.d.ts +71 -0
- package/google/type/timeofday_pb.js +32 -0
- package/lf/a2a/v1/a2a_connect.d.ts +148 -0
- package/lf/a2a/v1/a2a_connect.js +148 -0
- package/lf/a2a/v1/a2a_pb.d.ts +2184 -0
- package/lf/a2a/v1/a2a_pb.js +363 -0
- package/package.json +10 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.7.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/agent/v1/agent.proto (package alis.open.agent.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { AgentCard, CancelTaskRequest, CreateTaskPushNotificationConfigRequest, DeleteTaskPushNotificationConfigRequest, GetAgentCardRequest, GetTaskPushNotificationConfigRequest, GetTaskRequest, ListTaskPushNotificationConfigRequest, ListTaskPushNotificationConfigResponse, ListTasksRequest, ListTasksResponse, SendMessageRequest, SendMessageResponse, StreamResponse, Task, TaskPushNotificationConfig, TaskSubscriptionRequest } from "./agent_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { Empty } from "@alis-build/google-common-protos/google/protobuf/empty_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* A2AService defines the gRPC version of the A2A protocol. This has a slightly
|
|
12
|
+
* different shape than the JSONRPC version to better conform to AIP-127,
|
|
13
|
+
* where appropriate. The nouns are AgentCard, Message, Task and
|
|
14
|
+
* TaskPushNotificationConfig.
|
|
15
|
+
* - Messages are not a standard resource so there is no get/delete/update/list
|
|
16
|
+
* interface, only a send and stream custom methods.
|
|
17
|
+
* - Tasks have a get interface and custom cancel and subscribe methods.
|
|
18
|
+
* - TaskPushNotificationConfig are a resource whose parent is a task.
|
|
19
|
+
* They have get, list and create methods.
|
|
20
|
+
* - AgentCard is a static resource with only a get method.
|
|
21
|
+
*
|
|
22
|
+
* @generated from service alis.open.agent.v1.A2AService
|
|
23
|
+
*/
|
|
24
|
+
export declare const A2AService: {
|
|
25
|
+
readonly typeName: "alis.open.agent.v1.A2AService",
|
|
26
|
+
readonly methods: {
|
|
27
|
+
/**
|
|
28
|
+
* Send a message to the agent. This is a blocking call that will return the
|
|
29
|
+
* task once it is completed, or a LRO if requested.
|
|
30
|
+
*
|
|
31
|
+
* @generated from rpc alis.open.agent.v1.A2AService.SendMessage
|
|
32
|
+
*/
|
|
33
|
+
readonly sendMessage: {
|
|
34
|
+
readonly name: "SendMessage",
|
|
35
|
+
readonly I: typeof SendMessageRequest,
|
|
36
|
+
readonly O: typeof SendMessageResponse,
|
|
37
|
+
readonly kind: MethodKind.Unary,
|
|
38
|
+
},
|
|
39
|
+
/**
|
|
40
|
+
* SendStreamingMessage is a streaming call that will return a stream of
|
|
41
|
+
* task update events until the Task is in an interrupted or terminal state.
|
|
42
|
+
*
|
|
43
|
+
* @generated from rpc alis.open.agent.v1.A2AService.SendStreamingMessage
|
|
44
|
+
*/
|
|
45
|
+
readonly sendStreamingMessage: {
|
|
46
|
+
readonly name: "SendStreamingMessage",
|
|
47
|
+
readonly I: typeof SendMessageRequest,
|
|
48
|
+
readonly O: typeof StreamResponse,
|
|
49
|
+
readonly kind: MethodKind.ServerStreaming,
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* Get the current state of a task from the agent.
|
|
53
|
+
*
|
|
54
|
+
* @generated from rpc alis.open.agent.v1.A2AService.GetTask
|
|
55
|
+
*/
|
|
56
|
+
readonly getTask: {
|
|
57
|
+
readonly name: "GetTask",
|
|
58
|
+
readonly I: typeof GetTaskRequest,
|
|
59
|
+
readonly O: typeof Task,
|
|
60
|
+
readonly kind: MethodKind.Unary,
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* List tasks with optional filtering and pagination.
|
|
64
|
+
*
|
|
65
|
+
* @generated from rpc alis.open.agent.v1.A2AService.ListTasks
|
|
66
|
+
*/
|
|
67
|
+
readonly listTasks: {
|
|
68
|
+
readonly name: "ListTasks",
|
|
69
|
+
readonly I: typeof ListTasksRequest,
|
|
70
|
+
readonly O: typeof ListTasksResponse,
|
|
71
|
+
readonly kind: MethodKind.Unary,
|
|
72
|
+
},
|
|
73
|
+
/**
|
|
74
|
+
* Cancel a task from the agent. If supported one should expect no
|
|
75
|
+
* more task updates for the task.
|
|
76
|
+
*
|
|
77
|
+
* @generated from rpc alis.open.agent.v1.A2AService.CancelTask
|
|
78
|
+
*/
|
|
79
|
+
readonly cancelTask: {
|
|
80
|
+
readonly name: "CancelTask",
|
|
81
|
+
readonly I: typeof CancelTaskRequest,
|
|
82
|
+
readonly O: typeof Task,
|
|
83
|
+
readonly kind: MethodKind.Unary,
|
|
84
|
+
},
|
|
85
|
+
/**
|
|
86
|
+
* TaskSubscription is a streaming call that will return a stream of task
|
|
87
|
+
* update events. This attaches the stream to an existing in process task.
|
|
88
|
+
* If the task is complete the stream will return the completed task (like
|
|
89
|
+
* GetTask) and close the stream.
|
|
90
|
+
*
|
|
91
|
+
* @generated from rpc alis.open.agent.v1.A2AService.TaskSubscription
|
|
92
|
+
*/
|
|
93
|
+
readonly taskSubscription: {
|
|
94
|
+
readonly name: "TaskSubscription",
|
|
95
|
+
readonly I: typeof TaskSubscriptionRequest,
|
|
96
|
+
readonly O: typeof StreamResponse,
|
|
97
|
+
readonly kind: MethodKind.ServerStreaming,
|
|
98
|
+
},
|
|
99
|
+
/**
|
|
100
|
+
* Set a push notification config for a task.
|
|
101
|
+
*
|
|
102
|
+
* @generated from rpc alis.open.agent.v1.A2AService.CreateTaskPushNotificationConfig
|
|
103
|
+
*/
|
|
104
|
+
readonly createTaskPushNotificationConfig: {
|
|
105
|
+
readonly name: "CreateTaskPushNotificationConfig",
|
|
106
|
+
readonly I: typeof CreateTaskPushNotificationConfigRequest,
|
|
107
|
+
readonly O: typeof TaskPushNotificationConfig,
|
|
108
|
+
readonly kind: MethodKind.Unary,
|
|
109
|
+
},
|
|
110
|
+
/**
|
|
111
|
+
* Get a push notification config for a task.
|
|
112
|
+
*
|
|
113
|
+
* @generated from rpc alis.open.agent.v1.A2AService.GetTaskPushNotificationConfig
|
|
114
|
+
*/
|
|
115
|
+
readonly getTaskPushNotificationConfig: {
|
|
116
|
+
readonly name: "GetTaskPushNotificationConfig",
|
|
117
|
+
readonly I: typeof GetTaskPushNotificationConfigRequest,
|
|
118
|
+
readonly O: typeof TaskPushNotificationConfig,
|
|
119
|
+
readonly kind: MethodKind.Unary,
|
|
120
|
+
},
|
|
121
|
+
/**
|
|
122
|
+
* Get a list of push notifications configured for a task.
|
|
123
|
+
*
|
|
124
|
+
* @generated from rpc alis.open.agent.v1.A2AService.ListTaskPushNotificationConfig
|
|
125
|
+
*/
|
|
126
|
+
readonly listTaskPushNotificationConfig: {
|
|
127
|
+
readonly name: "ListTaskPushNotificationConfig",
|
|
128
|
+
readonly I: typeof ListTaskPushNotificationConfigRequest,
|
|
129
|
+
readonly O: typeof ListTaskPushNotificationConfigResponse,
|
|
130
|
+
readonly kind: MethodKind.Unary,
|
|
131
|
+
},
|
|
132
|
+
/**
|
|
133
|
+
* GetAgentCard returns the agent card for the agent.
|
|
134
|
+
*
|
|
135
|
+
* @generated from rpc alis.open.agent.v1.A2AService.GetAgentCard
|
|
136
|
+
*/
|
|
137
|
+
readonly getAgentCard: {
|
|
138
|
+
readonly name: "GetAgentCard",
|
|
139
|
+
readonly I: typeof GetAgentCardRequest,
|
|
140
|
+
readonly O: typeof AgentCard,
|
|
141
|
+
readonly kind: MethodKind.Unary,
|
|
142
|
+
},
|
|
143
|
+
/**
|
|
144
|
+
* Delete a push notification config for a task.
|
|
145
|
+
*
|
|
146
|
+
* @generated from rpc alis.open.agent.v1.A2AService.DeleteTaskPushNotificationConfig
|
|
147
|
+
*/
|
|
148
|
+
readonly deleteTaskPushNotificationConfig: {
|
|
149
|
+
readonly name: "DeleteTaskPushNotificationConfig",
|
|
150
|
+
readonly I: typeof DeleteTaskPushNotificationConfigRequest,
|
|
151
|
+
readonly O: typeof Empty,
|
|
152
|
+
readonly kind: MethodKind.Unary,
|
|
153
|
+
},
|
|
154
|
+
}
|
|
155
|
+
};
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.7.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/agent/v1/agent.proto (package alis.open.agent.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { AgentCard, CancelTaskRequest, CreateTaskPushNotificationConfigRequest, DeleteTaskPushNotificationConfigRequest, GetAgentCardRequest, GetTaskPushNotificationConfigRequest, GetTaskRequest, ListTaskPushNotificationConfigRequest, ListTaskPushNotificationConfigResponse, ListTasksRequest, ListTasksResponse, SendMessageRequest, SendMessageResponse, StreamResponse, Task, TaskPushNotificationConfig, TaskSubscriptionRequest } from "./agent_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { Empty } from "@alis-build/google-common-protos/google/protobuf/empty_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* A2AService defines the gRPC version of the A2A protocol. This has a slightly
|
|
12
|
+
* different shape than the JSONRPC version to better conform to AIP-127,
|
|
13
|
+
* where appropriate. The nouns are AgentCard, Message, Task and
|
|
14
|
+
* TaskPushNotificationConfig.
|
|
15
|
+
* - Messages are not a standard resource so there is no get/delete/update/list
|
|
16
|
+
* interface, only a send and stream custom methods.
|
|
17
|
+
* - Tasks have a get interface and custom cancel and subscribe methods.
|
|
18
|
+
* - TaskPushNotificationConfig are a resource whose parent is a task.
|
|
19
|
+
* They have get, list and create methods.
|
|
20
|
+
* - AgentCard is a static resource with only a get method.
|
|
21
|
+
*
|
|
22
|
+
* @generated from service alis.open.agent.v1.A2AService
|
|
23
|
+
*/
|
|
24
|
+
export const A2AService = {
|
|
25
|
+
typeName: "alis.open.agent.v1.A2AService",
|
|
26
|
+
methods: {
|
|
27
|
+
/**
|
|
28
|
+
* Send a message to the agent. This is a blocking call that will return the
|
|
29
|
+
* task once it is completed, or a LRO if requested.
|
|
30
|
+
*
|
|
31
|
+
* @generated from rpc alis.open.agent.v1.A2AService.SendMessage
|
|
32
|
+
*/
|
|
33
|
+
sendMessage: {
|
|
34
|
+
name: "SendMessage",
|
|
35
|
+
I: SendMessageRequest,
|
|
36
|
+
O: SendMessageResponse,
|
|
37
|
+
kind: MethodKind.Unary,
|
|
38
|
+
},
|
|
39
|
+
/**
|
|
40
|
+
* SendStreamingMessage is a streaming call that will return a stream of
|
|
41
|
+
* task update events until the Task is in an interrupted or terminal state.
|
|
42
|
+
*
|
|
43
|
+
* @generated from rpc alis.open.agent.v1.A2AService.SendStreamingMessage
|
|
44
|
+
*/
|
|
45
|
+
sendStreamingMessage: {
|
|
46
|
+
name: "SendStreamingMessage",
|
|
47
|
+
I: SendMessageRequest,
|
|
48
|
+
O: StreamResponse,
|
|
49
|
+
kind: MethodKind.ServerStreaming,
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* Get the current state of a task from the agent.
|
|
53
|
+
*
|
|
54
|
+
* @generated from rpc alis.open.agent.v1.A2AService.GetTask
|
|
55
|
+
*/
|
|
56
|
+
getTask: {
|
|
57
|
+
name: "GetTask",
|
|
58
|
+
I: GetTaskRequest,
|
|
59
|
+
O: Task,
|
|
60
|
+
kind: MethodKind.Unary,
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* List tasks with optional filtering and pagination.
|
|
64
|
+
*
|
|
65
|
+
* @generated from rpc alis.open.agent.v1.A2AService.ListTasks
|
|
66
|
+
*/
|
|
67
|
+
listTasks: {
|
|
68
|
+
name: "ListTasks",
|
|
69
|
+
I: ListTasksRequest,
|
|
70
|
+
O: ListTasksResponse,
|
|
71
|
+
kind: MethodKind.Unary,
|
|
72
|
+
},
|
|
73
|
+
/**
|
|
74
|
+
* Cancel a task from the agent. If supported one should expect no
|
|
75
|
+
* more task updates for the task.
|
|
76
|
+
*
|
|
77
|
+
* @generated from rpc alis.open.agent.v1.A2AService.CancelTask
|
|
78
|
+
*/
|
|
79
|
+
cancelTask: {
|
|
80
|
+
name: "CancelTask",
|
|
81
|
+
I: CancelTaskRequest,
|
|
82
|
+
O: Task,
|
|
83
|
+
kind: MethodKind.Unary,
|
|
84
|
+
},
|
|
85
|
+
/**
|
|
86
|
+
* TaskSubscription is a streaming call that will return a stream of task
|
|
87
|
+
* update events. This attaches the stream to an existing in process task.
|
|
88
|
+
* If the task is complete the stream will return the completed task (like
|
|
89
|
+
* GetTask) and close the stream.
|
|
90
|
+
*
|
|
91
|
+
* @generated from rpc alis.open.agent.v1.A2AService.TaskSubscription
|
|
92
|
+
*/
|
|
93
|
+
taskSubscription: {
|
|
94
|
+
name: "TaskSubscription",
|
|
95
|
+
I: TaskSubscriptionRequest,
|
|
96
|
+
O: StreamResponse,
|
|
97
|
+
kind: MethodKind.ServerStreaming,
|
|
98
|
+
},
|
|
99
|
+
/**
|
|
100
|
+
* Set a push notification config for a task.
|
|
101
|
+
*
|
|
102
|
+
* @generated from rpc alis.open.agent.v1.A2AService.CreateTaskPushNotificationConfig
|
|
103
|
+
*/
|
|
104
|
+
createTaskPushNotificationConfig: {
|
|
105
|
+
name: "CreateTaskPushNotificationConfig",
|
|
106
|
+
I: CreateTaskPushNotificationConfigRequest,
|
|
107
|
+
O: TaskPushNotificationConfig,
|
|
108
|
+
kind: MethodKind.Unary,
|
|
109
|
+
},
|
|
110
|
+
/**
|
|
111
|
+
* Get a push notification config for a task.
|
|
112
|
+
*
|
|
113
|
+
* @generated from rpc alis.open.agent.v1.A2AService.GetTaskPushNotificationConfig
|
|
114
|
+
*/
|
|
115
|
+
getTaskPushNotificationConfig: {
|
|
116
|
+
name: "GetTaskPushNotificationConfig",
|
|
117
|
+
I: GetTaskPushNotificationConfigRequest,
|
|
118
|
+
O: TaskPushNotificationConfig,
|
|
119
|
+
kind: MethodKind.Unary,
|
|
120
|
+
},
|
|
121
|
+
/**
|
|
122
|
+
* Get a list of push notifications configured for a task.
|
|
123
|
+
*
|
|
124
|
+
* @generated from rpc alis.open.agent.v1.A2AService.ListTaskPushNotificationConfig
|
|
125
|
+
*/
|
|
126
|
+
listTaskPushNotificationConfig: {
|
|
127
|
+
name: "ListTaskPushNotificationConfig",
|
|
128
|
+
I: ListTaskPushNotificationConfigRequest,
|
|
129
|
+
O: ListTaskPushNotificationConfigResponse,
|
|
130
|
+
kind: MethodKind.Unary,
|
|
131
|
+
},
|
|
132
|
+
/**
|
|
133
|
+
* GetAgentCard returns the agent card for the agent.
|
|
134
|
+
*
|
|
135
|
+
* @generated from rpc alis.open.agent.v1.A2AService.GetAgentCard
|
|
136
|
+
*/
|
|
137
|
+
getAgentCard: {
|
|
138
|
+
name: "GetAgentCard",
|
|
139
|
+
I: GetAgentCardRequest,
|
|
140
|
+
O: AgentCard,
|
|
141
|
+
kind: MethodKind.Unary,
|
|
142
|
+
},
|
|
143
|
+
/**
|
|
144
|
+
* Delete a push notification config for a task.
|
|
145
|
+
*
|
|
146
|
+
* @generated from rpc alis.open.agent.v1.A2AService.DeleteTaskPushNotificationConfig
|
|
147
|
+
*/
|
|
148
|
+
deleteTaskPushNotificationConfig: {
|
|
149
|
+
name: "DeleteTaskPushNotificationConfig",
|
|
150
|
+
I: DeleteTaskPushNotificationConfigRequest,
|
|
151
|
+
O: Empty,
|
|
152
|
+
kind: MethodKind.Unary,
|
|
153
|
+
},
|
|
154
|
+
}
|
|
155
|
+
};
|