@wavyx/pdcli 0.7.0 → 0.8.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 +43 -0
- package/README.md +8 -0
- package/oclif.manifest.json +2598 -925
- package/package.json +8 -1
- package/src/base-command.js +12 -2
- package/src/commands/alias/list.js +31 -0
- package/src/commands/alias/set.js +97 -0
- package/src/commands/alias/unset.js +26 -0
- package/src/commands/config/set.js +14 -0
- package/src/commands/config/unset.js +32 -0
- package/src/commands/file/remote-link.js +56 -0
- package/src/commands/funnel.js +97 -2
- package/src/commands/lead/label/list.js +27 -0
- package/src/commands/metrics/coverage.js +251 -0
- package/src/commands/org/merge.js +97 -0
- package/src/commands/person/merge.js +91 -0
- package/src/hooks/command-not-found.js +68 -0
- package/src/lib/aliases.js +35 -0
- package/src/lib/analytics.js +142 -0
- package/src/lib/audit.js +107 -6
- package/src/lib/client.js +30 -0
- package/src/lib/confirm.js +15 -2
- package/src/lib/entity-view.js +15 -9
- package/src/lib/fields.js +4 -1
package/oclif.manifest.json
CHANGED
|
@@ -60,6 +60,13 @@
|
|
|
60
60
|
"multiple": false,
|
|
61
61
|
"type": "option"
|
|
62
62
|
},
|
|
63
|
+
"resolve-fields": {
|
|
64
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
65
|
+
"helpGroup": "GLOBAL",
|
|
66
|
+
"name": "resolve-fields",
|
|
67
|
+
"allowNo": false,
|
|
68
|
+
"type": "boolean"
|
|
69
|
+
},
|
|
63
70
|
"profile": {
|
|
64
71
|
"description": "Named auth profile to use",
|
|
65
72
|
"env": "PDCLI_PROFILE",
|
|
@@ -170,6 +177,13 @@
|
|
|
170
177
|
"multiple": false,
|
|
171
178
|
"type": "option"
|
|
172
179
|
},
|
|
180
|
+
"resolve-fields": {
|
|
181
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
182
|
+
"helpGroup": "GLOBAL",
|
|
183
|
+
"name": "resolve-fields",
|
|
184
|
+
"allowNo": false,
|
|
185
|
+
"type": "boolean"
|
|
186
|
+
},
|
|
173
187
|
"profile": {
|
|
174
188
|
"description": "Named auth profile to use",
|
|
175
189
|
"env": "PDCLI_PROFILE",
|
|
@@ -286,6 +300,13 @@
|
|
|
286
300
|
"multiple": false,
|
|
287
301
|
"type": "option"
|
|
288
302
|
},
|
|
303
|
+
"resolve-fields": {
|
|
304
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
305
|
+
"helpGroup": "GLOBAL",
|
|
306
|
+
"name": "resolve-fields",
|
|
307
|
+
"allowNo": false,
|
|
308
|
+
"type": "boolean"
|
|
309
|
+
},
|
|
289
310
|
"profile": {
|
|
290
311
|
"description": "Named auth profile to use",
|
|
291
312
|
"env": "PDCLI_PROFILE",
|
|
@@ -401,6 +422,13 @@
|
|
|
401
422
|
"multiple": false,
|
|
402
423
|
"type": "option"
|
|
403
424
|
},
|
|
425
|
+
"resolve-fields": {
|
|
426
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
427
|
+
"helpGroup": "GLOBAL",
|
|
428
|
+
"name": "resolve-fields",
|
|
429
|
+
"allowNo": false,
|
|
430
|
+
"type": "boolean"
|
|
431
|
+
},
|
|
404
432
|
"profile": {
|
|
405
433
|
"description": "Named auth profile to use",
|
|
406
434
|
"env": "PDCLI_PROFILE",
|
|
@@ -504,6 +532,13 @@
|
|
|
504
532
|
"multiple": false,
|
|
505
533
|
"type": "option"
|
|
506
534
|
},
|
|
535
|
+
"resolve-fields": {
|
|
536
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
537
|
+
"helpGroup": "GLOBAL",
|
|
538
|
+
"name": "resolve-fields",
|
|
539
|
+
"allowNo": false,
|
|
540
|
+
"type": "boolean"
|
|
541
|
+
},
|
|
507
542
|
"profile": {
|
|
508
543
|
"description": "Named auth profile to use",
|
|
509
544
|
"env": "PDCLI_PROFILE",
|
|
@@ -564,6 +599,12 @@
|
|
|
564
599
|
"hasDynamicHelp": false,
|
|
565
600
|
"multiple": false,
|
|
566
601
|
"type": "option"
|
|
602
|
+
},
|
|
603
|
+
"exact": {
|
|
604
|
+
"description": "Mine real stage transitions from each deal’s changelog instead of approximating from the final stage (one request per deal). --period scopes only closed (won/lost) deals; open deals are always included.",
|
|
605
|
+
"name": "exact",
|
|
606
|
+
"allowNo": false,
|
|
607
|
+
"type": "boolean"
|
|
567
608
|
}
|
|
568
609
|
},
|
|
569
610
|
"hasDynamicHelp": false,
|
|
@@ -627,6 +668,13 @@
|
|
|
627
668
|
"multiple": false,
|
|
628
669
|
"type": "option"
|
|
629
670
|
},
|
|
671
|
+
"resolve-fields": {
|
|
672
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
673
|
+
"helpGroup": "GLOBAL",
|
|
674
|
+
"name": "resolve-fields",
|
|
675
|
+
"allowNo": false,
|
|
676
|
+
"type": "boolean"
|
|
677
|
+
},
|
|
630
678
|
"profile": {
|
|
631
679
|
"description": "Named auth profile to use",
|
|
632
680
|
"env": "PDCLI_PROFILE",
|
|
@@ -741,6 +789,13 @@
|
|
|
741
789
|
"multiple": false,
|
|
742
790
|
"type": "option"
|
|
743
791
|
},
|
|
792
|
+
"resolve-fields": {
|
|
793
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
794
|
+
"helpGroup": "GLOBAL",
|
|
795
|
+
"name": "resolve-fields",
|
|
796
|
+
"allowNo": false,
|
|
797
|
+
"type": "boolean"
|
|
798
|
+
},
|
|
744
799
|
"profile": {
|
|
745
800
|
"description": "Named auth profile to use",
|
|
746
801
|
"env": "PDCLI_PROFILE",
|
|
@@ -845,6 +900,13 @@
|
|
|
845
900
|
"multiple": false,
|
|
846
901
|
"type": "option"
|
|
847
902
|
},
|
|
903
|
+
"resolve-fields": {
|
|
904
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
905
|
+
"helpGroup": "GLOBAL",
|
|
906
|
+
"name": "resolve-fields",
|
|
907
|
+
"allowNo": false,
|
|
908
|
+
"type": "boolean"
|
|
909
|
+
},
|
|
848
910
|
"profile": {
|
|
849
911
|
"description": "Named auth profile to use",
|
|
850
912
|
"env": "PDCLI_PROFILE",
|
|
@@ -1046,6 +1108,13 @@
|
|
|
1046
1108
|
"multiple": false,
|
|
1047
1109
|
"type": "option"
|
|
1048
1110
|
},
|
|
1111
|
+
"resolve-fields": {
|
|
1112
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
1113
|
+
"helpGroup": "GLOBAL",
|
|
1114
|
+
"name": "resolve-fields",
|
|
1115
|
+
"allowNo": false,
|
|
1116
|
+
"type": "boolean"
|
|
1117
|
+
},
|
|
1049
1118
|
"profile": {
|
|
1050
1119
|
"description": "Named auth profile to use",
|
|
1051
1120
|
"env": "PDCLI_PROFILE",
|
|
@@ -1162,6 +1231,13 @@
|
|
|
1162
1231
|
"multiple": false,
|
|
1163
1232
|
"type": "option"
|
|
1164
1233
|
},
|
|
1234
|
+
"resolve-fields": {
|
|
1235
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
1236
|
+
"helpGroup": "GLOBAL",
|
|
1237
|
+
"name": "resolve-fields",
|
|
1238
|
+
"allowNo": false,
|
|
1239
|
+
"type": "boolean"
|
|
1240
|
+
},
|
|
1165
1241
|
"profile": {
|
|
1166
1242
|
"description": "Named auth profile to use",
|
|
1167
1243
|
"env": "PDCLI_PROFILE",
|
|
@@ -1266,6 +1342,13 @@
|
|
|
1266
1342
|
"multiple": false,
|
|
1267
1343
|
"type": "option"
|
|
1268
1344
|
},
|
|
1345
|
+
"resolve-fields": {
|
|
1346
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
1347
|
+
"helpGroup": "GLOBAL",
|
|
1348
|
+
"name": "resolve-fields",
|
|
1349
|
+
"allowNo": false,
|
|
1350
|
+
"type": "boolean"
|
|
1351
|
+
},
|
|
1269
1352
|
"profile": {
|
|
1270
1353
|
"description": "Named auth profile to use",
|
|
1271
1354
|
"env": "PDCLI_PROFILE",
|
|
@@ -1429,6 +1512,13 @@
|
|
|
1429
1512
|
"multiple": false,
|
|
1430
1513
|
"type": "option"
|
|
1431
1514
|
},
|
|
1515
|
+
"resolve-fields": {
|
|
1516
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
1517
|
+
"helpGroup": "GLOBAL",
|
|
1518
|
+
"name": "resolve-fields",
|
|
1519
|
+
"allowNo": false,
|
|
1520
|
+
"type": "boolean"
|
|
1521
|
+
},
|
|
1432
1522
|
"profile": {
|
|
1433
1523
|
"description": "Named auth profile to use",
|
|
1434
1524
|
"env": "PDCLI_PROFILE",
|
|
@@ -1594,15 +1684,12 @@
|
|
|
1594
1684
|
"update.js"
|
|
1595
1685
|
]
|
|
1596
1686
|
},
|
|
1597
|
-
"
|
|
1687
|
+
"alias:list": {
|
|
1598
1688
|
"aliases": [],
|
|
1599
1689
|
"args": {},
|
|
1600
|
-
"description": "
|
|
1690
|
+
"description": "List all configured aliases",
|
|
1601
1691
|
"examples": [
|
|
1602
|
-
"<%= config.bin %>
|
|
1603
|
-
"<%= config.bin %> auth login --company acme --api-token <token>",
|
|
1604
|
-
"<%= config.bin %> auth login --oauth",
|
|
1605
|
-
"<%= config.bin %> auth login --oauth --client-id <id> --client-secret <secret>"
|
|
1692
|
+
"<%= config.bin %> alias list"
|
|
1606
1693
|
],
|
|
1607
1694
|
"flags": {
|
|
1608
1695
|
"output": {
|
|
@@ -1636,6 +1723,13 @@
|
|
|
1636
1723
|
"multiple": false,
|
|
1637
1724
|
"type": "option"
|
|
1638
1725
|
},
|
|
1726
|
+
"resolve-fields": {
|
|
1727
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
1728
|
+
"helpGroup": "GLOBAL",
|
|
1729
|
+
"name": "resolve-fields",
|
|
1730
|
+
"allowNo": false,
|
|
1731
|
+
"type": "boolean"
|
|
1732
|
+
},
|
|
1639
1733
|
"profile": {
|
|
1640
1734
|
"description": "Named auth profile to use",
|
|
1641
1735
|
"env": "PDCLI_PROFILE",
|
|
@@ -1681,62 +1775,11 @@
|
|
|
1681
1775
|
"hasDynamicHelp": false,
|
|
1682
1776
|
"multiple": false,
|
|
1683
1777
|
"type": "option"
|
|
1684
|
-
},
|
|
1685
|
-
"company": {
|
|
1686
|
-
"description": "Company domain (\"acme\" from acme.pipedrive.com — full URL accepted)",
|
|
1687
|
-
"name": "company",
|
|
1688
|
-
"hasDynamicHelp": false,
|
|
1689
|
-
"multiple": false,
|
|
1690
|
-
"type": "option"
|
|
1691
|
-
},
|
|
1692
|
-
"api-token": {
|
|
1693
|
-
"description": "Personal API token (app.pipedrive.com/settings/api). Prefer the prompt or env so the token stays out of shell history",
|
|
1694
|
-
"name": "api-token",
|
|
1695
|
-
"hasDynamicHelp": false,
|
|
1696
|
-
"multiple": false,
|
|
1697
|
-
"type": "option"
|
|
1698
|
-
},
|
|
1699
|
-
"oauth": {
|
|
1700
|
-
"description": "Use OAuth 2.0 via your own Developer Hub app (browser flow)",
|
|
1701
|
-
"name": "oauth",
|
|
1702
|
-
"allowNo": false,
|
|
1703
|
-
"type": "boolean"
|
|
1704
|
-
},
|
|
1705
|
-
"client-id": {
|
|
1706
|
-
"dependsOn": [
|
|
1707
|
-
"oauth"
|
|
1708
|
-
],
|
|
1709
|
-
"description": "OAuth app client ID (--oauth; env PDCLI_CLIENT_ID)",
|
|
1710
|
-
"name": "client-id",
|
|
1711
|
-
"hasDynamicHelp": false,
|
|
1712
|
-
"multiple": false,
|
|
1713
|
-
"type": "option"
|
|
1714
|
-
},
|
|
1715
|
-
"client-secret": {
|
|
1716
|
-
"dependsOn": [
|
|
1717
|
-
"oauth"
|
|
1718
|
-
],
|
|
1719
|
-
"description": "OAuth app client secret (--oauth; env PDCLI_CLIENT_SECRET)",
|
|
1720
|
-
"name": "client-secret",
|
|
1721
|
-
"hasDynamicHelp": false,
|
|
1722
|
-
"multiple": false,
|
|
1723
|
-
"type": "option"
|
|
1724
|
-
},
|
|
1725
|
-
"port": {
|
|
1726
|
-
"dependsOn": [
|
|
1727
|
-
"oauth"
|
|
1728
|
-
],
|
|
1729
|
-
"description": "OAuth callback port — must match the app's registered callback URL (--oauth)",
|
|
1730
|
-
"name": "port",
|
|
1731
|
-
"default": 9999,
|
|
1732
|
-
"hasDynamicHelp": false,
|
|
1733
|
-
"multiple": false,
|
|
1734
|
-
"type": "option"
|
|
1735
1778
|
}
|
|
1736
1779
|
},
|
|
1737
1780
|
"hasDynamicHelp": false,
|
|
1738
1781
|
"hiddenAliases": [],
|
|
1739
|
-
"id": "
|
|
1782
|
+
"id": "alias:list",
|
|
1740
1783
|
"pluginAlias": "@wavyx/pdcli",
|
|
1741
1784
|
"pluginName": "@wavyx/pdcli",
|
|
1742
1785
|
"pluginType": "core",
|
|
@@ -1747,16 +1790,28 @@
|
|
|
1747
1790
|
"relativePath": [
|
|
1748
1791
|
"src",
|
|
1749
1792
|
"commands",
|
|
1750
|
-
"
|
|
1751
|
-
"
|
|
1793
|
+
"alias",
|
|
1794
|
+
"list.js"
|
|
1752
1795
|
]
|
|
1753
1796
|
},
|
|
1754
|
-
"
|
|
1797
|
+
"alias:set": {
|
|
1755
1798
|
"aliases": [],
|
|
1756
|
-
"args": {
|
|
1757
|
-
|
|
1799
|
+
"args": {
|
|
1800
|
+
"name": {
|
|
1801
|
+
"description": "Alias name",
|
|
1802
|
+
"name": "name",
|
|
1803
|
+
"required": true
|
|
1804
|
+
},
|
|
1805
|
+
"command": {
|
|
1806
|
+
"description": "Command to alias",
|
|
1807
|
+
"name": "command",
|
|
1808
|
+
"required": true
|
|
1809
|
+
}
|
|
1810
|
+
},
|
|
1811
|
+
"description": "Create or update an alias",
|
|
1758
1812
|
"examples": [
|
|
1759
|
-
"<%= config.bin %>
|
|
1813
|
+
"<%= config.bin %> alias set wd \"deal list --status won\"",
|
|
1814
|
+
"<%= config.bin %> alias set open \"deal list --status open --limit 50\""
|
|
1760
1815
|
],
|
|
1761
1816
|
"flags": {
|
|
1762
1817
|
"output": {
|
|
@@ -1790,6 +1845,13 @@
|
|
|
1790
1845
|
"multiple": false,
|
|
1791
1846
|
"type": "option"
|
|
1792
1847
|
},
|
|
1848
|
+
"resolve-fields": {
|
|
1849
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
1850
|
+
"helpGroup": "GLOBAL",
|
|
1851
|
+
"name": "resolve-fields",
|
|
1852
|
+
"allowNo": false,
|
|
1853
|
+
"type": "boolean"
|
|
1854
|
+
},
|
|
1793
1855
|
"profile": {
|
|
1794
1856
|
"description": "Named auth profile to use",
|
|
1795
1857
|
"env": "PDCLI_PROFILE",
|
|
@@ -1839,7 +1901,7 @@
|
|
|
1839
1901
|
},
|
|
1840
1902
|
"hasDynamicHelp": false,
|
|
1841
1903
|
"hiddenAliases": [],
|
|
1842
|
-
"id": "
|
|
1904
|
+
"id": "alias:set",
|
|
1843
1905
|
"pluginAlias": "@wavyx/pdcli",
|
|
1844
1906
|
"pluginName": "@wavyx/pdcli",
|
|
1845
1907
|
"pluginType": "core",
|
|
@@ -1850,16 +1912,22 @@
|
|
|
1850
1912
|
"relativePath": [
|
|
1851
1913
|
"src",
|
|
1852
1914
|
"commands",
|
|
1853
|
-
"
|
|
1854
|
-
"
|
|
1915
|
+
"alias",
|
|
1916
|
+
"set.js"
|
|
1855
1917
|
]
|
|
1856
1918
|
},
|
|
1857
|
-
"
|
|
1919
|
+
"alias:unset": {
|
|
1858
1920
|
"aliases": [],
|
|
1859
|
-
"args": {
|
|
1860
|
-
|
|
1921
|
+
"args": {
|
|
1922
|
+
"name": {
|
|
1923
|
+
"description": "Alias name",
|
|
1924
|
+
"name": "name",
|
|
1925
|
+
"required": true
|
|
1926
|
+
}
|
|
1927
|
+
},
|
|
1928
|
+
"description": "Remove an alias",
|
|
1861
1929
|
"examples": [
|
|
1862
|
-
"<%= config.bin %>
|
|
1930
|
+
"<%= config.bin %> alias unset wd"
|
|
1863
1931
|
],
|
|
1864
1932
|
"flags": {
|
|
1865
1933
|
"output": {
|
|
@@ -1893,6 +1961,13 @@
|
|
|
1893
1961
|
"multiple": false,
|
|
1894
1962
|
"type": "option"
|
|
1895
1963
|
},
|
|
1964
|
+
"resolve-fields": {
|
|
1965
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
1966
|
+
"helpGroup": "GLOBAL",
|
|
1967
|
+
"name": "resolve-fields",
|
|
1968
|
+
"allowNo": false,
|
|
1969
|
+
"type": "boolean"
|
|
1970
|
+
},
|
|
1896
1971
|
"profile": {
|
|
1897
1972
|
"description": "Named auth profile to use",
|
|
1898
1973
|
"env": "PDCLI_PROFILE",
|
|
@@ -1942,7 +2017,7 @@
|
|
|
1942
2017
|
},
|
|
1943
2018
|
"hasDynamicHelp": false,
|
|
1944
2019
|
"hiddenAliases": [],
|
|
1945
|
-
"id": "
|
|
2020
|
+
"id": "alias:unset",
|
|
1946
2021
|
"pluginAlias": "@wavyx/pdcli",
|
|
1947
2022
|
"pluginName": "@wavyx/pdcli",
|
|
1948
2023
|
"pluginType": "core",
|
|
@@ -1953,19 +2028,19 @@
|
|
|
1953
2028
|
"relativePath": [
|
|
1954
2029
|
"src",
|
|
1955
2030
|
"commands",
|
|
1956
|
-
"
|
|
1957
|
-
"
|
|
2031
|
+
"alias",
|
|
2032
|
+
"unset.js"
|
|
1958
2033
|
]
|
|
1959
2034
|
},
|
|
1960
|
-
"
|
|
2035
|
+
"auth:login": {
|
|
1961
2036
|
"aliases": [],
|
|
1962
2037
|
"args": {},
|
|
1963
|
-
"description": "
|
|
2038
|
+
"description": "Authenticate with Pipedrive (personal API token, or OAuth with --oauth)",
|
|
1964
2039
|
"examples": [
|
|
1965
|
-
"<%= config.bin %>
|
|
1966
|
-
"<%= config.bin %>
|
|
1967
|
-
"<%= config.bin %>
|
|
1968
|
-
"<%= config.bin %>
|
|
2040
|
+
"<%= config.bin %> auth login",
|
|
2041
|
+
"<%= config.bin %> auth login --company acme --api-token <token>",
|
|
2042
|
+
"<%= config.bin %> auth login --oauth",
|
|
2043
|
+
"<%= config.bin %> auth login --oauth --client-id <id> --client-secret <secret>"
|
|
1969
2044
|
],
|
|
1970
2045
|
"flags": {
|
|
1971
2046
|
"output": {
|
|
@@ -1999,6 +2074,13 @@
|
|
|
1999
2074
|
"multiple": false,
|
|
2000
2075
|
"type": "option"
|
|
2001
2076
|
},
|
|
2077
|
+
"resolve-fields": {
|
|
2078
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
2079
|
+
"helpGroup": "GLOBAL",
|
|
2080
|
+
"name": "resolve-fields",
|
|
2081
|
+
"allowNo": false,
|
|
2082
|
+
"type": "boolean"
|
|
2083
|
+
},
|
|
2002
2084
|
"profile": {
|
|
2003
2085
|
"description": "Named auth profile to use",
|
|
2004
2086
|
"env": "PDCLI_PROFILE",
|
|
@@ -2045,111 +2127,81 @@
|
|
|
2045
2127
|
"multiple": false,
|
|
2046
2128
|
"type": "option"
|
|
2047
2129
|
},
|
|
2048
|
-
"
|
|
2049
|
-
"description": "
|
|
2050
|
-
"
|
|
2051
|
-
"filter"
|
|
2052
|
-
],
|
|
2053
|
-
"name": "ids",
|
|
2130
|
+
"company": {
|
|
2131
|
+
"description": "Company domain (\"acme\" from acme.pipedrive.com — full URL accepted)",
|
|
2132
|
+
"name": "company",
|
|
2054
2133
|
"hasDynamicHelp": false,
|
|
2055
2134
|
"multiple": false,
|
|
2056
2135
|
"type": "option"
|
|
2057
2136
|
},
|
|
2058
|
-
"
|
|
2059
|
-
"description": "
|
|
2060
|
-
"
|
|
2061
|
-
"ids"
|
|
2062
|
-
],
|
|
2063
|
-
"name": "filter",
|
|
2137
|
+
"api-token": {
|
|
2138
|
+
"description": "Personal API token (app.pipedrive.com/settings/api). Prefer the prompt or env so the token stays out of shell history",
|
|
2139
|
+
"name": "api-token",
|
|
2064
2140
|
"hasDynamicHelp": false,
|
|
2065
2141
|
"multiple": false,
|
|
2066
2142
|
"type": "option"
|
|
2067
2143
|
},
|
|
2068
|
-
"
|
|
2069
|
-
"description": "
|
|
2070
|
-
"name": "
|
|
2071
|
-
"
|
|
2072
|
-
"
|
|
2073
|
-
"type": "option"
|
|
2144
|
+
"oauth": {
|
|
2145
|
+
"description": "Use OAuth 2.0 via your own Developer Hub app (browser flow)",
|
|
2146
|
+
"name": "oauth",
|
|
2147
|
+
"allowNo": false,
|
|
2148
|
+
"type": "boolean"
|
|
2074
2149
|
},
|
|
2075
|
-
"
|
|
2076
|
-
"
|
|
2077
|
-
|
|
2150
|
+
"client-id": {
|
|
2151
|
+
"dependsOn": [
|
|
2152
|
+
"oauth"
|
|
2153
|
+
],
|
|
2154
|
+
"description": "OAuth app client ID (--oauth; env PDCLI_CLIENT_ID)",
|
|
2155
|
+
"name": "client-id",
|
|
2078
2156
|
"hasDynamicHelp": false,
|
|
2079
2157
|
"multiple": false,
|
|
2080
2158
|
"type": "option"
|
|
2081
2159
|
},
|
|
2082
|
-
"
|
|
2083
|
-
"
|
|
2084
|
-
|
|
2085
|
-
"hasDynamicHelp": false,
|
|
2086
|
-
"multiple": false,
|
|
2087
|
-
"options": [
|
|
2088
|
-
"open",
|
|
2089
|
-
"won",
|
|
2090
|
-
"lost"
|
|
2160
|
+
"client-secret": {
|
|
2161
|
+
"dependsOn": [
|
|
2162
|
+
"oauth"
|
|
2091
2163
|
],
|
|
2092
|
-
"
|
|
2093
|
-
|
|
2094
|
-
"owner": {
|
|
2095
|
-
"description": "Assign owner (user) ID",
|
|
2096
|
-
"name": "owner",
|
|
2164
|
+
"description": "OAuth app client secret (--oauth; env PDCLI_CLIENT_SECRET)",
|
|
2165
|
+
"name": "client-secret",
|
|
2097
2166
|
"hasDynamicHelp": false,
|
|
2098
2167
|
"multiple": false,
|
|
2099
2168
|
"type": "option"
|
|
2100
2169
|
},
|
|
2101
|
-
"
|
|
2102
|
-
"
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
"
|
|
2106
|
-
"
|
|
2107
|
-
|
|
2108
|
-
"body": {
|
|
2109
|
-
"description": "Raw JSON body to merge (flags win)",
|
|
2110
|
-
"name": "body",
|
|
2170
|
+
"port": {
|
|
2171
|
+
"dependsOn": [
|
|
2172
|
+
"oauth"
|
|
2173
|
+
],
|
|
2174
|
+
"description": "OAuth callback port — must match the app's registered callback URL (--oauth)",
|
|
2175
|
+
"name": "port",
|
|
2176
|
+
"default": 9999,
|
|
2111
2177
|
"hasDynamicHelp": false,
|
|
2112
2178
|
"multiple": false,
|
|
2113
2179
|
"type": "option"
|
|
2114
|
-
},
|
|
2115
|
-
"dry-run": {
|
|
2116
|
-
"description": "List the targets without updating anything",
|
|
2117
|
-
"name": "dry-run",
|
|
2118
|
-
"allowNo": false,
|
|
2119
|
-
"type": "boolean"
|
|
2120
|
-
},
|
|
2121
|
-
"yes": {
|
|
2122
|
-
"char": "y",
|
|
2123
|
-
"description": "Skip the confirmation prompt",
|
|
2124
|
-
"name": "yes",
|
|
2125
|
-
"allowNo": false,
|
|
2126
|
-
"type": "boolean"
|
|
2127
2180
|
}
|
|
2128
2181
|
},
|
|
2129
2182
|
"hasDynamicHelp": false,
|
|
2130
2183
|
"hiddenAliases": [],
|
|
2131
|
-
"id": "
|
|
2184
|
+
"id": "auth:login",
|
|
2132
2185
|
"pluginAlias": "@wavyx/pdcli",
|
|
2133
2186
|
"pluginName": "@wavyx/pdcli",
|
|
2134
2187
|
"pluginType": "core",
|
|
2135
2188
|
"strict": true,
|
|
2136
2189
|
"enableJsonFlag": false,
|
|
2190
|
+
"skipAuth": true,
|
|
2137
2191
|
"isESM": true,
|
|
2138
2192
|
"relativePath": [
|
|
2139
2193
|
"src",
|
|
2140
2194
|
"commands",
|
|
2141
|
-
"
|
|
2142
|
-
"
|
|
2195
|
+
"auth",
|
|
2196
|
+
"login.js"
|
|
2143
2197
|
]
|
|
2144
2198
|
},
|
|
2145
|
-
"
|
|
2199
|
+
"auth:logout": {
|
|
2146
2200
|
"aliases": [],
|
|
2147
2201
|
"args": {},
|
|
2148
|
-
"description": "
|
|
2202
|
+
"description": "Log out and remove the stored API token",
|
|
2149
2203
|
"examples": [
|
|
2150
|
-
"<%= config.bin %>
|
|
2151
|
-
"<%= config.bin %> deal create --title \"Sized\" --field \"Deal Size=Large\"",
|
|
2152
|
-
"<%= config.bin %> deal create --title \"Raw\" --body '{\"probability\":75}'"
|
|
2204
|
+
"<%= config.bin %> auth logout"
|
|
2153
2205
|
],
|
|
2154
2206
|
"flags": {
|
|
2155
2207
|
"output": {
|
|
@@ -2183,6 +2235,13 @@
|
|
|
2183
2235
|
"multiple": false,
|
|
2184
2236
|
"type": "option"
|
|
2185
2237
|
},
|
|
2238
|
+
"resolve-fields": {
|
|
2239
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
2240
|
+
"helpGroup": "GLOBAL",
|
|
2241
|
+
"name": "resolve-fields",
|
|
2242
|
+
"allowNo": false,
|
|
2243
|
+
"type": "boolean"
|
|
2244
|
+
},
|
|
2186
2245
|
"profile": {
|
|
2187
2246
|
"description": "Named auth profile to use",
|
|
2188
2247
|
"env": "PDCLI_PROFILE",
|
|
@@ -2228,134 +2287,31 @@
|
|
|
2228
2287
|
"hasDynamicHelp": false,
|
|
2229
2288
|
"multiple": false,
|
|
2230
2289
|
"type": "option"
|
|
2231
|
-
},
|
|
2232
|
-
"title": {
|
|
2233
|
-
"description": "Deal title",
|
|
2234
|
-
"name": "title",
|
|
2235
|
-
"required": true,
|
|
2236
|
-
"hasDynamicHelp": false,
|
|
2237
|
-
"multiple": false,
|
|
2238
|
-
"type": "option"
|
|
2239
|
-
},
|
|
2240
|
-
"value": {
|
|
2241
|
-
"description": "Deal value",
|
|
2242
|
-
"name": "value",
|
|
2243
|
-
"hasDynamicHelp": false,
|
|
2244
|
-
"multiple": false,
|
|
2245
|
-
"type": "option"
|
|
2246
|
-
},
|
|
2247
|
-
"currency": {
|
|
2248
|
-
"description": "Deal currency (e.g. EUR)",
|
|
2249
|
-
"name": "currency",
|
|
2250
|
-
"hasDynamicHelp": false,
|
|
2251
|
-
"multiple": false,
|
|
2252
|
-
"type": "option"
|
|
2253
|
-
},
|
|
2254
|
-
"status": {
|
|
2255
|
-
"description": "Deal status",
|
|
2256
|
-
"name": "status",
|
|
2257
|
-
"hasDynamicHelp": false,
|
|
2258
|
-
"multiple": false,
|
|
2259
|
-
"options": [
|
|
2260
|
-
"open",
|
|
2261
|
-
"won",
|
|
2262
|
-
"lost"
|
|
2263
|
-
],
|
|
2264
|
-
"type": "option"
|
|
2265
|
-
},
|
|
2266
|
-
"stage": {
|
|
2267
|
-
"description": "Stage ID",
|
|
2268
|
-
"name": "stage",
|
|
2269
|
-
"hasDynamicHelp": false,
|
|
2270
|
-
"multiple": false,
|
|
2271
|
-
"type": "option"
|
|
2272
|
-
},
|
|
2273
|
-
"pipeline": {
|
|
2274
|
-
"description": "Pipeline ID",
|
|
2275
|
-
"name": "pipeline",
|
|
2276
|
-
"hasDynamicHelp": false,
|
|
2277
|
-
"multiple": false,
|
|
2278
|
-
"type": "option"
|
|
2279
|
-
},
|
|
2280
|
-
"person": {
|
|
2281
|
-
"description": "Linked person ID",
|
|
2282
|
-
"name": "person",
|
|
2283
|
-
"hasDynamicHelp": false,
|
|
2284
|
-
"multiple": false,
|
|
2285
|
-
"type": "option"
|
|
2286
|
-
},
|
|
2287
|
-
"org": {
|
|
2288
|
-
"description": "Linked organization ID",
|
|
2289
|
-
"name": "org",
|
|
2290
|
-
"hasDynamicHelp": false,
|
|
2291
|
-
"multiple": false,
|
|
2292
|
-
"type": "option"
|
|
2293
|
-
},
|
|
2294
|
-
"owner": {
|
|
2295
|
-
"description": "Owner (user) ID",
|
|
2296
|
-
"name": "owner",
|
|
2297
|
-
"hasDynamicHelp": false,
|
|
2298
|
-
"multiple": false,
|
|
2299
|
-
"type": "option"
|
|
2300
|
-
},
|
|
2301
|
-
"probability": {
|
|
2302
|
-
"description": "Success probability (0-100)",
|
|
2303
|
-
"name": "probability",
|
|
2304
|
-
"hasDynamicHelp": false,
|
|
2305
|
-
"multiple": false,
|
|
2306
|
-
"type": "option"
|
|
2307
|
-
},
|
|
2308
|
-
"expected-close-date": {
|
|
2309
|
-
"description": "Expected close date (YYYY-MM-DD)",
|
|
2310
|
-
"name": "expected-close-date",
|
|
2311
|
-
"hasDynamicHelp": false,
|
|
2312
|
-
"multiple": false,
|
|
2313
|
-
"type": "option"
|
|
2314
|
-
},
|
|
2315
|
-
"field": {
|
|
2316
|
-
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
2317
|
-
"name": "field",
|
|
2318
|
-
"hasDynamicHelp": false,
|
|
2319
|
-
"multiple": true,
|
|
2320
|
-
"type": "option"
|
|
2321
|
-
},
|
|
2322
|
-
"body": {
|
|
2323
|
-
"description": "Raw JSON body to merge (flags win)",
|
|
2324
|
-
"name": "body",
|
|
2325
|
-
"hasDynamicHelp": false,
|
|
2326
|
-
"multiple": false,
|
|
2327
|
-
"type": "option"
|
|
2328
2290
|
}
|
|
2329
2291
|
},
|
|
2330
2292
|
"hasDynamicHelp": false,
|
|
2331
2293
|
"hiddenAliases": [],
|
|
2332
|
-
"id": "
|
|
2294
|
+
"id": "auth:logout",
|
|
2333
2295
|
"pluginAlias": "@wavyx/pdcli",
|
|
2334
2296
|
"pluginName": "@wavyx/pdcli",
|
|
2335
2297
|
"pluginType": "core",
|
|
2336
2298
|
"strict": true,
|
|
2337
2299
|
"enableJsonFlag": false,
|
|
2300
|
+
"skipAuth": true,
|
|
2338
2301
|
"isESM": true,
|
|
2339
2302
|
"relativePath": [
|
|
2340
2303
|
"src",
|
|
2341
2304
|
"commands",
|
|
2342
|
-
"
|
|
2343
|
-
"
|
|
2305
|
+
"auth",
|
|
2306
|
+
"logout.js"
|
|
2344
2307
|
]
|
|
2345
2308
|
},
|
|
2346
|
-
"
|
|
2309
|
+
"auth:status": {
|
|
2347
2310
|
"aliases": [],
|
|
2348
|
-
"args": {
|
|
2349
|
-
|
|
2350
|
-
"description": "Deal ID",
|
|
2351
|
-
"name": "id",
|
|
2352
|
-
"required": true
|
|
2353
|
-
}
|
|
2354
|
-
},
|
|
2355
|
-
"description": "Delete a deal",
|
|
2311
|
+
"args": {},
|
|
2312
|
+
"description": "Show current authentication status",
|
|
2356
2313
|
"examples": [
|
|
2357
|
-
"<%= config.bin %>
|
|
2358
|
-
"<%= config.bin %> deal delete 42 --yes"
|
|
2314
|
+
"<%= config.bin %> auth status"
|
|
2359
2315
|
],
|
|
2360
2316
|
"flags": {
|
|
2361
2317
|
"output": {
|
|
@@ -2389,6 +2345,13 @@
|
|
|
2389
2345
|
"multiple": false,
|
|
2390
2346
|
"type": "option"
|
|
2391
2347
|
},
|
|
2348
|
+
"resolve-fields": {
|
|
2349
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
2350
|
+
"helpGroup": "GLOBAL",
|
|
2351
|
+
"name": "resolve-fields",
|
|
2352
|
+
"allowNo": false,
|
|
2353
|
+
"type": "boolean"
|
|
2354
|
+
},
|
|
2392
2355
|
"profile": {
|
|
2393
2356
|
"description": "Named auth profile to use",
|
|
2394
2357
|
"env": "PDCLI_PROFILE",
|
|
@@ -2434,44 +2397,38 @@
|
|
|
2434
2397
|
"hasDynamicHelp": false,
|
|
2435
2398
|
"multiple": false,
|
|
2436
2399
|
"type": "option"
|
|
2437
|
-
},
|
|
2438
|
-
"yes": {
|
|
2439
|
-
"char": "y",
|
|
2440
|
-
"description": "Skip the confirmation prompt",
|
|
2441
|
-
"name": "yes",
|
|
2442
|
-
"allowNo": false,
|
|
2443
|
-
"type": "boolean"
|
|
2444
2400
|
}
|
|
2445
2401
|
},
|
|
2446
2402
|
"hasDynamicHelp": false,
|
|
2447
2403
|
"hiddenAliases": [],
|
|
2448
|
-
"id": "
|
|
2404
|
+
"id": "auth:status",
|
|
2449
2405
|
"pluginAlias": "@wavyx/pdcli",
|
|
2450
2406
|
"pluginName": "@wavyx/pdcli",
|
|
2451
2407
|
"pluginType": "core",
|
|
2452
2408
|
"strict": true,
|
|
2453
2409
|
"enableJsonFlag": false,
|
|
2410
|
+
"skipAuth": true,
|
|
2454
2411
|
"isESM": true,
|
|
2455
2412
|
"relativePath": [
|
|
2456
2413
|
"src",
|
|
2457
2414
|
"commands",
|
|
2458
|
-
"
|
|
2459
|
-
"
|
|
2415
|
+
"auth",
|
|
2416
|
+
"status.js"
|
|
2460
2417
|
]
|
|
2461
2418
|
},
|
|
2462
|
-
"
|
|
2419
|
+
"config:get": {
|
|
2463
2420
|
"aliases": [],
|
|
2464
2421
|
"args": {
|
|
2465
|
-
"
|
|
2466
|
-
"description": "
|
|
2467
|
-
"name": "
|
|
2422
|
+
"key": {
|
|
2423
|
+
"description": "Config key to read",
|
|
2424
|
+
"name": "key",
|
|
2468
2425
|
"required": true
|
|
2469
2426
|
}
|
|
2470
2427
|
},
|
|
2471
|
-
"description": "Get a
|
|
2428
|
+
"description": "Get a config value for the active profile",
|
|
2472
2429
|
"examples": [
|
|
2473
|
-
"<%= config.bin %>
|
|
2474
|
-
"<%= config.bin %>
|
|
2430
|
+
"<%= config.bin %> config get company_domain",
|
|
2431
|
+
"<%= config.bin %> config get default_output"
|
|
2475
2432
|
],
|
|
2476
2433
|
"flags": {
|
|
2477
2434
|
"output": {
|
|
@@ -2505,6 +2462,13 @@
|
|
|
2505
2462
|
"multiple": false,
|
|
2506
2463
|
"type": "option"
|
|
2507
2464
|
},
|
|
2465
|
+
"resolve-fields": {
|
|
2466
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
2467
|
+
"helpGroup": "GLOBAL",
|
|
2468
|
+
"name": "resolve-fields",
|
|
2469
|
+
"allowNo": false,
|
|
2470
|
+
"type": "boolean"
|
|
2471
|
+
},
|
|
2508
2472
|
"profile": {
|
|
2509
2473
|
"description": "Named auth profile to use",
|
|
2510
2474
|
"env": "PDCLI_PROFILE",
|
|
@@ -2554,28 +2518,27 @@
|
|
|
2554
2518
|
},
|
|
2555
2519
|
"hasDynamicHelp": false,
|
|
2556
2520
|
"hiddenAliases": [],
|
|
2557
|
-
"id": "
|
|
2521
|
+
"id": "config:get",
|
|
2558
2522
|
"pluginAlias": "@wavyx/pdcli",
|
|
2559
2523
|
"pluginName": "@wavyx/pdcli",
|
|
2560
2524
|
"pluginType": "core",
|
|
2561
2525
|
"strict": true,
|
|
2562
2526
|
"enableJsonFlag": false,
|
|
2527
|
+
"skipAuth": true,
|
|
2563
2528
|
"isESM": true,
|
|
2564
2529
|
"relativePath": [
|
|
2565
2530
|
"src",
|
|
2566
2531
|
"commands",
|
|
2567
|
-
"
|
|
2532
|
+
"config",
|
|
2568
2533
|
"get.js"
|
|
2569
2534
|
]
|
|
2570
2535
|
},
|
|
2571
|
-
"
|
|
2536
|
+
"config:list": {
|
|
2572
2537
|
"aliases": [],
|
|
2573
2538
|
"args": {},
|
|
2574
|
-
"description": "List
|
|
2539
|
+
"description": "List all config for the active profile",
|
|
2575
2540
|
"examples": [
|
|
2576
|
-
"<%= config.bin %>
|
|
2577
|
-
"<%= config.bin %> deal list --status won --limit 50",
|
|
2578
|
-
"<%= config.bin %> deal list --stage 3 --output json"
|
|
2541
|
+
"<%= config.bin %> config list"
|
|
2579
2542
|
],
|
|
2580
2543
|
"flags": {
|
|
2581
2544
|
"output": {
|
|
@@ -2609,6 +2572,13 @@
|
|
|
2609
2572
|
"multiple": false,
|
|
2610
2573
|
"type": "option"
|
|
2611
2574
|
},
|
|
2575
|
+
"resolve-fields": {
|
|
2576
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
2577
|
+
"helpGroup": "GLOBAL",
|
|
2578
|
+
"name": "resolve-fields",
|
|
2579
|
+
"allowNo": false,
|
|
2580
|
+
"type": "boolean"
|
|
2581
|
+
},
|
|
2612
2582
|
"profile": {
|
|
2613
2583
|
"description": "Named auth profile to use",
|
|
2614
2584
|
"env": "PDCLI_PROFILE",
|
|
@@ -2654,86 +2624,676 @@
|
|
|
2654
2624
|
"hasDynamicHelp": false,
|
|
2655
2625
|
"multiple": false,
|
|
2656
2626
|
"type": "option"
|
|
2657
|
-
},
|
|
2658
|
-
"status": {
|
|
2659
|
-
"description": "Filter by status",
|
|
2660
|
-
"name": "status",
|
|
2661
|
-
"hasDynamicHelp": false,
|
|
2662
|
-
"multiple": false,
|
|
2663
|
-
"options": [
|
|
2664
|
-
"open",
|
|
2665
|
-
"won",
|
|
2666
|
-
"lost",
|
|
2667
|
-
"deleted"
|
|
2668
|
-
],
|
|
2669
|
-
"type": "option"
|
|
2670
|
-
},
|
|
2671
|
-
"stage": {
|
|
2672
|
-
"description": "Filter by stage ID",
|
|
2673
|
-
"name": "stage",
|
|
2674
|
-
"hasDynamicHelp": false,
|
|
2675
|
-
"multiple": false,
|
|
2676
|
-
"type": "option"
|
|
2677
|
-
},
|
|
2678
|
-
"pipeline": {
|
|
2679
|
-
"description": "Filter by pipeline ID",
|
|
2680
|
-
"name": "pipeline",
|
|
2681
|
-
"hasDynamicHelp": false,
|
|
2682
|
-
"multiple": false,
|
|
2683
|
-
"type": "option"
|
|
2684
|
-
},
|
|
2685
|
-
"owner": {
|
|
2686
|
-
"description": "Filter by owner (user) ID",
|
|
2687
|
-
"name": "owner",
|
|
2688
|
-
"hasDynamicHelp": false,
|
|
2689
|
-
"multiple": false,
|
|
2690
|
-
"type": "option"
|
|
2691
|
-
},
|
|
2692
|
-
"person": {
|
|
2693
|
-
"description": "Filter by person ID",
|
|
2694
|
-
"name": "person",
|
|
2695
|
-
"hasDynamicHelp": false,
|
|
2696
|
-
"multiple": false,
|
|
2697
|
-
"type": "option"
|
|
2698
|
-
},
|
|
2699
|
-
"org": {
|
|
2700
|
-
"description": "Filter by organization ID",
|
|
2701
|
-
"name": "org",
|
|
2702
|
-
"hasDynamicHelp": false,
|
|
2703
|
-
"multiple": false,
|
|
2704
|
-
"type": "option"
|
|
2705
2627
|
}
|
|
2706
2628
|
},
|
|
2707
2629
|
"hasDynamicHelp": false,
|
|
2708
2630
|
"hiddenAliases": [],
|
|
2709
|
-
"id": "
|
|
2631
|
+
"id": "config:list",
|
|
2710
2632
|
"pluginAlias": "@wavyx/pdcli",
|
|
2711
2633
|
"pluginName": "@wavyx/pdcli",
|
|
2712
2634
|
"pluginType": "core",
|
|
2713
2635
|
"strict": true,
|
|
2714
2636
|
"enableJsonFlag": false,
|
|
2637
|
+
"skipAuth": true,
|
|
2715
2638
|
"isESM": true,
|
|
2716
2639
|
"relativePath": [
|
|
2717
2640
|
"src",
|
|
2718
2641
|
"commands",
|
|
2719
|
-
"
|
|
2642
|
+
"config",
|
|
2720
2643
|
"list.js"
|
|
2721
2644
|
]
|
|
2722
2645
|
},
|
|
2723
|
-
"
|
|
2646
|
+
"config:set": {
|
|
2724
2647
|
"aliases": [],
|
|
2725
2648
|
"args": {
|
|
2726
|
-
"
|
|
2727
|
-
"description": "
|
|
2728
|
-
"name": "
|
|
2649
|
+
"key": {
|
|
2650
|
+
"description": "Config key to set",
|
|
2651
|
+
"name": "key",
|
|
2729
2652
|
"required": true
|
|
2730
|
-
}
|
|
2731
|
-
|
|
2732
|
-
|
|
2653
|
+
},
|
|
2654
|
+
"value": {
|
|
2655
|
+
"description": "Value to assign",
|
|
2656
|
+
"name": "value",
|
|
2657
|
+
"required": true
|
|
2658
|
+
}
|
|
2659
|
+
},
|
|
2660
|
+
"description": "Set a config value for the active profile",
|
|
2661
|
+
"examples": [
|
|
2662
|
+
"<%= config.bin %> config set company_domain acme",
|
|
2663
|
+
"<%= config.bin %> config set default_output json"
|
|
2664
|
+
],
|
|
2665
|
+
"flags": {
|
|
2666
|
+
"output": {
|
|
2667
|
+
"char": "o",
|
|
2668
|
+
"description": "Output format",
|
|
2669
|
+
"helpGroup": "GLOBAL",
|
|
2670
|
+
"name": "output",
|
|
2671
|
+
"hasDynamicHelp": false,
|
|
2672
|
+
"multiple": false,
|
|
2673
|
+
"options": [
|
|
2674
|
+
"table",
|
|
2675
|
+
"json",
|
|
2676
|
+
"yaml",
|
|
2677
|
+
"csv"
|
|
2678
|
+
],
|
|
2679
|
+
"type": "option"
|
|
2680
|
+
},
|
|
2681
|
+
"jq": {
|
|
2682
|
+
"description": "jq expression to filter JSON output",
|
|
2683
|
+
"helpGroup": "GLOBAL",
|
|
2684
|
+
"name": "jq",
|
|
2685
|
+
"hasDynamicHelp": false,
|
|
2686
|
+
"multiple": false,
|
|
2687
|
+
"type": "option"
|
|
2688
|
+
},
|
|
2689
|
+
"fields": {
|
|
2690
|
+
"description": "Comma-separated fields to display",
|
|
2691
|
+
"helpGroup": "GLOBAL",
|
|
2692
|
+
"name": "fields",
|
|
2693
|
+
"hasDynamicHelp": false,
|
|
2694
|
+
"multiple": false,
|
|
2695
|
+
"type": "option"
|
|
2696
|
+
},
|
|
2697
|
+
"resolve-fields": {
|
|
2698
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
2699
|
+
"helpGroup": "GLOBAL",
|
|
2700
|
+
"name": "resolve-fields",
|
|
2701
|
+
"allowNo": false,
|
|
2702
|
+
"type": "boolean"
|
|
2703
|
+
},
|
|
2704
|
+
"profile": {
|
|
2705
|
+
"description": "Named auth profile to use",
|
|
2706
|
+
"env": "PDCLI_PROFILE",
|
|
2707
|
+
"helpGroup": "GLOBAL",
|
|
2708
|
+
"name": "profile",
|
|
2709
|
+
"hasDynamicHelp": false,
|
|
2710
|
+
"multiple": false,
|
|
2711
|
+
"type": "option"
|
|
2712
|
+
},
|
|
2713
|
+
"no-color": {
|
|
2714
|
+
"description": "Disable color output",
|
|
2715
|
+
"helpGroup": "GLOBAL",
|
|
2716
|
+
"name": "no-color",
|
|
2717
|
+
"allowNo": false,
|
|
2718
|
+
"type": "boolean"
|
|
2719
|
+
},
|
|
2720
|
+
"verbose": {
|
|
2721
|
+
"description": "Show detailed API request/response on errors",
|
|
2722
|
+
"helpGroup": "GLOBAL",
|
|
2723
|
+
"name": "verbose",
|
|
2724
|
+
"allowNo": false,
|
|
2725
|
+
"type": "boolean"
|
|
2726
|
+
},
|
|
2727
|
+
"no-retry": {
|
|
2728
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
2729
|
+
"helpGroup": "GLOBAL",
|
|
2730
|
+
"name": "no-retry",
|
|
2731
|
+
"allowNo": false,
|
|
2732
|
+
"type": "boolean"
|
|
2733
|
+
},
|
|
2734
|
+
"timeout": {
|
|
2735
|
+
"description": "Request timeout in milliseconds",
|
|
2736
|
+
"helpGroup": "GLOBAL",
|
|
2737
|
+
"name": "timeout",
|
|
2738
|
+
"hasDynamicHelp": false,
|
|
2739
|
+
"multiple": false,
|
|
2740
|
+
"type": "option"
|
|
2741
|
+
},
|
|
2742
|
+
"limit": {
|
|
2743
|
+
"description": "Maximum number of items to return (lists)",
|
|
2744
|
+
"helpGroup": "GLOBAL",
|
|
2745
|
+
"name": "limit",
|
|
2746
|
+
"hasDynamicHelp": false,
|
|
2747
|
+
"multiple": false,
|
|
2748
|
+
"type": "option"
|
|
2749
|
+
}
|
|
2750
|
+
},
|
|
2751
|
+
"hasDynamicHelp": false,
|
|
2752
|
+
"hiddenAliases": [],
|
|
2753
|
+
"id": "config:set",
|
|
2754
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
2755
|
+
"pluginName": "@wavyx/pdcli",
|
|
2756
|
+
"pluginType": "core",
|
|
2757
|
+
"strict": true,
|
|
2758
|
+
"enableJsonFlag": false,
|
|
2759
|
+
"skipAuth": true,
|
|
2760
|
+
"isESM": true,
|
|
2761
|
+
"relativePath": [
|
|
2762
|
+
"src",
|
|
2763
|
+
"commands",
|
|
2764
|
+
"config",
|
|
2765
|
+
"set.js"
|
|
2766
|
+
]
|
|
2767
|
+
},
|
|
2768
|
+
"config:unset": {
|
|
2769
|
+
"aliases": [],
|
|
2770
|
+
"args": {
|
|
2771
|
+
"key": {
|
|
2772
|
+
"description": "Config key to remove",
|
|
2773
|
+
"name": "key",
|
|
2774
|
+
"required": true
|
|
2775
|
+
}
|
|
2776
|
+
},
|
|
2777
|
+
"description": "Remove a config key from the active profile",
|
|
2778
|
+
"examples": [
|
|
2779
|
+
"<%= config.bin %> config unset default_output"
|
|
2780
|
+
],
|
|
2781
|
+
"flags": {
|
|
2782
|
+
"output": {
|
|
2783
|
+
"char": "o",
|
|
2784
|
+
"description": "Output format",
|
|
2785
|
+
"helpGroup": "GLOBAL",
|
|
2786
|
+
"name": "output",
|
|
2787
|
+
"hasDynamicHelp": false,
|
|
2788
|
+
"multiple": false,
|
|
2789
|
+
"options": [
|
|
2790
|
+
"table",
|
|
2791
|
+
"json",
|
|
2792
|
+
"yaml",
|
|
2793
|
+
"csv"
|
|
2794
|
+
],
|
|
2795
|
+
"type": "option"
|
|
2796
|
+
},
|
|
2797
|
+
"jq": {
|
|
2798
|
+
"description": "jq expression to filter JSON output",
|
|
2799
|
+
"helpGroup": "GLOBAL",
|
|
2800
|
+
"name": "jq",
|
|
2801
|
+
"hasDynamicHelp": false,
|
|
2802
|
+
"multiple": false,
|
|
2803
|
+
"type": "option"
|
|
2804
|
+
},
|
|
2805
|
+
"fields": {
|
|
2806
|
+
"description": "Comma-separated fields to display",
|
|
2807
|
+
"helpGroup": "GLOBAL",
|
|
2808
|
+
"name": "fields",
|
|
2809
|
+
"hasDynamicHelp": false,
|
|
2810
|
+
"multiple": false,
|
|
2811
|
+
"type": "option"
|
|
2812
|
+
},
|
|
2813
|
+
"resolve-fields": {
|
|
2814
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
2815
|
+
"helpGroup": "GLOBAL",
|
|
2816
|
+
"name": "resolve-fields",
|
|
2817
|
+
"allowNo": false,
|
|
2818
|
+
"type": "boolean"
|
|
2819
|
+
},
|
|
2820
|
+
"profile": {
|
|
2821
|
+
"description": "Named auth profile to use",
|
|
2822
|
+
"env": "PDCLI_PROFILE",
|
|
2823
|
+
"helpGroup": "GLOBAL",
|
|
2824
|
+
"name": "profile",
|
|
2825
|
+
"hasDynamicHelp": false,
|
|
2826
|
+
"multiple": false,
|
|
2827
|
+
"type": "option"
|
|
2828
|
+
},
|
|
2829
|
+
"no-color": {
|
|
2830
|
+
"description": "Disable color output",
|
|
2831
|
+
"helpGroup": "GLOBAL",
|
|
2832
|
+
"name": "no-color",
|
|
2833
|
+
"allowNo": false,
|
|
2834
|
+
"type": "boolean"
|
|
2835
|
+
},
|
|
2836
|
+
"verbose": {
|
|
2837
|
+
"description": "Show detailed API request/response on errors",
|
|
2838
|
+
"helpGroup": "GLOBAL",
|
|
2839
|
+
"name": "verbose",
|
|
2840
|
+
"allowNo": false,
|
|
2841
|
+
"type": "boolean"
|
|
2842
|
+
},
|
|
2843
|
+
"no-retry": {
|
|
2844
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
2845
|
+
"helpGroup": "GLOBAL",
|
|
2846
|
+
"name": "no-retry",
|
|
2847
|
+
"allowNo": false,
|
|
2848
|
+
"type": "boolean"
|
|
2849
|
+
},
|
|
2850
|
+
"timeout": {
|
|
2851
|
+
"description": "Request timeout in milliseconds",
|
|
2852
|
+
"helpGroup": "GLOBAL",
|
|
2853
|
+
"name": "timeout",
|
|
2854
|
+
"hasDynamicHelp": false,
|
|
2855
|
+
"multiple": false,
|
|
2856
|
+
"type": "option"
|
|
2857
|
+
},
|
|
2858
|
+
"limit": {
|
|
2859
|
+
"description": "Maximum number of items to return (lists)",
|
|
2860
|
+
"helpGroup": "GLOBAL",
|
|
2861
|
+
"name": "limit",
|
|
2862
|
+
"hasDynamicHelp": false,
|
|
2863
|
+
"multiple": false,
|
|
2864
|
+
"type": "option"
|
|
2865
|
+
}
|
|
2866
|
+
},
|
|
2867
|
+
"hasDynamicHelp": false,
|
|
2868
|
+
"hiddenAliases": [],
|
|
2869
|
+
"id": "config:unset",
|
|
2870
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
2871
|
+
"pluginName": "@wavyx/pdcli",
|
|
2872
|
+
"pluginType": "core",
|
|
2873
|
+
"strict": true,
|
|
2874
|
+
"enableJsonFlag": false,
|
|
2875
|
+
"skipAuth": true,
|
|
2876
|
+
"isESM": true,
|
|
2877
|
+
"relativePath": [
|
|
2878
|
+
"src",
|
|
2879
|
+
"commands",
|
|
2880
|
+
"config",
|
|
2881
|
+
"unset.js"
|
|
2882
|
+
]
|
|
2883
|
+
},
|
|
2884
|
+
"deal:bulk-update": {
|
|
2885
|
+
"aliases": [],
|
|
2886
|
+
"args": {},
|
|
2887
|
+
"description": "Update many deals at once (by --ids, a saved --filter, or ids piped on stdin)",
|
|
2888
|
+
"examples": [
|
|
2889
|
+
"<%= config.bin %> deal bulk-update --ids 1,2,3 --stage 5",
|
|
2890
|
+
"<%= config.bin %> deal bulk-update --filter 9 --status won",
|
|
2891
|
+
"<%= config.bin %> deal list --status open --jq '.[].id' | <%= config.bin %> deal bulk-update --owner 42",
|
|
2892
|
+
"<%= config.bin %> deal bulk-update --filter 9 --stage 5 --dry-run"
|
|
2893
|
+
],
|
|
2894
|
+
"flags": {
|
|
2895
|
+
"output": {
|
|
2896
|
+
"char": "o",
|
|
2897
|
+
"description": "Output format",
|
|
2898
|
+
"helpGroup": "GLOBAL",
|
|
2899
|
+
"name": "output",
|
|
2900
|
+
"hasDynamicHelp": false,
|
|
2901
|
+
"multiple": false,
|
|
2902
|
+
"options": [
|
|
2903
|
+
"table",
|
|
2904
|
+
"json",
|
|
2905
|
+
"yaml",
|
|
2906
|
+
"csv"
|
|
2907
|
+
],
|
|
2908
|
+
"type": "option"
|
|
2909
|
+
},
|
|
2910
|
+
"jq": {
|
|
2911
|
+
"description": "jq expression to filter JSON output",
|
|
2912
|
+
"helpGroup": "GLOBAL",
|
|
2913
|
+
"name": "jq",
|
|
2914
|
+
"hasDynamicHelp": false,
|
|
2915
|
+
"multiple": false,
|
|
2916
|
+
"type": "option"
|
|
2917
|
+
},
|
|
2918
|
+
"fields": {
|
|
2919
|
+
"description": "Comma-separated fields to display",
|
|
2920
|
+
"helpGroup": "GLOBAL",
|
|
2921
|
+
"name": "fields",
|
|
2922
|
+
"hasDynamicHelp": false,
|
|
2923
|
+
"multiple": false,
|
|
2924
|
+
"type": "option"
|
|
2925
|
+
},
|
|
2926
|
+
"resolve-fields": {
|
|
2927
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
2928
|
+
"helpGroup": "GLOBAL",
|
|
2929
|
+
"name": "resolve-fields",
|
|
2930
|
+
"allowNo": false,
|
|
2931
|
+
"type": "boolean"
|
|
2932
|
+
},
|
|
2933
|
+
"profile": {
|
|
2934
|
+
"description": "Named auth profile to use",
|
|
2935
|
+
"env": "PDCLI_PROFILE",
|
|
2936
|
+
"helpGroup": "GLOBAL",
|
|
2937
|
+
"name": "profile",
|
|
2938
|
+
"hasDynamicHelp": false,
|
|
2939
|
+
"multiple": false,
|
|
2940
|
+
"type": "option"
|
|
2941
|
+
},
|
|
2942
|
+
"no-color": {
|
|
2943
|
+
"description": "Disable color output",
|
|
2944
|
+
"helpGroup": "GLOBAL",
|
|
2945
|
+
"name": "no-color",
|
|
2946
|
+
"allowNo": false,
|
|
2947
|
+
"type": "boolean"
|
|
2948
|
+
},
|
|
2949
|
+
"verbose": {
|
|
2950
|
+
"description": "Show detailed API request/response on errors",
|
|
2951
|
+
"helpGroup": "GLOBAL",
|
|
2952
|
+
"name": "verbose",
|
|
2953
|
+
"allowNo": false,
|
|
2954
|
+
"type": "boolean"
|
|
2955
|
+
},
|
|
2956
|
+
"no-retry": {
|
|
2957
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
2958
|
+
"helpGroup": "GLOBAL",
|
|
2959
|
+
"name": "no-retry",
|
|
2960
|
+
"allowNo": false,
|
|
2961
|
+
"type": "boolean"
|
|
2962
|
+
},
|
|
2963
|
+
"timeout": {
|
|
2964
|
+
"description": "Request timeout in milliseconds",
|
|
2965
|
+
"helpGroup": "GLOBAL",
|
|
2966
|
+
"name": "timeout",
|
|
2967
|
+
"hasDynamicHelp": false,
|
|
2968
|
+
"multiple": false,
|
|
2969
|
+
"type": "option"
|
|
2970
|
+
},
|
|
2971
|
+
"limit": {
|
|
2972
|
+
"description": "Maximum number of items to return (lists)",
|
|
2973
|
+
"helpGroup": "GLOBAL",
|
|
2974
|
+
"name": "limit",
|
|
2975
|
+
"hasDynamicHelp": false,
|
|
2976
|
+
"multiple": false,
|
|
2977
|
+
"type": "option"
|
|
2978
|
+
},
|
|
2979
|
+
"ids": {
|
|
2980
|
+
"description": "Comma-separated deal IDs",
|
|
2981
|
+
"exclusive": [
|
|
2982
|
+
"filter"
|
|
2983
|
+
],
|
|
2984
|
+
"name": "ids",
|
|
2985
|
+
"hasDynamicHelp": false,
|
|
2986
|
+
"multiple": false,
|
|
2987
|
+
"type": "option"
|
|
2988
|
+
},
|
|
2989
|
+
"filter": {
|
|
2990
|
+
"description": "Pipedrive saved filter ID to select deals",
|
|
2991
|
+
"exclusive": [
|
|
2992
|
+
"ids"
|
|
2993
|
+
],
|
|
2994
|
+
"name": "filter",
|
|
2995
|
+
"hasDynamicHelp": false,
|
|
2996
|
+
"multiple": false,
|
|
2997
|
+
"type": "option"
|
|
2998
|
+
},
|
|
2999
|
+
"stage": {
|
|
3000
|
+
"description": "Move to stage ID",
|
|
3001
|
+
"name": "stage",
|
|
3002
|
+
"hasDynamicHelp": false,
|
|
3003
|
+
"multiple": false,
|
|
3004
|
+
"type": "option"
|
|
3005
|
+
},
|
|
3006
|
+
"pipeline": {
|
|
3007
|
+
"description": "Move to pipeline ID",
|
|
3008
|
+
"name": "pipeline",
|
|
3009
|
+
"hasDynamicHelp": false,
|
|
3010
|
+
"multiple": false,
|
|
3011
|
+
"type": "option"
|
|
3012
|
+
},
|
|
3013
|
+
"status": {
|
|
3014
|
+
"description": "Set status",
|
|
3015
|
+
"name": "status",
|
|
3016
|
+
"hasDynamicHelp": false,
|
|
3017
|
+
"multiple": false,
|
|
3018
|
+
"options": [
|
|
3019
|
+
"open",
|
|
3020
|
+
"won",
|
|
3021
|
+
"lost"
|
|
3022
|
+
],
|
|
3023
|
+
"type": "option"
|
|
3024
|
+
},
|
|
3025
|
+
"owner": {
|
|
3026
|
+
"description": "Assign owner (user) ID",
|
|
3027
|
+
"name": "owner",
|
|
3028
|
+
"hasDynamicHelp": false,
|
|
3029
|
+
"multiple": false,
|
|
3030
|
+
"type": "option"
|
|
3031
|
+
},
|
|
3032
|
+
"field": {
|
|
3033
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
3034
|
+
"name": "field",
|
|
3035
|
+
"hasDynamicHelp": false,
|
|
3036
|
+
"multiple": true,
|
|
3037
|
+
"type": "option"
|
|
3038
|
+
},
|
|
3039
|
+
"body": {
|
|
3040
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
3041
|
+
"name": "body",
|
|
3042
|
+
"hasDynamicHelp": false,
|
|
3043
|
+
"multiple": false,
|
|
3044
|
+
"type": "option"
|
|
3045
|
+
},
|
|
3046
|
+
"dry-run": {
|
|
3047
|
+
"description": "List the targets without updating anything",
|
|
3048
|
+
"name": "dry-run",
|
|
3049
|
+
"allowNo": false,
|
|
3050
|
+
"type": "boolean"
|
|
3051
|
+
},
|
|
3052
|
+
"yes": {
|
|
3053
|
+
"char": "y",
|
|
3054
|
+
"description": "Skip the confirmation prompt",
|
|
3055
|
+
"name": "yes",
|
|
3056
|
+
"allowNo": false,
|
|
3057
|
+
"type": "boolean"
|
|
3058
|
+
}
|
|
3059
|
+
},
|
|
3060
|
+
"hasDynamicHelp": false,
|
|
3061
|
+
"hiddenAliases": [],
|
|
3062
|
+
"id": "deal:bulk-update",
|
|
3063
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
3064
|
+
"pluginName": "@wavyx/pdcli",
|
|
3065
|
+
"pluginType": "core",
|
|
3066
|
+
"strict": true,
|
|
3067
|
+
"enableJsonFlag": false,
|
|
3068
|
+
"isESM": true,
|
|
3069
|
+
"relativePath": [
|
|
3070
|
+
"src",
|
|
3071
|
+
"commands",
|
|
3072
|
+
"deal",
|
|
3073
|
+
"bulk-update.js"
|
|
3074
|
+
]
|
|
3075
|
+
},
|
|
3076
|
+
"deal:create": {
|
|
3077
|
+
"aliases": [],
|
|
3078
|
+
"args": {},
|
|
3079
|
+
"description": "Create a deal",
|
|
3080
|
+
"examples": [
|
|
3081
|
+
"<%= config.bin %> deal create --title \"Acme renewal\" --value 5000 --currency EUR",
|
|
3082
|
+
"<%= config.bin %> deal create --title \"Sized\" --field \"Deal Size=Large\"",
|
|
3083
|
+
"<%= config.bin %> deal create --title \"Raw\" --body '{\"probability\":75}'"
|
|
3084
|
+
],
|
|
3085
|
+
"flags": {
|
|
3086
|
+
"output": {
|
|
3087
|
+
"char": "o",
|
|
3088
|
+
"description": "Output format",
|
|
3089
|
+
"helpGroup": "GLOBAL",
|
|
3090
|
+
"name": "output",
|
|
3091
|
+
"hasDynamicHelp": false,
|
|
3092
|
+
"multiple": false,
|
|
3093
|
+
"options": [
|
|
3094
|
+
"table",
|
|
3095
|
+
"json",
|
|
3096
|
+
"yaml",
|
|
3097
|
+
"csv"
|
|
3098
|
+
],
|
|
3099
|
+
"type": "option"
|
|
3100
|
+
},
|
|
3101
|
+
"jq": {
|
|
3102
|
+
"description": "jq expression to filter JSON output",
|
|
3103
|
+
"helpGroup": "GLOBAL",
|
|
3104
|
+
"name": "jq",
|
|
3105
|
+
"hasDynamicHelp": false,
|
|
3106
|
+
"multiple": false,
|
|
3107
|
+
"type": "option"
|
|
3108
|
+
},
|
|
3109
|
+
"fields": {
|
|
3110
|
+
"description": "Comma-separated fields to display",
|
|
3111
|
+
"helpGroup": "GLOBAL",
|
|
3112
|
+
"name": "fields",
|
|
3113
|
+
"hasDynamicHelp": false,
|
|
3114
|
+
"multiple": false,
|
|
3115
|
+
"type": "option"
|
|
3116
|
+
},
|
|
3117
|
+
"resolve-fields": {
|
|
3118
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
3119
|
+
"helpGroup": "GLOBAL",
|
|
3120
|
+
"name": "resolve-fields",
|
|
3121
|
+
"allowNo": false,
|
|
3122
|
+
"type": "boolean"
|
|
3123
|
+
},
|
|
3124
|
+
"profile": {
|
|
3125
|
+
"description": "Named auth profile to use",
|
|
3126
|
+
"env": "PDCLI_PROFILE",
|
|
3127
|
+
"helpGroup": "GLOBAL",
|
|
3128
|
+
"name": "profile",
|
|
3129
|
+
"hasDynamicHelp": false,
|
|
3130
|
+
"multiple": false,
|
|
3131
|
+
"type": "option"
|
|
3132
|
+
},
|
|
3133
|
+
"no-color": {
|
|
3134
|
+
"description": "Disable color output",
|
|
3135
|
+
"helpGroup": "GLOBAL",
|
|
3136
|
+
"name": "no-color",
|
|
3137
|
+
"allowNo": false,
|
|
3138
|
+
"type": "boolean"
|
|
3139
|
+
},
|
|
3140
|
+
"verbose": {
|
|
3141
|
+
"description": "Show detailed API request/response on errors",
|
|
3142
|
+
"helpGroup": "GLOBAL",
|
|
3143
|
+
"name": "verbose",
|
|
3144
|
+
"allowNo": false,
|
|
3145
|
+
"type": "boolean"
|
|
3146
|
+
},
|
|
3147
|
+
"no-retry": {
|
|
3148
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
3149
|
+
"helpGroup": "GLOBAL",
|
|
3150
|
+
"name": "no-retry",
|
|
3151
|
+
"allowNo": false,
|
|
3152
|
+
"type": "boolean"
|
|
3153
|
+
},
|
|
3154
|
+
"timeout": {
|
|
3155
|
+
"description": "Request timeout in milliseconds",
|
|
3156
|
+
"helpGroup": "GLOBAL",
|
|
3157
|
+
"name": "timeout",
|
|
3158
|
+
"hasDynamicHelp": false,
|
|
3159
|
+
"multiple": false,
|
|
3160
|
+
"type": "option"
|
|
3161
|
+
},
|
|
3162
|
+
"limit": {
|
|
3163
|
+
"description": "Maximum number of items to return (lists)",
|
|
3164
|
+
"helpGroup": "GLOBAL",
|
|
3165
|
+
"name": "limit",
|
|
3166
|
+
"hasDynamicHelp": false,
|
|
3167
|
+
"multiple": false,
|
|
3168
|
+
"type": "option"
|
|
3169
|
+
},
|
|
3170
|
+
"title": {
|
|
3171
|
+
"description": "Deal title",
|
|
3172
|
+
"name": "title",
|
|
3173
|
+
"required": true,
|
|
3174
|
+
"hasDynamicHelp": false,
|
|
3175
|
+
"multiple": false,
|
|
3176
|
+
"type": "option"
|
|
3177
|
+
},
|
|
3178
|
+
"value": {
|
|
3179
|
+
"description": "Deal value",
|
|
3180
|
+
"name": "value",
|
|
3181
|
+
"hasDynamicHelp": false,
|
|
3182
|
+
"multiple": false,
|
|
3183
|
+
"type": "option"
|
|
3184
|
+
},
|
|
3185
|
+
"currency": {
|
|
3186
|
+
"description": "Deal currency (e.g. EUR)",
|
|
3187
|
+
"name": "currency",
|
|
3188
|
+
"hasDynamicHelp": false,
|
|
3189
|
+
"multiple": false,
|
|
3190
|
+
"type": "option"
|
|
3191
|
+
},
|
|
3192
|
+
"status": {
|
|
3193
|
+
"description": "Deal status",
|
|
3194
|
+
"name": "status",
|
|
3195
|
+
"hasDynamicHelp": false,
|
|
3196
|
+
"multiple": false,
|
|
3197
|
+
"options": [
|
|
3198
|
+
"open",
|
|
3199
|
+
"won",
|
|
3200
|
+
"lost"
|
|
3201
|
+
],
|
|
3202
|
+
"type": "option"
|
|
3203
|
+
},
|
|
3204
|
+
"stage": {
|
|
3205
|
+
"description": "Stage ID",
|
|
3206
|
+
"name": "stage",
|
|
3207
|
+
"hasDynamicHelp": false,
|
|
3208
|
+
"multiple": false,
|
|
3209
|
+
"type": "option"
|
|
3210
|
+
},
|
|
3211
|
+
"pipeline": {
|
|
3212
|
+
"description": "Pipeline ID",
|
|
3213
|
+
"name": "pipeline",
|
|
3214
|
+
"hasDynamicHelp": false,
|
|
3215
|
+
"multiple": false,
|
|
3216
|
+
"type": "option"
|
|
3217
|
+
},
|
|
3218
|
+
"person": {
|
|
3219
|
+
"description": "Linked person ID",
|
|
3220
|
+
"name": "person",
|
|
3221
|
+
"hasDynamicHelp": false,
|
|
3222
|
+
"multiple": false,
|
|
3223
|
+
"type": "option"
|
|
3224
|
+
},
|
|
3225
|
+
"org": {
|
|
3226
|
+
"description": "Linked organization ID",
|
|
3227
|
+
"name": "org",
|
|
3228
|
+
"hasDynamicHelp": false,
|
|
3229
|
+
"multiple": false,
|
|
3230
|
+
"type": "option"
|
|
3231
|
+
},
|
|
3232
|
+
"owner": {
|
|
3233
|
+
"description": "Owner (user) ID",
|
|
3234
|
+
"name": "owner",
|
|
3235
|
+
"hasDynamicHelp": false,
|
|
3236
|
+
"multiple": false,
|
|
3237
|
+
"type": "option"
|
|
3238
|
+
},
|
|
3239
|
+
"probability": {
|
|
3240
|
+
"description": "Success probability (0-100)",
|
|
3241
|
+
"name": "probability",
|
|
3242
|
+
"hasDynamicHelp": false,
|
|
3243
|
+
"multiple": false,
|
|
3244
|
+
"type": "option"
|
|
3245
|
+
},
|
|
3246
|
+
"expected-close-date": {
|
|
3247
|
+
"description": "Expected close date (YYYY-MM-DD)",
|
|
3248
|
+
"name": "expected-close-date",
|
|
3249
|
+
"hasDynamicHelp": false,
|
|
3250
|
+
"multiple": false,
|
|
3251
|
+
"type": "option"
|
|
3252
|
+
},
|
|
3253
|
+
"field": {
|
|
3254
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
3255
|
+
"name": "field",
|
|
3256
|
+
"hasDynamicHelp": false,
|
|
3257
|
+
"multiple": true,
|
|
3258
|
+
"type": "option"
|
|
3259
|
+
},
|
|
3260
|
+
"body": {
|
|
3261
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
3262
|
+
"name": "body",
|
|
3263
|
+
"hasDynamicHelp": false,
|
|
3264
|
+
"multiple": false,
|
|
3265
|
+
"type": "option"
|
|
3266
|
+
}
|
|
3267
|
+
},
|
|
3268
|
+
"hasDynamicHelp": false,
|
|
3269
|
+
"hiddenAliases": [],
|
|
3270
|
+
"id": "deal:create",
|
|
3271
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
3272
|
+
"pluginName": "@wavyx/pdcli",
|
|
3273
|
+
"pluginType": "core",
|
|
3274
|
+
"strict": true,
|
|
3275
|
+
"enableJsonFlag": false,
|
|
3276
|
+
"isESM": true,
|
|
3277
|
+
"relativePath": [
|
|
3278
|
+
"src",
|
|
3279
|
+
"commands",
|
|
3280
|
+
"deal",
|
|
3281
|
+
"create.js"
|
|
3282
|
+
]
|
|
3283
|
+
},
|
|
3284
|
+
"deal:delete": {
|
|
3285
|
+
"aliases": [],
|
|
3286
|
+
"args": {
|
|
3287
|
+
"id": {
|
|
3288
|
+
"description": "Deal ID",
|
|
3289
|
+
"name": "id",
|
|
3290
|
+
"required": true
|
|
3291
|
+
}
|
|
3292
|
+
},
|
|
3293
|
+
"description": "Delete a deal",
|
|
2733
3294
|
"examples": [
|
|
2734
|
-
"<%= config.bin %> deal
|
|
2735
|
-
"<%= config.bin %> deal
|
|
2736
|
-
"<%= config.bin %> deal update 42 --field \"Deal Size=Large\""
|
|
3295
|
+
"<%= config.bin %> deal delete 42",
|
|
3296
|
+
"<%= config.bin %> deal delete 42 --yes"
|
|
2737
3297
|
],
|
|
2738
3298
|
"flags": {
|
|
2739
3299
|
"output": {
|
|
@@ -2767,6 +3327,13 @@
|
|
|
2767
3327
|
"multiple": false,
|
|
2768
3328
|
"type": "option"
|
|
2769
3329
|
},
|
|
3330
|
+
"resolve-fields": {
|
|
3331
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
3332
|
+
"helpGroup": "GLOBAL",
|
|
3333
|
+
"name": "resolve-fields",
|
|
3334
|
+
"allowNo": false,
|
|
3335
|
+
"type": "boolean"
|
|
3336
|
+
},
|
|
2770
3337
|
"profile": {
|
|
2771
3338
|
"description": "Named auth profile to use",
|
|
2772
3339
|
"env": "PDCLI_PROFILE",
|
|
@@ -2813,98 +3380,125 @@
|
|
|
2813
3380
|
"multiple": false,
|
|
2814
3381
|
"type": "option"
|
|
2815
3382
|
},
|
|
2816
|
-
"
|
|
2817
|
-
"
|
|
2818
|
-
"
|
|
2819
|
-
"
|
|
2820
|
-
"
|
|
2821
|
-
"type": "
|
|
2822
|
-
}
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
"
|
|
2838
|
-
|
|
2839
|
-
|
|
3383
|
+
"yes": {
|
|
3384
|
+
"char": "y",
|
|
3385
|
+
"description": "Skip the confirmation prompt",
|
|
3386
|
+
"name": "yes",
|
|
3387
|
+
"allowNo": false,
|
|
3388
|
+
"type": "boolean"
|
|
3389
|
+
}
|
|
3390
|
+
},
|
|
3391
|
+
"hasDynamicHelp": false,
|
|
3392
|
+
"hiddenAliases": [],
|
|
3393
|
+
"id": "deal:delete",
|
|
3394
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
3395
|
+
"pluginName": "@wavyx/pdcli",
|
|
3396
|
+
"pluginType": "core",
|
|
3397
|
+
"strict": true,
|
|
3398
|
+
"enableJsonFlag": false,
|
|
3399
|
+
"isESM": true,
|
|
3400
|
+
"relativePath": [
|
|
3401
|
+
"src",
|
|
3402
|
+
"commands",
|
|
3403
|
+
"deal",
|
|
3404
|
+
"delete.js"
|
|
3405
|
+
]
|
|
3406
|
+
},
|
|
3407
|
+
"deal:get": {
|
|
3408
|
+
"aliases": [],
|
|
3409
|
+
"args": {
|
|
3410
|
+
"id": {
|
|
3411
|
+
"description": "Deal ID",
|
|
3412
|
+
"name": "id",
|
|
3413
|
+
"required": true
|
|
3414
|
+
}
|
|
3415
|
+
},
|
|
3416
|
+
"description": "Get a deal by ID",
|
|
3417
|
+
"examples": [
|
|
3418
|
+
"<%= config.bin %> deal get 42",
|
|
3419
|
+
"<%= config.bin %> deal get 42 --output json"
|
|
3420
|
+
],
|
|
3421
|
+
"flags": {
|
|
3422
|
+
"output": {
|
|
3423
|
+
"char": "o",
|
|
3424
|
+
"description": "Output format",
|
|
3425
|
+
"helpGroup": "GLOBAL",
|
|
3426
|
+
"name": "output",
|
|
2840
3427
|
"hasDynamicHelp": false,
|
|
2841
3428
|
"multiple": false,
|
|
2842
3429
|
"options": [
|
|
2843
|
-
"
|
|
2844
|
-
"
|
|
2845
|
-
"
|
|
3430
|
+
"table",
|
|
3431
|
+
"json",
|
|
3432
|
+
"yaml",
|
|
3433
|
+
"csv"
|
|
2846
3434
|
],
|
|
2847
3435
|
"type": "option"
|
|
2848
3436
|
},
|
|
2849
|
-
"
|
|
2850
|
-
"description": "
|
|
2851
|
-
"
|
|
3437
|
+
"jq": {
|
|
3438
|
+
"description": "jq expression to filter JSON output",
|
|
3439
|
+
"helpGroup": "GLOBAL",
|
|
3440
|
+
"name": "jq",
|
|
2852
3441
|
"hasDynamicHelp": false,
|
|
2853
3442
|
"multiple": false,
|
|
2854
3443
|
"type": "option"
|
|
2855
3444
|
},
|
|
2856
|
-
"
|
|
2857
|
-
"description": "
|
|
2858
|
-
"
|
|
3445
|
+
"fields": {
|
|
3446
|
+
"description": "Comma-separated fields to display",
|
|
3447
|
+
"helpGroup": "GLOBAL",
|
|
3448
|
+
"name": "fields",
|
|
2859
3449
|
"hasDynamicHelp": false,
|
|
2860
3450
|
"multiple": false,
|
|
2861
3451
|
"type": "option"
|
|
2862
3452
|
},
|
|
2863
|
-
"
|
|
2864
|
-
"description": "
|
|
2865
|
-
"
|
|
2866
|
-
"
|
|
2867
|
-
"
|
|
2868
|
-
"type": "
|
|
3453
|
+
"resolve-fields": {
|
|
3454
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
3455
|
+
"helpGroup": "GLOBAL",
|
|
3456
|
+
"name": "resolve-fields",
|
|
3457
|
+
"allowNo": false,
|
|
3458
|
+
"type": "boolean"
|
|
2869
3459
|
},
|
|
2870
|
-
"
|
|
2871
|
-
"description": "
|
|
2872
|
-
"
|
|
3460
|
+
"profile": {
|
|
3461
|
+
"description": "Named auth profile to use",
|
|
3462
|
+
"env": "PDCLI_PROFILE",
|
|
3463
|
+
"helpGroup": "GLOBAL",
|
|
3464
|
+
"name": "profile",
|
|
2873
3465
|
"hasDynamicHelp": false,
|
|
2874
3466
|
"multiple": false,
|
|
2875
3467
|
"type": "option"
|
|
2876
3468
|
},
|
|
2877
|
-
"
|
|
2878
|
-
"description": "
|
|
2879
|
-
"
|
|
2880
|
-
"
|
|
2881
|
-
"
|
|
2882
|
-
"type": "
|
|
3469
|
+
"no-color": {
|
|
3470
|
+
"description": "Disable color output",
|
|
3471
|
+
"helpGroup": "GLOBAL",
|
|
3472
|
+
"name": "no-color",
|
|
3473
|
+
"allowNo": false,
|
|
3474
|
+
"type": "boolean"
|
|
2883
3475
|
},
|
|
2884
|
-
"
|
|
2885
|
-
"description": "
|
|
2886
|
-
"
|
|
2887
|
-
"
|
|
2888
|
-
"
|
|
2889
|
-
"type": "
|
|
3476
|
+
"verbose": {
|
|
3477
|
+
"description": "Show detailed API request/response on errors",
|
|
3478
|
+
"helpGroup": "GLOBAL",
|
|
3479
|
+
"name": "verbose",
|
|
3480
|
+
"allowNo": false,
|
|
3481
|
+
"type": "boolean"
|
|
2890
3482
|
},
|
|
2891
|
-
"
|
|
2892
|
-
"description": "
|
|
2893
|
-
"
|
|
2894
|
-
"
|
|
2895
|
-
"
|
|
2896
|
-
"type": "
|
|
3483
|
+
"no-retry": {
|
|
3484
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
3485
|
+
"helpGroup": "GLOBAL",
|
|
3486
|
+
"name": "no-retry",
|
|
3487
|
+
"allowNo": false,
|
|
3488
|
+
"type": "boolean"
|
|
2897
3489
|
},
|
|
2898
|
-
"
|
|
2899
|
-
"description": "
|
|
2900
|
-
"
|
|
3490
|
+
"timeout": {
|
|
3491
|
+
"description": "Request timeout in milliseconds",
|
|
3492
|
+
"helpGroup": "GLOBAL",
|
|
3493
|
+
"name": "timeout",
|
|
2901
3494
|
"hasDynamicHelp": false,
|
|
2902
|
-
"multiple":
|
|
3495
|
+
"multiple": false,
|
|
2903
3496
|
"type": "option"
|
|
2904
3497
|
},
|
|
2905
|
-
"
|
|
2906
|
-
"description": "
|
|
2907
|
-
"
|
|
3498
|
+
"limit": {
|
|
3499
|
+
"description": "Maximum number of items to return (lists)",
|
|
3500
|
+
"helpGroup": "GLOBAL",
|
|
3501
|
+
"name": "limit",
|
|
2908
3502
|
"hasDynamicHelp": false,
|
|
2909
3503
|
"multiple": false,
|
|
2910
3504
|
"type": "option"
|
|
@@ -2912,7 +3506,7 @@
|
|
|
2912
3506
|
},
|
|
2913
3507
|
"hasDynamicHelp": false,
|
|
2914
3508
|
"hiddenAliases": [],
|
|
2915
|
-
"id": "deal:
|
|
3509
|
+
"id": "deal:get",
|
|
2916
3510
|
"pluginAlias": "@wavyx/pdcli",
|
|
2917
3511
|
"pluginName": "@wavyx/pdcli",
|
|
2918
3512
|
"pluginType": "core",
|
|
@@ -2923,22 +3517,17 @@
|
|
|
2923
3517
|
"src",
|
|
2924
3518
|
"commands",
|
|
2925
3519
|
"deal",
|
|
2926
|
-
"
|
|
3520
|
+
"get.js"
|
|
2927
3521
|
]
|
|
2928
3522
|
},
|
|
2929
|
-
"
|
|
3523
|
+
"deal:list": {
|
|
2930
3524
|
"aliases": [],
|
|
2931
|
-
"args": {
|
|
2932
|
-
|
|
2933
|
-
"description": "Config key to read",
|
|
2934
|
-
"name": "key",
|
|
2935
|
-
"required": true
|
|
2936
|
-
}
|
|
2937
|
-
},
|
|
2938
|
-
"description": "Get a config value for the active profile",
|
|
3525
|
+
"args": {},
|
|
3526
|
+
"description": "List deals",
|
|
2939
3527
|
"examples": [
|
|
2940
|
-
"<%= config.bin %>
|
|
2941
|
-
"<%= config.bin %>
|
|
3528
|
+
"<%= config.bin %> deal list",
|
|
3529
|
+
"<%= config.bin %> deal list --status won --limit 50",
|
|
3530
|
+
"<%= config.bin %> deal list --stage 3 --output json"
|
|
2942
3531
|
],
|
|
2943
3532
|
"flags": {
|
|
2944
3533
|
"output": {
|
|
@@ -2972,6 +3561,13 @@
|
|
|
2972
3561
|
"multiple": false,
|
|
2973
3562
|
"type": "option"
|
|
2974
3563
|
},
|
|
3564
|
+
"resolve-fields": {
|
|
3565
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
3566
|
+
"helpGroup": "GLOBAL",
|
|
3567
|
+
"name": "resolve-fields",
|
|
3568
|
+
"allowNo": false,
|
|
3569
|
+
"type": "boolean"
|
|
3570
|
+
},
|
|
2975
3571
|
"profile": {
|
|
2976
3572
|
"description": "Named auth profile to use",
|
|
2977
3573
|
"env": "PDCLI_PROFILE",
|
|
@@ -3017,31 +3613,86 @@
|
|
|
3017
3613
|
"hasDynamicHelp": false,
|
|
3018
3614
|
"multiple": false,
|
|
3019
3615
|
"type": "option"
|
|
3616
|
+
},
|
|
3617
|
+
"status": {
|
|
3618
|
+
"description": "Filter by status",
|
|
3619
|
+
"name": "status",
|
|
3620
|
+
"hasDynamicHelp": false,
|
|
3621
|
+
"multiple": false,
|
|
3622
|
+
"options": [
|
|
3623
|
+
"open",
|
|
3624
|
+
"won",
|
|
3625
|
+
"lost",
|
|
3626
|
+
"deleted"
|
|
3627
|
+
],
|
|
3628
|
+
"type": "option"
|
|
3629
|
+
},
|
|
3630
|
+
"stage": {
|
|
3631
|
+
"description": "Filter by stage ID",
|
|
3632
|
+
"name": "stage",
|
|
3633
|
+
"hasDynamicHelp": false,
|
|
3634
|
+
"multiple": false,
|
|
3635
|
+
"type": "option"
|
|
3636
|
+
},
|
|
3637
|
+
"pipeline": {
|
|
3638
|
+
"description": "Filter by pipeline ID",
|
|
3639
|
+
"name": "pipeline",
|
|
3640
|
+
"hasDynamicHelp": false,
|
|
3641
|
+
"multiple": false,
|
|
3642
|
+
"type": "option"
|
|
3643
|
+
},
|
|
3644
|
+
"owner": {
|
|
3645
|
+
"description": "Filter by owner (user) ID",
|
|
3646
|
+
"name": "owner",
|
|
3647
|
+
"hasDynamicHelp": false,
|
|
3648
|
+
"multiple": false,
|
|
3649
|
+
"type": "option"
|
|
3650
|
+
},
|
|
3651
|
+
"person": {
|
|
3652
|
+
"description": "Filter by person ID",
|
|
3653
|
+
"name": "person",
|
|
3654
|
+
"hasDynamicHelp": false,
|
|
3655
|
+
"multiple": false,
|
|
3656
|
+
"type": "option"
|
|
3657
|
+
},
|
|
3658
|
+
"org": {
|
|
3659
|
+
"description": "Filter by organization ID",
|
|
3660
|
+
"name": "org",
|
|
3661
|
+
"hasDynamicHelp": false,
|
|
3662
|
+
"multiple": false,
|
|
3663
|
+
"type": "option"
|
|
3020
3664
|
}
|
|
3021
3665
|
},
|
|
3022
3666
|
"hasDynamicHelp": false,
|
|
3023
3667
|
"hiddenAliases": [],
|
|
3024
|
-
"id": "
|
|
3668
|
+
"id": "deal:list",
|
|
3025
3669
|
"pluginAlias": "@wavyx/pdcli",
|
|
3026
3670
|
"pluginName": "@wavyx/pdcli",
|
|
3027
3671
|
"pluginType": "core",
|
|
3028
3672
|
"strict": true,
|
|
3029
3673
|
"enableJsonFlag": false,
|
|
3030
|
-
"skipAuth": true,
|
|
3031
3674
|
"isESM": true,
|
|
3032
3675
|
"relativePath": [
|
|
3033
3676
|
"src",
|
|
3034
3677
|
"commands",
|
|
3035
|
-
"
|
|
3036
|
-
"
|
|
3678
|
+
"deal",
|
|
3679
|
+
"list.js"
|
|
3037
3680
|
]
|
|
3038
3681
|
},
|
|
3039
|
-
"
|
|
3682
|
+
"deal:update": {
|
|
3040
3683
|
"aliases": [],
|
|
3041
|
-
"args": {
|
|
3042
|
-
|
|
3684
|
+
"args": {
|
|
3685
|
+
"id": {
|
|
3686
|
+
"description": "Deal ID",
|
|
3687
|
+
"name": "id",
|
|
3688
|
+
"required": true
|
|
3689
|
+
}
|
|
3690
|
+
},
|
|
3691
|
+
"description": "Update a deal (v2 PATCH — only provided fields change)",
|
|
3043
3692
|
"examples": [
|
|
3044
|
-
"<%= config.bin %>
|
|
3693
|
+
"<%= config.bin %> deal update 42 --stage 5",
|
|
3694
|
+
"<%= config.bin %> deal update 42 --status won",
|
|
3695
|
+
"<%= config.bin %> deal update 42 --field \"Deal Size=Large\""
|
|
3045
3696
|
],
|
|
3046
3697
|
"flags": {
|
|
3047
3698
|
"output": {
|
|
@@ -3075,6 +3726,13 @@
|
|
|
3075
3726
|
"multiple": false,
|
|
3076
3727
|
"type": "option"
|
|
3077
3728
|
},
|
|
3729
|
+
"resolve-fields": {
|
|
3730
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
3731
|
+
"helpGroup": "GLOBAL",
|
|
3732
|
+
"name": "resolve-fields",
|
|
3733
|
+
"allowNo": false,
|
|
3734
|
+
"type": "boolean"
|
|
3735
|
+
},
|
|
3078
3736
|
"profile": {
|
|
3079
3737
|
"description": "Named auth profile to use",
|
|
3080
3738
|
"env": "PDCLI_PROFILE",
|
|
@@ -3120,43 +3778,146 @@
|
|
|
3120
3778
|
"hasDynamicHelp": false,
|
|
3121
3779
|
"multiple": false,
|
|
3122
3780
|
"type": "option"
|
|
3781
|
+
},
|
|
3782
|
+
"title": {
|
|
3783
|
+
"description": "Deal title",
|
|
3784
|
+
"name": "title",
|
|
3785
|
+
"hasDynamicHelp": false,
|
|
3786
|
+
"multiple": false,
|
|
3787
|
+
"type": "option"
|
|
3788
|
+
},
|
|
3789
|
+
"value": {
|
|
3790
|
+
"description": "Deal value",
|
|
3791
|
+
"name": "value",
|
|
3792
|
+
"hasDynamicHelp": false,
|
|
3793
|
+
"multiple": false,
|
|
3794
|
+
"type": "option"
|
|
3795
|
+
},
|
|
3796
|
+
"currency": {
|
|
3797
|
+
"description": "Deal currency (e.g. EUR)",
|
|
3798
|
+
"name": "currency",
|
|
3799
|
+
"hasDynamicHelp": false,
|
|
3800
|
+
"multiple": false,
|
|
3801
|
+
"type": "option"
|
|
3802
|
+
},
|
|
3803
|
+
"status": {
|
|
3804
|
+
"description": "Deal status",
|
|
3805
|
+
"name": "status",
|
|
3806
|
+
"hasDynamicHelp": false,
|
|
3807
|
+
"multiple": false,
|
|
3808
|
+
"options": [
|
|
3809
|
+
"open",
|
|
3810
|
+
"won",
|
|
3811
|
+
"lost"
|
|
3812
|
+
],
|
|
3813
|
+
"type": "option"
|
|
3814
|
+
},
|
|
3815
|
+
"stage": {
|
|
3816
|
+
"description": "Stage ID",
|
|
3817
|
+
"name": "stage",
|
|
3818
|
+
"hasDynamicHelp": false,
|
|
3819
|
+
"multiple": false,
|
|
3820
|
+
"type": "option"
|
|
3821
|
+
},
|
|
3822
|
+
"pipeline": {
|
|
3823
|
+
"description": "Pipeline ID",
|
|
3824
|
+
"name": "pipeline",
|
|
3825
|
+
"hasDynamicHelp": false,
|
|
3826
|
+
"multiple": false,
|
|
3827
|
+
"type": "option"
|
|
3828
|
+
},
|
|
3829
|
+
"person": {
|
|
3830
|
+
"description": "Linked person ID",
|
|
3831
|
+
"name": "person",
|
|
3832
|
+
"hasDynamicHelp": false,
|
|
3833
|
+
"multiple": false,
|
|
3834
|
+
"type": "option"
|
|
3835
|
+
},
|
|
3836
|
+
"org": {
|
|
3837
|
+
"description": "Linked organization ID",
|
|
3838
|
+
"name": "org",
|
|
3839
|
+
"hasDynamicHelp": false,
|
|
3840
|
+
"multiple": false,
|
|
3841
|
+
"type": "option"
|
|
3842
|
+
},
|
|
3843
|
+
"owner": {
|
|
3844
|
+
"description": "Owner (user) ID",
|
|
3845
|
+
"name": "owner",
|
|
3846
|
+
"hasDynamicHelp": false,
|
|
3847
|
+
"multiple": false,
|
|
3848
|
+
"type": "option"
|
|
3849
|
+
},
|
|
3850
|
+
"probability": {
|
|
3851
|
+
"description": "Success probability (0-100)",
|
|
3852
|
+
"name": "probability",
|
|
3853
|
+
"hasDynamicHelp": false,
|
|
3854
|
+
"multiple": false,
|
|
3855
|
+
"type": "option"
|
|
3856
|
+
},
|
|
3857
|
+
"expected-close-date": {
|
|
3858
|
+
"description": "Expected close date (YYYY-MM-DD)",
|
|
3859
|
+
"name": "expected-close-date",
|
|
3860
|
+
"hasDynamicHelp": false,
|
|
3861
|
+
"multiple": false,
|
|
3862
|
+
"type": "option"
|
|
3863
|
+
},
|
|
3864
|
+
"field": {
|
|
3865
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
3866
|
+
"name": "field",
|
|
3867
|
+
"hasDynamicHelp": false,
|
|
3868
|
+
"multiple": true,
|
|
3869
|
+
"type": "option"
|
|
3870
|
+
},
|
|
3871
|
+
"body": {
|
|
3872
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
3873
|
+
"name": "body",
|
|
3874
|
+
"hasDynamicHelp": false,
|
|
3875
|
+
"multiple": false,
|
|
3876
|
+
"type": "option"
|
|
3123
3877
|
}
|
|
3124
3878
|
},
|
|
3125
3879
|
"hasDynamicHelp": false,
|
|
3126
3880
|
"hiddenAliases": [],
|
|
3127
|
-
"id": "
|
|
3881
|
+
"id": "deal:update",
|
|
3128
3882
|
"pluginAlias": "@wavyx/pdcli",
|
|
3129
3883
|
"pluginName": "@wavyx/pdcli",
|
|
3130
3884
|
"pluginType": "core",
|
|
3131
3885
|
"strict": true,
|
|
3132
3886
|
"enableJsonFlag": false,
|
|
3133
|
-
"skipAuth": true,
|
|
3134
3887
|
"isESM": true,
|
|
3135
3888
|
"relativePath": [
|
|
3136
3889
|
"src",
|
|
3137
3890
|
"commands",
|
|
3138
|
-
"
|
|
3139
|
-
"
|
|
3891
|
+
"deal",
|
|
3892
|
+
"update.js"
|
|
3140
3893
|
]
|
|
3141
3894
|
},
|
|
3142
|
-
"
|
|
3895
|
+
"field:get": {
|
|
3143
3896
|
"aliases": [],
|
|
3144
3897
|
"args": {
|
|
3145
|
-
"
|
|
3146
|
-
"description": "
|
|
3147
|
-
"name": "
|
|
3898
|
+
"entity": {
|
|
3899
|
+
"description": "Entity type",
|
|
3900
|
+
"name": "entity",
|
|
3901
|
+
"options": [
|
|
3902
|
+
"deal",
|
|
3903
|
+
"person",
|
|
3904
|
+
"org",
|
|
3905
|
+
"organization",
|
|
3906
|
+
"product",
|
|
3907
|
+
"activity"
|
|
3908
|
+
],
|
|
3148
3909
|
"required": true
|
|
3149
3910
|
},
|
|
3150
|
-
"
|
|
3151
|
-
"description": "
|
|
3152
|
-
"name": "
|
|
3911
|
+
"field": {
|
|
3912
|
+
"description": "Field name (human label) or hashed key",
|
|
3913
|
+
"name": "field",
|
|
3153
3914
|
"required": true
|
|
3154
3915
|
}
|
|
3155
3916
|
},
|
|
3156
|
-
"description": "
|
|
3917
|
+
"description": "Show one field by human name or hashed key",
|
|
3157
3918
|
"examples": [
|
|
3158
|
-
"<%= config.bin %>
|
|
3159
|
-
"<%= config.bin %>
|
|
3919
|
+
"<%= config.bin %> field get deal \"Deal Size\"",
|
|
3920
|
+
"<%= config.bin %> field get deal dcf558aac1ae4e8c4f849ba5e668430d8df9be12"
|
|
3160
3921
|
],
|
|
3161
3922
|
"flags": {
|
|
3162
3923
|
"output": {
|
|
@@ -3190,6 +3951,13 @@
|
|
|
3190
3951
|
"multiple": false,
|
|
3191
3952
|
"type": "option"
|
|
3192
3953
|
},
|
|
3954
|
+
"resolve-fields": {
|
|
3955
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
3956
|
+
"helpGroup": "GLOBAL",
|
|
3957
|
+
"name": "resolve-fields",
|
|
3958
|
+
"allowNo": false,
|
|
3959
|
+
"type": "boolean"
|
|
3960
|
+
},
|
|
3193
3961
|
"profile": {
|
|
3194
3962
|
"description": "Named auth profile to use",
|
|
3195
3963
|
"env": "PDCLI_PROFILE",
|
|
@@ -3239,22 +4007,21 @@
|
|
|
3239
4007
|
},
|
|
3240
4008
|
"hasDynamicHelp": false,
|
|
3241
4009
|
"hiddenAliases": [],
|
|
3242
|
-
"id": "
|
|
4010
|
+
"id": "field:get",
|
|
3243
4011
|
"pluginAlias": "@wavyx/pdcli",
|
|
3244
4012
|
"pluginName": "@wavyx/pdcli",
|
|
3245
4013
|
"pluginType": "core",
|
|
3246
4014
|
"strict": true,
|
|
3247
4015
|
"enableJsonFlag": false,
|
|
3248
|
-
"skipAuth": true,
|
|
3249
4016
|
"isESM": true,
|
|
3250
4017
|
"relativePath": [
|
|
3251
4018
|
"src",
|
|
3252
4019
|
"commands",
|
|
3253
|
-
"
|
|
3254
|
-
"
|
|
4020
|
+
"field",
|
|
4021
|
+
"get.js"
|
|
3255
4022
|
]
|
|
3256
4023
|
},
|
|
3257
|
-
"field:
|
|
4024
|
+
"field:list": {
|
|
3258
4025
|
"aliases": [],
|
|
3259
4026
|
"args": {
|
|
3260
4027
|
"entity": {
|
|
@@ -3269,17 +4036,12 @@
|
|
|
3269
4036
|
"activity"
|
|
3270
4037
|
],
|
|
3271
4038
|
"required": true
|
|
3272
|
-
},
|
|
3273
|
-
"field": {
|
|
3274
|
-
"description": "Field name (human label) or hashed key",
|
|
3275
|
-
"name": "field",
|
|
3276
|
-
"required": true
|
|
3277
4039
|
}
|
|
3278
4040
|
},
|
|
3279
|
-
"description": "
|
|
4041
|
+
"description": "List fields for an entity, including custom-field hash keys",
|
|
3280
4042
|
"examples": [
|
|
3281
|
-
"<%= config.bin %> field
|
|
3282
|
-
"<%= config.bin %> field
|
|
4043
|
+
"<%= config.bin %> field list deal",
|
|
4044
|
+
"<%= config.bin %> field list person --output json"
|
|
3283
4045
|
],
|
|
3284
4046
|
"flags": {
|
|
3285
4047
|
"output": {
|
|
@@ -3313,6 +4075,13 @@
|
|
|
3313
4075
|
"multiple": false,
|
|
3314
4076
|
"type": "option"
|
|
3315
4077
|
},
|
|
4078
|
+
"resolve-fields": {
|
|
4079
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
4080
|
+
"helpGroup": "GLOBAL",
|
|
4081
|
+
"name": "resolve-fields",
|
|
4082
|
+
"allowNo": false,
|
|
4083
|
+
"type": "boolean"
|
|
4084
|
+
},
|
|
3316
4085
|
"profile": {
|
|
3317
4086
|
"description": "Named auth profile to use",
|
|
3318
4087
|
"env": "PDCLI_PROFILE",
|
|
@@ -3362,7 +4131,7 @@
|
|
|
3362
4131
|
},
|
|
3363
4132
|
"hasDynamicHelp": false,
|
|
3364
4133
|
"hiddenAliases": [],
|
|
3365
|
-
"id": "field:
|
|
4134
|
+
"id": "field:list",
|
|
3366
4135
|
"pluginAlias": "@wavyx/pdcli",
|
|
3367
4136
|
"pluginName": "@wavyx/pdcli",
|
|
3368
4137
|
"pluginType": "core",
|
|
@@ -3373,30 +4142,22 @@
|
|
|
3373
4142
|
"src",
|
|
3374
4143
|
"commands",
|
|
3375
4144
|
"field",
|
|
3376
|
-
"
|
|
4145
|
+
"list.js"
|
|
3377
4146
|
]
|
|
3378
4147
|
},
|
|
3379
|
-
"
|
|
4148
|
+
"file:download": {
|
|
3380
4149
|
"aliases": [],
|
|
3381
4150
|
"args": {
|
|
3382
|
-
"
|
|
3383
|
-
"description": "
|
|
3384
|
-
"name": "
|
|
3385
|
-
"options": [
|
|
3386
|
-
"deal",
|
|
3387
|
-
"person",
|
|
3388
|
-
"org",
|
|
3389
|
-
"organization",
|
|
3390
|
-
"product",
|
|
3391
|
-
"activity"
|
|
3392
|
-
],
|
|
4151
|
+
"id": {
|
|
4152
|
+
"description": "File ID",
|
|
4153
|
+
"name": "id",
|
|
3393
4154
|
"required": true
|
|
3394
4155
|
}
|
|
3395
4156
|
},
|
|
3396
|
-
"description": "
|
|
4157
|
+
"description": "Download a file by ID",
|
|
3397
4158
|
"examples": [
|
|
3398
|
-
"<%= config.bin %>
|
|
3399
|
-
"<%= config.bin %>
|
|
4159
|
+
"<%= config.bin %> file download 5",
|
|
4160
|
+
"<%= config.bin %> file download 5 --out ./report.pdf"
|
|
3400
4161
|
],
|
|
3401
4162
|
"flags": {
|
|
3402
4163
|
"output": {
|
|
@@ -3430,6 +4191,13 @@
|
|
|
3430
4191
|
"multiple": false,
|
|
3431
4192
|
"type": "option"
|
|
3432
4193
|
},
|
|
4194
|
+
"resolve-fields": {
|
|
4195
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
4196
|
+
"helpGroup": "GLOBAL",
|
|
4197
|
+
"name": "resolve-fields",
|
|
4198
|
+
"allowNo": false,
|
|
4199
|
+
"type": "boolean"
|
|
4200
|
+
},
|
|
3433
4201
|
"profile": {
|
|
3434
4202
|
"description": "Named auth profile to use",
|
|
3435
4203
|
"env": "PDCLI_PROFILE",
|
|
@@ -3475,11 +4243,18 @@
|
|
|
3475
4243
|
"hasDynamicHelp": false,
|
|
3476
4244
|
"multiple": false,
|
|
3477
4245
|
"type": "option"
|
|
4246
|
+
},
|
|
4247
|
+
"out": {
|
|
4248
|
+
"description": "Path to write to (default: file name)",
|
|
4249
|
+
"name": "out",
|
|
4250
|
+
"hasDynamicHelp": false,
|
|
4251
|
+
"multiple": false,
|
|
4252
|
+
"type": "option"
|
|
3478
4253
|
}
|
|
3479
4254
|
},
|
|
3480
4255
|
"hasDynamicHelp": false,
|
|
3481
4256
|
"hiddenAliases": [],
|
|
3482
|
-
"id": "
|
|
4257
|
+
"id": "file:download",
|
|
3483
4258
|
"pluginAlias": "@wavyx/pdcli",
|
|
3484
4259
|
"pluginName": "@wavyx/pdcli",
|
|
3485
4260
|
"pluginType": "core",
|
|
@@ -3489,11 +4264,11 @@
|
|
|
3489
4264
|
"relativePath": [
|
|
3490
4265
|
"src",
|
|
3491
4266
|
"commands",
|
|
3492
|
-
"
|
|
3493
|
-
"
|
|
4267
|
+
"file",
|
|
4268
|
+
"download.js"
|
|
3494
4269
|
]
|
|
3495
4270
|
},
|
|
3496
|
-
"file:
|
|
4271
|
+
"file:get": {
|
|
3497
4272
|
"aliases": [],
|
|
3498
4273
|
"args": {
|
|
3499
4274
|
"id": {
|
|
@@ -3502,10 +4277,10 @@
|
|
|
3502
4277
|
"required": true
|
|
3503
4278
|
}
|
|
3504
4279
|
},
|
|
3505
|
-
"description": "
|
|
4280
|
+
"description": "Get a file by ID",
|
|
3506
4281
|
"examples": [
|
|
3507
|
-
"<%= config.bin %> file
|
|
3508
|
-
"<%= config.bin %> file
|
|
4282
|
+
"<%= config.bin %> file get 5",
|
|
4283
|
+
"<%= config.bin %> file get 5 --output json"
|
|
3509
4284
|
],
|
|
3510
4285
|
"flags": {
|
|
3511
4286
|
"output": {
|
|
@@ -3539,6 +4314,13 @@
|
|
|
3539
4314
|
"multiple": false,
|
|
3540
4315
|
"type": "option"
|
|
3541
4316
|
},
|
|
4317
|
+
"resolve-fields": {
|
|
4318
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
4319
|
+
"helpGroup": "GLOBAL",
|
|
4320
|
+
"name": "resolve-fields",
|
|
4321
|
+
"allowNo": false,
|
|
4322
|
+
"type": "boolean"
|
|
4323
|
+
},
|
|
3542
4324
|
"profile": {
|
|
3543
4325
|
"description": "Named auth profile to use",
|
|
3544
4326
|
"env": "PDCLI_PROFILE",
|
|
@@ -3584,18 +4366,11 @@
|
|
|
3584
4366
|
"hasDynamicHelp": false,
|
|
3585
4367
|
"multiple": false,
|
|
3586
4368
|
"type": "option"
|
|
3587
|
-
},
|
|
3588
|
-
"out": {
|
|
3589
|
-
"description": "Path to write to (default: file name)",
|
|
3590
|
-
"name": "out",
|
|
3591
|
-
"hasDynamicHelp": false,
|
|
3592
|
-
"multiple": false,
|
|
3593
|
-
"type": "option"
|
|
3594
4369
|
}
|
|
3595
4370
|
},
|
|
3596
4371
|
"hasDynamicHelp": false,
|
|
3597
4372
|
"hiddenAliases": [],
|
|
3598
|
-
"id": "file:
|
|
4373
|
+
"id": "file:get",
|
|
3599
4374
|
"pluginAlias": "@wavyx/pdcli",
|
|
3600
4375
|
"pluginName": "@wavyx/pdcli",
|
|
3601
4376
|
"pluginType": "core",
|
|
@@ -3606,22 +4381,16 @@
|
|
|
3606
4381
|
"src",
|
|
3607
4382
|
"commands",
|
|
3608
4383
|
"file",
|
|
3609
|
-
"
|
|
3610
|
-
]
|
|
3611
|
-
},
|
|
3612
|
-
"file:
|
|
3613
|
-
"aliases": [],
|
|
3614
|
-
"args": {
|
|
3615
|
-
|
|
3616
|
-
"description": "File ID",
|
|
3617
|
-
"name": "id",
|
|
3618
|
-
"required": true
|
|
3619
|
-
}
|
|
3620
|
-
},
|
|
3621
|
-
"description": "Get a file by ID",
|
|
4384
|
+
"get.js"
|
|
4385
|
+
]
|
|
4386
|
+
},
|
|
4387
|
+
"file:list": {
|
|
4388
|
+
"aliases": [],
|
|
4389
|
+
"args": {},
|
|
4390
|
+
"description": "List files",
|
|
3622
4391
|
"examples": [
|
|
3623
|
-
"<%= config.bin %> file
|
|
3624
|
-
"<%= config.bin %> file
|
|
4392
|
+
"<%= config.bin %> file list",
|
|
4393
|
+
"<%= config.bin %> file list --limit 50 --output json"
|
|
3625
4394
|
],
|
|
3626
4395
|
"flags": {
|
|
3627
4396
|
"output": {
|
|
@@ -3655,6 +4424,13 @@
|
|
|
3655
4424
|
"multiple": false,
|
|
3656
4425
|
"type": "option"
|
|
3657
4426
|
},
|
|
4427
|
+
"resolve-fields": {
|
|
4428
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
4429
|
+
"helpGroup": "GLOBAL",
|
|
4430
|
+
"name": "resolve-fields",
|
|
4431
|
+
"allowNo": false,
|
|
4432
|
+
"type": "boolean"
|
|
4433
|
+
},
|
|
3658
4434
|
"profile": {
|
|
3659
4435
|
"description": "Named auth profile to use",
|
|
3660
4436
|
"env": "PDCLI_PROFILE",
|
|
@@ -3704,7 +4480,7 @@
|
|
|
3704
4480
|
},
|
|
3705
4481
|
"hasDynamicHelp": false,
|
|
3706
4482
|
"hiddenAliases": [],
|
|
3707
|
-
"id": "file:
|
|
4483
|
+
"id": "file:list",
|
|
3708
4484
|
"pluginAlias": "@wavyx/pdcli",
|
|
3709
4485
|
"pluginName": "@wavyx/pdcli",
|
|
3710
4486
|
"pluginType": "core",
|
|
@@ -3715,16 +4491,16 @@
|
|
|
3715
4491
|
"src",
|
|
3716
4492
|
"commands",
|
|
3717
4493
|
"file",
|
|
3718
|
-
"
|
|
4494
|
+
"list.js"
|
|
3719
4495
|
]
|
|
3720
4496
|
},
|
|
3721
|
-
"file:
|
|
4497
|
+
"file:remote-link": {
|
|
3722
4498
|
"aliases": [],
|
|
3723
4499
|
"args": {},
|
|
3724
|
-
"description": "
|
|
4500
|
+
"description": "Link an existing remote file (Google Drive) to an item",
|
|
3725
4501
|
"examples": [
|
|
3726
|
-
"<%= config.bin %> file
|
|
3727
|
-
"<%= config.bin %> file
|
|
4502
|
+
"<%= config.bin %> file remote-link --deal 42 --remote-id 1AbC",
|
|
4503
|
+
"<%= config.bin %> file remote-link --person 9 --remote-id 1AbC --output json"
|
|
3728
4504
|
],
|
|
3729
4505
|
"flags": {
|
|
3730
4506
|
"output": {
|
|
@@ -3758,6 +4534,13 @@
|
|
|
3758
4534
|
"multiple": false,
|
|
3759
4535
|
"type": "option"
|
|
3760
4536
|
},
|
|
4537
|
+
"resolve-fields": {
|
|
4538
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
4539
|
+
"helpGroup": "GLOBAL",
|
|
4540
|
+
"name": "resolve-fields",
|
|
4541
|
+
"allowNo": false,
|
|
4542
|
+
"type": "boolean"
|
|
4543
|
+
},
|
|
3761
4544
|
"profile": {
|
|
3762
4545
|
"description": "Named auth profile to use",
|
|
3763
4546
|
"env": "PDCLI_PROFILE",
|
|
@@ -3803,11 +4586,51 @@
|
|
|
3803
4586
|
"hasDynamicHelp": false,
|
|
3804
4587
|
"multiple": false,
|
|
3805
4588
|
"type": "option"
|
|
4589
|
+
},
|
|
4590
|
+
"deal": {
|
|
4591
|
+
"description": "Link to a deal ID",
|
|
4592
|
+
"name": "deal",
|
|
4593
|
+
"hasDynamicHelp": false,
|
|
4594
|
+
"multiple": false,
|
|
4595
|
+
"type": "option"
|
|
4596
|
+
},
|
|
4597
|
+
"org": {
|
|
4598
|
+
"description": "Link to an organization ID",
|
|
4599
|
+
"name": "org",
|
|
4600
|
+
"hasDynamicHelp": false,
|
|
4601
|
+
"multiple": false,
|
|
4602
|
+
"type": "option"
|
|
4603
|
+
},
|
|
4604
|
+
"person": {
|
|
4605
|
+
"description": "Link to a person ID",
|
|
4606
|
+
"name": "person",
|
|
4607
|
+
"hasDynamicHelp": false,
|
|
4608
|
+
"multiple": false,
|
|
4609
|
+
"type": "option"
|
|
4610
|
+
},
|
|
4611
|
+
"remote-id": {
|
|
4612
|
+
"description": "ID of the remote file (e.g. Google Drive file ID)",
|
|
4613
|
+
"name": "remote-id",
|
|
4614
|
+
"required": true,
|
|
4615
|
+
"hasDynamicHelp": false,
|
|
4616
|
+
"multiple": false,
|
|
4617
|
+
"type": "option"
|
|
4618
|
+
},
|
|
4619
|
+
"remote-location": {
|
|
4620
|
+
"description": "Remote storage location",
|
|
4621
|
+
"name": "remote-location",
|
|
4622
|
+
"default": "googledrive",
|
|
4623
|
+
"hasDynamicHelp": false,
|
|
4624
|
+
"multiple": false,
|
|
4625
|
+
"options": [
|
|
4626
|
+
"googledrive"
|
|
4627
|
+
],
|
|
4628
|
+
"type": "option"
|
|
3806
4629
|
}
|
|
3807
4630
|
},
|
|
3808
4631
|
"hasDynamicHelp": false,
|
|
3809
4632
|
"hiddenAliases": [],
|
|
3810
|
-
"id": "file:
|
|
4633
|
+
"id": "file:remote-link",
|
|
3811
4634
|
"pluginAlias": "@wavyx/pdcli",
|
|
3812
4635
|
"pluginName": "@wavyx/pdcli",
|
|
3813
4636
|
"pluginType": "core",
|
|
@@ -3818,7 +4641,7 @@
|
|
|
3818
4641
|
"src",
|
|
3819
4642
|
"commands",
|
|
3820
4643
|
"file",
|
|
3821
|
-
"
|
|
4644
|
+
"remote-link.js"
|
|
3822
4645
|
]
|
|
3823
4646
|
},
|
|
3824
4647
|
"file:upload": {
|
|
@@ -3867,6 +4690,13 @@
|
|
|
3867
4690
|
"multiple": false,
|
|
3868
4691
|
"type": "option"
|
|
3869
4692
|
},
|
|
4693
|
+
"resolve-fields": {
|
|
4694
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
4695
|
+
"helpGroup": "GLOBAL",
|
|
4696
|
+
"name": "resolve-fields",
|
|
4697
|
+
"allowNo": false,
|
|
4698
|
+
"type": "boolean"
|
|
4699
|
+
},
|
|
3870
4700
|
"profile": {
|
|
3871
4701
|
"description": "Named auth profile to use",
|
|
3872
4702
|
"env": "PDCLI_PROFILE",
|
|
@@ -3997,6 +4827,13 @@
|
|
|
3997
4827
|
"multiple": false,
|
|
3998
4828
|
"type": "option"
|
|
3999
4829
|
},
|
|
4830
|
+
"resolve-fields": {
|
|
4831
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
4832
|
+
"helpGroup": "GLOBAL",
|
|
4833
|
+
"name": "resolve-fields",
|
|
4834
|
+
"allowNo": false,
|
|
4835
|
+
"type": "boolean"
|
|
4836
|
+
},
|
|
4000
4837
|
"profile": {
|
|
4001
4838
|
"description": "Named auth profile to use",
|
|
4002
4839
|
"env": "PDCLI_PROFILE",
|
|
@@ -4100,6 +4937,13 @@
|
|
|
4100
4937
|
"multiple": false,
|
|
4101
4938
|
"type": "option"
|
|
4102
4939
|
},
|
|
4940
|
+
"resolve-fields": {
|
|
4941
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
4942
|
+
"helpGroup": "GLOBAL",
|
|
4943
|
+
"name": "resolve-fields",
|
|
4944
|
+
"allowNo": false,
|
|
4945
|
+
"type": "boolean"
|
|
4946
|
+
},
|
|
4103
4947
|
"profile": {
|
|
4104
4948
|
"description": "Named auth profile to use",
|
|
4105
4949
|
"env": "PDCLI_PROFILE",
|
|
@@ -4219,6 +5063,13 @@
|
|
|
4219
5063
|
"multiple": false,
|
|
4220
5064
|
"type": "option"
|
|
4221
5065
|
},
|
|
5066
|
+
"resolve-fields": {
|
|
5067
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
5068
|
+
"helpGroup": "GLOBAL",
|
|
5069
|
+
"name": "resolve-fields",
|
|
5070
|
+
"allowNo": false,
|
|
5071
|
+
"type": "boolean"
|
|
5072
|
+
},
|
|
4222
5073
|
"profile": {
|
|
4223
5074
|
"description": "Named auth profile to use",
|
|
4224
5075
|
"env": "PDCLI_PROFILE",
|
|
@@ -4337,6 +5188,13 @@
|
|
|
4337
5188
|
"multiple": false,
|
|
4338
5189
|
"type": "option"
|
|
4339
5190
|
},
|
|
5191
|
+
"resolve-fields": {
|
|
5192
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
5193
|
+
"helpGroup": "GLOBAL",
|
|
5194
|
+
"name": "resolve-fields",
|
|
5195
|
+
"allowNo": false,
|
|
5196
|
+
"type": "boolean"
|
|
5197
|
+
},
|
|
4340
5198
|
"profile": {
|
|
4341
5199
|
"description": "Named auth profile to use",
|
|
4342
5200
|
"env": "PDCLI_PROFILE",
|
|
@@ -4509,6 +5367,13 @@
|
|
|
4509
5367
|
"multiple": false,
|
|
4510
5368
|
"type": "option"
|
|
4511
5369
|
},
|
|
5370
|
+
"resolve-fields": {
|
|
5371
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
5372
|
+
"helpGroup": "GLOBAL",
|
|
5373
|
+
"name": "resolve-fields",
|
|
5374
|
+
"allowNo": false,
|
|
5375
|
+
"type": "boolean"
|
|
5376
|
+
},
|
|
4512
5377
|
"profile": {
|
|
4513
5378
|
"description": "Named auth profile to use",
|
|
4514
5379
|
"env": "PDCLI_PROFILE",
|
|
@@ -4625,6 +5490,13 @@
|
|
|
4625
5490
|
"multiple": false,
|
|
4626
5491
|
"type": "option"
|
|
4627
5492
|
},
|
|
5493
|
+
"resolve-fields": {
|
|
5494
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
5495
|
+
"helpGroup": "GLOBAL",
|
|
5496
|
+
"name": "resolve-fields",
|
|
5497
|
+
"allowNo": false,
|
|
5498
|
+
"type": "boolean"
|
|
5499
|
+
},
|
|
4628
5500
|
"profile": {
|
|
4629
5501
|
"description": "Named auth profile to use",
|
|
4630
5502
|
"env": "PDCLI_PROFILE",
|
|
@@ -4728,6 +5600,150 @@
|
|
|
4728
5600
|
"multiple": false,
|
|
4729
5601
|
"type": "option"
|
|
4730
5602
|
},
|
|
5603
|
+
"resolve-fields": {
|
|
5604
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
5605
|
+
"helpGroup": "GLOBAL",
|
|
5606
|
+
"name": "resolve-fields",
|
|
5607
|
+
"allowNo": false,
|
|
5608
|
+
"type": "boolean"
|
|
5609
|
+
},
|
|
5610
|
+
"profile": {
|
|
5611
|
+
"description": "Named auth profile to use",
|
|
5612
|
+
"env": "PDCLI_PROFILE",
|
|
5613
|
+
"helpGroup": "GLOBAL",
|
|
5614
|
+
"name": "profile",
|
|
5615
|
+
"hasDynamicHelp": false,
|
|
5616
|
+
"multiple": false,
|
|
5617
|
+
"type": "option"
|
|
5618
|
+
},
|
|
5619
|
+
"no-color": {
|
|
5620
|
+
"description": "Disable color output",
|
|
5621
|
+
"helpGroup": "GLOBAL",
|
|
5622
|
+
"name": "no-color",
|
|
5623
|
+
"allowNo": false,
|
|
5624
|
+
"type": "boolean"
|
|
5625
|
+
},
|
|
5626
|
+
"verbose": {
|
|
5627
|
+
"description": "Show detailed API request/response on errors",
|
|
5628
|
+
"helpGroup": "GLOBAL",
|
|
5629
|
+
"name": "verbose",
|
|
5630
|
+
"allowNo": false,
|
|
5631
|
+
"type": "boolean"
|
|
5632
|
+
},
|
|
5633
|
+
"no-retry": {
|
|
5634
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
5635
|
+
"helpGroup": "GLOBAL",
|
|
5636
|
+
"name": "no-retry",
|
|
5637
|
+
"allowNo": false,
|
|
5638
|
+
"type": "boolean"
|
|
5639
|
+
},
|
|
5640
|
+
"timeout": {
|
|
5641
|
+
"description": "Request timeout in milliseconds",
|
|
5642
|
+
"helpGroup": "GLOBAL",
|
|
5643
|
+
"name": "timeout",
|
|
5644
|
+
"hasDynamicHelp": false,
|
|
5645
|
+
"multiple": false,
|
|
5646
|
+
"type": "option"
|
|
5647
|
+
},
|
|
5648
|
+
"limit": {
|
|
5649
|
+
"description": "Maximum number of items to return (lists)",
|
|
5650
|
+
"helpGroup": "GLOBAL",
|
|
5651
|
+
"name": "limit",
|
|
5652
|
+
"hasDynamicHelp": false,
|
|
5653
|
+
"multiple": false,
|
|
5654
|
+
"type": "option"
|
|
5655
|
+
},
|
|
5656
|
+
"owner": {
|
|
5657
|
+
"description": "Filter by owner (user) ID",
|
|
5658
|
+
"name": "owner",
|
|
5659
|
+
"hasDynamicHelp": false,
|
|
5660
|
+
"multiple": false,
|
|
5661
|
+
"type": "option"
|
|
5662
|
+
},
|
|
5663
|
+
"person": {
|
|
5664
|
+
"description": "Filter by person ID",
|
|
5665
|
+
"name": "person",
|
|
5666
|
+
"hasDynamicHelp": false,
|
|
5667
|
+
"multiple": false,
|
|
5668
|
+
"type": "option"
|
|
5669
|
+
},
|
|
5670
|
+
"org": {
|
|
5671
|
+
"description": "Filter by organization ID",
|
|
5672
|
+
"name": "org",
|
|
5673
|
+
"hasDynamicHelp": false,
|
|
5674
|
+
"multiple": false,
|
|
5675
|
+
"type": "option"
|
|
5676
|
+
}
|
|
5677
|
+
},
|
|
5678
|
+
"hasDynamicHelp": false,
|
|
5679
|
+
"hiddenAliases": [],
|
|
5680
|
+
"id": "lead:list",
|
|
5681
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
5682
|
+
"pluginName": "@wavyx/pdcli",
|
|
5683
|
+
"pluginType": "core",
|
|
5684
|
+
"strict": true,
|
|
5685
|
+
"enableJsonFlag": false,
|
|
5686
|
+
"isESM": true,
|
|
5687
|
+
"relativePath": [
|
|
5688
|
+
"src",
|
|
5689
|
+
"commands",
|
|
5690
|
+
"lead",
|
|
5691
|
+
"list.js"
|
|
5692
|
+
]
|
|
5693
|
+
},
|
|
5694
|
+
"lead:update": {
|
|
5695
|
+
"aliases": [],
|
|
5696
|
+
"args": {
|
|
5697
|
+
"id": {
|
|
5698
|
+
"description": "Lead ID (UUID)",
|
|
5699
|
+
"name": "id",
|
|
5700
|
+
"required": true
|
|
5701
|
+
}
|
|
5702
|
+
},
|
|
5703
|
+
"description": "Update a lead (v1 PATCH — only provided fields change)",
|
|
5704
|
+
"examples": [
|
|
5705
|
+
"<%= config.bin %> lead update adf21080-0e10-11eb-879b-05d71fb426ec --title \"Renamed\"",
|
|
5706
|
+
"<%= config.bin %> lead update adf21080-0e10-11eb-879b-05d71fb426ec --value 7500 --currency USD"
|
|
5707
|
+
],
|
|
5708
|
+
"flags": {
|
|
5709
|
+
"output": {
|
|
5710
|
+
"char": "o",
|
|
5711
|
+
"description": "Output format",
|
|
5712
|
+
"helpGroup": "GLOBAL",
|
|
5713
|
+
"name": "output",
|
|
5714
|
+
"hasDynamicHelp": false,
|
|
5715
|
+
"multiple": false,
|
|
5716
|
+
"options": [
|
|
5717
|
+
"table",
|
|
5718
|
+
"json",
|
|
5719
|
+
"yaml",
|
|
5720
|
+
"csv"
|
|
5721
|
+
],
|
|
5722
|
+
"type": "option"
|
|
5723
|
+
},
|
|
5724
|
+
"jq": {
|
|
5725
|
+
"description": "jq expression to filter JSON output",
|
|
5726
|
+
"helpGroup": "GLOBAL",
|
|
5727
|
+
"name": "jq",
|
|
5728
|
+
"hasDynamicHelp": false,
|
|
5729
|
+
"multiple": false,
|
|
5730
|
+
"type": "option"
|
|
5731
|
+
},
|
|
5732
|
+
"fields": {
|
|
5733
|
+
"description": "Comma-separated fields to display",
|
|
5734
|
+
"helpGroup": "GLOBAL",
|
|
5735
|
+
"name": "fields",
|
|
5736
|
+
"hasDynamicHelp": false,
|
|
5737
|
+
"multiple": false,
|
|
5738
|
+
"type": "option"
|
|
5739
|
+
},
|
|
5740
|
+
"resolve-fields": {
|
|
5741
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
5742
|
+
"helpGroup": "GLOBAL",
|
|
5743
|
+
"name": "resolve-fields",
|
|
5744
|
+
"allowNo": false,
|
|
5745
|
+
"type": "boolean"
|
|
5746
|
+
},
|
|
4731
5747
|
"profile": {
|
|
4732
5748
|
"description": "Named auth profile to use",
|
|
4733
5749
|
"env": "PDCLI_PROFILE",
|
|
@@ -4766,31 +5782,72 @@
|
|
|
4766
5782
|
"multiple": false,
|
|
4767
5783
|
"type": "option"
|
|
4768
5784
|
},
|
|
4769
|
-
"limit": {
|
|
4770
|
-
"description": "Maximum number of items to return (lists)",
|
|
4771
|
-
"helpGroup": "GLOBAL",
|
|
4772
|
-
"name": "limit",
|
|
5785
|
+
"limit": {
|
|
5786
|
+
"description": "Maximum number of items to return (lists)",
|
|
5787
|
+
"helpGroup": "GLOBAL",
|
|
5788
|
+
"name": "limit",
|
|
5789
|
+
"hasDynamicHelp": false,
|
|
5790
|
+
"multiple": false,
|
|
5791
|
+
"type": "option"
|
|
5792
|
+
},
|
|
5793
|
+
"title": {
|
|
5794
|
+
"description": "Lead title",
|
|
5795
|
+
"name": "title",
|
|
5796
|
+
"hasDynamicHelp": false,
|
|
5797
|
+
"multiple": false,
|
|
5798
|
+
"type": "option"
|
|
5799
|
+
},
|
|
5800
|
+
"person": {
|
|
5801
|
+
"description": "Linked person ID",
|
|
5802
|
+
"name": "person",
|
|
5803
|
+
"hasDynamicHelp": false,
|
|
5804
|
+
"multiple": false,
|
|
5805
|
+
"type": "option"
|
|
5806
|
+
},
|
|
5807
|
+
"org": {
|
|
5808
|
+
"description": "Linked organization ID",
|
|
5809
|
+
"name": "org",
|
|
5810
|
+
"hasDynamicHelp": false,
|
|
5811
|
+
"multiple": false,
|
|
5812
|
+
"type": "option"
|
|
5813
|
+
},
|
|
5814
|
+
"owner": {
|
|
5815
|
+
"description": "Owner (user) ID",
|
|
5816
|
+
"name": "owner",
|
|
5817
|
+
"hasDynamicHelp": false,
|
|
5818
|
+
"multiple": false,
|
|
5819
|
+
"type": "option"
|
|
5820
|
+
},
|
|
5821
|
+
"value": {
|
|
5822
|
+
"dependsOn": [
|
|
5823
|
+
"currency"
|
|
5824
|
+
],
|
|
5825
|
+
"description": "Lead value amount (requires --currency)",
|
|
5826
|
+
"name": "value",
|
|
4773
5827
|
"hasDynamicHelp": false,
|
|
4774
5828
|
"multiple": false,
|
|
4775
5829
|
"type": "option"
|
|
4776
5830
|
},
|
|
4777
|
-
"
|
|
4778
|
-
"
|
|
4779
|
-
|
|
5831
|
+
"currency": {
|
|
5832
|
+
"dependsOn": [
|
|
5833
|
+
"value"
|
|
5834
|
+
],
|
|
5835
|
+
"description": "Lead value currency (requires --value)",
|
|
5836
|
+
"name": "currency",
|
|
4780
5837
|
"hasDynamicHelp": false,
|
|
4781
5838
|
"multiple": false,
|
|
4782
5839
|
"type": "option"
|
|
4783
5840
|
},
|
|
4784
|
-
"
|
|
4785
|
-
"description": "
|
|
4786
|
-
"name": "
|
|
5841
|
+
"expected-close-date": {
|
|
5842
|
+
"description": "Expected close date (YYYY-MM-DD)",
|
|
5843
|
+
"name": "expected-close-date",
|
|
4787
5844
|
"hasDynamicHelp": false,
|
|
4788
5845
|
"multiple": false,
|
|
4789
5846
|
"type": "option"
|
|
4790
5847
|
},
|
|
4791
|
-
"
|
|
4792
|
-
"description": "
|
|
4793
|
-
"name": "
|
|
5848
|
+
"body": {
|
|
5849
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
5850
|
+
"name": "body",
|
|
4794
5851
|
"hasDynamicHelp": false,
|
|
4795
5852
|
"multiple": false,
|
|
4796
5853
|
"type": "option"
|
|
@@ -4798,7 +5855,7 @@
|
|
|
4798
5855
|
},
|
|
4799
5856
|
"hasDynamicHelp": false,
|
|
4800
5857
|
"hiddenAliases": [],
|
|
4801
|
-
"id": "lead:
|
|
5858
|
+
"id": "lead:update",
|
|
4802
5859
|
"pluginAlias": "@wavyx/pdcli",
|
|
4803
5860
|
"pluginName": "@wavyx/pdcli",
|
|
4804
5861
|
"pluginType": "core",
|
|
@@ -4809,22 +5866,18 @@
|
|
|
4809
5866
|
"src",
|
|
4810
5867
|
"commands",
|
|
4811
5868
|
"lead",
|
|
4812
|
-
"
|
|
5869
|
+
"update.js"
|
|
4813
5870
|
]
|
|
4814
5871
|
},
|
|
4815
|
-
"
|
|
5872
|
+
"metrics:coverage": {
|
|
4816
5873
|
"aliases": [],
|
|
4817
|
-
"args": {
|
|
4818
|
-
|
|
4819
|
-
"description": "Lead ID (UUID)",
|
|
4820
|
-
"name": "id",
|
|
4821
|
-
"required": true
|
|
4822
|
-
}
|
|
4823
|
-
},
|
|
4824
|
-
"description": "Update a lead (v1 PATCH — only provided fields change)",
|
|
5874
|
+
"args": {},
|
|
5875
|
+
"description": "Pipeline coverage: probability-weighted open pipeline vs the revenue still needed to hit quota",
|
|
4825
5876
|
"examples": [
|
|
4826
|
-
"<%= config.bin %>
|
|
4827
|
-
"<%= config.bin %>
|
|
5877
|
+
"<%= config.bin %> metrics coverage",
|
|
5878
|
+
"<%= config.bin %> metrics coverage --pipeline 1",
|
|
5879
|
+
"<%= config.bin %> metrics coverage --target 250000",
|
|
5880
|
+
"<%= config.bin %> metrics coverage --period 1m --output json"
|
|
4828
5881
|
],
|
|
4829
5882
|
"flags": {
|
|
4830
5883
|
"output": {
|
|
@@ -4858,6 +5911,13 @@
|
|
|
4858
5911
|
"multiple": false,
|
|
4859
5912
|
"type": "option"
|
|
4860
5913
|
},
|
|
5914
|
+
"resolve-fields": {
|
|
5915
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
5916
|
+
"helpGroup": "GLOBAL",
|
|
5917
|
+
"name": "resolve-fields",
|
|
5918
|
+
"allowNo": false,
|
|
5919
|
+
"type": "boolean"
|
|
5920
|
+
},
|
|
4861
5921
|
"profile": {
|
|
4862
5922
|
"description": "Named auth profile to use",
|
|
4863
5923
|
"env": "PDCLI_PROFILE",
|
|
@@ -4904,64 +5964,24 @@
|
|
|
4904
5964
|
"multiple": false,
|
|
4905
5965
|
"type": "option"
|
|
4906
5966
|
},
|
|
4907
|
-
"
|
|
4908
|
-
"description": "
|
|
4909
|
-
"name": "
|
|
4910
|
-
"hasDynamicHelp": false,
|
|
4911
|
-
"multiple": false,
|
|
4912
|
-
"type": "option"
|
|
4913
|
-
},
|
|
4914
|
-
"person": {
|
|
4915
|
-
"description": "Linked person ID",
|
|
4916
|
-
"name": "person",
|
|
4917
|
-
"hasDynamicHelp": false,
|
|
4918
|
-
"multiple": false,
|
|
4919
|
-
"type": "option"
|
|
4920
|
-
},
|
|
4921
|
-
"org": {
|
|
4922
|
-
"description": "Linked organization ID",
|
|
4923
|
-
"name": "org",
|
|
4924
|
-
"hasDynamicHelp": false,
|
|
4925
|
-
"multiple": false,
|
|
4926
|
-
"type": "option"
|
|
4927
|
-
},
|
|
4928
|
-
"owner": {
|
|
4929
|
-
"description": "Owner (user) ID",
|
|
4930
|
-
"name": "owner",
|
|
4931
|
-
"hasDynamicHelp": false,
|
|
4932
|
-
"multiple": false,
|
|
4933
|
-
"type": "option"
|
|
4934
|
-
},
|
|
4935
|
-
"value": {
|
|
4936
|
-
"dependsOn": [
|
|
4937
|
-
"currency"
|
|
4938
|
-
],
|
|
4939
|
-
"description": "Lead value amount (requires --currency)",
|
|
4940
|
-
"name": "value",
|
|
4941
|
-
"hasDynamicHelp": false,
|
|
4942
|
-
"multiple": false,
|
|
4943
|
-
"type": "option"
|
|
4944
|
-
},
|
|
4945
|
-
"currency": {
|
|
4946
|
-
"dependsOn": [
|
|
4947
|
-
"value"
|
|
4948
|
-
],
|
|
4949
|
-
"description": "Lead value currency (requires --value)",
|
|
4950
|
-
"name": "currency",
|
|
5967
|
+
"pipeline": {
|
|
5968
|
+
"description": "Pipeline ID (required when the account has several)",
|
|
5969
|
+
"name": "pipeline",
|
|
4951
5970
|
"hasDynamicHelp": false,
|
|
4952
5971
|
"multiple": false,
|
|
4953
5972
|
"type": "option"
|
|
4954
5973
|
},
|
|
4955
|
-
"
|
|
4956
|
-
"description": "
|
|
4957
|
-
"name": "
|
|
5974
|
+
"period": {
|
|
5975
|
+
"description": "Goal measurement window (Nd or Nm)",
|
|
5976
|
+
"name": "period",
|
|
5977
|
+
"default": "90d",
|
|
4958
5978
|
"hasDynamicHelp": false,
|
|
4959
5979
|
"multiple": false,
|
|
4960
5980
|
"type": "option"
|
|
4961
5981
|
},
|
|
4962
|
-
"
|
|
4963
|
-
"description": "
|
|
4964
|
-
"name": "
|
|
5982
|
+
"target": {
|
|
5983
|
+
"description": "Manual revenue quota override (skips the Goals API entirely)",
|
|
5984
|
+
"name": "target",
|
|
4965
5985
|
"hasDynamicHelp": false,
|
|
4966
5986
|
"multiple": false,
|
|
4967
5987
|
"type": "option"
|
|
@@ -4969,7 +5989,7 @@
|
|
|
4969
5989
|
},
|
|
4970
5990
|
"hasDynamicHelp": false,
|
|
4971
5991
|
"hiddenAliases": [],
|
|
4972
|
-
"id": "
|
|
5992
|
+
"id": "metrics:coverage",
|
|
4973
5993
|
"pluginAlias": "@wavyx/pdcli",
|
|
4974
5994
|
"pluginName": "@wavyx/pdcli",
|
|
4975
5995
|
"pluginType": "core",
|
|
@@ -4979,8 +5999,8 @@
|
|
|
4979
5999
|
"relativePath": [
|
|
4980
6000
|
"src",
|
|
4981
6001
|
"commands",
|
|
4982
|
-
"
|
|
4983
|
-
"
|
|
6002
|
+
"metrics",
|
|
6003
|
+
"coverage.js"
|
|
4984
6004
|
]
|
|
4985
6005
|
},
|
|
4986
6006
|
"metrics:velocity": {
|
|
@@ -5023,6 +6043,13 @@
|
|
|
5023
6043
|
"multiple": false,
|
|
5024
6044
|
"type": "option"
|
|
5025
6045
|
},
|
|
6046
|
+
"resolve-fields": {
|
|
6047
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
6048
|
+
"helpGroup": "GLOBAL",
|
|
6049
|
+
"name": "resolve-fields",
|
|
6050
|
+
"allowNo": false,
|
|
6051
|
+
"type": "boolean"
|
|
6052
|
+
},
|
|
5026
6053
|
"profile": {
|
|
5027
6054
|
"description": "Named auth profile to use",
|
|
5028
6055
|
"env": "PDCLI_PROFILE",
|
|
@@ -5149,6 +6176,13 @@
|
|
|
5149
6176
|
"multiple": false,
|
|
5150
6177
|
"type": "option"
|
|
5151
6178
|
},
|
|
6179
|
+
"resolve-fields": {
|
|
6180
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
6181
|
+
"helpGroup": "GLOBAL",
|
|
6182
|
+
"name": "resolve-fields",
|
|
6183
|
+
"allowNo": false,
|
|
6184
|
+
"type": "boolean"
|
|
6185
|
+
},
|
|
5152
6186
|
"profile": {
|
|
5153
6187
|
"description": "Named auth profile to use",
|
|
5154
6188
|
"env": "PDCLI_PROFILE",
|
|
@@ -5301,6 +6335,13 @@
|
|
|
5301
6335
|
"multiple": false,
|
|
5302
6336
|
"type": "option"
|
|
5303
6337
|
},
|
|
6338
|
+
"resolve-fields": {
|
|
6339
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
6340
|
+
"helpGroup": "GLOBAL",
|
|
6341
|
+
"name": "resolve-fields",
|
|
6342
|
+
"allowNo": false,
|
|
6343
|
+
"type": "boolean"
|
|
6344
|
+
},
|
|
5304
6345
|
"profile": {
|
|
5305
6346
|
"description": "Named auth profile to use",
|
|
5306
6347
|
"env": "PDCLI_PROFILE",
|
|
@@ -5417,6 +6458,13 @@
|
|
|
5417
6458
|
"multiple": false,
|
|
5418
6459
|
"type": "option"
|
|
5419
6460
|
},
|
|
6461
|
+
"resolve-fields": {
|
|
6462
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
6463
|
+
"helpGroup": "GLOBAL",
|
|
6464
|
+
"name": "resolve-fields",
|
|
6465
|
+
"allowNo": false,
|
|
6466
|
+
"type": "boolean"
|
|
6467
|
+
},
|
|
5420
6468
|
"profile": {
|
|
5421
6469
|
"description": "Named auth profile to use",
|
|
5422
6470
|
"env": "PDCLI_PROFILE",
|
|
@@ -5520,6 +6568,13 @@
|
|
|
5520
6568
|
"multiple": false,
|
|
5521
6569
|
"type": "option"
|
|
5522
6570
|
},
|
|
6571
|
+
"resolve-fields": {
|
|
6572
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
6573
|
+
"helpGroup": "GLOBAL",
|
|
6574
|
+
"name": "resolve-fields",
|
|
6575
|
+
"allowNo": false,
|
|
6576
|
+
"type": "boolean"
|
|
6577
|
+
},
|
|
5523
6578
|
"profile": {
|
|
5524
6579
|
"description": "Named auth profile to use",
|
|
5525
6580
|
"env": "PDCLI_PROFILE",
|
|
@@ -5650,6 +6705,13 @@
|
|
|
5650
6705
|
"multiple": false,
|
|
5651
6706
|
"type": "option"
|
|
5652
6707
|
},
|
|
6708
|
+
"resolve-fields": {
|
|
6709
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
6710
|
+
"helpGroup": "GLOBAL",
|
|
6711
|
+
"name": "resolve-fields",
|
|
6712
|
+
"allowNo": false,
|
|
6713
|
+
"type": "boolean"
|
|
6714
|
+
},
|
|
5653
6715
|
"profile": {
|
|
5654
6716
|
"description": "Named auth profile to use",
|
|
5655
6717
|
"env": "PDCLI_PROFILE",
|
|
@@ -5768,6 +6830,13 @@
|
|
|
5768
6830
|
"multiple": false,
|
|
5769
6831
|
"type": "option"
|
|
5770
6832
|
},
|
|
6833
|
+
"resolve-fields": {
|
|
6834
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
6835
|
+
"helpGroup": "GLOBAL",
|
|
6836
|
+
"name": "resolve-fields",
|
|
6837
|
+
"allowNo": false,
|
|
6838
|
+
"type": "boolean"
|
|
6839
|
+
},
|
|
5771
6840
|
"profile": {
|
|
5772
6841
|
"description": "Named auth profile to use",
|
|
5773
6842
|
"env": "PDCLI_PROFILE",
|
|
@@ -5927,6 +6996,13 @@
|
|
|
5927
6996
|
"multiple": false,
|
|
5928
6997
|
"type": "option"
|
|
5929
6998
|
},
|
|
6999
|
+
"resolve-fields": {
|
|
7000
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
7001
|
+
"helpGroup": "GLOBAL",
|
|
7002
|
+
"name": "resolve-fields",
|
|
7003
|
+
"allowNo": false,
|
|
7004
|
+
"type": "boolean"
|
|
7005
|
+
},
|
|
5930
7006
|
"profile": {
|
|
5931
7007
|
"description": "Named auth profile to use",
|
|
5932
7008
|
"env": "PDCLI_PROFILE",
|
|
@@ -5983,7 +7059,123 @@
|
|
|
5983
7059
|
},
|
|
5984
7060
|
"hasDynamicHelp": false,
|
|
5985
7061
|
"hiddenAliases": [],
|
|
5986
|
-
"id": "person:delete",
|
|
7062
|
+
"id": "person:delete",
|
|
7063
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
7064
|
+
"pluginName": "@wavyx/pdcli",
|
|
7065
|
+
"pluginType": "core",
|
|
7066
|
+
"strict": true,
|
|
7067
|
+
"enableJsonFlag": false,
|
|
7068
|
+
"isESM": true,
|
|
7069
|
+
"relativePath": [
|
|
7070
|
+
"src",
|
|
7071
|
+
"commands",
|
|
7072
|
+
"person",
|
|
7073
|
+
"delete.js"
|
|
7074
|
+
]
|
|
7075
|
+
},
|
|
7076
|
+
"person:get": {
|
|
7077
|
+
"aliases": [],
|
|
7078
|
+
"args": {
|
|
7079
|
+
"id": {
|
|
7080
|
+
"description": "Person ID",
|
|
7081
|
+
"name": "id",
|
|
7082
|
+
"required": true
|
|
7083
|
+
}
|
|
7084
|
+
},
|
|
7085
|
+
"description": "Get a person by ID",
|
|
7086
|
+
"examples": [
|
|
7087
|
+
"<%= config.bin %> person get 5",
|
|
7088
|
+
"<%= config.bin %> person get 5 --output json"
|
|
7089
|
+
],
|
|
7090
|
+
"flags": {
|
|
7091
|
+
"output": {
|
|
7092
|
+
"char": "o",
|
|
7093
|
+
"description": "Output format",
|
|
7094
|
+
"helpGroup": "GLOBAL",
|
|
7095
|
+
"name": "output",
|
|
7096
|
+
"hasDynamicHelp": false,
|
|
7097
|
+
"multiple": false,
|
|
7098
|
+
"options": [
|
|
7099
|
+
"table",
|
|
7100
|
+
"json",
|
|
7101
|
+
"yaml",
|
|
7102
|
+
"csv"
|
|
7103
|
+
],
|
|
7104
|
+
"type": "option"
|
|
7105
|
+
},
|
|
7106
|
+
"jq": {
|
|
7107
|
+
"description": "jq expression to filter JSON output",
|
|
7108
|
+
"helpGroup": "GLOBAL",
|
|
7109
|
+
"name": "jq",
|
|
7110
|
+
"hasDynamicHelp": false,
|
|
7111
|
+
"multiple": false,
|
|
7112
|
+
"type": "option"
|
|
7113
|
+
},
|
|
7114
|
+
"fields": {
|
|
7115
|
+
"description": "Comma-separated fields to display",
|
|
7116
|
+
"helpGroup": "GLOBAL",
|
|
7117
|
+
"name": "fields",
|
|
7118
|
+
"hasDynamicHelp": false,
|
|
7119
|
+
"multiple": false,
|
|
7120
|
+
"type": "option"
|
|
7121
|
+
},
|
|
7122
|
+
"resolve-fields": {
|
|
7123
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
7124
|
+
"helpGroup": "GLOBAL",
|
|
7125
|
+
"name": "resolve-fields",
|
|
7126
|
+
"allowNo": false,
|
|
7127
|
+
"type": "boolean"
|
|
7128
|
+
},
|
|
7129
|
+
"profile": {
|
|
7130
|
+
"description": "Named auth profile to use",
|
|
7131
|
+
"env": "PDCLI_PROFILE",
|
|
7132
|
+
"helpGroup": "GLOBAL",
|
|
7133
|
+
"name": "profile",
|
|
7134
|
+
"hasDynamicHelp": false,
|
|
7135
|
+
"multiple": false,
|
|
7136
|
+
"type": "option"
|
|
7137
|
+
},
|
|
7138
|
+
"no-color": {
|
|
7139
|
+
"description": "Disable color output",
|
|
7140
|
+
"helpGroup": "GLOBAL",
|
|
7141
|
+
"name": "no-color",
|
|
7142
|
+
"allowNo": false,
|
|
7143
|
+
"type": "boolean"
|
|
7144
|
+
},
|
|
7145
|
+
"verbose": {
|
|
7146
|
+
"description": "Show detailed API request/response on errors",
|
|
7147
|
+
"helpGroup": "GLOBAL",
|
|
7148
|
+
"name": "verbose",
|
|
7149
|
+
"allowNo": false,
|
|
7150
|
+
"type": "boolean"
|
|
7151
|
+
},
|
|
7152
|
+
"no-retry": {
|
|
7153
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
7154
|
+
"helpGroup": "GLOBAL",
|
|
7155
|
+
"name": "no-retry",
|
|
7156
|
+
"allowNo": false,
|
|
7157
|
+
"type": "boolean"
|
|
7158
|
+
},
|
|
7159
|
+
"timeout": {
|
|
7160
|
+
"description": "Request timeout in milliseconds",
|
|
7161
|
+
"helpGroup": "GLOBAL",
|
|
7162
|
+
"name": "timeout",
|
|
7163
|
+
"hasDynamicHelp": false,
|
|
7164
|
+
"multiple": false,
|
|
7165
|
+
"type": "option"
|
|
7166
|
+
},
|
|
7167
|
+
"limit": {
|
|
7168
|
+
"description": "Maximum number of items to return (lists)",
|
|
7169
|
+
"helpGroup": "GLOBAL",
|
|
7170
|
+
"name": "limit",
|
|
7171
|
+
"hasDynamicHelp": false,
|
|
7172
|
+
"multiple": false,
|
|
7173
|
+
"type": "option"
|
|
7174
|
+
}
|
|
7175
|
+
},
|
|
7176
|
+
"hasDynamicHelp": false,
|
|
7177
|
+
"hiddenAliases": [],
|
|
7178
|
+
"id": "person:get",
|
|
5987
7179
|
"pluginAlias": "@wavyx/pdcli",
|
|
5988
7180
|
"pluginName": "@wavyx/pdcli",
|
|
5989
7181
|
"pluginType": "core",
|
|
@@ -5994,22 +7186,22 @@
|
|
|
5994
7186
|
"src",
|
|
5995
7187
|
"commands",
|
|
5996
7188
|
"person",
|
|
5997
|
-
"
|
|
7189
|
+
"get.js"
|
|
5998
7190
|
]
|
|
5999
7191
|
},
|
|
6000
|
-
"person:
|
|
7192
|
+
"person:import": {
|
|
6001
7193
|
"aliases": [],
|
|
6002
7194
|
"args": {
|
|
6003
|
-
"
|
|
6004
|
-
"description": "
|
|
6005
|
-
"name": "
|
|
7195
|
+
"file": {
|
|
7196
|
+
"description": "CSV file path",
|
|
7197
|
+
"name": "file",
|
|
6006
7198
|
"required": true
|
|
6007
7199
|
}
|
|
6008
7200
|
},
|
|
6009
|
-
"description": "
|
|
7201
|
+
"description": "Bulk-create persons from a CSV (headers map to fields, custom fields by name)",
|
|
6010
7202
|
"examples": [
|
|
6011
|
-
"<%= config.bin %> person
|
|
6012
|
-
"<%= config.bin %> person
|
|
7203
|
+
"<%= config.bin %> person import people.csv",
|
|
7204
|
+
"<%= config.bin %> person import people.csv --dry-run"
|
|
6013
7205
|
],
|
|
6014
7206
|
"flags": {
|
|
6015
7207
|
"output": {
|
|
@@ -6043,6 +7235,13 @@
|
|
|
6043
7235
|
"multiple": false,
|
|
6044
7236
|
"type": "option"
|
|
6045
7237
|
},
|
|
7238
|
+
"resolve-fields": {
|
|
7239
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
7240
|
+
"helpGroup": "GLOBAL",
|
|
7241
|
+
"name": "resolve-fields",
|
|
7242
|
+
"allowNo": false,
|
|
7243
|
+
"type": "boolean"
|
|
7244
|
+
},
|
|
6046
7245
|
"profile": {
|
|
6047
7246
|
"description": "Named auth profile to use",
|
|
6048
7247
|
"env": "PDCLI_PROFILE",
|
|
@@ -6088,11 +7287,24 @@
|
|
|
6088
7287
|
"hasDynamicHelp": false,
|
|
6089
7288
|
"multiple": false,
|
|
6090
7289
|
"type": "option"
|
|
7290
|
+
},
|
|
7291
|
+
"dry-run": {
|
|
7292
|
+
"description": "Validate every row without creating anything",
|
|
7293
|
+
"name": "dry-run",
|
|
7294
|
+
"allowNo": false,
|
|
7295
|
+
"type": "boolean"
|
|
7296
|
+
},
|
|
7297
|
+
"yes": {
|
|
7298
|
+
"char": "y",
|
|
7299
|
+
"description": "Skip the confirmation prompt",
|
|
7300
|
+
"name": "yes",
|
|
7301
|
+
"allowNo": false,
|
|
7302
|
+
"type": "boolean"
|
|
6091
7303
|
}
|
|
6092
7304
|
},
|
|
6093
7305
|
"hasDynamicHelp": false,
|
|
6094
7306
|
"hiddenAliases": [],
|
|
6095
|
-
"id": "person:
|
|
7307
|
+
"id": "person:import",
|
|
6096
7308
|
"pluginAlias": "@wavyx/pdcli",
|
|
6097
7309
|
"pluginName": "@wavyx/pdcli",
|
|
6098
7310
|
"pluginType": "core",
|
|
@@ -6103,22 +7315,16 @@
|
|
|
6103
7315
|
"src",
|
|
6104
7316
|
"commands",
|
|
6105
7317
|
"person",
|
|
6106
|
-
"
|
|
7318
|
+
"import.js"
|
|
6107
7319
|
]
|
|
6108
7320
|
},
|
|
6109
|
-
"person:
|
|
7321
|
+
"person:list": {
|
|
6110
7322
|
"aliases": [],
|
|
6111
|
-
"args": {
|
|
6112
|
-
|
|
6113
|
-
"description": "CSV file path",
|
|
6114
|
-
"name": "file",
|
|
6115
|
-
"required": true
|
|
6116
|
-
}
|
|
6117
|
-
},
|
|
6118
|
-
"description": "Bulk-create persons from a CSV (headers map to fields, custom fields by name)",
|
|
7323
|
+
"args": {},
|
|
7324
|
+
"description": "List persons (contacts)",
|
|
6119
7325
|
"examples": [
|
|
6120
|
-
"<%= config.bin %> person
|
|
6121
|
-
"<%= config.bin %> person
|
|
7326
|
+
"<%= config.bin %> person list",
|
|
7327
|
+
"<%= config.bin %> person list --org 7 --output json"
|
|
6122
7328
|
],
|
|
6123
7329
|
"flags": {
|
|
6124
7330
|
"output": {
|
|
@@ -6152,6 +7358,13 @@
|
|
|
6152
7358
|
"multiple": false,
|
|
6153
7359
|
"type": "option"
|
|
6154
7360
|
},
|
|
7361
|
+
"resolve-fields": {
|
|
7362
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
7363
|
+
"helpGroup": "GLOBAL",
|
|
7364
|
+
"name": "resolve-fields",
|
|
7365
|
+
"allowNo": false,
|
|
7366
|
+
"type": "boolean"
|
|
7367
|
+
},
|
|
6155
7368
|
"profile": {
|
|
6156
7369
|
"description": "Named auth profile to use",
|
|
6157
7370
|
"env": "PDCLI_PROFILE",
|
|
@@ -6198,23 +7411,24 @@
|
|
|
6198
7411
|
"multiple": false,
|
|
6199
7412
|
"type": "option"
|
|
6200
7413
|
},
|
|
6201
|
-
"
|
|
6202
|
-
"description": "
|
|
6203
|
-
"name": "
|
|
6204
|
-
"
|
|
6205
|
-
"
|
|
7414
|
+
"owner": {
|
|
7415
|
+
"description": "Filter by owner (user) ID",
|
|
7416
|
+
"name": "owner",
|
|
7417
|
+
"hasDynamicHelp": false,
|
|
7418
|
+
"multiple": false,
|
|
7419
|
+
"type": "option"
|
|
6206
7420
|
},
|
|
6207
|
-
"
|
|
6208
|
-
"
|
|
6209
|
-
"
|
|
6210
|
-
"
|
|
6211
|
-
"
|
|
6212
|
-
"type": "
|
|
7421
|
+
"org": {
|
|
7422
|
+
"description": "Filter by organization ID",
|
|
7423
|
+
"name": "org",
|
|
7424
|
+
"hasDynamicHelp": false,
|
|
7425
|
+
"multiple": false,
|
|
7426
|
+
"type": "option"
|
|
6213
7427
|
}
|
|
6214
7428
|
},
|
|
6215
7429
|
"hasDynamicHelp": false,
|
|
6216
7430
|
"hiddenAliases": [],
|
|
6217
|
-
"id": "person:
|
|
7431
|
+
"id": "person:list",
|
|
6218
7432
|
"pluginAlias": "@wavyx/pdcli",
|
|
6219
7433
|
"pluginName": "@wavyx/pdcli",
|
|
6220
7434
|
"pluginType": "core",
|
|
@@ -6225,16 +7439,22 @@
|
|
|
6225
7439
|
"src",
|
|
6226
7440
|
"commands",
|
|
6227
7441
|
"person",
|
|
6228
|
-
"
|
|
7442
|
+
"list.js"
|
|
6229
7443
|
]
|
|
6230
7444
|
},
|
|
6231
|
-
"person:
|
|
7445
|
+
"person:merge": {
|
|
6232
7446
|
"aliases": [],
|
|
6233
|
-
"args": {
|
|
6234
|
-
|
|
7447
|
+
"args": {
|
|
7448
|
+
"id": {
|
|
7449
|
+
"description": "ID of the person to merge and DELETE (the loser)",
|
|
7450
|
+
"name": "id",
|
|
7451
|
+
"required": true
|
|
7452
|
+
}
|
|
7453
|
+
},
|
|
7454
|
+
"description": "Merge one person into another. WARNING: the positional <id> is the LOSING record — Pipedrive deletes it. --into is the surviving record whose data wins on conflict. All related data (deals, activities, notes, files) is transferred to the survivor.",
|
|
6235
7455
|
"examples": [
|
|
6236
|
-
"<%= config.bin %> person
|
|
6237
|
-
"<%= config.bin %> person
|
|
7456
|
+
"<%= config.bin %> person merge 123 --into 456",
|
|
7457
|
+
"<%= config.bin %> person merge 123 --into 456 --yes"
|
|
6238
7458
|
],
|
|
6239
7459
|
"flags": {
|
|
6240
7460
|
"output": {
|
|
@@ -6268,6 +7488,13 @@
|
|
|
6268
7488
|
"multiple": false,
|
|
6269
7489
|
"type": "option"
|
|
6270
7490
|
},
|
|
7491
|
+
"resolve-fields": {
|
|
7492
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
7493
|
+
"helpGroup": "GLOBAL",
|
|
7494
|
+
"name": "resolve-fields",
|
|
7495
|
+
"allowNo": false,
|
|
7496
|
+
"type": "boolean"
|
|
7497
|
+
},
|
|
6271
7498
|
"profile": {
|
|
6272
7499
|
"description": "Named auth profile to use",
|
|
6273
7500
|
"env": "PDCLI_PROFILE",
|
|
@@ -6314,24 +7541,25 @@
|
|
|
6314
7541
|
"multiple": false,
|
|
6315
7542
|
"type": "option"
|
|
6316
7543
|
},
|
|
6317
|
-
"
|
|
6318
|
-
"description": "
|
|
6319
|
-
"name": "
|
|
7544
|
+
"into": {
|
|
7545
|
+
"description": "ID of the surviving person to keep (the winner)",
|
|
7546
|
+
"name": "into",
|
|
7547
|
+
"required": true,
|
|
6320
7548
|
"hasDynamicHelp": false,
|
|
6321
7549
|
"multiple": false,
|
|
6322
7550
|
"type": "option"
|
|
6323
7551
|
},
|
|
6324
|
-
"
|
|
6325
|
-
"
|
|
6326
|
-
"
|
|
6327
|
-
"
|
|
6328
|
-
"
|
|
6329
|
-
"type": "
|
|
7552
|
+
"yes": {
|
|
7553
|
+
"char": "y",
|
|
7554
|
+
"description": "Skip the confirmation prompt",
|
|
7555
|
+
"name": "yes",
|
|
7556
|
+
"allowNo": false,
|
|
7557
|
+
"type": "boolean"
|
|
6330
7558
|
}
|
|
6331
7559
|
},
|
|
6332
7560
|
"hasDynamicHelp": false,
|
|
6333
7561
|
"hiddenAliases": [],
|
|
6334
|
-
"id": "person:
|
|
7562
|
+
"id": "person:merge",
|
|
6335
7563
|
"pluginAlias": "@wavyx/pdcli",
|
|
6336
7564
|
"pluginName": "@wavyx/pdcli",
|
|
6337
7565
|
"pluginType": "core",
|
|
@@ -6342,7 +7570,7 @@
|
|
|
6342
7570
|
"src",
|
|
6343
7571
|
"commands",
|
|
6344
7572
|
"person",
|
|
6345
|
-
"
|
|
7573
|
+
"merge.js"
|
|
6346
7574
|
]
|
|
6347
7575
|
},
|
|
6348
7576
|
"person:update": {
|
|
@@ -6392,6 +7620,13 @@
|
|
|
6392
7620
|
"multiple": false,
|
|
6393
7621
|
"type": "option"
|
|
6394
7622
|
},
|
|
7623
|
+
"resolve-fields": {
|
|
7624
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
7625
|
+
"helpGroup": "GLOBAL",
|
|
7626
|
+
"name": "resolve-fields",
|
|
7627
|
+
"allowNo": false,
|
|
7628
|
+
"type": "boolean"
|
|
7629
|
+
},
|
|
6395
7630
|
"profile": {
|
|
6396
7631
|
"description": "Named auth profile to use",
|
|
6397
7632
|
"env": "PDCLI_PROFILE",
|
|
@@ -6545,6 +7780,13 @@
|
|
|
6545
7780
|
"multiple": false,
|
|
6546
7781
|
"type": "option"
|
|
6547
7782
|
},
|
|
7783
|
+
"resolve-fields": {
|
|
7784
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
7785
|
+
"helpGroup": "GLOBAL",
|
|
7786
|
+
"name": "resolve-fields",
|
|
7787
|
+
"allowNo": false,
|
|
7788
|
+
"type": "boolean"
|
|
7789
|
+
},
|
|
6548
7790
|
"profile": {
|
|
6549
7791
|
"description": "Named auth profile to use",
|
|
6550
7792
|
"env": "PDCLI_PROFILE",
|
|
@@ -6683,6 +7925,13 @@
|
|
|
6683
7925
|
"multiple": false,
|
|
6684
7926
|
"type": "option"
|
|
6685
7927
|
},
|
|
7928
|
+
"resolve-fields": {
|
|
7929
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
7930
|
+
"helpGroup": "GLOBAL",
|
|
7931
|
+
"name": "resolve-fields",
|
|
7932
|
+
"allowNo": false,
|
|
7933
|
+
"type": "boolean"
|
|
7934
|
+
},
|
|
6686
7935
|
"profile": {
|
|
6687
7936
|
"description": "Named auth profile to use",
|
|
6688
7937
|
"env": "PDCLI_PROFILE",
|
|
@@ -6799,6 +8048,13 @@
|
|
|
6799
8048
|
"multiple": false,
|
|
6800
8049
|
"type": "option"
|
|
6801
8050
|
},
|
|
8051
|
+
"resolve-fields": {
|
|
8052
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
8053
|
+
"helpGroup": "GLOBAL",
|
|
8054
|
+
"name": "resolve-fields",
|
|
8055
|
+
"allowNo": false,
|
|
8056
|
+
"type": "boolean"
|
|
8057
|
+
},
|
|
6802
8058
|
"profile": {
|
|
6803
8059
|
"description": "Named auth profile to use",
|
|
6804
8060
|
"env": "PDCLI_PROFILE",
|
|
@@ -6908,6 +8164,13 @@
|
|
|
6908
8164
|
"multiple": false,
|
|
6909
8165
|
"type": "option"
|
|
6910
8166
|
},
|
|
8167
|
+
"resolve-fields": {
|
|
8168
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
8169
|
+
"helpGroup": "GLOBAL",
|
|
8170
|
+
"name": "resolve-fields",
|
|
8171
|
+
"allowNo": false,
|
|
8172
|
+
"type": "boolean"
|
|
8173
|
+
},
|
|
6911
8174
|
"profile": {
|
|
6912
8175
|
"description": "Named auth profile to use",
|
|
6913
8176
|
"env": "PDCLI_PROFILE",
|
|
@@ -6989,8 +8252,131 @@
|
|
|
6989
8252
|
"args": {},
|
|
6990
8253
|
"description": "List organizations",
|
|
6991
8254
|
"examples": [
|
|
6992
|
-
"<%= config.bin %> org list",
|
|
6993
|
-
"<%= config.bin %> org list --owner 3 --output json"
|
|
8255
|
+
"<%= config.bin %> org list",
|
|
8256
|
+
"<%= config.bin %> org list --owner 3 --output json"
|
|
8257
|
+
],
|
|
8258
|
+
"flags": {
|
|
8259
|
+
"output": {
|
|
8260
|
+
"char": "o",
|
|
8261
|
+
"description": "Output format",
|
|
8262
|
+
"helpGroup": "GLOBAL",
|
|
8263
|
+
"name": "output",
|
|
8264
|
+
"hasDynamicHelp": false,
|
|
8265
|
+
"multiple": false,
|
|
8266
|
+
"options": [
|
|
8267
|
+
"table",
|
|
8268
|
+
"json",
|
|
8269
|
+
"yaml",
|
|
8270
|
+
"csv"
|
|
8271
|
+
],
|
|
8272
|
+
"type": "option"
|
|
8273
|
+
},
|
|
8274
|
+
"jq": {
|
|
8275
|
+
"description": "jq expression to filter JSON output",
|
|
8276
|
+
"helpGroup": "GLOBAL",
|
|
8277
|
+
"name": "jq",
|
|
8278
|
+
"hasDynamicHelp": false,
|
|
8279
|
+
"multiple": false,
|
|
8280
|
+
"type": "option"
|
|
8281
|
+
},
|
|
8282
|
+
"fields": {
|
|
8283
|
+
"description": "Comma-separated fields to display",
|
|
8284
|
+
"helpGroup": "GLOBAL",
|
|
8285
|
+
"name": "fields",
|
|
8286
|
+
"hasDynamicHelp": false,
|
|
8287
|
+
"multiple": false,
|
|
8288
|
+
"type": "option"
|
|
8289
|
+
},
|
|
8290
|
+
"resolve-fields": {
|
|
8291
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
8292
|
+
"helpGroup": "GLOBAL",
|
|
8293
|
+
"name": "resolve-fields",
|
|
8294
|
+
"allowNo": false,
|
|
8295
|
+
"type": "boolean"
|
|
8296
|
+
},
|
|
8297
|
+
"profile": {
|
|
8298
|
+
"description": "Named auth profile to use",
|
|
8299
|
+
"env": "PDCLI_PROFILE",
|
|
8300
|
+
"helpGroup": "GLOBAL",
|
|
8301
|
+
"name": "profile",
|
|
8302
|
+
"hasDynamicHelp": false,
|
|
8303
|
+
"multiple": false,
|
|
8304
|
+
"type": "option"
|
|
8305
|
+
},
|
|
8306
|
+
"no-color": {
|
|
8307
|
+
"description": "Disable color output",
|
|
8308
|
+
"helpGroup": "GLOBAL",
|
|
8309
|
+
"name": "no-color",
|
|
8310
|
+
"allowNo": false,
|
|
8311
|
+
"type": "boolean"
|
|
8312
|
+
},
|
|
8313
|
+
"verbose": {
|
|
8314
|
+
"description": "Show detailed API request/response on errors",
|
|
8315
|
+
"helpGroup": "GLOBAL",
|
|
8316
|
+
"name": "verbose",
|
|
8317
|
+
"allowNo": false,
|
|
8318
|
+
"type": "boolean"
|
|
8319
|
+
},
|
|
8320
|
+
"no-retry": {
|
|
8321
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
8322
|
+
"helpGroup": "GLOBAL",
|
|
8323
|
+
"name": "no-retry",
|
|
8324
|
+
"allowNo": false,
|
|
8325
|
+
"type": "boolean"
|
|
8326
|
+
},
|
|
8327
|
+
"timeout": {
|
|
8328
|
+
"description": "Request timeout in milliseconds",
|
|
8329
|
+
"helpGroup": "GLOBAL",
|
|
8330
|
+
"name": "timeout",
|
|
8331
|
+
"hasDynamicHelp": false,
|
|
8332
|
+
"multiple": false,
|
|
8333
|
+
"type": "option"
|
|
8334
|
+
},
|
|
8335
|
+
"limit": {
|
|
8336
|
+
"description": "Maximum number of items to return (lists)",
|
|
8337
|
+
"helpGroup": "GLOBAL",
|
|
8338
|
+
"name": "limit",
|
|
8339
|
+
"hasDynamicHelp": false,
|
|
8340
|
+
"multiple": false,
|
|
8341
|
+
"type": "option"
|
|
8342
|
+
},
|
|
8343
|
+
"owner": {
|
|
8344
|
+
"description": "Filter by owner (user) ID",
|
|
8345
|
+
"name": "owner",
|
|
8346
|
+
"hasDynamicHelp": false,
|
|
8347
|
+
"multiple": false,
|
|
8348
|
+
"type": "option"
|
|
8349
|
+
}
|
|
8350
|
+
},
|
|
8351
|
+
"hasDynamicHelp": false,
|
|
8352
|
+
"hiddenAliases": [],
|
|
8353
|
+
"id": "org:list",
|
|
8354
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
8355
|
+
"pluginName": "@wavyx/pdcli",
|
|
8356
|
+
"pluginType": "core",
|
|
8357
|
+
"strict": true,
|
|
8358
|
+
"enableJsonFlag": false,
|
|
8359
|
+
"isESM": true,
|
|
8360
|
+
"relativePath": [
|
|
8361
|
+
"src",
|
|
8362
|
+
"commands",
|
|
8363
|
+
"org",
|
|
8364
|
+
"list.js"
|
|
8365
|
+
]
|
|
8366
|
+
},
|
|
8367
|
+
"org:merge": {
|
|
8368
|
+
"aliases": [],
|
|
8369
|
+
"args": {
|
|
8370
|
+
"id": {
|
|
8371
|
+
"description": "ID of the organization to merge and DELETE (the loser)",
|
|
8372
|
+
"name": "id",
|
|
8373
|
+
"required": true
|
|
8374
|
+
}
|
|
8375
|
+
},
|
|
8376
|
+
"description": "Merge one organization into another. WARNING: the positional <id> is the LOSING record — Pipedrive deletes it. --into is the surviving record whose data wins on conflict. All related data (deals, activities, notes, files) is transferred to the survivor.",
|
|
8377
|
+
"examples": [
|
|
8378
|
+
"<%= config.bin %> org merge 123 --into 456",
|
|
8379
|
+
"<%= config.bin %> org merge 123 --into 456 --yes"
|
|
6994
8380
|
],
|
|
6995
8381
|
"flags": {
|
|
6996
8382
|
"output": {
|
|
@@ -7024,6 +8410,13 @@
|
|
|
7024
8410
|
"multiple": false,
|
|
7025
8411
|
"type": "option"
|
|
7026
8412
|
},
|
|
8413
|
+
"resolve-fields": {
|
|
8414
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
8415
|
+
"helpGroup": "GLOBAL",
|
|
8416
|
+
"name": "resolve-fields",
|
|
8417
|
+
"allowNo": false,
|
|
8418
|
+
"type": "boolean"
|
|
8419
|
+
},
|
|
7027
8420
|
"profile": {
|
|
7028
8421
|
"description": "Named auth profile to use",
|
|
7029
8422
|
"env": "PDCLI_PROFILE",
|
|
@@ -7070,17 +8463,25 @@
|
|
|
7070
8463
|
"multiple": false,
|
|
7071
8464
|
"type": "option"
|
|
7072
8465
|
},
|
|
7073
|
-
"
|
|
7074
|
-
"description": "
|
|
7075
|
-
"name": "
|
|
8466
|
+
"into": {
|
|
8467
|
+
"description": "ID of the surviving organization to keep (the winner)",
|
|
8468
|
+
"name": "into",
|
|
8469
|
+
"required": true,
|
|
7076
8470
|
"hasDynamicHelp": false,
|
|
7077
8471
|
"multiple": false,
|
|
7078
8472
|
"type": "option"
|
|
8473
|
+
},
|
|
8474
|
+
"yes": {
|
|
8475
|
+
"char": "y",
|
|
8476
|
+
"description": "Skip the confirmation prompt",
|
|
8477
|
+
"name": "yes",
|
|
8478
|
+
"allowNo": false,
|
|
8479
|
+
"type": "boolean"
|
|
7079
8480
|
}
|
|
7080
8481
|
},
|
|
7081
8482
|
"hasDynamicHelp": false,
|
|
7082
8483
|
"hiddenAliases": [],
|
|
7083
|
-
"id": "org:
|
|
8484
|
+
"id": "org:merge",
|
|
7084
8485
|
"pluginAlias": "@wavyx/pdcli",
|
|
7085
8486
|
"pluginName": "@wavyx/pdcli",
|
|
7086
8487
|
"pluginType": "core",
|
|
@@ -7091,7 +8492,7 @@
|
|
|
7091
8492
|
"src",
|
|
7092
8493
|
"commands",
|
|
7093
8494
|
"org",
|
|
7094
|
-
"
|
|
8495
|
+
"merge.js"
|
|
7095
8496
|
]
|
|
7096
8497
|
},
|
|
7097
8498
|
"org:update": {
|
|
@@ -7141,6 +8542,13 @@
|
|
|
7141
8542
|
"multiple": false,
|
|
7142
8543
|
"type": "option"
|
|
7143
8544
|
},
|
|
8545
|
+
"resolve-fields": {
|
|
8546
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
8547
|
+
"helpGroup": "GLOBAL",
|
|
8548
|
+
"name": "resolve-fields",
|
|
8549
|
+
"allowNo": false,
|
|
8550
|
+
"type": "boolean"
|
|
8551
|
+
},
|
|
7144
8552
|
"profile": {
|
|
7145
8553
|
"description": "Named auth profile to use",
|
|
7146
8554
|
"env": "PDCLI_PROFILE",
|
|
@@ -7278,6 +8686,13 @@
|
|
|
7278
8686
|
"multiple": false,
|
|
7279
8687
|
"type": "option"
|
|
7280
8688
|
},
|
|
8689
|
+
"resolve-fields": {
|
|
8690
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
8691
|
+
"helpGroup": "GLOBAL",
|
|
8692
|
+
"name": "resolve-fields",
|
|
8693
|
+
"allowNo": false,
|
|
8694
|
+
"type": "boolean"
|
|
8695
|
+
},
|
|
7281
8696
|
"profile": {
|
|
7282
8697
|
"description": "Named auth profile to use",
|
|
7283
8698
|
"env": "PDCLI_PROFILE",
|
|
@@ -7381,6 +8796,13 @@
|
|
|
7381
8796
|
"multiple": false,
|
|
7382
8797
|
"type": "option"
|
|
7383
8798
|
},
|
|
8799
|
+
"resolve-fields": {
|
|
8800
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
8801
|
+
"helpGroup": "GLOBAL",
|
|
8802
|
+
"name": "resolve-fields",
|
|
8803
|
+
"allowNo": false,
|
|
8804
|
+
"type": "boolean"
|
|
8805
|
+
},
|
|
7384
8806
|
"profile": {
|
|
7385
8807
|
"description": "Named auth profile to use",
|
|
7386
8808
|
"env": "PDCLI_PROFILE",
|
|
@@ -7491,6 +8913,13 @@
|
|
|
7491
8913
|
"multiple": false,
|
|
7492
8914
|
"type": "option"
|
|
7493
8915
|
},
|
|
8916
|
+
"resolve-fields": {
|
|
8917
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
8918
|
+
"helpGroup": "GLOBAL",
|
|
8919
|
+
"name": "resolve-fields",
|
|
8920
|
+
"allowNo": false,
|
|
8921
|
+
"type": "boolean"
|
|
8922
|
+
},
|
|
7494
8923
|
"profile": {
|
|
7495
8924
|
"description": "Named auth profile to use",
|
|
7496
8925
|
"env": "PDCLI_PROFILE",
|
|
@@ -7595,6 +9024,13 @@
|
|
|
7595
9024
|
"multiple": false,
|
|
7596
9025
|
"type": "option"
|
|
7597
9026
|
},
|
|
9027
|
+
"resolve-fields": {
|
|
9028
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
9029
|
+
"helpGroup": "GLOBAL",
|
|
9030
|
+
"name": "resolve-fields",
|
|
9031
|
+
"allowNo": false,
|
|
9032
|
+
"type": "boolean"
|
|
9033
|
+
},
|
|
7598
9034
|
"profile": {
|
|
7599
9035
|
"description": "Named auth profile to use",
|
|
7600
9036
|
"env": "PDCLI_PROFILE",
|
|
@@ -7774,6 +9210,13 @@
|
|
|
7774
9210
|
"multiple": false,
|
|
7775
9211
|
"type": "option"
|
|
7776
9212
|
},
|
|
9213
|
+
"resolve-fields": {
|
|
9214
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
9215
|
+
"helpGroup": "GLOBAL",
|
|
9216
|
+
"name": "resolve-fields",
|
|
9217
|
+
"allowNo": false,
|
|
9218
|
+
"type": "boolean"
|
|
9219
|
+
},
|
|
7777
9220
|
"profile": {
|
|
7778
9221
|
"description": "Named auth profile to use",
|
|
7779
9222
|
"env": "PDCLI_PROFILE",
|
|
@@ -7890,6 +9333,13 @@
|
|
|
7890
9333
|
"multiple": false,
|
|
7891
9334
|
"type": "option"
|
|
7892
9335
|
},
|
|
9336
|
+
"resolve-fields": {
|
|
9337
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
9338
|
+
"helpGroup": "GLOBAL",
|
|
9339
|
+
"name": "resolve-fields",
|
|
9340
|
+
"allowNo": false,
|
|
9341
|
+
"type": "boolean"
|
|
9342
|
+
},
|
|
7893
9343
|
"profile": {
|
|
7894
9344
|
"description": "Named auth profile to use",
|
|
7895
9345
|
"env": "PDCLI_PROFILE",
|
|
@@ -7993,6 +9443,13 @@
|
|
|
7993
9443
|
"multiple": false,
|
|
7994
9444
|
"type": "option"
|
|
7995
9445
|
},
|
|
9446
|
+
"resolve-fields": {
|
|
9447
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
9448
|
+
"helpGroup": "GLOBAL",
|
|
9449
|
+
"name": "resolve-fields",
|
|
9450
|
+
"allowNo": false,
|
|
9451
|
+
"type": "boolean"
|
|
9452
|
+
},
|
|
7996
9453
|
"profile": {
|
|
7997
9454
|
"description": "Named auth profile to use",
|
|
7998
9455
|
"env": "PDCLI_PROFILE",
|
|
@@ -8110,6 +9567,13 @@
|
|
|
8110
9567
|
"multiple": false,
|
|
8111
9568
|
"type": "option"
|
|
8112
9569
|
},
|
|
9570
|
+
"resolve-fields": {
|
|
9571
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
9572
|
+
"helpGroup": "GLOBAL",
|
|
9573
|
+
"name": "resolve-fields",
|
|
9574
|
+
"allowNo": false,
|
|
9575
|
+
"type": "boolean"
|
|
9576
|
+
},
|
|
8113
9577
|
"profile": {
|
|
8114
9578
|
"description": "Named auth profile to use",
|
|
8115
9579
|
"env": "PDCLI_PROFILE",
|
|
@@ -8281,6 +9745,13 @@
|
|
|
8281
9745
|
"multiple": false,
|
|
8282
9746
|
"type": "option"
|
|
8283
9747
|
},
|
|
9748
|
+
"resolve-fields": {
|
|
9749
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
9750
|
+
"helpGroup": "GLOBAL",
|
|
9751
|
+
"name": "resolve-fields",
|
|
9752
|
+
"allowNo": false,
|
|
9753
|
+
"type": "boolean"
|
|
9754
|
+
},
|
|
8284
9755
|
"profile": {
|
|
8285
9756
|
"description": "Named auth profile to use",
|
|
8286
9757
|
"env": "PDCLI_PROFILE",
|
|
@@ -8384,6 +9855,13 @@
|
|
|
8384
9855
|
"multiple": false,
|
|
8385
9856
|
"type": "option"
|
|
8386
9857
|
},
|
|
9858
|
+
"resolve-fields": {
|
|
9859
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
9860
|
+
"helpGroup": "GLOBAL",
|
|
9861
|
+
"name": "resolve-fields",
|
|
9862
|
+
"allowNo": false,
|
|
9863
|
+
"type": "boolean"
|
|
9864
|
+
},
|
|
8387
9865
|
"profile": {
|
|
8388
9866
|
"description": "Named auth profile to use",
|
|
8389
9867
|
"env": "PDCLI_PROFILE",
|
|
@@ -8493,217 +9971,55 @@
|
|
|
8493
9971
|
"multiple": false,
|
|
8494
9972
|
"type": "option"
|
|
8495
9973
|
},
|
|
8496
|
-
"
|
|
8497
|
-
"description": "
|
|
8498
|
-
"env": "PDCLI_PROFILE",
|
|
8499
|
-
"helpGroup": "GLOBAL",
|
|
8500
|
-
"name": "profile",
|
|
8501
|
-
"hasDynamicHelp": false,
|
|
8502
|
-
"multiple": false,
|
|
8503
|
-
"type": "option"
|
|
8504
|
-
},
|
|
8505
|
-
"no-color": {
|
|
8506
|
-
"description": "Disable color output",
|
|
8507
|
-
"helpGroup": "GLOBAL",
|
|
8508
|
-
"name": "no-color",
|
|
8509
|
-
"allowNo": false,
|
|
8510
|
-
"type": "boolean"
|
|
8511
|
-
},
|
|
8512
|
-
"verbose": {
|
|
8513
|
-
"description": "Show detailed API request/response on errors",
|
|
8514
|
-
"helpGroup": "GLOBAL",
|
|
8515
|
-
"name": "verbose",
|
|
8516
|
-
"allowNo": false,
|
|
8517
|
-
"type": "boolean"
|
|
8518
|
-
},
|
|
8519
|
-
"no-retry": {
|
|
8520
|
-
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
9974
|
+
"resolve-fields": {
|
|
9975
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
8521
9976
|
"helpGroup": "GLOBAL",
|
|
8522
|
-
"name": "
|
|
9977
|
+
"name": "resolve-fields",
|
|
8523
9978
|
"allowNo": false,
|
|
8524
9979
|
"type": "boolean"
|
|
8525
9980
|
},
|
|
8526
|
-
"timeout": {
|
|
8527
|
-
"description": "Request timeout in milliseconds",
|
|
8528
|
-
"helpGroup": "GLOBAL",
|
|
8529
|
-
"name": "timeout",
|
|
8530
|
-
"hasDynamicHelp": false,
|
|
8531
|
-
"multiple": false,
|
|
8532
|
-
"type": "option"
|
|
8533
|
-
},
|
|
8534
|
-
"limit": {
|
|
8535
|
-
"description": "Maximum number of items to return (lists)",
|
|
8536
|
-
"helpGroup": "GLOBAL",
|
|
8537
|
-
"name": "limit",
|
|
8538
|
-
"hasDynamicHelp": false,
|
|
8539
|
-
"multiple": false,
|
|
8540
|
-
"type": "option"
|
|
8541
|
-
}
|
|
8542
|
-
},
|
|
8543
|
-
"hasDynamicHelp": false,
|
|
8544
|
-
"hiddenAliases": [],
|
|
8545
|
-
"id": "profile:use",
|
|
8546
|
-
"pluginAlias": "@wavyx/pdcli",
|
|
8547
|
-
"pluginName": "@wavyx/pdcli",
|
|
8548
|
-
"pluginType": "core",
|
|
8549
|
-
"strict": true,
|
|
8550
|
-
"enableJsonFlag": false,
|
|
8551
|
-
"skipAuth": true,
|
|
8552
|
-
"isESM": true,
|
|
8553
|
-
"relativePath": [
|
|
8554
|
-
"src",
|
|
8555
|
-
"commands",
|
|
8556
|
-
"profile",
|
|
8557
|
-
"use.js"
|
|
8558
|
-
]
|
|
8559
|
-
},
|
|
8560
|
-
"project:create": {
|
|
8561
|
-
"aliases": [],
|
|
8562
|
-
"args": {},
|
|
8563
|
-
"description": "Create a project",
|
|
8564
|
-
"examples": [
|
|
8565
|
-
"<%= config.bin %> project create --title \"Launch\"",
|
|
8566
|
-
"<%= config.bin %> project create --title \"Launch\" --owner 3 --status open",
|
|
8567
|
-
"<%= config.bin %> project create --title \"Raw\" --body '{\"deal_ids\":[1,2]}'"
|
|
8568
|
-
],
|
|
8569
|
-
"flags": {
|
|
8570
|
-
"output": {
|
|
8571
|
-
"char": "o",
|
|
8572
|
-
"description": "Output format",
|
|
8573
|
-
"helpGroup": "GLOBAL",
|
|
8574
|
-
"name": "output",
|
|
8575
|
-
"hasDynamicHelp": false,
|
|
8576
|
-
"multiple": false,
|
|
8577
|
-
"options": [
|
|
8578
|
-
"table",
|
|
8579
|
-
"json",
|
|
8580
|
-
"yaml",
|
|
8581
|
-
"csv"
|
|
8582
|
-
],
|
|
8583
|
-
"type": "option"
|
|
8584
|
-
},
|
|
8585
|
-
"jq": {
|
|
8586
|
-
"description": "jq expression to filter JSON output",
|
|
8587
|
-
"helpGroup": "GLOBAL",
|
|
8588
|
-
"name": "jq",
|
|
8589
|
-
"hasDynamicHelp": false,
|
|
8590
|
-
"multiple": false,
|
|
8591
|
-
"type": "option"
|
|
8592
|
-
},
|
|
8593
|
-
"fields": {
|
|
8594
|
-
"description": "Comma-separated fields to display",
|
|
8595
|
-
"helpGroup": "GLOBAL",
|
|
8596
|
-
"name": "fields",
|
|
8597
|
-
"hasDynamicHelp": false,
|
|
8598
|
-
"multiple": false,
|
|
8599
|
-
"type": "option"
|
|
8600
|
-
},
|
|
8601
9981
|
"profile": {
|
|
8602
9982
|
"description": "Named auth profile to use",
|
|
8603
9983
|
"env": "PDCLI_PROFILE",
|
|
8604
|
-
"helpGroup": "GLOBAL",
|
|
8605
|
-
"name": "profile",
|
|
8606
|
-
"hasDynamicHelp": false,
|
|
8607
|
-
"multiple": false,
|
|
8608
|
-
"type": "option"
|
|
8609
|
-
},
|
|
8610
|
-
"no-color": {
|
|
8611
|
-
"description": "Disable color output",
|
|
8612
|
-
"helpGroup": "GLOBAL",
|
|
8613
|
-
"name": "no-color",
|
|
8614
|
-
"allowNo": false,
|
|
8615
|
-
"type": "boolean"
|
|
8616
|
-
},
|
|
8617
|
-
"verbose": {
|
|
8618
|
-
"description": "Show detailed API request/response on errors",
|
|
8619
|
-
"helpGroup": "GLOBAL",
|
|
8620
|
-
"name": "verbose",
|
|
8621
|
-
"allowNo": false,
|
|
8622
|
-
"type": "boolean"
|
|
8623
|
-
},
|
|
8624
|
-
"no-retry": {
|
|
8625
|
-
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
8626
|
-
"helpGroup": "GLOBAL",
|
|
8627
|
-
"name": "no-retry",
|
|
8628
|
-
"allowNo": false,
|
|
8629
|
-
"type": "boolean"
|
|
8630
|
-
},
|
|
8631
|
-
"timeout": {
|
|
8632
|
-
"description": "Request timeout in milliseconds",
|
|
8633
|
-
"helpGroup": "GLOBAL",
|
|
8634
|
-
"name": "timeout",
|
|
8635
|
-
"hasDynamicHelp": false,
|
|
8636
|
-
"multiple": false,
|
|
8637
|
-
"type": "option"
|
|
8638
|
-
},
|
|
8639
|
-
"limit": {
|
|
8640
|
-
"description": "Maximum number of items to return (lists)",
|
|
8641
|
-
"helpGroup": "GLOBAL",
|
|
8642
|
-
"name": "limit",
|
|
8643
|
-
"hasDynamicHelp": false,
|
|
8644
|
-
"multiple": false,
|
|
8645
|
-
"type": "option"
|
|
8646
|
-
},
|
|
8647
|
-
"title": {
|
|
8648
|
-
"description": "Project title",
|
|
8649
|
-
"name": "title",
|
|
8650
|
-
"required": true,
|
|
8651
|
-
"hasDynamicHelp": false,
|
|
8652
|
-
"multiple": false,
|
|
8653
|
-
"type": "option"
|
|
8654
|
-
},
|
|
8655
|
-
"description": {
|
|
8656
|
-
"description": "Project description",
|
|
8657
|
-
"name": "description",
|
|
8658
|
-
"hasDynamicHelp": false,
|
|
8659
|
-
"multiple": false,
|
|
8660
|
-
"type": "option"
|
|
8661
|
-
},
|
|
8662
|
-
"status": {
|
|
8663
|
-
"description": "Project status",
|
|
8664
|
-
"name": "status",
|
|
8665
|
-
"hasDynamicHelp": false,
|
|
8666
|
-
"multiple": false,
|
|
8667
|
-
"type": "option"
|
|
8668
|
-
},
|
|
8669
|
-
"start-date": {
|
|
8670
|
-
"description": "Start date (YYYY-MM-DD)",
|
|
8671
|
-
"name": "start-date",
|
|
8672
|
-
"hasDynamicHelp": false,
|
|
8673
|
-
"multiple": false,
|
|
8674
|
-
"type": "option"
|
|
8675
|
-
},
|
|
8676
|
-
"end-date": {
|
|
8677
|
-
"description": "End date (YYYY-MM-DD)",
|
|
8678
|
-
"name": "end-date",
|
|
8679
|
-
"hasDynamicHelp": false,
|
|
8680
|
-
"multiple": false,
|
|
8681
|
-
"type": "option"
|
|
8682
|
-
},
|
|
8683
|
-
"owner": {
|
|
8684
|
-
"description": "Owner (user) ID",
|
|
8685
|
-
"name": "owner",
|
|
8686
|
-
"hasDynamicHelp": false,
|
|
8687
|
-
"multiple": false,
|
|
8688
|
-
"type": "option"
|
|
8689
|
-
},
|
|
8690
|
-
"board": {
|
|
8691
|
-
"description": "Board ID",
|
|
8692
|
-
"name": "board",
|
|
9984
|
+
"helpGroup": "GLOBAL",
|
|
9985
|
+
"name": "profile",
|
|
8693
9986
|
"hasDynamicHelp": false,
|
|
8694
9987
|
"multiple": false,
|
|
8695
9988
|
"type": "option"
|
|
8696
9989
|
},
|
|
8697
|
-
"
|
|
8698
|
-
"description": "
|
|
8699
|
-
"
|
|
9990
|
+
"no-color": {
|
|
9991
|
+
"description": "Disable color output",
|
|
9992
|
+
"helpGroup": "GLOBAL",
|
|
9993
|
+
"name": "no-color",
|
|
9994
|
+
"allowNo": false,
|
|
9995
|
+
"type": "boolean"
|
|
9996
|
+
},
|
|
9997
|
+
"verbose": {
|
|
9998
|
+
"description": "Show detailed API request/response on errors",
|
|
9999
|
+
"helpGroup": "GLOBAL",
|
|
10000
|
+
"name": "verbose",
|
|
10001
|
+
"allowNo": false,
|
|
10002
|
+
"type": "boolean"
|
|
10003
|
+
},
|
|
10004
|
+
"no-retry": {
|
|
10005
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
10006
|
+
"helpGroup": "GLOBAL",
|
|
10007
|
+
"name": "no-retry",
|
|
10008
|
+
"allowNo": false,
|
|
10009
|
+
"type": "boolean"
|
|
10010
|
+
},
|
|
10011
|
+
"timeout": {
|
|
10012
|
+
"description": "Request timeout in milliseconds",
|
|
10013
|
+
"helpGroup": "GLOBAL",
|
|
10014
|
+
"name": "timeout",
|
|
8700
10015
|
"hasDynamicHelp": false,
|
|
8701
10016
|
"multiple": false,
|
|
8702
10017
|
"type": "option"
|
|
8703
10018
|
},
|
|
8704
|
-
"
|
|
8705
|
-
"description": "
|
|
8706
|
-
"
|
|
10019
|
+
"limit": {
|
|
10020
|
+
"description": "Maximum number of items to return (lists)",
|
|
10021
|
+
"helpGroup": "GLOBAL",
|
|
10022
|
+
"name": "limit",
|
|
8707
10023
|
"hasDynamicHelp": false,
|
|
8708
10024
|
"multiple": false,
|
|
8709
10025
|
"type": "option"
|
|
@@ -8711,33 +10027,34 @@
|
|
|
8711
10027
|
},
|
|
8712
10028
|
"hasDynamicHelp": false,
|
|
8713
10029
|
"hiddenAliases": [],
|
|
8714
|
-
"id": "
|
|
10030
|
+
"id": "profile:use",
|
|
8715
10031
|
"pluginAlias": "@wavyx/pdcli",
|
|
8716
10032
|
"pluginName": "@wavyx/pdcli",
|
|
8717
10033
|
"pluginType": "core",
|
|
8718
10034
|
"strict": true,
|
|
8719
10035
|
"enableJsonFlag": false,
|
|
10036
|
+
"skipAuth": true,
|
|
8720
10037
|
"isESM": true,
|
|
8721
10038
|
"relativePath": [
|
|
8722
10039
|
"src",
|
|
8723
10040
|
"commands",
|
|
8724
|
-
"
|
|
8725
|
-
"
|
|
10041
|
+
"profile",
|
|
10042
|
+
"use.js"
|
|
8726
10043
|
]
|
|
8727
10044
|
},
|
|
8728
|
-
"
|
|
10045
|
+
"stage:get": {
|
|
8729
10046
|
"aliases": [],
|
|
8730
10047
|
"args": {
|
|
8731
10048
|
"id": {
|
|
8732
|
-
"description": "
|
|
10049
|
+
"description": "Stage ID",
|
|
8733
10050
|
"name": "id",
|
|
8734
10051
|
"required": true
|
|
8735
10052
|
}
|
|
8736
10053
|
},
|
|
8737
|
-
"description": "
|
|
10054
|
+
"description": "Get a stage by ID",
|
|
8738
10055
|
"examples": [
|
|
8739
|
-
"<%= config.bin %>
|
|
8740
|
-
"<%= config.bin %>
|
|
10056
|
+
"<%= config.bin %> stage get 5",
|
|
10057
|
+
"<%= config.bin %> stage get 5 --output json"
|
|
8741
10058
|
],
|
|
8742
10059
|
"flags": {
|
|
8743
10060
|
"output": {
|
|
@@ -8771,6 +10088,13 @@
|
|
|
8771
10088
|
"multiple": false,
|
|
8772
10089
|
"type": "option"
|
|
8773
10090
|
},
|
|
10091
|
+
"resolve-fields": {
|
|
10092
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
10093
|
+
"helpGroup": "GLOBAL",
|
|
10094
|
+
"name": "resolve-fields",
|
|
10095
|
+
"allowNo": false,
|
|
10096
|
+
"type": "boolean"
|
|
10097
|
+
},
|
|
8774
10098
|
"profile": {
|
|
8775
10099
|
"description": "Named auth profile to use",
|
|
8776
10100
|
"env": "PDCLI_PROFILE",
|
|
@@ -8816,18 +10140,11 @@
|
|
|
8816
10140
|
"hasDynamicHelp": false,
|
|
8817
10141
|
"multiple": false,
|
|
8818
10142
|
"type": "option"
|
|
8819
|
-
},
|
|
8820
|
-
"yes": {
|
|
8821
|
-
"char": "y",
|
|
8822
|
-
"description": "Skip the confirmation prompt",
|
|
8823
|
-
"name": "yes",
|
|
8824
|
-
"allowNo": false,
|
|
8825
|
-
"type": "boolean"
|
|
8826
10143
|
}
|
|
8827
10144
|
},
|
|
8828
10145
|
"hasDynamicHelp": false,
|
|
8829
10146
|
"hiddenAliases": [],
|
|
8830
|
-
"id": "
|
|
10147
|
+
"id": "stage:get",
|
|
8831
10148
|
"pluginAlias": "@wavyx/pdcli",
|
|
8832
10149
|
"pluginName": "@wavyx/pdcli",
|
|
8833
10150
|
"pluginType": "core",
|
|
@@ -8837,23 +10154,17 @@
|
|
|
8837
10154
|
"relativePath": [
|
|
8838
10155
|
"src",
|
|
8839
10156
|
"commands",
|
|
8840
|
-
"
|
|
8841
|
-
"
|
|
10157
|
+
"stage",
|
|
10158
|
+
"get.js"
|
|
8842
10159
|
]
|
|
8843
10160
|
},
|
|
8844
|
-
"
|
|
10161
|
+
"stage:list": {
|
|
8845
10162
|
"aliases": [],
|
|
8846
|
-
"args": {
|
|
8847
|
-
|
|
8848
|
-
"description": "Project ID",
|
|
8849
|
-
"name": "id",
|
|
8850
|
-
"required": true
|
|
8851
|
-
}
|
|
8852
|
-
},
|
|
8853
|
-
"description": "Get a project by ID",
|
|
10163
|
+
"args": {},
|
|
10164
|
+
"description": "List stages",
|
|
8854
10165
|
"examples": [
|
|
8855
|
-
"<%= config.bin %>
|
|
8856
|
-
"<%= config.bin %>
|
|
10166
|
+
"<%= config.bin %> stage list",
|
|
10167
|
+
"<%= config.bin %> stage list --pipeline 1 --output json"
|
|
8857
10168
|
],
|
|
8858
10169
|
"flags": {
|
|
8859
10170
|
"output": {
|
|
@@ -8887,6 +10198,13 @@
|
|
|
8887
10198
|
"multiple": false,
|
|
8888
10199
|
"type": "option"
|
|
8889
10200
|
},
|
|
10201
|
+
"resolve-fields": {
|
|
10202
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
10203
|
+
"helpGroup": "GLOBAL",
|
|
10204
|
+
"name": "resolve-fields",
|
|
10205
|
+
"allowNo": false,
|
|
10206
|
+
"type": "boolean"
|
|
10207
|
+
},
|
|
8890
10208
|
"profile": {
|
|
8891
10209
|
"description": "Named auth profile to use",
|
|
8892
10210
|
"env": "PDCLI_PROFILE",
|
|
@@ -8932,11 +10250,18 @@
|
|
|
8932
10250
|
"hasDynamicHelp": false,
|
|
8933
10251
|
"multiple": false,
|
|
8934
10252
|
"type": "option"
|
|
10253
|
+
},
|
|
10254
|
+
"pipeline": {
|
|
10255
|
+
"description": "Filter by pipeline ID",
|
|
10256
|
+
"name": "pipeline",
|
|
10257
|
+
"hasDynamicHelp": false,
|
|
10258
|
+
"multiple": false,
|
|
10259
|
+
"type": "option"
|
|
8935
10260
|
}
|
|
8936
10261
|
},
|
|
8937
10262
|
"hasDynamicHelp": false,
|
|
8938
10263
|
"hiddenAliases": [],
|
|
8939
|
-
"id": "
|
|
10264
|
+
"id": "stage:list",
|
|
8940
10265
|
"pluginAlias": "@wavyx/pdcli",
|
|
8941
10266
|
"pluginName": "@wavyx/pdcli",
|
|
8942
10267
|
"pluginType": "core",
|
|
@@ -8946,17 +10271,16 @@
|
|
|
8946
10271
|
"relativePath": [
|
|
8947
10272
|
"src",
|
|
8948
10273
|
"commands",
|
|
8949
|
-
"
|
|
8950
|
-
"
|
|
10274
|
+
"stage",
|
|
10275
|
+
"list.js"
|
|
8951
10276
|
]
|
|
8952
10277
|
},
|
|
8953
|
-
"
|
|
10278
|
+
"user:me": {
|
|
8954
10279
|
"aliases": [],
|
|
8955
10280
|
"args": {},
|
|
8956
|
-
"description": "
|
|
10281
|
+
"description": "Show the authenticated user",
|
|
8957
10282
|
"examples": [
|
|
8958
|
-
"<%= config.bin %>
|
|
8959
|
-
"<%= config.bin %> project list --output json"
|
|
10283
|
+
"<%= config.bin %> user me"
|
|
8960
10284
|
],
|
|
8961
10285
|
"flags": {
|
|
8962
10286
|
"output": {
|
|
@@ -8990,6 +10314,13 @@
|
|
|
8990
10314
|
"multiple": false,
|
|
8991
10315
|
"type": "option"
|
|
8992
10316
|
},
|
|
10317
|
+
"resolve-fields": {
|
|
10318
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
10319
|
+
"helpGroup": "GLOBAL",
|
|
10320
|
+
"name": "resolve-fields",
|
|
10321
|
+
"allowNo": false,
|
|
10322
|
+
"type": "boolean"
|
|
10323
|
+
},
|
|
8993
10324
|
"profile": {
|
|
8994
10325
|
"description": "Named auth profile to use",
|
|
8995
10326
|
"env": "PDCLI_PROFILE",
|
|
@@ -9039,7 +10370,7 @@
|
|
|
9039
10370
|
},
|
|
9040
10371
|
"hasDynamicHelp": false,
|
|
9041
10372
|
"hiddenAliases": [],
|
|
9042
|
-
"id": "
|
|
10373
|
+
"id": "user:me",
|
|
9043
10374
|
"pluginAlias": "@wavyx/pdcli",
|
|
9044
10375
|
"pluginName": "@wavyx/pdcli",
|
|
9045
10376
|
"pluginType": "core",
|
|
@@ -9049,24 +10380,18 @@
|
|
|
9049
10380
|
"relativePath": [
|
|
9050
10381
|
"src",
|
|
9051
10382
|
"commands",
|
|
9052
|
-
"
|
|
9053
|
-
"
|
|
10383
|
+
"user",
|
|
10384
|
+
"me.js"
|
|
9054
10385
|
]
|
|
9055
10386
|
},
|
|
9056
|
-
"project:
|
|
10387
|
+
"project:create": {
|
|
9057
10388
|
"aliases": [],
|
|
9058
|
-
"args": {
|
|
9059
|
-
|
|
9060
|
-
"description": "Project ID",
|
|
9061
|
-
"name": "id",
|
|
9062
|
-
"required": true
|
|
9063
|
-
}
|
|
9064
|
-
},
|
|
9065
|
-
"description": "Update a project (v2 PATCH — only provided fields change)",
|
|
10389
|
+
"args": {},
|
|
10390
|
+
"description": "Create a project",
|
|
9066
10391
|
"examples": [
|
|
9067
|
-
"<%= config.bin %> project
|
|
9068
|
-
"<%= config.bin %> project
|
|
9069
|
-
"<%= config.bin %> project
|
|
10392
|
+
"<%= config.bin %> project create --title \"Launch\"",
|
|
10393
|
+
"<%= config.bin %> project create --title \"Launch\" --owner 3 --status open",
|
|
10394
|
+
"<%= config.bin %> project create --title \"Raw\" --body '{\"deal_ids\":[1,2]}'"
|
|
9070
10395
|
],
|
|
9071
10396
|
"flags": {
|
|
9072
10397
|
"output": {
|
|
@@ -9100,6 +10425,13 @@
|
|
|
9100
10425
|
"multiple": false,
|
|
9101
10426
|
"type": "option"
|
|
9102
10427
|
},
|
|
10428
|
+
"resolve-fields": {
|
|
10429
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
10430
|
+
"helpGroup": "GLOBAL",
|
|
10431
|
+
"name": "resolve-fields",
|
|
10432
|
+
"allowNo": false,
|
|
10433
|
+
"type": "boolean"
|
|
10434
|
+
},
|
|
9103
10435
|
"profile": {
|
|
9104
10436
|
"description": "Named auth profile to use",
|
|
9105
10437
|
"env": "PDCLI_PROFILE",
|
|
@@ -9149,6 +10481,7 @@
|
|
|
9149
10481
|
"title": {
|
|
9150
10482
|
"description": "Project title",
|
|
9151
10483
|
"name": "title",
|
|
10484
|
+
"required": true,
|
|
9152
10485
|
"hasDynamicHelp": false,
|
|
9153
10486
|
"multiple": false,
|
|
9154
10487
|
"type": "option"
|
|
@@ -9212,7 +10545,130 @@
|
|
|
9212
10545
|
},
|
|
9213
10546
|
"hasDynamicHelp": false,
|
|
9214
10547
|
"hiddenAliases": [],
|
|
9215
|
-
"id": "project:
|
|
10548
|
+
"id": "project:create",
|
|
10549
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
10550
|
+
"pluginName": "@wavyx/pdcli",
|
|
10551
|
+
"pluginType": "core",
|
|
10552
|
+
"strict": true,
|
|
10553
|
+
"enableJsonFlag": false,
|
|
10554
|
+
"isESM": true,
|
|
10555
|
+
"relativePath": [
|
|
10556
|
+
"src",
|
|
10557
|
+
"commands",
|
|
10558
|
+
"project",
|
|
10559
|
+
"create.js"
|
|
10560
|
+
]
|
|
10561
|
+
},
|
|
10562
|
+
"project:delete": {
|
|
10563
|
+
"aliases": [],
|
|
10564
|
+
"args": {
|
|
10565
|
+
"id": {
|
|
10566
|
+
"description": "Project ID",
|
|
10567
|
+
"name": "id",
|
|
10568
|
+
"required": true
|
|
10569
|
+
}
|
|
10570
|
+
},
|
|
10571
|
+
"description": "Delete a project",
|
|
10572
|
+
"examples": [
|
|
10573
|
+
"<%= config.bin %> project delete 7",
|
|
10574
|
+
"<%= config.bin %> project delete 7 --yes"
|
|
10575
|
+
],
|
|
10576
|
+
"flags": {
|
|
10577
|
+
"output": {
|
|
10578
|
+
"char": "o",
|
|
10579
|
+
"description": "Output format",
|
|
10580
|
+
"helpGroup": "GLOBAL",
|
|
10581
|
+
"name": "output",
|
|
10582
|
+
"hasDynamicHelp": false,
|
|
10583
|
+
"multiple": false,
|
|
10584
|
+
"options": [
|
|
10585
|
+
"table",
|
|
10586
|
+
"json",
|
|
10587
|
+
"yaml",
|
|
10588
|
+
"csv"
|
|
10589
|
+
],
|
|
10590
|
+
"type": "option"
|
|
10591
|
+
},
|
|
10592
|
+
"jq": {
|
|
10593
|
+
"description": "jq expression to filter JSON output",
|
|
10594
|
+
"helpGroup": "GLOBAL",
|
|
10595
|
+
"name": "jq",
|
|
10596
|
+
"hasDynamicHelp": false,
|
|
10597
|
+
"multiple": false,
|
|
10598
|
+
"type": "option"
|
|
10599
|
+
},
|
|
10600
|
+
"fields": {
|
|
10601
|
+
"description": "Comma-separated fields to display",
|
|
10602
|
+
"helpGroup": "GLOBAL",
|
|
10603
|
+
"name": "fields",
|
|
10604
|
+
"hasDynamicHelp": false,
|
|
10605
|
+
"multiple": false,
|
|
10606
|
+
"type": "option"
|
|
10607
|
+
},
|
|
10608
|
+
"resolve-fields": {
|
|
10609
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
10610
|
+
"helpGroup": "GLOBAL",
|
|
10611
|
+
"name": "resolve-fields",
|
|
10612
|
+
"allowNo": false,
|
|
10613
|
+
"type": "boolean"
|
|
10614
|
+
},
|
|
10615
|
+
"profile": {
|
|
10616
|
+
"description": "Named auth profile to use",
|
|
10617
|
+
"env": "PDCLI_PROFILE",
|
|
10618
|
+
"helpGroup": "GLOBAL",
|
|
10619
|
+
"name": "profile",
|
|
10620
|
+
"hasDynamicHelp": false,
|
|
10621
|
+
"multiple": false,
|
|
10622
|
+
"type": "option"
|
|
10623
|
+
},
|
|
10624
|
+
"no-color": {
|
|
10625
|
+
"description": "Disable color output",
|
|
10626
|
+
"helpGroup": "GLOBAL",
|
|
10627
|
+
"name": "no-color",
|
|
10628
|
+
"allowNo": false,
|
|
10629
|
+
"type": "boolean"
|
|
10630
|
+
},
|
|
10631
|
+
"verbose": {
|
|
10632
|
+
"description": "Show detailed API request/response on errors",
|
|
10633
|
+
"helpGroup": "GLOBAL",
|
|
10634
|
+
"name": "verbose",
|
|
10635
|
+
"allowNo": false,
|
|
10636
|
+
"type": "boolean"
|
|
10637
|
+
},
|
|
10638
|
+
"no-retry": {
|
|
10639
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
10640
|
+
"helpGroup": "GLOBAL",
|
|
10641
|
+
"name": "no-retry",
|
|
10642
|
+
"allowNo": false,
|
|
10643
|
+
"type": "boolean"
|
|
10644
|
+
},
|
|
10645
|
+
"timeout": {
|
|
10646
|
+
"description": "Request timeout in milliseconds",
|
|
10647
|
+
"helpGroup": "GLOBAL",
|
|
10648
|
+
"name": "timeout",
|
|
10649
|
+
"hasDynamicHelp": false,
|
|
10650
|
+
"multiple": false,
|
|
10651
|
+
"type": "option"
|
|
10652
|
+
},
|
|
10653
|
+
"limit": {
|
|
10654
|
+
"description": "Maximum number of items to return (lists)",
|
|
10655
|
+
"helpGroup": "GLOBAL",
|
|
10656
|
+
"name": "limit",
|
|
10657
|
+
"hasDynamicHelp": false,
|
|
10658
|
+
"multiple": false,
|
|
10659
|
+
"type": "option"
|
|
10660
|
+
},
|
|
10661
|
+
"yes": {
|
|
10662
|
+
"char": "y",
|
|
10663
|
+
"description": "Skip the confirmation prompt",
|
|
10664
|
+
"name": "yes",
|
|
10665
|
+
"allowNo": false,
|
|
10666
|
+
"type": "boolean"
|
|
10667
|
+
}
|
|
10668
|
+
},
|
|
10669
|
+
"hasDynamicHelp": false,
|
|
10670
|
+
"hiddenAliases": [],
|
|
10671
|
+
"id": "project:delete",
|
|
9216
10672
|
"pluginAlias": "@wavyx/pdcli",
|
|
9217
10673
|
"pluginName": "@wavyx/pdcli",
|
|
9218
10674
|
"pluginType": "core",
|
|
@@ -9223,22 +10679,22 @@
|
|
|
9223
10679
|
"src",
|
|
9224
10680
|
"commands",
|
|
9225
10681
|
"project",
|
|
9226
|
-
"
|
|
10682
|
+
"delete.js"
|
|
9227
10683
|
]
|
|
9228
10684
|
},
|
|
9229
|
-
"
|
|
10685
|
+
"project:get": {
|
|
9230
10686
|
"aliases": [],
|
|
9231
10687
|
"args": {
|
|
9232
10688
|
"id": {
|
|
9233
|
-
"description": "
|
|
10689
|
+
"description": "Project ID",
|
|
9234
10690
|
"name": "id",
|
|
9235
10691
|
"required": true
|
|
9236
10692
|
}
|
|
9237
10693
|
},
|
|
9238
|
-
"description": "Get a
|
|
10694
|
+
"description": "Get a project by ID",
|
|
9239
10695
|
"examples": [
|
|
9240
|
-
"<%= config.bin %>
|
|
9241
|
-
"<%= config.bin %>
|
|
10696
|
+
"<%= config.bin %> project get 3",
|
|
10697
|
+
"<%= config.bin %> project get 3 --output json"
|
|
9242
10698
|
],
|
|
9243
10699
|
"flags": {
|
|
9244
10700
|
"output": {
|
|
@@ -9272,6 +10728,13 @@
|
|
|
9272
10728
|
"multiple": false,
|
|
9273
10729
|
"type": "option"
|
|
9274
10730
|
},
|
|
10731
|
+
"resolve-fields": {
|
|
10732
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
10733
|
+
"helpGroup": "GLOBAL",
|
|
10734
|
+
"name": "resolve-fields",
|
|
10735
|
+
"allowNo": false,
|
|
10736
|
+
"type": "boolean"
|
|
10737
|
+
},
|
|
9275
10738
|
"profile": {
|
|
9276
10739
|
"description": "Named auth profile to use",
|
|
9277
10740
|
"env": "PDCLI_PROFILE",
|
|
@@ -9321,7 +10784,7 @@
|
|
|
9321
10784
|
},
|
|
9322
10785
|
"hasDynamicHelp": false,
|
|
9323
10786
|
"hiddenAliases": [],
|
|
9324
|
-
"id": "
|
|
10787
|
+
"id": "project:get",
|
|
9325
10788
|
"pluginAlias": "@wavyx/pdcli",
|
|
9326
10789
|
"pluginName": "@wavyx/pdcli",
|
|
9327
10790
|
"pluginType": "core",
|
|
@@ -9331,17 +10794,17 @@
|
|
|
9331
10794
|
"relativePath": [
|
|
9332
10795
|
"src",
|
|
9333
10796
|
"commands",
|
|
9334
|
-
"
|
|
10797
|
+
"project",
|
|
9335
10798
|
"get.js"
|
|
9336
10799
|
]
|
|
9337
10800
|
},
|
|
9338
|
-
"
|
|
10801
|
+
"project:list": {
|
|
9339
10802
|
"aliases": [],
|
|
9340
10803
|
"args": {},
|
|
9341
|
-
"description": "List
|
|
10804
|
+
"description": "List projects",
|
|
9342
10805
|
"examples": [
|
|
9343
|
-
"<%= config.bin %>
|
|
9344
|
-
"<%= config.bin %>
|
|
10806
|
+
"<%= config.bin %> project list",
|
|
10807
|
+
"<%= config.bin %> project list --output json"
|
|
9345
10808
|
],
|
|
9346
10809
|
"flags": {
|
|
9347
10810
|
"output": {
|
|
@@ -9375,6 +10838,13 @@
|
|
|
9375
10838
|
"multiple": false,
|
|
9376
10839
|
"type": "option"
|
|
9377
10840
|
},
|
|
10841
|
+
"resolve-fields": {
|
|
10842
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
10843
|
+
"helpGroup": "GLOBAL",
|
|
10844
|
+
"name": "resolve-fields",
|
|
10845
|
+
"allowNo": false,
|
|
10846
|
+
"type": "boolean"
|
|
10847
|
+
},
|
|
9378
10848
|
"profile": {
|
|
9379
10849
|
"description": "Named auth profile to use",
|
|
9380
10850
|
"env": "PDCLI_PROFILE",
|
|
@@ -9420,18 +10890,11 @@
|
|
|
9420
10890
|
"hasDynamicHelp": false,
|
|
9421
10891
|
"multiple": false,
|
|
9422
10892
|
"type": "option"
|
|
9423
|
-
},
|
|
9424
|
-
"pipeline": {
|
|
9425
|
-
"description": "Filter by pipeline ID",
|
|
9426
|
-
"name": "pipeline",
|
|
9427
|
-
"hasDynamicHelp": false,
|
|
9428
|
-
"multiple": false,
|
|
9429
|
-
"type": "option"
|
|
9430
10893
|
}
|
|
9431
10894
|
},
|
|
9432
10895
|
"hasDynamicHelp": false,
|
|
9433
10896
|
"hiddenAliases": [],
|
|
9434
|
-
"id": "
|
|
10897
|
+
"id": "project:list",
|
|
9435
10898
|
"pluginAlias": "@wavyx/pdcli",
|
|
9436
10899
|
"pluginName": "@wavyx/pdcli",
|
|
9437
10900
|
"pluginType": "core",
|
|
@@ -9441,16 +10904,24 @@
|
|
|
9441
10904
|
"relativePath": [
|
|
9442
10905
|
"src",
|
|
9443
10906
|
"commands",
|
|
9444
|
-
"
|
|
10907
|
+
"project",
|
|
9445
10908
|
"list.js"
|
|
9446
10909
|
]
|
|
9447
10910
|
},
|
|
9448
|
-
"
|
|
10911
|
+
"project:update": {
|
|
9449
10912
|
"aliases": [],
|
|
9450
|
-
"args": {
|
|
9451
|
-
|
|
10913
|
+
"args": {
|
|
10914
|
+
"id": {
|
|
10915
|
+
"description": "Project ID",
|
|
10916
|
+
"name": "id",
|
|
10917
|
+
"required": true
|
|
10918
|
+
}
|
|
10919
|
+
},
|
|
10920
|
+
"description": "Update a project (v2 PATCH — only provided fields change)",
|
|
9452
10921
|
"examples": [
|
|
9453
|
-
"<%= config.bin %>
|
|
10922
|
+
"<%= config.bin %> project update 7 --title \"Relaunch\"",
|
|
10923
|
+
"<%= config.bin %> project update 7 --status closed",
|
|
10924
|
+
"<%= config.bin %> project update 7 --owner 9"
|
|
9454
10925
|
],
|
|
9455
10926
|
"flags": {
|
|
9456
10927
|
"output": {
|
|
@@ -9484,6 +10955,13 @@
|
|
|
9484
10955
|
"multiple": false,
|
|
9485
10956
|
"type": "option"
|
|
9486
10957
|
},
|
|
10958
|
+
"resolve-fields": {
|
|
10959
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
10960
|
+
"helpGroup": "GLOBAL",
|
|
10961
|
+
"name": "resolve-fields",
|
|
10962
|
+
"allowNo": false,
|
|
10963
|
+
"type": "boolean"
|
|
10964
|
+
},
|
|
9487
10965
|
"profile": {
|
|
9488
10966
|
"description": "Named auth profile to use",
|
|
9489
10967
|
"env": "PDCLI_PROFILE",
|
|
@@ -9529,11 +11007,74 @@
|
|
|
9529
11007
|
"hasDynamicHelp": false,
|
|
9530
11008
|
"multiple": false,
|
|
9531
11009
|
"type": "option"
|
|
11010
|
+
},
|
|
11011
|
+
"title": {
|
|
11012
|
+
"description": "Project title",
|
|
11013
|
+
"name": "title",
|
|
11014
|
+
"hasDynamicHelp": false,
|
|
11015
|
+
"multiple": false,
|
|
11016
|
+
"type": "option"
|
|
11017
|
+
},
|
|
11018
|
+
"description": {
|
|
11019
|
+
"description": "Project description",
|
|
11020
|
+
"name": "description",
|
|
11021
|
+
"hasDynamicHelp": false,
|
|
11022
|
+
"multiple": false,
|
|
11023
|
+
"type": "option"
|
|
11024
|
+
},
|
|
11025
|
+
"status": {
|
|
11026
|
+
"description": "Project status",
|
|
11027
|
+
"name": "status",
|
|
11028
|
+
"hasDynamicHelp": false,
|
|
11029
|
+
"multiple": false,
|
|
11030
|
+
"type": "option"
|
|
11031
|
+
},
|
|
11032
|
+
"start-date": {
|
|
11033
|
+
"description": "Start date (YYYY-MM-DD)",
|
|
11034
|
+
"name": "start-date",
|
|
11035
|
+
"hasDynamicHelp": false,
|
|
11036
|
+
"multiple": false,
|
|
11037
|
+
"type": "option"
|
|
11038
|
+
},
|
|
11039
|
+
"end-date": {
|
|
11040
|
+
"description": "End date (YYYY-MM-DD)",
|
|
11041
|
+
"name": "end-date",
|
|
11042
|
+
"hasDynamicHelp": false,
|
|
11043
|
+
"multiple": false,
|
|
11044
|
+
"type": "option"
|
|
11045
|
+
},
|
|
11046
|
+
"owner": {
|
|
11047
|
+
"description": "Owner (user) ID",
|
|
11048
|
+
"name": "owner",
|
|
11049
|
+
"hasDynamicHelp": false,
|
|
11050
|
+
"multiple": false,
|
|
11051
|
+
"type": "option"
|
|
11052
|
+
},
|
|
11053
|
+
"board": {
|
|
11054
|
+
"description": "Board ID",
|
|
11055
|
+
"name": "board",
|
|
11056
|
+
"hasDynamicHelp": false,
|
|
11057
|
+
"multiple": false,
|
|
11058
|
+
"type": "option"
|
|
11059
|
+
},
|
|
11060
|
+
"phase": {
|
|
11061
|
+
"description": "Phase ID",
|
|
11062
|
+
"name": "phase",
|
|
11063
|
+
"hasDynamicHelp": false,
|
|
11064
|
+
"multiple": false,
|
|
11065
|
+
"type": "option"
|
|
11066
|
+
},
|
|
11067
|
+
"body": {
|
|
11068
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
11069
|
+
"name": "body",
|
|
11070
|
+
"hasDynamicHelp": false,
|
|
11071
|
+
"multiple": false,
|
|
11072
|
+
"type": "option"
|
|
9532
11073
|
}
|
|
9533
11074
|
},
|
|
9534
11075
|
"hasDynamicHelp": false,
|
|
9535
11076
|
"hiddenAliases": [],
|
|
9536
|
-
"id": "
|
|
11077
|
+
"id": "project:update",
|
|
9537
11078
|
"pluginAlias": "@wavyx/pdcli",
|
|
9538
11079
|
"pluginName": "@wavyx/pdcli",
|
|
9539
11080
|
"pluginType": "core",
|
|
@@ -9543,8 +11084,8 @@
|
|
|
9543
11084
|
"relativePath": [
|
|
9544
11085
|
"src",
|
|
9545
11086
|
"commands",
|
|
9546
|
-
"
|
|
9547
|
-
"
|
|
11087
|
+
"project",
|
|
11088
|
+
"update.js"
|
|
9548
11089
|
]
|
|
9549
11090
|
},
|
|
9550
11091
|
"webhook:create": {
|
|
@@ -9587,6 +11128,13 @@
|
|
|
9587
11128
|
"multiple": false,
|
|
9588
11129
|
"type": "option"
|
|
9589
11130
|
},
|
|
11131
|
+
"resolve-fields": {
|
|
11132
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
11133
|
+
"helpGroup": "GLOBAL",
|
|
11134
|
+
"name": "resolve-fields",
|
|
11135
|
+
"allowNo": false,
|
|
11136
|
+
"type": "boolean"
|
|
11137
|
+
},
|
|
9590
11138
|
"profile": {
|
|
9591
11139
|
"description": "Named auth profile to use",
|
|
9592
11140
|
"env": "PDCLI_PROFILE",
|
|
@@ -9774,6 +11322,13 @@
|
|
|
9774
11322
|
"multiple": false,
|
|
9775
11323
|
"type": "option"
|
|
9776
11324
|
},
|
|
11325
|
+
"resolve-fields": {
|
|
11326
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
11327
|
+
"helpGroup": "GLOBAL",
|
|
11328
|
+
"name": "resolve-fields",
|
|
11329
|
+
"allowNo": false,
|
|
11330
|
+
"type": "boolean"
|
|
11331
|
+
},
|
|
9777
11332
|
"profile": {
|
|
9778
11333
|
"description": "Named auth profile to use",
|
|
9779
11334
|
"env": "PDCLI_PROFILE",
|
|
@@ -9884,6 +11439,13 @@
|
|
|
9884
11439
|
"multiple": false,
|
|
9885
11440
|
"type": "option"
|
|
9886
11441
|
},
|
|
11442
|
+
"resolve-fields": {
|
|
11443
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
11444
|
+
"helpGroup": "GLOBAL",
|
|
11445
|
+
"name": "resolve-fields",
|
|
11446
|
+
"allowNo": false,
|
|
11447
|
+
"type": "boolean"
|
|
11448
|
+
},
|
|
9887
11449
|
"profile": {
|
|
9888
11450
|
"description": "Named auth profile to use",
|
|
9889
11451
|
"env": "PDCLI_PROFILE",
|
|
@@ -9946,7 +11508,118 @@
|
|
|
9946
11508
|
"webhook",
|
|
9947
11509
|
"list.js"
|
|
9948
11510
|
]
|
|
11511
|
+
},
|
|
11512
|
+
"lead:label:list": {
|
|
11513
|
+
"aliases": [],
|
|
11514
|
+
"args": {},
|
|
11515
|
+
"description": "List lead labels",
|
|
11516
|
+
"examples": [
|
|
11517
|
+
"<%= config.bin %> lead label list",
|
|
11518
|
+
"<%= config.bin %> lead label list --output json"
|
|
11519
|
+
],
|
|
11520
|
+
"flags": {
|
|
11521
|
+
"output": {
|
|
11522
|
+
"char": "o",
|
|
11523
|
+
"description": "Output format",
|
|
11524
|
+
"helpGroup": "GLOBAL",
|
|
11525
|
+
"name": "output",
|
|
11526
|
+
"hasDynamicHelp": false,
|
|
11527
|
+
"multiple": false,
|
|
11528
|
+
"options": [
|
|
11529
|
+
"table",
|
|
11530
|
+
"json",
|
|
11531
|
+
"yaml",
|
|
11532
|
+
"csv"
|
|
11533
|
+
],
|
|
11534
|
+
"type": "option"
|
|
11535
|
+
},
|
|
11536
|
+
"jq": {
|
|
11537
|
+
"description": "jq expression to filter JSON output",
|
|
11538
|
+
"helpGroup": "GLOBAL",
|
|
11539
|
+
"name": "jq",
|
|
11540
|
+
"hasDynamicHelp": false,
|
|
11541
|
+
"multiple": false,
|
|
11542
|
+
"type": "option"
|
|
11543
|
+
},
|
|
11544
|
+
"fields": {
|
|
11545
|
+
"description": "Comma-separated fields to display",
|
|
11546
|
+
"helpGroup": "GLOBAL",
|
|
11547
|
+
"name": "fields",
|
|
11548
|
+
"hasDynamicHelp": false,
|
|
11549
|
+
"multiple": false,
|
|
11550
|
+
"type": "option"
|
|
11551
|
+
},
|
|
11552
|
+
"resolve-fields": {
|
|
11553
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of single-record get commands",
|
|
11554
|
+
"helpGroup": "GLOBAL",
|
|
11555
|
+
"name": "resolve-fields",
|
|
11556
|
+
"allowNo": false,
|
|
11557
|
+
"type": "boolean"
|
|
11558
|
+
},
|
|
11559
|
+
"profile": {
|
|
11560
|
+
"description": "Named auth profile to use",
|
|
11561
|
+
"env": "PDCLI_PROFILE",
|
|
11562
|
+
"helpGroup": "GLOBAL",
|
|
11563
|
+
"name": "profile",
|
|
11564
|
+
"hasDynamicHelp": false,
|
|
11565
|
+
"multiple": false,
|
|
11566
|
+
"type": "option"
|
|
11567
|
+
},
|
|
11568
|
+
"no-color": {
|
|
11569
|
+
"description": "Disable color output",
|
|
11570
|
+
"helpGroup": "GLOBAL",
|
|
11571
|
+
"name": "no-color",
|
|
11572
|
+
"allowNo": false,
|
|
11573
|
+
"type": "boolean"
|
|
11574
|
+
},
|
|
11575
|
+
"verbose": {
|
|
11576
|
+
"description": "Show detailed API request/response on errors",
|
|
11577
|
+
"helpGroup": "GLOBAL",
|
|
11578
|
+
"name": "verbose",
|
|
11579
|
+
"allowNo": false,
|
|
11580
|
+
"type": "boolean"
|
|
11581
|
+
},
|
|
11582
|
+
"no-retry": {
|
|
11583
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
11584
|
+
"helpGroup": "GLOBAL",
|
|
11585
|
+
"name": "no-retry",
|
|
11586
|
+
"allowNo": false,
|
|
11587
|
+
"type": "boolean"
|
|
11588
|
+
},
|
|
11589
|
+
"timeout": {
|
|
11590
|
+
"description": "Request timeout in milliseconds",
|
|
11591
|
+
"helpGroup": "GLOBAL",
|
|
11592
|
+
"name": "timeout",
|
|
11593
|
+
"hasDynamicHelp": false,
|
|
11594
|
+
"multiple": false,
|
|
11595
|
+
"type": "option"
|
|
11596
|
+
},
|
|
11597
|
+
"limit": {
|
|
11598
|
+
"description": "Maximum number of items to return (lists)",
|
|
11599
|
+
"helpGroup": "GLOBAL",
|
|
11600
|
+
"name": "limit",
|
|
11601
|
+
"hasDynamicHelp": false,
|
|
11602
|
+
"multiple": false,
|
|
11603
|
+
"type": "option"
|
|
11604
|
+
}
|
|
11605
|
+
},
|
|
11606
|
+
"hasDynamicHelp": false,
|
|
11607
|
+
"hiddenAliases": [],
|
|
11608
|
+
"id": "lead:label:list",
|
|
11609
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
11610
|
+
"pluginName": "@wavyx/pdcli",
|
|
11611
|
+
"pluginType": "core",
|
|
11612
|
+
"strict": true,
|
|
11613
|
+
"enableJsonFlag": false,
|
|
11614
|
+
"isESM": true,
|
|
11615
|
+
"relativePath": [
|
|
11616
|
+
"src",
|
|
11617
|
+
"commands",
|
|
11618
|
+
"lead",
|
|
11619
|
+
"label",
|
|
11620
|
+
"list.js"
|
|
11621
|
+
]
|
|
9949
11622
|
}
|
|
9950
11623
|
},
|
|
9951
|
-
"version": "0.
|
|
11624
|
+
"version": "0.8.0"
|
|
9952
11625
|
}
|