2024-05-15 18:55:05 +10:00
|
|
|
import { JobClient } from './client/client';
|
2024-07-25 04:27:19 +00:00
|
|
|
import { SEND_CONFIRMATION_EMAIL_JOB_DEFINITION } from './definitions/emails/send-confirmation-email';
|
2025-03-13 15:08:57 +11:00
|
|
|
import { SEND_DOCUMENT_CANCELLED_EMAILS_JOB_DEFINITION } from './definitions/emails/send-document-cancelled-emails';
|
2025-01-02 15:33:37 +11:00
|
|
|
import { SEND_PASSWORD_RESET_SUCCESS_EMAIL_JOB_DEFINITION } from './definitions/emails/send-password-reset-success-email';
|
2024-12-26 11:04:13 +00:00
|
|
|
import { SEND_RECIPIENT_SIGNED_EMAIL_JOB_DEFINITION } from './definitions/emails/send-recipient-signed-email';
|
2024-11-14 21:37:42 +11:00
|
|
|
import { SEND_SIGNING_REJECTION_EMAILS_JOB_DEFINITION } from './definitions/emails/send-rejection-emails';
|
2024-07-25 04:27:19 +00:00
|
|
|
import { SEND_SIGNING_EMAIL_JOB_DEFINITION } from './definitions/emails/send-signing-email';
|
|
|
|
|
import { SEND_TEAM_DELETED_EMAIL_JOB_DEFINITION } from './definitions/emails/send-team-deleted-email';
|
|
|
|
|
import { SEND_TEAM_MEMBER_JOINED_EMAIL_JOB_DEFINITION } from './definitions/emails/send-team-member-joined-email';
|
|
|
|
|
import { SEND_TEAM_MEMBER_LEFT_EMAIL_JOB_DEFINITION } from './definitions/emails/send-team-member-left-email';
|
2025-01-28 15:33:32 +11:00
|
|
|
import { BULK_SEND_TEMPLATE_JOB_DEFINITION } from './definitions/internal/bulk-send-template';
|
2024-08-14 13:12:32 +10:00
|
|
|
import { SEAL_DOCUMENT_JOB_DEFINITION } from './definitions/internal/seal-document';
|
2024-05-15 18:55:05 +10:00
|
|
|
|
2024-05-22 21:57:05 +10:00
|
|
|
/**
|
|
|
|
|
* The `as const` assertion is load bearing as it provides the correct level of type inference for
|
|
|
|
|
* triggering jobs.
|
|
|
|
|
*/
|
|
|
|
|
export const jobsClient = new JobClient([
|
|
|
|
|
SEND_SIGNING_EMAIL_JOB_DEFINITION,
|
2024-06-20 11:36:16 +10:00
|
|
|
SEND_CONFIRMATION_EMAIL_JOB_DEFINITION,
|
2024-07-25 04:27:19 +00:00
|
|
|
SEND_TEAM_MEMBER_JOINED_EMAIL_JOB_DEFINITION,
|
|
|
|
|
SEND_TEAM_MEMBER_LEFT_EMAIL_JOB_DEFINITION,
|
|
|
|
|
SEND_TEAM_DELETED_EMAIL_JOB_DEFINITION,
|
2024-08-14 13:12:32 +10:00
|
|
|
SEAL_DOCUMENT_JOB_DEFINITION,
|
2025-01-02 15:33:37 +11:00
|
|
|
SEND_PASSWORD_RESET_SUCCESS_EMAIL_JOB_DEFINITION,
|
2024-11-14 21:37:42 +11:00
|
|
|
SEND_SIGNING_REJECTION_EMAILS_JOB_DEFINITION,
|
2024-12-26 11:04:13 +00:00
|
|
|
SEND_RECIPIENT_SIGNED_EMAIL_JOB_DEFINITION,
|
2025-03-13 15:08:57 +11:00
|
|
|
SEND_DOCUMENT_CANCELLED_EMAILS_JOB_DEFINITION,
|
2025-01-28 15:33:32 +11:00
|
|
|
BULK_SEND_TEMPLATE_JOB_DEFINITION,
|
2024-05-22 21:57:05 +10:00
|
|
|
] as const);
|
2024-07-25 04:27:19 +00:00
|
|
|
|
|
|
|
|
export const jobs = jobsClient;
|