@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,564 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/iam/v1/oauth.proto (package alis.open.iam.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { IdentityProvider } from "./user_pb";
|
|
8
|
+
import type { Duration } from "@alis-build/google-common-protos/google/protobuf/duration_pb";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file alis/open/iam/v1/oauth.proto.
|
|
12
|
+
*/
|
|
13
|
+
export declare const file_alis_open_iam_v1_oauth: GenFile;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Optional IAM config to use on a product deployment which, if set, will create an alis managed oauth reverse proxy endpoint
|
|
17
|
+
* This endpoint can be used by backend-for-frontend services to authenticate users
|
|
18
|
+
*
|
|
19
|
+
* @generated from message alis.open.iam.v1.IamConfig
|
|
20
|
+
*/
|
|
21
|
+
export declare type IamConfig = Message<"alis.open.iam.v1.IamConfig"> & {
|
|
22
|
+
/**
|
|
23
|
+
* The set of valid oauth providers
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: alis.open.iam.v1.IamConfig.AuthProviders auth_providers = 1;
|
|
26
|
+
*/
|
|
27
|
+
authProviders?: IamConfig_AuthProviders;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Specification of self signup requirements
|
|
31
|
+
*
|
|
32
|
+
* If empty, then self signup is not allowed.
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: alis.open.iam.v1.IamConfig.SelfSignupSpec self_signup_spec = 2;
|
|
35
|
+
*/
|
|
36
|
+
selfSignupSpec?: IamConfig_SelfSignupSpec;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* The uri to the logo to use on the signin & signup pages.
|
|
40
|
+
* Suggested that the image has aspect ratio 1:1 (eg 32x32, 64x64, ...)
|
|
41
|
+
* Format: https://...
|
|
42
|
+
*
|
|
43
|
+
* @generated from field: string logo_uri = 3;
|
|
44
|
+
*/
|
|
45
|
+
logoUri: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Once a user has successfully been authenticated using the relevant
|
|
49
|
+
* auth provider, various cookies will be set that will be used for
|
|
50
|
+
* authenticating any calls that the user makes to the API.
|
|
51
|
+
*
|
|
52
|
+
* Cookies are set BY a specific host and FOR a specific domain.
|
|
53
|
+
*
|
|
54
|
+
* The host and domain combination can be best
|
|
55
|
+
* explained using the following examples:
|
|
56
|
+
*
|
|
57
|
+
* Host: app.example.com
|
|
58
|
+
* Domain: Unspecified
|
|
59
|
+
* In this example, the authentication is hosted on
|
|
60
|
+
* app.example.com and, since the domain is not
|
|
61
|
+
* specified, the domain will default to the host. This means
|
|
62
|
+
* that the auth cookies will only be valid for
|
|
63
|
+
* app.example.com and can NOT be used by any other
|
|
64
|
+
* domains, such as reports.example.com
|
|
65
|
+
*
|
|
66
|
+
* Host: one.app.example.com
|
|
67
|
+
* Domain: app.example.com
|
|
68
|
+
* In this example, the authentication is hosted on
|
|
69
|
+
* one.app.example.com and the domain specified is one
|
|
70
|
+
* level higher, ie. app.example.com. This means that
|
|
71
|
+
* the auth cookies will be valid for <b>any</b> sub-domains of
|
|
72
|
+
* app.example.com, such as
|
|
73
|
+
* one.app.example.com, two.app.example.com,
|
|
74
|
+
* anything.app.example.com.
|
|
75
|
+
* The cookies are however NOT valid for any other sub-domain of
|
|
76
|
+
* example.com, such as reports.example.com
|
|
77
|
+
*
|
|
78
|
+
* Host: abc.app.example.com
|
|
79
|
+
* Domain: example.com
|
|
80
|
+
* In this example, the authentication is hosted on
|
|
81
|
+
* abc.app.example.com and the domain specified is at
|
|
82
|
+
* the top most level, ie. example.com. This means that
|
|
83
|
+
* the auth cookies will be valid for <b>any</b> sub-domains of
|
|
84
|
+
* example.com, such as abc.app.example.com,
|
|
85
|
+
* xyz.app.example.com,
|
|
86
|
+
* anything.app.example.com
|
|
87
|
+
* As well as:
|
|
88
|
+
* some.reports.example.com,
|
|
89
|
+
* reports.example.com, example.com, etc.
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: repeated alis.open.iam.v1.IamConfig.CookieDomain cookie_domains = 4;
|
|
92
|
+
*/
|
|
93
|
+
cookieDomains: IamConfig_CookieDomain[];
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* The google group that all users that have Google as their identity provider are added to.
|
|
97
|
+
* If empty, no group is used.
|
|
98
|
+
* If specified, the members of this group will be kept in sync with the users that have Google as their identity provider.
|
|
99
|
+
*
|
|
100
|
+
* Example: builders@alis.exchange
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: string google_group = 5;
|
|
103
|
+
*/
|
|
104
|
+
googleGroup: string;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Describes the message alis.open.iam.v1.IamConfig.
|
|
109
|
+
* Use `create(IamConfigSchema)` to create a new message.
|
|
110
|
+
*/
|
|
111
|
+
export declare const IamConfigSchema: GenMessage<IamConfig>;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Definition of the Oauth providers for the Config
|
|
115
|
+
*
|
|
116
|
+
* @generated from message alis.open.iam.v1.IamConfig.AuthProviders
|
|
117
|
+
*/
|
|
118
|
+
export declare type IamConfig_AuthProviders = Message<"alis.open.iam.v1.IamConfig.AuthProviders"> & {
|
|
119
|
+
/**
|
|
120
|
+
* Google oauth provider
|
|
121
|
+
*
|
|
122
|
+
* @generated from field: alis.open.iam.v1.OauthProvider google = 1;
|
|
123
|
+
*/
|
|
124
|
+
google?: OauthProvider;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Microsoft oauth provider
|
|
128
|
+
*
|
|
129
|
+
* @generated from field: alis.open.iam.v1.OauthProvider microsoft = 2;
|
|
130
|
+
*/
|
|
131
|
+
microsoft?: OauthProvider;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Email auth provider
|
|
135
|
+
*
|
|
136
|
+
* @generated from field: alis.open.iam.v1.EmailAuthProvider email = 3;
|
|
137
|
+
*/
|
|
138
|
+
email?: EmailAuthProvider;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Linked auth provider
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: alis.open.iam.v1.OauthProvider linkedin = 4;
|
|
144
|
+
*/
|
|
145
|
+
linkedin?: OauthProvider;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Apple auth provider
|
|
149
|
+
*
|
|
150
|
+
* @generated from field: alis.open.iam.v1.AppleAuthProvider apple = 5;
|
|
151
|
+
*/
|
|
152
|
+
apple?: AppleAuthProvider;
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Describes the message alis.open.iam.v1.IamConfig.AuthProviders.
|
|
157
|
+
* Use `create(IamConfig_AuthProvidersSchema)` to create a new message.
|
|
158
|
+
*/
|
|
159
|
+
export declare const IamConfig_AuthProvidersSchema: GenMessage<IamConfig_AuthProviders>;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* The description of self signup
|
|
163
|
+
*
|
|
164
|
+
* @generated from message alis.open.iam.v1.IamConfig.SelfSignupSpec
|
|
165
|
+
*/
|
|
166
|
+
export declare type IamConfig_SelfSignupSpec = Message<"alis.open.iam.v1.IamConfig.SelfSignupSpec"> & {
|
|
167
|
+
/**
|
|
168
|
+
* The domains and associated providers (optional)
|
|
169
|
+
* which are allowed to self signup.
|
|
170
|
+
*
|
|
171
|
+
* If no DomainProviders are specified, self signup is not allowed.
|
|
172
|
+
*
|
|
173
|
+
* @generated from field: repeated alis.open.iam.v1.IamConfig.SelfSignupSpec.DomainProvider domain_providers = 1;
|
|
174
|
+
*/
|
|
175
|
+
domainProviders: IamConfig_SelfSignupSpec_DomainProvider[];
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* The default roles assigned to a user when they self sign up
|
|
179
|
+
* Format: ["roles/*", ...]
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: repeated string default_roles = 2;
|
|
182
|
+
*/
|
|
183
|
+
defaultRoles: string[];
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Describes the message alis.open.iam.v1.IamConfig.SelfSignupSpec.
|
|
188
|
+
* Use `create(IamConfig_SelfSignupSpecSchema)` to create a new message.
|
|
189
|
+
*/
|
|
190
|
+
export declare const IamConfig_SelfSignupSpecSchema: GenMessage<IamConfig_SelfSignupSpec>;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Definition of a Domain Provider that allows
|
|
194
|
+
* a mapping between a domain and Identity Provider.
|
|
195
|
+
*
|
|
196
|
+
* This allows auto redirect to the relevant IdP when a user
|
|
197
|
+
* from the specific domain signs up
|
|
198
|
+
*
|
|
199
|
+
* @generated from message alis.open.iam.v1.IamConfig.SelfSignupSpec.DomainProvider
|
|
200
|
+
*/
|
|
201
|
+
export declare type IamConfig_SelfSignupSpec_DomainProvider = Message<"alis.open.iam.v1.IamConfig.SelfSignupSpec.DomainProvider"> & {
|
|
202
|
+
/**
|
|
203
|
+
* The relevant domain which is allowed to self signup
|
|
204
|
+
* "*" indicates all domains are allowed.
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: string domain = 1;
|
|
207
|
+
*/
|
|
208
|
+
domain: string;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* The associated Identity Provider (IdP)
|
|
212
|
+
*
|
|
213
|
+
* In the case that the IdP is:
|
|
214
|
+
* UNSPECIFIED - will provide options of available IdPs for sign up
|
|
215
|
+
* (Any specified) - will automatically redirect to the relevant IdP for sign up
|
|
216
|
+
*
|
|
217
|
+
* In the case that the domain is specified as '*'
|
|
218
|
+
* then this field needs to be UNSPECIFIED
|
|
219
|
+
*
|
|
220
|
+
* @generated from field: alis.open.iam.v1.IdentityProvider identity_provider = 2;
|
|
221
|
+
*/
|
|
222
|
+
identityProvider: IdentityProvider;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Whether to force users to provide their credentials when signing in.
|
|
226
|
+
*
|
|
227
|
+
* The default (false) behaviour is that users are allowed to select
|
|
228
|
+
* and account from a corporate identity for which they are already
|
|
229
|
+
* signed in for. Some organisations may however require users to
|
|
230
|
+
* follow an entire authentication flow when signing in,
|
|
231
|
+
* rather than just selecting the relevant account from the
|
|
232
|
+
* already signed in corporate identities.
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: bool force_login = 3;
|
|
235
|
+
*/
|
|
236
|
+
forceLogin: boolean;
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Describes the message alis.open.iam.v1.IamConfig.SelfSignupSpec.DomainProvider.
|
|
241
|
+
* Use `create(IamConfig_SelfSignupSpec_DomainProviderSchema)` to create a new message.
|
|
242
|
+
*/
|
|
243
|
+
export declare const IamConfig_SelfSignupSpec_DomainProviderSchema: GenMessage<IamConfig_SelfSignupSpec_DomainProvider>;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* The definition of the cookie domain
|
|
247
|
+
*
|
|
248
|
+
* @generated from message alis.open.iam.v1.IamConfig.CookieDomain
|
|
249
|
+
*/
|
|
250
|
+
export declare type IamConfig_CookieDomain = Message<"alis.open.iam.v1.IamConfig.CookieDomain"> & {
|
|
251
|
+
/**
|
|
252
|
+
* The host refers to the sub-domain which will
|
|
253
|
+
* the authentication, ie. require users to sign in or sign up.
|
|
254
|
+
*
|
|
255
|
+
* @generated from field: string host = 1;
|
|
256
|
+
*/
|
|
257
|
+
host: string;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* The domain refers to the domain for
|
|
261
|
+
* which the auth cookies are valid.
|
|
262
|
+
*
|
|
263
|
+
* By default, the domain is set to the host, but may
|
|
264
|
+
* be specified to use a higher level domain.
|
|
265
|
+
*
|
|
266
|
+
* @generated from field: string domain = 2;
|
|
267
|
+
*/
|
|
268
|
+
domain: string;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* The same site setting to use for the refresh_token and id_token cookies.
|
|
272
|
+
* If none is specified, lax is used.
|
|
273
|
+
* For embedded applications, like the excel addin, none must be used.
|
|
274
|
+
*
|
|
275
|
+
* @generated from field: alis.open.iam.v1.IamConfig.CookieDomain.SameSite same_site = 3;
|
|
276
|
+
*/
|
|
277
|
+
sameSite: IamConfig_CookieDomain_SameSite;
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Describes the message alis.open.iam.v1.IamConfig.CookieDomain.
|
|
282
|
+
* Use `create(IamConfig_CookieDomainSchema)` to create a new message.
|
|
283
|
+
*/
|
|
284
|
+
export declare const IamConfig_CookieDomainSchema: GenMessage<IamConfig_CookieDomain>;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* The enum for the SameSite setting
|
|
288
|
+
*
|
|
289
|
+
* @generated from enum alis.open.iam.v1.IamConfig.CookieDomain.SameSite
|
|
290
|
+
*/
|
|
291
|
+
export enum IamConfig_CookieDomain_SameSite {
|
|
292
|
+
/**
|
|
293
|
+
* Unspecified
|
|
294
|
+
*
|
|
295
|
+
* @generated from enum value: SAME_SITE_UNSPECIFIED = 0;
|
|
296
|
+
*/
|
|
297
|
+
UNSPECIFIED = 0,
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* The cookie is sent in the request
|
|
301
|
+
* if the request is for the same site
|
|
302
|
+
* as the cookie.
|
|
303
|
+
*
|
|
304
|
+
* @generated from enum value: SAME_SITE_STRICT = 1;
|
|
305
|
+
*/
|
|
306
|
+
STRICT = 1,
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* The cookie is sent in the request
|
|
310
|
+
* if the request is for the same site
|
|
311
|
+
* as the cookie, or if the request is
|
|
312
|
+
* from a top-level navigation.
|
|
313
|
+
*
|
|
314
|
+
* @generated from enum value: SAME_SITE_LAX = 2;
|
|
315
|
+
*/
|
|
316
|
+
LAX = 2,
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* The cookie is sent in the request
|
|
320
|
+
* regardless of the site.
|
|
321
|
+
*
|
|
322
|
+
* @generated from enum value: SAME_SITE_NONE = 3;
|
|
323
|
+
*/
|
|
324
|
+
NONE = 3,
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Describes the enum alis.open.iam.v1.IamConfig.CookieDomain.SameSite.
|
|
329
|
+
*/
|
|
330
|
+
export declare const IamConfig_CookieDomain_SameSiteSchema: GenEnum<IamConfig_CookieDomain_SameSite>;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* The UI config is used by the Vue Console to dynamically configure the UI
|
|
334
|
+
*
|
|
335
|
+
* TODO: Ruan to populate
|
|
336
|
+
*
|
|
337
|
+
* @generated from message alis.open.iam.v1.UiConfig
|
|
338
|
+
*/
|
|
339
|
+
export declare type UiConfig = Message<"alis.open.iam.v1.UiConfig"> & {
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Describes the message alis.open.iam.v1.UiConfig.
|
|
344
|
+
* Use `create(UiConfigSchema)` to create a new message.
|
|
345
|
+
*/
|
|
346
|
+
export declare const UiConfigSchema: GenMessage<UiConfig>;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Definition of an OAuth provider
|
|
350
|
+
*
|
|
351
|
+
* @generated from message alis.open.iam.v1.OauthProvider
|
|
352
|
+
*/
|
|
353
|
+
export declare type OauthProvider = Message<"alis.open.iam.v1.OauthProvider"> & {
|
|
354
|
+
/**
|
|
355
|
+
* The client id of the oauth provider.
|
|
356
|
+
*
|
|
357
|
+
* @generated from field: string client_id = 1;
|
|
358
|
+
*/
|
|
359
|
+
clientId: string;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* The client secret of the oauth provider.
|
|
363
|
+
*
|
|
364
|
+
* @generated from field: string client_secret = 2;
|
|
365
|
+
*/
|
|
366
|
+
clientSecret: string;
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Describes the message alis.open.iam.v1.OauthProvider.
|
|
371
|
+
* Use `create(OauthProviderSchema)` to create a new message.
|
|
372
|
+
*/
|
|
373
|
+
export declare const OauthProviderSchema: GenMessage<OauthProvider>;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Email provider
|
|
377
|
+
*
|
|
378
|
+
* @generated from message alis.open.iam.v1.EmailAuthProvider
|
|
379
|
+
*/
|
|
380
|
+
export declare type EmailAuthProvider = Message<"alis.open.iam.v1.EmailAuthProvider"> & {
|
|
381
|
+
/**
|
|
382
|
+
* The email address that the email will be received _from_.
|
|
383
|
+
* E.g. noreply@alis.build
|
|
384
|
+
*
|
|
385
|
+
* @generated from field: string from_email = 1;
|
|
386
|
+
*/
|
|
387
|
+
fromEmail: string;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* In order to enable sign up using email, a server is required
|
|
391
|
+
* to send the emails on your behalf.
|
|
392
|
+
*
|
|
393
|
+
* @generated from field: alis.open.iam.v1.EmailAuthProvider.Server server = 2;
|
|
394
|
+
*/
|
|
395
|
+
server?: EmailAuthProvider_Server;
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* The time that needs to pass before a user can request another email.
|
|
399
|
+
* Default is none, but highly recommended to set to prevent spam.
|
|
400
|
+
*
|
|
401
|
+
* @generated from field: google.protobuf.Duration throttle_duration = 3;
|
|
402
|
+
*/
|
|
403
|
+
throttleDuration?: Duration;
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* The duration that a user must is auto signed in for after clicking the sign in link.
|
|
407
|
+
* This corresponds directly to the expiry date on the refresh token.
|
|
408
|
+
* If not set, a user is signed in for 8 hours.
|
|
409
|
+
*
|
|
410
|
+
* @generated from field: google.protobuf.Duration signed_in_duration = 4;
|
|
411
|
+
*/
|
|
412
|
+
signedInDuration?: Duration;
|
|
413
|
+
};
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Describes the message alis.open.iam.v1.EmailAuthProvider.
|
|
417
|
+
* Use `create(EmailAuthProviderSchema)` to create a new message.
|
|
418
|
+
*/
|
|
419
|
+
export declare const EmailAuthProviderSchema: GenMessage<EmailAuthProvider>;
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* The available servers.
|
|
423
|
+
*
|
|
424
|
+
* @generated from message alis.open.iam.v1.EmailAuthProvider.Server
|
|
425
|
+
*/
|
|
426
|
+
export declare type EmailAuthProvider_Server = Message<"alis.open.iam.v1.EmailAuthProvider.Server"> & {
|
|
427
|
+
/**
|
|
428
|
+
* Usage of the SendGrid Email API to send
|
|
429
|
+
* through the sign in information.
|
|
430
|
+
*
|
|
431
|
+
* @generated from field: alis.open.iam.v1.EmailAuthProvider.Sendgrid sendgrid = 1;
|
|
432
|
+
*/
|
|
433
|
+
sendgrid?: EmailAuthProvider_Sendgrid;
|
|
434
|
+
};
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* Describes the message alis.open.iam.v1.EmailAuthProvider.Server.
|
|
438
|
+
* Use `create(EmailAuthProvider_ServerSchema)` to create a new message.
|
|
439
|
+
*/
|
|
440
|
+
export declare const EmailAuthProvider_ServerSchema: GenMessage<EmailAuthProvider_Server>;
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Definition of the Sendgrid email server
|
|
444
|
+
*
|
|
445
|
+
* @generated from message alis.open.iam.v1.EmailAuthProvider.Sendgrid
|
|
446
|
+
*/
|
|
447
|
+
export declare type EmailAuthProvider_Sendgrid = Message<"alis.open.iam.v1.EmailAuthProvider.Sendgrid"> & {
|
|
448
|
+
/**
|
|
449
|
+
* The SendGrid API key to use.
|
|
450
|
+
*
|
|
451
|
+
* The key should be created (https://app.sendgrid.com/settings/api_keys)
|
|
452
|
+
* to have Restriced Access and needs to have the following permissions:
|
|
453
|
+
* - Mail Send
|
|
454
|
+
*
|
|
455
|
+
* @generated from field: string api_key = 1;
|
|
456
|
+
*/
|
|
457
|
+
apiKey: string;
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* The template to use for sending the email
|
|
461
|
+
*
|
|
462
|
+
* @generated from oneof alis.open.iam.v1.EmailAuthProvider.Sendgrid.template
|
|
463
|
+
*/
|
|
464
|
+
template: {
|
|
465
|
+
/**
|
|
466
|
+
* The SendGrid Dynamic Template ID to use.
|
|
467
|
+
* Create template at https://mc.sendgrid.com/dynamic-templates.
|
|
468
|
+
*
|
|
469
|
+
* In order for the template to work, it should include
|
|
470
|
+
* the following data variables:
|
|
471
|
+
* - data.signInUrl
|
|
472
|
+
*
|
|
473
|
+
* The `data.signInUrl` can be added to a button for example that
|
|
474
|
+
* allows the user to click to.
|
|
475
|
+
*
|
|
476
|
+
* TODO: other templates like html
|
|
477
|
+
*
|
|
478
|
+
* @generated from field: string dynamic_template_id = 2;
|
|
479
|
+
*/
|
|
480
|
+
value: string;
|
|
481
|
+
case: "dynamicTemplateId";
|
|
482
|
+
} | { case: undefined; value?: undefined };
|
|
483
|
+
};
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Describes the message alis.open.iam.v1.EmailAuthProvider.Sendgrid.
|
|
487
|
+
* Use `create(EmailAuthProvider_SendgridSchema)` to create a new message.
|
|
488
|
+
*/
|
|
489
|
+
export declare const EmailAuthProvider_SendgridSchema: GenMessage<EmailAuthProvider_Sendgrid>;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* Apple provider
|
|
493
|
+
*
|
|
494
|
+
* @generated from message alis.open.iam.v1.AppleAuthProvider
|
|
495
|
+
*/
|
|
496
|
+
export declare type AppleAuthProvider = Message<"alis.open.iam.v1.AppleAuthProvider"> & {
|
|
497
|
+
/**
|
|
498
|
+
* The team id of the apple provider.
|
|
499
|
+
*
|
|
500
|
+
* @generated from field: string team_id = 1;
|
|
501
|
+
*/
|
|
502
|
+
teamId: string;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* The client id of the oauth provider.
|
|
506
|
+
*
|
|
507
|
+
* @generated from field: string client_id = 2;
|
|
508
|
+
*/
|
|
509
|
+
clientId: string;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* The client secret of the oauth provider.
|
|
513
|
+
*
|
|
514
|
+
* @generated from field: string client_secret = 3;
|
|
515
|
+
*/
|
|
516
|
+
clientSecret: string;
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* The key id of the private/secret key.
|
|
520
|
+
*
|
|
521
|
+
* @generated from field: string key_id = 4;
|
|
522
|
+
*/
|
|
523
|
+
keyId: string;
|
|
524
|
+
};
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Describes the message alis.open.iam.v1.AppleAuthProvider.
|
|
528
|
+
* Use `create(AppleAuthProviderSchema)` to create a new message.
|
|
529
|
+
*/
|
|
530
|
+
export declare const AppleAuthProviderSchema: GenMessage<AppleAuthProvider>;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* Structure of the alis.build generated refresh token
|
|
534
|
+
*
|
|
535
|
+
* @generated from message alis.open.iam.v1.RefreshToken
|
|
536
|
+
*/
|
|
537
|
+
export declare type RefreshToken = Message<"alis.open.iam.v1.RefreshToken"> & {
|
|
538
|
+
/**
|
|
539
|
+
* The provider's refresh token
|
|
540
|
+
*
|
|
541
|
+
* @generated from field: string token = 1;
|
|
542
|
+
*/
|
|
543
|
+
token: string;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* The provider
|
|
547
|
+
*
|
|
548
|
+
* @generated from field: alis.open.iam.v1.IdentityProvider provider = 2;
|
|
549
|
+
*/
|
|
550
|
+
provider: IdentityProvider;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* The redirect uri used to get the refresh token
|
|
554
|
+
*
|
|
555
|
+
* @generated from field: string redirect_uri = 3;
|
|
556
|
+
*/
|
|
557
|
+
redirectUri: string;
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Describes the message alis.open.iam.v1.RefreshToken.
|
|
562
|
+
* Use `create(RefreshTokenSchema)` to create a new message.
|
|
563
|
+
*/
|
|
564
|
+
export declare const RefreshTokenSchema: GenMessage<RefreshToken>;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/iam/v1/oauth.proto (package alis.open.iam.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_alis_open_iam_v1_user } from "./user_pb";
|
|
7
|
+
import { file_google_protobuf_duration } from "@alis-build/google-common-protos/google/protobuf/duration_pb";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file alis/open/iam/v1/oauth.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_alis_open_iam_v1_oauth = /*@__PURE__*/
|
|
13
|
+
fileDesc("ChxhbGlzL29wZW4vaWFtL3YxL29hdXRoLnByb3RvEhBhbGlzLm9wZW4uaWFtLnYxIt4HCglJYW1Db25maWcSQQoOYXV0aF9wcm92aWRlcnMYASABKAsyKS5hbGlzLm9wZW4uaWFtLnYxLklhbUNvbmZpZy5BdXRoUHJvdmlkZXJzEkQKEHNlbGZfc2lnbnVwX3NwZWMYAiABKAsyKi5hbGlzLm9wZW4uaWFtLnYxLklhbUNvbmZpZy5TZWxmU2lnbnVwU3BlYxIQCghsb2dvX3VyaRgDIAEoCRJACg5jb29raWVfZG9tYWlucxgEIAMoCzIoLmFsaXMub3Blbi5pYW0udjEuSWFtQ29uZmlnLkNvb2tpZURvbWFpbhIUCgxnb29nbGVfZ3JvdXAYBSABKAkajwIKDUF1dGhQcm92aWRlcnMSLwoGZ29vZ2xlGAEgASgLMh8uYWxpcy5vcGVuLmlhbS52MS5PYXV0aFByb3ZpZGVyEjIKCW1pY3Jvc29mdBgCIAEoCzIfLmFsaXMub3Blbi5pYW0udjEuT2F1dGhQcm92aWRlchIyCgVlbWFpbBgDIAEoCzIjLmFsaXMub3Blbi5pYW0udjEuRW1haWxBdXRoUHJvdmlkZXISMQoIbGlua2VkaW4YBCABKAsyHy5hbGlzLm9wZW4uaWFtLnYxLk9hdXRoUHJvdmlkZXISMgoFYXBwbGUYBSABKAsyIy5hbGlzLm9wZW4uaWFtLnYxLkFwcGxlQXV0aFByb3ZpZGVyGvIBCg5TZWxmU2lnbnVwU3BlYxJTChBkb21haW5fcHJvdmlkZXJzGAEgAygLMjkuYWxpcy5vcGVuLmlhbS52MS5JYW1Db25maWcuU2VsZlNpZ251cFNwZWMuRG9tYWluUHJvdmlkZXISFQoNZGVmYXVsdF9yb2xlcxgCIAMoCRp0Cg5Eb21haW5Qcm92aWRlchIOCgZkb21haW4YASABKAkSPQoRaWRlbnRpdHlfcHJvdmlkZXIYAiABKA4yIi5hbGlzLm9wZW4uaWFtLnYxLklkZW50aXR5UHJvdmlkZXISEwoLZm9yY2VfbG9naW4YAyABKAga1gEKDENvb2tpZURvbWFpbhIMCgRob3N0GAEgASgJEg4KBmRvbWFpbhgCIAEoCRJECglzYW1lX3NpdGUYAyABKA4yMS5hbGlzLm9wZW4uaWFtLnYxLklhbUNvbmZpZy5Db29raWVEb21haW4uU2FtZVNpdGUiYgoIU2FtZVNpdGUSGQoVU0FNRV9TSVRFX1VOU1BFQ0lGSUVEEAASFAoQU0FNRV9TSVRFX1NUUklDVBABEhEKDVNBTUVfU0lURV9MQVgQAhISCg5TQU1FX1NJVEVfTk9ORRADIgoKCFVpQ29uZmlnIjkKDU9hdXRoUHJvdmlkZXISEQoJY2xpZW50X2lkGAEgASgJEhUKDWNsaWVudF9zZWNyZXQYAiABKAki4gIKEUVtYWlsQXV0aFByb3ZpZGVyEhIKCmZyb21fZW1haWwYASABKAkSOgoGc2VydmVyGAIgASgLMiouYWxpcy5vcGVuLmlhbS52MS5FbWFpbEF1dGhQcm92aWRlci5TZXJ2ZXISNAoRdGhyb3R0bGVfZHVyYXRpb24YAyABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24SNQoSc2lnbmVkX2luX2R1cmF0aW9uGAQgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uGkgKBlNlcnZlchI+CghzZW5kZ3JpZBgBIAEoCzIsLmFsaXMub3Blbi5pYW0udjEuRW1haWxBdXRoUHJvdmlkZXIuU2VuZGdyaWQaRgoIU2VuZGdyaWQSDwoHYXBpX2tleRgBIAEoCRIdChNkeW5hbWljX3RlbXBsYXRlX2lkGAIgASgJSABCCgoIdGVtcGxhdGUiXgoRQXBwbGVBdXRoUHJvdmlkZXISDwoHdGVhbV9pZBgBIAEoCRIRCgljbGllbnRfaWQYAiABKAkSFQoNY2xpZW50X3NlY3JldBgDIAEoCRIOCgZrZXlfaWQYBCABKAkiaQoMUmVmcmVzaFRva2VuEg0KBXRva2VuGAEgASgJEjQKCHByb3ZpZGVyGAIgASgOMiIuYWxpcy5vcGVuLmlhbS52MS5JZGVudGl0eVByb3ZpZGVyEhQKDHJlZGlyZWN0X3VyaRgDIAEoCUIuWixvcGVuLmFsaXMuc2VydmljZXMvcHJvdG9idWYvYWxpcy9vcGVuL2lhbS92MWIGcHJvdG8z", [file_alis_open_iam_v1_user, file_google_protobuf_duration]);
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message alis.open.iam.v1.IamConfig.
|
|
17
|
+
* Use `create(IamConfigSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const IamConfigSchema = /*@__PURE__*/
|
|
20
|
+
messageDesc(file_alis_open_iam_v1_oauth, 0);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message alis.open.iam.v1.IamConfig.AuthProviders.
|
|
24
|
+
* Use `create(IamConfig_AuthProvidersSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const IamConfig_AuthProvidersSchema = /*@__PURE__*/
|
|
27
|
+
messageDesc(file_alis_open_iam_v1_oauth, 0, 0);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message alis.open.iam.v1.IamConfig.SelfSignupSpec.
|
|
31
|
+
* Use `create(IamConfig_SelfSignupSpecSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const IamConfig_SelfSignupSpecSchema = /*@__PURE__*/
|
|
34
|
+
messageDesc(file_alis_open_iam_v1_oauth, 0, 1);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message alis.open.iam.v1.IamConfig.SelfSignupSpec.DomainProvider.
|
|
38
|
+
* Use `create(IamConfig_SelfSignupSpec_DomainProviderSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const IamConfig_SelfSignupSpec_DomainProviderSchema = /*@__PURE__*/
|
|
41
|
+
messageDesc(file_alis_open_iam_v1_oauth, 0, 1, 0);
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message alis.open.iam.v1.IamConfig.CookieDomain.
|
|
45
|
+
* Use `create(IamConfig_CookieDomainSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const IamConfig_CookieDomainSchema = /*@__PURE__*/
|
|
48
|
+
messageDesc(file_alis_open_iam_v1_oauth, 0, 2);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the enum alis.open.iam.v1.IamConfig.CookieDomain.SameSite.
|
|
52
|
+
*/
|
|
53
|
+
export const IamConfig_CookieDomain_SameSiteSchema = /*@__PURE__*/
|
|
54
|
+
enumDesc(file_alis_open_iam_v1_oauth, 0, 2, 0);
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The enum for the SameSite setting
|
|
58
|
+
*
|
|
59
|
+
* @generated from enum alis.open.iam.v1.IamConfig.CookieDomain.SameSite
|
|
60
|
+
*/
|
|
61
|
+
export const IamConfig_CookieDomain_SameSite = /*@__PURE__*/
|
|
62
|
+
tsEnum(IamConfig_CookieDomain_SameSiteSchema);
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message alis.open.iam.v1.UiConfig.
|
|
66
|
+
* Use `create(UiConfigSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export const UiConfigSchema = /*@__PURE__*/
|
|
69
|
+
messageDesc(file_alis_open_iam_v1_oauth, 1);
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message alis.open.iam.v1.OauthProvider.
|
|
73
|
+
* Use `create(OauthProviderSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export const OauthProviderSchema = /*@__PURE__*/
|
|
76
|
+
messageDesc(file_alis_open_iam_v1_oauth, 2);
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message alis.open.iam.v1.EmailAuthProvider.
|
|
80
|
+
* Use `create(EmailAuthProviderSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
export const EmailAuthProviderSchema = /*@__PURE__*/
|
|
83
|
+
messageDesc(file_alis_open_iam_v1_oauth, 3);
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Describes the message alis.open.iam.v1.EmailAuthProvider.Server.
|
|
87
|
+
* Use `create(EmailAuthProvider_ServerSchema)` to create a new message.
|
|
88
|
+
*/
|
|
89
|
+
export const EmailAuthProvider_ServerSchema = /*@__PURE__*/
|
|
90
|
+
messageDesc(file_alis_open_iam_v1_oauth, 3, 0);
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message alis.open.iam.v1.EmailAuthProvider.Sendgrid.
|
|
94
|
+
* Use `create(EmailAuthProvider_SendgridSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export const EmailAuthProvider_SendgridSchema = /*@__PURE__*/
|
|
97
|
+
messageDesc(file_alis_open_iam_v1_oauth, 3, 1);
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message alis.open.iam.v1.AppleAuthProvider.
|
|
101
|
+
* Use `create(AppleAuthProviderSchema)` to create a new message.
|
|
102
|
+
*/
|
|
103
|
+
export const AppleAuthProviderSchema = /*@__PURE__*/
|
|
104
|
+
messageDesc(file_alis_open_iam_v1_oauth, 4);
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message alis.open.iam.v1.RefreshToken.
|
|
108
|
+
* Use `create(RefreshTokenSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export const RefreshTokenSchema = /*@__PURE__*/
|
|
111
|
+
messageDesc(file_alis_open_iam_v1_oauth, 5);
|