@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,39 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.7.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/validation/v1/validation.proto (package alis.open.validation.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { RetrieveRulesRequest, RetrieveRulesResponse, ValidateMessageRequest, ValidateMessageResponse } from "./validation_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service alis.open.validation.v1.ValidationService
|
|
11
|
+
*/
|
|
12
|
+
export const ValidationService = {
|
|
13
|
+
typeName: "alis.open.validation.v1.ValidationService",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* Retrieve the validation rules for a given message type.
|
|
17
|
+
*
|
|
18
|
+
* @generated from rpc alis.open.validation.v1.ValidationService.RetrieveRules
|
|
19
|
+
*/
|
|
20
|
+
retrieveRules: {
|
|
21
|
+
name: "RetrieveRules",
|
|
22
|
+
I: RetrieveRulesRequest,
|
|
23
|
+
O: RetrieveRulesResponse,
|
|
24
|
+
kind: MethodKind.Unary,
|
|
25
|
+
},
|
|
26
|
+
/**
|
|
27
|
+
* Validates if the given bytes are valid for the given message type.
|
|
28
|
+
* If the bytes cannot be marshalled into the message type, the rpc will return an error instead of the violations.
|
|
29
|
+
*
|
|
30
|
+
* @generated from rpc alis.open.validation.v1.ValidationService.ValidateMessage
|
|
31
|
+
*/
|
|
32
|
+
validateMessage: {
|
|
33
|
+
name: "ValidateMessage",
|
|
34
|
+
I: ValidateMessageRequest,
|
|
35
|
+
O: ValidateMessageResponse,
|
|
36
|
+
kind: MethodKind.Unary,
|
|
37
|
+
},
|
|
38
|
+
}
|
|
39
|
+
};
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/validation/v1/validation.proto (package alis.open.validation.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
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file alis/open/validation/v1/validation.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_alis_open_validation_v1_validation: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @generated from message alis.open.validation.v1.RetrieveRulesRequest
|
|
15
|
+
*/
|
|
16
|
+
export declare type RetrieveRulesRequest = Message<"alis.open.validation.v1.RetrieveRulesRequest"> & {
|
|
17
|
+
/**
|
|
18
|
+
* REQUIRED: The message type to retrieve rules for.
|
|
19
|
+
* E.g. "alis.os.processes.v1.CreateProcess"
|
|
20
|
+
*
|
|
21
|
+
* @generated from field: string msg_type = 1;
|
|
22
|
+
*/
|
|
23
|
+
msgType: string;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message alis.open.validation.v1.RetrieveRulesRequest.
|
|
28
|
+
* Use `create(RetrieveRulesRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export declare const RetrieveRulesRequestSchema: GenMessage<RetrieveRulesRequest>;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @generated from message alis.open.validation.v1.RetrieveRulesResponse
|
|
34
|
+
*/
|
|
35
|
+
export declare type RetrieveRulesResponse = Message<"alis.open.validation.v1.RetrieveRulesResponse"> & {
|
|
36
|
+
/**
|
|
37
|
+
* The rules for the message type.
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: repeated alis.open.validation.v1.Rule rules = 1;
|
|
40
|
+
*/
|
|
41
|
+
rules: Rule[];
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message alis.open.validation.v1.RetrieveRulesResponse.
|
|
46
|
+
* Use `create(RetrieveRulesResponseSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export declare const RetrieveRulesResponseSchema: GenMessage<RetrieveRulesResponse>;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @generated from message alis.open.validation.v1.ValidateMessageRequest
|
|
52
|
+
*/
|
|
53
|
+
export declare type ValidateMessageRequest = Message<"alis.open.validation.v1.ValidateMessageRequest"> & {
|
|
54
|
+
/**
|
|
55
|
+
* REQUIRED: The message type to validate.
|
|
56
|
+
* E.g. "alis.os.processes.v1.CreateProcess"
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: string msg_type = 1;
|
|
59
|
+
*/
|
|
60
|
+
msgType: string;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* REQUIRED: The msg to validate
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: bytes msg = 2;
|
|
66
|
+
*/
|
|
67
|
+
msg: Uint8Array;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Optional list of fields to validate. If empty, all fields will be validated.
|
|
71
|
+
* If a rule contains more than one field_path, all field_paths must be in this list for the rule to be applied.
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: repeated string field_paths = 3;
|
|
74
|
+
*/
|
|
75
|
+
fieldPaths: string[];
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message alis.open.validation.v1.ValidateMessageRequest.
|
|
80
|
+
* Use `create(ValidateMessageRequestSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
export declare const ValidateMessageRequestSchema: GenMessage<ValidateMessageRequest>;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @generated from message alis.open.validation.v1.ValidateMessageResponse
|
|
86
|
+
*/
|
|
87
|
+
export declare type ValidateMessageResponse = Message<"alis.open.validation.v1.ValidateMessageResponse"> & {
|
|
88
|
+
/**
|
|
89
|
+
* The list of rules violated
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: repeated alis.open.validation.v1.Rule violated_rules = 1;
|
|
92
|
+
*/
|
|
93
|
+
violatedRules: Rule[];
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* The list of fields with violations
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: repeated alis.open.validation.v1.FieldViolation violated_fields = 2;
|
|
99
|
+
*/
|
|
100
|
+
violatedFields: FieldViolation[];
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message alis.open.validation.v1.ValidateMessageResponse.
|
|
105
|
+
* Use `create(ValidateMessageResponseSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export declare const ValidateMessageResponseSchema: GenMessage<ValidateMessageResponse>;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @generated from message alis.open.validation.v1.Rule
|
|
111
|
+
*/
|
|
112
|
+
export declare type Rule = Message<"alis.open.validation.v1.Rule"> & {
|
|
113
|
+
/**
|
|
114
|
+
* Unique identifier for the rule which reads like code
|
|
115
|
+
* Examples:
|
|
116
|
+
* regex(F(name), S("^[a-z][a-z0-9_]*$"))
|
|
117
|
+
* length(F(name), I(1), I(64))
|
|
118
|
+
* or(regex(name, "^[a-z][a-z0-9_]*$"), regex(name, "^[A-Z][A-Z0-9_]*$"))
|
|
119
|
+
* not(regex(name, "^[a-z][a-z0-9_]*$")).if(e-eq(state,"ACTIVE"))
|
|
120
|
+
* and(regex(name, "^[a-z][a-z0-9_]*$"), length(name, 1, 64))
|
|
121
|
+
* nested(subm,update_mask)
|
|
122
|
+
*
|
|
123
|
+
* @generated from field: string id = 1;
|
|
124
|
+
*/
|
|
125
|
+
id: string;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Clear description of the rule that can be understood by non-technical users.
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: string description = 2;
|
|
131
|
+
*/
|
|
132
|
+
description: string;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* The field_paths that are evaluated together to determine if the rule is met.
|
|
136
|
+
* For most cases, this will be a single field_path.
|
|
137
|
+
* An example of a rule with multiple field paths is a rule that requires that the sum of two fields is less than a third field.
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: repeated string field_paths = 3;
|
|
140
|
+
*/
|
|
141
|
+
fieldPaths: string[];
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* A list of nested rules that this rule consists of.
|
|
145
|
+
*
|
|
146
|
+
* @generated from field: repeated alis.open.validation.v1.Rule nested_rules = 4;
|
|
147
|
+
*/
|
|
148
|
+
nestedRules: Rule[];
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Describes the message alis.open.validation.v1.Rule.
|
|
153
|
+
* Use `create(RuleSchema)` to create a new message.
|
|
154
|
+
*/
|
|
155
|
+
export declare const RuleSchema: GenMessage<Rule>;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @generated from message alis.open.validation.v1.FieldViolation
|
|
159
|
+
*/
|
|
160
|
+
export declare type FieldViolation = Message<"alis.open.validation.v1.FieldViolation"> & {
|
|
161
|
+
/**
|
|
162
|
+
* The field path that has a violation
|
|
163
|
+
*
|
|
164
|
+
* @generated from field: string field_path = 1;
|
|
165
|
+
*/
|
|
166
|
+
fieldPath: string;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* The rules that were violated on this field
|
|
170
|
+
*
|
|
171
|
+
* @generated from field: repeated alis.open.validation.v1.Rule violated_rules = 2;
|
|
172
|
+
*/
|
|
173
|
+
violatedRules: Rule[];
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Describes the message alis.open.validation.v1.FieldViolation.
|
|
178
|
+
* Use `create(FieldViolationSchema)` to create a new message.
|
|
179
|
+
*/
|
|
180
|
+
export declare const FieldViolationSchema: GenMessage<FieldViolation>;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from service alis.open.validation.v1.ValidationService
|
|
184
|
+
*/
|
|
185
|
+
export declare const ValidationService: GenService<{
|
|
186
|
+
/**
|
|
187
|
+
* Retrieve the validation rules for a given message type.
|
|
188
|
+
*
|
|
189
|
+
* @generated from rpc alis.open.validation.v1.ValidationService.RetrieveRules
|
|
190
|
+
*/
|
|
191
|
+
retrieveRules: {
|
|
192
|
+
methodKind: "unary";
|
|
193
|
+
input: typeof RetrieveRulesRequestSchema;
|
|
194
|
+
output: typeof RetrieveRulesResponseSchema;
|
|
195
|
+
},
|
|
196
|
+
/**
|
|
197
|
+
* Validates if the given bytes are valid for the given message type.
|
|
198
|
+
* If the bytes cannot be marshalled into the message type, the rpc will return an error instead of the violations.
|
|
199
|
+
*
|
|
200
|
+
* @generated from rpc alis.open.validation.v1.ValidationService.ValidateMessage
|
|
201
|
+
*/
|
|
202
|
+
validateMessage: {
|
|
203
|
+
methodKind: "unary";
|
|
204
|
+
input: typeof ValidateMessageRequestSchema;
|
|
205
|
+
output: typeof ValidateMessageResponseSchema;
|
|
206
|
+
},
|
|
207
|
+
}>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/validation/v1/validation.proto (package alis.open.validation.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file alis/open/validation/v1/validation.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_alis_open_validation_v1_validation = /*@__PURE__*/
|
|
11
|
+
fileDesc("CihhbGlzL29wZW4vdmFsaWRhdGlvbi92MS92YWxpZGF0aW9uLnByb3RvEhdhbGlzLm9wZW4udmFsaWRhdGlvbi52MSIoChRSZXRyaWV2ZVJ1bGVzUmVxdWVzdBIQCghtc2dfdHlwZRgBIAEoCSJFChVSZXRyaWV2ZVJ1bGVzUmVzcG9uc2USLAoFcnVsZXMYASADKAsyHS5hbGlzLm9wZW4udmFsaWRhdGlvbi52MS5SdWxlIkwKFlZhbGlkYXRlTWVzc2FnZVJlcXVlc3QSEAoIbXNnX3R5cGUYASABKAkSCwoDbXNnGAIgASgMEhMKC2ZpZWxkX3BhdGhzGAMgAygJIpIBChdWYWxpZGF0ZU1lc3NhZ2VSZXNwb25zZRI1Cg52aW9sYXRlZF9ydWxlcxgBIAMoCzIdLmFsaXMub3Blbi52YWxpZGF0aW9uLnYxLlJ1bGUSQAoPdmlvbGF0ZWRfZmllbGRzGAIgAygLMicuYWxpcy5vcGVuLnZhbGlkYXRpb24udjEuRmllbGRWaW9sYXRpb24icQoEUnVsZRIKCgJpZBgBIAEoCRITCgtkZXNjcmlwdGlvbhgCIAEoCRITCgtmaWVsZF9wYXRocxgDIAMoCRIzCgxuZXN0ZWRfcnVsZXMYBCADKAsyHS5hbGlzLm9wZW4udmFsaWRhdGlvbi52MS5SdWxlIlsKDkZpZWxkVmlvbGF0aW9uEhIKCmZpZWxkX3BhdGgYASABKAkSNQoOdmlvbGF0ZWRfcnVsZXMYAiADKAsyHS5hbGlzLm9wZW4udmFsaWRhdGlvbi52MS5SdWxlMv0BChFWYWxpZGF0aW9uU2VydmljZRJwCg1SZXRyaWV2ZVJ1bGVzEi0uYWxpcy5vcGVuLnZhbGlkYXRpb24udjEuUmV0cmlldmVSdWxlc1JlcXVlc3QaLi5hbGlzLm9wZW4udmFsaWRhdGlvbi52MS5SZXRyaWV2ZVJ1bGVzUmVzcG9uc2UiABJ2Cg9WYWxpZGF0ZU1lc3NhZ2USLy5hbGlzLm9wZW4udmFsaWRhdGlvbi52MS5WYWxpZGF0ZU1lc3NhZ2VSZXF1ZXN0GjAuYWxpcy5vcGVuLnZhbGlkYXRpb24udjEuVmFsaWRhdGVNZXNzYWdlUmVzcG9uc2UiAEI1WjNvcGVuLmFsaXMuc2VydmljZXMvcHJvdG9idWYvYWxpcy9vcGVuL3ZhbGlkYXRpb24vdjFiBnByb3RvMw");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message alis.open.validation.v1.RetrieveRulesRequest.
|
|
15
|
+
* Use `create(RetrieveRulesRequestSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const RetrieveRulesRequestSchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_alis_open_validation_v1_validation, 0);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message alis.open.validation.v1.RetrieveRulesResponse.
|
|
22
|
+
* Use `create(RetrieveRulesResponseSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const RetrieveRulesResponseSchema = /*@__PURE__*/
|
|
25
|
+
messageDesc(file_alis_open_validation_v1_validation, 1);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message alis.open.validation.v1.ValidateMessageRequest.
|
|
29
|
+
* Use `create(ValidateMessageRequestSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const ValidateMessageRequestSchema = /*@__PURE__*/
|
|
32
|
+
messageDesc(file_alis_open_validation_v1_validation, 2);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message alis.open.validation.v1.ValidateMessageResponse.
|
|
36
|
+
* Use `create(ValidateMessageResponseSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const ValidateMessageResponseSchema = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_alis_open_validation_v1_validation, 3);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message alis.open.validation.v1.Rule.
|
|
43
|
+
* Use `create(RuleSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const RuleSchema = /*@__PURE__*/
|
|
46
|
+
messageDesc(file_alis_open_validation_v1_validation, 4);
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message alis.open.validation.v1.FieldViolation.
|
|
50
|
+
* Use `create(FieldViolationSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const FieldViolationSchema = /*@__PURE__*/
|
|
53
|
+
messageDesc(file_alis_open_validation_v1_validation, 5);
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from service alis.open.validation.v1.ValidationService
|
|
57
|
+
*/
|
|
58
|
+
export const ValidationService = /*@__PURE__*/
|
|
59
|
+
serviceDesc(file_alis_open_validation_v1_validation, 0);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/test/v1/test.proto (package alis.test.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file alis/test/v1/test.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_alis_test_v1_test: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @generated from message alis.test.v1.Test
|
|
15
|
+
*/
|
|
16
|
+
export declare type Test = Message<"alis.test.v1.Test"> & {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: string name = 1;
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: int32 age = 2;
|
|
24
|
+
*/
|
|
25
|
+
age: number;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message alis.test.v1.Test.
|
|
30
|
+
* Use `create(TestSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export declare const TestSchema: GenMessage<Test>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/test/v1/test.proto (package alis.test.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file alis/test/v1/test.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_alis_test_v1_test = /*@__PURE__*/
|
|
11
|
+
fileDesc("ChdhbGlzL3Rlc3QvdjEvdGVzdC5wcm90bxIMYWxpcy50ZXN0LnYxIiEKBFRlc3QSDAoEbmFtZRgBIAEoCRILCgNhZ2UYAiABKAVCAGIGcHJvdG8z");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message alis.test.v1.Test.
|
|
15
|
+
* Use `create(TestSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const TestSchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_alis_test_v1_test, 0);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file common/test/v1/test.proto (package common.test.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file common/test/v1/test.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_common_test_v1_test: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @generated from message common.test.v1.Test
|
|
15
|
+
*/
|
|
16
|
+
export declare type Test = Message<"common.test.v1.Test"> & {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: string name = 1;
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: int32 age = 2;
|
|
24
|
+
*/
|
|
25
|
+
age: number;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message common.test.v1.Test.
|
|
30
|
+
* Use `create(TestSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export declare const TestSchema: GenMessage<Test>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file common/test/v1/test.proto (package common.test.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file common/test/v1/test.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_common_test_v1_test = /*@__PURE__*/
|
|
11
|
+
fileDesc("Chljb21tb24vdGVzdC92MS90ZXN0LnByb3RvEg5jb21tb24udGVzdC52MSIhCgRUZXN0EgwKBG5hbWUYASABKAkSCwoDYWdlGAIgASgFQgBiBnByb3RvMw");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message common.test.v1.Test.
|
|
15
|
+
* Use `create(TestSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const TestSchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_common_test_v1_test, 0);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Copyright 2015 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/annotations.proto (package google.api, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenExtension, GenFile } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import type { MethodOptions } from "../protobuf/descriptor_pb";
|
|
21
|
+
import type { HttpRule } from "./http_pb";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the file google/api/annotations.proto.
|
|
25
|
+
*/
|
|
26
|
+
export declare const file_google_api_annotations: GenFile;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* See `HttpRule`.
|
|
30
|
+
*
|
|
31
|
+
* @generated from extension: google.api.HttpRule http = 72295728;
|
|
32
|
+
*/
|
|
33
|
+
export declare const http: GenExtension<MethodOptions, HttpRule>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// Copyright 2015 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/annotations.proto (package google.api, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import { extDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { file_google_api_http } from "./http_pb";
|
|
21
|
+
import { file_google_protobuf_descriptor } from "../protobuf/descriptor_pb";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the file google/api/annotations.proto.
|
|
25
|
+
*/
|
|
26
|
+
export const file_google_api_annotations = /*@__PURE__*/
|
|
27
|
+
fileDesc("Chxnb29nbGUvYXBpL2Fubm90YXRpb25zLnByb3RvEgpnb29nbGUuYXBpOksKBGh0dHASHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxiwyrwiIAEoCzIULmdvb2dsZS5hcGkuSHR0cFJ1bGVSBGh0dHBCbgoOY29tLmdvb2dsZS5hcGlCEEFubm90YXRpb25zUHJvdG9QAVpBZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvYW5ub3RhdGlvbnM7YW5ub3RhdGlvbnOiAgRHQVBJYgZwcm90bzM", [file_google_api_http, file_google_protobuf_descriptor]);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* See `HttpRule`.
|
|
31
|
+
*
|
|
32
|
+
* @generated from extension: google.api.HttpRule http = 72295728;
|
|
33
|
+
*/
|
|
34
|
+
export const http = /*@__PURE__*/
|
|
35
|
+
extDesc(file_google_api_annotations, 0);
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
// Copyright 2022 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-connect-es v1.7.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/apikeys/v2/apikeys.proto (package google.api.apikeys.v2, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { CreateKeyRequest, DeleteKeyRequest, GetKeyRequest, GetKeyStringRequest, GetKeyStringResponse, ListKeysRequest, ListKeysResponse, LookupKeyRequest, LookupKeyResponse, UndeleteKeyRequest, UpdateKeyRequest } from "./apikeys_pb.js";
|
|
21
|
+
import { Operation } from "../../../longrunning/operations_pb.js";
|
|
22
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
23
|
+
import { Key } from "./resources_pb.js";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Manages the API keys associated with projects.
|
|
27
|
+
*
|
|
28
|
+
* @generated from service google.api.apikeys.v2.ApiKeys
|
|
29
|
+
*/
|
|
30
|
+
export declare const ApiKeys: {
|
|
31
|
+
readonly typeName: "google.api.apikeys.v2.ApiKeys",
|
|
32
|
+
readonly methods: {
|
|
33
|
+
/**
|
|
34
|
+
* Creates a new API key.
|
|
35
|
+
*
|
|
36
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
37
|
+
* location is `global`.
|
|
38
|
+
*
|
|
39
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.CreateKey
|
|
40
|
+
*/
|
|
41
|
+
readonly createKey: {
|
|
42
|
+
readonly name: "CreateKey",
|
|
43
|
+
readonly I: typeof CreateKeyRequest,
|
|
44
|
+
readonly O: typeof Operation,
|
|
45
|
+
readonly kind: MethodKind.Unary,
|
|
46
|
+
},
|
|
47
|
+
/**
|
|
48
|
+
* Lists the API keys owned by a project. The key string of the API key
|
|
49
|
+
* isn't included in the response.
|
|
50
|
+
*
|
|
51
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
52
|
+
* location is `global`.
|
|
53
|
+
*
|
|
54
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.ListKeys
|
|
55
|
+
*/
|
|
56
|
+
readonly listKeys: {
|
|
57
|
+
readonly name: "ListKeys",
|
|
58
|
+
readonly I: typeof ListKeysRequest,
|
|
59
|
+
readonly O: typeof ListKeysResponse,
|
|
60
|
+
readonly kind: MethodKind.Unary,
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* Gets the metadata for an API key. The key string of the API key
|
|
64
|
+
* isn't included in the response.
|
|
65
|
+
*
|
|
66
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
67
|
+
* location is `global`.
|
|
68
|
+
*
|
|
69
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.GetKey
|
|
70
|
+
*/
|
|
71
|
+
readonly getKey: {
|
|
72
|
+
readonly name: "GetKey",
|
|
73
|
+
readonly I: typeof GetKeyRequest,
|
|
74
|
+
readonly O: typeof Key,
|
|
75
|
+
readonly kind: MethodKind.Unary,
|
|
76
|
+
},
|
|
77
|
+
/**
|
|
78
|
+
* Get the key string for an API key.
|
|
79
|
+
*
|
|
80
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
81
|
+
* location is `global`.
|
|
82
|
+
*
|
|
83
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.GetKeyString
|
|
84
|
+
*/
|
|
85
|
+
readonly getKeyString: {
|
|
86
|
+
readonly name: "GetKeyString",
|
|
87
|
+
readonly I: typeof GetKeyStringRequest,
|
|
88
|
+
readonly O: typeof GetKeyStringResponse,
|
|
89
|
+
readonly kind: MethodKind.Unary,
|
|
90
|
+
},
|
|
91
|
+
/**
|
|
92
|
+
* Patches the modifiable fields of an API key.
|
|
93
|
+
* The key string of the API key isn't included in the response.
|
|
94
|
+
*
|
|
95
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
96
|
+
* location is `global`.
|
|
97
|
+
*
|
|
98
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.UpdateKey
|
|
99
|
+
*/
|
|
100
|
+
readonly updateKey: {
|
|
101
|
+
readonly name: "UpdateKey",
|
|
102
|
+
readonly I: typeof UpdateKeyRequest,
|
|
103
|
+
readonly O: typeof Operation,
|
|
104
|
+
readonly kind: MethodKind.Unary,
|
|
105
|
+
},
|
|
106
|
+
/**
|
|
107
|
+
* Deletes an API key. Deleted key can be retrieved within 30 days of
|
|
108
|
+
* deletion. Afterward, key will be purged from the project.
|
|
109
|
+
*
|
|
110
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
111
|
+
* location is `global`.
|
|
112
|
+
*
|
|
113
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.DeleteKey
|
|
114
|
+
*/
|
|
115
|
+
readonly deleteKey: {
|
|
116
|
+
readonly name: "DeleteKey",
|
|
117
|
+
readonly I: typeof DeleteKeyRequest,
|
|
118
|
+
readonly O: typeof Operation,
|
|
119
|
+
readonly kind: MethodKind.Unary,
|
|
120
|
+
},
|
|
121
|
+
/**
|
|
122
|
+
* Undeletes an API key which was deleted within 30 days.
|
|
123
|
+
*
|
|
124
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
125
|
+
* location is `global`.
|
|
126
|
+
*
|
|
127
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.UndeleteKey
|
|
128
|
+
*/
|
|
129
|
+
readonly undeleteKey: {
|
|
130
|
+
readonly name: "UndeleteKey",
|
|
131
|
+
readonly I: typeof UndeleteKeyRequest,
|
|
132
|
+
readonly O: typeof Operation,
|
|
133
|
+
readonly kind: MethodKind.Unary,
|
|
134
|
+
},
|
|
135
|
+
/**
|
|
136
|
+
* Find the parent project and resource name of the API
|
|
137
|
+
* key that matches the key string in the request. If the API key has been
|
|
138
|
+
* purged, resource name will not be set.
|
|
139
|
+
* The service account must have the `apikeys.keys.lookup` permission
|
|
140
|
+
* on the parent project.
|
|
141
|
+
*
|
|
142
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.LookupKey
|
|
143
|
+
*/
|
|
144
|
+
readonly lookupKey: {
|
|
145
|
+
readonly name: "LookupKey",
|
|
146
|
+
readonly I: typeof LookupKeyRequest,
|
|
147
|
+
readonly O: typeof LookupKeyResponse,
|
|
148
|
+
readonly kind: MethodKind.Unary,
|
|
149
|
+
},
|
|
150
|
+
}
|
|
151
|
+
};
|