@instantkom/cli 3.146.0 → 3.147.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/npm-shrinkwrap.json +2 -2
- package/oclif.manifest.json +1157 -1157
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -1289,10 +1289,10 @@
|
|
|
1289
1289
|
"logout.js"
|
|
1290
1290
|
]
|
|
1291
1291
|
},
|
|
1292
|
-
"
|
|
1292
|
+
"bots:create": {
|
|
1293
1293
|
"aliases": [],
|
|
1294
1294
|
"args": {},
|
|
1295
|
-
"description": "Create a
|
|
1295
|
+
"description": "Create a bot",
|
|
1296
1296
|
"flags": {
|
|
1297
1297
|
"api-key": {
|
|
1298
1298
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1356,32 +1356,60 @@
|
|
|
1356
1356
|
"multiple": false,
|
|
1357
1357
|
"type": "option"
|
|
1358
1358
|
},
|
|
1359
|
+
"channel": {
|
|
1360
|
+
"description": "Channel ID",
|
|
1361
|
+
"name": "channel",
|
|
1362
|
+
"required": true,
|
|
1363
|
+
"hasDynamicHelp": false,
|
|
1364
|
+
"multiple": false,
|
|
1365
|
+
"type": "option"
|
|
1366
|
+
},
|
|
1359
1367
|
"name": {
|
|
1360
|
-
"description": "
|
|
1368
|
+
"description": "Bot name",
|
|
1361
1369
|
"name": "name",
|
|
1362
1370
|
"required": true,
|
|
1363
1371
|
"hasDynamicHelp": false,
|
|
1364
1372
|
"multiple": false,
|
|
1365
1373
|
"type": "option"
|
|
1366
1374
|
},
|
|
1367
|
-
"
|
|
1368
|
-
"description": "
|
|
1369
|
-
"name": "
|
|
1375
|
+
"type": {
|
|
1376
|
+
"description": "Bot type",
|
|
1377
|
+
"name": "type",
|
|
1370
1378
|
"required": true,
|
|
1371
1379
|
"hasDynamicHelp": false,
|
|
1372
1380
|
"multiple": false,
|
|
1381
|
+
"options": [
|
|
1382
|
+
"keyword",
|
|
1383
|
+
"schedule",
|
|
1384
|
+
"event",
|
|
1385
|
+
"ai"
|
|
1386
|
+
],
|
|
1373
1387
|
"type": "option"
|
|
1374
1388
|
},
|
|
1375
|
-
"
|
|
1376
|
-
"description": "
|
|
1377
|
-
"name": "
|
|
1389
|
+
"message": {
|
|
1390
|
+
"description": "Bot message content",
|
|
1391
|
+
"name": "message",
|
|
1378
1392
|
"hasDynamicHelp": false,
|
|
1379
1393
|
"multiple": false,
|
|
1380
1394
|
"type": "option"
|
|
1381
1395
|
},
|
|
1382
|
-
"
|
|
1383
|
-
"description": "
|
|
1384
|
-
"name": "
|
|
1396
|
+
"response": {
|
|
1397
|
+
"description": "Alias for --message",
|
|
1398
|
+
"name": "response",
|
|
1399
|
+
"hasDynamicHelp": false,
|
|
1400
|
+
"multiple": false,
|
|
1401
|
+
"type": "option"
|
|
1402
|
+
},
|
|
1403
|
+
"color": {
|
|
1404
|
+
"description": "Bot color as HEX",
|
|
1405
|
+
"name": "color",
|
|
1406
|
+
"hasDynamicHelp": false,
|
|
1407
|
+
"multiple": false,
|
|
1408
|
+
"type": "option"
|
|
1409
|
+
},
|
|
1410
|
+
"tags": {
|
|
1411
|
+
"description": "Comma-separated tags",
|
|
1412
|
+
"name": "tags",
|
|
1385
1413
|
"hasDynamicHelp": false,
|
|
1386
1414
|
"multiple": false,
|
|
1387
1415
|
"type": "option"
|
|
@@ -1396,7 +1424,7 @@
|
|
|
1396
1424
|
},
|
|
1397
1425
|
"hasDynamicHelp": false,
|
|
1398
1426
|
"hiddenAliases": [],
|
|
1399
|
-
"id": "
|
|
1427
|
+
"id": "bots:create",
|
|
1400
1428
|
"pluginAlias": "@instantkom/cli",
|
|
1401
1429
|
"pluginName": "@instantkom/cli",
|
|
1402
1430
|
"pluginType": "core",
|
|
@@ -1406,20 +1434,20 @@
|
|
|
1406
1434
|
"relativePath": [
|
|
1407
1435
|
"dist",
|
|
1408
1436
|
"commands",
|
|
1409
|
-
"
|
|
1437
|
+
"bots",
|
|
1410
1438
|
"create.js"
|
|
1411
1439
|
]
|
|
1412
1440
|
},
|
|
1413
|
-
"
|
|
1441
|
+
"bots:delete": {
|
|
1414
1442
|
"aliases": [],
|
|
1415
1443
|
"args": {
|
|
1416
1444
|
"id": {
|
|
1417
|
-
"description": "
|
|
1445
|
+
"description": "Bot ID",
|
|
1418
1446
|
"name": "id",
|
|
1419
1447
|
"required": true
|
|
1420
1448
|
}
|
|
1421
1449
|
},
|
|
1422
|
-
"description": "
|
|
1450
|
+
"description": "Delete a bot",
|
|
1423
1451
|
"flags": {
|
|
1424
1452
|
"api-key": {
|
|
1425
1453
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1486,7 +1514,7 @@
|
|
|
1486
1514
|
},
|
|
1487
1515
|
"hasDynamicHelp": false,
|
|
1488
1516
|
"hiddenAliases": [],
|
|
1489
|
-
"id": "
|
|
1517
|
+
"id": "bots:delete",
|
|
1490
1518
|
"pluginAlias": "@instantkom/cli",
|
|
1491
1519
|
"pluginName": "@instantkom/cli",
|
|
1492
1520
|
"pluginType": "core",
|
|
@@ -1496,20 +1524,20 @@
|
|
|
1496
1524
|
"relativePath": [
|
|
1497
1525
|
"dist",
|
|
1498
1526
|
"commands",
|
|
1499
|
-
"
|
|
1500
|
-
"
|
|
1527
|
+
"bots",
|
|
1528
|
+
"delete.js"
|
|
1501
1529
|
]
|
|
1502
1530
|
},
|
|
1503
|
-
"
|
|
1531
|
+
"bots:get": {
|
|
1504
1532
|
"aliases": [],
|
|
1505
1533
|
"args": {
|
|
1506
1534
|
"id": {
|
|
1507
|
-
"description": "
|
|
1535
|
+
"description": "Bot ID",
|
|
1508
1536
|
"name": "id",
|
|
1509
|
-
"required":
|
|
1537
|
+
"required": true
|
|
1510
1538
|
}
|
|
1511
1539
|
},
|
|
1512
|
-
"description": "Get
|
|
1540
|
+
"description": "Get a bot by ID",
|
|
1513
1541
|
"flags": {
|
|
1514
1542
|
"api-key": {
|
|
1515
1543
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1572,18 +1600,11 @@
|
|
|
1572
1600
|
"hasDynamicHelp": false,
|
|
1573
1601
|
"multiple": false,
|
|
1574
1602
|
"type": "option"
|
|
1575
|
-
},
|
|
1576
|
-
"period": {
|
|
1577
|
-
"description": "KPI period",
|
|
1578
|
-
"name": "period",
|
|
1579
|
-
"hasDynamicHelp": false,
|
|
1580
|
-
"multiple": false,
|
|
1581
|
-
"type": "option"
|
|
1582
1603
|
}
|
|
1583
1604
|
},
|
|
1584
1605
|
"hasDynamicHelp": false,
|
|
1585
1606
|
"hiddenAliases": [],
|
|
1586
|
-
"id": "
|
|
1607
|
+
"id": "bots:get",
|
|
1587
1608
|
"pluginAlias": "@instantkom/cli",
|
|
1588
1609
|
"pluginName": "@instantkom/cli",
|
|
1589
1610
|
"pluginType": "core",
|
|
@@ -1593,14 +1614,14 @@
|
|
|
1593
1614
|
"relativePath": [
|
|
1594
1615
|
"dist",
|
|
1595
1616
|
"commands",
|
|
1596
|
-
"
|
|
1597
|
-
"
|
|
1617
|
+
"bots",
|
|
1618
|
+
"get.js"
|
|
1598
1619
|
]
|
|
1599
1620
|
},
|
|
1600
|
-
"
|
|
1621
|
+
"bots:list": {
|
|
1601
1622
|
"aliases": [],
|
|
1602
1623
|
"args": {},
|
|
1603
|
-
"description": "List
|
|
1624
|
+
"description": "List bots",
|
|
1604
1625
|
"flags": {
|
|
1605
1626
|
"api-key": {
|
|
1606
1627
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1680,31 +1701,49 @@
|
|
|
1680
1701
|
"multiple": false,
|
|
1681
1702
|
"type": "option"
|
|
1682
1703
|
},
|
|
1683
|
-
"
|
|
1684
|
-
"description": "Filter by channel
|
|
1685
|
-
"name": "
|
|
1704
|
+
"channel": {
|
|
1705
|
+
"description": "Filter by channel ID",
|
|
1706
|
+
"name": "channel",
|
|
1686
1707
|
"hasDynamicHelp": false,
|
|
1687
1708
|
"multiple": false,
|
|
1688
1709
|
"type": "option"
|
|
1689
1710
|
},
|
|
1690
|
-
"
|
|
1691
|
-
"description": "Filter by
|
|
1692
|
-
"name": "
|
|
1711
|
+
"type": {
|
|
1712
|
+
"description": "Filter by bot type",
|
|
1713
|
+
"name": "type",
|
|
1693
1714
|
"hasDynamicHelp": false,
|
|
1694
1715
|
"multiple": false,
|
|
1695
1716
|
"type": "option"
|
|
1696
1717
|
},
|
|
1697
1718
|
"search": {
|
|
1698
|
-
"description": "Search
|
|
1719
|
+
"description": "Search in bot name or message",
|
|
1699
1720
|
"name": "search",
|
|
1700
1721
|
"hasDynamicHelp": false,
|
|
1701
1722
|
"multiple": false,
|
|
1702
1723
|
"type": "option"
|
|
1724
|
+
},
|
|
1725
|
+
"tags": {
|
|
1726
|
+
"description": "Comma-separated tag IDs",
|
|
1727
|
+
"name": "tags",
|
|
1728
|
+
"hasDynamicHelp": false,
|
|
1729
|
+
"multiple": false,
|
|
1730
|
+
"type": "option"
|
|
1731
|
+
},
|
|
1732
|
+
"tag-match": {
|
|
1733
|
+
"description": "Tag match mode",
|
|
1734
|
+
"name": "tag-match",
|
|
1735
|
+
"hasDynamicHelp": false,
|
|
1736
|
+
"multiple": false,
|
|
1737
|
+
"options": [
|
|
1738
|
+
"any",
|
|
1739
|
+
"all"
|
|
1740
|
+
],
|
|
1741
|
+
"type": "option"
|
|
1703
1742
|
}
|
|
1704
1743
|
},
|
|
1705
1744
|
"hasDynamicHelp": false,
|
|
1706
1745
|
"hiddenAliases": [],
|
|
1707
|
-
"id": "
|
|
1746
|
+
"id": "bots:list",
|
|
1708
1747
|
"pluginAlias": "@instantkom/cli",
|
|
1709
1748
|
"pluginName": "@instantkom/cli",
|
|
1710
1749
|
"pluginType": "core",
|
|
@@ -1714,20 +1753,20 @@
|
|
|
1714
1753
|
"relativePath": [
|
|
1715
1754
|
"dist",
|
|
1716
1755
|
"commands",
|
|
1717
|
-
"
|
|
1756
|
+
"bots",
|
|
1718
1757
|
"list.js"
|
|
1719
1758
|
]
|
|
1720
1759
|
},
|
|
1721
|
-
"
|
|
1760
|
+
"bots:matches": {
|
|
1722
1761
|
"aliases": [],
|
|
1723
1762
|
"args": {
|
|
1724
1763
|
"id": {
|
|
1725
|
-
"description": "
|
|
1764
|
+
"description": "Bot ID",
|
|
1726
1765
|
"name": "id",
|
|
1727
1766
|
"required": true
|
|
1728
1767
|
}
|
|
1729
1768
|
},
|
|
1730
|
-
"description": "
|
|
1769
|
+
"description": "List bot match history",
|
|
1731
1770
|
"flags": {
|
|
1732
1771
|
"api-key": {
|
|
1733
1772
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1791,30 +1830,25 @@
|
|
|
1791
1830
|
"multiple": false,
|
|
1792
1831
|
"type": "option"
|
|
1793
1832
|
},
|
|
1794
|
-
"
|
|
1795
|
-
"description": "
|
|
1796
|
-
"name": "
|
|
1797
|
-
"
|
|
1798
|
-
"multiple": false,
|
|
1799
|
-
"type": "option"
|
|
1800
|
-
},
|
|
1801
|
-
"status": {
|
|
1802
|
-
"description": "Channel lifecycle status",
|
|
1803
|
-
"name": "status",
|
|
1833
|
+
"page": {
|
|
1834
|
+
"description": "Page number",
|
|
1835
|
+
"name": "page",
|
|
1836
|
+
"default": 1,
|
|
1804
1837
|
"hasDynamicHelp": false,
|
|
1805
1838
|
"multiple": false,
|
|
1806
1839
|
"type": "option"
|
|
1807
1840
|
},
|
|
1808
|
-
"
|
|
1809
|
-
"description": "
|
|
1810
|
-
"name": "
|
|
1841
|
+
"limit": {
|
|
1842
|
+
"description": "Items per page",
|
|
1843
|
+
"name": "limit",
|
|
1844
|
+
"default": 50,
|
|
1811
1845
|
"hasDynamicHelp": false,
|
|
1812
1846
|
"multiple": false,
|
|
1813
1847
|
"type": "option"
|
|
1814
1848
|
},
|
|
1815
|
-
"
|
|
1816
|
-
"description": "
|
|
1817
|
-
"name": "
|
|
1849
|
+
"search": {
|
|
1850
|
+
"description": "Search in matches",
|
|
1851
|
+
"name": "search",
|
|
1818
1852
|
"hasDynamicHelp": false,
|
|
1819
1853
|
"multiple": false,
|
|
1820
1854
|
"type": "option"
|
|
@@ -1822,7 +1856,7 @@
|
|
|
1822
1856
|
},
|
|
1823
1857
|
"hasDynamicHelp": false,
|
|
1824
1858
|
"hiddenAliases": [],
|
|
1825
|
-
"id": "
|
|
1859
|
+
"id": "bots:matches",
|
|
1826
1860
|
"pluginAlias": "@instantkom/cli",
|
|
1827
1861
|
"pluginName": "@instantkom/cli",
|
|
1828
1862
|
"pluginType": "core",
|
|
@@ -1832,14 +1866,20 @@
|
|
|
1832
1866
|
"relativePath": [
|
|
1833
1867
|
"dist",
|
|
1834
1868
|
"commands",
|
|
1835
|
-
"
|
|
1836
|
-
"
|
|
1869
|
+
"bots",
|
|
1870
|
+
"matches.js"
|
|
1837
1871
|
]
|
|
1838
1872
|
},
|
|
1839
|
-
"
|
|
1873
|
+
"bots:update": {
|
|
1840
1874
|
"aliases": [],
|
|
1841
|
-
"args": {
|
|
1842
|
-
|
|
1875
|
+
"args": {
|
|
1876
|
+
"id": {
|
|
1877
|
+
"description": "Bot ID",
|
|
1878
|
+
"name": "id",
|
|
1879
|
+
"required": true
|
|
1880
|
+
}
|
|
1881
|
+
},
|
|
1882
|
+
"description": "Update a bot",
|
|
1843
1883
|
"flags": {
|
|
1844
1884
|
"api-key": {
|
|
1845
1885
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1903,82 +1943,221 @@
|
|
|
1903
1943
|
"multiple": false,
|
|
1904
1944
|
"type": "option"
|
|
1905
1945
|
},
|
|
1906
|
-
"
|
|
1907
|
-
"description": "
|
|
1908
|
-
"name": "
|
|
1946
|
+
"name": {
|
|
1947
|
+
"description": "Bot name",
|
|
1948
|
+
"name": "name",
|
|
1909
1949
|
"hasDynamicHelp": false,
|
|
1910
1950
|
"multiple": false,
|
|
1911
1951
|
"type": "option"
|
|
1912
1952
|
},
|
|
1913
|
-
"
|
|
1914
|
-
"description": "
|
|
1915
|
-
"name": "
|
|
1953
|
+
"type": {
|
|
1954
|
+
"description": "Bot type",
|
|
1955
|
+
"name": "type",
|
|
1916
1956
|
"hasDynamicHelp": false,
|
|
1917
1957
|
"multiple": false,
|
|
1958
|
+
"options": [
|
|
1959
|
+
"keyword",
|
|
1960
|
+
"schedule",
|
|
1961
|
+
"event",
|
|
1962
|
+
"ai"
|
|
1963
|
+
],
|
|
1918
1964
|
"type": "option"
|
|
1919
1965
|
},
|
|
1920
|
-
"
|
|
1921
|
-
"description": "
|
|
1922
|
-
"name": "
|
|
1923
|
-
"hasDynamicHelp": false,
|
|
1924
|
-
"multiple": true,
|
|
1925
|
-
"type": "option"
|
|
1926
|
-
},
|
|
1927
|
-
"text": {
|
|
1928
|
-
"description": "Broadcast message text",
|
|
1929
|
-
"name": "text",
|
|
1930
|
-
"required": true,
|
|
1966
|
+
"message": {
|
|
1967
|
+
"description": "Bot message content",
|
|
1968
|
+
"name": "message",
|
|
1931
1969
|
"hasDynamicHelp": false,
|
|
1932
1970
|
"multiple": false,
|
|
1933
1971
|
"type": "option"
|
|
1934
1972
|
},
|
|
1935
|
-
"
|
|
1936
|
-
"description": "
|
|
1937
|
-
"name": "
|
|
1973
|
+
"response": {
|
|
1974
|
+
"description": "Alias for --message",
|
|
1975
|
+
"name": "response",
|
|
1938
1976
|
"hasDynamicHelp": false,
|
|
1939
1977
|
"multiple": false,
|
|
1940
1978
|
"type": "option"
|
|
1941
1979
|
},
|
|
1942
|
-
"
|
|
1943
|
-
"description": "
|
|
1944
|
-
"name": "
|
|
1945
|
-
"allowNo": false,
|
|
1946
|
-
"type": "boolean"
|
|
1947
|
-
},
|
|
1948
|
-
"idempotency-key": {
|
|
1949
|
-
"description": "Idempotency key forwarded as Idempotency-Key",
|
|
1950
|
-
"name": "idempotency-key",
|
|
1980
|
+
"color": {
|
|
1981
|
+
"description": "Bot color as HEX",
|
|
1982
|
+
"name": "color",
|
|
1951
1983
|
"hasDynamicHelp": false,
|
|
1952
1984
|
"multiple": false,
|
|
1953
1985
|
"type": "option"
|
|
1954
1986
|
},
|
|
1955
|
-
"
|
|
1956
|
-
"description": "
|
|
1957
|
-
"name": "
|
|
1958
|
-
"hasDynamicHelp": false,
|
|
1959
|
-
"multiple": true,
|
|
1960
|
-
"type": "option"
|
|
1961
|
-
},
|
|
1962
|
-
"template-id": {
|
|
1963
|
-
"description": "WhatsApp template ID",
|
|
1964
|
-
"name": "template-id",
|
|
1987
|
+
"tags": {
|
|
1988
|
+
"description": "Comma-separated tags",
|
|
1989
|
+
"name": "tags",
|
|
1965
1990
|
"hasDynamicHelp": false,
|
|
1966
1991
|
"multiple": false,
|
|
1967
1992
|
"type": "option"
|
|
1968
1993
|
},
|
|
1969
|
-
"
|
|
1970
|
-
"description": "
|
|
1971
|
-
"name": "
|
|
1972
|
-
"default": "draft",
|
|
1994
|
+
"data": {
|
|
1995
|
+
"description": "Additional JSON object payload",
|
|
1996
|
+
"name": "data",
|
|
1973
1997
|
"hasDynamicHelp": false,
|
|
1974
1998
|
"multiple": false,
|
|
1975
|
-
"options": [
|
|
1976
|
-
"draft",
|
|
1977
|
-
"scheduled",
|
|
1978
|
-
"sending"
|
|
1979
|
-
],
|
|
1980
1999
|
"type": "option"
|
|
1981
|
-
}
|
|
2000
|
+
}
|
|
2001
|
+
},
|
|
2002
|
+
"hasDynamicHelp": false,
|
|
2003
|
+
"hiddenAliases": [],
|
|
2004
|
+
"id": "bots:update",
|
|
2005
|
+
"pluginAlias": "@instantkom/cli",
|
|
2006
|
+
"pluginName": "@instantkom/cli",
|
|
2007
|
+
"pluginType": "core",
|
|
2008
|
+
"strict": true,
|
|
2009
|
+
"enableJsonFlag": false,
|
|
2010
|
+
"isESM": true,
|
|
2011
|
+
"relativePath": [
|
|
2012
|
+
"dist",
|
|
2013
|
+
"commands",
|
|
2014
|
+
"bots",
|
|
2015
|
+
"update.js"
|
|
2016
|
+
]
|
|
2017
|
+
},
|
|
2018
|
+
"broadcast:create": {
|
|
2019
|
+
"aliases": [],
|
|
2020
|
+
"args": {},
|
|
2021
|
+
"description": "Create a broadcast for channels or segments",
|
|
2022
|
+
"flags": {
|
|
2023
|
+
"api-key": {
|
|
2024
|
+
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
2025
|
+
"env": "IKM_API_KEY",
|
|
2026
|
+
"helpGroup": "GLOBAL",
|
|
2027
|
+
"name": "api-key",
|
|
2028
|
+
"hasDynamicHelp": false,
|
|
2029
|
+
"multiple": false,
|
|
2030
|
+
"type": "option"
|
|
2031
|
+
},
|
|
2032
|
+
"format": {
|
|
2033
|
+
"description": "Output format: text, json, yaml, or table",
|
|
2034
|
+
"helpGroup": "GLOBAL",
|
|
2035
|
+
"name": "format",
|
|
2036
|
+
"default": "text",
|
|
2037
|
+
"hasDynamicHelp": false,
|
|
2038
|
+
"multiple": false,
|
|
2039
|
+
"options": [
|
|
2040
|
+
"text",
|
|
2041
|
+
"json",
|
|
2042
|
+
"yaml",
|
|
2043
|
+
"table"
|
|
2044
|
+
],
|
|
2045
|
+
"type": "option"
|
|
2046
|
+
},
|
|
2047
|
+
"json": {
|
|
2048
|
+
"description": "Output in JSON format (alias for --format=json)",
|
|
2049
|
+
"helpGroup": "GLOBAL",
|
|
2050
|
+
"name": "json",
|
|
2051
|
+
"allowNo": false,
|
|
2052
|
+
"type": "boolean"
|
|
2053
|
+
},
|
|
2054
|
+
"quiet": {
|
|
2055
|
+
"description": "Suppress all output except errors",
|
|
2056
|
+
"helpGroup": "GLOBAL",
|
|
2057
|
+
"name": "quiet",
|
|
2058
|
+
"allowNo": false,
|
|
2059
|
+
"type": "boolean"
|
|
2060
|
+
},
|
|
2061
|
+
"no-color": {
|
|
2062
|
+
"description": "Disable color output",
|
|
2063
|
+
"helpGroup": "GLOBAL",
|
|
2064
|
+
"name": "no-color",
|
|
2065
|
+
"allowNo": false,
|
|
2066
|
+
"type": "boolean"
|
|
2067
|
+
},
|
|
2068
|
+
"profile": {
|
|
2069
|
+
"description": "Named configuration profile to use",
|
|
2070
|
+
"helpGroup": "GLOBAL",
|
|
2071
|
+
"name": "profile",
|
|
2072
|
+
"default": "default",
|
|
2073
|
+
"hasDynamicHelp": false,
|
|
2074
|
+
"multiple": false,
|
|
2075
|
+
"type": "option"
|
|
2076
|
+
},
|
|
2077
|
+
"api-url": {
|
|
2078
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
2079
|
+
"helpGroup": "GLOBAL",
|
|
2080
|
+
"name": "api-url",
|
|
2081
|
+
"hasDynamicHelp": false,
|
|
2082
|
+
"multiple": false,
|
|
2083
|
+
"type": "option"
|
|
2084
|
+
},
|
|
2085
|
+
"channel": {
|
|
2086
|
+
"description": "Channel ID target",
|
|
2087
|
+
"name": "channel",
|
|
2088
|
+
"hasDynamicHelp": false,
|
|
2089
|
+
"multiple": false,
|
|
2090
|
+
"type": "option"
|
|
2091
|
+
},
|
|
2092
|
+
"segment": {
|
|
2093
|
+
"description": "Segment ID within --channel",
|
|
2094
|
+
"name": "segment",
|
|
2095
|
+
"hasDynamicHelp": false,
|
|
2096
|
+
"multiple": false,
|
|
2097
|
+
"type": "option"
|
|
2098
|
+
},
|
|
2099
|
+
"target": {
|
|
2100
|
+
"description": "Target as channelId or channelId:segmentId; may be repeated",
|
|
2101
|
+
"name": "target",
|
|
2102
|
+
"hasDynamicHelp": false,
|
|
2103
|
+
"multiple": true,
|
|
2104
|
+
"type": "option"
|
|
2105
|
+
},
|
|
2106
|
+
"text": {
|
|
2107
|
+
"description": "Broadcast message text",
|
|
2108
|
+
"name": "text",
|
|
2109
|
+
"required": true,
|
|
2110
|
+
"hasDynamicHelp": false,
|
|
2111
|
+
"multiple": false,
|
|
2112
|
+
"type": "option"
|
|
2113
|
+
},
|
|
2114
|
+
"send-at": {
|
|
2115
|
+
"description": "Schedule send for an ISO-8601 date-time",
|
|
2116
|
+
"name": "send-at",
|
|
2117
|
+
"hasDynamicHelp": false,
|
|
2118
|
+
"multiple": false,
|
|
2119
|
+
"type": "option"
|
|
2120
|
+
},
|
|
2121
|
+
"dry-run": {
|
|
2122
|
+
"description": "Validate and print the broadcast payload without mutating API calls",
|
|
2123
|
+
"name": "dry-run",
|
|
2124
|
+
"allowNo": false,
|
|
2125
|
+
"type": "boolean"
|
|
2126
|
+
},
|
|
2127
|
+
"idempotency-key": {
|
|
2128
|
+
"description": "Idempotency key forwarded as Idempotency-Key",
|
|
2129
|
+
"name": "idempotency-key",
|
|
2130
|
+
"hasDynamicHelp": false,
|
|
2131
|
+
"multiple": false,
|
|
2132
|
+
"type": "option"
|
|
2133
|
+
},
|
|
2134
|
+
"media": {
|
|
2135
|
+
"description": "Media file path to upload",
|
|
2136
|
+
"name": "media",
|
|
2137
|
+
"hasDynamicHelp": false,
|
|
2138
|
+
"multiple": true,
|
|
2139
|
+
"type": "option"
|
|
2140
|
+
},
|
|
2141
|
+
"template-id": {
|
|
2142
|
+
"description": "WhatsApp template ID",
|
|
2143
|
+
"name": "template-id",
|
|
2144
|
+
"hasDynamicHelp": false,
|
|
2145
|
+
"multiple": false,
|
|
2146
|
+
"type": "option"
|
|
2147
|
+
},
|
|
2148
|
+
"send-status": {
|
|
2149
|
+
"description": "Initial broadcast send status",
|
|
2150
|
+
"name": "send-status",
|
|
2151
|
+
"default": "draft",
|
|
2152
|
+
"hasDynamicHelp": false,
|
|
2153
|
+
"multiple": false,
|
|
2154
|
+
"options": [
|
|
2155
|
+
"draft",
|
|
2156
|
+
"scheduled",
|
|
2157
|
+
"sending"
|
|
2158
|
+
],
|
|
2159
|
+
"type": "option"
|
|
2160
|
+
},
|
|
1982
2161
|
"auto-approve": {
|
|
1983
2162
|
"description": "Auto-approve broadcast when allowed by API permissions",
|
|
1984
2163
|
"name": "auto-approve",
|
|
@@ -2664,16 +2843,10 @@
|
|
|
2664
2843
|
"update.js"
|
|
2665
2844
|
]
|
|
2666
2845
|
},
|
|
2667
|
-
"
|
|
2846
|
+
"channels:create": {
|
|
2668
2847
|
"aliases": [],
|
|
2669
|
-
"args": {
|
|
2670
|
-
|
|
2671
|
-
"description": "chat ID",
|
|
2672
|
-
"name": "id",
|
|
2673
|
-
"required": true
|
|
2674
|
-
}
|
|
2675
|
-
},
|
|
2676
|
-
"description": "Get chat by ID",
|
|
2848
|
+
"args": {},
|
|
2849
|
+
"description": "Create a channel",
|
|
2677
2850
|
"flags": {
|
|
2678
2851
|
"api-key": {
|
|
2679
2852
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2736,11 +2909,48 @@
|
|
|
2736
2909
|
"hasDynamicHelp": false,
|
|
2737
2910
|
"multiple": false,
|
|
2738
2911
|
"type": "option"
|
|
2912
|
+
},
|
|
2913
|
+
"name": {
|
|
2914
|
+
"description": "Channel name",
|
|
2915
|
+
"name": "name",
|
|
2916
|
+
"required": true,
|
|
2917
|
+
"hasDynamicHelp": false,
|
|
2918
|
+
"multiple": false,
|
|
2919
|
+
"type": "option"
|
|
2920
|
+
},
|
|
2921
|
+
"gateway-type": {
|
|
2922
|
+
"description": "Gateway type ID",
|
|
2923
|
+
"name": "gateway-type",
|
|
2924
|
+
"required": true,
|
|
2925
|
+
"hasDynamicHelp": false,
|
|
2926
|
+
"multiple": false,
|
|
2927
|
+
"type": "option"
|
|
2928
|
+
},
|
|
2929
|
+
"status": {
|
|
2930
|
+
"description": "Channel lifecycle status",
|
|
2931
|
+
"name": "status",
|
|
2932
|
+
"hasDynamicHelp": false,
|
|
2933
|
+
"multiple": false,
|
|
2934
|
+
"type": "option"
|
|
2935
|
+
},
|
|
2936
|
+
"description": {
|
|
2937
|
+
"description": "Channel description",
|
|
2938
|
+
"name": "description",
|
|
2939
|
+
"hasDynamicHelp": false,
|
|
2940
|
+
"multiple": false,
|
|
2941
|
+
"type": "option"
|
|
2942
|
+
},
|
|
2943
|
+
"data": {
|
|
2944
|
+
"description": "Additional JSON object payload",
|
|
2945
|
+
"name": "data",
|
|
2946
|
+
"hasDynamicHelp": false,
|
|
2947
|
+
"multiple": false,
|
|
2948
|
+
"type": "option"
|
|
2739
2949
|
}
|
|
2740
2950
|
},
|
|
2741
2951
|
"hasDynamicHelp": false,
|
|
2742
2952
|
"hiddenAliases": [],
|
|
2743
|
-
"id": "
|
|
2953
|
+
"id": "channels:create",
|
|
2744
2954
|
"pluginAlias": "@instantkom/cli",
|
|
2745
2955
|
"pluginName": "@instantkom/cli",
|
|
2746
2956
|
"pluginType": "core",
|
|
@@ -2750,14 +2960,20 @@
|
|
|
2750
2960
|
"relativePath": [
|
|
2751
2961
|
"dist",
|
|
2752
2962
|
"commands",
|
|
2753
|
-
"
|
|
2754
|
-
"
|
|
2963
|
+
"channels",
|
|
2964
|
+
"create.js"
|
|
2755
2965
|
]
|
|
2756
2966
|
},
|
|
2757
|
-
"
|
|
2967
|
+
"channels:get": {
|
|
2758
2968
|
"aliases": [],
|
|
2759
|
-
"args": {
|
|
2760
|
-
|
|
2969
|
+
"args": {
|
|
2970
|
+
"id": {
|
|
2971
|
+
"description": "Channel ID",
|
|
2972
|
+
"name": "id",
|
|
2973
|
+
"required": true
|
|
2974
|
+
}
|
|
2975
|
+
},
|
|
2976
|
+
"description": "Get a channel by ID",
|
|
2761
2977
|
"flags": {
|
|
2762
2978
|
"api-key": {
|
|
2763
2979
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2820,73 +3036,11 @@
|
|
|
2820
3036
|
"hasDynamicHelp": false,
|
|
2821
3037
|
"multiple": false,
|
|
2822
3038
|
"type": "option"
|
|
2823
|
-
},
|
|
2824
|
-
"page": {
|
|
2825
|
-
"description": "Page number",
|
|
2826
|
-
"name": "page",
|
|
2827
|
-
"default": 1,
|
|
2828
|
-
"hasDynamicHelp": false,
|
|
2829
|
-
"multiple": false,
|
|
2830
|
-
"type": "option"
|
|
2831
|
-
},
|
|
2832
|
-
"limit": {
|
|
2833
|
-
"description": "Items per page",
|
|
2834
|
-
"name": "limit",
|
|
2835
|
-
"default": 20,
|
|
2836
|
-
"hasDynamicHelp": false,
|
|
2837
|
-
"multiple": false,
|
|
2838
|
-
"type": "option"
|
|
2839
|
-
},
|
|
2840
|
-
"channel": {
|
|
2841
|
-
"description": "Filter by channel ID",
|
|
2842
|
-
"name": "channel",
|
|
2843
|
-
"hasDynamicHelp": false,
|
|
2844
|
-
"multiple": false,
|
|
2845
|
-
"type": "option"
|
|
2846
|
-
},
|
|
2847
|
-
"channels": {
|
|
2848
|
-
"description": "Comma-separated channel IDs",
|
|
2849
|
-
"name": "channels",
|
|
2850
|
-
"hasDynamicHelp": false,
|
|
2851
|
-
"multiple": false,
|
|
2852
|
-
"type": "option"
|
|
2853
|
-
},
|
|
2854
|
-
"search": {
|
|
2855
|
-
"description": "Search chats",
|
|
2856
|
-
"name": "search",
|
|
2857
|
-
"hasDynamicHelp": false,
|
|
2858
|
-
"multiple": false,
|
|
2859
|
-
"type": "option"
|
|
2860
|
-
},
|
|
2861
|
-
"status": {
|
|
2862
|
-
"description": "Chat status",
|
|
2863
|
-
"name": "status",
|
|
2864
|
-
"hasDynamicHelp": false,
|
|
2865
|
-
"multiple": false,
|
|
2866
|
-
"options": [
|
|
2867
|
-
"all",
|
|
2868
|
-
"unread",
|
|
2869
|
-
"read",
|
|
2870
|
-
"archived"
|
|
2871
|
-
],
|
|
2872
|
-
"type": "option"
|
|
2873
|
-
},
|
|
2874
|
-
"unread-only": {
|
|
2875
|
-
"description": "Only unread chats",
|
|
2876
|
-
"name": "unread-only",
|
|
2877
|
-
"allowNo": false,
|
|
2878
|
-
"type": "boolean"
|
|
2879
|
-
},
|
|
2880
|
-
"include-archived": {
|
|
2881
|
-
"description": "Include archived chats",
|
|
2882
|
-
"name": "include-archived",
|
|
2883
|
-
"allowNo": false,
|
|
2884
|
-
"type": "boolean"
|
|
2885
3039
|
}
|
|
2886
3040
|
},
|
|
2887
3041
|
"hasDynamicHelp": false,
|
|
2888
3042
|
"hiddenAliases": [],
|
|
2889
|
-
"id": "
|
|
3043
|
+
"id": "channels:get",
|
|
2890
3044
|
"pluginAlias": "@instantkom/cli",
|
|
2891
3045
|
"pluginName": "@instantkom/cli",
|
|
2892
3046
|
"pluginType": "core",
|
|
@@ -2896,20 +3050,20 @@
|
|
|
2896
3050
|
"relativePath": [
|
|
2897
3051
|
"dist",
|
|
2898
3052
|
"commands",
|
|
2899
|
-
"
|
|
2900
|
-
"
|
|
3053
|
+
"channels",
|
|
3054
|
+
"get.js"
|
|
2901
3055
|
]
|
|
2902
3056
|
},
|
|
2903
|
-
"
|
|
3057
|
+
"channels:kpis": {
|
|
2904
3058
|
"aliases": [],
|
|
2905
3059
|
"args": {
|
|
2906
3060
|
"id": {
|
|
2907
|
-
"description": "
|
|
3061
|
+
"description": "Optional channel ID; omit for aggregated channel KPIs",
|
|
2908
3062
|
"name": "id",
|
|
2909
|
-
"required":
|
|
3063
|
+
"required": false
|
|
2910
3064
|
}
|
|
2911
3065
|
},
|
|
2912
|
-
"description": "
|
|
3066
|
+
"description": "Get channel KPIs",
|
|
2913
3067
|
"flags": {
|
|
2914
3068
|
"api-key": {
|
|
2915
3069
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2973,10 +3127,9 @@
|
|
|
2973
3127
|
"multiple": false,
|
|
2974
3128
|
"type": "option"
|
|
2975
3129
|
},
|
|
2976
|
-
"
|
|
2977
|
-
"description": "
|
|
2978
|
-
"name": "
|
|
2979
|
-
"required": true,
|
|
3130
|
+
"period": {
|
|
3131
|
+
"description": "KPI period",
|
|
3132
|
+
"name": "period",
|
|
2980
3133
|
"hasDynamicHelp": false,
|
|
2981
3134
|
"multiple": false,
|
|
2982
3135
|
"type": "option"
|
|
@@ -2984,7 +3137,7 @@
|
|
|
2984
3137
|
},
|
|
2985
3138
|
"hasDynamicHelp": false,
|
|
2986
3139
|
"hiddenAliases": [],
|
|
2987
|
-
"id": "
|
|
3140
|
+
"id": "channels:kpis",
|
|
2988
3141
|
"pluginAlias": "@instantkom/cli",
|
|
2989
3142
|
"pluginName": "@instantkom/cli",
|
|
2990
3143
|
"pluginType": "core",
|
|
@@ -2994,20 +3147,14 @@
|
|
|
2994
3147
|
"relativePath": [
|
|
2995
3148
|
"dist",
|
|
2996
3149
|
"commands",
|
|
2997
|
-
"
|
|
2998
|
-
"
|
|
3150
|
+
"channels",
|
|
3151
|
+
"kpis.js"
|
|
2999
3152
|
]
|
|
3000
3153
|
},
|
|
3001
|
-
"
|
|
3154
|
+
"channels:list": {
|
|
3002
3155
|
"aliases": [],
|
|
3003
|
-
"args": {
|
|
3004
|
-
|
|
3005
|
-
"description": "Configuration key to retrieve",
|
|
3006
|
-
"name": "key",
|
|
3007
|
-
"required": true
|
|
3008
|
-
}
|
|
3009
|
-
},
|
|
3010
|
-
"description": "Get a configuration value for the current profile",
|
|
3156
|
+
"args": {},
|
|
3157
|
+
"description": "List channels",
|
|
3011
3158
|
"flags": {
|
|
3012
3159
|
"api-key": {
|
|
3013
3160
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3070,11 +3217,48 @@
|
|
|
3070
3217
|
"hasDynamicHelp": false,
|
|
3071
3218
|
"multiple": false,
|
|
3072
3219
|
"type": "option"
|
|
3220
|
+
},
|
|
3221
|
+
"page": {
|
|
3222
|
+
"description": "Page number",
|
|
3223
|
+
"name": "page",
|
|
3224
|
+
"default": 1,
|
|
3225
|
+
"hasDynamicHelp": false,
|
|
3226
|
+
"multiple": false,
|
|
3227
|
+
"type": "option"
|
|
3228
|
+
},
|
|
3229
|
+
"limit": {
|
|
3230
|
+
"description": "Items per page",
|
|
3231
|
+
"name": "limit",
|
|
3232
|
+
"default": 20,
|
|
3233
|
+
"hasDynamicHelp": false,
|
|
3234
|
+
"multiple": false,
|
|
3235
|
+
"type": "option"
|
|
3236
|
+
},
|
|
3237
|
+
"status": {
|
|
3238
|
+
"description": "Filter by channel status",
|
|
3239
|
+
"name": "status",
|
|
3240
|
+
"hasDynamicHelp": false,
|
|
3241
|
+
"multiple": false,
|
|
3242
|
+
"type": "option"
|
|
3243
|
+
},
|
|
3244
|
+
"gateway-type": {
|
|
3245
|
+
"description": "Filter by gateway type ID",
|
|
3246
|
+
"name": "gateway-type",
|
|
3247
|
+
"hasDynamicHelp": false,
|
|
3248
|
+
"multiple": false,
|
|
3249
|
+
"type": "option"
|
|
3250
|
+
},
|
|
3251
|
+
"search": {
|
|
3252
|
+
"description": "Search by channel name",
|
|
3253
|
+
"name": "search",
|
|
3254
|
+
"hasDynamicHelp": false,
|
|
3255
|
+
"multiple": false,
|
|
3256
|
+
"type": "option"
|
|
3073
3257
|
}
|
|
3074
3258
|
},
|
|
3075
3259
|
"hasDynamicHelp": false,
|
|
3076
3260
|
"hiddenAliases": [],
|
|
3077
|
-
"id": "
|
|
3261
|
+
"id": "channels:list",
|
|
3078
3262
|
"pluginAlias": "@instantkom/cli",
|
|
3079
3263
|
"pluginName": "@instantkom/cli",
|
|
3080
3264
|
"pluginType": "core",
|
|
@@ -3084,25 +3268,20 @@
|
|
|
3084
3268
|
"relativePath": [
|
|
3085
3269
|
"dist",
|
|
3086
3270
|
"commands",
|
|
3087
|
-
"
|
|
3088
|
-
"
|
|
3271
|
+
"channels",
|
|
3272
|
+
"list.js"
|
|
3089
3273
|
]
|
|
3090
3274
|
},
|
|
3091
|
-
"
|
|
3275
|
+
"channels:update": {
|
|
3092
3276
|
"aliases": [],
|
|
3093
3277
|
"args": {
|
|
3094
|
-
"
|
|
3095
|
-
"description": "
|
|
3096
|
-
"name": "
|
|
3097
|
-
"required": true
|
|
3098
|
-
},
|
|
3099
|
-
"value": {
|
|
3100
|
-
"description": "Value to assign",
|
|
3101
|
-
"name": "value",
|
|
3278
|
+
"id": {
|
|
3279
|
+
"description": "Channel ID",
|
|
3280
|
+
"name": "id",
|
|
3102
3281
|
"required": true
|
|
3103
3282
|
}
|
|
3104
3283
|
},
|
|
3105
|
-
"description": "
|
|
3284
|
+
"description": "Update a channel",
|
|
3106
3285
|
"flags": {
|
|
3107
3286
|
"api-key": {
|
|
3108
3287
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3165,11 +3344,39 @@
|
|
|
3165
3344
|
"hasDynamicHelp": false,
|
|
3166
3345
|
"multiple": false,
|
|
3167
3346
|
"type": "option"
|
|
3347
|
+
},
|
|
3348
|
+
"name": {
|
|
3349
|
+
"description": "Channel name",
|
|
3350
|
+
"name": "name",
|
|
3351
|
+
"hasDynamicHelp": false,
|
|
3352
|
+
"multiple": false,
|
|
3353
|
+
"type": "option"
|
|
3354
|
+
},
|
|
3355
|
+
"status": {
|
|
3356
|
+
"description": "Channel lifecycle status",
|
|
3357
|
+
"name": "status",
|
|
3358
|
+
"hasDynamicHelp": false,
|
|
3359
|
+
"multiple": false,
|
|
3360
|
+
"type": "option"
|
|
3361
|
+
},
|
|
3362
|
+
"description": {
|
|
3363
|
+
"description": "Channel description",
|
|
3364
|
+
"name": "description",
|
|
3365
|
+
"hasDynamicHelp": false,
|
|
3366
|
+
"multiple": false,
|
|
3367
|
+
"type": "option"
|
|
3368
|
+
},
|
|
3369
|
+
"data": {
|
|
3370
|
+
"description": "Additional JSON object payload",
|
|
3371
|
+
"name": "data",
|
|
3372
|
+
"hasDynamicHelp": false,
|
|
3373
|
+
"multiple": false,
|
|
3374
|
+
"type": "option"
|
|
3168
3375
|
}
|
|
3169
3376
|
},
|
|
3170
3377
|
"hasDynamicHelp": false,
|
|
3171
3378
|
"hiddenAliases": [],
|
|
3172
|
-
"id": "
|
|
3379
|
+
"id": "channels:update",
|
|
3173
3380
|
"pluginAlias": "@instantkom/cli",
|
|
3174
3381
|
"pluginName": "@instantkom/cli",
|
|
3175
3382
|
"pluginType": "core",
|
|
@@ -3179,20 +3386,20 @@
|
|
|
3179
3386
|
"relativePath": [
|
|
3180
3387
|
"dist",
|
|
3181
3388
|
"commands",
|
|
3182
|
-
"
|
|
3183
|
-
"
|
|
3389
|
+
"channels",
|
|
3390
|
+
"update.js"
|
|
3184
3391
|
]
|
|
3185
3392
|
},
|
|
3186
|
-
"
|
|
3393
|
+
"chats:get": {
|
|
3187
3394
|
"aliases": [],
|
|
3188
3395
|
"args": {
|
|
3189
|
-
"
|
|
3190
|
-
"description": "
|
|
3191
|
-
"name": "
|
|
3396
|
+
"id": {
|
|
3397
|
+
"description": "chat ID",
|
|
3398
|
+
"name": "id",
|
|
3192
3399
|
"required": true
|
|
3193
3400
|
}
|
|
3194
3401
|
},
|
|
3195
|
-
"description": "
|
|
3402
|
+
"description": "Get chat by ID",
|
|
3196
3403
|
"flags": {
|
|
3197
3404
|
"api-key": {
|
|
3198
3405
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3259,7 +3466,7 @@
|
|
|
3259
3466
|
},
|
|
3260
3467
|
"hasDynamicHelp": false,
|
|
3261
3468
|
"hiddenAliases": [],
|
|
3262
|
-
"id": "
|
|
3469
|
+
"id": "chats:get",
|
|
3263
3470
|
"pluginAlias": "@instantkom/cli",
|
|
3264
3471
|
"pluginName": "@instantkom/cli",
|
|
3265
3472
|
"pluginType": "core",
|
|
@@ -3269,14 +3476,14 @@
|
|
|
3269
3476
|
"relativePath": [
|
|
3270
3477
|
"dist",
|
|
3271
3478
|
"commands",
|
|
3272
|
-
"
|
|
3273
|
-
"
|
|
3479
|
+
"chats",
|
|
3480
|
+
"get.js"
|
|
3274
3481
|
]
|
|
3275
3482
|
},
|
|
3276
|
-
"
|
|
3483
|
+
"chats:list": {
|
|
3277
3484
|
"aliases": [],
|
|
3278
3485
|
"args": {},
|
|
3279
|
-
"description": "
|
|
3486
|
+
"description": "List chats",
|
|
3280
3487
|
"flags": {
|
|
3281
3488
|
"api-key": {
|
|
3282
3489
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3340,40 +3547,72 @@
|
|
|
3340
3547
|
"multiple": false,
|
|
3341
3548
|
"type": "option"
|
|
3342
3549
|
},
|
|
3550
|
+
"page": {
|
|
3551
|
+
"description": "Page number",
|
|
3552
|
+
"name": "page",
|
|
3553
|
+
"default": 1,
|
|
3554
|
+
"hasDynamicHelp": false,
|
|
3555
|
+
"multiple": false,
|
|
3556
|
+
"type": "option"
|
|
3557
|
+
},
|
|
3558
|
+
"limit": {
|
|
3559
|
+
"description": "Items per page",
|
|
3560
|
+
"name": "limit",
|
|
3561
|
+
"default": 20,
|
|
3562
|
+
"hasDynamicHelp": false,
|
|
3563
|
+
"multiple": false,
|
|
3564
|
+
"type": "option"
|
|
3565
|
+
},
|
|
3343
3566
|
"channel": {
|
|
3344
|
-
"description": "
|
|
3567
|
+
"description": "Filter by channel ID",
|
|
3345
3568
|
"name": "channel",
|
|
3346
|
-
"required": true,
|
|
3347
3569
|
"hasDynamicHelp": false,
|
|
3348
3570
|
"multiple": false,
|
|
3349
3571
|
"type": "option"
|
|
3350
3572
|
},
|
|
3351
|
-
"
|
|
3352
|
-
"description": "
|
|
3353
|
-
"name": "
|
|
3354
|
-
"required": true,
|
|
3573
|
+
"channels": {
|
|
3574
|
+
"description": "Comma-separated channel IDs",
|
|
3575
|
+
"name": "channels",
|
|
3355
3576
|
"hasDynamicHelp": false,
|
|
3356
3577
|
"multiple": false,
|
|
3357
3578
|
"type": "option"
|
|
3358
3579
|
},
|
|
3359
|
-
"
|
|
3360
|
-
"description": "
|
|
3361
|
-
"name": "
|
|
3580
|
+
"search": {
|
|
3581
|
+
"description": "Search chats",
|
|
3582
|
+
"name": "search",
|
|
3362
3583
|
"hasDynamicHelp": false,
|
|
3363
3584
|
"multiple": false,
|
|
3364
3585
|
"type": "option"
|
|
3365
3586
|
},
|
|
3366
|
-
"
|
|
3367
|
-
"description": "
|
|
3368
|
-
"name": "
|
|
3587
|
+
"status": {
|
|
3588
|
+
"description": "Chat status",
|
|
3589
|
+
"name": "status",
|
|
3369
3590
|
"hasDynamicHelp": false,
|
|
3370
3591
|
"multiple": false,
|
|
3592
|
+
"options": [
|
|
3593
|
+
"all",
|
|
3594
|
+
"unread",
|
|
3595
|
+
"read",
|
|
3596
|
+
"archived"
|
|
3597
|
+
],
|
|
3371
3598
|
"type": "option"
|
|
3599
|
+
},
|
|
3600
|
+
"unread-only": {
|
|
3601
|
+
"description": "Only unread chats",
|
|
3602
|
+
"name": "unread-only",
|
|
3603
|
+
"allowNo": false,
|
|
3604
|
+
"type": "boolean"
|
|
3605
|
+
},
|
|
3606
|
+
"include-archived": {
|
|
3607
|
+
"description": "Include archived chats",
|
|
3608
|
+
"name": "include-archived",
|
|
3609
|
+
"allowNo": false,
|
|
3610
|
+
"type": "boolean"
|
|
3372
3611
|
}
|
|
3373
3612
|
},
|
|
3374
3613
|
"hasDynamicHelp": false,
|
|
3375
3614
|
"hiddenAliases": [],
|
|
3376
|
-
"id": "
|
|
3615
|
+
"id": "chats:list",
|
|
3377
3616
|
"pluginAlias": "@instantkom/cli",
|
|
3378
3617
|
"pluginName": "@instantkom/cli",
|
|
3379
3618
|
"pluginType": "core",
|
|
@@ -3383,20 +3622,20 @@
|
|
|
3383
3622
|
"relativePath": [
|
|
3384
3623
|
"dist",
|
|
3385
3624
|
"commands",
|
|
3386
|
-
"
|
|
3387
|
-
"
|
|
3625
|
+
"chats",
|
|
3626
|
+
"list.js"
|
|
3388
3627
|
]
|
|
3389
3628
|
},
|
|
3390
|
-
"
|
|
3629
|
+
"chats:reply": {
|
|
3391
3630
|
"aliases": [],
|
|
3392
3631
|
"args": {
|
|
3393
3632
|
"id": {
|
|
3394
|
-
"description": "
|
|
3633
|
+
"description": "Chat ID",
|
|
3395
3634
|
"name": "id",
|
|
3396
3635
|
"required": true
|
|
3397
3636
|
}
|
|
3398
3637
|
},
|
|
3399
|
-
"description": "
|
|
3638
|
+
"description": "Reply in a chat",
|
|
3400
3639
|
"flags": {
|
|
3401
3640
|
"api-key": {
|
|
3402
3641
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3459,11 +3698,19 @@
|
|
|
3459
3698
|
"hasDynamicHelp": false,
|
|
3460
3699
|
"multiple": false,
|
|
3461
3700
|
"type": "option"
|
|
3462
|
-
}
|
|
3463
|
-
|
|
3464
|
-
|
|
3701
|
+
},
|
|
3702
|
+
"text": {
|
|
3703
|
+
"description": "Reply text",
|
|
3704
|
+
"name": "text",
|
|
3705
|
+
"required": true,
|
|
3706
|
+
"hasDynamicHelp": false,
|
|
3707
|
+
"multiple": false,
|
|
3708
|
+
"type": "option"
|
|
3709
|
+
}
|
|
3710
|
+
},
|
|
3711
|
+
"hasDynamicHelp": false,
|
|
3465
3712
|
"hiddenAliases": [],
|
|
3466
|
-
"id": "
|
|
3713
|
+
"id": "chats:reply",
|
|
3467
3714
|
"pluginAlias": "@instantkom/cli",
|
|
3468
3715
|
"pluginName": "@instantkom/cli",
|
|
3469
3716
|
"pluginType": "core",
|
|
@@ -3473,14 +3720,20 @@
|
|
|
3473
3720
|
"relativePath": [
|
|
3474
3721
|
"dist",
|
|
3475
3722
|
"commands",
|
|
3476
|
-
"
|
|
3477
|
-
"
|
|
3723
|
+
"chats",
|
|
3724
|
+
"reply.js"
|
|
3478
3725
|
]
|
|
3479
3726
|
},
|
|
3480
|
-
"
|
|
3727
|
+
"config:get": {
|
|
3481
3728
|
"aliases": [],
|
|
3482
|
-
"args": {
|
|
3483
|
-
|
|
3729
|
+
"args": {
|
|
3730
|
+
"key": {
|
|
3731
|
+
"description": "Configuration key to retrieve",
|
|
3732
|
+
"name": "key",
|
|
3733
|
+
"required": true
|
|
3734
|
+
}
|
|
3735
|
+
},
|
|
3736
|
+
"description": "Get a configuration value for the current profile",
|
|
3484
3737
|
"flags": {
|
|
3485
3738
|
"api-key": {
|
|
3486
3739
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3543,49 +3796,11 @@
|
|
|
3543
3796
|
"hasDynamicHelp": false,
|
|
3544
3797
|
"multiple": false,
|
|
3545
3798
|
"type": "option"
|
|
3546
|
-
},
|
|
3547
|
-
"file": {
|
|
3548
|
-
"description": "CSV output file path",
|
|
3549
|
-
"name": "file",
|
|
3550
|
-
"required": true,
|
|
3551
|
-
"hasDynamicHelp": false,
|
|
3552
|
-
"multiple": false,
|
|
3553
|
-
"type": "option"
|
|
3554
|
-
},
|
|
3555
|
-
"channel": {
|
|
3556
|
-
"description": "Filter by channel ID",
|
|
3557
|
-
"name": "channel",
|
|
3558
|
-
"hasDynamicHelp": false,
|
|
3559
|
-
"multiple": false,
|
|
3560
|
-
"type": "option"
|
|
3561
|
-
},
|
|
3562
|
-
"search": {
|
|
3563
|
-
"description": "Search by name or identifier",
|
|
3564
|
-
"name": "search",
|
|
3565
|
-
"hasDynamicHelp": false,
|
|
3566
|
-
"multiple": false,
|
|
3567
|
-
"type": "option"
|
|
3568
|
-
},
|
|
3569
|
-
"page": {
|
|
3570
|
-
"description": "Page number",
|
|
3571
|
-
"name": "page",
|
|
3572
|
-
"default": 1,
|
|
3573
|
-
"hasDynamicHelp": false,
|
|
3574
|
-
"multiple": false,
|
|
3575
|
-
"type": "option"
|
|
3576
|
-
},
|
|
3577
|
-
"limit": {
|
|
3578
|
-
"description": "Items per page",
|
|
3579
|
-
"name": "limit",
|
|
3580
|
-
"default": 100,
|
|
3581
|
-
"hasDynamicHelp": false,
|
|
3582
|
-
"multiple": false,
|
|
3583
|
-
"type": "option"
|
|
3584
3799
|
}
|
|
3585
3800
|
},
|
|
3586
3801
|
"hasDynamicHelp": false,
|
|
3587
3802
|
"hiddenAliases": [],
|
|
3588
|
-
"id": "
|
|
3803
|
+
"id": "config:get",
|
|
3589
3804
|
"pluginAlias": "@instantkom/cli",
|
|
3590
3805
|
"pluginName": "@instantkom/cli",
|
|
3591
3806
|
"pluginType": "core",
|
|
@@ -3595,20 +3810,25 @@
|
|
|
3595
3810
|
"relativePath": [
|
|
3596
3811
|
"dist",
|
|
3597
3812
|
"commands",
|
|
3598
|
-
"
|
|
3599
|
-
"
|
|
3813
|
+
"config",
|
|
3814
|
+
"get.js"
|
|
3600
3815
|
]
|
|
3601
3816
|
},
|
|
3602
|
-
"
|
|
3817
|
+
"config:set": {
|
|
3603
3818
|
"aliases": [],
|
|
3604
3819
|
"args": {
|
|
3605
|
-
"
|
|
3606
|
-
"description": "
|
|
3607
|
-
"name": "
|
|
3820
|
+
"key": {
|
|
3821
|
+
"description": "Configuration key to set",
|
|
3822
|
+
"name": "key",
|
|
3823
|
+
"required": true
|
|
3824
|
+
},
|
|
3825
|
+
"value": {
|
|
3826
|
+
"description": "Value to assign",
|
|
3827
|
+
"name": "value",
|
|
3608
3828
|
"required": true
|
|
3609
3829
|
}
|
|
3610
3830
|
},
|
|
3611
|
-
"description": "
|
|
3831
|
+
"description": "Set a configuration value for the current profile",
|
|
3612
3832
|
"flags": {
|
|
3613
3833
|
"api-key": {
|
|
3614
3834
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3675,7 +3895,7 @@
|
|
|
3675
3895
|
},
|
|
3676
3896
|
"hasDynamicHelp": false,
|
|
3677
3897
|
"hiddenAliases": [],
|
|
3678
|
-
"id": "
|
|
3898
|
+
"id": "config:set",
|
|
3679
3899
|
"pluginAlias": "@instantkom/cli",
|
|
3680
3900
|
"pluginName": "@instantkom/cli",
|
|
3681
3901
|
"pluginType": "core",
|
|
@@ -3685,14 +3905,20 @@
|
|
|
3685
3905
|
"relativePath": [
|
|
3686
3906
|
"dist",
|
|
3687
3907
|
"commands",
|
|
3688
|
-
"
|
|
3689
|
-
"
|
|
3908
|
+
"config",
|
|
3909
|
+
"set.js"
|
|
3690
3910
|
]
|
|
3691
3911
|
},
|
|
3692
|
-
"
|
|
3912
|
+
"config:unset": {
|
|
3693
3913
|
"aliases": [],
|
|
3694
|
-
"args": {
|
|
3695
|
-
|
|
3914
|
+
"args": {
|
|
3915
|
+
"key": {
|
|
3916
|
+
"description": "Configuration key to remove",
|
|
3917
|
+
"name": "key",
|
|
3918
|
+
"required": true
|
|
3919
|
+
}
|
|
3920
|
+
},
|
|
3921
|
+
"description": "Remove a configuration key from the current profile",
|
|
3696
3922
|
"flags": {
|
|
3697
3923
|
"api-key": {
|
|
3698
3924
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3755,27 +3981,11 @@
|
|
|
3755
3981
|
"hasDynamicHelp": false,
|
|
3756
3982
|
"multiple": false,
|
|
3757
3983
|
"type": "option"
|
|
3758
|
-
},
|
|
3759
|
-
"file": {
|
|
3760
|
-
"description": "CSV file path",
|
|
3761
|
-
"name": "file",
|
|
3762
|
-
"required": true,
|
|
3763
|
-
"hasDynamicHelp": false,
|
|
3764
|
-
"multiple": false,
|
|
3765
|
-
"type": "option"
|
|
3766
|
-
},
|
|
3767
|
-
"channel": {
|
|
3768
|
-
"description": "Channel ID",
|
|
3769
|
-
"name": "channel",
|
|
3770
|
-
"required": true,
|
|
3771
|
-
"hasDynamicHelp": false,
|
|
3772
|
-
"multiple": false,
|
|
3773
|
-
"type": "option"
|
|
3774
3984
|
}
|
|
3775
3985
|
},
|
|
3776
3986
|
"hasDynamicHelp": false,
|
|
3777
3987
|
"hiddenAliases": [],
|
|
3778
|
-
"id": "
|
|
3988
|
+
"id": "config:unset",
|
|
3779
3989
|
"pluginAlias": "@instantkom/cli",
|
|
3780
3990
|
"pluginName": "@instantkom/cli",
|
|
3781
3991
|
"pluginType": "core",
|
|
@@ -3785,14 +3995,14 @@
|
|
|
3785
3995
|
"relativePath": [
|
|
3786
3996
|
"dist",
|
|
3787
3997
|
"commands",
|
|
3788
|
-
"
|
|
3789
|
-
"
|
|
3998
|
+
"config",
|
|
3999
|
+
"unset.js"
|
|
3790
4000
|
]
|
|
3791
4001
|
},
|
|
3792
|
-
"contacts:
|
|
4002
|
+
"contacts:create": {
|
|
3793
4003
|
"aliases": [],
|
|
3794
4004
|
"args": {},
|
|
3795
|
-
"description": "
|
|
4005
|
+
"description": "Create a contact",
|
|
3796
4006
|
"flags": {
|
|
3797
4007
|
"api-key": {
|
|
3798
4008
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3857,96 +4067,31 @@
|
|
|
3857
4067
|
"type": "option"
|
|
3858
4068
|
},
|
|
3859
4069
|
"channel": {
|
|
3860
|
-
"description": "
|
|
4070
|
+
"description": "Channel ID",
|
|
3861
4071
|
"name": "channel",
|
|
4072
|
+
"required": true,
|
|
3862
4073
|
"hasDynamicHelp": false,
|
|
3863
4074
|
"multiple": false,
|
|
3864
4075
|
"type": "option"
|
|
3865
4076
|
},
|
|
3866
|
-
"
|
|
3867
|
-
"description": "
|
|
3868
|
-
"name": "
|
|
3869
|
-
"
|
|
3870
|
-
"multiple": false,
|
|
3871
|
-
"type": "option"
|
|
3872
|
-
},
|
|
3873
|
-
"page": {
|
|
3874
|
-
"description": "Page number",
|
|
3875
|
-
"name": "page",
|
|
3876
|
-
"default": 1,
|
|
3877
|
-
"hasDynamicHelp": false,
|
|
3878
|
-
"multiple": false,
|
|
3879
|
-
"type": "option"
|
|
3880
|
-
},
|
|
3881
|
-
"limit": {
|
|
3882
|
-
"description": "Items per page",
|
|
3883
|
-
"name": "limit",
|
|
3884
|
-
"default": 20,
|
|
3885
|
-
"hasDynamicHelp": false,
|
|
3886
|
-
"multiple": false,
|
|
3887
|
-
"type": "option"
|
|
3888
|
-
},
|
|
3889
|
-
"optin-status": {
|
|
3890
|
-
"description": "Filter by opt-in status",
|
|
3891
|
-
"name": "optin-status",
|
|
3892
|
-
"hasDynamicHelp": false,
|
|
3893
|
-
"multiple": false,
|
|
3894
|
-
"options": [
|
|
3895
|
-
"0",
|
|
3896
|
-
"1"
|
|
3897
|
-
],
|
|
3898
|
-
"type": "option"
|
|
3899
|
-
},
|
|
3900
|
-
"blocked": {
|
|
3901
|
-
"description": "Filter by blocked status: 1 blocked, 0 not blocked",
|
|
3902
|
-
"name": "blocked",
|
|
3903
|
-
"hasDynamicHelp": false,
|
|
3904
|
-
"multiple": false,
|
|
3905
|
-
"options": [
|
|
3906
|
-
"0",
|
|
3907
|
-
"1"
|
|
3908
|
-
],
|
|
3909
|
-
"type": "option"
|
|
3910
|
-
},
|
|
3911
|
-
"segment": {
|
|
3912
|
-
"description": "Filter by segment ID",
|
|
3913
|
-
"name": "segment",
|
|
3914
|
-
"hasDynamicHelp": false,
|
|
3915
|
-
"multiple": false,
|
|
3916
|
-
"type": "option"
|
|
3917
|
-
},
|
|
3918
|
-
"tags": {
|
|
3919
|
-
"description": "Comma-separated tag IDs",
|
|
3920
|
-
"name": "tags",
|
|
3921
|
-
"hasDynamicHelp": false,
|
|
3922
|
-
"multiple": false,
|
|
3923
|
-
"type": "option"
|
|
3924
|
-
},
|
|
3925
|
-
"tag-match": {
|
|
3926
|
-
"description": "Tag match mode",
|
|
3927
|
-
"name": "tag-match",
|
|
4077
|
+
"identifier": {
|
|
4078
|
+
"description": "Unique contact identifier",
|
|
4079
|
+
"name": "identifier",
|
|
4080
|
+
"required": true,
|
|
3928
4081
|
"hasDynamicHelp": false,
|
|
3929
4082
|
"multiple": false,
|
|
3930
|
-
"options": [
|
|
3931
|
-
"any",
|
|
3932
|
-
"all"
|
|
3933
|
-
],
|
|
3934
4083
|
"type": "option"
|
|
3935
4084
|
},
|
|
3936
|
-
"
|
|
3937
|
-
"description": "
|
|
3938
|
-
"name": "
|
|
4085
|
+
"name": {
|
|
4086
|
+
"description": "Contact name",
|
|
4087
|
+
"name": "name",
|
|
3939
4088
|
"hasDynamicHelp": false,
|
|
3940
4089
|
"multiple": false,
|
|
3941
|
-
"options": [
|
|
3942
|
-
"true",
|
|
3943
|
-
"false"
|
|
3944
|
-
],
|
|
3945
4090
|
"type": "option"
|
|
3946
4091
|
},
|
|
3947
|
-
"
|
|
3948
|
-
"description": "
|
|
3949
|
-
"name": "
|
|
4092
|
+
"data": {
|
|
4093
|
+
"description": "Additional JSON object payload",
|
|
4094
|
+
"name": "data",
|
|
3950
4095
|
"hasDynamicHelp": false,
|
|
3951
4096
|
"multiple": false,
|
|
3952
4097
|
"type": "option"
|
|
@@ -3954,7 +4099,7 @@
|
|
|
3954
4099
|
},
|
|
3955
4100
|
"hasDynamicHelp": false,
|
|
3956
4101
|
"hiddenAliases": [],
|
|
3957
|
-
"id": "contacts:
|
|
4102
|
+
"id": "contacts:create",
|
|
3958
4103
|
"pluginAlias": "@instantkom/cli",
|
|
3959
4104
|
"pluginName": "@instantkom/cli",
|
|
3960
4105
|
"pluginType": "core",
|
|
@@ -3965,10 +4110,10 @@
|
|
|
3965
4110
|
"dist",
|
|
3966
4111
|
"commands",
|
|
3967
4112
|
"contacts",
|
|
3968
|
-
"
|
|
4113
|
+
"create.js"
|
|
3969
4114
|
]
|
|
3970
4115
|
},
|
|
3971
|
-
"contacts:
|
|
4116
|
+
"contacts:delete": {
|
|
3972
4117
|
"aliases": [],
|
|
3973
4118
|
"args": {
|
|
3974
4119
|
"id": {
|
|
@@ -3977,7 +4122,7 @@
|
|
|
3977
4122
|
"required": true
|
|
3978
4123
|
}
|
|
3979
4124
|
},
|
|
3980
|
-
"description": "
|
|
4125
|
+
"description": "Delete a contact",
|
|
3981
4126
|
"flags": {
|
|
3982
4127
|
"api-key": {
|
|
3983
4128
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4040,32 +4185,11 @@
|
|
|
4040
4185
|
"hasDynamicHelp": false,
|
|
4041
4186
|
"multiple": false,
|
|
4042
4187
|
"type": "option"
|
|
4043
|
-
},
|
|
4044
|
-
"identifier": {
|
|
4045
|
-
"description": "Unique contact identifier",
|
|
4046
|
-
"name": "identifier",
|
|
4047
|
-
"hasDynamicHelp": false,
|
|
4048
|
-
"multiple": false,
|
|
4049
|
-
"type": "option"
|
|
4050
|
-
},
|
|
4051
|
-
"name": {
|
|
4052
|
-
"description": "Contact name",
|
|
4053
|
-
"name": "name",
|
|
4054
|
-
"hasDynamicHelp": false,
|
|
4055
|
-
"multiple": false,
|
|
4056
|
-
"type": "option"
|
|
4057
|
-
},
|
|
4058
|
-
"data": {
|
|
4059
|
-
"description": "Additional JSON object payload",
|
|
4060
|
-
"name": "data",
|
|
4061
|
-
"hasDynamicHelp": false,
|
|
4062
|
-
"multiple": false,
|
|
4063
|
-
"type": "option"
|
|
4064
4188
|
}
|
|
4065
4189
|
},
|
|
4066
4190
|
"hasDynamicHelp": false,
|
|
4067
4191
|
"hiddenAliases": [],
|
|
4068
|
-
"id": "contacts:
|
|
4192
|
+
"id": "contacts:delete",
|
|
4069
4193
|
"pluginAlias": "@instantkom/cli",
|
|
4070
4194
|
"pluginName": "@instantkom/cli",
|
|
4071
4195
|
"pluginType": "core",
|
|
@@ -4076,13 +4200,13 @@
|
|
|
4076
4200
|
"dist",
|
|
4077
4201
|
"commands",
|
|
4078
4202
|
"contacts",
|
|
4079
|
-
"
|
|
4203
|
+
"delete.js"
|
|
4080
4204
|
]
|
|
4081
4205
|
},
|
|
4082
|
-
"
|
|
4206
|
+
"contacts:export": {
|
|
4083
4207
|
"aliases": [],
|
|
4084
4208
|
"args": {},
|
|
4085
|
-
"description": "
|
|
4209
|
+
"description": "Export contacts to CSV",
|
|
4086
4210
|
"flags": {
|
|
4087
4211
|
"api-key": {
|
|
4088
4212
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4146,67 +4270,40 @@
|
|
|
4146
4270
|
"multiple": false,
|
|
4147
4271
|
"type": "option"
|
|
4148
4272
|
},
|
|
4149
|
-
"
|
|
4150
|
-
"description": "
|
|
4151
|
-
"name": "
|
|
4152
|
-
"required": true,
|
|
4153
|
-
"hasDynamicHelp": false,
|
|
4154
|
-
"multiple": false,
|
|
4155
|
-
"type": "option"
|
|
4156
|
-
},
|
|
4157
|
-
"name": {
|
|
4158
|
-
"description": "Bot name",
|
|
4159
|
-
"name": "name",
|
|
4160
|
-
"required": true,
|
|
4161
|
-
"hasDynamicHelp": false,
|
|
4162
|
-
"multiple": false,
|
|
4163
|
-
"type": "option"
|
|
4164
|
-
},
|
|
4165
|
-
"type": {
|
|
4166
|
-
"description": "Bot type",
|
|
4167
|
-
"name": "type",
|
|
4273
|
+
"file": {
|
|
4274
|
+
"description": "CSV output file path",
|
|
4275
|
+
"name": "file",
|
|
4168
4276
|
"required": true,
|
|
4169
4277
|
"hasDynamicHelp": false,
|
|
4170
4278
|
"multiple": false,
|
|
4171
|
-
"options": [
|
|
4172
|
-
"keyword",
|
|
4173
|
-
"schedule",
|
|
4174
|
-
"event",
|
|
4175
|
-
"ai"
|
|
4176
|
-
],
|
|
4177
|
-
"type": "option"
|
|
4178
|
-
},
|
|
4179
|
-
"message": {
|
|
4180
|
-
"description": "Bot message content",
|
|
4181
|
-
"name": "message",
|
|
4182
|
-
"hasDynamicHelp": false,
|
|
4183
|
-
"multiple": false,
|
|
4184
4279
|
"type": "option"
|
|
4185
4280
|
},
|
|
4186
|
-
"
|
|
4187
|
-
"description": "
|
|
4188
|
-
"name": "
|
|
4281
|
+
"channel": {
|
|
4282
|
+
"description": "Filter by channel ID",
|
|
4283
|
+
"name": "channel",
|
|
4189
4284
|
"hasDynamicHelp": false,
|
|
4190
4285
|
"multiple": false,
|
|
4191
4286
|
"type": "option"
|
|
4192
4287
|
},
|
|
4193
|
-
"
|
|
4194
|
-
"description": "
|
|
4195
|
-
"name": "
|
|
4288
|
+
"search": {
|
|
4289
|
+
"description": "Search by name or identifier",
|
|
4290
|
+
"name": "search",
|
|
4196
4291
|
"hasDynamicHelp": false,
|
|
4197
4292
|
"multiple": false,
|
|
4198
4293
|
"type": "option"
|
|
4199
4294
|
},
|
|
4200
|
-
"
|
|
4201
|
-
"description": "
|
|
4202
|
-
"name": "
|
|
4295
|
+
"page": {
|
|
4296
|
+
"description": "Page number",
|
|
4297
|
+
"name": "page",
|
|
4298
|
+
"default": 1,
|
|
4203
4299
|
"hasDynamicHelp": false,
|
|
4204
4300
|
"multiple": false,
|
|
4205
4301
|
"type": "option"
|
|
4206
4302
|
},
|
|
4207
|
-
"
|
|
4208
|
-
"description": "
|
|
4209
|
-
"name": "
|
|
4303
|
+
"limit": {
|
|
4304
|
+
"description": "Items per page",
|
|
4305
|
+
"name": "limit",
|
|
4306
|
+
"default": 100,
|
|
4210
4307
|
"hasDynamicHelp": false,
|
|
4211
4308
|
"multiple": false,
|
|
4212
4309
|
"type": "option"
|
|
@@ -4214,7 +4311,7 @@
|
|
|
4214
4311
|
},
|
|
4215
4312
|
"hasDynamicHelp": false,
|
|
4216
4313
|
"hiddenAliases": [],
|
|
4217
|
-
"id": "
|
|
4314
|
+
"id": "contacts:export",
|
|
4218
4315
|
"pluginAlias": "@instantkom/cli",
|
|
4219
4316
|
"pluginName": "@instantkom/cli",
|
|
4220
4317
|
"pluginType": "core",
|
|
@@ -4224,20 +4321,20 @@
|
|
|
4224
4321
|
"relativePath": [
|
|
4225
4322
|
"dist",
|
|
4226
4323
|
"commands",
|
|
4227
|
-
"
|
|
4228
|
-
"
|
|
4324
|
+
"contacts",
|
|
4325
|
+
"export.js"
|
|
4229
4326
|
]
|
|
4230
4327
|
},
|
|
4231
|
-
"
|
|
4328
|
+
"contacts:get": {
|
|
4232
4329
|
"aliases": [],
|
|
4233
4330
|
"args": {
|
|
4234
4331
|
"id": {
|
|
4235
|
-
"description": "
|
|
4332
|
+
"description": "Contact ID",
|
|
4236
4333
|
"name": "id",
|
|
4237
4334
|
"required": true
|
|
4238
4335
|
}
|
|
4239
4336
|
},
|
|
4240
|
-
"description": "
|
|
4337
|
+
"description": "Get a contact by ID",
|
|
4241
4338
|
"flags": {
|
|
4242
4339
|
"api-key": {
|
|
4243
4340
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4304,7 +4401,7 @@
|
|
|
4304
4401
|
},
|
|
4305
4402
|
"hasDynamicHelp": false,
|
|
4306
4403
|
"hiddenAliases": [],
|
|
4307
|
-
"id": "
|
|
4404
|
+
"id": "contacts:get",
|
|
4308
4405
|
"pluginAlias": "@instantkom/cli",
|
|
4309
4406
|
"pluginName": "@instantkom/cli",
|
|
4310
4407
|
"pluginType": "core",
|
|
@@ -4314,20 +4411,14 @@
|
|
|
4314
4411
|
"relativePath": [
|
|
4315
4412
|
"dist",
|
|
4316
4413
|
"commands",
|
|
4317
|
-
"
|
|
4318
|
-
"
|
|
4414
|
+
"contacts",
|
|
4415
|
+
"get.js"
|
|
4319
4416
|
]
|
|
4320
4417
|
},
|
|
4321
|
-
"
|
|
4418
|
+
"contacts:import": {
|
|
4322
4419
|
"aliases": [],
|
|
4323
|
-
"args": {
|
|
4324
|
-
|
|
4325
|
-
"description": "Bot ID",
|
|
4326
|
-
"name": "id",
|
|
4327
|
-
"required": true
|
|
4328
|
-
}
|
|
4329
|
-
},
|
|
4330
|
-
"description": "Get a bot by ID",
|
|
4420
|
+
"args": {},
|
|
4421
|
+
"description": "Import contacts from CSV",
|
|
4331
4422
|
"flags": {
|
|
4332
4423
|
"api-key": {
|
|
4333
4424
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4390,11 +4481,27 @@
|
|
|
4390
4481
|
"hasDynamicHelp": false,
|
|
4391
4482
|
"multiple": false,
|
|
4392
4483
|
"type": "option"
|
|
4484
|
+
},
|
|
4485
|
+
"file": {
|
|
4486
|
+
"description": "CSV file path",
|
|
4487
|
+
"name": "file",
|
|
4488
|
+
"required": true,
|
|
4489
|
+
"hasDynamicHelp": false,
|
|
4490
|
+
"multiple": false,
|
|
4491
|
+
"type": "option"
|
|
4492
|
+
},
|
|
4493
|
+
"channel": {
|
|
4494
|
+
"description": "Channel ID",
|
|
4495
|
+
"name": "channel",
|
|
4496
|
+
"required": true,
|
|
4497
|
+
"hasDynamicHelp": false,
|
|
4498
|
+
"multiple": false,
|
|
4499
|
+
"type": "option"
|
|
4393
4500
|
}
|
|
4394
4501
|
},
|
|
4395
4502
|
"hasDynamicHelp": false,
|
|
4396
4503
|
"hiddenAliases": [],
|
|
4397
|
-
"id": "
|
|
4504
|
+
"id": "contacts:import",
|
|
4398
4505
|
"pluginAlias": "@instantkom/cli",
|
|
4399
4506
|
"pluginName": "@instantkom/cli",
|
|
4400
4507
|
"pluginType": "core",
|
|
@@ -4404,14 +4511,14 @@
|
|
|
4404
4511
|
"relativePath": [
|
|
4405
4512
|
"dist",
|
|
4406
4513
|
"commands",
|
|
4407
|
-
"
|
|
4408
|
-
"
|
|
4514
|
+
"contacts",
|
|
4515
|
+
"import.js"
|
|
4409
4516
|
]
|
|
4410
4517
|
},
|
|
4411
|
-
"
|
|
4518
|
+
"contacts:list": {
|
|
4412
4519
|
"aliases": [],
|
|
4413
4520
|
"args": {},
|
|
4414
|
-
"description": "List
|
|
4521
|
+
"description": "List contacts",
|
|
4415
4522
|
"flags": {
|
|
4416
4523
|
"api-key": {
|
|
4417
4524
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4475,6 +4582,20 @@
|
|
|
4475
4582
|
"multiple": false,
|
|
4476
4583
|
"type": "option"
|
|
4477
4584
|
},
|
|
4585
|
+
"channel": {
|
|
4586
|
+
"description": "Filter by channel ID",
|
|
4587
|
+
"name": "channel",
|
|
4588
|
+
"hasDynamicHelp": false,
|
|
4589
|
+
"multiple": false,
|
|
4590
|
+
"type": "option"
|
|
4591
|
+
},
|
|
4592
|
+
"search": {
|
|
4593
|
+
"description": "Search by name or identifier",
|
|
4594
|
+
"name": "search",
|
|
4595
|
+
"hasDynamicHelp": false,
|
|
4596
|
+
"multiple": false,
|
|
4597
|
+
"type": "option"
|
|
4598
|
+
},
|
|
4478
4599
|
"page": {
|
|
4479
4600
|
"description": "Page number",
|
|
4480
4601
|
"name": "page",
|
|
@@ -4491,23 +4612,31 @@
|
|
|
4491
4612
|
"multiple": false,
|
|
4492
4613
|
"type": "option"
|
|
4493
4614
|
},
|
|
4494
|
-
"
|
|
4495
|
-
"description": "Filter by
|
|
4496
|
-
"name": "
|
|
4615
|
+
"optin-status": {
|
|
4616
|
+
"description": "Filter by opt-in status",
|
|
4617
|
+
"name": "optin-status",
|
|
4497
4618
|
"hasDynamicHelp": false,
|
|
4498
4619
|
"multiple": false,
|
|
4620
|
+
"options": [
|
|
4621
|
+
"0",
|
|
4622
|
+
"1"
|
|
4623
|
+
],
|
|
4499
4624
|
"type": "option"
|
|
4500
4625
|
},
|
|
4501
|
-
"
|
|
4502
|
-
"description": "Filter by
|
|
4503
|
-
"name": "
|
|
4626
|
+
"blocked": {
|
|
4627
|
+
"description": "Filter by blocked status: 1 blocked, 0 not blocked",
|
|
4628
|
+
"name": "blocked",
|
|
4504
4629
|
"hasDynamicHelp": false,
|
|
4505
4630
|
"multiple": false,
|
|
4631
|
+
"options": [
|
|
4632
|
+
"0",
|
|
4633
|
+
"1"
|
|
4634
|
+
],
|
|
4506
4635
|
"type": "option"
|
|
4507
4636
|
},
|
|
4508
|
-
"
|
|
4509
|
-
"description": "
|
|
4510
|
-
"name": "
|
|
4637
|
+
"segment": {
|
|
4638
|
+
"description": "Filter by segment ID",
|
|
4639
|
+
"name": "segment",
|
|
4511
4640
|
"hasDynamicHelp": false,
|
|
4512
4641
|
"multiple": false,
|
|
4513
4642
|
"type": "option"
|
|
@@ -4527,118 +4656,23 @@
|
|
|
4527
4656
|
"options": [
|
|
4528
4657
|
"any",
|
|
4529
4658
|
"all"
|
|
4530
|
-
],
|
|
4531
|
-
"type": "option"
|
|
4532
|
-
}
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
"id": "bots:list",
|
|
4537
|
-
"pluginAlias": "@instantkom/cli",
|
|
4538
|
-
"pluginName": "@instantkom/cli",
|
|
4539
|
-
"pluginType": "core",
|
|
4540
|
-
"strict": true,
|
|
4541
|
-
"enableJsonFlag": false,
|
|
4542
|
-
"isESM": true,
|
|
4543
|
-
"relativePath": [
|
|
4544
|
-
"dist",
|
|
4545
|
-
"commands",
|
|
4546
|
-
"bots",
|
|
4547
|
-
"list.js"
|
|
4548
|
-
]
|
|
4549
|
-
},
|
|
4550
|
-
"bots:matches": {
|
|
4551
|
-
"aliases": [],
|
|
4552
|
-
"args": {
|
|
4553
|
-
"id": {
|
|
4554
|
-
"description": "Bot ID",
|
|
4555
|
-
"name": "id",
|
|
4556
|
-
"required": true
|
|
4557
|
-
}
|
|
4558
|
-
},
|
|
4559
|
-
"description": "List bot match history",
|
|
4560
|
-
"flags": {
|
|
4561
|
-
"api-key": {
|
|
4562
|
-
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
4563
|
-
"env": "IKM_API_KEY",
|
|
4564
|
-
"helpGroup": "GLOBAL",
|
|
4565
|
-
"name": "api-key",
|
|
4566
|
-
"hasDynamicHelp": false,
|
|
4567
|
-
"multiple": false,
|
|
4568
|
-
"type": "option"
|
|
4569
|
-
},
|
|
4570
|
-
"format": {
|
|
4571
|
-
"description": "Output format: text, json, yaml, or table",
|
|
4572
|
-
"helpGroup": "GLOBAL",
|
|
4573
|
-
"name": "format",
|
|
4574
|
-
"default": "text",
|
|
4575
|
-
"hasDynamicHelp": false,
|
|
4576
|
-
"multiple": false,
|
|
4577
|
-
"options": [
|
|
4578
|
-
"text",
|
|
4579
|
-
"json",
|
|
4580
|
-
"yaml",
|
|
4581
|
-
"table"
|
|
4582
|
-
],
|
|
4583
|
-
"type": "option"
|
|
4584
|
-
},
|
|
4585
|
-
"json": {
|
|
4586
|
-
"description": "Output in JSON format (alias for --format=json)",
|
|
4587
|
-
"helpGroup": "GLOBAL",
|
|
4588
|
-
"name": "json",
|
|
4589
|
-
"allowNo": false,
|
|
4590
|
-
"type": "boolean"
|
|
4591
|
-
},
|
|
4592
|
-
"quiet": {
|
|
4593
|
-
"description": "Suppress all output except errors",
|
|
4594
|
-
"helpGroup": "GLOBAL",
|
|
4595
|
-
"name": "quiet",
|
|
4596
|
-
"allowNo": false,
|
|
4597
|
-
"type": "boolean"
|
|
4598
|
-
},
|
|
4599
|
-
"no-color": {
|
|
4600
|
-
"description": "Disable color output",
|
|
4601
|
-
"helpGroup": "GLOBAL",
|
|
4602
|
-
"name": "no-color",
|
|
4603
|
-
"allowNo": false,
|
|
4604
|
-
"type": "boolean"
|
|
4605
|
-
},
|
|
4606
|
-
"profile": {
|
|
4607
|
-
"description": "Named configuration profile to use",
|
|
4608
|
-
"helpGroup": "GLOBAL",
|
|
4609
|
-
"name": "profile",
|
|
4610
|
-
"default": "default",
|
|
4611
|
-
"hasDynamicHelp": false,
|
|
4612
|
-
"multiple": false,
|
|
4613
|
-
"type": "option"
|
|
4614
|
-
},
|
|
4615
|
-
"api-url": {
|
|
4616
|
-
"description": "Override the API base URL (e.g. for staging)",
|
|
4617
|
-
"helpGroup": "GLOBAL",
|
|
4618
|
-
"name": "api-url",
|
|
4619
|
-
"hasDynamicHelp": false,
|
|
4620
|
-
"multiple": false,
|
|
4621
|
-
"type": "option"
|
|
4622
|
-
},
|
|
4623
|
-
"page": {
|
|
4624
|
-
"description": "Page number",
|
|
4625
|
-
"name": "page",
|
|
4626
|
-
"default": 1,
|
|
4627
|
-
"hasDynamicHelp": false,
|
|
4628
|
-
"multiple": false,
|
|
4629
|
-
"type": "option"
|
|
4630
|
-
},
|
|
4631
|
-
"limit": {
|
|
4632
|
-
"description": "Items per page",
|
|
4633
|
-
"name": "limit",
|
|
4634
|
-
"default": 50,
|
|
4659
|
+
],
|
|
4660
|
+
"type": "option"
|
|
4661
|
+
},
|
|
4662
|
+
"spam": {
|
|
4663
|
+
"description": "Filter by spam status",
|
|
4664
|
+
"name": "spam",
|
|
4635
4665
|
"hasDynamicHelp": false,
|
|
4636
4666
|
"multiple": false,
|
|
4667
|
+
"options": [
|
|
4668
|
+
"true",
|
|
4669
|
+
"false"
|
|
4670
|
+
],
|
|
4637
4671
|
"type": "option"
|
|
4638
4672
|
},
|
|
4639
|
-
"
|
|
4640
|
-
"description": "
|
|
4641
|
-
"name": "
|
|
4673
|
+
"trust-level": {
|
|
4674
|
+
"description": "Comma-separated trust levels",
|
|
4675
|
+
"name": "trust-level",
|
|
4642
4676
|
"hasDynamicHelp": false,
|
|
4643
4677
|
"multiple": false,
|
|
4644
4678
|
"type": "option"
|
|
@@ -4646,7 +4680,7 @@
|
|
|
4646
4680
|
},
|
|
4647
4681
|
"hasDynamicHelp": false,
|
|
4648
4682
|
"hiddenAliases": [],
|
|
4649
|
-
"id": "
|
|
4683
|
+
"id": "contacts:list",
|
|
4650
4684
|
"pluginAlias": "@instantkom/cli",
|
|
4651
4685
|
"pluginName": "@instantkom/cli",
|
|
4652
4686
|
"pluginType": "core",
|
|
@@ -4656,20 +4690,20 @@
|
|
|
4656
4690
|
"relativePath": [
|
|
4657
4691
|
"dist",
|
|
4658
4692
|
"commands",
|
|
4659
|
-
"
|
|
4660
|
-
"
|
|
4693
|
+
"contacts",
|
|
4694
|
+
"list.js"
|
|
4661
4695
|
]
|
|
4662
4696
|
},
|
|
4663
|
-
"
|
|
4697
|
+
"contacts:update": {
|
|
4664
4698
|
"aliases": [],
|
|
4665
4699
|
"args": {
|
|
4666
4700
|
"id": {
|
|
4667
|
-
"description": "
|
|
4701
|
+
"description": "Contact ID",
|
|
4668
4702
|
"name": "id",
|
|
4669
4703
|
"required": true
|
|
4670
4704
|
}
|
|
4671
4705
|
},
|
|
4672
|
-
"description": "Update a
|
|
4706
|
+
"description": "Update a contact",
|
|
4673
4707
|
"flags": {
|
|
4674
4708
|
"api-key": {
|
|
4675
4709
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4733,50 +4767,16 @@
|
|
|
4733
4767
|
"multiple": false,
|
|
4734
4768
|
"type": "option"
|
|
4735
4769
|
},
|
|
4736
|
-
"
|
|
4737
|
-
"description": "
|
|
4738
|
-
"name": "
|
|
4739
|
-
"hasDynamicHelp": false,
|
|
4740
|
-
"multiple": false,
|
|
4741
|
-
"type": "option"
|
|
4742
|
-
},
|
|
4743
|
-
"type": {
|
|
4744
|
-
"description": "Bot type",
|
|
4745
|
-
"name": "type",
|
|
4746
|
-
"hasDynamicHelp": false,
|
|
4747
|
-
"multiple": false,
|
|
4748
|
-
"options": [
|
|
4749
|
-
"keyword",
|
|
4750
|
-
"schedule",
|
|
4751
|
-
"event",
|
|
4752
|
-
"ai"
|
|
4753
|
-
],
|
|
4754
|
-
"type": "option"
|
|
4755
|
-
},
|
|
4756
|
-
"message": {
|
|
4757
|
-
"description": "Bot message content",
|
|
4758
|
-
"name": "message",
|
|
4759
|
-
"hasDynamicHelp": false,
|
|
4760
|
-
"multiple": false,
|
|
4761
|
-
"type": "option"
|
|
4762
|
-
},
|
|
4763
|
-
"response": {
|
|
4764
|
-
"description": "Alias for --message",
|
|
4765
|
-
"name": "response",
|
|
4766
|
-
"hasDynamicHelp": false,
|
|
4767
|
-
"multiple": false,
|
|
4768
|
-
"type": "option"
|
|
4769
|
-
},
|
|
4770
|
-
"color": {
|
|
4771
|
-
"description": "Bot color as HEX",
|
|
4772
|
-
"name": "color",
|
|
4770
|
+
"identifier": {
|
|
4771
|
+
"description": "Unique contact identifier",
|
|
4772
|
+
"name": "identifier",
|
|
4773
4773
|
"hasDynamicHelp": false,
|
|
4774
4774
|
"multiple": false,
|
|
4775
4775
|
"type": "option"
|
|
4776
4776
|
},
|
|
4777
|
-
"
|
|
4778
|
-
"description": "
|
|
4779
|
-
"name": "
|
|
4777
|
+
"name": {
|
|
4778
|
+
"description": "Contact name",
|
|
4779
|
+
"name": "name",
|
|
4780
4780
|
"hasDynamicHelp": false,
|
|
4781
4781
|
"multiple": false,
|
|
4782
4782
|
"type": "option"
|
|
@@ -4791,7 +4791,7 @@
|
|
|
4791
4791
|
},
|
|
4792
4792
|
"hasDynamicHelp": false,
|
|
4793
4793
|
"hiddenAliases": [],
|
|
4794
|
-
"id": "
|
|
4794
|
+
"id": "contacts:update",
|
|
4795
4795
|
"pluginAlias": "@instantkom/cli",
|
|
4796
4796
|
"pluginName": "@instantkom/cli",
|
|
4797
4797
|
"pluginType": "core",
|
|
@@ -4801,7 +4801,7 @@
|
|
|
4801
4801
|
"relativePath": [
|
|
4802
4802
|
"dist",
|
|
4803
4803
|
"commands",
|
|
4804
|
-
"
|
|
4804
|
+
"contacts",
|
|
4805
4805
|
"update.js"
|
|
4806
4806
|
]
|
|
4807
4807
|
},
|
|
@@ -11656,184 +11656,8 @@
|
|
|
11656
11656
|
"type": "option"
|
|
11657
11657
|
},
|
|
11658
11658
|
"expires-in": {
|
|
11659
|
-
"description": "Token lifetime in seconds (omit for non-expiring)",
|
|
11660
|
-
"name": "expires-in",
|
|
11661
|
-
"hasDynamicHelp": false,
|
|
11662
|
-
"multiple": false,
|
|
11663
|
-
"type": "option"
|
|
11664
|
-
}
|
|
11665
|
-
},
|
|
11666
|
-
"hasDynamicHelp": false,
|
|
11667
|
-
"hiddenAliases": [],
|
|
11668
|
-
"id": "auth:tokens:create",
|
|
11669
|
-
"pluginAlias": "@instantkom/cli",
|
|
11670
|
-
"pluginName": "@instantkom/cli",
|
|
11671
|
-
"pluginType": "core",
|
|
11672
|
-
"strict": true,
|
|
11673
|
-
"enableJsonFlag": false,
|
|
11674
|
-
"isESM": true,
|
|
11675
|
-
"relativePath": [
|
|
11676
|
-
"dist",
|
|
11677
|
-
"commands",
|
|
11678
|
-
"auth",
|
|
11679
|
-
"tokens",
|
|
11680
|
-
"create.js"
|
|
11681
|
-
]
|
|
11682
|
-
},
|
|
11683
|
-
"auth:tokens:list": {
|
|
11684
|
-
"aliases": [],
|
|
11685
|
-
"args": {},
|
|
11686
|
-
"description": "List all API tokens for the current account",
|
|
11687
|
-
"flags": {
|
|
11688
|
-
"api-key": {
|
|
11689
|
-
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
11690
|
-
"env": "IKM_API_KEY",
|
|
11691
|
-
"helpGroup": "GLOBAL",
|
|
11692
|
-
"name": "api-key",
|
|
11693
|
-
"hasDynamicHelp": false,
|
|
11694
|
-
"multiple": false,
|
|
11695
|
-
"type": "option"
|
|
11696
|
-
},
|
|
11697
|
-
"format": {
|
|
11698
|
-
"description": "Output format: text, json, yaml, or table",
|
|
11699
|
-
"helpGroup": "GLOBAL",
|
|
11700
|
-
"name": "format",
|
|
11701
|
-
"default": "text",
|
|
11702
|
-
"hasDynamicHelp": false,
|
|
11703
|
-
"multiple": false,
|
|
11704
|
-
"options": [
|
|
11705
|
-
"text",
|
|
11706
|
-
"json",
|
|
11707
|
-
"yaml",
|
|
11708
|
-
"table"
|
|
11709
|
-
],
|
|
11710
|
-
"type": "option"
|
|
11711
|
-
},
|
|
11712
|
-
"json": {
|
|
11713
|
-
"description": "Output in JSON format (alias for --format=json)",
|
|
11714
|
-
"helpGroup": "GLOBAL",
|
|
11715
|
-
"name": "json",
|
|
11716
|
-
"allowNo": false,
|
|
11717
|
-
"type": "boolean"
|
|
11718
|
-
},
|
|
11719
|
-
"quiet": {
|
|
11720
|
-
"description": "Suppress all output except errors",
|
|
11721
|
-
"helpGroup": "GLOBAL",
|
|
11722
|
-
"name": "quiet",
|
|
11723
|
-
"allowNo": false,
|
|
11724
|
-
"type": "boolean"
|
|
11725
|
-
},
|
|
11726
|
-
"no-color": {
|
|
11727
|
-
"description": "Disable color output",
|
|
11728
|
-
"helpGroup": "GLOBAL",
|
|
11729
|
-
"name": "no-color",
|
|
11730
|
-
"allowNo": false,
|
|
11731
|
-
"type": "boolean"
|
|
11732
|
-
},
|
|
11733
|
-
"profile": {
|
|
11734
|
-
"description": "Named configuration profile to use",
|
|
11735
|
-
"helpGroup": "GLOBAL",
|
|
11736
|
-
"name": "profile",
|
|
11737
|
-
"default": "default",
|
|
11738
|
-
"hasDynamicHelp": false,
|
|
11739
|
-
"multiple": false,
|
|
11740
|
-
"type": "option"
|
|
11741
|
-
},
|
|
11742
|
-
"api-url": {
|
|
11743
|
-
"description": "Override the API base URL (e.g. for staging)",
|
|
11744
|
-
"helpGroup": "GLOBAL",
|
|
11745
|
-
"name": "api-url",
|
|
11746
|
-
"hasDynamicHelp": false,
|
|
11747
|
-
"multiple": false,
|
|
11748
|
-
"type": "option"
|
|
11749
|
-
}
|
|
11750
|
-
},
|
|
11751
|
-
"hasDynamicHelp": false,
|
|
11752
|
-
"hiddenAliases": [],
|
|
11753
|
-
"id": "auth:tokens:list",
|
|
11754
|
-
"pluginAlias": "@instantkom/cli",
|
|
11755
|
-
"pluginName": "@instantkom/cli",
|
|
11756
|
-
"pluginType": "core",
|
|
11757
|
-
"strict": true,
|
|
11758
|
-
"enableJsonFlag": false,
|
|
11759
|
-
"isESM": true,
|
|
11760
|
-
"relativePath": [
|
|
11761
|
-
"dist",
|
|
11762
|
-
"commands",
|
|
11763
|
-
"auth",
|
|
11764
|
-
"tokens",
|
|
11765
|
-
"list.js"
|
|
11766
|
-
]
|
|
11767
|
-
},
|
|
11768
|
-
"auth:tokens:revoke": {
|
|
11769
|
-
"aliases": [],
|
|
11770
|
-
"args": {
|
|
11771
|
-
"id": {
|
|
11772
|
-
"description": "Token ID to revoke",
|
|
11773
|
-
"name": "id",
|
|
11774
|
-
"required": true
|
|
11775
|
-
}
|
|
11776
|
-
},
|
|
11777
|
-
"description": "Delete an API token by ID",
|
|
11778
|
-
"flags": {
|
|
11779
|
-
"api-key": {
|
|
11780
|
-
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
11781
|
-
"env": "IKM_API_KEY",
|
|
11782
|
-
"helpGroup": "GLOBAL",
|
|
11783
|
-
"name": "api-key",
|
|
11784
|
-
"hasDynamicHelp": false,
|
|
11785
|
-
"multiple": false,
|
|
11786
|
-
"type": "option"
|
|
11787
|
-
},
|
|
11788
|
-
"format": {
|
|
11789
|
-
"description": "Output format: text, json, yaml, or table",
|
|
11790
|
-
"helpGroup": "GLOBAL",
|
|
11791
|
-
"name": "format",
|
|
11792
|
-
"default": "text",
|
|
11793
|
-
"hasDynamicHelp": false,
|
|
11794
|
-
"multiple": false,
|
|
11795
|
-
"options": [
|
|
11796
|
-
"text",
|
|
11797
|
-
"json",
|
|
11798
|
-
"yaml",
|
|
11799
|
-
"table"
|
|
11800
|
-
],
|
|
11801
|
-
"type": "option"
|
|
11802
|
-
},
|
|
11803
|
-
"json": {
|
|
11804
|
-
"description": "Output in JSON format (alias for --format=json)",
|
|
11805
|
-
"helpGroup": "GLOBAL",
|
|
11806
|
-
"name": "json",
|
|
11807
|
-
"allowNo": false,
|
|
11808
|
-
"type": "boolean"
|
|
11809
|
-
},
|
|
11810
|
-
"quiet": {
|
|
11811
|
-
"description": "Suppress all output except errors",
|
|
11812
|
-
"helpGroup": "GLOBAL",
|
|
11813
|
-
"name": "quiet",
|
|
11814
|
-
"allowNo": false,
|
|
11815
|
-
"type": "boolean"
|
|
11816
|
-
},
|
|
11817
|
-
"no-color": {
|
|
11818
|
-
"description": "Disable color output",
|
|
11819
|
-
"helpGroup": "GLOBAL",
|
|
11820
|
-
"name": "no-color",
|
|
11821
|
-
"allowNo": false,
|
|
11822
|
-
"type": "boolean"
|
|
11823
|
-
},
|
|
11824
|
-
"profile": {
|
|
11825
|
-
"description": "Named configuration profile to use",
|
|
11826
|
-
"helpGroup": "GLOBAL",
|
|
11827
|
-
"name": "profile",
|
|
11828
|
-
"default": "default",
|
|
11829
|
-
"hasDynamicHelp": false,
|
|
11830
|
-
"multiple": false,
|
|
11831
|
-
"type": "option"
|
|
11832
|
-
},
|
|
11833
|
-
"api-url": {
|
|
11834
|
-
"description": "Override the API base URL (e.g. for staging)",
|
|
11835
|
-
"helpGroup": "GLOBAL",
|
|
11836
|
-
"name": "api-url",
|
|
11659
|
+
"description": "Token lifetime in seconds (omit for non-expiring)",
|
|
11660
|
+
"name": "expires-in",
|
|
11837
11661
|
"hasDynamicHelp": false,
|
|
11838
11662
|
"multiple": false,
|
|
11839
11663
|
"type": "option"
|
|
@@ -11841,7 +11665,7 @@
|
|
|
11841
11665
|
},
|
|
11842
11666
|
"hasDynamicHelp": false,
|
|
11843
11667
|
"hiddenAliases": [],
|
|
11844
|
-
"id": "auth:tokens:
|
|
11668
|
+
"id": "auth:tokens:create",
|
|
11845
11669
|
"pluginAlias": "@instantkom/cli",
|
|
11846
11670
|
"pluginName": "@instantkom/cli",
|
|
11847
11671
|
"pluginType": "core",
|
|
@@ -11853,24 +11677,13 @@
|
|
|
11853
11677
|
"commands",
|
|
11854
11678
|
"auth",
|
|
11855
11679
|
"tokens",
|
|
11856
|
-
"
|
|
11680
|
+
"create.js"
|
|
11857
11681
|
]
|
|
11858
11682
|
},
|
|
11859
|
-
"
|
|
11683
|
+
"auth:tokens:list": {
|
|
11860
11684
|
"aliases": [],
|
|
11861
|
-
"args": {
|
|
11862
|
-
|
|
11863
|
-
"description": "Contact ID",
|
|
11864
|
-
"name": "contactId",
|
|
11865
|
-
"required": true
|
|
11866
|
-
},
|
|
11867
|
-
"fieldId": {
|
|
11868
|
-
"description": "Custom field ID",
|
|
11869
|
-
"name": "fieldId",
|
|
11870
|
-
"required": true
|
|
11871
|
-
}
|
|
11872
|
-
},
|
|
11873
|
-
"description": "Delete one custom field value from a contact",
|
|
11685
|
+
"args": {},
|
|
11686
|
+
"description": "List all API tokens for the current account",
|
|
11874
11687
|
"flags": {
|
|
11875
11688
|
"api-key": {
|
|
11876
11689
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11937,7 +11750,7 @@
|
|
|
11937
11750
|
},
|
|
11938
11751
|
"hasDynamicHelp": false,
|
|
11939
11752
|
"hiddenAliases": [],
|
|
11940
|
-
"id": "
|
|
11753
|
+
"id": "auth:tokens:list",
|
|
11941
11754
|
"pluginAlias": "@instantkom/cli",
|
|
11942
11755
|
"pluginName": "@instantkom/cli",
|
|
11943
11756
|
"pluginType": "core",
|
|
@@ -11947,21 +11760,21 @@
|
|
|
11947
11760
|
"relativePath": [
|
|
11948
11761
|
"dist",
|
|
11949
11762
|
"commands",
|
|
11950
|
-
"
|
|
11951
|
-
"
|
|
11952
|
-
"
|
|
11763
|
+
"auth",
|
|
11764
|
+
"tokens",
|
|
11765
|
+
"list.js"
|
|
11953
11766
|
]
|
|
11954
11767
|
},
|
|
11955
|
-
"
|
|
11768
|
+
"auth:tokens:revoke": {
|
|
11956
11769
|
"aliases": [],
|
|
11957
11770
|
"args": {
|
|
11958
|
-
"
|
|
11959
|
-
"description": "
|
|
11960
|
-
"name": "
|
|
11771
|
+
"id": {
|
|
11772
|
+
"description": "Token ID to revoke",
|
|
11773
|
+
"name": "id",
|
|
11961
11774
|
"required": true
|
|
11962
11775
|
}
|
|
11963
11776
|
},
|
|
11964
|
-
"description": "
|
|
11777
|
+
"description": "Delete an API token by ID",
|
|
11965
11778
|
"flags": {
|
|
11966
11779
|
"api-key": {
|
|
11967
11780
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -12028,7 +11841,7 @@
|
|
|
12028
11841
|
},
|
|
12029
11842
|
"hasDynamicHelp": false,
|
|
12030
11843
|
"hiddenAliases": [],
|
|
12031
|
-
"id": "
|
|
11844
|
+
"id": "auth:tokens:revoke",
|
|
12032
11845
|
"pluginAlias": "@instantkom/cli",
|
|
12033
11846
|
"pluginName": "@instantkom/cli",
|
|
12034
11847
|
"pluginType": "core",
|
|
@@ -12038,26 +11851,21 @@
|
|
|
12038
11851
|
"relativePath": [
|
|
12039
11852
|
"dist",
|
|
12040
11853
|
"commands",
|
|
12041
|
-
"
|
|
12042
|
-
"
|
|
12043
|
-
"
|
|
11854
|
+
"auth",
|
|
11855
|
+
"tokens",
|
|
11856
|
+
"revoke.js"
|
|
12044
11857
|
]
|
|
12045
11858
|
},
|
|
12046
|
-
"
|
|
11859
|
+
"bots:filters:create": {
|
|
12047
11860
|
"aliases": [],
|
|
12048
11861
|
"args": {
|
|
12049
|
-
"
|
|
12050
|
-
"description": "
|
|
12051
|
-
"name": "
|
|
12052
|
-
"required": true
|
|
12053
|
-
},
|
|
12054
|
-
"fieldId": {
|
|
12055
|
-
"description": "Custom field ID",
|
|
12056
|
-
"name": "fieldId",
|
|
11862
|
+
"botId": {
|
|
11863
|
+
"description": "Bot ID",
|
|
11864
|
+
"name": "botId",
|
|
12057
11865
|
"required": true
|
|
12058
11866
|
}
|
|
12059
11867
|
},
|
|
12060
|
-
"description": "
|
|
11868
|
+
"description": "Create a bot filter",
|
|
12061
11869
|
"flags": {
|
|
12062
11870
|
"api-key": {
|
|
12063
11871
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -12121,18 +11929,76 @@
|
|
|
12121
11929
|
"multiple": false,
|
|
12122
11930
|
"type": "option"
|
|
12123
11931
|
},
|
|
12124
|
-
"
|
|
12125
|
-
"description": "
|
|
12126
|
-
"name": "
|
|
11932
|
+
"name": {
|
|
11933
|
+
"description": "Filter name",
|
|
11934
|
+
"name": "name",
|
|
11935
|
+
"required": true,
|
|
11936
|
+
"hasDynamicHelp": false,
|
|
11937
|
+
"multiple": false,
|
|
11938
|
+
"type": "option"
|
|
11939
|
+
},
|
|
11940
|
+
"operator": {
|
|
11941
|
+
"description": "Logical operator",
|
|
11942
|
+
"name": "operator",
|
|
11943
|
+
"default": "and",
|
|
11944
|
+
"hasDynamicHelp": false,
|
|
11945
|
+
"multiple": false,
|
|
11946
|
+
"type": "option"
|
|
11947
|
+
},
|
|
11948
|
+
"filter-object": {
|
|
11949
|
+
"description": "Filter object type",
|
|
11950
|
+
"name": "filter-object",
|
|
11951
|
+
"default": "msg",
|
|
11952
|
+
"hasDynamicHelp": false,
|
|
11953
|
+
"multiple": false,
|
|
11954
|
+
"type": "option"
|
|
11955
|
+
},
|
|
11956
|
+
"filter-attribute": {
|
|
11957
|
+
"description": "Filter attribute",
|
|
11958
|
+
"name": "filter-attribute",
|
|
11959
|
+
"default": "text",
|
|
11960
|
+
"hasDynamicHelp": false,
|
|
11961
|
+
"multiple": false,
|
|
11962
|
+
"type": "option"
|
|
11963
|
+
},
|
|
11964
|
+
"filter-comparator": {
|
|
11965
|
+
"description": "Filter comparator",
|
|
11966
|
+
"name": "filter-comparator",
|
|
11967
|
+
"default": "contains",
|
|
11968
|
+
"hasDynamicHelp": false,
|
|
11969
|
+
"multiple": false,
|
|
11970
|
+
"type": "option"
|
|
11971
|
+
},
|
|
11972
|
+
"filter-value": {
|
|
11973
|
+
"description": "Filter value",
|
|
11974
|
+
"name": "filter-value",
|
|
12127
11975
|
"required": true,
|
|
12128
11976
|
"hasDynamicHelp": false,
|
|
12129
11977
|
"multiple": false,
|
|
12130
11978
|
"type": "option"
|
|
11979
|
+
},
|
|
11980
|
+
"status": {
|
|
11981
|
+
"description": "Status: 0 inactive, 1 active",
|
|
11982
|
+
"name": "status",
|
|
11983
|
+
"hasDynamicHelp": false,
|
|
11984
|
+
"multiple": false,
|
|
11985
|
+
"options": [
|
|
11986
|
+
"0",
|
|
11987
|
+
"1"
|
|
11988
|
+
],
|
|
11989
|
+
"type": "option"
|
|
11990
|
+
},
|
|
11991
|
+
"data": {
|
|
11992
|
+
"description": "Additional JSON object payload",
|
|
11993
|
+
"name": "data",
|
|
11994
|
+
"hasDynamicHelp": false,
|
|
11995
|
+
"multiple": false,
|
|
11996
|
+
"type": "option"
|
|
12131
11997
|
}
|
|
12132
11998
|
},
|
|
12133
11999
|
"hasDynamicHelp": false,
|
|
12134
12000
|
"hiddenAliases": [],
|
|
12135
|
-
"id": "
|
|
12001
|
+
"id": "bots:filters:create",
|
|
12136
12002
|
"pluginAlias": "@instantkom/cli",
|
|
12137
12003
|
"pluginName": "@instantkom/cli",
|
|
12138
12004
|
"pluginType": "core",
|
|
@@ -12142,21 +12008,26 @@
|
|
|
12142
12008
|
"relativePath": [
|
|
12143
12009
|
"dist",
|
|
12144
12010
|
"commands",
|
|
12145
|
-
"
|
|
12146
|
-
"
|
|
12147
|
-
"
|
|
12011
|
+
"bots",
|
|
12012
|
+
"filters",
|
|
12013
|
+
"create.js"
|
|
12148
12014
|
]
|
|
12149
12015
|
},
|
|
12150
|
-
"
|
|
12016
|
+
"bots:filters:delete": {
|
|
12151
12017
|
"aliases": [],
|
|
12152
12018
|
"args": {
|
|
12153
|
-
"
|
|
12154
|
-
"description": "
|
|
12155
|
-
"name": "
|
|
12019
|
+
"botId": {
|
|
12020
|
+
"description": "Bot ID",
|
|
12021
|
+
"name": "botId",
|
|
12022
|
+
"required": true
|
|
12023
|
+
},
|
|
12024
|
+
"filterId": {
|
|
12025
|
+
"description": "Filter ID",
|
|
12026
|
+
"name": "filterId",
|
|
12156
12027
|
"required": true
|
|
12157
12028
|
}
|
|
12158
12029
|
},
|
|
12159
|
-
"description": "
|
|
12030
|
+
"description": "Delete a bot filter",
|
|
12160
12031
|
"flags": {
|
|
12161
12032
|
"api-key": {
|
|
12162
12033
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -12219,32 +12090,11 @@
|
|
|
12219
12090
|
"hasDynamicHelp": false,
|
|
12220
12091
|
"multiple": false,
|
|
12221
12092
|
"type": "option"
|
|
12222
|
-
},
|
|
12223
|
-
"values": {
|
|
12224
|
-
"description": "JSON object with field keys as property names",
|
|
12225
|
-
"name": "values",
|
|
12226
|
-
"hasDynamicHelp": false,
|
|
12227
|
-
"multiple": false,
|
|
12228
|
-
"type": "option"
|
|
12229
|
-
},
|
|
12230
|
-
"file": {
|
|
12231
|
-
"description": "Path to a JSON file with field keys as property names",
|
|
12232
|
-
"name": "file",
|
|
12233
|
-
"hasDynamicHelp": false,
|
|
12234
|
-
"multiple": false,
|
|
12235
|
-
"type": "option"
|
|
12236
|
-
},
|
|
12237
|
-
"data": {
|
|
12238
|
-
"description": "Additional JSON object payload",
|
|
12239
|
-
"name": "data",
|
|
12240
|
-
"hasDynamicHelp": false,
|
|
12241
|
-
"multiple": false,
|
|
12242
|
-
"type": "option"
|
|
12243
12093
|
}
|
|
12244
12094
|
},
|
|
12245
12095
|
"hasDynamicHelp": false,
|
|
12246
12096
|
"hiddenAliases": [],
|
|
12247
|
-
"id": "
|
|
12097
|
+
"id": "bots:filters:delete",
|
|
12248
12098
|
"pluginAlias": "@instantkom/cli",
|
|
12249
12099
|
"pluginName": "@instantkom/cli",
|
|
12250
12100
|
"pluginType": "core",
|
|
@@ -12254,26 +12104,26 @@
|
|
|
12254
12104
|
"relativePath": [
|
|
12255
12105
|
"dist",
|
|
12256
12106
|
"commands",
|
|
12257
|
-
"
|
|
12258
|
-
"
|
|
12259
|
-
"
|
|
12107
|
+
"bots",
|
|
12108
|
+
"filters",
|
|
12109
|
+
"delete.js"
|
|
12260
12110
|
]
|
|
12261
12111
|
},
|
|
12262
|
-
"
|
|
12112
|
+
"bots:filters:get": {
|
|
12263
12113
|
"aliases": [],
|
|
12264
12114
|
"args": {
|
|
12265
|
-
"
|
|
12266
|
-
"description": "
|
|
12267
|
-
"name": "
|
|
12115
|
+
"botId": {
|
|
12116
|
+
"description": "Bot ID",
|
|
12117
|
+
"name": "botId",
|
|
12268
12118
|
"required": true
|
|
12269
12119
|
},
|
|
12270
|
-
"
|
|
12271
|
-
"description": "
|
|
12272
|
-
"name": "
|
|
12120
|
+
"filterId": {
|
|
12121
|
+
"description": "Filter ID",
|
|
12122
|
+
"name": "filterId",
|
|
12273
12123
|
"required": true
|
|
12274
12124
|
}
|
|
12275
12125
|
},
|
|
12276
|
-
"description": "
|
|
12126
|
+
"description": "Get a bot filter",
|
|
12277
12127
|
"flags": {
|
|
12278
12128
|
"api-key": {
|
|
12279
12129
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -12340,7 +12190,7 @@
|
|
|
12340
12190
|
},
|
|
12341
12191
|
"hasDynamicHelp": false,
|
|
12342
12192
|
"hiddenAliases": [],
|
|
12343
|
-
"id": "
|
|
12193
|
+
"id": "bots:filters:get",
|
|
12344
12194
|
"pluginAlias": "@instantkom/cli",
|
|
12345
12195
|
"pluginName": "@instantkom/cli",
|
|
12346
12196
|
"pluginType": "core",
|
|
@@ -12350,21 +12200,21 @@
|
|
|
12350
12200
|
"relativePath": [
|
|
12351
12201
|
"dist",
|
|
12352
12202
|
"commands",
|
|
12353
|
-
"
|
|
12354
|
-
"
|
|
12355
|
-
"
|
|
12203
|
+
"bots",
|
|
12204
|
+
"filters",
|
|
12205
|
+
"get.js"
|
|
12356
12206
|
]
|
|
12357
12207
|
},
|
|
12358
|
-
"
|
|
12208
|
+
"bots:filters:list": {
|
|
12359
12209
|
"aliases": [],
|
|
12360
12210
|
"args": {
|
|
12361
|
-
"
|
|
12362
|
-
"description": "
|
|
12363
|
-
"name": "
|
|
12211
|
+
"botId": {
|
|
12212
|
+
"description": "Bot ID",
|
|
12213
|
+
"name": "botId",
|
|
12364
12214
|
"required": true
|
|
12365
12215
|
}
|
|
12366
12216
|
},
|
|
12367
|
-
"description": "List
|
|
12217
|
+
"description": "List bot filters",
|
|
12368
12218
|
"flags": {
|
|
12369
12219
|
"api-key": {
|
|
12370
12220
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -12427,11 +12277,45 @@
|
|
|
12427
12277
|
"hasDynamicHelp": false,
|
|
12428
12278
|
"multiple": false,
|
|
12429
12279
|
"type": "option"
|
|
12280
|
+
},
|
|
12281
|
+
"page": {
|
|
12282
|
+
"description": "Page number",
|
|
12283
|
+
"name": "page",
|
|
12284
|
+
"default": 1,
|
|
12285
|
+
"hasDynamicHelp": false,
|
|
12286
|
+
"multiple": false,
|
|
12287
|
+
"type": "option"
|
|
12288
|
+
},
|
|
12289
|
+
"limit": {
|
|
12290
|
+
"description": "Items per page",
|
|
12291
|
+
"name": "limit",
|
|
12292
|
+
"default": 20,
|
|
12293
|
+
"hasDynamicHelp": false,
|
|
12294
|
+
"multiple": false,
|
|
12295
|
+
"type": "option"
|
|
12296
|
+
},
|
|
12297
|
+
"status": {
|
|
12298
|
+
"description": "Status filter: 0 inactive, 1 active",
|
|
12299
|
+
"name": "status",
|
|
12300
|
+
"hasDynamicHelp": false,
|
|
12301
|
+
"multiple": false,
|
|
12302
|
+
"options": [
|
|
12303
|
+
"0",
|
|
12304
|
+
"1"
|
|
12305
|
+
],
|
|
12306
|
+
"type": "option"
|
|
12307
|
+
},
|
|
12308
|
+
"search": {
|
|
12309
|
+
"description": "Search in name or description",
|
|
12310
|
+
"name": "search",
|
|
12311
|
+
"hasDynamicHelp": false,
|
|
12312
|
+
"multiple": false,
|
|
12313
|
+
"type": "option"
|
|
12430
12314
|
}
|
|
12431
12315
|
},
|
|
12432
12316
|
"hasDynamicHelp": false,
|
|
12433
12317
|
"hiddenAliases": [],
|
|
12434
|
-
"id": "
|
|
12318
|
+
"id": "bots:filters:list",
|
|
12435
12319
|
"pluginAlias": "@instantkom/cli",
|
|
12436
12320
|
"pluginName": "@instantkom/cli",
|
|
12437
12321
|
"pluginType": "core",
|
|
@@ -12441,26 +12325,26 @@
|
|
|
12441
12325
|
"relativePath": [
|
|
12442
12326
|
"dist",
|
|
12443
12327
|
"commands",
|
|
12444
|
-
"
|
|
12445
|
-
"
|
|
12328
|
+
"bots",
|
|
12329
|
+
"filters",
|
|
12446
12330
|
"list.js"
|
|
12447
12331
|
]
|
|
12448
12332
|
},
|
|
12449
|
-
"
|
|
12333
|
+
"bots:filters:update": {
|
|
12450
12334
|
"aliases": [],
|
|
12451
12335
|
"args": {
|
|
12452
|
-
"
|
|
12453
|
-
"description": "
|
|
12454
|
-
"name": "
|
|
12336
|
+
"botId": {
|
|
12337
|
+
"description": "Bot ID",
|
|
12338
|
+
"name": "botId",
|
|
12455
12339
|
"required": true
|
|
12456
12340
|
},
|
|
12457
|
-
"
|
|
12458
|
-
"description": "
|
|
12459
|
-
"name": "
|
|
12341
|
+
"filterId": {
|
|
12342
|
+
"description": "Filter ID",
|
|
12343
|
+
"name": "filterId",
|
|
12460
12344
|
"required": true
|
|
12461
12345
|
}
|
|
12462
12346
|
},
|
|
12463
|
-
"description": "
|
|
12347
|
+
"description": "Update a bot filter",
|
|
12464
12348
|
"flags": {
|
|
12465
12349
|
"api-key": {
|
|
12466
12350
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -12523,11 +12407,71 @@
|
|
|
12523
12407
|
"hasDynamicHelp": false,
|
|
12524
12408
|
"multiple": false,
|
|
12525
12409
|
"type": "option"
|
|
12410
|
+
},
|
|
12411
|
+
"name": {
|
|
12412
|
+
"description": "Filter name",
|
|
12413
|
+
"name": "name",
|
|
12414
|
+
"hasDynamicHelp": false,
|
|
12415
|
+
"multiple": false,
|
|
12416
|
+
"type": "option"
|
|
12417
|
+
},
|
|
12418
|
+
"operator": {
|
|
12419
|
+
"description": "Logical operator",
|
|
12420
|
+
"name": "operator",
|
|
12421
|
+
"hasDynamicHelp": false,
|
|
12422
|
+
"multiple": false,
|
|
12423
|
+
"type": "option"
|
|
12424
|
+
},
|
|
12425
|
+
"filter-object": {
|
|
12426
|
+
"description": "Filter object type",
|
|
12427
|
+
"name": "filter-object",
|
|
12428
|
+
"hasDynamicHelp": false,
|
|
12429
|
+
"multiple": false,
|
|
12430
|
+
"type": "option"
|
|
12431
|
+
},
|
|
12432
|
+
"filter-attribute": {
|
|
12433
|
+
"description": "Filter attribute",
|
|
12434
|
+
"name": "filter-attribute",
|
|
12435
|
+
"hasDynamicHelp": false,
|
|
12436
|
+
"multiple": false,
|
|
12437
|
+
"type": "option"
|
|
12438
|
+
},
|
|
12439
|
+
"filter-comparator": {
|
|
12440
|
+
"description": "Filter comparator",
|
|
12441
|
+
"name": "filter-comparator",
|
|
12442
|
+
"hasDynamicHelp": false,
|
|
12443
|
+
"multiple": false,
|
|
12444
|
+
"type": "option"
|
|
12445
|
+
},
|
|
12446
|
+
"filter-value": {
|
|
12447
|
+
"description": "Filter value",
|
|
12448
|
+
"name": "filter-value",
|
|
12449
|
+
"hasDynamicHelp": false,
|
|
12450
|
+
"multiple": false,
|
|
12451
|
+
"type": "option"
|
|
12452
|
+
},
|
|
12453
|
+
"status": {
|
|
12454
|
+
"description": "Status: 0 inactive, 1 active",
|
|
12455
|
+
"name": "status",
|
|
12456
|
+
"hasDynamicHelp": false,
|
|
12457
|
+
"multiple": false,
|
|
12458
|
+
"options": [
|
|
12459
|
+
"0",
|
|
12460
|
+
"1"
|
|
12461
|
+
],
|
|
12462
|
+
"type": "option"
|
|
12463
|
+
},
|
|
12464
|
+
"data": {
|
|
12465
|
+
"description": "Additional JSON object payload",
|
|
12466
|
+
"name": "data",
|
|
12467
|
+
"hasDynamicHelp": false,
|
|
12468
|
+
"multiple": false,
|
|
12469
|
+
"type": "option"
|
|
12526
12470
|
}
|
|
12527
12471
|
},
|
|
12528
12472
|
"hasDynamicHelp": false,
|
|
12529
12473
|
"hiddenAliases": [],
|
|
12530
|
-
"id": "
|
|
12474
|
+
"id": "bots:filters:update",
|
|
12531
12475
|
"pluginAlias": "@instantkom/cli",
|
|
12532
12476
|
"pluginName": "@instantkom/cli",
|
|
12533
12477
|
"pluginType": "core",
|
|
@@ -12537,9 +12481,9 @@
|
|
|
12537
12481
|
"relativePath": [
|
|
12538
12482
|
"dist",
|
|
12539
12483
|
"commands",
|
|
12540
|
-
"
|
|
12541
|
-
"
|
|
12542
|
-
"
|
|
12484
|
+
"bots",
|
|
12485
|
+
"filters",
|
|
12486
|
+
"update.js"
|
|
12543
12487
|
]
|
|
12544
12488
|
},
|
|
12545
12489
|
"bots:env-vars:bots": {
|
|
@@ -13277,16 +13221,21 @@
|
|
|
13277
13221
|
"values.js"
|
|
13278
13222
|
]
|
|
13279
13223
|
},
|
|
13280
|
-
"bots:
|
|
13224
|
+
"bots:tags:add": {
|
|
13281
13225
|
"aliases": [],
|
|
13282
13226
|
"args": {
|
|
13283
|
-
"
|
|
13227
|
+
"id": {
|
|
13284
13228
|
"description": "Bot ID",
|
|
13285
|
-
"name": "
|
|
13229
|
+
"name": "id",
|
|
13230
|
+
"required": true
|
|
13231
|
+
},
|
|
13232
|
+
"tagId": {
|
|
13233
|
+
"description": "Tag ID",
|
|
13234
|
+
"name": "tagId",
|
|
13286
13235
|
"required": true
|
|
13287
13236
|
}
|
|
13288
13237
|
},
|
|
13289
|
-
"description": "
|
|
13238
|
+
"description": "Add a tag to a bot",
|
|
13290
13239
|
"flags": {
|
|
13291
13240
|
"api-key": {
|
|
13292
13241
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -13349,69 +13298,190 @@
|
|
|
13349
13298
|
"hasDynamicHelp": false,
|
|
13350
13299
|
"multiple": false,
|
|
13351
13300
|
"type": "option"
|
|
13352
|
-
}
|
|
13353
|
-
|
|
13354
|
-
|
|
13355
|
-
|
|
13356
|
-
|
|
13301
|
+
}
|
|
13302
|
+
},
|
|
13303
|
+
"hasDynamicHelp": false,
|
|
13304
|
+
"hiddenAliases": [],
|
|
13305
|
+
"id": "bots:tags:add",
|
|
13306
|
+
"pluginAlias": "@instantkom/cli",
|
|
13307
|
+
"pluginName": "@instantkom/cli",
|
|
13308
|
+
"pluginType": "core",
|
|
13309
|
+
"strict": true,
|
|
13310
|
+
"enableJsonFlag": false,
|
|
13311
|
+
"isESM": true,
|
|
13312
|
+
"relativePath": [
|
|
13313
|
+
"dist",
|
|
13314
|
+
"commands",
|
|
13315
|
+
"bots",
|
|
13316
|
+
"tags",
|
|
13317
|
+
"add.js"
|
|
13318
|
+
]
|
|
13319
|
+
},
|
|
13320
|
+
"bots:tags:list": {
|
|
13321
|
+
"aliases": [],
|
|
13322
|
+
"args": {
|
|
13323
|
+
"id": {
|
|
13324
|
+
"description": "Bot ID",
|
|
13325
|
+
"name": "id",
|
|
13326
|
+
"required": true
|
|
13327
|
+
}
|
|
13328
|
+
},
|
|
13329
|
+
"description": "List tags assigned to a bot",
|
|
13330
|
+
"flags": {
|
|
13331
|
+
"api-key": {
|
|
13332
|
+
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
13333
|
+
"env": "IKM_API_KEY",
|
|
13334
|
+
"helpGroup": "GLOBAL",
|
|
13335
|
+
"name": "api-key",
|
|
13357
13336
|
"hasDynamicHelp": false,
|
|
13358
13337
|
"multiple": false,
|
|
13359
13338
|
"type": "option"
|
|
13360
13339
|
},
|
|
13361
|
-
"
|
|
13362
|
-
"description": "
|
|
13363
|
-
"
|
|
13364
|
-
"
|
|
13340
|
+
"format": {
|
|
13341
|
+
"description": "Output format: text, json, yaml, or table",
|
|
13342
|
+
"helpGroup": "GLOBAL",
|
|
13343
|
+
"name": "format",
|
|
13344
|
+
"default": "text",
|
|
13365
13345
|
"hasDynamicHelp": false,
|
|
13366
13346
|
"multiple": false,
|
|
13347
|
+
"options": [
|
|
13348
|
+
"text",
|
|
13349
|
+
"json",
|
|
13350
|
+
"yaml",
|
|
13351
|
+
"table"
|
|
13352
|
+
],
|
|
13367
13353
|
"type": "option"
|
|
13368
13354
|
},
|
|
13369
|
-
"
|
|
13370
|
-
"description": "
|
|
13371
|
-
"
|
|
13372
|
-
"
|
|
13355
|
+
"json": {
|
|
13356
|
+
"description": "Output in JSON format (alias for --format=json)",
|
|
13357
|
+
"helpGroup": "GLOBAL",
|
|
13358
|
+
"name": "json",
|
|
13359
|
+
"allowNo": false,
|
|
13360
|
+
"type": "boolean"
|
|
13361
|
+
},
|
|
13362
|
+
"quiet": {
|
|
13363
|
+
"description": "Suppress all output except errors",
|
|
13364
|
+
"helpGroup": "GLOBAL",
|
|
13365
|
+
"name": "quiet",
|
|
13366
|
+
"allowNo": false,
|
|
13367
|
+
"type": "boolean"
|
|
13368
|
+
},
|
|
13369
|
+
"no-color": {
|
|
13370
|
+
"description": "Disable color output",
|
|
13371
|
+
"helpGroup": "GLOBAL",
|
|
13372
|
+
"name": "no-color",
|
|
13373
|
+
"allowNo": false,
|
|
13374
|
+
"type": "boolean"
|
|
13375
|
+
},
|
|
13376
|
+
"profile": {
|
|
13377
|
+
"description": "Named configuration profile to use",
|
|
13378
|
+
"helpGroup": "GLOBAL",
|
|
13379
|
+
"name": "profile",
|
|
13380
|
+
"default": "default",
|
|
13373
13381
|
"hasDynamicHelp": false,
|
|
13374
13382
|
"multiple": false,
|
|
13375
13383
|
"type": "option"
|
|
13376
13384
|
},
|
|
13377
|
-
"
|
|
13378
|
-
"description": "
|
|
13379
|
-
"
|
|
13380
|
-
"
|
|
13385
|
+
"api-url": {
|
|
13386
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
13387
|
+
"helpGroup": "GLOBAL",
|
|
13388
|
+
"name": "api-url",
|
|
13381
13389
|
"hasDynamicHelp": false,
|
|
13382
13390
|
"multiple": false,
|
|
13383
13391
|
"type": "option"
|
|
13392
|
+
}
|
|
13393
|
+
},
|
|
13394
|
+
"hasDynamicHelp": false,
|
|
13395
|
+
"hiddenAliases": [],
|
|
13396
|
+
"id": "bots:tags:list",
|
|
13397
|
+
"pluginAlias": "@instantkom/cli",
|
|
13398
|
+
"pluginName": "@instantkom/cli",
|
|
13399
|
+
"pluginType": "core",
|
|
13400
|
+
"strict": true,
|
|
13401
|
+
"enableJsonFlag": false,
|
|
13402
|
+
"isESM": true,
|
|
13403
|
+
"relativePath": [
|
|
13404
|
+
"dist",
|
|
13405
|
+
"commands",
|
|
13406
|
+
"bots",
|
|
13407
|
+
"tags",
|
|
13408
|
+
"list.js"
|
|
13409
|
+
]
|
|
13410
|
+
},
|
|
13411
|
+
"bots:tags:remove": {
|
|
13412
|
+
"aliases": [],
|
|
13413
|
+
"args": {
|
|
13414
|
+
"id": {
|
|
13415
|
+
"description": "Bot ID",
|
|
13416
|
+
"name": "id",
|
|
13417
|
+
"required": true
|
|
13384
13418
|
},
|
|
13385
|
-
"
|
|
13386
|
-
"description": "
|
|
13387
|
-
"name": "
|
|
13388
|
-
"
|
|
13419
|
+
"tagId": {
|
|
13420
|
+
"description": "Tag ID",
|
|
13421
|
+
"name": "tagId",
|
|
13422
|
+
"required": true
|
|
13423
|
+
}
|
|
13424
|
+
},
|
|
13425
|
+
"description": "Remove a tag from a bot",
|
|
13426
|
+
"flags": {
|
|
13427
|
+
"api-key": {
|
|
13428
|
+
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
13429
|
+
"env": "IKM_API_KEY",
|
|
13430
|
+
"helpGroup": "GLOBAL",
|
|
13431
|
+
"name": "api-key",
|
|
13389
13432
|
"hasDynamicHelp": false,
|
|
13390
13433
|
"multiple": false,
|
|
13391
13434
|
"type": "option"
|
|
13392
13435
|
},
|
|
13393
|
-
"
|
|
13394
|
-
"description": "
|
|
13395
|
-
"
|
|
13396
|
-
"
|
|
13436
|
+
"format": {
|
|
13437
|
+
"description": "Output format: text, json, yaml, or table",
|
|
13438
|
+
"helpGroup": "GLOBAL",
|
|
13439
|
+
"name": "format",
|
|
13440
|
+
"default": "text",
|
|
13397
13441
|
"hasDynamicHelp": false,
|
|
13398
13442
|
"multiple": false,
|
|
13443
|
+
"options": [
|
|
13444
|
+
"text",
|
|
13445
|
+
"json",
|
|
13446
|
+
"yaml",
|
|
13447
|
+
"table"
|
|
13448
|
+
],
|
|
13399
13449
|
"type": "option"
|
|
13400
13450
|
},
|
|
13401
|
-
"
|
|
13402
|
-
"description": "
|
|
13403
|
-
"
|
|
13451
|
+
"json": {
|
|
13452
|
+
"description": "Output in JSON format (alias for --format=json)",
|
|
13453
|
+
"helpGroup": "GLOBAL",
|
|
13454
|
+
"name": "json",
|
|
13455
|
+
"allowNo": false,
|
|
13456
|
+
"type": "boolean"
|
|
13457
|
+
},
|
|
13458
|
+
"quiet": {
|
|
13459
|
+
"description": "Suppress all output except errors",
|
|
13460
|
+
"helpGroup": "GLOBAL",
|
|
13461
|
+
"name": "quiet",
|
|
13462
|
+
"allowNo": false,
|
|
13463
|
+
"type": "boolean"
|
|
13464
|
+
},
|
|
13465
|
+
"no-color": {
|
|
13466
|
+
"description": "Disable color output",
|
|
13467
|
+
"helpGroup": "GLOBAL",
|
|
13468
|
+
"name": "no-color",
|
|
13469
|
+
"allowNo": false,
|
|
13470
|
+
"type": "boolean"
|
|
13471
|
+
},
|
|
13472
|
+
"profile": {
|
|
13473
|
+
"description": "Named configuration profile to use",
|
|
13474
|
+
"helpGroup": "GLOBAL",
|
|
13475
|
+
"name": "profile",
|
|
13476
|
+
"default": "default",
|
|
13404
13477
|
"hasDynamicHelp": false,
|
|
13405
13478
|
"multiple": false,
|
|
13406
|
-
"options": [
|
|
13407
|
-
"0",
|
|
13408
|
-
"1"
|
|
13409
|
-
],
|
|
13410
13479
|
"type": "option"
|
|
13411
13480
|
},
|
|
13412
|
-
"
|
|
13413
|
-
"description": "
|
|
13414
|
-
"
|
|
13481
|
+
"api-url": {
|
|
13482
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
13483
|
+
"helpGroup": "GLOBAL",
|
|
13484
|
+
"name": "api-url",
|
|
13415
13485
|
"hasDynamicHelp": false,
|
|
13416
13486
|
"multiple": false,
|
|
13417
13487
|
"type": "option"
|
|
@@ -13419,7 +13489,7 @@
|
|
|
13419
13489
|
},
|
|
13420
13490
|
"hasDynamicHelp": false,
|
|
13421
13491
|
"hiddenAliases": [],
|
|
13422
|
-
"id": "bots:
|
|
13492
|
+
"id": "bots:tags:remove",
|
|
13423
13493
|
"pluginAlias": "@instantkom/cli",
|
|
13424
13494
|
"pluginName": "@instantkom/cli",
|
|
13425
13495
|
"pluginType": "core",
|
|
@@ -13430,25 +13500,25 @@
|
|
|
13430
13500
|
"dist",
|
|
13431
13501
|
"commands",
|
|
13432
13502
|
"bots",
|
|
13433
|
-
"
|
|
13434
|
-
"
|
|
13503
|
+
"tags",
|
|
13504
|
+
"remove.js"
|
|
13435
13505
|
]
|
|
13436
13506
|
},
|
|
13437
|
-
"
|
|
13507
|
+
"contacts:custom-fields:delete-value": {
|
|
13438
13508
|
"aliases": [],
|
|
13439
13509
|
"args": {
|
|
13440
|
-
"
|
|
13441
|
-
"description": "
|
|
13442
|
-
"name": "
|
|
13510
|
+
"contactId": {
|
|
13511
|
+
"description": "Contact ID",
|
|
13512
|
+
"name": "contactId",
|
|
13443
13513
|
"required": true
|
|
13444
13514
|
},
|
|
13445
|
-
"
|
|
13446
|
-
"description": "
|
|
13447
|
-
"name": "
|
|
13515
|
+
"fieldId": {
|
|
13516
|
+
"description": "Custom field ID",
|
|
13517
|
+
"name": "fieldId",
|
|
13448
13518
|
"required": true
|
|
13449
13519
|
}
|
|
13450
13520
|
},
|
|
13451
|
-
"description": "Delete a
|
|
13521
|
+
"description": "Delete one custom field value from a contact",
|
|
13452
13522
|
"flags": {
|
|
13453
13523
|
"api-key": {
|
|
13454
13524
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -13515,7 +13585,7 @@
|
|
|
13515
13585
|
},
|
|
13516
13586
|
"hasDynamicHelp": false,
|
|
13517
13587
|
"hiddenAliases": [],
|
|
13518
|
-
"id": "
|
|
13588
|
+
"id": "contacts:custom-fields:delete-value",
|
|
13519
13589
|
"pluginAlias": "@instantkom/cli",
|
|
13520
13590
|
"pluginName": "@instantkom/cli",
|
|
13521
13591
|
"pluginType": "core",
|
|
@@ -13525,26 +13595,21 @@
|
|
|
13525
13595
|
"relativePath": [
|
|
13526
13596
|
"dist",
|
|
13527
13597
|
"commands",
|
|
13528
|
-
"
|
|
13529
|
-
"
|
|
13530
|
-
"delete.js"
|
|
13598
|
+
"contacts",
|
|
13599
|
+
"custom-fields",
|
|
13600
|
+
"delete-value.js"
|
|
13531
13601
|
]
|
|
13532
13602
|
},
|
|
13533
|
-
"
|
|
13603
|
+
"contacts:custom-fields:list": {
|
|
13534
13604
|
"aliases": [],
|
|
13535
13605
|
"args": {
|
|
13536
|
-
"
|
|
13537
|
-
"description": "
|
|
13538
|
-
"name": "
|
|
13539
|
-
"required": true
|
|
13540
|
-
},
|
|
13541
|
-
"filterId": {
|
|
13542
|
-
"description": "Filter ID",
|
|
13543
|
-
"name": "filterId",
|
|
13606
|
+
"contactId": {
|
|
13607
|
+
"description": "Contact ID",
|
|
13608
|
+
"name": "contactId",
|
|
13544
13609
|
"required": true
|
|
13545
13610
|
}
|
|
13546
13611
|
},
|
|
13547
|
-
"description": "
|
|
13612
|
+
"description": "List custom field values for a contact",
|
|
13548
13613
|
"flags": {
|
|
13549
13614
|
"api-key": {
|
|
13550
13615
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -13611,7 +13676,7 @@
|
|
|
13611
13676
|
},
|
|
13612
13677
|
"hasDynamicHelp": false,
|
|
13613
13678
|
"hiddenAliases": [],
|
|
13614
|
-
"id": "
|
|
13679
|
+
"id": "contacts:custom-fields:list",
|
|
13615
13680
|
"pluginAlias": "@instantkom/cli",
|
|
13616
13681
|
"pluginName": "@instantkom/cli",
|
|
13617
13682
|
"pluginType": "core",
|
|
@@ -13621,21 +13686,26 @@
|
|
|
13621
13686
|
"relativePath": [
|
|
13622
13687
|
"dist",
|
|
13623
13688
|
"commands",
|
|
13624
|
-
"
|
|
13625
|
-
"
|
|
13626
|
-
"
|
|
13689
|
+
"contacts",
|
|
13690
|
+
"custom-fields",
|
|
13691
|
+
"list.js"
|
|
13627
13692
|
]
|
|
13628
13693
|
},
|
|
13629
|
-
"
|
|
13694
|
+
"contacts:custom-fields:set-value": {
|
|
13630
13695
|
"aliases": [],
|
|
13631
13696
|
"args": {
|
|
13632
|
-
"
|
|
13633
|
-
"description": "
|
|
13634
|
-
"name": "
|
|
13697
|
+
"contactId": {
|
|
13698
|
+
"description": "Contact ID",
|
|
13699
|
+
"name": "contactId",
|
|
13700
|
+
"required": true
|
|
13701
|
+
},
|
|
13702
|
+
"fieldId": {
|
|
13703
|
+
"description": "Custom field ID",
|
|
13704
|
+
"name": "fieldId",
|
|
13635
13705
|
"required": true
|
|
13636
13706
|
}
|
|
13637
13707
|
},
|
|
13638
|
-
"description": "
|
|
13708
|
+
"description": "Set one custom field value for a contact",
|
|
13639
13709
|
"flags": {
|
|
13640
13710
|
"api-key": {
|
|
13641
13711
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -13699,36 +13769,10 @@
|
|
|
13699
13769
|
"multiple": false,
|
|
13700
13770
|
"type": "option"
|
|
13701
13771
|
},
|
|
13702
|
-
"
|
|
13703
|
-
"description": "
|
|
13704
|
-
"name": "
|
|
13705
|
-
"
|
|
13706
|
-
"hasDynamicHelp": false,
|
|
13707
|
-
"multiple": false,
|
|
13708
|
-
"type": "option"
|
|
13709
|
-
},
|
|
13710
|
-
"limit": {
|
|
13711
|
-
"description": "Items per page",
|
|
13712
|
-
"name": "limit",
|
|
13713
|
-
"default": 20,
|
|
13714
|
-
"hasDynamicHelp": false,
|
|
13715
|
-
"multiple": false,
|
|
13716
|
-
"type": "option"
|
|
13717
|
-
},
|
|
13718
|
-
"status": {
|
|
13719
|
-
"description": "Status filter: 0 inactive, 1 active",
|
|
13720
|
-
"name": "status",
|
|
13721
|
-
"hasDynamicHelp": false,
|
|
13722
|
-
"multiple": false,
|
|
13723
|
-
"options": [
|
|
13724
|
-
"0",
|
|
13725
|
-
"1"
|
|
13726
|
-
],
|
|
13727
|
-
"type": "option"
|
|
13728
|
-
},
|
|
13729
|
-
"search": {
|
|
13730
|
-
"description": "Search in name or description",
|
|
13731
|
-
"name": "search",
|
|
13772
|
+
"value": {
|
|
13773
|
+
"description": "Custom field value",
|
|
13774
|
+
"name": "value",
|
|
13775
|
+
"required": true,
|
|
13732
13776
|
"hasDynamicHelp": false,
|
|
13733
13777
|
"multiple": false,
|
|
13734
13778
|
"type": "option"
|
|
@@ -13736,7 +13780,7 @@
|
|
|
13736
13780
|
},
|
|
13737
13781
|
"hasDynamicHelp": false,
|
|
13738
13782
|
"hiddenAliases": [],
|
|
13739
|
-
"id": "
|
|
13783
|
+
"id": "contacts:custom-fields:set-value",
|
|
13740
13784
|
"pluginAlias": "@instantkom/cli",
|
|
13741
13785
|
"pluginName": "@instantkom/cli",
|
|
13742
13786
|
"pluginType": "core",
|
|
@@ -13746,26 +13790,21 @@
|
|
|
13746
13790
|
"relativePath": [
|
|
13747
13791
|
"dist",
|
|
13748
13792
|
"commands",
|
|
13749
|
-
"
|
|
13750
|
-
"
|
|
13751
|
-
"
|
|
13793
|
+
"contacts",
|
|
13794
|
+
"custom-fields",
|
|
13795
|
+
"set-value.js"
|
|
13752
13796
|
]
|
|
13753
13797
|
},
|
|
13754
|
-
"
|
|
13798
|
+
"contacts:custom-fields:set": {
|
|
13755
13799
|
"aliases": [],
|
|
13756
13800
|
"args": {
|
|
13757
|
-
"
|
|
13758
|
-
"description": "
|
|
13759
|
-
"name": "
|
|
13760
|
-
"required": true
|
|
13761
|
-
},
|
|
13762
|
-
"filterId": {
|
|
13763
|
-
"description": "Filter ID",
|
|
13764
|
-
"name": "filterId",
|
|
13801
|
+
"contactId": {
|
|
13802
|
+
"description": "Contact ID",
|
|
13803
|
+
"name": "contactId",
|
|
13765
13804
|
"required": true
|
|
13766
13805
|
}
|
|
13767
13806
|
},
|
|
13768
|
-
"description": "
|
|
13807
|
+
"description": "Set multiple custom field values for a contact",
|
|
13769
13808
|
"flags": {
|
|
13770
13809
|
"api-key": {
|
|
13771
13810
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -13829,57 +13868,18 @@
|
|
|
13829
13868
|
"multiple": false,
|
|
13830
13869
|
"type": "option"
|
|
13831
13870
|
},
|
|
13832
|
-
"
|
|
13833
|
-
"description": "
|
|
13834
|
-
"name": "
|
|
13835
|
-
"hasDynamicHelp": false,
|
|
13836
|
-
"multiple": false,
|
|
13837
|
-
"type": "option"
|
|
13838
|
-
},
|
|
13839
|
-
"operator": {
|
|
13840
|
-
"description": "Logical operator",
|
|
13841
|
-
"name": "operator",
|
|
13842
|
-
"hasDynamicHelp": false,
|
|
13843
|
-
"multiple": false,
|
|
13844
|
-
"type": "option"
|
|
13845
|
-
},
|
|
13846
|
-
"filter-object": {
|
|
13847
|
-
"description": "Filter object type",
|
|
13848
|
-
"name": "filter-object",
|
|
13849
|
-
"hasDynamicHelp": false,
|
|
13850
|
-
"multiple": false,
|
|
13851
|
-
"type": "option"
|
|
13852
|
-
},
|
|
13853
|
-
"filter-attribute": {
|
|
13854
|
-
"description": "Filter attribute",
|
|
13855
|
-
"name": "filter-attribute",
|
|
13856
|
-
"hasDynamicHelp": false,
|
|
13857
|
-
"multiple": false,
|
|
13858
|
-
"type": "option"
|
|
13859
|
-
},
|
|
13860
|
-
"filter-comparator": {
|
|
13861
|
-
"description": "Filter comparator",
|
|
13862
|
-
"name": "filter-comparator",
|
|
13863
|
-
"hasDynamicHelp": false,
|
|
13864
|
-
"multiple": false,
|
|
13865
|
-
"type": "option"
|
|
13866
|
-
},
|
|
13867
|
-
"filter-value": {
|
|
13868
|
-
"description": "Filter value",
|
|
13869
|
-
"name": "filter-value",
|
|
13871
|
+
"values": {
|
|
13872
|
+
"description": "JSON object with field keys as property names",
|
|
13873
|
+
"name": "values",
|
|
13870
13874
|
"hasDynamicHelp": false,
|
|
13871
13875
|
"multiple": false,
|
|
13872
13876
|
"type": "option"
|
|
13873
13877
|
},
|
|
13874
|
-
"
|
|
13875
|
-
"description": "
|
|
13876
|
-
"name": "
|
|
13878
|
+
"file": {
|
|
13879
|
+
"description": "Path to a JSON file with field keys as property names",
|
|
13880
|
+
"name": "file",
|
|
13877
13881
|
"hasDynamicHelp": false,
|
|
13878
13882
|
"multiple": false,
|
|
13879
|
-
"options": [
|
|
13880
|
-
"0",
|
|
13881
|
-
"1"
|
|
13882
|
-
],
|
|
13883
13883
|
"type": "option"
|
|
13884
13884
|
},
|
|
13885
13885
|
"data": {
|
|
@@ -13892,7 +13892,7 @@
|
|
|
13892
13892
|
},
|
|
13893
13893
|
"hasDynamicHelp": false,
|
|
13894
13894
|
"hiddenAliases": [],
|
|
13895
|
-
"id": "
|
|
13895
|
+
"id": "contacts:custom-fields:set",
|
|
13896
13896
|
"pluginAlias": "@instantkom/cli",
|
|
13897
13897
|
"pluginName": "@instantkom/cli",
|
|
13898
13898
|
"pluginType": "core",
|
|
@@ -13902,17 +13902,17 @@
|
|
|
13902
13902
|
"relativePath": [
|
|
13903
13903
|
"dist",
|
|
13904
13904
|
"commands",
|
|
13905
|
-
"
|
|
13906
|
-
"
|
|
13907
|
-
"
|
|
13905
|
+
"contacts",
|
|
13906
|
+
"custom-fields",
|
|
13907
|
+
"set.js"
|
|
13908
13908
|
]
|
|
13909
13909
|
},
|
|
13910
|
-
"
|
|
13910
|
+
"contacts:tags:add": {
|
|
13911
13911
|
"aliases": [],
|
|
13912
13912
|
"args": {
|
|
13913
|
-
"
|
|
13914
|
-
"description": "
|
|
13915
|
-
"name": "
|
|
13913
|
+
"contactId": {
|
|
13914
|
+
"description": "Contact ID",
|
|
13915
|
+
"name": "contactId",
|
|
13916
13916
|
"required": true
|
|
13917
13917
|
},
|
|
13918
13918
|
"tagId": {
|
|
@@ -13921,7 +13921,7 @@
|
|
|
13921
13921
|
"required": true
|
|
13922
13922
|
}
|
|
13923
13923
|
},
|
|
13924
|
-
"description": "
|
|
13924
|
+
"description": "Assign a tag to a contact",
|
|
13925
13925
|
"flags": {
|
|
13926
13926
|
"api-key": {
|
|
13927
13927
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -13988,7 +13988,7 @@
|
|
|
13988
13988
|
},
|
|
13989
13989
|
"hasDynamicHelp": false,
|
|
13990
13990
|
"hiddenAliases": [],
|
|
13991
|
-
"id": "
|
|
13991
|
+
"id": "contacts:tags:add",
|
|
13992
13992
|
"pluginAlias": "@instantkom/cli",
|
|
13993
13993
|
"pluginName": "@instantkom/cli",
|
|
13994
13994
|
"pluginType": "core",
|
|
@@ -13998,21 +13998,21 @@
|
|
|
13998
13998
|
"relativePath": [
|
|
13999
13999
|
"dist",
|
|
14000
14000
|
"commands",
|
|
14001
|
-
"
|
|
14001
|
+
"contacts",
|
|
14002
14002
|
"tags",
|
|
14003
14003
|
"add.js"
|
|
14004
14004
|
]
|
|
14005
14005
|
},
|
|
14006
|
-
"
|
|
14006
|
+
"contacts:tags:list": {
|
|
14007
14007
|
"aliases": [],
|
|
14008
14008
|
"args": {
|
|
14009
|
-
"
|
|
14010
|
-
"description": "
|
|
14011
|
-
"name": "
|
|
14009
|
+
"contactId": {
|
|
14010
|
+
"description": "Contact ID",
|
|
14011
|
+
"name": "contactId",
|
|
14012
14012
|
"required": true
|
|
14013
14013
|
}
|
|
14014
14014
|
},
|
|
14015
|
-
"description": "List tags assigned to a
|
|
14015
|
+
"description": "List tags assigned to a contact",
|
|
14016
14016
|
"flags": {
|
|
14017
14017
|
"api-key": {
|
|
14018
14018
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -14079,7 +14079,7 @@
|
|
|
14079
14079
|
},
|
|
14080
14080
|
"hasDynamicHelp": false,
|
|
14081
14081
|
"hiddenAliases": [],
|
|
14082
|
-
"id": "
|
|
14082
|
+
"id": "contacts:tags:list",
|
|
14083
14083
|
"pluginAlias": "@instantkom/cli",
|
|
14084
14084
|
"pluginName": "@instantkom/cli",
|
|
14085
14085
|
"pluginType": "core",
|
|
@@ -14089,17 +14089,17 @@
|
|
|
14089
14089
|
"relativePath": [
|
|
14090
14090
|
"dist",
|
|
14091
14091
|
"commands",
|
|
14092
|
-
"
|
|
14092
|
+
"contacts",
|
|
14093
14093
|
"tags",
|
|
14094
14094
|
"list.js"
|
|
14095
14095
|
]
|
|
14096
14096
|
},
|
|
14097
|
-
"
|
|
14097
|
+
"contacts:tags:remove": {
|
|
14098
14098
|
"aliases": [],
|
|
14099
14099
|
"args": {
|
|
14100
|
-
"
|
|
14101
|
-
"description": "
|
|
14102
|
-
"name": "
|
|
14100
|
+
"contactId": {
|
|
14101
|
+
"description": "Contact ID",
|
|
14102
|
+
"name": "contactId",
|
|
14103
14103
|
"required": true
|
|
14104
14104
|
},
|
|
14105
14105
|
"tagId": {
|
|
@@ -14108,7 +14108,7 @@
|
|
|
14108
14108
|
"required": true
|
|
14109
14109
|
}
|
|
14110
14110
|
},
|
|
14111
|
-
"description": "Remove a tag from a
|
|
14111
|
+
"description": "Remove a tag from a contact",
|
|
14112
14112
|
"flags": {
|
|
14113
14113
|
"api-key": {
|
|
14114
14114
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -14175,7 +14175,7 @@
|
|
|
14175
14175
|
},
|
|
14176
14176
|
"hasDynamicHelp": false,
|
|
14177
14177
|
"hiddenAliases": [],
|
|
14178
|
-
"id": "
|
|
14178
|
+
"id": "contacts:tags:remove",
|
|
14179
14179
|
"pluginAlias": "@instantkom/cli",
|
|
14180
14180
|
"pluginName": "@instantkom/cli",
|
|
14181
14181
|
"pluginType": "core",
|
|
@@ -14185,7 +14185,7 @@
|
|
|
14185
14185
|
"relativePath": [
|
|
14186
14186
|
"dist",
|
|
14187
14187
|
"commands",
|
|
14188
|
-
"
|
|
14188
|
+
"contacts",
|
|
14189
14189
|
"tags",
|
|
14190
14190
|
"remove.js"
|
|
14191
14191
|
]
|
|
@@ -16352,5 +16352,5 @@
|
|
|
16352
16352
|
]
|
|
16353
16353
|
}
|
|
16354
16354
|
},
|
|
16355
|
-
"version": "3.
|
|
16355
|
+
"version": "3.147.0"
|
|
16356
16356
|
}
|