@wavyx/pdcli 0.8.0 → 0.10.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 +67 -0
- package/README.md +9 -0
- package/oclif.manifest.json +1960 -706
- package/package.json +4 -1
- package/src/base-command.js +22 -3
- package/src/commands/activity/list.js +48 -6
- package/src/commands/deal/history.js +73 -0
- package/src/commands/deal/list.js +41 -3
- package/src/commands/deal/product/add.js +69 -0
- package/src/commands/deal/product/list.js +56 -0
- package/src/commands/deal/product/remove.js +52 -0
- package/src/commands/deal/product/update.js +78 -0
- package/src/commands/funnel.js +7 -49
- package/src/commands/org/list.js +41 -3
- package/src/commands/person/list.js +41 -3
- package/src/commands/product/list.js +36 -3
- package/src/commands/user/find.js +50 -0
- package/src/commands/user/list.js +36 -0
- package/src/commands/webhook/create.js +8 -2
- package/src/lib/aliases.js +85 -5
- package/src/lib/changelog.js +85 -0
- package/src/lib/client.js +135 -117
package/oclif.manifest.json
CHANGED
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"type": "option"
|
|
62
62
|
},
|
|
63
63
|
"resolve-fields": {
|
|
64
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
64
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
65
65
|
"helpGroup": "GLOBAL",
|
|
66
66
|
"name": "resolve-fields",
|
|
67
67
|
"allowNo": false,
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"type": "option"
|
|
179
179
|
},
|
|
180
180
|
"resolve-fields": {
|
|
181
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
181
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
182
182
|
"helpGroup": "GLOBAL",
|
|
183
183
|
"name": "resolve-fields",
|
|
184
184
|
"allowNo": false,
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
"type": "option"
|
|
302
302
|
},
|
|
303
303
|
"resolve-fields": {
|
|
304
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
304
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
305
305
|
"helpGroup": "GLOBAL",
|
|
306
306
|
"name": "resolve-fields",
|
|
307
307
|
"allowNo": false,
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
"type": "option"
|
|
424
424
|
},
|
|
425
425
|
"resolve-fields": {
|
|
426
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
426
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
427
427
|
"helpGroup": "GLOBAL",
|
|
428
428
|
"name": "resolve-fields",
|
|
429
429
|
"allowNo": false,
|
|
@@ -533,7 +533,7 @@
|
|
|
533
533
|
"type": "option"
|
|
534
534
|
},
|
|
535
535
|
"resolve-fields": {
|
|
536
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
536
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
537
537
|
"helpGroup": "GLOBAL",
|
|
538
538
|
"name": "resolve-fields",
|
|
539
539
|
"allowNo": false,
|
|
@@ -669,7 +669,7 @@
|
|
|
669
669
|
"type": "option"
|
|
670
670
|
},
|
|
671
671
|
"resolve-fields": {
|
|
672
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
672
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
673
673
|
"helpGroup": "GLOBAL",
|
|
674
674
|
"name": "resolve-fields",
|
|
675
675
|
"allowNo": false,
|
|
@@ -790,7 +790,7 @@
|
|
|
790
790
|
"type": "option"
|
|
791
791
|
},
|
|
792
792
|
"resolve-fields": {
|
|
793
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
793
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
794
794
|
"helpGroup": "GLOBAL",
|
|
795
795
|
"name": "resolve-fields",
|
|
796
796
|
"allowNo": false,
|
|
@@ -901,7 +901,7 @@
|
|
|
901
901
|
"type": "option"
|
|
902
902
|
},
|
|
903
903
|
"resolve-fields": {
|
|
904
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
904
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
905
905
|
"helpGroup": "GLOBAL",
|
|
906
906
|
"name": "resolve-fields",
|
|
907
907
|
"allowNo": false,
|
|
@@ -1109,7 +1109,7 @@
|
|
|
1109
1109
|
"type": "option"
|
|
1110
1110
|
},
|
|
1111
1111
|
"resolve-fields": {
|
|
1112
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
1112
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
1113
1113
|
"helpGroup": "GLOBAL",
|
|
1114
1114
|
"name": "resolve-fields",
|
|
1115
1115
|
"allowNo": false,
|
|
@@ -1232,7 +1232,7 @@
|
|
|
1232
1232
|
"type": "option"
|
|
1233
1233
|
},
|
|
1234
1234
|
"resolve-fields": {
|
|
1235
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
1235
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
1236
1236
|
"helpGroup": "GLOBAL",
|
|
1237
1237
|
"name": "resolve-fields",
|
|
1238
1238
|
"allowNo": false,
|
|
@@ -1343,7 +1343,7 @@
|
|
|
1343
1343
|
"type": "option"
|
|
1344
1344
|
},
|
|
1345
1345
|
"resolve-fields": {
|
|
1346
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
1346
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
1347
1347
|
"helpGroup": "GLOBAL",
|
|
1348
1348
|
"name": "resolve-fields",
|
|
1349
1349
|
"allowNo": false,
|
|
@@ -1424,7 +1424,7 @@
|
|
|
1424
1424
|
"type": "option"
|
|
1425
1425
|
},
|
|
1426
1426
|
"type": {
|
|
1427
|
-
"description": "Filter by activity type key",
|
|
1427
|
+
"description": "Filter by activity type key (applied client-side)",
|
|
1428
1428
|
"name": "type",
|
|
1429
1429
|
"hasDynamicHelp": false,
|
|
1430
1430
|
"multiple": false,
|
|
@@ -1447,6 +1447,61 @@
|
|
|
1447
1447
|
"name": "todo",
|
|
1448
1448
|
"allowNo": false,
|
|
1449
1449
|
"type": "boolean"
|
|
1450
|
+
},
|
|
1451
|
+
"filter": {
|
|
1452
|
+
"description": "Filter by saved filter ID",
|
|
1453
|
+
"name": "filter",
|
|
1454
|
+
"hasDynamicHelp": false,
|
|
1455
|
+
"multiple": false,
|
|
1456
|
+
"type": "option"
|
|
1457
|
+
},
|
|
1458
|
+
"ids": {
|
|
1459
|
+
"description": "Comma-separated IDs to fetch (max 100)",
|
|
1460
|
+
"exclusive": [
|
|
1461
|
+
"filter"
|
|
1462
|
+
],
|
|
1463
|
+
"name": "ids",
|
|
1464
|
+
"hasDynamicHelp": false,
|
|
1465
|
+
"multiple": false,
|
|
1466
|
+
"type": "option"
|
|
1467
|
+
},
|
|
1468
|
+
"sort-by": {
|
|
1469
|
+
"description": "Sort field",
|
|
1470
|
+
"name": "sort-by",
|
|
1471
|
+
"hasDynamicHelp": false,
|
|
1472
|
+
"multiple": false,
|
|
1473
|
+
"options": [
|
|
1474
|
+
"id",
|
|
1475
|
+
"update_time",
|
|
1476
|
+
"add_time",
|
|
1477
|
+
"due_date"
|
|
1478
|
+
],
|
|
1479
|
+
"type": "option"
|
|
1480
|
+
},
|
|
1481
|
+
"sort-direction": {
|
|
1482
|
+
"description": "Sort direction",
|
|
1483
|
+
"name": "sort-direction",
|
|
1484
|
+
"hasDynamicHelp": false,
|
|
1485
|
+
"multiple": false,
|
|
1486
|
+
"options": [
|
|
1487
|
+
"asc",
|
|
1488
|
+
"desc"
|
|
1489
|
+
],
|
|
1490
|
+
"type": "option"
|
|
1491
|
+
},
|
|
1492
|
+
"updated-since": {
|
|
1493
|
+
"description": "Only items updated at/after this RFC3339 time (no fractional seconds)",
|
|
1494
|
+
"name": "updated-since",
|
|
1495
|
+
"hasDynamicHelp": false,
|
|
1496
|
+
"multiple": false,
|
|
1497
|
+
"type": "option"
|
|
1498
|
+
},
|
|
1499
|
+
"updated-until": {
|
|
1500
|
+
"description": "Only items updated before this RFC3339 time (no fractional seconds)",
|
|
1501
|
+
"name": "updated-until",
|
|
1502
|
+
"hasDynamicHelp": false,
|
|
1503
|
+
"multiple": false,
|
|
1504
|
+
"type": "option"
|
|
1450
1505
|
}
|
|
1451
1506
|
},
|
|
1452
1507
|
"hasDynamicHelp": false,
|
|
@@ -1513,7 +1568,7 @@
|
|
|
1513
1568
|
"type": "option"
|
|
1514
1569
|
},
|
|
1515
1570
|
"resolve-fields": {
|
|
1516
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
1571
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
1517
1572
|
"helpGroup": "GLOBAL",
|
|
1518
1573
|
"name": "resolve-fields",
|
|
1519
1574
|
"allowNo": false,
|
|
@@ -1724,7 +1779,7 @@
|
|
|
1724
1779
|
"type": "option"
|
|
1725
1780
|
},
|
|
1726
1781
|
"resolve-fields": {
|
|
1727
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
1782
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
1728
1783
|
"helpGroup": "GLOBAL",
|
|
1729
1784
|
"name": "resolve-fields",
|
|
1730
1785
|
"allowNo": false,
|
|
@@ -1846,7 +1901,7 @@
|
|
|
1846
1901
|
"type": "option"
|
|
1847
1902
|
},
|
|
1848
1903
|
"resolve-fields": {
|
|
1849
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
1904
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
1850
1905
|
"helpGroup": "GLOBAL",
|
|
1851
1906
|
"name": "resolve-fields",
|
|
1852
1907
|
"allowNo": false,
|
|
@@ -1962,7 +2017,7 @@
|
|
|
1962
2017
|
"type": "option"
|
|
1963
2018
|
},
|
|
1964
2019
|
"resolve-fields": {
|
|
1965
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
2020
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
1966
2021
|
"helpGroup": "GLOBAL",
|
|
1967
2022
|
"name": "resolve-fields",
|
|
1968
2023
|
"allowNo": false,
|
|
@@ -2075,7 +2130,7 @@
|
|
|
2075
2130
|
"type": "option"
|
|
2076
2131
|
},
|
|
2077
2132
|
"resolve-fields": {
|
|
2078
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
2133
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
2079
2134
|
"helpGroup": "GLOBAL",
|
|
2080
2135
|
"name": "resolve-fields",
|
|
2081
2136
|
"allowNo": false,
|
|
@@ -2236,7 +2291,7 @@
|
|
|
2236
2291
|
"type": "option"
|
|
2237
2292
|
},
|
|
2238
2293
|
"resolve-fields": {
|
|
2239
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
2294
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
2240
2295
|
"helpGroup": "GLOBAL",
|
|
2241
2296
|
"name": "resolve-fields",
|
|
2242
2297
|
"allowNo": false,
|
|
@@ -2346,7 +2401,7 @@
|
|
|
2346
2401
|
"type": "option"
|
|
2347
2402
|
},
|
|
2348
2403
|
"resolve-fields": {
|
|
2349
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
2404
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
2350
2405
|
"helpGroup": "GLOBAL",
|
|
2351
2406
|
"name": "resolve-fields",
|
|
2352
2407
|
"allowNo": false,
|
|
@@ -2463,7 +2518,7 @@
|
|
|
2463
2518
|
"type": "option"
|
|
2464
2519
|
},
|
|
2465
2520
|
"resolve-fields": {
|
|
2466
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
2521
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
2467
2522
|
"helpGroup": "GLOBAL",
|
|
2468
2523
|
"name": "resolve-fields",
|
|
2469
2524
|
"allowNo": false,
|
|
@@ -2573,7 +2628,7 @@
|
|
|
2573
2628
|
"type": "option"
|
|
2574
2629
|
},
|
|
2575
2630
|
"resolve-fields": {
|
|
2576
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
2631
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
2577
2632
|
"helpGroup": "GLOBAL",
|
|
2578
2633
|
"name": "resolve-fields",
|
|
2579
2634
|
"allowNo": false,
|
|
@@ -2695,7 +2750,7 @@
|
|
|
2695
2750
|
"type": "option"
|
|
2696
2751
|
},
|
|
2697
2752
|
"resolve-fields": {
|
|
2698
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
2753
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
2699
2754
|
"helpGroup": "GLOBAL",
|
|
2700
2755
|
"name": "resolve-fields",
|
|
2701
2756
|
"allowNo": false,
|
|
@@ -2811,7 +2866,7 @@
|
|
|
2811
2866
|
"type": "option"
|
|
2812
2867
|
},
|
|
2813
2868
|
"resolve-fields": {
|
|
2814
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
2869
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
2815
2870
|
"helpGroup": "GLOBAL",
|
|
2816
2871
|
"name": "resolve-fields",
|
|
2817
2872
|
"allowNo": false,
|
|
@@ -2924,7 +2979,7 @@
|
|
|
2924
2979
|
"type": "option"
|
|
2925
2980
|
},
|
|
2926
2981
|
"resolve-fields": {
|
|
2927
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
2982
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
2928
2983
|
"helpGroup": "GLOBAL",
|
|
2929
2984
|
"name": "resolve-fields",
|
|
2930
2985
|
"allowNo": false,
|
|
@@ -3115,7 +3170,7 @@
|
|
|
3115
3170
|
"type": "option"
|
|
3116
3171
|
},
|
|
3117
3172
|
"resolve-fields": {
|
|
3118
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
3173
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
3119
3174
|
"helpGroup": "GLOBAL",
|
|
3120
3175
|
"name": "resolve-fields",
|
|
3121
3176
|
"allowNo": false,
|
|
@@ -3328,7 +3383,7 @@
|
|
|
3328
3383
|
"type": "option"
|
|
3329
3384
|
},
|
|
3330
3385
|
"resolve-fields": {
|
|
3331
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
3386
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
3332
3387
|
"helpGroup": "GLOBAL",
|
|
3333
3388
|
"name": "resolve-fields",
|
|
3334
3389
|
"allowNo": false,
|
|
@@ -3451,7 +3506,7 @@
|
|
|
3451
3506
|
"type": "option"
|
|
3452
3507
|
},
|
|
3453
3508
|
"resolve-fields": {
|
|
3454
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
3509
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
3455
3510
|
"helpGroup": "GLOBAL",
|
|
3456
3511
|
"name": "resolve-fields",
|
|
3457
3512
|
"allowNo": false,
|
|
@@ -3520,6 +3575,130 @@
|
|
|
3520
3575
|
"get.js"
|
|
3521
3576
|
]
|
|
3522
3577
|
},
|
|
3578
|
+
"deal:history": {
|
|
3579
|
+
"aliases": [],
|
|
3580
|
+
"args": {
|
|
3581
|
+
"id": {
|
|
3582
|
+
"description": "Deal ID",
|
|
3583
|
+
"name": "id",
|
|
3584
|
+
"required": true
|
|
3585
|
+
}
|
|
3586
|
+
},
|
|
3587
|
+
"description": "Field-change history for a deal, newest-first (the API’s native order)",
|
|
3588
|
+
"examples": [
|
|
3589
|
+
"<%= config.bin %> deal history 42",
|
|
3590
|
+
"<%= config.bin %> deal history 42 --field stage_id",
|
|
3591
|
+
"<%= config.bin %> deal history 42 --limit 20 --resolve-fields"
|
|
3592
|
+
],
|
|
3593
|
+
"flags": {
|
|
3594
|
+
"output": {
|
|
3595
|
+
"char": "o",
|
|
3596
|
+
"description": "Output format",
|
|
3597
|
+
"helpGroup": "GLOBAL",
|
|
3598
|
+
"name": "output",
|
|
3599
|
+
"hasDynamicHelp": false,
|
|
3600
|
+
"multiple": false,
|
|
3601
|
+
"options": [
|
|
3602
|
+
"table",
|
|
3603
|
+
"json",
|
|
3604
|
+
"yaml",
|
|
3605
|
+
"csv"
|
|
3606
|
+
],
|
|
3607
|
+
"type": "option"
|
|
3608
|
+
},
|
|
3609
|
+
"jq": {
|
|
3610
|
+
"description": "jq expression to filter JSON output",
|
|
3611
|
+
"helpGroup": "GLOBAL",
|
|
3612
|
+
"name": "jq",
|
|
3613
|
+
"hasDynamicHelp": false,
|
|
3614
|
+
"multiple": false,
|
|
3615
|
+
"type": "option"
|
|
3616
|
+
},
|
|
3617
|
+
"fields": {
|
|
3618
|
+
"description": "Comma-separated fields to display",
|
|
3619
|
+
"helpGroup": "GLOBAL",
|
|
3620
|
+
"name": "fields",
|
|
3621
|
+
"hasDynamicHelp": false,
|
|
3622
|
+
"multiple": false,
|
|
3623
|
+
"type": "option"
|
|
3624
|
+
},
|
|
3625
|
+
"resolve-fields": {
|
|
3626
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
3627
|
+
"helpGroup": "GLOBAL",
|
|
3628
|
+
"name": "resolve-fields",
|
|
3629
|
+
"allowNo": false,
|
|
3630
|
+
"type": "boolean"
|
|
3631
|
+
},
|
|
3632
|
+
"profile": {
|
|
3633
|
+
"description": "Named auth profile to use",
|
|
3634
|
+
"env": "PDCLI_PROFILE",
|
|
3635
|
+
"helpGroup": "GLOBAL",
|
|
3636
|
+
"name": "profile",
|
|
3637
|
+
"hasDynamicHelp": false,
|
|
3638
|
+
"multiple": false,
|
|
3639
|
+
"type": "option"
|
|
3640
|
+
},
|
|
3641
|
+
"no-color": {
|
|
3642
|
+
"description": "Disable color output",
|
|
3643
|
+
"helpGroup": "GLOBAL",
|
|
3644
|
+
"name": "no-color",
|
|
3645
|
+
"allowNo": false,
|
|
3646
|
+
"type": "boolean"
|
|
3647
|
+
},
|
|
3648
|
+
"verbose": {
|
|
3649
|
+
"description": "Show detailed API request/response on errors",
|
|
3650
|
+
"helpGroup": "GLOBAL",
|
|
3651
|
+
"name": "verbose",
|
|
3652
|
+
"allowNo": false,
|
|
3653
|
+
"type": "boolean"
|
|
3654
|
+
},
|
|
3655
|
+
"no-retry": {
|
|
3656
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
3657
|
+
"helpGroup": "GLOBAL",
|
|
3658
|
+
"name": "no-retry",
|
|
3659
|
+
"allowNo": false,
|
|
3660
|
+
"type": "boolean"
|
|
3661
|
+
},
|
|
3662
|
+
"timeout": {
|
|
3663
|
+
"description": "Request timeout in milliseconds",
|
|
3664
|
+
"helpGroup": "GLOBAL",
|
|
3665
|
+
"name": "timeout",
|
|
3666
|
+
"hasDynamicHelp": false,
|
|
3667
|
+
"multiple": false,
|
|
3668
|
+
"type": "option"
|
|
3669
|
+
},
|
|
3670
|
+
"limit": {
|
|
3671
|
+
"description": "Maximum number of items to return (lists)",
|
|
3672
|
+
"helpGroup": "GLOBAL",
|
|
3673
|
+
"name": "limit",
|
|
3674
|
+
"hasDynamicHelp": false,
|
|
3675
|
+
"multiple": false,
|
|
3676
|
+
"type": "option"
|
|
3677
|
+
},
|
|
3678
|
+
"field": {
|
|
3679
|
+
"description": "Show only changes to this field key (e.g. stage_id)",
|
|
3680
|
+
"name": "field",
|
|
3681
|
+
"hasDynamicHelp": false,
|
|
3682
|
+
"multiple": false,
|
|
3683
|
+
"type": "option"
|
|
3684
|
+
}
|
|
3685
|
+
},
|
|
3686
|
+
"hasDynamicHelp": false,
|
|
3687
|
+
"hiddenAliases": [],
|
|
3688
|
+
"id": "deal:history",
|
|
3689
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
3690
|
+
"pluginName": "@wavyx/pdcli",
|
|
3691
|
+
"pluginType": "core",
|
|
3692
|
+
"strict": true,
|
|
3693
|
+
"enableJsonFlag": false,
|
|
3694
|
+
"isESM": true,
|
|
3695
|
+
"relativePath": [
|
|
3696
|
+
"src",
|
|
3697
|
+
"commands",
|
|
3698
|
+
"deal",
|
|
3699
|
+
"history.js"
|
|
3700
|
+
]
|
|
3701
|
+
},
|
|
3523
3702
|
"deal:list": {
|
|
3524
3703
|
"aliases": [],
|
|
3525
3704
|
"args": {},
|
|
@@ -3562,7 +3741,7 @@
|
|
|
3562
3741
|
"type": "option"
|
|
3563
3742
|
},
|
|
3564
3743
|
"resolve-fields": {
|
|
3565
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
3744
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
3566
3745
|
"helpGroup": "GLOBAL",
|
|
3567
3746
|
"name": "resolve-fields",
|
|
3568
3747
|
"allowNo": false,
|
|
@@ -3661,6 +3840,60 @@
|
|
|
3661
3840
|
"hasDynamicHelp": false,
|
|
3662
3841
|
"multiple": false,
|
|
3663
3842
|
"type": "option"
|
|
3843
|
+
},
|
|
3844
|
+
"filter": {
|
|
3845
|
+
"description": "Filter by saved filter ID",
|
|
3846
|
+
"name": "filter",
|
|
3847
|
+
"hasDynamicHelp": false,
|
|
3848
|
+
"multiple": false,
|
|
3849
|
+
"type": "option"
|
|
3850
|
+
},
|
|
3851
|
+
"ids": {
|
|
3852
|
+
"description": "Comma-separated IDs to fetch (max 100)",
|
|
3853
|
+
"exclusive": [
|
|
3854
|
+
"filter"
|
|
3855
|
+
],
|
|
3856
|
+
"name": "ids",
|
|
3857
|
+
"hasDynamicHelp": false,
|
|
3858
|
+
"multiple": false,
|
|
3859
|
+
"type": "option"
|
|
3860
|
+
},
|
|
3861
|
+
"sort-by": {
|
|
3862
|
+
"description": "Sort field",
|
|
3863
|
+
"name": "sort-by",
|
|
3864
|
+
"hasDynamicHelp": false,
|
|
3865
|
+
"multiple": false,
|
|
3866
|
+
"options": [
|
|
3867
|
+
"id",
|
|
3868
|
+
"update_time",
|
|
3869
|
+
"add_time"
|
|
3870
|
+
],
|
|
3871
|
+
"type": "option"
|
|
3872
|
+
},
|
|
3873
|
+
"sort-direction": {
|
|
3874
|
+
"description": "Sort direction",
|
|
3875
|
+
"name": "sort-direction",
|
|
3876
|
+
"hasDynamicHelp": false,
|
|
3877
|
+
"multiple": false,
|
|
3878
|
+
"options": [
|
|
3879
|
+
"asc",
|
|
3880
|
+
"desc"
|
|
3881
|
+
],
|
|
3882
|
+
"type": "option"
|
|
3883
|
+
},
|
|
3884
|
+
"updated-since": {
|
|
3885
|
+
"description": "Only items updated at/after this RFC3339 time (no fractional seconds)",
|
|
3886
|
+
"name": "updated-since",
|
|
3887
|
+
"hasDynamicHelp": false,
|
|
3888
|
+
"multiple": false,
|
|
3889
|
+
"type": "option"
|
|
3890
|
+
},
|
|
3891
|
+
"updated-until": {
|
|
3892
|
+
"description": "Only items updated before this RFC3339 time (no fractional seconds)",
|
|
3893
|
+
"name": "updated-until",
|
|
3894
|
+
"hasDynamicHelp": false,
|
|
3895
|
+
"multiple": false,
|
|
3896
|
+
"type": "option"
|
|
3664
3897
|
}
|
|
3665
3898
|
},
|
|
3666
3899
|
"hasDynamicHelp": false,
|
|
@@ -3727,7 +3960,7 @@
|
|
|
3727
3960
|
"type": "option"
|
|
3728
3961
|
},
|
|
3729
3962
|
"resolve-fields": {
|
|
3730
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
3963
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
3731
3964
|
"helpGroup": "GLOBAL",
|
|
3732
3965
|
"name": "resolve-fields",
|
|
3733
3966
|
"allowNo": false,
|
|
@@ -3952,7 +4185,7 @@
|
|
|
3952
4185
|
"type": "option"
|
|
3953
4186
|
},
|
|
3954
4187
|
"resolve-fields": {
|
|
3955
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
4188
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
3956
4189
|
"helpGroup": "GLOBAL",
|
|
3957
4190
|
"name": "resolve-fields",
|
|
3958
4191
|
"allowNo": false,
|
|
@@ -4076,7 +4309,7 @@
|
|
|
4076
4309
|
"type": "option"
|
|
4077
4310
|
},
|
|
4078
4311
|
"resolve-fields": {
|
|
4079
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
4312
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
4080
4313
|
"helpGroup": "GLOBAL",
|
|
4081
4314
|
"name": "resolve-fields",
|
|
4082
4315
|
"allowNo": false,
|
|
@@ -4192,7 +4425,7 @@
|
|
|
4192
4425
|
"type": "option"
|
|
4193
4426
|
},
|
|
4194
4427
|
"resolve-fields": {
|
|
4195
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
4428
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
4196
4429
|
"helpGroup": "GLOBAL",
|
|
4197
4430
|
"name": "resolve-fields",
|
|
4198
4431
|
"allowNo": false,
|
|
@@ -4315,7 +4548,7 @@
|
|
|
4315
4548
|
"type": "option"
|
|
4316
4549
|
},
|
|
4317
4550
|
"resolve-fields": {
|
|
4318
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
4551
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
4319
4552
|
"helpGroup": "GLOBAL",
|
|
4320
4553
|
"name": "resolve-fields",
|
|
4321
4554
|
"allowNo": false,
|
|
@@ -4425,7 +4658,7 @@
|
|
|
4425
4658
|
"type": "option"
|
|
4426
4659
|
},
|
|
4427
4660
|
"resolve-fields": {
|
|
4428
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
4661
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
4429
4662
|
"helpGroup": "GLOBAL",
|
|
4430
4663
|
"name": "resolve-fields",
|
|
4431
4664
|
"allowNo": false,
|
|
@@ -4535,7 +4768,7 @@
|
|
|
4535
4768
|
"type": "option"
|
|
4536
4769
|
},
|
|
4537
4770
|
"resolve-fields": {
|
|
4538
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
4771
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
4539
4772
|
"helpGroup": "GLOBAL",
|
|
4540
4773
|
"name": "resolve-fields",
|
|
4541
4774
|
"allowNo": false,
|
|
@@ -4691,7 +4924,7 @@
|
|
|
4691
4924
|
"type": "option"
|
|
4692
4925
|
},
|
|
4693
4926
|
"resolve-fields": {
|
|
4694
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
4927
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
4695
4928
|
"helpGroup": "GLOBAL",
|
|
4696
4929
|
"name": "resolve-fields",
|
|
4697
4930
|
"allowNo": false,
|
|
@@ -4828,7 +5061,7 @@
|
|
|
4828
5061
|
"type": "option"
|
|
4829
5062
|
},
|
|
4830
5063
|
"resolve-fields": {
|
|
4831
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
5064
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
4832
5065
|
"helpGroup": "GLOBAL",
|
|
4833
5066
|
"name": "resolve-fields",
|
|
4834
5067
|
"allowNo": false,
|
|
@@ -4938,7 +5171,7 @@
|
|
|
4938
5171
|
"type": "option"
|
|
4939
5172
|
},
|
|
4940
5173
|
"resolve-fields": {
|
|
4941
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
5174
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
4942
5175
|
"helpGroup": "GLOBAL",
|
|
4943
5176
|
"name": "resolve-fields",
|
|
4944
5177
|
"allowNo": false,
|
|
@@ -5064,7 +5297,7 @@
|
|
|
5064
5297
|
"type": "option"
|
|
5065
5298
|
},
|
|
5066
5299
|
"resolve-fields": {
|
|
5067
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
5300
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
5068
5301
|
"helpGroup": "GLOBAL",
|
|
5069
5302
|
"name": "resolve-fields",
|
|
5070
5303
|
"allowNo": false,
|
|
@@ -5189,7 +5422,7 @@
|
|
|
5189
5422
|
"type": "option"
|
|
5190
5423
|
},
|
|
5191
5424
|
"resolve-fields": {
|
|
5192
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
5425
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
5193
5426
|
"helpGroup": "GLOBAL",
|
|
5194
5427
|
"name": "resolve-fields",
|
|
5195
5428
|
"allowNo": false,
|
|
@@ -5368,7 +5601,7 @@
|
|
|
5368
5601
|
"type": "option"
|
|
5369
5602
|
},
|
|
5370
5603
|
"resolve-fields": {
|
|
5371
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
5604
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
5372
5605
|
"helpGroup": "GLOBAL",
|
|
5373
5606
|
"name": "resolve-fields",
|
|
5374
5607
|
"allowNo": false,
|
|
@@ -5491,7 +5724,7 @@
|
|
|
5491
5724
|
"type": "option"
|
|
5492
5725
|
},
|
|
5493
5726
|
"resolve-fields": {
|
|
5494
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
5727
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
5495
5728
|
"helpGroup": "GLOBAL",
|
|
5496
5729
|
"name": "resolve-fields",
|
|
5497
5730
|
"allowNo": false,
|
|
@@ -5601,7 +5834,7 @@
|
|
|
5601
5834
|
"type": "option"
|
|
5602
5835
|
},
|
|
5603
5836
|
"resolve-fields": {
|
|
5604
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
5837
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
5605
5838
|
"helpGroup": "GLOBAL",
|
|
5606
5839
|
"name": "resolve-fields",
|
|
5607
5840
|
"allowNo": false,
|
|
@@ -5738,7 +5971,7 @@
|
|
|
5738
5971
|
"type": "option"
|
|
5739
5972
|
},
|
|
5740
5973
|
"resolve-fields": {
|
|
5741
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
5974
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
5742
5975
|
"helpGroup": "GLOBAL",
|
|
5743
5976
|
"name": "resolve-fields",
|
|
5744
5977
|
"allowNo": false,
|
|
@@ -5912,7 +6145,7 @@
|
|
|
5912
6145
|
"type": "option"
|
|
5913
6146
|
},
|
|
5914
6147
|
"resolve-fields": {
|
|
5915
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
6148
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
5916
6149
|
"helpGroup": "GLOBAL",
|
|
5917
6150
|
"name": "resolve-fields",
|
|
5918
6151
|
"allowNo": false,
|
|
@@ -6044,7 +6277,7 @@
|
|
|
6044
6277
|
"type": "option"
|
|
6045
6278
|
},
|
|
6046
6279
|
"resolve-fields": {
|
|
6047
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
6280
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
6048
6281
|
"helpGroup": "GLOBAL",
|
|
6049
6282
|
"name": "resolve-fields",
|
|
6050
6283
|
"allowNo": false,
|
|
@@ -6177,7 +6410,7 @@
|
|
|
6177
6410
|
"type": "option"
|
|
6178
6411
|
},
|
|
6179
6412
|
"resolve-fields": {
|
|
6180
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
6413
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
6181
6414
|
"helpGroup": "GLOBAL",
|
|
6182
6415
|
"name": "resolve-fields",
|
|
6183
6416
|
"allowNo": false,
|
|
@@ -6336,7 +6569,7 @@
|
|
|
6336
6569
|
"type": "option"
|
|
6337
6570
|
},
|
|
6338
6571
|
"resolve-fields": {
|
|
6339
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
6572
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
6340
6573
|
"helpGroup": "GLOBAL",
|
|
6341
6574
|
"name": "resolve-fields",
|
|
6342
6575
|
"allowNo": false,
|
|
@@ -6459,7 +6692,7 @@
|
|
|
6459
6692
|
"type": "option"
|
|
6460
6693
|
},
|
|
6461
6694
|
"resolve-fields": {
|
|
6462
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
6695
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
6463
6696
|
"helpGroup": "GLOBAL",
|
|
6464
6697
|
"name": "resolve-fields",
|
|
6465
6698
|
"allowNo": false,
|
|
@@ -6569,7 +6802,7 @@
|
|
|
6569
6802
|
"type": "option"
|
|
6570
6803
|
},
|
|
6571
6804
|
"resolve-fields": {
|
|
6572
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
6805
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
6573
6806
|
"helpGroup": "GLOBAL",
|
|
6574
6807
|
"name": "resolve-fields",
|
|
6575
6808
|
"allowNo": false,
|
|
@@ -6706,7 +6939,7 @@
|
|
|
6706
6939
|
"type": "option"
|
|
6707
6940
|
},
|
|
6708
6941
|
"resolve-fields": {
|
|
6709
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
6942
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
6710
6943
|
"helpGroup": "GLOBAL",
|
|
6711
6944
|
"name": "resolve-fields",
|
|
6712
6945
|
"allowNo": false,
|
|
@@ -6789,14 +7022,14 @@
|
|
|
6789
7022
|
"update.js"
|
|
6790
7023
|
]
|
|
6791
7024
|
},
|
|
6792
|
-
"
|
|
7025
|
+
"org:create": {
|
|
6793
7026
|
"aliases": [],
|
|
6794
7027
|
"args": {},
|
|
6795
|
-
"description": "Create
|
|
7028
|
+
"description": "Create an organization",
|
|
6796
7029
|
"examples": [
|
|
6797
|
-
"<%= config.bin %>
|
|
6798
|
-
"<%= config.bin %>
|
|
6799
|
-
"<%= config.bin %>
|
|
7030
|
+
"<%= config.bin %> org create --name \"Acme Corp\"",
|
|
7031
|
+
"<%= config.bin %> org create --name \"Tiered\" --field \"Tier=Gold\"",
|
|
7032
|
+
"<%= config.bin %> org create --name \"Raw\" --body '{\"visible_to\":3}'"
|
|
6800
7033
|
],
|
|
6801
7034
|
"flags": {
|
|
6802
7035
|
"output": {
|
|
@@ -6831,7 +7064,7 @@
|
|
|
6831
7064
|
"type": "option"
|
|
6832
7065
|
},
|
|
6833
7066
|
"resolve-fields": {
|
|
6834
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
7067
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
6835
7068
|
"helpGroup": "GLOBAL",
|
|
6836
7069
|
"name": "resolve-fields",
|
|
6837
7070
|
"allowNo": false,
|
|
@@ -6884,34 +7117,13 @@
|
|
|
6884
7117
|
"type": "option"
|
|
6885
7118
|
},
|
|
6886
7119
|
"name": {
|
|
6887
|
-
"description": "
|
|
7120
|
+
"description": "Organization name",
|
|
6888
7121
|
"name": "name",
|
|
6889
7122
|
"required": true,
|
|
6890
7123
|
"hasDynamicHelp": false,
|
|
6891
7124
|
"multiple": false,
|
|
6892
7125
|
"type": "option"
|
|
6893
7126
|
},
|
|
6894
|
-
"email": {
|
|
6895
|
-
"description": "Email address (repeatable; first is primary)",
|
|
6896
|
-
"name": "email",
|
|
6897
|
-
"hasDynamicHelp": false,
|
|
6898
|
-
"multiple": true,
|
|
6899
|
-
"type": "option"
|
|
6900
|
-
},
|
|
6901
|
-
"phone": {
|
|
6902
|
-
"description": "Phone number (repeatable; first is primary)",
|
|
6903
|
-
"name": "phone",
|
|
6904
|
-
"hasDynamicHelp": false,
|
|
6905
|
-
"multiple": true,
|
|
6906
|
-
"type": "option"
|
|
6907
|
-
},
|
|
6908
|
-
"org": {
|
|
6909
|
-
"description": "Linked organization ID",
|
|
6910
|
-
"name": "org",
|
|
6911
|
-
"hasDynamicHelp": false,
|
|
6912
|
-
"multiple": false,
|
|
6913
|
-
"type": "option"
|
|
6914
|
-
},
|
|
6915
7127
|
"owner": {
|
|
6916
7128
|
"description": "Owner (user) ID",
|
|
6917
7129
|
"name": "owner",
|
|
@@ -6936,7 +7148,7 @@
|
|
|
6936
7148
|
},
|
|
6937
7149
|
"hasDynamicHelp": false,
|
|
6938
7150
|
"hiddenAliases": [],
|
|
6939
|
-
"id": "
|
|
7151
|
+
"id": "org:create",
|
|
6940
7152
|
"pluginAlias": "@wavyx/pdcli",
|
|
6941
7153
|
"pluginName": "@wavyx/pdcli",
|
|
6942
7154
|
"pluginType": "core",
|
|
@@ -6946,23 +7158,23 @@
|
|
|
6946
7158
|
"relativePath": [
|
|
6947
7159
|
"src",
|
|
6948
7160
|
"commands",
|
|
6949
|
-
"
|
|
7161
|
+
"org",
|
|
6950
7162
|
"create.js"
|
|
6951
7163
|
]
|
|
6952
7164
|
},
|
|
6953
|
-
"
|
|
7165
|
+
"org:delete": {
|
|
6954
7166
|
"aliases": [],
|
|
6955
7167
|
"args": {
|
|
6956
7168
|
"id": {
|
|
6957
|
-
"description": "
|
|
7169
|
+
"description": "Organization ID",
|
|
6958
7170
|
"name": "id",
|
|
6959
7171
|
"required": true
|
|
6960
7172
|
}
|
|
6961
7173
|
},
|
|
6962
|
-
"description": "Delete
|
|
7174
|
+
"description": "Delete an organization",
|
|
6963
7175
|
"examples": [
|
|
6964
|
-
"<%= config.bin %>
|
|
6965
|
-
"<%= config.bin %>
|
|
7176
|
+
"<%= config.bin %> org delete 7",
|
|
7177
|
+
"<%= config.bin %> org delete 7 --yes"
|
|
6966
7178
|
],
|
|
6967
7179
|
"flags": {
|
|
6968
7180
|
"output": {
|
|
@@ -6997,7 +7209,7 @@
|
|
|
6997
7209
|
"type": "option"
|
|
6998
7210
|
},
|
|
6999
7211
|
"resolve-fields": {
|
|
7000
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
7212
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
7001
7213
|
"helpGroup": "GLOBAL",
|
|
7002
7214
|
"name": "resolve-fields",
|
|
7003
7215
|
"allowNo": false,
|
|
@@ -7059,7 +7271,7 @@
|
|
|
7059
7271
|
},
|
|
7060
7272
|
"hasDynamicHelp": false,
|
|
7061
7273
|
"hiddenAliases": [],
|
|
7062
|
-
"id": "
|
|
7274
|
+
"id": "org:delete",
|
|
7063
7275
|
"pluginAlias": "@wavyx/pdcli",
|
|
7064
7276
|
"pluginName": "@wavyx/pdcli",
|
|
7065
7277
|
"pluginType": "core",
|
|
@@ -7069,23 +7281,23 @@
|
|
|
7069
7281
|
"relativePath": [
|
|
7070
7282
|
"src",
|
|
7071
7283
|
"commands",
|
|
7072
|
-
"
|
|
7284
|
+
"org",
|
|
7073
7285
|
"delete.js"
|
|
7074
7286
|
]
|
|
7075
7287
|
},
|
|
7076
|
-
"
|
|
7288
|
+
"org:get": {
|
|
7077
7289
|
"aliases": [],
|
|
7078
7290
|
"args": {
|
|
7079
7291
|
"id": {
|
|
7080
|
-
"description": "
|
|
7292
|
+
"description": "Organization ID",
|
|
7081
7293
|
"name": "id",
|
|
7082
7294
|
"required": true
|
|
7083
7295
|
}
|
|
7084
7296
|
},
|
|
7085
|
-
"description": "Get
|
|
7297
|
+
"description": "Get an organization by ID",
|
|
7086
7298
|
"examples": [
|
|
7087
|
-
"<%= config.bin %>
|
|
7088
|
-
"<%= config.bin %>
|
|
7299
|
+
"<%= config.bin %> org get 7",
|
|
7300
|
+
"<%= config.bin %> org get 7 --output json"
|
|
7089
7301
|
],
|
|
7090
7302
|
"flags": {
|
|
7091
7303
|
"output": {
|
|
@@ -7120,7 +7332,7 @@
|
|
|
7120
7332
|
"type": "option"
|
|
7121
7333
|
},
|
|
7122
7334
|
"resolve-fields": {
|
|
7123
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
7335
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
7124
7336
|
"helpGroup": "GLOBAL",
|
|
7125
7337
|
"name": "resolve-fields",
|
|
7126
7338
|
"allowNo": false,
|
|
@@ -7175,7 +7387,7 @@
|
|
|
7175
7387
|
},
|
|
7176
7388
|
"hasDynamicHelp": false,
|
|
7177
7389
|
"hiddenAliases": [],
|
|
7178
|
-
"id": "
|
|
7390
|
+
"id": "org:get",
|
|
7179
7391
|
"pluginAlias": "@wavyx/pdcli",
|
|
7180
7392
|
"pluginName": "@wavyx/pdcli",
|
|
7181
7393
|
"pluginType": "core",
|
|
@@ -7185,11 +7397,11 @@
|
|
|
7185
7397
|
"relativePath": [
|
|
7186
7398
|
"src",
|
|
7187
7399
|
"commands",
|
|
7188
|
-
"
|
|
7400
|
+
"org",
|
|
7189
7401
|
"get.js"
|
|
7190
7402
|
]
|
|
7191
7403
|
},
|
|
7192
|
-
"
|
|
7404
|
+
"org:import": {
|
|
7193
7405
|
"aliases": [],
|
|
7194
7406
|
"args": {
|
|
7195
7407
|
"file": {
|
|
@@ -7198,10 +7410,10 @@
|
|
|
7198
7410
|
"required": true
|
|
7199
7411
|
}
|
|
7200
7412
|
},
|
|
7201
|
-
"description": "Bulk-create
|
|
7413
|
+
"description": "Bulk-create organizations from a CSV (headers map to fields, custom fields by name)",
|
|
7202
7414
|
"examples": [
|
|
7203
|
-
"<%= config.bin %>
|
|
7204
|
-
"<%= config.bin %>
|
|
7415
|
+
"<%= config.bin %> org import orgs.csv",
|
|
7416
|
+
"<%= config.bin %> org import orgs.csv --dry-run"
|
|
7205
7417
|
],
|
|
7206
7418
|
"flags": {
|
|
7207
7419
|
"output": {
|
|
@@ -7236,7 +7448,7 @@
|
|
|
7236
7448
|
"type": "option"
|
|
7237
7449
|
},
|
|
7238
7450
|
"resolve-fields": {
|
|
7239
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
7451
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
7240
7452
|
"helpGroup": "GLOBAL",
|
|
7241
7453
|
"name": "resolve-fields",
|
|
7242
7454
|
"allowNo": false,
|
|
@@ -7304,7 +7516,7 @@
|
|
|
7304
7516
|
},
|
|
7305
7517
|
"hasDynamicHelp": false,
|
|
7306
7518
|
"hiddenAliases": [],
|
|
7307
|
-
"id": "
|
|
7519
|
+
"id": "org:import",
|
|
7308
7520
|
"pluginAlias": "@wavyx/pdcli",
|
|
7309
7521
|
"pluginName": "@wavyx/pdcli",
|
|
7310
7522
|
"pluginType": "core",
|
|
@@ -7314,17 +7526,17 @@
|
|
|
7314
7526
|
"relativePath": [
|
|
7315
7527
|
"src",
|
|
7316
7528
|
"commands",
|
|
7317
|
-
"
|
|
7529
|
+
"org",
|
|
7318
7530
|
"import.js"
|
|
7319
7531
|
]
|
|
7320
7532
|
},
|
|
7321
|
-
"
|
|
7533
|
+
"org:list": {
|
|
7322
7534
|
"aliases": [],
|
|
7323
7535
|
"args": {},
|
|
7324
|
-
"description": "List
|
|
7536
|
+
"description": "List organizations",
|
|
7325
7537
|
"examples": [
|
|
7326
|
-
"<%= config.bin %>
|
|
7327
|
-
"<%= config.bin %>
|
|
7538
|
+
"<%= config.bin %> org list",
|
|
7539
|
+
"<%= config.bin %> org list --owner 3 --output json"
|
|
7328
7540
|
],
|
|
7329
7541
|
"flags": {
|
|
7330
7542
|
"output": {
|
|
@@ -7359,7 +7571,7 @@
|
|
|
7359
7571
|
"type": "option"
|
|
7360
7572
|
},
|
|
7361
7573
|
"resolve-fields": {
|
|
7362
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
7574
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
7363
7575
|
"helpGroup": "GLOBAL",
|
|
7364
7576
|
"name": "resolve-fields",
|
|
7365
7577
|
"allowNo": false,
|
|
@@ -7418,9 +7630,56 @@
|
|
|
7418
7630
|
"multiple": false,
|
|
7419
7631
|
"type": "option"
|
|
7420
7632
|
},
|
|
7421
|
-
"
|
|
7422
|
-
"description": "Filter by
|
|
7423
|
-
"name": "
|
|
7633
|
+
"filter": {
|
|
7634
|
+
"description": "Filter by saved filter ID",
|
|
7635
|
+
"name": "filter",
|
|
7636
|
+
"hasDynamicHelp": false,
|
|
7637
|
+
"multiple": false,
|
|
7638
|
+
"type": "option"
|
|
7639
|
+
},
|
|
7640
|
+
"ids": {
|
|
7641
|
+
"description": "Comma-separated IDs to fetch (max 100)",
|
|
7642
|
+
"exclusive": [
|
|
7643
|
+
"filter"
|
|
7644
|
+
],
|
|
7645
|
+
"name": "ids",
|
|
7646
|
+
"hasDynamicHelp": false,
|
|
7647
|
+
"multiple": false,
|
|
7648
|
+
"type": "option"
|
|
7649
|
+
},
|
|
7650
|
+
"sort-by": {
|
|
7651
|
+
"description": "Sort field",
|
|
7652
|
+
"name": "sort-by",
|
|
7653
|
+
"hasDynamicHelp": false,
|
|
7654
|
+
"multiple": false,
|
|
7655
|
+
"options": [
|
|
7656
|
+
"id",
|
|
7657
|
+
"update_time",
|
|
7658
|
+
"add_time"
|
|
7659
|
+
],
|
|
7660
|
+
"type": "option"
|
|
7661
|
+
},
|
|
7662
|
+
"sort-direction": {
|
|
7663
|
+
"description": "Sort direction",
|
|
7664
|
+
"name": "sort-direction",
|
|
7665
|
+
"hasDynamicHelp": false,
|
|
7666
|
+
"multiple": false,
|
|
7667
|
+
"options": [
|
|
7668
|
+
"asc",
|
|
7669
|
+
"desc"
|
|
7670
|
+
],
|
|
7671
|
+
"type": "option"
|
|
7672
|
+
},
|
|
7673
|
+
"updated-since": {
|
|
7674
|
+
"description": "Only items updated at/after this RFC3339 time (no fractional seconds)",
|
|
7675
|
+
"name": "updated-since",
|
|
7676
|
+
"hasDynamicHelp": false,
|
|
7677
|
+
"multiple": false,
|
|
7678
|
+
"type": "option"
|
|
7679
|
+
},
|
|
7680
|
+
"updated-until": {
|
|
7681
|
+
"description": "Only items updated before this RFC3339 time (no fractional seconds)",
|
|
7682
|
+
"name": "updated-until",
|
|
7424
7683
|
"hasDynamicHelp": false,
|
|
7425
7684
|
"multiple": false,
|
|
7426
7685
|
"type": "option"
|
|
@@ -7428,7 +7687,7 @@
|
|
|
7428
7687
|
},
|
|
7429
7688
|
"hasDynamicHelp": false,
|
|
7430
7689
|
"hiddenAliases": [],
|
|
7431
|
-
"id": "
|
|
7690
|
+
"id": "org:list",
|
|
7432
7691
|
"pluginAlias": "@wavyx/pdcli",
|
|
7433
7692
|
"pluginName": "@wavyx/pdcli",
|
|
7434
7693
|
"pluginType": "core",
|
|
@@ -7438,23 +7697,23 @@
|
|
|
7438
7697
|
"relativePath": [
|
|
7439
7698
|
"src",
|
|
7440
7699
|
"commands",
|
|
7441
|
-
"
|
|
7700
|
+
"org",
|
|
7442
7701
|
"list.js"
|
|
7443
7702
|
]
|
|
7444
7703
|
},
|
|
7445
|
-
"
|
|
7704
|
+
"org:merge": {
|
|
7446
7705
|
"aliases": [],
|
|
7447
7706
|
"args": {
|
|
7448
7707
|
"id": {
|
|
7449
|
-
"description": "ID of the
|
|
7708
|
+
"description": "ID of the organization to merge and DELETE (the loser)",
|
|
7450
7709
|
"name": "id",
|
|
7451
7710
|
"required": true
|
|
7452
7711
|
}
|
|
7453
7712
|
},
|
|
7454
|
-
"description": "Merge one
|
|
7713
|
+
"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.",
|
|
7455
7714
|
"examples": [
|
|
7456
|
-
"<%= config.bin %>
|
|
7457
|
-
"<%= config.bin %>
|
|
7715
|
+
"<%= config.bin %> org merge 123 --into 456",
|
|
7716
|
+
"<%= config.bin %> org merge 123 --into 456 --yes"
|
|
7458
7717
|
],
|
|
7459
7718
|
"flags": {
|
|
7460
7719
|
"output": {
|
|
@@ -7489,7 +7748,7 @@
|
|
|
7489
7748
|
"type": "option"
|
|
7490
7749
|
},
|
|
7491
7750
|
"resolve-fields": {
|
|
7492
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
7751
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
7493
7752
|
"helpGroup": "GLOBAL",
|
|
7494
7753
|
"name": "resolve-fields",
|
|
7495
7754
|
"allowNo": false,
|
|
@@ -7542,7 +7801,7 @@
|
|
|
7542
7801
|
"type": "option"
|
|
7543
7802
|
},
|
|
7544
7803
|
"into": {
|
|
7545
|
-
"description": "ID of the surviving
|
|
7804
|
+
"description": "ID of the surviving organization to keep (the winner)",
|
|
7546
7805
|
"name": "into",
|
|
7547
7806
|
"required": true,
|
|
7548
7807
|
"hasDynamicHelp": false,
|
|
@@ -7559,7 +7818,7 @@
|
|
|
7559
7818
|
},
|
|
7560
7819
|
"hasDynamicHelp": false,
|
|
7561
7820
|
"hiddenAliases": [],
|
|
7562
|
-
"id": "
|
|
7821
|
+
"id": "org:merge",
|
|
7563
7822
|
"pluginAlias": "@wavyx/pdcli",
|
|
7564
7823
|
"pluginName": "@wavyx/pdcli",
|
|
7565
7824
|
"pluginType": "core",
|
|
@@ -7569,24 +7828,24 @@
|
|
|
7569
7828
|
"relativePath": [
|
|
7570
7829
|
"src",
|
|
7571
7830
|
"commands",
|
|
7572
|
-
"
|
|
7831
|
+
"org",
|
|
7573
7832
|
"merge.js"
|
|
7574
7833
|
]
|
|
7575
7834
|
},
|
|
7576
|
-
"
|
|
7835
|
+
"org:update": {
|
|
7577
7836
|
"aliases": [],
|
|
7578
7837
|
"args": {
|
|
7579
7838
|
"id": {
|
|
7580
|
-
"description": "
|
|
7839
|
+
"description": "Organization ID",
|
|
7581
7840
|
"name": "id",
|
|
7582
7841
|
"required": true
|
|
7583
7842
|
}
|
|
7584
7843
|
},
|
|
7585
|
-
"description": "Update
|
|
7844
|
+
"description": "Update an organization (v2 PATCH — only provided fields change)",
|
|
7586
7845
|
"examples": [
|
|
7587
|
-
"<%= config.bin %>
|
|
7588
|
-
"<%= config.bin %>
|
|
7589
|
-
"<%= config.bin %>
|
|
7846
|
+
"<%= config.bin %> org update 7 --name \"Acme Inc\"",
|
|
7847
|
+
"<%= config.bin %> org update 7 --owner 9",
|
|
7848
|
+
"<%= config.bin %> org update 7 --field \"Tier=Gold\""
|
|
7590
7849
|
],
|
|
7591
7850
|
"flags": {
|
|
7592
7851
|
"output": {
|
|
@@ -7621,7 +7880,7 @@
|
|
|
7621
7880
|
"type": "option"
|
|
7622
7881
|
},
|
|
7623
7882
|
"resolve-fields": {
|
|
7624
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
7883
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
7625
7884
|
"helpGroup": "GLOBAL",
|
|
7626
7885
|
"name": "resolve-fields",
|
|
7627
7886
|
"allowNo": false,
|
|
@@ -7674,33 +7933,12 @@
|
|
|
7674
7933
|
"type": "option"
|
|
7675
7934
|
},
|
|
7676
7935
|
"name": {
|
|
7677
|
-
"description": "
|
|
7936
|
+
"description": "Organization name",
|
|
7678
7937
|
"name": "name",
|
|
7679
7938
|
"hasDynamicHelp": false,
|
|
7680
7939
|
"multiple": false,
|
|
7681
7940
|
"type": "option"
|
|
7682
7941
|
},
|
|
7683
|
-
"email": {
|
|
7684
|
-
"description": "Email address (repeatable; first is primary)",
|
|
7685
|
-
"name": "email",
|
|
7686
|
-
"hasDynamicHelp": false,
|
|
7687
|
-
"multiple": true,
|
|
7688
|
-
"type": "option"
|
|
7689
|
-
},
|
|
7690
|
-
"phone": {
|
|
7691
|
-
"description": "Phone number (repeatable; first is primary)",
|
|
7692
|
-
"name": "phone",
|
|
7693
|
-
"hasDynamicHelp": false,
|
|
7694
|
-
"multiple": true,
|
|
7695
|
-
"type": "option"
|
|
7696
|
-
},
|
|
7697
|
-
"org": {
|
|
7698
|
-
"description": "Linked organization ID",
|
|
7699
|
-
"name": "org",
|
|
7700
|
-
"hasDynamicHelp": false,
|
|
7701
|
-
"multiple": false,
|
|
7702
|
-
"type": "option"
|
|
7703
|
-
},
|
|
7704
7942
|
"owner": {
|
|
7705
7943
|
"description": "Owner (user) ID",
|
|
7706
7944
|
"name": "owner",
|
|
@@ -7725,7 +7963,7 @@
|
|
|
7725
7963
|
},
|
|
7726
7964
|
"hasDynamicHelp": false,
|
|
7727
7965
|
"hiddenAliases": [],
|
|
7728
|
-
"id": "
|
|
7966
|
+
"id": "org:update",
|
|
7729
7967
|
"pluginAlias": "@wavyx/pdcli",
|
|
7730
7968
|
"pluginName": "@wavyx/pdcli",
|
|
7731
7969
|
"pluginType": "core",
|
|
@@ -7735,18 +7973,18 @@
|
|
|
7735
7973
|
"relativePath": [
|
|
7736
7974
|
"src",
|
|
7737
7975
|
"commands",
|
|
7738
|
-
"
|
|
7976
|
+
"org",
|
|
7739
7977
|
"update.js"
|
|
7740
7978
|
]
|
|
7741
7979
|
},
|
|
7742
|
-
"
|
|
7980
|
+
"person:create": {
|
|
7743
7981
|
"aliases": [],
|
|
7744
7982
|
"args": {},
|
|
7745
|
-
"description": "Create
|
|
7983
|
+
"description": "Create a person",
|
|
7746
7984
|
"examples": [
|
|
7747
|
-
"<%= config.bin %>
|
|
7748
|
-
"<%= config.bin %>
|
|
7749
|
-
"<%= config.bin %>
|
|
7985
|
+
"<%= config.bin %> person create --name \"Jane Doe\" --email jane@acme.com",
|
|
7986
|
+
"<%= config.bin %> person create --name \"Jane\" --field \"Segment=Enterprise\"",
|
|
7987
|
+
"<%= config.bin %> person create --name \"Raw\" --body '{\"visible_to\":\"3\"}'"
|
|
7750
7988
|
],
|
|
7751
7989
|
"flags": {
|
|
7752
7990
|
"output": {
|
|
@@ -7781,7 +8019,7 @@
|
|
|
7781
8019
|
"type": "option"
|
|
7782
8020
|
},
|
|
7783
8021
|
"resolve-fields": {
|
|
7784
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
8022
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
7785
8023
|
"helpGroup": "GLOBAL",
|
|
7786
8024
|
"name": "resolve-fields",
|
|
7787
8025
|
"allowNo": false,
|
|
@@ -7834,13 +8072,34 @@
|
|
|
7834
8072
|
"type": "option"
|
|
7835
8073
|
},
|
|
7836
8074
|
"name": {
|
|
7837
|
-
"description": "
|
|
8075
|
+
"description": "Person name",
|
|
7838
8076
|
"name": "name",
|
|
7839
8077
|
"required": true,
|
|
7840
8078
|
"hasDynamicHelp": false,
|
|
7841
8079
|
"multiple": false,
|
|
7842
8080
|
"type": "option"
|
|
7843
8081
|
},
|
|
8082
|
+
"email": {
|
|
8083
|
+
"description": "Email address (repeatable; first is primary)",
|
|
8084
|
+
"name": "email",
|
|
8085
|
+
"hasDynamicHelp": false,
|
|
8086
|
+
"multiple": true,
|
|
8087
|
+
"type": "option"
|
|
8088
|
+
},
|
|
8089
|
+
"phone": {
|
|
8090
|
+
"description": "Phone number (repeatable; first is primary)",
|
|
8091
|
+
"name": "phone",
|
|
8092
|
+
"hasDynamicHelp": false,
|
|
8093
|
+
"multiple": true,
|
|
8094
|
+
"type": "option"
|
|
8095
|
+
},
|
|
8096
|
+
"org": {
|
|
8097
|
+
"description": "Linked organization ID",
|
|
8098
|
+
"name": "org",
|
|
8099
|
+
"hasDynamicHelp": false,
|
|
8100
|
+
"multiple": false,
|
|
8101
|
+
"type": "option"
|
|
8102
|
+
},
|
|
7844
8103
|
"owner": {
|
|
7845
8104
|
"description": "Owner (user) ID",
|
|
7846
8105
|
"name": "owner",
|
|
@@ -7865,7 +8124,7 @@
|
|
|
7865
8124
|
},
|
|
7866
8125
|
"hasDynamicHelp": false,
|
|
7867
8126
|
"hiddenAliases": [],
|
|
7868
|
-
"id": "
|
|
8127
|
+
"id": "person:create",
|
|
7869
8128
|
"pluginAlias": "@wavyx/pdcli",
|
|
7870
8129
|
"pluginName": "@wavyx/pdcli",
|
|
7871
8130
|
"pluginType": "core",
|
|
@@ -7875,23 +8134,23 @@
|
|
|
7875
8134
|
"relativePath": [
|
|
7876
8135
|
"src",
|
|
7877
8136
|
"commands",
|
|
7878
|
-
"
|
|
8137
|
+
"person",
|
|
7879
8138
|
"create.js"
|
|
7880
8139
|
]
|
|
7881
8140
|
},
|
|
7882
|
-
"
|
|
8141
|
+
"person:delete": {
|
|
7883
8142
|
"aliases": [],
|
|
7884
8143
|
"args": {
|
|
7885
8144
|
"id": {
|
|
7886
|
-
"description": "
|
|
8145
|
+
"description": "Person ID",
|
|
7887
8146
|
"name": "id",
|
|
7888
8147
|
"required": true
|
|
7889
8148
|
}
|
|
7890
8149
|
},
|
|
7891
|
-
"description": "Delete
|
|
8150
|
+
"description": "Delete a person",
|
|
7892
8151
|
"examples": [
|
|
7893
|
-
"<%= config.bin %>
|
|
7894
|
-
"<%= config.bin %>
|
|
8152
|
+
"<%= config.bin %> person delete 42",
|
|
8153
|
+
"<%= config.bin %> person delete 42 --yes"
|
|
7895
8154
|
],
|
|
7896
8155
|
"flags": {
|
|
7897
8156
|
"output": {
|
|
@@ -7926,7 +8185,7 @@
|
|
|
7926
8185
|
"type": "option"
|
|
7927
8186
|
},
|
|
7928
8187
|
"resolve-fields": {
|
|
7929
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
8188
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
7930
8189
|
"helpGroup": "GLOBAL",
|
|
7931
8190
|
"name": "resolve-fields",
|
|
7932
8191
|
"allowNo": false,
|
|
@@ -7988,7 +8247,7 @@
|
|
|
7988
8247
|
},
|
|
7989
8248
|
"hasDynamicHelp": false,
|
|
7990
8249
|
"hiddenAliases": [],
|
|
7991
|
-
"id": "
|
|
8250
|
+
"id": "person:delete",
|
|
7992
8251
|
"pluginAlias": "@wavyx/pdcli",
|
|
7993
8252
|
"pluginName": "@wavyx/pdcli",
|
|
7994
8253
|
"pluginType": "core",
|
|
@@ -7998,23 +8257,23 @@
|
|
|
7998
8257
|
"relativePath": [
|
|
7999
8258
|
"src",
|
|
8000
8259
|
"commands",
|
|
8001
|
-
"
|
|
8260
|
+
"person",
|
|
8002
8261
|
"delete.js"
|
|
8003
8262
|
]
|
|
8004
8263
|
},
|
|
8005
|
-
"
|
|
8264
|
+
"person:get": {
|
|
8006
8265
|
"aliases": [],
|
|
8007
8266
|
"args": {
|
|
8008
8267
|
"id": {
|
|
8009
|
-
"description": "
|
|
8268
|
+
"description": "Person ID",
|
|
8010
8269
|
"name": "id",
|
|
8011
8270
|
"required": true
|
|
8012
8271
|
}
|
|
8013
8272
|
},
|
|
8014
|
-
"description": "Get
|
|
8273
|
+
"description": "Get a person by ID",
|
|
8015
8274
|
"examples": [
|
|
8016
|
-
"<%= config.bin %>
|
|
8017
|
-
"<%= config.bin %>
|
|
8275
|
+
"<%= config.bin %> person get 5",
|
|
8276
|
+
"<%= config.bin %> person get 5 --output json"
|
|
8018
8277
|
],
|
|
8019
8278
|
"flags": {
|
|
8020
8279
|
"output": {
|
|
@@ -8049,7 +8308,7 @@
|
|
|
8049
8308
|
"type": "option"
|
|
8050
8309
|
},
|
|
8051
8310
|
"resolve-fields": {
|
|
8052
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
8311
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
8053
8312
|
"helpGroup": "GLOBAL",
|
|
8054
8313
|
"name": "resolve-fields",
|
|
8055
8314
|
"allowNo": false,
|
|
@@ -8104,7 +8363,7 @@
|
|
|
8104
8363
|
},
|
|
8105
8364
|
"hasDynamicHelp": false,
|
|
8106
8365
|
"hiddenAliases": [],
|
|
8107
|
-
"id": "
|
|
8366
|
+
"id": "person:get",
|
|
8108
8367
|
"pluginAlias": "@wavyx/pdcli",
|
|
8109
8368
|
"pluginName": "@wavyx/pdcli",
|
|
8110
8369
|
"pluginType": "core",
|
|
@@ -8114,11 +8373,11 @@
|
|
|
8114
8373
|
"relativePath": [
|
|
8115
8374
|
"src",
|
|
8116
8375
|
"commands",
|
|
8117
|
-
"
|
|
8376
|
+
"person",
|
|
8118
8377
|
"get.js"
|
|
8119
8378
|
]
|
|
8120
8379
|
},
|
|
8121
|
-
"
|
|
8380
|
+
"person:import": {
|
|
8122
8381
|
"aliases": [],
|
|
8123
8382
|
"args": {
|
|
8124
8383
|
"file": {
|
|
@@ -8127,10 +8386,10 @@
|
|
|
8127
8386
|
"required": true
|
|
8128
8387
|
}
|
|
8129
8388
|
},
|
|
8130
|
-
"description": "Bulk-create
|
|
8389
|
+
"description": "Bulk-create persons from a CSV (headers map to fields, custom fields by name)",
|
|
8131
8390
|
"examples": [
|
|
8132
|
-
"<%= config.bin %>
|
|
8133
|
-
"<%= config.bin %>
|
|
8391
|
+
"<%= config.bin %> person import people.csv",
|
|
8392
|
+
"<%= config.bin %> person import people.csv --dry-run"
|
|
8134
8393
|
],
|
|
8135
8394
|
"flags": {
|
|
8136
8395
|
"output": {
|
|
@@ -8165,7 +8424,7 @@
|
|
|
8165
8424
|
"type": "option"
|
|
8166
8425
|
},
|
|
8167
8426
|
"resolve-fields": {
|
|
8168
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
8427
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
8169
8428
|
"helpGroup": "GLOBAL",
|
|
8170
8429
|
"name": "resolve-fields",
|
|
8171
8430
|
"allowNo": false,
|
|
@@ -8233,7 +8492,7 @@
|
|
|
8233
8492
|
},
|
|
8234
8493
|
"hasDynamicHelp": false,
|
|
8235
8494
|
"hiddenAliases": [],
|
|
8236
|
-
"id": "
|
|
8495
|
+
"id": "person:import",
|
|
8237
8496
|
"pluginAlias": "@wavyx/pdcli",
|
|
8238
8497
|
"pluginName": "@wavyx/pdcli",
|
|
8239
8498
|
"pluginType": "core",
|
|
@@ -8243,17 +8502,17 @@
|
|
|
8243
8502
|
"relativePath": [
|
|
8244
8503
|
"src",
|
|
8245
8504
|
"commands",
|
|
8246
|
-
"
|
|
8505
|
+
"person",
|
|
8247
8506
|
"import.js"
|
|
8248
8507
|
]
|
|
8249
8508
|
},
|
|
8250
|
-
"
|
|
8509
|
+
"person:list": {
|
|
8251
8510
|
"aliases": [],
|
|
8252
8511
|
"args": {},
|
|
8253
|
-
"description": "List
|
|
8512
|
+
"description": "List persons (contacts)",
|
|
8254
8513
|
"examples": [
|
|
8255
|
-
"<%= config.bin %>
|
|
8256
|
-
"<%= config.bin %>
|
|
8514
|
+
"<%= config.bin %> person list",
|
|
8515
|
+
"<%= config.bin %> person list --org 7 --output json"
|
|
8257
8516
|
],
|
|
8258
8517
|
"flags": {
|
|
8259
8518
|
"output": {
|
|
@@ -8288,7 +8547,7 @@
|
|
|
8288
8547
|
"type": "option"
|
|
8289
8548
|
},
|
|
8290
8549
|
"resolve-fields": {
|
|
8291
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
8550
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
8292
8551
|
"helpGroup": "GLOBAL",
|
|
8293
8552
|
"name": "resolve-fields",
|
|
8294
8553
|
"allowNo": false,
|
|
@@ -8346,11 +8605,72 @@
|
|
|
8346
8605
|
"hasDynamicHelp": false,
|
|
8347
8606
|
"multiple": false,
|
|
8348
8607
|
"type": "option"
|
|
8608
|
+
},
|
|
8609
|
+
"org": {
|
|
8610
|
+
"description": "Filter by organization ID",
|
|
8611
|
+
"name": "org",
|
|
8612
|
+
"hasDynamicHelp": false,
|
|
8613
|
+
"multiple": false,
|
|
8614
|
+
"type": "option"
|
|
8615
|
+
},
|
|
8616
|
+
"filter": {
|
|
8617
|
+
"description": "Filter by saved filter ID",
|
|
8618
|
+
"name": "filter",
|
|
8619
|
+
"hasDynamicHelp": false,
|
|
8620
|
+
"multiple": false,
|
|
8621
|
+
"type": "option"
|
|
8622
|
+
},
|
|
8623
|
+
"ids": {
|
|
8624
|
+
"description": "Comma-separated IDs to fetch (max 100)",
|
|
8625
|
+
"exclusive": [
|
|
8626
|
+
"filter"
|
|
8627
|
+
],
|
|
8628
|
+
"name": "ids",
|
|
8629
|
+
"hasDynamicHelp": false,
|
|
8630
|
+
"multiple": false,
|
|
8631
|
+
"type": "option"
|
|
8632
|
+
},
|
|
8633
|
+
"sort-by": {
|
|
8634
|
+
"description": "Sort field",
|
|
8635
|
+
"name": "sort-by",
|
|
8636
|
+
"hasDynamicHelp": false,
|
|
8637
|
+
"multiple": false,
|
|
8638
|
+
"options": [
|
|
8639
|
+
"id",
|
|
8640
|
+
"update_time",
|
|
8641
|
+
"add_time"
|
|
8642
|
+
],
|
|
8643
|
+
"type": "option"
|
|
8644
|
+
},
|
|
8645
|
+
"sort-direction": {
|
|
8646
|
+
"description": "Sort direction",
|
|
8647
|
+
"name": "sort-direction",
|
|
8648
|
+
"hasDynamicHelp": false,
|
|
8649
|
+
"multiple": false,
|
|
8650
|
+
"options": [
|
|
8651
|
+
"asc",
|
|
8652
|
+
"desc"
|
|
8653
|
+
],
|
|
8654
|
+
"type": "option"
|
|
8655
|
+
},
|
|
8656
|
+
"updated-since": {
|
|
8657
|
+
"description": "Only items updated at/after this RFC3339 time (no fractional seconds)",
|
|
8658
|
+
"name": "updated-since",
|
|
8659
|
+
"hasDynamicHelp": false,
|
|
8660
|
+
"multiple": false,
|
|
8661
|
+
"type": "option"
|
|
8662
|
+
},
|
|
8663
|
+
"updated-until": {
|
|
8664
|
+
"description": "Only items updated before this RFC3339 time (no fractional seconds)",
|
|
8665
|
+
"name": "updated-until",
|
|
8666
|
+
"hasDynamicHelp": false,
|
|
8667
|
+
"multiple": false,
|
|
8668
|
+
"type": "option"
|
|
8349
8669
|
}
|
|
8350
8670
|
},
|
|
8351
8671
|
"hasDynamicHelp": false,
|
|
8352
8672
|
"hiddenAliases": [],
|
|
8353
|
-
"id": "
|
|
8673
|
+
"id": "person:list",
|
|
8354
8674
|
"pluginAlias": "@wavyx/pdcli",
|
|
8355
8675
|
"pluginName": "@wavyx/pdcli",
|
|
8356
8676
|
"pluginType": "core",
|
|
@@ -8360,23 +8680,23 @@
|
|
|
8360
8680
|
"relativePath": [
|
|
8361
8681
|
"src",
|
|
8362
8682
|
"commands",
|
|
8363
|
-
"
|
|
8683
|
+
"person",
|
|
8364
8684
|
"list.js"
|
|
8365
8685
|
]
|
|
8366
8686
|
},
|
|
8367
|
-
"
|
|
8687
|
+
"person:merge": {
|
|
8368
8688
|
"aliases": [],
|
|
8369
8689
|
"args": {
|
|
8370
8690
|
"id": {
|
|
8371
|
-
"description": "ID of the
|
|
8691
|
+
"description": "ID of the person to merge and DELETE (the loser)",
|
|
8372
8692
|
"name": "id",
|
|
8373
8693
|
"required": true
|
|
8374
8694
|
}
|
|
8375
8695
|
},
|
|
8376
|
-
"description": "Merge one
|
|
8696
|
+
"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.",
|
|
8377
8697
|
"examples": [
|
|
8378
|
-
"<%= config.bin %>
|
|
8379
|
-
"<%= config.bin %>
|
|
8698
|
+
"<%= config.bin %> person merge 123 --into 456",
|
|
8699
|
+
"<%= config.bin %> person merge 123 --into 456 --yes"
|
|
8380
8700
|
],
|
|
8381
8701
|
"flags": {
|
|
8382
8702
|
"output": {
|
|
@@ -8411,7 +8731,7 @@
|
|
|
8411
8731
|
"type": "option"
|
|
8412
8732
|
},
|
|
8413
8733
|
"resolve-fields": {
|
|
8414
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
8734
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
8415
8735
|
"helpGroup": "GLOBAL",
|
|
8416
8736
|
"name": "resolve-fields",
|
|
8417
8737
|
"allowNo": false,
|
|
@@ -8464,7 +8784,7 @@
|
|
|
8464
8784
|
"type": "option"
|
|
8465
8785
|
},
|
|
8466
8786
|
"into": {
|
|
8467
|
-
"description": "ID of the surviving
|
|
8787
|
+
"description": "ID of the surviving person to keep (the winner)",
|
|
8468
8788
|
"name": "into",
|
|
8469
8789
|
"required": true,
|
|
8470
8790
|
"hasDynamicHelp": false,
|
|
@@ -8481,7 +8801,7 @@
|
|
|
8481
8801
|
},
|
|
8482
8802
|
"hasDynamicHelp": false,
|
|
8483
8803
|
"hiddenAliases": [],
|
|
8484
|
-
"id": "
|
|
8804
|
+
"id": "person:merge",
|
|
8485
8805
|
"pluginAlias": "@wavyx/pdcli",
|
|
8486
8806
|
"pluginName": "@wavyx/pdcli",
|
|
8487
8807
|
"pluginType": "core",
|
|
@@ -8491,24 +8811,24 @@
|
|
|
8491
8811
|
"relativePath": [
|
|
8492
8812
|
"src",
|
|
8493
8813
|
"commands",
|
|
8494
|
-
"
|
|
8814
|
+
"person",
|
|
8495
8815
|
"merge.js"
|
|
8496
8816
|
]
|
|
8497
8817
|
},
|
|
8498
|
-
"
|
|
8818
|
+
"person:update": {
|
|
8499
8819
|
"aliases": [],
|
|
8500
8820
|
"args": {
|
|
8501
8821
|
"id": {
|
|
8502
|
-
"description": "
|
|
8822
|
+
"description": "Person ID",
|
|
8503
8823
|
"name": "id",
|
|
8504
8824
|
"required": true
|
|
8505
8825
|
}
|
|
8506
8826
|
},
|
|
8507
|
-
"description": "Update
|
|
8827
|
+
"description": "Update a person (v2 PATCH — only provided fields change)",
|
|
8508
8828
|
"examples": [
|
|
8509
|
-
"<%= config.bin %>
|
|
8510
|
-
"<%= config.bin %>
|
|
8511
|
-
"<%= config.bin %>
|
|
8829
|
+
"<%= config.bin %> person update 42 --name \"New name\"",
|
|
8830
|
+
"<%= config.bin %> person update 42 --email new@acme.com",
|
|
8831
|
+
"<%= config.bin %> person update 42 --field \"Segment=Enterprise\""
|
|
8512
8832
|
],
|
|
8513
8833
|
"flags": {
|
|
8514
8834
|
"output": {
|
|
@@ -8543,7 +8863,7 @@
|
|
|
8543
8863
|
"type": "option"
|
|
8544
8864
|
},
|
|
8545
8865
|
"resolve-fields": {
|
|
8546
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
8866
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
8547
8867
|
"helpGroup": "GLOBAL",
|
|
8548
8868
|
"name": "resolve-fields",
|
|
8549
8869
|
"allowNo": false,
|
|
@@ -8596,12 +8916,33 @@
|
|
|
8596
8916
|
"type": "option"
|
|
8597
8917
|
},
|
|
8598
8918
|
"name": {
|
|
8599
|
-
"description": "
|
|
8919
|
+
"description": "Person name",
|
|
8600
8920
|
"name": "name",
|
|
8601
8921
|
"hasDynamicHelp": false,
|
|
8602
8922
|
"multiple": false,
|
|
8603
8923
|
"type": "option"
|
|
8604
8924
|
},
|
|
8925
|
+
"email": {
|
|
8926
|
+
"description": "Email address (repeatable; first is primary)",
|
|
8927
|
+
"name": "email",
|
|
8928
|
+
"hasDynamicHelp": false,
|
|
8929
|
+
"multiple": true,
|
|
8930
|
+
"type": "option"
|
|
8931
|
+
},
|
|
8932
|
+
"phone": {
|
|
8933
|
+
"description": "Phone number (repeatable; first is primary)",
|
|
8934
|
+
"name": "phone",
|
|
8935
|
+
"hasDynamicHelp": false,
|
|
8936
|
+
"multiple": true,
|
|
8937
|
+
"type": "option"
|
|
8938
|
+
},
|
|
8939
|
+
"org": {
|
|
8940
|
+
"description": "Linked organization ID",
|
|
8941
|
+
"name": "org",
|
|
8942
|
+
"hasDynamicHelp": false,
|
|
8943
|
+
"multiple": false,
|
|
8944
|
+
"type": "option"
|
|
8945
|
+
},
|
|
8605
8946
|
"owner": {
|
|
8606
8947
|
"description": "Owner (user) ID",
|
|
8607
8948
|
"name": "owner",
|
|
@@ -8626,7 +8967,7 @@
|
|
|
8626
8967
|
},
|
|
8627
8968
|
"hasDynamicHelp": false,
|
|
8628
8969
|
"hiddenAliases": [],
|
|
8629
|
-
"id": "
|
|
8970
|
+
"id": "person:update",
|
|
8630
8971
|
"pluginAlias": "@wavyx/pdcli",
|
|
8631
8972
|
"pluginName": "@wavyx/pdcli",
|
|
8632
8973
|
"pluginType": "core",
|
|
@@ -8636,7 +8977,7 @@
|
|
|
8636
8977
|
"relativePath": [
|
|
8637
8978
|
"src",
|
|
8638
8979
|
"commands",
|
|
8639
|
-
"
|
|
8980
|
+
"person",
|
|
8640
8981
|
"update.js"
|
|
8641
8982
|
]
|
|
8642
8983
|
},
|
|
@@ -8687,7 +9028,7 @@
|
|
|
8687
9028
|
"type": "option"
|
|
8688
9029
|
},
|
|
8689
9030
|
"resolve-fields": {
|
|
8690
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
9031
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
8691
9032
|
"helpGroup": "GLOBAL",
|
|
8692
9033
|
"name": "resolve-fields",
|
|
8693
9034
|
"allowNo": false,
|
|
@@ -8797,7 +9138,7 @@
|
|
|
8797
9138
|
"type": "option"
|
|
8798
9139
|
},
|
|
8799
9140
|
"resolve-fields": {
|
|
8800
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
9141
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
8801
9142
|
"helpGroup": "GLOBAL",
|
|
8802
9143
|
"name": "resolve-fields",
|
|
8803
9144
|
"allowNo": false,
|
|
@@ -8914,7 +9255,7 @@
|
|
|
8914
9255
|
"type": "option"
|
|
8915
9256
|
},
|
|
8916
9257
|
"resolve-fields": {
|
|
8917
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
9258
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
8918
9259
|
"helpGroup": "GLOBAL",
|
|
8919
9260
|
"name": "resolve-fields",
|
|
8920
9261
|
"allowNo": false,
|
|
@@ -8983,14 +9324,12 @@
|
|
|
8983
9324
|
"list.js"
|
|
8984
9325
|
]
|
|
8985
9326
|
},
|
|
8986
|
-
"
|
|
9327
|
+
"profile:current": {
|
|
8987
9328
|
"aliases": [],
|
|
8988
9329
|
"args": {},
|
|
8989
|
-
"description": "
|
|
9330
|
+
"description": "Show the active profile",
|
|
8990
9331
|
"examples": [
|
|
8991
|
-
"<%= config.bin %>
|
|
8992
|
-
"<%= config.bin %> product create --name \"Sized\" --field \"Material=Steel\"",
|
|
8993
|
-
"<%= config.bin %> product create --name \"Raw\" --body '{\"tax\":19}'"
|
|
9332
|
+
"<%= config.bin %> profile current"
|
|
8994
9333
|
],
|
|
8995
9334
|
"flags": {
|
|
8996
9335
|
"output": {
|
|
@@ -9025,7 +9364,7 @@
|
|
|
9025
9364
|
"type": "option"
|
|
9026
9365
|
},
|
|
9027
9366
|
"resolve-fields": {
|
|
9028
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
9367
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
9029
9368
|
"helpGroup": "GLOBAL",
|
|
9030
9369
|
"name": "resolve-fields",
|
|
9031
9370
|
"allowNo": false,
|
|
@@ -9076,107 +9415,31 @@
|
|
|
9076
9415
|
"hasDynamicHelp": false,
|
|
9077
9416
|
"multiple": false,
|
|
9078
9417
|
"type": "option"
|
|
9079
|
-
},
|
|
9080
|
-
"name": {
|
|
9081
|
-
"description": "Product name",
|
|
9082
|
-
"name": "name",
|
|
9083
|
-
"required": true,
|
|
9084
|
-
"hasDynamicHelp": false,
|
|
9085
|
-
"multiple": false,
|
|
9086
|
-
"type": "option"
|
|
9087
|
-
},
|
|
9088
|
-
"code": {
|
|
9089
|
-
"description": "Product code (SKU)",
|
|
9090
|
-
"name": "code",
|
|
9091
|
-
"hasDynamicHelp": false,
|
|
9092
|
-
"multiple": false,
|
|
9093
|
-
"type": "option"
|
|
9094
|
-
},
|
|
9095
|
-
"unit": {
|
|
9096
|
-
"description": "Unit of measure",
|
|
9097
|
-
"name": "unit",
|
|
9098
|
-
"hasDynamicHelp": false,
|
|
9099
|
-
"multiple": false,
|
|
9100
|
-
"type": "option"
|
|
9101
|
-
},
|
|
9102
|
-
"description": {
|
|
9103
|
-
"description": "Product description",
|
|
9104
|
-
"name": "description",
|
|
9105
|
-
"hasDynamicHelp": false,
|
|
9106
|
-
"multiple": false,
|
|
9107
|
-
"type": "option"
|
|
9108
|
-
},
|
|
9109
|
-
"owner": {
|
|
9110
|
-
"description": "Owner (user) ID",
|
|
9111
|
-
"name": "owner",
|
|
9112
|
-
"hasDynamicHelp": false,
|
|
9113
|
-
"multiple": false,
|
|
9114
|
-
"type": "option"
|
|
9115
|
-
},
|
|
9116
|
-
"price": {
|
|
9117
|
-
"dependsOn": [
|
|
9118
|
-
"currency"
|
|
9119
|
-
],
|
|
9120
|
-
"description": "Unit price (requires --currency)",
|
|
9121
|
-
"name": "price",
|
|
9122
|
-
"hasDynamicHelp": false,
|
|
9123
|
-
"multiple": false,
|
|
9124
|
-
"type": "option"
|
|
9125
|
-
},
|
|
9126
|
-
"currency": {
|
|
9127
|
-
"dependsOn": [
|
|
9128
|
-
"price"
|
|
9129
|
-
],
|
|
9130
|
-
"description": "Price currency (requires --price)",
|
|
9131
|
-
"name": "currency",
|
|
9132
|
-
"hasDynamicHelp": false,
|
|
9133
|
-
"multiple": false,
|
|
9134
|
-
"type": "option"
|
|
9135
|
-
},
|
|
9136
|
-
"field": {
|
|
9137
|
-
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
9138
|
-
"name": "field",
|
|
9139
|
-
"hasDynamicHelp": false,
|
|
9140
|
-
"multiple": true,
|
|
9141
|
-
"type": "option"
|
|
9142
|
-
},
|
|
9143
|
-
"body": {
|
|
9144
|
-
"description": "Raw JSON body to merge (flags win)",
|
|
9145
|
-
"name": "body",
|
|
9146
|
-
"hasDynamicHelp": false,
|
|
9147
|
-
"multiple": false,
|
|
9148
|
-
"type": "option"
|
|
9149
9418
|
}
|
|
9150
9419
|
},
|
|
9151
9420
|
"hasDynamicHelp": false,
|
|
9152
9421
|
"hiddenAliases": [],
|
|
9153
|
-
"id": "
|
|
9422
|
+
"id": "profile:current",
|
|
9154
9423
|
"pluginAlias": "@wavyx/pdcli",
|
|
9155
9424
|
"pluginName": "@wavyx/pdcli",
|
|
9156
9425
|
"pluginType": "core",
|
|
9157
9426
|
"strict": true,
|
|
9158
9427
|
"enableJsonFlag": false,
|
|
9428
|
+
"skipAuth": true,
|
|
9159
9429
|
"isESM": true,
|
|
9160
9430
|
"relativePath": [
|
|
9161
9431
|
"src",
|
|
9162
9432
|
"commands",
|
|
9163
|
-
"
|
|
9164
|
-
"
|
|
9433
|
+
"profile",
|
|
9434
|
+
"current.js"
|
|
9165
9435
|
]
|
|
9166
9436
|
},
|
|
9167
|
-
"
|
|
9437
|
+
"profile:list": {
|
|
9168
9438
|
"aliases": [],
|
|
9169
|
-
"args": {
|
|
9170
|
-
|
|
9171
|
-
"description": "Product ID",
|
|
9172
|
-
"name": "id",
|
|
9173
|
-
"required": true
|
|
9174
|
-
}
|
|
9175
|
-
},
|
|
9176
|
-
"description": "Delete a product",
|
|
9439
|
+
"args": {},
|
|
9440
|
+
"description": "List all configured profiles",
|
|
9177
9441
|
"examples": [
|
|
9178
|
-
"<%= config.bin %>
|
|
9179
|
-
"<%= config.bin %> product delete 7 --yes"
|
|
9442
|
+
"<%= config.bin %> profile list"
|
|
9180
9443
|
],
|
|
9181
9444
|
"flags": {
|
|
9182
9445
|
"output": {
|
|
@@ -9211,7 +9474,7 @@
|
|
|
9211
9474
|
"type": "option"
|
|
9212
9475
|
},
|
|
9213
9476
|
"resolve-fields": {
|
|
9214
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
9477
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
9215
9478
|
"helpGroup": "GLOBAL",
|
|
9216
9479
|
"name": "resolve-fields",
|
|
9217
9480
|
"allowNo": false,
|
|
@@ -9262,44 +9525,37 @@
|
|
|
9262
9525
|
"hasDynamicHelp": false,
|
|
9263
9526
|
"multiple": false,
|
|
9264
9527
|
"type": "option"
|
|
9265
|
-
},
|
|
9266
|
-
"yes": {
|
|
9267
|
-
"char": "y",
|
|
9268
|
-
"description": "Skip the confirmation prompt",
|
|
9269
|
-
"name": "yes",
|
|
9270
|
-
"allowNo": false,
|
|
9271
|
-
"type": "boolean"
|
|
9272
9528
|
}
|
|
9273
9529
|
},
|
|
9274
9530
|
"hasDynamicHelp": false,
|
|
9275
9531
|
"hiddenAliases": [],
|
|
9276
|
-
"id": "
|
|
9532
|
+
"id": "profile:list",
|
|
9277
9533
|
"pluginAlias": "@wavyx/pdcli",
|
|
9278
9534
|
"pluginName": "@wavyx/pdcli",
|
|
9279
9535
|
"pluginType": "core",
|
|
9280
9536
|
"strict": true,
|
|
9281
9537
|
"enableJsonFlag": false,
|
|
9538
|
+
"skipAuth": true,
|
|
9282
9539
|
"isESM": true,
|
|
9283
9540
|
"relativePath": [
|
|
9284
9541
|
"src",
|
|
9285
9542
|
"commands",
|
|
9286
|
-
"
|
|
9287
|
-
"
|
|
9543
|
+
"profile",
|
|
9544
|
+
"list.js"
|
|
9288
9545
|
]
|
|
9289
9546
|
},
|
|
9290
|
-
"
|
|
9547
|
+
"profile:use": {
|
|
9291
9548
|
"aliases": [],
|
|
9292
9549
|
"args": {
|
|
9293
|
-
"
|
|
9294
|
-
"description": "
|
|
9295
|
-
"name": "
|
|
9550
|
+
"name": {
|
|
9551
|
+
"description": "Profile name to activate",
|
|
9552
|
+
"name": "name",
|
|
9296
9553
|
"required": true
|
|
9297
9554
|
}
|
|
9298
9555
|
},
|
|
9299
|
-
"description": "
|
|
9556
|
+
"description": "Switch the active profile",
|
|
9300
9557
|
"examples": [
|
|
9301
|
-
"<%= config.bin %>
|
|
9302
|
-
"<%= config.bin %> product get 7 --output json"
|
|
9558
|
+
"<%= config.bin %> profile use work"
|
|
9303
9559
|
],
|
|
9304
9560
|
"flags": {
|
|
9305
9561
|
"output": {
|
|
@@ -9334,7 +9590,7 @@
|
|
|
9334
9590
|
"type": "option"
|
|
9335
9591
|
},
|
|
9336
9592
|
"resolve-fields": {
|
|
9337
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
9593
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
9338
9594
|
"helpGroup": "GLOBAL",
|
|
9339
9595
|
"name": "resolve-fields",
|
|
9340
9596
|
"allowNo": false,
|
|
@@ -9389,27 +9645,29 @@
|
|
|
9389
9645
|
},
|
|
9390
9646
|
"hasDynamicHelp": false,
|
|
9391
9647
|
"hiddenAliases": [],
|
|
9392
|
-
"id": "
|
|
9648
|
+
"id": "profile:use",
|
|
9393
9649
|
"pluginAlias": "@wavyx/pdcli",
|
|
9394
9650
|
"pluginName": "@wavyx/pdcli",
|
|
9395
9651
|
"pluginType": "core",
|
|
9396
9652
|
"strict": true,
|
|
9397
9653
|
"enableJsonFlag": false,
|
|
9654
|
+
"skipAuth": true,
|
|
9398
9655
|
"isESM": true,
|
|
9399
9656
|
"relativePath": [
|
|
9400
9657
|
"src",
|
|
9401
9658
|
"commands",
|
|
9402
|
-
"
|
|
9403
|
-
"
|
|
9659
|
+
"profile",
|
|
9660
|
+
"use.js"
|
|
9404
9661
|
]
|
|
9405
9662
|
},
|
|
9406
|
-
"
|
|
9663
|
+
"project:create": {
|
|
9407
9664
|
"aliases": [],
|
|
9408
9665
|
"args": {},
|
|
9409
|
-
"description": "
|
|
9666
|
+
"description": "Create a project",
|
|
9410
9667
|
"examples": [
|
|
9411
|
-
"<%= config.bin %>
|
|
9412
|
-
"<%= config.bin %>
|
|
9668
|
+
"<%= config.bin %> project create --title \"Launch\"",
|
|
9669
|
+
"<%= config.bin %> project create --title \"Launch\" --owner 3 --status open",
|
|
9670
|
+
"<%= config.bin %> project create --title \"Raw\" --body '{\"deal_ids\":[1,2]}'"
|
|
9413
9671
|
],
|
|
9414
9672
|
"flags": {
|
|
9415
9673
|
"output": {
|
|
@@ -9444,7 +9702,7 @@
|
|
|
9444
9702
|
"type": "option"
|
|
9445
9703
|
},
|
|
9446
9704
|
"resolve-fields": {
|
|
9447
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
9705
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
9448
9706
|
"helpGroup": "GLOBAL",
|
|
9449
9707
|
"name": "resolve-fields",
|
|
9450
9708
|
"allowNo": false,
|
|
@@ -9496,17 +9754,74 @@
|
|
|
9496
9754
|
"multiple": false,
|
|
9497
9755
|
"type": "option"
|
|
9498
9756
|
},
|
|
9757
|
+
"title": {
|
|
9758
|
+
"description": "Project title",
|
|
9759
|
+
"name": "title",
|
|
9760
|
+
"required": true,
|
|
9761
|
+
"hasDynamicHelp": false,
|
|
9762
|
+
"multiple": false,
|
|
9763
|
+
"type": "option"
|
|
9764
|
+
},
|
|
9765
|
+
"description": {
|
|
9766
|
+
"description": "Project description",
|
|
9767
|
+
"name": "description",
|
|
9768
|
+
"hasDynamicHelp": false,
|
|
9769
|
+
"multiple": false,
|
|
9770
|
+
"type": "option"
|
|
9771
|
+
},
|
|
9772
|
+
"status": {
|
|
9773
|
+
"description": "Project status",
|
|
9774
|
+
"name": "status",
|
|
9775
|
+
"hasDynamicHelp": false,
|
|
9776
|
+
"multiple": false,
|
|
9777
|
+
"type": "option"
|
|
9778
|
+
},
|
|
9779
|
+
"start-date": {
|
|
9780
|
+
"description": "Start date (YYYY-MM-DD)",
|
|
9781
|
+
"name": "start-date",
|
|
9782
|
+
"hasDynamicHelp": false,
|
|
9783
|
+
"multiple": false,
|
|
9784
|
+
"type": "option"
|
|
9785
|
+
},
|
|
9786
|
+
"end-date": {
|
|
9787
|
+
"description": "End date (YYYY-MM-DD)",
|
|
9788
|
+
"name": "end-date",
|
|
9789
|
+
"hasDynamicHelp": false,
|
|
9790
|
+
"multiple": false,
|
|
9791
|
+
"type": "option"
|
|
9792
|
+
},
|
|
9499
9793
|
"owner": {
|
|
9500
|
-
"description": "
|
|
9794
|
+
"description": "Owner (user) ID",
|
|
9501
9795
|
"name": "owner",
|
|
9502
9796
|
"hasDynamicHelp": false,
|
|
9503
9797
|
"multiple": false,
|
|
9504
9798
|
"type": "option"
|
|
9799
|
+
},
|
|
9800
|
+
"board": {
|
|
9801
|
+
"description": "Board ID",
|
|
9802
|
+
"name": "board",
|
|
9803
|
+
"hasDynamicHelp": false,
|
|
9804
|
+
"multiple": false,
|
|
9805
|
+
"type": "option"
|
|
9806
|
+
},
|
|
9807
|
+
"phase": {
|
|
9808
|
+
"description": "Phase ID",
|
|
9809
|
+
"name": "phase",
|
|
9810
|
+
"hasDynamicHelp": false,
|
|
9811
|
+
"multiple": false,
|
|
9812
|
+
"type": "option"
|
|
9813
|
+
},
|
|
9814
|
+
"body": {
|
|
9815
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
9816
|
+
"name": "body",
|
|
9817
|
+
"hasDynamicHelp": false,
|
|
9818
|
+
"multiple": false,
|
|
9819
|
+
"type": "option"
|
|
9505
9820
|
}
|
|
9506
9821
|
},
|
|
9507
9822
|
"hasDynamicHelp": false,
|
|
9508
9823
|
"hiddenAliases": [],
|
|
9509
|
-
"id": "
|
|
9824
|
+
"id": "project:create",
|
|
9510
9825
|
"pluginAlias": "@wavyx/pdcli",
|
|
9511
9826
|
"pluginName": "@wavyx/pdcli",
|
|
9512
9827
|
"pluginType": "core",
|
|
@@ -9516,24 +9831,23 @@
|
|
|
9516
9831
|
"relativePath": [
|
|
9517
9832
|
"src",
|
|
9518
9833
|
"commands",
|
|
9519
|
-
"
|
|
9520
|
-
"
|
|
9834
|
+
"project",
|
|
9835
|
+
"create.js"
|
|
9521
9836
|
]
|
|
9522
9837
|
},
|
|
9523
|
-
"
|
|
9838
|
+
"project:delete": {
|
|
9524
9839
|
"aliases": [],
|
|
9525
9840
|
"args": {
|
|
9526
9841
|
"id": {
|
|
9527
|
-
"description": "
|
|
9842
|
+
"description": "Project ID",
|
|
9528
9843
|
"name": "id",
|
|
9529
9844
|
"required": true
|
|
9530
9845
|
}
|
|
9531
9846
|
},
|
|
9532
|
-
"description": "
|
|
9847
|
+
"description": "Delete a project",
|
|
9533
9848
|
"examples": [
|
|
9534
|
-
"<%= config.bin %>
|
|
9535
|
-
"<%= config.bin %>
|
|
9536
|
-
"<%= config.bin %> product update 7 --field \"Material=Steel\""
|
|
9849
|
+
"<%= config.bin %> project delete 7",
|
|
9850
|
+
"<%= config.bin %> project delete 7 --yes"
|
|
9537
9851
|
],
|
|
9538
9852
|
"flags": {
|
|
9539
9853
|
"output": {
|
|
@@ -9568,7 +9882,7 @@
|
|
|
9568
9882
|
"type": "option"
|
|
9569
9883
|
},
|
|
9570
9884
|
"resolve-fields": {
|
|
9571
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
9885
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
9572
9886
|
"helpGroup": "GLOBAL",
|
|
9573
9887
|
"name": "resolve-fields",
|
|
9574
9888
|
"allowNo": false,
|
|
@@ -9620,79 +9934,17 @@
|
|
|
9620
9934
|
"multiple": false,
|
|
9621
9935
|
"type": "option"
|
|
9622
9936
|
},
|
|
9623
|
-
"
|
|
9624
|
-
"
|
|
9625
|
-
"
|
|
9626
|
-
"
|
|
9627
|
-
"
|
|
9628
|
-
"type": "
|
|
9629
|
-
},
|
|
9630
|
-
"code": {
|
|
9631
|
-
"description": "Product code (SKU)",
|
|
9632
|
-
"name": "code",
|
|
9633
|
-
"hasDynamicHelp": false,
|
|
9634
|
-
"multiple": false,
|
|
9635
|
-
"type": "option"
|
|
9636
|
-
},
|
|
9637
|
-
"unit": {
|
|
9638
|
-
"description": "Unit of measure",
|
|
9639
|
-
"name": "unit",
|
|
9640
|
-
"hasDynamicHelp": false,
|
|
9641
|
-
"multiple": false,
|
|
9642
|
-
"type": "option"
|
|
9643
|
-
},
|
|
9644
|
-
"description": {
|
|
9645
|
-
"description": "Product description",
|
|
9646
|
-
"name": "description",
|
|
9647
|
-
"hasDynamicHelp": false,
|
|
9648
|
-
"multiple": false,
|
|
9649
|
-
"type": "option"
|
|
9650
|
-
},
|
|
9651
|
-
"owner": {
|
|
9652
|
-
"description": "Owner (user) ID",
|
|
9653
|
-
"name": "owner",
|
|
9654
|
-
"hasDynamicHelp": false,
|
|
9655
|
-
"multiple": false,
|
|
9656
|
-
"type": "option"
|
|
9657
|
-
},
|
|
9658
|
-
"price": {
|
|
9659
|
-
"dependsOn": [
|
|
9660
|
-
"currency"
|
|
9661
|
-
],
|
|
9662
|
-
"description": "Unit price (requires --currency)",
|
|
9663
|
-
"name": "price",
|
|
9664
|
-
"hasDynamicHelp": false,
|
|
9665
|
-
"multiple": false,
|
|
9666
|
-
"type": "option"
|
|
9667
|
-
},
|
|
9668
|
-
"currency": {
|
|
9669
|
-
"dependsOn": [
|
|
9670
|
-
"price"
|
|
9671
|
-
],
|
|
9672
|
-
"description": "Price currency (requires --price)",
|
|
9673
|
-
"name": "currency",
|
|
9674
|
-
"hasDynamicHelp": false,
|
|
9675
|
-
"multiple": false,
|
|
9676
|
-
"type": "option"
|
|
9677
|
-
},
|
|
9678
|
-
"field": {
|
|
9679
|
-
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
9680
|
-
"name": "field",
|
|
9681
|
-
"hasDynamicHelp": false,
|
|
9682
|
-
"multiple": true,
|
|
9683
|
-
"type": "option"
|
|
9684
|
-
},
|
|
9685
|
-
"body": {
|
|
9686
|
-
"description": "Raw JSON body to merge (flags win)",
|
|
9687
|
-
"name": "body",
|
|
9688
|
-
"hasDynamicHelp": false,
|
|
9689
|
-
"multiple": false,
|
|
9690
|
-
"type": "option"
|
|
9937
|
+
"yes": {
|
|
9938
|
+
"char": "y",
|
|
9939
|
+
"description": "Skip the confirmation prompt",
|
|
9940
|
+
"name": "yes",
|
|
9941
|
+
"allowNo": false,
|
|
9942
|
+
"type": "boolean"
|
|
9691
9943
|
}
|
|
9692
9944
|
},
|
|
9693
9945
|
"hasDynamicHelp": false,
|
|
9694
9946
|
"hiddenAliases": [],
|
|
9695
|
-
"id": "
|
|
9947
|
+
"id": "project:delete",
|
|
9696
9948
|
"pluginAlias": "@wavyx/pdcli",
|
|
9697
9949
|
"pluginName": "@wavyx/pdcli",
|
|
9698
9950
|
"pluginType": "core",
|
|
@@ -9702,16 +9954,23 @@
|
|
|
9702
9954
|
"relativePath": [
|
|
9703
9955
|
"src",
|
|
9704
9956
|
"commands",
|
|
9705
|
-
"
|
|
9706
|
-
"
|
|
9957
|
+
"project",
|
|
9958
|
+
"delete.js"
|
|
9707
9959
|
]
|
|
9708
9960
|
},
|
|
9709
|
-
"
|
|
9961
|
+
"project:get": {
|
|
9710
9962
|
"aliases": [],
|
|
9711
|
-
"args": {
|
|
9712
|
-
|
|
9963
|
+
"args": {
|
|
9964
|
+
"id": {
|
|
9965
|
+
"description": "Project ID",
|
|
9966
|
+
"name": "id",
|
|
9967
|
+
"required": true
|
|
9968
|
+
}
|
|
9969
|
+
},
|
|
9970
|
+
"description": "Get a project by ID",
|
|
9713
9971
|
"examples": [
|
|
9714
|
-
"<%= config.bin %>
|
|
9972
|
+
"<%= config.bin %> project get 3",
|
|
9973
|
+
"<%= config.bin %> project get 3 --output json"
|
|
9715
9974
|
],
|
|
9716
9975
|
"flags": {
|
|
9717
9976
|
"output": {
|
|
@@ -9746,7 +10005,7 @@
|
|
|
9746
10005
|
"type": "option"
|
|
9747
10006
|
},
|
|
9748
10007
|
"resolve-fields": {
|
|
9749
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
10008
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
9750
10009
|
"helpGroup": "GLOBAL",
|
|
9751
10010
|
"name": "resolve-fields",
|
|
9752
10011
|
"allowNo": false,
|
|
@@ -9801,27 +10060,27 @@
|
|
|
9801
10060
|
},
|
|
9802
10061
|
"hasDynamicHelp": false,
|
|
9803
10062
|
"hiddenAliases": [],
|
|
9804
|
-
"id": "
|
|
10063
|
+
"id": "project:get",
|
|
9805
10064
|
"pluginAlias": "@wavyx/pdcli",
|
|
9806
10065
|
"pluginName": "@wavyx/pdcli",
|
|
9807
10066
|
"pluginType": "core",
|
|
9808
10067
|
"strict": true,
|
|
9809
10068
|
"enableJsonFlag": false,
|
|
9810
|
-
"skipAuth": true,
|
|
9811
10069
|
"isESM": true,
|
|
9812
10070
|
"relativePath": [
|
|
9813
10071
|
"src",
|
|
9814
10072
|
"commands",
|
|
9815
|
-
"
|
|
9816
|
-
"
|
|
10073
|
+
"project",
|
|
10074
|
+
"get.js"
|
|
9817
10075
|
]
|
|
9818
10076
|
},
|
|
9819
|
-
"
|
|
10077
|
+
"project:list": {
|
|
9820
10078
|
"aliases": [],
|
|
9821
10079
|
"args": {},
|
|
9822
|
-
"description": "List
|
|
10080
|
+
"description": "List projects",
|
|
9823
10081
|
"examples": [
|
|
9824
|
-
"<%= config.bin %>
|
|
10082
|
+
"<%= config.bin %> project list",
|
|
10083
|
+
"<%= config.bin %> project list --output json"
|
|
9825
10084
|
],
|
|
9826
10085
|
"flags": {
|
|
9827
10086
|
"output": {
|
|
@@ -9856,7 +10115,7 @@
|
|
|
9856
10115
|
"type": "option"
|
|
9857
10116
|
},
|
|
9858
10117
|
"resolve-fields": {
|
|
9859
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
10118
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
9860
10119
|
"helpGroup": "GLOBAL",
|
|
9861
10120
|
"name": "resolve-fields",
|
|
9862
10121
|
"allowNo": false,
|
|
@@ -9911,33 +10170,34 @@
|
|
|
9911
10170
|
},
|
|
9912
10171
|
"hasDynamicHelp": false,
|
|
9913
10172
|
"hiddenAliases": [],
|
|
9914
|
-
"id": "
|
|
10173
|
+
"id": "project:list",
|
|
9915
10174
|
"pluginAlias": "@wavyx/pdcli",
|
|
9916
10175
|
"pluginName": "@wavyx/pdcli",
|
|
9917
10176
|
"pluginType": "core",
|
|
9918
10177
|
"strict": true,
|
|
9919
10178
|
"enableJsonFlag": false,
|
|
9920
|
-
"skipAuth": true,
|
|
9921
10179
|
"isESM": true,
|
|
9922
10180
|
"relativePath": [
|
|
9923
10181
|
"src",
|
|
9924
10182
|
"commands",
|
|
9925
|
-
"
|
|
10183
|
+
"project",
|
|
9926
10184
|
"list.js"
|
|
9927
10185
|
]
|
|
9928
10186
|
},
|
|
9929
|
-
"
|
|
10187
|
+
"project:update": {
|
|
9930
10188
|
"aliases": [],
|
|
9931
10189
|
"args": {
|
|
9932
|
-
"
|
|
9933
|
-
"description": "
|
|
9934
|
-
"name": "
|
|
10190
|
+
"id": {
|
|
10191
|
+
"description": "Project ID",
|
|
10192
|
+
"name": "id",
|
|
9935
10193
|
"required": true
|
|
9936
10194
|
}
|
|
9937
10195
|
},
|
|
9938
|
-
"description": "
|
|
10196
|
+
"description": "Update a project (v2 PATCH — only provided fields change)",
|
|
9939
10197
|
"examples": [
|
|
9940
|
-
"<%= config.bin %>
|
|
10198
|
+
"<%= config.bin %> project update 7 --title \"Relaunch\"",
|
|
10199
|
+
"<%= config.bin %> project update 7 --status closed",
|
|
10200
|
+
"<%= config.bin %> project update 7 --owner 9"
|
|
9941
10201
|
],
|
|
9942
10202
|
"flags": {
|
|
9943
10203
|
"output": {
|
|
@@ -9972,7 +10232,7 @@
|
|
|
9972
10232
|
"type": "option"
|
|
9973
10233
|
},
|
|
9974
10234
|
"resolve-fields": {
|
|
9975
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
10235
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
9976
10236
|
"helpGroup": "GLOBAL",
|
|
9977
10237
|
"name": "resolve-fields",
|
|
9978
10238
|
"allowNo": false,
|
|
@@ -10023,23 +10283,85 @@
|
|
|
10023
10283
|
"hasDynamicHelp": false,
|
|
10024
10284
|
"multiple": false,
|
|
10025
10285
|
"type": "option"
|
|
10286
|
+
},
|
|
10287
|
+
"title": {
|
|
10288
|
+
"description": "Project title",
|
|
10289
|
+
"name": "title",
|
|
10290
|
+
"hasDynamicHelp": false,
|
|
10291
|
+
"multiple": false,
|
|
10292
|
+
"type": "option"
|
|
10293
|
+
},
|
|
10294
|
+
"description": {
|
|
10295
|
+
"description": "Project description",
|
|
10296
|
+
"name": "description",
|
|
10297
|
+
"hasDynamicHelp": false,
|
|
10298
|
+
"multiple": false,
|
|
10299
|
+
"type": "option"
|
|
10300
|
+
},
|
|
10301
|
+
"status": {
|
|
10302
|
+
"description": "Project status",
|
|
10303
|
+
"name": "status",
|
|
10304
|
+
"hasDynamicHelp": false,
|
|
10305
|
+
"multiple": false,
|
|
10306
|
+
"type": "option"
|
|
10307
|
+
},
|
|
10308
|
+
"start-date": {
|
|
10309
|
+
"description": "Start date (YYYY-MM-DD)",
|
|
10310
|
+
"name": "start-date",
|
|
10311
|
+
"hasDynamicHelp": false,
|
|
10312
|
+
"multiple": false,
|
|
10313
|
+
"type": "option"
|
|
10314
|
+
},
|
|
10315
|
+
"end-date": {
|
|
10316
|
+
"description": "End date (YYYY-MM-DD)",
|
|
10317
|
+
"name": "end-date",
|
|
10318
|
+
"hasDynamicHelp": false,
|
|
10319
|
+
"multiple": false,
|
|
10320
|
+
"type": "option"
|
|
10321
|
+
},
|
|
10322
|
+
"owner": {
|
|
10323
|
+
"description": "Owner (user) ID",
|
|
10324
|
+
"name": "owner",
|
|
10325
|
+
"hasDynamicHelp": false,
|
|
10326
|
+
"multiple": false,
|
|
10327
|
+
"type": "option"
|
|
10328
|
+
},
|
|
10329
|
+
"board": {
|
|
10330
|
+
"description": "Board ID",
|
|
10331
|
+
"name": "board",
|
|
10332
|
+
"hasDynamicHelp": false,
|
|
10333
|
+
"multiple": false,
|
|
10334
|
+
"type": "option"
|
|
10335
|
+
},
|
|
10336
|
+
"phase": {
|
|
10337
|
+
"description": "Phase ID",
|
|
10338
|
+
"name": "phase",
|
|
10339
|
+
"hasDynamicHelp": false,
|
|
10340
|
+
"multiple": false,
|
|
10341
|
+
"type": "option"
|
|
10342
|
+
},
|
|
10343
|
+
"body": {
|
|
10344
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
10345
|
+
"name": "body",
|
|
10346
|
+
"hasDynamicHelp": false,
|
|
10347
|
+
"multiple": false,
|
|
10348
|
+
"type": "option"
|
|
10026
10349
|
}
|
|
10027
10350
|
},
|
|
10028
10351
|
"hasDynamicHelp": false,
|
|
10029
10352
|
"hiddenAliases": [],
|
|
10030
|
-
"id": "
|
|
10353
|
+
"id": "project:update",
|
|
10031
10354
|
"pluginAlias": "@wavyx/pdcli",
|
|
10032
10355
|
"pluginName": "@wavyx/pdcli",
|
|
10033
10356
|
"pluginType": "core",
|
|
10034
10357
|
"strict": true,
|
|
10035
10358
|
"enableJsonFlag": false,
|
|
10036
|
-
"skipAuth": true,
|
|
10037
10359
|
"isESM": true,
|
|
10038
10360
|
"relativePath": [
|
|
10039
10361
|
"src",
|
|
10040
10362
|
"commands",
|
|
10041
|
-
"
|
|
10042
|
-
"
|
|
10363
|
+
"project",
|
|
10364
|
+
"update.js"
|
|
10043
10365
|
]
|
|
10044
10366
|
},
|
|
10045
10367
|
"stage:get": {
|
|
@@ -10089,7 +10411,7 @@
|
|
|
10089
10411
|
"type": "option"
|
|
10090
10412
|
},
|
|
10091
10413
|
"resolve-fields": {
|
|
10092
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
10414
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
10093
10415
|
"helpGroup": "GLOBAL",
|
|
10094
10416
|
"name": "resolve-fields",
|
|
10095
10417
|
"allowNo": false,
|
|
@@ -10199,7 +10521,7 @@
|
|
|
10199
10521
|
"type": "option"
|
|
10200
10522
|
},
|
|
10201
10523
|
"resolve-fields": {
|
|
10202
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
10524
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
10203
10525
|
"helpGroup": "GLOBAL",
|
|
10204
10526
|
"name": "resolve-fields",
|
|
10205
10527
|
"allowNo": false,
|
|
@@ -10275,12 +10597,19 @@
|
|
|
10275
10597
|
"list.js"
|
|
10276
10598
|
]
|
|
10277
10599
|
},
|
|
10278
|
-
"user:
|
|
10600
|
+
"user:find": {
|
|
10279
10601
|
"aliases": [],
|
|
10280
|
-
"args": {
|
|
10281
|
-
|
|
10602
|
+
"args": {
|
|
10603
|
+
"term": {
|
|
10604
|
+
"description": "Search term",
|
|
10605
|
+
"name": "term",
|
|
10606
|
+
"required": true
|
|
10607
|
+
}
|
|
10608
|
+
},
|
|
10609
|
+
"description": "Find users by name",
|
|
10282
10610
|
"examples": [
|
|
10283
|
-
"<%= config.bin %> user
|
|
10611
|
+
"<%= config.bin %> user find \"jane\"",
|
|
10612
|
+
"<%= config.bin %> user find \"jane@acme.com\" --by-email --output json"
|
|
10284
10613
|
],
|
|
10285
10614
|
"flags": {
|
|
10286
10615
|
"output": {
|
|
@@ -10315,7 +10644,7 @@
|
|
|
10315
10644
|
"type": "option"
|
|
10316
10645
|
},
|
|
10317
10646
|
"resolve-fields": {
|
|
10318
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
10647
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
10319
10648
|
"helpGroup": "GLOBAL",
|
|
10320
10649
|
"name": "resolve-fields",
|
|
10321
10650
|
"allowNo": false,
|
|
@@ -10366,11 +10695,17 @@
|
|
|
10366
10695
|
"hasDynamicHelp": false,
|
|
10367
10696
|
"multiple": false,
|
|
10368
10697
|
"type": "option"
|
|
10698
|
+
},
|
|
10699
|
+
"by-email": {
|
|
10700
|
+
"description": "Match the term against email addresses only",
|
|
10701
|
+
"name": "by-email",
|
|
10702
|
+
"allowNo": false,
|
|
10703
|
+
"type": "boolean"
|
|
10369
10704
|
}
|
|
10370
10705
|
},
|
|
10371
10706
|
"hasDynamicHelp": false,
|
|
10372
10707
|
"hiddenAliases": [],
|
|
10373
|
-
"id": "user:
|
|
10708
|
+
"id": "user:find",
|
|
10374
10709
|
"pluginAlias": "@wavyx/pdcli",
|
|
10375
10710
|
"pluginName": "@wavyx/pdcli",
|
|
10376
10711
|
"pluginType": "core",
|
|
@@ -10381,17 +10716,16 @@
|
|
|
10381
10716
|
"src",
|
|
10382
10717
|
"commands",
|
|
10383
10718
|
"user",
|
|
10384
|
-
"
|
|
10719
|
+
"find.js"
|
|
10385
10720
|
]
|
|
10386
10721
|
},
|
|
10387
|
-
"
|
|
10722
|
+
"user:list": {
|
|
10388
10723
|
"aliases": [],
|
|
10389
10724
|
"args": {},
|
|
10390
|
-
"description": "
|
|
10725
|
+
"description": "List all users",
|
|
10391
10726
|
"examples": [
|
|
10392
|
-
"<%= config.bin %>
|
|
10393
|
-
"<%= config.bin %>
|
|
10394
|
-
"<%= config.bin %> project create --title \"Raw\" --body '{\"deal_ids\":[1,2]}'"
|
|
10727
|
+
"<%= config.bin %> user list",
|
|
10728
|
+
"<%= config.bin %> user list --output json"
|
|
10395
10729
|
],
|
|
10396
10730
|
"flags": {
|
|
10397
10731
|
"output": {
|
|
@@ -10426,7 +10760,7 @@
|
|
|
10426
10760
|
"type": "option"
|
|
10427
10761
|
},
|
|
10428
10762
|
"resolve-fields": {
|
|
10429
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
10763
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
10430
10764
|
"helpGroup": "GLOBAL",
|
|
10431
10765
|
"name": "resolve-fields",
|
|
10432
10766
|
"allowNo": false,
|
|
@@ -10477,67 +10811,112 @@
|
|
|
10477
10811
|
"hasDynamicHelp": false,
|
|
10478
10812
|
"multiple": false,
|
|
10479
10813
|
"type": "option"
|
|
10480
|
-
}
|
|
10481
|
-
|
|
10482
|
-
|
|
10483
|
-
|
|
10484
|
-
|
|
10485
|
-
|
|
10486
|
-
|
|
10487
|
-
|
|
10488
|
-
|
|
10489
|
-
|
|
10490
|
-
|
|
10491
|
-
|
|
10814
|
+
}
|
|
10815
|
+
},
|
|
10816
|
+
"hasDynamicHelp": false,
|
|
10817
|
+
"hiddenAliases": [],
|
|
10818
|
+
"id": "user:list",
|
|
10819
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
10820
|
+
"pluginName": "@wavyx/pdcli",
|
|
10821
|
+
"pluginType": "core",
|
|
10822
|
+
"strict": true,
|
|
10823
|
+
"enableJsonFlag": false,
|
|
10824
|
+
"isESM": true,
|
|
10825
|
+
"relativePath": [
|
|
10826
|
+
"src",
|
|
10827
|
+
"commands",
|
|
10828
|
+
"user",
|
|
10829
|
+
"list.js"
|
|
10830
|
+
]
|
|
10831
|
+
},
|
|
10832
|
+
"user:me": {
|
|
10833
|
+
"aliases": [],
|
|
10834
|
+
"args": {},
|
|
10835
|
+
"description": "Show the authenticated user",
|
|
10836
|
+
"examples": [
|
|
10837
|
+
"<%= config.bin %> user me"
|
|
10838
|
+
],
|
|
10839
|
+
"flags": {
|
|
10840
|
+
"output": {
|
|
10841
|
+
"char": "o",
|
|
10842
|
+
"description": "Output format",
|
|
10843
|
+
"helpGroup": "GLOBAL",
|
|
10844
|
+
"name": "output",
|
|
10492
10845
|
"hasDynamicHelp": false,
|
|
10493
10846
|
"multiple": false,
|
|
10847
|
+
"options": [
|
|
10848
|
+
"table",
|
|
10849
|
+
"json",
|
|
10850
|
+
"yaml",
|
|
10851
|
+
"csv"
|
|
10852
|
+
],
|
|
10494
10853
|
"type": "option"
|
|
10495
10854
|
},
|
|
10496
|
-
"
|
|
10497
|
-
"description": "
|
|
10498
|
-
"
|
|
10855
|
+
"jq": {
|
|
10856
|
+
"description": "jq expression to filter JSON output",
|
|
10857
|
+
"helpGroup": "GLOBAL",
|
|
10858
|
+
"name": "jq",
|
|
10499
10859
|
"hasDynamicHelp": false,
|
|
10500
10860
|
"multiple": false,
|
|
10501
10861
|
"type": "option"
|
|
10502
10862
|
},
|
|
10503
|
-
"
|
|
10504
|
-
"description": "
|
|
10505
|
-
"
|
|
10863
|
+
"fields": {
|
|
10864
|
+
"description": "Comma-separated fields to display",
|
|
10865
|
+
"helpGroup": "GLOBAL",
|
|
10866
|
+
"name": "fields",
|
|
10506
10867
|
"hasDynamicHelp": false,
|
|
10507
10868
|
"multiple": false,
|
|
10508
10869
|
"type": "option"
|
|
10509
10870
|
},
|
|
10510
|
-
"
|
|
10511
|
-
"description": "
|
|
10512
|
-
"
|
|
10513
|
-
"
|
|
10514
|
-
"
|
|
10515
|
-
"type": "
|
|
10871
|
+
"resolve-fields": {
|
|
10872
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
10873
|
+
"helpGroup": "GLOBAL",
|
|
10874
|
+
"name": "resolve-fields",
|
|
10875
|
+
"allowNo": false,
|
|
10876
|
+
"type": "boolean"
|
|
10516
10877
|
},
|
|
10517
|
-
"
|
|
10518
|
-
"description": "
|
|
10519
|
-
"
|
|
10878
|
+
"profile": {
|
|
10879
|
+
"description": "Named auth profile to use",
|
|
10880
|
+
"env": "PDCLI_PROFILE",
|
|
10881
|
+
"helpGroup": "GLOBAL",
|
|
10882
|
+
"name": "profile",
|
|
10520
10883
|
"hasDynamicHelp": false,
|
|
10521
10884
|
"multiple": false,
|
|
10522
10885
|
"type": "option"
|
|
10523
10886
|
},
|
|
10524
|
-
"
|
|
10525
|
-
"description": "
|
|
10526
|
-
"
|
|
10527
|
-
"
|
|
10528
|
-
"
|
|
10529
|
-
"type": "
|
|
10887
|
+
"no-color": {
|
|
10888
|
+
"description": "Disable color output",
|
|
10889
|
+
"helpGroup": "GLOBAL",
|
|
10890
|
+
"name": "no-color",
|
|
10891
|
+
"allowNo": false,
|
|
10892
|
+
"type": "boolean"
|
|
10530
10893
|
},
|
|
10531
|
-
"
|
|
10532
|
-
"description": "
|
|
10533
|
-
"
|
|
10894
|
+
"verbose": {
|
|
10895
|
+
"description": "Show detailed API request/response on errors",
|
|
10896
|
+
"helpGroup": "GLOBAL",
|
|
10897
|
+
"name": "verbose",
|
|
10898
|
+
"allowNo": false,
|
|
10899
|
+
"type": "boolean"
|
|
10900
|
+
},
|
|
10901
|
+
"no-retry": {
|
|
10902
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
10903
|
+
"helpGroup": "GLOBAL",
|
|
10904
|
+
"name": "no-retry",
|
|
10905
|
+
"allowNo": false,
|
|
10906
|
+
"type": "boolean"
|
|
10907
|
+
},
|
|
10908
|
+
"timeout": {
|
|
10909
|
+
"description": "Request timeout in milliseconds",
|
|
10910
|
+
"helpGroup": "GLOBAL",
|
|
10911
|
+
"name": "timeout",
|
|
10534
10912
|
"hasDynamicHelp": false,
|
|
10535
10913
|
"multiple": false,
|
|
10536
10914
|
"type": "option"
|
|
10537
10915
|
},
|
|
10538
|
-
"
|
|
10539
|
-
"description": "
|
|
10540
|
-
"
|
|
10916
|
+
"limit": {
|
|
10917
|
+
"description": "Maximum number of items to return (lists)",
|
|
10918
|
+
"helpGroup": "GLOBAL",
|
|
10919
|
+
"name": "limit",
|
|
10541
10920
|
"hasDynamicHelp": false,
|
|
10542
10921
|
"multiple": false,
|
|
10543
10922
|
"type": "option"
|
|
@@ -10545,7 +10924,7 @@
|
|
|
10545
10924
|
},
|
|
10546
10925
|
"hasDynamicHelp": false,
|
|
10547
10926
|
"hiddenAliases": [],
|
|
10548
|
-
"id": "
|
|
10927
|
+
"id": "user:me",
|
|
10549
10928
|
"pluginAlias": "@wavyx/pdcli",
|
|
10550
10929
|
"pluginName": "@wavyx/pdcli",
|
|
10551
10930
|
"pluginType": "core",
|
|
@@ -10555,23 +10934,17 @@
|
|
|
10555
10934
|
"relativePath": [
|
|
10556
10935
|
"src",
|
|
10557
10936
|
"commands",
|
|
10558
|
-
"
|
|
10559
|
-
"
|
|
10937
|
+
"user",
|
|
10938
|
+
"me.js"
|
|
10560
10939
|
]
|
|
10561
10940
|
},
|
|
10562
|
-
"
|
|
10941
|
+
"webhook:create": {
|
|
10563
10942
|
"aliases": [],
|
|
10564
|
-
"args": {
|
|
10565
|
-
|
|
10566
|
-
"description": "Project ID",
|
|
10567
|
-
"name": "id",
|
|
10568
|
-
"required": true
|
|
10569
|
-
}
|
|
10570
|
-
},
|
|
10571
|
-
"description": "Delete a project",
|
|
10943
|
+
"args": {},
|
|
10944
|
+
"description": "Create a webhook",
|
|
10572
10945
|
"examples": [
|
|
10573
|
-
"<%= config.bin %>
|
|
10574
|
-
"<%= config.bin %>
|
|
10946
|
+
"<%= config.bin %> webhook create --url https://example.com/hook --event-action change --event-object deal",
|
|
10947
|
+
"<%= config.bin %> webhook create --url https://example.com/hook --event-action \"*\" --event-object \"*\""
|
|
10575
10948
|
],
|
|
10576
10949
|
"flags": {
|
|
10577
10950
|
"output": {
|
|
@@ -10606,7 +10979,7 @@
|
|
|
10606
10979
|
"type": "option"
|
|
10607
10980
|
},
|
|
10608
10981
|
"resolve-fields": {
|
|
10609
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
10982
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
10610
10983
|
"helpGroup": "GLOBAL",
|
|
10611
10984
|
"name": "resolve-fields",
|
|
10612
10985
|
"allowNo": false,
|
|
@@ -10658,17 +11031,94 @@
|
|
|
10658
11031
|
"multiple": false,
|
|
10659
11032
|
"type": "option"
|
|
10660
11033
|
},
|
|
10661
|
-
"
|
|
10662
|
-
"
|
|
10663
|
-
"
|
|
10664
|
-
"
|
|
10665
|
-
"
|
|
10666
|
-
"
|
|
11034
|
+
"url": {
|
|
11035
|
+
"description": "Webhook subscription URL",
|
|
11036
|
+
"name": "url",
|
|
11037
|
+
"required": true,
|
|
11038
|
+
"hasDynamicHelp": false,
|
|
11039
|
+
"multiple": false,
|
|
11040
|
+
"type": "option"
|
|
11041
|
+
},
|
|
11042
|
+
"event-action": {
|
|
11043
|
+
"description": "Event action to subscribe to",
|
|
11044
|
+
"name": "event-action",
|
|
11045
|
+
"required": true,
|
|
11046
|
+
"hasDynamicHelp": false,
|
|
11047
|
+
"multiple": false,
|
|
11048
|
+
"options": [
|
|
11049
|
+
"create",
|
|
11050
|
+
"change",
|
|
11051
|
+
"delete",
|
|
11052
|
+
"*"
|
|
11053
|
+
],
|
|
11054
|
+
"type": "option"
|
|
11055
|
+
},
|
|
11056
|
+
"event-object": {
|
|
11057
|
+
"description": "Event object to subscribe to",
|
|
11058
|
+
"name": "event-object",
|
|
11059
|
+
"required": true,
|
|
11060
|
+
"hasDynamicHelp": false,
|
|
11061
|
+
"multiple": false,
|
|
11062
|
+
"options": [
|
|
11063
|
+
"activity",
|
|
11064
|
+
"board",
|
|
11065
|
+
"deal",
|
|
11066
|
+
"deal_installment",
|
|
11067
|
+
"deal_product",
|
|
11068
|
+
"lead",
|
|
11069
|
+
"note",
|
|
11070
|
+
"organization",
|
|
11071
|
+
"person",
|
|
11072
|
+
"phase",
|
|
11073
|
+
"pipeline",
|
|
11074
|
+
"product",
|
|
11075
|
+
"project",
|
|
11076
|
+
"stage",
|
|
11077
|
+
"task",
|
|
11078
|
+
"user",
|
|
11079
|
+
"*"
|
|
11080
|
+
],
|
|
11081
|
+
"type": "option"
|
|
11082
|
+
},
|
|
11083
|
+
"name": {
|
|
11084
|
+
"description": "Webhook name",
|
|
11085
|
+
"name": "name",
|
|
11086
|
+
"hasDynamicHelp": false,
|
|
11087
|
+
"multiple": false,
|
|
11088
|
+
"type": "option"
|
|
11089
|
+
},
|
|
11090
|
+
"version": {
|
|
11091
|
+
"description": "Webhook payload version",
|
|
11092
|
+
"name": "version",
|
|
11093
|
+
"default": "2.0",
|
|
11094
|
+
"hasDynamicHelp": false,
|
|
11095
|
+
"multiple": false,
|
|
11096
|
+
"type": "option"
|
|
11097
|
+
},
|
|
11098
|
+
"http-auth-user": {
|
|
11099
|
+
"dependsOn": [
|
|
11100
|
+
"http-auth-password"
|
|
11101
|
+
],
|
|
11102
|
+
"description": "HTTP basic auth username for the endpoint",
|
|
11103
|
+
"name": "http-auth-user",
|
|
11104
|
+
"hasDynamicHelp": false,
|
|
11105
|
+
"multiple": false,
|
|
11106
|
+
"type": "option"
|
|
11107
|
+
},
|
|
11108
|
+
"http-auth-password": {
|
|
11109
|
+
"dependsOn": [
|
|
11110
|
+
"http-auth-user"
|
|
11111
|
+
],
|
|
11112
|
+
"description": "HTTP basic auth password for the endpoint",
|
|
11113
|
+
"name": "http-auth-password",
|
|
11114
|
+
"hasDynamicHelp": false,
|
|
11115
|
+
"multiple": false,
|
|
11116
|
+
"type": "option"
|
|
10667
11117
|
}
|
|
10668
11118
|
},
|
|
10669
11119
|
"hasDynamicHelp": false,
|
|
10670
11120
|
"hiddenAliases": [],
|
|
10671
|
-
"id": "
|
|
11121
|
+
"id": "webhook:create",
|
|
10672
11122
|
"pluginAlias": "@wavyx/pdcli",
|
|
10673
11123
|
"pluginName": "@wavyx/pdcli",
|
|
10674
11124
|
"pluginType": "core",
|
|
@@ -10678,23 +11128,23 @@
|
|
|
10678
11128
|
"relativePath": [
|
|
10679
11129
|
"src",
|
|
10680
11130
|
"commands",
|
|
10681
|
-
"
|
|
10682
|
-
"
|
|
11131
|
+
"webhook",
|
|
11132
|
+
"create.js"
|
|
10683
11133
|
]
|
|
10684
11134
|
},
|
|
10685
|
-
"
|
|
11135
|
+
"webhook:delete": {
|
|
10686
11136
|
"aliases": [],
|
|
10687
11137
|
"args": {
|
|
10688
11138
|
"id": {
|
|
10689
|
-
"description": "
|
|
11139
|
+
"description": "Webhook ID",
|
|
10690
11140
|
"name": "id",
|
|
10691
11141
|
"required": true
|
|
10692
11142
|
}
|
|
10693
11143
|
},
|
|
10694
|
-
"description": "
|
|
11144
|
+
"description": "Delete a webhook",
|
|
10695
11145
|
"examples": [
|
|
10696
|
-
"<%= config.bin %>
|
|
10697
|
-
"<%= config.bin %>
|
|
11146
|
+
"<%= config.bin %> webhook delete 3",
|
|
11147
|
+
"<%= config.bin %> webhook delete 3 --yes"
|
|
10698
11148
|
],
|
|
10699
11149
|
"flags": {
|
|
10700
11150
|
"output": {
|
|
@@ -10729,7 +11179,7 @@
|
|
|
10729
11179
|
"type": "option"
|
|
10730
11180
|
},
|
|
10731
11181
|
"resolve-fields": {
|
|
10732
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
11182
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
10733
11183
|
"helpGroup": "GLOBAL",
|
|
10734
11184
|
"name": "resolve-fields",
|
|
10735
11185
|
"allowNo": false,
|
|
@@ -10780,11 +11230,18 @@
|
|
|
10780
11230
|
"hasDynamicHelp": false,
|
|
10781
11231
|
"multiple": false,
|
|
10782
11232
|
"type": "option"
|
|
11233
|
+
},
|
|
11234
|
+
"yes": {
|
|
11235
|
+
"char": "y",
|
|
11236
|
+
"description": "Skip the confirmation prompt",
|
|
11237
|
+
"name": "yes",
|
|
11238
|
+
"allowNo": false,
|
|
11239
|
+
"type": "boolean"
|
|
10783
11240
|
}
|
|
10784
11241
|
},
|
|
10785
11242
|
"hasDynamicHelp": false,
|
|
10786
11243
|
"hiddenAliases": [],
|
|
10787
|
-
"id": "
|
|
11244
|
+
"id": "webhook:delete",
|
|
10788
11245
|
"pluginAlias": "@wavyx/pdcli",
|
|
10789
11246
|
"pluginName": "@wavyx/pdcli",
|
|
10790
11247
|
"pluginType": "core",
|
|
@@ -10794,17 +11251,17 @@
|
|
|
10794
11251
|
"relativePath": [
|
|
10795
11252
|
"src",
|
|
10796
11253
|
"commands",
|
|
10797
|
-
"
|
|
10798
|
-
"
|
|
11254
|
+
"webhook",
|
|
11255
|
+
"delete.js"
|
|
10799
11256
|
]
|
|
10800
11257
|
},
|
|
10801
|
-
"
|
|
11258
|
+
"webhook:list": {
|
|
10802
11259
|
"aliases": [],
|
|
10803
11260
|
"args": {},
|
|
10804
|
-
"description": "List
|
|
11261
|
+
"description": "List webhooks",
|
|
10805
11262
|
"examples": [
|
|
10806
|
-
"<%= config.bin %>
|
|
10807
|
-
"<%= config.bin %>
|
|
11263
|
+
"<%= config.bin %> webhook list",
|
|
11264
|
+
"<%= config.bin %> webhook list --output json"
|
|
10808
11265
|
],
|
|
10809
11266
|
"flags": {
|
|
10810
11267
|
"output": {
|
|
@@ -10839,7 +11296,7 @@
|
|
|
10839
11296
|
"type": "option"
|
|
10840
11297
|
},
|
|
10841
11298
|
"resolve-fields": {
|
|
10842
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
11299
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
10843
11300
|
"helpGroup": "GLOBAL",
|
|
10844
11301
|
"name": "resolve-fields",
|
|
10845
11302
|
"allowNo": false,
|
|
@@ -10854,39 +11311,810 @@
|
|
|
10854
11311
|
"multiple": false,
|
|
10855
11312
|
"type": "option"
|
|
10856
11313
|
},
|
|
10857
|
-
"no-color": {
|
|
10858
|
-
"description": "Disable color output",
|
|
10859
|
-
"helpGroup": "GLOBAL",
|
|
10860
|
-
"name": "no-color",
|
|
10861
|
-
"allowNo": false,
|
|
10862
|
-
"type": "boolean"
|
|
10863
|
-
},
|
|
10864
|
-
"verbose": {
|
|
10865
|
-
"description": "Show detailed API request/response on errors",
|
|
10866
|
-
"helpGroup": "GLOBAL",
|
|
10867
|
-
"name": "verbose",
|
|
10868
|
-
"allowNo": false,
|
|
10869
|
-
"type": "boolean"
|
|
10870
|
-
},
|
|
10871
|
-
"no-retry": {
|
|
10872
|
-
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
10873
|
-
"helpGroup": "GLOBAL",
|
|
10874
|
-
"name": "no-retry",
|
|
10875
|
-
"allowNo": false,
|
|
10876
|
-
"type": "boolean"
|
|
10877
|
-
},
|
|
10878
|
-
"timeout": {
|
|
10879
|
-
"description": "Request timeout in milliseconds",
|
|
10880
|
-
"helpGroup": "GLOBAL",
|
|
10881
|
-
"name": "timeout",
|
|
11314
|
+
"no-color": {
|
|
11315
|
+
"description": "Disable color output",
|
|
11316
|
+
"helpGroup": "GLOBAL",
|
|
11317
|
+
"name": "no-color",
|
|
11318
|
+
"allowNo": false,
|
|
11319
|
+
"type": "boolean"
|
|
11320
|
+
},
|
|
11321
|
+
"verbose": {
|
|
11322
|
+
"description": "Show detailed API request/response on errors",
|
|
11323
|
+
"helpGroup": "GLOBAL",
|
|
11324
|
+
"name": "verbose",
|
|
11325
|
+
"allowNo": false,
|
|
11326
|
+
"type": "boolean"
|
|
11327
|
+
},
|
|
11328
|
+
"no-retry": {
|
|
11329
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
11330
|
+
"helpGroup": "GLOBAL",
|
|
11331
|
+
"name": "no-retry",
|
|
11332
|
+
"allowNo": false,
|
|
11333
|
+
"type": "boolean"
|
|
11334
|
+
},
|
|
11335
|
+
"timeout": {
|
|
11336
|
+
"description": "Request timeout in milliseconds",
|
|
11337
|
+
"helpGroup": "GLOBAL",
|
|
11338
|
+
"name": "timeout",
|
|
11339
|
+
"hasDynamicHelp": false,
|
|
11340
|
+
"multiple": false,
|
|
11341
|
+
"type": "option"
|
|
11342
|
+
},
|
|
11343
|
+
"limit": {
|
|
11344
|
+
"description": "Maximum number of items to return (lists)",
|
|
11345
|
+
"helpGroup": "GLOBAL",
|
|
11346
|
+
"name": "limit",
|
|
11347
|
+
"hasDynamicHelp": false,
|
|
11348
|
+
"multiple": false,
|
|
11349
|
+
"type": "option"
|
|
11350
|
+
}
|
|
11351
|
+
},
|
|
11352
|
+
"hasDynamicHelp": false,
|
|
11353
|
+
"hiddenAliases": [],
|
|
11354
|
+
"id": "webhook:list",
|
|
11355
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
11356
|
+
"pluginName": "@wavyx/pdcli",
|
|
11357
|
+
"pluginType": "core",
|
|
11358
|
+
"strict": true,
|
|
11359
|
+
"enableJsonFlag": false,
|
|
11360
|
+
"isESM": true,
|
|
11361
|
+
"relativePath": [
|
|
11362
|
+
"src",
|
|
11363
|
+
"commands",
|
|
11364
|
+
"webhook",
|
|
11365
|
+
"list.js"
|
|
11366
|
+
]
|
|
11367
|
+
},
|
|
11368
|
+
"product:create": {
|
|
11369
|
+
"aliases": [],
|
|
11370
|
+
"args": {},
|
|
11371
|
+
"description": "Create a product",
|
|
11372
|
+
"examples": [
|
|
11373
|
+
"<%= config.bin %> product create --name \"Widget\" --code W-1 --price 9.99 --currency EUR",
|
|
11374
|
+
"<%= config.bin %> product create --name \"Sized\" --field \"Material=Steel\"",
|
|
11375
|
+
"<%= config.bin %> product create --name \"Raw\" --body '{\"tax\":19}'"
|
|
11376
|
+
],
|
|
11377
|
+
"flags": {
|
|
11378
|
+
"output": {
|
|
11379
|
+
"char": "o",
|
|
11380
|
+
"description": "Output format",
|
|
11381
|
+
"helpGroup": "GLOBAL",
|
|
11382
|
+
"name": "output",
|
|
11383
|
+
"hasDynamicHelp": false,
|
|
11384
|
+
"multiple": false,
|
|
11385
|
+
"options": [
|
|
11386
|
+
"table",
|
|
11387
|
+
"json",
|
|
11388
|
+
"yaml",
|
|
11389
|
+
"csv"
|
|
11390
|
+
],
|
|
11391
|
+
"type": "option"
|
|
11392
|
+
},
|
|
11393
|
+
"jq": {
|
|
11394
|
+
"description": "jq expression to filter JSON output",
|
|
11395
|
+
"helpGroup": "GLOBAL",
|
|
11396
|
+
"name": "jq",
|
|
11397
|
+
"hasDynamicHelp": false,
|
|
11398
|
+
"multiple": false,
|
|
11399
|
+
"type": "option"
|
|
11400
|
+
},
|
|
11401
|
+
"fields": {
|
|
11402
|
+
"description": "Comma-separated fields to display",
|
|
11403
|
+
"helpGroup": "GLOBAL",
|
|
11404
|
+
"name": "fields",
|
|
11405
|
+
"hasDynamicHelp": false,
|
|
11406
|
+
"multiple": false,
|
|
11407
|
+
"type": "option"
|
|
11408
|
+
},
|
|
11409
|
+
"resolve-fields": {
|
|
11410
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
11411
|
+
"helpGroup": "GLOBAL",
|
|
11412
|
+
"name": "resolve-fields",
|
|
11413
|
+
"allowNo": false,
|
|
11414
|
+
"type": "boolean"
|
|
11415
|
+
},
|
|
11416
|
+
"profile": {
|
|
11417
|
+
"description": "Named auth profile to use",
|
|
11418
|
+
"env": "PDCLI_PROFILE",
|
|
11419
|
+
"helpGroup": "GLOBAL",
|
|
11420
|
+
"name": "profile",
|
|
11421
|
+
"hasDynamicHelp": false,
|
|
11422
|
+
"multiple": false,
|
|
11423
|
+
"type": "option"
|
|
11424
|
+
},
|
|
11425
|
+
"no-color": {
|
|
11426
|
+
"description": "Disable color output",
|
|
11427
|
+
"helpGroup": "GLOBAL",
|
|
11428
|
+
"name": "no-color",
|
|
11429
|
+
"allowNo": false,
|
|
11430
|
+
"type": "boolean"
|
|
11431
|
+
},
|
|
11432
|
+
"verbose": {
|
|
11433
|
+
"description": "Show detailed API request/response on errors",
|
|
11434
|
+
"helpGroup": "GLOBAL",
|
|
11435
|
+
"name": "verbose",
|
|
11436
|
+
"allowNo": false,
|
|
11437
|
+
"type": "boolean"
|
|
11438
|
+
},
|
|
11439
|
+
"no-retry": {
|
|
11440
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
11441
|
+
"helpGroup": "GLOBAL",
|
|
11442
|
+
"name": "no-retry",
|
|
11443
|
+
"allowNo": false,
|
|
11444
|
+
"type": "boolean"
|
|
11445
|
+
},
|
|
11446
|
+
"timeout": {
|
|
11447
|
+
"description": "Request timeout in milliseconds",
|
|
11448
|
+
"helpGroup": "GLOBAL",
|
|
11449
|
+
"name": "timeout",
|
|
11450
|
+
"hasDynamicHelp": false,
|
|
11451
|
+
"multiple": false,
|
|
11452
|
+
"type": "option"
|
|
11453
|
+
},
|
|
11454
|
+
"limit": {
|
|
11455
|
+
"description": "Maximum number of items to return (lists)",
|
|
11456
|
+
"helpGroup": "GLOBAL",
|
|
11457
|
+
"name": "limit",
|
|
11458
|
+
"hasDynamicHelp": false,
|
|
11459
|
+
"multiple": false,
|
|
11460
|
+
"type": "option"
|
|
11461
|
+
},
|
|
11462
|
+
"name": {
|
|
11463
|
+
"description": "Product name",
|
|
11464
|
+
"name": "name",
|
|
11465
|
+
"required": true,
|
|
11466
|
+
"hasDynamicHelp": false,
|
|
11467
|
+
"multiple": false,
|
|
11468
|
+
"type": "option"
|
|
11469
|
+
},
|
|
11470
|
+
"code": {
|
|
11471
|
+
"description": "Product code (SKU)",
|
|
11472
|
+
"name": "code",
|
|
11473
|
+
"hasDynamicHelp": false,
|
|
11474
|
+
"multiple": false,
|
|
11475
|
+
"type": "option"
|
|
11476
|
+
},
|
|
11477
|
+
"unit": {
|
|
11478
|
+
"description": "Unit of measure",
|
|
11479
|
+
"name": "unit",
|
|
11480
|
+
"hasDynamicHelp": false,
|
|
11481
|
+
"multiple": false,
|
|
11482
|
+
"type": "option"
|
|
11483
|
+
},
|
|
11484
|
+
"description": {
|
|
11485
|
+
"description": "Product description",
|
|
11486
|
+
"name": "description",
|
|
11487
|
+
"hasDynamicHelp": false,
|
|
11488
|
+
"multiple": false,
|
|
11489
|
+
"type": "option"
|
|
11490
|
+
},
|
|
11491
|
+
"owner": {
|
|
11492
|
+
"description": "Owner (user) ID",
|
|
11493
|
+
"name": "owner",
|
|
11494
|
+
"hasDynamicHelp": false,
|
|
11495
|
+
"multiple": false,
|
|
11496
|
+
"type": "option"
|
|
11497
|
+
},
|
|
11498
|
+
"price": {
|
|
11499
|
+
"dependsOn": [
|
|
11500
|
+
"currency"
|
|
11501
|
+
],
|
|
11502
|
+
"description": "Unit price (requires --currency)",
|
|
11503
|
+
"name": "price",
|
|
11504
|
+
"hasDynamicHelp": false,
|
|
11505
|
+
"multiple": false,
|
|
11506
|
+
"type": "option"
|
|
11507
|
+
},
|
|
11508
|
+
"currency": {
|
|
11509
|
+
"dependsOn": [
|
|
11510
|
+
"price"
|
|
11511
|
+
],
|
|
11512
|
+
"description": "Price currency (requires --price)",
|
|
11513
|
+
"name": "currency",
|
|
11514
|
+
"hasDynamicHelp": false,
|
|
11515
|
+
"multiple": false,
|
|
11516
|
+
"type": "option"
|
|
11517
|
+
},
|
|
11518
|
+
"field": {
|
|
11519
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
11520
|
+
"name": "field",
|
|
11521
|
+
"hasDynamicHelp": false,
|
|
11522
|
+
"multiple": true,
|
|
11523
|
+
"type": "option"
|
|
11524
|
+
},
|
|
11525
|
+
"body": {
|
|
11526
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
11527
|
+
"name": "body",
|
|
11528
|
+
"hasDynamicHelp": false,
|
|
11529
|
+
"multiple": false,
|
|
11530
|
+
"type": "option"
|
|
11531
|
+
}
|
|
11532
|
+
},
|
|
11533
|
+
"hasDynamicHelp": false,
|
|
11534
|
+
"hiddenAliases": [],
|
|
11535
|
+
"id": "product:create",
|
|
11536
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
11537
|
+
"pluginName": "@wavyx/pdcli",
|
|
11538
|
+
"pluginType": "core",
|
|
11539
|
+
"strict": true,
|
|
11540
|
+
"enableJsonFlag": false,
|
|
11541
|
+
"isESM": true,
|
|
11542
|
+
"relativePath": [
|
|
11543
|
+
"src",
|
|
11544
|
+
"commands",
|
|
11545
|
+
"product",
|
|
11546
|
+
"create.js"
|
|
11547
|
+
]
|
|
11548
|
+
},
|
|
11549
|
+
"product:delete": {
|
|
11550
|
+
"aliases": [],
|
|
11551
|
+
"args": {
|
|
11552
|
+
"id": {
|
|
11553
|
+
"description": "Product ID",
|
|
11554
|
+
"name": "id",
|
|
11555
|
+
"required": true
|
|
11556
|
+
}
|
|
11557
|
+
},
|
|
11558
|
+
"description": "Delete a product",
|
|
11559
|
+
"examples": [
|
|
11560
|
+
"<%= config.bin %> product delete 7",
|
|
11561
|
+
"<%= config.bin %> product delete 7 --yes"
|
|
11562
|
+
],
|
|
11563
|
+
"flags": {
|
|
11564
|
+
"output": {
|
|
11565
|
+
"char": "o",
|
|
11566
|
+
"description": "Output format",
|
|
11567
|
+
"helpGroup": "GLOBAL",
|
|
11568
|
+
"name": "output",
|
|
11569
|
+
"hasDynamicHelp": false,
|
|
11570
|
+
"multiple": false,
|
|
11571
|
+
"options": [
|
|
11572
|
+
"table",
|
|
11573
|
+
"json",
|
|
11574
|
+
"yaml",
|
|
11575
|
+
"csv"
|
|
11576
|
+
],
|
|
11577
|
+
"type": "option"
|
|
11578
|
+
},
|
|
11579
|
+
"jq": {
|
|
11580
|
+
"description": "jq expression to filter JSON output",
|
|
11581
|
+
"helpGroup": "GLOBAL",
|
|
11582
|
+
"name": "jq",
|
|
11583
|
+
"hasDynamicHelp": false,
|
|
11584
|
+
"multiple": false,
|
|
11585
|
+
"type": "option"
|
|
11586
|
+
},
|
|
11587
|
+
"fields": {
|
|
11588
|
+
"description": "Comma-separated fields to display",
|
|
11589
|
+
"helpGroup": "GLOBAL",
|
|
11590
|
+
"name": "fields",
|
|
11591
|
+
"hasDynamicHelp": false,
|
|
11592
|
+
"multiple": false,
|
|
11593
|
+
"type": "option"
|
|
11594
|
+
},
|
|
11595
|
+
"resolve-fields": {
|
|
11596
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
11597
|
+
"helpGroup": "GLOBAL",
|
|
11598
|
+
"name": "resolve-fields",
|
|
11599
|
+
"allowNo": false,
|
|
11600
|
+
"type": "boolean"
|
|
11601
|
+
},
|
|
11602
|
+
"profile": {
|
|
11603
|
+
"description": "Named auth profile to use",
|
|
11604
|
+
"env": "PDCLI_PROFILE",
|
|
11605
|
+
"helpGroup": "GLOBAL",
|
|
11606
|
+
"name": "profile",
|
|
11607
|
+
"hasDynamicHelp": false,
|
|
11608
|
+
"multiple": false,
|
|
11609
|
+
"type": "option"
|
|
11610
|
+
},
|
|
11611
|
+
"no-color": {
|
|
11612
|
+
"description": "Disable color output",
|
|
11613
|
+
"helpGroup": "GLOBAL",
|
|
11614
|
+
"name": "no-color",
|
|
11615
|
+
"allowNo": false,
|
|
11616
|
+
"type": "boolean"
|
|
11617
|
+
},
|
|
11618
|
+
"verbose": {
|
|
11619
|
+
"description": "Show detailed API request/response on errors",
|
|
11620
|
+
"helpGroup": "GLOBAL",
|
|
11621
|
+
"name": "verbose",
|
|
11622
|
+
"allowNo": false,
|
|
11623
|
+
"type": "boolean"
|
|
11624
|
+
},
|
|
11625
|
+
"no-retry": {
|
|
11626
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
11627
|
+
"helpGroup": "GLOBAL",
|
|
11628
|
+
"name": "no-retry",
|
|
11629
|
+
"allowNo": false,
|
|
11630
|
+
"type": "boolean"
|
|
11631
|
+
},
|
|
11632
|
+
"timeout": {
|
|
11633
|
+
"description": "Request timeout in milliseconds",
|
|
11634
|
+
"helpGroup": "GLOBAL",
|
|
11635
|
+
"name": "timeout",
|
|
11636
|
+
"hasDynamicHelp": false,
|
|
11637
|
+
"multiple": false,
|
|
11638
|
+
"type": "option"
|
|
11639
|
+
},
|
|
11640
|
+
"limit": {
|
|
11641
|
+
"description": "Maximum number of items to return (lists)",
|
|
11642
|
+
"helpGroup": "GLOBAL",
|
|
11643
|
+
"name": "limit",
|
|
11644
|
+
"hasDynamicHelp": false,
|
|
11645
|
+
"multiple": false,
|
|
11646
|
+
"type": "option"
|
|
11647
|
+
},
|
|
11648
|
+
"yes": {
|
|
11649
|
+
"char": "y",
|
|
11650
|
+
"description": "Skip the confirmation prompt",
|
|
11651
|
+
"name": "yes",
|
|
11652
|
+
"allowNo": false,
|
|
11653
|
+
"type": "boolean"
|
|
11654
|
+
}
|
|
11655
|
+
},
|
|
11656
|
+
"hasDynamicHelp": false,
|
|
11657
|
+
"hiddenAliases": [],
|
|
11658
|
+
"id": "product:delete",
|
|
11659
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
11660
|
+
"pluginName": "@wavyx/pdcli",
|
|
11661
|
+
"pluginType": "core",
|
|
11662
|
+
"strict": true,
|
|
11663
|
+
"enableJsonFlag": false,
|
|
11664
|
+
"isESM": true,
|
|
11665
|
+
"relativePath": [
|
|
11666
|
+
"src",
|
|
11667
|
+
"commands",
|
|
11668
|
+
"product",
|
|
11669
|
+
"delete.js"
|
|
11670
|
+
]
|
|
11671
|
+
},
|
|
11672
|
+
"product:get": {
|
|
11673
|
+
"aliases": [],
|
|
11674
|
+
"args": {
|
|
11675
|
+
"id": {
|
|
11676
|
+
"description": "Product ID",
|
|
11677
|
+
"name": "id",
|
|
11678
|
+
"required": true
|
|
11679
|
+
}
|
|
11680
|
+
},
|
|
11681
|
+
"description": "Get a product by ID",
|
|
11682
|
+
"examples": [
|
|
11683
|
+
"<%= config.bin %> product get 7",
|
|
11684
|
+
"<%= config.bin %> product get 7 --output json"
|
|
11685
|
+
],
|
|
11686
|
+
"flags": {
|
|
11687
|
+
"output": {
|
|
11688
|
+
"char": "o",
|
|
11689
|
+
"description": "Output format",
|
|
11690
|
+
"helpGroup": "GLOBAL",
|
|
11691
|
+
"name": "output",
|
|
11692
|
+
"hasDynamicHelp": false,
|
|
11693
|
+
"multiple": false,
|
|
11694
|
+
"options": [
|
|
11695
|
+
"table",
|
|
11696
|
+
"json",
|
|
11697
|
+
"yaml",
|
|
11698
|
+
"csv"
|
|
11699
|
+
],
|
|
11700
|
+
"type": "option"
|
|
11701
|
+
},
|
|
11702
|
+
"jq": {
|
|
11703
|
+
"description": "jq expression to filter JSON output",
|
|
11704
|
+
"helpGroup": "GLOBAL",
|
|
11705
|
+
"name": "jq",
|
|
11706
|
+
"hasDynamicHelp": false,
|
|
11707
|
+
"multiple": false,
|
|
11708
|
+
"type": "option"
|
|
11709
|
+
},
|
|
11710
|
+
"fields": {
|
|
11711
|
+
"description": "Comma-separated fields to display",
|
|
11712
|
+
"helpGroup": "GLOBAL",
|
|
11713
|
+
"name": "fields",
|
|
11714
|
+
"hasDynamicHelp": false,
|
|
11715
|
+
"multiple": false,
|
|
11716
|
+
"type": "option"
|
|
11717
|
+
},
|
|
11718
|
+
"resolve-fields": {
|
|
11719
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
11720
|
+
"helpGroup": "GLOBAL",
|
|
11721
|
+
"name": "resolve-fields",
|
|
11722
|
+
"allowNo": false,
|
|
11723
|
+
"type": "boolean"
|
|
11724
|
+
},
|
|
11725
|
+
"profile": {
|
|
11726
|
+
"description": "Named auth profile to use",
|
|
11727
|
+
"env": "PDCLI_PROFILE",
|
|
11728
|
+
"helpGroup": "GLOBAL",
|
|
11729
|
+
"name": "profile",
|
|
11730
|
+
"hasDynamicHelp": false,
|
|
11731
|
+
"multiple": false,
|
|
11732
|
+
"type": "option"
|
|
11733
|
+
},
|
|
11734
|
+
"no-color": {
|
|
11735
|
+
"description": "Disable color output",
|
|
11736
|
+
"helpGroup": "GLOBAL",
|
|
11737
|
+
"name": "no-color",
|
|
11738
|
+
"allowNo": false,
|
|
11739
|
+
"type": "boolean"
|
|
11740
|
+
},
|
|
11741
|
+
"verbose": {
|
|
11742
|
+
"description": "Show detailed API request/response on errors",
|
|
11743
|
+
"helpGroup": "GLOBAL",
|
|
11744
|
+
"name": "verbose",
|
|
11745
|
+
"allowNo": false,
|
|
11746
|
+
"type": "boolean"
|
|
11747
|
+
},
|
|
11748
|
+
"no-retry": {
|
|
11749
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
11750
|
+
"helpGroup": "GLOBAL",
|
|
11751
|
+
"name": "no-retry",
|
|
11752
|
+
"allowNo": false,
|
|
11753
|
+
"type": "boolean"
|
|
11754
|
+
},
|
|
11755
|
+
"timeout": {
|
|
11756
|
+
"description": "Request timeout in milliseconds",
|
|
11757
|
+
"helpGroup": "GLOBAL",
|
|
11758
|
+
"name": "timeout",
|
|
11759
|
+
"hasDynamicHelp": false,
|
|
11760
|
+
"multiple": false,
|
|
11761
|
+
"type": "option"
|
|
11762
|
+
},
|
|
11763
|
+
"limit": {
|
|
11764
|
+
"description": "Maximum number of items to return (lists)",
|
|
11765
|
+
"helpGroup": "GLOBAL",
|
|
11766
|
+
"name": "limit",
|
|
11767
|
+
"hasDynamicHelp": false,
|
|
11768
|
+
"multiple": false,
|
|
11769
|
+
"type": "option"
|
|
11770
|
+
}
|
|
11771
|
+
},
|
|
11772
|
+
"hasDynamicHelp": false,
|
|
11773
|
+
"hiddenAliases": [],
|
|
11774
|
+
"id": "product:get",
|
|
11775
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
11776
|
+
"pluginName": "@wavyx/pdcli",
|
|
11777
|
+
"pluginType": "core",
|
|
11778
|
+
"strict": true,
|
|
11779
|
+
"enableJsonFlag": false,
|
|
11780
|
+
"isESM": true,
|
|
11781
|
+
"relativePath": [
|
|
11782
|
+
"src",
|
|
11783
|
+
"commands",
|
|
11784
|
+
"product",
|
|
11785
|
+
"get.js"
|
|
11786
|
+
]
|
|
11787
|
+
},
|
|
11788
|
+
"product:list": {
|
|
11789
|
+
"aliases": [],
|
|
11790
|
+
"args": {},
|
|
11791
|
+
"description": "List products",
|
|
11792
|
+
"examples": [
|
|
11793
|
+
"<%= config.bin %> product list",
|
|
11794
|
+
"<%= config.bin %> product list --owner 3 --output json"
|
|
11795
|
+
],
|
|
11796
|
+
"flags": {
|
|
11797
|
+
"output": {
|
|
11798
|
+
"char": "o",
|
|
11799
|
+
"description": "Output format",
|
|
11800
|
+
"helpGroup": "GLOBAL",
|
|
11801
|
+
"name": "output",
|
|
11802
|
+
"hasDynamicHelp": false,
|
|
11803
|
+
"multiple": false,
|
|
11804
|
+
"options": [
|
|
11805
|
+
"table",
|
|
11806
|
+
"json",
|
|
11807
|
+
"yaml",
|
|
11808
|
+
"csv"
|
|
11809
|
+
],
|
|
11810
|
+
"type": "option"
|
|
11811
|
+
},
|
|
11812
|
+
"jq": {
|
|
11813
|
+
"description": "jq expression to filter JSON output",
|
|
11814
|
+
"helpGroup": "GLOBAL",
|
|
11815
|
+
"name": "jq",
|
|
11816
|
+
"hasDynamicHelp": false,
|
|
11817
|
+
"multiple": false,
|
|
11818
|
+
"type": "option"
|
|
11819
|
+
},
|
|
11820
|
+
"fields": {
|
|
11821
|
+
"description": "Comma-separated fields to display",
|
|
11822
|
+
"helpGroup": "GLOBAL",
|
|
11823
|
+
"name": "fields",
|
|
11824
|
+
"hasDynamicHelp": false,
|
|
11825
|
+
"multiple": false,
|
|
11826
|
+
"type": "option"
|
|
11827
|
+
},
|
|
11828
|
+
"resolve-fields": {
|
|
11829
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
11830
|
+
"helpGroup": "GLOBAL",
|
|
11831
|
+
"name": "resolve-fields",
|
|
11832
|
+
"allowNo": false,
|
|
11833
|
+
"type": "boolean"
|
|
11834
|
+
},
|
|
11835
|
+
"profile": {
|
|
11836
|
+
"description": "Named auth profile to use",
|
|
11837
|
+
"env": "PDCLI_PROFILE",
|
|
11838
|
+
"helpGroup": "GLOBAL",
|
|
11839
|
+
"name": "profile",
|
|
11840
|
+
"hasDynamicHelp": false,
|
|
11841
|
+
"multiple": false,
|
|
11842
|
+
"type": "option"
|
|
11843
|
+
},
|
|
11844
|
+
"no-color": {
|
|
11845
|
+
"description": "Disable color output",
|
|
11846
|
+
"helpGroup": "GLOBAL",
|
|
11847
|
+
"name": "no-color",
|
|
11848
|
+
"allowNo": false,
|
|
11849
|
+
"type": "boolean"
|
|
11850
|
+
},
|
|
11851
|
+
"verbose": {
|
|
11852
|
+
"description": "Show detailed API request/response on errors",
|
|
11853
|
+
"helpGroup": "GLOBAL",
|
|
11854
|
+
"name": "verbose",
|
|
11855
|
+
"allowNo": false,
|
|
11856
|
+
"type": "boolean"
|
|
11857
|
+
},
|
|
11858
|
+
"no-retry": {
|
|
11859
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
11860
|
+
"helpGroup": "GLOBAL",
|
|
11861
|
+
"name": "no-retry",
|
|
11862
|
+
"allowNo": false,
|
|
11863
|
+
"type": "boolean"
|
|
11864
|
+
},
|
|
11865
|
+
"timeout": {
|
|
11866
|
+
"description": "Request timeout in milliseconds",
|
|
11867
|
+
"helpGroup": "GLOBAL",
|
|
11868
|
+
"name": "timeout",
|
|
11869
|
+
"hasDynamicHelp": false,
|
|
11870
|
+
"multiple": false,
|
|
11871
|
+
"type": "option"
|
|
11872
|
+
},
|
|
11873
|
+
"limit": {
|
|
11874
|
+
"description": "Maximum number of items to return (lists)",
|
|
11875
|
+
"helpGroup": "GLOBAL",
|
|
11876
|
+
"name": "limit",
|
|
11877
|
+
"hasDynamicHelp": false,
|
|
11878
|
+
"multiple": false,
|
|
11879
|
+
"type": "option"
|
|
11880
|
+
},
|
|
11881
|
+
"owner": {
|
|
11882
|
+
"description": "Filter by owner (user) ID",
|
|
11883
|
+
"name": "owner",
|
|
11884
|
+
"hasDynamicHelp": false,
|
|
11885
|
+
"multiple": false,
|
|
11886
|
+
"type": "option"
|
|
11887
|
+
},
|
|
11888
|
+
"filter": {
|
|
11889
|
+
"description": "Filter by saved filter ID",
|
|
11890
|
+
"name": "filter",
|
|
11891
|
+
"hasDynamicHelp": false,
|
|
11892
|
+
"multiple": false,
|
|
11893
|
+
"type": "option"
|
|
11894
|
+
},
|
|
11895
|
+
"ids": {
|
|
11896
|
+
"description": "Comma-separated IDs to fetch (max 100)",
|
|
11897
|
+
"exclusive": [
|
|
11898
|
+
"filter"
|
|
11899
|
+
],
|
|
11900
|
+
"name": "ids",
|
|
11901
|
+
"hasDynamicHelp": false,
|
|
11902
|
+
"multiple": false,
|
|
11903
|
+
"type": "option"
|
|
11904
|
+
},
|
|
11905
|
+
"sort-by": {
|
|
11906
|
+
"description": "Sort field",
|
|
11907
|
+
"name": "sort-by",
|
|
11908
|
+
"hasDynamicHelp": false,
|
|
11909
|
+
"multiple": false,
|
|
11910
|
+
"options": [
|
|
11911
|
+
"id",
|
|
11912
|
+
"name",
|
|
11913
|
+
"add_time",
|
|
11914
|
+
"update_time"
|
|
11915
|
+
],
|
|
11916
|
+
"type": "option"
|
|
11917
|
+
},
|
|
11918
|
+
"sort-direction": {
|
|
11919
|
+
"description": "Sort direction",
|
|
11920
|
+
"name": "sort-direction",
|
|
11921
|
+
"hasDynamicHelp": false,
|
|
11922
|
+
"multiple": false,
|
|
11923
|
+
"options": [
|
|
11924
|
+
"asc",
|
|
11925
|
+
"desc"
|
|
11926
|
+
],
|
|
11927
|
+
"type": "option"
|
|
11928
|
+
},
|
|
11929
|
+
"updated-since": {
|
|
11930
|
+
"description": "Only items updated at/after this RFC3339 time (no fractional seconds)",
|
|
11931
|
+
"name": "updated-since",
|
|
11932
|
+
"hasDynamicHelp": false,
|
|
11933
|
+
"multiple": false,
|
|
11934
|
+
"type": "option"
|
|
11935
|
+
}
|
|
11936
|
+
},
|
|
11937
|
+
"hasDynamicHelp": false,
|
|
11938
|
+
"hiddenAliases": [],
|
|
11939
|
+
"id": "product:list",
|
|
11940
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
11941
|
+
"pluginName": "@wavyx/pdcli",
|
|
11942
|
+
"pluginType": "core",
|
|
11943
|
+
"strict": true,
|
|
11944
|
+
"enableJsonFlag": false,
|
|
11945
|
+
"isESM": true,
|
|
11946
|
+
"relativePath": [
|
|
11947
|
+
"src",
|
|
11948
|
+
"commands",
|
|
11949
|
+
"product",
|
|
11950
|
+
"list.js"
|
|
11951
|
+
]
|
|
11952
|
+
},
|
|
11953
|
+
"product:update": {
|
|
11954
|
+
"aliases": [],
|
|
11955
|
+
"args": {
|
|
11956
|
+
"id": {
|
|
11957
|
+
"description": "Product ID",
|
|
11958
|
+
"name": "id",
|
|
11959
|
+
"required": true
|
|
11960
|
+
}
|
|
11961
|
+
},
|
|
11962
|
+
"description": "Update a product (v2 PATCH — only provided fields change)",
|
|
11963
|
+
"examples": [
|
|
11964
|
+
"<%= config.bin %> product update 7 --name \"New name\"",
|
|
11965
|
+
"<%= config.bin %> product update 7 --price 12.50 --currency USD",
|
|
11966
|
+
"<%= config.bin %> product update 7 --field \"Material=Steel\""
|
|
11967
|
+
],
|
|
11968
|
+
"flags": {
|
|
11969
|
+
"output": {
|
|
11970
|
+
"char": "o",
|
|
11971
|
+
"description": "Output format",
|
|
11972
|
+
"helpGroup": "GLOBAL",
|
|
11973
|
+
"name": "output",
|
|
11974
|
+
"hasDynamicHelp": false,
|
|
11975
|
+
"multiple": false,
|
|
11976
|
+
"options": [
|
|
11977
|
+
"table",
|
|
11978
|
+
"json",
|
|
11979
|
+
"yaml",
|
|
11980
|
+
"csv"
|
|
11981
|
+
],
|
|
11982
|
+
"type": "option"
|
|
11983
|
+
},
|
|
11984
|
+
"jq": {
|
|
11985
|
+
"description": "jq expression to filter JSON output",
|
|
11986
|
+
"helpGroup": "GLOBAL",
|
|
11987
|
+
"name": "jq",
|
|
11988
|
+
"hasDynamicHelp": false,
|
|
11989
|
+
"multiple": false,
|
|
11990
|
+
"type": "option"
|
|
11991
|
+
},
|
|
11992
|
+
"fields": {
|
|
11993
|
+
"description": "Comma-separated fields to display",
|
|
11994
|
+
"helpGroup": "GLOBAL",
|
|
11995
|
+
"name": "fields",
|
|
11996
|
+
"hasDynamicHelp": false,
|
|
11997
|
+
"multiple": false,
|
|
11998
|
+
"type": "option"
|
|
11999
|
+
},
|
|
12000
|
+
"resolve-fields": {
|
|
12001
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
12002
|
+
"helpGroup": "GLOBAL",
|
|
12003
|
+
"name": "resolve-fields",
|
|
12004
|
+
"allowNo": false,
|
|
12005
|
+
"type": "boolean"
|
|
12006
|
+
},
|
|
12007
|
+
"profile": {
|
|
12008
|
+
"description": "Named auth profile to use",
|
|
12009
|
+
"env": "PDCLI_PROFILE",
|
|
12010
|
+
"helpGroup": "GLOBAL",
|
|
12011
|
+
"name": "profile",
|
|
12012
|
+
"hasDynamicHelp": false,
|
|
12013
|
+
"multiple": false,
|
|
12014
|
+
"type": "option"
|
|
12015
|
+
},
|
|
12016
|
+
"no-color": {
|
|
12017
|
+
"description": "Disable color output",
|
|
12018
|
+
"helpGroup": "GLOBAL",
|
|
12019
|
+
"name": "no-color",
|
|
12020
|
+
"allowNo": false,
|
|
12021
|
+
"type": "boolean"
|
|
12022
|
+
},
|
|
12023
|
+
"verbose": {
|
|
12024
|
+
"description": "Show detailed API request/response on errors",
|
|
12025
|
+
"helpGroup": "GLOBAL",
|
|
12026
|
+
"name": "verbose",
|
|
12027
|
+
"allowNo": false,
|
|
12028
|
+
"type": "boolean"
|
|
12029
|
+
},
|
|
12030
|
+
"no-retry": {
|
|
12031
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
12032
|
+
"helpGroup": "GLOBAL",
|
|
12033
|
+
"name": "no-retry",
|
|
12034
|
+
"allowNo": false,
|
|
12035
|
+
"type": "boolean"
|
|
12036
|
+
},
|
|
12037
|
+
"timeout": {
|
|
12038
|
+
"description": "Request timeout in milliseconds",
|
|
12039
|
+
"helpGroup": "GLOBAL",
|
|
12040
|
+
"name": "timeout",
|
|
12041
|
+
"hasDynamicHelp": false,
|
|
12042
|
+
"multiple": false,
|
|
12043
|
+
"type": "option"
|
|
12044
|
+
},
|
|
12045
|
+
"limit": {
|
|
12046
|
+
"description": "Maximum number of items to return (lists)",
|
|
12047
|
+
"helpGroup": "GLOBAL",
|
|
12048
|
+
"name": "limit",
|
|
12049
|
+
"hasDynamicHelp": false,
|
|
12050
|
+
"multiple": false,
|
|
12051
|
+
"type": "option"
|
|
12052
|
+
},
|
|
12053
|
+
"name": {
|
|
12054
|
+
"description": "Product name",
|
|
12055
|
+
"name": "name",
|
|
12056
|
+
"hasDynamicHelp": false,
|
|
12057
|
+
"multiple": false,
|
|
12058
|
+
"type": "option"
|
|
12059
|
+
},
|
|
12060
|
+
"code": {
|
|
12061
|
+
"description": "Product code (SKU)",
|
|
12062
|
+
"name": "code",
|
|
12063
|
+
"hasDynamicHelp": false,
|
|
12064
|
+
"multiple": false,
|
|
12065
|
+
"type": "option"
|
|
12066
|
+
},
|
|
12067
|
+
"unit": {
|
|
12068
|
+
"description": "Unit of measure",
|
|
12069
|
+
"name": "unit",
|
|
12070
|
+
"hasDynamicHelp": false,
|
|
12071
|
+
"multiple": false,
|
|
12072
|
+
"type": "option"
|
|
12073
|
+
},
|
|
12074
|
+
"description": {
|
|
12075
|
+
"description": "Product description",
|
|
12076
|
+
"name": "description",
|
|
12077
|
+
"hasDynamicHelp": false,
|
|
12078
|
+
"multiple": false,
|
|
12079
|
+
"type": "option"
|
|
12080
|
+
},
|
|
12081
|
+
"owner": {
|
|
12082
|
+
"description": "Owner (user) ID",
|
|
12083
|
+
"name": "owner",
|
|
12084
|
+
"hasDynamicHelp": false,
|
|
12085
|
+
"multiple": false,
|
|
12086
|
+
"type": "option"
|
|
12087
|
+
},
|
|
12088
|
+
"price": {
|
|
12089
|
+
"dependsOn": [
|
|
12090
|
+
"currency"
|
|
12091
|
+
],
|
|
12092
|
+
"description": "Unit price (requires --currency)",
|
|
12093
|
+
"name": "price",
|
|
12094
|
+
"hasDynamicHelp": false,
|
|
12095
|
+
"multiple": false,
|
|
12096
|
+
"type": "option"
|
|
12097
|
+
},
|
|
12098
|
+
"currency": {
|
|
12099
|
+
"dependsOn": [
|
|
12100
|
+
"price"
|
|
12101
|
+
],
|
|
12102
|
+
"description": "Price currency (requires --price)",
|
|
12103
|
+
"name": "currency",
|
|
12104
|
+
"hasDynamicHelp": false,
|
|
12105
|
+
"multiple": false,
|
|
12106
|
+
"type": "option"
|
|
12107
|
+
},
|
|
12108
|
+
"field": {
|
|
12109
|
+
"description": "Custom/standard field as \"Name=Value\" (repeatable)",
|
|
12110
|
+
"name": "field",
|
|
10882
12111
|
"hasDynamicHelp": false,
|
|
10883
|
-
"multiple":
|
|
12112
|
+
"multiple": true,
|
|
10884
12113
|
"type": "option"
|
|
10885
12114
|
},
|
|
10886
|
-
"
|
|
10887
|
-
"description": "
|
|
10888
|
-
"
|
|
10889
|
-
"name": "limit",
|
|
12115
|
+
"body": {
|
|
12116
|
+
"description": "Raw JSON body to merge (flags win)",
|
|
12117
|
+
"name": "body",
|
|
10890
12118
|
"hasDynamicHelp": false,
|
|
10891
12119
|
"multiple": false,
|
|
10892
12120
|
"type": "option"
|
|
@@ -10894,7 +12122,7 @@
|
|
|
10894
12122
|
},
|
|
10895
12123
|
"hasDynamicHelp": false,
|
|
10896
12124
|
"hiddenAliases": [],
|
|
10897
|
-
"id": "
|
|
12125
|
+
"id": "product:update",
|
|
10898
12126
|
"pluginAlias": "@wavyx/pdcli",
|
|
10899
12127
|
"pluginName": "@wavyx/pdcli",
|
|
10900
12128
|
"pluginType": "core",
|
|
@@ -10904,24 +12132,24 @@
|
|
|
10904
12132
|
"relativePath": [
|
|
10905
12133
|
"src",
|
|
10906
12134
|
"commands",
|
|
10907
|
-
"
|
|
10908
|
-
"
|
|
12135
|
+
"product",
|
|
12136
|
+
"update.js"
|
|
10909
12137
|
]
|
|
10910
12138
|
},
|
|
10911
|
-
"
|
|
12139
|
+
"deal:product:add": {
|
|
10912
12140
|
"aliases": [],
|
|
10913
12141
|
"args": {
|
|
10914
12142
|
"id": {
|
|
10915
|
-
"description": "
|
|
12143
|
+
"description": "Deal ID",
|
|
10916
12144
|
"name": "id",
|
|
10917
12145
|
"required": true
|
|
10918
12146
|
}
|
|
10919
12147
|
},
|
|
10920
|
-
"description": "
|
|
12148
|
+
"description": "Attach a product to a deal",
|
|
10921
12149
|
"examples": [
|
|
10922
|
-
"<%= config.bin %>
|
|
10923
|
-
"<%= config.bin %>
|
|
10924
|
-
"<%= config.bin %>
|
|
12150
|
+
"<%= config.bin %> deal product add 42 --product 10 --price 90",
|
|
12151
|
+
"<%= config.bin %> deal product add 42 --product 10 --price 90 --quantity 3",
|
|
12152
|
+
"<%= config.bin %> deal product add 42 --product 10 --price 90 --discount 10 --discount-type percentage"
|
|
10925
12153
|
],
|
|
10926
12154
|
"flags": {
|
|
10927
12155
|
"output": {
|
|
@@ -10956,7 +12184,7 @@
|
|
|
10956
12184
|
"type": "option"
|
|
10957
12185
|
},
|
|
10958
12186
|
"resolve-fields": {
|
|
10959
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
12187
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
10960
12188
|
"helpGroup": "GLOBAL",
|
|
10961
12189
|
"name": "resolve-fields",
|
|
10962
12190
|
"allowNo": false,
|
|
@@ -11008,65 +12236,58 @@
|
|
|
11008
12236
|
"multiple": false,
|
|
11009
12237
|
"type": "option"
|
|
11010
12238
|
},
|
|
11011
|
-
"
|
|
11012
|
-
"description": "
|
|
11013
|
-
"name": "
|
|
11014
|
-
"
|
|
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",
|
|
12239
|
+
"product": {
|
|
12240
|
+
"description": "Product ID",
|
|
12241
|
+
"name": "product",
|
|
12242
|
+
"required": true,
|
|
11028
12243
|
"hasDynamicHelp": false,
|
|
11029
12244
|
"multiple": false,
|
|
11030
12245
|
"type": "option"
|
|
11031
12246
|
},
|
|
11032
|
-
"
|
|
11033
|
-
"description": "
|
|
11034
|
-
"name": "
|
|
12247
|
+
"price": {
|
|
12248
|
+
"description": "Item price (per unit)",
|
|
12249
|
+
"name": "price",
|
|
12250
|
+
"required": true,
|
|
11035
12251
|
"hasDynamicHelp": false,
|
|
11036
12252
|
"multiple": false,
|
|
11037
12253
|
"type": "option"
|
|
11038
12254
|
},
|
|
11039
|
-
"
|
|
11040
|
-
"description": "
|
|
11041
|
-
"name": "
|
|
12255
|
+
"quantity": {
|
|
12256
|
+
"description": "Quantity",
|
|
12257
|
+
"name": "quantity",
|
|
12258
|
+
"default": "1",
|
|
11042
12259
|
"hasDynamicHelp": false,
|
|
11043
12260
|
"multiple": false,
|
|
11044
12261
|
"type": "option"
|
|
11045
12262
|
},
|
|
11046
|
-
"
|
|
11047
|
-
"description": "
|
|
11048
|
-
"name": "
|
|
12263
|
+
"discount": {
|
|
12264
|
+
"description": "Discount value",
|
|
12265
|
+
"name": "discount",
|
|
11049
12266
|
"hasDynamicHelp": false,
|
|
11050
12267
|
"multiple": false,
|
|
11051
12268
|
"type": "option"
|
|
11052
12269
|
},
|
|
11053
|
-
"
|
|
11054
|
-
"description": "
|
|
11055
|
-
"name": "
|
|
12270
|
+
"discount-type": {
|
|
12271
|
+
"description": "Discount type",
|
|
12272
|
+
"name": "discount-type",
|
|
11056
12273
|
"hasDynamicHelp": false,
|
|
11057
12274
|
"multiple": false,
|
|
12275
|
+
"options": [
|
|
12276
|
+
"percentage",
|
|
12277
|
+
"amount"
|
|
12278
|
+
],
|
|
11058
12279
|
"type": "option"
|
|
11059
12280
|
},
|
|
11060
|
-
"
|
|
11061
|
-
"description": "
|
|
11062
|
-
"name": "
|
|
12281
|
+
"tax": {
|
|
12282
|
+
"description": "Product tax percentage",
|
|
12283
|
+
"name": "tax",
|
|
11063
12284
|
"hasDynamicHelp": false,
|
|
11064
12285
|
"multiple": false,
|
|
11065
12286
|
"type": "option"
|
|
11066
12287
|
},
|
|
11067
|
-
"
|
|
11068
|
-
"description": "
|
|
11069
|
-
"name": "
|
|
12288
|
+
"comments": {
|
|
12289
|
+
"description": "Comments",
|
|
12290
|
+
"name": "comments",
|
|
11070
12291
|
"hasDynamicHelp": false,
|
|
11071
12292
|
"multiple": false,
|
|
11072
12293
|
"type": "option"
|
|
@@ -11074,7 +12295,7 @@
|
|
|
11074
12295
|
},
|
|
11075
12296
|
"hasDynamicHelp": false,
|
|
11076
12297
|
"hiddenAliases": [],
|
|
11077
|
-
"id": "
|
|
12298
|
+
"id": "deal:product:add",
|
|
11078
12299
|
"pluginAlias": "@wavyx/pdcli",
|
|
11079
12300
|
"pluginName": "@wavyx/pdcli",
|
|
11080
12301
|
"pluginType": "core",
|
|
@@ -11084,17 +12305,25 @@
|
|
|
11084
12305
|
"relativePath": [
|
|
11085
12306
|
"src",
|
|
11086
12307
|
"commands",
|
|
11087
|
-
"
|
|
11088
|
-
"
|
|
12308
|
+
"deal",
|
|
12309
|
+
"product",
|
|
12310
|
+
"add.js"
|
|
11089
12311
|
]
|
|
11090
12312
|
},
|
|
11091
|
-
"
|
|
12313
|
+
"deal:product:list": {
|
|
11092
12314
|
"aliases": [],
|
|
11093
|
-
"args": {
|
|
11094
|
-
|
|
12315
|
+
"args": {
|
|
12316
|
+
"id": {
|
|
12317
|
+
"description": "Deal ID",
|
|
12318
|
+
"name": "id",
|
|
12319
|
+
"required": true
|
|
12320
|
+
}
|
|
12321
|
+
},
|
|
12322
|
+
"description": "List products attached to a deal",
|
|
11095
12323
|
"examples": [
|
|
11096
|
-
"<%= config.bin %>
|
|
11097
|
-
"<%= config.bin %>
|
|
12324
|
+
"<%= config.bin %> deal product list 42",
|
|
12325
|
+
"<%= config.bin %> deal product list 42 --sort-by add_time --sort-direction desc",
|
|
12326
|
+
"<%= config.bin %> deal product list 42 --output json"
|
|
11098
12327
|
],
|
|
11099
12328
|
"flags": {
|
|
11100
12329
|
"output": {
|
|
@@ -11129,7 +12358,7 @@
|
|
|
11129
12358
|
"type": "option"
|
|
11130
12359
|
},
|
|
11131
12360
|
"resolve-fields": {
|
|
11132
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
12361
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
11133
12362
|
"helpGroup": "GLOBAL",
|
|
11134
12363
|
"name": "resolve-fields",
|
|
11135
12364
|
"allowNo": false,
|
|
@@ -11181,88 +12410,34 @@
|
|
|
11181
12410
|
"multiple": false,
|
|
11182
12411
|
"type": "option"
|
|
11183
12412
|
},
|
|
11184
|
-
"
|
|
11185
|
-
"description": "
|
|
11186
|
-
"name": "
|
|
11187
|
-
"required": true,
|
|
11188
|
-
"hasDynamicHelp": false,
|
|
11189
|
-
"multiple": false,
|
|
11190
|
-
"type": "option"
|
|
11191
|
-
},
|
|
11192
|
-
"event-action": {
|
|
11193
|
-
"description": "Event action to subscribe to",
|
|
11194
|
-
"name": "event-action",
|
|
11195
|
-
"required": true,
|
|
12413
|
+
"sort-by": {
|
|
12414
|
+
"description": "Field to sort by",
|
|
12415
|
+
"name": "sort-by",
|
|
11196
12416
|
"hasDynamicHelp": false,
|
|
11197
12417
|
"multiple": false,
|
|
11198
12418
|
"options": [
|
|
11199
|
-
"
|
|
11200
|
-
"
|
|
11201
|
-
"
|
|
11202
|
-
"
|
|
12419
|
+
"id",
|
|
12420
|
+
"add_time",
|
|
12421
|
+
"update_time",
|
|
12422
|
+
"order_nr"
|
|
11203
12423
|
],
|
|
11204
12424
|
"type": "option"
|
|
11205
12425
|
},
|
|
11206
|
-
"
|
|
11207
|
-
"description": "
|
|
11208
|
-
"name": "
|
|
11209
|
-
"required": true,
|
|
12426
|
+
"sort-direction": {
|
|
12427
|
+
"description": "Sort direction",
|
|
12428
|
+
"name": "sort-direction",
|
|
11210
12429
|
"hasDynamicHelp": false,
|
|
11211
12430
|
"multiple": false,
|
|
11212
12431
|
"options": [
|
|
11213
|
-
"
|
|
11214
|
-
"
|
|
11215
|
-
"lead",
|
|
11216
|
-
"note",
|
|
11217
|
-
"organization",
|
|
11218
|
-
"person",
|
|
11219
|
-
"product",
|
|
11220
|
-
"user",
|
|
11221
|
-
"pipeline",
|
|
11222
|
-
"stage",
|
|
11223
|
-
"*"
|
|
11224
|
-
],
|
|
11225
|
-
"type": "option"
|
|
11226
|
-
},
|
|
11227
|
-
"name": {
|
|
11228
|
-
"description": "Webhook name",
|
|
11229
|
-
"name": "name",
|
|
11230
|
-
"hasDynamicHelp": false,
|
|
11231
|
-
"multiple": false,
|
|
11232
|
-
"type": "option"
|
|
11233
|
-
},
|
|
11234
|
-
"version": {
|
|
11235
|
-
"description": "Webhook payload version",
|
|
11236
|
-
"name": "version",
|
|
11237
|
-
"default": "2.0",
|
|
11238
|
-
"hasDynamicHelp": false,
|
|
11239
|
-
"multiple": false,
|
|
11240
|
-
"type": "option"
|
|
11241
|
-
},
|
|
11242
|
-
"http-auth-user": {
|
|
11243
|
-
"dependsOn": [
|
|
11244
|
-
"http-auth-password"
|
|
11245
|
-
],
|
|
11246
|
-
"description": "HTTP basic auth username for the endpoint",
|
|
11247
|
-
"name": "http-auth-user",
|
|
11248
|
-
"hasDynamicHelp": false,
|
|
11249
|
-
"multiple": false,
|
|
11250
|
-
"type": "option"
|
|
11251
|
-
},
|
|
11252
|
-
"http-auth-password": {
|
|
11253
|
-
"dependsOn": [
|
|
11254
|
-
"http-auth-user"
|
|
12432
|
+
"asc",
|
|
12433
|
+
"desc"
|
|
11255
12434
|
],
|
|
11256
|
-
"description": "HTTP basic auth password for the endpoint",
|
|
11257
|
-
"name": "http-auth-password",
|
|
11258
|
-
"hasDynamicHelp": false,
|
|
11259
|
-
"multiple": false,
|
|
11260
12435
|
"type": "option"
|
|
11261
12436
|
}
|
|
11262
12437
|
},
|
|
11263
12438
|
"hasDynamicHelp": false,
|
|
11264
12439
|
"hiddenAliases": [],
|
|
11265
|
-
"id": "
|
|
12440
|
+
"id": "deal:product:list",
|
|
11266
12441
|
"pluginAlias": "@wavyx/pdcli",
|
|
11267
12442
|
"pluginName": "@wavyx/pdcli",
|
|
11268
12443
|
"pluginType": "core",
|
|
@@ -11272,23 +12447,24 @@
|
|
|
11272
12447
|
"relativePath": [
|
|
11273
12448
|
"src",
|
|
11274
12449
|
"commands",
|
|
11275
|
-
"
|
|
11276
|
-
"
|
|
12450
|
+
"deal",
|
|
12451
|
+
"product",
|
|
12452
|
+
"list.js"
|
|
11277
12453
|
]
|
|
11278
12454
|
},
|
|
11279
|
-
"
|
|
12455
|
+
"deal:product:remove": {
|
|
11280
12456
|
"aliases": [],
|
|
11281
12457
|
"args": {
|
|
11282
12458
|
"id": {
|
|
11283
|
-
"description": "
|
|
12459
|
+
"description": "Deal ID",
|
|
11284
12460
|
"name": "id",
|
|
11285
12461
|
"required": true
|
|
11286
12462
|
}
|
|
11287
12463
|
},
|
|
11288
|
-
"description": "
|
|
12464
|
+
"description": "Remove a product attached to a deal",
|
|
11289
12465
|
"examples": [
|
|
11290
|
-
"<%= config.bin %>
|
|
11291
|
-
"<%= config.bin %>
|
|
12466
|
+
"<%= config.bin %> deal product remove 42 --attachment 3",
|
|
12467
|
+
"<%= config.bin %> deal product remove 42 --attachment 3 --yes"
|
|
11292
12468
|
],
|
|
11293
12469
|
"flags": {
|
|
11294
12470
|
"output": {
|
|
@@ -11323,7 +12499,7 @@
|
|
|
11323
12499
|
"type": "option"
|
|
11324
12500
|
},
|
|
11325
12501
|
"resolve-fields": {
|
|
11326
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
12502
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
11327
12503
|
"helpGroup": "GLOBAL",
|
|
11328
12504
|
"name": "resolve-fields",
|
|
11329
12505
|
"allowNo": false,
|
|
@@ -11375,6 +12551,14 @@
|
|
|
11375
12551
|
"multiple": false,
|
|
11376
12552
|
"type": "option"
|
|
11377
12553
|
},
|
|
12554
|
+
"attachment": {
|
|
12555
|
+
"description": "Deal-product (attachment) ID",
|
|
12556
|
+
"name": "attachment",
|
|
12557
|
+
"required": true,
|
|
12558
|
+
"hasDynamicHelp": false,
|
|
12559
|
+
"multiple": false,
|
|
12560
|
+
"type": "option"
|
|
12561
|
+
},
|
|
11378
12562
|
"yes": {
|
|
11379
12563
|
"char": "y",
|
|
11380
12564
|
"description": "Skip the confirmation prompt",
|
|
@@ -11385,7 +12569,7 @@
|
|
|
11385
12569
|
},
|
|
11386
12570
|
"hasDynamicHelp": false,
|
|
11387
12571
|
"hiddenAliases": [],
|
|
11388
|
-
"id": "
|
|
12572
|
+
"id": "deal:product:remove",
|
|
11389
12573
|
"pluginAlias": "@wavyx/pdcli",
|
|
11390
12574
|
"pluginName": "@wavyx/pdcli",
|
|
11391
12575
|
"pluginType": "core",
|
|
@@ -11395,17 +12579,25 @@
|
|
|
11395
12579
|
"relativePath": [
|
|
11396
12580
|
"src",
|
|
11397
12581
|
"commands",
|
|
11398
|
-
"
|
|
11399
|
-
"
|
|
12582
|
+
"deal",
|
|
12583
|
+
"product",
|
|
12584
|
+
"remove.js"
|
|
11400
12585
|
]
|
|
11401
12586
|
},
|
|
11402
|
-
"
|
|
12587
|
+
"deal:product:update": {
|
|
11403
12588
|
"aliases": [],
|
|
11404
|
-
"args": {
|
|
11405
|
-
|
|
12589
|
+
"args": {
|
|
12590
|
+
"id": {
|
|
12591
|
+
"description": "Deal ID",
|
|
12592
|
+
"name": "id",
|
|
12593
|
+
"required": true
|
|
12594
|
+
}
|
|
12595
|
+
},
|
|
12596
|
+
"description": "Update a product attached to a deal (v2 PATCH — only provided fields change)",
|
|
11406
12597
|
"examples": [
|
|
11407
|
-
"<%= config.bin %>
|
|
11408
|
-
"<%= config.bin %>
|
|
12598
|
+
"<%= config.bin %> deal product update 42 --attachment 3 --quantity 5",
|
|
12599
|
+
"<%= config.bin %> deal product update 42 --attachment 3 --price 120",
|
|
12600
|
+
"<%= config.bin %> deal product update 42 --attachment 3 --discount 15 --discount-type amount"
|
|
11409
12601
|
],
|
|
11410
12602
|
"flags": {
|
|
11411
12603
|
"output": {
|
|
@@ -11440,7 +12632,7 @@
|
|
|
11440
12632
|
"type": "option"
|
|
11441
12633
|
},
|
|
11442
12634
|
"resolve-fields": {
|
|
11443
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
12635
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
11444
12636
|
"helpGroup": "GLOBAL",
|
|
11445
12637
|
"name": "resolve-fields",
|
|
11446
12638
|
"allowNo": false,
|
|
@@ -11491,11 +12683,72 @@
|
|
|
11491
12683
|
"hasDynamicHelp": false,
|
|
11492
12684
|
"multiple": false,
|
|
11493
12685
|
"type": "option"
|
|
12686
|
+
},
|
|
12687
|
+
"attachment": {
|
|
12688
|
+
"description": "Deal-product (attachment) ID",
|
|
12689
|
+
"name": "attachment",
|
|
12690
|
+
"required": true,
|
|
12691
|
+
"hasDynamicHelp": false,
|
|
12692
|
+
"multiple": false,
|
|
12693
|
+
"type": "option"
|
|
12694
|
+
},
|
|
12695
|
+
"product": {
|
|
12696
|
+
"description": "Product ID",
|
|
12697
|
+
"name": "product",
|
|
12698
|
+
"hasDynamicHelp": false,
|
|
12699
|
+
"multiple": false,
|
|
12700
|
+
"type": "option"
|
|
12701
|
+
},
|
|
12702
|
+
"price": {
|
|
12703
|
+
"description": "Item price (per unit)",
|
|
12704
|
+
"name": "price",
|
|
12705
|
+
"hasDynamicHelp": false,
|
|
12706
|
+
"multiple": false,
|
|
12707
|
+
"type": "option"
|
|
12708
|
+
},
|
|
12709
|
+
"quantity": {
|
|
12710
|
+
"description": "Quantity",
|
|
12711
|
+
"name": "quantity",
|
|
12712
|
+
"hasDynamicHelp": false,
|
|
12713
|
+
"multiple": false,
|
|
12714
|
+
"type": "option"
|
|
12715
|
+
},
|
|
12716
|
+
"discount": {
|
|
12717
|
+
"description": "Discount value",
|
|
12718
|
+
"name": "discount",
|
|
12719
|
+
"hasDynamicHelp": false,
|
|
12720
|
+
"multiple": false,
|
|
12721
|
+
"type": "option"
|
|
12722
|
+
},
|
|
12723
|
+
"discount-type": {
|
|
12724
|
+
"description": "Discount type",
|
|
12725
|
+
"name": "discount-type",
|
|
12726
|
+
"hasDynamicHelp": false,
|
|
12727
|
+
"multiple": false,
|
|
12728
|
+
"options": [
|
|
12729
|
+
"percentage",
|
|
12730
|
+
"amount"
|
|
12731
|
+
],
|
|
12732
|
+
"type": "option"
|
|
12733
|
+
},
|
|
12734
|
+
"tax": {
|
|
12735
|
+
"description": "Product tax percentage",
|
|
12736
|
+
"name": "tax",
|
|
12737
|
+
"hasDynamicHelp": false,
|
|
12738
|
+
"multiple": false,
|
|
12739
|
+
"type": "option"
|
|
12740
|
+
},
|
|
12741
|
+
"comments": {
|
|
12742
|
+
"description": "Comments",
|
|
12743
|
+
"name": "comments",
|
|
12744
|
+
"hasDynamicHelp": false,
|
|
12745
|
+
"multiple": false,
|
|
12746
|
+
"type": "option"
|
|
11494
12747
|
}
|
|
11495
12748
|
},
|
|
11496
12749
|
"hasDynamicHelp": false,
|
|
11497
12750
|
"hiddenAliases": [],
|
|
11498
|
-
"id": "
|
|
12751
|
+
"id": "deal:product:update",
|
|
11499
12752
|
"pluginAlias": "@wavyx/pdcli",
|
|
11500
12753
|
"pluginName": "@wavyx/pdcli",
|
|
11501
12754
|
"pluginType": "core",
|
|
@@ -11505,8 +12758,9 @@
|
|
|
11505
12758
|
"relativePath": [
|
|
11506
12759
|
"src",
|
|
11507
12760
|
"commands",
|
|
11508
|
-
"
|
|
11509
|
-
"
|
|
12761
|
+
"deal",
|
|
12762
|
+
"product",
|
|
12763
|
+
"update.js"
|
|
11510
12764
|
]
|
|
11511
12765
|
},
|
|
11512
12766
|
"lead:label:list": {
|
|
@@ -11550,7 +12804,7 @@
|
|
|
11550
12804
|
"type": "option"
|
|
11551
12805
|
},
|
|
11552
12806
|
"resolve-fields": {
|
|
11553
|
-
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of
|
|
12807
|
+
"description": "Resolve custom-field hash keys to names (and option ids to labels) in json/yaml/csv output of get and core list commands",
|
|
11554
12808
|
"helpGroup": "GLOBAL",
|
|
11555
12809
|
"name": "resolve-fields",
|
|
11556
12810
|
"allowNo": false,
|
|
@@ -11621,5 +12875,5 @@
|
|
|
11621
12875
|
]
|
|
11622
12876
|
}
|
|
11623
12877
|
},
|
|
11624
|
-
"version": "0.
|
|
12878
|
+
"version": "0.10.0"
|
|
11625
12879
|
}
|