migma 1.11.0 → 1.11.1

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.
package/dist/index.d.mts CHANGED
@@ -118,7 +118,12 @@ interface SegmentActivityFilter {
118
118
  amount?: number;
119
119
  from?: string | Date;
120
120
  to?: string | Date;
121
+ /** Limit opened or clicked to one campaign. Not on sent, and not with minCount or maxCount. */
121
122
  campaignId?: string;
123
+ /** Mode within only, a period of at most 90 days: at least this many emails (1 to 10,000). */
124
+ minCount?: number;
125
+ /** Mode within only, a period of at most 90 days: at most this many emails (0 to 10,000). Contacts with none match too. */
126
+ maxCount?: number;
122
127
  }
123
128
  interface SegmentFilters {
124
129
  /** Combines this group's conditions and child groups. Defaults to all (AND).
package/dist/index.d.ts CHANGED
@@ -118,7 +118,12 @@ interface SegmentActivityFilter {
118
118
  amount?: number;
119
119
  from?: string | Date;
120
120
  to?: string | Date;
121
+ /** Limit opened or clicked to one campaign. Not on sent, and not with minCount or maxCount. */
121
122
  campaignId?: string;
123
+ /** Mode within only, a period of at most 90 days: at least this many emails (1 to 10,000). */
124
+ minCount?: number;
125
+ /** Mode within only, a period of at most 90 days: at most this many emails (0 to 10,000). Contacts with none match too. */
126
+ maxCount?: number;
122
127
  }
123
128
  interface SegmentFilters {
124
129
  /** Combines this group's conditions and child groups. Defaults to all (AND).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "migma",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "description": "Official Node.js SDK for the Migma email platform API",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",