@sendly/cli 3.24.0 → 3.27.1
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/dist/commands/campaigns/schedule.js +20 -10
- package/dist/commands/conversations/context.d.ts +15 -0
- package/dist/commands/conversations/context.js +55 -0
- package/dist/commands/conversations/suggest-replies.d.ts +13 -0
- package/dist/commands/conversations/suggest-replies.js +50 -0
- package/dist/commands/conversations/update.d.ts +15 -0
- package/dist/commands/conversations/update.js +56 -0
- package/dist/commands/doctor.d.ts +1 -0
- package/dist/commands/doctor.js +45 -1
- package/dist/commands/drafts/list.js +2 -2
- package/dist/commands/enterprise/generate-business-page.d.ts +16 -0
- package/dist/commands/enterprise/generate-business-page.js +62 -0
- package/dist/commands/enterprise/upload-verification-document.d.ts +13 -0
- package/dist/commands/enterprise/upload-verification-document.js +109 -0
- package/dist/commands/events/listen.d.ts +11 -0
- package/dist/commands/events/listen.js +82 -0
- package/dist/commands/labels/add.d.ts +14 -0
- package/dist/commands/labels/add.js +46 -0
- package/dist/commands/labels/remove.d.ts +14 -0
- package/dist/commands/labels/remove.js +46 -0
- package/dist/commands/rules/create.d.ts +16 -0
- package/dist/commands/rules/create.js +70 -0
- package/dist/commands/rules/delete.d.ts +13 -0
- package/dist/commands/rules/delete.js +29 -0
- package/dist/commands/rules/index.d.ts +10 -0
- package/dist/commands/rules/index.js +56 -0
- package/dist/commands/sms/batch.js +1 -1
- package/dist/commands/sms/schedule.d.ts +3 -3
- package/dist/commands/sms/schedule.js +117 -27
- package/dist/commands/sms/search.d.ts +16 -0
- package/dist/commands/sms/search.js +105 -0
- package/dist/commands/sms/send.d.ts +1 -1
- package/dist/commands/sms/send.js +55 -10
- package/dist/commands/templates/update.d.ts +15 -0
- package/dist/commands/templates/update.js +70 -0
- package/dist/commands/webhooks/listen.js +5 -1
- package/dist/lib/base-command.js +2 -2
- package/oclif.manifest.json +1388 -644
- package/package.json +17 -2
package/oclif.manifest.json
CHANGED
|
@@ -342,64 +342,18 @@
|
|
|
342
342
|
"whoami.js"
|
|
343
343
|
]
|
|
344
344
|
},
|
|
345
|
-
"
|
|
345
|
+
"campaigns:cancel": {
|
|
346
346
|
"aliases": [],
|
|
347
347
|
"args": {
|
|
348
|
-
"
|
|
349
|
-
"description": "
|
|
350
|
-
"name": "
|
|
351
|
-
"options": [
|
|
352
|
-
"environment",
|
|
353
|
-
"baseUrl",
|
|
354
|
-
"defaultFormat",
|
|
355
|
-
"colorEnabled"
|
|
356
|
-
],
|
|
348
|
+
"id": {
|
|
349
|
+
"description": "Campaign ID",
|
|
350
|
+
"name": "id",
|
|
357
351
|
"required": true
|
|
358
352
|
}
|
|
359
353
|
},
|
|
360
|
-
"description": "
|
|
361
|
-
"examples": [
|
|
362
|
-
"<%= config.bin %> config get environment",
|
|
363
|
-
"<%= config.bin %> config get baseUrl"
|
|
364
|
-
],
|
|
365
|
-
"flags": {
|
|
366
|
-
"json": {
|
|
367
|
-
"description": "Output in JSON format",
|
|
368
|
-
"name": "json",
|
|
369
|
-
"allowNo": false,
|
|
370
|
-
"type": "boolean"
|
|
371
|
-
},
|
|
372
|
-
"quiet": {
|
|
373
|
-
"char": "q",
|
|
374
|
-
"description": "Minimal output",
|
|
375
|
-
"name": "quiet",
|
|
376
|
-
"allowNo": false,
|
|
377
|
-
"type": "boolean"
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
"hasDynamicHelp": false,
|
|
381
|
-
"hiddenAliases": [],
|
|
382
|
-
"id": "config:get",
|
|
383
|
-
"pluginAlias": "@sendly/cli",
|
|
384
|
-
"pluginName": "@sendly/cli",
|
|
385
|
-
"pluginType": "core",
|
|
386
|
-
"strict": true,
|
|
387
|
-
"enableJsonFlag": false,
|
|
388
|
-
"isESM": true,
|
|
389
|
-
"relativePath": [
|
|
390
|
-
"dist",
|
|
391
|
-
"commands",
|
|
392
|
-
"config",
|
|
393
|
-
"get.js"
|
|
394
|
-
]
|
|
395
|
-
},
|
|
396
|
-
"config:list": {
|
|
397
|
-
"aliases": [],
|
|
398
|
-
"args": {},
|
|
399
|
-
"description": "List all configuration values",
|
|
354
|
+
"description": "Cancel a scheduled campaign",
|
|
400
355
|
"examples": [
|
|
401
|
-
"<%= config.bin %>
|
|
402
|
-
"<%= config.bin %> config list --json"
|
|
356
|
+
"<%= config.bin %> campaigns cancel cmp_xxx"
|
|
403
357
|
],
|
|
404
358
|
"flags": {
|
|
405
359
|
"json": {
|
|
@@ -418,45 +372,32 @@
|
|
|
418
372
|
},
|
|
419
373
|
"hasDynamicHelp": false,
|
|
420
374
|
"hiddenAliases": [],
|
|
421
|
-
"id": "
|
|
375
|
+
"id": "campaigns:cancel",
|
|
422
376
|
"pluginAlias": "@sendly/cli",
|
|
423
377
|
"pluginName": "@sendly/cli",
|
|
424
378
|
"pluginType": "core",
|
|
425
379
|
"strict": true,
|
|
426
|
-
"enableJsonFlag": false,
|
|
427
380
|
"isESM": true,
|
|
428
381
|
"relativePath": [
|
|
429
382
|
"dist",
|
|
430
383
|
"commands",
|
|
431
|
-
"
|
|
432
|
-
"
|
|
384
|
+
"campaigns",
|
|
385
|
+
"cancel.js"
|
|
433
386
|
]
|
|
434
387
|
},
|
|
435
|
-
"
|
|
388
|
+
"campaigns:clone": {
|
|
436
389
|
"aliases": [],
|
|
437
390
|
"args": {
|
|
438
|
-
"
|
|
439
|
-
"description": "
|
|
440
|
-
"name": "
|
|
441
|
-
"options": [
|
|
442
|
-
"environment",
|
|
443
|
-
"baseUrl",
|
|
444
|
-
"defaultFormat",
|
|
445
|
-
"colorEnabled"
|
|
446
|
-
],
|
|
447
|
-
"required": true
|
|
448
|
-
},
|
|
449
|
-
"value": {
|
|
450
|
-
"description": "Configuration value",
|
|
451
|
-
"name": "value",
|
|
391
|
+
"id": {
|
|
392
|
+
"description": "Campaign ID to clone",
|
|
393
|
+
"name": "id",
|
|
452
394
|
"required": true
|
|
453
395
|
}
|
|
454
396
|
},
|
|
455
|
-
"description": "
|
|
397
|
+
"description": "Clone an existing campaign",
|
|
456
398
|
"examples": [
|
|
457
|
-
"<%= config.bin %>
|
|
458
|
-
"<%= config.bin %>
|
|
459
|
-
"<%= config.bin %> config set baseUrl https://api.sendly.live"
|
|
399
|
+
"<%= config.bin %> campaigns clone cmp_xxx",
|
|
400
|
+
"<%= config.bin %> campaigns clone cmp_xxx --name \"Copy of Sale\""
|
|
460
401
|
],
|
|
461
402
|
"flags": {
|
|
462
403
|
"json": {
|
|
@@ -471,33 +412,39 @@
|
|
|
471
412
|
"name": "quiet",
|
|
472
413
|
"allowNo": false,
|
|
473
414
|
"type": "boolean"
|
|
415
|
+
},
|
|
416
|
+
"name": {
|
|
417
|
+
"char": "n",
|
|
418
|
+
"description": "Name for the cloned campaign",
|
|
419
|
+
"name": "name",
|
|
420
|
+
"hasDynamicHelp": false,
|
|
421
|
+
"multiple": false,
|
|
422
|
+
"type": "option"
|
|
474
423
|
}
|
|
475
424
|
},
|
|
476
425
|
"hasDynamicHelp": false,
|
|
477
426
|
"hiddenAliases": [],
|
|
478
|
-
"id": "
|
|
427
|
+
"id": "campaigns:clone",
|
|
479
428
|
"pluginAlias": "@sendly/cli",
|
|
480
429
|
"pluginName": "@sendly/cli",
|
|
481
430
|
"pluginType": "core",
|
|
482
431
|
"strict": true,
|
|
483
|
-
"enableJsonFlag": false,
|
|
484
432
|
"isESM": true,
|
|
485
433
|
"relativePath": [
|
|
486
434
|
"dist",
|
|
487
435
|
"commands",
|
|
488
|
-
"
|
|
489
|
-
"
|
|
436
|
+
"campaigns",
|
|
437
|
+
"clone.js"
|
|
490
438
|
]
|
|
491
439
|
},
|
|
492
|
-
"
|
|
440
|
+
"campaigns:create": {
|
|
493
441
|
"aliases": [],
|
|
494
442
|
"args": {},
|
|
495
|
-
"description": "Create a new
|
|
443
|
+
"description": "Create a new campaign",
|
|
496
444
|
"examples": [
|
|
497
|
-
"<%= config.bin %>
|
|
498
|
-
"<%= config.bin %>
|
|
499
|
-
"<%= config.bin %>
|
|
500
|
-
"<%= config.bin %> contacts create --phone +15551234567 --json"
|
|
445
|
+
"<%= config.bin %> campaigns create --name \"Welcome\" --text \"Hello {{name}}!\" --list lst_xxx",
|
|
446
|
+
"<%= config.bin %> campaigns create --name \"Sale\" --text \"50% off today!\" --list lst_customers --list lst_subscribers",
|
|
447
|
+
"<%= config.bin %> campaigns create --name \"OTP\" --template tpl_preset_otp --list lst_xxx"
|
|
501
448
|
],
|
|
502
449
|
"flags": {
|
|
503
450
|
"json": {
|
|
@@ -513,35 +460,43 @@
|
|
|
513
460
|
"allowNo": false,
|
|
514
461
|
"type": "boolean"
|
|
515
462
|
},
|
|
516
|
-
"
|
|
517
|
-
"char": "
|
|
518
|
-
"description": "
|
|
519
|
-
"name": "
|
|
463
|
+
"name": {
|
|
464
|
+
"char": "n",
|
|
465
|
+
"description": "Campaign name",
|
|
466
|
+
"name": "name",
|
|
520
467
|
"required": true,
|
|
521
468
|
"hasDynamicHelp": false,
|
|
522
469
|
"multiple": false,
|
|
523
470
|
"type": "option"
|
|
524
471
|
},
|
|
525
|
-
"
|
|
526
|
-
"char": "
|
|
527
|
-
"description": "
|
|
528
|
-
"name": "
|
|
472
|
+
"text": {
|
|
473
|
+
"char": "t",
|
|
474
|
+
"description": "Message text (supports {{variables}})",
|
|
475
|
+
"name": "text",
|
|
529
476
|
"hasDynamicHelp": false,
|
|
530
477
|
"multiple": false,
|
|
531
478
|
"type": "option"
|
|
532
479
|
},
|
|
533
|
-
"
|
|
534
|
-
"
|
|
535
|
-
"
|
|
536
|
-
"name": "email",
|
|
480
|
+
"template": {
|
|
481
|
+
"description": "Template ID to use instead of text",
|
|
482
|
+
"name": "template",
|
|
537
483
|
"hasDynamicHelp": false,
|
|
538
484
|
"multiple": false,
|
|
539
485
|
"type": "option"
|
|
486
|
+
},
|
|
487
|
+
"list": {
|
|
488
|
+
"char": "l",
|
|
489
|
+
"description": "Contact list ID (can specify multiple)",
|
|
490
|
+
"name": "list",
|
|
491
|
+
"required": true,
|
|
492
|
+
"hasDynamicHelp": false,
|
|
493
|
+
"multiple": true,
|
|
494
|
+
"type": "option"
|
|
540
495
|
}
|
|
541
496
|
},
|
|
542
497
|
"hasDynamicHelp": false,
|
|
543
498
|
"hiddenAliases": [],
|
|
544
|
-
"id": "
|
|
499
|
+
"id": "campaigns:create",
|
|
545
500
|
"pluginAlias": "@sendly/cli",
|
|
546
501
|
"pluginName": "@sendly/cli",
|
|
547
502
|
"pluginType": "core",
|
|
@@ -550,23 +505,23 @@
|
|
|
550
505
|
"relativePath": [
|
|
551
506
|
"dist",
|
|
552
507
|
"commands",
|
|
553
|
-
"
|
|
508
|
+
"campaigns",
|
|
554
509
|
"create.js"
|
|
555
510
|
]
|
|
556
511
|
},
|
|
557
|
-
"
|
|
512
|
+
"campaigns:delete": {
|
|
558
513
|
"aliases": [],
|
|
559
514
|
"args": {
|
|
560
515
|
"id": {
|
|
561
|
-
"description": "
|
|
516
|
+
"description": "Campaign ID",
|
|
562
517
|
"name": "id",
|
|
563
518
|
"required": true
|
|
564
519
|
}
|
|
565
520
|
},
|
|
566
|
-
"description": "Delete a
|
|
521
|
+
"description": "Delete a campaign",
|
|
567
522
|
"examples": [
|
|
568
|
-
"<%= config.bin %>
|
|
569
|
-
"<%= config.bin %>
|
|
523
|
+
"<%= config.bin %> campaigns delete cmp_xxx",
|
|
524
|
+
"<%= config.bin %> campaigns delete cmp_xxx --yes"
|
|
570
525
|
],
|
|
571
526
|
"flags": {
|
|
572
527
|
"json": {
|
|
@@ -592,7 +547,7 @@
|
|
|
592
547
|
},
|
|
593
548
|
"hasDynamicHelp": false,
|
|
594
549
|
"hiddenAliases": [],
|
|
595
|
-
"id": "
|
|
550
|
+
"id": "campaigns:delete",
|
|
596
551
|
"pluginAlias": "@sendly/cli",
|
|
597
552
|
"pluginName": "@sendly/cli",
|
|
598
553
|
"pluginType": "core",
|
|
@@ -601,23 +556,23 @@
|
|
|
601
556
|
"relativePath": [
|
|
602
557
|
"dist",
|
|
603
558
|
"commands",
|
|
604
|
-
"
|
|
559
|
+
"campaigns",
|
|
605
560
|
"delete.js"
|
|
606
561
|
]
|
|
607
562
|
},
|
|
608
|
-
"
|
|
563
|
+
"campaigns:get": {
|
|
609
564
|
"aliases": [],
|
|
610
565
|
"args": {
|
|
611
566
|
"id": {
|
|
612
|
-
"description": "
|
|
567
|
+
"description": "Campaign ID",
|
|
613
568
|
"name": "id",
|
|
614
569
|
"required": true
|
|
615
570
|
}
|
|
616
571
|
},
|
|
617
|
-
"description": "Get
|
|
572
|
+
"description": "Get campaign details",
|
|
618
573
|
"examples": [
|
|
619
|
-
"<%= config.bin %>
|
|
620
|
-
"<%= config.bin %>
|
|
574
|
+
"<%= config.bin %> campaigns get cmp_xxx",
|
|
575
|
+
"<%= config.bin %> campaigns get cmp_xxx --json"
|
|
621
576
|
],
|
|
622
577
|
"flags": {
|
|
623
578
|
"json": {
|
|
@@ -636,7 +591,7 @@
|
|
|
636
591
|
},
|
|
637
592
|
"hasDynamicHelp": false,
|
|
638
593
|
"hiddenAliases": [],
|
|
639
|
-
"id": "
|
|
594
|
+
"id": "campaigns:get",
|
|
640
595
|
"pluginAlias": "@sendly/cli",
|
|
641
596
|
"pluginName": "@sendly/cli",
|
|
642
597
|
"pluginType": "core",
|
|
@@ -645,24 +600,19 @@
|
|
|
645
600
|
"relativePath": [
|
|
646
601
|
"dist",
|
|
647
602
|
"commands",
|
|
648
|
-
"
|
|
603
|
+
"campaigns",
|
|
649
604
|
"get.js"
|
|
650
605
|
]
|
|
651
606
|
},
|
|
652
|
-
"
|
|
607
|
+
"campaigns:list": {
|
|
653
608
|
"aliases": [],
|
|
654
|
-
"args": {
|
|
655
|
-
|
|
656
|
-
"description": "Path to CSV file (columns: phone, name, email)",
|
|
657
|
-
"name": "file",
|
|
658
|
-
"required": true
|
|
659
|
-
}
|
|
660
|
-
},
|
|
661
|
-
"description": "Import contacts from a CSV file",
|
|
609
|
+
"args": {},
|
|
610
|
+
"description": "List campaigns",
|
|
662
611
|
"examples": [
|
|
663
|
-
"<%= config.bin %>
|
|
664
|
-
"<%= config.bin %>
|
|
665
|
-
"<%= config.bin %>
|
|
612
|
+
"<%= config.bin %> campaigns list",
|
|
613
|
+
"<%= config.bin %> campaigns list --status draft",
|
|
614
|
+
"<%= config.bin %> campaigns list --limit 10",
|
|
615
|
+
"<%= config.bin %> campaigns list --json"
|
|
666
616
|
],
|
|
667
617
|
"flags": {
|
|
668
618
|
"json": {
|
|
@@ -678,10 +628,27 @@
|
|
|
678
628
|
"allowNo": false,
|
|
679
629
|
"type": "boolean"
|
|
680
630
|
},
|
|
681
|
-
"
|
|
631
|
+
"limit": {
|
|
682
632
|
"char": "l",
|
|
683
|
-
"description": "
|
|
684
|
-
"name": "
|
|
633
|
+
"description": "Number of campaigns to show",
|
|
634
|
+
"name": "limit",
|
|
635
|
+
"default": 20,
|
|
636
|
+
"hasDynamicHelp": false,
|
|
637
|
+
"multiple": false,
|
|
638
|
+
"type": "option"
|
|
639
|
+
},
|
|
640
|
+
"offset": {
|
|
641
|
+
"description": "Offset for pagination",
|
|
642
|
+
"name": "offset",
|
|
643
|
+
"default": 0,
|
|
644
|
+
"hasDynamicHelp": false,
|
|
645
|
+
"multiple": false,
|
|
646
|
+
"type": "option"
|
|
647
|
+
},
|
|
648
|
+
"status": {
|
|
649
|
+
"char": "s",
|
|
650
|
+
"description": "Filter by status (draft, scheduled, sending, sent, cancelled)",
|
|
651
|
+
"name": "status",
|
|
685
652
|
"hasDynamicHelp": false,
|
|
686
653
|
"multiple": false,
|
|
687
654
|
"type": "option"
|
|
@@ -689,7 +656,7 @@
|
|
|
689
656
|
},
|
|
690
657
|
"hasDynamicHelp": false,
|
|
691
658
|
"hiddenAliases": [],
|
|
692
|
-
"id": "
|
|
659
|
+
"id": "campaigns:list",
|
|
693
660
|
"pluginAlias": "@sendly/cli",
|
|
694
661
|
"pluginName": "@sendly/cli",
|
|
695
662
|
"pluginType": "core",
|
|
@@ -698,20 +665,23 @@
|
|
|
698
665
|
"relativePath": [
|
|
699
666
|
"dist",
|
|
700
667
|
"commands",
|
|
701
|
-
"
|
|
702
|
-
"
|
|
668
|
+
"campaigns",
|
|
669
|
+
"list.js"
|
|
703
670
|
]
|
|
704
671
|
},
|
|
705
|
-
"
|
|
672
|
+
"campaigns:preview": {
|
|
706
673
|
"aliases": [],
|
|
707
|
-
"args": {
|
|
708
|
-
|
|
674
|
+
"args": {
|
|
675
|
+
"id": {
|
|
676
|
+
"description": "Campaign ID",
|
|
677
|
+
"name": "id",
|
|
678
|
+
"required": true
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
"description": "Preview campaign cost and recipients",
|
|
709
682
|
"examples": [
|
|
710
|
-
"<%= config.bin %>
|
|
711
|
-
"<%= config.bin %>
|
|
712
|
-
"<%= config.bin %> contacts list --list lst_xxx",
|
|
713
|
-
"<%= config.bin %> contacts list --limit 50",
|
|
714
|
-
"<%= config.bin %> contacts list --json"
|
|
683
|
+
"<%= config.bin %> campaigns preview cmp_xxx",
|
|
684
|
+
"<%= config.bin %> campaigns preview cmp_xxx --json"
|
|
715
685
|
],
|
|
716
686
|
"flags": {
|
|
717
687
|
"json": {
|
|
@@ -726,35 +696,64 @@
|
|
|
726
696
|
"name": "quiet",
|
|
727
697
|
"allowNo": false,
|
|
728
698
|
"type": "boolean"
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
"hasDynamicHelp": false,
|
|
702
|
+
"hiddenAliases": [],
|
|
703
|
+
"id": "campaigns:preview",
|
|
704
|
+
"pluginAlias": "@sendly/cli",
|
|
705
|
+
"pluginName": "@sendly/cli",
|
|
706
|
+
"pluginType": "core",
|
|
707
|
+
"strict": true,
|
|
708
|
+
"isESM": true,
|
|
709
|
+
"relativePath": [
|
|
710
|
+
"dist",
|
|
711
|
+
"commands",
|
|
712
|
+
"campaigns",
|
|
713
|
+
"preview.js"
|
|
714
|
+
]
|
|
715
|
+
},
|
|
716
|
+
"campaigns:schedule": {
|
|
717
|
+
"aliases": [],
|
|
718
|
+
"args": {
|
|
719
|
+
"id": {
|
|
720
|
+
"description": "Campaign ID",
|
|
721
|
+
"name": "id",
|
|
722
|
+
"required": true
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
"description": "Schedule a campaign for later. Supports natural language dates like \"tomorrow at 9am\".",
|
|
726
|
+
"examples": [
|
|
727
|
+
"<%= config.bin %> campaigns schedule cmp_xxx --at \"tomorrow at 9am\"",
|
|
728
|
+
"<%= config.bin %> campaigns schedule cmp_xxx --at \"next Monday 10am\" --timezone \"America/New_York\"",
|
|
729
|
+
"<%= config.bin %> campaigns schedule cmp_xxx --at \"2026-04-01T10:00:00Z\""
|
|
730
|
+
],
|
|
731
|
+
"flags": {
|
|
732
|
+
"json": {
|
|
733
|
+
"description": "Output in JSON format",
|
|
734
|
+
"name": "json",
|
|
735
|
+
"allowNo": false,
|
|
736
|
+
"type": "boolean"
|
|
729
737
|
},
|
|
730
|
-
"
|
|
731
|
-
"char": "
|
|
732
|
-
"description": "
|
|
733
|
-
"name": "
|
|
734
|
-
"
|
|
735
|
-
"
|
|
736
|
-
"multiple": false,
|
|
737
|
-
"type": "option"
|
|
738
|
-
},
|
|
739
|
-
"offset": {
|
|
740
|
-
"description": "Offset for pagination",
|
|
741
|
-
"name": "offset",
|
|
742
|
-
"default": 0,
|
|
743
|
-
"hasDynamicHelp": false,
|
|
744
|
-
"multiple": false,
|
|
745
|
-
"type": "option"
|
|
738
|
+
"quiet": {
|
|
739
|
+
"char": "q",
|
|
740
|
+
"description": "Minimal output",
|
|
741
|
+
"name": "quiet",
|
|
742
|
+
"allowNo": false,
|
|
743
|
+
"type": "boolean"
|
|
746
744
|
},
|
|
747
|
-
"
|
|
748
|
-
"
|
|
749
|
-
"
|
|
750
|
-
"
|
|
745
|
+
"at": {
|
|
746
|
+
"description": "When to send — ISO 8601 or natural language (\"tomorrow at 9am\", \"in 2 hours\")",
|
|
747
|
+
"name": "at",
|
|
748
|
+
"required": true,
|
|
751
749
|
"hasDynamicHelp": false,
|
|
752
750
|
"multiple": false,
|
|
753
751
|
"type": "option"
|
|
754
752
|
},
|
|
755
|
-
"
|
|
756
|
-
"
|
|
757
|
-
"
|
|
753
|
+
"timezone": {
|
|
754
|
+
"char": "z",
|
|
755
|
+
"description": "Timezone (e.g., \"America/New_York\")",
|
|
756
|
+
"name": "timezone",
|
|
758
757
|
"hasDynamicHelp": false,
|
|
759
758
|
"multiple": false,
|
|
760
759
|
"type": "option"
|
|
@@ -762,7 +761,7 @@
|
|
|
762
761
|
},
|
|
763
762
|
"hasDynamicHelp": false,
|
|
764
763
|
"hiddenAliases": [],
|
|
765
|
-
"id": "
|
|
764
|
+
"id": "campaigns:schedule",
|
|
766
765
|
"pluginAlias": "@sendly/cli",
|
|
767
766
|
"pluginName": "@sendly/cli",
|
|
768
767
|
"pluginType": "core",
|
|
@@ -771,24 +770,76 @@
|
|
|
771
770
|
"relativePath": [
|
|
772
771
|
"dist",
|
|
773
772
|
"commands",
|
|
774
|
-
"
|
|
775
|
-
"
|
|
773
|
+
"campaigns",
|
|
774
|
+
"schedule.js"
|
|
776
775
|
]
|
|
777
776
|
},
|
|
778
|
-
"
|
|
777
|
+
"campaigns:send": {
|
|
779
778
|
"aliases": [],
|
|
780
779
|
"args": {
|
|
781
780
|
"id": {
|
|
782
|
-
"description": "
|
|
781
|
+
"description": "Campaign ID",
|
|
783
782
|
"name": "id",
|
|
784
783
|
"required": true
|
|
785
784
|
}
|
|
786
785
|
},
|
|
787
|
-
"description": "
|
|
786
|
+
"description": "Send a campaign immediately",
|
|
788
787
|
"examples": [
|
|
789
|
-
"<%= config.bin %>
|
|
790
|
-
"<%= config.bin %>
|
|
791
|
-
|
|
788
|
+
"<%= config.bin %> campaigns send cmp_xxx",
|
|
789
|
+
"<%= config.bin %> campaigns send cmp_xxx --yes"
|
|
790
|
+
],
|
|
791
|
+
"flags": {
|
|
792
|
+
"json": {
|
|
793
|
+
"description": "Output in JSON format",
|
|
794
|
+
"name": "json",
|
|
795
|
+
"allowNo": false,
|
|
796
|
+
"type": "boolean"
|
|
797
|
+
},
|
|
798
|
+
"quiet": {
|
|
799
|
+
"char": "q",
|
|
800
|
+
"description": "Minimal output",
|
|
801
|
+
"name": "quiet",
|
|
802
|
+
"allowNo": false,
|
|
803
|
+
"type": "boolean"
|
|
804
|
+
},
|
|
805
|
+
"yes": {
|
|
806
|
+
"char": "y",
|
|
807
|
+
"description": "Skip confirmation prompt",
|
|
808
|
+
"name": "yes",
|
|
809
|
+
"allowNo": false,
|
|
810
|
+
"type": "boolean"
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
"hasDynamicHelp": false,
|
|
814
|
+
"hiddenAliases": [],
|
|
815
|
+
"id": "campaigns:send",
|
|
816
|
+
"pluginAlias": "@sendly/cli",
|
|
817
|
+
"pluginName": "@sendly/cli",
|
|
818
|
+
"pluginType": "core",
|
|
819
|
+
"strict": true,
|
|
820
|
+
"isESM": true,
|
|
821
|
+
"relativePath": [
|
|
822
|
+
"dist",
|
|
823
|
+
"commands",
|
|
824
|
+
"campaigns",
|
|
825
|
+
"send.js"
|
|
826
|
+
]
|
|
827
|
+
},
|
|
828
|
+
"campaigns:update": {
|
|
829
|
+
"aliases": [],
|
|
830
|
+
"args": {
|
|
831
|
+
"id": {
|
|
832
|
+
"description": "Campaign ID",
|
|
833
|
+
"name": "id",
|
|
834
|
+
"required": true
|
|
835
|
+
}
|
|
836
|
+
},
|
|
837
|
+
"description": "Update a campaign",
|
|
838
|
+
"examples": [
|
|
839
|
+
"<%= config.bin %> campaigns update cmp_xxx --name \"New Name\"",
|
|
840
|
+
"<%= config.bin %> campaigns update cmp_xxx --text \"Updated message\"",
|
|
841
|
+
"<%= config.bin %> campaigns update cmp_xxx --list lst_xxx",
|
|
842
|
+
"<%= config.bin %> campaigns update cmp_xxx --name \"Sale\" --text \"50% off!\""
|
|
792
843
|
],
|
|
793
844
|
"flags": {
|
|
794
845
|
"json": {
|
|
@@ -806,16 +857,31 @@
|
|
|
806
857
|
},
|
|
807
858
|
"name": {
|
|
808
859
|
"char": "n",
|
|
809
|
-
"description": "
|
|
860
|
+
"description": "Campaign name",
|
|
810
861
|
"name": "name",
|
|
811
862
|
"hasDynamicHelp": false,
|
|
812
863
|
"multiple": false,
|
|
813
864
|
"type": "option"
|
|
814
865
|
},
|
|
815
|
-
"
|
|
816
|
-
"char": "
|
|
817
|
-
"description": "
|
|
818
|
-
"name": "
|
|
866
|
+
"text": {
|
|
867
|
+
"char": "t",
|
|
868
|
+
"description": "Message text (supports {{variables}})",
|
|
869
|
+
"name": "text",
|
|
870
|
+
"hasDynamicHelp": false,
|
|
871
|
+
"multiple": false,
|
|
872
|
+
"type": "option"
|
|
873
|
+
},
|
|
874
|
+
"list": {
|
|
875
|
+
"char": "l",
|
|
876
|
+
"description": "Contact list ID",
|
|
877
|
+
"name": "list",
|
|
878
|
+
"hasDynamicHelp": false,
|
|
879
|
+
"multiple": false,
|
|
880
|
+
"type": "option"
|
|
881
|
+
},
|
|
882
|
+
"template": {
|
|
883
|
+
"description": "Template ID",
|
|
884
|
+
"name": "template",
|
|
819
885
|
"hasDynamicHelp": false,
|
|
820
886
|
"multiple": false,
|
|
821
887
|
"type": "option"
|
|
@@ -823,7 +889,7 @@
|
|
|
823
889
|
},
|
|
824
890
|
"hasDynamicHelp": false,
|
|
825
891
|
"hiddenAliases": [],
|
|
826
|
-
"id": "
|
|
892
|
+
"id": "campaigns:update",
|
|
827
893
|
"pluginAlias": "@sendly/cli",
|
|
828
894
|
"pluginName": "@sendly/cli",
|
|
829
895
|
"pluginType": "core",
|
|
@@ -832,23 +898,29 @@
|
|
|
832
898
|
"relativePath": [
|
|
833
899
|
"dist",
|
|
834
900
|
"commands",
|
|
835
|
-
"
|
|
901
|
+
"campaigns",
|
|
836
902
|
"update.js"
|
|
837
903
|
]
|
|
838
904
|
},
|
|
839
|
-
"
|
|
905
|
+
"config:get": {
|
|
840
906
|
"aliases": [],
|
|
841
907
|
"args": {
|
|
842
|
-
"
|
|
843
|
-
"description": "
|
|
844
|
-
"name": "
|
|
908
|
+
"key": {
|
|
909
|
+
"description": "Configuration key",
|
|
910
|
+
"name": "key",
|
|
911
|
+
"options": [
|
|
912
|
+
"environment",
|
|
913
|
+
"baseUrl",
|
|
914
|
+
"defaultFormat",
|
|
915
|
+
"colorEnabled"
|
|
916
|
+
],
|
|
845
917
|
"required": true
|
|
846
918
|
}
|
|
847
919
|
},
|
|
848
|
-
"description": "
|
|
920
|
+
"description": "Get a configuration value",
|
|
849
921
|
"examples": [
|
|
850
|
-
"<%= config.bin %>
|
|
851
|
-
"<%= config.bin %>
|
|
922
|
+
"<%= config.bin %> config get environment",
|
|
923
|
+
"<%= config.bin %> config get baseUrl"
|
|
852
924
|
],
|
|
853
925
|
"flags": {
|
|
854
926
|
"json": {
|
|
@@ -867,34 +939,84 @@
|
|
|
867
939
|
},
|
|
868
940
|
"hasDynamicHelp": false,
|
|
869
941
|
"hiddenAliases": [],
|
|
870
|
-
"id": "
|
|
942
|
+
"id": "config:get",
|
|
871
943
|
"pluginAlias": "@sendly/cli",
|
|
872
944
|
"pluginName": "@sendly/cli",
|
|
873
945
|
"pluginType": "core",
|
|
874
946
|
"strict": true,
|
|
947
|
+
"enableJsonFlag": false,
|
|
875
948
|
"isESM": true,
|
|
876
949
|
"relativePath": [
|
|
877
950
|
"dist",
|
|
878
951
|
"commands",
|
|
879
|
-
"
|
|
880
|
-
"
|
|
952
|
+
"config",
|
|
953
|
+
"get.js"
|
|
881
954
|
]
|
|
882
955
|
},
|
|
883
|
-
"
|
|
956
|
+
"config:list": {
|
|
957
|
+
"aliases": [],
|
|
958
|
+
"args": {},
|
|
959
|
+
"description": "List all configuration values",
|
|
960
|
+
"examples": [
|
|
961
|
+
"<%= config.bin %> config list",
|
|
962
|
+
"<%= config.bin %> config list --json"
|
|
963
|
+
],
|
|
964
|
+
"flags": {
|
|
965
|
+
"json": {
|
|
966
|
+
"description": "Output in JSON format",
|
|
967
|
+
"name": "json",
|
|
968
|
+
"allowNo": false,
|
|
969
|
+
"type": "boolean"
|
|
970
|
+
},
|
|
971
|
+
"quiet": {
|
|
972
|
+
"char": "q",
|
|
973
|
+
"description": "Minimal output",
|
|
974
|
+
"name": "quiet",
|
|
975
|
+
"allowNo": false,
|
|
976
|
+
"type": "boolean"
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
"hasDynamicHelp": false,
|
|
980
|
+
"hiddenAliases": [],
|
|
981
|
+
"id": "config:list",
|
|
982
|
+
"pluginAlias": "@sendly/cli",
|
|
983
|
+
"pluginName": "@sendly/cli",
|
|
984
|
+
"pluginType": "core",
|
|
985
|
+
"strict": true,
|
|
986
|
+
"enableJsonFlag": false,
|
|
987
|
+
"isESM": true,
|
|
988
|
+
"relativePath": [
|
|
989
|
+
"dist",
|
|
990
|
+
"commands",
|
|
991
|
+
"config",
|
|
992
|
+
"list.js"
|
|
993
|
+
]
|
|
994
|
+
},
|
|
995
|
+
"config:set": {
|
|
884
996
|
"aliases": [],
|
|
885
997
|
"args": {
|
|
886
|
-
"
|
|
887
|
-
"description": "
|
|
888
|
-
"name": "
|
|
998
|
+
"key": {
|
|
999
|
+
"description": "Configuration key",
|
|
1000
|
+
"name": "key",
|
|
1001
|
+
"options": [
|
|
1002
|
+
"environment",
|
|
1003
|
+
"baseUrl",
|
|
1004
|
+
"defaultFormat",
|
|
1005
|
+
"colorEnabled"
|
|
1006
|
+
],
|
|
1007
|
+
"required": true
|
|
1008
|
+
},
|
|
1009
|
+
"value": {
|
|
1010
|
+
"description": "Configuration value",
|
|
1011
|
+
"name": "value",
|
|
889
1012
|
"required": true
|
|
890
1013
|
}
|
|
891
1014
|
},
|
|
892
|
-
"description": "
|
|
1015
|
+
"description": "Set a configuration value",
|
|
893
1016
|
"examples": [
|
|
894
|
-
"<%= config.bin %>
|
|
895
|
-
"<%= config.bin %>
|
|
896
|
-
"<%= config.bin %>
|
|
897
|
-
"<%= config.bin %> conversations get conv_abc123 --json"
|
|
1017
|
+
"<%= config.bin %> config set environment live",
|
|
1018
|
+
"<%= config.bin %> config set defaultFormat json",
|
|
1019
|
+
"<%= config.bin %> config set baseUrl https://api.sendly.live"
|
|
898
1020
|
],
|
|
899
1021
|
"flags": {
|
|
900
1022
|
"json": {
|
|
@@ -909,19 +1031,69 @@
|
|
|
909
1031
|
"name": "quiet",
|
|
910
1032
|
"allowNo": false,
|
|
911
1033
|
"type": "boolean"
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1036
|
+
"hasDynamicHelp": false,
|
|
1037
|
+
"hiddenAliases": [],
|
|
1038
|
+
"id": "config:set",
|
|
1039
|
+
"pluginAlias": "@sendly/cli",
|
|
1040
|
+
"pluginName": "@sendly/cli",
|
|
1041
|
+
"pluginType": "core",
|
|
1042
|
+
"strict": true,
|
|
1043
|
+
"enableJsonFlag": false,
|
|
1044
|
+
"isESM": true,
|
|
1045
|
+
"relativePath": [
|
|
1046
|
+
"dist",
|
|
1047
|
+
"commands",
|
|
1048
|
+
"config",
|
|
1049
|
+
"set.js"
|
|
1050
|
+
]
|
|
1051
|
+
},
|
|
1052
|
+
"contacts:create": {
|
|
1053
|
+
"aliases": [],
|
|
1054
|
+
"args": {},
|
|
1055
|
+
"description": "Create a new contact",
|
|
1056
|
+
"examples": [
|
|
1057
|
+
"<%= config.bin %> contacts create --phone +15551234567",
|
|
1058
|
+
"<%= config.bin %> contacts create --phone +15551234567 --name \"John Doe\"",
|
|
1059
|
+
"<%= config.bin %> contacts create --phone +15551234567 --name \"John\" --email john@example.com",
|
|
1060
|
+
"<%= config.bin %> contacts create --phone +15551234567 --json"
|
|
1061
|
+
],
|
|
1062
|
+
"flags": {
|
|
1063
|
+
"json": {
|
|
1064
|
+
"description": "Output in JSON format",
|
|
1065
|
+
"name": "json",
|
|
1066
|
+
"allowNo": false,
|
|
1067
|
+
"type": "boolean"
|
|
912
1068
|
},
|
|
913
|
-
"
|
|
914
|
-
"char": "
|
|
915
|
-
"description": "
|
|
916
|
-
"name": "
|
|
1069
|
+
"quiet": {
|
|
1070
|
+
"char": "q",
|
|
1071
|
+
"description": "Minimal output",
|
|
1072
|
+
"name": "quiet",
|
|
917
1073
|
"allowNo": false,
|
|
918
1074
|
"type": "boolean"
|
|
919
1075
|
},
|
|
920
|
-
"
|
|
921
|
-
"char": "
|
|
922
|
-
"description": "
|
|
923
|
-
"name": "
|
|
924
|
-
"
|
|
1076
|
+
"phone": {
|
|
1077
|
+
"char": "p",
|
|
1078
|
+
"description": "Phone number in E.164 format (e.g., +15551234567)",
|
|
1079
|
+
"name": "phone",
|
|
1080
|
+
"required": true,
|
|
1081
|
+
"hasDynamicHelp": false,
|
|
1082
|
+
"multiple": false,
|
|
1083
|
+
"type": "option"
|
|
1084
|
+
},
|
|
1085
|
+
"name": {
|
|
1086
|
+
"char": "n",
|
|
1087
|
+
"description": "Contact name",
|
|
1088
|
+
"name": "name",
|
|
1089
|
+
"hasDynamicHelp": false,
|
|
1090
|
+
"multiple": false,
|
|
1091
|
+
"type": "option"
|
|
1092
|
+
},
|
|
1093
|
+
"email": {
|
|
1094
|
+
"char": "e",
|
|
1095
|
+
"description": "Contact email",
|
|
1096
|
+
"name": "email",
|
|
925
1097
|
"hasDynamicHelp": false,
|
|
926
1098
|
"multiple": false,
|
|
927
1099
|
"type": "option"
|
|
@@ -929,7 +1101,7 @@
|
|
|
929
1101
|
},
|
|
930
1102
|
"hasDynamicHelp": false,
|
|
931
1103
|
"hiddenAliases": [],
|
|
932
|
-
"id": "
|
|
1104
|
+
"id": "contacts:create",
|
|
933
1105
|
"pluginAlias": "@sendly/cli",
|
|
934
1106
|
"pluginName": "@sendly/cli",
|
|
935
1107
|
"pluginType": "core",
|
|
@@ -938,17 +1110,23 @@
|
|
|
938
1110
|
"relativePath": [
|
|
939
1111
|
"dist",
|
|
940
1112
|
"commands",
|
|
941
|
-
"
|
|
942
|
-
"
|
|
1113
|
+
"contacts",
|
|
1114
|
+
"create.js"
|
|
943
1115
|
]
|
|
944
1116
|
},
|
|
945
|
-
"
|
|
1117
|
+
"contacts:delete": {
|
|
946
1118
|
"aliases": [],
|
|
947
|
-
"args": {
|
|
948
|
-
|
|
1119
|
+
"args": {
|
|
1120
|
+
"id": {
|
|
1121
|
+
"description": "Contact ID to delete",
|
|
1122
|
+
"name": "id",
|
|
1123
|
+
"required": true
|
|
1124
|
+
}
|
|
1125
|
+
},
|
|
1126
|
+
"description": "Delete a contact",
|
|
949
1127
|
"examples": [
|
|
950
|
-
"<%= config.bin %>
|
|
951
|
-
"<%= config.bin %>
|
|
1128
|
+
"<%= config.bin %> contacts delete cnt_xxx",
|
|
1129
|
+
"<%= config.bin %> contacts delete cnt_xxx --yes"
|
|
952
1130
|
],
|
|
953
1131
|
"flags": {
|
|
954
1132
|
"json": {
|
|
@@ -963,11 +1141,18 @@
|
|
|
963
1141
|
"name": "quiet",
|
|
964
1142
|
"allowNo": false,
|
|
965
1143
|
"type": "boolean"
|
|
1144
|
+
},
|
|
1145
|
+
"yes": {
|
|
1146
|
+
"char": "y",
|
|
1147
|
+
"description": "Skip confirmation prompt",
|
|
1148
|
+
"name": "yes",
|
|
1149
|
+
"allowNo": false,
|
|
1150
|
+
"type": "boolean"
|
|
966
1151
|
}
|
|
967
1152
|
},
|
|
968
1153
|
"hasDynamicHelp": false,
|
|
969
1154
|
"hiddenAliases": [],
|
|
970
|
-
"id": "
|
|
1155
|
+
"id": "contacts:delete",
|
|
971
1156
|
"pluginAlias": "@sendly/cli",
|
|
972
1157
|
"pluginName": "@sendly/cli",
|
|
973
1158
|
"pluginType": "core",
|
|
@@ -976,19 +1161,23 @@
|
|
|
976
1161
|
"relativePath": [
|
|
977
1162
|
"dist",
|
|
978
1163
|
"commands",
|
|
979
|
-
"
|
|
980
|
-
"
|
|
1164
|
+
"contacts",
|
|
1165
|
+
"delete.js"
|
|
981
1166
|
]
|
|
982
1167
|
},
|
|
983
|
-
"
|
|
1168
|
+
"contacts:get": {
|
|
984
1169
|
"aliases": [],
|
|
985
|
-
"args": {
|
|
986
|
-
|
|
1170
|
+
"args": {
|
|
1171
|
+
"id": {
|
|
1172
|
+
"description": "Contact ID",
|
|
1173
|
+
"name": "id",
|
|
1174
|
+
"required": true
|
|
1175
|
+
}
|
|
1176
|
+
},
|
|
1177
|
+
"description": "Get contact details",
|
|
987
1178
|
"examples": [
|
|
988
|
-
"<%= config.bin %>
|
|
989
|
-
"<%= config.bin %>
|
|
990
|
-
"<%= config.bin %> conversations list --limit 10",
|
|
991
|
-
"<%= config.bin %> conversations list --json"
|
|
1179
|
+
"<%= config.bin %> contacts get cnt_xxx",
|
|
1180
|
+
"<%= config.bin %> contacts get cnt_xxx --json"
|
|
992
1181
|
],
|
|
993
1182
|
"flags": {
|
|
994
1183
|
"json": {
|
|
@@ -1003,39 +1192,11 @@
|
|
|
1003
1192
|
"name": "quiet",
|
|
1004
1193
|
"allowNo": false,
|
|
1005
1194
|
"type": "boolean"
|
|
1006
|
-
},
|
|
1007
|
-
"limit": {
|
|
1008
|
-
"char": "l",
|
|
1009
|
-
"description": "Number of conversations per page",
|
|
1010
|
-
"name": "limit",
|
|
1011
|
-
"default": 20,
|
|
1012
|
-
"hasDynamicHelp": false,
|
|
1013
|
-
"multiple": false,
|
|
1014
|
-
"type": "option"
|
|
1015
|
-
},
|
|
1016
|
-
"offset": {
|
|
1017
|
-
"description": "Offset from start",
|
|
1018
|
-
"name": "offset",
|
|
1019
|
-
"hasDynamicHelp": false,
|
|
1020
|
-
"multiple": false,
|
|
1021
|
-
"type": "option"
|
|
1022
|
-
},
|
|
1023
|
-
"status": {
|
|
1024
|
-
"char": "s",
|
|
1025
|
-
"description": "Filter by status (active, closed)",
|
|
1026
|
-
"name": "status",
|
|
1027
|
-
"hasDynamicHelp": false,
|
|
1028
|
-
"multiple": false,
|
|
1029
|
-
"options": [
|
|
1030
|
-
"active",
|
|
1031
|
-
"closed"
|
|
1032
|
-
],
|
|
1033
|
-
"type": "option"
|
|
1034
1195
|
}
|
|
1035
1196
|
},
|
|
1036
1197
|
"hasDynamicHelp": false,
|
|
1037
1198
|
"hiddenAliases": [],
|
|
1038
|
-
"id": "
|
|
1199
|
+
"id": "contacts:get",
|
|
1039
1200
|
"pluginAlias": "@sendly/cli",
|
|
1040
1201
|
"pluginName": "@sendly/cli",
|
|
1041
1202
|
"pluginType": "core",
|
|
@@ -1044,23 +1205,24 @@
|
|
|
1044
1205
|
"relativePath": [
|
|
1045
1206
|
"dist",
|
|
1046
1207
|
"commands",
|
|
1047
|
-
"
|
|
1048
|
-
"
|
|
1208
|
+
"contacts",
|
|
1209
|
+
"get.js"
|
|
1049
1210
|
]
|
|
1050
1211
|
},
|
|
1051
|
-
"
|
|
1212
|
+
"contacts:import": {
|
|
1052
1213
|
"aliases": [],
|
|
1053
1214
|
"args": {
|
|
1054
|
-
"
|
|
1055
|
-
"description": "
|
|
1056
|
-
"name": "
|
|
1215
|
+
"file": {
|
|
1216
|
+
"description": "Path to CSV file (columns: phone, name, email)",
|
|
1217
|
+
"name": "file",
|
|
1057
1218
|
"required": true
|
|
1058
1219
|
}
|
|
1059
1220
|
},
|
|
1060
|
-
"description": "
|
|
1221
|
+
"description": "Import contacts from a CSV file",
|
|
1061
1222
|
"examples": [
|
|
1062
|
-
"<%= config.bin %>
|
|
1063
|
-
"<%= config.bin %>
|
|
1223
|
+
"<%= config.bin %> contacts import contacts.csv",
|
|
1224
|
+
"<%= config.bin %> contacts import contacts.csv --list lst_xxx",
|
|
1225
|
+
"<%= config.bin %> contacts import contacts.csv --list lst_xxx --json"
|
|
1064
1226
|
],
|
|
1065
1227
|
"flags": {
|
|
1066
1228
|
"json": {
|
|
@@ -1075,11 +1237,19 @@
|
|
|
1075
1237
|
"name": "quiet",
|
|
1076
1238
|
"allowNo": false,
|
|
1077
1239
|
"type": "boolean"
|
|
1240
|
+
},
|
|
1241
|
+
"list": {
|
|
1242
|
+
"char": "l",
|
|
1243
|
+
"description": "Contact list ID to add imported contacts to",
|
|
1244
|
+
"name": "list",
|
|
1245
|
+
"hasDynamicHelp": false,
|
|
1246
|
+
"multiple": false,
|
|
1247
|
+
"type": "option"
|
|
1078
1248
|
}
|
|
1079
1249
|
},
|
|
1080
1250
|
"hasDynamicHelp": false,
|
|
1081
1251
|
"hiddenAliases": [],
|
|
1082
|
-
"id": "
|
|
1252
|
+
"id": "contacts:import",
|
|
1083
1253
|
"pluginAlias": "@sendly/cli",
|
|
1084
1254
|
"pluginName": "@sendly/cli",
|
|
1085
1255
|
"pluginType": "core",
|
|
@@ -1088,23 +1258,20 @@
|
|
|
1088
1258
|
"relativePath": [
|
|
1089
1259
|
"dist",
|
|
1090
1260
|
"commands",
|
|
1091
|
-
"
|
|
1092
|
-
"
|
|
1261
|
+
"contacts",
|
|
1262
|
+
"import.js"
|
|
1093
1263
|
]
|
|
1094
1264
|
},
|
|
1095
|
-
"
|
|
1265
|
+
"contacts:list": {
|
|
1096
1266
|
"aliases": [],
|
|
1097
|
-
"args": {
|
|
1098
|
-
|
|
1099
|
-
"description": "Conversation ID",
|
|
1100
|
-
"name": "id",
|
|
1101
|
-
"required": true
|
|
1102
|
-
}
|
|
1103
|
-
},
|
|
1104
|
-
"description": "Reopen a closed conversation",
|
|
1267
|
+
"args": {},
|
|
1268
|
+
"description": "List contacts",
|
|
1105
1269
|
"examples": [
|
|
1106
|
-
"<%= config.bin %>
|
|
1107
|
-
"<%= config.bin %>
|
|
1270
|
+
"<%= config.bin %> contacts list",
|
|
1271
|
+
"<%= config.bin %> contacts list --search john",
|
|
1272
|
+
"<%= config.bin %> contacts list --list lst_xxx",
|
|
1273
|
+
"<%= config.bin %> contacts list --limit 50",
|
|
1274
|
+
"<%= config.bin %> contacts list --json"
|
|
1108
1275
|
],
|
|
1109
1276
|
"flags": {
|
|
1110
1277
|
"json": {
|
|
@@ -1119,11 +1286,43 @@
|
|
|
1119
1286
|
"name": "quiet",
|
|
1120
1287
|
"allowNo": false,
|
|
1121
1288
|
"type": "boolean"
|
|
1289
|
+
},
|
|
1290
|
+
"limit": {
|
|
1291
|
+
"char": "l",
|
|
1292
|
+
"description": "Number of contacts to show",
|
|
1293
|
+
"name": "limit",
|
|
1294
|
+
"default": 50,
|
|
1295
|
+
"hasDynamicHelp": false,
|
|
1296
|
+
"multiple": false,
|
|
1297
|
+
"type": "option"
|
|
1298
|
+
},
|
|
1299
|
+
"offset": {
|
|
1300
|
+
"description": "Offset for pagination",
|
|
1301
|
+
"name": "offset",
|
|
1302
|
+
"default": 0,
|
|
1303
|
+
"hasDynamicHelp": false,
|
|
1304
|
+
"multiple": false,
|
|
1305
|
+
"type": "option"
|
|
1306
|
+
},
|
|
1307
|
+
"search": {
|
|
1308
|
+
"char": "s",
|
|
1309
|
+
"description": "Search by name, phone, or email",
|
|
1310
|
+
"name": "search",
|
|
1311
|
+
"hasDynamicHelp": false,
|
|
1312
|
+
"multiple": false,
|
|
1313
|
+
"type": "option"
|
|
1314
|
+
},
|
|
1315
|
+
"list": {
|
|
1316
|
+
"description": "Filter by contact list ID",
|
|
1317
|
+
"name": "list",
|
|
1318
|
+
"hasDynamicHelp": false,
|
|
1319
|
+
"multiple": false,
|
|
1320
|
+
"type": "option"
|
|
1122
1321
|
}
|
|
1123
1322
|
},
|
|
1124
1323
|
"hasDynamicHelp": false,
|
|
1125
1324
|
"hiddenAliases": [],
|
|
1126
|
-
"id": "
|
|
1325
|
+
"id": "contacts:list",
|
|
1127
1326
|
"pluginAlias": "@sendly/cli",
|
|
1128
1327
|
"pluginName": "@sendly/cli",
|
|
1129
1328
|
"pluginType": "core",
|
|
@@ -1132,28 +1331,24 @@
|
|
|
1132
1331
|
"relativePath": [
|
|
1133
1332
|
"dist",
|
|
1134
1333
|
"commands",
|
|
1135
|
-
"
|
|
1136
|
-
"
|
|
1334
|
+
"contacts",
|
|
1335
|
+
"list.js"
|
|
1137
1336
|
]
|
|
1138
1337
|
},
|
|
1139
|
-
"
|
|
1338
|
+
"contacts:update": {
|
|
1140
1339
|
"aliases": [],
|
|
1141
1340
|
"args": {
|
|
1142
1341
|
"id": {
|
|
1143
|
-
"description": "
|
|
1342
|
+
"description": "Contact ID",
|
|
1144
1343
|
"name": "id",
|
|
1145
1344
|
"required": true
|
|
1146
|
-
},
|
|
1147
|
-
"text": {
|
|
1148
|
-
"description": "Reply message text",
|
|
1149
|
-
"name": "text",
|
|
1150
|
-
"required": true
|
|
1151
1345
|
}
|
|
1152
1346
|
},
|
|
1153
|
-
"description": "
|
|
1347
|
+
"description": "Update a contact",
|
|
1154
1348
|
"examples": [
|
|
1155
|
-
"<%= config.bin %>
|
|
1156
|
-
"<%= config.bin %>
|
|
1349
|
+
"<%= config.bin %> contacts update cnt_xxx --name \"John Doe\"",
|
|
1350
|
+
"<%= config.bin %> contacts update cnt_xxx --email john@example.com",
|
|
1351
|
+
"<%= config.bin %> contacts update cnt_xxx --name \"John\" --email john@example.com"
|
|
1157
1352
|
],
|
|
1158
1353
|
"flags": {
|
|
1159
1354
|
"json": {
|
|
@@ -1168,11 +1363,27 @@
|
|
|
1168
1363
|
"name": "quiet",
|
|
1169
1364
|
"allowNo": false,
|
|
1170
1365
|
"type": "boolean"
|
|
1366
|
+
},
|
|
1367
|
+
"name": {
|
|
1368
|
+
"char": "n",
|
|
1369
|
+
"description": "Contact name",
|
|
1370
|
+
"name": "name",
|
|
1371
|
+
"hasDynamicHelp": false,
|
|
1372
|
+
"multiple": false,
|
|
1373
|
+
"type": "option"
|
|
1374
|
+
},
|
|
1375
|
+
"email": {
|
|
1376
|
+
"char": "e",
|
|
1377
|
+
"description": "Contact email",
|
|
1378
|
+
"name": "email",
|
|
1379
|
+
"hasDynamicHelp": false,
|
|
1380
|
+
"multiple": false,
|
|
1381
|
+
"type": "option"
|
|
1171
1382
|
}
|
|
1172
1383
|
},
|
|
1173
1384
|
"hasDynamicHelp": false,
|
|
1174
1385
|
"hiddenAliases": [],
|
|
1175
|
-
"id": "
|
|
1386
|
+
"id": "contacts:update",
|
|
1176
1387
|
"pluginAlias": "@sendly/cli",
|
|
1177
1388
|
"pluginName": "@sendly/cli",
|
|
1178
1389
|
"pluginType": "core",
|
|
@@ -1181,8 +1392,8 @@
|
|
|
1181
1392
|
"relativePath": [
|
|
1182
1393
|
"dist",
|
|
1183
1394
|
"commands",
|
|
1184
|
-
"
|
|
1185
|
-
"
|
|
1395
|
+
"contacts",
|
|
1396
|
+
"update.js"
|
|
1186
1397
|
]
|
|
1187
1398
|
},
|
|
1188
1399
|
"credits:balance": {
|
|
@@ -1299,70 +1510,27 @@
|
|
|
1299
1510
|
"name": "to",
|
|
1300
1511
|
"hasDynamicHelp": false,
|
|
1301
1512
|
"multiple": false,
|
|
1302
|
-
"type": "option"
|
|
1303
|
-
},
|
|
1304
|
-
"amount": {
|
|
1305
|
-
"char": "a",
|
|
1306
|
-
"description": "Number of credits to transfer",
|
|
1307
|
-
"name": "amount",
|
|
1308
|
-
"hasDynamicHelp": false,
|
|
1309
|
-
"multiple": false,
|
|
1310
|
-
"type": "option"
|
|
1311
|
-
},
|
|
1312
|
-
"yes": {
|
|
1313
|
-
"char": "y",
|
|
1314
|
-
"description": "Skip confirmation prompt",
|
|
1315
|
-
"name": "yes",
|
|
1316
|
-
"allowNo": false,
|
|
1317
|
-
"type": "boolean"
|
|
1318
|
-
}
|
|
1319
|
-
},
|
|
1320
|
-
"hasDynamicHelp": false,
|
|
1321
|
-
"hiddenAliases": [],
|
|
1322
|
-
"id": "credits:transfer",
|
|
1323
|
-
"pluginAlias": "@sendly/cli",
|
|
1324
|
-
"pluginName": "@sendly/cli",
|
|
1325
|
-
"pluginType": "core",
|
|
1326
|
-
"strict": true,
|
|
1327
|
-
"isESM": true,
|
|
1328
|
-
"relativePath": [
|
|
1329
|
-
"dist",
|
|
1330
|
-
"commands",
|
|
1331
|
-
"credits",
|
|
1332
|
-
"transfer.js"
|
|
1333
|
-
]
|
|
1334
|
-
},
|
|
1335
|
-
"campaigns:cancel": {
|
|
1336
|
-
"aliases": [],
|
|
1337
|
-
"args": {
|
|
1338
|
-
"id": {
|
|
1339
|
-
"description": "Campaign ID",
|
|
1340
|
-
"name": "id",
|
|
1341
|
-
"required": true
|
|
1342
|
-
}
|
|
1343
|
-
},
|
|
1344
|
-
"description": "Cancel a scheduled campaign",
|
|
1345
|
-
"examples": [
|
|
1346
|
-
"<%= config.bin %> campaigns cancel cmp_xxx"
|
|
1347
|
-
],
|
|
1348
|
-
"flags": {
|
|
1349
|
-
"json": {
|
|
1350
|
-
"description": "Output in JSON format",
|
|
1351
|
-
"name": "json",
|
|
1352
|
-
"allowNo": false,
|
|
1353
|
-
"type": "boolean"
|
|
1513
|
+
"type": "option"
|
|
1354
1514
|
},
|
|
1355
|
-
"
|
|
1356
|
-
"char": "
|
|
1357
|
-
"description": "
|
|
1358
|
-
"name": "
|
|
1515
|
+
"amount": {
|
|
1516
|
+
"char": "a",
|
|
1517
|
+
"description": "Number of credits to transfer",
|
|
1518
|
+
"name": "amount",
|
|
1519
|
+
"hasDynamicHelp": false,
|
|
1520
|
+
"multiple": false,
|
|
1521
|
+
"type": "option"
|
|
1522
|
+
},
|
|
1523
|
+
"yes": {
|
|
1524
|
+
"char": "y",
|
|
1525
|
+
"description": "Skip confirmation prompt",
|
|
1526
|
+
"name": "yes",
|
|
1359
1527
|
"allowNo": false,
|
|
1360
1528
|
"type": "boolean"
|
|
1361
1529
|
}
|
|
1362
1530
|
},
|
|
1363
1531
|
"hasDynamicHelp": false,
|
|
1364
1532
|
"hiddenAliases": [],
|
|
1365
|
-
"id": "
|
|
1533
|
+
"id": "credits:transfer",
|
|
1366
1534
|
"pluginAlias": "@sendly/cli",
|
|
1367
1535
|
"pluginName": "@sendly/cli",
|
|
1368
1536
|
"pluginType": "core",
|
|
@@ -1371,23 +1539,23 @@
|
|
|
1371
1539
|
"relativePath": [
|
|
1372
1540
|
"dist",
|
|
1373
1541
|
"commands",
|
|
1374
|
-
"
|
|
1375
|
-
"
|
|
1542
|
+
"credits",
|
|
1543
|
+
"transfer.js"
|
|
1376
1544
|
]
|
|
1377
1545
|
},
|
|
1378
|
-
"
|
|
1546
|
+
"conversations:close": {
|
|
1379
1547
|
"aliases": [],
|
|
1380
1548
|
"args": {
|
|
1381
1549
|
"id": {
|
|
1382
|
-
"description": "
|
|
1550
|
+
"description": "Conversation ID",
|
|
1383
1551
|
"name": "id",
|
|
1384
1552
|
"required": true
|
|
1385
1553
|
}
|
|
1386
1554
|
},
|
|
1387
|
-
"description": "
|
|
1555
|
+
"description": "Close a conversation",
|
|
1388
1556
|
"examples": [
|
|
1389
|
-
"<%= config.bin %>
|
|
1390
|
-
"<%= config.bin %>
|
|
1557
|
+
"<%= config.bin %> conversations close conv_abc123",
|
|
1558
|
+
"<%= config.bin %> conversations close conv_abc123 --json"
|
|
1391
1559
|
],
|
|
1392
1560
|
"flags": {
|
|
1393
1561
|
"json": {
|
|
@@ -1402,19 +1570,11 @@
|
|
|
1402
1570
|
"name": "quiet",
|
|
1403
1571
|
"allowNo": false,
|
|
1404
1572
|
"type": "boolean"
|
|
1405
|
-
},
|
|
1406
|
-
"name": {
|
|
1407
|
-
"char": "n",
|
|
1408
|
-
"description": "Name for the cloned campaign",
|
|
1409
|
-
"name": "name",
|
|
1410
|
-
"hasDynamicHelp": false,
|
|
1411
|
-
"multiple": false,
|
|
1412
|
-
"type": "option"
|
|
1413
1573
|
}
|
|
1414
1574
|
},
|
|
1415
1575
|
"hasDynamicHelp": false,
|
|
1416
1576
|
"hiddenAliases": [],
|
|
1417
|
-
"id": "
|
|
1577
|
+
"id": "conversations:close",
|
|
1418
1578
|
"pluginAlias": "@sendly/cli",
|
|
1419
1579
|
"pluginName": "@sendly/cli",
|
|
1420
1580
|
"pluginType": "core",
|
|
@@ -1423,18 +1583,25 @@
|
|
|
1423
1583
|
"relativePath": [
|
|
1424
1584
|
"dist",
|
|
1425
1585
|
"commands",
|
|
1426
|
-
"
|
|
1427
|
-
"
|
|
1586
|
+
"conversations",
|
|
1587
|
+
"close.js"
|
|
1428
1588
|
]
|
|
1429
1589
|
},
|
|
1430
|
-
"
|
|
1590
|
+
"conversations:context": {
|
|
1431
1591
|
"aliases": [],
|
|
1432
|
-
"args": {
|
|
1433
|
-
|
|
1592
|
+
"args": {
|
|
1593
|
+
"id": {
|
|
1594
|
+
"description": "Conversation ID",
|
|
1595
|
+
"name": "id",
|
|
1596
|
+
"required": true
|
|
1597
|
+
}
|
|
1598
|
+
},
|
|
1599
|
+
"description": "Get LLM-ready conversation context. Returns pre-formatted text with timestamped messages, AI classification, and business context.",
|
|
1434
1600
|
"examples": [
|
|
1435
|
-
"<%= config.bin %>
|
|
1436
|
-
"<%= config.bin %>
|
|
1437
|
-
"<%= config.bin %>
|
|
1601
|
+
"<%= config.bin %> conversations context conv_abc123",
|
|
1602
|
+
"<%= config.bin %> conversations context conv_abc123 --max-messages 10",
|
|
1603
|
+
"<%= config.bin %> conversations context conv_abc123 --json",
|
|
1604
|
+
"<%= config.bin %> conversations context conv_abc123 --raw"
|
|
1438
1605
|
],
|
|
1439
1606
|
"flags": {
|
|
1440
1607
|
"json": {
|
|
@@ -1450,43 +1617,25 @@
|
|
|
1450
1617
|
"allowNo": false,
|
|
1451
1618
|
"type": "boolean"
|
|
1452
1619
|
},
|
|
1453
|
-
"
|
|
1454
|
-
"char": "
|
|
1455
|
-
"description": "
|
|
1456
|
-
"name": "
|
|
1457
|
-
"
|
|
1458
|
-
"hasDynamicHelp": false,
|
|
1459
|
-
"multiple": false,
|
|
1460
|
-
"type": "option"
|
|
1461
|
-
},
|
|
1462
|
-
"text": {
|
|
1463
|
-
"char": "t",
|
|
1464
|
-
"description": "Message text (supports {{variables}})",
|
|
1465
|
-
"name": "text",
|
|
1466
|
-
"hasDynamicHelp": false,
|
|
1467
|
-
"multiple": false,
|
|
1468
|
-
"type": "option"
|
|
1469
|
-
},
|
|
1470
|
-
"template": {
|
|
1471
|
-
"description": "Template ID to use instead of text",
|
|
1472
|
-
"name": "template",
|
|
1620
|
+
"max-messages": {
|
|
1621
|
+
"char": "m",
|
|
1622
|
+
"description": "Maximum number of messages to include",
|
|
1623
|
+
"name": "max-messages",
|
|
1624
|
+
"default": 20,
|
|
1473
1625
|
"hasDynamicHelp": false,
|
|
1474
1626
|
"multiple": false,
|
|
1475
1627
|
"type": "option"
|
|
1476
1628
|
},
|
|
1477
|
-
"
|
|
1478
|
-
"
|
|
1479
|
-
"
|
|
1480
|
-
"
|
|
1481
|
-
"
|
|
1482
|
-
"hasDynamicHelp": false,
|
|
1483
|
-
"multiple": true,
|
|
1484
|
-
"type": "option"
|
|
1629
|
+
"raw": {
|
|
1630
|
+
"description": "Output only the context text (for piping to LLMs)",
|
|
1631
|
+
"name": "raw",
|
|
1632
|
+
"allowNo": false,
|
|
1633
|
+
"type": "boolean"
|
|
1485
1634
|
}
|
|
1486
1635
|
},
|
|
1487
1636
|
"hasDynamicHelp": false,
|
|
1488
1637
|
"hiddenAliases": [],
|
|
1489
|
-
"id": "
|
|
1638
|
+
"id": "conversations:context",
|
|
1490
1639
|
"pluginAlias": "@sendly/cli",
|
|
1491
1640
|
"pluginName": "@sendly/cli",
|
|
1492
1641
|
"pluginType": "core",
|
|
@@ -1495,23 +1644,25 @@
|
|
|
1495
1644
|
"relativePath": [
|
|
1496
1645
|
"dist",
|
|
1497
1646
|
"commands",
|
|
1498
|
-
"
|
|
1499
|
-
"
|
|
1647
|
+
"conversations",
|
|
1648
|
+
"context.js"
|
|
1500
1649
|
]
|
|
1501
1650
|
},
|
|
1502
|
-
"
|
|
1651
|
+
"conversations:get": {
|
|
1503
1652
|
"aliases": [],
|
|
1504
1653
|
"args": {
|
|
1505
1654
|
"id": {
|
|
1506
|
-
"description": "
|
|
1655
|
+
"description": "Conversation ID",
|
|
1507
1656
|
"name": "id",
|
|
1508
1657
|
"required": true
|
|
1509
1658
|
}
|
|
1510
1659
|
},
|
|
1511
|
-
"description": "
|
|
1660
|
+
"description": "Get details of a conversation",
|
|
1512
1661
|
"examples": [
|
|
1513
|
-
"<%= config.bin %>
|
|
1514
|
-
"<%= config.bin %>
|
|
1662
|
+
"<%= config.bin %> conversations get conv_abc123",
|
|
1663
|
+
"<%= config.bin %> conversations get conv_abc123 --messages",
|
|
1664
|
+
"<%= config.bin %> conversations get conv_abc123 --messages --limit 10",
|
|
1665
|
+
"<%= config.bin %> conversations get conv_abc123 --json"
|
|
1515
1666
|
],
|
|
1516
1667
|
"flags": {
|
|
1517
1668
|
"json": {
|
|
@@ -1527,17 +1678,26 @@
|
|
|
1527
1678
|
"allowNo": false,
|
|
1528
1679
|
"type": "boolean"
|
|
1529
1680
|
},
|
|
1530
|
-
"
|
|
1531
|
-
"char": "
|
|
1532
|
-
"description": "
|
|
1533
|
-
"name": "
|
|
1681
|
+
"messages": {
|
|
1682
|
+
"char": "m",
|
|
1683
|
+
"description": "Include message thread",
|
|
1684
|
+
"name": "messages",
|
|
1534
1685
|
"allowNo": false,
|
|
1535
1686
|
"type": "boolean"
|
|
1687
|
+
},
|
|
1688
|
+
"limit": {
|
|
1689
|
+
"char": "l",
|
|
1690
|
+
"description": "Number of messages to include (requires --messages)",
|
|
1691
|
+
"name": "limit",
|
|
1692
|
+
"default": 50,
|
|
1693
|
+
"hasDynamicHelp": false,
|
|
1694
|
+
"multiple": false,
|
|
1695
|
+
"type": "option"
|
|
1536
1696
|
}
|
|
1537
1697
|
},
|
|
1538
1698
|
"hasDynamicHelp": false,
|
|
1539
1699
|
"hiddenAliases": [],
|
|
1540
|
-
"id": "
|
|
1700
|
+
"id": "conversations:get",
|
|
1541
1701
|
"pluginAlias": "@sendly/cli",
|
|
1542
1702
|
"pluginName": "@sendly/cli",
|
|
1543
1703
|
"pluginType": "core",
|
|
@@ -1546,23 +1706,17 @@
|
|
|
1546
1706
|
"relativePath": [
|
|
1547
1707
|
"dist",
|
|
1548
1708
|
"commands",
|
|
1549
|
-
"
|
|
1550
|
-
"
|
|
1709
|
+
"conversations",
|
|
1710
|
+
"get.js"
|
|
1551
1711
|
]
|
|
1552
1712
|
},
|
|
1553
|
-
"
|
|
1713
|
+
"conversations": {
|
|
1554
1714
|
"aliases": [],
|
|
1555
|
-
"args": {
|
|
1556
|
-
|
|
1557
|
-
"description": "Campaign ID",
|
|
1558
|
-
"name": "id",
|
|
1559
|
-
"required": true
|
|
1560
|
-
}
|
|
1561
|
-
},
|
|
1562
|
-
"description": "Get campaign details",
|
|
1715
|
+
"args": {},
|
|
1716
|
+
"description": "List conversations (default subcommand)",
|
|
1563
1717
|
"examples": [
|
|
1564
|
-
"<%= config.bin %>
|
|
1565
|
-
"<%= config.bin %>
|
|
1718
|
+
"<%= config.bin %> conversations",
|
|
1719
|
+
"<%= config.bin %> conversations --json"
|
|
1566
1720
|
],
|
|
1567
1721
|
"flags": {
|
|
1568
1722
|
"json": {
|
|
@@ -1581,7 +1735,7 @@
|
|
|
1581
1735
|
},
|
|
1582
1736
|
"hasDynamicHelp": false,
|
|
1583
1737
|
"hiddenAliases": [],
|
|
1584
|
-
"id": "
|
|
1738
|
+
"id": "conversations",
|
|
1585
1739
|
"pluginAlias": "@sendly/cli",
|
|
1586
1740
|
"pluginName": "@sendly/cli",
|
|
1587
1741
|
"pluginType": "core",
|
|
@@ -1590,19 +1744,19 @@
|
|
|
1590
1744
|
"relativePath": [
|
|
1591
1745
|
"dist",
|
|
1592
1746
|
"commands",
|
|
1593
|
-
"
|
|
1594
|
-
"
|
|
1747
|
+
"conversations",
|
|
1748
|
+
"index.js"
|
|
1595
1749
|
]
|
|
1596
1750
|
},
|
|
1597
|
-
"
|
|
1751
|
+
"conversations:list": {
|
|
1598
1752
|
"aliases": [],
|
|
1599
1753
|
"args": {},
|
|
1600
|
-
"description": "List
|
|
1754
|
+
"description": "List conversations",
|
|
1601
1755
|
"examples": [
|
|
1602
|
-
"<%= config.bin %>
|
|
1603
|
-
"<%= config.bin %>
|
|
1604
|
-
"<%= config.bin %>
|
|
1605
|
-
"<%= config.bin %>
|
|
1756
|
+
"<%= config.bin %> conversations list",
|
|
1757
|
+
"<%= config.bin %> conversations list --status active",
|
|
1758
|
+
"<%= config.bin %> conversations list --limit 10",
|
|
1759
|
+
"<%= config.bin %> conversations list --json"
|
|
1606
1760
|
],
|
|
1607
1761
|
"flags": {
|
|
1608
1762
|
"json": {
|
|
@@ -1620,7 +1774,7 @@
|
|
|
1620
1774
|
},
|
|
1621
1775
|
"limit": {
|
|
1622
1776
|
"char": "l",
|
|
1623
|
-
"description": "Number of
|
|
1777
|
+
"description": "Number of conversations per page",
|
|
1624
1778
|
"name": "limit",
|
|
1625
1779
|
"default": 20,
|
|
1626
1780
|
"hasDynamicHelp": false,
|
|
@@ -1628,25 +1782,28 @@
|
|
|
1628
1782
|
"type": "option"
|
|
1629
1783
|
},
|
|
1630
1784
|
"offset": {
|
|
1631
|
-
"description": "Offset
|
|
1785
|
+
"description": "Offset from start",
|
|
1632
1786
|
"name": "offset",
|
|
1633
|
-
"default": 0,
|
|
1634
1787
|
"hasDynamicHelp": false,
|
|
1635
1788
|
"multiple": false,
|
|
1636
1789
|
"type": "option"
|
|
1637
1790
|
},
|
|
1638
1791
|
"status": {
|
|
1639
1792
|
"char": "s",
|
|
1640
|
-
"description": "Filter by status (
|
|
1793
|
+
"description": "Filter by status (active, closed)",
|
|
1641
1794
|
"name": "status",
|
|
1642
1795
|
"hasDynamicHelp": false,
|
|
1643
1796
|
"multiple": false,
|
|
1797
|
+
"options": [
|
|
1798
|
+
"active",
|
|
1799
|
+
"closed"
|
|
1800
|
+
],
|
|
1644
1801
|
"type": "option"
|
|
1645
1802
|
}
|
|
1646
1803
|
},
|
|
1647
1804
|
"hasDynamicHelp": false,
|
|
1648
1805
|
"hiddenAliases": [],
|
|
1649
|
-
"id": "
|
|
1806
|
+
"id": "conversations:list",
|
|
1650
1807
|
"pluginAlias": "@sendly/cli",
|
|
1651
1808
|
"pluginName": "@sendly/cli",
|
|
1652
1809
|
"pluginType": "core",
|
|
@@ -1655,23 +1812,23 @@
|
|
|
1655
1812
|
"relativePath": [
|
|
1656
1813
|
"dist",
|
|
1657
1814
|
"commands",
|
|
1658
|
-
"
|
|
1815
|
+
"conversations",
|
|
1659
1816
|
"list.js"
|
|
1660
1817
|
]
|
|
1661
1818
|
},
|
|
1662
|
-
"
|
|
1819
|
+
"conversations:mark-read": {
|
|
1663
1820
|
"aliases": [],
|
|
1664
1821
|
"args": {
|
|
1665
1822
|
"id": {
|
|
1666
|
-
"description": "
|
|
1823
|
+
"description": "Conversation ID",
|
|
1667
1824
|
"name": "id",
|
|
1668
1825
|
"required": true
|
|
1669
1826
|
}
|
|
1670
1827
|
},
|
|
1671
|
-
"description": "
|
|
1828
|
+
"description": "Mark a conversation as read",
|
|
1672
1829
|
"examples": [
|
|
1673
|
-
"<%= config.bin %>
|
|
1674
|
-
"<%= config.bin %>
|
|
1830
|
+
"<%= config.bin %> conversations mark-read conv_abc123",
|
|
1831
|
+
"<%= config.bin %> conversations mark-read conv_abc123 --json"
|
|
1675
1832
|
],
|
|
1676
1833
|
"flags": {
|
|
1677
1834
|
"json": {
|
|
@@ -1690,7 +1847,7 @@
|
|
|
1690
1847
|
},
|
|
1691
1848
|
"hasDynamicHelp": false,
|
|
1692
1849
|
"hiddenAliases": [],
|
|
1693
|
-
"id": "
|
|
1850
|
+
"id": "conversations:mark-read",
|
|
1694
1851
|
"pluginAlias": "@sendly/cli",
|
|
1695
1852
|
"pluginName": "@sendly/cli",
|
|
1696
1853
|
"pluginType": "core",
|
|
@@ -1699,23 +1856,23 @@
|
|
|
1699
1856
|
"relativePath": [
|
|
1700
1857
|
"dist",
|
|
1701
1858
|
"commands",
|
|
1702
|
-
"
|
|
1703
|
-
"
|
|
1859
|
+
"conversations",
|
|
1860
|
+
"mark-read.js"
|
|
1704
1861
|
]
|
|
1705
1862
|
},
|
|
1706
|
-
"
|
|
1863
|
+
"conversations:reopen": {
|
|
1707
1864
|
"aliases": [],
|
|
1708
1865
|
"args": {
|
|
1709
1866
|
"id": {
|
|
1710
|
-
"description": "
|
|
1867
|
+
"description": "Conversation ID",
|
|
1711
1868
|
"name": "id",
|
|
1712
1869
|
"required": true
|
|
1713
1870
|
}
|
|
1714
1871
|
},
|
|
1715
|
-
"description": "
|
|
1872
|
+
"description": "Reopen a closed conversation",
|
|
1716
1873
|
"examples": [
|
|
1717
|
-
"<%= config.bin %>
|
|
1718
|
-
"<%= config.bin %>
|
|
1874
|
+
"<%= config.bin %> conversations reopen conv_abc123",
|
|
1875
|
+
"<%= config.bin %> conversations reopen conv_abc123 --json"
|
|
1719
1876
|
],
|
|
1720
1877
|
"flags": {
|
|
1721
1878
|
"json": {
|
|
@@ -1730,27 +1887,60 @@
|
|
|
1730
1887
|
"name": "quiet",
|
|
1731
1888
|
"allowNo": false,
|
|
1732
1889
|
"type": "boolean"
|
|
1890
|
+
}
|
|
1891
|
+
},
|
|
1892
|
+
"hasDynamicHelp": false,
|
|
1893
|
+
"hiddenAliases": [],
|
|
1894
|
+
"id": "conversations:reopen",
|
|
1895
|
+
"pluginAlias": "@sendly/cli",
|
|
1896
|
+
"pluginName": "@sendly/cli",
|
|
1897
|
+
"pluginType": "core",
|
|
1898
|
+
"strict": true,
|
|
1899
|
+
"isESM": true,
|
|
1900
|
+
"relativePath": [
|
|
1901
|
+
"dist",
|
|
1902
|
+
"commands",
|
|
1903
|
+
"conversations",
|
|
1904
|
+
"reopen.js"
|
|
1905
|
+
]
|
|
1906
|
+
},
|
|
1907
|
+
"conversations:reply": {
|
|
1908
|
+
"aliases": [],
|
|
1909
|
+
"args": {
|
|
1910
|
+
"id": {
|
|
1911
|
+
"description": "Conversation ID",
|
|
1912
|
+
"name": "id",
|
|
1913
|
+
"required": true
|
|
1733
1914
|
},
|
|
1734
|
-
"
|
|
1735
|
-
"description": "
|
|
1736
|
-
"name": "
|
|
1737
|
-
"required": true
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
"
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
"
|
|
1748
|
-
"
|
|
1915
|
+
"text": {
|
|
1916
|
+
"description": "Reply message text",
|
|
1917
|
+
"name": "text",
|
|
1918
|
+
"required": true
|
|
1919
|
+
}
|
|
1920
|
+
},
|
|
1921
|
+
"description": "Send a reply in a conversation",
|
|
1922
|
+
"examples": [
|
|
1923
|
+
"<%= config.bin %> conversations reply conv_abc123 \"Thanks for reaching out!\"",
|
|
1924
|
+
"<%= config.bin %> conversations reply conv_abc123 \"Got it\" --json"
|
|
1925
|
+
],
|
|
1926
|
+
"flags": {
|
|
1927
|
+
"json": {
|
|
1928
|
+
"description": "Output in JSON format",
|
|
1929
|
+
"name": "json",
|
|
1930
|
+
"allowNo": false,
|
|
1931
|
+
"type": "boolean"
|
|
1932
|
+
},
|
|
1933
|
+
"quiet": {
|
|
1934
|
+
"char": "q",
|
|
1935
|
+
"description": "Minimal output",
|
|
1936
|
+
"name": "quiet",
|
|
1937
|
+
"allowNo": false,
|
|
1938
|
+
"type": "boolean"
|
|
1749
1939
|
}
|
|
1750
1940
|
},
|
|
1751
1941
|
"hasDynamicHelp": false,
|
|
1752
1942
|
"hiddenAliases": [],
|
|
1753
|
-
"id": "
|
|
1943
|
+
"id": "conversations:reply",
|
|
1754
1944
|
"pluginAlias": "@sendly/cli",
|
|
1755
1945
|
"pluginName": "@sendly/cli",
|
|
1756
1946
|
"pluginType": "core",
|
|
@@ -1759,23 +1949,23 @@
|
|
|
1759
1949
|
"relativePath": [
|
|
1760
1950
|
"dist",
|
|
1761
1951
|
"commands",
|
|
1762
|
-
"
|
|
1763
|
-
"
|
|
1952
|
+
"conversations",
|
|
1953
|
+
"reply.js"
|
|
1764
1954
|
]
|
|
1765
1955
|
},
|
|
1766
|
-
"
|
|
1956
|
+
"conversations:suggest-replies": {
|
|
1767
1957
|
"aliases": [],
|
|
1768
1958
|
"args": {
|
|
1769
1959
|
"id": {
|
|
1770
|
-
"description": "
|
|
1960
|
+
"description": "Conversation ID",
|
|
1771
1961
|
"name": "id",
|
|
1772
1962
|
"required": true
|
|
1773
1963
|
}
|
|
1774
1964
|
},
|
|
1775
|
-
"description": "
|
|
1965
|
+
"description": "Get AI-suggested replies for a conversation",
|
|
1776
1966
|
"examples": [
|
|
1777
|
-
"<%= config.bin %>
|
|
1778
|
-
"<%= config.bin %>
|
|
1967
|
+
"<%= config.bin %> conversations suggest-replies conv_abc123",
|
|
1968
|
+
"<%= config.bin %> conversations suggest-replies conv_abc123 --json"
|
|
1779
1969
|
],
|
|
1780
1970
|
"flags": {
|
|
1781
1971
|
"json": {
|
|
@@ -1790,18 +1980,11 @@
|
|
|
1790
1980
|
"name": "quiet",
|
|
1791
1981
|
"allowNo": false,
|
|
1792
1982
|
"type": "boolean"
|
|
1793
|
-
},
|
|
1794
|
-
"yes": {
|
|
1795
|
-
"char": "y",
|
|
1796
|
-
"description": "Skip confirmation prompt",
|
|
1797
|
-
"name": "yes",
|
|
1798
|
-
"allowNo": false,
|
|
1799
|
-
"type": "boolean"
|
|
1800
1983
|
}
|
|
1801
1984
|
},
|
|
1802
1985
|
"hasDynamicHelp": false,
|
|
1803
1986
|
"hiddenAliases": [],
|
|
1804
|
-
"id": "
|
|
1987
|
+
"id": "conversations:suggest-replies",
|
|
1805
1988
|
"pluginAlias": "@sendly/cli",
|
|
1806
1989
|
"pluginName": "@sendly/cli",
|
|
1807
1990
|
"pluginType": "core",
|
|
@@ -1810,25 +1993,24 @@
|
|
|
1810
1993
|
"relativePath": [
|
|
1811
1994
|
"dist",
|
|
1812
1995
|
"commands",
|
|
1813
|
-
"
|
|
1814
|
-
"
|
|
1996
|
+
"conversations",
|
|
1997
|
+
"suggest-replies.js"
|
|
1815
1998
|
]
|
|
1816
1999
|
},
|
|
1817
|
-
"
|
|
2000
|
+
"conversations:update": {
|
|
1818
2001
|
"aliases": [],
|
|
1819
2002
|
"args": {
|
|
1820
2003
|
"id": {
|
|
1821
|
-
"description": "
|
|
2004
|
+
"description": "Conversation ID",
|
|
1822
2005
|
"name": "id",
|
|
1823
2006
|
"required": true
|
|
1824
2007
|
}
|
|
1825
2008
|
},
|
|
1826
|
-
"description": "Update a
|
|
2009
|
+
"description": "Update a conversation",
|
|
1827
2010
|
"examples": [
|
|
1828
|
-
"<%= config.bin %>
|
|
1829
|
-
"<%= config.bin %>
|
|
1830
|
-
"<%= config.bin %>
|
|
1831
|
-
"<%= config.bin %> campaigns update cmp_xxx --name \"Sale\" --text \"50% off!\""
|
|
2011
|
+
"<%= config.bin %> conversations update conv_abc123 --metadata '{\"priority\":\"high\"}'",
|
|
2012
|
+
"<%= config.bin %> conversations update conv_abc123 --tags vip,urgent",
|
|
2013
|
+
"<%= config.bin %> conversations update conv_abc123 --metadata '{\"note\":\"follow up\"}' --tags support"
|
|
1832
2014
|
],
|
|
1833
2015
|
"flags": {
|
|
1834
2016
|
"json": {
|
|
@@ -1844,33 +2026,18 @@
|
|
|
1844
2026
|
"allowNo": false,
|
|
1845
2027
|
"type": "boolean"
|
|
1846
2028
|
},
|
|
1847
|
-
"
|
|
1848
|
-
"char": "
|
|
1849
|
-
"description": "
|
|
1850
|
-
"name": "
|
|
2029
|
+
"metadata": {
|
|
2030
|
+
"char": "m",
|
|
2031
|
+
"description": "Metadata as JSON string",
|
|
2032
|
+
"name": "metadata",
|
|
1851
2033
|
"hasDynamicHelp": false,
|
|
1852
2034
|
"multiple": false,
|
|
1853
2035
|
"type": "option"
|
|
1854
2036
|
},
|
|
1855
|
-
"
|
|
2037
|
+
"tags": {
|
|
1856
2038
|
"char": "t",
|
|
1857
|
-
"description": "
|
|
1858
|
-
"name": "
|
|
1859
|
-
"hasDynamicHelp": false,
|
|
1860
|
-
"multiple": false,
|
|
1861
|
-
"type": "option"
|
|
1862
|
-
},
|
|
1863
|
-
"list": {
|
|
1864
|
-
"char": "l",
|
|
1865
|
-
"description": "Contact list ID",
|
|
1866
|
-
"name": "list",
|
|
1867
|
-
"hasDynamicHelp": false,
|
|
1868
|
-
"multiple": false,
|
|
1869
|
-
"type": "option"
|
|
1870
|
-
},
|
|
1871
|
-
"template": {
|
|
1872
|
-
"description": "Template ID",
|
|
1873
|
-
"name": "template",
|
|
2039
|
+
"description": "Comma-separated list of tags",
|
|
2040
|
+
"name": "tags",
|
|
1874
2041
|
"hasDynamicHelp": false,
|
|
1875
2042
|
"multiple": false,
|
|
1876
2043
|
"type": "option"
|
|
@@ -1878,7 +2045,7 @@
|
|
|
1878
2045
|
},
|
|
1879
2046
|
"hasDynamicHelp": false,
|
|
1880
2047
|
"hiddenAliases": [],
|
|
1881
|
-
"id": "
|
|
2048
|
+
"id": "conversations:update",
|
|
1882
2049
|
"pluginAlias": "@sendly/cli",
|
|
1883
2050
|
"pluginName": "@sendly/cli",
|
|
1884
2051
|
"pluginType": "core",
|
|
@@ -1887,7 +2054,7 @@
|
|
|
1887
2054
|
"relativePath": [
|
|
1888
2055
|
"dist",
|
|
1889
2056
|
"commands",
|
|
1890
|
-
"
|
|
2057
|
+
"conversations",
|
|
1891
2058
|
"update.js"
|
|
1892
2059
|
]
|
|
1893
2060
|
},
|
|
@@ -2234,6 +2401,88 @@
|
|
|
2234
2401
|
"credits.js"
|
|
2235
2402
|
]
|
|
2236
2403
|
},
|
|
2404
|
+
"enterprise:generate-business-page": {
|
|
2405
|
+
"aliases": [],
|
|
2406
|
+
"args": {},
|
|
2407
|
+
"description": "Generate a hosted business page for verification",
|
|
2408
|
+
"examples": [
|
|
2409
|
+
"<%= config.bin %> enterprise generate-business-page --name \"Acme Services\" --use-case \"Appointment Reminders\"",
|
|
2410
|
+
"<%= config.bin %> enterprise generate-business-page --name \"Acme Services\" --email hello@acme.com --phone +15551234567"
|
|
2411
|
+
],
|
|
2412
|
+
"flags": {
|
|
2413
|
+
"json": {
|
|
2414
|
+
"description": "Output in JSON format",
|
|
2415
|
+
"name": "json",
|
|
2416
|
+
"allowNo": false,
|
|
2417
|
+
"type": "boolean"
|
|
2418
|
+
},
|
|
2419
|
+
"quiet": {
|
|
2420
|
+
"char": "q",
|
|
2421
|
+
"description": "Minimal output",
|
|
2422
|
+
"name": "quiet",
|
|
2423
|
+
"allowNo": false,
|
|
2424
|
+
"type": "boolean"
|
|
2425
|
+
},
|
|
2426
|
+
"name": {
|
|
2427
|
+
"char": "n",
|
|
2428
|
+
"description": "Business name (required)",
|
|
2429
|
+
"name": "name",
|
|
2430
|
+
"required": true,
|
|
2431
|
+
"hasDynamicHelp": false,
|
|
2432
|
+
"multiple": false,
|
|
2433
|
+
"type": "option"
|
|
2434
|
+
},
|
|
2435
|
+
"use-case": {
|
|
2436
|
+
"description": "Use case (e.g. Appointment Reminders)",
|
|
2437
|
+
"name": "use-case",
|
|
2438
|
+
"hasDynamicHelp": false,
|
|
2439
|
+
"multiple": false,
|
|
2440
|
+
"type": "option"
|
|
2441
|
+
},
|
|
2442
|
+
"summary": {
|
|
2443
|
+
"description": "Use case summary",
|
|
2444
|
+
"name": "summary",
|
|
2445
|
+
"hasDynamicHelp": false,
|
|
2446
|
+
"multiple": false,
|
|
2447
|
+
"type": "option"
|
|
2448
|
+
},
|
|
2449
|
+
"email": {
|
|
2450
|
+
"description": "Contact email",
|
|
2451
|
+
"name": "email",
|
|
2452
|
+
"hasDynamicHelp": false,
|
|
2453
|
+
"multiple": false,
|
|
2454
|
+
"type": "option"
|
|
2455
|
+
},
|
|
2456
|
+
"phone": {
|
|
2457
|
+
"description": "Contact phone",
|
|
2458
|
+
"name": "phone",
|
|
2459
|
+
"hasDynamicHelp": false,
|
|
2460
|
+
"multiple": false,
|
|
2461
|
+
"type": "option"
|
|
2462
|
+
},
|
|
2463
|
+
"address": {
|
|
2464
|
+
"description": "Business address",
|
|
2465
|
+
"name": "address",
|
|
2466
|
+
"hasDynamicHelp": false,
|
|
2467
|
+
"multiple": false,
|
|
2468
|
+
"type": "option"
|
|
2469
|
+
}
|
|
2470
|
+
},
|
|
2471
|
+
"hasDynamicHelp": false,
|
|
2472
|
+
"hiddenAliases": [],
|
|
2473
|
+
"id": "enterprise:generate-business-page",
|
|
2474
|
+
"pluginAlias": "@sendly/cli",
|
|
2475
|
+
"pluginName": "@sendly/cli",
|
|
2476
|
+
"pluginType": "core",
|
|
2477
|
+
"strict": true,
|
|
2478
|
+
"isESM": true,
|
|
2479
|
+
"relativePath": [
|
|
2480
|
+
"dist",
|
|
2481
|
+
"commands",
|
|
2482
|
+
"enterprise",
|
|
2483
|
+
"generate-business-page.js"
|
|
2484
|
+
]
|
|
2485
|
+
},
|
|
2237
2486
|
"enterprise:provision": {
|
|
2238
2487
|
"aliases": [],
|
|
2239
2488
|
"args": {},
|
|
@@ -2425,6 +2674,113 @@
|
|
|
2425
2674
|
"transfer-credits.js"
|
|
2426
2675
|
]
|
|
2427
2676
|
},
|
|
2677
|
+
"enterprise:upload-verification-document": {
|
|
2678
|
+
"aliases": [],
|
|
2679
|
+
"args": {},
|
|
2680
|
+
"description": "Upload a verification document (image or PDF)",
|
|
2681
|
+
"examples": [
|
|
2682
|
+
"<%= config.bin %> enterprise upload-verification-document --file ./ein-letter.png",
|
|
2683
|
+
"<%= config.bin %> enterprise upload-verification-document --file ./doc.pdf --workspace-id ws_123"
|
|
2684
|
+
],
|
|
2685
|
+
"flags": {
|
|
2686
|
+
"json": {
|
|
2687
|
+
"description": "Output in JSON format",
|
|
2688
|
+
"name": "json",
|
|
2689
|
+
"allowNo": false,
|
|
2690
|
+
"type": "boolean"
|
|
2691
|
+
},
|
|
2692
|
+
"quiet": {
|
|
2693
|
+
"char": "q",
|
|
2694
|
+
"description": "Minimal output",
|
|
2695
|
+
"name": "quiet",
|
|
2696
|
+
"allowNo": false,
|
|
2697
|
+
"type": "boolean"
|
|
2698
|
+
},
|
|
2699
|
+
"file": {
|
|
2700
|
+
"char": "f",
|
|
2701
|
+
"description": "Path to the file to upload (image or PDF)",
|
|
2702
|
+
"name": "file",
|
|
2703
|
+
"required": true,
|
|
2704
|
+
"hasDynamicHelp": false,
|
|
2705
|
+
"multiple": false,
|
|
2706
|
+
"type": "option"
|
|
2707
|
+
},
|
|
2708
|
+
"workspace-id": {
|
|
2709
|
+
"description": "Workspace ID to associate the document with",
|
|
2710
|
+
"name": "workspace-id",
|
|
2711
|
+
"hasDynamicHelp": false,
|
|
2712
|
+
"multiple": false,
|
|
2713
|
+
"type": "option"
|
|
2714
|
+
},
|
|
2715
|
+
"verification-id": {
|
|
2716
|
+
"description": "Verification ID to associate the document with",
|
|
2717
|
+
"name": "verification-id",
|
|
2718
|
+
"hasDynamicHelp": false,
|
|
2719
|
+
"multiple": false,
|
|
2720
|
+
"type": "option"
|
|
2721
|
+
}
|
|
2722
|
+
},
|
|
2723
|
+
"hasDynamicHelp": false,
|
|
2724
|
+
"hiddenAliases": [],
|
|
2725
|
+
"id": "enterprise:upload-verification-document",
|
|
2726
|
+
"pluginAlias": "@sendly/cli",
|
|
2727
|
+
"pluginName": "@sendly/cli",
|
|
2728
|
+
"pluginType": "core",
|
|
2729
|
+
"strict": true,
|
|
2730
|
+
"isESM": true,
|
|
2731
|
+
"relativePath": [
|
|
2732
|
+
"dist",
|
|
2733
|
+
"commands",
|
|
2734
|
+
"enterprise",
|
|
2735
|
+
"upload-verification-document.js"
|
|
2736
|
+
]
|
|
2737
|
+
},
|
|
2738
|
+
"events:listen": {
|
|
2739
|
+
"aliases": [],
|
|
2740
|
+
"args": {},
|
|
2741
|
+
"description": "Listen to real-time events via Server-Sent Events. Streams message deliveries, conversation updates, and more.",
|
|
2742
|
+
"examples": [
|
|
2743
|
+
"<%= config.bin %> events listen",
|
|
2744
|
+
"<%= config.bin %> events listen --types new_message,conversation_update",
|
|
2745
|
+
"<%= config.bin %> events listen --json"
|
|
2746
|
+
],
|
|
2747
|
+
"flags": {
|
|
2748
|
+
"json": {
|
|
2749
|
+
"description": "Output in JSON format",
|
|
2750
|
+
"name": "json",
|
|
2751
|
+
"allowNo": false,
|
|
2752
|
+
"type": "boolean"
|
|
2753
|
+
},
|
|
2754
|
+
"quiet": {
|
|
2755
|
+
"char": "q",
|
|
2756
|
+
"description": "Minimal output",
|
|
2757
|
+
"name": "quiet",
|
|
2758
|
+
"allowNo": false,
|
|
2759
|
+
"type": "boolean"
|
|
2760
|
+
},
|
|
2761
|
+
"types": {
|
|
2762
|
+
"description": "Comma-separated event types to filter (default: all)",
|
|
2763
|
+
"name": "types",
|
|
2764
|
+
"hasDynamicHelp": false,
|
|
2765
|
+
"multiple": false,
|
|
2766
|
+
"type": "option"
|
|
2767
|
+
}
|
|
2768
|
+
},
|
|
2769
|
+
"hasDynamicHelp": false,
|
|
2770
|
+
"hiddenAliases": [],
|
|
2771
|
+
"id": "events:listen",
|
|
2772
|
+
"pluginAlias": "@sendly/cli",
|
|
2773
|
+
"pluginName": "@sendly/cli",
|
|
2774
|
+
"pluginType": "core",
|
|
2775
|
+
"strict": true,
|
|
2776
|
+
"isESM": true,
|
|
2777
|
+
"relativePath": [
|
|
2778
|
+
"dist",
|
|
2779
|
+
"commands",
|
|
2780
|
+
"events",
|
|
2781
|
+
"listen.js"
|
|
2782
|
+
]
|
|
2783
|
+
},
|
|
2428
2784
|
"keys:create": {
|
|
2429
2785
|
"aliases": [],
|
|
2430
2786
|
"args": {},
|
|
@@ -2718,17 +3074,61 @@
|
|
|
2718
3074
|
"multiple": false,
|
|
2719
3075
|
"type": "option"
|
|
2720
3076
|
},
|
|
2721
|
-
"yes": {
|
|
2722
|
-
"char": "y",
|
|
2723
|
-
"description": "Skip confirmation prompt",
|
|
2724
|
-
"name": "yes",
|
|
3077
|
+
"yes": {
|
|
3078
|
+
"char": "y",
|
|
3079
|
+
"description": "Skip confirmation prompt",
|
|
3080
|
+
"name": "yes",
|
|
3081
|
+
"allowNo": false,
|
|
3082
|
+
"type": "boolean"
|
|
3083
|
+
}
|
|
3084
|
+
},
|
|
3085
|
+
"hasDynamicHelp": false,
|
|
3086
|
+
"hiddenAliases": [],
|
|
3087
|
+
"id": "keys:rotate",
|
|
3088
|
+
"pluginAlias": "@sendly/cli",
|
|
3089
|
+
"pluginName": "@sendly/cli",
|
|
3090
|
+
"pluginType": "core",
|
|
3091
|
+
"strict": true,
|
|
3092
|
+
"isESM": true,
|
|
3093
|
+
"relativePath": [
|
|
3094
|
+
"dist",
|
|
3095
|
+
"commands",
|
|
3096
|
+
"keys",
|
|
3097
|
+
"rotate.js"
|
|
3098
|
+
]
|
|
3099
|
+
},
|
|
3100
|
+
"keys:usage": {
|
|
3101
|
+
"aliases": [],
|
|
3102
|
+
"args": {
|
|
3103
|
+
"id": {
|
|
3104
|
+
"description": "API key ID",
|
|
3105
|
+
"name": "id",
|
|
3106
|
+
"required": true
|
|
3107
|
+
}
|
|
3108
|
+
},
|
|
3109
|
+
"description": "Get usage statistics for an API key",
|
|
3110
|
+
"examples": [
|
|
3111
|
+
"<%= config.bin %> keys usage KEY_ID",
|
|
3112
|
+
"<%= config.bin %> keys usage KEY_ID --json"
|
|
3113
|
+
],
|
|
3114
|
+
"flags": {
|
|
3115
|
+
"json": {
|
|
3116
|
+
"description": "Output in JSON format",
|
|
3117
|
+
"name": "json",
|
|
3118
|
+
"allowNo": false,
|
|
3119
|
+
"type": "boolean"
|
|
3120
|
+
},
|
|
3121
|
+
"quiet": {
|
|
3122
|
+
"char": "q",
|
|
3123
|
+
"description": "Minimal output",
|
|
3124
|
+
"name": "quiet",
|
|
2725
3125
|
"allowNo": false,
|
|
2726
3126
|
"type": "boolean"
|
|
2727
3127
|
}
|
|
2728
3128
|
},
|
|
2729
3129
|
"hasDynamicHelp": false,
|
|
2730
3130
|
"hiddenAliases": [],
|
|
2731
|
-
"id": "keys:
|
|
3131
|
+
"id": "keys:usage",
|
|
2732
3132
|
"pluginAlias": "@sendly/cli",
|
|
2733
3133
|
"pluginName": "@sendly/cli",
|
|
2734
3134
|
"pluginType": "core",
|
|
@@ -2738,22 +3138,27 @@
|
|
|
2738
3138
|
"dist",
|
|
2739
3139
|
"commands",
|
|
2740
3140
|
"keys",
|
|
2741
|
-
"
|
|
3141
|
+
"usage.js"
|
|
2742
3142
|
]
|
|
2743
3143
|
},
|
|
2744
|
-
"
|
|
3144
|
+
"labels:add": {
|
|
2745
3145
|
"aliases": [],
|
|
2746
3146
|
"args": {
|
|
2747
|
-
"
|
|
2748
|
-
"description": "
|
|
2749
|
-
"name": "
|
|
3147
|
+
"conversationId": {
|
|
3148
|
+
"description": "Conversation ID",
|
|
3149
|
+
"name": "conversationId",
|
|
3150
|
+
"required": true
|
|
3151
|
+
},
|
|
3152
|
+
"labelId": {
|
|
3153
|
+
"description": "Label ID",
|
|
3154
|
+
"name": "labelId",
|
|
2750
3155
|
"required": true
|
|
2751
3156
|
}
|
|
2752
3157
|
},
|
|
2753
|
-
"description": "
|
|
3158
|
+
"description": "Add a label to a conversation",
|
|
2754
3159
|
"examples": [
|
|
2755
|
-
"<%= config.bin %>
|
|
2756
|
-
"<%= config.bin %>
|
|
3160
|
+
"<%= config.bin %> labels add conv_abc123 lbl_def456",
|
|
3161
|
+
"<%= config.bin %> labels add conv_abc123 lbl_def456 --json"
|
|
2757
3162
|
],
|
|
2758
3163
|
"flags": {
|
|
2759
3164
|
"json": {
|
|
@@ -2772,7 +3177,7 @@
|
|
|
2772
3177
|
},
|
|
2773
3178
|
"hasDynamicHelp": false,
|
|
2774
3179
|
"hiddenAliases": [],
|
|
2775
|
-
"id": "
|
|
3180
|
+
"id": "labels:add",
|
|
2776
3181
|
"pluginAlias": "@sendly/cli",
|
|
2777
3182
|
"pluginName": "@sendly/cli",
|
|
2778
3183
|
"pluginType": "core",
|
|
@@ -2781,8 +3186,8 @@
|
|
|
2781
3186
|
"relativePath": [
|
|
2782
3187
|
"dist",
|
|
2783
3188
|
"commands",
|
|
2784
|
-
"
|
|
2785
|
-
"
|
|
3189
|
+
"labels",
|
|
3190
|
+
"add.js"
|
|
2786
3191
|
]
|
|
2787
3192
|
},
|
|
2788
3193
|
"labels:create": {
|
|
@@ -2967,6 +3372,55 @@
|
|
|
2967
3372
|
"list.js"
|
|
2968
3373
|
]
|
|
2969
3374
|
},
|
|
3375
|
+
"labels:remove": {
|
|
3376
|
+
"aliases": [],
|
|
3377
|
+
"args": {
|
|
3378
|
+
"conversationId": {
|
|
3379
|
+
"description": "Conversation ID",
|
|
3380
|
+
"name": "conversationId",
|
|
3381
|
+
"required": true
|
|
3382
|
+
},
|
|
3383
|
+
"labelId": {
|
|
3384
|
+
"description": "Label ID",
|
|
3385
|
+
"name": "labelId",
|
|
3386
|
+
"required": true
|
|
3387
|
+
}
|
|
3388
|
+
},
|
|
3389
|
+
"description": "Remove a label from a conversation",
|
|
3390
|
+
"examples": [
|
|
3391
|
+
"<%= config.bin %> labels remove conv_abc123 lbl_def456",
|
|
3392
|
+
"<%= config.bin %> labels remove conv_abc123 lbl_def456 --json"
|
|
3393
|
+
],
|
|
3394
|
+
"flags": {
|
|
3395
|
+
"json": {
|
|
3396
|
+
"description": "Output in JSON format",
|
|
3397
|
+
"name": "json",
|
|
3398
|
+
"allowNo": false,
|
|
3399
|
+
"type": "boolean"
|
|
3400
|
+
},
|
|
3401
|
+
"quiet": {
|
|
3402
|
+
"char": "q",
|
|
3403
|
+
"description": "Minimal output",
|
|
3404
|
+
"name": "quiet",
|
|
3405
|
+
"allowNo": false,
|
|
3406
|
+
"type": "boolean"
|
|
3407
|
+
}
|
|
3408
|
+
},
|
|
3409
|
+
"hasDynamicHelp": false,
|
|
3410
|
+
"hiddenAliases": [],
|
|
3411
|
+
"id": "labels:remove",
|
|
3412
|
+
"pluginAlias": "@sendly/cli",
|
|
3413
|
+
"pluginName": "@sendly/cli",
|
|
3414
|
+
"pluginType": "core",
|
|
3415
|
+
"strict": true,
|
|
3416
|
+
"isESM": true,
|
|
3417
|
+
"relativePath": [
|
|
3418
|
+
"dist",
|
|
3419
|
+
"commands",
|
|
3420
|
+
"labels",
|
|
3421
|
+
"remove.js"
|
|
3422
|
+
]
|
|
3423
|
+
},
|
|
2970
3424
|
"logs:tail": {
|
|
2971
3425
|
"aliases": [],
|
|
2972
3426
|
"args": {},
|
|
@@ -3030,6 +3484,169 @@
|
|
|
3030
3484
|
"tail.js"
|
|
3031
3485
|
]
|
|
3032
3486
|
},
|
|
3487
|
+
"rules:create": {
|
|
3488
|
+
"aliases": [],
|
|
3489
|
+
"args": {},
|
|
3490
|
+
"description": "Create an auto-labeling rule",
|
|
3491
|
+
"examples": [
|
|
3492
|
+
"<%= config.bin %> rules create --name \"Flag complaints\" --intent complaint --label label_abc",
|
|
3493
|
+
"<%= config.bin %> rules create --name \"Close opt-outs\" --intent opt_out --close",
|
|
3494
|
+
"<%= config.bin %> rules create --name \"Negative\" --sentiment negative --label label_xyz --priority 1"
|
|
3495
|
+
],
|
|
3496
|
+
"flags": {
|
|
3497
|
+
"json": {
|
|
3498
|
+
"description": "Output in JSON format",
|
|
3499
|
+
"name": "json",
|
|
3500
|
+
"allowNo": false,
|
|
3501
|
+
"type": "boolean"
|
|
3502
|
+
},
|
|
3503
|
+
"quiet": {
|
|
3504
|
+
"char": "q",
|
|
3505
|
+
"description": "Minimal output",
|
|
3506
|
+
"name": "quiet",
|
|
3507
|
+
"allowNo": false,
|
|
3508
|
+
"type": "boolean"
|
|
3509
|
+
},
|
|
3510
|
+
"name": {
|
|
3511
|
+
"description": "Rule name",
|
|
3512
|
+
"name": "name",
|
|
3513
|
+
"required": true,
|
|
3514
|
+
"hasDynamicHelp": false,
|
|
3515
|
+
"multiple": false,
|
|
3516
|
+
"type": "option"
|
|
3517
|
+
},
|
|
3518
|
+
"intent": {
|
|
3519
|
+
"description": "Match intent (question, appointment, complaint, order_status, feedback, opt_out, greeting, confirmation, other)",
|
|
3520
|
+
"name": "intent",
|
|
3521
|
+
"hasDynamicHelp": false,
|
|
3522
|
+
"multiple": true,
|
|
3523
|
+
"type": "option"
|
|
3524
|
+
},
|
|
3525
|
+
"sentiment": {
|
|
3526
|
+
"description": "Match sentiment (positive, neutral, negative)",
|
|
3527
|
+
"name": "sentiment",
|
|
3528
|
+
"hasDynamicHelp": false,
|
|
3529
|
+
"multiple": true,
|
|
3530
|
+
"type": "option"
|
|
3531
|
+
},
|
|
3532
|
+
"label": {
|
|
3533
|
+
"description": "Label ID to apply when rule matches",
|
|
3534
|
+
"name": "label",
|
|
3535
|
+
"hasDynamicHelp": false,
|
|
3536
|
+
"multiple": true,
|
|
3537
|
+
"type": "option"
|
|
3538
|
+
},
|
|
3539
|
+
"close": {
|
|
3540
|
+
"description": "Close the conversation when rule matches",
|
|
3541
|
+
"name": "close",
|
|
3542
|
+
"allowNo": false,
|
|
3543
|
+
"type": "boolean"
|
|
3544
|
+
},
|
|
3545
|
+
"priority": {
|
|
3546
|
+
"description": "Priority (lower runs first)",
|
|
3547
|
+
"name": "priority",
|
|
3548
|
+
"default": 0,
|
|
3549
|
+
"hasDynamicHelp": false,
|
|
3550
|
+
"multiple": false,
|
|
3551
|
+
"type": "option"
|
|
3552
|
+
}
|
|
3553
|
+
},
|
|
3554
|
+
"hasDynamicHelp": false,
|
|
3555
|
+
"hiddenAliases": [],
|
|
3556
|
+
"id": "rules:create",
|
|
3557
|
+
"pluginAlias": "@sendly/cli",
|
|
3558
|
+
"pluginName": "@sendly/cli",
|
|
3559
|
+
"pluginType": "core",
|
|
3560
|
+
"strict": true,
|
|
3561
|
+
"isESM": true,
|
|
3562
|
+
"relativePath": [
|
|
3563
|
+
"dist",
|
|
3564
|
+
"commands",
|
|
3565
|
+
"rules",
|
|
3566
|
+
"create.js"
|
|
3567
|
+
]
|
|
3568
|
+
},
|
|
3569
|
+
"rules:delete": {
|
|
3570
|
+
"aliases": [],
|
|
3571
|
+
"args": {
|
|
3572
|
+
"id": {
|
|
3573
|
+
"description": "Rule ID",
|
|
3574
|
+
"name": "id",
|
|
3575
|
+
"required": true
|
|
3576
|
+
}
|
|
3577
|
+
},
|
|
3578
|
+
"description": "Delete an auto-labeling rule",
|
|
3579
|
+
"examples": [
|
|
3580
|
+
"<%= config.bin %> rules delete rule_abc123"
|
|
3581
|
+
],
|
|
3582
|
+
"flags": {
|
|
3583
|
+
"json": {
|
|
3584
|
+
"description": "Output in JSON format",
|
|
3585
|
+
"name": "json",
|
|
3586
|
+
"allowNo": false,
|
|
3587
|
+
"type": "boolean"
|
|
3588
|
+
},
|
|
3589
|
+
"quiet": {
|
|
3590
|
+
"char": "q",
|
|
3591
|
+
"description": "Minimal output",
|
|
3592
|
+
"name": "quiet",
|
|
3593
|
+
"allowNo": false,
|
|
3594
|
+
"type": "boolean"
|
|
3595
|
+
}
|
|
3596
|
+
},
|
|
3597
|
+
"hasDynamicHelp": false,
|
|
3598
|
+
"hiddenAliases": [],
|
|
3599
|
+
"id": "rules:delete",
|
|
3600
|
+
"pluginAlias": "@sendly/cli",
|
|
3601
|
+
"pluginName": "@sendly/cli",
|
|
3602
|
+
"pluginType": "core",
|
|
3603
|
+
"strict": true,
|
|
3604
|
+
"isESM": true,
|
|
3605
|
+
"relativePath": [
|
|
3606
|
+
"dist",
|
|
3607
|
+
"commands",
|
|
3608
|
+
"rules",
|
|
3609
|
+
"delete.js"
|
|
3610
|
+
]
|
|
3611
|
+
},
|
|
3612
|
+
"rules": {
|
|
3613
|
+
"aliases": [],
|
|
3614
|
+
"args": {},
|
|
3615
|
+
"description": "List auto-labeling rules",
|
|
3616
|
+
"examples": [
|
|
3617
|
+
"<%= config.bin %> rules",
|
|
3618
|
+
"<%= config.bin %> rules --json"
|
|
3619
|
+
],
|
|
3620
|
+
"flags": {
|
|
3621
|
+
"json": {
|
|
3622
|
+
"description": "Output in JSON format",
|
|
3623
|
+
"name": "json",
|
|
3624
|
+
"allowNo": false,
|
|
3625
|
+
"type": "boolean"
|
|
3626
|
+
},
|
|
3627
|
+
"quiet": {
|
|
3628
|
+
"char": "q",
|
|
3629
|
+
"description": "Minimal output",
|
|
3630
|
+
"name": "quiet",
|
|
3631
|
+
"allowNo": false,
|
|
3632
|
+
"type": "boolean"
|
|
3633
|
+
}
|
|
3634
|
+
},
|
|
3635
|
+
"hasDynamicHelp": false,
|
|
3636
|
+
"hiddenAliases": [],
|
|
3637
|
+
"id": "rules",
|
|
3638
|
+
"pluginAlias": "@sendly/cli",
|
|
3639
|
+
"pluginName": "@sendly/cli",
|
|
3640
|
+
"pluginType": "core",
|
|
3641
|
+
"strict": true,
|
|
3642
|
+
"isESM": true,
|
|
3643
|
+
"relativePath": [
|
|
3644
|
+
"dist",
|
|
3645
|
+
"commands",
|
|
3646
|
+
"rules",
|
|
3647
|
+
"index.js"
|
|
3648
|
+
]
|
|
3649
|
+
},
|
|
3033
3650
|
"sms:batch": {
|
|
3034
3651
|
"aliases": [],
|
|
3035
3652
|
"args": {},
|
|
@@ -3328,12 +3945,13 @@
|
|
|
3328
3945
|
"sms:schedule": {
|
|
3329
3946
|
"aliases": [],
|
|
3330
3947
|
"args": {},
|
|
3331
|
-
"description": "Schedule an SMS message for future delivery",
|
|
3948
|
+
"description": "Schedule an SMS message for future delivery. Supports natural language dates like 'tomorrow at 9am' or 'in 2 hours'.",
|
|
3332
3949
|
"examples": [
|
|
3333
|
-
"<%= config.bin %> sms schedule --to +15551234567 --text \"Reminder!\" --at \"
|
|
3334
|
-
"<%= config.bin %> sms schedule --to +15551234567 --text \"Meeting
|
|
3335
|
-
"<%= config.bin %> sms schedule --to +15551234567 --text \"
|
|
3336
|
-
"<%= config.bin %> sms schedule --to +15551234567 --text \"
|
|
3950
|
+
"<%= config.bin %> sms schedule --to +15551234567 --text \"Reminder!\" --at \"tomorrow at 9am\"",
|
|
3951
|
+
"<%= config.bin %> sms schedule --to +15551234567 --text \"Meeting soon\" --at \"in 2 hours\"",
|
|
3952
|
+
"<%= config.bin %> sms schedule --to +15551234567 --text \"Hello!\" --at \"next Monday 3pm\"",
|
|
3953
|
+
"<%= config.bin %> sms schedule --to +15551234567 --text \"Sale!\" --at \"2026-04-01T10:00:00Z\"",
|
|
3954
|
+
"<%= config.bin %> sms schedule --to +15551234567 --text \"Code: 123\" --at \"friday 5pm\" --type transactional"
|
|
3337
3955
|
],
|
|
3338
3956
|
"flags": {
|
|
3339
3957
|
"json": {
|
|
@@ -3353,7 +3971,6 @@
|
|
|
3353
3971
|
"char": "t",
|
|
3354
3972
|
"description": "Recipient phone number (E.164 format)",
|
|
3355
3973
|
"name": "to",
|
|
3356
|
-
"required": true,
|
|
3357
3974
|
"hasDynamicHelp": false,
|
|
3358
3975
|
"multiple": false,
|
|
3359
3976
|
"type": "option"
|
|
@@ -3362,16 +3979,14 @@
|
|
|
3362
3979
|
"char": "m",
|
|
3363
3980
|
"description": "Message text",
|
|
3364
3981
|
"name": "text",
|
|
3365
|
-
"required": true,
|
|
3366
3982
|
"hasDynamicHelp": false,
|
|
3367
3983
|
"multiple": false,
|
|
3368
3984
|
"type": "option"
|
|
3369
3985
|
},
|
|
3370
3986
|
"at": {
|
|
3371
3987
|
"char": "a",
|
|
3372
|
-
"description": "Scheduled time
|
|
3988
|
+
"description": "Scheduled time — ISO 8601 or natural language (\"tomorrow at 9am\", \"in 2 hours\", \"next Monday 3pm\")",
|
|
3373
3989
|
"name": "at",
|
|
3374
|
-
"required": true,
|
|
3375
3990
|
"hasDynamicHelp": false,
|
|
3376
3991
|
"multiple": false,
|
|
3377
3992
|
"type": "option"
|
|
@@ -3399,7 +4014,64 @@
|
|
|
3399
4014
|
},
|
|
3400
4015
|
"hasDynamicHelp": false,
|
|
3401
4016
|
"hiddenAliases": [],
|
|
3402
|
-
"id": "sms:schedule",
|
|
4017
|
+
"id": "sms:schedule",
|
|
4018
|
+
"pluginAlias": "@sendly/cli",
|
|
4019
|
+
"pluginName": "@sendly/cli",
|
|
4020
|
+
"pluginType": "core",
|
|
4021
|
+
"strict": true,
|
|
4022
|
+
"isESM": true,
|
|
4023
|
+
"relativePath": [
|
|
4024
|
+
"dist",
|
|
4025
|
+
"commands",
|
|
4026
|
+
"sms",
|
|
4027
|
+
"schedule.js"
|
|
4028
|
+
]
|
|
4029
|
+
},
|
|
4030
|
+
"sms:scheduled": {
|
|
4031
|
+
"aliases": [],
|
|
4032
|
+
"args": {},
|
|
4033
|
+
"description": "List scheduled messages",
|
|
4034
|
+
"examples": [
|
|
4035
|
+
"<%= config.bin %> sms scheduled",
|
|
4036
|
+
"<%= config.bin %> sms scheduled --limit 10",
|
|
4037
|
+
"<%= config.bin %> sms scheduled --status scheduled",
|
|
4038
|
+
"<%= config.bin %> sms scheduled --json"
|
|
4039
|
+
],
|
|
4040
|
+
"flags": {
|
|
4041
|
+
"json": {
|
|
4042
|
+
"description": "Output in JSON format",
|
|
4043
|
+
"name": "json",
|
|
4044
|
+
"allowNo": false,
|
|
4045
|
+
"type": "boolean"
|
|
4046
|
+
},
|
|
4047
|
+
"quiet": {
|
|
4048
|
+
"char": "q",
|
|
4049
|
+
"description": "Minimal output",
|
|
4050
|
+
"name": "quiet",
|
|
4051
|
+
"allowNo": false,
|
|
4052
|
+
"type": "boolean"
|
|
4053
|
+
},
|
|
4054
|
+
"limit": {
|
|
4055
|
+
"char": "l",
|
|
4056
|
+
"description": "Number of messages to show",
|
|
4057
|
+
"name": "limit",
|
|
4058
|
+
"default": 20,
|
|
4059
|
+
"hasDynamicHelp": false,
|
|
4060
|
+
"multiple": false,
|
|
4061
|
+
"type": "option"
|
|
4062
|
+
},
|
|
4063
|
+
"status": {
|
|
4064
|
+
"char": "s",
|
|
4065
|
+
"description": "Filter by status (scheduled, sent, cancelled, failed)",
|
|
4066
|
+
"name": "status",
|
|
4067
|
+
"hasDynamicHelp": false,
|
|
4068
|
+
"multiple": false,
|
|
4069
|
+
"type": "option"
|
|
4070
|
+
}
|
|
4071
|
+
},
|
|
4072
|
+
"hasDynamicHelp": false,
|
|
4073
|
+
"hiddenAliases": [],
|
|
4074
|
+
"id": "sms:scheduled",
|
|
3403
4075
|
"pluginAlias": "@sendly/cli",
|
|
3404
4076
|
"pluginName": "@sendly/cli",
|
|
3405
4077
|
"pluginType": "core",
|
|
@@ -3409,18 +4081,23 @@
|
|
|
3409
4081
|
"dist",
|
|
3410
4082
|
"commands",
|
|
3411
4083
|
"sms",
|
|
3412
|
-
"
|
|
4084
|
+
"scheduled.js"
|
|
3413
4085
|
]
|
|
3414
4086
|
},
|
|
3415
|
-
"sms:
|
|
4087
|
+
"sms:search": {
|
|
3416
4088
|
"aliases": [],
|
|
3417
|
-
"args": {
|
|
3418
|
-
|
|
4089
|
+
"args": {
|
|
4090
|
+
"query": {
|
|
4091
|
+
"description": "Search query",
|
|
4092
|
+
"name": "query",
|
|
4093
|
+
"required": true
|
|
4094
|
+
}
|
|
4095
|
+
},
|
|
4096
|
+
"description": "Search messages by text content",
|
|
3419
4097
|
"examples": [
|
|
3420
|
-
"<%= config.bin %> sms
|
|
3421
|
-
"<%= config.bin %> sms
|
|
3422
|
-
"<%= config.bin %> sms
|
|
3423
|
-
"<%= config.bin %> sms scheduled --json"
|
|
4098
|
+
"<%= config.bin %> sms search \"verification code\"",
|
|
4099
|
+
"<%= config.bin %> sms search \"hello\" --limit 10",
|
|
4100
|
+
"<%= config.bin %> sms search \"order\" --json"
|
|
3424
4101
|
],
|
|
3425
4102
|
"flags": {
|
|
3426
4103
|
"json": {
|
|
@@ -3438,17 +4115,24 @@
|
|
|
3438
4115
|
},
|
|
3439
4116
|
"limit": {
|
|
3440
4117
|
"char": "l",
|
|
3441
|
-
"description": "Number of
|
|
4118
|
+
"description": "Number of results per page",
|
|
3442
4119
|
"name": "limit",
|
|
3443
4120
|
"default": 20,
|
|
3444
4121
|
"hasDynamicHelp": false,
|
|
3445
4122
|
"multiple": false,
|
|
3446
4123
|
"type": "option"
|
|
3447
4124
|
},
|
|
3448
|
-
"
|
|
3449
|
-
"char": "
|
|
3450
|
-
"description": "
|
|
3451
|
-
"name": "
|
|
4125
|
+
"page": {
|
|
4126
|
+
"char": "p",
|
|
4127
|
+
"description": "Page number (starts at 1)",
|
|
4128
|
+
"name": "page",
|
|
4129
|
+
"hasDynamicHelp": false,
|
|
4130
|
+
"multiple": false,
|
|
4131
|
+
"type": "option"
|
|
4132
|
+
},
|
|
4133
|
+
"offset": {
|
|
4134
|
+
"description": "Offset from start (alternative to --page)",
|
|
4135
|
+
"name": "offset",
|
|
3452
4136
|
"hasDynamicHelp": false,
|
|
3453
4137
|
"multiple": false,
|
|
3454
4138
|
"type": "option"
|
|
@@ -3456,7 +4140,7 @@
|
|
|
3456
4140
|
},
|
|
3457
4141
|
"hasDynamicHelp": false,
|
|
3458
4142
|
"hiddenAliases": [],
|
|
3459
|
-
"id": "sms:
|
|
4143
|
+
"id": "sms:search",
|
|
3460
4144
|
"pluginAlias": "@sendly/cli",
|
|
3461
4145
|
"pluginName": "@sendly/cli",
|
|
3462
4146
|
"pluginType": "core",
|
|
@@ -3466,7 +4150,7 @@
|
|
|
3466
4150
|
"dist",
|
|
3467
4151
|
"commands",
|
|
3468
4152
|
"sms",
|
|
3469
|
-
"
|
|
4153
|
+
"search.js"
|
|
3470
4154
|
]
|
|
3471
4155
|
},
|
|
3472
4156
|
"sms:send": {
|
|
@@ -3500,7 +4184,6 @@
|
|
|
3500
4184
|
"char": "t",
|
|
3501
4185
|
"description": "Recipient phone number (E.164 format)",
|
|
3502
4186
|
"name": "to",
|
|
3503
|
-
"required": true,
|
|
3504
4187
|
"hasDynamicHelp": false,
|
|
3505
4188
|
"multiple": false,
|
|
3506
4189
|
"type": "option"
|
|
@@ -4151,6 +4834,67 @@
|
|
|
4151
4834
|
"publish.js"
|
|
4152
4835
|
]
|
|
4153
4836
|
},
|
|
4837
|
+
"templates:update": {
|
|
4838
|
+
"aliases": [],
|
|
4839
|
+
"args": {
|
|
4840
|
+
"id": {
|
|
4841
|
+
"description": "Template ID",
|
|
4842
|
+
"name": "id",
|
|
4843
|
+
"required": true
|
|
4844
|
+
}
|
|
4845
|
+
},
|
|
4846
|
+
"description": "Update an SMS template",
|
|
4847
|
+
"examples": [
|
|
4848
|
+
"<%= config.bin %> templates update tmpl_abc123 --name \"Updated OTP\"",
|
|
4849
|
+
"<%= config.bin %> templates update tmpl_abc123 --text \"Your new code is {{code}}\"",
|
|
4850
|
+
"<%= config.bin %> templates update tmpl_abc123 --name \"Login V2\" --text \"{{code}} is your code\""
|
|
4851
|
+
],
|
|
4852
|
+
"flags": {
|
|
4853
|
+
"json": {
|
|
4854
|
+
"description": "Output in JSON format",
|
|
4855
|
+
"name": "json",
|
|
4856
|
+
"allowNo": false,
|
|
4857
|
+
"type": "boolean"
|
|
4858
|
+
},
|
|
4859
|
+
"quiet": {
|
|
4860
|
+
"char": "q",
|
|
4861
|
+
"description": "Minimal output",
|
|
4862
|
+
"name": "quiet",
|
|
4863
|
+
"allowNo": false,
|
|
4864
|
+
"type": "boolean"
|
|
4865
|
+
},
|
|
4866
|
+
"name": {
|
|
4867
|
+
"char": "n",
|
|
4868
|
+
"description": "Template name",
|
|
4869
|
+
"name": "name",
|
|
4870
|
+
"hasDynamicHelp": false,
|
|
4871
|
+
"multiple": false,
|
|
4872
|
+
"type": "option"
|
|
4873
|
+
},
|
|
4874
|
+
"text": {
|
|
4875
|
+
"char": "t",
|
|
4876
|
+
"description": "Message text (use {{code}} and {{app_name}} variables)",
|
|
4877
|
+
"name": "text",
|
|
4878
|
+
"hasDynamicHelp": false,
|
|
4879
|
+
"multiple": false,
|
|
4880
|
+
"type": "option"
|
|
4881
|
+
}
|
|
4882
|
+
},
|
|
4883
|
+
"hasDynamicHelp": false,
|
|
4884
|
+
"hiddenAliases": [],
|
|
4885
|
+
"id": "templates:update",
|
|
4886
|
+
"pluginAlias": "@sendly/cli",
|
|
4887
|
+
"pluginName": "@sendly/cli",
|
|
4888
|
+
"pluginType": "core",
|
|
4889
|
+
"strict": true,
|
|
4890
|
+
"isESM": true,
|
|
4891
|
+
"relativePath": [
|
|
4892
|
+
"dist",
|
|
4893
|
+
"commands",
|
|
4894
|
+
"templates",
|
|
4895
|
+
"update.js"
|
|
4896
|
+
]
|
|
4897
|
+
},
|
|
4154
4898
|
"verify:check": {
|
|
4155
4899
|
"aliases": [],
|
|
4156
4900
|
"args": {
|
|
@@ -5512,7 +6256,7 @@
|
|
|
5512
6256
|
"overview.js"
|
|
5513
6257
|
]
|
|
5514
6258
|
},
|
|
5515
|
-
"enterprise:
|
|
6259
|
+
"enterprise:keys:create": {
|
|
5516
6260
|
"aliases": [],
|
|
5517
6261
|
"args": {
|
|
5518
6262
|
"workspaceId": {
|
|
@@ -5521,10 +6265,10 @@
|
|
|
5521
6265
|
"required": true
|
|
5522
6266
|
}
|
|
5523
6267
|
},
|
|
5524
|
-
"description": "
|
|
6268
|
+
"description": "Create an API key for an enterprise workspace",
|
|
5525
6269
|
"examples": [
|
|
5526
|
-
"<%= config.bin %> enterprise
|
|
5527
|
-
"<%= config.bin %> enterprise
|
|
6270
|
+
"<%= config.bin %> enterprise keys create org_abc123 --name \"Production\"",
|
|
6271
|
+
"<%= config.bin %> enterprise keys create org_abc123 --name \"CI\" --type test"
|
|
5528
6272
|
],
|
|
5529
6273
|
"flags": {
|
|
5530
6274
|
"json": {
|
|
@@ -5539,11 +6283,33 @@
|
|
|
5539
6283
|
"name": "quiet",
|
|
5540
6284
|
"allowNo": false,
|
|
5541
6285
|
"type": "boolean"
|
|
6286
|
+
},
|
|
6287
|
+
"name": {
|
|
6288
|
+
"char": "n",
|
|
6289
|
+
"description": "Name for the API key",
|
|
6290
|
+
"name": "name",
|
|
6291
|
+
"required": true,
|
|
6292
|
+
"hasDynamicHelp": false,
|
|
6293
|
+
"multiple": false,
|
|
6294
|
+
"type": "option"
|
|
6295
|
+
},
|
|
6296
|
+
"type": {
|
|
6297
|
+
"char": "t",
|
|
6298
|
+
"description": "Key type (test or live)",
|
|
6299
|
+
"name": "type",
|
|
6300
|
+
"default": "live",
|
|
6301
|
+
"hasDynamicHelp": false,
|
|
6302
|
+
"multiple": false,
|
|
6303
|
+
"options": [
|
|
6304
|
+
"test",
|
|
6305
|
+
"live"
|
|
6306
|
+
],
|
|
6307
|
+
"type": "option"
|
|
5542
6308
|
}
|
|
5543
6309
|
},
|
|
5544
6310
|
"hasDynamicHelp": false,
|
|
5545
6311
|
"hiddenAliases": [],
|
|
5546
|
-
"id": "enterprise:
|
|
6312
|
+
"id": "enterprise:keys:create",
|
|
5547
6313
|
"pluginAlias": "@sendly/cli",
|
|
5548
6314
|
"pluginName": "@sendly/cli",
|
|
5549
6315
|
"pluginType": "core",
|
|
@@ -5553,11 +6319,11 @@
|
|
|
5553
6319
|
"dist",
|
|
5554
6320
|
"commands",
|
|
5555
6321
|
"enterprise",
|
|
5556
|
-
"
|
|
5557
|
-
"
|
|
6322
|
+
"keys",
|
|
6323
|
+
"create.js"
|
|
5558
6324
|
]
|
|
5559
6325
|
},
|
|
5560
|
-
"enterprise:
|
|
6326
|
+
"enterprise:keys:list": {
|
|
5561
6327
|
"aliases": [],
|
|
5562
6328
|
"args": {
|
|
5563
6329
|
"workspaceId": {
|
|
@@ -5566,12 +6332,10 @@
|
|
|
5566
6332
|
"required": true
|
|
5567
6333
|
}
|
|
5568
6334
|
},
|
|
5569
|
-
"description": "
|
|
6335
|
+
"description": "List API keys for an enterprise workspace",
|
|
5570
6336
|
"examples": [
|
|
5571
|
-
"<%= config.bin %> enterprise
|
|
5572
|
-
"<%= config.bin %> enterprise
|
|
5573
|
-
"<%= config.bin %> enterprise quota set org_abc123 --daily 1000 --monthly 25000",
|
|
5574
|
-
"<%= config.bin %> enterprise quota set org_abc123 --daily unlimited"
|
|
6337
|
+
"<%= config.bin %> enterprise keys list org_abc123",
|
|
6338
|
+
"<%= config.bin %> enterprise keys list org_abc123 --json"
|
|
5575
6339
|
],
|
|
5576
6340
|
"flags": {
|
|
5577
6341
|
"json": {
|
|
@@ -5586,25 +6350,11 @@
|
|
|
5586
6350
|
"name": "quiet",
|
|
5587
6351
|
"allowNo": false,
|
|
5588
6352
|
"type": "boolean"
|
|
5589
|
-
},
|
|
5590
|
-
"daily": {
|
|
5591
|
-
"description": "Daily message limit (number or \"unlimited\")",
|
|
5592
|
-
"name": "daily",
|
|
5593
|
-
"hasDynamicHelp": false,
|
|
5594
|
-
"multiple": false,
|
|
5595
|
-
"type": "option"
|
|
5596
|
-
},
|
|
5597
|
-
"monthly": {
|
|
5598
|
-
"description": "Monthly message limit (number or \"unlimited\")",
|
|
5599
|
-
"name": "monthly",
|
|
5600
|
-
"hasDynamicHelp": false,
|
|
5601
|
-
"multiple": false,
|
|
5602
|
-
"type": "option"
|
|
5603
6353
|
}
|
|
5604
6354
|
},
|
|
5605
6355
|
"hasDynamicHelp": false,
|
|
5606
6356
|
"hiddenAliases": [],
|
|
5607
|
-
"id": "enterprise:
|
|
6357
|
+
"id": "enterprise:keys:list",
|
|
5608
6358
|
"pluginAlias": "@sendly/cli",
|
|
5609
6359
|
"pluginName": "@sendly/cli",
|
|
5610
6360
|
"pluginType": "core",
|
|
@@ -5614,23 +6364,28 @@
|
|
|
5614
6364
|
"dist",
|
|
5615
6365
|
"commands",
|
|
5616
6366
|
"enterprise",
|
|
5617
|
-
"
|
|
5618
|
-
"
|
|
6367
|
+
"keys",
|
|
6368
|
+
"list.js"
|
|
5619
6369
|
]
|
|
5620
6370
|
},
|
|
5621
|
-
"enterprise:keys:
|
|
6371
|
+
"enterprise:keys:revoke": {
|
|
5622
6372
|
"aliases": [],
|
|
5623
6373
|
"args": {
|
|
5624
6374
|
"workspaceId": {
|
|
5625
6375
|
"description": "Workspace ID",
|
|
5626
6376
|
"name": "workspaceId",
|
|
5627
6377
|
"required": true
|
|
6378
|
+
},
|
|
6379
|
+
"keyId": {
|
|
6380
|
+
"description": "API key ID to revoke",
|
|
6381
|
+
"name": "keyId",
|
|
6382
|
+
"required": true
|
|
5628
6383
|
}
|
|
5629
6384
|
},
|
|
5630
|
-
"description": "
|
|
6385
|
+
"description": "Revoke an API key for an enterprise workspace",
|
|
5631
6386
|
"examples": [
|
|
5632
|
-
"<%= config.bin %> enterprise keys
|
|
5633
|
-
"<%= config.bin %> enterprise keys
|
|
6387
|
+
"<%= config.bin %> enterprise keys revoke org_abc123 key_xyz",
|
|
6388
|
+
"<%= config.bin %> enterprise keys revoke org_abc123 key_xyz --yes"
|
|
5634
6389
|
],
|
|
5635
6390
|
"flags": {
|
|
5636
6391
|
"json": {
|
|
@@ -5646,32 +6401,17 @@
|
|
|
5646
6401
|
"allowNo": false,
|
|
5647
6402
|
"type": "boolean"
|
|
5648
6403
|
},
|
|
5649
|
-
"
|
|
5650
|
-
"char": "
|
|
5651
|
-
"description": "
|
|
5652
|
-
"name": "
|
|
5653
|
-
"
|
|
5654
|
-
"
|
|
5655
|
-
"multiple": false,
|
|
5656
|
-
"type": "option"
|
|
5657
|
-
},
|
|
5658
|
-
"type": {
|
|
5659
|
-
"char": "t",
|
|
5660
|
-
"description": "Key type (test or live)",
|
|
5661
|
-
"name": "type",
|
|
5662
|
-
"default": "live",
|
|
5663
|
-
"hasDynamicHelp": false,
|
|
5664
|
-
"multiple": false,
|
|
5665
|
-
"options": [
|
|
5666
|
-
"test",
|
|
5667
|
-
"live"
|
|
5668
|
-
],
|
|
5669
|
-
"type": "option"
|
|
6404
|
+
"yes": {
|
|
6405
|
+
"char": "y",
|
|
6406
|
+
"description": "Skip confirmation prompt",
|
|
6407
|
+
"name": "yes",
|
|
6408
|
+
"allowNo": false,
|
|
6409
|
+
"type": "boolean"
|
|
5670
6410
|
}
|
|
5671
6411
|
},
|
|
5672
6412
|
"hasDynamicHelp": false,
|
|
5673
6413
|
"hiddenAliases": [],
|
|
5674
|
-
"id": "enterprise:keys:
|
|
6414
|
+
"id": "enterprise:keys:revoke",
|
|
5675
6415
|
"pluginAlias": "@sendly/cli",
|
|
5676
6416
|
"pluginName": "@sendly/cli",
|
|
5677
6417
|
"pluginType": "core",
|
|
@@ -5682,10 +6422,10 @@
|
|
|
5682
6422
|
"commands",
|
|
5683
6423
|
"enterprise",
|
|
5684
6424
|
"keys",
|
|
5685
|
-
"
|
|
6425
|
+
"revoke.js"
|
|
5686
6426
|
]
|
|
5687
6427
|
},
|
|
5688
|
-
"enterprise:
|
|
6428
|
+
"enterprise:quota:get": {
|
|
5689
6429
|
"aliases": [],
|
|
5690
6430
|
"args": {
|
|
5691
6431
|
"workspaceId": {
|
|
@@ -5694,10 +6434,10 @@
|
|
|
5694
6434
|
"required": true
|
|
5695
6435
|
}
|
|
5696
6436
|
},
|
|
5697
|
-
"description": "
|
|
6437
|
+
"description": "Get message quota for an enterprise workspace",
|
|
5698
6438
|
"examples": [
|
|
5699
|
-
"<%= config.bin %> enterprise
|
|
5700
|
-
"<%= config.bin %> enterprise
|
|
6439
|
+
"<%= config.bin %> enterprise quota get org_abc123",
|
|
6440
|
+
"<%= config.bin %> enterprise quota get org_abc123 --json"
|
|
5701
6441
|
],
|
|
5702
6442
|
"flags": {
|
|
5703
6443
|
"json": {
|
|
@@ -5716,7 +6456,7 @@
|
|
|
5716
6456
|
},
|
|
5717
6457
|
"hasDynamicHelp": false,
|
|
5718
6458
|
"hiddenAliases": [],
|
|
5719
|
-
"id": "enterprise:
|
|
6459
|
+
"id": "enterprise:quota:get",
|
|
5720
6460
|
"pluginAlias": "@sendly/cli",
|
|
5721
6461
|
"pluginName": "@sendly/cli",
|
|
5722
6462
|
"pluginType": "core",
|
|
@@ -5726,28 +6466,25 @@
|
|
|
5726
6466
|
"dist",
|
|
5727
6467
|
"commands",
|
|
5728
6468
|
"enterprise",
|
|
5729
|
-
"
|
|
5730
|
-
"
|
|
6469
|
+
"quota",
|
|
6470
|
+
"get.js"
|
|
5731
6471
|
]
|
|
5732
6472
|
},
|
|
5733
|
-
"enterprise:
|
|
6473
|
+
"enterprise:quota:set": {
|
|
5734
6474
|
"aliases": [],
|
|
5735
6475
|
"args": {
|
|
5736
6476
|
"workspaceId": {
|
|
5737
6477
|
"description": "Workspace ID",
|
|
5738
6478
|
"name": "workspaceId",
|
|
5739
6479
|
"required": true
|
|
5740
|
-
},
|
|
5741
|
-
"keyId": {
|
|
5742
|
-
"description": "API key ID to revoke",
|
|
5743
|
-
"name": "keyId",
|
|
5744
|
-
"required": true
|
|
5745
6480
|
}
|
|
5746
6481
|
},
|
|
5747
|
-
"description": "
|
|
6482
|
+
"description": "Set message quota for an enterprise workspace",
|
|
5748
6483
|
"examples": [
|
|
5749
|
-
"<%= config.bin %> enterprise
|
|
5750
|
-
"<%= config.bin %> enterprise
|
|
6484
|
+
"<%= config.bin %> enterprise quota set org_abc123 --daily 1000",
|
|
6485
|
+
"<%= config.bin %> enterprise quota set org_abc123 --monthly 25000",
|
|
6486
|
+
"<%= config.bin %> enterprise quota set org_abc123 --daily 1000 --monthly 25000",
|
|
6487
|
+
"<%= config.bin %> enterprise quota set org_abc123 --daily unlimited"
|
|
5751
6488
|
],
|
|
5752
6489
|
"flags": {
|
|
5753
6490
|
"json": {
|
|
@@ -5763,17 +6500,24 @@
|
|
|
5763
6500
|
"allowNo": false,
|
|
5764
6501
|
"type": "boolean"
|
|
5765
6502
|
},
|
|
5766
|
-
"
|
|
5767
|
-
"
|
|
5768
|
-
"
|
|
5769
|
-
"
|
|
5770
|
-
"
|
|
5771
|
-
"type": "
|
|
6503
|
+
"daily": {
|
|
6504
|
+
"description": "Daily message limit (number or \"unlimited\")",
|
|
6505
|
+
"name": "daily",
|
|
6506
|
+
"hasDynamicHelp": false,
|
|
6507
|
+
"multiple": false,
|
|
6508
|
+
"type": "option"
|
|
6509
|
+
},
|
|
6510
|
+
"monthly": {
|
|
6511
|
+
"description": "Monthly message limit (number or \"unlimited\")",
|
|
6512
|
+
"name": "monthly",
|
|
6513
|
+
"hasDynamicHelp": false,
|
|
6514
|
+
"multiple": false,
|
|
6515
|
+
"type": "option"
|
|
5772
6516
|
}
|
|
5773
6517
|
},
|
|
5774
6518
|
"hasDynamicHelp": false,
|
|
5775
6519
|
"hiddenAliases": [],
|
|
5776
|
-
"id": "enterprise:
|
|
6520
|
+
"id": "enterprise:quota:set",
|
|
5777
6521
|
"pluginAlias": "@sendly/cli",
|
|
5778
6522
|
"pluginName": "@sendly/cli",
|
|
5779
6523
|
"pluginType": "core",
|
|
@@ -5783,8 +6527,8 @@
|
|
|
5783
6527
|
"dist",
|
|
5784
6528
|
"commands",
|
|
5785
6529
|
"enterprise",
|
|
5786
|
-
"
|
|
5787
|
-
"
|
|
6530
|
+
"quota",
|
|
6531
|
+
"set.js"
|
|
5788
6532
|
]
|
|
5789
6533
|
},
|
|
5790
6534
|
"enterprise:webhooks:delete": {
|
|
@@ -6254,5 +6998,5 @@
|
|
|
6254
6998
|
]
|
|
6255
6999
|
}
|
|
6256
7000
|
},
|
|
6257
|
-
"version": "3.
|
|
7001
|
+
"version": "3.27.1"
|
|
6258
7002
|
}
|