@instantkom/cli 3.150.0 → 3.151.1
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 +465 -465
- package/package.json +2 -2
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,20 +2593,20 @@
|
|
|
2558
2593
|
"relativePath": [
|
|
2559
2594
|
"dist",
|
|
2560
2595
|
"commands",
|
|
2561
|
-
"
|
|
2562
|
-
"
|
|
2596
|
+
"broadcast",
|
|
2597
|
+
"send.js"
|
|
2563
2598
|
]
|
|
2564
2599
|
},
|
|
2565
|
-
"
|
|
2600
|
+
"broadcast:status": {
|
|
2566
2601
|
"aliases": [],
|
|
2567
2602
|
"args": {
|
|
2568
2603
|
"id": {
|
|
2569
|
-
"description": "
|
|
2604
|
+
"description": "Broadcast ID",
|
|
2570
2605
|
"name": "id",
|
|
2571
2606
|
"required": true
|
|
2572
2607
|
}
|
|
2573
2608
|
},
|
|
2574
|
-
"description": "
|
|
2609
|
+
"description": "Show broadcast send status",
|
|
2575
2610
|
"flags": {
|
|
2576
2611
|
"api-key": {
|
|
2577
2612
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2638,7 +2673,7 @@
|
|
|
2638
2673
|
},
|
|
2639
2674
|
"hasDynamicHelp": false,
|
|
2640
2675
|
"hiddenAliases": [],
|
|
2641
|
-
"id": "
|
|
2676
|
+
"id": "broadcast:status",
|
|
2642
2677
|
"pluginAlias": "@instantkom/cli",
|
|
2643
2678
|
"pluginName": "@instantkom/cli",
|
|
2644
2679
|
"pluginType": "core",
|
|
@@ -2648,14 +2683,20 @@
|
|
|
2648
2683
|
"relativePath": [
|
|
2649
2684
|
"dist",
|
|
2650
2685
|
"commands",
|
|
2651
|
-
"
|
|
2652
|
-
"
|
|
2686
|
+
"broadcast",
|
|
2687
|
+
"status.js"
|
|
2653
2688
|
]
|
|
2654
2689
|
},
|
|
2655
|
-
"
|
|
2690
|
+
"broadcast:update": {
|
|
2656
2691
|
"aliases": [],
|
|
2657
|
-
"args": {
|
|
2658
|
-
|
|
2692
|
+
"args": {
|
|
2693
|
+
"id": {
|
|
2694
|
+
"description": "Broadcast ID",
|
|
2695
|
+
"name": "id",
|
|
2696
|
+
"required": true
|
|
2697
|
+
}
|
|
2698
|
+
},
|
|
2699
|
+
"description": "Update a broadcast",
|
|
2659
2700
|
"flags": {
|
|
2660
2701
|
"api-key": {
|
|
2661
2702
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2719,72 +2760,76 @@
|
|
|
2719
2760
|
"multiple": false,
|
|
2720
2761
|
"type": "option"
|
|
2721
2762
|
},
|
|
2722
|
-
"
|
|
2723
|
-
"description": "
|
|
2724
|
-
"name": "
|
|
2725
|
-
"default": 1,
|
|
2726
|
-
"hasDynamicHelp": false,
|
|
2727
|
-
"multiple": false,
|
|
2728
|
-
"type": "option"
|
|
2729
|
-
},
|
|
2730
|
-
"limit": {
|
|
2731
|
-
"description": "Items per page",
|
|
2732
|
-
"name": "limit",
|
|
2733
|
-
"default": 20,
|
|
2763
|
+
"text": {
|
|
2764
|
+
"description": "Broadcast message text",
|
|
2765
|
+
"name": "text",
|
|
2734
2766
|
"hasDynamicHelp": false,
|
|
2735
2767
|
"multiple": false,
|
|
2736
2768
|
"type": "option"
|
|
2737
2769
|
},
|
|
2738
|
-
"
|
|
2739
|
-
"description": "
|
|
2740
|
-
"name": "
|
|
2770
|
+
"send-status": {
|
|
2771
|
+
"description": "Send status",
|
|
2772
|
+
"name": "send-status",
|
|
2741
2773
|
"hasDynamicHelp": false,
|
|
2742
2774
|
"multiple": false,
|
|
2743
2775
|
"type": "option"
|
|
2744
2776
|
},
|
|
2745
|
-
"
|
|
2746
|
-
"description": "
|
|
2747
|
-
"name": "
|
|
2777
|
+
"scheduled-at": {
|
|
2778
|
+
"description": "Unix timestamp for scheduled send",
|
|
2779
|
+
"name": "scheduled-at",
|
|
2748
2780
|
"hasDynamicHelp": false,
|
|
2749
2781
|
"multiple": false,
|
|
2750
2782
|
"type": "option"
|
|
2751
2783
|
},
|
|
2752
|
-
"
|
|
2753
|
-
"description": "
|
|
2754
|
-
"name": "
|
|
2755
|
-
"
|
|
2756
|
-
"
|
|
2757
|
-
"type": "option"
|
|
2784
|
+
"approved": {
|
|
2785
|
+
"description": "Mark as approved",
|
|
2786
|
+
"name": "approved",
|
|
2787
|
+
"allowNo": false,
|
|
2788
|
+
"type": "boolean"
|
|
2758
2789
|
},
|
|
2759
|
-
"
|
|
2760
|
-
"description": "
|
|
2761
|
-
"name": "
|
|
2790
|
+
"locked": {
|
|
2791
|
+
"description": "Mark as locked",
|
|
2792
|
+
"name": "locked",
|
|
2793
|
+
"allowNo": false,
|
|
2794
|
+
"type": "boolean"
|
|
2795
|
+
},
|
|
2796
|
+
"test": {
|
|
2797
|
+
"description": "Mark as test broadcast",
|
|
2798
|
+
"name": "test",
|
|
2799
|
+
"allowNo": false,
|
|
2800
|
+
"type": "boolean"
|
|
2801
|
+
},
|
|
2802
|
+
"template-id": {
|
|
2803
|
+
"description": "Template ID",
|
|
2804
|
+
"name": "template-id",
|
|
2762
2805
|
"hasDynamicHelp": false,
|
|
2763
2806
|
"multiple": false,
|
|
2764
|
-
"options": [
|
|
2765
|
-
"all",
|
|
2766
|
-
"unread",
|
|
2767
|
-
"read",
|
|
2768
|
-
"archived"
|
|
2769
|
-
],
|
|
2770
2807
|
"type": "option"
|
|
2771
2808
|
},
|
|
2772
|
-
"
|
|
2773
|
-
"description": "
|
|
2774
|
-
"name": "
|
|
2809
|
+
"remove-media": {
|
|
2810
|
+
"description": "Remove existing media",
|
|
2811
|
+
"name": "remove-media",
|
|
2775
2812
|
"allowNo": false,
|
|
2776
2813
|
"type": "boolean"
|
|
2777
2814
|
},
|
|
2778
|
-
"
|
|
2779
|
-
"description": "
|
|
2780
|
-
"name": "
|
|
2781
|
-
"
|
|
2782
|
-
"
|
|
2815
|
+
"header-footer": {
|
|
2816
|
+
"description": "Header/footer JSON array",
|
|
2817
|
+
"name": "header-footer",
|
|
2818
|
+
"hasDynamicHelp": false,
|
|
2819
|
+
"multiple": false,
|
|
2820
|
+
"type": "option"
|
|
2821
|
+
},
|
|
2822
|
+
"data": {
|
|
2823
|
+
"description": "Additional JSON object payload",
|
|
2824
|
+
"name": "data",
|
|
2825
|
+
"hasDynamicHelp": false,
|
|
2826
|
+
"multiple": false,
|
|
2827
|
+
"type": "option"
|
|
2783
2828
|
}
|
|
2784
2829
|
},
|
|
2785
2830
|
"hasDynamicHelp": false,
|
|
2786
2831
|
"hiddenAliases": [],
|
|
2787
|
-
"id": "
|
|
2832
|
+
"id": "broadcast:update",
|
|
2788
2833
|
"pluginAlias": "@instantkom/cli",
|
|
2789
2834
|
"pluginName": "@instantkom/cli",
|
|
2790
2835
|
"pluginType": "core",
|
|
@@ -2794,20 +2839,14 @@
|
|
|
2794
2839
|
"relativePath": [
|
|
2795
2840
|
"dist",
|
|
2796
2841
|
"commands",
|
|
2797
|
-
"
|
|
2798
|
-
"
|
|
2842
|
+
"broadcast",
|
|
2843
|
+
"update.js"
|
|
2799
2844
|
]
|
|
2800
2845
|
},
|
|
2801
|
-
"
|
|
2846
|
+
"channels:create": {
|
|
2802
2847
|
"aliases": [],
|
|
2803
|
-
"args": {
|
|
2804
|
-
|
|
2805
|
-
"description": "Chat ID",
|
|
2806
|
-
"name": "id",
|
|
2807
|
-
"required": true
|
|
2808
|
-
}
|
|
2809
|
-
},
|
|
2810
|
-
"description": "Reply in a chat",
|
|
2848
|
+
"args": {},
|
|
2849
|
+
"description": "Create a channel",
|
|
2811
2850
|
"flags": {
|
|
2812
2851
|
"api-key": {
|
|
2813
2852
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2871,18 +2910,47 @@
|
|
|
2871
2910
|
"multiple": false,
|
|
2872
2911
|
"type": "option"
|
|
2873
2912
|
},
|
|
2874
|
-
"
|
|
2875
|
-
"description": "
|
|
2876
|
-
"name": "
|
|
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",
|
|
2877
2924
|
"required": true,
|
|
2878
2925
|
"hasDynamicHelp": false,
|
|
2879
2926
|
"multiple": false,
|
|
2880
2927
|
"type": "option"
|
|
2928
|
+
},
|
|
2929
|
+
"status": {
|
|
2930
|
+
"description": "Channel lifecycle status",
|
|
2931
|
+
"name": "status",
|
|
2932
|
+
"hasDynamicHelp": false,
|
|
2933
|
+
"multiple": false,
|
|
2934
|
+
"type": "option"
|
|
2935
|
+
},
|
|
2936
|
+
"description": {
|
|
2937
|
+
"description": "Channel description",
|
|
2938
|
+
"name": "description",
|
|
2939
|
+
"hasDynamicHelp": false,
|
|
2940
|
+
"multiple": false,
|
|
2941
|
+
"type": "option"
|
|
2942
|
+
},
|
|
2943
|
+
"data": {
|
|
2944
|
+
"description": "Additional JSON object payload",
|
|
2945
|
+
"name": "data",
|
|
2946
|
+
"hasDynamicHelp": false,
|
|
2947
|
+
"multiple": false,
|
|
2948
|
+
"type": "option"
|
|
2881
2949
|
}
|
|
2882
2950
|
},
|
|
2883
2951
|
"hasDynamicHelp": false,
|
|
2884
2952
|
"hiddenAliases": [],
|
|
2885
|
-
"id": "
|
|
2953
|
+
"id": "channels:create",
|
|
2886
2954
|
"pluginAlias": "@instantkom/cli",
|
|
2887
2955
|
"pluginName": "@instantkom/cli",
|
|
2888
2956
|
"pluginType": "core",
|
|
@@ -2892,20 +2960,20 @@
|
|
|
2892
2960
|
"relativePath": [
|
|
2893
2961
|
"dist",
|
|
2894
2962
|
"commands",
|
|
2895
|
-
"
|
|
2896
|
-
"
|
|
2963
|
+
"channels",
|
|
2964
|
+
"create.js"
|
|
2897
2965
|
]
|
|
2898
2966
|
},
|
|
2899
|
-
"
|
|
2967
|
+
"channels:get": {
|
|
2900
2968
|
"aliases": [],
|
|
2901
2969
|
"args": {
|
|
2902
|
-
"
|
|
2903
|
-
"description": "
|
|
2904
|
-
"name": "
|
|
2970
|
+
"id": {
|
|
2971
|
+
"description": "Channel ID",
|
|
2972
|
+
"name": "id",
|
|
2905
2973
|
"required": true
|
|
2906
2974
|
}
|
|
2907
2975
|
},
|
|
2908
|
-
"description": "Get a
|
|
2976
|
+
"description": "Get a channel by ID",
|
|
2909
2977
|
"flags": {
|
|
2910
2978
|
"api-key": {
|
|
2911
2979
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2972,7 +3040,7 @@
|
|
|
2972
3040
|
},
|
|
2973
3041
|
"hasDynamicHelp": false,
|
|
2974
3042
|
"hiddenAliases": [],
|
|
2975
|
-
"id": "
|
|
3043
|
+
"id": "channels:get",
|
|
2976
3044
|
"pluginAlias": "@instantkom/cli",
|
|
2977
3045
|
"pluginName": "@instantkom/cli",
|
|
2978
3046
|
"pluginType": "core",
|
|
@@ -2982,25 +3050,20 @@
|
|
|
2982
3050
|
"relativePath": [
|
|
2983
3051
|
"dist",
|
|
2984
3052
|
"commands",
|
|
2985
|
-
"
|
|
3053
|
+
"channels",
|
|
2986
3054
|
"get.js"
|
|
2987
3055
|
]
|
|
2988
3056
|
},
|
|
2989
|
-
"
|
|
3057
|
+
"channels:kpis": {
|
|
2990
3058
|
"aliases": [],
|
|
2991
3059
|
"args": {
|
|
2992
|
-
"
|
|
2993
|
-
"description": "
|
|
2994
|
-
"name": "
|
|
2995
|
-
"required":
|
|
2996
|
-
},
|
|
2997
|
-
"value": {
|
|
2998
|
-
"description": "Value to assign",
|
|
2999
|
-
"name": "value",
|
|
3000
|
-
"required": true
|
|
3060
|
+
"id": {
|
|
3061
|
+
"description": "Optional channel ID; omit for aggregated channel KPIs",
|
|
3062
|
+
"name": "id",
|
|
3063
|
+
"required": false
|
|
3001
3064
|
}
|
|
3002
3065
|
},
|
|
3003
|
-
"description": "
|
|
3066
|
+
"description": "Get channel KPIs",
|
|
3004
3067
|
"flags": {
|
|
3005
3068
|
"api-key": {
|
|
3006
3069
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3063,11 +3126,18 @@
|
|
|
3063
3126
|
"hasDynamicHelp": false,
|
|
3064
3127
|
"multiple": false,
|
|
3065
3128
|
"type": "option"
|
|
3129
|
+
},
|
|
3130
|
+
"period": {
|
|
3131
|
+
"description": "KPI period",
|
|
3132
|
+
"name": "period",
|
|
3133
|
+
"hasDynamicHelp": false,
|
|
3134
|
+
"multiple": false,
|
|
3135
|
+
"type": "option"
|
|
3066
3136
|
}
|
|
3067
3137
|
},
|
|
3068
3138
|
"hasDynamicHelp": false,
|
|
3069
3139
|
"hiddenAliases": [],
|
|
3070
|
-
"id": "
|
|
3140
|
+
"id": "channels:kpis",
|
|
3071
3141
|
"pluginAlias": "@instantkom/cli",
|
|
3072
3142
|
"pluginName": "@instantkom/cli",
|
|
3073
3143
|
"pluginType": "core",
|
|
@@ -3077,20 +3147,14 @@
|
|
|
3077
3147
|
"relativePath": [
|
|
3078
3148
|
"dist",
|
|
3079
3149
|
"commands",
|
|
3080
|
-
"
|
|
3081
|
-
"
|
|
3150
|
+
"channels",
|
|
3151
|
+
"kpis.js"
|
|
3082
3152
|
]
|
|
3083
3153
|
},
|
|
3084
|
-
"
|
|
3154
|
+
"channels:list": {
|
|
3085
3155
|
"aliases": [],
|
|
3086
|
-
"args": {
|
|
3087
|
-
|
|
3088
|
-
"description": "Configuration key to remove",
|
|
3089
|
-
"name": "key",
|
|
3090
|
-
"required": true
|
|
3091
|
-
}
|
|
3092
|
-
},
|
|
3093
|
-
"description": "Remove a configuration key from the current profile",
|
|
3156
|
+
"args": {},
|
|
3157
|
+
"description": "List channels",
|
|
3094
3158
|
"flags": {
|
|
3095
3159
|
"api-key": {
|
|
3096
3160
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3153,11 +3217,48 @@
|
|
|
3153
3217
|
"hasDynamicHelp": false,
|
|
3154
3218
|
"multiple": false,
|
|
3155
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"
|
|
3156
3257
|
}
|
|
3157
3258
|
},
|
|
3158
3259
|
"hasDynamicHelp": false,
|
|
3159
3260
|
"hiddenAliases": [],
|
|
3160
|
-
"id": "
|
|
3261
|
+
"id": "channels:list",
|
|
3161
3262
|
"pluginAlias": "@instantkom/cli",
|
|
3162
3263
|
"pluginName": "@instantkom/cli",
|
|
3163
3264
|
"pluginType": "core",
|
|
@@ -3167,14 +3268,20 @@
|
|
|
3167
3268
|
"relativePath": [
|
|
3168
3269
|
"dist",
|
|
3169
3270
|
"commands",
|
|
3170
|
-
"
|
|
3171
|
-
"
|
|
3271
|
+
"channels",
|
|
3272
|
+
"list.js"
|
|
3172
3273
|
]
|
|
3173
3274
|
},
|
|
3174
|
-
"
|
|
3275
|
+
"channels:update": {
|
|
3175
3276
|
"aliases": [],
|
|
3176
|
-
"args": {
|
|
3177
|
-
|
|
3277
|
+
"args": {
|
|
3278
|
+
"id": {
|
|
3279
|
+
"description": "Channel ID",
|
|
3280
|
+
"name": "id",
|
|
3281
|
+
"required": true
|
|
3282
|
+
}
|
|
3283
|
+
},
|
|
3284
|
+
"description": "Update a channel",
|
|
3178
3285
|
"flags": {
|
|
3179
3286
|
"api-key": {
|
|
3180
3287
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3238,92 +3345,38 @@
|
|
|
3238
3345
|
"multiple": false,
|
|
3239
3346
|
"type": "option"
|
|
3240
3347
|
},
|
|
3241
|
-
"
|
|
3242
|
-
"description": "Channel
|
|
3243
|
-
"name": "
|
|
3244
|
-
"hasDynamicHelp": false,
|
|
3245
|
-
"multiple": false,
|
|
3246
|
-
"type": "option"
|
|
3247
|
-
},
|
|
3248
|
-
"segment": {
|
|
3249
|
-
"description": "Segment ID within --channel",
|
|
3250
|
-
"name": "segment",
|
|
3251
|
-
"hasDynamicHelp": false,
|
|
3252
|
-
"multiple": false,
|
|
3253
|
-
"type": "option"
|
|
3254
|
-
},
|
|
3255
|
-
"target": {
|
|
3256
|
-
"description": "Target as channelId or channelId:segmentId; may be repeated",
|
|
3257
|
-
"name": "target",
|
|
3258
|
-
"hasDynamicHelp": false,
|
|
3259
|
-
"multiple": true,
|
|
3260
|
-
"type": "option"
|
|
3261
|
-
},
|
|
3262
|
-
"text": {
|
|
3263
|
-
"description": "Broadcast message text",
|
|
3264
|
-
"name": "text",
|
|
3265
|
-
"required": true,
|
|
3266
|
-
"hasDynamicHelp": false,
|
|
3267
|
-
"multiple": false,
|
|
3268
|
-
"type": "option"
|
|
3269
|
-
},
|
|
3270
|
-
"send-at": {
|
|
3271
|
-
"description": "Schedule send for an ISO-8601 date-time",
|
|
3272
|
-
"name": "send-at",
|
|
3348
|
+
"name": {
|
|
3349
|
+
"description": "Channel name",
|
|
3350
|
+
"name": "name",
|
|
3273
3351
|
"hasDynamicHelp": false,
|
|
3274
3352
|
"multiple": false,
|
|
3275
3353
|
"type": "option"
|
|
3276
3354
|
},
|
|
3277
|
-
"
|
|
3278
|
-
"description": "
|
|
3279
|
-
"name": "
|
|
3280
|
-
"allowNo": false,
|
|
3281
|
-
"type": "boolean"
|
|
3282
|
-
},
|
|
3283
|
-
"idempotency-key": {
|
|
3284
|
-
"description": "Idempotency key forwarded as Idempotency-Key",
|
|
3285
|
-
"name": "idempotency-key",
|
|
3355
|
+
"status": {
|
|
3356
|
+
"description": "Channel lifecycle status",
|
|
3357
|
+
"name": "status",
|
|
3286
3358
|
"hasDynamicHelp": false,
|
|
3287
3359
|
"multiple": false,
|
|
3288
3360
|
"type": "option"
|
|
3289
3361
|
},
|
|
3290
|
-
"
|
|
3291
|
-
"description": "
|
|
3292
|
-
"name": "
|
|
3293
|
-
"hasDynamicHelp": false,
|
|
3294
|
-
"multiple": true,
|
|
3295
|
-
"type": "option"
|
|
3296
|
-
},
|
|
3297
|
-
"template-id": {
|
|
3298
|
-
"description": "WhatsApp template ID",
|
|
3299
|
-
"name": "template-id",
|
|
3362
|
+
"description": {
|
|
3363
|
+
"description": "Channel description",
|
|
3364
|
+
"name": "description",
|
|
3300
3365
|
"hasDynamicHelp": false,
|
|
3301
3366
|
"multiple": false,
|
|
3302
3367
|
"type": "option"
|
|
3303
3368
|
},
|
|
3304
|
-
"
|
|
3305
|
-
"description": "
|
|
3306
|
-
"name": "
|
|
3307
|
-
"default": "draft",
|
|
3369
|
+
"data": {
|
|
3370
|
+
"description": "Additional JSON object payload",
|
|
3371
|
+
"name": "data",
|
|
3308
3372
|
"hasDynamicHelp": false,
|
|
3309
3373
|
"multiple": false,
|
|
3310
|
-
"options": [
|
|
3311
|
-
"draft",
|
|
3312
|
-
"scheduled",
|
|
3313
|
-
"sending"
|
|
3314
|
-
],
|
|
3315
3374
|
"type": "option"
|
|
3316
|
-
},
|
|
3317
|
-
"auto-approve": {
|
|
3318
|
-
"description": "Auto-approve broadcast when allowed by API permissions",
|
|
3319
|
-
"name": "auto-approve",
|
|
3320
|
-
"allowNo": false,
|
|
3321
|
-
"type": "boolean"
|
|
3322
3375
|
}
|
|
3323
3376
|
},
|
|
3324
3377
|
"hasDynamicHelp": false,
|
|
3325
3378
|
"hiddenAliases": [],
|
|
3326
|
-
"id": "
|
|
3379
|
+
"id": "channels:update",
|
|
3327
3380
|
"pluginAlias": "@instantkom/cli",
|
|
3328
3381
|
"pluginName": "@instantkom/cli",
|
|
3329
3382
|
"pluginType": "core",
|
|
@@ -3333,20 +3386,20 @@
|
|
|
3333
3386
|
"relativePath": [
|
|
3334
3387
|
"dist",
|
|
3335
3388
|
"commands",
|
|
3336
|
-
"
|
|
3337
|
-
"
|
|
3389
|
+
"channels",
|
|
3390
|
+
"update.js"
|
|
3338
3391
|
]
|
|
3339
3392
|
},
|
|
3340
|
-
"
|
|
3393
|
+
"chats:get": {
|
|
3341
3394
|
"aliases": [],
|
|
3342
3395
|
"args": {
|
|
3343
3396
|
"id": {
|
|
3344
|
-
"description": "
|
|
3397
|
+
"description": "chat ID",
|
|
3345
3398
|
"name": "id",
|
|
3346
3399
|
"required": true
|
|
3347
3400
|
}
|
|
3348
3401
|
},
|
|
3349
|
-
"description": "
|
|
3402
|
+
"description": "Get chat by ID",
|
|
3350
3403
|
"flags": {
|
|
3351
3404
|
"api-key": {
|
|
3352
3405
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3413,7 +3466,7 @@
|
|
|
3413
3466
|
},
|
|
3414
3467
|
"hasDynamicHelp": false,
|
|
3415
3468
|
"hiddenAliases": [],
|
|
3416
|
-
"id": "
|
|
3469
|
+
"id": "chats:get",
|
|
3417
3470
|
"pluginAlias": "@instantkom/cli",
|
|
3418
3471
|
"pluginName": "@instantkom/cli",
|
|
3419
3472
|
"pluginType": "core",
|
|
@@ -3423,20 +3476,14 @@
|
|
|
3423
3476
|
"relativePath": [
|
|
3424
3477
|
"dist",
|
|
3425
3478
|
"commands",
|
|
3426
|
-
"
|
|
3427
|
-
"
|
|
3479
|
+
"chats",
|
|
3480
|
+
"get.js"
|
|
3428
3481
|
]
|
|
3429
3482
|
},
|
|
3430
|
-
"
|
|
3483
|
+
"chats:list": {
|
|
3431
3484
|
"aliases": [],
|
|
3432
|
-
"args": {
|
|
3433
|
-
|
|
3434
|
-
"description": "broadcast ID",
|
|
3435
|
-
"name": "id",
|
|
3436
|
-
"required": true
|
|
3437
|
-
}
|
|
3438
|
-
},
|
|
3439
|
-
"description": "Get broadcast by ID",
|
|
3485
|
+
"args": {},
|
|
3486
|
+
"description": "List chats",
|
|
3440
3487
|
"flags": {
|
|
3441
3488
|
"api-key": {
|
|
3442
3489
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3499,11 +3546,73 @@
|
|
|
3499
3546
|
"hasDynamicHelp": false,
|
|
3500
3547
|
"multiple": false,
|
|
3501
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"
|
|
3502
3611
|
}
|
|
3503
3612
|
},
|
|
3504
3613
|
"hasDynamicHelp": false,
|
|
3505
3614
|
"hiddenAliases": [],
|
|
3506
|
-
"id": "
|
|
3615
|
+
"id": "chats:list",
|
|
3507
3616
|
"pluginAlias": "@instantkom/cli",
|
|
3508
3617
|
"pluginName": "@instantkom/cli",
|
|
3509
3618
|
"pluginType": "core",
|
|
@@ -3513,14 +3622,20 @@
|
|
|
3513
3622
|
"relativePath": [
|
|
3514
3623
|
"dist",
|
|
3515
3624
|
"commands",
|
|
3516
|
-
"
|
|
3517
|
-
"
|
|
3625
|
+
"chats",
|
|
3626
|
+
"list.js"
|
|
3518
3627
|
]
|
|
3519
3628
|
},
|
|
3520
|
-
"
|
|
3629
|
+
"chats:reply": {
|
|
3521
3630
|
"aliases": [],
|
|
3522
|
-
"args": {
|
|
3523
|
-
|
|
3631
|
+
"args": {
|
|
3632
|
+
"id": {
|
|
3633
|
+
"description": "Chat ID",
|
|
3634
|
+
"name": "id",
|
|
3635
|
+
"required": true
|
|
3636
|
+
}
|
|
3637
|
+
},
|
|
3638
|
+
"description": "Reply in a chat",
|
|
3524
3639
|
"flags": {
|
|
3525
3640
|
"api-key": {
|
|
3526
3641
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3584,72 +3699,18 @@
|
|
|
3584
3699
|
"multiple": false,
|
|
3585
3700
|
"type": "option"
|
|
3586
3701
|
},
|
|
3587
|
-
"
|
|
3588
|
-
"description": "
|
|
3589
|
-
"name": "
|
|
3590
|
-
"
|
|
3591
|
-
"hasDynamicHelp": false,
|
|
3592
|
-
"multiple": false,
|
|
3593
|
-
"type": "option"
|
|
3594
|
-
},
|
|
3595
|
-
"limit": {
|
|
3596
|
-
"description": "Items per page",
|
|
3597
|
-
"name": "limit",
|
|
3598
|
-
"default": 20,
|
|
3599
|
-
"hasDynamicHelp": false,
|
|
3600
|
-
"multiple": false,
|
|
3601
|
-
"type": "option"
|
|
3602
|
-
},
|
|
3603
|
-
"channel": {
|
|
3604
|
-
"description": "Filter by channel ID",
|
|
3605
|
-
"name": "channel",
|
|
3606
|
-
"hasDynamicHelp": false,
|
|
3607
|
-
"multiple": false,
|
|
3608
|
-
"type": "option"
|
|
3609
|
-
},
|
|
3610
|
-
"send-status": {
|
|
3611
|
-
"description": "Filter by send status",
|
|
3612
|
-
"name": "send-status",
|
|
3613
|
-
"hasDynamicHelp": false,
|
|
3614
|
-
"multiple": false,
|
|
3615
|
-
"type": "option"
|
|
3616
|
-
},
|
|
3617
|
-
"type": {
|
|
3618
|
-
"description": "Broadcast type",
|
|
3619
|
-
"name": "type",
|
|
3620
|
-
"hasDynamicHelp": false,
|
|
3621
|
-
"multiple": false,
|
|
3622
|
-
"options": [
|
|
3623
|
-
"text",
|
|
3624
|
-
"image",
|
|
3625
|
-
"video",
|
|
3626
|
-
"audio",
|
|
3627
|
-
"document"
|
|
3628
|
-
],
|
|
3629
|
-
"type": "option"
|
|
3630
|
-
},
|
|
3631
|
-
"search": {
|
|
3632
|
-
"description": "Search broadcasts",
|
|
3633
|
-
"name": "search",
|
|
3634
|
-
"hasDynamicHelp": false,
|
|
3635
|
-
"multiple": false,
|
|
3636
|
-
"type": "option"
|
|
3637
|
-
},
|
|
3638
|
-
"test": {
|
|
3639
|
-
"description": "Filter test flag: 0 or 1",
|
|
3640
|
-
"name": "test",
|
|
3702
|
+
"text": {
|
|
3703
|
+
"description": "Reply text",
|
|
3704
|
+
"name": "text",
|
|
3705
|
+
"required": true,
|
|
3641
3706
|
"hasDynamicHelp": false,
|
|
3642
3707
|
"multiple": false,
|
|
3643
|
-
"options": [
|
|
3644
|
-
"0",
|
|
3645
|
-
"1"
|
|
3646
|
-
],
|
|
3647
3708
|
"type": "option"
|
|
3648
3709
|
}
|
|
3649
3710
|
},
|
|
3650
3711
|
"hasDynamicHelp": false,
|
|
3651
3712
|
"hiddenAliases": [],
|
|
3652
|
-
"id": "
|
|
3713
|
+
"id": "chats:reply",
|
|
3653
3714
|
"pluginAlias": "@instantkom/cli",
|
|
3654
3715
|
"pluginName": "@instantkom/cli",
|
|
3655
3716
|
"pluginType": "core",
|
|
@@ -3659,20 +3720,20 @@
|
|
|
3659
3720
|
"relativePath": [
|
|
3660
3721
|
"dist",
|
|
3661
3722
|
"commands",
|
|
3662
|
-
"
|
|
3663
|
-
"
|
|
3723
|
+
"chats",
|
|
3724
|
+
"reply.js"
|
|
3664
3725
|
]
|
|
3665
3726
|
},
|
|
3666
|
-
"
|
|
3727
|
+
"config:get": {
|
|
3667
3728
|
"aliases": [],
|
|
3668
3729
|
"args": {
|
|
3669
|
-
"
|
|
3670
|
-
"description": "
|
|
3671
|
-
"name": "
|
|
3730
|
+
"key": {
|
|
3731
|
+
"description": "Configuration key to retrieve",
|
|
3732
|
+
"name": "key",
|
|
3672
3733
|
"required": true
|
|
3673
3734
|
}
|
|
3674
3735
|
},
|
|
3675
|
-
"description": "
|
|
3736
|
+
"description": "Get a configuration value for the current profile",
|
|
3676
3737
|
"flags": {
|
|
3677
3738
|
"api-key": {
|
|
3678
3739
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3739,7 +3800,7 @@
|
|
|
3739
3800
|
},
|
|
3740
3801
|
"hasDynamicHelp": false,
|
|
3741
3802
|
"hiddenAliases": [],
|
|
3742
|
-
"id": "
|
|
3803
|
+
"id": "config:get",
|
|
3743
3804
|
"pluginAlias": "@instantkom/cli",
|
|
3744
3805
|
"pluginName": "@instantkom/cli",
|
|
3745
3806
|
"pluginType": "core",
|
|
@@ -3749,20 +3810,25 @@
|
|
|
3749
3810
|
"relativePath": [
|
|
3750
3811
|
"dist",
|
|
3751
3812
|
"commands",
|
|
3752
|
-
"
|
|
3753
|
-
"
|
|
3813
|
+
"config",
|
|
3814
|
+
"get.js"
|
|
3754
3815
|
]
|
|
3755
3816
|
},
|
|
3756
|
-
"
|
|
3817
|
+
"config:set": {
|
|
3757
3818
|
"aliases": [],
|
|
3758
3819
|
"args": {
|
|
3759
|
-
"
|
|
3760
|
-
"description": "
|
|
3761
|
-
"name": "
|
|
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",
|
|
3762
3828
|
"required": true
|
|
3763
3829
|
}
|
|
3764
3830
|
},
|
|
3765
|
-
"description": "
|
|
3831
|
+
"description": "Set a configuration value for the current profile",
|
|
3766
3832
|
"flags": {
|
|
3767
3833
|
"api-key": {
|
|
3768
3834
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3829,7 +3895,7 @@
|
|
|
3829
3895
|
},
|
|
3830
3896
|
"hasDynamicHelp": false,
|
|
3831
3897
|
"hiddenAliases": [],
|
|
3832
|
-
"id": "
|
|
3898
|
+
"id": "config:set",
|
|
3833
3899
|
"pluginAlias": "@instantkom/cli",
|
|
3834
3900
|
"pluginName": "@instantkom/cli",
|
|
3835
3901
|
"pluginType": "core",
|
|
@@ -3839,20 +3905,20 @@
|
|
|
3839
3905
|
"relativePath": [
|
|
3840
3906
|
"dist",
|
|
3841
3907
|
"commands",
|
|
3842
|
-
"
|
|
3843
|
-
"
|
|
3908
|
+
"config",
|
|
3909
|
+
"set.js"
|
|
3844
3910
|
]
|
|
3845
3911
|
},
|
|
3846
|
-
"
|
|
3912
|
+
"config:unset": {
|
|
3847
3913
|
"aliases": [],
|
|
3848
3914
|
"args": {
|
|
3849
|
-
"
|
|
3850
|
-
"description": "
|
|
3851
|
-
"name": "
|
|
3915
|
+
"key": {
|
|
3916
|
+
"description": "Configuration key to remove",
|
|
3917
|
+
"name": "key",
|
|
3852
3918
|
"required": true
|
|
3853
3919
|
}
|
|
3854
3920
|
},
|
|
3855
|
-
"description": "
|
|
3921
|
+
"description": "Remove a configuration key from the current profile",
|
|
3856
3922
|
"flags": {
|
|
3857
3923
|
"api-key": {
|
|
3858
3924
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3915,77 +3981,11 @@
|
|
|
3915
3981
|
"hasDynamicHelp": false,
|
|
3916
3982
|
"multiple": false,
|
|
3917
3983
|
"type": "option"
|
|
3918
|
-
},
|
|
3919
|
-
"text": {
|
|
3920
|
-
"description": "Broadcast message text",
|
|
3921
|
-
"name": "text",
|
|
3922
|
-
"hasDynamicHelp": false,
|
|
3923
|
-
"multiple": false,
|
|
3924
|
-
"type": "option"
|
|
3925
|
-
},
|
|
3926
|
-
"send-status": {
|
|
3927
|
-
"description": "Send status",
|
|
3928
|
-
"name": "send-status",
|
|
3929
|
-
"hasDynamicHelp": false,
|
|
3930
|
-
"multiple": false,
|
|
3931
|
-
"type": "option"
|
|
3932
|
-
},
|
|
3933
|
-
"scheduled-at": {
|
|
3934
|
-
"description": "Unix timestamp for scheduled send",
|
|
3935
|
-
"name": "scheduled-at",
|
|
3936
|
-
"hasDynamicHelp": false,
|
|
3937
|
-
"multiple": false,
|
|
3938
|
-
"type": "option"
|
|
3939
|
-
},
|
|
3940
|
-
"approved": {
|
|
3941
|
-
"description": "Mark as approved",
|
|
3942
|
-
"name": "approved",
|
|
3943
|
-
"allowNo": false,
|
|
3944
|
-
"type": "boolean"
|
|
3945
|
-
},
|
|
3946
|
-
"locked": {
|
|
3947
|
-
"description": "Mark as locked",
|
|
3948
|
-
"name": "locked",
|
|
3949
|
-
"allowNo": false,
|
|
3950
|
-
"type": "boolean"
|
|
3951
|
-
},
|
|
3952
|
-
"test": {
|
|
3953
|
-
"description": "Mark as test broadcast",
|
|
3954
|
-
"name": "test",
|
|
3955
|
-
"allowNo": false,
|
|
3956
|
-
"type": "boolean"
|
|
3957
|
-
},
|
|
3958
|
-
"template-id": {
|
|
3959
|
-
"description": "Template ID",
|
|
3960
|
-
"name": "template-id",
|
|
3961
|
-
"hasDynamicHelp": false,
|
|
3962
|
-
"multiple": false,
|
|
3963
|
-
"type": "option"
|
|
3964
|
-
},
|
|
3965
|
-
"remove-media": {
|
|
3966
|
-
"description": "Remove existing media",
|
|
3967
|
-
"name": "remove-media",
|
|
3968
|
-
"allowNo": false,
|
|
3969
|
-
"type": "boolean"
|
|
3970
|
-
},
|
|
3971
|
-
"header-footer": {
|
|
3972
|
-
"description": "Header/footer JSON array",
|
|
3973
|
-
"name": "header-footer",
|
|
3974
|
-
"hasDynamicHelp": false,
|
|
3975
|
-
"multiple": false,
|
|
3976
|
-
"type": "option"
|
|
3977
|
-
},
|
|
3978
|
-
"data": {
|
|
3979
|
-
"description": "Additional JSON object payload",
|
|
3980
|
-
"name": "data",
|
|
3981
|
-
"hasDynamicHelp": false,
|
|
3982
|
-
"multiple": false,
|
|
3983
|
-
"type": "option"
|
|
3984
3984
|
}
|
|
3985
3985
|
},
|
|
3986
3986
|
"hasDynamicHelp": false,
|
|
3987
3987
|
"hiddenAliases": [],
|
|
3988
|
-
"id": "
|
|
3988
|
+
"id": "config:unset",
|
|
3989
3989
|
"pluginAlias": "@instantkom/cli",
|
|
3990
3990
|
"pluginName": "@instantkom/cli",
|
|
3991
3991
|
"pluginType": "core",
|
|
@@ -3995,8 +3995,8 @@
|
|
|
3995
3995
|
"relativePath": [
|
|
3996
3996
|
"dist",
|
|
3997
3997
|
"commands",
|
|
3998
|
-
"
|
|
3999
|
-
"
|
|
3998
|
+
"config",
|
|
3999
|
+
"unset.js"
|
|
4000
4000
|
]
|
|
4001
4001
|
},
|
|
4002
4002
|
"contacts:create": {
|
|
@@ -15666,16 +15666,16 @@
|
|
|
15666
15666
|
"list.js"
|
|
15667
15667
|
]
|
|
15668
15668
|
},
|
|
15669
|
-
"tags:
|
|
15669
|
+
"tags:segments:list": {
|
|
15670
15670
|
"aliases": [],
|
|
15671
15671
|
"args": {
|
|
15672
|
-
"
|
|
15672
|
+
"id": {
|
|
15673
15673
|
"description": "Tag ID",
|
|
15674
|
-
"name": "
|
|
15674
|
+
"name": "id",
|
|
15675
15675
|
"required": true
|
|
15676
15676
|
}
|
|
15677
15677
|
},
|
|
15678
|
-
"description": "
|
|
15678
|
+
"description": "List segments that use a specific tag",
|
|
15679
15679
|
"flags": {
|
|
15680
15680
|
"api-key": {
|
|
15681
15681
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -15739,10 +15739,18 @@
|
|
|
15739
15739
|
"multiple": false,
|
|
15740
15740
|
"type": "option"
|
|
15741
15741
|
},
|
|
15742
|
-
"
|
|
15743
|
-
"description": "
|
|
15744
|
-
"name": "
|
|
15745
|
-
"
|
|
15742
|
+
"page": {
|
|
15743
|
+
"description": "Page number",
|
|
15744
|
+
"name": "page",
|
|
15745
|
+
"default": 1,
|
|
15746
|
+
"hasDynamicHelp": false,
|
|
15747
|
+
"multiple": false,
|
|
15748
|
+
"type": "option"
|
|
15749
|
+
},
|
|
15750
|
+
"limit": {
|
|
15751
|
+
"description": "Items per page",
|
|
15752
|
+
"name": "limit",
|
|
15753
|
+
"default": 20,
|
|
15746
15754
|
"hasDynamicHelp": false,
|
|
15747
15755
|
"multiple": false,
|
|
15748
15756
|
"type": "option"
|
|
@@ -15750,7 +15758,7 @@
|
|
|
15750
15758
|
},
|
|
15751
15759
|
"hasDynamicHelp": false,
|
|
15752
15760
|
"hiddenAliases": [],
|
|
15753
|
-
"id": "tags:
|
|
15761
|
+
"id": "tags:segments:list",
|
|
15754
15762
|
"pluginAlias": "@instantkom/cli",
|
|
15755
15763
|
"pluginName": "@instantkom/cli",
|
|
15756
15764
|
"pluginType": "core",
|
|
@@ -15761,11 +15769,11 @@
|
|
|
15761
15769
|
"dist",
|
|
15762
15770
|
"commands",
|
|
15763
15771
|
"tags",
|
|
15764
|
-
"
|
|
15765
|
-
"
|
|
15772
|
+
"segments",
|
|
15773
|
+
"list.js"
|
|
15766
15774
|
]
|
|
15767
15775
|
},
|
|
15768
|
-
"tags:recipients:
|
|
15776
|
+
"tags:recipients:add": {
|
|
15769
15777
|
"aliases": [],
|
|
15770
15778
|
"args": {
|
|
15771
15779
|
"tagId": {
|
|
@@ -15774,7 +15782,7 @@
|
|
|
15774
15782
|
"required": true
|
|
15775
15783
|
}
|
|
15776
15784
|
},
|
|
15777
|
-
"description": "
|
|
15785
|
+
"description": "Assign a tag to recipients",
|
|
15778
15786
|
"flags": {
|
|
15779
15787
|
"api-key": {
|
|
15780
15788
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -15849,7 +15857,7 @@
|
|
|
15849
15857
|
},
|
|
15850
15858
|
"hasDynamicHelp": false,
|
|
15851
15859
|
"hiddenAliases": [],
|
|
15852
|
-
"id": "tags:recipients:
|
|
15860
|
+
"id": "tags:recipients:add",
|
|
15853
15861
|
"pluginAlias": "@instantkom/cli",
|
|
15854
15862
|
"pluginName": "@instantkom/cli",
|
|
15855
15863
|
"pluginType": "core",
|
|
@@ -15861,19 +15869,19 @@
|
|
|
15861
15869
|
"commands",
|
|
15862
15870
|
"tags",
|
|
15863
15871
|
"recipients",
|
|
15864
|
-
"
|
|
15872
|
+
"add.js"
|
|
15865
15873
|
]
|
|
15866
15874
|
},
|
|
15867
|
-
"tags:
|
|
15875
|
+
"tags:recipients:remove": {
|
|
15868
15876
|
"aliases": [],
|
|
15869
15877
|
"args": {
|
|
15870
|
-
"
|
|
15878
|
+
"tagId": {
|
|
15871
15879
|
"description": "Tag ID",
|
|
15872
|
-
"name": "
|
|
15880
|
+
"name": "tagId",
|
|
15873
15881
|
"required": true
|
|
15874
15882
|
}
|
|
15875
15883
|
},
|
|
15876
|
-
"description": "
|
|
15884
|
+
"description": "Remove a tag from recipients",
|
|
15877
15885
|
"flags": {
|
|
15878
15886
|
"api-key": {
|
|
15879
15887
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -15937,18 +15945,10 @@
|
|
|
15937
15945
|
"multiple": false,
|
|
15938
15946
|
"type": "option"
|
|
15939
15947
|
},
|
|
15940
|
-
"
|
|
15941
|
-
"description": "
|
|
15942
|
-
"name": "
|
|
15943
|
-
"
|
|
15944
|
-
"hasDynamicHelp": false,
|
|
15945
|
-
"multiple": false,
|
|
15946
|
-
"type": "option"
|
|
15947
|
-
},
|
|
15948
|
-
"limit": {
|
|
15949
|
-
"description": "Items per page",
|
|
15950
|
-
"name": "limit",
|
|
15951
|
-
"default": 20,
|
|
15948
|
+
"recipients": {
|
|
15949
|
+
"description": "Comma-separated recipient IDs",
|
|
15950
|
+
"name": "recipients",
|
|
15951
|
+
"required": true,
|
|
15952
15952
|
"hasDynamicHelp": false,
|
|
15953
15953
|
"multiple": false,
|
|
15954
15954
|
"type": "option"
|
|
@@ -15956,7 +15956,7 @@
|
|
|
15956
15956
|
},
|
|
15957
15957
|
"hasDynamicHelp": false,
|
|
15958
15958
|
"hiddenAliases": [],
|
|
15959
|
-
"id": "tags:
|
|
15959
|
+
"id": "tags:recipients:remove",
|
|
15960
15960
|
"pluginAlias": "@instantkom/cli",
|
|
15961
15961
|
"pluginName": "@instantkom/cli",
|
|
15962
15962
|
"pluginType": "core",
|
|
@@ -15967,8 +15967,8 @@
|
|
|
15967
15967
|
"dist",
|
|
15968
15968
|
"commands",
|
|
15969
15969
|
"tags",
|
|
15970
|
-
"
|
|
15971
|
-
"
|
|
15970
|
+
"recipients",
|
|
15971
|
+
"remove.js"
|
|
15972
15972
|
]
|
|
15973
15973
|
},
|
|
15974
15974
|
"ticket:messages:create": {
|
|
@@ -16566,5 +16566,5 @@
|
|
|
16566
16566
|
]
|
|
16567
16567
|
}
|
|
16568
16568
|
},
|
|
16569
|
-
"version": "3.
|
|
16569
|
+
"version": "3.151.1"
|
|
16570
16570
|
}
|