@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,196 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/notifications/v1/notifications.proto (package alis.open.notifications.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { RetrieveRulesRequestSchema, RetrieveRulesResponseSchema, ValidateMessageRequestSchema, ValidateMessageResponseSchema } from "../../validation/v1/validation_pb";
|
|
8
|
+
import type { TestIamPermissionsRequestSchema, TestIamPermissionsResponseSchema } from "@alis-build/google-common-protos/google/iam/v1/iam_policy_pb";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file alis/open/notifications/v1/notifications.proto.
|
|
12
|
+
*/
|
|
13
|
+
export declare const file_alis_open_notifications_v1_notifications: GenFile;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Request message for the SendFcmMessage method.
|
|
17
|
+
*
|
|
18
|
+
* @generated from message alis.open.notifications.v1.SendFcmMessageRequest
|
|
19
|
+
*/
|
|
20
|
+
export declare type SendFcmMessageRequest = Message<"alis.open.notifications.v1.SendFcmMessageRequest"> & {
|
|
21
|
+
/**
|
|
22
|
+
* The target of the message.
|
|
23
|
+
*
|
|
24
|
+
* @generated from oneof alis.open.notifications.v1.SendFcmMessageRequest.target
|
|
25
|
+
*/
|
|
26
|
+
target: {
|
|
27
|
+
/**
|
|
28
|
+
* Format: users/{userId}
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: string user = 1;
|
|
31
|
+
*/
|
|
32
|
+
value: string;
|
|
33
|
+
case: "user";
|
|
34
|
+
} | { case: undefined; value?: undefined };
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The title of the message.
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: string title = 3;
|
|
40
|
+
*/
|
|
41
|
+
title: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* The body of the message.
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: string body = 4;
|
|
47
|
+
*/
|
|
48
|
+
body: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* An optional image to include in the message.
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string image = 5;
|
|
54
|
+
*/
|
|
55
|
+
image: string;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* An optional data payload to include in the message.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: map<string, string> data = 6;
|
|
61
|
+
*/
|
|
62
|
+
data: { [key: string]: string };
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* An optional URL to send along with the message.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: string uri = 7;
|
|
68
|
+
*/
|
|
69
|
+
uri: string;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message alis.open.notifications.v1.SendFcmMessageRequest.
|
|
74
|
+
* Use `create(SendFcmMessageRequestSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export declare const SendFcmMessageRequestSchema: GenMessage<SendFcmMessageRequest>;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Response message for the SendFcmMessage method.
|
|
80
|
+
*
|
|
81
|
+
* @generated from message alis.open.notifications.v1.SendFcmMessageResponse
|
|
82
|
+
*/
|
|
83
|
+
export declare type SendFcmMessageResponse = Message<"alis.open.notifications.v1.SendFcmMessageResponse"> & {
|
|
84
|
+
/**
|
|
85
|
+
* Message IDs of the messages sent.
|
|
86
|
+
*
|
|
87
|
+
* @generated from field: repeated string message_ids = 1;
|
|
88
|
+
*/
|
|
89
|
+
messageIds: string[];
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message alis.open.notifications.v1.SendFcmMessageResponse.
|
|
94
|
+
* Use `create(SendFcmMessageResponseSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export declare const SendFcmMessageResponseSchema: GenMessage<SendFcmMessageResponse>;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Request message for the BatchSendFcmMessages method.
|
|
100
|
+
*
|
|
101
|
+
* @generated from message alis.open.notifications.v1.BatchSendFcmMessagesRequest
|
|
102
|
+
*/
|
|
103
|
+
export declare type BatchSendFcmMessagesRequest = Message<"alis.open.notifications.v1.BatchSendFcmMessagesRequest"> & {
|
|
104
|
+
/**
|
|
105
|
+
* The messages to send.
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: repeated alis.open.notifications.v1.SendFcmMessageRequest requests = 1;
|
|
108
|
+
*/
|
|
109
|
+
requests: SendFcmMessageRequest[];
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Describes the message alis.open.notifications.v1.BatchSendFcmMessagesRequest.
|
|
114
|
+
* Use `create(BatchSendFcmMessagesRequestSchema)` to create a new message.
|
|
115
|
+
*/
|
|
116
|
+
export declare const BatchSendFcmMessagesRequestSchema: GenMessage<BatchSendFcmMessagesRequest>;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Response message for the BatchSendFcmMessages method.
|
|
120
|
+
*
|
|
121
|
+
* @generated from message alis.open.notifications.v1.BatchSendFcmMessagesResponse
|
|
122
|
+
*/
|
|
123
|
+
export declare type BatchSendFcmMessagesResponse = Message<"alis.open.notifications.v1.BatchSendFcmMessagesResponse"> & {
|
|
124
|
+
/**
|
|
125
|
+
* Message IDs of the messages sent.
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: repeated string message_ids = 1;
|
|
128
|
+
*/
|
|
129
|
+
messageIds: string[];
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Describes the message alis.open.notifications.v1.BatchSendFcmMessagesResponse.
|
|
134
|
+
* Use `create(BatchSendFcmMessagesResponseSchema)` to create a new message.
|
|
135
|
+
*/
|
|
136
|
+
export declare const BatchSendFcmMessagesResponseSchema: GenMessage<BatchSendFcmMessagesResponse>;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* NotificationsService provides RPCs for sending notifications to users or topics.
|
|
140
|
+
*
|
|
141
|
+
* @generated from service alis.open.notifications.v1.NotificationsService
|
|
142
|
+
*/
|
|
143
|
+
export declare const NotificationsService: GenService<{
|
|
144
|
+
/**
|
|
145
|
+
* Validates any proto message that is used directly or indirectly by this service.
|
|
146
|
+
* Most common use issue is to validate request messages from a client-side application.
|
|
147
|
+
*
|
|
148
|
+
* @generated from rpc alis.open.notifications.v1.NotificationsService.ValidateMessage
|
|
149
|
+
*/
|
|
150
|
+
validateMessage: {
|
|
151
|
+
methodKind: "unary";
|
|
152
|
+
input: typeof ValidateMessageRequestSchema;
|
|
153
|
+
output: typeof ValidateMessageResponseSchema;
|
|
154
|
+
},
|
|
155
|
+
/**
|
|
156
|
+
* Retrieves the validation rules for any proto message that is used directly or indirectly by this service.
|
|
157
|
+
* Serves as live auto-documentation of the validation rules in this service.
|
|
158
|
+
*
|
|
159
|
+
* @generated from rpc alis.open.notifications.v1.NotificationsService.RetrieveRules
|
|
160
|
+
*/
|
|
161
|
+
retrieveRules: {
|
|
162
|
+
methodKind: "unary";
|
|
163
|
+
input: typeof RetrieveRulesRequestSchema;
|
|
164
|
+
output: typeof RetrieveRulesResponseSchema;
|
|
165
|
+
},
|
|
166
|
+
/**
|
|
167
|
+
* Returns permissions that a caller has on the specified resource.
|
|
168
|
+
*
|
|
169
|
+
* @generated from rpc alis.open.notifications.v1.NotificationsService.TestIamPermissions
|
|
170
|
+
*/
|
|
171
|
+
testIamPermissions: {
|
|
172
|
+
methodKind: "unary";
|
|
173
|
+
input: typeof TestIamPermissionsRequestSchema;
|
|
174
|
+
output: typeof TestIamPermissionsResponseSchema;
|
|
175
|
+
},
|
|
176
|
+
/**
|
|
177
|
+
* Sends a Firebase Cloud Messaging(FCM) message to a user or topic.
|
|
178
|
+
*
|
|
179
|
+
* @generated from rpc alis.open.notifications.v1.NotificationsService.SendFcmMessage
|
|
180
|
+
*/
|
|
181
|
+
sendFcmMessage: {
|
|
182
|
+
methodKind: "unary";
|
|
183
|
+
input: typeof SendFcmMessageRequestSchema;
|
|
184
|
+
output: typeof SendFcmMessageResponseSchema;
|
|
185
|
+
},
|
|
186
|
+
/**
|
|
187
|
+
* Sends a batch of Firebase Cloud Messaging(FCM) messages to users or topics.
|
|
188
|
+
*
|
|
189
|
+
* @generated from rpc alis.open.notifications.v1.NotificationsService.BatchSendFcmMessages
|
|
190
|
+
*/
|
|
191
|
+
batchSendFcmMessages: {
|
|
192
|
+
methodKind: "unary";
|
|
193
|
+
input: typeof BatchSendFcmMessagesRequestSchema;
|
|
194
|
+
output: typeof BatchSendFcmMessagesResponseSchema;
|
|
195
|
+
},
|
|
196
|
+
}>;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/notifications/v1/notifications.proto (package alis.open.notifications.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_alis_open_validation_v1_validation } from "../../validation/v1/validation_pb";
|
|
7
|
+
import { file_google_iam_v1_iam_policy } from "@alis-build/google-common-protos/google/iam/v1/iam_policy_pb";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file alis/open/notifications/v1/notifications.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_alis_open_notifications_v1_notifications = /*@__PURE__*/
|
|
13
|
+
fileDesc("Ci5hbGlzL29wZW4vbm90aWZpY2F0aW9ucy92MS9ub3RpZmljYXRpb25zLnByb3RvEhphbGlzLm9wZW4ubm90aWZpY2F0aW9ucy52MSLiAQoVU2VuZEZjbU1lc3NhZ2VSZXF1ZXN0Eg4KBHVzZXIYASABKAlIABINCgV0aXRsZRgDIAEoCRIMCgRib2R5GAQgASgJEg0KBWltYWdlGAUgASgJEkkKBGRhdGEYBiADKAsyOy5hbGlzLm9wZW4ubm90aWZpY2F0aW9ucy52MS5TZW5kRmNtTWVzc2FnZVJlcXVlc3QuRGF0YUVudHJ5EgsKA3VyaRgHIAEoCRorCglEYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUIICgZ0YXJnZXQiLQoWU2VuZEZjbU1lc3NhZ2VSZXNwb25zZRITCgttZXNzYWdlX2lkcxgBIAMoCSJiChtCYXRjaFNlbmRGY21NZXNzYWdlc1JlcXVlc3QSQwoIcmVxdWVzdHMYASADKAsyMS5hbGlzLm9wZW4ubm90aWZpY2F0aW9ucy52MS5TZW5kRmNtTWVzc2FnZVJlcXVlc3QiMwocQmF0Y2hTZW5kRmNtTWVzc2FnZXNSZXNwb25zZRITCgttZXNzYWdlX2lkcxgBIAMoCTL2BAoUTm90aWZpY2F0aW9uc1NlcnZpY2USdgoPVmFsaWRhdGVNZXNzYWdlEi8uYWxpcy5vcGVuLnZhbGlkYXRpb24udjEuVmFsaWRhdGVNZXNzYWdlUmVxdWVzdBowLmFsaXMub3Blbi52YWxpZGF0aW9uLnYxLlZhbGlkYXRlTWVzc2FnZVJlc3BvbnNlIgAScAoNUmV0cmlldmVSdWxlcxItLmFsaXMub3Blbi52YWxpZGF0aW9uLnYxLlJldHJpZXZlUnVsZXNSZXF1ZXN0Gi4uYWxpcy5vcGVuLnZhbGlkYXRpb24udjEuUmV0cmlldmVSdWxlc1Jlc3BvbnNlIgASawoSVGVzdElhbVBlcm1pc3Npb25zEiguZ29vZ2xlLmlhbS52MS5UZXN0SWFtUGVybWlzc2lvbnNSZXF1ZXN0GikuZ29vZ2xlLmlhbS52MS5UZXN0SWFtUGVybWlzc2lvbnNSZXNwb25zZSIAEnkKDlNlbmRGY21NZXNzYWdlEjEuYWxpcy5vcGVuLm5vdGlmaWNhdGlvbnMudjEuU2VuZEZjbU1lc3NhZ2VSZXF1ZXN0GjIuYWxpcy5vcGVuLm5vdGlmaWNhdGlvbnMudjEuU2VuZEZjbU1lc3NhZ2VSZXNwb25zZSIAEosBChRCYXRjaFNlbmRGY21NZXNzYWdlcxI3LmFsaXMub3Blbi5ub3RpZmljYXRpb25zLnYxLkJhdGNoU2VuZEZjbU1lc3NhZ2VzUmVxdWVzdBo4LmFsaXMub3Blbi5ub3RpZmljYXRpb25zLnYxLkJhdGNoU2VuZEZjbU1lc3NhZ2VzUmVzcG9uc2UiAEI4WjZvcGVuLmFsaXMuc2VydmljZXMvcHJvdG9idWYvYWxpcy9vcGVuL25vdGlmaWNhdGlvbnMvdjFiBnByb3RvMw", [file_alis_open_validation_v1_validation, file_google_iam_v1_iam_policy]);
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message alis.open.notifications.v1.SendFcmMessageRequest.
|
|
17
|
+
* Use `create(SendFcmMessageRequestSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const SendFcmMessageRequestSchema = /*@__PURE__*/
|
|
20
|
+
messageDesc(file_alis_open_notifications_v1_notifications, 0);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message alis.open.notifications.v1.SendFcmMessageResponse.
|
|
24
|
+
* Use `create(SendFcmMessageResponseSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const SendFcmMessageResponseSchema = /*@__PURE__*/
|
|
27
|
+
messageDesc(file_alis_open_notifications_v1_notifications, 1);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message alis.open.notifications.v1.BatchSendFcmMessagesRequest.
|
|
31
|
+
* Use `create(BatchSendFcmMessagesRequestSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const BatchSendFcmMessagesRequestSchema = /*@__PURE__*/
|
|
34
|
+
messageDesc(file_alis_open_notifications_v1_notifications, 2);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message alis.open.notifications.v1.BatchSendFcmMessagesResponse.
|
|
38
|
+
* Use `create(BatchSendFcmMessagesResponseSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const BatchSendFcmMessagesResponseSchema = /*@__PURE__*/
|
|
41
|
+
messageDesc(file_alis_open_notifications_v1_notifications, 3);
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* NotificationsService provides RPCs for sending notifications to users or topics.
|
|
45
|
+
*
|
|
46
|
+
* @generated from service alis.open.notifications.v1.NotificationsService
|
|
47
|
+
*/
|
|
48
|
+
export const NotificationsService = /*@__PURE__*/
|
|
49
|
+
serviceDesc(file_alis_open_notifications_v1_notifications, 0);
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/operations/v1/operations.proto (package alis.open.operations.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { Any } from "@alis-build/google-common-protos/google/protobuf/any_pb";
|
|
8
|
+
import type { Status } from "@alis-build/google-common-protos/google/rpc/status_pb";
|
|
9
|
+
import type { Timestamp } from "@alis-build/google-common-protos/google/protobuf/timestamp_pb";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file alis/open/operations/v1/operations.proto.
|
|
13
|
+
*/
|
|
14
|
+
export declare const file_alis_open_operations_v1_operations: GenFile;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* This resource represents a long-running operation that is the result of a
|
|
18
|
+
* network API call.
|
|
19
|
+
*
|
|
20
|
+
* @generated from message alis.open.operations.v1.Operation
|
|
21
|
+
*/
|
|
22
|
+
export declare type Operation = Message<"alis.open.operations.v1.Operation"> & {
|
|
23
|
+
/**
|
|
24
|
+
* The server-assigned name, which is only unique within the same service that
|
|
25
|
+
* originally returns it. If you use the default HTTP mapping, the
|
|
26
|
+
* `name` should be a resource name ending with `operations/{unique_id}`.
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: string name = 1;
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Service-specific metadata associated with the operation. It typically
|
|
34
|
+
* contains progress information and common metadata such as create time.
|
|
35
|
+
* Some services might not provide such metadata. Any method that returns a
|
|
36
|
+
* long-running operation should document the metadata type, if any.
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: google.protobuf.Any metadata = 2;
|
|
39
|
+
*/
|
|
40
|
+
metadata?: Any;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* If the value is `false`, it means the operation is still in progress.
|
|
44
|
+
* If `true`, the operation is completed, and either `error` or `response` is
|
|
45
|
+
* available.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: bool done = 3;
|
|
48
|
+
*/
|
|
49
|
+
done: boolean;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* The operation result, which can be either an `error` or a valid `response`.
|
|
53
|
+
* If `done` == `false`, neither `error` nor `response` is set.
|
|
54
|
+
* If `done` == `true`, exactly one of `error` or `response` is set.
|
|
55
|
+
*
|
|
56
|
+
* @generated from oneof alis.open.operations.v1.Operation.result
|
|
57
|
+
*/
|
|
58
|
+
result: {
|
|
59
|
+
/**
|
|
60
|
+
* The error result of the operation in case of failure or cancellation.
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: google.rpc.Status error = 4;
|
|
63
|
+
*/
|
|
64
|
+
value: Status;
|
|
65
|
+
case: "error";
|
|
66
|
+
} | {
|
|
67
|
+
/**
|
|
68
|
+
* The normal response of the operation in case of success. If the original
|
|
69
|
+
* method returns no data on success, such as `Delete`, the response is
|
|
70
|
+
* `google.protobuf.Empty`. If the original method is standard
|
|
71
|
+
* `Get`/`Create`/`Update`, the response should be the resource. For other
|
|
72
|
+
* methods, the response should have the type `XxxResponse`, where `Xxx`
|
|
73
|
+
* is the original method name. For example, if the original method name
|
|
74
|
+
* is `TakeSnapshot()`, the inferred response type is
|
|
75
|
+
* `TakeSnapshotResponse`.
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: google.protobuf.Any response = 5;
|
|
78
|
+
*/
|
|
79
|
+
value: Any;
|
|
80
|
+
case: "response";
|
|
81
|
+
} | { case: undefined; value?: undefined };
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* The method in which the operation was initiated.
|
|
85
|
+
* e.g. /alis.open.iam.v1.UsersService/SyncUser
|
|
86
|
+
* Useful for searching for operations related to a specific method.
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: string method = 6;
|
|
89
|
+
*/
|
|
90
|
+
method: string;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* The checkpoint of the operation.
|
|
94
|
+
* Useful for pausing and resuming the operation.
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: string checkpoint = 9;
|
|
97
|
+
*/
|
|
98
|
+
checkpoint: string;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* The internal state of the operation.
|
|
102
|
+
* Not returned to a client that requests the operation.
|
|
103
|
+
* Not limited to protocol buffer messages, e.g. could also use normal go structs via the encoding/gob package.
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: bytes internal_state = 10;
|
|
106
|
+
*/
|
|
107
|
+
internalState: Uint8Array;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* The runner of the operation
|
|
111
|
+
*
|
|
112
|
+
* @generated from oneof alis.open.operations.v1.Operation.runner
|
|
113
|
+
*/
|
|
114
|
+
runner: {
|
|
115
|
+
/**
|
|
116
|
+
* The Google Cloud Task running the operation.
|
|
117
|
+
* Useful for tracking/canceling the operation.
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: alis.open.operations.v1.Operation.CloudTask cloud_task = 11;
|
|
120
|
+
*/
|
|
121
|
+
value: Operation_CloudTask;
|
|
122
|
+
case: "cloudTask";
|
|
123
|
+
} | { case: undefined; value?: undefined };
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* The time the operation was created.
|
|
127
|
+
*
|
|
128
|
+
* @generated from field: google.protobuf.Timestamp create_time = 98;
|
|
129
|
+
*/
|
|
130
|
+
createTime?: Timestamp;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* The time the operation was last updated.
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: google.protobuf.Timestamp update_time = 99;
|
|
136
|
+
*/
|
|
137
|
+
updateTime?: Timestamp;
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Describes the message alis.open.operations.v1.Operation.
|
|
142
|
+
* Use `create(OperationSchema)` to create a new message.
|
|
143
|
+
*/
|
|
144
|
+
export declare const OperationSchema: GenMessage<Operation>;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* A Google Cloud Task used to run an operation
|
|
148
|
+
*
|
|
149
|
+
* @generated from message alis.open.operations.v1.Operation.CloudTask
|
|
150
|
+
*/
|
|
151
|
+
export declare type Operation_CloudTask = Message<"alis.open.operations.v1.Operation.CloudTask"> & {
|
|
152
|
+
/**
|
|
153
|
+
* The full name of the task
|
|
154
|
+
* Format: projects/{project}/locations/{location}/queues/{queue}/tasks/{task}
|
|
155
|
+
*
|
|
156
|
+
* @generated from field: string name = 1;
|
|
157
|
+
*/
|
|
158
|
+
name: string;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* The time the task is scheduled to run
|
|
162
|
+
*
|
|
163
|
+
* @generated from field: google.protobuf.Timestamp schedule_time = 2;
|
|
164
|
+
*/
|
|
165
|
+
scheduleTime?: Timestamp;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* The time the task was created
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: google.protobuf.Timestamp create_time = 3;
|
|
171
|
+
*/
|
|
172
|
+
createTime?: Timestamp;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Whether the task is currently running
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: bool running = 4;
|
|
178
|
+
*/
|
|
179
|
+
running: boolean;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* The target host setup for the task to make requests to.
|
|
183
|
+
* Normally https://internal-gateway-{projectNr}.{region}.run.app
|
|
184
|
+
*
|
|
185
|
+
* @generated from field: string target_host = 5;
|
|
186
|
+
*/
|
|
187
|
+
targetHost: string;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Describes the message alis.open.operations.v1.Operation.CloudTask.
|
|
192
|
+
* Use `create(Operation_CloudTaskSchema)` to create a new message.
|
|
193
|
+
*/
|
|
194
|
+
export declare const Operation_CloudTaskSchema: GenMessage<Operation_CloudTask>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/operations/v1/operations.proto (package alis.open.operations.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_google_protobuf_any } from "@alis-build/google-common-protos/google/protobuf/any_pb";
|
|
7
|
+
import { file_google_protobuf_timestamp } from "@alis-build/google-common-protos/google/protobuf/timestamp_pb";
|
|
8
|
+
import { file_google_rpc_status } from "@alis-build/google-common-protos/google/rpc/status_pb";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file alis/open/operations/v1/operations.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_alis_open_operations_v1_operations = /*@__PURE__*/
|
|
14
|
+
fileDesc("CihhbGlzL29wZW4vb3BlcmF0aW9ucy92MS9vcGVyYXRpb25zLnByb3RvEhdhbGlzLm9wZW4ub3BlcmF0aW9ucy52MSLGBAoJT3BlcmF0aW9uEgwKBG5hbWUYASABKAkSJgoIbWV0YWRhdGEYAiABKAsyFC5nb29nbGUucHJvdG9idWYuQW55EgwKBGRvbmUYAyABKAgSIwoFZXJyb3IYBCABKAsyEi5nb29nbGUucnBjLlN0YXR1c0gAEigKCHJlc3BvbnNlGAUgASgLMhQuZ29vZ2xlLnByb3RvYnVmLkFueUgAEg4KBm1ldGhvZBgGIAEoCRISCgpjaGVja3BvaW50GAkgASgJEhYKDmludGVybmFsX3N0YXRlGAogASgMEkIKCmNsb3VkX3Rhc2sYCyABKAsyLC5hbGlzLm9wZW4ub3BlcmF0aW9ucy52MS5PcGVyYXRpb24uQ2xvdWRUYXNrSAESLwoLY3JlYXRlX3RpbWUYYiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi8KC3VwZGF0ZV90aW1lGGMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBqjAQoJQ2xvdWRUYXNrEgwKBG5hbWUYASABKAkSMQoNc2NoZWR1bGVfdGltZRgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLwoLY3JlYXRlX3RpbWUYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEg8KB3J1bm5pbmcYBCABKAgSEwoLdGFyZ2V0X2hvc3QYBSABKAlCCAoGcmVzdWx0QggKBnJ1bm5lckoECAcQCEoECAgQCUI1WjNvcGVuLmFsaXMuc2VydmljZXMvcHJvdG9idWYvYWxpcy9vcGVuL29wZXJhdGlvbnMvdjFiBnByb3RvMw", [file_google_protobuf_any, file_google_protobuf_timestamp, file_google_rpc_status]);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message alis.open.operations.v1.Operation.
|
|
18
|
+
* Use `create(OperationSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const OperationSchema = /*@__PURE__*/
|
|
21
|
+
messageDesc(file_alis_open_operations_v1_operations, 0);
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message alis.open.operations.v1.Operation.CloudTask.
|
|
25
|
+
* Use `create(Operation_CloudTaskSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const Operation_CloudTaskSchema = /*@__PURE__*/
|
|
28
|
+
messageDesc(file_alis_open_operations_v1_operations, 0, 0);
|