feat: support lark calendar (#3019)

* feat: support lark calendar

* New Crowdin translations by Github Action (#3016)

Co-authored-by: Crowdin Bot <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>

* fix: lark calendar get app ticket bugs

* feat: add send msg service for lark bot

* fix: comment on PR of lark-calendar

* chore: update lark bot message

* Refactors add endpoint

* Adds missing GET endpoint handler

* Update yarn.lock

* fix: comments

* Update yarn.lock

* fix: comment about inferred type

* Added fetcher helper

* Update yarn.lock

Co-authored-by: chengcheng.frontend <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: zomars <[email protected]>
This commit is contained in:
authored and GitHub committed 2022-08-05 17:56:20 +00:00
1 parent 775fe92960
commit be16b72400
24 files changed
+1330 -26

No files matched your search

+11
View File
@@ -166,6 +166,17 @@ export default async function main() {
client_secret: process.env.MS_GRAPH_CLIENT_SECRET,
});
}
if (
process.env.LARK_OPEN_APP_ID &&
process.env.LARK_OPEN_APP_SECRET &&
process.env.LARK_OPEN_VERIFICATION_TOKEN
) {
await createApp("lark-calendar", "larkcalendar", ["calendar"], "lark_calendar", {
app_id: process.env.LARK_OPEN_APP_ID,
app_secret: process.env.LARK_OPEN_APP_SECRET,
open_verification_token: process.env.LARK_OPEN_VERIFICATION_TOKEN,
});
}
// Video apps
if (process.env.DAILY_API_KEY) {
await createApp("daily-video", "dailyvideo", ["video"], "daily_video", {