@instantkom/cli 3.131.0 → 3.133.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/README.md +1 -1
- package/dist/commands/tickets/reply.js +1 -1
- package/npm-shrinkwrap.json +1842 -4212
- package/oclif.manifest.json +1377 -1377
- package/package.json +12 -14
package/oclif.manifest.json
CHANGED
|
@@ -953,10 +953,44 @@
|
|
|
953
953
|
"update.js"
|
|
954
954
|
]
|
|
955
955
|
},
|
|
956
|
-
"
|
|
956
|
+
"autocomplete:script": {
|
|
957
|
+
"aliases": [],
|
|
958
|
+
"args": {
|
|
959
|
+
"shell": {
|
|
960
|
+
"description": "Shell type",
|
|
961
|
+
"name": "shell",
|
|
962
|
+
"options": [
|
|
963
|
+
"zsh",
|
|
964
|
+
"bash",
|
|
965
|
+
"fish",
|
|
966
|
+
"powershell"
|
|
967
|
+
],
|
|
968
|
+
"required": false
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
"description": "outputs autocomplete config script for shells",
|
|
972
|
+
"flags": {},
|
|
973
|
+
"hasDynamicHelp": false,
|
|
974
|
+
"hidden": true,
|
|
975
|
+
"hiddenAliases": [],
|
|
976
|
+
"id": "autocomplete:script",
|
|
977
|
+
"pluginAlias": "@instantkom/cli",
|
|
978
|
+
"pluginName": "@instantkom/cli",
|
|
979
|
+
"pluginType": "core",
|
|
980
|
+
"strict": true,
|
|
981
|
+
"enableJsonFlag": false,
|
|
982
|
+
"isESM": true,
|
|
983
|
+
"relativePath": [
|
|
984
|
+
"dist",
|
|
985
|
+
"commands",
|
|
986
|
+
"autocomplete",
|
|
987
|
+
"script.js"
|
|
988
|
+
]
|
|
989
|
+
},
|
|
990
|
+
"auth:login": {
|
|
957
991
|
"aliases": [],
|
|
958
992
|
"args": {},
|
|
959
|
-
"description": "
|
|
993
|
+
"description": "Authenticate with the instantKOM API via device authorization flow",
|
|
960
994
|
"flags": {
|
|
961
995
|
"api-key": {
|
|
962
996
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1020,80 +1054,24 @@
|
|
|
1020
1054
|
"multiple": false,
|
|
1021
1055
|
"type": "option"
|
|
1022
1056
|
},
|
|
1023
|
-
"
|
|
1024
|
-
"description": "
|
|
1025
|
-
"name": "
|
|
1026
|
-
"
|
|
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",
|
|
1057
|
+
"scope": {
|
|
1058
|
+
"description": "Requested token scope",
|
|
1059
|
+
"name": "scope",
|
|
1060
|
+
"default": "read",
|
|
1048
1061
|
"hasDynamicHelp": false,
|
|
1049
1062
|
"multiple": false,
|
|
1050
1063
|
"options": [
|
|
1051
|
-
"
|
|
1052
|
-
"
|
|
1053
|
-
"
|
|
1054
|
-
"
|
|
1055
|
-
"empathetic"
|
|
1064
|
+
"full",
|
|
1065
|
+
"send",
|
|
1066
|
+
"read",
|
|
1067
|
+
"admin"
|
|
1056
1068
|
],
|
|
1057
1069
|
"type": "option"
|
|
1058
1070
|
}
|
|
1059
1071
|
},
|
|
1060
1072
|
"hasDynamicHelp": false,
|
|
1061
1073
|
"hiddenAliases": [],
|
|
1062
|
-
"id": "
|
|
1063
|
-
"pluginAlias": "@instantkom/cli",
|
|
1064
|
-
"pluginName": "@instantkom/cli",
|
|
1065
|
-
"pluginType": "core",
|
|
1066
|
-
"strict": true,
|
|
1067
|
-
"enableJsonFlag": false,
|
|
1068
|
-
"isESM": true,
|
|
1069
|
-
"relativePath": [
|
|
1070
|
-
"dist",
|
|
1071
|
-
"commands",
|
|
1072
|
-
"ai",
|
|
1073
|
-
"reply.js"
|
|
1074
|
-
]
|
|
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",
|
|
1074
|
+
"id": "auth:login",
|
|
1097
1075
|
"pluginAlias": "@instantkom/cli",
|
|
1098
1076
|
"pluginName": "@instantkom/cli",
|
|
1099
1077
|
"pluginType": "core",
|
|
@@ -1103,14 +1081,14 @@
|
|
|
1103
1081
|
"relativePath": [
|
|
1104
1082
|
"dist",
|
|
1105
1083
|
"commands",
|
|
1106
|
-
"
|
|
1107
|
-
"
|
|
1084
|
+
"auth",
|
|
1085
|
+
"login.js"
|
|
1108
1086
|
]
|
|
1109
1087
|
},
|
|
1110
|
-
"auth:
|
|
1088
|
+
"auth:logout": {
|
|
1111
1089
|
"aliases": [],
|
|
1112
1090
|
"args": {},
|
|
1113
|
-
"description": "
|
|
1091
|
+
"description": "Remove the stored API token for the current profile",
|
|
1114
1092
|
"flags": {
|
|
1115
1093
|
"api-key": {
|
|
1116
1094
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1173,25 +1151,11 @@
|
|
|
1173
1151
|
"hasDynamicHelp": false,
|
|
1174
1152
|
"multiple": false,
|
|
1175
1153
|
"type": "option"
|
|
1176
|
-
},
|
|
1177
|
-
"scope": {
|
|
1178
|
-
"description": "Requested token scope",
|
|
1179
|
-
"name": "scope",
|
|
1180
|
-
"default": "read",
|
|
1181
|
-
"hasDynamicHelp": false,
|
|
1182
|
-
"multiple": false,
|
|
1183
|
-
"options": [
|
|
1184
|
-
"full",
|
|
1185
|
-
"send",
|
|
1186
|
-
"read",
|
|
1187
|
-
"admin"
|
|
1188
|
-
],
|
|
1189
|
-
"type": "option"
|
|
1190
1154
|
}
|
|
1191
1155
|
},
|
|
1192
1156
|
"hasDynamicHelp": false,
|
|
1193
1157
|
"hiddenAliases": [],
|
|
1194
|
-
"id": "auth:
|
|
1158
|
+
"id": "auth:logout",
|
|
1195
1159
|
"pluginAlias": "@instantkom/cli",
|
|
1196
1160
|
"pluginName": "@instantkom/cli",
|
|
1197
1161
|
"pluginType": "core",
|
|
@@ -1202,13 +1166,13 @@
|
|
|
1202
1166
|
"dist",
|
|
1203
1167
|
"commands",
|
|
1204
1168
|
"auth",
|
|
1205
|
-
"
|
|
1169
|
+
"logout.js"
|
|
1206
1170
|
]
|
|
1207
1171
|
},
|
|
1208
|
-
"
|
|
1172
|
+
"ai:reply": {
|
|
1209
1173
|
"aliases": [],
|
|
1210
1174
|
"args": {},
|
|
1211
|
-
"description": "
|
|
1175
|
+
"description": "Generate AI reply suggestions for a message",
|
|
1212
1176
|
"flags": {
|
|
1213
1177
|
"api-key": {
|
|
1214
1178
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1271,11 +1235,47 @@
|
|
|
1271
1235
|
"hasDynamicHelp": false,
|
|
1272
1236
|
"multiple": false,
|
|
1273
1237
|
"type": "option"
|
|
1238
|
+
},
|
|
1239
|
+
"message-id": {
|
|
1240
|
+
"description": "Message ID to use as smart-reply anchor",
|
|
1241
|
+
"name": "message-id",
|
|
1242
|
+
"required": true,
|
|
1243
|
+
"hasDynamicHelp": false,
|
|
1244
|
+
"multiple": false,
|
|
1245
|
+
"type": "option"
|
|
1246
|
+
},
|
|
1247
|
+
"limit": {
|
|
1248
|
+
"description": "Number of suggestions to generate (1-5)",
|
|
1249
|
+
"name": "limit",
|
|
1250
|
+
"hasDynamicHelp": false,
|
|
1251
|
+
"multiple": false,
|
|
1252
|
+
"type": "option"
|
|
1253
|
+
},
|
|
1254
|
+
"context-length": {
|
|
1255
|
+
"description": "Number of recent messages to use as context (1-20)",
|
|
1256
|
+
"name": "context-length",
|
|
1257
|
+
"hasDynamicHelp": false,
|
|
1258
|
+
"multiple": false,
|
|
1259
|
+
"type": "option"
|
|
1260
|
+
},
|
|
1261
|
+
"style": {
|
|
1262
|
+
"description": "Response style",
|
|
1263
|
+
"name": "style",
|
|
1264
|
+
"hasDynamicHelp": false,
|
|
1265
|
+
"multiple": false,
|
|
1266
|
+
"options": [
|
|
1267
|
+
"professional",
|
|
1268
|
+
"friendly",
|
|
1269
|
+
"concise",
|
|
1270
|
+
"detailed",
|
|
1271
|
+
"empathetic"
|
|
1272
|
+
],
|
|
1273
|
+
"type": "option"
|
|
1274
1274
|
}
|
|
1275
1275
|
},
|
|
1276
1276
|
"hasDynamicHelp": false,
|
|
1277
1277
|
"hiddenAliases": [],
|
|
1278
|
-
"id": "
|
|
1278
|
+
"id": "ai:reply",
|
|
1279
1279
|
"pluginAlias": "@instantkom/cli",
|
|
1280
1280
|
"pluginName": "@instantkom/cli",
|
|
1281
1281
|
"pluginType": "core",
|
|
@@ -1285,8 +1285,8 @@
|
|
|
1285
1285
|
"relativePath": [
|
|
1286
1286
|
"dist",
|
|
1287
1287
|
"commands",
|
|
1288
|
-
"
|
|
1289
|
-
"
|
|
1288
|
+
"ai",
|
|
1289
|
+
"reply.js"
|
|
1290
1290
|
]
|
|
1291
1291
|
},
|
|
1292
1292
|
"bots:create": {
|
|
@@ -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
|
-
"
|
|
2089
|
-
"multiple": false,
|
|
2090
|
-
"type": "option"
|
|
2091
|
-
},
|
|
2092
|
-
"segment": {
|
|
2093
|
-
"description": "Segment ID within --channel",
|
|
2094
|
-
"name": "segment",
|
|
2085
|
+
"name": {
|
|
2086
|
+
"description": "Channel name",
|
|
2087
|
+
"name": "name",
|
|
2088
|
+
"required": true,
|
|
2095
2089
|
"hasDynamicHelp": false,
|
|
2096
2090
|
"multiple": false,
|
|
2097
2091
|
"type": "option"
|
|
2098
2092
|
},
|
|
2099
|
-
"
|
|
2100
|
-
"description": "
|
|
2101
|
-
"name": "
|
|
2102
|
-
"hasDynamicHelp": false,
|
|
2103
|
-
"multiple": true,
|
|
2104
|
-
"type": "option"
|
|
2105
|
-
},
|
|
2106
|
-
"text": {
|
|
2107
|
-
"description": "Broadcast message text",
|
|
2108
|
-
"name": "text",
|
|
2093
|
+
"gateway-type": {
|
|
2094
|
+
"description": "Gateway type ID",
|
|
2095
|
+
"name": "gateway-type",
|
|
2109
2096
|
"required": true,
|
|
2110
2097
|
"hasDynamicHelp": false,
|
|
2111
2098
|
"multiple": false,
|
|
2112
2099
|
"type": "option"
|
|
2113
2100
|
},
|
|
2114
|
-
"
|
|
2115
|
-
"description": "
|
|
2116
|
-
"name": "
|
|
2101
|
+
"status": {
|
|
2102
|
+
"description": "Channel lifecycle status",
|
|
2103
|
+
"name": "status",
|
|
2117
2104
|
"hasDynamicHelp": false,
|
|
2118
2105
|
"multiple": false,
|
|
2119
2106
|
"type": "option"
|
|
2120
2107
|
},
|
|
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",
|
|
2108
|
+
"description": {
|
|
2109
|
+
"description": "Channel description",
|
|
2110
|
+
"name": "description",
|
|
2130
2111
|
"hasDynamicHelp": false,
|
|
2131
2112
|
"multiple": false,
|
|
2132
2113
|
"type": "option"
|
|
2133
2114
|
},
|
|
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",
|
|
2115
|
+
"data": {
|
|
2116
|
+
"description": "Additional JSON object payload",
|
|
2117
|
+
"name": "data",
|
|
2144
2118
|
"hasDynamicHelp": false,
|
|
2145
2119
|
"multiple": false,
|
|
2146
2120
|
"type": "option"
|
|
2147
|
-
},
|
|
2148
|
-
"send-status": {
|
|
2149
|
-
"description": "Initial broadcast send status",
|
|
2150
|
-
"name": "send-status",
|
|
2151
|
-
"default": "draft",
|
|
2152
|
-
"hasDynamicHelp": false,
|
|
2153
|
-
"multiple": false,
|
|
2154
|
-
"options": [
|
|
2155
|
-
"draft",
|
|
2156
|
-
"scheduled",
|
|
2157
|
-
"sending"
|
|
2158
|
-
],
|
|
2159
|
-
"type": "option"
|
|
2160
|
-
},
|
|
2161
|
-
"auto-approve": {
|
|
2162
|
-
"description": "Auto-approve broadcast when allowed by API permissions",
|
|
2163
|
-
"name": "auto-approve",
|
|
2164
|
-
"allowNo": false,
|
|
2165
|
-
"type": "boolean"
|
|
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,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,14 @@
|
|
|
2593
2558
|
"relativePath": [
|
|
2594
2559
|
"dist",
|
|
2595
2560
|
"commands",
|
|
2596
|
-
"
|
|
2597
|
-
"
|
|
2561
|
+
"channels",
|
|
2562
|
+
"update.js"
|
|
2598
2563
|
]
|
|
2599
2564
|
},
|
|
2600
|
-
"broadcast:
|
|
2565
|
+
"broadcast:create": {
|
|
2601
2566
|
"aliases": [],
|
|
2602
|
-
"args": {
|
|
2603
|
-
|
|
2604
|
-
"description": "Broadcast ID",
|
|
2605
|
-
"name": "id",
|
|
2606
|
-
"required": true
|
|
2607
|
-
}
|
|
2608
|
-
},
|
|
2609
|
-
"description": "Show broadcast send status",
|
|
2567
|
+
"args": {},
|
|
2568
|
+
"description": "Create a broadcast for channels or segments",
|
|
2610
2569
|
"flags": {
|
|
2611
2570
|
"api-key": {
|
|
2612
2571
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2669,11 +2628,93 @@
|
|
|
2669
2628
|
"hasDynamicHelp": false,
|
|
2670
2629
|
"multiple": false,
|
|
2671
2630
|
"type": "option"
|
|
2631
|
+
},
|
|
2632
|
+
"channel": {
|
|
2633
|
+
"description": "Channel ID target",
|
|
2634
|
+
"name": "channel",
|
|
2635
|
+
"hasDynamicHelp": false,
|
|
2636
|
+
"multiple": false,
|
|
2637
|
+
"type": "option"
|
|
2638
|
+
},
|
|
2639
|
+
"segment": {
|
|
2640
|
+
"description": "Segment ID within --channel",
|
|
2641
|
+
"name": "segment",
|
|
2642
|
+
"hasDynamicHelp": false,
|
|
2643
|
+
"multiple": false,
|
|
2644
|
+
"type": "option"
|
|
2645
|
+
},
|
|
2646
|
+
"target": {
|
|
2647
|
+
"description": "Target as channelId or channelId:segmentId; may be repeated",
|
|
2648
|
+
"name": "target",
|
|
2649
|
+
"hasDynamicHelp": false,
|
|
2650
|
+
"multiple": true,
|
|
2651
|
+
"type": "option"
|
|
2652
|
+
},
|
|
2653
|
+
"text": {
|
|
2654
|
+
"description": "Broadcast message text",
|
|
2655
|
+
"name": "text",
|
|
2656
|
+
"required": true,
|
|
2657
|
+
"hasDynamicHelp": false,
|
|
2658
|
+
"multiple": false,
|
|
2659
|
+
"type": "option"
|
|
2660
|
+
},
|
|
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"
|
|
2667
|
+
},
|
|
2668
|
+
"dry-run": {
|
|
2669
|
+
"description": "Validate and print the broadcast payload without mutating API calls",
|
|
2670
|
+
"name": "dry-run",
|
|
2671
|
+
"allowNo": false,
|
|
2672
|
+
"type": "boolean"
|
|
2673
|
+
},
|
|
2674
|
+
"idempotency-key": {
|
|
2675
|
+
"description": "Idempotency key forwarded as Idempotency-Key",
|
|
2676
|
+
"name": "idempotency-key",
|
|
2677
|
+
"hasDynamicHelp": false,
|
|
2678
|
+
"multiple": false,
|
|
2679
|
+
"type": "option"
|
|
2680
|
+
},
|
|
2681
|
+
"media": {
|
|
2682
|
+
"description": "Media file path to upload",
|
|
2683
|
+
"name": "media",
|
|
2684
|
+
"hasDynamicHelp": false,
|
|
2685
|
+
"multiple": true,
|
|
2686
|
+
"type": "option"
|
|
2687
|
+
},
|
|
2688
|
+
"template-id": {
|
|
2689
|
+
"description": "WhatsApp template ID",
|
|
2690
|
+
"name": "template-id",
|
|
2691
|
+
"hasDynamicHelp": false,
|
|
2692
|
+
"multiple": false,
|
|
2693
|
+
"type": "option"
|
|
2694
|
+
},
|
|
2695
|
+
"send-status": {
|
|
2696
|
+
"description": "Initial broadcast send status",
|
|
2697
|
+
"name": "send-status",
|
|
2698
|
+
"default": "draft",
|
|
2699
|
+
"hasDynamicHelp": false,
|
|
2700
|
+
"multiple": false,
|
|
2701
|
+
"options": [
|
|
2702
|
+
"draft",
|
|
2703
|
+
"scheduled",
|
|
2704
|
+
"sending"
|
|
2705
|
+
],
|
|
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"
|
|
2672
2713
|
}
|
|
2673
2714
|
},
|
|
2674
2715
|
"hasDynamicHelp": false,
|
|
2675
2716
|
"hiddenAliases": [],
|
|
2676
|
-
"id": "broadcast:
|
|
2717
|
+
"id": "broadcast:create",
|
|
2677
2718
|
"pluginAlias": "@instantkom/cli",
|
|
2678
2719
|
"pluginName": "@instantkom/cli",
|
|
2679
2720
|
"pluginType": "core",
|
|
@@ -2684,19 +2725,19 @@
|
|
|
2684
2725
|
"dist",
|
|
2685
2726
|
"commands",
|
|
2686
2727
|
"broadcast",
|
|
2687
|
-
"
|
|
2728
|
+
"create.js"
|
|
2688
2729
|
]
|
|
2689
2730
|
},
|
|
2690
|
-
"broadcast:
|
|
2731
|
+
"broadcast:delete": {
|
|
2691
2732
|
"aliases": [],
|
|
2692
2733
|
"args": {
|
|
2693
2734
|
"id": {
|
|
2694
|
-
"description": "
|
|
2735
|
+
"description": "broadcast ID",
|
|
2695
2736
|
"name": "id",
|
|
2696
2737
|
"required": true
|
|
2697
2738
|
}
|
|
2698
2739
|
},
|
|
2699
|
-
"description": "
|
|
2740
|
+
"description": "Delete broadcast",
|
|
2700
2741
|
"flags": {
|
|
2701
2742
|
"api-key": {
|
|
2702
2743
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2759,77 +2800,11 @@
|
|
|
2759
2800
|
"hasDynamicHelp": false,
|
|
2760
2801
|
"multiple": false,
|
|
2761
2802
|
"type": "option"
|
|
2762
|
-
},
|
|
2763
|
-
"text": {
|
|
2764
|
-
"description": "Broadcast message text",
|
|
2765
|
-
"name": "text",
|
|
2766
|
-
"hasDynamicHelp": false,
|
|
2767
|
-
"multiple": false,
|
|
2768
|
-
"type": "option"
|
|
2769
|
-
},
|
|
2770
|
-
"send-status": {
|
|
2771
|
-
"description": "Send status",
|
|
2772
|
-
"name": "send-status",
|
|
2773
|
-
"hasDynamicHelp": false,
|
|
2774
|
-
"multiple": false,
|
|
2775
|
-
"type": "option"
|
|
2776
|
-
},
|
|
2777
|
-
"scheduled-at": {
|
|
2778
|
-
"description": "Unix timestamp for scheduled send",
|
|
2779
|
-
"name": "scheduled-at",
|
|
2780
|
-
"hasDynamicHelp": false,
|
|
2781
|
-
"multiple": false,
|
|
2782
|
-
"type": "option"
|
|
2783
|
-
},
|
|
2784
|
-
"approved": {
|
|
2785
|
-
"description": "Mark as approved",
|
|
2786
|
-
"name": "approved",
|
|
2787
|
-
"allowNo": false,
|
|
2788
|
-
"type": "boolean"
|
|
2789
|
-
},
|
|
2790
|
-
"locked": {
|
|
2791
|
-
"description": "Mark as locked",
|
|
2792
|
-
"name": "locked",
|
|
2793
|
-
"allowNo": false,
|
|
2794
|
-
"type": "boolean"
|
|
2795
|
-
},
|
|
2796
|
-
"test": {
|
|
2797
|
-
"description": "Mark as test broadcast",
|
|
2798
|
-
"name": "test",
|
|
2799
|
-
"allowNo": false,
|
|
2800
|
-
"type": "boolean"
|
|
2801
|
-
},
|
|
2802
|
-
"template-id": {
|
|
2803
|
-
"description": "Template ID",
|
|
2804
|
-
"name": "template-id",
|
|
2805
|
-
"hasDynamicHelp": false,
|
|
2806
|
-
"multiple": false,
|
|
2807
|
-
"type": "option"
|
|
2808
|
-
},
|
|
2809
|
-
"remove-media": {
|
|
2810
|
-
"description": "Remove existing media",
|
|
2811
|
-
"name": "remove-media",
|
|
2812
|
-
"allowNo": false,
|
|
2813
|
-
"type": "boolean"
|
|
2814
|
-
},
|
|
2815
|
-
"header-footer": {
|
|
2816
|
-
"description": "Header/footer JSON array",
|
|
2817
|
-
"name": "header-footer",
|
|
2818
|
-
"hasDynamicHelp": false,
|
|
2819
|
-
"multiple": false,
|
|
2820
|
-
"type": "option"
|
|
2821
|
-
},
|
|
2822
|
-
"data": {
|
|
2823
|
-
"description": "Additional JSON object payload",
|
|
2824
|
-
"name": "data",
|
|
2825
|
-
"hasDynamicHelp": false,
|
|
2826
|
-
"multiple": false,
|
|
2827
|
-
"type": "option"
|
|
2828
2803
|
}
|
|
2829
2804
|
},
|
|
2830
2805
|
"hasDynamicHelp": false,
|
|
2831
2806
|
"hiddenAliases": [],
|
|
2832
|
-
"id": "broadcast:
|
|
2807
|
+
"id": "broadcast:delete",
|
|
2833
2808
|
"pluginAlias": "@instantkom/cli",
|
|
2834
2809
|
"pluginName": "@instantkom/cli",
|
|
2835
2810
|
"pluginType": "core",
|
|
@@ -2840,19 +2815,19 @@
|
|
|
2840
2815
|
"dist",
|
|
2841
2816
|
"commands",
|
|
2842
2817
|
"broadcast",
|
|
2843
|
-
"
|
|
2818
|
+
"delete.js"
|
|
2844
2819
|
]
|
|
2845
2820
|
},
|
|
2846
|
-
"
|
|
2821
|
+
"broadcast:get": {
|
|
2847
2822
|
"aliases": [],
|
|
2848
2823
|
"args": {
|
|
2849
2824
|
"id": {
|
|
2850
|
-
"description": "
|
|
2825
|
+
"description": "broadcast ID",
|
|
2851
2826
|
"name": "id",
|
|
2852
2827
|
"required": true
|
|
2853
2828
|
}
|
|
2854
2829
|
},
|
|
2855
|
-
"description": "Get
|
|
2830
|
+
"description": "Get broadcast by ID",
|
|
2856
2831
|
"flags": {
|
|
2857
2832
|
"api-key": {
|
|
2858
2833
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2919,7 +2894,7 @@
|
|
|
2919
2894
|
},
|
|
2920
2895
|
"hasDynamicHelp": false,
|
|
2921
2896
|
"hiddenAliases": [],
|
|
2922
|
-
"id": "
|
|
2897
|
+
"id": "broadcast:get",
|
|
2923
2898
|
"pluginAlias": "@instantkom/cli",
|
|
2924
2899
|
"pluginName": "@instantkom/cli",
|
|
2925
2900
|
"pluginType": "core",
|
|
@@ -2929,14 +2904,14 @@
|
|
|
2929
2904
|
"relativePath": [
|
|
2930
2905
|
"dist",
|
|
2931
2906
|
"commands",
|
|
2932
|
-
"
|
|
2907
|
+
"broadcast",
|
|
2933
2908
|
"get.js"
|
|
2934
2909
|
]
|
|
2935
2910
|
},
|
|
2936
|
-
"
|
|
2911
|
+
"broadcast:list": {
|
|
2937
2912
|
"aliases": [],
|
|
2938
2913
|
"args": {},
|
|
2939
|
-
"description": "List
|
|
2914
|
+
"description": "List broadcasts",
|
|
2940
2915
|
"flags": {
|
|
2941
2916
|
"api-key": {
|
|
2942
2917
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3023,49 +2998,49 @@
|
|
|
3023
2998
|
"multiple": false,
|
|
3024
2999
|
"type": "option"
|
|
3025
3000
|
},
|
|
3026
|
-
"
|
|
3027
|
-
"description": "
|
|
3028
|
-
"name": "
|
|
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",
|
|
3029
3011
|
"hasDynamicHelp": false,
|
|
3030
3012
|
"multiple": false,
|
|
3013
|
+
"options": [
|
|
3014
|
+
"text",
|
|
3015
|
+
"image",
|
|
3016
|
+
"video",
|
|
3017
|
+
"audio",
|
|
3018
|
+
"document"
|
|
3019
|
+
],
|
|
3031
3020
|
"type": "option"
|
|
3032
3021
|
},
|
|
3033
3022
|
"search": {
|
|
3034
|
-
"description": "Search
|
|
3023
|
+
"description": "Search broadcasts",
|
|
3035
3024
|
"name": "search",
|
|
3036
3025
|
"hasDynamicHelp": false,
|
|
3037
3026
|
"multiple": false,
|
|
3038
3027
|
"type": "option"
|
|
3039
3028
|
},
|
|
3040
|
-
"
|
|
3041
|
-
"description": "
|
|
3042
|
-
"name": "
|
|
3029
|
+
"test": {
|
|
3030
|
+
"description": "Filter test flag: 0 or 1",
|
|
3031
|
+
"name": "test",
|
|
3043
3032
|
"hasDynamicHelp": false,
|
|
3044
3033
|
"multiple": false,
|
|
3045
3034
|
"options": [
|
|
3046
|
-
"
|
|
3047
|
-
"
|
|
3048
|
-
"read",
|
|
3049
|
-
"archived"
|
|
3035
|
+
"0",
|
|
3036
|
+
"1"
|
|
3050
3037
|
],
|
|
3051
3038
|
"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
3039
|
}
|
|
3065
3040
|
},
|
|
3066
3041
|
"hasDynamicHelp": false,
|
|
3067
3042
|
"hiddenAliases": [],
|
|
3068
|
-
"id": "
|
|
3043
|
+
"id": "broadcast:list",
|
|
3069
3044
|
"pluginAlias": "@instantkom/cli",
|
|
3070
3045
|
"pluginName": "@instantkom/cli",
|
|
3071
3046
|
"pluginType": "core",
|
|
@@ -3075,20 +3050,20 @@
|
|
|
3075
3050
|
"relativePath": [
|
|
3076
3051
|
"dist",
|
|
3077
3052
|
"commands",
|
|
3078
|
-
"
|
|
3053
|
+
"broadcast",
|
|
3079
3054
|
"list.js"
|
|
3080
3055
|
]
|
|
3081
3056
|
},
|
|
3082
|
-
"
|
|
3057
|
+
"broadcast:send": {
|
|
3083
3058
|
"aliases": [],
|
|
3084
3059
|
"args": {
|
|
3085
3060
|
"id": {
|
|
3086
|
-
"description": "
|
|
3061
|
+
"description": "Broadcast ID",
|
|
3087
3062
|
"name": "id",
|
|
3088
3063
|
"required": true
|
|
3089
3064
|
}
|
|
3090
3065
|
},
|
|
3091
|
-
"description": "
|
|
3066
|
+
"description": "Send a broadcast immediately",
|
|
3092
3067
|
"flags": {
|
|
3093
3068
|
"api-key": {
|
|
3094
3069
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3151,19 +3126,11 @@
|
|
|
3151
3126
|
"hasDynamicHelp": false,
|
|
3152
3127
|
"multiple": false,
|
|
3153
3128
|
"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
3129
|
}
|
|
3163
3130
|
},
|
|
3164
3131
|
"hasDynamicHelp": false,
|
|
3165
3132
|
"hiddenAliases": [],
|
|
3166
|
-
"id": "
|
|
3133
|
+
"id": "broadcast:send",
|
|
3167
3134
|
"pluginAlias": "@instantkom/cli",
|
|
3168
3135
|
"pluginName": "@instantkom/cli",
|
|
3169
3136
|
"pluginType": "core",
|
|
@@ -3173,14 +3140,20 @@
|
|
|
3173
3140
|
"relativePath": [
|
|
3174
3141
|
"dist",
|
|
3175
3142
|
"commands",
|
|
3176
|
-
"
|
|
3177
|
-
"
|
|
3143
|
+
"broadcast",
|
|
3144
|
+
"send.js"
|
|
3178
3145
|
]
|
|
3179
3146
|
},
|
|
3180
|
-
"
|
|
3147
|
+
"broadcast:status": {
|
|
3181
3148
|
"aliases": [],
|
|
3182
|
-
"args": {
|
|
3183
|
-
|
|
3149
|
+
"args": {
|
|
3150
|
+
"id": {
|
|
3151
|
+
"description": "Broadcast ID",
|
|
3152
|
+
"name": "id",
|
|
3153
|
+
"required": true
|
|
3154
|
+
}
|
|
3155
|
+
},
|
|
3156
|
+
"description": "Show broadcast send status",
|
|
3184
3157
|
"flags": {
|
|
3185
3158
|
"api-key": {
|
|
3186
3159
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3243,48 +3216,11 @@
|
|
|
3243
3216
|
"hasDynamicHelp": false,
|
|
3244
3217
|
"multiple": false,
|
|
3245
3218
|
"type": "option"
|
|
3246
|
-
},
|
|
3247
|
-
"name": {
|
|
3248
|
-
"description": "Channel name",
|
|
3249
|
-
"name": "name",
|
|
3250
|
-
"required": true,
|
|
3251
|
-
"hasDynamicHelp": false,
|
|
3252
|
-
"multiple": false,
|
|
3253
|
-
"type": "option"
|
|
3254
|
-
},
|
|
3255
|
-
"gateway-type": {
|
|
3256
|
-
"description": "Gateway type ID",
|
|
3257
|
-
"name": "gateway-type",
|
|
3258
|
-
"required": true,
|
|
3259
|
-
"hasDynamicHelp": false,
|
|
3260
|
-
"multiple": false,
|
|
3261
|
-
"type": "option"
|
|
3262
|
-
},
|
|
3263
|
-
"status": {
|
|
3264
|
-
"description": "Channel lifecycle status",
|
|
3265
|
-
"name": "status",
|
|
3266
|
-
"hasDynamicHelp": false,
|
|
3267
|
-
"multiple": false,
|
|
3268
|
-
"type": "option"
|
|
3269
|
-
},
|
|
3270
|
-
"description": {
|
|
3271
|
-
"description": "Channel description",
|
|
3272
|
-
"name": "description",
|
|
3273
|
-
"hasDynamicHelp": false,
|
|
3274
|
-
"multiple": false,
|
|
3275
|
-
"type": "option"
|
|
3276
|
-
},
|
|
3277
|
-
"data": {
|
|
3278
|
-
"description": "Additional JSON object payload",
|
|
3279
|
-
"name": "data",
|
|
3280
|
-
"hasDynamicHelp": false,
|
|
3281
|
-
"multiple": false,
|
|
3282
|
-
"type": "option"
|
|
3283
3219
|
}
|
|
3284
3220
|
},
|
|
3285
3221
|
"hasDynamicHelp": false,
|
|
3286
3222
|
"hiddenAliases": [],
|
|
3287
|
-
"id": "
|
|
3223
|
+
"id": "broadcast:status",
|
|
3288
3224
|
"pluginAlias": "@instantkom/cli",
|
|
3289
3225
|
"pluginName": "@instantkom/cli",
|
|
3290
3226
|
"pluginType": "core",
|
|
@@ -3294,20 +3230,20 @@
|
|
|
3294
3230
|
"relativePath": [
|
|
3295
3231
|
"dist",
|
|
3296
3232
|
"commands",
|
|
3297
|
-
"
|
|
3298
|
-
"
|
|
3233
|
+
"broadcast",
|
|
3234
|
+
"status.js"
|
|
3299
3235
|
]
|
|
3300
3236
|
},
|
|
3301
|
-
"
|
|
3237
|
+
"broadcast:update": {
|
|
3302
3238
|
"aliases": [],
|
|
3303
3239
|
"args": {
|
|
3304
3240
|
"id": {
|
|
3305
|
-
"description": "
|
|
3241
|
+
"description": "Broadcast ID",
|
|
3306
3242
|
"name": "id",
|
|
3307
3243
|
"required": true
|
|
3308
3244
|
}
|
|
3309
3245
|
},
|
|
3310
|
-
"description": "
|
|
3246
|
+
"description": "Update a broadcast",
|
|
3311
3247
|
"flags": {
|
|
3312
3248
|
"api-key": {
|
|
3313
3249
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3370,100 +3306,69 @@
|
|
|
3370
3306
|
"hasDynamicHelp": false,
|
|
3371
3307
|
"multiple": false,
|
|
3372
3308
|
"type": "option"
|
|
3373
|
-
}
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
"id": "channels:get",
|
|
3378
|
-
"pluginAlias": "@instantkom/cli",
|
|
3379
|
-
"pluginName": "@instantkom/cli",
|
|
3380
|
-
"pluginType": "core",
|
|
3381
|
-
"strict": true,
|
|
3382
|
-
"enableJsonFlag": false,
|
|
3383
|
-
"isESM": true,
|
|
3384
|
-
"relativePath": [
|
|
3385
|
-
"dist",
|
|
3386
|
-
"commands",
|
|
3387
|
-
"channels",
|
|
3388
|
-
"get.js"
|
|
3389
|
-
]
|
|
3390
|
-
},
|
|
3391
|
-
"channels:kpis": {
|
|
3392
|
-
"aliases": [],
|
|
3393
|
-
"args": {
|
|
3394
|
-
"id": {
|
|
3395
|
-
"description": "Optional channel ID; omit for aggregated channel KPIs",
|
|
3396
|
-
"name": "id",
|
|
3397
|
-
"required": false
|
|
3398
|
-
}
|
|
3399
|
-
},
|
|
3400
|
-
"description": "Get channel KPIs",
|
|
3401
|
-
"flags": {
|
|
3402
|
-
"api-key": {
|
|
3403
|
-
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
3404
|
-
"env": "IKM_API_KEY",
|
|
3405
|
-
"helpGroup": "GLOBAL",
|
|
3406
|
-
"name": "api-key",
|
|
3309
|
+
},
|
|
3310
|
+
"text": {
|
|
3311
|
+
"description": "Broadcast message text",
|
|
3312
|
+
"name": "text",
|
|
3407
3313
|
"hasDynamicHelp": false,
|
|
3408
3314
|
"multiple": false,
|
|
3409
3315
|
"type": "option"
|
|
3410
3316
|
},
|
|
3411
|
-
"
|
|
3412
|
-
"description": "
|
|
3413
|
-
"
|
|
3414
|
-
"name": "format",
|
|
3415
|
-
"default": "text",
|
|
3317
|
+
"send-status": {
|
|
3318
|
+
"description": "Send status",
|
|
3319
|
+
"name": "send-status",
|
|
3416
3320
|
"hasDynamicHelp": false,
|
|
3417
3321
|
"multiple": false,
|
|
3418
|
-
"options": [
|
|
3419
|
-
"text",
|
|
3420
|
-
"json",
|
|
3421
|
-
"yaml",
|
|
3422
|
-
"table"
|
|
3423
|
-
],
|
|
3424
3322
|
"type": "option"
|
|
3425
3323
|
},
|
|
3426
|
-
"
|
|
3427
|
-
"description": "
|
|
3428
|
-
"
|
|
3429
|
-
"
|
|
3430
|
-
"
|
|
3431
|
-
"type": "
|
|
3432
|
-
},
|
|
3433
|
-
"
|
|
3434
|
-
"description": "
|
|
3435
|
-
"
|
|
3436
|
-
"name": "quiet",
|
|
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",
|
|
3437
3334
|
"allowNo": false,
|
|
3438
3335
|
"type": "boolean"
|
|
3439
3336
|
},
|
|
3440
|
-
"
|
|
3441
|
-
"description": "
|
|
3442
|
-
"
|
|
3443
|
-
"name": "no-color",
|
|
3337
|
+
"locked": {
|
|
3338
|
+
"description": "Mark as locked",
|
|
3339
|
+
"name": "locked",
|
|
3444
3340
|
"allowNo": false,
|
|
3445
3341
|
"type": "boolean"
|
|
3446
3342
|
},
|
|
3447
|
-
"
|
|
3448
|
-
"description": "
|
|
3449
|
-
"
|
|
3450
|
-
"
|
|
3451
|
-
"
|
|
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",
|
|
3452
3352
|
"hasDynamicHelp": false,
|
|
3453
3353
|
"multiple": false,
|
|
3454
3354
|
"type": "option"
|
|
3455
3355
|
},
|
|
3456
|
-
"
|
|
3457
|
-
"description": "
|
|
3458
|
-
"
|
|
3459
|
-
"
|
|
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",
|
|
3460
3365
|
"hasDynamicHelp": false,
|
|
3461
3366
|
"multiple": false,
|
|
3462
3367
|
"type": "option"
|
|
3463
3368
|
},
|
|
3464
|
-
"
|
|
3465
|
-
"description": "
|
|
3466
|
-
"name": "
|
|
3369
|
+
"data": {
|
|
3370
|
+
"description": "Additional JSON object payload",
|
|
3371
|
+
"name": "data",
|
|
3467
3372
|
"hasDynamicHelp": false,
|
|
3468
3373
|
"multiple": false,
|
|
3469
3374
|
"type": "option"
|
|
@@ -3471,7 +3376,7 @@
|
|
|
3471
3376
|
},
|
|
3472
3377
|
"hasDynamicHelp": false,
|
|
3473
3378
|
"hiddenAliases": [],
|
|
3474
|
-
"id": "
|
|
3379
|
+
"id": "broadcast:update",
|
|
3475
3380
|
"pluginAlias": "@instantkom/cli",
|
|
3476
3381
|
"pluginName": "@instantkom/cli",
|
|
3477
3382
|
"pluginType": "core",
|
|
@@ -3481,14 +3386,20 @@
|
|
|
3481
3386
|
"relativePath": [
|
|
3482
3387
|
"dist",
|
|
3483
3388
|
"commands",
|
|
3484
|
-
"
|
|
3485
|
-
"
|
|
3389
|
+
"broadcast",
|
|
3390
|
+
"update.js"
|
|
3486
3391
|
]
|
|
3487
3392
|
},
|
|
3488
|
-
"
|
|
3393
|
+
"config:get": {
|
|
3489
3394
|
"aliases": [],
|
|
3490
|
-
"args": {
|
|
3491
|
-
|
|
3395
|
+
"args": {
|
|
3396
|
+
"key": {
|
|
3397
|
+
"description": "Configuration key to retrieve",
|
|
3398
|
+
"name": "key",
|
|
3399
|
+
"required": true
|
|
3400
|
+
}
|
|
3401
|
+
},
|
|
3402
|
+
"description": "Get a configuration value for the current profile",
|
|
3492
3403
|
"flags": {
|
|
3493
3404
|
"api-key": {
|
|
3494
3405
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3551,48 +3462,11 @@
|
|
|
3551
3462
|
"hasDynamicHelp": false,
|
|
3552
3463
|
"multiple": false,
|
|
3553
3464
|
"type": "option"
|
|
3554
|
-
},
|
|
3555
|
-
"page": {
|
|
3556
|
-
"description": "Page number",
|
|
3557
|
-
"name": "page",
|
|
3558
|
-
"default": 1,
|
|
3559
|
-
"hasDynamicHelp": false,
|
|
3560
|
-
"multiple": false,
|
|
3561
|
-
"type": "option"
|
|
3562
|
-
},
|
|
3563
|
-
"limit": {
|
|
3564
|
-
"description": "Items per page",
|
|
3565
|
-
"name": "limit",
|
|
3566
|
-
"default": 20,
|
|
3567
|
-
"hasDynamicHelp": false,
|
|
3568
|
-
"multiple": false,
|
|
3569
|
-
"type": "option"
|
|
3570
|
-
},
|
|
3571
|
-
"status": {
|
|
3572
|
-
"description": "Filter by channel status",
|
|
3573
|
-
"name": "status",
|
|
3574
|
-
"hasDynamicHelp": false,
|
|
3575
|
-
"multiple": false,
|
|
3576
|
-
"type": "option"
|
|
3577
|
-
},
|
|
3578
|
-
"gateway-type": {
|
|
3579
|
-
"description": "Filter by gateway type ID",
|
|
3580
|
-
"name": "gateway-type",
|
|
3581
|
-
"hasDynamicHelp": false,
|
|
3582
|
-
"multiple": false,
|
|
3583
|
-
"type": "option"
|
|
3584
|
-
},
|
|
3585
|
-
"search": {
|
|
3586
|
-
"description": "Search by channel name",
|
|
3587
|
-
"name": "search",
|
|
3588
|
-
"hasDynamicHelp": false,
|
|
3589
|
-
"multiple": false,
|
|
3590
|
-
"type": "option"
|
|
3591
3465
|
}
|
|
3592
3466
|
},
|
|
3593
3467
|
"hasDynamicHelp": false,
|
|
3594
3468
|
"hiddenAliases": [],
|
|
3595
|
-
"id": "
|
|
3469
|
+
"id": "config:get",
|
|
3596
3470
|
"pluginAlias": "@instantkom/cli",
|
|
3597
3471
|
"pluginName": "@instantkom/cli",
|
|
3598
3472
|
"pluginType": "core",
|
|
@@ -3602,20 +3476,25 @@
|
|
|
3602
3476
|
"relativePath": [
|
|
3603
3477
|
"dist",
|
|
3604
3478
|
"commands",
|
|
3605
|
-
"
|
|
3606
|
-
"
|
|
3479
|
+
"config",
|
|
3480
|
+
"get.js"
|
|
3607
3481
|
]
|
|
3608
3482
|
},
|
|
3609
|
-
"
|
|
3483
|
+
"config:set": {
|
|
3610
3484
|
"aliases": [],
|
|
3611
3485
|
"args": {
|
|
3612
|
-
"
|
|
3613
|
-
"description": "
|
|
3614
|
-
"name": "
|
|
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",
|
|
3615
3494
|
"required": true
|
|
3616
3495
|
}
|
|
3617
3496
|
},
|
|
3618
|
-
"description": "
|
|
3497
|
+
"description": "Set a configuration value for the current profile",
|
|
3619
3498
|
"flags": {
|
|
3620
3499
|
"api-key": {
|
|
3621
3500
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3678,39 +3557,11 @@
|
|
|
3678
3557
|
"hasDynamicHelp": false,
|
|
3679
3558
|
"multiple": false,
|
|
3680
3559
|
"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
3560
|
}
|
|
3710
3561
|
},
|
|
3711
3562
|
"hasDynamicHelp": false,
|
|
3712
3563
|
"hiddenAliases": [],
|
|
3713
|
-
"id": "
|
|
3564
|
+
"id": "config:set",
|
|
3714
3565
|
"pluginAlias": "@instantkom/cli",
|
|
3715
3566
|
"pluginName": "@instantkom/cli",
|
|
3716
3567
|
"pluginType": "core",
|
|
@@ -3720,20 +3571,20 @@
|
|
|
3720
3571
|
"relativePath": [
|
|
3721
3572
|
"dist",
|
|
3722
3573
|
"commands",
|
|
3723
|
-
"
|
|
3724
|
-
"
|
|
3574
|
+
"config",
|
|
3575
|
+
"set.js"
|
|
3725
3576
|
]
|
|
3726
3577
|
},
|
|
3727
|
-
"config:
|
|
3578
|
+
"config:unset": {
|
|
3728
3579
|
"aliases": [],
|
|
3729
3580
|
"args": {
|
|
3730
3581
|
"key": {
|
|
3731
|
-
"description": "Configuration key to
|
|
3582
|
+
"description": "Configuration key to remove",
|
|
3732
3583
|
"name": "key",
|
|
3733
3584
|
"required": true
|
|
3734
3585
|
}
|
|
3735
3586
|
},
|
|
3736
|
-
"description": "
|
|
3587
|
+
"description": "Remove a configuration key from the current profile",
|
|
3737
3588
|
"flags": {
|
|
3738
3589
|
"api-key": {
|
|
3739
3590
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3800,7 +3651,7 @@
|
|
|
3800
3651
|
},
|
|
3801
3652
|
"hasDynamicHelp": false,
|
|
3802
3653
|
"hiddenAliases": [],
|
|
3803
|
-
"id": "config:
|
|
3654
|
+
"id": "config:unset",
|
|
3804
3655
|
"pluginAlias": "@instantkom/cli",
|
|
3805
3656
|
"pluginName": "@instantkom/cli",
|
|
3806
3657
|
"pluginType": "core",
|
|
@@ -3811,24 +3662,19 @@
|
|
|
3811
3662
|
"dist",
|
|
3812
3663
|
"commands",
|
|
3813
3664
|
"config",
|
|
3814
|
-
"
|
|
3665
|
+
"unset.js"
|
|
3815
3666
|
]
|
|
3816
3667
|
},
|
|
3817
|
-
"
|
|
3668
|
+
"chats:get": {
|
|
3818
3669
|
"aliases": [],
|
|
3819
3670
|
"args": {
|
|
3820
|
-
"
|
|
3821
|
-
"description": "
|
|
3822
|
-
"name": "
|
|
3823
|
-
"required": true
|
|
3824
|
-
},
|
|
3825
|
-
"value": {
|
|
3826
|
-
"description": "Value to assign",
|
|
3827
|
-
"name": "value",
|
|
3671
|
+
"id": {
|
|
3672
|
+
"description": "chat ID",
|
|
3673
|
+
"name": "id",
|
|
3828
3674
|
"required": true
|
|
3829
3675
|
}
|
|
3830
3676
|
},
|
|
3831
|
-
"description": "
|
|
3677
|
+
"description": "Get chat by ID",
|
|
3832
3678
|
"flags": {
|
|
3833
3679
|
"api-key": {
|
|
3834
3680
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3895,7 +3741,7 @@
|
|
|
3895
3741
|
},
|
|
3896
3742
|
"hasDynamicHelp": false,
|
|
3897
3743
|
"hiddenAliases": [],
|
|
3898
|
-
"id": "
|
|
3744
|
+
"id": "chats:get",
|
|
3899
3745
|
"pluginAlias": "@instantkom/cli",
|
|
3900
3746
|
"pluginName": "@instantkom/cli",
|
|
3901
3747
|
"pluginType": "core",
|
|
@@ -3905,20 +3751,14 @@
|
|
|
3905
3751
|
"relativePath": [
|
|
3906
3752
|
"dist",
|
|
3907
3753
|
"commands",
|
|
3908
|
-
"
|
|
3909
|
-
"
|
|
3754
|
+
"chats",
|
|
3755
|
+
"get.js"
|
|
3910
3756
|
]
|
|
3911
3757
|
},
|
|
3912
|
-
"
|
|
3758
|
+
"chats:list": {
|
|
3913
3759
|
"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",
|
|
3760
|
+
"args": {},
|
|
3761
|
+
"description": "List chats",
|
|
3922
3762
|
"flags": {
|
|
3923
3763
|
"api-key": {
|
|
3924
3764
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3981,55 +3821,215 @@
|
|
|
3981
3821
|
"hasDynamicHelp": false,
|
|
3982
3822
|
"multiple": false,
|
|
3983
3823
|
"type": "option"
|
|
3984
|
-
}
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
"pluginAlias": "@instantkom/cli",
|
|
3990
|
-
"pluginName": "@instantkom/cli",
|
|
3991
|
-
"pluginType": "core",
|
|
3992
|
-
"strict": true,
|
|
3993
|
-
"enableJsonFlag": false,
|
|
3994
|
-
"isESM": true,
|
|
3995
|
-
"relativePath": [
|
|
3996
|
-
"dist",
|
|
3997
|
-
"commands",
|
|
3998
|
-
"config",
|
|
3999
|
-
"unset.js"
|
|
4000
|
-
]
|
|
4001
|
-
},
|
|
4002
|
-
"contacts:create": {
|
|
4003
|
-
"aliases": [],
|
|
4004
|
-
"args": {},
|
|
4005
|
-
"description": "Create a contact",
|
|
4006
|
-
"flags": {
|
|
4007
|
-
"api-key": {
|
|
4008
|
-
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
4009
|
-
"env": "IKM_API_KEY",
|
|
4010
|
-
"helpGroup": "GLOBAL",
|
|
4011
|
-
"name": "api-key",
|
|
3824
|
+
},
|
|
3825
|
+
"page": {
|
|
3826
|
+
"description": "Page number",
|
|
3827
|
+
"name": "page",
|
|
3828
|
+
"default": 1,
|
|
4012
3829
|
"hasDynamicHelp": false,
|
|
4013
3830
|
"multiple": false,
|
|
4014
3831
|
"type": "option"
|
|
4015
3832
|
},
|
|
4016
|
-
"
|
|
4017
|
-
"description": "
|
|
4018
|
-
"
|
|
4019
|
-
"
|
|
4020
|
-
"default": "text",
|
|
3833
|
+
"limit": {
|
|
3834
|
+
"description": "Items per page",
|
|
3835
|
+
"name": "limit",
|
|
3836
|
+
"default": 20,
|
|
4021
3837
|
"hasDynamicHelp": false,
|
|
4022
3838
|
"multiple": false,
|
|
4023
|
-
"options": [
|
|
4024
|
-
"text",
|
|
4025
|
-
"json",
|
|
4026
|
-
"yaml",
|
|
4027
|
-
"table"
|
|
4028
|
-
],
|
|
4029
3839
|
"type": "option"
|
|
4030
3840
|
},
|
|
4031
|
-
"
|
|
4032
|
-
"description": "
|
|
3841
|
+
"channel": {
|
|
3842
|
+
"description": "Filter by channel ID",
|
|
3843
|
+
"name": "channel",
|
|
3844
|
+
"hasDynamicHelp": false,
|
|
3845
|
+
"multiple": false,
|
|
3846
|
+
"type": "option"
|
|
3847
|
+
},
|
|
3848
|
+
"channels": {
|
|
3849
|
+
"description": "Comma-separated channel IDs",
|
|
3850
|
+
"name": "channels",
|
|
3851
|
+
"hasDynamicHelp": false,
|
|
3852
|
+
"multiple": false,
|
|
3853
|
+
"type": "option"
|
|
3854
|
+
},
|
|
3855
|
+
"search": {
|
|
3856
|
+
"description": "Search chats",
|
|
3857
|
+
"name": "search",
|
|
3858
|
+
"hasDynamicHelp": false,
|
|
3859
|
+
"multiple": false,
|
|
3860
|
+
"type": "option"
|
|
3861
|
+
},
|
|
3862
|
+
"status": {
|
|
3863
|
+
"description": "Chat status",
|
|
3864
|
+
"name": "status",
|
|
3865
|
+
"hasDynamicHelp": false,
|
|
3866
|
+
"multiple": false,
|
|
3867
|
+
"options": [
|
|
3868
|
+
"all",
|
|
3869
|
+
"unread",
|
|
3870
|
+
"read",
|
|
3871
|
+
"archived"
|
|
3872
|
+
],
|
|
3873
|
+
"type": "option"
|
|
3874
|
+
},
|
|
3875
|
+
"unread-only": {
|
|
3876
|
+
"description": "Only unread chats",
|
|
3877
|
+
"name": "unread-only",
|
|
3878
|
+
"allowNo": false,
|
|
3879
|
+
"type": "boolean"
|
|
3880
|
+
},
|
|
3881
|
+
"include-archived": {
|
|
3882
|
+
"description": "Include archived chats",
|
|
3883
|
+
"name": "include-archived",
|
|
3884
|
+
"allowNo": false,
|
|
3885
|
+
"type": "boolean"
|
|
3886
|
+
}
|
|
3887
|
+
},
|
|
3888
|
+
"hasDynamicHelp": false,
|
|
3889
|
+
"hiddenAliases": [],
|
|
3890
|
+
"id": "chats:list",
|
|
3891
|
+
"pluginAlias": "@instantkom/cli",
|
|
3892
|
+
"pluginName": "@instantkom/cli",
|
|
3893
|
+
"pluginType": "core",
|
|
3894
|
+
"strict": true,
|
|
3895
|
+
"enableJsonFlag": false,
|
|
3896
|
+
"isESM": true,
|
|
3897
|
+
"relativePath": [
|
|
3898
|
+
"dist",
|
|
3899
|
+
"commands",
|
|
3900
|
+
"chats",
|
|
3901
|
+
"list.js"
|
|
3902
|
+
]
|
|
3903
|
+
},
|
|
3904
|
+
"chats:reply": {
|
|
3905
|
+
"aliases": [],
|
|
3906
|
+
"args": {
|
|
3907
|
+
"id": {
|
|
3908
|
+
"description": "Chat ID",
|
|
3909
|
+
"name": "id",
|
|
3910
|
+
"required": true
|
|
3911
|
+
}
|
|
3912
|
+
},
|
|
3913
|
+
"description": "Reply in a chat",
|
|
3914
|
+
"flags": {
|
|
3915
|
+
"api-key": {
|
|
3916
|
+
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
3917
|
+
"env": "IKM_API_KEY",
|
|
3918
|
+
"helpGroup": "GLOBAL",
|
|
3919
|
+
"name": "api-key",
|
|
3920
|
+
"hasDynamicHelp": false,
|
|
3921
|
+
"multiple": false,
|
|
3922
|
+
"type": "option"
|
|
3923
|
+
},
|
|
3924
|
+
"format": {
|
|
3925
|
+
"description": "Output format: text, json, yaml, or table",
|
|
3926
|
+
"helpGroup": "GLOBAL",
|
|
3927
|
+
"name": "format",
|
|
3928
|
+
"default": "text",
|
|
3929
|
+
"hasDynamicHelp": false,
|
|
3930
|
+
"multiple": false,
|
|
3931
|
+
"options": [
|
|
3932
|
+
"text",
|
|
3933
|
+
"json",
|
|
3934
|
+
"yaml",
|
|
3935
|
+
"table"
|
|
3936
|
+
],
|
|
3937
|
+
"type": "option"
|
|
3938
|
+
},
|
|
3939
|
+
"json": {
|
|
3940
|
+
"description": "Output in JSON format (alias for --format=json)",
|
|
3941
|
+
"helpGroup": "GLOBAL",
|
|
3942
|
+
"name": "json",
|
|
3943
|
+
"allowNo": false,
|
|
3944
|
+
"type": "boolean"
|
|
3945
|
+
},
|
|
3946
|
+
"quiet": {
|
|
3947
|
+
"description": "Suppress all output except errors",
|
|
3948
|
+
"helpGroup": "GLOBAL",
|
|
3949
|
+
"name": "quiet",
|
|
3950
|
+
"allowNo": false,
|
|
3951
|
+
"type": "boolean"
|
|
3952
|
+
},
|
|
3953
|
+
"no-color": {
|
|
3954
|
+
"description": "Disable color output",
|
|
3955
|
+
"helpGroup": "GLOBAL",
|
|
3956
|
+
"name": "no-color",
|
|
3957
|
+
"allowNo": false,
|
|
3958
|
+
"type": "boolean"
|
|
3959
|
+
},
|
|
3960
|
+
"profile": {
|
|
3961
|
+
"description": "Named configuration profile to use",
|
|
3962
|
+
"helpGroup": "GLOBAL",
|
|
3963
|
+
"name": "profile",
|
|
3964
|
+
"default": "default",
|
|
3965
|
+
"hasDynamicHelp": false,
|
|
3966
|
+
"multiple": false,
|
|
3967
|
+
"type": "option"
|
|
3968
|
+
},
|
|
3969
|
+
"api-url": {
|
|
3970
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
3971
|
+
"helpGroup": "GLOBAL",
|
|
3972
|
+
"name": "api-url",
|
|
3973
|
+
"hasDynamicHelp": false,
|
|
3974
|
+
"multiple": false,
|
|
3975
|
+
"type": "option"
|
|
3976
|
+
},
|
|
3977
|
+
"text": {
|
|
3978
|
+
"description": "Reply text",
|
|
3979
|
+
"name": "text",
|
|
3980
|
+
"required": true,
|
|
3981
|
+
"hasDynamicHelp": false,
|
|
3982
|
+
"multiple": false,
|
|
3983
|
+
"type": "option"
|
|
3984
|
+
}
|
|
3985
|
+
},
|
|
3986
|
+
"hasDynamicHelp": false,
|
|
3987
|
+
"hiddenAliases": [],
|
|
3988
|
+
"id": "chats:reply",
|
|
3989
|
+
"pluginAlias": "@instantkom/cli",
|
|
3990
|
+
"pluginName": "@instantkom/cli",
|
|
3991
|
+
"pluginType": "core",
|
|
3992
|
+
"strict": true,
|
|
3993
|
+
"enableJsonFlag": false,
|
|
3994
|
+
"isESM": true,
|
|
3995
|
+
"relativePath": [
|
|
3996
|
+
"dist",
|
|
3997
|
+
"commands",
|
|
3998
|
+
"chats",
|
|
3999
|
+
"reply.js"
|
|
4000
|
+
]
|
|
4001
|
+
},
|
|
4002
|
+
"contacts:create": {
|
|
4003
|
+
"aliases": [],
|
|
4004
|
+
"args": {},
|
|
4005
|
+
"description": "Create a contact",
|
|
4006
|
+
"flags": {
|
|
4007
|
+
"api-key": {
|
|
4008
|
+
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
4009
|
+
"env": "IKM_API_KEY",
|
|
4010
|
+
"helpGroup": "GLOBAL",
|
|
4011
|
+
"name": "api-key",
|
|
4012
|
+
"hasDynamicHelp": false,
|
|
4013
|
+
"multiple": false,
|
|
4014
|
+
"type": "option"
|
|
4015
|
+
},
|
|
4016
|
+
"format": {
|
|
4017
|
+
"description": "Output format: text, json, yaml, or table",
|
|
4018
|
+
"helpGroup": "GLOBAL",
|
|
4019
|
+
"name": "format",
|
|
4020
|
+
"default": "text",
|
|
4021
|
+
"hasDynamicHelp": false,
|
|
4022
|
+
"multiple": false,
|
|
4023
|
+
"options": [
|
|
4024
|
+
"text",
|
|
4025
|
+
"json",
|
|
4026
|
+
"yaml",
|
|
4027
|
+
"table"
|
|
4028
|
+
],
|
|
4029
|
+
"type": "option"
|
|
4030
|
+
},
|
|
4031
|
+
"json": {
|
|
4032
|
+
"description": "Output in JSON format (alias for --format=json)",
|
|
4033
4033
|
"helpGroup": "GLOBAL",
|
|
4034
4034
|
"name": "json",
|
|
4035
4035
|
"allowNo": false,
|
|
@@ -6076,10 +6076,10 @@
|
|
|
6076
6076
|
"list.js"
|
|
6077
6077
|
]
|
|
6078
6078
|
},
|
|
6079
|
-
"
|
|
6079
|
+
"flows:create": {
|
|
6080
6080
|
"aliases": [],
|
|
6081
6081
|
"args": {},
|
|
6082
|
-
"description": "
|
|
6082
|
+
"description": "Create a flow",
|
|
6083
6083
|
"flags": {
|
|
6084
6084
|
"api-key": {
|
|
6085
6085
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6143,24 +6143,54 @@
|
|
|
6143
6143
|
"multiple": false,
|
|
6144
6144
|
"type": "option"
|
|
6145
6145
|
},
|
|
6146
|
-
"
|
|
6147
|
-
"description": "
|
|
6148
|
-
"name": "
|
|
6146
|
+
"channel": {
|
|
6147
|
+
"description": "Channel ID",
|
|
6148
|
+
"name": "channel",
|
|
6149
6149
|
"required": true,
|
|
6150
6150
|
"hasDynamicHelp": false,
|
|
6151
6151
|
"multiple": false,
|
|
6152
6152
|
"type": "option"
|
|
6153
6153
|
},
|
|
6154
|
-
"
|
|
6155
|
-
"description": "
|
|
6156
|
-
"name": "
|
|
6157
|
-
"
|
|
6158
|
-
"
|
|
6154
|
+
"name": {
|
|
6155
|
+
"description": "Flow name",
|
|
6156
|
+
"name": "name",
|
|
6157
|
+
"required": true,
|
|
6158
|
+
"hasDynamicHelp": false,
|
|
6159
|
+
"multiple": false,
|
|
6160
|
+
"type": "option"
|
|
6161
|
+
},
|
|
6162
|
+
"description": {
|
|
6163
|
+
"description": "Flow description",
|
|
6164
|
+
"name": "description",
|
|
6165
|
+
"hasDynamicHelp": false,
|
|
6166
|
+
"multiple": false,
|
|
6167
|
+
"type": "option"
|
|
6168
|
+
},
|
|
6169
|
+
"color": {
|
|
6170
|
+
"description": "Flow color as HEX",
|
|
6171
|
+
"name": "color",
|
|
6172
|
+
"hasDynamicHelp": false,
|
|
6173
|
+
"multiple": false,
|
|
6174
|
+
"type": "option"
|
|
6175
|
+
},
|
|
6176
|
+
"folder": {
|
|
6177
|
+
"description": "Folder ID",
|
|
6178
|
+
"name": "folder",
|
|
6179
|
+
"hasDynamicHelp": false,
|
|
6180
|
+
"multiple": false,
|
|
6181
|
+
"type": "option"
|
|
6182
|
+
},
|
|
6183
|
+
"data": {
|
|
6184
|
+
"description": "Additional JSON object payload",
|
|
6185
|
+
"name": "data",
|
|
6186
|
+
"hasDynamicHelp": false,
|
|
6187
|
+
"multiple": false,
|
|
6188
|
+
"type": "option"
|
|
6159
6189
|
}
|
|
6160
6190
|
},
|
|
6161
6191
|
"hasDynamicHelp": false,
|
|
6162
6192
|
"hiddenAliases": [],
|
|
6163
|
-
"id": "
|
|
6193
|
+
"id": "flows:create",
|
|
6164
6194
|
"pluginAlias": "@instantkom/cli",
|
|
6165
6195
|
"pluginName": "@instantkom/cli",
|
|
6166
6196
|
"pluginType": "core",
|
|
@@ -6170,20 +6200,20 @@
|
|
|
6170
6200
|
"relativePath": [
|
|
6171
6201
|
"dist",
|
|
6172
6202
|
"commands",
|
|
6173
|
-
"
|
|
6174
|
-
"
|
|
6203
|
+
"flows",
|
|
6204
|
+
"create.js"
|
|
6175
6205
|
]
|
|
6176
6206
|
},
|
|
6177
|
-
"
|
|
6207
|
+
"flows:delete": {
|
|
6178
6208
|
"aliases": [],
|
|
6179
6209
|
"args": {
|
|
6180
6210
|
"id": {
|
|
6181
|
-
"description": "
|
|
6211
|
+
"description": "Flow ID",
|
|
6182
6212
|
"name": "id",
|
|
6183
6213
|
"required": true
|
|
6184
6214
|
}
|
|
6185
6215
|
},
|
|
6186
|
-
"description": "
|
|
6216
|
+
"description": "Delete a flow",
|
|
6187
6217
|
"flags": {
|
|
6188
6218
|
"api-key": {
|
|
6189
6219
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6246,32 +6276,11 @@
|
|
|
6246
6276
|
"hasDynamicHelp": false,
|
|
6247
6277
|
"multiple": false,
|
|
6248
6278
|
"type": "option"
|
|
6249
|
-
},
|
|
6250
|
-
"subject": {
|
|
6251
|
-
"description": "Ticket subject",
|
|
6252
|
-
"name": "subject",
|
|
6253
|
-
"hasDynamicHelp": false,
|
|
6254
|
-
"multiple": false,
|
|
6255
|
-
"type": "option"
|
|
6256
|
-
},
|
|
6257
|
-
"priority": {
|
|
6258
|
-
"description": "Ticket priority",
|
|
6259
|
-
"name": "priority",
|
|
6260
|
-
"hasDynamicHelp": false,
|
|
6261
|
-
"multiple": false,
|
|
6262
|
-
"type": "option"
|
|
6263
|
-
},
|
|
6264
|
-
"data": {
|
|
6265
|
-
"description": "Additional JSON object payload",
|
|
6266
|
-
"name": "data",
|
|
6267
|
-
"hasDynamicHelp": false,
|
|
6268
|
-
"multiple": false,
|
|
6269
|
-
"type": "option"
|
|
6270
6279
|
}
|
|
6271
6280
|
},
|
|
6272
6281
|
"hasDynamicHelp": false,
|
|
6273
6282
|
"hiddenAliases": [],
|
|
6274
|
-
"id": "
|
|
6283
|
+
"id": "flows:delete",
|
|
6275
6284
|
"pluginAlias": "@instantkom/cli",
|
|
6276
6285
|
"pluginName": "@instantkom/cli",
|
|
6277
6286
|
"pluginType": "core",
|
|
@@ -6281,20 +6290,20 @@
|
|
|
6281
6290
|
"relativePath": [
|
|
6282
6291
|
"dist",
|
|
6283
6292
|
"commands",
|
|
6284
|
-
"
|
|
6285
|
-
"
|
|
6293
|
+
"flows",
|
|
6294
|
+
"delete.js"
|
|
6286
6295
|
]
|
|
6287
6296
|
},
|
|
6288
|
-
"
|
|
6297
|
+
"flows:get": {
|
|
6289
6298
|
"aliases": [],
|
|
6290
6299
|
"args": {
|
|
6291
6300
|
"id": {
|
|
6292
|
-
"description": "
|
|
6301
|
+
"description": "Flow ID",
|
|
6293
6302
|
"name": "id",
|
|
6294
6303
|
"required": true
|
|
6295
6304
|
}
|
|
6296
6305
|
},
|
|
6297
|
-
"description": "
|
|
6306
|
+
"description": "Get a flow by ID",
|
|
6298
6307
|
"flags": {
|
|
6299
6308
|
"api-key": {
|
|
6300
6309
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6361,7 +6370,7 @@
|
|
|
6361
6370
|
},
|
|
6362
6371
|
"hasDynamicHelp": false,
|
|
6363
6372
|
"hiddenAliases": [],
|
|
6364
|
-
"id": "
|
|
6373
|
+
"id": "flows:get",
|
|
6365
6374
|
"pluginAlias": "@instantkom/cli",
|
|
6366
6375
|
"pluginName": "@instantkom/cli",
|
|
6367
6376
|
"pluginType": "core",
|
|
@@ -6371,20 +6380,14 @@
|
|
|
6371
6380
|
"relativePath": [
|
|
6372
6381
|
"dist",
|
|
6373
6382
|
"commands",
|
|
6374
|
-
"
|
|
6375
|
-
"
|
|
6383
|
+
"flows",
|
|
6384
|
+
"get.js"
|
|
6376
6385
|
]
|
|
6377
6386
|
},
|
|
6378
|
-
"
|
|
6387
|
+
"flows:list": {
|
|
6379
6388
|
"aliases": [],
|
|
6380
|
-
"args": {
|
|
6381
|
-
|
|
6382
|
-
"description": "message ID",
|
|
6383
|
-
"name": "id",
|
|
6384
|
-
"required": true
|
|
6385
|
-
}
|
|
6386
|
-
},
|
|
6387
|
-
"description": "Get message by ID",
|
|
6389
|
+
"args": {},
|
|
6390
|
+
"description": "List flows",
|
|
6388
6391
|
"flags": {
|
|
6389
6392
|
"api-key": {
|
|
6390
6393
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6447,11 +6450,48 @@
|
|
|
6447
6450
|
"hasDynamicHelp": false,
|
|
6448
6451
|
"multiple": false,
|
|
6449
6452
|
"type": "option"
|
|
6453
|
+
},
|
|
6454
|
+
"page": {
|
|
6455
|
+
"description": "Page number",
|
|
6456
|
+
"name": "page",
|
|
6457
|
+
"default": 1,
|
|
6458
|
+
"hasDynamicHelp": false,
|
|
6459
|
+
"multiple": false,
|
|
6460
|
+
"type": "option"
|
|
6461
|
+
},
|
|
6462
|
+
"limit": {
|
|
6463
|
+
"description": "Items per page",
|
|
6464
|
+
"name": "limit",
|
|
6465
|
+
"default": 20,
|
|
6466
|
+
"hasDynamicHelp": false,
|
|
6467
|
+
"multiple": false,
|
|
6468
|
+
"type": "option"
|
|
6469
|
+
},
|
|
6470
|
+
"channel": {
|
|
6471
|
+
"description": "Filter by channel ID",
|
|
6472
|
+
"name": "channel",
|
|
6473
|
+
"hasDynamicHelp": false,
|
|
6474
|
+
"multiple": false,
|
|
6475
|
+
"type": "option"
|
|
6476
|
+
},
|
|
6477
|
+
"search": {
|
|
6478
|
+
"description": "Search in flow name or description",
|
|
6479
|
+
"name": "search",
|
|
6480
|
+
"hasDynamicHelp": false,
|
|
6481
|
+
"multiple": false,
|
|
6482
|
+
"type": "option"
|
|
6483
|
+
},
|
|
6484
|
+
"folder": {
|
|
6485
|
+
"description": "Filter by folder ID",
|
|
6486
|
+
"name": "folder",
|
|
6487
|
+
"hasDynamicHelp": false,
|
|
6488
|
+
"multiple": false,
|
|
6489
|
+
"type": "option"
|
|
6450
6490
|
}
|
|
6451
6491
|
},
|
|
6452
6492
|
"hasDynamicHelp": false,
|
|
6453
6493
|
"hiddenAliases": [],
|
|
6454
|
-
"id": "
|
|
6494
|
+
"id": "flows:list",
|
|
6455
6495
|
"pluginAlias": "@instantkom/cli",
|
|
6456
6496
|
"pluginName": "@instantkom/cli",
|
|
6457
6497
|
"pluginType": "core",
|
|
@@ -6461,14 +6501,20 @@
|
|
|
6461
6501
|
"relativePath": [
|
|
6462
6502
|
"dist",
|
|
6463
6503
|
"commands",
|
|
6464
|
-
"
|
|
6465
|
-
"
|
|
6504
|
+
"flows",
|
|
6505
|
+
"list.js"
|
|
6466
6506
|
]
|
|
6467
6507
|
},
|
|
6468
|
-
"
|
|
6508
|
+
"flows:update": {
|
|
6469
6509
|
"aliases": [],
|
|
6470
|
-
"args": {
|
|
6471
|
-
|
|
6510
|
+
"args": {
|
|
6511
|
+
"id": {
|
|
6512
|
+
"description": "Flow ID",
|
|
6513
|
+
"name": "id",
|
|
6514
|
+
"required": true
|
|
6515
|
+
}
|
|
6516
|
+
},
|
|
6517
|
+
"description": "Update a flow",
|
|
6472
6518
|
"flags": {
|
|
6473
6519
|
"api-key": {
|
|
6474
6520
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6532,71 +6578,45 @@
|
|
|
6532
6578
|
"multiple": false,
|
|
6533
6579
|
"type": "option"
|
|
6534
6580
|
},
|
|
6535
|
-
"
|
|
6536
|
-
"description": "
|
|
6537
|
-
"name": "
|
|
6538
|
-
"default": 1,
|
|
6539
|
-
"hasDynamicHelp": false,
|
|
6540
|
-
"multiple": false,
|
|
6541
|
-
"type": "option"
|
|
6542
|
-
},
|
|
6543
|
-
"limit": {
|
|
6544
|
-
"description": "Items per page",
|
|
6545
|
-
"name": "limit",
|
|
6546
|
-
"default": 20,
|
|
6547
|
-
"hasDynamicHelp": false,
|
|
6548
|
-
"multiple": false,
|
|
6549
|
-
"type": "option"
|
|
6550
|
-
},
|
|
6551
|
-
"channel": {
|
|
6552
|
-
"description": "Filter by channel ID",
|
|
6553
|
-
"name": "channel",
|
|
6581
|
+
"name": {
|
|
6582
|
+
"description": "Flow name",
|
|
6583
|
+
"name": "name",
|
|
6554
6584
|
"hasDynamicHelp": false,
|
|
6555
6585
|
"multiple": false,
|
|
6556
6586
|
"type": "option"
|
|
6557
6587
|
},
|
|
6558
|
-
"
|
|
6559
|
-
"description": "
|
|
6560
|
-
"name": "
|
|
6588
|
+
"description": {
|
|
6589
|
+
"description": "Flow description",
|
|
6590
|
+
"name": "description",
|
|
6561
6591
|
"hasDynamicHelp": false,
|
|
6562
6592
|
"multiple": false,
|
|
6563
6593
|
"type": "option"
|
|
6564
6594
|
},
|
|
6565
|
-
"
|
|
6566
|
-
"description": "
|
|
6567
|
-
"name": "
|
|
6595
|
+
"color": {
|
|
6596
|
+
"description": "Flow color as HEX",
|
|
6597
|
+
"name": "color",
|
|
6568
6598
|
"hasDynamicHelp": false,
|
|
6569
6599
|
"multiple": false,
|
|
6570
|
-
"options": [
|
|
6571
|
-
"s",
|
|
6572
|
-
"r"
|
|
6573
|
-
],
|
|
6574
6600
|
"type": "option"
|
|
6575
6601
|
},
|
|
6576
|
-
"
|
|
6577
|
-
"description": "
|
|
6578
|
-
"name": "
|
|
6602
|
+
"folder": {
|
|
6603
|
+
"description": "Folder ID",
|
|
6604
|
+
"name": "folder",
|
|
6579
6605
|
"hasDynamicHelp": false,
|
|
6580
6606
|
"multiple": false,
|
|
6581
6607
|
"type": "option"
|
|
6582
6608
|
},
|
|
6583
|
-
"
|
|
6584
|
-
"description": "
|
|
6585
|
-
"name": "
|
|
6609
|
+
"data": {
|
|
6610
|
+
"description": "Additional JSON object payload",
|
|
6611
|
+
"name": "data",
|
|
6586
6612
|
"hasDynamicHelp": false,
|
|
6587
6613
|
"multiple": false,
|
|
6588
6614
|
"type": "option"
|
|
6589
|
-
},
|
|
6590
|
-
"spam": {
|
|
6591
|
-
"description": "Filter spam messages",
|
|
6592
|
-
"name": "spam",
|
|
6593
|
-
"allowNo": false,
|
|
6594
|
-
"type": "boolean"
|
|
6595
6615
|
}
|
|
6596
6616
|
},
|
|
6597
6617
|
"hasDynamicHelp": false,
|
|
6598
6618
|
"hiddenAliases": [],
|
|
6599
|
-
"id": "
|
|
6619
|
+
"id": "flows:update",
|
|
6600
6620
|
"pluginAlias": "@instantkom/cli",
|
|
6601
6621
|
"pluginName": "@instantkom/cli",
|
|
6602
6622
|
"pluginType": "core",
|
|
@@ -6606,20 +6626,14 @@
|
|
|
6606
6626
|
"relativePath": [
|
|
6607
6627
|
"dist",
|
|
6608
6628
|
"commands",
|
|
6609
|
-
"
|
|
6610
|
-
"
|
|
6629
|
+
"flows",
|
|
6630
|
+
"update.js"
|
|
6611
6631
|
]
|
|
6612
6632
|
},
|
|
6613
|
-
"messages:
|
|
6633
|
+
"messages:bulk-spam": {
|
|
6614
6634
|
"aliases": [],
|
|
6615
|
-
"args": {
|
|
6616
|
-
|
|
6617
|
-
"description": "Message ID",
|
|
6618
|
-
"name": "id",
|
|
6619
|
-
"required": true
|
|
6620
|
-
}
|
|
6621
|
-
},
|
|
6622
|
-
"description": "Get reactions to a message",
|
|
6635
|
+
"args": {},
|
|
6636
|
+
"description": "Mark or unmark multiple messages as spam",
|
|
6623
6637
|
"flags": {
|
|
6624
6638
|
"api-key": {
|
|
6625
6639
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6682,11 +6696,25 @@
|
|
|
6682
6696
|
"hasDynamicHelp": false,
|
|
6683
6697
|
"multiple": false,
|
|
6684
6698
|
"type": "option"
|
|
6699
|
+
},
|
|
6700
|
+
"ids": {
|
|
6701
|
+
"description": "Comma-separated message IDs",
|
|
6702
|
+
"name": "ids",
|
|
6703
|
+
"required": true,
|
|
6704
|
+
"hasDynamicHelp": false,
|
|
6705
|
+
"multiple": false,
|
|
6706
|
+
"type": "option"
|
|
6707
|
+
},
|
|
6708
|
+
"spam": {
|
|
6709
|
+
"description": "Mark messages as spam",
|
|
6710
|
+
"name": "spam",
|
|
6711
|
+
"allowNo": true,
|
|
6712
|
+
"type": "boolean"
|
|
6685
6713
|
}
|
|
6686
6714
|
},
|
|
6687
6715
|
"hasDynamicHelp": false,
|
|
6688
6716
|
"hiddenAliases": [],
|
|
6689
|
-
"id": "messages:
|
|
6717
|
+
"id": "messages:bulk-spam",
|
|
6690
6718
|
"pluginAlias": "@instantkom/cli",
|
|
6691
6719
|
"pluginName": "@instantkom/cli",
|
|
6692
6720
|
"pluginType": "core",
|
|
@@ -6697,10 +6725,10 @@
|
|
|
6697
6725
|
"dist",
|
|
6698
6726
|
"commands",
|
|
6699
6727
|
"messages",
|
|
6700
|
-
"
|
|
6728
|
+
"bulk-spam.js"
|
|
6701
6729
|
]
|
|
6702
6730
|
},
|
|
6703
|
-
"messages:
|
|
6731
|
+
"messages:create-ticket": {
|
|
6704
6732
|
"aliases": [],
|
|
6705
6733
|
"args": {
|
|
6706
6734
|
"id": {
|
|
@@ -6709,7 +6737,7 @@
|
|
|
6709
6737
|
"required": true
|
|
6710
6738
|
}
|
|
6711
6739
|
},
|
|
6712
|
-
"description": "
|
|
6740
|
+
"description": "Create a ticket from a message",
|
|
6713
6741
|
"flags": {
|
|
6714
6742
|
"api-key": {
|
|
6715
6743
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6773,16 +6801,31 @@
|
|
|
6773
6801
|
"multiple": false,
|
|
6774
6802
|
"type": "option"
|
|
6775
6803
|
},
|
|
6776
|
-
"
|
|
6777
|
-
"description": "
|
|
6778
|
-
"name": "
|
|
6779
|
-
"
|
|
6780
|
-
"
|
|
6804
|
+
"subject": {
|
|
6805
|
+
"description": "Ticket subject",
|
|
6806
|
+
"name": "subject",
|
|
6807
|
+
"hasDynamicHelp": false,
|
|
6808
|
+
"multiple": false,
|
|
6809
|
+
"type": "option"
|
|
6810
|
+
},
|
|
6811
|
+
"priority": {
|
|
6812
|
+
"description": "Ticket priority",
|
|
6813
|
+
"name": "priority",
|
|
6814
|
+
"hasDynamicHelp": false,
|
|
6815
|
+
"multiple": false,
|
|
6816
|
+
"type": "option"
|
|
6817
|
+
},
|
|
6818
|
+
"data": {
|
|
6819
|
+
"description": "Additional JSON object payload",
|
|
6820
|
+
"name": "data",
|
|
6821
|
+
"hasDynamicHelp": false,
|
|
6822
|
+
"multiple": false,
|
|
6823
|
+
"type": "option"
|
|
6781
6824
|
}
|
|
6782
6825
|
},
|
|
6783
6826
|
"hasDynamicHelp": false,
|
|
6784
6827
|
"hiddenAliases": [],
|
|
6785
|
-
"id": "messages:
|
|
6828
|
+
"id": "messages:create-ticket",
|
|
6786
6829
|
"pluginAlias": "@instantkom/cli",
|
|
6787
6830
|
"pluginName": "@instantkom/cli",
|
|
6788
6831
|
"pluginType": "core",
|
|
@@ -6793,13 +6836,19 @@
|
|
|
6793
6836
|
"dist",
|
|
6794
6837
|
"commands",
|
|
6795
6838
|
"messages",
|
|
6796
|
-
"
|
|
6839
|
+
"create-ticket.js"
|
|
6797
6840
|
]
|
|
6798
6841
|
},
|
|
6799
|
-
"messages:
|
|
6842
|
+
"messages:delete": {
|
|
6800
6843
|
"aliases": [],
|
|
6801
|
-
"args": {
|
|
6802
|
-
|
|
6844
|
+
"args": {
|
|
6845
|
+
"id": {
|
|
6846
|
+
"description": "message ID",
|
|
6847
|
+
"name": "id",
|
|
6848
|
+
"required": true
|
|
6849
|
+
}
|
|
6850
|
+
},
|
|
6851
|
+
"description": "Delete message",
|
|
6803
6852
|
"flags": {
|
|
6804
6853
|
"api-key": {
|
|
6805
6854
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6866,7 +6915,7 @@
|
|
|
6866
6915
|
},
|
|
6867
6916
|
"hasDynamicHelp": false,
|
|
6868
6917
|
"hiddenAliases": [],
|
|
6869
|
-
"id": "messages:
|
|
6918
|
+
"id": "messages:delete",
|
|
6870
6919
|
"pluginAlias": "@instantkom/cli",
|
|
6871
6920
|
"pluginName": "@instantkom/cli",
|
|
6872
6921
|
"pluginType": "core",
|
|
@@ -6877,19 +6926,19 @@
|
|
|
6877
6926
|
"dist",
|
|
6878
6927
|
"commands",
|
|
6879
6928
|
"messages",
|
|
6880
|
-
"
|
|
6929
|
+
"delete.js"
|
|
6881
6930
|
]
|
|
6882
6931
|
},
|
|
6883
|
-
"messages:
|
|
6932
|
+
"messages:get": {
|
|
6884
6933
|
"aliases": [],
|
|
6885
6934
|
"args": {
|
|
6886
6935
|
"id": {
|
|
6887
|
-
"description": "
|
|
6936
|
+
"description": "message ID",
|
|
6888
6937
|
"name": "id",
|
|
6889
6938
|
"required": true
|
|
6890
6939
|
}
|
|
6891
6940
|
},
|
|
6892
|
-
"description": "
|
|
6941
|
+
"description": "Get message by ID",
|
|
6893
6942
|
"flags": {
|
|
6894
6943
|
"api-key": {
|
|
6895
6944
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6952,58 +7001,11 @@
|
|
|
6952
7001
|
"hasDynamicHelp": false,
|
|
6953
7002
|
"multiple": false,
|
|
6954
7003
|
"type": "option"
|
|
6955
|
-
},
|
|
6956
|
-
"message": {
|
|
6957
|
-
"description": "Message content",
|
|
6958
|
-
"name": "message",
|
|
6959
|
-
"hasDynamicHelp": false,
|
|
6960
|
-
"multiple": false,
|
|
6961
|
-
"type": "option"
|
|
6962
|
-
},
|
|
6963
|
-
"scheduled-at": {
|
|
6964
|
-
"description": "Unix timestamp for scheduled send",
|
|
6965
|
-
"name": "scheduled-at",
|
|
6966
|
-
"hasDynamicHelp": false,
|
|
6967
|
-
"multiple": false,
|
|
6968
|
-
"type": "option"
|
|
6969
|
-
},
|
|
6970
|
-
"hidden": {
|
|
6971
|
-
"description": "Hide message",
|
|
6972
|
-
"name": "hidden",
|
|
6973
|
-
"allowNo": true,
|
|
6974
|
-
"type": "boolean"
|
|
6975
|
-
},
|
|
6976
|
-
"locked": {
|
|
6977
|
-
"description": "Lock message",
|
|
6978
|
-
"name": "locked",
|
|
6979
|
-
"allowNo": true,
|
|
6980
|
-
"type": "boolean"
|
|
6981
|
-
},
|
|
6982
|
-
"buttons": {
|
|
6983
|
-
"description": "Buttons JSON array",
|
|
6984
|
-
"name": "buttons",
|
|
6985
|
-
"hasDynamicHelp": false,
|
|
6986
|
-
"multiple": false,
|
|
6987
|
-
"type": "option"
|
|
6988
|
-
},
|
|
6989
|
-
"header-footer": {
|
|
6990
|
-
"description": "Header/footer JSON object",
|
|
6991
|
-
"name": "header-footer",
|
|
6992
|
-
"hasDynamicHelp": false,
|
|
6993
|
-
"multiple": false,
|
|
6994
|
-
"type": "option"
|
|
6995
|
-
},
|
|
6996
|
-
"data": {
|
|
6997
|
-
"description": "Additional JSON object payload",
|
|
6998
|
-
"name": "data",
|
|
6999
|
-
"hasDynamicHelp": false,
|
|
7000
|
-
"multiple": false,
|
|
7001
|
-
"type": "option"
|
|
7002
7004
|
}
|
|
7003
7005
|
},
|
|
7004
7006
|
"hasDynamicHelp": false,
|
|
7005
7007
|
"hiddenAliases": [],
|
|
7006
|
-
"id": "messages:
|
|
7008
|
+
"id": "messages:get",
|
|
7007
7009
|
"pluginAlias": "@instantkom/cli",
|
|
7008
7010
|
"pluginName": "@instantkom/cli",
|
|
7009
7011
|
"pluginType": "core",
|
|
@@ -7014,13 +7016,13 @@
|
|
|
7014
7016
|
"dist",
|
|
7015
7017
|
"commands",
|
|
7016
7018
|
"messages",
|
|
7017
|
-
"
|
|
7019
|
+
"get.js"
|
|
7018
7020
|
]
|
|
7019
7021
|
},
|
|
7020
|
-
"
|
|
7022
|
+
"messages:list": {
|
|
7021
7023
|
"aliases": [],
|
|
7022
7024
|
"args": {},
|
|
7023
|
-
"description": "
|
|
7025
|
+
"description": "List messages",
|
|
7024
7026
|
"flags": {
|
|
7025
7027
|
"api-key": {
|
|
7026
7028
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7084,54 +7086,71 @@
|
|
|
7084
7086
|
"multiple": false,
|
|
7085
7087
|
"type": "option"
|
|
7086
7088
|
},
|
|
7087
|
-
"
|
|
7088
|
-
"description": "
|
|
7089
|
-
"name": "
|
|
7090
|
-
"
|
|
7089
|
+
"page": {
|
|
7090
|
+
"description": "Page number",
|
|
7091
|
+
"name": "page",
|
|
7092
|
+
"default": 1,
|
|
7091
7093
|
"hasDynamicHelp": false,
|
|
7092
7094
|
"multiple": false,
|
|
7093
7095
|
"type": "option"
|
|
7094
7096
|
},
|
|
7095
|
-
"
|
|
7096
|
-
"description": "
|
|
7097
|
-
"name": "
|
|
7098
|
-
"
|
|
7097
|
+
"limit": {
|
|
7098
|
+
"description": "Items per page",
|
|
7099
|
+
"name": "limit",
|
|
7100
|
+
"default": 20,
|
|
7099
7101
|
"hasDynamicHelp": false,
|
|
7100
7102
|
"multiple": false,
|
|
7101
7103
|
"type": "option"
|
|
7102
7104
|
},
|
|
7103
|
-
"
|
|
7104
|
-
"description": "
|
|
7105
|
-
"name": "
|
|
7105
|
+
"channel": {
|
|
7106
|
+
"description": "Filter by channel ID",
|
|
7107
|
+
"name": "channel",
|
|
7106
7108
|
"hasDynamicHelp": false,
|
|
7107
7109
|
"multiple": false,
|
|
7108
7110
|
"type": "option"
|
|
7109
7111
|
},
|
|
7110
|
-
"
|
|
7111
|
-
"description": "
|
|
7112
|
-
"name": "
|
|
7112
|
+
"recipient": {
|
|
7113
|
+
"description": "Filter by recipient ID",
|
|
7114
|
+
"name": "recipient",
|
|
7113
7115
|
"hasDynamicHelp": false,
|
|
7114
7116
|
"multiple": false,
|
|
7115
7117
|
"type": "option"
|
|
7116
7118
|
},
|
|
7117
|
-
"
|
|
7118
|
-
"description": "
|
|
7119
|
-
"name": "
|
|
7119
|
+
"direction": {
|
|
7120
|
+
"description": "Direction",
|
|
7121
|
+
"name": "direction",
|
|
7120
7122
|
"hasDynamicHelp": false,
|
|
7121
7123
|
"multiple": false,
|
|
7124
|
+
"options": [
|
|
7125
|
+
"s",
|
|
7126
|
+
"r"
|
|
7127
|
+
],
|
|
7122
7128
|
"type": "option"
|
|
7123
7129
|
},
|
|
7124
|
-
"
|
|
7125
|
-
"description": "
|
|
7126
|
-
"name": "
|
|
7130
|
+
"type": {
|
|
7131
|
+
"description": "Message type",
|
|
7132
|
+
"name": "type",
|
|
7133
|
+
"hasDynamicHelp": false,
|
|
7134
|
+
"multiple": false,
|
|
7135
|
+
"type": "option"
|
|
7136
|
+
},
|
|
7137
|
+
"search": {
|
|
7138
|
+
"description": "Search messages",
|
|
7139
|
+
"name": "search",
|
|
7127
7140
|
"hasDynamicHelp": false,
|
|
7128
7141
|
"multiple": false,
|
|
7129
7142
|
"type": "option"
|
|
7143
|
+
},
|
|
7144
|
+
"spam": {
|
|
7145
|
+
"description": "Filter spam messages",
|
|
7146
|
+
"name": "spam",
|
|
7147
|
+
"allowNo": false,
|
|
7148
|
+
"type": "boolean"
|
|
7130
7149
|
}
|
|
7131
7150
|
},
|
|
7132
7151
|
"hasDynamicHelp": false,
|
|
7133
7152
|
"hiddenAliases": [],
|
|
7134
|
-
"id": "
|
|
7153
|
+
"id": "messages:list",
|
|
7135
7154
|
"pluginAlias": "@instantkom/cli",
|
|
7136
7155
|
"pluginName": "@instantkom/cli",
|
|
7137
7156
|
"pluginType": "core",
|
|
@@ -7141,20 +7160,20 @@
|
|
|
7141
7160
|
"relativePath": [
|
|
7142
7161
|
"dist",
|
|
7143
7162
|
"commands",
|
|
7144
|
-
"
|
|
7145
|
-
"
|
|
7163
|
+
"messages",
|
|
7164
|
+
"list.js"
|
|
7146
7165
|
]
|
|
7147
7166
|
},
|
|
7148
|
-
"
|
|
7167
|
+
"messages:reactions": {
|
|
7149
7168
|
"aliases": [],
|
|
7150
7169
|
"args": {
|
|
7151
7170
|
"id": {
|
|
7152
|
-
"description": "
|
|
7171
|
+
"description": "Message ID",
|
|
7153
7172
|
"name": "id",
|
|
7154
7173
|
"required": true
|
|
7155
7174
|
}
|
|
7156
7175
|
},
|
|
7157
|
-
"description": "
|
|
7176
|
+
"description": "Get reactions to a message",
|
|
7158
7177
|
"flags": {
|
|
7159
7178
|
"api-key": {
|
|
7160
7179
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7221,7 +7240,7 @@
|
|
|
7221
7240
|
},
|
|
7222
7241
|
"hasDynamicHelp": false,
|
|
7223
7242
|
"hiddenAliases": [],
|
|
7224
|
-
"id": "
|
|
7243
|
+
"id": "messages:reactions",
|
|
7225
7244
|
"pluginAlias": "@instantkom/cli",
|
|
7226
7245
|
"pluginName": "@instantkom/cli",
|
|
7227
7246
|
"pluginType": "core",
|
|
@@ -7231,20 +7250,20 @@
|
|
|
7231
7250
|
"relativePath": [
|
|
7232
7251
|
"dist",
|
|
7233
7252
|
"commands",
|
|
7234
|
-
"
|
|
7235
|
-
"
|
|
7253
|
+
"messages",
|
|
7254
|
+
"reactions.js"
|
|
7236
7255
|
]
|
|
7237
7256
|
},
|
|
7238
|
-
"
|
|
7257
|
+
"messages:spam": {
|
|
7239
7258
|
"aliases": [],
|
|
7240
7259
|
"args": {
|
|
7241
7260
|
"id": {
|
|
7242
|
-
"description": "
|
|
7261
|
+
"description": "Message ID",
|
|
7243
7262
|
"name": "id",
|
|
7244
7263
|
"required": true
|
|
7245
7264
|
}
|
|
7246
7265
|
},
|
|
7247
|
-
"description": "
|
|
7266
|
+
"description": "Mark or unmark a message as spam",
|
|
7248
7267
|
"flags": {
|
|
7249
7268
|
"api-key": {
|
|
7250
7269
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7307,11 +7326,17 @@
|
|
|
7307
7326
|
"hasDynamicHelp": false,
|
|
7308
7327
|
"multiple": false,
|
|
7309
7328
|
"type": "option"
|
|
7329
|
+
},
|
|
7330
|
+
"spam": {
|
|
7331
|
+
"description": "Mark as spam",
|
|
7332
|
+
"name": "spam",
|
|
7333
|
+
"allowNo": true,
|
|
7334
|
+
"type": "boolean"
|
|
7310
7335
|
}
|
|
7311
7336
|
},
|
|
7312
7337
|
"hasDynamicHelp": false,
|
|
7313
7338
|
"hiddenAliases": [],
|
|
7314
|
-
"id": "
|
|
7339
|
+
"id": "messages:spam",
|
|
7315
7340
|
"pluginAlias": "@instantkom/cli",
|
|
7316
7341
|
"pluginName": "@instantkom/cli",
|
|
7317
7342
|
"pluginType": "core",
|
|
@@ -7321,14 +7346,14 @@
|
|
|
7321
7346
|
"relativePath": [
|
|
7322
7347
|
"dist",
|
|
7323
7348
|
"commands",
|
|
7324
|
-
"
|
|
7325
|
-
"
|
|
7349
|
+
"messages",
|
|
7350
|
+
"spam.js"
|
|
7326
7351
|
]
|
|
7327
7352
|
},
|
|
7328
|
-
"
|
|
7353
|
+
"messages:unread-count": {
|
|
7329
7354
|
"aliases": [],
|
|
7330
7355
|
"args": {},
|
|
7331
|
-
"description": "
|
|
7356
|
+
"description": "Get unread inbox message count",
|
|
7332
7357
|
"flags": {
|
|
7333
7358
|
"api-key": {
|
|
7334
7359
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7391,48 +7416,11 @@
|
|
|
7391
7416
|
"hasDynamicHelp": false,
|
|
7392
7417
|
"multiple": false,
|
|
7393
7418
|
"type": "option"
|
|
7394
|
-
},
|
|
7395
|
-
"page": {
|
|
7396
|
-
"description": "Page number",
|
|
7397
|
-
"name": "page",
|
|
7398
|
-
"default": 1,
|
|
7399
|
-
"hasDynamicHelp": false,
|
|
7400
|
-
"multiple": false,
|
|
7401
|
-
"type": "option"
|
|
7402
|
-
},
|
|
7403
|
-
"limit": {
|
|
7404
|
-
"description": "Items per page",
|
|
7405
|
-
"name": "limit",
|
|
7406
|
-
"default": 20,
|
|
7407
|
-
"hasDynamicHelp": false,
|
|
7408
|
-
"multiple": false,
|
|
7409
|
-
"type": "option"
|
|
7410
|
-
},
|
|
7411
|
-
"channel": {
|
|
7412
|
-
"description": "Filter by channel ID",
|
|
7413
|
-
"name": "channel",
|
|
7414
|
-
"hasDynamicHelp": false,
|
|
7415
|
-
"multiple": false,
|
|
7416
|
-
"type": "option"
|
|
7417
|
-
},
|
|
7418
|
-
"search": {
|
|
7419
|
-
"description": "Search in flow name or description",
|
|
7420
|
-
"name": "search",
|
|
7421
|
-
"hasDynamicHelp": false,
|
|
7422
|
-
"multiple": false,
|
|
7423
|
-
"type": "option"
|
|
7424
|
-
},
|
|
7425
|
-
"folder": {
|
|
7426
|
-
"description": "Filter by folder ID",
|
|
7427
|
-
"name": "folder",
|
|
7428
|
-
"hasDynamicHelp": false,
|
|
7429
|
-
"multiple": false,
|
|
7430
|
-
"type": "option"
|
|
7431
7419
|
}
|
|
7432
7420
|
},
|
|
7433
7421
|
"hasDynamicHelp": false,
|
|
7434
7422
|
"hiddenAliases": [],
|
|
7435
|
-
"id": "
|
|
7423
|
+
"id": "messages:unread-count",
|
|
7436
7424
|
"pluginAlias": "@instantkom/cli",
|
|
7437
7425
|
"pluginName": "@instantkom/cli",
|
|
7438
7426
|
"pluginType": "core",
|
|
@@ -7442,20 +7430,20 @@
|
|
|
7442
7430
|
"relativePath": [
|
|
7443
7431
|
"dist",
|
|
7444
7432
|
"commands",
|
|
7445
|
-
"
|
|
7446
|
-
"
|
|
7433
|
+
"messages",
|
|
7434
|
+
"unread-count.js"
|
|
7447
7435
|
]
|
|
7448
7436
|
},
|
|
7449
|
-
"
|
|
7437
|
+
"messages:update": {
|
|
7450
7438
|
"aliases": [],
|
|
7451
7439
|
"args": {
|
|
7452
7440
|
"id": {
|
|
7453
|
-
"description": "
|
|
7441
|
+
"description": "Message ID",
|
|
7454
7442
|
"name": "id",
|
|
7455
7443
|
"required": true
|
|
7456
7444
|
}
|
|
7457
7445
|
},
|
|
7458
|
-
"description": "Update a
|
|
7446
|
+
"description": "Update a message",
|
|
7459
7447
|
"flags": {
|
|
7460
7448
|
"api-key": {
|
|
7461
7449
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7519,30 +7507,42 @@
|
|
|
7519
7507
|
"multiple": false,
|
|
7520
7508
|
"type": "option"
|
|
7521
7509
|
},
|
|
7522
|
-
"
|
|
7523
|
-
"description": "
|
|
7524
|
-
"name": "
|
|
7510
|
+
"message": {
|
|
7511
|
+
"description": "Message content",
|
|
7512
|
+
"name": "message",
|
|
7525
7513
|
"hasDynamicHelp": false,
|
|
7526
7514
|
"multiple": false,
|
|
7527
7515
|
"type": "option"
|
|
7528
7516
|
},
|
|
7529
|
-
"
|
|
7530
|
-
"description": "
|
|
7531
|
-
"name": "
|
|
7517
|
+
"scheduled-at": {
|
|
7518
|
+
"description": "Unix timestamp for scheduled send",
|
|
7519
|
+
"name": "scheduled-at",
|
|
7532
7520
|
"hasDynamicHelp": false,
|
|
7533
7521
|
"multiple": false,
|
|
7534
7522
|
"type": "option"
|
|
7535
7523
|
},
|
|
7536
|
-
"
|
|
7537
|
-
"description": "
|
|
7538
|
-
"name": "
|
|
7524
|
+
"hidden": {
|
|
7525
|
+
"description": "Hide message",
|
|
7526
|
+
"name": "hidden",
|
|
7527
|
+
"allowNo": true,
|
|
7528
|
+
"type": "boolean"
|
|
7529
|
+
},
|
|
7530
|
+
"locked": {
|
|
7531
|
+
"description": "Lock message",
|
|
7532
|
+
"name": "locked",
|
|
7533
|
+
"allowNo": true,
|
|
7534
|
+
"type": "boolean"
|
|
7535
|
+
},
|
|
7536
|
+
"buttons": {
|
|
7537
|
+
"description": "Buttons JSON array",
|
|
7538
|
+
"name": "buttons",
|
|
7539
7539
|
"hasDynamicHelp": false,
|
|
7540
7540
|
"multiple": false,
|
|
7541
7541
|
"type": "option"
|
|
7542
7542
|
},
|
|
7543
|
-
"
|
|
7544
|
-
"description": "
|
|
7545
|
-
"name": "
|
|
7543
|
+
"header-footer": {
|
|
7544
|
+
"description": "Header/footer JSON object",
|
|
7545
|
+
"name": "header-footer",
|
|
7546
7546
|
"hasDynamicHelp": false,
|
|
7547
7547
|
"multiple": false,
|
|
7548
7548
|
"type": "option"
|
|
@@ -7557,7 +7557,7 @@
|
|
|
7557
7557
|
},
|
|
7558
7558
|
"hasDynamicHelp": false,
|
|
7559
7559
|
"hiddenAliases": [],
|
|
7560
|
-
"id": "
|
|
7560
|
+
"id": "messages:update",
|
|
7561
7561
|
"pluginAlias": "@instantkom/cli",
|
|
7562
7562
|
"pluginName": "@instantkom/cli",
|
|
7563
7563
|
"pluginType": "core",
|
|
@@ -7567,7 +7567,7 @@
|
|
|
7567
7567
|
"relativePath": [
|
|
7568
7568
|
"dist",
|
|
7569
7569
|
"commands",
|
|
7570
|
-
"
|
|
7570
|
+
"messages",
|
|
7571
7571
|
"update.js"
|
|
7572
7572
|
]
|
|
7573
7573
|
},
|
|
@@ -9293,10 +9293,10 @@
|
|
|
9293
9293
|
"list.js"
|
|
9294
9294
|
]
|
|
9295
9295
|
},
|
|
9296
|
-
"
|
|
9296
|
+
"tickets:create": {
|
|
9297
9297
|
"aliases": [],
|
|
9298
9298
|
"args": {},
|
|
9299
|
-
"description": "Create a
|
|
9299
|
+
"description": "Create a ticket",
|
|
9300
9300
|
"flags": {
|
|
9301
9301
|
"api-key": {
|
|
9302
9302
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9368,70 +9368,45 @@
|
|
|
9368
9368
|
"multiple": false,
|
|
9369
9369
|
"type": "option"
|
|
9370
9370
|
},
|
|
9371
|
-
"
|
|
9372
|
-
"description": "
|
|
9373
|
-
"name": "
|
|
9371
|
+
"subject": {
|
|
9372
|
+
"description": "Ticket subject",
|
|
9373
|
+
"name": "subject",
|
|
9374
9374
|
"required": true,
|
|
9375
9375
|
"hasDynamicHelp": false,
|
|
9376
9376
|
"multiple": false,
|
|
9377
9377
|
"type": "option"
|
|
9378
9378
|
},
|
|
9379
|
-
"
|
|
9380
|
-
"description": "
|
|
9381
|
-
"name": "
|
|
9382
|
-
"default": "text",
|
|
9383
|
-
"hasDynamicHelp": false,
|
|
9384
|
-
"multiple": false,
|
|
9385
|
-
"options": [
|
|
9386
|
-
"text",
|
|
9387
|
-
"image",
|
|
9388
|
-
"video",
|
|
9389
|
-
"document",
|
|
9390
|
-
"audio",
|
|
9391
|
-
"location",
|
|
9392
|
-
"contact",
|
|
9393
|
-
"interactive"
|
|
9394
|
-
],
|
|
9395
|
-
"type": "option"
|
|
9396
|
-
},
|
|
9397
|
-
"message": {
|
|
9398
|
-
"description": "Template message",
|
|
9399
|
-
"name": "message",
|
|
9400
|
-
"required": true,
|
|
9379
|
+
"recipient": {
|
|
9380
|
+
"description": "Existing recipient ID",
|
|
9381
|
+
"name": "recipient",
|
|
9401
9382
|
"hasDynamicHelp": false,
|
|
9402
9383
|
"multiple": false,
|
|
9403
9384
|
"type": "option"
|
|
9404
9385
|
},
|
|
9405
|
-
"
|
|
9406
|
-
"description": "
|
|
9407
|
-
"name": "
|
|
9386
|
+
"email": {
|
|
9387
|
+
"description": "Customer email",
|
|
9388
|
+
"name": "email",
|
|
9408
9389
|
"hasDynamicHelp": false,
|
|
9409
9390
|
"multiple": false,
|
|
9410
9391
|
"type": "option"
|
|
9411
9392
|
},
|
|
9412
|
-
"
|
|
9413
|
-
"description": "
|
|
9414
|
-
"name": "
|
|
9415
|
-
"allowNo": true,
|
|
9416
|
-
"type": "boolean"
|
|
9417
|
-
},
|
|
9418
|
-
"whatsapp-language": {
|
|
9419
|
-
"description": "WhatsApp template language",
|
|
9420
|
-
"name": "whatsapp-language",
|
|
9393
|
+
"name": {
|
|
9394
|
+
"description": "Customer name",
|
|
9395
|
+
"name": "name",
|
|
9421
9396
|
"hasDynamicHelp": false,
|
|
9422
9397
|
"multiple": false,
|
|
9423
9398
|
"type": "option"
|
|
9424
9399
|
},
|
|
9425
|
-
"
|
|
9426
|
-
"description": "
|
|
9427
|
-
"name": "
|
|
9400
|
+
"priority": {
|
|
9401
|
+
"description": "Ticket priority",
|
|
9402
|
+
"name": "priority",
|
|
9428
9403
|
"hasDynamicHelp": false,
|
|
9429
9404
|
"multiple": false,
|
|
9430
9405
|
"type": "option"
|
|
9431
9406
|
},
|
|
9432
|
-
"
|
|
9433
|
-
"description": "
|
|
9434
|
-
"name": "
|
|
9407
|
+
"source": {
|
|
9408
|
+
"description": "Ticket source",
|
|
9409
|
+
"name": "source",
|
|
9435
9410
|
"hasDynamicHelp": false,
|
|
9436
9411
|
"multiple": false,
|
|
9437
9412
|
"type": "option"
|
|
@@ -9446,7 +9421,7 @@
|
|
|
9446
9421
|
},
|
|
9447
9422
|
"hasDynamicHelp": false,
|
|
9448
9423
|
"hiddenAliases": [],
|
|
9449
|
-
"id": "
|
|
9424
|
+
"id": "tickets:create",
|
|
9450
9425
|
"pluginAlias": "@instantkom/cli",
|
|
9451
9426
|
"pluginName": "@instantkom/cli",
|
|
9452
9427
|
"pluginType": "core",
|
|
@@ -9456,20 +9431,20 @@
|
|
|
9456
9431
|
"relativePath": [
|
|
9457
9432
|
"dist",
|
|
9458
9433
|
"commands",
|
|
9459
|
-
"
|
|
9434
|
+
"tickets",
|
|
9460
9435
|
"create.js"
|
|
9461
9436
|
]
|
|
9462
9437
|
},
|
|
9463
|
-
"
|
|
9438
|
+
"tickets:delete": {
|
|
9464
9439
|
"aliases": [],
|
|
9465
9440
|
"args": {
|
|
9466
9441
|
"id": {
|
|
9467
|
-
"description": "
|
|
9442
|
+
"description": "Ticket ID",
|
|
9468
9443
|
"name": "id",
|
|
9469
9444
|
"required": true
|
|
9470
9445
|
}
|
|
9471
9446
|
},
|
|
9472
|
-
"description": "Delete
|
|
9447
|
+
"description": "Delete a ticket",
|
|
9473
9448
|
"flags": {
|
|
9474
9449
|
"api-key": {
|
|
9475
9450
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9532,99 +9507,11 @@
|
|
|
9532
9507
|
"hasDynamicHelp": false,
|
|
9533
9508
|
"multiple": false,
|
|
9534
9509
|
"type": "option"
|
|
9535
|
-
}
|
|
9536
|
-
},
|
|
9537
|
-
"hasDynamicHelp": false,
|
|
9538
|
-
"hiddenAliases": [],
|
|
9539
|
-
"id": "templates:delete",
|
|
9540
|
-
"pluginAlias": "@instantkom/cli",
|
|
9541
|
-
"pluginName": "@instantkom/cli",
|
|
9542
|
-
"pluginType": "core",
|
|
9543
|
-
"strict": true,
|
|
9544
|
-
"enableJsonFlag": false,
|
|
9545
|
-
"isESM": true,
|
|
9546
|
-
"relativePath": [
|
|
9547
|
-
"dist",
|
|
9548
|
-
"commands",
|
|
9549
|
-
"templates",
|
|
9550
|
-
"delete.js"
|
|
9551
|
-
]
|
|
9552
|
-
},
|
|
9553
|
-
"templates:export": {
|
|
9554
|
-
"aliases": [],
|
|
9555
|
-
"args": {},
|
|
9556
|
-
"description": "Export templates to a file",
|
|
9557
|
-
"flags": {
|
|
9558
|
-
"api-key": {
|
|
9559
|
-
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
9560
|
-
"env": "IKM_API_KEY",
|
|
9561
|
-
"helpGroup": "GLOBAL",
|
|
9562
|
-
"name": "api-key",
|
|
9563
|
-
"hasDynamicHelp": false,
|
|
9564
|
-
"multiple": false,
|
|
9565
|
-
"type": "option"
|
|
9566
|
-
},
|
|
9567
|
-
"format": {
|
|
9568
|
-
"description": "Export format",
|
|
9569
|
-
"name": "format",
|
|
9570
|
-
"default": "json",
|
|
9571
|
-
"hasDynamicHelp": false,
|
|
9572
|
-
"multiple": false,
|
|
9573
|
-
"options": [
|
|
9574
|
-
"csv",
|
|
9575
|
-
"json"
|
|
9576
|
-
],
|
|
9577
|
-
"type": "option"
|
|
9578
|
-
},
|
|
9579
|
-
"json": {
|
|
9580
|
-
"description": "Output in JSON format (alias for --format=json)",
|
|
9581
|
-
"helpGroup": "GLOBAL",
|
|
9582
|
-
"name": "json",
|
|
9583
|
-
"allowNo": false,
|
|
9584
|
-
"type": "boolean"
|
|
9585
|
-
},
|
|
9586
|
-
"quiet": {
|
|
9587
|
-
"description": "Suppress all output except errors",
|
|
9588
|
-
"helpGroup": "GLOBAL",
|
|
9589
|
-
"name": "quiet",
|
|
9590
|
-
"allowNo": false,
|
|
9591
|
-
"type": "boolean"
|
|
9592
|
-
},
|
|
9593
|
-
"no-color": {
|
|
9594
|
-
"description": "Disable color output",
|
|
9595
|
-
"helpGroup": "GLOBAL",
|
|
9596
|
-
"name": "no-color",
|
|
9597
|
-
"allowNo": false,
|
|
9598
|
-
"type": "boolean"
|
|
9599
|
-
},
|
|
9600
|
-
"profile": {
|
|
9601
|
-
"description": "Named configuration profile to use",
|
|
9602
|
-
"helpGroup": "GLOBAL",
|
|
9603
|
-
"name": "profile",
|
|
9604
|
-
"default": "default",
|
|
9605
|
-
"hasDynamicHelp": false,
|
|
9606
|
-
"multiple": false,
|
|
9607
|
-
"type": "option"
|
|
9608
|
-
},
|
|
9609
|
-
"api-url": {
|
|
9610
|
-
"description": "Override the API base URL (e.g. for staging)",
|
|
9611
|
-
"helpGroup": "GLOBAL",
|
|
9612
|
-
"name": "api-url",
|
|
9613
|
-
"hasDynamicHelp": false,
|
|
9614
|
-
"multiple": false,
|
|
9615
|
-
"type": "option"
|
|
9616
|
-
},
|
|
9617
|
-
"file": {
|
|
9618
|
-
"description": "Output file path",
|
|
9619
|
-
"name": "file",
|
|
9620
|
-
"required": true,
|
|
9621
|
-
"hasDynamicHelp": false,
|
|
9622
|
-
"multiple": false,
|
|
9623
|
-
"type": "option"
|
|
9624
9510
|
},
|
|
9625
9511
|
"channel": {
|
|
9626
|
-
"description": "
|
|
9512
|
+
"description": "Channel ID",
|
|
9627
9513
|
"name": "channel",
|
|
9514
|
+
"required": true,
|
|
9628
9515
|
"hasDynamicHelp": false,
|
|
9629
9516
|
"multiple": false,
|
|
9630
9517
|
"type": "option"
|
|
@@ -9632,7 +9519,7 @@
|
|
|
9632
9519
|
},
|
|
9633
9520
|
"hasDynamicHelp": false,
|
|
9634
9521
|
"hiddenAliases": [],
|
|
9635
|
-
"id": "
|
|
9522
|
+
"id": "tickets:delete",
|
|
9636
9523
|
"pluginAlias": "@instantkom/cli",
|
|
9637
9524
|
"pluginName": "@instantkom/cli",
|
|
9638
9525
|
"pluginType": "core",
|
|
@@ -9642,20 +9529,20 @@
|
|
|
9642
9529
|
"relativePath": [
|
|
9643
9530
|
"dist",
|
|
9644
9531
|
"commands",
|
|
9645
|
-
"
|
|
9646
|
-
"
|
|
9532
|
+
"tickets",
|
|
9533
|
+
"delete.js"
|
|
9647
9534
|
]
|
|
9648
9535
|
},
|
|
9649
|
-
"
|
|
9536
|
+
"tickets:get": {
|
|
9650
9537
|
"aliases": [],
|
|
9651
9538
|
"args": {
|
|
9652
9539
|
"id": {
|
|
9653
|
-
"description": "
|
|
9540
|
+
"description": "Ticket ID",
|
|
9654
9541
|
"name": "id",
|
|
9655
9542
|
"required": true
|
|
9656
9543
|
}
|
|
9657
9544
|
},
|
|
9658
|
-
"description": "Get a
|
|
9545
|
+
"description": "Get a ticket by ID",
|
|
9659
9546
|
"flags": {
|
|
9660
9547
|
"api-key": {
|
|
9661
9548
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9718,11 +9605,19 @@
|
|
|
9718
9605
|
"hasDynamicHelp": false,
|
|
9719
9606
|
"multiple": false,
|
|
9720
9607
|
"type": "option"
|
|
9608
|
+
},
|
|
9609
|
+
"channel": {
|
|
9610
|
+
"description": "Channel ID",
|
|
9611
|
+
"name": "channel",
|
|
9612
|
+
"required": true,
|
|
9613
|
+
"hasDynamicHelp": false,
|
|
9614
|
+
"multiple": false,
|
|
9615
|
+
"type": "option"
|
|
9721
9616
|
}
|
|
9722
9617
|
},
|
|
9723
9618
|
"hasDynamicHelp": false,
|
|
9724
9619
|
"hiddenAliases": [],
|
|
9725
|
-
"id": "
|
|
9620
|
+
"id": "tickets:get",
|
|
9726
9621
|
"pluginAlias": "@instantkom/cli",
|
|
9727
9622
|
"pluginName": "@instantkom/cli",
|
|
9728
9623
|
"pluginType": "core",
|
|
@@ -9732,14 +9627,14 @@
|
|
|
9732
9627
|
"relativePath": [
|
|
9733
9628
|
"dist",
|
|
9734
9629
|
"commands",
|
|
9735
|
-
"
|
|
9630
|
+
"tickets",
|
|
9736
9631
|
"get.js"
|
|
9737
9632
|
]
|
|
9738
9633
|
},
|
|
9739
|
-
"
|
|
9634
|
+
"tickets:list": {
|
|
9740
9635
|
"aliases": [],
|
|
9741
9636
|
"args": {},
|
|
9742
|
-
"description": "
|
|
9637
|
+
"description": "List tickets for a channel",
|
|
9743
9638
|
"flags": {
|
|
9744
9639
|
"api-key": {
|
|
9745
9640
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9803,32 +9698,34 @@
|
|
|
9803
9698
|
"multiple": false,
|
|
9804
9699
|
"type": "option"
|
|
9805
9700
|
},
|
|
9806
|
-
"
|
|
9807
|
-
"description": "
|
|
9808
|
-
"name": "
|
|
9701
|
+
"channel": {
|
|
9702
|
+
"description": "Channel ID",
|
|
9703
|
+
"name": "channel",
|
|
9809
9704
|
"required": true,
|
|
9810
9705
|
"hasDynamicHelp": false,
|
|
9811
9706
|
"multiple": false,
|
|
9812
9707
|
"type": "option"
|
|
9813
9708
|
},
|
|
9814
|
-
"
|
|
9815
|
-
"description": "
|
|
9816
|
-
"name": "
|
|
9817
|
-
"
|
|
9709
|
+
"limit": {
|
|
9710
|
+
"description": "Maximum tickets to return",
|
|
9711
|
+
"name": "limit",
|
|
9712
|
+
"default": 500,
|
|
9818
9713
|
"hasDynamicHelp": false,
|
|
9819
9714
|
"multiple": false,
|
|
9820
9715
|
"type": "option"
|
|
9821
9716
|
},
|
|
9822
|
-
"
|
|
9823
|
-
"description": "
|
|
9824
|
-
"name": "
|
|
9825
|
-
"
|
|
9826
|
-
"
|
|
9717
|
+
"offset": {
|
|
9718
|
+
"description": "Number of tickets to skip",
|
|
9719
|
+
"name": "offset",
|
|
9720
|
+
"default": 0,
|
|
9721
|
+
"hasDynamicHelp": false,
|
|
9722
|
+
"multiple": false,
|
|
9723
|
+
"type": "option"
|
|
9827
9724
|
}
|
|
9828
9725
|
},
|
|
9829
9726
|
"hasDynamicHelp": false,
|
|
9830
9727
|
"hiddenAliases": [],
|
|
9831
|
-
"id": "
|
|
9728
|
+
"id": "tickets:list",
|
|
9832
9729
|
"pluginAlias": "@instantkom/cli",
|
|
9833
9730
|
"pluginName": "@instantkom/cli",
|
|
9834
9731
|
"pluginType": "core",
|
|
@@ -9838,14 +9735,20 @@
|
|
|
9838
9735
|
"relativePath": [
|
|
9839
9736
|
"dist",
|
|
9840
9737
|
"commands",
|
|
9841
|
-
"
|
|
9842
|
-
"
|
|
9738
|
+
"tickets",
|
|
9739
|
+
"list.js"
|
|
9843
9740
|
]
|
|
9844
9741
|
},
|
|
9845
|
-
"
|
|
9742
|
+
"tickets:reply": {
|
|
9846
9743
|
"aliases": [],
|
|
9847
|
-
"args": {
|
|
9848
|
-
|
|
9744
|
+
"args": {
|
|
9745
|
+
"id": {
|
|
9746
|
+
"description": "Ticket ID",
|
|
9747
|
+
"name": "id",
|
|
9748
|
+
"required": true
|
|
9749
|
+
}
|
|
9750
|
+
},
|
|
9751
|
+
"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.",
|
|
9849
9752
|
"flags": {
|
|
9850
9753
|
"api-key": {
|
|
9851
9754
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9909,40 +9812,24 @@
|
|
|
9909
9812
|
"multiple": false,
|
|
9910
9813
|
"type": "option"
|
|
9911
9814
|
},
|
|
9912
|
-
"
|
|
9913
|
-
"description": "
|
|
9914
|
-
"name": "
|
|
9915
|
-
"
|
|
9916
|
-
"multiple": false,
|
|
9917
|
-
"type": "option"
|
|
9918
|
-
},
|
|
9919
|
-
"search": {
|
|
9920
|
-
"description": "Search templates by name or content",
|
|
9921
|
-
"name": "search",
|
|
9922
|
-
"hasDynamicHelp": false,
|
|
9923
|
-
"multiple": false,
|
|
9924
|
-
"type": "option"
|
|
9925
|
-
},
|
|
9926
|
-
"page": {
|
|
9927
|
-
"description": "Page number",
|
|
9928
|
-
"name": "page",
|
|
9929
|
-
"default": 1,
|
|
9815
|
+
"message": {
|
|
9816
|
+
"description": "Reply body (raw text, no salutation or sign-off)",
|
|
9817
|
+
"name": "message",
|
|
9818
|
+
"required": true,
|
|
9930
9819
|
"hasDynamicHelp": false,
|
|
9931
9820
|
"multiple": false,
|
|
9932
9821
|
"type": "option"
|
|
9933
9822
|
},
|
|
9934
|
-
"
|
|
9935
|
-
"description": "
|
|
9936
|
-
"name": "
|
|
9937
|
-
"
|
|
9938
|
-
"
|
|
9939
|
-
"multiple": false,
|
|
9940
|
-
"type": "option"
|
|
9823
|
+
"close": {
|
|
9824
|
+
"description": "Close the ticket after sending the reply",
|
|
9825
|
+
"name": "close",
|
|
9826
|
+
"allowNo": false,
|
|
9827
|
+
"type": "boolean"
|
|
9941
9828
|
}
|
|
9942
9829
|
},
|
|
9943
9830
|
"hasDynamicHelp": false,
|
|
9944
9831
|
"hiddenAliases": [],
|
|
9945
|
-
"id": "
|
|
9832
|
+
"id": "tickets:reply",
|
|
9946
9833
|
"pluginAlias": "@instantkom/cli",
|
|
9947
9834
|
"pluginName": "@instantkom/cli",
|
|
9948
9835
|
"pluginType": "core",
|
|
@@ -9952,20 +9839,20 @@
|
|
|
9952
9839
|
"relativePath": [
|
|
9953
9840
|
"dist",
|
|
9954
9841
|
"commands",
|
|
9955
|
-
"
|
|
9956
|
-
"
|
|
9842
|
+
"tickets",
|
|
9843
|
+
"reply.js"
|
|
9957
9844
|
]
|
|
9958
9845
|
},
|
|
9959
|
-
"
|
|
9846
|
+
"tickets:update": {
|
|
9960
9847
|
"aliases": [],
|
|
9961
9848
|
"args": {
|
|
9962
9849
|
"id": {
|
|
9963
|
-
"description": "
|
|
9850
|
+
"description": "Ticket ID",
|
|
9964
9851
|
"name": "id",
|
|
9965
9852
|
"required": true
|
|
9966
9853
|
}
|
|
9967
9854
|
},
|
|
9968
|
-
"description": "
|
|
9855
|
+
"description": "Update a ticket",
|
|
9969
9856
|
"flags": {
|
|
9970
9857
|
"api-key": {
|
|
9971
9858
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10029,17 +9916,59 @@
|
|
|
10029
9916
|
"multiple": false,
|
|
10030
9917
|
"type": "option"
|
|
10031
9918
|
},
|
|
10032
|
-
"
|
|
10033
|
-
"description": "
|
|
10034
|
-
"name": "
|
|
9919
|
+
"channel": {
|
|
9920
|
+
"description": "Channel ID",
|
|
9921
|
+
"name": "channel",
|
|
9922
|
+
"required": true,
|
|
10035
9923
|
"hasDynamicHelp": false,
|
|
10036
|
-
"multiple":
|
|
9924
|
+
"multiple": false,
|
|
9925
|
+
"type": "option"
|
|
9926
|
+
},
|
|
9927
|
+
"subject": {
|
|
9928
|
+
"description": "Ticket subject",
|
|
9929
|
+
"name": "subject",
|
|
9930
|
+
"hasDynamicHelp": false,
|
|
9931
|
+
"multiple": false,
|
|
9932
|
+
"type": "option"
|
|
9933
|
+
},
|
|
9934
|
+
"priority": {
|
|
9935
|
+
"description": "Ticket priority",
|
|
9936
|
+
"name": "priority",
|
|
9937
|
+
"hasDynamicHelp": false,
|
|
9938
|
+
"multiple": false,
|
|
9939
|
+
"type": "option"
|
|
9940
|
+
},
|
|
9941
|
+
"status": {
|
|
9942
|
+
"description": "Ticket status",
|
|
9943
|
+
"name": "status",
|
|
9944
|
+
"hasDynamicHelp": false,
|
|
9945
|
+
"multiple": false,
|
|
9946
|
+
"type": "option"
|
|
9947
|
+
},
|
|
9948
|
+
"assigned-to": {
|
|
9949
|
+
"description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
|
|
9950
|
+
"name": "assigned-to",
|
|
9951
|
+
"hasDynamicHelp": false,
|
|
9952
|
+
"multiple": false,
|
|
9953
|
+
"type": "option"
|
|
9954
|
+
},
|
|
9955
|
+
"notify": {
|
|
9956
|
+
"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.",
|
|
9957
|
+
"name": "notify",
|
|
9958
|
+
"allowNo": true,
|
|
9959
|
+
"type": "boolean"
|
|
9960
|
+
},
|
|
9961
|
+
"data": {
|
|
9962
|
+
"description": "Additional JSON object payload",
|
|
9963
|
+
"name": "data",
|
|
9964
|
+
"hasDynamicHelp": false,
|
|
9965
|
+
"multiple": false,
|
|
10037
9966
|
"type": "option"
|
|
10038
9967
|
}
|
|
10039
9968
|
},
|
|
10040
9969
|
"hasDynamicHelp": false,
|
|
10041
9970
|
"hiddenAliases": [],
|
|
10042
|
-
"id": "
|
|
9971
|
+
"id": "tickets:update",
|
|
10043
9972
|
"pluginAlias": "@instantkom/cli",
|
|
10044
9973
|
"pluginName": "@instantkom/cli",
|
|
10045
9974
|
"pluginType": "core",
|
|
@@ -10049,20 +9978,14 @@
|
|
|
10049
9978
|
"relativePath": [
|
|
10050
9979
|
"dist",
|
|
10051
9980
|
"commands",
|
|
10052
|
-
"
|
|
10053
|
-
"
|
|
9981
|
+
"tickets",
|
|
9982
|
+
"update.js"
|
|
10054
9983
|
]
|
|
10055
9984
|
},
|
|
10056
|
-
"templates:
|
|
9985
|
+
"templates:create": {
|
|
10057
9986
|
"aliases": [],
|
|
10058
|
-
"args": {
|
|
10059
|
-
|
|
10060
|
-
"description": "Template ID",
|
|
10061
|
-
"name": "id",
|
|
10062
|
-
"required": true
|
|
10063
|
-
}
|
|
10064
|
-
},
|
|
10065
|
-
"description": "Update a message template",
|
|
9987
|
+
"args": {},
|
|
9988
|
+
"description": "Create a message template",
|
|
10066
9989
|
"flags": {
|
|
10067
9990
|
"api-key": {
|
|
10068
9991
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10126,9 +10049,18 @@
|
|
|
10126
10049
|
"multiple": false,
|
|
10127
10050
|
"type": "option"
|
|
10128
10051
|
},
|
|
10052
|
+
"channel": {
|
|
10053
|
+
"description": "Channel ID",
|
|
10054
|
+
"name": "channel",
|
|
10055
|
+
"required": true,
|
|
10056
|
+
"hasDynamicHelp": false,
|
|
10057
|
+
"multiple": false,
|
|
10058
|
+
"type": "option"
|
|
10059
|
+
},
|
|
10129
10060
|
"name": {
|
|
10130
10061
|
"description": "Template name",
|
|
10131
10062
|
"name": "name",
|
|
10063
|
+
"required": true,
|
|
10132
10064
|
"hasDynamicHelp": false,
|
|
10133
10065
|
"multiple": false,
|
|
10134
10066
|
"type": "option"
|
|
@@ -10136,6 +10068,7 @@
|
|
|
10136
10068
|
"type": {
|
|
10137
10069
|
"description": "Template type",
|
|
10138
10070
|
"name": "type",
|
|
10071
|
+
"default": "text",
|
|
10139
10072
|
"hasDynamicHelp": false,
|
|
10140
10073
|
"multiple": false,
|
|
10141
10074
|
"options": [
|
|
@@ -10153,6 +10086,7 @@
|
|
|
10153
10086
|
"message": {
|
|
10154
10087
|
"description": "Template message",
|
|
10155
10088
|
"name": "message",
|
|
10089
|
+
"required": true,
|
|
10156
10090
|
"hasDynamicHelp": false,
|
|
10157
10091
|
"multiple": false,
|
|
10158
10092
|
"type": "option"
|
|
@@ -10170,12 +10104,6 @@
|
|
|
10170
10104
|
"allowNo": true,
|
|
10171
10105
|
"type": "boolean"
|
|
10172
10106
|
},
|
|
10173
|
-
"remove-media": {
|
|
10174
|
-
"description": "Remove existing media",
|
|
10175
|
-
"name": "remove-media",
|
|
10176
|
-
"allowNo": false,
|
|
10177
|
-
"type": "boolean"
|
|
10178
|
-
},
|
|
10179
10107
|
"whatsapp-language": {
|
|
10180
10108
|
"description": "WhatsApp template language",
|
|
10181
10109
|
"name": "whatsapp-language",
|
|
@@ -10207,7 +10135,7 @@
|
|
|
10207
10135
|
},
|
|
10208
10136
|
"hasDynamicHelp": false,
|
|
10209
10137
|
"hiddenAliases": [],
|
|
10210
|
-
"id": "templates:
|
|
10138
|
+
"id": "templates:create",
|
|
10211
10139
|
"pluginAlias": "@instantkom/cli",
|
|
10212
10140
|
"pluginName": "@instantkom/cli",
|
|
10213
10141
|
"pluginType": "core",
|
|
@@ -10218,13 +10146,19 @@
|
|
|
10218
10146
|
"dist",
|
|
10219
10147
|
"commands",
|
|
10220
10148
|
"templates",
|
|
10221
|
-
"
|
|
10149
|
+
"create.js"
|
|
10222
10150
|
]
|
|
10223
10151
|
},
|
|
10224
|
-
"templates:
|
|
10152
|
+
"templates:delete": {
|
|
10225
10153
|
"aliases": [],
|
|
10226
|
-
"args": {
|
|
10227
|
-
|
|
10154
|
+
"args": {
|
|
10155
|
+
"id": {
|
|
10156
|
+
"description": "template ID",
|
|
10157
|
+
"name": "id",
|
|
10158
|
+
"required": true
|
|
10159
|
+
}
|
|
10160
|
+
},
|
|
10161
|
+
"description": "Delete template",
|
|
10228
10162
|
"flags": {
|
|
10229
10163
|
"api-key": {
|
|
10230
10164
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10280,6 +10214,87 @@
|
|
|
10280
10214
|
"multiple": false,
|
|
10281
10215
|
"type": "option"
|
|
10282
10216
|
},
|
|
10217
|
+
"api-url": {
|
|
10218
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
10219
|
+
"helpGroup": "GLOBAL",
|
|
10220
|
+
"name": "api-url",
|
|
10221
|
+
"hasDynamicHelp": false,
|
|
10222
|
+
"multiple": false,
|
|
10223
|
+
"type": "option"
|
|
10224
|
+
}
|
|
10225
|
+
},
|
|
10226
|
+
"hasDynamicHelp": false,
|
|
10227
|
+
"hiddenAliases": [],
|
|
10228
|
+
"id": "templates:delete",
|
|
10229
|
+
"pluginAlias": "@instantkom/cli",
|
|
10230
|
+
"pluginName": "@instantkom/cli",
|
|
10231
|
+
"pluginType": "core",
|
|
10232
|
+
"strict": true,
|
|
10233
|
+
"enableJsonFlag": false,
|
|
10234
|
+
"isESM": true,
|
|
10235
|
+
"relativePath": [
|
|
10236
|
+
"dist",
|
|
10237
|
+
"commands",
|
|
10238
|
+
"templates",
|
|
10239
|
+
"delete.js"
|
|
10240
|
+
]
|
|
10241
|
+
},
|
|
10242
|
+
"templates:export": {
|
|
10243
|
+
"aliases": [],
|
|
10244
|
+
"args": {},
|
|
10245
|
+
"description": "Export templates to a file",
|
|
10246
|
+
"flags": {
|
|
10247
|
+
"api-key": {
|
|
10248
|
+
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
10249
|
+
"env": "IKM_API_KEY",
|
|
10250
|
+
"helpGroup": "GLOBAL",
|
|
10251
|
+
"name": "api-key",
|
|
10252
|
+
"hasDynamicHelp": false,
|
|
10253
|
+
"multiple": false,
|
|
10254
|
+
"type": "option"
|
|
10255
|
+
},
|
|
10256
|
+
"format": {
|
|
10257
|
+
"description": "Export format",
|
|
10258
|
+
"name": "format",
|
|
10259
|
+
"default": "json",
|
|
10260
|
+
"hasDynamicHelp": false,
|
|
10261
|
+
"multiple": false,
|
|
10262
|
+
"options": [
|
|
10263
|
+
"csv",
|
|
10264
|
+
"json"
|
|
10265
|
+
],
|
|
10266
|
+
"type": "option"
|
|
10267
|
+
},
|
|
10268
|
+
"json": {
|
|
10269
|
+
"description": "Output in JSON format (alias for --format=json)",
|
|
10270
|
+
"helpGroup": "GLOBAL",
|
|
10271
|
+
"name": "json",
|
|
10272
|
+
"allowNo": false,
|
|
10273
|
+
"type": "boolean"
|
|
10274
|
+
},
|
|
10275
|
+
"quiet": {
|
|
10276
|
+
"description": "Suppress all output except errors",
|
|
10277
|
+
"helpGroup": "GLOBAL",
|
|
10278
|
+
"name": "quiet",
|
|
10279
|
+
"allowNo": false,
|
|
10280
|
+
"type": "boolean"
|
|
10281
|
+
},
|
|
10282
|
+
"no-color": {
|
|
10283
|
+
"description": "Disable color output",
|
|
10284
|
+
"helpGroup": "GLOBAL",
|
|
10285
|
+
"name": "no-color",
|
|
10286
|
+
"allowNo": false,
|
|
10287
|
+
"type": "boolean"
|
|
10288
|
+
},
|
|
10289
|
+
"profile": {
|
|
10290
|
+
"description": "Named configuration profile to use",
|
|
10291
|
+
"helpGroup": "GLOBAL",
|
|
10292
|
+
"name": "profile",
|
|
10293
|
+
"default": "default",
|
|
10294
|
+
"hasDynamicHelp": false,
|
|
10295
|
+
"multiple": false,
|
|
10296
|
+
"type": "option"
|
|
10297
|
+
},
|
|
10283
10298
|
"api-url": {
|
|
10284
10299
|
"description": "Override the API base URL (e.g. for staging)",
|
|
10285
10300
|
"helpGroup": "GLOBAL",
|
|
@@ -10289,7 +10304,7 @@
|
|
|
10289
10304
|
"type": "option"
|
|
10290
10305
|
},
|
|
10291
10306
|
"file": {
|
|
10292
|
-
"description": "
|
|
10307
|
+
"description": "Output file path",
|
|
10293
10308
|
"name": "file",
|
|
10294
10309
|
"required": true,
|
|
10295
10310
|
"hasDynamicHelp": false,
|
|
@@ -10297,9 +10312,8 @@
|
|
|
10297
10312
|
"type": "option"
|
|
10298
10313
|
},
|
|
10299
10314
|
"channel": {
|
|
10300
|
-
"description": "
|
|
10315
|
+
"description": "Filter by channel ID",
|
|
10301
10316
|
"name": "channel",
|
|
10302
|
-
"required": true,
|
|
10303
10317
|
"hasDynamicHelp": false,
|
|
10304
10318
|
"multiple": false,
|
|
10305
10319
|
"type": "option"
|
|
@@ -10307,7 +10321,7 @@
|
|
|
10307
10321
|
},
|
|
10308
10322
|
"hasDynamicHelp": false,
|
|
10309
10323
|
"hiddenAliases": [],
|
|
10310
|
-
"id": "templates:
|
|
10324
|
+
"id": "templates:export",
|
|
10311
10325
|
"pluginAlias": "@instantkom/cli",
|
|
10312
10326
|
"pluginName": "@instantkom/cli",
|
|
10313
10327
|
"pluginType": "core",
|
|
@@ -10318,13 +10332,19 @@
|
|
|
10318
10332
|
"dist",
|
|
10319
10333
|
"commands",
|
|
10320
10334
|
"templates",
|
|
10321
|
-
"
|
|
10335
|
+
"export.js"
|
|
10322
10336
|
]
|
|
10323
10337
|
},
|
|
10324
|
-
"
|
|
10338
|
+
"templates:get": {
|
|
10325
10339
|
"aliases": [],
|
|
10326
|
-
"args": {
|
|
10327
|
-
|
|
10340
|
+
"args": {
|
|
10341
|
+
"id": {
|
|
10342
|
+
"description": "Template ID",
|
|
10343
|
+
"name": "id",
|
|
10344
|
+
"required": true
|
|
10345
|
+
}
|
|
10346
|
+
},
|
|
10347
|
+
"description": "Get a message template by ID",
|
|
10328
10348
|
"flags": {
|
|
10329
10349
|
"api-key": {
|
|
10330
10350
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10387,34 +10407,11 @@
|
|
|
10387
10407
|
"hasDynamicHelp": false,
|
|
10388
10408
|
"multiple": false,
|
|
10389
10409
|
"type": "option"
|
|
10390
|
-
},
|
|
10391
|
-
"event": {
|
|
10392
|
-
"description": "Webhook event to subscribe to",
|
|
10393
|
-
"name": "event",
|
|
10394
|
-
"required": true,
|
|
10395
|
-
"hasDynamicHelp": false,
|
|
10396
|
-
"multiple": false,
|
|
10397
|
-
"options": [
|
|
10398
|
-
"new_contact",
|
|
10399
|
-
"new_message",
|
|
10400
|
-
"broadcast_sent",
|
|
10401
|
-
"contact_updated",
|
|
10402
|
-
"contact_opted_out"
|
|
10403
|
-
],
|
|
10404
|
-
"type": "option"
|
|
10405
|
-
},
|
|
10406
|
-
"url": {
|
|
10407
|
-
"description": "HTTPS target URL that receives webhook POSTs",
|
|
10408
|
-
"name": "url",
|
|
10409
|
-
"required": true,
|
|
10410
|
-
"hasDynamicHelp": false,
|
|
10411
|
-
"multiple": false,
|
|
10412
|
-
"type": "option"
|
|
10413
10410
|
}
|
|
10414
10411
|
},
|
|
10415
10412
|
"hasDynamicHelp": false,
|
|
10416
10413
|
"hiddenAliases": [],
|
|
10417
|
-
"id": "
|
|
10414
|
+
"id": "templates:get",
|
|
10418
10415
|
"pluginAlias": "@instantkom/cli",
|
|
10419
10416
|
"pluginName": "@instantkom/cli",
|
|
10420
10417
|
"pluginType": "core",
|
|
@@ -10424,14 +10421,14 @@
|
|
|
10424
10421
|
"relativePath": [
|
|
10425
10422
|
"dist",
|
|
10426
10423
|
"commands",
|
|
10427
|
-
"
|
|
10428
|
-
"
|
|
10424
|
+
"templates",
|
|
10425
|
+
"get.js"
|
|
10429
10426
|
]
|
|
10430
10427
|
},
|
|
10431
|
-
"
|
|
10428
|
+
"templates:import": {
|
|
10432
10429
|
"aliases": [],
|
|
10433
10430
|
"args": {},
|
|
10434
|
-
"description": "
|
|
10431
|
+
"description": "Import templates from JSON",
|
|
10435
10432
|
"flags": {
|
|
10436
10433
|
"api-key": {
|
|
10437
10434
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10494,11 +10491,33 @@
|
|
|
10494
10491
|
"hasDynamicHelp": false,
|
|
10495
10492
|
"multiple": false,
|
|
10496
10493
|
"type": "option"
|
|
10494
|
+
},
|
|
10495
|
+
"file": {
|
|
10496
|
+
"description": "JSON file path",
|
|
10497
|
+
"name": "file",
|
|
10498
|
+
"required": true,
|
|
10499
|
+
"hasDynamicHelp": false,
|
|
10500
|
+
"multiple": false,
|
|
10501
|
+
"type": "option"
|
|
10502
|
+
},
|
|
10503
|
+
"channel": {
|
|
10504
|
+
"description": "Target channel ID",
|
|
10505
|
+
"name": "channel",
|
|
10506
|
+
"required": true,
|
|
10507
|
+
"hasDynamicHelp": false,
|
|
10508
|
+
"multiple": false,
|
|
10509
|
+
"type": "option"
|
|
10510
|
+
},
|
|
10511
|
+
"skip-duplicates": {
|
|
10512
|
+
"description": "Skip duplicate templates",
|
|
10513
|
+
"name": "skip-duplicates",
|
|
10514
|
+
"allowNo": true,
|
|
10515
|
+
"type": "boolean"
|
|
10497
10516
|
}
|
|
10498
10517
|
},
|
|
10499
10518
|
"hasDynamicHelp": false,
|
|
10500
10519
|
"hiddenAliases": [],
|
|
10501
|
-
"id": "
|
|
10520
|
+
"id": "templates:import",
|
|
10502
10521
|
"pluginAlias": "@instantkom/cli",
|
|
10503
10522
|
"pluginName": "@instantkom/cli",
|
|
10504
10523
|
"pluginType": "core",
|
|
@@ -10508,14 +10527,14 @@
|
|
|
10508
10527
|
"relativePath": [
|
|
10509
10528
|
"dist",
|
|
10510
10529
|
"commands",
|
|
10511
|
-
"
|
|
10512
|
-
"
|
|
10530
|
+
"templates",
|
|
10531
|
+
"import.js"
|
|
10513
10532
|
]
|
|
10514
10533
|
},
|
|
10515
|
-
"
|
|
10534
|
+
"templates:list": {
|
|
10516
10535
|
"aliases": [],
|
|
10517
10536
|
"args": {},
|
|
10518
|
-
"description": "List
|
|
10537
|
+
"description": "List message templates",
|
|
10519
10538
|
"flags": {
|
|
10520
10539
|
"api-key": {
|
|
10521
10540
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10578,11 +10597,41 @@
|
|
|
10578
10597
|
"hasDynamicHelp": false,
|
|
10579
10598
|
"multiple": false,
|
|
10580
10599
|
"type": "option"
|
|
10600
|
+
},
|
|
10601
|
+
"channel": {
|
|
10602
|
+
"description": "Filter by channel ID",
|
|
10603
|
+
"name": "channel",
|
|
10604
|
+
"hasDynamicHelp": false,
|
|
10605
|
+
"multiple": false,
|
|
10606
|
+
"type": "option"
|
|
10607
|
+
},
|
|
10608
|
+
"search": {
|
|
10609
|
+
"description": "Search templates by name or content",
|
|
10610
|
+
"name": "search",
|
|
10611
|
+
"hasDynamicHelp": false,
|
|
10612
|
+
"multiple": false,
|
|
10613
|
+
"type": "option"
|
|
10614
|
+
},
|
|
10615
|
+
"page": {
|
|
10616
|
+
"description": "Page number",
|
|
10617
|
+
"name": "page",
|
|
10618
|
+
"default": 1,
|
|
10619
|
+
"hasDynamicHelp": false,
|
|
10620
|
+
"multiple": false,
|
|
10621
|
+
"type": "option"
|
|
10622
|
+
},
|
|
10623
|
+
"limit": {
|
|
10624
|
+
"description": "Items per page",
|
|
10625
|
+
"name": "limit",
|
|
10626
|
+
"default": 20,
|
|
10627
|
+
"hasDynamicHelp": false,
|
|
10628
|
+
"multiple": false,
|
|
10629
|
+
"type": "option"
|
|
10581
10630
|
}
|
|
10582
10631
|
},
|
|
10583
10632
|
"hasDynamicHelp": false,
|
|
10584
10633
|
"hiddenAliases": [],
|
|
10585
|
-
"id": "
|
|
10634
|
+
"id": "templates:list",
|
|
10586
10635
|
"pluginAlias": "@instantkom/cli",
|
|
10587
10636
|
"pluginName": "@instantkom/cli",
|
|
10588
10637
|
"pluginType": "core",
|
|
@@ -10592,14 +10641,20 @@
|
|
|
10592
10641
|
"relativePath": [
|
|
10593
10642
|
"dist",
|
|
10594
10643
|
"commands",
|
|
10595
|
-
"
|
|
10644
|
+
"templates",
|
|
10596
10645
|
"list.js"
|
|
10597
10646
|
]
|
|
10598
10647
|
},
|
|
10599
|
-
"
|
|
10648
|
+
"templates:render": {
|
|
10600
10649
|
"aliases": [],
|
|
10601
|
-
"args": {
|
|
10602
|
-
|
|
10650
|
+
"args": {
|
|
10651
|
+
"id": {
|
|
10652
|
+
"description": "Template ID",
|
|
10653
|
+
"name": "id",
|
|
10654
|
+
"required": true
|
|
10655
|
+
}
|
|
10656
|
+
},
|
|
10657
|
+
"description": "Render a message template locally",
|
|
10603
10658
|
"flags": {
|
|
10604
10659
|
"api-key": {
|
|
10605
10660
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10662,11 +10717,18 @@
|
|
|
10662
10717
|
"hasDynamicHelp": false,
|
|
10663
10718
|
"multiple": false,
|
|
10664
10719
|
"type": "option"
|
|
10720
|
+
},
|
|
10721
|
+
"vars": {
|
|
10722
|
+
"description": "Template variable as key=value; may be repeated",
|
|
10723
|
+
"name": "vars",
|
|
10724
|
+
"hasDynamicHelp": false,
|
|
10725
|
+
"multiple": true,
|
|
10726
|
+
"type": "option"
|
|
10665
10727
|
}
|
|
10666
10728
|
},
|
|
10667
10729
|
"hasDynamicHelp": false,
|
|
10668
10730
|
"hiddenAliases": [],
|
|
10669
|
-
"id": "
|
|
10731
|
+
"id": "templates:render",
|
|
10670
10732
|
"pluginAlias": "@instantkom/cli",
|
|
10671
10733
|
"pluginName": "@instantkom/cli",
|
|
10672
10734
|
"pluginType": "core",
|
|
@@ -10676,20 +10738,20 @@
|
|
|
10676
10738
|
"relativePath": [
|
|
10677
10739
|
"dist",
|
|
10678
10740
|
"commands",
|
|
10679
|
-
"
|
|
10680
|
-
"
|
|
10741
|
+
"templates",
|
|
10742
|
+
"render.js"
|
|
10681
10743
|
]
|
|
10682
10744
|
},
|
|
10683
|
-
"
|
|
10745
|
+
"templates:update": {
|
|
10684
10746
|
"aliases": [],
|
|
10685
10747
|
"args": {
|
|
10686
10748
|
"id": {
|
|
10687
|
-
"description": "
|
|
10749
|
+
"description": "Template ID",
|
|
10688
10750
|
"name": "id",
|
|
10689
10751
|
"required": true
|
|
10690
10752
|
}
|
|
10691
10753
|
},
|
|
10692
|
-
"description": "
|
|
10754
|
+
"description": "Update a message template",
|
|
10693
10755
|
"flags": {
|
|
10694
10756
|
"api-key": {
|
|
10695
10757
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10752,11 +10814,89 @@
|
|
|
10752
10814
|
"hasDynamicHelp": false,
|
|
10753
10815
|
"multiple": false,
|
|
10754
10816
|
"type": "option"
|
|
10817
|
+
},
|
|
10818
|
+
"name": {
|
|
10819
|
+
"description": "Template name",
|
|
10820
|
+
"name": "name",
|
|
10821
|
+
"hasDynamicHelp": false,
|
|
10822
|
+
"multiple": false,
|
|
10823
|
+
"type": "option"
|
|
10824
|
+
},
|
|
10825
|
+
"type": {
|
|
10826
|
+
"description": "Template type",
|
|
10827
|
+
"name": "type",
|
|
10828
|
+
"hasDynamicHelp": false,
|
|
10829
|
+
"multiple": false,
|
|
10830
|
+
"options": [
|
|
10831
|
+
"text",
|
|
10832
|
+
"image",
|
|
10833
|
+
"video",
|
|
10834
|
+
"document",
|
|
10835
|
+
"audio",
|
|
10836
|
+
"location",
|
|
10837
|
+
"contact",
|
|
10838
|
+
"interactive"
|
|
10839
|
+
],
|
|
10840
|
+
"type": "option"
|
|
10841
|
+
},
|
|
10842
|
+
"message": {
|
|
10843
|
+
"description": "Template message",
|
|
10844
|
+
"name": "message",
|
|
10845
|
+
"hasDynamicHelp": false,
|
|
10846
|
+
"multiple": false,
|
|
10847
|
+
"type": "option"
|
|
10848
|
+
},
|
|
10849
|
+
"color": {
|
|
10850
|
+
"description": "Template color as HEX",
|
|
10851
|
+
"name": "color",
|
|
10852
|
+
"hasDynamicHelp": false,
|
|
10853
|
+
"multiple": false,
|
|
10854
|
+
"type": "option"
|
|
10855
|
+
},
|
|
10856
|
+
"status": {
|
|
10857
|
+
"description": "Template is active",
|
|
10858
|
+
"name": "status",
|
|
10859
|
+
"allowNo": true,
|
|
10860
|
+
"type": "boolean"
|
|
10861
|
+
},
|
|
10862
|
+
"remove-media": {
|
|
10863
|
+
"description": "Remove existing media",
|
|
10864
|
+
"name": "remove-media",
|
|
10865
|
+
"allowNo": false,
|
|
10866
|
+
"type": "boolean"
|
|
10867
|
+
},
|
|
10868
|
+
"whatsapp-language": {
|
|
10869
|
+
"description": "WhatsApp template language",
|
|
10870
|
+
"name": "whatsapp-language",
|
|
10871
|
+
"hasDynamicHelp": false,
|
|
10872
|
+
"multiple": false,
|
|
10873
|
+
"type": "option"
|
|
10874
|
+
},
|
|
10875
|
+
"buttons": {
|
|
10876
|
+
"description": "Buttons JSON array/object",
|
|
10877
|
+
"name": "buttons",
|
|
10878
|
+
"hasDynamicHelp": false,
|
|
10879
|
+
"multiple": false,
|
|
10880
|
+
"type": "option"
|
|
10881
|
+
},
|
|
10882
|
+
"header-footer": {
|
|
10883
|
+
"description": "Header/footer JSON object",
|
|
10884
|
+
"name": "header-footer",
|
|
10885
|
+
"hasDynamicHelp": false,
|
|
10886
|
+
"multiple": false,
|
|
10887
|
+
"type": "option"
|
|
10888
|
+
},
|
|
10889
|
+
"data": {
|
|
10890
|
+
"description": "Additional JSON object payload",
|
|
10891
|
+
"name": "data",
|
|
10892
|
+
"hasDynamicHelp": false,
|
|
10893
|
+
"multiple": false,
|
|
10894
|
+
"type": "option"
|
|
10755
10895
|
}
|
|
10756
10896
|
},
|
|
10757
10897
|
"hasDynamicHelp": false,
|
|
10758
10898
|
"hiddenAliases": [],
|
|
10759
|
-
"id": "
|
|
10899
|
+
"id": "templates:update",
|
|
10760
10900
|
"pluginAlias": "@instantkom/cli",
|
|
10761
10901
|
"pluginName": "@instantkom/cli",
|
|
10762
10902
|
"pluginType": "core",
|
|
@@ -10766,14 +10906,14 @@
|
|
|
10766
10906
|
"relativePath": [
|
|
10767
10907
|
"dist",
|
|
10768
10908
|
"commands",
|
|
10769
|
-
"
|
|
10770
|
-
"
|
|
10909
|
+
"templates",
|
|
10910
|
+
"update.js"
|
|
10771
10911
|
]
|
|
10772
10912
|
},
|
|
10773
|
-
"
|
|
10913
|
+
"templates:validate-import": {
|
|
10774
10914
|
"aliases": [],
|
|
10775
10915
|
"args": {},
|
|
10776
|
-
"description": "
|
|
10916
|
+
"description": "Validate templates import JSON",
|
|
10777
10917
|
"flags": {
|
|
10778
10918
|
"api-key": {
|
|
10779
10919
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10837,25 +10977,18 @@
|
|
|
10837
10977
|
"multiple": false,
|
|
10838
10978
|
"type": "option"
|
|
10839
10979
|
},
|
|
10840
|
-
"
|
|
10841
|
-
"description": "
|
|
10842
|
-
"name": "
|
|
10980
|
+
"file": {
|
|
10981
|
+
"description": "JSON file path",
|
|
10982
|
+
"name": "file",
|
|
10843
10983
|
"required": true,
|
|
10844
10984
|
"hasDynamicHelp": false,
|
|
10845
10985
|
"multiple": false,
|
|
10846
10986
|
"type": "option"
|
|
10847
10987
|
},
|
|
10848
|
-
"
|
|
10849
|
-
"description": "
|
|
10850
|
-
"name": "
|
|
10851
|
-
"
|
|
10852
|
-
"hasDynamicHelp": false,
|
|
10853
|
-
"multiple": false,
|
|
10854
|
-
"type": "option"
|
|
10855
|
-
},
|
|
10856
|
-
"payload": {
|
|
10857
|
-
"description": "Payload JSON",
|
|
10858
|
-
"name": "payload",
|
|
10988
|
+
"channel": {
|
|
10989
|
+
"description": "Target channel ID",
|
|
10990
|
+
"name": "channel",
|
|
10991
|
+
"required": true,
|
|
10859
10992
|
"hasDynamicHelp": false,
|
|
10860
10993
|
"multiple": false,
|
|
10861
10994
|
"type": "option"
|
|
@@ -10863,7 +10996,7 @@
|
|
|
10863
10996
|
},
|
|
10864
10997
|
"hasDynamicHelp": false,
|
|
10865
10998
|
"hiddenAliases": [],
|
|
10866
|
-
"id": "
|
|
10999
|
+
"id": "templates:validate-import",
|
|
10867
11000
|
"pluginAlias": "@instantkom/cli",
|
|
10868
11001
|
"pluginName": "@instantkom/cli",
|
|
10869
11002
|
"pluginType": "core",
|
|
@@ -10873,14 +11006,14 @@
|
|
|
10873
11006
|
"relativePath": [
|
|
10874
11007
|
"dist",
|
|
10875
11008
|
"commands",
|
|
10876
|
-
"
|
|
10877
|
-
"
|
|
11009
|
+
"templates",
|
|
11010
|
+
"validate-import.js"
|
|
10878
11011
|
]
|
|
10879
11012
|
},
|
|
10880
|
-
"
|
|
11013
|
+
"webhooks:add": {
|
|
10881
11014
|
"aliases": [],
|
|
10882
11015
|
"args": {},
|
|
10883
|
-
"description": "
|
|
11016
|
+
"description": "Add a webhook subscription",
|
|
10884
11017
|
"flags": {
|
|
10885
11018
|
"api-key": {
|
|
10886
11019
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10944,68 +11077,33 @@
|
|
|
10944
11077
|
"multiple": false,
|
|
10945
11078
|
"type": "option"
|
|
10946
11079
|
},
|
|
10947
|
-
"
|
|
10948
|
-
"description": "
|
|
10949
|
-
"name": "
|
|
11080
|
+
"event": {
|
|
11081
|
+
"description": "Webhook event to subscribe to",
|
|
11082
|
+
"name": "event",
|
|
10950
11083
|
"required": true,
|
|
10951
11084
|
"hasDynamicHelp": false,
|
|
10952
11085
|
"multiple": false,
|
|
11086
|
+
"options": [
|
|
11087
|
+
"new_contact",
|
|
11088
|
+
"new_message",
|
|
11089
|
+
"broadcast_sent",
|
|
11090
|
+
"contact_updated",
|
|
11091
|
+
"contact_opted_out"
|
|
11092
|
+
],
|
|
10953
11093
|
"type": "option"
|
|
10954
11094
|
},
|
|
10955
|
-
"
|
|
10956
|
-
"description": "
|
|
10957
|
-
"name": "
|
|
11095
|
+
"url": {
|
|
11096
|
+
"description": "HTTPS target URL that receives webhook POSTs",
|
|
11097
|
+
"name": "url",
|
|
10958
11098
|
"required": true,
|
|
10959
11099
|
"hasDynamicHelp": false,
|
|
10960
11100
|
"multiple": false,
|
|
10961
11101
|
"type": "option"
|
|
10962
|
-
},
|
|
10963
|
-
"recipient": {
|
|
10964
|
-
"description": "Existing recipient ID",
|
|
10965
|
-
"name": "recipient",
|
|
10966
|
-
"hasDynamicHelp": false,
|
|
10967
|
-
"multiple": false,
|
|
10968
|
-
"type": "option"
|
|
10969
|
-
},
|
|
10970
|
-
"email": {
|
|
10971
|
-
"description": "Customer email",
|
|
10972
|
-
"name": "email",
|
|
10973
|
-
"hasDynamicHelp": false,
|
|
10974
|
-
"multiple": false,
|
|
10975
|
-
"type": "option"
|
|
10976
|
-
},
|
|
10977
|
-
"name": {
|
|
10978
|
-
"description": "Customer name",
|
|
10979
|
-
"name": "name",
|
|
10980
|
-
"hasDynamicHelp": false,
|
|
10981
|
-
"multiple": false,
|
|
10982
|
-
"type": "option"
|
|
10983
|
-
},
|
|
10984
|
-
"priority": {
|
|
10985
|
-
"description": "Ticket priority",
|
|
10986
|
-
"name": "priority",
|
|
10987
|
-
"hasDynamicHelp": false,
|
|
10988
|
-
"multiple": false,
|
|
10989
|
-
"type": "option"
|
|
10990
|
-
},
|
|
10991
|
-
"source": {
|
|
10992
|
-
"description": "Ticket source",
|
|
10993
|
-
"name": "source",
|
|
10994
|
-
"hasDynamicHelp": false,
|
|
10995
|
-
"multiple": false,
|
|
10996
|
-
"type": "option"
|
|
10997
|
-
},
|
|
10998
|
-
"data": {
|
|
10999
|
-
"description": "Additional JSON object payload",
|
|
11000
|
-
"name": "data",
|
|
11001
|
-
"hasDynamicHelp": false,
|
|
11002
|
-
"multiple": false,
|
|
11003
|
-
"type": "option"
|
|
11004
11102
|
}
|
|
11005
11103
|
},
|
|
11006
11104
|
"hasDynamicHelp": false,
|
|
11007
11105
|
"hiddenAliases": [],
|
|
11008
|
-
"id": "
|
|
11106
|
+
"id": "webhooks:add",
|
|
11009
11107
|
"pluginAlias": "@instantkom/cli",
|
|
11010
11108
|
"pluginName": "@instantkom/cli",
|
|
11011
11109
|
"pluginType": "core",
|
|
@@ -11015,20 +11113,14 @@
|
|
|
11015
11113
|
"relativePath": [
|
|
11016
11114
|
"dist",
|
|
11017
11115
|
"commands",
|
|
11018
|
-
"
|
|
11019
|
-
"
|
|
11116
|
+
"webhooks",
|
|
11117
|
+
"add.js"
|
|
11020
11118
|
]
|
|
11021
11119
|
},
|
|
11022
|
-
"
|
|
11120
|
+
"webhooks:events": {
|
|
11023
11121
|
"aliases": [],
|
|
11024
|
-
"args": {
|
|
11025
|
-
|
|
11026
|
-
"description": "Ticket ID",
|
|
11027
|
-
"name": "id",
|
|
11028
|
-
"required": true
|
|
11029
|
-
}
|
|
11030
|
-
},
|
|
11031
|
-
"description": "Delete a ticket",
|
|
11122
|
+
"args": {},
|
|
11123
|
+
"description": "List supported webhook event names",
|
|
11032
11124
|
"flags": {
|
|
11033
11125
|
"api-key": {
|
|
11034
11126
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11091,19 +11183,11 @@
|
|
|
11091
11183
|
"hasDynamicHelp": false,
|
|
11092
11184
|
"multiple": false,
|
|
11093
11185
|
"type": "option"
|
|
11094
|
-
},
|
|
11095
|
-
"channel": {
|
|
11096
|
-
"description": "Channel ID",
|
|
11097
|
-
"name": "channel",
|
|
11098
|
-
"required": true,
|
|
11099
|
-
"hasDynamicHelp": false,
|
|
11100
|
-
"multiple": false,
|
|
11101
|
-
"type": "option"
|
|
11102
11186
|
}
|
|
11103
11187
|
},
|
|
11104
11188
|
"hasDynamicHelp": false,
|
|
11105
11189
|
"hiddenAliases": [],
|
|
11106
|
-
"id": "
|
|
11190
|
+
"id": "webhooks:events",
|
|
11107
11191
|
"pluginAlias": "@instantkom/cli",
|
|
11108
11192
|
"pluginName": "@instantkom/cli",
|
|
11109
11193
|
"pluginType": "core",
|
|
@@ -11113,20 +11197,14 @@
|
|
|
11113
11197
|
"relativePath": [
|
|
11114
11198
|
"dist",
|
|
11115
11199
|
"commands",
|
|
11116
|
-
"
|
|
11117
|
-
"
|
|
11200
|
+
"webhooks",
|
|
11201
|
+
"events.js"
|
|
11118
11202
|
]
|
|
11119
11203
|
},
|
|
11120
|
-
"
|
|
11204
|
+
"webhooks:list": {
|
|
11121
11205
|
"aliases": [],
|
|
11122
|
-
"args": {
|
|
11123
|
-
|
|
11124
|
-
"description": "Ticket ID",
|
|
11125
|
-
"name": "id",
|
|
11126
|
-
"required": true
|
|
11127
|
-
}
|
|
11128
|
-
},
|
|
11129
|
-
"description": "Get a ticket by ID",
|
|
11206
|
+
"args": {},
|
|
11207
|
+
"description": "List webhook subscriptions",
|
|
11130
11208
|
"flags": {
|
|
11131
11209
|
"api-key": {
|
|
11132
11210
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11189,19 +11267,11 @@
|
|
|
11189
11267
|
"hasDynamicHelp": false,
|
|
11190
11268
|
"multiple": false,
|
|
11191
11269
|
"type": "option"
|
|
11192
|
-
},
|
|
11193
|
-
"channel": {
|
|
11194
|
-
"description": "Channel ID",
|
|
11195
|
-
"name": "channel",
|
|
11196
|
-
"required": true,
|
|
11197
|
-
"hasDynamicHelp": false,
|
|
11198
|
-
"multiple": false,
|
|
11199
|
-
"type": "option"
|
|
11200
11270
|
}
|
|
11201
11271
|
},
|
|
11202
11272
|
"hasDynamicHelp": false,
|
|
11203
11273
|
"hiddenAliases": [],
|
|
11204
|
-
"id": "
|
|
11274
|
+
"id": "webhooks:list",
|
|
11205
11275
|
"pluginAlias": "@instantkom/cli",
|
|
11206
11276
|
"pluginName": "@instantkom/cli",
|
|
11207
11277
|
"pluginType": "core",
|
|
@@ -11211,14 +11281,14 @@
|
|
|
11211
11281
|
"relativePath": [
|
|
11212
11282
|
"dist",
|
|
11213
11283
|
"commands",
|
|
11214
|
-
"
|
|
11215
|
-
"
|
|
11284
|
+
"webhooks",
|
|
11285
|
+
"list.js"
|
|
11216
11286
|
]
|
|
11217
11287
|
},
|
|
11218
|
-
"
|
|
11288
|
+
"webhooks:logs": {
|
|
11219
11289
|
"aliases": [],
|
|
11220
11290
|
"args": {},
|
|
11221
|
-
"description": "
|
|
11291
|
+
"description": "Explain webhook log availability",
|
|
11222
11292
|
"flags": {
|
|
11223
11293
|
"api-key": {
|
|
11224
11294
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11281,35 +11351,11 @@
|
|
|
11281
11351
|
"hasDynamicHelp": false,
|
|
11282
11352
|
"multiple": false,
|
|
11283
11353
|
"type": "option"
|
|
11284
|
-
},
|
|
11285
|
-
"channel": {
|
|
11286
|
-
"description": "Channel ID",
|
|
11287
|
-
"name": "channel",
|
|
11288
|
-
"required": true,
|
|
11289
|
-
"hasDynamicHelp": false,
|
|
11290
|
-
"multiple": false,
|
|
11291
|
-
"type": "option"
|
|
11292
|
-
},
|
|
11293
|
-
"limit": {
|
|
11294
|
-
"description": "Maximum tickets to return",
|
|
11295
|
-
"name": "limit",
|
|
11296
|
-
"default": 500,
|
|
11297
|
-
"hasDynamicHelp": false,
|
|
11298
|
-
"multiple": false,
|
|
11299
|
-
"type": "option"
|
|
11300
|
-
},
|
|
11301
|
-
"offset": {
|
|
11302
|
-
"description": "Number of tickets to skip",
|
|
11303
|
-
"name": "offset",
|
|
11304
|
-
"default": 0,
|
|
11305
|
-
"hasDynamicHelp": false,
|
|
11306
|
-
"multiple": false,
|
|
11307
|
-
"type": "option"
|
|
11308
11354
|
}
|
|
11309
11355
|
},
|
|
11310
11356
|
"hasDynamicHelp": false,
|
|
11311
11357
|
"hiddenAliases": [],
|
|
11312
|
-
"id": "
|
|
11358
|
+
"id": "webhooks:logs",
|
|
11313
11359
|
"pluginAlias": "@instantkom/cli",
|
|
11314
11360
|
"pluginName": "@instantkom/cli",
|
|
11315
11361
|
"pluginType": "core",
|
|
@@ -11319,20 +11365,20 @@
|
|
|
11319
11365
|
"relativePath": [
|
|
11320
11366
|
"dist",
|
|
11321
11367
|
"commands",
|
|
11322
|
-
"
|
|
11323
|
-
"
|
|
11368
|
+
"webhooks",
|
|
11369
|
+
"logs.js"
|
|
11324
11370
|
]
|
|
11325
11371
|
},
|
|
11326
|
-
"
|
|
11372
|
+
"webhooks:remove": {
|
|
11327
11373
|
"aliases": [],
|
|
11328
11374
|
"args": {
|
|
11329
11375
|
"id": {
|
|
11330
|
-
"description": "
|
|
11376
|
+
"description": "Webhook subscription ID",
|
|
11331
11377
|
"name": "id",
|
|
11332
11378
|
"required": true
|
|
11333
11379
|
}
|
|
11334
11380
|
},
|
|
11335
|
-
"description": "
|
|
11381
|
+
"description": "Remove a webhook subscription",
|
|
11336
11382
|
"flags": {
|
|
11337
11383
|
"api-key": {
|
|
11338
11384
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11395,25 +11441,11 @@
|
|
|
11395
11441
|
"hasDynamicHelp": false,
|
|
11396
11442
|
"multiple": false,
|
|
11397
11443
|
"type": "option"
|
|
11398
|
-
},
|
|
11399
|
-
"message": {
|
|
11400
|
-
"description": "Reply body (raw text, no salutation or sign-off)",
|
|
11401
|
-
"name": "message",
|
|
11402
|
-
"required": true,
|
|
11403
|
-
"hasDynamicHelp": false,
|
|
11404
|
-
"multiple": false,
|
|
11405
|
-
"type": "option"
|
|
11406
|
-
},
|
|
11407
|
-
"close": {
|
|
11408
|
-
"description": "Close the ticket after sending the reply",
|
|
11409
|
-
"name": "close",
|
|
11410
|
-
"allowNo": false,
|
|
11411
|
-
"type": "boolean"
|
|
11412
11444
|
}
|
|
11413
11445
|
},
|
|
11414
11446
|
"hasDynamicHelp": false,
|
|
11415
11447
|
"hiddenAliases": [],
|
|
11416
|
-
"id": "
|
|
11448
|
+
"id": "webhooks:remove",
|
|
11417
11449
|
"pluginAlias": "@instantkom/cli",
|
|
11418
11450
|
"pluginName": "@instantkom/cli",
|
|
11419
11451
|
"pluginType": "core",
|
|
@@ -11423,20 +11455,14 @@
|
|
|
11423
11455
|
"relativePath": [
|
|
11424
11456
|
"dist",
|
|
11425
11457
|
"commands",
|
|
11426
|
-
"
|
|
11427
|
-
"
|
|
11458
|
+
"webhooks",
|
|
11459
|
+
"remove.js"
|
|
11428
11460
|
]
|
|
11429
11461
|
},
|
|
11430
|
-
"
|
|
11462
|
+
"webhooks:test": {
|
|
11431
11463
|
"aliases": [],
|
|
11432
|
-
"args": {
|
|
11433
|
-
|
|
11434
|
-
"description": "Ticket ID",
|
|
11435
|
-
"name": "id",
|
|
11436
|
-
"required": true
|
|
11437
|
-
}
|
|
11438
|
-
},
|
|
11439
|
-
"description": "Update a ticket",
|
|
11464
|
+
"args": {},
|
|
11465
|
+
"description": "Send a test webhook payload to a URL",
|
|
11440
11466
|
"flags": {
|
|
11441
11467
|
"api-key": {
|
|
11442
11468
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -11500,51 +11526,25 @@
|
|
|
11500
11526
|
"multiple": false,
|
|
11501
11527
|
"type": "option"
|
|
11502
11528
|
},
|
|
11503
|
-
"
|
|
11504
|
-
"description": "
|
|
11505
|
-
"name": "
|
|
11529
|
+
"url": {
|
|
11530
|
+
"description": "Webhook URL to call",
|
|
11531
|
+
"name": "url",
|
|
11506
11532
|
"required": true,
|
|
11507
11533
|
"hasDynamicHelp": false,
|
|
11508
11534
|
"multiple": false,
|
|
11509
11535
|
"type": "option"
|
|
11510
11536
|
},
|
|
11511
|
-
"
|
|
11512
|
-
"description": "
|
|
11513
|
-
"name": "
|
|
11514
|
-
"
|
|
11515
|
-
"multiple": false,
|
|
11516
|
-
"type": "option"
|
|
11517
|
-
},
|
|
11518
|
-
"priority": {
|
|
11519
|
-
"description": "Ticket priority",
|
|
11520
|
-
"name": "priority",
|
|
11521
|
-
"hasDynamicHelp": false,
|
|
11522
|
-
"multiple": false,
|
|
11523
|
-
"type": "option"
|
|
11524
|
-
},
|
|
11525
|
-
"status": {
|
|
11526
|
-
"description": "Ticket status",
|
|
11527
|
-
"name": "status",
|
|
11528
|
-
"hasDynamicHelp": false,
|
|
11529
|
-
"multiple": false,
|
|
11530
|
-
"type": "option"
|
|
11531
|
-
},
|
|
11532
|
-
"assigned-to": {
|
|
11533
|
-
"description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
|
|
11534
|
-
"name": "assigned-to",
|
|
11537
|
+
"event": {
|
|
11538
|
+
"description": "Event name",
|
|
11539
|
+
"name": "event",
|
|
11540
|
+
"default": "cli.test",
|
|
11535
11541
|
"hasDynamicHelp": false,
|
|
11536
11542
|
"multiple": false,
|
|
11537
11543
|
"type": "option"
|
|
11538
11544
|
},
|
|
11539
|
-
"
|
|
11540
|
-
"description": "
|
|
11541
|
-
"name": "
|
|
11542
|
-
"allowNo": true,
|
|
11543
|
-
"type": "boolean"
|
|
11544
|
-
},
|
|
11545
|
-
"data": {
|
|
11546
|
-
"description": "Additional JSON object payload",
|
|
11547
|
-
"name": "data",
|
|
11545
|
+
"payload": {
|
|
11546
|
+
"description": "Payload JSON",
|
|
11547
|
+
"name": "payload",
|
|
11548
11548
|
"hasDynamicHelp": false,
|
|
11549
11549
|
"multiple": false,
|
|
11550
11550
|
"type": "option"
|
|
@@ -11552,7 +11552,7 @@
|
|
|
11552
11552
|
},
|
|
11553
11553
|
"hasDynamicHelp": false,
|
|
11554
11554
|
"hiddenAliases": [],
|
|
11555
|
-
"id": "
|
|
11555
|
+
"id": "webhooks:test",
|
|
11556
11556
|
"pluginAlias": "@instantkom/cli",
|
|
11557
11557
|
"pluginName": "@instantkom/cli",
|
|
11558
11558
|
"pluginType": "core",
|
|
@@ -11562,8 +11562,8 @@
|
|
|
11562
11562
|
"relativePath": [
|
|
11563
11563
|
"dist",
|
|
11564
11564
|
"commands",
|
|
11565
|
-
"
|
|
11566
|
-
"
|
|
11565
|
+
"webhooks",
|
|
11566
|
+
"test.js"
|
|
11567
11567
|
]
|
|
11568
11568
|
},
|
|
11569
11569
|
"auth:tokens:create": {
|
|
@@ -16352,5 +16352,5 @@
|
|
|
16352
16352
|
]
|
|
16353
16353
|
}
|
|
16354
16354
|
},
|
|
16355
|
-
"version": "3.
|
|
16355
|
+
"version": "3.133.0"
|
|
16356
16356
|
}
|