@calltelemetry/cli 0.15.1 → 1.0.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.
package/README.md CHANGED
@@ -270,6 +270,39 @@ ct seed status --org-id 1 # Seed counts and recent runs
270
270
  ct seed cleanup --org-id 1 --all # Remove seeded data
271
271
  ```
272
272
 
273
+ ### SFTP Tooling
274
+
275
+ Manage SFTP Action Accounts and the surrounding operational surface. Commands
276
+ read the OpenAPI document generated by the installed appliance release, so they
277
+ follow the routes that release actually exposes.
278
+
279
+ ```bash
280
+ ct sftp status # Accounts, storage, monitoring, daemon
281
+ ct sftp doctor # Connectivity and compatibility checks
282
+ ct sftp accounts list # List accounts
283
+ ct sftp accounts create --username backups --description "CUCM backups" --quota-gb 25
284
+ ct sftp accounts update backups --disable
285
+ ct sftp accounts password backups --generate
286
+ ct sftp accounts delete backups --yes
287
+ ct sftp accounts export --output accounts.csv
288
+ ct sftp accounts import accounts.csv --validate-only
289
+ ct sftp monitoring enable backups --schedule daily --hour 2 --minute 5
290
+ ct sftp storage status
291
+ ct sftp activity --limit 25
292
+ ct sftp api --list # Every SFTP operation in this release
293
+ ```
294
+
295
+ `create` generates and displays a strong password when none is supplied. Use
296
+ `--password-stdin` for automation. All read commands support `--json`.
297
+
298
+ Human invocations prompt for an appliance admin email and password, then use a
299
+ short-lived session JWT that is kept only in memory. For automation, set
300
+ `CT_API_TOKEN`, or `CT_API_EMAIL` + `CT_API_PASSWORD` to skip the prompts.
301
+
302
+ See [docs/sftp.md](docs/sftp.md) for account actions, monitoring, storage,
303
+ analytics, report schedules, authentication, and the generic OpenAPI escape
304
+ hatch.
305
+
273
306
  ## Interactive TUI
274
307
 
275
308
  When run without arguments on a TTY, `ct` launches an interactive menu built with [Ink](https://github.com/vadimdemedes/ink). Navigate with arrow keys, select with Enter, quit with `q`.
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare function registerSftpCommand(program: Command): void;
3
+ //# sourceMappingURL=sftp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sftp.d.ts","sourceRoot":"","sources":["../../src/commands/sftp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAmxEpC,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAgB1D"}