@instantkom/cli 3.131.0 → 3.132.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.
@@ -1073,40 +1073,6 @@
1073
1073
  "reply.js"
1074
1074
  ]
1075
1075
  },
1076
- "autocomplete:script": {
1077
- "aliases": [],
1078
- "args": {
1079
- "shell": {
1080
- "description": "Shell type",
1081
- "name": "shell",
1082
- "options": [
1083
- "zsh",
1084
- "bash",
1085
- "fish",
1086
- "powershell"
1087
- ],
1088
- "required": false
1089
- }
1090
- },
1091
- "description": "outputs autocomplete config script for shells",
1092
- "flags": {},
1093
- "hasDynamicHelp": false,
1094
- "hidden": true,
1095
- "hiddenAliases": [],
1096
- "id": "autocomplete:script",
1097
- "pluginAlias": "@instantkom/cli",
1098
- "pluginName": "@instantkom/cli",
1099
- "pluginType": "core",
1100
- "strict": true,
1101
- "enableJsonFlag": false,
1102
- "isESM": true,
1103
- "relativePath": [
1104
- "dist",
1105
- "commands",
1106
- "autocomplete",
1107
- "script.js"
1108
- ]
1109
- },
1110
1076
  "auth:login": {
1111
1077
  "aliases": [],
1112
1078
  "args": {},
@@ -1289,6 +1255,40 @@
1289
1255
  "logout.js"
1290
1256
  ]
1291
1257
  },
1258
+ "autocomplete:script": {
1259
+ "aliases": [],
1260
+ "args": {
1261
+ "shell": {
1262
+ "description": "Shell type",
1263
+ "name": "shell",
1264
+ "options": [
1265
+ "zsh",
1266
+ "bash",
1267
+ "fish",
1268
+ "powershell"
1269
+ ],
1270
+ "required": false
1271
+ }
1272
+ },
1273
+ "description": "outputs autocomplete config script for shells",
1274
+ "flags": {},
1275
+ "hasDynamicHelp": false,
1276
+ "hidden": true,
1277
+ "hiddenAliases": [],
1278
+ "id": "autocomplete:script",
1279
+ "pluginAlias": "@instantkom/cli",
1280
+ "pluginName": "@instantkom/cli",
1281
+ "pluginType": "core",
1282
+ "strict": true,
1283
+ "enableJsonFlag": false,
1284
+ "isESM": true,
1285
+ "relativePath": [
1286
+ "dist",
1287
+ "commands",
1288
+ "autocomplete",
1289
+ "script.js"
1290
+ ]
1291
+ },
1292
1292
  "bots:create": {
1293
1293
  "aliases": [],
1294
1294
  "args": {},
@@ -2015,10 +2015,10 @@
2015
2015
  "update.js"
2016
2016
  ]
2017
2017
  },
2018
- "broadcast:create": {
2018
+ "channels:create": {
2019
2019
  "aliases": [],
2020
2020
  "args": {},
2021
- "description": "Create a broadcast for channels or segments",
2021
+ "description": "Create a channel",
2022
2022
  "flags": {
2023
2023
  "api-key": {
2024
2024
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2082,92 +2082,47 @@
2082
2082
  "multiple": false,
2083
2083
  "type": "option"
2084
2084
  },
2085
- "channel": {
2086
- "description": "Channel ID target",
2087
- "name": "channel",
2088
- "hasDynamicHelp": false,
2089
- "multiple": false,
2090
- "type": "option"
2091
- },
2092
- "segment": {
2093
- "description": "Segment ID within --channel",
2094
- "name": "segment",
2095
- "hasDynamicHelp": false,
2096
- "multiple": false,
2097
- "type": "option"
2098
- },
2099
- "target": {
2100
- "description": "Target as channelId or channelId:segmentId; may be repeated",
2101
- "name": "target",
2102
- "hasDynamicHelp": false,
2103
- "multiple": true,
2104
- "type": "option"
2105
- },
2106
- "text": {
2107
- "description": "Broadcast message text",
2108
- "name": "text",
2085
+ "name": {
2086
+ "description": "Channel name",
2087
+ "name": "name",
2109
2088
  "required": true,
2110
2089
  "hasDynamicHelp": false,
2111
2090
  "multiple": false,
2112
2091
  "type": "option"
2113
2092
  },
2114
- "send-at": {
2115
- "description": "Schedule send for an ISO-8601 date-time",
2116
- "name": "send-at",
2093
+ "gateway-type": {
2094
+ "description": "Gateway type ID",
2095
+ "name": "gateway-type",
2096
+ "required": true,
2117
2097
  "hasDynamicHelp": false,
2118
2098
  "multiple": false,
2119
2099
  "type": "option"
2120
2100
  },
2121
- "dry-run": {
2122
- "description": "Validate and print the broadcast payload without mutating API calls",
2123
- "name": "dry-run",
2124
- "allowNo": false,
2125
- "type": "boolean"
2126
- },
2127
- "idempotency-key": {
2128
- "description": "Idempotency key forwarded as Idempotency-Key",
2129
- "name": "idempotency-key",
2101
+ "status": {
2102
+ "description": "Channel lifecycle status",
2103
+ "name": "status",
2130
2104
  "hasDynamicHelp": false,
2131
2105
  "multiple": false,
2132
2106
  "type": "option"
2133
2107
  },
2134
- "media": {
2135
- "description": "Media file path to upload",
2136
- "name": "media",
2137
- "hasDynamicHelp": false,
2138
- "multiple": true,
2139
- "type": "option"
2140
- },
2141
- "template-id": {
2142
- "description": "WhatsApp template ID",
2143
- "name": "template-id",
2108
+ "description": {
2109
+ "description": "Channel description",
2110
+ "name": "description",
2144
2111
  "hasDynamicHelp": false,
2145
2112
  "multiple": false,
2146
2113
  "type": "option"
2147
2114
  },
2148
- "send-status": {
2149
- "description": "Initial broadcast send status",
2150
- "name": "send-status",
2151
- "default": "draft",
2115
+ "data": {
2116
+ "description": "Additional JSON object payload",
2117
+ "name": "data",
2152
2118
  "hasDynamicHelp": false,
2153
2119
  "multiple": false,
2154
- "options": [
2155
- "draft",
2156
- "scheduled",
2157
- "sending"
2158
- ],
2159
2120
  "type": "option"
2160
- },
2161
- "auto-approve": {
2162
- "description": "Auto-approve broadcast when allowed by API permissions",
2163
- "name": "auto-approve",
2164
- "allowNo": false,
2165
- "type": "boolean"
2166
2121
  }
2167
2122
  },
2168
2123
  "hasDynamicHelp": false,
2169
2124
  "hiddenAliases": [],
2170
- "id": "broadcast:create",
2125
+ "id": "channels:create",
2171
2126
  "pluginAlias": "@instantkom/cli",
2172
2127
  "pluginName": "@instantkom/cli",
2173
2128
  "pluginType": "core",
@@ -2177,20 +2132,20 @@
2177
2132
  "relativePath": [
2178
2133
  "dist",
2179
2134
  "commands",
2180
- "broadcast",
2135
+ "channels",
2181
2136
  "create.js"
2182
2137
  ]
2183
2138
  },
2184
- "broadcast:delete": {
2139
+ "channels:get": {
2185
2140
  "aliases": [],
2186
2141
  "args": {
2187
2142
  "id": {
2188
- "description": "broadcast ID",
2143
+ "description": "Channel ID",
2189
2144
  "name": "id",
2190
2145
  "required": true
2191
2146
  }
2192
2147
  },
2193
- "description": "Delete broadcast",
2148
+ "description": "Get a channel by ID",
2194
2149
  "flags": {
2195
2150
  "api-key": {
2196
2151
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2257,7 +2212,7 @@
2257
2212
  },
2258
2213
  "hasDynamicHelp": false,
2259
2214
  "hiddenAliases": [],
2260
- "id": "broadcast:delete",
2215
+ "id": "channels:get",
2261
2216
  "pluginAlias": "@instantkom/cli",
2262
2217
  "pluginName": "@instantkom/cli",
2263
2218
  "pluginType": "core",
@@ -2267,20 +2222,20 @@
2267
2222
  "relativePath": [
2268
2223
  "dist",
2269
2224
  "commands",
2270
- "broadcast",
2271
- "delete.js"
2225
+ "channels",
2226
+ "get.js"
2272
2227
  ]
2273
2228
  },
2274
- "broadcast:get": {
2229
+ "channels:kpis": {
2275
2230
  "aliases": [],
2276
2231
  "args": {
2277
2232
  "id": {
2278
- "description": "broadcast ID",
2233
+ "description": "Optional channel ID; omit for aggregated channel KPIs",
2279
2234
  "name": "id",
2280
- "required": true
2235
+ "required": false
2281
2236
  }
2282
2237
  },
2283
- "description": "Get broadcast by ID",
2238
+ "description": "Get channel KPIs",
2284
2239
  "flags": {
2285
2240
  "api-key": {
2286
2241
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2343,11 +2298,18 @@
2343
2298
  "hasDynamicHelp": false,
2344
2299
  "multiple": false,
2345
2300
  "type": "option"
2301
+ },
2302
+ "period": {
2303
+ "description": "KPI period",
2304
+ "name": "period",
2305
+ "hasDynamicHelp": false,
2306
+ "multiple": false,
2307
+ "type": "option"
2346
2308
  }
2347
2309
  },
2348
2310
  "hasDynamicHelp": false,
2349
2311
  "hiddenAliases": [],
2350
- "id": "broadcast:get",
2312
+ "id": "channels:kpis",
2351
2313
  "pluginAlias": "@instantkom/cli",
2352
2314
  "pluginName": "@instantkom/cli",
2353
2315
  "pluginType": "core",
@@ -2357,14 +2319,14 @@
2357
2319
  "relativePath": [
2358
2320
  "dist",
2359
2321
  "commands",
2360
- "broadcast",
2361
- "get.js"
2322
+ "channels",
2323
+ "kpis.js"
2362
2324
  ]
2363
2325
  },
2364
- "broadcast:list": {
2326
+ "channels:list": {
2365
2327
  "aliases": [],
2366
2328
  "args": {},
2367
- "description": "List broadcasts",
2329
+ "description": "List channels",
2368
2330
  "flags": {
2369
2331
  "api-key": {
2370
2332
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2444,56 +2406,31 @@
2444
2406
  "multiple": false,
2445
2407
  "type": "option"
2446
2408
  },
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",
2409
+ "status": {
2410
+ "description": "Filter by channel status",
2411
+ "name": "status",
2457
2412
  "hasDynamicHelp": false,
2458
2413
  "multiple": false,
2459
2414
  "type": "option"
2460
2415
  },
2461
- "type": {
2462
- "description": "Broadcast type",
2463
- "name": "type",
2416
+ "gateway-type": {
2417
+ "description": "Filter by gateway type ID",
2418
+ "name": "gateway-type",
2464
2419
  "hasDynamicHelp": false,
2465
2420
  "multiple": false,
2466
- "options": [
2467
- "text",
2468
- "image",
2469
- "video",
2470
- "audio",
2471
- "document"
2472
- ],
2473
2421
  "type": "option"
2474
2422
  },
2475
2423
  "search": {
2476
- "description": "Search broadcasts",
2424
+ "description": "Search by channel name",
2477
2425
  "name": "search",
2478
2426
  "hasDynamicHelp": false,
2479
2427
  "multiple": false,
2480
2428
  "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
2429
  }
2493
2430
  },
2494
2431
  "hasDynamicHelp": false,
2495
2432
  "hiddenAliases": [],
2496
- "id": "broadcast:list",
2433
+ "id": "channels:list",
2497
2434
  "pluginAlias": "@instantkom/cli",
2498
2435
  "pluginName": "@instantkom/cli",
2499
2436
  "pluginType": "core",
@@ -2503,20 +2440,20 @@
2503
2440
  "relativePath": [
2504
2441
  "dist",
2505
2442
  "commands",
2506
- "broadcast",
2443
+ "channels",
2507
2444
  "list.js"
2508
2445
  ]
2509
2446
  },
2510
- "broadcast:send": {
2447
+ "channels:update": {
2511
2448
  "aliases": [],
2512
2449
  "args": {
2513
2450
  "id": {
2514
- "description": "Broadcast ID",
2451
+ "description": "Channel ID",
2515
2452
  "name": "id",
2516
2453
  "required": true
2517
2454
  }
2518
2455
  },
2519
- "description": "Send a broadcast immediately",
2456
+ "description": "Update a channel",
2520
2457
  "flags": {
2521
2458
  "api-key": {
2522
2459
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2579,34 +2516,62 @@
2579
2516
  "hasDynamicHelp": false,
2580
2517
  "multiple": false,
2581
2518
  "type": "option"
2582
- }
2583
- },
2584
- "hasDynamicHelp": false,
2585
- "hiddenAliases": [],
2586
- "id": "broadcast:send",
2587
- "pluginAlias": "@instantkom/cli",
2588
- "pluginName": "@instantkom/cli",
2589
- "pluginType": "core",
2590
- "strict": true,
2591
- "enableJsonFlag": false,
2592
- "isESM": true,
2593
- "relativePath": [
2594
- "dist",
2595
- "commands",
2596
- "broadcast",
2597
- "send.js"
2598
- ]
2519
+ },
2520
+ "name": {
2521
+ "description": "Channel name",
2522
+ "name": "name",
2523
+ "hasDynamicHelp": false,
2524
+ "multiple": false,
2525
+ "type": "option"
2526
+ },
2527
+ "status": {
2528
+ "description": "Channel lifecycle status",
2529
+ "name": "status",
2530
+ "hasDynamicHelp": false,
2531
+ "multiple": false,
2532
+ "type": "option"
2533
+ },
2534
+ "description": {
2535
+ "description": "Channel description",
2536
+ "name": "description",
2537
+ "hasDynamicHelp": false,
2538
+ "multiple": false,
2539
+ "type": "option"
2540
+ },
2541
+ "data": {
2542
+ "description": "Additional JSON object payload",
2543
+ "name": "data",
2544
+ "hasDynamicHelp": false,
2545
+ "multiple": false,
2546
+ "type": "option"
2547
+ }
2548
+ },
2549
+ "hasDynamicHelp": false,
2550
+ "hiddenAliases": [],
2551
+ "id": "channels:update",
2552
+ "pluginAlias": "@instantkom/cli",
2553
+ "pluginName": "@instantkom/cli",
2554
+ "pluginType": "core",
2555
+ "strict": true,
2556
+ "enableJsonFlag": false,
2557
+ "isESM": true,
2558
+ "relativePath": [
2559
+ "dist",
2560
+ "commands",
2561
+ "channels",
2562
+ "update.js"
2563
+ ]
2599
2564
  },
2600
- "broadcast:status": {
2565
+ "config:get": {
2601
2566
  "aliases": [],
2602
2567
  "args": {
2603
- "id": {
2604
- "description": "Broadcast ID",
2605
- "name": "id",
2568
+ "key": {
2569
+ "description": "Configuration key to retrieve",
2570
+ "name": "key",
2606
2571
  "required": true
2607
2572
  }
2608
2573
  },
2609
- "description": "Show broadcast send status",
2574
+ "description": "Get a configuration value for the current profile",
2610
2575
  "flags": {
2611
2576
  "api-key": {
2612
2577
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2673,7 +2638,7 @@
2673
2638
  },
2674
2639
  "hasDynamicHelp": false,
2675
2640
  "hiddenAliases": [],
2676
- "id": "broadcast:status",
2641
+ "id": "config:get",
2677
2642
  "pluginAlias": "@instantkom/cli",
2678
2643
  "pluginName": "@instantkom/cli",
2679
2644
  "pluginType": "core",
@@ -2683,20 +2648,25 @@
2683
2648
  "relativePath": [
2684
2649
  "dist",
2685
2650
  "commands",
2686
- "broadcast",
2687
- "status.js"
2651
+ "config",
2652
+ "get.js"
2688
2653
  ]
2689
2654
  },
2690
- "broadcast:update": {
2655
+ "config:set": {
2691
2656
  "aliases": [],
2692
2657
  "args": {
2693
- "id": {
2694
- "description": "Broadcast ID",
2695
- "name": "id",
2658
+ "key": {
2659
+ "description": "Configuration key to set",
2660
+ "name": "key",
2661
+ "required": true
2662
+ },
2663
+ "value": {
2664
+ "description": "Value to assign",
2665
+ "name": "value",
2696
2666
  "required": true
2697
2667
  }
2698
2668
  },
2699
- "description": "Update a broadcast",
2669
+ "description": "Set a configuration value for the current profile",
2700
2670
  "flags": {
2701
2671
  "api-key": {
2702
2672
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2759,69 +2729,93 @@
2759
2729
  "hasDynamicHelp": false,
2760
2730
  "multiple": false,
2761
2731
  "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",
2732
+ }
2733
+ },
2734
+ "hasDynamicHelp": false,
2735
+ "hiddenAliases": [],
2736
+ "id": "config:set",
2737
+ "pluginAlias": "@instantkom/cli",
2738
+ "pluginName": "@instantkom/cli",
2739
+ "pluginType": "core",
2740
+ "strict": true,
2741
+ "enableJsonFlag": false,
2742
+ "isESM": true,
2743
+ "relativePath": [
2744
+ "dist",
2745
+ "commands",
2746
+ "config",
2747
+ "set.js"
2748
+ ]
2749
+ },
2750
+ "config:unset": {
2751
+ "aliases": [],
2752
+ "args": {
2753
+ "key": {
2754
+ "description": "Configuration key to remove",
2755
+ "name": "key",
2756
+ "required": true
2757
+ }
2758
+ },
2759
+ "description": "Remove a configuration key from the current profile",
2760
+ "flags": {
2761
+ "api-key": {
2762
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
2763
+ "env": "IKM_API_KEY",
2764
+ "helpGroup": "GLOBAL",
2765
+ "name": "api-key",
2773
2766
  "hasDynamicHelp": false,
2774
2767
  "multiple": false,
2775
2768
  "type": "option"
2776
2769
  },
2777
- "scheduled-at": {
2778
- "description": "Unix timestamp for scheduled send",
2779
- "name": "scheduled-at",
2770
+ "format": {
2771
+ "description": "Output format: text, json, yaml, or table",
2772
+ "helpGroup": "GLOBAL",
2773
+ "name": "format",
2774
+ "default": "text",
2780
2775
  "hasDynamicHelp": false,
2781
2776
  "multiple": false,
2777
+ "options": [
2778
+ "text",
2779
+ "json",
2780
+ "yaml",
2781
+ "table"
2782
+ ],
2782
2783
  "type": "option"
2783
2784
  },
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",
2785
+ "json": {
2786
+ "description": "Output in JSON format (alias for --format=json)",
2787
+ "helpGroup": "GLOBAL",
2788
+ "name": "json",
2793
2789
  "allowNo": false,
2794
2790
  "type": "boolean"
2795
2791
  },
2796
- "test": {
2797
- "description": "Mark as test broadcast",
2798
- "name": "test",
2792
+ "quiet": {
2793
+ "description": "Suppress all output except errors",
2794
+ "helpGroup": "GLOBAL",
2795
+ "name": "quiet",
2799
2796
  "allowNo": false,
2800
2797
  "type": "boolean"
2801
2798
  },
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",
2799
+ "no-color": {
2800
+ "description": "Disable color output",
2801
+ "helpGroup": "GLOBAL",
2802
+ "name": "no-color",
2812
2803
  "allowNo": false,
2813
2804
  "type": "boolean"
2814
2805
  },
2815
- "header-footer": {
2816
- "description": "Header/footer JSON array",
2817
- "name": "header-footer",
2806
+ "profile": {
2807
+ "description": "Named configuration profile to use",
2808
+ "helpGroup": "GLOBAL",
2809
+ "name": "profile",
2810
+ "default": "default",
2818
2811
  "hasDynamicHelp": false,
2819
2812
  "multiple": false,
2820
2813
  "type": "option"
2821
2814
  },
2822
- "data": {
2823
- "description": "Additional JSON object payload",
2824
- "name": "data",
2815
+ "api-url": {
2816
+ "description": "Override the API base URL (e.g. for staging)",
2817
+ "helpGroup": "GLOBAL",
2818
+ "name": "api-url",
2825
2819
  "hasDynamicHelp": false,
2826
2820
  "multiple": false,
2827
2821
  "type": "option"
@@ -2829,7 +2823,7 @@
2829
2823
  },
2830
2824
  "hasDynamicHelp": false,
2831
2825
  "hiddenAliases": [],
2832
- "id": "broadcast:update",
2826
+ "id": "config:unset",
2833
2827
  "pluginAlias": "@instantkom/cli",
2834
2828
  "pluginName": "@instantkom/cli",
2835
2829
  "pluginType": "core",
@@ -2839,8 +2833,8 @@
2839
2833
  "relativePath": [
2840
2834
  "dist",
2841
2835
  "commands",
2842
- "broadcast",
2843
- "update.js"
2836
+ "config",
2837
+ "unset.js"
2844
2838
  ]
2845
2839
  },
2846
2840
  "chats:get": {
@@ -3177,10 +3171,10 @@
3177
3171
  "reply.js"
3178
3172
  ]
3179
3173
  },
3180
- "channels:create": {
3174
+ "broadcast:create": {
3181
3175
  "aliases": [],
3182
3176
  "args": {},
3183
- "description": "Create a channel",
3177
+ "description": "Create a broadcast for channels or segments",
3184
3178
  "flags": {
3185
3179
  "api-key": {
3186
3180
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3244,47 +3238,92 @@
3244
3238
  "multiple": false,
3245
3239
  "type": "option"
3246
3240
  },
3247
- "name": {
3248
- "description": "Channel name",
3249
- "name": "name",
3250
- "required": true,
3241
+ "channel": {
3242
+ "description": "Channel ID target",
3243
+ "name": "channel",
3251
3244
  "hasDynamicHelp": false,
3252
3245
  "multiple": false,
3253
3246
  "type": "option"
3254
3247
  },
3255
- "gateway-type": {
3256
- "description": "Gateway type ID",
3257
- "name": "gateway-type",
3248
+ "segment": {
3249
+ "description": "Segment ID within --channel",
3250
+ "name": "segment",
3251
+ "hasDynamicHelp": false,
3252
+ "multiple": false,
3253
+ "type": "option"
3254
+ },
3255
+ "target": {
3256
+ "description": "Target as channelId or channelId:segmentId; may be repeated",
3257
+ "name": "target",
3258
+ "hasDynamicHelp": false,
3259
+ "multiple": true,
3260
+ "type": "option"
3261
+ },
3262
+ "text": {
3263
+ "description": "Broadcast message text",
3264
+ "name": "text",
3258
3265
  "required": true,
3259
3266
  "hasDynamicHelp": false,
3260
3267
  "multiple": false,
3261
3268
  "type": "option"
3262
3269
  },
3263
- "status": {
3264
- "description": "Channel lifecycle status",
3265
- "name": "status",
3270
+ "send-at": {
3271
+ "description": "Schedule send for an ISO-8601 date-time",
3272
+ "name": "send-at",
3266
3273
  "hasDynamicHelp": false,
3267
3274
  "multiple": false,
3268
3275
  "type": "option"
3269
3276
  },
3270
- "description": {
3271
- "description": "Channel description",
3272
- "name": "description",
3277
+ "dry-run": {
3278
+ "description": "Validate and print the broadcast payload without mutating API calls",
3279
+ "name": "dry-run",
3280
+ "allowNo": false,
3281
+ "type": "boolean"
3282
+ },
3283
+ "idempotency-key": {
3284
+ "description": "Idempotency key forwarded as Idempotency-Key",
3285
+ "name": "idempotency-key",
3273
3286
  "hasDynamicHelp": false,
3274
3287
  "multiple": false,
3275
3288
  "type": "option"
3276
3289
  },
3277
- "data": {
3278
- "description": "Additional JSON object payload",
3279
- "name": "data",
3290
+ "media": {
3291
+ "description": "Media file path to upload",
3292
+ "name": "media",
3293
+ "hasDynamicHelp": false,
3294
+ "multiple": true,
3295
+ "type": "option"
3296
+ },
3297
+ "template-id": {
3298
+ "description": "WhatsApp template ID",
3299
+ "name": "template-id",
3280
3300
  "hasDynamicHelp": false,
3281
3301
  "multiple": false,
3282
3302
  "type": "option"
3283
- }
3284
- },
3285
- "hasDynamicHelp": false,
3286
- "hiddenAliases": [],
3287
- "id": "channels:create",
3303
+ },
3304
+ "send-status": {
3305
+ "description": "Initial broadcast send status",
3306
+ "name": "send-status",
3307
+ "default": "draft",
3308
+ "hasDynamicHelp": false,
3309
+ "multiple": false,
3310
+ "options": [
3311
+ "draft",
3312
+ "scheduled",
3313
+ "sending"
3314
+ ],
3315
+ "type": "option"
3316
+ },
3317
+ "auto-approve": {
3318
+ "description": "Auto-approve broadcast when allowed by API permissions",
3319
+ "name": "auto-approve",
3320
+ "allowNo": false,
3321
+ "type": "boolean"
3322
+ }
3323
+ },
3324
+ "hasDynamicHelp": false,
3325
+ "hiddenAliases": [],
3326
+ "id": "broadcast:create",
3288
3327
  "pluginAlias": "@instantkom/cli",
3289
3328
  "pluginName": "@instantkom/cli",
3290
3329
  "pluginType": "core",
@@ -3294,20 +3333,20 @@
3294
3333
  "relativePath": [
3295
3334
  "dist",
3296
3335
  "commands",
3297
- "channels",
3336
+ "broadcast",
3298
3337
  "create.js"
3299
3338
  ]
3300
3339
  },
3301
- "channels:get": {
3340
+ "broadcast:delete": {
3302
3341
  "aliases": [],
3303
3342
  "args": {
3304
3343
  "id": {
3305
- "description": "Channel ID",
3344
+ "description": "broadcast ID",
3306
3345
  "name": "id",
3307
3346
  "required": true
3308
3347
  }
3309
3348
  },
3310
- "description": "Get a channel by ID",
3349
+ "description": "Delete broadcast",
3311
3350
  "flags": {
3312
3351
  "api-key": {
3313
3352
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3374,7 +3413,7 @@
3374
3413
  },
3375
3414
  "hasDynamicHelp": false,
3376
3415
  "hiddenAliases": [],
3377
- "id": "channels:get",
3416
+ "id": "broadcast:delete",
3378
3417
  "pluginAlias": "@instantkom/cli",
3379
3418
  "pluginName": "@instantkom/cli",
3380
3419
  "pluginType": "core",
@@ -3384,20 +3423,20 @@
3384
3423
  "relativePath": [
3385
3424
  "dist",
3386
3425
  "commands",
3387
- "channels",
3388
- "get.js"
3426
+ "broadcast",
3427
+ "delete.js"
3389
3428
  ]
3390
3429
  },
3391
- "channels:kpis": {
3430
+ "broadcast:get": {
3392
3431
  "aliases": [],
3393
3432
  "args": {
3394
3433
  "id": {
3395
- "description": "Optional channel ID; omit for aggregated channel KPIs",
3434
+ "description": "broadcast ID",
3396
3435
  "name": "id",
3397
- "required": false
3436
+ "required": true
3398
3437
  }
3399
3438
  },
3400
- "description": "Get channel KPIs",
3439
+ "description": "Get broadcast by ID",
3401
3440
  "flags": {
3402
3441
  "api-key": {
3403
3442
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3460,18 +3499,11 @@
3460
3499
  "hasDynamicHelp": false,
3461
3500
  "multiple": false,
3462
3501
  "type": "option"
3463
- },
3464
- "period": {
3465
- "description": "KPI period",
3466
- "name": "period",
3467
- "hasDynamicHelp": false,
3468
- "multiple": false,
3469
- "type": "option"
3470
3502
  }
3471
3503
  },
3472
3504
  "hasDynamicHelp": false,
3473
3505
  "hiddenAliases": [],
3474
- "id": "channels:kpis",
3506
+ "id": "broadcast:get",
3475
3507
  "pluginAlias": "@instantkom/cli",
3476
3508
  "pluginName": "@instantkom/cli",
3477
3509
  "pluginType": "core",
@@ -3481,14 +3513,14 @@
3481
3513
  "relativePath": [
3482
3514
  "dist",
3483
3515
  "commands",
3484
- "channels",
3485
- "kpis.js"
3516
+ "broadcast",
3517
+ "get.js"
3486
3518
  ]
3487
3519
  },
3488
- "channels:list": {
3520
+ "broadcast:list": {
3489
3521
  "aliases": [],
3490
3522
  "args": {},
3491
- "description": "List channels",
3523
+ "description": "List broadcasts",
3492
3524
  "flags": {
3493
3525
  "api-key": {
3494
3526
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3568,31 +3600,56 @@
3568
3600
  "multiple": false,
3569
3601
  "type": "option"
3570
3602
  },
3571
- "status": {
3572
- "description": "Filter by channel status",
3573
- "name": "status",
3603
+ "channel": {
3604
+ "description": "Filter by channel ID",
3605
+ "name": "channel",
3574
3606
  "hasDynamicHelp": false,
3575
3607
  "multiple": false,
3576
3608
  "type": "option"
3577
3609
  },
3578
- "gateway-type": {
3579
- "description": "Filter by gateway type ID",
3580
- "name": "gateway-type",
3610
+ "send-status": {
3611
+ "description": "Filter by send status",
3612
+ "name": "send-status",
3613
+ "hasDynamicHelp": false,
3614
+ "multiple": false,
3615
+ "type": "option"
3616
+ },
3617
+ "type": {
3618
+ "description": "Broadcast type",
3619
+ "name": "type",
3581
3620
  "hasDynamicHelp": false,
3582
3621
  "multiple": false,
3622
+ "options": [
3623
+ "text",
3624
+ "image",
3625
+ "video",
3626
+ "audio",
3627
+ "document"
3628
+ ],
3583
3629
  "type": "option"
3584
3630
  },
3585
3631
  "search": {
3586
- "description": "Search by channel name",
3632
+ "description": "Search broadcasts",
3587
3633
  "name": "search",
3588
3634
  "hasDynamicHelp": false,
3589
3635
  "multiple": false,
3590
3636
  "type": "option"
3637
+ },
3638
+ "test": {
3639
+ "description": "Filter test flag: 0 or 1",
3640
+ "name": "test",
3641
+ "hasDynamicHelp": false,
3642
+ "multiple": false,
3643
+ "options": [
3644
+ "0",
3645
+ "1"
3646
+ ],
3647
+ "type": "option"
3591
3648
  }
3592
3649
  },
3593
3650
  "hasDynamicHelp": false,
3594
3651
  "hiddenAliases": [],
3595
- "id": "channels:list",
3652
+ "id": "broadcast:list",
3596
3653
  "pluginAlias": "@instantkom/cli",
3597
3654
  "pluginName": "@instantkom/cli",
3598
3655
  "pluginType": "core",
@@ -3602,20 +3659,20 @@
3602
3659
  "relativePath": [
3603
3660
  "dist",
3604
3661
  "commands",
3605
- "channels",
3662
+ "broadcast",
3606
3663
  "list.js"
3607
3664
  ]
3608
3665
  },
3609
- "channels:update": {
3666
+ "broadcast:send": {
3610
3667
  "aliases": [],
3611
3668
  "args": {
3612
3669
  "id": {
3613
- "description": "Channel ID",
3670
+ "description": "Broadcast ID",
3614
3671
  "name": "id",
3615
3672
  "required": true
3616
3673
  }
3617
3674
  },
3618
- "description": "Update a channel",
3675
+ "description": "Send a broadcast immediately",
3619
3676
  "flags": {
3620
3677
  "api-key": {
3621
3678
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3678,39 +3735,11 @@
3678
3735
  "hasDynamicHelp": false,
3679
3736
  "multiple": false,
3680
3737
  "type": "option"
3681
- },
3682
- "name": {
3683
- "description": "Channel name",
3684
- "name": "name",
3685
- "hasDynamicHelp": false,
3686
- "multiple": false,
3687
- "type": "option"
3688
- },
3689
- "status": {
3690
- "description": "Channel lifecycle status",
3691
- "name": "status",
3692
- "hasDynamicHelp": false,
3693
- "multiple": false,
3694
- "type": "option"
3695
- },
3696
- "description": {
3697
- "description": "Channel description",
3698
- "name": "description",
3699
- "hasDynamicHelp": false,
3700
- "multiple": false,
3701
- "type": "option"
3702
- },
3703
- "data": {
3704
- "description": "Additional JSON object payload",
3705
- "name": "data",
3706
- "hasDynamicHelp": false,
3707
- "multiple": false,
3708
- "type": "option"
3709
3738
  }
3710
3739
  },
3711
3740
  "hasDynamicHelp": false,
3712
3741
  "hiddenAliases": [],
3713
- "id": "channels:update",
3742
+ "id": "broadcast:send",
3714
3743
  "pluginAlias": "@instantkom/cli",
3715
3744
  "pluginName": "@instantkom/cli",
3716
3745
  "pluginType": "core",
@@ -3720,20 +3749,20 @@
3720
3749
  "relativePath": [
3721
3750
  "dist",
3722
3751
  "commands",
3723
- "channels",
3724
- "update.js"
3752
+ "broadcast",
3753
+ "send.js"
3725
3754
  ]
3726
3755
  },
3727
- "config:get": {
3756
+ "broadcast:status": {
3728
3757
  "aliases": [],
3729
3758
  "args": {
3730
- "key": {
3731
- "description": "Configuration key to retrieve",
3732
- "name": "key",
3759
+ "id": {
3760
+ "description": "Broadcast ID",
3761
+ "name": "id",
3733
3762
  "required": true
3734
3763
  }
3735
3764
  },
3736
- "description": "Get a configuration value for the current profile",
3765
+ "description": "Show broadcast send status",
3737
3766
  "flags": {
3738
3767
  "api-key": {
3739
3768
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3800,7 +3829,7 @@
3800
3829
  },
3801
3830
  "hasDynamicHelp": false,
3802
3831
  "hiddenAliases": [],
3803
- "id": "config:get",
3832
+ "id": "broadcast:status",
3804
3833
  "pluginAlias": "@instantkom/cli",
3805
3834
  "pluginName": "@instantkom/cli",
3806
3835
  "pluginType": "core",
@@ -3810,25 +3839,20 @@
3810
3839
  "relativePath": [
3811
3840
  "dist",
3812
3841
  "commands",
3813
- "config",
3814
- "get.js"
3842
+ "broadcast",
3843
+ "status.js"
3815
3844
  ]
3816
3845
  },
3817
- "config:set": {
3846
+ "broadcast:update": {
3818
3847
  "aliases": [],
3819
3848
  "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",
3849
+ "id": {
3850
+ "description": "Broadcast ID",
3851
+ "name": "id",
3828
3852
  "required": true
3829
3853
  }
3830
3854
  },
3831
- "description": "Set a configuration value for the current profile",
3855
+ "description": "Update a broadcast",
3832
3856
  "flags": {
3833
3857
  "api-key": {
3834
3858
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3891,11 +3915,77 @@
3891
3915
  "hasDynamicHelp": false,
3892
3916
  "multiple": false,
3893
3917
  "type": "option"
3918
+ },
3919
+ "text": {
3920
+ "description": "Broadcast message text",
3921
+ "name": "text",
3922
+ "hasDynamicHelp": false,
3923
+ "multiple": false,
3924
+ "type": "option"
3925
+ },
3926
+ "send-status": {
3927
+ "description": "Send status",
3928
+ "name": "send-status",
3929
+ "hasDynamicHelp": false,
3930
+ "multiple": false,
3931
+ "type": "option"
3932
+ },
3933
+ "scheduled-at": {
3934
+ "description": "Unix timestamp for scheduled send",
3935
+ "name": "scheduled-at",
3936
+ "hasDynamicHelp": false,
3937
+ "multiple": false,
3938
+ "type": "option"
3939
+ },
3940
+ "approved": {
3941
+ "description": "Mark as approved",
3942
+ "name": "approved",
3943
+ "allowNo": false,
3944
+ "type": "boolean"
3945
+ },
3946
+ "locked": {
3947
+ "description": "Mark as locked",
3948
+ "name": "locked",
3949
+ "allowNo": false,
3950
+ "type": "boolean"
3951
+ },
3952
+ "test": {
3953
+ "description": "Mark as test broadcast",
3954
+ "name": "test",
3955
+ "allowNo": false,
3956
+ "type": "boolean"
3957
+ },
3958
+ "template-id": {
3959
+ "description": "Template ID",
3960
+ "name": "template-id",
3961
+ "hasDynamicHelp": false,
3962
+ "multiple": false,
3963
+ "type": "option"
3964
+ },
3965
+ "remove-media": {
3966
+ "description": "Remove existing media",
3967
+ "name": "remove-media",
3968
+ "allowNo": false,
3969
+ "type": "boolean"
3970
+ },
3971
+ "header-footer": {
3972
+ "description": "Header/footer JSON array",
3973
+ "name": "header-footer",
3974
+ "hasDynamicHelp": false,
3975
+ "multiple": false,
3976
+ "type": "option"
3977
+ },
3978
+ "data": {
3979
+ "description": "Additional JSON object payload",
3980
+ "name": "data",
3981
+ "hasDynamicHelp": false,
3982
+ "multiple": false,
3983
+ "type": "option"
3894
3984
  }
3895
3985
  },
3896
3986
  "hasDynamicHelp": false,
3897
3987
  "hiddenAliases": [],
3898
- "id": "config:set",
3988
+ "id": "broadcast:update",
3899
3989
  "pluginAlias": "@instantkom/cli",
3900
3990
  "pluginName": "@instantkom/cli",
3901
3991
  "pluginType": "core",
@@ -3905,101 +3995,11 @@
3905
3995
  "relativePath": [
3906
3996
  "dist",
3907
3997
  "commands",
3908
- "config",
3909
- "set.js"
3998
+ "broadcast",
3999
+ "update.js"
3910
4000
  ]
3911
4001
  },
3912
- "config:unset": {
3913
- "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",
3922
- "flags": {
3923
- "api-key": {
3924
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
3925
- "env": "IKM_API_KEY",
3926
- "helpGroup": "GLOBAL",
3927
- "name": "api-key",
3928
- "hasDynamicHelp": false,
3929
- "multiple": false,
3930
- "type": "option"
3931
- },
3932
- "format": {
3933
- "description": "Output format: text, json, yaml, or table",
3934
- "helpGroup": "GLOBAL",
3935
- "name": "format",
3936
- "default": "text",
3937
- "hasDynamicHelp": false,
3938
- "multiple": false,
3939
- "options": [
3940
- "text",
3941
- "json",
3942
- "yaml",
3943
- "table"
3944
- ],
3945
- "type": "option"
3946
- },
3947
- "json": {
3948
- "description": "Output in JSON format (alias for --format=json)",
3949
- "helpGroup": "GLOBAL",
3950
- "name": "json",
3951
- "allowNo": false,
3952
- "type": "boolean"
3953
- },
3954
- "quiet": {
3955
- "description": "Suppress all output except errors",
3956
- "helpGroup": "GLOBAL",
3957
- "name": "quiet",
3958
- "allowNo": false,
3959
- "type": "boolean"
3960
- },
3961
- "no-color": {
3962
- "description": "Disable color output",
3963
- "helpGroup": "GLOBAL",
3964
- "name": "no-color",
3965
- "allowNo": false,
3966
- "type": "boolean"
3967
- },
3968
- "profile": {
3969
- "description": "Named configuration profile to use",
3970
- "helpGroup": "GLOBAL",
3971
- "name": "profile",
3972
- "default": "default",
3973
- "hasDynamicHelp": false,
3974
- "multiple": false,
3975
- "type": "option"
3976
- },
3977
- "api-url": {
3978
- "description": "Override the API base URL (e.g. for staging)",
3979
- "helpGroup": "GLOBAL",
3980
- "name": "api-url",
3981
- "hasDynamicHelp": false,
3982
- "multiple": false,
3983
- "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": [
3996
- "dist",
3997
- "commands",
3998
- "config",
3999
- "unset.js"
4000
- ]
4001
- },
4002
- "contacts:create": {
4002
+ "contacts:create": {
4003
4003
  "aliases": [],
4004
4004
  "args": {},
4005
4005
  "description": "Create a contact",
@@ -6076,10 +6076,10 @@
6076
6076
  "list.js"
6077
6077
  ]
6078
6078
  },
6079
- "messages:bulk-spam": {
6079
+ "flows:create": {
6080
6080
  "aliases": [],
6081
6081
  "args": {},
6082
- "description": "Mark or unmark multiple messages as spam",
6082
+ "description": "Create a flow",
6083
6083
  "flags": {
6084
6084
  "api-key": {
6085
6085
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6143,24 +6143,54 @@
6143
6143
  "multiple": false,
6144
6144
  "type": "option"
6145
6145
  },
6146
- "ids": {
6147
- "description": "Comma-separated message IDs",
6148
- "name": "ids",
6146
+ "channel": {
6147
+ "description": "Channel ID",
6148
+ "name": "channel",
6149
6149
  "required": true,
6150
6150
  "hasDynamicHelp": false,
6151
6151
  "multiple": false,
6152
6152
  "type": "option"
6153
6153
  },
6154
- "spam": {
6155
- "description": "Mark messages as spam",
6156
- "name": "spam",
6157
- "allowNo": true,
6158
- "type": "boolean"
6154
+ "name": {
6155
+ "description": "Flow name",
6156
+ "name": "name",
6157
+ "required": true,
6158
+ "hasDynamicHelp": false,
6159
+ "multiple": false,
6160
+ "type": "option"
6161
+ },
6162
+ "description": {
6163
+ "description": "Flow description",
6164
+ "name": "description",
6165
+ "hasDynamicHelp": false,
6166
+ "multiple": false,
6167
+ "type": "option"
6168
+ },
6169
+ "color": {
6170
+ "description": "Flow color as HEX",
6171
+ "name": "color",
6172
+ "hasDynamicHelp": false,
6173
+ "multiple": false,
6174
+ "type": "option"
6175
+ },
6176
+ "folder": {
6177
+ "description": "Folder ID",
6178
+ "name": "folder",
6179
+ "hasDynamicHelp": false,
6180
+ "multiple": false,
6181
+ "type": "option"
6182
+ },
6183
+ "data": {
6184
+ "description": "Additional JSON object payload",
6185
+ "name": "data",
6186
+ "hasDynamicHelp": false,
6187
+ "multiple": false,
6188
+ "type": "option"
6159
6189
  }
6160
6190
  },
6161
6191
  "hasDynamicHelp": false,
6162
6192
  "hiddenAliases": [],
6163
- "id": "messages:bulk-spam",
6193
+ "id": "flows:create",
6164
6194
  "pluginAlias": "@instantkom/cli",
6165
6195
  "pluginName": "@instantkom/cli",
6166
6196
  "pluginType": "core",
@@ -6170,20 +6200,20 @@
6170
6200
  "relativePath": [
6171
6201
  "dist",
6172
6202
  "commands",
6173
- "messages",
6174
- "bulk-spam.js"
6203
+ "flows",
6204
+ "create.js"
6175
6205
  ]
6176
6206
  },
6177
- "messages:create-ticket": {
6207
+ "flows:delete": {
6178
6208
  "aliases": [],
6179
6209
  "args": {
6180
6210
  "id": {
6181
- "description": "Message ID",
6211
+ "description": "Flow ID",
6182
6212
  "name": "id",
6183
6213
  "required": true
6184
6214
  }
6185
6215
  },
6186
- "description": "Create a ticket from a message",
6216
+ "description": "Delete a flow",
6187
6217
  "flags": {
6188
6218
  "api-key": {
6189
6219
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6246,32 +6276,11 @@
6246
6276
  "hasDynamicHelp": false,
6247
6277
  "multiple": false,
6248
6278
  "type": "option"
6249
- },
6250
- "subject": {
6251
- "description": "Ticket subject",
6252
- "name": "subject",
6253
- "hasDynamicHelp": false,
6254
- "multiple": false,
6255
- "type": "option"
6256
- },
6257
- "priority": {
6258
- "description": "Ticket priority",
6259
- "name": "priority",
6260
- "hasDynamicHelp": false,
6261
- "multiple": false,
6262
- "type": "option"
6263
- },
6264
- "data": {
6265
- "description": "Additional JSON object payload",
6266
- "name": "data",
6267
- "hasDynamicHelp": false,
6268
- "multiple": false,
6269
- "type": "option"
6270
6279
  }
6271
6280
  },
6272
6281
  "hasDynamicHelp": false,
6273
6282
  "hiddenAliases": [],
6274
- "id": "messages:create-ticket",
6283
+ "id": "flows:delete",
6275
6284
  "pluginAlias": "@instantkom/cli",
6276
6285
  "pluginName": "@instantkom/cli",
6277
6286
  "pluginType": "core",
@@ -6281,20 +6290,20 @@
6281
6290
  "relativePath": [
6282
6291
  "dist",
6283
6292
  "commands",
6284
- "messages",
6285
- "create-ticket.js"
6293
+ "flows",
6294
+ "delete.js"
6286
6295
  ]
6287
6296
  },
6288
- "messages:delete": {
6297
+ "flows:get": {
6289
6298
  "aliases": [],
6290
6299
  "args": {
6291
6300
  "id": {
6292
- "description": "message ID",
6301
+ "description": "Flow ID",
6293
6302
  "name": "id",
6294
6303
  "required": true
6295
6304
  }
6296
6305
  },
6297
- "description": "Delete message",
6306
+ "description": "Get a flow by ID",
6298
6307
  "flags": {
6299
6308
  "api-key": {
6300
6309
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6361,7 +6370,7 @@
6361
6370
  },
6362
6371
  "hasDynamicHelp": false,
6363
6372
  "hiddenAliases": [],
6364
- "id": "messages:delete",
6373
+ "id": "flows:get",
6365
6374
  "pluginAlias": "@instantkom/cli",
6366
6375
  "pluginName": "@instantkom/cli",
6367
6376
  "pluginType": "core",
@@ -6371,20 +6380,14 @@
6371
6380
  "relativePath": [
6372
6381
  "dist",
6373
6382
  "commands",
6374
- "messages",
6375
- "delete.js"
6383
+ "flows",
6384
+ "get.js"
6376
6385
  ]
6377
6386
  },
6378
- "messages:get": {
6387
+ "flows:list": {
6379
6388
  "aliases": [],
6380
- "args": {
6381
- "id": {
6382
- "description": "message ID",
6383
- "name": "id",
6384
- "required": true
6385
- }
6386
- },
6387
- "description": "Get message by ID",
6389
+ "args": {},
6390
+ "description": "List flows",
6388
6391
  "flags": {
6389
6392
  "api-key": {
6390
6393
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6447,11 +6450,48 @@
6447
6450
  "hasDynamicHelp": false,
6448
6451
  "multiple": false,
6449
6452
  "type": "option"
6453
+ },
6454
+ "page": {
6455
+ "description": "Page number",
6456
+ "name": "page",
6457
+ "default": 1,
6458
+ "hasDynamicHelp": false,
6459
+ "multiple": false,
6460
+ "type": "option"
6461
+ },
6462
+ "limit": {
6463
+ "description": "Items per page",
6464
+ "name": "limit",
6465
+ "default": 20,
6466
+ "hasDynamicHelp": false,
6467
+ "multiple": false,
6468
+ "type": "option"
6469
+ },
6470
+ "channel": {
6471
+ "description": "Filter by channel ID",
6472
+ "name": "channel",
6473
+ "hasDynamicHelp": false,
6474
+ "multiple": false,
6475
+ "type": "option"
6476
+ },
6477
+ "search": {
6478
+ "description": "Search in flow name or description",
6479
+ "name": "search",
6480
+ "hasDynamicHelp": false,
6481
+ "multiple": false,
6482
+ "type": "option"
6483
+ },
6484
+ "folder": {
6485
+ "description": "Filter by folder ID",
6486
+ "name": "folder",
6487
+ "hasDynamicHelp": false,
6488
+ "multiple": false,
6489
+ "type": "option"
6450
6490
  }
6451
6491
  },
6452
6492
  "hasDynamicHelp": false,
6453
6493
  "hiddenAliases": [],
6454
- "id": "messages:get",
6494
+ "id": "flows:list",
6455
6495
  "pluginAlias": "@instantkom/cli",
6456
6496
  "pluginName": "@instantkom/cli",
6457
6497
  "pluginType": "core",
@@ -6461,14 +6501,20 @@
6461
6501
  "relativePath": [
6462
6502
  "dist",
6463
6503
  "commands",
6464
- "messages",
6465
- "get.js"
6504
+ "flows",
6505
+ "list.js"
6466
6506
  ]
6467
6507
  },
6468
- "messages:list": {
6508
+ "flows:update": {
6469
6509
  "aliases": [],
6470
- "args": {},
6471
- "description": "List messages",
6510
+ "args": {
6511
+ "id": {
6512
+ "description": "Flow ID",
6513
+ "name": "id",
6514
+ "required": true
6515
+ }
6516
+ },
6517
+ "description": "Update a flow",
6472
6518
  "flags": {
6473
6519
  "api-key": {
6474
6520
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6532,71 +6578,45 @@
6532
6578
  "multiple": false,
6533
6579
  "type": "option"
6534
6580
  },
6535
- "page": {
6536
- "description": "Page number",
6537
- "name": "page",
6538
- "default": 1,
6539
- "hasDynamicHelp": false,
6540
- "multiple": false,
6541
- "type": "option"
6542
- },
6543
- "limit": {
6544
- "description": "Items per page",
6545
- "name": "limit",
6546
- "default": 20,
6581
+ "name": {
6582
+ "description": "Flow name",
6583
+ "name": "name",
6547
6584
  "hasDynamicHelp": false,
6548
6585
  "multiple": false,
6549
6586
  "type": "option"
6550
6587
  },
6551
- "channel": {
6552
- "description": "Filter by channel ID",
6553
- "name": "channel",
6588
+ "description": {
6589
+ "description": "Flow description",
6590
+ "name": "description",
6554
6591
  "hasDynamicHelp": false,
6555
6592
  "multiple": false,
6556
6593
  "type": "option"
6557
6594
  },
6558
- "recipient": {
6559
- "description": "Filter by recipient ID",
6560
- "name": "recipient",
6595
+ "color": {
6596
+ "description": "Flow color as HEX",
6597
+ "name": "color",
6561
6598
  "hasDynamicHelp": false,
6562
6599
  "multiple": false,
6563
6600
  "type": "option"
6564
6601
  },
6565
- "direction": {
6566
- "description": "Direction",
6567
- "name": "direction",
6568
- "hasDynamicHelp": false,
6569
- "multiple": false,
6570
- "options": [
6571
- "s",
6572
- "r"
6573
- ],
6574
- "type": "option"
6575
- },
6576
- "type": {
6577
- "description": "Message type",
6578
- "name": "type",
6602
+ "folder": {
6603
+ "description": "Folder ID",
6604
+ "name": "folder",
6579
6605
  "hasDynamicHelp": false,
6580
6606
  "multiple": false,
6581
6607
  "type": "option"
6582
6608
  },
6583
- "search": {
6584
- "description": "Search messages",
6585
- "name": "search",
6609
+ "data": {
6610
+ "description": "Additional JSON object payload",
6611
+ "name": "data",
6586
6612
  "hasDynamicHelp": false,
6587
6613
  "multiple": false,
6588
6614
  "type": "option"
6589
- },
6590
- "spam": {
6591
- "description": "Filter spam messages",
6592
- "name": "spam",
6593
- "allowNo": false,
6594
- "type": "boolean"
6595
6615
  }
6596
6616
  },
6597
6617
  "hasDynamicHelp": false,
6598
6618
  "hiddenAliases": [],
6599
- "id": "messages:list",
6619
+ "id": "flows:update",
6600
6620
  "pluginAlias": "@instantkom/cli",
6601
6621
  "pluginName": "@instantkom/cli",
6602
6622
  "pluginType": "core",
@@ -6606,20 +6626,14 @@
6606
6626
  "relativePath": [
6607
6627
  "dist",
6608
6628
  "commands",
6609
- "messages",
6610
- "list.js"
6629
+ "flows",
6630
+ "update.js"
6611
6631
  ]
6612
6632
  },
6613
- "messages:reactions": {
6633
+ "messages:bulk-spam": {
6614
6634
  "aliases": [],
6615
- "args": {
6616
- "id": {
6617
- "description": "Message ID",
6618
- "name": "id",
6619
- "required": true
6620
- }
6621
- },
6622
- "description": "Get reactions to a message",
6635
+ "args": {},
6636
+ "description": "Mark or unmark multiple messages as spam",
6623
6637
  "flags": {
6624
6638
  "api-key": {
6625
6639
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6682,11 +6696,25 @@
6682
6696
  "hasDynamicHelp": false,
6683
6697
  "multiple": false,
6684
6698
  "type": "option"
6699
+ },
6700
+ "ids": {
6701
+ "description": "Comma-separated message IDs",
6702
+ "name": "ids",
6703
+ "required": true,
6704
+ "hasDynamicHelp": false,
6705
+ "multiple": false,
6706
+ "type": "option"
6707
+ },
6708
+ "spam": {
6709
+ "description": "Mark messages as spam",
6710
+ "name": "spam",
6711
+ "allowNo": true,
6712
+ "type": "boolean"
6685
6713
  }
6686
6714
  },
6687
6715
  "hasDynamicHelp": false,
6688
6716
  "hiddenAliases": [],
6689
- "id": "messages:reactions",
6717
+ "id": "messages:bulk-spam",
6690
6718
  "pluginAlias": "@instantkom/cli",
6691
6719
  "pluginName": "@instantkom/cli",
6692
6720
  "pluginType": "core",
@@ -6697,10 +6725,10 @@
6697
6725
  "dist",
6698
6726
  "commands",
6699
6727
  "messages",
6700
- "reactions.js"
6728
+ "bulk-spam.js"
6701
6729
  ]
6702
6730
  },
6703
- "messages:spam": {
6731
+ "messages:create-ticket": {
6704
6732
  "aliases": [],
6705
6733
  "args": {
6706
6734
  "id": {
@@ -6709,7 +6737,7 @@
6709
6737
  "required": true
6710
6738
  }
6711
6739
  },
6712
- "description": "Mark or unmark a message as spam",
6740
+ "description": "Create a ticket from a message",
6713
6741
  "flags": {
6714
6742
  "api-key": {
6715
6743
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6773,16 +6801,31 @@
6773
6801
  "multiple": false,
6774
6802
  "type": "option"
6775
6803
  },
6776
- "spam": {
6777
- "description": "Mark as spam",
6778
- "name": "spam",
6779
- "allowNo": true,
6780
- "type": "boolean"
6804
+ "subject": {
6805
+ "description": "Ticket subject",
6806
+ "name": "subject",
6807
+ "hasDynamicHelp": false,
6808
+ "multiple": false,
6809
+ "type": "option"
6810
+ },
6811
+ "priority": {
6812
+ "description": "Ticket priority",
6813
+ "name": "priority",
6814
+ "hasDynamicHelp": false,
6815
+ "multiple": false,
6816
+ "type": "option"
6817
+ },
6818
+ "data": {
6819
+ "description": "Additional JSON object payload",
6820
+ "name": "data",
6821
+ "hasDynamicHelp": false,
6822
+ "multiple": false,
6823
+ "type": "option"
6781
6824
  }
6782
6825
  },
6783
6826
  "hasDynamicHelp": false,
6784
6827
  "hiddenAliases": [],
6785
- "id": "messages:spam",
6828
+ "id": "messages:create-ticket",
6786
6829
  "pluginAlias": "@instantkom/cli",
6787
6830
  "pluginName": "@instantkom/cli",
6788
6831
  "pluginType": "core",
@@ -6793,13 +6836,19 @@
6793
6836
  "dist",
6794
6837
  "commands",
6795
6838
  "messages",
6796
- "spam.js"
6839
+ "create-ticket.js"
6797
6840
  ]
6798
6841
  },
6799
- "messages:unread-count": {
6842
+ "messages:delete": {
6800
6843
  "aliases": [],
6801
- "args": {},
6802
- "description": "Get unread inbox message count",
6844
+ "args": {
6845
+ "id": {
6846
+ "description": "message ID",
6847
+ "name": "id",
6848
+ "required": true
6849
+ }
6850
+ },
6851
+ "description": "Delete message",
6803
6852
  "flags": {
6804
6853
  "api-key": {
6805
6854
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6866,7 +6915,7 @@
6866
6915
  },
6867
6916
  "hasDynamicHelp": false,
6868
6917
  "hiddenAliases": [],
6869
- "id": "messages:unread-count",
6918
+ "id": "messages:delete",
6870
6919
  "pluginAlias": "@instantkom/cli",
6871
6920
  "pluginName": "@instantkom/cli",
6872
6921
  "pluginType": "core",
@@ -6877,19 +6926,19 @@
6877
6926
  "dist",
6878
6927
  "commands",
6879
6928
  "messages",
6880
- "unread-count.js"
6929
+ "delete.js"
6881
6930
  ]
6882
6931
  },
6883
- "messages:update": {
6932
+ "messages:get": {
6884
6933
  "aliases": [],
6885
6934
  "args": {
6886
6935
  "id": {
6887
- "description": "Message ID",
6936
+ "description": "message ID",
6888
6937
  "name": "id",
6889
6938
  "required": true
6890
6939
  }
6891
6940
  },
6892
- "description": "Update a message",
6941
+ "description": "Get message by ID",
6893
6942
  "flags": {
6894
6943
  "api-key": {
6895
6944
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6952,58 +7001,11 @@
6952
7001
  "hasDynamicHelp": false,
6953
7002
  "multiple": false,
6954
7003
  "type": "option"
6955
- },
6956
- "message": {
6957
- "description": "Message content",
6958
- "name": "message",
6959
- "hasDynamicHelp": false,
6960
- "multiple": false,
6961
- "type": "option"
6962
- },
6963
- "scheduled-at": {
6964
- "description": "Unix timestamp for scheduled send",
6965
- "name": "scheduled-at",
6966
- "hasDynamicHelp": false,
6967
- "multiple": false,
6968
- "type": "option"
6969
- },
6970
- "hidden": {
6971
- "description": "Hide message",
6972
- "name": "hidden",
6973
- "allowNo": true,
6974
- "type": "boolean"
6975
- },
6976
- "locked": {
6977
- "description": "Lock message",
6978
- "name": "locked",
6979
- "allowNo": true,
6980
- "type": "boolean"
6981
- },
6982
- "buttons": {
6983
- "description": "Buttons JSON array",
6984
- "name": "buttons",
6985
- "hasDynamicHelp": false,
6986
- "multiple": false,
6987
- "type": "option"
6988
- },
6989
- "header-footer": {
6990
- "description": "Header/footer JSON object",
6991
- "name": "header-footer",
6992
- "hasDynamicHelp": false,
6993
- "multiple": false,
6994
- "type": "option"
6995
- },
6996
- "data": {
6997
- "description": "Additional JSON object payload",
6998
- "name": "data",
6999
- "hasDynamicHelp": false,
7000
- "multiple": false,
7001
- "type": "option"
7002
7004
  }
7003
7005
  },
7004
7006
  "hasDynamicHelp": false,
7005
7007
  "hiddenAliases": [],
7006
- "id": "messages:update",
7008
+ "id": "messages:get",
7007
7009
  "pluginAlias": "@instantkom/cli",
7008
7010
  "pluginName": "@instantkom/cli",
7009
7011
  "pluginType": "core",
@@ -7014,13 +7016,13 @@
7014
7016
  "dist",
7015
7017
  "commands",
7016
7018
  "messages",
7017
- "update.js"
7019
+ "get.js"
7018
7020
  ]
7019
7021
  },
7020
- "flows:create": {
7022
+ "messages:list": {
7021
7023
  "aliases": [],
7022
7024
  "args": {},
7023
- "description": "Create a flow",
7025
+ "description": "List messages",
7024
7026
  "flags": {
7025
7027
  "api-key": {
7026
7028
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7084,54 +7086,71 @@
7084
7086
  "multiple": false,
7085
7087
  "type": "option"
7086
7088
  },
7087
- "channel": {
7088
- "description": "Channel ID",
7089
- "name": "channel",
7090
- "required": true,
7089
+ "page": {
7090
+ "description": "Page number",
7091
+ "name": "page",
7092
+ "default": 1,
7091
7093
  "hasDynamicHelp": false,
7092
7094
  "multiple": false,
7093
7095
  "type": "option"
7094
7096
  },
7095
- "name": {
7096
- "description": "Flow name",
7097
- "name": "name",
7098
- "required": true,
7097
+ "limit": {
7098
+ "description": "Items per page",
7099
+ "name": "limit",
7100
+ "default": 20,
7099
7101
  "hasDynamicHelp": false,
7100
7102
  "multiple": false,
7101
7103
  "type": "option"
7102
7104
  },
7103
- "description": {
7104
- "description": "Flow description",
7105
- "name": "description",
7105
+ "channel": {
7106
+ "description": "Filter by channel ID",
7107
+ "name": "channel",
7106
7108
  "hasDynamicHelp": false,
7107
7109
  "multiple": false,
7108
7110
  "type": "option"
7109
7111
  },
7110
- "color": {
7111
- "description": "Flow color as HEX",
7112
- "name": "color",
7112
+ "recipient": {
7113
+ "description": "Filter by recipient ID",
7114
+ "name": "recipient",
7113
7115
  "hasDynamicHelp": false,
7114
7116
  "multiple": false,
7115
7117
  "type": "option"
7116
7118
  },
7117
- "folder": {
7118
- "description": "Folder ID",
7119
- "name": "folder",
7119
+ "direction": {
7120
+ "description": "Direction",
7121
+ "name": "direction",
7120
7122
  "hasDynamicHelp": false,
7121
7123
  "multiple": false,
7124
+ "options": [
7125
+ "s",
7126
+ "r"
7127
+ ],
7122
7128
  "type": "option"
7123
7129
  },
7124
- "data": {
7125
- "description": "Additional JSON object payload",
7126
- "name": "data",
7130
+ "type": {
7131
+ "description": "Message type",
7132
+ "name": "type",
7133
+ "hasDynamicHelp": false,
7134
+ "multiple": false,
7135
+ "type": "option"
7136
+ },
7137
+ "search": {
7138
+ "description": "Search messages",
7139
+ "name": "search",
7127
7140
  "hasDynamicHelp": false,
7128
7141
  "multiple": false,
7129
7142
  "type": "option"
7143
+ },
7144
+ "spam": {
7145
+ "description": "Filter spam messages",
7146
+ "name": "spam",
7147
+ "allowNo": false,
7148
+ "type": "boolean"
7130
7149
  }
7131
7150
  },
7132
7151
  "hasDynamicHelp": false,
7133
7152
  "hiddenAliases": [],
7134
- "id": "flows:create",
7153
+ "id": "messages:list",
7135
7154
  "pluginAlias": "@instantkom/cli",
7136
7155
  "pluginName": "@instantkom/cli",
7137
7156
  "pluginType": "core",
@@ -7141,20 +7160,20 @@
7141
7160
  "relativePath": [
7142
7161
  "dist",
7143
7162
  "commands",
7144
- "flows",
7145
- "create.js"
7163
+ "messages",
7164
+ "list.js"
7146
7165
  ]
7147
7166
  },
7148
- "flows:delete": {
7167
+ "messages:reactions": {
7149
7168
  "aliases": [],
7150
7169
  "args": {
7151
7170
  "id": {
7152
- "description": "Flow ID",
7171
+ "description": "Message ID",
7153
7172
  "name": "id",
7154
7173
  "required": true
7155
7174
  }
7156
7175
  },
7157
- "description": "Delete a flow",
7176
+ "description": "Get reactions to a message",
7158
7177
  "flags": {
7159
7178
  "api-key": {
7160
7179
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7221,7 +7240,7 @@
7221
7240
  },
7222
7241
  "hasDynamicHelp": false,
7223
7242
  "hiddenAliases": [],
7224
- "id": "flows:delete",
7243
+ "id": "messages:reactions",
7225
7244
  "pluginAlias": "@instantkom/cli",
7226
7245
  "pluginName": "@instantkom/cli",
7227
7246
  "pluginType": "core",
@@ -7231,20 +7250,20 @@
7231
7250
  "relativePath": [
7232
7251
  "dist",
7233
7252
  "commands",
7234
- "flows",
7235
- "delete.js"
7253
+ "messages",
7254
+ "reactions.js"
7236
7255
  ]
7237
7256
  },
7238
- "flows:get": {
7257
+ "messages:spam": {
7239
7258
  "aliases": [],
7240
7259
  "args": {
7241
7260
  "id": {
7242
- "description": "Flow ID",
7261
+ "description": "Message ID",
7243
7262
  "name": "id",
7244
7263
  "required": true
7245
7264
  }
7246
7265
  },
7247
- "description": "Get a flow by ID",
7266
+ "description": "Mark or unmark a message as spam",
7248
7267
  "flags": {
7249
7268
  "api-key": {
7250
7269
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7307,11 +7326,17 @@
7307
7326
  "hasDynamicHelp": false,
7308
7327
  "multiple": false,
7309
7328
  "type": "option"
7329
+ },
7330
+ "spam": {
7331
+ "description": "Mark as spam",
7332
+ "name": "spam",
7333
+ "allowNo": true,
7334
+ "type": "boolean"
7310
7335
  }
7311
7336
  },
7312
7337
  "hasDynamicHelp": false,
7313
7338
  "hiddenAliases": [],
7314
- "id": "flows:get",
7339
+ "id": "messages:spam",
7315
7340
  "pluginAlias": "@instantkom/cli",
7316
7341
  "pluginName": "@instantkom/cli",
7317
7342
  "pluginType": "core",
@@ -7321,14 +7346,14 @@
7321
7346
  "relativePath": [
7322
7347
  "dist",
7323
7348
  "commands",
7324
- "flows",
7325
- "get.js"
7349
+ "messages",
7350
+ "spam.js"
7326
7351
  ]
7327
7352
  },
7328
- "flows:list": {
7353
+ "messages:unread-count": {
7329
7354
  "aliases": [],
7330
7355
  "args": {},
7331
- "description": "List flows",
7356
+ "description": "Get unread inbox message count",
7332
7357
  "flags": {
7333
7358
  "api-key": {
7334
7359
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7391,48 +7416,11 @@
7391
7416
  "hasDynamicHelp": false,
7392
7417
  "multiple": false,
7393
7418
  "type": "option"
7394
- },
7395
- "page": {
7396
- "description": "Page number",
7397
- "name": "page",
7398
- "default": 1,
7399
- "hasDynamicHelp": false,
7400
- "multiple": false,
7401
- "type": "option"
7402
- },
7403
- "limit": {
7404
- "description": "Items per page",
7405
- "name": "limit",
7406
- "default": 20,
7407
- "hasDynamicHelp": false,
7408
- "multiple": false,
7409
- "type": "option"
7410
- },
7411
- "channel": {
7412
- "description": "Filter by channel ID",
7413
- "name": "channel",
7414
- "hasDynamicHelp": false,
7415
- "multiple": false,
7416
- "type": "option"
7417
- },
7418
- "search": {
7419
- "description": "Search in flow name or description",
7420
- "name": "search",
7421
- "hasDynamicHelp": false,
7422
- "multiple": false,
7423
- "type": "option"
7424
- },
7425
- "folder": {
7426
- "description": "Filter by folder ID",
7427
- "name": "folder",
7428
- "hasDynamicHelp": false,
7429
- "multiple": false,
7430
- "type": "option"
7431
7419
  }
7432
7420
  },
7433
7421
  "hasDynamicHelp": false,
7434
7422
  "hiddenAliases": [],
7435
- "id": "flows:list",
7423
+ "id": "messages:unread-count",
7436
7424
  "pluginAlias": "@instantkom/cli",
7437
7425
  "pluginName": "@instantkom/cli",
7438
7426
  "pluginType": "core",
@@ -7442,20 +7430,20 @@
7442
7430
  "relativePath": [
7443
7431
  "dist",
7444
7432
  "commands",
7445
- "flows",
7446
- "list.js"
7433
+ "messages",
7434
+ "unread-count.js"
7447
7435
  ]
7448
7436
  },
7449
- "flows:update": {
7437
+ "messages:update": {
7450
7438
  "aliases": [],
7451
7439
  "args": {
7452
7440
  "id": {
7453
- "description": "Flow ID",
7441
+ "description": "Message ID",
7454
7442
  "name": "id",
7455
7443
  "required": true
7456
7444
  }
7457
7445
  },
7458
- "description": "Update a flow",
7446
+ "description": "Update a message",
7459
7447
  "flags": {
7460
7448
  "api-key": {
7461
7449
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7519,30 +7507,42 @@
7519
7507
  "multiple": false,
7520
7508
  "type": "option"
7521
7509
  },
7522
- "name": {
7523
- "description": "Flow name",
7524
- "name": "name",
7510
+ "message": {
7511
+ "description": "Message content",
7512
+ "name": "message",
7525
7513
  "hasDynamicHelp": false,
7526
7514
  "multiple": false,
7527
7515
  "type": "option"
7528
7516
  },
7529
- "description": {
7530
- "description": "Flow description",
7531
- "name": "description",
7517
+ "scheduled-at": {
7518
+ "description": "Unix timestamp for scheduled send",
7519
+ "name": "scheduled-at",
7532
7520
  "hasDynamicHelp": false,
7533
7521
  "multiple": false,
7534
7522
  "type": "option"
7535
7523
  },
7536
- "color": {
7537
- "description": "Flow color as HEX",
7538
- "name": "color",
7524
+ "hidden": {
7525
+ "description": "Hide message",
7526
+ "name": "hidden",
7527
+ "allowNo": true,
7528
+ "type": "boolean"
7529
+ },
7530
+ "locked": {
7531
+ "description": "Lock message",
7532
+ "name": "locked",
7533
+ "allowNo": true,
7534
+ "type": "boolean"
7535
+ },
7536
+ "buttons": {
7537
+ "description": "Buttons JSON array",
7538
+ "name": "buttons",
7539
7539
  "hasDynamicHelp": false,
7540
7540
  "multiple": false,
7541
7541
  "type": "option"
7542
7542
  },
7543
- "folder": {
7544
- "description": "Folder ID",
7545
- "name": "folder",
7543
+ "header-footer": {
7544
+ "description": "Header/footer JSON object",
7545
+ "name": "header-footer",
7546
7546
  "hasDynamicHelp": false,
7547
7547
  "multiple": false,
7548
7548
  "type": "option"
@@ -7557,7 +7557,7 @@
7557
7557
  },
7558
7558
  "hasDynamicHelp": false,
7559
7559
  "hiddenAliases": [],
7560
- "id": "flows:update",
7560
+ "id": "messages:update",
7561
7561
  "pluginAlias": "@instantkom/cli",
7562
7562
  "pluginName": "@instantkom/cli",
7563
7563
  "pluginType": "core",
@@ -7567,7 +7567,7 @@
7567
7567
  "relativePath": [
7568
7568
  "dist",
7569
7569
  "commands",
7570
- "flows",
7570
+ "messages",
7571
7571
  "update.js"
7572
7572
  ]
7573
7573
  },
@@ -11332,7 +11332,7 @@
11332
11332
  "required": true
11333
11333
  }
11334
11334
  },
11335
- "description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only -- the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
11335
+ "description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only; the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
11336
11336
  "flags": {
11337
11337
  "api-key": {
11338
11338
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16352,5 +16352,5 @@
16352
16352
  ]
16353
16353
  }
16354
16354
  },
16355
- "version": "3.131.0"
16355
+ "version": "3.132.0"
16356
16356
  }