@inploi/plugin-job-alerts 5.2.0 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,6 @@
1
+ import { JOB_ALERT_FREQUENCIES as FREQUENCIES } from '@inploi/sdk';
2
+
1
3
  export declare const JOB_ALERTS_ELEMENT_ID = "inploi-job-alerts";
2
4
  export declare const JOB_ALERTS_SCOPE_ELEMENT_ID = "ija";
3
- export declare const FREQUENCIES: readonly ["DAILY", "WEEKLY", "MONTHLY"];
5
+ export { FREQUENCIES };
4
6
  export type Frequency = (typeof FREQUENCIES)[number];
@@ -11,6 +11,11 @@ export type JobAlertsConfig = {
11
11
  headerText: string;
12
12
  /** Linked under the form, before the candidate confirms, so they can read how their personal data is used. */
13
13
  privacyPolicyUrl?: string;
14
+ /**
15
+ * Who sends the alert emails, named in the notice above the submit button. Pass the company's display name, the
16
+ * same name the emails come from. Without it the notice still says what arrives and how to unsubscribe.
17
+ */
18
+ employerName?: string;
14
19
  };
15
20
  export type JobAlertsPluginParams = {
16
21
  theme: {
@@ -13,6 +13,8 @@ export declare const defaultTerms: {
13
13
  readonly create_alert: "Create Alert";
14
14
  readonly create_alert_error: "Failed to create alert. Please try again later.";
15
15
  readonly privacy_policy_link: "How we use your personal data";
16
+ readonly alert_notice_sender: "{{company}} will email you new jobs matching this search, as often as you choose. Every email has an unsubscribe link.";
17
+ readonly alert_notice: "You'll get new jobs matching this search by email, as often as you choose. Every email has an unsubscribe link.";
16
18
  };
17
19
  /** Host overrides for any job alerts term. */
18
20
  export type JobAlertsTranslationTerms = Partial<Record<keyof typeof defaultTerms, string>>;