@fonoster/ctl 0.8.2 → 0.8.4
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
|
@@ -12,8 +12,6 @@ Use this tool to manage your Fonoster resources from the command line. With this
|
|
|
12
12
|
|
|
13
13
|
> When connecting to your own instance of Fonoster, remember to use your endpoint when login in. Also, remember to use the `--insecure` flag when connecting to a server with no TLS.
|
|
14
14
|
|
|
15
|
-
```bash
|
|
16
|
-
|
|
17
15
|
<!-- toc -->
|
|
18
16
|
* [Usage](#usage)
|
|
19
17
|
* [Commands](#commands)
|
|
@@ -25,7 +23,7 @@ $ npm install -g @fonoster/ctl
|
|
|
25
23
|
$ fonoster COMMAND
|
|
26
24
|
running command...
|
|
27
25
|
$ fonoster (--version)
|
|
28
|
-
@fonoster/ctl/0.8.
|
|
26
|
+
@fonoster/ctl/0.8.4 darwin-arm64 node-v20.15.1
|
|
29
27
|
$ fonoster --help [COMMAND]
|
|
30
28
|
USAGE
|
|
31
29
|
$ fonoster COMMAND
|
|
@@ -110,7 +108,7 @@ EXAMPLES
|
|
|
110
108
|
$ fonoster apikeys:create
|
|
111
109
|
```
|
|
112
110
|
|
|
113
|
-
_See code: [dist/commands/apikeys/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
111
|
+
_See code: [dist/commands/apikeys/create.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/apikeys/create.js)_
|
|
114
112
|
|
|
115
113
|
## `fonoster apikeys:delete REF`
|
|
116
114
|
|
|
@@ -133,7 +131,7 @@ EXAMPLES
|
|
|
133
131
|
$ fonoster apikeys:delete
|
|
134
132
|
```
|
|
135
133
|
|
|
136
|
-
_See code: [dist/commands/apikeys/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
134
|
+
_See code: [dist/commands/apikeys/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/apikeys/delete.js)_
|
|
137
135
|
|
|
138
136
|
## `fonoster apikeys:list`
|
|
139
137
|
|
|
@@ -154,7 +152,7 @@ EXAMPLES
|
|
|
154
152
|
$ fonoster apikeys:list
|
|
155
153
|
```
|
|
156
154
|
|
|
157
|
-
_See code: [dist/commands/apikeys/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
155
|
+
_See code: [dist/commands/apikeys/list.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/apikeys/list.js)_
|
|
158
156
|
|
|
159
157
|
## `fonoster apikeys:regenerate REF`
|
|
160
158
|
|
|
@@ -177,7 +175,7 @@ EXAMPLES
|
|
|
177
175
|
$ fonoster apikeys:regenerate
|
|
178
176
|
```
|
|
179
177
|
|
|
180
|
-
_See code: [dist/commands/apikeys/regenerate.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
178
|
+
_See code: [dist/commands/apikeys/regenerate.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/apikeys/regenerate.js)_
|
|
181
179
|
|
|
182
180
|
## `fonoster applications:create`
|
|
183
181
|
|
|
@@ -197,7 +195,7 @@ EXAMPLES
|
|
|
197
195
|
$ fonoster applications:create
|
|
198
196
|
```
|
|
199
197
|
|
|
200
|
-
_See code: [dist/commands/applications/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
198
|
+
_See code: [dist/commands/applications/create.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/applications/create.js)_
|
|
201
199
|
|
|
202
200
|
## `fonoster applications:delete REF`
|
|
203
201
|
|
|
@@ -220,7 +218,7 @@ EXAMPLES
|
|
|
220
218
|
$ fonoster applications:delete
|
|
221
219
|
```
|
|
222
220
|
|
|
223
|
-
_See code: [dist/commands/applications/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
221
|
+
_See code: [dist/commands/applications/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/applications/delete.js)_
|
|
224
222
|
|
|
225
223
|
## `fonoster applications:get [REF]`
|
|
226
224
|
|
|
@@ -243,7 +241,7 @@ EXAMPLES
|
|
|
243
241
|
$ fonoster applications:get
|
|
244
242
|
```
|
|
245
243
|
|
|
246
|
-
_See code: [dist/commands/applications/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
244
|
+
_See code: [dist/commands/applications/get.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/applications/get.js)_
|
|
247
245
|
|
|
248
246
|
## `fonoster applications:list`
|
|
249
247
|
|
|
@@ -264,7 +262,7 @@ EXAMPLES
|
|
|
264
262
|
$ fonoster applications:list
|
|
265
263
|
```
|
|
266
264
|
|
|
267
|
-
_See code: [dist/commands/applications/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
265
|
+
_See code: [dist/commands/applications/list.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/applications/list.js)_
|
|
268
266
|
|
|
269
267
|
## `fonoster applications:update [REF]`
|
|
270
268
|
|
|
@@ -287,7 +285,7 @@ EXAMPLES
|
|
|
287
285
|
$ fonoster applications:update
|
|
288
286
|
```
|
|
289
287
|
|
|
290
|
-
_See code: [dist/commands/applications/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
288
|
+
_See code: [dist/commands/applications/update.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/applications/update.js)_
|
|
291
289
|
|
|
292
290
|
## `fonoster bug`
|
|
293
291
|
|
|
@@ -304,7 +302,7 @@ EXAMPLES
|
|
|
304
302
|
$ fonoster bug
|
|
305
303
|
```
|
|
306
304
|
|
|
307
|
-
_See code: [dist/commands/bug.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
305
|
+
_See code: [dist/commands/bug.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/bug.js)_
|
|
308
306
|
|
|
309
307
|
## `fonoster feedback`
|
|
310
308
|
|
|
@@ -324,7 +322,7 @@ EXAMPLES
|
|
|
324
322
|
$ fonoster feedback
|
|
325
323
|
```
|
|
326
324
|
|
|
327
|
-
_See code: [dist/commands/feedback.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
325
|
+
_See code: [dist/commands/feedback.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/feedback.js)_
|
|
328
326
|
|
|
329
327
|
## `fonoster secrets:create`
|
|
330
328
|
|
|
@@ -344,7 +342,7 @@ EXAMPLES
|
|
|
344
342
|
$ fonoster secrets:create
|
|
345
343
|
```
|
|
346
344
|
|
|
347
|
-
_See code: [dist/commands/secrets/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
345
|
+
_See code: [dist/commands/secrets/create.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/secrets/create.js)_
|
|
348
346
|
|
|
349
347
|
## `fonoster secrets:delete REF`
|
|
350
348
|
|
|
@@ -367,7 +365,7 @@ EXAMPLES
|
|
|
367
365
|
$ fonoster secrets:delete
|
|
368
366
|
```
|
|
369
367
|
|
|
370
|
-
_See code: [dist/commands/secrets/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
368
|
+
_See code: [dist/commands/secrets/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/secrets/delete.js)_
|
|
371
369
|
|
|
372
370
|
## `fonoster secrets:get [REF]`
|
|
373
371
|
|
|
@@ -390,7 +388,7 @@ EXAMPLES
|
|
|
390
388
|
$ fonoster secrets:get
|
|
391
389
|
```
|
|
392
390
|
|
|
393
|
-
_See code: [dist/commands/secrets/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
391
|
+
_See code: [dist/commands/secrets/get.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/secrets/get.js)_
|
|
394
392
|
|
|
395
393
|
## `fonoster secrets:list`
|
|
396
394
|
|
|
@@ -411,7 +409,7 @@ EXAMPLES
|
|
|
411
409
|
$ fonoster secrets:list
|
|
412
410
|
```
|
|
413
411
|
|
|
414
|
-
_See code: [dist/commands/secrets/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
412
|
+
_See code: [dist/commands/secrets/list.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/secrets/list.js)_
|
|
415
413
|
|
|
416
414
|
## `fonoster secrets:update [REF]`
|
|
417
415
|
|
|
@@ -434,7 +432,7 @@ EXAMPLES
|
|
|
434
432
|
$ fonoster secrets:update
|
|
435
433
|
```
|
|
436
434
|
|
|
437
|
-
_See code: [dist/commands/secrets/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
435
|
+
_See code: [dist/commands/secrets/update.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/secrets/update.js)_
|
|
438
436
|
|
|
439
437
|
## `fonoster sipnet:acls:create`
|
|
440
438
|
|
|
@@ -454,7 +452,7 @@ EXAMPLES
|
|
|
454
452
|
$ fonoster sipnet:acls:create
|
|
455
453
|
```
|
|
456
454
|
|
|
457
|
-
_See code: [dist/commands/sipnet/acls/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
455
|
+
_See code: [dist/commands/sipnet/acls/create.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/acls/create.js)_
|
|
458
456
|
|
|
459
457
|
## `fonoster sipnet:acls:delete REF`
|
|
460
458
|
|
|
@@ -477,7 +475,7 @@ EXAMPLES
|
|
|
477
475
|
$ fonoster sipnet:acls:delete
|
|
478
476
|
```
|
|
479
477
|
|
|
480
|
-
_See code: [dist/commands/sipnet/acls/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
478
|
+
_See code: [dist/commands/sipnet/acls/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/acls/delete.js)_
|
|
481
479
|
|
|
482
480
|
## `fonoster sipnet:acls:get REF`
|
|
483
481
|
|
|
@@ -500,7 +498,7 @@ EXAMPLES
|
|
|
500
498
|
$ fonoster sipnet:acls:get
|
|
501
499
|
```
|
|
502
500
|
|
|
503
|
-
_See code: [dist/commands/sipnet/acls/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
501
|
+
_See code: [dist/commands/sipnet/acls/get.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/acls/get.js)_
|
|
504
502
|
|
|
505
503
|
## `fonoster sipnet:acls:list`
|
|
506
504
|
|
|
@@ -521,7 +519,7 @@ EXAMPLES
|
|
|
521
519
|
$ fonoster sipnet:acls:list
|
|
522
520
|
```
|
|
523
521
|
|
|
524
|
-
_See code: [dist/commands/sipnet/acls/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
522
|
+
_See code: [dist/commands/sipnet/acls/list.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/acls/list.js)_
|
|
525
523
|
|
|
526
524
|
## `fonoster sipnet:acls:update REF`
|
|
527
525
|
|
|
@@ -544,7 +542,7 @@ EXAMPLES
|
|
|
544
542
|
$ fonoster sipnet:acls:update
|
|
545
543
|
```
|
|
546
544
|
|
|
547
|
-
_See code: [dist/commands/sipnet/acls/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
545
|
+
_See code: [dist/commands/sipnet/acls/update.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/acls/update.js)_
|
|
548
546
|
|
|
549
547
|
## `fonoster sipnet:agents:create`
|
|
550
548
|
|
|
@@ -564,7 +562,7 @@ EXAMPLES
|
|
|
564
562
|
$ fonoster sipnet:agents:create
|
|
565
563
|
```
|
|
566
564
|
|
|
567
|
-
_See code: [dist/commands/sipnet/agents/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
565
|
+
_See code: [dist/commands/sipnet/agents/create.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/agents/create.js)_
|
|
568
566
|
|
|
569
567
|
## `fonoster sipnet:agents:delete REF`
|
|
570
568
|
|
|
@@ -587,7 +585,7 @@ EXAMPLES
|
|
|
587
585
|
$ fonoster sipnet:agents:delete
|
|
588
586
|
```
|
|
589
587
|
|
|
590
|
-
_See code: [dist/commands/sipnet/agents/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
588
|
+
_See code: [dist/commands/sipnet/agents/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/agents/delete.js)_
|
|
591
589
|
|
|
592
590
|
## `fonoster sipnet:agents:get REF`
|
|
593
591
|
|
|
@@ -610,7 +608,7 @@ EXAMPLES
|
|
|
610
608
|
$ fonoster sipnet:agents:get
|
|
611
609
|
```
|
|
612
610
|
|
|
613
|
-
_See code: [dist/commands/sipnet/agents/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
611
|
+
_See code: [dist/commands/sipnet/agents/get.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/agents/get.js)_
|
|
614
612
|
|
|
615
613
|
## `fonoster sipnet:agents:list`
|
|
616
614
|
|
|
@@ -631,7 +629,7 @@ EXAMPLES
|
|
|
631
629
|
$ fonoster sipnet:agents:list
|
|
632
630
|
```
|
|
633
631
|
|
|
634
|
-
_See code: [dist/commands/sipnet/agents/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
632
|
+
_See code: [dist/commands/sipnet/agents/list.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/agents/list.js)_
|
|
635
633
|
|
|
636
634
|
## `fonoster sipnet:agents:update REF`
|
|
637
635
|
|
|
@@ -654,7 +652,7 @@ EXAMPLES
|
|
|
654
652
|
$ fonoster sipnet:agents:update
|
|
655
653
|
```
|
|
656
654
|
|
|
657
|
-
_See code: [dist/commands/sipnet/agents/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
655
|
+
_See code: [dist/commands/sipnet/agents/update.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/agents/update.js)_
|
|
658
656
|
|
|
659
657
|
## `fonoster sipnet:calls:create`
|
|
660
658
|
|
|
@@ -665,12 +663,12 @@ USAGE
|
|
|
665
663
|
$ fonoster sipnet:calls:create -f <value> -t <value> -a <value> [-i] [-o <value>] [-c]
|
|
666
664
|
|
|
667
665
|
FLAGS
|
|
668
|
-
-a, --app-ref=<value>
|
|
669
|
-
-c, --track-call
|
|
670
|
-
-f, --from
|
|
671
|
-
-i, --insecure
|
|
672
|
-
-o, --timeout=<value>
|
|
673
|
-
-t, --to
|
|
666
|
+
-a, --app-ref=<value> (required) The application reference
|
|
667
|
+
-c, --track-call Track the call
|
|
668
|
+
-f, --from=<value> (required) The number to make the call from
|
|
669
|
+
-i, --insecure allow connections to a server with no TLS
|
|
670
|
+
-o, --timeout=<value> [default: 30] The call timeout
|
|
671
|
+
-t, --to=<value> (required) The number to make the call to
|
|
674
672
|
|
|
675
673
|
DESCRIPTION
|
|
676
674
|
initiate a call to a phone number or SIP URI
|
|
@@ -679,7 +677,7 @@ EXAMPLES
|
|
|
679
677
|
$ fonoster sipnet:calls:create
|
|
680
678
|
```
|
|
681
679
|
|
|
682
|
-
_See code: [dist/commands/sipnet/calls/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
680
|
+
_See code: [dist/commands/sipnet/calls/create.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/calls/create.js)_
|
|
683
681
|
|
|
684
682
|
## `fonoster sipnet:calls:get REF`
|
|
685
683
|
|
|
@@ -702,7 +700,7 @@ EXAMPLES
|
|
|
702
700
|
$ fonoster sipnet:calls:get
|
|
703
701
|
```
|
|
704
702
|
|
|
705
|
-
_See code: [dist/commands/sipnet/calls/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
703
|
+
_See code: [dist/commands/sipnet/calls/get.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/calls/get.js)_
|
|
706
704
|
|
|
707
705
|
## `fonoster sipnet:calls:list`
|
|
708
706
|
|
|
@@ -723,7 +721,7 @@ EXAMPLES
|
|
|
723
721
|
$ fonoster sipnet:calls:list
|
|
724
722
|
```
|
|
725
723
|
|
|
726
|
-
_See code: [dist/commands/sipnet/calls/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
724
|
+
_See code: [dist/commands/sipnet/calls/list.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/calls/list.js)_
|
|
727
725
|
|
|
728
726
|
## `fonoster sipnet:credentials:create`
|
|
729
727
|
|
|
@@ -743,7 +741,7 @@ EXAMPLES
|
|
|
743
741
|
$ fonoster sipnet:credentials:create
|
|
744
742
|
```
|
|
745
743
|
|
|
746
|
-
_See code: [dist/commands/sipnet/credentials/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
744
|
+
_See code: [dist/commands/sipnet/credentials/create.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/credentials/create.js)_
|
|
747
745
|
|
|
748
746
|
## `fonoster sipnet:credentials:delete REF`
|
|
749
747
|
|
|
@@ -766,7 +764,7 @@ EXAMPLES
|
|
|
766
764
|
$ fonoster sipnet:credentials:delete
|
|
767
765
|
```
|
|
768
766
|
|
|
769
|
-
_See code: [dist/commands/sipnet/credentials/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
767
|
+
_See code: [dist/commands/sipnet/credentials/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/credentials/delete.js)_
|
|
770
768
|
|
|
771
769
|
## `fonoster sipnet:credentials:get REF`
|
|
772
770
|
|
|
@@ -789,7 +787,7 @@ EXAMPLES
|
|
|
789
787
|
$ fonoster sipnet:credentials:get
|
|
790
788
|
```
|
|
791
789
|
|
|
792
|
-
_See code: [dist/commands/sipnet/credentials/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
790
|
+
_See code: [dist/commands/sipnet/credentials/get.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/credentials/get.js)_
|
|
793
791
|
|
|
794
792
|
## `fonoster sipnet:credentials:list`
|
|
795
793
|
|
|
@@ -810,7 +808,7 @@ EXAMPLES
|
|
|
810
808
|
$ fonoster sipnet:credentials:list
|
|
811
809
|
```
|
|
812
810
|
|
|
813
|
-
_See code: [dist/commands/sipnet/credentials/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
811
|
+
_See code: [dist/commands/sipnet/credentials/list.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/credentials/list.js)_
|
|
814
812
|
|
|
815
813
|
## `fonoster sipnet:credentials:update REF`
|
|
816
814
|
|
|
@@ -833,7 +831,7 @@ EXAMPLES
|
|
|
833
831
|
$ fonoster sipnet:credentials:update
|
|
834
832
|
```
|
|
835
833
|
|
|
836
|
-
_See code: [dist/commands/sipnet/credentials/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
834
|
+
_See code: [dist/commands/sipnet/credentials/update.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/credentials/update.js)_
|
|
837
835
|
|
|
838
836
|
## `fonoster sipnet:domains:create`
|
|
839
837
|
|
|
@@ -853,7 +851,7 @@ EXAMPLES
|
|
|
853
851
|
$ fonoster sipnet:domains:create
|
|
854
852
|
```
|
|
855
853
|
|
|
856
|
-
_See code: [dist/commands/sipnet/domains/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
854
|
+
_See code: [dist/commands/sipnet/domains/create.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/domains/create.js)_
|
|
857
855
|
|
|
858
856
|
## `fonoster sipnet:domains:delete REF`
|
|
859
857
|
|
|
@@ -876,7 +874,7 @@ EXAMPLES
|
|
|
876
874
|
$ fonoster sipnet:domains:delete
|
|
877
875
|
```
|
|
878
876
|
|
|
879
|
-
_See code: [dist/commands/sipnet/domains/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
877
|
+
_See code: [dist/commands/sipnet/domains/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/domains/delete.js)_
|
|
880
878
|
|
|
881
879
|
## `fonoster sipnet:domains:get REF`
|
|
882
880
|
|
|
@@ -899,7 +897,7 @@ EXAMPLES
|
|
|
899
897
|
$ fonoster sipnet:domains:get
|
|
900
898
|
```
|
|
901
899
|
|
|
902
|
-
_See code: [dist/commands/sipnet/domains/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
900
|
+
_See code: [dist/commands/sipnet/domains/get.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/domains/get.js)_
|
|
903
901
|
|
|
904
902
|
## `fonoster sipnet:domains:list`
|
|
905
903
|
|
|
@@ -920,7 +918,7 @@ EXAMPLES
|
|
|
920
918
|
$ fonoster sipnet:domains:list
|
|
921
919
|
```
|
|
922
920
|
|
|
923
|
-
_See code: [dist/commands/sipnet/domains/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
921
|
+
_See code: [dist/commands/sipnet/domains/list.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/domains/list.js)_
|
|
924
922
|
|
|
925
923
|
## `fonoster sipnet:domains:update REF`
|
|
926
924
|
|
|
@@ -943,7 +941,7 @@ EXAMPLES
|
|
|
943
941
|
$ fonoster sipnet:domains:update
|
|
944
942
|
```
|
|
945
943
|
|
|
946
|
-
_See code: [dist/commands/sipnet/domains/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
944
|
+
_See code: [dist/commands/sipnet/domains/update.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/domains/update.js)_
|
|
947
945
|
|
|
948
946
|
## `fonoster sipnet:numbers:create`
|
|
949
947
|
|
|
@@ -963,7 +961,7 @@ EXAMPLES
|
|
|
963
961
|
$ fonoster sipnet:numbers:create
|
|
964
962
|
```
|
|
965
963
|
|
|
966
|
-
_See code: [dist/commands/sipnet/numbers/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
964
|
+
_See code: [dist/commands/sipnet/numbers/create.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/numbers/create.js)_
|
|
967
965
|
|
|
968
966
|
## `fonoster sipnet:numbers:delete REF`
|
|
969
967
|
|
|
@@ -986,7 +984,7 @@ EXAMPLES
|
|
|
986
984
|
$ fonoster sipnet:numbers:delete
|
|
987
985
|
```
|
|
988
986
|
|
|
989
|
-
_See code: [dist/commands/sipnet/numbers/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
987
|
+
_See code: [dist/commands/sipnet/numbers/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/numbers/delete.js)_
|
|
990
988
|
|
|
991
989
|
## `fonoster sipnet:numbers:get [REF]`
|
|
992
990
|
|
|
@@ -1009,7 +1007,7 @@ EXAMPLES
|
|
|
1009
1007
|
$ fonoster sipnet:numbers:get
|
|
1010
1008
|
```
|
|
1011
1009
|
|
|
1012
|
-
_See code: [dist/commands/sipnet/numbers/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1010
|
+
_See code: [dist/commands/sipnet/numbers/get.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/numbers/get.js)_
|
|
1013
1011
|
|
|
1014
1012
|
## `fonoster sipnet:numbers:linkTwilioNumber`
|
|
1015
1013
|
|
|
@@ -1033,7 +1031,7 @@ EXAMPLES
|
|
|
1033
1031
|
$ fonoster sipnet:numbers:linkTwilioNumber
|
|
1034
1032
|
```
|
|
1035
1033
|
|
|
1036
|
-
_See code: [dist/commands/sipnet/numbers/linkTwilioNumber.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1034
|
+
_See code: [dist/commands/sipnet/numbers/linkTwilioNumber.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/numbers/linkTwilioNumber.js)_
|
|
1037
1035
|
|
|
1038
1036
|
## `fonoster sipnet:numbers:list`
|
|
1039
1037
|
|
|
@@ -1054,7 +1052,7 @@ EXAMPLES
|
|
|
1054
1052
|
$ fonoster sipnet:numbers:list
|
|
1055
1053
|
```
|
|
1056
1054
|
|
|
1057
|
-
_See code: [dist/commands/sipnet/numbers/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1055
|
+
_See code: [dist/commands/sipnet/numbers/list.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/numbers/list.js)_
|
|
1058
1056
|
|
|
1059
1057
|
## `fonoster sipnet:numbers:update [REF]`
|
|
1060
1058
|
|
|
@@ -1077,7 +1075,7 @@ EXAMPLES
|
|
|
1077
1075
|
$ fonoster sipnet:numbers:update
|
|
1078
1076
|
```
|
|
1079
1077
|
|
|
1080
|
-
_See code: [dist/commands/sipnet/numbers/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1078
|
+
_See code: [dist/commands/sipnet/numbers/update.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/numbers/update.js)_
|
|
1081
1079
|
|
|
1082
1080
|
## `fonoster sipnet:trunks:create`
|
|
1083
1081
|
|
|
@@ -1097,7 +1095,7 @@ EXAMPLES
|
|
|
1097
1095
|
$ fonoster sipnet:trunks:create
|
|
1098
1096
|
```
|
|
1099
1097
|
|
|
1100
|
-
_See code: [dist/commands/sipnet/trunks/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1098
|
+
_See code: [dist/commands/sipnet/trunks/create.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/trunks/create.js)_
|
|
1101
1099
|
|
|
1102
1100
|
## `fonoster sipnet:trunks:delete REF`
|
|
1103
1101
|
|
|
@@ -1120,7 +1118,7 @@ EXAMPLES
|
|
|
1120
1118
|
$ fonoster sipnet:trunks:delete
|
|
1121
1119
|
```
|
|
1122
1120
|
|
|
1123
|
-
_See code: [dist/commands/sipnet/trunks/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1121
|
+
_See code: [dist/commands/sipnet/trunks/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/trunks/delete.js)_
|
|
1124
1122
|
|
|
1125
1123
|
## `fonoster sipnet:trunks:get REF`
|
|
1126
1124
|
|
|
@@ -1143,7 +1141,7 @@ EXAMPLES
|
|
|
1143
1141
|
$ fonoster sipnet:trunks:get
|
|
1144
1142
|
```
|
|
1145
1143
|
|
|
1146
|
-
_See code: [dist/commands/sipnet/trunks/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1144
|
+
_See code: [dist/commands/sipnet/trunks/get.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/trunks/get.js)_
|
|
1147
1145
|
|
|
1148
1146
|
## `fonoster sipnet:trunks:list`
|
|
1149
1147
|
|
|
@@ -1164,7 +1162,7 @@ EXAMPLES
|
|
|
1164
1162
|
$ fonoster sipnet:trunks:list
|
|
1165
1163
|
```
|
|
1166
1164
|
|
|
1167
|
-
_See code: [dist/commands/sipnet/trunks/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1165
|
+
_See code: [dist/commands/sipnet/trunks/list.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/trunks/list.js)_
|
|
1168
1166
|
|
|
1169
1167
|
## `fonoster sipnet:trunks:update [REF]`
|
|
1170
1168
|
|
|
@@ -1187,7 +1185,7 @@ EXAMPLES
|
|
|
1187
1185
|
$ fonoster sipnet:trunks:update
|
|
1188
1186
|
```
|
|
1189
1187
|
|
|
1190
|
-
_See code: [dist/commands/sipnet/trunks/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1188
|
+
_See code: [dist/commands/sipnet/trunks/update.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/sipnet/trunks/update.js)_
|
|
1191
1189
|
|
|
1192
1190
|
## `fonoster workspaces:active`
|
|
1193
1191
|
|
|
@@ -1204,7 +1202,7 @@ EXAMPLES
|
|
|
1204
1202
|
$ fonoster workspaces:active
|
|
1205
1203
|
```
|
|
1206
1204
|
|
|
1207
|
-
_See code: [dist/commands/workspaces/active.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1205
|
+
_See code: [dist/commands/workspaces/active.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/workspaces/active.js)_
|
|
1208
1206
|
|
|
1209
1207
|
## `fonoster workspaces:list`
|
|
1210
1208
|
|
|
@@ -1221,7 +1219,7 @@ EXAMPLES
|
|
|
1221
1219
|
$ fonoster workspaces:list
|
|
1222
1220
|
```
|
|
1223
1221
|
|
|
1224
|
-
_See code: [dist/commands/workspaces/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1222
|
+
_See code: [dist/commands/workspaces/list.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/workspaces/list.js)_
|
|
1225
1223
|
|
|
1226
1224
|
## `fonoster workspaces:login`
|
|
1227
1225
|
|
|
@@ -1241,7 +1239,7 @@ EXAMPLES
|
|
|
1241
1239
|
$ fonoster workspaces:login
|
|
1242
1240
|
```
|
|
1243
1241
|
|
|
1244
|
-
_See code: [dist/commands/workspaces/login.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1242
|
+
_See code: [dist/commands/workspaces/login.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/workspaces/login.js)_
|
|
1245
1243
|
|
|
1246
1244
|
## `fonoster workspaces:logout REF`
|
|
1247
1245
|
|
|
@@ -1261,7 +1259,7 @@ EXAMPLES
|
|
|
1261
1259
|
$ fonoster workspaces:logout
|
|
1262
1260
|
```
|
|
1263
1261
|
|
|
1264
|
-
_See code: [dist/commands/workspaces/logout.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1262
|
+
_See code: [dist/commands/workspaces/logout.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/workspaces/logout.js)_
|
|
1265
1263
|
|
|
1266
1264
|
## `fonoster workspaces:use REF`
|
|
1267
1265
|
|
|
@@ -1281,5 +1279,5 @@ EXAMPLES
|
|
|
1281
1279
|
$ fonoster workspaces:use
|
|
1282
1280
|
```
|
|
1283
1281
|
|
|
1284
|
-
_See code: [dist/commands/workspaces/use.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1282
|
+
_See code: [dist/commands/workspaces/use.js](https://github.com/fonoster/fonoster/blob/v0.8.4/dist/commands/workspaces/use.js)_
|
|
1285
1283
|
<!-- commandsstop -->
|
|
@@ -3,8 +3,8 @@ export default class Create extends AuthenticatedCommand<typeof Create> {
|
|
|
3
3
|
static readonly description = "initiate a call to a phone number or SIP URI";
|
|
4
4
|
static readonly examples: string[];
|
|
5
5
|
static readonly flags: {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
from: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
7
|
+
to: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
8
8
|
"app-ref": import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
9
9
|
timeout: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
10
10
|
"track-call": import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
@@ -84,8 +84,8 @@ class Create extends AuthenticatedCommand_1.AuthenticatedCommand {
|
|
|
84
84
|
const client = yield this.createSdkClient();
|
|
85
85
|
const calls = new SDK.Calls(client);
|
|
86
86
|
const callRequest = {
|
|
87
|
-
from: this.flags["from
|
|
88
|
-
to: this.flags["to
|
|
87
|
+
from: this.flags["from"],
|
|
88
|
+
to: this.flags["to"],
|
|
89
89
|
appRef: this.flags["app-ref"],
|
|
90
90
|
timeout: parseInt(this.flags.timeout || "30")
|
|
91
91
|
};
|
|
@@ -125,12 +125,12 @@ class Create extends AuthenticatedCommand_1.AuthenticatedCommand {
|
|
|
125
125
|
Create.description = "initiate a call to a phone number or SIP URI";
|
|
126
126
|
Create.examples = ["<%= config.bin %> <%= command.id %>"];
|
|
127
127
|
Create.flags = {
|
|
128
|
-
|
|
128
|
+
from: core_1.Flags.string({
|
|
129
129
|
char: "f",
|
|
130
130
|
description: "The number to make the call from",
|
|
131
131
|
required: true
|
|
132
132
|
}),
|
|
133
|
-
|
|
133
|
+
to: core_1.Flags.string({
|
|
134
134
|
char: "t",
|
|
135
135
|
description: "The number to make the call to",
|
|
136
136
|
required: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/ctl",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"description": "Fonoster Control Tool",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/fonoster#readme",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"bugs": {
|
|
33
33
|
"url": "https://github.com/fonoster/fonoster/issues"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "230bf0c9b793e5de49ffeb30ee1bd62226f55cba",
|
|
36
36
|
"bin": {
|
|
37
37
|
"fonoster": "./bin/run.js"
|
|
38
38
|
},
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@fonoster/sdk": "^0.8.
|
|
56
|
+
"@fonoster/sdk": "^0.8.4",
|
|
57
57
|
"@inquirer/prompts": "^7.1.0",
|
|
58
58
|
"@oclif/core": "^4.0.34",
|
|
59
59
|
"@oclif/plugin-warn-if-update-available": "^3.1.28",
|