@instantkom/cli 3.189.0 → 3.190.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 +1072 -1072
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -1289,10 +1289,10 @@
|
|
|
1289
1289
|
"script.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.",
|
|
@@ -1357,91 +1357,74 @@
|
|
|
1357
1357
|
"type": "option"
|
|
1358
1358
|
},
|
|
1359
1359
|
"channel": {
|
|
1360
|
-
"description": "Channel ID
|
|
1360
|
+
"description": "Channel ID",
|
|
1361
1361
|
"name": "channel",
|
|
1362
|
+
"required": true,
|
|
1362
1363
|
"hasDynamicHelp": false,
|
|
1363
1364
|
"multiple": false,
|
|
1364
1365
|
"type": "option"
|
|
1365
1366
|
},
|
|
1366
|
-
"
|
|
1367
|
-
"description": "
|
|
1368
|
-
"name": "
|
|
1367
|
+
"name": {
|
|
1368
|
+
"description": "Bot name",
|
|
1369
|
+
"name": "name",
|
|
1370
|
+
"required": true,
|
|
1369
1371
|
"hasDynamicHelp": false,
|
|
1370
1372
|
"multiple": false,
|
|
1371
1373
|
"type": "option"
|
|
1372
1374
|
},
|
|
1373
|
-
"
|
|
1374
|
-
"description": "
|
|
1375
|
-
"name": "
|
|
1376
|
-
"hasDynamicHelp": false,
|
|
1377
|
-
"multiple": true,
|
|
1378
|
-
"type": "option"
|
|
1379
|
-
},
|
|
1380
|
-
"text": {
|
|
1381
|
-
"description": "Broadcast message text",
|
|
1382
|
-
"name": "text",
|
|
1375
|
+
"type": {
|
|
1376
|
+
"description": "Bot type",
|
|
1377
|
+
"name": "type",
|
|
1383
1378
|
"required": true,
|
|
1384
1379
|
"hasDynamicHelp": false,
|
|
1385
1380
|
"multiple": false,
|
|
1381
|
+
"options": [
|
|
1382
|
+
"keyword",
|
|
1383
|
+
"schedule",
|
|
1384
|
+
"event",
|
|
1385
|
+
"ai"
|
|
1386
|
+
],
|
|
1386
1387
|
"type": "option"
|
|
1387
1388
|
},
|
|
1388
|
-
"
|
|
1389
|
-
"description": "
|
|
1390
|
-
"name": "
|
|
1389
|
+
"message": {
|
|
1390
|
+
"description": "Bot message content",
|
|
1391
|
+
"name": "message",
|
|
1391
1392
|
"hasDynamicHelp": false,
|
|
1392
1393
|
"multiple": false,
|
|
1393
1394
|
"type": "option"
|
|
1394
1395
|
},
|
|
1395
|
-
"
|
|
1396
|
-
"description": "
|
|
1397
|
-
"name": "
|
|
1398
|
-
"allowNo": false,
|
|
1399
|
-
"type": "boolean"
|
|
1400
|
-
},
|
|
1401
|
-
"idempotency-key": {
|
|
1402
|
-
"description": "Idempotency key forwarded as Idempotency-Key",
|
|
1403
|
-
"name": "idempotency-key",
|
|
1396
|
+
"response": {
|
|
1397
|
+
"description": "Alias for --message",
|
|
1398
|
+
"name": "response",
|
|
1404
1399
|
"hasDynamicHelp": false,
|
|
1405
1400
|
"multiple": false,
|
|
1406
1401
|
"type": "option"
|
|
1407
1402
|
},
|
|
1408
|
-
"
|
|
1409
|
-
"description": "
|
|
1410
|
-
"name": "
|
|
1403
|
+
"color": {
|
|
1404
|
+
"description": "Bot color as HEX",
|
|
1405
|
+
"name": "color",
|
|
1411
1406
|
"hasDynamicHelp": false,
|
|
1412
|
-
"multiple":
|
|
1407
|
+
"multiple": false,
|
|
1413
1408
|
"type": "option"
|
|
1414
1409
|
},
|
|
1415
|
-
"
|
|
1416
|
-
"description": "
|
|
1417
|
-
"name": "
|
|
1410
|
+
"tags": {
|
|
1411
|
+
"description": "Comma-separated tags",
|
|
1412
|
+
"name": "tags",
|
|
1418
1413
|
"hasDynamicHelp": false,
|
|
1419
1414
|
"multiple": false,
|
|
1420
1415
|
"type": "option"
|
|
1421
1416
|
},
|
|
1422
|
-
"
|
|
1423
|
-
"description": "
|
|
1424
|
-
"name": "
|
|
1425
|
-
"default": "draft",
|
|
1417
|
+
"data": {
|
|
1418
|
+
"description": "Additional JSON object payload",
|
|
1419
|
+
"name": "data",
|
|
1426
1420
|
"hasDynamicHelp": false,
|
|
1427
1421
|
"multiple": false,
|
|
1428
|
-
"options": [
|
|
1429
|
-
"draft",
|
|
1430
|
-
"scheduled",
|
|
1431
|
-
"sending"
|
|
1432
|
-
],
|
|
1433
1422
|
"type": "option"
|
|
1434
|
-
},
|
|
1435
|
-
"auto-approve": {
|
|
1436
|
-
"description": "Auto-approve broadcast when allowed by API permissions",
|
|
1437
|
-
"name": "auto-approve",
|
|
1438
|
-
"allowNo": false,
|
|
1439
|
-
"type": "boolean"
|
|
1440
1423
|
}
|
|
1441
1424
|
},
|
|
1442
1425
|
"hasDynamicHelp": false,
|
|
1443
1426
|
"hiddenAliases": [],
|
|
1444
|
-
"id": "
|
|
1427
|
+
"id": "bots:create",
|
|
1445
1428
|
"pluginAlias": "@instantkom/cli",
|
|
1446
1429
|
"pluginName": "@instantkom/cli",
|
|
1447
1430
|
"pluginType": "core",
|
|
@@ -1451,20 +1434,20 @@
|
|
|
1451
1434
|
"relativePath": [
|
|
1452
1435
|
"dist",
|
|
1453
1436
|
"commands",
|
|
1454
|
-
"
|
|
1437
|
+
"bots",
|
|
1455
1438
|
"create.js"
|
|
1456
1439
|
]
|
|
1457
1440
|
},
|
|
1458
|
-
"
|
|
1441
|
+
"bots:delete": {
|
|
1459
1442
|
"aliases": [],
|
|
1460
1443
|
"args": {
|
|
1461
1444
|
"id": {
|
|
1462
|
-
"description": "
|
|
1445
|
+
"description": "Bot ID",
|
|
1463
1446
|
"name": "id",
|
|
1464
1447
|
"required": true
|
|
1465
1448
|
}
|
|
1466
1449
|
},
|
|
1467
|
-
"description": "Delete
|
|
1450
|
+
"description": "Delete a bot",
|
|
1468
1451
|
"flags": {
|
|
1469
1452
|
"api-key": {
|
|
1470
1453
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1531,7 +1514,7 @@
|
|
|
1531
1514
|
},
|
|
1532
1515
|
"hasDynamicHelp": false,
|
|
1533
1516
|
"hiddenAliases": [],
|
|
1534
|
-
"id": "
|
|
1517
|
+
"id": "bots:delete",
|
|
1535
1518
|
"pluginAlias": "@instantkom/cli",
|
|
1536
1519
|
"pluginName": "@instantkom/cli",
|
|
1537
1520
|
"pluginType": "core",
|
|
@@ -1541,20 +1524,20 @@
|
|
|
1541
1524
|
"relativePath": [
|
|
1542
1525
|
"dist",
|
|
1543
1526
|
"commands",
|
|
1544
|
-
"
|
|
1527
|
+
"bots",
|
|
1545
1528
|
"delete.js"
|
|
1546
1529
|
]
|
|
1547
1530
|
},
|
|
1548
|
-
"
|
|
1531
|
+
"bots:get": {
|
|
1549
1532
|
"aliases": [],
|
|
1550
1533
|
"args": {
|
|
1551
1534
|
"id": {
|
|
1552
|
-
"description": "
|
|
1535
|
+
"description": "Bot ID",
|
|
1553
1536
|
"name": "id",
|
|
1554
1537
|
"required": true
|
|
1555
1538
|
}
|
|
1556
1539
|
},
|
|
1557
|
-
"description": "Get
|
|
1540
|
+
"description": "Get a bot by ID",
|
|
1558
1541
|
"flags": {
|
|
1559
1542
|
"api-key": {
|
|
1560
1543
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1621,7 +1604,7 @@
|
|
|
1621
1604
|
},
|
|
1622
1605
|
"hasDynamicHelp": false,
|
|
1623
1606
|
"hiddenAliases": [],
|
|
1624
|
-
"id": "
|
|
1607
|
+
"id": "bots:get",
|
|
1625
1608
|
"pluginAlias": "@instantkom/cli",
|
|
1626
1609
|
"pluginName": "@instantkom/cli",
|
|
1627
1610
|
"pluginType": "core",
|
|
@@ -1631,14 +1614,14 @@
|
|
|
1631
1614
|
"relativePath": [
|
|
1632
1615
|
"dist",
|
|
1633
1616
|
"commands",
|
|
1634
|
-
"
|
|
1617
|
+
"bots",
|
|
1635
1618
|
"get.js"
|
|
1636
1619
|
]
|
|
1637
1620
|
},
|
|
1638
|
-
"
|
|
1621
|
+
"bots:list": {
|
|
1639
1622
|
"aliases": [],
|
|
1640
1623
|
"args": {},
|
|
1641
|
-
"description": "List
|
|
1624
|
+
"description": "List bots",
|
|
1642
1625
|
"flags": {
|
|
1643
1626
|
"api-key": {
|
|
1644
1627
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1725,49 +1708,42 @@
|
|
|
1725
1708
|
"multiple": false,
|
|
1726
1709
|
"type": "option"
|
|
1727
1710
|
},
|
|
1728
|
-
"send-status": {
|
|
1729
|
-
"description": "Filter by send status",
|
|
1730
|
-
"name": "send-status",
|
|
1731
|
-
"hasDynamicHelp": false,
|
|
1732
|
-
"multiple": false,
|
|
1733
|
-
"type": "option"
|
|
1734
|
-
},
|
|
1735
1711
|
"type": {
|
|
1736
|
-
"description": "
|
|
1712
|
+
"description": "Filter by bot type",
|
|
1737
1713
|
"name": "type",
|
|
1738
1714
|
"hasDynamicHelp": false,
|
|
1739
1715
|
"multiple": false,
|
|
1740
|
-
"options": [
|
|
1741
|
-
"text",
|
|
1742
|
-
"image",
|
|
1743
|
-
"video",
|
|
1744
|
-
"audio",
|
|
1745
|
-
"document"
|
|
1746
|
-
],
|
|
1747
1716
|
"type": "option"
|
|
1748
1717
|
},
|
|
1749
1718
|
"search": {
|
|
1750
|
-
"description": "Search
|
|
1719
|
+
"description": "Search in bot name or message",
|
|
1751
1720
|
"name": "search",
|
|
1752
1721
|
"hasDynamicHelp": false,
|
|
1753
1722
|
"multiple": false,
|
|
1754
1723
|
"type": "option"
|
|
1755
1724
|
},
|
|
1756
|
-
"
|
|
1757
|
-
"description": "
|
|
1758
|
-
"name": "
|
|
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",
|
|
1759
1735
|
"hasDynamicHelp": false,
|
|
1760
1736
|
"multiple": false,
|
|
1761
1737
|
"options": [
|
|
1762
|
-
"
|
|
1763
|
-
"
|
|
1738
|
+
"any",
|
|
1739
|
+
"all"
|
|
1764
1740
|
],
|
|
1765
1741
|
"type": "option"
|
|
1766
1742
|
}
|
|
1767
1743
|
},
|
|
1768
1744
|
"hasDynamicHelp": false,
|
|
1769
1745
|
"hiddenAliases": [],
|
|
1770
|
-
"id": "
|
|
1746
|
+
"id": "bots:list",
|
|
1771
1747
|
"pluginAlias": "@instantkom/cli",
|
|
1772
1748
|
"pluginName": "@instantkom/cli",
|
|
1773
1749
|
"pluginType": "core",
|
|
@@ -1777,20 +1753,20 @@
|
|
|
1777
1753
|
"relativePath": [
|
|
1778
1754
|
"dist",
|
|
1779
1755
|
"commands",
|
|
1780
|
-
"
|
|
1756
|
+
"bots",
|
|
1781
1757
|
"list.js"
|
|
1782
1758
|
]
|
|
1783
1759
|
},
|
|
1784
|
-
"
|
|
1760
|
+
"bots:matches": {
|
|
1785
1761
|
"aliases": [],
|
|
1786
1762
|
"args": {
|
|
1787
1763
|
"id": {
|
|
1788
|
-
"description": "
|
|
1764
|
+
"description": "Bot ID",
|
|
1789
1765
|
"name": "id",
|
|
1790
1766
|
"required": true
|
|
1791
1767
|
}
|
|
1792
1768
|
},
|
|
1793
|
-
"description": "
|
|
1769
|
+
"description": "List bot match history",
|
|
1794
1770
|
"flags": {
|
|
1795
1771
|
"api-key": {
|
|
1796
1772
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1853,11 +1829,34 @@
|
|
|
1853
1829
|
"hasDynamicHelp": false,
|
|
1854
1830
|
"multiple": false,
|
|
1855
1831
|
"type": "option"
|
|
1832
|
+
},
|
|
1833
|
+
"page": {
|
|
1834
|
+
"description": "Page number",
|
|
1835
|
+
"name": "page",
|
|
1836
|
+
"default": 1,
|
|
1837
|
+
"hasDynamicHelp": false,
|
|
1838
|
+
"multiple": false,
|
|
1839
|
+
"type": "option"
|
|
1840
|
+
},
|
|
1841
|
+
"limit": {
|
|
1842
|
+
"description": "Items per page",
|
|
1843
|
+
"name": "limit",
|
|
1844
|
+
"default": 50,
|
|
1845
|
+
"hasDynamicHelp": false,
|
|
1846
|
+
"multiple": false,
|
|
1847
|
+
"type": "option"
|
|
1848
|
+
},
|
|
1849
|
+
"search": {
|
|
1850
|
+
"description": "Search in matches",
|
|
1851
|
+
"name": "search",
|
|
1852
|
+
"hasDynamicHelp": false,
|
|
1853
|
+
"multiple": false,
|
|
1854
|
+
"type": "option"
|
|
1856
1855
|
}
|
|
1857
1856
|
},
|
|
1858
1857
|
"hasDynamicHelp": false,
|
|
1859
1858
|
"hiddenAliases": [],
|
|
1860
|
-
"id": "
|
|
1859
|
+
"id": "bots:matches",
|
|
1861
1860
|
"pluginAlias": "@instantkom/cli",
|
|
1862
1861
|
"pluginName": "@instantkom/cli",
|
|
1863
1862
|
"pluginType": "core",
|
|
@@ -1867,20 +1866,20 @@
|
|
|
1867
1866
|
"relativePath": [
|
|
1868
1867
|
"dist",
|
|
1869
1868
|
"commands",
|
|
1870
|
-
"
|
|
1871
|
-
"
|
|
1869
|
+
"bots",
|
|
1870
|
+
"matches.js"
|
|
1872
1871
|
]
|
|
1873
1872
|
},
|
|
1874
|
-
"
|
|
1873
|
+
"bots:update": {
|
|
1875
1874
|
"aliases": [],
|
|
1876
1875
|
"args": {
|
|
1877
1876
|
"id": {
|
|
1878
|
-
"description": "
|
|
1877
|
+
"description": "Bot ID",
|
|
1879
1878
|
"name": "id",
|
|
1880
1879
|
"required": true
|
|
1881
1880
|
}
|
|
1882
1881
|
},
|
|
1883
|
-
"description": "
|
|
1882
|
+
"description": "Update a bot",
|
|
1884
1883
|
"flags": {
|
|
1885
1884
|
"api-key": {
|
|
1886
1885
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1943,11 +1942,66 @@
|
|
|
1943
1942
|
"hasDynamicHelp": false,
|
|
1944
1943
|
"multiple": false,
|
|
1945
1944
|
"type": "option"
|
|
1945
|
+
},
|
|
1946
|
+
"name": {
|
|
1947
|
+
"description": "Bot name",
|
|
1948
|
+
"name": "name",
|
|
1949
|
+
"hasDynamicHelp": false,
|
|
1950
|
+
"multiple": false,
|
|
1951
|
+
"type": "option"
|
|
1952
|
+
},
|
|
1953
|
+
"type": {
|
|
1954
|
+
"description": "Bot type",
|
|
1955
|
+
"name": "type",
|
|
1956
|
+
"hasDynamicHelp": false,
|
|
1957
|
+
"multiple": false,
|
|
1958
|
+
"options": [
|
|
1959
|
+
"keyword",
|
|
1960
|
+
"schedule",
|
|
1961
|
+
"event",
|
|
1962
|
+
"ai"
|
|
1963
|
+
],
|
|
1964
|
+
"type": "option"
|
|
1965
|
+
},
|
|
1966
|
+
"message": {
|
|
1967
|
+
"description": "Bot message content",
|
|
1968
|
+
"name": "message",
|
|
1969
|
+
"hasDynamicHelp": false,
|
|
1970
|
+
"multiple": false,
|
|
1971
|
+
"type": "option"
|
|
1972
|
+
},
|
|
1973
|
+
"response": {
|
|
1974
|
+
"description": "Alias for --message",
|
|
1975
|
+
"name": "response",
|
|
1976
|
+
"hasDynamicHelp": false,
|
|
1977
|
+
"multiple": false,
|
|
1978
|
+
"type": "option"
|
|
1979
|
+
},
|
|
1980
|
+
"color": {
|
|
1981
|
+
"description": "Bot color as HEX",
|
|
1982
|
+
"name": "color",
|
|
1983
|
+
"hasDynamicHelp": false,
|
|
1984
|
+
"multiple": false,
|
|
1985
|
+
"type": "option"
|
|
1986
|
+
},
|
|
1987
|
+
"tags": {
|
|
1988
|
+
"description": "Comma-separated tags",
|
|
1989
|
+
"name": "tags",
|
|
1990
|
+
"hasDynamicHelp": false,
|
|
1991
|
+
"multiple": false,
|
|
1992
|
+
"type": "option"
|
|
1993
|
+
},
|
|
1994
|
+
"data": {
|
|
1995
|
+
"description": "Additional JSON object payload",
|
|
1996
|
+
"name": "data",
|
|
1997
|
+
"hasDynamicHelp": false,
|
|
1998
|
+
"multiple": false,
|
|
1999
|
+
"type": "option"
|
|
1946
2000
|
}
|
|
1947
2001
|
},
|
|
1948
2002
|
"hasDynamicHelp": false,
|
|
1949
2003
|
"hiddenAliases": [],
|
|
1950
|
-
"id": "
|
|
2004
|
+
"id": "bots:update",
|
|
1951
2005
|
"pluginAlias": "@instantkom/cli",
|
|
1952
2006
|
"pluginName": "@instantkom/cli",
|
|
1953
2007
|
"pluginType": "core",
|
|
@@ -1957,20 +2011,14 @@
|
|
|
1957
2011
|
"relativePath": [
|
|
1958
2012
|
"dist",
|
|
1959
2013
|
"commands",
|
|
1960
|
-
"
|
|
1961
|
-
"
|
|
2014
|
+
"bots",
|
|
2015
|
+
"update.js"
|
|
1962
2016
|
]
|
|
1963
2017
|
},
|
|
1964
|
-
"broadcast:
|
|
2018
|
+
"broadcast:create": {
|
|
1965
2019
|
"aliases": [],
|
|
1966
|
-
"args": {
|
|
1967
|
-
|
|
1968
|
-
"description": "Broadcast ID",
|
|
1969
|
-
"name": "id",
|
|
1970
|
-
"required": true
|
|
1971
|
-
}
|
|
1972
|
-
},
|
|
1973
|
-
"description": "Update a broadcast",
|
|
2020
|
+
"args": {},
|
|
2021
|
+
"description": "Create a broadcast for channels or segments",
|
|
1974
2022
|
"flags": {
|
|
1975
2023
|
"api-key": {
|
|
1976
2024
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2034,76 +2082,92 @@
|
|
|
2034
2082
|
"multiple": false,
|
|
2035
2083
|
"type": "option"
|
|
2036
2084
|
},
|
|
2037
|
-
"
|
|
2038
|
-
"description": "
|
|
2039
|
-
"name": "
|
|
2085
|
+
"channel": {
|
|
2086
|
+
"description": "Channel ID target",
|
|
2087
|
+
"name": "channel",
|
|
2040
2088
|
"hasDynamicHelp": false,
|
|
2041
2089
|
"multiple": false,
|
|
2042
2090
|
"type": "option"
|
|
2043
2091
|
},
|
|
2044
|
-
"
|
|
2045
|
-
"description": "
|
|
2046
|
-
"name": "
|
|
2092
|
+
"segment": {
|
|
2093
|
+
"description": "Segment ID within --channel",
|
|
2094
|
+
"name": "segment",
|
|
2047
2095
|
"hasDynamicHelp": false,
|
|
2048
2096
|
"multiple": false,
|
|
2049
2097
|
"type": "option"
|
|
2050
2098
|
},
|
|
2051
|
-
"
|
|
2052
|
-
"description": "
|
|
2053
|
-
"name": "
|
|
2099
|
+
"target": {
|
|
2100
|
+
"description": "Target as channelId or channelId:segmentId; may be repeated",
|
|
2101
|
+
"name": "target",
|
|
2054
2102
|
"hasDynamicHelp": false,
|
|
2055
|
-
"multiple":
|
|
2103
|
+
"multiple": true,
|
|
2056
2104
|
"type": "option"
|
|
2057
2105
|
},
|
|
2058
|
-
"
|
|
2059
|
-
"description": "
|
|
2060
|
-
"name": "
|
|
2061
|
-
"
|
|
2062
|
-
"
|
|
2106
|
+
"text": {
|
|
2107
|
+
"description": "Broadcast message text",
|
|
2108
|
+
"name": "text",
|
|
2109
|
+
"required": true,
|
|
2110
|
+
"hasDynamicHelp": false,
|
|
2111
|
+
"multiple": false,
|
|
2112
|
+
"type": "option"
|
|
2063
2113
|
},
|
|
2064
|
-
"
|
|
2065
|
-
"description": "
|
|
2066
|
-
"name": "
|
|
2067
|
-
"
|
|
2068
|
-
"
|
|
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"
|
|
2069
2120
|
},
|
|
2070
|
-
"
|
|
2071
|
-
"description": "
|
|
2072
|
-
"name": "
|
|
2121
|
+
"dry-run": {
|
|
2122
|
+
"description": "Validate and print the broadcast payload without mutating API calls",
|
|
2123
|
+
"name": "dry-run",
|
|
2073
2124
|
"allowNo": false,
|
|
2074
2125
|
"type": "boolean"
|
|
2075
2126
|
},
|
|
2076
|
-
"
|
|
2077
|
-
"description": "
|
|
2078
|
-
"name": "
|
|
2127
|
+
"idempotency-key": {
|
|
2128
|
+
"description": "Idempotency key forwarded as Idempotency-Key",
|
|
2129
|
+
"name": "idempotency-key",
|
|
2079
2130
|
"hasDynamicHelp": false,
|
|
2080
2131
|
"multiple": false,
|
|
2081
2132
|
"type": "option"
|
|
2082
2133
|
},
|
|
2083
|
-
"
|
|
2084
|
-
"description": "
|
|
2085
|
-
"name": "
|
|
2086
|
-
"
|
|
2087
|
-
"
|
|
2134
|
+
"media": {
|
|
2135
|
+
"description": "Media file path to upload",
|
|
2136
|
+
"name": "media",
|
|
2137
|
+
"hasDynamicHelp": false,
|
|
2138
|
+
"multiple": true,
|
|
2139
|
+
"type": "option"
|
|
2088
2140
|
},
|
|
2089
|
-
"
|
|
2090
|
-
"description": "
|
|
2091
|
-
"name": "
|
|
2141
|
+
"template-id": {
|
|
2142
|
+
"description": "WhatsApp template ID",
|
|
2143
|
+
"name": "template-id",
|
|
2092
2144
|
"hasDynamicHelp": false,
|
|
2093
2145
|
"multiple": false,
|
|
2094
2146
|
"type": "option"
|
|
2095
2147
|
},
|
|
2096
|
-
"
|
|
2097
|
-
"description": "
|
|
2098
|
-
"name": "
|
|
2148
|
+
"send-status": {
|
|
2149
|
+
"description": "Initial broadcast send status",
|
|
2150
|
+
"name": "send-status",
|
|
2151
|
+
"default": "draft",
|
|
2099
2152
|
"hasDynamicHelp": false,
|
|
2100
2153
|
"multiple": false,
|
|
2154
|
+
"options": [
|
|
2155
|
+
"draft",
|
|
2156
|
+
"scheduled",
|
|
2157
|
+
"sending"
|
|
2158
|
+
],
|
|
2101
2159
|
"type": "option"
|
|
2160
|
+
},
|
|
2161
|
+
"auto-approve": {
|
|
2162
|
+
"description": "Auto-approve broadcast when allowed by API permissions",
|
|
2163
|
+
"name": "auto-approve",
|
|
2164
|
+
"allowNo": false,
|
|
2165
|
+
"type": "boolean"
|
|
2102
2166
|
}
|
|
2103
2167
|
},
|
|
2104
2168
|
"hasDynamicHelp": false,
|
|
2105
2169
|
"hiddenAliases": [],
|
|
2106
|
-
"id": "broadcast:
|
|
2170
|
+
"id": "broadcast:create",
|
|
2107
2171
|
"pluginAlias": "@instantkom/cli",
|
|
2108
2172
|
"pluginName": "@instantkom/cli",
|
|
2109
2173
|
"pluginType": "core",
|
|
@@ -2114,13 +2178,19 @@
|
|
|
2114
2178
|
"dist",
|
|
2115
2179
|
"commands",
|
|
2116
2180
|
"broadcast",
|
|
2117
|
-
"
|
|
2181
|
+
"create.js"
|
|
2118
2182
|
]
|
|
2119
2183
|
},
|
|
2120
|
-
"
|
|
2184
|
+
"broadcast:delete": {
|
|
2121
2185
|
"aliases": [],
|
|
2122
|
-
"args": {
|
|
2123
|
-
|
|
2186
|
+
"args": {
|
|
2187
|
+
"id": {
|
|
2188
|
+
"description": "broadcast ID",
|
|
2189
|
+
"name": "id",
|
|
2190
|
+
"required": true
|
|
2191
|
+
}
|
|
2192
|
+
},
|
|
2193
|
+
"description": "Delete broadcast",
|
|
2124
2194
|
"flags": {
|
|
2125
2195
|
"api-key": {
|
|
2126
2196
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2183,76 +2253,11 @@
|
|
|
2183
2253
|
"hasDynamicHelp": false,
|
|
2184
2254
|
"multiple": false,
|
|
2185
2255
|
"type": "option"
|
|
2186
|
-
},
|
|
2187
|
-
"channel": {
|
|
2188
|
-
"description": "Channel ID",
|
|
2189
|
-
"name": "channel",
|
|
2190
|
-
"required": true,
|
|
2191
|
-
"hasDynamicHelp": false,
|
|
2192
|
-
"multiple": false,
|
|
2193
|
-
"type": "option"
|
|
2194
|
-
},
|
|
2195
|
-
"name": {
|
|
2196
|
-
"description": "Bot name",
|
|
2197
|
-
"name": "name",
|
|
2198
|
-
"required": true,
|
|
2199
|
-
"hasDynamicHelp": false,
|
|
2200
|
-
"multiple": false,
|
|
2201
|
-
"type": "option"
|
|
2202
|
-
},
|
|
2203
|
-
"type": {
|
|
2204
|
-
"description": "Bot type",
|
|
2205
|
-
"name": "type",
|
|
2206
|
-
"required": true,
|
|
2207
|
-
"hasDynamicHelp": false,
|
|
2208
|
-
"multiple": false,
|
|
2209
|
-
"options": [
|
|
2210
|
-
"keyword",
|
|
2211
|
-
"schedule",
|
|
2212
|
-
"event",
|
|
2213
|
-
"ai"
|
|
2214
|
-
],
|
|
2215
|
-
"type": "option"
|
|
2216
|
-
},
|
|
2217
|
-
"message": {
|
|
2218
|
-
"description": "Bot message content",
|
|
2219
|
-
"name": "message",
|
|
2220
|
-
"hasDynamicHelp": false,
|
|
2221
|
-
"multiple": false,
|
|
2222
|
-
"type": "option"
|
|
2223
|
-
},
|
|
2224
|
-
"response": {
|
|
2225
|
-
"description": "Alias for --message",
|
|
2226
|
-
"name": "response",
|
|
2227
|
-
"hasDynamicHelp": false,
|
|
2228
|
-
"multiple": false,
|
|
2229
|
-
"type": "option"
|
|
2230
|
-
},
|
|
2231
|
-
"color": {
|
|
2232
|
-
"description": "Bot color as HEX",
|
|
2233
|
-
"name": "color",
|
|
2234
|
-
"hasDynamicHelp": false,
|
|
2235
|
-
"multiple": false,
|
|
2236
|
-
"type": "option"
|
|
2237
|
-
},
|
|
2238
|
-
"tags": {
|
|
2239
|
-
"description": "Comma-separated tags",
|
|
2240
|
-
"name": "tags",
|
|
2241
|
-
"hasDynamicHelp": false,
|
|
2242
|
-
"multiple": false,
|
|
2243
|
-
"type": "option"
|
|
2244
|
-
},
|
|
2245
|
-
"data": {
|
|
2246
|
-
"description": "Additional JSON object payload",
|
|
2247
|
-
"name": "data",
|
|
2248
|
-
"hasDynamicHelp": false,
|
|
2249
|
-
"multiple": false,
|
|
2250
|
-
"type": "option"
|
|
2251
2256
|
}
|
|
2252
2257
|
},
|
|
2253
2258
|
"hasDynamicHelp": false,
|
|
2254
2259
|
"hiddenAliases": [],
|
|
2255
|
-
"id": "
|
|
2260
|
+
"id": "broadcast:delete",
|
|
2256
2261
|
"pluginAlias": "@instantkom/cli",
|
|
2257
2262
|
"pluginName": "@instantkom/cli",
|
|
2258
2263
|
"pluginType": "core",
|
|
@@ -2262,20 +2267,20 @@
|
|
|
2262
2267
|
"relativePath": [
|
|
2263
2268
|
"dist",
|
|
2264
2269
|
"commands",
|
|
2265
|
-
"
|
|
2266
|
-
"
|
|
2270
|
+
"broadcast",
|
|
2271
|
+
"delete.js"
|
|
2267
2272
|
]
|
|
2268
2273
|
},
|
|
2269
|
-
"
|
|
2274
|
+
"broadcast:get": {
|
|
2270
2275
|
"aliases": [],
|
|
2271
2276
|
"args": {
|
|
2272
2277
|
"id": {
|
|
2273
|
-
"description": "
|
|
2278
|
+
"description": "broadcast ID",
|
|
2274
2279
|
"name": "id",
|
|
2275
2280
|
"required": true
|
|
2276
2281
|
}
|
|
2277
2282
|
},
|
|
2278
|
-
"description": "
|
|
2283
|
+
"description": "Get broadcast by ID",
|
|
2279
2284
|
"flags": {
|
|
2280
2285
|
"api-key": {
|
|
2281
2286
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2342,7 +2347,7 @@
|
|
|
2342
2347
|
},
|
|
2343
2348
|
"hasDynamicHelp": false,
|
|
2344
2349
|
"hiddenAliases": [],
|
|
2345
|
-
"id": "
|
|
2350
|
+
"id": "broadcast:get",
|
|
2346
2351
|
"pluginAlias": "@instantkom/cli",
|
|
2347
2352
|
"pluginName": "@instantkom/cli",
|
|
2348
2353
|
"pluginType": "core",
|
|
@@ -2352,20 +2357,14 @@
|
|
|
2352
2357
|
"relativePath": [
|
|
2353
2358
|
"dist",
|
|
2354
2359
|
"commands",
|
|
2355
|
-
"
|
|
2356
|
-
"
|
|
2360
|
+
"broadcast",
|
|
2361
|
+
"get.js"
|
|
2357
2362
|
]
|
|
2358
2363
|
},
|
|
2359
|
-
"
|
|
2364
|
+
"broadcast:list": {
|
|
2360
2365
|
"aliases": [],
|
|
2361
|
-
"args": {
|
|
2362
|
-
|
|
2363
|
-
"description": "Bot ID",
|
|
2364
|
-
"name": "id",
|
|
2365
|
-
"required": true
|
|
2366
|
-
}
|
|
2367
|
-
},
|
|
2368
|
-
"description": "Get a bot by ID",
|
|
2366
|
+
"args": {},
|
|
2367
|
+
"description": "List broadcasts",
|
|
2369
2368
|
"flags": {
|
|
2370
2369
|
"api-key": {
|
|
2371
2370
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2428,11 +2427,73 @@
|
|
|
2428
2427
|
"hasDynamicHelp": false,
|
|
2429
2428
|
"multiple": false,
|
|
2430
2429
|
"type": "option"
|
|
2430
|
+
},
|
|
2431
|
+
"page": {
|
|
2432
|
+
"description": "Page number",
|
|
2433
|
+
"name": "page",
|
|
2434
|
+
"default": 1,
|
|
2435
|
+
"hasDynamicHelp": false,
|
|
2436
|
+
"multiple": false,
|
|
2437
|
+
"type": "option"
|
|
2438
|
+
},
|
|
2439
|
+
"limit": {
|
|
2440
|
+
"description": "Items per page",
|
|
2441
|
+
"name": "limit",
|
|
2442
|
+
"default": 20,
|
|
2443
|
+
"hasDynamicHelp": false,
|
|
2444
|
+
"multiple": false,
|
|
2445
|
+
"type": "option"
|
|
2446
|
+
},
|
|
2447
|
+
"channel": {
|
|
2448
|
+
"description": "Filter by channel ID",
|
|
2449
|
+
"name": "channel",
|
|
2450
|
+
"hasDynamicHelp": false,
|
|
2451
|
+
"multiple": false,
|
|
2452
|
+
"type": "option"
|
|
2453
|
+
},
|
|
2454
|
+
"send-status": {
|
|
2455
|
+
"description": "Filter by send status",
|
|
2456
|
+
"name": "send-status",
|
|
2457
|
+
"hasDynamicHelp": false,
|
|
2458
|
+
"multiple": false,
|
|
2459
|
+
"type": "option"
|
|
2460
|
+
},
|
|
2461
|
+
"type": {
|
|
2462
|
+
"description": "Broadcast type",
|
|
2463
|
+
"name": "type",
|
|
2464
|
+
"hasDynamicHelp": false,
|
|
2465
|
+
"multiple": false,
|
|
2466
|
+
"options": [
|
|
2467
|
+
"text",
|
|
2468
|
+
"image",
|
|
2469
|
+
"video",
|
|
2470
|
+
"audio",
|
|
2471
|
+
"document"
|
|
2472
|
+
],
|
|
2473
|
+
"type": "option"
|
|
2474
|
+
},
|
|
2475
|
+
"search": {
|
|
2476
|
+
"description": "Search broadcasts",
|
|
2477
|
+
"name": "search",
|
|
2478
|
+
"hasDynamicHelp": false,
|
|
2479
|
+
"multiple": false,
|
|
2480
|
+
"type": "option"
|
|
2481
|
+
},
|
|
2482
|
+
"test": {
|
|
2483
|
+
"description": "Filter test flag: 0 or 1",
|
|
2484
|
+
"name": "test",
|
|
2485
|
+
"hasDynamicHelp": false,
|
|
2486
|
+
"multiple": false,
|
|
2487
|
+
"options": [
|
|
2488
|
+
"0",
|
|
2489
|
+
"1"
|
|
2490
|
+
],
|
|
2491
|
+
"type": "option"
|
|
2431
2492
|
}
|
|
2432
2493
|
},
|
|
2433
2494
|
"hasDynamicHelp": false,
|
|
2434
2495
|
"hiddenAliases": [],
|
|
2435
|
-
"id": "
|
|
2496
|
+
"id": "broadcast:list",
|
|
2436
2497
|
"pluginAlias": "@instantkom/cli",
|
|
2437
2498
|
"pluginName": "@instantkom/cli",
|
|
2438
2499
|
"pluginType": "core",
|
|
@@ -2442,14 +2503,20 @@
|
|
|
2442
2503
|
"relativePath": [
|
|
2443
2504
|
"dist",
|
|
2444
2505
|
"commands",
|
|
2445
|
-
"
|
|
2446
|
-
"
|
|
2506
|
+
"broadcast",
|
|
2507
|
+
"list.js"
|
|
2447
2508
|
]
|
|
2448
2509
|
},
|
|
2449
|
-
"
|
|
2510
|
+
"broadcast:send": {
|
|
2450
2511
|
"aliases": [],
|
|
2451
|
-
"args": {
|
|
2452
|
-
|
|
2512
|
+
"args": {
|
|
2513
|
+
"id": {
|
|
2514
|
+
"description": "Broadcast ID",
|
|
2515
|
+
"name": "id",
|
|
2516
|
+
"required": true
|
|
2517
|
+
}
|
|
2518
|
+
},
|
|
2519
|
+
"description": "Send a broadcast immediately",
|
|
2453
2520
|
"flags": {
|
|
2454
2521
|
"api-key": {
|
|
2455
2522
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2512,66 +2579,11 @@
|
|
|
2512
2579
|
"hasDynamicHelp": false,
|
|
2513
2580
|
"multiple": false,
|
|
2514
2581
|
"type": "option"
|
|
2515
|
-
},
|
|
2516
|
-
"page": {
|
|
2517
|
-
"description": "Page number",
|
|
2518
|
-
"name": "page",
|
|
2519
|
-
"default": 1,
|
|
2520
|
-
"hasDynamicHelp": false,
|
|
2521
|
-
"multiple": false,
|
|
2522
|
-
"type": "option"
|
|
2523
|
-
},
|
|
2524
|
-
"limit": {
|
|
2525
|
-
"description": "Items per page",
|
|
2526
|
-
"name": "limit",
|
|
2527
|
-
"default": 20,
|
|
2528
|
-
"hasDynamicHelp": false,
|
|
2529
|
-
"multiple": false,
|
|
2530
|
-
"type": "option"
|
|
2531
|
-
},
|
|
2532
|
-
"channel": {
|
|
2533
|
-
"description": "Filter by channel ID",
|
|
2534
|
-
"name": "channel",
|
|
2535
|
-
"hasDynamicHelp": false,
|
|
2536
|
-
"multiple": false,
|
|
2537
|
-
"type": "option"
|
|
2538
|
-
},
|
|
2539
|
-
"type": {
|
|
2540
|
-
"description": "Filter by bot type",
|
|
2541
|
-
"name": "type",
|
|
2542
|
-
"hasDynamicHelp": false,
|
|
2543
|
-
"multiple": false,
|
|
2544
|
-
"type": "option"
|
|
2545
|
-
},
|
|
2546
|
-
"search": {
|
|
2547
|
-
"description": "Search in bot name or message",
|
|
2548
|
-
"name": "search",
|
|
2549
|
-
"hasDynamicHelp": false,
|
|
2550
|
-
"multiple": false,
|
|
2551
|
-
"type": "option"
|
|
2552
|
-
},
|
|
2553
|
-
"tags": {
|
|
2554
|
-
"description": "Comma-separated tag IDs",
|
|
2555
|
-
"name": "tags",
|
|
2556
|
-
"hasDynamicHelp": false,
|
|
2557
|
-
"multiple": false,
|
|
2558
|
-
"type": "option"
|
|
2559
|
-
},
|
|
2560
|
-
"tag-match": {
|
|
2561
|
-
"description": "Tag match mode",
|
|
2562
|
-
"name": "tag-match",
|
|
2563
|
-
"hasDynamicHelp": false,
|
|
2564
|
-
"multiple": false,
|
|
2565
|
-
"options": [
|
|
2566
|
-
"any",
|
|
2567
|
-
"all"
|
|
2568
|
-
],
|
|
2569
|
-
"type": "option"
|
|
2570
2582
|
}
|
|
2571
2583
|
},
|
|
2572
2584
|
"hasDynamicHelp": false,
|
|
2573
2585
|
"hiddenAliases": [],
|
|
2574
|
-
"id": "
|
|
2586
|
+
"id": "broadcast:send",
|
|
2575
2587
|
"pluginAlias": "@instantkom/cli",
|
|
2576
2588
|
"pluginName": "@instantkom/cli",
|
|
2577
2589
|
"pluginType": "core",
|
|
@@ -2581,20 +2593,20 @@
|
|
|
2581
2593
|
"relativePath": [
|
|
2582
2594
|
"dist",
|
|
2583
2595
|
"commands",
|
|
2584
|
-
"
|
|
2585
|
-
"
|
|
2596
|
+
"broadcast",
|
|
2597
|
+
"send.js"
|
|
2586
2598
|
]
|
|
2587
2599
|
},
|
|
2588
|
-
"
|
|
2600
|
+
"broadcast:status": {
|
|
2589
2601
|
"aliases": [],
|
|
2590
2602
|
"args": {
|
|
2591
2603
|
"id": {
|
|
2592
|
-
"description": "
|
|
2604
|
+
"description": "Broadcast ID",
|
|
2593
2605
|
"name": "id",
|
|
2594
2606
|
"required": true
|
|
2595
2607
|
}
|
|
2596
2608
|
},
|
|
2597
|
-
"description": "
|
|
2609
|
+
"description": "Show broadcast send status",
|
|
2598
2610
|
"flags": {
|
|
2599
2611
|
"api-key": {
|
|
2600
2612
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2657,34 +2669,11 @@
|
|
|
2657
2669
|
"hasDynamicHelp": false,
|
|
2658
2670
|
"multiple": false,
|
|
2659
2671
|
"type": "option"
|
|
2660
|
-
},
|
|
2661
|
-
"page": {
|
|
2662
|
-
"description": "Page number",
|
|
2663
|
-
"name": "page",
|
|
2664
|
-
"default": 1,
|
|
2665
|
-
"hasDynamicHelp": false,
|
|
2666
|
-
"multiple": false,
|
|
2667
|
-
"type": "option"
|
|
2668
|
-
},
|
|
2669
|
-
"limit": {
|
|
2670
|
-
"description": "Items per page",
|
|
2671
|
-
"name": "limit",
|
|
2672
|
-
"default": 50,
|
|
2673
|
-
"hasDynamicHelp": false,
|
|
2674
|
-
"multiple": false,
|
|
2675
|
-
"type": "option"
|
|
2676
|
-
},
|
|
2677
|
-
"search": {
|
|
2678
|
-
"description": "Search in matches",
|
|
2679
|
-
"name": "search",
|
|
2680
|
-
"hasDynamicHelp": false,
|
|
2681
|
-
"multiple": false,
|
|
2682
|
-
"type": "option"
|
|
2683
2672
|
}
|
|
2684
2673
|
},
|
|
2685
2674
|
"hasDynamicHelp": false,
|
|
2686
2675
|
"hiddenAliases": [],
|
|
2687
|
-
"id": "
|
|
2676
|
+
"id": "broadcast:status",
|
|
2688
2677
|
"pluginAlias": "@instantkom/cli",
|
|
2689
2678
|
"pluginName": "@instantkom/cli",
|
|
2690
2679
|
"pluginType": "core",
|
|
@@ -2694,20 +2683,20 @@
|
|
|
2694
2683
|
"relativePath": [
|
|
2695
2684
|
"dist",
|
|
2696
2685
|
"commands",
|
|
2697
|
-
"
|
|
2698
|
-
"
|
|
2686
|
+
"broadcast",
|
|
2687
|
+
"status.js"
|
|
2699
2688
|
]
|
|
2700
2689
|
},
|
|
2701
|
-
"
|
|
2690
|
+
"broadcast:update": {
|
|
2702
2691
|
"aliases": [],
|
|
2703
2692
|
"args": {
|
|
2704
2693
|
"id": {
|
|
2705
|
-
"description": "
|
|
2694
|
+
"description": "Broadcast ID",
|
|
2706
2695
|
"name": "id",
|
|
2707
2696
|
"required": true
|
|
2708
2697
|
}
|
|
2709
2698
|
},
|
|
2710
|
-
"description": "Update a
|
|
2699
|
+
"description": "Update a broadcast",
|
|
2711
2700
|
"flags": {
|
|
2712
2701
|
"api-key": {
|
|
2713
2702
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2771,50 +2760,61 @@
|
|
|
2771
2760
|
"multiple": false,
|
|
2772
2761
|
"type": "option"
|
|
2773
2762
|
},
|
|
2774
|
-
"
|
|
2775
|
-
"description": "
|
|
2776
|
-
"name": "
|
|
2763
|
+
"text": {
|
|
2764
|
+
"description": "Broadcast message text",
|
|
2765
|
+
"name": "text",
|
|
2777
2766
|
"hasDynamicHelp": false,
|
|
2778
2767
|
"multiple": false,
|
|
2779
2768
|
"type": "option"
|
|
2780
2769
|
},
|
|
2781
|
-
"
|
|
2782
|
-
"description": "
|
|
2783
|
-
"name": "
|
|
2770
|
+
"send-status": {
|
|
2771
|
+
"description": "Send status",
|
|
2772
|
+
"name": "send-status",
|
|
2784
2773
|
"hasDynamicHelp": false,
|
|
2785
2774
|
"multiple": false,
|
|
2786
|
-
"options": [
|
|
2787
|
-
"keyword",
|
|
2788
|
-
"schedule",
|
|
2789
|
-
"event",
|
|
2790
|
-
"ai"
|
|
2791
|
-
],
|
|
2792
2775
|
"type": "option"
|
|
2793
2776
|
},
|
|
2794
|
-
"
|
|
2795
|
-
"description": "
|
|
2796
|
-
"name": "
|
|
2777
|
+
"scheduled-at": {
|
|
2778
|
+
"description": "Unix timestamp for scheduled send",
|
|
2779
|
+
"name": "scheduled-at",
|
|
2797
2780
|
"hasDynamicHelp": false,
|
|
2798
2781
|
"multiple": false,
|
|
2799
2782
|
"type": "option"
|
|
2800
2783
|
},
|
|
2801
|
-
"
|
|
2802
|
-
"description": "
|
|
2803
|
-
"name": "
|
|
2804
|
-
"
|
|
2805
|
-
"
|
|
2806
|
-
"type": "option"
|
|
2784
|
+
"approved": {
|
|
2785
|
+
"description": "Mark as approved",
|
|
2786
|
+
"name": "approved",
|
|
2787
|
+
"allowNo": false,
|
|
2788
|
+
"type": "boolean"
|
|
2807
2789
|
},
|
|
2808
|
-
"
|
|
2809
|
-
"description": "
|
|
2810
|
-
"name": "
|
|
2790
|
+
"locked": {
|
|
2791
|
+
"description": "Mark as locked",
|
|
2792
|
+
"name": "locked",
|
|
2793
|
+
"allowNo": false,
|
|
2794
|
+
"type": "boolean"
|
|
2795
|
+
},
|
|
2796
|
+
"test": {
|
|
2797
|
+
"description": "Mark as test broadcast",
|
|
2798
|
+
"name": "test",
|
|
2799
|
+
"allowNo": false,
|
|
2800
|
+
"type": "boolean"
|
|
2801
|
+
},
|
|
2802
|
+
"template-id": {
|
|
2803
|
+
"description": "Template ID",
|
|
2804
|
+
"name": "template-id",
|
|
2811
2805
|
"hasDynamicHelp": false,
|
|
2812
2806
|
"multiple": false,
|
|
2813
2807
|
"type": "option"
|
|
2814
2808
|
},
|
|
2815
|
-
"
|
|
2816
|
-
"description": "
|
|
2817
|
-
"name": "
|
|
2809
|
+
"remove-media": {
|
|
2810
|
+
"description": "Remove existing media",
|
|
2811
|
+
"name": "remove-media",
|
|
2812
|
+
"allowNo": false,
|
|
2813
|
+
"type": "boolean"
|
|
2814
|
+
},
|
|
2815
|
+
"header-footer": {
|
|
2816
|
+
"description": "Header/footer JSON array",
|
|
2817
|
+
"name": "header-footer",
|
|
2818
2818
|
"hasDynamicHelp": false,
|
|
2819
2819
|
"multiple": false,
|
|
2820
2820
|
"type": "option"
|
|
@@ -2829,7 +2829,7 @@
|
|
|
2829
2829
|
},
|
|
2830
2830
|
"hasDynamicHelp": false,
|
|
2831
2831
|
"hiddenAliases": [],
|
|
2832
|
-
"id": "
|
|
2832
|
+
"id": "broadcast:update",
|
|
2833
2833
|
"pluginAlias": "@instantkom/cli",
|
|
2834
2834
|
"pluginName": "@instantkom/cli",
|
|
2835
2835
|
"pluginType": "core",
|
|
@@ -2839,7 +2839,7 @@
|
|
|
2839
2839
|
"relativePath": [
|
|
2840
2840
|
"dist",
|
|
2841
2841
|
"commands",
|
|
2842
|
-
"
|
|
2842
|
+
"broadcast",
|
|
2843
2843
|
"update.js"
|
|
2844
2844
|
]
|
|
2845
2845
|
},
|
|
@@ -3999,10 +3999,10 @@
|
|
|
3999
3999
|
"unset.js"
|
|
4000
4000
|
]
|
|
4001
4001
|
},
|
|
4002
|
-
"
|
|
4002
|
+
"contacts:create": {
|
|
4003
4003
|
"aliases": [],
|
|
4004
4004
|
"args": {},
|
|
4005
|
-
"description": "
|
|
4005
|
+
"description": "Create a contact",
|
|
4006
4006
|
"flags": {
|
|
4007
4007
|
"api-key": {
|
|
4008
4008
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4066,148 +4066,25 @@
|
|
|
4066
4066
|
"multiple": false,
|
|
4067
4067
|
"type": "option"
|
|
4068
4068
|
},
|
|
4069
|
-
"
|
|
4070
|
-
"description": "
|
|
4071
|
-
"name": "
|
|
4069
|
+
"channel": {
|
|
4070
|
+
"description": "Channel ID",
|
|
4071
|
+
"name": "channel",
|
|
4072
4072
|
"required": true,
|
|
4073
4073
|
"hasDynamicHelp": false,
|
|
4074
4074
|
"multiple": false,
|
|
4075
4075
|
"type": "option"
|
|
4076
|
-
}
|
|
4077
|
-
},
|
|
4078
|
-
"hasDynamicHelp": false,
|
|
4079
|
-
"hiddenAliases": [],
|
|
4080
|
-
"id": "custom-fields:bulk-delete",
|
|
4081
|
-
"pluginAlias": "@instantkom/cli",
|
|
4082
|
-
"pluginName": "@instantkom/cli",
|
|
4083
|
-
"pluginType": "core",
|
|
4084
|
-
"strict": true,
|
|
4085
|
-
"enableJsonFlag": false,
|
|
4086
|
-
"isESM": true,
|
|
4087
|
-
"relativePath": [
|
|
4088
|
-
"dist",
|
|
4089
|
-
"commands",
|
|
4090
|
-
"custom-fields",
|
|
4091
|
-
"bulk-delete.js"
|
|
4092
|
-
]
|
|
4093
|
-
},
|
|
4094
|
-
"custom-fields:create": {
|
|
4095
|
-
"aliases": [],
|
|
4096
|
-
"args": {},
|
|
4097
|
-
"description": "Create a custom field",
|
|
4098
|
-
"flags": {
|
|
4099
|
-
"api-key": {
|
|
4100
|
-
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
4101
|
-
"env": "IKM_API_KEY",
|
|
4102
|
-
"helpGroup": "GLOBAL",
|
|
4103
|
-
"name": "api-key",
|
|
4104
|
-
"hasDynamicHelp": false,
|
|
4105
|
-
"multiple": false,
|
|
4106
|
-
"type": "option"
|
|
4107
|
-
},
|
|
4108
|
-
"format": {
|
|
4109
|
-
"description": "Output format: text, json, yaml, or table",
|
|
4110
|
-
"helpGroup": "GLOBAL",
|
|
4111
|
-
"name": "format",
|
|
4112
|
-
"default": "text",
|
|
4113
|
-
"hasDynamicHelp": false,
|
|
4114
|
-
"multiple": false,
|
|
4115
|
-
"options": [
|
|
4116
|
-
"text",
|
|
4117
|
-
"json",
|
|
4118
|
-
"yaml",
|
|
4119
|
-
"table"
|
|
4120
|
-
],
|
|
4121
|
-
"type": "option"
|
|
4122
|
-
},
|
|
4123
|
-
"json": {
|
|
4124
|
-
"description": "Output in JSON format (alias for --format=json)",
|
|
4125
|
-
"helpGroup": "GLOBAL",
|
|
4126
|
-
"name": "json",
|
|
4127
|
-
"allowNo": false,
|
|
4128
|
-
"type": "boolean"
|
|
4129
|
-
},
|
|
4130
|
-
"quiet": {
|
|
4131
|
-
"description": "Suppress all output except errors",
|
|
4132
|
-
"helpGroup": "GLOBAL",
|
|
4133
|
-
"name": "quiet",
|
|
4134
|
-
"allowNo": false,
|
|
4135
|
-
"type": "boolean"
|
|
4136
|
-
},
|
|
4137
|
-
"no-color": {
|
|
4138
|
-
"description": "Disable color output",
|
|
4139
|
-
"helpGroup": "GLOBAL",
|
|
4140
|
-
"name": "no-color",
|
|
4141
|
-
"allowNo": false,
|
|
4142
|
-
"type": "boolean"
|
|
4143
|
-
},
|
|
4144
|
-
"profile": {
|
|
4145
|
-
"description": "Named configuration profile to use",
|
|
4146
|
-
"helpGroup": "GLOBAL",
|
|
4147
|
-
"name": "profile",
|
|
4148
|
-
"default": "default",
|
|
4149
|
-
"hasDynamicHelp": false,
|
|
4150
|
-
"multiple": false,
|
|
4151
|
-
"type": "option"
|
|
4152
4076
|
},
|
|
4153
|
-
"
|
|
4154
|
-
"description": "
|
|
4155
|
-
"
|
|
4156
|
-
"
|
|
4077
|
+
"identifier": {
|
|
4078
|
+
"description": "Unique contact identifier",
|
|
4079
|
+
"name": "identifier",
|
|
4080
|
+
"required": true,
|
|
4157
4081
|
"hasDynamicHelp": false,
|
|
4158
4082
|
"multiple": false,
|
|
4159
4083
|
"type": "option"
|
|
4160
4084
|
},
|
|
4161
4085
|
"name": {
|
|
4162
|
-
"description": "
|
|
4086
|
+
"description": "Contact name",
|
|
4163
4087
|
"name": "name",
|
|
4164
|
-
"required": true,
|
|
4165
|
-
"hasDynamicHelp": false,
|
|
4166
|
-
"multiple": false,
|
|
4167
|
-
"type": "option"
|
|
4168
|
-
},
|
|
4169
|
-
"key": {
|
|
4170
|
-
"description": "Field key",
|
|
4171
|
-
"name": "key",
|
|
4172
|
-
"required": true,
|
|
4173
|
-
"hasDynamicHelp": false,
|
|
4174
|
-
"multiple": false,
|
|
4175
|
-
"type": "option"
|
|
4176
|
-
},
|
|
4177
|
-
"type": {
|
|
4178
|
-
"description": "Field type",
|
|
4179
|
-
"name": "type",
|
|
4180
|
-
"required": true,
|
|
4181
|
-
"hasDynamicHelp": false,
|
|
4182
|
-
"multiple": false,
|
|
4183
|
-
"options": [
|
|
4184
|
-
"text",
|
|
4185
|
-
"number",
|
|
4186
|
-
"date",
|
|
4187
|
-
"dropdown",
|
|
4188
|
-
"checkbox",
|
|
4189
|
-
"url",
|
|
4190
|
-
"email",
|
|
4191
|
-
"phone"
|
|
4192
|
-
],
|
|
4193
|
-
"type": "option"
|
|
4194
|
-
},
|
|
4195
|
-
"required": {
|
|
4196
|
-
"description": "Field is required",
|
|
4197
|
-
"name": "required",
|
|
4198
|
-
"allowNo": false,
|
|
4199
|
-
"type": "boolean"
|
|
4200
|
-
},
|
|
4201
|
-
"default": {
|
|
4202
|
-
"description": "Default value",
|
|
4203
|
-
"name": "default",
|
|
4204
|
-
"hasDynamicHelp": false,
|
|
4205
|
-
"multiple": false,
|
|
4206
|
-
"type": "option"
|
|
4207
|
-
},
|
|
4208
|
-
"options": {
|
|
4209
|
-
"description": "Comma-separated dropdown options",
|
|
4210
|
-
"name": "options",
|
|
4211
4088
|
"hasDynamicHelp": false,
|
|
4212
4089
|
"multiple": false,
|
|
4213
4090
|
"type": "option"
|
|
@@ -4222,7 +4099,7 @@
|
|
|
4222
4099
|
},
|
|
4223
4100
|
"hasDynamicHelp": false,
|
|
4224
4101
|
"hiddenAliases": [],
|
|
4225
|
-
"id": "
|
|
4102
|
+
"id": "contacts:create",
|
|
4226
4103
|
"pluginAlias": "@instantkom/cli",
|
|
4227
4104
|
"pluginName": "@instantkom/cli",
|
|
4228
4105
|
"pluginType": "core",
|
|
@@ -4232,20 +4109,20 @@
|
|
|
4232
4109
|
"relativePath": [
|
|
4233
4110
|
"dist",
|
|
4234
4111
|
"commands",
|
|
4235
|
-
"
|
|
4112
|
+
"contacts",
|
|
4236
4113
|
"create.js"
|
|
4237
4114
|
]
|
|
4238
4115
|
},
|
|
4239
|
-
"
|
|
4116
|
+
"contacts:delete": {
|
|
4240
4117
|
"aliases": [],
|
|
4241
4118
|
"args": {
|
|
4242
4119
|
"id": {
|
|
4243
|
-
"description": "
|
|
4120
|
+
"description": "Contact ID",
|
|
4244
4121
|
"name": "id",
|
|
4245
4122
|
"required": true
|
|
4246
4123
|
}
|
|
4247
4124
|
},
|
|
4248
|
-
"description": "Delete
|
|
4125
|
+
"description": "Delete a contact",
|
|
4249
4126
|
"flags": {
|
|
4250
4127
|
"api-key": {
|
|
4251
4128
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4312,7 +4189,7 @@
|
|
|
4312
4189
|
},
|
|
4313
4190
|
"hasDynamicHelp": false,
|
|
4314
4191
|
"hiddenAliases": [],
|
|
4315
|
-
"id": "
|
|
4192
|
+
"id": "contacts:delete",
|
|
4316
4193
|
"pluginAlias": "@instantkom/cli",
|
|
4317
4194
|
"pluginName": "@instantkom/cli",
|
|
4318
4195
|
"pluginType": "core",
|
|
@@ -4322,20 +4199,14 @@
|
|
|
4322
4199
|
"relativePath": [
|
|
4323
4200
|
"dist",
|
|
4324
4201
|
"commands",
|
|
4325
|
-
"
|
|
4202
|
+
"contacts",
|
|
4326
4203
|
"delete.js"
|
|
4327
4204
|
]
|
|
4328
4205
|
},
|
|
4329
|
-
"
|
|
4206
|
+
"contacts:export": {
|
|
4330
4207
|
"aliases": [],
|
|
4331
|
-
"args": {
|
|
4332
|
-
|
|
4333
|
-
"description": "custom field ID",
|
|
4334
|
-
"name": "id",
|
|
4335
|
-
"required": true
|
|
4336
|
-
}
|
|
4337
|
-
},
|
|
4338
|
-
"description": "Get custom field by ID",
|
|
4208
|
+
"args": {},
|
|
4209
|
+
"description": "Export contacts to CSV",
|
|
4339
4210
|
"flags": {
|
|
4340
4211
|
"api-key": {
|
|
4341
4212
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4398,11 +4269,49 @@
|
|
|
4398
4269
|
"hasDynamicHelp": false,
|
|
4399
4270
|
"multiple": false,
|
|
4400
4271
|
"type": "option"
|
|
4272
|
+
},
|
|
4273
|
+
"file": {
|
|
4274
|
+
"description": "CSV output file path",
|
|
4275
|
+
"name": "file",
|
|
4276
|
+
"required": true,
|
|
4277
|
+
"hasDynamicHelp": false,
|
|
4278
|
+
"multiple": false,
|
|
4279
|
+
"type": "option"
|
|
4280
|
+
},
|
|
4281
|
+
"channel": {
|
|
4282
|
+
"description": "Filter by channel ID",
|
|
4283
|
+
"name": "channel",
|
|
4284
|
+
"hasDynamicHelp": false,
|
|
4285
|
+
"multiple": false,
|
|
4286
|
+
"type": "option"
|
|
4287
|
+
},
|
|
4288
|
+
"search": {
|
|
4289
|
+
"description": "Search by name or identifier",
|
|
4290
|
+
"name": "search",
|
|
4291
|
+
"hasDynamicHelp": false,
|
|
4292
|
+
"multiple": false,
|
|
4293
|
+
"type": "option"
|
|
4294
|
+
},
|
|
4295
|
+
"page": {
|
|
4296
|
+
"description": "Page number",
|
|
4297
|
+
"name": "page",
|
|
4298
|
+
"default": 1,
|
|
4299
|
+
"hasDynamicHelp": false,
|
|
4300
|
+
"multiple": false,
|
|
4301
|
+
"type": "option"
|
|
4302
|
+
},
|
|
4303
|
+
"limit": {
|
|
4304
|
+
"description": "Items per page",
|
|
4305
|
+
"name": "limit",
|
|
4306
|
+
"default": 100,
|
|
4307
|
+
"hasDynamicHelp": false,
|
|
4308
|
+
"multiple": false,
|
|
4309
|
+
"type": "option"
|
|
4401
4310
|
}
|
|
4402
4311
|
},
|
|
4403
4312
|
"hasDynamicHelp": false,
|
|
4404
4313
|
"hiddenAliases": [],
|
|
4405
|
-
"id": "
|
|
4314
|
+
"id": "contacts:export",
|
|
4406
4315
|
"pluginAlias": "@instantkom/cli",
|
|
4407
4316
|
"pluginName": "@instantkom/cli",
|
|
4408
4317
|
"pluginType": "core",
|
|
@@ -4412,14 +4321,20 @@
|
|
|
4412
4321
|
"relativePath": [
|
|
4413
4322
|
"dist",
|
|
4414
4323
|
"commands",
|
|
4415
|
-
"
|
|
4416
|
-
"
|
|
4324
|
+
"contacts",
|
|
4325
|
+
"export.js"
|
|
4417
4326
|
]
|
|
4418
4327
|
},
|
|
4419
|
-
"
|
|
4328
|
+
"contacts:get": {
|
|
4420
4329
|
"aliases": [],
|
|
4421
|
-
"args": {
|
|
4422
|
-
|
|
4330
|
+
"args": {
|
|
4331
|
+
"id": {
|
|
4332
|
+
"description": "Contact ID",
|
|
4333
|
+
"name": "id",
|
|
4334
|
+
"required": true
|
|
4335
|
+
}
|
|
4336
|
+
},
|
|
4337
|
+
"description": "Get a contact by ID",
|
|
4423
4338
|
"flags": {
|
|
4424
4339
|
"api-key": {
|
|
4425
4340
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4486,7 +4401,7 @@
|
|
|
4486
4401
|
},
|
|
4487
4402
|
"hasDynamicHelp": false,
|
|
4488
4403
|
"hiddenAliases": [],
|
|
4489
|
-
"id": "
|
|
4404
|
+
"id": "contacts:get",
|
|
4490
4405
|
"pluginAlias": "@instantkom/cli",
|
|
4491
4406
|
"pluginName": "@instantkom/cli",
|
|
4492
4407
|
"pluginType": "core",
|
|
@@ -4496,14 +4411,14 @@
|
|
|
4496
4411
|
"relativePath": [
|
|
4497
4412
|
"dist",
|
|
4498
4413
|
"commands",
|
|
4499
|
-
"
|
|
4500
|
-
"
|
|
4414
|
+
"contacts",
|
|
4415
|
+
"get.js"
|
|
4501
4416
|
]
|
|
4502
4417
|
},
|
|
4503
|
-
"
|
|
4418
|
+
"contacts:import": {
|
|
4504
4419
|
"aliases": [],
|
|
4505
4420
|
"args": {},
|
|
4506
|
-
"description": "
|
|
4421
|
+
"description": "Import contacts from CSV",
|
|
4507
4422
|
"flags": {
|
|
4508
4423
|
"api-key": {
|
|
4509
4424
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4567,9 +4482,17 @@
|
|
|
4567
4482
|
"multiple": false,
|
|
4568
4483
|
"type": "option"
|
|
4569
4484
|
},
|
|
4570
|
-
"
|
|
4571
|
-
"description": "
|
|
4572
|
-
"name": "
|
|
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",
|
|
4573
4496
|
"required": true,
|
|
4574
4497
|
"hasDynamicHelp": false,
|
|
4575
4498
|
"multiple": false,
|
|
@@ -4578,7 +4501,7 @@
|
|
|
4578
4501
|
},
|
|
4579
4502
|
"hasDynamicHelp": false,
|
|
4580
4503
|
"hiddenAliases": [],
|
|
4581
|
-
"id": "
|
|
4504
|
+
"id": "contacts:import",
|
|
4582
4505
|
"pluginAlias": "@instantkom/cli",
|
|
4583
4506
|
"pluginName": "@instantkom/cli",
|
|
4584
4507
|
"pluginType": "core",
|
|
@@ -4588,20 +4511,14 @@
|
|
|
4588
4511
|
"relativePath": [
|
|
4589
4512
|
"dist",
|
|
4590
4513
|
"commands",
|
|
4591
|
-
"
|
|
4592
|
-
"
|
|
4514
|
+
"contacts",
|
|
4515
|
+
"import.js"
|
|
4593
4516
|
]
|
|
4594
4517
|
},
|
|
4595
|
-
"
|
|
4518
|
+
"contacts:list": {
|
|
4596
4519
|
"aliases": [],
|
|
4597
|
-
"args": {
|
|
4598
|
-
|
|
4599
|
-
"description": "Custom field ID",
|
|
4600
|
-
"name": "id",
|
|
4601
|
-
"required": true
|
|
4602
|
-
}
|
|
4603
|
-
},
|
|
4604
|
-
"description": "Update a custom field",
|
|
4520
|
+
"args": {},
|
|
4521
|
+
"description": "List contacts",
|
|
4605
4522
|
"flags": {
|
|
4606
4523
|
"api-key": {
|
|
4607
4524
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4665,59 +4582,97 @@
|
|
|
4665
4582
|
"multiple": false,
|
|
4666
4583
|
"type": "option"
|
|
4667
4584
|
},
|
|
4668
|
-
"
|
|
4669
|
-
"description": "
|
|
4670
|
-
"name": "
|
|
4585
|
+
"channel": {
|
|
4586
|
+
"description": "Filter by channel ID",
|
|
4587
|
+
"name": "channel",
|
|
4671
4588
|
"hasDynamicHelp": false,
|
|
4672
4589
|
"multiple": false,
|
|
4673
4590
|
"type": "option"
|
|
4674
4591
|
},
|
|
4675
|
-
"
|
|
4676
|
-
"description": "
|
|
4677
|
-
"name": "
|
|
4592
|
+
"search": {
|
|
4593
|
+
"description": "Search by name or identifier",
|
|
4594
|
+
"name": "search",
|
|
4595
|
+
"hasDynamicHelp": false,
|
|
4596
|
+
"multiple": false,
|
|
4597
|
+
"type": "option"
|
|
4598
|
+
},
|
|
4599
|
+
"page": {
|
|
4600
|
+
"description": "Page number",
|
|
4601
|
+
"name": "page",
|
|
4602
|
+
"default": 1,
|
|
4603
|
+
"hasDynamicHelp": false,
|
|
4604
|
+
"multiple": false,
|
|
4605
|
+
"type": "option"
|
|
4606
|
+
},
|
|
4607
|
+
"limit": {
|
|
4608
|
+
"description": "Items per page",
|
|
4609
|
+
"name": "limit",
|
|
4610
|
+
"default": 20,
|
|
4611
|
+
"hasDynamicHelp": false,
|
|
4612
|
+
"multiple": false,
|
|
4613
|
+
"type": "option"
|
|
4614
|
+
},
|
|
4615
|
+
"optin-status": {
|
|
4616
|
+
"description": "Filter by opt-in status",
|
|
4617
|
+
"name": "optin-status",
|
|
4678
4618
|
"hasDynamicHelp": false,
|
|
4679
4619
|
"multiple": false,
|
|
4680
4620
|
"options": [
|
|
4681
|
-
"
|
|
4682
|
-
"
|
|
4683
|
-
"date",
|
|
4684
|
-
"dropdown",
|
|
4685
|
-
"checkbox",
|
|
4686
|
-
"url",
|
|
4687
|
-
"email",
|
|
4688
|
-
"phone"
|
|
4621
|
+
"0",
|
|
4622
|
+
"1"
|
|
4689
4623
|
],
|
|
4690
4624
|
"type": "option"
|
|
4691
4625
|
},
|
|
4692
|
-
"
|
|
4693
|
-
"description": "
|
|
4694
|
-
"name": "
|
|
4695
|
-
"
|
|
4696
|
-
"
|
|
4626
|
+
"blocked": {
|
|
4627
|
+
"description": "Filter by blocked status: 1 blocked, 0 not blocked",
|
|
4628
|
+
"name": "blocked",
|
|
4629
|
+
"hasDynamicHelp": false,
|
|
4630
|
+
"multiple": false,
|
|
4631
|
+
"options": [
|
|
4632
|
+
"0",
|
|
4633
|
+
"1"
|
|
4634
|
+
],
|
|
4635
|
+
"type": "option"
|
|
4697
4636
|
},
|
|
4698
|
-
"
|
|
4699
|
-
"description": "
|
|
4700
|
-
"name": "
|
|
4701
|
-
"
|
|
4702
|
-
"
|
|
4637
|
+
"segment": {
|
|
4638
|
+
"description": "Filter by segment ID",
|
|
4639
|
+
"name": "segment",
|
|
4640
|
+
"hasDynamicHelp": false,
|
|
4641
|
+
"multiple": false,
|
|
4642
|
+
"type": "option"
|
|
4703
4643
|
},
|
|
4704
|
-
"
|
|
4705
|
-
"description": "
|
|
4706
|
-
"name": "
|
|
4644
|
+
"tags": {
|
|
4645
|
+
"description": "Comma-separated tag IDs",
|
|
4646
|
+
"name": "tags",
|
|
4707
4647
|
"hasDynamicHelp": false,
|
|
4708
4648
|
"multiple": false,
|
|
4709
4649
|
"type": "option"
|
|
4710
4650
|
},
|
|
4711
|
-
"
|
|
4712
|
-
"description": "
|
|
4713
|
-
"name": "
|
|
4651
|
+
"tag-match": {
|
|
4652
|
+
"description": "Tag match mode",
|
|
4653
|
+
"name": "tag-match",
|
|
4654
|
+
"hasDynamicHelp": false,
|
|
4655
|
+
"multiple": false,
|
|
4656
|
+
"options": [
|
|
4657
|
+
"any",
|
|
4658
|
+
"all"
|
|
4659
|
+
],
|
|
4660
|
+
"type": "option"
|
|
4661
|
+
},
|
|
4662
|
+
"spam": {
|
|
4663
|
+
"description": "Filter by spam status",
|
|
4664
|
+
"name": "spam",
|
|
4714
4665
|
"hasDynamicHelp": false,
|
|
4715
4666
|
"multiple": false,
|
|
4667
|
+
"options": [
|
|
4668
|
+
"true",
|
|
4669
|
+
"false"
|
|
4670
|
+
],
|
|
4716
4671
|
"type": "option"
|
|
4717
4672
|
},
|
|
4718
|
-
"
|
|
4719
|
-
"description": "
|
|
4720
|
-
"name": "
|
|
4673
|
+
"trust-level": {
|
|
4674
|
+
"description": "Comma-separated trust levels",
|
|
4675
|
+
"name": "trust-level",
|
|
4721
4676
|
"hasDynamicHelp": false,
|
|
4722
4677
|
"multiple": false,
|
|
4723
4678
|
"type": "option"
|
|
@@ -4725,7 +4680,7 @@
|
|
|
4725
4680
|
},
|
|
4726
4681
|
"hasDynamicHelp": false,
|
|
4727
4682
|
"hiddenAliases": [],
|
|
4728
|
-
"id": "
|
|
4683
|
+
"id": "contacts:list",
|
|
4729
4684
|
"pluginAlias": "@instantkom/cli",
|
|
4730
4685
|
"pluginName": "@instantkom/cli",
|
|
4731
4686
|
"pluginType": "core",
|
|
@@ -4735,14 +4690,20 @@
|
|
|
4735
4690
|
"relativePath": [
|
|
4736
4691
|
"dist",
|
|
4737
4692
|
"commands",
|
|
4738
|
-
"
|
|
4739
|
-
"
|
|
4693
|
+
"contacts",
|
|
4694
|
+
"list.js"
|
|
4740
4695
|
]
|
|
4741
4696
|
},
|
|
4742
|
-
"contacts:
|
|
4697
|
+
"contacts:update": {
|
|
4743
4698
|
"aliases": [],
|
|
4744
|
-
"args": {
|
|
4745
|
-
|
|
4699
|
+
"args": {
|
|
4700
|
+
"id": {
|
|
4701
|
+
"description": "Contact ID",
|
|
4702
|
+
"name": "id",
|
|
4703
|
+
"required": true
|
|
4704
|
+
}
|
|
4705
|
+
},
|
|
4706
|
+
"description": "Update a contact",
|
|
4746
4707
|
"flags": {
|
|
4747
4708
|
"api-key": {
|
|
4748
4709
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4797,19 +4758,11 @@
|
|
|
4797
4758
|
"hasDynamicHelp": false,
|
|
4798
4759
|
"multiple": false,
|
|
4799
4760
|
"type": "option"
|
|
4800
|
-
},
|
|
4801
|
-
"api-url": {
|
|
4802
|
-
"description": "Override the API base URL (e.g. for staging)",
|
|
4803
|
-
"helpGroup": "GLOBAL",
|
|
4804
|
-
"name": "api-url",
|
|
4805
|
-
"hasDynamicHelp": false,
|
|
4806
|
-
"multiple": false,
|
|
4807
|
-
"type": "option"
|
|
4808
|
-
},
|
|
4809
|
-
"channel": {
|
|
4810
|
-
"description": "Channel ID",
|
|
4811
|
-
"name": "channel",
|
|
4812
|
-
"required": true,
|
|
4761
|
+
},
|
|
4762
|
+
"api-url": {
|
|
4763
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
4764
|
+
"helpGroup": "GLOBAL",
|
|
4765
|
+
"name": "api-url",
|
|
4813
4766
|
"hasDynamicHelp": false,
|
|
4814
4767
|
"multiple": false,
|
|
4815
4768
|
"type": "option"
|
|
@@ -4817,7 +4770,6 @@
|
|
|
4817
4770
|
"identifier": {
|
|
4818
4771
|
"description": "Unique contact identifier",
|
|
4819
4772
|
"name": "identifier",
|
|
4820
|
-
"required": true,
|
|
4821
4773
|
"hasDynamicHelp": false,
|
|
4822
4774
|
"multiple": false,
|
|
4823
4775
|
"type": "option"
|
|
@@ -4839,7 +4791,7 @@
|
|
|
4839
4791
|
},
|
|
4840
4792
|
"hasDynamicHelp": false,
|
|
4841
4793
|
"hiddenAliases": [],
|
|
4842
|
-
"id": "contacts:
|
|
4794
|
+
"id": "contacts:update",
|
|
4843
4795
|
"pluginAlias": "@instantkom/cli",
|
|
4844
4796
|
"pluginName": "@instantkom/cli",
|
|
4845
4797
|
"pluginType": "core",
|
|
@@ -4850,19 +4802,13 @@
|
|
|
4850
4802
|
"dist",
|
|
4851
4803
|
"commands",
|
|
4852
4804
|
"contacts",
|
|
4853
|
-
"
|
|
4805
|
+
"update.js"
|
|
4854
4806
|
]
|
|
4855
4807
|
},
|
|
4856
|
-
"
|
|
4808
|
+
"custom-fields:bulk-delete": {
|
|
4857
4809
|
"aliases": [],
|
|
4858
|
-
"args": {
|
|
4859
|
-
|
|
4860
|
-
"description": "Contact ID",
|
|
4861
|
-
"name": "id",
|
|
4862
|
-
"required": true
|
|
4863
|
-
}
|
|
4864
|
-
},
|
|
4865
|
-
"description": "Delete a contact",
|
|
4810
|
+
"args": {},
|
|
4811
|
+
"description": "Bulk delete custom fields",
|
|
4866
4812
|
"flags": {
|
|
4867
4813
|
"api-key": {
|
|
4868
4814
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4925,11 +4871,19 @@
|
|
|
4925
4871
|
"hasDynamicHelp": false,
|
|
4926
4872
|
"multiple": false,
|
|
4927
4873
|
"type": "option"
|
|
4874
|
+
},
|
|
4875
|
+
"ids": {
|
|
4876
|
+
"description": "Comma-separated custom field IDs",
|
|
4877
|
+
"name": "ids",
|
|
4878
|
+
"required": true,
|
|
4879
|
+
"hasDynamicHelp": false,
|
|
4880
|
+
"multiple": false,
|
|
4881
|
+
"type": "option"
|
|
4928
4882
|
}
|
|
4929
4883
|
},
|
|
4930
4884
|
"hasDynamicHelp": false,
|
|
4931
4885
|
"hiddenAliases": [],
|
|
4932
|
-
"id": "
|
|
4886
|
+
"id": "custom-fields:bulk-delete",
|
|
4933
4887
|
"pluginAlias": "@instantkom/cli",
|
|
4934
4888
|
"pluginName": "@instantkom/cli",
|
|
4935
4889
|
"pluginType": "core",
|
|
@@ -4939,14 +4893,14 @@
|
|
|
4939
4893
|
"relativePath": [
|
|
4940
4894
|
"dist",
|
|
4941
4895
|
"commands",
|
|
4942
|
-
"
|
|
4943
|
-
"delete.js"
|
|
4896
|
+
"custom-fields",
|
|
4897
|
+
"bulk-delete.js"
|
|
4944
4898
|
]
|
|
4945
4899
|
},
|
|
4946
|
-
"
|
|
4900
|
+
"custom-fields:create": {
|
|
4947
4901
|
"aliases": [],
|
|
4948
4902
|
"args": {},
|
|
4949
|
-
"description": "
|
|
4903
|
+
"description": "Create a custom field",
|
|
4950
4904
|
"flags": {
|
|
4951
4905
|
"api-key": {
|
|
4952
4906
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5010,40 +4964,63 @@
|
|
|
5010
4964
|
"multiple": false,
|
|
5011
4965
|
"type": "option"
|
|
5012
4966
|
},
|
|
5013
|
-
"
|
|
5014
|
-
"description": "
|
|
5015
|
-
"name": "
|
|
4967
|
+
"name": {
|
|
4968
|
+
"description": "Field name",
|
|
4969
|
+
"name": "name",
|
|
5016
4970
|
"required": true,
|
|
5017
4971
|
"hasDynamicHelp": false,
|
|
5018
4972
|
"multiple": false,
|
|
5019
4973
|
"type": "option"
|
|
5020
4974
|
},
|
|
5021
|
-
"
|
|
5022
|
-
"description": "
|
|
5023
|
-
"name": "
|
|
4975
|
+
"key": {
|
|
4976
|
+
"description": "Field key",
|
|
4977
|
+
"name": "key",
|
|
4978
|
+
"required": true,
|
|
5024
4979
|
"hasDynamicHelp": false,
|
|
5025
4980
|
"multiple": false,
|
|
5026
4981
|
"type": "option"
|
|
5027
4982
|
},
|
|
5028
|
-
"
|
|
5029
|
-
"description": "
|
|
5030
|
-
"name": "
|
|
4983
|
+
"type": {
|
|
4984
|
+
"description": "Field type",
|
|
4985
|
+
"name": "type",
|
|
4986
|
+
"required": true,
|
|
4987
|
+
"hasDynamicHelp": false,
|
|
4988
|
+
"multiple": false,
|
|
4989
|
+
"options": [
|
|
4990
|
+
"text",
|
|
4991
|
+
"number",
|
|
4992
|
+
"date",
|
|
4993
|
+
"dropdown",
|
|
4994
|
+
"checkbox",
|
|
4995
|
+
"url",
|
|
4996
|
+
"email",
|
|
4997
|
+
"phone"
|
|
4998
|
+
],
|
|
4999
|
+
"type": "option"
|
|
5000
|
+
},
|
|
5001
|
+
"required": {
|
|
5002
|
+
"description": "Field is required",
|
|
5003
|
+
"name": "required",
|
|
5004
|
+
"allowNo": false,
|
|
5005
|
+
"type": "boolean"
|
|
5006
|
+
},
|
|
5007
|
+
"default": {
|
|
5008
|
+
"description": "Default value",
|
|
5009
|
+
"name": "default",
|
|
5031
5010
|
"hasDynamicHelp": false,
|
|
5032
5011
|
"multiple": false,
|
|
5033
5012
|
"type": "option"
|
|
5034
5013
|
},
|
|
5035
|
-
"
|
|
5036
|
-
"description": "
|
|
5037
|
-
"name": "
|
|
5038
|
-
"default": 1,
|
|
5014
|
+
"options": {
|
|
5015
|
+
"description": "Comma-separated dropdown options",
|
|
5016
|
+
"name": "options",
|
|
5039
5017
|
"hasDynamicHelp": false,
|
|
5040
5018
|
"multiple": false,
|
|
5041
5019
|
"type": "option"
|
|
5042
5020
|
},
|
|
5043
|
-
"
|
|
5044
|
-
"description": "
|
|
5045
|
-
"name": "
|
|
5046
|
-
"default": 100,
|
|
5021
|
+
"data": {
|
|
5022
|
+
"description": "Additional JSON object payload",
|
|
5023
|
+
"name": "data",
|
|
5047
5024
|
"hasDynamicHelp": false,
|
|
5048
5025
|
"multiple": false,
|
|
5049
5026
|
"type": "option"
|
|
@@ -5051,7 +5028,7 @@
|
|
|
5051
5028
|
},
|
|
5052
5029
|
"hasDynamicHelp": false,
|
|
5053
5030
|
"hiddenAliases": [],
|
|
5054
|
-
"id": "
|
|
5031
|
+
"id": "custom-fields:create",
|
|
5055
5032
|
"pluginAlias": "@instantkom/cli",
|
|
5056
5033
|
"pluginName": "@instantkom/cli",
|
|
5057
5034
|
"pluginType": "core",
|
|
@@ -5061,20 +5038,20 @@
|
|
|
5061
5038
|
"relativePath": [
|
|
5062
5039
|
"dist",
|
|
5063
5040
|
"commands",
|
|
5064
|
-
"
|
|
5065
|
-
"
|
|
5041
|
+
"custom-fields",
|
|
5042
|
+
"create.js"
|
|
5066
5043
|
]
|
|
5067
5044
|
},
|
|
5068
|
-
"
|
|
5045
|
+
"custom-fields:delete": {
|
|
5069
5046
|
"aliases": [],
|
|
5070
5047
|
"args": {
|
|
5071
5048
|
"id": {
|
|
5072
|
-
"description": "
|
|
5049
|
+
"description": "custom field ID",
|
|
5073
5050
|
"name": "id",
|
|
5074
5051
|
"required": true
|
|
5075
5052
|
}
|
|
5076
5053
|
},
|
|
5077
|
-
"description": "
|
|
5054
|
+
"description": "Delete custom field",
|
|
5078
5055
|
"flags": {
|
|
5079
5056
|
"api-key": {
|
|
5080
5057
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5141,7 +5118,7 @@
|
|
|
5141
5118
|
},
|
|
5142
5119
|
"hasDynamicHelp": false,
|
|
5143
5120
|
"hiddenAliases": [],
|
|
5144
|
-
"id": "
|
|
5121
|
+
"id": "custom-fields:delete",
|
|
5145
5122
|
"pluginAlias": "@instantkom/cli",
|
|
5146
5123
|
"pluginName": "@instantkom/cli",
|
|
5147
5124
|
"pluginType": "core",
|
|
@@ -5151,14 +5128,20 @@
|
|
|
5151
5128
|
"relativePath": [
|
|
5152
5129
|
"dist",
|
|
5153
5130
|
"commands",
|
|
5154
|
-
"
|
|
5155
|
-
"
|
|
5131
|
+
"custom-fields",
|
|
5132
|
+
"delete.js"
|
|
5156
5133
|
]
|
|
5157
5134
|
},
|
|
5158
|
-
"
|
|
5135
|
+
"custom-fields:get": {
|
|
5159
5136
|
"aliases": [],
|
|
5160
|
-
"args": {
|
|
5161
|
-
|
|
5137
|
+
"args": {
|
|
5138
|
+
"id": {
|
|
5139
|
+
"description": "custom field ID",
|
|
5140
|
+
"name": "id",
|
|
5141
|
+
"required": true
|
|
5142
|
+
}
|
|
5143
|
+
},
|
|
5144
|
+
"description": "Get custom field by ID",
|
|
5162
5145
|
"flags": {
|
|
5163
5146
|
"api-key": {
|
|
5164
5147
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5221,27 +5204,11 @@
|
|
|
5221
5204
|
"hasDynamicHelp": false,
|
|
5222
5205
|
"multiple": false,
|
|
5223
5206
|
"type": "option"
|
|
5224
|
-
},
|
|
5225
|
-
"file": {
|
|
5226
|
-
"description": "CSV file path",
|
|
5227
|
-
"name": "file",
|
|
5228
|
-
"required": true,
|
|
5229
|
-
"hasDynamicHelp": false,
|
|
5230
|
-
"multiple": false,
|
|
5231
|
-
"type": "option"
|
|
5232
|
-
},
|
|
5233
|
-
"channel": {
|
|
5234
|
-
"description": "Channel ID",
|
|
5235
|
-
"name": "channel",
|
|
5236
|
-
"required": true,
|
|
5237
|
-
"hasDynamicHelp": false,
|
|
5238
|
-
"multiple": false,
|
|
5239
|
-
"type": "option"
|
|
5240
5207
|
}
|
|
5241
5208
|
},
|
|
5242
5209
|
"hasDynamicHelp": false,
|
|
5243
5210
|
"hiddenAliases": [],
|
|
5244
|
-
"id": "
|
|
5211
|
+
"id": "custom-fields:get",
|
|
5245
5212
|
"pluginAlias": "@instantkom/cli",
|
|
5246
5213
|
"pluginName": "@instantkom/cli",
|
|
5247
5214
|
"pluginType": "core",
|
|
@@ -5251,14 +5218,14 @@
|
|
|
5251
5218
|
"relativePath": [
|
|
5252
5219
|
"dist",
|
|
5253
5220
|
"commands",
|
|
5254
|
-
"
|
|
5255
|
-
"
|
|
5221
|
+
"custom-fields",
|
|
5222
|
+
"get.js"
|
|
5256
5223
|
]
|
|
5257
5224
|
},
|
|
5258
|
-
"
|
|
5225
|
+
"custom-fields:list": {
|
|
5259
5226
|
"aliases": [],
|
|
5260
5227
|
"args": {},
|
|
5261
|
-
"description": "List
|
|
5228
|
+
"description": "List custom fields",
|
|
5262
5229
|
"flags": {
|
|
5263
5230
|
"api-key": {
|
|
5264
5231
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5321,98 +5288,95 @@
|
|
|
5321
5288
|
"hasDynamicHelp": false,
|
|
5322
5289
|
"multiple": false,
|
|
5323
5290
|
"type": "option"
|
|
5324
|
-
}
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
"
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
"
|
|
5348
|
-
"description": "
|
|
5349
|
-
"
|
|
5350
|
-
"
|
|
5291
|
+
}
|
|
5292
|
+
},
|
|
5293
|
+
"hasDynamicHelp": false,
|
|
5294
|
+
"hiddenAliases": [],
|
|
5295
|
+
"id": "custom-fields:list",
|
|
5296
|
+
"pluginAlias": "@instantkom/cli",
|
|
5297
|
+
"pluginName": "@instantkom/cli",
|
|
5298
|
+
"pluginType": "core",
|
|
5299
|
+
"strict": true,
|
|
5300
|
+
"enableJsonFlag": false,
|
|
5301
|
+
"isESM": true,
|
|
5302
|
+
"relativePath": [
|
|
5303
|
+
"dist",
|
|
5304
|
+
"commands",
|
|
5305
|
+
"custom-fields",
|
|
5306
|
+
"list.js"
|
|
5307
|
+
]
|
|
5308
|
+
},
|
|
5309
|
+
"custom-fields:reorder": {
|
|
5310
|
+
"aliases": [],
|
|
5311
|
+
"args": {},
|
|
5312
|
+
"description": "Reorder custom fields",
|
|
5313
|
+
"flags": {
|
|
5314
|
+
"api-key": {
|
|
5315
|
+
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
5316
|
+
"env": "IKM_API_KEY",
|
|
5317
|
+
"helpGroup": "GLOBAL",
|
|
5318
|
+
"name": "api-key",
|
|
5351
5319
|
"hasDynamicHelp": false,
|
|
5352
5320
|
"multiple": false,
|
|
5353
5321
|
"type": "option"
|
|
5354
5322
|
},
|
|
5355
|
-
"
|
|
5356
|
-
"description": "
|
|
5357
|
-
"
|
|
5323
|
+
"format": {
|
|
5324
|
+
"description": "Output format: text, json, yaml, or table",
|
|
5325
|
+
"helpGroup": "GLOBAL",
|
|
5326
|
+
"name": "format",
|
|
5327
|
+
"default": "text",
|
|
5358
5328
|
"hasDynamicHelp": false,
|
|
5359
5329
|
"multiple": false,
|
|
5360
5330
|
"options": [
|
|
5361
|
-
"
|
|
5362
|
-
"
|
|
5331
|
+
"text",
|
|
5332
|
+
"json",
|
|
5333
|
+
"yaml",
|
|
5334
|
+
"table"
|
|
5363
5335
|
],
|
|
5364
5336
|
"type": "option"
|
|
5365
5337
|
},
|
|
5366
|
-
"
|
|
5367
|
-
"description": "
|
|
5368
|
-
"
|
|
5369
|
-
"
|
|
5370
|
-
"
|
|
5371
|
-
"
|
|
5372
|
-
"0",
|
|
5373
|
-
"1"
|
|
5374
|
-
],
|
|
5375
|
-
"type": "option"
|
|
5338
|
+
"json": {
|
|
5339
|
+
"description": "Output in JSON format (alias for --format=json)",
|
|
5340
|
+
"helpGroup": "GLOBAL",
|
|
5341
|
+
"name": "json",
|
|
5342
|
+
"allowNo": false,
|
|
5343
|
+
"type": "boolean"
|
|
5376
5344
|
},
|
|
5377
|
-
"
|
|
5378
|
-
"description": "
|
|
5379
|
-
"
|
|
5380
|
-
"
|
|
5381
|
-
"
|
|
5382
|
-
"type": "
|
|
5345
|
+
"quiet": {
|
|
5346
|
+
"description": "Suppress all output except errors",
|
|
5347
|
+
"helpGroup": "GLOBAL",
|
|
5348
|
+
"name": "quiet",
|
|
5349
|
+
"allowNo": false,
|
|
5350
|
+
"type": "boolean"
|
|
5383
5351
|
},
|
|
5384
|
-
"
|
|
5385
|
-
"description": "
|
|
5386
|
-
"
|
|
5387
|
-
"
|
|
5388
|
-
"
|
|
5389
|
-
"type": "
|
|
5352
|
+
"no-color": {
|
|
5353
|
+
"description": "Disable color output",
|
|
5354
|
+
"helpGroup": "GLOBAL",
|
|
5355
|
+
"name": "no-color",
|
|
5356
|
+
"allowNo": false,
|
|
5357
|
+
"type": "boolean"
|
|
5390
5358
|
},
|
|
5391
|
-
"
|
|
5392
|
-
"description": "
|
|
5393
|
-
"
|
|
5359
|
+
"profile": {
|
|
5360
|
+
"description": "Named configuration profile to use",
|
|
5361
|
+
"helpGroup": "GLOBAL",
|
|
5362
|
+
"name": "profile",
|
|
5363
|
+
"default": "default",
|
|
5394
5364
|
"hasDynamicHelp": false,
|
|
5395
5365
|
"multiple": false,
|
|
5396
|
-
"options": [
|
|
5397
|
-
"any",
|
|
5398
|
-
"all"
|
|
5399
|
-
],
|
|
5400
5366
|
"type": "option"
|
|
5401
5367
|
},
|
|
5402
|
-
"
|
|
5403
|
-
"description": "
|
|
5404
|
-
"
|
|
5368
|
+
"api-url": {
|
|
5369
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
5370
|
+
"helpGroup": "GLOBAL",
|
|
5371
|
+
"name": "api-url",
|
|
5405
5372
|
"hasDynamicHelp": false,
|
|
5406
5373
|
"multiple": false,
|
|
5407
|
-
"options": [
|
|
5408
|
-
"true",
|
|
5409
|
-
"false"
|
|
5410
|
-
],
|
|
5411
5374
|
"type": "option"
|
|
5412
5375
|
},
|
|
5413
|
-
"
|
|
5414
|
-
"description": "
|
|
5415
|
-
"name": "
|
|
5376
|
+
"order": {
|
|
5377
|
+
"description": "Order JSON array payload",
|
|
5378
|
+
"name": "order",
|
|
5379
|
+
"required": true,
|
|
5416
5380
|
"hasDynamicHelp": false,
|
|
5417
5381
|
"multiple": false,
|
|
5418
5382
|
"type": "option"
|
|
@@ -5420,7 +5384,7 @@
|
|
|
5420
5384
|
},
|
|
5421
5385
|
"hasDynamicHelp": false,
|
|
5422
5386
|
"hiddenAliases": [],
|
|
5423
|
-
"id": "
|
|
5387
|
+
"id": "custom-fields:reorder",
|
|
5424
5388
|
"pluginAlias": "@instantkom/cli",
|
|
5425
5389
|
"pluginName": "@instantkom/cli",
|
|
5426
5390
|
"pluginType": "core",
|
|
@@ -5430,20 +5394,20 @@
|
|
|
5430
5394
|
"relativePath": [
|
|
5431
5395
|
"dist",
|
|
5432
5396
|
"commands",
|
|
5433
|
-
"
|
|
5434
|
-
"
|
|
5397
|
+
"custom-fields",
|
|
5398
|
+
"reorder.js"
|
|
5435
5399
|
]
|
|
5436
5400
|
},
|
|
5437
|
-
"
|
|
5401
|
+
"custom-fields:update": {
|
|
5438
5402
|
"aliases": [],
|
|
5439
5403
|
"args": {
|
|
5440
5404
|
"id": {
|
|
5441
|
-
"description": "
|
|
5405
|
+
"description": "Custom field ID",
|
|
5442
5406
|
"name": "id",
|
|
5443
5407
|
"required": true
|
|
5444
5408
|
}
|
|
5445
5409
|
},
|
|
5446
|
-
"description": "Update a
|
|
5410
|
+
"description": "Update a custom field",
|
|
5447
5411
|
"flags": {
|
|
5448
5412
|
"api-key": {
|
|
5449
5413
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5507,16 +5471,52 @@
|
|
|
5507
5471
|
"multiple": false,
|
|
5508
5472
|
"type": "option"
|
|
5509
5473
|
},
|
|
5510
|
-
"
|
|
5511
|
-
"description": "
|
|
5512
|
-
"name": "
|
|
5474
|
+
"name": {
|
|
5475
|
+
"description": "Field name",
|
|
5476
|
+
"name": "name",
|
|
5513
5477
|
"hasDynamicHelp": false,
|
|
5514
5478
|
"multiple": false,
|
|
5515
5479
|
"type": "option"
|
|
5516
5480
|
},
|
|
5517
|
-
"
|
|
5518
|
-
"description": "
|
|
5519
|
-
"name": "
|
|
5481
|
+
"type": {
|
|
5482
|
+
"description": "Field type",
|
|
5483
|
+
"name": "type",
|
|
5484
|
+
"hasDynamicHelp": false,
|
|
5485
|
+
"multiple": false,
|
|
5486
|
+
"options": [
|
|
5487
|
+
"text",
|
|
5488
|
+
"number",
|
|
5489
|
+
"date",
|
|
5490
|
+
"dropdown",
|
|
5491
|
+
"checkbox",
|
|
5492
|
+
"url",
|
|
5493
|
+
"email",
|
|
5494
|
+
"phone"
|
|
5495
|
+
],
|
|
5496
|
+
"type": "option"
|
|
5497
|
+
},
|
|
5498
|
+
"required": {
|
|
5499
|
+
"description": "Field is required",
|
|
5500
|
+
"name": "required",
|
|
5501
|
+
"allowNo": true,
|
|
5502
|
+
"type": "boolean"
|
|
5503
|
+
},
|
|
5504
|
+
"status": {
|
|
5505
|
+
"description": "Field is active",
|
|
5506
|
+
"name": "status",
|
|
5507
|
+
"allowNo": true,
|
|
5508
|
+
"type": "boolean"
|
|
5509
|
+
},
|
|
5510
|
+
"default": {
|
|
5511
|
+
"description": "Default value",
|
|
5512
|
+
"name": "default",
|
|
5513
|
+
"hasDynamicHelp": false,
|
|
5514
|
+
"multiple": false,
|
|
5515
|
+
"type": "option"
|
|
5516
|
+
},
|
|
5517
|
+
"options": {
|
|
5518
|
+
"description": "Comma-separated dropdown options",
|
|
5519
|
+
"name": "options",
|
|
5520
5520
|
"hasDynamicHelp": false,
|
|
5521
5521
|
"multiple": false,
|
|
5522
5522
|
"type": "option"
|
|
@@ -5531,7 +5531,7 @@
|
|
|
5531
5531
|
},
|
|
5532
5532
|
"hasDynamicHelp": false,
|
|
5533
5533
|
"hiddenAliases": [],
|
|
5534
|
-
"id": "
|
|
5534
|
+
"id": "custom-fields:update",
|
|
5535
5535
|
"pluginAlias": "@instantkom/cli",
|
|
5536
5536
|
"pluginName": "@instantkom/cli",
|
|
5537
5537
|
"pluginType": "core",
|
|
@@ -5541,7 +5541,7 @@
|
|
|
5541
5541
|
"relativePath": [
|
|
5542
5542
|
"dist",
|
|
5543
5543
|
"commands",
|
|
5544
|
-
"
|
|
5544
|
+
"custom-fields",
|
|
5545
5545
|
"update.js"
|
|
5546
5546
|
]
|
|
5547
5547
|
},
|
|
@@ -6076,10 +6076,10 @@
|
|
|
6076
6076
|
"list.js"
|
|
6077
6077
|
]
|
|
6078
6078
|
},
|
|
6079
|
-
"
|
|
6079
|
+
"flows:create": {
|
|
6080
6080
|
"aliases": [],
|
|
6081
6081
|
"args": {},
|
|
6082
|
-
"description": "
|
|
6082
|
+
"description": "Create a flow",
|
|
6083
6083
|
"flags": {
|
|
6084
6084
|
"api-key": {
|
|
6085
6085
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6143,24 +6143,54 @@
|
|
|
6143
6143
|
"multiple": false,
|
|
6144
6144
|
"type": "option"
|
|
6145
6145
|
},
|
|
6146
|
-
"
|
|
6147
|
-
"description": "
|
|
6148
|
-
"name": "
|
|
6146
|
+
"channel": {
|
|
6147
|
+
"description": "Channel ID",
|
|
6148
|
+
"name": "channel",
|
|
6149
6149
|
"required": true,
|
|
6150
6150
|
"hasDynamicHelp": false,
|
|
6151
6151
|
"multiple": false,
|
|
6152
6152
|
"type": "option"
|
|
6153
6153
|
},
|
|
6154
|
-
"
|
|
6155
|
-
"description": "
|
|
6156
|
-
"name": "
|
|
6157
|
-
"
|
|
6158
|
-
"
|
|
6154
|
+
"name": {
|
|
6155
|
+
"description": "Flow name",
|
|
6156
|
+
"name": "name",
|
|
6157
|
+
"required": true,
|
|
6158
|
+
"hasDynamicHelp": false,
|
|
6159
|
+
"multiple": false,
|
|
6160
|
+
"type": "option"
|
|
6161
|
+
},
|
|
6162
|
+
"description": {
|
|
6163
|
+
"description": "Flow description",
|
|
6164
|
+
"name": "description",
|
|
6165
|
+
"hasDynamicHelp": false,
|
|
6166
|
+
"multiple": false,
|
|
6167
|
+
"type": "option"
|
|
6168
|
+
},
|
|
6169
|
+
"color": {
|
|
6170
|
+
"description": "Flow color as HEX",
|
|
6171
|
+
"name": "color",
|
|
6172
|
+
"hasDynamicHelp": false,
|
|
6173
|
+
"multiple": false,
|
|
6174
|
+
"type": "option"
|
|
6175
|
+
},
|
|
6176
|
+
"folder": {
|
|
6177
|
+
"description": "Folder ID",
|
|
6178
|
+
"name": "folder",
|
|
6179
|
+
"hasDynamicHelp": false,
|
|
6180
|
+
"multiple": false,
|
|
6181
|
+
"type": "option"
|
|
6182
|
+
},
|
|
6183
|
+
"data": {
|
|
6184
|
+
"description": "Additional JSON object payload",
|
|
6185
|
+
"name": "data",
|
|
6186
|
+
"hasDynamicHelp": false,
|
|
6187
|
+
"multiple": false,
|
|
6188
|
+
"type": "option"
|
|
6159
6189
|
}
|
|
6160
6190
|
},
|
|
6161
6191
|
"hasDynamicHelp": false,
|
|
6162
6192
|
"hiddenAliases": [],
|
|
6163
|
-
"id": "
|
|
6193
|
+
"id": "flows:create",
|
|
6164
6194
|
"pluginAlias": "@instantkom/cli",
|
|
6165
6195
|
"pluginName": "@instantkom/cli",
|
|
6166
6196
|
"pluginType": "core",
|
|
@@ -6170,20 +6200,20 @@
|
|
|
6170
6200
|
"relativePath": [
|
|
6171
6201
|
"dist",
|
|
6172
6202
|
"commands",
|
|
6173
|
-
"
|
|
6174
|
-
"
|
|
6203
|
+
"flows",
|
|
6204
|
+
"create.js"
|
|
6175
6205
|
]
|
|
6176
6206
|
},
|
|
6177
|
-
"
|
|
6207
|
+
"flows:delete": {
|
|
6178
6208
|
"aliases": [],
|
|
6179
6209
|
"args": {
|
|
6180
6210
|
"id": {
|
|
6181
|
-
"description": "
|
|
6211
|
+
"description": "Flow ID",
|
|
6182
6212
|
"name": "id",
|
|
6183
6213
|
"required": true
|
|
6184
6214
|
}
|
|
6185
6215
|
},
|
|
6186
|
-
"description": "
|
|
6216
|
+
"description": "Delete a flow",
|
|
6187
6217
|
"flags": {
|
|
6188
6218
|
"api-key": {
|
|
6189
6219
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6246,32 +6276,11 @@
|
|
|
6246
6276
|
"hasDynamicHelp": false,
|
|
6247
6277
|
"multiple": false,
|
|
6248
6278
|
"type": "option"
|
|
6249
|
-
},
|
|
6250
|
-
"subject": {
|
|
6251
|
-
"description": "Ticket subject",
|
|
6252
|
-
"name": "subject",
|
|
6253
|
-
"hasDynamicHelp": false,
|
|
6254
|
-
"multiple": false,
|
|
6255
|
-
"type": "option"
|
|
6256
|
-
},
|
|
6257
|
-
"priority": {
|
|
6258
|
-
"description": "Ticket priority",
|
|
6259
|
-
"name": "priority",
|
|
6260
|
-
"hasDynamicHelp": false,
|
|
6261
|
-
"multiple": false,
|
|
6262
|
-
"type": "option"
|
|
6263
|
-
},
|
|
6264
|
-
"data": {
|
|
6265
|
-
"description": "Additional JSON object payload",
|
|
6266
|
-
"name": "data",
|
|
6267
|
-
"hasDynamicHelp": false,
|
|
6268
|
-
"multiple": false,
|
|
6269
|
-
"type": "option"
|
|
6270
6279
|
}
|
|
6271
6280
|
},
|
|
6272
6281
|
"hasDynamicHelp": false,
|
|
6273
6282
|
"hiddenAliases": [],
|
|
6274
|
-
"id": "
|
|
6283
|
+
"id": "flows:delete",
|
|
6275
6284
|
"pluginAlias": "@instantkom/cli",
|
|
6276
6285
|
"pluginName": "@instantkom/cli",
|
|
6277
6286
|
"pluginType": "core",
|
|
@@ -6281,20 +6290,20 @@
|
|
|
6281
6290
|
"relativePath": [
|
|
6282
6291
|
"dist",
|
|
6283
6292
|
"commands",
|
|
6284
|
-
"
|
|
6285
|
-
"
|
|
6293
|
+
"flows",
|
|
6294
|
+
"delete.js"
|
|
6286
6295
|
]
|
|
6287
6296
|
},
|
|
6288
|
-
"
|
|
6297
|
+
"flows:get": {
|
|
6289
6298
|
"aliases": [],
|
|
6290
6299
|
"args": {
|
|
6291
6300
|
"id": {
|
|
6292
|
-
"description": "
|
|
6301
|
+
"description": "Flow ID",
|
|
6293
6302
|
"name": "id",
|
|
6294
6303
|
"required": true
|
|
6295
6304
|
}
|
|
6296
6305
|
},
|
|
6297
|
-
"description": "
|
|
6306
|
+
"description": "Get a flow by ID",
|
|
6298
6307
|
"flags": {
|
|
6299
6308
|
"api-key": {
|
|
6300
6309
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6361,7 +6370,7 @@
|
|
|
6361
6370
|
},
|
|
6362
6371
|
"hasDynamicHelp": false,
|
|
6363
6372
|
"hiddenAliases": [],
|
|
6364
|
-
"id": "
|
|
6373
|
+
"id": "flows:get",
|
|
6365
6374
|
"pluginAlias": "@instantkom/cli",
|
|
6366
6375
|
"pluginName": "@instantkom/cli",
|
|
6367
6376
|
"pluginType": "core",
|
|
@@ -6371,20 +6380,14 @@
|
|
|
6371
6380
|
"relativePath": [
|
|
6372
6381
|
"dist",
|
|
6373
6382
|
"commands",
|
|
6374
|
-
"
|
|
6375
|
-
"
|
|
6383
|
+
"flows",
|
|
6384
|
+
"get.js"
|
|
6376
6385
|
]
|
|
6377
6386
|
},
|
|
6378
|
-
"
|
|
6387
|
+
"flows:list": {
|
|
6379
6388
|
"aliases": [],
|
|
6380
|
-
"args": {
|
|
6381
|
-
|
|
6382
|
-
"description": "message ID",
|
|
6383
|
-
"name": "id",
|
|
6384
|
-
"required": true
|
|
6385
|
-
}
|
|
6386
|
-
},
|
|
6387
|
-
"description": "Get message by ID",
|
|
6389
|
+
"args": {},
|
|
6390
|
+
"description": "List flows",
|
|
6388
6391
|
"flags": {
|
|
6389
6392
|
"api-key": {
|
|
6390
6393
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6447,11 +6450,48 @@
|
|
|
6447
6450
|
"hasDynamicHelp": false,
|
|
6448
6451
|
"multiple": false,
|
|
6449
6452
|
"type": "option"
|
|
6453
|
+
},
|
|
6454
|
+
"page": {
|
|
6455
|
+
"description": "Page number",
|
|
6456
|
+
"name": "page",
|
|
6457
|
+
"default": 1,
|
|
6458
|
+
"hasDynamicHelp": false,
|
|
6459
|
+
"multiple": false,
|
|
6460
|
+
"type": "option"
|
|
6461
|
+
},
|
|
6462
|
+
"limit": {
|
|
6463
|
+
"description": "Items per page",
|
|
6464
|
+
"name": "limit",
|
|
6465
|
+
"default": 20,
|
|
6466
|
+
"hasDynamicHelp": false,
|
|
6467
|
+
"multiple": false,
|
|
6468
|
+
"type": "option"
|
|
6469
|
+
},
|
|
6470
|
+
"channel": {
|
|
6471
|
+
"description": "Filter by channel ID",
|
|
6472
|
+
"name": "channel",
|
|
6473
|
+
"hasDynamicHelp": false,
|
|
6474
|
+
"multiple": false,
|
|
6475
|
+
"type": "option"
|
|
6476
|
+
},
|
|
6477
|
+
"search": {
|
|
6478
|
+
"description": "Search in flow name or description",
|
|
6479
|
+
"name": "search",
|
|
6480
|
+
"hasDynamicHelp": false,
|
|
6481
|
+
"multiple": false,
|
|
6482
|
+
"type": "option"
|
|
6483
|
+
},
|
|
6484
|
+
"folder": {
|
|
6485
|
+
"description": "Filter by folder ID",
|
|
6486
|
+
"name": "folder",
|
|
6487
|
+
"hasDynamicHelp": false,
|
|
6488
|
+
"multiple": false,
|
|
6489
|
+
"type": "option"
|
|
6450
6490
|
}
|
|
6451
6491
|
},
|
|
6452
6492
|
"hasDynamicHelp": false,
|
|
6453
6493
|
"hiddenAliases": [],
|
|
6454
|
-
"id": "
|
|
6494
|
+
"id": "flows:list",
|
|
6455
6495
|
"pluginAlias": "@instantkom/cli",
|
|
6456
6496
|
"pluginName": "@instantkom/cli",
|
|
6457
6497
|
"pluginType": "core",
|
|
@@ -6461,14 +6501,20 @@
|
|
|
6461
6501
|
"relativePath": [
|
|
6462
6502
|
"dist",
|
|
6463
6503
|
"commands",
|
|
6464
|
-
"
|
|
6465
|
-
"
|
|
6504
|
+
"flows",
|
|
6505
|
+
"list.js"
|
|
6466
6506
|
]
|
|
6467
6507
|
},
|
|
6468
|
-
"
|
|
6508
|
+
"flows:update": {
|
|
6469
6509
|
"aliases": [],
|
|
6470
|
-
"args": {
|
|
6471
|
-
|
|
6510
|
+
"args": {
|
|
6511
|
+
"id": {
|
|
6512
|
+
"description": "Flow ID",
|
|
6513
|
+
"name": "id",
|
|
6514
|
+
"required": true
|
|
6515
|
+
}
|
|
6516
|
+
},
|
|
6517
|
+
"description": "Update a flow",
|
|
6472
6518
|
"flags": {
|
|
6473
6519
|
"api-key": {
|
|
6474
6520
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6532,71 +6578,45 @@
|
|
|
6532
6578
|
"multiple": false,
|
|
6533
6579
|
"type": "option"
|
|
6534
6580
|
},
|
|
6535
|
-
"
|
|
6536
|
-
"description": "
|
|
6537
|
-
"name": "
|
|
6538
|
-
"default": 1,
|
|
6539
|
-
"hasDynamicHelp": false,
|
|
6540
|
-
"multiple": false,
|
|
6541
|
-
"type": "option"
|
|
6542
|
-
},
|
|
6543
|
-
"limit": {
|
|
6544
|
-
"description": "Items per page",
|
|
6545
|
-
"name": "limit",
|
|
6546
|
-
"default": 20,
|
|
6547
|
-
"hasDynamicHelp": false,
|
|
6548
|
-
"multiple": false,
|
|
6549
|
-
"type": "option"
|
|
6550
|
-
},
|
|
6551
|
-
"channel": {
|
|
6552
|
-
"description": "Filter by channel ID",
|
|
6553
|
-
"name": "channel",
|
|
6581
|
+
"name": {
|
|
6582
|
+
"description": "Flow name",
|
|
6583
|
+
"name": "name",
|
|
6554
6584
|
"hasDynamicHelp": false,
|
|
6555
6585
|
"multiple": false,
|
|
6556
6586
|
"type": "option"
|
|
6557
6587
|
},
|
|
6558
|
-
"
|
|
6559
|
-
"description": "
|
|
6560
|
-
"name": "
|
|
6588
|
+
"description": {
|
|
6589
|
+
"description": "Flow description",
|
|
6590
|
+
"name": "description",
|
|
6561
6591
|
"hasDynamicHelp": false,
|
|
6562
6592
|
"multiple": false,
|
|
6563
6593
|
"type": "option"
|
|
6564
6594
|
},
|
|
6565
|
-
"
|
|
6566
|
-
"description": "
|
|
6567
|
-
"name": "
|
|
6595
|
+
"color": {
|
|
6596
|
+
"description": "Flow color as HEX",
|
|
6597
|
+
"name": "color",
|
|
6568
6598
|
"hasDynamicHelp": false,
|
|
6569
6599
|
"multiple": false,
|
|
6570
|
-
"options": [
|
|
6571
|
-
"s",
|
|
6572
|
-
"r"
|
|
6573
|
-
],
|
|
6574
6600
|
"type": "option"
|
|
6575
6601
|
},
|
|
6576
|
-
"
|
|
6577
|
-
"description": "
|
|
6578
|
-
"name": "
|
|
6602
|
+
"folder": {
|
|
6603
|
+
"description": "Folder ID",
|
|
6604
|
+
"name": "folder",
|
|
6579
6605
|
"hasDynamicHelp": false,
|
|
6580
6606
|
"multiple": false,
|
|
6581
6607
|
"type": "option"
|
|
6582
6608
|
},
|
|
6583
|
-
"
|
|
6584
|
-
"description": "
|
|
6585
|
-
"name": "
|
|
6609
|
+
"data": {
|
|
6610
|
+
"description": "Additional JSON object payload",
|
|
6611
|
+
"name": "data",
|
|
6586
6612
|
"hasDynamicHelp": false,
|
|
6587
6613
|
"multiple": false,
|
|
6588
6614
|
"type": "option"
|
|
6589
|
-
},
|
|
6590
|
-
"spam": {
|
|
6591
|
-
"description": "Filter spam messages",
|
|
6592
|
-
"name": "spam",
|
|
6593
|
-
"allowNo": false,
|
|
6594
|
-
"type": "boolean"
|
|
6595
6615
|
}
|
|
6596
6616
|
},
|
|
6597
6617
|
"hasDynamicHelp": false,
|
|
6598
6618
|
"hiddenAliases": [],
|
|
6599
|
-
"id": "
|
|
6619
|
+
"id": "flows:update",
|
|
6600
6620
|
"pluginAlias": "@instantkom/cli",
|
|
6601
6621
|
"pluginName": "@instantkom/cli",
|
|
6602
6622
|
"pluginType": "core",
|
|
@@ -6606,20 +6626,14 @@
|
|
|
6606
6626
|
"relativePath": [
|
|
6607
6627
|
"dist",
|
|
6608
6628
|
"commands",
|
|
6609
|
-
"
|
|
6610
|
-
"
|
|
6629
|
+
"flows",
|
|
6630
|
+
"update.js"
|
|
6611
6631
|
]
|
|
6612
6632
|
},
|
|
6613
|
-
"messages:
|
|
6633
|
+
"messages:bulk-spam": {
|
|
6614
6634
|
"aliases": [],
|
|
6615
|
-
"args": {
|
|
6616
|
-
|
|
6617
|
-
"description": "Message ID",
|
|
6618
|
-
"name": "id",
|
|
6619
|
-
"required": true
|
|
6620
|
-
}
|
|
6621
|
-
},
|
|
6622
|
-
"description": "Get reactions to a message",
|
|
6635
|
+
"args": {},
|
|
6636
|
+
"description": "Mark or unmark multiple messages as spam",
|
|
6623
6637
|
"flags": {
|
|
6624
6638
|
"api-key": {
|
|
6625
6639
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6682,11 +6696,25 @@
|
|
|
6682
6696
|
"hasDynamicHelp": false,
|
|
6683
6697
|
"multiple": false,
|
|
6684
6698
|
"type": "option"
|
|
6699
|
+
},
|
|
6700
|
+
"ids": {
|
|
6701
|
+
"description": "Comma-separated message IDs",
|
|
6702
|
+
"name": "ids",
|
|
6703
|
+
"required": true,
|
|
6704
|
+
"hasDynamicHelp": false,
|
|
6705
|
+
"multiple": false,
|
|
6706
|
+
"type": "option"
|
|
6707
|
+
},
|
|
6708
|
+
"spam": {
|
|
6709
|
+
"description": "Mark messages as spam",
|
|
6710
|
+
"name": "spam",
|
|
6711
|
+
"allowNo": true,
|
|
6712
|
+
"type": "boolean"
|
|
6685
6713
|
}
|
|
6686
6714
|
},
|
|
6687
6715
|
"hasDynamicHelp": false,
|
|
6688
6716
|
"hiddenAliases": [],
|
|
6689
|
-
"id": "messages:
|
|
6717
|
+
"id": "messages:bulk-spam",
|
|
6690
6718
|
"pluginAlias": "@instantkom/cli",
|
|
6691
6719
|
"pluginName": "@instantkom/cli",
|
|
6692
6720
|
"pluginType": "core",
|
|
@@ -6697,10 +6725,10 @@
|
|
|
6697
6725
|
"dist",
|
|
6698
6726
|
"commands",
|
|
6699
6727
|
"messages",
|
|
6700
|
-
"
|
|
6728
|
+
"bulk-spam.js"
|
|
6701
6729
|
]
|
|
6702
6730
|
},
|
|
6703
|
-
"messages:
|
|
6731
|
+
"messages:create-ticket": {
|
|
6704
6732
|
"aliases": [],
|
|
6705
6733
|
"args": {
|
|
6706
6734
|
"id": {
|
|
@@ -6709,7 +6737,7 @@
|
|
|
6709
6737
|
"required": true
|
|
6710
6738
|
}
|
|
6711
6739
|
},
|
|
6712
|
-
"description": "
|
|
6740
|
+
"description": "Create a ticket from a message",
|
|
6713
6741
|
"flags": {
|
|
6714
6742
|
"api-key": {
|
|
6715
6743
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6773,16 +6801,31 @@
|
|
|
6773
6801
|
"multiple": false,
|
|
6774
6802
|
"type": "option"
|
|
6775
6803
|
},
|
|
6776
|
-
"
|
|
6777
|
-
"description": "
|
|
6778
|
-
"name": "
|
|
6779
|
-
"
|
|
6780
|
-
"
|
|
6804
|
+
"subject": {
|
|
6805
|
+
"description": "Ticket subject",
|
|
6806
|
+
"name": "subject",
|
|
6807
|
+
"hasDynamicHelp": false,
|
|
6808
|
+
"multiple": false,
|
|
6809
|
+
"type": "option"
|
|
6810
|
+
},
|
|
6811
|
+
"priority": {
|
|
6812
|
+
"description": "Ticket priority",
|
|
6813
|
+
"name": "priority",
|
|
6814
|
+
"hasDynamicHelp": false,
|
|
6815
|
+
"multiple": false,
|
|
6816
|
+
"type": "option"
|
|
6817
|
+
},
|
|
6818
|
+
"data": {
|
|
6819
|
+
"description": "Additional JSON object payload",
|
|
6820
|
+
"name": "data",
|
|
6821
|
+
"hasDynamicHelp": false,
|
|
6822
|
+
"multiple": false,
|
|
6823
|
+
"type": "option"
|
|
6781
6824
|
}
|
|
6782
6825
|
},
|
|
6783
6826
|
"hasDynamicHelp": false,
|
|
6784
6827
|
"hiddenAliases": [],
|
|
6785
|
-
"id": "messages:
|
|
6828
|
+
"id": "messages:create-ticket",
|
|
6786
6829
|
"pluginAlias": "@instantkom/cli",
|
|
6787
6830
|
"pluginName": "@instantkom/cli",
|
|
6788
6831
|
"pluginType": "core",
|
|
@@ -6793,13 +6836,19 @@
|
|
|
6793
6836
|
"dist",
|
|
6794
6837
|
"commands",
|
|
6795
6838
|
"messages",
|
|
6796
|
-
"
|
|
6839
|
+
"create-ticket.js"
|
|
6797
6840
|
]
|
|
6798
6841
|
},
|
|
6799
|
-
"messages:
|
|
6842
|
+
"messages:delete": {
|
|
6800
6843
|
"aliases": [],
|
|
6801
|
-
"args": {
|
|
6802
|
-
|
|
6844
|
+
"args": {
|
|
6845
|
+
"id": {
|
|
6846
|
+
"description": "message ID",
|
|
6847
|
+
"name": "id",
|
|
6848
|
+
"required": true
|
|
6849
|
+
}
|
|
6850
|
+
},
|
|
6851
|
+
"description": "Delete message",
|
|
6803
6852
|
"flags": {
|
|
6804
6853
|
"api-key": {
|
|
6805
6854
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6866,7 +6915,7 @@
|
|
|
6866
6915
|
},
|
|
6867
6916
|
"hasDynamicHelp": false,
|
|
6868
6917
|
"hiddenAliases": [],
|
|
6869
|
-
"id": "messages:
|
|
6918
|
+
"id": "messages:delete",
|
|
6870
6919
|
"pluginAlias": "@instantkom/cli",
|
|
6871
6920
|
"pluginName": "@instantkom/cli",
|
|
6872
6921
|
"pluginType": "core",
|
|
@@ -6877,19 +6926,19 @@
|
|
|
6877
6926
|
"dist",
|
|
6878
6927
|
"commands",
|
|
6879
6928
|
"messages",
|
|
6880
|
-
"
|
|
6929
|
+
"delete.js"
|
|
6881
6930
|
]
|
|
6882
6931
|
},
|
|
6883
|
-
"messages:
|
|
6932
|
+
"messages:get": {
|
|
6884
6933
|
"aliases": [],
|
|
6885
6934
|
"args": {
|
|
6886
6935
|
"id": {
|
|
6887
|
-
"description": "
|
|
6936
|
+
"description": "message ID",
|
|
6888
6937
|
"name": "id",
|
|
6889
6938
|
"required": true
|
|
6890
6939
|
}
|
|
6891
6940
|
},
|
|
6892
|
-
"description": "
|
|
6941
|
+
"description": "Get message by ID",
|
|
6893
6942
|
"flags": {
|
|
6894
6943
|
"api-key": {
|
|
6895
6944
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6952,58 +7001,11 @@
|
|
|
6952
7001
|
"hasDynamicHelp": false,
|
|
6953
7002
|
"multiple": false,
|
|
6954
7003
|
"type": "option"
|
|
6955
|
-
},
|
|
6956
|
-
"message": {
|
|
6957
|
-
"description": "Message content",
|
|
6958
|
-
"name": "message",
|
|
6959
|
-
"hasDynamicHelp": false,
|
|
6960
|
-
"multiple": false,
|
|
6961
|
-
"type": "option"
|
|
6962
|
-
},
|
|
6963
|
-
"scheduled-at": {
|
|
6964
|
-
"description": "Unix timestamp for scheduled send",
|
|
6965
|
-
"name": "scheduled-at",
|
|
6966
|
-
"hasDynamicHelp": false,
|
|
6967
|
-
"multiple": false,
|
|
6968
|
-
"type": "option"
|
|
6969
|
-
},
|
|
6970
|
-
"hidden": {
|
|
6971
|
-
"description": "Hide message",
|
|
6972
|
-
"name": "hidden",
|
|
6973
|
-
"allowNo": true,
|
|
6974
|
-
"type": "boolean"
|
|
6975
|
-
},
|
|
6976
|
-
"locked": {
|
|
6977
|
-
"description": "Lock message",
|
|
6978
|
-
"name": "locked",
|
|
6979
|
-
"allowNo": true,
|
|
6980
|
-
"type": "boolean"
|
|
6981
|
-
},
|
|
6982
|
-
"buttons": {
|
|
6983
|
-
"description": "Buttons JSON array",
|
|
6984
|
-
"name": "buttons",
|
|
6985
|
-
"hasDynamicHelp": false,
|
|
6986
|
-
"multiple": false,
|
|
6987
|
-
"type": "option"
|
|
6988
|
-
},
|
|
6989
|
-
"header-footer": {
|
|
6990
|
-
"description": "Header/footer JSON object",
|
|
6991
|
-
"name": "header-footer",
|
|
6992
|
-
"hasDynamicHelp": false,
|
|
6993
|
-
"multiple": false,
|
|
6994
|
-
"type": "option"
|
|
6995
|
-
},
|
|
6996
|
-
"data": {
|
|
6997
|
-
"description": "Additional JSON object payload",
|
|
6998
|
-
"name": "data",
|
|
6999
|
-
"hasDynamicHelp": false,
|
|
7000
|
-
"multiple": false,
|
|
7001
|
-
"type": "option"
|
|
7002
7004
|
}
|
|
7003
7005
|
},
|
|
7004
7006
|
"hasDynamicHelp": false,
|
|
7005
7007
|
"hiddenAliases": [],
|
|
7006
|
-
"id": "messages:
|
|
7008
|
+
"id": "messages:get",
|
|
7007
7009
|
"pluginAlias": "@instantkom/cli",
|
|
7008
7010
|
"pluginName": "@instantkom/cli",
|
|
7009
7011
|
"pluginType": "core",
|
|
@@ -7014,13 +7016,13 @@
|
|
|
7014
7016
|
"dist",
|
|
7015
7017
|
"commands",
|
|
7016
7018
|
"messages",
|
|
7017
|
-
"
|
|
7019
|
+
"get.js"
|
|
7018
7020
|
]
|
|
7019
7021
|
},
|
|
7020
|
-
"
|
|
7022
|
+
"messages:list": {
|
|
7021
7023
|
"aliases": [],
|
|
7022
7024
|
"args": {},
|
|
7023
|
-
"description": "
|
|
7025
|
+
"description": "List messages",
|
|
7024
7026
|
"flags": {
|
|
7025
7027
|
"api-key": {
|
|
7026
7028
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7084,61 +7086,71 @@
|
|
|
7084
7086
|
"multiple": false,
|
|
7085
7087
|
"type": "option"
|
|
7086
7088
|
},
|
|
7087
|
-
"
|
|
7088
|
-
"description": "
|
|
7089
|
-
"name": "
|
|
7090
|
-
"
|
|
7089
|
+
"page": {
|
|
7090
|
+
"description": "Page number",
|
|
7091
|
+
"name": "page",
|
|
7092
|
+
"default": 1,
|
|
7091
7093
|
"hasDynamicHelp": false,
|
|
7092
7094
|
"multiple": false,
|
|
7093
7095
|
"type": "option"
|
|
7094
7096
|
},
|
|
7095
|
-
"
|
|
7096
|
-
"description": "
|
|
7097
|
-
"name": "
|
|
7098
|
-
"
|
|
7097
|
+
"limit": {
|
|
7098
|
+
"description": "Items per page",
|
|
7099
|
+
"name": "limit",
|
|
7100
|
+
"default": 20,
|
|
7099
7101
|
"hasDynamicHelp": false,
|
|
7100
7102
|
"multiple": false,
|
|
7101
7103
|
"type": "option"
|
|
7102
7104
|
},
|
|
7103
|
-
"
|
|
7104
|
-
"description": "
|
|
7105
|
-
"name": "
|
|
7105
|
+
"channel": {
|
|
7106
|
+
"description": "Filter by channel ID",
|
|
7107
|
+
"name": "channel",
|
|
7106
7108
|
"hasDynamicHelp": false,
|
|
7107
7109
|
"multiple": false,
|
|
7108
7110
|
"type": "option"
|
|
7109
7111
|
},
|
|
7110
|
-
"
|
|
7111
|
-
"description": "
|
|
7112
|
-
"name": "
|
|
7112
|
+
"recipient": {
|
|
7113
|
+
"description": "Filter by recipient ID",
|
|
7114
|
+
"name": "recipient",
|
|
7113
7115
|
"hasDynamicHelp": false,
|
|
7114
7116
|
"multiple": false,
|
|
7115
7117
|
"type": "option"
|
|
7116
7118
|
},
|
|
7117
|
-
"
|
|
7118
|
-
"description": "
|
|
7119
|
-
"name": "
|
|
7119
|
+
"direction": {
|
|
7120
|
+
"description": "Direction",
|
|
7121
|
+
"name": "direction",
|
|
7120
7122
|
"hasDynamicHelp": false,
|
|
7121
7123
|
"multiple": false,
|
|
7124
|
+
"options": [
|
|
7125
|
+
"s",
|
|
7126
|
+
"r"
|
|
7127
|
+
],
|
|
7122
7128
|
"type": "option"
|
|
7123
|
-
},
|
|
7124
|
-
"
|
|
7125
|
-
"description": "
|
|
7126
|
-
"name": "
|
|
7129
|
+
},
|
|
7130
|
+
"type": {
|
|
7131
|
+
"description": "Message type",
|
|
7132
|
+
"name": "type",
|
|
7127
7133
|
"hasDynamicHelp": false,
|
|
7128
7134
|
"multiple": false,
|
|
7129
7135
|
"type": "option"
|
|
7130
7136
|
},
|
|
7131
|
-
"
|
|
7132
|
-
"description": "
|
|
7133
|
-
"name": "
|
|
7137
|
+
"search": {
|
|
7138
|
+
"description": "Search messages",
|
|
7139
|
+
"name": "search",
|
|
7134
7140
|
"hasDynamicHelp": false,
|
|
7135
7141
|
"multiple": false,
|
|
7136
7142
|
"type": "option"
|
|
7143
|
+
},
|
|
7144
|
+
"spam": {
|
|
7145
|
+
"description": "Filter spam messages",
|
|
7146
|
+
"name": "spam",
|
|
7147
|
+
"allowNo": false,
|
|
7148
|
+
"type": "boolean"
|
|
7137
7149
|
}
|
|
7138
7150
|
},
|
|
7139
7151
|
"hasDynamicHelp": false,
|
|
7140
7152
|
"hiddenAliases": [],
|
|
7141
|
-
"id": "
|
|
7153
|
+
"id": "messages:list",
|
|
7142
7154
|
"pluginAlias": "@instantkom/cli",
|
|
7143
7155
|
"pluginName": "@instantkom/cli",
|
|
7144
7156
|
"pluginType": "core",
|
|
@@ -7148,20 +7160,20 @@
|
|
|
7148
7160
|
"relativePath": [
|
|
7149
7161
|
"dist",
|
|
7150
7162
|
"commands",
|
|
7151
|
-
"
|
|
7152
|
-
"
|
|
7163
|
+
"messages",
|
|
7164
|
+
"list.js"
|
|
7153
7165
|
]
|
|
7154
7166
|
},
|
|
7155
|
-
"
|
|
7167
|
+
"messages:reactions": {
|
|
7156
7168
|
"aliases": [],
|
|
7157
7169
|
"args": {
|
|
7158
7170
|
"id": {
|
|
7159
|
-
"description": "
|
|
7171
|
+
"description": "Message ID",
|
|
7160
7172
|
"name": "id",
|
|
7161
7173
|
"required": true
|
|
7162
7174
|
}
|
|
7163
7175
|
},
|
|
7164
|
-
"description": "
|
|
7176
|
+
"description": "Get reactions to a message",
|
|
7165
7177
|
"flags": {
|
|
7166
7178
|
"api-key": {
|
|
7167
7179
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7228,7 +7240,7 @@
|
|
|
7228
7240
|
},
|
|
7229
7241
|
"hasDynamicHelp": false,
|
|
7230
7242
|
"hiddenAliases": [],
|
|
7231
|
-
"id": "
|
|
7243
|
+
"id": "messages:reactions",
|
|
7232
7244
|
"pluginAlias": "@instantkom/cli",
|
|
7233
7245
|
"pluginName": "@instantkom/cli",
|
|
7234
7246
|
"pluginType": "core",
|
|
@@ -7238,20 +7250,20 @@
|
|
|
7238
7250
|
"relativePath": [
|
|
7239
7251
|
"dist",
|
|
7240
7252
|
"commands",
|
|
7241
|
-
"
|
|
7242
|
-
"
|
|
7253
|
+
"messages",
|
|
7254
|
+
"reactions.js"
|
|
7243
7255
|
]
|
|
7244
7256
|
},
|
|
7245
|
-
"
|
|
7257
|
+
"messages:spam": {
|
|
7246
7258
|
"aliases": [],
|
|
7247
7259
|
"args": {
|
|
7248
7260
|
"id": {
|
|
7249
|
-
"description": "
|
|
7261
|
+
"description": "Message ID",
|
|
7250
7262
|
"name": "id",
|
|
7251
7263
|
"required": true
|
|
7252
7264
|
}
|
|
7253
7265
|
},
|
|
7254
|
-
"description": "
|
|
7266
|
+
"description": "Mark or unmark a message as spam",
|
|
7255
7267
|
"flags": {
|
|
7256
7268
|
"api-key": {
|
|
7257
7269
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7314,11 +7326,17 @@
|
|
|
7314
7326
|
"hasDynamicHelp": false,
|
|
7315
7327
|
"multiple": false,
|
|
7316
7328
|
"type": "option"
|
|
7329
|
+
},
|
|
7330
|
+
"spam": {
|
|
7331
|
+
"description": "Mark as spam",
|
|
7332
|
+
"name": "spam",
|
|
7333
|
+
"allowNo": true,
|
|
7334
|
+
"type": "boolean"
|
|
7317
7335
|
}
|
|
7318
7336
|
},
|
|
7319
7337
|
"hasDynamicHelp": false,
|
|
7320
7338
|
"hiddenAliases": [],
|
|
7321
|
-
"id": "
|
|
7339
|
+
"id": "messages:spam",
|
|
7322
7340
|
"pluginAlias": "@instantkom/cli",
|
|
7323
7341
|
"pluginName": "@instantkom/cli",
|
|
7324
7342
|
"pluginType": "core",
|
|
@@ -7328,14 +7346,14 @@
|
|
|
7328
7346
|
"relativePath": [
|
|
7329
7347
|
"dist",
|
|
7330
7348
|
"commands",
|
|
7331
|
-
"
|
|
7332
|
-
"
|
|
7349
|
+
"messages",
|
|
7350
|
+
"spam.js"
|
|
7333
7351
|
]
|
|
7334
7352
|
},
|
|
7335
|
-
"
|
|
7353
|
+
"messages:unread-count": {
|
|
7336
7354
|
"aliases": [],
|
|
7337
7355
|
"args": {},
|
|
7338
|
-
"description": "
|
|
7356
|
+
"description": "Get unread inbox message count",
|
|
7339
7357
|
"flags": {
|
|
7340
7358
|
"api-key": {
|
|
7341
7359
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7398,59 +7416,11 @@
|
|
|
7398
7416
|
"hasDynamicHelp": false,
|
|
7399
7417
|
"multiple": false,
|
|
7400
7418
|
"type": "option"
|
|
7401
|
-
},
|
|
7402
|
-
"page": {
|
|
7403
|
-
"description": "Page number",
|
|
7404
|
-
"name": "page",
|
|
7405
|
-
"default": 1,
|
|
7406
|
-
"hasDynamicHelp": false,
|
|
7407
|
-
"multiple": false,
|
|
7408
|
-
"type": "option"
|
|
7409
|
-
},
|
|
7410
|
-
"limit": {
|
|
7411
|
-
"description": "Items per page",
|
|
7412
|
-
"name": "limit",
|
|
7413
|
-
"default": 20,
|
|
7414
|
-
"hasDynamicHelp": false,
|
|
7415
|
-
"multiple": false,
|
|
7416
|
-
"type": "option"
|
|
7417
|
-
},
|
|
7418
|
-
"channel": {
|
|
7419
|
-
"description": "Filter by channel ID",
|
|
7420
|
-
"name": "channel",
|
|
7421
|
-
"hasDynamicHelp": false,
|
|
7422
|
-
"multiple": false,
|
|
7423
|
-
"type": "option"
|
|
7424
|
-
},
|
|
7425
|
-
"search": {
|
|
7426
|
-
"description": "Search by name",
|
|
7427
|
-
"name": "search",
|
|
7428
|
-
"hasDynamicHelp": false,
|
|
7429
|
-
"multiple": false,
|
|
7430
|
-
"type": "option"
|
|
7431
|
-
},
|
|
7432
|
-
"tags": {
|
|
7433
|
-
"description": "Comma-separated tag IDs",
|
|
7434
|
-
"name": "tags",
|
|
7435
|
-
"hasDynamicHelp": false,
|
|
7436
|
-
"multiple": false,
|
|
7437
|
-
"type": "option"
|
|
7438
|
-
},
|
|
7439
|
-
"tag-match-mode": {
|
|
7440
|
-
"description": "Tag match mode",
|
|
7441
|
-
"name": "tag-match-mode",
|
|
7442
|
-
"hasDynamicHelp": false,
|
|
7443
|
-
"multiple": false,
|
|
7444
|
-
"options": [
|
|
7445
|
-
"any",
|
|
7446
|
-
"all"
|
|
7447
|
-
],
|
|
7448
|
-
"type": "option"
|
|
7449
7419
|
}
|
|
7450
7420
|
},
|
|
7451
7421
|
"hasDynamicHelp": false,
|
|
7452
7422
|
"hiddenAliases": [],
|
|
7453
|
-
"id": "
|
|
7423
|
+
"id": "messages:unread-count",
|
|
7454
7424
|
"pluginAlias": "@instantkom/cli",
|
|
7455
7425
|
"pluginName": "@instantkom/cli",
|
|
7456
7426
|
"pluginType": "core",
|
|
@@ -7460,20 +7430,20 @@
|
|
|
7460
7430
|
"relativePath": [
|
|
7461
7431
|
"dist",
|
|
7462
7432
|
"commands",
|
|
7463
|
-
"
|
|
7464
|
-
"
|
|
7433
|
+
"messages",
|
|
7434
|
+
"unread-count.js"
|
|
7465
7435
|
]
|
|
7466
7436
|
},
|
|
7467
|
-
"
|
|
7437
|
+
"messages:update": {
|
|
7468
7438
|
"aliases": [],
|
|
7469
7439
|
"args": {
|
|
7470
7440
|
"id": {
|
|
7471
|
-
"description": "
|
|
7441
|
+
"description": "Message ID",
|
|
7472
7442
|
"name": "id",
|
|
7473
7443
|
"required": true
|
|
7474
7444
|
}
|
|
7475
7445
|
},
|
|
7476
|
-
"description": "Update a
|
|
7446
|
+
"description": "Update a message",
|
|
7477
7447
|
"flags": {
|
|
7478
7448
|
"api-key": {
|
|
7479
7449
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7537,37 +7507,42 @@
|
|
|
7537
7507
|
"multiple": false,
|
|
7538
7508
|
"type": "option"
|
|
7539
7509
|
},
|
|
7540
|
-
"
|
|
7541
|
-
"description": "
|
|
7542
|
-
"name": "
|
|
7510
|
+
"message": {
|
|
7511
|
+
"description": "Message content",
|
|
7512
|
+
"name": "message",
|
|
7543
7513
|
"hasDynamicHelp": false,
|
|
7544
7514
|
"multiple": false,
|
|
7545
7515
|
"type": "option"
|
|
7546
7516
|
},
|
|
7547
|
-
"
|
|
7548
|
-
"description": "
|
|
7549
|
-
"name": "
|
|
7517
|
+
"scheduled-at": {
|
|
7518
|
+
"description": "Unix timestamp for scheduled send",
|
|
7519
|
+
"name": "scheduled-at",
|
|
7550
7520
|
"hasDynamicHelp": false,
|
|
7551
7521
|
"multiple": false,
|
|
7552
7522
|
"type": "option"
|
|
7553
7523
|
},
|
|
7554
|
-
"
|
|
7555
|
-
"description": "
|
|
7556
|
-
"name": "
|
|
7557
|
-
"
|
|
7558
|
-
"
|
|
7559
|
-
"type": "option"
|
|
7524
|
+
"hidden": {
|
|
7525
|
+
"description": "Hide message",
|
|
7526
|
+
"name": "hidden",
|
|
7527
|
+
"allowNo": true,
|
|
7528
|
+
"type": "boolean"
|
|
7560
7529
|
},
|
|
7561
|
-
"
|
|
7562
|
-
"description": "
|
|
7563
|
-
"name": "
|
|
7530
|
+
"locked": {
|
|
7531
|
+
"description": "Lock message",
|
|
7532
|
+
"name": "locked",
|
|
7533
|
+
"allowNo": true,
|
|
7534
|
+
"type": "boolean"
|
|
7535
|
+
},
|
|
7536
|
+
"buttons": {
|
|
7537
|
+
"description": "Buttons JSON array",
|
|
7538
|
+
"name": "buttons",
|
|
7564
7539
|
"hasDynamicHelp": false,
|
|
7565
7540
|
"multiple": false,
|
|
7566
7541
|
"type": "option"
|
|
7567
7542
|
},
|
|
7568
|
-
"
|
|
7569
|
-
"description": "
|
|
7570
|
-
"name": "
|
|
7543
|
+
"header-footer": {
|
|
7544
|
+
"description": "Header/footer JSON object",
|
|
7545
|
+
"name": "header-footer",
|
|
7571
7546
|
"hasDynamicHelp": false,
|
|
7572
7547
|
"multiple": false,
|
|
7573
7548
|
"type": "option"
|
|
@@ -7582,7 +7557,7 @@
|
|
|
7582
7557
|
},
|
|
7583
7558
|
"hasDynamicHelp": false,
|
|
7584
7559
|
"hiddenAliases": [],
|
|
7585
|
-
"id": "
|
|
7560
|
+
"id": "messages:update",
|
|
7586
7561
|
"pluginAlias": "@instantkom/cli",
|
|
7587
7562
|
"pluginName": "@instantkom/cli",
|
|
7588
7563
|
"pluginType": "core",
|
|
@@ -7592,14 +7567,14 @@
|
|
|
7592
7567
|
"relativePath": [
|
|
7593
7568
|
"dist",
|
|
7594
7569
|
"commands",
|
|
7595
|
-
"
|
|
7570
|
+
"messages",
|
|
7596
7571
|
"update.js"
|
|
7597
7572
|
]
|
|
7598
7573
|
},
|
|
7599
|
-
"
|
|
7574
|
+
"segments:create": {
|
|
7600
7575
|
"aliases": [],
|
|
7601
7576
|
"args": {},
|
|
7602
|
-
"description": "Create a
|
|
7577
|
+
"description": "Create a segment",
|
|
7603
7578
|
"flags": {
|
|
7604
7579
|
"api-key": {
|
|
7605
7580
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7672,7 +7647,7 @@
|
|
|
7672
7647
|
"type": "option"
|
|
7673
7648
|
},
|
|
7674
7649
|
"name": {
|
|
7675
|
-
"description": "
|
|
7650
|
+
"description": "Segment name",
|
|
7676
7651
|
"name": "name",
|
|
7677
7652
|
"required": true,
|
|
7678
7653
|
"hasDynamicHelp": false,
|
|
@@ -7680,21 +7655,28 @@
|
|
|
7680
7655
|
"type": "option"
|
|
7681
7656
|
},
|
|
7682
7657
|
"description": {
|
|
7683
|
-
"description": "
|
|
7658
|
+
"description": "Segment description",
|
|
7684
7659
|
"name": "description",
|
|
7685
7660
|
"hasDynamicHelp": false,
|
|
7686
7661
|
"multiple": false,
|
|
7687
7662
|
"type": "option"
|
|
7688
7663
|
},
|
|
7689
7664
|
"color": {
|
|
7690
|
-
"description": "
|
|
7665
|
+
"description": "Segment color as HEX",
|
|
7691
7666
|
"name": "color",
|
|
7692
7667
|
"hasDynamicHelp": false,
|
|
7693
7668
|
"multiple": false,
|
|
7694
7669
|
"type": "option"
|
|
7695
7670
|
},
|
|
7671
|
+
"tags": {
|
|
7672
|
+
"description": "Tags for filtering recipients",
|
|
7673
|
+
"name": "tags",
|
|
7674
|
+
"hasDynamicHelp": false,
|
|
7675
|
+
"multiple": false,
|
|
7676
|
+
"type": "option"
|
|
7677
|
+
},
|
|
7696
7678
|
"folder": {
|
|
7697
|
-
"description": "
|
|
7679
|
+
"description": "Object folder ID",
|
|
7698
7680
|
"name": "folder",
|
|
7699
7681
|
"hasDynamicHelp": false,
|
|
7700
7682
|
"multiple": false,
|
|
@@ -7710,7 +7692,7 @@
|
|
|
7710
7692
|
},
|
|
7711
7693
|
"hasDynamicHelp": false,
|
|
7712
7694
|
"hiddenAliases": [],
|
|
7713
|
-
"id": "
|
|
7695
|
+
"id": "segments:create",
|
|
7714
7696
|
"pluginAlias": "@instantkom/cli",
|
|
7715
7697
|
"pluginName": "@instantkom/cli",
|
|
7716
7698
|
"pluginType": "core",
|
|
@@ -7720,20 +7702,20 @@
|
|
|
7720
7702
|
"relativePath": [
|
|
7721
7703
|
"dist",
|
|
7722
7704
|
"commands",
|
|
7723
|
-
"
|
|
7705
|
+
"segments",
|
|
7724
7706
|
"create.js"
|
|
7725
7707
|
]
|
|
7726
7708
|
},
|
|
7727
|
-
"
|
|
7709
|
+
"segments:delete": {
|
|
7728
7710
|
"aliases": [],
|
|
7729
7711
|
"args": {
|
|
7730
7712
|
"id": {
|
|
7731
|
-
"description": "
|
|
7713
|
+
"description": "segment ID",
|
|
7732
7714
|
"name": "id",
|
|
7733
7715
|
"required": true
|
|
7734
7716
|
}
|
|
7735
7717
|
},
|
|
7736
|
-
"description": "Delete
|
|
7718
|
+
"description": "Delete segment",
|
|
7737
7719
|
"flags": {
|
|
7738
7720
|
"api-key": {
|
|
7739
7721
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7800,7 +7782,7 @@
|
|
|
7800
7782
|
},
|
|
7801
7783
|
"hasDynamicHelp": false,
|
|
7802
7784
|
"hiddenAliases": [],
|
|
7803
|
-
"id": "
|
|
7785
|
+
"id": "segments:delete",
|
|
7804
7786
|
"pluginAlias": "@instantkom/cli",
|
|
7805
7787
|
"pluginName": "@instantkom/cli",
|
|
7806
7788
|
"pluginType": "core",
|
|
@@ -7810,20 +7792,20 @@
|
|
|
7810
7792
|
"relativePath": [
|
|
7811
7793
|
"dist",
|
|
7812
7794
|
"commands",
|
|
7813
|
-
"
|
|
7795
|
+
"segments",
|
|
7814
7796
|
"delete.js"
|
|
7815
7797
|
]
|
|
7816
7798
|
},
|
|
7817
|
-
"
|
|
7799
|
+
"segments:get": {
|
|
7818
7800
|
"aliases": [],
|
|
7819
7801
|
"args": {
|
|
7820
7802
|
"id": {
|
|
7821
|
-
"description": "
|
|
7803
|
+
"description": "segment ID",
|
|
7822
7804
|
"name": "id",
|
|
7823
7805
|
"required": true
|
|
7824
7806
|
}
|
|
7825
7807
|
},
|
|
7826
|
-
"description": "Get
|
|
7808
|
+
"description": "Get segment by ID",
|
|
7827
7809
|
"flags": {
|
|
7828
7810
|
"api-key": {
|
|
7829
7811
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7890,7 +7872,7 @@
|
|
|
7890
7872
|
},
|
|
7891
7873
|
"hasDynamicHelp": false,
|
|
7892
7874
|
"hiddenAliases": [],
|
|
7893
|
-
"id": "
|
|
7875
|
+
"id": "segments:get",
|
|
7894
7876
|
"pluginAlias": "@instantkom/cli",
|
|
7895
7877
|
"pluginName": "@instantkom/cli",
|
|
7896
7878
|
"pluginType": "core",
|
|
@@ -7900,14 +7882,14 @@
|
|
|
7900
7882
|
"relativePath": [
|
|
7901
7883
|
"dist",
|
|
7902
7884
|
"commands",
|
|
7903
|
-
"
|
|
7885
|
+
"segments",
|
|
7904
7886
|
"get.js"
|
|
7905
7887
|
]
|
|
7906
7888
|
},
|
|
7907
|
-
"
|
|
7889
|
+
"segments:list": {
|
|
7908
7890
|
"aliases": [],
|
|
7909
7891
|
"args": {},
|
|
7910
|
-
"description": "List
|
|
7892
|
+
"description": "List segments",
|
|
7911
7893
|
"flags": {
|
|
7912
7894
|
"api-key": {
|
|
7913
7895
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7995,23 +7977,34 @@
|
|
|
7995
7977
|
"type": "option"
|
|
7996
7978
|
},
|
|
7997
7979
|
"search": {
|
|
7998
|
-
"description": "Search
|
|
7980
|
+
"description": "Search by name",
|
|
7999
7981
|
"name": "search",
|
|
8000
7982
|
"hasDynamicHelp": false,
|
|
8001
7983
|
"multiple": false,
|
|
8002
7984
|
"type": "option"
|
|
8003
7985
|
},
|
|
8004
|
-
"
|
|
8005
|
-
"description": "
|
|
8006
|
-
"name": "
|
|
7986
|
+
"tags": {
|
|
7987
|
+
"description": "Comma-separated tag IDs",
|
|
7988
|
+
"name": "tags",
|
|
8007
7989
|
"hasDynamicHelp": false,
|
|
8008
7990
|
"multiple": false,
|
|
8009
7991
|
"type": "option"
|
|
7992
|
+
},
|
|
7993
|
+
"tag-match-mode": {
|
|
7994
|
+
"description": "Tag match mode",
|
|
7995
|
+
"name": "tag-match-mode",
|
|
7996
|
+
"hasDynamicHelp": false,
|
|
7997
|
+
"multiple": false,
|
|
7998
|
+
"options": [
|
|
7999
|
+
"any",
|
|
8000
|
+
"all"
|
|
8001
|
+
],
|
|
8002
|
+
"type": "option"
|
|
8010
8003
|
}
|
|
8011
8004
|
},
|
|
8012
8005
|
"hasDynamicHelp": false,
|
|
8013
8006
|
"hiddenAliases": [],
|
|
8014
|
-
"id": "
|
|
8007
|
+
"id": "segments:list",
|
|
8015
8008
|
"pluginAlias": "@instantkom/cli",
|
|
8016
8009
|
"pluginName": "@instantkom/cli",
|
|
8017
8010
|
"pluginType": "core",
|
|
@@ -8021,20 +8014,20 @@
|
|
|
8021
8014
|
"relativePath": [
|
|
8022
8015
|
"dist",
|
|
8023
8016
|
"commands",
|
|
8024
|
-
"
|
|
8017
|
+
"segments",
|
|
8025
8018
|
"list.js"
|
|
8026
8019
|
]
|
|
8027
8020
|
},
|
|
8028
|
-
"
|
|
8021
|
+
"segments:update": {
|
|
8029
8022
|
"aliases": [],
|
|
8030
8023
|
"args": {
|
|
8031
8024
|
"id": {
|
|
8032
|
-
"description": "
|
|
8025
|
+
"description": "Segment ID",
|
|
8033
8026
|
"name": "id",
|
|
8034
8027
|
"required": true
|
|
8035
8028
|
}
|
|
8036
8029
|
},
|
|
8037
|
-
"description": "Update a
|
|
8030
|
+
"description": "Update a segment",
|
|
8038
8031
|
"flags": {
|
|
8039
8032
|
"api-key": {
|
|
8040
8033
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -8099,28 +8092,35 @@
|
|
|
8099
8092
|
"type": "option"
|
|
8100
8093
|
},
|
|
8101
8094
|
"name": {
|
|
8102
|
-
"description": "
|
|
8095
|
+
"description": "Segment name",
|
|
8103
8096
|
"name": "name",
|
|
8104
8097
|
"hasDynamicHelp": false,
|
|
8105
8098
|
"multiple": false,
|
|
8106
8099
|
"type": "option"
|
|
8107
8100
|
},
|
|
8108
8101
|
"description": {
|
|
8109
|
-
"description": "
|
|
8102
|
+
"description": "Segment description",
|
|
8110
8103
|
"name": "description",
|
|
8111
8104
|
"hasDynamicHelp": false,
|
|
8112
8105
|
"multiple": false,
|
|
8113
8106
|
"type": "option"
|
|
8114
8107
|
},
|
|
8115
8108
|
"color": {
|
|
8116
|
-
"description": "
|
|
8109
|
+
"description": "Segment color as HEX",
|
|
8117
8110
|
"name": "color",
|
|
8118
8111
|
"hasDynamicHelp": false,
|
|
8119
8112
|
"multiple": false,
|
|
8120
8113
|
"type": "option"
|
|
8121
8114
|
},
|
|
8115
|
+
"tags": {
|
|
8116
|
+
"description": "Tags for filtering recipients",
|
|
8117
|
+
"name": "tags",
|
|
8118
|
+
"hasDynamicHelp": false,
|
|
8119
|
+
"multiple": false,
|
|
8120
|
+
"type": "option"
|
|
8121
|
+
},
|
|
8122
8122
|
"folder": {
|
|
8123
|
-
"description": "
|
|
8123
|
+
"description": "Object folder ID",
|
|
8124
8124
|
"name": "folder",
|
|
8125
8125
|
"hasDynamicHelp": false,
|
|
8126
8126
|
"multiple": false,
|
|
@@ -8136,7 +8136,7 @@
|
|
|
8136
8136
|
},
|
|
8137
8137
|
"hasDynamicHelp": false,
|
|
8138
8138
|
"hiddenAliases": [],
|
|
8139
|
-
"id": "
|
|
8139
|
+
"id": "segments:update",
|
|
8140
8140
|
"pluginAlias": "@instantkom/cli",
|
|
8141
8141
|
"pluginName": "@instantkom/cli",
|
|
8142
8142
|
"pluginType": "core",
|
|
@@ -8146,7 +8146,7 @@
|
|
|
8146
8146
|
"relativePath": [
|
|
8147
8147
|
"dist",
|
|
8148
8148
|
"commands",
|
|
8149
|
-
"
|
|
8149
|
+
"segments",
|
|
8150
8150
|
"update.js"
|
|
8151
8151
|
]
|
|
8152
8152
|
},
|
|
@@ -17052,5 +17052,5 @@
|
|
|
17052
17052
|
]
|
|
17053
17053
|
}
|
|
17054
17054
|
},
|
|
17055
|
-
"version": "3.
|
|
17055
|
+
"version": "3.190.0"
|
|
17056
17056
|
}
|