@instantkom/cli 3.146.1 → 3.147.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -953,10 +953,10 @@
953
953
  "update.js"
954
954
  ]
955
955
  },
956
- "auth:login": {
956
+ "ai:reply": {
957
957
  "aliases": [],
958
958
  "args": {},
959
- "description": "Authenticate with the instantKOM API via device authorization flow",
959
+ "description": "Generate AI reply suggestions for a message",
960
960
  "flags": {
961
961
  "api-key": {
962
962
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1020,24 +1020,46 @@
1020
1020
  "multiple": false,
1021
1021
  "type": "option"
1022
1022
  },
1023
- "scope": {
1024
- "description": "Requested token scope",
1025
- "name": "scope",
1026
- "default": "read",
1023
+ "message-id": {
1024
+ "description": "Message ID to use as smart-reply anchor",
1025
+ "name": "message-id",
1026
+ "required": true,
1027
+ "hasDynamicHelp": false,
1028
+ "multiple": false,
1029
+ "type": "option"
1030
+ },
1031
+ "limit": {
1032
+ "description": "Number of suggestions to generate (1-5)",
1033
+ "name": "limit",
1034
+ "hasDynamicHelp": false,
1035
+ "multiple": false,
1036
+ "type": "option"
1037
+ },
1038
+ "context-length": {
1039
+ "description": "Number of recent messages to use as context (1-20)",
1040
+ "name": "context-length",
1041
+ "hasDynamicHelp": false,
1042
+ "multiple": false,
1043
+ "type": "option"
1044
+ },
1045
+ "style": {
1046
+ "description": "Response style",
1047
+ "name": "style",
1027
1048
  "hasDynamicHelp": false,
1028
1049
  "multiple": false,
1029
1050
  "options": [
1030
- "full",
1031
- "send",
1032
- "read",
1033
- "admin"
1051
+ "professional",
1052
+ "friendly",
1053
+ "concise",
1054
+ "detailed",
1055
+ "empathetic"
1034
1056
  ],
1035
1057
  "type": "option"
1036
1058
  }
1037
1059
  },
1038
1060
  "hasDynamicHelp": false,
1039
1061
  "hiddenAliases": [],
1040
- "id": "auth:login",
1062
+ "id": "ai:reply",
1041
1063
  "pluginAlias": "@instantkom/cli",
1042
1064
  "pluginName": "@instantkom/cli",
1043
1065
  "pluginType": "core",
@@ -1047,14 +1069,48 @@
1047
1069
  "relativePath": [
1048
1070
  "dist",
1049
1071
  "commands",
1050
- "auth",
1051
- "login.js"
1072
+ "ai",
1073
+ "reply.js"
1052
1074
  ]
1053
1075
  },
1054
- "auth:logout": {
1076
+ "autocomplete:script": {
1077
+ "aliases": [],
1078
+ "args": {
1079
+ "shell": {
1080
+ "description": "Shell type",
1081
+ "name": "shell",
1082
+ "options": [
1083
+ "zsh",
1084
+ "bash",
1085
+ "fish",
1086
+ "powershell"
1087
+ ],
1088
+ "required": false
1089
+ }
1090
+ },
1091
+ "description": "outputs autocomplete config script for shells",
1092
+ "flags": {},
1093
+ "hasDynamicHelp": false,
1094
+ "hidden": true,
1095
+ "hiddenAliases": [],
1096
+ "id": "autocomplete:script",
1097
+ "pluginAlias": "@instantkom/cli",
1098
+ "pluginName": "@instantkom/cli",
1099
+ "pluginType": "core",
1100
+ "strict": true,
1101
+ "enableJsonFlag": false,
1102
+ "isESM": true,
1103
+ "relativePath": [
1104
+ "dist",
1105
+ "commands",
1106
+ "autocomplete",
1107
+ "script.js"
1108
+ ]
1109
+ },
1110
+ "auth:login": {
1055
1111
  "aliases": [],
1056
1112
  "args": {},
1057
- "description": "Remove the stored API token for the current profile",
1113
+ "description": "Authenticate with the instantKOM API via device authorization flow",
1058
1114
  "flags": {
1059
1115
  "api-key": {
1060
1116
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1117,45 +1173,25 @@
1117
1173
  "hasDynamicHelp": false,
1118
1174
  "multiple": false,
1119
1175
  "type": "option"
1120
- }
1121
- },
1122
- "hasDynamicHelp": false,
1123
- "hiddenAliases": [],
1124
- "id": "auth:logout",
1125
- "pluginAlias": "@instantkom/cli",
1126
- "pluginName": "@instantkom/cli",
1127
- "pluginType": "core",
1128
- "strict": true,
1129
- "enableJsonFlag": false,
1130
- "isESM": true,
1131
- "relativePath": [
1132
- "dist",
1133
- "commands",
1134
- "auth",
1135
- "logout.js"
1136
- ]
1137
- },
1138
- "autocomplete:script": {
1139
- "aliases": [],
1140
- "args": {
1141
- "shell": {
1142
- "description": "Shell type",
1143
- "name": "shell",
1176
+ },
1177
+ "scope": {
1178
+ "description": "Requested token scope",
1179
+ "name": "scope",
1180
+ "default": "read",
1181
+ "hasDynamicHelp": false,
1182
+ "multiple": false,
1144
1183
  "options": [
1145
- "zsh",
1146
- "bash",
1147
- "fish",
1148
- "powershell"
1184
+ "full",
1185
+ "send",
1186
+ "read",
1187
+ "admin"
1149
1188
  ],
1150
- "required": false
1189
+ "type": "option"
1151
1190
  }
1152
1191
  },
1153
- "description": "outputs autocomplete config script for shells",
1154
- "flags": {},
1155
1192
  "hasDynamicHelp": false,
1156
- "hidden": true,
1157
1193
  "hiddenAliases": [],
1158
- "id": "autocomplete:script",
1194
+ "id": "auth:login",
1159
1195
  "pluginAlias": "@instantkom/cli",
1160
1196
  "pluginName": "@instantkom/cli",
1161
1197
  "pluginType": "core",
@@ -1165,14 +1201,14 @@
1165
1201
  "relativePath": [
1166
1202
  "dist",
1167
1203
  "commands",
1168
- "autocomplete",
1169
- "script.js"
1204
+ "auth",
1205
+ "login.js"
1170
1206
  ]
1171
1207
  },
1172
- "ai:reply": {
1208
+ "auth:logout": {
1173
1209
  "aliases": [],
1174
1210
  "args": {},
1175
- "description": "Generate AI reply suggestions for a message",
1211
+ "description": "Remove the stored API token for the current profile",
1176
1212
  "flags": {
1177
1213
  "api-key": {
1178
1214
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1235,47 +1271,11 @@
1235
1271
  "hasDynamicHelp": false,
1236
1272
  "multiple": false,
1237
1273
  "type": "option"
1238
- },
1239
- "message-id": {
1240
- "description": "Message ID to use as smart-reply anchor",
1241
- "name": "message-id",
1242
- "required": true,
1243
- "hasDynamicHelp": false,
1244
- "multiple": false,
1245
- "type": "option"
1246
- },
1247
- "limit": {
1248
- "description": "Number of suggestions to generate (1-5)",
1249
- "name": "limit",
1250
- "hasDynamicHelp": false,
1251
- "multiple": false,
1252
- "type": "option"
1253
- },
1254
- "context-length": {
1255
- "description": "Number of recent messages to use as context (1-20)",
1256
- "name": "context-length",
1257
- "hasDynamicHelp": false,
1258
- "multiple": false,
1259
- "type": "option"
1260
- },
1261
- "style": {
1262
- "description": "Response style",
1263
- "name": "style",
1264
- "hasDynamicHelp": false,
1265
- "multiple": false,
1266
- "options": [
1267
- "professional",
1268
- "friendly",
1269
- "concise",
1270
- "detailed",
1271
- "empathetic"
1272
- ],
1273
- "type": "option"
1274
1274
  }
1275
1275
  },
1276
1276
  "hasDynamicHelp": false,
1277
1277
  "hiddenAliases": [],
1278
- "id": "ai:reply",
1278
+ "id": "auth:logout",
1279
1279
  "pluginAlias": "@instantkom/cli",
1280
1280
  "pluginName": "@instantkom/cli",
1281
1281
  "pluginType": "core",
@@ -1285,14 +1285,14 @@
1285
1285
  "relativePath": [
1286
1286
  "dist",
1287
1287
  "commands",
1288
- "ai",
1289
- "reply.js"
1288
+ "auth",
1289
+ "logout.js"
1290
1290
  ]
1291
1291
  },
1292
- "broadcast:create": {
1292
+ "bots:create": {
1293
1293
  "aliases": [],
1294
1294
  "args": {},
1295
- "description": "Create a broadcast for channels or segments",
1295
+ "description": "Create a bot",
1296
1296
  "flags": {
1297
1297
  "api-key": {
1298
1298
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1357,91 +1357,74 @@
1357
1357
  "type": "option"
1358
1358
  },
1359
1359
  "channel": {
1360
- "description": "Channel ID target",
1360
+ "description": "Channel ID",
1361
1361
  "name": "channel",
1362
+ "required": true,
1362
1363
  "hasDynamicHelp": false,
1363
1364
  "multiple": false,
1364
1365
  "type": "option"
1365
1366
  },
1366
- "segment": {
1367
- "description": "Segment ID within --channel",
1368
- "name": "segment",
1367
+ "name": {
1368
+ "description": "Bot name",
1369
+ "name": "name",
1370
+ "required": true,
1369
1371
  "hasDynamicHelp": false,
1370
1372
  "multiple": false,
1371
1373
  "type": "option"
1372
1374
  },
1373
- "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",
1375
+ "type": {
1376
+ "description": "Bot type",
1377
+ "name": "type",
1383
1378
  "required": true,
1384
1379
  "hasDynamicHelp": false,
1385
1380
  "multiple": false,
1381
+ "options": [
1382
+ "keyword",
1383
+ "schedule",
1384
+ "event",
1385
+ "ai"
1386
+ ],
1386
1387
  "type": "option"
1387
1388
  },
1388
- "send-at": {
1389
- "description": "Schedule send for an ISO-8601 date-time",
1390
- "name": "send-at",
1389
+ "message": {
1390
+ "description": "Bot message content",
1391
+ "name": "message",
1391
1392
  "hasDynamicHelp": false,
1392
1393
  "multiple": false,
1393
1394
  "type": "option"
1394
1395
  },
1395
- "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",
1396
+ "response": {
1397
+ "description": "Alias for --message",
1398
+ "name": "response",
1404
1399
  "hasDynamicHelp": false,
1405
1400
  "multiple": false,
1406
1401
  "type": "option"
1407
1402
  },
1408
- "media": {
1409
- "description": "Media file path to upload",
1410
- "name": "media",
1403
+ "color": {
1404
+ "description": "Bot color as HEX",
1405
+ "name": "color",
1411
1406
  "hasDynamicHelp": false,
1412
- "multiple": true,
1407
+ "multiple": false,
1413
1408
  "type": "option"
1414
1409
  },
1415
- "template-id": {
1416
- "description": "WhatsApp template ID",
1417
- "name": "template-id",
1410
+ "tags": {
1411
+ "description": "Comma-separated tags",
1412
+ "name": "tags",
1418
1413
  "hasDynamicHelp": false,
1419
1414
  "multiple": false,
1420
1415
  "type": "option"
1421
1416
  },
1422
- "send-status": {
1423
- "description": "Initial broadcast send status",
1424
- "name": "send-status",
1425
- "default": "draft",
1417
+ "data": {
1418
+ "description": "Additional JSON object payload",
1419
+ "name": "data",
1426
1420
  "hasDynamicHelp": false,
1427
1421
  "multiple": false,
1428
- "options": [
1429
- "draft",
1430
- "scheduled",
1431
- "sending"
1432
- ],
1433
1422
  "type": "option"
1434
- },
1435
- "auto-approve": {
1436
- "description": "Auto-approve broadcast when allowed by API permissions",
1437
- "name": "auto-approve",
1438
- "allowNo": false,
1439
- "type": "boolean"
1440
1423
  }
1441
1424
  },
1442
1425
  "hasDynamicHelp": false,
1443
1426
  "hiddenAliases": [],
1444
- "id": "broadcast:create",
1427
+ "id": "bots:create",
1445
1428
  "pluginAlias": "@instantkom/cli",
1446
1429
  "pluginName": "@instantkom/cli",
1447
1430
  "pluginType": "core",
@@ -1451,20 +1434,20 @@
1451
1434
  "relativePath": [
1452
1435
  "dist",
1453
1436
  "commands",
1454
- "broadcast",
1437
+ "bots",
1455
1438
  "create.js"
1456
1439
  ]
1457
1440
  },
1458
- "broadcast:delete": {
1441
+ "bots:delete": {
1459
1442
  "aliases": [],
1460
1443
  "args": {
1461
1444
  "id": {
1462
- "description": "broadcast ID",
1445
+ "description": "Bot ID",
1463
1446
  "name": "id",
1464
1447
  "required": true
1465
1448
  }
1466
1449
  },
1467
- "description": "Delete broadcast",
1450
+ "description": "Delete a bot",
1468
1451
  "flags": {
1469
1452
  "api-key": {
1470
1453
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1531,7 +1514,7 @@
1531
1514
  },
1532
1515
  "hasDynamicHelp": false,
1533
1516
  "hiddenAliases": [],
1534
- "id": "broadcast:delete",
1517
+ "id": "bots:delete",
1535
1518
  "pluginAlias": "@instantkom/cli",
1536
1519
  "pluginName": "@instantkom/cli",
1537
1520
  "pluginType": "core",
@@ -1541,20 +1524,20 @@
1541
1524
  "relativePath": [
1542
1525
  "dist",
1543
1526
  "commands",
1544
- "broadcast",
1527
+ "bots",
1545
1528
  "delete.js"
1546
1529
  ]
1547
1530
  },
1548
- "broadcast:get": {
1531
+ "bots:get": {
1549
1532
  "aliases": [],
1550
1533
  "args": {
1551
1534
  "id": {
1552
- "description": "broadcast ID",
1535
+ "description": "Bot ID",
1553
1536
  "name": "id",
1554
1537
  "required": true
1555
1538
  }
1556
1539
  },
1557
- "description": "Get broadcast by ID",
1540
+ "description": "Get a bot by ID",
1558
1541
  "flags": {
1559
1542
  "api-key": {
1560
1543
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1621,7 +1604,7 @@
1621
1604
  },
1622
1605
  "hasDynamicHelp": false,
1623
1606
  "hiddenAliases": [],
1624
- "id": "broadcast:get",
1607
+ "id": "bots:get",
1625
1608
  "pluginAlias": "@instantkom/cli",
1626
1609
  "pluginName": "@instantkom/cli",
1627
1610
  "pluginType": "core",
@@ -1631,14 +1614,14 @@
1631
1614
  "relativePath": [
1632
1615
  "dist",
1633
1616
  "commands",
1634
- "broadcast",
1617
+ "bots",
1635
1618
  "get.js"
1636
1619
  ]
1637
1620
  },
1638
- "broadcast:list": {
1621
+ "bots:list": {
1639
1622
  "aliases": [],
1640
1623
  "args": {},
1641
- "description": "List broadcasts",
1624
+ "description": "List bots",
1642
1625
  "flags": {
1643
1626
  "api-key": {
1644
1627
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1725,49 +1708,42 @@
1725
1708
  "multiple": false,
1726
1709
  "type": "option"
1727
1710
  },
1728
- "send-status": {
1729
- "description": "Filter by send status",
1730
- "name": "send-status",
1731
- "hasDynamicHelp": false,
1732
- "multiple": false,
1733
- "type": "option"
1734
- },
1735
1711
  "type": {
1736
- "description": "Broadcast type",
1712
+ "description": "Filter by bot type",
1737
1713
  "name": "type",
1738
1714
  "hasDynamicHelp": false,
1739
1715
  "multiple": false,
1740
- "options": [
1741
- "text",
1742
- "image",
1743
- "video",
1744
- "audio",
1745
- "document"
1746
- ],
1747
1716
  "type": "option"
1748
1717
  },
1749
1718
  "search": {
1750
- "description": "Search broadcasts",
1719
+ "description": "Search in bot name or message",
1751
1720
  "name": "search",
1752
1721
  "hasDynamicHelp": false,
1753
1722
  "multiple": false,
1754
1723
  "type": "option"
1755
1724
  },
1756
- "test": {
1757
- "description": "Filter test flag: 0 or 1",
1758
- "name": "test",
1725
+ "tags": {
1726
+ "description": "Comma-separated tag IDs",
1727
+ "name": "tags",
1728
+ "hasDynamicHelp": false,
1729
+ "multiple": false,
1730
+ "type": "option"
1731
+ },
1732
+ "tag-match": {
1733
+ "description": "Tag match mode",
1734
+ "name": "tag-match",
1759
1735
  "hasDynamicHelp": false,
1760
1736
  "multiple": false,
1761
1737
  "options": [
1762
- "0",
1763
- "1"
1738
+ "any",
1739
+ "all"
1764
1740
  ],
1765
1741
  "type": "option"
1766
1742
  }
1767
1743
  },
1768
1744
  "hasDynamicHelp": false,
1769
1745
  "hiddenAliases": [],
1770
- "id": "broadcast:list",
1746
+ "id": "bots:list",
1771
1747
  "pluginAlias": "@instantkom/cli",
1772
1748
  "pluginName": "@instantkom/cli",
1773
1749
  "pluginType": "core",
@@ -1777,20 +1753,20 @@
1777
1753
  "relativePath": [
1778
1754
  "dist",
1779
1755
  "commands",
1780
- "broadcast",
1756
+ "bots",
1781
1757
  "list.js"
1782
1758
  ]
1783
1759
  },
1784
- "broadcast:send": {
1760
+ "bots:matches": {
1785
1761
  "aliases": [],
1786
1762
  "args": {
1787
1763
  "id": {
1788
- "description": "Broadcast ID",
1764
+ "description": "Bot ID",
1789
1765
  "name": "id",
1790
1766
  "required": true
1791
1767
  }
1792
1768
  },
1793
- "description": "Send a broadcast immediately",
1769
+ "description": "List bot match history",
1794
1770
  "flags": {
1795
1771
  "api-key": {
1796
1772
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1853,11 +1829,34 @@
1853
1829
  "hasDynamicHelp": false,
1854
1830
  "multiple": false,
1855
1831
  "type": "option"
1832
+ },
1833
+ "page": {
1834
+ "description": "Page number",
1835
+ "name": "page",
1836
+ "default": 1,
1837
+ "hasDynamicHelp": false,
1838
+ "multiple": false,
1839
+ "type": "option"
1840
+ },
1841
+ "limit": {
1842
+ "description": "Items per page",
1843
+ "name": "limit",
1844
+ "default": 50,
1845
+ "hasDynamicHelp": false,
1846
+ "multiple": false,
1847
+ "type": "option"
1848
+ },
1849
+ "search": {
1850
+ "description": "Search in matches",
1851
+ "name": "search",
1852
+ "hasDynamicHelp": false,
1853
+ "multiple": false,
1854
+ "type": "option"
1856
1855
  }
1857
1856
  },
1858
1857
  "hasDynamicHelp": false,
1859
1858
  "hiddenAliases": [],
1860
- "id": "broadcast:send",
1859
+ "id": "bots:matches",
1861
1860
  "pluginAlias": "@instantkom/cli",
1862
1861
  "pluginName": "@instantkom/cli",
1863
1862
  "pluginType": "core",
@@ -1867,20 +1866,20 @@
1867
1866
  "relativePath": [
1868
1867
  "dist",
1869
1868
  "commands",
1870
- "broadcast",
1871
- "send.js"
1869
+ "bots",
1870
+ "matches.js"
1872
1871
  ]
1873
1872
  },
1874
- "broadcast:status": {
1873
+ "bots:update": {
1875
1874
  "aliases": [],
1876
1875
  "args": {
1877
1876
  "id": {
1878
- "description": "Broadcast ID",
1877
+ "description": "Bot ID",
1879
1878
  "name": "id",
1880
1879
  "required": true
1881
1880
  }
1882
1881
  },
1883
- "description": "Show broadcast send status",
1882
+ "description": "Update a bot",
1884
1883
  "flags": {
1885
1884
  "api-key": {
1886
1885
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1943,11 +1942,66 @@
1943
1942
  "hasDynamicHelp": false,
1944
1943
  "multiple": false,
1945
1944
  "type": "option"
1945
+ },
1946
+ "name": {
1947
+ "description": "Bot name",
1948
+ "name": "name",
1949
+ "hasDynamicHelp": false,
1950
+ "multiple": false,
1951
+ "type": "option"
1952
+ },
1953
+ "type": {
1954
+ "description": "Bot type",
1955
+ "name": "type",
1956
+ "hasDynamicHelp": false,
1957
+ "multiple": false,
1958
+ "options": [
1959
+ "keyword",
1960
+ "schedule",
1961
+ "event",
1962
+ "ai"
1963
+ ],
1964
+ "type": "option"
1965
+ },
1966
+ "message": {
1967
+ "description": "Bot message content",
1968
+ "name": "message",
1969
+ "hasDynamicHelp": false,
1970
+ "multiple": false,
1971
+ "type": "option"
1972
+ },
1973
+ "response": {
1974
+ "description": "Alias for --message",
1975
+ "name": "response",
1976
+ "hasDynamicHelp": false,
1977
+ "multiple": false,
1978
+ "type": "option"
1979
+ },
1980
+ "color": {
1981
+ "description": "Bot color as HEX",
1982
+ "name": "color",
1983
+ "hasDynamicHelp": false,
1984
+ "multiple": false,
1985
+ "type": "option"
1986
+ },
1987
+ "tags": {
1988
+ "description": "Comma-separated tags",
1989
+ "name": "tags",
1990
+ "hasDynamicHelp": false,
1991
+ "multiple": false,
1992
+ "type": "option"
1993
+ },
1994
+ "data": {
1995
+ "description": "Additional JSON object payload",
1996
+ "name": "data",
1997
+ "hasDynamicHelp": false,
1998
+ "multiple": false,
1999
+ "type": "option"
1946
2000
  }
1947
2001
  },
1948
2002
  "hasDynamicHelp": false,
1949
2003
  "hiddenAliases": [],
1950
- "id": "broadcast:status",
2004
+ "id": "bots:update",
1951
2005
  "pluginAlias": "@instantkom/cli",
1952
2006
  "pluginName": "@instantkom/cli",
1953
2007
  "pluginType": "core",
@@ -1957,20 +2011,14 @@
1957
2011
  "relativePath": [
1958
2012
  "dist",
1959
2013
  "commands",
1960
- "broadcast",
1961
- "status.js"
2014
+ "bots",
2015
+ "update.js"
1962
2016
  ]
1963
2017
  },
1964
- "broadcast:update": {
2018
+ "broadcast:create": {
1965
2019
  "aliases": [],
1966
- "args": {
1967
- "id": {
1968
- "description": "Broadcast ID",
1969
- "name": "id",
1970
- "required": true
1971
- }
1972
- },
1973
- "description": "Update a broadcast",
2020
+ "args": {},
2021
+ "description": "Create a broadcast for channels or segments",
1974
2022
  "flags": {
1975
2023
  "api-key": {
1976
2024
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2034,76 +2082,92 @@
2034
2082
  "multiple": false,
2035
2083
  "type": "option"
2036
2084
  },
2037
- "text": {
2038
- "description": "Broadcast message text",
2039
- "name": "text",
2085
+ "channel": {
2086
+ "description": "Channel ID target",
2087
+ "name": "channel",
2040
2088
  "hasDynamicHelp": false,
2041
2089
  "multiple": false,
2042
2090
  "type": "option"
2043
2091
  },
2044
- "send-status": {
2045
- "description": "Send status",
2046
- "name": "send-status",
2092
+ "segment": {
2093
+ "description": "Segment ID within --channel",
2094
+ "name": "segment",
2047
2095
  "hasDynamicHelp": false,
2048
2096
  "multiple": false,
2049
2097
  "type": "option"
2050
2098
  },
2051
- "scheduled-at": {
2052
- "description": "Unix timestamp for scheduled send",
2053
- "name": "scheduled-at",
2099
+ "target": {
2100
+ "description": "Target as channelId or channelId:segmentId; may be repeated",
2101
+ "name": "target",
2054
2102
  "hasDynamicHelp": false,
2055
- "multiple": false,
2103
+ "multiple": true,
2056
2104
  "type": "option"
2057
2105
  },
2058
- "approved": {
2059
- "description": "Mark as approved",
2060
- "name": "approved",
2061
- "allowNo": false,
2062
- "type": "boolean"
2106
+ "text": {
2107
+ "description": "Broadcast message text",
2108
+ "name": "text",
2109
+ "required": true,
2110
+ "hasDynamicHelp": false,
2111
+ "multiple": false,
2112
+ "type": "option"
2063
2113
  },
2064
- "locked": {
2065
- "description": "Mark as locked",
2066
- "name": "locked",
2067
- "allowNo": false,
2068
- "type": "boolean"
2114
+ "send-at": {
2115
+ "description": "Schedule send for an ISO-8601 date-time",
2116
+ "name": "send-at",
2117
+ "hasDynamicHelp": false,
2118
+ "multiple": false,
2119
+ "type": "option"
2069
2120
  },
2070
- "test": {
2071
- "description": "Mark as test broadcast",
2072
- "name": "test",
2121
+ "dry-run": {
2122
+ "description": "Validate and print the broadcast payload without mutating API calls",
2123
+ "name": "dry-run",
2073
2124
  "allowNo": false,
2074
2125
  "type": "boolean"
2075
2126
  },
2076
- "template-id": {
2077
- "description": "Template ID",
2078
- "name": "template-id",
2127
+ "idempotency-key": {
2128
+ "description": "Idempotency key forwarded as Idempotency-Key",
2129
+ "name": "idempotency-key",
2079
2130
  "hasDynamicHelp": false,
2080
2131
  "multiple": false,
2081
2132
  "type": "option"
2082
2133
  },
2083
- "remove-media": {
2084
- "description": "Remove existing media",
2085
- "name": "remove-media",
2086
- "allowNo": false,
2087
- "type": "boolean"
2134
+ "media": {
2135
+ "description": "Media file path to upload",
2136
+ "name": "media",
2137
+ "hasDynamicHelp": false,
2138
+ "multiple": true,
2139
+ "type": "option"
2088
2140
  },
2089
- "header-footer": {
2090
- "description": "Header/footer JSON array",
2091
- "name": "header-footer",
2141
+ "template-id": {
2142
+ "description": "WhatsApp template ID",
2143
+ "name": "template-id",
2092
2144
  "hasDynamicHelp": false,
2093
2145
  "multiple": false,
2094
2146
  "type": "option"
2095
2147
  },
2096
- "data": {
2097
- "description": "Additional JSON object payload",
2098
- "name": "data",
2148
+ "send-status": {
2149
+ "description": "Initial broadcast send status",
2150
+ "name": "send-status",
2151
+ "default": "draft",
2099
2152
  "hasDynamicHelp": false,
2100
2153
  "multiple": false,
2154
+ "options": [
2155
+ "draft",
2156
+ "scheduled",
2157
+ "sending"
2158
+ ],
2101
2159
  "type": "option"
2160
+ },
2161
+ "auto-approve": {
2162
+ "description": "Auto-approve broadcast when allowed by API permissions",
2163
+ "name": "auto-approve",
2164
+ "allowNo": false,
2165
+ "type": "boolean"
2102
2166
  }
2103
2167
  },
2104
2168
  "hasDynamicHelp": false,
2105
2169
  "hiddenAliases": [],
2106
- "id": "broadcast:update",
2170
+ "id": "broadcast:create",
2107
2171
  "pluginAlias": "@instantkom/cli",
2108
2172
  "pluginName": "@instantkom/cli",
2109
2173
  "pluginType": "core",
@@ -2114,13 +2178,19 @@
2114
2178
  "dist",
2115
2179
  "commands",
2116
2180
  "broadcast",
2117
- "update.js"
2181
+ "create.js"
2118
2182
  ]
2119
2183
  },
2120
- "channels:create": {
2184
+ "broadcast:delete": {
2121
2185
  "aliases": [],
2122
- "args": {},
2123
- "description": "Create a channel",
2186
+ "args": {
2187
+ "id": {
2188
+ "description": "broadcast ID",
2189
+ "name": "id",
2190
+ "required": true
2191
+ }
2192
+ },
2193
+ "description": "Delete broadcast",
2124
2194
  "flags": {
2125
2195
  "api-key": {
2126
2196
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2183,40 +2253,93 @@
2183
2253
  "hasDynamicHelp": false,
2184
2254
  "multiple": false,
2185
2255
  "type": "option"
2186
- },
2187
- "name": {
2188
- "description": "Channel name",
2189
- "name": "name",
2190
- "required": true,
2256
+ }
2257
+ },
2258
+ "hasDynamicHelp": false,
2259
+ "hiddenAliases": [],
2260
+ "id": "broadcast:delete",
2261
+ "pluginAlias": "@instantkom/cli",
2262
+ "pluginName": "@instantkom/cli",
2263
+ "pluginType": "core",
2264
+ "strict": true,
2265
+ "enableJsonFlag": false,
2266
+ "isESM": true,
2267
+ "relativePath": [
2268
+ "dist",
2269
+ "commands",
2270
+ "broadcast",
2271
+ "delete.js"
2272
+ ]
2273
+ },
2274
+ "broadcast:get": {
2275
+ "aliases": [],
2276
+ "args": {
2277
+ "id": {
2278
+ "description": "broadcast ID",
2279
+ "name": "id",
2280
+ "required": true
2281
+ }
2282
+ },
2283
+ "description": "Get broadcast by ID",
2284
+ "flags": {
2285
+ "api-key": {
2286
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
2287
+ "env": "IKM_API_KEY",
2288
+ "helpGroup": "GLOBAL",
2289
+ "name": "api-key",
2191
2290
  "hasDynamicHelp": false,
2192
2291
  "multiple": false,
2193
2292
  "type": "option"
2194
2293
  },
2195
- "gateway-type": {
2196
- "description": "Gateway type ID",
2197
- "name": "gateway-type",
2198
- "required": true,
2294
+ "format": {
2295
+ "description": "Output format: text, json, yaml, or table",
2296
+ "helpGroup": "GLOBAL",
2297
+ "name": "format",
2298
+ "default": "text",
2199
2299
  "hasDynamicHelp": false,
2200
2300
  "multiple": false,
2301
+ "options": [
2302
+ "text",
2303
+ "json",
2304
+ "yaml",
2305
+ "table"
2306
+ ],
2201
2307
  "type": "option"
2202
2308
  },
2203
- "status": {
2204
- "description": "Channel lifecycle status",
2205
- "name": "status",
2206
- "hasDynamicHelp": false,
2207
- "multiple": false,
2208
- "type": "option"
2309
+ "json": {
2310
+ "description": "Output in JSON format (alias for --format=json)",
2311
+ "helpGroup": "GLOBAL",
2312
+ "name": "json",
2313
+ "allowNo": false,
2314
+ "type": "boolean"
2315
+ },
2316
+ "quiet": {
2317
+ "description": "Suppress all output except errors",
2318
+ "helpGroup": "GLOBAL",
2319
+ "name": "quiet",
2320
+ "allowNo": false,
2321
+ "type": "boolean"
2322
+ },
2323
+ "no-color": {
2324
+ "description": "Disable color output",
2325
+ "helpGroup": "GLOBAL",
2326
+ "name": "no-color",
2327
+ "allowNo": false,
2328
+ "type": "boolean"
2209
2329
  },
2210
- "description": {
2211
- "description": "Channel description",
2212
- "name": "description",
2330
+ "profile": {
2331
+ "description": "Named configuration profile to use",
2332
+ "helpGroup": "GLOBAL",
2333
+ "name": "profile",
2334
+ "default": "default",
2213
2335
  "hasDynamicHelp": false,
2214
2336
  "multiple": false,
2215
2337
  "type": "option"
2216
2338
  },
2217
- "data": {
2218
- "description": "Additional JSON object payload",
2219
- "name": "data",
2339
+ "api-url": {
2340
+ "description": "Override the API base URL (e.g. for staging)",
2341
+ "helpGroup": "GLOBAL",
2342
+ "name": "api-url",
2220
2343
  "hasDynamicHelp": false,
2221
2344
  "multiple": false,
2222
2345
  "type": "option"
@@ -2224,7 +2347,7 @@
2224
2347
  },
2225
2348
  "hasDynamicHelp": false,
2226
2349
  "hiddenAliases": [],
2227
- "id": "channels:create",
2350
+ "id": "broadcast:get",
2228
2351
  "pluginAlias": "@instantkom/cli",
2229
2352
  "pluginName": "@instantkom/cli",
2230
2353
  "pluginType": "core",
@@ -2234,20 +2357,14 @@
2234
2357
  "relativePath": [
2235
2358
  "dist",
2236
2359
  "commands",
2237
- "channels",
2238
- "create.js"
2360
+ "broadcast",
2361
+ "get.js"
2239
2362
  ]
2240
2363
  },
2241
- "channels:get": {
2364
+ "broadcast:list": {
2242
2365
  "aliases": [],
2243
- "args": {
2244
- "id": {
2245
- "description": "Channel ID",
2246
- "name": "id",
2247
- "required": true
2248
- }
2249
- },
2250
- "description": "Get a channel by ID",
2366
+ "args": {},
2367
+ "description": "List broadcasts",
2251
2368
  "flags": {
2252
2369
  "api-key": {
2253
2370
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2310,11 +2427,73 @@
2310
2427
  "hasDynamicHelp": false,
2311
2428
  "multiple": false,
2312
2429
  "type": "option"
2430
+ },
2431
+ "page": {
2432
+ "description": "Page number",
2433
+ "name": "page",
2434
+ "default": 1,
2435
+ "hasDynamicHelp": false,
2436
+ "multiple": false,
2437
+ "type": "option"
2438
+ },
2439
+ "limit": {
2440
+ "description": "Items per page",
2441
+ "name": "limit",
2442
+ "default": 20,
2443
+ "hasDynamicHelp": false,
2444
+ "multiple": false,
2445
+ "type": "option"
2446
+ },
2447
+ "channel": {
2448
+ "description": "Filter by channel ID",
2449
+ "name": "channel",
2450
+ "hasDynamicHelp": false,
2451
+ "multiple": false,
2452
+ "type": "option"
2453
+ },
2454
+ "send-status": {
2455
+ "description": "Filter by send status",
2456
+ "name": "send-status",
2457
+ "hasDynamicHelp": false,
2458
+ "multiple": false,
2459
+ "type": "option"
2460
+ },
2461
+ "type": {
2462
+ "description": "Broadcast type",
2463
+ "name": "type",
2464
+ "hasDynamicHelp": false,
2465
+ "multiple": false,
2466
+ "options": [
2467
+ "text",
2468
+ "image",
2469
+ "video",
2470
+ "audio",
2471
+ "document"
2472
+ ],
2473
+ "type": "option"
2474
+ },
2475
+ "search": {
2476
+ "description": "Search broadcasts",
2477
+ "name": "search",
2478
+ "hasDynamicHelp": false,
2479
+ "multiple": false,
2480
+ "type": "option"
2481
+ },
2482
+ "test": {
2483
+ "description": "Filter test flag: 0 or 1",
2484
+ "name": "test",
2485
+ "hasDynamicHelp": false,
2486
+ "multiple": false,
2487
+ "options": [
2488
+ "0",
2489
+ "1"
2490
+ ],
2491
+ "type": "option"
2313
2492
  }
2314
2493
  },
2315
2494
  "hasDynamicHelp": false,
2316
2495
  "hiddenAliases": [],
2317
- "id": "channels:get",
2496
+ "id": "broadcast:list",
2318
2497
  "pluginAlias": "@instantkom/cli",
2319
2498
  "pluginName": "@instantkom/cli",
2320
2499
  "pluginType": "core",
@@ -2324,20 +2503,20 @@
2324
2503
  "relativePath": [
2325
2504
  "dist",
2326
2505
  "commands",
2327
- "channels",
2328
- "get.js"
2506
+ "broadcast",
2507
+ "list.js"
2329
2508
  ]
2330
2509
  },
2331
- "channels:kpis": {
2510
+ "broadcast:send": {
2332
2511
  "aliases": [],
2333
2512
  "args": {
2334
2513
  "id": {
2335
- "description": "Optional channel ID; omit for aggregated channel KPIs",
2514
+ "description": "Broadcast ID",
2336
2515
  "name": "id",
2337
- "required": false
2516
+ "required": true
2338
2517
  }
2339
2518
  },
2340
- "description": "Get channel KPIs",
2519
+ "description": "Send a broadcast immediately",
2341
2520
  "flags": {
2342
2521
  "api-key": {
2343
2522
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2400,18 +2579,11 @@
2400
2579
  "hasDynamicHelp": false,
2401
2580
  "multiple": false,
2402
2581
  "type": "option"
2403
- },
2404
- "period": {
2405
- "description": "KPI period",
2406
- "name": "period",
2407
- "hasDynamicHelp": false,
2408
- "multiple": false,
2409
- "type": "option"
2410
2582
  }
2411
2583
  },
2412
2584
  "hasDynamicHelp": false,
2413
2585
  "hiddenAliases": [],
2414
- "id": "channels:kpis",
2586
+ "id": "broadcast:send",
2415
2587
  "pluginAlias": "@instantkom/cli",
2416
2588
  "pluginName": "@instantkom/cli",
2417
2589
  "pluginType": "core",
@@ -2421,14 +2593,20 @@
2421
2593
  "relativePath": [
2422
2594
  "dist",
2423
2595
  "commands",
2424
- "channels",
2425
- "kpis.js"
2596
+ "broadcast",
2597
+ "send.js"
2426
2598
  ]
2427
2599
  },
2428
- "channels:list": {
2600
+ "broadcast:status": {
2429
2601
  "aliases": [],
2430
- "args": {},
2431
- "description": "List channels",
2602
+ "args": {
2603
+ "id": {
2604
+ "description": "Broadcast ID",
2605
+ "name": "id",
2606
+ "required": true
2607
+ }
2608
+ },
2609
+ "description": "Show broadcast send status",
2432
2610
  "flags": {
2433
2611
  "api-key": {
2434
2612
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2491,48 +2669,11 @@
2491
2669
  "hasDynamicHelp": false,
2492
2670
  "multiple": false,
2493
2671
  "type": "option"
2494
- },
2495
- "page": {
2496
- "description": "Page number",
2497
- "name": "page",
2498
- "default": 1,
2499
- "hasDynamicHelp": false,
2500
- "multiple": false,
2501
- "type": "option"
2502
- },
2503
- "limit": {
2504
- "description": "Items per page",
2505
- "name": "limit",
2506
- "default": 20,
2507
- "hasDynamicHelp": false,
2508
- "multiple": false,
2509
- "type": "option"
2510
- },
2511
- "status": {
2512
- "description": "Filter by channel status",
2513
- "name": "status",
2514
- "hasDynamicHelp": false,
2515
- "multiple": false,
2516
- "type": "option"
2517
- },
2518
- "gateway-type": {
2519
- "description": "Filter by gateway type ID",
2520
- "name": "gateway-type",
2521
- "hasDynamicHelp": false,
2522
- "multiple": false,
2523
- "type": "option"
2524
- },
2525
- "search": {
2526
- "description": "Search by channel name",
2527
- "name": "search",
2528
- "hasDynamicHelp": false,
2529
- "multiple": false,
2530
- "type": "option"
2531
2672
  }
2532
2673
  },
2533
2674
  "hasDynamicHelp": false,
2534
2675
  "hiddenAliases": [],
2535
- "id": "channels:list",
2676
+ "id": "broadcast:status",
2536
2677
  "pluginAlias": "@instantkom/cli",
2537
2678
  "pluginName": "@instantkom/cli",
2538
2679
  "pluginType": "core",
@@ -2542,20 +2683,20 @@
2542
2683
  "relativePath": [
2543
2684
  "dist",
2544
2685
  "commands",
2545
- "channels",
2546
- "list.js"
2686
+ "broadcast",
2687
+ "status.js"
2547
2688
  ]
2548
2689
  },
2549
- "channels:update": {
2690
+ "broadcast:update": {
2550
2691
  "aliases": [],
2551
2692
  "args": {
2552
2693
  "id": {
2553
- "description": "Channel ID",
2694
+ "description": "Broadcast ID",
2554
2695
  "name": "id",
2555
2696
  "required": true
2556
2697
  }
2557
2698
  },
2558
- "description": "Update a channel",
2699
+ "description": "Update a broadcast",
2559
2700
  "flags": {
2560
2701
  "api-key": {
2561
2702
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2619,23 +2760,61 @@
2619
2760
  "multiple": false,
2620
2761
  "type": "option"
2621
2762
  },
2622
- "name": {
2623
- "description": "Channel name",
2624
- "name": "name",
2763
+ "text": {
2764
+ "description": "Broadcast message text",
2765
+ "name": "text",
2625
2766
  "hasDynamicHelp": false,
2626
2767
  "multiple": false,
2627
2768
  "type": "option"
2628
2769
  },
2629
- "status": {
2630
- "description": "Channel lifecycle status",
2631
- "name": "status",
2770
+ "send-status": {
2771
+ "description": "Send status",
2772
+ "name": "send-status",
2632
2773
  "hasDynamicHelp": false,
2633
2774
  "multiple": false,
2634
2775
  "type": "option"
2635
2776
  },
2636
- "description": {
2637
- "description": "Channel description",
2638
- "name": "description",
2777
+ "scheduled-at": {
2778
+ "description": "Unix timestamp for scheduled send",
2779
+ "name": "scheduled-at",
2780
+ "hasDynamicHelp": false,
2781
+ "multiple": false,
2782
+ "type": "option"
2783
+ },
2784
+ "approved": {
2785
+ "description": "Mark as approved",
2786
+ "name": "approved",
2787
+ "allowNo": false,
2788
+ "type": "boolean"
2789
+ },
2790
+ "locked": {
2791
+ "description": "Mark as locked",
2792
+ "name": "locked",
2793
+ "allowNo": false,
2794
+ "type": "boolean"
2795
+ },
2796
+ "test": {
2797
+ "description": "Mark as test broadcast",
2798
+ "name": "test",
2799
+ "allowNo": false,
2800
+ "type": "boolean"
2801
+ },
2802
+ "template-id": {
2803
+ "description": "Template ID",
2804
+ "name": "template-id",
2805
+ "hasDynamicHelp": false,
2806
+ "multiple": false,
2807
+ "type": "option"
2808
+ },
2809
+ "remove-media": {
2810
+ "description": "Remove existing media",
2811
+ "name": "remove-media",
2812
+ "allowNo": false,
2813
+ "type": "boolean"
2814
+ },
2815
+ "header-footer": {
2816
+ "description": "Header/footer JSON array",
2817
+ "name": "header-footer",
2639
2818
  "hasDynamicHelp": false,
2640
2819
  "multiple": false,
2641
2820
  "type": "option"
@@ -2650,7 +2829,7 @@
2650
2829
  },
2651
2830
  "hasDynamicHelp": false,
2652
2831
  "hiddenAliases": [],
2653
- "id": "channels:update",
2832
+ "id": "broadcast:update",
2654
2833
  "pluginAlias": "@instantkom/cli",
2655
2834
  "pluginName": "@instantkom/cli",
2656
2835
  "pluginType": "core",
@@ -2660,20 +2839,14 @@
2660
2839
  "relativePath": [
2661
2840
  "dist",
2662
2841
  "commands",
2663
- "channels",
2664
- "update.js"
2665
- ]
2666
- },
2667
- "chats:get": {
2668
- "aliases": [],
2669
- "args": {
2670
- "id": {
2671
- "description": "chat ID",
2672
- "name": "id",
2673
- "required": true
2674
- }
2675
- },
2676
- "description": "Get chat by ID",
2842
+ "broadcast",
2843
+ "update.js"
2844
+ ]
2845
+ },
2846
+ "channels:create": {
2847
+ "aliases": [],
2848
+ "args": {},
2849
+ "description": "Create a channel",
2677
2850
  "flags": {
2678
2851
  "api-key": {
2679
2852
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2736,11 +2909,48 @@
2736
2909
  "hasDynamicHelp": false,
2737
2910
  "multiple": false,
2738
2911
  "type": "option"
2912
+ },
2913
+ "name": {
2914
+ "description": "Channel name",
2915
+ "name": "name",
2916
+ "required": true,
2917
+ "hasDynamicHelp": false,
2918
+ "multiple": false,
2919
+ "type": "option"
2920
+ },
2921
+ "gateway-type": {
2922
+ "description": "Gateway type ID",
2923
+ "name": "gateway-type",
2924
+ "required": true,
2925
+ "hasDynamicHelp": false,
2926
+ "multiple": false,
2927
+ "type": "option"
2928
+ },
2929
+ "status": {
2930
+ "description": "Channel lifecycle status",
2931
+ "name": "status",
2932
+ "hasDynamicHelp": false,
2933
+ "multiple": false,
2934
+ "type": "option"
2935
+ },
2936
+ "description": {
2937
+ "description": "Channel description",
2938
+ "name": "description",
2939
+ "hasDynamicHelp": false,
2940
+ "multiple": false,
2941
+ "type": "option"
2942
+ },
2943
+ "data": {
2944
+ "description": "Additional JSON object payload",
2945
+ "name": "data",
2946
+ "hasDynamicHelp": false,
2947
+ "multiple": false,
2948
+ "type": "option"
2739
2949
  }
2740
2950
  },
2741
2951
  "hasDynamicHelp": false,
2742
2952
  "hiddenAliases": [],
2743
- "id": "chats:get",
2953
+ "id": "channels:create",
2744
2954
  "pluginAlias": "@instantkom/cli",
2745
2955
  "pluginName": "@instantkom/cli",
2746
2956
  "pluginType": "core",
@@ -2750,14 +2960,20 @@
2750
2960
  "relativePath": [
2751
2961
  "dist",
2752
2962
  "commands",
2753
- "chats",
2754
- "get.js"
2963
+ "channels",
2964
+ "create.js"
2755
2965
  ]
2756
2966
  },
2757
- "chats:list": {
2967
+ "channels:get": {
2758
2968
  "aliases": [],
2759
- "args": {},
2760
- "description": "List chats",
2969
+ "args": {
2970
+ "id": {
2971
+ "description": "Channel ID",
2972
+ "name": "id",
2973
+ "required": true
2974
+ }
2975
+ },
2976
+ "description": "Get a channel by ID",
2761
2977
  "flags": {
2762
2978
  "api-key": {
2763
2979
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2820,73 +3036,11 @@
2820
3036
  "hasDynamicHelp": false,
2821
3037
  "multiple": false,
2822
3038
  "type": "option"
2823
- },
2824
- "page": {
2825
- "description": "Page number",
2826
- "name": "page",
2827
- "default": 1,
2828
- "hasDynamicHelp": false,
2829
- "multiple": false,
2830
- "type": "option"
2831
- },
2832
- "limit": {
2833
- "description": "Items per page",
2834
- "name": "limit",
2835
- "default": 20,
2836
- "hasDynamicHelp": false,
2837
- "multiple": false,
2838
- "type": "option"
2839
- },
2840
- "channel": {
2841
- "description": "Filter by channel ID",
2842
- "name": "channel",
2843
- "hasDynamicHelp": false,
2844
- "multiple": false,
2845
- "type": "option"
2846
- },
2847
- "channels": {
2848
- "description": "Comma-separated channel IDs",
2849
- "name": "channels",
2850
- "hasDynamicHelp": false,
2851
- "multiple": false,
2852
- "type": "option"
2853
- },
2854
- "search": {
2855
- "description": "Search chats",
2856
- "name": "search",
2857
- "hasDynamicHelp": false,
2858
- "multiple": false,
2859
- "type": "option"
2860
- },
2861
- "status": {
2862
- "description": "Chat status",
2863
- "name": "status",
2864
- "hasDynamicHelp": false,
2865
- "multiple": false,
2866
- "options": [
2867
- "all",
2868
- "unread",
2869
- "read",
2870
- "archived"
2871
- ],
2872
- "type": "option"
2873
- },
2874
- "unread-only": {
2875
- "description": "Only unread chats",
2876
- "name": "unread-only",
2877
- "allowNo": false,
2878
- "type": "boolean"
2879
- },
2880
- "include-archived": {
2881
- "description": "Include archived chats",
2882
- "name": "include-archived",
2883
- "allowNo": false,
2884
- "type": "boolean"
2885
3039
  }
2886
3040
  },
2887
3041
  "hasDynamicHelp": false,
2888
3042
  "hiddenAliases": [],
2889
- "id": "chats:list",
3043
+ "id": "channels:get",
2890
3044
  "pluginAlias": "@instantkom/cli",
2891
3045
  "pluginName": "@instantkom/cli",
2892
3046
  "pluginType": "core",
@@ -2896,20 +3050,20 @@
2896
3050
  "relativePath": [
2897
3051
  "dist",
2898
3052
  "commands",
2899
- "chats",
2900
- "list.js"
3053
+ "channels",
3054
+ "get.js"
2901
3055
  ]
2902
3056
  },
2903
- "chats:reply": {
3057
+ "channels:kpis": {
2904
3058
  "aliases": [],
2905
3059
  "args": {
2906
3060
  "id": {
2907
- "description": "Chat ID",
3061
+ "description": "Optional channel ID; omit for aggregated channel KPIs",
2908
3062
  "name": "id",
2909
- "required": true
3063
+ "required": false
2910
3064
  }
2911
3065
  },
2912
- "description": "Reply in a chat",
3066
+ "description": "Get channel KPIs",
2913
3067
  "flags": {
2914
3068
  "api-key": {
2915
3069
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2973,10 +3127,9 @@
2973
3127
  "multiple": false,
2974
3128
  "type": "option"
2975
3129
  },
2976
- "text": {
2977
- "description": "Reply text",
2978
- "name": "text",
2979
- "required": true,
3130
+ "period": {
3131
+ "description": "KPI period",
3132
+ "name": "period",
2980
3133
  "hasDynamicHelp": false,
2981
3134
  "multiple": false,
2982
3135
  "type": "option"
@@ -2984,7 +3137,7 @@
2984
3137
  },
2985
3138
  "hasDynamicHelp": false,
2986
3139
  "hiddenAliases": [],
2987
- "id": "chats:reply",
3140
+ "id": "channels:kpis",
2988
3141
  "pluginAlias": "@instantkom/cli",
2989
3142
  "pluginName": "@instantkom/cli",
2990
3143
  "pluginType": "core",
@@ -2994,14 +3147,14 @@
2994
3147
  "relativePath": [
2995
3148
  "dist",
2996
3149
  "commands",
2997
- "chats",
2998
- "reply.js"
3150
+ "channels",
3151
+ "kpis.js"
2999
3152
  ]
3000
3153
  },
3001
- "bots:create": {
3154
+ "channels:list": {
3002
3155
  "aliases": [],
3003
3156
  "args": {},
3004
- "description": "Create a bot",
3157
+ "description": "List channels",
3005
3158
  "flags": {
3006
3159
  "api-key": {
3007
3160
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3065,67 +3218,39 @@
3065
3218
  "multiple": false,
3066
3219
  "type": "option"
3067
3220
  },
3068
- "channel": {
3069
- "description": "Channel ID",
3070
- "name": "channel",
3071
- "required": true,
3072
- "hasDynamicHelp": false,
3073
- "multiple": false,
3074
- "type": "option"
3075
- },
3076
- "name": {
3077
- "description": "Bot name",
3078
- "name": "name",
3079
- "required": true,
3080
- "hasDynamicHelp": false,
3081
- "multiple": false,
3082
- "type": "option"
3083
- },
3084
- "type": {
3085
- "description": "Bot type",
3086
- "name": "type",
3087
- "required": true,
3088
- "hasDynamicHelp": false,
3089
- "multiple": false,
3090
- "options": [
3091
- "keyword",
3092
- "schedule",
3093
- "event",
3094
- "ai"
3095
- ],
3096
- "type": "option"
3097
- },
3098
- "message": {
3099
- "description": "Bot message content",
3100
- "name": "message",
3221
+ "page": {
3222
+ "description": "Page number",
3223
+ "name": "page",
3224
+ "default": 1,
3101
3225
  "hasDynamicHelp": false,
3102
3226
  "multiple": false,
3103
3227
  "type": "option"
3104
3228
  },
3105
- "response": {
3106
- "description": "Alias for --message",
3107
- "name": "response",
3229
+ "limit": {
3230
+ "description": "Items per page",
3231
+ "name": "limit",
3232
+ "default": 20,
3108
3233
  "hasDynamicHelp": false,
3109
3234
  "multiple": false,
3110
3235
  "type": "option"
3111
3236
  },
3112
- "color": {
3113
- "description": "Bot color as HEX",
3114
- "name": "color",
3237
+ "status": {
3238
+ "description": "Filter by channel status",
3239
+ "name": "status",
3115
3240
  "hasDynamicHelp": false,
3116
3241
  "multiple": false,
3117
3242
  "type": "option"
3118
3243
  },
3119
- "tags": {
3120
- "description": "Comma-separated tags",
3121
- "name": "tags",
3244
+ "gateway-type": {
3245
+ "description": "Filter by gateway type ID",
3246
+ "name": "gateway-type",
3122
3247
  "hasDynamicHelp": false,
3123
3248
  "multiple": false,
3124
3249
  "type": "option"
3125
3250
  },
3126
- "data": {
3127
- "description": "Additional JSON object payload",
3128
- "name": "data",
3251
+ "search": {
3252
+ "description": "Search by channel name",
3253
+ "name": "search",
3129
3254
  "hasDynamicHelp": false,
3130
3255
  "multiple": false,
3131
3256
  "type": "option"
@@ -3133,7 +3258,7 @@
3133
3258
  },
3134
3259
  "hasDynamicHelp": false,
3135
3260
  "hiddenAliases": [],
3136
- "id": "bots:create",
3261
+ "id": "channels:list",
3137
3262
  "pluginAlias": "@instantkom/cli",
3138
3263
  "pluginName": "@instantkom/cli",
3139
3264
  "pluginType": "core",
@@ -3143,20 +3268,20 @@
3143
3268
  "relativePath": [
3144
3269
  "dist",
3145
3270
  "commands",
3146
- "bots",
3147
- "create.js"
3271
+ "channels",
3272
+ "list.js"
3148
3273
  ]
3149
3274
  },
3150
- "bots:delete": {
3275
+ "channels:update": {
3151
3276
  "aliases": [],
3152
3277
  "args": {
3153
3278
  "id": {
3154
- "description": "Bot ID",
3279
+ "description": "Channel ID",
3155
3280
  "name": "id",
3156
3281
  "required": true
3157
3282
  }
3158
3283
  },
3159
- "description": "Delete a bot",
3284
+ "description": "Update a channel",
3160
3285
  "flags": {
3161
3286
  "api-key": {
3162
3287
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3219,11 +3344,39 @@
3219
3344
  "hasDynamicHelp": false,
3220
3345
  "multiple": false,
3221
3346
  "type": "option"
3347
+ },
3348
+ "name": {
3349
+ "description": "Channel name",
3350
+ "name": "name",
3351
+ "hasDynamicHelp": false,
3352
+ "multiple": false,
3353
+ "type": "option"
3354
+ },
3355
+ "status": {
3356
+ "description": "Channel lifecycle status",
3357
+ "name": "status",
3358
+ "hasDynamicHelp": false,
3359
+ "multiple": false,
3360
+ "type": "option"
3361
+ },
3362
+ "description": {
3363
+ "description": "Channel description",
3364
+ "name": "description",
3365
+ "hasDynamicHelp": false,
3366
+ "multiple": false,
3367
+ "type": "option"
3368
+ },
3369
+ "data": {
3370
+ "description": "Additional JSON object payload",
3371
+ "name": "data",
3372
+ "hasDynamicHelp": false,
3373
+ "multiple": false,
3374
+ "type": "option"
3222
3375
  }
3223
3376
  },
3224
3377
  "hasDynamicHelp": false,
3225
3378
  "hiddenAliases": [],
3226
- "id": "bots:delete",
3379
+ "id": "channels:update",
3227
3380
  "pluginAlias": "@instantkom/cli",
3228
3381
  "pluginName": "@instantkom/cli",
3229
3382
  "pluginType": "core",
@@ -3233,20 +3386,20 @@
3233
3386
  "relativePath": [
3234
3387
  "dist",
3235
3388
  "commands",
3236
- "bots",
3237
- "delete.js"
3389
+ "channels",
3390
+ "update.js"
3238
3391
  ]
3239
3392
  },
3240
- "bots:get": {
3393
+ "chats:get": {
3241
3394
  "aliases": [],
3242
3395
  "args": {
3243
3396
  "id": {
3244
- "description": "Bot ID",
3397
+ "description": "chat ID",
3245
3398
  "name": "id",
3246
3399
  "required": true
3247
3400
  }
3248
3401
  },
3249
- "description": "Get a bot by ID",
3402
+ "description": "Get chat by ID",
3250
3403
  "flags": {
3251
3404
  "api-key": {
3252
3405
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3313,7 +3466,7 @@
3313
3466
  },
3314
3467
  "hasDynamicHelp": false,
3315
3468
  "hiddenAliases": [],
3316
- "id": "bots:get",
3469
+ "id": "chats:get",
3317
3470
  "pluginAlias": "@instantkom/cli",
3318
3471
  "pluginName": "@instantkom/cli",
3319
3472
  "pluginType": "core",
@@ -3323,14 +3476,14 @@
3323
3476
  "relativePath": [
3324
3477
  "dist",
3325
3478
  "commands",
3326
- "bots",
3479
+ "chats",
3327
3480
  "get.js"
3328
3481
  ]
3329
3482
  },
3330
- "bots:list": {
3483
+ "chats:list": {
3331
3484
  "aliases": [],
3332
3485
  "args": {},
3333
- "description": "List bots",
3486
+ "description": "List chats",
3334
3487
  "flags": {
3335
3488
  "api-key": {
3336
3489
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3417,155 +3570,49 @@
3417
3570
  "multiple": false,
3418
3571
  "type": "option"
3419
3572
  },
3420
- "type": {
3421
- "description": "Filter by bot type",
3422
- "name": "type",
3573
+ "channels": {
3574
+ "description": "Comma-separated channel IDs",
3575
+ "name": "channels",
3423
3576
  "hasDynamicHelp": false,
3424
3577
  "multiple": false,
3425
3578
  "type": "option"
3426
3579
  },
3427
3580
  "search": {
3428
- "description": "Search in bot name or message",
3581
+ "description": "Search chats",
3429
3582
  "name": "search",
3430
3583
  "hasDynamicHelp": false,
3431
3584
  "multiple": false,
3432
3585
  "type": "option"
3433
3586
  },
3434
- "tags": {
3435
- "description": "Comma-separated tag IDs",
3436
- "name": "tags",
3437
- "hasDynamicHelp": false,
3438
- "multiple": false,
3439
- "type": "option"
3440
- },
3441
- "tag-match": {
3442
- "description": "Tag match mode",
3443
- "name": "tag-match",
3444
- "hasDynamicHelp": false,
3445
- "multiple": false,
3446
- "options": [
3447
- "any",
3448
- "all"
3449
- ],
3450
- "type": "option"
3451
- }
3452
- },
3453
- "hasDynamicHelp": false,
3454
- "hiddenAliases": [],
3455
- "id": "bots:list",
3456
- "pluginAlias": "@instantkom/cli",
3457
- "pluginName": "@instantkom/cli",
3458
- "pluginType": "core",
3459
- "strict": true,
3460
- "enableJsonFlag": false,
3461
- "isESM": true,
3462
- "relativePath": [
3463
- "dist",
3464
- "commands",
3465
- "bots",
3466
- "list.js"
3467
- ]
3468
- },
3469
- "bots:matches": {
3470
- "aliases": [],
3471
- "args": {
3472
- "id": {
3473
- "description": "Bot ID",
3474
- "name": "id",
3475
- "required": true
3476
- }
3477
- },
3478
- "description": "List bot match history",
3479
- "flags": {
3480
- "api-key": {
3481
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
3482
- "env": "IKM_API_KEY",
3483
- "helpGroup": "GLOBAL",
3484
- "name": "api-key",
3485
- "hasDynamicHelp": false,
3486
- "multiple": false,
3487
- "type": "option"
3488
- },
3489
- "format": {
3490
- "description": "Output format: text, json, yaml, or table",
3491
- "helpGroup": "GLOBAL",
3492
- "name": "format",
3493
- "default": "text",
3587
+ "status": {
3588
+ "description": "Chat status",
3589
+ "name": "status",
3494
3590
  "hasDynamicHelp": false,
3495
3591
  "multiple": false,
3496
3592
  "options": [
3497
- "text",
3498
- "json",
3499
- "yaml",
3500
- "table"
3593
+ "all",
3594
+ "unread",
3595
+ "read",
3596
+ "archived"
3501
3597
  ],
3502
3598
  "type": "option"
3503
3599
  },
3504
- "json": {
3505
- "description": "Output in JSON format (alias for --format=json)",
3506
- "helpGroup": "GLOBAL",
3507
- "name": "json",
3508
- "allowNo": false,
3509
- "type": "boolean"
3510
- },
3511
- "quiet": {
3512
- "description": "Suppress all output except errors",
3513
- "helpGroup": "GLOBAL",
3514
- "name": "quiet",
3600
+ "unread-only": {
3601
+ "description": "Only unread chats",
3602
+ "name": "unread-only",
3515
3603
  "allowNo": false,
3516
3604
  "type": "boolean"
3517
3605
  },
3518
- "no-color": {
3519
- "description": "Disable color output",
3520
- "helpGroup": "GLOBAL",
3521
- "name": "no-color",
3606
+ "include-archived": {
3607
+ "description": "Include archived chats",
3608
+ "name": "include-archived",
3522
3609
  "allowNo": false,
3523
3610
  "type": "boolean"
3524
- },
3525
- "profile": {
3526
- "description": "Named configuration profile to use",
3527
- "helpGroup": "GLOBAL",
3528
- "name": "profile",
3529
- "default": "default",
3530
- "hasDynamicHelp": false,
3531
- "multiple": false,
3532
- "type": "option"
3533
- },
3534
- "api-url": {
3535
- "description": "Override the API base URL (e.g. for staging)",
3536
- "helpGroup": "GLOBAL",
3537
- "name": "api-url",
3538
- "hasDynamicHelp": false,
3539
- "multiple": false,
3540
- "type": "option"
3541
- },
3542
- "page": {
3543
- "description": "Page number",
3544
- "name": "page",
3545
- "default": 1,
3546
- "hasDynamicHelp": false,
3547
- "multiple": false,
3548
- "type": "option"
3549
- },
3550
- "limit": {
3551
- "description": "Items per page",
3552
- "name": "limit",
3553
- "default": 50,
3554
- "hasDynamicHelp": false,
3555
- "multiple": false,
3556
- "type": "option"
3557
- },
3558
- "search": {
3559
- "description": "Search in matches",
3560
- "name": "search",
3561
- "hasDynamicHelp": false,
3562
- "multiple": false,
3563
- "type": "option"
3564
3611
  }
3565
3612
  },
3566
3613
  "hasDynamicHelp": false,
3567
3614
  "hiddenAliases": [],
3568
- "id": "bots:matches",
3615
+ "id": "chats:list",
3569
3616
  "pluginAlias": "@instantkom/cli",
3570
3617
  "pluginName": "@instantkom/cli",
3571
3618
  "pluginType": "core",
@@ -3575,20 +3622,20 @@
3575
3622
  "relativePath": [
3576
3623
  "dist",
3577
3624
  "commands",
3578
- "bots",
3579
- "matches.js"
3625
+ "chats",
3626
+ "list.js"
3580
3627
  ]
3581
3628
  },
3582
- "bots:update": {
3629
+ "chats:reply": {
3583
3630
  "aliases": [],
3584
3631
  "args": {
3585
3632
  "id": {
3586
- "description": "Bot ID",
3633
+ "description": "Chat ID",
3587
3634
  "name": "id",
3588
3635
  "required": true
3589
3636
  }
3590
3637
  },
3591
- "description": "Update a bot",
3638
+ "description": "Reply in a chat",
3592
3639
  "flags": {
3593
3640
  "api-key": {
3594
3641
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3652,57 +3699,10 @@
3652
3699
  "multiple": false,
3653
3700
  "type": "option"
3654
3701
  },
3655
- "name": {
3656
- "description": "Bot name",
3657
- "name": "name",
3658
- "hasDynamicHelp": false,
3659
- "multiple": false,
3660
- "type": "option"
3661
- },
3662
- "type": {
3663
- "description": "Bot type",
3664
- "name": "type",
3665
- "hasDynamicHelp": false,
3666
- "multiple": false,
3667
- "options": [
3668
- "keyword",
3669
- "schedule",
3670
- "event",
3671
- "ai"
3672
- ],
3673
- "type": "option"
3674
- },
3675
- "message": {
3676
- "description": "Bot message content",
3677
- "name": "message",
3678
- "hasDynamicHelp": false,
3679
- "multiple": false,
3680
- "type": "option"
3681
- },
3682
- "response": {
3683
- "description": "Alias for --message",
3684
- "name": "response",
3685
- "hasDynamicHelp": false,
3686
- "multiple": false,
3687
- "type": "option"
3688
- },
3689
- "color": {
3690
- "description": "Bot color as HEX",
3691
- "name": "color",
3692
- "hasDynamicHelp": false,
3693
- "multiple": false,
3694
- "type": "option"
3695
- },
3696
- "tags": {
3697
- "description": "Comma-separated tags",
3698
- "name": "tags",
3699
- "hasDynamicHelp": false,
3700
- "multiple": false,
3701
- "type": "option"
3702
- },
3703
- "data": {
3704
- "description": "Additional JSON object payload",
3705
- "name": "data",
3702
+ "text": {
3703
+ "description": "Reply text",
3704
+ "name": "text",
3705
+ "required": true,
3706
3706
  "hasDynamicHelp": false,
3707
3707
  "multiple": false,
3708
3708
  "type": "option"
@@ -3710,7 +3710,7 @@
3710
3710
  },
3711
3711
  "hasDynamicHelp": false,
3712
3712
  "hiddenAliases": [],
3713
- "id": "bots:update",
3713
+ "id": "chats:reply",
3714
3714
  "pluginAlias": "@instantkom/cli",
3715
3715
  "pluginName": "@instantkom/cli",
3716
3716
  "pluginType": "core",
@@ -3720,8 +3720,8 @@
3720
3720
  "relativePath": [
3721
3721
  "dist",
3722
3722
  "commands",
3723
- "bots",
3724
- "update.js"
3723
+ "chats",
3724
+ "reply.js"
3725
3725
  ]
3726
3726
  },
3727
3727
  "config:get": {
@@ -8150,10 +8150,10 @@
8150
8150
  "update.js"
8151
8151
  ]
8152
8152
  },
8153
- "tags:create": {
8153
+ "team:create": {
8154
8154
  "aliases": [],
8155
8155
  "args": {},
8156
- "description": "Create a tag",
8156
+ "description": "Create a team member",
8157
8157
  "flags": {
8158
8158
  "api-key": {
8159
8159
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8209,31 +8209,62 @@
8209
8209
  "multiple": false,
8210
8210
  "type": "option"
8211
8211
  },
8212
- "api-url": {
8213
- "description": "Override the API base URL (e.g. for staging)",
8214
- "helpGroup": "GLOBAL",
8215
- "name": "api-url",
8212
+ "api-url": {
8213
+ "description": "Override the API base URL (e.g. for staging)",
8214
+ "helpGroup": "GLOBAL",
8215
+ "name": "api-url",
8216
+ "hasDynamicHelp": false,
8217
+ "multiple": false,
8218
+ "type": "option"
8219
+ },
8220
+ "email": {
8221
+ "description": "Email address",
8222
+ "name": "email",
8223
+ "required": true,
8224
+ "hasDynamicHelp": false,
8225
+ "multiple": false,
8226
+ "type": "option"
8227
+ },
8228
+ "first-name": {
8229
+ "description": "First name",
8230
+ "name": "first-name",
8231
+ "required": true,
8232
+ "hasDynamicHelp": false,
8233
+ "multiple": false,
8234
+ "type": "option"
8235
+ },
8236
+ "last-name": {
8237
+ "description": "Last name",
8238
+ "name": "last-name",
8239
+ "required": true,
8216
8240
  "hasDynamicHelp": false,
8217
8241
  "multiple": false,
8218
8242
  "type": "option"
8219
8243
  },
8220
- "name": {
8221
- "description": "Tag name",
8222
- "name": "name",
8244
+ "password": {
8245
+ "description": "Initial password",
8246
+ "name": "password",
8223
8247
  "required": true,
8224
8248
  "hasDynamicHelp": false,
8225
8249
  "multiple": false,
8226
8250
  "type": "option"
8227
8251
  },
8228
- "description": {
8229
- "description": "Tag description",
8230
- "name": "description",
8252
+ "phone": {
8253
+ "description": "Phone number",
8254
+ "name": "phone",
8255
+ "hasDynamicHelp": false,
8256
+ "multiple": false,
8257
+ "type": "option"
8258
+ },
8259
+ "company": {
8260
+ "description": "Company name",
8261
+ "name": "company",
8231
8262
  "hasDynamicHelp": false,
8232
8263
  "multiple": false,
8233
8264
  "type": "option"
8234
8265
  },
8235
8266
  "color": {
8236
- "description": "Tag color as HEX",
8267
+ "description": "Color as HEX",
8237
8268
  "name": "color",
8238
8269
  "hasDynamicHelp": false,
8239
8270
  "multiple": false,
@@ -8256,7 +8287,7 @@
8256
8287
  },
8257
8288
  "hasDynamicHelp": false,
8258
8289
  "hiddenAliases": [],
8259
- "id": "tags:create",
8290
+ "id": "team:create",
8260
8291
  "pluginAlias": "@instantkom/cli",
8261
8292
  "pluginName": "@instantkom/cli",
8262
8293
  "pluginType": "core",
@@ -8266,20 +8297,20 @@
8266
8297
  "relativePath": [
8267
8298
  "dist",
8268
8299
  "commands",
8269
- "tags",
8300
+ "team",
8270
8301
  "create.js"
8271
8302
  ]
8272
8303
  },
8273
- "tags:delete": {
8304
+ "team:delete": {
8274
8305
  "aliases": [],
8275
8306
  "args": {
8276
8307
  "id": {
8277
- "description": "tag ID",
8308
+ "description": "Team member ID",
8278
8309
  "name": "id",
8279
8310
  "required": true
8280
8311
  }
8281
8312
  },
8282
- "description": "Delete tag",
8313
+ "description": "Delete a team member",
8283
8314
  "flags": {
8284
8315
  "api-key": {
8285
8316
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8346,7 +8377,7 @@
8346
8377
  },
8347
8378
  "hasDynamicHelp": false,
8348
8379
  "hiddenAliases": [],
8349
- "id": "tags:delete",
8380
+ "id": "team:delete",
8350
8381
  "pluginAlias": "@instantkom/cli",
8351
8382
  "pluginName": "@instantkom/cli",
8352
8383
  "pluginType": "core",
@@ -8356,14 +8387,14 @@
8356
8387
  "relativePath": [
8357
8388
  "dist",
8358
8389
  "commands",
8359
- "tags",
8390
+ "team",
8360
8391
  "delete.js"
8361
8392
  ]
8362
8393
  },
8363
- "tags:export": {
8394
+ "team:list": {
8364
8395
  "aliases": [],
8365
8396
  "args": {},
8366
- "description": "Export tags to a file",
8397
+ "description": "List team members",
8367
8398
  "flags": {
8368
8399
  "api-key": {
8369
8400
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8375,14 +8406,17 @@
8375
8406
  "type": "option"
8376
8407
  },
8377
8408
  "format": {
8378
- "description": "Export format",
8409
+ "description": "Output format: text, json, yaml, or table",
8410
+ "helpGroup": "GLOBAL",
8379
8411
  "name": "format",
8380
- "default": "csv",
8412
+ "default": "text",
8381
8413
  "hasDynamicHelp": false,
8382
8414
  "multiple": false,
8383
8415
  "options": [
8384
- "csv",
8385
- "json"
8416
+ "text",
8417
+ "json",
8418
+ "yaml",
8419
+ "table"
8386
8420
  ],
8387
8421
  "type": "option"
8388
8422
  },
@@ -8423,19 +8457,11 @@
8423
8457
  "hasDynamicHelp": false,
8424
8458
  "multiple": false,
8425
8459
  "type": "option"
8426
- },
8427
- "file": {
8428
- "description": "Output file path",
8429
- "name": "file",
8430
- "required": true,
8431
- "hasDynamicHelp": false,
8432
- "multiple": false,
8433
- "type": "option"
8434
8460
  }
8435
8461
  },
8436
8462
  "hasDynamicHelp": false,
8437
8463
  "hiddenAliases": [],
8438
- "id": "tags:export",
8464
+ "id": "team:list",
8439
8465
  "pluginAlias": "@instantkom/cli",
8440
8466
  "pluginName": "@instantkom/cli",
8441
8467
  "pluginType": "core",
@@ -8445,20 +8471,14 @@
8445
8471
  "relativePath": [
8446
8472
  "dist",
8447
8473
  "commands",
8448
- "tags",
8449
- "export.js"
8474
+ "team",
8475
+ "list.js"
8450
8476
  ]
8451
8477
  },
8452
- "tags:get": {
8478
+ "tags:create": {
8453
8479
  "aliases": [],
8454
- "args": {
8455
- "id": {
8456
- "description": "tag ID",
8457
- "name": "id",
8458
- "required": true
8459
- }
8460
- },
8461
- "description": "Get tag by ID",
8480
+ "args": {},
8481
+ "description": "Create a tag",
8462
8482
  "flags": {
8463
8483
  "api-key": {
8464
8484
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8521,11 +8541,47 @@
8521
8541
  "hasDynamicHelp": false,
8522
8542
  "multiple": false,
8523
8543
  "type": "option"
8544
+ },
8545
+ "name": {
8546
+ "description": "Tag name",
8547
+ "name": "name",
8548
+ "required": true,
8549
+ "hasDynamicHelp": false,
8550
+ "multiple": false,
8551
+ "type": "option"
8552
+ },
8553
+ "description": {
8554
+ "description": "Tag description",
8555
+ "name": "description",
8556
+ "hasDynamicHelp": false,
8557
+ "multiple": false,
8558
+ "type": "option"
8559
+ },
8560
+ "color": {
8561
+ "description": "Tag color as HEX",
8562
+ "name": "color",
8563
+ "hasDynamicHelp": false,
8564
+ "multiple": false,
8565
+ "type": "option"
8566
+ },
8567
+ "folder": {
8568
+ "description": "Object folder ID",
8569
+ "name": "folder",
8570
+ "hasDynamicHelp": false,
8571
+ "multiple": false,
8572
+ "type": "option"
8573
+ },
8574
+ "data": {
8575
+ "description": "Additional JSON object payload",
8576
+ "name": "data",
8577
+ "hasDynamicHelp": false,
8578
+ "multiple": false,
8579
+ "type": "option"
8524
8580
  }
8525
8581
  },
8526
8582
  "hasDynamicHelp": false,
8527
8583
  "hiddenAliases": [],
8528
- "id": "tags:get",
8584
+ "id": "tags:create",
8529
8585
  "pluginAlias": "@instantkom/cli",
8530
8586
  "pluginName": "@instantkom/cli",
8531
8587
  "pluginType": "core",
@@ -8536,13 +8592,19 @@
8536
8592
  "dist",
8537
8593
  "commands",
8538
8594
  "tags",
8539
- "get.js"
8595
+ "create.js"
8540
8596
  ]
8541
8597
  },
8542
- "tags:import": {
8598
+ "tags:delete": {
8543
8599
  "aliases": [],
8544
- "args": {},
8545
- "description": "Import tags from JSON",
8600
+ "args": {
8601
+ "id": {
8602
+ "description": "tag ID",
8603
+ "name": "id",
8604
+ "required": true
8605
+ }
8606
+ },
8607
+ "description": "Delete tag",
8546
8608
  "flags": {
8547
8609
  "api-key": {
8548
8610
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8605,25 +8667,11 @@
8605
8667
  "hasDynamicHelp": false,
8606
8668
  "multiple": false,
8607
8669
  "type": "option"
8608
- },
8609
- "file": {
8610
- "description": "JSON file path",
8611
- "name": "file",
8612
- "required": true,
8613
- "hasDynamicHelp": false,
8614
- "multiple": false,
8615
- "type": "option"
8616
- },
8617
- "skip-duplicates": {
8618
- "description": "Skip duplicate tags",
8619
- "name": "skip-duplicates",
8620
- "allowNo": true,
8621
- "type": "boolean"
8622
8670
  }
8623
8671
  },
8624
8672
  "hasDynamicHelp": false,
8625
8673
  "hiddenAliases": [],
8626
- "id": "tags:import",
8674
+ "id": "tags:delete",
8627
8675
  "pluginAlias": "@instantkom/cli",
8628
8676
  "pluginName": "@instantkom/cli",
8629
8677
  "pluginType": "core",
@@ -8634,13 +8682,13 @@
8634
8682
  "dist",
8635
8683
  "commands",
8636
8684
  "tags",
8637
- "import.js"
8685
+ "delete.js"
8638
8686
  ]
8639
8687
  },
8640
- "tags:list": {
8688
+ "tags:export": {
8641
8689
  "aliases": [],
8642
8690
  "args": {},
8643
- "description": "List tags",
8691
+ "description": "Export tags to a file",
8644
8692
  "flags": {
8645
8693
  "api-key": {
8646
8694
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8652,17 +8700,14 @@
8652
8700
  "type": "option"
8653
8701
  },
8654
8702
  "format": {
8655
- "description": "Output format: text, json, yaml, or table",
8656
- "helpGroup": "GLOBAL",
8703
+ "description": "Export format",
8657
8704
  "name": "format",
8658
- "default": "text",
8705
+ "default": "csv",
8659
8706
  "hasDynamicHelp": false,
8660
8707
  "multiple": false,
8661
8708
  "options": [
8662
- "text",
8663
- "json",
8664
- "yaml",
8665
- "table"
8709
+ "csv",
8710
+ "json"
8666
8711
  ],
8667
8712
  "type": "option"
8668
8713
  },
@@ -8704,32 +8749,10 @@
8704
8749
  "multiple": false,
8705
8750
  "type": "option"
8706
8751
  },
8707
- "page": {
8708
- "description": "Page number",
8709
- "name": "page",
8710
- "default": 1,
8711
- "hasDynamicHelp": false,
8712
- "multiple": false,
8713
- "type": "option"
8714
- },
8715
- "limit": {
8716
- "description": "Items per page",
8717
- "name": "limit",
8718
- "default": 20,
8719
- "hasDynamicHelp": false,
8720
- "multiple": false,
8721
- "type": "option"
8722
- },
8723
- "search": {
8724
- "description": "Search by name",
8725
- "name": "search",
8726
- "hasDynamicHelp": false,
8727
- "multiple": false,
8728
- "type": "option"
8729
- },
8730
- "color": {
8731
- "description": "Filter by color",
8732
- "name": "color",
8752
+ "file": {
8753
+ "description": "Output file path",
8754
+ "name": "file",
8755
+ "required": true,
8733
8756
  "hasDynamicHelp": false,
8734
8757
  "multiple": false,
8735
8758
  "type": "option"
@@ -8737,7 +8760,7 @@
8737
8760
  },
8738
8761
  "hasDynamicHelp": false,
8739
8762
  "hiddenAliases": [],
8740
- "id": "tags:list",
8763
+ "id": "tags:export",
8741
8764
  "pluginAlias": "@instantkom/cli",
8742
8765
  "pluginName": "@instantkom/cli",
8743
8766
  "pluginType": "core",
@@ -8748,19 +8771,19 @@
8748
8771
  "dist",
8749
8772
  "commands",
8750
8773
  "tags",
8751
- "list.js"
8774
+ "export.js"
8752
8775
  ]
8753
8776
  },
8754
- "tags:update": {
8777
+ "tags:get": {
8755
8778
  "aliases": [],
8756
8779
  "args": {
8757
8780
  "id": {
8758
- "description": "Tag ID",
8781
+ "description": "tag ID",
8759
8782
  "name": "id",
8760
8783
  "required": true
8761
8784
  }
8762
8785
  },
8763
- "description": "Update a tag",
8786
+ "description": "Get tag by ID",
8764
8787
  "flags": {
8765
8788
  "api-key": {
8766
8789
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8803,58 +8826,23 @@
8803
8826
  "no-color": {
8804
8827
  "description": "Disable color output",
8805
8828
  "helpGroup": "GLOBAL",
8806
- "name": "no-color",
8807
- "allowNo": false,
8808
- "type": "boolean"
8809
- },
8810
- "profile": {
8811
- "description": "Named configuration profile to use",
8812
- "helpGroup": "GLOBAL",
8813
- "name": "profile",
8814
- "default": "default",
8815
- "hasDynamicHelp": false,
8816
- "multiple": false,
8817
- "type": "option"
8818
- },
8819
- "api-url": {
8820
- "description": "Override the API base URL (e.g. for staging)",
8821
- "helpGroup": "GLOBAL",
8822
- "name": "api-url",
8823
- "hasDynamicHelp": false,
8824
- "multiple": false,
8825
- "type": "option"
8826
- },
8827
- "name": {
8828
- "description": "Tag name",
8829
- "name": "name",
8830
- "hasDynamicHelp": false,
8831
- "multiple": false,
8832
- "type": "option"
8833
- },
8834
- "description": {
8835
- "description": "Tag description",
8836
- "name": "description",
8837
- "hasDynamicHelp": false,
8838
- "multiple": false,
8839
- "type": "option"
8840
- },
8841
- "color": {
8842
- "description": "Tag color as HEX",
8843
- "name": "color",
8844
- "hasDynamicHelp": false,
8845
- "multiple": false,
8846
- "type": "option"
8829
+ "name": "no-color",
8830
+ "allowNo": false,
8831
+ "type": "boolean"
8847
8832
  },
8848
- "folder": {
8849
- "description": "Object folder ID",
8850
- "name": "folder",
8833
+ "profile": {
8834
+ "description": "Named configuration profile to use",
8835
+ "helpGroup": "GLOBAL",
8836
+ "name": "profile",
8837
+ "default": "default",
8851
8838
  "hasDynamicHelp": false,
8852
8839
  "multiple": false,
8853
8840
  "type": "option"
8854
8841
  },
8855
- "data": {
8856
- "description": "Additional JSON object payload",
8857
- "name": "data",
8842
+ "api-url": {
8843
+ "description": "Override the API base URL (e.g. for staging)",
8844
+ "helpGroup": "GLOBAL",
8845
+ "name": "api-url",
8858
8846
  "hasDynamicHelp": false,
8859
8847
  "multiple": false,
8860
8848
  "type": "option"
@@ -8862,7 +8850,7 @@
8862
8850
  },
8863
8851
  "hasDynamicHelp": false,
8864
8852
  "hiddenAliases": [],
8865
- "id": "tags:update",
8853
+ "id": "tags:get",
8866
8854
  "pluginAlias": "@instantkom/cli",
8867
8855
  "pluginName": "@instantkom/cli",
8868
8856
  "pluginType": "core",
@@ -8873,13 +8861,13 @@
8873
8861
  "dist",
8874
8862
  "commands",
8875
8863
  "tags",
8876
- "update.js"
8864
+ "get.js"
8877
8865
  ]
8878
8866
  },
8879
- "tags:validate-import": {
8867
+ "tags:import": {
8880
8868
  "aliases": [],
8881
8869
  "args": {},
8882
- "description": "Validate tags import JSON",
8870
+ "description": "Import tags from JSON",
8883
8871
  "flags": {
8884
8872
  "api-key": {
8885
8873
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8950,11 +8938,17 @@
8950
8938
  "hasDynamicHelp": false,
8951
8939
  "multiple": false,
8952
8940
  "type": "option"
8941
+ },
8942
+ "skip-duplicates": {
8943
+ "description": "Skip duplicate tags",
8944
+ "name": "skip-duplicates",
8945
+ "allowNo": true,
8946
+ "type": "boolean"
8953
8947
  }
8954
8948
  },
8955
8949
  "hasDynamicHelp": false,
8956
8950
  "hiddenAliases": [],
8957
- "id": "tags:validate-import",
8951
+ "id": "tags:import",
8958
8952
  "pluginAlias": "@instantkom/cli",
8959
8953
  "pluginName": "@instantkom/cli",
8960
8954
  "pluginType": "core",
@@ -8965,13 +8959,13 @@
8965
8959
  "dist",
8966
8960
  "commands",
8967
8961
  "tags",
8968
- "validate-import.js"
8962
+ "import.js"
8969
8963
  ]
8970
8964
  },
8971
- "team:create": {
8965
+ "tags:list": {
8972
8966
  "aliases": [],
8973
8967
  "args": {},
8974
- "description": "Create a team member",
8968
+ "description": "List tags",
8975
8969
  "flags": {
8976
8970
  "api-key": {
8977
8971
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9035,77 +9029,40 @@
9035
9029
  "multiple": false,
9036
9030
  "type": "option"
9037
9031
  },
9038
- "email": {
9039
- "description": "Email address",
9040
- "name": "email",
9041
- "required": true,
9042
- "hasDynamicHelp": false,
9043
- "multiple": false,
9044
- "type": "option"
9045
- },
9046
- "first-name": {
9047
- "description": "First name",
9048
- "name": "first-name",
9049
- "required": true,
9050
- "hasDynamicHelp": false,
9051
- "multiple": false,
9052
- "type": "option"
9053
- },
9054
- "last-name": {
9055
- "description": "Last name",
9056
- "name": "last-name",
9057
- "required": true,
9058
- "hasDynamicHelp": false,
9059
- "multiple": false,
9060
- "type": "option"
9061
- },
9062
- "password": {
9063
- "description": "Initial password",
9064
- "name": "password",
9065
- "required": true,
9032
+ "page": {
9033
+ "description": "Page number",
9034
+ "name": "page",
9035
+ "default": 1,
9066
9036
  "hasDynamicHelp": false,
9067
9037
  "multiple": false,
9068
9038
  "type": "option"
9069
9039
  },
9070
- "phone": {
9071
- "description": "Phone number",
9072
- "name": "phone",
9040
+ "limit": {
9041
+ "description": "Items per page",
9042
+ "name": "limit",
9043
+ "default": 20,
9073
9044
  "hasDynamicHelp": false,
9074
9045
  "multiple": false,
9075
9046
  "type": "option"
9076
9047
  },
9077
- "company": {
9078
- "description": "Company name",
9079
- "name": "company",
9048
+ "search": {
9049
+ "description": "Search by name",
9050
+ "name": "search",
9080
9051
  "hasDynamicHelp": false,
9081
9052
  "multiple": false,
9082
9053
  "type": "option"
9083
9054
  },
9084
9055
  "color": {
9085
- "description": "Color as HEX",
9056
+ "description": "Filter by color",
9086
9057
  "name": "color",
9087
9058
  "hasDynamicHelp": false,
9088
9059
  "multiple": false,
9089
9060
  "type": "option"
9090
- },
9091
- "folder": {
9092
- "description": "Object folder ID",
9093
- "name": "folder",
9094
- "hasDynamicHelp": false,
9095
- "multiple": false,
9096
- "type": "option"
9097
- },
9098
- "data": {
9099
- "description": "Additional JSON object payload",
9100
- "name": "data",
9101
- "hasDynamicHelp": false,
9102
- "multiple": false,
9103
- "type": "option"
9104
9061
  }
9105
9062
  },
9106
9063
  "hasDynamicHelp": false,
9107
9064
  "hiddenAliases": [],
9108
- "id": "team:create",
9065
+ "id": "tags:list",
9109
9066
  "pluginAlias": "@instantkom/cli",
9110
9067
  "pluginName": "@instantkom/cli",
9111
9068
  "pluginType": "core",
@@ -9115,20 +9072,20 @@
9115
9072
  "relativePath": [
9116
9073
  "dist",
9117
9074
  "commands",
9118
- "team",
9119
- "create.js"
9075
+ "tags",
9076
+ "list.js"
9120
9077
  ]
9121
9078
  },
9122
- "team:delete": {
9079
+ "tags:update": {
9123
9080
  "aliases": [],
9124
9081
  "args": {
9125
9082
  "id": {
9126
- "description": "Team member ID",
9083
+ "description": "Tag ID",
9127
9084
  "name": "id",
9128
9085
  "required": true
9129
9086
  }
9130
9087
  },
9131
- "description": "Delete a team member",
9088
+ "description": "Update a tag",
9132
9089
  "flags": {
9133
9090
  "api-key": {
9134
9091
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9191,11 +9148,46 @@
9191
9148
  "hasDynamicHelp": false,
9192
9149
  "multiple": false,
9193
9150
  "type": "option"
9151
+ },
9152
+ "name": {
9153
+ "description": "Tag name",
9154
+ "name": "name",
9155
+ "hasDynamicHelp": false,
9156
+ "multiple": false,
9157
+ "type": "option"
9158
+ },
9159
+ "description": {
9160
+ "description": "Tag description",
9161
+ "name": "description",
9162
+ "hasDynamicHelp": false,
9163
+ "multiple": false,
9164
+ "type": "option"
9165
+ },
9166
+ "color": {
9167
+ "description": "Tag color as HEX",
9168
+ "name": "color",
9169
+ "hasDynamicHelp": false,
9170
+ "multiple": false,
9171
+ "type": "option"
9172
+ },
9173
+ "folder": {
9174
+ "description": "Object folder ID",
9175
+ "name": "folder",
9176
+ "hasDynamicHelp": false,
9177
+ "multiple": false,
9178
+ "type": "option"
9179
+ },
9180
+ "data": {
9181
+ "description": "Additional JSON object payload",
9182
+ "name": "data",
9183
+ "hasDynamicHelp": false,
9184
+ "multiple": false,
9185
+ "type": "option"
9194
9186
  }
9195
9187
  },
9196
9188
  "hasDynamicHelp": false,
9197
9189
  "hiddenAliases": [],
9198
- "id": "team:delete",
9190
+ "id": "tags:update",
9199
9191
  "pluginAlias": "@instantkom/cli",
9200
9192
  "pluginName": "@instantkom/cli",
9201
9193
  "pluginType": "core",
@@ -9205,14 +9197,14 @@
9205
9197
  "relativePath": [
9206
9198
  "dist",
9207
9199
  "commands",
9208
- "team",
9209
- "delete.js"
9200
+ "tags",
9201
+ "update.js"
9210
9202
  ]
9211
9203
  },
9212
- "team:list": {
9204
+ "tags:validate-import": {
9213
9205
  "aliases": [],
9214
9206
  "args": {},
9215
- "description": "List team members",
9207
+ "description": "Validate tags import JSON",
9216
9208
  "flags": {
9217
9209
  "api-key": {
9218
9210
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9275,11 +9267,19 @@
9275
9267
  "hasDynamicHelp": false,
9276
9268
  "multiple": false,
9277
9269
  "type": "option"
9270
+ },
9271
+ "file": {
9272
+ "description": "JSON file path",
9273
+ "name": "file",
9274
+ "required": true,
9275
+ "hasDynamicHelp": false,
9276
+ "multiple": false,
9277
+ "type": "option"
9278
9278
  }
9279
9279
  },
9280
9280
  "hasDynamicHelp": false,
9281
9281
  "hiddenAliases": [],
9282
- "id": "team:list",
9282
+ "id": "tags:validate-import",
9283
9283
  "pluginAlias": "@instantkom/cli",
9284
9284
  "pluginName": "@instantkom/cli",
9285
9285
  "pluginType": "core",
@@ -9289,8 +9289,8 @@
9289
9289
  "relativePath": [
9290
9290
  "dist",
9291
9291
  "commands",
9292
- "team",
9293
- "list.js"
9292
+ "tags",
9293
+ "validate-import.js"
9294
9294
  ]
9295
9295
  },
9296
9296
  "templates:create": {
@@ -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",
10947
+ "channel": {
10948
+ "description": "Channel ID",
10949
+ "name": "channel",
10843
10950
  "required": true,
10844
10951
  "hasDynamicHelp": false,
10845
10952
  "multiple": false,
10846
10953
  "type": "option"
10847
10954
  },
10848
- "event": {
10849
- "description": "Event name",
10850
- "name": "event",
10851
- "default": "cli.test",
10955
+ "subject": {
10956
+ "description": "Ticket subject",
10957
+ "name": "subject",
10852
10958
  "hasDynamicHelp": false,
10853
10959
  "multiple": false,
10854
10960
  "type": "option"
10855
10961
  },
10856
- "payload": {
10857
- "description": "Payload JSON",
10858
- "name": "payload",
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",
10979
+ "hasDynamicHelp": false,
10980
+ "multiple": false,
10981
+ "type": "option"
10982
+ },
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"
10988
+ },
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,16 @@
11856
11856
  "revoke.js"
11857
11857
  ]
11858
11858
  },
11859
- "bots:env-vars:bots": {
11859
+ "bots:filters:create": {
11860
11860
  "aliases": [],
11861
11861
  "args": {
11862
- "id": {
11863
- "description": "Environment variable ID",
11864
- "name": "id",
11862
+ "botId": {
11863
+ "description": "Bot ID",
11864
+ "name": "botId",
11865
11865
  "required": true
11866
11866
  }
11867
11867
  },
11868
- "description": "List bots using a bot environment variable",
11868
+ "description": "Create a bot filter",
11869
11869
  "flags": {
11870
11870
  "api-key": {
11871
11871
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11928,112 +11928,64 @@
11928
11928
  "hasDynamicHelp": false,
11929
11929
  "multiple": false,
11930
11930
  "type": "option"
11931
- }
11932
- },
11933
- "hasDynamicHelp": false,
11934
- "hiddenAliases": [],
11935
- "id": "bots:env-vars:bots",
11936
- "pluginAlias": "@instantkom/cli",
11937
- "pluginName": "@instantkom/cli",
11938
- "pluginType": "core",
11939
- "strict": true,
11940
- "enableJsonFlag": false,
11941
- "isESM": true,
11942
- "relativePath": [
11943
- "dist",
11944
- "commands",
11945
- "bots",
11946
- "env-vars",
11947
- "bots.js"
11948
- ]
11949
- },
11950
- "bots:env-vars:create": {
11951
- "aliases": [],
11952
- "args": {},
11953
- "description": "Create a bot environment variable",
11954
- "flags": {
11955
- "api-key": {
11956
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
11957
- "env": "IKM_API_KEY",
11958
- "helpGroup": "GLOBAL",
11959
- "name": "api-key",
11931
+ },
11932
+ "name": {
11933
+ "description": "Filter name",
11934
+ "name": "name",
11935
+ "required": true,
11960
11936
  "hasDynamicHelp": false,
11961
11937
  "multiple": false,
11962
11938
  "type": "option"
11963
11939
  },
11964
- "format": {
11965
- "description": "Output format: text, json, yaml, or table",
11966
- "helpGroup": "GLOBAL",
11967
- "name": "format",
11968
- "default": "text",
11940
+ "operator": {
11941
+ "description": "Logical operator",
11942
+ "name": "operator",
11943
+ "default": "and",
11969
11944
  "hasDynamicHelp": false,
11970
11945
  "multiple": false,
11971
- "options": [
11972
- "text",
11973
- "json",
11974
- "yaml",
11975
- "table"
11976
- ],
11977
11946
  "type": "option"
11978
11947
  },
11979
- "json": {
11980
- "description": "Output in JSON format (alias for --format=json)",
11981
- "helpGroup": "GLOBAL",
11982
- "name": "json",
11983
- "allowNo": false,
11984
- "type": "boolean"
11985
- },
11986
- "quiet": {
11987
- "description": "Suppress all output except errors",
11988
- "helpGroup": "GLOBAL",
11989
- "name": "quiet",
11990
- "allowNo": false,
11991
- "type": "boolean"
11992
- },
11993
- "no-color": {
11994
- "description": "Disable color output",
11995
- "helpGroup": "GLOBAL",
11996
- "name": "no-color",
11997
- "allowNo": false,
11998
- "type": "boolean"
11999
- },
12000
- "profile": {
12001
- "description": "Named configuration profile to use",
12002
- "helpGroup": "GLOBAL",
12003
- "name": "profile",
12004
- "default": "default",
11948
+ "filter-object": {
11949
+ "description": "Filter object type",
11950
+ "name": "filter-object",
11951
+ "default": "msg",
12005
11952
  "hasDynamicHelp": false,
12006
11953
  "multiple": false,
12007
11954
  "type": "option"
12008
11955
  },
12009
- "api-url": {
12010
- "description": "Override the API base URL (e.g. for staging)",
12011
- "helpGroup": "GLOBAL",
12012
- "name": "api-url",
11956
+ "filter-attribute": {
11957
+ "description": "Filter attribute",
11958
+ "name": "filter-attribute",
11959
+ "default": "text",
12013
11960
  "hasDynamicHelp": false,
12014
11961
  "multiple": false,
12015
11962
  "type": "option"
12016
- },
12017
- "key": {
12018
- "description": "Variable key (max 16 chars, letters, digits, underscore)",
12019
- "name": "key",
12020
- "required": true,
11963
+ },
11964
+ "filter-comparator": {
11965
+ "description": "Filter comparator",
11966
+ "name": "filter-comparator",
11967
+ "default": "contains",
12021
11968
  "hasDynamicHelp": false,
12022
11969
  "multiple": false,
12023
11970
  "type": "option"
12024
11971
  },
12025
- "description": {
12026
- "description": "Variable description",
12027
- "name": "description",
11972
+ "filter-value": {
11973
+ "description": "Filter value",
11974
+ "name": "filter-value",
11975
+ "required": true,
12028
11976
  "hasDynamicHelp": false,
12029
11977
  "multiple": false,
12030
11978
  "type": "option"
12031
11979
  },
12032
- "color": {
12033
- "description": "Variable color as HEX",
12034
- "name": "color",
11980
+ "status": {
11981
+ "description": "Status: 0 inactive, 1 active",
11982
+ "name": "status",
12035
11983
  "hasDynamicHelp": false,
12036
11984
  "multiple": false,
11985
+ "options": [
11986
+ "0",
11987
+ "1"
11988
+ ],
12037
11989
  "type": "option"
12038
11990
  },
12039
11991
  "data": {
@@ -12046,7 +11998,7 @@
12046
11998
  },
12047
11999
  "hasDynamicHelp": false,
12048
12000
  "hiddenAliases": [],
12049
- "id": "bots:env-vars:create",
12001
+ "id": "bots:filters:create",
12050
12002
  "pluginAlias": "@instantkom/cli",
12051
12003
  "pluginName": "@instantkom/cli",
12052
12004
  "pluginType": "core",
@@ -12057,20 +12009,25 @@
12057
12009
  "dist",
12058
12010
  "commands",
12059
12011
  "bots",
12060
- "env-vars",
12012
+ "filters",
12061
12013
  "create.js"
12062
12014
  ]
12063
12015
  },
12064
- "bots:env-vars:delete": {
12016
+ "bots:filters:delete": {
12065
12017
  "aliases": [],
12066
12018
  "args": {
12067
- "id": {
12068
- "description": "Environment variable ID",
12069
- "name": "id",
12019
+ "botId": {
12020
+ "description": "Bot ID",
12021
+ "name": "botId",
12022
+ "required": true
12023
+ },
12024
+ "filterId": {
12025
+ "description": "Filter ID",
12026
+ "name": "filterId",
12070
12027
  "required": true
12071
12028
  }
12072
12029
  },
12073
- "description": "Delete a bot environment variable",
12030
+ "description": "Delete a bot filter",
12074
12031
  "flags": {
12075
12032
  "api-key": {
12076
12033
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12137,7 +12094,7 @@
12137
12094
  },
12138
12095
  "hasDynamicHelp": false,
12139
12096
  "hiddenAliases": [],
12140
- "id": "bots:env-vars:delete",
12097
+ "id": "bots:filters:delete",
12141
12098
  "pluginAlias": "@instantkom/cli",
12142
12099
  "pluginName": "@instantkom/cli",
12143
12100
  "pluginType": "core",
@@ -12148,20 +12105,25 @@
12148
12105
  "dist",
12149
12106
  "commands",
12150
12107
  "bots",
12151
- "env-vars",
12108
+ "filters",
12152
12109
  "delete.js"
12153
12110
  ]
12154
12111
  },
12155
- "bots:env-vars:get": {
12112
+ "bots:filters:get": {
12156
12113
  "aliases": [],
12157
12114
  "args": {
12158
- "id": {
12159
- "description": "Environment variable ID",
12160
- "name": "id",
12115
+ "botId": {
12116
+ "description": "Bot ID",
12117
+ "name": "botId",
12118
+ "required": true
12119
+ },
12120
+ "filterId": {
12121
+ "description": "Filter ID",
12122
+ "name": "filterId",
12161
12123
  "required": true
12162
12124
  }
12163
12125
  },
12164
- "description": "Get a bot environment variable",
12126
+ "description": "Get a bot filter",
12165
12127
  "flags": {
12166
12128
  "api-key": {
12167
12129
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12228,7 +12190,7 @@
12228
12190
  },
12229
12191
  "hasDynamicHelp": false,
12230
12192
  "hiddenAliases": [],
12231
- "id": "bots:env-vars:get",
12193
+ "id": "bots:filters:get",
12232
12194
  "pluginAlias": "@instantkom/cli",
12233
12195
  "pluginName": "@instantkom/cli",
12234
12196
  "pluginType": "core",
@@ -12239,14 +12201,20 @@
12239
12201
  "dist",
12240
12202
  "commands",
12241
12203
  "bots",
12242
- "env-vars",
12204
+ "filters",
12243
12205
  "get.js"
12244
12206
  ]
12245
12207
  },
12246
- "bots:env-vars:list": {
12208
+ "bots:filters:list": {
12247
12209
  "aliases": [],
12248
- "args": {},
12249
- "description": "List bot environment variables",
12210
+ "args": {
12211
+ "botId": {
12212
+ "description": "Bot ID",
12213
+ "name": "botId",
12214
+ "required": true
12215
+ }
12216
+ },
12217
+ "description": "List bot filters",
12250
12218
  "flags": {
12251
12219
  "api-key": {
12252
12220
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12326,16 +12294,20 @@
12326
12294
  "multiple": false,
12327
12295
  "type": "option"
12328
12296
  },
12329
- "search": {
12330
- "description": "Search in key or description",
12331
- "name": "search",
12297
+ "status": {
12298
+ "description": "Status filter: 0 inactive, 1 active",
12299
+ "name": "status",
12332
12300
  "hasDynamicHelp": false,
12333
12301
  "multiple": false,
12302
+ "options": [
12303
+ "0",
12304
+ "1"
12305
+ ],
12334
12306
  "type": "option"
12335
12307
  },
12336
- "color": {
12337
- "description": "Filter by color",
12338
- "name": "color",
12308
+ "search": {
12309
+ "description": "Search in name or description",
12310
+ "name": "search",
12339
12311
  "hasDynamicHelp": false,
12340
12312
  "multiple": false,
12341
12313
  "type": "option"
@@ -12343,7 +12315,7 @@
12343
12315
  },
12344
12316
  "hasDynamicHelp": false,
12345
12317
  "hiddenAliases": [],
12346
- "id": "bots:env-vars:list",
12318
+ "id": "bots:filters:list",
12347
12319
  "pluginAlias": "@instantkom/cli",
12348
12320
  "pluginName": "@instantkom/cli",
12349
12321
  "pluginType": "core",
@@ -12354,20 +12326,25 @@
12354
12326
  "dist",
12355
12327
  "commands",
12356
12328
  "bots",
12357
- "env-vars",
12329
+ "filters",
12358
12330
  "list.js"
12359
12331
  ]
12360
12332
  },
12361
- "bots:env-vars:update": {
12333
+ "bots:filters:update": {
12362
12334
  "aliases": [],
12363
12335
  "args": {
12364
- "id": {
12365
- "description": "Environment variable ID",
12366
- "name": "id",
12336
+ "botId": {
12337
+ "description": "Bot ID",
12338
+ "name": "botId",
12339
+ "required": true
12340
+ },
12341
+ "filterId": {
12342
+ "description": "Filter ID",
12343
+ "name": "filterId",
12367
12344
  "required": true
12368
12345
  }
12369
12346
  },
12370
- "description": "Update a bot environment variable",
12347
+ "description": "Update a bot filter",
12371
12348
  "flags": {
12372
12349
  "api-key": {
12373
12350
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12431,20 +12408,59 @@
12431
12408
  "multiple": false,
12432
12409
  "type": "option"
12433
12410
  },
12434
- "description": {
12435
- "description": "Variable description",
12436
- "name": "description",
12411
+ "name": {
12412
+ "description": "Filter name",
12413
+ "name": "name",
12437
12414
  "hasDynamicHelp": false,
12438
12415
  "multiple": false,
12439
12416
  "type": "option"
12440
12417
  },
12441
- "color": {
12442
- "description": "Variable color as HEX",
12443
- "name": "color",
12418
+ "operator": {
12419
+ "description": "Logical operator",
12420
+ "name": "operator",
12421
+ "hasDynamicHelp": false,
12422
+ "multiple": false,
12423
+ "type": "option"
12424
+ },
12425
+ "filter-object": {
12426
+ "description": "Filter object type",
12427
+ "name": "filter-object",
12428
+ "hasDynamicHelp": false,
12429
+ "multiple": false,
12430
+ "type": "option"
12431
+ },
12432
+ "filter-attribute": {
12433
+ "description": "Filter attribute",
12434
+ "name": "filter-attribute",
12435
+ "hasDynamicHelp": false,
12436
+ "multiple": false,
12437
+ "type": "option"
12438
+ },
12439
+ "filter-comparator": {
12440
+ "description": "Filter comparator",
12441
+ "name": "filter-comparator",
12444
12442
  "hasDynamicHelp": false,
12445
12443
  "multiple": false,
12446
12444
  "type": "option"
12447
12445
  },
12446
+ "filter-value": {
12447
+ "description": "Filter value",
12448
+ "name": "filter-value",
12449
+ "hasDynamicHelp": false,
12450
+ "multiple": false,
12451
+ "type": "option"
12452
+ },
12453
+ "status": {
12454
+ "description": "Status: 0 inactive, 1 active",
12455
+ "name": "status",
12456
+ "hasDynamicHelp": false,
12457
+ "multiple": false,
12458
+ "options": [
12459
+ "0",
12460
+ "1"
12461
+ ],
12462
+ "type": "option"
12463
+ },
12448
12464
  "data": {
12449
12465
  "description": "Additional JSON object payload",
12450
12466
  "name": "data",
@@ -12455,7 +12471,7 @@
12455
12471
  },
12456
12472
  "hasDynamicHelp": false,
12457
12473
  "hiddenAliases": [],
12458
- "id": "bots:env-vars:update",
12474
+ "id": "bots:filters:update",
12459
12475
  "pluginAlias": "@instantkom/cli",
12460
12476
  "pluginName": "@instantkom/cli",
12461
12477
  "pluginType": "core",
@@ -12466,11 +12482,11 @@
12466
12482
  "dist",
12467
12483
  "commands",
12468
12484
  "bots",
12469
- "env-vars",
12485
+ "filters",
12470
12486
  "update.js"
12471
12487
  ]
12472
12488
  },
12473
- "bots:env-vars:values": {
12489
+ "bots:env-vars:bots": {
12474
12490
  "aliases": [],
12475
12491
  "args": {
12476
12492
  "id": {
@@ -12479,7 +12495,7 @@
12479
12495
  "required": true
12480
12496
  }
12481
12497
  },
12482
- "description": "List recipient values for a bot environment variable",
12498
+ "description": "List bots using a bot environment variable",
12483
12499
  "flags": {
12484
12500
  "api-key": {
12485
12501
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12542,41 +12558,11 @@
12542
12558
  "hasDynamicHelp": false,
12543
12559
  "multiple": false,
12544
12560
  "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
12561
  }
12576
12562
  },
12577
12563
  "hasDynamicHelp": false,
12578
12564
  "hiddenAliases": [],
12579
- "id": "bots:env-vars:values",
12565
+ "id": "bots:env-vars:bots",
12580
12566
  "pluginAlias": "@instantkom/cli",
12581
12567
  "pluginName": "@instantkom/cli",
12582
12568
  "pluginType": "core",
@@ -12588,19 +12574,13 @@
12588
12574
  "commands",
12589
12575
  "bots",
12590
12576
  "env-vars",
12591
- "values.js"
12577
+ "bots.js"
12592
12578
  ]
12593
12579
  },
12594
- "bots:filters:create": {
12580
+ "bots:env-vars:create": {
12595
12581
  "aliases": [],
12596
- "args": {
12597
- "botId": {
12598
- "description": "Bot ID",
12599
- "name": "botId",
12600
- "required": true
12601
- }
12602
- },
12603
- "description": "Create a bot filter",
12582
+ "args": {},
12583
+ "description": "Create a bot environment variable",
12604
12584
  "flags": {
12605
12585
  "api-key": {
12606
12586
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12664,63 +12644,26 @@
12664
12644
  "multiple": false,
12665
12645
  "type": "option"
12666
12646
  },
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",
12647
+ "key": {
12648
+ "description": "Variable key (max 16 chars, letters, digits, underscore)",
12649
+ "name": "key",
12710
12650
  "required": true,
12711
12651
  "hasDynamicHelp": false,
12712
12652
  "multiple": false,
12713
12653
  "type": "option"
12714
12654
  },
12715
- "status": {
12716
- "description": "Status: 0 inactive, 1 active",
12717
- "name": "status",
12655
+ "description": {
12656
+ "description": "Variable description",
12657
+ "name": "description",
12658
+ "hasDynamicHelp": false,
12659
+ "multiple": false,
12660
+ "type": "option"
12661
+ },
12662
+ "color": {
12663
+ "description": "Variable color as HEX",
12664
+ "name": "color",
12718
12665
  "hasDynamicHelp": false,
12719
12666
  "multiple": false,
12720
- "options": [
12721
- "0",
12722
- "1"
12723
- ],
12724
12667
  "type": "option"
12725
12668
  },
12726
12669
  "data": {
@@ -12733,7 +12676,7 @@
12733
12676
  },
12734
12677
  "hasDynamicHelp": false,
12735
12678
  "hiddenAliases": [],
12736
- "id": "bots:filters:create",
12679
+ "id": "bots:env-vars:create",
12737
12680
  "pluginAlias": "@instantkom/cli",
12738
12681
  "pluginName": "@instantkom/cli",
12739
12682
  "pluginType": "core",
@@ -12744,25 +12687,20 @@
12744
12687
  "dist",
12745
12688
  "commands",
12746
12689
  "bots",
12747
- "filters",
12690
+ "env-vars",
12748
12691
  "create.js"
12749
12692
  ]
12750
12693
  },
12751
- "bots:filters:delete": {
12694
+ "bots:env-vars:delete": {
12752
12695
  "aliases": [],
12753
12696
  "args": {
12754
- "botId": {
12755
- "description": "Bot ID",
12756
- "name": "botId",
12757
- "required": true
12758
- },
12759
- "filterId": {
12760
- "description": "Filter ID",
12761
- "name": "filterId",
12697
+ "id": {
12698
+ "description": "Environment variable ID",
12699
+ "name": "id",
12762
12700
  "required": true
12763
12701
  }
12764
12702
  },
12765
- "description": "Delete a bot filter",
12703
+ "description": "Delete a bot environment variable",
12766
12704
  "flags": {
12767
12705
  "api-key": {
12768
12706
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12829,7 +12767,7 @@
12829
12767
  },
12830
12768
  "hasDynamicHelp": false,
12831
12769
  "hiddenAliases": [],
12832
- "id": "bots:filters:delete",
12770
+ "id": "bots:env-vars:delete",
12833
12771
  "pluginAlias": "@instantkom/cli",
12834
12772
  "pluginName": "@instantkom/cli",
12835
12773
  "pluginType": "core",
@@ -12840,25 +12778,20 @@
12840
12778
  "dist",
12841
12779
  "commands",
12842
12780
  "bots",
12843
- "filters",
12781
+ "env-vars",
12844
12782
  "delete.js"
12845
12783
  ]
12846
12784
  },
12847
- "bots:filters:get": {
12785
+ "bots:env-vars:get": {
12848
12786
  "aliases": [],
12849
12787
  "args": {
12850
- "botId": {
12851
- "description": "Bot ID",
12852
- "name": "botId",
12853
- "required": true
12854
- },
12855
- "filterId": {
12856
- "description": "Filter ID",
12857
- "name": "filterId",
12788
+ "id": {
12789
+ "description": "Environment variable ID",
12790
+ "name": "id",
12858
12791
  "required": true
12859
12792
  }
12860
12793
  },
12861
- "description": "Get a bot filter",
12794
+ "description": "Get a bot environment variable",
12862
12795
  "flags": {
12863
12796
  "api-key": {
12864
12797
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12925,7 +12858,7 @@
12925
12858
  },
12926
12859
  "hasDynamicHelp": false,
12927
12860
  "hiddenAliases": [],
12928
- "id": "bots:filters:get",
12861
+ "id": "bots:env-vars:get",
12929
12862
  "pluginAlias": "@instantkom/cli",
12930
12863
  "pluginName": "@instantkom/cli",
12931
12864
  "pluginType": "core",
@@ -12936,20 +12869,14 @@
12936
12869
  "dist",
12937
12870
  "commands",
12938
12871
  "bots",
12939
- "filters",
12872
+ "env-vars",
12940
12873
  "get.js"
12941
12874
  ]
12942
12875
  },
12943
- "bots:filters:list": {
12876
+ "bots:env-vars:list": {
12944
12877
  "aliases": [],
12945
- "args": {
12946
- "botId": {
12947
- "description": "Bot ID",
12948
- "name": "botId",
12949
- "required": true
12950
- }
12951
- },
12952
- "description": "List bot filters",
12878
+ "args": {},
12879
+ "description": "List bot environment variables",
12953
12880
  "flags": {
12954
12881
  "api-key": {
12955
12882
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13029,20 +12956,16 @@
13029
12956
  "multiple": false,
13030
12957
  "type": "option"
13031
12958
  },
13032
- "status": {
13033
- "description": "Status filter: 0 inactive, 1 active",
13034
- "name": "status",
12959
+ "search": {
12960
+ "description": "Search in key or description",
12961
+ "name": "search",
13035
12962
  "hasDynamicHelp": false,
13036
12963
  "multiple": false,
13037
- "options": [
13038
- "0",
13039
- "1"
13040
- ],
13041
12964
  "type": "option"
13042
12965
  },
13043
- "search": {
13044
- "description": "Search in name or description",
13045
- "name": "search",
12966
+ "color": {
12967
+ "description": "Filter by color",
12968
+ "name": "color",
13046
12969
  "hasDynamicHelp": false,
13047
12970
  "multiple": false,
13048
12971
  "type": "option"
@@ -13050,7 +12973,7 @@
13050
12973
  },
13051
12974
  "hasDynamicHelp": false,
13052
12975
  "hiddenAliases": [],
13053
- "id": "bots:filters:list",
12976
+ "id": "bots:env-vars:list",
13054
12977
  "pluginAlias": "@instantkom/cli",
13055
12978
  "pluginName": "@instantkom/cli",
13056
12979
  "pluginType": "core",
@@ -13061,25 +12984,20 @@
13061
12984
  "dist",
13062
12985
  "commands",
13063
12986
  "bots",
13064
- "filters",
12987
+ "env-vars",
13065
12988
  "list.js"
13066
12989
  ]
13067
12990
  },
13068
- "bots:filters:update": {
12991
+ "bots:env-vars:update": {
13069
12992
  "aliases": [],
13070
12993
  "args": {
13071
- "botId": {
13072
- "description": "Bot ID",
13073
- "name": "botId",
13074
- "required": true
13075
- },
13076
- "filterId": {
13077
- "description": "Filter ID",
13078
- "name": "filterId",
12994
+ "id": {
12995
+ "description": "Environment variable ID",
12996
+ "name": "id",
13079
12997
  "required": true
13080
12998
  }
13081
12999
  },
13082
- "description": "Update a bot filter",
13000
+ "description": "Update a bot environment variable",
13083
13001
  "flags": {
13084
13002
  "api-key": {
13085
13003
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13143,62 +13061,144 @@
13143
13061
  "multiple": false,
13144
13062
  "type": "option"
13145
13063
  },
13146
- "name": {
13147
- "description": "Filter name",
13148
- "name": "name",
13064
+ "description": {
13065
+ "description": "Variable description",
13066
+ "name": "description",
13149
13067
  "hasDynamicHelp": false,
13150
13068
  "multiple": false,
13151
13069
  "type": "option"
13152
13070
  },
13153
- "operator": {
13154
- "description": "Logical operator",
13155
- "name": "operator",
13071
+ "color": {
13072
+ "description": "Variable color as HEX",
13073
+ "name": "color",
13156
13074
  "hasDynamicHelp": false,
13157
13075
  "multiple": false,
13158
13076
  "type": "option"
13159
13077
  },
13160
- "filter-object": {
13161
- "description": "Filter object type",
13162
- "name": "filter-object",
13078
+ "data": {
13079
+ "description": "Additional JSON object payload",
13080
+ "name": "data",
13081
+ "hasDynamicHelp": false,
13082
+ "multiple": false,
13083
+ "type": "option"
13084
+ }
13085
+ },
13086
+ "hasDynamicHelp": false,
13087
+ "hiddenAliases": [],
13088
+ "id": "bots:env-vars:update",
13089
+ "pluginAlias": "@instantkom/cli",
13090
+ "pluginName": "@instantkom/cli",
13091
+ "pluginType": "core",
13092
+ "strict": true,
13093
+ "enableJsonFlag": false,
13094
+ "isESM": true,
13095
+ "relativePath": [
13096
+ "dist",
13097
+ "commands",
13098
+ "bots",
13099
+ "env-vars",
13100
+ "update.js"
13101
+ ]
13102
+ },
13103
+ "bots:env-vars:values": {
13104
+ "aliases": [],
13105
+ "args": {
13106
+ "id": {
13107
+ "description": "Environment variable ID",
13108
+ "name": "id",
13109
+ "required": true
13110
+ }
13111
+ },
13112
+ "description": "List recipient values for a bot environment variable",
13113
+ "flags": {
13114
+ "api-key": {
13115
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
13116
+ "env": "IKM_API_KEY",
13117
+ "helpGroup": "GLOBAL",
13118
+ "name": "api-key",
13163
13119
  "hasDynamicHelp": false,
13164
13120
  "multiple": false,
13165
13121
  "type": "option"
13166
13122
  },
13167
- "filter-attribute": {
13168
- "description": "Filter attribute",
13169
- "name": "filter-attribute",
13123
+ "format": {
13124
+ "description": "Output format: text, json, yaml, or table",
13125
+ "helpGroup": "GLOBAL",
13126
+ "name": "format",
13127
+ "default": "text",
13170
13128
  "hasDynamicHelp": false,
13171
13129
  "multiple": false,
13130
+ "options": [
13131
+ "text",
13132
+ "json",
13133
+ "yaml",
13134
+ "table"
13135
+ ],
13172
13136
  "type": "option"
13173
13137
  },
13174
- "filter-comparator": {
13175
- "description": "Filter comparator",
13176
- "name": "filter-comparator",
13138
+ "json": {
13139
+ "description": "Output in JSON format (alias for --format=json)",
13140
+ "helpGroup": "GLOBAL",
13141
+ "name": "json",
13142
+ "allowNo": false,
13143
+ "type": "boolean"
13144
+ },
13145
+ "quiet": {
13146
+ "description": "Suppress all output except errors",
13147
+ "helpGroup": "GLOBAL",
13148
+ "name": "quiet",
13149
+ "allowNo": false,
13150
+ "type": "boolean"
13151
+ },
13152
+ "no-color": {
13153
+ "description": "Disable color output",
13154
+ "helpGroup": "GLOBAL",
13155
+ "name": "no-color",
13156
+ "allowNo": false,
13157
+ "type": "boolean"
13158
+ },
13159
+ "profile": {
13160
+ "description": "Named configuration profile to use",
13161
+ "helpGroup": "GLOBAL",
13162
+ "name": "profile",
13163
+ "default": "default",
13177
13164
  "hasDynamicHelp": false,
13178
13165
  "multiple": false,
13179
13166
  "type": "option"
13180
13167
  },
13181
- "filter-value": {
13182
- "description": "Filter value",
13183
- "name": "filter-value",
13168
+ "api-url": {
13169
+ "description": "Override the API base URL (e.g. for staging)",
13170
+ "helpGroup": "GLOBAL",
13171
+ "name": "api-url",
13184
13172
  "hasDynamicHelp": false,
13185
13173
  "multiple": false,
13186
13174
  "type": "option"
13187
13175
  },
13188
- "status": {
13189
- "description": "Status: 0 inactive, 1 active",
13190
- "name": "status",
13176
+ "page": {
13177
+ "description": "Page number",
13178
+ "name": "page",
13179
+ "default": 1,
13191
13180
  "hasDynamicHelp": false,
13192
13181
  "multiple": false,
13193
- "options": [
13194
- "0",
13195
- "1"
13196
- ],
13197
13182
  "type": "option"
13198
13183
  },
13199
- "data": {
13200
- "description": "Additional JSON object payload",
13201
- "name": "data",
13184
+ "limit": {
13185
+ "description": "Items per page",
13186
+ "name": "limit",
13187
+ "default": 20,
13188
+ "hasDynamicHelp": false,
13189
+ "multiple": false,
13190
+ "type": "option"
13191
+ },
13192
+ "search": {
13193
+ "description": "Search in recipient name or identifier",
13194
+ "name": "search",
13195
+ "hasDynamicHelp": false,
13196
+ "multiple": false,
13197
+ "type": "option"
13198
+ },
13199
+ "recipient": {
13200
+ "description": "Filter by recipient ID",
13201
+ "name": "recipient",
13202
13202
  "hasDynamicHelp": false,
13203
13203
  "multiple": false,
13204
13204
  "type": "option"
@@ -13206,7 +13206,7 @@
13206
13206
  },
13207
13207
  "hasDynamicHelp": false,
13208
13208
  "hiddenAliases": [],
13209
- "id": "bots:filters:update",
13209
+ "id": "bots:env-vars:values",
13210
13210
  "pluginAlias": "@instantkom/cli",
13211
13211
  "pluginName": "@instantkom/cli",
13212
13212
  "pluginType": "core",
@@ -13217,8 +13217,8 @@
13217
13217
  "dist",
13218
13218
  "commands",
13219
13219
  "bots",
13220
- "filters",
13221
- "update.js"
13220
+ "env-vars",
13221
+ "values.js"
13222
13222
  ]
13223
13223
  },
13224
13224
  "bots:tags:add": {
@@ -16352,5 +16352,5 @@
16352
16352
  ]
16353
16353
  }
16354
16354
  },
16355
- "version": "3.146.1"
16355
+ "version": "3.147.0"
16356
16356
  }