@instantkom/cli 3.143.0 → 3.144.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/npm-shrinkwrap.json +2 -2
- package/oclif.manifest.json +731 -731
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -953,10 +953,10 @@
|
|
|
953
953
|
"update.js"
|
|
954
954
|
]
|
|
955
955
|
},
|
|
956
|
-
"
|
|
956
|
+
"ai:reply": {
|
|
957
957
|
"aliases": [],
|
|
958
958
|
"args": {},
|
|
959
|
-
"description": "
|
|
959
|
+
"description": "Generate AI reply suggestions for a message",
|
|
960
960
|
"flags": {
|
|
961
961
|
"api-key": {
|
|
962
962
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1020,24 +1020,46 @@
|
|
|
1020
1020
|
"multiple": false,
|
|
1021
1021
|
"type": "option"
|
|
1022
1022
|
},
|
|
1023
|
-
"
|
|
1024
|
-
"description": "
|
|
1025
|
-
"name": "
|
|
1026
|
-
"
|
|
1023
|
+
"message-id": {
|
|
1024
|
+
"description": "Message ID to use as smart-reply anchor",
|
|
1025
|
+
"name": "message-id",
|
|
1026
|
+
"required": true,
|
|
1027
|
+
"hasDynamicHelp": false,
|
|
1028
|
+
"multiple": false,
|
|
1029
|
+
"type": "option"
|
|
1030
|
+
},
|
|
1031
|
+
"limit": {
|
|
1032
|
+
"description": "Number of suggestions to generate (1-5)",
|
|
1033
|
+
"name": "limit",
|
|
1034
|
+
"hasDynamicHelp": false,
|
|
1035
|
+
"multiple": false,
|
|
1036
|
+
"type": "option"
|
|
1037
|
+
},
|
|
1038
|
+
"context-length": {
|
|
1039
|
+
"description": "Number of recent messages to use as context (1-20)",
|
|
1040
|
+
"name": "context-length",
|
|
1041
|
+
"hasDynamicHelp": false,
|
|
1042
|
+
"multiple": false,
|
|
1043
|
+
"type": "option"
|
|
1044
|
+
},
|
|
1045
|
+
"style": {
|
|
1046
|
+
"description": "Response style",
|
|
1047
|
+
"name": "style",
|
|
1027
1048
|
"hasDynamicHelp": false,
|
|
1028
1049
|
"multiple": false,
|
|
1029
1050
|
"options": [
|
|
1030
|
-
"
|
|
1031
|
-
"
|
|
1032
|
-
"
|
|
1033
|
-
"
|
|
1051
|
+
"professional",
|
|
1052
|
+
"friendly",
|
|
1053
|
+
"concise",
|
|
1054
|
+
"detailed",
|
|
1055
|
+
"empathetic"
|
|
1034
1056
|
],
|
|
1035
1057
|
"type": "option"
|
|
1036
1058
|
}
|
|
1037
1059
|
},
|
|
1038
1060
|
"hasDynamicHelp": false,
|
|
1039
1061
|
"hiddenAliases": [],
|
|
1040
|
-
"id": "
|
|
1062
|
+
"id": "ai:reply",
|
|
1041
1063
|
"pluginAlias": "@instantkom/cli",
|
|
1042
1064
|
"pluginName": "@instantkom/cli",
|
|
1043
1065
|
"pluginType": "core",
|
|
@@ -1047,14 +1069,14 @@
|
|
|
1047
1069
|
"relativePath": [
|
|
1048
1070
|
"dist",
|
|
1049
1071
|
"commands",
|
|
1050
|
-
"
|
|
1051
|
-
"
|
|
1072
|
+
"ai",
|
|
1073
|
+
"reply.js"
|
|
1052
1074
|
]
|
|
1053
1075
|
},
|
|
1054
|
-
"auth:
|
|
1076
|
+
"auth:login": {
|
|
1055
1077
|
"aliases": [],
|
|
1056
1078
|
"args": {},
|
|
1057
|
-
"description": "
|
|
1079
|
+
"description": "Authenticate with the instantKOM API via device authorization flow",
|
|
1058
1080
|
"flags": {
|
|
1059
1081
|
"api-key": {
|
|
1060
1082
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1117,11 +1139,25 @@
|
|
|
1117
1139
|
"hasDynamicHelp": false,
|
|
1118
1140
|
"multiple": false,
|
|
1119
1141
|
"type": "option"
|
|
1142
|
+
},
|
|
1143
|
+
"scope": {
|
|
1144
|
+
"description": "Requested token scope",
|
|
1145
|
+
"name": "scope",
|
|
1146
|
+
"default": "read",
|
|
1147
|
+
"hasDynamicHelp": false,
|
|
1148
|
+
"multiple": false,
|
|
1149
|
+
"options": [
|
|
1150
|
+
"full",
|
|
1151
|
+
"send",
|
|
1152
|
+
"read",
|
|
1153
|
+
"admin"
|
|
1154
|
+
],
|
|
1155
|
+
"type": "option"
|
|
1120
1156
|
}
|
|
1121
1157
|
},
|
|
1122
1158
|
"hasDynamicHelp": false,
|
|
1123
1159
|
"hiddenAliases": [],
|
|
1124
|
-
"id": "auth:
|
|
1160
|
+
"id": "auth:login",
|
|
1125
1161
|
"pluginAlias": "@instantkom/cli",
|
|
1126
1162
|
"pluginName": "@instantkom/cli",
|
|
1127
1163
|
"pluginType": "core",
|
|
@@ -1132,13 +1168,13 @@
|
|
|
1132
1168
|
"dist",
|
|
1133
1169
|
"commands",
|
|
1134
1170
|
"auth",
|
|
1135
|
-
"
|
|
1171
|
+
"login.js"
|
|
1136
1172
|
]
|
|
1137
1173
|
},
|
|
1138
|
-
"
|
|
1174
|
+
"auth:logout": {
|
|
1139
1175
|
"aliases": [],
|
|
1140
1176
|
"args": {},
|
|
1141
|
-
"description": "
|
|
1177
|
+
"description": "Remove the stored API token for the current profile",
|
|
1142
1178
|
"flags": {
|
|
1143
1179
|
"api-key": {
|
|
1144
1180
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1201,47 +1237,11 @@
|
|
|
1201
1237
|
"hasDynamicHelp": false,
|
|
1202
1238
|
"multiple": false,
|
|
1203
1239
|
"type": "option"
|
|
1204
|
-
},
|
|
1205
|
-
"message-id": {
|
|
1206
|
-
"description": "Message ID to use as smart-reply anchor",
|
|
1207
|
-
"name": "message-id",
|
|
1208
|
-
"required": true,
|
|
1209
|
-
"hasDynamicHelp": false,
|
|
1210
|
-
"multiple": false,
|
|
1211
|
-
"type": "option"
|
|
1212
|
-
},
|
|
1213
|
-
"limit": {
|
|
1214
|
-
"description": "Number of suggestions to generate (1-5)",
|
|
1215
|
-
"name": "limit",
|
|
1216
|
-
"hasDynamicHelp": false,
|
|
1217
|
-
"multiple": false,
|
|
1218
|
-
"type": "option"
|
|
1219
|
-
},
|
|
1220
|
-
"context-length": {
|
|
1221
|
-
"description": "Number of recent messages to use as context (1-20)",
|
|
1222
|
-
"name": "context-length",
|
|
1223
|
-
"hasDynamicHelp": false,
|
|
1224
|
-
"multiple": false,
|
|
1225
|
-
"type": "option"
|
|
1226
|
-
},
|
|
1227
|
-
"style": {
|
|
1228
|
-
"description": "Response style",
|
|
1229
|
-
"name": "style",
|
|
1230
|
-
"hasDynamicHelp": false,
|
|
1231
|
-
"multiple": false,
|
|
1232
|
-
"options": [
|
|
1233
|
-
"professional",
|
|
1234
|
-
"friendly",
|
|
1235
|
-
"concise",
|
|
1236
|
-
"detailed",
|
|
1237
|
-
"empathetic"
|
|
1238
|
-
],
|
|
1239
|
-
"type": "option"
|
|
1240
1240
|
}
|
|
1241
1241
|
},
|
|
1242
1242
|
"hasDynamicHelp": false,
|
|
1243
1243
|
"hiddenAliases": [],
|
|
1244
|
-
"id": "
|
|
1244
|
+
"id": "auth:logout",
|
|
1245
1245
|
"pluginAlias": "@instantkom/cli",
|
|
1246
1246
|
"pluginName": "@instantkom/cli",
|
|
1247
1247
|
"pluginType": "core",
|
|
@@ -1251,8 +1251,8 @@
|
|
|
1251
1251
|
"relativePath": [
|
|
1252
1252
|
"dist",
|
|
1253
1253
|
"commands",
|
|
1254
|
-
"
|
|
1255
|
-
"
|
|
1254
|
+
"auth",
|
|
1255
|
+
"logout.js"
|
|
1256
1256
|
]
|
|
1257
1257
|
},
|
|
1258
1258
|
"autocomplete:script": {
|
|
@@ -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": "
|
|
2409
|
+
"status": {
|
|
2410
|
+
"description": "Filter by channel status",
|
|
2411
|
+
"name": "status",
|
|
2450
2412
|
"hasDynamicHelp": false,
|
|
2451
2413
|
"multiple": false,
|
|
2452
2414
|
"type": "option"
|
|
2453
2415
|
},
|
|
2454
|
-
"
|
|
2455
|
-
"description": "Filter by
|
|
2456
|
-
"name": "
|
|
2416
|
+
"gateway-type": {
|
|
2417
|
+
"description": "Filter by gateway type ID",
|
|
2418
|
+
"name": "gateway-type",
|
|
2457
2419
|
"hasDynamicHelp": false,
|
|
2458
2420
|
"multiple": false,
|
|
2459
2421
|
"type": "option"
|
|
2460
2422
|
},
|
|
2461
|
-
"
|
|
2462
|
-
"description": "
|
|
2463
|
-
"name": "
|
|
2464
|
-
"hasDynamicHelp": false,
|
|
2465
|
-
"multiple": false,
|
|
2466
|
-
"options": [
|
|
2467
|
-
"text",
|
|
2468
|
-
"image",
|
|
2469
|
-
"video",
|
|
2470
|
-
"audio",
|
|
2471
|
-
"document"
|
|
2472
|
-
],
|
|
2473
|
-
"type": "option"
|
|
2474
|
-
},
|
|
2475
|
-
"search": {
|
|
2476
|
-
"description": "Search broadcasts",
|
|
2477
|
-
"name": "search",
|
|
2423
|
+
"search": {
|
|
2424
|
+
"description": "Search by channel name",
|
|
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,11 +2516,39 @@
|
|
|
2579
2516
|
"hasDynamicHelp": false,
|
|
2580
2517
|
"multiple": false,
|
|
2581
2518
|
"type": "option"
|
|
2519
|
+
},
|
|
2520
|
+
"name": {
|
|
2521
|
+
"description": "Channel name",
|
|
2522
|
+
"name": "name",
|
|
2523
|
+
"hasDynamicHelp": false,
|
|
2524
|
+
"multiple": false,
|
|
2525
|
+
"type": "option"
|
|
2526
|
+
},
|
|
2527
|
+
"status": {
|
|
2528
|
+
"description": "Channel lifecycle status",
|
|
2529
|
+
"name": "status",
|
|
2530
|
+
"hasDynamicHelp": false,
|
|
2531
|
+
"multiple": false,
|
|
2532
|
+
"type": "option"
|
|
2533
|
+
},
|
|
2534
|
+
"description": {
|
|
2535
|
+
"description": "Channel description",
|
|
2536
|
+
"name": "description",
|
|
2537
|
+
"hasDynamicHelp": false,
|
|
2538
|
+
"multiple": false,
|
|
2539
|
+
"type": "option"
|
|
2540
|
+
},
|
|
2541
|
+
"data": {
|
|
2542
|
+
"description": "Additional JSON object payload",
|
|
2543
|
+
"name": "data",
|
|
2544
|
+
"hasDynamicHelp": false,
|
|
2545
|
+
"multiple": false,
|
|
2546
|
+
"type": "option"
|
|
2582
2547
|
}
|
|
2583
2548
|
},
|
|
2584
2549
|
"hasDynamicHelp": false,
|
|
2585
2550
|
"hiddenAliases": [],
|
|
2586
|
-
"id": "
|
|
2551
|
+
"id": "channels:update",
|
|
2587
2552
|
"pluginAlias": "@instantkom/cli",
|
|
2588
2553
|
"pluginName": "@instantkom/cli",
|
|
2589
2554
|
"pluginType": "core",
|
|
@@ -2593,20 +2558,20 @@
|
|
|
2593
2558
|
"relativePath": [
|
|
2594
2559
|
"dist",
|
|
2595
2560
|
"commands",
|
|
2596
|
-
"
|
|
2597
|
-
"
|
|
2561
|
+
"channels",
|
|
2562
|
+
"update.js"
|
|
2598
2563
|
]
|
|
2599
2564
|
},
|
|
2600
|
-
"
|
|
2565
|
+
"chats:get": {
|
|
2601
2566
|
"aliases": [],
|
|
2602
2567
|
"args": {
|
|
2603
2568
|
"id": {
|
|
2604
|
-
"description": "
|
|
2569
|
+
"description": "chat ID",
|
|
2605
2570
|
"name": "id",
|
|
2606
2571
|
"required": true
|
|
2607
2572
|
}
|
|
2608
2573
|
},
|
|
2609
|
-
"description": "
|
|
2574
|
+
"description": "Get chat by ID",
|
|
2610
2575
|
"flags": {
|
|
2611
2576
|
"api-key": {
|
|
2612
2577
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2673,7 +2638,7 @@
|
|
|
2673
2638
|
},
|
|
2674
2639
|
"hasDynamicHelp": false,
|
|
2675
2640
|
"hiddenAliases": [],
|
|
2676
|
-
"id": "
|
|
2641
|
+
"id": "chats:get",
|
|
2677
2642
|
"pluginAlias": "@instantkom/cli",
|
|
2678
2643
|
"pluginName": "@instantkom/cli",
|
|
2679
2644
|
"pluginType": "core",
|
|
@@ -2683,20 +2648,14 @@
|
|
|
2683
2648
|
"relativePath": [
|
|
2684
2649
|
"dist",
|
|
2685
2650
|
"commands",
|
|
2686
|
-
"
|
|
2687
|
-
"
|
|
2651
|
+
"chats",
|
|
2652
|
+
"get.js"
|
|
2688
2653
|
]
|
|
2689
2654
|
},
|
|
2690
|
-
"
|
|
2655
|
+
"chats:list": {
|
|
2691
2656
|
"aliases": [],
|
|
2692
|
-
"args": {
|
|
2693
|
-
|
|
2694
|
-
"description": "Broadcast ID",
|
|
2695
|
-
"name": "id",
|
|
2696
|
-
"required": true
|
|
2697
|
-
}
|
|
2698
|
-
},
|
|
2699
|
-
"description": "Update a broadcast",
|
|
2657
|
+
"args": {},
|
|
2658
|
+
"description": "List chats",
|
|
2700
2659
|
"flags": {
|
|
2701
2660
|
"api-key": {
|
|
2702
2661
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2760,76 +2719,72 @@
|
|
|
2760
2719
|
"multiple": false,
|
|
2761
2720
|
"type": "option"
|
|
2762
2721
|
},
|
|
2763
|
-
"
|
|
2764
|
-
"description": "
|
|
2765
|
-
"name": "
|
|
2722
|
+
"page": {
|
|
2723
|
+
"description": "Page number",
|
|
2724
|
+
"name": "page",
|
|
2725
|
+
"default": 1,
|
|
2766
2726
|
"hasDynamicHelp": false,
|
|
2767
2727
|
"multiple": false,
|
|
2768
2728
|
"type": "option"
|
|
2769
2729
|
},
|
|
2770
|
-
"
|
|
2771
|
-
"description": "
|
|
2772
|
-
"name": "
|
|
2730
|
+
"limit": {
|
|
2731
|
+
"description": "Items per page",
|
|
2732
|
+
"name": "limit",
|
|
2733
|
+
"default": 20,
|
|
2773
2734
|
"hasDynamicHelp": false,
|
|
2774
2735
|
"multiple": false,
|
|
2775
2736
|
"type": "option"
|
|
2776
2737
|
},
|
|
2777
|
-
"
|
|
2778
|
-
"description": "
|
|
2779
|
-
"name": "
|
|
2738
|
+
"channel": {
|
|
2739
|
+
"description": "Filter by channel ID",
|
|
2740
|
+
"name": "channel",
|
|
2780
2741
|
"hasDynamicHelp": false,
|
|
2781
2742
|
"multiple": false,
|
|
2782
2743
|
"type": "option"
|
|
2783
2744
|
},
|
|
2784
|
-
"
|
|
2785
|
-
"description": "
|
|
2786
|
-
"name": "
|
|
2787
|
-
"allowNo": false,
|
|
2788
|
-
"type": "boolean"
|
|
2789
|
-
},
|
|
2790
|
-
"locked": {
|
|
2791
|
-
"description": "Mark as locked",
|
|
2792
|
-
"name": "locked",
|
|
2793
|
-
"allowNo": false,
|
|
2794
|
-
"type": "boolean"
|
|
2795
|
-
},
|
|
2796
|
-
"test": {
|
|
2797
|
-
"description": "Mark as test broadcast",
|
|
2798
|
-
"name": "test",
|
|
2799
|
-
"allowNo": false,
|
|
2800
|
-
"type": "boolean"
|
|
2801
|
-
},
|
|
2802
|
-
"template-id": {
|
|
2803
|
-
"description": "Template ID",
|
|
2804
|
-
"name": "template-id",
|
|
2745
|
+
"channels": {
|
|
2746
|
+
"description": "Comma-separated channel IDs",
|
|
2747
|
+
"name": "channels",
|
|
2805
2748
|
"hasDynamicHelp": false,
|
|
2806
2749
|
"multiple": false,
|
|
2807
2750
|
"type": "option"
|
|
2808
2751
|
},
|
|
2809
|
-
"
|
|
2810
|
-
"description": "
|
|
2811
|
-
"name": "
|
|
2812
|
-
"allowNo": false,
|
|
2813
|
-
"type": "boolean"
|
|
2814
|
-
},
|
|
2815
|
-
"header-footer": {
|
|
2816
|
-
"description": "Header/footer JSON array",
|
|
2817
|
-
"name": "header-footer",
|
|
2752
|
+
"search": {
|
|
2753
|
+
"description": "Search chats",
|
|
2754
|
+
"name": "search",
|
|
2818
2755
|
"hasDynamicHelp": false,
|
|
2819
2756
|
"multiple": false,
|
|
2820
2757
|
"type": "option"
|
|
2821
2758
|
},
|
|
2822
|
-
"
|
|
2823
|
-
"description": "
|
|
2824
|
-
"name": "
|
|
2759
|
+
"status": {
|
|
2760
|
+
"description": "Chat status",
|
|
2761
|
+
"name": "status",
|
|
2825
2762
|
"hasDynamicHelp": false,
|
|
2826
2763
|
"multiple": false,
|
|
2764
|
+
"options": [
|
|
2765
|
+
"all",
|
|
2766
|
+
"unread",
|
|
2767
|
+
"read",
|
|
2768
|
+
"archived"
|
|
2769
|
+
],
|
|
2827
2770
|
"type": "option"
|
|
2771
|
+
},
|
|
2772
|
+
"unread-only": {
|
|
2773
|
+
"description": "Only unread chats",
|
|
2774
|
+
"name": "unread-only",
|
|
2775
|
+
"allowNo": false,
|
|
2776
|
+
"type": "boolean"
|
|
2777
|
+
},
|
|
2778
|
+
"include-archived": {
|
|
2779
|
+
"description": "Include archived chats",
|
|
2780
|
+
"name": "include-archived",
|
|
2781
|
+
"allowNo": false,
|
|
2782
|
+
"type": "boolean"
|
|
2828
2783
|
}
|
|
2829
2784
|
},
|
|
2830
2785
|
"hasDynamicHelp": false,
|
|
2831
2786
|
"hiddenAliases": [],
|
|
2832
|
-
"id": "
|
|
2787
|
+
"id": "chats:list",
|
|
2833
2788
|
"pluginAlias": "@instantkom/cli",
|
|
2834
2789
|
"pluginName": "@instantkom/cli",
|
|
2835
2790
|
"pluginType": "core",
|
|
@@ -2839,20 +2794,20 @@
|
|
|
2839
2794
|
"relativePath": [
|
|
2840
2795
|
"dist",
|
|
2841
2796
|
"commands",
|
|
2842
|
-
"
|
|
2843
|
-
"
|
|
2797
|
+
"chats",
|
|
2798
|
+
"list.js"
|
|
2844
2799
|
]
|
|
2845
2800
|
},
|
|
2846
|
-
"chats:
|
|
2801
|
+
"chats:reply": {
|
|
2847
2802
|
"aliases": [],
|
|
2848
2803
|
"args": {
|
|
2849
2804
|
"id": {
|
|
2850
|
-
"description": "
|
|
2805
|
+
"description": "Chat ID",
|
|
2851
2806
|
"name": "id",
|
|
2852
2807
|
"required": true
|
|
2853
2808
|
}
|
|
2854
2809
|
},
|
|
2855
|
-
"description": "
|
|
2810
|
+
"description": "Reply in a chat",
|
|
2856
2811
|
"flags": {
|
|
2857
2812
|
"api-key": {
|
|
2858
2813
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2915,11 +2870,19 @@
|
|
|
2915
2870
|
"hasDynamicHelp": false,
|
|
2916
2871
|
"multiple": false,
|
|
2917
2872
|
"type": "option"
|
|
2873
|
+
},
|
|
2874
|
+
"text": {
|
|
2875
|
+
"description": "Reply text",
|
|
2876
|
+
"name": "text",
|
|
2877
|
+
"required": true,
|
|
2878
|
+
"hasDynamicHelp": false,
|
|
2879
|
+
"multiple": false,
|
|
2880
|
+
"type": "option"
|
|
2918
2881
|
}
|
|
2919
2882
|
},
|
|
2920
2883
|
"hasDynamicHelp": false,
|
|
2921
2884
|
"hiddenAliases": [],
|
|
2922
|
-
"id": "chats:
|
|
2885
|
+
"id": "chats:reply",
|
|
2923
2886
|
"pluginAlias": "@instantkom/cli",
|
|
2924
2887
|
"pluginName": "@instantkom/cli",
|
|
2925
2888
|
"pluginType": "core",
|
|
@@ -2930,13 +2893,19 @@
|
|
|
2930
2893
|
"dist",
|
|
2931
2894
|
"commands",
|
|
2932
2895
|
"chats",
|
|
2933
|
-
"
|
|
2896
|
+
"reply.js"
|
|
2934
2897
|
]
|
|
2935
2898
|
},
|
|
2936
|
-
"
|
|
2899
|
+
"config:get": {
|
|
2937
2900
|
"aliases": [],
|
|
2938
|
-
"args": {
|
|
2939
|
-
|
|
2901
|
+
"args": {
|
|
2902
|
+
"key": {
|
|
2903
|
+
"description": "Configuration key to retrieve",
|
|
2904
|
+
"name": "key",
|
|
2905
|
+
"required": true
|
|
2906
|
+
}
|
|
2907
|
+
},
|
|
2908
|
+
"description": "Get a configuration value for the current profile",
|
|
2940
2909
|
"flags": {
|
|
2941
2910
|
"api-key": {
|
|
2942
2911
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2999,73 +2968,106 @@
|
|
|
2999
2968
|
"hasDynamicHelp": false,
|
|
3000
2969
|
"multiple": false,
|
|
3001
2970
|
"type": "option"
|
|
2971
|
+
}
|
|
2972
|
+
},
|
|
2973
|
+
"hasDynamicHelp": false,
|
|
2974
|
+
"hiddenAliases": [],
|
|
2975
|
+
"id": "config:get",
|
|
2976
|
+
"pluginAlias": "@instantkom/cli",
|
|
2977
|
+
"pluginName": "@instantkom/cli",
|
|
2978
|
+
"pluginType": "core",
|
|
2979
|
+
"strict": true,
|
|
2980
|
+
"enableJsonFlag": false,
|
|
2981
|
+
"isESM": true,
|
|
2982
|
+
"relativePath": [
|
|
2983
|
+
"dist",
|
|
2984
|
+
"commands",
|
|
2985
|
+
"config",
|
|
2986
|
+
"get.js"
|
|
2987
|
+
]
|
|
2988
|
+
},
|
|
2989
|
+
"config:set": {
|
|
2990
|
+
"aliases": [],
|
|
2991
|
+
"args": {
|
|
2992
|
+
"key": {
|
|
2993
|
+
"description": "Configuration key to set",
|
|
2994
|
+
"name": "key",
|
|
2995
|
+
"required": true
|
|
3002
2996
|
},
|
|
3003
|
-
"
|
|
3004
|
-
"description": "
|
|
3005
|
-
"name": "
|
|
3006
|
-
"
|
|
2997
|
+
"value": {
|
|
2998
|
+
"description": "Value to assign",
|
|
2999
|
+
"name": "value",
|
|
3000
|
+
"required": true
|
|
3001
|
+
}
|
|
3002
|
+
},
|
|
3003
|
+
"description": "Set a configuration value for the current profile",
|
|
3004
|
+
"flags": {
|
|
3005
|
+
"api-key": {
|
|
3006
|
+
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
3007
|
+
"env": "IKM_API_KEY",
|
|
3008
|
+
"helpGroup": "GLOBAL",
|
|
3009
|
+
"name": "api-key",
|
|
3007
3010
|
"hasDynamicHelp": false,
|
|
3008
3011
|
"multiple": false,
|
|
3009
3012
|
"type": "option"
|
|
3010
3013
|
},
|
|
3011
|
-
"
|
|
3012
|
-
"description": "
|
|
3013
|
-
"
|
|
3014
|
-
"
|
|
3014
|
+
"format": {
|
|
3015
|
+
"description": "Output format: text, json, yaml, or table",
|
|
3016
|
+
"helpGroup": "GLOBAL",
|
|
3017
|
+
"name": "format",
|
|
3018
|
+
"default": "text",
|
|
3015
3019
|
"hasDynamicHelp": false,
|
|
3016
3020
|
"multiple": false,
|
|
3021
|
+
"options": [
|
|
3022
|
+
"text",
|
|
3023
|
+
"json",
|
|
3024
|
+
"yaml",
|
|
3025
|
+
"table"
|
|
3026
|
+
],
|
|
3017
3027
|
"type": "option"
|
|
3018
3028
|
},
|
|
3019
|
-
"
|
|
3020
|
-
"description": "
|
|
3021
|
-
"
|
|
3022
|
-
"
|
|
3023
|
-
"
|
|
3024
|
-
"type": "
|
|
3029
|
+
"json": {
|
|
3030
|
+
"description": "Output in JSON format (alias for --format=json)",
|
|
3031
|
+
"helpGroup": "GLOBAL",
|
|
3032
|
+
"name": "json",
|
|
3033
|
+
"allowNo": false,
|
|
3034
|
+
"type": "boolean"
|
|
3025
3035
|
},
|
|
3026
|
-
"
|
|
3027
|
-
"description": "
|
|
3028
|
-
"
|
|
3029
|
-
"
|
|
3030
|
-
"
|
|
3031
|
-
"type": "
|
|
3036
|
+
"quiet": {
|
|
3037
|
+
"description": "Suppress all output except errors",
|
|
3038
|
+
"helpGroup": "GLOBAL",
|
|
3039
|
+
"name": "quiet",
|
|
3040
|
+
"allowNo": false,
|
|
3041
|
+
"type": "boolean"
|
|
3032
3042
|
},
|
|
3033
|
-
"
|
|
3034
|
-
"description": "
|
|
3035
|
-
"
|
|
3043
|
+
"no-color": {
|
|
3044
|
+
"description": "Disable color output",
|
|
3045
|
+
"helpGroup": "GLOBAL",
|
|
3046
|
+
"name": "no-color",
|
|
3047
|
+
"allowNo": false,
|
|
3048
|
+
"type": "boolean"
|
|
3049
|
+
},
|
|
3050
|
+
"profile": {
|
|
3051
|
+
"description": "Named configuration profile to use",
|
|
3052
|
+
"helpGroup": "GLOBAL",
|
|
3053
|
+
"name": "profile",
|
|
3054
|
+
"default": "default",
|
|
3036
3055
|
"hasDynamicHelp": false,
|
|
3037
3056
|
"multiple": false,
|
|
3038
3057
|
"type": "option"
|
|
3039
3058
|
},
|
|
3040
|
-
"
|
|
3041
|
-
"description": "
|
|
3042
|
-
"
|
|
3059
|
+
"api-url": {
|
|
3060
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
3061
|
+
"helpGroup": "GLOBAL",
|
|
3062
|
+
"name": "api-url",
|
|
3043
3063
|
"hasDynamicHelp": false,
|
|
3044
3064
|
"multiple": false,
|
|
3045
|
-
"options": [
|
|
3046
|
-
"all",
|
|
3047
|
-
"unread",
|
|
3048
|
-
"read",
|
|
3049
|
-
"archived"
|
|
3050
|
-
],
|
|
3051
3065
|
"type": "option"
|
|
3052
|
-
},
|
|
3053
|
-
"unread-only": {
|
|
3054
|
-
"description": "Only unread chats",
|
|
3055
|
-
"name": "unread-only",
|
|
3056
|
-
"allowNo": false,
|
|
3057
|
-
"type": "boolean"
|
|
3058
|
-
},
|
|
3059
|
-
"include-archived": {
|
|
3060
|
-
"description": "Include archived chats",
|
|
3061
|
-
"name": "include-archived",
|
|
3062
|
-
"allowNo": false,
|
|
3063
|
-
"type": "boolean"
|
|
3064
3066
|
}
|
|
3065
3067
|
},
|
|
3066
3068
|
"hasDynamicHelp": false,
|
|
3067
3069
|
"hiddenAliases": [],
|
|
3068
|
-
"id": "
|
|
3070
|
+
"id": "config:set",
|
|
3069
3071
|
"pluginAlias": "@instantkom/cli",
|
|
3070
3072
|
"pluginName": "@instantkom/cli",
|
|
3071
3073
|
"pluginType": "core",
|
|
@@ -3075,20 +3077,20 @@
|
|
|
3075
3077
|
"relativePath": [
|
|
3076
3078
|
"dist",
|
|
3077
3079
|
"commands",
|
|
3078
|
-
"
|
|
3079
|
-
"
|
|
3080
|
+
"config",
|
|
3081
|
+
"set.js"
|
|
3080
3082
|
]
|
|
3081
3083
|
},
|
|
3082
|
-
"
|
|
3084
|
+
"config:unset": {
|
|
3083
3085
|
"aliases": [],
|
|
3084
3086
|
"args": {
|
|
3085
|
-
"
|
|
3086
|
-
"description": "
|
|
3087
|
-
"name": "
|
|
3087
|
+
"key": {
|
|
3088
|
+
"description": "Configuration key to remove",
|
|
3089
|
+
"name": "key",
|
|
3088
3090
|
"required": true
|
|
3089
3091
|
}
|
|
3090
3092
|
},
|
|
3091
|
-
"description": "
|
|
3093
|
+
"description": "Remove a configuration key from the current profile",
|
|
3092
3094
|
"flags": {
|
|
3093
3095
|
"api-key": {
|
|
3094
3096
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3151,19 +3153,11 @@
|
|
|
3151
3153
|
"hasDynamicHelp": false,
|
|
3152
3154
|
"multiple": false,
|
|
3153
3155
|
"type": "option"
|
|
3154
|
-
},
|
|
3155
|
-
"text": {
|
|
3156
|
-
"description": "Reply text",
|
|
3157
|
-
"name": "text",
|
|
3158
|
-
"required": true,
|
|
3159
|
-
"hasDynamicHelp": false,
|
|
3160
|
-
"multiple": false,
|
|
3161
|
-
"type": "option"
|
|
3162
3156
|
}
|
|
3163
3157
|
},
|
|
3164
3158
|
"hasDynamicHelp": false,
|
|
3165
3159
|
"hiddenAliases": [],
|
|
3166
|
-
"id": "
|
|
3160
|
+
"id": "config:unset",
|
|
3167
3161
|
"pluginAlias": "@instantkom/cli",
|
|
3168
3162
|
"pluginName": "@instantkom/cli",
|
|
3169
3163
|
"pluginType": "core",
|
|
@@ -3173,14 +3167,14 @@
|
|
|
3173
3167
|
"relativePath": [
|
|
3174
3168
|
"dist",
|
|
3175
3169
|
"commands",
|
|
3176
|
-
"
|
|
3177
|
-
"
|
|
3170
|
+
"config",
|
|
3171
|
+
"unset.js"
|
|
3178
3172
|
]
|
|
3179
3173
|
},
|
|
3180
|
-
"
|
|
3174
|
+
"broadcast:create": {
|
|
3181
3175
|
"aliases": [],
|
|
3182
3176
|
"args": {},
|
|
3183
|
-
"description": "Create a
|
|
3177
|
+
"description": "Create a broadcast for channels or segments",
|
|
3184
3178
|
"flags": {
|
|
3185
3179
|
"api-key": {
|
|
3186
3180
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3244,47 +3238,92 @@
|
|
|
3244
3238
|
"multiple": false,
|
|
3245
3239
|
"type": "option"
|
|
3246
3240
|
},
|
|
3247
|
-
"
|
|
3248
|
-
"description": "Channel
|
|
3249
|
-
"name": "
|
|
3250
|
-
"required": true,
|
|
3241
|
+
"channel": {
|
|
3242
|
+
"description": "Channel ID target",
|
|
3243
|
+
"name": "channel",
|
|
3251
3244
|
"hasDynamicHelp": false,
|
|
3252
3245
|
"multiple": false,
|
|
3253
3246
|
"type": "option"
|
|
3254
3247
|
},
|
|
3255
|
-
"
|
|
3256
|
-
"description": "
|
|
3257
|
-
"name": "
|
|
3248
|
+
"segment": {
|
|
3249
|
+
"description": "Segment ID within --channel",
|
|
3250
|
+
"name": "segment",
|
|
3251
|
+
"hasDynamicHelp": false,
|
|
3252
|
+
"multiple": false,
|
|
3253
|
+
"type": "option"
|
|
3254
|
+
},
|
|
3255
|
+
"target": {
|
|
3256
|
+
"description": "Target as channelId or channelId:segmentId; may be repeated",
|
|
3257
|
+
"name": "target",
|
|
3258
|
+
"hasDynamicHelp": false,
|
|
3259
|
+
"multiple": true,
|
|
3260
|
+
"type": "option"
|
|
3261
|
+
},
|
|
3262
|
+
"text": {
|
|
3263
|
+
"description": "Broadcast message text",
|
|
3264
|
+
"name": "text",
|
|
3258
3265
|
"required": true,
|
|
3259
3266
|
"hasDynamicHelp": false,
|
|
3260
3267
|
"multiple": false,
|
|
3261
3268
|
"type": "option"
|
|
3262
3269
|
},
|
|
3263
|
-
"
|
|
3264
|
-
"description": "
|
|
3265
|
-
"name": "
|
|
3270
|
+
"send-at": {
|
|
3271
|
+
"description": "Schedule send for an ISO-8601 date-time",
|
|
3272
|
+
"name": "send-at",
|
|
3266
3273
|
"hasDynamicHelp": false,
|
|
3267
3274
|
"multiple": false,
|
|
3268
3275
|
"type": "option"
|
|
3269
3276
|
},
|
|
3270
|
-
"
|
|
3271
|
-
"description": "
|
|
3272
|
-
"name": "
|
|
3277
|
+
"dry-run": {
|
|
3278
|
+
"description": "Validate and print the broadcast payload without mutating API calls",
|
|
3279
|
+
"name": "dry-run",
|
|
3280
|
+
"allowNo": false,
|
|
3281
|
+
"type": "boolean"
|
|
3282
|
+
},
|
|
3283
|
+
"idempotency-key": {
|
|
3284
|
+
"description": "Idempotency key forwarded as Idempotency-Key",
|
|
3285
|
+
"name": "idempotency-key",
|
|
3273
3286
|
"hasDynamicHelp": false,
|
|
3274
3287
|
"multiple": false,
|
|
3275
3288
|
"type": "option"
|
|
3276
3289
|
},
|
|
3277
|
-
"
|
|
3278
|
-
"description": "
|
|
3279
|
-
"name": "
|
|
3290
|
+
"media": {
|
|
3291
|
+
"description": "Media file path to upload",
|
|
3292
|
+
"name": "media",
|
|
3293
|
+
"hasDynamicHelp": false,
|
|
3294
|
+
"multiple": true,
|
|
3295
|
+
"type": "option"
|
|
3296
|
+
},
|
|
3297
|
+
"template-id": {
|
|
3298
|
+
"description": "WhatsApp template ID",
|
|
3299
|
+
"name": "template-id",
|
|
3280
3300
|
"hasDynamicHelp": false,
|
|
3281
3301
|
"multiple": false,
|
|
3282
3302
|
"type": "option"
|
|
3303
|
+
},
|
|
3304
|
+
"send-status": {
|
|
3305
|
+
"description": "Initial broadcast send status",
|
|
3306
|
+
"name": "send-status",
|
|
3307
|
+
"default": "draft",
|
|
3308
|
+
"hasDynamicHelp": false,
|
|
3309
|
+
"multiple": false,
|
|
3310
|
+
"options": [
|
|
3311
|
+
"draft",
|
|
3312
|
+
"scheduled",
|
|
3313
|
+
"sending"
|
|
3314
|
+
],
|
|
3315
|
+
"type": "option"
|
|
3316
|
+
},
|
|
3317
|
+
"auto-approve": {
|
|
3318
|
+
"description": "Auto-approve broadcast when allowed by API permissions",
|
|
3319
|
+
"name": "auto-approve",
|
|
3320
|
+
"allowNo": false,
|
|
3321
|
+
"type": "boolean"
|
|
3283
3322
|
}
|
|
3284
3323
|
},
|
|
3285
3324
|
"hasDynamicHelp": false,
|
|
3286
3325
|
"hiddenAliases": [],
|
|
3287
|
-
"id": "
|
|
3326
|
+
"id": "broadcast:create",
|
|
3288
3327
|
"pluginAlias": "@instantkom/cli",
|
|
3289
3328
|
"pluginName": "@instantkom/cli",
|
|
3290
3329
|
"pluginType": "core",
|
|
@@ -3294,20 +3333,20 @@
|
|
|
3294
3333
|
"relativePath": [
|
|
3295
3334
|
"dist",
|
|
3296
3335
|
"commands",
|
|
3297
|
-
"
|
|
3336
|
+
"broadcast",
|
|
3298
3337
|
"create.js"
|
|
3299
3338
|
]
|
|
3300
3339
|
},
|
|
3301
|
-
"
|
|
3340
|
+
"broadcast:delete": {
|
|
3302
3341
|
"aliases": [],
|
|
3303
3342
|
"args": {
|
|
3304
3343
|
"id": {
|
|
3305
|
-
"description": "
|
|
3344
|
+
"description": "broadcast ID",
|
|
3306
3345
|
"name": "id",
|
|
3307
3346
|
"required": true
|
|
3308
3347
|
}
|
|
3309
3348
|
},
|
|
3310
|
-
"description": "
|
|
3349
|
+
"description": "Delete broadcast",
|
|
3311
3350
|
"flags": {
|
|
3312
3351
|
"api-key": {
|
|
3313
3352
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3374,7 +3413,7 @@
|
|
|
3374
3413
|
},
|
|
3375
3414
|
"hasDynamicHelp": false,
|
|
3376
3415
|
"hiddenAliases": [],
|
|
3377
|
-
"id": "
|
|
3416
|
+
"id": "broadcast:delete",
|
|
3378
3417
|
"pluginAlias": "@instantkom/cli",
|
|
3379
3418
|
"pluginName": "@instantkom/cli",
|
|
3380
3419
|
"pluginType": "core",
|
|
@@ -3384,20 +3423,20 @@
|
|
|
3384
3423
|
"relativePath": [
|
|
3385
3424
|
"dist",
|
|
3386
3425
|
"commands",
|
|
3387
|
-
"
|
|
3388
|
-
"
|
|
3426
|
+
"broadcast",
|
|
3427
|
+
"delete.js"
|
|
3389
3428
|
]
|
|
3390
3429
|
},
|
|
3391
|
-
"
|
|
3430
|
+
"broadcast:get": {
|
|
3392
3431
|
"aliases": [],
|
|
3393
3432
|
"args": {
|
|
3394
3433
|
"id": {
|
|
3395
|
-
"description": "
|
|
3434
|
+
"description": "broadcast ID",
|
|
3396
3435
|
"name": "id",
|
|
3397
|
-
"required":
|
|
3436
|
+
"required": true
|
|
3398
3437
|
}
|
|
3399
3438
|
},
|
|
3400
|
-
"description": "Get
|
|
3439
|
+
"description": "Get broadcast by ID",
|
|
3401
3440
|
"flags": {
|
|
3402
3441
|
"api-key": {
|
|
3403
3442
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3460,18 +3499,11 @@
|
|
|
3460
3499
|
"hasDynamicHelp": false,
|
|
3461
3500
|
"multiple": false,
|
|
3462
3501
|
"type": "option"
|
|
3463
|
-
},
|
|
3464
|
-
"period": {
|
|
3465
|
-
"description": "KPI period",
|
|
3466
|
-
"name": "period",
|
|
3467
|
-
"hasDynamicHelp": false,
|
|
3468
|
-
"multiple": false,
|
|
3469
|
-
"type": "option"
|
|
3470
3502
|
}
|
|
3471
3503
|
},
|
|
3472
3504
|
"hasDynamicHelp": false,
|
|
3473
3505
|
"hiddenAliases": [],
|
|
3474
|
-
"id": "
|
|
3506
|
+
"id": "broadcast:get",
|
|
3475
3507
|
"pluginAlias": "@instantkom/cli",
|
|
3476
3508
|
"pluginName": "@instantkom/cli",
|
|
3477
3509
|
"pluginType": "core",
|
|
@@ -3481,14 +3513,14 @@
|
|
|
3481
3513
|
"relativePath": [
|
|
3482
3514
|
"dist",
|
|
3483
3515
|
"commands",
|
|
3484
|
-
"
|
|
3485
|
-
"
|
|
3516
|
+
"broadcast",
|
|
3517
|
+
"get.js"
|
|
3486
3518
|
]
|
|
3487
3519
|
},
|
|
3488
|
-
"
|
|
3520
|
+
"broadcast:list": {
|
|
3489
3521
|
"aliases": [],
|
|
3490
3522
|
"args": {},
|
|
3491
|
-
"description": "List
|
|
3523
|
+
"description": "List broadcasts",
|
|
3492
3524
|
"flags": {
|
|
3493
3525
|
"api-key": {
|
|
3494
3526
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3568,31 +3600,56 @@
|
|
|
3568
3600
|
"multiple": false,
|
|
3569
3601
|
"type": "option"
|
|
3570
3602
|
},
|
|
3571
|
-
"
|
|
3572
|
-
"description": "Filter by channel
|
|
3573
|
-
"name": "
|
|
3603
|
+
"channel": {
|
|
3604
|
+
"description": "Filter by channel ID",
|
|
3605
|
+
"name": "channel",
|
|
3574
3606
|
"hasDynamicHelp": false,
|
|
3575
3607
|
"multiple": false,
|
|
3576
3608
|
"type": "option"
|
|
3577
3609
|
},
|
|
3578
|
-
"
|
|
3579
|
-
"description": "Filter by
|
|
3580
|
-
"name": "
|
|
3610
|
+
"send-status": {
|
|
3611
|
+
"description": "Filter by send status",
|
|
3612
|
+
"name": "send-status",
|
|
3613
|
+
"hasDynamicHelp": false,
|
|
3614
|
+
"multiple": false,
|
|
3615
|
+
"type": "option"
|
|
3616
|
+
},
|
|
3617
|
+
"type": {
|
|
3618
|
+
"description": "Broadcast type",
|
|
3619
|
+
"name": "type",
|
|
3581
3620
|
"hasDynamicHelp": false,
|
|
3582
3621
|
"multiple": false,
|
|
3622
|
+
"options": [
|
|
3623
|
+
"text",
|
|
3624
|
+
"image",
|
|
3625
|
+
"video",
|
|
3626
|
+
"audio",
|
|
3627
|
+
"document"
|
|
3628
|
+
],
|
|
3583
3629
|
"type": "option"
|
|
3584
3630
|
},
|
|
3585
3631
|
"search": {
|
|
3586
|
-
"description": "Search
|
|
3632
|
+
"description": "Search broadcasts",
|
|
3587
3633
|
"name": "search",
|
|
3588
3634
|
"hasDynamicHelp": false,
|
|
3589
3635
|
"multiple": false,
|
|
3590
3636
|
"type": "option"
|
|
3637
|
+
},
|
|
3638
|
+
"test": {
|
|
3639
|
+
"description": "Filter test flag: 0 or 1",
|
|
3640
|
+
"name": "test",
|
|
3641
|
+
"hasDynamicHelp": false,
|
|
3642
|
+
"multiple": false,
|
|
3643
|
+
"options": [
|
|
3644
|
+
"0",
|
|
3645
|
+
"1"
|
|
3646
|
+
],
|
|
3647
|
+
"type": "option"
|
|
3591
3648
|
}
|
|
3592
3649
|
},
|
|
3593
3650
|
"hasDynamicHelp": false,
|
|
3594
3651
|
"hiddenAliases": [],
|
|
3595
|
-
"id": "
|
|
3652
|
+
"id": "broadcast:list",
|
|
3596
3653
|
"pluginAlias": "@instantkom/cli",
|
|
3597
3654
|
"pluginName": "@instantkom/cli",
|
|
3598
3655
|
"pluginType": "core",
|
|
@@ -3602,20 +3659,20 @@
|
|
|
3602
3659
|
"relativePath": [
|
|
3603
3660
|
"dist",
|
|
3604
3661
|
"commands",
|
|
3605
|
-
"
|
|
3662
|
+
"broadcast",
|
|
3606
3663
|
"list.js"
|
|
3607
3664
|
]
|
|
3608
3665
|
},
|
|
3609
|
-
"
|
|
3666
|
+
"broadcast:send": {
|
|
3610
3667
|
"aliases": [],
|
|
3611
3668
|
"args": {
|
|
3612
3669
|
"id": {
|
|
3613
|
-
"description": "
|
|
3670
|
+
"description": "Broadcast ID",
|
|
3614
3671
|
"name": "id",
|
|
3615
3672
|
"required": true
|
|
3616
3673
|
}
|
|
3617
3674
|
},
|
|
3618
|
-
"description": "
|
|
3675
|
+
"description": "Send a broadcast immediately",
|
|
3619
3676
|
"flags": {
|
|
3620
3677
|
"api-key": {
|
|
3621
3678
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3678,39 +3735,11 @@
|
|
|
3678
3735
|
"hasDynamicHelp": false,
|
|
3679
3736
|
"multiple": false,
|
|
3680
3737
|
"type": "option"
|
|
3681
|
-
},
|
|
3682
|
-
"name": {
|
|
3683
|
-
"description": "Channel name",
|
|
3684
|
-
"name": "name",
|
|
3685
|
-
"hasDynamicHelp": false,
|
|
3686
|
-
"multiple": false,
|
|
3687
|
-
"type": "option"
|
|
3688
|
-
},
|
|
3689
|
-
"status": {
|
|
3690
|
-
"description": "Channel lifecycle status",
|
|
3691
|
-
"name": "status",
|
|
3692
|
-
"hasDynamicHelp": false,
|
|
3693
|
-
"multiple": false,
|
|
3694
|
-
"type": "option"
|
|
3695
|
-
},
|
|
3696
|
-
"description": {
|
|
3697
|
-
"description": "Channel description",
|
|
3698
|
-
"name": "description",
|
|
3699
|
-
"hasDynamicHelp": false,
|
|
3700
|
-
"multiple": false,
|
|
3701
|
-
"type": "option"
|
|
3702
|
-
},
|
|
3703
|
-
"data": {
|
|
3704
|
-
"description": "Additional JSON object payload",
|
|
3705
|
-
"name": "data",
|
|
3706
|
-
"hasDynamicHelp": false,
|
|
3707
|
-
"multiple": false,
|
|
3708
|
-
"type": "option"
|
|
3709
3738
|
}
|
|
3710
3739
|
},
|
|
3711
3740
|
"hasDynamicHelp": false,
|
|
3712
3741
|
"hiddenAliases": [],
|
|
3713
|
-
"id": "
|
|
3742
|
+
"id": "broadcast:send",
|
|
3714
3743
|
"pluginAlias": "@instantkom/cli",
|
|
3715
3744
|
"pluginName": "@instantkom/cli",
|
|
3716
3745
|
"pluginType": "core",
|
|
@@ -3720,20 +3749,20 @@
|
|
|
3720
3749
|
"relativePath": [
|
|
3721
3750
|
"dist",
|
|
3722
3751
|
"commands",
|
|
3723
|
-
"
|
|
3724
|
-
"
|
|
3752
|
+
"broadcast",
|
|
3753
|
+
"send.js"
|
|
3725
3754
|
]
|
|
3726
3755
|
},
|
|
3727
|
-
"
|
|
3756
|
+
"broadcast:status": {
|
|
3728
3757
|
"aliases": [],
|
|
3729
3758
|
"args": {
|
|
3730
|
-
"
|
|
3731
|
-
"description": "
|
|
3732
|
-
"name": "
|
|
3759
|
+
"id": {
|
|
3760
|
+
"description": "Broadcast ID",
|
|
3761
|
+
"name": "id",
|
|
3733
3762
|
"required": true
|
|
3734
3763
|
}
|
|
3735
3764
|
},
|
|
3736
|
-
"description": "
|
|
3765
|
+
"description": "Show broadcast send status",
|
|
3737
3766
|
"flags": {
|
|
3738
3767
|
"api-key": {
|
|
3739
3768
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3800,7 +3829,7 @@
|
|
|
3800
3829
|
},
|
|
3801
3830
|
"hasDynamicHelp": false,
|
|
3802
3831
|
"hiddenAliases": [],
|
|
3803
|
-
"id": "
|
|
3832
|
+
"id": "broadcast:status",
|
|
3804
3833
|
"pluginAlias": "@instantkom/cli",
|
|
3805
3834
|
"pluginName": "@instantkom/cli",
|
|
3806
3835
|
"pluginType": "core",
|
|
@@ -3810,25 +3839,20 @@
|
|
|
3810
3839
|
"relativePath": [
|
|
3811
3840
|
"dist",
|
|
3812
3841
|
"commands",
|
|
3813
|
-
"
|
|
3814
|
-
"
|
|
3842
|
+
"broadcast",
|
|
3843
|
+
"status.js"
|
|
3815
3844
|
]
|
|
3816
3845
|
},
|
|
3817
|
-
"
|
|
3846
|
+
"broadcast:update": {
|
|
3818
3847
|
"aliases": [],
|
|
3819
3848
|
"args": {
|
|
3820
|
-
"
|
|
3821
|
-
"description": "
|
|
3822
|
-
"name": "
|
|
3823
|
-
"required": true
|
|
3824
|
-
},
|
|
3825
|
-
"value": {
|
|
3826
|
-
"description": "Value to assign",
|
|
3827
|
-
"name": "value",
|
|
3849
|
+
"id": {
|
|
3850
|
+
"description": "Broadcast ID",
|
|
3851
|
+
"name": "id",
|
|
3828
3852
|
"required": true
|
|
3829
3853
|
}
|
|
3830
3854
|
},
|
|
3831
|
-
"description": "
|
|
3855
|
+
"description": "Update a broadcast",
|
|
3832
3856
|
"flags": {
|
|
3833
3857
|
"api-key": {
|
|
3834
3858
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3891,93 +3915,69 @@
|
|
|
3891
3915
|
"hasDynamicHelp": false,
|
|
3892
3916
|
"multiple": false,
|
|
3893
3917
|
"type": "option"
|
|
3894
|
-
}
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
"id": "config:set",
|
|
3899
|
-
"pluginAlias": "@instantkom/cli",
|
|
3900
|
-
"pluginName": "@instantkom/cli",
|
|
3901
|
-
"pluginType": "core",
|
|
3902
|
-
"strict": true,
|
|
3903
|
-
"enableJsonFlag": false,
|
|
3904
|
-
"isESM": true,
|
|
3905
|
-
"relativePath": [
|
|
3906
|
-
"dist",
|
|
3907
|
-
"commands",
|
|
3908
|
-
"config",
|
|
3909
|
-
"set.js"
|
|
3910
|
-
]
|
|
3911
|
-
},
|
|
3912
|
-
"config:unset": {
|
|
3913
|
-
"aliases": [],
|
|
3914
|
-
"args": {
|
|
3915
|
-
"key": {
|
|
3916
|
-
"description": "Configuration key to remove",
|
|
3917
|
-
"name": "key",
|
|
3918
|
-
"required": true
|
|
3919
|
-
}
|
|
3920
|
-
},
|
|
3921
|
-
"description": "Remove a configuration key from the current profile",
|
|
3922
|
-
"flags": {
|
|
3923
|
-
"api-key": {
|
|
3924
|
-
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
3925
|
-
"env": "IKM_API_KEY",
|
|
3926
|
-
"helpGroup": "GLOBAL",
|
|
3927
|
-
"name": "api-key",
|
|
3918
|
+
},
|
|
3919
|
+
"text": {
|
|
3920
|
+
"description": "Broadcast message text",
|
|
3921
|
+
"name": "text",
|
|
3928
3922
|
"hasDynamicHelp": false,
|
|
3929
3923
|
"multiple": false,
|
|
3930
3924
|
"type": "option"
|
|
3931
3925
|
},
|
|
3932
|
-
"
|
|
3933
|
-
"description": "
|
|
3934
|
-
"
|
|
3935
|
-
"name": "format",
|
|
3936
|
-
"default": "text",
|
|
3926
|
+
"send-status": {
|
|
3927
|
+
"description": "Send status",
|
|
3928
|
+
"name": "send-status",
|
|
3937
3929
|
"hasDynamicHelp": false,
|
|
3938
3930
|
"multiple": false,
|
|
3939
|
-
"options": [
|
|
3940
|
-
"text",
|
|
3941
|
-
"json",
|
|
3942
|
-
"yaml",
|
|
3943
|
-
"table"
|
|
3944
|
-
],
|
|
3945
3931
|
"type": "option"
|
|
3946
3932
|
},
|
|
3947
|
-
"
|
|
3948
|
-
"description": "
|
|
3949
|
-
"
|
|
3950
|
-
"
|
|
3933
|
+
"scheduled-at": {
|
|
3934
|
+
"description": "Unix timestamp for scheduled send",
|
|
3935
|
+
"name": "scheduled-at",
|
|
3936
|
+
"hasDynamicHelp": false,
|
|
3937
|
+
"multiple": false,
|
|
3938
|
+
"type": "option"
|
|
3939
|
+
},
|
|
3940
|
+
"approved": {
|
|
3941
|
+
"description": "Mark as approved",
|
|
3942
|
+
"name": "approved",
|
|
3951
3943
|
"allowNo": false,
|
|
3952
3944
|
"type": "boolean"
|
|
3953
3945
|
},
|
|
3954
|
-
"
|
|
3955
|
-
"description": "
|
|
3956
|
-
"
|
|
3957
|
-
"name": "quiet",
|
|
3946
|
+
"locked": {
|
|
3947
|
+
"description": "Mark as locked",
|
|
3948
|
+
"name": "locked",
|
|
3958
3949
|
"allowNo": false,
|
|
3959
3950
|
"type": "boolean"
|
|
3960
3951
|
},
|
|
3961
|
-
"
|
|
3962
|
-
"description": "
|
|
3963
|
-
"
|
|
3964
|
-
"name": "no-color",
|
|
3952
|
+
"test": {
|
|
3953
|
+
"description": "Mark as test broadcast",
|
|
3954
|
+
"name": "test",
|
|
3965
3955
|
"allowNo": false,
|
|
3966
3956
|
"type": "boolean"
|
|
3967
3957
|
},
|
|
3968
|
-
"
|
|
3969
|
-
"description": "
|
|
3970
|
-
"
|
|
3971
|
-
"
|
|
3972
|
-
"
|
|
3958
|
+
"template-id": {
|
|
3959
|
+
"description": "Template ID",
|
|
3960
|
+
"name": "template-id",
|
|
3961
|
+
"hasDynamicHelp": false,
|
|
3962
|
+
"multiple": false,
|
|
3963
|
+
"type": "option"
|
|
3964
|
+
},
|
|
3965
|
+
"remove-media": {
|
|
3966
|
+
"description": "Remove existing media",
|
|
3967
|
+
"name": "remove-media",
|
|
3968
|
+
"allowNo": false,
|
|
3969
|
+
"type": "boolean"
|
|
3970
|
+
},
|
|
3971
|
+
"header-footer": {
|
|
3972
|
+
"description": "Header/footer JSON array",
|
|
3973
|
+
"name": "header-footer",
|
|
3973
3974
|
"hasDynamicHelp": false,
|
|
3974
3975
|
"multiple": false,
|
|
3975
3976
|
"type": "option"
|
|
3976
3977
|
},
|
|
3977
|
-
"
|
|
3978
|
-
"description": "
|
|
3979
|
-
"
|
|
3980
|
-
"name": "api-url",
|
|
3978
|
+
"data": {
|
|
3979
|
+
"description": "Additional JSON object payload",
|
|
3980
|
+
"name": "data",
|
|
3981
3981
|
"hasDynamicHelp": false,
|
|
3982
3982
|
"multiple": false,
|
|
3983
3983
|
"type": "option"
|
|
@@ -3985,7 +3985,7 @@
|
|
|
3985
3985
|
},
|
|
3986
3986
|
"hasDynamicHelp": false,
|
|
3987
3987
|
"hiddenAliases": [],
|
|
3988
|
-
"id": "
|
|
3988
|
+
"id": "broadcast:update",
|
|
3989
3989
|
"pluginAlias": "@instantkom/cli",
|
|
3990
3990
|
"pluginName": "@instantkom/cli",
|
|
3991
3991
|
"pluginType": "core",
|
|
@@ -3995,8 +3995,8 @@
|
|
|
3995
3995
|
"relativePath": [
|
|
3996
3996
|
"dist",
|
|
3997
3997
|
"commands",
|
|
3998
|
-
"
|
|
3999
|
-
"
|
|
3998
|
+
"broadcast",
|
|
3999
|
+
"update.js"
|
|
4000
4000
|
]
|
|
4001
4001
|
},
|
|
4002
4002
|
"contacts:create": {
|
|
@@ -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,68 +10388,33 @@
|
|
|
10388
10388
|
"multiple": false,
|
|
10389
10389
|
"type": "option"
|
|
10390
10390
|
},
|
|
10391
|
-
"
|
|
10392
|
-
"description": "
|
|
10393
|
-
"name": "
|
|
10391
|
+
"event": {
|
|
10392
|
+
"description": "Webhook event to subscribe to",
|
|
10393
|
+
"name": "event",
|
|
10394
10394
|
"required": true,
|
|
10395
10395
|
"hasDynamicHelp": false,
|
|
10396
10396
|
"multiple": false,
|
|
10397
|
+
"options": [
|
|
10398
|
+
"new_contact",
|
|
10399
|
+
"new_message",
|
|
10400
|
+
"broadcast_sent",
|
|
10401
|
+
"contact_updated",
|
|
10402
|
+
"contact_opted_out"
|
|
10403
|
+
],
|
|
10397
10404
|
"type": "option"
|
|
10398
10405
|
},
|
|
10399
|
-
"
|
|
10400
|
-
"description": "
|
|
10401
|
-
"name": "
|
|
10406
|
+
"url": {
|
|
10407
|
+
"description": "HTTPS target URL that receives webhook POSTs",
|
|
10408
|
+
"name": "url",
|
|
10402
10409
|
"required": true,
|
|
10403
10410
|
"hasDynamicHelp": false,
|
|
10404
10411
|
"multiple": false,
|
|
10405
10412
|
"type": "option"
|
|
10406
|
-
},
|
|
10407
|
-
"recipient": {
|
|
10408
|
-
"description": "Existing recipient ID",
|
|
10409
|
-
"name": "recipient",
|
|
10410
|
-
"hasDynamicHelp": false,
|
|
10411
|
-
"multiple": false,
|
|
10412
|
-
"type": "option"
|
|
10413
|
-
},
|
|
10414
|
-
"email": {
|
|
10415
|
-
"description": "Customer email",
|
|
10416
|
-
"name": "email",
|
|
10417
|
-
"hasDynamicHelp": false,
|
|
10418
|
-
"multiple": false,
|
|
10419
|
-
"type": "option"
|
|
10420
|
-
},
|
|
10421
|
-
"name": {
|
|
10422
|
-
"description": "Customer name",
|
|
10423
|
-
"name": "name",
|
|
10424
|
-
"hasDynamicHelp": false,
|
|
10425
|
-
"multiple": false,
|
|
10426
|
-
"type": "option"
|
|
10427
|
-
},
|
|
10428
|
-
"priority": {
|
|
10429
|
-
"description": "Ticket priority",
|
|
10430
|
-
"name": "priority",
|
|
10431
|
-
"hasDynamicHelp": false,
|
|
10432
|
-
"multiple": false,
|
|
10433
|
-
"type": "option"
|
|
10434
|
-
},
|
|
10435
|
-
"source": {
|
|
10436
|
-
"description": "Ticket source",
|
|
10437
|
-
"name": "source",
|
|
10438
|
-
"hasDynamicHelp": false,
|
|
10439
|
-
"multiple": false,
|
|
10440
|
-
"type": "option"
|
|
10441
|
-
},
|
|
10442
|
-
"data": {
|
|
10443
|
-
"description": "Additional JSON object payload",
|
|
10444
|
-
"name": "data",
|
|
10445
|
-
"hasDynamicHelp": false,
|
|
10446
|
-
"multiple": false,
|
|
10447
|
-
"type": "option"
|
|
10448
10413
|
}
|
|
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": {
|
|
@@ -16352,5 +16352,5 @@
|
|
|
16352
16352
|
]
|
|
16353
16353
|
}
|
|
16354
16354
|
},
|
|
16355
|
-
"version": "3.
|
|
16355
|
+
"version": "3.144.0"
|
|
16356
16356
|
}
|