Skip to content

Commit 7f856ae

Browse files
committed
update api client
1 parent ebdc4e4 commit 7f856ae

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

COMMANDS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,14 @@ iterable campaigns get-children <id>
129129
Get campaign performance metrics
130130

131131
```
132-
iterable campaigns get-metrics <campaignId>
132+
iterable campaigns get-metrics <campaignId> --endDateTime <endDateTime> --startDateTime <startDateTime>
133133
```
134134

135135
| Option | Type | Required | Description |
136136
|--------|------|----------|-------------|
137137
| `campaignId` | number | **yes** | Campaign ID to get metrics for |
138-
| `--endDateTime` | string | no | End date for metrics (YYYY-MM-DD HH:MM:SS format) |
139-
| `--startDateTime` | string | no | Start date for metrics (YYYY-MM-DD HH:MM:SS format) |
138+
| `--endDateTime` | string | **yes** | End of the metrics date range (YYYY-MM-DD HH:MM:SS format). Always use the narrowest window possible for performance. |
139+
| `--startDateTime` | string | **yes** | Start of the metrics date range (YYYY-MM-DD HH:MM:SS format). Always use the narrowest window possible for performance. |
140140

141141
### list
142142

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"update-commands": "node scripts/update-commands.js"
6060
},
6161
"dependencies": {
62-
"@iterable/api": "0.10.2",
62+
"@iterable/api": "0.10.3",
6363
"@primno/dpapi": "2.0.1",
6464
"boxen": "8.0.1",
6565
"chalk": "5.6.2",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)