@wavyx/pdcli 0.3.0 → 0.5.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 +34 -0
- package/README.md +24 -0
- package/oclif.manifest.json +1003 -106
- package/package.json +1 -1
- package/src/commands/audit.js +137 -0
- package/src/commands/deal/bulk-update.js +131 -0
- package/src/commands/funnel.js +92 -0
- package/src/commands/metrics/velocity.js +81 -0
- package/src/commands/org/import.js +109 -0
- package/src/commands/person/import.js +118 -0
- package/src/commands/pipeline/health.js +78 -0
- package/src/lib/analytics.js +154 -0
- package/src/lib/audit.js +228 -0
- package/src/lib/bulk.js +106 -0
- package/src/lib/csv-parse.js +88 -0
- package/src/lib/import.js +49 -0
- package/src/lib/period.js +33 -0
package/oclif.manifest.json
CHANGED
|
@@ -129,6 +129,122 @@
|
|
|
129
129
|
"api.js"
|
|
130
130
|
]
|
|
131
131
|
},
|
|
132
|
+
"audit": {
|
|
133
|
+
"aliases": [],
|
|
134
|
+
"args": {},
|
|
135
|
+
"description": "Data-quality audit: stale deals, missing fields, duplicates, overdue pileups",
|
|
136
|
+
"examples": [
|
|
137
|
+
"<%= config.bin %> audit",
|
|
138
|
+
"<%= config.bin %> audit --checks stale-deals,duplicate-persons --verbose",
|
|
139
|
+
"<%= config.bin %> audit --strict # exit 1 on must-severity findings (CI)"
|
|
140
|
+
],
|
|
141
|
+
"flags": {
|
|
142
|
+
"output": {
|
|
143
|
+
"char": "o",
|
|
144
|
+
"description": "Output format",
|
|
145
|
+
"helpGroup": "GLOBAL",
|
|
146
|
+
"name": "output",
|
|
147
|
+
"hasDynamicHelp": false,
|
|
148
|
+
"multiple": false,
|
|
149
|
+
"options": [
|
|
150
|
+
"table",
|
|
151
|
+
"json",
|
|
152
|
+
"yaml",
|
|
153
|
+
"csv"
|
|
154
|
+
],
|
|
155
|
+
"type": "option"
|
|
156
|
+
},
|
|
157
|
+
"jq": {
|
|
158
|
+
"description": "jq expression to filter JSON output",
|
|
159
|
+
"helpGroup": "GLOBAL",
|
|
160
|
+
"name": "jq",
|
|
161
|
+
"hasDynamicHelp": false,
|
|
162
|
+
"multiple": false,
|
|
163
|
+
"type": "option"
|
|
164
|
+
},
|
|
165
|
+
"fields": {
|
|
166
|
+
"description": "Comma-separated fields to display",
|
|
167
|
+
"helpGroup": "GLOBAL",
|
|
168
|
+
"name": "fields",
|
|
169
|
+
"hasDynamicHelp": false,
|
|
170
|
+
"multiple": false,
|
|
171
|
+
"type": "option"
|
|
172
|
+
},
|
|
173
|
+
"profile": {
|
|
174
|
+
"description": "Named auth profile to use",
|
|
175
|
+
"env": "PDCLI_PROFILE",
|
|
176
|
+
"helpGroup": "GLOBAL",
|
|
177
|
+
"name": "profile",
|
|
178
|
+
"hasDynamicHelp": false,
|
|
179
|
+
"multiple": false,
|
|
180
|
+
"type": "option"
|
|
181
|
+
},
|
|
182
|
+
"no-color": {
|
|
183
|
+
"description": "Disable color output",
|
|
184
|
+
"helpGroup": "GLOBAL",
|
|
185
|
+
"name": "no-color",
|
|
186
|
+
"allowNo": false,
|
|
187
|
+
"type": "boolean"
|
|
188
|
+
},
|
|
189
|
+
"verbose": {
|
|
190
|
+
"description": "Show detailed API request/response on errors",
|
|
191
|
+
"helpGroup": "GLOBAL",
|
|
192
|
+
"name": "verbose",
|
|
193
|
+
"allowNo": false,
|
|
194
|
+
"type": "boolean"
|
|
195
|
+
},
|
|
196
|
+
"no-retry": {
|
|
197
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
198
|
+
"helpGroup": "GLOBAL",
|
|
199
|
+
"name": "no-retry",
|
|
200
|
+
"allowNo": false,
|
|
201
|
+
"type": "boolean"
|
|
202
|
+
},
|
|
203
|
+
"timeout": {
|
|
204
|
+
"description": "Request timeout in milliseconds",
|
|
205
|
+
"helpGroup": "GLOBAL",
|
|
206
|
+
"name": "timeout",
|
|
207
|
+
"hasDynamicHelp": false,
|
|
208
|
+
"multiple": false,
|
|
209
|
+
"type": "option"
|
|
210
|
+
},
|
|
211
|
+
"limit": {
|
|
212
|
+
"description": "Maximum number of items to return (lists)",
|
|
213
|
+
"helpGroup": "GLOBAL",
|
|
214
|
+
"name": "limit",
|
|
215
|
+
"hasDynamicHelp": false,
|
|
216
|
+
"multiple": false,
|
|
217
|
+
"type": "option"
|
|
218
|
+
},
|
|
219
|
+
"checks": {
|
|
220
|
+
"description": "Comma-separated subset of checks (stale-deals, no-next-activity, past-close-date, missing-fields, ancient-deals, missing-close-time, duplicate-persons, uncontactable-persons, duplicate-orgs, overdue-activities, currency-missing)",
|
|
221
|
+
"name": "checks",
|
|
222
|
+
"hasDynamicHelp": false,
|
|
223
|
+
"multiple": false,
|
|
224
|
+
"type": "option"
|
|
225
|
+
},
|
|
226
|
+
"strict": {
|
|
227
|
+
"description": "Exit 1 when any must-severity check has findings",
|
|
228
|
+
"name": "strict",
|
|
229
|
+
"allowNo": false,
|
|
230
|
+
"type": "boolean"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"hasDynamicHelp": false,
|
|
234
|
+
"hiddenAliases": [],
|
|
235
|
+
"id": "audit",
|
|
236
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
237
|
+
"pluginName": "@wavyx/pdcli",
|
|
238
|
+
"pluginType": "core",
|
|
239
|
+
"strict": true,
|
|
240
|
+
"enableJsonFlag": false,
|
|
241
|
+
"isESM": true,
|
|
242
|
+
"relativePath": [
|
|
243
|
+
"src",
|
|
244
|
+
"commands",
|
|
245
|
+
"audit.js"
|
|
246
|
+
]
|
|
247
|
+
},
|
|
132
248
|
"backup": {
|
|
133
249
|
"aliases": [],
|
|
134
250
|
"args": {},
|
|
@@ -348,6 +464,123 @@
|
|
|
348
464
|
"doctor.js"
|
|
349
465
|
]
|
|
350
466
|
},
|
|
467
|
+
"funnel": {
|
|
468
|
+
"aliases": [],
|
|
469
|
+
"args": {},
|
|
470
|
+
"description": "Stage-to-stage conversion approximated from closed deals (final stage reached)",
|
|
471
|
+
"examples": [
|
|
472
|
+
"<%= config.bin %> funnel",
|
|
473
|
+
"<%= config.bin %> funnel --pipeline 1 --period 180d"
|
|
474
|
+
],
|
|
475
|
+
"flags": {
|
|
476
|
+
"output": {
|
|
477
|
+
"char": "o",
|
|
478
|
+
"description": "Output format",
|
|
479
|
+
"helpGroup": "GLOBAL",
|
|
480
|
+
"name": "output",
|
|
481
|
+
"hasDynamicHelp": false,
|
|
482
|
+
"multiple": false,
|
|
483
|
+
"options": [
|
|
484
|
+
"table",
|
|
485
|
+
"json",
|
|
486
|
+
"yaml",
|
|
487
|
+
"csv"
|
|
488
|
+
],
|
|
489
|
+
"type": "option"
|
|
490
|
+
},
|
|
491
|
+
"jq": {
|
|
492
|
+
"description": "jq expression to filter JSON output",
|
|
493
|
+
"helpGroup": "GLOBAL",
|
|
494
|
+
"name": "jq",
|
|
495
|
+
"hasDynamicHelp": false,
|
|
496
|
+
"multiple": false,
|
|
497
|
+
"type": "option"
|
|
498
|
+
},
|
|
499
|
+
"fields": {
|
|
500
|
+
"description": "Comma-separated fields to display",
|
|
501
|
+
"helpGroup": "GLOBAL",
|
|
502
|
+
"name": "fields",
|
|
503
|
+
"hasDynamicHelp": false,
|
|
504
|
+
"multiple": false,
|
|
505
|
+
"type": "option"
|
|
506
|
+
},
|
|
507
|
+
"profile": {
|
|
508
|
+
"description": "Named auth profile to use",
|
|
509
|
+
"env": "PDCLI_PROFILE",
|
|
510
|
+
"helpGroup": "GLOBAL",
|
|
511
|
+
"name": "profile",
|
|
512
|
+
"hasDynamicHelp": false,
|
|
513
|
+
"multiple": false,
|
|
514
|
+
"type": "option"
|
|
515
|
+
},
|
|
516
|
+
"no-color": {
|
|
517
|
+
"description": "Disable color output",
|
|
518
|
+
"helpGroup": "GLOBAL",
|
|
519
|
+
"name": "no-color",
|
|
520
|
+
"allowNo": false,
|
|
521
|
+
"type": "boolean"
|
|
522
|
+
},
|
|
523
|
+
"verbose": {
|
|
524
|
+
"description": "Show detailed API request/response on errors",
|
|
525
|
+
"helpGroup": "GLOBAL",
|
|
526
|
+
"name": "verbose",
|
|
527
|
+
"allowNo": false,
|
|
528
|
+
"type": "boolean"
|
|
529
|
+
},
|
|
530
|
+
"no-retry": {
|
|
531
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
532
|
+
"helpGroup": "GLOBAL",
|
|
533
|
+
"name": "no-retry",
|
|
534
|
+
"allowNo": false,
|
|
535
|
+
"type": "boolean"
|
|
536
|
+
},
|
|
537
|
+
"timeout": {
|
|
538
|
+
"description": "Request timeout in milliseconds",
|
|
539
|
+
"helpGroup": "GLOBAL",
|
|
540
|
+
"name": "timeout",
|
|
541
|
+
"hasDynamicHelp": false,
|
|
542
|
+
"multiple": false,
|
|
543
|
+
"type": "option"
|
|
544
|
+
},
|
|
545
|
+
"limit": {
|
|
546
|
+
"description": "Maximum number of items to return (lists)",
|
|
547
|
+
"helpGroup": "GLOBAL",
|
|
548
|
+
"name": "limit",
|
|
549
|
+
"hasDynamicHelp": false,
|
|
550
|
+
"multiple": false,
|
|
551
|
+
"type": "option"
|
|
552
|
+
},
|
|
553
|
+
"period": {
|
|
554
|
+
"description": "Trailing window for closed deals (Nd or Nm)",
|
|
555
|
+
"name": "period",
|
|
556
|
+
"default": "90d",
|
|
557
|
+
"hasDynamicHelp": false,
|
|
558
|
+
"multiple": false,
|
|
559
|
+
"type": "option"
|
|
560
|
+
},
|
|
561
|
+
"pipeline": {
|
|
562
|
+
"description": "Pipeline ID (required when the account has several)",
|
|
563
|
+
"name": "pipeline",
|
|
564
|
+
"hasDynamicHelp": false,
|
|
565
|
+
"multiple": false,
|
|
566
|
+
"type": "option"
|
|
567
|
+
}
|
|
568
|
+
},
|
|
569
|
+
"hasDynamicHelp": false,
|
|
570
|
+
"hiddenAliases": [],
|
|
571
|
+
"id": "funnel",
|
|
572
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
573
|
+
"pluginName": "@wavyx/pdcli",
|
|
574
|
+
"pluginType": "core",
|
|
575
|
+
"strict": true,
|
|
576
|
+
"enableJsonFlag": false,
|
|
577
|
+
"isESM": true,
|
|
578
|
+
"relativePath": [
|
|
579
|
+
"src",
|
|
580
|
+
"commands",
|
|
581
|
+
"funnel.js"
|
|
582
|
+
]
|
|
583
|
+
},
|
|
351
584
|
"search": {
|
|
352
585
|
"aliases": [],
|
|
353
586
|
"args": {
|
|
@@ -1724,14 +1957,15 @@
|
|
|
1724
1957
|
"status.js"
|
|
1725
1958
|
]
|
|
1726
1959
|
},
|
|
1727
|
-
"deal:
|
|
1960
|
+
"deal:bulk-update": {
|
|
1728
1961
|
"aliases": [],
|
|
1729
1962
|
"args": {},
|
|
1730
|
-
"description": "
|
|
1963
|
+
"description": "Update many deals at once (by --ids, a saved --filter, or ids piped on stdin)",
|
|
1731
1964
|
"examples": [
|
|
1732
|
-
"<%= config.bin %> deal
|
|
1733
|
-
"<%= config.bin %> deal
|
|
1734
|
-
"<%= config.bin %> deal
|
|
1965
|
+
"<%= config.bin %> deal bulk-update --ids 1,2,3 --stage 5",
|
|
1966
|
+
"<%= config.bin %> deal bulk-update --filter 9 --status won",
|
|
1967
|
+
"<%= config.bin %> deal list --status open --jq '.[].id' | <%= config.bin %> deal bulk-update --owner 42",
|
|
1968
|
+
"<%= config.bin %> deal bulk-update --filter 9 --stage 5 --dry-run"
|
|
1735
1969
|
],
|
|
1736
1970
|
"flags": {
|
|
1737
1971
|
"output": {
|
|
@@ -1811,30 +2045,42 @@
|
|
|
1811
2045
|
"multiple": false,
|
|
1812
2046
|
"type": "option"
|
|
1813
2047
|
},
|
|
1814
|
-
"
|
|
1815
|
-
"description": "
|
|
1816
|
-
"
|
|
1817
|
-
|
|
2048
|
+
"ids": {
|
|
2049
|
+
"description": "Comma-separated deal IDs",
|
|
2050
|
+
"exclusive": [
|
|
2051
|
+
"filter"
|
|
2052
|
+
],
|
|
2053
|
+
"name": "ids",
|
|
1818
2054
|
"hasDynamicHelp": false,
|
|
1819
2055
|
"multiple": false,
|
|
1820
2056
|
"type": "option"
|
|
1821
2057
|
},
|
|
1822
|
-
"
|
|
1823
|
-
"description": "
|
|
1824
|
-
"
|
|
2058
|
+
"filter": {
|
|
2059
|
+
"description": "Pipedrive saved filter ID to select deals",
|
|
2060
|
+
"exclusive": [
|
|
2061
|
+
"ids"
|
|
2062
|
+
],
|
|
2063
|
+
"name": "filter",
|
|
1825
2064
|
"hasDynamicHelp": false,
|
|
1826
2065
|
"multiple": false,
|
|
1827
2066
|
"type": "option"
|
|
1828
2067
|
},
|
|
1829
|
-
"
|
|
1830
|
-
"description": "
|
|
1831
|
-
"name": "
|
|
2068
|
+
"stage": {
|
|
2069
|
+
"description": "Move to stage ID",
|
|
2070
|
+
"name": "stage",
|
|
2071
|
+
"hasDynamicHelp": false,
|
|
2072
|
+
"multiple": false,
|
|
2073
|
+
"type": "option"
|
|
2074
|
+
},
|
|
2075
|
+
"pipeline": {
|
|
2076
|
+
"description": "Move to pipeline ID",
|
|
2077
|
+
"name": "pipeline",
|
|
1832
2078
|
"hasDynamicHelp": false,
|
|
1833
2079
|
"multiple": false,
|
|
1834
2080
|
"type": "option"
|
|
1835
2081
|
},
|
|
1836
2082
|
"status": {
|
|
1837
|
-
"description": "
|
|
2083
|
+
"description": "Set status",
|
|
1838
2084
|
"name": "status",
|
|
1839
2085
|
"hasDynamicHelp": false,
|
|
1840
2086
|
"multiple": false,
|
|
@@ -1845,23 +2091,195 @@
|
|
|
1845
2091
|
],
|
|
1846
2092
|
"type": "option"
|
|
1847
2093
|
},
|
|
1848
|
-
"
|
|
1849
|
-
"description": "
|
|
1850
|
-
"name": "
|
|
2094
|
+
"owner": {
|
|
2095
|
+
"description": "Assign owner (user) ID",
|
|
2096
|
+
"name": "owner",
|
|
1851
2097
|
"hasDynamicHelp": false,
|
|
1852
2098
|
"multiple": false,
|
|
1853
2099
|
"type": "option"
|
|
1854
2100
|
},
|
|
1855
|
-
"
|
|
1856
|
-
"description": "
|
|
1857
|
-
"name": "
|
|
2101
|
+
"field": {
|
|
2102
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
2103
|
+
"name": "field",
|
|
1858
2104
|
"hasDynamicHelp": false,
|
|
1859
|
-
"multiple":
|
|
2105
|
+
"multiple": true,
|
|
1860
2106
|
"type": "option"
|
|
1861
2107
|
},
|
|
1862
|
-
"
|
|
1863
|
-
"description": "
|
|
1864
|
-
"name": "
|
|
2108
|
+
"body": {
|
|
2109
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
2110
|
+
"name": "body",
|
|
2111
|
+
"hasDynamicHelp": false,
|
|
2112
|
+
"multiple": false,
|
|
2113
|
+
"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
|
+
}
|
|
2128
|
+
},
|
|
2129
|
+
"hasDynamicHelp": false,
|
|
2130
|
+
"hiddenAliases": [],
|
|
2131
|
+
"id": "deal:bulk-update",
|
|
2132
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
2133
|
+
"pluginName": "@wavyx/pdcli",
|
|
2134
|
+
"pluginType": "core",
|
|
2135
|
+
"strict": true,
|
|
2136
|
+
"enableJsonFlag": false,
|
|
2137
|
+
"isESM": true,
|
|
2138
|
+
"relativePath": [
|
|
2139
|
+
"src",
|
|
2140
|
+
"commands",
|
|
2141
|
+
"deal",
|
|
2142
|
+
"bulk-update.js"
|
|
2143
|
+
]
|
|
2144
|
+
},
|
|
2145
|
+
"deal:create": {
|
|
2146
|
+
"aliases": [],
|
|
2147
|
+
"args": {},
|
|
2148
|
+
"description": "Create a deal",
|
|
2149
|
+
"examples": [
|
|
2150
|
+
"<%= config.bin %> deal create --title \"Acme renewal\" --value 5000 --currency EUR",
|
|
2151
|
+
"<%= config.bin %> deal create --title \"Sized\" --field \"Deal Size=Large\"",
|
|
2152
|
+
"<%= config.bin %> deal create --title \"Raw\" --body '{\"probability\":75}'"
|
|
2153
|
+
],
|
|
2154
|
+
"flags": {
|
|
2155
|
+
"output": {
|
|
2156
|
+
"char": "o",
|
|
2157
|
+
"description": "Output format",
|
|
2158
|
+
"helpGroup": "GLOBAL",
|
|
2159
|
+
"name": "output",
|
|
2160
|
+
"hasDynamicHelp": false,
|
|
2161
|
+
"multiple": false,
|
|
2162
|
+
"options": [
|
|
2163
|
+
"table",
|
|
2164
|
+
"json",
|
|
2165
|
+
"yaml",
|
|
2166
|
+
"csv"
|
|
2167
|
+
],
|
|
2168
|
+
"type": "option"
|
|
2169
|
+
},
|
|
2170
|
+
"jq": {
|
|
2171
|
+
"description": "jq expression to filter JSON output",
|
|
2172
|
+
"helpGroup": "GLOBAL",
|
|
2173
|
+
"name": "jq",
|
|
2174
|
+
"hasDynamicHelp": false,
|
|
2175
|
+
"multiple": false,
|
|
2176
|
+
"type": "option"
|
|
2177
|
+
},
|
|
2178
|
+
"fields": {
|
|
2179
|
+
"description": "Comma-separated fields to display",
|
|
2180
|
+
"helpGroup": "GLOBAL",
|
|
2181
|
+
"name": "fields",
|
|
2182
|
+
"hasDynamicHelp": false,
|
|
2183
|
+
"multiple": false,
|
|
2184
|
+
"type": "option"
|
|
2185
|
+
},
|
|
2186
|
+
"profile": {
|
|
2187
|
+
"description": "Named auth profile to use",
|
|
2188
|
+
"env": "PDCLI_PROFILE",
|
|
2189
|
+
"helpGroup": "GLOBAL",
|
|
2190
|
+
"name": "profile",
|
|
2191
|
+
"hasDynamicHelp": false,
|
|
2192
|
+
"multiple": false,
|
|
2193
|
+
"type": "option"
|
|
2194
|
+
},
|
|
2195
|
+
"no-color": {
|
|
2196
|
+
"description": "Disable color output",
|
|
2197
|
+
"helpGroup": "GLOBAL",
|
|
2198
|
+
"name": "no-color",
|
|
2199
|
+
"allowNo": false,
|
|
2200
|
+
"type": "boolean"
|
|
2201
|
+
},
|
|
2202
|
+
"verbose": {
|
|
2203
|
+
"description": "Show detailed API request/response on errors",
|
|
2204
|
+
"helpGroup": "GLOBAL",
|
|
2205
|
+
"name": "verbose",
|
|
2206
|
+
"allowNo": false,
|
|
2207
|
+
"type": "boolean"
|
|
2208
|
+
},
|
|
2209
|
+
"no-retry": {
|
|
2210
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
2211
|
+
"helpGroup": "GLOBAL",
|
|
2212
|
+
"name": "no-retry",
|
|
2213
|
+
"allowNo": false,
|
|
2214
|
+
"type": "boolean"
|
|
2215
|
+
},
|
|
2216
|
+
"timeout": {
|
|
2217
|
+
"description": "Request timeout in milliseconds",
|
|
2218
|
+
"helpGroup": "GLOBAL",
|
|
2219
|
+
"name": "timeout",
|
|
2220
|
+
"hasDynamicHelp": false,
|
|
2221
|
+
"multiple": false,
|
|
2222
|
+
"type": "option"
|
|
2223
|
+
},
|
|
2224
|
+
"limit": {
|
|
2225
|
+
"description": "Maximum number of items to return (lists)",
|
|
2226
|
+
"helpGroup": "GLOBAL",
|
|
2227
|
+
"name": "limit",
|
|
2228
|
+
"hasDynamicHelp": false,
|
|
2229
|
+
"multiple": false,
|
|
2230
|
+
"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",
|
|
1865
2283
|
"hasDynamicHelp": false,
|
|
1866
2284
|
"multiple": false,
|
|
1867
2285
|
"type": "option"
|
|
@@ -4565,14 +4983,13 @@
|
|
|
4565
4983
|
"update.js"
|
|
4566
4984
|
]
|
|
4567
4985
|
},
|
|
4568
|
-
"
|
|
4986
|
+
"metrics:velocity": {
|
|
4569
4987
|
"aliases": [],
|
|
4570
4988
|
"args": {},
|
|
4571
|
-
"description": "
|
|
4989
|
+
"description": "Sales Velocity Equation: (open × win rate × avg won value) / cycle days",
|
|
4572
4990
|
"examples": [
|
|
4573
|
-
"<%= config.bin %>
|
|
4574
|
-
"<%= config.bin %>
|
|
4575
|
-
"<%= config.bin %> note create --content \"Pinned\" --body '{\"pinned_to_deal_flag\":1}'"
|
|
4991
|
+
"<%= config.bin %> metrics velocity",
|
|
4992
|
+
"<%= config.bin %> metrics velocity --period 30d --pipeline 1"
|
|
4576
4993
|
],
|
|
4577
4994
|
"flags": {
|
|
4578
4995
|
"output": {
|
|
@@ -4652,45 +5069,24 @@
|
|
|
4652
5069
|
"multiple": false,
|
|
4653
5070
|
"type": "option"
|
|
4654
5071
|
},
|
|
4655
|
-
"
|
|
4656
|
-
"description": "
|
|
4657
|
-
"name": "
|
|
4658
|
-
"
|
|
4659
|
-
"hasDynamicHelp": false,
|
|
4660
|
-
"multiple": false,
|
|
4661
|
-
"type": "option"
|
|
4662
|
-
},
|
|
4663
|
-
"deal": {
|
|
4664
|
-
"description": "Attach to deal ID",
|
|
4665
|
-
"name": "deal",
|
|
4666
|
-
"hasDynamicHelp": false,
|
|
4667
|
-
"multiple": false,
|
|
4668
|
-
"type": "option"
|
|
4669
|
-
},
|
|
4670
|
-
"person": {
|
|
4671
|
-
"description": "Attach to person ID",
|
|
4672
|
-
"name": "person",
|
|
4673
|
-
"hasDynamicHelp": false,
|
|
4674
|
-
"multiple": false,
|
|
4675
|
-
"type": "option"
|
|
4676
|
-
},
|
|
4677
|
-
"org": {
|
|
4678
|
-
"description": "Attach to organization ID",
|
|
4679
|
-
"name": "org",
|
|
5072
|
+
"period": {
|
|
5073
|
+
"description": "Trailing window for closed deals (Nd or Nm)",
|
|
5074
|
+
"name": "period",
|
|
5075
|
+
"default": "90d",
|
|
4680
5076
|
"hasDynamicHelp": false,
|
|
4681
5077
|
"multiple": false,
|
|
4682
5078
|
"type": "option"
|
|
4683
5079
|
},
|
|
4684
|
-
"
|
|
4685
|
-
"description": "
|
|
4686
|
-
"name": "
|
|
5080
|
+
"pipeline": {
|
|
5081
|
+
"description": "Restrict to a pipeline ID",
|
|
5082
|
+
"name": "pipeline",
|
|
4687
5083
|
"hasDynamicHelp": false,
|
|
4688
5084
|
"multiple": false,
|
|
4689
5085
|
"type": "option"
|
|
4690
5086
|
},
|
|
4691
|
-
"
|
|
4692
|
-
"description": "
|
|
4693
|
-
"name": "
|
|
5087
|
+
"owner": {
|
|
5088
|
+
"description": "Restrict to an owner (user) ID",
|
|
5089
|
+
"name": "owner",
|
|
4694
5090
|
"hasDynamicHelp": false,
|
|
4695
5091
|
"multiple": false,
|
|
4696
5092
|
"type": "option"
|
|
@@ -4698,7 +5094,7 @@
|
|
|
4698
5094
|
},
|
|
4699
5095
|
"hasDynamicHelp": false,
|
|
4700
5096
|
"hiddenAliases": [],
|
|
4701
|
-
"id": "
|
|
5097
|
+
"id": "metrics:velocity",
|
|
4702
5098
|
"pluginAlias": "@wavyx/pdcli",
|
|
4703
5099
|
"pluginName": "@wavyx/pdcli",
|
|
4704
5100
|
"pluginType": "core",
|
|
@@ -4708,23 +5104,18 @@
|
|
|
4708
5104
|
"relativePath": [
|
|
4709
5105
|
"src",
|
|
4710
5106
|
"commands",
|
|
4711
|
-
"
|
|
4712
|
-
"
|
|
5107
|
+
"metrics",
|
|
5108
|
+
"velocity.js"
|
|
4713
5109
|
]
|
|
4714
5110
|
},
|
|
4715
|
-
"note:
|
|
5111
|
+
"note:create": {
|
|
4716
5112
|
"aliases": [],
|
|
4717
|
-
"args": {
|
|
4718
|
-
|
|
4719
|
-
"description": "Note ID",
|
|
4720
|
-
"name": "id",
|
|
4721
|
-
"required": true
|
|
4722
|
-
}
|
|
4723
|
-
},
|
|
4724
|
-
"description": "Delete a note",
|
|
5113
|
+
"args": {},
|
|
5114
|
+
"description": "Create a note",
|
|
4725
5115
|
"examples": [
|
|
4726
|
-
"<%= config.bin %> note
|
|
4727
|
-
"<%= config.bin %> note
|
|
5116
|
+
"<%= config.bin %> note create --content \"Called the lead\"",
|
|
5117
|
+
"<%= config.bin %> note create --content \"Follow up\" --deal 42",
|
|
5118
|
+
"<%= config.bin %> note create --content \"Pinned\" --body '{\"pinned_to_deal_flag\":1}'"
|
|
4728
5119
|
],
|
|
4729
5120
|
"flags": {
|
|
4730
5121
|
"output": {
|
|
@@ -4804,35 +5195,187 @@
|
|
|
4804
5195
|
"multiple": false,
|
|
4805
5196
|
"type": "option"
|
|
4806
5197
|
},
|
|
4807
|
-
"
|
|
4808
|
-
"
|
|
4809
|
-
"
|
|
4810
|
-
"
|
|
4811
|
-
"
|
|
4812
|
-
"
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
5198
|
+
"content": {
|
|
5199
|
+
"description": "Note content",
|
|
5200
|
+
"name": "content",
|
|
5201
|
+
"required": true,
|
|
5202
|
+
"hasDynamicHelp": false,
|
|
5203
|
+
"multiple": false,
|
|
5204
|
+
"type": "option"
|
|
5205
|
+
},
|
|
5206
|
+
"deal": {
|
|
5207
|
+
"description": "Attach to deal ID",
|
|
5208
|
+
"name": "deal",
|
|
5209
|
+
"hasDynamicHelp": false,
|
|
5210
|
+
"multiple": false,
|
|
5211
|
+
"type": "option"
|
|
5212
|
+
},
|
|
5213
|
+
"person": {
|
|
5214
|
+
"description": "Attach to person ID",
|
|
5215
|
+
"name": "person",
|
|
5216
|
+
"hasDynamicHelp": false,
|
|
5217
|
+
"multiple": false,
|
|
5218
|
+
"type": "option"
|
|
5219
|
+
},
|
|
5220
|
+
"org": {
|
|
5221
|
+
"description": "Attach to organization ID",
|
|
5222
|
+
"name": "org",
|
|
5223
|
+
"hasDynamicHelp": false,
|
|
5224
|
+
"multiple": false,
|
|
5225
|
+
"type": "option"
|
|
5226
|
+
},
|
|
5227
|
+
"lead": {
|
|
5228
|
+
"description": "Attach to lead ID (UUID)",
|
|
5229
|
+
"name": "lead",
|
|
5230
|
+
"hasDynamicHelp": false,
|
|
5231
|
+
"multiple": false,
|
|
5232
|
+
"type": "option"
|
|
5233
|
+
},
|
|
5234
|
+
"body": {
|
|
5235
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
5236
|
+
"name": "body",
|
|
5237
|
+
"hasDynamicHelp": false,
|
|
5238
|
+
"multiple": false,
|
|
5239
|
+
"type": "option"
|
|
5240
|
+
}
|
|
5241
|
+
},
|
|
5242
|
+
"hasDynamicHelp": false,
|
|
5243
|
+
"hiddenAliases": [],
|
|
5244
|
+
"id": "note:create",
|
|
5245
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
5246
|
+
"pluginName": "@wavyx/pdcli",
|
|
5247
|
+
"pluginType": "core",
|
|
5248
|
+
"strict": true,
|
|
5249
|
+
"enableJsonFlag": false,
|
|
5250
|
+
"isESM": true,
|
|
5251
|
+
"relativePath": [
|
|
5252
|
+
"src",
|
|
5253
|
+
"commands",
|
|
5254
|
+
"note",
|
|
5255
|
+
"create.js"
|
|
5256
|
+
]
|
|
5257
|
+
},
|
|
5258
|
+
"note:delete": {
|
|
5259
|
+
"aliases": [],
|
|
5260
|
+
"args": {
|
|
5261
|
+
"id": {
|
|
5262
|
+
"description": "Note ID",
|
|
5263
|
+
"name": "id",
|
|
5264
|
+
"required": true
|
|
5265
|
+
}
|
|
5266
|
+
},
|
|
5267
|
+
"description": "Delete a note",
|
|
5268
|
+
"examples": [
|
|
5269
|
+
"<%= config.bin %> note delete 5",
|
|
5270
|
+
"<%= config.bin %> note delete 5 --yes"
|
|
5271
|
+
],
|
|
5272
|
+
"flags": {
|
|
5273
|
+
"output": {
|
|
5274
|
+
"char": "o",
|
|
5275
|
+
"description": "Output format",
|
|
5276
|
+
"helpGroup": "GLOBAL",
|
|
5277
|
+
"name": "output",
|
|
5278
|
+
"hasDynamicHelp": false,
|
|
5279
|
+
"multiple": false,
|
|
5280
|
+
"options": [
|
|
5281
|
+
"table",
|
|
5282
|
+
"json",
|
|
5283
|
+
"yaml",
|
|
5284
|
+
"csv"
|
|
5285
|
+
],
|
|
5286
|
+
"type": "option"
|
|
5287
|
+
},
|
|
5288
|
+
"jq": {
|
|
5289
|
+
"description": "jq expression to filter JSON output",
|
|
5290
|
+
"helpGroup": "GLOBAL",
|
|
5291
|
+
"name": "jq",
|
|
5292
|
+
"hasDynamicHelp": false,
|
|
5293
|
+
"multiple": false,
|
|
5294
|
+
"type": "option"
|
|
5295
|
+
},
|
|
5296
|
+
"fields": {
|
|
5297
|
+
"description": "Comma-separated fields to display",
|
|
5298
|
+
"helpGroup": "GLOBAL",
|
|
5299
|
+
"name": "fields",
|
|
5300
|
+
"hasDynamicHelp": false,
|
|
5301
|
+
"multiple": false,
|
|
5302
|
+
"type": "option"
|
|
5303
|
+
},
|
|
5304
|
+
"profile": {
|
|
5305
|
+
"description": "Named auth profile to use",
|
|
5306
|
+
"env": "PDCLI_PROFILE",
|
|
5307
|
+
"helpGroup": "GLOBAL",
|
|
5308
|
+
"name": "profile",
|
|
5309
|
+
"hasDynamicHelp": false,
|
|
5310
|
+
"multiple": false,
|
|
5311
|
+
"type": "option"
|
|
5312
|
+
},
|
|
5313
|
+
"no-color": {
|
|
5314
|
+
"description": "Disable color output",
|
|
5315
|
+
"helpGroup": "GLOBAL",
|
|
5316
|
+
"name": "no-color",
|
|
5317
|
+
"allowNo": false,
|
|
5318
|
+
"type": "boolean"
|
|
5319
|
+
},
|
|
5320
|
+
"verbose": {
|
|
5321
|
+
"description": "Show detailed API request/response on errors",
|
|
5322
|
+
"helpGroup": "GLOBAL",
|
|
5323
|
+
"name": "verbose",
|
|
5324
|
+
"allowNo": false,
|
|
5325
|
+
"type": "boolean"
|
|
5326
|
+
},
|
|
5327
|
+
"no-retry": {
|
|
5328
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
5329
|
+
"helpGroup": "GLOBAL",
|
|
5330
|
+
"name": "no-retry",
|
|
5331
|
+
"allowNo": false,
|
|
5332
|
+
"type": "boolean"
|
|
5333
|
+
},
|
|
5334
|
+
"timeout": {
|
|
5335
|
+
"description": "Request timeout in milliseconds",
|
|
5336
|
+
"helpGroup": "GLOBAL",
|
|
5337
|
+
"name": "timeout",
|
|
5338
|
+
"hasDynamicHelp": false,
|
|
5339
|
+
"multiple": false,
|
|
5340
|
+
"type": "option"
|
|
5341
|
+
},
|
|
5342
|
+
"limit": {
|
|
5343
|
+
"description": "Maximum number of items to return (lists)",
|
|
5344
|
+
"helpGroup": "GLOBAL",
|
|
5345
|
+
"name": "limit",
|
|
5346
|
+
"hasDynamicHelp": false,
|
|
5347
|
+
"multiple": false,
|
|
5348
|
+
"type": "option"
|
|
5349
|
+
},
|
|
5350
|
+
"yes": {
|
|
5351
|
+
"char": "y",
|
|
5352
|
+
"description": "Skip the confirmation prompt",
|
|
5353
|
+
"name": "yes",
|
|
5354
|
+
"allowNo": false,
|
|
5355
|
+
"type": "boolean"
|
|
5356
|
+
}
|
|
5357
|
+
},
|
|
5358
|
+
"hasDynamicHelp": false,
|
|
5359
|
+
"hiddenAliases": [],
|
|
5360
|
+
"id": "note:delete",
|
|
5361
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
5362
|
+
"pluginName": "@wavyx/pdcli",
|
|
5363
|
+
"pluginType": "core",
|
|
5364
|
+
"strict": true,
|
|
5365
|
+
"enableJsonFlag": false,
|
|
5366
|
+
"isESM": true,
|
|
5367
|
+
"relativePath": [
|
|
5368
|
+
"src",
|
|
5369
|
+
"commands",
|
|
5370
|
+
"note",
|
|
5371
|
+
"delete.js"
|
|
5372
|
+
]
|
|
5373
|
+
},
|
|
5374
|
+
"note:get": {
|
|
5375
|
+
"aliases": [],
|
|
5376
|
+
"args": {
|
|
5377
|
+
"id": {
|
|
5378
|
+
"description": "Note ID",
|
|
4836
5379
|
"name": "id",
|
|
4837
5380
|
"required": true
|
|
4838
5381
|
}
|
|
@@ -5542,6 +6085,128 @@
|
|
|
5542
6085
|
"get.js"
|
|
5543
6086
|
]
|
|
5544
6087
|
},
|
|
6088
|
+
"org:import": {
|
|
6089
|
+
"aliases": [],
|
|
6090
|
+
"args": {
|
|
6091
|
+
"file": {
|
|
6092
|
+
"description": "CSV file path",
|
|
6093
|
+
"name": "file",
|
|
6094
|
+
"required": true
|
|
6095
|
+
}
|
|
6096
|
+
},
|
|
6097
|
+
"description": "Bulk-create organizations from a CSV (headers map to fields, custom fields by name)",
|
|
6098
|
+
"examples": [
|
|
6099
|
+
"<%= config.bin %> org import orgs.csv",
|
|
6100
|
+
"<%= config.bin %> org import orgs.csv --dry-run"
|
|
6101
|
+
],
|
|
6102
|
+
"flags": {
|
|
6103
|
+
"output": {
|
|
6104
|
+
"char": "o",
|
|
6105
|
+
"description": "Output format",
|
|
6106
|
+
"helpGroup": "GLOBAL",
|
|
6107
|
+
"name": "output",
|
|
6108
|
+
"hasDynamicHelp": false,
|
|
6109
|
+
"multiple": false,
|
|
6110
|
+
"options": [
|
|
6111
|
+
"table",
|
|
6112
|
+
"json",
|
|
6113
|
+
"yaml",
|
|
6114
|
+
"csv"
|
|
6115
|
+
],
|
|
6116
|
+
"type": "option"
|
|
6117
|
+
},
|
|
6118
|
+
"jq": {
|
|
6119
|
+
"description": "jq expression to filter JSON output",
|
|
6120
|
+
"helpGroup": "GLOBAL",
|
|
6121
|
+
"name": "jq",
|
|
6122
|
+
"hasDynamicHelp": false,
|
|
6123
|
+
"multiple": false,
|
|
6124
|
+
"type": "option"
|
|
6125
|
+
},
|
|
6126
|
+
"fields": {
|
|
6127
|
+
"description": "Comma-separated fields to display",
|
|
6128
|
+
"helpGroup": "GLOBAL",
|
|
6129
|
+
"name": "fields",
|
|
6130
|
+
"hasDynamicHelp": false,
|
|
6131
|
+
"multiple": false,
|
|
6132
|
+
"type": "option"
|
|
6133
|
+
},
|
|
6134
|
+
"profile": {
|
|
6135
|
+
"description": "Named auth profile to use",
|
|
6136
|
+
"env": "PDCLI_PROFILE",
|
|
6137
|
+
"helpGroup": "GLOBAL",
|
|
6138
|
+
"name": "profile",
|
|
6139
|
+
"hasDynamicHelp": false,
|
|
6140
|
+
"multiple": false,
|
|
6141
|
+
"type": "option"
|
|
6142
|
+
},
|
|
6143
|
+
"no-color": {
|
|
6144
|
+
"description": "Disable color output",
|
|
6145
|
+
"helpGroup": "GLOBAL",
|
|
6146
|
+
"name": "no-color",
|
|
6147
|
+
"allowNo": false,
|
|
6148
|
+
"type": "boolean"
|
|
6149
|
+
},
|
|
6150
|
+
"verbose": {
|
|
6151
|
+
"description": "Show detailed API request/response on errors",
|
|
6152
|
+
"helpGroup": "GLOBAL",
|
|
6153
|
+
"name": "verbose",
|
|
6154
|
+
"allowNo": false,
|
|
6155
|
+
"type": "boolean"
|
|
6156
|
+
},
|
|
6157
|
+
"no-retry": {
|
|
6158
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
6159
|
+
"helpGroup": "GLOBAL",
|
|
6160
|
+
"name": "no-retry",
|
|
6161
|
+
"allowNo": false,
|
|
6162
|
+
"type": "boolean"
|
|
6163
|
+
},
|
|
6164
|
+
"timeout": {
|
|
6165
|
+
"description": "Request timeout in milliseconds",
|
|
6166
|
+
"helpGroup": "GLOBAL",
|
|
6167
|
+
"name": "timeout",
|
|
6168
|
+
"hasDynamicHelp": false,
|
|
6169
|
+
"multiple": false,
|
|
6170
|
+
"type": "option"
|
|
6171
|
+
},
|
|
6172
|
+
"limit": {
|
|
6173
|
+
"description": "Maximum number of items to return (lists)",
|
|
6174
|
+
"helpGroup": "GLOBAL",
|
|
6175
|
+
"name": "limit",
|
|
6176
|
+
"hasDynamicHelp": false,
|
|
6177
|
+
"multiple": false,
|
|
6178
|
+
"type": "option"
|
|
6179
|
+
},
|
|
6180
|
+
"dry-run": {
|
|
6181
|
+
"description": "Validate every row without creating anything",
|
|
6182
|
+
"name": "dry-run",
|
|
6183
|
+
"allowNo": false,
|
|
6184
|
+
"type": "boolean"
|
|
6185
|
+
},
|
|
6186
|
+
"yes": {
|
|
6187
|
+
"char": "y",
|
|
6188
|
+
"description": "Skip the confirmation prompt",
|
|
6189
|
+
"name": "yes",
|
|
6190
|
+
"allowNo": false,
|
|
6191
|
+
"type": "boolean"
|
|
6192
|
+
}
|
|
6193
|
+
},
|
|
6194
|
+
"hasDynamicHelp": false,
|
|
6195
|
+
"hiddenAliases": [],
|
|
6196
|
+
"id": "org:import",
|
|
6197
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
6198
|
+
"pluginName": "@wavyx/pdcli",
|
|
6199
|
+
"pluginType": "core",
|
|
6200
|
+
"strict": true,
|
|
6201
|
+
"enableJsonFlag": false,
|
|
6202
|
+
"isESM": true,
|
|
6203
|
+
"relativePath": [
|
|
6204
|
+
"src",
|
|
6205
|
+
"commands",
|
|
6206
|
+
"org",
|
|
6207
|
+
"import.js"
|
|
6208
|
+
]
|
|
6209
|
+
},
|
|
5545
6210
|
"org:list": {
|
|
5546
6211
|
"aliases": [],
|
|
5547
6212
|
"args": {},
|
|
@@ -6169,6 +6834,128 @@
|
|
|
6169
6834
|
"get.js"
|
|
6170
6835
|
]
|
|
6171
6836
|
},
|
|
6837
|
+
"person:import": {
|
|
6838
|
+
"aliases": [],
|
|
6839
|
+
"args": {
|
|
6840
|
+
"file": {
|
|
6841
|
+
"description": "CSV file path",
|
|
6842
|
+
"name": "file",
|
|
6843
|
+
"required": true
|
|
6844
|
+
}
|
|
6845
|
+
},
|
|
6846
|
+
"description": "Bulk-create persons from a CSV (headers map to fields, custom fields by name)",
|
|
6847
|
+
"examples": [
|
|
6848
|
+
"<%= config.bin %> person import people.csv",
|
|
6849
|
+
"<%= config.bin %> person import people.csv --dry-run"
|
|
6850
|
+
],
|
|
6851
|
+
"flags": {
|
|
6852
|
+
"output": {
|
|
6853
|
+
"char": "o",
|
|
6854
|
+
"description": "Output format",
|
|
6855
|
+
"helpGroup": "GLOBAL",
|
|
6856
|
+
"name": "output",
|
|
6857
|
+
"hasDynamicHelp": false,
|
|
6858
|
+
"multiple": false,
|
|
6859
|
+
"options": [
|
|
6860
|
+
"table",
|
|
6861
|
+
"json",
|
|
6862
|
+
"yaml",
|
|
6863
|
+
"csv"
|
|
6864
|
+
],
|
|
6865
|
+
"type": "option"
|
|
6866
|
+
},
|
|
6867
|
+
"jq": {
|
|
6868
|
+
"description": "jq expression to filter JSON output",
|
|
6869
|
+
"helpGroup": "GLOBAL",
|
|
6870
|
+
"name": "jq",
|
|
6871
|
+
"hasDynamicHelp": false,
|
|
6872
|
+
"multiple": false,
|
|
6873
|
+
"type": "option"
|
|
6874
|
+
},
|
|
6875
|
+
"fields": {
|
|
6876
|
+
"description": "Comma-separated fields to display",
|
|
6877
|
+
"helpGroup": "GLOBAL",
|
|
6878
|
+
"name": "fields",
|
|
6879
|
+
"hasDynamicHelp": false,
|
|
6880
|
+
"multiple": false,
|
|
6881
|
+
"type": "option"
|
|
6882
|
+
},
|
|
6883
|
+
"profile": {
|
|
6884
|
+
"description": "Named auth profile to use",
|
|
6885
|
+
"env": "PDCLI_PROFILE",
|
|
6886
|
+
"helpGroup": "GLOBAL",
|
|
6887
|
+
"name": "profile",
|
|
6888
|
+
"hasDynamicHelp": false,
|
|
6889
|
+
"multiple": false,
|
|
6890
|
+
"type": "option"
|
|
6891
|
+
},
|
|
6892
|
+
"no-color": {
|
|
6893
|
+
"description": "Disable color output",
|
|
6894
|
+
"helpGroup": "GLOBAL",
|
|
6895
|
+
"name": "no-color",
|
|
6896
|
+
"allowNo": false,
|
|
6897
|
+
"type": "boolean"
|
|
6898
|
+
},
|
|
6899
|
+
"verbose": {
|
|
6900
|
+
"description": "Show detailed API request/response on errors",
|
|
6901
|
+
"helpGroup": "GLOBAL",
|
|
6902
|
+
"name": "verbose",
|
|
6903
|
+
"allowNo": false,
|
|
6904
|
+
"type": "boolean"
|
|
6905
|
+
},
|
|
6906
|
+
"no-retry": {
|
|
6907
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
6908
|
+
"helpGroup": "GLOBAL",
|
|
6909
|
+
"name": "no-retry",
|
|
6910
|
+
"allowNo": false,
|
|
6911
|
+
"type": "boolean"
|
|
6912
|
+
},
|
|
6913
|
+
"timeout": {
|
|
6914
|
+
"description": "Request timeout in milliseconds",
|
|
6915
|
+
"helpGroup": "GLOBAL",
|
|
6916
|
+
"name": "timeout",
|
|
6917
|
+
"hasDynamicHelp": false,
|
|
6918
|
+
"multiple": false,
|
|
6919
|
+
"type": "option"
|
|
6920
|
+
},
|
|
6921
|
+
"limit": {
|
|
6922
|
+
"description": "Maximum number of items to return (lists)",
|
|
6923
|
+
"helpGroup": "GLOBAL",
|
|
6924
|
+
"name": "limit",
|
|
6925
|
+
"hasDynamicHelp": false,
|
|
6926
|
+
"multiple": false,
|
|
6927
|
+
"type": "option"
|
|
6928
|
+
},
|
|
6929
|
+
"dry-run": {
|
|
6930
|
+
"description": "Validate every row without creating anything",
|
|
6931
|
+
"name": "dry-run",
|
|
6932
|
+
"allowNo": false,
|
|
6933
|
+
"type": "boolean"
|
|
6934
|
+
},
|
|
6935
|
+
"yes": {
|
|
6936
|
+
"char": "y",
|
|
6937
|
+
"description": "Skip the confirmation prompt",
|
|
6938
|
+
"name": "yes",
|
|
6939
|
+
"allowNo": false,
|
|
6940
|
+
"type": "boolean"
|
|
6941
|
+
}
|
|
6942
|
+
},
|
|
6943
|
+
"hasDynamicHelp": false,
|
|
6944
|
+
"hiddenAliases": [],
|
|
6945
|
+
"id": "person:import",
|
|
6946
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
6947
|
+
"pluginName": "@wavyx/pdcli",
|
|
6948
|
+
"pluginType": "core",
|
|
6949
|
+
"strict": true,
|
|
6950
|
+
"enableJsonFlag": false,
|
|
6951
|
+
"isESM": true,
|
|
6952
|
+
"relativePath": [
|
|
6953
|
+
"src",
|
|
6954
|
+
"commands",
|
|
6955
|
+
"person",
|
|
6956
|
+
"import.js"
|
|
6957
|
+
]
|
|
6958
|
+
},
|
|
6172
6959
|
"person:list": {
|
|
6173
6960
|
"aliases": [],
|
|
6174
6961
|
"args": {},
|
|
@@ -6554,6 +7341,116 @@
|
|
|
6554
7341
|
"get.js"
|
|
6555
7342
|
]
|
|
6556
7343
|
},
|
|
7344
|
+
"pipeline:health": {
|
|
7345
|
+
"aliases": [],
|
|
7346
|
+
"args": {},
|
|
7347
|
+
"description": "Per-stage pipeline health: value, weighted value, stale deals, missing next steps",
|
|
7348
|
+
"examples": [
|
|
7349
|
+
"<%= config.bin %> pipeline health",
|
|
7350
|
+
"<%= config.bin %> pipeline health --pipeline 1"
|
|
7351
|
+
],
|
|
7352
|
+
"flags": {
|
|
7353
|
+
"output": {
|
|
7354
|
+
"char": "o",
|
|
7355
|
+
"description": "Output format",
|
|
7356
|
+
"helpGroup": "GLOBAL",
|
|
7357
|
+
"name": "output",
|
|
7358
|
+
"hasDynamicHelp": false,
|
|
7359
|
+
"multiple": false,
|
|
7360
|
+
"options": [
|
|
7361
|
+
"table",
|
|
7362
|
+
"json",
|
|
7363
|
+
"yaml",
|
|
7364
|
+
"csv"
|
|
7365
|
+
],
|
|
7366
|
+
"type": "option"
|
|
7367
|
+
},
|
|
7368
|
+
"jq": {
|
|
7369
|
+
"description": "jq expression to filter JSON output",
|
|
7370
|
+
"helpGroup": "GLOBAL",
|
|
7371
|
+
"name": "jq",
|
|
7372
|
+
"hasDynamicHelp": false,
|
|
7373
|
+
"multiple": false,
|
|
7374
|
+
"type": "option"
|
|
7375
|
+
},
|
|
7376
|
+
"fields": {
|
|
7377
|
+
"description": "Comma-separated fields to display",
|
|
7378
|
+
"helpGroup": "GLOBAL",
|
|
7379
|
+
"name": "fields",
|
|
7380
|
+
"hasDynamicHelp": false,
|
|
7381
|
+
"multiple": false,
|
|
7382
|
+
"type": "option"
|
|
7383
|
+
},
|
|
7384
|
+
"profile": {
|
|
7385
|
+
"description": "Named auth profile to use",
|
|
7386
|
+
"env": "PDCLI_PROFILE",
|
|
7387
|
+
"helpGroup": "GLOBAL",
|
|
7388
|
+
"name": "profile",
|
|
7389
|
+
"hasDynamicHelp": false,
|
|
7390
|
+
"multiple": false,
|
|
7391
|
+
"type": "option"
|
|
7392
|
+
},
|
|
7393
|
+
"no-color": {
|
|
7394
|
+
"description": "Disable color output",
|
|
7395
|
+
"helpGroup": "GLOBAL",
|
|
7396
|
+
"name": "no-color",
|
|
7397
|
+
"allowNo": false,
|
|
7398
|
+
"type": "boolean"
|
|
7399
|
+
},
|
|
7400
|
+
"verbose": {
|
|
7401
|
+
"description": "Show detailed API request/response on errors",
|
|
7402
|
+
"helpGroup": "GLOBAL",
|
|
7403
|
+
"name": "verbose",
|
|
7404
|
+
"allowNo": false,
|
|
7405
|
+
"type": "boolean"
|
|
7406
|
+
},
|
|
7407
|
+
"no-retry": {
|
|
7408
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
7409
|
+
"helpGroup": "GLOBAL",
|
|
7410
|
+
"name": "no-retry",
|
|
7411
|
+
"allowNo": false,
|
|
7412
|
+
"type": "boolean"
|
|
7413
|
+
},
|
|
7414
|
+
"timeout": {
|
|
7415
|
+
"description": "Request timeout in milliseconds",
|
|
7416
|
+
"helpGroup": "GLOBAL",
|
|
7417
|
+
"name": "timeout",
|
|
7418
|
+
"hasDynamicHelp": false,
|
|
7419
|
+
"multiple": false,
|
|
7420
|
+
"type": "option"
|
|
7421
|
+
},
|
|
7422
|
+
"limit": {
|
|
7423
|
+
"description": "Maximum number of items to return (lists)",
|
|
7424
|
+
"helpGroup": "GLOBAL",
|
|
7425
|
+
"name": "limit",
|
|
7426
|
+
"hasDynamicHelp": false,
|
|
7427
|
+
"multiple": false,
|
|
7428
|
+
"type": "option"
|
|
7429
|
+
},
|
|
7430
|
+
"pipeline": {
|
|
7431
|
+
"description": "Pipeline ID (required when the account has several)",
|
|
7432
|
+
"name": "pipeline",
|
|
7433
|
+
"hasDynamicHelp": false,
|
|
7434
|
+
"multiple": false,
|
|
7435
|
+
"type": "option"
|
|
7436
|
+
}
|
|
7437
|
+
},
|
|
7438
|
+
"hasDynamicHelp": false,
|
|
7439
|
+
"hiddenAliases": [],
|
|
7440
|
+
"id": "pipeline:health",
|
|
7441
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
7442
|
+
"pluginName": "@wavyx/pdcli",
|
|
7443
|
+
"pluginType": "core",
|
|
7444
|
+
"strict": true,
|
|
7445
|
+
"enableJsonFlag": false,
|
|
7446
|
+
"isESM": true,
|
|
7447
|
+
"relativePath": [
|
|
7448
|
+
"src",
|
|
7449
|
+
"commands",
|
|
7450
|
+
"pipeline",
|
|
7451
|
+
"health.js"
|
|
7452
|
+
]
|
|
7453
|
+
},
|
|
6557
7454
|
"pipeline:list": {
|
|
6558
7455
|
"aliases": [],
|
|
6559
7456
|
"args": {},
|
|
@@ -9051,5 +9948,5 @@
|
|
|
9051
9948
|
]
|
|
9052
9949
|
}
|
|
9053
9950
|
},
|
|
9054
|
-
"version": "0.
|
|
9951
|
+
"version": "0.5.0"
|
|
9055
9952
|
}
|