@instantkom/cli 3.182.0 → 3.184.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 +976 -976
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -1073,6 +1073,40 @@
|
|
|
1073
1073
|
"reply.js"
|
|
1074
1074
|
]
|
|
1075
1075
|
},
|
|
1076
|
+
"autocomplete:script": {
|
|
1077
|
+
"aliases": [],
|
|
1078
|
+
"args": {
|
|
1079
|
+
"shell": {
|
|
1080
|
+
"description": "Shell type",
|
|
1081
|
+
"name": "shell",
|
|
1082
|
+
"options": [
|
|
1083
|
+
"zsh",
|
|
1084
|
+
"bash",
|
|
1085
|
+
"fish",
|
|
1086
|
+
"powershell"
|
|
1087
|
+
],
|
|
1088
|
+
"required": false
|
|
1089
|
+
}
|
|
1090
|
+
},
|
|
1091
|
+
"description": "outputs autocomplete config script for shells",
|
|
1092
|
+
"flags": {},
|
|
1093
|
+
"hasDynamicHelp": false,
|
|
1094
|
+
"hidden": true,
|
|
1095
|
+
"hiddenAliases": [],
|
|
1096
|
+
"id": "autocomplete:script",
|
|
1097
|
+
"pluginAlias": "@instantkom/cli",
|
|
1098
|
+
"pluginName": "@instantkom/cli",
|
|
1099
|
+
"pluginType": "core",
|
|
1100
|
+
"strict": true,
|
|
1101
|
+
"enableJsonFlag": false,
|
|
1102
|
+
"isESM": true,
|
|
1103
|
+
"relativePath": [
|
|
1104
|
+
"dist",
|
|
1105
|
+
"commands",
|
|
1106
|
+
"autocomplete",
|
|
1107
|
+
"script.js"
|
|
1108
|
+
]
|
|
1109
|
+
},
|
|
1076
1110
|
"auth:login": {
|
|
1077
1111
|
"aliases": [],
|
|
1078
1112
|
"args": {},
|
|
@@ -1255,40 +1289,6 @@
|
|
|
1255
1289
|
"logout.js"
|
|
1256
1290
|
]
|
|
1257
1291
|
},
|
|
1258
|
-
"autocomplete:script": {
|
|
1259
|
-
"aliases": [],
|
|
1260
|
-
"args": {
|
|
1261
|
-
"shell": {
|
|
1262
|
-
"description": "Shell type",
|
|
1263
|
-
"name": "shell",
|
|
1264
|
-
"options": [
|
|
1265
|
-
"zsh",
|
|
1266
|
-
"bash",
|
|
1267
|
-
"fish",
|
|
1268
|
-
"powershell"
|
|
1269
|
-
],
|
|
1270
|
-
"required": false
|
|
1271
|
-
}
|
|
1272
|
-
},
|
|
1273
|
-
"description": "outputs autocomplete config script for shells",
|
|
1274
|
-
"flags": {},
|
|
1275
|
-
"hasDynamicHelp": false,
|
|
1276
|
-
"hidden": true,
|
|
1277
|
-
"hiddenAliases": [],
|
|
1278
|
-
"id": "autocomplete:script",
|
|
1279
|
-
"pluginAlias": "@instantkom/cli",
|
|
1280
|
-
"pluginName": "@instantkom/cli",
|
|
1281
|
-
"pluginType": "core",
|
|
1282
|
-
"strict": true,
|
|
1283
|
-
"enableJsonFlag": false,
|
|
1284
|
-
"isESM": true,
|
|
1285
|
-
"relativePath": [
|
|
1286
|
-
"dist",
|
|
1287
|
-
"commands",
|
|
1288
|
-
"autocomplete",
|
|
1289
|
-
"script.js"
|
|
1290
|
-
]
|
|
1291
|
-
},
|
|
1292
1292
|
"bots:create": {
|
|
1293
1293
|
"aliases": [],
|
|
1294
1294
|
"args": {},
|
|
@@ -2015,10 +2015,10 @@
|
|
|
2015
2015
|
"update.js"
|
|
2016
2016
|
]
|
|
2017
2017
|
},
|
|
2018
|
-
"
|
|
2018
|
+
"channels:create": {
|
|
2019
2019
|
"aliases": [],
|
|
2020
2020
|
"args": {},
|
|
2021
|
-
"description": "Create a
|
|
2021
|
+
"description": "Create a channel",
|
|
2022
2022
|
"flags": {
|
|
2023
2023
|
"api-key": {
|
|
2024
2024
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2082,92 +2082,47 @@
|
|
|
2082
2082
|
"multiple": false,
|
|
2083
2083
|
"type": "option"
|
|
2084
2084
|
},
|
|
2085
|
-
"
|
|
2086
|
-
"description": "Channel
|
|
2087
|
-
"name": "
|
|
2088
|
-
"hasDynamicHelp": false,
|
|
2089
|
-
"multiple": false,
|
|
2090
|
-
"type": "option"
|
|
2091
|
-
},
|
|
2092
|
-
"segment": {
|
|
2093
|
-
"description": "Segment ID within --channel",
|
|
2094
|
-
"name": "segment",
|
|
2095
|
-
"hasDynamicHelp": false,
|
|
2096
|
-
"multiple": false,
|
|
2097
|
-
"type": "option"
|
|
2098
|
-
},
|
|
2099
|
-
"target": {
|
|
2100
|
-
"description": "Target as channelId or channelId:segmentId; may be repeated",
|
|
2101
|
-
"name": "target",
|
|
2102
|
-
"hasDynamicHelp": false,
|
|
2103
|
-
"multiple": true,
|
|
2104
|
-
"type": "option"
|
|
2105
|
-
},
|
|
2106
|
-
"text": {
|
|
2107
|
-
"description": "Broadcast message text",
|
|
2108
|
-
"name": "text",
|
|
2085
|
+
"name": {
|
|
2086
|
+
"description": "Channel name",
|
|
2087
|
+
"name": "name",
|
|
2109
2088
|
"required": true,
|
|
2110
2089
|
"hasDynamicHelp": false,
|
|
2111
2090
|
"multiple": false,
|
|
2112
2091
|
"type": "option"
|
|
2113
2092
|
},
|
|
2114
|
-
"
|
|
2115
|
-
"description": "
|
|
2116
|
-
"name": "
|
|
2093
|
+
"gateway-type": {
|
|
2094
|
+
"description": "Gateway type ID",
|
|
2095
|
+
"name": "gateway-type",
|
|
2096
|
+
"required": true,
|
|
2117
2097
|
"hasDynamicHelp": false,
|
|
2118
2098
|
"multiple": false,
|
|
2119
2099
|
"type": "option"
|
|
2120
2100
|
},
|
|
2121
|
-
"
|
|
2122
|
-
"description": "
|
|
2123
|
-
"name": "
|
|
2124
|
-
"allowNo": false,
|
|
2125
|
-
"type": "boolean"
|
|
2126
|
-
},
|
|
2127
|
-
"idempotency-key": {
|
|
2128
|
-
"description": "Idempotency key forwarded as Idempotency-Key",
|
|
2129
|
-
"name": "idempotency-key",
|
|
2101
|
+
"status": {
|
|
2102
|
+
"description": "Channel lifecycle status",
|
|
2103
|
+
"name": "status",
|
|
2130
2104
|
"hasDynamicHelp": false,
|
|
2131
2105
|
"multiple": false,
|
|
2132
2106
|
"type": "option"
|
|
2133
2107
|
},
|
|
2134
|
-
"
|
|
2135
|
-
"description": "
|
|
2136
|
-
"name": "
|
|
2137
|
-
"hasDynamicHelp": false,
|
|
2138
|
-
"multiple": true,
|
|
2139
|
-
"type": "option"
|
|
2140
|
-
},
|
|
2141
|
-
"template-id": {
|
|
2142
|
-
"description": "WhatsApp template ID",
|
|
2143
|
-
"name": "template-id",
|
|
2108
|
+
"description": {
|
|
2109
|
+
"description": "Channel description",
|
|
2110
|
+
"name": "description",
|
|
2144
2111
|
"hasDynamicHelp": false,
|
|
2145
2112
|
"multiple": false,
|
|
2146
2113
|
"type": "option"
|
|
2147
2114
|
},
|
|
2148
|
-
"
|
|
2149
|
-
"description": "
|
|
2150
|
-
"name": "
|
|
2151
|
-
"default": "draft",
|
|
2115
|
+
"data": {
|
|
2116
|
+
"description": "Additional JSON object payload",
|
|
2117
|
+
"name": "data",
|
|
2152
2118
|
"hasDynamicHelp": false,
|
|
2153
2119
|
"multiple": false,
|
|
2154
|
-
"options": [
|
|
2155
|
-
"draft",
|
|
2156
|
-
"scheduled",
|
|
2157
|
-
"sending"
|
|
2158
|
-
],
|
|
2159
2120
|
"type": "option"
|
|
2160
|
-
},
|
|
2161
|
-
"auto-approve": {
|
|
2162
|
-
"description": "Auto-approve broadcast when allowed by API permissions",
|
|
2163
|
-
"name": "auto-approve",
|
|
2164
|
-
"allowNo": false,
|
|
2165
|
-
"type": "boolean"
|
|
2166
2121
|
}
|
|
2167
2122
|
},
|
|
2168
2123
|
"hasDynamicHelp": false,
|
|
2169
2124
|
"hiddenAliases": [],
|
|
2170
|
-
"id": "
|
|
2125
|
+
"id": "channels:create",
|
|
2171
2126
|
"pluginAlias": "@instantkom/cli",
|
|
2172
2127
|
"pluginName": "@instantkom/cli",
|
|
2173
2128
|
"pluginType": "core",
|
|
@@ -2177,20 +2132,20 @@
|
|
|
2177
2132
|
"relativePath": [
|
|
2178
2133
|
"dist",
|
|
2179
2134
|
"commands",
|
|
2180
|
-
"
|
|
2135
|
+
"channels",
|
|
2181
2136
|
"create.js"
|
|
2182
2137
|
]
|
|
2183
2138
|
},
|
|
2184
|
-
"
|
|
2139
|
+
"channels:get": {
|
|
2185
2140
|
"aliases": [],
|
|
2186
2141
|
"args": {
|
|
2187
2142
|
"id": {
|
|
2188
|
-
"description": "
|
|
2143
|
+
"description": "Channel ID",
|
|
2189
2144
|
"name": "id",
|
|
2190
2145
|
"required": true
|
|
2191
2146
|
}
|
|
2192
2147
|
},
|
|
2193
|
-
"description": "
|
|
2148
|
+
"description": "Get a channel by ID",
|
|
2194
2149
|
"flags": {
|
|
2195
2150
|
"api-key": {
|
|
2196
2151
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2257,7 +2212,7 @@
|
|
|
2257
2212
|
},
|
|
2258
2213
|
"hasDynamicHelp": false,
|
|
2259
2214
|
"hiddenAliases": [],
|
|
2260
|
-
"id": "
|
|
2215
|
+
"id": "channels:get",
|
|
2261
2216
|
"pluginAlias": "@instantkom/cli",
|
|
2262
2217
|
"pluginName": "@instantkom/cli",
|
|
2263
2218
|
"pluginType": "core",
|
|
@@ -2267,20 +2222,20 @@
|
|
|
2267
2222
|
"relativePath": [
|
|
2268
2223
|
"dist",
|
|
2269
2224
|
"commands",
|
|
2270
|
-
"
|
|
2271
|
-
"
|
|
2225
|
+
"channels",
|
|
2226
|
+
"get.js"
|
|
2272
2227
|
]
|
|
2273
2228
|
},
|
|
2274
|
-
"
|
|
2229
|
+
"channels:kpis": {
|
|
2275
2230
|
"aliases": [],
|
|
2276
2231
|
"args": {
|
|
2277
2232
|
"id": {
|
|
2278
|
-
"description": "
|
|
2233
|
+
"description": "Optional channel ID; omit for aggregated channel KPIs",
|
|
2279
2234
|
"name": "id",
|
|
2280
|
-
"required":
|
|
2235
|
+
"required": false
|
|
2281
2236
|
}
|
|
2282
2237
|
},
|
|
2283
|
-
"description": "Get
|
|
2238
|
+
"description": "Get channel KPIs",
|
|
2284
2239
|
"flags": {
|
|
2285
2240
|
"api-key": {
|
|
2286
2241
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2343,11 +2298,18 @@
|
|
|
2343
2298
|
"hasDynamicHelp": false,
|
|
2344
2299
|
"multiple": false,
|
|
2345
2300
|
"type": "option"
|
|
2301
|
+
},
|
|
2302
|
+
"period": {
|
|
2303
|
+
"description": "KPI period",
|
|
2304
|
+
"name": "period",
|
|
2305
|
+
"hasDynamicHelp": false,
|
|
2306
|
+
"multiple": false,
|
|
2307
|
+
"type": "option"
|
|
2346
2308
|
}
|
|
2347
2309
|
},
|
|
2348
2310
|
"hasDynamicHelp": false,
|
|
2349
2311
|
"hiddenAliases": [],
|
|
2350
|
-
"id": "
|
|
2312
|
+
"id": "channels:kpis",
|
|
2351
2313
|
"pluginAlias": "@instantkom/cli",
|
|
2352
2314
|
"pluginName": "@instantkom/cli",
|
|
2353
2315
|
"pluginType": "core",
|
|
@@ -2357,14 +2319,14 @@
|
|
|
2357
2319
|
"relativePath": [
|
|
2358
2320
|
"dist",
|
|
2359
2321
|
"commands",
|
|
2360
|
-
"
|
|
2361
|
-
"
|
|
2322
|
+
"channels",
|
|
2323
|
+
"kpis.js"
|
|
2362
2324
|
]
|
|
2363
2325
|
},
|
|
2364
|
-
"
|
|
2326
|
+
"channels:list": {
|
|
2365
2327
|
"aliases": [],
|
|
2366
2328
|
"args": {},
|
|
2367
|
-
"description": "List
|
|
2329
|
+
"description": "List channels",
|
|
2368
2330
|
"flags": {
|
|
2369
2331
|
"api-key": {
|
|
2370
2332
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2444,56 +2406,31 @@
|
|
|
2444
2406
|
"multiple": false,
|
|
2445
2407
|
"type": "option"
|
|
2446
2408
|
},
|
|
2447
|
-
"
|
|
2448
|
-
"description": "Filter by channel
|
|
2449
|
-
"name": "
|
|
2450
|
-
"hasDynamicHelp": false,
|
|
2451
|
-
"multiple": false,
|
|
2452
|
-
"type": "option"
|
|
2453
|
-
},
|
|
2454
|
-
"send-status": {
|
|
2455
|
-
"description": "Filter by send status",
|
|
2456
|
-
"name": "send-status",
|
|
2409
|
+
"status": {
|
|
2410
|
+
"description": "Filter by channel status",
|
|
2411
|
+
"name": "status",
|
|
2457
2412
|
"hasDynamicHelp": false,
|
|
2458
2413
|
"multiple": false,
|
|
2459
2414
|
"type": "option"
|
|
2460
2415
|
},
|
|
2461
|
-
"type": {
|
|
2462
|
-
"description": "
|
|
2463
|
-
"name": "type",
|
|
2416
|
+
"gateway-type": {
|
|
2417
|
+
"description": "Filter by gateway type ID",
|
|
2418
|
+
"name": "gateway-type",
|
|
2464
2419
|
"hasDynamicHelp": false,
|
|
2465
2420
|
"multiple": false,
|
|
2466
|
-
"options": [
|
|
2467
|
-
"text",
|
|
2468
|
-
"image",
|
|
2469
|
-
"video",
|
|
2470
|
-
"audio",
|
|
2471
|
-
"document"
|
|
2472
|
-
],
|
|
2473
2421
|
"type": "option"
|
|
2474
2422
|
},
|
|
2475
2423
|
"search": {
|
|
2476
|
-
"description": "Search
|
|
2424
|
+
"description": "Search by channel name",
|
|
2477
2425
|
"name": "search",
|
|
2478
2426
|
"hasDynamicHelp": false,
|
|
2479
2427
|
"multiple": false,
|
|
2480
2428
|
"type": "option"
|
|
2481
|
-
},
|
|
2482
|
-
"test": {
|
|
2483
|
-
"description": "Filter test flag: 0 or 1",
|
|
2484
|
-
"name": "test",
|
|
2485
|
-
"hasDynamicHelp": false,
|
|
2486
|
-
"multiple": false,
|
|
2487
|
-
"options": [
|
|
2488
|
-
"0",
|
|
2489
|
-
"1"
|
|
2490
|
-
],
|
|
2491
|
-
"type": "option"
|
|
2492
2429
|
}
|
|
2493
2430
|
},
|
|
2494
2431
|
"hasDynamicHelp": false,
|
|
2495
2432
|
"hiddenAliases": [],
|
|
2496
|
-
"id": "
|
|
2433
|
+
"id": "channels:list",
|
|
2497
2434
|
"pluginAlias": "@instantkom/cli",
|
|
2498
2435
|
"pluginName": "@instantkom/cli",
|
|
2499
2436
|
"pluginType": "core",
|
|
@@ -2503,20 +2440,20 @@
|
|
|
2503
2440
|
"relativePath": [
|
|
2504
2441
|
"dist",
|
|
2505
2442
|
"commands",
|
|
2506
|
-
"
|
|
2443
|
+
"channels",
|
|
2507
2444
|
"list.js"
|
|
2508
2445
|
]
|
|
2509
2446
|
},
|
|
2510
|
-
"
|
|
2447
|
+
"channels:update": {
|
|
2511
2448
|
"aliases": [],
|
|
2512
2449
|
"args": {
|
|
2513
2450
|
"id": {
|
|
2514
|
-
"description": "
|
|
2451
|
+
"description": "Channel ID",
|
|
2515
2452
|
"name": "id",
|
|
2516
2453
|
"required": true
|
|
2517
2454
|
}
|
|
2518
2455
|
},
|
|
2519
|
-
"description": "
|
|
2456
|
+
"description": "Update a channel",
|
|
2520
2457
|
"flags": {
|
|
2521
2458
|
"api-key": {
|
|
2522
2459
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2579,93 +2516,31 @@
|
|
|
2579
2516
|
"hasDynamicHelp": false,
|
|
2580
2517
|
"multiple": false,
|
|
2581
2518
|
"type": "option"
|
|
2582
|
-
}
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
"id": "broadcast:send",
|
|
2587
|
-
"pluginAlias": "@instantkom/cli",
|
|
2588
|
-
"pluginName": "@instantkom/cli",
|
|
2589
|
-
"pluginType": "core",
|
|
2590
|
-
"strict": true,
|
|
2591
|
-
"enableJsonFlag": false,
|
|
2592
|
-
"isESM": true,
|
|
2593
|
-
"relativePath": [
|
|
2594
|
-
"dist",
|
|
2595
|
-
"commands",
|
|
2596
|
-
"broadcast",
|
|
2597
|
-
"send.js"
|
|
2598
|
-
]
|
|
2599
|
-
},
|
|
2600
|
-
"broadcast:status": {
|
|
2601
|
-
"aliases": [],
|
|
2602
|
-
"args": {
|
|
2603
|
-
"id": {
|
|
2604
|
-
"description": "Broadcast ID",
|
|
2605
|
-
"name": "id",
|
|
2606
|
-
"required": true
|
|
2607
|
-
}
|
|
2608
|
-
},
|
|
2609
|
-
"description": "Show broadcast send status",
|
|
2610
|
-
"flags": {
|
|
2611
|
-
"api-key": {
|
|
2612
|
-
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
2613
|
-
"env": "IKM_API_KEY",
|
|
2614
|
-
"helpGroup": "GLOBAL",
|
|
2615
|
-
"name": "api-key",
|
|
2519
|
+
},
|
|
2520
|
+
"name": {
|
|
2521
|
+
"description": "Channel name",
|
|
2522
|
+
"name": "name",
|
|
2616
2523
|
"hasDynamicHelp": false,
|
|
2617
2524
|
"multiple": false,
|
|
2618
2525
|
"type": "option"
|
|
2619
2526
|
},
|
|
2620
|
-
"
|
|
2621
|
-
"description": "
|
|
2622
|
-
"
|
|
2623
|
-
"name": "format",
|
|
2624
|
-
"default": "text",
|
|
2527
|
+
"status": {
|
|
2528
|
+
"description": "Channel lifecycle status",
|
|
2529
|
+
"name": "status",
|
|
2625
2530
|
"hasDynamicHelp": false,
|
|
2626
2531
|
"multiple": false,
|
|
2627
|
-
"options": [
|
|
2628
|
-
"text",
|
|
2629
|
-
"json",
|
|
2630
|
-
"yaml",
|
|
2631
|
-
"table"
|
|
2632
|
-
],
|
|
2633
2532
|
"type": "option"
|
|
2634
2533
|
},
|
|
2635
|
-
"
|
|
2636
|
-
"description": "
|
|
2637
|
-
"
|
|
2638
|
-
"name": "json",
|
|
2639
|
-
"allowNo": false,
|
|
2640
|
-
"type": "boolean"
|
|
2641
|
-
},
|
|
2642
|
-
"quiet": {
|
|
2643
|
-
"description": "Suppress all output except errors",
|
|
2644
|
-
"helpGroup": "GLOBAL",
|
|
2645
|
-
"name": "quiet",
|
|
2646
|
-
"allowNo": false,
|
|
2647
|
-
"type": "boolean"
|
|
2648
|
-
},
|
|
2649
|
-
"no-color": {
|
|
2650
|
-
"description": "Disable color output",
|
|
2651
|
-
"helpGroup": "GLOBAL",
|
|
2652
|
-
"name": "no-color",
|
|
2653
|
-
"allowNo": false,
|
|
2654
|
-
"type": "boolean"
|
|
2655
|
-
},
|
|
2656
|
-
"profile": {
|
|
2657
|
-
"description": "Named configuration profile to use",
|
|
2658
|
-
"helpGroup": "GLOBAL",
|
|
2659
|
-
"name": "profile",
|
|
2660
|
-
"default": "default",
|
|
2534
|
+
"description": {
|
|
2535
|
+
"description": "Channel description",
|
|
2536
|
+
"name": "description",
|
|
2661
2537
|
"hasDynamicHelp": false,
|
|
2662
2538
|
"multiple": false,
|
|
2663
2539
|
"type": "option"
|
|
2664
2540
|
},
|
|
2665
|
-
"
|
|
2666
|
-
"description": "
|
|
2667
|
-
"
|
|
2668
|
-
"name": "api-url",
|
|
2541
|
+
"data": {
|
|
2542
|
+
"description": "Additional JSON object payload",
|
|
2543
|
+
"name": "data",
|
|
2669
2544
|
"hasDynamicHelp": false,
|
|
2670
2545
|
"multiple": false,
|
|
2671
2546
|
"type": "option"
|
|
@@ -2673,7 +2548,7 @@
|
|
|
2673
2548
|
},
|
|
2674
2549
|
"hasDynamicHelp": false,
|
|
2675
2550
|
"hiddenAliases": [],
|
|
2676
|
-
"id": "
|
|
2551
|
+
"id": "channels:update",
|
|
2677
2552
|
"pluginAlias": "@instantkom/cli",
|
|
2678
2553
|
"pluginName": "@instantkom/cli",
|
|
2679
2554
|
"pluginType": "core",
|
|
@@ -2683,20 +2558,14 @@
|
|
|
2683
2558
|
"relativePath": [
|
|
2684
2559
|
"dist",
|
|
2685
2560
|
"commands",
|
|
2686
|
-
"
|
|
2687
|
-
"
|
|
2561
|
+
"channels",
|
|
2562
|
+
"update.js"
|
|
2688
2563
|
]
|
|
2689
2564
|
},
|
|
2690
|
-
"broadcast:
|
|
2565
|
+
"broadcast:create": {
|
|
2691
2566
|
"aliases": [],
|
|
2692
|
-
"args": {
|
|
2693
|
-
|
|
2694
|
-
"description": "Broadcast ID",
|
|
2695
|
-
"name": "id",
|
|
2696
|
-
"required": true
|
|
2697
|
-
}
|
|
2698
|
-
},
|
|
2699
|
-
"description": "Update a broadcast",
|
|
2567
|
+
"args": {},
|
|
2568
|
+
"description": "Create a broadcast for channels or segments",
|
|
2700
2569
|
"flags": {
|
|
2701
2570
|
"api-key": {
|
|
2702
2571
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2760,76 +2629,92 @@
|
|
|
2760
2629
|
"multiple": false,
|
|
2761
2630
|
"type": "option"
|
|
2762
2631
|
},
|
|
2763
|
-
"
|
|
2764
|
-
"description": "
|
|
2765
|
-
"name": "
|
|
2632
|
+
"channel": {
|
|
2633
|
+
"description": "Channel ID target",
|
|
2634
|
+
"name": "channel",
|
|
2766
2635
|
"hasDynamicHelp": false,
|
|
2767
2636
|
"multiple": false,
|
|
2768
2637
|
"type": "option"
|
|
2769
2638
|
},
|
|
2770
|
-
"
|
|
2771
|
-
"description": "
|
|
2772
|
-
"name": "
|
|
2639
|
+
"segment": {
|
|
2640
|
+
"description": "Segment ID within --channel",
|
|
2641
|
+
"name": "segment",
|
|
2773
2642
|
"hasDynamicHelp": false,
|
|
2774
2643
|
"multiple": false,
|
|
2775
2644
|
"type": "option"
|
|
2776
2645
|
},
|
|
2777
|
-
"
|
|
2778
|
-
"description": "
|
|
2779
|
-
"name": "
|
|
2646
|
+
"target": {
|
|
2647
|
+
"description": "Target as channelId or channelId:segmentId; may be repeated",
|
|
2648
|
+
"name": "target",
|
|
2780
2649
|
"hasDynamicHelp": false,
|
|
2781
|
-
"multiple":
|
|
2650
|
+
"multiple": true,
|
|
2782
2651
|
"type": "option"
|
|
2783
2652
|
},
|
|
2784
|
-
"
|
|
2785
|
-
"description": "
|
|
2786
|
-
"name": "
|
|
2787
|
-
"
|
|
2788
|
-
"
|
|
2653
|
+
"text": {
|
|
2654
|
+
"description": "Broadcast message text",
|
|
2655
|
+
"name": "text",
|
|
2656
|
+
"required": true,
|
|
2657
|
+
"hasDynamicHelp": false,
|
|
2658
|
+
"multiple": false,
|
|
2659
|
+
"type": "option"
|
|
2789
2660
|
},
|
|
2790
|
-
"
|
|
2791
|
-
"description": "
|
|
2792
|
-
"name": "
|
|
2793
|
-
"
|
|
2794
|
-
"
|
|
2661
|
+
"send-at": {
|
|
2662
|
+
"description": "Schedule send for an ISO-8601 date-time",
|
|
2663
|
+
"name": "send-at",
|
|
2664
|
+
"hasDynamicHelp": false,
|
|
2665
|
+
"multiple": false,
|
|
2666
|
+
"type": "option"
|
|
2795
2667
|
},
|
|
2796
|
-
"
|
|
2797
|
-
"description": "
|
|
2798
|
-
"name": "
|
|
2668
|
+
"dry-run": {
|
|
2669
|
+
"description": "Validate and print the broadcast payload without mutating API calls",
|
|
2670
|
+
"name": "dry-run",
|
|
2799
2671
|
"allowNo": false,
|
|
2800
2672
|
"type": "boolean"
|
|
2801
2673
|
},
|
|
2802
|
-
"
|
|
2803
|
-
"description": "
|
|
2804
|
-
"name": "
|
|
2674
|
+
"idempotency-key": {
|
|
2675
|
+
"description": "Idempotency key forwarded as Idempotency-Key",
|
|
2676
|
+
"name": "idempotency-key",
|
|
2805
2677
|
"hasDynamicHelp": false,
|
|
2806
2678
|
"multiple": false,
|
|
2807
2679
|
"type": "option"
|
|
2808
2680
|
},
|
|
2809
|
-
"
|
|
2810
|
-
"description": "
|
|
2811
|
-
"name": "
|
|
2812
|
-
"
|
|
2813
|
-
"
|
|
2681
|
+
"media": {
|
|
2682
|
+
"description": "Media file path to upload",
|
|
2683
|
+
"name": "media",
|
|
2684
|
+
"hasDynamicHelp": false,
|
|
2685
|
+
"multiple": true,
|
|
2686
|
+
"type": "option"
|
|
2814
2687
|
},
|
|
2815
|
-
"
|
|
2816
|
-
"description": "
|
|
2817
|
-
"name": "
|
|
2688
|
+
"template-id": {
|
|
2689
|
+
"description": "WhatsApp template ID",
|
|
2690
|
+
"name": "template-id",
|
|
2818
2691
|
"hasDynamicHelp": false,
|
|
2819
2692
|
"multiple": false,
|
|
2820
2693
|
"type": "option"
|
|
2821
2694
|
},
|
|
2822
|
-
"
|
|
2823
|
-
"description": "
|
|
2824
|
-
"name": "
|
|
2695
|
+
"send-status": {
|
|
2696
|
+
"description": "Initial broadcast send status",
|
|
2697
|
+
"name": "send-status",
|
|
2698
|
+
"default": "draft",
|
|
2825
2699
|
"hasDynamicHelp": false,
|
|
2826
2700
|
"multiple": false,
|
|
2701
|
+
"options": [
|
|
2702
|
+
"draft",
|
|
2703
|
+
"scheduled",
|
|
2704
|
+
"sending"
|
|
2705
|
+
],
|
|
2827
2706
|
"type": "option"
|
|
2707
|
+
},
|
|
2708
|
+
"auto-approve": {
|
|
2709
|
+
"description": "Auto-approve broadcast when allowed by API permissions",
|
|
2710
|
+
"name": "auto-approve",
|
|
2711
|
+
"allowNo": false,
|
|
2712
|
+
"type": "boolean"
|
|
2828
2713
|
}
|
|
2829
2714
|
},
|
|
2830
2715
|
"hasDynamicHelp": false,
|
|
2831
2716
|
"hiddenAliases": [],
|
|
2832
|
-
"id": "broadcast:
|
|
2717
|
+
"id": "broadcast:create",
|
|
2833
2718
|
"pluginAlias": "@instantkom/cli",
|
|
2834
2719
|
"pluginName": "@instantkom/cli",
|
|
2835
2720
|
"pluginType": "core",
|
|
@@ -2840,13 +2725,19 @@
|
|
|
2840
2725
|
"dist",
|
|
2841
2726
|
"commands",
|
|
2842
2727
|
"broadcast",
|
|
2843
|
-
"
|
|
2728
|
+
"create.js"
|
|
2844
2729
|
]
|
|
2845
2730
|
},
|
|
2846
|
-
"
|
|
2731
|
+
"broadcast:delete": {
|
|
2847
2732
|
"aliases": [],
|
|
2848
|
-
"args": {
|
|
2849
|
-
|
|
2733
|
+
"args": {
|
|
2734
|
+
"id": {
|
|
2735
|
+
"description": "broadcast ID",
|
|
2736
|
+
"name": "id",
|
|
2737
|
+
"required": true
|
|
2738
|
+
}
|
|
2739
|
+
},
|
|
2740
|
+
"description": "Delete broadcast",
|
|
2850
2741
|
"flags": {
|
|
2851
2742
|
"api-key": {
|
|
2852
2743
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2909,48 +2800,11 @@
|
|
|
2909
2800
|
"hasDynamicHelp": false,
|
|
2910
2801
|
"multiple": false,
|
|
2911
2802
|
"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"
|
|
2949
2803
|
}
|
|
2950
2804
|
},
|
|
2951
2805
|
"hasDynamicHelp": false,
|
|
2952
2806
|
"hiddenAliases": [],
|
|
2953
|
-
"id": "
|
|
2807
|
+
"id": "broadcast:delete",
|
|
2954
2808
|
"pluginAlias": "@instantkom/cli",
|
|
2955
2809
|
"pluginName": "@instantkom/cli",
|
|
2956
2810
|
"pluginType": "core",
|
|
@@ -2960,20 +2814,20 @@
|
|
|
2960
2814
|
"relativePath": [
|
|
2961
2815
|
"dist",
|
|
2962
2816
|
"commands",
|
|
2963
|
-
"
|
|
2964
|
-
"
|
|
2817
|
+
"broadcast",
|
|
2818
|
+
"delete.js"
|
|
2965
2819
|
]
|
|
2966
2820
|
},
|
|
2967
|
-
"
|
|
2821
|
+
"broadcast:get": {
|
|
2968
2822
|
"aliases": [],
|
|
2969
2823
|
"args": {
|
|
2970
2824
|
"id": {
|
|
2971
|
-
"description": "
|
|
2825
|
+
"description": "broadcast ID",
|
|
2972
2826
|
"name": "id",
|
|
2973
2827
|
"required": true
|
|
2974
2828
|
}
|
|
2975
2829
|
},
|
|
2976
|
-
"description": "Get
|
|
2830
|
+
"description": "Get broadcast by ID",
|
|
2977
2831
|
"flags": {
|
|
2978
2832
|
"api-key": {
|
|
2979
2833
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3040,7 +2894,7 @@
|
|
|
3040
2894
|
},
|
|
3041
2895
|
"hasDynamicHelp": false,
|
|
3042
2896
|
"hiddenAliases": [],
|
|
3043
|
-
"id": "
|
|
2897
|
+
"id": "broadcast:get",
|
|
3044
2898
|
"pluginAlias": "@instantkom/cli",
|
|
3045
2899
|
"pluginName": "@instantkom/cli",
|
|
3046
2900
|
"pluginType": "core",
|
|
@@ -3050,20 +2904,14 @@
|
|
|
3050
2904
|
"relativePath": [
|
|
3051
2905
|
"dist",
|
|
3052
2906
|
"commands",
|
|
3053
|
-
"
|
|
2907
|
+
"broadcast",
|
|
3054
2908
|
"get.js"
|
|
3055
2909
|
]
|
|
3056
2910
|
},
|
|
3057
|
-
"
|
|
2911
|
+
"broadcast:list": {
|
|
3058
2912
|
"aliases": [],
|
|
3059
|
-
"args": {
|
|
3060
|
-
|
|
3061
|
-
"description": "Optional channel ID; omit for aggregated channel KPIs",
|
|
3062
|
-
"name": "id",
|
|
3063
|
-
"required": false
|
|
3064
|
-
}
|
|
3065
|
-
},
|
|
3066
|
-
"description": "Get channel KPIs",
|
|
2913
|
+
"args": {},
|
|
2914
|
+
"description": "List broadcasts",
|
|
3067
2915
|
"flags": {
|
|
3068
2916
|
"api-key": {
|
|
3069
2917
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3127,17 +2975,72 @@
|
|
|
3127
2975
|
"multiple": false,
|
|
3128
2976
|
"type": "option"
|
|
3129
2977
|
},
|
|
3130
|
-
"
|
|
3131
|
-
"description": "
|
|
3132
|
-
"name": "
|
|
2978
|
+
"page": {
|
|
2979
|
+
"description": "Page number",
|
|
2980
|
+
"name": "page",
|
|
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",
|
|
3133
3025
|
"hasDynamicHelp": false,
|
|
3134
3026
|
"multiple": false,
|
|
3135
3027
|
"type": "option"
|
|
3028
|
+
},
|
|
3029
|
+
"test": {
|
|
3030
|
+
"description": "Filter test flag: 0 or 1",
|
|
3031
|
+
"name": "test",
|
|
3032
|
+
"hasDynamicHelp": false,
|
|
3033
|
+
"multiple": false,
|
|
3034
|
+
"options": [
|
|
3035
|
+
"0",
|
|
3036
|
+
"1"
|
|
3037
|
+
],
|
|
3038
|
+
"type": "option"
|
|
3136
3039
|
}
|
|
3137
3040
|
},
|
|
3138
3041
|
"hasDynamicHelp": false,
|
|
3139
3042
|
"hiddenAliases": [],
|
|
3140
|
-
"id": "
|
|
3043
|
+
"id": "broadcast:list",
|
|
3141
3044
|
"pluginAlias": "@instantkom/cli",
|
|
3142
3045
|
"pluginName": "@instantkom/cli",
|
|
3143
3046
|
"pluginType": "core",
|
|
@@ -3147,14 +3050,20 @@
|
|
|
3147
3050
|
"relativePath": [
|
|
3148
3051
|
"dist",
|
|
3149
3052
|
"commands",
|
|
3150
|
-
"
|
|
3151
|
-
"
|
|
3053
|
+
"broadcast",
|
|
3054
|
+
"list.js"
|
|
3152
3055
|
]
|
|
3153
3056
|
},
|
|
3154
|
-
"
|
|
3057
|
+
"broadcast:send": {
|
|
3155
3058
|
"aliases": [],
|
|
3156
|
-
"args": {
|
|
3157
|
-
|
|
3059
|
+
"args": {
|
|
3060
|
+
"id": {
|
|
3061
|
+
"description": "Broadcast ID",
|
|
3062
|
+
"name": "id",
|
|
3063
|
+
"required": true
|
|
3064
|
+
}
|
|
3065
|
+
},
|
|
3066
|
+
"description": "Send a broadcast immediately",
|
|
3158
3067
|
"flags": {
|
|
3159
3068
|
"api-key": {
|
|
3160
3069
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3217,40 +3126,93 @@
|
|
|
3217
3126
|
"hasDynamicHelp": false,
|
|
3218
3127
|
"multiple": false,
|
|
3219
3128
|
"type": "option"
|
|
3220
|
-
}
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3129
|
+
}
|
|
3130
|
+
},
|
|
3131
|
+
"hasDynamicHelp": false,
|
|
3132
|
+
"hiddenAliases": [],
|
|
3133
|
+
"id": "broadcast:send",
|
|
3134
|
+
"pluginAlias": "@instantkom/cli",
|
|
3135
|
+
"pluginName": "@instantkom/cli",
|
|
3136
|
+
"pluginType": "core",
|
|
3137
|
+
"strict": true,
|
|
3138
|
+
"enableJsonFlag": false,
|
|
3139
|
+
"isESM": true,
|
|
3140
|
+
"relativePath": [
|
|
3141
|
+
"dist",
|
|
3142
|
+
"commands",
|
|
3143
|
+
"broadcast",
|
|
3144
|
+
"send.js"
|
|
3145
|
+
]
|
|
3146
|
+
},
|
|
3147
|
+
"broadcast:status": {
|
|
3148
|
+
"aliases": [],
|
|
3149
|
+
"args": {
|
|
3150
|
+
"id": {
|
|
3151
|
+
"description": "Broadcast ID",
|
|
3152
|
+
"name": "id",
|
|
3153
|
+
"required": true
|
|
3154
|
+
}
|
|
3155
|
+
},
|
|
3156
|
+
"description": "Show broadcast send status",
|
|
3157
|
+
"flags": {
|
|
3158
|
+
"api-key": {
|
|
3159
|
+
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
3160
|
+
"env": "IKM_API_KEY",
|
|
3161
|
+
"helpGroup": "GLOBAL",
|
|
3162
|
+
"name": "api-key",
|
|
3225
3163
|
"hasDynamicHelp": false,
|
|
3226
3164
|
"multiple": false,
|
|
3227
3165
|
"type": "option"
|
|
3228
3166
|
},
|
|
3229
|
-
"
|
|
3230
|
-
"description": "
|
|
3231
|
-
"
|
|
3232
|
-
"
|
|
3167
|
+
"format": {
|
|
3168
|
+
"description": "Output format: text, json, yaml, or table",
|
|
3169
|
+
"helpGroup": "GLOBAL",
|
|
3170
|
+
"name": "format",
|
|
3171
|
+
"default": "text",
|
|
3233
3172
|
"hasDynamicHelp": false,
|
|
3234
3173
|
"multiple": false,
|
|
3174
|
+
"options": [
|
|
3175
|
+
"text",
|
|
3176
|
+
"json",
|
|
3177
|
+
"yaml",
|
|
3178
|
+
"table"
|
|
3179
|
+
],
|
|
3235
3180
|
"type": "option"
|
|
3236
3181
|
},
|
|
3237
|
-
"
|
|
3238
|
-
"description": "
|
|
3239
|
-
"
|
|
3240
|
-
"
|
|
3241
|
-
"
|
|
3242
|
-
"type": "
|
|
3182
|
+
"json": {
|
|
3183
|
+
"description": "Output in JSON format (alias for --format=json)",
|
|
3184
|
+
"helpGroup": "GLOBAL",
|
|
3185
|
+
"name": "json",
|
|
3186
|
+
"allowNo": false,
|
|
3187
|
+
"type": "boolean"
|
|
3188
|
+
},
|
|
3189
|
+
"quiet": {
|
|
3190
|
+
"description": "Suppress all output except errors",
|
|
3191
|
+
"helpGroup": "GLOBAL",
|
|
3192
|
+
"name": "quiet",
|
|
3193
|
+
"allowNo": false,
|
|
3194
|
+
"type": "boolean"
|
|
3195
|
+
},
|
|
3196
|
+
"no-color": {
|
|
3197
|
+
"description": "Disable color output",
|
|
3198
|
+
"helpGroup": "GLOBAL",
|
|
3199
|
+
"name": "no-color",
|
|
3200
|
+
"allowNo": false,
|
|
3201
|
+
"type": "boolean"
|
|
3243
3202
|
},
|
|
3244
|
-
"
|
|
3245
|
-
"description": "
|
|
3246
|
-
"
|
|
3203
|
+
"profile": {
|
|
3204
|
+
"description": "Named configuration profile to use",
|
|
3205
|
+
"helpGroup": "GLOBAL",
|
|
3206
|
+
"name": "profile",
|
|
3207
|
+
"default": "default",
|
|
3247
3208
|
"hasDynamicHelp": false,
|
|
3248
3209
|
"multiple": false,
|
|
3249
3210
|
"type": "option"
|
|
3250
3211
|
},
|
|
3251
|
-
"
|
|
3252
|
-
"description": "
|
|
3253
|
-
"
|
|
3212
|
+
"api-url": {
|
|
3213
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
3214
|
+
"helpGroup": "GLOBAL",
|
|
3215
|
+
"name": "api-url",
|
|
3254
3216
|
"hasDynamicHelp": false,
|
|
3255
3217
|
"multiple": false,
|
|
3256
3218
|
"type": "option"
|
|
@@ -3258,7 +3220,7 @@
|
|
|
3258
3220
|
},
|
|
3259
3221
|
"hasDynamicHelp": false,
|
|
3260
3222
|
"hiddenAliases": [],
|
|
3261
|
-
"id": "
|
|
3223
|
+
"id": "broadcast:status",
|
|
3262
3224
|
"pluginAlias": "@instantkom/cli",
|
|
3263
3225
|
"pluginName": "@instantkom/cli",
|
|
3264
3226
|
"pluginType": "core",
|
|
@@ -3268,20 +3230,20 @@
|
|
|
3268
3230
|
"relativePath": [
|
|
3269
3231
|
"dist",
|
|
3270
3232
|
"commands",
|
|
3271
|
-
"
|
|
3272
|
-
"
|
|
3233
|
+
"broadcast",
|
|
3234
|
+
"status.js"
|
|
3273
3235
|
]
|
|
3274
3236
|
},
|
|
3275
|
-
"
|
|
3237
|
+
"broadcast:update": {
|
|
3276
3238
|
"aliases": [],
|
|
3277
3239
|
"args": {
|
|
3278
3240
|
"id": {
|
|
3279
|
-
"description": "
|
|
3241
|
+
"description": "Broadcast ID",
|
|
3280
3242
|
"name": "id",
|
|
3281
3243
|
"required": true
|
|
3282
3244
|
}
|
|
3283
3245
|
},
|
|
3284
|
-
"description": "Update a
|
|
3246
|
+
"description": "Update a broadcast",
|
|
3285
3247
|
"flags": {
|
|
3286
3248
|
"api-key": {
|
|
3287
3249
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3345,23 +3307,61 @@
|
|
|
3345
3307
|
"multiple": false,
|
|
3346
3308
|
"type": "option"
|
|
3347
3309
|
},
|
|
3348
|
-
"
|
|
3349
|
-
"description": "
|
|
3350
|
-
"name": "
|
|
3310
|
+
"text": {
|
|
3311
|
+
"description": "Broadcast message text",
|
|
3312
|
+
"name": "text",
|
|
3351
3313
|
"hasDynamicHelp": false,
|
|
3352
3314
|
"multiple": false,
|
|
3353
3315
|
"type": "option"
|
|
3354
3316
|
},
|
|
3355
|
-
"status": {
|
|
3356
|
-
"description": "
|
|
3357
|
-
"name": "status",
|
|
3317
|
+
"send-status": {
|
|
3318
|
+
"description": "Send status",
|
|
3319
|
+
"name": "send-status",
|
|
3358
3320
|
"hasDynamicHelp": false,
|
|
3359
3321
|
"multiple": false,
|
|
3360
3322
|
"type": "option"
|
|
3361
3323
|
},
|
|
3362
|
-
"
|
|
3363
|
-
"description": "
|
|
3364
|
-
"name": "
|
|
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
3365
|
"hasDynamicHelp": false,
|
|
3366
3366
|
"multiple": false,
|
|
3367
3367
|
"type": "option"
|
|
@@ -3376,7 +3376,7 @@
|
|
|
3376
3376
|
},
|
|
3377
3377
|
"hasDynamicHelp": false,
|
|
3378
3378
|
"hiddenAliases": [],
|
|
3379
|
-
"id": "
|
|
3379
|
+
"id": "broadcast:update",
|
|
3380
3380
|
"pluginAlias": "@instantkom/cli",
|
|
3381
3381
|
"pluginName": "@instantkom/cli",
|
|
3382
3382
|
"pluginType": "core",
|
|
@@ -3386,20 +3386,20 @@
|
|
|
3386
3386
|
"relativePath": [
|
|
3387
3387
|
"dist",
|
|
3388
3388
|
"commands",
|
|
3389
|
-
"
|
|
3389
|
+
"broadcast",
|
|
3390
3390
|
"update.js"
|
|
3391
3391
|
]
|
|
3392
3392
|
},
|
|
3393
|
-
"
|
|
3393
|
+
"config:get": {
|
|
3394
3394
|
"aliases": [],
|
|
3395
3395
|
"args": {
|
|
3396
|
-
"
|
|
3397
|
-
"description": "
|
|
3398
|
-
"name": "
|
|
3396
|
+
"key": {
|
|
3397
|
+
"description": "Configuration key to retrieve",
|
|
3398
|
+
"name": "key",
|
|
3399
3399
|
"required": true
|
|
3400
3400
|
}
|
|
3401
3401
|
},
|
|
3402
|
-
"description": "Get
|
|
3402
|
+
"description": "Get a configuration value for the current profile",
|
|
3403
3403
|
"flags": {
|
|
3404
3404
|
"api-key": {
|
|
3405
3405
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3466,7 +3466,7 @@
|
|
|
3466
3466
|
},
|
|
3467
3467
|
"hasDynamicHelp": false,
|
|
3468
3468
|
"hiddenAliases": [],
|
|
3469
|
-
"id": "
|
|
3469
|
+
"id": "config:get",
|
|
3470
3470
|
"pluginAlias": "@instantkom/cli",
|
|
3471
3471
|
"pluginName": "@instantkom/cli",
|
|
3472
3472
|
"pluginType": "core",
|
|
@@ -3476,14 +3476,25 @@
|
|
|
3476
3476
|
"relativePath": [
|
|
3477
3477
|
"dist",
|
|
3478
3478
|
"commands",
|
|
3479
|
-
"
|
|
3479
|
+
"config",
|
|
3480
3480
|
"get.js"
|
|
3481
3481
|
]
|
|
3482
3482
|
},
|
|
3483
|
-
"
|
|
3483
|
+
"config:set": {
|
|
3484
3484
|
"aliases": [],
|
|
3485
|
-
"args": {
|
|
3486
|
-
|
|
3485
|
+
"args": {
|
|
3486
|
+
"key": {
|
|
3487
|
+
"description": "Configuration key to set",
|
|
3488
|
+
"name": "key",
|
|
3489
|
+
"required": true
|
|
3490
|
+
},
|
|
3491
|
+
"value": {
|
|
3492
|
+
"description": "Value to assign",
|
|
3493
|
+
"name": "value",
|
|
3494
|
+
"required": true
|
|
3495
|
+
}
|
|
3496
|
+
},
|
|
3497
|
+
"description": "Set a configuration value for the current profile",
|
|
3487
3498
|
"flags": {
|
|
3488
3499
|
"api-key": {
|
|
3489
3500
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3546,73 +3557,11 @@
|
|
|
3546
3557
|
"hasDynamicHelp": false,
|
|
3547
3558
|
"multiple": false,
|
|
3548
3559
|
"type": "option"
|
|
3549
|
-
},
|
|
3550
|
-
"page": {
|
|
3551
|
-
"description": "Page number",
|
|
3552
|
-
"name": "page",
|
|
3553
|
-
"default": 1,
|
|
3554
|
-
"hasDynamicHelp": false,
|
|
3555
|
-
"multiple": false,
|
|
3556
|
-
"type": "option"
|
|
3557
|
-
},
|
|
3558
|
-
"limit": {
|
|
3559
|
-
"description": "Items per page",
|
|
3560
|
-
"name": "limit",
|
|
3561
|
-
"default": 20,
|
|
3562
|
-
"hasDynamicHelp": false,
|
|
3563
|
-
"multiple": false,
|
|
3564
|
-
"type": "option"
|
|
3565
|
-
},
|
|
3566
|
-
"channel": {
|
|
3567
|
-
"description": "Filter by channel ID",
|
|
3568
|
-
"name": "channel",
|
|
3569
|
-
"hasDynamicHelp": false,
|
|
3570
|
-
"multiple": false,
|
|
3571
|
-
"type": "option"
|
|
3572
|
-
},
|
|
3573
|
-
"channels": {
|
|
3574
|
-
"description": "Comma-separated channel IDs",
|
|
3575
|
-
"name": "channels",
|
|
3576
|
-
"hasDynamicHelp": false,
|
|
3577
|
-
"multiple": false,
|
|
3578
|
-
"type": "option"
|
|
3579
|
-
},
|
|
3580
|
-
"search": {
|
|
3581
|
-
"description": "Search chats",
|
|
3582
|
-
"name": "search",
|
|
3583
|
-
"hasDynamicHelp": false,
|
|
3584
|
-
"multiple": false,
|
|
3585
|
-
"type": "option"
|
|
3586
|
-
},
|
|
3587
|
-
"status": {
|
|
3588
|
-
"description": "Chat status",
|
|
3589
|
-
"name": "status",
|
|
3590
|
-
"hasDynamicHelp": false,
|
|
3591
|
-
"multiple": false,
|
|
3592
|
-
"options": [
|
|
3593
|
-
"all",
|
|
3594
|
-
"unread",
|
|
3595
|
-
"read",
|
|
3596
|
-
"archived"
|
|
3597
|
-
],
|
|
3598
|
-
"type": "option"
|
|
3599
|
-
},
|
|
3600
|
-
"unread-only": {
|
|
3601
|
-
"description": "Only unread chats",
|
|
3602
|
-
"name": "unread-only",
|
|
3603
|
-
"allowNo": false,
|
|
3604
|
-
"type": "boolean"
|
|
3605
|
-
},
|
|
3606
|
-
"include-archived": {
|
|
3607
|
-
"description": "Include archived chats",
|
|
3608
|
-
"name": "include-archived",
|
|
3609
|
-
"allowNo": false,
|
|
3610
|
-
"type": "boolean"
|
|
3611
3560
|
}
|
|
3612
3561
|
},
|
|
3613
3562
|
"hasDynamicHelp": false,
|
|
3614
3563
|
"hiddenAliases": [],
|
|
3615
|
-
"id": "
|
|
3564
|
+
"id": "config:set",
|
|
3616
3565
|
"pluginAlias": "@instantkom/cli",
|
|
3617
3566
|
"pluginName": "@instantkom/cli",
|
|
3618
3567
|
"pluginType": "core",
|
|
@@ -3622,20 +3571,20 @@
|
|
|
3622
3571
|
"relativePath": [
|
|
3623
3572
|
"dist",
|
|
3624
3573
|
"commands",
|
|
3625
|
-
"
|
|
3626
|
-
"
|
|
3574
|
+
"config",
|
|
3575
|
+
"set.js"
|
|
3627
3576
|
]
|
|
3628
3577
|
},
|
|
3629
|
-
"
|
|
3578
|
+
"config:unset": {
|
|
3630
3579
|
"aliases": [],
|
|
3631
3580
|
"args": {
|
|
3632
|
-
"
|
|
3633
|
-
"description": "
|
|
3634
|
-
"name": "
|
|
3581
|
+
"key": {
|
|
3582
|
+
"description": "Configuration key to remove",
|
|
3583
|
+
"name": "key",
|
|
3635
3584
|
"required": true
|
|
3636
3585
|
}
|
|
3637
3586
|
},
|
|
3638
|
-
"description": "
|
|
3587
|
+
"description": "Remove a configuration key from the current profile",
|
|
3639
3588
|
"flags": {
|
|
3640
3589
|
"api-key": {
|
|
3641
3590
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3698,19 +3647,11 @@
|
|
|
3698
3647
|
"hasDynamicHelp": false,
|
|
3699
3648
|
"multiple": false,
|
|
3700
3649
|
"type": "option"
|
|
3701
|
-
},
|
|
3702
|
-
"text": {
|
|
3703
|
-
"description": "Reply text",
|
|
3704
|
-
"name": "text",
|
|
3705
|
-
"required": true,
|
|
3706
|
-
"hasDynamicHelp": false,
|
|
3707
|
-
"multiple": false,
|
|
3708
|
-
"type": "option"
|
|
3709
3650
|
}
|
|
3710
3651
|
},
|
|
3711
3652
|
"hasDynamicHelp": false,
|
|
3712
3653
|
"hiddenAliases": [],
|
|
3713
|
-
"id": "
|
|
3654
|
+
"id": "config:unset",
|
|
3714
3655
|
"pluginAlias": "@instantkom/cli",
|
|
3715
3656
|
"pluginName": "@instantkom/cli",
|
|
3716
3657
|
"pluginType": "core",
|
|
@@ -3720,20 +3661,14 @@
|
|
|
3720
3661
|
"relativePath": [
|
|
3721
3662
|
"dist",
|
|
3722
3663
|
"commands",
|
|
3723
|
-
"
|
|
3724
|
-
"
|
|
3664
|
+
"config",
|
|
3665
|
+
"unset.js"
|
|
3725
3666
|
]
|
|
3726
3667
|
},
|
|
3727
|
-
"
|
|
3668
|
+
"contacts:create": {
|
|
3728
3669
|
"aliases": [],
|
|
3729
|
-
"args": {
|
|
3730
|
-
|
|
3731
|
-
"description": "Configuration key to retrieve",
|
|
3732
|
-
"name": "key",
|
|
3733
|
-
"required": true
|
|
3734
|
-
}
|
|
3735
|
-
},
|
|
3736
|
-
"description": "Get a configuration value for the current profile",
|
|
3670
|
+
"args": {},
|
|
3671
|
+
"description": "Create a contact",
|
|
3737
3672
|
"flags": {
|
|
3738
3673
|
"api-key": {
|
|
3739
3674
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3780,19 +3715,49 @@
|
|
|
3780
3715
|
"allowNo": false,
|
|
3781
3716
|
"type": "boolean"
|
|
3782
3717
|
},
|
|
3783
|
-
"profile": {
|
|
3784
|
-
"description": "Named configuration profile to use",
|
|
3785
|
-
"helpGroup": "GLOBAL",
|
|
3786
|
-
"name": "profile",
|
|
3787
|
-
"default": "default",
|
|
3718
|
+
"profile": {
|
|
3719
|
+
"description": "Named configuration profile to use",
|
|
3720
|
+
"helpGroup": "GLOBAL",
|
|
3721
|
+
"name": "profile",
|
|
3722
|
+
"default": "default",
|
|
3723
|
+
"hasDynamicHelp": false,
|
|
3724
|
+
"multiple": false,
|
|
3725
|
+
"type": "option"
|
|
3726
|
+
},
|
|
3727
|
+
"api-url": {
|
|
3728
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
3729
|
+
"helpGroup": "GLOBAL",
|
|
3730
|
+
"name": "api-url",
|
|
3731
|
+
"hasDynamicHelp": false,
|
|
3732
|
+
"multiple": false,
|
|
3733
|
+
"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",
|
|
3788
3754
|
"hasDynamicHelp": false,
|
|
3789
3755
|
"multiple": false,
|
|
3790
3756
|
"type": "option"
|
|
3791
3757
|
},
|
|
3792
|
-
"
|
|
3793
|
-
"description": "
|
|
3794
|
-
"
|
|
3795
|
-
"name": "api-url",
|
|
3758
|
+
"data": {
|
|
3759
|
+
"description": "Additional JSON object payload",
|
|
3760
|
+
"name": "data",
|
|
3796
3761
|
"hasDynamicHelp": false,
|
|
3797
3762
|
"multiple": false,
|
|
3798
3763
|
"type": "option"
|
|
@@ -3800,7 +3765,7 @@
|
|
|
3800
3765
|
},
|
|
3801
3766
|
"hasDynamicHelp": false,
|
|
3802
3767
|
"hiddenAliases": [],
|
|
3803
|
-
"id": "
|
|
3768
|
+
"id": "contacts:create",
|
|
3804
3769
|
"pluginAlias": "@instantkom/cli",
|
|
3805
3770
|
"pluginName": "@instantkom/cli",
|
|
3806
3771
|
"pluginType": "core",
|
|
@@ -3810,25 +3775,20 @@
|
|
|
3810
3775
|
"relativePath": [
|
|
3811
3776
|
"dist",
|
|
3812
3777
|
"commands",
|
|
3813
|
-
"
|
|
3814
|
-
"
|
|
3778
|
+
"contacts",
|
|
3779
|
+
"create.js"
|
|
3815
3780
|
]
|
|
3816
3781
|
},
|
|
3817
|
-
"
|
|
3782
|
+
"contacts:delete": {
|
|
3818
3783
|
"aliases": [],
|
|
3819
3784
|
"args": {
|
|
3820
|
-
"
|
|
3821
|
-
"description": "
|
|
3822
|
-
"name": "
|
|
3823
|
-
"required": true
|
|
3824
|
-
},
|
|
3825
|
-
"value": {
|
|
3826
|
-
"description": "Value to assign",
|
|
3827
|
-
"name": "value",
|
|
3785
|
+
"id": {
|
|
3786
|
+
"description": "Contact ID",
|
|
3787
|
+
"name": "id",
|
|
3828
3788
|
"required": true
|
|
3829
3789
|
}
|
|
3830
3790
|
},
|
|
3831
|
-
"description": "
|
|
3791
|
+
"description": "Delete a contact",
|
|
3832
3792
|
"flags": {
|
|
3833
3793
|
"api-key": {
|
|
3834
3794
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3895,7 +3855,7 @@
|
|
|
3895
3855
|
},
|
|
3896
3856
|
"hasDynamicHelp": false,
|
|
3897
3857
|
"hiddenAliases": [],
|
|
3898
|
-
"id": "
|
|
3858
|
+
"id": "contacts:delete",
|
|
3899
3859
|
"pluginAlias": "@instantkom/cli",
|
|
3900
3860
|
"pluginName": "@instantkom/cli",
|
|
3901
3861
|
"pluginType": "core",
|
|
@@ -3905,20 +3865,14 @@
|
|
|
3905
3865
|
"relativePath": [
|
|
3906
3866
|
"dist",
|
|
3907
3867
|
"commands",
|
|
3908
|
-
"
|
|
3909
|
-
"
|
|
3868
|
+
"contacts",
|
|
3869
|
+
"delete.js"
|
|
3910
3870
|
]
|
|
3911
3871
|
},
|
|
3912
|
-
"
|
|
3872
|
+
"contacts:export": {
|
|
3913
3873
|
"aliases": [],
|
|
3914
|
-
"args": {
|
|
3915
|
-
|
|
3916
|
-
"description": "Configuration key to remove",
|
|
3917
|
-
"name": "key",
|
|
3918
|
-
"required": true
|
|
3919
|
-
}
|
|
3920
|
-
},
|
|
3921
|
-
"description": "Remove a configuration key from the current profile",
|
|
3874
|
+
"args": {},
|
|
3875
|
+
"description": "Export contacts to CSV",
|
|
3922
3876
|
"flags": {
|
|
3923
3877
|
"api-key": {
|
|
3924
3878
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3981,11 +3935,49 @@
|
|
|
3981
3935
|
"hasDynamicHelp": false,
|
|
3982
3936
|
"multiple": false,
|
|
3983
3937
|
"type": "option"
|
|
3938
|
+
},
|
|
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
|
+
"channel": {
|
|
3948
|
+
"description": "Filter by channel ID",
|
|
3949
|
+
"name": "channel",
|
|
3950
|
+
"hasDynamicHelp": false,
|
|
3951
|
+
"multiple": false,
|
|
3952
|
+
"type": "option"
|
|
3953
|
+
},
|
|
3954
|
+
"search": {
|
|
3955
|
+
"description": "Search by name or identifier",
|
|
3956
|
+
"name": "search",
|
|
3957
|
+
"hasDynamicHelp": false,
|
|
3958
|
+
"multiple": false,
|
|
3959
|
+
"type": "option"
|
|
3960
|
+
},
|
|
3961
|
+
"page": {
|
|
3962
|
+
"description": "Page number",
|
|
3963
|
+
"name": "page",
|
|
3964
|
+
"default": 1,
|
|
3965
|
+
"hasDynamicHelp": false,
|
|
3966
|
+
"multiple": false,
|
|
3967
|
+
"type": "option"
|
|
3968
|
+
},
|
|
3969
|
+
"limit": {
|
|
3970
|
+
"description": "Items per page",
|
|
3971
|
+
"name": "limit",
|
|
3972
|
+
"default": 100,
|
|
3973
|
+
"hasDynamicHelp": false,
|
|
3974
|
+
"multiple": false,
|
|
3975
|
+
"type": "option"
|
|
3984
3976
|
}
|
|
3985
3977
|
},
|
|
3986
3978
|
"hasDynamicHelp": false,
|
|
3987
3979
|
"hiddenAliases": [],
|
|
3988
|
-
"id": "
|
|
3980
|
+
"id": "contacts:export",
|
|
3989
3981
|
"pluginAlias": "@instantkom/cli",
|
|
3990
3982
|
"pluginName": "@instantkom/cli",
|
|
3991
3983
|
"pluginType": "core",
|
|
@@ -3995,14 +3987,20 @@
|
|
|
3995
3987
|
"relativePath": [
|
|
3996
3988
|
"dist",
|
|
3997
3989
|
"commands",
|
|
3998
|
-
"
|
|
3999
|
-
"
|
|
3990
|
+
"contacts",
|
|
3991
|
+
"export.js"
|
|
4000
3992
|
]
|
|
4001
3993
|
},
|
|
4002
|
-
"contacts:
|
|
3994
|
+
"contacts:get": {
|
|
4003
3995
|
"aliases": [],
|
|
4004
|
-
"args": {
|
|
4005
|
-
|
|
3996
|
+
"args": {
|
|
3997
|
+
"id": {
|
|
3998
|
+
"description": "Contact ID",
|
|
3999
|
+
"name": "id",
|
|
4000
|
+
"required": true
|
|
4001
|
+
}
|
|
4002
|
+
},
|
|
4003
|
+
"description": "Get a contact by ID",
|
|
4006
4004
|
"flags": {
|
|
4007
4005
|
"api-key": {
|
|
4008
4006
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4065,41 +4063,11 @@
|
|
|
4065
4063
|
"hasDynamicHelp": false,
|
|
4066
4064
|
"multiple": false,
|
|
4067
4065
|
"type": "option"
|
|
4068
|
-
},
|
|
4069
|
-
"channel": {
|
|
4070
|
-
"description": "Channel ID",
|
|
4071
|
-
"name": "channel",
|
|
4072
|
-
"required": true,
|
|
4073
|
-
"hasDynamicHelp": false,
|
|
4074
|
-
"multiple": false,
|
|
4075
|
-
"type": "option"
|
|
4076
|
-
},
|
|
4077
|
-
"identifier": {
|
|
4078
|
-
"description": "Unique contact identifier",
|
|
4079
|
-
"name": "identifier",
|
|
4080
|
-
"required": true,
|
|
4081
|
-
"hasDynamicHelp": false,
|
|
4082
|
-
"multiple": false,
|
|
4083
|
-
"type": "option"
|
|
4084
|
-
},
|
|
4085
|
-
"name": {
|
|
4086
|
-
"description": "Contact name",
|
|
4087
|
-
"name": "name",
|
|
4088
|
-
"hasDynamicHelp": false,
|
|
4089
|
-
"multiple": false,
|
|
4090
|
-
"type": "option"
|
|
4091
|
-
},
|
|
4092
|
-
"data": {
|
|
4093
|
-
"description": "Additional JSON object payload",
|
|
4094
|
-
"name": "data",
|
|
4095
|
-
"hasDynamicHelp": false,
|
|
4096
|
-
"multiple": false,
|
|
4097
|
-
"type": "option"
|
|
4098
4066
|
}
|
|
4099
4067
|
},
|
|
4100
4068
|
"hasDynamicHelp": false,
|
|
4101
4069
|
"hiddenAliases": [],
|
|
4102
|
-
"id": "contacts:
|
|
4070
|
+
"id": "contacts:get",
|
|
4103
4071
|
"pluginAlias": "@instantkom/cli",
|
|
4104
4072
|
"pluginName": "@instantkom/cli",
|
|
4105
4073
|
"pluginType": "core",
|
|
@@ -4110,19 +4078,13 @@
|
|
|
4110
4078
|
"dist",
|
|
4111
4079
|
"commands",
|
|
4112
4080
|
"contacts",
|
|
4113
|
-
"
|
|
4081
|
+
"get.js"
|
|
4114
4082
|
]
|
|
4115
4083
|
},
|
|
4116
|
-
"contacts:
|
|
4084
|
+
"contacts:import": {
|
|
4117
4085
|
"aliases": [],
|
|
4118
|
-
"args": {
|
|
4119
|
-
|
|
4120
|
-
"description": "Contact ID",
|
|
4121
|
-
"name": "id",
|
|
4122
|
-
"required": true
|
|
4123
|
-
}
|
|
4124
|
-
},
|
|
4125
|
-
"description": "Delete a contact",
|
|
4086
|
+
"args": {},
|
|
4087
|
+
"description": "Import contacts from CSV",
|
|
4126
4088
|
"flags": {
|
|
4127
4089
|
"api-key": {
|
|
4128
4090
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4185,11 +4147,27 @@
|
|
|
4185
4147
|
"hasDynamicHelp": false,
|
|
4186
4148
|
"multiple": false,
|
|
4187
4149
|
"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"
|
|
4188
4166
|
}
|
|
4189
4167
|
},
|
|
4190
4168
|
"hasDynamicHelp": false,
|
|
4191
4169
|
"hiddenAliases": [],
|
|
4192
|
-
"id": "contacts:
|
|
4170
|
+
"id": "contacts:import",
|
|
4193
4171
|
"pluginAlias": "@instantkom/cli",
|
|
4194
4172
|
"pluginName": "@instantkom/cli",
|
|
4195
4173
|
"pluginType": "core",
|
|
@@ -4200,13 +4178,13 @@
|
|
|
4200
4178
|
"dist",
|
|
4201
4179
|
"commands",
|
|
4202
4180
|
"contacts",
|
|
4203
|
-
"
|
|
4181
|
+
"import.js"
|
|
4204
4182
|
]
|
|
4205
4183
|
},
|
|
4206
|
-
"contacts:
|
|
4184
|
+
"contacts:list": {
|
|
4207
4185
|
"aliases": [],
|
|
4208
4186
|
"args": {},
|
|
4209
|
-
"description": "
|
|
4187
|
+
"description": "List contacts",
|
|
4210
4188
|
"flags": {
|
|
4211
4189
|
"api-key": {
|
|
4212
4190
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4270,14 +4248,6 @@
|
|
|
4270
4248
|
"multiple": false,
|
|
4271
4249
|
"type": "option"
|
|
4272
4250
|
},
|
|
4273
|
-
"file": {
|
|
4274
|
-
"description": "CSV output file path",
|
|
4275
|
-
"name": "file",
|
|
4276
|
-
"required": true,
|
|
4277
|
-
"hasDynamicHelp": false,
|
|
4278
|
-
"multiple": false,
|
|
4279
|
-
"type": "option"
|
|
4280
|
-
},
|
|
4281
4251
|
"channel": {
|
|
4282
4252
|
"description": "Filter by channel ID",
|
|
4283
4253
|
"name": "channel",
|
|
@@ -4300,10 +4270,75 @@
|
|
|
4300
4270
|
"multiple": false,
|
|
4301
4271
|
"type": "option"
|
|
4302
4272
|
},
|
|
4303
|
-
"limit": {
|
|
4304
|
-
"description": "Items per page",
|
|
4305
|
-
"name": "limit",
|
|
4306
|
-
"default":
|
|
4273
|
+
"limit": {
|
|
4274
|
+
"description": "Items per page",
|
|
4275
|
+
"name": "limit",
|
|
4276
|
+
"default": 20,
|
|
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",
|
|
4307
4342
|
"hasDynamicHelp": false,
|
|
4308
4343
|
"multiple": false,
|
|
4309
4344
|
"type": "option"
|
|
@@ -4311,7 +4346,7 @@
|
|
|
4311
4346
|
},
|
|
4312
4347
|
"hasDynamicHelp": false,
|
|
4313
4348
|
"hiddenAliases": [],
|
|
4314
|
-
"id": "contacts:
|
|
4349
|
+
"id": "contacts:list",
|
|
4315
4350
|
"pluginAlias": "@instantkom/cli",
|
|
4316
4351
|
"pluginName": "@instantkom/cli",
|
|
4317
4352
|
"pluginType": "core",
|
|
@@ -4322,10 +4357,10 @@
|
|
|
4322
4357
|
"dist",
|
|
4323
4358
|
"commands",
|
|
4324
4359
|
"contacts",
|
|
4325
|
-
"
|
|
4360
|
+
"list.js"
|
|
4326
4361
|
]
|
|
4327
4362
|
},
|
|
4328
|
-
"contacts:
|
|
4363
|
+
"contacts:update": {
|
|
4329
4364
|
"aliases": [],
|
|
4330
4365
|
"args": {
|
|
4331
4366
|
"id": {
|
|
@@ -4334,7 +4369,7 @@
|
|
|
4334
4369
|
"required": true
|
|
4335
4370
|
}
|
|
4336
4371
|
},
|
|
4337
|
-
"description": "
|
|
4372
|
+
"description": "Update a contact",
|
|
4338
4373
|
"flags": {
|
|
4339
4374
|
"api-key": {
|
|
4340
4375
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4397,11 +4432,32 @@
|
|
|
4397
4432
|
"hasDynamicHelp": false,
|
|
4398
4433
|
"multiple": false,
|
|
4399
4434
|
"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"
|
|
4400
4456
|
}
|
|
4401
4457
|
},
|
|
4402
4458
|
"hasDynamicHelp": false,
|
|
4403
4459
|
"hiddenAliases": [],
|
|
4404
|
-
"id": "contacts:
|
|
4460
|
+
"id": "contacts:update",
|
|
4405
4461
|
"pluginAlias": "@instantkom/cli",
|
|
4406
4462
|
"pluginName": "@instantkom/cli",
|
|
4407
4463
|
"pluginType": "core",
|
|
@@ -4412,13 +4468,19 @@
|
|
|
4412
4468
|
"dist",
|
|
4413
4469
|
"commands",
|
|
4414
4470
|
"contacts",
|
|
4415
|
-
"
|
|
4471
|
+
"update.js"
|
|
4416
4472
|
]
|
|
4417
4473
|
},
|
|
4418
|
-
"
|
|
4474
|
+
"chats:get": {
|
|
4419
4475
|
"aliases": [],
|
|
4420
|
-
"args": {
|
|
4421
|
-
|
|
4476
|
+
"args": {
|
|
4477
|
+
"id": {
|
|
4478
|
+
"description": "chat ID",
|
|
4479
|
+
"name": "id",
|
|
4480
|
+
"required": true
|
|
4481
|
+
}
|
|
4482
|
+
},
|
|
4483
|
+
"description": "Get chat by ID",
|
|
4422
4484
|
"flags": {
|
|
4423
4485
|
"api-key": {
|
|
4424
4486
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4481,27 +4543,11 @@
|
|
|
4481
4543
|
"hasDynamicHelp": false,
|
|
4482
4544
|
"multiple": false,
|
|
4483
4545
|
"type": "option"
|
|
4484
|
-
},
|
|
4485
|
-
"file": {
|
|
4486
|
-
"description": "CSV file path",
|
|
4487
|
-
"name": "file",
|
|
4488
|
-
"required": true,
|
|
4489
|
-
"hasDynamicHelp": false,
|
|
4490
|
-
"multiple": false,
|
|
4491
|
-
"type": "option"
|
|
4492
|
-
},
|
|
4493
|
-
"channel": {
|
|
4494
|
-
"description": "Channel ID",
|
|
4495
|
-
"name": "channel",
|
|
4496
|
-
"required": true,
|
|
4497
|
-
"hasDynamicHelp": false,
|
|
4498
|
-
"multiple": false,
|
|
4499
|
-
"type": "option"
|
|
4500
4546
|
}
|
|
4501
4547
|
},
|
|
4502
4548
|
"hasDynamicHelp": false,
|
|
4503
4549
|
"hiddenAliases": [],
|
|
4504
|
-
"id": "
|
|
4550
|
+
"id": "chats:get",
|
|
4505
4551
|
"pluginAlias": "@instantkom/cli",
|
|
4506
4552
|
"pluginName": "@instantkom/cli",
|
|
4507
4553
|
"pluginType": "core",
|
|
@@ -4511,14 +4557,14 @@
|
|
|
4511
4557
|
"relativePath": [
|
|
4512
4558
|
"dist",
|
|
4513
4559
|
"commands",
|
|
4514
|
-
"
|
|
4515
|
-
"
|
|
4560
|
+
"chats",
|
|
4561
|
+
"get.js"
|
|
4516
4562
|
]
|
|
4517
4563
|
},
|
|
4518
|
-
"
|
|
4564
|
+
"chats:list": {
|
|
4519
4565
|
"aliases": [],
|
|
4520
4566
|
"args": {},
|
|
4521
|
-
"description": "List
|
|
4567
|
+
"description": "List chats",
|
|
4522
4568
|
"flags": {
|
|
4523
4569
|
"api-key": {
|
|
4524
4570
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4582,20 +4628,6 @@
|
|
|
4582
4628
|
"multiple": false,
|
|
4583
4629
|
"type": "option"
|
|
4584
4630
|
},
|
|
4585
|
-
"channel": {
|
|
4586
|
-
"description": "Filter by channel ID",
|
|
4587
|
-
"name": "channel",
|
|
4588
|
-
"hasDynamicHelp": false,
|
|
4589
|
-
"multiple": false,
|
|
4590
|
-
"type": "option"
|
|
4591
|
-
},
|
|
4592
|
-
"search": {
|
|
4593
|
-
"description": "Search by name or identifier",
|
|
4594
|
-
"name": "search",
|
|
4595
|
-
"hasDynamicHelp": false,
|
|
4596
|
-
"multiple": false,
|
|
4597
|
-
"type": "option"
|
|
4598
|
-
},
|
|
4599
4631
|
"page": {
|
|
4600
4632
|
"description": "Page number",
|
|
4601
4633
|
"name": "page",
|
|
@@ -4612,75 +4644,56 @@
|
|
|
4612
4644
|
"multiple": false,
|
|
4613
4645
|
"type": "option"
|
|
4614
4646
|
},
|
|
4615
|
-
"
|
|
4616
|
-
"description": "Filter by
|
|
4617
|
-
"name": "
|
|
4618
|
-
"hasDynamicHelp": false,
|
|
4619
|
-
"multiple": false,
|
|
4620
|
-
"options": [
|
|
4621
|
-
"0",
|
|
4622
|
-
"1"
|
|
4623
|
-
],
|
|
4624
|
-
"type": "option"
|
|
4625
|
-
},
|
|
4626
|
-
"blocked": {
|
|
4627
|
-
"description": "Filter by blocked status: 1 blocked, 0 not blocked",
|
|
4628
|
-
"name": "blocked",
|
|
4647
|
+
"channel": {
|
|
4648
|
+
"description": "Filter by channel ID",
|
|
4649
|
+
"name": "channel",
|
|
4629
4650
|
"hasDynamicHelp": false,
|
|
4630
4651
|
"multiple": false,
|
|
4631
|
-
"options": [
|
|
4632
|
-
"0",
|
|
4633
|
-
"1"
|
|
4634
|
-
],
|
|
4635
4652
|
"type": "option"
|
|
4636
4653
|
},
|
|
4637
|
-
"
|
|
4638
|
-
"description": "
|
|
4639
|
-
"name": "
|
|
4654
|
+
"channels": {
|
|
4655
|
+
"description": "Comma-separated channel IDs",
|
|
4656
|
+
"name": "channels",
|
|
4640
4657
|
"hasDynamicHelp": false,
|
|
4641
4658
|
"multiple": false,
|
|
4642
4659
|
"type": "option"
|
|
4643
4660
|
},
|
|
4644
|
-
"
|
|
4645
|
-
"description": "
|
|
4646
|
-
"name": "
|
|
4661
|
+
"search": {
|
|
4662
|
+
"description": "Search chats",
|
|
4663
|
+
"name": "search",
|
|
4647
4664
|
"hasDynamicHelp": false,
|
|
4648
4665
|
"multiple": false,
|
|
4649
4666
|
"type": "option"
|
|
4650
4667
|
},
|
|
4651
|
-
"
|
|
4652
|
-
"description": "
|
|
4653
|
-
"name": "
|
|
4668
|
+
"status": {
|
|
4669
|
+
"description": "Chat status",
|
|
4670
|
+
"name": "status",
|
|
4654
4671
|
"hasDynamicHelp": false,
|
|
4655
4672
|
"multiple": false,
|
|
4656
4673
|
"options": [
|
|
4657
|
-
"
|
|
4658
|
-
"
|
|
4674
|
+
"all",
|
|
4675
|
+
"unread",
|
|
4676
|
+
"read",
|
|
4677
|
+
"archived"
|
|
4659
4678
|
],
|
|
4660
4679
|
"type": "option"
|
|
4661
4680
|
},
|
|
4662
|
-
"
|
|
4663
|
-
"description": "
|
|
4664
|
-
"name": "
|
|
4665
|
-
"
|
|
4666
|
-
"
|
|
4667
|
-
"options": [
|
|
4668
|
-
"true",
|
|
4669
|
-
"false"
|
|
4670
|
-
],
|
|
4671
|
-
"type": "option"
|
|
4681
|
+
"unread-only": {
|
|
4682
|
+
"description": "Only unread chats",
|
|
4683
|
+
"name": "unread-only",
|
|
4684
|
+
"allowNo": false,
|
|
4685
|
+
"type": "boolean"
|
|
4672
4686
|
},
|
|
4673
|
-
"
|
|
4674
|
-
"description": "
|
|
4675
|
-
"name": "
|
|
4676
|
-
"
|
|
4677
|
-
"
|
|
4678
|
-
"type": "option"
|
|
4687
|
+
"include-archived": {
|
|
4688
|
+
"description": "Include archived chats",
|
|
4689
|
+
"name": "include-archived",
|
|
4690
|
+
"allowNo": false,
|
|
4691
|
+
"type": "boolean"
|
|
4679
4692
|
}
|
|
4680
4693
|
},
|
|
4681
4694
|
"hasDynamicHelp": false,
|
|
4682
4695
|
"hiddenAliases": [],
|
|
4683
|
-
"id": "
|
|
4696
|
+
"id": "chats:list",
|
|
4684
4697
|
"pluginAlias": "@instantkom/cli",
|
|
4685
4698
|
"pluginName": "@instantkom/cli",
|
|
4686
4699
|
"pluginType": "core",
|
|
@@ -4690,20 +4703,20 @@
|
|
|
4690
4703
|
"relativePath": [
|
|
4691
4704
|
"dist",
|
|
4692
4705
|
"commands",
|
|
4693
|
-
"
|
|
4706
|
+
"chats",
|
|
4694
4707
|
"list.js"
|
|
4695
4708
|
]
|
|
4696
4709
|
},
|
|
4697
|
-
"
|
|
4710
|
+
"chats:reply": {
|
|
4698
4711
|
"aliases": [],
|
|
4699
4712
|
"args": {
|
|
4700
4713
|
"id": {
|
|
4701
|
-
"description": "
|
|
4714
|
+
"description": "Chat ID",
|
|
4702
4715
|
"name": "id",
|
|
4703
4716
|
"required": true
|
|
4704
4717
|
}
|
|
4705
4718
|
},
|
|
4706
|
-
"description": "
|
|
4719
|
+
"description": "Reply in a chat",
|
|
4707
4720
|
"flags": {
|
|
4708
4721
|
"api-key": {
|
|
4709
4722
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4767,23 +4780,10 @@
|
|
|
4767
4780
|
"multiple": false,
|
|
4768
4781
|
"type": "option"
|
|
4769
4782
|
},
|
|
4770
|
-
"
|
|
4771
|
-
"description": "
|
|
4772
|
-
"name": "
|
|
4773
|
-
"
|
|
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",
|
|
4783
|
+
"text": {
|
|
4784
|
+
"description": "Reply text",
|
|
4785
|
+
"name": "text",
|
|
4786
|
+
"required": true,
|
|
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": "chats:reply",
|
|
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
|
+
"chats",
|
|
4805
|
+
"reply.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
|
+
"webhooks:add": {
|
|
10325
10325
|
"aliases": [],
|
|
10326
10326
|
"args": {},
|
|
10327
|
-
"description": "
|
|
10327
|
+
"description": "Add a webhook subscription",
|
|
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,60 +10388,25 @@
|
|
|
10388
10388
|
"multiple": false,
|
|
10389
10389
|
"type": "option"
|
|
10390
10390
|
},
|
|
10391
|
-
"
|
|
10392
|
-
"description": "
|
|
10393
|
-
"name": "
|
|
10394
|
-
"required": true,
|
|
10395
|
-
"hasDynamicHelp": false,
|
|
10396
|
-
"multiple": false,
|
|
10397
|
-
"type": "option"
|
|
10398
|
-
},
|
|
10399
|
-
"subject": {
|
|
10400
|
-
"description": "Ticket subject",
|
|
10401
|
-
"name": "subject",
|
|
10402
|
-
"required": true,
|
|
10403
|
-
"hasDynamicHelp": false,
|
|
10404
|
-
"multiple": false,
|
|
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",
|
|
10391
|
+
"event": {
|
|
10392
|
+
"description": "Webhook event to subscribe to",
|
|
10393
|
+
"name": "event",
|
|
10394
|
+
"required": true,
|
|
10438
10395
|
"hasDynamicHelp": false,
|
|
10439
10396
|
"multiple": false,
|
|
10397
|
+
"options": [
|
|
10398
|
+
"new_contact",
|
|
10399
|
+
"new_message",
|
|
10400
|
+
"broadcast_sent",
|
|
10401
|
+
"contact_updated",
|
|
10402
|
+
"contact_opted_out"
|
|
10403
|
+
],
|
|
10440
10404
|
"type": "option"
|
|
10441
10405
|
},
|
|
10442
|
-
"
|
|
10443
|
-
"description": "
|
|
10444
|
-
"name": "
|
|
10406
|
+
"url": {
|
|
10407
|
+
"description": "HTTPS target URL that receives webhook POSTs",
|
|
10408
|
+
"name": "url",
|
|
10409
|
+
"required": true,
|
|
10445
10410
|
"hasDynamicHelp": false,
|
|
10446
10411
|
"multiple": false,
|
|
10447
10412
|
"type": "option"
|
|
@@ -10449,7 +10414,7 @@
|
|
|
10449
10414
|
},
|
|
10450
10415
|
"hasDynamicHelp": false,
|
|
10451
10416
|
"hiddenAliases": [],
|
|
10452
|
-
"id": "
|
|
10417
|
+
"id": "webhooks:add",
|
|
10453
10418
|
"pluginAlias": "@instantkom/cli",
|
|
10454
10419
|
"pluginName": "@instantkom/cli",
|
|
10455
10420
|
"pluginType": "core",
|
|
@@ -10459,20 +10424,14 @@
|
|
|
10459
10424
|
"relativePath": [
|
|
10460
10425
|
"dist",
|
|
10461
10426
|
"commands",
|
|
10462
|
-
"
|
|
10463
|
-
"
|
|
10427
|
+
"webhooks",
|
|
10428
|
+
"add.js"
|
|
10464
10429
|
]
|
|
10465
10430
|
},
|
|
10466
|
-
"
|
|
10431
|
+
"webhooks:events": {
|
|
10467
10432
|
"aliases": [],
|
|
10468
|
-
"args": {
|
|
10469
|
-
|
|
10470
|
-
"description": "Ticket ID",
|
|
10471
|
-
"name": "id",
|
|
10472
|
-
"required": true
|
|
10473
|
-
}
|
|
10474
|
-
},
|
|
10475
|
-
"description": "Delete a ticket",
|
|
10433
|
+
"args": {},
|
|
10434
|
+
"description": "List supported webhook event names",
|
|
10476
10435
|
"flags": {
|
|
10477
10436
|
"api-key": {
|
|
10478
10437
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10535,19 +10494,11 @@
|
|
|
10535
10494
|
"hasDynamicHelp": false,
|
|
10536
10495
|
"multiple": false,
|
|
10537
10496
|
"type": "option"
|
|
10538
|
-
},
|
|
10539
|
-
"channel": {
|
|
10540
|
-
"description": "Channel ID",
|
|
10541
|
-
"name": "channel",
|
|
10542
|
-
"required": true,
|
|
10543
|
-
"hasDynamicHelp": false,
|
|
10544
|
-
"multiple": false,
|
|
10545
|
-
"type": "option"
|
|
10546
10497
|
}
|
|
10547
10498
|
},
|
|
10548
10499
|
"hasDynamicHelp": false,
|
|
10549
10500
|
"hiddenAliases": [],
|
|
10550
|
-
"id": "
|
|
10501
|
+
"id": "webhooks:events",
|
|
10551
10502
|
"pluginAlias": "@instantkom/cli",
|
|
10552
10503
|
"pluginName": "@instantkom/cli",
|
|
10553
10504
|
"pluginType": "core",
|
|
@@ -10557,20 +10508,14 @@
|
|
|
10557
10508
|
"relativePath": [
|
|
10558
10509
|
"dist",
|
|
10559
10510
|
"commands",
|
|
10560
|
-
"
|
|
10561
|
-
"
|
|
10511
|
+
"webhooks",
|
|
10512
|
+
"events.js"
|
|
10562
10513
|
]
|
|
10563
10514
|
},
|
|
10564
|
-
"
|
|
10515
|
+
"webhooks:list": {
|
|
10565
10516
|
"aliases": [],
|
|
10566
|
-
"args": {
|
|
10567
|
-
|
|
10568
|
-
"description": "Ticket ID",
|
|
10569
|
-
"name": "id",
|
|
10570
|
-
"required": true
|
|
10571
|
-
}
|
|
10572
|
-
},
|
|
10573
|
-
"description": "Get a ticket by ID",
|
|
10517
|
+
"args": {},
|
|
10518
|
+
"description": "List webhook subscriptions",
|
|
10574
10519
|
"flags": {
|
|
10575
10520
|
"api-key": {
|
|
10576
10521
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10633,19 +10578,11 @@
|
|
|
10633
10578
|
"hasDynamicHelp": false,
|
|
10634
10579
|
"multiple": false,
|
|
10635
10580
|
"type": "option"
|
|
10636
|
-
},
|
|
10637
|
-
"channel": {
|
|
10638
|
-
"description": "Channel ID",
|
|
10639
|
-
"name": "channel",
|
|
10640
|
-
"required": true,
|
|
10641
|
-
"hasDynamicHelp": false,
|
|
10642
|
-
"multiple": false,
|
|
10643
|
-
"type": "option"
|
|
10644
10581
|
}
|
|
10645
10582
|
},
|
|
10646
10583
|
"hasDynamicHelp": false,
|
|
10647
10584
|
"hiddenAliases": [],
|
|
10648
|
-
"id": "
|
|
10585
|
+
"id": "webhooks:list",
|
|
10649
10586
|
"pluginAlias": "@instantkom/cli",
|
|
10650
10587
|
"pluginName": "@instantkom/cli",
|
|
10651
10588
|
"pluginType": "core",
|
|
@@ -10655,14 +10592,14 @@
|
|
|
10655
10592
|
"relativePath": [
|
|
10656
10593
|
"dist",
|
|
10657
10594
|
"commands",
|
|
10658
|
-
"
|
|
10659
|
-
"
|
|
10595
|
+
"webhooks",
|
|
10596
|
+
"list.js"
|
|
10660
10597
|
]
|
|
10661
10598
|
},
|
|
10662
|
-
"
|
|
10599
|
+
"webhooks:logs": {
|
|
10663
10600
|
"aliases": [],
|
|
10664
10601
|
"args": {},
|
|
10665
|
-
"description": "
|
|
10602
|
+
"description": "Explain webhook log availability",
|
|
10666
10603
|
"flags": {
|
|
10667
10604
|
"api-key": {
|
|
10668
10605
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10725,35 +10662,11 @@
|
|
|
10725
10662
|
"hasDynamicHelp": false,
|
|
10726
10663
|
"multiple": false,
|
|
10727
10664
|
"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"
|
|
10752
10665
|
}
|
|
10753
10666
|
},
|
|
10754
10667
|
"hasDynamicHelp": false,
|
|
10755
10668
|
"hiddenAliases": [],
|
|
10756
|
-
"id": "
|
|
10669
|
+
"id": "webhooks:logs",
|
|
10757
10670
|
"pluginAlias": "@instantkom/cli",
|
|
10758
10671
|
"pluginName": "@instantkom/cli",
|
|
10759
10672
|
"pluginType": "core",
|
|
@@ -10763,20 +10676,20 @@
|
|
|
10763
10676
|
"relativePath": [
|
|
10764
10677
|
"dist",
|
|
10765
10678
|
"commands",
|
|
10766
|
-
"
|
|
10767
|
-
"
|
|
10679
|
+
"webhooks",
|
|
10680
|
+
"logs.js"
|
|
10768
10681
|
]
|
|
10769
10682
|
},
|
|
10770
|
-
"
|
|
10683
|
+
"webhooks:remove": {
|
|
10771
10684
|
"aliases": [],
|
|
10772
10685
|
"args": {
|
|
10773
10686
|
"id": {
|
|
10774
|
-
"description": "
|
|
10687
|
+
"description": "Webhook subscription ID",
|
|
10775
10688
|
"name": "id",
|
|
10776
10689
|
"required": true
|
|
10777
10690
|
}
|
|
10778
10691
|
},
|
|
10779
|
-
"description": "
|
|
10692
|
+
"description": "Remove a webhook subscription",
|
|
10780
10693
|
"flags": {
|
|
10781
10694
|
"api-key": {
|
|
10782
10695
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10839,25 +10752,11 @@
|
|
|
10839
10752
|
"hasDynamicHelp": false,
|
|
10840
10753
|
"multiple": false,
|
|
10841
10754
|
"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"
|
|
10856
10755
|
}
|
|
10857
10756
|
},
|
|
10858
10757
|
"hasDynamicHelp": false,
|
|
10859
10758
|
"hiddenAliases": [],
|
|
10860
|
-
"id": "
|
|
10759
|
+
"id": "webhooks:remove",
|
|
10861
10760
|
"pluginAlias": "@instantkom/cli",
|
|
10862
10761
|
"pluginName": "@instantkom/cli",
|
|
10863
10762
|
"pluginType": "core",
|
|
@@ -10867,20 +10766,14 @@
|
|
|
10867
10766
|
"relativePath": [
|
|
10868
10767
|
"dist",
|
|
10869
10768
|
"commands",
|
|
10870
|
-
"
|
|
10871
|
-
"
|
|
10769
|
+
"webhooks",
|
|
10770
|
+
"remove.js"
|
|
10872
10771
|
]
|
|
10873
10772
|
},
|
|
10874
|
-
"
|
|
10773
|
+
"webhooks:test": {
|
|
10875
10774
|
"aliases": [],
|
|
10876
|
-
"args": {
|
|
10877
|
-
|
|
10878
|
-
"description": "Ticket ID",
|
|
10879
|
-
"name": "id",
|
|
10880
|
-
"required": true
|
|
10881
|
-
}
|
|
10882
|
-
},
|
|
10883
|
-
"description": "Update a ticket",
|
|
10775
|
+
"args": {},
|
|
10776
|
+
"description": "Send a test webhook payload to a URL",
|
|
10884
10777
|
"flags": {
|
|
10885
10778
|
"api-key": {
|
|
10886
10779
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10944,51 +10837,25 @@
|
|
|
10944
10837
|
"multiple": false,
|
|
10945
10838
|
"type": "option"
|
|
10946
10839
|
},
|
|
10947
|
-
"
|
|
10948
|
-
"description": "
|
|
10949
|
-
"name": "
|
|
10840
|
+
"url": {
|
|
10841
|
+
"description": "Webhook URL to call",
|
|
10842
|
+
"name": "url",
|
|
10950
10843
|
"required": true,
|
|
10951
10844
|
"hasDynamicHelp": false,
|
|
10952
10845
|
"multiple": false,
|
|
10953
10846
|
"type": "option"
|
|
10954
10847
|
},
|
|
10955
|
-
"
|
|
10956
|
-
"description": "
|
|
10957
|
-
"name": "
|
|
10958
|
-
"
|
|
10959
|
-
"multiple": false,
|
|
10960
|
-
"type": "option"
|
|
10961
|
-
},
|
|
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",
|
|
10848
|
+
"event": {
|
|
10849
|
+
"description": "Event name",
|
|
10850
|
+
"name": "event",
|
|
10851
|
+
"default": "cli.test",
|
|
10979
10852
|
"hasDynamicHelp": false,
|
|
10980
10853
|
"multiple": false,
|
|
10981
10854
|
"type": "option"
|
|
10982
10855
|
},
|
|
10983
|
-
"
|
|
10984
|
-
"description": "
|
|
10985
|
-
"name": "
|
|
10986
|
-
"allowNo": true,
|
|
10987
|
-
"type": "boolean"
|
|
10988
|
-
},
|
|
10989
|
-
"data": {
|
|
10990
|
-
"description": "Additional JSON object payload",
|
|
10991
|
-
"name": "data",
|
|
10856
|
+
"payload": {
|
|
10857
|
+
"description": "Payload JSON",
|
|
10858
|
+
"name": "payload",
|
|
10992
10859
|
"hasDynamicHelp": false,
|
|
10993
10860
|
"multiple": false,
|
|
10994
10861
|
"type": "option"
|
|
@@ -10996,7 +10863,7 @@
|
|
|
10996
10863
|
},
|
|
10997
10864
|
"hasDynamicHelp": false,
|
|
10998
10865
|
"hiddenAliases": [],
|
|
10999
|
-
"id": "
|
|
10866
|
+
"id": "webhooks:test",
|
|
11000
10867
|
"pluginAlias": "@instantkom/cli",
|
|
11001
10868
|
"pluginName": "@instantkom/cli",
|
|
11002
10869
|
"pluginType": "core",
|
|
@@ -11006,14 +10873,14 @@
|
|
|
11006
10873
|
"relativePath": [
|
|
11007
10874
|
"dist",
|
|
11008
10875
|
"commands",
|
|
11009
|
-
"
|
|
11010
|
-
"
|
|
10876
|
+
"webhooks",
|
|
10877
|
+
"test.js"
|
|
11011
10878
|
]
|
|
11012
10879
|
},
|
|
11013
|
-
"
|
|
10880
|
+
"tickets:create": {
|
|
11014
10881
|
"aliases": [],
|
|
11015
10882
|
"args": {},
|
|
11016
|
-
"description": "
|
|
10883
|
+
"description": "Create a ticket",
|
|
11017
10884
|
"flags": {
|
|
11018
10885
|
"api-key": {
|
|
11019
10886
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11077,33 +10944,68 @@
|
|
|
11077
10944
|
"multiple": false,
|
|
11078
10945
|
"type": "option"
|
|
11079
10946
|
},
|
|
11080
|
-
"
|
|
11081
|
-
"description": "
|
|
11082
|
-
"name": "
|
|
10947
|
+
"channel": {
|
|
10948
|
+
"description": "Channel ID",
|
|
10949
|
+
"name": "channel",
|
|
11083
10950
|
"required": true,
|
|
11084
10951
|
"hasDynamicHelp": false,
|
|
11085
10952
|
"multiple": false,
|
|
11086
|
-
"options": [
|
|
11087
|
-
"new_contact",
|
|
11088
|
-
"new_message",
|
|
11089
|
-
"broadcast_sent",
|
|
11090
|
-
"contact_updated",
|
|
11091
|
-
"contact_opted_out"
|
|
11092
|
-
],
|
|
11093
10953
|
"type": "option"
|
|
11094
10954
|
},
|
|
11095
|
-
"
|
|
11096
|
-
"description": "
|
|
11097
|
-
"name": "
|
|
10955
|
+
"subject": {
|
|
10956
|
+
"description": "Ticket subject",
|
|
10957
|
+
"name": "subject",
|
|
11098
10958
|
"required": true,
|
|
11099
10959
|
"hasDynamicHelp": false,
|
|
11100
10960
|
"multiple": false,
|
|
11101
10961
|
"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"
|
|
11102
11004
|
}
|
|
11103
11005
|
},
|
|
11104
11006
|
"hasDynamicHelp": false,
|
|
11105
11007
|
"hiddenAliases": [],
|
|
11106
|
-
"id": "
|
|
11008
|
+
"id": "tickets:create",
|
|
11107
11009
|
"pluginAlias": "@instantkom/cli",
|
|
11108
11010
|
"pluginName": "@instantkom/cli",
|
|
11109
11011
|
"pluginType": "core",
|
|
@@ -11113,14 +11015,20 @@
|
|
|
11113
11015
|
"relativePath": [
|
|
11114
11016
|
"dist",
|
|
11115
11017
|
"commands",
|
|
11116
|
-
"
|
|
11117
|
-
"
|
|
11018
|
+
"tickets",
|
|
11019
|
+
"create.js"
|
|
11118
11020
|
]
|
|
11119
11021
|
},
|
|
11120
|
-
"
|
|
11022
|
+
"tickets:delete": {
|
|
11121
11023
|
"aliases": [],
|
|
11122
|
-
"args": {
|
|
11123
|
-
|
|
11024
|
+
"args": {
|
|
11025
|
+
"id": {
|
|
11026
|
+
"description": "Ticket ID",
|
|
11027
|
+
"name": "id",
|
|
11028
|
+
"required": true
|
|
11029
|
+
}
|
|
11030
|
+
},
|
|
11031
|
+
"description": "Delete a ticket",
|
|
11124
11032
|
"flags": {
|
|
11125
11033
|
"api-key": {
|
|
11126
11034
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11183,11 +11091,19 @@
|
|
|
11183
11091
|
"hasDynamicHelp": false,
|
|
11184
11092
|
"multiple": false,
|
|
11185
11093
|
"type": "option"
|
|
11094
|
+
},
|
|
11095
|
+
"channel": {
|
|
11096
|
+
"description": "Channel ID",
|
|
11097
|
+
"name": "channel",
|
|
11098
|
+
"required": true,
|
|
11099
|
+
"hasDynamicHelp": false,
|
|
11100
|
+
"multiple": false,
|
|
11101
|
+
"type": "option"
|
|
11186
11102
|
}
|
|
11187
11103
|
},
|
|
11188
11104
|
"hasDynamicHelp": false,
|
|
11189
11105
|
"hiddenAliases": [],
|
|
11190
|
-
"id": "
|
|
11106
|
+
"id": "tickets:delete",
|
|
11191
11107
|
"pluginAlias": "@instantkom/cli",
|
|
11192
11108
|
"pluginName": "@instantkom/cli",
|
|
11193
11109
|
"pluginType": "core",
|
|
@@ -11197,14 +11113,20 @@
|
|
|
11197
11113
|
"relativePath": [
|
|
11198
11114
|
"dist",
|
|
11199
11115
|
"commands",
|
|
11200
|
-
"
|
|
11201
|
-
"
|
|
11116
|
+
"tickets",
|
|
11117
|
+
"delete.js"
|
|
11202
11118
|
]
|
|
11203
11119
|
},
|
|
11204
|
-
"
|
|
11120
|
+
"tickets:get": {
|
|
11205
11121
|
"aliases": [],
|
|
11206
|
-
"args": {
|
|
11207
|
-
|
|
11122
|
+
"args": {
|
|
11123
|
+
"id": {
|
|
11124
|
+
"description": "Ticket ID",
|
|
11125
|
+
"name": "id",
|
|
11126
|
+
"required": true
|
|
11127
|
+
}
|
|
11128
|
+
},
|
|
11129
|
+
"description": "Get a ticket by ID",
|
|
11208
11130
|
"flags": {
|
|
11209
11131
|
"api-key": {
|
|
11210
11132
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11267,11 +11189,19 @@
|
|
|
11267
11189
|
"hasDynamicHelp": false,
|
|
11268
11190
|
"multiple": false,
|
|
11269
11191
|
"type": "option"
|
|
11192
|
+
},
|
|
11193
|
+
"channel": {
|
|
11194
|
+
"description": "Channel ID",
|
|
11195
|
+
"name": "channel",
|
|
11196
|
+
"required": true,
|
|
11197
|
+
"hasDynamicHelp": false,
|
|
11198
|
+
"multiple": false,
|
|
11199
|
+
"type": "option"
|
|
11270
11200
|
}
|
|
11271
11201
|
},
|
|
11272
11202
|
"hasDynamicHelp": false,
|
|
11273
11203
|
"hiddenAliases": [],
|
|
11274
|
-
"id": "
|
|
11204
|
+
"id": "tickets:get",
|
|
11275
11205
|
"pluginAlias": "@instantkom/cli",
|
|
11276
11206
|
"pluginName": "@instantkom/cli",
|
|
11277
11207
|
"pluginType": "core",
|
|
@@ -11281,14 +11211,14 @@
|
|
|
11281
11211
|
"relativePath": [
|
|
11282
11212
|
"dist",
|
|
11283
11213
|
"commands",
|
|
11284
|
-
"
|
|
11285
|
-
"
|
|
11214
|
+
"tickets",
|
|
11215
|
+
"get.js"
|
|
11286
11216
|
]
|
|
11287
11217
|
},
|
|
11288
|
-
"
|
|
11218
|
+
"tickets:list": {
|
|
11289
11219
|
"aliases": [],
|
|
11290
11220
|
"args": {},
|
|
11291
|
-
"description": "
|
|
11221
|
+
"description": "List tickets for a channel",
|
|
11292
11222
|
"flags": {
|
|
11293
11223
|
"api-key": {
|
|
11294
11224
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11351,11 +11281,35 @@
|
|
|
11351
11281
|
"hasDynamicHelp": false,
|
|
11352
11282
|
"multiple": false,
|
|
11353
11283
|
"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"
|
|
11354
11308
|
}
|
|
11355
11309
|
},
|
|
11356
11310
|
"hasDynamicHelp": false,
|
|
11357
11311
|
"hiddenAliases": [],
|
|
11358
|
-
"id": "
|
|
11312
|
+
"id": "tickets:list",
|
|
11359
11313
|
"pluginAlias": "@instantkom/cli",
|
|
11360
11314
|
"pluginName": "@instantkom/cli",
|
|
11361
11315
|
"pluginType": "core",
|
|
@@ -11365,20 +11319,20 @@
|
|
|
11365
11319
|
"relativePath": [
|
|
11366
11320
|
"dist",
|
|
11367
11321
|
"commands",
|
|
11368
|
-
"
|
|
11369
|
-
"
|
|
11322
|
+
"tickets",
|
|
11323
|
+
"list.js"
|
|
11370
11324
|
]
|
|
11371
11325
|
},
|
|
11372
|
-
"
|
|
11326
|
+
"tickets:reply": {
|
|
11373
11327
|
"aliases": [],
|
|
11374
11328
|
"args": {
|
|
11375
11329
|
"id": {
|
|
11376
|
-
"description": "
|
|
11330
|
+
"description": "Ticket ID",
|
|
11377
11331
|
"name": "id",
|
|
11378
11332
|
"required": true
|
|
11379
11333
|
}
|
|
11380
11334
|
},
|
|
11381
|
-
"description": "
|
|
11335
|
+
"description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only; the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
|
|
11382
11336
|
"flags": {
|
|
11383
11337
|
"api-key": {
|
|
11384
11338
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11441,11 +11395,25 @@
|
|
|
11441
11395
|
"hasDynamicHelp": false,
|
|
11442
11396
|
"multiple": false,
|
|
11443
11397
|
"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"
|
|
11444
11412
|
}
|
|
11445
11413
|
},
|
|
11446
11414
|
"hasDynamicHelp": false,
|
|
11447
11415
|
"hiddenAliases": [],
|
|
11448
|
-
"id": "
|
|
11416
|
+
"id": "tickets:reply",
|
|
11449
11417
|
"pluginAlias": "@instantkom/cli",
|
|
11450
11418
|
"pluginName": "@instantkom/cli",
|
|
11451
11419
|
"pluginType": "core",
|
|
@@ -11455,14 +11423,20 @@
|
|
|
11455
11423
|
"relativePath": [
|
|
11456
11424
|
"dist",
|
|
11457
11425
|
"commands",
|
|
11458
|
-
"
|
|
11459
|
-
"
|
|
11426
|
+
"tickets",
|
|
11427
|
+
"reply.js"
|
|
11460
11428
|
]
|
|
11461
11429
|
},
|
|
11462
|
-
"
|
|
11430
|
+
"tickets:update": {
|
|
11463
11431
|
"aliases": [],
|
|
11464
|
-
"args": {
|
|
11465
|
-
|
|
11432
|
+
"args": {
|
|
11433
|
+
"id": {
|
|
11434
|
+
"description": "Ticket ID",
|
|
11435
|
+
"name": "id",
|
|
11436
|
+
"required": true
|
|
11437
|
+
}
|
|
11438
|
+
},
|
|
11439
|
+
"description": "Update a ticket",
|
|
11466
11440
|
"flags": {
|
|
11467
11441
|
"api-key": {
|
|
11468
11442
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11526,25 +11500,51 @@
|
|
|
11526
11500
|
"multiple": false,
|
|
11527
11501
|
"type": "option"
|
|
11528
11502
|
},
|
|
11529
|
-
"
|
|
11530
|
-
"description": "
|
|
11531
|
-
"name": "
|
|
11503
|
+
"channel": {
|
|
11504
|
+
"description": "Channel ID",
|
|
11505
|
+
"name": "channel",
|
|
11532
11506
|
"required": true,
|
|
11533
11507
|
"hasDynamicHelp": false,
|
|
11534
11508
|
"multiple": false,
|
|
11535
11509
|
"type": "option"
|
|
11536
11510
|
},
|
|
11537
|
-
"
|
|
11538
|
-
"description": "
|
|
11539
|
-
"name": "
|
|
11540
|
-
"default": "cli.test",
|
|
11511
|
+
"subject": {
|
|
11512
|
+
"description": "Ticket subject",
|
|
11513
|
+
"name": "subject",
|
|
11541
11514
|
"hasDynamicHelp": false,
|
|
11542
11515
|
"multiple": false,
|
|
11543
11516
|
"type": "option"
|
|
11544
11517
|
},
|
|
11545
|
-
"
|
|
11546
|
-
"description": "
|
|
11547
|
-
"name": "
|
|
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",
|
|
11535
|
+
"hasDynamicHelp": false,
|
|
11536
|
+
"multiple": false,
|
|
11537
|
+
"type": "option"
|
|
11538
|
+
},
|
|
11539
|
+
"notify": {
|
|
11540
|
+
"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.",
|
|
11541
|
+
"name": "notify",
|
|
11542
|
+
"allowNo": true,
|
|
11543
|
+
"type": "boolean"
|
|
11544
|
+
},
|
|
11545
|
+
"data": {
|
|
11546
|
+
"description": "Additional JSON object payload",
|
|
11547
|
+
"name": "data",
|
|
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": "tickets:update",
|
|
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
|
+
"tickets",
|
|
11566
|
+
"update.js"
|
|
11567
11567
|
]
|
|
11568
11568
|
},
|
|
11569
11569
|
"auth:tokens:create": {
|
|
@@ -15856,16 +15856,16 @@
|
|
|
15856
15856
|
"list.js"
|
|
15857
15857
|
]
|
|
15858
15858
|
},
|
|
15859
|
-
"tags:
|
|
15859
|
+
"tags:segments:list": {
|
|
15860
15860
|
"aliases": [],
|
|
15861
15861
|
"args": {
|
|
15862
|
-
"
|
|
15862
|
+
"id": {
|
|
15863
15863
|
"description": "Tag ID",
|
|
15864
|
-
"name": "
|
|
15864
|
+
"name": "id",
|
|
15865
15865
|
"required": true
|
|
15866
15866
|
}
|
|
15867
15867
|
},
|
|
15868
|
-
"description": "
|
|
15868
|
+
"description": "List segments that use a specific tag",
|
|
15869
15869
|
"flags": {
|
|
15870
15870
|
"api-key": {
|
|
15871
15871
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -15929,10 +15929,18 @@
|
|
|
15929
15929
|
"multiple": false,
|
|
15930
15930
|
"type": "option"
|
|
15931
15931
|
},
|
|
15932
|
-
"
|
|
15933
|
-
"description": "
|
|
15934
|
-
"name": "
|
|
15935
|
-
"
|
|
15932
|
+
"page": {
|
|
15933
|
+
"description": "Page number",
|
|
15934
|
+
"name": "page",
|
|
15935
|
+
"default": 1,
|
|
15936
|
+
"hasDynamicHelp": false,
|
|
15937
|
+
"multiple": false,
|
|
15938
|
+
"type": "option"
|
|
15939
|
+
},
|
|
15940
|
+
"limit": {
|
|
15941
|
+
"description": "Items per page",
|
|
15942
|
+
"name": "limit",
|
|
15943
|
+
"default": 20,
|
|
15936
15944
|
"hasDynamicHelp": false,
|
|
15937
15945
|
"multiple": false,
|
|
15938
15946
|
"type": "option"
|
|
@@ -15940,7 +15948,7 @@
|
|
|
15940
15948
|
},
|
|
15941
15949
|
"hasDynamicHelp": false,
|
|
15942
15950
|
"hiddenAliases": [],
|
|
15943
|
-
"id": "tags:
|
|
15951
|
+
"id": "tags:segments:list",
|
|
15944
15952
|
"pluginAlias": "@instantkom/cli",
|
|
15945
15953
|
"pluginName": "@instantkom/cli",
|
|
15946
15954
|
"pluginType": "core",
|
|
@@ -15951,11 +15959,11 @@
|
|
|
15951
15959
|
"dist",
|
|
15952
15960
|
"commands",
|
|
15953
15961
|
"tags",
|
|
15954
|
-
"
|
|
15955
|
-
"
|
|
15962
|
+
"segments",
|
|
15963
|
+
"list.js"
|
|
15956
15964
|
]
|
|
15957
15965
|
},
|
|
15958
|
-
"tags:recipients:
|
|
15966
|
+
"tags:recipients:add": {
|
|
15959
15967
|
"aliases": [],
|
|
15960
15968
|
"args": {
|
|
15961
15969
|
"tagId": {
|
|
@@ -15964,7 +15972,7 @@
|
|
|
15964
15972
|
"required": true
|
|
15965
15973
|
}
|
|
15966
15974
|
},
|
|
15967
|
-
"description": "
|
|
15975
|
+
"description": "Assign a tag to recipients",
|
|
15968
15976
|
"flags": {
|
|
15969
15977
|
"api-key": {
|
|
15970
15978
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -16039,7 +16047,7 @@
|
|
|
16039
16047
|
},
|
|
16040
16048
|
"hasDynamicHelp": false,
|
|
16041
16049
|
"hiddenAliases": [],
|
|
16042
|
-
"id": "tags:recipients:
|
|
16050
|
+
"id": "tags:recipients:add",
|
|
16043
16051
|
"pluginAlias": "@instantkom/cli",
|
|
16044
16052
|
"pluginName": "@instantkom/cli",
|
|
16045
16053
|
"pluginType": "core",
|
|
@@ -16051,19 +16059,19 @@
|
|
|
16051
16059
|
"commands",
|
|
16052
16060
|
"tags",
|
|
16053
16061
|
"recipients",
|
|
16054
|
-
"
|
|
16062
|
+
"add.js"
|
|
16055
16063
|
]
|
|
16056
16064
|
},
|
|
16057
|
-
"tags:
|
|
16065
|
+
"tags:recipients:remove": {
|
|
16058
16066
|
"aliases": [],
|
|
16059
16067
|
"args": {
|
|
16060
|
-
"
|
|
16068
|
+
"tagId": {
|
|
16061
16069
|
"description": "Tag ID",
|
|
16062
|
-
"name": "
|
|
16070
|
+
"name": "tagId",
|
|
16063
16071
|
"required": true
|
|
16064
16072
|
}
|
|
16065
16073
|
},
|
|
16066
|
-
"description": "
|
|
16074
|
+
"description": "Remove a tag from recipients",
|
|
16067
16075
|
"flags": {
|
|
16068
16076
|
"api-key": {
|
|
16069
16077
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -16127,18 +16135,10 @@
|
|
|
16127
16135
|
"multiple": false,
|
|
16128
16136
|
"type": "option"
|
|
16129
16137
|
},
|
|
16130
|
-
"
|
|
16131
|
-
"description": "
|
|
16132
|
-
"name": "
|
|
16133
|
-
"
|
|
16134
|
-
"hasDynamicHelp": false,
|
|
16135
|
-
"multiple": false,
|
|
16136
|
-
"type": "option"
|
|
16137
|
-
},
|
|
16138
|
-
"limit": {
|
|
16139
|
-
"description": "Items per page",
|
|
16140
|
-
"name": "limit",
|
|
16141
|
-
"default": 20,
|
|
16138
|
+
"recipients": {
|
|
16139
|
+
"description": "Comma-separated recipient IDs",
|
|
16140
|
+
"name": "recipients",
|
|
16141
|
+
"required": true,
|
|
16142
16142
|
"hasDynamicHelp": false,
|
|
16143
16143
|
"multiple": false,
|
|
16144
16144
|
"type": "option"
|
|
@@ -16146,7 +16146,7 @@
|
|
|
16146
16146
|
},
|
|
16147
16147
|
"hasDynamicHelp": false,
|
|
16148
16148
|
"hiddenAliases": [],
|
|
16149
|
-
"id": "tags:
|
|
16149
|
+
"id": "tags:recipients:remove",
|
|
16150
16150
|
"pluginAlias": "@instantkom/cli",
|
|
16151
16151
|
"pluginName": "@instantkom/cli",
|
|
16152
16152
|
"pluginType": "core",
|
|
@@ -16157,8 +16157,8 @@
|
|
|
16157
16157
|
"dist",
|
|
16158
16158
|
"commands",
|
|
16159
16159
|
"tags",
|
|
16160
|
-
"
|
|
16161
|
-
"
|
|
16160
|
+
"recipients",
|
|
16161
|
+
"remove.js"
|
|
16162
16162
|
]
|
|
16163
16163
|
},
|
|
16164
16164
|
"ticket:messages:create": {
|
|
@@ -17052,5 +17052,5 @@
|
|
|
17052
17052
|
]
|
|
17053
17053
|
}
|
|
17054
17054
|
},
|
|
17055
|
-
"version": "3.
|
|
17055
|
+
"version": "3.184.1"
|
|
17056
17056
|
}
|