@sendly/cli 3.24.0 → 3.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/campaigns/schedule.js +20 -10
- package/dist/commands/contacts/bulk-mark-valid.d.ts +12 -0
- package/dist/commands/contacts/bulk-mark-valid.js +46 -0
- package/dist/commands/contacts/check-numbers.d.ts +12 -0
- package/dist/commands/contacts/check-numbers.js +41 -0
- package/dist/commands/contacts/mark-valid.d.ts +13 -0
- package/dist/commands/contacts/mark-valid.js +32 -0
- 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/verify/list.d.ts +0 -2
- package/dist/commands/verify/list.js +8 -20
- package/dist/commands/verify/status.js +1 -1
- package/dist/commands/webhooks/listen.js +7 -3
- package/dist/lib/base-command.js +2 -2
- package/oclif.manifest.json +1542 -660
- 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,62 @@
|
|
|
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:bulk-mark-valid": {
|
|
1053
|
+
"aliases": [],
|
|
1054
|
+
"args": {},
|
|
1055
|
+
"description": "Clear the invalid flag on many contacts at once. Pass --ids (comma-separated, up to 10,000) OR --list <id>, not both. Escape hatch for when auto-mark misclassifies at scale.",
|
|
1056
|
+
"examples": [
|
|
1057
|
+
"<%= config.bin %> contacts bulk-mark-valid --ids cnt_abc,cnt_def,cnt_ghi",
|
|
1058
|
+
"<%= config.bin %> contacts bulk-mark-valid --list lst_xxx"
|
|
1059
|
+
],
|
|
1060
|
+
"flags": {
|
|
1061
|
+
"json": {
|
|
1062
|
+
"description": "Output in JSON format",
|
|
1063
|
+
"name": "json",
|
|
1064
|
+
"allowNo": false,
|
|
1065
|
+
"type": "boolean"
|
|
912
1066
|
},
|
|
913
|
-
"
|
|
914
|
-
"char": "
|
|
915
|
-
"description": "
|
|
916
|
-
"name": "
|
|
1067
|
+
"quiet": {
|
|
1068
|
+
"char": "q",
|
|
1069
|
+
"description": "Minimal output",
|
|
1070
|
+
"name": "quiet",
|
|
917
1071
|
"allowNo": false,
|
|
918
1072
|
"type": "boolean"
|
|
919
1073
|
},
|
|
920
|
-
"
|
|
921
|
-
"
|
|
922
|
-
"
|
|
923
|
-
|
|
924
|
-
|
|
1074
|
+
"ids": {
|
|
1075
|
+
"description": "Comma-separated contact IDs to clear (max 10,000 per call)",
|
|
1076
|
+
"exclusive": [
|
|
1077
|
+
"list"
|
|
1078
|
+
],
|
|
1079
|
+
"name": "ids",
|
|
1080
|
+
"hasDynamicHelp": false,
|
|
1081
|
+
"multiple": false,
|
|
1082
|
+
"type": "option"
|
|
1083
|
+
},
|
|
1084
|
+
"list": {
|
|
1085
|
+
"description": "Clear every flagged member of this list ID",
|
|
1086
|
+
"exclusive": [
|
|
1087
|
+
"ids"
|
|
1088
|
+
],
|
|
1089
|
+
"name": "list",
|
|
925
1090
|
"hasDynamicHelp": false,
|
|
926
1091
|
"multiple": false,
|
|
927
1092
|
"type": "option"
|
|
@@ -929,7 +1094,7 @@
|
|
|
929
1094
|
},
|
|
930
1095
|
"hasDynamicHelp": false,
|
|
931
1096
|
"hiddenAliases": [],
|
|
932
|
-
"id": "
|
|
1097
|
+
"id": "contacts:bulk-mark-valid",
|
|
933
1098
|
"pluginAlias": "@sendly/cli",
|
|
934
1099
|
"pluginName": "@sendly/cli",
|
|
935
1100
|
"pluginType": "core",
|
|
@@ -938,17 +1103,18 @@
|
|
|
938
1103
|
"relativePath": [
|
|
939
1104
|
"dist",
|
|
940
1105
|
"commands",
|
|
941
|
-
"
|
|
942
|
-
"
|
|
1106
|
+
"contacts",
|
|
1107
|
+
"bulk-mark-valid.js"
|
|
943
1108
|
]
|
|
944
1109
|
},
|
|
945
|
-
"
|
|
1110
|
+
"contacts:check-numbers": {
|
|
946
1111
|
"aliases": [],
|
|
947
1112
|
"args": {},
|
|
948
|
-
"description": "
|
|
1113
|
+
"description": "Trigger a background carrier lookup across your contacts. Landlines and other non-SMS-capable numbers are auto-excluded from future campaigns. Runs asynchronously — results populate line_type / carrier_name / invalid_reason on affected contacts within a few minutes.",
|
|
949
1114
|
"examples": [
|
|
950
|
-
"<%= config.bin %>
|
|
951
|
-
"<%= config.bin %>
|
|
1115
|
+
"<%= config.bin %> contacts check-numbers",
|
|
1116
|
+
"<%= config.bin %> contacts check-numbers --list lst_xxx",
|
|
1117
|
+
"<%= config.bin %> contacts check-numbers --force"
|
|
952
1118
|
],
|
|
953
1119
|
"flags": {
|
|
954
1120
|
"json": {
|
|
@@ -963,11 +1129,25 @@
|
|
|
963
1129
|
"name": "quiet",
|
|
964
1130
|
"allowNo": false,
|
|
965
1131
|
"type": "boolean"
|
|
1132
|
+
},
|
|
1133
|
+
"list": {
|
|
1134
|
+
"char": "l",
|
|
1135
|
+
"description": "Scope the lookup to a single contact list",
|
|
1136
|
+
"name": "list",
|
|
1137
|
+
"hasDynamicHelp": false,
|
|
1138
|
+
"multiple": false,
|
|
1139
|
+
"type": "option"
|
|
1140
|
+
},
|
|
1141
|
+
"force": {
|
|
1142
|
+
"description": "Re-check contacts even if already looked up",
|
|
1143
|
+
"name": "force",
|
|
1144
|
+
"allowNo": false,
|
|
1145
|
+
"type": "boolean"
|
|
966
1146
|
}
|
|
967
1147
|
},
|
|
968
1148
|
"hasDynamicHelp": false,
|
|
969
1149
|
"hiddenAliases": [],
|
|
970
|
-
"id": "
|
|
1150
|
+
"id": "contacts:check-numbers",
|
|
971
1151
|
"pluginAlias": "@sendly/cli",
|
|
972
1152
|
"pluginName": "@sendly/cli",
|
|
973
1153
|
"pluginType": "core",
|
|
@@ -976,19 +1156,19 @@
|
|
|
976
1156
|
"relativePath": [
|
|
977
1157
|
"dist",
|
|
978
1158
|
"commands",
|
|
979
|
-
"
|
|
980
|
-
"
|
|
1159
|
+
"contacts",
|
|
1160
|
+
"check-numbers.js"
|
|
981
1161
|
]
|
|
982
1162
|
},
|
|
983
|
-
"
|
|
1163
|
+
"contacts:create": {
|
|
984
1164
|
"aliases": [],
|
|
985
1165
|
"args": {},
|
|
986
|
-
"description": "
|
|
1166
|
+
"description": "Create a new contact",
|
|
987
1167
|
"examples": [
|
|
988
|
-
"<%= config.bin %>
|
|
989
|
-
"<%= config.bin %>
|
|
990
|
-
"<%= config.bin %>
|
|
991
|
-
"<%= config.bin %>
|
|
1168
|
+
"<%= config.bin %> contacts create --phone +15551234567",
|
|
1169
|
+
"<%= config.bin %> contacts create --phone +15551234567 --name \"John Doe\"",
|
|
1170
|
+
"<%= config.bin %> contacts create --phone +15551234567 --name \"John\" --email john@example.com",
|
|
1171
|
+
"<%= config.bin %> contacts create --phone +15551234567 --json"
|
|
992
1172
|
],
|
|
993
1173
|
"flags": {
|
|
994
1174
|
"json": {
|
|
@@ -1004,38 +1184,130 @@
|
|
|
1004
1184
|
"allowNo": false,
|
|
1005
1185
|
"type": "boolean"
|
|
1006
1186
|
},
|
|
1007
|
-
"
|
|
1008
|
-
"char": "
|
|
1009
|
-
"description": "
|
|
1010
|
-
"name": "
|
|
1011
|
-
"
|
|
1187
|
+
"phone": {
|
|
1188
|
+
"char": "p",
|
|
1189
|
+
"description": "Phone number in E.164 format (e.g., +15551234567)",
|
|
1190
|
+
"name": "phone",
|
|
1191
|
+
"required": true,
|
|
1012
1192
|
"hasDynamicHelp": false,
|
|
1013
1193
|
"multiple": false,
|
|
1014
1194
|
"type": "option"
|
|
1015
1195
|
},
|
|
1016
|
-
"
|
|
1017
|
-
"
|
|
1018
|
-
"
|
|
1196
|
+
"name": {
|
|
1197
|
+
"char": "n",
|
|
1198
|
+
"description": "Contact name",
|
|
1199
|
+
"name": "name",
|
|
1019
1200
|
"hasDynamicHelp": false,
|
|
1020
1201
|
"multiple": false,
|
|
1021
1202
|
"type": "option"
|
|
1022
1203
|
},
|
|
1023
|
-
"
|
|
1024
|
-
"char": "
|
|
1025
|
-
"description": "
|
|
1026
|
-
"name": "
|
|
1204
|
+
"email": {
|
|
1205
|
+
"char": "e",
|
|
1206
|
+
"description": "Contact email",
|
|
1207
|
+
"name": "email",
|
|
1027
1208
|
"hasDynamicHelp": false,
|
|
1028
1209
|
"multiple": false,
|
|
1029
|
-
"options": [
|
|
1030
|
-
"active",
|
|
1031
|
-
"closed"
|
|
1032
|
-
],
|
|
1033
1210
|
"type": "option"
|
|
1034
1211
|
}
|
|
1035
1212
|
},
|
|
1036
1213
|
"hasDynamicHelp": false,
|
|
1037
1214
|
"hiddenAliases": [],
|
|
1038
|
-
"id": "
|
|
1215
|
+
"id": "contacts:create",
|
|
1216
|
+
"pluginAlias": "@sendly/cli",
|
|
1217
|
+
"pluginName": "@sendly/cli",
|
|
1218
|
+
"pluginType": "core",
|
|
1219
|
+
"strict": true,
|
|
1220
|
+
"isESM": true,
|
|
1221
|
+
"relativePath": [
|
|
1222
|
+
"dist",
|
|
1223
|
+
"commands",
|
|
1224
|
+
"contacts",
|
|
1225
|
+
"create.js"
|
|
1226
|
+
]
|
|
1227
|
+
},
|
|
1228
|
+
"contacts:delete": {
|
|
1229
|
+
"aliases": [],
|
|
1230
|
+
"args": {
|
|
1231
|
+
"id": {
|
|
1232
|
+
"description": "Contact ID to delete",
|
|
1233
|
+
"name": "id",
|
|
1234
|
+
"required": true
|
|
1235
|
+
}
|
|
1236
|
+
},
|
|
1237
|
+
"description": "Delete a contact",
|
|
1238
|
+
"examples": [
|
|
1239
|
+
"<%= config.bin %> contacts delete cnt_xxx",
|
|
1240
|
+
"<%= config.bin %> contacts delete cnt_xxx --yes"
|
|
1241
|
+
],
|
|
1242
|
+
"flags": {
|
|
1243
|
+
"json": {
|
|
1244
|
+
"description": "Output in JSON format",
|
|
1245
|
+
"name": "json",
|
|
1246
|
+
"allowNo": false,
|
|
1247
|
+
"type": "boolean"
|
|
1248
|
+
},
|
|
1249
|
+
"quiet": {
|
|
1250
|
+
"char": "q",
|
|
1251
|
+
"description": "Minimal output",
|
|
1252
|
+
"name": "quiet",
|
|
1253
|
+
"allowNo": false,
|
|
1254
|
+
"type": "boolean"
|
|
1255
|
+
},
|
|
1256
|
+
"yes": {
|
|
1257
|
+
"char": "y",
|
|
1258
|
+
"description": "Skip confirmation prompt",
|
|
1259
|
+
"name": "yes",
|
|
1260
|
+
"allowNo": false,
|
|
1261
|
+
"type": "boolean"
|
|
1262
|
+
}
|
|
1263
|
+
},
|
|
1264
|
+
"hasDynamicHelp": false,
|
|
1265
|
+
"hiddenAliases": [],
|
|
1266
|
+
"id": "contacts:delete",
|
|
1267
|
+
"pluginAlias": "@sendly/cli",
|
|
1268
|
+
"pluginName": "@sendly/cli",
|
|
1269
|
+
"pluginType": "core",
|
|
1270
|
+
"strict": true,
|
|
1271
|
+
"isESM": true,
|
|
1272
|
+
"relativePath": [
|
|
1273
|
+
"dist",
|
|
1274
|
+
"commands",
|
|
1275
|
+
"contacts",
|
|
1276
|
+
"delete.js"
|
|
1277
|
+
]
|
|
1278
|
+
},
|
|
1279
|
+
"contacts:get": {
|
|
1280
|
+
"aliases": [],
|
|
1281
|
+
"args": {
|
|
1282
|
+
"id": {
|
|
1283
|
+
"description": "Contact ID",
|
|
1284
|
+
"name": "id",
|
|
1285
|
+
"required": true
|
|
1286
|
+
}
|
|
1287
|
+
},
|
|
1288
|
+
"description": "Get contact details",
|
|
1289
|
+
"examples": [
|
|
1290
|
+
"<%= config.bin %> contacts get cnt_xxx",
|
|
1291
|
+
"<%= config.bin %> contacts get cnt_xxx --json"
|
|
1292
|
+
],
|
|
1293
|
+
"flags": {
|
|
1294
|
+
"json": {
|
|
1295
|
+
"description": "Output in JSON format",
|
|
1296
|
+
"name": "json",
|
|
1297
|
+
"allowNo": false,
|
|
1298
|
+
"type": "boolean"
|
|
1299
|
+
},
|
|
1300
|
+
"quiet": {
|
|
1301
|
+
"char": "q",
|
|
1302
|
+
"description": "Minimal output",
|
|
1303
|
+
"name": "quiet",
|
|
1304
|
+
"allowNo": false,
|
|
1305
|
+
"type": "boolean"
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
"hasDynamicHelp": false,
|
|
1309
|
+
"hiddenAliases": [],
|
|
1310
|
+
"id": "contacts:get",
|
|
1039
1311
|
"pluginAlias": "@sendly/cli",
|
|
1040
1312
|
"pluginName": "@sendly/cli",
|
|
1041
1313
|
"pluginType": "core",
|
|
@@ -1044,23 +1316,24 @@
|
|
|
1044
1316
|
"relativePath": [
|
|
1045
1317
|
"dist",
|
|
1046
1318
|
"commands",
|
|
1047
|
-
"
|
|
1048
|
-
"
|
|
1319
|
+
"contacts",
|
|
1320
|
+
"get.js"
|
|
1049
1321
|
]
|
|
1050
1322
|
},
|
|
1051
|
-
"
|
|
1323
|
+
"contacts:import": {
|
|
1052
1324
|
"aliases": [],
|
|
1053
1325
|
"args": {
|
|
1054
|
-
"
|
|
1055
|
-
"description": "
|
|
1056
|
-
"name": "
|
|
1326
|
+
"file": {
|
|
1327
|
+
"description": "Path to CSV file (columns: phone, name, email)",
|
|
1328
|
+
"name": "file",
|
|
1057
1329
|
"required": true
|
|
1058
1330
|
}
|
|
1059
1331
|
},
|
|
1060
|
-
"description": "
|
|
1332
|
+
"description": "Import contacts from a CSV file",
|
|
1061
1333
|
"examples": [
|
|
1062
|
-
"<%= config.bin %>
|
|
1063
|
-
"<%= config.bin %>
|
|
1334
|
+
"<%= config.bin %> contacts import contacts.csv",
|
|
1335
|
+
"<%= config.bin %> contacts import contacts.csv --list lst_xxx",
|
|
1336
|
+
"<%= config.bin %> contacts import contacts.csv --list lst_xxx --json"
|
|
1064
1337
|
],
|
|
1065
1338
|
"flags": {
|
|
1066
1339
|
"json": {
|
|
@@ -1075,11 +1348,19 @@
|
|
|
1075
1348
|
"name": "quiet",
|
|
1076
1349
|
"allowNo": false,
|
|
1077
1350
|
"type": "boolean"
|
|
1351
|
+
},
|
|
1352
|
+
"list": {
|
|
1353
|
+
"char": "l",
|
|
1354
|
+
"description": "Contact list ID to add imported contacts to",
|
|
1355
|
+
"name": "list",
|
|
1356
|
+
"hasDynamicHelp": false,
|
|
1357
|
+
"multiple": false,
|
|
1358
|
+
"type": "option"
|
|
1078
1359
|
}
|
|
1079
1360
|
},
|
|
1080
1361
|
"hasDynamicHelp": false,
|
|
1081
1362
|
"hiddenAliases": [],
|
|
1082
|
-
"id": "
|
|
1363
|
+
"id": "contacts:import",
|
|
1083
1364
|
"pluginAlias": "@sendly/cli",
|
|
1084
1365
|
"pluginName": "@sendly/cli",
|
|
1085
1366
|
"pluginType": "core",
|
|
@@ -1088,23 +1369,20 @@
|
|
|
1088
1369
|
"relativePath": [
|
|
1089
1370
|
"dist",
|
|
1090
1371
|
"commands",
|
|
1091
|
-
"
|
|
1092
|
-
"
|
|
1372
|
+
"contacts",
|
|
1373
|
+
"import.js"
|
|
1093
1374
|
]
|
|
1094
1375
|
},
|
|
1095
|
-
"
|
|
1376
|
+
"contacts:list": {
|
|
1096
1377
|
"aliases": [],
|
|
1097
|
-
"args": {
|
|
1098
|
-
|
|
1099
|
-
"description": "Conversation ID",
|
|
1100
|
-
"name": "id",
|
|
1101
|
-
"required": true
|
|
1102
|
-
}
|
|
1103
|
-
},
|
|
1104
|
-
"description": "Reopen a closed conversation",
|
|
1378
|
+
"args": {},
|
|
1379
|
+
"description": "List contacts",
|
|
1105
1380
|
"examples": [
|
|
1106
|
-
"<%= config.bin %>
|
|
1107
|
-
"<%= config.bin %>
|
|
1381
|
+
"<%= config.bin %> contacts list",
|
|
1382
|
+
"<%= config.bin %> contacts list --search john",
|
|
1383
|
+
"<%= config.bin %> contacts list --list lst_xxx",
|
|
1384
|
+
"<%= config.bin %> contacts list --limit 50",
|
|
1385
|
+
"<%= config.bin %> contacts list --json"
|
|
1108
1386
|
],
|
|
1109
1387
|
"flags": {
|
|
1110
1388
|
"json": {
|
|
@@ -1119,11 +1397,43 @@
|
|
|
1119
1397
|
"name": "quiet",
|
|
1120
1398
|
"allowNo": false,
|
|
1121
1399
|
"type": "boolean"
|
|
1400
|
+
},
|
|
1401
|
+
"limit": {
|
|
1402
|
+
"char": "l",
|
|
1403
|
+
"description": "Number of contacts to show",
|
|
1404
|
+
"name": "limit",
|
|
1405
|
+
"default": 50,
|
|
1406
|
+
"hasDynamicHelp": false,
|
|
1407
|
+
"multiple": false,
|
|
1408
|
+
"type": "option"
|
|
1409
|
+
},
|
|
1410
|
+
"offset": {
|
|
1411
|
+
"description": "Offset for pagination",
|
|
1412
|
+
"name": "offset",
|
|
1413
|
+
"default": 0,
|
|
1414
|
+
"hasDynamicHelp": false,
|
|
1415
|
+
"multiple": false,
|
|
1416
|
+
"type": "option"
|
|
1417
|
+
},
|
|
1418
|
+
"search": {
|
|
1419
|
+
"char": "s",
|
|
1420
|
+
"description": "Search by name, phone, or email",
|
|
1421
|
+
"name": "search",
|
|
1422
|
+
"hasDynamicHelp": false,
|
|
1423
|
+
"multiple": false,
|
|
1424
|
+
"type": "option"
|
|
1425
|
+
},
|
|
1426
|
+
"list": {
|
|
1427
|
+
"description": "Filter by contact list ID",
|
|
1428
|
+
"name": "list",
|
|
1429
|
+
"hasDynamicHelp": false,
|
|
1430
|
+
"multiple": false,
|
|
1431
|
+
"type": "option"
|
|
1122
1432
|
}
|
|
1123
1433
|
},
|
|
1124
1434
|
"hasDynamicHelp": false,
|
|
1125
1435
|
"hiddenAliases": [],
|
|
1126
|
-
"id": "
|
|
1436
|
+
"id": "contacts:list",
|
|
1127
1437
|
"pluginAlias": "@sendly/cli",
|
|
1128
1438
|
"pluginName": "@sendly/cli",
|
|
1129
1439
|
"pluginType": "core",
|
|
@@ -1132,28 +1442,22 @@
|
|
|
1132
1442
|
"relativePath": [
|
|
1133
1443
|
"dist",
|
|
1134
1444
|
"commands",
|
|
1135
|
-
"
|
|
1136
|
-
"
|
|
1445
|
+
"contacts",
|
|
1446
|
+
"list.js"
|
|
1137
1447
|
]
|
|
1138
1448
|
},
|
|
1139
|
-
"
|
|
1449
|
+
"contacts:mark-valid": {
|
|
1140
1450
|
"aliases": [],
|
|
1141
1451
|
"args": {
|
|
1142
1452
|
"id": {
|
|
1143
|
-
"description": "
|
|
1453
|
+
"description": "Contact ID to clear the invalid flag on",
|
|
1144
1454
|
"name": "id",
|
|
1145
1455
|
"required": true
|
|
1146
|
-
},
|
|
1147
|
-
"text": {
|
|
1148
|
-
"description": "Reply message text",
|
|
1149
|
-
"name": "text",
|
|
1150
|
-
"required": true
|
|
1151
1456
|
}
|
|
1152
1457
|
},
|
|
1153
|
-
"description": "
|
|
1458
|
+
"description": "Clear the invalid flag on a contact so future campaigns include it again. Use when you disagree with an auto-exclusion (e.g. the recipient ported from a landline to mobile).",
|
|
1154
1459
|
"examples": [
|
|
1155
|
-
"<%= config.bin %>
|
|
1156
|
-
"<%= config.bin %> conversations reply conv_abc123 \"Got it\" --json"
|
|
1460
|
+
"<%= config.bin %> contacts mark-valid cnt_xxx"
|
|
1157
1461
|
],
|
|
1158
1462
|
"flags": {
|
|
1159
1463
|
"json": {
|
|
@@ -1172,7 +1476,7 @@
|
|
|
1172
1476
|
},
|
|
1173
1477
|
"hasDynamicHelp": false,
|
|
1174
1478
|
"hiddenAliases": [],
|
|
1175
|
-
"id": "
|
|
1479
|
+
"id": "contacts:mark-valid",
|
|
1176
1480
|
"pluginAlias": "@sendly/cli",
|
|
1177
1481
|
"pluginName": "@sendly/cli",
|
|
1178
1482
|
"pluginType": "core",
|
|
@@ -1181,17 +1485,24 @@
|
|
|
1181
1485
|
"relativePath": [
|
|
1182
1486
|
"dist",
|
|
1183
1487
|
"commands",
|
|
1184
|
-
"
|
|
1185
|
-
"
|
|
1488
|
+
"contacts",
|
|
1489
|
+
"mark-valid.js"
|
|
1186
1490
|
]
|
|
1187
1491
|
},
|
|
1188
|
-
"
|
|
1492
|
+
"contacts:update": {
|
|
1189
1493
|
"aliases": [],
|
|
1190
|
-
"args": {
|
|
1191
|
-
|
|
1494
|
+
"args": {
|
|
1495
|
+
"id": {
|
|
1496
|
+
"description": "Contact ID",
|
|
1497
|
+
"name": "id",
|
|
1498
|
+
"required": true
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1501
|
+
"description": "Update a contact",
|
|
1192
1502
|
"examples": [
|
|
1193
|
-
"<%= config.bin %>
|
|
1194
|
-
"<%= config.bin %>
|
|
1503
|
+
"<%= config.bin %> contacts update cnt_xxx --name \"John Doe\"",
|
|
1504
|
+
"<%= config.bin %> contacts update cnt_xxx --email john@example.com",
|
|
1505
|
+
"<%= config.bin %> contacts update cnt_xxx --name \"John\" --email john@example.com"
|
|
1195
1506
|
],
|
|
1196
1507
|
"flags": {
|
|
1197
1508
|
"json": {
|
|
@@ -1206,11 +1517,27 @@
|
|
|
1206
1517
|
"name": "quiet",
|
|
1207
1518
|
"allowNo": false,
|
|
1208
1519
|
"type": "boolean"
|
|
1520
|
+
},
|
|
1521
|
+
"name": {
|
|
1522
|
+
"char": "n",
|
|
1523
|
+
"description": "Contact name",
|
|
1524
|
+
"name": "name",
|
|
1525
|
+
"hasDynamicHelp": false,
|
|
1526
|
+
"multiple": false,
|
|
1527
|
+
"type": "option"
|
|
1528
|
+
},
|
|
1529
|
+
"email": {
|
|
1530
|
+
"char": "e",
|
|
1531
|
+
"description": "Contact email",
|
|
1532
|
+
"name": "email",
|
|
1533
|
+
"hasDynamicHelp": false,
|
|
1534
|
+
"multiple": false,
|
|
1535
|
+
"type": "option"
|
|
1209
1536
|
}
|
|
1210
1537
|
},
|
|
1211
1538
|
"hasDynamicHelp": false,
|
|
1212
1539
|
"hiddenAliases": [],
|
|
1213
|
-
"id": "
|
|
1540
|
+
"id": "contacts:update",
|
|
1214
1541
|
"pluginAlias": "@sendly/cli",
|
|
1215
1542
|
"pluginName": "@sendly/cli",
|
|
1216
1543
|
"pluginType": "core",
|
|
@@ -1219,18 +1546,23 @@
|
|
|
1219
1546
|
"relativePath": [
|
|
1220
1547
|
"dist",
|
|
1221
1548
|
"commands",
|
|
1222
|
-
"
|
|
1223
|
-
"
|
|
1549
|
+
"contacts",
|
|
1550
|
+
"update.js"
|
|
1224
1551
|
]
|
|
1225
1552
|
},
|
|
1226
|
-
"
|
|
1553
|
+
"conversations:close": {
|
|
1227
1554
|
"aliases": [],
|
|
1228
|
-
"args": {
|
|
1229
|
-
|
|
1555
|
+
"args": {
|
|
1556
|
+
"id": {
|
|
1557
|
+
"description": "Conversation ID",
|
|
1558
|
+
"name": "id",
|
|
1559
|
+
"required": true
|
|
1560
|
+
}
|
|
1561
|
+
},
|
|
1562
|
+
"description": "Close a conversation",
|
|
1230
1563
|
"examples": [
|
|
1231
|
-
"<%= config.bin %>
|
|
1232
|
-
"<%= config.bin %>
|
|
1233
|
-
"<%= config.bin %> credits history --json"
|
|
1564
|
+
"<%= config.bin %> conversations close conv_abc123",
|
|
1565
|
+
"<%= config.bin %> conversations close conv_abc123 --json"
|
|
1234
1566
|
],
|
|
1235
1567
|
"flags": {
|
|
1236
1568
|
"json": {
|
|
@@ -1245,20 +1577,11 @@
|
|
|
1245
1577
|
"name": "quiet",
|
|
1246
1578
|
"allowNo": false,
|
|
1247
1579
|
"type": "boolean"
|
|
1248
|
-
},
|
|
1249
|
-
"limit": {
|
|
1250
|
-
"char": "l",
|
|
1251
|
-
"description": "Number of transactions to show",
|
|
1252
|
-
"name": "limit",
|
|
1253
|
-
"default": 20,
|
|
1254
|
-
"hasDynamicHelp": false,
|
|
1255
|
-
"multiple": false,
|
|
1256
|
-
"type": "option"
|
|
1257
1580
|
}
|
|
1258
1581
|
},
|
|
1259
1582
|
"hasDynamicHelp": false,
|
|
1260
1583
|
"hiddenAliases": [],
|
|
1261
|
-
"id": "
|
|
1584
|
+
"id": "conversations:close",
|
|
1262
1585
|
"pluginAlias": "@sendly/cli",
|
|
1263
1586
|
"pluginName": "@sendly/cli",
|
|
1264
1587
|
"pluginType": "core",
|
|
@@ -1267,18 +1590,25 @@
|
|
|
1267
1590
|
"relativePath": [
|
|
1268
1591
|
"dist",
|
|
1269
1592
|
"commands",
|
|
1270
|
-
"
|
|
1271
|
-
"
|
|
1593
|
+
"conversations",
|
|
1594
|
+
"close.js"
|
|
1272
1595
|
]
|
|
1273
1596
|
},
|
|
1274
|
-
"
|
|
1597
|
+
"conversations:context": {
|
|
1275
1598
|
"aliases": [],
|
|
1276
|
-
"args": {
|
|
1277
|
-
|
|
1599
|
+
"args": {
|
|
1600
|
+
"id": {
|
|
1601
|
+
"description": "Conversation ID",
|
|
1602
|
+
"name": "id",
|
|
1603
|
+
"required": true
|
|
1604
|
+
}
|
|
1605
|
+
},
|
|
1606
|
+
"description": "Get LLM-ready conversation context. Returns pre-formatted text with timestamped messages, AI classification, and business context.",
|
|
1278
1607
|
"examples": [
|
|
1279
|
-
"<%= config.bin %>
|
|
1280
|
-
"<%= config.bin %>
|
|
1281
|
-
"<%= config.bin %>
|
|
1608
|
+
"<%= config.bin %> conversations context conv_abc123",
|
|
1609
|
+
"<%= config.bin %> conversations context conv_abc123 --max-messages 10",
|
|
1610
|
+
"<%= config.bin %> conversations context conv_abc123 --json",
|
|
1611
|
+
"<%= config.bin %> conversations context conv_abc123 --raw"
|
|
1282
1612
|
],
|
|
1283
1613
|
"flags": {
|
|
1284
1614
|
"json": {
|
|
@@ -1294,32 +1624,25 @@
|
|
|
1294
1624
|
"allowNo": false,
|
|
1295
1625
|
"type": "boolean"
|
|
1296
1626
|
},
|
|
1297
|
-
"
|
|
1298
|
-
"
|
|
1299
|
-
"
|
|
1300
|
-
"
|
|
1301
|
-
"
|
|
1302
|
-
"type": "option"
|
|
1303
|
-
},
|
|
1304
|
-
"amount": {
|
|
1305
|
-
"char": "a",
|
|
1306
|
-
"description": "Number of credits to transfer",
|
|
1307
|
-
"name": "amount",
|
|
1627
|
+
"max-messages": {
|
|
1628
|
+
"char": "m",
|
|
1629
|
+
"description": "Maximum number of messages to include",
|
|
1630
|
+
"name": "max-messages",
|
|
1631
|
+
"default": 20,
|
|
1308
1632
|
"hasDynamicHelp": false,
|
|
1309
1633
|
"multiple": false,
|
|
1310
1634
|
"type": "option"
|
|
1311
1635
|
},
|
|
1312
|
-
"
|
|
1313
|
-
"
|
|
1314
|
-
"
|
|
1315
|
-
"name": "yes",
|
|
1636
|
+
"raw": {
|
|
1637
|
+
"description": "Output only the context text (for piping to LLMs)",
|
|
1638
|
+
"name": "raw",
|
|
1316
1639
|
"allowNo": false,
|
|
1317
1640
|
"type": "boolean"
|
|
1318
1641
|
}
|
|
1319
1642
|
},
|
|
1320
1643
|
"hasDynamicHelp": false,
|
|
1321
1644
|
"hiddenAliases": [],
|
|
1322
|
-
"id": "
|
|
1645
|
+
"id": "conversations:context",
|
|
1323
1646
|
"pluginAlias": "@sendly/cli",
|
|
1324
1647
|
"pluginName": "@sendly/cli",
|
|
1325
1648
|
"pluginType": "core",
|
|
@@ -1328,22 +1651,25 @@
|
|
|
1328
1651
|
"relativePath": [
|
|
1329
1652
|
"dist",
|
|
1330
1653
|
"commands",
|
|
1331
|
-
"
|
|
1332
|
-
"
|
|
1654
|
+
"conversations",
|
|
1655
|
+
"context.js"
|
|
1333
1656
|
]
|
|
1334
1657
|
},
|
|
1335
|
-
"
|
|
1658
|
+
"conversations:get": {
|
|
1336
1659
|
"aliases": [],
|
|
1337
1660
|
"args": {
|
|
1338
1661
|
"id": {
|
|
1339
|
-
"description": "
|
|
1662
|
+
"description": "Conversation ID",
|
|
1340
1663
|
"name": "id",
|
|
1341
1664
|
"required": true
|
|
1342
1665
|
}
|
|
1343
1666
|
},
|
|
1344
|
-
"description": "
|
|
1667
|
+
"description": "Get details of a conversation",
|
|
1345
1668
|
"examples": [
|
|
1346
|
-
"<%= config.bin %>
|
|
1669
|
+
"<%= config.bin %> conversations get conv_abc123",
|
|
1670
|
+
"<%= config.bin %> conversations get conv_abc123 --messages",
|
|
1671
|
+
"<%= config.bin %> conversations get conv_abc123 --messages --limit 10",
|
|
1672
|
+
"<%= config.bin %> conversations get conv_abc123 --json"
|
|
1347
1673
|
],
|
|
1348
1674
|
"flags": {
|
|
1349
1675
|
"json": {
|
|
@@ -1358,11 +1684,27 @@
|
|
|
1358
1684
|
"name": "quiet",
|
|
1359
1685
|
"allowNo": false,
|
|
1360
1686
|
"type": "boolean"
|
|
1687
|
+
},
|
|
1688
|
+
"messages": {
|
|
1689
|
+
"char": "m",
|
|
1690
|
+
"description": "Include message thread",
|
|
1691
|
+
"name": "messages",
|
|
1692
|
+
"allowNo": false,
|
|
1693
|
+
"type": "boolean"
|
|
1694
|
+
},
|
|
1695
|
+
"limit": {
|
|
1696
|
+
"char": "l",
|
|
1697
|
+
"description": "Number of messages to include (requires --messages)",
|
|
1698
|
+
"name": "limit",
|
|
1699
|
+
"default": 50,
|
|
1700
|
+
"hasDynamicHelp": false,
|
|
1701
|
+
"multiple": false,
|
|
1702
|
+
"type": "option"
|
|
1361
1703
|
}
|
|
1362
1704
|
},
|
|
1363
1705
|
"hasDynamicHelp": false,
|
|
1364
1706
|
"hiddenAliases": [],
|
|
1365
|
-
"id": "
|
|
1707
|
+
"id": "conversations:get",
|
|
1366
1708
|
"pluginAlias": "@sendly/cli",
|
|
1367
1709
|
"pluginName": "@sendly/cli",
|
|
1368
1710
|
"pluginType": "core",
|
|
@@ -1371,23 +1713,17 @@
|
|
|
1371
1713
|
"relativePath": [
|
|
1372
1714
|
"dist",
|
|
1373
1715
|
"commands",
|
|
1374
|
-
"
|
|
1375
|
-
"
|
|
1716
|
+
"conversations",
|
|
1717
|
+
"get.js"
|
|
1376
1718
|
]
|
|
1377
1719
|
},
|
|
1378
|
-
"
|
|
1720
|
+
"conversations": {
|
|
1379
1721
|
"aliases": [],
|
|
1380
|
-
"args": {
|
|
1381
|
-
|
|
1382
|
-
"description": "Campaign ID to clone",
|
|
1383
|
-
"name": "id",
|
|
1384
|
-
"required": true
|
|
1385
|
-
}
|
|
1386
|
-
},
|
|
1387
|
-
"description": "Clone an existing campaign",
|
|
1722
|
+
"args": {},
|
|
1723
|
+
"description": "List conversations (default subcommand)",
|
|
1388
1724
|
"examples": [
|
|
1389
|
-
"<%= config.bin %>
|
|
1390
|
-
"<%= config.bin %>
|
|
1725
|
+
"<%= config.bin %> conversations",
|
|
1726
|
+
"<%= config.bin %> conversations --json"
|
|
1391
1727
|
],
|
|
1392
1728
|
"flags": {
|
|
1393
1729
|
"json": {
|
|
@@ -1402,19 +1738,11 @@
|
|
|
1402
1738
|
"name": "quiet",
|
|
1403
1739
|
"allowNo": false,
|
|
1404
1740
|
"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
1741
|
}
|
|
1414
1742
|
},
|
|
1415
1743
|
"hasDynamicHelp": false,
|
|
1416
1744
|
"hiddenAliases": [],
|
|
1417
|
-
"id": "
|
|
1745
|
+
"id": "conversations",
|
|
1418
1746
|
"pluginAlias": "@sendly/cli",
|
|
1419
1747
|
"pluginName": "@sendly/cli",
|
|
1420
1748
|
"pluginType": "core",
|
|
@@ -1423,18 +1751,19 @@
|
|
|
1423
1751
|
"relativePath": [
|
|
1424
1752
|
"dist",
|
|
1425
1753
|
"commands",
|
|
1426
|
-
"
|
|
1427
|
-
"
|
|
1754
|
+
"conversations",
|
|
1755
|
+
"index.js"
|
|
1428
1756
|
]
|
|
1429
1757
|
},
|
|
1430
|
-
"
|
|
1758
|
+
"conversations:list": {
|
|
1431
1759
|
"aliases": [],
|
|
1432
1760
|
"args": {},
|
|
1433
|
-
"description": "
|
|
1761
|
+
"description": "List conversations",
|
|
1434
1762
|
"examples": [
|
|
1435
|
-
"<%= config.bin %>
|
|
1436
|
-
"<%= config.bin %>
|
|
1437
|
-
"<%= config.bin %>
|
|
1763
|
+
"<%= config.bin %> conversations list",
|
|
1764
|
+
"<%= config.bin %> conversations list --status active",
|
|
1765
|
+
"<%= config.bin %> conversations list --limit 10",
|
|
1766
|
+
"<%= config.bin %> conversations list --json"
|
|
1438
1767
|
],
|
|
1439
1768
|
"flags": {
|
|
1440
1769
|
"json": {
|
|
@@ -1450,43 +1779,38 @@
|
|
|
1450
1779
|
"allowNo": false,
|
|
1451
1780
|
"type": "boolean"
|
|
1452
1781
|
},
|
|
1453
|
-
"
|
|
1454
|
-
"char": "
|
|
1455
|
-
"description": "
|
|
1456
|
-
"name": "
|
|
1457
|
-
"
|
|
1782
|
+
"limit": {
|
|
1783
|
+
"char": "l",
|
|
1784
|
+
"description": "Number of conversations per page",
|
|
1785
|
+
"name": "limit",
|
|
1786
|
+
"default": 20,
|
|
1458
1787
|
"hasDynamicHelp": false,
|
|
1459
1788
|
"multiple": false,
|
|
1460
1789
|
"type": "option"
|
|
1461
1790
|
},
|
|
1462
|
-
"
|
|
1463
|
-
"
|
|
1464
|
-
"
|
|
1465
|
-
"name": "text",
|
|
1791
|
+
"offset": {
|
|
1792
|
+
"description": "Offset from start",
|
|
1793
|
+
"name": "offset",
|
|
1466
1794
|
"hasDynamicHelp": false,
|
|
1467
1795
|
"multiple": false,
|
|
1468
1796
|
"type": "option"
|
|
1469
1797
|
},
|
|
1470
|
-
"
|
|
1471
|
-
"
|
|
1472
|
-
"
|
|
1798
|
+
"status": {
|
|
1799
|
+
"char": "s",
|
|
1800
|
+
"description": "Filter by status (active, closed)",
|
|
1801
|
+
"name": "status",
|
|
1473
1802
|
"hasDynamicHelp": false,
|
|
1474
1803
|
"multiple": false,
|
|
1475
|
-
"
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
"description": "Contact list ID (can specify multiple)",
|
|
1480
|
-
"name": "list",
|
|
1481
|
-
"required": true,
|
|
1482
|
-
"hasDynamicHelp": false,
|
|
1483
|
-
"multiple": true,
|
|
1804
|
+
"options": [
|
|
1805
|
+
"active",
|
|
1806
|
+
"closed"
|
|
1807
|
+
],
|
|
1484
1808
|
"type": "option"
|
|
1485
1809
|
}
|
|
1486
1810
|
},
|
|
1487
1811
|
"hasDynamicHelp": false,
|
|
1488
1812
|
"hiddenAliases": [],
|
|
1489
|
-
"id": "
|
|
1813
|
+
"id": "conversations:list",
|
|
1490
1814
|
"pluginAlias": "@sendly/cli",
|
|
1491
1815
|
"pluginName": "@sendly/cli",
|
|
1492
1816
|
"pluginType": "core",
|
|
@@ -1495,23 +1819,23 @@
|
|
|
1495
1819
|
"relativePath": [
|
|
1496
1820
|
"dist",
|
|
1497
1821
|
"commands",
|
|
1498
|
-
"
|
|
1499
|
-
"
|
|
1822
|
+
"conversations",
|
|
1823
|
+
"list.js"
|
|
1500
1824
|
]
|
|
1501
1825
|
},
|
|
1502
|
-
"
|
|
1826
|
+
"conversations:mark-read": {
|
|
1503
1827
|
"aliases": [],
|
|
1504
1828
|
"args": {
|
|
1505
1829
|
"id": {
|
|
1506
|
-
"description": "
|
|
1830
|
+
"description": "Conversation ID",
|
|
1507
1831
|
"name": "id",
|
|
1508
1832
|
"required": true
|
|
1509
1833
|
}
|
|
1510
1834
|
},
|
|
1511
|
-
"description": "
|
|
1835
|
+
"description": "Mark a conversation as read",
|
|
1512
1836
|
"examples": [
|
|
1513
|
-
"<%= config.bin %>
|
|
1514
|
-
"<%= config.bin %>
|
|
1837
|
+
"<%= config.bin %> conversations mark-read conv_abc123",
|
|
1838
|
+
"<%= config.bin %> conversations mark-read conv_abc123 --json"
|
|
1515
1839
|
],
|
|
1516
1840
|
"flags": {
|
|
1517
1841
|
"json": {
|
|
@@ -1526,18 +1850,11 @@
|
|
|
1526
1850
|
"name": "quiet",
|
|
1527
1851
|
"allowNo": false,
|
|
1528
1852
|
"type": "boolean"
|
|
1529
|
-
},
|
|
1530
|
-
"yes": {
|
|
1531
|
-
"char": "y",
|
|
1532
|
-
"description": "Skip confirmation prompt",
|
|
1533
|
-
"name": "yes",
|
|
1534
|
-
"allowNo": false,
|
|
1535
|
-
"type": "boolean"
|
|
1536
1853
|
}
|
|
1537
1854
|
},
|
|
1538
1855
|
"hasDynamicHelp": false,
|
|
1539
1856
|
"hiddenAliases": [],
|
|
1540
|
-
"id": "
|
|
1857
|
+
"id": "conversations:mark-read",
|
|
1541
1858
|
"pluginAlias": "@sendly/cli",
|
|
1542
1859
|
"pluginName": "@sendly/cli",
|
|
1543
1860
|
"pluginType": "core",
|
|
@@ -1546,23 +1863,23 @@
|
|
|
1546
1863
|
"relativePath": [
|
|
1547
1864
|
"dist",
|
|
1548
1865
|
"commands",
|
|
1549
|
-
"
|
|
1550
|
-
"
|
|
1866
|
+
"conversations",
|
|
1867
|
+
"mark-read.js"
|
|
1551
1868
|
]
|
|
1552
1869
|
},
|
|
1553
|
-
"
|
|
1870
|
+
"conversations:reopen": {
|
|
1554
1871
|
"aliases": [],
|
|
1555
1872
|
"args": {
|
|
1556
1873
|
"id": {
|
|
1557
|
-
"description": "
|
|
1874
|
+
"description": "Conversation ID",
|
|
1558
1875
|
"name": "id",
|
|
1559
1876
|
"required": true
|
|
1560
1877
|
}
|
|
1561
1878
|
},
|
|
1562
|
-
"description": "
|
|
1879
|
+
"description": "Reopen a closed conversation",
|
|
1563
1880
|
"examples": [
|
|
1564
|
-
"<%= config.bin %>
|
|
1565
|
-
"<%= config.bin %>
|
|
1881
|
+
"<%= config.bin %> conversations reopen conv_abc123",
|
|
1882
|
+
"<%= config.bin %> conversations reopen conv_abc123 --json"
|
|
1566
1883
|
],
|
|
1567
1884
|
"flags": {
|
|
1568
1885
|
"json": {
|
|
@@ -1581,7 +1898,7 @@
|
|
|
1581
1898
|
},
|
|
1582
1899
|
"hasDynamicHelp": false,
|
|
1583
1900
|
"hiddenAliases": [],
|
|
1584
|
-
"id": "
|
|
1901
|
+
"id": "conversations:reopen",
|
|
1585
1902
|
"pluginAlias": "@sendly/cli",
|
|
1586
1903
|
"pluginName": "@sendly/cli",
|
|
1587
1904
|
"pluginType": "core",
|
|
@@ -1590,19 +1907,28 @@
|
|
|
1590
1907
|
"relativePath": [
|
|
1591
1908
|
"dist",
|
|
1592
1909
|
"commands",
|
|
1593
|
-
"
|
|
1594
|
-
"
|
|
1910
|
+
"conversations",
|
|
1911
|
+
"reopen.js"
|
|
1595
1912
|
]
|
|
1596
1913
|
},
|
|
1597
|
-
"
|
|
1914
|
+
"conversations:reply": {
|
|
1598
1915
|
"aliases": [],
|
|
1599
|
-
"args": {
|
|
1600
|
-
|
|
1916
|
+
"args": {
|
|
1917
|
+
"id": {
|
|
1918
|
+
"description": "Conversation ID",
|
|
1919
|
+
"name": "id",
|
|
1920
|
+
"required": true
|
|
1921
|
+
},
|
|
1922
|
+
"text": {
|
|
1923
|
+
"description": "Reply message text",
|
|
1924
|
+
"name": "text",
|
|
1925
|
+
"required": true
|
|
1926
|
+
}
|
|
1927
|
+
},
|
|
1928
|
+
"description": "Send a reply in a conversation",
|
|
1601
1929
|
"examples": [
|
|
1602
|
-
"<%= config.bin %>
|
|
1603
|
-
"<%= config.bin %>
|
|
1604
|
-
"<%= config.bin %> campaigns list --limit 10",
|
|
1605
|
-
"<%= config.bin %> campaigns list --json"
|
|
1930
|
+
"<%= config.bin %> conversations reply conv_abc123 \"Thanks for reaching out!\"",
|
|
1931
|
+
"<%= config.bin %> conversations reply conv_abc123 \"Got it\" --json"
|
|
1606
1932
|
],
|
|
1607
1933
|
"flags": {
|
|
1608
1934
|
"json": {
|
|
@@ -1617,36 +1943,11 @@
|
|
|
1617
1943
|
"name": "quiet",
|
|
1618
1944
|
"allowNo": false,
|
|
1619
1945
|
"type": "boolean"
|
|
1620
|
-
},
|
|
1621
|
-
"limit": {
|
|
1622
|
-
"char": "l",
|
|
1623
|
-
"description": "Number of campaigns to show",
|
|
1624
|
-
"name": "limit",
|
|
1625
|
-
"default": 20,
|
|
1626
|
-
"hasDynamicHelp": false,
|
|
1627
|
-
"multiple": false,
|
|
1628
|
-
"type": "option"
|
|
1629
|
-
},
|
|
1630
|
-
"offset": {
|
|
1631
|
-
"description": "Offset for pagination",
|
|
1632
|
-
"name": "offset",
|
|
1633
|
-
"default": 0,
|
|
1634
|
-
"hasDynamicHelp": false,
|
|
1635
|
-
"multiple": false,
|
|
1636
|
-
"type": "option"
|
|
1637
|
-
},
|
|
1638
|
-
"status": {
|
|
1639
|
-
"char": "s",
|
|
1640
|
-
"description": "Filter by status (draft, scheduled, sending, sent, cancelled)",
|
|
1641
|
-
"name": "status",
|
|
1642
|
-
"hasDynamicHelp": false,
|
|
1643
|
-
"multiple": false,
|
|
1644
|
-
"type": "option"
|
|
1645
1946
|
}
|
|
1646
1947
|
},
|
|
1647
1948
|
"hasDynamicHelp": false,
|
|
1648
1949
|
"hiddenAliases": [],
|
|
1649
|
-
"id": "
|
|
1950
|
+
"id": "conversations:reply",
|
|
1650
1951
|
"pluginAlias": "@sendly/cli",
|
|
1651
1952
|
"pluginName": "@sendly/cli",
|
|
1652
1953
|
"pluginType": "core",
|
|
@@ -1655,23 +1956,23 @@
|
|
|
1655
1956
|
"relativePath": [
|
|
1656
1957
|
"dist",
|
|
1657
1958
|
"commands",
|
|
1658
|
-
"
|
|
1659
|
-
"
|
|
1959
|
+
"conversations",
|
|
1960
|
+
"reply.js"
|
|
1660
1961
|
]
|
|
1661
1962
|
},
|
|
1662
|
-
"
|
|
1963
|
+
"conversations:suggest-replies": {
|
|
1663
1964
|
"aliases": [],
|
|
1664
1965
|
"args": {
|
|
1665
1966
|
"id": {
|
|
1666
|
-
"description": "
|
|
1967
|
+
"description": "Conversation ID",
|
|
1667
1968
|
"name": "id",
|
|
1668
1969
|
"required": true
|
|
1669
1970
|
}
|
|
1670
1971
|
},
|
|
1671
|
-
"description": "
|
|
1972
|
+
"description": "Get AI-suggested replies for a conversation",
|
|
1672
1973
|
"examples": [
|
|
1673
|
-
"<%= config.bin %>
|
|
1674
|
-
"<%= config.bin %>
|
|
1974
|
+
"<%= config.bin %> conversations suggest-replies conv_abc123",
|
|
1975
|
+
"<%= config.bin %> conversations suggest-replies conv_abc123 --json"
|
|
1675
1976
|
],
|
|
1676
1977
|
"flags": {
|
|
1677
1978
|
"json": {
|
|
@@ -1690,7 +1991,7 @@
|
|
|
1690
1991
|
},
|
|
1691
1992
|
"hasDynamicHelp": false,
|
|
1692
1993
|
"hiddenAliases": [],
|
|
1693
|
-
"id": "
|
|
1994
|
+
"id": "conversations:suggest-replies",
|
|
1694
1995
|
"pluginAlias": "@sendly/cli",
|
|
1695
1996
|
"pluginName": "@sendly/cli",
|
|
1696
1997
|
"pluginType": "core",
|
|
@@ -1699,23 +2000,24 @@
|
|
|
1699
2000
|
"relativePath": [
|
|
1700
2001
|
"dist",
|
|
1701
2002
|
"commands",
|
|
1702
|
-
"
|
|
1703
|
-
"
|
|
2003
|
+
"conversations",
|
|
2004
|
+
"suggest-replies.js"
|
|
1704
2005
|
]
|
|
1705
2006
|
},
|
|
1706
|
-
"
|
|
2007
|
+
"conversations:update": {
|
|
1707
2008
|
"aliases": [],
|
|
1708
2009
|
"args": {
|
|
1709
2010
|
"id": {
|
|
1710
|
-
"description": "
|
|
2011
|
+
"description": "Conversation ID",
|
|
1711
2012
|
"name": "id",
|
|
1712
2013
|
"required": true
|
|
1713
2014
|
}
|
|
1714
2015
|
},
|
|
1715
|
-
"description": "
|
|
2016
|
+
"description": "Update a conversation",
|
|
1716
2017
|
"examples": [
|
|
1717
|
-
"<%= config.bin %>
|
|
1718
|
-
"<%= config.bin %>
|
|
2018
|
+
"<%= config.bin %> conversations update conv_abc123 --metadata '{\"priority\":\"high\"}'",
|
|
2019
|
+
"<%= config.bin %> conversations update conv_abc123 --tags vip,urgent",
|
|
2020
|
+
"<%= config.bin %> conversations update conv_abc123 --metadata '{\"note\":\"follow up\"}' --tags support"
|
|
1719
2021
|
],
|
|
1720
2022
|
"flags": {
|
|
1721
2023
|
"json": {
|
|
@@ -1731,18 +2033,18 @@
|
|
|
1731
2033
|
"allowNo": false,
|
|
1732
2034
|
"type": "boolean"
|
|
1733
2035
|
},
|
|
1734
|
-
"
|
|
1735
|
-
"
|
|
1736
|
-
"
|
|
1737
|
-
"
|
|
2036
|
+
"metadata": {
|
|
2037
|
+
"char": "m",
|
|
2038
|
+
"description": "Metadata as JSON string",
|
|
2039
|
+
"name": "metadata",
|
|
1738
2040
|
"hasDynamicHelp": false,
|
|
1739
2041
|
"multiple": false,
|
|
1740
2042
|
"type": "option"
|
|
1741
2043
|
},
|
|
1742
|
-
"
|
|
1743
|
-
"char": "
|
|
1744
|
-
"description": "
|
|
1745
|
-
"name": "
|
|
2044
|
+
"tags": {
|
|
2045
|
+
"char": "t",
|
|
2046
|
+
"description": "Comma-separated list of tags",
|
|
2047
|
+
"name": "tags",
|
|
1746
2048
|
"hasDynamicHelp": false,
|
|
1747
2049
|
"multiple": false,
|
|
1748
2050
|
"type": "option"
|
|
@@ -1750,7 +2052,7 @@
|
|
|
1750
2052
|
},
|
|
1751
2053
|
"hasDynamicHelp": false,
|
|
1752
2054
|
"hiddenAliases": [],
|
|
1753
|
-
"id": "
|
|
2055
|
+
"id": "conversations:update",
|
|
1754
2056
|
"pluginAlias": "@sendly/cli",
|
|
1755
2057
|
"pluginName": "@sendly/cli",
|
|
1756
2058
|
"pluginType": "core",
|
|
@@ -1759,23 +2061,17 @@
|
|
|
1759
2061
|
"relativePath": [
|
|
1760
2062
|
"dist",
|
|
1761
2063
|
"commands",
|
|
1762
|
-
"
|
|
1763
|
-
"
|
|
2064
|
+
"conversations",
|
|
2065
|
+
"update.js"
|
|
1764
2066
|
]
|
|
1765
2067
|
},
|
|
1766
|
-
"
|
|
2068
|
+
"credits:balance": {
|
|
1767
2069
|
"aliases": [],
|
|
1768
|
-
"args": {
|
|
1769
|
-
|
|
1770
|
-
"description": "Campaign ID",
|
|
1771
|
-
"name": "id",
|
|
1772
|
-
"required": true
|
|
1773
|
-
}
|
|
1774
|
-
},
|
|
1775
|
-
"description": "Send a campaign immediately",
|
|
2070
|
+
"args": {},
|
|
2071
|
+
"description": "Check your credit balance",
|
|
1776
2072
|
"examples": [
|
|
1777
|
-
"<%= config.bin %>
|
|
1778
|
-
"<%= config.bin %>
|
|
2073
|
+
"<%= config.bin %> credits balance",
|
|
2074
|
+
"<%= config.bin %> credits balance --json"
|
|
1779
2075
|
],
|
|
1780
2076
|
"flags": {
|
|
1781
2077
|
"json": {
|
|
@@ -1790,18 +2086,59 @@
|
|
|
1790
2086
|
"name": "quiet",
|
|
1791
2087
|
"allowNo": false,
|
|
1792
2088
|
"type": "boolean"
|
|
2089
|
+
}
|
|
2090
|
+
},
|
|
2091
|
+
"hasDynamicHelp": false,
|
|
2092
|
+
"hiddenAliases": [],
|
|
2093
|
+
"id": "credits:balance",
|
|
2094
|
+
"pluginAlias": "@sendly/cli",
|
|
2095
|
+
"pluginName": "@sendly/cli",
|
|
2096
|
+
"pluginType": "core",
|
|
2097
|
+
"strict": true,
|
|
2098
|
+
"isESM": true,
|
|
2099
|
+
"relativePath": [
|
|
2100
|
+
"dist",
|
|
2101
|
+
"commands",
|
|
2102
|
+
"credits",
|
|
2103
|
+
"balance.js"
|
|
2104
|
+
]
|
|
2105
|
+
},
|
|
2106
|
+
"credits:history": {
|
|
2107
|
+
"aliases": [],
|
|
2108
|
+
"args": {},
|
|
2109
|
+
"description": "View credit transaction history",
|
|
2110
|
+
"examples": [
|
|
2111
|
+
"<%= config.bin %> credits history",
|
|
2112
|
+
"<%= config.bin %> credits history --limit 10",
|
|
2113
|
+
"<%= config.bin %> credits history --json"
|
|
2114
|
+
],
|
|
2115
|
+
"flags": {
|
|
2116
|
+
"json": {
|
|
2117
|
+
"description": "Output in JSON format",
|
|
2118
|
+
"name": "json",
|
|
2119
|
+
"allowNo": false,
|
|
2120
|
+
"type": "boolean"
|
|
1793
2121
|
},
|
|
1794
|
-
"
|
|
1795
|
-
"char": "
|
|
1796
|
-
"description": "
|
|
1797
|
-
"name": "
|
|
2122
|
+
"quiet": {
|
|
2123
|
+
"char": "q",
|
|
2124
|
+
"description": "Minimal output",
|
|
2125
|
+
"name": "quiet",
|
|
1798
2126
|
"allowNo": false,
|
|
1799
2127
|
"type": "boolean"
|
|
2128
|
+
},
|
|
2129
|
+
"limit": {
|
|
2130
|
+
"char": "l",
|
|
2131
|
+
"description": "Number of transactions to show",
|
|
2132
|
+
"name": "limit",
|
|
2133
|
+
"default": 20,
|
|
2134
|
+
"hasDynamicHelp": false,
|
|
2135
|
+
"multiple": false,
|
|
2136
|
+
"type": "option"
|
|
1800
2137
|
}
|
|
1801
2138
|
},
|
|
1802
2139
|
"hasDynamicHelp": false,
|
|
1803
2140
|
"hiddenAliases": [],
|
|
1804
|
-
"id": "
|
|
2141
|
+
"id": "credits:history",
|
|
1805
2142
|
"pluginAlias": "@sendly/cli",
|
|
1806
2143
|
"pluginName": "@sendly/cli",
|
|
1807
2144
|
"pluginType": "core",
|
|
@@ -1810,25 +2147,18 @@
|
|
|
1810
2147
|
"relativePath": [
|
|
1811
2148
|
"dist",
|
|
1812
2149
|
"commands",
|
|
1813
|
-
"
|
|
1814
|
-
"
|
|
2150
|
+
"credits",
|
|
2151
|
+
"history.js"
|
|
1815
2152
|
]
|
|
1816
2153
|
},
|
|
1817
|
-
"
|
|
2154
|
+
"credits:transfer": {
|
|
1818
2155
|
"aliases": [],
|
|
1819
|
-
"args": {
|
|
1820
|
-
|
|
1821
|
-
"description": "Campaign ID",
|
|
1822
|
-
"name": "id",
|
|
1823
|
-
"required": true
|
|
1824
|
-
}
|
|
1825
|
-
},
|
|
1826
|
-
"description": "Update a campaign",
|
|
2156
|
+
"args": {},
|
|
2157
|
+
"description": "Transfer credits between workspaces",
|
|
1827
2158
|
"examples": [
|
|
1828
|
-
"<%= config.bin %>
|
|
1829
|
-
"<%= config.bin %>
|
|
1830
|
-
"<%= config.bin %>
|
|
1831
|
-
"<%= config.bin %> campaigns update cmp_xxx --name \"Sale\" --text \"50% off!\""
|
|
2159
|
+
"<%= config.bin %> credits transfer --to org_abc123 --amount 500",
|
|
2160
|
+
"<%= config.bin %> credits transfer --amount 1000",
|
|
2161
|
+
"<%= config.bin %> credits transfer --to org_abc123 --amount 500 --yes"
|
|
1832
2162
|
],
|
|
1833
2163
|
"flags": {
|
|
1834
2164
|
"json": {
|
|
@@ -1844,41 +2174,32 @@
|
|
|
1844
2174
|
"allowNo": false,
|
|
1845
2175
|
"type": "boolean"
|
|
1846
2176
|
},
|
|
1847
|
-
"
|
|
1848
|
-
"
|
|
1849
|
-
"
|
|
1850
|
-
"name": "name",
|
|
1851
|
-
"hasDynamicHelp": false,
|
|
1852
|
-
"multiple": false,
|
|
1853
|
-
"type": "option"
|
|
1854
|
-
},
|
|
1855
|
-
"text": {
|
|
1856
|
-
"char": "t",
|
|
1857
|
-
"description": "Message text (supports {{variables}})",
|
|
1858
|
-
"name": "text",
|
|
2177
|
+
"to": {
|
|
2178
|
+
"description": "Target workspace ID to transfer credits to",
|
|
2179
|
+
"name": "to",
|
|
1859
2180
|
"hasDynamicHelp": false,
|
|
1860
2181
|
"multiple": false,
|
|
1861
2182
|
"type": "option"
|
|
1862
2183
|
},
|
|
1863
|
-
"
|
|
1864
|
-
"char": "
|
|
1865
|
-
"description": "
|
|
1866
|
-
"name": "
|
|
2184
|
+
"amount": {
|
|
2185
|
+
"char": "a",
|
|
2186
|
+
"description": "Number of credits to transfer",
|
|
2187
|
+
"name": "amount",
|
|
1867
2188
|
"hasDynamicHelp": false,
|
|
1868
2189
|
"multiple": false,
|
|
1869
2190
|
"type": "option"
|
|
1870
2191
|
},
|
|
1871
|
-
"
|
|
1872
|
-
"
|
|
1873
|
-
"
|
|
1874
|
-
"
|
|
1875
|
-
"
|
|
1876
|
-
"type": "
|
|
2192
|
+
"yes": {
|
|
2193
|
+
"char": "y",
|
|
2194
|
+
"description": "Skip confirmation prompt",
|
|
2195
|
+
"name": "yes",
|
|
2196
|
+
"allowNo": false,
|
|
2197
|
+
"type": "boolean"
|
|
1877
2198
|
}
|
|
1878
2199
|
},
|
|
1879
2200
|
"hasDynamicHelp": false,
|
|
1880
2201
|
"hiddenAliases": [],
|
|
1881
|
-
"id": "
|
|
2202
|
+
"id": "credits:transfer",
|
|
1882
2203
|
"pluginAlias": "@sendly/cli",
|
|
1883
2204
|
"pluginName": "@sendly/cli",
|
|
1884
2205
|
"pluginType": "core",
|
|
@@ -1887,8 +2208,8 @@
|
|
|
1887
2208
|
"relativePath": [
|
|
1888
2209
|
"dist",
|
|
1889
2210
|
"commands",
|
|
1890
|
-
"
|
|
1891
|
-
"
|
|
2211
|
+
"credits",
|
|
2212
|
+
"transfer.js"
|
|
1892
2213
|
]
|
|
1893
2214
|
},
|
|
1894
2215
|
"drafts:approve": {
|
|
@@ -2234,6 +2555,88 @@
|
|
|
2234
2555
|
"credits.js"
|
|
2235
2556
|
]
|
|
2236
2557
|
},
|
|
2558
|
+
"enterprise:generate-business-page": {
|
|
2559
|
+
"aliases": [],
|
|
2560
|
+
"args": {},
|
|
2561
|
+
"description": "Generate a hosted business page for verification",
|
|
2562
|
+
"examples": [
|
|
2563
|
+
"<%= config.bin %> enterprise generate-business-page --name \"Acme Services\" --use-case \"Appointment Reminders\"",
|
|
2564
|
+
"<%= config.bin %> enterprise generate-business-page --name \"Acme Services\" --email hello@acme.com --phone +15551234567"
|
|
2565
|
+
],
|
|
2566
|
+
"flags": {
|
|
2567
|
+
"json": {
|
|
2568
|
+
"description": "Output in JSON format",
|
|
2569
|
+
"name": "json",
|
|
2570
|
+
"allowNo": false,
|
|
2571
|
+
"type": "boolean"
|
|
2572
|
+
},
|
|
2573
|
+
"quiet": {
|
|
2574
|
+
"char": "q",
|
|
2575
|
+
"description": "Minimal output",
|
|
2576
|
+
"name": "quiet",
|
|
2577
|
+
"allowNo": false,
|
|
2578
|
+
"type": "boolean"
|
|
2579
|
+
},
|
|
2580
|
+
"name": {
|
|
2581
|
+
"char": "n",
|
|
2582
|
+
"description": "Business name (required)",
|
|
2583
|
+
"name": "name",
|
|
2584
|
+
"required": true,
|
|
2585
|
+
"hasDynamicHelp": false,
|
|
2586
|
+
"multiple": false,
|
|
2587
|
+
"type": "option"
|
|
2588
|
+
},
|
|
2589
|
+
"use-case": {
|
|
2590
|
+
"description": "Use case (e.g. Appointment Reminders)",
|
|
2591
|
+
"name": "use-case",
|
|
2592
|
+
"hasDynamicHelp": false,
|
|
2593
|
+
"multiple": false,
|
|
2594
|
+
"type": "option"
|
|
2595
|
+
},
|
|
2596
|
+
"summary": {
|
|
2597
|
+
"description": "Use case summary",
|
|
2598
|
+
"name": "summary",
|
|
2599
|
+
"hasDynamicHelp": false,
|
|
2600
|
+
"multiple": false,
|
|
2601
|
+
"type": "option"
|
|
2602
|
+
},
|
|
2603
|
+
"email": {
|
|
2604
|
+
"description": "Contact email",
|
|
2605
|
+
"name": "email",
|
|
2606
|
+
"hasDynamicHelp": false,
|
|
2607
|
+
"multiple": false,
|
|
2608
|
+
"type": "option"
|
|
2609
|
+
},
|
|
2610
|
+
"phone": {
|
|
2611
|
+
"description": "Contact phone",
|
|
2612
|
+
"name": "phone",
|
|
2613
|
+
"hasDynamicHelp": false,
|
|
2614
|
+
"multiple": false,
|
|
2615
|
+
"type": "option"
|
|
2616
|
+
},
|
|
2617
|
+
"address": {
|
|
2618
|
+
"description": "Business address",
|
|
2619
|
+
"name": "address",
|
|
2620
|
+
"hasDynamicHelp": false,
|
|
2621
|
+
"multiple": false,
|
|
2622
|
+
"type": "option"
|
|
2623
|
+
}
|
|
2624
|
+
},
|
|
2625
|
+
"hasDynamicHelp": false,
|
|
2626
|
+
"hiddenAliases": [],
|
|
2627
|
+
"id": "enterprise:generate-business-page",
|
|
2628
|
+
"pluginAlias": "@sendly/cli",
|
|
2629
|
+
"pluginName": "@sendly/cli",
|
|
2630
|
+
"pluginType": "core",
|
|
2631
|
+
"strict": true,
|
|
2632
|
+
"isESM": true,
|
|
2633
|
+
"relativePath": [
|
|
2634
|
+
"dist",
|
|
2635
|
+
"commands",
|
|
2636
|
+
"enterprise",
|
|
2637
|
+
"generate-business-page.js"
|
|
2638
|
+
]
|
|
2639
|
+
},
|
|
2237
2640
|
"enterprise:provision": {
|
|
2238
2641
|
"aliases": [],
|
|
2239
2642
|
"args": {},
|
|
@@ -2425,6 +2828,113 @@
|
|
|
2425
2828
|
"transfer-credits.js"
|
|
2426
2829
|
]
|
|
2427
2830
|
},
|
|
2831
|
+
"enterprise:upload-verification-document": {
|
|
2832
|
+
"aliases": [],
|
|
2833
|
+
"args": {},
|
|
2834
|
+
"description": "Upload a verification document (image or PDF)",
|
|
2835
|
+
"examples": [
|
|
2836
|
+
"<%= config.bin %> enterprise upload-verification-document --file ./ein-letter.png",
|
|
2837
|
+
"<%= config.bin %> enterprise upload-verification-document --file ./doc.pdf --workspace-id ws_123"
|
|
2838
|
+
],
|
|
2839
|
+
"flags": {
|
|
2840
|
+
"json": {
|
|
2841
|
+
"description": "Output in JSON format",
|
|
2842
|
+
"name": "json",
|
|
2843
|
+
"allowNo": false,
|
|
2844
|
+
"type": "boolean"
|
|
2845
|
+
},
|
|
2846
|
+
"quiet": {
|
|
2847
|
+
"char": "q",
|
|
2848
|
+
"description": "Minimal output",
|
|
2849
|
+
"name": "quiet",
|
|
2850
|
+
"allowNo": false,
|
|
2851
|
+
"type": "boolean"
|
|
2852
|
+
},
|
|
2853
|
+
"file": {
|
|
2854
|
+
"char": "f",
|
|
2855
|
+
"description": "Path to the file to upload (image or PDF)",
|
|
2856
|
+
"name": "file",
|
|
2857
|
+
"required": true,
|
|
2858
|
+
"hasDynamicHelp": false,
|
|
2859
|
+
"multiple": false,
|
|
2860
|
+
"type": "option"
|
|
2861
|
+
},
|
|
2862
|
+
"workspace-id": {
|
|
2863
|
+
"description": "Workspace ID to associate the document with",
|
|
2864
|
+
"name": "workspace-id",
|
|
2865
|
+
"hasDynamicHelp": false,
|
|
2866
|
+
"multiple": false,
|
|
2867
|
+
"type": "option"
|
|
2868
|
+
},
|
|
2869
|
+
"verification-id": {
|
|
2870
|
+
"description": "Verification ID to associate the document with",
|
|
2871
|
+
"name": "verification-id",
|
|
2872
|
+
"hasDynamicHelp": false,
|
|
2873
|
+
"multiple": false,
|
|
2874
|
+
"type": "option"
|
|
2875
|
+
}
|
|
2876
|
+
},
|
|
2877
|
+
"hasDynamicHelp": false,
|
|
2878
|
+
"hiddenAliases": [],
|
|
2879
|
+
"id": "enterprise:upload-verification-document",
|
|
2880
|
+
"pluginAlias": "@sendly/cli",
|
|
2881
|
+
"pluginName": "@sendly/cli",
|
|
2882
|
+
"pluginType": "core",
|
|
2883
|
+
"strict": true,
|
|
2884
|
+
"isESM": true,
|
|
2885
|
+
"relativePath": [
|
|
2886
|
+
"dist",
|
|
2887
|
+
"commands",
|
|
2888
|
+
"enterprise",
|
|
2889
|
+
"upload-verification-document.js"
|
|
2890
|
+
]
|
|
2891
|
+
},
|
|
2892
|
+
"events:listen": {
|
|
2893
|
+
"aliases": [],
|
|
2894
|
+
"args": {},
|
|
2895
|
+
"description": "Listen to real-time events via Server-Sent Events. Streams message deliveries, conversation updates, and more.",
|
|
2896
|
+
"examples": [
|
|
2897
|
+
"<%= config.bin %> events listen",
|
|
2898
|
+
"<%= config.bin %> events listen --types new_message,conversation_update",
|
|
2899
|
+
"<%= config.bin %> events listen --json"
|
|
2900
|
+
],
|
|
2901
|
+
"flags": {
|
|
2902
|
+
"json": {
|
|
2903
|
+
"description": "Output in JSON format",
|
|
2904
|
+
"name": "json",
|
|
2905
|
+
"allowNo": false,
|
|
2906
|
+
"type": "boolean"
|
|
2907
|
+
},
|
|
2908
|
+
"quiet": {
|
|
2909
|
+
"char": "q",
|
|
2910
|
+
"description": "Minimal output",
|
|
2911
|
+
"name": "quiet",
|
|
2912
|
+
"allowNo": false,
|
|
2913
|
+
"type": "boolean"
|
|
2914
|
+
},
|
|
2915
|
+
"types": {
|
|
2916
|
+
"description": "Comma-separated event types to filter (default: all)",
|
|
2917
|
+
"name": "types",
|
|
2918
|
+
"hasDynamicHelp": false,
|
|
2919
|
+
"multiple": false,
|
|
2920
|
+
"type": "option"
|
|
2921
|
+
}
|
|
2922
|
+
},
|
|
2923
|
+
"hasDynamicHelp": false,
|
|
2924
|
+
"hiddenAliases": [],
|
|
2925
|
+
"id": "events:listen",
|
|
2926
|
+
"pluginAlias": "@sendly/cli",
|
|
2927
|
+
"pluginName": "@sendly/cli",
|
|
2928
|
+
"pluginType": "core",
|
|
2929
|
+
"strict": true,
|
|
2930
|
+
"isESM": true,
|
|
2931
|
+
"relativePath": [
|
|
2932
|
+
"dist",
|
|
2933
|
+
"commands",
|
|
2934
|
+
"events",
|
|
2935
|
+
"listen.js"
|
|
2936
|
+
]
|
|
2937
|
+
},
|
|
2428
2938
|
"keys:create": {
|
|
2429
2939
|
"aliases": [],
|
|
2430
2940
|
"args": {},
|
|
@@ -2718,17 +3228,61 @@
|
|
|
2718
3228
|
"multiple": false,
|
|
2719
3229
|
"type": "option"
|
|
2720
3230
|
},
|
|
2721
|
-
"yes": {
|
|
2722
|
-
"char": "y",
|
|
2723
|
-
"description": "Skip confirmation prompt",
|
|
2724
|
-
"name": "yes",
|
|
3231
|
+
"yes": {
|
|
3232
|
+
"char": "y",
|
|
3233
|
+
"description": "Skip confirmation prompt",
|
|
3234
|
+
"name": "yes",
|
|
3235
|
+
"allowNo": false,
|
|
3236
|
+
"type": "boolean"
|
|
3237
|
+
}
|
|
3238
|
+
},
|
|
3239
|
+
"hasDynamicHelp": false,
|
|
3240
|
+
"hiddenAliases": [],
|
|
3241
|
+
"id": "keys:rotate",
|
|
3242
|
+
"pluginAlias": "@sendly/cli",
|
|
3243
|
+
"pluginName": "@sendly/cli",
|
|
3244
|
+
"pluginType": "core",
|
|
3245
|
+
"strict": true,
|
|
3246
|
+
"isESM": true,
|
|
3247
|
+
"relativePath": [
|
|
3248
|
+
"dist",
|
|
3249
|
+
"commands",
|
|
3250
|
+
"keys",
|
|
3251
|
+
"rotate.js"
|
|
3252
|
+
]
|
|
3253
|
+
},
|
|
3254
|
+
"keys:usage": {
|
|
3255
|
+
"aliases": [],
|
|
3256
|
+
"args": {
|
|
3257
|
+
"id": {
|
|
3258
|
+
"description": "API key ID",
|
|
3259
|
+
"name": "id",
|
|
3260
|
+
"required": true
|
|
3261
|
+
}
|
|
3262
|
+
},
|
|
3263
|
+
"description": "Get usage statistics for an API key",
|
|
3264
|
+
"examples": [
|
|
3265
|
+
"<%= config.bin %> keys usage KEY_ID",
|
|
3266
|
+
"<%= config.bin %> keys usage KEY_ID --json"
|
|
3267
|
+
],
|
|
3268
|
+
"flags": {
|
|
3269
|
+
"json": {
|
|
3270
|
+
"description": "Output in JSON format",
|
|
3271
|
+
"name": "json",
|
|
3272
|
+
"allowNo": false,
|
|
3273
|
+
"type": "boolean"
|
|
3274
|
+
},
|
|
3275
|
+
"quiet": {
|
|
3276
|
+
"char": "q",
|
|
3277
|
+
"description": "Minimal output",
|
|
3278
|
+
"name": "quiet",
|
|
2725
3279
|
"allowNo": false,
|
|
2726
3280
|
"type": "boolean"
|
|
2727
3281
|
}
|
|
2728
3282
|
},
|
|
2729
3283
|
"hasDynamicHelp": false,
|
|
2730
3284
|
"hiddenAliases": [],
|
|
2731
|
-
"id": "keys:
|
|
3285
|
+
"id": "keys:usage",
|
|
2732
3286
|
"pluginAlias": "@sendly/cli",
|
|
2733
3287
|
"pluginName": "@sendly/cli",
|
|
2734
3288
|
"pluginType": "core",
|
|
@@ -2738,22 +3292,27 @@
|
|
|
2738
3292
|
"dist",
|
|
2739
3293
|
"commands",
|
|
2740
3294
|
"keys",
|
|
2741
|
-
"
|
|
3295
|
+
"usage.js"
|
|
2742
3296
|
]
|
|
2743
3297
|
},
|
|
2744
|
-
"
|
|
3298
|
+
"labels:add": {
|
|
2745
3299
|
"aliases": [],
|
|
2746
3300
|
"args": {
|
|
2747
|
-
"
|
|
2748
|
-
"description": "
|
|
2749
|
-
"name": "
|
|
3301
|
+
"conversationId": {
|
|
3302
|
+
"description": "Conversation ID",
|
|
3303
|
+
"name": "conversationId",
|
|
3304
|
+
"required": true
|
|
3305
|
+
},
|
|
3306
|
+
"labelId": {
|
|
3307
|
+
"description": "Label ID",
|
|
3308
|
+
"name": "labelId",
|
|
2750
3309
|
"required": true
|
|
2751
3310
|
}
|
|
2752
3311
|
},
|
|
2753
|
-
"description": "
|
|
3312
|
+
"description": "Add a label to a conversation",
|
|
2754
3313
|
"examples": [
|
|
2755
|
-
"<%= config.bin %>
|
|
2756
|
-
"<%= config.bin %>
|
|
3314
|
+
"<%= config.bin %> labels add conv_abc123 lbl_def456",
|
|
3315
|
+
"<%= config.bin %> labels add conv_abc123 lbl_def456 --json"
|
|
2757
3316
|
],
|
|
2758
3317
|
"flags": {
|
|
2759
3318
|
"json": {
|
|
@@ -2772,7 +3331,7 @@
|
|
|
2772
3331
|
},
|
|
2773
3332
|
"hasDynamicHelp": false,
|
|
2774
3333
|
"hiddenAliases": [],
|
|
2775
|
-
"id": "
|
|
3334
|
+
"id": "labels:add",
|
|
2776
3335
|
"pluginAlias": "@sendly/cli",
|
|
2777
3336
|
"pluginName": "@sendly/cli",
|
|
2778
3337
|
"pluginType": "core",
|
|
@@ -2781,8 +3340,8 @@
|
|
|
2781
3340
|
"relativePath": [
|
|
2782
3341
|
"dist",
|
|
2783
3342
|
"commands",
|
|
2784
|
-
"
|
|
2785
|
-
"
|
|
3343
|
+
"labels",
|
|
3344
|
+
"add.js"
|
|
2786
3345
|
]
|
|
2787
3346
|
},
|
|
2788
3347
|
"labels:create": {
|
|
@@ -2967,6 +3526,55 @@
|
|
|
2967
3526
|
"list.js"
|
|
2968
3527
|
]
|
|
2969
3528
|
},
|
|
3529
|
+
"labels:remove": {
|
|
3530
|
+
"aliases": [],
|
|
3531
|
+
"args": {
|
|
3532
|
+
"conversationId": {
|
|
3533
|
+
"description": "Conversation ID",
|
|
3534
|
+
"name": "conversationId",
|
|
3535
|
+
"required": true
|
|
3536
|
+
},
|
|
3537
|
+
"labelId": {
|
|
3538
|
+
"description": "Label ID",
|
|
3539
|
+
"name": "labelId",
|
|
3540
|
+
"required": true
|
|
3541
|
+
}
|
|
3542
|
+
},
|
|
3543
|
+
"description": "Remove a label from a conversation",
|
|
3544
|
+
"examples": [
|
|
3545
|
+
"<%= config.bin %> labels remove conv_abc123 lbl_def456",
|
|
3546
|
+
"<%= config.bin %> labels remove conv_abc123 lbl_def456 --json"
|
|
3547
|
+
],
|
|
3548
|
+
"flags": {
|
|
3549
|
+
"json": {
|
|
3550
|
+
"description": "Output in JSON format",
|
|
3551
|
+
"name": "json",
|
|
3552
|
+
"allowNo": false,
|
|
3553
|
+
"type": "boolean"
|
|
3554
|
+
},
|
|
3555
|
+
"quiet": {
|
|
3556
|
+
"char": "q",
|
|
3557
|
+
"description": "Minimal output",
|
|
3558
|
+
"name": "quiet",
|
|
3559
|
+
"allowNo": false,
|
|
3560
|
+
"type": "boolean"
|
|
3561
|
+
}
|
|
3562
|
+
},
|
|
3563
|
+
"hasDynamicHelp": false,
|
|
3564
|
+
"hiddenAliases": [],
|
|
3565
|
+
"id": "labels:remove",
|
|
3566
|
+
"pluginAlias": "@sendly/cli",
|
|
3567
|
+
"pluginName": "@sendly/cli",
|
|
3568
|
+
"pluginType": "core",
|
|
3569
|
+
"strict": true,
|
|
3570
|
+
"isESM": true,
|
|
3571
|
+
"relativePath": [
|
|
3572
|
+
"dist",
|
|
3573
|
+
"commands",
|
|
3574
|
+
"labels",
|
|
3575
|
+
"remove.js"
|
|
3576
|
+
]
|
|
3577
|
+
},
|
|
2970
3578
|
"logs:tail": {
|
|
2971
3579
|
"aliases": [],
|
|
2972
3580
|
"args": {},
|
|
@@ -3030,6 +3638,169 @@
|
|
|
3030
3638
|
"tail.js"
|
|
3031
3639
|
]
|
|
3032
3640
|
},
|
|
3641
|
+
"rules:create": {
|
|
3642
|
+
"aliases": [],
|
|
3643
|
+
"args": {},
|
|
3644
|
+
"description": "Create an auto-labeling rule",
|
|
3645
|
+
"examples": [
|
|
3646
|
+
"<%= config.bin %> rules create --name \"Flag complaints\" --intent complaint --label label_abc",
|
|
3647
|
+
"<%= config.bin %> rules create --name \"Close opt-outs\" --intent opt_out --close",
|
|
3648
|
+
"<%= config.bin %> rules create --name \"Negative\" --sentiment negative --label label_xyz --priority 1"
|
|
3649
|
+
],
|
|
3650
|
+
"flags": {
|
|
3651
|
+
"json": {
|
|
3652
|
+
"description": "Output in JSON format",
|
|
3653
|
+
"name": "json",
|
|
3654
|
+
"allowNo": false,
|
|
3655
|
+
"type": "boolean"
|
|
3656
|
+
},
|
|
3657
|
+
"quiet": {
|
|
3658
|
+
"char": "q",
|
|
3659
|
+
"description": "Minimal output",
|
|
3660
|
+
"name": "quiet",
|
|
3661
|
+
"allowNo": false,
|
|
3662
|
+
"type": "boolean"
|
|
3663
|
+
},
|
|
3664
|
+
"name": {
|
|
3665
|
+
"description": "Rule name",
|
|
3666
|
+
"name": "name",
|
|
3667
|
+
"required": true,
|
|
3668
|
+
"hasDynamicHelp": false,
|
|
3669
|
+
"multiple": false,
|
|
3670
|
+
"type": "option"
|
|
3671
|
+
},
|
|
3672
|
+
"intent": {
|
|
3673
|
+
"description": "Match intent (question, appointment, complaint, order_status, feedback, opt_out, greeting, confirmation, other)",
|
|
3674
|
+
"name": "intent",
|
|
3675
|
+
"hasDynamicHelp": false,
|
|
3676
|
+
"multiple": true,
|
|
3677
|
+
"type": "option"
|
|
3678
|
+
},
|
|
3679
|
+
"sentiment": {
|
|
3680
|
+
"description": "Match sentiment (positive, neutral, negative)",
|
|
3681
|
+
"name": "sentiment",
|
|
3682
|
+
"hasDynamicHelp": false,
|
|
3683
|
+
"multiple": true,
|
|
3684
|
+
"type": "option"
|
|
3685
|
+
},
|
|
3686
|
+
"label": {
|
|
3687
|
+
"description": "Label ID to apply when rule matches",
|
|
3688
|
+
"name": "label",
|
|
3689
|
+
"hasDynamicHelp": false,
|
|
3690
|
+
"multiple": true,
|
|
3691
|
+
"type": "option"
|
|
3692
|
+
},
|
|
3693
|
+
"close": {
|
|
3694
|
+
"description": "Close the conversation when rule matches",
|
|
3695
|
+
"name": "close",
|
|
3696
|
+
"allowNo": false,
|
|
3697
|
+
"type": "boolean"
|
|
3698
|
+
},
|
|
3699
|
+
"priority": {
|
|
3700
|
+
"description": "Priority (lower runs first)",
|
|
3701
|
+
"name": "priority",
|
|
3702
|
+
"default": 0,
|
|
3703
|
+
"hasDynamicHelp": false,
|
|
3704
|
+
"multiple": false,
|
|
3705
|
+
"type": "option"
|
|
3706
|
+
}
|
|
3707
|
+
},
|
|
3708
|
+
"hasDynamicHelp": false,
|
|
3709
|
+
"hiddenAliases": [],
|
|
3710
|
+
"id": "rules:create",
|
|
3711
|
+
"pluginAlias": "@sendly/cli",
|
|
3712
|
+
"pluginName": "@sendly/cli",
|
|
3713
|
+
"pluginType": "core",
|
|
3714
|
+
"strict": true,
|
|
3715
|
+
"isESM": true,
|
|
3716
|
+
"relativePath": [
|
|
3717
|
+
"dist",
|
|
3718
|
+
"commands",
|
|
3719
|
+
"rules",
|
|
3720
|
+
"create.js"
|
|
3721
|
+
]
|
|
3722
|
+
},
|
|
3723
|
+
"rules:delete": {
|
|
3724
|
+
"aliases": [],
|
|
3725
|
+
"args": {
|
|
3726
|
+
"id": {
|
|
3727
|
+
"description": "Rule ID",
|
|
3728
|
+
"name": "id",
|
|
3729
|
+
"required": true
|
|
3730
|
+
}
|
|
3731
|
+
},
|
|
3732
|
+
"description": "Delete an auto-labeling rule",
|
|
3733
|
+
"examples": [
|
|
3734
|
+
"<%= config.bin %> rules delete rule_abc123"
|
|
3735
|
+
],
|
|
3736
|
+
"flags": {
|
|
3737
|
+
"json": {
|
|
3738
|
+
"description": "Output in JSON format",
|
|
3739
|
+
"name": "json",
|
|
3740
|
+
"allowNo": false,
|
|
3741
|
+
"type": "boolean"
|
|
3742
|
+
},
|
|
3743
|
+
"quiet": {
|
|
3744
|
+
"char": "q",
|
|
3745
|
+
"description": "Minimal output",
|
|
3746
|
+
"name": "quiet",
|
|
3747
|
+
"allowNo": false,
|
|
3748
|
+
"type": "boolean"
|
|
3749
|
+
}
|
|
3750
|
+
},
|
|
3751
|
+
"hasDynamicHelp": false,
|
|
3752
|
+
"hiddenAliases": [],
|
|
3753
|
+
"id": "rules:delete",
|
|
3754
|
+
"pluginAlias": "@sendly/cli",
|
|
3755
|
+
"pluginName": "@sendly/cli",
|
|
3756
|
+
"pluginType": "core",
|
|
3757
|
+
"strict": true,
|
|
3758
|
+
"isESM": true,
|
|
3759
|
+
"relativePath": [
|
|
3760
|
+
"dist",
|
|
3761
|
+
"commands",
|
|
3762
|
+
"rules",
|
|
3763
|
+
"delete.js"
|
|
3764
|
+
]
|
|
3765
|
+
},
|
|
3766
|
+
"rules": {
|
|
3767
|
+
"aliases": [],
|
|
3768
|
+
"args": {},
|
|
3769
|
+
"description": "List auto-labeling rules",
|
|
3770
|
+
"examples": [
|
|
3771
|
+
"<%= config.bin %> rules",
|
|
3772
|
+
"<%= config.bin %> rules --json"
|
|
3773
|
+
],
|
|
3774
|
+
"flags": {
|
|
3775
|
+
"json": {
|
|
3776
|
+
"description": "Output in JSON format",
|
|
3777
|
+
"name": "json",
|
|
3778
|
+
"allowNo": false,
|
|
3779
|
+
"type": "boolean"
|
|
3780
|
+
},
|
|
3781
|
+
"quiet": {
|
|
3782
|
+
"char": "q",
|
|
3783
|
+
"description": "Minimal output",
|
|
3784
|
+
"name": "quiet",
|
|
3785
|
+
"allowNo": false,
|
|
3786
|
+
"type": "boolean"
|
|
3787
|
+
}
|
|
3788
|
+
},
|
|
3789
|
+
"hasDynamicHelp": false,
|
|
3790
|
+
"hiddenAliases": [],
|
|
3791
|
+
"id": "rules",
|
|
3792
|
+
"pluginAlias": "@sendly/cli",
|
|
3793
|
+
"pluginName": "@sendly/cli",
|
|
3794
|
+
"pluginType": "core",
|
|
3795
|
+
"strict": true,
|
|
3796
|
+
"isESM": true,
|
|
3797
|
+
"relativePath": [
|
|
3798
|
+
"dist",
|
|
3799
|
+
"commands",
|
|
3800
|
+
"rules",
|
|
3801
|
+
"index.js"
|
|
3802
|
+
]
|
|
3803
|
+
},
|
|
3033
3804
|
"sms:batch": {
|
|
3034
3805
|
"aliases": [],
|
|
3035
3806
|
"args": {},
|
|
@@ -3328,12 +4099,13 @@
|
|
|
3328
4099
|
"sms:schedule": {
|
|
3329
4100
|
"aliases": [],
|
|
3330
4101
|
"args": {},
|
|
3331
|
-
"description": "Schedule an SMS message for future delivery",
|
|
4102
|
+
"description": "Schedule an SMS message for future delivery. Supports natural language dates like 'tomorrow at 9am' or 'in 2 hours'.",
|
|
3332
4103
|
"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 \"
|
|
4104
|
+
"<%= config.bin %> sms schedule --to +15551234567 --text \"Reminder!\" --at \"tomorrow at 9am\"",
|
|
4105
|
+
"<%= config.bin %> sms schedule --to +15551234567 --text \"Meeting soon\" --at \"in 2 hours\"",
|
|
4106
|
+
"<%= config.bin %> sms schedule --to +15551234567 --text \"Hello!\" --at \"next Monday 3pm\"",
|
|
4107
|
+
"<%= config.bin %> sms schedule --to +15551234567 --text \"Sale!\" --at \"2026-04-01T10:00:00Z\"",
|
|
4108
|
+
"<%= config.bin %> sms schedule --to +15551234567 --text \"Code: 123\" --at \"friday 5pm\" --type transactional"
|
|
3337
4109
|
],
|
|
3338
4110
|
"flags": {
|
|
3339
4111
|
"json": {
|
|
@@ -3353,7 +4125,6 @@
|
|
|
3353
4125
|
"char": "t",
|
|
3354
4126
|
"description": "Recipient phone number (E.164 format)",
|
|
3355
4127
|
"name": "to",
|
|
3356
|
-
"required": true,
|
|
3357
4128
|
"hasDynamicHelp": false,
|
|
3358
4129
|
"multiple": false,
|
|
3359
4130
|
"type": "option"
|
|
@@ -3362,16 +4133,14 @@
|
|
|
3362
4133
|
"char": "m",
|
|
3363
4134
|
"description": "Message text",
|
|
3364
4135
|
"name": "text",
|
|
3365
|
-
"required": true,
|
|
3366
4136
|
"hasDynamicHelp": false,
|
|
3367
4137
|
"multiple": false,
|
|
3368
4138
|
"type": "option"
|
|
3369
4139
|
},
|
|
3370
4140
|
"at": {
|
|
3371
4141
|
"char": "a",
|
|
3372
|
-
"description": "Scheduled time
|
|
4142
|
+
"description": "Scheduled time — ISO 8601 or natural language (\"tomorrow at 9am\", \"in 2 hours\", \"next Monday 3pm\")",
|
|
3373
4143
|
"name": "at",
|
|
3374
|
-
"required": true,
|
|
3375
4144
|
"hasDynamicHelp": false,
|
|
3376
4145
|
"multiple": false,
|
|
3377
4146
|
"type": "option"
|
|
@@ -3438,17 +4207,86 @@
|
|
|
3438
4207
|
},
|
|
3439
4208
|
"limit": {
|
|
3440
4209
|
"char": "l",
|
|
3441
|
-
"description": "Number of messages to show",
|
|
4210
|
+
"description": "Number of messages to show",
|
|
4211
|
+
"name": "limit",
|
|
4212
|
+
"default": 20,
|
|
4213
|
+
"hasDynamicHelp": false,
|
|
4214
|
+
"multiple": false,
|
|
4215
|
+
"type": "option"
|
|
4216
|
+
},
|
|
4217
|
+
"status": {
|
|
4218
|
+
"char": "s",
|
|
4219
|
+
"description": "Filter by status (scheduled, sent, cancelled, failed)",
|
|
4220
|
+
"name": "status",
|
|
4221
|
+
"hasDynamicHelp": false,
|
|
4222
|
+
"multiple": false,
|
|
4223
|
+
"type": "option"
|
|
4224
|
+
}
|
|
4225
|
+
},
|
|
4226
|
+
"hasDynamicHelp": false,
|
|
4227
|
+
"hiddenAliases": [],
|
|
4228
|
+
"id": "sms:scheduled",
|
|
4229
|
+
"pluginAlias": "@sendly/cli",
|
|
4230
|
+
"pluginName": "@sendly/cli",
|
|
4231
|
+
"pluginType": "core",
|
|
4232
|
+
"strict": true,
|
|
4233
|
+
"isESM": true,
|
|
4234
|
+
"relativePath": [
|
|
4235
|
+
"dist",
|
|
4236
|
+
"commands",
|
|
4237
|
+
"sms",
|
|
4238
|
+
"scheduled.js"
|
|
4239
|
+
]
|
|
4240
|
+
},
|
|
4241
|
+
"sms:search": {
|
|
4242
|
+
"aliases": [],
|
|
4243
|
+
"args": {
|
|
4244
|
+
"query": {
|
|
4245
|
+
"description": "Search query",
|
|
4246
|
+
"name": "query",
|
|
4247
|
+
"required": true
|
|
4248
|
+
}
|
|
4249
|
+
},
|
|
4250
|
+
"description": "Search messages by text content",
|
|
4251
|
+
"examples": [
|
|
4252
|
+
"<%= config.bin %> sms search \"verification code\"",
|
|
4253
|
+
"<%= config.bin %> sms search \"hello\" --limit 10",
|
|
4254
|
+
"<%= config.bin %> sms search \"order\" --json"
|
|
4255
|
+
],
|
|
4256
|
+
"flags": {
|
|
4257
|
+
"json": {
|
|
4258
|
+
"description": "Output in JSON format",
|
|
4259
|
+
"name": "json",
|
|
4260
|
+
"allowNo": false,
|
|
4261
|
+
"type": "boolean"
|
|
4262
|
+
},
|
|
4263
|
+
"quiet": {
|
|
4264
|
+
"char": "q",
|
|
4265
|
+
"description": "Minimal output",
|
|
4266
|
+
"name": "quiet",
|
|
4267
|
+
"allowNo": false,
|
|
4268
|
+
"type": "boolean"
|
|
4269
|
+
},
|
|
4270
|
+
"limit": {
|
|
4271
|
+
"char": "l",
|
|
4272
|
+
"description": "Number of results per page",
|
|
3442
4273
|
"name": "limit",
|
|
3443
4274
|
"default": 20,
|
|
3444
4275
|
"hasDynamicHelp": false,
|
|
3445
4276
|
"multiple": false,
|
|
3446
4277
|
"type": "option"
|
|
3447
4278
|
},
|
|
3448
|
-
"
|
|
3449
|
-
"char": "
|
|
3450
|
-
"description": "
|
|
3451
|
-
"name": "
|
|
4279
|
+
"page": {
|
|
4280
|
+
"char": "p",
|
|
4281
|
+
"description": "Page number (starts at 1)",
|
|
4282
|
+
"name": "page",
|
|
4283
|
+
"hasDynamicHelp": false,
|
|
4284
|
+
"multiple": false,
|
|
4285
|
+
"type": "option"
|
|
4286
|
+
},
|
|
4287
|
+
"offset": {
|
|
4288
|
+
"description": "Offset from start (alternative to --page)",
|
|
4289
|
+
"name": "offset",
|
|
3452
4290
|
"hasDynamicHelp": false,
|
|
3453
4291
|
"multiple": false,
|
|
3454
4292
|
"type": "option"
|
|
@@ -3456,7 +4294,7 @@
|
|
|
3456
4294
|
},
|
|
3457
4295
|
"hasDynamicHelp": false,
|
|
3458
4296
|
"hiddenAliases": [],
|
|
3459
|
-
"id": "sms:
|
|
4297
|
+
"id": "sms:search",
|
|
3460
4298
|
"pluginAlias": "@sendly/cli",
|
|
3461
4299
|
"pluginName": "@sendly/cli",
|
|
3462
4300
|
"pluginType": "core",
|
|
@@ -3466,7 +4304,7 @@
|
|
|
3466
4304
|
"dist",
|
|
3467
4305
|
"commands",
|
|
3468
4306
|
"sms",
|
|
3469
|
-
"
|
|
4307
|
+
"search.js"
|
|
3470
4308
|
]
|
|
3471
4309
|
},
|
|
3472
4310
|
"sms:send": {
|
|
@@ -3500,7 +4338,6 @@
|
|
|
3500
4338
|
"char": "t",
|
|
3501
4339
|
"description": "Recipient phone number (E.164 format)",
|
|
3502
4340
|
"name": "to",
|
|
3503
|
-
"required": true,
|
|
3504
4341
|
"hasDynamicHelp": false,
|
|
3505
4342
|
"multiple": false,
|
|
3506
4343
|
"type": "option"
|
|
@@ -4151,6 +4988,67 @@
|
|
|
4151
4988
|
"publish.js"
|
|
4152
4989
|
]
|
|
4153
4990
|
},
|
|
4991
|
+
"templates:update": {
|
|
4992
|
+
"aliases": [],
|
|
4993
|
+
"args": {
|
|
4994
|
+
"id": {
|
|
4995
|
+
"description": "Template ID",
|
|
4996
|
+
"name": "id",
|
|
4997
|
+
"required": true
|
|
4998
|
+
}
|
|
4999
|
+
},
|
|
5000
|
+
"description": "Update an SMS template",
|
|
5001
|
+
"examples": [
|
|
5002
|
+
"<%= config.bin %> templates update tmpl_abc123 --name \"Updated OTP\"",
|
|
5003
|
+
"<%= config.bin %> templates update tmpl_abc123 --text \"Your new code is {{code}}\"",
|
|
5004
|
+
"<%= config.bin %> templates update tmpl_abc123 --name \"Login V2\" --text \"{{code}} is your code\""
|
|
5005
|
+
],
|
|
5006
|
+
"flags": {
|
|
5007
|
+
"json": {
|
|
5008
|
+
"description": "Output in JSON format",
|
|
5009
|
+
"name": "json",
|
|
5010
|
+
"allowNo": false,
|
|
5011
|
+
"type": "boolean"
|
|
5012
|
+
},
|
|
5013
|
+
"quiet": {
|
|
5014
|
+
"char": "q",
|
|
5015
|
+
"description": "Minimal output",
|
|
5016
|
+
"name": "quiet",
|
|
5017
|
+
"allowNo": false,
|
|
5018
|
+
"type": "boolean"
|
|
5019
|
+
},
|
|
5020
|
+
"name": {
|
|
5021
|
+
"char": "n",
|
|
5022
|
+
"description": "Template name",
|
|
5023
|
+
"name": "name",
|
|
5024
|
+
"hasDynamicHelp": false,
|
|
5025
|
+
"multiple": false,
|
|
5026
|
+
"type": "option"
|
|
5027
|
+
},
|
|
5028
|
+
"text": {
|
|
5029
|
+
"char": "t",
|
|
5030
|
+
"description": "Message text (use {{code}} and {{app_name}} variables)",
|
|
5031
|
+
"name": "text",
|
|
5032
|
+
"hasDynamicHelp": false,
|
|
5033
|
+
"multiple": false,
|
|
5034
|
+
"type": "option"
|
|
5035
|
+
}
|
|
5036
|
+
},
|
|
5037
|
+
"hasDynamicHelp": false,
|
|
5038
|
+
"hiddenAliases": [],
|
|
5039
|
+
"id": "templates:update",
|
|
5040
|
+
"pluginAlias": "@sendly/cli",
|
|
5041
|
+
"pluginName": "@sendly/cli",
|
|
5042
|
+
"pluginType": "core",
|
|
5043
|
+
"strict": true,
|
|
5044
|
+
"isESM": true,
|
|
5045
|
+
"relativePath": [
|
|
5046
|
+
"dist",
|
|
5047
|
+
"commands",
|
|
5048
|
+
"templates",
|
|
5049
|
+
"update.js"
|
|
5050
|
+
]
|
|
5051
|
+
},
|
|
4154
5052
|
"verify:check": {
|
|
4155
5053
|
"aliases": [],
|
|
4156
5054
|
"args": {
|
|
@@ -4210,8 +5108,7 @@
|
|
|
4210
5108
|
"description": "List recent verifications",
|
|
4211
5109
|
"examples": [
|
|
4212
5110
|
"<%= config.bin %> verify list",
|
|
4213
|
-
"<%= config.bin %> verify list --limit
|
|
4214
|
-
"<%= config.bin %> verify list --page 2",
|
|
5111
|
+
"<%= config.bin %> verify list --limit 50",
|
|
4215
5112
|
"<%= config.bin %> verify list --status verified",
|
|
4216
5113
|
"<%= config.bin %> verify list --json"
|
|
4217
5114
|
],
|
|
@@ -4231,28 +5128,13 @@
|
|
|
4231
5128
|
},
|
|
4232
5129
|
"limit": {
|
|
4233
5130
|
"char": "l",
|
|
4234
|
-
"description": "Number of verifications
|
|
5131
|
+
"description": "Number of verifications to fetch (max 100)",
|
|
4235
5132
|
"name": "limit",
|
|
4236
5133
|
"default": 20,
|
|
4237
5134
|
"hasDynamicHelp": false,
|
|
4238
5135
|
"multiple": false,
|
|
4239
5136
|
"type": "option"
|
|
4240
5137
|
},
|
|
4241
|
-
"page": {
|
|
4242
|
-
"char": "p",
|
|
4243
|
-
"description": "Page number (starts at 1)",
|
|
4244
|
-
"name": "page",
|
|
4245
|
-
"hasDynamicHelp": false,
|
|
4246
|
-
"multiple": false,
|
|
4247
|
-
"type": "option"
|
|
4248
|
-
},
|
|
4249
|
-
"offset": {
|
|
4250
|
-
"description": "Offset from start (alternative to --page)",
|
|
4251
|
-
"name": "offset",
|
|
4252
|
-
"hasDynamicHelp": false,
|
|
4253
|
-
"multiple": false,
|
|
4254
|
-
"type": "option"
|
|
4255
|
-
},
|
|
4256
5138
|
"status": {
|
|
4257
5139
|
"char": "s",
|
|
4258
5140
|
"description": "Filter by status (pending, verified, expired, failed)",
|
|
@@ -4760,9 +5642,9 @@
|
|
|
4760
5642
|
},
|
|
4761
5643
|
"events": {
|
|
4762
5644
|
"char": "e",
|
|
4763
|
-
"description": "Comma-separated list of events to listen for",
|
|
5645
|
+
"description": "Comma-separated list of events to listen for. Default subscribes to all message.* and contact.* / contacts.* events so nothing is missed during local dev.",
|
|
4764
5646
|
"name": "events",
|
|
4765
|
-
"default": "message.sent,message.delivered,message.failed,message.bounced,message.retrying",
|
|
5647
|
+
"default": "message.sent,message.delivered,message.failed,message.bounced,message.retrying,message.received,message.opt_out,message.opt_in,contact.auto_flagged,contact.marked_valid,contacts.lookup_completed,contacts.bulk_marked_valid",
|
|
4766
5648
|
"hasDynamicHelp": false,
|
|
4767
5649
|
"multiple": false,
|
|
4768
5650
|
"type": "option"
|
|
@@ -5512,7 +6394,7 @@
|
|
|
5512
6394
|
"overview.js"
|
|
5513
6395
|
]
|
|
5514
6396
|
},
|
|
5515
|
-
"enterprise:
|
|
6397
|
+
"enterprise:keys:create": {
|
|
5516
6398
|
"aliases": [],
|
|
5517
6399
|
"args": {
|
|
5518
6400
|
"workspaceId": {
|
|
@@ -5521,10 +6403,10 @@
|
|
|
5521
6403
|
"required": true
|
|
5522
6404
|
}
|
|
5523
6405
|
},
|
|
5524
|
-
"description": "
|
|
6406
|
+
"description": "Create an API key for an enterprise workspace",
|
|
5525
6407
|
"examples": [
|
|
5526
|
-
"<%= config.bin %> enterprise
|
|
5527
|
-
"<%= config.bin %> enterprise
|
|
6408
|
+
"<%= config.bin %> enterprise keys create org_abc123 --name \"Production\"",
|
|
6409
|
+
"<%= config.bin %> enterprise keys create org_abc123 --name \"CI\" --type test"
|
|
5528
6410
|
],
|
|
5529
6411
|
"flags": {
|
|
5530
6412
|
"json": {
|
|
@@ -5539,11 +6421,33 @@
|
|
|
5539
6421
|
"name": "quiet",
|
|
5540
6422
|
"allowNo": false,
|
|
5541
6423
|
"type": "boolean"
|
|
6424
|
+
},
|
|
6425
|
+
"name": {
|
|
6426
|
+
"char": "n",
|
|
6427
|
+
"description": "Name for the API key",
|
|
6428
|
+
"name": "name",
|
|
6429
|
+
"required": true,
|
|
6430
|
+
"hasDynamicHelp": false,
|
|
6431
|
+
"multiple": false,
|
|
6432
|
+
"type": "option"
|
|
6433
|
+
},
|
|
6434
|
+
"type": {
|
|
6435
|
+
"char": "t",
|
|
6436
|
+
"description": "Key type (test or live)",
|
|
6437
|
+
"name": "type",
|
|
6438
|
+
"default": "live",
|
|
6439
|
+
"hasDynamicHelp": false,
|
|
6440
|
+
"multiple": false,
|
|
6441
|
+
"options": [
|
|
6442
|
+
"test",
|
|
6443
|
+
"live"
|
|
6444
|
+
],
|
|
6445
|
+
"type": "option"
|
|
5542
6446
|
}
|
|
5543
6447
|
},
|
|
5544
6448
|
"hasDynamicHelp": false,
|
|
5545
6449
|
"hiddenAliases": [],
|
|
5546
|
-
"id": "enterprise:
|
|
6450
|
+
"id": "enterprise:keys:create",
|
|
5547
6451
|
"pluginAlias": "@sendly/cli",
|
|
5548
6452
|
"pluginName": "@sendly/cli",
|
|
5549
6453
|
"pluginType": "core",
|
|
@@ -5553,11 +6457,11 @@
|
|
|
5553
6457
|
"dist",
|
|
5554
6458
|
"commands",
|
|
5555
6459
|
"enterprise",
|
|
5556
|
-
"
|
|
5557
|
-
"
|
|
6460
|
+
"keys",
|
|
6461
|
+
"create.js"
|
|
5558
6462
|
]
|
|
5559
6463
|
},
|
|
5560
|
-
"enterprise:
|
|
6464
|
+
"enterprise:keys:list": {
|
|
5561
6465
|
"aliases": [],
|
|
5562
6466
|
"args": {
|
|
5563
6467
|
"workspaceId": {
|
|
@@ -5566,12 +6470,10 @@
|
|
|
5566
6470
|
"required": true
|
|
5567
6471
|
}
|
|
5568
6472
|
},
|
|
5569
|
-
"description": "
|
|
6473
|
+
"description": "List API keys for an enterprise workspace",
|
|
5570
6474
|
"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"
|
|
6475
|
+
"<%= config.bin %> enterprise keys list org_abc123",
|
|
6476
|
+
"<%= config.bin %> enterprise keys list org_abc123 --json"
|
|
5575
6477
|
],
|
|
5576
6478
|
"flags": {
|
|
5577
6479
|
"json": {
|
|
@@ -5586,25 +6488,11 @@
|
|
|
5586
6488
|
"name": "quiet",
|
|
5587
6489
|
"allowNo": false,
|
|
5588
6490
|
"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
6491
|
}
|
|
5604
6492
|
},
|
|
5605
6493
|
"hasDynamicHelp": false,
|
|
5606
6494
|
"hiddenAliases": [],
|
|
5607
|
-
"id": "enterprise:
|
|
6495
|
+
"id": "enterprise:keys:list",
|
|
5608
6496
|
"pluginAlias": "@sendly/cli",
|
|
5609
6497
|
"pluginName": "@sendly/cli",
|
|
5610
6498
|
"pluginType": "core",
|
|
@@ -5614,23 +6502,28 @@
|
|
|
5614
6502
|
"dist",
|
|
5615
6503
|
"commands",
|
|
5616
6504
|
"enterprise",
|
|
5617
|
-
"
|
|
5618
|
-
"
|
|
6505
|
+
"keys",
|
|
6506
|
+
"list.js"
|
|
5619
6507
|
]
|
|
5620
6508
|
},
|
|
5621
|
-
"enterprise:keys:
|
|
6509
|
+
"enterprise:keys:revoke": {
|
|
5622
6510
|
"aliases": [],
|
|
5623
6511
|
"args": {
|
|
5624
6512
|
"workspaceId": {
|
|
5625
6513
|
"description": "Workspace ID",
|
|
5626
6514
|
"name": "workspaceId",
|
|
5627
6515
|
"required": true
|
|
6516
|
+
},
|
|
6517
|
+
"keyId": {
|
|
6518
|
+
"description": "API key ID to revoke",
|
|
6519
|
+
"name": "keyId",
|
|
6520
|
+
"required": true
|
|
5628
6521
|
}
|
|
5629
6522
|
},
|
|
5630
|
-
"description": "
|
|
6523
|
+
"description": "Revoke an API key for an enterprise workspace",
|
|
5631
6524
|
"examples": [
|
|
5632
|
-
"<%= config.bin %> enterprise keys
|
|
5633
|
-
"<%= config.bin %> enterprise keys
|
|
6525
|
+
"<%= config.bin %> enterprise keys revoke org_abc123 key_xyz",
|
|
6526
|
+
"<%= config.bin %> enterprise keys revoke org_abc123 key_xyz --yes"
|
|
5634
6527
|
],
|
|
5635
6528
|
"flags": {
|
|
5636
6529
|
"json": {
|
|
@@ -5646,32 +6539,17 @@
|
|
|
5646
6539
|
"allowNo": false,
|
|
5647
6540
|
"type": "boolean"
|
|
5648
6541
|
},
|
|
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"
|
|
6542
|
+
"yes": {
|
|
6543
|
+
"char": "y",
|
|
6544
|
+
"description": "Skip confirmation prompt",
|
|
6545
|
+
"name": "yes",
|
|
6546
|
+
"allowNo": false,
|
|
6547
|
+
"type": "boolean"
|
|
5670
6548
|
}
|
|
5671
6549
|
},
|
|
5672
6550
|
"hasDynamicHelp": false,
|
|
5673
6551
|
"hiddenAliases": [],
|
|
5674
|
-
"id": "enterprise:keys:
|
|
6552
|
+
"id": "enterprise:keys:revoke",
|
|
5675
6553
|
"pluginAlias": "@sendly/cli",
|
|
5676
6554
|
"pluginName": "@sendly/cli",
|
|
5677
6555
|
"pluginType": "core",
|
|
@@ -5682,10 +6560,10 @@
|
|
|
5682
6560
|
"commands",
|
|
5683
6561
|
"enterprise",
|
|
5684
6562
|
"keys",
|
|
5685
|
-
"
|
|
6563
|
+
"revoke.js"
|
|
5686
6564
|
]
|
|
5687
6565
|
},
|
|
5688
|
-
"enterprise:
|
|
6566
|
+
"enterprise:quota:get": {
|
|
5689
6567
|
"aliases": [],
|
|
5690
6568
|
"args": {
|
|
5691
6569
|
"workspaceId": {
|
|
@@ -5694,10 +6572,10 @@
|
|
|
5694
6572
|
"required": true
|
|
5695
6573
|
}
|
|
5696
6574
|
},
|
|
5697
|
-
"description": "
|
|
6575
|
+
"description": "Get message quota for an enterprise workspace",
|
|
5698
6576
|
"examples": [
|
|
5699
|
-
"<%= config.bin %> enterprise
|
|
5700
|
-
"<%= config.bin %> enterprise
|
|
6577
|
+
"<%= config.bin %> enterprise quota get org_abc123",
|
|
6578
|
+
"<%= config.bin %> enterprise quota get org_abc123 --json"
|
|
5701
6579
|
],
|
|
5702
6580
|
"flags": {
|
|
5703
6581
|
"json": {
|
|
@@ -5716,7 +6594,7 @@
|
|
|
5716
6594
|
},
|
|
5717
6595
|
"hasDynamicHelp": false,
|
|
5718
6596
|
"hiddenAliases": [],
|
|
5719
|
-
"id": "enterprise:
|
|
6597
|
+
"id": "enterprise:quota:get",
|
|
5720
6598
|
"pluginAlias": "@sendly/cli",
|
|
5721
6599
|
"pluginName": "@sendly/cli",
|
|
5722
6600
|
"pluginType": "core",
|
|
@@ -5726,28 +6604,25 @@
|
|
|
5726
6604
|
"dist",
|
|
5727
6605
|
"commands",
|
|
5728
6606
|
"enterprise",
|
|
5729
|
-
"
|
|
5730
|
-
"
|
|
6607
|
+
"quota",
|
|
6608
|
+
"get.js"
|
|
5731
6609
|
]
|
|
5732
6610
|
},
|
|
5733
|
-
"enterprise:
|
|
6611
|
+
"enterprise:quota:set": {
|
|
5734
6612
|
"aliases": [],
|
|
5735
6613
|
"args": {
|
|
5736
6614
|
"workspaceId": {
|
|
5737
6615
|
"description": "Workspace ID",
|
|
5738
6616
|
"name": "workspaceId",
|
|
5739
6617
|
"required": true
|
|
5740
|
-
},
|
|
5741
|
-
"keyId": {
|
|
5742
|
-
"description": "API key ID to revoke",
|
|
5743
|
-
"name": "keyId",
|
|
5744
|
-
"required": true
|
|
5745
6618
|
}
|
|
5746
6619
|
},
|
|
5747
|
-
"description": "
|
|
6620
|
+
"description": "Set message quota for an enterprise workspace",
|
|
5748
6621
|
"examples": [
|
|
5749
|
-
"<%= config.bin %> enterprise
|
|
5750
|
-
"<%= config.bin %> enterprise
|
|
6622
|
+
"<%= config.bin %> enterprise quota set org_abc123 --daily 1000",
|
|
6623
|
+
"<%= config.bin %> enterprise quota set org_abc123 --monthly 25000",
|
|
6624
|
+
"<%= config.bin %> enterprise quota set org_abc123 --daily 1000 --monthly 25000",
|
|
6625
|
+
"<%= config.bin %> enterprise quota set org_abc123 --daily unlimited"
|
|
5751
6626
|
],
|
|
5752
6627
|
"flags": {
|
|
5753
6628
|
"json": {
|
|
@@ -5763,17 +6638,24 @@
|
|
|
5763
6638
|
"allowNo": false,
|
|
5764
6639
|
"type": "boolean"
|
|
5765
6640
|
},
|
|
5766
|
-
"
|
|
5767
|
-
"
|
|
5768
|
-
"
|
|
5769
|
-
"
|
|
5770
|
-
"
|
|
5771
|
-
"type": "
|
|
6641
|
+
"daily": {
|
|
6642
|
+
"description": "Daily message limit (number or \"unlimited\")",
|
|
6643
|
+
"name": "daily",
|
|
6644
|
+
"hasDynamicHelp": false,
|
|
6645
|
+
"multiple": false,
|
|
6646
|
+
"type": "option"
|
|
6647
|
+
},
|
|
6648
|
+
"monthly": {
|
|
6649
|
+
"description": "Monthly message limit (number or \"unlimited\")",
|
|
6650
|
+
"name": "monthly",
|
|
6651
|
+
"hasDynamicHelp": false,
|
|
6652
|
+
"multiple": false,
|
|
6653
|
+
"type": "option"
|
|
5772
6654
|
}
|
|
5773
6655
|
},
|
|
5774
6656
|
"hasDynamicHelp": false,
|
|
5775
6657
|
"hiddenAliases": [],
|
|
5776
|
-
"id": "enterprise:
|
|
6658
|
+
"id": "enterprise:quota:set",
|
|
5777
6659
|
"pluginAlias": "@sendly/cli",
|
|
5778
6660
|
"pluginName": "@sendly/cli",
|
|
5779
6661
|
"pluginType": "core",
|
|
@@ -5783,8 +6665,8 @@
|
|
|
5783
6665
|
"dist",
|
|
5784
6666
|
"commands",
|
|
5785
6667
|
"enterprise",
|
|
5786
|
-
"
|
|
5787
|
-
"
|
|
6668
|
+
"quota",
|
|
6669
|
+
"set.js"
|
|
5788
6670
|
]
|
|
5789
6671
|
},
|
|
5790
6672
|
"enterprise:webhooks:delete": {
|
|
@@ -6254,5 +7136,5 @@
|
|
|
6254
7136
|
]
|
|
6255
7137
|
}
|
|
6256
7138
|
},
|
|
6257
|
-
"version": "3.
|
|
7139
|
+
"version": "3.29.0"
|
|
6258
7140
|
}
|