@fonoster/ctl 0.9.50 → 0.9.51
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
|
@@ -23,7 +23,7 @@ $ npm install -g @fonoster/ctl
|
|
|
23
23
|
$ fonoster COMMAND
|
|
24
24
|
running command...
|
|
25
25
|
$ fonoster (--version)
|
|
26
|
-
@fonoster/ctl/0.9.
|
|
26
|
+
@fonoster/ctl/0.9.51 linux-x64 node-v20.19.0
|
|
27
27
|
$ fonoster --help [COMMAND]
|
|
28
28
|
USAGE
|
|
29
29
|
$ fonoster COMMAND
|
|
@@ -110,7 +110,7 @@ EXAMPLES
|
|
|
110
110
|
$ fonoster apikeys:create
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
-
_See code: [dist/commands/apikeys/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
113
|
+
_See code: [dist/commands/apikeys/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/apikeys/create.js)_
|
|
114
114
|
|
|
115
115
|
## `fonoster apikeys:delete REF`
|
|
116
116
|
|
|
@@ -133,7 +133,7 @@ EXAMPLES
|
|
|
133
133
|
$ fonoster apikeys:delete
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
-
_See code: [dist/commands/apikeys/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
136
|
+
_See code: [dist/commands/apikeys/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/apikeys/delete.js)_
|
|
137
137
|
|
|
138
138
|
## `fonoster apikeys:list`
|
|
139
139
|
|
|
@@ -154,7 +154,7 @@ EXAMPLES
|
|
|
154
154
|
$ fonoster apikeys:list
|
|
155
155
|
```
|
|
156
156
|
|
|
157
|
-
_See code: [dist/commands/apikeys/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
157
|
+
_See code: [dist/commands/apikeys/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/apikeys/list.js)_
|
|
158
158
|
|
|
159
159
|
## `fonoster apikeys:regenerate REF`
|
|
160
160
|
|
|
@@ -177,7 +177,7 @@ EXAMPLES
|
|
|
177
177
|
$ fonoster apikeys:regenerate
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
_See code: [dist/commands/apikeys/regenerate.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
180
|
+
_See code: [dist/commands/apikeys/regenerate.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/apikeys/regenerate.js)_
|
|
181
181
|
|
|
182
182
|
## `fonoster applications:create`
|
|
183
183
|
|
|
@@ -197,7 +197,7 @@ EXAMPLES
|
|
|
197
197
|
$ fonoster applications:create
|
|
198
198
|
```
|
|
199
199
|
|
|
200
|
-
_See code: [dist/commands/applications/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
200
|
+
_See code: [dist/commands/applications/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/applications/create.js)_
|
|
201
201
|
|
|
202
202
|
## `fonoster applications:delete REF`
|
|
203
203
|
|
|
@@ -220,7 +220,7 @@ EXAMPLES
|
|
|
220
220
|
$ fonoster applications:delete
|
|
221
221
|
```
|
|
222
222
|
|
|
223
|
-
_See code: [dist/commands/applications/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
223
|
+
_See code: [dist/commands/applications/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/applications/delete.js)_
|
|
224
224
|
|
|
225
225
|
## `fonoster applications:get REF`
|
|
226
226
|
|
|
@@ -243,7 +243,7 @@ EXAMPLES
|
|
|
243
243
|
$ fonoster applications:get
|
|
244
244
|
```
|
|
245
245
|
|
|
246
|
-
_See code: [dist/commands/applications/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
246
|
+
_See code: [dist/commands/applications/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/applications/get.js)_
|
|
247
247
|
|
|
248
248
|
## `fonoster applications:list`
|
|
249
249
|
|
|
@@ -264,7 +264,7 @@ EXAMPLES
|
|
|
264
264
|
$ fonoster applications:list
|
|
265
265
|
```
|
|
266
266
|
|
|
267
|
-
_See code: [dist/commands/applications/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
267
|
+
_See code: [dist/commands/applications/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/applications/list.js)_
|
|
268
268
|
|
|
269
269
|
## `fonoster applications:update REF`
|
|
270
270
|
|
|
@@ -287,7 +287,7 @@ EXAMPLES
|
|
|
287
287
|
$ fonoster applications:update
|
|
288
288
|
```
|
|
289
289
|
|
|
290
|
-
_See code: [dist/commands/applications/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
290
|
+
_See code: [dist/commands/applications/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/applications/update.js)_
|
|
291
291
|
|
|
292
292
|
## `fonoster bug`
|
|
293
293
|
|
|
@@ -304,7 +304,7 @@ EXAMPLES
|
|
|
304
304
|
$ fonoster bug
|
|
305
305
|
```
|
|
306
306
|
|
|
307
|
-
_See code: [dist/commands/bug.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
307
|
+
_See code: [dist/commands/bug.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/bug.js)_
|
|
308
308
|
|
|
309
309
|
## `fonoster feedback`
|
|
310
310
|
|
|
@@ -324,7 +324,7 @@ EXAMPLES
|
|
|
324
324
|
$ fonoster feedback
|
|
325
325
|
```
|
|
326
326
|
|
|
327
|
-
_See code: [dist/commands/feedback.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
327
|
+
_See code: [dist/commands/feedback.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/feedback.js)_
|
|
328
328
|
|
|
329
329
|
## `fonoster mcp:configure`
|
|
330
330
|
|
|
@@ -348,7 +348,7 @@ EXAMPLES
|
|
|
348
348
|
$ fonoster mcp:configure --client claude --workspace my-workspace
|
|
349
349
|
```
|
|
350
350
|
|
|
351
|
-
_See code: [dist/commands/mcp/configure.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
351
|
+
_See code: [dist/commands/mcp/configure.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/mcp/configure.js)_
|
|
352
352
|
|
|
353
353
|
## `fonoster secrets:create`
|
|
354
354
|
|
|
@@ -368,7 +368,7 @@ EXAMPLES
|
|
|
368
368
|
$ fonoster secrets:create
|
|
369
369
|
```
|
|
370
370
|
|
|
371
|
-
_See code: [dist/commands/secrets/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
371
|
+
_See code: [dist/commands/secrets/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/secrets/create.js)_
|
|
372
372
|
|
|
373
373
|
## `fonoster secrets:delete REF`
|
|
374
374
|
|
|
@@ -391,7 +391,7 @@ EXAMPLES
|
|
|
391
391
|
$ fonoster secrets:delete
|
|
392
392
|
```
|
|
393
393
|
|
|
394
|
-
_See code: [dist/commands/secrets/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
394
|
+
_See code: [dist/commands/secrets/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/secrets/delete.js)_
|
|
395
395
|
|
|
396
396
|
## `fonoster secrets:get REF`
|
|
397
397
|
|
|
@@ -414,7 +414,7 @@ EXAMPLES
|
|
|
414
414
|
$ fonoster secrets:get
|
|
415
415
|
```
|
|
416
416
|
|
|
417
|
-
_See code: [dist/commands/secrets/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
417
|
+
_See code: [dist/commands/secrets/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/secrets/get.js)_
|
|
418
418
|
|
|
419
419
|
## `fonoster secrets:list`
|
|
420
420
|
|
|
@@ -435,7 +435,7 @@ EXAMPLES
|
|
|
435
435
|
$ fonoster secrets:list
|
|
436
436
|
```
|
|
437
437
|
|
|
438
|
-
_See code: [dist/commands/secrets/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
438
|
+
_See code: [dist/commands/secrets/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/secrets/list.js)_
|
|
439
439
|
|
|
440
440
|
## `fonoster secrets:update REF`
|
|
441
441
|
|
|
@@ -458,7 +458,7 @@ EXAMPLES
|
|
|
458
458
|
$ fonoster secrets:update
|
|
459
459
|
```
|
|
460
460
|
|
|
461
|
-
_See code: [dist/commands/secrets/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
461
|
+
_See code: [dist/commands/secrets/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/secrets/update.js)_
|
|
462
462
|
|
|
463
463
|
## `fonoster sipnet:acls:create`
|
|
464
464
|
|
|
@@ -478,7 +478,7 @@ EXAMPLES
|
|
|
478
478
|
$ fonoster sipnet:acls:create
|
|
479
479
|
```
|
|
480
480
|
|
|
481
|
-
_See code: [dist/commands/sipnet/acls/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
481
|
+
_See code: [dist/commands/sipnet/acls/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/acls/create.js)_
|
|
482
482
|
|
|
483
483
|
## `fonoster sipnet:acls:delete REF`
|
|
484
484
|
|
|
@@ -501,7 +501,7 @@ EXAMPLES
|
|
|
501
501
|
$ fonoster sipnet:acls:delete
|
|
502
502
|
```
|
|
503
503
|
|
|
504
|
-
_See code: [dist/commands/sipnet/acls/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
504
|
+
_See code: [dist/commands/sipnet/acls/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/acls/delete.js)_
|
|
505
505
|
|
|
506
506
|
## `fonoster sipnet:acls:get REF`
|
|
507
507
|
|
|
@@ -524,7 +524,7 @@ EXAMPLES
|
|
|
524
524
|
$ fonoster sipnet:acls:get
|
|
525
525
|
```
|
|
526
526
|
|
|
527
|
-
_See code: [dist/commands/sipnet/acls/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
527
|
+
_See code: [dist/commands/sipnet/acls/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/acls/get.js)_
|
|
528
528
|
|
|
529
529
|
## `fonoster sipnet:acls:list`
|
|
530
530
|
|
|
@@ -545,7 +545,7 @@ EXAMPLES
|
|
|
545
545
|
$ fonoster sipnet:acls:list
|
|
546
546
|
```
|
|
547
547
|
|
|
548
|
-
_See code: [dist/commands/sipnet/acls/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
548
|
+
_See code: [dist/commands/sipnet/acls/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/acls/list.js)_
|
|
549
549
|
|
|
550
550
|
## `fonoster sipnet:acls:update REF`
|
|
551
551
|
|
|
@@ -568,7 +568,7 @@ EXAMPLES
|
|
|
568
568
|
$ fonoster sipnet:acls:update
|
|
569
569
|
```
|
|
570
570
|
|
|
571
|
-
_See code: [dist/commands/sipnet/acls/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
571
|
+
_See code: [dist/commands/sipnet/acls/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/acls/update.js)_
|
|
572
572
|
|
|
573
573
|
## `fonoster sipnet:agents:create`
|
|
574
574
|
|
|
@@ -588,7 +588,7 @@ EXAMPLES
|
|
|
588
588
|
$ fonoster sipnet:agents:create
|
|
589
589
|
```
|
|
590
590
|
|
|
591
|
-
_See code: [dist/commands/sipnet/agents/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
591
|
+
_See code: [dist/commands/sipnet/agents/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/agents/create.js)_
|
|
592
592
|
|
|
593
593
|
## `fonoster sipnet:agents:delete REF`
|
|
594
594
|
|
|
@@ -611,7 +611,7 @@ EXAMPLES
|
|
|
611
611
|
$ fonoster sipnet:agents:delete
|
|
612
612
|
```
|
|
613
613
|
|
|
614
|
-
_See code: [dist/commands/sipnet/agents/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
614
|
+
_See code: [dist/commands/sipnet/agents/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/agents/delete.js)_
|
|
615
615
|
|
|
616
616
|
## `fonoster sipnet:agents:get REF`
|
|
617
617
|
|
|
@@ -634,7 +634,7 @@ EXAMPLES
|
|
|
634
634
|
$ fonoster sipnet:agents:get
|
|
635
635
|
```
|
|
636
636
|
|
|
637
|
-
_See code: [dist/commands/sipnet/agents/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
637
|
+
_See code: [dist/commands/sipnet/agents/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/agents/get.js)_
|
|
638
638
|
|
|
639
639
|
## `fonoster sipnet:agents:list`
|
|
640
640
|
|
|
@@ -655,7 +655,7 @@ EXAMPLES
|
|
|
655
655
|
$ fonoster sipnet:agents:list
|
|
656
656
|
```
|
|
657
657
|
|
|
658
|
-
_See code: [dist/commands/sipnet/agents/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
658
|
+
_See code: [dist/commands/sipnet/agents/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/agents/list.js)_
|
|
659
659
|
|
|
660
660
|
## `fonoster sipnet:agents:update REF`
|
|
661
661
|
|
|
@@ -678,7 +678,7 @@ EXAMPLES
|
|
|
678
678
|
$ fonoster sipnet:agents:update
|
|
679
679
|
```
|
|
680
680
|
|
|
681
|
-
_See code: [dist/commands/sipnet/agents/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
681
|
+
_See code: [dist/commands/sipnet/agents/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/agents/update.js)_
|
|
682
682
|
|
|
683
683
|
## `fonoster sipnet:calls:create`
|
|
684
684
|
|
|
@@ -686,15 +686,16 @@ initiate a call to a phone number or SIP URI
|
|
|
686
686
|
|
|
687
687
|
```
|
|
688
688
|
USAGE
|
|
689
|
-
$ fonoster sipnet:calls:create -f <value> -t <value> -a <value> [-i] [-o <value>] [-c]
|
|
689
|
+
$ fonoster sipnet:calls:create -f <value> -t <value> -a <value> [-i] [-o <value>] [-c] [-m <value>]
|
|
690
690
|
|
|
691
691
|
FLAGS
|
|
692
|
-
-a, --app-ref=<value>
|
|
693
|
-
-c, --track-call
|
|
694
|
-
-f, --from=<value>
|
|
695
|
-
-i, --insecure
|
|
696
|
-
-
|
|
697
|
-
-
|
|
692
|
+
-a, --app-ref=<value> (required) the reference to the application to use
|
|
693
|
+
-c, --track-call track the call
|
|
694
|
+
-f, --from=<value> (required) the number to make the call from
|
|
695
|
+
-i, --insecure allow connections to a server with no TLS
|
|
696
|
+
-m, --metadata=<value> a JSON object with metadata for the voice application (e.g. '{"name": "John Doe"}')
|
|
697
|
+
-o, --timeout=<value> [default: 30] the call timeout
|
|
698
|
+
-t, --to=<value> (required) the number to make the call to
|
|
698
699
|
|
|
699
700
|
DESCRIPTION
|
|
700
701
|
initiate a call to a phone number or SIP URI
|
|
@@ -703,7 +704,7 @@ EXAMPLES
|
|
|
703
704
|
$ fonoster sipnet:calls:create
|
|
704
705
|
```
|
|
705
706
|
|
|
706
|
-
_See code: [dist/commands/sipnet/calls/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
707
|
+
_See code: [dist/commands/sipnet/calls/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/calls/create.js)_
|
|
707
708
|
|
|
708
709
|
## `fonoster sipnet:calls:get REF`
|
|
709
710
|
|
|
@@ -726,7 +727,7 @@ EXAMPLES
|
|
|
726
727
|
$ fonoster sipnet:calls:get
|
|
727
728
|
```
|
|
728
729
|
|
|
729
|
-
_See code: [dist/commands/sipnet/calls/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
730
|
+
_See code: [dist/commands/sipnet/calls/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/calls/get.js)_
|
|
730
731
|
|
|
731
732
|
## `fonoster sipnet:calls:list`
|
|
732
733
|
|
|
@@ -747,7 +748,7 @@ EXAMPLES
|
|
|
747
748
|
$ fonoster sipnet:calls:list
|
|
748
749
|
```
|
|
749
750
|
|
|
750
|
-
_See code: [dist/commands/sipnet/calls/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
751
|
+
_See code: [dist/commands/sipnet/calls/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/calls/list.js)_
|
|
751
752
|
|
|
752
753
|
## `fonoster sipnet:credentials:create`
|
|
753
754
|
|
|
@@ -767,7 +768,7 @@ EXAMPLES
|
|
|
767
768
|
$ fonoster sipnet:credentials:create
|
|
768
769
|
```
|
|
769
770
|
|
|
770
|
-
_See code: [dist/commands/sipnet/credentials/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
771
|
+
_See code: [dist/commands/sipnet/credentials/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/credentials/create.js)_
|
|
771
772
|
|
|
772
773
|
## `fonoster sipnet:credentials:delete REF`
|
|
773
774
|
|
|
@@ -790,7 +791,7 @@ EXAMPLES
|
|
|
790
791
|
$ fonoster sipnet:credentials:delete
|
|
791
792
|
```
|
|
792
793
|
|
|
793
|
-
_See code: [dist/commands/sipnet/credentials/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
794
|
+
_See code: [dist/commands/sipnet/credentials/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/credentials/delete.js)_
|
|
794
795
|
|
|
795
796
|
## `fonoster sipnet:credentials:get REF`
|
|
796
797
|
|
|
@@ -813,7 +814,7 @@ EXAMPLES
|
|
|
813
814
|
$ fonoster sipnet:credentials:get
|
|
814
815
|
```
|
|
815
816
|
|
|
816
|
-
_See code: [dist/commands/sipnet/credentials/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
817
|
+
_See code: [dist/commands/sipnet/credentials/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/credentials/get.js)_
|
|
817
818
|
|
|
818
819
|
## `fonoster sipnet:credentials:list`
|
|
819
820
|
|
|
@@ -834,7 +835,7 @@ EXAMPLES
|
|
|
834
835
|
$ fonoster sipnet:credentials:list
|
|
835
836
|
```
|
|
836
837
|
|
|
837
|
-
_See code: [dist/commands/sipnet/credentials/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
838
|
+
_See code: [dist/commands/sipnet/credentials/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/credentials/list.js)_
|
|
838
839
|
|
|
839
840
|
## `fonoster sipnet:credentials:update REF`
|
|
840
841
|
|
|
@@ -857,7 +858,7 @@ EXAMPLES
|
|
|
857
858
|
$ fonoster sipnet:credentials:update
|
|
858
859
|
```
|
|
859
860
|
|
|
860
|
-
_See code: [dist/commands/sipnet/credentials/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
861
|
+
_See code: [dist/commands/sipnet/credentials/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/credentials/update.js)_
|
|
861
862
|
|
|
862
863
|
## `fonoster sipnet:domains:create`
|
|
863
864
|
|
|
@@ -877,7 +878,7 @@ EXAMPLES
|
|
|
877
878
|
$ fonoster sipnet:domains:create
|
|
878
879
|
```
|
|
879
880
|
|
|
880
|
-
_See code: [dist/commands/sipnet/domains/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
881
|
+
_See code: [dist/commands/sipnet/domains/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/domains/create.js)_
|
|
881
882
|
|
|
882
883
|
## `fonoster sipnet:domains:delete REF`
|
|
883
884
|
|
|
@@ -900,7 +901,7 @@ EXAMPLES
|
|
|
900
901
|
$ fonoster sipnet:domains:delete
|
|
901
902
|
```
|
|
902
903
|
|
|
903
|
-
_See code: [dist/commands/sipnet/domains/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
904
|
+
_See code: [dist/commands/sipnet/domains/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/domains/delete.js)_
|
|
904
905
|
|
|
905
906
|
## `fonoster sipnet:domains:get REF`
|
|
906
907
|
|
|
@@ -923,7 +924,7 @@ EXAMPLES
|
|
|
923
924
|
$ fonoster sipnet:domains:get
|
|
924
925
|
```
|
|
925
926
|
|
|
926
|
-
_See code: [dist/commands/sipnet/domains/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
927
|
+
_See code: [dist/commands/sipnet/domains/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/domains/get.js)_
|
|
927
928
|
|
|
928
929
|
## `fonoster sipnet:domains:list`
|
|
929
930
|
|
|
@@ -944,7 +945,7 @@ EXAMPLES
|
|
|
944
945
|
$ fonoster sipnet:domains:list
|
|
945
946
|
```
|
|
946
947
|
|
|
947
|
-
_See code: [dist/commands/sipnet/domains/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
948
|
+
_See code: [dist/commands/sipnet/domains/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/domains/list.js)_
|
|
948
949
|
|
|
949
950
|
## `fonoster sipnet:domains:update REF`
|
|
950
951
|
|
|
@@ -967,7 +968,7 @@ EXAMPLES
|
|
|
967
968
|
$ fonoster sipnet:domains:update
|
|
968
969
|
```
|
|
969
970
|
|
|
970
|
-
_See code: [dist/commands/sipnet/domains/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
971
|
+
_See code: [dist/commands/sipnet/domains/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/domains/update.js)_
|
|
971
972
|
|
|
972
973
|
## `fonoster sipnet:numbers:create`
|
|
973
974
|
|
|
@@ -987,7 +988,7 @@ EXAMPLES
|
|
|
987
988
|
$ fonoster sipnet:numbers:create
|
|
988
989
|
```
|
|
989
990
|
|
|
990
|
-
_See code: [dist/commands/sipnet/numbers/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
991
|
+
_See code: [dist/commands/sipnet/numbers/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/numbers/create.js)_
|
|
991
992
|
|
|
992
993
|
## `fonoster sipnet:numbers:delete REF`
|
|
993
994
|
|
|
@@ -1010,7 +1011,7 @@ EXAMPLES
|
|
|
1010
1011
|
$ fonoster sipnet:numbers:delete
|
|
1011
1012
|
```
|
|
1012
1013
|
|
|
1013
|
-
_See code: [dist/commands/sipnet/numbers/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1014
|
+
_See code: [dist/commands/sipnet/numbers/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/numbers/delete.js)_
|
|
1014
1015
|
|
|
1015
1016
|
## `fonoster sipnet:numbers:get REF`
|
|
1016
1017
|
|
|
@@ -1033,7 +1034,7 @@ EXAMPLES
|
|
|
1033
1034
|
$ fonoster sipnet:numbers:get
|
|
1034
1035
|
```
|
|
1035
1036
|
|
|
1036
|
-
_See code: [dist/commands/sipnet/numbers/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1037
|
+
_See code: [dist/commands/sipnet/numbers/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/numbers/get.js)_
|
|
1037
1038
|
|
|
1038
1039
|
## `fonoster sipnet:numbers:linkTwilioNumber`
|
|
1039
1040
|
|
|
@@ -1057,7 +1058,7 @@ EXAMPLES
|
|
|
1057
1058
|
$ fonoster sipnet:numbers:linkTwilioNumber
|
|
1058
1059
|
```
|
|
1059
1060
|
|
|
1060
|
-
_See code: [dist/commands/sipnet/numbers/linkTwilioNumber.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1061
|
+
_See code: [dist/commands/sipnet/numbers/linkTwilioNumber.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/numbers/linkTwilioNumber.js)_
|
|
1061
1062
|
|
|
1062
1063
|
## `fonoster sipnet:numbers:list`
|
|
1063
1064
|
|
|
@@ -1078,7 +1079,7 @@ EXAMPLES
|
|
|
1078
1079
|
$ fonoster sipnet:numbers:list
|
|
1079
1080
|
```
|
|
1080
1081
|
|
|
1081
|
-
_See code: [dist/commands/sipnet/numbers/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1082
|
+
_See code: [dist/commands/sipnet/numbers/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/numbers/list.js)_
|
|
1082
1083
|
|
|
1083
1084
|
## `fonoster sipnet:numbers:update REF`
|
|
1084
1085
|
|
|
@@ -1101,7 +1102,7 @@ EXAMPLES
|
|
|
1101
1102
|
$ fonoster sipnet:numbers:update
|
|
1102
1103
|
```
|
|
1103
1104
|
|
|
1104
|
-
_See code: [dist/commands/sipnet/numbers/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1105
|
+
_See code: [dist/commands/sipnet/numbers/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/numbers/update.js)_
|
|
1105
1106
|
|
|
1106
1107
|
## `fonoster sipnet:trunks:create`
|
|
1107
1108
|
|
|
@@ -1121,7 +1122,7 @@ EXAMPLES
|
|
|
1121
1122
|
$ fonoster sipnet:trunks:create
|
|
1122
1123
|
```
|
|
1123
1124
|
|
|
1124
|
-
_See code: [dist/commands/sipnet/trunks/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1125
|
+
_See code: [dist/commands/sipnet/trunks/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/trunks/create.js)_
|
|
1125
1126
|
|
|
1126
1127
|
## `fonoster sipnet:trunks:delete REF`
|
|
1127
1128
|
|
|
@@ -1144,7 +1145,7 @@ EXAMPLES
|
|
|
1144
1145
|
$ fonoster sipnet:trunks:delete
|
|
1145
1146
|
```
|
|
1146
1147
|
|
|
1147
|
-
_See code: [dist/commands/sipnet/trunks/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1148
|
+
_See code: [dist/commands/sipnet/trunks/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/trunks/delete.js)_
|
|
1148
1149
|
|
|
1149
1150
|
## `fonoster sipnet:trunks:get REF`
|
|
1150
1151
|
|
|
@@ -1167,7 +1168,7 @@ EXAMPLES
|
|
|
1167
1168
|
$ fonoster sipnet:trunks:get
|
|
1168
1169
|
```
|
|
1169
1170
|
|
|
1170
|
-
_See code: [dist/commands/sipnet/trunks/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1171
|
+
_See code: [dist/commands/sipnet/trunks/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/trunks/get.js)_
|
|
1171
1172
|
|
|
1172
1173
|
## `fonoster sipnet:trunks:list`
|
|
1173
1174
|
|
|
@@ -1188,7 +1189,7 @@ EXAMPLES
|
|
|
1188
1189
|
$ fonoster sipnet:trunks:list
|
|
1189
1190
|
```
|
|
1190
1191
|
|
|
1191
|
-
_See code: [dist/commands/sipnet/trunks/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1192
|
+
_See code: [dist/commands/sipnet/trunks/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/trunks/list.js)_
|
|
1192
1193
|
|
|
1193
1194
|
## `fonoster sipnet:trunks:update REF`
|
|
1194
1195
|
|
|
@@ -1211,7 +1212,7 @@ EXAMPLES
|
|
|
1211
1212
|
$ fonoster sipnet:trunks:update
|
|
1212
1213
|
```
|
|
1213
1214
|
|
|
1214
|
-
_See code: [dist/commands/sipnet/trunks/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1215
|
+
_See code: [dist/commands/sipnet/trunks/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/trunks/update.js)_
|
|
1215
1216
|
|
|
1216
1217
|
## `fonoster utils:autopilotTestsCases`
|
|
1217
1218
|
|
|
@@ -1234,7 +1235,7 @@ EXAMPLES
|
|
|
1234
1235
|
$ fonoster utils:autopilotTestsCases -f assistant.yaml
|
|
1235
1236
|
```
|
|
1236
1237
|
|
|
1237
|
-
_See code: [dist/commands/utils/autopilotTestsCases.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1238
|
+
_See code: [dist/commands/utils/autopilotTestsCases.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/utils/autopilotTestsCases.js)_
|
|
1238
1239
|
|
|
1239
1240
|
## `fonoster workspaces:active`
|
|
1240
1241
|
|
|
@@ -1251,7 +1252,7 @@ EXAMPLES
|
|
|
1251
1252
|
$ fonoster workspaces:active
|
|
1252
1253
|
```
|
|
1253
1254
|
|
|
1254
|
-
_See code: [dist/commands/workspaces/active.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1255
|
+
_See code: [dist/commands/workspaces/active.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/workspaces/active.js)_
|
|
1255
1256
|
|
|
1256
1257
|
## `fonoster workspaces:list`
|
|
1257
1258
|
|
|
@@ -1268,7 +1269,7 @@ EXAMPLES
|
|
|
1268
1269
|
$ fonoster workspaces:list
|
|
1269
1270
|
```
|
|
1270
1271
|
|
|
1271
|
-
_See code: [dist/commands/workspaces/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1272
|
+
_See code: [dist/commands/workspaces/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/workspaces/list.js)_
|
|
1272
1273
|
|
|
1273
1274
|
## `fonoster workspaces:login`
|
|
1274
1275
|
|
|
@@ -1288,7 +1289,7 @@ EXAMPLES
|
|
|
1288
1289
|
$ fonoster workspaces:login
|
|
1289
1290
|
```
|
|
1290
1291
|
|
|
1291
|
-
_See code: [dist/commands/workspaces/login.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1292
|
+
_See code: [dist/commands/workspaces/login.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/workspaces/login.js)_
|
|
1292
1293
|
|
|
1293
1294
|
## `fonoster workspaces:logout REF`
|
|
1294
1295
|
|
|
@@ -1308,7 +1309,7 @@ EXAMPLES
|
|
|
1308
1309
|
$ fonoster workspaces:logout
|
|
1309
1310
|
```
|
|
1310
1311
|
|
|
1311
|
-
_See code: [dist/commands/workspaces/logout.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1312
|
+
_See code: [dist/commands/workspaces/logout.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/workspaces/logout.js)_
|
|
1312
1313
|
|
|
1313
1314
|
## `fonoster workspaces:use REF`
|
|
1314
1315
|
|
|
@@ -1328,5 +1329,5 @@ EXAMPLES
|
|
|
1328
1329
|
$ fonoster workspaces:use
|
|
1329
1330
|
```
|
|
1330
1331
|
|
|
1331
|
-
_See code: [dist/commands/workspaces/use.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1332
|
+
_See code: [dist/commands/workspaces/use.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/workspaces/use.js)_
|
|
1332
1333
|
<!-- commandsstop -->
|
|
@@ -8,6 +8,7 @@ export default class Create extends AuthenticatedCommand<typeof Create> {
|
|
|
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>;
|
|
11
|
+
metadata: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
11
12
|
};
|
|
12
13
|
run(): Promise<void>;
|
|
13
14
|
}
|
|
@@ -86,7 +86,8 @@ class Create extends AuthenticatedCommand_1.AuthenticatedCommand {
|
|
|
86
86
|
from: this.flags["from"],
|
|
87
87
|
to: this.flags["to"],
|
|
88
88
|
appRef: this.flags["app-ref"],
|
|
89
|
-
timeout: parseInt(this.flags.timeout || "30")
|
|
89
|
+
timeout: parseInt(this.flags.timeout || "30"),
|
|
90
|
+
metadata: JSON.parse(this.flags.metadata || "{}")
|
|
90
91
|
};
|
|
91
92
|
const response = yield calls.createCall(callRequest);
|
|
92
93
|
this.log(`Call created: ${response.ref}`);
|
|
@@ -126,30 +127,35 @@ Create.examples = ["<%= config.bin %> <%= command.id %>"];
|
|
|
126
127
|
Create.flags = {
|
|
127
128
|
from: core_1.Flags.string({
|
|
128
129
|
char: "f",
|
|
129
|
-
description: "
|
|
130
|
+
description: "the number to make the call from",
|
|
130
131
|
required: true
|
|
131
132
|
}),
|
|
132
133
|
to: core_1.Flags.string({
|
|
133
134
|
char: "t",
|
|
134
|
-
description: "
|
|
135
|
+
description: "the number to make the call to",
|
|
135
136
|
required: true
|
|
136
137
|
}),
|
|
137
138
|
"app-ref": core_1.Flags.string({
|
|
138
139
|
char: "a",
|
|
139
|
-
description: "
|
|
140
|
+
description: "the reference to the application to use",
|
|
140
141
|
required: true
|
|
141
142
|
}),
|
|
142
143
|
timeout: core_1.Flags.string({
|
|
143
144
|
char: "o",
|
|
144
|
-
description: "
|
|
145
|
+
description: "the call timeout",
|
|
145
146
|
default: "30",
|
|
146
147
|
required: false
|
|
147
148
|
}),
|
|
148
149
|
"track-call": core_1.Flags.boolean({
|
|
149
150
|
char: "c",
|
|
150
|
-
description: "
|
|
151
|
+
description: "track the call",
|
|
151
152
|
default: false,
|
|
152
153
|
required: false
|
|
154
|
+
}),
|
|
155
|
+
metadata: core_1.Flags.string({
|
|
156
|
+
char: "m",
|
|
157
|
+
description: 'a JSON object with metadata for the voice application (e.g. \'{"name": "John Doe"}\')',
|
|
158
|
+
required: false
|
|
153
159
|
})
|
|
154
160
|
};
|
|
155
161
|
exports.default = Create;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/ctl",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.51",
|
|
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": "0de025bb29e91916c4530a00ed2ba0e40eed220f",
|
|
36
36
|
"bin": {
|
|
37
37
|
"fonoster": "./bin/run.js"
|
|
38
38
|
},
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@fonoster/autopilot": "^0.9.
|
|
57
|
-
"@fonoster/sdk": "^0.9.
|
|
56
|
+
"@fonoster/autopilot": "^0.9.51",
|
|
57
|
+
"@fonoster/sdk": "^0.9.51",
|
|
58
58
|
"@inquirer/prompts": "^7.1.0",
|
|
59
59
|
"@oclif/core": "^4.0.34",
|
|
60
60
|
"@oclif/plugin-warn-if-update-available": "^3.1.28",
|