RequestOrganizationPluginSettings
namestringrequired
Название конфигурации
config objectrequired
Настройки инсталяции
customPreviewbooleanrequired
headerlessbooleanrequired
style objectrequired
roundingstring
Possible values: [small, medium, large, xlarge]
mainColorstring<color>
darkColorstring<color>
mainButtonTextColorstring<color>
secondaryColorstring<color>
secondaryButtonTextColorstring<color>
extraLinkValidationPatternstring<regex>
extensions objectrequired
property name*boolean
fonts object[]required
Array [
valuestringrequired
textstringrequired
weightsinteger[]
urlstring
]
palettestring[]required
Цветовая палитра
predefinedUtilityLinks object[]
Предопределенные служебные ссылки
Array [
descriptionstringrequired
Описание ссылки
keystringrequired
Ключ ссылки
labelstringrequired
Метка ссылки
namestringrequired
Название ссылки
valuestringrequired
Значение ссылки
]
customLinkAttributes object[]
Пользовательские атрибуты ссылок
Array [
keystringrequired
Атрибут ссылки
valuestringrequired
Значение атрибута
namestringrequired
Название атрибута
descriptionstringrequired
Подсказка для интерфейса
]
templateUUIDstring<uuid>required
UUID шаблона настроек плагина
RequestOrganizationPluginSettings
{
"name": "string",
"config": {
"customPreview": true,
"headerless": true,
"style": {
"rounding": "small",
"mainColor": "string",
"darkColor": "string",
"mainButtonTextColor": "string",
"secondaryColor": "string",
"secondaryButtonTextColor": "string"
},
"extraLinkValidationPattern": "string",
"extensions": {},
"fonts": [
{
"value": "string",
"text": "string",
"weights": [
0
],
"url": "string"
}
],
"palette": [
"string"
],
"predefinedUtilityLinks": [
{
"description": "string",
"key": "string",
"label": "string",
"name": "string",
"value": "string"
}
],
"customLinkAttributes": [
{
"key": "string",
"value": "string",
"name": "string",
"description": "string"
}
]
},
"templateUUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}