@burdenoff/microfe-support 2026.830.2 → 2026.902.2

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.
@@ -1837,6 +1837,18 @@ export type BulkChannelDeliveryResult = {
1837
1837
  /** Total number of recipients in the batch */
1838
1838
  totalCount: Scalars['Int']['output'];
1839
1839
  };
1840
+ /** An application that failed during the bulk custom-email mutation. */
1841
+ export type BulkCustomEmailFailed = {
1842
+ __typename?: 'BulkCustomEmailFailed';
1843
+ applicationId: Scalars['ID']['output'];
1844
+ message: Scalars['String']['output'];
1845
+ };
1846
+ /** Outcome of bulkSendCustomEmail — every requested application lands in exactly one bucket. */
1847
+ export type BulkCustomEmailResult = {
1848
+ __typename?: 'BulkCustomEmailResult';
1849
+ failed: Array<BulkCustomEmailFailed>;
1850
+ succeeded: Array<JobApplication>;
1851
+ };
1840
1852
  /** A requested application that cannot receive the configured interview round. */
1841
1853
  export type BulkEnsureInterviewRoundFailed = {
1842
1854
  __typename?: 'BulkEnsureInterviewRoundFailed';
@@ -1896,6 +1908,14 @@ export type BulkRoundMessageItemInput = {
1896
1908
  applicationId: Scalars['ID']['input'];
1897
1909
  roundId: Scalars['ID']['input'];
1898
1910
  };
1911
+ export type BulkSendCustomEmailInput = {
1912
+ /** Between 1 and 100 unique application IDs, from any status or round — not scoped to a shared interview round. */
1913
+ applicationIds: Array<Scalars['ID']['input']>;
1914
+ /** Rich-text HTML message body from the admin's editor; sanitized to an allowlist before it reaches the email. */
1915
+ message: Scalars['String']['input'];
1916
+ /** Email subject — sent as the actual email Subject line only, never repeated in the body. */
1917
+ subject: Scalars['String']['input'];
1918
+ };
1899
1919
  /** A candidate/round that failed during a bulk-send mutation. */
1900
1920
  export type BulkSendFailed = {
1901
1921
  __typename?: 'BulkSendFailed';
@@ -1942,6 +1962,23 @@ export type BulkTranslationInput = {
1942
1962
  pluralForms?: InputMaybe<Scalars['JSON']['input']>;
1943
1963
  value: Scalars['String']['input'];
1944
1964
  };
1965
+ /** A requested application ID that could not have its status updated. */
1966
+ export type BulkUpdateApplicationStatusFailed = {
1967
+ __typename?: 'BulkUpdateApplicationStatusFailed';
1968
+ applicationId: Scalars['ID']['output'];
1969
+ message: Scalars['String']['output'];
1970
+ };
1971
+ export type BulkUpdateApplicationStatusInput = {
1972
+ /** Between 1 and 100 unique application IDs, from any status or round. */
1973
+ applicationIds: Array<Scalars['ID']['input']>;
1974
+ status: JobApplicationStatus;
1975
+ };
1976
+ /** Outcome of bulkUpdateApplicationStatus — every requested ID lands in exactly one bucket. */
1977
+ export type BulkUpdateApplicationStatusResult = {
1978
+ __typename?: 'BulkUpdateApplicationStatusResult';
1979
+ failed: Array<BulkUpdateApplicationStatusFailed>;
1980
+ succeeded: Array<JobApplication>;
1981
+ };
1945
1982
  /** Input for tax calculation preview */
1946
1983
  export type CalculateTaxInput = {
1947
1984
  /** Amount in USD (base currency) */
@@ -1975,6 +2012,7 @@ export type CandidateEmailLog = {
1975
2012
  };
1976
2013
  export declare enum CandidateEmailType {
1977
2014
  Assignment = "ASSIGNMENT",
2015
+ BulkCustom = "BULK_CUSTOM",
1978
2016
  DuplicateAssignmentNotice = "DUPLICATE_ASSIGNMENT_NOTICE",
1979
2017
  Reply = "REPLY",
1980
2018
  RoundMessage = "ROUND_MESSAGE"
@@ -6688,6 +6726,7 @@ export type JobApplicationReplyResult = {
6688
6726
  };
6689
6727
  export declare enum JobApplicationStatus {
6690
6728
  Archived = "ARCHIVED",
6729
+ EmailSent = "EMAIL_SENT",
6691
6730
  Hired = "HIRED",
6692
6731
  Interview = "INTERVIEW",
6693
6732
  New = "NEW",
@@ -7492,10 +7531,14 @@ export type Mutation = {
7492
7531
  /** Randomize and send a take-home assignment to multiple applications' rounds at once (admin). Each item is processed independently — a candidate already emailed an assignment for that round is skipped unless `force` is set, and one item failing does not abort the rest. */
7493
7532
  bulkRandomizeAndSendAssignment: BulkSendResult;
7494
7533
  bulkResumeSchedules: SchedulerBulkOperationResult;
7534
+ /** Send a custom subject + rich-text message to a bounded batch of applications (admin) — not tied to a shared interview round, so it works across any status or stage (e.g. a progress update to everyone still in the pipeline, or a closing note to everyone not moving forward). No dedup/eligibility gate: re-sending a different message to the same candidates is expected, not blocked. */
7535
+ bulkSendCustomEmail: BulkCustomEmailResult;
7495
7536
  /** Send the same free-text message to multiple candidate rounds at once (admin). Each item is processed independently — a round already messaged is skipped unless `force` is set, and one item failing does not abort the rest. */
7496
7537
  bulkSendRoundMessage: BulkSendResult;
7497
7538
  /** Bulk set user's opt-in/out preference for multiple feature flags. RBAC is scoped to the target workspace via `input.workspaceId`. */
7498
7539
  bulkSetUserFeatureFlagPreferences: Array<UserFeatureFlagPreference>;
7540
+ /** Update status for a batch of applications at once (admin) — e.g. marking everyone a bulk email just went to as EMAIL_SENT so a later bulk-send doesn't re-email the same people, then moving them back to whatever status applies once the outcome is decided. One item failing (e.g. a deleted application) does not abort the rest. */
7541
+ bulkUpdateApplicationStatus: BulkUpdateApplicationStatusResult;
7499
7542
  bulkUpdateSchedules: SchedulerBulkOperationResult;
7500
7543
  bulkUpdateTranslations: BulkOperationResult;
7501
7544
  /** Cancel pending delivery */
@@ -9134,6 +9177,10 @@ export type MutationBulkResumeSchedulesArgs = {
9134
9177
  filter: BulkOperationFilter;
9135
9178
  };
9136
9179
  /** Root mutation type */
9180
+ export type MutationBulkSendCustomEmailArgs = {
9181
+ input: BulkSendCustomEmailInput;
9182
+ };
9183
+ /** Root mutation type */
9137
9184
  export type MutationBulkSendRoundMessageArgs = {
9138
9185
  input: BulkSendRoundMessageInput;
9139
9186
  };
@@ -9142,6 +9189,10 @@ export type MutationBulkSetUserFeatureFlagPreferencesArgs = {
9142
9189
  input: BulkSetUserFeatureFlagPreferenceInput;
9143
9190
  };
9144
9191
  /** Root mutation type */
9192
+ export type MutationBulkUpdateApplicationStatusArgs = {
9193
+ input: BulkUpdateApplicationStatusInput;
9194
+ };
9195
+ /** Root mutation type */
9145
9196
  export type MutationBulkUpdateSchedulesArgs = {
9146
9197
  filter: BulkOperationFilter;
9147
9198
  updates: UpdateScheduledJobInput;
@@ -14,7 +14,7 @@ var e = /* @__PURE__ */ function(e) {
14
14
  }({}), o = /* @__PURE__ */ function(e) {
15
15
  return e.Lead = "LEAD", e.Panel = "PANEL", e;
16
16
  }({}), s = /* @__PURE__ */ function(e) {
17
- return e.Archived = "ARCHIVED", e.Hired = "HIRED", e.Interview = "INTERVIEW", e.New = "NEW", e.Rejected = "REJECTED", e.Screening = "SCREENING", e.Shortlisted = "SHORTLISTED", e;
17
+ return e.Archived = "ARCHIVED", e.EmailSent = "EMAIL_SENT", e.Hired = "HIRED", e.Interview = "INTERVIEW", e.New = "NEW", e.Rejected = "REJECTED", e.Screening = "SCREENING", e.Shortlisted = "SHORTLISTED", e;
18
18
  }({}), c = /* @__PURE__ */ function(e) {
19
19
  return e.Archived = "ARCHIVED", e.Closed = "CLOSED", e.Draft = "DRAFT", e.Open = "OPEN", e;
20
20
  }({}), l = /* @__PURE__ */ function(e) {