syntax = "proto3"; package zitadel.settings.v2beta; option go_package = "github.com/zitadel/zitadel/pkg/grpc/settings/v2beta;settings"; import "protoc-gen-openapiv2/options/annotations.proto"; import "zitadel/settings/v2beta/settings.proto"; import "validate/validate.proto"; message LegalAndSupportSettings { string tos_link = 1 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"https://zitadel.com/docs/manage/legal/terms-of-service\""; } ]; string privacy_policy_link = 2 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"https://zitadel.com/docs/manage/legal/policies/privacy-policy\""; } ]; string help_link = 3 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"https://zitadel.com/docs/manage/console-overview\""; } ]; string support_email = 4 [ (validate.rules).string = {ignore_empty: true, max_len: 320, email: true}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"support-email@test.com\""; description: "help / support email address." } ]; // resource_owner_type returns if the setting is managed on the organization or on the instance ResourceOwnerType resource_owner_type = 5 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { description: "resource_owner_type returns if the setting is managed on the organization or on the instance"; } ]; string docs_link = 6 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { description: "Link to documentation to be shown in the management console."; example: "\"https://zitadel.com/docs\""; } ]; string custom_link = 7 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { description: "Link to an external resource that will be available to users in the management console."; example: "\"https://external.link\""; } ]; string custom_link_text = 8 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { description: "The button text that would be shown in the management console pointing to custom link."; example: "\"External\""; } ]; }