@wavyx/pdcli 0.1.0 → 0.2.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/CHANGELOG.md +21 -1
- package/README.md +46 -11
- package/oclif.manifest.json +2523 -240
- package/package.json +2 -1
- package/src/base-command.js +35 -5
- package/src/commands/activity/create.js +63 -0
- package/src/commands/activity/delete.js +39 -0
- package/src/commands/activity/get.js +2 -17
- package/src/commands/activity/update.js +89 -0
- package/src/commands/auth/login.js +102 -7
- package/src/commands/auth/logout.js +2 -1
- package/src/commands/auth/status.js +61 -13
- package/src/commands/deal/create.js +65 -0
- package/src/commands/deal/delete.js +39 -0
- package/src/commands/deal/get.js +2 -19
- package/src/commands/deal/update.js +79 -0
- package/src/commands/org/create.js +42 -0
- package/src/commands/org/delete.js +39 -0
- package/src/commands/org/get.js +2 -17
- package/src/commands/org/update.js +57 -0
- package/src/commands/person/create.js +54 -0
- package/src/commands/person/delete.js +39 -0
- package/src/commands/person/get.js +2 -17
- package/src/commands/person/update.js +69 -0
- package/src/commands/product/create.js +62 -0
- package/src/commands/product/delete.js +39 -0
- package/src/commands/product/get.js +26 -0
- package/src/commands/product/list.js +45 -0
- package/src/commands/product/update.js +77 -0
- package/src/lib/auth.js +227 -3
- package/src/lib/client.js +29 -6
- package/src/lib/confirm.js +10 -0
- package/src/lib/entity-view.js +37 -0
- package/src/lib/input.js +110 -0
- package/src/lib/keychain.js +47 -0
package/oclif.manifest.json
CHANGED
|
@@ -382,6 +382,282 @@
|
|
|
382
382
|
"version.js"
|
|
383
383
|
]
|
|
384
384
|
},
|
|
385
|
+
"activity:create": {
|
|
386
|
+
"aliases": [],
|
|
387
|
+
"args": {},
|
|
388
|
+
"description": "Create an activity",
|
|
389
|
+
"examples": [
|
|
390
|
+
"<%= config.bin %> activity create --subject \"Demo call\" --type call --due-date 2026-06-10",
|
|
391
|
+
"<%= config.bin %> activity create --subject \"Follow up\" --field \"Outcome=Positive\"",
|
|
392
|
+
"<%= config.bin %> activity create --subject \"Raw\" --body '{\"priority\":5}'"
|
|
393
|
+
],
|
|
394
|
+
"flags": {
|
|
395
|
+
"output": {
|
|
396
|
+
"char": "o",
|
|
397
|
+
"description": "Output format",
|
|
398
|
+
"helpGroup": "GLOBAL",
|
|
399
|
+
"name": "output",
|
|
400
|
+
"hasDynamicHelp": false,
|
|
401
|
+
"multiple": false,
|
|
402
|
+
"options": [
|
|
403
|
+
"table",
|
|
404
|
+
"json"
|
|
405
|
+
],
|
|
406
|
+
"type": "option"
|
|
407
|
+
},
|
|
408
|
+
"profile": {
|
|
409
|
+
"description": "Named auth profile to use",
|
|
410
|
+
"env": "PDCLI_PROFILE",
|
|
411
|
+
"helpGroup": "GLOBAL",
|
|
412
|
+
"name": "profile",
|
|
413
|
+
"hasDynamicHelp": false,
|
|
414
|
+
"multiple": false,
|
|
415
|
+
"type": "option"
|
|
416
|
+
},
|
|
417
|
+
"no-color": {
|
|
418
|
+
"description": "Disable color output",
|
|
419
|
+
"helpGroup": "GLOBAL",
|
|
420
|
+
"name": "no-color",
|
|
421
|
+
"allowNo": false,
|
|
422
|
+
"type": "boolean"
|
|
423
|
+
},
|
|
424
|
+
"verbose": {
|
|
425
|
+
"description": "Show detailed API request/response on errors",
|
|
426
|
+
"helpGroup": "GLOBAL",
|
|
427
|
+
"name": "verbose",
|
|
428
|
+
"allowNo": false,
|
|
429
|
+
"type": "boolean"
|
|
430
|
+
},
|
|
431
|
+
"no-retry": {
|
|
432
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
433
|
+
"helpGroup": "GLOBAL",
|
|
434
|
+
"name": "no-retry",
|
|
435
|
+
"allowNo": false,
|
|
436
|
+
"type": "boolean"
|
|
437
|
+
},
|
|
438
|
+
"timeout": {
|
|
439
|
+
"description": "Request timeout in milliseconds",
|
|
440
|
+
"helpGroup": "GLOBAL",
|
|
441
|
+
"name": "timeout",
|
|
442
|
+
"hasDynamicHelp": false,
|
|
443
|
+
"multiple": false,
|
|
444
|
+
"type": "option"
|
|
445
|
+
},
|
|
446
|
+
"limit": {
|
|
447
|
+
"description": "Maximum number of items to return (lists)",
|
|
448
|
+
"helpGroup": "GLOBAL",
|
|
449
|
+
"name": "limit",
|
|
450
|
+
"hasDynamicHelp": false,
|
|
451
|
+
"multiple": false,
|
|
452
|
+
"type": "option"
|
|
453
|
+
},
|
|
454
|
+
"subject": {
|
|
455
|
+
"description": "Activity subject",
|
|
456
|
+
"name": "subject",
|
|
457
|
+
"required": true,
|
|
458
|
+
"hasDynamicHelp": false,
|
|
459
|
+
"multiple": false,
|
|
460
|
+
"type": "option"
|
|
461
|
+
},
|
|
462
|
+
"type": {
|
|
463
|
+
"description": "Activity type",
|
|
464
|
+
"name": "type",
|
|
465
|
+
"default": "task",
|
|
466
|
+
"hasDynamicHelp": false,
|
|
467
|
+
"multiple": false,
|
|
468
|
+
"type": "option"
|
|
469
|
+
},
|
|
470
|
+
"due-date": {
|
|
471
|
+
"description": "Due date (YYYY-MM-DD)",
|
|
472
|
+
"name": "due-date",
|
|
473
|
+
"hasDynamicHelp": false,
|
|
474
|
+
"multiple": false,
|
|
475
|
+
"type": "option"
|
|
476
|
+
},
|
|
477
|
+
"due-time": {
|
|
478
|
+
"description": "Due time (HH:MM)",
|
|
479
|
+
"name": "due-time",
|
|
480
|
+
"hasDynamicHelp": false,
|
|
481
|
+
"multiple": false,
|
|
482
|
+
"type": "option"
|
|
483
|
+
},
|
|
484
|
+
"duration": {
|
|
485
|
+
"description": "Duration (HH:MM)",
|
|
486
|
+
"name": "duration",
|
|
487
|
+
"hasDynamicHelp": false,
|
|
488
|
+
"multiple": false,
|
|
489
|
+
"type": "option"
|
|
490
|
+
},
|
|
491
|
+
"deal": {
|
|
492
|
+
"description": "Linked deal ID",
|
|
493
|
+
"name": "deal",
|
|
494
|
+
"hasDynamicHelp": false,
|
|
495
|
+
"multiple": false,
|
|
496
|
+
"type": "option"
|
|
497
|
+
},
|
|
498
|
+
"person": {
|
|
499
|
+
"description": "Linked person ID",
|
|
500
|
+
"name": "person",
|
|
501
|
+
"hasDynamicHelp": false,
|
|
502
|
+
"multiple": false,
|
|
503
|
+
"type": "option"
|
|
504
|
+
},
|
|
505
|
+
"org": {
|
|
506
|
+
"description": "Linked organization ID",
|
|
507
|
+
"name": "org",
|
|
508
|
+
"hasDynamicHelp": false,
|
|
509
|
+
"multiple": false,
|
|
510
|
+
"type": "option"
|
|
511
|
+
},
|
|
512
|
+
"owner": {
|
|
513
|
+
"description": "Owner (user) ID",
|
|
514
|
+
"name": "owner",
|
|
515
|
+
"hasDynamicHelp": false,
|
|
516
|
+
"multiple": false,
|
|
517
|
+
"type": "option"
|
|
518
|
+
},
|
|
519
|
+
"note": {
|
|
520
|
+
"description": "Activity note",
|
|
521
|
+
"name": "note",
|
|
522
|
+
"hasDynamicHelp": false,
|
|
523
|
+
"multiple": false,
|
|
524
|
+
"type": "option"
|
|
525
|
+
},
|
|
526
|
+
"done": {
|
|
527
|
+
"description": "Mark the activity as done",
|
|
528
|
+
"name": "done",
|
|
529
|
+
"allowNo": false,
|
|
530
|
+
"type": "boolean"
|
|
531
|
+
},
|
|
532
|
+
"field": {
|
|
533
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
534
|
+
"name": "field",
|
|
535
|
+
"hasDynamicHelp": false,
|
|
536
|
+
"multiple": true,
|
|
537
|
+
"type": "option"
|
|
538
|
+
},
|
|
539
|
+
"body": {
|
|
540
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
541
|
+
"name": "body",
|
|
542
|
+
"hasDynamicHelp": false,
|
|
543
|
+
"multiple": false,
|
|
544
|
+
"type": "option"
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
"hasDynamicHelp": false,
|
|
548
|
+
"hiddenAliases": [],
|
|
549
|
+
"id": "activity:create",
|
|
550
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
551
|
+
"pluginName": "@wavyx/pdcli",
|
|
552
|
+
"pluginType": "core",
|
|
553
|
+
"strict": true,
|
|
554
|
+
"enableJsonFlag": false,
|
|
555
|
+
"isESM": true,
|
|
556
|
+
"relativePath": [
|
|
557
|
+
"src",
|
|
558
|
+
"commands",
|
|
559
|
+
"activity",
|
|
560
|
+
"create.js"
|
|
561
|
+
]
|
|
562
|
+
},
|
|
563
|
+
"activity:delete": {
|
|
564
|
+
"aliases": [],
|
|
565
|
+
"args": {
|
|
566
|
+
"id": {
|
|
567
|
+
"description": "Activity ID",
|
|
568
|
+
"name": "id",
|
|
569
|
+
"required": true
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
"description": "Delete an activity",
|
|
573
|
+
"examples": [
|
|
574
|
+
"<%= config.bin %> activity delete 9",
|
|
575
|
+
"<%= config.bin %> activity delete 9 --yes"
|
|
576
|
+
],
|
|
577
|
+
"flags": {
|
|
578
|
+
"output": {
|
|
579
|
+
"char": "o",
|
|
580
|
+
"description": "Output format",
|
|
581
|
+
"helpGroup": "GLOBAL",
|
|
582
|
+
"name": "output",
|
|
583
|
+
"hasDynamicHelp": false,
|
|
584
|
+
"multiple": false,
|
|
585
|
+
"options": [
|
|
586
|
+
"table",
|
|
587
|
+
"json"
|
|
588
|
+
],
|
|
589
|
+
"type": "option"
|
|
590
|
+
},
|
|
591
|
+
"profile": {
|
|
592
|
+
"description": "Named auth profile to use",
|
|
593
|
+
"env": "PDCLI_PROFILE",
|
|
594
|
+
"helpGroup": "GLOBAL",
|
|
595
|
+
"name": "profile",
|
|
596
|
+
"hasDynamicHelp": false,
|
|
597
|
+
"multiple": false,
|
|
598
|
+
"type": "option"
|
|
599
|
+
},
|
|
600
|
+
"no-color": {
|
|
601
|
+
"description": "Disable color output",
|
|
602
|
+
"helpGroup": "GLOBAL",
|
|
603
|
+
"name": "no-color",
|
|
604
|
+
"allowNo": false,
|
|
605
|
+
"type": "boolean"
|
|
606
|
+
},
|
|
607
|
+
"verbose": {
|
|
608
|
+
"description": "Show detailed API request/response on errors",
|
|
609
|
+
"helpGroup": "GLOBAL",
|
|
610
|
+
"name": "verbose",
|
|
611
|
+
"allowNo": false,
|
|
612
|
+
"type": "boolean"
|
|
613
|
+
},
|
|
614
|
+
"no-retry": {
|
|
615
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
616
|
+
"helpGroup": "GLOBAL",
|
|
617
|
+
"name": "no-retry",
|
|
618
|
+
"allowNo": false,
|
|
619
|
+
"type": "boolean"
|
|
620
|
+
},
|
|
621
|
+
"timeout": {
|
|
622
|
+
"description": "Request timeout in milliseconds",
|
|
623
|
+
"helpGroup": "GLOBAL",
|
|
624
|
+
"name": "timeout",
|
|
625
|
+
"hasDynamicHelp": false,
|
|
626
|
+
"multiple": false,
|
|
627
|
+
"type": "option"
|
|
628
|
+
},
|
|
629
|
+
"limit": {
|
|
630
|
+
"description": "Maximum number of items to return (lists)",
|
|
631
|
+
"helpGroup": "GLOBAL",
|
|
632
|
+
"name": "limit",
|
|
633
|
+
"hasDynamicHelp": false,
|
|
634
|
+
"multiple": false,
|
|
635
|
+
"type": "option"
|
|
636
|
+
},
|
|
637
|
+
"yes": {
|
|
638
|
+
"char": "y",
|
|
639
|
+
"description": "Skip the confirmation prompt",
|
|
640
|
+
"name": "yes",
|
|
641
|
+
"allowNo": false,
|
|
642
|
+
"type": "boolean"
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
"hasDynamicHelp": false,
|
|
646
|
+
"hiddenAliases": [],
|
|
647
|
+
"id": "activity:delete",
|
|
648
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
649
|
+
"pluginName": "@wavyx/pdcli",
|
|
650
|
+
"pluginType": "core",
|
|
651
|
+
"strict": true,
|
|
652
|
+
"enableJsonFlag": false,
|
|
653
|
+
"isESM": true,
|
|
654
|
+
"relativePath": [
|
|
655
|
+
"src",
|
|
656
|
+
"commands",
|
|
657
|
+
"activity",
|
|
658
|
+
"delete.js"
|
|
659
|
+
]
|
|
660
|
+
},
|
|
385
661
|
"activity:get": {
|
|
386
662
|
"aliases": [],
|
|
387
663
|
"args": {
|
|
@@ -612,14 +888,20 @@
|
|
|
612
888
|
"list.js"
|
|
613
889
|
]
|
|
614
890
|
},
|
|
615
|
-
"
|
|
891
|
+
"activity:update": {
|
|
616
892
|
"aliases": [],
|
|
617
|
-
"args": {
|
|
618
|
-
|
|
893
|
+
"args": {
|
|
894
|
+
"id": {
|
|
895
|
+
"description": "Activity ID",
|
|
896
|
+
"name": "id",
|
|
897
|
+
"required": true
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
"description": "Update an activity (v2 PATCH — only provided fields change)",
|
|
619
901
|
"examples": [
|
|
620
|
-
"<%= config.bin %>
|
|
621
|
-
"<%= config.bin %>
|
|
622
|
-
"<%= config.bin %>
|
|
902
|
+
"<%= config.bin %> activity update 9 --subject \"Renamed\"",
|
|
903
|
+
"<%= config.bin %> activity update 9 --done",
|
|
904
|
+
"<%= config.bin %> activity update 9 --field \"Outcome=Positive\""
|
|
623
905
|
],
|
|
624
906
|
"flags": {
|
|
625
907
|
"output": {
|
|
@@ -681,23 +963,249 @@
|
|
|
681
963
|
"multiple": false,
|
|
682
964
|
"type": "option"
|
|
683
965
|
},
|
|
684
|
-
"
|
|
685
|
-
"description": "
|
|
686
|
-
"name": "
|
|
966
|
+
"subject": {
|
|
967
|
+
"description": "Activity subject",
|
|
968
|
+
"name": "subject",
|
|
687
969
|
"hasDynamicHelp": false,
|
|
688
970
|
"multiple": false,
|
|
689
971
|
"type": "option"
|
|
690
972
|
},
|
|
691
|
-
"
|
|
692
|
-
"description": "
|
|
693
|
-
"name": "
|
|
973
|
+
"type": {
|
|
974
|
+
"description": "Activity type",
|
|
975
|
+
"name": "type",
|
|
694
976
|
"hasDynamicHelp": false,
|
|
695
977
|
"multiple": false,
|
|
696
978
|
"type": "option"
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
979
|
+
},
|
|
980
|
+
"due-date": {
|
|
981
|
+
"description": "Due date (YYYY-MM-DD)",
|
|
982
|
+
"name": "due-date",
|
|
983
|
+
"hasDynamicHelp": false,
|
|
984
|
+
"multiple": false,
|
|
985
|
+
"type": "option"
|
|
986
|
+
},
|
|
987
|
+
"due-time": {
|
|
988
|
+
"description": "Due time (HH:MM)",
|
|
989
|
+
"name": "due-time",
|
|
990
|
+
"hasDynamicHelp": false,
|
|
991
|
+
"multiple": false,
|
|
992
|
+
"type": "option"
|
|
993
|
+
},
|
|
994
|
+
"duration": {
|
|
995
|
+
"description": "Duration (HH:MM)",
|
|
996
|
+
"name": "duration",
|
|
997
|
+
"hasDynamicHelp": false,
|
|
998
|
+
"multiple": false,
|
|
999
|
+
"type": "option"
|
|
1000
|
+
},
|
|
1001
|
+
"deal": {
|
|
1002
|
+
"description": "Linked deal ID",
|
|
1003
|
+
"name": "deal",
|
|
1004
|
+
"hasDynamicHelp": false,
|
|
1005
|
+
"multiple": false,
|
|
1006
|
+
"type": "option"
|
|
1007
|
+
},
|
|
1008
|
+
"person": {
|
|
1009
|
+
"description": "Linked person ID",
|
|
1010
|
+
"name": "person",
|
|
1011
|
+
"hasDynamicHelp": false,
|
|
1012
|
+
"multiple": false,
|
|
1013
|
+
"type": "option"
|
|
1014
|
+
},
|
|
1015
|
+
"org": {
|
|
1016
|
+
"description": "Linked organization ID",
|
|
1017
|
+
"name": "org",
|
|
1018
|
+
"hasDynamicHelp": false,
|
|
1019
|
+
"multiple": false,
|
|
1020
|
+
"type": "option"
|
|
1021
|
+
},
|
|
1022
|
+
"owner": {
|
|
1023
|
+
"description": "Owner (user) ID",
|
|
1024
|
+
"name": "owner",
|
|
1025
|
+
"hasDynamicHelp": false,
|
|
1026
|
+
"multiple": false,
|
|
1027
|
+
"type": "option"
|
|
1028
|
+
},
|
|
1029
|
+
"note": {
|
|
1030
|
+
"description": "Activity note",
|
|
1031
|
+
"name": "note",
|
|
1032
|
+
"hasDynamicHelp": false,
|
|
1033
|
+
"multiple": false,
|
|
1034
|
+
"type": "option"
|
|
1035
|
+
},
|
|
1036
|
+
"done": {
|
|
1037
|
+
"description": "Mark the activity as done",
|
|
1038
|
+
"exclusive": [
|
|
1039
|
+
"undone"
|
|
1040
|
+
],
|
|
1041
|
+
"name": "done",
|
|
1042
|
+
"allowNo": false,
|
|
1043
|
+
"type": "boolean"
|
|
1044
|
+
},
|
|
1045
|
+
"undone": {
|
|
1046
|
+
"description": "Mark the activity as not done",
|
|
1047
|
+
"exclusive": [
|
|
1048
|
+
"done"
|
|
1049
|
+
],
|
|
1050
|
+
"name": "undone",
|
|
1051
|
+
"allowNo": false,
|
|
1052
|
+
"type": "boolean"
|
|
1053
|
+
},
|
|
1054
|
+
"field": {
|
|
1055
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
1056
|
+
"name": "field",
|
|
1057
|
+
"hasDynamicHelp": false,
|
|
1058
|
+
"multiple": true,
|
|
1059
|
+
"type": "option"
|
|
1060
|
+
},
|
|
1061
|
+
"body": {
|
|
1062
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
1063
|
+
"name": "body",
|
|
1064
|
+
"hasDynamicHelp": false,
|
|
1065
|
+
"multiple": false,
|
|
1066
|
+
"type": "option"
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
"hasDynamicHelp": false,
|
|
1070
|
+
"hiddenAliases": [],
|
|
1071
|
+
"id": "activity:update",
|
|
1072
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
1073
|
+
"pluginName": "@wavyx/pdcli",
|
|
1074
|
+
"pluginType": "core",
|
|
1075
|
+
"strict": true,
|
|
1076
|
+
"enableJsonFlag": false,
|
|
1077
|
+
"isESM": true,
|
|
1078
|
+
"relativePath": [
|
|
1079
|
+
"src",
|
|
1080
|
+
"commands",
|
|
1081
|
+
"activity",
|
|
1082
|
+
"update.js"
|
|
1083
|
+
]
|
|
1084
|
+
},
|
|
1085
|
+
"auth:login": {
|
|
1086
|
+
"aliases": [],
|
|
1087
|
+
"args": {},
|
|
1088
|
+
"description": "Authenticate with Pipedrive (personal API token, or OAuth with --oauth)",
|
|
1089
|
+
"examples": [
|
|
1090
|
+
"<%= config.bin %> auth login",
|
|
1091
|
+
"<%= config.bin %> auth login --company acme --api-token <token>",
|
|
1092
|
+
"<%= config.bin %> auth login --oauth",
|
|
1093
|
+
"<%= config.bin %> auth login --oauth --client-id <id> --client-secret <secret>"
|
|
1094
|
+
],
|
|
1095
|
+
"flags": {
|
|
1096
|
+
"output": {
|
|
1097
|
+
"char": "o",
|
|
1098
|
+
"description": "Output format",
|
|
1099
|
+
"helpGroup": "GLOBAL",
|
|
1100
|
+
"name": "output",
|
|
1101
|
+
"hasDynamicHelp": false,
|
|
1102
|
+
"multiple": false,
|
|
1103
|
+
"options": [
|
|
1104
|
+
"table",
|
|
1105
|
+
"json"
|
|
1106
|
+
],
|
|
1107
|
+
"type": "option"
|
|
1108
|
+
},
|
|
1109
|
+
"profile": {
|
|
1110
|
+
"description": "Named auth profile to use",
|
|
1111
|
+
"env": "PDCLI_PROFILE",
|
|
1112
|
+
"helpGroup": "GLOBAL",
|
|
1113
|
+
"name": "profile",
|
|
1114
|
+
"hasDynamicHelp": false,
|
|
1115
|
+
"multiple": false,
|
|
1116
|
+
"type": "option"
|
|
1117
|
+
},
|
|
1118
|
+
"no-color": {
|
|
1119
|
+
"description": "Disable color output",
|
|
1120
|
+
"helpGroup": "GLOBAL",
|
|
1121
|
+
"name": "no-color",
|
|
1122
|
+
"allowNo": false,
|
|
1123
|
+
"type": "boolean"
|
|
1124
|
+
},
|
|
1125
|
+
"verbose": {
|
|
1126
|
+
"description": "Show detailed API request/response on errors",
|
|
1127
|
+
"helpGroup": "GLOBAL",
|
|
1128
|
+
"name": "verbose",
|
|
1129
|
+
"allowNo": false,
|
|
1130
|
+
"type": "boolean"
|
|
1131
|
+
},
|
|
1132
|
+
"no-retry": {
|
|
1133
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
1134
|
+
"helpGroup": "GLOBAL",
|
|
1135
|
+
"name": "no-retry",
|
|
1136
|
+
"allowNo": false,
|
|
1137
|
+
"type": "boolean"
|
|
1138
|
+
},
|
|
1139
|
+
"timeout": {
|
|
1140
|
+
"description": "Request timeout in milliseconds",
|
|
1141
|
+
"helpGroup": "GLOBAL",
|
|
1142
|
+
"name": "timeout",
|
|
1143
|
+
"hasDynamicHelp": false,
|
|
1144
|
+
"multiple": false,
|
|
1145
|
+
"type": "option"
|
|
1146
|
+
},
|
|
1147
|
+
"limit": {
|
|
1148
|
+
"description": "Maximum number of items to return (lists)",
|
|
1149
|
+
"helpGroup": "GLOBAL",
|
|
1150
|
+
"name": "limit",
|
|
1151
|
+
"hasDynamicHelp": false,
|
|
1152
|
+
"multiple": false,
|
|
1153
|
+
"type": "option"
|
|
1154
|
+
},
|
|
1155
|
+
"company": {
|
|
1156
|
+
"description": "Company domain (\"acme\" from acme.pipedrive.com — full URL accepted)",
|
|
1157
|
+
"name": "company",
|
|
1158
|
+
"hasDynamicHelp": false,
|
|
1159
|
+
"multiple": false,
|
|
1160
|
+
"type": "option"
|
|
1161
|
+
},
|
|
1162
|
+
"api-token": {
|
|
1163
|
+
"description": "Personal API token (app.pipedrive.com/settings/api). Prefer the prompt or env so the token stays out of shell history",
|
|
1164
|
+
"name": "api-token",
|
|
1165
|
+
"hasDynamicHelp": false,
|
|
1166
|
+
"multiple": false,
|
|
1167
|
+
"type": "option"
|
|
1168
|
+
},
|
|
1169
|
+
"oauth": {
|
|
1170
|
+
"description": "Use OAuth 2.0 via your own Developer Hub app (browser flow)",
|
|
1171
|
+
"name": "oauth",
|
|
1172
|
+
"allowNo": false,
|
|
1173
|
+
"type": "boolean"
|
|
1174
|
+
},
|
|
1175
|
+
"client-id": {
|
|
1176
|
+
"dependsOn": [
|
|
1177
|
+
"oauth"
|
|
1178
|
+
],
|
|
1179
|
+
"description": "OAuth app client ID (--oauth; env PDCLI_CLIENT_ID)",
|
|
1180
|
+
"name": "client-id",
|
|
1181
|
+
"hasDynamicHelp": false,
|
|
1182
|
+
"multiple": false,
|
|
1183
|
+
"type": "option"
|
|
1184
|
+
},
|
|
1185
|
+
"client-secret": {
|
|
1186
|
+
"dependsOn": [
|
|
1187
|
+
"oauth"
|
|
1188
|
+
],
|
|
1189
|
+
"description": "OAuth app client secret (--oauth; env PDCLI_CLIENT_SECRET)",
|
|
1190
|
+
"name": "client-secret",
|
|
1191
|
+
"hasDynamicHelp": false,
|
|
1192
|
+
"multiple": false,
|
|
1193
|
+
"type": "option"
|
|
1194
|
+
},
|
|
1195
|
+
"port": {
|
|
1196
|
+
"dependsOn": [
|
|
1197
|
+
"oauth"
|
|
1198
|
+
],
|
|
1199
|
+
"description": "OAuth callback port — must match the app's registered callback URL (--oauth)",
|
|
1200
|
+
"name": "port",
|
|
1201
|
+
"default": 9999,
|
|
1202
|
+
"hasDynamicHelp": false,
|
|
1203
|
+
"multiple": false,
|
|
1204
|
+
"type": "option"
|
|
1205
|
+
}
|
|
1206
|
+
},
|
|
1207
|
+
"hasDynamicHelp": false,
|
|
1208
|
+
"hiddenAliases": [],
|
|
701
1209
|
"id": "auth:login",
|
|
702
1210
|
"pluginAlias": "@wavyx/pdcli",
|
|
703
1211
|
"pluginName": "@wavyx/pdcli",
|
|
@@ -715,10 +1223,1571 @@
|
|
|
715
1223
|
},
|
|
716
1224
|
"auth:logout": {
|
|
717
1225
|
"aliases": [],
|
|
718
|
-
"args": {},
|
|
719
|
-
"description": "Log out and remove the stored API token",
|
|
1226
|
+
"args": {},
|
|
1227
|
+
"description": "Log out and remove the stored API token",
|
|
1228
|
+
"examples": [
|
|
1229
|
+
"<%= config.bin %> auth logout"
|
|
1230
|
+
],
|
|
1231
|
+
"flags": {
|
|
1232
|
+
"output": {
|
|
1233
|
+
"char": "o",
|
|
1234
|
+
"description": "Output format",
|
|
1235
|
+
"helpGroup": "GLOBAL",
|
|
1236
|
+
"name": "output",
|
|
1237
|
+
"hasDynamicHelp": false,
|
|
1238
|
+
"multiple": false,
|
|
1239
|
+
"options": [
|
|
1240
|
+
"table",
|
|
1241
|
+
"json"
|
|
1242
|
+
],
|
|
1243
|
+
"type": "option"
|
|
1244
|
+
},
|
|
1245
|
+
"profile": {
|
|
1246
|
+
"description": "Named auth profile to use",
|
|
1247
|
+
"env": "PDCLI_PROFILE",
|
|
1248
|
+
"helpGroup": "GLOBAL",
|
|
1249
|
+
"name": "profile",
|
|
1250
|
+
"hasDynamicHelp": false,
|
|
1251
|
+
"multiple": false,
|
|
1252
|
+
"type": "option"
|
|
1253
|
+
},
|
|
1254
|
+
"no-color": {
|
|
1255
|
+
"description": "Disable color output",
|
|
1256
|
+
"helpGroup": "GLOBAL",
|
|
1257
|
+
"name": "no-color",
|
|
1258
|
+
"allowNo": false,
|
|
1259
|
+
"type": "boolean"
|
|
1260
|
+
},
|
|
1261
|
+
"verbose": {
|
|
1262
|
+
"description": "Show detailed API request/response on errors",
|
|
1263
|
+
"helpGroup": "GLOBAL",
|
|
1264
|
+
"name": "verbose",
|
|
1265
|
+
"allowNo": false,
|
|
1266
|
+
"type": "boolean"
|
|
1267
|
+
},
|
|
1268
|
+
"no-retry": {
|
|
1269
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
1270
|
+
"helpGroup": "GLOBAL",
|
|
1271
|
+
"name": "no-retry",
|
|
1272
|
+
"allowNo": false,
|
|
1273
|
+
"type": "boolean"
|
|
1274
|
+
},
|
|
1275
|
+
"timeout": {
|
|
1276
|
+
"description": "Request timeout in milliseconds",
|
|
1277
|
+
"helpGroup": "GLOBAL",
|
|
1278
|
+
"name": "timeout",
|
|
1279
|
+
"hasDynamicHelp": false,
|
|
1280
|
+
"multiple": false,
|
|
1281
|
+
"type": "option"
|
|
1282
|
+
},
|
|
1283
|
+
"limit": {
|
|
1284
|
+
"description": "Maximum number of items to return (lists)",
|
|
1285
|
+
"helpGroup": "GLOBAL",
|
|
1286
|
+
"name": "limit",
|
|
1287
|
+
"hasDynamicHelp": false,
|
|
1288
|
+
"multiple": false,
|
|
1289
|
+
"type": "option"
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
"hasDynamicHelp": false,
|
|
1293
|
+
"hiddenAliases": [],
|
|
1294
|
+
"id": "auth:logout",
|
|
1295
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
1296
|
+
"pluginName": "@wavyx/pdcli",
|
|
1297
|
+
"pluginType": "core",
|
|
1298
|
+
"strict": true,
|
|
1299
|
+
"enableJsonFlag": false,
|
|
1300
|
+
"skipAuth": true,
|
|
1301
|
+
"isESM": true,
|
|
1302
|
+
"relativePath": [
|
|
1303
|
+
"src",
|
|
1304
|
+
"commands",
|
|
1305
|
+
"auth",
|
|
1306
|
+
"logout.js"
|
|
1307
|
+
]
|
|
1308
|
+
},
|
|
1309
|
+
"auth:status": {
|
|
1310
|
+
"aliases": [],
|
|
1311
|
+
"args": {},
|
|
1312
|
+
"description": "Show current authentication status",
|
|
1313
|
+
"examples": [
|
|
1314
|
+
"<%= config.bin %> auth status"
|
|
1315
|
+
],
|
|
1316
|
+
"flags": {
|
|
1317
|
+
"output": {
|
|
1318
|
+
"char": "o",
|
|
1319
|
+
"description": "Output format",
|
|
1320
|
+
"helpGroup": "GLOBAL",
|
|
1321
|
+
"name": "output",
|
|
1322
|
+
"hasDynamicHelp": false,
|
|
1323
|
+
"multiple": false,
|
|
1324
|
+
"options": [
|
|
1325
|
+
"table",
|
|
1326
|
+
"json"
|
|
1327
|
+
],
|
|
1328
|
+
"type": "option"
|
|
1329
|
+
},
|
|
1330
|
+
"profile": {
|
|
1331
|
+
"description": "Named auth profile to use",
|
|
1332
|
+
"env": "PDCLI_PROFILE",
|
|
1333
|
+
"helpGroup": "GLOBAL",
|
|
1334
|
+
"name": "profile",
|
|
1335
|
+
"hasDynamicHelp": false,
|
|
1336
|
+
"multiple": false,
|
|
1337
|
+
"type": "option"
|
|
1338
|
+
},
|
|
1339
|
+
"no-color": {
|
|
1340
|
+
"description": "Disable color output",
|
|
1341
|
+
"helpGroup": "GLOBAL",
|
|
1342
|
+
"name": "no-color",
|
|
1343
|
+
"allowNo": false,
|
|
1344
|
+
"type": "boolean"
|
|
1345
|
+
},
|
|
1346
|
+
"verbose": {
|
|
1347
|
+
"description": "Show detailed API request/response on errors",
|
|
1348
|
+
"helpGroup": "GLOBAL",
|
|
1349
|
+
"name": "verbose",
|
|
1350
|
+
"allowNo": false,
|
|
1351
|
+
"type": "boolean"
|
|
1352
|
+
},
|
|
1353
|
+
"no-retry": {
|
|
1354
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
1355
|
+
"helpGroup": "GLOBAL",
|
|
1356
|
+
"name": "no-retry",
|
|
1357
|
+
"allowNo": false,
|
|
1358
|
+
"type": "boolean"
|
|
1359
|
+
},
|
|
1360
|
+
"timeout": {
|
|
1361
|
+
"description": "Request timeout in milliseconds",
|
|
1362
|
+
"helpGroup": "GLOBAL",
|
|
1363
|
+
"name": "timeout",
|
|
1364
|
+
"hasDynamicHelp": false,
|
|
1365
|
+
"multiple": false,
|
|
1366
|
+
"type": "option"
|
|
1367
|
+
},
|
|
1368
|
+
"limit": {
|
|
1369
|
+
"description": "Maximum number of items to return (lists)",
|
|
1370
|
+
"helpGroup": "GLOBAL",
|
|
1371
|
+
"name": "limit",
|
|
1372
|
+
"hasDynamicHelp": false,
|
|
1373
|
+
"multiple": false,
|
|
1374
|
+
"type": "option"
|
|
1375
|
+
}
|
|
1376
|
+
},
|
|
1377
|
+
"hasDynamicHelp": false,
|
|
1378
|
+
"hiddenAliases": [],
|
|
1379
|
+
"id": "auth:status",
|
|
1380
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
1381
|
+
"pluginName": "@wavyx/pdcli",
|
|
1382
|
+
"pluginType": "core",
|
|
1383
|
+
"strict": true,
|
|
1384
|
+
"enableJsonFlag": false,
|
|
1385
|
+
"skipAuth": true,
|
|
1386
|
+
"isESM": true,
|
|
1387
|
+
"relativePath": [
|
|
1388
|
+
"src",
|
|
1389
|
+
"commands",
|
|
1390
|
+
"auth",
|
|
1391
|
+
"status.js"
|
|
1392
|
+
]
|
|
1393
|
+
},
|
|
1394
|
+
"config:get": {
|
|
1395
|
+
"aliases": [],
|
|
1396
|
+
"args": {
|
|
1397
|
+
"key": {
|
|
1398
|
+
"description": "Config key to read",
|
|
1399
|
+
"name": "key",
|
|
1400
|
+
"required": true
|
|
1401
|
+
}
|
|
1402
|
+
},
|
|
1403
|
+
"description": "Get a config value for the active profile",
|
|
1404
|
+
"examples": [
|
|
1405
|
+
"<%= config.bin %> config get company_domain",
|
|
1406
|
+
"<%= config.bin %> config get default_output"
|
|
1407
|
+
],
|
|
1408
|
+
"flags": {
|
|
1409
|
+
"output": {
|
|
1410
|
+
"char": "o",
|
|
1411
|
+
"description": "Output format",
|
|
1412
|
+
"helpGroup": "GLOBAL",
|
|
1413
|
+
"name": "output",
|
|
1414
|
+
"hasDynamicHelp": false,
|
|
1415
|
+
"multiple": false,
|
|
1416
|
+
"options": [
|
|
1417
|
+
"table",
|
|
1418
|
+
"json"
|
|
1419
|
+
],
|
|
1420
|
+
"type": "option"
|
|
1421
|
+
},
|
|
1422
|
+
"profile": {
|
|
1423
|
+
"description": "Named auth profile to use",
|
|
1424
|
+
"env": "PDCLI_PROFILE",
|
|
1425
|
+
"helpGroup": "GLOBAL",
|
|
1426
|
+
"name": "profile",
|
|
1427
|
+
"hasDynamicHelp": false,
|
|
1428
|
+
"multiple": false,
|
|
1429
|
+
"type": "option"
|
|
1430
|
+
},
|
|
1431
|
+
"no-color": {
|
|
1432
|
+
"description": "Disable color output",
|
|
1433
|
+
"helpGroup": "GLOBAL",
|
|
1434
|
+
"name": "no-color",
|
|
1435
|
+
"allowNo": false,
|
|
1436
|
+
"type": "boolean"
|
|
1437
|
+
},
|
|
1438
|
+
"verbose": {
|
|
1439
|
+
"description": "Show detailed API request/response on errors",
|
|
1440
|
+
"helpGroup": "GLOBAL",
|
|
1441
|
+
"name": "verbose",
|
|
1442
|
+
"allowNo": false,
|
|
1443
|
+
"type": "boolean"
|
|
1444
|
+
},
|
|
1445
|
+
"no-retry": {
|
|
1446
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
1447
|
+
"helpGroup": "GLOBAL",
|
|
1448
|
+
"name": "no-retry",
|
|
1449
|
+
"allowNo": false,
|
|
1450
|
+
"type": "boolean"
|
|
1451
|
+
},
|
|
1452
|
+
"timeout": {
|
|
1453
|
+
"description": "Request timeout in milliseconds",
|
|
1454
|
+
"helpGroup": "GLOBAL",
|
|
1455
|
+
"name": "timeout",
|
|
1456
|
+
"hasDynamicHelp": false,
|
|
1457
|
+
"multiple": false,
|
|
1458
|
+
"type": "option"
|
|
1459
|
+
},
|
|
1460
|
+
"limit": {
|
|
1461
|
+
"description": "Maximum number of items to return (lists)",
|
|
1462
|
+
"helpGroup": "GLOBAL",
|
|
1463
|
+
"name": "limit",
|
|
1464
|
+
"hasDynamicHelp": false,
|
|
1465
|
+
"multiple": false,
|
|
1466
|
+
"type": "option"
|
|
1467
|
+
}
|
|
1468
|
+
},
|
|
1469
|
+
"hasDynamicHelp": false,
|
|
1470
|
+
"hiddenAliases": [],
|
|
1471
|
+
"id": "config:get",
|
|
1472
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
1473
|
+
"pluginName": "@wavyx/pdcli",
|
|
1474
|
+
"pluginType": "core",
|
|
1475
|
+
"strict": true,
|
|
1476
|
+
"enableJsonFlag": false,
|
|
1477
|
+
"skipAuth": true,
|
|
1478
|
+
"isESM": true,
|
|
1479
|
+
"relativePath": [
|
|
1480
|
+
"src",
|
|
1481
|
+
"commands",
|
|
1482
|
+
"config",
|
|
1483
|
+
"get.js"
|
|
1484
|
+
]
|
|
1485
|
+
},
|
|
1486
|
+
"config:list": {
|
|
1487
|
+
"aliases": [],
|
|
1488
|
+
"args": {},
|
|
1489
|
+
"description": "List all config for the active profile",
|
|
1490
|
+
"examples": [
|
|
1491
|
+
"<%= config.bin %> config list"
|
|
1492
|
+
],
|
|
1493
|
+
"flags": {
|
|
1494
|
+
"output": {
|
|
1495
|
+
"char": "o",
|
|
1496
|
+
"description": "Output format",
|
|
1497
|
+
"helpGroup": "GLOBAL",
|
|
1498
|
+
"name": "output",
|
|
1499
|
+
"hasDynamicHelp": false,
|
|
1500
|
+
"multiple": false,
|
|
1501
|
+
"options": [
|
|
1502
|
+
"table",
|
|
1503
|
+
"json"
|
|
1504
|
+
],
|
|
1505
|
+
"type": "option"
|
|
1506
|
+
},
|
|
1507
|
+
"profile": {
|
|
1508
|
+
"description": "Named auth profile to use",
|
|
1509
|
+
"env": "PDCLI_PROFILE",
|
|
1510
|
+
"helpGroup": "GLOBAL",
|
|
1511
|
+
"name": "profile",
|
|
1512
|
+
"hasDynamicHelp": false,
|
|
1513
|
+
"multiple": false,
|
|
1514
|
+
"type": "option"
|
|
1515
|
+
},
|
|
1516
|
+
"no-color": {
|
|
1517
|
+
"description": "Disable color output",
|
|
1518
|
+
"helpGroup": "GLOBAL",
|
|
1519
|
+
"name": "no-color",
|
|
1520
|
+
"allowNo": false,
|
|
1521
|
+
"type": "boolean"
|
|
1522
|
+
},
|
|
1523
|
+
"verbose": {
|
|
1524
|
+
"description": "Show detailed API request/response on errors",
|
|
1525
|
+
"helpGroup": "GLOBAL",
|
|
1526
|
+
"name": "verbose",
|
|
1527
|
+
"allowNo": false,
|
|
1528
|
+
"type": "boolean"
|
|
1529
|
+
},
|
|
1530
|
+
"no-retry": {
|
|
1531
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
1532
|
+
"helpGroup": "GLOBAL",
|
|
1533
|
+
"name": "no-retry",
|
|
1534
|
+
"allowNo": false,
|
|
1535
|
+
"type": "boolean"
|
|
1536
|
+
},
|
|
1537
|
+
"timeout": {
|
|
1538
|
+
"description": "Request timeout in milliseconds",
|
|
1539
|
+
"helpGroup": "GLOBAL",
|
|
1540
|
+
"name": "timeout",
|
|
1541
|
+
"hasDynamicHelp": false,
|
|
1542
|
+
"multiple": false,
|
|
1543
|
+
"type": "option"
|
|
1544
|
+
},
|
|
1545
|
+
"limit": {
|
|
1546
|
+
"description": "Maximum number of items to return (lists)",
|
|
1547
|
+
"helpGroup": "GLOBAL",
|
|
1548
|
+
"name": "limit",
|
|
1549
|
+
"hasDynamicHelp": false,
|
|
1550
|
+
"multiple": false,
|
|
1551
|
+
"type": "option"
|
|
1552
|
+
}
|
|
1553
|
+
},
|
|
1554
|
+
"hasDynamicHelp": false,
|
|
1555
|
+
"hiddenAliases": [],
|
|
1556
|
+
"id": "config:list",
|
|
1557
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
1558
|
+
"pluginName": "@wavyx/pdcli",
|
|
1559
|
+
"pluginType": "core",
|
|
1560
|
+
"strict": true,
|
|
1561
|
+
"enableJsonFlag": false,
|
|
1562
|
+
"skipAuth": true,
|
|
1563
|
+
"isESM": true,
|
|
1564
|
+
"relativePath": [
|
|
1565
|
+
"src",
|
|
1566
|
+
"commands",
|
|
1567
|
+
"config",
|
|
1568
|
+
"list.js"
|
|
1569
|
+
]
|
|
1570
|
+
},
|
|
1571
|
+
"config:set": {
|
|
1572
|
+
"aliases": [],
|
|
1573
|
+
"args": {
|
|
1574
|
+
"key": {
|
|
1575
|
+
"description": "Config key to set",
|
|
1576
|
+
"name": "key",
|
|
1577
|
+
"required": true
|
|
1578
|
+
},
|
|
1579
|
+
"value": {
|
|
1580
|
+
"description": "Value to assign",
|
|
1581
|
+
"name": "value",
|
|
1582
|
+
"required": true
|
|
1583
|
+
}
|
|
1584
|
+
},
|
|
1585
|
+
"description": "Set a config value for the active profile",
|
|
1586
|
+
"examples": [
|
|
1587
|
+
"<%= config.bin %> config set company_domain acme",
|
|
1588
|
+
"<%= config.bin %> config set default_output json"
|
|
1589
|
+
],
|
|
1590
|
+
"flags": {
|
|
1591
|
+
"output": {
|
|
1592
|
+
"char": "o",
|
|
1593
|
+
"description": "Output format",
|
|
1594
|
+
"helpGroup": "GLOBAL",
|
|
1595
|
+
"name": "output",
|
|
1596
|
+
"hasDynamicHelp": false,
|
|
1597
|
+
"multiple": false,
|
|
1598
|
+
"options": [
|
|
1599
|
+
"table",
|
|
1600
|
+
"json"
|
|
1601
|
+
],
|
|
1602
|
+
"type": "option"
|
|
1603
|
+
},
|
|
1604
|
+
"profile": {
|
|
1605
|
+
"description": "Named auth profile to use",
|
|
1606
|
+
"env": "PDCLI_PROFILE",
|
|
1607
|
+
"helpGroup": "GLOBAL",
|
|
1608
|
+
"name": "profile",
|
|
1609
|
+
"hasDynamicHelp": false,
|
|
1610
|
+
"multiple": false,
|
|
1611
|
+
"type": "option"
|
|
1612
|
+
},
|
|
1613
|
+
"no-color": {
|
|
1614
|
+
"description": "Disable color output",
|
|
1615
|
+
"helpGroup": "GLOBAL",
|
|
1616
|
+
"name": "no-color",
|
|
1617
|
+
"allowNo": false,
|
|
1618
|
+
"type": "boolean"
|
|
1619
|
+
},
|
|
1620
|
+
"verbose": {
|
|
1621
|
+
"description": "Show detailed API request/response on errors",
|
|
1622
|
+
"helpGroup": "GLOBAL",
|
|
1623
|
+
"name": "verbose",
|
|
1624
|
+
"allowNo": false,
|
|
1625
|
+
"type": "boolean"
|
|
1626
|
+
},
|
|
1627
|
+
"no-retry": {
|
|
1628
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
1629
|
+
"helpGroup": "GLOBAL",
|
|
1630
|
+
"name": "no-retry",
|
|
1631
|
+
"allowNo": false,
|
|
1632
|
+
"type": "boolean"
|
|
1633
|
+
},
|
|
1634
|
+
"timeout": {
|
|
1635
|
+
"description": "Request timeout in milliseconds",
|
|
1636
|
+
"helpGroup": "GLOBAL",
|
|
1637
|
+
"name": "timeout",
|
|
1638
|
+
"hasDynamicHelp": false,
|
|
1639
|
+
"multiple": false,
|
|
1640
|
+
"type": "option"
|
|
1641
|
+
},
|
|
1642
|
+
"limit": {
|
|
1643
|
+
"description": "Maximum number of items to return (lists)",
|
|
1644
|
+
"helpGroup": "GLOBAL",
|
|
1645
|
+
"name": "limit",
|
|
1646
|
+
"hasDynamicHelp": false,
|
|
1647
|
+
"multiple": false,
|
|
1648
|
+
"type": "option"
|
|
1649
|
+
}
|
|
1650
|
+
},
|
|
1651
|
+
"hasDynamicHelp": false,
|
|
1652
|
+
"hiddenAliases": [],
|
|
1653
|
+
"id": "config:set",
|
|
1654
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
1655
|
+
"pluginName": "@wavyx/pdcli",
|
|
1656
|
+
"pluginType": "core",
|
|
1657
|
+
"strict": true,
|
|
1658
|
+
"enableJsonFlag": false,
|
|
1659
|
+
"skipAuth": true,
|
|
1660
|
+
"isESM": true,
|
|
1661
|
+
"relativePath": [
|
|
1662
|
+
"src",
|
|
1663
|
+
"commands",
|
|
1664
|
+
"config",
|
|
1665
|
+
"set.js"
|
|
1666
|
+
]
|
|
1667
|
+
},
|
|
1668
|
+
"deal:create": {
|
|
1669
|
+
"aliases": [],
|
|
1670
|
+
"args": {},
|
|
1671
|
+
"description": "Create a deal",
|
|
1672
|
+
"examples": [
|
|
1673
|
+
"<%= config.bin %> deal create --title \"Acme renewal\" --value 5000 --currency EUR",
|
|
1674
|
+
"<%= config.bin %> deal create --title \"Sized\" --field \"Deal Size=Large\"",
|
|
1675
|
+
"<%= config.bin %> deal create --title \"Raw\" --body '{\"probability\":75}'"
|
|
1676
|
+
],
|
|
1677
|
+
"flags": {
|
|
1678
|
+
"output": {
|
|
1679
|
+
"char": "o",
|
|
1680
|
+
"description": "Output format",
|
|
1681
|
+
"helpGroup": "GLOBAL",
|
|
1682
|
+
"name": "output",
|
|
1683
|
+
"hasDynamicHelp": false,
|
|
1684
|
+
"multiple": false,
|
|
1685
|
+
"options": [
|
|
1686
|
+
"table",
|
|
1687
|
+
"json"
|
|
1688
|
+
],
|
|
1689
|
+
"type": "option"
|
|
1690
|
+
},
|
|
1691
|
+
"profile": {
|
|
1692
|
+
"description": "Named auth profile to use",
|
|
1693
|
+
"env": "PDCLI_PROFILE",
|
|
1694
|
+
"helpGroup": "GLOBAL",
|
|
1695
|
+
"name": "profile",
|
|
1696
|
+
"hasDynamicHelp": false,
|
|
1697
|
+
"multiple": false,
|
|
1698
|
+
"type": "option"
|
|
1699
|
+
},
|
|
1700
|
+
"no-color": {
|
|
1701
|
+
"description": "Disable color output",
|
|
1702
|
+
"helpGroup": "GLOBAL",
|
|
1703
|
+
"name": "no-color",
|
|
1704
|
+
"allowNo": false,
|
|
1705
|
+
"type": "boolean"
|
|
1706
|
+
},
|
|
1707
|
+
"verbose": {
|
|
1708
|
+
"description": "Show detailed API request/response on errors",
|
|
1709
|
+
"helpGroup": "GLOBAL",
|
|
1710
|
+
"name": "verbose",
|
|
1711
|
+
"allowNo": false,
|
|
1712
|
+
"type": "boolean"
|
|
1713
|
+
},
|
|
1714
|
+
"no-retry": {
|
|
1715
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
1716
|
+
"helpGroup": "GLOBAL",
|
|
1717
|
+
"name": "no-retry",
|
|
1718
|
+
"allowNo": false,
|
|
1719
|
+
"type": "boolean"
|
|
1720
|
+
},
|
|
1721
|
+
"timeout": {
|
|
1722
|
+
"description": "Request timeout in milliseconds",
|
|
1723
|
+
"helpGroup": "GLOBAL",
|
|
1724
|
+
"name": "timeout",
|
|
1725
|
+
"hasDynamicHelp": false,
|
|
1726
|
+
"multiple": false,
|
|
1727
|
+
"type": "option"
|
|
1728
|
+
},
|
|
1729
|
+
"limit": {
|
|
1730
|
+
"description": "Maximum number of items to return (lists)",
|
|
1731
|
+
"helpGroup": "GLOBAL",
|
|
1732
|
+
"name": "limit",
|
|
1733
|
+
"hasDynamicHelp": false,
|
|
1734
|
+
"multiple": false,
|
|
1735
|
+
"type": "option"
|
|
1736
|
+
},
|
|
1737
|
+
"title": {
|
|
1738
|
+
"description": "Deal title",
|
|
1739
|
+
"name": "title",
|
|
1740
|
+
"required": true,
|
|
1741
|
+
"hasDynamicHelp": false,
|
|
1742
|
+
"multiple": false,
|
|
1743
|
+
"type": "option"
|
|
1744
|
+
},
|
|
1745
|
+
"value": {
|
|
1746
|
+
"description": "Deal value",
|
|
1747
|
+
"name": "value",
|
|
1748
|
+
"hasDynamicHelp": false,
|
|
1749
|
+
"multiple": false,
|
|
1750
|
+
"type": "option"
|
|
1751
|
+
},
|
|
1752
|
+
"currency": {
|
|
1753
|
+
"description": "Deal currency (e.g. EUR)",
|
|
1754
|
+
"name": "currency",
|
|
1755
|
+
"hasDynamicHelp": false,
|
|
1756
|
+
"multiple": false,
|
|
1757
|
+
"type": "option"
|
|
1758
|
+
},
|
|
1759
|
+
"status": {
|
|
1760
|
+
"description": "Deal status",
|
|
1761
|
+
"name": "status",
|
|
1762
|
+
"hasDynamicHelp": false,
|
|
1763
|
+
"multiple": false,
|
|
1764
|
+
"options": [
|
|
1765
|
+
"open",
|
|
1766
|
+
"won",
|
|
1767
|
+
"lost"
|
|
1768
|
+
],
|
|
1769
|
+
"type": "option"
|
|
1770
|
+
},
|
|
1771
|
+
"stage": {
|
|
1772
|
+
"description": "Stage ID",
|
|
1773
|
+
"name": "stage",
|
|
1774
|
+
"hasDynamicHelp": false,
|
|
1775
|
+
"multiple": false,
|
|
1776
|
+
"type": "option"
|
|
1777
|
+
},
|
|
1778
|
+
"pipeline": {
|
|
1779
|
+
"description": "Pipeline ID",
|
|
1780
|
+
"name": "pipeline",
|
|
1781
|
+
"hasDynamicHelp": false,
|
|
1782
|
+
"multiple": false,
|
|
1783
|
+
"type": "option"
|
|
1784
|
+
},
|
|
1785
|
+
"person": {
|
|
1786
|
+
"description": "Linked person ID",
|
|
1787
|
+
"name": "person",
|
|
1788
|
+
"hasDynamicHelp": false,
|
|
1789
|
+
"multiple": false,
|
|
1790
|
+
"type": "option"
|
|
1791
|
+
},
|
|
1792
|
+
"org": {
|
|
1793
|
+
"description": "Linked organization ID",
|
|
1794
|
+
"name": "org",
|
|
1795
|
+
"hasDynamicHelp": false,
|
|
1796
|
+
"multiple": false,
|
|
1797
|
+
"type": "option"
|
|
1798
|
+
},
|
|
1799
|
+
"owner": {
|
|
1800
|
+
"description": "Owner (user) ID",
|
|
1801
|
+
"name": "owner",
|
|
1802
|
+
"hasDynamicHelp": false,
|
|
1803
|
+
"multiple": false,
|
|
1804
|
+
"type": "option"
|
|
1805
|
+
},
|
|
1806
|
+
"probability": {
|
|
1807
|
+
"description": "Success probability (0-100)",
|
|
1808
|
+
"name": "probability",
|
|
1809
|
+
"hasDynamicHelp": false,
|
|
1810
|
+
"multiple": false,
|
|
1811
|
+
"type": "option"
|
|
1812
|
+
},
|
|
1813
|
+
"expected-close-date": {
|
|
1814
|
+
"description": "Expected close date (YYYY-MM-DD)",
|
|
1815
|
+
"name": "expected-close-date",
|
|
1816
|
+
"hasDynamicHelp": false,
|
|
1817
|
+
"multiple": false,
|
|
1818
|
+
"type": "option"
|
|
1819
|
+
},
|
|
1820
|
+
"field": {
|
|
1821
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
1822
|
+
"name": "field",
|
|
1823
|
+
"hasDynamicHelp": false,
|
|
1824
|
+
"multiple": true,
|
|
1825
|
+
"type": "option"
|
|
1826
|
+
},
|
|
1827
|
+
"body": {
|
|
1828
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
1829
|
+
"name": "body",
|
|
1830
|
+
"hasDynamicHelp": false,
|
|
1831
|
+
"multiple": false,
|
|
1832
|
+
"type": "option"
|
|
1833
|
+
}
|
|
1834
|
+
},
|
|
1835
|
+
"hasDynamicHelp": false,
|
|
1836
|
+
"hiddenAliases": [],
|
|
1837
|
+
"id": "deal:create",
|
|
1838
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
1839
|
+
"pluginName": "@wavyx/pdcli",
|
|
1840
|
+
"pluginType": "core",
|
|
1841
|
+
"strict": true,
|
|
1842
|
+
"enableJsonFlag": false,
|
|
1843
|
+
"isESM": true,
|
|
1844
|
+
"relativePath": [
|
|
1845
|
+
"src",
|
|
1846
|
+
"commands",
|
|
1847
|
+
"deal",
|
|
1848
|
+
"create.js"
|
|
1849
|
+
]
|
|
1850
|
+
},
|
|
1851
|
+
"deal:delete": {
|
|
1852
|
+
"aliases": [],
|
|
1853
|
+
"args": {
|
|
1854
|
+
"id": {
|
|
1855
|
+
"description": "Deal ID",
|
|
1856
|
+
"name": "id",
|
|
1857
|
+
"required": true
|
|
1858
|
+
}
|
|
1859
|
+
},
|
|
1860
|
+
"description": "Delete a deal",
|
|
1861
|
+
"examples": [
|
|
1862
|
+
"<%= config.bin %> deal delete 42",
|
|
1863
|
+
"<%= config.bin %> deal delete 42 --yes"
|
|
1864
|
+
],
|
|
1865
|
+
"flags": {
|
|
1866
|
+
"output": {
|
|
1867
|
+
"char": "o",
|
|
1868
|
+
"description": "Output format",
|
|
1869
|
+
"helpGroup": "GLOBAL",
|
|
1870
|
+
"name": "output",
|
|
1871
|
+
"hasDynamicHelp": false,
|
|
1872
|
+
"multiple": false,
|
|
1873
|
+
"options": [
|
|
1874
|
+
"table",
|
|
1875
|
+
"json"
|
|
1876
|
+
],
|
|
1877
|
+
"type": "option"
|
|
1878
|
+
},
|
|
1879
|
+
"profile": {
|
|
1880
|
+
"description": "Named auth profile to use",
|
|
1881
|
+
"env": "PDCLI_PROFILE",
|
|
1882
|
+
"helpGroup": "GLOBAL",
|
|
1883
|
+
"name": "profile",
|
|
1884
|
+
"hasDynamicHelp": false,
|
|
1885
|
+
"multiple": false,
|
|
1886
|
+
"type": "option"
|
|
1887
|
+
},
|
|
1888
|
+
"no-color": {
|
|
1889
|
+
"description": "Disable color output",
|
|
1890
|
+
"helpGroup": "GLOBAL",
|
|
1891
|
+
"name": "no-color",
|
|
1892
|
+
"allowNo": false,
|
|
1893
|
+
"type": "boolean"
|
|
1894
|
+
},
|
|
1895
|
+
"verbose": {
|
|
1896
|
+
"description": "Show detailed API request/response on errors",
|
|
1897
|
+
"helpGroup": "GLOBAL",
|
|
1898
|
+
"name": "verbose",
|
|
1899
|
+
"allowNo": false,
|
|
1900
|
+
"type": "boolean"
|
|
1901
|
+
},
|
|
1902
|
+
"no-retry": {
|
|
1903
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
1904
|
+
"helpGroup": "GLOBAL",
|
|
1905
|
+
"name": "no-retry",
|
|
1906
|
+
"allowNo": false,
|
|
1907
|
+
"type": "boolean"
|
|
1908
|
+
},
|
|
1909
|
+
"timeout": {
|
|
1910
|
+
"description": "Request timeout in milliseconds",
|
|
1911
|
+
"helpGroup": "GLOBAL",
|
|
1912
|
+
"name": "timeout",
|
|
1913
|
+
"hasDynamicHelp": false,
|
|
1914
|
+
"multiple": false,
|
|
1915
|
+
"type": "option"
|
|
1916
|
+
},
|
|
1917
|
+
"limit": {
|
|
1918
|
+
"description": "Maximum number of items to return (lists)",
|
|
1919
|
+
"helpGroup": "GLOBAL",
|
|
1920
|
+
"name": "limit",
|
|
1921
|
+
"hasDynamicHelp": false,
|
|
1922
|
+
"multiple": false,
|
|
1923
|
+
"type": "option"
|
|
1924
|
+
},
|
|
1925
|
+
"yes": {
|
|
1926
|
+
"char": "y",
|
|
1927
|
+
"description": "Skip the confirmation prompt",
|
|
1928
|
+
"name": "yes",
|
|
1929
|
+
"allowNo": false,
|
|
1930
|
+
"type": "boolean"
|
|
1931
|
+
}
|
|
1932
|
+
},
|
|
1933
|
+
"hasDynamicHelp": false,
|
|
1934
|
+
"hiddenAliases": [],
|
|
1935
|
+
"id": "deal:delete",
|
|
1936
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
1937
|
+
"pluginName": "@wavyx/pdcli",
|
|
1938
|
+
"pluginType": "core",
|
|
1939
|
+
"strict": true,
|
|
1940
|
+
"enableJsonFlag": false,
|
|
1941
|
+
"isESM": true,
|
|
1942
|
+
"relativePath": [
|
|
1943
|
+
"src",
|
|
1944
|
+
"commands",
|
|
1945
|
+
"deal",
|
|
1946
|
+
"delete.js"
|
|
1947
|
+
]
|
|
1948
|
+
},
|
|
1949
|
+
"deal:get": {
|
|
1950
|
+
"aliases": [],
|
|
1951
|
+
"args": {
|
|
1952
|
+
"id": {
|
|
1953
|
+
"description": "Deal ID",
|
|
1954
|
+
"name": "id",
|
|
1955
|
+
"required": true
|
|
1956
|
+
}
|
|
1957
|
+
},
|
|
1958
|
+
"description": "Get a deal by ID",
|
|
1959
|
+
"examples": [
|
|
1960
|
+
"<%= config.bin %> deal get 42",
|
|
1961
|
+
"<%= config.bin %> deal get 42 --output json"
|
|
1962
|
+
],
|
|
1963
|
+
"flags": {
|
|
1964
|
+
"output": {
|
|
1965
|
+
"char": "o",
|
|
1966
|
+
"description": "Output format",
|
|
1967
|
+
"helpGroup": "GLOBAL",
|
|
1968
|
+
"name": "output",
|
|
1969
|
+
"hasDynamicHelp": false,
|
|
1970
|
+
"multiple": false,
|
|
1971
|
+
"options": [
|
|
1972
|
+
"table",
|
|
1973
|
+
"json"
|
|
1974
|
+
],
|
|
1975
|
+
"type": "option"
|
|
1976
|
+
},
|
|
1977
|
+
"profile": {
|
|
1978
|
+
"description": "Named auth profile to use",
|
|
1979
|
+
"env": "PDCLI_PROFILE",
|
|
1980
|
+
"helpGroup": "GLOBAL",
|
|
1981
|
+
"name": "profile",
|
|
1982
|
+
"hasDynamicHelp": false,
|
|
1983
|
+
"multiple": false,
|
|
1984
|
+
"type": "option"
|
|
1985
|
+
},
|
|
1986
|
+
"no-color": {
|
|
1987
|
+
"description": "Disable color output",
|
|
1988
|
+
"helpGroup": "GLOBAL",
|
|
1989
|
+
"name": "no-color",
|
|
1990
|
+
"allowNo": false,
|
|
1991
|
+
"type": "boolean"
|
|
1992
|
+
},
|
|
1993
|
+
"verbose": {
|
|
1994
|
+
"description": "Show detailed API request/response on errors",
|
|
1995
|
+
"helpGroup": "GLOBAL",
|
|
1996
|
+
"name": "verbose",
|
|
1997
|
+
"allowNo": false,
|
|
1998
|
+
"type": "boolean"
|
|
1999
|
+
},
|
|
2000
|
+
"no-retry": {
|
|
2001
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
2002
|
+
"helpGroup": "GLOBAL",
|
|
2003
|
+
"name": "no-retry",
|
|
2004
|
+
"allowNo": false,
|
|
2005
|
+
"type": "boolean"
|
|
2006
|
+
},
|
|
2007
|
+
"timeout": {
|
|
2008
|
+
"description": "Request timeout in milliseconds",
|
|
2009
|
+
"helpGroup": "GLOBAL",
|
|
2010
|
+
"name": "timeout",
|
|
2011
|
+
"hasDynamicHelp": false,
|
|
2012
|
+
"multiple": false,
|
|
2013
|
+
"type": "option"
|
|
2014
|
+
},
|
|
2015
|
+
"limit": {
|
|
2016
|
+
"description": "Maximum number of items to return (lists)",
|
|
2017
|
+
"helpGroup": "GLOBAL",
|
|
2018
|
+
"name": "limit",
|
|
2019
|
+
"hasDynamicHelp": false,
|
|
2020
|
+
"multiple": false,
|
|
2021
|
+
"type": "option"
|
|
2022
|
+
}
|
|
2023
|
+
},
|
|
2024
|
+
"hasDynamicHelp": false,
|
|
2025
|
+
"hiddenAliases": [],
|
|
2026
|
+
"id": "deal:get",
|
|
2027
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
2028
|
+
"pluginName": "@wavyx/pdcli",
|
|
2029
|
+
"pluginType": "core",
|
|
2030
|
+
"strict": true,
|
|
2031
|
+
"enableJsonFlag": false,
|
|
2032
|
+
"isESM": true,
|
|
2033
|
+
"relativePath": [
|
|
2034
|
+
"src",
|
|
2035
|
+
"commands",
|
|
2036
|
+
"deal",
|
|
2037
|
+
"get.js"
|
|
2038
|
+
]
|
|
2039
|
+
},
|
|
2040
|
+
"deal:list": {
|
|
2041
|
+
"aliases": [],
|
|
2042
|
+
"args": {},
|
|
2043
|
+
"description": "List deals",
|
|
2044
|
+
"examples": [
|
|
2045
|
+
"<%= config.bin %> deal list",
|
|
2046
|
+
"<%= config.bin %> deal list --status won --limit 50",
|
|
2047
|
+
"<%= config.bin %> deal list --stage 3 --output json"
|
|
2048
|
+
],
|
|
2049
|
+
"flags": {
|
|
2050
|
+
"output": {
|
|
2051
|
+
"char": "o",
|
|
2052
|
+
"description": "Output format",
|
|
2053
|
+
"helpGroup": "GLOBAL",
|
|
2054
|
+
"name": "output",
|
|
2055
|
+
"hasDynamicHelp": false,
|
|
2056
|
+
"multiple": false,
|
|
2057
|
+
"options": [
|
|
2058
|
+
"table",
|
|
2059
|
+
"json"
|
|
2060
|
+
],
|
|
2061
|
+
"type": "option"
|
|
2062
|
+
},
|
|
2063
|
+
"profile": {
|
|
2064
|
+
"description": "Named auth profile to use",
|
|
2065
|
+
"env": "PDCLI_PROFILE",
|
|
2066
|
+
"helpGroup": "GLOBAL",
|
|
2067
|
+
"name": "profile",
|
|
2068
|
+
"hasDynamicHelp": false,
|
|
2069
|
+
"multiple": false,
|
|
2070
|
+
"type": "option"
|
|
2071
|
+
},
|
|
2072
|
+
"no-color": {
|
|
2073
|
+
"description": "Disable color output",
|
|
2074
|
+
"helpGroup": "GLOBAL",
|
|
2075
|
+
"name": "no-color",
|
|
2076
|
+
"allowNo": false,
|
|
2077
|
+
"type": "boolean"
|
|
2078
|
+
},
|
|
2079
|
+
"verbose": {
|
|
2080
|
+
"description": "Show detailed API request/response on errors",
|
|
2081
|
+
"helpGroup": "GLOBAL",
|
|
2082
|
+
"name": "verbose",
|
|
2083
|
+
"allowNo": false,
|
|
2084
|
+
"type": "boolean"
|
|
2085
|
+
},
|
|
2086
|
+
"no-retry": {
|
|
2087
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
2088
|
+
"helpGroup": "GLOBAL",
|
|
2089
|
+
"name": "no-retry",
|
|
2090
|
+
"allowNo": false,
|
|
2091
|
+
"type": "boolean"
|
|
2092
|
+
},
|
|
2093
|
+
"timeout": {
|
|
2094
|
+
"description": "Request timeout in milliseconds",
|
|
2095
|
+
"helpGroup": "GLOBAL",
|
|
2096
|
+
"name": "timeout",
|
|
2097
|
+
"hasDynamicHelp": false,
|
|
2098
|
+
"multiple": false,
|
|
2099
|
+
"type": "option"
|
|
2100
|
+
},
|
|
2101
|
+
"limit": {
|
|
2102
|
+
"description": "Maximum number of items to return (lists)",
|
|
2103
|
+
"helpGroup": "GLOBAL",
|
|
2104
|
+
"name": "limit",
|
|
2105
|
+
"hasDynamicHelp": false,
|
|
2106
|
+
"multiple": false,
|
|
2107
|
+
"type": "option"
|
|
2108
|
+
},
|
|
2109
|
+
"status": {
|
|
2110
|
+
"description": "Filter by status",
|
|
2111
|
+
"name": "status",
|
|
2112
|
+
"hasDynamicHelp": false,
|
|
2113
|
+
"multiple": false,
|
|
2114
|
+
"options": [
|
|
2115
|
+
"open",
|
|
2116
|
+
"won",
|
|
2117
|
+
"lost",
|
|
2118
|
+
"deleted"
|
|
2119
|
+
],
|
|
2120
|
+
"type": "option"
|
|
2121
|
+
},
|
|
2122
|
+
"stage": {
|
|
2123
|
+
"description": "Filter by stage ID",
|
|
2124
|
+
"name": "stage",
|
|
2125
|
+
"hasDynamicHelp": false,
|
|
2126
|
+
"multiple": false,
|
|
2127
|
+
"type": "option"
|
|
2128
|
+
},
|
|
2129
|
+
"pipeline": {
|
|
2130
|
+
"description": "Filter by pipeline ID",
|
|
2131
|
+
"name": "pipeline",
|
|
2132
|
+
"hasDynamicHelp": false,
|
|
2133
|
+
"multiple": false,
|
|
2134
|
+
"type": "option"
|
|
2135
|
+
},
|
|
2136
|
+
"owner": {
|
|
2137
|
+
"description": "Filter by owner (user) ID",
|
|
2138
|
+
"name": "owner",
|
|
2139
|
+
"hasDynamicHelp": false,
|
|
2140
|
+
"multiple": false,
|
|
2141
|
+
"type": "option"
|
|
2142
|
+
},
|
|
2143
|
+
"person": {
|
|
2144
|
+
"description": "Filter by person ID",
|
|
2145
|
+
"name": "person",
|
|
2146
|
+
"hasDynamicHelp": false,
|
|
2147
|
+
"multiple": false,
|
|
2148
|
+
"type": "option"
|
|
2149
|
+
},
|
|
2150
|
+
"org": {
|
|
2151
|
+
"description": "Filter by organization ID",
|
|
2152
|
+
"name": "org",
|
|
2153
|
+
"hasDynamicHelp": false,
|
|
2154
|
+
"multiple": false,
|
|
2155
|
+
"type": "option"
|
|
2156
|
+
}
|
|
2157
|
+
},
|
|
2158
|
+
"hasDynamicHelp": false,
|
|
2159
|
+
"hiddenAliases": [],
|
|
2160
|
+
"id": "deal:list",
|
|
2161
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
2162
|
+
"pluginName": "@wavyx/pdcli",
|
|
2163
|
+
"pluginType": "core",
|
|
2164
|
+
"strict": true,
|
|
2165
|
+
"enableJsonFlag": false,
|
|
2166
|
+
"isESM": true,
|
|
2167
|
+
"relativePath": [
|
|
2168
|
+
"src",
|
|
2169
|
+
"commands",
|
|
2170
|
+
"deal",
|
|
2171
|
+
"list.js"
|
|
2172
|
+
]
|
|
2173
|
+
},
|
|
2174
|
+
"deal:update": {
|
|
2175
|
+
"aliases": [],
|
|
2176
|
+
"args": {
|
|
2177
|
+
"id": {
|
|
2178
|
+
"description": "Deal ID",
|
|
2179
|
+
"name": "id",
|
|
2180
|
+
"required": true
|
|
2181
|
+
}
|
|
2182
|
+
},
|
|
2183
|
+
"description": "Update a deal (v2 PATCH — only provided fields change)",
|
|
2184
|
+
"examples": [
|
|
2185
|
+
"<%= config.bin %> deal update 42 --stage 5",
|
|
2186
|
+
"<%= config.bin %> deal update 42 --status won",
|
|
2187
|
+
"<%= config.bin %> deal update 42 --field \"Deal Size=Large\""
|
|
2188
|
+
],
|
|
2189
|
+
"flags": {
|
|
2190
|
+
"output": {
|
|
2191
|
+
"char": "o",
|
|
2192
|
+
"description": "Output format",
|
|
2193
|
+
"helpGroup": "GLOBAL",
|
|
2194
|
+
"name": "output",
|
|
2195
|
+
"hasDynamicHelp": false,
|
|
2196
|
+
"multiple": false,
|
|
2197
|
+
"options": [
|
|
2198
|
+
"table",
|
|
2199
|
+
"json"
|
|
2200
|
+
],
|
|
2201
|
+
"type": "option"
|
|
2202
|
+
},
|
|
2203
|
+
"profile": {
|
|
2204
|
+
"description": "Named auth profile to use",
|
|
2205
|
+
"env": "PDCLI_PROFILE",
|
|
2206
|
+
"helpGroup": "GLOBAL",
|
|
2207
|
+
"name": "profile",
|
|
2208
|
+
"hasDynamicHelp": false,
|
|
2209
|
+
"multiple": false,
|
|
2210
|
+
"type": "option"
|
|
2211
|
+
},
|
|
2212
|
+
"no-color": {
|
|
2213
|
+
"description": "Disable color output",
|
|
2214
|
+
"helpGroup": "GLOBAL",
|
|
2215
|
+
"name": "no-color",
|
|
2216
|
+
"allowNo": false,
|
|
2217
|
+
"type": "boolean"
|
|
2218
|
+
},
|
|
2219
|
+
"verbose": {
|
|
2220
|
+
"description": "Show detailed API request/response on errors",
|
|
2221
|
+
"helpGroup": "GLOBAL",
|
|
2222
|
+
"name": "verbose",
|
|
2223
|
+
"allowNo": false,
|
|
2224
|
+
"type": "boolean"
|
|
2225
|
+
},
|
|
2226
|
+
"no-retry": {
|
|
2227
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
2228
|
+
"helpGroup": "GLOBAL",
|
|
2229
|
+
"name": "no-retry",
|
|
2230
|
+
"allowNo": false,
|
|
2231
|
+
"type": "boolean"
|
|
2232
|
+
},
|
|
2233
|
+
"timeout": {
|
|
2234
|
+
"description": "Request timeout in milliseconds",
|
|
2235
|
+
"helpGroup": "GLOBAL",
|
|
2236
|
+
"name": "timeout",
|
|
2237
|
+
"hasDynamicHelp": false,
|
|
2238
|
+
"multiple": false,
|
|
2239
|
+
"type": "option"
|
|
2240
|
+
},
|
|
2241
|
+
"limit": {
|
|
2242
|
+
"description": "Maximum number of items to return (lists)",
|
|
2243
|
+
"helpGroup": "GLOBAL",
|
|
2244
|
+
"name": "limit",
|
|
2245
|
+
"hasDynamicHelp": false,
|
|
2246
|
+
"multiple": false,
|
|
2247
|
+
"type": "option"
|
|
2248
|
+
},
|
|
2249
|
+
"title": {
|
|
2250
|
+
"description": "Deal title",
|
|
2251
|
+
"name": "title",
|
|
2252
|
+
"hasDynamicHelp": false,
|
|
2253
|
+
"multiple": false,
|
|
2254
|
+
"type": "option"
|
|
2255
|
+
},
|
|
2256
|
+
"value": {
|
|
2257
|
+
"description": "Deal value",
|
|
2258
|
+
"name": "value",
|
|
2259
|
+
"hasDynamicHelp": false,
|
|
2260
|
+
"multiple": false,
|
|
2261
|
+
"type": "option"
|
|
2262
|
+
},
|
|
2263
|
+
"currency": {
|
|
2264
|
+
"description": "Deal currency (e.g. EUR)",
|
|
2265
|
+
"name": "currency",
|
|
2266
|
+
"hasDynamicHelp": false,
|
|
2267
|
+
"multiple": false,
|
|
2268
|
+
"type": "option"
|
|
2269
|
+
},
|
|
2270
|
+
"status": {
|
|
2271
|
+
"description": "Deal status",
|
|
2272
|
+
"name": "status",
|
|
2273
|
+
"hasDynamicHelp": false,
|
|
2274
|
+
"multiple": false,
|
|
2275
|
+
"options": [
|
|
2276
|
+
"open",
|
|
2277
|
+
"won",
|
|
2278
|
+
"lost"
|
|
2279
|
+
],
|
|
2280
|
+
"type": "option"
|
|
2281
|
+
},
|
|
2282
|
+
"stage": {
|
|
2283
|
+
"description": "Stage ID",
|
|
2284
|
+
"name": "stage",
|
|
2285
|
+
"hasDynamicHelp": false,
|
|
2286
|
+
"multiple": false,
|
|
2287
|
+
"type": "option"
|
|
2288
|
+
},
|
|
2289
|
+
"pipeline": {
|
|
2290
|
+
"description": "Pipeline ID",
|
|
2291
|
+
"name": "pipeline",
|
|
2292
|
+
"hasDynamicHelp": false,
|
|
2293
|
+
"multiple": false,
|
|
2294
|
+
"type": "option"
|
|
2295
|
+
},
|
|
2296
|
+
"person": {
|
|
2297
|
+
"description": "Linked person ID",
|
|
2298
|
+
"name": "person",
|
|
2299
|
+
"hasDynamicHelp": false,
|
|
2300
|
+
"multiple": false,
|
|
2301
|
+
"type": "option"
|
|
2302
|
+
},
|
|
2303
|
+
"org": {
|
|
2304
|
+
"description": "Linked organization ID",
|
|
2305
|
+
"name": "org",
|
|
2306
|
+
"hasDynamicHelp": false,
|
|
2307
|
+
"multiple": false,
|
|
2308
|
+
"type": "option"
|
|
2309
|
+
},
|
|
2310
|
+
"owner": {
|
|
2311
|
+
"description": "Owner (user) ID",
|
|
2312
|
+
"name": "owner",
|
|
2313
|
+
"hasDynamicHelp": false,
|
|
2314
|
+
"multiple": false,
|
|
2315
|
+
"type": "option"
|
|
2316
|
+
},
|
|
2317
|
+
"probability": {
|
|
2318
|
+
"description": "Success probability (0-100)",
|
|
2319
|
+
"name": "probability",
|
|
2320
|
+
"hasDynamicHelp": false,
|
|
2321
|
+
"multiple": false,
|
|
2322
|
+
"type": "option"
|
|
2323
|
+
},
|
|
2324
|
+
"expected-close-date": {
|
|
2325
|
+
"description": "Expected close date (YYYY-MM-DD)",
|
|
2326
|
+
"name": "expected-close-date",
|
|
2327
|
+
"hasDynamicHelp": false,
|
|
2328
|
+
"multiple": false,
|
|
2329
|
+
"type": "option"
|
|
2330
|
+
},
|
|
2331
|
+
"field": {
|
|
2332
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
2333
|
+
"name": "field",
|
|
2334
|
+
"hasDynamicHelp": false,
|
|
2335
|
+
"multiple": true,
|
|
2336
|
+
"type": "option"
|
|
2337
|
+
},
|
|
2338
|
+
"body": {
|
|
2339
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
2340
|
+
"name": "body",
|
|
2341
|
+
"hasDynamicHelp": false,
|
|
2342
|
+
"multiple": false,
|
|
2343
|
+
"type": "option"
|
|
2344
|
+
}
|
|
2345
|
+
},
|
|
2346
|
+
"hasDynamicHelp": false,
|
|
2347
|
+
"hiddenAliases": [],
|
|
2348
|
+
"id": "deal:update",
|
|
2349
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
2350
|
+
"pluginName": "@wavyx/pdcli",
|
|
2351
|
+
"pluginType": "core",
|
|
2352
|
+
"strict": true,
|
|
2353
|
+
"enableJsonFlag": false,
|
|
2354
|
+
"isESM": true,
|
|
2355
|
+
"relativePath": [
|
|
2356
|
+
"src",
|
|
2357
|
+
"commands",
|
|
2358
|
+
"deal",
|
|
2359
|
+
"update.js"
|
|
2360
|
+
]
|
|
2361
|
+
},
|
|
2362
|
+
"field:get": {
|
|
2363
|
+
"aliases": [],
|
|
2364
|
+
"args": {
|
|
2365
|
+
"entity": {
|
|
2366
|
+
"description": "Entity type",
|
|
2367
|
+
"name": "entity",
|
|
2368
|
+
"options": [
|
|
2369
|
+
"deal",
|
|
2370
|
+
"person",
|
|
2371
|
+
"org",
|
|
2372
|
+
"organization",
|
|
2373
|
+
"product",
|
|
2374
|
+
"activity"
|
|
2375
|
+
],
|
|
2376
|
+
"required": true
|
|
2377
|
+
},
|
|
2378
|
+
"field": {
|
|
2379
|
+
"description": "Field name (human label) or hashed key",
|
|
2380
|
+
"name": "field",
|
|
2381
|
+
"required": true
|
|
2382
|
+
}
|
|
2383
|
+
},
|
|
2384
|
+
"description": "Show one field by human name or hashed key",
|
|
2385
|
+
"examples": [
|
|
2386
|
+
"<%= config.bin %> field get deal \"Deal Size\"",
|
|
2387
|
+
"<%= config.bin %> field get deal dcf558aac1ae4e8c4f849ba5e668430d8df9be12"
|
|
2388
|
+
],
|
|
2389
|
+
"flags": {
|
|
2390
|
+
"output": {
|
|
2391
|
+
"char": "o",
|
|
2392
|
+
"description": "Output format",
|
|
2393
|
+
"helpGroup": "GLOBAL",
|
|
2394
|
+
"name": "output",
|
|
2395
|
+
"hasDynamicHelp": false,
|
|
2396
|
+
"multiple": false,
|
|
2397
|
+
"options": [
|
|
2398
|
+
"table",
|
|
2399
|
+
"json"
|
|
2400
|
+
],
|
|
2401
|
+
"type": "option"
|
|
2402
|
+
},
|
|
2403
|
+
"profile": {
|
|
2404
|
+
"description": "Named auth profile to use",
|
|
2405
|
+
"env": "PDCLI_PROFILE",
|
|
2406
|
+
"helpGroup": "GLOBAL",
|
|
2407
|
+
"name": "profile",
|
|
2408
|
+
"hasDynamicHelp": false,
|
|
2409
|
+
"multiple": false,
|
|
2410
|
+
"type": "option"
|
|
2411
|
+
},
|
|
2412
|
+
"no-color": {
|
|
2413
|
+
"description": "Disable color output",
|
|
2414
|
+
"helpGroup": "GLOBAL",
|
|
2415
|
+
"name": "no-color",
|
|
2416
|
+
"allowNo": false,
|
|
2417
|
+
"type": "boolean"
|
|
2418
|
+
},
|
|
2419
|
+
"verbose": {
|
|
2420
|
+
"description": "Show detailed API request/response on errors",
|
|
2421
|
+
"helpGroup": "GLOBAL",
|
|
2422
|
+
"name": "verbose",
|
|
2423
|
+
"allowNo": false,
|
|
2424
|
+
"type": "boolean"
|
|
2425
|
+
},
|
|
2426
|
+
"no-retry": {
|
|
2427
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
2428
|
+
"helpGroup": "GLOBAL",
|
|
2429
|
+
"name": "no-retry",
|
|
2430
|
+
"allowNo": false,
|
|
2431
|
+
"type": "boolean"
|
|
2432
|
+
},
|
|
2433
|
+
"timeout": {
|
|
2434
|
+
"description": "Request timeout in milliseconds",
|
|
2435
|
+
"helpGroup": "GLOBAL",
|
|
2436
|
+
"name": "timeout",
|
|
2437
|
+
"hasDynamicHelp": false,
|
|
2438
|
+
"multiple": false,
|
|
2439
|
+
"type": "option"
|
|
2440
|
+
},
|
|
2441
|
+
"limit": {
|
|
2442
|
+
"description": "Maximum number of items to return (lists)",
|
|
2443
|
+
"helpGroup": "GLOBAL",
|
|
2444
|
+
"name": "limit",
|
|
2445
|
+
"hasDynamicHelp": false,
|
|
2446
|
+
"multiple": false,
|
|
2447
|
+
"type": "option"
|
|
2448
|
+
}
|
|
2449
|
+
},
|
|
2450
|
+
"hasDynamicHelp": false,
|
|
2451
|
+
"hiddenAliases": [],
|
|
2452
|
+
"id": "field:get",
|
|
2453
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
2454
|
+
"pluginName": "@wavyx/pdcli",
|
|
2455
|
+
"pluginType": "core",
|
|
2456
|
+
"strict": true,
|
|
2457
|
+
"enableJsonFlag": false,
|
|
2458
|
+
"isESM": true,
|
|
2459
|
+
"relativePath": [
|
|
2460
|
+
"src",
|
|
2461
|
+
"commands",
|
|
2462
|
+
"field",
|
|
2463
|
+
"get.js"
|
|
2464
|
+
]
|
|
2465
|
+
},
|
|
2466
|
+
"field:list": {
|
|
2467
|
+
"aliases": [],
|
|
2468
|
+
"args": {
|
|
2469
|
+
"entity": {
|
|
2470
|
+
"description": "Entity type",
|
|
2471
|
+
"name": "entity",
|
|
2472
|
+
"options": [
|
|
2473
|
+
"deal",
|
|
2474
|
+
"person",
|
|
2475
|
+
"org",
|
|
2476
|
+
"organization",
|
|
2477
|
+
"product",
|
|
2478
|
+
"activity"
|
|
2479
|
+
],
|
|
2480
|
+
"required": true
|
|
2481
|
+
}
|
|
2482
|
+
},
|
|
2483
|
+
"description": "List fields for an entity, including custom-field hash keys",
|
|
2484
|
+
"examples": [
|
|
2485
|
+
"<%= config.bin %> field list deal",
|
|
2486
|
+
"<%= config.bin %> field list person --output json"
|
|
2487
|
+
],
|
|
2488
|
+
"flags": {
|
|
2489
|
+
"output": {
|
|
2490
|
+
"char": "o",
|
|
2491
|
+
"description": "Output format",
|
|
2492
|
+
"helpGroup": "GLOBAL",
|
|
2493
|
+
"name": "output",
|
|
2494
|
+
"hasDynamicHelp": false,
|
|
2495
|
+
"multiple": false,
|
|
2496
|
+
"options": [
|
|
2497
|
+
"table",
|
|
2498
|
+
"json"
|
|
2499
|
+
],
|
|
2500
|
+
"type": "option"
|
|
2501
|
+
},
|
|
2502
|
+
"profile": {
|
|
2503
|
+
"description": "Named auth profile to use",
|
|
2504
|
+
"env": "PDCLI_PROFILE",
|
|
2505
|
+
"helpGroup": "GLOBAL",
|
|
2506
|
+
"name": "profile",
|
|
2507
|
+
"hasDynamicHelp": false,
|
|
2508
|
+
"multiple": false,
|
|
2509
|
+
"type": "option"
|
|
2510
|
+
},
|
|
2511
|
+
"no-color": {
|
|
2512
|
+
"description": "Disable color output",
|
|
2513
|
+
"helpGroup": "GLOBAL",
|
|
2514
|
+
"name": "no-color",
|
|
2515
|
+
"allowNo": false,
|
|
2516
|
+
"type": "boolean"
|
|
2517
|
+
},
|
|
2518
|
+
"verbose": {
|
|
2519
|
+
"description": "Show detailed API request/response on errors",
|
|
2520
|
+
"helpGroup": "GLOBAL",
|
|
2521
|
+
"name": "verbose",
|
|
2522
|
+
"allowNo": false,
|
|
2523
|
+
"type": "boolean"
|
|
2524
|
+
},
|
|
2525
|
+
"no-retry": {
|
|
2526
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
2527
|
+
"helpGroup": "GLOBAL",
|
|
2528
|
+
"name": "no-retry",
|
|
2529
|
+
"allowNo": false,
|
|
2530
|
+
"type": "boolean"
|
|
2531
|
+
},
|
|
2532
|
+
"timeout": {
|
|
2533
|
+
"description": "Request timeout in milliseconds",
|
|
2534
|
+
"helpGroup": "GLOBAL",
|
|
2535
|
+
"name": "timeout",
|
|
2536
|
+
"hasDynamicHelp": false,
|
|
2537
|
+
"multiple": false,
|
|
2538
|
+
"type": "option"
|
|
2539
|
+
},
|
|
2540
|
+
"limit": {
|
|
2541
|
+
"description": "Maximum number of items to return (lists)",
|
|
2542
|
+
"helpGroup": "GLOBAL",
|
|
2543
|
+
"name": "limit",
|
|
2544
|
+
"hasDynamicHelp": false,
|
|
2545
|
+
"multiple": false,
|
|
2546
|
+
"type": "option"
|
|
2547
|
+
}
|
|
2548
|
+
},
|
|
2549
|
+
"hasDynamicHelp": false,
|
|
2550
|
+
"hiddenAliases": [],
|
|
2551
|
+
"id": "field:list",
|
|
2552
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
2553
|
+
"pluginName": "@wavyx/pdcli",
|
|
2554
|
+
"pluginType": "core",
|
|
2555
|
+
"strict": true,
|
|
2556
|
+
"enableJsonFlag": false,
|
|
2557
|
+
"isESM": true,
|
|
2558
|
+
"relativePath": [
|
|
2559
|
+
"src",
|
|
2560
|
+
"commands",
|
|
2561
|
+
"field",
|
|
2562
|
+
"list.js"
|
|
2563
|
+
]
|
|
2564
|
+
},
|
|
2565
|
+
"org:create": {
|
|
2566
|
+
"aliases": [],
|
|
2567
|
+
"args": {},
|
|
2568
|
+
"description": "Create an organization",
|
|
2569
|
+
"examples": [
|
|
2570
|
+
"<%= config.bin %> org create --name \"Acme Corp\"",
|
|
2571
|
+
"<%= config.bin %> org create --name \"Tiered\" --field \"Tier=Gold\"",
|
|
2572
|
+
"<%= config.bin %> org create --name \"Raw\" --body '{\"visible_to\":3}'"
|
|
2573
|
+
],
|
|
2574
|
+
"flags": {
|
|
2575
|
+
"output": {
|
|
2576
|
+
"char": "o",
|
|
2577
|
+
"description": "Output format",
|
|
2578
|
+
"helpGroup": "GLOBAL",
|
|
2579
|
+
"name": "output",
|
|
2580
|
+
"hasDynamicHelp": false,
|
|
2581
|
+
"multiple": false,
|
|
2582
|
+
"options": [
|
|
2583
|
+
"table",
|
|
2584
|
+
"json"
|
|
2585
|
+
],
|
|
2586
|
+
"type": "option"
|
|
2587
|
+
},
|
|
2588
|
+
"profile": {
|
|
2589
|
+
"description": "Named auth profile to use",
|
|
2590
|
+
"env": "PDCLI_PROFILE",
|
|
2591
|
+
"helpGroup": "GLOBAL",
|
|
2592
|
+
"name": "profile",
|
|
2593
|
+
"hasDynamicHelp": false,
|
|
2594
|
+
"multiple": false,
|
|
2595
|
+
"type": "option"
|
|
2596
|
+
},
|
|
2597
|
+
"no-color": {
|
|
2598
|
+
"description": "Disable color output",
|
|
2599
|
+
"helpGroup": "GLOBAL",
|
|
2600
|
+
"name": "no-color",
|
|
2601
|
+
"allowNo": false,
|
|
2602
|
+
"type": "boolean"
|
|
2603
|
+
},
|
|
2604
|
+
"verbose": {
|
|
2605
|
+
"description": "Show detailed API request/response on errors",
|
|
2606
|
+
"helpGroup": "GLOBAL",
|
|
2607
|
+
"name": "verbose",
|
|
2608
|
+
"allowNo": false,
|
|
2609
|
+
"type": "boolean"
|
|
2610
|
+
},
|
|
2611
|
+
"no-retry": {
|
|
2612
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
2613
|
+
"helpGroup": "GLOBAL",
|
|
2614
|
+
"name": "no-retry",
|
|
2615
|
+
"allowNo": false,
|
|
2616
|
+
"type": "boolean"
|
|
2617
|
+
},
|
|
2618
|
+
"timeout": {
|
|
2619
|
+
"description": "Request timeout in milliseconds",
|
|
2620
|
+
"helpGroup": "GLOBAL",
|
|
2621
|
+
"name": "timeout",
|
|
2622
|
+
"hasDynamicHelp": false,
|
|
2623
|
+
"multiple": false,
|
|
2624
|
+
"type": "option"
|
|
2625
|
+
},
|
|
2626
|
+
"limit": {
|
|
2627
|
+
"description": "Maximum number of items to return (lists)",
|
|
2628
|
+
"helpGroup": "GLOBAL",
|
|
2629
|
+
"name": "limit",
|
|
2630
|
+
"hasDynamicHelp": false,
|
|
2631
|
+
"multiple": false,
|
|
2632
|
+
"type": "option"
|
|
2633
|
+
},
|
|
2634
|
+
"name": {
|
|
2635
|
+
"description": "Organization name",
|
|
2636
|
+
"name": "name",
|
|
2637
|
+
"required": true,
|
|
2638
|
+
"hasDynamicHelp": false,
|
|
2639
|
+
"multiple": false,
|
|
2640
|
+
"type": "option"
|
|
2641
|
+
},
|
|
2642
|
+
"owner": {
|
|
2643
|
+
"description": "Owner (user) ID",
|
|
2644
|
+
"name": "owner",
|
|
2645
|
+
"hasDynamicHelp": false,
|
|
2646
|
+
"multiple": false,
|
|
2647
|
+
"type": "option"
|
|
2648
|
+
},
|
|
2649
|
+
"field": {
|
|
2650
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
2651
|
+
"name": "field",
|
|
2652
|
+
"hasDynamicHelp": false,
|
|
2653
|
+
"multiple": true,
|
|
2654
|
+
"type": "option"
|
|
2655
|
+
},
|
|
2656
|
+
"body": {
|
|
2657
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
2658
|
+
"name": "body",
|
|
2659
|
+
"hasDynamicHelp": false,
|
|
2660
|
+
"multiple": false,
|
|
2661
|
+
"type": "option"
|
|
2662
|
+
}
|
|
2663
|
+
},
|
|
2664
|
+
"hasDynamicHelp": false,
|
|
2665
|
+
"hiddenAliases": [],
|
|
2666
|
+
"id": "org:create",
|
|
2667
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
2668
|
+
"pluginName": "@wavyx/pdcli",
|
|
2669
|
+
"pluginType": "core",
|
|
2670
|
+
"strict": true,
|
|
2671
|
+
"enableJsonFlag": false,
|
|
2672
|
+
"isESM": true,
|
|
2673
|
+
"relativePath": [
|
|
2674
|
+
"src",
|
|
2675
|
+
"commands",
|
|
2676
|
+
"org",
|
|
2677
|
+
"create.js"
|
|
2678
|
+
]
|
|
2679
|
+
},
|
|
2680
|
+
"org:delete": {
|
|
2681
|
+
"aliases": [],
|
|
2682
|
+
"args": {
|
|
2683
|
+
"id": {
|
|
2684
|
+
"description": "Organization ID",
|
|
2685
|
+
"name": "id",
|
|
2686
|
+
"required": true
|
|
2687
|
+
}
|
|
2688
|
+
},
|
|
2689
|
+
"description": "Delete an organization",
|
|
2690
|
+
"examples": [
|
|
2691
|
+
"<%= config.bin %> org delete 7",
|
|
2692
|
+
"<%= config.bin %> org delete 7 --yes"
|
|
2693
|
+
],
|
|
2694
|
+
"flags": {
|
|
2695
|
+
"output": {
|
|
2696
|
+
"char": "o",
|
|
2697
|
+
"description": "Output format",
|
|
2698
|
+
"helpGroup": "GLOBAL",
|
|
2699
|
+
"name": "output",
|
|
2700
|
+
"hasDynamicHelp": false,
|
|
2701
|
+
"multiple": false,
|
|
2702
|
+
"options": [
|
|
2703
|
+
"table",
|
|
2704
|
+
"json"
|
|
2705
|
+
],
|
|
2706
|
+
"type": "option"
|
|
2707
|
+
},
|
|
2708
|
+
"profile": {
|
|
2709
|
+
"description": "Named auth profile to use",
|
|
2710
|
+
"env": "PDCLI_PROFILE",
|
|
2711
|
+
"helpGroup": "GLOBAL",
|
|
2712
|
+
"name": "profile",
|
|
2713
|
+
"hasDynamicHelp": false,
|
|
2714
|
+
"multiple": false,
|
|
2715
|
+
"type": "option"
|
|
2716
|
+
},
|
|
2717
|
+
"no-color": {
|
|
2718
|
+
"description": "Disable color output",
|
|
2719
|
+
"helpGroup": "GLOBAL",
|
|
2720
|
+
"name": "no-color",
|
|
2721
|
+
"allowNo": false,
|
|
2722
|
+
"type": "boolean"
|
|
2723
|
+
},
|
|
2724
|
+
"verbose": {
|
|
2725
|
+
"description": "Show detailed API request/response on errors",
|
|
2726
|
+
"helpGroup": "GLOBAL",
|
|
2727
|
+
"name": "verbose",
|
|
2728
|
+
"allowNo": false,
|
|
2729
|
+
"type": "boolean"
|
|
2730
|
+
},
|
|
2731
|
+
"no-retry": {
|
|
2732
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
2733
|
+
"helpGroup": "GLOBAL",
|
|
2734
|
+
"name": "no-retry",
|
|
2735
|
+
"allowNo": false,
|
|
2736
|
+
"type": "boolean"
|
|
2737
|
+
},
|
|
2738
|
+
"timeout": {
|
|
2739
|
+
"description": "Request timeout in milliseconds",
|
|
2740
|
+
"helpGroup": "GLOBAL",
|
|
2741
|
+
"name": "timeout",
|
|
2742
|
+
"hasDynamicHelp": false,
|
|
2743
|
+
"multiple": false,
|
|
2744
|
+
"type": "option"
|
|
2745
|
+
},
|
|
2746
|
+
"limit": {
|
|
2747
|
+
"description": "Maximum number of items to return (lists)",
|
|
2748
|
+
"helpGroup": "GLOBAL",
|
|
2749
|
+
"name": "limit",
|
|
2750
|
+
"hasDynamicHelp": false,
|
|
2751
|
+
"multiple": false,
|
|
2752
|
+
"type": "option"
|
|
2753
|
+
},
|
|
2754
|
+
"yes": {
|
|
2755
|
+
"char": "y",
|
|
2756
|
+
"description": "Skip the confirmation prompt",
|
|
2757
|
+
"name": "yes",
|
|
2758
|
+
"allowNo": false,
|
|
2759
|
+
"type": "boolean"
|
|
2760
|
+
}
|
|
2761
|
+
},
|
|
2762
|
+
"hasDynamicHelp": false,
|
|
2763
|
+
"hiddenAliases": [],
|
|
2764
|
+
"id": "org:delete",
|
|
2765
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
2766
|
+
"pluginName": "@wavyx/pdcli",
|
|
2767
|
+
"pluginType": "core",
|
|
2768
|
+
"strict": true,
|
|
2769
|
+
"enableJsonFlag": false,
|
|
2770
|
+
"isESM": true,
|
|
2771
|
+
"relativePath": [
|
|
2772
|
+
"src",
|
|
2773
|
+
"commands",
|
|
2774
|
+
"org",
|
|
2775
|
+
"delete.js"
|
|
2776
|
+
]
|
|
2777
|
+
},
|
|
2778
|
+
"org:get": {
|
|
2779
|
+
"aliases": [],
|
|
2780
|
+
"args": {
|
|
2781
|
+
"id": {
|
|
2782
|
+
"description": "Organization ID",
|
|
2783
|
+
"name": "id",
|
|
2784
|
+
"required": true
|
|
2785
|
+
}
|
|
2786
|
+
},
|
|
2787
|
+
"description": "Get an organization by ID",
|
|
720
2788
|
"examples": [
|
|
721
|
-
"<%= config.bin %>
|
|
2789
|
+
"<%= config.bin %> org get 7",
|
|
2790
|
+
"<%= config.bin %> org get 7 --output json"
|
|
722
2791
|
],
|
|
723
2792
|
"flags": {
|
|
724
2793
|
"output": {
|
|
@@ -783,27 +2852,27 @@
|
|
|
783
2852
|
},
|
|
784
2853
|
"hasDynamicHelp": false,
|
|
785
2854
|
"hiddenAliases": [],
|
|
786
|
-
"id": "
|
|
2855
|
+
"id": "org:get",
|
|
787
2856
|
"pluginAlias": "@wavyx/pdcli",
|
|
788
2857
|
"pluginName": "@wavyx/pdcli",
|
|
789
2858
|
"pluginType": "core",
|
|
790
2859
|
"strict": true,
|
|
791
2860
|
"enableJsonFlag": false,
|
|
792
|
-
"skipAuth": true,
|
|
793
2861
|
"isESM": true,
|
|
794
2862
|
"relativePath": [
|
|
795
2863
|
"src",
|
|
796
2864
|
"commands",
|
|
797
|
-
"
|
|
798
|
-
"
|
|
2865
|
+
"org",
|
|
2866
|
+
"get.js"
|
|
799
2867
|
]
|
|
800
2868
|
},
|
|
801
|
-
"
|
|
2869
|
+
"org:list": {
|
|
802
2870
|
"aliases": [],
|
|
803
2871
|
"args": {},
|
|
804
|
-
"description": "
|
|
2872
|
+
"description": "List organizations",
|
|
805
2873
|
"examples": [
|
|
806
|
-
"<%= config.bin %>
|
|
2874
|
+
"<%= config.bin %> org list",
|
|
2875
|
+
"<%= config.bin %> org list --owner 3 --output json"
|
|
807
2876
|
],
|
|
808
2877
|
"flags": {
|
|
809
2878
|
"output": {
|
|
@@ -864,38 +2933,45 @@
|
|
|
864
2933
|
"hasDynamicHelp": false,
|
|
865
2934
|
"multiple": false,
|
|
866
2935
|
"type": "option"
|
|
2936
|
+
},
|
|
2937
|
+
"owner": {
|
|
2938
|
+
"description": "Filter by owner (user) ID",
|
|
2939
|
+
"name": "owner",
|
|
2940
|
+
"hasDynamicHelp": false,
|
|
2941
|
+
"multiple": false,
|
|
2942
|
+
"type": "option"
|
|
867
2943
|
}
|
|
868
2944
|
},
|
|
869
2945
|
"hasDynamicHelp": false,
|
|
870
2946
|
"hiddenAliases": [],
|
|
871
|
-
"id": "
|
|
2947
|
+
"id": "org:list",
|
|
872
2948
|
"pluginAlias": "@wavyx/pdcli",
|
|
873
2949
|
"pluginName": "@wavyx/pdcli",
|
|
874
2950
|
"pluginType": "core",
|
|
875
2951
|
"strict": true,
|
|
876
2952
|
"enableJsonFlag": false,
|
|
877
|
-
"skipAuth": true,
|
|
878
2953
|
"isESM": true,
|
|
879
2954
|
"relativePath": [
|
|
880
2955
|
"src",
|
|
881
2956
|
"commands",
|
|
882
|
-
"
|
|
883
|
-
"
|
|
2957
|
+
"org",
|
|
2958
|
+
"list.js"
|
|
884
2959
|
]
|
|
885
2960
|
},
|
|
886
|
-
"
|
|
2961
|
+
"org:update": {
|
|
887
2962
|
"aliases": [],
|
|
888
2963
|
"args": {
|
|
889
2964
|
"id": {
|
|
890
|
-
"description": "
|
|
2965
|
+
"description": "Organization ID",
|
|
891
2966
|
"name": "id",
|
|
892
2967
|
"required": true
|
|
893
2968
|
}
|
|
894
2969
|
},
|
|
895
|
-
"description": "
|
|
2970
|
+
"description": "Update an organization (v2 PATCH — only provided fields change)",
|
|
896
2971
|
"examples": [
|
|
897
|
-
"<%= config.bin %>
|
|
898
|
-
"<%= config.bin %>
|
|
2972
|
+
"<%= config.bin %> org update 7 --name \"Acme Inc\"",
|
|
2973
|
+
"<%= config.bin %> org update 7 --owner 9",
|
|
2974
|
+
"<%= config.bin %> org update 7 --field \"Tier=Gold\""
|
|
899
2975
|
],
|
|
900
2976
|
"flags": {
|
|
901
2977
|
"output": {
|
|
@@ -956,11 +3032,39 @@
|
|
|
956
3032
|
"hasDynamicHelp": false,
|
|
957
3033
|
"multiple": false,
|
|
958
3034
|
"type": "option"
|
|
3035
|
+
},
|
|
3036
|
+
"name": {
|
|
3037
|
+
"description": "Organization name",
|
|
3038
|
+
"name": "name",
|
|
3039
|
+
"hasDynamicHelp": false,
|
|
3040
|
+
"multiple": false,
|
|
3041
|
+
"type": "option"
|
|
3042
|
+
},
|
|
3043
|
+
"owner": {
|
|
3044
|
+
"description": "Owner (user) ID",
|
|
3045
|
+
"name": "owner",
|
|
3046
|
+
"hasDynamicHelp": false,
|
|
3047
|
+
"multiple": false,
|
|
3048
|
+
"type": "option"
|
|
3049
|
+
},
|
|
3050
|
+
"field": {
|
|
3051
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
3052
|
+
"name": "field",
|
|
3053
|
+
"hasDynamicHelp": false,
|
|
3054
|
+
"multiple": true,
|
|
3055
|
+
"type": "option"
|
|
3056
|
+
},
|
|
3057
|
+
"body": {
|
|
3058
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
3059
|
+
"name": "body",
|
|
3060
|
+
"hasDynamicHelp": false,
|
|
3061
|
+
"multiple": false,
|
|
3062
|
+
"type": "option"
|
|
959
3063
|
}
|
|
960
3064
|
},
|
|
961
3065
|
"hasDynamicHelp": false,
|
|
962
3066
|
"hiddenAliases": [],
|
|
963
|
-
"id": "
|
|
3067
|
+
"id": "org:update",
|
|
964
3068
|
"pluginAlias": "@wavyx/pdcli",
|
|
965
3069
|
"pluginName": "@wavyx/pdcli",
|
|
966
3070
|
"pluginType": "core",
|
|
@@ -970,18 +3074,18 @@
|
|
|
970
3074
|
"relativePath": [
|
|
971
3075
|
"src",
|
|
972
3076
|
"commands",
|
|
973
|
-
"
|
|
974
|
-
"
|
|
3077
|
+
"org",
|
|
3078
|
+
"update.js"
|
|
975
3079
|
]
|
|
976
3080
|
},
|
|
977
|
-
"
|
|
3081
|
+
"person:create": {
|
|
978
3082
|
"aliases": [],
|
|
979
3083
|
"args": {},
|
|
980
|
-
"description": "
|
|
3084
|
+
"description": "Create a person",
|
|
981
3085
|
"examples": [
|
|
982
|
-
"<%= config.bin %>
|
|
983
|
-
"<%= config.bin %>
|
|
984
|
-
"<%= config.bin %>
|
|
3086
|
+
"<%= config.bin %> person create --name \"Jane Doe\" --email jane@acme.com",
|
|
3087
|
+
"<%= config.bin %> person create --name \"Jane\" --field \"Segment=Enterprise\"",
|
|
3088
|
+
"<%= config.bin %> person create --name \"Raw\" --body '{\"visible_to\":\"3\"}'"
|
|
985
3089
|
],
|
|
986
3090
|
"flags": {
|
|
987
3091
|
"output": {
|
|
@@ -1043,50 +3147,52 @@
|
|
|
1043
3147
|
"multiple": false,
|
|
1044
3148
|
"type": "option"
|
|
1045
3149
|
},
|
|
1046
|
-
"
|
|
1047
|
-
"description": "
|
|
1048
|
-
"name": "
|
|
3150
|
+
"name": {
|
|
3151
|
+
"description": "Person name",
|
|
3152
|
+
"name": "name",
|
|
3153
|
+
"required": true,
|
|
1049
3154
|
"hasDynamicHelp": false,
|
|
1050
3155
|
"multiple": false,
|
|
1051
|
-
"options": [
|
|
1052
|
-
"open",
|
|
1053
|
-
"won",
|
|
1054
|
-
"lost",
|
|
1055
|
-
"deleted"
|
|
1056
|
-
],
|
|
1057
3156
|
"type": "option"
|
|
1058
3157
|
},
|
|
1059
|
-
"
|
|
1060
|
-
"description": "
|
|
1061
|
-
"name": "
|
|
3158
|
+
"email": {
|
|
3159
|
+
"description": "Email address (repeatable; first is primary)",
|
|
3160
|
+
"name": "email",
|
|
1062
3161
|
"hasDynamicHelp": false,
|
|
1063
|
-
"multiple":
|
|
3162
|
+
"multiple": true,
|
|
1064
3163
|
"type": "option"
|
|
1065
3164
|
},
|
|
1066
|
-
"
|
|
1067
|
-
"description": "
|
|
1068
|
-
"name": "
|
|
3165
|
+
"phone": {
|
|
3166
|
+
"description": "Phone number (repeatable; first is primary)",
|
|
3167
|
+
"name": "phone",
|
|
3168
|
+
"hasDynamicHelp": false,
|
|
3169
|
+
"multiple": true,
|
|
3170
|
+
"type": "option"
|
|
3171
|
+
},
|
|
3172
|
+
"org": {
|
|
3173
|
+
"description": "Linked organization ID",
|
|
3174
|
+
"name": "org",
|
|
1069
3175
|
"hasDynamicHelp": false,
|
|
1070
3176
|
"multiple": false,
|
|
1071
3177
|
"type": "option"
|
|
1072
3178
|
},
|
|
1073
3179
|
"owner": {
|
|
1074
|
-
"description": "
|
|
3180
|
+
"description": "Owner (user) ID",
|
|
1075
3181
|
"name": "owner",
|
|
1076
3182
|
"hasDynamicHelp": false,
|
|
1077
3183
|
"multiple": false,
|
|
1078
3184
|
"type": "option"
|
|
1079
3185
|
},
|
|
1080
|
-
"
|
|
1081
|
-
"description": "
|
|
1082
|
-
"name": "
|
|
3186
|
+
"field": {
|
|
3187
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
3188
|
+
"name": "field",
|
|
1083
3189
|
"hasDynamicHelp": false,
|
|
1084
|
-
"multiple":
|
|
3190
|
+
"multiple": true,
|
|
1085
3191
|
"type": "option"
|
|
1086
3192
|
},
|
|
1087
|
-
"
|
|
1088
|
-
"description": "
|
|
1089
|
-
"name": "
|
|
3193
|
+
"body": {
|
|
3194
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
3195
|
+
"name": "body",
|
|
1090
3196
|
"hasDynamicHelp": false,
|
|
1091
3197
|
"multiple": false,
|
|
1092
3198
|
"type": "option"
|
|
@@ -1094,7 +3200,7 @@
|
|
|
1094
3200
|
},
|
|
1095
3201
|
"hasDynamicHelp": false,
|
|
1096
3202
|
"hiddenAliases": [],
|
|
1097
|
-
"id": "
|
|
3203
|
+
"id": "person:create",
|
|
1098
3204
|
"pluginAlias": "@wavyx/pdcli",
|
|
1099
3205
|
"pluginName": "@wavyx/pdcli",
|
|
1100
3206
|
"pluginType": "core",
|
|
@@ -1104,23 +3210,23 @@
|
|
|
1104
3210
|
"relativePath": [
|
|
1105
3211
|
"src",
|
|
1106
3212
|
"commands",
|
|
1107
|
-
"
|
|
1108
|
-
"
|
|
3213
|
+
"person",
|
|
3214
|
+
"create.js"
|
|
1109
3215
|
]
|
|
1110
3216
|
},
|
|
1111
|
-
"
|
|
3217
|
+
"person:delete": {
|
|
1112
3218
|
"aliases": [],
|
|
1113
3219
|
"args": {
|
|
1114
|
-
"
|
|
1115
|
-
"description": "
|
|
1116
|
-
"name": "
|
|
3220
|
+
"id": {
|
|
3221
|
+
"description": "Person ID",
|
|
3222
|
+
"name": "id",
|
|
1117
3223
|
"required": true
|
|
1118
3224
|
}
|
|
1119
3225
|
},
|
|
1120
|
-
"description": "
|
|
3226
|
+
"description": "Delete a person",
|
|
1121
3227
|
"examples": [
|
|
1122
|
-
"<%= config.bin %>
|
|
1123
|
-
"<%= config.bin %>
|
|
3228
|
+
"<%= config.bin %> person delete 42",
|
|
3229
|
+
"<%= config.bin %> person delete 42 --yes"
|
|
1124
3230
|
],
|
|
1125
3231
|
"flags": {
|
|
1126
3232
|
"output": {
|
|
@@ -1181,31 +3287,44 @@
|
|
|
1181
3287
|
"hasDynamicHelp": false,
|
|
1182
3288
|
"multiple": false,
|
|
1183
3289
|
"type": "option"
|
|
3290
|
+
},
|
|
3291
|
+
"yes": {
|
|
3292
|
+
"char": "y",
|
|
3293
|
+
"description": "Skip the confirmation prompt",
|
|
3294
|
+
"name": "yes",
|
|
3295
|
+
"allowNo": false,
|
|
3296
|
+
"type": "boolean"
|
|
1184
3297
|
}
|
|
1185
3298
|
},
|
|
1186
3299
|
"hasDynamicHelp": false,
|
|
1187
3300
|
"hiddenAliases": [],
|
|
1188
|
-
"id": "
|
|
3301
|
+
"id": "person:delete",
|
|
1189
3302
|
"pluginAlias": "@wavyx/pdcli",
|
|
1190
3303
|
"pluginName": "@wavyx/pdcli",
|
|
1191
3304
|
"pluginType": "core",
|
|
1192
3305
|
"strict": true,
|
|
1193
3306
|
"enableJsonFlag": false,
|
|
1194
|
-
"skipAuth": true,
|
|
1195
3307
|
"isESM": true,
|
|
1196
3308
|
"relativePath": [
|
|
1197
3309
|
"src",
|
|
1198
3310
|
"commands",
|
|
1199
|
-
"
|
|
1200
|
-
"
|
|
3311
|
+
"person",
|
|
3312
|
+
"delete.js"
|
|
1201
3313
|
]
|
|
1202
3314
|
},
|
|
1203
|
-
"
|
|
3315
|
+
"person:get": {
|
|
1204
3316
|
"aliases": [],
|
|
1205
|
-
"args": {
|
|
1206
|
-
|
|
3317
|
+
"args": {
|
|
3318
|
+
"id": {
|
|
3319
|
+
"description": "Person ID",
|
|
3320
|
+
"name": "id",
|
|
3321
|
+
"required": true
|
|
3322
|
+
}
|
|
3323
|
+
},
|
|
3324
|
+
"description": "Get a person by ID",
|
|
1207
3325
|
"examples": [
|
|
1208
|
-
"<%= config.bin %>
|
|
3326
|
+
"<%= config.bin %> person get 5",
|
|
3327
|
+
"<%= config.bin %> person get 5 --output json"
|
|
1209
3328
|
],
|
|
1210
3329
|
"flags": {
|
|
1211
3330
|
"output": {
|
|
@@ -1270,39 +3389,27 @@
|
|
|
1270
3389
|
},
|
|
1271
3390
|
"hasDynamicHelp": false,
|
|
1272
3391
|
"hiddenAliases": [],
|
|
1273
|
-
"id": "
|
|
3392
|
+
"id": "person:get",
|
|
1274
3393
|
"pluginAlias": "@wavyx/pdcli",
|
|
1275
3394
|
"pluginName": "@wavyx/pdcli",
|
|
1276
3395
|
"pluginType": "core",
|
|
1277
3396
|
"strict": true,
|
|
1278
3397
|
"enableJsonFlag": false,
|
|
1279
|
-
"skipAuth": true,
|
|
1280
3398
|
"isESM": true,
|
|
1281
3399
|
"relativePath": [
|
|
1282
3400
|
"src",
|
|
1283
3401
|
"commands",
|
|
1284
|
-
"
|
|
1285
|
-
"
|
|
3402
|
+
"person",
|
|
3403
|
+
"get.js"
|
|
1286
3404
|
]
|
|
1287
3405
|
},
|
|
1288
|
-
"
|
|
3406
|
+
"person:list": {
|
|
1289
3407
|
"aliases": [],
|
|
1290
|
-
"args": {
|
|
1291
|
-
|
|
1292
|
-
"description": "Config key to set",
|
|
1293
|
-
"name": "key",
|
|
1294
|
-
"required": true
|
|
1295
|
-
},
|
|
1296
|
-
"value": {
|
|
1297
|
-
"description": "Value to assign",
|
|
1298
|
-
"name": "value",
|
|
1299
|
-
"required": true
|
|
1300
|
-
}
|
|
1301
|
-
},
|
|
1302
|
-
"description": "Set a config value for the active profile",
|
|
3408
|
+
"args": {},
|
|
3409
|
+
"description": "List persons (contacts)",
|
|
1303
3410
|
"examples": [
|
|
1304
|
-
"<%= config.bin %>
|
|
1305
|
-
"<%= config.bin %>
|
|
3411
|
+
"<%= config.bin %> person list",
|
|
3412
|
+
"<%= config.bin %> person list --org 7 --output json"
|
|
1306
3413
|
],
|
|
1307
3414
|
"flags": {
|
|
1308
3415
|
"output": {
|
|
@@ -1363,51 +3470,52 @@
|
|
|
1363
3470
|
"hasDynamicHelp": false,
|
|
1364
3471
|
"multiple": false,
|
|
1365
3472
|
"type": "option"
|
|
3473
|
+
},
|
|
3474
|
+
"owner": {
|
|
3475
|
+
"description": "Filter by owner (user) ID",
|
|
3476
|
+
"name": "owner",
|
|
3477
|
+
"hasDynamicHelp": false,
|
|
3478
|
+
"multiple": false,
|
|
3479
|
+
"type": "option"
|
|
3480
|
+
},
|
|
3481
|
+
"org": {
|
|
3482
|
+
"description": "Filter by organization ID",
|
|
3483
|
+
"name": "org",
|
|
3484
|
+
"hasDynamicHelp": false,
|
|
3485
|
+
"multiple": false,
|
|
3486
|
+
"type": "option"
|
|
1366
3487
|
}
|
|
1367
3488
|
},
|
|
1368
3489
|
"hasDynamicHelp": false,
|
|
1369
3490
|
"hiddenAliases": [],
|
|
1370
|
-
"id": "
|
|
3491
|
+
"id": "person:list",
|
|
1371
3492
|
"pluginAlias": "@wavyx/pdcli",
|
|
1372
3493
|
"pluginName": "@wavyx/pdcli",
|
|
1373
3494
|
"pluginType": "core",
|
|
1374
3495
|
"strict": true,
|
|
1375
3496
|
"enableJsonFlag": false,
|
|
1376
|
-
"skipAuth": true,
|
|
1377
3497
|
"isESM": true,
|
|
1378
3498
|
"relativePath": [
|
|
1379
3499
|
"src",
|
|
1380
3500
|
"commands",
|
|
1381
|
-
"
|
|
1382
|
-
"
|
|
3501
|
+
"person",
|
|
3502
|
+
"list.js"
|
|
1383
3503
|
]
|
|
1384
3504
|
},
|
|
1385
|
-
"
|
|
3505
|
+
"person:update": {
|
|
1386
3506
|
"aliases": [],
|
|
1387
3507
|
"args": {
|
|
1388
|
-
"
|
|
1389
|
-
"description": "
|
|
1390
|
-
"name": "
|
|
1391
|
-
"options": [
|
|
1392
|
-
"deal",
|
|
1393
|
-
"person",
|
|
1394
|
-
"org",
|
|
1395
|
-
"organization",
|
|
1396
|
-
"product",
|
|
1397
|
-
"activity"
|
|
1398
|
-
],
|
|
1399
|
-
"required": true
|
|
1400
|
-
},
|
|
1401
|
-
"field": {
|
|
1402
|
-
"description": "Field name (human label) or hashed key",
|
|
1403
|
-
"name": "field",
|
|
3508
|
+
"id": {
|
|
3509
|
+
"description": "Person ID",
|
|
3510
|
+
"name": "id",
|
|
1404
3511
|
"required": true
|
|
1405
3512
|
}
|
|
1406
3513
|
},
|
|
1407
|
-
"description": "
|
|
3514
|
+
"description": "Update a person (v2 PATCH — only provided fields change)",
|
|
1408
3515
|
"examples": [
|
|
1409
|
-
"<%= config.bin %>
|
|
1410
|
-
"<%= config.bin %>
|
|
3516
|
+
"<%= config.bin %> person update 42 --name \"New name\"",
|
|
3517
|
+
"<%= config.bin %> person update 42 --email new@acme.com",
|
|
3518
|
+
"<%= config.bin %> person update 42 --field \"Segment=Enterprise\""
|
|
1411
3519
|
],
|
|
1412
3520
|
"flags": {
|
|
1413
3521
|
"output": {
|
|
@@ -1468,11 +3576,60 @@
|
|
|
1468
3576
|
"hasDynamicHelp": false,
|
|
1469
3577
|
"multiple": false,
|
|
1470
3578
|
"type": "option"
|
|
3579
|
+
},
|
|
3580
|
+
"name": {
|
|
3581
|
+
"description": "Person name",
|
|
3582
|
+
"name": "name",
|
|
3583
|
+
"hasDynamicHelp": false,
|
|
3584
|
+
"multiple": false,
|
|
3585
|
+
"type": "option"
|
|
3586
|
+
},
|
|
3587
|
+
"email": {
|
|
3588
|
+
"description": "Email address (repeatable; first is primary)",
|
|
3589
|
+
"name": "email",
|
|
3590
|
+
"hasDynamicHelp": false,
|
|
3591
|
+
"multiple": true,
|
|
3592
|
+
"type": "option"
|
|
3593
|
+
},
|
|
3594
|
+
"phone": {
|
|
3595
|
+
"description": "Phone number (repeatable; first is primary)",
|
|
3596
|
+
"name": "phone",
|
|
3597
|
+
"hasDynamicHelp": false,
|
|
3598
|
+
"multiple": true,
|
|
3599
|
+
"type": "option"
|
|
3600
|
+
},
|
|
3601
|
+
"org": {
|
|
3602
|
+
"description": "Linked organization ID",
|
|
3603
|
+
"name": "org",
|
|
3604
|
+
"hasDynamicHelp": false,
|
|
3605
|
+
"multiple": false,
|
|
3606
|
+
"type": "option"
|
|
3607
|
+
},
|
|
3608
|
+
"owner": {
|
|
3609
|
+
"description": "Owner (user) ID",
|
|
3610
|
+
"name": "owner",
|
|
3611
|
+
"hasDynamicHelp": false,
|
|
3612
|
+
"multiple": false,
|
|
3613
|
+
"type": "option"
|
|
3614
|
+
},
|
|
3615
|
+
"field": {
|
|
3616
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
3617
|
+
"name": "field",
|
|
3618
|
+
"hasDynamicHelp": false,
|
|
3619
|
+
"multiple": true,
|
|
3620
|
+
"type": "option"
|
|
3621
|
+
},
|
|
3622
|
+
"body": {
|
|
3623
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
3624
|
+
"name": "body",
|
|
3625
|
+
"hasDynamicHelp": false,
|
|
3626
|
+
"multiple": false,
|
|
3627
|
+
"type": "option"
|
|
1471
3628
|
}
|
|
1472
3629
|
},
|
|
1473
3630
|
"hasDynamicHelp": false,
|
|
1474
3631
|
"hiddenAliases": [],
|
|
1475
|
-
"id": "
|
|
3632
|
+
"id": "person:update",
|
|
1476
3633
|
"pluginAlias": "@wavyx/pdcli",
|
|
1477
3634
|
"pluginName": "@wavyx/pdcli",
|
|
1478
3635
|
"pluginType": "core",
|
|
@@ -1482,31 +3639,18 @@
|
|
|
1482
3639
|
"relativePath": [
|
|
1483
3640
|
"src",
|
|
1484
3641
|
"commands",
|
|
1485
|
-
"
|
|
1486
|
-
"
|
|
3642
|
+
"person",
|
|
3643
|
+
"update.js"
|
|
1487
3644
|
]
|
|
1488
3645
|
},
|
|
1489
|
-
"
|
|
3646
|
+
"product:create": {
|
|
1490
3647
|
"aliases": [],
|
|
1491
|
-
"args": {
|
|
1492
|
-
|
|
1493
|
-
"description": "Entity type",
|
|
1494
|
-
"name": "entity",
|
|
1495
|
-
"options": [
|
|
1496
|
-
"deal",
|
|
1497
|
-
"person",
|
|
1498
|
-
"org",
|
|
1499
|
-
"organization",
|
|
1500
|
-
"product",
|
|
1501
|
-
"activity"
|
|
1502
|
-
],
|
|
1503
|
-
"required": true
|
|
1504
|
-
}
|
|
1505
|
-
},
|
|
1506
|
-
"description": "List fields for an entity, including custom-field hash keys",
|
|
3648
|
+
"args": {},
|
|
3649
|
+
"description": "Create a product",
|
|
1507
3650
|
"examples": [
|
|
1508
|
-
"<%= config.bin %>
|
|
1509
|
-
"<%= config.bin %>
|
|
3651
|
+
"<%= config.bin %> product create --name \"Widget\" --code W-1 --price 9.99 --currency EUR",
|
|
3652
|
+
"<%= config.bin %> product create --name \"Sized\" --field \"Material=Steel\"",
|
|
3653
|
+
"<%= config.bin %> product create --name \"Raw\" --body '{\"tax\":19}'"
|
|
1510
3654
|
],
|
|
1511
3655
|
"flags": {
|
|
1512
3656
|
"output": {
|
|
@@ -1567,11 +3711,81 @@
|
|
|
1567
3711
|
"hasDynamicHelp": false,
|
|
1568
3712
|
"multiple": false,
|
|
1569
3713
|
"type": "option"
|
|
3714
|
+
},
|
|
3715
|
+
"name": {
|
|
3716
|
+
"description": "Product name",
|
|
3717
|
+
"name": "name",
|
|
3718
|
+
"required": true,
|
|
3719
|
+
"hasDynamicHelp": false,
|
|
3720
|
+
"multiple": false,
|
|
3721
|
+
"type": "option"
|
|
3722
|
+
},
|
|
3723
|
+
"code": {
|
|
3724
|
+
"description": "Product code (SKU)",
|
|
3725
|
+
"name": "code",
|
|
3726
|
+
"hasDynamicHelp": false,
|
|
3727
|
+
"multiple": false,
|
|
3728
|
+
"type": "option"
|
|
3729
|
+
},
|
|
3730
|
+
"unit": {
|
|
3731
|
+
"description": "Unit of measure",
|
|
3732
|
+
"name": "unit",
|
|
3733
|
+
"hasDynamicHelp": false,
|
|
3734
|
+
"multiple": false,
|
|
3735
|
+
"type": "option"
|
|
3736
|
+
},
|
|
3737
|
+
"description": {
|
|
3738
|
+
"description": "Product description",
|
|
3739
|
+
"name": "description",
|
|
3740
|
+
"hasDynamicHelp": false,
|
|
3741
|
+
"multiple": false,
|
|
3742
|
+
"type": "option"
|
|
3743
|
+
},
|
|
3744
|
+
"owner": {
|
|
3745
|
+
"description": "Owner (user) ID",
|
|
3746
|
+
"name": "owner",
|
|
3747
|
+
"hasDynamicHelp": false,
|
|
3748
|
+
"multiple": false,
|
|
3749
|
+
"type": "option"
|
|
3750
|
+
},
|
|
3751
|
+
"price": {
|
|
3752
|
+
"dependsOn": [
|
|
3753
|
+
"currency"
|
|
3754
|
+
],
|
|
3755
|
+
"description": "Unit price (requires --currency)",
|
|
3756
|
+
"name": "price",
|
|
3757
|
+
"hasDynamicHelp": false,
|
|
3758
|
+
"multiple": false,
|
|
3759
|
+
"type": "option"
|
|
3760
|
+
},
|
|
3761
|
+
"currency": {
|
|
3762
|
+
"dependsOn": [
|
|
3763
|
+
"price"
|
|
3764
|
+
],
|
|
3765
|
+
"description": "Price currency (requires --price)",
|
|
3766
|
+
"name": "currency",
|
|
3767
|
+
"hasDynamicHelp": false,
|
|
3768
|
+
"multiple": false,
|
|
3769
|
+
"type": "option"
|
|
3770
|
+
},
|
|
3771
|
+
"field": {
|
|
3772
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
3773
|
+
"name": "field",
|
|
3774
|
+
"hasDynamicHelp": false,
|
|
3775
|
+
"multiple": true,
|
|
3776
|
+
"type": "option"
|
|
3777
|
+
},
|
|
3778
|
+
"body": {
|
|
3779
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
3780
|
+
"name": "body",
|
|
3781
|
+
"hasDynamicHelp": false,
|
|
3782
|
+
"multiple": false,
|
|
3783
|
+
"type": "option"
|
|
1570
3784
|
}
|
|
1571
3785
|
},
|
|
1572
3786
|
"hasDynamicHelp": false,
|
|
1573
3787
|
"hiddenAliases": [],
|
|
1574
|
-
"id": "
|
|
3788
|
+
"id": "product:create",
|
|
1575
3789
|
"pluginAlias": "@wavyx/pdcli",
|
|
1576
3790
|
"pluginName": "@wavyx/pdcli",
|
|
1577
3791
|
"pluginType": "core",
|
|
@@ -1581,23 +3795,23 @@
|
|
|
1581
3795
|
"relativePath": [
|
|
1582
3796
|
"src",
|
|
1583
3797
|
"commands",
|
|
1584
|
-
"
|
|
1585
|
-
"
|
|
3798
|
+
"product",
|
|
3799
|
+
"create.js"
|
|
1586
3800
|
]
|
|
1587
3801
|
},
|
|
1588
|
-
"
|
|
3802
|
+
"product:delete": {
|
|
1589
3803
|
"aliases": [],
|
|
1590
3804
|
"args": {
|
|
1591
3805
|
"id": {
|
|
1592
|
-
"description": "
|
|
3806
|
+
"description": "Product ID",
|
|
1593
3807
|
"name": "id",
|
|
1594
3808
|
"required": true
|
|
1595
3809
|
}
|
|
1596
3810
|
},
|
|
1597
|
-
"description": "
|
|
3811
|
+
"description": "Delete a product",
|
|
1598
3812
|
"examples": [
|
|
1599
|
-
"<%= config.bin %>
|
|
1600
|
-
"<%= config.bin %>
|
|
3813
|
+
"<%= config.bin %> product delete 7",
|
|
3814
|
+
"<%= config.bin %> product delete 7 --yes"
|
|
1601
3815
|
],
|
|
1602
3816
|
"flags": {
|
|
1603
3817
|
"output": {
|
|
@@ -1658,11 +3872,18 @@
|
|
|
1658
3872
|
"hasDynamicHelp": false,
|
|
1659
3873
|
"multiple": false,
|
|
1660
3874
|
"type": "option"
|
|
3875
|
+
},
|
|
3876
|
+
"yes": {
|
|
3877
|
+
"char": "y",
|
|
3878
|
+
"description": "Skip the confirmation prompt",
|
|
3879
|
+
"name": "yes",
|
|
3880
|
+
"allowNo": false,
|
|
3881
|
+
"type": "boolean"
|
|
1661
3882
|
}
|
|
1662
3883
|
},
|
|
1663
3884
|
"hasDynamicHelp": false,
|
|
1664
3885
|
"hiddenAliases": [],
|
|
1665
|
-
"id": "
|
|
3886
|
+
"id": "product:delete",
|
|
1666
3887
|
"pluginAlias": "@wavyx/pdcli",
|
|
1667
3888
|
"pluginName": "@wavyx/pdcli",
|
|
1668
3889
|
"pluginType": "core",
|
|
@@ -1672,17 +3893,23 @@
|
|
|
1672
3893
|
"relativePath": [
|
|
1673
3894
|
"src",
|
|
1674
3895
|
"commands",
|
|
1675
|
-
"
|
|
1676
|
-
"
|
|
3896
|
+
"product",
|
|
3897
|
+
"delete.js"
|
|
1677
3898
|
]
|
|
1678
3899
|
},
|
|
1679
|
-
"
|
|
3900
|
+
"product:get": {
|
|
1680
3901
|
"aliases": [],
|
|
1681
|
-
"args": {
|
|
1682
|
-
|
|
3902
|
+
"args": {
|
|
3903
|
+
"id": {
|
|
3904
|
+
"description": "Product ID",
|
|
3905
|
+
"name": "id",
|
|
3906
|
+
"required": true
|
|
3907
|
+
}
|
|
3908
|
+
},
|
|
3909
|
+
"description": "Get a product by ID",
|
|
1683
3910
|
"examples": [
|
|
1684
|
-
"<%= config.bin %>
|
|
1685
|
-
"<%= config.bin %>
|
|
3911
|
+
"<%= config.bin %> product get 7",
|
|
3912
|
+
"<%= config.bin %> product get 7 --output json"
|
|
1686
3913
|
],
|
|
1687
3914
|
"flags": {
|
|
1688
3915
|
"output": {
|
|
@@ -1743,18 +3970,11 @@
|
|
|
1743
3970
|
"hasDynamicHelp": false,
|
|
1744
3971
|
"multiple": false,
|
|
1745
3972
|
"type": "option"
|
|
1746
|
-
},
|
|
1747
|
-
"owner": {
|
|
1748
|
-
"description": "Filter by owner (user) ID",
|
|
1749
|
-
"name": "owner",
|
|
1750
|
-
"hasDynamicHelp": false,
|
|
1751
|
-
"multiple": false,
|
|
1752
|
-
"type": "option"
|
|
1753
3973
|
}
|
|
1754
3974
|
},
|
|
1755
3975
|
"hasDynamicHelp": false,
|
|
1756
3976
|
"hiddenAliases": [],
|
|
1757
|
-
"id": "
|
|
3977
|
+
"id": "product:get",
|
|
1758
3978
|
"pluginAlias": "@wavyx/pdcli",
|
|
1759
3979
|
"pluginName": "@wavyx/pdcli",
|
|
1760
3980
|
"pluginType": "core",
|
|
@@ -1764,16 +3984,17 @@
|
|
|
1764
3984
|
"relativePath": [
|
|
1765
3985
|
"src",
|
|
1766
3986
|
"commands",
|
|
1767
|
-
"
|
|
1768
|
-
"
|
|
3987
|
+
"product",
|
|
3988
|
+
"get.js"
|
|
1769
3989
|
]
|
|
1770
3990
|
},
|
|
1771
|
-
"
|
|
3991
|
+
"product:list": {
|
|
1772
3992
|
"aliases": [],
|
|
1773
3993
|
"args": {},
|
|
1774
|
-
"description": "
|
|
3994
|
+
"description": "List products",
|
|
1775
3995
|
"examples": [
|
|
1776
|
-
"<%= config.bin %>
|
|
3996
|
+
"<%= config.bin %> product list",
|
|
3997
|
+
"<%= config.bin %> product list --owner 3 --output json"
|
|
1777
3998
|
],
|
|
1778
3999
|
"flags": {
|
|
1779
4000
|
"output": {
|
|
@@ -1834,11 +4055,18 @@
|
|
|
1834
4055
|
"hasDynamicHelp": false,
|
|
1835
4056
|
"multiple": false,
|
|
1836
4057
|
"type": "option"
|
|
4058
|
+
},
|
|
4059
|
+
"owner": {
|
|
4060
|
+
"description": "Filter by owner (user) ID",
|
|
4061
|
+
"name": "owner",
|
|
4062
|
+
"hasDynamicHelp": false,
|
|
4063
|
+
"multiple": false,
|
|
4064
|
+
"type": "option"
|
|
1837
4065
|
}
|
|
1838
4066
|
},
|
|
1839
4067
|
"hasDynamicHelp": false,
|
|
1840
4068
|
"hiddenAliases": [],
|
|
1841
|
-
"id": "
|
|
4069
|
+
"id": "product:list",
|
|
1842
4070
|
"pluginAlias": "@wavyx/pdcli",
|
|
1843
4071
|
"pluginName": "@wavyx/pdcli",
|
|
1844
4072
|
"pluginType": "core",
|
|
@@ -1848,16 +4076,24 @@
|
|
|
1848
4076
|
"relativePath": [
|
|
1849
4077
|
"src",
|
|
1850
4078
|
"commands",
|
|
1851
|
-
"
|
|
1852
|
-
"
|
|
4079
|
+
"product",
|
|
4080
|
+
"list.js"
|
|
1853
4081
|
]
|
|
1854
4082
|
},
|
|
1855
|
-
"
|
|
4083
|
+
"product:update": {
|
|
1856
4084
|
"aliases": [],
|
|
1857
|
-
"args": {
|
|
1858
|
-
|
|
4085
|
+
"args": {
|
|
4086
|
+
"id": {
|
|
4087
|
+
"description": "Product ID",
|
|
4088
|
+
"name": "id",
|
|
4089
|
+
"required": true
|
|
4090
|
+
}
|
|
4091
|
+
},
|
|
4092
|
+
"description": "Update a product (v2 PATCH — only provided fields change)",
|
|
1859
4093
|
"examples": [
|
|
1860
|
-
"<%= config.bin %>
|
|
4094
|
+
"<%= config.bin %> product update 7 --name \"New name\"",
|
|
4095
|
+
"<%= config.bin %> product update 7 --price 12.50 --currency USD",
|
|
4096
|
+
"<%= config.bin %> product update 7 --field \"Material=Steel\""
|
|
1861
4097
|
],
|
|
1862
4098
|
"flags": {
|
|
1863
4099
|
"output": {
|
|
@@ -1918,31 +4154,99 @@
|
|
|
1918
4154
|
"hasDynamicHelp": false,
|
|
1919
4155
|
"multiple": false,
|
|
1920
4156
|
"type": "option"
|
|
4157
|
+
},
|
|
4158
|
+
"name": {
|
|
4159
|
+
"description": "Product name",
|
|
4160
|
+
"name": "name",
|
|
4161
|
+
"hasDynamicHelp": false,
|
|
4162
|
+
"multiple": false,
|
|
4163
|
+
"type": "option"
|
|
4164
|
+
},
|
|
4165
|
+
"code": {
|
|
4166
|
+
"description": "Product code (SKU)",
|
|
4167
|
+
"name": "code",
|
|
4168
|
+
"hasDynamicHelp": false,
|
|
4169
|
+
"multiple": false,
|
|
4170
|
+
"type": "option"
|
|
4171
|
+
},
|
|
4172
|
+
"unit": {
|
|
4173
|
+
"description": "Unit of measure",
|
|
4174
|
+
"name": "unit",
|
|
4175
|
+
"hasDynamicHelp": false,
|
|
4176
|
+
"multiple": false,
|
|
4177
|
+
"type": "option"
|
|
4178
|
+
},
|
|
4179
|
+
"description": {
|
|
4180
|
+
"description": "Product description",
|
|
4181
|
+
"name": "description",
|
|
4182
|
+
"hasDynamicHelp": false,
|
|
4183
|
+
"multiple": false,
|
|
4184
|
+
"type": "option"
|
|
4185
|
+
},
|
|
4186
|
+
"owner": {
|
|
4187
|
+
"description": "Owner (user) ID",
|
|
4188
|
+
"name": "owner",
|
|
4189
|
+
"hasDynamicHelp": false,
|
|
4190
|
+
"multiple": false,
|
|
4191
|
+
"type": "option"
|
|
4192
|
+
},
|
|
4193
|
+
"price": {
|
|
4194
|
+
"dependsOn": [
|
|
4195
|
+
"currency"
|
|
4196
|
+
],
|
|
4197
|
+
"description": "Unit price (requires --currency)",
|
|
4198
|
+
"name": "price",
|
|
4199
|
+
"hasDynamicHelp": false,
|
|
4200
|
+
"multiple": false,
|
|
4201
|
+
"type": "option"
|
|
4202
|
+
},
|
|
4203
|
+
"currency": {
|
|
4204
|
+
"dependsOn": [
|
|
4205
|
+
"price"
|
|
4206
|
+
],
|
|
4207
|
+
"description": "Price currency (requires --price)",
|
|
4208
|
+
"name": "currency",
|
|
4209
|
+
"hasDynamicHelp": false,
|
|
4210
|
+
"multiple": false,
|
|
4211
|
+
"type": "option"
|
|
4212
|
+
},
|
|
4213
|
+
"field": {
|
|
4214
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
4215
|
+
"name": "field",
|
|
4216
|
+
"hasDynamicHelp": false,
|
|
4217
|
+
"multiple": true,
|
|
4218
|
+
"type": "option"
|
|
4219
|
+
},
|
|
4220
|
+
"body": {
|
|
4221
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
4222
|
+
"name": "body",
|
|
4223
|
+
"hasDynamicHelp": false,
|
|
4224
|
+
"multiple": false,
|
|
4225
|
+
"type": "option"
|
|
1921
4226
|
}
|
|
1922
4227
|
},
|
|
1923
4228
|
"hasDynamicHelp": false,
|
|
1924
4229
|
"hiddenAliases": [],
|
|
1925
|
-
"id": "
|
|
4230
|
+
"id": "product:update",
|
|
1926
4231
|
"pluginAlias": "@wavyx/pdcli",
|
|
1927
4232
|
"pluginName": "@wavyx/pdcli",
|
|
1928
4233
|
"pluginType": "core",
|
|
1929
4234
|
"strict": true,
|
|
1930
4235
|
"enableJsonFlag": false,
|
|
1931
|
-
"skipAuth": true,
|
|
1932
4236
|
"isESM": true,
|
|
1933
4237
|
"relativePath": [
|
|
1934
4238
|
"src",
|
|
1935
4239
|
"commands",
|
|
1936
|
-
"
|
|
1937
|
-
"
|
|
4240
|
+
"product",
|
|
4241
|
+
"update.js"
|
|
1938
4242
|
]
|
|
1939
4243
|
},
|
|
1940
|
-
"profile:
|
|
4244
|
+
"profile:current": {
|
|
1941
4245
|
"aliases": [],
|
|
1942
4246
|
"args": {},
|
|
1943
|
-
"description": "
|
|
4247
|
+
"description": "Show the active profile",
|
|
1944
4248
|
"examples": [
|
|
1945
|
-
"<%= config.bin %> profile
|
|
4249
|
+
"<%= config.bin %> profile current"
|
|
1946
4250
|
],
|
|
1947
4251
|
"flags": {
|
|
1948
4252
|
"output": {
|
|
@@ -2007,7 +4311,7 @@
|
|
|
2007
4311
|
},
|
|
2008
4312
|
"hasDynamicHelp": false,
|
|
2009
4313
|
"hiddenAliases": [],
|
|
2010
|
-
"id": "profile:
|
|
4314
|
+
"id": "profile:current",
|
|
2011
4315
|
"pluginAlias": "@wavyx/pdcli",
|
|
2012
4316
|
"pluginName": "@wavyx/pdcli",
|
|
2013
4317
|
"pluginType": "core",
|
|
@@ -2019,21 +4323,15 @@
|
|
|
2019
4323
|
"src",
|
|
2020
4324
|
"commands",
|
|
2021
4325
|
"profile",
|
|
2022
|
-
"
|
|
4326
|
+
"current.js"
|
|
2023
4327
|
]
|
|
2024
4328
|
},
|
|
2025
|
-
"profile:
|
|
4329
|
+
"profile:list": {
|
|
2026
4330
|
"aliases": [],
|
|
2027
|
-
"args": {
|
|
2028
|
-
|
|
2029
|
-
"description": "Profile name to activate",
|
|
2030
|
-
"name": "name",
|
|
2031
|
-
"required": true
|
|
2032
|
-
}
|
|
2033
|
-
},
|
|
2034
|
-
"description": "Switch the active profile",
|
|
4331
|
+
"args": {},
|
|
4332
|
+
"description": "List all configured profiles",
|
|
2035
4333
|
"examples": [
|
|
2036
|
-
"<%= config.bin %> profile
|
|
4334
|
+
"<%= config.bin %> profile list"
|
|
2037
4335
|
],
|
|
2038
4336
|
"flags": {
|
|
2039
4337
|
"output": {
|
|
@@ -2098,7 +4396,7 @@
|
|
|
2098
4396
|
},
|
|
2099
4397
|
"hasDynamicHelp": false,
|
|
2100
4398
|
"hiddenAliases": [],
|
|
2101
|
-
"id": "profile:
|
|
4399
|
+
"id": "profile:list",
|
|
2102
4400
|
"pluginAlias": "@wavyx/pdcli",
|
|
2103
4401
|
"pluginName": "@wavyx/pdcli",
|
|
2104
4402
|
"pluginType": "core",
|
|
@@ -2110,22 +4408,21 @@
|
|
|
2110
4408
|
"src",
|
|
2111
4409
|
"commands",
|
|
2112
4410
|
"profile",
|
|
2113
|
-
"
|
|
4411
|
+
"list.js"
|
|
2114
4412
|
]
|
|
2115
4413
|
},
|
|
2116
|
-
"
|
|
4414
|
+
"profile:use": {
|
|
2117
4415
|
"aliases": [],
|
|
2118
4416
|
"args": {
|
|
2119
|
-
"
|
|
2120
|
-
"description": "
|
|
2121
|
-
"name": "
|
|
4417
|
+
"name": {
|
|
4418
|
+
"description": "Profile name to activate",
|
|
4419
|
+
"name": "name",
|
|
2122
4420
|
"required": true
|
|
2123
4421
|
}
|
|
2124
4422
|
},
|
|
2125
|
-
"description": "
|
|
4423
|
+
"description": "Switch the active profile",
|
|
2126
4424
|
"examples": [
|
|
2127
|
-
"<%= config.bin %>
|
|
2128
|
-
"<%= config.bin %> person get 5 --output json"
|
|
4425
|
+
"<%= config.bin %> profile use work"
|
|
2129
4426
|
],
|
|
2130
4427
|
"flags": {
|
|
2131
4428
|
"output": {
|
|
@@ -2190,27 +4487,27 @@
|
|
|
2190
4487
|
},
|
|
2191
4488
|
"hasDynamicHelp": false,
|
|
2192
4489
|
"hiddenAliases": [],
|
|
2193
|
-
"id": "
|
|
4490
|
+
"id": "profile:use",
|
|
2194
4491
|
"pluginAlias": "@wavyx/pdcli",
|
|
2195
4492
|
"pluginName": "@wavyx/pdcli",
|
|
2196
4493
|
"pluginType": "core",
|
|
2197
4494
|
"strict": true,
|
|
2198
4495
|
"enableJsonFlag": false,
|
|
4496
|
+
"skipAuth": true,
|
|
2199
4497
|
"isESM": true,
|
|
2200
4498
|
"relativePath": [
|
|
2201
4499
|
"src",
|
|
2202
4500
|
"commands",
|
|
2203
|
-
"
|
|
2204
|
-
"
|
|
4501
|
+
"profile",
|
|
4502
|
+
"use.js"
|
|
2205
4503
|
]
|
|
2206
4504
|
},
|
|
2207
|
-
"
|
|
4505
|
+
"user:me": {
|
|
2208
4506
|
"aliases": [],
|
|
2209
4507
|
"args": {},
|
|
2210
|
-
"description": "
|
|
4508
|
+
"description": "Show the authenticated user",
|
|
2211
4509
|
"examples": [
|
|
2212
|
-
"<%= config.bin %>
|
|
2213
|
-
"<%= config.bin %> person list --org 7 --output json"
|
|
4510
|
+
"<%= config.bin %> user me"
|
|
2214
4511
|
],
|
|
2215
4512
|
"flags": {
|
|
2216
4513
|
"output": {
|
|
@@ -2271,25 +4568,11 @@
|
|
|
2271
4568
|
"hasDynamicHelp": false,
|
|
2272
4569
|
"multiple": false,
|
|
2273
4570
|
"type": "option"
|
|
2274
|
-
},
|
|
2275
|
-
"owner": {
|
|
2276
|
-
"description": "Filter by owner (user) ID",
|
|
2277
|
-
"name": "owner",
|
|
2278
|
-
"hasDynamicHelp": false,
|
|
2279
|
-
"multiple": false,
|
|
2280
|
-
"type": "option"
|
|
2281
|
-
},
|
|
2282
|
-
"org": {
|
|
2283
|
-
"description": "Filter by organization ID",
|
|
2284
|
-
"name": "org",
|
|
2285
|
-
"hasDynamicHelp": false,
|
|
2286
|
-
"multiple": false,
|
|
2287
|
-
"type": "option"
|
|
2288
4571
|
}
|
|
2289
4572
|
},
|
|
2290
4573
|
"hasDynamicHelp": false,
|
|
2291
4574
|
"hiddenAliases": [],
|
|
2292
|
-
"id": "
|
|
4575
|
+
"id": "user:me",
|
|
2293
4576
|
"pluginAlias": "@wavyx/pdcli",
|
|
2294
4577
|
"pluginName": "@wavyx/pdcli",
|
|
2295
4578
|
"pluginType": "core",
|
|
@@ -2299,10 +4582,10 @@
|
|
|
2299
4582
|
"relativePath": [
|
|
2300
4583
|
"src",
|
|
2301
4584
|
"commands",
|
|
2302
|
-
"
|
|
2303
|
-
"
|
|
4585
|
+
"user",
|
|
4586
|
+
"me.js"
|
|
2304
4587
|
]
|
|
2305
4588
|
}
|
|
2306
4589
|
},
|
|
2307
|
-
"version": "0.
|
|
4590
|
+
"version": "0.2.0"
|
|
2308
4591
|
}
|