Skip to content

Commit cdceb8c

Browse files
UBERF-13241: Support gmail space config (#9710)
1 parent c897d9e commit cdceb8c

File tree

32 files changed

+405
-84
lines changed

32 files changed

+405
-84
lines changed

packages/integration-client/src/utils.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@ export function isSameIntegrationEvent (event: IntegrationEventData, integration
3030
event.integration?.workspaceUuid === integration.workspaceUuid
3131
)
3232
}
33+
34+
export function getIntegrationConfig (integration: Integration): Record<string, any> | undefined {
35+
return integration?.data?.config
36+
}

plugins/gmail-assets/lang/cs.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
"GooglePrivacy": "Použití a přenos informací získaných z Google API do jakékoli jiné aplikace bude v souladu s <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">zásadami Google API Services User Data Policy</a>, včetně požadavků na omezené použití.",
4141
"EmailNotificationsDescription": "Dostávejte osobní oznámení na e-mail.",
4242
"FailedToConnect": "Služba Gmail není k dispozici",
43-
"TotalMessages": "Celkový počet zpráv:"
43+
"TotalMessages": "Celkový počet zpráv:",
44+
"Configure": "Konfigurovat integraci Gmail",
45+
"GmailSpace": "Prostor pro Gmail zprávy",
46+
"PersonSpaceInfo": "E-maily budou dostupné pouze vám",
47+
"SharedSpaceInfo": "E-maily budou dostupné všem účastníkům prostoru",
48+
"ConfigurationRequired": "Prosím, nakonfigurujte svou integraci Gmail, abyste ji mohli začít používat"
4449
}
4550
}

plugins/gmail-assets/lang/de.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
"GooglePrivacy": "Die Nutzung und Übertragung von Informationen, die Huly von Google-APIs erhält, an andere Apps erfolgt gemäß der <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">Google API Services User Data Policy</a>, einschließlich der Anforderungen zur eingeschränkten Nutzung.",
4141
"EmailNotificationsDescription": "Erhalten Sie persönliche Benachrichtigungen per E-Mail.",
4242
"FailedToConnect": "Gmail-Dienst ist nicht verfügbar",
43-
"TotalMessages": "Gesamtanzahl der Nachrichten:"
43+
"TotalMessages": "Gesamtanzahl der Nachrichten:",
44+
"Configure": "Gmail-Integration konfigurieren",
45+
"GmailSpace": "Gmail-Nachrichtenbereich",
46+
"PersonSpaceInfo": "E-Mails werden nur für Sie verfügbar sein",
47+
"SharedSpaceInfo": "E-Mails werden für alle Bereichsteilnehmer verfügbar sein",
48+
"ConfigurationRequired": "Bitte konfigurieren Sie Ihre Gmail-Integration, um sie nutzen zu können"
4449
}
4550
}

plugins/gmail-assets/lang/en.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
"GooglePrivacy": "Huly’s use and transfer of information received from Google APIs to any other app will adhere to <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">Google API Services User Data Policy</a>, including the Limited Use requirements.",
4141
"EmailNotificationsDescription": "Receive personal notifications on email.",
4242
"FailedToConnect": "Gmail service is not available",
43-
"TotalMessages": "Total messages:"
43+
"TotalMessages": "Total messages:",
44+
"Configure": "Configure Gmail integration",
45+
"GmailSpace": "Space for message channel",
46+
"PersonSpaceInfo": "Mail will be available to you",
47+
"SharedSpaceInfo": "Mail will be available to all space participants",
48+
"ConfigurationRequired": "Please configure your Gmail integration to start using it"
4449
}
4550
}

plugins/gmail-assets/lang/es.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
"GooglePrivacy": "Huly’s use and transfer of information received from Google APIs to any other app will adhere to <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">Google API Services User Data Policy</a>, including the Limited Use requirements.",
4141
"EmailNotificationsDescription": "Reciba notificaciones personales por correo electrónico.",
4242
"FailedToConnect": "El servicio de Gmail no está disponible",
43-
"TotalMessages": "Total de mensajes:"
43+
"TotalMessages": "Total de mensajes:",
44+
"Configure": "Configurar integración de Gmail",
45+
"GmailSpace": "Espacio para mensajes de Gmail",
46+
"PersonSpaceInfo": "El correo estará disponible solo para usted",
47+
"SharedSpaceInfo": "El correo estará disponible para todos los participantes del espacio",
48+
"ConfigurationRequired": "Por favor, configure su integración de Gmail para comenzar a usarla"
4449
}
4550
}

plugins/gmail-assets/lang/fr.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
"GooglePrivacy": "L'utilisation et le transfert des informations reçues des API Google par Huly à toute autre application respecteront les <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">règles d'utilisation des données utilisateur des services API Google</a>, y compris les exigences d'utilisation limitée.",
4141
"EmailNotificationsDescription": "Recevez des notifications personnelles par e-mail.",
4242
"FailedToConnect": "Le service Gmail n'est pas disponible",
43-
"TotalMessages": "Total des messages:"
43+
"TotalMessages": "Total des messages:",
44+
"Configure": "Configurer l'intégration Gmail",
45+
"GmailSpace": "Espace pour les messages Gmail",
46+
"PersonSpaceInfo": "Les e-mails seront disponibles uniquement pour vous",
47+
"SharedSpaceInfo": "Les e-mails seront disponibles pour tous les participants de l'espace",
48+
"ConfigurationRequired": "Veuillez configurer votre intégration Gmail pour commencer à l'utiliser"
4449
}
4550
}

plugins/gmail-assets/lang/it.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
"GooglePrivacy": "L'uso e il trasferimento delle informazioni ricevute dalle API di Google a qualsiasi altra app di Huly adempirà alla <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">Politica sui dati degli utenti dei servizi API di Google</a>, inclusi i requisiti di utilizzo limitato.",
4141
"EmailNotificationsDescription": "Ricevi notifiche personali sulle email.",
4242
"FailedToConnect": "Il servizio Gmail non è disponibile",
43-
"TotalMessages": "Totale messaggi:"
43+
"TotalMessages": "Totale messaggi:",
44+
"Configure": "Configura integrazione Gmail",
45+
"GmailSpace": "Spazio per messaggi Gmail",
46+
"PersonSpaceInfo": "Le email saranno disponibili solo per te",
47+
"SharedSpaceInfo": "Le email saranno disponibili per tutti i partecipanti dello spazio",
48+
"ConfigurationRequired": "Per favore, configura la tua integrazione Gmail per iniziare a usarla"
4449
}
4550
}

plugins/gmail-assets/lang/ja.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
"GooglePrivacy": "Huly による Google API から受信した情報の他のアプリへの使用および転送は、<a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">Google API Services User Data Policy</a>(限定的な使用の要件を含む)に準拠します。",
4141
"EmailNotificationsDescription": "メールで個人通知を受け取る",
4242
"FailedToConnect": "Gmail サービスは利用できません",
43-
"TotalMessages": "メッセージの総数:"
43+
"TotalMessages": "メッセージの総数:",
44+
"Configure": "Gmail 統合を設定",
45+
"GmailSpace": "Gmail メッセージスペース",
46+
"PersonSpaceInfo": "メールはあなたのみに利用可能になります",
47+
"SharedSpaceInfo": "メールはすべてのスペース参加者が利用可能になります",
48+
"ConfigurationRequired": "Gmail 統合を設定する必要があります"
4449
}
4550
}

plugins/gmail-assets/lang/pt.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
"GooglePrivacy": "Huly’s use and transfer of information received from Google APIs to any other app will adhere to <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">Google API Services User Data Policy</a>, including the Limited Use requirements.",
4141
"EmailNotificationsDescription": "Receba notificações pessoais por e-mail.",
4242
"FailedToConnect": "O serviço Gmail não está disponível",
43-
"TotalMessages": "Total de mensagens:"
43+
"TotalMessages": "Total de mensagens:",
44+
"Configure": "Configurar integração do Gmail",
45+
"GmailSpace": "Espaço para mensagens do Gmail",
46+
"PersonSpaceInfo": "O email estará disponível apenas para você",
47+
"SharedSpaceInfo": "O email estará disponível para todos os participantes do espaço",
48+
"ConfigurationRequired": "Por favor, configure sua integração de Gmail para começar a usá-la"
4449
}
4550
}

plugins/gmail-assets/lang/ru.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
"GooglePrivacy": "Использование и передача информации, полученной Huly от Google API, будет соответствовать <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">Политике использования данных пользователей Google API</a>, включая требования ограниченного использования.",
4141
"EmailNotificationsDescription": "Получайте персональные уведомления на электронную почту.",
4242
"FailedToConnect": "Gmail сервис недоступен",
43-
"TotalMessages": "Всего сообщений:"
43+
"TotalMessages": "Всего сообщений:",
44+
"Configure": "Настроить Gmail интеграцию",
45+
"GmailSpace": "Пространство для канала сообщений",
46+
"PersonSpaceInfo": "Почта будет доступна только вам",
47+
"SharedSpaceInfo": "Почта будет доступна всем участникам пространства",
48+
"ConfigurationRequired": "Пожалуйста, настройте интеграцию Gmail, чтобы начать ее использовать"
4449
}
4550
}

0 commit comments

Comments
 (0)