@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,327 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.7.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/iam/v1/user.proto (package alis.open.iam.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 { GetIamPolicyRequest, SetIamPolicyRequest, TestIamPermissionsRequest, TestIamPermissionsResponse } from "@alis-build/google-common-protos/google/iam/v1/iam_policy_pb.js";
|
|
9
|
+
import { Policy } from "@alis-build/google-common-protos/google/iam/v1/policy_pb.js";
|
|
10
|
+
import { AddIamBindingsRequest, RemoveIamBindingsRequest } from "./iam_pb.js";
|
|
11
|
+
import { BatchRetrieveMaskedUsersRequest, BatchRetrieveMaskedUsersResponse, CreateUserRequest, DeleteUserRequest, EditMyInfoRequest, EditMyMetadataRequest, EditUserInfoRequest, EditUserMetadataRequest, GetUserRequest, ListUsersRequest, ListUsersResponse, LookupUserRequest, LookupUserResponse, MaskedUser, RemoveMyUserRequest, RetrieveMaskedUserRequest, RetrieveMaskedUsersRequest, RetrieveMaskedUsersResponse, RetrieveMyUserRequest, RetrieveUserByEmailRequest, SetUserPictureRequest, SetUserPictureResponse, SyncToGoogleGroupRequest, SyncToGoogleGroupResponse, UpdateUserRequest, User } from "./user_pb.js";
|
|
12
|
+
import { Empty } from "@alis-build/google-common-protos/google/protobuf/empty_pb.js";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* UsersService provides RPCs for managing User resources.
|
|
16
|
+
*
|
|
17
|
+
* @generated from service alis.open.iam.v1.UsersService
|
|
18
|
+
*/
|
|
19
|
+
export const UsersService = {
|
|
20
|
+
typeName: "alis.open.iam.v1.UsersService",
|
|
21
|
+
methods: {
|
|
22
|
+
/**
|
|
23
|
+
* Validates any proto message that is used directly or indirectly by this service.
|
|
24
|
+
* Most common use case is to validate request messages from a client-side application.
|
|
25
|
+
*
|
|
26
|
+
* @generated from rpc alis.open.iam.v1.UsersService.ValidateMessage
|
|
27
|
+
*/
|
|
28
|
+
validateMessage: {
|
|
29
|
+
name: "ValidateMessage",
|
|
30
|
+
I: ValidateMessageRequest,
|
|
31
|
+
O: ValidateMessageResponse,
|
|
32
|
+
kind: MethodKind.Unary,
|
|
33
|
+
},
|
|
34
|
+
/**
|
|
35
|
+
* Retrieves the validation rules for any proto message that is used directly or indirectly by this service.
|
|
36
|
+
* Serves as live auto-documentation of the validation rules in this service.
|
|
37
|
+
*
|
|
38
|
+
* @generated from rpc alis.open.iam.v1.UsersService.RetrieveRules
|
|
39
|
+
*/
|
|
40
|
+
retrieveRules: {
|
|
41
|
+
name: "RetrieveRules",
|
|
42
|
+
I: RetrieveRulesRequest,
|
|
43
|
+
O: RetrieveRulesResponse,
|
|
44
|
+
kind: MethodKind.Unary,
|
|
45
|
+
},
|
|
46
|
+
/**
|
|
47
|
+
* Gets the IAM policy for a resource implemented in this service.
|
|
48
|
+
*
|
|
49
|
+
* @generated from rpc alis.open.iam.v1.UsersService.GetIamPolicy
|
|
50
|
+
*/
|
|
51
|
+
getIamPolicy: {
|
|
52
|
+
name: "GetIamPolicy",
|
|
53
|
+
I: GetIamPolicyRequest,
|
|
54
|
+
O: Policy,
|
|
55
|
+
kind: MethodKind.Unary,
|
|
56
|
+
},
|
|
57
|
+
/**
|
|
58
|
+
* Sets the IAM policy for a resource implemented in this service.
|
|
59
|
+
*
|
|
60
|
+
* @generated from rpc alis.open.iam.v1.UsersService.SetIamPolicy
|
|
61
|
+
*/
|
|
62
|
+
setIamPolicy: {
|
|
63
|
+
name: "SetIamPolicy",
|
|
64
|
+
I: SetIamPolicyRequest,
|
|
65
|
+
O: Policy,
|
|
66
|
+
kind: MethodKind.Unary,
|
|
67
|
+
},
|
|
68
|
+
/**
|
|
69
|
+
* Returns permissions that a caller has on the specified resource.
|
|
70
|
+
*
|
|
71
|
+
* @generated from rpc alis.open.iam.v1.UsersService.TestIamPermissions
|
|
72
|
+
*/
|
|
73
|
+
testIamPermissions: {
|
|
74
|
+
name: "TestIamPermissions",
|
|
75
|
+
I: TestIamPermissionsRequest,
|
|
76
|
+
O: TestIamPermissionsResponse,
|
|
77
|
+
kind: MethodKind.Unary,
|
|
78
|
+
},
|
|
79
|
+
/**
|
|
80
|
+
* Adds principals or updates the roles existing principals have on an IAM Policy protected resource.
|
|
81
|
+
*
|
|
82
|
+
* @generated from rpc alis.open.iam.v1.UsersService.AddIamBindings
|
|
83
|
+
*/
|
|
84
|
+
addIamBindings: {
|
|
85
|
+
name: "AddIamBindings",
|
|
86
|
+
I: AddIamBindingsRequest,
|
|
87
|
+
O: Policy,
|
|
88
|
+
kind: MethodKind.Unary,
|
|
89
|
+
},
|
|
90
|
+
/**
|
|
91
|
+
* Removes principals or some of the roles they have on an IAM Policy protected resource.
|
|
92
|
+
*
|
|
93
|
+
* @generated from rpc alis.open.iam.v1.UsersService.RemoveIamBindings
|
|
94
|
+
*/
|
|
95
|
+
removeIamBindings: {
|
|
96
|
+
name: "RemoveIamBindings",
|
|
97
|
+
I: RemoveIamBindingsRequest,
|
|
98
|
+
O: Policy,
|
|
99
|
+
kind: MethodKind.Unary,
|
|
100
|
+
},
|
|
101
|
+
/**
|
|
102
|
+
* Gets information about a User.
|
|
103
|
+
*
|
|
104
|
+
* @generated from rpc alis.open.iam.v1.UsersService.GetUser
|
|
105
|
+
*/
|
|
106
|
+
getUser: {
|
|
107
|
+
name: "GetUser",
|
|
108
|
+
I: GetUserRequest,
|
|
109
|
+
O: User,
|
|
110
|
+
kind: MethodKind.Unary,
|
|
111
|
+
},
|
|
112
|
+
/**
|
|
113
|
+
* Creates a new User.
|
|
114
|
+
*
|
|
115
|
+
* @generated from rpc alis.open.iam.v1.UsersService.CreateUser
|
|
116
|
+
*/
|
|
117
|
+
createUser: {
|
|
118
|
+
name: "CreateUser",
|
|
119
|
+
I: CreateUserRequest,
|
|
120
|
+
O: User,
|
|
121
|
+
kind: MethodKind.Unary,
|
|
122
|
+
},
|
|
123
|
+
/**
|
|
124
|
+
* Updates a User.
|
|
125
|
+
*
|
|
126
|
+
* @generated from rpc alis.open.iam.v1.UsersService.UpdateUser
|
|
127
|
+
*/
|
|
128
|
+
updateUser: {
|
|
129
|
+
name: "UpdateUser",
|
|
130
|
+
I: UpdateUserRequest,
|
|
131
|
+
O: User,
|
|
132
|
+
kind: MethodKind.Unary,
|
|
133
|
+
},
|
|
134
|
+
/**
|
|
135
|
+
* Deletes a User.
|
|
136
|
+
*
|
|
137
|
+
* @generated from rpc alis.open.iam.v1.UsersService.DeleteUser
|
|
138
|
+
*/
|
|
139
|
+
deleteUser: {
|
|
140
|
+
name: "DeleteUser",
|
|
141
|
+
I: DeleteUserRequest,
|
|
142
|
+
O: Empty,
|
|
143
|
+
kind: MethodKind.Unary,
|
|
144
|
+
},
|
|
145
|
+
/**
|
|
146
|
+
* Lists Users. Results are sorted by name, ascending.
|
|
147
|
+
*
|
|
148
|
+
* @generated from rpc alis.open.iam.v1.UsersService.ListUsers
|
|
149
|
+
*/
|
|
150
|
+
listUsers: {
|
|
151
|
+
name: "ListUsers",
|
|
152
|
+
I: ListUsersRequest,
|
|
153
|
+
O: ListUsersResponse,
|
|
154
|
+
kind: MethodKind.Unary,
|
|
155
|
+
},
|
|
156
|
+
/**
|
|
157
|
+
* Retrieve a User by their email.
|
|
158
|
+
*
|
|
159
|
+
* @generated from rpc alis.open.iam.v1.UsersService.RetrieveUserByEmail
|
|
160
|
+
*/
|
|
161
|
+
retrieveUserByEmail: {
|
|
162
|
+
name: "RetrieveUserByEmail",
|
|
163
|
+
I: RetrieveUserByEmailRequest,
|
|
164
|
+
O: User,
|
|
165
|
+
kind: MethodKind.Unary,
|
|
166
|
+
},
|
|
167
|
+
/**
|
|
168
|
+
* Look up a User based on a search text.
|
|
169
|
+
*
|
|
170
|
+
* This method retrieves a set of results, which are Users, based on the request.
|
|
171
|
+
* The lookup for these Users are done across the given_name, family_name, email and contact number.
|
|
172
|
+
*
|
|
173
|
+
* @generated from rpc alis.open.iam.v1.UsersService.LookupUser
|
|
174
|
+
*/
|
|
175
|
+
lookupUser: {
|
|
176
|
+
name: "LookupUser",
|
|
177
|
+
I: LookupUserRequest,
|
|
178
|
+
O: LookupUserResponse,
|
|
179
|
+
kind: MethodKind.Unary,
|
|
180
|
+
},
|
|
181
|
+
/**
|
|
182
|
+
* Retrieves the set of Users requested, with only a
|
|
183
|
+
* subset of the User information returned.
|
|
184
|
+
*
|
|
185
|
+
* This is equivalent to a BatchGet method, but only a subset of the User information,
|
|
186
|
+
* which does not contain any sensitive information such as email or group configurations.
|
|
187
|
+
*
|
|
188
|
+
* Differs from the RetrieveMaskedUsers method in that it returns only
|
|
189
|
+
* the Users that were specified in the request.
|
|
190
|
+
*
|
|
191
|
+
* @generated from rpc alis.open.iam.v1.UsersService.BatchRetrieveMaskedUsers
|
|
192
|
+
*/
|
|
193
|
+
batchRetrieveMaskedUsers: {
|
|
194
|
+
name: "BatchRetrieveMaskedUsers",
|
|
195
|
+
I: BatchRetrieveMaskedUsersRequest,
|
|
196
|
+
O: BatchRetrieveMaskedUsersResponse,
|
|
197
|
+
kind: MethodKind.Unary,
|
|
198
|
+
},
|
|
199
|
+
/**
|
|
200
|
+
* Retrieves all Users that match the filter criteria, if specified,
|
|
201
|
+
* with only a subset of the User information.
|
|
202
|
+
*
|
|
203
|
+
* This is equivalent to a List method, but only a subset of the User information,
|
|
204
|
+
* which does not contain any sensitive information such as email or group configurations.
|
|
205
|
+
*
|
|
206
|
+
* Differs from the BatchRetrieveMaskedUsers method in that it returns all
|
|
207
|
+
* the Users that match the filter, if the filter is specified.
|
|
208
|
+
*
|
|
209
|
+
* This is useful for displaying a list of Users without revealing sensitive information like email.
|
|
210
|
+
*
|
|
211
|
+
* @generated from rpc alis.open.iam.v1.UsersService.RetrieveMaskedUsers
|
|
212
|
+
*/
|
|
213
|
+
retrieveMaskedUsers: {
|
|
214
|
+
name: "RetrieveMaskedUsers",
|
|
215
|
+
I: RetrieveMaskedUsersRequest,
|
|
216
|
+
O: RetrieveMaskedUsersResponse,
|
|
217
|
+
kind: MethodKind.Unary,
|
|
218
|
+
},
|
|
219
|
+
/**
|
|
220
|
+
* Retrieves a User with some of their details hidden.
|
|
221
|
+
* This is useful for displaying a User without revealing sensitive information like email.
|
|
222
|
+
* Both name and email can be used to retrieve the User.
|
|
223
|
+
*
|
|
224
|
+
* @generated from rpc alis.open.iam.v1.UsersService.RetrieveMaskedUser
|
|
225
|
+
*/
|
|
226
|
+
retrieveMaskedUser: {
|
|
227
|
+
name: "RetrieveMaskedUser",
|
|
228
|
+
I: RetrieveMaskedUserRequest,
|
|
229
|
+
O: MaskedUser,
|
|
230
|
+
kind: MethodKind.Unary,
|
|
231
|
+
},
|
|
232
|
+
/**
|
|
233
|
+
* Edits a User's non-auth related information like family name and picture.
|
|
234
|
+
*
|
|
235
|
+
* @generated from rpc alis.open.iam.v1.UsersService.EditUserInfo
|
|
236
|
+
*/
|
|
237
|
+
editUserInfo: {
|
|
238
|
+
name: "EditUserInfo",
|
|
239
|
+
I: EditUserInfoRequest,
|
|
240
|
+
O: User,
|
|
241
|
+
kind: MethodKind.Unary,
|
|
242
|
+
},
|
|
243
|
+
/**
|
|
244
|
+
* Edits a User's metadata
|
|
245
|
+
*
|
|
246
|
+
* @generated from rpc alis.open.iam.v1.UsersService.EditUserMetadata
|
|
247
|
+
*/
|
|
248
|
+
editUserMetadata: {
|
|
249
|
+
name: "EditUserMetadata",
|
|
250
|
+
I: EditUserMetadataRequest,
|
|
251
|
+
O: User,
|
|
252
|
+
kind: MethodKind.Unary,
|
|
253
|
+
},
|
|
254
|
+
/**
|
|
255
|
+
* Retrieves the currently signed in user.
|
|
256
|
+
* This is useful for client-side applications to get the signed in user's information.
|
|
257
|
+
*
|
|
258
|
+
* @generated from rpc alis.open.iam.v1.UsersService.RetrieveMyUser
|
|
259
|
+
*/
|
|
260
|
+
retrieveMyUser: {
|
|
261
|
+
name: "RetrieveMyUser",
|
|
262
|
+
I: RetrieveMyUserRequest,
|
|
263
|
+
O: User,
|
|
264
|
+
kind: MethodKind.Unary,
|
|
265
|
+
},
|
|
266
|
+
/**
|
|
267
|
+
* Edits the info of the currently signed in user.
|
|
268
|
+
* This is useful for client-side applications to edit the signed in user's information.
|
|
269
|
+
* Allows the user to edit their given_name, family_name, picture, contact_number, position, education, linkedin_uri and metadata.
|
|
270
|
+
*
|
|
271
|
+
* @generated from rpc alis.open.iam.v1.UsersService.EditMyInfo
|
|
272
|
+
*/
|
|
273
|
+
editMyInfo: {
|
|
274
|
+
name: "EditMyInfo",
|
|
275
|
+
I: EditMyInfoRequest,
|
|
276
|
+
O: User,
|
|
277
|
+
kind: MethodKind.Unary,
|
|
278
|
+
},
|
|
279
|
+
/**
|
|
280
|
+
* Edits the metadata of the currently signed in user.
|
|
281
|
+
* This is useful for client-side applications to edit the signed in user's metadata.
|
|
282
|
+
*
|
|
283
|
+
* @generated from rpc alis.open.iam.v1.UsersService.EditMyMetadata
|
|
284
|
+
*/
|
|
285
|
+
editMyMetadata: {
|
|
286
|
+
name: "EditMyMetadata",
|
|
287
|
+
I: EditMyMetadataRequest,
|
|
288
|
+
O: User,
|
|
289
|
+
kind: MethodKind.Unary,
|
|
290
|
+
},
|
|
291
|
+
/**
|
|
292
|
+
* Removes the currently signed in user.
|
|
293
|
+
* This is useful if a user wants to delete their account.
|
|
294
|
+
*
|
|
295
|
+
* @generated from rpc alis.open.iam.v1.UsersService.RemoveMyUser
|
|
296
|
+
*/
|
|
297
|
+
removeMyUser: {
|
|
298
|
+
name: "RemoveMyUser",
|
|
299
|
+
I: RemoveMyUserRequest,
|
|
300
|
+
O: Empty,
|
|
301
|
+
kind: MethodKind.Unary,
|
|
302
|
+
},
|
|
303
|
+
/**
|
|
304
|
+
* Syncs all google User's to the google group configured in the IamConfig.
|
|
305
|
+
* Will not delete service accounts.
|
|
306
|
+
*
|
|
307
|
+
* @generated from rpc alis.open.iam.v1.UsersService.SyncToGoogleGroup
|
|
308
|
+
*/
|
|
309
|
+
syncToGoogleGroup: {
|
|
310
|
+
name: "SyncToGoogleGroup",
|
|
311
|
+
I: SyncToGoogleGroupRequest,
|
|
312
|
+
O: SyncToGoogleGroupResponse,
|
|
313
|
+
kind: MethodKind.Unary,
|
|
314
|
+
},
|
|
315
|
+
/**
|
|
316
|
+
* Sets the user's profile picture
|
|
317
|
+
*
|
|
318
|
+
* @generated from rpc alis.open.iam.v1.UsersService.SetUserPicture
|
|
319
|
+
*/
|
|
320
|
+
setUserPicture: {
|
|
321
|
+
name: "SetUserPicture",
|
|
322
|
+
I: SetUserPictureRequest,
|
|
323
|
+
O: SetUserPictureResponse,
|
|
324
|
+
kind: MethodKind.Unary,
|
|
325
|
+
},
|
|
326
|
+
}
|
|
327
|
+
};
|