@instantkom/cli 3.166.0 → 3.167.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.
@@ -2015,16 +2015,10 @@
2015
2015
  "update.js"
2016
2016
  ]
2017
2017
  },
2018
- "chats:get": {
2018
+ "channels:create": {
2019
2019
  "aliases": [],
2020
- "args": {
2021
- "id": {
2022
- "description": "chat ID",
2023
- "name": "id",
2024
- "required": true
2025
- }
2026
- },
2027
- "description": "Get chat by ID",
2020
+ "args": {},
2021
+ "description": "Create a channel",
2028
2022
  "flags": {
2029
2023
  "api-key": {
2030
2024
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2087,11 +2081,48 @@
2087
2081
  "hasDynamicHelp": false,
2088
2082
  "multiple": false,
2089
2083
  "type": "option"
2084
+ },
2085
+ "name": {
2086
+ "description": "Channel name",
2087
+ "name": "name",
2088
+ "required": true,
2089
+ "hasDynamicHelp": false,
2090
+ "multiple": false,
2091
+ "type": "option"
2092
+ },
2093
+ "gateway-type": {
2094
+ "description": "Gateway type ID",
2095
+ "name": "gateway-type",
2096
+ "required": true,
2097
+ "hasDynamicHelp": false,
2098
+ "multiple": false,
2099
+ "type": "option"
2100
+ },
2101
+ "status": {
2102
+ "description": "Channel lifecycle status",
2103
+ "name": "status",
2104
+ "hasDynamicHelp": false,
2105
+ "multiple": false,
2106
+ "type": "option"
2107
+ },
2108
+ "description": {
2109
+ "description": "Channel description",
2110
+ "name": "description",
2111
+ "hasDynamicHelp": false,
2112
+ "multiple": false,
2113
+ "type": "option"
2114
+ },
2115
+ "data": {
2116
+ "description": "Additional JSON object payload",
2117
+ "name": "data",
2118
+ "hasDynamicHelp": false,
2119
+ "multiple": false,
2120
+ "type": "option"
2090
2121
  }
2091
2122
  },
2092
2123
  "hasDynamicHelp": false,
2093
2124
  "hiddenAliases": [],
2094
- "id": "chats:get",
2125
+ "id": "channels:create",
2095
2126
  "pluginAlias": "@instantkom/cli",
2096
2127
  "pluginName": "@instantkom/cli",
2097
2128
  "pluginType": "core",
@@ -2101,14 +2132,20 @@
2101
2132
  "relativePath": [
2102
2133
  "dist",
2103
2134
  "commands",
2104
- "chats",
2105
- "get.js"
2135
+ "channels",
2136
+ "create.js"
2106
2137
  ]
2107
2138
  },
2108
- "chats:list": {
2139
+ "channels:get": {
2109
2140
  "aliases": [],
2110
- "args": {},
2111
- "description": "List chats",
2141
+ "args": {
2142
+ "id": {
2143
+ "description": "Channel ID",
2144
+ "name": "id",
2145
+ "required": true
2146
+ }
2147
+ },
2148
+ "description": "Get a channel by ID",
2112
2149
  "flags": {
2113
2150
  "api-key": {
2114
2151
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2171,73 +2208,11 @@
2171
2208
  "hasDynamicHelp": false,
2172
2209
  "multiple": false,
2173
2210
  "type": "option"
2174
- },
2175
- "page": {
2176
- "description": "Page number",
2177
- "name": "page",
2178
- "default": 1,
2179
- "hasDynamicHelp": false,
2180
- "multiple": false,
2181
- "type": "option"
2182
- },
2183
- "limit": {
2184
- "description": "Items per page",
2185
- "name": "limit",
2186
- "default": 20,
2187
- "hasDynamicHelp": false,
2188
- "multiple": false,
2189
- "type": "option"
2190
- },
2191
- "channel": {
2192
- "description": "Filter by channel ID",
2193
- "name": "channel",
2194
- "hasDynamicHelp": false,
2195
- "multiple": false,
2196
- "type": "option"
2197
- },
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",
2215
- "hasDynamicHelp": false,
2216
- "multiple": false,
2217
- "options": [
2218
- "all",
2219
- "unread",
2220
- "read",
2221
- "archived"
2222
- ],
2223
- "type": "option"
2224
- },
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",
2234
- "allowNo": false,
2235
- "type": "boolean"
2236
2211
  }
2237
2212
  },
2238
2213
  "hasDynamicHelp": false,
2239
2214
  "hiddenAliases": [],
2240
- "id": "chats:list",
2215
+ "id": "channels:get",
2241
2216
  "pluginAlias": "@instantkom/cli",
2242
2217
  "pluginName": "@instantkom/cli",
2243
2218
  "pluginType": "core",
@@ -2247,20 +2222,20 @@
2247
2222
  "relativePath": [
2248
2223
  "dist",
2249
2224
  "commands",
2250
- "chats",
2251
- "list.js"
2225
+ "channels",
2226
+ "get.js"
2252
2227
  ]
2253
2228
  },
2254
- "chats:reply": {
2229
+ "channels:kpis": {
2255
2230
  "aliases": [],
2256
2231
  "args": {
2257
2232
  "id": {
2258
- "description": "Chat ID",
2233
+ "description": "Optional channel ID; omit for aggregated channel KPIs",
2259
2234
  "name": "id",
2260
- "required": true
2235
+ "required": false
2261
2236
  }
2262
2237
  },
2263
- "description": "Reply in a chat",
2238
+ "description": "Get channel KPIs",
2264
2239
  "flags": {
2265
2240
  "api-key": {
2266
2241
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2324,10 +2299,9 @@
2324
2299
  "multiple": false,
2325
2300
  "type": "option"
2326
2301
  },
2327
- "text": {
2328
- "description": "Reply text",
2329
- "name": "text",
2330
- "required": true,
2302
+ "period": {
2303
+ "description": "KPI period",
2304
+ "name": "period",
2331
2305
  "hasDynamicHelp": false,
2332
2306
  "multiple": false,
2333
2307
  "type": "option"
@@ -2335,7 +2309,7 @@
2335
2309
  },
2336
2310
  "hasDynamicHelp": false,
2337
2311
  "hiddenAliases": [],
2338
- "id": "chats:reply",
2312
+ "id": "channels:kpis",
2339
2313
  "pluginAlias": "@instantkom/cli",
2340
2314
  "pluginName": "@instantkom/cli",
2341
2315
  "pluginType": "core",
@@ -2345,20 +2319,14 @@
2345
2319
  "relativePath": [
2346
2320
  "dist",
2347
2321
  "commands",
2348
- "chats",
2349
- "reply.js"
2322
+ "channels",
2323
+ "kpis.js"
2350
2324
  ]
2351
2325
  },
2352
- "config:get": {
2326
+ "channels:list": {
2353
2327
  "aliases": [],
2354
- "args": {
2355
- "key": {
2356
- "description": "Configuration key to retrieve",
2357
- "name": "key",
2358
- "required": true
2359
- }
2360
- },
2361
- "description": "Get a configuration value for the current profile",
2328
+ "args": {},
2329
+ "description": "List channels",
2362
2330
  "flags": {
2363
2331
  "api-key": {
2364
2332
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2421,11 +2389,48 @@
2421
2389
  "hasDynamicHelp": false,
2422
2390
  "multiple": false,
2423
2391
  "type": "option"
2392
+ },
2393
+ "page": {
2394
+ "description": "Page number",
2395
+ "name": "page",
2396
+ "default": 1,
2397
+ "hasDynamicHelp": false,
2398
+ "multiple": false,
2399
+ "type": "option"
2400
+ },
2401
+ "limit": {
2402
+ "description": "Items per page",
2403
+ "name": "limit",
2404
+ "default": 20,
2405
+ "hasDynamicHelp": false,
2406
+ "multiple": false,
2407
+ "type": "option"
2408
+ },
2409
+ "status": {
2410
+ "description": "Filter by channel status",
2411
+ "name": "status",
2412
+ "hasDynamicHelp": false,
2413
+ "multiple": false,
2414
+ "type": "option"
2415
+ },
2416
+ "gateway-type": {
2417
+ "description": "Filter by gateway type ID",
2418
+ "name": "gateway-type",
2419
+ "hasDynamicHelp": false,
2420
+ "multiple": false,
2421
+ "type": "option"
2422
+ },
2423
+ "search": {
2424
+ "description": "Search by channel name",
2425
+ "name": "search",
2426
+ "hasDynamicHelp": false,
2427
+ "multiple": false,
2428
+ "type": "option"
2424
2429
  }
2425
2430
  },
2426
2431
  "hasDynamicHelp": false,
2427
2432
  "hiddenAliases": [],
2428
- "id": "config:get",
2433
+ "id": "channels:list",
2429
2434
  "pluginAlias": "@instantkom/cli",
2430
2435
  "pluginName": "@instantkom/cli",
2431
2436
  "pluginType": "core",
@@ -2435,25 +2440,20 @@
2435
2440
  "relativePath": [
2436
2441
  "dist",
2437
2442
  "commands",
2438
- "config",
2439
- "get.js"
2443
+ "channels",
2444
+ "list.js"
2440
2445
  ]
2441
2446
  },
2442
- "config:set": {
2447
+ "channels:update": {
2443
2448
  "aliases": [],
2444
2449
  "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",
2450
+ "id": {
2451
+ "description": "Channel ID",
2452
+ "name": "id",
2453
2453
  "required": true
2454
2454
  }
2455
2455
  },
2456
- "description": "Set a configuration value for the current profile",
2456
+ "description": "Update a channel",
2457
2457
  "flags": {
2458
2458
  "api-key": {
2459
2459
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2516,11 +2516,39 @@
2516
2516
  "hasDynamicHelp": false,
2517
2517
  "multiple": false,
2518
2518
  "type": "option"
2519
+ },
2520
+ "name": {
2521
+ "description": "Channel name",
2522
+ "name": "name",
2523
+ "hasDynamicHelp": false,
2524
+ "multiple": false,
2525
+ "type": "option"
2526
+ },
2527
+ "status": {
2528
+ "description": "Channel lifecycle status",
2529
+ "name": "status",
2530
+ "hasDynamicHelp": false,
2531
+ "multiple": false,
2532
+ "type": "option"
2533
+ },
2534
+ "description": {
2535
+ "description": "Channel description",
2536
+ "name": "description",
2537
+ "hasDynamicHelp": false,
2538
+ "multiple": false,
2539
+ "type": "option"
2540
+ },
2541
+ "data": {
2542
+ "description": "Additional JSON object payload",
2543
+ "name": "data",
2544
+ "hasDynamicHelp": false,
2545
+ "multiple": false,
2546
+ "type": "option"
2519
2547
  }
2520
2548
  },
2521
2549
  "hasDynamicHelp": false,
2522
2550
  "hiddenAliases": [],
2523
- "id": "config:set",
2551
+ "id": "channels:update",
2524
2552
  "pluginAlias": "@instantkom/cli",
2525
2553
  "pluginName": "@instantkom/cli",
2526
2554
  "pluginType": "core",
@@ -2530,20 +2558,20 @@
2530
2558
  "relativePath": [
2531
2559
  "dist",
2532
2560
  "commands",
2533
- "config",
2534
- "set.js"
2561
+ "channels",
2562
+ "update.js"
2535
2563
  ]
2536
2564
  },
2537
- "config:unset": {
2565
+ "chats:get": {
2538
2566
  "aliases": [],
2539
2567
  "args": {
2540
- "key": {
2541
- "description": "Configuration key to remove",
2542
- "name": "key",
2568
+ "id": {
2569
+ "description": "chat ID",
2570
+ "name": "id",
2543
2571
  "required": true
2544
2572
  }
2545
2573
  },
2546
- "description": "Remove a configuration key from the current profile",
2574
+ "description": "Get chat by ID",
2547
2575
  "flags": {
2548
2576
  "api-key": {
2549
2577
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2610,7 +2638,7 @@
2610
2638
  },
2611
2639
  "hasDynamicHelp": false,
2612
2640
  "hiddenAliases": [],
2613
- "id": "config:unset",
2641
+ "id": "chats:get",
2614
2642
  "pluginAlias": "@instantkom/cli",
2615
2643
  "pluginName": "@instantkom/cli",
2616
2644
  "pluginType": "core",
@@ -2620,14 +2648,14 @@
2620
2648
  "relativePath": [
2621
2649
  "dist",
2622
2650
  "commands",
2623
- "config",
2624
- "unset.js"
2651
+ "chats",
2652
+ "get.js"
2625
2653
  ]
2626
2654
  },
2627
- "channels:create": {
2655
+ "chats:list": {
2628
2656
  "aliases": [],
2629
2657
  "args": {},
2630
- "description": "Create a channel",
2658
+ "description": "List chats",
2631
2659
  "flags": {
2632
2660
  "api-key": {
2633
2661
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2691,47 +2719,72 @@
2691
2719
  "multiple": false,
2692
2720
  "type": "option"
2693
2721
  },
2694
- "name": {
2695
- "description": "Channel name",
2696
- "name": "name",
2697
- "required": true,
2722
+ "page": {
2723
+ "description": "Page number",
2724
+ "name": "page",
2725
+ "default": 1,
2698
2726
  "hasDynamicHelp": false,
2699
2727
  "multiple": false,
2700
2728
  "type": "option"
2701
2729
  },
2702
- "gateway-type": {
2703
- "description": "Gateway type ID",
2704
- "name": "gateway-type",
2705
- "required": true,
2730
+ "limit": {
2731
+ "description": "Items per page",
2732
+ "name": "limit",
2733
+ "default": 20,
2706
2734
  "hasDynamicHelp": false,
2707
2735
  "multiple": false,
2708
2736
  "type": "option"
2709
2737
  },
2710
- "status": {
2711
- "description": "Channel lifecycle status",
2712
- "name": "status",
2738
+ "channel": {
2739
+ "description": "Filter by channel ID",
2740
+ "name": "channel",
2713
2741
  "hasDynamicHelp": false,
2714
2742
  "multiple": false,
2715
2743
  "type": "option"
2716
2744
  },
2717
- "description": {
2718
- "description": "Channel description",
2719
- "name": "description",
2745
+ "channels": {
2746
+ "description": "Comma-separated channel IDs",
2747
+ "name": "channels",
2720
2748
  "hasDynamicHelp": false,
2721
2749
  "multiple": false,
2722
2750
  "type": "option"
2723
2751
  },
2724
- "data": {
2725
- "description": "Additional JSON object payload",
2726
- "name": "data",
2752
+ "search": {
2753
+ "description": "Search chats",
2754
+ "name": "search",
2755
+ "hasDynamicHelp": false,
2756
+ "multiple": false,
2757
+ "type": "option"
2758
+ },
2759
+ "status": {
2760
+ "description": "Chat status",
2761
+ "name": "status",
2727
2762
  "hasDynamicHelp": false,
2728
2763
  "multiple": false,
2764
+ "options": [
2765
+ "all",
2766
+ "unread",
2767
+ "read",
2768
+ "archived"
2769
+ ],
2729
2770
  "type": "option"
2771
+ },
2772
+ "unread-only": {
2773
+ "description": "Only unread chats",
2774
+ "name": "unread-only",
2775
+ "allowNo": false,
2776
+ "type": "boolean"
2777
+ },
2778
+ "include-archived": {
2779
+ "description": "Include archived chats",
2780
+ "name": "include-archived",
2781
+ "allowNo": false,
2782
+ "type": "boolean"
2730
2783
  }
2731
2784
  },
2732
2785
  "hasDynamicHelp": false,
2733
2786
  "hiddenAliases": [],
2734
- "id": "channels:create",
2787
+ "id": "chats:list",
2735
2788
  "pluginAlias": "@instantkom/cli",
2736
2789
  "pluginName": "@instantkom/cli",
2737
2790
  "pluginType": "core",
@@ -2741,20 +2794,20 @@
2741
2794
  "relativePath": [
2742
2795
  "dist",
2743
2796
  "commands",
2744
- "channels",
2745
- "create.js"
2797
+ "chats",
2798
+ "list.js"
2746
2799
  ]
2747
2800
  },
2748
- "channels:get": {
2801
+ "chats:reply": {
2749
2802
  "aliases": [],
2750
2803
  "args": {
2751
2804
  "id": {
2752
- "description": "Channel ID",
2805
+ "description": "Chat ID",
2753
2806
  "name": "id",
2754
2807
  "required": true
2755
2808
  }
2756
2809
  },
2757
- "description": "Get a channel by ID",
2810
+ "description": "Reply in a chat",
2758
2811
  "flags": {
2759
2812
  "api-key": {
2760
2813
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2817,11 +2870,19 @@
2817
2870
  "hasDynamicHelp": false,
2818
2871
  "multiple": false,
2819
2872
  "type": "option"
2873
+ },
2874
+ "text": {
2875
+ "description": "Reply text",
2876
+ "name": "text",
2877
+ "required": true,
2878
+ "hasDynamicHelp": false,
2879
+ "multiple": false,
2880
+ "type": "option"
2820
2881
  }
2821
2882
  },
2822
2883
  "hasDynamicHelp": false,
2823
2884
  "hiddenAliases": [],
2824
- "id": "channels:get",
2885
+ "id": "chats:reply",
2825
2886
  "pluginAlias": "@instantkom/cli",
2826
2887
  "pluginName": "@instantkom/cli",
2827
2888
  "pluginType": "core",
@@ -2831,20 +2892,20 @@
2831
2892
  "relativePath": [
2832
2893
  "dist",
2833
2894
  "commands",
2834
- "channels",
2835
- "get.js"
2895
+ "chats",
2896
+ "reply.js"
2836
2897
  ]
2837
2898
  },
2838
- "channels:kpis": {
2899
+ "config:get": {
2839
2900
  "aliases": [],
2840
2901
  "args": {
2841
- "id": {
2842
- "description": "Optional channel ID; omit for aggregated channel KPIs",
2843
- "name": "id",
2844
- "required": false
2902
+ "key": {
2903
+ "description": "Configuration key to retrieve",
2904
+ "name": "key",
2905
+ "required": true
2845
2906
  }
2846
2907
  },
2847
- "description": "Get channel KPIs",
2908
+ "description": "Get a configuration value for the current profile",
2848
2909
  "flags": {
2849
2910
  "api-key": {
2850
2911
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2907,18 +2968,11 @@
2907
2968
  "hasDynamicHelp": false,
2908
2969
  "multiple": false,
2909
2970
  "type": "option"
2910
- },
2911
- "period": {
2912
- "description": "KPI period",
2913
- "name": "period",
2914
- "hasDynamicHelp": false,
2915
- "multiple": false,
2916
- "type": "option"
2917
2971
  }
2918
2972
  },
2919
2973
  "hasDynamicHelp": false,
2920
2974
  "hiddenAliases": [],
2921
- "id": "channels:kpis",
2975
+ "id": "config:get",
2922
2976
  "pluginAlias": "@instantkom/cli",
2923
2977
  "pluginName": "@instantkom/cli",
2924
2978
  "pluginType": "core",
@@ -2928,14 +2982,25 @@
2928
2982
  "relativePath": [
2929
2983
  "dist",
2930
2984
  "commands",
2931
- "channels",
2932
- "kpis.js"
2985
+ "config",
2986
+ "get.js"
2933
2987
  ]
2934
2988
  },
2935
- "channels:list": {
2989
+ "config:set": {
2936
2990
  "aliases": [],
2937
- "args": {},
2938
- "description": "List channels",
2991
+ "args": {
2992
+ "key": {
2993
+ "description": "Configuration key to set",
2994
+ "name": "key",
2995
+ "required": true
2996
+ },
2997
+ "value": {
2998
+ "description": "Value to assign",
2999
+ "name": "value",
3000
+ "required": true
3001
+ }
3002
+ },
3003
+ "description": "Set a configuration value for the current profile",
2939
3004
  "flags": {
2940
3005
  "api-key": {
2941
3006
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2998,48 +3063,11 @@
2998
3063
  "hasDynamicHelp": false,
2999
3064
  "multiple": false,
3000
3065
  "type": "option"
3001
- },
3002
- "page": {
3003
- "description": "Page number",
3004
- "name": "page",
3005
- "default": 1,
3006
- "hasDynamicHelp": false,
3007
- "multiple": false,
3008
- "type": "option"
3009
- },
3010
- "limit": {
3011
- "description": "Items per page",
3012
- "name": "limit",
3013
- "default": 20,
3014
- "hasDynamicHelp": false,
3015
- "multiple": false,
3016
- "type": "option"
3017
- },
3018
- "status": {
3019
- "description": "Filter by channel status",
3020
- "name": "status",
3021
- "hasDynamicHelp": false,
3022
- "multiple": false,
3023
- "type": "option"
3024
- },
3025
- "gateway-type": {
3026
- "description": "Filter by gateway type ID",
3027
- "name": "gateway-type",
3028
- "hasDynamicHelp": false,
3029
- "multiple": false,
3030
- "type": "option"
3031
- },
3032
- "search": {
3033
- "description": "Search by channel name",
3034
- "name": "search",
3035
- "hasDynamicHelp": false,
3036
- "multiple": false,
3037
- "type": "option"
3038
3066
  }
3039
3067
  },
3040
3068
  "hasDynamicHelp": false,
3041
3069
  "hiddenAliases": [],
3042
- "id": "channels:list",
3070
+ "id": "config:set",
3043
3071
  "pluginAlias": "@instantkom/cli",
3044
3072
  "pluginName": "@instantkom/cli",
3045
3073
  "pluginType": "core",
@@ -3049,20 +3077,20 @@
3049
3077
  "relativePath": [
3050
3078
  "dist",
3051
3079
  "commands",
3052
- "channels",
3053
- "list.js"
3080
+ "config",
3081
+ "set.js"
3054
3082
  ]
3055
3083
  },
3056
- "channels:update": {
3084
+ "config:unset": {
3057
3085
  "aliases": [],
3058
3086
  "args": {
3059
- "id": {
3060
- "description": "Channel ID",
3061
- "name": "id",
3087
+ "key": {
3088
+ "description": "Configuration key to remove",
3089
+ "name": "key",
3062
3090
  "required": true
3063
3091
  }
3064
3092
  },
3065
- "description": "Update a channel",
3093
+ "description": "Remove a configuration key from the current profile",
3066
3094
  "flags": {
3067
3095
  "api-key": {
3068
3096
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3125,39 +3153,11 @@
3125
3153
  "hasDynamicHelp": false,
3126
3154
  "multiple": false,
3127
3155
  "type": "option"
3128
- },
3129
- "name": {
3130
- "description": "Channel name",
3131
- "name": "name",
3132
- "hasDynamicHelp": false,
3133
- "multiple": false,
3134
- "type": "option"
3135
- },
3136
- "status": {
3137
- "description": "Channel lifecycle status",
3138
- "name": "status",
3139
- "hasDynamicHelp": false,
3140
- "multiple": false,
3141
- "type": "option"
3142
- },
3143
- "description": {
3144
- "description": "Channel description",
3145
- "name": "description",
3146
- "hasDynamicHelp": false,
3147
- "multiple": false,
3148
- "type": "option"
3149
- },
3150
- "data": {
3151
- "description": "Additional JSON object payload",
3152
- "name": "data",
3153
- "hasDynamicHelp": false,
3154
- "multiple": false,
3155
- "type": "option"
3156
3156
  }
3157
3157
  },
3158
3158
  "hasDynamicHelp": false,
3159
3159
  "hiddenAliases": [],
3160
- "id": "channels:update",
3160
+ "id": "config:unset",
3161
3161
  "pluginAlias": "@instantkom/cli",
3162
3162
  "pluginName": "@instantkom/cli",
3163
3163
  "pluginType": "core",
@@ -3167,8 +3167,8 @@
3167
3167
  "relativePath": [
3168
3168
  "dist",
3169
3169
  "commands",
3170
- "channels",
3171
- "update.js"
3170
+ "config",
3171
+ "unset.js"
3172
3172
  ]
3173
3173
  },
3174
3174
  "contacts:create": {
@@ -8150,10 +8150,10 @@
8150
8150
  "update.js"
8151
8151
  ]
8152
8152
  },
8153
- "templates:create": {
8153
+ "team:create": {
8154
8154
  "aliases": [],
8155
8155
  "args": {},
8156
- "description": "Create a message template",
8156
+ "description": "Create a team member",
8157
8157
  "flags": {
8158
8158
  "api-key": {
8159
8159
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8217,78 +8217,62 @@
8217
8217
  "multiple": false,
8218
8218
  "type": "option"
8219
8219
  },
8220
- "channel": {
8221
- "description": "Channel ID",
8222
- "name": "channel",
8220
+ "email": {
8221
+ "description": "Email address",
8222
+ "name": "email",
8223
8223
  "required": true,
8224
8224
  "hasDynamicHelp": false,
8225
8225
  "multiple": false,
8226
8226
  "type": "option"
8227
8227
  },
8228
- "name": {
8229
- "description": "Template name",
8230
- "name": "name",
8228
+ "first-name": {
8229
+ "description": "First name",
8230
+ "name": "first-name",
8231
8231
  "required": true,
8232
8232
  "hasDynamicHelp": false,
8233
8233
  "multiple": false,
8234
8234
  "type": "option"
8235
8235
  },
8236
- "type": {
8237
- "description": "Template type",
8238
- "name": "type",
8239
- "default": "text",
8236
+ "last-name": {
8237
+ "description": "Last name",
8238
+ "name": "last-name",
8239
+ "required": true,
8240
8240
  "hasDynamicHelp": false,
8241
8241
  "multiple": false,
8242
- "options": [
8243
- "text",
8244
- "image",
8245
- "video",
8246
- "document",
8247
- "audio",
8248
- "location",
8249
- "contact",
8250
- "interactive"
8251
- ],
8252
8242
  "type": "option"
8253
8243
  },
8254
- "message": {
8255
- "description": "Template message",
8256
- "name": "message",
8244
+ "password": {
8245
+ "description": "Initial password",
8246
+ "name": "password",
8257
8247
  "required": true,
8258
8248
  "hasDynamicHelp": false,
8259
8249
  "multiple": false,
8260
8250
  "type": "option"
8261
8251
  },
8262
- "color": {
8263
- "description": "Template color as HEX",
8264
- "name": "color",
8252
+ "phone": {
8253
+ "description": "Phone number",
8254
+ "name": "phone",
8265
8255
  "hasDynamicHelp": false,
8266
8256
  "multiple": false,
8267
8257
  "type": "option"
8268
8258
  },
8269
- "status": {
8270
- "description": "Template is active",
8271
- "name": "status",
8272
- "allowNo": true,
8273
- "type": "boolean"
8274
- },
8275
- "whatsapp-language": {
8276
- "description": "WhatsApp template language",
8277
- "name": "whatsapp-language",
8259
+ "company": {
8260
+ "description": "Company name",
8261
+ "name": "company",
8278
8262
  "hasDynamicHelp": false,
8279
8263
  "multiple": false,
8280
8264
  "type": "option"
8281
8265
  },
8282
- "buttons": {
8283
- "description": "Buttons JSON array/object",
8284
- "name": "buttons",
8266
+ "color": {
8267
+ "description": "Color as HEX",
8268
+ "name": "color",
8285
8269
  "hasDynamicHelp": false,
8286
8270
  "multiple": false,
8287
8271
  "type": "option"
8288
8272
  },
8289
- "header-footer": {
8290
- "description": "Header/footer JSON object",
8291
- "name": "header-footer",
8273
+ "folder": {
8274
+ "description": "Object folder ID",
8275
+ "name": "folder",
8292
8276
  "hasDynamicHelp": false,
8293
8277
  "multiple": false,
8294
8278
  "type": "option"
@@ -8303,7 +8287,7 @@
8303
8287
  },
8304
8288
  "hasDynamicHelp": false,
8305
8289
  "hiddenAliases": [],
8306
- "id": "templates:create",
8290
+ "id": "team:create",
8307
8291
  "pluginAlias": "@instantkom/cli",
8308
8292
  "pluginName": "@instantkom/cli",
8309
8293
  "pluginType": "core",
@@ -8313,20 +8297,20 @@
8313
8297
  "relativePath": [
8314
8298
  "dist",
8315
8299
  "commands",
8316
- "templates",
8300
+ "team",
8317
8301
  "create.js"
8318
8302
  ]
8319
8303
  },
8320
- "templates:delete": {
8304
+ "team:delete": {
8321
8305
  "aliases": [],
8322
8306
  "args": {
8323
8307
  "id": {
8324
- "description": "template ID",
8308
+ "description": "Team member ID",
8325
8309
  "name": "id",
8326
8310
  "required": true
8327
8311
  }
8328
8312
  },
8329
- "description": "Delete template",
8313
+ "description": "Delete a team member",
8330
8314
  "flags": {
8331
8315
  "api-key": {
8332
8316
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8393,7 +8377,7 @@
8393
8377
  },
8394
8378
  "hasDynamicHelp": false,
8395
8379
  "hiddenAliases": [],
8396
- "id": "templates:delete",
8380
+ "id": "team:delete",
8397
8381
  "pluginAlias": "@instantkom/cli",
8398
8382
  "pluginName": "@instantkom/cli",
8399
8383
  "pluginType": "core",
@@ -8403,14 +8387,14 @@
8403
8387
  "relativePath": [
8404
8388
  "dist",
8405
8389
  "commands",
8406
- "templates",
8390
+ "team",
8407
8391
  "delete.js"
8408
8392
  ]
8409
8393
  },
8410
- "templates:export": {
8394
+ "team:list": {
8411
8395
  "aliases": [],
8412
8396
  "args": {},
8413
- "description": "Export templates to a file",
8397
+ "description": "List team members",
8414
8398
  "flags": {
8415
8399
  "api-key": {
8416
8400
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8422,14 +8406,17 @@
8422
8406
  "type": "option"
8423
8407
  },
8424
8408
  "format": {
8425
- "description": "Export format",
8409
+ "description": "Output format: text, json, yaml, or table",
8410
+ "helpGroup": "GLOBAL",
8426
8411
  "name": "format",
8427
- "default": "json",
8412
+ "default": "text",
8428
8413
  "hasDynamicHelp": false,
8429
8414
  "multiple": false,
8430
8415
  "options": [
8431
- "csv",
8432
- "json"
8416
+ "text",
8417
+ "json",
8418
+ "yaml",
8419
+ "table"
8433
8420
  ],
8434
8421
  "type": "option"
8435
8422
  },
@@ -8470,26 +8457,11 @@
8470
8457
  "hasDynamicHelp": false,
8471
8458
  "multiple": false,
8472
8459
  "type": "option"
8473
- },
8474
- "file": {
8475
- "description": "Output file path",
8476
- "name": "file",
8477
- "required": true,
8478
- "hasDynamicHelp": false,
8479
- "multiple": false,
8480
- "type": "option"
8481
- },
8482
- "channel": {
8483
- "description": "Filter by channel ID",
8484
- "name": "channel",
8485
- "hasDynamicHelp": false,
8486
- "multiple": false,
8487
- "type": "option"
8488
8460
  }
8489
8461
  },
8490
8462
  "hasDynamicHelp": false,
8491
8463
  "hiddenAliases": [],
8492
- "id": "templates:export",
8464
+ "id": "team:list",
8493
8465
  "pluginAlias": "@instantkom/cli",
8494
8466
  "pluginName": "@instantkom/cli",
8495
8467
  "pluginType": "core",
@@ -8499,20 +8471,14 @@
8499
8471
  "relativePath": [
8500
8472
  "dist",
8501
8473
  "commands",
8502
- "templates",
8503
- "export.js"
8474
+ "team",
8475
+ "list.js"
8504
8476
  ]
8505
8477
  },
8506
- "templates:get": {
8478
+ "templates:create": {
8507
8479
  "aliases": [],
8508
- "args": {
8509
- "id": {
8510
- "description": "Template ID",
8511
- "name": "id",
8512
- "required": true
8513
- }
8514
- },
8515
- "description": "Get a message template by ID",
8480
+ "args": {},
8481
+ "description": "Create a message template",
8516
8482
  "flags": {
8517
8483
  "api-key": {
8518
8484
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8575,11 +8541,94 @@
8575
8541
  "hasDynamicHelp": false,
8576
8542
  "multiple": false,
8577
8543
  "type": "option"
8544
+ },
8545
+ "channel": {
8546
+ "description": "Channel ID",
8547
+ "name": "channel",
8548
+ "required": true,
8549
+ "hasDynamicHelp": false,
8550
+ "multiple": false,
8551
+ "type": "option"
8552
+ },
8553
+ "name": {
8554
+ "description": "Template name",
8555
+ "name": "name",
8556
+ "required": true,
8557
+ "hasDynamicHelp": false,
8558
+ "multiple": false,
8559
+ "type": "option"
8560
+ },
8561
+ "type": {
8562
+ "description": "Template type",
8563
+ "name": "type",
8564
+ "default": "text",
8565
+ "hasDynamicHelp": false,
8566
+ "multiple": false,
8567
+ "options": [
8568
+ "text",
8569
+ "image",
8570
+ "video",
8571
+ "document",
8572
+ "audio",
8573
+ "location",
8574
+ "contact",
8575
+ "interactive"
8576
+ ],
8577
+ "type": "option"
8578
+ },
8579
+ "message": {
8580
+ "description": "Template message",
8581
+ "name": "message",
8582
+ "required": true,
8583
+ "hasDynamicHelp": false,
8584
+ "multiple": false,
8585
+ "type": "option"
8586
+ },
8587
+ "color": {
8588
+ "description": "Template color as HEX",
8589
+ "name": "color",
8590
+ "hasDynamicHelp": false,
8591
+ "multiple": false,
8592
+ "type": "option"
8593
+ },
8594
+ "status": {
8595
+ "description": "Template is active",
8596
+ "name": "status",
8597
+ "allowNo": true,
8598
+ "type": "boolean"
8599
+ },
8600
+ "whatsapp-language": {
8601
+ "description": "WhatsApp template language",
8602
+ "name": "whatsapp-language",
8603
+ "hasDynamicHelp": false,
8604
+ "multiple": false,
8605
+ "type": "option"
8606
+ },
8607
+ "buttons": {
8608
+ "description": "Buttons JSON array/object",
8609
+ "name": "buttons",
8610
+ "hasDynamicHelp": false,
8611
+ "multiple": false,
8612
+ "type": "option"
8613
+ },
8614
+ "header-footer": {
8615
+ "description": "Header/footer JSON object",
8616
+ "name": "header-footer",
8617
+ "hasDynamicHelp": false,
8618
+ "multiple": false,
8619
+ "type": "option"
8620
+ },
8621
+ "data": {
8622
+ "description": "Additional JSON object payload",
8623
+ "name": "data",
8624
+ "hasDynamicHelp": false,
8625
+ "multiple": false,
8626
+ "type": "option"
8578
8627
  }
8579
8628
  },
8580
8629
  "hasDynamicHelp": false,
8581
8630
  "hiddenAliases": [],
8582
- "id": "templates:get",
8631
+ "id": "templates:create",
8583
8632
  "pluginAlias": "@instantkom/cli",
8584
8633
  "pluginName": "@instantkom/cli",
8585
8634
  "pluginType": "core",
@@ -8590,13 +8639,19 @@
8590
8639
  "dist",
8591
8640
  "commands",
8592
8641
  "templates",
8593
- "get.js"
8642
+ "create.js"
8594
8643
  ]
8595
8644
  },
8596
- "templates:import": {
8645
+ "templates:delete": {
8597
8646
  "aliases": [],
8598
- "args": {},
8599
- "description": "Import templates from JSON",
8647
+ "args": {
8648
+ "id": {
8649
+ "description": "template ID",
8650
+ "name": "id",
8651
+ "required": true
8652
+ }
8653
+ },
8654
+ "description": "Delete template",
8600
8655
  "flags": {
8601
8656
  "api-key": {
8602
8657
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8659,33 +8714,11 @@
8659
8714
  "hasDynamicHelp": false,
8660
8715
  "multiple": false,
8661
8716
  "type": "option"
8662
- },
8663
- "file": {
8664
- "description": "JSON file path",
8665
- "name": "file",
8666
- "required": true,
8667
- "hasDynamicHelp": false,
8668
- "multiple": false,
8669
- "type": "option"
8670
- },
8671
- "channel": {
8672
- "description": "Target channel ID",
8673
- "name": "channel",
8674
- "required": true,
8675
- "hasDynamicHelp": false,
8676
- "multiple": false,
8677
- "type": "option"
8678
- },
8679
- "skip-duplicates": {
8680
- "description": "Skip duplicate templates",
8681
- "name": "skip-duplicates",
8682
- "allowNo": true,
8683
- "type": "boolean"
8684
8717
  }
8685
8718
  },
8686
8719
  "hasDynamicHelp": false,
8687
8720
  "hiddenAliases": [],
8688
- "id": "templates:import",
8721
+ "id": "templates:delete",
8689
8722
  "pluginAlias": "@instantkom/cli",
8690
8723
  "pluginName": "@instantkom/cli",
8691
8724
  "pluginType": "core",
@@ -8696,13 +8729,13 @@
8696
8729
  "dist",
8697
8730
  "commands",
8698
8731
  "templates",
8699
- "import.js"
8732
+ "delete.js"
8700
8733
  ]
8701
8734
  },
8702
- "templates:list": {
8735
+ "templates:export": {
8703
8736
  "aliases": [],
8704
8737
  "args": {},
8705
- "description": "List message templates",
8738
+ "description": "Export templates to a file",
8706
8739
  "flags": {
8707
8740
  "api-key": {
8708
8741
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8714,17 +8747,14 @@
8714
8747
  "type": "option"
8715
8748
  },
8716
8749
  "format": {
8717
- "description": "Output format: text, json, yaml, or table",
8718
- "helpGroup": "GLOBAL",
8750
+ "description": "Export format",
8719
8751
  "name": "format",
8720
- "default": "text",
8752
+ "default": "json",
8721
8753
  "hasDynamicHelp": false,
8722
8754
  "multiple": false,
8723
8755
  "options": [
8724
- "text",
8725
- "json",
8726
- "yaml",
8727
- "table"
8756
+ "csv",
8757
+ "json"
8728
8758
  ],
8729
8759
  "type": "option"
8730
8760
  },
@@ -8766,32 +8796,17 @@
8766
8796
  "multiple": false,
8767
8797
  "type": "option"
8768
8798
  },
8769
- "channel": {
8770
- "description": "Filter by channel ID",
8771
- "name": "channel",
8772
- "hasDynamicHelp": false,
8773
- "multiple": false,
8774
- "type": "option"
8775
- },
8776
- "search": {
8777
- "description": "Search templates by name or content",
8778
- "name": "search",
8779
- "hasDynamicHelp": false,
8780
- "multiple": false,
8781
- "type": "option"
8782
- },
8783
- "page": {
8784
- "description": "Page number",
8785
- "name": "page",
8786
- "default": 1,
8799
+ "file": {
8800
+ "description": "Output file path",
8801
+ "name": "file",
8802
+ "required": true,
8787
8803
  "hasDynamicHelp": false,
8788
8804
  "multiple": false,
8789
8805
  "type": "option"
8790
8806
  },
8791
- "limit": {
8792
- "description": "Items per page",
8793
- "name": "limit",
8794
- "default": 20,
8807
+ "channel": {
8808
+ "description": "Filter by channel ID",
8809
+ "name": "channel",
8795
8810
  "hasDynamicHelp": false,
8796
8811
  "multiple": false,
8797
8812
  "type": "option"
@@ -8799,7 +8814,7 @@
8799
8814
  },
8800
8815
  "hasDynamicHelp": false,
8801
8816
  "hiddenAliases": [],
8802
- "id": "templates:list",
8817
+ "id": "templates:export",
8803
8818
  "pluginAlias": "@instantkom/cli",
8804
8819
  "pluginName": "@instantkom/cli",
8805
8820
  "pluginType": "core",
@@ -8810,10 +8825,10 @@
8810
8825
  "dist",
8811
8826
  "commands",
8812
8827
  "templates",
8813
- "list.js"
8828
+ "export.js"
8814
8829
  ]
8815
8830
  },
8816
- "templates:render": {
8831
+ "templates:get": {
8817
8832
  "aliases": [],
8818
8833
  "args": {
8819
8834
  "id": {
@@ -8822,7 +8837,7 @@
8822
8837
  "required": true
8823
8838
  }
8824
8839
  },
8825
- "description": "Render a message template locally",
8840
+ "description": "Get a message template by ID",
8826
8841
  "flags": {
8827
8842
  "api-key": {
8828
8843
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8885,18 +8900,11 @@
8885
8900
  "hasDynamicHelp": false,
8886
8901
  "multiple": false,
8887
8902
  "type": "option"
8888
- },
8889
- "vars": {
8890
- "description": "Template variable as key=value; may be repeated",
8891
- "name": "vars",
8892
- "hasDynamicHelp": false,
8893
- "multiple": true,
8894
- "type": "option"
8895
8903
  }
8896
8904
  },
8897
8905
  "hasDynamicHelp": false,
8898
8906
  "hiddenAliases": [],
8899
- "id": "templates:render",
8907
+ "id": "templates:get",
8900
8908
  "pluginAlias": "@instantkom/cli",
8901
8909
  "pluginName": "@instantkom/cli",
8902
8910
  "pluginType": "core",
@@ -8907,19 +8915,13 @@
8907
8915
  "dist",
8908
8916
  "commands",
8909
8917
  "templates",
8910
- "render.js"
8918
+ "get.js"
8911
8919
  ]
8912
8920
  },
8913
- "templates:update": {
8921
+ "templates:import": {
8914
8922
  "aliases": [],
8915
- "args": {
8916
- "id": {
8917
- "description": "Template ID",
8918
- "name": "id",
8919
- "required": true
8920
- }
8921
- },
8922
- "description": "Update a message template",
8923
+ "args": {},
8924
+ "description": "Import templates from JSON",
8923
8925
  "flags": {
8924
8926
  "api-key": {
8925
8927
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8983,88 +8985,32 @@
8983
8985
  "multiple": false,
8984
8986
  "type": "option"
8985
8987
  },
8986
- "name": {
8987
- "description": "Template name",
8988
- "name": "name",
8989
- "hasDynamicHelp": false,
8990
- "multiple": false,
8991
- "type": "option"
8992
- },
8993
- "type": {
8994
- "description": "Template type",
8995
- "name": "type",
8996
- "hasDynamicHelp": false,
8997
- "multiple": false,
8998
- "options": [
8999
- "text",
9000
- "image",
9001
- "video",
9002
- "document",
9003
- "audio",
9004
- "location",
9005
- "contact",
9006
- "interactive"
9007
- ],
9008
- "type": "option"
9009
- },
9010
- "message": {
9011
- "description": "Template message",
9012
- "name": "message",
8988
+ "file": {
8989
+ "description": "JSON file path",
8990
+ "name": "file",
8991
+ "required": true,
9013
8992
  "hasDynamicHelp": false,
9014
8993
  "multiple": false,
9015
8994
  "type": "option"
9016
8995
  },
9017
- "color": {
9018
- "description": "Template color as HEX",
9019
- "name": "color",
8996
+ "channel": {
8997
+ "description": "Target channel ID",
8998
+ "name": "channel",
8999
+ "required": true,
9020
9000
  "hasDynamicHelp": false,
9021
9001
  "multiple": false,
9022
9002
  "type": "option"
9023
9003
  },
9024
- "status": {
9025
- "description": "Template is active",
9026
- "name": "status",
9004
+ "skip-duplicates": {
9005
+ "description": "Skip duplicate templates",
9006
+ "name": "skip-duplicates",
9027
9007
  "allowNo": true,
9028
9008
  "type": "boolean"
9029
- },
9030
- "remove-media": {
9031
- "description": "Remove existing media",
9032
- "name": "remove-media",
9033
- "allowNo": false,
9034
- "type": "boolean"
9035
- },
9036
- "whatsapp-language": {
9037
- "description": "WhatsApp template language",
9038
- "name": "whatsapp-language",
9039
- "hasDynamicHelp": false,
9040
- "multiple": false,
9041
- "type": "option"
9042
- },
9043
- "buttons": {
9044
- "description": "Buttons JSON array/object",
9045
- "name": "buttons",
9046
- "hasDynamicHelp": false,
9047
- "multiple": false,
9048
- "type": "option"
9049
- },
9050
- "header-footer": {
9051
- "description": "Header/footer JSON object",
9052
- "name": "header-footer",
9053
- "hasDynamicHelp": false,
9054
- "multiple": false,
9055
- "type": "option"
9056
- },
9057
- "data": {
9058
- "description": "Additional JSON object payload",
9059
- "name": "data",
9060
- "hasDynamicHelp": false,
9061
- "multiple": false,
9062
- "type": "option"
9063
9009
  }
9064
9010
  },
9065
9011
  "hasDynamicHelp": false,
9066
9012
  "hiddenAliases": [],
9067
- "id": "templates:update",
9013
+ "id": "templates:import",
9068
9014
  "pluginAlias": "@instantkom/cli",
9069
9015
  "pluginName": "@instantkom/cli",
9070
9016
  "pluginType": "core",
@@ -9075,13 +9021,13 @@
9075
9021
  "dist",
9076
9022
  "commands",
9077
9023
  "templates",
9078
- "update.js"
9024
+ "import.js"
9079
9025
  ]
9080
9026
  },
9081
- "templates:validate-import": {
9027
+ "templates:list": {
9082
9028
  "aliases": [],
9083
9029
  "args": {},
9084
- "description": "Validate templates import JSON",
9030
+ "description": "List message templates",
9085
9031
  "flags": {
9086
9032
  "api-key": {
9087
9033
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9145,18 +9091,32 @@
9145
9091
  "multiple": false,
9146
9092
  "type": "option"
9147
9093
  },
9148
- "file": {
9149
- "description": "JSON file path",
9150
- "name": "file",
9151
- "required": true,
9094
+ "channel": {
9095
+ "description": "Filter by channel ID",
9096
+ "name": "channel",
9152
9097
  "hasDynamicHelp": false,
9153
9098
  "multiple": false,
9154
9099
  "type": "option"
9155
9100
  },
9156
- "channel": {
9157
- "description": "Target channel ID",
9158
- "name": "channel",
9159
- "required": true,
9101
+ "search": {
9102
+ "description": "Search templates by name or content",
9103
+ "name": "search",
9104
+ "hasDynamicHelp": false,
9105
+ "multiple": false,
9106
+ "type": "option"
9107
+ },
9108
+ "page": {
9109
+ "description": "Page number",
9110
+ "name": "page",
9111
+ "default": 1,
9112
+ "hasDynamicHelp": false,
9113
+ "multiple": false,
9114
+ "type": "option"
9115
+ },
9116
+ "limit": {
9117
+ "description": "Items per page",
9118
+ "name": "limit",
9119
+ "default": 20,
9160
9120
  "hasDynamicHelp": false,
9161
9121
  "multiple": false,
9162
9122
  "type": "option"
@@ -9164,7 +9124,7 @@
9164
9124
  },
9165
9125
  "hasDynamicHelp": false,
9166
9126
  "hiddenAliases": [],
9167
- "id": "templates:validate-import",
9127
+ "id": "templates:list",
9168
9128
  "pluginAlias": "@instantkom/cli",
9169
9129
  "pluginName": "@instantkom/cli",
9170
9130
  "pluginType": "core",
@@ -9175,13 +9135,19 @@
9175
9135
  "dist",
9176
9136
  "commands",
9177
9137
  "templates",
9178
- "validate-import.js"
9138
+ "list.js"
9179
9139
  ]
9180
9140
  },
9181
- "tickets:create": {
9141
+ "templates:render": {
9182
9142
  "aliases": [],
9183
- "args": {},
9184
- "description": "Create a ticket",
9143
+ "args": {
9144
+ "id": {
9145
+ "description": "Template ID",
9146
+ "name": "id",
9147
+ "required": true
9148
+ }
9149
+ },
9150
+ "description": "Render a message template locally",
9185
9151
  "flags": {
9186
9152
  "api-key": {
9187
9153
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9245,68 +9211,17 @@
9245
9211
  "multiple": false,
9246
9212
  "type": "option"
9247
9213
  },
9248
- "channel": {
9249
- "description": "Channel ID",
9250
- "name": "channel",
9251
- "required": true,
9252
- "hasDynamicHelp": false,
9253
- "multiple": false,
9254
- "type": "option"
9255
- },
9256
- "subject": {
9257
- "description": "Ticket subject",
9258
- "name": "subject",
9259
- "required": true,
9260
- "hasDynamicHelp": false,
9261
- "multiple": false,
9262
- "type": "option"
9263
- },
9264
- "recipient": {
9265
- "description": "Existing recipient ID",
9266
- "name": "recipient",
9267
- "hasDynamicHelp": false,
9268
- "multiple": false,
9269
- "type": "option"
9270
- },
9271
- "email": {
9272
- "description": "Customer email",
9273
- "name": "email",
9274
- "hasDynamicHelp": false,
9275
- "multiple": false,
9276
- "type": "option"
9277
- },
9278
- "name": {
9279
- "description": "Customer name",
9280
- "name": "name",
9281
- "hasDynamicHelp": false,
9282
- "multiple": false,
9283
- "type": "option"
9284
- },
9285
- "priority": {
9286
- "description": "Ticket priority",
9287
- "name": "priority",
9288
- "hasDynamicHelp": false,
9289
- "multiple": false,
9290
- "type": "option"
9291
- },
9292
- "source": {
9293
- "description": "Ticket source",
9294
- "name": "source",
9295
- "hasDynamicHelp": false,
9296
- "multiple": false,
9297
- "type": "option"
9298
- },
9299
- "data": {
9300
- "description": "Additional JSON object payload",
9301
- "name": "data",
9214
+ "vars": {
9215
+ "description": "Template variable as key=value; may be repeated",
9216
+ "name": "vars",
9302
9217
  "hasDynamicHelp": false,
9303
- "multiple": false,
9218
+ "multiple": true,
9304
9219
  "type": "option"
9305
9220
  }
9306
9221
  },
9307
9222
  "hasDynamicHelp": false,
9308
9223
  "hiddenAliases": [],
9309
- "id": "tickets:create",
9224
+ "id": "templates:render",
9310
9225
  "pluginAlias": "@instantkom/cli",
9311
9226
  "pluginName": "@instantkom/cli",
9312
9227
  "pluginType": "core",
@@ -9316,20 +9231,20 @@
9316
9231
  "relativePath": [
9317
9232
  "dist",
9318
9233
  "commands",
9319
- "tickets",
9320
- "create.js"
9234
+ "templates",
9235
+ "render.js"
9321
9236
  ]
9322
9237
  },
9323
- "tickets:delete": {
9238
+ "templates:update": {
9324
9239
  "aliases": [],
9325
9240
  "args": {
9326
9241
  "id": {
9327
- "description": "Ticket ID",
9242
+ "description": "Template ID",
9328
9243
  "name": "id",
9329
9244
  "required": true
9330
9245
  }
9331
9246
  },
9332
- "description": "Delete a ticket",
9247
+ "description": "Update a message template",
9333
9248
  "flags": {
9334
9249
  "api-key": {
9335
9250
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9393,10 +9308,80 @@
9393
9308
  "multiple": false,
9394
9309
  "type": "option"
9395
9310
  },
9396
- "channel": {
9397
- "description": "Channel ID",
9398
- "name": "channel",
9399
- "required": true,
9311
+ "name": {
9312
+ "description": "Template name",
9313
+ "name": "name",
9314
+ "hasDynamicHelp": false,
9315
+ "multiple": false,
9316
+ "type": "option"
9317
+ },
9318
+ "type": {
9319
+ "description": "Template type",
9320
+ "name": "type",
9321
+ "hasDynamicHelp": false,
9322
+ "multiple": false,
9323
+ "options": [
9324
+ "text",
9325
+ "image",
9326
+ "video",
9327
+ "document",
9328
+ "audio",
9329
+ "location",
9330
+ "contact",
9331
+ "interactive"
9332
+ ],
9333
+ "type": "option"
9334
+ },
9335
+ "message": {
9336
+ "description": "Template message",
9337
+ "name": "message",
9338
+ "hasDynamicHelp": false,
9339
+ "multiple": false,
9340
+ "type": "option"
9341
+ },
9342
+ "color": {
9343
+ "description": "Template color as HEX",
9344
+ "name": "color",
9345
+ "hasDynamicHelp": false,
9346
+ "multiple": false,
9347
+ "type": "option"
9348
+ },
9349
+ "status": {
9350
+ "description": "Template is active",
9351
+ "name": "status",
9352
+ "allowNo": true,
9353
+ "type": "boolean"
9354
+ },
9355
+ "remove-media": {
9356
+ "description": "Remove existing media",
9357
+ "name": "remove-media",
9358
+ "allowNo": false,
9359
+ "type": "boolean"
9360
+ },
9361
+ "whatsapp-language": {
9362
+ "description": "WhatsApp template language",
9363
+ "name": "whatsapp-language",
9364
+ "hasDynamicHelp": false,
9365
+ "multiple": false,
9366
+ "type": "option"
9367
+ },
9368
+ "buttons": {
9369
+ "description": "Buttons JSON array/object",
9370
+ "name": "buttons",
9371
+ "hasDynamicHelp": false,
9372
+ "multiple": false,
9373
+ "type": "option"
9374
+ },
9375
+ "header-footer": {
9376
+ "description": "Header/footer JSON object",
9377
+ "name": "header-footer",
9378
+ "hasDynamicHelp": false,
9379
+ "multiple": false,
9380
+ "type": "option"
9381
+ },
9382
+ "data": {
9383
+ "description": "Additional JSON object payload",
9384
+ "name": "data",
9400
9385
  "hasDynamicHelp": false,
9401
9386
  "multiple": false,
9402
9387
  "type": "option"
@@ -9404,7 +9389,7 @@
9404
9389
  },
9405
9390
  "hasDynamicHelp": false,
9406
9391
  "hiddenAliases": [],
9407
- "id": "tickets:delete",
9392
+ "id": "templates:update",
9408
9393
  "pluginAlias": "@instantkom/cli",
9409
9394
  "pluginName": "@instantkom/cli",
9410
9395
  "pluginType": "core",
@@ -9414,20 +9399,14 @@
9414
9399
  "relativePath": [
9415
9400
  "dist",
9416
9401
  "commands",
9417
- "tickets",
9418
- "delete.js"
9402
+ "templates",
9403
+ "update.js"
9419
9404
  ]
9420
9405
  },
9421
- "tickets:get": {
9406
+ "templates:validate-import": {
9422
9407
  "aliases": [],
9423
- "args": {
9424
- "id": {
9425
- "description": "Ticket ID",
9426
- "name": "id",
9427
- "required": true
9428
- }
9429
- },
9430
- "description": "Get a ticket by ID",
9408
+ "args": {},
9409
+ "description": "Validate templates import JSON",
9431
9410
  "flags": {
9432
9411
  "api-key": {
9433
9412
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9491,8 +9470,16 @@
9491
9470
  "multiple": false,
9492
9471
  "type": "option"
9493
9472
  },
9473
+ "file": {
9474
+ "description": "JSON file path",
9475
+ "name": "file",
9476
+ "required": true,
9477
+ "hasDynamicHelp": false,
9478
+ "multiple": false,
9479
+ "type": "option"
9480
+ },
9494
9481
  "channel": {
9495
- "description": "Channel ID",
9482
+ "description": "Target channel ID",
9496
9483
  "name": "channel",
9497
9484
  "required": true,
9498
9485
  "hasDynamicHelp": false,
@@ -9502,7 +9489,7 @@
9502
9489
  },
9503
9490
  "hasDynamicHelp": false,
9504
9491
  "hiddenAliases": [],
9505
- "id": "tickets:get",
9492
+ "id": "templates:validate-import",
9506
9493
  "pluginAlias": "@instantkom/cli",
9507
9494
  "pluginName": "@instantkom/cli",
9508
9495
  "pluginType": "core",
@@ -9512,14 +9499,14 @@
9512
9499
  "relativePath": [
9513
9500
  "dist",
9514
9501
  "commands",
9515
- "tickets",
9516
- "get.js"
9502
+ "templates",
9503
+ "validate-import.js"
9517
9504
  ]
9518
9505
  },
9519
- "tickets:list": {
9506
+ "tickets:create": {
9520
9507
  "aliases": [],
9521
9508
  "args": {},
9522
- "description": "List tickets for a channel",
9509
+ "description": "Create a ticket",
9523
9510
  "flags": {
9524
9511
  "api-key": {
9525
9512
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9591,18 +9578,52 @@
9591
9578
  "multiple": false,
9592
9579
  "type": "option"
9593
9580
  },
9594
- "limit": {
9595
- "description": "Maximum tickets to return",
9596
- "name": "limit",
9597
- "default": 500,
9581
+ "subject": {
9582
+ "description": "Ticket subject",
9583
+ "name": "subject",
9584
+ "required": true,
9598
9585
  "hasDynamicHelp": false,
9599
9586
  "multiple": false,
9600
9587
  "type": "option"
9601
9588
  },
9602
- "offset": {
9603
- "description": "Number of tickets to skip",
9604
- "name": "offset",
9605
- "default": 0,
9589
+ "recipient": {
9590
+ "description": "Existing recipient ID",
9591
+ "name": "recipient",
9592
+ "hasDynamicHelp": false,
9593
+ "multiple": false,
9594
+ "type": "option"
9595
+ },
9596
+ "email": {
9597
+ "description": "Customer email",
9598
+ "name": "email",
9599
+ "hasDynamicHelp": false,
9600
+ "multiple": false,
9601
+ "type": "option"
9602
+ },
9603
+ "name": {
9604
+ "description": "Customer name",
9605
+ "name": "name",
9606
+ "hasDynamicHelp": false,
9607
+ "multiple": false,
9608
+ "type": "option"
9609
+ },
9610
+ "priority": {
9611
+ "description": "Ticket priority",
9612
+ "name": "priority",
9613
+ "hasDynamicHelp": false,
9614
+ "multiple": false,
9615
+ "type": "option"
9616
+ },
9617
+ "source": {
9618
+ "description": "Ticket source",
9619
+ "name": "source",
9620
+ "hasDynamicHelp": false,
9621
+ "multiple": false,
9622
+ "type": "option"
9623
+ },
9624
+ "data": {
9625
+ "description": "Additional JSON object payload",
9626
+ "name": "data",
9606
9627
  "hasDynamicHelp": false,
9607
9628
  "multiple": false,
9608
9629
  "type": "option"
@@ -9610,7 +9631,7 @@
9610
9631
  },
9611
9632
  "hasDynamicHelp": false,
9612
9633
  "hiddenAliases": [],
9613
- "id": "tickets:list",
9634
+ "id": "tickets:create",
9614
9635
  "pluginAlias": "@instantkom/cli",
9615
9636
  "pluginName": "@instantkom/cli",
9616
9637
  "pluginType": "core",
@@ -9621,10 +9642,10 @@
9621
9642
  "dist",
9622
9643
  "commands",
9623
9644
  "tickets",
9624
- "list.js"
9645
+ "create.js"
9625
9646
  ]
9626
9647
  },
9627
- "tickets:reply": {
9648
+ "tickets:delete": {
9628
9649
  "aliases": [],
9629
9650
  "args": {
9630
9651
  "id": {
@@ -9633,7 +9654,7 @@
9633
9654
  "required": true
9634
9655
  }
9635
9656
  },
9636
- "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.",
9657
+ "description": "Delete a ticket",
9637
9658
  "flags": {
9638
9659
  "api-key": {
9639
9660
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9697,24 +9718,18 @@
9697
9718
  "multiple": false,
9698
9719
  "type": "option"
9699
9720
  },
9700
- "message": {
9701
- "description": "Reply body (raw text, no salutation or sign-off)",
9702
- "name": "message",
9721
+ "channel": {
9722
+ "description": "Channel ID",
9723
+ "name": "channel",
9703
9724
  "required": true,
9704
9725
  "hasDynamicHelp": false,
9705
9726
  "multiple": false,
9706
9727
  "type": "option"
9707
- },
9708
- "close": {
9709
- "description": "Close the ticket after sending the reply",
9710
- "name": "close",
9711
- "allowNo": false,
9712
- "type": "boolean"
9713
9728
  }
9714
9729
  },
9715
9730
  "hasDynamicHelp": false,
9716
9731
  "hiddenAliases": [],
9717
- "id": "tickets:reply",
9732
+ "id": "tickets:delete",
9718
9733
  "pluginAlias": "@instantkom/cli",
9719
9734
  "pluginName": "@instantkom/cli",
9720
9735
  "pluginType": "core",
@@ -9725,10 +9740,10 @@
9725
9740
  "dist",
9726
9741
  "commands",
9727
9742
  "tickets",
9728
- "reply.js"
9743
+ "delete.js"
9729
9744
  ]
9730
9745
  },
9731
- "tickets:update": {
9746
+ "tickets:get": {
9732
9747
  "aliases": [],
9733
9748
  "args": {
9734
9749
  "id": {
@@ -9737,7 +9752,7 @@
9737
9752
  "required": true
9738
9753
  }
9739
9754
  },
9740
- "description": "Update a ticket",
9755
+ "description": "Get a ticket by ID",
9741
9756
  "flags": {
9742
9757
  "api-key": {
9743
9758
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9808,52 +9823,11 @@
9808
9823
  "hasDynamicHelp": false,
9809
9824
  "multiple": false,
9810
9825
  "type": "option"
9811
- },
9812
- "subject": {
9813
- "description": "Ticket subject",
9814
- "name": "subject",
9815
- "hasDynamicHelp": false,
9816
- "multiple": false,
9817
- "type": "option"
9818
- },
9819
- "priority": {
9820
- "description": "Ticket priority",
9821
- "name": "priority",
9822
- "hasDynamicHelp": false,
9823
- "multiple": false,
9824
- "type": "option"
9825
- },
9826
- "status": {
9827
- "description": "Ticket status",
9828
- "name": "status",
9829
- "hasDynamicHelp": false,
9830
- "multiple": false,
9831
- "type": "option"
9832
- },
9833
- "assigned-to": {
9834
- "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
9835
- "name": "assigned-to",
9836
- "hasDynamicHelp": false,
9837
- "multiple": false,
9838
- "type": "option"
9839
- },
9840
- "notify": {
9841
- "description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
9842
- "name": "notify",
9843
- "allowNo": true,
9844
- "type": "boolean"
9845
- },
9846
- "data": {
9847
- "description": "Additional JSON object payload",
9848
- "name": "data",
9849
- "hasDynamicHelp": false,
9850
- "multiple": false,
9851
- "type": "option"
9852
9826
  }
9853
9827
  },
9854
9828
  "hasDynamicHelp": false,
9855
9829
  "hiddenAliases": [],
9856
- "id": "tickets:update",
9830
+ "id": "tickets:get",
9857
9831
  "pluginAlias": "@instantkom/cli",
9858
9832
  "pluginName": "@instantkom/cli",
9859
9833
  "pluginType": "core",
@@ -9864,13 +9838,13 @@
9864
9838
  "dist",
9865
9839
  "commands",
9866
9840
  "tickets",
9867
- "update.js"
9841
+ "get.js"
9868
9842
  ]
9869
9843
  },
9870
- "webhooks:add": {
9844
+ "tickets:list": {
9871
9845
  "aliases": [],
9872
9846
  "args": {},
9873
- "description": "Add a webhook subscription",
9847
+ "description": "List tickets for a channel",
9874
9848
  "flags": {
9875
9849
  "api-key": {
9876
9850
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9934,25 +9908,26 @@
9934
9908
  "multiple": false,
9935
9909
  "type": "option"
9936
9910
  },
9937
- "event": {
9938
- "description": "Webhook event to subscribe to",
9939
- "name": "event",
9940
- "required": true,
9911
+ "channel": {
9912
+ "description": "Channel ID",
9913
+ "name": "channel",
9914
+ "required": true,
9915
+ "hasDynamicHelp": false,
9916
+ "multiple": false,
9917
+ "type": "option"
9918
+ },
9919
+ "limit": {
9920
+ "description": "Maximum tickets to return",
9921
+ "name": "limit",
9922
+ "default": 500,
9941
9923
  "hasDynamicHelp": false,
9942
9924
  "multiple": false,
9943
- "options": [
9944
- "new_contact",
9945
- "new_message",
9946
- "broadcast_sent",
9947
- "contact_updated",
9948
- "contact_opted_out"
9949
- ],
9950
9925
  "type": "option"
9951
9926
  },
9952
- "url": {
9953
- "description": "HTTPS target URL that receives webhook POSTs",
9954
- "name": "url",
9955
- "required": true,
9927
+ "offset": {
9928
+ "description": "Number of tickets to skip",
9929
+ "name": "offset",
9930
+ "default": 0,
9956
9931
  "hasDynamicHelp": false,
9957
9932
  "multiple": false,
9958
9933
  "type": "option"
@@ -9960,7 +9935,7 @@
9960
9935
  },
9961
9936
  "hasDynamicHelp": false,
9962
9937
  "hiddenAliases": [],
9963
- "id": "webhooks:add",
9938
+ "id": "tickets:list",
9964
9939
  "pluginAlias": "@instantkom/cli",
9965
9940
  "pluginName": "@instantkom/cli",
9966
9941
  "pluginType": "core",
@@ -9970,14 +9945,20 @@
9970
9945
  "relativePath": [
9971
9946
  "dist",
9972
9947
  "commands",
9973
- "webhooks",
9974
- "add.js"
9948
+ "tickets",
9949
+ "list.js"
9975
9950
  ]
9976
9951
  },
9977
- "webhooks:events": {
9952
+ "tickets:reply": {
9978
9953
  "aliases": [],
9979
- "args": {},
9980
- "description": "List supported webhook event names",
9954
+ "args": {
9955
+ "id": {
9956
+ "description": "Ticket ID",
9957
+ "name": "id",
9958
+ "required": true
9959
+ }
9960
+ },
9961
+ "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.",
9981
9962
  "flags": {
9982
9963
  "api-key": {
9983
9964
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10040,11 +10021,25 @@
10040
10021
  "hasDynamicHelp": false,
10041
10022
  "multiple": false,
10042
10023
  "type": "option"
10024
+ },
10025
+ "message": {
10026
+ "description": "Reply body (raw text, no salutation or sign-off)",
10027
+ "name": "message",
10028
+ "required": true,
10029
+ "hasDynamicHelp": false,
10030
+ "multiple": false,
10031
+ "type": "option"
10032
+ },
10033
+ "close": {
10034
+ "description": "Close the ticket after sending the reply",
10035
+ "name": "close",
10036
+ "allowNo": false,
10037
+ "type": "boolean"
10043
10038
  }
10044
10039
  },
10045
10040
  "hasDynamicHelp": false,
10046
10041
  "hiddenAliases": [],
10047
- "id": "webhooks:events",
10042
+ "id": "tickets:reply",
10048
10043
  "pluginAlias": "@instantkom/cli",
10049
10044
  "pluginName": "@instantkom/cli",
10050
10045
  "pluginType": "core",
@@ -10054,14 +10049,20 @@
10054
10049
  "relativePath": [
10055
10050
  "dist",
10056
10051
  "commands",
10057
- "webhooks",
10058
- "events.js"
10052
+ "tickets",
10053
+ "reply.js"
10059
10054
  ]
10060
10055
  },
10061
- "webhooks:list": {
10056
+ "tickets:update": {
10062
10057
  "aliases": [],
10063
- "args": {},
10064
- "description": "List webhook subscriptions",
10058
+ "args": {
10059
+ "id": {
10060
+ "description": "Ticket ID",
10061
+ "name": "id",
10062
+ "required": true
10063
+ }
10064
+ },
10065
+ "description": "Update a ticket",
10065
10066
  "flags": {
10066
10067
  "api-key": {
10067
10068
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10124,11 +10125,60 @@
10124
10125
  "hasDynamicHelp": false,
10125
10126
  "multiple": false,
10126
10127
  "type": "option"
10128
+ },
10129
+ "channel": {
10130
+ "description": "Channel ID",
10131
+ "name": "channel",
10132
+ "required": true,
10133
+ "hasDynamicHelp": false,
10134
+ "multiple": false,
10135
+ "type": "option"
10136
+ },
10137
+ "subject": {
10138
+ "description": "Ticket subject",
10139
+ "name": "subject",
10140
+ "hasDynamicHelp": false,
10141
+ "multiple": false,
10142
+ "type": "option"
10143
+ },
10144
+ "priority": {
10145
+ "description": "Ticket priority",
10146
+ "name": "priority",
10147
+ "hasDynamicHelp": false,
10148
+ "multiple": false,
10149
+ "type": "option"
10150
+ },
10151
+ "status": {
10152
+ "description": "Ticket status",
10153
+ "name": "status",
10154
+ "hasDynamicHelp": false,
10155
+ "multiple": false,
10156
+ "type": "option"
10157
+ },
10158
+ "assigned-to": {
10159
+ "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
10160
+ "name": "assigned-to",
10161
+ "hasDynamicHelp": false,
10162
+ "multiple": false,
10163
+ "type": "option"
10164
+ },
10165
+ "notify": {
10166
+ "description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
10167
+ "name": "notify",
10168
+ "allowNo": true,
10169
+ "type": "boolean"
10170
+ },
10171
+ "data": {
10172
+ "description": "Additional JSON object payload",
10173
+ "name": "data",
10174
+ "hasDynamicHelp": false,
10175
+ "multiple": false,
10176
+ "type": "option"
10127
10177
  }
10128
10178
  },
10129
10179
  "hasDynamicHelp": false,
10130
10180
  "hiddenAliases": [],
10131
- "id": "webhooks:list",
10181
+ "id": "tickets:update",
10132
10182
  "pluginAlias": "@instantkom/cli",
10133
10183
  "pluginName": "@instantkom/cli",
10134
10184
  "pluginType": "core",
@@ -10138,14 +10188,14 @@
10138
10188
  "relativePath": [
10139
10189
  "dist",
10140
10190
  "commands",
10141
- "webhooks",
10142
- "list.js"
10191
+ "tickets",
10192
+ "update.js"
10143
10193
  ]
10144
10194
  },
10145
- "webhooks:logs": {
10195
+ "webhooks:add": {
10146
10196
  "aliases": [],
10147
10197
  "args": {},
10148
- "description": "Explain webhook log availability",
10198
+ "description": "Add a webhook subscription",
10149
10199
  "flags": {
10150
10200
  "api-key": {
10151
10201
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10208,11 +10258,34 @@
10208
10258
  "hasDynamicHelp": false,
10209
10259
  "multiple": false,
10210
10260
  "type": "option"
10261
+ },
10262
+ "event": {
10263
+ "description": "Webhook event to subscribe to",
10264
+ "name": "event",
10265
+ "required": true,
10266
+ "hasDynamicHelp": false,
10267
+ "multiple": false,
10268
+ "options": [
10269
+ "new_contact",
10270
+ "new_message",
10271
+ "broadcast_sent",
10272
+ "contact_updated",
10273
+ "contact_opted_out"
10274
+ ],
10275
+ "type": "option"
10276
+ },
10277
+ "url": {
10278
+ "description": "HTTPS target URL that receives webhook POSTs",
10279
+ "name": "url",
10280
+ "required": true,
10281
+ "hasDynamicHelp": false,
10282
+ "multiple": false,
10283
+ "type": "option"
10211
10284
  }
10212
10285
  },
10213
10286
  "hasDynamicHelp": false,
10214
10287
  "hiddenAliases": [],
10215
- "id": "webhooks:logs",
10288
+ "id": "webhooks:add",
10216
10289
  "pluginAlias": "@instantkom/cli",
10217
10290
  "pluginName": "@instantkom/cli",
10218
10291
  "pluginType": "core",
@@ -10223,19 +10296,13 @@
10223
10296
  "dist",
10224
10297
  "commands",
10225
10298
  "webhooks",
10226
- "logs.js"
10299
+ "add.js"
10227
10300
  ]
10228
10301
  },
10229
- "webhooks:remove": {
10302
+ "webhooks:events": {
10230
10303
  "aliases": [],
10231
- "args": {
10232
- "id": {
10233
- "description": "Webhook subscription ID",
10234
- "name": "id",
10235
- "required": true
10236
- }
10237
- },
10238
- "description": "Remove a webhook subscription",
10304
+ "args": {},
10305
+ "description": "List supported webhook event names",
10239
10306
  "flags": {
10240
10307
  "api-key": {
10241
10308
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10302,7 +10369,7 @@
10302
10369
  },
10303
10370
  "hasDynamicHelp": false,
10304
10371
  "hiddenAliases": [],
10305
- "id": "webhooks:remove",
10372
+ "id": "webhooks:events",
10306
10373
  "pluginAlias": "@instantkom/cli",
10307
10374
  "pluginName": "@instantkom/cli",
10308
10375
  "pluginType": "core",
@@ -10313,13 +10380,13 @@
10313
10380
  "dist",
10314
10381
  "commands",
10315
10382
  "webhooks",
10316
- "remove.js"
10383
+ "events.js"
10317
10384
  ]
10318
10385
  },
10319
- "webhooks:test": {
10386
+ "webhooks:list": {
10320
10387
  "aliases": [],
10321
10388
  "args": {},
10322
- "description": "Send a test webhook payload to a URL",
10389
+ "description": "List webhook subscriptions",
10323
10390
  "flags": {
10324
10391
  "api-key": {
10325
10392
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10382,34 +10449,11 @@
10382
10449
  "hasDynamicHelp": false,
10383
10450
  "multiple": false,
10384
10451
  "type": "option"
10385
- },
10386
- "url": {
10387
- "description": "Webhook URL to call",
10388
- "name": "url",
10389
- "required": true,
10390
- "hasDynamicHelp": false,
10391
- "multiple": false,
10392
- "type": "option"
10393
- },
10394
- "event": {
10395
- "description": "Event name",
10396
- "name": "event",
10397
- "default": "cli.test",
10398
- "hasDynamicHelp": false,
10399
- "multiple": false,
10400
- "type": "option"
10401
- },
10402
- "payload": {
10403
- "description": "Payload JSON",
10404
- "name": "payload",
10405
- "hasDynamicHelp": false,
10406
- "multiple": false,
10407
- "type": "option"
10408
10452
  }
10409
10453
  },
10410
10454
  "hasDynamicHelp": false,
10411
10455
  "hiddenAliases": [],
10412
- "id": "webhooks:test",
10456
+ "id": "webhooks:list",
10413
10457
  "pluginAlias": "@instantkom/cli",
10414
10458
  "pluginName": "@instantkom/cli",
10415
10459
  "pluginType": "core",
@@ -10420,13 +10464,13 @@
10420
10464
  "dist",
10421
10465
  "commands",
10422
10466
  "webhooks",
10423
- "test.js"
10467
+ "list.js"
10424
10468
  ]
10425
10469
  },
10426
- "tags:create": {
10470
+ "webhooks:logs": {
10427
10471
  "aliases": [],
10428
10472
  "args": {},
10429
- "description": "Create a tag",
10473
+ "description": "Explain webhook log availability",
10430
10474
  "flags": {
10431
10475
  "api-key": {
10432
10476
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10471,57 +10515,21 @@
10471
10515
  "helpGroup": "GLOBAL",
10472
10516
  "name": "no-color",
10473
10517
  "allowNo": false,
10474
- "type": "boolean"
10475
- },
10476
- "profile": {
10477
- "description": "Named configuration profile to use",
10478
- "helpGroup": "GLOBAL",
10479
- "name": "profile",
10480
- "default": "default",
10481
- "hasDynamicHelp": false,
10482
- "multiple": false,
10483
- "type": "option"
10484
- },
10485
- "api-url": {
10486
- "description": "Override the API base URL (e.g. for staging)",
10487
- "helpGroup": "GLOBAL",
10488
- "name": "api-url",
10489
- "hasDynamicHelp": false,
10490
- "multiple": false,
10491
- "type": "option"
10492
- },
10493
- "name": {
10494
- "description": "Tag name",
10495
- "name": "name",
10496
- "required": true,
10497
- "hasDynamicHelp": false,
10498
- "multiple": false,
10499
- "type": "option"
10500
- },
10501
- "description": {
10502
- "description": "Tag description",
10503
- "name": "description",
10504
- "hasDynamicHelp": false,
10505
- "multiple": false,
10506
- "type": "option"
10507
- },
10508
- "color": {
10509
- "description": "Tag color as HEX",
10510
- "name": "color",
10511
- "hasDynamicHelp": false,
10512
- "multiple": false,
10513
- "type": "option"
10514
- },
10515
- "folder": {
10516
- "description": "Object folder ID",
10517
- "name": "folder",
10518
+ "type": "boolean"
10519
+ },
10520
+ "profile": {
10521
+ "description": "Named configuration profile to use",
10522
+ "helpGroup": "GLOBAL",
10523
+ "name": "profile",
10524
+ "default": "default",
10518
10525
  "hasDynamicHelp": false,
10519
10526
  "multiple": false,
10520
10527
  "type": "option"
10521
10528
  },
10522
- "data": {
10523
- "description": "Additional JSON object payload",
10524
- "name": "data",
10529
+ "api-url": {
10530
+ "description": "Override the API base URL (e.g. for staging)",
10531
+ "helpGroup": "GLOBAL",
10532
+ "name": "api-url",
10525
10533
  "hasDynamicHelp": false,
10526
10534
  "multiple": false,
10527
10535
  "type": "option"
@@ -10529,7 +10537,7 @@
10529
10537
  },
10530
10538
  "hasDynamicHelp": false,
10531
10539
  "hiddenAliases": [],
10532
- "id": "tags:create",
10540
+ "id": "webhooks:logs",
10533
10541
  "pluginAlias": "@instantkom/cli",
10534
10542
  "pluginName": "@instantkom/cli",
10535
10543
  "pluginType": "core",
@@ -10539,20 +10547,20 @@
10539
10547
  "relativePath": [
10540
10548
  "dist",
10541
10549
  "commands",
10542
- "tags",
10543
- "create.js"
10550
+ "webhooks",
10551
+ "logs.js"
10544
10552
  ]
10545
10553
  },
10546
- "tags:delete": {
10554
+ "webhooks:remove": {
10547
10555
  "aliases": [],
10548
10556
  "args": {
10549
10557
  "id": {
10550
- "description": "tag ID",
10558
+ "description": "Webhook subscription ID",
10551
10559
  "name": "id",
10552
10560
  "required": true
10553
10561
  }
10554
10562
  },
10555
- "description": "Delete tag",
10563
+ "description": "Remove a webhook subscription",
10556
10564
  "flags": {
10557
10565
  "api-key": {
10558
10566
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10619,7 +10627,7 @@
10619
10627
  },
10620
10628
  "hasDynamicHelp": false,
10621
10629
  "hiddenAliases": [],
10622
- "id": "tags:delete",
10630
+ "id": "webhooks:remove",
10623
10631
  "pluginAlias": "@instantkom/cli",
10624
10632
  "pluginName": "@instantkom/cli",
10625
10633
  "pluginType": "core",
@@ -10629,14 +10637,14 @@
10629
10637
  "relativePath": [
10630
10638
  "dist",
10631
10639
  "commands",
10632
- "tags",
10633
- "delete.js"
10640
+ "webhooks",
10641
+ "remove.js"
10634
10642
  ]
10635
10643
  },
10636
- "tags:export": {
10644
+ "webhooks:test": {
10637
10645
  "aliases": [],
10638
10646
  "args": {},
10639
- "description": "Export tags to a file",
10647
+ "description": "Send a test webhook payload to a URL",
10640
10648
  "flags": {
10641
10649
  "api-key": {
10642
10650
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10648,14 +10656,17 @@
10648
10656
  "type": "option"
10649
10657
  },
10650
10658
  "format": {
10651
- "description": "Export format",
10659
+ "description": "Output format: text, json, yaml, or table",
10660
+ "helpGroup": "GLOBAL",
10652
10661
  "name": "format",
10653
- "default": "csv",
10662
+ "default": "text",
10654
10663
  "hasDynamicHelp": false,
10655
10664
  "multiple": false,
10656
10665
  "options": [
10657
- "csv",
10658
- "json"
10666
+ "text",
10667
+ "json",
10668
+ "yaml",
10669
+ "table"
10659
10670
  ],
10660
10671
  "type": "option"
10661
10672
  },
@@ -10697,18 +10708,33 @@
10697
10708
  "multiple": false,
10698
10709
  "type": "option"
10699
10710
  },
10700
- "file": {
10701
- "description": "Output file path",
10702
- "name": "file",
10711
+ "url": {
10712
+ "description": "Webhook URL to call",
10713
+ "name": "url",
10703
10714
  "required": true,
10704
10715
  "hasDynamicHelp": false,
10705
10716
  "multiple": false,
10706
10717
  "type": "option"
10718
+ },
10719
+ "event": {
10720
+ "description": "Event name",
10721
+ "name": "event",
10722
+ "default": "cli.test",
10723
+ "hasDynamicHelp": false,
10724
+ "multiple": false,
10725
+ "type": "option"
10726
+ },
10727
+ "payload": {
10728
+ "description": "Payload JSON",
10729
+ "name": "payload",
10730
+ "hasDynamicHelp": false,
10731
+ "multiple": false,
10732
+ "type": "option"
10707
10733
  }
10708
10734
  },
10709
10735
  "hasDynamicHelp": false,
10710
10736
  "hiddenAliases": [],
10711
- "id": "tags:export",
10737
+ "id": "webhooks:test",
10712
10738
  "pluginAlias": "@instantkom/cli",
10713
10739
  "pluginName": "@instantkom/cli",
10714
10740
  "pluginType": "core",
@@ -10718,20 +10744,14 @@
10718
10744
  "relativePath": [
10719
10745
  "dist",
10720
10746
  "commands",
10721
- "tags",
10722
- "export.js"
10747
+ "webhooks",
10748
+ "test.js"
10723
10749
  ]
10724
10750
  },
10725
- "tags:get": {
10751
+ "tags:create": {
10726
10752
  "aliases": [],
10727
- "args": {
10728
- "id": {
10729
- "description": "tag ID",
10730
- "name": "id",
10731
- "required": true
10732
- }
10733
- },
10734
- "description": "Get tag by ID",
10753
+ "args": {},
10754
+ "description": "Create a tag",
10735
10755
  "flags": {
10736
10756
  "api-key": {
10737
10757
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10794,11 +10814,47 @@
10794
10814
  "hasDynamicHelp": false,
10795
10815
  "multiple": false,
10796
10816
  "type": "option"
10817
+ },
10818
+ "name": {
10819
+ "description": "Tag name",
10820
+ "name": "name",
10821
+ "required": true,
10822
+ "hasDynamicHelp": false,
10823
+ "multiple": false,
10824
+ "type": "option"
10825
+ },
10826
+ "description": {
10827
+ "description": "Tag description",
10828
+ "name": "description",
10829
+ "hasDynamicHelp": false,
10830
+ "multiple": false,
10831
+ "type": "option"
10832
+ },
10833
+ "color": {
10834
+ "description": "Tag color as HEX",
10835
+ "name": "color",
10836
+ "hasDynamicHelp": false,
10837
+ "multiple": false,
10838
+ "type": "option"
10839
+ },
10840
+ "folder": {
10841
+ "description": "Object folder ID",
10842
+ "name": "folder",
10843
+ "hasDynamicHelp": false,
10844
+ "multiple": false,
10845
+ "type": "option"
10846
+ },
10847
+ "data": {
10848
+ "description": "Additional JSON object payload",
10849
+ "name": "data",
10850
+ "hasDynamicHelp": false,
10851
+ "multiple": false,
10852
+ "type": "option"
10797
10853
  }
10798
10854
  },
10799
10855
  "hasDynamicHelp": false,
10800
10856
  "hiddenAliases": [],
10801
- "id": "tags:get",
10857
+ "id": "tags:create",
10802
10858
  "pluginAlias": "@instantkom/cli",
10803
10859
  "pluginName": "@instantkom/cli",
10804
10860
  "pluginType": "core",
@@ -10809,13 +10865,19 @@
10809
10865
  "dist",
10810
10866
  "commands",
10811
10867
  "tags",
10812
- "get.js"
10868
+ "create.js"
10813
10869
  ]
10814
10870
  },
10815
- "tags:import": {
10871
+ "tags:delete": {
10816
10872
  "aliases": [],
10817
- "args": {},
10818
- "description": "Import tags from JSON",
10873
+ "args": {
10874
+ "id": {
10875
+ "description": "tag ID",
10876
+ "name": "id",
10877
+ "required": true
10878
+ }
10879
+ },
10880
+ "description": "Delete tag",
10819
10881
  "flags": {
10820
10882
  "api-key": {
10821
10883
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10878,25 +10940,11 @@
10878
10940
  "hasDynamicHelp": false,
10879
10941
  "multiple": false,
10880
10942
  "type": "option"
10881
- },
10882
- "file": {
10883
- "description": "JSON file path",
10884
- "name": "file",
10885
- "required": true,
10886
- "hasDynamicHelp": false,
10887
- "multiple": false,
10888
- "type": "option"
10889
- },
10890
- "skip-duplicates": {
10891
- "description": "Skip duplicate tags",
10892
- "name": "skip-duplicates",
10893
- "allowNo": true,
10894
- "type": "boolean"
10895
10943
  }
10896
10944
  },
10897
10945
  "hasDynamicHelp": false,
10898
10946
  "hiddenAliases": [],
10899
- "id": "tags:import",
10947
+ "id": "tags:delete",
10900
10948
  "pluginAlias": "@instantkom/cli",
10901
10949
  "pluginName": "@instantkom/cli",
10902
10950
  "pluginType": "core",
@@ -10907,13 +10955,13 @@
10907
10955
  "dist",
10908
10956
  "commands",
10909
10957
  "tags",
10910
- "import.js"
10958
+ "delete.js"
10911
10959
  ]
10912
10960
  },
10913
- "tags:list": {
10961
+ "tags:export": {
10914
10962
  "aliases": [],
10915
10963
  "args": {},
10916
- "description": "List tags",
10964
+ "description": "Export tags to a file",
10917
10965
  "flags": {
10918
10966
  "api-key": {
10919
10967
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10925,17 +10973,14 @@
10925
10973
  "type": "option"
10926
10974
  },
10927
10975
  "format": {
10928
- "description": "Output format: text, json, yaml, or table",
10929
- "helpGroup": "GLOBAL",
10976
+ "description": "Export format",
10930
10977
  "name": "format",
10931
- "default": "text",
10978
+ "default": "csv",
10932
10979
  "hasDynamicHelp": false,
10933
10980
  "multiple": false,
10934
10981
  "options": [
10935
- "text",
10936
- "json",
10937
- "yaml",
10938
- "table"
10982
+ "csv",
10983
+ "json"
10939
10984
  ],
10940
10985
  "type": "option"
10941
10986
  },
@@ -10977,32 +11022,10 @@
10977
11022
  "multiple": false,
10978
11023
  "type": "option"
10979
11024
  },
10980
- "page": {
10981
- "description": "Page number",
10982
- "name": "page",
10983
- "default": 1,
10984
- "hasDynamicHelp": false,
10985
- "multiple": false,
10986
- "type": "option"
10987
- },
10988
- "limit": {
10989
- "description": "Items per page",
10990
- "name": "limit",
10991
- "default": 20,
10992
- "hasDynamicHelp": false,
10993
- "multiple": false,
10994
- "type": "option"
10995
- },
10996
- "search": {
10997
- "description": "Search by name",
10998
- "name": "search",
10999
- "hasDynamicHelp": false,
11000
- "multiple": false,
11001
- "type": "option"
11002
- },
11003
- "color": {
11004
- "description": "Filter by color",
11005
- "name": "color",
11025
+ "file": {
11026
+ "description": "Output file path",
11027
+ "name": "file",
11028
+ "required": true,
11006
11029
  "hasDynamicHelp": false,
11007
11030
  "multiple": false,
11008
11031
  "type": "option"
@@ -11010,7 +11033,7 @@
11010
11033
  },
11011
11034
  "hasDynamicHelp": false,
11012
11035
  "hiddenAliases": [],
11013
- "id": "tags:list",
11036
+ "id": "tags:export",
11014
11037
  "pluginAlias": "@instantkom/cli",
11015
11038
  "pluginName": "@instantkom/cli",
11016
11039
  "pluginType": "core",
@@ -11021,19 +11044,19 @@
11021
11044
  "dist",
11022
11045
  "commands",
11023
11046
  "tags",
11024
- "list.js"
11047
+ "export.js"
11025
11048
  ]
11026
11049
  },
11027
- "tags:update": {
11050
+ "tags:get": {
11028
11051
  "aliases": [],
11029
11052
  "args": {
11030
11053
  "id": {
11031
- "description": "Tag ID",
11054
+ "description": "tag ID",
11032
11055
  "name": "id",
11033
11056
  "required": true
11034
11057
  }
11035
11058
  },
11036
- "description": "Update a tag",
11059
+ "description": "Get tag by ID",
11037
11060
  "flags": {
11038
11061
  "api-key": {
11039
11062
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11066,68 +11089,33 @@
11066
11089
  "allowNo": false,
11067
11090
  "type": "boolean"
11068
11091
  },
11069
- "quiet": {
11070
- "description": "Suppress all output except errors",
11071
- "helpGroup": "GLOBAL",
11072
- "name": "quiet",
11073
- "allowNo": false,
11074
- "type": "boolean"
11075
- },
11076
- "no-color": {
11077
- "description": "Disable color output",
11078
- "helpGroup": "GLOBAL",
11079
- "name": "no-color",
11080
- "allowNo": false,
11081
- "type": "boolean"
11082
- },
11083
- "profile": {
11084
- "description": "Named configuration profile to use",
11085
- "helpGroup": "GLOBAL",
11086
- "name": "profile",
11087
- "default": "default",
11088
- "hasDynamicHelp": false,
11089
- "multiple": false,
11090
- "type": "option"
11091
- },
11092
- "api-url": {
11093
- "description": "Override the API base URL (e.g. for staging)",
11094
- "helpGroup": "GLOBAL",
11095
- "name": "api-url",
11096
- "hasDynamicHelp": false,
11097
- "multiple": false,
11098
- "type": "option"
11099
- },
11100
- "name": {
11101
- "description": "Tag name",
11102
- "name": "name",
11103
- "hasDynamicHelp": false,
11104
- "multiple": false,
11105
- "type": "option"
11106
- },
11107
- "description": {
11108
- "description": "Tag description",
11109
- "name": "description",
11110
- "hasDynamicHelp": false,
11111
- "multiple": false,
11112
- "type": "option"
11113
- },
11114
- "color": {
11115
- "description": "Tag color as HEX",
11116
- "name": "color",
11117
- "hasDynamicHelp": false,
11118
- "multiple": false,
11119
- "type": "option"
11092
+ "quiet": {
11093
+ "description": "Suppress all output except errors",
11094
+ "helpGroup": "GLOBAL",
11095
+ "name": "quiet",
11096
+ "allowNo": false,
11097
+ "type": "boolean"
11120
11098
  },
11121
- "folder": {
11122
- "description": "Object folder ID",
11123
- "name": "folder",
11099
+ "no-color": {
11100
+ "description": "Disable color output",
11101
+ "helpGroup": "GLOBAL",
11102
+ "name": "no-color",
11103
+ "allowNo": false,
11104
+ "type": "boolean"
11105
+ },
11106
+ "profile": {
11107
+ "description": "Named configuration profile to use",
11108
+ "helpGroup": "GLOBAL",
11109
+ "name": "profile",
11110
+ "default": "default",
11124
11111
  "hasDynamicHelp": false,
11125
11112
  "multiple": false,
11126
11113
  "type": "option"
11127
11114
  },
11128
- "data": {
11129
- "description": "Additional JSON object payload",
11130
- "name": "data",
11115
+ "api-url": {
11116
+ "description": "Override the API base URL (e.g. for staging)",
11117
+ "helpGroup": "GLOBAL",
11118
+ "name": "api-url",
11131
11119
  "hasDynamicHelp": false,
11132
11120
  "multiple": false,
11133
11121
  "type": "option"
@@ -11135,7 +11123,7 @@
11135
11123
  },
11136
11124
  "hasDynamicHelp": false,
11137
11125
  "hiddenAliases": [],
11138
- "id": "tags:update",
11126
+ "id": "tags:get",
11139
11127
  "pluginAlias": "@instantkom/cli",
11140
11128
  "pluginName": "@instantkom/cli",
11141
11129
  "pluginType": "core",
@@ -11146,13 +11134,13 @@
11146
11134
  "dist",
11147
11135
  "commands",
11148
11136
  "tags",
11149
- "update.js"
11137
+ "get.js"
11150
11138
  ]
11151
11139
  },
11152
- "tags:validate-import": {
11140
+ "tags:import": {
11153
11141
  "aliases": [],
11154
11142
  "args": {},
11155
- "description": "Validate tags import JSON",
11143
+ "description": "Import tags from JSON",
11156
11144
  "flags": {
11157
11145
  "api-key": {
11158
11146
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11223,11 +11211,17 @@
11223
11211
  "hasDynamicHelp": false,
11224
11212
  "multiple": false,
11225
11213
  "type": "option"
11214
+ },
11215
+ "skip-duplicates": {
11216
+ "description": "Skip duplicate tags",
11217
+ "name": "skip-duplicates",
11218
+ "allowNo": true,
11219
+ "type": "boolean"
11226
11220
  }
11227
11221
  },
11228
11222
  "hasDynamicHelp": false,
11229
11223
  "hiddenAliases": [],
11230
- "id": "tags:validate-import",
11224
+ "id": "tags:import",
11231
11225
  "pluginAlias": "@instantkom/cli",
11232
11226
  "pluginName": "@instantkom/cli",
11233
11227
  "pluginType": "core",
@@ -11238,13 +11232,13 @@
11238
11232
  "dist",
11239
11233
  "commands",
11240
11234
  "tags",
11241
- "validate-import.js"
11235
+ "import.js"
11242
11236
  ]
11243
11237
  },
11244
- "team:create": {
11238
+ "tags:list": {
11245
11239
  "aliases": [],
11246
11240
  "args": {},
11247
- "description": "Create a team member",
11241
+ "description": "List tags",
11248
11242
  "flags": {
11249
11243
  "api-key": {
11250
11244
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11308,77 +11302,40 @@
11308
11302
  "multiple": false,
11309
11303
  "type": "option"
11310
11304
  },
11311
- "email": {
11312
- "description": "Email address",
11313
- "name": "email",
11314
- "required": true,
11315
- "hasDynamicHelp": false,
11316
- "multiple": false,
11317
- "type": "option"
11318
- },
11319
- "first-name": {
11320
- "description": "First name",
11321
- "name": "first-name",
11322
- "required": true,
11323
- "hasDynamicHelp": false,
11324
- "multiple": false,
11325
- "type": "option"
11326
- },
11327
- "last-name": {
11328
- "description": "Last name",
11329
- "name": "last-name",
11330
- "required": true,
11331
- "hasDynamicHelp": false,
11332
- "multiple": false,
11333
- "type": "option"
11334
- },
11335
- "password": {
11336
- "description": "Initial password",
11337
- "name": "password",
11338
- "required": true,
11305
+ "page": {
11306
+ "description": "Page number",
11307
+ "name": "page",
11308
+ "default": 1,
11339
11309
  "hasDynamicHelp": false,
11340
11310
  "multiple": false,
11341
11311
  "type": "option"
11342
11312
  },
11343
- "phone": {
11344
- "description": "Phone number",
11345
- "name": "phone",
11313
+ "limit": {
11314
+ "description": "Items per page",
11315
+ "name": "limit",
11316
+ "default": 20,
11346
11317
  "hasDynamicHelp": false,
11347
11318
  "multiple": false,
11348
11319
  "type": "option"
11349
11320
  },
11350
- "company": {
11351
- "description": "Company name",
11352
- "name": "company",
11321
+ "search": {
11322
+ "description": "Search by name",
11323
+ "name": "search",
11353
11324
  "hasDynamicHelp": false,
11354
11325
  "multiple": false,
11355
11326
  "type": "option"
11356
11327
  },
11357
11328
  "color": {
11358
- "description": "Color as HEX",
11329
+ "description": "Filter by color",
11359
11330
  "name": "color",
11360
11331
  "hasDynamicHelp": false,
11361
11332
  "multiple": false,
11362
11333
  "type": "option"
11363
- },
11364
- "folder": {
11365
- "description": "Object folder ID",
11366
- "name": "folder",
11367
- "hasDynamicHelp": false,
11368
- "multiple": false,
11369
- "type": "option"
11370
- },
11371
- "data": {
11372
- "description": "Additional JSON object payload",
11373
- "name": "data",
11374
- "hasDynamicHelp": false,
11375
- "multiple": false,
11376
- "type": "option"
11377
11334
  }
11378
11335
  },
11379
11336
  "hasDynamicHelp": false,
11380
11337
  "hiddenAliases": [],
11381
- "id": "team:create",
11338
+ "id": "tags:list",
11382
11339
  "pluginAlias": "@instantkom/cli",
11383
11340
  "pluginName": "@instantkom/cli",
11384
11341
  "pluginType": "core",
@@ -11388,20 +11345,20 @@
11388
11345
  "relativePath": [
11389
11346
  "dist",
11390
11347
  "commands",
11391
- "team",
11392
- "create.js"
11348
+ "tags",
11349
+ "list.js"
11393
11350
  ]
11394
11351
  },
11395
- "team:delete": {
11352
+ "tags:update": {
11396
11353
  "aliases": [],
11397
11354
  "args": {
11398
11355
  "id": {
11399
- "description": "Team member ID",
11356
+ "description": "Tag ID",
11400
11357
  "name": "id",
11401
11358
  "required": true
11402
11359
  }
11403
11360
  },
11404
- "description": "Delete a team member",
11361
+ "description": "Update a tag",
11405
11362
  "flags": {
11406
11363
  "api-key": {
11407
11364
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11464,11 +11421,46 @@
11464
11421
  "hasDynamicHelp": false,
11465
11422
  "multiple": false,
11466
11423
  "type": "option"
11424
+ },
11425
+ "name": {
11426
+ "description": "Tag name",
11427
+ "name": "name",
11428
+ "hasDynamicHelp": false,
11429
+ "multiple": false,
11430
+ "type": "option"
11431
+ },
11432
+ "description": {
11433
+ "description": "Tag description",
11434
+ "name": "description",
11435
+ "hasDynamicHelp": false,
11436
+ "multiple": false,
11437
+ "type": "option"
11438
+ },
11439
+ "color": {
11440
+ "description": "Tag color as HEX",
11441
+ "name": "color",
11442
+ "hasDynamicHelp": false,
11443
+ "multiple": false,
11444
+ "type": "option"
11445
+ },
11446
+ "folder": {
11447
+ "description": "Object folder ID",
11448
+ "name": "folder",
11449
+ "hasDynamicHelp": false,
11450
+ "multiple": false,
11451
+ "type": "option"
11452
+ },
11453
+ "data": {
11454
+ "description": "Additional JSON object payload",
11455
+ "name": "data",
11456
+ "hasDynamicHelp": false,
11457
+ "multiple": false,
11458
+ "type": "option"
11467
11459
  }
11468
11460
  },
11469
11461
  "hasDynamicHelp": false,
11470
11462
  "hiddenAliases": [],
11471
- "id": "team:delete",
11463
+ "id": "tags:update",
11472
11464
  "pluginAlias": "@instantkom/cli",
11473
11465
  "pluginName": "@instantkom/cli",
11474
11466
  "pluginType": "core",
@@ -11478,14 +11470,14 @@
11478
11470
  "relativePath": [
11479
11471
  "dist",
11480
11472
  "commands",
11481
- "team",
11482
- "delete.js"
11473
+ "tags",
11474
+ "update.js"
11483
11475
  ]
11484
11476
  },
11485
- "team:list": {
11477
+ "tags:validate-import": {
11486
11478
  "aliases": [],
11487
11479
  "args": {},
11488
- "description": "List team members",
11480
+ "description": "Validate tags import JSON",
11489
11481
  "flags": {
11490
11482
  "api-key": {
11491
11483
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11548,11 +11540,19 @@
11548
11540
  "hasDynamicHelp": false,
11549
11541
  "multiple": false,
11550
11542
  "type": "option"
11543
+ },
11544
+ "file": {
11545
+ "description": "JSON file path",
11546
+ "name": "file",
11547
+ "required": true,
11548
+ "hasDynamicHelp": false,
11549
+ "multiple": false,
11550
+ "type": "option"
11551
11551
  }
11552
11552
  },
11553
11553
  "hasDynamicHelp": false,
11554
11554
  "hiddenAliases": [],
11555
- "id": "team:list",
11555
+ "id": "tags:validate-import",
11556
11556
  "pluginAlias": "@instantkom/cli",
11557
11557
  "pluginName": "@instantkom/cli",
11558
11558
  "pluginType": "core",
@@ -11562,8 +11562,8 @@
11562
11562
  "relativePath": [
11563
11563
  "dist",
11564
11564
  "commands",
11565
- "team",
11566
- "list.js"
11565
+ "tags",
11566
+ "validate-import.js"
11567
11567
  ]
11568
11568
  },
11569
11569
  "auth:tokens:create": {
@@ -16055,16 +16055,16 @@
16055
16055
  "list.js"
16056
16056
  ]
16057
16057
  },
16058
- "tags:segments:list": {
16058
+ "tags:recipients:add": {
16059
16059
  "aliases": [],
16060
16060
  "args": {
16061
- "id": {
16061
+ "tagId": {
16062
16062
  "description": "Tag ID",
16063
- "name": "id",
16063
+ "name": "tagId",
16064
16064
  "required": true
16065
16065
  }
16066
16066
  },
16067
- "description": "List segments that use a specific tag",
16067
+ "description": "Assign a tag to recipients",
16068
16068
  "flags": {
16069
16069
  "api-key": {
16070
16070
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16128,18 +16128,10 @@
16128
16128
  "multiple": false,
16129
16129
  "type": "option"
16130
16130
  },
16131
- "page": {
16132
- "description": "Page number",
16133
- "name": "page",
16134
- "default": 1,
16135
- "hasDynamicHelp": false,
16136
- "multiple": false,
16137
- "type": "option"
16138
- },
16139
- "limit": {
16140
- "description": "Items per page",
16141
- "name": "limit",
16142
- "default": 20,
16131
+ "recipients": {
16132
+ "description": "Comma-separated recipient IDs",
16133
+ "name": "recipients",
16134
+ "required": true,
16143
16135
  "hasDynamicHelp": false,
16144
16136
  "multiple": false,
16145
16137
  "type": "option"
@@ -16147,7 +16139,7 @@
16147
16139
  },
16148
16140
  "hasDynamicHelp": false,
16149
16141
  "hiddenAliases": [],
16150
- "id": "tags:segments:list",
16142
+ "id": "tags:recipients:add",
16151
16143
  "pluginAlias": "@instantkom/cli",
16152
16144
  "pluginName": "@instantkom/cli",
16153
16145
  "pluginType": "core",
@@ -16158,11 +16150,11 @@
16158
16150
  "dist",
16159
16151
  "commands",
16160
16152
  "tags",
16161
- "segments",
16162
- "list.js"
16153
+ "recipients",
16154
+ "add.js"
16163
16155
  ]
16164
16156
  },
16165
- "tags:recipients:add": {
16157
+ "tags:recipients:remove": {
16166
16158
  "aliases": [],
16167
16159
  "args": {
16168
16160
  "tagId": {
@@ -16171,7 +16163,7 @@
16171
16163
  "required": true
16172
16164
  }
16173
16165
  },
16174
- "description": "Assign a tag to recipients",
16166
+ "description": "Remove a tag from recipients",
16175
16167
  "flags": {
16176
16168
  "api-key": {
16177
16169
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16246,7 +16238,7 @@
16246
16238
  },
16247
16239
  "hasDynamicHelp": false,
16248
16240
  "hiddenAliases": [],
16249
- "id": "tags:recipients:add",
16241
+ "id": "tags:recipients:remove",
16250
16242
  "pluginAlias": "@instantkom/cli",
16251
16243
  "pluginName": "@instantkom/cli",
16252
16244
  "pluginType": "core",
@@ -16258,19 +16250,19 @@
16258
16250
  "commands",
16259
16251
  "tags",
16260
16252
  "recipients",
16261
- "add.js"
16253
+ "remove.js"
16262
16254
  ]
16263
16255
  },
16264
- "tags:recipients:remove": {
16256
+ "tags:segments:list": {
16265
16257
  "aliases": [],
16266
16258
  "args": {
16267
- "tagId": {
16259
+ "id": {
16268
16260
  "description": "Tag ID",
16269
- "name": "tagId",
16261
+ "name": "id",
16270
16262
  "required": true
16271
16263
  }
16272
16264
  },
16273
- "description": "Remove a tag from recipients",
16265
+ "description": "List segments that use a specific tag",
16274
16266
  "flags": {
16275
16267
  "api-key": {
16276
16268
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16334,10 +16326,18 @@
16334
16326
  "multiple": false,
16335
16327
  "type": "option"
16336
16328
  },
16337
- "recipients": {
16338
- "description": "Comma-separated recipient IDs",
16339
- "name": "recipients",
16340
- "required": true,
16329
+ "page": {
16330
+ "description": "Page number",
16331
+ "name": "page",
16332
+ "default": 1,
16333
+ "hasDynamicHelp": false,
16334
+ "multiple": false,
16335
+ "type": "option"
16336
+ },
16337
+ "limit": {
16338
+ "description": "Items per page",
16339
+ "name": "limit",
16340
+ "default": 20,
16341
16341
  "hasDynamicHelp": false,
16342
16342
  "multiple": false,
16343
16343
  "type": "option"
@@ -16345,7 +16345,7 @@
16345
16345
  },
16346
16346
  "hasDynamicHelp": false,
16347
16347
  "hiddenAliases": [],
16348
- "id": "tags:recipients:remove",
16348
+ "id": "tags:segments:list",
16349
16349
  "pluginAlias": "@instantkom/cli",
16350
16350
  "pluginName": "@instantkom/cli",
16351
16351
  "pluginType": "core",
@@ -16356,8 +16356,8 @@
16356
16356
  "dist",
16357
16357
  "commands",
16358
16358
  "tags",
16359
- "recipients",
16360
- "remove.js"
16359
+ "segments",
16360
+ "list.js"
16361
16361
  ]
16362
16362
  },
16363
16363
  "bots:env-vars:values:delete": {
@@ -16566,5 +16566,5 @@
16566
16566
  ]
16567
16567
  }
16568
16568
  },
16569
- "version": "3.166.0"
16569
+ "version": "3.167.0"
16570
16570
  }