@instantkom/cli 3.184.1 → 3.185.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.
- package/npm-shrinkwrap.json +2 -2
- package/oclif.manifest.json +903 -903
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -2015,10 +2015,10 @@
|
|
|
2015
2015
|
"update.js"
|
|
2016
2016
|
]
|
|
2017
2017
|
},
|
|
2018
|
-
"
|
|
2018
|
+
"broadcast:create": {
|
|
2019
2019
|
"aliases": [],
|
|
2020
2020
|
"args": {},
|
|
2021
|
-
"description": "Create a
|
|
2021
|
+
"description": "Create a broadcast for channels or segments",
|
|
2022
2022
|
"flags": {
|
|
2023
2023
|
"api-key": {
|
|
2024
2024
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2082,47 +2082,92 @@
|
|
|
2082
2082
|
"multiple": false,
|
|
2083
2083
|
"type": "option"
|
|
2084
2084
|
},
|
|
2085
|
-
"
|
|
2086
|
-
"description": "Channel
|
|
2087
|
-
"name": "
|
|
2088
|
-
"required": true,
|
|
2085
|
+
"channel": {
|
|
2086
|
+
"description": "Channel ID target",
|
|
2087
|
+
"name": "channel",
|
|
2089
2088
|
"hasDynamicHelp": false,
|
|
2090
2089
|
"multiple": false,
|
|
2091
2090
|
"type": "option"
|
|
2092
2091
|
},
|
|
2093
|
-
"
|
|
2094
|
-
"description": "
|
|
2095
|
-
"name": "
|
|
2092
|
+
"segment": {
|
|
2093
|
+
"description": "Segment ID within --channel",
|
|
2094
|
+
"name": "segment",
|
|
2095
|
+
"hasDynamicHelp": false,
|
|
2096
|
+
"multiple": false,
|
|
2097
|
+
"type": "option"
|
|
2098
|
+
},
|
|
2099
|
+
"target": {
|
|
2100
|
+
"description": "Target as channelId or channelId:segmentId; may be repeated",
|
|
2101
|
+
"name": "target",
|
|
2102
|
+
"hasDynamicHelp": false,
|
|
2103
|
+
"multiple": true,
|
|
2104
|
+
"type": "option"
|
|
2105
|
+
},
|
|
2106
|
+
"text": {
|
|
2107
|
+
"description": "Broadcast message text",
|
|
2108
|
+
"name": "text",
|
|
2096
2109
|
"required": true,
|
|
2097
2110
|
"hasDynamicHelp": false,
|
|
2098
2111
|
"multiple": false,
|
|
2099
2112
|
"type": "option"
|
|
2100
2113
|
},
|
|
2101
|
-
"
|
|
2102
|
-
"description": "
|
|
2103
|
-
"name": "
|
|
2114
|
+
"send-at": {
|
|
2115
|
+
"description": "Schedule send for an ISO-8601 date-time",
|
|
2116
|
+
"name": "send-at",
|
|
2104
2117
|
"hasDynamicHelp": false,
|
|
2105
2118
|
"multiple": false,
|
|
2106
2119
|
"type": "option"
|
|
2107
2120
|
},
|
|
2108
|
-
"
|
|
2109
|
-
"description": "
|
|
2110
|
-
"name": "
|
|
2121
|
+
"dry-run": {
|
|
2122
|
+
"description": "Validate and print the broadcast payload without mutating API calls",
|
|
2123
|
+
"name": "dry-run",
|
|
2124
|
+
"allowNo": false,
|
|
2125
|
+
"type": "boolean"
|
|
2126
|
+
},
|
|
2127
|
+
"idempotency-key": {
|
|
2128
|
+
"description": "Idempotency key forwarded as Idempotency-Key",
|
|
2129
|
+
"name": "idempotency-key",
|
|
2111
2130
|
"hasDynamicHelp": false,
|
|
2112
2131
|
"multiple": false,
|
|
2113
2132
|
"type": "option"
|
|
2114
2133
|
},
|
|
2115
|
-
"
|
|
2116
|
-
"description": "
|
|
2117
|
-
"name": "
|
|
2134
|
+
"media": {
|
|
2135
|
+
"description": "Media file path to upload",
|
|
2136
|
+
"name": "media",
|
|
2137
|
+
"hasDynamicHelp": false,
|
|
2138
|
+
"multiple": true,
|
|
2139
|
+
"type": "option"
|
|
2140
|
+
},
|
|
2141
|
+
"template-id": {
|
|
2142
|
+
"description": "WhatsApp template ID",
|
|
2143
|
+
"name": "template-id",
|
|
2144
|
+
"hasDynamicHelp": false,
|
|
2145
|
+
"multiple": false,
|
|
2146
|
+
"type": "option"
|
|
2147
|
+
},
|
|
2148
|
+
"send-status": {
|
|
2149
|
+
"description": "Initial broadcast send status",
|
|
2150
|
+
"name": "send-status",
|
|
2151
|
+
"default": "draft",
|
|
2118
2152
|
"hasDynamicHelp": false,
|
|
2119
2153
|
"multiple": false,
|
|
2154
|
+
"options": [
|
|
2155
|
+
"draft",
|
|
2156
|
+
"scheduled",
|
|
2157
|
+
"sending"
|
|
2158
|
+
],
|
|
2120
2159
|
"type": "option"
|
|
2160
|
+
},
|
|
2161
|
+
"auto-approve": {
|
|
2162
|
+
"description": "Auto-approve broadcast when allowed by API permissions",
|
|
2163
|
+
"name": "auto-approve",
|
|
2164
|
+
"allowNo": false,
|
|
2165
|
+
"type": "boolean"
|
|
2121
2166
|
}
|
|
2122
2167
|
},
|
|
2123
2168
|
"hasDynamicHelp": false,
|
|
2124
2169
|
"hiddenAliases": [],
|
|
2125
|
-
"id": "
|
|
2170
|
+
"id": "broadcast:create",
|
|
2126
2171
|
"pluginAlias": "@instantkom/cli",
|
|
2127
2172
|
"pluginName": "@instantkom/cli",
|
|
2128
2173
|
"pluginType": "core",
|
|
@@ -2132,20 +2177,20 @@
|
|
|
2132
2177
|
"relativePath": [
|
|
2133
2178
|
"dist",
|
|
2134
2179
|
"commands",
|
|
2135
|
-
"
|
|
2180
|
+
"broadcast",
|
|
2136
2181
|
"create.js"
|
|
2137
2182
|
]
|
|
2138
2183
|
},
|
|
2139
|
-
"
|
|
2184
|
+
"broadcast:delete": {
|
|
2140
2185
|
"aliases": [],
|
|
2141
2186
|
"args": {
|
|
2142
2187
|
"id": {
|
|
2143
|
-
"description": "
|
|
2188
|
+
"description": "broadcast ID",
|
|
2144
2189
|
"name": "id",
|
|
2145
2190
|
"required": true
|
|
2146
2191
|
}
|
|
2147
2192
|
},
|
|
2148
|
-
"description": "
|
|
2193
|
+
"description": "Delete broadcast",
|
|
2149
2194
|
"flags": {
|
|
2150
2195
|
"api-key": {
|
|
2151
2196
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2212,7 +2257,7 @@
|
|
|
2212
2257
|
},
|
|
2213
2258
|
"hasDynamicHelp": false,
|
|
2214
2259
|
"hiddenAliases": [],
|
|
2215
|
-
"id": "
|
|
2260
|
+
"id": "broadcast:delete",
|
|
2216
2261
|
"pluginAlias": "@instantkom/cli",
|
|
2217
2262
|
"pluginName": "@instantkom/cli",
|
|
2218
2263
|
"pluginType": "core",
|
|
@@ -2222,20 +2267,20 @@
|
|
|
2222
2267
|
"relativePath": [
|
|
2223
2268
|
"dist",
|
|
2224
2269
|
"commands",
|
|
2225
|
-
"
|
|
2226
|
-
"
|
|
2270
|
+
"broadcast",
|
|
2271
|
+
"delete.js"
|
|
2227
2272
|
]
|
|
2228
2273
|
},
|
|
2229
|
-
"
|
|
2274
|
+
"broadcast:get": {
|
|
2230
2275
|
"aliases": [],
|
|
2231
2276
|
"args": {
|
|
2232
2277
|
"id": {
|
|
2233
|
-
"description": "
|
|
2278
|
+
"description": "broadcast ID",
|
|
2234
2279
|
"name": "id",
|
|
2235
|
-
"required":
|
|
2280
|
+
"required": true
|
|
2236
2281
|
}
|
|
2237
2282
|
},
|
|
2238
|
-
"description": "Get
|
|
2283
|
+
"description": "Get broadcast by ID",
|
|
2239
2284
|
"flags": {
|
|
2240
2285
|
"api-key": {
|
|
2241
2286
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2298,18 +2343,11 @@
|
|
|
2298
2343
|
"hasDynamicHelp": false,
|
|
2299
2344
|
"multiple": false,
|
|
2300
2345
|
"type": "option"
|
|
2301
|
-
},
|
|
2302
|
-
"period": {
|
|
2303
|
-
"description": "KPI period",
|
|
2304
|
-
"name": "period",
|
|
2305
|
-
"hasDynamicHelp": false,
|
|
2306
|
-
"multiple": false,
|
|
2307
|
-
"type": "option"
|
|
2308
2346
|
}
|
|
2309
2347
|
},
|
|
2310
2348
|
"hasDynamicHelp": false,
|
|
2311
2349
|
"hiddenAliases": [],
|
|
2312
|
-
"id": "
|
|
2350
|
+
"id": "broadcast:get",
|
|
2313
2351
|
"pluginAlias": "@instantkom/cli",
|
|
2314
2352
|
"pluginName": "@instantkom/cli",
|
|
2315
2353
|
"pluginType": "core",
|
|
@@ -2319,14 +2357,14 @@
|
|
|
2319
2357
|
"relativePath": [
|
|
2320
2358
|
"dist",
|
|
2321
2359
|
"commands",
|
|
2322
|
-
"
|
|
2323
|
-
"
|
|
2360
|
+
"broadcast",
|
|
2361
|
+
"get.js"
|
|
2324
2362
|
]
|
|
2325
2363
|
},
|
|
2326
|
-
"
|
|
2364
|
+
"broadcast:list": {
|
|
2327
2365
|
"aliases": [],
|
|
2328
2366
|
"args": {},
|
|
2329
|
-
"description": "List
|
|
2367
|
+
"description": "List broadcasts",
|
|
2330
2368
|
"flags": {
|
|
2331
2369
|
"api-key": {
|
|
2332
2370
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2406,31 +2444,56 @@
|
|
|
2406
2444
|
"multiple": false,
|
|
2407
2445
|
"type": "option"
|
|
2408
2446
|
},
|
|
2409
|
-
"
|
|
2410
|
-
"description": "Filter by channel
|
|
2411
|
-
"name": "
|
|
2447
|
+
"channel": {
|
|
2448
|
+
"description": "Filter by channel ID",
|
|
2449
|
+
"name": "channel",
|
|
2412
2450
|
"hasDynamicHelp": false,
|
|
2413
2451
|
"multiple": false,
|
|
2414
2452
|
"type": "option"
|
|
2415
2453
|
},
|
|
2416
|
-
"
|
|
2417
|
-
"description": "Filter by
|
|
2418
|
-
"name": "
|
|
2454
|
+
"send-status": {
|
|
2455
|
+
"description": "Filter by send status",
|
|
2456
|
+
"name": "send-status",
|
|
2457
|
+
"hasDynamicHelp": false,
|
|
2458
|
+
"multiple": false,
|
|
2459
|
+
"type": "option"
|
|
2460
|
+
},
|
|
2461
|
+
"type": {
|
|
2462
|
+
"description": "Broadcast type",
|
|
2463
|
+
"name": "type",
|
|
2419
2464
|
"hasDynamicHelp": false,
|
|
2420
2465
|
"multiple": false,
|
|
2466
|
+
"options": [
|
|
2467
|
+
"text",
|
|
2468
|
+
"image",
|
|
2469
|
+
"video",
|
|
2470
|
+
"audio",
|
|
2471
|
+
"document"
|
|
2472
|
+
],
|
|
2421
2473
|
"type": "option"
|
|
2422
2474
|
},
|
|
2423
2475
|
"search": {
|
|
2424
|
-
"description": "Search
|
|
2476
|
+
"description": "Search broadcasts",
|
|
2425
2477
|
"name": "search",
|
|
2426
2478
|
"hasDynamicHelp": false,
|
|
2427
2479
|
"multiple": false,
|
|
2428
2480
|
"type": "option"
|
|
2481
|
+
},
|
|
2482
|
+
"test": {
|
|
2483
|
+
"description": "Filter test flag: 0 or 1",
|
|
2484
|
+
"name": "test",
|
|
2485
|
+
"hasDynamicHelp": false,
|
|
2486
|
+
"multiple": false,
|
|
2487
|
+
"options": [
|
|
2488
|
+
"0",
|
|
2489
|
+
"1"
|
|
2490
|
+
],
|
|
2491
|
+
"type": "option"
|
|
2429
2492
|
}
|
|
2430
2493
|
},
|
|
2431
2494
|
"hasDynamicHelp": false,
|
|
2432
2495
|
"hiddenAliases": [],
|
|
2433
|
-
"id": "
|
|
2496
|
+
"id": "broadcast:list",
|
|
2434
2497
|
"pluginAlias": "@instantkom/cli",
|
|
2435
2498
|
"pluginName": "@instantkom/cli",
|
|
2436
2499
|
"pluginType": "core",
|
|
@@ -2440,20 +2503,20 @@
|
|
|
2440
2503
|
"relativePath": [
|
|
2441
2504
|
"dist",
|
|
2442
2505
|
"commands",
|
|
2443
|
-
"
|
|
2506
|
+
"broadcast",
|
|
2444
2507
|
"list.js"
|
|
2445
2508
|
]
|
|
2446
2509
|
},
|
|
2447
|
-
"
|
|
2510
|
+
"broadcast:send": {
|
|
2448
2511
|
"aliases": [],
|
|
2449
2512
|
"args": {
|
|
2450
2513
|
"id": {
|
|
2451
|
-
"description": "
|
|
2514
|
+
"description": "Broadcast ID",
|
|
2452
2515
|
"name": "id",
|
|
2453
2516
|
"required": true
|
|
2454
2517
|
}
|
|
2455
2518
|
},
|
|
2456
|
-
"description": "
|
|
2519
|
+
"description": "Send a broadcast immediately",
|
|
2457
2520
|
"flags": {
|
|
2458
2521
|
"api-key": {
|
|
2459
2522
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2516,39 +2579,11 @@
|
|
|
2516
2579
|
"hasDynamicHelp": false,
|
|
2517
2580
|
"multiple": false,
|
|
2518
2581
|
"type": "option"
|
|
2519
|
-
},
|
|
2520
|
-
"name": {
|
|
2521
|
-
"description": "Channel name",
|
|
2522
|
-
"name": "name",
|
|
2523
|
-
"hasDynamicHelp": false,
|
|
2524
|
-
"multiple": false,
|
|
2525
|
-
"type": "option"
|
|
2526
|
-
},
|
|
2527
|
-
"status": {
|
|
2528
|
-
"description": "Channel lifecycle status",
|
|
2529
|
-
"name": "status",
|
|
2530
|
-
"hasDynamicHelp": false,
|
|
2531
|
-
"multiple": false,
|
|
2532
|
-
"type": "option"
|
|
2533
|
-
},
|
|
2534
|
-
"description": {
|
|
2535
|
-
"description": "Channel description",
|
|
2536
|
-
"name": "description",
|
|
2537
|
-
"hasDynamicHelp": false,
|
|
2538
|
-
"multiple": false,
|
|
2539
|
-
"type": "option"
|
|
2540
|
-
},
|
|
2541
|
-
"data": {
|
|
2542
|
-
"description": "Additional JSON object payload",
|
|
2543
|
-
"name": "data",
|
|
2544
|
-
"hasDynamicHelp": false,
|
|
2545
|
-
"multiple": false,
|
|
2546
|
-
"type": "option"
|
|
2547
2582
|
}
|
|
2548
2583
|
},
|
|
2549
2584
|
"hasDynamicHelp": false,
|
|
2550
2585
|
"hiddenAliases": [],
|
|
2551
|
-
"id": "
|
|
2586
|
+
"id": "broadcast:send",
|
|
2552
2587
|
"pluginAlias": "@instantkom/cli",
|
|
2553
2588
|
"pluginName": "@instantkom/cli",
|
|
2554
2589
|
"pluginType": "core",
|
|
@@ -2558,14 +2593,20 @@
|
|
|
2558
2593
|
"relativePath": [
|
|
2559
2594
|
"dist",
|
|
2560
2595
|
"commands",
|
|
2561
|
-
"
|
|
2562
|
-
"
|
|
2596
|
+
"broadcast",
|
|
2597
|
+
"send.js"
|
|
2563
2598
|
]
|
|
2564
2599
|
},
|
|
2565
|
-
"broadcast:
|
|
2600
|
+
"broadcast:status": {
|
|
2566
2601
|
"aliases": [],
|
|
2567
|
-
"args": {
|
|
2568
|
-
|
|
2602
|
+
"args": {
|
|
2603
|
+
"id": {
|
|
2604
|
+
"description": "Broadcast ID",
|
|
2605
|
+
"name": "id",
|
|
2606
|
+
"required": true
|
|
2607
|
+
}
|
|
2608
|
+
},
|
|
2609
|
+
"description": "Show broadcast send status",
|
|
2569
2610
|
"flags": {
|
|
2570
2611
|
"api-key": {
|
|
2571
2612
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2628,93 +2669,167 @@
|
|
|
2628
2669
|
"hasDynamicHelp": false,
|
|
2629
2670
|
"multiple": false,
|
|
2630
2671
|
"type": "option"
|
|
2631
|
-
}
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2672
|
+
}
|
|
2673
|
+
},
|
|
2674
|
+
"hasDynamicHelp": false,
|
|
2675
|
+
"hiddenAliases": [],
|
|
2676
|
+
"id": "broadcast:status",
|
|
2677
|
+
"pluginAlias": "@instantkom/cli",
|
|
2678
|
+
"pluginName": "@instantkom/cli",
|
|
2679
|
+
"pluginType": "core",
|
|
2680
|
+
"strict": true,
|
|
2681
|
+
"enableJsonFlag": false,
|
|
2682
|
+
"isESM": true,
|
|
2683
|
+
"relativePath": [
|
|
2684
|
+
"dist",
|
|
2685
|
+
"commands",
|
|
2686
|
+
"broadcast",
|
|
2687
|
+
"status.js"
|
|
2688
|
+
]
|
|
2689
|
+
},
|
|
2690
|
+
"broadcast:update": {
|
|
2691
|
+
"aliases": [],
|
|
2692
|
+
"args": {
|
|
2693
|
+
"id": {
|
|
2694
|
+
"description": "Broadcast ID",
|
|
2695
|
+
"name": "id",
|
|
2696
|
+
"required": true
|
|
2697
|
+
}
|
|
2698
|
+
},
|
|
2699
|
+
"description": "Update a broadcast",
|
|
2700
|
+
"flags": {
|
|
2701
|
+
"api-key": {
|
|
2702
|
+
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
2703
|
+
"env": "IKM_API_KEY",
|
|
2704
|
+
"helpGroup": "GLOBAL",
|
|
2705
|
+
"name": "api-key",
|
|
2635
2706
|
"hasDynamicHelp": false,
|
|
2636
2707
|
"multiple": false,
|
|
2637
2708
|
"type": "option"
|
|
2638
2709
|
},
|
|
2639
|
-
"
|
|
2640
|
-
"description": "
|
|
2641
|
-
"
|
|
2710
|
+
"format": {
|
|
2711
|
+
"description": "Output format: text, json, yaml, or table",
|
|
2712
|
+
"helpGroup": "GLOBAL",
|
|
2713
|
+
"name": "format",
|
|
2714
|
+
"default": "text",
|
|
2642
2715
|
"hasDynamicHelp": false,
|
|
2643
2716
|
"multiple": false,
|
|
2717
|
+
"options": [
|
|
2718
|
+
"text",
|
|
2719
|
+
"json",
|
|
2720
|
+
"yaml",
|
|
2721
|
+
"table"
|
|
2722
|
+
],
|
|
2644
2723
|
"type": "option"
|
|
2645
2724
|
},
|
|
2646
|
-
"
|
|
2647
|
-
"description": "
|
|
2648
|
-
"
|
|
2725
|
+
"json": {
|
|
2726
|
+
"description": "Output in JSON format (alias for --format=json)",
|
|
2727
|
+
"helpGroup": "GLOBAL",
|
|
2728
|
+
"name": "json",
|
|
2729
|
+
"allowNo": false,
|
|
2730
|
+
"type": "boolean"
|
|
2731
|
+
},
|
|
2732
|
+
"quiet": {
|
|
2733
|
+
"description": "Suppress all output except errors",
|
|
2734
|
+
"helpGroup": "GLOBAL",
|
|
2735
|
+
"name": "quiet",
|
|
2736
|
+
"allowNo": false,
|
|
2737
|
+
"type": "boolean"
|
|
2738
|
+
},
|
|
2739
|
+
"no-color": {
|
|
2740
|
+
"description": "Disable color output",
|
|
2741
|
+
"helpGroup": "GLOBAL",
|
|
2742
|
+
"name": "no-color",
|
|
2743
|
+
"allowNo": false,
|
|
2744
|
+
"type": "boolean"
|
|
2745
|
+
},
|
|
2746
|
+
"profile": {
|
|
2747
|
+
"description": "Named configuration profile to use",
|
|
2748
|
+
"helpGroup": "GLOBAL",
|
|
2749
|
+
"name": "profile",
|
|
2750
|
+
"default": "default",
|
|
2649
2751
|
"hasDynamicHelp": false,
|
|
2650
|
-
"multiple":
|
|
2752
|
+
"multiple": false,
|
|
2753
|
+
"type": "option"
|
|
2754
|
+
},
|
|
2755
|
+
"api-url": {
|
|
2756
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
2757
|
+
"helpGroup": "GLOBAL",
|
|
2758
|
+
"name": "api-url",
|
|
2759
|
+
"hasDynamicHelp": false,
|
|
2760
|
+
"multiple": false,
|
|
2651
2761
|
"type": "option"
|
|
2652
2762
|
},
|
|
2653
2763
|
"text": {
|
|
2654
2764
|
"description": "Broadcast message text",
|
|
2655
2765
|
"name": "text",
|
|
2656
|
-
"required": true,
|
|
2657
2766
|
"hasDynamicHelp": false,
|
|
2658
2767
|
"multiple": false,
|
|
2659
2768
|
"type": "option"
|
|
2660
2769
|
},
|
|
2661
|
-
"send-
|
|
2662
|
-
"description": "
|
|
2663
|
-
"name": "send-
|
|
2770
|
+
"send-status": {
|
|
2771
|
+
"description": "Send status",
|
|
2772
|
+
"name": "send-status",
|
|
2664
2773
|
"hasDynamicHelp": false,
|
|
2665
2774
|
"multiple": false,
|
|
2666
2775
|
"type": "option"
|
|
2667
2776
|
},
|
|
2668
|
-
"
|
|
2669
|
-
"description": "
|
|
2670
|
-
"name": "
|
|
2671
|
-
"allowNo": false,
|
|
2672
|
-
"type": "boolean"
|
|
2673
|
-
},
|
|
2674
|
-
"idempotency-key": {
|
|
2675
|
-
"description": "Idempotency key forwarded as Idempotency-Key",
|
|
2676
|
-
"name": "idempotency-key",
|
|
2777
|
+
"scheduled-at": {
|
|
2778
|
+
"description": "Unix timestamp for scheduled send",
|
|
2779
|
+
"name": "scheduled-at",
|
|
2677
2780
|
"hasDynamicHelp": false,
|
|
2678
2781
|
"multiple": false,
|
|
2679
2782
|
"type": "option"
|
|
2680
2783
|
},
|
|
2681
|
-
"
|
|
2682
|
-
"description": "
|
|
2683
|
-
"name": "
|
|
2684
|
-
"
|
|
2685
|
-
"
|
|
2686
|
-
|
|
2784
|
+
"approved": {
|
|
2785
|
+
"description": "Mark as approved",
|
|
2786
|
+
"name": "approved",
|
|
2787
|
+
"allowNo": false,
|
|
2788
|
+
"type": "boolean"
|
|
2789
|
+
},
|
|
2790
|
+
"locked": {
|
|
2791
|
+
"description": "Mark as locked",
|
|
2792
|
+
"name": "locked",
|
|
2793
|
+
"allowNo": false,
|
|
2794
|
+
"type": "boolean"
|
|
2795
|
+
},
|
|
2796
|
+
"test": {
|
|
2797
|
+
"description": "Mark as test broadcast",
|
|
2798
|
+
"name": "test",
|
|
2799
|
+
"allowNo": false,
|
|
2800
|
+
"type": "boolean"
|
|
2687
2801
|
},
|
|
2688
2802
|
"template-id": {
|
|
2689
|
-
"description": "
|
|
2803
|
+
"description": "Template ID",
|
|
2690
2804
|
"name": "template-id",
|
|
2691
2805
|
"hasDynamicHelp": false,
|
|
2692
2806
|
"multiple": false,
|
|
2693
2807
|
"type": "option"
|
|
2694
2808
|
},
|
|
2695
|
-
"
|
|
2696
|
-
"description": "
|
|
2697
|
-
"name": "
|
|
2698
|
-
"
|
|
2809
|
+
"remove-media": {
|
|
2810
|
+
"description": "Remove existing media",
|
|
2811
|
+
"name": "remove-media",
|
|
2812
|
+
"allowNo": false,
|
|
2813
|
+
"type": "boolean"
|
|
2814
|
+
},
|
|
2815
|
+
"header-footer": {
|
|
2816
|
+
"description": "Header/footer JSON array",
|
|
2817
|
+
"name": "header-footer",
|
|
2699
2818
|
"hasDynamicHelp": false,
|
|
2700
2819
|
"multiple": false,
|
|
2701
|
-
"options": [
|
|
2702
|
-
"draft",
|
|
2703
|
-
"scheduled",
|
|
2704
|
-
"sending"
|
|
2705
|
-
],
|
|
2706
2820
|
"type": "option"
|
|
2707
2821
|
},
|
|
2708
|
-
"
|
|
2709
|
-
"description": "
|
|
2710
|
-
"name": "
|
|
2711
|
-
"
|
|
2712
|
-
"
|
|
2822
|
+
"data": {
|
|
2823
|
+
"description": "Additional JSON object payload",
|
|
2824
|
+
"name": "data",
|
|
2825
|
+
"hasDynamicHelp": false,
|
|
2826
|
+
"multiple": false,
|
|
2827
|
+
"type": "option"
|
|
2713
2828
|
}
|
|
2714
2829
|
},
|
|
2715
2830
|
"hasDynamicHelp": false,
|
|
2716
2831
|
"hiddenAliases": [],
|
|
2717
|
-
"id": "broadcast:
|
|
2832
|
+
"id": "broadcast:update",
|
|
2718
2833
|
"pluginAlias": "@instantkom/cli",
|
|
2719
2834
|
"pluginName": "@instantkom/cli",
|
|
2720
2835
|
"pluginType": "core",
|
|
@@ -2725,19 +2840,13 @@
|
|
|
2725
2840
|
"dist",
|
|
2726
2841
|
"commands",
|
|
2727
2842
|
"broadcast",
|
|
2728
|
-
"
|
|
2843
|
+
"update.js"
|
|
2729
2844
|
]
|
|
2730
2845
|
},
|
|
2731
|
-
"
|
|
2846
|
+
"channels:create": {
|
|
2732
2847
|
"aliases": [],
|
|
2733
|
-
"args": {
|
|
2734
|
-
|
|
2735
|
-
"description": "broadcast ID",
|
|
2736
|
-
"name": "id",
|
|
2737
|
-
"required": true
|
|
2738
|
-
}
|
|
2739
|
-
},
|
|
2740
|
-
"description": "Delete broadcast",
|
|
2848
|
+
"args": {},
|
|
2849
|
+
"description": "Create a channel",
|
|
2741
2850
|
"flags": {
|
|
2742
2851
|
"api-key": {
|
|
2743
2852
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2800,11 +2909,48 @@
|
|
|
2800
2909
|
"hasDynamicHelp": false,
|
|
2801
2910
|
"multiple": false,
|
|
2802
2911
|
"type": "option"
|
|
2912
|
+
},
|
|
2913
|
+
"name": {
|
|
2914
|
+
"description": "Channel name",
|
|
2915
|
+
"name": "name",
|
|
2916
|
+
"required": true,
|
|
2917
|
+
"hasDynamicHelp": false,
|
|
2918
|
+
"multiple": false,
|
|
2919
|
+
"type": "option"
|
|
2920
|
+
},
|
|
2921
|
+
"gateway-type": {
|
|
2922
|
+
"description": "Gateway type ID",
|
|
2923
|
+
"name": "gateway-type",
|
|
2924
|
+
"required": true,
|
|
2925
|
+
"hasDynamicHelp": false,
|
|
2926
|
+
"multiple": false,
|
|
2927
|
+
"type": "option"
|
|
2928
|
+
},
|
|
2929
|
+
"status": {
|
|
2930
|
+
"description": "Channel lifecycle status",
|
|
2931
|
+
"name": "status",
|
|
2932
|
+
"hasDynamicHelp": false,
|
|
2933
|
+
"multiple": false,
|
|
2934
|
+
"type": "option"
|
|
2935
|
+
},
|
|
2936
|
+
"description": {
|
|
2937
|
+
"description": "Channel description",
|
|
2938
|
+
"name": "description",
|
|
2939
|
+
"hasDynamicHelp": false,
|
|
2940
|
+
"multiple": false,
|
|
2941
|
+
"type": "option"
|
|
2942
|
+
},
|
|
2943
|
+
"data": {
|
|
2944
|
+
"description": "Additional JSON object payload",
|
|
2945
|
+
"name": "data",
|
|
2946
|
+
"hasDynamicHelp": false,
|
|
2947
|
+
"multiple": false,
|
|
2948
|
+
"type": "option"
|
|
2803
2949
|
}
|
|
2804
2950
|
},
|
|
2805
2951
|
"hasDynamicHelp": false,
|
|
2806
2952
|
"hiddenAliases": [],
|
|
2807
|
-
"id": "
|
|
2953
|
+
"id": "channels:create",
|
|
2808
2954
|
"pluginAlias": "@instantkom/cli",
|
|
2809
2955
|
"pluginName": "@instantkom/cli",
|
|
2810
2956
|
"pluginType": "core",
|
|
@@ -2814,20 +2960,20 @@
|
|
|
2814
2960
|
"relativePath": [
|
|
2815
2961
|
"dist",
|
|
2816
2962
|
"commands",
|
|
2817
|
-
"
|
|
2818
|
-
"
|
|
2963
|
+
"channels",
|
|
2964
|
+
"create.js"
|
|
2819
2965
|
]
|
|
2820
2966
|
},
|
|
2821
|
-
"
|
|
2967
|
+
"channels:get": {
|
|
2822
2968
|
"aliases": [],
|
|
2823
2969
|
"args": {
|
|
2824
2970
|
"id": {
|
|
2825
|
-
"description": "
|
|
2971
|
+
"description": "Channel ID",
|
|
2826
2972
|
"name": "id",
|
|
2827
2973
|
"required": true
|
|
2828
2974
|
}
|
|
2829
2975
|
},
|
|
2830
|
-
"description": "Get
|
|
2976
|
+
"description": "Get a channel by ID",
|
|
2831
2977
|
"flags": {
|
|
2832
2978
|
"api-key": {
|
|
2833
2979
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2894,7 +3040,7 @@
|
|
|
2894
3040
|
},
|
|
2895
3041
|
"hasDynamicHelp": false,
|
|
2896
3042
|
"hiddenAliases": [],
|
|
2897
|
-
"id": "
|
|
3043
|
+
"id": "channels:get",
|
|
2898
3044
|
"pluginAlias": "@instantkom/cli",
|
|
2899
3045
|
"pluginName": "@instantkom/cli",
|
|
2900
3046
|
"pluginType": "core",
|
|
@@ -2904,14 +3050,20 @@
|
|
|
2904
3050
|
"relativePath": [
|
|
2905
3051
|
"dist",
|
|
2906
3052
|
"commands",
|
|
2907
|
-
"
|
|
3053
|
+
"channels",
|
|
2908
3054
|
"get.js"
|
|
2909
3055
|
]
|
|
2910
3056
|
},
|
|
2911
|
-
"
|
|
3057
|
+
"channels:kpis": {
|
|
2912
3058
|
"aliases": [],
|
|
2913
|
-
"args": {
|
|
2914
|
-
|
|
3059
|
+
"args": {
|
|
3060
|
+
"id": {
|
|
3061
|
+
"description": "Optional channel ID; omit for aggregated channel KPIs",
|
|
3062
|
+
"name": "id",
|
|
3063
|
+
"required": false
|
|
3064
|
+
}
|
|
3065
|
+
},
|
|
3066
|
+
"description": "Get channel KPIs",
|
|
2915
3067
|
"flags": {
|
|
2916
3068
|
"api-key": {
|
|
2917
3069
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2975,72 +3127,17 @@
|
|
|
2975
3127
|
"multiple": false,
|
|
2976
3128
|
"type": "option"
|
|
2977
3129
|
},
|
|
2978
|
-
"
|
|
2979
|
-
"description": "
|
|
2980
|
-
"name": "
|
|
2981
|
-
"default": 1,
|
|
2982
|
-
"hasDynamicHelp": false,
|
|
2983
|
-
"multiple": false,
|
|
2984
|
-
"type": "option"
|
|
2985
|
-
},
|
|
2986
|
-
"limit": {
|
|
2987
|
-
"description": "Items per page",
|
|
2988
|
-
"name": "limit",
|
|
2989
|
-
"default": 20,
|
|
2990
|
-
"hasDynamicHelp": false,
|
|
2991
|
-
"multiple": false,
|
|
2992
|
-
"type": "option"
|
|
2993
|
-
},
|
|
2994
|
-
"channel": {
|
|
2995
|
-
"description": "Filter by channel ID",
|
|
2996
|
-
"name": "channel",
|
|
2997
|
-
"hasDynamicHelp": false,
|
|
2998
|
-
"multiple": false,
|
|
2999
|
-
"type": "option"
|
|
3000
|
-
},
|
|
3001
|
-
"send-status": {
|
|
3002
|
-
"description": "Filter by send status",
|
|
3003
|
-
"name": "send-status",
|
|
3004
|
-
"hasDynamicHelp": false,
|
|
3005
|
-
"multiple": false,
|
|
3006
|
-
"type": "option"
|
|
3007
|
-
},
|
|
3008
|
-
"type": {
|
|
3009
|
-
"description": "Broadcast type",
|
|
3010
|
-
"name": "type",
|
|
3011
|
-
"hasDynamicHelp": false,
|
|
3012
|
-
"multiple": false,
|
|
3013
|
-
"options": [
|
|
3014
|
-
"text",
|
|
3015
|
-
"image",
|
|
3016
|
-
"video",
|
|
3017
|
-
"audio",
|
|
3018
|
-
"document"
|
|
3019
|
-
],
|
|
3020
|
-
"type": "option"
|
|
3021
|
-
},
|
|
3022
|
-
"search": {
|
|
3023
|
-
"description": "Search broadcasts",
|
|
3024
|
-
"name": "search",
|
|
3025
|
-
"hasDynamicHelp": false,
|
|
3026
|
-
"multiple": false,
|
|
3027
|
-
"type": "option"
|
|
3028
|
-
},
|
|
3029
|
-
"test": {
|
|
3030
|
-
"description": "Filter test flag: 0 or 1",
|
|
3031
|
-
"name": "test",
|
|
3130
|
+
"period": {
|
|
3131
|
+
"description": "KPI period",
|
|
3132
|
+
"name": "period",
|
|
3032
3133
|
"hasDynamicHelp": false,
|
|
3033
3134
|
"multiple": false,
|
|
3034
|
-
"options": [
|
|
3035
|
-
"0",
|
|
3036
|
-
"1"
|
|
3037
|
-
],
|
|
3038
3135
|
"type": "option"
|
|
3039
3136
|
}
|
|
3040
3137
|
},
|
|
3041
3138
|
"hasDynamicHelp": false,
|
|
3042
3139
|
"hiddenAliases": [],
|
|
3043
|
-
"id": "
|
|
3140
|
+
"id": "channels:kpis",
|
|
3044
3141
|
"pluginAlias": "@instantkom/cli",
|
|
3045
3142
|
"pluginName": "@instantkom/cli",
|
|
3046
3143
|
"pluginType": "core",
|
|
@@ -3050,20 +3147,14 @@
|
|
|
3050
3147
|
"relativePath": [
|
|
3051
3148
|
"dist",
|
|
3052
3149
|
"commands",
|
|
3053
|
-
"
|
|
3054
|
-
"
|
|
3150
|
+
"channels",
|
|
3151
|
+
"kpis.js"
|
|
3055
3152
|
]
|
|
3056
3153
|
},
|
|
3057
|
-
"
|
|
3154
|
+
"channels:list": {
|
|
3058
3155
|
"aliases": [],
|
|
3059
|
-
"args": {
|
|
3060
|
-
|
|
3061
|
-
"description": "Broadcast ID",
|
|
3062
|
-
"name": "id",
|
|
3063
|
-
"required": true
|
|
3064
|
-
}
|
|
3065
|
-
},
|
|
3066
|
-
"description": "Send a broadcast immediately",
|
|
3156
|
+
"args": {},
|
|
3157
|
+
"description": "List channels",
|
|
3067
3158
|
"flags": {
|
|
3068
3159
|
"api-key": {
|
|
3069
3160
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3126,11 +3217,48 @@
|
|
|
3126
3217
|
"hasDynamicHelp": false,
|
|
3127
3218
|
"multiple": false,
|
|
3128
3219
|
"type": "option"
|
|
3220
|
+
},
|
|
3221
|
+
"page": {
|
|
3222
|
+
"description": "Page number",
|
|
3223
|
+
"name": "page",
|
|
3224
|
+
"default": 1,
|
|
3225
|
+
"hasDynamicHelp": false,
|
|
3226
|
+
"multiple": false,
|
|
3227
|
+
"type": "option"
|
|
3228
|
+
},
|
|
3229
|
+
"limit": {
|
|
3230
|
+
"description": "Items per page",
|
|
3231
|
+
"name": "limit",
|
|
3232
|
+
"default": 20,
|
|
3233
|
+
"hasDynamicHelp": false,
|
|
3234
|
+
"multiple": false,
|
|
3235
|
+
"type": "option"
|
|
3236
|
+
},
|
|
3237
|
+
"status": {
|
|
3238
|
+
"description": "Filter by channel status",
|
|
3239
|
+
"name": "status",
|
|
3240
|
+
"hasDynamicHelp": false,
|
|
3241
|
+
"multiple": false,
|
|
3242
|
+
"type": "option"
|
|
3243
|
+
},
|
|
3244
|
+
"gateway-type": {
|
|
3245
|
+
"description": "Filter by gateway type ID",
|
|
3246
|
+
"name": "gateway-type",
|
|
3247
|
+
"hasDynamicHelp": false,
|
|
3248
|
+
"multiple": false,
|
|
3249
|
+
"type": "option"
|
|
3250
|
+
},
|
|
3251
|
+
"search": {
|
|
3252
|
+
"description": "Search by channel name",
|
|
3253
|
+
"name": "search",
|
|
3254
|
+
"hasDynamicHelp": false,
|
|
3255
|
+
"multiple": false,
|
|
3256
|
+
"type": "option"
|
|
3129
3257
|
}
|
|
3130
3258
|
},
|
|
3131
3259
|
"hasDynamicHelp": false,
|
|
3132
3260
|
"hiddenAliases": [],
|
|
3133
|
-
"id": "
|
|
3261
|
+
"id": "channels:list",
|
|
3134
3262
|
"pluginAlias": "@instantkom/cli",
|
|
3135
3263
|
"pluginName": "@instantkom/cli",
|
|
3136
3264
|
"pluginType": "core",
|
|
@@ -3140,20 +3268,20 @@
|
|
|
3140
3268
|
"relativePath": [
|
|
3141
3269
|
"dist",
|
|
3142
3270
|
"commands",
|
|
3143
|
-
"
|
|
3144
|
-
"
|
|
3271
|
+
"channels",
|
|
3272
|
+
"list.js"
|
|
3145
3273
|
]
|
|
3146
3274
|
},
|
|
3147
|
-
"
|
|
3275
|
+
"channels:update": {
|
|
3148
3276
|
"aliases": [],
|
|
3149
3277
|
"args": {
|
|
3150
3278
|
"id": {
|
|
3151
|
-
"description": "
|
|
3279
|
+
"description": "Channel ID",
|
|
3152
3280
|
"name": "id",
|
|
3153
3281
|
"required": true
|
|
3154
3282
|
}
|
|
3155
3283
|
},
|
|
3156
|
-
"description": "
|
|
3284
|
+
"description": "Update a channel",
|
|
3157
3285
|
"flags": {
|
|
3158
3286
|
"api-key": {
|
|
3159
3287
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3216,11 +3344,39 @@
|
|
|
3216
3344
|
"hasDynamicHelp": false,
|
|
3217
3345
|
"multiple": false,
|
|
3218
3346
|
"type": "option"
|
|
3347
|
+
},
|
|
3348
|
+
"name": {
|
|
3349
|
+
"description": "Channel name",
|
|
3350
|
+
"name": "name",
|
|
3351
|
+
"hasDynamicHelp": false,
|
|
3352
|
+
"multiple": false,
|
|
3353
|
+
"type": "option"
|
|
3354
|
+
},
|
|
3355
|
+
"status": {
|
|
3356
|
+
"description": "Channel lifecycle status",
|
|
3357
|
+
"name": "status",
|
|
3358
|
+
"hasDynamicHelp": false,
|
|
3359
|
+
"multiple": false,
|
|
3360
|
+
"type": "option"
|
|
3361
|
+
},
|
|
3362
|
+
"description": {
|
|
3363
|
+
"description": "Channel description",
|
|
3364
|
+
"name": "description",
|
|
3365
|
+
"hasDynamicHelp": false,
|
|
3366
|
+
"multiple": false,
|
|
3367
|
+
"type": "option"
|
|
3368
|
+
},
|
|
3369
|
+
"data": {
|
|
3370
|
+
"description": "Additional JSON object payload",
|
|
3371
|
+
"name": "data",
|
|
3372
|
+
"hasDynamicHelp": false,
|
|
3373
|
+
"multiple": false,
|
|
3374
|
+
"type": "option"
|
|
3219
3375
|
}
|
|
3220
3376
|
},
|
|
3221
3377
|
"hasDynamicHelp": false,
|
|
3222
3378
|
"hiddenAliases": [],
|
|
3223
|
-
"id": "
|
|
3379
|
+
"id": "channels:update",
|
|
3224
3380
|
"pluginAlias": "@instantkom/cli",
|
|
3225
3381
|
"pluginName": "@instantkom/cli",
|
|
3226
3382
|
"pluginType": "core",
|
|
@@ -3230,20 +3386,20 @@
|
|
|
3230
3386
|
"relativePath": [
|
|
3231
3387
|
"dist",
|
|
3232
3388
|
"commands",
|
|
3233
|
-
"
|
|
3234
|
-
"
|
|
3389
|
+
"channels",
|
|
3390
|
+
"update.js"
|
|
3235
3391
|
]
|
|
3236
3392
|
},
|
|
3237
|
-
"
|
|
3393
|
+
"chats:get": {
|
|
3238
3394
|
"aliases": [],
|
|
3239
3395
|
"args": {
|
|
3240
3396
|
"id": {
|
|
3241
|
-
"description": "
|
|
3397
|
+
"description": "chat ID",
|
|
3242
3398
|
"name": "id",
|
|
3243
3399
|
"required": true
|
|
3244
3400
|
}
|
|
3245
3401
|
},
|
|
3246
|
-
"description": "
|
|
3402
|
+
"description": "Get chat by ID",
|
|
3247
3403
|
"flags": {
|
|
3248
3404
|
"api-key": {
|
|
3249
3405
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3306,77 +3462,11 @@
|
|
|
3306
3462
|
"hasDynamicHelp": false,
|
|
3307
3463
|
"multiple": false,
|
|
3308
3464
|
"type": "option"
|
|
3309
|
-
},
|
|
3310
|
-
"text": {
|
|
3311
|
-
"description": "Broadcast message text",
|
|
3312
|
-
"name": "text",
|
|
3313
|
-
"hasDynamicHelp": false,
|
|
3314
|
-
"multiple": false,
|
|
3315
|
-
"type": "option"
|
|
3316
|
-
},
|
|
3317
|
-
"send-status": {
|
|
3318
|
-
"description": "Send status",
|
|
3319
|
-
"name": "send-status",
|
|
3320
|
-
"hasDynamicHelp": false,
|
|
3321
|
-
"multiple": false,
|
|
3322
|
-
"type": "option"
|
|
3323
|
-
},
|
|
3324
|
-
"scheduled-at": {
|
|
3325
|
-
"description": "Unix timestamp for scheduled send",
|
|
3326
|
-
"name": "scheduled-at",
|
|
3327
|
-
"hasDynamicHelp": false,
|
|
3328
|
-
"multiple": false,
|
|
3329
|
-
"type": "option"
|
|
3330
|
-
},
|
|
3331
|
-
"approved": {
|
|
3332
|
-
"description": "Mark as approved",
|
|
3333
|
-
"name": "approved",
|
|
3334
|
-
"allowNo": false,
|
|
3335
|
-
"type": "boolean"
|
|
3336
|
-
},
|
|
3337
|
-
"locked": {
|
|
3338
|
-
"description": "Mark as locked",
|
|
3339
|
-
"name": "locked",
|
|
3340
|
-
"allowNo": false,
|
|
3341
|
-
"type": "boolean"
|
|
3342
|
-
},
|
|
3343
|
-
"test": {
|
|
3344
|
-
"description": "Mark as test broadcast",
|
|
3345
|
-
"name": "test",
|
|
3346
|
-
"allowNo": false,
|
|
3347
|
-
"type": "boolean"
|
|
3348
|
-
},
|
|
3349
|
-
"template-id": {
|
|
3350
|
-
"description": "Template ID",
|
|
3351
|
-
"name": "template-id",
|
|
3352
|
-
"hasDynamicHelp": false,
|
|
3353
|
-
"multiple": false,
|
|
3354
|
-
"type": "option"
|
|
3355
|
-
},
|
|
3356
|
-
"remove-media": {
|
|
3357
|
-
"description": "Remove existing media",
|
|
3358
|
-
"name": "remove-media",
|
|
3359
|
-
"allowNo": false,
|
|
3360
|
-
"type": "boolean"
|
|
3361
|
-
},
|
|
3362
|
-
"header-footer": {
|
|
3363
|
-
"description": "Header/footer JSON array",
|
|
3364
|
-
"name": "header-footer",
|
|
3365
|
-
"hasDynamicHelp": false,
|
|
3366
|
-
"multiple": false,
|
|
3367
|
-
"type": "option"
|
|
3368
|
-
},
|
|
3369
|
-
"data": {
|
|
3370
|
-
"description": "Additional JSON object payload",
|
|
3371
|
-
"name": "data",
|
|
3372
|
-
"hasDynamicHelp": false,
|
|
3373
|
-
"multiple": false,
|
|
3374
|
-
"type": "option"
|
|
3375
3465
|
}
|
|
3376
3466
|
},
|
|
3377
3467
|
"hasDynamicHelp": false,
|
|
3378
3468
|
"hiddenAliases": [],
|
|
3379
|
-
"id": "
|
|
3469
|
+
"id": "chats:get",
|
|
3380
3470
|
"pluginAlias": "@instantkom/cli",
|
|
3381
3471
|
"pluginName": "@instantkom/cli",
|
|
3382
3472
|
"pluginType": "core",
|
|
@@ -3386,20 +3476,14 @@
|
|
|
3386
3476
|
"relativePath": [
|
|
3387
3477
|
"dist",
|
|
3388
3478
|
"commands",
|
|
3389
|
-
"
|
|
3390
|
-
"
|
|
3479
|
+
"chats",
|
|
3480
|
+
"get.js"
|
|
3391
3481
|
]
|
|
3392
3482
|
},
|
|
3393
|
-
"
|
|
3483
|
+
"chats:list": {
|
|
3394
3484
|
"aliases": [],
|
|
3395
|
-
"args": {
|
|
3396
|
-
|
|
3397
|
-
"description": "Configuration key to retrieve",
|
|
3398
|
-
"name": "key",
|
|
3399
|
-
"required": true
|
|
3400
|
-
}
|
|
3401
|
-
},
|
|
3402
|
-
"description": "Get a configuration value for the current profile",
|
|
3485
|
+
"args": {},
|
|
3486
|
+
"description": "List chats",
|
|
3403
3487
|
"flags": {
|
|
3404
3488
|
"api-key": {
|
|
3405
3489
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3462,11 +3546,73 @@
|
|
|
3462
3546
|
"hasDynamicHelp": false,
|
|
3463
3547
|
"multiple": false,
|
|
3464
3548
|
"type": "option"
|
|
3549
|
+
},
|
|
3550
|
+
"page": {
|
|
3551
|
+
"description": "Page number",
|
|
3552
|
+
"name": "page",
|
|
3553
|
+
"default": 1,
|
|
3554
|
+
"hasDynamicHelp": false,
|
|
3555
|
+
"multiple": false,
|
|
3556
|
+
"type": "option"
|
|
3557
|
+
},
|
|
3558
|
+
"limit": {
|
|
3559
|
+
"description": "Items per page",
|
|
3560
|
+
"name": "limit",
|
|
3561
|
+
"default": 20,
|
|
3562
|
+
"hasDynamicHelp": false,
|
|
3563
|
+
"multiple": false,
|
|
3564
|
+
"type": "option"
|
|
3565
|
+
},
|
|
3566
|
+
"channel": {
|
|
3567
|
+
"description": "Filter by channel ID",
|
|
3568
|
+
"name": "channel",
|
|
3569
|
+
"hasDynamicHelp": false,
|
|
3570
|
+
"multiple": false,
|
|
3571
|
+
"type": "option"
|
|
3572
|
+
},
|
|
3573
|
+
"channels": {
|
|
3574
|
+
"description": "Comma-separated channel IDs",
|
|
3575
|
+
"name": "channels",
|
|
3576
|
+
"hasDynamicHelp": false,
|
|
3577
|
+
"multiple": false,
|
|
3578
|
+
"type": "option"
|
|
3579
|
+
},
|
|
3580
|
+
"search": {
|
|
3581
|
+
"description": "Search chats",
|
|
3582
|
+
"name": "search",
|
|
3583
|
+
"hasDynamicHelp": false,
|
|
3584
|
+
"multiple": false,
|
|
3585
|
+
"type": "option"
|
|
3586
|
+
},
|
|
3587
|
+
"status": {
|
|
3588
|
+
"description": "Chat status",
|
|
3589
|
+
"name": "status",
|
|
3590
|
+
"hasDynamicHelp": false,
|
|
3591
|
+
"multiple": false,
|
|
3592
|
+
"options": [
|
|
3593
|
+
"all",
|
|
3594
|
+
"unread",
|
|
3595
|
+
"read",
|
|
3596
|
+
"archived"
|
|
3597
|
+
],
|
|
3598
|
+
"type": "option"
|
|
3599
|
+
},
|
|
3600
|
+
"unread-only": {
|
|
3601
|
+
"description": "Only unread chats",
|
|
3602
|
+
"name": "unread-only",
|
|
3603
|
+
"allowNo": false,
|
|
3604
|
+
"type": "boolean"
|
|
3605
|
+
},
|
|
3606
|
+
"include-archived": {
|
|
3607
|
+
"description": "Include archived chats",
|
|
3608
|
+
"name": "include-archived",
|
|
3609
|
+
"allowNo": false,
|
|
3610
|
+
"type": "boolean"
|
|
3465
3611
|
}
|
|
3466
3612
|
},
|
|
3467
3613
|
"hasDynamicHelp": false,
|
|
3468
3614
|
"hiddenAliases": [],
|
|
3469
|
-
"id": "
|
|
3615
|
+
"id": "chats:list",
|
|
3470
3616
|
"pluginAlias": "@instantkom/cli",
|
|
3471
3617
|
"pluginName": "@instantkom/cli",
|
|
3472
3618
|
"pluginType": "core",
|
|
@@ -3476,25 +3622,20 @@
|
|
|
3476
3622
|
"relativePath": [
|
|
3477
3623
|
"dist",
|
|
3478
3624
|
"commands",
|
|
3479
|
-
"
|
|
3480
|
-
"
|
|
3625
|
+
"chats",
|
|
3626
|
+
"list.js"
|
|
3481
3627
|
]
|
|
3482
3628
|
},
|
|
3483
|
-
"
|
|
3629
|
+
"chats:reply": {
|
|
3484
3630
|
"aliases": [],
|
|
3485
3631
|
"args": {
|
|
3486
|
-
"
|
|
3487
|
-
"description": "
|
|
3488
|
-
"name": "
|
|
3489
|
-
"required": true
|
|
3490
|
-
},
|
|
3491
|
-
"value": {
|
|
3492
|
-
"description": "Value to assign",
|
|
3493
|
-
"name": "value",
|
|
3632
|
+
"id": {
|
|
3633
|
+
"description": "Chat ID",
|
|
3634
|
+
"name": "id",
|
|
3494
3635
|
"required": true
|
|
3495
3636
|
}
|
|
3496
3637
|
},
|
|
3497
|
-
"description": "
|
|
3638
|
+
"description": "Reply in a chat",
|
|
3498
3639
|
"flags": {
|
|
3499
3640
|
"api-key": {
|
|
3500
3641
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3557,11 +3698,19 @@
|
|
|
3557
3698
|
"hasDynamicHelp": false,
|
|
3558
3699
|
"multiple": false,
|
|
3559
3700
|
"type": "option"
|
|
3701
|
+
},
|
|
3702
|
+
"text": {
|
|
3703
|
+
"description": "Reply text",
|
|
3704
|
+
"name": "text",
|
|
3705
|
+
"required": true,
|
|
3706
|
+
"hasDynamicHelp": false,
|
|
3707
|
+
"multiple": false,
|
|
3708
|
+
"type": "option"
|
|
3560
3709
|
}
|
|
3561
3710
|
},
|
|
3562
3711
|
"hasDynamicHelp": false,
|
|
3563
3712
|
"hiddenAliases": [],
|
|
3564
|
-
"id": "
|
|
3713
|
+
"id": "chats:reply",
|
|
3565
3714
|
"pluginAlias": "@instantkom/cli",
|
|
3566
3715
|
"pluginName": "@instantkom/cli",
|
|
3567
3716
|
"pluginType": "core",
|
|
@@ -3571,20 +3720,20 @@
|
|
|
3571
3720
|
"relativePath": [
|
|
3572
3721
|
"dist",
|
|
3573
3722
|
"commands",
|
|
3574
|
-
"
|
|
3575
|
-
"
|
|
3723
|
+
"chats",
|
|
3724
|
+
"reply.js"
|
|
3576
3725
|
]
|
|
3577
3726
|
},
|
|
3578
|
-
"config:
|
|
3727
|
+
"config:get": {
|
|
3579
3728
|
"aliases": [],
|
|
3580
3729
|
"args": {
|
|
3581
3730
|
"key": {
|
|
3582
|
-
"description": "Configuration key to
|
|
3731
|
+
"description": "Configuration key to retrieve",
|
|
3583
3732
|
"name": "key",
|
|
3584
3733
|
"required": true
|
|
3585
3734
|
}
|
|
3586
3735
|
},
|
|
3587
|
-
"description": "
|
|
3736
|
+
"description": "Get a configuration value for the current profile",
|
|
3588
3737
|
"flags": {
|
|
3589
3738
|
"api-key": {
|
|
3590
3739
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3651,7 +3800,7 @@
|
|
|
3651
3800
|
},
|
|
3652
3801
|
"hasDynamicHelp": false,
|
|
3653
3802
|
"hiddenAliases": [],
|
|
3654
|
-
"id": "config:
|
|
3803
|
+
"id": "config:get",
|
|
3655
3804
|
"pluginAlias": "@instantkom/cli",
|
|
3656
3805
|
"pluginName": "@instantkom/cli",
|
|
3657
3806
|
"pluginType": "core",
|
|
@@ -3662,13 +3811,24 @@
|
|
|
3662
3811
|
"dist",
|
|
3663
3812
|
"commands",
|
|
3664
3813
|
"config",
|
|
3665
|
-
"
|
|
3814
|
+
"get.js"
|
|
3666
3815
|
]
|
|
3667
3816
|
},
|
|
3668
|
-
"
|
|
3817
|
+
"config:set": {
|
|
3669
3818
|
"aliases": [],
|
|
3670
|
-
"args": {
|
|
3671
|
-
|
|
3819
|
+
"args": {
|
|
3820
|
+
"key": {
|
|
3821
|
+
"description": "Configuration key to set",
|
|
3822
|
+
"name": "key",
|
|
3823
|
+
"required": true
|
|
3824
|
+
},
|
|
3825
|
+
"value": {
|
|
3826
|
+
"description": "Value to assign",
|
|
3827
|
+
"name": "value",
|
|
3828
|
+
"required": true
|
|
3829
|
+
}
|
|
3830
|
+
},
|
|
3831
|
+
"description": "Set a configuration value for the current profile",
|
|
3672
3832
|
"flags": {
|
|
3673
3833
|
"api-key": {
|
|
3674
3834
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3731,41 +3891,11 @@
|
|
|
3731
3891
|
"hasDynamicHelp": false,
|
|
3732
3892
|
"multiple": false,
|
|
3733
3893
|
"type": "option"
|
|
3734
|
-
},
|
|
3735
|
-
"channel": {
|
|
3736
|
-
"description": "Channel ID",
|
|
3737
|
-
"name": "channel",
|
|
3738
|
-
"required": true,
|
|
3739
|
-
"hasDynamicHelp": false,
|
|
3740
|
-
"multiple": false,
|
|
3741
|
-
"type": "option"
|
|
3742
|
-
},
|
|
3743
|
-
"identifier": {
|
|
3744
|
-
"description": "Unique contact identifier",
|
|
3745
|
-
"name": "identifier",
|
|
3746
|
-
"required": true,
|
|
3747
|
-
"hasDynamicHelp": false,
|
|
3748
|
-
"multiple": false,
|
|
3749
|
-
"type": "option"
|
|
3750
|
-
},
|
|
3751
|
-
"name": {
|
|
3752
|
-
"description": "Contact name",
|
|
3753
|
-
"name": "name",
|
|
3754
|
-
"hasDynamicHelp": false,
|
|
3755
|
-
"multiple": false,
|
|
3756
|
-
"type": "option"
|
|
3757
|
-
},
|
|
3758
|
-
"data": {
|
|
3759
|
-
"description": "Additional JSON object payload",
|
|
3760
|
-
"name": "data",
|
|
3761
|
-
"hasDynamicHelp": false,
|
|
3762
|
-
"multiple": false,
|
|
3763
|
-
"type": "option"
|
|
3764
3894
|
}
|
|
3765
3895
|
},
|
|
3766
3896
|
"hasDynamicHelp": false,
|
|
3767
3897
|
"hiddenAliases": [],
|
|
3768
|
-
"id": "
|
|
3898
|
+
"id": "config:set",
|
|
3769
3899
|
"pluginAlias": "@instantkom/cli",
|
|
3770
3900
|
"pluginName": "@instantkom/cli",
|
|
3771
3901
|
"pluginType": "core",
|
|
@@ -3775,20 +3905,20 @@
|
|
|
3775
3905
|
"relativePath": [
|
|
3776
3906
|
"dist",
|
|
3777
3907
|
"commands",
|
|
3778
|
-
"
|
|
3779
|
-
"
|
|
3908
|
+
"config",
|
|
3909
|
+
"set.js"
|
|
3780
3910
|
]
|
|
3781
3911
|
},
|
|
3782
|
-
"
|
|
3912
|
+
"config:unset": {
|
|
3783
3913
|
"aliases": [],
|
|
3784
3914
|
"args": {
|
|
3785
|
-
"
|
|
3786
|
-
"description": "
|
|
3787
|
-
"name": "
|
|
3915
|
+
"key": {
|
|
3916
|
+
"description": "Configuration key to remove",
|
|
3917
|
+
"name": "key",
|
|
3788
3918
|
"required": true
|
|
3789
3919
|
}
|
|
3790
3920
|
},
|
|
3791
|
-
"description": "
|
|
3921
|
+
"description": "Remove a configuration key from the current profile",
|
|
3792
3922
|
"flags": {
|
|
3793
3923
|
"api-key": {
|
|
3794
3924
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3855,7 +3985,7 @@
|
|
|
3855
3985
|
},
|
|
3856
3986
|
"hasDynamicHelp": false,
|
|
3857
3987
|
"hiddenAliases": [],
|
|
3858
|
-
"id": "
|
|
3988
|
+
"id": "config:unset",
|
|
3859
3989
|
"pluginAlias": "@instantkom/cli",
|
|
3860
3990
|
"pluginName": "@instantkom/cli",
|
|
3861
3991
|
"pluginType": "core",
|
|
@@ -3865,14 +3995,14 @@
|
|
|
3865
3995
|
"relativePath": [
|
|
3866
3996
|
"dist",
|
|
3867
3997
|
"commands",
|
|
3868
|
-
"
|
|
3869
|
-
"
|
|
3998
|
+
"config",
|
|
3999
|
+
"unset.js"
|
|
3870
4000
|
]
|
|
3871
4001
|
},
|
|
3872
|
-
"contacts:
|
|
4002
|
+
"contacts:create": {
|
|
3873
4003
|
"aliases": [],
|
|
3874
4004
|
"args": {},
|
|
3875
|
-
"description": "
|
|
4005
|
+
"description": "Create a contact",
|
|
3876
4006
|
"flags": {
|
|
3877
4007
|
"api-key": {
|
|
3878
4008
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3936,40 +4066,32 @@
|
|
|
3936
4066
|
"multiple": false,
|
|
3937
4067
|
"type": "option"
|
|
3938
4068
|
},
|
|
3939
|
-
"file": {
|
|
3940
|
-
"description": "CSV output file path",
|
|
3941
|
-
"name": "file",
|
|
3942
|
-
"required": true,
|
|
3943
|
-
"hasDynamicHelp": false,
|
|
3944
|
-
"multiple": false,
|
|
3945
|
-
"type": "option"
|
|
3946
|
-
},
|
|
3947
4069
|
"channel": {
|
|
3948
|
-
"description": "
|
|
4070
|
+
"description": "Channel ID",
|
|
3949
4071
|
"name": "channel",
|
|
4072
|
+
"required": true,
|
|
3950
4073
|
"hasDynamicHelp": false,
|
|
3951
4074
|
"multiple": false,
|
|
3952
4075
|
"type": "option"
|
|
3953
4076
|
},
|
|
3954
|
-
"
|
|
3955
|
-
"description": "
|
|
3956
|
-
"name": "
|
|
4077
|
+
"identifier": {
|
|
4078
|
+
"description": "Unique contact identifier",
|
|
4079
|
+
"name": "identifier",
|
|
4080
|
+
"required": true,
|
|
3957
4081
|
"hasDynamicHelp": false,
|
|
3958
4082
|
"multiple": false,
|
|
3959
4083
|
"type": "option"
|
|
3960
4084
|
},
|
|
3961
|
-
"
|
|
3962
|
-
"description": "
|
|
3963
|
-
"name": "
|
|
3964
|
-
"default": 1,
|
|
4085
|
+
"name": {
|
|
4086
|
+
"description": "Contact name",
|
|
4087
|
+
"name": "name",
|
|
3965
4088
|
"hasDynamicHelp": false,
|
|
3966
4089
|
"multiple": false,
|
|
3967
4090
|
"type": "option"
|
|
3968
4091
|
},
|
|
3969
|
-
"
|
|
3970
|
-
"description": "
|
|
3971
|
-
"name": "
|
|
3972
|
-
"default": 100,
|
|
4092
|
+
"data": {
|
|
4093
|
+
"description": "Additional JSON object payload",
|
|
4094
|
+
"name": "data",
|
|
3973
4095
|
"hasDynamicHelp": false,
|
|
3974
4096
|
"multiple": false,
|
|
3975
4097
|
"type": "option"
|
|
@@ -3977,7 +4099,7 @@
|
|
|
3977
4099
|
},
|
|
3978
4100
|
"hasDynamicHelp": false,
|
|
3979
4101
|
"hiddenAliases": [],
|
|
3980
|
-
"id": "contacts:
|
|
4102
|
+
"id": "contacts:create",
|
|
3981
4103
|
"pluginAlias": "@instantkom/cli",
|
|
3982
4104
|
"pluginName": "@instantkom/cli",
|
|
3983
4105
|
"pluginType": "core",
|
|
@@ -3988,10 +4110,10 @@
|
|
|
3988
4110
|
"dist",
|
|
3989
4111
|
"commands",
|
|
3990
4112
|
"contacts",
|
|
3991
|
-
"
|
|
4113
|
+
"create.js"
|
|
3992
4114
|
]
|
|
3993
4115
|
},
|
|
3994
|
-
"contacts:
|
|
4116
|
+
"contacts:delete": {
|
|
3995
4117
|
"aliases": [],
|
|
3996
4118
|
"args": {
|
|
3997
4119
|
"id": {
|
|
@@ -4000,91 +4122,7 @@
|
|
|
4000
4122
|
"required": true
|
|
4001
4123
|
}
|
|
4002
4124
|
},
|
|
4003
|
-
"description": "
|
|
4004
|
-
"flags": {
|
|
4005
|
-
"api-key": {
|
|
4006
|
-
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
4007
|
-
"env": "IKM_API_KEY",
|
|
4008
|
-
"helpGroup": "GLOBAL",
|
|
4009
|
-
"name": "api-key",
|
|
4010
|
-
"hasDynamicHelp": false,
|
|
4011
|
-
"multiple": false,
|
|
4012
|
-
"type": "option"
|
|
4013
|
-
},
|
|
4014
|
-
"format": {
|
|
4015
|
-
"description": "Output format: text, json, yaml, or table",
|
|
4016
|
-
"helpGroup": "GLOBAL",
|
|
4017
|
-
"name": "format",
|
|
4018
|
-
"default": "text",
|
|
4019
|
-
"hasDynamicHelp": false,
|
|
4020
|
-
"multiple": false,
|
|
4021
|
-
"options": [
|
|
4022
|
-
"text",
|
|
4023
|
-
"json",
|
|
4024
|
-
"yaml",
|
|
4025
|
-
"table"
|
|
4026
|
-
],
|
|
4027
|
-
"type": "option"
|
|
4028
|
-
},
|
|
4029
|
-
"json": {
|
|
4030
|
-
"description": "Output in JSON format (alias for --format=json)",
|
|
4031
|
-
"helpGroup": "GLOBAL",
|
|
4032
|
-
"name": "json",
|
|
4033
|
-
"allowNo": false,
|
|
4034
|
-
"type": "boolean"
|
|
4035
|
-
},
|
|
4036
|
-
"quiet": {
|
|
4037
|
-
"description": "Suppress all output except errors",
|
|
4038
|
-
"helpGroup": "GLOBAL",
|
|
4039
|
-
"name": "quiet",
|
|
4040
|
-
"allowNo": false,
|
|
4041
|
-
"type": "boolean"
|
|
4042
|
-
},
|
|
4043
|
-
"no-color": {
|
|
4044
|
-
"description": "Disable color output",
|
|
4045
|
-
"helpGroup": "GLOBAL",
|
|
4046
|
-
"name": "no-color",
|
|
4047
|
-
"allowNo": false,
|
|
4048
|
-
"type": "boolean"
|
|
4049
|
-
},
|
|
4050
|
-
"profile": {
|
|
4051
|
-
"description": "Named configuration profile to use",
|
|
4052
|
-
"helpGroup": "GLOBAL",
|
|
4053
|
-
"name": "profile",
|
|
4054
|
-
"default": "default",
|
|
4055
|
-
"hasDynamicHelp": false,
|
|
4056
|
-
"multiple": false,
|
|
4057
|
-
"type": "option"
|
|
4058
|
-
},
|
|
4059
|
-
"api-url": {
|
|
4060
|
-
"description": "Override the API base URL (e.g. for staging)",
|
|
4061
|
-
"helpGroup": "GLOBAL",
|
|
4062
|
-
"name": "api-url",
|
|
4063
|
-
"hasDynamicHelp": false,
|
|
4064
|
-
"multiple": false,
|
|
4065
|
-
"type": "option"
|
|
4066
|
-
}
|
|
4067
|
-
},
|
|
4068
|
-
"hasDynamicHelp": false,
|
|
4069
|
-
"hiddenAliases": [],
|
|
4070
|
-
"id": "contacts:get",
|
|
4071
|
-
"pluginAlias": "@instantkom/cli",
|
|
4072
|
-
"pluginName": "@instantkom/cli",
|
|
4073
|
-
"pluginType": "core",
|
|
4074
|
-
"strict": true,
|
|
4075
|
-
"enableJsonFlag": false,
|
|
4076
|
-
"isESM": true,
|
|
4077
|
-
"relativePath": [
|
|
4078
|
-
"dist",
|
|
4079
|
-
"commands",
|
|
4080
|
-
"contacts",
|
|
4081
|
-
"get.js"
|
|
4082
|
-
]
|
|
4083
|
-
},
|
|
4084
|
-
"contacts:import": {
|
|
4085
|
-
"aliases": [],
|
|
4086
|
-
"args": {},
|
|
4087
|
-
"description": "Import contacts from CSV",
|
|
4125
|
+
"description": "Delete a contact",
|
|
4088
4126
|
"flags": {
|
|
4089
4127
|
"api-key": {
|
|
4090
4128
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4147,27 +4185,11 @@
|
|
|
4147
4185
|
"hasDynamicHelp": false,
|
|
4148
4186
|
"multiple": false,
|
|
4149
4187
|
"type": "option"
|
|
4150
|
-
},
|
|
4151
|
-
"file": {
|
|
4152
|
-
"description": "CSV file path",
|
|
4153
|
-
"name": "file",
|
|
4154
|
-
"required": true,
|
|
4155
|
-
"hasDynamicHelp": false,
|
|
4156
|
-
"multiple": false,
|
|
4157
|
-
"type": "option"
|
|
4158
|
-
},
|
|
4159
|
-
"channel": {
|
|
4160
|
-
"description": "Channel ID",
|
|
4161
|
-
"name": "channel",
|
|
4162
|
-
"required": true,
|
|
4163
|
-
"hasDynamicHelp": false,
|
|
4164
|
-
"multiple": false,
|
|
4165
|
-
"type": "option"
|
|
4166
4188
|
}
|
|
4167
4189
|
},
|
|
4168
4190
|
"hasDynamicHelp": false,
|
|
4169
4191
|
"hiddenAliases": [],
|
|
4170
|
-
"id": "contacts:
|
|
4192
|
+
"id": "contacts:delete",
|
|
4171
4193
|
"pluginAlias": "@instantkom/cli",
|
|
4172
4194
|
"pluginName": "@instantkom/cli",
|
|
4173
4195
|
"pluginType": "core",
|
|
@@ -4178,13 +4200,13 @@
|
|
|
4178
4200
|
"dist",
|
|
4179
4201
|
"commands",
|
|
4180
4202
|
"contacts",
|
|
4181
|
-
"
|
|
4203
|
+
"delete.js"
|
|
4182
4204
|
]
|
|
4183
4205
|
},
|
|
4184
|
-
"contacts:
|
|
4206
|
+
"contacts:export": {
|
|
4185
4207
|
"aliases": [],
|
|
4186
4208
|
"args": {},
|
|
4187
|
-
"description": "
|
|
4209
|
+
"description": "Export contacts to CSV",
|
|
4188
4210
|
"flags": {
|
|
4189
4211
|
"api-key": {
|
|
4190
4212
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4248,6 +4270,14 @@
|
|
|
4248
4270
|
"multiple": false,
|
|
4249
4271
|
"type": "option"
|
|
4250
4272
|
},
|
|
4273
|
+
"file": {
|
|
4274
|
+
"description": "CSV output file path",
|
|
4275
|
+
"name": "file",
|
|
4276
|
+
"required": true,
|
|
4277
|
+
"hasDynamicHelp": false,
|
|
4278
|
+
"multiple": false,
|
|
4279
|
+
"type": "option"
|
|
4280
|
+
},
|
|
4251
4281
|
"channel": {
|
|
4252
4282
|
"description": "Filter by channel ID",
|
|
4253
4283
|
"name": "channel",
|
|
@@ -4273,72 +4303,7 @@
|
|
|
4273
4303
|
"limit": {
|
|
4274
4304
|
"description": "Items per page",
|
|
4275
4305
|
"name": "limit",
|
|
4276
|
-
"default":
|
|
4277
|
-
"hasDynamicHelp": false,
|
|
4278
|
-
"multiple": false,
|
|
4279
|
-
"type": "option"
|
|
4280
|
-
},
|
|
4281
|
-
"optin-status": {
|
|
4282
|
-
"description": "Filter by opt-in status",
|
|
4283
|
-
"name": "optin-status",
|
|
4284
|
-
"hasDynamicHelp": false,
|
|
4285
|
-
"multiple": false,
|
|
4286
|
-
"options": [
|
|
4287
|
-
"0",
|
|
4288
|
-
"1"
|
|
4289
|
-
],
|
|
4290
|
-
"type": "option"
|
|
4291
|
-
},
|
|
4292
|
-
"blocked": {
|
|
4293
|
-
"description": "Filter by blocked status: 1 blocked, 0 not blocked",
|
|
4294
|
-
"name": "blocked",
|
|
4295
|
-
"hasDynamicHelp": false,
|
|
4296
|
-
"multiple": false,
|
|
4297
|
-
"options": [
|
|
4298
|
-
"0",
|
|
4299
|
-
"1"
|
|
4300
|
-
],
|
|
4301
|
-
"type": "option"
|
|
4302
|
-
},
|
|
4303
|
-
"segment": {
|
|
4304
|
-
"description": "Filter by segment ID",
|
|
4305
|
-
"name": "segment",
|
|
4306
|
-
"hasDynamicHelp": false,
|
|
4307
|
-
"multiple": false,
|
|
4308
|
-
"type": "option"
|
|
4309
|
-
},
|
|
4310
|
-
"tags": {
|
|
4311
|
-
"description": "Comma-separated tag IDs",
|
|
4312
|
-
"name": "tags",
|
|
4313
|
-
"hasDynamicHelp": false,
|
|
4314
|
-
"multiple": false,
|
|
4315
|
-
"type": "option"
|
|
4316
|
-
},
|
|
4317
|
-
"tag-match": {
|
|
4318
|
-
"description": "Tag match mode",
|
|
4319
|
-
"name": "tag-match",
|
|
4320
|
-
"hasDynamicHelp": false,
|
|
4321
|
-
"multiple": false,
|
|
4322
|
-
"options": [
|
|
4323
|
-
"any",
|
|
4324
|
-
"all"
|
|
4325
|
-
],
|
|
4326
|
-
"type": "option"
|
|
4327
|
-
},
|
|
4328
|
-
"spam": {
|
|
4329
|
-
"description": "Filter by spam status",
|
|
4330
|
-
"name": "spam",
|
|
4331
|
-
"hasDynamicHelp": false,
|
|
4332
|
-
"multiple": false,
|
|
4333
|
-
"options": [
|
|
4334
|
-
"true",
|
|
4335
|
-
"false"
|
|
4336
|
-
],
|
|
4337
|
-
"type": "option"
|
|
4338
|
-
},
|
|
4339
|
-
"trust-level": {
|
|
4340
|
-
"description": "Comma-separated trust levels",
|
|
4341
|
-
"name": "trust-level",
|
|
4306
|
+
"default": 100,
|
|
4342
4307
|
"hasDynamicHelp": false,
|
|
4343
4308
|
"multiple": false,
|
|
4344
4309
|
"type": "option"
|
|
@@ -4346,7 +4311,7 @@
|
|
|
4346
4311
|
},
|
|
4347
4312
|
"hasDynamicHelp": false,
|
|
4348
4313
|
"hiddenAliases": [],
|
|
4349
|
-
"id": "contacts:
|
|
4314
|
+
"id": "contacts:export",
|
|
4350
4315
|
"pluginAlias": "@instantkom/cli",
|
|
4351
4316
|
"pluginName": "@instantkom/cli",
|
|
4352
4317
|
"pluginType": "core",
|
|
@@ -4357,10 +4322,10 @@
|
|
|
4357
4322
|
"dist",
|
|
4358
4323
|
"commands",
|
|
4359
4324
|
"contacts",
|
|
4360
|
-
"
|
|
4325
|
+
"export.js"
|
|
4361
4326
|
]
|
|
4362
4327
|
},
|
|
4363
|
-
"contacts:
|
|
4328
|
+
"contacts:get": {
|
|
4364
4329
|
"aliases": [],
|
|
4365
4330
|
"args": {
|
|
4366
4331
|
"id": {
|
|
@@ -4369,7 +4334,7 @@
|
|
|
4369
4334
|
"required": true
|
|
4370
4335
|
}
|
|
4371
4336
|
},
|
|
4372
|
-
"description": "
|
|
4337
|
+
"description": "Get a contact by ID",
|
|
4373
4338
|
"flags": {
|
|
4374
4339
|
"api-key": {
|
|
4375
4340
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4432,32 +4397,11 @@
|
|
|
4432
4397
|
"hasDynamicHelp": false,
|
|
4433
4398
|
"multiple": false,
|
|
4434
4399
|
"type": "option"
|
|
4435
|
-
},
|
|
4436
|
-
"identifier": {
|
|
4437
|
-
"description": "Unique contact identifier",
|
|
4438
|
-
"name": "identifier",
|
|
4439
|
-
"hasDynamicHelp": false,
|
|
4440
|
-
"multiple": false,
|
|
4441
|
-
"type": "option"
|
|
4442
|
-
},
|
|
4443
|
-
"name": {
|
|
4444
|
-
"description": "Contact name",
|
|
4445
|
-
"name": "name",
|
|
4446
|
-
"hasDynamicHelp": false,
|
|
4447
|
-
"multiple": false,
|
|
4448
|
-
"type": "option"
|
|
4449
|
-
},
|
|
4450
|
-
"data": {
|
|
4451
|
-
"description": "Additional JSON object payload",
|
|
4452
|
-
"name": "data",
|
|
4453
|
-
"hasDynamicHelp": false,
|
|
4454
|
-
"multiple": false,
|
|
4455
|
-
"type": "option"
|
|
4456
4400
|
}
|
|
4457
4401
|
},
|
|
4458
4402
|
"hasDynamicHelp": false,
|
|
4459
4403
|
"hiddenAliases": [],
|
|
4460
|
-
"id": "contacts:
|
|
4404
|
+
"id": "contacts:get",
|
|
4461
4405
|
"pluginAlias": "@instantkom/cli",
|
|
4462
4406
|
"pluginName": "@instantkom/cli",
|
|
4463
4407
|
"pluginType": "core",
|
|
@@ -4468,19 +4412,13 @@
|
|
|
4468
4412
|
"dist",
|
|
4469
4413
|
"commands",
|
|
4470
4414
|
"contacts",
|
|
4471
|
-
"
|
|
4415
|
+
"get.js"
|
|
4472
4416
|
]
|
|
4473
4417
|
},
|
|
4474
|
-
"
|
|
4418
|
+
"contacts:import": {
|
|
4475
4419
|
"aliases": [],
|
|
4476
|
-
"args": {
|
|
4477
|
-
|
|
4478
|
-
"description": "chat ID",
|
|
4479
|
-
"name": "id",
|
|
4480
|
-
"required": true
|
|
4481
|
-
}
|
|
4482
|
-
},
|
|
4483
|
-
"description": "Get chat by ID",
|
|
4420
|
+
"args": {},
|
|
4421
|
+
"description": "Import contacts from CSV",
|
|
4484
4422
|
"flags": {
|
|
4485
4423
|
"api-key": {
|
|
4486
4424
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4543,11 +4481,27 @@
|
|
|
4543
4481
|
"hasDynamicHelp": false,
|
|
4544
4482
|
"multiple": false,
|
|
4545
4483
|
"type": "option"
|
|
4484
|
+
},
|
|
4485
|
+
"file": {
|
|
4486
|
+
"description": "CSV file path",
|
|
4487
|
+
"name": "file",
|
|
4488
|
+
"required": true,
|
|
4489
|
+
"hasDynamicHelp": false,
|
|
4490
|
+
"multiple": false,
|
|
4491
|
+
"type": "option"
|
|
4492
|
+
},
|
|
4493
|
+
"channel": {
|
|
4494
|
+
"description": "Channel ID",
|
|
4495
|
+
"name": "channel",
|
|
4496
|
+
"required": true,
|
|
4497
|
+
"hasDynamicHelp": false,
|
|
4498
|
+
"multiple": false,
|
|
4499
|
+
"type": "option"
|
|
4546
4500
|
}
|
|
4547
4501
|
},
|
|
4548
4502
|
"hasDynamicHelp": false,
|
|
4549
4503
|
"hiddenAliases": [],
|
|
4550
|
-
"id": "
|
|
4504
|
+
"id": "contacts:import",
|
|
4551
4505
|
"pluginAlias": "@instantkom/cli",
|
|
4552
4506
|
"pluginName": "@instantkom/cli",
|
|
4553
4507
|
"pluginType": "core",
|
|
@@ -4557,14 +4511,14 @@
|
|
|
4557
4511
|
"relativePath": [
|
|
4558
4512
|
"dist",
|
|
4559
4513
|
"commands",
|
|
4560
|
-
"
|
|
4561
|
-
"
|
|
4514
|
+
"contacts",
|
|
4515
|
+
"import.js"
|
|
4562
4516
|
]
|
|
4563
4517
|
},
|
|
4564
|
-
"
|
|
4518
|
+
"contacts:list": {
|
|
4565
4519
|
"aliases": [],
|
|
4566
4520
|
"args": {},
|
|
4567
|
-
"description": "List
|
|
4521
|
+
"description": "List contacts",
|
|
4568
4522
|
"flags": {
|
|
4569
4523
|
"api-key": {
|
|
4570
4524
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4628,6 +4582,20 @@
|
|
|
4628
4582
|
"multiple": false,
|
|
4629
4583
|
"type": "option"
|
|
4630
4584
|
},
|
|
4585
|
+
"channel": {
|
|
4586
|
+
"description": "Filter by channel ID",
|
|
4587
|
+
"name": "channel",
|
|
4588
|
+
"hasDynamicHelp": false,
|
|
4589
|
+
"multiple": false,
|
|
4590
|
+
"type": "option"
|
|
4591
|
+
},
|
|
4592
|
+
"search": {
|
|
4593
|
+
"description": "Search by name or identifier",
|
|
4594
|
+
"name": "search",
|
|
4595
|
+
"hasDynamicHelp": false,
|
|
4596
|
+
"multiple": false,
|
|
4597
|
+
"type": "option"
|
|
4598
|
+
},
|
|
4631
4599
|
"page": {
|
|
4632
4600
|
"description": "Page number",
|
|
4633
4601
|
"name": "page",
|
|
@@ -4644,56 +4612,75 @@
|
|
|
4644
4612
|
"multiple": false,
|
|
4645
4613
|
"type": "option"
|
|
4646
4614
|
},
|
|
4647
|
-
"
|
|
4648
|
-
"description": "Filter by
|
|
4649
|
-
"name": "
|
|
4615
|
+
"optin-status": {
|
|
4616
|
+
"description": "Filter by opt-in status",
|
|
4617
|
+
"name": "optin-status",
|
|
4650
4618
|
"hasDynamicHelp": false,
|
|
4651
4619
|
"multiple": false,
|
|
4620
|
+
"options": [
|
|
4621
|
+
"0",
|
|
4622
|
+
"1"
|
|
4623
|
+
],
|
|
4652
4624
|
"type": "option"
|
|
4653
4625
|
},
|
|
4654
|
-
"
|
|
4655
|
-
"description": "
|
|
4656
|
-
"name": "
|
|
4626
|
+
"blocked": {
|
|
4627
|
+
"description": "Filter by blocked status: 1 blocked, 0 not blocked",
|
|
4628
|
+
"name": "blocked",
|
|
4657
4629
|
"hasDynamicHelp": false,
|
|
4658
4630
|
"multiple": false,
|
|
4631
|
+
"options": [
|
|
4632
|
+
"0",
|
|
4633
|
+
"1"
|
|
4634
|
+
],
|
|
4659
4635
|
"type": "option"
|
|
4660
4636
|
},
|
|
4661
|
-
"
|
|
4662
|
-
"description": "
|
|
4663
|
-
"name": "
|
|
4637
|
+
"segment": {
|
|
4638
|
+
"description": "Filter by segment ID",
|
|
4639
|
+
"name": "segment",
|
|
4664
4640
|
"hasDynamicHelp": false,
|
|
4665
4641
|
"multiple": false,
|
|
4666
4642
|
"type": "option"
|
|
4667
4643
|
},
|
|
4668
|
-
"
|
|
4669
|
-
"description": "
|
|
4670
|
-
"name": "
|
|
4644
|
+
"tags": {
|
|
4645
|
+
"description": "Comma-separated tag IDs",
|
|
4646
|
+
"name": "tags",
|
|
4647
|
+
"hasDynamicHelp": false,
|
|
4648
|
+
"multiple": false,
|
|
4649
|
+
"type": "option"
|
|
4650
|
+
},
|
|
4651
|
+
"tag-match": {
|
|
4652
|
+
"description": "Tag match mode",
|
|
4653
|
+
"name": "tag-match",
|
|
4671
4654
|
"hasDynamicHelp": false,
|
|
4672
4655
|
"multiple": false,
|
|
4673
4656
|
"options": [
|
|
4674
|
-
"
|
|
4675
|
-
"
|
|
4676
|
-
"read",
|
|
4677
|
-
"archived"
|
|
4657
|
+
"any",
|
|
4658
|
+
"all"
|
|
4678
4659
|
],
|
|
4679
4660
|
"type": "option"
|
|
4680
4661
|
},
|
|
4681
|
-
"
|
|
4682
|
-
"description": "
|
|
4683
|
-
"name": "
|
|
4684
|
-
"
|
|
4685
|
-
"
|
|
4662
|
+
"spam": {
|
|
4663
|
+
"description": "Filter by spam status",
|
|
4664
|
+
"name": "spam",
|
|
4665
|
+
"hasDynamicHelp": false,
|
|
4666
|
+
"multiple": false,
|
|
4667
|
+
"options": [
|
|
4668
|
+
"true",
|
|
4669
|
+
"false"
|
|
4670
|
+
],
|
|
4671
|
+
"type": "option"
|
|
4686
4672
|
},
|
|
4687
|
-
"
|
|
4688
|
-
"description": "
|
|
4689
|
-
"name": "
|
|
4690
|
-
"
|
|
4691
|
-
"
|
|
4673
|
+
"trust-level": {
|
|
4674
|
+
"description": "Comma-separated trust levels",
|
|
4675
|
+
"name": "trust-level",
|
|
4676
|
+
"hasDynamicHelp": false,
|
|
4677
|
+
"multiple": false,
|
|
4678
|
+
"type": "option"
|
|
4692
4679
|
}
|
|
4693
4680
|
},
|
|
4694
4681
|
"hasDynamicHelp": false,
|
|
4695
4682
|
"hiddenAliases": [],
|
|
4696
|
-
"id": "
|
|
4683
|
+
"id": "contacts:list",
|
|
4697
4684
|
"pluginAlias": "@instantkom/cli",
|
|
4698
4685
|
"pluginName": "@instantkom/cli",
|
|
4699
4686
|
"pluginType": "core",
|
|
@@ -4703,20 +4690,20 @@
|
|
|
4703
4690
|
"relativePath": [
|
|
4704
4691
|
"dist",
|
|
4705
4692
|
"commands",
|
|
4706
|
-
"
|
|
4693
|
+
"contacts",
|
|
4707
4694
|
"list.js"
|
|
4708
4695
|
]
|
|
4709
4696
|
},
|
|
4710
|
-
"
|
|
4697
|
+
"contacts:update": {
|
|
4711
4698
|
"aliases": [],
|
|
4712
4699
|
"args": {
|
|
4713
4700
|
"id": {
|
|
4714
|
-
"description": "
|
|
4701
|
+
"description": "Contact ID",
|
|
4715
4702
|
"name": "id",
|
|
4716
4703
|
"required": true
|
|
4717
4704
|
}
|
|
4718
4705
|
},
|
|
4719
|
-
"description": "
|
|
4706
|
+
"description": "Update a contact",
|
|
4720
4707
|
"flags": {
|
|
4721
4708
|
"api-key": {
|
|
4722
4709
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4780,10 +4767,23 @@
|
|
|
4780
4767
|
"multiple": false,
|
|
4781
4768
|
"type": "option"
|
|
4782
4769
|
},
|
|
4783
|
-
"
|
|
4784
|
-
"description": "
|
|
4785
|
-
"name": "
|
|
4786
|
-
"
|
|
4770
|
+
"identifier": {
|
|
4771
|
+
"description": "Unique contact identifier",
|
|
4772
|
+
"name": "identifier",
|
|
4773
|
+
"hasDynamicHelp": false,
|
|
4774
|
+
"multiple": false,
|
|
4775
|
+
"type": "option"
|
|
4776
|
+
},
|
|
4777
|
+
"name": {
|
|
4778
|
+
"description": "Contact name",
|
|
4779
|
+
"name": "name",
|
|
4780
|
+
"hasDynamicHelp": false,
|
|
4781
|
+
"multiple": false,
|
|
4782
|
+
"type": "option"
|
|
4783
|
+
},
|
|
4784
|
+
"data": {
|
|
4785
|
+
"description": "Additional JSON object payload",
|
|
4786
|
+
"name": "data",
|
|
4787
4787
|
"hasDynamicHelp": false,
|
|
4788
4788
|
"multiple": false,
|
|
4789
4789
|
"type": "option"
|
|
@@ -4791,7 +4791,7 @@
|
|
|
4791
4791
|
},
|
|
4792
4792
|
"hasDynamicHelp": false,
|
|
4793
4793
|
"hiddenAliases": [],
|
|
4794
|
-
"id": "
|
|
4794
|
+
"id": "contacts:update",
|
|
4795
4795
|
"pluginAlias": "@instantkom/cli",
|
|
4796
4796
|
"pluginName": "@instantkom/cli",
|
|
4797
4797
|
"pluginType": "core",
|
|
@@ -4801,8 +4801,8 @@
|
|
|
4801
4801
|
"relativePath": [
|
|
4802
4802
|
"dist",
|
|
4803
4803
|
"commands",
|
|
4804
|
-
"
|
|
4805
|
-
"
|
|
4804
|
+
"contacts",
|
|
4805
|
+
"update.js"
|
|
4806
4806
|
]
|
|
4807
4807
|
},
|
|
4808
4808
|
"custom-fields:bulk-delete": {
|
|
@@ -10321,10 +10321,10 @@
|
|
|
10321
10321
|
"validate-import.js"
|
|
10322
10322
|
]
|
|
10323
10323
|
},
|
|
10324
|
-
"
|
|
10324
|
+
"tickets:create": {
|
|
10325
10325
|
"aliases": [],
|
|
10326
10326
|
"args": {},
|
|
10327
|
-
"description": "
|
|
10327
|
+
"description": "Create a ticket",
|
|
10328
10328
|
"flags": {
|
|
10329
10329
|
"api-key": {
|
|
10330
10330
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10388,33 +10388,68 @@
|
|
|
10388
10388
|
"multiple": false,
|
|
10389
10389
|
"type": "option"
|
|
10390
10390
|
},
|
|
10391
|
-
"
|
|
10392
|
-
"description": "
|
|
10393
|
-
"name": "
|
|
10391
|
+
"channel": {
|
|
10392
|
+
"description": "Channel ID",
|
|
10393
|
+
"name": "channel",
|
|
10394
10394
|
"required": true,
|
|
10395
10395
|
"hasDynamicHelp": false,
|
|
10396
10396
|
"multiple": false,
|
|
10397
|
-
"options": [
|
|
10398
|
-
"new_contact",
|
|
10399
|
-
"new_message",
|
|
10400
|
-
"broadcast_sent",
|
|
10401
|
-
"contact_updated",
|
|
10402
|
-
"contact_opted_out"
|
|
10403
|
-
],
|
|
10404
10397
|
"type": "option"
|
|
10405
10398
|
},
|
|
10406
|
-
"
|
|
10407
|
-
"description": "
|
|
10408
|
-
"name": "
|
|
10399
|
+
"subject": {
|
|
10400
|
+
"description": "Ticket subject",
|
|
10401
|
+
"name": "subject",
|
|
10409
10402
|
"required": true,
|
|
10410
10403
|
"hasDynamicHelp": false,
|
|
10411
10404
|
"multiple": false,
|
|
10412
10405
|
"type": "option"
|
|
10406
|
+
},
|
|
10407
|
+
"recipient": {
|
|
10408
|
+
"description": "Existing recipient ID",
|
|
10409
|
+
"name": "recipient",
|
|
10410
|
+
"hasDynamicHelp": false,
|
|
10411
|
+
"multiple": false,
|
|
10412
|
+
"type": "option"
|
|
10413
|
+
},
|
|
10414
|
+
"email": {
|
|
10415
|
+
"description": "Customer email",
|
|
10416
|
+
"name": "email",
|
|
10417
|
+
"hasDynamicHelp": false,
|
|
10418
|
+
"multiple": false,
|
|
10419
|
+
"type": "option"
|
|
10420
|
+
},
|
|
10421
|
+
"name": {
|
|
10422
|
+
"description": "Customer name",
|
|
10423
|
+
"name": "name",
|
|
10424
|
+
"hasDynamicHelp": false,
|
|
10425
|
+
"multiple": false,
|
|
10426
|
+
"type": "option"
|
|
10427
|
+
},
|
|
10428
|
+
"priority": {
|
|
10429
|
+
"description": "Ticket priority",
|
|
10430
|
+
"name": "priority",
|
|
10431
|
+
"hasDynamicHelp": false,
|
|
10432
|
+
"multiple": false,
|
|
10433
|
+
"type": "option"
|
|
10434
|
+
},
|
|
10435
|
+
"source": {
|
|
10436
|
+
"description": "Ticket source",
|
|
10437
|
+
"name": "source",
|
|
10438
|
+
"hasDynamicHelp": false,
|
|
10439
|
+
"multiple": false,
|
|
10440
|
+
"type": "option"
|
|
10441
|
+
},
|
|
10442
|
+
"data": {
|
|
10443
|
+
"description": "Additional JSON object payload",
|
|
10444
|
+
"name": "data",
|
|
10445
|
+
"hasDynamicHelp": false,
|
|
10446
|
+
"multiple": false,
|
|
10447
|
+
"type": "option"
|
|
10413
10448
|
}
|
|
10414
10449
|
},
|
|
10415
10450
|
"hasDynamicHelp": false,
|
|
10416
10451
|
"hiddenAliases": [],
|
|
10417
|
-
"id": "
|
|
10452
|
+
"id": "tickets:create",
|
|
10418
10453
|
"pluginAlias": "@instantkom/cli",
|
|
10419
10454
|
"pluginName": "@instantkom/cli",
|
|
10420
10455
|
"pluginType": "core",
|
|
@@ -10424,14 +10459,20 @@
|
|
|
10424
10459
|
"relativePath": [
|
|
10425
10460
|
"dist",
|
|
10426
10461
|
"commands",
|
|
10427
|
-
"
|
|
10428
|
-
"
|
|
10462
|
+
"tickets",
|
|
10463
|
+
"create.js"
|
|
10429
10464
|
]
|
|
10430
10465
|
},
|
|
10431
|
-
"
|
|
10466
|
+
"tickets:delete": {
|
|
10432
10467
|
"aliases": [],
|
|
10433
|
-
"args": {
|
|
10434
|
-
|
|
10468
|
+
"args": {
|
|
10469
|
+
"id": {
|
|
10470
|
+
"description": "Ticket ID",
|
|
10471
|
+
"name": "id",
|
|
10472
|
+
"required": true
|
|
10473
|
+
}
|
|
10474
|
+
},
|
|
10475
|
+
"description": "Delete a ticket",
|
|
10435
10476
|
"flags": {
|
|
10436
10477
|
"api-key": {
|
|
10437
10478
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10494,11 +10535,19 @@
|
|
|
10494
10535
|
"hasDynamicHelp": false,
|
|
10495
10536
|
"multiple": false,
|
|
10496
10537
|
"type": "option"
|
|
10538
|
+
},
|
|
10539
|
+
"channel": {
|
|
10540
|
+
"description": "Channel ID",
|
|
10541
|
+
"name": "channel",
|
|
10542
|
+
"required": true,
|
|
10543
|
+
"hasDynamicHelp": false,
|
|
10544
|
+
"multiple": false,
|
|
10545
|
+
"type": "option"
|
|
10497
10546
|
}
|
|
10498
10547
|
},
|
|
10499
10548
|
"hasDynamicHelp": false,
|
|
10500
10549
|
"hiddenAliases": [],
|
|
10501
|
-
"id": "
|
|
10550
|
+
"id": "tickets:delete",
|
|
10502
10551
|
"pluginAlias": "@instantkom/cli",
|
|
10503
10552
|
"pluginName": "@instantkom/cli",
|
|
10504
10553
|
"pluginType": "core",
|
|
@@ -10508,14 +10557,20 @@
|
|
|
10508
10557
|
"relativePath": [
|
|
10509
10558
|
"dist",
|
|
10510
10559
|
"commands",
|
|
10511
|
-
"
|
|
10512
|
-
"
|
|
10560
|
+
"tickets",
|
|
10561
|
+
"delete.js"
|
|
10513
10562
|
]
|
|
10514
10563
|
},
|
|
10515
|
-
"
|
|
10564
|
+
"tickets:get": {
|
|
10516
10565
|
"aliases": [],
|
|
10517
|
-
"args": {
|
|
10518
|
-
|
|
10566
|
+
"args": {
|
|
10567
|
+
"id": {
|
|
10568
|
+
"description": "Ticket ID",
|
|
10569
|
+
"name": "id",
|
|
10570
|
+
"required": true
|
|
10571
|
+
}
|
|
10572
|
+
},
|
|
10573
|
+
"description": "Get a ticket by ID",
|
|
10519
10574
|
"flags": {
|
|
10520
10575
|
"api-key": {
|
|
10521
10576
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10578,11 +10633,19 @@
|
|
|
10578
10633
|
"hasDynamicHelp": false,
|
|
10579
10634
|
"multiple": false,
|
|
10580
10635
|
"type": "option"
|
|
10636
|
+
},
|
|
10637
|
+
"channel": {
|
|
10638
|
+
"description": "Channel ID",
|
|
10639
|
+
"name": "channel",
|
|
10640
|
+
"required": true,
|
|
10641
|
+
"hasDynamicHelp": false,
|
|
10642
|
+
"multiple": false,
|
|
10643
|
+
"type": "option"
|
|
10581
10644
|
}
|
|
10582
10645
|
},
|
|
10583
10646
|
"hasDynamicHelp": false,
|
|
10584
10647
|
"hiddenAliases": [],
|
|
10585
|
-
"id": "
|
|
10648
|
+
"id": "tickets:get",
|
|
10586
10649
|
"pluginAlias": "@instantkom/cli",
|
|
10587
10650
|
"pluginName": "@instantkom/cli",
|
|
10588
10651
|
"pluginType": "core",
|
|
@@ -10592,14 +10655,14 @@
|
|
|
10592
10655
|
"relativePath": [
|
|
10593
10656
|
"dist",
|
|
10594
10657
|
"commands",
|
|
10595
|
-
"
|
|
10596
|
-
"
|
|
10658
|
+
"tickets",
|
|
10659
|
+
"get.js"
|
|
10597
10660
|
]
|
|
10598
10661
|
},
|
|
10599
|
-
"
|
|
10662
|
+
"tickets:list": {
|
|
10600
10663
|
"aliases": [],
|
|
10601
10664
|
"args": {},
|
|
10602
|
-
"description": "
|
|
10665
|
+
"description": "List tickets for a channel",
|
|
10603
10666
|
"flags": {
|
|
10604
10667
|
"api-key": {
|
|
10605
10668
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10662,11 +10725,35 @@
|
|
|
10662
10725
|
"hasDynamicHelp": false,
|
|
10663
10726
|
"multiple": false,
|
|
10664
10727
|
"type": "option"
|
|
10728
|
+
},
|
|
10729
|
+
"channel": {
|
|
10730
|
+
"description": "Channel ID",
|
|
10731
|
+
"name": "channel",
|
|
10732
|
+
"required": true,
|
|
10733
|
+
"hasDynamicHelp": false,
|
|
10734
|
+
"multiple": false,
|
|
10735
|
+
"type": "option"
|
|
10736
|
+
},
|
|
10737
|
+
"limit": {
|
|
10738
|
+
"description": "Maximum tickets to return",
|
|
10739
|
+
"name": "limit",
|
|
10740
|
+
"default": 500,
|
|
10741
|
+
"hasDynamicHelp": false,
|
|
10742
|
+
"multiple": false,
|
|
10743
|
+
"type": "option"
|
|
10744
|
+
},
|
|
10745
|
+
"offset": {
|
|
10746
|
+
"description": "Number of tickets to skip",
|
|
10747
|
+
"name": "offset",
|
|
10748
|
+
"default": 0,
|
|
10749
|
+
"hasDynamicHelp": false,
|
|
10750
|
+
"multiple": false,
|
|
10751
|
+
"type": "option"
|
|
10665
10752
|
}
|
|
10666
10753
|
},
|
|
10667
10754
|
"hasDynamicHelp": false,
|
|
10668
10755
|
"hiddenAliases": [],
|
|
10669
|
-
"id": "
|
|
10756
|
+
"id": "tickets:list",
|
|
10670
10757
|
"pluginAlias": "@instantkom/cli",
|
|
10671
10758
|
"pluginName": "@instantkom/cli",
|
|
10672
10759
|
"pluginType": "core",
|
|
@@ -10676,20 +10763,20 @@
|
|
|
10676
10763
|
"relativePath": [
|
|
10677
10764
|
"dist",
|
|
10678
10765
|
"commands",
|
|
10679
|
-
"
|
|
10680
|
-
"
|
|
10766
|
+
"tickets",
|
|
10767
|
+
"list.js"
|
|
10681
10768
|
]
|
|
10682
10769
|
},
|
|
10683
|
-
"
|
|
10770
|
+
"tickets:reply": {
|
|
10684
10771
|
"aliases": [],
|
|
10685
10772
|
"args": {
|
|
10686
10773
|
"id": {
|
|
10687
|
-
"description": "
|
|
10774
|
+
"description": "Ticket ID",
|
|
10688
10775
|
"name": "id",
|
|
10689
10776
|
"required": true
|
|
10690
10777
|
}
|
|
10691
10778
|
},
|
|
10692
|
-
"description": "
|
|
10779
|
+
"description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only; the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
|
|
10693
10780
|
"flags": {
|
|
10694
10781
|
"api-key": {
|
|
10695
10782
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10752,11 +10839,25 @@
|
|
|
10752
10839
|
"hasDynamicHelp": false,
|
|
10753
10840
|
"multiple": false,
|
|
10754
10841
|
"type": "option"
|
|
10842
|
+
},
|
|
10843
|
+
"message": {
|
|
10844
|
+
"description": "Reply body (raw text, no salutation or sign-off)",
|
|
10845
|
+
"name": "message",
|
|
10846
|
+
"required": true,
|
|
10847
|
+
"hasDynamicHelp": false,
|
|
10848
|
+
"multiple": false,
|
|
10849
|
+
"type": "option"
|
|
10850
|
+
},
|
|
10851
|
+
"close": {
|
|
10852
|
+
"description": "Close the ticket after sending the reply",
|
|
10853
|
+
"name": "close",
|
|
10854
|
+
"allowNo": false,
|
|
10855
|
+
"type": "boolean"
|
|
10755
10856
|
}
|
|
10756
10857
|
},
|
|
10757
10858
|
"hasDynamicHelp": false,
|
|
10758
10859
|
"hiddenAliases": [],
|
|
10759
|
-
"id": "
|
|
10860
|
+
"id": "tickets:reply",
|
|
10760
10861
|
"pluginAlias": "@instantkom/cli",
|
|
10761
10862
|
"pluginName": "@instantkom/cli",
|
|
10762
10863
|
"pluginType": "core",
|
|
@@ -10766,14 +10867,20 @@
|
|
|
10766
10867
|
"relativePath": [
|
|
10767
10868
|
"dist",
|
|
10768
10869
|
"commands",
|
|
10769
|
-
"
|
|
10770
|
-
"
|
|
10870
|
+
"tickets",
|
|
10871
|
+
"reply.js"
|
|
10771
10872
|
]
|
|
10772
10873
|
},
|
|
10773
|
-
"
|
|
10874
|
+
"tickets:update": {
|
|
10774
10875
|
"aliases": [],
|
|
10775
|
-
"args": {
|
|
10776
|
-
|
|
10876
|
+
"args": {
|
|
10877
|
+
"id": {
|
|
10878
|
+
"description": "Ticket ID",
|
|
10879
|
+
"name": "id",
|
|
10880
|
+
"required": true
|
|
10881
|
+
}
|
|
10882
|
+
},
|
|
10883
|
+
"description": "Update a ticket",
|
|
10777
10884
|
"flags": {
|
|
10778
10885
|
"api-key": {
|
|
10779
10886
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10837,25 +10944,51 @@
|
|
|
10837
10944
|
"multiple": false,
|
|
10838
10945
|
"type": "option"
|
|
10839
10946
|
},
|
|
10840
|
-
"
|
|
10841
|
-
"description": "
|
|
10842
|
-
"name": "
|
|
10947
|
+
"channel": {
|
|
10948
|
+
"description": "Channel ID",
|
|
10949
|
+
"name": "channel",
|
|
10843
10950
|
"required": true,
|
|
10844
10951
|
"hasDynamicHelp": false,
|
|
10845
10952
|
"multiple": false,
|
|
10846
10953
|
"type": "option"
|
|
10847
10954
|
},
|
|
10848
|
-
"
|
|
10849
|
-
"description": "
|
|
10850
|
-
"name": "
|
|
10851
|
-
"default": "cli.test",
|
|
10955
|
+
"subject": {
|
|
10956
|
+
"description": "Ticket subject",
|
|
10957
|
+
"name": "subject",
|
|
10852
10958
|
"hasDynamicHelp": false,
|
|
10853
10959
|
"multiple": false,
|
|
10854
10960
|
"type": "option"
|
|
10855
10961
|
},
|
|
10856
|
-
"
|
|
10857
|
-
"description": "
|
|
10858
|
-
"name": "
|
|
10962
|
+
"priority": {
|
|
10963
|
+
"description": "Ticket priority",
|
|
10964
|
+
"name": "priority",
|
|
10965
|
+
"hasDynamicHelp": false,
|
|
10966
|
+
"multiple": false,
|
|
10967
|
+
"type": "option"
|
|
10968
|
+
},
|
|
10969
|
+
"status": {
|
|
10970
|
+
"description": "Ticket status",
|
|
10971
|
+
"name": "status",
|
|
10972
|
+
"hasDynamicHelp": false,
|
|
10973
|
+
"multiple": false,
|
|
10974
|
+
"type": "option"
|
|
10975
|
+
},
|
|
10976
|
+
"assigned-to": {
|
|
10977
|
+
"description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
|
|
10978
|
+
"name": "assigned-to",
|
|
10979
|
+
"hasDynamicHelp": false,
|
|
10980
|
+
"multiple": false,
|
|
10981
|
+
"type": "option"
|
|
10982
|
+
},
|
|
10983
|
+
"notify": {
|
|
10984
|
+
"description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
|
|
10985
|
+
"name": "notify",
|
|
10986
|
+
"allowNo": true,
|
|
10987
|
+
"type": "boolean"
|
|
10988
|
+
},
|
|
10989
|
+
"data": {
|
|
10990
|
+
"description": "Additional JSON object payload",
|
|
10991
|
+
"name": "data",
|
|
10859
10992
|
"hasDynamicHelp": false,
|
|
10860
10993
|
"multiple": false,
|
|
10861
10994
|
"type": "option"
|
|
@@ -10863,7 +10996,7 @@
|
|
|
10863
10996
|
},
|
|
10864
10997
|
"hasDynamicHelp": false,
|
|
10865
10998
|
"hiddenAliases": [],
|
|
10866
|
-
"id": "
|
|
10999
|
+
"id": "tickets:update",
|
|
10867
11000
|
"pluginAlias": "@instantkom/cli",
|
|
10868
11001
|
"pluginName": "@instantkom/cli",
|
|
10869
11002
|
"pluginType": "core",
|
|
@@ -10873,14 +11006,14 @@
|
|
|
10873
11006
|
"relativePath": [
|
|
10874
11007
|
"dist",
|
|
10875
11008
|
"commands",
|
|
10876
|
-
"
|
|
10877
|
-
"
|
|
11009
|
+
"tickets",
|
|
11010
|
+
"update.js"
|
|
10878
11011
|
]
|
|
10879
11012
|
},
|
|
10880
|
-
"
|
|
11013
|
+
"webhooks:add": {
|
|
10881
11014
|
"aliases": [],
|
|
10882
11015
|
"args": {},
|
|
10883
|
-
"description": "
|
|
11016
|
+
"description": "Add a webhook subscription",
|
|
10884
11017
|
"flags": {
|
|
10885
11018
|
"api-key": {
|
|
10886
11019
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10944,68 +11077,33 @@
|
|
|
10944
11077
|
"multiple": false,
|
|
10945
11078
|
"type": "option"
|
|
10946
11079
|
},
|
|
10947
|
-
"
|
|
10948
|
-
"description": "
|
|
10949
|
-
"name": "
|
|
11080
|
+
"event": {
|
|
11081
|
+
"description": "Webhook event to subscribe to",
|
|
11082
|
+
"name": "event",
|
|
10950
11083
|
"required": true,
|
|
10951
11084
|
"hasDynamicHelp": false,
|
|
10952
11085
|
"multiple": false,
|
|
11086
|
+
"options": [
|
|
11087
|
+
"new_contact",
|
|
11088
|
+
"new_message",
|
|
11089
|
+
"broadcast_sent",
|
|
11090
|
+
"contact_updated",
|
|
11091
|
+
"contact_opted_out"
|
|
11092
|
+
],
|
|
10953
11093
|
"type": "option"
|
|
10954
11094
|
},
|
|
10955
|
-
"
|
|
10956
|
-
"description": "
|
|
10957
|
-
"name": "
|
|
11095
|
+
"url": {
|
|
11096
|
+
"description": "HTTPS target URL that receives webhook POSTs",
|
|
11097
|
+
"name": "url",
|
|
10958
11098
|
"required": true,
|
|
10959
11099
|
"hasDynamicHelp": false,
|
|
10960
11100
|
"multiple": false,
|
|
10961
11101
|
"type": "option"
|
|
10962
|
-
},
|
|
10963
|
-
"recipient": {
|
|
10964
|
-
"description": "Existing recipient ID",
|
|
10965
|
-
"name": "recipient",
|
|
10966
|
-
"hasDynamicHelp": false,
|
|
10967
|
-
"multiple": false,
|
|
10968
|
-
"type": "option"
|
|
10969
|
-
},
|
|
10970
|
-
"email": {
|
|
10971
|
-
"description": "Customer email",
|
|
10972
|
-
"name": "email",
|
|
10973
|
-
"hasDynamicHelp": false,
|
|
10974
|
-
"multiple": false,
|
|
10975
|
-
"type": "option"
|
|
10976
|
-
},
|
|
10977
|
-
"name": {
|
|
10978
|
-
"description": "Customer name",
|
|
10979
|
-
"name": "name",
|
|
10980
|
-
"hasDynamicHelp": false,
|
|
10981
|
-
"multiple": false,
|
|
10982
|
-
"type": "option"
|
|
10983
|
-
},
|
|
10984
|
-
"priority": {
|
|
10985
|
-
"description": "Ticket priority",
|
|
10986
|
-
"name": "priority",
|
|
10987
|
-
"hasDynamicHelp": false,
|
|
10988
|
-
"multiple": false,
|
|
10989
|
-
"type": "option"
|
|
10990
|
-
},
|
|
10991
|
-
"source": {
|
|
10992
|
-
"description": "Ticket source",
|
|
10993
|
-
"name": "source",
|
|
10994
|
-
"hasDynamicHelp": false,
|
|
10995
|
-
"multiple": false,
|
|
10996
|
-
"type": "option"
|
|
10997
|
-
},
|
|
10998
|
-
"data": {
|
|
10999
|
-
"description": "Additional JSON object payload",
|
|
11000
|
-
"name": "data",
|
|
11001
|
-
"hasDynamicHelp": false,
|
|
11002
|
-
"multiple": false,
|
|
11003
|
-
"type": "option"
|
|
11004
11102
|
}
|
|
11005
11103
|
},
|
|
11006
11104
|
"hasDynamicHelp": false,
|
|
11007
11105
|
"hiddenAliases": [],
|
|
11008
|
-
"id": "
|
|
11106
|
+
"id": "webhooks:add",
|
|
11009
11107
|
"pluginAlias": "@instantkom/cli",
|
|
11010
11108
|
"pluginName": "@instantkom/cli",
|
|
11011
11109
|
"pluginType": "core",
|
|
@@ -11015,20 +11113,14 @@
|
|
|
11015
11113
|
"relativePath": [
|
|
11016
11114
|
"dist",
|
|
11017
11115
|
"commands",
|
|
11018
|
-
"
|
|
11019
|
-
"
|
|
11116
|
+
"webhooks",
|
|
11117
|
+
"add.js"
|
|
11020
11118
|
]
|
|
11021
11119
|
},
|
|
11022
|
-
"
|
|
11120
|
+
"webhooks:events": {
|
|
11023
11121
|
"aliases": [],
|
|
11024
|
-
"args": {
|
|
11025
|
-
|
|
11026
|
-
"description": "Ticket ID",
|
|
11027
|
-
"name": "id",
|
|
11028
|
-
"required": true
|
|
11029
|
-
}
|
|
11030
|
-
},
|
|
11031
|
-
"description": "Delete a ticket",
|
|
11122
|
+
"args": {},
|
|
11123
|
+
"description": "List supported webhook event names",
|
|
11032
11124
|
"flags": {
|
|
11033
11125
|
"api-key": {
|
|
11034
11126
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11091,19 +11183,11 @@
|
|
|
11091
11183
|
"hasDynamicHelp": false,
|
|
11092
11184
|
"multiple": false,
|
|
11093
11185
|
"type": "option"
|
|
11094
|
-
},
|
|
11095
|
-
"channel": {
|
|
11096
|
-
"description": "Channel ID",
|
|
11097
|
-
"name": "channel",
|
|
11098
|
-
"required": true,
|
|
11099
|
-
"hasDynamicHelp": false,
|
|
11100
|
-
"multiple": false,
|
|
11101
|
-
"type": "option"
|
|
11102
11186
|
}
|
|
11103
11187
|
},
|
|
11104
11188
|
"hasDynamicHelp": false,
|
|
11105
11189
|
"hiddenAliases": [],
|
|
11106
|
-
"id": "
|
|
11190
|
+
"id": "webhooks:events",
|
|
11107
11191
|
"pluginAlias": "@instantkom/cli",
|
|
11108
11192
|
"pluginName": "@instantkom/cli",
|
|
11109
11193
|
"pluginType": "core",
|
|
@@ -11113,20 +11197,14 @@
|
|
|
11113
11197
|
"relativePath": [
|
|
11114
11198
|
"dist",
|
|
11115
11199
|
"commands",
|
|
11116
|
-
"
|
|
11117
|
-
"
|
|
11200
|
+
"webhooks",
|
|
11201
|
+
"events.js"
|
|
11118
11202
|
]
|
|
11119
11203
|
},
|
|
11120
|
-
"
|
|
11204
|
+
"webhooks:list": {
|
|
11121
11205
|
"aliases": [],
|
|
11122
|
-
"args": {
|
|
11123
|
-
|
|
11124
|
-
"description": "Ticket ID",
|
|
11125
|
-
"name": "id",
|
|
11126
|
-
"required": true
|
|
11127
|
-
}
|
|
11128
|
-
},
|
|
11129
|
-
"description": "Get a ticket by ID",
|
|
11206
|
+
"args": {},
|
|
11207
|
+
"description": "List webhook subscriptions",
|
|
11130
11208
|
"flags": {
|
|
11131
11209
|
"api-key": {
|
|
11132
11210
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11189,19 +11267,11 @@
|
|
|
11189
11267
|
"hasDynamicHelp": false,
|
|
11190
11268
|
"multiple": false,
|
|
11191
11269
|
"type": "option"
|
|
11192
|
-
},
|
|
11193
|
-
"channel": {
|
|
11194
|
-
"description": "Channel ID",
|
|
11195
|
-
"name": "channel",
|
|
11196
|
-
"required": true,
|
|
11197
|
-
"hasDynamicHelp": false,
|
|
11198
|
-
"multiple": false,
|
|
11199
|
-
"type": "option"
|
|
11200
11270
|
}
|
|
11201
11271
|
},
|
|
11202
11272
|
"hasDynamicHelp": false,
|
|
11203
11273
|
"hiddenAliases": [],
|
|
11204
|
-
"id": "
|
|
11274
|
+
"id": "webhooks:list",
|
|
11205
11275
|
"pluginAlias": "@instantkom/cli",
|
|
11206
11276
|
"pluginName": "@instantkom/cli",
|
|
11207
11277
|
"pluginType": "core",
|
|
@@ -11211,14 +11281,14 @@
|
|
|
11211
11281
|
"relativePath": [
|
|
11212
11282
|
"dist",
|
|
11213
11283
|
"commands",
|
|
11214
|
-
"
|
|
11215
|
-
"
|
|
11284
|
+
"webhooks",
|
|
11285
|
+
"list.js"
|
|
11216
11286
|
]
|
|
11217
11287
|
},
|
|
11218
|
-
"
|
|
11288
|
+
"webhooks:logs": {
|
|
11219
11289
|
"aliases": [],
|
|
11220
11290
|
"args": {},
|
|
11221
|
-
"description": "
|
|
11291
|
+
"description": "Explain webhook log availability",
|
|
11222
11292
|
"flags": {
|
|
11223
11293
|
"api-key": {
|
|
11224
11294
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11281,35 +11351,11 @@
|
|
|
11281
11351
|
"hasDynamicHelp": false,
|
|
11282
11352
|
"multiple": false,
|
|
11283
11353
|
"type": "option"
|
|
11284
|
-
},
|
|
11285
|
-
"channel": {
|
|
11286
|
-
"description": "Channel ID",
|
|
11287
|
-
"name": "channel",
|
|
11288
|
-
"required": true,
|
|
11289
|
-
"hasDynamicHelp": false,
|
|
11290
|
-
"multiple": false,
|
|
11291
|
-
"type": "option"
|
|
11292
|
-
},
|
|
11293
|
-
"limit": {
|
|
11294
|
-
"description": "Maximum tickets to return",
|
|
11295
|
-
"name": "limit",
|
|
11296
|
-
"default": 500,
|
|
11297
|
-
"hasDynamicHelp": false,
|
|
11298
|
-
"multiple": false,
|
|
11299
|
-
"type": "option"
|
|
11300
|
-
},
|
|
11301
|
-
"offset": {
|
|
11302
|
-
"description": "Number of tickets to skip",
|
|
11303
|
-
"name": "offset",
|
|
11304
|
-
"default": 0,
|
|
11305
|
-
"hasDynamicHelp": false,
|
|
11306
|
-
"multiple": false,
|
|
11307
|
-
"type": "option"
|
|
11308
11354
|
}
|
|
11309
11355
|
},
|
|
11310
11356
|
"hasDynamicHelp": false,
|
|
11311
11357
|
"hiddenAliases": [],
|
|
11312
|
-
"id": "
|
|
11358
|
+
"id": "webhooks:logs",
|
|
11313
11359
|
"pluginAlias": "@instantkom/cli",
|
|
11314
11360
|
"pluginName": "@instantkom/cli",
|
|
11315
11361
|
"pluginType": "core",
|
|
@@ -11319,20 +11365,20 @@
|
|
|
11319
11365
|
"relativePath": [
|
|
11320
11366
|
"dist",
|
|
11321
11367
|
"commands",
|
|
11322
|
-
"
|
|
11323
|
-
"
|
|
11368
|
+
"webhooks",
|
|
11369
|
+
"logs.js"
|
|
11324
11370
|
]
|
|
11325
11371
|
},
|
|
11326
|
-
"
|
|
11372
|
+
"webhooks:remove": {
|
|
11327
11373
|
"aliases": [],
|
|
11328
11374
|
"args": {
|
|
11329
11375
|
"id": {
|
|
11330
|
-
"description": "
|
|
11376
|
+
"description": "Webhook subscription ID",
|
|
11331
11377
|
"name": "id",
|
|
11332
11378
|
"required": true
|
|
11333
11379
|
}
|
|
11334
11380
|
},
|
|
11335
|
-
"description": "
|
|
11381
|
+
"description": "Remove a webhook subscription",
|
|
11336
11382
|
"flags": {
|
|
11337
11383
|
"api-key": {
|
|
11338
11384
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11395,25 +11441,11 @@
|
|
|
11395
11441
|
"hasDynamicHelp": false,
|
|
11396
11442
|
"multiple": false,
|
|
11397
11443
|
"type": "option"
|
|
11398
|
-
},
|
|
11399
|
-
"message": {
|
|
11400
|
-
"description": "Reply body (raw text, no salutation or sign-off)",
|
|
11401
|
-
"name": "message",
|
|
11402
|
-
"required": true,
|
|
11403
|
-
"hasDynamicHelp": false,
|
|
11404
|
-
"multiple": false,
|
|
11405
|
-
"type": "option"
|
|
11406
|
-
},
|
|
11407
|
-
"close": {
|
|
11408
|
-
"description": "Close the ticket after sending the reply",
|
|
11409
|
-
"name": "close",
|
|
11410
|
-
"allowNo": false,
|
|
11411
|
-
"type": "boolean"
|
|
11412
11444
|
}
|
|
11413
11445
|
},
|
|
11414
11446
|
"hasDynamicHelp": false,
|
|
11415
11447
|
"hiddenAliases": [],
|
|
11416
|
-
"id": "
|
|
11448
|
+
"id": "webhooks:remove",
|
|
11417
11449
|
"pluginAlias": "@instantkom/cli",
|
|
11418
11450
|
"pluginName": "@instantkom/cli",
|
|
11419
11451
|
"pluginType": "core",
|
|
@@ -11423,20 +11455,14 @@
|
|
|
11423
11455
|
"relativePath": [
|
|
11424
11456
|
"dist",
|
|
11425
11457
|
"commands",
|
|
11426
|
-
"
|
|
11427
|
-
"
|
|
11458
|
+
"webhooks",
|
|
11459
|
+
"remove.js"
|
|
11428
11460
|
]
|
|
11429
11461
|
},
|
|
11430
|
-
"
|
|
11462
|
+
"webhooks:test": {
|
|
11431
11463
|
"aliases": [],
|
|
11432
|
-
"args": {
|
|
11433
|
-
|
|
11434
|
-
"description": "Ticket ID",
|
|
11435
|
-
"name": "id",
|
|
11436
|
-
"required": true
|
|
11437
|
-
}
|
|
11438
|
-
},
|
|
11439
|
-
"description": "Update a ticket",
|
|
11464
|
+
"args": {},
|
|
11465
|
+
"description": "Send a test webhook payload to a URL",
|
|
11440
11466
|
"flags": {
|
|
11441
11467
|
"api-key": {
|
|
11442
11468
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11500,51 +11526,25 @@
|
|
|
11500
11526
|
"multiple": false,
|
|
11501
11527
|
"type": "option"
|
|
11502
11528
|
},
|
|
11503
|
-
"
|
|
11504
|
-
"description": "
|
|
11505
|
-
"name": "
|
|
11529
|
+
"url": {
|
|
11530
|
+
"description": "Webhook URL to call",
|
|
11531
|
+
"name": "url",
|
|
11506
11532
|
"required": true,
|
|
11507
11533
|
"hasDynamicHelp": false,
|
|
11508
11534
|
"multiple": false,
|
|
11509
11535
|
"type": "option"
|
|
11510
11536
|
},
|
|
11511
|
-
"
|
|
11512
|
-
"description": "
|
|
11513
|
-
"name": "
|
|
11514
|
-
"
|
|
11515
|
-
"multiple": false,
|
|
11516
|
-
"type": "option"
|
|
11517
|
-
},
|
|
11518
|
-
"priority": {
|
|
11519
|
-
"description": "Ticket priority",
|
|
11520
|
-
"name": "priority",
|
|
11521
|
-
"hasDynamicHelp": false,
|
|
11522
|
-
"multiple": false,
|
|
11523
|
-
"type": "option"
|
|
11524
|
-
},
|
|
11525
|
-
"status": {
|
|
11526
|
-
"description": "Ticket status",
|
|
11527
|
-
"name": "status",
|
|
11528
|
-
"hasDynamicHelp": false,
|
|
11529
|
-
"multiple": false,
|
|
11530
|
-
"type": "option"
|
|
11531
|
-
},
|
|
11532
|
-
"assigned-to": {
|
|
11533
|
-
"description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
|
|
11534
|
-
"name": "assigned-to",
|
|
11537
|
+
"event": {
|
|
11538
|
+
"description": "Event name",
|
|
11539
|
+
"name": "event",
|
|
11540
|
+
"default": "cli.test",
|
|
11535
11541
|
"hasDynamicHelp": false,
|
|
11536
11542
|
"multiple": false,
|
|
11537
11543
|
"type": "option"
|
|
11538
11544
|
},
|
|
11539
|
-
"
|
|
11540
|
-
"description": "
|
|
11541
|
-
"name": "
|
|
11542
|
-
"allowNo": true,
|
|
11543
|
-
"type": "boolean"
|
|
11544
|
-
},
|
|
11545
|
-
"data": {
|
|
11546
|
-
"description": "Additional JSON object payload",
|
|
11547
|
-
"name": "data",
|
|
11545
|
+
"payload": {
|
|
11546
|
+
"description": "Payload JSON",
|
|
11547
|
+
"name": "payload",
|
|
11548
11548
|
"hasDynamicHelp": false,
|
|
11549
11549
|
"multiple": false,
|
|
11550
11550
|
"type": "option"
|
|
@@ -11552,7 +11552,7 @@
|
|
|
11552
11552
|
},
|
|
11553
11553
|
"hasDynamicHelp": false,
|
|
11554
11554
|
"hiddenAliases": [],
|
|
11555
|
-
"id": "
|
|
11555
|
+
"id": "webhooks:test",
|
|
11556
11556
|
"pluginAlias": "@instantkom/cli",
|
|
11557
11557
|
"pluginName": "@instantkom/cli",
|
|
11558
11558
|
"pluginType": "core",
|
|
@@ -11562,8 +11562,8 @@
|
|
|
11562
11562
|
"relativePath": [
|
|
11563
11563
|
"dist",
|
|
11564
11564
|
"commands",
|
|
11565
|
-
"
|
|
11566
|
-
"
|
|
11565
|
+
"webhooks",
|
|
11566
|
+
"test.js"
|
|
11567
11567
|
]
|
|
11568
11568
|
},
|
|
11569
11569
|
"auth:tokens:create": {
|
|
@@ -17052,5 +17052,5 @@
|
|
|
17052
17052
|
]
|
|
17053
17053
|
}
|
|
17054
17054
|
},
|
|
17055
|
-
"version": "3.
|
|
17055
|
+
"version": "3.185.0"
|
|
17056
17056
|
}
|