@instantkom/cli 3.140.2 → 3.142.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -953,10 +953,10 @@
953
953
  "update.js"
954
954
  ]
955
955
  },
956
- "auth:login": {
956
+ "ai:reply": {
957
957
  "aliases": [],
958
958
  "args": {},
959
- "description": "Authenticate with the instantKOM API via device authorization flow",
959
+ "description": "Generate AI reply suggestions for a message",
960
960
  "flags": {
961
961
  "api-key": {
962
962
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1020,24 +1020,46 @@
1020
1020
  "multiple": false,
1021
1021
  "type": "option"
1022
1022
  },
1023
- "scope": {
1024
- "description": "Requested token scope",
1025
- "name": "scope",
1026
- "default": "read",
1023
+ "message-id": {
1024
+ "description": "Message ID to use as smart-reply anchor",
1025
+ "name": "message-id",
1026
+ "required": true,
1027
+ "hasDynamicHelp": false,
1028
+ "multiple": false,
1029
+ "type": "option"
1030
+ },
1031
+ "limit": {
1032
+ "description": "Number of suggestions to generate (1-5)",
1033
+ "name": "limit",
1034
+ "hasDynamicHelp": false,
1035
+ "multiple": false,
1036
+ "type": "option"
1037
+ },
1038
+ "context-length": {
1039
+ "description": "Number of recent messages to use as context (1-20)",
1040
+ "name": "context-length",
1041
+ "hasDynamicHelp": false,
1042
+ "multiple": false,
1043
+ "type": "option"
1044
+ },
1045
+ "style": {
1046
+ "description": "Response style",
1047
+ "name": "style",
1027
1048
  "hasDynamicHelp": false,
1028
1049
  "multiple": false,
1029
1050
  "options": [
1030
- "full",
1031
- "send",
1032
- "read",
1033
- "admin"
1051
+ "professional",
1052
+ "friendly",
1053
+ "concise",
1054
+ "detailed",
1055
+ "empathetic"
1034
1056
  ],
1035
1057
  "type": "option"
1036
1058
  }
1037
1059
  },
1038
1060
  "hasDynamicHelp": false,
1039
1061
  "hiddenAliases": [],
1040
- "id": "auth:login",
1062
+ "id": "ai:reply",
1041
1063
  "pluginAlias": "@instantkom/cli",
1042
1064
  "pluginName": "@instantkom/cli",
1043
1065
  "pluginType": "core",
@@ -1047,14 +1069,14 @@
1047
1069
  "relativePath": [
1048
1070
  "dist",
1049
1071
  "commands",
1050
- "auth",
1051
- "login.js"
1072
+ "ai",
1073
+ "reply.js"
1052
1074
  ]
1053
1075
  },
1054
- "auth:logout": {
1076
+ "auth:login": {
1055
1077
  "aliases": [],
1056
1078
  "args": {},
1057
- "description": "Remove the stored API token for the current profile",
1079
+ "description": "Authenticate with the instantKOM API via device authorization flow",
1058
1080
  "flags": {
1059
1081
  "api-key": {
1060
1082
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1117,45 +1139,25 @@
1117
1139
  "hasDynamicHelp": false,
1118
1140
  "multiple": false,
1119
1141
  "type": "option"
1120
- }
1121
- },
1122
- "hasDynamicHelp": false,
1123
- "hiddenAliases": [],
1124
- "id": "auth:logout",
1125
- "pluginAlias": "@instantkom/cli",
1126
- "pluginName": "@instantkom/cli",
1127
- "pluginType": "core",
1128
- "strict": true,
1129
- "enableJsonFlag": false,
1130
- "isESM": true,
1131
- "relativePath": [
1132
- "dist",
1133
- "commands",
1134
- "auth",
1135
- "logout.js"
1136
- ]
1137
- },
1138
- "autocomplete:script": {
1139
- "aliases": [],
1140
- "args": {
1141
- "shell": {
1142
- "description": "Shell type",
1143
- "name": "shell",
1142
+ },
1143
+ "scope": {
1144
+ "description": "Requested token scope",
1145
+ "name": "scope",
1146
+ "default": "read",
1147
+ "hasDynamicHelp": false,
1148
+ "multiple": false,
1144
1149
  "options": [
1145
- "zsh",
1146
- "bash",
1147
- "fish",
1148
- "powershell"
1150
+ "full",
1151
+ "send",
1152
+ "read",
1153
+ "admin"
1149
1154
  ],
1150
- "required": false
1155
+ "type": "option"
1151
1156
  }
1152
1157
  },
1153
- "description": "outputs autocomplete config script for shells",
1154
- "flags": {},
1155
1158
  "hasDynamicHelp": false,
1156
- "hidden": true,
1157
1159
  "hiddenAliases": [],
1158
- "id": "autocomplete:script",
1160
+ "id": "auth:login",
1159
1161
  "pluginAlias": "@instantkom/cli",
1160
1162
  "pluginName": "@instantkom/cli",
1161
1163
  "pluginType": "core",
@@ -1165,14 +1167,14 @@
1165
1167
  "relativePath": [
1166
1168
  "dist",
1167
1169
  "commands",
1168
- "autocomplete",
1169
- "script.js"
1170
+ "auth",
1171
+ "login.js"
1170
1172
  ]
1171
1173
  },
1172
- "ai:reply": {
1174
+ "auth:logout": {
1173
1175
  "aliases": [],
1174
1176
  "args": {},
1175
- "description": "Generate AI reply suggestions for a message",
1177
+ "description": "Remove the stored API token for the current profile",
1176
1178
  "flags": {
1177
1179
  "api-key": {
1178
1180
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1235,47 +1237,45 @@
1235
1237
  "hasDynamicHelp": false,
1236
1238
  "multiple": false,
1237
1239
  "type": "option"
1238
- },
1239
- "message-id": {
1240
- "description": "Message ID to use as smart-reply anchor",
1241
- "name": "message-id",
1242
- "required": true,
1243
- "hasDynamicHelp": false,
1244
- "multiple": false,
1245
- "type": "option"
1246
- },
1247
- "limit": {
1248
- "description": "Number of suggestions to generate (1-5)",
1249
- "name": "limit",
1250
- "hasDynamicHelp": false,
1251
- "multiple": false,
1252
- "type": "option"
1253
- },
1254
- "context-length": {
1255
- "description": "Number of recent messages to use as context (1-20)",
1256
- "name": "context-length",
1257
- "hasDynamicHelp": false,
1258
- "multiple": false,
1259
- "type": "option"
1260
- },
1261
- "style": {
1262
- "description": "Response style",
1263
- "name": "style",
1264
- "hasDynamicHelp": false,
1265
- "multiple": false,
1240
+ }
1241
+ },
1242
+ "hasDynamicHelp": false,
1243
+ "hiddenAliases": [],
1244
+ "id": "auth:logout",
1245
+ "pluginAlias": "@instantkom/cli",
1246
+ "pluginName": "@instantkom/cli",
1247
+ "pluginType": "core",
1248
+ "strict": true,
1249
+ "enableJsonFlag": false,
1250
+ "isESM": true,
1251
+ "relativePath": [
1252
+ "dist",
1253
+ "commands",
1254
+ "auth",
1255
+ "logout.js"
1256
+ ]
1257
+ },
1258
+ "autocomplete:script": {
1259
+ "aliases": [],
1260
+ "args": {
1261
+ "shell": {
1262
+ "description": "Shell type",
1263
+ "name": "shell",
1266
1264
  "options": [
1267
- "professional",
1268
- "friendly",
1269
- "concise",
1270
- "detailed",
1271
- "empathetic"
1265
+ "zsh",
1266
+ "bash",
1267
+ "fish",
1268
+ "powershell"
1272
1269
  ],
1273
- "type": "option"
1270
+ "required": false
1274
1271
  }
1275
1272
  },
1273
+ "description": "outputs autocomplete config script for shells",
1274
+ "flags": {},
1276
1275
  "hasDynamicHelp": false,
1276
+ "hidden": true,
1277
1277
  "hiddenAliases": [],
1278
- "id": "ai:reply",
1278
+ "id": "autocomplete:script",
1279
1279
  "pluginAlias": "@instantkom/cli",
1280
1280
  "pluginName": "@instantkom/cli",
1281
1281
  "pluginType": "core",
@@ -1285,8 +1285,8 @@
1285
1285
  "relativePath": [
1286
1286
  "dist",
1287
1287
  "commands",
1288
- "ai",
1289
- "reply.js"
1288
+ "autocomplete",
1289
+ "script.js"
1290
1290
  ]
1291
1291
  },
1292
1292
  "bots:create": {
@@ -2015,10 +2015,16 @@
2015
2015
  "update.js"
2016
2016
  ]
2017
2017
  },
2018
- "broadcast:create": {
2018
+ "chats:get": {
2019
2019
  "aliases": [],
2020
- "args": {},
2021
- "description": "Create a broadcast for channels or segments",
2020
+ "args": {
2021
+ "id": {
2022
+ "description": "chat ID",
2023
+ "name": "id",
2024
+ "required": true
2025
+ }
2026
+ },
2027
+ "description": "Get chat by ID",
2022
2028
  "flags": {
2023
2029
  "api-key": {
2024
2030
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2081,93 +2087,157 @@
2081
2087
  "hasDynamicHelp": false,
2082
2088
  "multiple": false,
2083
2089
  "type": "option"
2084
- },
2085
- "channel": {
2086
- "description": "Channel ID target",
2087
- "name": "channel",
2090
+ }
2091
+ },
2092
+ "hasDynamicHelp": false,
2093
+ "hiddenAliases": [],
2094
+ "id": "chats:get",
2095
+ "pluginAlias": "@instantkom/cli",
2096
+ "pluginName": "@instantkom/cli",
2097
+ "pluginType": "core",
2098
+ "strict": true,
2099
+ "enableJsonFlag": false,
2100
+ "isESM": true,
2101
+ "relativePath": [
2102
+ "dist",
2103
+ "commands",
2104
+ "chats",
2105
+ "get.js"
2106
+ ]
2107
+ },
2108
+ "chats:list": {
2109
+ "aliases": [],
2110
+ "args": {},
2111
+ "description": "List chats",
2112
+ "flags": {
2113
+ "api-key": {
2114
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
2115
+ "env": "IKM_API_KEY",
2116
+ "helpGroup": "GLOBAL",
2117
+ "name": "api-key",
2088
2118
  "hasDynamicHelp": false,
2089
2119
  "multiple": false,
2090
2120
  "type": "option"
2091
2121
  },
2092
- "segment": {
2093
- "description": "Segment ID within --channel",
2094
- "name": "segment",
2122
+ "format": {
2123
+ "description": "Output format: text, json, yaml, or table",
2124
+ "helpGroup": "GLOBAL",
2125
+ "name": "format",
2126
+ "default": "text",
2095
2127
  "hasDynamicHelp": false,
2096
2128
  "multiple": false,
2129
+ "options": [
2130
+ "text",
2131
+ "json",
2132
+ "yaml",
2133
+ "table"
2134
+ ],
2097
2135
  "type": "option"
2098
2136
  },
2099
- "target": {
2100
- "description": "Target as channelId or channelId:segmentId; may be repeated",
2101
- "name": "target",
2102
- "hasDynamicHelp": false,
2103
- "multiple": true,
2104
- "type": "option"
2105
- },
2106
- "text": {
2107
- "description": "Broadcast message text",
2108
- "name": "text",
2109
- "required": true,
2110
- "hasDynamicHelp": false,
2111
- "multiple": false,
2112
- "type": "option"
2137
+ "json": {
2138
+ "description": "Output in JSON format (alias for --format=json)",
2139
+ "helpGroup": "GLOBAL",
2140
+ "name": "json",
2141
+ "allowNo": false,
2142
+ "type": "boolean"
2113
2143
  },
2114
- "send-at": {
2115
- "description": "Schedule send for an ISO-8601 date-time",
2116
- "name": "send-at",
2144
+ "quiet": {
2145
+ "description": "Suppress all output except errors",
2146
+ "helpGroup": "GLOBAL",
2147
+ "name": "quiet",
2148
+ "allowNo": false,
2149
+ "type": "boolean"
2150
+ },
2151
+ "no-color": {
2152
+ "description": "Disable color output",
2153
+ "helpGroup": "GLOBAL",
2154
+ "name": "no-color",
2155
+ "allowNo": false,
2156
+ "type": "boolean"
2157
+ },
2158
+ "profile": {
2159
+ "description": "Named configuration profile to use",
2160
+ "helpGroup": "GLOBAL",
2161
+ "name": "profile",
2162
+ "default": "default",
2117
2163
  "hasDynamicHelp": false,
2118
2164
  "multiple": false,
2119
2165
  "type": "option"
2120
2166
  },
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"
2167
+ "api-url": {
2168
+ "description": "Override the API base URL (e.g. for staging)",
2169
+ "helpGroup": "GLOBAL",
2170
+ "name": "api-url",
2171
+ "hasDynamicHelp": false,
2172
+ "multiple": false,
2173
+ "type": "option"
2126
2174
  },
2127
- "idempotency-key": {
2128
- "description": "Idempotency key forwarded as Idempotency-Key",
2129
- "name": "idempotency-key",
2175
+ "page": {
2176
+ "description": "Page number",
2177
+ "name": "page",
2178
+ "default": 1,
2130
2179
  "hasDynamicHelp": false,
2131
2180
  "multiple": false,
2132
2181
  "type": "option"
2133
2182
  },
2134
- "media": {
2135
- "description": "Media file path to upload",
2136
- "name": "media",
2183
+ "limit": {
2184
+ "description": "Items per page",
2185
+ "name": "limit",
2186
+ "default": 20,
2137
2187
  "hasDynamicHelp": false,
2138
- "multiple": true,
2188
+ "multiple": false,
2139
2189
  "type": "option"
2140
2190
  },
2141
- "template-id": {
2142
- "description": "WhatsApp template ID",
2143
- "name": "template-id",
2191
+ "channel": {
2192
+ "description": "Filter by channel ID",
2193
+ "name": "channel",
2144
2194
  "hasDynamicHelp": false,
2145
2195
  "multiple": false,
2146
2196
  "type": "option"
2147
2197
  },
2148
- "send-status": {
2149
- "description": "Initial broadcast send status",
2150
- "name": "send-status",
2151
- "default": "draft",
2198
+ "channels": {
2199
+ "description": "Comma-separated channel IDs",
2200
+ "name": "channels",
2201
+ "hasDynamicHelp": false,
2202
+ "multiple": false,
2203
+ "type": "option"
2204
+ },
2205
+ "search": {
2206
+ "description": "Search chats",
2207
+ "name": "search",
2208
+ "hasDynamicHelp": false,
2209
+ "multiple": false,
2210
+ "type": "option"
2211
+ },
2212
+ "status": {
2213
+ "description": "Chat status",
2214
+ "name": "status",
2152
2215
  "hasDynamicHelp": false,
2153
2216
  "multiple": false,
2154
2217
  "options": [
2155
- "draft",
2156
- "scheduled",
2157
- "sending"
2218
+ "all",
2219
+ "unread",
2220
+ "read",
2221
+ "archived"
2158
2222
  ],
2159
2223
  "type": "option"
2160
2224
  },
2161
- "auto-approve": {
2162
- "description": "Auto-approve broadcast when allowed by API permissions",
2163
- "name": "auto-approve",
2225
+ "unread-only": {
2226
+ "description": "Only unread chats",
2227
+ "name": "unread-only",
2228
+ "allowNo": false,
2229
+ "type": "boolean"
2230
+ },
2231
+ "include-archived": {
2232
+ "description": "Include archived chats",
2233
+ "name": "include-archived",
2164
2234
  "allowNo": false,
2165
2235
  "type": "boolean"
2166
2236
  }
2167
2237
  },
2168
2238
  "hasDynamicHelp": false,
2169
2239
  "hiddenAliases": [],
2170
- "id": "broadcast:create",
2240
+ "id": "chats:list",
2171
2241
  "pluginAlias": "@instantkom/cli",
2172
2242
  "pluginName": "@instantkom/cli",
2173
2243
  "pluginType": "core",
@@ -2177,20 +2247,20 @@
2177
2247
  "relativePath": [
2178
2248
  "dist",
2179
2249
  "commands",
2180
- "broadcast",
2181
- "create.js"
2250
+ "chats",
2251
+ "list.js"
2182
2252
  ]
2183
2253
  },
2184
- "broadcast:delete": {
2254
+ "chats:reply": {
2185
2255
  "aliases": [],
2186
2256
  "args": {
2187
2257
  "id": {
2188
- "description": "broadcast ID",
2258
+ "description": "Chat ID",
2189
2259
  "name": "id",
2190
2260
  "required": true
2191
2261
  }
2192
2262
  },
2193
- "description": "Delete broadcast",
2263
+ "description": "Reply in a chat",
2194
2264
  "flags": {
2195
2265
  "api-key": {
2196
2266
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2253,11 +2323,19 @@
2253
2323
  "hasDynamicHelp": false,
2254
2324
  "multiple": false,
2255
2325
  "type": "option"
2326
+ },
2327
+ "text": {
2328
+ "description": "Reply text",
2329
+ "name": "text",
2330
+ "required": true,
2331
+ "hasDynamicHelp": false,
2332
+ "multiple": false,
2333
+ "type": "option"
2256
2334
  }
2257
2335
  },
2258
2336
  "hasDynamicHelp": false,
2259
2337
  "hiddenAliases": [],
2260
- "id": "broadcast:delete",
2338
+ "id": "chats:reply",
2261
2339
  "pluginAlias": "@instantkom/cli",
2262
2340
  "pluginName": "@instantkom/cli",
2263
2341
  "pluginType": "core",
@@ -2267,20 +2345,20 @@
2267
2345
  "relativePath": [
2268
2346
  "dist",
2269
2347
  "commands",
2270
- "broadcast",
2271
- "delete.js"
2348
+ "chats",
2349
+ "reply.js"
2272
2350
  ]
2273
2351
  },
2274
- "broadcast:get": {
2352
+ "config:get": {
2275
2353
  "aliases": [],
2276
2354
  "args": {
2277
- "id": {
2278
- "description": "broadcast ID",
2279
- "name": "id",
2355
+ "key": {
2356
+ "description": "Configuration key to retrieve",
2357
+ "name": "key",
2280
2358
  "required": true
2281
2359
  }
2282
2360
  },
2283
- "description": "Get broadcast by ID",
2361
+ "description": "Get a configuration value for the current profile",
2284
2362
  "flags": {
2285
2363
  "api-key": {
2286
2364
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2347,7 +2425,7 @@
2347
2425
  },
2348
2426
  "hasDynamicHelp": false,
2349
2427
  "hiddenAliases": [],
2350
- "id": "broadcast:get",
2428
+ "id": "config:get",
2351
2429
  "pluginAlias": "@instantkom/cli",
2352
2430
  "pluginName": "@instantkom/cli",
2353
2431
  "pluginType": "core",
@@ -2357,14 +2435,25 @@
2357
2435
  "relativePath": [
2358
2436
  "dist",
2359
2437
  "commands",
2360
- "broadcast",
2438
+ "config",
2361
2439
  "get.js"
2362
2440
  ]
2363
2441
  },
2364
- "broadcast:list": {
2442
+ "config:set": {
2365
2443
  "aliases": [],
2366
- "args": {},
2367
- "description": "List broadcasts",
2444
+ "args": {
2445
+ "key": {
2446
+ "description": "Configuration key to set",
2447
+ "name": "key",
2448
+ "required": true
2449
+ },
2450
+ "value": {
2451
+ "description": "Value to assign",
2452
+ "name": "value",
2453
+ "required": true
2454
+ }
2455
+ },
2456
+ "description": "Set a configuration value for the current profile",
2368
2457
  "flags": {
2369
2458
  "api-key": {
2370
2459
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2427,73 +2516,11 @@
2427
2516
  "hasDynamicHelp": false,
2428
2517
  "multiple": false,
2429
2518
  "type": "option"
2430
- },
2431
- "page": {
2432
- "description": "Page number",
2433
- "name": "page",
2434
- "default": 1,
2435
- "hasDynamicHelp": false,
2436
- "multiple": false,
2437
- "type": "option"
2438
- },
2439
- "limit": {
2440
- "description": "Items per page",
2441
- "name": "limit",
2442
- "default": 20,
2443
- "hasDynamicHelp": false,
2444
- "multiple": false,
2445
- "type": "option"
2446
- },
2447
- "channel": {
2448
- "description": "Filter by channel ID",
2449
- "name": "channel",
2450
- "hasDynamicHelp": false,
2451
- "multiple": false,
2452
- "type": "option"
2453
- },
2454
- "send-status": {
2455
- "description": "Filter by send status",
2456
- "name": "send-status",
2457
- "hasDynamicHelp": false,
2458
- "multiple": false,
2459
- "type": "option"
2460
- },
2461
- "type": {
2462
- "description": "Broadcast type",
2463
- "name": "type",
2464
- "hasDynamicHelp": false,
2465
- "multiple": false,
2466
- "options": [
2467
- "text",
2468
- "image",
2469
- "video",
2470
- "audio",
2471
- "document"
2472
- ],
2473
- "type": "option"
2474
- },
2475
- "search": {
2476
- "description": "Search broadcasts",
2477
- "name": "search",
2478
- "hasDynamicHelp": false,
2479
- "multiple": false,
2480
- "type": "option"
2481
- },
2482
- "test": {
2483
- "description": "Filter test flag: 0 or 1",
2484
- "name": "test",
2485
- "hasDynamicHelp": false,
2486
- "multiple": false,
2487
- "options": [
2488
- "0",
2489
- "1"
2490
- ],
2491
- "type": "option"
2492
2519
  }
2493
2520
  },
2494
2521
  "hasDynamicHelp": false,
2495
2522
  "hiddenAliases": [],
2496
- "id": "broadcast:list",
2523
+ "id": "config:set",
2497
2524
  "pluginAlias": "@instantkom/cli",
2498
2525
  "pluginName": "@instantkom/cli",
2499
2526
  "pluginType": "core",
@@ -2503,20 +2530,20 @@
2503
2530
  "relativePath": [
2504
2531
  "dist",
2505
2532
  "commands",
2506
- "broadcast",
2507
- "list.js"
2533
+ "config",
2534
+ "set.js"
2508
2535
  ]
2509
2536
  },
2510
- "broadcast:send": {
2537
+ "config:unset": {
2511
2538
  "aliases": [],
2512
2539
  "args": {
2513
- "id": {
2514
- "description": "Broadcast ID",
2515
- "name": "id",
2540
+ "key": {
2541
+ "description": "Configuration key to remove",
2542
+ "name": "key",
2516
2543
  "required": true
2517
2544
  }
2518
2545
  },
2519
- "description": "Send a broadcast immediately",
2546
+ "description": "Remove a configuration key from the current profile",
2520
2547
  "flags": {
2521
2548
  "api-key": {
2522
2549
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2583,7 +2610,7 @@
2583
2610
  },
2584
2611
  "hasDynamicHelp": false,
2585
2612
  "hiddenAliases": [],
2586
- "id": "broadcast:send",
2613
+ "id": "config:unset",
2587
2614
  "pluginAlias": "@instantkom/cli",
2588
2615
  "pluginName": "@instantkom/cli",
2589
2616
  "pluginType": "core",
@@ -2593,260 +2620,14 @@
2593
2620
  "relativePath": [
2594
2621
  "dist",
2595
2622
  "commands",
2596
- "broadcast",
2597
- "send.js"
2623
+ "config",
2624
+ "unset.js"
2598
2625
  ]
2599
2626
  },
2600
- "broadcast:status": {
2627
+ "channels:create": {
2601
2628
  "aliases": [],
2602
- "args": {
2603
- "id": {
2604
- "description": "Broadcast ID",
2605
- "name": "id",
2606
- "required": true
2607
- }
2608
- },
2609
- "description": "Show broadcast send status",
2610
- "flags": {
2611
- "api-key": {
2612
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
2613
- "env": "IKM_API_KEY",
2614
- "helpGroup": "GLOBAL",
2615
- "name": "api-key",
2616
- "hasDynamicHelp": false,
2617
- "multiple": false,
2618
- "type": "option"
2619
- },
2620
- "format": {
2621
- "description": "Output format: text, json, yaml, or table",
2622
- "helpGroup": "GLOBAL",
2623
- "name": "format",
2624
- "default": "text",
2625
- "hasDynamicHelp": false,
2626
- "multiple": false,
2627
- "options": [
2628
- "text",
2629
- "json",
2630
- "yaml",
2631
- "table"
2632
- ],
2633
- "type": "option"
2634
- },
2635
- "json": {
2636
- "description": "Output in JSON format (alias for --format=json)",
2637
- "helpGroup": "GLOBAL",
2638
- "name": "json",
2639
- "allowNo": false,
2640
- "type": "boolean"
2641
- },
2642
- "quiet": {
2643
- "description": "Suppress all output except errors",
2644
- "helpGroup": "GLOBAL",
2645
- "name": "quiet",
2646
- "allowNo": false,
2647
- "type": "boolean"
2648
- },
2649
- "no-color": {
2650
- "description": "Disable color output",
2651
- "helpGroup": "GLOBAL",
2652
- "name": "no-color",
2653
- "allowNo": false,
2654
- "type": "boolean"
2655
- },
2656
- "profile": {
2657
- "description": "Named configuration profile to use",
2658
- "helpGroup": "GLOBAL",
2659
- "name": "profile",
2660
- "default": "default",
2661
- "hasDynamicHelp": false,
2662
- "multiple": false,
2663
- "type": "option"
2664
- },
2665
- "api-url": {
2666
- "description": "Override the API base URL (e.g. for staging)",
2667
- "helpGroup": "GLOBAL",
2668
- "name": "api-url",
2669
- "hasDynamicHelp": false,
2670
- "multiple": false,
2671
- "type": "option"
2672
- }
2673
- },
2674
- "hasDynamicHelp": false,
2675
- "hiddenAliases": [],
2676
- "id": "broadcast:status",
2677
- "pluginAlias": "@instantkom/cli",
2678
- "pluginName": "@instantkom/cli",
2679
- "pluginType": "core",
2680
- "strict": true,
2681
- "enableJsonFlag": false,
2682
- "isESM": true,
2683
- "relativePath": [
2684
- "dist",
2685
- "commands",
2686
- "broadcast",
2687
- "status.js"
2688
- ]
2689
- },
2690
- "broadcast:update": {
2691
- "aliases": [],
2692
- "args": {
2693
- "id": {
2694
- "description": "Broadcast ID",
2695
- "name": "id",
2696
- "required": true
2697
- }
2698
- },
2699
- "description": "Update a broadcast",
2700
- "flags": {
2701
- "api-key": {
2702
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
2703
- "env": "IKM_API_KEY",
2704
- "helpGroup": "GLOBAL",
2705
- "name": "api-key",
2706
- "hasDynamicHelp": false,
2707
- "multiple": false,
2708
- "type": "option"
2709
- },
2710
- "format": {
2711
- "description": "Output format: text, json, yaml, or table",
2712
- "helpGroup": "GLOBAL",
2713
- "name": "format",
2714
- "default": "text",
2715
- "hasDynamicHelp": false,
2716
- "multiple": false,
2717
- "options": [
2718
- "text",
2719
- "json",
2720
- "yaml",
2721
- "table"
2722
- ],
2723
- "type": "option"
2724
- },
2725
- "json": {
2726
- "description": "Output in JSON format (alias for --format=json)",
2727
- "helpGroup": "GLOBAL",
2728
- "name": "json",
2729
- "allowNo": false,
2730
- "type": "boolean"
2731
- },
2732
- "quiet": {
2733
- "description": "Suppress all output except errors",
2734
- "helpGroup": "GLOBAL",
2735
- "name": "quiet",
2736
- "allowNo": false,
2737
- "type": "boolean"
2738
- },
2739
- "no-color": {
2740
- "description": "Disable color output",
2741
- "helpGroup": "GLOBAL",
2742
- "name": "no-color",
2743
- "allowNo": false,
2744
- "type": "boolean"
2745
- },
2746
- "profile": {
2747
- "description": "Named configuration profile to use",
2748
- "helpGroup": "GLOBAL",
2749
- "name": "profile",
2750
- "default": "default",
2751
- "hasDynamicHelp": false,
2752
- "multiple": false,
2753
- "type": "option"
2754
- },
2755
- "api-url": {
2756
- "description": "Override the API base URL (e.g. for staging)",
2757
- "helpGroup": "GLOBAL",
2758
- "name": "api-url",
2759
- "hasDynamicHelp": false,
2760
- "multiple": false,
2761
- "type": "option"
2762
- },
2763
- "text": {
2764
- "description": "Broadcast message text",
2765
- "name": "text",
2766
- "hasDynamicHelp": false,
2767
- "multiple": false,
2768
- "type": "option"
2769
- },
2770
- "send-status": {
2771
- "description": "Send status",
2772
- "name": "send-status",
2773
- "hasDynamicHelp": false,
2774
- "multiple": false,
2775
- "type": "option"
2776
- },
2777
- "scheduled-at": {
2778
- "description": "Unix timestamp for scheduled send",
2779
- "name": "scheduled-at",
2780
- "hasDynamicHelp": false,
2781
- "multiple": false,
2782
- "type": "option"
2783
- },
2784
- "approved": {
2785
- "description": "Mark as approved",
2786
- "name": "approved",
2787
- "allowNo": false,
2788
- "type": "boolean"
2789
- },
2790
- "locked": {
2791
- "description": "Mark as locked",
2792
- "name": "locked",
2793
- "allowNo": false,
2794
- "type": "boolean"
2795
- },
2796
- "test": {
2797
- "description": "Mark as test broadcast",
2798
- "name": "test",
2799
- "allowNo": false,
2800
- "type": "boolean"
2801
- },
2802
- "template-id": {
2803
- "description": "Template ID",
2804
- "name": "template-id",
2805
- "hasDynamicHelp": false,
2806
- "multiple": false,
2807
- "type": "option"
2808
- },
2809
- "remove-media": {
2810
- "description": "Remove existing media",
2811
- "name": "remove-media",
2812
- "allowNo": false,
2813
- "type": "boolean"
2814
- },
2815
- "header-footer": {
2816
- "description": "Header/footer JSON array",
2817
- "name": "header-footer",
2818
- "hasDynamicHelp": false,
2819
- "multiple": false,
2820
- "type": "option"
2821
- },
2822
- "data": {
2823
- "description": "Additional JSON object payload",
2824
- "name": "data",
2825
- "hasDynamicHelp": false,
2826
- "multiple": false,
2827
- "type": "option"
2828
- }
2829
- },
2830
- "hasDynamicHelp": false,
2831
- "hiddenAliases": [],
2832
- "id": "broadcast:update",
2833
- "pluginAlias": "@instantkom/cli",
2834
- "pluginName": "@instantkom/cli",
2835
- "pluginType": "core",
2836
- "strict": true,
2837
- "enableJsonFlag": false,
2838
- "isESM": true,
2839
- "relativePath": [
2840
- "dist",
2841
- "commands",
2842
- "broadcast",
2843
- "update.js"
2844
- ]
2845
- },
2846
- "channels:create": {
2847
- "aliases": [],
2848
- "args": {},
2849
- "description": "Create a channel",
2629
+ "args": {},
2630
+ "description": "Create a channel",
2850
2631
  "flags": {
2851
2632
  "api-key": {
2852
2633
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3390,16 +3171,10 @@
3390
3171
  "update.js"
3391
3172
  ]
3392
3173
  },
3393
- "chats:get": {
3174
+ "contacts:create": {
3394
3175
  "aliases": [],
3395
- "args": {
3396
- "id": {
3397
- "description": "chat ID",
3398
- "name": "id",
3399
- "required": true
3400
- }
3401
- },
3402
- "description": "Get chat by ID",
3176
+ "args": {},
3177
+ "description": "Create a contact",
3403
3178
  "flags": {
3404
3179
  "api-key": {
3405
3180
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3462,28 +3237,64 @@
3462
3237
  "hasDynamicHelp": false,
3463
3238
  "multiple": false,
3464
3239
  "type": "option"
3465
- }
3466
- },
3467
- "hasDynamicHelp": false,
3468
- "hiddenAliases": [],
3469
- "id": "chats:get",
3470
- "pluginAlias": "@instantkom/cli",
3471
- "pluginName": "@instantkom/cli",
3472
- "pluginType": "core",
3473
- "strict": true,
3474
- "enableJsonFlag": false,
3475
- "isESM": true,
3240
+ },
3241
+ "channel": {
3242
+ "description": "Channel ID",
3243
+ "name": "channel",
3244
+ "required": true,
3245
+ "hasDynamicHelp": false,
3246
+ "multiple": false,
3247
+ "type": "option"
3248
+ },
3249
+ "identifier": {
3250
+ "description": "Unique contact identifier",
3251
+ "name": "identifier",
3252
+ "required": true,
3253
+ "hasDynamicHelp": false,
3254
+ "multiple": false,
3255
+ "type": "option"
3256
+ },
3257
+ "name": {
3258
+ "description": "Contact name",
3259
+ "name": "name",
3260
+ "hasDynamicHelp": false,
3261
+ "multiple": false,
3262
+ "type": "option"
3263
+ },
3264
+ "data": {
3265
+ "description": "Additional JSON object payload",
3266
+ "name": "data",
3267
+ "hasDynamicHelp": false,
3268
+ "multiple": false,
3269
+ "type": "option"
3270
+ }
3271
+ },
3272
+ "hasDynamicHelp": false,
3273
+ "hiddenAliases": [],
3274
+ "id": "contacts:create",
3275
+ "pluginAlias": "@instantkom/cli",
3276
+ "pluginName": "@instantkom/cli",
3277
+ "pluginType": "core",
3278
+ "strict": true,
3279
+ "enableJsonFlag": false,
3280
+ "isESM": true,
3476
3281
  "relativePath": [
3477
3282
  "dist",
3478
3283
  "commands",
3479
- "chats",
3480
- "get.js"
3284
+ "contacts",
3285
+ "create.js"
3481
3286
  ]
3482
3287
  },
3483
- "chats:list": {
3288
+ "contacts:delete": {
3484
3289
  "aliases": [],
3485
- "args": {},
3486
- "description": "List chats",
3290
+ "args": {
3291
+ "id": {
3292
+ "description": "Contact ID",
3293
+ "name": "id",
3294
+ "required": true
3295
+ }
3296
+ },
3297
+ "description": "Delete a contact",
3487
3298
  "flags": {
3488
3299
  "api-key": {
3489
3300
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3546,73 +3357,11 @@
3546
3357
  "hasDynamicHelp": false,
3547
3358
  "multiple": false,
3548
3359
  "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"
3611
3360
  }
3612
3361
  },
3613
3362
  "hasDynamicHelp": false,
3614
3363
  "hiddenAliases": [],
3615
- "id": "chats:list",
3364
+ "id": "contacts:delete",
3616
3365
  "pluginAlias": "@instantkom/cli",
3617
3366
  "pluginName": "@instantkom/cli",
3618
3367
  "pluginType": "core",
@@ -3622,20 +3371,14 @@
3622
3371
  "relativePath": [
3623
3372
  "dist",
3624
3373
  "commands",
3625
- "chats",
3626
- "list.js"
3374
+ "contacts",
3375
+ "delete.js"
3627
3376
  ]
3628
3377
  },
3629
- "chats:reply": {
3378
+ "contacts:export": {
3630
3379
  "aliases": [],
3631
- "args": {
3632
- "id": {
3633
- "description": "Chat ID",
3634
- "name": "id",
3635
- "required": true
3636
- }
3637
- },
3638
- "description": "Reply in a chat",
3380
+ "args": {},
3381
+ "description": "Export contacts to CSV",
3639
3382
  "flags": {
3640
3383
  "api-key": {
3641
3384
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3699,18 +3442,48 @@
3699
3442
  "multiple": false,
3700
3443
  "type": "option"
3701
3444
  },
3702
- "text": {
3703
- "description": "Reply text",
3704
- "name": "text",
3445
+ "file": {
3446
+ "description": "CSV output file path",
3447
+ "name": "file",
3705
3448
  "required": true,
3706
3449
  "hasDynamicHelp": false,
3707
3450
  "multiple": false,
3708
3451
  "type": "option"
3452
+ },
3453
+ "channel": {
3454
+ "description": "Filter by channel ID",
3455
+ "name": "channel",
3456
+ "hasDynamicHelp": false,
3457
+ "multiple": false,
3458
+ "type": "option"
3459
+ },
3460
+ "search": {
3461
+ "description": "Search by name or identifier",
3462
+ "name": "search",
3463
+ "hasDynamicHelp": false,
3464
+ "multiple": false,
3465
+ "type": "option"
3466
+ },
3467
+ "page": {
3468
+ "description": "Page number",
3469
+ "name": "page",
3470
+ "default": 1,
3471
+ "hasDynamicHelp": false,
3472
+ "multiple": false,
3473
+ "type": "option"
3474
+ },
3475
+ "limit": {
3476
+ "description": "Items per page",
3477
+ "name": "limit",
3478
+ "default": 100,
3479
+ "hasDynamicHelp": false,
3480
+ "multiple": false,
3481
+ "type": "option"
3709
3482
  }
3710
3483
  },
3711
3484
  "hasDynamicHelp": false,
3712
3485
  "hiddenAliases": [],
3713
- "id": "chats:reply",
3486
+ "id": "contacts:export",
3714
3487
  "pluginAlias": "@instantkom/cli",
3715
3488
  "pluginName": "@instantkom/cli",
3716
3489
  "pluginType": "core",
@@ -3720,20 +3493,20 @@
3720
3493
  "relativePath": [
3721
3494
  "dist",
3722
3495
  "commands",
3723
- "chats",
3724
- "reply.js"
3496
+ "contacts",
3497
+ "export.js"
3725
3498
  ]
3726
3499
  },
3727
- "config:get": {
3500
+ "contacts:get": {
3728
3501
  "aliases": [],
3729
3502
  "args": {
3730
- "key": {
3731
- "description": "Configuration key to retrieve",
3732
- "name": "key",
3503
+ "id": {
3504
+ "description": "Contact ID",
3505
+ "name": "id",
3733
3506
  "required": true
3734
3507
  }
3735
3508
  },
3736
- "description": "Get a configuration value for the current profile",
3509
+ "description": "Get a contact by ID",
3737
3510
  "flags": {
3738
3511
  "api-key": {
3739
3512
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3800,7 +3573,7 @@
3800
3573
  },
3801
3574
  "hasDynamicHelp": false,
3802
3575
  "hiddenAliases": [],
3803
- "id": "config:get",
3576
+ "id": "contacts:get",
3804
3577
  "pluginAlias": "@instantkom/cli",
3805
3578
  "pluginName": "@instantkom/cli",
3806
3579
  "pluginType": "core",
@@ -3810,25 +3583,14 @@
3810
3583
  "relativePath": [
3811
3584
  "dist",
3812
3585
  "commands",
3813
- "config",
3586
+ "contacts",
3814
3587
  "get.js"
3815
3588
  ]
3816
3589
  },
3817
- "config:set": {
3590
+ "contacts:import": {
3818
3591
  "aliases": [],
3819
- "args": {
3820
- "key": {
3821
- "description": "Configuration key to set",
3822
- "name": "key",
3823
- "required": true
3824
- },
3825
- "value": {
3826
- "description": "Value to assign",
3827
- "name": "value",
3828
- "required": true
3829
- }
3830
- },
3831
- "description": "Set a configuration value for the current profile",
3592
+ "args": {},
3593
+ "description": "Import contacts from CSV",
3832
3594
  "flags": {
3833
3595
  "api-key": {
3834
3596
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3891,11 +3653,27 @@
3891
3653
  "hasDynamicHelp": false,
3892
3654
  "multiple": false,
3893
3655
  "type": "option"
3656
+ },
3657
+ "file": {
3658
+ "description": "CSV file path",
3659
+ "name": "file",
3660
+ "required": true,
3661
+ "hasDynamicHelp": false,
3662
+ "multiple": false,
3663
+ "type": "option"
3664
+ },
3665
+ "channel": {
3666
+ "description": "Channel ID",
3667
+ "name": "channel",
3668
+ "required": true,
3669
+ "hasDynamicHelp": false,
3670
+ "multiple": false,
3671
+ "type": "option"
3894
3672
  }
3895
3673
  },
3896
3674
  "hasDynamicHelp": false,
3897
3675
  "hiddenAliases": [],
3898
- "id": "config:set",
3676
+ "id": "contacts:import",
3899
3677
  "pluginAlias": "@instantkom/cli",
3900
3678
  "pluginName": "@instantkom/cli",
3901
3679
  "pluginType": "core",
@@ -3905,20 +3683,14 @@
3905
3683
  "relativePath": [
3906
3684
  "dist",
3907
3685
  "commands",
3908
- "config",
3909
- "set.js"
3686
+ "contacts",
3687
+ "import.js"
3910
3688
  ]
3911
3689
  },
3912
- "config:unset": {
3690
+ "contacts:list": {
3913
3691
  "aliases": [],
3914
- "args": {
3915
- "key": {
3916
- "description": "Configuration key to remove",
3917
- "name": "key",
3918
- "required": true
3919
- }
3920
- },
3921
- "description": "Remove a configuration key from the current profile",
3692
+ "args": {},
3693
+ "description": "List contacts",
3922
3694
  "flags": {
3923
3695
  "api-key": {
3924
3696
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3981,28 +3753,129 @@
3981
3753
  "hasDynamicHelp": false,
3982
3754
  "multiple": false,
3983
3755
  "type": "option"
3984
- }
3985
- },
3986
- "hasDynamicHelp": false,
3987
- "hiddenAliases": [],
3988
- "id": "config:unset",
3989
- "pluginAlias": "@instantkom/cli",
3990
- "pluginName": "@instantkom/cli",
3991
- "pluginType": "core",
3992
- "strict": true,
3993
- "enableJsonFlag": false,
3994
- "isESM": true,
3995
- "relativePath": [
3756
+ },
3757
+ "channel": {
3758
+ "description": "Filter by channel ID",
3759
+ "name": "channel",
3760
+ "hasDynamicHelp": false,
3761
+ "multiple": false,
3762
+ "type": "option"
3763
+ },
3764
+ "search": {
3765
+ "description": "Search by name or identifier",
3766
+ "name": "search",
3767
+ "hasDynamicHelp": false,
3768
+ "multiple": false,
3769
+ "type": "option"
3770
+ },
3771
+ "page": {
3772
+ "description": "Page number",
3773
+ "name": "page",
3774
+ "default": 1,
3775
+ "hasDynamicHelp": false,
3776
+ "multiple": false,
3777
+ "type": "option"
3778
+ },
3779
+ "limit": {
3780
+ "description": "Items per page",
3781
+ "name": "limit",
3782
+ "default": 20,
3783
+ "hasDynamicHelp": false,
3784
+ "multiple": false,
3785
+ "type": "option"
3786
+ },
3787
+ "optin-status": {
3788
+ "description": "Filter by opt-in status",
3789
+ "name": "optin-status",
3790
+ "hasDynamicHelp": false,
3791
+ "multiple": false,
3792
+ "options": [
3793
+ "0",
3794
+ "1"
3795
+ ],
3796
+ "type": "option"
3797
+ },
3798
+ "blocked": {
3799
+ "description": "Filter by blocked status: 1 blocked, 0 not blocked",
3800
+ "name": "blocked",
3801
+ "hasDynamicHelp": false,
3802
+ "multiple": false,
3803
+ "options": [
3804
+ "0",
3805
+ "1"
3806
+ ],
3807
+ "type": "option"
3808
+ },
3809
+ "segment": {
3810
+ "description": "Filter by segment ID",
3811
+ "name": "segment",
3812
+ "hasDynamicHelp": false,
3813
+ "multiple": false,
3814
+ "type": "option"
3815
+ },
3816
+ "tags": {
3817
+ "description": "Comma-separated tag IDs",
3818
+ "name": "tags",
3819
+ "hasDynamicHelp": false,
3820
+ "multiple": false,
3821
+ "type": "option"
3822
+ },
3823
+ "tag-match": {
3824
+ "description": "Tag match mode",
3825
+ "name": "tag-match",
3826
+ "hasDynamicHelp": false,
3827
+ "multiple": false,
3828
+ "options": [
3829
+ "any",
3830
+ "all"
3831
+ ],
3832
+ "type": "option"
3833
+ },
3834
+ "spam": {
3835
+ "description": "Filter by spam status",
3836
+ "name": "spam",
3837
+ "hasDynamicHelp": false,
3838
+ "multiple": false,
3839
+ "options": [
3840
+ "true",
3841
+ "false"
3842
+ ],
3843
+ "type": "option"
3844
+ },
3845
+ "trust-level": {
3846
+ "description": "Comma-separated trust levels",
3847
+ "name": "trust-level",
3848
+ "hasDynamicHelp": false,
3849
+ "multiple": false,
3850
+ "type": "option"
3851
+ }
3852
+ },
3853
+ "hasDynamicHelp": false,
3854
+ "hiddenAliases": [],
3855
+ "id": "contacts:list",
3856
+ "pluginAlias": "@instantkom/cli",
3857
+ "pluginName": "@instantkom/cli",
3858
+ "pluginType": "core",
3859
+ "strict": true,
3860
+ "enableJsonFlag": false,
3861
+ "isESM": true,
3862
+ "relativePath": [
3996
3863
  "dist",
3997
3864
  "commands",
3998
- "config",
3999
- "unset.js"
3865
+ "contacts",
3866
+ "list.js"
4000
3867
  ]
4001
3868
  },
4002
- "contacts:create": {
3869
+ "contacts:update": {
4003
3870
  "aliases": [],
4004
- "args": {},
4005
- "description": "Create a contact",
3871
+ "args": {
3872
+ "id": {
3873
+ "description": "Contact ID",
3874
+ "name": "id",
3875
+ "required": true
3876
+ }
3877
+ },
3878
+ "description": "Update a contact",
4006
3879
  "flags": {
4007
3880
  "api-key": {
4008
3881
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4066,18 +3939,9 @@
4066
3939
  "multiple": false,
4067
3940
  "type": "option"
4068
3941
  },
4069
- "channel": {
4070
- "description": "Channel ID",
4071
- "name": "channel",
4072
- "required": true,
4073
- "hasDynamicHelp": false,
4074
- "multiple": false,
4075
- "type": "option"
4076
- },
4077
3942
  "identifier": {
4078
3943
  "description": "Unique contact identifier",
4079
3944
  "name": "identifier",
4080
- "required": true,
4081
3945
  "hasDynamicHelp": false,
4082
3946
  "multiple": false,
4083
3947
  "type": "option"
@@ -4099,7 +3963,7 @@
4099
3963
  },
4100
3964
  "hasDynamicHelp": false,
4101
3965
  "hiddenAliases": [],
4102
- "id": "contacts:create",
3966
+ "id": "contacts:update",
4103
3967
  "pluginAlias": "@instantkom/cli",
4104
3968
  "pluginName": "@instantkom/cli",
4105
3969
  "pluginType": "core",
@@ -4110,19 +3974,13 @@
4110
3974
  "dist",
4111
3975
  "commands",
4112
3976
  "contacts",
4113
- "create.js"
3977
+ "update.js"
4114
3978
  ]
4115
3979
  },
4116
- "contacts:delete": {
3980
+ "custom-fields:bulk-delete": {
4117
3981
  "aliases": [],
4118
- "args": {
4119
- "id": {
4120
- "description": "Contact ID",
4121
- "name": "id",
4122
- "required": true
4123
- }
4124
- },
4125
- "description": "Delete a contact",
3982
+ "args": {},
3983
+ "description": "Bulk delete custom fields",
4126
3984
  "flags": {
4127
3985
  "api-key": {
4128
3986
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4185,11 +4043,19 @@
4185
4043
  "hasDynamicHelp": false,
4186
4044
  "multiple": false,
4187
4045
  "type": "option"
4046
+ },
4047
+ "ids": {
4048
+ "description": "Comma-separated custom field IDs",
4049
+ "name": "ids",
4050
+ "required": true,
4051
+ "hasDynamicHelp": false,
4052
+ "multiple": false,
4053
+ "type": "option"
4188
4054
  }
4189
4055
  },
4190
4056
  "hasDynamicHelp": false,
4191
4057
  "hiddenAliases": [],
4192
- "id": "contacts:delete",
4058
+ "id": "custom-fields:bulk-delete",
4193
4059
  "pluginAlias": "@instantkom/cli",
4194
4060
  "pluginName": "@instantkom/cli",
4195
4061
  "pluginType": "core",
@@ -4199,14 +4065,14 @@
4199
4065
  "relativePath": [
4200
4066
  "dist",
4201
4067
  "commands",
4202
- "contacts",
4203
- "delete.js"
4068
+ "custom-fields",
4069
+ "bulk-delete.js"
4204
4070
  ]
4205
4071
  },
4206
- "contacts:export": {
4072
+ "custom-fields:create": {
4207
4073
  "aliases": [],
4208
4074
  "args": {},
4209
- "description": "Export contacts to CSV",
4075
+ "description": "Create a custom field",
4210
4076
  "flags": {
4211
4077
  "api-key": {
4212
4078
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4270,40 +4136,63 @@
4270
4136
  "multiple": false,
4271
4137
  "type": "option"
4272
4138
  },
4273
- "file": {
4274
- "description": "CSV output file path",
4275
- "name": "file",
4139
+ "name": {
4140
+ "description": "Field name",
4141
+ "name": "name",
4276
4142
  "required": true,
4277
4143
  "hasDynamicHelp": false,
4278
4144
  "multiple": false,
4279
4145
  "type": "option"
4280
4146
  },
4281
- "channel": {
4282
- "description": "Filter by channel ID",
4283
- "name": "channel",
4147
+ "key": {
4148
+ "description": "Field key",
4149
+ "name": "key",
4150
+ "required": true,
4284
4151
  "hasDynamicHelp": false,
4285
4152
  "multiple": false,
4286
4153
  "type": "option"
4287
4154
  },
4288
- "search": {
4289
- "description": "Search by name or identifier",
4290
- "name": "search",
4155
+ "type": {
4156
+ "description": "Field type",
4157
+ "name": "type",
4158
+ "required": true,
4159
+ "hasDynamicHelp": false,
4160
+ "multiple": false,
4161
+ "options": [
4162
+ "text",
4163
+ "number",
4164
+ "date",
4165
+ "dropdown",
4166
+ "checkbox",
4167
+ "url",
4168
+ "email",
4169
+ "phone"
4170
+ ],
4171
+ "type": "option"
4172
+ },
4173
+ "required": {
4174
+ "description": "Field is required",
4175
+ "name": "required",
4176
+ "allowNo": false,
4177
+ "type": "boolean"
4178
+ },
4179
+ "default": {
4180
+ "description": "Default value",
4181
+ "name": "default",
4291
4182
  "hasDynamicHelp": false,
4292
4183
  "multiple": false,
4293
4184
  "type": "option"
4294
4185
  },
4295
- "page": {
4296
- "description": "Page number",
4297
- "name": "page",
4298
- "default": 1,
4186
+ "options": {
4187
+ "description": "Comma-separated dropdown options",
4188
+ "name": "options",
4299
4189
  "hasDynamicHelp": false,
4300
4190
  "multiple": false,
4301
4191
  "type": "option"
4302
4192
  },
4303
- "limit": {
4304
- "description": "Items per page",
4305
- "name": "limit",
4306
- "default": 100,
4193
+ "data": {
4194
+ "description": "Additional JSON object payload",
4195
+ "name": "data",
4307
4196
  "hasDynamicHelp": false,
4308
4197
  "multiple": false,
4309
4198
  "type": "option"
@@ -4311,7 +4200,7 @@
4311
4200
  },
4312
4201
  "hasDynamicHelp": false,
4313
4202
  "hiddenAliases": [],
4314
- "id": "contacts:export",
4203
+ "id": "custom-fields:create",
4315
4204
  "pluginAlias": "@instantkom/cli",
4316
4205
  "pluginName": "@instantkom/cli",
4317
4206
  "pluginType": "core",
@@ -4321,20 +4210,20 @@
4321
4210
  "relativePath": [
4322
4211
  "dist",
4323
4212
  "commands",
4324
- "contacts",
4325
- "export.js"
4213
+ "custom-fields",
4214
+ "create.js"
4326
4215
  ]
4327
4216
  },
4328
- "contacts:get": {
4217
+ "custom-fields:delete": {
4329
4218
  "aliases": [],
4330
4219
  "args": {
4331
4220
  "id": {
4332
- "description": "Contact ID",
4221
+ "description": "custom field ID",
4333
4222
  "name": "id",
4334
4223
  "required": true
4335
4224
  }
4336
4225
  },
4337
- "description": "Get a contact by ID",
4226
+ "description": "Delete custom field",
4338
4227
  "flags": {
4339
4228
  "api-key": {
4340
4229
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4401,7 +4290,7 @@
4401
4290
  },
4402
4291
  "hasDynamicHelp": false,
4403
4292
  "hiddenAliases": [],
4404
- "id": "contacts:get",
4293
+ "id": "custom-fields:delete",
4405
4294
  "pluginAlias": "@instantkom/cli",
4406
4295
  "pluginName": "@instantkom/cli",
4407
4296
  "pluginType": "core",
@@ -4411,14 +4300,20 @@
4411
4300
  "relativePath": [
4412
4301
  "dist",
4413
4302
  "commands",
4414
- "contacts",
4415
- "get.js"
4303
+ "custom-fields",
4304
+ "delete.js"
4416
4305
  ]
4417
4306
  },
4418
- "contacts:import": {
4307
+ "custom-fields:get": {
4419
4308
  "aliases": [],
4420
- "args": {},
4421
- "description": "Import contacts from CSV",
4309
+ "args": {
4310
+ "id": {
4311
+ "description": "custom field ID",
4312
+ "name": "id",
4313
+ "required": true
4314
+ }
4315
+ },
4316
+ "description": "Get custom field by ID",
4422
4317
  "flags": {
4423
4318
  "api-key": {
4424
4319
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4481,27 +4376,11 @@
4481
4376
  "hasDynamicHelp": false,
4482
4377
  "multiple": false,
4483
4378
  "type": "option"
4484
- },
4485
- "file": {
4486
- "description": "CSV file path",
4487
- "name": "file",
4488
- "required": true,
4489
- "hasDynamicHelp": false,
4490
- "multiple": false,
4491
- "type": "option"
4492
- },
4493
- "channel": {
4494
- "description": "Channel ID",
4495
- "name": "channel",
4496
- "required": true,
4497
- "hasDynamicHelp": false,
4498
- "multiple": false,
4499
- "type": "option"
4500
4379
  }
4501
4380
  },
4502
4381
  "hasDynamicHelp": false,
4503
4382
  "hiddenAliases": [],
4504
- "id": "contacts:import",
4383
+ "id": "custom-fields:get",
4505
4384
  "pluginAlias": "@instantkom/cli",
4506
4385
  "pluginName": "@instantkom/cli",
4507
4386
  "pluginType": "core",
@@ -4511,14 +4390,14 @@
4511
4390
  "relativePath": [
4512
4391
  "dist",
4513
4392
  "commands",
4514
- "contacts",
4515
- "import.js"
4393
+ "custom-fields",
4394
+ "get.js"
4516
4395
  ]
4517
4396
  },
4518
- "contacts:list": {
4397
+ "custom-fields:list": {
4519
4398
  "aliases": [],
4520
4399
  "args": {},
4521
- "description": "List contacts",
4400
+ "description": "List custom fields",
4522
4401
  "flags": {
4523
4402
  "api-key": {
4524
4403
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4581,98 +4460,95 @@
4581
4460
  "hasDynamicHelp": false,
4582
4461
  "multiple": false,
4583
4462
  "type": "option"
4584
- },
4585
- "channel": {
4586
- "description": "Filter by channel ID",
4587
- "name": "channel",
4588
- "hasDynamicHelp": false,
4589
- "multiple": false,
4590
- "type": "option"
4591
- },
4592
- "search": {
4593
- "description": "Search by name or identifier",
4594
- "name": "search",
4595
- "hasDynamicHelp": false,
4596
- "multiple": false,
4597
- "type": "option"
4598
- },
4599
- "page": {
4600
- "description": "Page number",
4601
- "name": "page",
4602
- "default": 1,
4603
- "hasDynamicHelp": false,
4604
- "multiple": false,
4605
- "type": "option"
4606
- },
4607
- "limit": {
4608
- "description": "Items per page",
4609
- "name": "limit",
4610
- "default": 20,
4463
+ }
4464
+ },
4465
+ "hasDynamicHelp": false,
4466
+ "hiddenAliases": [],
4467
+ "id": "custom-fields:list",
4468
+ "pluginAlias": "@instantkom/cli",
4469
+ "pluginName": "@instantkom/cli",
4470
+ "pluginType": "core",
4471
+ "strict": true,
4472
+ "enableJsonFlag": false,
4473
+ "isESM": true,
4474
+ "relativePath": [
4475
+ "dist",
4476
+ "commands",
4477
+ "custom-fields",
4478
+ "list.js"
4479
+ ]
4480
+ },
4481
+ "custom-fields:reorder": {
4482
+ "aliases": [],
4483
+ "args": {},
4484
+ "description": "Reorder custom fields",
4485
+ "flags": {
4486
+ "api-key": {
4487
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
4488
+ "env": "IKM_API_KEY",
4489
+ "helpGroup": "GLOBAL",
4490
+ "name": "api-key",
4611
4491
  "hasDynamicHelp": false,
4612
4492
  "multiple": false,
4613
4493
  "type": "option"
4614
4494
  },
4615
- "optin-status": {
4616
- "description": "Filter by opt-in status",
4617
- "name": "optin-status",
4495
+ "format": {
4496
+ "description": "Output format: text, json, yaml, or table",
4497
+ "helpGroup": "GLOBAL",
4498
+ "name": "format",
4499
+ "default": "text",
4618
4500
  "hasDynamicHelp": false,
4619
4501
  "multiple": false,
4620
4502
  "options": [
4621
- "0",
4622
- "1"
4503
+ "text",
4504
+ "json",
4505
+ "yaml",
4506
+ "table"
4623
4507
  ],
4624
4508
  "type": "option"
4625
4509
  },
4626
- "blocked": {
4627
- "description": "Filter by blocked status: 1 blocked, 0 not blocked",
4628
- "name": "blocked",
4629
- "hasDynamicHelp": false,
4630
- "multiple": false,
4631
- "options": [
4632
- "0",
4633
- "1"
4634
- ],
4635
- "type": "option"
4510
+ "json": {
4511
+ "description": "Output in JSON format (alias for --format=json)",
4512
+ "helpGroup": "GLOBAL",
4513
+ "name": "json",
4514
+ "allowNo": false,
4515
+ "type": "boolean"
4636
4516
  },
4637
- "segment": {
4638
- "description": "Filter by segment ID",
4639
- "name": "segment",
4640
- "hasDynamicHelp": false,
4641
- "multiple": false,
4642
- "type": "option"
4517
+ "quiet": {
4518
+ "description": "Suppress all output except errors",
4519
+ "helpGroup": "GLOBAL",
4520
+ "name": "quiet",
4521
+ "allowNo": false,
4522
+ "type": "boolean"
4643
4523
  },
4644
- "tags": {
4645
- "description": "Comma-separated tag IDs",
4646
- "name": "tags",
4647
- "hasDynamicHelp": false,
4648
- "multiple": false,
4649
- "type": "option"
4524
+ "no-color": {
4525
+ "description": "Disable color output",
4526
+ "helpGroup": "GLOBAL",
4527
+ "name": "no-color",
4528
+ "allowNo": false,
4529
+ "type": "boolean"
4650
4530
  },
4651
- "tag-match": {
4652
- "description": "Tag match mode",
4653
- "name": "tag-match",
4531
+ "profile": {
4532
+ "description": "Named configuration profile to use",
4533
+ "helpGroup": "GLOBAL",
4534
+ "name": "profile",
4535
+ "default": "default",
4654
4536
  "hasDynamicHelp": false,
4655
4537
  "multiple": false,
4656
- "options": [
4657
- "any",
4658
- "all"
4659
- ],
4660
4538
  "type": "option"
4661
4539
  },
4662
- "spam": {
4663
- "description": "Filter by spam status",
4664
- "name": "spam",
4540
+ "api-url": {
4541
+ "description": "Override the API base URL (e.g. for staging)",
4542
+ "helpGroup": "GLOBAL",
4543
+ "name": "api-url",
4665
4544
  "hasDynamicHelp": false,
4666
4545
  "multiple": false,
4667
- "options": [
4668
- "true",
4669
- "false"
4670
- ],
4671
4546
  "type": "option"
4672
4547
  },
4673
- "trust-level": {
4674
- "description": "Comma-separated trust levels",
4675
- "name": "trust-level",
4548
+ "order": {
4549
+ "description": "Order JSON array payload",
4550
+ "name": "order",
4551
+ "required": true,
4676
4552
  "hasDynamicHelp": false,
4677
4553
  "multiple": false,
4678
4554
  "type": "option"
@@ -4680,7 +4556,7 @@
4680
4556
  },
4681
4557
  "hasDynamicHelp": false,
4682
4558
  "hiddenAliases": [],
4683
- "id": "contacts:list",
4559
+ "id": "custom-fields:reorder",
4684
4560
  "pluginAlias": "@instantkom/cli",
4685
4561
  "pluginName": "@instantkom/cli",
4686
4562
  "pluginType": "core",
@@ -4690,20 +4566,20 @@
4690
4566
  "relativePath": [
4691
4567
  "dist",
4692
4568
  "commands",
4693
- "contacts",
4694
- "list.js"
4569
+ "custom-fields",
4570
+ "reorder.js"
4695
4571
  ]
4696
4572
  },
4697
- "contacts:update": {
4573
+ "custom-fields:update": {
4698
4574
  "aliases": [],
4699
4575
  "args": {
4700
4576
  "id": {
4701
- "description": "Contact ID",
4577
+ "description": "Custom field ID",
4702
4578
  "name": "id",
4703
4579
  "required": true
4704
4580
  }
4705
4581
  },
4706
- "description": "Update a contact",
4582
+ "description": "Update a custom field",
4707
4583
  "flags": {
4708
4584
  "api-key": {
4709
4585
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4767,16 +4643,52 @@
4767
4643
  "multiple": false,
4768
4644
  "type": "option"
4769
4645
  },
4770
- "identifier": {
4771
- "description": "Unique contact identifier",
4772
- "name": "identifier",
4646
+ "name": {
4647
+ "description": "Field name",
4648
+ "name": "name",
4773
4649
  "hasDynamicHelp": false,
4774
4650
  "multiple": false,
4775
4651
  "type": "option"
4776
4652
  },
4777
- "name": {
4778
- "description": "Contact name",
4779
- "name": "name",
4653
+ "type": {
4654
+ "description": "Field type",
4655
+ "name": "type",
4656
+ "hasDynamicHelp": false,
4657
+ "multiple": false,
4658
+ "options": [
4659
+ "text",
4660
+ "number",
4661
+ "date",
4662
+ "dropdown",
4663
+ "checkbox",
4664
+ "url",
4665
+ "email",
4666
+ "phone"
4667
+ ],
4668
+ "type": "option"
4669
+ },
4670
+ "required": {
4671
+ "description": "Field is required",
4672
+ "name": "required",
4673
+ "allowNo": true,
4674
+ "type": "boolean"
4675
+ },
4676
+ "status": {
4677
+ "description": "Field is active",
4678
+ "name": "status",
4679
+ "allowNo": true,
4680
+ "type": "boolean"
4681
+ },
4682
+ "default": {
4683
+ "description": "Default value",
4684
+ "name": "default",
4685
+ "hasDynamicHelp": false,
4686
+ "multiple": false,
4687
+ "type": "option"
4688
+ },
4689
+ "options": {
4690
+ "description": "Comma-separated dropdown options",
4691
+ "name": "options",
4780
4692
  "hasDynamicHelp": false,
4781
4693
  "multiple": false,
4782
4694
  "type": "option"
@@ -4791,7 +4703,7 @@
4791
4703
  },
4792
4704
  "hasDynamicHelp": false,
4793
4705
  "hiddenAliases": [],
4794
- "id": "contacts:update",
4706
+ "id": "custom-fields:update",
4795
4707
  "pluginAlias": "@instantkom/cli",
4796
4708
  "pluginName": "@instantkom/cli",
4797
4709
  "pluginType": "core",
@@ -4801,14 +4713,14 @@
4801
4713
  "relativePath": [
4802
4714
  "dist",
4803
4715
  "commands",
4804
- "contacts",
4716
+ "custom-fields",
4805
4717
  "update.js"
4806
4718
  ]
4807
4719
  },
4808
- "custom-fields:bulk-delete": {
4720
+ "broadcast:create": {
4809
4721
  "aliases": [],
4810
4722
  "args": {},
4811
- "description": "Bulk delete custom fields",
4723
+ "description": "Create a broadcast for channels or segments",
4812
4724
  "flags": {
4813
4725
  "api-key": {
4814
4726
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4872,18 +4784,92 @@
4872
4784
  "multiple": false,
4873
4785
  "type": "option"
4874
4786
  },
4875
- "ids": {
4876
- "description": "Comma-separated custom field IDs",
4877
- "name": "ids",
4787
+ "channel": {
4788
+ "description": "Channel ID target",
4789
+ "name": "channel",
4790
+ "hasDynamicHelp": false,
4791
+ "multiple": false,
4792
+ "type": "option"
4793
+ },
4794
+ "segment": {
4795
+ "description": "Segment ID within --channel",
4796
+ "name": "segment",
4797
+ "hasDynamicHelp": false,
4798
+ "multiple": false,
4799
+ "type": "option"
4800
+ },
4801
+ "target": {
4802
+ "description": "Target as channelId or channelId:segmentId; may be repeated",
4803
+ "name": "target",
4804
+ "hasDynamicHelp": false,
4805
+ "multiple": true,
4806
+ "type": "option"
4807
+ },
4808
+ "text": {
4809
+ "description": "Broadcast message text",
4810
+ "name": "text",
4878
4811
  "required": true,
4879
4812
  "hasDynamicHelp": false,
4880
4813
  "multiple": false,
4881
4814
  "type": "option"
4815
+ },
4816
+ "send-at": {
4817
+ "description": "Schedule send for an ISO-8601 date-time",
4818
+ "name": "send-at",
4819
+ "hasDynamicHelp": false,
4820
+ "multiple": false,
4821
+ "type": "option"
4822
+ },
4823
+ "dry-run": {
4824
+ "description": "Validate and print the broadcast payload without mutating API calls",
4825
+ "name": "dry-run",
4826
+ "allowNo": false,
4827
+ "type": "boolean"
4828
+ },
4829
+ "idempotency-key": {
4830
+ "description": "Idempotency key forwarded as Idempotency-Key",
4831
+ "name": "idempotency-key",
4832
+ "hasDynamicHelp": false,
4833
+ "multiple": false,
4834
+ "type": "option"
4835
+ },
4836
+ "media": {
4837
+ "description": "Media file path to upload",
4838
+ "name": "media",
4839
+ "hasDynamicHelp": false,
4840
+ "multiple": true,
4841
+ "type": "option"
4842
+ },
4843
+ "template-id": {
4844
+ "description": "WhatsApp template ID",
4845
+ "name": "template-id",
4846
+ "hasDynamicHelp": false,
4847
+ "multiple": false,
4848
+ "type": "option"
4849
+ },
4850
+ "send-status": {
4851
+ "description": "Initial broadcast send status",
4852
+ "name": "send-status",
4853
+ "default": "draft",
4854
+ "hasDynamicHelp": false,
4855
+ "multiple": false,
4856
+ "options": [
4857
+ "draft",
4858
+ "scheduled",
4859
+ "sending"
4860
+ ],
4861
+ "type": "option"
4862
+ },
4863
+ "auto-approve": {
4864
+ "description": "Auto-approve broadcast when allowed by API permissions",
4865
+ "name": "auto-approve",
4866
+ "allowNo": false,
4867
+ "type": "boolean"
4882
4868
  }
4883
4869
  },
4884
4870
  "hasDynamicHelp": false,
4885
4871
  "hiddenAliases": [],
4886
- "id": "custom-fields:bulk-delete",
4872
+ "id": "broadcast:create",
4887
4873
  "pluginAlias": "@instantkom/cli",
4888
4874
  "pluginName": "@instantkom/cli",
4889
4875
  "pluginType": "core",
@@ -4893,14 +4879,20 @@
4893
4879
  "relativePath": [
4894
4880
  "dist",
4895
4881
  "commands",
4896
- "custom-fields",
4897
- "bulk-delete.js"
4882
+ "broadcast",
4883
+ "create.js"
4898
4884
  ]
4899
4885
  },
4900
- "custom-fields:create": {
4886
+ "broadcast:delete": {
4901
4887
  "aliases": [],
4902
- "args": {},
4903
- "description": "Create a custom field",
4888
+ "args": {
4889
+ "id": {
4890
+ "description": "broadcast ID",
4891
+ "name": "id",
4892
+ "required": true
4893
+ }
4894
+ },
4895
+ "description": "Delete broadcast",
4904
4896
  "flags": {
4905
4897
  "api-key": {
4906
4898
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4963,72 +4955,11 @@
4963
4955
  "hasDynamicHelp": false,
4964
4956
  "multiple": false,
4965
4957
  "type": "option"
4966
- },
4967
- "name": {
4968
- "description": "Field name",
4969
- "name": "name",
4970
- "required": true,
4971
- "hasDynamicHelp": false,
4972
- "multiple": false,
4973
- "type": "option"
4974
- },
4975
- "key": {
4976
- "description": "Field key",
4977
- "name": "key",
4978
- "required": true,
4979
- "hasDynamicHelp": false,
4980
- "multiple": false,
4981
- "type": "option"
4982
- },
4983
- "type": {
4984
- "description": "Field type",
4985
- "name": "type",
4986
- "required": true,
4987
- "hasDynamicHelp": false,
4988
- "multiple": false,
4989
- "options": [
4990
- "text",
4991
- "number",
4992
- "date",
4993
- "dropdown",
4994
- "checkbox",
4995
- "url",
4996
- "email",
4997
- "phone"
4998
- ],
4999
- "type": "option"
5000
- },
5001
- "required": {
5002
- "description": "Field is required",
5003
- "name": "required",
5004
- "allowNo": false,
5005
- "type": "boolean"
5006
- },
5007
- "default": {
5008
- "description": "Default value",
5009
- "name": "default",
5010
- "hasDynamicHelp": false,
5011
- "multiple": false,
5012
- "type": "option"
5013
- },
5014
- "options": {
5015
- "description": "Comma-separated dropdown options",
5016
- "name": "options",
5017
- "hasDynamicHelp": false,
5018
- "multiple": false,
5019
- "type": "option"
5020
- },
5021
- "data": {
5022
- "description": "Additional JSON object payload",
5023
- "name": "data",
5024
- "hasDynamicHelp": false,
5025
- "multiple": false,
5026
- "type": "option"
5027
4958
  }
5028
4959
  },
5029
4960
  "hasDynamicHelp": false,
5030
4961
  "hiddenAliases": [],
5031
- "id": "custom-fields:create",
4962
+ "id": "broadcast:delete",
5032
4963
  "pluginAlias": "@instantkom/cli",
5033
4964
  "pluginName": "@instantkom/cli",
5034
4965
  "pluginType": "core",
@@ -5038,20 +4969,20 @@
5038
4969
  "relativePath": [
5039
4970
  "dist",
5040
4971
  "commands",
5041
- "custom-fields",
5042
- "create.js"
4972
+ "broadcast",
4973
+ "delete.js"
5043
4974
  ]
5044
4975
  },
5045
- "custom-fields:delete": {
4976
+ "broadcast:get": {
5046
4977
  "aliases": [],
5047
4978
  "args": {
5048
4979
  "id": {
5049
- "description": "custom field ID",
4980
+ "description": "broadcast ID",
5050
4981
  "name": "id",
5051
4982
  "required": true
5052
4983
  }
5053
4984
  },
5054
- "description": "Delete custom field",
4985
+ "description": "Get broadcast by ID",
5055
4986
  "flags": {
5056
4987
  "api-key": {
5057
4988
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5118,7 +5049,7 @@
5118
5049
  },
5119
5050
  "hasDynamicHelp": false,
5120
5051
  "hiddenAliases": [],
5121
- "id": "custom-fields:delete",
5052
+ "id": "broadcast:get",
5122
5053
  "pluginAlias": "@instantkom/cli",
5123
5054
  "pluginName": "@instantkom/cli",
5124
5055
  "pluginType": "core",
@@ -5128,20 +5059,14 @@
5128
5059
  "relativePath": [
5129
5060
  "dist",
5130
5061
  "commands",
5131
- "custom-fields",
5132
- "delete.js"
5062
+ "broadcast",
5063
+ "get.js"
5133
5064
  ]
5134
5065
  },
5135
- "custom-fields:get": {
5066
+ "broadcast:list": {
5136
5067
  "aliases": [],
5137
- "args": {
5138
- "id": {
5139
- "description": "custom field ID",
5140
- "name": "id",
5141
- "required": true
5142
- }
5143
- },
5144
- "description": "Get custom field by ID",
5068
+ "args": {},
5069
+ "description": "List broadcasts",
5145
5070
  "flags": {
5146
5071
  "api-key": {
5147
5072
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5204,11 +5129,73 @@
5204
5129
  "hasDynamicHelp": false,
5205
5130
  "multiple": false,
5206
5131
  "type": "option"
5132
+ },
5133
+ "page": {
5134
+ "description": "Page number",
5135
+ "name": "page",
5136
+ "default": 1,
5137
+ "hasDynamicHelp": false,
5138
+ "multiple": false,
5139
+ "type": "option"
5140
+ },
5141
+ "limit": {
5142
+ "description": "Items per page",
5143
+ "name": "limit",
5144
+ "default": 20,
5145
+ "hasDynamicHelp": false,
5146
+ "multiple": false,
5147
+ "type": "option"
5148
+ },
5149
+ "channel": {
5150
+ "description": "Filter by channel ID",
5151
+ "name": "channel",
5152
+ "hasDynamicHelp": false,
5153
+ "multiple": false,
5154
+ "type": "option"
5155
+ },
5156
+ "send-status": {
5157
+ "description": "Filter by send status",
5158
+ "name": "send-status",
5159
+ "hasDynamicHelp": false,
5160
+ "multiple": false,
5161
+ "type": "option"
5162
+ },
5163
+ "type": {
5164
+ "description": "Broadcast type",
5165
+ "name": "type",
5166
+ "hasDynamicHelp": false,
5167
+ "multiple": false,
5168
+ "options": [
5169
+ "text",
5170
+ "image",
5171
+ "video",
5172
+ "audio",
5173
+ "document"
5174
+ ],
5175
+ "type": "option"
5176
+ },
5177
+ "search": {
5178
+ "description": "Search broadcasts",
5179
+ "name": "search",
5180
+ "hasDynamicHelp": false,
5181
+ "multiple": false,
5182
+ "type": "option"
5183
+ },
5184
+ "test": {
5185
+ "description": "Filter test flag: 0 or 1",
5186
+ "name": "test",
5187
+ "hasDynamicHelp": false,
5188
+ "multiple": false,
5189
+ "options": [
5190
+ "0",
5191
+ "1"
5192
+ ],
5193
+ "type": "option"
5207
5194
  }
5208
5195
  },
5209
5196
  "hasDynamicHelp": false,
5210
5197
  "hiddenAliases": [],
5211
- "id": "custom-fields:get",
5198
+ "id": "broadcast:list",
5212
5199
  "pluginAlias": "@instantkom/cli",
5213
5200
  "pluginName": "@instantkom/cli",
5214
5201
  "pluginType": "core",
@@ -5218,14 +5205,20 @@
5218
5205
  "relativePath": [
5219
5206
  "dist",
5220
5207
  "commands",
5221
- "custom-fields",
5222
- "get.js"
5208
+ "broadcast",
5209
+ "list.js"
5223
5210
  ]
5224
5211
  },
5225
- "custom-fields:list": {
5212
+ "broadcast:send": {
5226
5213
  "aliases": [],
5227
- "args": {},
5228
- "description": "List custom fields",
5214
+ "args": {
5215
+ "id": {
5216
+ "description": "Broadcast ID",
5217
+ "name": "id",
5218
+ "required": true
5219
+ }
5220
+ },
5221
+ "description": "Send a broadcast immediately",
5229
5222
  "flags": {
5230
5223
  "api-key": {
5231
5224
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5292,7 +5285,7 @@
5292
5285
  },
5293
5286
  "hasDynamicHelp": false,
5294
5287
  "hiddenAliases": [],
5295
- "id": "custom-fields:list",
5288
+ "id": "broadcast:send",
5296
5289
  "pluginAlias": "@instantkom/cli",
5297
5290
  "pluginName": "@instantkom/cli",
5298
5291
  "pluginType": "core",
@@ -5302,14 +5295,20 @@
5302
5295
  "relativePath": [
5303
5296
  "dist",
5304
5297
  "commands",
5305
- "custom-fields",
5306
- "list.js"
5298
+ "broadcast",
5299
+ "send.js"
5307
5300
  ]
5308
5301
  },
5309
- "custom-fields:reorder": {
5302
+ "broadcast:status": {
5310
5303
  "aliases": [],
5311
- "args": {},
5312
- "description": "Reorder custom fields",
5304
+ "args": {
5305
+ "id": {
5306
+ "description": "Broadcast ID",
5307
+ "name": "id",
5308
+ "required": true
5309
+ }
5310
+ },
5311
+ "description": "Show broadcast send status",
5313
5312
  "flags": {
5314
5313
  "api-key": {
5315
5314
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5372,19 +5371,11 @@
5372
5371
  "hasDynamicHelp": false,
5373
5372
  "multiple": false,
5374
5373
  "type": "option"
5375
- },
5376
- "order": {
5377
- "description": "Order JSON array payload",
5378
- "name": "order",
5379
- "required": true,
5380
- "hasDynamicHelp": false,
5381
- "multiple": false,
5382
- "type": "option"
5383
5374
  }
5384
5375
  },
5385
5376
  "hasDynamicHelp": false,
5386
5377
  "hiddenAliases": [],
5387
- "id": "custom-fields:reorder",
5378
+ "id": "broadcast:status",
5388
5379
  "pluginAlias": "@instantkom/cli",
5389
5380
  "pluginName": "@instantkom/cli",
5390
5381
  "pluginType": "core",
@@ -5394,20 +5385,20 @@
5394
5385
  "relativePath": [
5395
5386
  "dist",
5396
5387
  "commands",
5397
- "custom-fields",
5398
- "reorder.js"
5388
+ "broadcast",
5389
+ "status.js"
5399
5390
  ]
5400
5391
  },
5401
- "custom-fields:update": {
5392
+ "broadcast:update": {
5402
5393
  "aliases": [],
5403
5394
  "args": {
5404
5395
  "id": {
5405
- "description": "Custom field ID",
5396
+ "description": "Broadcast ID",
5406
5397
  "name": "id",
5407
5398
  "required": true
5408
5399
  }
5409
5400
  },
5410
- "description": "Update a custom field",
5401
+ "description": "Update a broadcast",
5411
5402
  "flags": {
5412
5403
  "api-key": {
5413
5404
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5471,52 +5462,61 @@
5471
5462
  "multiple": false,
5472
5463
  "type": "option"
5473
5464
  },
5474
- "name": {
5475
- "description": "Field name",
5476
- "name": "name",
5465
+ "text": {
5466
+ "description": "Broadcast message text",
5467
+ "name": "text",
5477
5468
  "hasDynamicHelp": false,
5478
5469
  "multiple": false,
5479
5470
  "type": "option"
5480
5471
  },
5481
- "type": {
5482
- "description": "Field type",
5483
- "name": "type",
5472
+ "send-status": {
5473
+ "description": "Send status",
5474
+ "name": "send-status",
5484
5475
  "hasDynamicHelp": false,
5485
5476
  "multiple": false,
5486
- "options": [
5487
- "text",
5488
- "number",
5489
- "date",
5490
- "dropdown",
5491
- "checkbox",
5492
- "url",
5493
- "email",
5494
- "phone"
5495
- ],
5496
5477
  "type": "option"
5497
5478
  },
5498
- "required": {
5499
- "description": "Field is required",
5500
- "name": "required",
5501
- "allowNo": true,
5479
+ "scheduled-at": {
5480
+ "description": "Unix timestamp for scheduled send",
5481
+ "name": "scheduled-at",
5482
+ "hasDynamicHelp": false,
5483
+ "multiple": false,
5484
+ "type": "option"
5485
+ },
5486
+ "approved": {
5487
+ "description": "Mark as approved",
5488
+ "name": "approved",
5489
+ "allowNo": false,
5502
5490
  "type": "boolean"
5503
5491
  },
5504
- "status": {
5505
- "description": "Field is active",
5506
- "name": "status",
5507
- "allowNo": true,
5492
+ "locked": {
5493
+ "description": "Mark as locked",
5494
+ "name": "locked",
5495
+ "allowNo": false,
5508
5496
  "type": "boolean"
5509
5497
  },
5510
- "default": {
5511
- "description": "Default value",
5512
- "name": "default",
5498
+ "test": {
5499
+ "description": "Mark as test broadcast",
5500
+ "name": "test",
5501
+ "allowNo": false,
5502
+ "type": "boolean"
5503
+ },
5504
+ "template-id": {
5505
+ "description": "Template ID",
5506
+ "name": "template-id",
5513
5507
  "hasDynamicHelp": false,
5514
5508
  "multiple": false,
5515
5509
  "type": "option"
5516
5510
  },
5517
- "options": {
5518
- "description": "Comma-separated dropdown options",
5519
- "name": "options",
5511
+ "remove-media": {
5512
+ "description": "Remove existing media",
5513
+ "name": "remove-media",
5514
+ "allowNo": false,
5515
+ "type": "boolean"
5516
+ },
5517
+ "header-footer": {
5518
+ "description": "Header/footer JSON array",
5519
+ "name": "header-footer",
5520
5520
  "hasDynamicHelp": false,
5521
5521
  "multiple": false,
5522
5522
  "type": "option"
@@ -5531,7 +5531,7 @@
5531
5531
  },
5532
5532
  "hasDynamicHelp": false,
5533
5533
  "hiddenAliases": [],
5534
- "id": "custom-fields:update",
5534
+ "id": "broadcast:update",
5535
5535
  "pluginAlias": "@instantkom/cli",
5536
5536
  "pluginName": "@instantkom/cli",
5537
5537
  "pluginType": "core",
@@ -5541,7 +5541,7 @@
5541
5541
  "relativePath": [
5542
5542
  "dist",
5543
5543
  "commands",
5544
- "custom-fields",
5544
+ "broadcast",
5545
5545
  "update.js"
5546
5546
  ]
5547
5547
  },
@@ -8968,10 +8968,10 @@
8968
8968
  "validate-import.js"
8969
8969
  ]
8970
8970
  },
8971
- "templates:create": {
8971
+ "team:create": {
8972
8972
  "aliases": [],
8973
8973
  "args": {},
8974
- "description": "Create a message template",
8974
+ "description": "Create a team member",
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,78 +9035,62 @@
9035
9035
  "multiple": false,
9036
9036
  "type": "option"
9037
9037
  },
9038
- "channel": {
9039
- "description": "Channel ID",
9040
- "name": "channel",
9038
+ "email": {
9039
+ "description": "Email address",
9040
+ "name": "email",
9041
9041
  "required": true,
9042
9042
  "hasDynamicHelp": false,
9043
9043
  "multiple": false,
9044
9044
  "type": "option"
9045
9045
  },
9046
- "name": {
9047
- "description": "Template name",
9048
- "name": "name",
9046
+ "first-name": {
9047
+ "description": "First name",
9048
+ "name": "first-name",
9049
9049
  "required": true,
9050
9050
  "hasDynamicHelp": false,
9051
9051
  "multiple": false,
9052
9052
  "type": "option"
9053
9053
  },
9054
- "type": {
9055
- "description": "Template type",
9056
- "name": "type",
9057
- "default": "text",
9054
+ "last-name": {
9055
+ "description": "Last name",
9056
+ "name": "last-name",
9057
+ "required": true,
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
- ],
9070
9060
  "type": "option"
9071
9061
  },
9072
- "message": {
9073
- "description": "Template message",
9074
- "name": "message",
9062
+ "password": {
9063
+ "description": "Initial password",
9064
+ "name": "password",
9075
9065
  "required": true,
9076
9066
  "hasDynamicHelp": false,
9077
9067
  "multiple": false,
9078
9068
  "type": "option"
9079
9069
  },
9080
- "color": {
9081
- "description": "Template color as HEX",
9082
- "name": "color",
9070
+ "phone": {
9071
+ "description": "Phone number",
9072
+ "name": "phone",
9083
9073
  "hasDynamicHelp": false,
9084
9074
  "multiple": false,
9085
9075
  "type": "option"
9086
9076
  },
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",
9077
+ "company": {
9078
+ "description": "Company name",
9079
+ "name": "company",
9096
9080
  "hasDynamicHelp": false,
9097
9081
  "multiple": false,
9098
9082
  "type": "option"
9099
9083
  },
9100
- "buttons": {
9101
- "description": "Buttons JSON array/object",
9102
- "name": "buttons",
9084
+ "color": {
9085
+ "description": "Color as HEX",
9086
+ "name": "color",
9103
9087
  "hasDynamicHelp": false,
9104
9088
  "multiple": false,
9105
9089
  "type": "option"
9106
9090
  },
9107
- "header-footer": {
9108
- "description": "Header/footer JSON object",
9109
- "name": "header-footer",
9091
+ "folder": {
9092
+ "description": "Object folder ID",
9093
+ "name": "folder",
9110
9094
  "hasDynamicHelp": false,
9111
9095
  "multiple": false,
9112
9096
  "type": "option"
@@ -9121,7 +9105,7 @@
9121
9105
  },
9122
9106
  "hasDynamicHelp": false,
9123
9107
  "hiddenAliases": [],
9124
- "id": "templates:create",
9108
+ "id": "team:create",
9125
9109
  "pluginAlias": "@instantkom/cli",
9126
9110
  "pluginName": "@instantkom/cli",
9127
9111
  "pluginType": "core",
@@ -9131,20 +9115,20 @@
9131
9115
  "relativePath": [
9132
9116
  "dist",
9133
9117
  "commands",
9134
- "templates",
9118
+ "team",
9135
9119
  "create.js"
9136
9120
  ]
9137
9121
  },
9138
- "templates:delete": {
9122
+ "team:delete": {
9139
9123
  "aliases": [],
9140
9124
  "args": {
9141
9125
  "id": {
9142
- "description": "template ID",
9126
+ "description": "Team member ID",
9143
9127
  "name": "id",
9144
9128
  "required": true
9145
9129
  }
9146
9130
  },
9147
- "description": "Delete template",
9131
+ "description": "Delete a team member",
9148
9132
  "flags": {
9149
9133
  "api-key": {
9150
9134
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9211,7 +9195,7 @@
9211
9195
  },
9212
9196
  "hasDynamicHelp": false,
9213
9197
  "hiddenAliases": [],
9214
- "id": "templates:delete",
9198
+ "id": "team:delete",
9215
9199
  "pluginAlias": "@instantkom/cli",
9216
9200
  "pluginName": "@instantkom/cli",
9217
9201
  "pluginType": "core",
@@ -9221,14 +9205,14 @@
9221
9205
  "relativePath": [
9222
9206
  "dist",
9223
9207
  "commands",
9224
- "templates",
9208
+ "team",
9225
9209
  "delete.js"
9226
9210
  ]
9227
9211
  },
9228
- "templates:export": {
9212
+ "team:list": {
9229
9213
  "aliases": [],
9230
9214
  "args": {},
9231
- "description": "Export templates to a file",
9215
+ "description": "List team members",
9232
9216
  "flags": {
9233
9217
  "api-key": {
9234
9218
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9240,14 +9224,17 @@
9240
9224
  "type": "option"
9241
9225
  },
9242
9226
  "format": {
9243
- "description": "Export format",
9227
+ "description": "Output format: text, json, yaml, or table",
9228
+ "helpGroup": "GLOBAL",
9244
9229
  "name": "format",
9245
- "default": "json",
9230
+ "default": "text",
9246
9231
  "hasDynamicHelp": false,
9247
9232
  "multiple": false,
9248
9233
  "options": [
9249
- "csv",
9250
- "json"
9234
+ "text",
9235
+ "json",
9236
+ "yaml",
9237
+ "table"
9251
9238
  ],
9252
9239
  "type": "option"
9253
9240
  },
@@ -9288,26 +9275,11 @@
9288
9275
  "hasDynamicHelp": false,
9289
9276
  "multiple": false,
9290
9277
  "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"
9306
9278
  }
9307
9279
  },
9308
9280
  "hasDynamicHelp": false,
9309
9281
  "hiddenAliases": [],
9310
- "id": "templates:export",
9282
+ "id": "team:list",
9311
9283
  "pluginAlias": "@instantkom/cli",
9312
9284
  "pluginName": "@instantkom/cli",
9313
9285
  "pluginType": "core",
@@ -9317,20 +9289,14 @@
9317
9289
  "relativePath": [
9318
9290
  "dist",
9319
9291
  "commands",
9320
- "templates",
9321
- "export.js"
9292
+ "team",
9293
+ "list.js"
9322
9294
  ]
9323
9295
  },
9324
- "templates:get": {
9296
+ "templates:create": {
9325
9297
  "aliases": [],
9326
- "args": {
9327
- "id": {
9328
- "description": "Template ID",
9329
- "name": "id",
9330
- "required": true
9331
- }
9332
- },
9333
- "description": "Get a message template by ID",
9298
+ "args": {},
9299
+ "description": "Create a message template",
9334
9300
  "flags": {
9335
9301
  "api-key": {
9336
9302
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9341,55 +9307,138 @@
9341
9307
  "multiple": false,
9342
9308
  "type": "option"
9343
9309
  },
9344
- "format": {
9345
- "description": "Output format: text, json, yaml, or table",
9346
- "helpGroup": "GLOBAL",
9347
- "name": "format",
9348
- "default": "text",
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,
9401
+ "hasDynamicHelp": false,
9402
+ "multiple": false,
9403
+ "type": "option"
9404
+ },
9405
+ "color": {
9406
+ "description": "Template color as HEX",
9407
+ "name": "color",
9349
9408
  "hasDynamicHelp": false,
9350
9409
  "multiple": false,
9351
- "options": [
9352
- "text",
9353
- "json",
9354
- "yaml",
9355
- "table"
9356
- ],
9357
9410
  "type": "option"
9358
9411
  },
9359
- "json": {
9360
- "description": "Output in JSON format (alias for --format=json)",
9361
- "helpGroup": "GLOBAL",
9362
- "name": "json",
9363
- "allowNo": false,
9412
+ "status": {
9413
+ "description": "Template is active",
9414
+ "name": "status",
9415
+ "allowNo": true,
9364
9416
  "type": "boolean"
9365
9417
  },
9366
- "quiet": {
9367
- "description": "Suppress all output except errors",
9368
- "helpGroup": "GLOBAL",
9369
- "name": "quiet",
9370
- "allowNo": false,
9371
- "type": "boolean"
9418
+ "whatsapp-language": {
9419
+ "description": "WhatsApp template language",
9420
+ "name": "whatsapp-language",
9421
+ "hasDynamicHelp": false,
9422
+ "multiple": false,
9423
+ "type": "option"
9372
9424
  },
9373
- "no-color": {
9374
- "description": "Disable color output",
9375
- "helpGroup": "GLOBAL",
9376
- "name": "no-color",
9377
- "allowNo": false,
9378
- "type": "boolean"
9425
+ "buttons": {
9426
+ "description": "Buttons JSON array/object",
9427
+ "name": "buttons",
9428
+ "hasDynamicHelp": false,
9429
+ "multiple": false,
9430
+ "type": "option"
9379
9431
  },
9380
- "profile": {
9381
- "description": "Named configuration profile to use",
9382
- "helpGroup": "GLOBAL",
9383
- "name": "profile",
9384
- "default": "default",
9432
+ "header-footer": {
9433
+ "description": "Header/footer JSON object",
9434
+ "name": "header-footer",
9385
9435
  "hasDynamicHelp": false,
9386
9436
  "multiple": false,
9387
9437
  "type": "option"
9388
9438
  },
9389
- "api-url": {
9390
- "description": "Override the API base URL (e.g. for staging)",
9391
- "helpGroup": "GLOBAL",
9392
- "name": "api-url",
9439
+ "data": {
9440
+ "description": "Additional JSON object payload",
9441
+ "name": "data",
9393
9442
  "hasDynamicHelp": false,
9394
9443
  "multiple": false,
9395
9444
  "type": "option"
@@ -9397,7 +9446,7 @@
9397
9446
  },
9398
9447
  "hasDynamicHelp": false,
9399
9448
  "hiddenAliases": [],
9400
- "id": "templates:get",
9449
+ "id": "templates:create",
9401
9450
  "pluginAlias": "@instantkom/cli",
9402
9451
  "pluginName": "@instantkom/cli",
9403
9452
  "pluginType": "core",
@@ -9408,13 +9457,19 @@
9408
9457
  "dist",
9409
9458
  "commands",
9410
9459
  "templates",
9411
- "get.js"
9460
+ "create.js"
9412
9461
  ]
9413
9462
  },
9414
- "templates:import": {
9463
+ "templates:delete": {
9415
9464
  "aliases": [],
9416
- "args": {},
9417
- "description": "Import templates from JSON",
9465
+ "args": {
9466
+ "id": {
9467
+ "description": "template ID",
9468
+ "name": "id",
9469
+ "required": true
9470
+ }
9471
+ },
9472
+ "description": "Delete template",
9418
9473
  "flags": {
9419
9474
  "api-key": {
9420
9475
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9477,33 +9532,11 @@
9477
9532
  "hasDynamicHelp": false,
9478
9533
  "multiple": false,
9479
9534
  "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"
9502
9535
  }
9503
9536
  },
9504
9537
  "hasDynamicHelp": false,
9505
9538
  "hiddenAliases": [],
9506
- "id": "templates:import",
9539
+ "id": "templates:delete",
9507
9540
  "pluginAlias": "@instantkom/cli",
9508
9541
  "pluginName": "@instantkom/cli",
9509
9542
  "pluginType": "core",
@@ -9514,13 +9547,13 @@
9514
9547
  "dist",
9515
9548
  "commands",
9516
9549
  "templates",
9517
- "import.js"
9550
+ "delete.js"
9518
9551
  ]
9519
9552
  },
9520
- "templates:list": {
9553
+ "templates:export": {
9521
9554
  "aliases": [],
9522
9555
  "args": {},
9523
- "description": "List message templates",
9556
+ "description": "Export templates to a file",
9524
9557
  "flags": {
9525
9558
  "api-key": {
9526
9559
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9532,17 +9565,14 @@
9532
9565
  "type": "option"
9533
9566
  },
9534
9567
  "format": {
9535
- "description": "Output format: text, json, yaml, or table",
9536
- "helpGroup": "GLOBAL",
9568
+ "description": "Export format",
9537
9569
  "name": "format",
9538
- "default": "text",
9570
+ "default": "json",
9539
9571
  "hasDynamicHelp": false,
9540
9572
  "multiple": false,
9541
9573
  "options": [
9542
- "text",
9543
- "json",
9544
- "yaml",
9545
- "table"
9574
+ "csv",
9575
+ "json"
9546
9576
  ],
9547
9577
  "type": "option"
9548
9578
  },
@@ -9584,32 +9614,17 @@
9584
9614
  "multiple": false,
9585
9615
  "type": "option"
9586
9616
  },
9587
- "channel": {
9588
- "description": "Filter by channel ID",
9589
- "name": "channel",
9590
- "hasDynamicHelp": false,
9591
- "multiple": false,
9592
- "type": "option"
9593
- },
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,
9617
+ "file": {
9618
+ "description": "Output file path",
9619
+ "name": "file",
9620
+ "required": true,
9605
9621
  "hasDynamicHelp": false,
9606
9622
  "multiple": false,
9607
9623
  "type": "option"
9608
9624
  },
9609
- "limit": {
9610
- "description": "Items per page",
9611
- "name": "limit",
9612
- "default": 20,
9625
+ "channel": {
9626
+ "description": "Filter by channel ID",
9627
+ "name": "channel",
9613
9628
  "hasDynamicHelp": false,
9614
9629
  "multiple": false,
9615
9630
  "type": "option"
@@ -9617,7 +9632,7 @@
9617
9632
  },
9618
9633
  "hasDynamicHelp": false,
9619
9634
  "hiddenAliases": [],
9620
- "id": "templates:list",
9635
+ "id": "templates:export",
9621
9636
  "pluginAlias": "@instantkom/cli",
9622
9637
  "pluginName": "@instantkom/cli",
9623
9638
  "pluginType": "core",
@@ -9628,10 +9643,10 @@
9628
9643
  "dist",
9629
9644
  "commands",
9630
9645
  "templates",
9631
- "list.js"
9646
+ "export.js"
9632
9647
  ]
9633
9648
  },
9634
- "templates:render": {
9649
+ "templates:get": {
9635
9650
  "aliases": [],
9636
9651
  "args": {
9637
9652
  "id": {
@@ -9640,7 +9655,7 @@
9640
9655
  "required": true
9641
9656
  }
9642
9657
  },
9643
- "description": "Render a message template locally",
9658
+ "description": "Get a message template by ID",
9644
9659
  "flags": {
9645
9660
  "api-key": {
9646
9661
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9703,18 +9718,11 @@
9703
9718
  "hasDynamicHelp": false,
9704
9719
  "multiple": false,
9705
9720
  "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"
9713
9721
  }
9714
9722
  },
9715
9723
  "hasDynamicHelp": false,
9716
9724
  "hiddenAliases": [],
9717
- "id": "templates:render",
9725
+ "id": "templates:get",
9718
9726
  "pluginAlias": "@instantkom/cli",
9719
9727
  "pluginName": "@instantkom/cli",
9720
9728
  "pluginType": "core",
@@ -9725,19 +9733,13 @@
9725
9733
  "dist",
9726
9734
  "commands",
9727
9735
  "templates",
9728
- "render.js"
9736
+ "get.js"
9729
9737
  ]
9730
9738
  },
9731
- "templates:update": {
9739
+ "templates:import": {
9732
9740
  "aliases": [],
9733
- "args": {
9734
- "id": {
9735
- "description": "Template ID",
9736
- "name": "id",
9737
- "required": true
9738
- }
9739
- },
9740
- "description": "Update a message template",
9741
+ "args": {},
9742
+ "description": "Import templates from JSON",
9741
9743
  "flags": {
9742
9744
  "api-key": {
9743
9745
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9801,88 +9803,32 @@
9801
9803
  "multiple": false,
9802
9804
  "type": "option"
9803
9805
  },
9804
- "name": {
9805
- "description": "Template name",
9806
- "name": "name",
9807
- "hasDynamicHelp": false,
9808
- "multiple": false,
9809
- "type": "option"
9810
- },
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",
9806
+ "file": {
9807
+ "description": "JSON file path",
9808
+ "name": "file",
9809
+ "required": true,
9864
9810
  "hasDynamicHelp": false,
9865
9811
  "multiple": false,
9866
9812
  "type": "option"
9867
9813
  },
9868
- "header-footer": {
9869
- "description": "Header/footer JSON object",
9870
- "name": "header-footer",
9814
+ "channel": {
9815
+ "description": "Target channel ID",
9816
+ "name": "channel",
9817
+ "required": true,
9871
9818
  "hasDynamicHelp": false,
9872
9819
  "multiple": false,
9873
9820
  "type": "option"
9874
9821
  },
9875
- "data": {
9876
- "description": "Additional JSON object payload",
9877
- "name": "data",
9878
- "hasDynamicHelp": false,
9879
- "multiple": false,
9880
- "type": "option"
9822
+ "skip-duplicates": {
9823
+ "description": "Skip duplicate templates",
9824
+ "name": "skip-duplicates",
9825
+ "allowNo": true,
9826
+ "type": "boolean"
9881
9827
  }
9882
9828
  },
9883
9829
  "hasDynamicHelp": false,
9884
9830
  "hiddenAliases": [],
9885
- "id": "templates:update",
9831
+ "id": "templates:import",
9886
9832
  "pluginAlias": "@instantkom/cli",
9887
9833
  "pluginName": "@instantkom/cli",
9888
9834
  "pluginType": "core",
@@ -9893,13 +9839,13 @@
9893
9839
  "dist",
9894
9840
  "commands",
9895
9841
  "templates",
9896
- "update.js"
9842
+ "import.js"
9897
9843
  ]
9898
9844
  },
9899
- "templates:validate-import": {
9845
+ "templates:list": {
9900
9846
  "aliases": [],
9901
9847
  "args": {},
9902
- "description": "Validate templates import JSON",
9848
+ "description": "List message templates",
9903
9849
  "flags": {
9904
9850
  "api-key": {
9905
9851
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9963,18 +9909,32 @@
9963
9909
  "multiple": false,
9964
9910
  "type": "option"
9965
9911
  },
9966
- "file": {
9967
- "description": "JSON file path",
9968
- "name": "file",
9969
- "required": true,
9912
+ "channel": {
9913
+ "description": "Filter by channel ID",
9914
+ "name": "channel",
9970
9915
  "hasDynamicHelp": false,
9971
9916
  "multiple": false,
9972
9917
  "type": "option"
9973
9918
  },
9974
- "channel": {
9975
- "description": "Target channel ID",
9976
- "name": "channel",
9977
- "required": true,
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,
9930
+ "hasDynamicHelp": false,
9931
+ "multiple": false,
9932
+ "type": "option"
9933
+ },
9934
+ "limit": {
9935
+ "description": "Items per page",
9936
+ "name": "limit",
9937
+ "default": 20,
9978
9938
  "hasDynamicHelp": false,
9979
9939
  "multiple": false,
9980
9940
  "type": "option"
@@ -9982,7 +9942,7 @@
9982
9942
  },
9983
9943
  "hasDynamicHelp": false,
9984
9944
  "hiddenAliases": [],
9985
- "id": "templates:validate-import",
9945
+ "id": "templates:list",
9986
9946
  "pluginAlias": "@instantkom/cli",
9987
9947
  "pluginName": "@instantkom/cli",
9988
9948
  "pluginType": "core",
@@ -9993,13 +9953,19 @@
9993
9953
  "dist",
9994
9954
  "commands",
9995
9955
  "templates",
9996
- "validate-import.js"
9956
+ "list.js"
9997
9957
  ]
9998
9958
  },
9999
- "team:create": {
9959
+ "templates:render": {
10000
9960
  "aliases": [],
10001
- "args": {},
10002
- "description": "Create a team member",
9961
+ "args": {
9962
+ "id": {
9963
+ "description": "Template ID",
9964
+ "name": "id",
9965
+ "required": true
9966
+ }
9967
+ },
9968
+ "description": "Render a message template locally",
10003
9969
  "flags": {
10004
9970
  "api-key": {
10005
9971
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10063,77 +10029,17 @@
10063
10029
  "multiple": false,
10064
10030
  "type": "option"
10065
10031
  },
10066
- "email": {
10067
- "description": "Email address",
10068
- "name": "email",
10069
- "required": true,
10070
- "hasDynamicHelp": false,
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",
10032
+ "vars": {
10033
+ "description": "Template variable as key=value; may be repeated",
10034
+ "name": "vars",
10129
10035
  "hasDynamicHelp": false,
10130
- "multiple": false,
10036
+ "multiple": true,
10131
10037
  "type": "option"
10132
10038
  }
10133
10039
  },
10134
10040
  "hasDynamicHelp": false,
10135
10041
  "hiddenAliases": [],
10136
- "id": "team:create",
10042
+ "id": "templates:render",
10137
10043
  "pluginAlias": "@instantkom/cli",
10138
10044
  "pluginName": "@instantkom/cli",
10139
10045
  "pluginType": "core",
@@ -10143,20 +10049,20 @@
10143
10049
  "relativePath": [
10144
10050
  "dist",
10145
10051
  "commands",
10146
- "team",
10147
- "create.js"
10052
+ "templates",
10053
+ "render.js"
10148
10054
  ]
10149
10055
  },
10150
- "team:delete": {
10056
+ "templates:update": {
10151
10057
  "aliases": [],
10152
10058
  "args": {
10153
10059
  "id": {
10154
- "description": "Team member ID",
10060
+ "description": "Template ID",
10155
10061
  "name": "id",
10156
10062
  "required": true
10157
10063
  }
10158
10064
  },
10159
- "description": "Delete a team member",
10065
+ "description": "Update a message template",
10160
10066
  "flags": {
10161
10067
  "api-key": {
10162
10068
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10219,11 +10125,89 @@
10219
10125
  "hasDynamicHelp": false,
10220
10126
  "multiple": false,
10221
10127
  "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"
10222
10206
  }
10223
10207
  },
10224
10208
  "hasDynamicHelp": false,
10225
10209
  "hiddenAliases": [],
10226
- "id": "team:delete",
10210
+ "id": "templates:update",
10227
10211
  "pluginAlias": "@instantkom/cli",
10228
10212
  "pluginName": "@instantkom/cli",
10229
10213
  "pluginType": "core",
@@ -10233,14 +10217,14 @@
10233
10217
  "relativePath": [
10234
10218
  "dist",
10235
10219
  "commands",
10236
- "team",
10237
- "delete.js"
10220
+ "templates",
10221
+ "update.js"
10238
10222
  ]
10239
10223
  },
10240
- "team:list": {
10224
+ "templates:validate-import": {
10241
10225
  "aliases": [],
10242
10226
  "args": {},
10243
- "description": "List team members",
10227
+ "description": "Validate templates import JSON",
10244
10228
  "flags": {
10245
10229
  "api-key": {
10246
10230
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10303,11 +10287,27 @@
10303
10287
  "hasDynamicHelp": false,
10304
10288
  "multiple": false,
10305
10289
  "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": "team:list",
10310
+ "id": "templates:validate-import",
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
- "team",
10321
- "list.js"
10320
+ "templates",
10321
+ "validate-import.js"
10322
10322
  ]
10323
10323
  },
10324
10324
  "tickets:create": {
@@ -16352,5 +16352,5 @@
16352
16352
  ]
16353
16353
  }
16354
16354
  },
16355
- "version": "3.140.2"
16355
+ "version": "3.142.0"
16356
16356
  }