@instantkom/cli 3.134.1 → 3.135.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.
@@ -722,10 +722,44 @@
722
722
  "whoami.js"
723
723
  ]
724
724
  },
725
- "account:get": {
725
+ "autocomplete:script": {
726
+ "aliases": [],
727
+ "args": {
728
+ "shell": {
729
+ "description": "Shell type",
730
+ "name": "shell",
731
+ "options": [
732
+ "zsh",
733
+ "bash",
734
+ "fish",
735
+ "powershell"
736
+ ],
737
+ "required": false
738
+ }
739
+ },
740
+ "description": "outputs autocomplete config script for shells",
741
+ "flags": {},
742
+ "hasDynamicHelp": false,
743
+ "hidden": true,
744
+ "hiddenAliases": [],
745
+ "id": "autocomplete:script",
746
+ "pluginAlias": "@instantkom/cli",
747
+ "pluginName": "@instantkom/cli",
748
+ "pluginType": "core",
749
+ "strict": true,
750
+ "enableJsonFlag": false,
751
+ "isESM": true,
752
+ "relativePath": [
753
+ "dist",
754
+ "commands",
755
+ "autocomplete",
756
+ "script.js"
757
+ ]
758
+ },
759
+ "auth:login": {
726
760
  "aliases": [],
727
761
  "args": {},
728
- "description": "Get account information",
762
+ "description": "Authenticate with the instantKOM API via device authorization flow",
729
763
  "flags": {
730
764
  "api-key": {
731
765
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -788,11 +822,25 @@
788
822
  "hasDynamicHelp": false,
789
823
  "multiple": false,
790
824
  "type": "option"
825
+ },
826
+ "scope": {
827
+ "description": "Requested token scope",
828
+ "name": "scope",
829
+ "default": "read",
830
+ "hasDynamicHelp": false,
831
+ "multiple": false,
832
+ "options": [
833
+ "full",
834
+ "send",
835
+ "read",
836
+ "admin"
837
+ ],
838
+ "type": "option"
791
839
  }
792
840
  },
793
841
  "hasDynamicHelp": false,
794
842
  "hiddenAliases": [],
795
- "id": "account:get",
843
+ "id": "auth:login",
796
844
  "pluginAlias": "@instantkom/cli",
797
845
  "pluginName": "@instantkom/cli",
798
846
  "pluginType": "core",
@@ -802,14 +850,14 @@
802
850
  "relativePath": [
803
851
  "dist",
804
852
  "commands",
805
- "account",
806
- "get.js"
853
+ "auth",
854
+ "login.js"
807
855
  ]
808
856
  },
809
- "account:update": {
857
+ "auth:logout": {
810
858
  "aliases": [],
811
859
  "args": {},
812
- "description": "Update account information",
860
+ "description": "Remove the stored API token for the current profile",
813
861
  "flags": {
814
862
  "api-key": {
815
863
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -872,74 +920,11 @@
872
920
  "hasDynamicHelp": false,
873
921
  "multiple": false,
874
922
  "type": "option"
875
- },
876
- "email": {
877
- "description": "Email address",
878
- "name": "email",
879
- "hasDynamicHelp": false,
880
- "multiple": false,
881
- "type": "option"
882
- },
883
- "first-name": {
884
- "description": "First name",
885
- "name": "first-name",
886
- "hasDynamicHelp": false,
887
- "multiple": false,
888
- "type": "option"
889
- },
890
- "last-name": {
891
- "description": "Last name",
892
- "name": "last-name",
893
- "hasDynamicHelp": false,
894
- "multiple": false,
895
- "type": "option"
896
- },
897
- "company": {
898
- "description": "Company name",
899
- "name": "company",
900
- "hasDynamicHelp": false,
901
- "multiple": false,
902
- "type": "option"
903
- },
904
- "phone": {
905
- "description": "Phone number",
906
- "name": "phone",
907
- "hasDynamicHelp": false,
908
- "multiple": false,
909
- "type": "option"
910
- },
911
- "city": {
912
- "description": "City",
913
- "name": "city",
914
- "hasDynamicHelp": false,
915
- "multiple": false,
916
- "type": "option"
917
- },
918
- "country": {
919
- "description": "Country",
920
- "name": "country",
921
- "hasDynamicHelp": false,
922
- "multiple": false,
923
- "type": "option"
924
- },
925
- "street": {
926
- "description": "Street address",
927
- "name": "street",
928
- "hasDynamicHelp": false,
929
- "multiple": false,
930
- "type": "option"
931
- },
932
- "data": {
933
- "description": "Additional JSON object payload",
934
- "name": "data",
935
- "hasDynamicHelp": false,
936
- "multiple": false,
937
- "type": "option"
938
923
  }
939
924
  },
940
925
  "hasDynamicHelp": false,
941
926
  "hiddenAliases": [],
942
- "id": "account:update",
927
+ "id": "auth:logout",
943
928
  "pluginAlias": "@instantkom/cli",
944
929
  "pluginName": "@instantkom/cli",
945
930
  "pluginType": "core",
@@ -949,8 +934,8 @@
949
934
  "relativePath": [
950
935
  "dist",
951
936
  "commands",
952
- "account",
953
- "update.js"
937
+ "auth",
938
+ "logout.js"
954
939
  ]
955
940
  },
956
941
  "ai:reply": {
@@ -1073,10 +1058,10 @@
1073
1058
  "reply.js"
1074
1059
  ]
1075
1060
  },
1076
- "auth:login": {
1061
+ "account:get": {
1077
1062
  "aliases": [],
1078
1063
  "args": {},
1079
- "description": "Authenticate with the instantKOM API via device authorization flow",
1064
+ "description": "Get account information",
1080
1065
  "flags": {
1081
1066
  "api-key": {
1082
1067
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1139,25 +1124,11 @@
1139
1124
  "hasDynamicHelp": false,
1140
1125
  "multiple": false,
1141
1126
  "type": "option"
1142
- },
1143
- "scope": {
1144
- "description": "Requested token scope",
1145
- "name": "scope",
1146
- "default": "read",
1147
- "hasDynamicHelp": false,
1148
- "multiple": false,
1149
- "options": [
1150
- "full",
1151
- "send",
1152
- "read",
1153
- "admin"
1154
- ],
1155
- "type": "option"
1156
1127
  }
1157
1128
  },
1158
1129
  "hasDynamicHelp": false,
1159
1130
  "hiddenAliases": [],
1160
- "id": "auth:login",
1131
+ "id": "account:get",
1161
1132
  "pluginAlias": "@instantkom/cli",
1162
1133
  "pluginName": "@instantkom/cli",
1163
1134
  "pluginType": "core",
@@ -1167,14 +1138,14 @@
1167
1138
  "relativePath": [
1168
1139
  "dist",
1169
1140
  "commands",
1170
- "auth",
1171
- "login.js"
1141
+ "account",
1142
+ "get.js"
1172
1143
  ]
1173
1144
  },
1174
- "auth:logout": {
1145
+ "account:update": {
1175
1146
  "aliases": [],
1176
1147
  "args": {},
1177
- "description": "Remove the stored API token for the current profile",
1148
+ "description": "Update account information",
1178
1149
  "flags": {
1179
1150
  "api-key": {
1180
1151
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1237,11 +1208,74 @@
1237
1208
  "hasDynamicHelp": false,
1238
1209
  "multiple": false,
1239
1210
  "type": "option"
1211
+ },
1212
+ "email": {
1213
+ "description": "Email address",
1214
+ "name": "email",
1215
+ "hasDynamicHelp": false,
1216
+ "multiple": false,
1217
+ "type": "option"
1218
+ },
1219
+ "first-name": {
1220
+ "description": "First name",
1221
+ "name": "first-name",
1222
+ "hasDynamicHelp": false,
1223
+ "multiple": false,
1224
+ "type": "option"
1225
+ },
1226
+ "last-name": {
1227
+ "description": "Last name",
1228
+ "name": "last-name",
1229
+ "hasDynamicHelp": false,
1230
+ "multiple": false,
1231
+ "type": "option"
1232
+ },
1233
+ "company": {
1234
+ "description": "Company name",
1235
+ "name": "company",
1236
+ "hasDynamicHelp": false,
1237
+ "multiple": false,
1238
+ "type": "option"
1239
+ },
1240
+ "phone": {
1241
+ "description": "Phone number",
1242
+ "name": "phone",
1243
+ "hasDynamicHelp": false,
1244
+ "multiple": false,
1245
+ "type": "option"
1246
+ },
1247
+ "city": {
1248
+ "description": "City",
1249
+ "name": "city",
1250
+ "hasDynamicHelp": false,
1251
+ "multiple": false,
1252
+ "type": "option"
1253
+ },
1254
+ "country": {
1255
+ "description": "Country",
1256
+ "name": "country",
1257
+ "hasDynamicHelp": false,
1258
+ "multiple": false,
1259
+ "type": "option"
1260
+ },
1261
+ "street": {
1262
+ "description": "Street address",
1263
+ "name": "street",
1264
+ "hasDynamicHelp": false,
1265
+ "multiple": false,
1266
+ "type": "option"
1267
+ },
1268
+ "data": {
1269
+ "description": "Additional JSON object payload",
1270
+ "name": "data",
1271
+ "hasDynamicHelp": false,
1272
+ "multiple": false,
1273
+ "type": "option"
1240
1274
  }
1241
1275
  },
1242
1276
  "hasDynamicHelp": false,
1243
1277
  "hiddenAliases": [],
1244
- "id": "auth:logout",
1278
+ "id": "account:update",
1245
1279
  "pluginAlias": "@instantkom/cli",
1246
1280
  "pluginName": "@instantkom/cli",
1247
1281
  "pluginType": "core",
@@ -1251,65 +1285,31 @@
1251
1285
  "relativePath": [
1252
1286
  "dist",
1253
1287
  "commands",
1254
- "auth",
1255
- "logout.js"
1288
+ "account",
1289
+ "update.js"
1256
1290
  ]
1257
1291
  },
1258
- "autocomplete:script": {
1292
+ "bots:create": {
1259
1293
  "aliases": [],
1260
- "args": {
1261
- "shell": {
1262
- "description": "Shell type",
1263
- "name": "shell",
1264
- "options": [
1265
- "zsh",
1266
- "bash",
1267
- "fish",
1268
- "powershell"
1269
- ],
1270
- "required": false
1271
- }
1272
- },
1273
- "description": "outputs autocomplete config script for shells",
1274
- "flags": {},
1275
- "hasDynamicHelp": false,
1276
- "hidden": true,
1277
- "hiddenAliases": [],
1278
- "id": "autocomplete:script",
1279
- "pluginAlias": "@instantkom/cli",
1280
- "pluginName": "@instantkom/cli",
1281
- "pluginType": "core",
1282
- "strict": true,
1283
- "enableJsonFlag": false,
1284
- "isESM": true,
1285
- "relativePath": [
1286
- "dist",
1287
- "commands",
1288
- "autocomplete",
1289
- "script.js"
1290
- ]
1291
- },
1292
- "bots:create": {
1293
- "aliases": [],
1294
- "args": {},
1295
- "description": "Create a bot",
1296
- "flags": {
1297
- "api-key": {
1298
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
1299
- "env": "IKM_API_KEY",
1300
- "helpGroup": "GLOBAL",
1301
- "name": "api-key",
1302
- "hasDynamicHelp": false,
1303
- "multiple": false,
1304
- "type": "option"
1305
- },
1306
- "format": {
1307
- "description": "Output format: text, json, yaml, or table",
1308
- "helpGroup": "GLOBAL",
1309
- "name": "format",
1310
- "default": "text",
1311
- "hasDynamicHelp": false,
1312
- "multiple": false,
1294
+ "args": {},
1295
+ "description": "Create a bot",
1296
+ "flags": {
1297
+ "api-key": {
1298
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
1299
+ "env": "IKM_API_KEY",
1300
+ "helpGroup": "GLOBAL",
1301
+ "name": "api-key",
1302
+ "hasDynamicHelp": false,
1303
+ "multiple": false,
1304
+ "type": "option"
1305
+ },
1306
+ "format": {
1307
+ "description": "Output format: text, json, yaml, or table",
1308
+ "helpGroup": "GLOBAL",
1309
+ "name": "format",
1310
+ "default": "text",
1311
+ "hasDynamicHelp": false,
1312
+ "multiple": false,
1313
1313
  "options": [
1314
1314
  "text",
1315
1315
  "json",
@@ -2015,10 +2015,10 @@
2015
2015
  "update.js"
2016
2016
  ]
2017
2017
  },
2018
- "channels:create": {
2018
+ "broadcast:create": {
2019
2019
  "aliases": [],
2020
2020
  "args": {},
2021
- "description": "Create a channel",
2021
+ "description": "Create a broadcast for channels or segments",
2022
2022
  "flags": {
2023
2023
  "api-key": {
2024
2024
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2082,47 +2082,92 @@
2082
2082
  "multiple": false,
2083
2083
  "type": "option"
2084
2084
  },
2085
- "name": {
2086
- "description": "Channel name",
2087
- "name": "name",
2088
- "required": true,
2085
+ "channel": {
2086
+ "description": "Channel ID target",
2087
+ "name": "channel",
2089
2088
  "hasDynamicHelp": false,
2090
2089
  "multiple": false,
2091
2090
  "type": "option"
2092
2091
  },
2093
- "gateway-type": {
2094
- "description": "Gateway type ID",
2095
- "name": "gateway-type",
2092
+ "segment": {
2093
+ "description": "Segment ID within --channel",
2094
+ "name": "segment",
2095
+ "hasDynamicHelp": false,
2096
+ "multiple": false,
2097
+ "type": "option"
2098
+ },
2099
+ "target": {
2100
+ "description": "Target as channelId or channelId:segmentId; may be repeated",
2101
+ "name": "target",
2102
+ "hasDynamicHelp": false,
2103
+ "multiple": true,
2104
+ "type": "option"
2105
+ },
2106
+ "text": {
2107
+ "description": "Broadcast message text",
2108
+ "name": "text",
2096
2109
  "required": true,
2097
2110
  "hasDynamicHelp": false,
2098
2111
  "multiple": false,
2099
2112
  "type": "option"
2100
2113
  },
2101
- "status": {
2102
- "description": "Channel lifecycle status",
2103
- "name": "status",
2114
+ "send-at": {
2115
+ "description": "Schedule send for an ISO-8601 date-time",
2116
+ "name": "send-at",
2104
2117
  "hasDynamicHelp": false,
2105
2118
  "multiple": false,
2106
2119
  "type": "option"
2107
2120
  },
2108
- "description": {
2109
- "description": "Channel description",
2110
- "name": "description",
2121
+ "dry-run": {
2122
+ "description": "Validate and print the broadcast payload without mutating API calls",
2123
+ "name": "dry-run",
2124
+ "allowNo": false,
2125
+ "type": "boolean"
2126
+ },
2127
+ "idempotency-key": {
2128
+ "description": "Idempotency key forwarded as Idempotency-Key",
2129
+ "name": "idempotency-key",
2111
2130
  "hasDynamicHelp": false,
2112
2131
  "multiple": false,
2113
2132
  "type": "option"
2114
2133
  },
2115
- "data": {
2116
- "description": "Additional JSON object payload",
2117
- "name": "data",
2134
+ "media": {
2135
+ "description": "Media file path to upload",
2136
+ "name": "media",
2137
+ "hasDynamicHelp": false,
2138
+ "multiple": true,
2139
+ "type": "option"
2140
+ },
2141
+ "template-id": {
2142
+ "description": "WhatsApp template ID",
2143
+ "name": "template-id",
2144
+ "hasDynamicHelp": false,
2145
+ "multiple": false,
2146
+ "type": "option"
2147
+ },
2148
+ "send-status": {
2149
+ "description": "Initial broadcast send status",
2150
+ "name": "send-status",
2151
+ "default": "draft",
2118
2152
  "hasDynamicHelp": false,
2119
2153
  "multiple": false,
2154
+ "options": [
2155
+ "draft",
2156
+ "scheduled",
2157
+ "sending"
2158
+ ],
2120
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"
2121
2166
  }
2122
2167
  },
2123
2168
  "hasDynamicHelp": false,
2124
2169
  "hiddenAliases": [],
2125
- "id": "channels:create",
2170
+ "id": "broadcast:create",
2126
2171
  "pluginAlias": "@instantkom/cli",
2127
2172
  "pluginName": "@instantkom/cli",
2128
2173
  "pluginType": "core",
@@ -2132,20 +2177,20 @@
2132
2177
  "relativePath": [
2133
2178
  "dist",
2134
2179
  "commands",
2135
- "channels",
2180
+ "broadcast",
2136
2181
  "create.js"
2137
2182
  ]
2138
2183
  },
2139
- "channels:get": {
2184
+ "broadcast:delete": {
2140
2185
  "aliases": [],
2141
2186
  "args": {
2142
2187
  "id": {
2143
- "description": "Channel ID",
2188
+ "description": "broadcast ID",
2144
2189
  "name": "id",
2145
2190
  "required": true
2146
2191
  }
2147
2192
  },
2148
- "description": "Get a channel by ID",
2193
+ "description": "Delete broadcast",
2149
2194
  "flags": {
2150
2195
  "api-key": {
2151
2196
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2212,7 +2257,7 @@
2212
2257
  },
2213
2258
  "hasDynamicHelp": false,
2214
2259
  "hiddenAliases": [],
2215
- "id": "channels:get",
2260
+ "id": "broadcast:delete",
2216
2261
  "pluginAlias": "@instantkom/cli",
2217
2262
  "pluginName": "@instantkom/cli",
2218
2263
  "pluginType": "core",
@@ -2222,20 +2267,20 @@
2222
2267
  "relativePath": [
2223
2268
  "dist",
2224
2269
  "commands",
2225
- "channels",
2226
- "get.js"
2270
+ "broadcast",
2271
+ "delete.js"
2227
2272
  ]
2228
2273
  },
2229
- "channels:kpis": {
2274
+ "broadcast:get": {
2230
2275
  "aliases": [],
2231
2276
  "args": {
2232
2277
  "id": {
2233
- "description": "Optional channel ID; omit for aggregated channel KPIs",
2278
+ "description": "broadcast ID",
2234
2279
  "name": "id",
2235
- "required": false
2280
+ "required": true
2236
2281
  }
2237
2282
  },
2238
- "description": "Get channel KPIs",
2283
+ "description": "Get broadcast by ID",
2239
2284
  "flags": {
2240
2285
  "api-key": {
2241
2286
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2298,18 +2343,11 @@
2298
2343
  "hasDynamicHelp": false,
2299
2344
  "multiple": false,
2300
2345
  "type": "option"
2301
- },
2302
- "period": {
2303
- "description": "KPI period",
2304
- "name": "period",
2305
- "hasDynamicHelp": false,
2306
- "multiple": false,
2307
- "type": "option"
2308
2346
  }
2309
2347
  },
2310
2348
  "hasDynamicHelp": false,
2311
2349
  "hiddenAliases": [],
2312
- "id": "channels:kpis",
2350
+ "id": "broadcast:get",
2313
2351
  "pluginAlias": "@instantkom/cli",
2314
2352
  "pluginName": "@instantkom/cli",
2315
2353
  "pluginType": "core",
@@ -2319,14 +2357,14 @@
2319
2357
  "relativePath": [
2320
2358
  "dist",
2321
2359
  "commands",
2322
- "channels",
2323
- "kpis.js"
2360
+ "broadcast",
2361
+ "get.js"
2324
2362
  ]
2325
2363
  },
2326
- "channels:list": {
2364
+ "broadcast:list": {
2327
2365
  "aliases": [],
2328
2366
  "args": {},
2329
- "description": "List channels",
2367
+ "description": "List broadcasts",
2330
2368
  "flags": {
2331
2369
  "api-key": {
2332
2370
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2406,31 +2444,56 @@
2406
2444
  "multiple": false,
2407
2445
  "type": "option"
2408
2446
  },
2409
- "status": {
2410
- "description": "Filter by channel status",
2411
- "name": "status",
2447
+ "channel": {
2448
+ "description": "Filter by channel ID",
2449
+ "name": "channel",
2412
2450
  "hasDynamicHelp": false,
2413
2451
  "multiple": false,
2414
2452
  "type": "option"
2415
2453
  },
2416
- "gateway-type": {
2417
- "description": "Filter by gateway type ID",
2418
- "name": "gateway-type",
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",
2419
2464
  "hasDynamicHelp": false,
2420
2465
  "multiple": false,
2466
+ "options": [
2467
+ "text",
2468
+ "image",
2469
+ "video",
2470
+ "audio",
2471
+ "document"
2472
+ ],
2421
2473
  "type": "option"
2422
2474
  },
2423
2475
  "search": {
2424
- "description": "Search by channel name",
2476
+ "description": "Search broadcasts",
2425
2477
  "name": "search",
2426
2478
  "hasDynamicHelp": false,
2427
2479
  "multiple": false,
2428
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"
2429
2492
  }
2430
2493
  },
2431
2494
  "hasDynamicHelp": false,
2432
2495
  "hiddenAliases": [],
2433
- "id": "channels:list",
2496
+ "id": "broadcast:list",
2434
2497
  "pluginAlias": "@instantkom/cli",
2435
2498
  "pluginName": "@instantkom/cli",
2436
2499
  "pluginType": "core",
@@ -2440,20 +2503,20 @@
2440
2503
  "relativePath": [
2441
2504
  "dist",
2442
2505
  "commands",
2443
- "channels",
2506
+ "broadcast",
2444
2507
  "list.js"
2445
2508
  ]
2446
2509
  },
2447
- "channels:update": {
2510
+ "broadcast:send": {
2448
2511
  "aliases": [],
2449
2512
  "args": {
2450
2513
  "id": {
2451
- "description": "Channel ID",
2514
+ "description": "Broadcast ID",
2452
2515
  "name": "id",
2453
2516
  "required": true
2454
2517
  }
2455
2518
  },
2456
- "description": "Update a channel",
2519
+ "description": "Send a broadcast immediately",
2457
2520
  "flags": {
2458
2521
  "api-key": {
2459
2522
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2516,39 +2579,11 @@
2516
2579
  "hasDynamicHelp": false,
2517
2580
  "multiple": false,
2518
2581
  "type": "option"
2519
- },
2520
- "name": {
2521
- "description": "Channel name",
2522
- "name": "name",
2523
- "hasDynamicHelp": false,
2524
- "multiple": false,
2525
- "type": "option"
2526
- },
2527
- "status": {
2528
- "description": "Channel lifecycle status",
2529
- "name": "status",
2530
- "hasDynamicHelp": false,
2531
- "multiple": false,
2532
- "type": "option"
2533
- },
2534
- "description": {
2535
- "description": "Channel description",
2536
- "name": "description",
2537
- "hasDynamicHelp": false,
2538
- "multiple": false,
2539
- "type": "option"
2540
- },
2541
- "data": {
2542
- "description": "Additional JSON object payload",
2543
- "name": "data",
2544
- "hasDynamicHelp": false,
2545
- "multiple": false,
2546
- "type": "option"
2547
2582
  }
2548
2583
  },
2549
2584
  "hasDynamicHelp": false,
2550
2585
  "hiddenAliases": [],
2551
- "id": "channels:update",
2586
+ "id": "broadcast:send",
2552
2587
  "pluginAlias": "@instantkom/cli",
2553
2588
  "pluginName": "@instantkom/cli",
2554
2589
  "pluginType": "core",
@@ -2558,20 +2593,20 @@
2558
2593
  "relativePath": [
2559
2594
  "dist",
2560
2595
  "commands",
2561
- "channels",
2562
- "update.js"
2596
+ "broadcast",
2597
+ "send.js"
2563
2598
  ]
2564
2599
  },
2565
- "chats:get": {
2600
+ "broadcast:status": {
2566
2601
  "aliases": [],
2567
2602
  "args": {
2568
2603
  "id": {
2569
- "description": "chat ID",
2604
+ "description": "Broadcast ID",
2570
2605
  "name": "id",
2571
2606
  "required": true
2572
2607
  }
2573
2608
  },
2574
- "description": "Get chat by ID",
2609
+ "description": "Show broadcast send status",
2575
2610
  "flags": {
2576
2611
  "api-key": {
2577
2612
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2638,7 +2673,7 @@
2638
2673
  },
2639
2674
  "hasDynamicHelp": false,
2640
2675
  "hiddenAliases": [],
2641
- "id": "chats:get",
2676
+ "id": "broadcast:status",
2642
2677
  "pluginAlias": "@instantkom/cli",
2643
2678
  "pluginName": "@instantkom/cli",
2644
2679
  "pluginType": "core",
@@ -2648,14 +2683,20 @@
2648
2683
  "relativePath": [
2649
2684
  "dist",
2650
2685
  "commands",
2651
- "chats",
2652
- "get.js"
2686
+ "broadcast",
2687
+ "status.js"
2653
2688
  ]
2654
2689
  },
2655
- "chats:list": {
2690
+ "broadcast:update": {
2656
2691
  "aliases": [],
2657
- "args": {},
2658
- "description": "List chats",
2692
+ "args": {
2693
+ "id": {
2694
+ "description": "Broadcast ID",
2695
+ "name": "id",
2696
+ "required": true
2697
+ }
2698
+ },
2699
+ "description": "Update a broadcast",
2659
2700
  "flags": {
2660
2701
  "api-key": {
2661
2702
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2719,72 +2760,76 @@
2719
2760
  "multiple": false,
2720
2761
  "type": "option"
2721
2762
  },
2722
- "page": {
2723
- "description": "Page number",
2724
- "name": "page",
2725
- "default": 1,
2763
+ "text": {
2764
+ "description": "Broadcast message text",
2765
+ "name": "text",
2726
2766
  "hasDynamicHelp": false,
2727
2767
  "multiple": false,
2728
2768
  "type": "option"
2729
2769
  },
2730
- "limit": {
2731
- "description": "Items per page",
2732
- "name": "limit",
2733
- "default": 20,
2770
+ "send-status": {
2771
+ "description": "Send status",
2772
+ "name": "send-status",
2734
2773
  "hasDynamicHelp": false,
2735
2774
  "multiple": false,
2736
2775
  "type": "option"
2737
2776
  },
2738
- "channel": {
2739
- "description": "Filter by channel ID",
2740
- "name": "channel",
2777
+ "scheduled-at": {
2778
+ "description": "Unix timestamp for scheduled send",
2779
+ "name": "scheduled-at",
2741
2780
  "hasDynamicHelp": false,
2742
2781
  "multiple": false,
2743
2782
  "type": "option"
2744
2783
  },
2745
- "channels": {
2746
- "description": "Comma-separated channel IDs",
2747
- "name": "channels",
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",
2748
2805
  "hasDynamicHelp": false,
2749
2806
  "multiple": false,
2750
2807
  "type": "option"
2751
2808
  },
2752
- "search": {
2753
- "description": "Search chats",
2754
- "name": "search",
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",
2755
2818
  "hasDynamicHelp": false,
2756
2819
  "multiple": false,
2757
2820
  "type": "option"
2758
2821
  },
2759
- "status": {
2760
- "description": "Chat status",
2761
- "name": "status",
2822
+ "data": {
2823
+ "description": "Additional JSON object payload",
2824
+ "name": "data",
2762
2825
  "hasDynamicHelp": false,
2763
2826
  "multiple": false,
2764
- "options": [
2765
- "all",
2766
- "unread",
2767
- "read",
2768
- "archived"
2769
- ],
2770
2827
  "type": "option"
2771
- },
2772
- "unread-only": {
2773
- "description": "Only unread chats",
2774
- "name": "unread-only",
2775
- "allowNo": false,
2776
- "type": "boolean"
2777
- },
2778
- "include-archived": {
2779
- "description": "Include archived chats",
2780
- "name": "include-archived",
2781
- "allowNo": false,
2782
- "type": "boolean"
2783
2828
  }
2784
2829
  },
2785
2830
  "hasDynamicHelp": false,
2786
2831
  "hiddenAliases": [],
2787
- "id": "chats:list",
2832
+ "id": "broadcast:update",
2788
2833
  "pluginAlias": "@instantkom/cli",
2789
2834
  "pluginName": "@instantkom/cli",
2790
2835
  "pluginType": "core",
@@ -2794,20 +2839,14 @@
2794
2839
  "relativePath": [
2795
2840
  "dist",
2796
2841
  "commands",
2797
- "chats",
2798
- "list.js"
2842
+ "broadcast",
2843
+ "update.js"
2799
2844
  ]
2800
2845
  },
2801
- "chats:reply": {
2846
+ "channels:create": {
2802
2847
  "aliases": [],
2803
- "args": {
2804
- "id": {
2805
- "description": "Chat ID",
2806
- "name": "id",
2807
- "required": true
2808
- }
2809
- },
2810
- "description": "Reply in a chat",
2848
+ "args": {},
2849
+ "description": "Create a channel",
2811
2850
  "flags": {
2812
2851
  "api-key": {
2813
2852
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2871,18 +2910,47 @@
2871
2910
  "multiple": false,
2872
2911
  "type": "option"
2873
2912
  },
2874
- "text": {
2875
- "description": "Reply text",
2876
- "name": "text",
2913
+ "name": {
2914
+ "description": "Channel name",
2915
+ "name": "name",
2877
2916
  "required": true,
2878
2917
  "hasDynamicHelp": false,
2879
2918
  "multiple": false,
2880
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"
2881
2949
  }
2882
2950
  },
2883
2951
  "hasDynamicHelp": false,
2884
2952
  "hiddenAliases": [],
2885
- "id": "chats:reply",
2953
+ "id": "channels:create",
2886
2954
  "pluginAlias": "@instantkom/cli",
2887
2955
  "pluginName": "@instantkom/cli",
2888
2956
  "pluginType": "core",
@@ -2892,14 +2960,20 @@
2892
2960
  "relativePath": [
2893
2961
  "dist",
2894
2962
  "commands",
2895
- "chats",
2896
- "reply.js"
2963
+ "channels",
2964
+ "create.js"
2897
2965
  ]
2898
2966
  },
2899
- "broadcast:create": {
2967
+ "channels:get": {
2900
2968
  "aliases": [],
2901
- "args": {},
2902
- "description": "Create a broadcast for channels or segments",
2969
+ "args": {
2970
+ "id": {
2971
+ "description": "Channel ID",
2972
+ "name": "id",
2973
+ "required": true
2974
+ }
2975
+ },
2976
+ "description": "Get a channel by ID",
2903
2977
  "flags": {
2904
2978
  "api-key": {
2905
2979
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2962,93 +3036,11 @@
2962
3036
  "hasDynamicHelp": false,
2963
3037
  "multiple": false,
2964
3038
  "type": "option"
2965
- },
2966
- "channel": {
2967
- "description": "Channel ID target",
2968
- "name": "channel",
2969
- "hasDynamicHelp": false,
2970
- "multiple": false,
2971
- "type": "option"
2972
- },
2973
- "segment": {
2974
- "description": "Segment ID within --channel",
2975
- "name": "segment",
2976
- "hasDynamicHelp": false,
2977
- "multiple": false,
2978
- "type": "option"
2979
- },
2980
- "target": {
2981
- "description": "Target as channelId or channelId:segmentId; may be repeated",
2982
- "name": "target",
2983
- "hasDynamicHelp": false,
2984
- "multiple": true,
2985
- "type": "option"
2986
- },
2987
- "text": {
2988
- "description": "Broadcast message text",
2989
- "name": "text",
2990
- "required": true,
2991
- "hasDynamicHelp": false,
2992
- "multiple": false,
2993
- "type": "option"
2994
- },
2995
- "send-at": {
2996
- "description": "Schedule send for an ISO-8601 date-time",
2997
- "name": "send-at",
2998
- "hasDynamicHelp": false,
2999
- "multiple": false,
3000
- "type": "option"
3001
- },
3002
- "dry-run": {
3003
- "description": "Validate and print the broadcast payload without mutating API calls",
3004
- "name": "dry-run",
3005
- "allowNo": false,
3006
- "type": "boolean"
3007
- },
3008
- "idempotency-key": {
3009
- "description": "Idempotency key forwarded as Idempotency-Key",
3010
- "name": "idempotency-key",
3011
- "hasDynamicHelp": false,
3012
- "multiple": false,
3013
- "type": "option"
3014
- },
3015
- "media": {
3016
- "description": "Media file path to upload",
3017
- "name": "media",
3018
- "hasDynamicHelp": false,
3019
- "multiple": true,
3020
- "type": "option"
3021
- },
3022
- "template-id": {
3023
- "description": "WhatsApp template ID",
3024
- "name": "template-id",
3025
- "hasDynamicHelp": false,
3026
- "multiple": false,
3027
- "type": "option"
3028
- },
3029
- "send-status": {
3030
- "description": "Initial broadcast send status",
3031
- "name": "send-status",
3032
- "default": "draft",
3033
- "hasDynamicHelp": false,
3034
- "multiple": false,
3035
- "options": [
3036
- "draft",
3037
- "scheduled",
3038
- "sending"
3039
- ],
3040
- "type": "option"
3041
- },
3042
- "auto-approve": {
3043
- "description": "Auto-approve broadcast when allowed by API permissions",
3044
- "name": "auto-approve",
3045
- "allowNo": false,
3046
- "type": "boolean"
3047
3039
  }
3048
3040
  },
3049
3041
  "hasDynamicHelp": false,
3050
3042
  "hiddenAliases": [],
3051
- "id": "broadcast:create",
3043
+ "id": "channels:get",
3052
3044
  "pluginAlias": "@instantkom/cli",
3053
3045
  "pluginName": "@instantkom/cli",
3054
3046
  "pluginType": "core",
@@ -3058,20 +3050,20 @@
3058
3050
  "relativePath": [
3059
3051
  "dist",
3060
3052
  "commands",
3061
- "broadcast",
3062
- "create.js"
3053
+ "channels",
3054
+ "get.js"
3063
3055
  ]
3064
3056
  },
3065
- "broadcast:delete": {
3057
+ "channels:kpis": {
3066
3058
  "aliases": [],
3067
3059
  "args": {
3068
3060
  "id": {
3069
- "description": "broadcast ID",
3061
+ "description": "Optional channel ID; omit for aggregated channel KPIs",
3070
3062
  "name": "id",
3071
- "required": true
3063
+ "required": false
3072
3064
  }
3073
3065
  },
3074
- "description": "Delete broadcast",
3066
+ "description": "Get channel KPIs",
3075
3067
  "flags": {
3076
3068
  "api-key": {
3077
3069
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3134,11 +3126,18 @@
3134
3126
  "hasDynamicHelp": false,
3135
3127
  "multiple": false,
3136
3128
  "type": "option"
3129
+ },
3130
+ "period": {
3131
+ "description": "KPI period",
3132
+ "name": "period",
3133
+ "hasDynamicHelp": false,
3134
+ "multiple": false,
3135
+ "type": "option"
3137
3136
  }
3138
3137
  },
3139
3138
  "hasDynamicHelp": false,
3140
3139
  "hiddenAliases": [],
3141
- "id": "broadcast:delete",
3140
+ "id": "channels:kpis",
3142
3141
  "pluginAlias": "@instantkom/cli",
3143
3142
  "pluginName": "@instantkom/cli",
3144
3143
  "pluginType": "core",
@@ -3148,20 +3147,14 @@
3148
3147
  "relativePath": [
3149
3148
  "dist",
3150
3149
  "commands",
3151
- "broadcast",
3152
- "delete.js"
3150
+ "channels",
3151
+ "kpis.js"
3153
3152
  ]
3154
3153
  },
3155
- "broadcast:get": {
3154
+ "channels:list": {
3156
3155
  "aliases": [],
3157
- "args": {
3158
- "id": {
3159
- "description": "broadcast ID",
3160
- "name": "id",
3161
- "required": true
3162
- }
3163
- },
3164
- "description": "Get broadcast by ID",
3156
+ "args": {},
3157
+ "description": "List channels",
3165
3158
  "flags": {
3166
3159
  "api-key": {
3167
3160
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3224,11 +3217,48 @@
3224
3217
  "hasDynamicHelp": false,
3225
3218
  "multiple": false,
3226
3219
  "type": "option"
3220
+ },
3221
+ "page": {
3222
+ "description": "Page number",
3223
+ "name": "page",
3224
+ "default": 1,
3225
+ "hasDynamicHelp": false,
3226
+ "multiple": false,
3227
+ "type": "option"
3228
+ },
3229
+ "limit": {
3230
+ "description": "Items per page",
3231
+ "name": "limit",
3232
+ "default": 20,
3233
+ "hasDynamicHelp": false,
3234
+ "multiple": false,
3235
+ "type": "option"
3236
+ },
3237
+ "status": {
3238
+ "description": "Filter by channel status",
3239
+ "name": "status",
3240
+ "hasDynamicHelp": false,
3241
+ "multiple": false,
3242
+ "type": "option"
3243
+ },
3244
+ "gateway-type": {
3245
+ "description": "Filter by gateway type ID",
3246
+ "name": "gateway-type",
3247
+ "hasDynamicHelp": false,
3248
+ "multiple": false,
3249
+ "type": "option"
3250
+ },
3251
+ "search": {
3252
+ "description": "Search by channel name",
3253
+ "name": "search",
3254
+ "hasDynamicHelp": false,
3255
+ "multiple": false,
3256
+ "type": "option"
3227
3257
  }
3228
3258
  },
3229
3259
  "hasDynamicHelp": false,
3230
3260
  "hiddenAliases": [],
3231
- "id": "broadcast:get",
3261
+ "id": "channels:list",
3232
3262
  "pluginAlias": "@instantkom/cli",
3233
3263
  "pluginName": "@instantkom/cli",
3234
3264
  "pluginType": "core",
@@ -3238,14 +3268,20 @@
3238
3268
  "relativePath": [
3239
3269
  "dist",
3240
3270
  "commands",
3241
- "broadcast",
3242
- "get.js"
3271
+ "channels",
3272
+ "list.js"
3243
3273
  ]
3244
3274
  },
3245
- "broadcast:list": {
3275
+ "channels:update": {
3246
3276
  "aliases": [],
3247
- "args": {},
3248
- "description": "List broadcasts",
3277
+ "args": {
3278
+ "id": {
3279
+ "description": "Channel ID",
3280
+ "name": "id",
3281
+ "required": true
3282
+ }
3283
+ },
3284
+ "description": "Update a channel",
3249
3285
  "flags": {
3250
3286
  "api-key": {
3251
3287
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3301,80 +3337,46 @@
3301
3337
  "multiple": false,
3302
3338
  "type": "option"
3303
3339
  },
3304
- "api-url": {
3305
- "description": "Override the API base URL (e.g. for staging)",
3306
- "helpGroup": "GLOBAL",
3307
- "name": "api-url",
3308
- "hasDynamicHelp": false,
3309
- "multiple": false,
3310
- "type": "option"
3311
- },
3312
- "page": {
3313
- "description": "Page number",
3314
- "name": "page",
3315
- "default": 1,
3316
- "hasDynamicHelp": false,
3317
- "multiple": false,
3318
- "type": "option"
3319
- },
3320
- "limit": {
3321
- "description": "Items per page",
3322
- "name": "limit",
3323
- "default": 20,
3324
- "hasDynamicHelp": false,
3325
- "multiple": false,
3326
- "type": "option"
3327
- },
3328
- "channel": {
3329
- "description": "Filter by channel ID",
3330
- "name": "channel",
3340
+ "api-url": {
3341
+ "description": "Override the API base URL (e.g. for staging)",
3342
+ "helpGroup": "GLOBAL",
3343
+ "name": "api-url",
3331
3344
  "hasDynamicHelp": false,
3332
3345
  "multiple": false,
3333
3346
  "type": "option"
3334
3347
  },
3335
- "send-status": {
3336
- "description": "Filter by send status",
3337
- "name": "send-status",
3348
+ "name": {
3349
+ "description": "Channel name",
3350
+ "name": "name",
3338
3351
  "hasDynamicHelp": false,
3339
3352
  "multiple": false,
3340
3353
  "type": "option"
3341
3354
  },
3342
- "type": {
3343
- "description": "Broadcast type",
3344
- "name": "type",
3355
+ "status": {
3356
+ "description": "Channel lifecycle status",
3357
+ "name": "status",
3345
3358
  "hasDynamicHelp": false,
3346
3359
  "multiple": false,
3347
- "options": [
3348
- "text",
3349
- "image",
3350
- "video",
3351
- "audio",
3352
- "document"
3353
- ],
3354
3360
  "type": "option"
3355
3361
  },
3356
- "search": {
3357
- "description": "Search broadcasts",
3358
- "name": "search",
3362
+ "description": {
3363
+ "description": "Channel description",
3364
+ "name": "description",
3359
3365
  "hasDynamicHelp": false,
3360
3366
  "multiple": false,
3361
3367
  "type": "option"
3362
3368
  },
3363
- "test": {
3364
- "description": "Filter test flag: 0 or 1",
3365
- "name": "test",
3369
+ "data": {
3370
+ "description": "Additional JSON object payload",
3371
+ "name": "data",
3366
3372
  "hasDynamicHelp": false,
3367
3373
  "multiple": false,
3368
- "options": [
3369
- "0",
3370
- "1"
3371
- ],
3372
3374
  "type": "option"
3373
3375
  }
3374
3376
  },
3375
3377
  "hasDynamicHelp": false,
3376
3378
  "hiddenAliases": [],
3377
- "id": "broadcast:list",
3379
+ "id": "channels:update",
3378
3380
  "pluginAlias": "@instantkom/cli",
3379
3381
  "pluginName": "@instantkom/cli",
3380
3382
  "pluginType": "core",
@@ -3384,20 +3386,20 @@
3384
3386
  "relativePath": [
3385
3387
  "dist",
3386
3388
  "commands",
3387
- "broadcast",
3388
- "list.js"
3389
+ "channels",
3390
+ "update.js"
3389
3391
  ]
3390
3392
  },
3391
- "broadcast:send": {
3393
+ "chats:get": {
3392
3394
  "aliases": [],
3393
3395
  "args": {
3394
3396
  "id": {
3395
- "description": "Broadcast ID",
3397
+ "description": "chat ID",
3396
3398
  "name": "id",
3397
3399
  "required": true
3398
3400
  }
3399
3401
  },
3400
- "description": "Send a broadcast immediately",
3402
+ "description": "Get chat by ID",
3401
3403
  "flags": {
3402
3404
  "api-key": {
3403
3405
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3464,7 +3466,7 @@
3464
3466
  },
3465
3467
  "hasDynamicHelp": false,
3466
3468
  "hiddenAliases": [],
3467
- "id": "broadcast:send",
3469
+ "id": "chats:get",
3468
3470
  "pluginAlias": "@instantkom/cli",
3469
3471
  "pluginName": "@instantkom/cli",
3470
3472
  "pluginType": "core",
@@ -3474,20 +3476,14 @@
3474
3476
  "relativePath": [
3475
3477
  "dist",
3476
3478
  "commands",
3477
- "broadcast",
3478
- "send.js"
3479
+ "chats",
3480
+ "get.js"
3479
3481
  ]
3480
3482
  },
3481
- "broadcast:status": {
3483
+ "chats:list": {
3482
3484
  "aliases": [],
3483
- "args": {
3484
- "id": {
3485
- "description": "Broadcast ID",
3486
- "name": "id",
3487
- "required": true
3488
- }
3489
- },
3490
- "description": "Show broadcast send status",
3485
+ "args": {},
3486
+ "description": "List chats",
3491
3487
  "flags": {
3492
3488
  "api-key": {
3493
3489
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3550,11 +3546,73 @@
3550
3546
  "hasDynamicHelp": false,
3551
3547
  "multiple": false,
3552
3548
  "type": "option"
3549
+ },
3550
+ "page": {
3551
+ "description": "Page number",
3552
+ "name": "page",
3553
+ "default": 1,
3554
+ "hasDynamicHelp": false,
3555
+ "multiple": false,
3556
+ "type": "option"
3557
+ },
3558
+ "limit": {
3559
+ "description": "Items per page",
3560
+ "name": "limit",
3561
+ "default": 20,
3562
+ "hasDynamicHelp": false,
3563
+ "multiple": false,
3564
+ "type": "option"
3565
+ },
3566
+ "channel": {
3567
+ "description": "Filter by channel ID",
3568
+ "name": "channel",
3569
+ "hasDynamicHelp": false,
3570
+ "multiple": false,
3571
+ "type": "option"
3572
+ },
3573
+ "channels": {
3574
+ "description": "Comma-separated channel IDs",
3575
+ "name": "channels",
3576
+ "hasDynamicHelp": false,
3577
+ "multiple": false,
3578
+ "type": "option"
3579
+ },
3580
+ "search": {
3581
+ "description": "Search chats",
3582
+ "name": "search",
3583
+ "hasDynamicHelp": false,
3584
+ "multiple": false,
3585
+ "type": "option"
3586
+ },
3587
+ "status": {
3588
+ "description": "Chat status",
3589
+ "name": "status",
3590
+ "hasDynamicHelp": false,
3591
+ "multiple": false,
3592
+ "options": [
3593
+ "all",
3594
+ "unread",
3595
+ "read",
3596
+ "archived"
3597
+ ],
3598
+ "type": "option"
3599
+ },
3600
+ "unread-only": {
3601
+ "description": "Only unread chats",
3602
+ "name": "unread-only",
3603
+ "allowNo": false,
3604
+ "type": "boolean"
3605
+ },
3606
+ "include-archived": {
3607
+ "description": "Include archived chats",
3608
+ "name": "include-archived",
3609
+ "allowNo": false,
3610
+ "type": "boolean"
3553
3611
  }
3554
3612
  },
3555
3613
  "hasDynamicHelp": false,
3556
3614
  "hiddenAliases": [],
3557
- "id": "broadcast:status",
3615
+ "id": "chats:list",
3558
3616
  "pluginAlias": "@instantkom/cli",
3559
3617
  "pluginName": "@instantkom/cli",
3560
3618
  "pluginType": "core",
@@ -3564,20 +3622,20 @@
3564
3622
  "relativePath": [
3565
3623
  "dist",
3566
3624
  "commands",
3567
- "broadcast",
3568
- "status.js"
3625
+ "chats",
3626
+ "list.js"
3569
3627
  ]
3570
3628
  },
3571
- "broadcast:update": {
3629
+ "chats:reply": {
3572
3630
  "aliases": [],
3573
3631
  "args": {
3574
3632
  "id": {
3575
- "description": "Broadcast ID",
3633
+ "description": "Chat ID",
3576
3634
  "name": "id",
3577
3635
  "required": true
3578
3636
  }
3579
3637
  },
3580
- "description": "Update a broadcast",
3638
+ "description": "Reply in a chat",
3581
3639
  "flags": {
3582
3640
  "api-key": {
3583
3641
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3642,67 +3700,9 @@
3642
3700
  "type": "option"
3643
3701
  },
3644
3702
  "text": {
3645
- "description": "Broadcast message text",
3703
+ "description": "Reply text",
3646
3704
  "name": "text",
3647
- "hasDynamicHelp": false,
3648
- "multiple": false,
3649
- "type": "option"
3650
- },
3651
- "send-status": {
3652
- "description": "Send status",
3653
- "name": "send-status",
3654
- "hasDynamicHelp": false,
3655
- "multiple": false,
3656
- "type": "option"
3657
- },
3658
- "scheduled-at": {
3659
- "description": "Unix timestamp for scheduled send",
3660
- "name": "scheduled-at",
3661
- "hasDynamicHelp": false,
3662
- "multiple": false,
3663
- "type": "option"
3664
- },
3665
- "approved": {
3666
- "description": "Mark as approved",
3667
- "name": "approved",
3668
- "allowNo": false,
3669
- "type": "boolean"
3670
- },
3671
- "locked": {
3672
- "description": "Mark as locked",
3673
- "name": "locked",
3674
- "allowNo": false,
3675
- "type": "boolean"
3676
- },
3677
- "test": {
3678
- "description": "Mark as test broadcast",
3679
- "name": "test",
3680
- "allowNo": false,
3681
- "type": "boolean"
3682
- },
3683
- "template-id": {
3684
- "description": "Template ID",
3685
- "name": "template-id",
3686
- "hasDynamicHelp": false,
3687
- "multiple": false,
3688
- "type": "option"
3689
- },
3690
- "remove-media": {
3691
- "description": "Remove existing media",
3692
- "name": "remove-media",
3693
- "allowNo": false,
3694
- "type": "boolean"
3695
- },
3696
- "header-footer": {
3697
- "description": "Header/footer JSON array",
3698
- "name": "header-footer",
3699
- "hasDynamicHelp": false,
3700
- "multiple": false,
3701
- "type": "option"
3702
- },
3703
- "data": {
3704
- "description": "Additional JSON object payload",
3705
- "name": "data",
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": "broadcast: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
- "broadcast",
3724
- "update.js"
3723
+ "chats",
3724
+ "reply.js"
3725
3725
  ]
3726
3726
  },
3727
3727
  "config:get": {
@@ -6076,10 +6076,10 @@
6076
6076
  "list.js"
6077
6077
  ]
6078
6078
  },
6079
- "flows:create": {
6079
+ "messages:bulk-spam": {
6080
6080
  "aliases": [],
6081
6081
  "args": {},
6082
- "description": "Create a flow",
6082
+ "description": "Mark or unmark multiple messages as spam",
6083
6083
  "flags": {
6084
6084
  "api-key": {
6085
6085
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6135,62 +6135,32 @@
6135
6135
  "multiple": false,
6136
6136
  "type": "option"
6137
6137
  },
6138
- "api-url": {
6139
- "description": "Override the API base URL (e.g. for staging)",
6140
- "helpGroup": "GLOBAL",
6141
- "name": "api-url",
6142
- "hasDynamicHelp": false,
6143
- "multiple": false,
6144
- "type": "option"
6145
- },
6146
- "channel": {
6147
- "description": "Channel ID",
6148
- "name": "channel",
6149
- "required": true,
6150
- "hasDynamicHelp": false,
6151
- "multiple": false,
6152
- "type": "option"
6153
- },
6154
- "name": {
6155
- "description": "Flow name",
6156
- "name": "name",
6157
- "required": true,
6158
- "hasDynamicHelp": false,
6159
- "multiple": false,
6160
- "type": "option"
6161
- },
6162
- "description": {
6163
- "description": "Flow description",
6164
- "name": "description",
6165
- "hasDynamicHelp": false,
6166
- "multiple": false,
6167
- "type": "option"
6168
- },
6169
- "color": {
6170
- "description": "Flow color as HEX",
6171
- "name": "color",
6172
- "hasDynamicHelp": false,
6173
- "multiple": false,
6174
- "type": "option"
6175
- },
6176
- "folder": {
6177
- "description": "Folder ID",
6178
- "name": "folder",
6138
+ "api-url": {
6139
+ "description": "Override the API base URL (e.g. for staging)",
6140
+ "helpGroup": "GLOBAL",
6141
+ "name": "api-url",
6179
6142
  "hasDynamicHelp": false,
6180
6143
  "multiple": false,
6181
6144
  "type": "option"
6182
6145
  },
6183
- "data": {
6184
- "description": "Additional JSON object payload",
6185
- "name": "data",
6146
+ "ids": {
6147
+ "description": "Comma-separated message IDs",
6148
+ "name": "ids",
6149
+ "required": true,
6186
6150
  "hasDynamicHelp": false,
6187
6151
  "multiple": false,
6188
6152
  "type": "option"
6153
+ },
6154
+ "spam": {
6155
+ "description": "Mark messages as spam",
6156
+ "name": "spam",
6157
+ "allowNo": true,
6158
+ "type": "boolean"
6189
6159
  }
6190
6160
  },
6191
6161
  "hasDynamicHelp": false,
6192
6162
  "hiddenAliases": [],
6193
- "id": "flows:create",
6163
+ "id": "messages:bulk-spam",
6194
6164
  "pluginAlias": "@instantkom/cli",
6195
6165
  "pluginName": "@instantkom/cli",
6196
6166
  "pluginType": "core",
@@ -6200,20 +6170,20 @@
6200
6170
  "relativePath": [
6201
6171
  "dist",
6202
6172
  "commands",
6203
- "flows",
6204
- "create.js"
6173
+ "messages",
6174
+ "bulk-spam.js"
6205
6175
  ]
6206
6176
  },
6207
- "flows:delete": {
6177
+ "messages:create-ticket": {
6208
6178
  "aliases": [],
6209
6179
  "args": {
6210
6180
  "id": {
6211
- "description": "Flow ID",
6181
+ "description": "Message ID",
6212
6182
  "name": "id",
6213
6183
  "required": true
6214
6184
  }
6215
6185
  },
6216
- "description": "Delete a flow",
6186
+ "description": "Create a ticket from a message",
6217
6187
  "flags": {
6218
6188
  "api-key": {
6219
6189
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6276,11 +6246,32 @@
6276
6246
  "hasDynamicHelp": false,
6277
6247
  "multiple": false,
6278
6248
  "type": "option"
6249
+ },
6250
+ "subject": {
6251
+ "description": "Ticket subject",
6252
+ "name": "subject",
6253
+ "hasDynamicHelp": false,
6254
+ "multiple": false,
6255
+ "type": "option"
6256
+ },
6257
+ "priority": {
6258
+ "description": "Ticket priority",
6259
+ "name": "priority",
6260
+ "hasDynamicHelp": false,
6261
+ "multiple": false,
6262
+ "type": "option"
6263
+ },
6264
+ "data": {
6265
+ "description": "Additional JSON object payload",
6266
+ "name": "data",
6267
+ "hasDynamicHelp": false,
6268
+ "multiple": false,
6269
+ "type": "option"
6279
6270
  }
6280
6271
  },
6281
6272
  "hasDynamicHelp": false,
6282
6273
  "hiddenAliases": [],
6283
- "id": "flows:delete",
6274
+ "id": "messages:create-ticket",
6284
6275
  "pluginAlias": "@instantkom/cli",
6285
6276
  "pluginName": "@instantkom/cli",
6286
6277
  "pluginType": "core",
@@ -6290,20 +6281,20 @@
6290
6281
  "relativePath": [
6291
6282
  "dist",
6292
6283
  "commands",
6293
- "flows",
6294
- "delete.js"
6284
+ "messages",
6285
+ "create-ticket.js"
6295
6286
  ]
6296
6287
  },
6297
- "flows:get": {
6288
+ "messages:delete": {
6298
6289
  "aliases": [],
6299
6290
  "args": {
6300
6291
  "id": {
6301
- "description": "Flow ID",
6292
+ "description": "message ID",
6302
6293
  "name": "id",
6303
6294
  "required": true
6304
6295
  }
6305
6296
  },
6306
- "description": "Get a flow by ID",
6297
+ "description": "Delete message",
6307
6298
  "flags": {
6308
6299
  "api-key": {
6309
6300
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6370,7 +6361,7 @@
6370
6361
  },
6371
6362
  "hasDynamicHelp": false,
6372
6363
  "hiddenAliases": [],
6373
- "id": "flows:get",
6364
+ "id": "messages:delete",
6374
6365
  "pluginAlias": "@instantkom/cli",
6375
6366
  "pluginName": "@instantkom/cli",
6376
6367
  "pluginType": "core",
@@ -6380,14 +6371,20 @@
6380
6371
  "relativePath": [
6381
6372
  "dist",
6382
6373
  "commands",
6383
- "flows",
6384
- "get.js"
6374
+ "messages",
6375
+ "delete.js"
6385
6376
  ]
6386
6377
  },
6387
- "flows:list": {
6378
+ "messages:get": {
6388
6379
  "aliases": [],
6389
- "args": {},
6390
- "description": "List flows",
6380
+ "args": {
6381
+ "id": {
6382
+ "description": "message ID",
6383
+ "name": "id",
6384
+ "required": true
6385
+ }
6386
+ },
6387
+ "description": "Get message by ID",
6391
6388
  "flags": {
6392
6389
  "api-key": {
6393
6390
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6450,48 +6447,11 @@
6450
6447
  "hasDynamicHelp": false,
6451
6448
  "multiple": false,
6452
6449
  "type": "option"
6453
- },
6454
- "page": {
6455
- "description": "Page number",
6456
- "name": "page",
6457
- "default": 1,
6458
- "hasDynamicHelp": false,
6459
- "multiple": false,
6460
- "type": "option"
6461
- },
6462
- "limit": {
6463
- "description": "Items per page",
6464
- "name": "limit",
6465
- "default": 20,
6466
- "hasDynamicHelp": false,
6467
- "multiple": false,
6468
- "type": "option"
6469
- },
6470
- "channel": {
6471
- "description": "Filter by channel ID",
6472
- "name": "channel",
6473
- "hasDynamicHelp": false,
6474
- "multiple": false,
6475
- "type": "option"
6476
- },
6477
- "search": {
6478
- "description": "Search in flow name or description",
6479
- "name": "search",
6480
- "hasDynamicHelp": false,
6481
- "multiple": false,
6482
- "type": "option"
6483
- },
6484
- "folder": {
6485
- "description": "Filter by folder ID",
6486
- "name": "folder",
6487
- "hasDynamicHelp": false,
6488
- "multiple": false,
6489
- "type": "option"
6490
6450
  }
6491
6451
  },
6492
6452
  "hasDynamicHelp": false,
6493
6453
  "hiddenAliases": [],
6494
- "id": "flows:list",
6454
+ "id": "messages:get",
6495
6455
  "pluginAlias": "@instantkom/cli",
6496
6456
  "pluginName": "@instantkom/cli",
6497
6457
  "pluginType": "core",
@@ -6501,20 +6461,14 @@
6501
6461
  "relativePath": [
6502
6462
  "dist",
6503
6463
  "commands",
6504
- "flows",
6505
- "list.js"
6464
+ "messages",
6465
+ "get.js"
6506
6466
  ]
6507
6467
  },
6508
- "flows:update": {
6468
+ "messages:list": {
6509
6469
  "aliases": [],
6510
- "args": {
6511
- "id": {
6512
- "description": "Flow ID",
6513
- "name": "id",
6514
- "required": true
6515
- }
6516
- },
6517
- "description": "Update a flow",
6470
+ "args": {},
6471
+ "description": "List messages",
6518
6472
  "flags": {
6519
6473
  "api-key": {
6520
6474
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6578,45 +6532,71 @@
6578
6532
  "multiple": false,
6579
6533
  "type": "option"
6580
6534
  },
6581
- "name": {
6582
- "description": "Flow name",
6583
- "name": "name",
6535
+ "page": {
6536
+ "description": "Page number",
6537
+ "name": "page",
6538
+ "default": 1,
6584
6539
  "hasDynamicHelp": false,
6585
6540
  "multiple": false,
6586
6541
  "type": "option"
6587
6542
  },
6588
- "description": {
6589
- "description": "Flow description",
6590
- "name": "description",
6543
+ "limit": {
6544
+ "description": "Items per page",
6545
+ "name": "limit",
6546
+ "default": 20,
6591
6547
  "hasDynamicHelp": false,
6592
6548
  "multiple": false,
6593
6549
  "type": "option"
6594
6550
  },
6595
- "color": {
6596
- "description": "Flow color as HEX",
6597
- "name": "color",
6551
+ "channel": {
6552
+ "description": "Filter by channel ID",
6553
+ "name": "channel",
6598
6554
  "hasDynamicHelp": false,
6599
6555
  "multiple": false,
6600
6556
  "type": "option"
6601
6557
  },
6602
- "folder": {
6603
- "description": "Folder ID",
6604
- "name": "folder",
6558
+ "recipient": {
6559
+ "description": "Filter by recipient ID",
6560
+ "name": "recipient",
6605
6561
  "hasDynamicHelp": false,
6606
6562
  "multiple": false,
6607
6563
  "type": "option"
6608
6564
  },
6609
- "data": {
6610
- "description": "Additional JSON object payload",
6611
- "name": "data",
6565
+ "direction": {
6566
+ "description": "Direction",
6567
+ "name": "direction",
6568
+ "hasDynamicHelp": false,
6569
+ "multiple": false,
6570
+ "options": [
6571
+ "s",
6572
+ "r"
6573
+ ],
6574
+ "type": "option"
6575
+ },
6576
+ "type": {
6577
+ "description": "Message type",
6578
+ "name": "type",
6579
+ "hasDynamicHelp": false,
6580
+ "multiple": false,
6581
+ "type": "option"
6582
+ },
6583
+ "search": {
6584
+ "description": "Search messages",
6585
+ "name": "search",
6612
6586
  "hasDynamicHelp": false,
6613
6587
  "multiple": false,
6614
6588
  "type": "option"
6589
+ },
6590
+ "spam": {
6591
+ "description": "Filter spam messages",
6592
+ "name": "spam",
6593
+ "allowNo": false,
6594
+ "type": "boolean"
6615
6595
  }
6616
6596
  },
6617
6597
  "hasDynamicHelp": false,
6618
6598
  "hiddenAliases": [],
6619
- "id": "flows:update",
6599
+ "id": "messages:list",
6620
6600
  "pluginAlias": "@instantkom/cli",
6621
6601
  "pluginName": "@instantkom/cli",
6622
6602
  "pluginType": "core",
@@ -6626,14 +6606,20 @@
6626
6606
  "relativePath": [
6627
6607
  "dist",
6628
6608
  "commands",
6629
- "flows",
6630
- "update.js"
6609
+ "messages",
6610
+ "list.js"
6631
6611
  ]
6632
6612
  },
6633
- "messages:bulk-spam": {
6613
+ "messages:reactions": {
6634
6614
  "aliases": [],
6635
- "args": {},
6636
- "description": "Mark or unmark multiple messages as spam",
6615
+ "args": {
6616
+ "id": {
6617
+ "description": "Message ID",
6618
+ "name": "id",
6619
+ "required": true
6620
+ }
6621
+ },
6622
+ "description": "Get reactions to a message",
6637
6623
  "flags": {
6638
6624
  "api-key": {
6639
6625
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6696,25 +6682,11 @@
6696
6682
  "hasDynamicHelp": false,
6697
6683
  "multiple": false,
6698
6684
  "type": "option"
6699
- },
6700
- "ids": {
6701
- "description": "Comma-separated message IDs",
6702
- "name": "ids",
6703
- "required": true,
6704
- "hasDynamicHelp": false,
6705
- "multiple": false,
6706
- "type": "option"
6707
- },
6708
- "spam": {
6709
- "description": "Mark messages as spam",
6710
- "name": "spam",
6711
- "allowNo": true,
6712
- "type": "boolean"
6713
6685
  }
6714
6686
  },
6715
6687
  "hasDynamicHelp": false,
6716
6688
  "hiddenAliases": [],
6717
- "id": "messages:bulk-spam",
6689
+ "id": "messages:reactions",
6718
6690
  "pluginAlias": "@instantkom/cli",
6719
6691
  "pluginName": "@instantkom/cli",
6720
6692
  "pluginType": "core",
@@ -6725,10 +6697,10 @@
6725
6697
  "dist",
6726
6698
  "commands",
6727
6699
  "messages",
6728
- "bulk-spam.js"
6700
+ "reactions.js"
6729
6701
  ]
6730
6702
  },
6731
- "messages:create-ticket": {
6703
+ "messages:spam": {
6732
6704
  "aliases": [],
6733
6705
  "args": {
6734
6706
  "id": {
@@ -6737,7 +6709,7 @@
6737
6709
  "required": true
6738
6710
  }
6739
6711
  },
6740
- "description": "Create a ticket from a message",
6712
+ "description": "Mark or unmark a message as spam",
6741
6713
  "flags": {
6742
6714
  "api-key": {
6743
6715
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6801,31 +6773,16 @@
6801
6773
  "multiple": false,
6802
6774
  "type": "option"
6803
6775
  },
6804
- "subject": {
6805
- "description": "Ticket subject",
6806
- "name": "subject",
6807
- "hasDynamicHelp": false,
6808
- "multiple": false,
6809
- "type": "option"
6810
- },
6811
- "priority": {
6812
- "description": "Ticket priority",
6813
- "name": "priority",
6814
- "hasDynamicHelp": false,
6815
- "multiple": false,
6816
- "type": "option"
6817
- },
6818
- "data": {
6819
- "description": "Additional JSON object payload",
6820
- "name": "data",
6821
- "hasDynamicHelp": false,
6822
- "multiple": false,
6823
- "type": "option"
6776
+ "spam": {
6777
+ "description": "Mark as spam",
6778
+ "name": "spam",
6779
+ "allowNo": true,
6780
+ "type": "boolean"
6824
6781
  }
6825
6782
  },
6826
6783
  "hasDynamicHelp": false,
6827
6784
  "hiddenAliases": [],
6828
- "id": "messages:create-ticket",
6785
+ "id": "messages:spam",
6829
6786
  "pluginAlias": "@instantkom/cli",
6830
6787
  "pluginName": "@instantkom/cli",
6831
6788
  "pluginType": "core",
@@ -6836,19 +6793,13 @@
6836
6793
  "dist",
6837
6794
  "commands",
6838
6795
  "messages",
6839
- "create-ticket.js"
6796
+ "spam.js"
6840
6797
  ]
6841
6798
  },
6842
- "messages:delete": {
6799
+ "messages:unread-count": {
6843
6800
  "aliases": [],
6844
- "args": {
6845
- "id": {
6846
- "description": "message ID",
6847
- "name": "id",
6848
- "required": true
6849
- }
6850
- },
6851
- "description": "Delete message",
6801
+ "args": {},
6802
+ "description": "Get unread inbox message count",
6852
6803
  "flags": {
6853
6804
  "api-key": {
6854
6805
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6915,7 +6866,7 @@
6915
6866
  },
6916
6867
  "hasDynamicHelp": false,
6917
6868
  "hiddenAliases": [],
6918
- "id": "messages:delete",
6869
+ "id": "messages:unread-count",
6919
6870
  "pluginAlias": "@instantkom/cli",
6920
6871
  "pluginName": "@instantkom/cli",
6921
6872
  "pluginType": "core",
@@ -6926,19 +6877,19 @@
6926
6877
  "dist",
6927
6878
  "commands",
6928
6879
  "messages",
6929
- "delete.js"
6880
+ "unread-count.js"
6930
6881
  ]
6931
6882
  },
6932
- "messages:get": {
6883
+ "messages:update": {
6933
6884
  "aliases": [],
6934
6885
  "args": {
6935
6886
  "id": {
6936
- "description": "message ID",
6887
+ "description": "Message ID",
6937
6888
  "name": "id",
6938
6889
  "required": true
6939
6890
  }
6940
6891
  },
6941
- "description": "Get message by ID",
6892
+ "description": "Update a message",
6942
6893
  "flags": {
6943
6894
  "api-key": {
6944
6895
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7001,11 +6952,58 @@
7001
6952
  "hasDynamicHelp": false,
7002
6953
  "multiple": false,
7003
6954
  "type": "option"
6955
+ },
6956
+ "message": {
6957
+ "description": "Message content",
6958
+ "name": "message",
6959
+ "hasDynamicHelp": false,
6960
+ "multiple": false,
6961
+ "type": "option"
6962
+ },
6963
+ "scheduled-at": {
6964
+ "description": "Unix timestamp for scheduled send",
6965
+ "name": "scheduled-at",
6966
+ "hasDynamicHelp": false,
6967
+ "multiple": false,
6968
+ "type": "option"
6969
+ },
6970
+ "hidden": {
6971
+ "description": "Hide message",
6972
+ "name": "hidden",
6973
+ "allowNo": true,
6974
+ "type": "boolean"
6975
+ },
6976
+ "locked": {
6977
+ "description": "Lock message",
6978
+ "name": "locked",
6979
+ "allowNo": true,
6980
+ "type": "boolean"
6981
+ },
6982
+ "buttons": {
6983
+ "description": "Buttons JSON array",
6984
+ "name": "buttons",
6985
+ "hasDynamicHelp": false,
6986
+ "multiple": false,
6987
+ "type": "option"
6988
+ },
6989
+ "header-footer": {
6990
+ "description": "Header/footer JSON object",
6991
+ "name": "header-footer",
6992
+ "hasDynamicHelp": false,
6993
+ "multiple": false,
6994
+ "type": "option"
6995
+ },
6996
+ "data": {
6997
+ "description": "Additional JSON object payload",
6998
+ "name": "data",
6999
+ "hasDynamicHelp": false,
7000
+ "multiple": false,
7001
+ "type": "option"
7004
7002
  }
7005
7003
  },
7006
7004
  "hasDynamicHelp": false,
7007
7005
  "hiddenAliases": [],
7008
- "id": "messages:get",
7006
+ "id": "messages:update",
7009
7007
  "pluginAlias": "@instantkom/cli",
7010
7008
  "pluginName": "@instantkom/cli",
7011
7009
  "pluginType": "core",
@@ -7016,13 +7014,13 @@
7016
7014
  "dist",
7017
7015
  "commands",
7018
7016
  "messages",
7019
- "get.js"
7017
+ "update.js"
7020
7018
  ]
7021
7019
  },
7022
- "messages:list": {
7020
+ "flows:create": {
7023
7021
  "aliases": [],
7024
7022
  "args": {},
7025
- "description": "List messages",
7023
+ "description": "Create a flow",
7026
7024
  "flags": {
7027
7025
  "api-key": {
7028
7026
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7086,71 +7084,54 @@
7086
7084
  "multiple": false,
7087
7085
  "type": "option"
7088
7086
  },
7089
- "page": {
7090
- "description": "Page number",
7091
- "name": "page",
7092
- "default": 1,
7093
- "hasDynamicHelp": false,
7094
- "multiple": false,
7095
- "type": "option"
7096
- },
7097
- "limit": {
7098
- "description": "Items per page",
7099
- "name": "limit",
7100
- "default": 20,
7087
+ "channel": {
7088
+ "description": "Channel ID",
7089
+ "name": "channel",
7090
+ "required": true,
7101
7091
  "hasDynamicHelp": false,
7102
7092
  "multiple": false,
7103
7093
  "type": "option"
7104
7094
  },
7105
- "channel": {
7106
- "description": "Filter by channel ID",
7107
- "name": "channel",
7095
+ "name": {
7096
+ "description": "Flow name",
7097
+ "name": "name",
7098
+ "required": true,
7108
7099
  "hasDynamicHelp": false,
7109
7100
  "multiple": false,
7110
7101
  "type": "option"
7111
7102
  },
7112
- "recipient": {
7113
- "description": "Filter by recipient ID",
7114
- "name": "recipient",
7103
+ "description": {
7104
+ "description": "Flow description",
7105
+ "name": "description",
7115
7106
  "hasDynamicHelp": false,
7116
7107
  "multiple": false,
7117
7108
  "type": "option"
7118
7109
  },
7119
- "direction": {
7120
- "description": "Direction",
7121
- "name": "direction",
7110
+ "color": {
7111
+ "description": "Flow color as HEX",
7112
+ "name": "color",
7122
7113
  "hasDynamicHelp": false,
7123
7114
  "multiple": false,
7124
- "options": [
7125
- "s",
7126
- "r"
7127
- ],
7128
7115
  "type": "option"
7129
7116
  },
7130
- "type": {
7131
- "description": "Message type",
7132
- "name": "type",
7117
+ "folder": {
7118
+ "description": "Folder ID",
7119
+ "name": "folder",
7133
7120
  "hasDynamicHelp": false,
7134
7121
  "multiple": false,
7135
7122
  "type": "option"
7136
7123
  },
7137
- "search": {
7138
- "description": "Search messages",
7139
- "name": "search",
7124
+ "data": {
7125
+ "description": "Additional JSON object payload",
7126
+ "name": "data",
7140
7127
  "hasDynamicHelp": false,
7141
7128
  "multiple": false,
7142
7129
  "type": "option"
7143
- },
7144
- "spam": {
7145
- "description": "Filter spam messages",
7146
- "name": "spam",
7147
- "allowNo": false,
7148
- "type": "boolean"
7149
7130
  }
7150
7131
  },
7151
7132
  "hasDynamicHelp": false,
7152
7133
  "hiddenAliases": [],
7153
- "id": "messages:list",
7134
+ "id": "flows:create",
7154
7135
  "pluginAlias": "@instantkom/cli",
7155
7136
  "pluginName": "@instantkom/cli",
7156
7137
  "pluginType": "core",
@@ -7160,20 +7141,20 @@
7160
7141
  "relativePath": [
7161
7142
  "dist",
7162
7143
  "commands",
7163
- "messages",
7164
- "list.js"
7144
+ "flows",
7145
+ "create.js"
7165
7146
  ]
7166
7147
  },
7167
- "messages:reactions": {
7148
+ "flows:delete": {
7168
7149
  "aliases": [],
7169
7150
  "args": {
7170
7151
  "id": {
7171
- "description": "Message ID",
7152
+ "description": "Flow ID",
7172
7153
  "name": "id",
7173
7154
  "required": true
7174
7155
  }
7175
7156
  },
7176
- "description": "Get reactions to a message",
7157
+ "description": "Delete a flow",
7177
7158
  "flags": {
7178
7159
  "api-key": {
7179
7160
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7240,7 +7221,7 @@
7240
7221
  },
7241
7222
  "hasDynamicHelp": false,
7242
7223
  "hiddenAliases": [],
7243
- "id": "messages:reactions",
7224
+ "id": "flows:delete",
7244
7225
  "pluginAlias": "@instantkom/cli",
7245
7226
  "pluginName": "@instantkom/cli",
7246
7227
  "pluginType": "core",
@@ -7250,20 +7231,20 @@
7250
7231
  "relativePath": [
7251
7232
  "dist",
7252
7233
  "commands",
7253
- "messages",
7254
- "reactions.js"
7234
+ "flows",
7235
+ "delete.js"
7255
7236
  ]
7256
7237
  },
7257
- "messages:spam": {
7238
+ "flows:get": {
7258
7239
  "aliases": [],
7259
7240
  "args": {
7260
7241
  "id": {
7261
- "description": "Message ID",
7242
+ "description": "Flow ID",
7262
7243
  "name": "id",
7263
7244
  "required": true
7264
7245
  }
7265
7246
  },
7266
- "description": "Mark or unmark a message as spam",
7247
+ "description": "Get a flow by ID",
7267
7248
  "flags": {
7268
7249
  "api-key": {
7269
7250
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7326,17 +7307,11 @@
7326
7307
  "hasDynamicHelp": false,
7327
7308
  "multiple": false,
7328
7309
  "type": "option"
7329
- },
7330
- "spam": {
7331
- "description": "Mark as spam",
7332
- "name": "spam",
7333
- "allowNo": true,
7334
- "type": "boolean"
7335
7310
  }
7336
7311
  },
7337
7312
  "hasDynamicHelp": false,
7338
7313
  "hiddenAliases": [],
7339
- "id": "messages:spam",
7314
+ "id": "flows:get",
7340
7315
  "pluginAlias": "@instantkom/cli",
7341
7316
  "pluginName": "@instantkom/cli",
7342
7317
  "pluginType": "core",
@@ -7346,14 +7321,14 @@
7346
7321
  "relativePath": [
7347
7322
  "dist",
7348
7323
  "commands",
7349
- "messages",
7350
- "spam.js"
7324
+ "flows",
7325
+ "get.js"
7351
7326
  ]
7352
7327
  },
7353
- "messages:unread-count": {
7328
+ "flows:list": {
7354
7329
  "aliases": [],
7355
7330
  "args": {},
7356
- "description": "Get unread inbox message count",
7331
+ "description": "List flows",
7357
7332
  "flags": {
7358
7333
  "api-key": {
7359
7334
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7416,11 +7391,48 @@
7416
7391
  "hasDynamicHelp": false,
7417
7392
  "multiple": false,
7418
7393
  "type": "option"
7394
+ },
7395
+ "page": {
7396
+ "description": "Page number",
7397
+ "name": "page",
7398
+ "default": 1,
7399
+ "hasDynamicHelp": false,
7400
+ "multiple": false,
7401
+ "type": "option"
7402
+ },
7403
+ "limit": {
7404
+ "description": "Items per page",
7405
+ "name": "limit",
7406
+ "default": 20,
7407
+ "hasDynamicHelp": false,
7408
+ "multiple": false,
7409
+ "type": "option"
7410
+ },
7411
+ "channel": {
7412
+ "description": "Filter by channel ID",
7413
+ "name": "channel",
7414
+ "hasDynamicHelp": false,
7415
+ "multiple": false,
7416
+ "type": "option"
7417
+ },
7418
+ "search": {
7419
+ "description": "Search in flow name or description",
7420
+ "name": "search",
7421
+ "hasDynamicHelp": false,
7422
+ "multiple": false,
7423
+ "type": "option"
7424
+ },
7425
+ "folder": {
7426
+ "description": "Filter by folder ID",
7427
+ "name": "folder",
7428
+ "hasDynamicHelp": false,
7429
+ "multiple": false,
7430
+ "type": "option"
7419
7431
  }
7420
7432
  },
7421
7433
  "hasDynamicHelp": false,
7422
7434
  "hiddenAliases": [],
7423
- "id": "messages:unread-count",
7435
+ "id": "flows:list",
7424
7436
  "pluginAlias": "@instantkom/cli",
7425
7437
  "pluginName": "@instantkom/cli",
7426
7438
  "pluginType": "core",
@@ -7430,20 +7442,20 @@
7430
7442
  "relativePath": [
7431
7443
  "dist",
7432
7444
  "commands",
7433
- "messages",
7434
- "unread-count.js"
7445
+ "flows",
7446
+ "list.js"
7435
7447
  ]
7436
7448
  },
7437
- "messages:update": {
7449
+ "flows:update": {
7438
7450
  "aliases": [],
7439
7451
  "args": {
7440
7452
  "id": {
7441
- "description": "Message ID",
7453
+ "description": "Flow ID",
7442
7454
  "name": "id",
7443
7455
  "required": true
7444
7456
  }
7445
7457
  },
7446
- "description": "Update a message",
7458
+ "description": "Update a flow",
7447
7459
  "flags": {
7448
7460
  "api-key": {
7449
7461
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7507,42 +7519,30 @@
7507
7519
  "multiple": false,
7508
7520
  "type": "option"
7509
7521
  },
7510
- "message": {
7511
- "description": "Message content",
7512
- "name": "message",
7513
- "hasDynamicHelp": false,
7514
- "multiple": false,
7515
- "type": "option"
7516
- },
7517
- "scheduled-at": {
7518
- "description": "Unix timestamp for scheduled send",
7519
- "name": "scheduled-at",
7522
+ "name": {
7523
+ "description": "Flow name",
7524
+ "name": "name",
7520
7525
  "hasDynamicHelp": false,
7521
7526
  "multiple": false,
7522
- "type": "option"
7523
- },
7524
- "hidden": {
7525
- "description": "Hide message",
7526
- "name": "hidden",
7527
- "allowNo": true,
7528
- "type": "boolean"
7529
- },
7530
- "locked": {
7531
- "description": "Lock message",
7532
- "name": "locked",
7533
- "allowNo": true,
7534
- "type": "boolean"
7527
+ "type": "option"
7535
7528
  },
7536
- "buttons": {
7537
- "description": "Buttons JSON array",
7538
- "name": "buttons",
7529
+ "description": {
7530
+ "description": "Flow description",
7531
+ "name": "description",
7539
7532
  "hasDynamicHelp": false,
7540
7533
  "multiple": false,
7541
7534
  "type": "option"
7542
7535
  },
7543
- "header-footer": {
7544
- "description": "Header/footer JSON object",
7545
- "name": "header-footer",
7536
+ "color": {
7537
+ "description": "Flow color as HEX",
7538
+ "name": "color",
7539
+ "hasDynamicHelp": false,
7540
+ "multiple": false,
7541
+ "type": "option"
7542
+ },
7543
+ "folder": {
7544
+ "description": "Folder ID",
7545
+ "name": "folder",
7546
7546
  "hasDynamicHelp": false,
7547
7547
  "multiple": false,
7548
7548
  "type": "option"
@@ -7557,7 +7557,7 @@
7557
7557
  },
7558
7558
  "hasDynamicHelp": false,
7559
7559
  "hiddenAliases": [],
7560
- "id": "messages:update",
7560
+ "id": "flows:update",
7561
7561
  "pluginAlias": "@instantkom/cli",
7562
7562
  "pluginName": "@instantkom/cli",
7563
7563
  "pluginType": "core",
@@ -7567,7 +7567,7 @@
7567
7567
  "relativePath": [
7568
7568
  "dist",
7569
7569
  "commands",
7570
- "messages",
7570
+ "flows",
7571
7571
  "update.js"
7572
7572
  ]
7573
7573
  },
@@ -8968,10 +8968,10 @@
8968
8968
  "validate-import.js"
8969
8969
  ]
8970
8970
  },
8971
- "team:create": {
8971
+ "templates:create": {
8972
8972
  "aliases": [],
8973
8973
  "args": {},
8974
- "description": "Create a team member",
8974
+ "description": "Create a message template",
8975
8975
  "flags": {
8976
8976
  "api-key": {
8977
8977
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9035,62 +9035,78 @@
9035
9035
  "multiple": false,
9036
9036
  "type": "option"
9037
9037
  },
9038
- "email": {
9039
- "description": "Email address",
9040
- "name": "email",
9038
+ "channel": {
9039
+ "description": "Channel ID",
9040
+ "name": "channel",
9041
9041
  "required": true,
9042
9042
  "hasDynamicHelp": false,
9043
9043
  "multiple": false,
9044
9044
  "type": "option"
9045
9045
  },
9046
- "first-name": {
9047
- "description": "First name",
9048
- "name": "first-name",
9046
+ "name": {
9047
+ "description": "Template name",
9048
+ "name": "name",
9049
9049
  "required": true,
9050
9050
  "hasDynamicHelp": false,
9051
9051
  "multiple": false,
9052
9052
  "type": "option"
9053
9053
  },
9054
- "last-name": {
9055
- "description": "Last name",
9056
- "name": "last-name",
9057
- "required": true,
9054
+ "type": {
9055
+ "description": "Template type",
9056
+ "name": "type",
9057
+ "default": "text",
9058
9058
  "hasDynamicHelp": false,
9059
9059
  "multiple": false,
9060
+ "options": [
9061
+ "text",
9062
+ "image",
9063
+ "video",
9064
+ "document",
9065
+ "audio",
9066
+ "location",
9067
+ "contact",
9068
+ "interactive"
9069
+ ],
9060
9070
  "type": "option"
9061
9071
  },
9062
- "password": {
9063
- "description": "Initial password",
9064
- "name": "password",
9072
+ "message": {
9073
+ "description": "Template message",
9074
+ "name": "message",
9065
9075
  "required": true,
9066
9076
  "hasDynamicHelp": false,
9067
9077
  "multiple": false,
9068
9078
  "type": "option"
9069
9079
  },
9070
- "phone": {
9071
- "description": "Phone number",
9072
- "name": "phone",
9080
+ "color": {
9081
+ "description": "Template color as HEX",
9082
+ "name": "color",
9073
9083
  "hasDynamicHelp": false,
9074
9084
  "multiple": false,
9075
9085
  "type": "option"
9076
9086
  },
9077
- "company": {
9078
- "description": "Company name",
9079
- "name": "company",
9087
+ "status": {
9088
+ "description": "Template is active",
9089
+ "name": "status",
9090
+ "allowNo": true,
9091
+ "type": "boolean"
9092
+ },
9093
+ "whatsapp-language": {
9094
+ "description": "WhatsApp template language",
9095
+ "name": "whatsapp-language",
9080
9096
  "hasDynamicHelp": false,
9081
9097
  "multiple": false,
9082
9098
  "type": "option"
9083
9099
  },
9084
- "color": {
9085
- "description": "Color as HEX",
9086
- "name": "color",
9100
+ "buttons": {
9101
+ "description": "Buttons JSON array/object",
9102
+ "name": "buttons",
9087
9103
  "hasDynamicHelp": false,
9088
9104
  "multiple": false,
9089
9105
  "type": "option"
9090
9106
  },
9091
- "folder": {
9092
- "description": "Object folder ID",
9093
- "name": "folder",
9107
+ "header-footer": {
9108
+ "description": "Header/footer JSON object",
9109
+ "name": "header-footer",
9094
9110
  "hasDynamicHelp": false,
9095
9111
  "multiple": false,
9096
9112
  "type": "option"
@@ -9105,7 +9121,7 @@
9105
9121
  },
9106
9122
  "hasDynamicHelp": false,
9107
9123
  "hiddenAliases": [],
9108
- "id": "team:create",
9124
+ "id": "templates:create",
9109
9125
  "pluginAlias": "@instantkom/cli",
9110
9126
  "pluginName": "@instantkom/cli",
9111
9127
  "pluginType": "core",
@@ -9115,20 +9131,20 @@
9115
9131
  "relativePath": [
9116
9132
  "dist",
9117
9133
  "commands",
9118
- "team",
9134
+ "templates",
9119
9135
  "create.js"
9120
9136
  ]
9121
9137
  },
9122
- "team:delete": {
9138
+ "templates:delete": {
9123
9139
  "aliases": [],
9124
9140
  "args": {
9125
9141
  "id": {
9126
- "description": "Team member ID",
9142
+ "description": "template ID",
9127
9143
  "name": "id",
9128
9144
  "required": true
9129
9145
  }
9130
9146
  },
9131
- "description": "Delete a team member",
9147
+ "description": "Delete template",
9132
9148
  "flags": {
9133
9149
  "api-key": {
9134
9150
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9195,7 +9211,7 @@
9195
9211
  },
9196
9212
  "hasDynamicHelp": false,
9197
9213
  "hiddenAliases": [],
9198
- "id": "team:delete",
9214
+ "id": "templates:delete",
9199
9215
  "pluginAlias": "@instantkom/cli",
9200
9216
  "pluginName": "@instantkom/cli",
9201
9217
  "pluginType": "core",
@@ -9205,14 +9221,14 @@
9205
9221
  "relativePath": [
9206
9222
  "dist",
9207
9223
  "commands",
9208
- "team",
9224
+ "templates",
9209
9225
  "delete.js"
9210
9226
  ]
9211
9227
  },
9212
- "team:list": {
9228
+ "templates:export": {
9213
9229
  "aliases": [],
9214
9230
  "args": {},
9215
- "description": "List team members",
9231
+ "description": "Export templates to a file",
9216
9232
  "flags": {
9217
9233
  "api-key": {
9218
9234
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9224,17 +9240,14 @@
9224
9240
  "type": "option"
9225
9241
  },
9226
9242
  "format": {
9227
- "description": "Output format: text, json, yaml, or table",
9228
- "helpGroup": "GLOBAL",
9243
+ "description": "Export format",
9229
9244
  "name": "format",
9230
- "default": "text",
9245
+ "default": "json",
9231
9246
  "hasDynamicHelp": false,
9232
9247
  "multiple": false,
9233
9248
  "options": [
9234
- "text",
9235
- "json",
9236
- "yaml",
9237
- "table"
9249
+ "csv",
9250
+ "json"
9238
9251
  ],
9239
9252
  "type": "option"
9240
9253
  },
@@ -9275,11 +9288,26 @@
9275
9288
  "hasDynamicHelp": false,
9276
9289
  "multiple": false,
9277
9290
  "type": "option"
9291
+ },
9292
+ "file": {
9293
+ "description": "Output file path",
9294
+ "name": "file",
9295
+ "required": true,
9296
+ "hasDynamicHelp": false,
9297
+ "multiple": false,
9298
+ "type": "option"
9299
+ },
9300
+ "channel": {
9301
+ "description": "Filter by channel ID",
9302
+ "name": "channel",
9303
+ "hasDynamicHelp": false,
9304
+ "multiple": false,
9305
+ "type": "option"
9278
9306
  }
9279
9307
  },
9280
9308
  "hasDynamicHelp": false,
9281
9309
  "hiddenAliases": [],
9282
- "id": "team:list",
9310
+ "id": "templates:export",
9283
9311
  "pluginAlias": "@instantkom/cli",
9284
9312
  "pluginName": "@instantkom/cli",
9285
9313
  "pluginType": "core",
@@ -9289,156 +9317,79 @@
9289
9317
  "relativePath": [
9290
9318
  "dist",
9291
9319
  "commands",
9292
- "team",
9293
- "list.js"
9320
+ "templates",
9321
+ "export.js"
9294
9322
  ]
9295
9323
  },
9296
- "templates:create": {
9324
+ "templates:get": {
9297
9325
  "aliases": [],
9298
- "args": {},
9299
- "description": "Create a message template",
9300
- "flags": {
9301
- "api-key": {
9302
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
9303
- "env": "IKM_API_KEY",
9304
- "helpGroup": "GLOBAL",
9305
- "name": "api-key",
9306
- "hasDynamicHelp": false,
9307
- "multiple": false,
9308
- "type": "option"
9309
- },
9310
- "format": {
9311
- "description": "Output format: text, json, yaml, or table",
9312
- "helpGroup": "GLOBAL",
9313
- "name": "format",
9314
- "default": "text",
9315
- "hasDynamicHelp": false,
9316
- "multiple": false,
9317
- "options": [
9318
- "text",
9319
- "json",
9320
- "yaml",
9321
- "table"
9322
- ],
9323
- "type": "option"
9324
- },
9325
- "json": {
9326
- "description": "Output in JSON format (alias for --format=json)",
9327
- "helpGroup": "GLOBAL",
9328
- "name": "json",
9329
- "allowNo": false,
9330
- "type": "boolean"
9331
- },
9332
- "quiet": {
9333
- "description": "Suppress all output except errors",
9334
- "helpGroup": "GLOBAL",
9335
- "name": "quiet",
9336
- "allowNo": false,
9337
- "type": "boolean"
9338
- },
9339
- "no-color": {
9340
- "description": "Disable color output",
9341
- "helpGroup": "GLOBAL",
9342
- "name": "no-color",
9343
- "allowNo": false,
9344
- "type": "boolean"
9345
- },
9346
- "profile": {
9347
- "description": "Named configuration profile to use",
9348
- "helpGroup": "GLOBAL",
9349
- "name": "profile",
9350
- "default": "default",
9351
- "hasDynamicHelp": false,
9352
- "multiple": false,
9353
- "type": "option"
9354
- },
9355
- "api-url": {
9356
- "description": "Override the API base URL (e.g. for staging)",
9357
- "helpGroup": "GLOBAL",
9358
- "name": "api-url",
9359
- "hasDynamicHelp": false,
9360
- "multiple": false,
9361
- "type": "option"
9362
- },
9363
- "channel": {
9364
- "description": "Channel ID",
9365
- "name": "channel",
9366
- "required": true,
9367
- "hasDynamicHelp": false,
9368
- "multiple": false,
9369
- "type": "option"
9370
- },
9371
- "name": {
9372
- "description": "Template name",
9373
- "name": "name",
9374
- "required": true,
9375
- "hasDynamicHelp": false,
9376
- "multiple": false,
9377
- "type": "option"
9378
- },
9379
- "type": {
9380
- "description": "Template type",
9381
- "name": "type",
9382
- "default": "text",
9383
- "hasDynamicHelp": false,
9384
- "multiple": false,
9385
- "options": [
9386
- "text",
9387
- "image",
9388
- "video",
9389
- "document",
9390
- "audio",
9391
- "location",
9392
- "contact",
9393
- "interactive"
9394
- ],
9395
- "type": "option"
9396
- },
9397
- "message": {
9398
- "description": "Template message",
9399
- "name": "message",
9400
- "required": true,
9326
+ "args": {
9327
+ "id": {
9328
+ "description": "Template ID",
9329
+ "name": "id",
9330
+ "required": true
9331
+ }
9332
+ },
9333
+ "description": "Get a message template by ID",
9334
+ "flags": {
9335
+ "api-key": {
9336
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
9337
+ "env": "IKM_API_KEY",
9338
+ "helpGroup": "GLOBAL",
9339
+ "name": "api-key",
9401
9340
  "hasDynamicHelp": false,
9402
9341
  "multiple": false,
9403
9342
  "type": "option"
9404
9343
  },
9405
- "color": {
9406
- "description": "Template color as HEX",
9407
- "name": "color",
9344
+ "format": {
9345
+ "description": "Output format: text, json, yaml, or table",
9346
+ "helpGroup": "GLOBAL",
9347
+ "name": "format",
9348
+ "default": "text",
9408
9349
  "hasDynamicHelp": false,
9409
9350
  "multiple": false,
9351
+ "options": [
9352
+ "text",
9353
+ "json",
9354
+ "yaml",
9355
+ "table"
9356
+ ],
9410
9357
  "type": "option"
9411
9358
  },
9412
- "status": {
9413
- "description": "Template is active",
9414
- "name": "status",
9415
- "allowNo": true,
9359
+ "json": {
9360
+ "description": "Output in JSON format (alias for --format=json)",
9361
+ "helpGroup": "GLOBAL",
9362
+ "name": "json",
9363
+ "allowNo": false,
9416
9364
  "type": "boolean"
9417
9365
  },
9418
- "whatsapp-language": {
9419
- "description": "WhatsApp template language",
9420
- "name": "whatsapp-language",
9421
- "hasDynamicHelp": false,
9422
- "multiple": false,
9423
- "type": "option"
9366
+ "quiet": {
9367
+ "description": "Suppress all output except errors",
9368
+ "helpGroup": "GLOBAL",
9369
+ "name": "quiet",
9370
+ "allowNo": false,
9371
+ "type": "boolean"
9424
9372
  },
9425
- "buttons": {
9426
- "description": "Buttons JSON array/object",
9427
- "name": "buttons",
9428
- "hasDynamicHelp": false,
9429
- "multiple": false,
9430
- "type": "option"
9373
+ "no-color": {
9374
+ "description": "Disable color output",
9375
+ "helpGroup": "GLOBAL",
9376
+ "name": "no-color",
9377
+ "allowNo": false,
9378
+ "type": "boolean"
9431
9379
  },
9432
- "header-footer": {
9433
- "description": "Header/footer JSON object",
9434
- "name": "header-footer",
9380
+ "profile": {
9381
+ "description": "Named configuration profile to use",
9382
+ "helpGroup": "GLOBAL",
9383
+ "name": "profile",
9384
+ "default": "default",
9435
9385
  "hasDynamicHelp": false,
9436
9386
  "multiple": false,
9437
9387
  "type": "option"
9438
9388
  },
9439
- "data": {
9440
- "description": "Additional JSON object payload",
9441
- "name": "data",
9389
+ "api-url": {
9390
+ "description": "Override the API base URL (e.g. for staging)",
9391
+ "helpGroup": "GLOBAL",
9392
+ "name": "api-url",
9442
9393
  "hasDynamicHelp": false,
9443
9394
  "multiple": false,
9444
9395
  "type": "option"
@@ -9446,7 +9397,7 @@
9446
9397
  },
9447
9398
  "hasDynamicHelp": false,
9448
9399
  "hiddenAliases": [],
9449
- "id": "templates:create",
9400
+ "id": "templates:get",
9450
9401
  "pluginAlias": "@instantkom/cli",
9451
9402
  "pluginName": "@instantkom/cli",
9452
9403
  "pluginType": "core",
@@ -9457,19 +9408,13 @@
9457
9408
  "dist",
9458
9409
  "commands",
9459
9410
  "templates",
9460
- "create.js"
9411
+ "get.js"
9461
9412
  ]
9462
9413
  },
9463
- "templates:delete": {
9414
+ "templates:import": {
9464
9415
  "aliases": [],
9465
- "args": {
9466
- "id": {
9467
- "description": "template ID",
9468
- "name": "id",
9469
- "required": true
9470
- }
9471
- },
9472
- "description": "Delete template",
9416
+ "args": {},
9417
+ "description": "Import templates from JSON",
9473
9418
  "flags": {
9474
9419
  "api-key": {
9475
9420
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9532,11 +9477,33 @@
9532
9477
  "hasDynamicHelp": false,
9533
9478
  "multiple": false,
9534
9479
  "type": "option"
9480
+ },
9481
+ "file": {
9482
+ "description": "JSON file path",
9483
+ "name": "file",
9484
+ "required": true,
9485
+ "hasDynamicHelp": false,
9486
+ "multiple": false,
9487
+ "type": "option"
9488
+ },
9489
+ "channel": {
9490
+ "description": "Target channel ID",
9491
+ "name": "channel",
9492
+ "required": true,
9493
+ "hasDynamicHelp": false,
9494
+ "multiple": false,
9495
+ "type": "option"
9496
+ },
9497
+ "skip-duplicates": {
9498
+ "description": "Skip duplicate templates",
9499
+ "name": "skip-duplicates",
9500
+ "allowNo": true,
9501
+ "type": "boolean"
9535
9502
  }
9536
9503
  },
9537
9504
  "hasDynamicHelp": false,
9538
9505
  "hiddenAliases": [],
9539
- "id": "templates:delete",
9506
+ "id": "templates:import",
9540
9507
  "pluginAlias": "@instantkom/cli",
9541
9508
  "pluginName": "@instantkom/cli",
9542
9509
  "pluginType": "core",
@@ -9547,13 +9514,13 @@
9547
9514
  "dist",
9548
9515
  "commands",
9549
9516
  "templates",
9550
- "delete.js"
9517
+ "import.js"
9551
9518
  ]
9552
9519
  },
9553
- "templates:export": {
9520
+ "templates:list": {
9554
9521
  "aliases": [],
9555
9522
  "args": {},
9556
- "description": "Export templates to a file",
9523
+ "description": "List message templates",
9557
9524
  "flags": {
9558
9525
  "api-key": {
9559
9526
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9565,14 +9532,17 @@
9565
9532
  "type": "option"
9566
9533
  },
9567
9534
  "format": {
9568
- "description": "Export format",
9535
+ "description": "Output format: text, json, yaml, or table",
9536
+ "helpGroup": "GLOBAL",
9569
9537
  "name": "format",
9570
- "default": "json",
9538
+ "default": "text",
9571
9539
  "hasDynamicHelp": false,
9572
9540
  "multiple": false,
9573
9541
  "options": [
9574
- "csv",
9575
- "json"
9542
+ "text",
9543
+ "json",
9544
+ "yaml",
9545
+ "table"
9576
9546
  ],
9577
9547
  "type": "option"
9578
9548
  },
@@ -9614,17 +9584,32 @@
9614
9584
  "multiple": false,
9615
9585
  "type": "option"
9616
9586
  },
9617
- "file": {
9618
- "description": "Output file path",
9619
- "name": "file",
9620
- "required": true,
9587
+ "channel": {
9588
+ "description": "Filter by channel ID",
9589
+ "name": "channel",
9621
9590
  "hasDynamicHelp": false,
9622
9591
  "multiple": false,
9623
9592
  "type": "option"
9624
9593
  },
9625
- "channel": {
9626
- "description": "Filter by channel ID",
9627
- "name": "channel",
9594
+ "search": {
9595
+ "description": "Search templates by name or content",
9596
+ "name": "search",
9597
+ "hasDynamicHelp": false,
9598
+ "multiple": false,
9599
+ "type": "option"
9600
+ },
9601
+ "page": {
9602
+ "description": "Page number",
9603
+ "name": "page",
9604
+ "default": 1,
9605
+ "hasDynamicHelp": false,
9606
+ "multiple": false,
9607
+ "type": "option"
9608
+ },
9609
+ "limit": {
9610
+ "description": "Items per page",
9611
+ "name": "limit",
9612
+ "default": 20,
9628
9613
  "hasDynamicHelp": false,
9629
9614
  "multiple": false,
9630
9615
  "type": "option"
@@ -9632,7 +9617,7 @@
9632
9617
  },
9633
9618
  "hasDynamicHelp": false,
9634
9619
  "hiddenAliases": [],
9635
- "id": "templates:export",
9620
+ "id": "templates:list",
9636
9621
  "pluginAlias": "@instantkom/cli",
9637
9622
  "pluginName": "@instantkom/cli",
9638
9623
  "pluginType": "core",
@@ -9643,10 +9628,10 @@
9643
9628
  "dist",
9644
9629
  "commands",
9645
9630
  "templates",
9646
- "export.js"
9631
+ "list.js"
9647
9632
  ]
9648
9633
  },
9649
- "templates:get": {
9634
+ "templates:render": {
9650
9635
  "aliases": [],
9651
9636
  "args": {
9652
9637
  "id": {
@@ -9655,7 +9640,7 @@
9655
9640
  "required": true
9656
9641
  }
9657
9642
  },
9658
- "description": "Get a message template by ID",
9643
+ "description": "Render a message template locally",
9659
9644
  "flags": {
9660
9645
  "api-key": {
9661
9646
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9718,11 +9703,18 @@
9718
9703
  "hasDynamicHelp": false,
9719
9704
  "multiple": false,
9720
9705
  "type": "option"
9706
+ },
9707
+ "vars": {
9708
+ "description": "Template variable as key=value; may be repeated",
9709
+ "name": "vars",
9710
+ "hasDynamicHelp": false,
9711
+ "multiple": true,
9712
+ "type": "option"
9721
9713
  }
9722
9714
  },
9723
9715
  "hasDynamicHelp": false,
9724
9716
  "hiddenAliases": [],
9725
- "id": "templates:get",
9717
+ "id": "templates:render",
9726
9718
  "pluginAlias": "@instantkom/cli",
9727
9719
  "pluginName": "@instantkom/cli",
9728
9720
  "pluginType": "core",
@@ -9733,13 +9725,19 @@
9733
9725
  "dist",
9734
9726
  "commands",
9735
9727
  "templates",
9736
- "get.js"
9728
+ "render.js"
9737
9729
  ]
9738
9730
  },
9739
- "templates:import": {
9731
+ "templates:update": {
9740
9732
  "aliases": [],
9741
- "args": {},
9742
- "description": "Import templates from JSON",
9733
+ "args": {
9734
+ "id": {
9735
+ "description": "Template ID",
9736
+ "name": "id",
9737
+ "required": true
9738
+ }
9739
+ },
9740
+ "description": "Update a message template",
9743
9741
  "flags": {
9744
9742
  "api-key": {
9745
9743
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9803,32 +9801,88 @@
9803
9801
  "multiple": false,
9804
9802
  "type": "option"
9805
9803
  },
9806
- "file": {
9807
- "description": "JSON file path",
9808
- "name": "file",
9809
- "required": true,
9804
+ "name": {
9805
+ "description": "Template name",
9806
+ "name": "name",
9810
9807
  "hasDynamicHelp": false,
9811
9808
  "multiple": false,
9812
9809
  "type": "option"
9813
9810
  },
9814
- "channel": {
9815
- "description": "Target channel ID",
9816
- "name": "channel",
9817
- "required": true,
9811
+ "type": {
9812
+ "description": "Template type",
9813
+ "name": "type",
9814
+ "hasDynamicHelp": false,
9815
+ "multiple": false,
9816
+ "options": [
9817
+ "text",
9818
+ "image",
9819
+ "video",
9820
+ "document",
9821
+ "audio",
9822
+ "location",
9823
+ "contact",
9824
+ "interactive"
9825
+ ],
9826
+ "type": "option"
9827
+ },
9828
+ "message": {
9829
+ "description": "Template message",
9830
+ "name": "message",
9831
+ "hasDynamicHelp": false,
9832
+ "multiple": false,
9833
+ "type": "option"
9834
+ },
9835
+ "color": {
9836
+ "description": "Template color as HEX",
9837
+ "name": "color",
9838
+ "hasDynamicHelp": false,
9839
+ "multiple": false,
9840
+ "type": "option"
9841
+ },
9842
+ "status": {
9843
+ "description": "Template is active",
9844
+ "name": "status",
9845
+ "allowNo": true,
9846
+ "type": "boolean"
9847
+ },
9848
+ "remove-media": {
9849
+ "description": "Remove existing media",
9850
+ "name": "remove-media",
9851
+ "allowNo": false,
9852
+ "type": "boolean"
9853
+ },
9854
+ "whatsapp-language": {
9855
+ "description": "WhatsApp template language",
9856
+ "name": "whatsapp-language",
9857
+ "hasDynamicHelp": false,
9858
+ "multiple": false,
9859
+ "type": "option"
9860
+ },
9861
+ "buttons": {
9862
+ "description": "Buttons JSON array/object",
9863
+ "name": "buttons",
9864
+ "hasDynamicHelp": false,
9865
+ "multiple": false,
9866
+ "type": "option"
9867
+ },
9868
+ "header-footer": {
9869
+ "description": "Header/footer JSON object",
9870
+ "name": "header-footer",
9818
9871
  "hasDynamicHelp": false,
9819
9872
  "multiple": false,
9820
9873
  "type": "option"
9821
9874
  },
9822
- "skip-duplicates": {
9823
- "description": "Skip duplicate templates",
9824
- "name": "skip-duplicates",
9825
- "allowNo": true,
9826
- "type": "boolean"
9875
+ "data": {
9876
+ "description": "Additional JSON object payload",
9877
+ "name": "data",
9878
+ "hasDynamicHelp": false,
9879
+ "multiple": false,
9880
+ "type": "option"
9827
9881
  }
9828
9882
  },
9829
9883
  "hasDynamicHelp": false,
9830
9884
  "hiddenAliases": [],
9831
- "id": "templates:import",
9885
+ "id": "templates:update",
9832
9886
  "pluginAlias": "@instantkom/cli",
9833
9887
  "pluginName": "@instantkom/cli",
9834
9888
  "pluginType": "core",
@@ -9839,13 +9893,13 @@
9839
9893
  "dist",
9840
9894
  "commands",
9841
9895
  "templates",
9842
- "import.js"
9896
+ "update.js"
9843
9897
  ]
9844
9898
  },
9845
- "templates:list": {
9899
+ "templates:validate-import": {
9846
9900
  "aliases": [],
9847
9901
  "args": {},
9848
- "description": "List message templates",
9902
+ "description": "Validate templates import JSON",
9849
9903
  "flags": {
9850
9904
  "api-key": {
9851
9905
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9909,32 +9963,18 @@
9909
9963
  "multiple": false,
9910
9964
  "type": "option"
9911
9965
  },
9912
- "channel": {
9913
- "description": "Filter by channel ID",
9914
- "name": "channel",
9915
- "hasDynamicHelp": false,
9916
- "multiple": false,
9917
- "type": "option"
9918
- },
9919
- "search": {
9920
- "description": "Search templates by name or content",
9921
- "name": "search",
9922
- "hasDynamicHelp": false,
9923
- "multiple": false,
9924
- "type": "option"
9925
- },
9926
- "page": {
9927
- "description": "Page number",
9928
- "name": "page",
9929
- "default": 1,
9966
+ "file": {
9967
+ "description": "JSON file path",
9968
+ "name": "file",
9969
+ "required": true,
9930
9970
  "hasDynamicHelp": false,
9931
9971
  "multiple": false,
9932
9972
  "type": "option"
9933
9973
  },
9934
- "limit": {
9935
- "description": "Items per page",
9936
- "name": "limit",
9937
- "default": 20,
9974
+ "channel": {
9975
+ "description": "Target channel ID",
9976
+ "name": "channel",
9977
+ "required": true,
9938
9978
  "hasDynamicHelp": false,
9939
9979
  "multiple": false,
9940
9980
  "type": "option"
@@ -9942,7 +9982,7 @@
9942
9982
  },
9943
9983
  "hasDynamicHelp": false,
9944
9984
  "hiddenAliases": [],
9945
- "id": "templates:list",
9985
+ "id": "templates:validate-import",
9946
9986
  "pluginAlias": "@instantkom/cli",
9947
9987
  "pluginName": "@instantkom/cli",
9948
9988
  "pluginType": "core",
@@ -9953,19 +9993,13 @@
9953
9993
  "dist",
9954
9994
  "commands",
9955
9995
  "templates",
9956
- "list.js"
9996
+ "validate-import.js"
9957
9997
  ]
9958
9998
  },
9959
- "templates:render": {
9999
+ "team:create": {
9960
10000
  "aliases": [],
9961
- "args": {
9962
- "id": {
9963
- "description": "Template ID",
9964
- "name": "id",
9965
- "required": true
9966
- }
9967
- },
9968
- "description": "Render a message template locally",
10001
+ "args": {},
10002
+ "description": "Create a team member",
9969
10003
  "flags": {
9970
10004
  "api-key": {
9971
10005
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10029,17 +10063,77 @@
10029
10063
  "multiple": false,
10030
10064
  "type": "option"
10031
10065
  },
10032
- "vars": {
10033
- "description": "Template variable as key=value; may be repeated",
10034
- "name": "vars",
10066
+ "email": {
10067
+ "description": "Email address",
10068
+ "name": "email",
10069
+ "required": true,
10035
10070
  "hasDynamicHelp": false,
10036
- "multiple": true,
10071
+ "multiple": false,
10072
+ "type": "option"
10073
+ },
10074
+ "first-name": {
10075
+ "description": "First name",
10076
+ "name": "first-name",
10077
+ "required": true,
10078
+ "hasDynamicHelp": false,
10079
+ "multiple": false,
10080
+ "type": "option"
10081
+ },
10082
+ "last-name": {
10083
+ "description": "Last name",
10084
+ "name": "last-name",
10085
+ "required": true,
10086
+ "hasDynamicHelp": false,
10087
+ "multiple": false,
10088
+ "type": "option"
10089
+ },
10090
+ "password": {
10091
+ "description": "Initial password",
10092
+ "name": "password",
10093
+ "required": true,
10094
+ "hasDynamicHelp": false,
10095
+ "multiple": false,
10096
+ "type": "option"
10097
+ },
10098
+ "phone": {
10099
+ "description": "Phone number",
10100
+ "name": "phone",
10101
+ "hasDynamicHelp": false,
10102
+ "multiple": false,
10103
+ "type": "option"
10104
+ },
10105
+ "company": {
10106
+ "description": "Company name",
10107
+ "name": "company",
10108
+ "hasDynamicHelp": false,
10109
+ "multiple": false,
10110
+ "type": "option"
10111
+ },
10112
+ "color": {
10113
+ "description": "Color as HEX",
10114
+ "name": "color",
10115
+ "hasDynamicHelp": false,
10116
+ "multiple": false,
10117
+ "type": "option"
10118
+ },
10119
+ "folder": {
10120
+ "description": "Object folder ID",
10121
+ "name": "folder",
10122
+ "hasDynamicHelp": false,
10123
+ "multiple": false,
10124
+ "type": "option"
10125
+ },
10126
+ "data": {
10127
+ "description": "Additional JSON object payload",
10128
+ "name": "data",
10129
+ "hasDynamicHelp": false,
10130
+ "multiple": false,
10037
10131
  "type": "option"
10038
10132
  }
10039
10133
  },
10040
10134
  "hasDynamicHelp": false,
10041
10135
  "hiddenAliases": [],
10042
- "id": "templates:render",
10136
+ "id": "team:create",
10043
10137
  "pluginAlias": "@instantkom/cli",
10044
10138
  "pluginName": "@instantkom/cli",
10045
10139
  "pluginType": "core",
@@ -10049,20 +10143,20 @@
10049
10143
  "relativePath": [
10050
10144
  "dist",
10051
10145
  "commands",
10052
- "templates",
10053
- "render.js"
10146
+ "team",
10147
+ "create.js"
10054
10148
  ]
10055
10149
  },
10056
- "templates:update": {
10150
+ "team:delete": {
10057
10151
  "aliases": [],
10058
10152
  "args": {
10059
10153
  "id": {
10060
- "description": "Template ID",
10154
+ "description": "Team member ID",
10061
10155
  "name": "id",
10062
10156
  "required": true
10063
10157
  }
10064
10158
  },
10065
- "description": "Update a message template",
10159
+ "description": "Delete a team member",
10066
10160
  "flags": {
10067
10161
  "api-key": {
10068
10162
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10125,89 +10219,11 @@
10125
10219
  "hasDynamicHelp": false,
10126
10220
  "multiple": false,
10127
10221
  "type": "option"
10128
- },
10129
- "name": {
10130
- "description": "Template name",
10131
- "name": "name",
10132
- "hasDynamicHelp": false,
10133
- "multiple": false,
10134
- "type": "option"
10135
- },
10136
- "type": {
10137
- "description": "Template type",
10138
- "name": "type",
10139
- "hasDynamicHelp": false,
10140
- "multiple": false,
10141
- "options": [
10142
- "text",
10143
- "image",
10144
- "video",
10145
- "document",
10146
- "audio",
10147
- "location",
10148
- "contact",
10149
- "interactive"
10150
- ],
10151
- "type": "option"
10152
- },
10153
- "message": {
10154
- "description": "Template message",
10155
- "name": "message",
10156
- "hasDynamicHelp": false,
10157
- "multiple": false,
10158
- "type": "option"
10159
- },
10160
- "color": {
10161
- "description": "Template color as HEX",
10162
- "name": "color",
10163
- "hasDynamicHelp": false,
10164
- "multiple": false,
10165
- "type": "option"
10166
- },
10167
- "status": {
10168
- "description": "Template is active",
10169
- "name": "status",
10170
- "allowNo": true,
10171
- "type": "boolean"
10172
- },
10173
- "remove-media": {
10174
- "description": "Remove existing media",
10175
- "name": "remove-media",
10176
- "allowNo": false,
10177
- "type": "boolean"
10178
- },
10179
- "whatsapp-language": {
10180
- "description": "WhatsApp template language",
10181
- "name": "whatsapp-language",
10182
- "hasDynamicHelp": false,
10183
- "multiple": false,
10184
- "type": "option"
10185
- },
10186
- "buttons": {
10187
- "description": "Buttons JSON array/object",
10188
- "name": "buttons",
10189
- "hasDynamicHelp": false,
10190
- "multiple": false,
10191
- "type": "option"
10192
- },
10193
- "header-footer": {
10194
- "description": "Header/footer JSON object",
10195
- "name": "header-footer",
10196
- "hasDynamicHelp": false,
10197
- "multiple": false,
10198
- "type": "option"
10199
- },
10200
- "data": {
10201
- "description": "Additional JSON object payload",
10202
- "name": "data",
10203
- "hasDynamicHelp": false,
10204
- "multiple": false,
10205
- "type": "option"
10206
10222
  }
10207
10223
  },
10208
10224
  "hasDynamicHelp": false,
10209
10225
  "hiddenAliases": [],
10210
- "id": "templates:update",
10226
+ "id": "team:delete",
10211
10227
  "pluginAlias": "@instantkom/cli",
10212
10228
  "pluginName": "@instantkom/cli",
10213
10229
  "pluginType": "core",
@@ -10217,14 +10233,14 @@
10217
10233
  "relativePath": [
10218
10234
  "dist",
10219
10235
  "commands",
10220
- "templates",
10221
- "update.js"
10236
+ "team",
10237
+ "delete.js"
10222
10238
  ]
10223
10239
  },
10224
- "templates:validate-import": {
10240
+ "team:list": {
10225
10241
  "aliases": [],
10226
10242
  "args": {},
10227
- "description": "Validate templates import JSON",
10243
+ "description": "List team members",
10228
10244
  "flags": {
10229
10245
  "api-key": {
10230
10246
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10287,27 +10303,11 @@
10287
10303
  "hasDynamicHelp": false,
10288
10304
  "multiple": false,
10289
10305
  "type": "option"
10290
- },
10291
- "file": {
10292
- "description": "JSON file path",
10293
- "name": "file",
10294
- "required": true,
10295
- "hasDynamicHelp": false,
10296
- "multiple": false,
10297
- "type": "option"
10298
- },
10299
- "channel": {
10300
- "description": "Target channel ID",
10301
- "name": "channel",
10302
- "required": true,
10303
- "hasDynamicHelp": false,
10304
- "multiple": false,
10305
- "type": "option"
10306
10306
  }
10307
10307
  },
10308
10308
  "hasDynamicHelp": false,
10309
10309
  "hiddenAliases": [],
10310
- "id": "templates:validate-import",
10310
+ "id": "team:list",
10311
10311
  "pluginAlias": "@instantkom/cli",
10312
10312
  "pluginName": "@instantkom/cli",
10313
10313
  "pluginType": "core",
@@ -10317,8 +10317,8 @@
10317
10317
  "relativePath": [
10318
10318
  "dist",
10319
10319
  "commands",
10320
- "templates",
10321
- "validate-import.js"
10320
+ "team",
10321
+ "list.js"
10322
10322
  ]
10323
10323
  },
10324
10324
  "tickets:create": {
@@ -16352,5 +16352,5 @@
16352
16352
  ]
16353
16353
  }
16354
16354
  },
16355
- "version": "3.134.1"
16355
+ "version": "3.135.0"
16356
16356
  }