placementt-core 1.300.104 → 1.300.105

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.
@@ -1141,6 +1141,9 @@ export type EmailCampaign = {
1141
1141
  status: "draft" | "sending" | "sent";
1142
1142
  designatedStaff?: string;
1143
1143
  recipientIDs?: string[];
1144
+ recipients: "all" | (string | {
1145
+ [key: string]: unknown;
1146
+ })[];
1144
1147
  };
1145
1148
  export type EmailCampaignRecipient = {
1146
1149
  oId: string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "placementt-core",
4
4
  "author": "Placementt",
5
- "version": "1.300.104",
5
+ "version": "1.300.105",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -1126,7 +1126,8 @@ export type EmailCampaign = {
1126
1126
  sendTime?: string,
1127
1127
  status: "draft"|"sending"|"sent",
1128
1128
  designatedStaff?: string
1129
- recipientIDs?: string[]
1129
+ recipientIDs?: string[] // List of recipient IDs
1130
+ recipients: "all"|(string|{[key: string]: unknown})[] // Filters or list of recipients
1130
1131
  }
1131
1132
 
1132
1133
  export type EmailCampaignRecipient = {