@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,362 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/notifications/v1/devices.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 { Timestamp } from "@alis-build/google-common-protos/google/protobuf/timestamp_pb";
|
|
8
|
+
import type { FieldMask } from "@alis-build/google-common-protos/google/protobuf/field_mask_pb";
|
|
9
|
+
import type { RetrieveRulesRequestSchema, RetrieveRulesResponseSchema, ValidateMessageRequestSchema, ValidateMessageResponseSchema } from "../../validation/v1/validation_pb";
|
|
10
|
+
import type { GetIamPolicyRequestSchema, SetIamPolicyRequestSchema, TestIamPermissionsRequestSchema, TestIamPermissionsResponseSchema } from "@alis-build/google-common-protos/google/iam/v1/iam_policy_pb";
|
|
11
|
+
import type { PolicySchema } from "@alis-build/google-common-protos/google/iam/v1/policy_pb";
|
|
12
|
+
import type { AddIamBindingsRequestSchema, RemoveIamBindingsRequestSchema } from "../../iam/v1/iam_pb";
|
|
13
|
+
import type { EmptySchema } from "@alis-build/google-common-protos/google/protobuf/empty_pb";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the file alis/open/notifications/v1/devices.proto.
|
|
17
|
+
*/
|
|
18
|
+
export declare const file_alis_open_notifications_v1_devices: GenFile;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* A user's device that can receive notifications.
|
|
22
|
+
*
|
|
23
|
+
* @generated from message alis.open.notifications.v1.Device
|
|
24
|
+
*/
|
|
25
|
+
export declare type Device = Message<"alis.open.notifications.v1.Device"> & {
|
|
26
|
+
/**
|
|
27
|
+
* Format: users/([a-z0-9-]{2,50})/devices/([a-zA-Z0-9-_]{2,50})
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: string name = 1;
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Device token
|
|
35
|
+
*
|
|
36
|
+
* @generated from field: string token = 2;
|
|
37
|
+
*/
|
|
38
|
+
token: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* ETag
|
|
42
|
+
*
|
|
43
|
+
* @generated from field: string etag = 97;
|
|
44
|
+
*/
|
|
45
|
+
etag: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Device creation time
|
|
49
|
+
*
|
|
50
|
+
* @generated from field: google.protobuf.Timestamp create_time = 98;
|
|
51
|
+
*/
|
|
52
|
+
createTime?: Timestamp;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Device update time
|
|
56
|
+
*
|
|
57
|
+
* @generated from field: google.protobuf.Timestamp update_time = 99;
|
|
58
|
+
*/
|
|
59
|
+
updateTime?: Timestamp;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message alis.open.notifications.v1.Device.
|
|
64
|
+
* Use `create(DeviceSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export declare const DeviceSchema: GenMessage<Device>;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Request message for the GetDevice method.
|
|
70
|
+
*
|
|
71
|
+
* @generated from message alis.open.notifications.v1.GetDeviceRequest
|
|
72
|
+
*/
|
|
73
|
+
export declare type GetDeviceRequest = Message<"alis.open.notifications.v1.GetDeviceRequest"> & {
|
|
74
|
+
/**
|
|
75
|
+
* Format: users/([a-z0-9-]{2,50})/devices/([a-zA-Z0-9-_]{2,50})
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: string name = 1;
|
|
78
|
+
*/
|
|
79
|
+
name: string;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message alis.open.notifications.v1.GetDeviceRequest.
|
|
84
|
+
* Use `create(GetDeviceRequestSchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export declare const GetDeviceRequestSchema: GenMessage<GetDeviceRequest>;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Request message for the ListDevices method.
|
|
90
|
+
*
|
|
91
|
+
* @generated from message alis.open.notifications.v1.ListDevicesRequest
|
|
92
|
+
*/
|
|
93
|
+
export declare type ListDevicesRequest = Message<"alis.open.notifications.v1.ListDevicesRequest"> & {
|
|
94
|
+
/**
|
|
95
|
+
* Parent user resource.
|
|
96
|
+
* Format: users/([a-z0-9-]{2,50})
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: string parent = 1;
|
|
99
|
+
*/
|
|
100
|
+
parent: string;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* The maximum number of devices to return.
|
|
104
|
+
* The service may return fewer than this value.
|
|
105
|
+
* If not specified, returns up to 100 devices.
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: int32 page_size = 2;
|
|
108
|
+
*/
|
|
109
|
+
pageSize: number;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* A page token, received from a previous ListDevices call.
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: string page_token = 3;
|
|
115
|
+
*/
|
|
116
|
+
pageToken: string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* The fields to return in snake_case.
|
|
120
|
+
*
|
|
121
|
+
* @generated from field: google.protobuf.FieldMask read_mask = 4;
|
|
122
|
+
*/
|
|
123
|
+
readMask?: FieldMask;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* An optional filter to apply to the list of devices.
|
|
127
|
+
*
|
|
128
|
+
* @generated from field: string filter = 5;
|
|
129
|
+
*/
|
|
130
|
+
filter: string;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Describes the message alis.open.notifications.v1.ListDevicesRequest.
|
|
135
|
+
* Use `create(ListDevicesRequestSchema)` to create a new message.
|
|
136
|
+
*/
|
|
137
|
+
export declare const ListDevicesRequestSchema: GenMessage<ListDevicesRequest>;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Response message for the ListDevices method.
|
|
141
|
+
*
|
|
142
|
+
* @generated from message alis.open.notifications.v1.ListDevicesResponse
|
|
143
|
+
*/
|
|
144
|
+
export declare type ListDevicesResponse = Message<"alis.open.notifications.v1.ListDevicesResponse"> & {
|
|
145
|
+
/**
|
|
146
|
+
* The devices.
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: repeated alis.open.notifications.v1.Device devices = 1;
|
|
149
|
+
*/
|
|
150
|
+
devices: Device[];
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* A token to retrieve the next page of results.
|
|
154
|
+
*
|
|
155
|
+
* @generated from field: string next_page_token = 2;
|
|
156
|
+
*/
|
|
157
|
+
nextPageToken: string;
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Describes the message alis.open.notifications.v1.ListDevicesResponse.
|
|
162
|
+
* Use `create(ListDevicesResponseSchema)` to create a new message.
|
|
163
|
+
*/
|
|
164
|
+
export declare const ListDevicesResponseSchema: GenMessage<ListDevicesResponse>;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Request message for the DeleteDevice method.
|
|
168
|
+
*
|
|
169
|
+
* @generated from message alis.open.notifications.v1.DeleteDeviceRequest
|
|
170
|
+
*/
|
|
171
|
+
export declare type DeleteDeviceRequest = Message<"alis.open.notifications.v1.DeleteDeviceRequest"> & {
|
|
172
|
+
/**
|
|
173
|
+
* Format: users/([a-z0-9-]{2,50})/devices/([a-zA-Z0-9-_]{2,50})
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: string name = 1;
|
|
176
|
+
*/
|
|
177
|
+
name: string;
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Describes the message alis.open.notifications.v1.DeleteDeviceRequest.
|
|
182
|
+
* Use `create(DeleteDeviceRequestSchema)` to create a new message.
|
|
183
|
+
*/
|
|
184
|
+
export declare const DeleteDeviceRequestSchema: GenMessage<DeleteDeviceRequest>;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Request message for the RegisterDevice method.
|
|
188
|
+
*
|
|
189
|
+
* @generated from message alis.open.notifications.v1.RegisterDeviceRequest
|
|
190
|
+
*/
|
|
191
|
+
export declare type RegisterDeviceRequest = Message<"alis.open.notifications.v1.RegisterDeviceRequest"> & {
|
|
192
|
+
/**
|
|
193
|
+
* Device id.
|
|
194
|
+
*
|
|
195
|
+
* In the case of Web, this can be the Firebase Instance ID.
|
|
196
|
+
*
|
|
197
|
+
* @generated from field: string device_id = 1;
|
|
198
|
+
*/
|
|
199
|
+
deviceId: string;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Device token.
|
|
203
|
+
*
|
|
204
|
+
* @generated from field: string device_token = 2;
|
|
205
|
+
*/
|
|
206
|
+
deviceToken: string;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Describes the message alis.open.notifications.v1.RegisterDeviceRequest.
|
|
211
|
+
* Use `create(RegisterDeviceRequestSchema)` to create a new message.
|
|
212
|
+
*/
|
|
213
|
+
export declare const RegisterDeviceRequestSchema: GenMessage<RegisterDeviceRequest>;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Response message for the RegisterDevice method.
|
|
217
|
+
*
|
|
218
|
+
* @generated from message alis.open.notifications.v1.RegisterDeviceResponse
|
|
219
|
+
*/
|
|
220
|
+
export declare type RegisterDeviceResponse = Message<"alis.open.notifications.v1.RegisterDeviceResponse"> & {
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Describes the message alis.open.notifications.v1.RegisterDeviceResponse.
|
|
225
|
+
* Use `create(RegisterDeviceResponseSchema)` to create a new message.
|
|
226
|
+
*/
|
|
227
|
+
export declare const RegisterDeviceResponseSchema: GenMessage<RegisterDeviceResponse>;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* DevicesService provides RPCs for managing Device resources.
|
|
231
|
+
*
|
|
232
|
+
* @generated from service alis.open.notifications.v1.DevicesService
|
|
233
|
+
*/
|
|
234
|
+
export declare const DevicesService: GenService<{
|
|
235
|
+
/**
|
|
236
|
+
* Validates any proto message that is used directly or indirectly by this service.
|
|
237
|
+
* Most common use issue is to validate request messages from a client-side application.
|
|
238
|
+
*
|
|
239
|
+
* @generated from rpc alis.open.notifications.v1.DevicesService.ValidateMessage
|
|
240
|
+
*/
|
|
241
|
+
validateMessage: {
|
|
242
|
+
methodKind: "unary";
|
|
243
|
+
input: typeof ValidateMessageRequestSchema;
|
|
244
|
+
output: typeof ValidateMessageResponseSchema;
|
|
245
|
+
},
|
|
246
|
+
/**
|
|
247
|
+
* Retrieves the validation rules for any proto message that is used directly or indirectly by this service.
|
|
248
|
+
* Serves as live auto-documentation of the validation rules in this service.
|
|
249
|
+
*
|
|
250
|
+
* @generated from rpc alis.open.notifications.v1.DevicesService.RetrieveRules
|
|
251
|
+
*/
|
|
252
|
+
retrieveRules: {
|
|
253
|
+
methodKind: "unary";
|
|
254
|
+
input: typeof RetrieveRulesRequestSchema;
|
|
255
|
+
output: typeof RetrieveRulesResponseSchema;
|
|
256
|
+
},
|
|
257
|
+
/**
|
|
258
|
+
* Gets the IAM policy for a resource implemented in this service.
|
|
259
|
+
*
|
|
260
|
+
* Resource should be the fully qualified name of the device.
|
|
261
|
+
* Format: users/([a-z0-9-]{2,50})/devices/([a-zA-Z0-9-_]{2,50})
|
|
262
|
+
*
|
|
263
|
+
* @generated from rpc alis.open.notifications.v1.DevicesService.GetIamPolicy
|
|
264
|
+
*/
|
|
265
|
+
getIamPolicy: {
|
|
266
|
+
methodKind: "unary";
|
|
267
|
+
input: typeof GetIamPolicyRequestSchema;
|
|
268
|
+
output: typeof PolicySchema;
|
|
269
|
+
},
|
|
270
|
+
/**
|
|
271
|
+
* Sets the IAM policy for a resource implemented in this service.
|
|
272
|
+
*
|
|
273
|
+
* Resource should be the fully qualified name of the device.
|
|
274
|
+
* Format: users/([a-z0-9-]{2,50})/devices/([a-zA-Z0-9-_]{2,50})
|
|
275
|
+
*
|
|
276
|
+
* @generated from rpc alis.open.notifications.v1.DevicesService.SetIamPolicy
|
|
277
|
+
*/
|
|
278
|
+
setIamPolicy: {
|
|
279
|
+
methodKind: "unary";
|
|
280
|
+
input: typeof SetIamPolicyRequestSchema;
|
|
281
|
+
output: typeof PolicySchema;
|
|
282
|
+
},
|
|
283
|
+
/**
|
|
284
|
+
* Returns permissions that a caller has on the specified resource.
|
|
285
|
+
*
|
|
286
|
+
* Resource should be the fully qualified name of the device.
|
|
287
|
+
* Format: users/([a-z0-9-]{2,50})/devices/([a-zA-Z0-9-_]{2,50})
|
|
288
|
+
*
|
|
289
|
+
* @generated from rpc alis.open.notifications.v1.DevicesService.TestIamPermissions
|
|
290
|
+
*/
|
|
291
|
+
testIamPermissions: {
|
|
292
|
+
methodKind: "unary";
|
|
293
|
+
input: typeof TestIamPermissionsRequestSchema;
|
|
294
|
+
output: typeof TestIamPermissionsResponseSchema;
|
|
295
|
+
},
|
|
296
|
+
/**
|
|
297
|
+
* Adds principals or updates the roles existing principals have on an IAM Policy protected resource.
|
|
298
|
+
*
|
|
299
|
+
* Resource should be the fully qualified name of the device.
|
|
300
|
+
* Format: users/([a-z0-9-]{2,50})/devices/([a-zA-Z0-9-_]{2,50})
|
|
301
|
+
*
|
|
302
|
+
* @generated from rpc alis.open.notifications.v1.DevicesService.AddIamBindings
|
|
303
|
+
*/
|
|
304
|
+
addIamBindings: {
|
|
305
|
+
methodKind: "unary";
|
|
306
|
+
input: typeof AddIamBindingsRequestSchema;
|
|
307
|
+
output: typeof PolicySchema;
|
|
308
|
+
},
|
|
309
|
+
/**
|
|
310
|
+
* Removes principals or some of the roles they have on an IAM Policy protected resource.
|
|
311
|
+
*
|
|
312
|
+
* Resource should be the fully qualified name of the device.
|
|
313
|
+
* Format: users/([a-z0-9-]{2,50})/devices/([a-zA-Z0-9-_]{2,50})
|
|
314
|
+
*
|
|
315
|
+
* @generated from rpc alis.open.notifications.v1.DevicesService.RemoveIamBindings
|
|
316
|
+
*/
|
|
317
|
+
removeIamBindings: {
|
|
318
|
+
methodKind: "unary";
|
|
319
|
+
input: typeof RemoveIamBindingsRequestSchema;
|
|
320
|
+
output: typeof PolicySchema;
|
|
321
|
+
},
|
|
322
|
+
/**
|
|
323
|
+
* Registers a user's device.
|
|
324
|
+
*
|
|
325
|
+
* @generated from rpc alis.open.notifications.v1.DevicesService.RegisterDevice
|
|
326
|
+
*/
|
|
327
|
+
registerDevice: {
|
|
328
|
+
methodKind: "unary";
|
|
329
|
+
input: typeof RegisterDeviceRequestSchema;
|
|
330
|
+
output: typeof RegisterDeviceResponseSchema;
|
|
331
|
+
},
|
|
332
|
+
/**
|
|
333
|
+
* Gets a device.
|
|
334
|
+
*
|
|
335
|
+
* @generated from rpc alis.open.notifications.v1.DevicesService.GetDevice
|
|
336
|
+
*/
|
|
337
|
+
getDevice: {
|
|
338
|
+
methodKind: "unary";
|
|
339
|
+
input: typeof GetDeviceRequestSchema;
|
|
340
|
+
output: typeof DeviceSchema;
|
|
341
|
+
},
|
|
342
|
+
/**
|
|
343
|
+
* Lists devices.
|
|
344
|
+
*
|
|
345
|
+
* @generated from rpc alis.open.notifications.v1.DevicesService.ListDevices
|
|
346
|
+
*/
|
|
347
|
+
listDevices: {
|
|
348
|
+
methodKind: "unary";
|
|
349
|
+
input: typeof ListDevicesRequestSchema;
|
|
350
|
+
output: typeof ListDevicesResponseSchema;
|
|
351
|
+
},
|
|
352
|
+
/**
|
|
353
|
+
* Deletes a device.
|
|
354
|
+
*
|
|
355
|
+
* @generated from rpc alis.open.notifications.v1.DevicesService.DeleteDevice
|
|
356
|
+
*/
|
|
357
|
+
deleteDevice: {
|
|
358
|
+
methodKind: "unary";
|
|
359
|
+
input: typeof DeleteDeviceRequestSchema;
|
|
360
|
+
output: typeof EmptySchema;
|
|
361
|
+
},
|
|
362
|
+
}>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/notifications/v1/devices.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_iam_v1_iam } from "../../iam/v1/iam_pb";
|
|
7
|
+
import { file_alis_open_validation_v1_validation } from "../../validation/v1/validation_pb";
|
|
8
|
+
import { file_google_iam_v1_iam_policy } from "@alis-build/google-common-protos/google/iam/v1/iam_policy_pb";
|
|
9
|
+
import { file_google_iam_v1_policy } from "@alis-build/google-common-protos/google/iam/v1/policy_pb";
|
|
10
|
+
import { file_google_protobuf_empty } from "@alis-build/google-common-protos/google/protobuf/empty_pb";
|
|
11
|
+
import { file_google_protobuf_field_mask } from "@alis-build/google-common-protos/google/protobuf/field_mask_pb";
|
|
12
|
+
import { file_google_protobuf_timestamp } from "@alis-build/google-common-protos/google/protobuf/timestamp_pb";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the file alis/open/notifications/v1/devices.proto.
|
|
16
|
+
*/
|
|
17
|
+
export const file_alis_open_notifications_v1_devices = /*@__PURE__*/
|
|
18
|
+
fileDesc("CihhbGlzL29wZW4vbm90aWZpY2F0aW9ucy92MS9kZXZpY2VzLnByb3RvEhphbGlzLm9wZW4ubm90aWZpY2F0aW9ucy52MSKVAQoGRGV2aWNlEgwKBG5hbWUYASABKAkSDQoFdG9rZW4YAiABKAkSDAoEZXRhZxhhIAEoCRIvCgtjcmVhdGVfdGltZRhiIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLwoLdXBkYXRlX3RpbWUYYyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIiAKEEdldERldmljZVJlcXVlc3QSDAoEbmFtZRgBIAEoCSKKAQoSTGlzdERldmljZXNSZXF1ZXN0Eg4KBnBhcmVudBgBIAEoCRIRCglwYWdlX3NpemUYAiABKAUSEgoKcGFnZV90b2tlbhgDIAEoCRItCglyZWFkX21hc2sYBCABKAsyGi5nb29nbGUucHJvdG9idWYuRmllbGRNYXNrEg4KBmZpbHRlchgFIAEoCSJjChNMaXN0RGV2aWNlc1Jlc3BvbnNlEjMKB2RldmljZXMYASADKAsyIi5hbGlzLm9wZW4ubm90aWZpY2F0aW9ucy52MS5EZXZpY2USFwoPbmV4dF9wYWdlX3Rva2VuGAIgASgJIiMKE0RlbGV0ZURldmljZVJlcXVlc3QSDAoEbmFtZRgBIAEoCSJAChVSZWdpc3RlckRldmljZVJlcXVlc3QSEQoJZGV2aWNlX2lkGAEgASgJEhQKDGRldmljZV90b2tlbhgCIAEoCSIYChZSZWdpc3RlckRldmljZVJlc3BvbnNlMtgICg5EZXZpY2VzU2VydmljZRJ2Cg9WYWxpZGF0ZU1lc3NhZ2USLy5hbGlzLm9wZW4udmFsaWRhdGlvbi52MS5WYWxpZGF0ZU1lc3NhZ2VSZXF1ZXN0GjAuYWxpcy5vcGVuLnZhbGlkYXRpb24udjEuVmFsaWRhdGVNZXNzYWdlUmVzcG9uc2UiABJwCg1SZXRyaWV2ZVJ1bGVzEi0uYWxpcy5vcGVuLnZhbGlkYXRpb24udjEuUmV0cmlldmVSdWxlc1JlcXVlc3QaLi5hbGlzLm9wZW4udmFsaWRhdGlvbi52MS5SZXRyaWV2ZVJ1bGVzUmVzcG9uc2UiABJLCgxHZXRJYW1Qb2xpY3kSIi5nb29nbGUuaWFtLnYxLkdldElhbVBvbGljeVJlcXVlc3QaFS5nb29nbGUuaWFtLnYxLlBvbGljeSIAEksKDFNldElhbVBvbGljeRIiLmdvb2dsZS5pYW0udjEuU2V0SWFtUG9saWN5UmVxdWVzdBoVLmdvb2dsZS5pYW0udjEuUG9saWN5IgASawoSVGVzdElhbVBlcm1pc3Npb25zEiguZ29vZ2xlLmlhbS52MS5UZXN0SWFtUGVybWlzc2lvbnNSZXF1ZXN0GikuZ29vZ2xlLmlhbS52MS5UZXN0SWFtUGVybWlzc2lvbnNSZXNwb25zZSIAElIKDkFkZElhbUJpbmRpbmdzEicuYWxpcy5vcGVuLmlhbS52MS5BZGRJYW1CaW5kaW5nc1JlcXVlc3QaFS5nb29nbGUuaWFtLnYxLlBvbGljeSIAElgKEVJlbW92ZUlhbUJpbmRpbmdzEiouYWxpcy5vcGVuLmlhbS52MS5SZW1vdmVJYW1CaW5kaW5nc1JlcXVlc3QaFS5nb29nbGUuaWFtLnYxLlBvbGljeSIAEnkKDlJlZ2lzdGVyRGV2aWNlEjEuYWxpcy5vcGVuLm5vdGlmaWNhdGlvbnMudjEuUmVnaXN0ZXJEZXZpY2VSZXF1ZXN0GjIuYWxpcy5vcGVuLm5vdGlmaWNhdGlvbnMudjEuUmVnaXN0ZXJEZXZpY2VSZXNwb25zZSIAEl8KCUdldERldmljZRIsLmFsaXMub3Blbi5ub3RpZmljYXRpb25zLnYxLkdldERldmljZVJlcXVlc3QaIi5hbGlzLm9wZW4ubm90aWZpY2F0aW9ucy52MS5EZXZpY2UiABJwCgtMaXN0RGV2aWNlcxIuLmFsaXMub3Blbi5ub3RpZmljYXRpb25zLnYxLkxpc3REZXZpY2VzUmVxdWVzdBovLmFsaXMub3Blbi5ub3RpZmljYXRpb25zLnYxLkxpc3REZXZpY2VzUmVzcG9uc2UiABJZCgxEZWxldGVEZXZpY2USLy5hbGlzLm9wZW4ubm90aWZpY2F0aW9ucy52MS5EZWxldGVEZXZpY2VSZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IgBCOFo2b3Blbi5hbGlzLnNlcnZpY2VzL3Byb3RvYnVmL2FsaXMvb3Blbi9ub3RpZmljYXRpb25zL3YxYgZwcm90bzM", [file_alis_open_iam_v1_iam, file_alis_open_validation_v1_validation, file_google_iam_v1_iam_policy, file_google_iam_v1_policy, file_google_protobuf_empty, file_google_protobuf_field_mask, file_google_protobuf_timestamp]);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message alis.open.notifications.v1.Device.
|
|
22
|
+
* Use `create(DeviceSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const DeviceSchema = /*@__PURE__*/
|
|
25
|
+
messageDesc(file_alis_open_notifications_v1_devices, 0);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message alis.open.notifications.v1.GetDeviceRequest.
|
|
29
|
+
* Use `create(GetDeviceRequestSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const GetDeviceRequestSchema = /*@__PURE__*/
|
|
32
|
+
messageDesc(file_alis_open_notifications_v1_devices, 1);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message alis.open.notifications.v1.ListDevicesRequest.
|
|
36
|
+
* Use `create(ListDevicesRequestSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const ListDevicesRequestSchema = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_alis_open_notifications_v1_devices, 2);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message alis.open.notifications.v1.ListDevicesResponse.
|
|
43
|
+
* Use `create(ListDevicesResponseSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const ListDevicesResponseSchema = /*@__PURE__*/
|
|
46
|
+
messageDesc(file_alis_open_notifications_v1_devices, 3);
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message alis.open.notifications.v1.DeleteDeviceRequest.
|
|
50
|
+
* Use `create(DeleteDeviceRequestSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const DeleteDeviceRequestSchema = /*@__PURE__*/
|
|
53
|
+
messageDesc(file_alis_open_notifications_v1_devices, 4);
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message alis.open.notifications.v1.RegisterDeviceRequest.
|
|
57
|
+
* Use `create(RegisterDeviceRequestSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const RegisterDeviceRequestSchema = /*@__PURE__*/
|
|
60
|
+
messageDesc(file_alis_open_notifications_v1_devices, 5);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message alis.open.notifications.v1.RegisterDeviceResponse.
|
|
64
|
+
* Use `create(RegisterDeviceResponseSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export const RegisterDeviceResponseSchema = /*@__PURE__*/
|
|
67
|
+
messageDesc(file_alis_open_notifications_v1_devices, 6);
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* DevicesService provides RPCs for managing Device resources.
|
|
71
|
+
*
|
|
72
|
+
* @generated from service alis.open.notifications.v1.DevicesService
|
|
73
|
+
*/
|
|
74
|
+
export const DevicesService = /*@__PURE__*/
|
|
75
|
+
serviceDesc(file_alis_open_notifications_v1_devices, 0);
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.7.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
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { RetrieveRulesRequest, RetrieveRulesResponse, ValidateMessageRequest, ValidateMessageResponse } from "../../validation/v1/validation_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { TestIamPermissionsRequest, TestIamPermissionsResponse } from "@alis-build/google-common-protos/google/iam/v1/iam_policy_pb.js";
|
|
9
|
+
import { BatchSendFcmMessagesRequest, BatchSendFcmMessagesResponse, SendFcmMessageRequest, SendFcmMessageResponse } from "./notifications_pb.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* NotificationsService provides RPCs for sending notifications to users or topics.
|
|
13
|
+
*
|
|
14
|
+
* @generated from service alis.open.notifications.v1.NotificationsService
|
|
15
|
+
*/
|
|
16
|
+
export declare const NotificationsService: {
|
|
17
|
+
readonly typeName: "alis.open.notifications.v1.NotificationsService",
|
|
18
|
+
readonly methods: {
|
|
19
|
+
/**
|
|
20
|
+
* Validates any proto message that is used directly or indirectly by this service.
|
|
21
|
+
* Most common use issue is to validate request messages from a client-side application.
|
|
22
|
+
*
|
|
23
|
+
* @generated from rpc alis.open.notifications.v1.NotificationsService.ValidateMessage
|
|
24
|
+
*/
|
|
25
|
+
readonly validateMessage: {
|
|
26
|
+
readonly name: "ValidateMessage",
|
|
27
|
+
readonly I: typeof ValidateMessageRequest,
|
|
28
|
+
readonly O: typeof ValidateMessageResponse,
|
|
29
|
+
readonly kind: MethodKind.Unary,
|
|
30
|
+
},
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves the validation rules for any proto message that is used directly or indirectly by this service.
|
|
33
|
+
* Serves as live auto-documentation of the validation rules in this service.
|
|
34
|
+
*
|
|
35
|
+
* @generated from rpc alis.open.notifications.v1.NotificationsService.RetrieveRules
|
|
36
|
+
*/
|
|
37
|
+
readonly retrieveRules: {
|
|
38
|
+
readonly name: "RetrieveRules",
|
|
39
|
+
readonly I: typeof RetrieveRulesRequest,
|
|
40
|
+
readonly O: typeof RetrieveRulesResponse,
|
|
41
|
+
readonly kind: MethodKind.Unary,
|
|
42
|
+
},
|
|
43
|
+
/**
|
|
44
|
+
* Returns permissions that a caller has on the specified resource.
|
|
45
|
+
*
|
|
46
|
+
* @generated from rpc alis.open.notifications.v1.NotificationsService.TestIamPermissions
|
|
47
|
+
*/
|
|
48
|
+
readonly testIamPermissions: {
|
|
49
|
+
readonly name: "TestIamPermissions",
|
|
50
|
+
readonly I: typeof TestIamPermissionsRequest,
|
|
51
|
+
readonly O: typeof TestIamPermissionsResponse,
|
|
52
|
+
readonly kind: MethodKind.Unary,
|
|
53
|
+
},
|
|
54
|
+
/**
|
|
55
|
+
* Sends a Firebase Cloud Messaging(FCM) message to a user or topic.
|
|
56
|
+
*
|
|
57
|
+
* @generated from rpc alis.open.notifications.v1.NotificationsService.SendFcmMessage
|
|
58
|
+
*/
|
|
59
|
+
readonly sendFcmMessage: {
|
|
60
|
+
readonly name: "SendFcmMessage",
|
|
61
|
+
readonly I: typeof SendFcmMessageRequest,
|
|
62
|
+
readonly O: typeof SendFcmMessageResponse,
|
|
63
|
+
readonly kind: MethodKind.Unary,
|
|
64
|
+
},
|
|
65
|
+
/**
|
|
66
|
+
* Sends a batch of Firebase Cloud Messaging(FCM) messages to users or topics.
|
|
67
|
+
*
|
|
68
|
+
* @generated from rpc alis.open.notifications.v1.NotificationsService.BatchSendFcmMessages
|
|
69
|
+
*/
|
|
70
|
+
readonly batchSendFcmMessages: {
|
|
71
|
+
readonly name: "BatchSendFcmMessages",
|
|
72
|
+
readonly I: typeof BatchSendFcmMessagesRequest,
|
|
73
|
+
readonly O: typeof BatchSendFcmMessagesResponse,
|
|
74
|
+
readonly kind: MethodKind.Unary,
|
|
75
|
+
},
|
|
76
|
+
}
|
|
77
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.7.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
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { RetrieveRulesRequest, RetrieveRulesResponse, ValidateMessageRequest, ValidateMessageResponse } from "../../validation/v1/validation_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { TestIamPermissionsRequest, TestIamPermissionsResponse } from "@alis-build/google-common-protos/google/iam/v1/iam_policy_pb.js";
|
|
9
|
+
import { BatchSendFcmMessagesRequest, BatchSendFcmMessagesResponse, SendFcmMessageRequest, SendFcmMessageResponse } from "./notifications_pb.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* NotificationsService provides RPCs for sending notifications to users or topics.
|
|
13
|
+
*
|
|
14
|
+
* @generated from service alis.open.notifications.v1.NotificationsService
|
|
15
|
+
*/
|
|
16
|
+
export const NotificationsService = {
|
|
17
|
+
typeName: "alis.open.notifications.v1.NotificationsService",
|
|
18
|
+
methods: {
|
|
19
|
+
/**
|
|
20
|
+
* Validates any proto message that is used directly or indirectly by this service.
|
|
21
|
+
* Most common use issue is to validate request messages from a client-side application.
|
|
22
|
+
*
|
|
23
|
+
* @generated from rpc alis.open.notifications.v1.NotificationsService.ValidateMessage
|
|
24
|
+
*/
|
|
25
|
+
validateMessage: {
|
|
26
|
+
name: "ValidateMessage",
|
|
27
|
+
I: ValidateMessageRequest,
|
|
28
|
+
O: ValidateMessageResponse,
|
|
29
|
+
kind: MethodKind.Unary,
|
|
30
|
+
},
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves the validation rules for any proto message that is used directly or indirectly by this service.
|
|
33
|
+
* Serves as live auto-documentation of the validation rules in this service.
|
|
34
|
+
*
|
|
35
|
+
* @generated from rpc alis.open.notifications.v1.NotificationsService.RetrieveRules
|
|
36
|
+
*/
|
|
37
|
+
retrieveRules: {
|
|
38
|
+
name: "RetrieveRules",
|
|
39
|
+
I: RetrieveRulesRequest,
|
|
40
|
+
O: RetrieveRulesResponse,
|
|
41
|
+
kind: MethodKind.Unary,
|
|
42
|
+
},
|
|
43
|
+
/**
|
|
44
|
+
* Returns permissions that a caller has on the specified resource.
|
|
45
|
+
*
|
|
46
|
+
* @generated from rpc alis.open.notifications.v1.NotificationsService.TestIamPermissions
|
|
47
|
+
*/
|
|
48
|
+
testIamPermissions: {
|
|
49
|
+
name: "TestIamPermissions",
|
|
50
|
+
I: TestIamPermissionsRequest,
|
|
51
|
+
O: TestIamPermissionsResponse,
|
|
52
|
+
kind: MethodKind.Unary,
|
|
53
|
+
},
|
|
54
|
+
/**
|
|
55
|
+
* Sends a Firebase Cloud Messaging(FCM) message to a user or topic.
|
|
56
|
+
*
|
|
57
|
+
* @generated from rpc alis.open.notifications.v1.NotificationsService.SendFcmMessage
|
|
58
|
+
*/
|
|
59
|
+
sendFcmMessage: {
|
|
60
|
+
name: "SendFcmMessage",
|
|
61
|
+
I: SendFcmMessageRequest,
|
|
62
|
+
O: SendFcmMessageResponse,
|
|
63
|
+
kind: MethodKind.Unary,
|
|
64
|
+
},
|
|
65
|
+
/**
|
|
66
|
+
* Sends a batch of Firebase Cloud Messaging(FCM) messages to users or topics.
|
|
67
|
+
*
|
|
68
|
+
* @generated from rpc alis.open.notifications.v1.NotificationsService.BatchSendFcmMessages
|
|
69
|
+
*/
|
|
70
|
+
batchSendFcmMessages: {
|
|
71
|
+
name: "BatchSendFcmMessages",
|
|
72
|
+
I: BatchSendFcmMessagesRequest,
|
|
73
|
+
O: BatchSendFcmMessagesResponse,
|
|
74
|
+
kind: MethodKind.Unary,
|
|
75
|
+
},
|
|
76
|
+
}
|
|
77
|
+
};
|