@fonoster/ctl 0.8.53 → 0.8.56
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.8.
|
|
26
|
+
@fonoster/ctl/0.8.56 darwin-arm64 node-v22.13.1
|
|
27
27
|
$ fonoster --help [COMMAND]
|
|
28
28
|
USAGE
|
|
29
29
|
$ fonoster COMMAND
|
|
@@ -82,6 +82,7 @@ USAGE
|
|
|
82
82
|
* [`fonoster sipnet:trunks:get REF`](#fonoster-sipnettrunksget-ref)
|
|
83
83
|
* [`fonoster sipnet:trunks:list`](#fonoster-sipnettrunkslist)
|
|
84
84
|
* [`fonoster sipnet:trunks:update REF`](#fonoster-sipnettrunksupdate-ref)
|
|
85
|
+
* [`fonoster utils:autopilotTestsCases`](#fonoster-utilsautopilottestscases)
|
|
85
86
|
* [`fonoster workspaces:active`](#fonoster-workspacesactive)
|
|
86
87
|
* [`fonoster workspaces:list`](#fonoster-workspaceslist)
|
|
87
88
|
* [`fonoster workspaces:login`](#fonoster-workspaceslogin)
|
|
@@ -108,7 +109,7 @@ EXAMPLES
|
|
|
108
109
|
$ fonoster apikeys:create
|
|
109
110
|
```
|
|
110
111
|
|
|
111
|
-
_See code: [dist/commands/apikeys/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
112
|
+
_See code: [dist/commands/apikeys/create.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/apikeys/create.js)_
|
|
112
113
|
|
|
113
114
|
## `fonoster apikeys:delete REF`
|
|
114
115
|
|
|
@@ -131,7 +132,7 @@ EXAMPLES
|
|
|
131
132
|
$ fonoster apikeys:delete
|
|
132
133
|
```
|
|
133
134
|
|
|
134
|
-
_See code: [dist/commands/apikeys/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
135
|
+
_See code: [dist/commands/apikeys/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/apikeys/delete.js)_
|
|
135
136
|
|
|
136
137
|
## `fonoster apikeys:list`
|
|
137
138
|
|
|
@@ -152,7 +153,7 @@ EXAMPLES
|
|
|
152
153
|
$ fonoster apikeys:list
|
|
153
154
|
```
|
|
154
155
|
|
|
155
|
-
_See code: [dist/commands/apikeys/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
156
|
+
_See code: [dist/commands/apikeys/list.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/apikeys/list.js)_
|
|
156
157
|
|
|
157
158
|
## `fonoster apikeys:regenerate REF`
|
|
158
159
|
|
|
@@ -175,7 +176,7 @@ EXAMPLES
|
|
|
175
176
|
$ fonoster apikeys:regenerate
|
|
176
177
|
```
|
|
177
178
|
|
|
178
|
-
_See code: [dist/commands/apikeys/regenerate.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
179
|
+
_See code: [dist/commands/apikeys/regenerate.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/apikeys/regenerate.js)_
|
|
179
180
|
|
|
180
181
|
## `fonoster applications:create`
|
|
181
182
|
|
|
@@ -195,7 +196,7 @@ EXAMPLES
|
|
|
195
196
|
$ fonoster applications:create
|
|
196
197
|
```
|
|
197
198
|
|
|
198
|
-
_See code: [dist/commands/applications/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
199
|
+
_See code: [dist/commands/applications/create.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/applications/create.js)_
|
|
199
200
|
|
|
200
201
|
## `fonoster applications:delete REF`
|
|
201
202
|
|
|
@@ -218,7 +219,7 @@ EXAMPLES
|
|
|
218
219
|
$ fonoster applications:delete
|
|
219
220
|
```
|
|
220
221
|
|
|
221
|
-
_See code: [dist/commands/applications/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
222
|
+
_See code: [dist/commands/applications/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/applications/delete.js)_
|
|
222
223
|
|
|
223
224
|
## `fonoster applications:get REF`
|
|
224
225
|
|
|
@@ -241,7 +242,7 @@ EXAMPLES
|
|
|
241
242
|
$ fonoster applications:get
|
|
242
243
|
```
|
|
243
244
|
|
|
244
|
-
_See code: [dist/commands/applications/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
245
|
+
_See code: [dist/commands/applications/get.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/applications/get.js)_
|
|
245
246
|
|
|
246
247
|
## `fonoster applications:list`
|
|
247
248
|
|
|
@@ -262,7 +263,7 @@ EXAMPLES
|
|
|
262
263
|
$ fonoster applications:list
|
|
263
264
|
```
|
|
264
265
|
|
|
265
|
-
_See code: [dist/commands/applications/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
266
|
+
_See code: [dist/commands/applications/list.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/applications/list.js)_
|
|
266
267
|
|
|
267
268
|
## `fonoster applications:update REF`
|
|
268
269
|
|
|
@@ -285,7 +286,7 @@ EXAMPLES
|
|
|
285
286
|
$ fonoster applications:update
|
|
286
287
|
```
|
|
287
288
|
|
|
288
|
-
_See code: [dist/commands/applications/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
289
|
+
_See code: [dist/commands/applications/update.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/applications/update.js)_
|
|
289
290
|
|
|
290
291
|
## `fonoster bug`
|
|
291
292
|
|
|
@@ -302,7 +303,7 @@ EXAMPLES
|
|
|
302
303
|
$ fonoster bug
|
|
303
304
|
```
|
|
304
305
|
|
|
305
|
-
_See code: [dist/commands/bug.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
306
|
+
_See code: [dist/commands/bug.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/bug.js)_
|
|
306
307
|
|
|
307
308
|
## `fonoster feedback`
|
|
308
309
|
|
|
@@ -322,7 +323,7 @@ EXAMPLES
|
|
|
322
323
|
$ fonoster feedback
|
|
323
324
|
```
|
|
324
325
|
|
|
325
|
-
_See code: [dist/commands/feedback.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
326
|
+
_See code: [dist/commands/feedback.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/feedback.js)_
|
|
326
327
|
|
|
327
328
|
## `fonoster secrets:create`
|
|
328
329
|
|
|
@@ -342,7 +343,7 @@ EXAMPLES
|
|
|
342
343
|
$ fonoster secrets:create
|
|
343
344
|
```
|
|
344
345
|
|
|
345
|
-
_See code: [dist/commands/secrets/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
346
|
+
_See code: [dist/commands/secrets/create.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/secrets/create.js)_
|
|
346
347
|
|
|
347
348
|
## `fonoster secrets:delete REF`
|
|
348
349
|
|
|
@@ -365,7 +366,7 @@ EXAMPLES
|
|
|
365
366
|
$ fonoster secrets:delete
|
|
366
367
|
```
|
|
367
368
|
|
|
368
|
-
_See code: [dist/commands/secrets/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
369
|
+
_See code: [dist/commands/secrets/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/secrets/delete.js)_
|
|
369
370
|
|
|
370
371
|
## `fonoster secrets:get REF`
|
|
371
372
|
|
|
@@ -388,7 +389,7 @@ EXAMPLES
|
|
|
388
389
|
$ fonoster secrets:get
|
|
389
390
|
```
|
|
390
391
|
|
|
391
|
-
_See code: [dist/commands/secrets/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
392
|
+
_See code: [dist/commands/secrets/get.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/secrets/get.js)_
|
|
392
393
|
|
|
393
394
|
## `fonoster secrets:list`
|
|
394
395
|
|
|
@@ -409,7 +410,7 @@ EXAMPLES
|
|
|
409
410
|
$ fonoster secrets:list
|
|
410
411
|
```
|
|
411
412
|
|
|
412
|
-
_See code: [dist/commands/secrets/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
413
|
+
_See code: [dist/commands/secrets/list.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/secrets/list.js)_
|
|
413
414
|
|
|
414
415
|
## `fonoster secrets:update REF`
|
|
415
416
|
|
|
@@ -432,7 +433,7 @@ EXAMPLES
|
|
|
432
433
|
$ fonoster secrets:update
|
|
433
434
|
```
|
|
434
435
|
|
|
435
|
-
_See code: [dist/commands/secrets/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
436
|
+
_See code: [dist/commands/secrets/update.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/secrets/update.js)_
|
|
436
437
|
|
|
437
438
|
## `fonoster sipnet:acls:create`
|
|
438
439
|
|
|
@@ -452,7 +453,7 @@ EXAMPLES
|
|
|
452
453
|
$ fonoster sipnet:acls:create
|
|
453
454
|
```
|
|
454
455
|
|
|
455
|
-
_See code: [dist/commands/sipnet/acls/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
456
|
+
_See code: [dist/commands/sipnet/acls/create.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/acls/create.js)_
|
|
456
457
|
|
|
457
458
|
## `fonoster sipnet:acls:delete REF`
|
|
458
459
|
|
|
@@ -475,7 +476,7 @@ EXAMPLES
|
|
|
475
476
|
$ fonoster sipnet:acls:delete
|
|
476
477
|
```
|
|
477
478
|
|
|
478
|
-
_See code: [dist/commands/sipnet/acls/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
479
|
+
_See code: [dist/commands/sipnet/acls/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/acls/delete.js)_
|
|
479
480
|
|
|
480
481
|
## `fonoster sipnet:acls:get REF`
|
|
481
482
|
|
|
@@ -498,7 +499,7 @@ EXAMPLES
|
|
|
498
499
|
$ fonoster sipnet:acls:get
|
|
499
500
|
```
|
|
500
501
|
|
|
501
|
-
_See code: [dist/commands/sipnet/acls/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
502
|
+
_See code: [dist/commands/sipnet/acls/get.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/acls/get.js)_
|
|
502
503
|
|
|
503
504
|
## `fonoster sipnet:acls:list`
|
|
504
505
|
|
|
@@ -519,7 +520,7 @@ EXAMPLES
|
|
|
519
520
|
$ fonoster sipnet:acls:list
|
|
520
521
|
```
|
|
521
522
|
|
|
522
|
-
_See code: [dist/commands/sipnet/acls/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
523
|
+
_See code: [dist/commands/sipnet/acls/list.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/acls/list.js)_
|
|
523
524
|
|
|
524
525
|
## `fonoster sipnet:acls:update REF`
|
|
525
526
|
|
|
@@ -542,7 +543,7 @@ EXAMPLES
|
|
|
542
543
|
$ fonoster sipnet:acls:update
|
|
543
544
|
```
|
|
544
545
|
|
|
545
|
-
_See code: [dist/commands/sipnet/acls/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
546
|
+
_See code: [dist/commands/sipnet/acls/update.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/acls/update.js)_
|
|
546
547
|
|
|
547
548
|
## `fonoster sipnet:agents:create`
|
|
548
549
|
|
|
@@ -562,7 +563,7 @@ EXAMPLES
|
|
|
562
563
|
$ fonoster sipnet:agents:create
|
|
563
564
|
```
|
|
564
565
|
|
|
565
|
-
_See code: [dist/commands/sipnet/agents/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
566
|
+
_See code: [dist/commands/sipnet/agents/create.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/agents/create.js)_
|
|
566
567
|
|
|
567
568
|
## `fonoster sipnet:agents:delete REF`
|
|
568
569
|
|
|
@@ -585,7 +586,7 @@ EXAMPLES
|
|
|
585
586
|
$ fonoster sipnet:agents:delete
|
|
586
587
|
```
|
|
587
588
|
|
|
588
|
-
_See code: [dist/commands/sipnet/agents/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
589
|
+
_See code: [dist/commands/sipnet/agents/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/agents/delete.js)_
|
|
589
590
|
|
|
590
591
|
## `fonoster sipnet:agents:get REF`
|
|
591
592
|
|
|
@@ -608,7 +609,7 @@ EXAMPLES
|
|
|
608
609
|
$ fonoster sipnet:agents:get
|
|
609
610
|
```
|
|
610
611
|
|
|
611
|
-
_See code: [dist/commands/sipnet/agents/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
612
|
+
_See code: [dist/commands/sipnet/agents/get.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/agents/get.js)_
|
|
612
613
|
|
|
613
614
|
## `fonoster sipnet:agents:list`
|
|
614
615
|
|
|
@@ -629,7 +630,7 @@ EXAMPLES
|
|
|
629
630
|
$ fonoster sipnet:agents:list
|
|
630
631
|
```
|
|
631
632
|
|
|
632
|
-
_See code: [dist/commands/sipnet/agents/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
633
|
+
_See code: [dist/commands/sipnet/agents/list.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/agents/list.js)_
|
|
633
634
|
|
|
634
635
|
## `fonoster sipnet:agents:update REF`
|
|
635
636
|
|
|
@@ -652,7 +653,7 @@ EXAMPLES
|
|
|
652
653
|
$ fonoster sipnet:agents:update
|
|
653
654
|
```
|
|
654
655
|
|
|
655
|
-
_See code: [dist/commands/sipnet/agents/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
656
|
+
_See code: [dist/commands/sipnet/agents/update.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/agents/update.js)_
|
|
656
657
|
|
|
657
658
|
## `fonoster sipnet:calls:create`
|
|
658
659
|
|
|
@@ -677,7 +678,7 @@ EXAMPLES
|
|
|
677
678
|
$ fonoster sipnet:calls:create
|
|
678
679
|
```
|
|
679
680
|
|
|
680
|
-
_See code: [dist/commands/sipnet/calls/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
681
|
+
_See code: [dist/commands/sipnet/calls/create.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/calls/create.js)_
|
|
681
682
|
|
|
682
683
|
## `fonoster sipnet:calls:get REF`
|
|
683
684
|
|
|
@@ -700,7 +701,7 @@ EXAMPLES
|
|
|
700
701
|
$ fonoster sipnet:calls:get
|
|
701
702
|
```
|
|
702
703
|
|
|
703
|
-
_See code: [dist/commands/sipnet/calls/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
704
|
+
_See code: [dist/commands/sipnet/calls/get.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/calls/get.js)_
|
|
704
705
|
|
|
705
706
|
## `fonoster sipnet:calls:list`
|
|
706
707
|
|
|
@@ -721,7 +722,7 @@ EXAMPLES
|
|
|
721
722
|
$ fonoster sipnet:calls:list
|
|
722
723
|
```
|
|
723
724
|
|
|
724
|
-
_See code: [dist/commands/sipnet/calls/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
725
|
+
_See code: [dist/commands/sipnet/calls/list.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/calls/list.js)_
|
|
725
726
|
|
|
726
727
|
## `fonoster sipnet:credentials:create`
|
|
727
728
|
|
|
@@ -741,7 +742,7 @@ EXAMPLES
|
|
|
741
742
|
$ fonoster sipnet:credentials:create
|
|
742
743
|
```
|
|
743
744
|
|
|
744
|
-
_See code: [dist/commands/sipnet/credentials/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
745
|
+
_See code: [dist/commands/sipnet/credentials/create.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/credentials/create.js)_
|
|
745
746
|
|
|
746
747
|
## `fonoster sipnet:credentials:delete REF`
|
|
747
748
|
|
|
@@ -764,7 +765,7 @@ EXAMPLES
|
|
|
764
765
|
$ fonoster sipnet:credentials:delete
|
|
765
766
|
```
|
|
766
767
|
|
|
767
|
-
_See code: [dist/commands/sipnet/credentials/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
768
|
+
_See code: [dist/commands/sipnet/credentials/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/credentials/delete.js)_
|
|
768
769
|
|
|
769
770
|
## `fonoster sipnet:credentials:get REF`
|
|
770
771
|
|
|
@@ -787,7 +788,7 @@ EXAMPLES
|
|
|
787
788
|
$ fonoster sipnet:credentials:get
|
|
788
789
|
```
|
|
789
790
|
|
|
790
|
-
_See code: [dist/commands/sipnet/credentials/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
791
|
+
_See code: [dist/commands/sipnet/credentials/get.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/credentials/get.js)_
|
|
791
792
|
|
|
792
793
|
## `fonoster sipnet:credentials:list`
|
|
793
794
|
|
|
@@ -808,7 +809,7 @@ EXAMPLES
|
|
|
808
809
|
$ fonoster sipnet:credentials:list
|
|
809
810
|
```
|
|
810
811
|
|
|
811
|
-
_See code: [dist/commands/sipnet/credentials/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
812
|
+
_See code: [dist/commands/sipnet/credentials/list.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/credentials/list.js)_
|
|
812
813
|
|
|
813
814
|
## `fonoster sipnet:credentials:update REF`
|
|
814
815
|
|
|
@@ -831,7 +832,7 @@ EXAMPLES
|
|
|
831
832
|
$ fonoster sipnet:credentials:update
|
|
832
833
|
```
|
|
833
834
|
|
|
834
|
-
_See code: [dist/commands/sipnet/credentials/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
835
|
+
_See code: [dist/commands/sipnet/credentials/update.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/credentials/update.js)_
|
|
835
836
|
|
|
836
837
|
## `fonoster sipnet:domains:create`
|
|
837
838
|
|
|
@@ -851,7 +852,7 @@ EXAMPLES
|
|
|
851
852
|
$ fonoster sipnet:domains:create
|
|
852
853
|
```
|
|
853
854
|
|
|
854
|
-
_See code: [dist/commands/sipnet/domains/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
855
|
+
_See code: [dist/commands/sipnet/domains/create.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/domains/create.js)_
|
|
855
856
|
|
|
856
857
|
## `fonoster sipnet:domains:delete REF`
|
|
857
858
|
|
|
@@ -874,7 +875,7 @@ EXAMPLES
|
|
|
874
875
|
$ fonoster sipnet:domains:delete
|
|
875
876
|
```
|
|
876
877
|
|
|
877
|
-
_See code: [dist/commands/sipnet/domains/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
878
|
+
_See code: [dist/commands/sipnet/domains/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/domains/delete.js)_
|
|
878
879
|
|
|
879
880
|
## `fonoster sipnet:domains:get REF`
|
|
880
881
|
|
|
@@ -897,7 +898,7 @@ EXAMPLES
|
|
|
897
898
|
$ fonoster sipnet:domains:get
|
|
898
899
|
```
|
|
899
900
|
|
|
900
|
-
_See code: [dist/commands/sipnet/domains/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
901
|
+
_See code: [dist/commands/sipnet/domains/get.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/domains/get.js)_
|
|
901
902
|
|
|
902
903
|
## `fonoster sipnet:domains:list`
|
|
903
904
|
|
|
@@ -918,7 +919,7 @@ EXAMPLES
|
|
|
918
919
|
$ fonoster sipnet:domains:list
|
|
919
920
|
```
|
|
920
921
|
|
|
921
|
-
_See code: [dist/commands/sipnet/domains/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
922
|
+
_See code: [dist/commands/sipnet/domains/list.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/domains/list.js)_
|
|
922
923
|
|
|
923
924
|
## `fonoster sipnet:domains:update REF`
|
|
924
925
|
|
|
@@ -941,7 +942,7 @@ EXAMPLES
|
|
|
941
942
|
$ fonoster sipnet:domains:update
|
|
942
943
|
```
|
|
943
944
|
|
|
944
|
-
_See code: [dist/commands/sipnet/domains/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
945
|
+
_See code: [dist/commands/sipnet/domains/update.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/domains/update.js)_
|
|
945
946
|
|
|
946
947
|
## `fonoster sipnet:numbers:create`
|
|
947
948
|
|
|
@@ -961,7 +962,7 @@ EXAMPLES
|
|
|
961
962
|
$ fonoster sipnet:numbers:create
|
|
962
963
|
```
|
|
963
964
|
|
|
964
|
-
_See code: [dist/commands/sipnet/numbers/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
965
|
+
_See code: [dist/commands/sipnet/numbers/create.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/numbers/create.js)_
|
|
965
966
|
|
|
966
967
|
## `fonoster sipnet:numbers:delete REF`
|
|
967
968
|
|
|
@@ -984,7 +985,7 @@ EXAMPLES
|
|
|
984
985
|
$ fonoster sipnet:numbers:delete
|
|
985
986
|
```
|
|
986
987
|
|
|
987
|
-
_See code: [dist/commands/sipnet/numbers/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
988
|
+
_See code: [dist/commands/sipnet/numbers/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/numbers/delete.js)_
|
|
988
989
|
|
|
989
990
|
## `fonoster sipnet:numbers:get REF`
|
|
990
991
|
|
|
@@ -1007,7 +1008,7 @@ EXAMPLES
|
|
|
1007
1008
|
$ fonoster sipnet:numbers:get
|
|
1008
1009
|
```
|
|
1009
1010
|
|
|
1010
|
-
_See code: [dist/commands/sipnet/numbers/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1011
|
+
_See code: [dist/commands/sipnet/numbers/get.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/numbers/get.js)_
|
|
1011
1012
|
|
|
1012
1013
|
## `fonoster sipnet:numbers:linkTwilioNumber`
|
|
1013
1014
|
|
|
@@ -1031,7 +1032,7 @@ EXAMPLES
|
|
|
1031
1032
|
$ fonoster sipnet:numbers:linkTwilioNumber
|
|
1032
1033
|
```
|
|
1033
1034
|
|
|
1034
|
-
_See code: [dist/commands/sipnet/numbers/linkTwilioNumber.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1035
|
+
_See code: [dist/commands/sipnet/numbers/linkTwilioNumber.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/numbers/linkTwilioNumber.js)_
|
|
1035
1036
|
|
|
1036
1037
|
## `fonoster sipnet:numbers:list`
|
|
1037
1038
|
|
|
@@ -1052,7 +1053,7 @@ EXAMPLES
|
|
|
1052
1053
|
$ fonoster sipnet:numbers:list
|
|
1053
1054
|
```
|
|
1054
1055
|
|
|
1055
|
-
_See code: [dist/commands/sipnet/numbers/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1056
|
+
_See code: [dist/commands/sipnet/numbers/list.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/numbers/list.js)_
|
|
1056
1057
|
|
|
1057
1058
|
## `fonoster sipnet:numbers:update REF`
|
|
1058
1059
|
|
|
@@ -1075,7 +1076,7 @@ EXAMPLES
|
|
|
1075
1076
|
$ fonoster sipnet:numbers:update
|
|
1076
1077
|
```
|
|
1077
1078
|
|
|
1078
|
-
_See code: [dist/commands/sipnet/numbers/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1079
|
+
_See code: [dist/commands/sipnet/numbers/update.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/numbers/update.js)_
|
|
1079
1080
|
|
|
1080
1081
|
## `fonoster sipnet:trunks:create`
|
|
1081
1082
|
|
|
@@ -1095,7 +1096,7 @@ EXAMPLES
|
|
|
1095
1096
|
$ fonoster sipnet:trunks:create
|
|
1096
1097
|
```
|
|
1097
1098
|
|
|
1098
|
-
_See code: [dist/commands/sipnet/trunks/create.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1099
|
+
_See code: [dist/commands/sipnet/trunks/create.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/trunks/create.js)_
|
|
1099
1100
|
|
|
1100
1101
|
## `fonoster sipnet:trunks:delete REF`
|
|
1101
1102
|
|
|
@@ -1118,7 +1119,7 @@ EXAMPLES
|
|
|
1118
1119
|
$ fonoster sipnet:trunks:delete
|
|
1119
1120
|
```
|
|
1120
1121
|
|
|
1121
|
-
_See code: [dist/commands/sipnet/trunks/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1122
|
+
_See code: [dist/commands/sipnet/trunks/delete.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/trunks/delete.js)_
|
|
1122
1123
|
|
|
1123
1124
|
## `fonoster sipnet:trunks:get REF`
|
|
1124
1125
|
|
|
@@ -1141,7 +1142,7 @@ EXAMPLES
|
|
|
1141
1142
|
$ fonoster sipnet:trunks:get
|
|
1142
1143
|
```
|
|
1143
1144
|
|
|
1144
|
-
_See code: [dist/commands/sipnet/trunks/get.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1145
|
+
_See code: [dist/commands/sipnet/trunks/get.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/trunks/get.js)_
|
|
1145
1146
|
|
|
1146
1147
|
## `fonoster sipnet:trunks:list`
|
|
1147
1148
|
|
|
@@ -1162,7 +1163,7 @@ EXAMPLES
|
|
|
1162
1163
|
$ fonoster sipnet:trunks:list
|
|
1163
1164
|
```
|
|
1164
1165
|
|
|
1165
|
-
_See code: [dist/commands/sipnet/trunks/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1166
|
+
_See code: [dist/commands/sipnet/trunks/list.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/trunks/list.js)_
|
|
1166
1167
|
|
|
1167
1168
|
## `fonoster sipnet:trunks:update REF`
|
|
1168
1169
|
|
|
@@ -1185,7 +1186,30 @@ EXAMPLES
|
|
|
1185
1186
|
$ fonoster sipnet:trunks:update
|
|
1186
1187
|
```
|
|
1187
1188
|
|
|
1188
|
-
_See code: [dist/commands/sipnet/trunks/update.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1189
|
+
_See code: [dist/commands/sipnet/trunks/update.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/sipnet/trunks/update.js)_
|
|
1190
|
+
|
|
1191
|
+
## `fonoster utils:autopilotTestsCases`
|
|
1192
|
+
|
|
1193
|
+
experimental command to test an Autopilot's behavior
|
|
1194
|
+
|
|
1195
|
+
```
|
|
1196
|
+
USAGE
|
|
1197
|
+
$ fonoster utils:autopilotTestsCases -f <value> [-i]
|
|
1198
|
+
|
|
1199
|
+
FLAGS
|
|
1200
|
+
-f, --file=<value> (required) path to test cases file (json, yaml, or yml)
|
|
1201
|
+
-i, --insecure allow connections to a server with no TLS
|
|
1202
|
+
|
|
1203
|
+
DESCRIPTION
|
|
1204
|
+
experimental command to test an Autopilot's behavior
|
|
1205
|
+
|
|
1206
|
+
EXAMPLES
|
|
1207
|
+
$ fonoster utils:autopilotTestsCases -f assistant.json
|
|
1208
|
+
|
|
1209
|
+
$ fonoster utils:autopilotTestsCases -f assistant.yaml
|
|
1210
|
+
```
|
|
1211
|
+
|
|
1212
|
+
_See code: [dist/commands/utils/autopilotTestsCases.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/utils/autopilotTestsCases.js)_
|
|
1189
1213
|
|
|
1190
1214
|
## `fonoster workspaces:active`
|
|
1191
1215
|
|
|
@@ -1202,7 +1226,7 @@ EXAMPLES
|
|
|
1202
1226
|
$ fonoster workspaces:active
|
|
1203
1227
|
```
|
|
1204
1228
|
|
|
1205
|
-
_See code: [dist/commands/workspaces/active.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1229
|
+
_See code: [dist/commands/workspaces/active.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/workspaces/active.js)_
|
|
1206
1230
|
|
|
1207
1231
|
## `fonoster workspaces:list`
|
|
1208
1232
|
|
|
@@ -1219,7 +1243,7 @@ EXAMPLES
|
|
|
1219
1243
|
$ fonoster workspaces:list
|
|
1220
1244
|
```
|
|
1221
1245
|
|
|
1222
|
-
_See code: [dist/commands/workspaces/list.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1246
|
+
_See code: [dist/commands/workspaces/list.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/workspaces/list.js)_
|
|
1223
1247
|
|
|
1224
1248
|
## `fonoster workspaces:login`
|
|
1225
1249
|
|
|
@@ -1239,7 +1263,7 @@ EXAMPLES
|
|
|
1239
1263
|
$ fonoster workspaces:login
|
|
1240
1264
|
```
|
|
1241
1265
|
|
|
1242
|
-
_See code: [dist/commands/workspaces/login.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1266
|
+
_See code: [dist/commands/workspaces/login.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/workspaces/login.js)_
|
|
1243
1267
|
|
|
1244
1268
|
## `fonoster workspaces:logout REF`
|
|
1245
1269
|
|
|
@@ -1259,7 +1283,7 @@ EXAMPLES
|
|
|
1259
1283
|
$ fonoster workspaces:logout
|
|
1260
1284
|
```
|
|
1261
1285
|
|
|
1262
|
-
_See code: [dist/commands/workspaces/logout.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1286
|
+
_See code: [dist/commands/workspaces/logout.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/workspaces/logout.js)_
|
|
1263
1287
|
|
|
1264
1288
|
## `fonoster workspaces:use REF`
|
|
1265
1289
|
|
|
@@ -1279,5 +1303,5 @@ EXAMPLES
|
|
|
1279
1303
|
$ fonoster workspaces:use
|
|
1280
1304
|
```
|
|
1281
1305
|
|
|
1282
|
-
_See code: [dist/commands/workspaces/use.js](https://github.com/fonoster/fonoster/blob/v0.8.
|
|
1306
|
+
_See code: [dist/commands/workspaces/use.js](https://github.com/fonoster/fonoster/blob/v0.8.56/dist/commands/workspaces/use.js)_
|
|
1283
1307
|
<!-- commandsstop -->
|
|
@@ -82,13 +82,13 @@ class LinkTwilioNumber extends AuthenticatedCommand_1.AuthenticatedCommand {
|
|
|
82
82
|
this.log("This utility will help you create an Application.");
|
|
83
83
|
this.log("Press ^C at any time to quit.");
|
|
84
84
|
const answers = {
|
|
85
|
+
friendlyName: yield (0, prompts_1.input)({
|
|
86
|
+
message: "Friendly Name"
|
|
87
|
+
}),
|
|
85
88
|
number: yield (0, prompts_1.input)({
|
|
86
89
|
message: "Number to link (E.164 format)",
|
|
87
90
|
required: true
|
|
88
91
|
}),
|
|
89
|
-
friendlyName: yield (0, prompts_1.input)({
|
|
90
|
-
message: "Friendly Name"
|
|
91
|
-
}),
|
|
92
92
|
applicationRef: yield (0, prompts_1.select)({
|
|
93
93
|
message: "Application",
|
|
94
94
|
choices: [{ name: "None", value: null }].concat(appsList)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AuthenticatedCommand } from "../../AuthenticatedCommand";
|
|
2
|
+
export default class AutopilotTestsCases extends AuthenticatedCommand<typeof AutopilotTestsCases> {
|
|
3
|
+
static readonly description = "experimental command to test an Autopilot's behavior";
|
|
4
|
+
static readonly examples: string[];
|
|
5
|
+
static readonly flags: {
|
|
6
|
+
file: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
7
|
+
};
|
|
8
|
+
run(): Promise<void>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
36
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
37
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
38
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
39
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
40
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
41
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45
|
+
/* eslint-disable import/no-unresolved */
|
|
46
|
+
/*
|
|
47
|
+
* Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
|
|
48
|
+
* http://github.com/fonoster/fonoster
|
|
49
|
+
*
|
|
50
|
+
* This file is part of Fonoster
|
|
51
|
+
*
|
|
52
|
+
* Licensed under the MIT License (the "License");
|
|
53
|
+
* you may not use this file except in compliance with
|
|
54
|
+
* the License. You may obtain a copy of the License at
|
|
55
|
+
*
|
|
56
|
+
* https://opensource.org/licenses/MIT
|
|
57
|
+
*
|
|
58
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
59
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
60
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
61
|
+
* See the License for the specific language governing permissions and
|
|
62
|
+
* limitations under the License.
|
|
63
|
+
*/
|
|
64
|
+
const core_1 = require("@oclif/core");
|
|
65
|
+
const fs = __importStar(require("fs"));
|
|
66
|
+
const yaml = __importStar(require("js-yaml"));
|
|
67
|
+
const autopilot_1 = require("@fonoster/autopilot");
|
|
68
|
+
const AuthenticatedCommand_1 = require("../../AuthenticatedCommand");
|
|
69
|
+
const path = __importStar(require("path"));
|
|
70
|
+
class AutopilotTestsCases extends AuthenticatedCommand_1.AuthenticatedCommand {
|
|
71
|
+
run() {
|
|
72
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
73
|
+
const { flags } = yield this.parse(AutopilotTestsCases);
|
|
74
|
+
const fileContent = fs.readFileSync(flags.file, "utf8");
|
|
75
|
+
const extension = path.extname(flags.file).toLowerCase();
|
|
76
|
+
let assistantConfig;
|
|
77
|
+
switch (extension) {
|
|
78
|
+
case ".yaml":
|
|
79
|
+
case ".yml":
|
|
80
|
+
assistantConfig = yaml.load(fileContent);
|
|
81
|
+
break;
|
|
82
|
+
case ".json":
|
|
83
|
+
assistantConfig = JSON.parse(fileContent);
|
|
84
|
+
break;
|
|
85
|
+
default:
|
|
86
|
+
throw new Error("Unsupported file format. Please use .json, .yaml, or .yml files");
|
|
87
|
+
}
|
|
88
|
+
const result = yield (0, autopilot_1.evalTestCases)(assistantConfig);
|
|
89
|
+
(0, autopilot_1.printEval)(result);
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
AutopilotTestsCases.description = "experimental command to test an Autopilot's behavior";
|
|
94
|
+
AutopilotTestsCases.examples = [
|
|
95
|
+
"<%= config.bin %> <%= command.id %> -f assistant.json",
|
|
96
|
+
"<%= config.bin %> <%= command.id %> -f assistant.yaml"
|
|
97
|
+
];
|
|
98
|
+
AutopilotTestsCases.flags = {
|
|
99
|
+
file: core_1.Flags.string({
|
|
100
|
+
char: "f",
|
|
101
|
+
description: "path to test cases file (json, yaml, or yml)",
|
|
102
|
+
required: true
|
|
103
|
+
})
|
|
104
|
+
};
|
|
105
|
+
exports.default = AutopilotTestsCases;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/ctl",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.56",
|
|
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": "eb95cb72d964068fe3d525b696f17c4d4b0522a2",
|
|
36
36
|
"bin": {
|
|
37
37
|
"fonoster": "./bin/run.js"
|
|
38
38
|
},
|
|
@@ -53,7 +53,8 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@fonoster/
|
|
56
|
+
"@fonoster/autopilot": "^0.8.56",
|
|
57
|
+
"@fonoster/sdk": "^0.8.56",
|
|
57
58
|
"@inquirer/prompts": "^7.1.0",
|
|
58
59
|
"@oclif/core": "^4.0.34",
|
|
59
60
|
"@oclif/plugin-warn-if-update-available": "^3.1.28",
|