apify / apify-client-js

Apify API client for JavaScript / Node.js.
https://docs.apify.com/api/client/js
Apache License 2.0
65 stars 27 forks source link

feat: add notifications field to Schedule #545

Closed m-murasovs closed 4 months ago

m-murasovs commented 5 months ago

Related to https://github.com/apify/apify-core/issues/15493

Adds a notifications field to the schedule, so that users can set whether they get notified when their scheduled run fails to start.

The notifications object only has an email field for now, but we might want UI notifications at some point in the future, so I've done it this way.

From what I could find, this is all that needs doing, right?

This PR will add the bit that sends the notification