@joai/core 5.1.0 → 5.2.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +4 -1
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -4679,7 +4679,8 @@ type CampaignCreatePayload = {
4679
4679
  aiParams?: Record<string, string>;
4680
4680
  agentId?: string;
4681
4681
  tags?: string[];
4682
- contactIds?: string[];
4682
+ contactIds?: string[]; /** Push only: specific install hashids (devices). Ignored when segmentId is set. */
4683
+ installIds?: string[];
4683
4684
  segmentId?: string;
4684
4685
  };
4685
4686
  type CampaignUpdatePayload = {
@@ -4694,6 +4695,7 @@ type CampaignUpdatePayload = {
4694
4695
  agentId?: string;
4695
4696
  tags?: string[];
4696
4697
  contactIds?: string[];
4698
+ installIds?: string[];
4697
4699
  segmentId?: string;
4698
4700
  };
4699
4701
  /** Test-send from the create/edit form without saving a campaign row. */
@@ -4717,6 +4719,7 @@ type CampaignAudiencePreviewPayload = {
4717
4719
  channel: CampaignChannel;
4718
4720
  tags?: string[];
4719
4721
  contactIds?: string[];
4722
+ installIds?: string[];
4720
4723
  segmentId?: string;
4721
4724
  };
4722
4725
  type CampaignStats = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joai/core",
3
- "version": "5.1.0",
3
+ "version": "5.2.0",
4
4
  "description": "JoAi shared types, HTTP service, and config",
5
5
  "license": "MIT",
6
6
  "type": "module",