@instantkom/cli 3.144.0 → 3.145.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.
@@ -1289,10 +1289,10 @@
1289
1289
  "script.js"
1290
1290
  ]
1291
1291
  },
1292
- "bots:create": {
1292
+ "broadcast:create": {
1293
1293
  "aliases": [],
1294
1294
  "args": {},
1295
- "description": "Create a bot",
1295
+ "description": "Create a broadcast for channels or segments",
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,74 +1357,91 @@
1357
1357
  "type": "option"
1358
1358
  },
1359
1359
  "channel": {
1360
- "description": "Channel ID",
1360
+ "description": "Channel ID target",
1361
1361
  "name": "channel",
1362
- "required": true,
1363
1362
  "hasDynamicHelp": false,
1364
1363
  "multiple": false,
1365
1364
  "type": "option"
1366
1365
  },
1367
- "name": {
1368
- "description": "Bot name",
1369
- "name": "name",
1370
- "required": true,
1366
+ "segment": {
1367
+ "description": "Segment ID within --channel",
1368
+ "name": "segment",
1371
1369
  "hasDynamicHelp": false,
1372
1370
  "multiple": false,
1373
1371
  "type": "option"
1374
1372
  },
1375
- "type": {
1376
- "description": "Bot type",
1377
- "name": "type",
1373
+ "target": {
1374
+ "description": "Target as channelId or channelId:segmentId; may be repeated",
1375
+ "name": "target",
1376
+ "hasDynamicHelp": false,
1377
+ "multiple": true,
1378
+ "type": "option"
1379
+ },
1380
+ "text": {
1381
+ "description": "Broadcast message text",
1382
+ "name": "text",
1378
1383
  "required": true,
1379
1384
  "hasDynamicHelp": false,
1380
1385
  "multiple": false,
1381
- "options": [
1382
- "keyword",
1383
- "schedule",
1384
- "event",
1385
- "ai"
1386
- ],
1387
1386
  "type": "option"
1388
1387
  },
1389
- "message": {
1390
- "description": "Bot message content",
1391
- "name": "message",
1388
+ "send-at": {
1389
+ "description": "Schedule send for an ISO-8601 date-time",
1390
+ "name": "send-at",
1392
1391
  "hasDynamicHelp": false,
1393
1392
  "multiple": false,
1394
1393
  "type": "option"
1395
1394
  },
1396
- "response": {
1397
- "description": "Alias for --message",
1398
- "name": "response",
1395
+ "dry-run": {
1396
+ "description": "Validate and print the broadcast payload without mutating API calls",
1397
+ "name": "dry-run",
1398
+ "allowNo": false,
1399
+ "type": "boolean"
1400
+ },
1401
+ "idempotency-key": {
1402
+ "description": "Idempotency key forwarded as Idempotency-Key",
1403
+ "name": "idempotency-key",
1399
1404
  "hasDynamicHelp": false,
1400
1405
  "multiple": false,
1401
1406
  "type": "option"
1402
1407
  },
1403
- "color": {
1404
- "description": "Bot color as HEX",
1405
- "name": "color",
1408
+ "media": {
1409
+ "description": "Media file path to upload",
1410
+ "name": "media",
1406
1411
  "hasDynamicHelp": false,
1407
- "multiple": false,
1412
+ "multiple": true,
1408
1413
  "type": "option"
1409
1414
  },
1410
- "tags": {
1411
- "description": "Comma-separated tags",
1412
- "name": "tags",
1415
+ "template-id": {
1416
+ "description": "WhatsApp template ID",
1417
+ "name": "template-id",
1413
1418
  "hasDynamicHelp": false,
1414
1419
  "multiple": false,
1415
1420
  "type": "option"
1416
1421
  },
1417
- "data": {
1418
- "description": "Additional JSON object payload",
1419
- "name": "data",
1422
+ "send-status": {
1423
+ "description": "Initial broadcast send status",
1424
+ "name": "send-status",
1425
+ "default": "draft",
1420
1426
  "hasDynamicHelp": false,
1421
1427
  "multiple": false,
1428
+ "options": [
1429
+ "draft",
1430
+ "scheduled",
1431
+ "sending"
1432
+ ],
1422
1433
  "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"
1423
1440
  }
1424
1441
  },
1425
1442
  "hasDynamicHelp": false,
1426
1443
  "hiddenAliases": [],
1427
- "id": "bots:create",
1444
+ "id": "broadcast:create",
1428
1445
  "pluginAlias": "@instantkom/cli",
1429
1446
  "pluginName": "@instantkom/cli",
1430
1447
  "pluginType": "core",
@@ -1434,20 +1451,20 @@
1434
1451
  "relativePath": [
1435
1452
  "dist",
1436
1453
  "commands",
1437
- "bots",
1454
+ "broadcast",
1438
1455
  "create.js"
1439
1456
  ]
1440
1457
  },
1441
- "bots:delete": {
1458
+ "broadcast:delete": {
1442
1459
  "aliases": [],
1443
1460
  "args": {
1444
1461
  "id": {
1445
- "description": "Bot ID",
1462
+ "description": "broadcast ID",
1446
1463
  "name": "id",
1447
1464
  "required": true
1448
1465
  }
1449
1466
  },
1450
- "description": "Delete a bot",
1467
+ "description": "Delete broadcast",
1451
1468
  "flags": {
1452
1469
  "api-key": {
1453
1470
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1514,7 +1531,7 @@
1514
1531
  },
1515
1532
  "hasDynamicHelp": false,
1516
1533
  "hiddenAliases": [],
1517
- "id": "bots:delete",
1534
+ "id": "broadcast:delete",
1518
1535
  "pluginAlias": "@instantkom/cli",
1519
1536
  "pluginName": "@instantkom/cli",
1520
1537
  "pluginType": "core",
@@ -1524,20 +1541,20 @@
1524
1541
  "relativePath": [
1525
1542
  "dist",
1526
1543
  "commands",
1527
- "bots",
1544
+ "broadcast",
1528
1545
  "delete.js"
1529
1546
  ]
1530
1547
  },
1531
- "bots:get": {
1548
+ "broadcast:get": {
1532
1549
  "aliases": [],
1533
1550
  "args": {
1534
1551
  "id": {
1535
- "description": "Bot ID",
1552
+ "description": "broadcast ID",
1536
1553
  "name": "id",
1537
1554
  "required": true
1538
1555
  }
1539
1556
  },
1540
- "description": "Get a bot by ID",
1557
+ "description": "Get broadcast by ID",
1541
1558
  "flags": {
1542
1559
  "api-key": {
1543
1560
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1604,7 +1621,7 @@
1604
1621
  },
1605
1622
  "hasDynamicHelp": false,
1606
1623
  "hiddenAliases": [],
1607
- "id": "bots:get",
1624
+ "id": "broadcast:get",
1608
1625
  "pluginAlias": "@instantkom/cli",
1609
1626
  "pluginName": "@instantkom/cli",
1610
1627
  "pluginType": "core",
@@ -1614,14 +1631,14 @@
1614
1631
  "relativePath": [
1615
1632
  "dist",
1616
1633
  "commands",
1617
- "bots",
1634
+ "broadcast",
1618
1635
  "get.js"
1619
1636
  ]
1620
1637
  },
1621
- "bots:list": {
1638
+ "broadcast:list": {
1622
1639
  "aliases": [],
1623
1640
  "args": {},
1624
- "description": "List bots",
1641
+ "description": "List broadcasts",
1625
1642
  "flags": {
1626
1643
  "api-key": {
1627
1644
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1708,42 +1725,49 @@
1708
1725
  "multiple": false,
1709
1726
  "type": "option"
1710
1727
  },
1711
- "type": {
1712
- "description": "Filter by bot type",
1713
- "name": "type",
1728
+ "send-status": {
1729
+ "description": "Filter by send status",
1730
+ "name": "send-status",
1714
1731
  "hasDynamicHelp": false,
1715
1732
  "multiple": false,
1716
1733
  "type": "option"
1717
1734
  },
1718
- "search": {
1719
- "description": "Search in bot name or message",
1720
- "name": "search",
1735
+ "type": {
1736
+ "description": "Broadcast type",
1737
+ "name": "type",
1721
1738
  "hasDynamicHelp": false,
1722
1739
  "multiple": false,
1740
+ "options": [
1741
+ "text",
1742
+ "image",
1743
+ "video",
1744
+ "audio",
1745
+ "document"
1746
+ ],
1723
1747
  "type": "option"
1724
1748
  },
1725
- "tags": {
1726
- "description": "Comma-separated tag IDs",
1727
- "name": "tags",
1749
+ "search": {
1750
+ "description": "Search broadcasts",
1751
+ "name": "search",
1728
1752
  "hasDynamicHelp": false,
1729
1753
  "multiple": false,
1730
1754
  "type": "option"
1731
1755
  },
1732
- "tag-match": {
1733
- "description": "Tag match mode",
1734
- "name": "tag-match",
1756
+ "test": {
1757
+ "description": "Filter test flag: 0 or 1",
1758
+ "name": "test",
1735
1759
  "hasDynamicHelp": false,
1736
1760
  "multiple": false,
1737
1761
  "options": [
1738
- "any",
1739
- "all"
1762
+ "0",
1763
+ "1"
1740
1764
  ],
1741
1765
  "type": "option"
1742
1766
  }
1743
1767
  },
1744
1768
  "hasDynamicHelp": false,
1745
1769
  "hiddenAliases": [],
1746
- "id": "bots:list",
1770
+ "id": "broadcast:list",
1747
1771
  "pluginAlias": "@instantkom/cli",
1748
1772
  "pluginName": "@instantkom/cli",
1749
1773
  "pluginType": "core",
@@ -1753,20 +1777,20 @@
1753
1777
  "relativePath": [
1754
1778
  "dist",
1755
1779
  "commands",
1756
- "bots",
1780
+ "broadcast",
1757
1781
  "list.js"
1758
1782
  ]
1759
1783
  },
1760
- "bots:matches": {
1784
+ "broadcast:send": {
1761
1785
  "aliases": [],
1762
1786
  "args": {
1763
1787
  "id": {
1764
- "description": "Bot ID",
1788
+ "description": "Broadcast ID",
1765
1789
  "name": "id",
1766
1790
  "required": true
1767
1791
  }
1768
1792
  },
1769
- "description": "List bot match history",
1793
+ "description": "Send a broadcast immediately",
1770
1794
  "flags": {
1771
1795
  "api-key": {
1772
1796
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1829,34 +1853,11 @@
1829
1853
  "hasDynamicHelp": false,
1830
1854
  "multiple": false,
1831
1855
  "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"
1855
1856
  }
1856
1857
  },
1857
1858
  "hasDynamicHelp": false,
1858
1859
  "hiddenAliases": [],
1859
- "id": "bots:matches",
1860
+ "id": "broadcast:send",
1860
1861
  "pluginAlias": "@instantkom/cli",
1861
1862
  "pluginName": "@instantkom/cli",
1862
1863
  "pluginType": "core",
@@ -1866,20 +1867,20 @@
1866
1867
  "relativePath": [
1867
1868
  "dist",
1868
1869
  "commands",
1869
- "bots",
1870
- "matches.js"
1870
+ "broadcast",
1871
+ "send.js"
1871
1872
  ]
1872
1873
  },
1873
- "bots:update": {
1874
+ "broadcast:status": {
1874
1875
  "aliases": [],
1875
1876
  "args": {
1876
1877
  "id": {
1877
- "description": "Bot ID",
1878
+ "description": "Broadcast ID",
1878
1879
  "name": "id",
1879
1880
  "required": true
1880
1881
  }
1881
1882
  },
1882
- "description": "Update a bot",
1883
+ "description": "Show broadcast send status",
1883
1884
  "flags": {
1884
1885
  "api-key": {
1885
1886
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1942,66 +1943,11 @@
1942
1943
  "hasDynamicHelp": false,
1943
1944
  "multiple": false,
1944
1945
  "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"
2000
1946
  }
2001
1947
  },
2002
1948
  "hasDynamicHelp": false,
2003
1949
  "hiddenAliases": [],
2004
- "id": "bots:update",
1950
+ "id": "broadcast:status",
2005
1951
  "pluginAlias": "@instantkom/cli",
2006
1952
  "pluginName": "@instantkom/cli",
2007
1953
  "pluginType": "core",
@@ -2011,14 +1957,170 @@
2011
1957
  "relativePath": [
2012
1958
  "dist",
2013
1959
  "commands",
2014
- "bots",
2015
- "update.js"
1960
+ "broadcast",
1961
+ "status.js"
2016
1962
  ]
2017
1963
  },
2018
- "channels:create": {
1964
+ "broadcast:update": {
2019
1965
  "aliases": [],
2020
- "args": {},
2021
- "description": "Create a channel",
1966
+ "args": {
1967
+ "id": {
1968
+ "description": "Broadcast ID",
1969
+ "name": "id",
1970
+ "required": true
1971
+ }
1972
+ },
1973
+ "description": "Update a broadcast",
1974
+ "flags": {
1975
+ "api-key": {
1976
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
1977
+ "env": "IKM_API_KEY",
1978
+ "helpGroup": "GLOBAL",
1979
+ "name": "api-key",
1980
+ "hasDynamicHelp": false,
1981
+ "multiple": false,
1982
+ "type": "option"
1983
+ },
1984
+ "format": {
1985
+ "description": "Output format: text, json, yaml, or table",
1986
+ "helpGroup": "GLOBAL",
1987
+ "name": "format",
1988
+ "default": "text",
1989
+ "hasDynamicHelp": false,
1990
+ "multiple": false,
1991
+ "options": [
1992
+ "text",
1993
+ "json",
1994
+ "yaml",
1995
+ "table"
1996
+ ],
1997
+ "type": "option"
1998
+ },
1999
+ "json": {
2000
+ "description": "Output in JSON format (alias for --format=json)",
2001
+ "helpGroup": "GLOBAL",
2002
+ "name": "json",
2003
+ "allowNo": false,
2004
+ "type": "boolean"
2005
+ },
2006
+ "quiet": {
2007
+ "description": "Suppress all output except errors",
2008
+ "helpGroup": "GLOBAL",
2009
+ "name": "quiet",
2010
+ "allowNo": false,
2011
+ "type": "boolean"
2012
+ },
2013
+ "no-color": {
2014
+ "description": "Disable color output",
2015
+ "helpGroup": "GLOBAL",
2016
+ "name": "no-color",
2017
+ "allowNo": false,
2018
+ "type": "boolean"
2019
+ },
2020
+ "profile": {
2021
+ "description": "Named configuration profile to use",
2022
+ "helpGroup": "GLOBAL",
2023
+ "name": "profile",
2024
+ "default": "default",
2025
+ "hasDynamicHelp": false,
2026
+ "multiple": false,
2027
+ "type": "option"
2028
+ },
2029
+ "api-url": {
2030
+ "description": "Override the API base URL (e.g. for staging)",
2031
+ "helpGroup": "GLOBAL",
2032
+ "name": "api-url",
2033
+ "hasDynamicHelp": false,
2034
+ "multiple": false,
2035
+ "type": "option"
2036
+ },
2037
+ "text": {
2038
+ "description": "Broadcast message text",
2039
+ "name": "text",
2040
+ "hasDynamicHelp": false,
2041
+ "multiple": false,
2042
+ "type": "option"
2043
+ },
2044
+ "send-status": {
2045
+ "description": "Send status",
2046
+ "name": "send-status",
2047
+ "hasDynamicHelp": false,
2048
+ "multiple": false,
2049
+ "type": "option"
2050
+ },
2051
+ "scheduled-at": {
2052
+ "description": "Unix timestamp for scheduled send",
2053
+ "name": "scheduled-at",
2054
+ "hasDynamicHelp": false,
2055
+ "multiple": false,
2056
+ "type": "option"
2057
+ },
2058
+ "approved": {
2059
+ "description": "Mark as approved",
2060
+ "name": "approved",
2061
+ "allowNo": false,
2062
+ "type": "boolean"
2063
+ },
2064
+ "locked": {
2065
+ "description": "Mark as locked",
2066
+ "name": "locked",
2067
+ "allowNo": false,
2068
+ "type": "boolean"
2069
+ },
2070
+ "test": {
2071
+ "description": "Mark as test broadcast",
2072
+ "name": "test",
2073
+ "allowNo": false,
2074
+ "type": "boolean"
2075
+ },
2076
+ "template-id": {
2077
+ "description": "Template ID",
2078
+ "name": "template-id",
2079
+ "hasDynamicHelp": false,
2080
+ "multiple": false,
2081
+ "type": "option"
2082
+ },
2083
+ "remove-media": {
2084
+ "description": "Remove existing media",
2085
+ "name": "remove-media",
2086
+ "allowNo": false,
2087
+ "type": "boolean"
2088
+ },
2089
+ "header-footer": {
2090
+ "description": "Header/footer JSON array",
2091
+ "name": "header-footer",
2092
+ "hasDynamicHelp": false,
2093
+ "multiple": false,
2094
+ "type": "option"
2095
+ },
2096
+ "data": {
2097
+ "description": "Additional JSON object payload",
2098
+ "name": "data",
2099
+ "hasDynamicHelp": false,
2100
+ "multiple": false,
2101
+ "type": "option"
2102
+ }
2103
+ },
2104
+ "hasDynamicHelp": false,
2105
+ "hiddenAliases": [],
2106
+ "id": "broadcast:update",
2107
+ "pluginAlias": "@instantkom/cli",
2108
+ "pluginName": "@instantkom/cli",
2109
+ "pluginType": "core",
2110
+ "strict": true,
2111
+ "enableJsonFlag": false,
2112
+ "isESM": true,
2113
+ "relativePath": [
2114
+ "dist",
2115
+ "commands",
2116
+ "broadcast",
2117
+ "update.js"
2118
+ ]
2119
+ },
2120
+ "channels:create": {
2121
+ "aliases": [],
2122
+ "args": {},
2123
+ "description": "Create a channel",
2022
2124
  "flags": {
2023
2125
  "api-key": {
2024
2126
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3171,10 +3273,10 @@
3171
3273
  "unset.js"
3172
3274
  ]
3173
3275
  },
3174
- "broadcast:create": {
3276
+ "contacts:create": {
3175
3277
  "aliases": [],
3176
3278
  "args": {},
3177
- "description": "Create a broadcast for channels or segments",
3279
+ "description": "Create a contact",
3178
3280
  "flags": {
3179
3281
  "api-key": {
3180
3282
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3239,91 +3341,39 @@
3239
3341
  "type": "option"
3240
3342
  },
3241
3343
  "channel": {
3242
- "description": "Channel ID target",
3344
+ "description": "Channel ID",
3243
3345
  "name": "channel",
3244
- "hasDynamicHelp": false,
3245
- "multiple": false,
3246
- "type": "option"
3247
- },
3248
- "segment": {
3249
- "description": "Segment ID within --channel",
3250
- "name": "segment",
3251
- "hasDynamicHelp": false,
3252
- "multiple": false,
3253
- "type": "option"
3254
- },
3255
- "target": {
3256
- "description": "Target as channelId or channelId:segmentId; may be repeated",
3257
- "name": "target",
3258
- "hasDynamicHelp": false,
3259
- "multiple": true,
3260
- "type": "option"
3261
- },
3262
- "text": {
3263
- "description": "Broadcast message text",
3264
- "name": "text",
3265
3346
  "required": true,
3266
3347
  "hasDynamicHelp": false,
3267
3348
  "multiple": false,
3268
3349
  "type": "option"
3269
3350
  },
3270
- "send-at": {
3271
- "description": "Schedule send for an ISO-8601 date-time",
3272
- "name": "send-at",
3273
- "hasDynamicHelp": false,
3274
- "multiple": false,
3275
- "type": "option"
3276
- },
3277
- "dry-run": {
3278
- "description": "Validate and print the broadcast payload without mutating API calls",
3279
- "name": "dry-run",
3280
- "allowNo": false,
3281
- "type": "boolean"
3282
- },
3283
- "idempotency-key": {
3284
- "description": "Idempotency key forwarded as Idempotency-Key",
3285
- "name": "idempotency-key",
3351
+ "identifier": {
3352
+ "description": "Unique contact identifier",
3353
+ "name": "identifier",
3354
+ "required": true,
3286
3355
  "hasDynamicHelp": false,
3287
3356
  "multiple": false,
3288
3357
  "type": "option"
3289
3358
  },
3290
- "media": {
3291
- "description": "Media file path to upload",
3292
- "name": "media",
3293
- "hasDynamicHelp": false,
3294
- "multiple": true,
3295
- "type": "option"
3296
- },
3297
- "template-id": {
3298
- "description": "WhatsApp template ID",
3299
- "name": "template-id",
3359
+ "name": {
3360
+ "description": "Contact name",
3361
+ "name": "name",
3300
3362
  "hasDynamicHelp": false,
3301
3363
  "multiple": false,
3302
3364
  "type": "option"
3303
3365
  },
3304
- "send-status": {
3305
- "description": "Initial broadcast send status",
3306
- "name": "send-status",
3307
- "default": "draft",
3366
+ "data": {
3367
+ "description": "Additional JSON object payload",
3368
+ "name": "data",
3308
3369
  "hasDynamicHelp": false,
3309
3370
  "multiple": false,
3310
- "options": [
3311
- "draft",
3312
- "scheduled",
3313
- "sending"
3314
- ],
3315
3371
  "type": "option"
3316
- },
3317
- "auto-approve": {
3318
- "description": "Auto-approve broadcast when allowed by API permissions",
3319
- "name": "auto-approve",
3320
- "allowNo": false,
3321
- "type": "boolean"
3322
3372
  }
3323
3373
  },
3324
3374
  "hasDynamicHelp": false,
3325
3375
  "hiddenAliases": [],
3326
- "id": "broadcast:create",
3376
+ "id": "contacts:create",
3327
3377
  "pluginAlias": "@instantkom/cli",
3328
3378
  "pluginName": "@instantkom/cli",
3329
3379
  "pluginType": "core",
@@ -3333,20 +3383,20 @@
3333
3383
  "relativePath": [
3334
3384
  "dist",
3335
3385
  "commands",
3336
- "broadcast",
3386
+ "contacts",
3337
3387
  "create.js"
3338
3388
  ]
3339
3389
  },
3340
- "broadcast:delete": {
3390
+ "contacts:delete": {
3341
3391
  "aliases": [],
3342
3392
  "args": {
3343
3393
  "id": {
3344
- "description": "broadcast ID",
3394
+ "description": "Contact ID",
3345
3395
  "name": "id",
3346
3396
  "required": true
3347
3397
  }
3348
3398
  },
3349
- "description": "Delete broadcast",
3399
+ "description": "Delete a contact",
3350
3400
  "flags": {
3351
3401
  "api-key": {
3352
3402
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3413,7 +3463,7 @@
3413
3463
  },
3414
3464
  "hasDynamicHelp": false,
3415
3465
  "hiddenAliases": [],
3416
- "id": "broadcast:delete",
3466
+ "id": "contacts:delete",
3417
3467
  "pluginAlias": "@instantkom/cli",
3418
3468
  "pluginName": "@instantkom/cli",
3419
3469
  "pluginType": "core",
@@ -3423,20 +3473,14 @@
3423
3473
  "relativePath": [
3424
3474
  "dist",
3425
3475
  "commands",
3426
- "broadcast",
3476
+ "contacts",
3427
3477
  "delete.js"
3428
3478
  ]
3429
3479
  },
3430
- "broadcast:get": {
3480
+ "contacts:export": {
3431
3481
  "aliases": [],
3432
- "args": {
3433
- "id": {
3434
- "description": "broadcast ID",
3435
- "name": "id",
3436
- "required": true
3437
- }
3438
- },
3439
- "description": "Get broadcast by ID",
3482
+ "args": {},
3483
+ "description": "Export contacts to CSV",
3440
3484
  "flags": {
3441
3485
  "api-key": {
3442
3486
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3499,87 +3543,25 @@
3499
3543
  "hasDynamicHelp": false,
3500
3544
  "multiple": false,
3501
3545
  "type": "option"
3502
- }
3503
- },
3504
- "hasDynamicHelp": false,
3505
- "hiddenAliases": [],
3506
- "id": "broadcast:get",
3507
- "pluginAlias": "@instantkom/cli",
3508
- "pluginName": "@instantkom/cli",
3509
- "pluginType": "core",
3510
- "strict": true,
3511
- "enableJsonFlag": false,
3512
- "isESM": true,
3513
- "relativePath": [
3514
- "dist",
3515
- "commands",
3516
- "broadcast",
3517
- "get.js"
3518
- ]
3519
- },
3520
- "broadcast:list": {
3521
- "aliases": [],
3522
- "args": {},
3523
- "description": "List broadcasts",
3524
- "flags": {
3525
- "api-key": {
3526
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
3527
- "env": "IKM_API_KEY",
3528
- "helpGroup": "GLOBAL",
3529
- "name": "api-key",
3530
- "hasDynamicHelp": false,
3531
- "multiple": false,
3532
- "type": "option"
3533
3546
  },
3534
- "format": {
3535
- "description": "Output format: text, json, yaml, or table",
3536
- "helpGroup": "GLOBAL",
3537
- "name": "format",
3538
- "default": "text",
3547
+ "file": {
3548
+ "description": "CSV output file path",
3549
+ "name": "file",
3550
+ "required": true,
3539
3551
  "hasDynamicHelp": false,
3540
3552
  "multiple": false,
3541
- "options": [
3542
- "text",
3543
- "json",
3544
- "yaml",
3545
- "table"
3546
- ],
3547
3553
  "type": "option"
3548
3554
  },
3549
- "json": {
3550
- "description": "Output in JSON format (alias for --format=json)",
3551
- "helpGroup": "GLOBAL",
3552
- "name": "json",
3553
- "allowNo": false,
3554
- "type": "boolean"
3555
- },
3556
- "quiet": {
3557
- "description": "Suppress all output except errors",
3558
- "helpGroup": "GLOBAL",
3559
- "name": "quiet",
3560
- "allowNo": false,
3561
- "type": "boolean"
3562
- },
3563
- "no-color": {
3564
- "description": "Disable color output",
3565
- "helpGroup": "GLOBAL",
3566
- "name": "no-color",
3567
- "allowNo": false,
3568
- "type": "boolean"
3569
- },
3570
- "profile": {
3571
- "description": "Named configuration profile to use",
3572
- "helpGroup": "GLOBAL",
3573
- "name": "profile",
3574
- "default": "default",
3555
+ "channel": {
3556
+ "description": "Filter by channel ID",
3557
+ "name": "channel",
3575
3558
  "hasDynamicHelp": false,
3576
3559
  "multiple": false,
3577
3560
  "type": "option"
3578
3561
  },
3579
- "api-url": {
3580
- "description": "Override the API base URL (e.g. for staging)",
3581
- "helpGroup": "GLOBAL",
3582
- "name": "api-url",
3562
+ "search": {
3563
+ "description": "Search by name or identifier",
3564
+ "name": "search",
3583
3565
  "hasDynamicHelp": false,
3584
3566
  "multiple": false,
3585
3567
  "type": "option"
@@ -3595,61 +3577,15 @@
3595
3577
  "limit": {
3596
3578
  "description": "Items per page",
3597
3579
  "name": "limit",
3598
- "default": 20,
3599
- "hasDynamicHelp": false,
3600
- "multiple": false,
3601
- "type": "option"
3602
- },
3603
- "channel": {
3604
- "description": "Filter by channel ID",
3605
- "name": "channel",
3606
- "hasDynamicHelp": false,
3607
- "multiple": false,
3608
- "type": "option"
3609
- },
3610
- "send-status": {
3611
- "description": "Filter by send status",
3612
- "name": "send-status",
3613
- "hasDynamicHelp": false,
3614
- "multiple": false,
3615
- "type": "option"
3616
- },
3617
- "type": {
3618
- "description": "Broadcast type",
3619
- "name": "type",
3620
- "hasDynamicHelp": false,
3621
- "multiple": false,
3622
- "options": [
3623
- "text",
3624
- "image",
3625
- "video",
3626
- "audio",
3627
- "document"
3628
- ],
3629
- "type": "option"
3630
- },
3631
- "search": {
3632
- "description": "Search broadcasts",
3633
- "name": "search",
3634
- "hasDynamicHelp": false,
3635
- "multiple": false,
3636
- "type": "option"
3637
- },
3638
- "test": {
3639
- "description": "Filter test flag: 0 or 1",
3640
- "name": "test",
3580
+ "default": 100,
3641
3581
  "hasDynamicHelp": false,
3642
3582
  "multiple": false,
3643
- "options": [
3644
- "0",
3645
- "1"
3646
- ],
3647
3583
  "type": "option"
3648
3584
  }
3649
3585
  },
3650
3586
  "hasDynamicHelp": false,
3651
3587
  "hiddenAliases": [],
3652
- "id": "broadcast:list",
3588
+ "id": "contacts:export",
3653
3589
  "pluginAlias": "@instantkom/cli",
3654
3590
  "pluginName": "@instantkom/cli",
3655
3591
  "pluginType": "core",
@@ -3659,20 +3595,20 @@
3659
3595
  "relativePath": [
3660
3596
  "dist",
3661
3597
  "commands",
3662
- "broadcast",
3663
- "list.js"
3598
+ "contacts",
3599
+ "export.js"
3664
3600
  ]
3665
3601
  },
3666
- "broadcast:send": {
3602
+ "contacts:get": {
3667
3603
  "aliases": [],
3668
3604
  "args": {
3669
3605
  "id": {
3670
- "description": "Broadcast ID",
3606
+ "description": "Contact ID",
3671
3607
  "name": "id",
3672
3608
  "required": true
3673
3609
  }
3674
3610
  },
3675
- "description": "Send a broadcast immediately",
3611
+ "description": "Get a contact by ID",
3676
3612
  "flags": {
3677
3613
  "api-key": {
3678
3614
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3739,7 +3675,7 @@
3739
3675
  },
3740
3676
  "hasDynamicHelp": false,
3741
3677
  "hiddenAliases": [],
3742
- "id": "broadcast:send",
3678
+ "id": "contacts:get",
3743
3679
  "pluginAlias": "@instantkom/cli",
3744
3680
  "pluginName": "@instantkom/cli",
3745
3681
  "pluginType": "core",
@@ -3749,20 +3685,14 @@
3749
3685
  "relativePath": [
3750
3686
  "dist",
3751
3687
  "commands",
3752
- "broadcast",
3753
- "send.js"
3688
+ "contacts",
3689
+ "get.js"
3754
3690
  ]
3755
3691
  },
3756
- "broadcast:status": {
3692
+ "contacts:import": {
3757
3693
  "aliases": [],
3758
- "args": {
3759
- "id": {
3760
- "description": "Broadcast ID",
3761
- "name": "id",
3762
- "required": true
3763
- }
3764
- },
3765
- "description": "Show broadcast send status",
3694
+ "args": {},
3695
+ "description": "Import contacts from CSV",
3766
3696
  "flags": {
3767
3697
  "api-key": {
3768
3698
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3825,11 +3755,27 @@
3825
3755
  "hasDynamicHelp": false,
3826
3756
  "multiple": false,
3827
3757
  "type": "option"
3758
+ },
3759
+ "file": {
3760
+ "description": "CSV file path",
3761
+ "name": "file",
3762
+ "required": true,
3763
+ "hasDynamicHelp": false,
3764
+ "multiple": false,
3765
+ "type": "option"
3766
+ },
3767
+ "channel": {
3768
+ "description": "Channel ID",
3769
+ "name": "channel",
3770
+ "required": true,
3771
+ "hasDynamicHelp": false,
3772
+ "multiple": false,
3773
+ "type": "option"
3828
3774
  }
3829
3775
  },
3830
3776
  "hasDynamicHelp": false,
3831
3777
  "hiddenAliases": [],
3832
- "id": "broadcast:status",
3778
+ "id": "contacts:import",
3833
3779
  "pluginAlias": "@instantkom/cli",
3834
3780
  "pluginName": "@instantkom/cli",
3835
3781
  "pluginType": "core",
@@ -3839,20 +3785,14 @@
3839
3785
  "relativePath": [
3840
3786
  "dist",
3841
3787
  "commands",
3842
- "broadcast",
3843
- "status.js"
3788
+ "contacts",
3789
+ "import.js"
3844
3790
  ]
3845
3791
  },
3846
- "broadcast:update": {
3792
+ "contacts:list": {
3847
3793
  "aliases": [],
3848
- "args": {
3849
- "id": {
3850
- "description": "Broadcast ID",
3851
- "name": "id",
3852
- "required": true
3853
- }
3854
- },
3855
- "description": "Update a broadcast",
3794
+ "args": {},
3795
+ "description": "List contacts",
3856
3796
  "flags": {
3857
3797
  "api-key": {
3858
3798
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3916,68 +3856,97 @@
3916
3856
  "multiple": false,
3917
3857
  "type": "option"
3918
3858
  },
3919
- "text": {
3920
- "description": "Broadcast message text",
3921
- "name": "text",
3859
+ "channel": {
3860
+ "description": "Filter by channel ID",
3861
+ "name": "channel",
3922
3862
  "hasDynamicHelp": false,
3923
3863
  "multiple": false,
3924
3864
  "type": "option"
3925
3865
  },
3926
- "send-status": {
3927
- "description": "Send status",
3928
- "name": "send-status",
3866
+ "search": {
3867
+ "description": "Search by name or identifier",
3868
+ "name": "search",
3929
3869
  "hasDynamicHelp": false,
3930
3870
  "multiple": false,
3931
3871
  "type": "option"
3932
3872
  },
3933
- "scheduled-at": {
3934
- "description": "Unix timestamp for scheduled send",
3935
- "name": "scheduled-at",
3873
+ "page": {
3874
+ "description": "Page number",
3875
+ "name": "page",
3876
+ "default": 1,
3936
3877
  "hasDynamicHelp": false,
3937
3878
  "multiple": false,
3938
3879
  "type": "option"
3939
3880
  },
3940
- "approved": {
3941
- "description": "Mark as approved",
3942
- "name": "approved",
3943
- "allowNo": false,
3944
- "type": "boolean"
3881
+ "limit": {
3882
+ "description": "Items per page",
3883
+ "name": "limit",
3884
+ "default": 20,
3885
+ "hasDynamicHelp": false,
3886
+ "multiple": false,
3887
+ "type": "option"
3945
3888
  },
3946
- "locked": {
3947
- "description": "Mark as locked",
3948
- "name": "locked",
3949
- "allowNo": false,
3950
- "type": "boolean"
3889
+ "optin-status": {
3890
+ "description": "Filter by opt-in status",
3891
+ "name": "optin-status",
3892
+ "hasDynamicHelp": false,
3893
+ "multiple": false,
3894
+ "options": [
3895
+ "0",
3896
+ "1"
3897
+ ],
3898
+ "type": "option"
3951
3899
  },
3952
- "test": {
3953
- "description": "Mark as test broadcast",
3954
- "name": "test",
3955
- "allowNo": false,
3956
- "type": "boolean"
3900
+ "blocked": {
3901
+ "description": "Filter by blocked status: 1 blocked, 0 not blocked",
3902
+ "name": "blocked",
3903
+ "hasDynamicHelp": false,
3904
+ "multiple": false,
3905
+ "options": [
3906
+ "0",
3907
+ "1"
3908
+ ],
3909
+ "type": "option"
3957
3910
  },
3958
- "template-id": {
3959
- "description": "Template ID",
3960
- "name": "template-id",
3911
+ "segment": {
3912
+ "description": "Filter by segment ID",
3913
+ "name": "segment",
3961
3914
  "hasDynamicHelp": false,
3962
3915
  "multiple": false,
3963
3916
  "type": "option"
3964
3917
  },
3965
- "remove-media": {
3966
- "description": "Remove existing media",
3967
- "name": "remove-media",
3968
- "allowNo": false,
3969
- "type": "boolean"
3918
+ "tags": {
3919
+ "description": "Comma-separated tag IDs",
3920
+ "name": "tags",
3921
+ "hasDynamicHelp": false,
3922
+ "multiple": false,
3923
+ "type": "option"
3970
3924
  },
3971
- "header-footer": {
3972
- "description": "Header/footer JSON array",
3973
- "name": "header-footer",
3925
+ "tag-match": {
3926
+ "description": "Tag match mode",
3927
+ "name": "tag-match",
3974
3928
  "hasDynamicHelp": false,
3975
3929
  "multiple": false,
3930
+ "options": [
3931
+ "any",
3932
+ "all"
3933
+ ],
3976
3934
  "type": "option"
3977
3935
  },
3978
- "data": {
3979
- "description": "Additional JSON object payload",
3980
- "name": "data",
3936
+ "spam": {
3937
+ "description": "Filter by spam status",
3938
+ "name": "spam",
3939
+ "hasDynamicHelp": false,
3940
+ "multiple": false,
3941
+ "options": [
3942
+ "true",
3943
+ "false"
3944
+ ],
3945
+ "type": "option"
3946
+ },
3947
+ "trust-level": {
3948
+ "description": "Comma-separated trust levels",
3949
+ "name": "trust-level",
3981
3950
  "hasDynamicHelp": false,
3982
3951
  "multiple": false,
3983
3952
  "type": "option"
@@ -3985,7 +3954,7 @@
3985
3954
  },
3986
3955
  "hasDynamicHelp": false,
3987
3956
  "hiddenAliases": [],
3988
- "id": "broadcast:update",
3957
+ "id": "contacts:list",
3989
3958
  "pluginAlias": "@instantkom/cli",
3990
3959
  "pluginName": "@instantkom/cli",
3991
3960
  "pluginType": "core",
@@ -3995,14 +3964,20 @@
3995
3964
  "relativePath": [
3996
3965
  "dist",
3997
3966
  "commands",
3998
- "broadcast",
3999
- "update.js"
3967
+ "contacts",
3968
+ "list.js"
4000
3969
  ]
4001
3970
  },
4002
- "contacts:create": {
3971
+ "contacts:update": {
4003
3972
  "aliases": [],
4004
- "args": {},
4005
- "description": "Create a contact",
3973
+ "args": {
3974
+ "id": {
3975
+ "description": "Contact ID",
3976
+ "name": "id",
3977
+ "required": true
3978
+ }
3979
+ },
3980
+ "description": "Update a contact",
4006
3981
  "flags": {
4007
3982
  "api-key": {
4008
3983
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4066,18 +4041,9 @@
4066
4041
  "multiple": false,
4067
4042
  "type": "option"
4068
4043
  },
4069
- "channel": {
4070
- "description": "Channel ID",
4071
- "name": "channel",
4072
- "required": true,
4073
- "hasDynamicHelp": false,
4074
- "multiple": false,
4075
- "type": "option"
4076
- },
4077
4044
  "identifier": {
4078
4045
  "description": "Unique contact identifier",
4079
4046
  "name": "identifier",
4080
- "required": true,
4081
4047
  "hasDynamicHelp": false,
4082
4048
  "multiple": false,
4083
4049
  "type": "option"
@@ -4099,7 +4065,7 @@
4099
4065
  },
4100
4066
  "hasDynamicHelp": false,
4101
4067
  "hiddenAliases": [],
4102
- "id": "contacts:create",
4068
+ "id": "contacts:update",
4103
4069
  "pluginAlias": "@instantkom/cli",
4104
4070
  "pluginName": "@instantkom/cli",
4105
4071
  "pluginType": "core",
@@ -4110,19 +4076,13 @@
4110
4076
  "dist",
4111
4077
  "commands",
4112
4078
  "contacts",
4113
- "create.js"
4079
+ "update.js"
4114
4080
  ]
4115
4081
  },
4116
- "contacts:delete": {
4082
+ "bots:create": {
4117
4083
  "aliases": [],
4118
- "args": {
4119
- "id": {
4120
- "description": "Contact ID",
4121
- "name": "id",
4122
- "required": true
4123
- }
4124
- },
4125
- "description": "Delete a contact",
4084
+ "args": {},
4085
+ "description": "Create a bot",
4126
4086
  "flags": {
4127
4087
  "api-key": {
4128
4088
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4185,11 +4145,76 @@
4185
4145
  "hasDynamicHelp": false,
4186
4146
  "multiple": false,
4187
4147
  "type": "option"
4148
+ },
4149
+ "channel": {
4150
+ "description": "Channel ID",
4151
+ "name": "channel",
4152
+ "required": true,
4153
+ "hasDynamicHelp": false,
4154
+ "multiple": false,
4155
+ "type": "option"
4156
+ },
4157
+ "name": {
4158
+ "description": "Bot name",
4159
+ "name": "name",
4160
+ "required": true,
4161
+ "hasDynamicHelp": false,
4162
+ "multiple": false,
4163
+ "type": "option"
4164
+ },
4165
+ "type": {
4166
+ "description": "Bot type",
4167
+ "name": "type",
4168
+ "required": true,
4169
+ "hasDynamicHelp": false,
4170
+ "multiple": false,
4171
+ "options": [
4172
+ "keyword",
4173
+ "schedule",
4174
+ "event",
4175
+ "ai"
4176
+ ],
4177
+ "type": "option"
4178
+ },
4179
+ "message": {
4180
+ "description": "Bot message content",
4181
+ "name": "message",
4182
+ "hasDynamicHelp": false,
4183
+ "multiple": false,
4184
+ "type": "option"
4185
+ },
4186
+ "response": {
4187
+ "description": "Alias for --message",
4188
+ "name": "response",
4189
+ "hasDynamicHelp": false,
4190
+ "multiple": false,
4191
+ "type": "option"
4192
+ },
4193
+ "color": {
4194
+ "description": "Bot color as HEX",
4195
+ "name": "color",
4196
+ "hasDynamicHelp": false,
4197
+ "multiple": false,
4198
+ "type": "option"
4199
+ },
4200
+ "tags": {
4201
+ "description": "Comma-separated tags",
4202
+ "name": "tags",
4203
+ "hasDynamicHelp": false,
4204
+ "multiple": false,
4205
+ "type": "option"
4206
+ },
4207
+ "data": {
4208
+ "description": "Additional JSON object payload",
4209
+ "name": "data",
4210
+ "hasDynamicHelp": false,
4211
+ "multiple": false,
4212
+ "type": "option"
4188
4213
  }
4189
4214
  },
4190
4215
  "hasDynamicHelp": false,
4191
4216
  "hiddenAliases": [],
4192
- "id": "contacts:delete",
4217
+ "id": "bots:create",
4193
4218
  "pluginAlias": "@instantkom/cli",
4194
4219
  "pluginName": "@instantkom/cli",
4195
4220
  "pluginType": "core",
@@ -4199,14 +4224,20 @@
4199
4224
  "relativePath": [
4200
4225
  "dist",
4201
4226
  "commands",
4202
- "contacts",
4203
- "delete.js"
4227
+ "bots",
4228
+ "create.js"
4204
4229
  ]
4205
4230
  },
4206
- "contacts:export": {
4231
+ "bots:delete": {
4207
4232
  "aliases": [],
4208
- "args": {},
4209
- "description": "Export contacts to CSV",
4233
+ "args": {
4234
+ "id": {
4235
+ "description": "Bot ID",
4236
+ "name": "id",
4237
+ "required": true
4238
+ }
4239
+ },
4240
+ "description": "Delete a bot",
4210
4241
  "flags": {
4211
4242
  "api-key": {
4212
4243
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4269,49 +4300,11 @@
4269
4300
  "hasDynamicHelp": false,
4270
4301
  "multiple": false,
4271
4302
  "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"
4310
4303
  }
4311
4304
  },
4312
4305
  "hasDynamicHelp": false,
4313
4306
  "hiddenAliases": [],
4314
- "id": "contacts:export",
4307
+ "id": "bots:delete",
4315
4308
  "pluginAlias": "@instantkom/cli",
4316
4309
  "pluginName": "@instantkom/cli",
4317
4310
  "pluginType": "core",
@@ -4321,20 +4314,20 @@
4321
4314
  "relativePath": [
4322
4315
  "dist",
4323
4316
  "commands",
4324
- "contacts",
4325
- "export.js"
4317
+ "bots",
4318
+ "delete.js"
4326
4319
  ]
4327
4320
  },
4328
- "contacts:get": {
4321
+ "bots:get": {
4329
4322
  "aliases": [],
4330
4323
  "args": {
4331
4324
  "id": {
4332
- "description": "Contact ID",
4325
+ "description": "Bot ID",
4333
4326
  "name": "id",
4334
4327
  "required": true
4335
4328
  }
4336
4329
  },
4337
- "description": "Get a contact by ID",
4330
+ "description": "Get a bot by ID",
4338
4331
  "flags": {
4339
4332
  "api-key": {
4340
4333
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4401,7 +4394,7 @@
4401
4394
  },
4402
4395
  "hasDynamicHelp": false,
4403
4396
  "hiddenAliases": [],
4404
- "id": "contacts:get",
4397
+ "id": "bots:get",
4405
4398
  "pluginAlias": "@instantkom/cli",
4406
4399
  "pluginName": "@instantkom/cli",
4407
4400
  "pluginType": "core",
@@ -4411,14 +4404,14 @@
4411
4404
  "relativePath": [
4412
4405
  "dist",
4413
4406
  "commands",
4414
- "contacts",
4407
+ "bots",
4415
4408
  "get.js"
4416
4409
  ]
4417
4410
  },
4418
- "contacts:import": {
4411
+ "bots:list": {
4419
4412
  "aliases": [],
4420
4413
  "args": {},
4421
- "description": "Import contacts from CSV",
4414
+ "description": "List bots",
4422
4415
  "flags": {
4423
4416
  "api-key": {
4424
4417
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4482,26 +4475,65 @@
4482
4475
  "multiple": false,
4483
4476
  "type": "option"
4484
4477
  },
4485
- "file": {
4486
- "description": "CSV file path",
4487
- "name": "file",
4488
- "required": true,
4478
+ "page": {
4479
+ "description": "Page number",
4480
+ "name": "page",
4481
+ "default": 1,
4482
+ "hasDynamicHelp": false,
4483
+ "multiple": false,
4484
+ "type": "option"
4485
+ },
4486
+ "limit": {
4487
+ "description": "Items per page",
4488
+ "name": "limit",
4489
+ "default": 20,
4489
4490
  "hasDynamicHelp": false,
4490
4491
  "multiple": false,
4491
4492
  "type": "option"
4492
4493
  },
4493
4494
  "channel": {
4494
- "description": "Channel ID",
4495
+ "description": "Filter by channel ID",
4495
4496
  "name": "channel",
4496
- "required": true,
4497
4497
  "hasDynamicHelp": false,
4498
4498
  "multiple": false,
4499
4499
  "type": "option"
4500
+ },
4501
+ "type": {
4502
+ "description": "Filter by bot type",
4503
+ "name": "type",
4504
+ "hasDynamicHelp": false,
4505
+ "multiple": false,
4506
+ "type": "option"
4507
+ },
4508
+ "search": {
4509
+ "description": "Search in bot name or message",
4510
+ "name": "search",
4511
+ "hasDynamicHelp": false,
4512
+ "multiple": false,
4513
+ "type": "option"
4514
+ },
4515
+ "tags": {
4516
+ "description": "Comma-separated tag IDs",
4517
+ "name": "tags",
4518
+ "hasDynamicHelp": false,
4519
+ "multiple": false,
4520
+ "type": "option"
4521
+ },
4522
+ "tag-match": {
4523
+ "description": "Tag match mode",
4524
+ "name": "tag-match",
4525
+ "hasDynamicHelp": false,
4526
+ "multiple": false,
4527
+ "options": [
4528
+ "any",
4529
+ "all"
4530
+ ],
4531
+ "type": "option"
4500
4532
  }
4501
4533
  },
4502
4534
  "hasDynamicHelp": false,
4503
4535
  "hiddenAliases": [],
4504
- "id": "contacts:import",
4536
+ "id": "bots:list",
4505
4537
  "pluginAlias": "@instantkom/cli",
4506
4538
  "pluginName": "@instantkom/cli",
4507
4539
  "pluginType": "core",
@@ -4511,14 +4543,20 @@
4511
4543
  "relativePath": [
4512
4544
  "dist",
4513
4545
  "commands",
4514
- "contacts",
4515
- "import.js"
4546
+ "bots",
4547
+ "list.js"
4516
4548
  ]
4517
4549
  },
4518
- "contacts:list": {
4550
+ "bots:matches": {
4519
4551
  "aliases": [],
4520
- "args": {},
4521
- "description": "List contacts",
4552
+ "args": {
4553
+ "id": {
4554
+ "description": "Bot ID",
4555
+ "name": "id",
4556
+ "required": true
4557
+ }
4558
+ },
4559
+ "description": "List bot match history",
4522
4560
  "flags": {
4523
4561
  "api-key": {
4524
4562
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4582,20 +4620,6 @@
4582
4620
  "multiple": false,
4583
4621
  "type": "option"
4584
4622
  },
4585
- "channel": {
4586
- "description": "Filter by channel ID",
4587
- "name": "channel",
4588
- "hasDynamicHelp": false,
4589
- "multiple": false,
4590
- "type": "option"
4591
- },
4592
- "search": {
4593
- "description": "Search by name or identifier",
4594
- "name": "search",
4595
- "hasDynamicHelp": false,
4596
- "multiple": false,
4597
- "type": "option"
4598
- },
4599
4623
  "page": {
4600
4624
  "description": "Page number",
4601
4625
  "name": "page",
@@ -4607,72 +4631,14 @@
4607
4631
  "limit": {
4608
4632
  "description": "Items per page",
4609
4633
  "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",
4618
- "hasDynamicHelp": false,
4619
- "multiple": false,
4620
- "options": [
4621
- "0",
4622
- "1"
4623
- ],
4624
- "type": "option"
4625
- },
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"
4636
- },
4637
- "segment": {
4638
- "description": "Filter by segment ID",
4639
- "name": "segment",
4640
- "hasDynamicHelp": false,
4641
- "multiple": false,
4642
- "type": "option"
4643
- },
4644
- "tags": {
4645
- "description": "Comma-separated tag IDs",
4646
- "name": "tags",
4647
- "hasDynamicHelp": false,
4648
- "multiple": false,
4649
- "type": "option"
4650
- },
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",
4634
+ "default": 50,
4665
4635
  "hasDynamicHelp": false,
4666
4636
  "multiple": false,
4667
- "options": [
4668
- "true",
4669
- "false"
4670
- ],
4671
4637
  "type": "option"
4672
4638
  },
4673
- "trust-level": {
4674
- "description": "Comma-separated trust levels",
4675
- "name": "trust-level",
4639
+ "search": {
4640
+ "description": "Search in matches",
4641
+ "name": "search",
4676
4642
  "hasDynamicHelp": false,
4677
4643
  "multiple": false,
4678
4644
  "type": "option"
@@ -4680,7 +4646,7 @@
4680
4646
  },
4681
4647
  "hasDynamicHelp": false,
4682
4648
  "hiddenAliases": [],
4683
- "id": "contacts:list",
4649
+ "id": "bots:matches",
4684
4650
  "pluginAlias": "@instantkom/cli",
4685
4651
  "pluginName": "@instantkom/cli",
4686
4652
  "pluginType": "core",
@@ -4690,20 +4656,20 @@
4690
4656
  "relativePath": [
4691
4657
  "dist",
4692
4658
  "commands",
4693
- "contacts",
4694
- "list.js"
4659
+ "bots",
4660
+ "matches.js"
4695
4661
  ]
4696
4662
  },
4697
- "contacts:update": {
4663
+ "bots:update": {
4698
4664
  "aliases": [],
4699
4665
  "args": {
4700
4666
  "id": {
4701
- "description": "Contact ID",
4667
+ "description": "Bot ID",
4702
4668
  "name": "id",
4703
4669
  "required": true
4704
4670
  }
4705
4671
  },
4706
- "description": "Update a contact",
4672
+ "description": "Update a bot",
4707
4673
  "flags": {
4708
4674
  "api-key": {
4709
4675
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4750,33 +4716,67 @@
4750
4716
  "allowNo": false,
4751
4717
  "type": "boolean"
4752
4718
  },
4753
- "profile": {
4754
- "description": "Named configuration profile to use",
4755
- "helpGroup": "GLOBAL",
4756
- "name": "profile",
4757
- "default": "default",
4719
+ "profile": {
4720
+ "description": "Named configuration profile to use",
4721
+ "helpGroup": "GLOBAL",
4722
+ "name": "profile",
4723
+ "default": "default",
4724
+ "hasDynamicHelp": false,
4725
+ "multiple": false,
4726
+ "type": "option"
4727
+ },
4728
+ "api-url": {
4729
+ "description": "Override the API base URL (e.g. for staging)",
4730
+ "helpGroup": "GLOBAL",
4731
+ "name": "api-url",
4732
+ "hasDynamicHelp": false,
4733
+ "multiple": false,
4734
+ "type": "option"
4735
+ },
4736
+ "name": {
4737
+ "description": "Bot name",
4738
+ "name": "name",
4739
+ "hasDynamicHelp": false,
4740
+ "multiple": false,
4741
+ "type": "option"
4742
+ },
4743
+ "type": {
4744
+ "description": "Bot type",
4745
+ "name": "type",
4746
+ "hasDynamicHelp": false,
4747
+ "multiple": false,
4748
+ "options": [
4749
+ "keyword",
4750
+ "schedule",
4751
+ "event",
4752
+ "ai"
4753
+ ],
4754
+ "type": "option"
4755
+ },
4756
+ "message": {
4757
+ "description": "Bot message content",
4758
+ "name": "message",
4758
4759
  "hasDynamicHelp": false,
4759
4760
  "multiple": false,
4760
4761
  "type": "option"
4761
4762
  },
4762
- "api-url": {
4763
- "description": "Override the API base URL (e.g. for staging)",
4764
- "helpGroup": "GLOBAL",
4765
- "name": "api-url",
4763
+ "response": {
4764
+ "description": "Alias for --message",
4765
+ "name": "response",
4766
4766
  "hasDynamicHelp": false,
4767
4767
  "multiple": false,
4768
4768
  "type": "option"
4769
4769
  },
4770
- "identifier": {
4771
- "description": "Unique contact identifier",
4772
- "name": "identifier",
4770
+ "color": {
4771
+ "description": "Bot color as HEX",
4772
+ "name": "color",
4773
4773
  "hasDynamicHelp": false,
4774
4774
  "multiple": false,
4775
4775
  "type": "option"
4776
4776
  },
4777
- "name": {
4778
- "description": "Contact name",
4779
- "name": "name",
4777
+ "tags": {
4778
+ "description": "Comma-separated tags",
4779
+ "name": "tags",
4780
4780
  "hasDynamicHelp": false,
4781
4781
  "multiple": false,
4782
4782
  "type": "option"
@@ -4791,7 +4791,7 @@
4791
4791
  },
4792
4792
  "hasDynamicHelp": false,
4793
4793
  "hiddenAliases": [],
4794
- "id": "contacts:update",
4794
+ "id": "bots:update",
4795
4795
  "pluginAlias": "@instantkom/cli",
4796
4796
  "pluginName": "@instantkom/cli",
4797
4797
  "pluginType": "core",
@@ -4801,7 +4801,7 @@
4801
4801
  "relativePath": [
4802
4802
  "dist",
4803
4803
  "commands",
4804
- "contacts",
4804
+ "bots",
4805
4805
  "update.js"
4806
4806
  ]
4807
4807
  },
@@ -10321,10 +10321,10 @@
10321
10321
  "validate-import.js"
10322
10322
  ]
10323
10323
  },
10324
- "webhooks:add": {
10324
+ "tickets:create": {
10325
10325
  "aliases": [],
10326
10326
  "args": {},
10327
- "description": "Add a webhook subscription",
10327
+ "description": "Create a ticket",
10328
10328
  "flags": {
10329
10329
  "api-key": {
10330
10330
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10388,33 +10388,68 @@
10388
10388
  "multiple": false,
10389
10389
  "type": "option"
10390
10390
  },
10391
- "event": {
10392
- "description": "Webhook event to subscribe to",
10393
- "name": "event",
10391
+ "channel": {
10392
+ "description": "Channel ID",
10393
+ "name": "channel",
10394
10394
  "required": true,
10395
10395
  "hasDynamicHelp": false,
10396
10396
  "multiple": false,
10397
- "options": [
10398
- "new_contact",
10399
- "new_message",
10400
- "broadcast_sent",
10401
- "contact_updated",
10402
- "contact_opted_out"
10403
- ],
10404
10397
  "type": "option"
10405
10398
  },
10406
- "url": {
10407
- "description": "HTTPS target URL that receives webhook POSTs",
10408
- "name": "url",
10399
+ "subject": {
10400
+ "description": "Ticket subject",
10401
+ "name": "subject",
10409
10402
  "required": true,
10410
10403
  "hasDynamicHelp": false,
10411
10404
  "multiple": false,
10412
10405
  "type": "option"
10406
+ },
10407
+ "recipient": {
10408
+ "description": "Existing recipient ID",
10409
+ "name": "recipient",
10410
+ "hasDynamicHelp": false,
10411
+ "multiple": false,
10412
+ "type": "option"
10413
+ },
10414
+ "email": {
10415
+ "description": "Customer email",
10416
+ "name": "email",
10417
+ "hasDynamicHelp": false,
10418
+ "multiple": false,
10419
+ "type": "option"
10420
+ },
10421
+ "name": {
10422
+ "description": "Customer name",
10423
+ "name": "name",
10424
+ "hasDynamicHelp": false,
10425
+ "multiple": false,
10426
+ "type": "option"
10427
+ },
10428
+ "priority": {
10429
+ "description": "Ticket priority",
10430
+ "name": "priority",
10431
+ "hasDynamicHelp": false,
10432
+ "multiple": false,
10433
+ "type": "option"
10434
+ },
10435
+ "source": {
10436
+ "description": "Ticket source",
10437
+ "name": "source",
10438
+ "hasDynamicHelp": false,
10439
+ "multiple": false,
10440
+ "type": "option"
10441
+ },
10442
+ "data": {
10443
+ "description": "Additional JSON object payload",
10444
+ "name": "data",
10445
+ "hasDynamicHelp": false,
10446
+ "multiple": false,
10447
+ "type": "option"
10413
10448
  }
10414
10449
  },
10415
10450
  "hasDynamicHelp": false,
10416
10451
  "hiddenAliases": [],
10417
- "id": "webhooks:add",
10452
+ "id": "tickets:create",
10418
10453
  "pluginAlias": "@instantkom/cli",
10419
10454
  "pluginName": "@instantkom/cli",
10420
10455
  "pluginType": "core",
@@ -10424,14 +10459,20 @@
10424
10459
  "relativePath": [
10425
10460
  "dist",
10426
10461
  "commands",
10427
- "webhooks",
10428
- "add.js"
10462
+ "tickets",
10463
+ "create.js"
10429
10464
  ]
10430
10465
  },
10431
- "webhooks:events": {
10466
+ "tickets:delete": {
10432
10467
  "aliases": [],
10433
- "args": {},
10434
- "description": "List supported webhook event names",
10468
+ "args": {
10469
+ "id": {
10470
+ "description": "Ticket ID",
10471
+ "name": "id",
10472
+ "required": true
10473
+ }
10474
+ },
10475
+ "description": "Delete a ticket",
10435
10476
  "flags": {
10436
10477
  "api-key": {
10437
10478
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10494,11 +10535,19 @@
10494
10535
  "hasDynamicHelp": false,
10495
10536
  "multiple": false,
10496
10537
  "type": "option"
10538
+ },
10539
+ "channel": {
10540
+ "description": "Channel ID",
10541
+ "name": "channel",
10542
+ "required": true,
10543
+ "hasDynamicHelp": false,
10544
+ "multiple": false,
10545
+ "type": "option"
10497
10546
  }
10498
10547
  },
10499
10548
  "hasDynamicHelp": false,
10500
10549
  "hiddenAliases": [],
10501
- "id": "webhooks:events",
10550
+ "id": "tickets:delete",
10502
10551
  "pluginAlias": "@instantkom/cli",
10503
10552
  "pluginName": "@instantkom/cli",
10504
10553
  "pluginType": "core",
@@ -10508,14 +10557,20 @@
10508
10557
  "relativePath": [
10509
10558
  "dist",
10510
10559
  "commands",
10511
- "webhooks",
10512
- "events.js"
10560
+ "tickets",
10561
+ "delete.js"
10513
10562
  ]
10514
10563
  },
10515
- "webhooks:list": {
10564
+ "tickets:get": {
10516
10565
  "aliases": [],
10517
- "args": {},
10518
- "description": "List webhook subscriptions",
10566
+ "args": {
10567
+ "id": {
10568
+ "description": "Ticket ID",
10569
+ "name": "id",
10570
+ "required": true
10571
+ }
10572
+ },
10573
+ "description": "Get a ticket by ID",
10519
10574
  "flags": {
10520
10575
  "api-key": {
10521
10576
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10578,11 +10633,19 @@
10578
10633
  "hasDynamicHelp": false,
10579
10634
  "multiple": false,
10580
10635
  "type": "option"
10636
+ },
10637
+ "channel": {
10638
+ "description": "Channel ID",
10639
+ "name": "channel",
10640
+ "required": true,
10641
+ "hasDynamicHelp": false,
10642
+ "multiple": false,
10643
+ "type": "option"
10581
10644
  }
10582
10645
  },
10583
10646
  "hasDynamicHelp": false,
10584
10647
  "hiddenAliases": [],
10585
- "id": "webhooks:list",
10648
+ "id": "tickets:get",
10586
10649
  "pluginAlias": "@instantkom/cli",
10587
10650
  "pluginName": "@instantkom/cli",
10588
10651
  "pluginType": "core",
@@ -10592,14 +10655,14 @@
10592
10655
  "relativePath": [
10593
10656
  "dist",
10594
10657
  "commands",
10595
- "webhooks",
10596
- "list.js"
10658
+ "tickets",
10659
+ "get.js"
10597
10660
  ]
10598
10661
  },
10599
- "webhooks:logs": {
10662
+ "tickets:list": {
10600
10663
  "aliases": [],
10601
10664
  "args": {},
10602
- "description": "Explain webhook log availability",
10665
+ "description": "List tickets for a channel",
10603
10666
  "flags": {
10604
10667
  "api-key": {
10605
10668
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10662,11 +10725,35 @@
10662
10725
  "hasDynamicHelp": false,
10663
10726
  "multiple": false,
10664
10727
  "type": "option"
10728
+ },
10729
+ "channel": {
10730
+ "description": "Channel ID",
10731
+ "name": "channel",
10732
+ "required": true,
10733
+ "hasDynamicHelp": false,
10734
+ "multiple": false,
10735
+ "type": "option"
10736
+ },
10737
+ "limit": {
10738
+ "description": "Maximum tickets to return",
10739
+ "name": "limit",
10740
+ "default": 500,
10741
+ "hasDynamicHelp": false,
10742
+ "multiple": false,
10743
+ "type": "option"
10744
+ },
10745
+ "offset": {
10746
+ "description": "Number of tickets to skip",
10747
+ "name": "offset",
10748
+ "default": 0,
10749
+ "hasDynamicHelp": false,
10750
+ "multiple": false,
10751
+ "type": "option"
10665
10752
  }
10666
10753
  },
10667
10754
  "hasDynamicHelp": false,
10668
10755
  "hiddenAliases": [],
10669
- "id": "webhooks:logs",
10756
+ "id": "tickets:list",
10670
10757
  "pluginAlias": "@instantkom/cli",
10671
10758
  "pluginName": "@instantkom/cli",
10672
10759
  "pluginType": "core",
@@ -10676,20 +10763,20 @@
10676
10763
  "relativePath": [
10677
10764
  "dist",
10678
10765
  "commands",
10679
- "webhooks",
10680
- "logs.js"
10766
+ "tickets",
10767
+ "list.js"
10681
10768
  ]
10682
10769
  },
10683
- "webhooks:remove": {
10770
+ "tickets:reply": {
10684
10771
  "aliases": [],
10685
10772
  "args": {
10686
10773
  "id": {
10687
- "description": "Webhook subscription ID",
10774
+ "description": "Ticket ID",
10688
10775
  "name": "id",
10689
10776
  "required": true
10690
10777
  }
10691
10778
  },
10692
- "description": "Remove a webhook subscription",
10779
+ "description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only; the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
10693
10780
  "flags": {
10694
10781
  "api-key": {
10695
10782
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10752,11 +10839,25 @@
10752
10839
  "hasDynamicHelp": false,
10753
10840
  "multiple": false,
10754
10841
  "type": "option"
10842
+ },
10843
+ "message": {
10844
+ "description": "Reply body (raw text, no salutation or sign-off)",
10845
+ "name": "message",
10846
+ "required": true,
10847
+ "hasDynamicHelp": false,
10848
+ "multiple": false,
10849
+ "type": "option"
10850
+ },
10851
+ "close": {
10852
+ "description": "Close the ticket after sending the reply",
10853
+ "name": "close",
10854
+ "allowNo": false,
10855
+ "type": "boolean"
10755
10856
  }
10756
10857
  },
10757
10858
  "hasDynamicHelp": false,
10758
10859
  "hiddenAliases": [],
10759
- "id": "webhooks:remove",
10860
+ "id": "tickets:reply",
10760
10861
  "pluginAlias": "@instantkom/cli",
10761
10862
  "pluginName": "@instantkom/cli",
10762
10863
  "pluginType": "core",
@@ -10766,14 +10867,20 @@
10766
10867
  "relativePath": [
10767
10868
  "dist",
10768
10869
  "commands",
10769
- "webhooks",
10770
- "remove.js"
10870
+ "tickets",
10871
+ "reply.js"
10771
10872
  ]
10772
10873
  },
10773
- "webhooks:test": {
10874
+ "tickets:update": {
10774
10875
  "aliases": [],
10775
- "args": {},
10776
- "description": "Send a test webhook payload to a URL",
10876
+ "args": {
10877
+ "id": {
10878
+ "description": "Ticket ID",
10879
+ "name": "id",
10880
+ "required": true
10881
+ }
10882
+ },
10883
+ "description": "Update a ticket",
10777
10884
  "flags": {
10778
10885
  "api-key": {
10779
10886
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10837,25 +10944,51 @@
10837
10944
  "multiple": false,
10838
10945
  "type": "option"
10839
10946
  },
10840
- "url": {
10841
- "description": "Webhook URL to call",
10842
- "name": "url",
10843
- "required": true,
10947
+ "channel": {
10948
+ "description": "Channel ID",
10949
+ "name": "channel",
10950
+ "required": true,
10951
+ "hasDynamicHelp": false,
10952
+ "multiple": false,
10953
+ "type": "option"
10954
+ },
10955
+ "subject": {
10956
+ "description": "Ticket subject",
10957
+ "name": "subject",
10958
+ "hasDynamicHelp": false,
10959
+ "multiple": false,
10960
+ "type": "option"
10961
+ },
10962
+ "priority": {
10963
+ "description": "Ticket priority",
10964
+ "name": "priority",
10965
+ "hasDynamicHelp": false,
10966
+ "multiple": false,
10967
+ "type": "option"
10968
+ },
10969
+ "status": {
10970
+ "description": "Ticket status",
10971
+ "name": "status",
10972
+ "hasDynamicHelp": false,
10973
+ "multiple": false,
10974
+ "type": "option"
10975
+ },
10976
+ "assigned-to": {
10977
+ "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
10978
+ "name": "assigned-to",
10844
10979
  "hasDynamicHelp": false,
10845
10980
  "multiple": false,
10846
10981
  "type": "option"
10847
10982
  },
10848
- "event": {
10849
- "description": "Event name",
10850
- "name": "event",
10851
- "default": "cli.test",
10852
- "hasDynamicHelp": false,
10853
- "multiple": false,
10854
- "type": "option"
10983
+ "notify": {
10984
+ "description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
10985
+ "name": "notify",
10986
+ "allowNo": true,
10987
+ "type": "boolean"
10855
10988
  },
10856
- "payload": {
10857
- "description": "Payload JSON",
10858
- "name": "payload",
10989
+ "data": {
10990
+ "description": "Additional JSON object payload",
10991
+ "name": "data",
10859
10992
  "hasDynamicHelp": false,
10860
10993
  "multiple": false,
10861
10994
  "type": "option"
@@ -10863,7 +10996,7 @@
10863
10996
  },
10864
10997
  "hasDynamicHelp": false,
10865
10998
  "hiddenAliases": [],
10866
- "id": "webhooks:test",
10999
+ "id": "tickets:update",
10867
11000
  "pluginAlias": "@instantkom/cli",
10868
11001
  "pluginName": "@instantkom/cli",
10869
11002
  "pluginType": "core",
@@ -10873,14 +11006,14 @@
10873
11006
  "relativePath": [
10874
11007
  "dist",
10875
11008
  "commands",
10876
- "webhooks",
10877
- "test.js"
11009
+ "tickets",
11010
+ "update.js"
10878
11011
  ]
10879
11012
  },
10880
- "tickets:create": {
11013
+ "webhooks:add": {
10881
11014
  "aliases": [],
10882
11015
  "args": {},
10883
- "description": "Create a ticket",
11016
+ "description": "Add a webhook subscription",
10884
11017
  "flags": {
10885
11018
  "api-key": {
10886
11019
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10944,68 +11077,33 @@
10944
11077
  "multiple": false,
10945
11078
  "type": "option"
10946
11079
  },
10947
- "channel": {
10948
- "description": "Channel ID",
10949
- "name": "channel",
11080
+ "event": {
11081
+ "description": "Webhook event to subscribe to",
11082
+ "name": "event",
10950
11083
  "required": true,
10951
11084
  "hasDynamicHelp": false,
10952
11085
  "multiple": false,
11086
+ "options": [
11087
+ "new_contact",
11088
+ "new_message",
11089
+ "broadcast_sent",
11090
+ "contact_updated",
11091
+ "contact_opted_out"
11092
+ ],
10953
11093
  "type": "option"
10954
11094
  },
10955
- "subject": {
10956
- "description": "Ticket subject",
10957
- "name": "subject",
11095
+ "url": {
11096
+ "description": "HTTPS target URL that receives webhook POSTs",
11097
+ "name": "url",
10958
11098
  "required": true,
10959
11099
  "hasDynamicHelp": false,
10960
11100
  "multiple": false,
10961
11101
  "type": "option"
10962
- },
10963
- "recipient": {
10964
- "description": "Existing recipient ID",
10965
- "name": "recipient",
10966
- "hasDynamicHelp": false,
10967
- "multiple": false,
10968
- "type": "option"
10969
- },
10970
- "email": {
10971
- "description": "Customer email",
10972
- "name": "email",
10973
- "hasDynamicHelp": false,
10974
- "multiple": false,
10975
- "type": "option"
10976
- },
10977
- "name": {
10978
- "description": "Customer name",
10979
- "name": "name",
10980
- "hasDynamicHelp": false,
10981
- "multiple": false,
10982
- "type": "option"
10983
- },
10984
- "priority": {
10985
- "description": "Ticket priority",
10986
- "name": "priority",
10987
- "hasDynamicHelp": false,
10988
- "multiple": false,
10989
- "type": "option"
10990
- },
10991
- "source": {
10992
- "description": "Ticket source",
10993
- "name": "source",
10994
- "hasDynamicHelp": false,
10995
- "multiple": false,
10996
- "type": "option"
10997
- },
10998
- "data": {
10999
- "description": "Additional JSON object payload",
11000
- "name": "data",
11001
- "hasDynamicHelp": false,
11002
- "multiple": false,
11003
- "type": "option"
11004
11102
  }
11005
11103
  },
11006
11104
  "hasDynamicHelp": false,
11007
11105
  "hiddenAliases": [],
11008
- "id": "tickets:create",
11106
+ "id": "webhooks:add",
11009
11107
  "pluginAlias": "@instantkom/cli",
11010
11108
  "pluginName": "@instantkom/cli",
11011
11109
  "pluginType": "core",
@@ -11015,20 +11113,14 @@
11015
11113
  "relativePath": [
11016
11114
  "dist",
11017
11115
  "commands",
11018
- "tickets",
11019
- "create.js"
11116
+ "webhooks",
11117
+ "add.js"
11020
11118
  ]
11021
11119
  },
11022
- "tickets:delete": {
11120
+ "webhooks:events": {
11023
11121
  "aliases": [],
11024
- "args": {
11025
- "id": {
11026
- "description": "Ticket ID",
11027
- "name": "id",
11028
- "required": true
11029
- }
11030
- },
11031
- "description": "Delete a ticket",
11122
+ "args": {},
11123
+ "description": "List supported webhook event names",
11032
11124
  "flags": {
11033
11125
  "api-key": {
11034
11126
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11091,19 +11183,11 @@
11091
11183
  "hasDynamicHelp": false,
11092
11184
  "multiple": false,
11093
11185
  "type": "option"
11094
- },
11095
- "channel": {
11096
- "description": "Channel ID",
11097
- "name": "channel",
11098
- "required": true,
11099
- "hasDynamicHelp": false,
11100
- "multiple": false,
11101
- "type": "option"
11102
11186
  }
11103
11187
  },
11104
11188
  "hasDynamicHelp": false,
11105
11189
  "hiddenAliases": [],
11106
- "id": "tickets:delete",
11190
+ "id": "webhooks:events",
11107
11191
  "pluginAlias": "@instantkom/cli",
11108
11192
  "pluginName": "@instantkom/cli",
11109
11193
  "pluginType": "core",
@@ -11113,20 +11197,14 @@
11113
11197
  "relativePath": [
11114
11198
  "dist",
11115
11199
  "commands",
11116
- "tickets",
11117
- "delete.js"
11200
+ "webhooks",
11201
+ "events.js"
11118
11202
  ]
11119
11203
  },
11120
- "tickets:get": {
11204
+ "webhooks:list": {
11121
11205
  "aliases": [],
11122
- "args": {
11123
- "id": {
11124
- "description": "Ticket ID",
11125
- "name": "id",
11126
- "required": true
11127
- }
11128
- },
11129
- "description": "Get a ticket by ID",
11206
+ "args": {},
11207
+ "description": "List webhook subscriptions",
11130
11208
  "flags": {
11131
11209
  "api-key": {
11132
11210
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11189,19 +11267,11 @@
11189
11267
  "hasDynamicHelp": false,
11190
11268
  "multiple": false,
11191
11269
  "type": "option"
11192
- },
11193
- "channel": {
11194
- "description": "Channel ID",
11195
- "name": "channel",
11196
- "required": true,
11197
- "hasDynamicHelp": false,
11198
- "multiple": false,
11199
- "type": "option"
11200
11270
  }
11201
11271
  },
11202
11272
  "hasDynamicHelp": false,
11203
11273
  "hiddenAliases": [],
11204
- "id": "tickets:get",
11274
+ "id": "webhooks:list",
11205
11275
  "pluginAlias": "@instantkom/cli",
11206
11276
  "pluginName": "@instantkom/cli",
11207
11277
  "pluginType": "core",
@@ -11211,14 +11281,14 @@
11211
11281
  "relativePath": [
11212
11282
  "dist",
11213
11283
  "commands",
11214
- "tickets",
11215
- "get.js"
11284
+ "webhooks",
11285
+ "list.js"
11216
11286
  ]
11217
11287
  },
11218
- "tickets:list": {
11288
+ "webhooks:logs": {
11219
11289
  "aliases": [],
11220
11290
  "args": {},
11221
- "description": "List tickets for a channel",
11291
+ "description": "Explain webhook log availability",
11222
11292
  "flags": {
11223
11293
  "api-key": {
11224
11294
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11281,35 +11351,11 @@
11281
11351
  "hasDynamicHelp": false,
11282
11352
  "multiple": false,
11283
11353
  "type": "option"
11284
- },
11285
- "channel": {
11286
- "description": "Channel ID",
11287
- "name": "channel",
11288
- "required": true,
11289
- "hasDynamicHelp": false,
11290
- "multiple": false,
11291
- "type": "option"
11292
- },
11293
- "limit": {
11294
- "description": "Maximum tickets to return",
11295
- "name": "limit",
11296
- "default": 500,
11297
- "hasDynamicHelp": false,
11298
- "multiple": false,
11299
- "type": "option"
11300
- },
11301
- "offset": {
11302
- "description": "Number of tickets to skip",
11303
- "name": "offset",
11304
- "default": 0,
11305
- "hasDynamicHelp": false,
11306
- "multiple": false,
11307
- "type": "option"
11308
11354
  }
11309
11355
  },
11310
11356
  "hasDynamicHelp": false,
11311
11357
  "hiddenAliases": [],
11312
- "id": "tickets:list",
11358
+ "id": "webhooks:logs",
11313
11359
  "pluginAlias": "@instantkom/cli",
11314
11360
  "pluginName": "@instantkom/cli",
11315
11361
  "pluginType": "core",
@@ -11319,20 +11365,20 @@
11319
11365
  "relativePath": [
11320
11366
  "dist",
11321
11367
  "commands",
11322
- "tickets",
11323
- "list.js"
11368
+ "webhooks",
11369
+ "logs.js"
11324
11370
  ]
11325
11371
  },
11326
- "tickets:reply": {
11372
+ "webhooks:remove": {
11327
11373
  "aliases": [],
11328
11374
  "args": {
11329
11375
  "id": {
11330
- "description": "Ticket ID",
11376
+ "description": "Webhook subscription ID",
11331
11377
  "name": "id",
11332
11378
  "required": true
11333
11379
  }
11334
11380
  },
11335
- "description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only; the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
11381
+ "description": "Remove a webhook subscription",
11336
11382
  "flags": {
11337
11383
  "api-key": {
11338
11384
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11395,25 +11441,11 @@
11395
11441
  "hasDynamicHelp": false,
11396
11442
  "multiple": false,
11397
11443
  "type": "option"
11398
- },
11399
- "message": {
11400
- "description": "Reply body (raw text, no salutation or sign-off)",
11401
- "name": "message",
11402
- "required": true,
11403
- "hasDynamicHelp": false,
11404
- "multiple": false,
11405
- "type": "option"
11406
- },
11407
- "close": {
11408
- "description": "Close the ticket after sending the reply",
11409
- "name": "close",
11410
- "allowNo": false,
11411
- "type": "boolean"
11412
11444
  }
11413
11445
  },
11414
11446
  "hasDynamicHelp": false,
11415
11447
  "hiddenAliases": [],
11416
- "id": "tickets:reply",
11448
+ "id": "webhooks:remove",
11417
11449
  "pluginAlias": "@instantkom/cli",
11418
11450
  "pluginName": "@instantkom/cli",
11419
11451
  "pluginType": "core",
@@ -11423,20 +11455,14 @@
11423
11455
  "relativePath": [
11424
11456
  "dist",
11425
11457
  "commands",
11426
- "tickets",
11427
- "reply.js"
11458
+ "webhooks",
11459
+ "remove.js"
11428
11460
  ]
11429
11461
  },
11430
- "tickets:update": {
11462
+ "webhooks:test": {
11431
11463
  "aliases": [],
11432
- "args": {
11433
- "id": {
11434
- "description": "Ticket ID",
11435
- "name": "id",
11436
- "required": true
11437
- }
11438
- },
11439
- "description": "Update a ticket",
11464
+ "args": {},
11465
+ "description": "Send a test webhook payload to a URL",
11440
11466
  "flags": {
11441
11467
  "api-key": {
11442
11468
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11500,51 +11526,25 @@
11500
11526
  "multiple": false,
11501
11527
  "type": "option"
11502
11528
  },
11503
- "channel": {
11504
- "description": "Channel ID",
11505
- "name": "channel",
11529
+ "url": {
11530
+ "description": "Webhook URL to call",
11531
+ "name": "url",
11506
11532
  "required": true,
11507
11533
  "hasDynamicHelp": false,
11508
11534
  "multiple": false,
11509
11535
  "type": "option"
11510
11536
  },
11511
- "subject": {
11512
- "description": "Ticket subject",
11513
- "name": "subject",
11514
- "hasDynamicHelp": false,
11515
- "multiple": false,
11516
- "type": "option"
11517
- },
11518
- "priority": {
11519
- "description": "Ticket priority",
11520
- "name": "priority",
11521
- "hasDynamicHelp": false,
11522
- "multiple": false,
11523
- "type": "option"
11524
- },
11525
- "status": {
11526
- "description": "Ticket status",
11527
- "name": "status",
11528
- "hasDynamicHelp": false,
11529
- "multiple": false,
11530
- "type": "option"
11531
- },
11532
- "assigned-to": {
11533
- "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
11534
- "name": "assigned-to",
11537
+ "event": {
11538
+ "description": "Event name",
11539
+ "name": "event",
11540
+ "default": "cli.test",
11535
11541
  "hasDynamicHelp": false,
11536
11542
  "multiple": false,
11537
11543
  "type": "option"
11538
11544
  },
11539
- "notify": {
11540
- "description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
11541
- "name": "notify",
11542
- "allowNo": true,
11543
- "type": "boolean"
11544
- },
11545
- "data": {
11546
- "description": "Additional JSON object payload",
11547
- "name": "data",
11545
+ "payload": {
11546
+ "description": "Payload JSON",
11547
+ "name": "payload",
11548
11548
  "hasDynamicHelp": false,
11549
11549
  "multiple": false,
11550
11550
  "type": "option"
@@ -11552,7 +11552,7 @@
11552
11552
  },
11553
11553
  "hasDynamicHelp": false,
11554
11554
  "hiddenAliases": [],
11555
- "id": "tickets:update",
11555
+ "id": "webhooks:test",
11556
11556
  "pluginAlias": "@instantkom/cli",
11557
11557
  "pluginName": "@instantkom/cli",
11558
11558
  "pluginType": "core",
@@ -11562,8 +11562,8 @@
11562
11562
  "relativePath": [
11563
11563
  "dist",
11564
11564
  "commands",
11565
- "tickets",
11566
- "update.js"
11565
+ "webhooks",
11566
+ "test.js"
11567
11567
  ]
11568
11568
  },
11569
11569
  "auth:tokens:create": {
@@ -11856,16 +11856,21 @@
11856
11856
  "revoke.js"
11857
11857
  ]
11858
11858
  },
11859
- "bots:env-vars:bots": {
11859
+ "contacts:custom-fields:delete-value": {
11860
11860
  "aliases": [],
11861
11861
  "args": {
11862
- "id": {
11863
- "description": "Environment variable ID",
11864
- "name": "id",
11862
+ "contactId": {
11863
+ "description": "Contact ID",
11864
+ "name": "contactId",
11865
+ "required": true
11866
+ },
11867
+ "fieldId": {
11868
+ "description": "Custom field ID",
11869
+ "name": "fieldId",
11865
11870
  "required": true
11866
11871
  }
11867
11872
  },
11868
- "description": "List bots using a bot environment variable",
11873
+ "description": "Delete one custom field value from a contact",
11869
11874
  "flags": {
11870
11875
  "api-key": {
11871
11876
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11932,7 +11937,7 @@
11932
11937
  },
11933
11938
  "hasDynamicHelp": false,
11934
11939
  "hiddenAliases": [],
11935
- "id": "bots:env-vars:bots",
11940
+ "id": "contacts:custom-fields:delete-value",
11936
11941
  "pluginAlias": "@instantkom/cli",
11937
11942
  "pluginName": "@instantkom/cli",
11938
11943
  "pluginType": "core",
@@ -11942,15 +11947,21 @@
11942
11947
  "relativePath": [
11943
11948
  "dist",
11944
11949
  "commands",
11945
- "bots",
11946
- "env-vars",
11947
- "bots.js"
11950
+ "contacts",
11951
+ "custom-fields",
11952
+ "delete-value.js"
11948
11953
  ]
11949
11954
  },
11950
- "bots:env-vars:create": {
11955
+ "contacts:custom-fields:list": {
11951
11956
  "aliases": [],
11952
- "args": {},
11953
- "description": "Create a bot environment variable",
11957
+ "args": {
11958
+ "contactId": {
11959
+ "description": "Contact ID",
11960
+ "name": "contactId",
11961
+ "required": true
11962
+ }
11963
+ },
11964
+ "description": "List custom field values for a contact",
11954
11965
  "flags": {
11955
11966
  "api-key": {
11956
11967
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12013,40 +12024,11 @@
12013
12024
  "hasDynamicHelp": false,
12014
12025
  "multiple": false,
12015
12026
  "type": "option"
12016
- },
12017
- "key": {
12018
- "description": "Variable key (max 16 chars, letters, digits, underscore)",
12019
- "name": "key",
12020
- "required": true,
12021
- "hasDynamicHelp": false,
12022
- "multiple": false,
12023
- "type": "option"
12024
- },
12025
- "description": {
12026
- "description": "Variable description",
12027
- "name": "description",
12028
- "hasDynamicHelp": false,
12029
- "multiple": false,
12030
- "type": "option"
12031
- },
12032
- "color": {
12033
- "description": "Variable color as HEX",
12034
- "name": "color",
12035
- "hasDynamicHelp": false,
12036
- "multiple": false,
12037
- "type": "option"
12038
- },
12039
- "data": {
12040
- "description": "Additional JSON object payload",
12041
- "name": "data",
12042
- "hasDynamicHelp": false,
12043
- "multiple": false,
12044
- "type": "option"
12045
12027
  }
12046
12028
  },
12047
12029
  "hasDynamicHelp": false,
12048
12030
  "hiddenAliases": [],
12049
- "id": "bots:env-vars:create",
12031
+ "id": "contacts:custom-fields:list",
12050
12032
  "pluginAlias": "@instantkom/cli",
12051
12033
  "pluginName": "@instantkom/cli",
12052
12034
  "pluginType": "core",
@@ -12056,21 +12038,26 @@
12056
12038
  "relativePath": [
12057
12039
  "dist",
12058
12040
  "commands",
12059
- "bots",
12060
- "env-vars",
12061
- "create.js"
12041
+ "contacts",
12042
+ "custom-fields",
12043
+ "list.js"
12062
12044
  ]
12063
12045
  },
12064
- "bots:env-vars:delete": {
12046
+ "contacts:custom-fields:set-value": {
12065
12047
  "aliases": [],
12066
12048
  "args": {
12067
- "id": {
12068
- "description": "Environment variable ID",
12069
- "name": "id",
12049
+ "contactId": {
12050
+ "description": "Contact ID",
12051
+ "name": "contactId",
12052
+ "required": true
12053
+ },
12054
+ "fieldId": {
12055
+ "description": "Custom field ID",
12056
+ "name": "fieldId",
12070
12057
  "required": true
12071
12058
  }
12072
12059
  },
12073
- "description": "Delete a bot environment variable",
12060
+ "description": "Set one custom field value for a contact",
12074
12061
  "flags": {
12075
12062
  "api-key": {
12076
12063
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12133,11 +12120,19 @@
12133
12120
  "hasDynamicHelp": false,
12134
12121
  "multiple": false,
12135
12122
  "type": "option"
12123
+ },
12124
+ "value": {
12125
+ "description": "Custom field value",
12126
+ "name": "value",
12127
+ "required": true,
12128
+ "hasDynamicHelp": false,
12129
+ "multiple": false,
12130
+ "type": "option"
12136
12131
  }
12137
12132
  },
12138
12133
  "hasDynamicHelp": false,
12139
12134
  "hiddenAliases": [],
12140
- "id": "bots:env-vars:delete",
12135
+ "id": "contacts:custom-fields:set-value",
12141
12136
  "pluginAlias": "@instantkom/cli",
12142
12137
  "pluginName": "@instantkom/cli",
12143
12138
  "pluginType": "core",
@@ -12147,21 +12142,21 @@
12147
12142
  "relativePath": [
12148
12143
  "dist",
12149
12144
  "commands",
12150
- "bots",
12151
- "env-vars",
12152
- "delete.js"
12145
+ "contacts",
12146
+ "custom-fields",
12147
+ "set-value.js"
12153
12148
  ]
12154
12149
  },
12155
- "bots:env-vars:get": {
12150
+ "contacts:custom-fields:set": {
12156
12151
  "aliases": [],
12157
12152
  "args": {
12158
- "id": {
12159
- "description": "Environment variable ID",
12160
- "name": "id",
12153
+ "contactId": {
12154
+ "description": "Contact ID",
12155
+ "name": "contactId",
12161
12156
  "required": true
12162
12157
  }
12163
12158
  },
12164
- "description": "Get a bot environment variable",
12159
+ "description": "Set multiple custom field values for a contact",
12165
12160
  "flags": {
12166
12161
  "api-key": {
12167
12162
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12224,11 +12219,32 @@
12224
12219
  "hasDynamicHelp": false,
12225
12220
  "multiple": false,
12226
12221
  "type": "option"
12222
+ },
12223
+ "values": {
12224
+ "description": "JSON object with field keys as property names",
12225
+ "name": "values",
12226
+ "hasDynamicHelp": false,
12227
+ "multiple": false,
12228
+ "type": "option"
12229
+ },
12230
+ "file": {
12231
+ "description": "Path to a JSON file with field keys as property names",
12232
+ "name": "file",
12233
+ "hasDynamicHelp": false,
12234
+ "multiple": false,
12235
+ "type": "option"
12236
+ },
12237
+ "data": {
12238
+ "description": "Additional JSON object payload",
12239
+ "name": "data",
12240
+ "hasDynamicHelp": false,
12241
+ "multiple": false,
12242
+ "type": "option"
12227
12243
  }
12228
12244
  },
12229
12245
  "hasDynamicHelp": false,
12230
12246
  "hiddenAliases": [],
12231
- "id": "bots:env-vars:get",
12247
+ "id": "contacts:custom-fields:set",
12232
12248
  "pluginAlias": "@instantkom/cli",
12233
12249
  "pluginName": "@instantkom/cli",
12234
12250
  "pluginType": "core",
@@ -12238,15 +12254,26 @@
12238
12254
  "relativePath": [
12239
12255
  "dist",
12240
12256
  "commands",
12241
- "bots",
12242
- "env-vars",
12243
- "get.js"
12257
+ "contacts",
12258
+ "custom-fields",
12259
+ "set.js"
12244
12260
  ]
12245
12261
  },
12246
- "bots:env-vars:list": {
12262
+ "contacts:tags:add": {
12247
12263
  "aliases": [],
12248
- "args": {},
12249
- "description": "List bot environment variables",
12264
+ "args": {
12265
+ "contactId": {
12266
+ "description": "Contact ID",
12267
+ "name": "contactId",
12268
+ "required": true
12269
+ },
12270
+ "tagId": {
12271
+ "description": "Tag ID",
12272
+ "name": "tagId",
12273
+ "required": true
12274
+ }
12275
+ },
12276
+ "description": "Assign a tag to a contact",
12250
12277
  "flags": {
12251
12278
  "api-key": {
12252
12279
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12309,41 +12336,11 @@
12309
12336
  "hasDynamicHelp": false,
12310
12337
  "multiple": false,
12311
12338
  "type": "option"
12312
- },
12313
- "page": {
12314
- "description": "Page number",
12315
- "name": "page",
12316
- "default": 1,
12317
- "hasDynamicHelp": false,
12318
- "multiple": false,
12319
- "type": "option"
12320
- },
12321
- "limit": {
12322
- "description": "Items per page",
12323
- "name": "limit",
12324
- "default": 20,
12325
- "hasDynamicHelp": false,
12326
- "multiple": false,
12327
- "type": "option"
12328
- },
12329
- "search": {
12330
- "description": "Search in key or description",
12331
- "name": "search",
12332
- "hasDynamicHelp": false,
12333
- "multiple": false,
12334
- "type": "option"
12335
- },
12336
- "color": {
12337
- "description": "Filter by color",
12338
- "name": "color",
12339
- "hasDynamicHelp": false,
12340
- "multiple": false,
12341
- "type": "option"
12342
12339
  }
12343
12340
  },
12344
12341
  "hasDynamicHelp": false,
12345
12342
  "hiddenAliases": [],
12346
- "id": "bots:env-vars:list",
12343
+ "id": "contacts:tags:add",
12347
12344
  "pluginAlias": "@instantkom/cli",
12348
12345
  "pluginName": "@instantkom/cli",
12349
12346
  "pluginType": "core",
@@ -12353,21 +12350,21 @@
12353
12350
  "relativePath": [
12354
12351
  "dist",
12355
12352
  "commands",
12356
- "bots",
12357
- "env-vars",
12358
- "list.js"
12353
+ "contacts",
12354
+ "tags",
12355
+ "add.js"
12359
12356
  ]
12360
12357
  },
12361
- "bots:env-vars:update": {
12358
+ "contacts:tags:list": {
12362
12359
  "aliases": [],
12363
12360
  "args": {
12364
- "id": {
12365
- "description": "Environment variable ID",
12366
- "name": "id",
12361
+ "contactId": {
12362
+ "description": "Contact ID",
12363
+ "name": "contactId",
12367
12364
  "required": true
12368
12365
  }
12369
12366
  },
12370
- "description": "Update a bot environment variable",
12367
+ "description": "List tags assigned to a contact",
12371
12368
  "flags": {
12372
12369
  "api-key": {
12373
12370
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12430,32 +12427,11 @@
12430
12427
  "hasDynamicHelp": false,
12431
12428
  "multiple": false,
12432
12429
  "type": "option"
12433
- },
12434
- "description": {
12435
- "description": "Variable description",
12436
- "name": "description",
12437
- "hasDynamicHelp": false,
12438
- "multiple": false,
12439
- "type": "option"
12440
- },
12441
- "color": {
12442
- "description": "Variable color as HEX",
12443
- "name": "color",
12444
- "hasDynamicHelp": false,
12445
- "multiple": false,
12446
- "type": "option"
12447
- },
12448
- "data": {
12449
- "description": "Additional JSON object payload",
12450
- "name": "data",
12451
- "hasDynamicHelp": false,
12452
- "multiple": false,
12453
- "type": "option"
12454
12430
  }
12455
12431
  },
12456
12432
  "hasDynamicHelp": false,
12457
12433
  "hiddenAliases": [],
12458
- "id": "bots:env-vars:update",
12434
+ "id": "contacts:tags:list",
12459
12435
  "pluginAlias": "@instantkom/cli",
12460
12436
  "pluginName": "@instantkom/cli",
12461
12437
  "pluginType": "core",
@@ -12464,22 +12440,27 @@
12464
12440
  "isESM": true,
12465
12441
  "relativePath": [
12466
12442
  "dist",
12467
- "commands",
12468
- "bots",
12469
- "env-vars",
12470
- "update.js"
12443
+ "commands",
12444
+ "contacts",
12445
+ "tags",
12446
+ "list.js"
12471
12447
  ]
12472
12448
  },
12473
- "bots:env-vars:values": {
12449
+ "contacts:tags:remove": {
12474
12450
  "aliases": [],
12475
12451
  "args": {
12476
- "id": {
12477
- "description": "Environment variable ID",
12478
- "name": "id",
12452
+ "contactId": {
12453
+ "description": "Contact ID",
12454
+ "name": "contactId",
12455
+ "required": true
12456
+ },
12457
+ "tagId": {
12458
+ "description": "Tag ID",
12459
+ "name": "tagId",
12479
12460
  "required": true
12480
12461
  }
12481
12462
  },
12482
- "description": "List recipient values for a bot environment variable",
12463
+ "description": "Remove a tag from a contact",
12483
12464
  "flags": {
12484
12465
  "api-key": {
12485
12466
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12542,41 +12523,11 @@
12542
12523
  "hasDynamicHelp": false,
12543
12524
  "multiple": false,
12544
12525
  "type": "option"
12545
- },
12546
- "page": {
12547
- "description": "Page number",
12548
- "name": "page",
12549
- "default": 1,
12550
- "hasDynamicHelp": false,
12551
- "multiple": false,
12552
- "type": "option"
12553
- },
12554
- "limit": {
12555
- "description": "Items per page",
12556
- "name": "limit",
12557
- "default": 20,
12558
- "hasDynamicHelp": false,
12559
- "multiple": false,
12560
- "type": "option"
12561
- },
12562
- "search": {
12563
- "description": "Search in recipient name or identifier",
12564
- "name": "search",
12565
- "hasDynamicHelp": false,
12566
- "multiple": false,
12567
- "type": "option"
12568
- },
12569
- "recipient": {
12570
- "description": "Filter by recipient ID",
12571
- "name": "recipient",
12572
- "hasDynamicHelp": false,
12573
- "multiple": false,
12574
- "type": "option"
12575
12526
  }
12576
12527
  },
12577
12528
  "hasDynamicHelp": false,
12578
12529
  "hiddenAliases": [],
12579
- "id": "bots:env-vars:values",
12530
+ "id": "contacts:tags:remove",
12580
12531
  "pluginAlias": "@instantkom/cli",
12581
12532
  "pluginName": "@instantkom/cli",
12582
12533
  "pluginType": "core",
@@ -12586,21 +12537,21 @@
12586
12537
  "relativePath": [
12587
12538
  "dist",
12588
12539
  "commands",
12589
- "bots",
12590
- "env-vars",
12591
- "values.js"
12540
+ "contacts",
12541
+ "tags",
12542
+ "remove.js"
12592
12543
  ]
12593
12544
  },
12594
- "bots:filters:create": {
12545
+ "bots:env-vars:bots": {
12595
12546
  "aliases": [],
12596
12547
  "args": {
12597
- "botId": {
12598
- "description": "Bot ID",
12599
- "name": "botId",
12548
+ "id": {
12549
+ "description": "Environment variable ID",
12550
+ "name": "id",
12600
12551
  "required": true
12601
12552
  }
12602
12553
  },
12603
- "description": "Create a bot filter",
12554
+ "description": "List bots using a bot environment variable",
12604
12555
  "flags": {
12605
12556
  "api-key": {
12606
12557
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12663,77 +12614,11 @@
12663
12614
  "hasDynamicHelp": false,
12664
12615
  "multiple": false,
12665
12616
  "type": "option"
12666
- },
12667
- "name": {
12668
- "description": "Filter name",
12669
- "name": "name",
12670
- "required": true,
12671
- "hasDynamicHelp": false,
12672
- "multiple": false,
12673
- "type": "option"
12674
- },
12675
- "operator": {
12676
- "description": "Logical operator",
12677
- "name": "operator",
12678
- "default": "and",
12679
- "hasDynamicHelp": false,
12680
- "multiple": false,
12681
- "type": "option"
12682
- },
12683
- "filter-object": {
12684
- "description": "Filter object type",
12685
- "name": "filter-object",
12686
- "default": "msg",
12687
- "hasDynamicHelp": false,
12688
- "multiple": false,
12689
- "type": "option"
12690
- },
12691
- "filter-attribute": {
12692
- "description": "Filter attribute",
12693
- "name": "filter-attribute",
12694
- "default": "text",
12695
- "hasDynamicHelp": false,
12696
- "multiple": false,
12697
- "type": "option"
12698
- },
12699
- "filter-comparator": {
12700
- "description": "Filter comparator",
12701
- "name": "filter-comparator",
12702
- "default": "contains",
12703
- "hasDynamicHelp": false,
12704
- "multiple": false,
12705
- "type": "option"
12706
- },
12707
- "filter-value": {
12708
- "description": "Filter value",
12709
- "name": "filter-value",
12710
- "required": true,
12711
- "hasDynamicHelp": false,
12712
- "multiple": false,
12713
- "type": "option"
12714
- },
12715
- "status": {
12716
- "description": "Status: 0 inactive, 1 active",
12717
- "name": "status",
12718
- "hasDynamicHelp": false,
12719
- "multiple": false,
12720
- "options": [
12721
- "0",
12722
- "1"
12723
- ],
12724
- "type": "option"
12725
- },
12726
- "data": {
12727
- "description": "Additional JSON object payload",
12728
- "name": "data",
12729
- "hasDynamicHelp": false,
12730
- "multiple": false,
12731
- "type": "option"
12732
12617
  }
12733
12618
  },
12734
12619
  "hasDynamicHelp": false,
12735
12620
  "hiddenAliases": [],
12736
- "id": "bots:filters:create",
12621
+ "id": "bots:env-vars:bots",
12737
12622
  "pluginAlias": "@instantkom/cli",
12738
12623
  "pluginName": "@instantkom/cli",
12739
12624
  "pluginType": "core",
@@ -12744,25 +12629,14 @@
12744
12629
  "dist",
12745
12630
  "commands",
12746
12631
  "bots",
12747
- "filters",
12748
- "create.js"
12632
+ "env-vars",
12633
+ "bots.js"
12749
12634
  ]
12750
12635
  },
12751
- "bots:filters:delete": {
12636
+ "bots:env-vars:create": {
12752
12637
  "aliases": [],
12753
- "args": {
12754
- "botId": {
12755
- "description": "Bot ID",
12756
- "name": "botId",
12757
- "required": true
12758
- },
12759
- "filterId": {
12760
- "description": "Filter ID",
12761
- "name": "filterId",
12762
- "required": true
12763
- }
12764
- },
12765
- "description": "Delete a bot filter",
12638
+ "args": {},
12639
+ "description": "Create a bot environment variable",
12766
12640
  "flags": {
12767
12641
  "api-key": {
12768
12642
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12825,11 +12699,40 @@
12825
12699
  "hasDynamicHelp": false,
12826
12700
  "multiple": false,
12827
12701
  "type": "option"
12702
+ },
12703
+ "key": {
12704
+ "description": "Variable key (max 16 chars, letters, digits, underscore)",
12705
+ "name": "key",
12706
+ "required": true,
12707
+ "hasDynamicHelp": false,
12708
+ "multiple": false,
12709
+ "type": "option"
12710
+ },
12711
+ "description": {
12712
+ "description": "Variable description",
12713
+ "name": "description",
12714
+ "hasDynamicHelp": false,
12715
+ "multiple": false,
12716
+ "type": "option"
12717
+ },
12718
+ "color": {
12719
+ "description": "Variable color as HEX",
12720
+ "name": "color",
12721
+ "hasDynamicHelp": false,
12722
+ "multiple": false,
12723
+ "type": "option"
12724
+ },
12725
+ "data": {
12726
+ "description": "Additional JSON object payload",
12727
+ "name": "data",
12728
+ "hasDynamicHelp": false,
12729
+ "multiple": false,
12730
+ "type": "option"
12828
12731
  }
12829
12732
  },
12830
12733
  "hasDynamicHelp": false,
12831
12734
  "hiddenAliases": [],
12832
- "id": "bots:filters:delete",
12735
+ "id": "bots:env-vars:create",
12833
12736
  "pluginAlias": "@instantkom/cli",
12834
12737
  "pluginName": "@instantkom/cli",
12835
12738
  "pluginType": "core",
@@ -12840,25 +12743,20 @@
12840
12743
  "dist",
12841
12744
  "commands",
12842
12745
  "bots",
12843
- "filters",
12844
- "delete.js"
12746
+ "env-vars",
12747
+ "create.js"
12845
12748
  ]
12846
12749
  },
12847
- "bots:filters:get": {
12750
+ "bots:env-vars:delete": {
12848
12751
  "aliases": [],
12849
12752
  "args": {
12850
- "botId": {
12851
- "description": "Bot ID",
12852
- "name": "botId",
12853
- "required": true
12854
- },
12855
- "filterId": {
12856
- "description": "Filter ID",
12857
- "name": "filterId",
12753
+ "id": {
12754
+ "description": "Environment variable ID",
12755
+ "name": "id",
12858
12756
  "required": true
12859
12757
  }
12860
12758
  },
12861
- "description": "Get a bot filter",
12759
+ "description": "Delete a bot environment variable",
12862
12760
  "flags": {
12863
12761
  "api-key": {
12864
12762
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12925,7 +12823,7 @@
12925
12823
  },
12926
12824
  "hasDynamicHelp": false,
12927
12825
  "hiddenAliases": [],
12928
- "id": "bots:filters:get",
12826
+ "id": "bots:env-vars:delete",
12929
12827
  "pluginAlias": "@instantkom/cli",
12930
12828
  "pluginName": "@instantkom/cli",
12931
12829
  "pluginType": "core",
@@ -12936,20 +12834,20 @@
12936
12834
  "dist",
12937
12835
  "commands",
12938
12836
  "bots",
12939
- "filters",
12940
- "get.js"
12837
+ "env-vars",
12838
+ "delete.js"
12941
12839
  ]
12942
12840
  },
12943
- "bots:filters:list": {
12841
+ "bots:env-vars:get": {
12944
12842
  "aliases": [],
12945
12843
  "args": {
12946
- "botId": {
12947
- "description": "Bot ID",
12948
- "name": "botId",
12844
+ "id": {
12845
+ "description": "Environment variable ID",
12846
+ "name": "id",
12949
12847
  "required": true
12950
12848
  }
12951
12849
  },
12952
- "description": "List bot filters",
12850
+ "description": "Get a bot environment variable",
12953
12851
  "flags": {
12954
12852
  "api-key": {
12955
12853
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12994,55 +12892,21 @@
12994
12892
  "helpGroup": "GLOBAL",
12995
12893
  "name": "no-color",
12996
12894
  "allowNo": false,
12997
- "type": "boolean"
12998
- },
12999
- "profile": {
13000
- "description": "Named configuration profile to use",
13001
- "helpGroup": "GLOBAL",
13002
- "name": "profile",
13003
- "default": "default",
13004
- "hasDynamicHelp": false,
13005
- "multiple": false,
13006
- "type": "option"
13007
- },
13008
- "api-url": {
13009
- "description": "Override the API base URL (e.g. for staging)",
13010
- "helpGroup": "GLOBAL",
13011
- "name": "api-url",
13012
- "hasDynamicHelp": false,
13013
- "multiple": false,
13014
- "type": "option"
13015
- },
13016
- "page": {
13017
- "description": "Page number",
13018
- "name": "page",
13019
- "default": 1,
13020
- "hasDynamicHelp": false,
13021
- "multiple": false,
13022
- "type": "option"
13023
- },
13024
- "limit": {
13025
- "description": "Items per page",
13026
- "name": "limit",
13027
- "default": 20,
13028
- "hasDynamicHelp": false,
13029
- "multiple": false,
13030
- "type": "option"
12895
+ "type": "boolean"
13031
12896
  },
13032
- "status": {
13033
- "description": "Status filter: 0 inactive, 1 active",
13034
- "name": "status",
12897
+ "profile": {
12898
+ "description": "Named configuration profile to use",
12899
+ "helpGroup": "GLOBAL",
12900
+ "name": "profile",
12901
+ "default": "default",
13035
12902
  "hasDynamicHelp": false,
13036
12903
  "multiple": false,
13037
- "options": [
13038
- "0",
13039
- "1"
13040
- ],
13041
12904
  "type": "option"
13042
12905
  },
13043
- "search": {
13044
- "description": "Search in name or description",
13045
- "name": "search",
12906
+ "api-url": {
12907
+ "description": "Override the API base URL (e.g. for staging)",
12908
+ "helpGroup": "GLOBAL",
12909
+ "name": "api-url",
13046
12910
  "hasDynamicHelp": false,
13047
12911
  "multiple": false,
13048
12912
  "type": "option"
@@ -13050,7 +12914,7 @@
13050
12914
  },
13051
12915
  "hasDynamicHelp": false,
13052
12916
  "hiddenAliases": [],
13053
- "id": "bots:filters:list",
12917
+ "id": "bots:env-vars:get",
13054
12918
  "pluginAlias": "@instantkom/cli",
13055
12919
  "pluginName": "@instantkom/cli",
13056
12920
  "pluginType": "core",
@@ -13061,25 +12925,14 @@
13061
12925
  "dist",
13062
12926
  "commands",
13063
12927
  "bots",
13064
- "filters",
13065
- "list.js"
12928
+ "env-vars",
12929
+ "get.js"
13066
12930
  ]
13067
12931
  },
13068
- "bots:filters:update": {
12932
+ "bots:env-vars:list": {
13069
12933
  "aliases": [],
13070
- "args": {
13071
- "botId": {
13072
- "description": "Bot ID",
13073
- "name": "botId",
13074
- "required": true
13075
- },
13076
- "filterId": {
13077
- "description": "Filter ID",
13078
- "name": "filterId",
13079
- "required": true
13080
- }
13081
- },
13082
- "description": "Update a bot filter",
12934
+ "args": {},
12935
+ "description": "List bot environment variables",
13083
12936
  "flags": {
13084
12937
  "api-key": {
13085
12938
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13143,62 +12996,32 @@
13143
12996
  "multiple": false,
13144
12997
  "type": "option"
13145
12998
  },
13146
- "name": {
13147
- "description": "Filter name",
13148
- "name": "name",
13149
- "hasDynamicHelp": false,
13150
- "multiple": false,
13151
- "type": "option"
13152
- },
13153
- "operator": {
13154
- "description": "Logical operator",
13155
- "name": "operator",
13156
- "hasDynamicHelp": false,
13157
- "multiple": false,
13158
- "type": "option"
13159
- },
13160
- "filter-object": {
13161
- "description": "Filter object type",
13162
- "name": "filter-object",
13163
- "hasDynamicHelp": false,
13164
- "multiple": false,
13165
- "type": "option"
13166
- },
13167
- "filter-attribute": {
13168
- "description": "Filter attribute",
13169
- "name": "filter-attribute",
13170
- "hasDynamicHelp": false,
13171
- "multiple": false,
13172
- "type": "option"
13173
- },
13174
- "filter-comparator": {
13175
- "description": "Filter comparator",
13176
- "name": "filter-comparator",
12999
+ "page": {
13000
+ "description": "Page number",
13001
+ "name": "page",
13002
+ "default": 1,
13177
13003
  "hasDynamicHelp": false,
13178
13004
  "multiple": false,
13179
13005
  "type": "option"
13180
13006
  },
13181
- "filter-value": {
13182
- "description": "Filter value",
13183
- "name": "filter-value",
13007
+ "limit": {
13008
+ "description": "Items per page",
13009
+ "name": "limit",
13010
+ "default": 20,
13184
13011
  "hasDynamicHelp": false,
13185
13012
  "multiple": false,
13186
13013
  "type": "option"
13187
13014
  },
13188
- "status": {
13189
- "description": "Status: 0 inactive, 1 active",
13190
- "name": "status",
13015
+ "search": {
13016
+ "description": "Search in key or description",
13017
+ "name": "search",
13191
13018
  "hasDynamicHelp": false,
13192
13019
  "multiple": false,
13193
- "options": [
13194
- "0",
13195
- "1"
13196
- ],
13197
13020
  "type": "option"
13198
13021
  },
13199
- "data": {
13200
- "description": "Additional JSON object payload",
13201
- "name": "data",
13022
+ "color": {
13023
+ "description": "Filter by color",
13024
+ "name": "color",
13202
13025
  "hasDynamicHelp": false,
13203
13026
  "multiple": false,
13204
13027
  "type": "option"
@@ -13206,7 +13029,7 @@
13206
13029
  },
13207
13030
  "hasDynamicHelp": false,
13208
13031
  "hiddenAliases": [],
13209
- "id": "bots:filters:update",
13032
+ "id": "bots:env-vars:list",
13210
13033
  "pluginAlias": "@instantkom/cli",
13211
13034
  "pluginName": "@instantkom/cli",
13212
13035
  "pluginType": "core",
@@ -13217,25 +13040,20 @@
13217
13040
  "dist",
13218
13041
  "commands",
13219
13042
  "bots",
13220
- "filters",
13221
- "update.js"
13043
+ "env-vars",
13044
+ "list.js"
13222
13045
  ]
13223
13046
  },
13224
- "bots:tags:add": {
13047
+ "bots:env-vars:update": {
13225
13048
  "aliases": [],
13226
13049
  "args": {
13227
13050
  "id": {
13228
- "description": "Bot ID",
13051
+ "description": "Environment variable ID",
13229
13052
  "name": "id",
13230
13053
  "required": true
13231
- },
13232
- "tagId": {
13233
- "description": "Tag ID",
13234
- "name": "tagId",
13235
- "required": true
13236
13054
  }
13237
13055
  },
13238
- "description": "Add a tag to a bot",
13056
+ "description": "Update a bot environment variable",
13239
13057
  "flags": {
13240
13058
  "api-key": {
13241
13059
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13298,11 +13116,32 @@
13298
13116
  "hasDynamicHelp": false,
13299
13117
  "multiple": false,
13300
13118
  "type": "option"
13119
+ },
13120
+ "description": {
13121
+ "description": "Variable description",
13122
+ "name": "description",
13123
+ "hasDynamicHelp": false,
13124
+ "multiple": false,
13125
+ "type": "option"
13126
+ },
13127
+ "color": {
13128
+ "description": "Variable color as HEX",
13129
+ "name": "color",
13130
+ "hasDynamicHelp": false,
13131
+ "multiple": false,
13132
+ "type": "option"
13133
+ },
13134
+ "data": {
13135
+ "description": "Additional JSON object payload",
13136
+ "name": "data",
13137
+ "hasDynamicHelp": false,
13138
+ "multiple": false,
13139
+ "type": "option"
13301
13140
  }
13302
13141
  },
13303
13142
  "hasDynamicHelp": false,
13304
13143
  "hiddenAliases": [],
13305
- "id": "bots:tags:add",
13144
+ "id": "bots:env-vars:update",
13306
13145
  "pluginAlias": "@instantkom/cli",
13307
13146
  "pluginName": "@instantkom/cli",
13308
13147
  "pluginType": "core",
@@ -13313,20 +13152,20 @@
13313
13152
  "dist",
13314
13153
  "commands",
13315
13154
  "bots",
13316
- "tags",
13317
- "add.js"
13155
+ "env-vars",
13156
+ "update.js"
13318
13157
  ]
13319
13158
  },
13320
- "bots:tags:list": {
13159
+ "bots:env-vars:values": {
13321
13160
  "aliases": [],
13322
13161
  "args": {
13323
13162
  "id": {
13324
- "description": "Bot ID",
13163
+ "description": "Environment variable ID",
13325
13164
  "name": "id",
13326
13165
  "required": true
13327
13166
  }
13328
13167
  },
13329
- "description": "List tags assigned to a bot",
13168
+ "description": "List recipient values for a bot environment variable",
13330
13169
  "flags": {
13331
13170
  "api-key": {
13332
13171
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13389,11 +13228,41 @@
13389
13228
  "hasDynamicHelp": false,
13390
13229
  "multiple": false,
13391
13230
  "type": "option"
13231
+ },
13232
+ "page": {
13233
+ "description": "Page number",
13234
+ "name": "page",
13235
+ "default": 1,
13236
+ "hasDynamicHelp": false,
13237
+ "multiple": false,
13238
+ "type": "option"
13239
+ },
13240
+ "limit": {
13241
+ "description": "Items per page",
13242
+ "name": "limit",
13243
+ "default": 20,
13244
+ "hasDynamicHelp": false,
13245
+ "multiple": false,
13246
+ "type": "option"
13247
+ },
13248
+ "search": {
13249
+ "description": "Search in recipient name or identifier",
13250
+ "name": "search",
13251
+ "hasDynamicHelp": false,
13252
+ "multiple": false,
13253
+ "type": "option"
13254
+ },
13255
+ "recipient": {
13256
+ "description": "Filter by recipient ID",
13257
+ "name": "recipient",
13258
+ "hasDynamicHelp": false,
13259
+ "multiple": false,
13260
+ "type": "option"
13392
13261
  }
13393
13262
  },
13394
13263
  "hasDynamicHelp": false,
13395
13264
  "hiddenAliases": [],
13396
- "id": "bots:tags:list",
13265
+ "id": "bots:env-vars:values",
13397
13266
  "pluginAlias": "@instantkom/cli",
13398
13267
  "pluginName": "@instantkom/cli",
13399
13268
  "pluginType": "core",
@@ -13404,11 +13273,11 @@
13404
13273
  "dist",
13405
13274
  "commands",
13406
13275
  "bots",
13407
- "tags",
13408
- "list.js"
13276
+ "env-vars",
13277
+ "values.js"
13409
13278
  ]
13410
13279
  },
13411
- "bots:tags:remove": {
13280
+ "bots:tags:add": {
13412
13281
  "aliases": [],
13413
13282
  "args": {
13414
13283
  "id": {
@@ -13422,7 +13291,7 @@
13422
13291
  "required": true
13423
13292
  }
13424
13293
  },
13425
- "description": "Remove a tag from a bot",
13294
+ "description": "Add a tag to a bot",
13426
13295
  "flags": {
13427
13296
  "api-key": {
13428
13297
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13489,7 +13358,7 @@
13489
13358
  },
13490
13359
  "hasDynamicHelp": false,
13491
13360
  "hiddenAliases": [],
13492
- "id": "bots:tags:remove",
13361
+ "id": "bots:tags:add",
13493
13362
  "pluginAlias": "@instantkom/cli",
13494
13363
  "pluginName": "@instantkom/cli",
13495
13364
  "pluginType": "core",
@@ -13501,24 +13370,19 @@
13501
13370
  "commands",
13502
13371
  "bots",
13503
13372
  "tags",
13504
- "remove.js"
13373
+ "add.js"
13505
13374
  ]
13506
13375
  },
13507
- "contacts:custom-fields:delete-value": {
13376
+ "bots:tags:list": {
13508
13377
  "aliases": [],
13509
13378
  "args": {
13510
- "contactId": {
13511
- "description": "Contact ID",
13512
- "name": "contactId",
13513
- "required": true
13514
- },
13515
- "fieldId": {
13516
- "description": "Custom field ID",
13517
- "name": "fieldId",
13379
+ "id": {
13380
+ "description": "Bot ID",
13381
+ "name": "id",
13518
13382
  "required": true
13519
13383
  }
13520
13384
  },
13521
- "description": "Delete one custom field value from a contact",
13385
+ "description": "List tags assigned to a bot",
13522
13386
  "flags": {
13523
13387
  "api-key": {
13524
13388
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13585,7 +13449,7 @@
13585
13449
  },
13586
13450
  "hasDynamicHelp": false,
13587
13451
  "hiddenAliases": [],
13588
- "id": "contacts:custom-fields:delete-value",
13452
+ "id": "bots:tags:list",
13589
13453
  "pluginAlias": "@instantkom/cli",
13590
13454
  "pluginName": "@instantkom/cli",
13591
13455
  "pluginType": "core",
@@ -13595,21 +13459,26 @@
13595
13459
  "relativePath": [
13596
13460
  "dist",
13597
13461
  "commands",
13598
- "contacts",
13599
- "custom-fields",
13600
- "delete-value.js"
13462
+ "bots",
13463
+ "tags",
13464
+ "list.js"
13601
13465
  ]
13602
13466
  },
13603
- "contacts:custom-fields:list": {
13467
+ "bots:tags:remove": {
13604
13468
  "aliases": [],
13605
13469
  "args": {
13606
- "contactId": {
13607
- "description": "Contact ID",
13608
- "name": "contactId",
13470
+ "id": {
13471
+ "description": "Bot ID",
13472
+ "name": "id",
13473
+ "required": true
13474
+ },
13475
+ "tagId": {
13476
+ "description": "Tag ID",
13477
+ "name": "tagId",
13609
13478
  "required": true
13610
13479
  }
13611
13480
  },
13612
- "description": "List custom field values for a contact",
13481
+ "description": "Remove a tag from a bot",
13613
13482
  "flags": {
13614
13483
  "api-key": {
13615
13484
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13676,7 +13545,7 @@
13676
13545
  },
13677
13546
  "hasDynamicHelp": false,
13678
13547
  "hiddenAliases": [],
13679
- "id": "contacts:custom-fields:list",
13548
+ "id": "bots:tags:remove",
13680
13549
  "pluginAlias": "@instantkom/cli",
13681
13550
  "pluginName": "@instantkom/cli",
13682
13551
  "pluginType": "core",
@@ -13686,26 +13555,21 @@
13686
13555
  "relativePath": [
13687
13556
  "dist",
13688
13557
  "commands",
13689
- "contacts",
13690
- "custom-fields",
13691
- "list.js"
13558
+ "bots",
13559
+ "tags",
13560
+ "remove.js"
13692
13561
  ]
13693
13562
  },
13694
- "contacts:custom-fields:set-value": {
13563
+ "bots:filters:create": {
13695
13564
  "aliases": [],
13696
13565
  "args": {
13697
- "contactId": {
13698
- "description": "Contact ID",
13699
- "name": "contactId",
13700
- "required": true
13701
- },
13702
- "fieldId": {
13703
- "description": "Custom field ID",
13704
- "name": "fieldId",
13566
+ "botId": {
13567
+ "description": "Bot ID",
13568
+ "name": "botId",
13705
13569
  "required": true
13706
13570
  }
13707
13571
  },
13708
- "description": "Set one custom field value for a contact",
13572
+ "description": "Create a bot filter",
13709
13573
  "flags": {
13710
13574
  "api-key": {
13711
13575
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13769,18 +13633,76 @@
13769
13633
  "multiple": false,
13770
13634
  "type": "option"
13771
13635
  },
13772
- "value": {
13773
- "description": "Custom field value",
13774
- "name": "value",
13636
+ "name": {
13637
+ "description": "Filter name",
13638
+ "name": "name",
13639
+ "required": true,
13640
+ "hasDynamicHelp": false,
13641
+ "multiple": false,
13642
+ "type": "option"
13643
+ },
13644
+ "operator": {
13645
+ "description": "Logical operator",
13646
+ "name": "operator",
13647
+ "default": "and",
13648
+ "hasDynamicHelp": false,
13649
+ "multiple": false,
13650
+ "type": "option"
13651
+ },
13652
+ "filter-object": {
13653
+ "description": "Filter object type",
13654
+ "name": "filter-object",
13655
+ "default": "msg",
13656
+ "hasDynamicHelp": false,
13657
+ "multiple": false,
13658
+ "type": "option"
13659
+ },
13660
+ "filter-attribute": {
13661
+ "description": "Filter attribute",
13662
+ "name": "filter-attribute",
13663
+ "default": "text",
13664
+ "hasDynamicHelp": false,
13665
+ "multiple": false,
13666
+ "type": "option"
13667
+ },
13668
+ "filter-comparator": {
13669
+ "description": "Filter comparator",
13670
+ "name": "filter-comparator",
13671
+ "default": "contains",
13672
+ "hasDynamicHelp": false,
13673
+ "multiple": false,
13674
+ "type": "option"
13675
+ },
13676
+ "filter-value": {
13677
+ "description": "Filter value",
13678
+ "name": "filter-value",
13775
13679
  "required": true,
13776
13680
  "hasDynamicHelp": false,
13777
13681
  "multiple": false,
13778
13682
  "type": "option"
13683
+ },
13684
+ "status": {
13685
+ "description": "Status: 0 inactive, 1 active",
13686
+ "name": "status",
13687
+ "hasDynamicHelp": false,
13688
+ "multiple": false,
13689
+ "options": [
13690
+ "0",
13691
+ "1"
13692
+ ],
13693
+ "type": "option"
13694
+ },
13695
+ "data": {
13696
+ "description": "Additional JSON object payload",
13697
+ "name": "data",
13698
+ "hasDynamicHelp": false,
13699
+ "multiple": false,
13700
+ "type": "option"
13779
13701
  }
13780
13702
  },
13781
13703
  "hasDynamicHelp": false,
13782
13704
  "hiddenAliases": [],
13783
- "id": "contacts:custom-fields:set-value",
13705
+ "id": "bots:filters:create",
13784
13706
  "pluginAlias": "@instantkom/cli",
13785
13707
  "pluginName": "@instantkom/cli",
13786
13708
  "pluginType": "core",
@@ -13790,21 +13712,26 @@
13790
13712
  "relativePath": [
13791
13713
  "dist",
13792
13714
  "commands",
13793
- "contacts",
13794
- "custom-fields",
13795
- "set-value.js"
13715
+ "bots",
13716
+ "filters",
13717
+ "create.js"
13796
13718
  ]
13797
13719
  },
13798
- "contacts:custom-fields:set": {
13720
+ "bots:filters:delete": {
13799
13721
  "aliases": [],
13800
13722
  "args": {
13801
- "contactId": {
13802
- "description": "Contact ID",
13803
- "name": "contactId",
13723
+ "botId": {
13724
+ "description": "Bot ID",
13725
+ "name": "botId",
13726
+ "required": true
13727
+ },
13728
+ "filterId": {
13729
+ "description": "Filter ID",
13730
+ "name": "filterId",
13804
13731
  "required": true
13805
13732
  }
13806
13733
  },
13807
- "description": "Set multiple custom field values for a contact",
13734
+ "description": "Delete a bot filter",
13808
13735
  "flags": {
13809
13736
  "api-key": {
13810
13737
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13867,32 +13794,11 @@
13867
13794
  "hasDynamicHelp": false,
13868
13795
  "multiple": false,
13869
13796
  "type": "option"
13870
- },
13871
- "values": {
13872
- "description": "JSON object with field keys as property names",
13873
- "name": "values",
13874
- "hasDynamicHelp": false,
13875
- "multiple": false,
13876
- "type": "option"
13877
- },
13878
- "file": {
13879
- "description": "Path to a JSON file with field keys as property names",
13880
- "name": "file",
13881
- "hasDynamicHelp": false,
13882
- "multiple": false,
13883
- "type": "option"
13884
- },
13885
- "data": {
13886
- "description": "Additional JSON object payload",
13887
- "name": "data",
13888
- "hasDynamicHelp": false,
13889
- "multiple": false,
13890
- "type": "option"
13891
13797
  }
13892
13798
  },
13893
13799
  "hasDynamicHelp": false,
13894
13800
  "hiddenAliases": [],
13895
- "id": "contacts:custom-fields:set",
13801
+ "id": "bots:filters:delete",
13896
13802
  "pluginAlias": "@instantkom/cli",
13897
13803
  "pluginName": "@instantkom/cli",
13898
13804
  "pluginType": "core",
@@ -13902,26 +13808,26 @@
13902
13808
  "relativePath": [
13903
13809
  "dist",
13904
13810
  "commands",
13905
- "contacts",
13906
- "custom-fields",
13907
- "set.js"
13811
+ "bots",
13812
+ "filters",
13813
+ "delete.js"
13908
13814
  ]
13909
13815
  },
13910
- "contacts:tags:add": {
13816
+ "bots:filters:get": {
13911
13817
  "aliases": [],
13912
13818
  "args": {
13913
- "contactId": {
13914
- "description": "Contact ID",
13915
- "name": "contactId",
13819
+ "botId": {
13820
+ "description": "Bot ID",
13821
+ "name": "botId",
13916
13822
  "required": true
13917
13823
  },
13918
- "tagId": {
13919
- "description": "Tag ID",
13920
- "name": "tagId",
13824
+ "filterId": {
13825
+ "description": "Filter ID",
13826
+ "name": "filterId",
13921
13827
  "required": true
13922
13828
  }
13923
13829
  },
13924
- "description": "Assign a tag to a contact",
13830
+ "description": "Get a bot filter",
13925
13831
  "flags": {
13926
13832
  "api-key": {
13927
13833
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13988,7 +13894,7 @@
13988
13894
  },
13989
13895
  "hasDynamicHelp": false,
13990
13896
  "hiddenAliases": [],
13991
- "id": "contacts:tags:add",
13897
+ "id": "bots:filters:get",
13992
13898
  "pluginAlias": "@instantkom/cli",
13993
13899
  "pluginName": "@instantkom/cli",
13994
13900
  "pluginType": "core",
@@ -13998,21 +13904,21 @@
13998
13904
  "relativePath": [
13999
13905
  "dist",
14000
13906
  "commands",
14001
- "contacts",
14002
- "tags",
14003
- "add.js"
13907
+ "bots",
13908
+ "filters",
13909
+ "get.js"
14004
13910
  ]
14005
13911
  },
14006
- "contacts:tags:list": {
13912
+ "bots:filters:list": {
14007
13913
  "aliases": [],
14008
13914
  "args": {
14009
- "contactId": {
14010
- "description": "Contact ID",
14011
- "name": "contactId",
13915
+ "botId": {
13916
+ "description": "Bot ID",
13917
+ "name": "botId",
14012
13918
  "required": true
14013
13919
  }
14014
13920
  },
14015
- "description": "List tags assigned to a contact",
13921
+ "description": "List bot filters",
14016
13922
  "flags": {
14017
13923
  "api-key": {
14018
13924
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14075,11 +13981,45 @@
14075
13981
  "hasDynamicHelp": false,
14076
13982
  "multiple": false,
14077
13983
  "type": "option"
13984
+ },
13985
+ "page": {
13986
+ "description": "Page number",
13987
+ "name": "page",
13988
+ "default": 1,
13989
+ "hasDynamicHelp": false,
13990
+ "multiple": false,
13991
+ "type": "option"
13992
+ },
13993
+ "limit": {
13994
+ "description": "Items per page",
13995
+ "name": "limit",
13996
+ "default": 20,
13997
+ "hasDynamicHelp": false,
13998
+ "multiple": false,
13999
+ "type": "option"
14000
+ },
14001
+ "status": {
14002
+ "description": "Status filter: 0 inactive, 1 active",
14003
+ "name": "status",
14004
+ "hasDynamicHelp": false,
14005
+ "multiple": false,
14006
+ "options": [
14007
+ "0",
14008
+ "1"
14009
+ ],
14010
+ "type": "option"
14011
+ },
14012
+ "search": {
14013
+ "description": "Search in name or description",
14014
+ "name": "search",
14015
+ "hasDynamicHelp": false,
14016
+ "multiple": false,
14017
+ "type": "option"
14078
14018
  }
14079
14019
  },
14080
14020
  "hasDynamicHelp": false,
14081
14021
  "hiddenAliases": [],
14082
- "id": "contacts:tags:list",
14022
+ "id": "bots:filters:list",
14083
14023
  "pluginAlias": "@instantkom/cli",
14084
14024
  "pluginName": "@instantkom/cli",
14085
14025
  "pluginType": "core",
@@ -14089,26 +14029,26 @@
14089
14029
  "relativePath": [
14090
14030
  "dist",
14091
14031
  "commands",
14092
- "contacts",
14093
- "tags",
14032
+ "bots",
14033
+ "filters",
14094
14034
  "list.js"
14095
14035
  ]
14096
14036
  },
14097
- "contacts:tags:remove": {
14037
+ "bots:filters:update": {
14098
14038
  "aliases": [],
14099
14039
  "args": {
14100
- "contactId": {
14101
- "description": "Contact ID",
14102
- "name": "contactId",
14040
+ "botId": {
14041
+ "description": "Bot ID",
14042
+ "name": "botId",
14103
14043
  "required": true
14104
14044
  },
14105
- "tagId": {
14106
- "description": "Tag ID",
14107
- "name": "tagId",
14045
+ "filterId": {
14046
+ "description": "Filter ID",
14047
+ "name": "filterId",
14108
14048
  "required": true
14109
14049
  }
14110
14050
  },
14111
- "description": "Remove a tag from a contact",
14051
+ "description": "Update a bot filter",
14112
14052
  "flags": {
14113
14053
  "api-key": {
14114
14054
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14155,19 +14095,79 @@
14155
14095
  "allowNo": false,
14156
14096
  "type": "boolean"
14157
14097
  },
14158
- "profile": {
14159
- "description": "Named configuration profile to use",
14160
- "helpGroup": "GLOBAL",
14161
- "name": "profile",
14162
- "default": "default",
14098
+ "profile": {
14099
+ "description": "Named configuration profile to use",
14100
+ "helpGroup": "GLOBAL",
14101
+ "name": "profile",
14102
+ "default": "default",
14103
+ "hasDynamicHelp": false,
14104
+ "multiple": false,
14105
+ "type": "option"
14106
+ },
14107
+ "api-url": {
14108
+ "description": "Override the API base URL (e.g. for staging)",
14109
+ "helpGroup": "GLOBAL",
14110
+ "name": "api-url",
14111
+ "hasDynamicHelp": false,
14112
+ "multiple": false,
14113
+ "type": "option"
14114
+ },
14115
+ "name": {
14116
+ "description": "Filter name",
14117
+ "name": "name",
14118
+ "hasDynamicHelp": false,
14119
+ "multiple": false,
14120
+ "type": "option"
14121
+ },
14122
+ "operator": {
14123
+ "description": "Logical operator",
14124
+ "name": "operator",
14125
+ "hasDynamicHelp": false,
14126
+ "multiple": false,
14127
+ "type": "option"
14128
+ },
14129
+ "filter-object": {
14130
+ "description": "Filter object type",
14131
+ "name": "filter-object",
14132
+ "hasDynamicHelp": false,
14133
+ "multiple": false,
14134
+ "type": "option"
14135
+ },
14136
+ "filter-attribute": {
14137
+ "description": "Filter attribute",
14138
+ "name": "filter-attribute",
14139
+ "hasDynamicHelp": false,
14140
+ "multiple": false,
14141
+ "type": "option"
14142
+ },
14143
+ "filter-comparator": {
14144
+ "description": "Filter comparator",
14145
+ "name": "filter-comparator",
14146
+ "hasDynamicHelp": false,
14147
+ "multiple": false,
14148
+ "type": "option"
14149
+ },
14150
+ "filter-value": {
14151
+ "description": "Filter value",
14152
+ "name": "filter-value",
14163
14153
  "hasDynamicHelp": false,
14164
14154
  "multiple": false,
14165
14155
  "type": "option"
14166
14156
  },
14167
- "api-url": {
14168
- "description": "Override the API base URL (e.g. for staging)",
14169
- "helpGroup": "GLOBAL",
14170
- "name": "api-url",
14157
+ "status": {
14158
+ "description": "Status: 0 inactive, 1 active",
14159
+ "name": "status",
14160
+ "hasDynamicHelp": false,
14161
+ "multiple": false,
14162
+ "options": [
14163
+ "0",
14164
+ "1"
14165
+ ],
14166
+ "type": "option"
14167
+ },
14168
+ "data": {
14169
+ "description": "Additional JSON object payload",
14170
+ "name": "data",
14171
14171
  "hasDynamicHelp": false,
14172
14172
  "multiple": false,
14173
14173
  "type": "option"
@@ -14175,7 +14175,7 @@
14175
14175
  },
14176
14176
  "hasDynamicHelp": false,
14177
14177
  "hiddenAliases": [],
14178
- "id": "contacts:tags:remove",
14178
+ "id": "bots:filters:update",
14179
14179
  "pluginAlias": "@instantkom/cli",
14180
14180
  "pluginName": "@instantkom/cli",
14181
14181
  "pluginType": "core",
@@ -14185,12 +14185,12 @@
14185
14185
  "relativePath": [
14186
14186
  "dist",
14187
14187
  "commands",
14188
- "contacts",
14189
- "tags",
14190
- "remove.js"
14188
+ "bots",
14189
+ "filters",
14190
+ "update.js"
14191
14191
  ]
14192
14192
  },
14193
- "flow:edges:create": {
14193
+ "flow:nodes:create": {
14194
14194
  "aliases": [],
14195
14195
  "args": {
14196
14196
  "flowId": {
@@ -14199,7 +14199,7 @@
14199
14199
  "required": true
14200
14200
  }
14201
14201
  },
14202
- "description": "Create a flow edge",
14202
+ "description": "Create a flow node",
14203
14203
  "flags": {
14204
14204
  "api-key": {
14205
14205
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14263,33 +14263,33 @@
14263
14263
  "multiple": false,
14264
14264
  "type": "option"
14265
14265
  },
14266
- "source": {
14267
- "description": "Source node ID",
14268
- "name": "source",
14269
- "required": true,
14266
+ "bot": {
14267
+ "description": "Bot ID",
14268
+ "name": "bot",
14270
14269
  "hasDynamicHelp": false,
14271
14270
  "multiple": false,
14272
14271
  "type": "option"
14273
14272
  },
14274
- "target": {
14275
- "description": "Target node ID",
14276
- "name": "target",
14273
+ "type": {
14274
+ "description": "Node type",
14275
+ "name": "type",
14277
14276
  "required": true,
14278
14277
  "hasDynamicHelp": false,
14279
14278
  "multiple": false,
14280
14279
  "type": "option"
14281
14280
  },
14282
- "label": {
14283
- "description": "Edge label",
14284
- "name": "label",
14281
+ "x": {
14282
+ "description": "X position",
14283
+ "name": "x",
14284
+ "required": true,
14285
14285
  "hasDynamicHelp": false,
14286
14286
  "multiple": false,
14287
14287
  "type": "option"
14288
14288
  },
14289
- "type": {
14290
- "description": "Edge type",
14291
- "name": "type",
14292
- "default": "default",
14289
+ "y": {
14290
+ "description": "Y position",
14291
+ "name": "y",
14292
+ "required": true,
14293
14293
  "hasDynamicHelp": false,
14294
14294
  "multiple": false,
14295
14295
  "type": "option"
@@ -14304,7 +14304,7 @@
14304
14304
  },
14305
14305
  "hasDynamicHelp": false,
14306
14306
  "hiddenAliases": [],
14307
- "id": "flow:edges:create",
14307
+ "id": "flow:nodes:create",
14308
14308
  "pluginAlias": "@instantkom/cli",
14309
14309
  "pluginName": "@instantkom/cli",
14310
14310
  "pluginType": "core",
@@ -14315,11 +14315,11 @@
14315
14315
  "dist",
14316
14316
  "commands",
14317
14317
  "flow",
14318
- "edges",
14318
+ "nodes",
14319
14319
  "create.js"
14320
14320
  ]
14321
14321
  },
14322
- "flow:edges:delete": {
14322
+ "flow:nodes:delete": {
14323
14323
  "aliases": [],
14324
14324
  "args": {
14325
14325
  "flowId": {
@@ -14327,13 +14327,13 @@
14327
14327
  "name": "flowId",
14328
14328
  "required": true
14329
14329
  },
14330
- "edgeId": {
14331
- "description": "Edge ID",
14332
- "name": "edgeId",
14330
+ "nodeId": {
14331
+ "description": "Node ID",
14332
+ "name": "nodeId",
14333
14333
  "required": true
14334
14334
  }
14335
14335
  },
14336
- "description": "Delete a flow edge",
14336
+ "description": "Delete a flow node",
14337
14337
  "flags": {
14338
14338
  "api-key": {
14339
14339
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14400,7 +14400,7 @@
14400
14400
  },
14401
14401
  "hasDynamicHelp": false,
14402
14402
  "hiddenAliases": [],
14403
- "id": "flow:edges:delete",
14403
+ "id": "flow:nodes:delete",
14404
14404
  "pluginAlias": "@instantkom/cli",
14405
14405
  "pluginName": "@instantkom/cli",
14406
14406
  "pluginType": "core",
@@ -14411,11 +14411,11 @@
14411
14411
  "dist",
14412
14412
  "commands",
14413
14413
  "flow",
14414
- "edges",
14414
+ "nodes",
14415
14415
  "delete.js"
14416
14416
  ]
14417
14417
  },
14418
- "flow:edges:get": {
14418
+ "flow:nodes:get": {
14419
14419
  "aliases": [],
14420
14420
  "args": {
14421
14421
  "flowId": {
@@ -14423,13 +14423,13 @@
14423
14423
  "name": "flowId",
14424
14424
  "required": true
14425
14425
  },
14426
- "edgeId": {
14427
- "description": "Edge ID",
14428
- "name": "edgeId",
14426
+ "nodeId": {
14427
+ "description": "Node ID",
14428
+ "name": "nodeId",
14429
14429
  "required": true
14430
14430
  }
14431
14431
  },
14432
- "description": "Get a flow edge",
14432
+ "description": "Get a flow node",
14433
14433
  "flags": {
14434
14434
  "api-key": {
14435
14435
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14496,7 +14496,7 @@
14496
14496
  },
14497
14497
  "hasDynamicHelp": false,
14498
14498
  "hiddenAliases": [],
14499
- "id": "flow:edges:get",
14499
+ "id": "flow:nodes:get",
14500
14500
  "pluginAlias": "@instantkom/cli",
14501
14501
  "pluginName": "@instantkom/cli",
14502
14502
  "pluginType": "core",
@@ -14507,11 +14507,11 @@
14507
14507
  "dist",
14508
14508
  "commands",
14509
14509
  "flow",
14510
- "edges",
14510
+ "nodes",
14511
14511
  "get.js"
14512
14512
  ]
14513
14513
  },
14514
- "flow:edges:list": {
14514
+ "flow:nodes:list": {
14515
14515
  "aliases": [],
14516
14516
  "args": {
14517
14517
  "flowId": {
@@ -14520,7 +14520,7 @@
14520
14520
  "required": true
14521
14521
  }
14522
14522
  },
14523
- "description": "List edges in a flow",
14523
+ "description": "List nodes in a flow",
14524
14524
  "flags": {
14525
14525
  "api-key": {
14526
14526
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14587,7 +14587,7 @@
14587
14587
  },
14588
14588
  "hasDynamicHelp": false,
14589
14589
  "hiddenAliases": [],
14590
- "id": "flow:edges:list",
14590
+ "id": "flow:nodes:list",
14591
14591
  "pluginAlias": "@instantkom/cli",
14592
14592
  "pluginName": "@instantkom/cli",
14593
14593
  "pluginType": "core",
@@ -14598,11 +14598,11 @@
14598
14598
  "dist",
14599
14599
  "commands",
14600
14600
  "flow",
14601
- "edges",
14601
+ "nodes",
14602
14602
  "list.js"
14603
14603
  ]
14604
14604
  },
14605
- "flow:edges:update": {
14605
+ "flow:nodes:update": {
14606
14606
  "aliases": [],
14607
14607
  "args": {
14608
14608
  "flowId": {
@@ -14610,13 +14610,13 @@
14610
14610
  "name": "flowId",
14611
14611
  "required": true
14612
14612
  },
14613
- "edgeId": {
14614
- "description": "Edge ID",
14615
- "name": "edgeId",
14613
+ "nodeId": {
14614
+ "description": "Node ID",
14615
+ "name": "nodeId",
14616
14616
  "required": true
14617
14617
  }
14618
14618
  },
14619
- "description": "Update a flow edge",
14619
+ "description": "Update a flow node",
14620
14620
  "flags": {
14621
14621
  "api-key": {
14622
14622
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14680,30 +14680,30 @@
14680
14680
  "multiple": false,
14681
14681
  "type": "option"
14682
14682
  },
14683
- "source": {
14684
- "description": "Source node ID",
14685
- "name": "source",
14683
+ "bot": {
14684
+ "description": "Bot ID",
14685
+ "name": "bot",
14686
14686
  "hasDynamicHelp": false,
14687
14687
  "multiple": false,
14688
14688
  "type": "option"
14689
14689
  },
14690
- "target": {
14691
- "description": "Target node ID",
14692
- "name": "target",
14690
+ "type": {
14691
+ "description": "Node type",
14692
+ "name": "type",
14693
14693
  "hasDynamicHelp": false,
14694
14694
  "multiple": false,
14695
14695
  "type": "option"
14696
14696
  },
14697
- "label": {
14698
- "description": "Edge label",
14699
- "name": "label",
14697
+ "x": {
14698
+ "description": "X position",
14699
+ "name": "x",
14700
14700
  "hasDynamicHelp": false,
14701
14701
  "multiple": false,
14702
14702
  "type": "option"
14703
14703
  },
14704
- "type": {
14705
- "description": "Edge type",
14706
- "name": "type",
14704
+ "y": {
14705
+ "description": "Y position",
14706
+ "name": "y",
14707
14707
  "hasDynamicHelp": false,
14708
14708
  "multiple": false,
14709
14709
  "type": "option"
@@ -14718,7 +14718,7 @@
14718
14718
  },
14719
14719
  "hasDynamicHelp": false,
14720
14720
  "hiddenAliases": [],
14721
- "id": "flow:edges:update",
14721
+ "id": "flow:nodes:update",
14722
14722
  "pluginAlias": "@instantkom/cli",
14723
14723
  "pluginName": "@instantkom/cli",
14724
14724
  "pluginType": "core",
@@ -14729,11 +14729,11 @@
14729
14729
  "dist",
14730
14730
  "commands",
14731
14731
  "flow",
14732
- "edges",
14732
+ "nodes",
14733
14733
  "update.js"
14734
14734
  ]
14735
14735
  },
14736
- "flow:nodes:create": {
14736
+ "flow:edges:create": {
14737
14737
  "aliases": [],
14738
14738
  "args": {
14739
14739
  "flowId": {
@@ -14742,7 +14742,7 @@
14742
14742
  "required": true
14743
14743
  }
14744
14744
  },
14745
- "description": "Create a flow node",
14745
+ "description": "Create a flow edge",
14746
14746
  "flags": {
14747
14747
  "api-key": {
14748
14748
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14806,33 +14806,33 @@
14806
14806
  "multiple": false,
14807
14807
  "type": "option"
14808
14808
  },
14809
- "bot": {
14810
- "description": "Bot ID",
14811
- "name": "bot",
14809
+ "source": {
14810
+ "description": "Source node ID",
14811
+ "name": "source",
14812
+ "required": true,
14812
14813
  "hasDynamicHelp": false,
14813
14814
  "multiple": false,
14814
14815
  "type": "option"
14815
14816
  },
14816
- "type": {
14817
- "description": "Node type",
14818
- "name": "type",
14817
+ "target": {
14818
+ "description": "Target node ID",
14819
+ "name": "target",
14819
14820
  "required": true,
14820
14821
  "hasDynamicHelp": false,
14821
14822
  "multiple": false,
14822
14823
  "type": "option"
14823
14824
  },
14824
- "x": {
14825
- "description": "X position",
14826
- "name": "x",
14827
- "required": true,
14825
+ "label": {
14826
+ "description": "Edge label",
14827
+ "name": "label",
14828
14828
  "hasDynamicHelp": false,
14829
14829
  "multiple": false,
14830
14830
  "type": "option"
14831
14831
  },
14832
- "y": {
14833
- "description": "Y position",
14834
- "name": "y",
14835
- "required": true,
14832
+ "type": {
14833
+ "description": "Edge type",
14834
+ "name": "type",
14835
+ "default": "default",
14836
14836
  "hasDynamicHelp": false,
14837
14837
  "multiple": false,
14838
14838
  "type": "option"
@@ -14847,7 +14847,7 @@
14847
14847
  },
14848
14848
  "hasDynamicHelp": false,
14849
14849
  "hiddenAliases": [],
14850
- "id": "flow:nodes:create",
14850
+ "id": "flow:edges:create",
14851
14851
  "pluginAlias": "@instantkom/cli",
14852
14852
  "pluginName": "@instantkom/cli",
14853
14853
  "pluginType": "core",
@@ -14858,11 +14858,11 @@
14858
14858
  "dist",
14859
14859
  "commands",
14860
14860
  "flow",
14861
- "nodes",
14861
+ "edges",
14862
14862
  "create.js"
14863
14863
  ]
14864
14864
  },
14865
- "flow:nodes:delete": {
14865
+ "flow:edges:delete": {
14866
14866
  "aliases": [],
14867
14867
  "args": {
14868
14868
  "flowId": {
@@ -14870,13 +14870,13 @@
14870
14870
  "name": "flowId",
14871
14871
  "required": true
14872
14872
  },
14873
- "nodeId": {
14874
- "description": "Node ID",
14875
- "name": "nodeId",
14873
+ "edgeId": {
14874
+ "description": "Edge ID",
14875
+ "name": "edgeId",
14876
14876
  "required": true
14877
14877
  }
14878
14878
  },
14879
- "description": "Delete a flow node",
14879
+ "description": "Delete a flow edge",
14880
14880
  "flags": {
14881
14881
  "api-key": {
14882
14882
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14943,7 +14943,7 @@
14943
14943
  },
14944
14944
  "hasDynamicHelp": false,
14945
14945
  "hiddenAliases": [],
14946
- "id": "flow:nodes:delete",
14946
+ "id": "flow:edges:delete",
14947
14947
  "pluginAlias": "@instantkom/cli",
14948
14948
  "pluginName": "@instantkom/cli",
14949
14949
  "pluginType": "core",
@@ -14954,11 +14954,11 @@
14954
14954
  "dist",
14955
14955
  "commands",
14956
14956
  "flow",
14957
- "nodes",
14957
+ "edges",
14958
14958
  "delete.js"
14959
14959
  ]
14960
14960
  },
14961
- "flow:nodes:get": {
14961
+ "flow:edges:get": {
14962
14962
  "aliases": [],
14963
14963
  "args": {
14964
14964
  "flowId": {
@@ -14966,13 +14966,13 @@
14966
14966
  "name": "flowId",
14967
14967
  "required": true
14968
14968
  },
14969
- "nodeId": {
14970
- "description": "Node ID",
14971
- "name": "nodeId",
14969
+ "edgeId": {
14970
+ "description": "Edge ID",
14971
+ "name": "edgeId",
14972
14972
  "required": true
14973
14973
  }
14974
14974
  },
14975
- "description": "Get a flow node",
14975
+ "description": "Get a flow edge",
14976
14976
  "flags": {
14977
14977
  "api-key": {
14978
14978
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15039,7 +15039,7 @@
15039
15039
  },
15040
15040
  "hasDynamicHelp": false,
15041
15041
  "hiddenAliases": [],
15042
- "id": "flow:nodes:get",
15042
+ "id": "flow:edges:get",
15043
15043
  "pluginAlias": "@instantkom/cli",
15044
15044
  "pluginName": "@instantkom/cli",
15045
15045
  "pluginType": "core",
@@ -15050,11 +15050,11 @@
15050
15050
  "dist",
15051
15051
  "commands",
15052
15052
  "flow",
15053
- "nodes",
15053
+ "edges",
15054
15054
  "get.js"
15055
15055
  ]
15056
15056
  },
15057
- "flow:nodes:list": {
15057
+ "flow:edges:list": {
15058
15058
  "aliases": [],
15059
15059
  "args": {
15060
15060
  "flowId": {
@@ -15063,7 +15063,7 @@
15063
15063
  "required": true
15064
15064
  }
15065
15065
  },
15066
- "description": "List nodes in a flow",
15066
+ "description": "List edges in a flow",
15067
15067
  "flags": {
15068
15068
  "api-key": {
15069
15069
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15130,7 +15130,7 @@
15130
15130
  },
15131
15131
  "hasDynamicHelp": false,
15132
15132
  "hiddenAliases": [],
15133
- "id": "flow:nodes:list",
15133
+ "id": "flow:edges:list",
15134
15134
  "pluginAlias": "@instantkom/cli",
15135
15135
  "pluginName": "@instantkom/cli",
15136
15136
  "pluginType": "core",
@@ -15141,11 +15141,11 @@
15141
15141
  "dist",
15142
15142
  "commands",
15143
15143
  "flow",
15144
- "nodes",
15144
+ "edges",
15145
15145
  "list.js"
15146
15146
  ]
15147
15147
  },
15148
- "flow:nodes:update": {
15148
+ "flow:edges:update": {
15149
15149
  "aliases": [],
15150
15150
  "args": {
15151
15151
  "flowId": {
@@ -15153,13 +15153,13 @@
15153
15153
  "name": "flowId",
15154
15154
  "required": true
15155
15155
  },
15156
- "nodeId": {
15157
- "description": "Node ID",
15158
- "name": "nodeId",
15156
+ "edgeId": {
15157
+ "description": "Edge ID",
15158
+ "name": "edgeId",
15159
15159
  "required": true
15160
15160
  }
15161
15161
  },
15162
- "description": "Update a flow node",
15162
+ "description": "Update a flow edge",
15163
15163
  "flags": {
15164
15164
  "api-key": {
15165
15165
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15223,30 +15223,30 @@
15223
15223
  "multiple": false,
15224
15224
  "type": "option"
15225
15225
  },
15226
- "bot": {
15227
- "description": "Bot ID",
15228
- "name": "bot",
15226
+ "source": {
15227
+ "description": "Source node ID",
15228
+ "name": "source",
15229
15229
  "hasDynamicHelp": false,
15230
15230
  "multiple": false,
15231
15231
  "type": "option"
15232
15232
  },
15233
- "type": {
15234
- "description": "Node type",
15235
- "name": "type",
15233
+ "target": {
15234
+ "description": "Target node ID",
15235
+ "name": "target",
15236
15236
  "hasDynamicHelp": false,
15237
15237
  "multiple": false,
15238
15238
  "type": "option"
15239
15239
  },
15240
- "x": {
15241
- "description": "X position",
15242
- "name": "x",
15240
+ "label": {
15241
+ "description": "Edge label",
15242
+ "name": "label",
15243
15243
  "hasDynamicHelp": false,
15244
15244
  "multiple": false,
15245
15245
  "type": "option"
15246
15246
  },
15247
- "y": {
15248
- "description": "Y position",
15249
- "name": "y",
15247
+ "type": {
15248
+ "description": "Edge type",
15249
+ "name": "type",
15250
15250
  "hasDynamicHelp": false,
15251
15251
  "multiple": false,
15252
15252
  "type": "option"
@@ -15261,7 +15261,7 @@
15261
15261
  },
15262
15262
  "hasDynamicHelp": false,
15263
15263
  "hiddenAliases": [],
15264
- "id": "flow:nodes:update",
15264
+ "id": "flow:edges:update",
15265
15265
  "pluginAlias": "@instantkom/cli",
15266
15266
  "pluginName": "@instantkom/cli",
15267
15267
  "pluginType": "core",
@@ -15272,7 +15272,7 @@
15272
15272
  "dist",
15273
15273
  "commands",
15274
15274
  "flow",
15275
- "nodes",
15275
+ "edges",
15276
15276
  "update.js"
15277
15277
  ]
15278
15278
  },
@@ -16352,5 +16352,5 @@
16352
16352
  ]
16353
16353
  }
16354
16354
  },
16355
- "version": "3.144.0"
16355
+ "version": "3.145.0"
16356
16356
  }