@opally/cli 0.1.1 → 0.1.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.
- package/README.md +1 -1
- package/SKILL.md +1 -1
- package/dist/bin/opally.js +1 -1
- package/dist/client.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -77,7 +77,7 @@ All commands support `--json` for machine-readable output.
|
|
|
77
77
|
|
|
78
78
|
## Documentation
|
|
79
79
|
|
|
80
|
-
Full API documentation: [
|
|
80
|
+
Full API documentation: [opally.gitbook.io/opally-api-docs](https://opally.gitbook.io/opally-api-docs)
|
|
81
81
|
|
|
82
82
|
## License
|
|
83
83
|
|
package/SKILL.md
CHANGED
|
@@ -112,7 +112,7 @@ opally analytics agent-actions [--from <date>] [--to <date>] [--interval <day|we
|
|
|
112
112
|
## Notes
|
|
113
113
|
|
|
114
114
|
- All dates are ISO 8601 format (e.g., `2026-03-01`)
|
|
115
|
-
- Date ranges are capped at
|
|
115
|
+
- Date ranges are capped at 365 days
|
|
116
116
|
- Use `--json` for machine-readable output (recommended for automated workflows)
|
|
117
117
|
- Pagination: use `--cursor` with the cursor returned from list commands
|
|
118
118
|
- Default limit is 25 results, max 100
|
package/dist/bin/opally.js
CHANGED
|
@@ -12,7 +12,7 @@ const program = new commander_1.Command();
|
|
|
12
12
|
program
|
|
13
13
|
.name("opally")
|
|
14
14
|
.description("CLI for the Opally API")
|
|
15
|
-
.version("0.1.
|
|
15
|
+
.version("0.1.2");
|
|
16
16
|
program.addCommand(config_js_1.configCommand);
|
|
17
17
|
program.addCommand(leads_js_1.leadsCommand);
|
|
18
18
|
program.addCommand(emails_js_1.emailsCommand);
|
package/dist/client.js
CHANGED
|
@@ -13,7 +13,7 @@ function validateId(id) {
|
|
|
13
13
|
}
|
|
14
14
|
async function api(path, params) {
|
|
15
15
|
const baseUrl = (0, config_js_1.getBaseUrl)();
|
|
16
|
-
const url = new URL(`/
|
|
16
|
+
const url = new URL(`/v1${path}`, baseUrl);
|
|
17
17
|
if (params) {
|
|
18
18
|
for (const [key, value] of Object.entries(params)) {
|
|
19
19
|
if (value !== undefined) {
|