@instantkom/cli 3.133.0 → 3.134.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/npm-shrinkwrap.json +2 -2
- package/oclif.manifest.json +960 -960
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -953,44 +953,10 @@
|
|
|
953
953
|
"update.js"
|
|
954
954
|
]
|
|
955
955
|
},
|
|
956
|
-
"
|
|
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": {
|
|
956
|
+
"ai:reply": {
|
|
991
957
|
"aliases": [],
|
|
992
958
|
"args": {},
|
|
993
|
-
"description": "
|
|
959
|
+
"description": "Generate AI reply suggestions for a message",
|
|
994
960
|
"flags": {
|
|
995
961
|
"api-key": {
|
|
996
962
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1054,24 +1020,46 @@
|
|
|
1054
1020
|
"multiple": false,
|
|
1055
1021
|
"type": "option"
|
|
1056
1022
|
},
|
|
1057
|
-
"
|
|
1058
|
-
"description": "
|
|
1059
|
-
"name": "
|
|
1060
|
-
"
|
|
1023
|
+
"message-id": {
|
|
1024
|
+
"description": "Message ID to use as smart-reply anchor",
|
|
1025
|
+
"name": "message-id",
|
|
1026
|
+
"required": true,
|
|
1027
|
+
"hasDynamicHelp": false,
|
|
1028
|
+
"multiple": false,
|
|
1029
|
+
"type": "option"
|
|
1030
|
+
},
|
|
1031
|
+
"limit": {
|
|
1032
|
+
"description": "Number of suggestions to generate (1-5)",
|
|
1033
|
+
"name": "limit",
|
|
1034
|
+
"hasDynamicHelp": false,
|
|
1035
|
+
"multiple": false,
|
|
1036
|
+
"type": "option"
|
|
1037
|
+
},
|
|
1038
|
+
"context-length": {
|
|
1039
|
+
"description": "Number of recent messages to use as context (1-20)",
|
|
1040
|
+
"name": "context-length",
|
|
1041
|
+
"hasDynamicHelp": false,
|
|
1042
|
+
"multiple": false,
|
|
1043
|
+
"type": "option"
|
|
1044
|
+
},
|
|
1045
|
+
"style": {
|
|
1046
|
+
"description": "Response style",
|
|
1047
|
+
"name": "style",
|
|
1061
1048
|
"hasDynamicHelp": false,
|
|
1062
1049
|
"multiple": false,
|
|
1063
1050
|
"options": [
|
|
1064
|
-
"
|
|
1065
|
-
"
|
|
1066
|
-
"
|
|
1067
|
-
"
|
|
1051
|
+
"professional",
|
|
1052
|
+
"friendly",
|
|
1053
|
+
"concise",
|
|
1054
|
+
"detailed",
|
|
1055
|
+
"empathetic"
|
|
1068
1056
|
],
|
|
1069
1057
|
"type": "option"
|
|
1070
1058
|
}
|
|
1071
1059
|
},
|
|
1072
1060
|
"hasDynamicHelp": false,
|
|
1073
1061
|
"hiddenAliases": [],
|
|
1074
|
-
"id": "
|
|
1062
|
+
"id": "ai:reply",
|
|
1075
1063
|
"pluginAlias": "@instantkom/cli",
|
|
1076
1064
|
"pluginName": "@instantkom/cli",
|
|
1077
1065
|
"pluginType": "core",
|
|
@@ -1081,14 +1069,14 @@
|
|
|
1081
1069
|
"relativePath": [
|
|
1082
1070
|
"dist",
|
|
1083
1071
|
"commands",
|
|
1084
|
-
"
|
|
1085
|
-
"
|
|
1072
|
+
"ai",
|
|
1073
|
+
"reply.js"
|
|
1086
1074
|
]
|
|
1087
1075
|
},
|
|
1088
|
-
"auth:
|
|
1076
|
+
"auth:login": {
|
|
1089
1077
|
"aliases": [],
|
|
1090
1078
|
"args": {},
|
|
1091
|
-
"description": "
|
|
1079
|
+
"description": "Authenticate with the instantKOM API via device authorization flow",
|
|
1092
1080
|
"flags": {
|
|
1093
1081
|
"api-key": {
|
|
1094
1082
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1151,11 +1139,25 @@
|
|
|
1151
1139
|
"hasDynamicHelp": false,
|
|
1152
1140
|
"multiple": false,
|
|
1153
1141
|
"type": "option"
|
|
1142
|
+
},
|
|
1143
|
+
"scope": {
|
|
1144
|
+
"description": "Requested token scope",
|
|
1145
|
+
"name": "scope",
|
|
1146
|
+
"default": "read",
|
|
1147
|
+
"hasDynamicHelp": false,
|
|
1148
|
+
"multiple": false,
|
|
1149
|
+
"options": [
|
|
1150
|
+
"full",
|
|
1151
|
+
"send",
|
|
1152
|
+
"read",
|
|
1153
|
+
"admin"
|
|
1154
|
+
],
|
|
1155
|
+
"type": "option"
|
|
1154
1156
|
}
|
|
1155
1157
|
},
|
|
1156
1158
|
"hasDynamicHelp": false,
|
|
1157
1159
|
"hiddenAliases": [],
|
|
1158
|
-
"id": "auth:
|
|
1160
|
+
"id": "auth:login",
|
|
1159
1161
|
"pluginAlias": "@instantkom/cli",
|
|
1160
1162
|
"pluginName": "@instantkom/cli",
|
|
1161
1163
|
"pluginType": "core",
|
|
@@ -1166,13 +1168,13 @@
|
|
|
1166
1168
|
"dist",
|
|
1167
1169
|
"commands",
|
|
1168
1170
|
"auth",
|
|
1169
|
-
"
|
|
1171
|
+
"login.js"
|
|
1170
1172
|
]
|
|
1171
1173
|
},
|
|
1172
|
-
"
|
|
1174
|
+
"auth:logout": {
|
|
1173
1175
|
"aliases": [],
|
|
1174
1176
|
"args": {},
|
|
1175
|
-
"description": "
|
|
1177
|
+
"description": "Remove the stored API token for the current profile",
|
|
1176
1178
|
"flags": {
|
|
1177
1179
|
"api-key": {
|
|
1178
1180
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -1235,47 +1237,45 @@
|
|
|
1235
1237
|
"hasDynamicHelp": false,
|
|
1236
1238
|
"multiple": false,
|
|
1237
1239
|
"type": "option"
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
"description": "Response style",
|
|
1263
|
-
"name": "style",
|
|
1264
|
-
"hasDynamicHelp": false,
|
|
1265
|
-
"multiple": false,
|
|
1240
|
+
}
|
|
1241
|
+
},
|
|
1242
|
+
"hasDynamicHelp": false,
|
|
1243
|
+
"hiddenAliases": [],
|
|
1244
|
+
"id": "auth:logout",
|
|
1245
|
+
"pluginAlias": "@instantkom/cli",
|
|
1246
|
+
"pluginName": "@instantkom/cli",
|
|
1247
|
+
"pluginType": "core",
|
|
1248
|
+
"strict": true,
|
|
1249
|
+
"enableJsonFlag": false,
|
|
1250
|
+
"isESM": true,
|
|
1251
|
+
"relativePath": [
|
|
1252
|
+
"dist",
|
|
1253
|
+
"commands",
|
|
1254
|
+
"auth",
|
|
1255
|
+
"logout.js"
|
|
1256
|
+
]
|
|
1257
|
+
},
|
|
1258
|
+
"autocomplete:script": {
|
|
1259
|
+
"aliases": [],
|
|
1260
|
+
"args": {
|
|
1261
|
+
"shell": {
|
|
1262
|
+
"description": "Shell type",
|
|
1263
|
+
"name": "shell",
|
|
1266
1264
|
"options": [
|
|
1267
|
-
"
|
|
1268
|
-
"
|
|
1269
|
-
"
|
|
1270
|
-
"
|
|
1271
|
-
"empathetic"
|
|
1265
|
+
"zsh",
|
|
1266
|
+
"bash",
|
|
1267
|
+
"fish",
|
|
1268
|
+
"powershell"
|
|
1272
1269
|
],
|
|
1273
|
-
"
|
|
1270
|
+
"required": false
|
|
1274
1271
|
}
|
|
1275
1272
|
},
|
|
1273
|
+
"description": "outputs autocomplete config script for shells",
|
|
1274
|
+
"flags": {},
|
|
1276
1275
|
"hasDynamicHelp": false,
|
|
1276
|
+
"hidden": true,
|
|
1277
1277
|
"hiddenAliases": [],
|
|
1278
|
-
"id": "
|
|
1278
|
+
"id": "autocomplete:script",
|
|
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
|
+
"autocomplete",
|
|
1289
|
+
"script.js"
|
|
1290
1290
|
]
|
|
1291
1291
|
},
|
|
1292
1292
|
"bots:create": {
|
|
@@ -2562,10 +2562,16 @@
|
|
|
2562
2562
|
"update.js"
|
|
2563
2563
|
]
|
|
2564
2564
|
},
|
|
2565
|
-
"
|
|
2565
|
+
"chats:get": {
|
|
2566
2566
|
"aliases": [],
|
|
2567
|
-
"args": {
|
|
2568
|
-
|
|
2567
|
+
"args": {
|
|
2568
|
+
"id": {
|
|
2569
|
+
"description": "chat ID",
|
|
2570
|
+
"name": "id",
|
|
2571
|
+
"required": true
|
|
2572
|
+
}
|
|
2573
|
+
},
|
|
2574
|
+
"description": "Get chat by ID",
|
|
2569
2575
|
"flags": {
|
|
2570
2576
|
"api-key": {
|
|
2571
2577
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2628,183 +2634,157 @@
|
|
|
2628
2634
|
"hasDynamicHelp": false,
|
|
2629
2635
|
"multiple": false,
|
|
2630
2636
|
"type": "option"
|
|
2631
|
-
}
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2637
|
+
}
|
|
2638
|
+
},
|
|
2639
|
+
"hasDynamicHelp": false,
|
|
2640
|
+
"hiddenAliases": [],
|
|
2641
|
+
"id": "chats:get",
|
|
2642
|
+
"pluginAlias": "@instantkom/cli",
|
|
2643
|
+
"pluginName": "@instantkom/cli",
|
|
2644
|
+
"pluginType": "core",
|
|
2645
|
+
"strict": true,
|
|
2646
|
+
"enableJsonFlag": false,
|
|
2647
|
+
"isESM": true,
|
|
2648
|
+
"relativePath": [
|
|
2649
|
+
"dist",
|
|
2650
|
+
"commands",
|
|
2651
|
+
"chats",
|
|
2652
|
+
"get.js"
|
|
2653
|
+
]
|
|
2654
|
+
},
|
|
2655
|
+
"chats:list": {
|
|
2656
|
+
"aliases": [],
|
|
2657
|
+
"args": {},
|
|
2658
|
+
"description": "List chats",
|
|
2659
|
+
"flags": {
|
|
2660
|
+
"api-key": {
|
|
2661
|
+
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
2662
|
+
"env": "IKM_API_KEY",
|
|
2663
|
+
"helpGroup": "GLOBAL",
|
|
2664
|
+
"name": "api-key",
|
|
2635
2665
|
"hasDynamicHelp": false,
|
|
2636
2666
|
"multiple": false,
|
|
2637
2667
|
"type": "option"
|
|
2638
2668
|
},
|
|
2639
|
-
"
|
|
2640
|
-
"description": "
|
|
2641
|
-
"
|
|
2669
|
+
"format": {
|
|
2670
|
+
"description": "Output format: text, json, yaml, or table",
|
|
2671
|
+
"helpGroup": "GLOBAL",
|
|
2672
|
+
"name": "format",
|
|
2673
|
+
"default": "text",
|
|
2642
2674
|
"hasDynamicHelp": false,
|
|
2643
2675
|
"multiple": false,
|
|
2676
|
+
"options": [
|
|
2677
|
+
"text",
|
|
2678
|
+
"json",
|
|
2679
|
+
"yaml",
|
|
2680
|
+
"table"
|
|
2681
|
+
],
|
|
2644
2682
|
"type": "option"
|
|
2645
2683
|
},
|
|
2646
|
-
"
|
|
2647
|
-
"description": "
|
|
2648
|
-
"
|
|
2649
|
-
"
|
|
2650
|
-
"
|
|
2651
|
-
"type": "
|
|
2684
|
+
"json": {
|
|
2685
|
+
"description": "Output in JSON format (alias for --format=json)",
|
|
2686
|
+
"helpGroup": "GLOBAL",
|
|
2687
|
+
"name": "json",
|
|
2688
|
+
"allowNo": false,
|
|
2689
|
+
"type": "boolean"
|
|
2652
2690
|
},
|
|
2653
|
-
"
|
|
2654
|
-
"description": "
|
|
2655
|
-
"
|
|
2656
|
-
"
|
|
2657
|
-
"
|
|
2658
|
-
"
|
|
2659
|
-
"type": "option"
|
|
2691
|
+
"quiet": {
|
|
2692
|
+
"description": "Suppress all output except errors",
|
|
2693
|
+
"helpGroup": "GLOBAL",
|
|
2694
|
+
"name": "quiet",
|
|
2695
|
+
"allowNo": false,
|
|
2696
|
+
"type": "boolean"
|
|
2660
2697
|
},
|
|
2661
|
-
"
|
|
2662
|
-
"description": "
|
|
2663
|
-
"
|
|
2698
|
+
"no-color": {
|
|
2699
|
+
"description": "Disable color output",
|
|
2700
|
+
"helpGroup": "GLOBAL",
|
|
2701
|
+
"name": "no-color",
|
|
2702
|
+
"allowNo": false,
|
|
2703
|
+
"type": "boolean"
|
|
2704
|
+
},
|
|
2705
|
+
"profile": {
|
|
2706
|
+
"description": "Named configuration profile to use",
|
|
2707
|
+
"helpGroup": "GLOBAL",
|
|
2708
|
+
"name": "profile",
|
|
2709
|
+
"default": "default",
|
|
2664
2710
|
"hasDynamicHelp": false,
|
|
2665
2711
|
"multiple": false,
|
|
2666
2712
|
"type": "option"
|
|
2667
2713
|
},
|
|
2668
|
-
"
|
|
2669
|
-
"description": "
|
|
2670
|
-
"
|
|
2671
|
-
"
|
|
2672
|
-
"
|
|
2714
|
+
"api-url": {
|
|
2715
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
2716
|
+
"helpGroup": "GLOBAL",
|
|
2717
|
+
"name": "api-url",
|
|
2718
|
+
"hasDynamicHelp": false,
|
|
2719
|
+
"multiple": false,
|
|
2720
|
+
"type": "option"
|
|
2673
2721
|
},
|
|
2674
|
-
"
|
|
2675
|
-
"description": "
|
|
2676
|
-
"name": "
|
|
2722
|
+
"page": {
|
|
2723
|
+
"description": "Page number",
|
|
2724
|
+
"name": "page",
|
|
2725
|
+
"default": 1,
|
|
2677
2726
|
"hasDynamicHelp": false,
|
|
2678
2727
|
"multiple": false,
|
|
2679
2728
|
"type": "option"
|
|
2680
2729
|
},
|
|
2681
|
-
"
|
|
2682
|
-
"description": "
|
|
2683
|
-
"name": "
|
|
2730
|
+
"limit": {
|
|
2731
|
+
"description": "Items per page",
|
|
2732
|
+
"name": "limit",
|
|
2733
|
+
"default": 20,
|
|
2684
2734
|
"hasDynamicHelp": false,
|
|
2685
|
-
"multiple":
|
|
2735
|
+
"multiple": false,
|
|
2686
2736
|
"type": "option"
|
|
2687
2737
|
},
|
|
2688
|
-
"
|
|
2689
|
-
"description": "
|
|
2690
|
-
"name": "
|
|
2738
|
+
"channel": {
|
|
2739
|
+
"description": "Filter by channel ID",
|
|
2740
|
+
"name": "channel",
|
|
2691
2741
|
"hasDynamicHelp": false,
|
|
2692
2742
|
"multiple": false,
|
|
2693
2743
|
"type": "option"
|
|
2694
2744
|
},
|
|
2695
|
-
"
|
|
2696
|
-
"description": "
|
|
2697
|
-
"name": "
|
|
2698
|
-
"default": "draft",
|
|
2745
|
+
"channels": {
|
|
2746
|
+
"description": "Comma-separated channel IDs",
|
|
2747
|
+
"name": "channels",
|
|
2699
2748
|
"hasDynamicHelp": false,
|
|
2700
2749
|
"multiple": false,
|
|
2701
|
-
"options": [
|
|
2702
|
-
"draft",
|
|
2703
|
-
"scheduled",
|
|
2704
|
-
"sending"
|
|
2705
|
-
],
|
|
2706
2750
|
"type": "option"
|
|
2707
2751
|
},
|
|
2708
|
-
"
|
|
2709
|
-
"description": "
|
|
2710
|
-
"name": "
|
|
2711
|
-
"allowNo": false,
|
|
2712
|
-
"type": "boolean"
|
|
2713
|
-
}
|
|
2714
|
-
},
|
|
2715
|
-
"hasDynamicHelp": false,
|
|
2716
|
-
"hiddenAliases": [],
|
|
2717
|
-
"id": "broadcast:create",
|
|
2718
|
-
"pluginAlias": "@instantkom/cli",
|
|
2719
|
-
"pluginName": "@instantkom/cli",
|
|
2720
|
-
"pluginType": "core",
|
|
2721
|
-
"strict": true,
|
|
2722
|
-
"enableJsonFlag": false,
|
|
2723
|
-
"isESM": true,
|
|
2724
|
-
"relativePath": [
|
|
2725
|
-
"dist",
|
|
2726
|
-
"commands",
|
|
2727
|
-
"broadcast",
|
|
2728
|
-
"create.js"
|
|
2729
|
-
]
|
|
2730
|
-
},
|
|
2731
|
-
"broadcast:delete": {
|
|
2732
|
-
"aliases": [],
|
|
2733
|
-
"args": {
|
|
2734
|
-
"id": {
|
|
2735
|
-
"description": "broadcast ID",
|
|
2736
|
-
"name": "id",
|
|
2737
|
-
"required": true
|
|
2738
|
-
}
|
|
2739
|
-
},
|
|
2740
|
-
"description": "Delete broadcast",
|
|
2741
|
-
"flags": {
|
|
2742
|
-
"api-key": {
|
|
2743
|
-
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
2744
|
-
"env": "IKM_API_KEY",
|
|
2745
|
-
"helpGroup": "GLOBAL",
|
|
2746
|
-
"name": "api-key",
|
|
2752
|
+
"search": {
|
|
2753
|
+
"description": "Search chats",
|
|
2754
|
+
"name": "search",
|
|
2747
2755
|
"hasDynamicHelp": false,
|
|
2748
2756
|
"multiple": false,
|
|
2749
2757
|
"type": "option"
|
|
2750
2758
|
},
|
|
2751
|
-
"
|
|
2752
|
-
"description": "
|
|
2753
|
-
"
|
|
2754
|
-
"name": "format",
|
|
2755
|
-
"default": "text",
|
|
2759
|
+
"status": {
|
|
2760
|
+
"description": "Chat status",
|
|
2761
|
+
"name": "status",
|
|
2756
2762
|
"hasDynamicHelp": false,
|
|
2757
2763
|
"multiple": false,
|
|
2758
2764
|
"options": [
|
|
2759
|
-
"
|
|
2760
|
-
"
|
|
2761
|
-
"
|
|
2762
|
-
"
|
|
2765
|
+
"all",
|
|
2766
|
+
"unread",
|
|
2767
|
+
"read",
|
|
2768
|
+
"archived"
|
|
2763
2769
|
],
|
|
2764
2770
|
"type": "option"
|
|
2765
2771
|
},
|
|
2766
|
-
"
|
|
2767
|
-
"description": "
|
|
2768
|
-
"
|
|
2769
|
-
"name": "json",
|
|
2770
|
-
"allowNo": false,
|
|
2771
|
-
"type": "boolean"
|
|
2772
|
-
},
|
|
2773
|
-
"quiet": {
|
|
2774
|
-
"description": "Suppress all output except errors",
|
|
2775
|
-
"helpGroup": "GLOBAL",
|
|
2776
|
-
"name": "quiet",
|
|
2772
|
+
"unread-only": {
|
|
2773
|
+
"description": "Only unread chats",
|
|
2774
|
+
"name": "unread-only",
|
|
2777
2775
|
"allowNo": false,
|
|
2778
2776
|
"type": "boolean"
|
|
2779
2777
|
},
|
|
2780
|
-
"
|
|
2781
|
-
"description": "
|
|
2782
|
-
"
|
|
2783
|
-
"name": "no-color",
|
|
2778
|
+
"include-archived": {
|
|
2779
|
+
"description": "Include archived chats",
|
|
2780
|
+
"name": "include-archived",
|
|
2784
2781
|
"allowNo": false,
|
|
2785
2782
|
"type": "boolean"
|
|
2786
|
-
},
|
|
2787
|
-
"profile": {
|
|
2788
|
-
"description": "Named configuration profile to use",
|
|
2789
|
-
"helpGroup": "GLOBAL",
|
|
2790
|
-
"name": "profile",
|
|
2791
|
-
"default": "default",
|
|
2792
|
-
"hasDynamicHelp": false,
|
|
2793
|
-
"multiple": false,
|
|
2794
|
-
"type": "option"
|
|
2795
|
-
},
|
|
2796
|
-
"api-url": {
|
|
2797
|
-
"description": "Override the API base URL (e.g. for staging)",
|
|
2798
|
-
"helpGroup": "GLOBAL",
|
|
2799
|
-
"name": "api-url",
|
|
2800
|
-
"hasDynamicHelp": false,
|
|
2801
|
-
"multiple": false,
|
|
2802
|
-
"type": "option"
|
|
2803
2783
|
}
|
|
2804
2784
|
},
|
|
2805
2785
|
"hasDynamicHelp": false,
|
|
2806
2786
|
"hiddenAliases": [],
|
|
2807
|
-
"id": "
|
|
2787
|
+
"id": "chats:list",
|
|
2808
2788
|
"pluginAlias": "@instantkom/cli",
|
|
2809
2789
|
"pluginName": "@instantkom/cli",
|
|
2810
2790
|
"pluginType": "core",
|
|
@@ -2814,20 +2794,20 @@
|
|
|
2814
2794
|
"relativePath": [
|
|
2815
2795
|
"dist",
|
|
2816
2796
|
"commands",
|
|
2817
|
-
"
|
|
2818
|
-
"
|
|
2797
|
+
"chats",
|
|
2798
|
+
"list.js"
|
|
2819
2799
|
]
|
|
2820
2800
|
},
|
|
2821
|
-
"
|
|
2801
|
+
"chats:reply": {
|
|
2822
2802
|
"aliases": [],
|
|
2823
2803
|
"args": {
|
|
2824
2804
|
"id": {
|
|
2825
|
-
"description": "
|
|
2805
|
+
"description": "Chat ID",
|
|
2826
2806
|
"name": "id",
|
|
2827
2807
|
"required": true
|
|
2828
2808
|
}
|
|
2829
2809
|
},
|
|
2830
|
-
"description": "
|
|
2810
|
+
"description": "Reply in a chat",
|
|
2831
2811
|
"flags": {
|
|
2832
2812
|
"api-key": {
|
|
2833
2813
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2890,11 +2870,19 @@
|
|
|
2890
2870
|
"hasDynamicHelp": false,
|
|
2891
2871
|
"multiple": false,
|
|
2892
2872
|
"type": "option"
|
|
2873
|
+
},
|
|
2874
|
+
"text": {
|
|
2875
|
+
"description": "Reply text",
|
|
2876
|
+
"name": "text",
|
|
2877
|
+
"required": true,
|
|
2878
|
+
"hasDynamicHelp": false,
|
|
2879
|
+
"multiple": false,
|
|
2880
|
+
"type": "option"
|
|
2893
2881
|
}
|
|
2894
2882
|
},
|
|
2895
2883
|
"hasDynamicHelp": false,
|
|
2896
2884
|
"hiddenAliases": [],
|
|
2897
|
-
"id": "
|
|
2885
|
+
"id": "chats:reply",
|
|
2898
2886
|
"pluginAlias": "@instantkom/cli",
|
|
2899
2887
|
"pluginName": "@instantkom/cli",
|
|
2900
2888
|
"pluginType": "core",
|
|
@@ -2904,14 +2892,14 @@
|
|
|
2904
2892
|
"relativePath": [
|
|
2905
2893
|
"dist",
|
|
2906
2894
|
"commands",
|
|
2907
|
-
"
|
|
2908
|
-
"
|
|
2895
|
+
"chats",
|
|
2896
|
+
"reply.js"
|
|
2909
2897
|
]
|
|
2910
2898
|
},
|
|
2911
|
-
"broadcast:
|
|
2899
|
+
"broadcast:create": {
|
|
2912
2900
|
"aliases": [],
|
|
2913
2901
|
"args": {},
|
|
2914
|
-
"description": "
|
|
2902
|
+
"description": "Create a broadcast for channels or segments",
|
|
2915
2903
|
"flags": {
|
|
2916
2904
|
"api-key": {
|
|
2917
2905
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2975,72 +2963,92 @@
|
|
|
2975
2963
|
"multiple": false,
|
|
2976
2964
|
"type": "option"
|
|
2977
2965
|
},
|
|
2978
|
-
"
|
|
2979
|
-
"description": "
|
|
2980
|
-
"name": "
|
|
2981
|
-
"default": 1,
|
|
2966
|
+
"channel": {
|
|
2967
|
+
"description": "Channel ID target",
|
|
2968
|
+
"name": "channel",
|
|
2982
2969
|
"hasDynamicHelp": false,
|
|
2983
2970
|
"multiple": false,
|
|
2984
2971
|
"type": "option"
|
|
2985
2972
|
},
|
|
2986
|
-
"
|
|
2987
|
-
"description": "
|
|
2988
|
-
"name": "
|
|
2989
|
-
"default": 20,
|
|
2973
|
+
"segment": {
|
|
2974
|
+
"description": "Segment ID within --channel",
|
|
2975
|
+
"name": "segment",
|
|
2990
2976
|
"hasDynamicHelp": false,
|
|
2991
2977
|
"multiple": false,
|
|
2992
2978
|
"type": "option"
|
|
2993
2979
|
},
|
|
2994
|
-
"
|
|
2995
|
-
"description": "
|
|
2996
|
-
"name": "
|
|
2980
|
+
"target": {
|
|
2981
|
+
"description": "Target as channelId or channelId:segmentId; may be repeated",
|
|
2982
|
+
"name": "target",
|
|
2983
|
+
"hasDynamicHelp": false,
|
|
2984
|
+
"multiple": true,
|
|
2985
|
+
"type": "option"
|
|
2986
|
+
},
|
|
2987
|
+
"text": {
|
|
2988
|
+
"description": "Broadcast message text",
|
|
2989
|
+
"name": "text",
|
|
2990
|
+
"required": true,
|
|
2997
2991
|
"hasDynamicHelp": false,
|
|
2998
2992
|
"multiple": false,
|
|
2999
2993
|
"type": "option"
|
|
3000
2994
|
},
|
|
3001
|
-
"send-
|
|
3002
|
-
"description": "
|
|
3003
|
-
"name": "send-
|
|
2995
|
+
"send-at": {
|
|
2996
|
+
"description": "Schedule send for an ISO-8601 date-time",
|
|
2997
|
+
"name": "send-at",
|
|
3004
2998
|
"hasDynamicHelp": false,
|
|
3005
2999
|
"multiple": false,
|
|
3006
3000
|
"type": "option"
|
|
3007
3001
|
},
|
|
3008
|
-
"
|
|
3009
|
-
"description": "
|
|
3010
|
-
"name": "
|
|
3002
|
+
"dry-run": {
|
|
3003
|
+
"description": "Validate and print the broadcast payload without mutating API calls",
|
|
3004
|
+
"name": "dry-run",
|
|
3005
|
+
"allowNo": false,
|
|
3006
|
+
"type": "boolean"
|
|
3007
|
+
},
|
|
3008
|
+
"idempotency-key": {
|
|
3009
|
+
"description": "Idempotency key forwarded as Idempotency-Key",
|
|
3010
|
+
"name": "idempotency-key",
|
|
3011
3011
|
"hasDynamicHelp": false,
|
|
3012
3012
|
"multiple": false,
|
|
3013
|
-
"options": [
|
|
3014
|
-
"text",
|
|
3015
|
-
"image",
|
|
3016
|
-
"video",
|
|
3017
|
-
"audio",
|
|
3018
|
-
"document"
|
|
3019
|
-
],
|
|
3020
3013
|
"type": "option"
|
|
3021
3014
|
},
|
|
3022
|
-
"
|
|
3023
|
-
"description": "
|
|
3024
|
-
"name": "
|
|
3015
|
+
"media": {
|
|
3016
|
+
"description": "Media file path to upload",
|
|
3017
|
+
"name": "media",
|
|
3018
|
+
"hasDynamicHelp": false,
|
|
3019
|
+
"multiple": true,
|
|
3020
|
+
"type": "option"
|
|
3021
|
+
},
|
|
3022
|
+
"template-id": {
|
|
3023
|
+
"description": "WhatsApp template ID",
|
|
3024
|
+
"name": "template-id",
|
|
3025
3025
|
"hasDynamicHelp": false,
|
|
3026
3026
|
"multiple": false,
|
|
3027
3027
|
"type": "option"
|
|
3028
3028
|
},
|
|
3029
|
-
"
|
|
3030
|
-
"description": "
|
|
3031
|
-
"name": "
|
|
3029
|
+
"send-status": {
|
|
3030
|
+
"description": "Initial broadcast send status",
|
|
3031
|
+
"name": "send-status",
|
|
3032
|
+
"default": "draft",
|
|
3032
3033
|
"hasDynamicHelp": false,
|
|
3033
3034
|
"multiple": false,
|
|
3034
3035
|
"options": [
|
|
3035
|
-
"
|
|
3036
|
-
"
|
|
3036
|
+
"draft",
|
|
3037
|
+
"scheduled",
|
|
3038
|
+
"sending"
|
|
3037
3039
|
],
|
|
3038
3040
|
"type": "option"
|
|
3041
|
+
},
|
|
3042
|
+
"auto-approve": {
|
|
3043
|
+
"description": "Auto-approve broadcast when allowed by API permissions",
|
|
3044
|
+
"name": "auto-approve",
|
|
3045
|
+
"allowNo": false,
|
|
3046
|
+
"type": "boolean"
|
|
3039
3047
|
}
|
|
3040
3048
|
},
|
|
3041
3049
|
"hasDynamicHelp": false,
|
|
3042
3050
|
"hiddenAliases": [],
|
|
3043
|
-
"id": "broadcast:
|
|
3051
|
+
"id": "broadcast:create",
|
|
3044
3052
|
"pluginAlias": "@instantkom/cli",
|
|
3045
3053
|
"pluginName": "@instantkom/cli",
|
|
3046
3054
|
"pluginType": "core",
|
|
@@ -3051,19 +3059,19 @@
|
|
|
3051
3059
|
"dist",
|
|
3052
3060
|
"commands",
|
|
3053
3061
|
"broadcast",
|
|
3054
|
-
"
|
|
3062
|
+
"create.js"
|
|
3055
3063
|
]
|
|
3056
3064
|
},
|
|
3057
|
-
"broadcast:
|
|
3065
|
+
"broadcast:delete": {
|
|
3058
3066
|
"aliases": [],
|
|
3059
3067
|
"args": {
|
|
3060
3068
|
"id": {
|
|
3061
|
-
"description": "
|
|
3069
|
+
"description": "broadcast ID",
|
|
3062
3070
|
"name": "id",
|
|
3063
3071
|
"required": true
|
|
3064
3072
|
}
|
|
3065
3073
|
},
|
|
3066
|
-
"description": "
|
|
3074
|
+
"description": "Delete broadcast",
|
|
3067
3075
|
"flags": {
|
|
3068
3076
|
"api-key": {
|
|
3069
3077
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3130,7 +3138,7 @@
|
|
|
3130
3138
|
},
|
|
3131
3139
|
"hasDynamicHelp": false,
|
|
3132
3140
|
"hiddenAliases": [],
|
|
3133
|
-
"id": "broadcast:
|
|
3141
|
+
"id": "broadcast:delete",
|
|
3134
3142
|
"pluginAlias": "@instantkom/cli",
|
|
3135
3143
|
"pluginName": "@instantkom/cli",
|
|
3136
3144
|
"pluginType": "core",
|
|
@@ -3141,19 +3149,19 @@
|
|
|
3141
3149
|
"dist",
|
|
3142
3150
|
"commands",
|
|
3143
3151
|
"broadcast",
|
|
3144
|
-
"
|
|
3152
|
+
"delete.js"
|
|
3145
3153
|
]
|
|
3146
3154
|
},
|
|
3147
|
-
"broadcast:
|
|
3155
|
+
"broadcast:get": {
|
|
3148
3156
|
"aliases": [],
|
|
3149
3157
|
"args": {
|
|
3150
3158
|
"id": {
|
|
3151
|
-
"description": "
|
|
3159
|
+
"description": "broadcast ID",
|
|
3152
3160
|
"name": "id",
|
|
3153
3161
|
"required": true
|
|
3154
3162
|
}
|
|
3155
3163
|
},
|
|
3156
|
-
"description": "
|
|
3164
|
+
"description": "Get broadcast by ID",
|
|
3157
3165
|
"flags": {
|
|
3158
3166
|
"api-key": {
|
|
3159
3167
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3220,7 +3228,7 @@
|
|
|
3220
3228
|
},
|
|
3221
3229
|
"hasDynamicHelp": false,
|
|
3222
3230
|
"hiddenAliases": [],
|
|
3223
|
-
"id": "broadcast:
|
|
3231
|
+
"id": "broadcast:get",
|
|
3224
3232
|
"pluginAlias": "@instantkom/cli",
|
|
3225
3233
|
"pluginName": "@instantkom/cli",
|
|
3226
3234
|
"pluginType": "core",
|
|
@@ -3231,19 +3239,13 @@
|
|
|
3231
3239
|
"dist",
|
|
3232
3240
|
"commands",
|
|
3233
3241
|
"broadcast",
|
|
3234
|
-
"
|
|
3242
|
+
"get.js"
|
|
3235
3243
|
]
|
|
3236
3244
|
},
|
|
3237
|
-
"broadcast:
|
|
3245
|
+
"broadcast:list": {
|
|
3238
3246
|
"aliases": [],
|
|
3239
|
-
"args": {
|
|
3240
|
-
|
|
3241
|
-
"description": "Broadcast ID",
|
|
3242
|
-
"name": "id",
|
|
3243
|
-
"required": true
|
|
3244
|
-
}
|
|
3245
|
-
},
|
|
3246
|
-
"description": "Update a broadcast",
|
|
3247
|
+
"args": {},
|
|
3248
|
+
"description": "List broadcasts",
|
|
3247
3249
|
"flags": {
|
|
3248
3250
|
"api-key": {
|
|
3249
3251
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3307,76 +3309,72 @@
|
|
|
3307
3309
|
"multiple": false,
|
|
3308
3310
|
"type": "option"
|
|
3309
3311
|
},
|
|
3310
|
-
"
|
|
3311
|
-
"description": "
|
|
3312
|
-
"name": "
|
|
3312
|
+
"page": {
|
|
3313
|
+
"description": "Page number",
|
|
3314
|
+
"name": "page",
|
|
3315
|
+
"default": 1,
|
|
3313
3316
|
"hasDynamicHelp": false,
|
|
3314
3317
|
"multiple": false,
|
|
3315
3318
|
"type": "option"
|
|
3316
3319
|
},
|
|
3317
|
-
"
|
|
3318
|
-
"description": "
|
|
3319
|
-
"name": "
|
|
3320
|
+
"limit": {
|
|
3321
|
+
"description": "Items per page",
|
|
3322
|
+
"name": "limit",
|
|
3323
|
+
"default": 20,
|
|
3320
3324
|
"hasDynamicHelp": false,
|
|
3321
3325
|
"multiple": false,
|
|
3322
3326
|
"type": "option"
|
|
3323
3327
|
},
|
|
3324
|
-
"
|
|
3325
|
-
"description": "
|
|
3326
|
-
"name": "
|
|
3328
|
+
"channel": {
|
|
3329
|
+
"description": "Filter by channel ID",
|
|
3330
|
+
"name": "channel",
|
|
3327
3331
|
"hasDynamicHelp": false,
|
|
3328
3332
|
"multiple": false,
|
|
3329
3333
|
"type": "option"
|
|
3330
3334
|
},
|
|
3331
|
-
"
|
|
3332
|
-
"description": "
|
|
3333
|
-
"name": "
|
|
3334
|
-
"allowNo": false,
|
|
3335
|
-
"type": "boolean"
|
|
3336
|
-
},
|
|
3337
|
-
"locked": {
|
|
3338
|
-
"description": "Mark as locked",
|
|
3339
|
-
"name": "locked",
|
|
3340
|
-
"allowNo": false,
|
|
3341
|
-
"type": "boolean"
|
|
3342
|
-
},
|
|
3343
|
-
"test": {
|
|
3344
|
-
"description": "Mark as test broadcast",
|
|
3345
|
-
"name": "test",
|
|
3346
|
-
"allowNo": false,
|
|
3347
|
-
"type": "boolean"
|
|
3348
|
-
},
|
|
3349
|
-
"template-id": {
|
|
3350
|
-
"description": "Template ID",
|
|
3351
|
-
"name": "template-id",
|
|
3335
|
+
"send-status": {
|
|
3336
|
+
"description": "Filter by send status",
|
|
3337
|
+
"name": "send-status",
|
|
3352
3338
|
"hasDynamicHelp": false,
|
|
3353
3339
|
"multiple": false,
|
|
3354
3340
|
"type": "option"
|
|
3355
3341
|
},
|
|
3356
|
-
"
|
|
3357
|
-
"description": "
|
|
3358
|
-
"name": "
|
|
3359
|
-
"
|
|
3360
|
-
"
|
|
3342
|
+
"type": {
|
|
3343
|
+
"description": "Broadcast type",
|
|
3344
|
+
"name": "type",
|
|
3345
|
+
"hasDynamicHelp": false,
|
|
3346
|
+
"multiple": false,
|
|
3347
|
+
"options": [
|
|
3348
|
+
"text",
|
|
3349
|
+
"image",
|
|
3350
|
+
"video",
|
|
3351
|
+
"audio",
|
|
3352
|
+
"document"
|
|
3353
|
+
],
|
|
3354
|
+
"type": "option"
|
|
3361
3355
|
},
|
|
3362
|
-
"
|
|
3363
|
-
"description": "
|
|
3364
|
-
"name": "
|
|
3356
|
+
"search": {
|
|
3357
|
+
"description": "Search broadcasts",
|
|
3358
|
+
"name": "search",
|
|
3365
3359
|
"hasDynamicHelp": false,
|
|
3366
3360
|
"multiple": false,
|
|
3367
3361
|
"type": "option"
|
|
3368
3362
|
},
|
|
3369
|
-
"
|
|
3370
|
-
"description": "
|
|
3371
|
-
"name": "
|
|
3363
|
+
"test": {
|
|
3364
|
+
"description": "Filter test flag: 0 or 1",
|
|
3365
|
+
"name": "test",
|
|
3372
3366
|
"hasDynamicHelp": false,
|
|
3373
3367
|
"multiple": false,
|
|
3368
|
+
"options": [
|
|
3369
|
+
"0",
|
|
3370
|
+
"1"
|
|
3371
|
+
],
|
|
3374
3372
|
"type": "option"
|
|
3375
3373
|
}
|
|
3376
3374
|
},
|
|
3377
3375
|
"hasDynamicHelp": false,
|
|
3378
3376
|
"hiddenAliases": [],
|
|
3379
|
-
"id": "broadcast:
|
|
3377
|
+
"id": "broadcast:list",
|
|
3380
3378
|
"pluginAlias": "@instantkom/cli",
|
|
3381
3379
|
"pluginName": "@instantkom/cli",
|
|
3382
3380
|
"pluginType": "core",
|
|
@@ -3387,19 +3385,19 @@
|
|
|
3387
3385
|
"dist",
|
|
3388
3386
|
"commands",
|
|
3389
3387
|
"broadcast",
|
|
3390
|
-
"
|
|
3388
|
+
"list.js"
|
|
3391
3389
|
]
|
|
3392
3390
|
},
|
|
3393
|
-
"
|
|
3391
|
+
"broadcast:send": {
|
|
3394
3392
|
"aliases": [],
|
|
3395
3393
|
"args": {
|
|
3396
|
-
"
|
|
3397
|
-
"description": "
|
|
3398
|
-
"name": "
|
|
3394
|
+
"id": {
|
|
3395
|
+
"description": "Broadcast ID",
|
|
3396
|
+
"name": "id",
|
|
3399
3397
|
"required": true
|
|
3400
3398
|
}
|
|
3401
3399
|
},
|
|
3402
|
-
"description": "
|
|
3400
|
+
"description": "Send a broadcast immediately",
|
|
3403
3401
|
"flags": {
|
|
3404
3402
|
"api-key": {
|
|
3405
3403
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3466,7 +3464,7 @@
|
|
|
3466
3464
|
},
|
|
3467
3465
|
"hasDynamicHelp": false,
|
|
3468
3466
|
"hiddenAliases": [],
|
|
3469
|
-
"id": "
|
|
3467
|
+
"id": "broadcast:send",
|
|
3470
3468
|
"pluginAlias": "@instantkom/cli",
|
|
3471
3469
|
"pluginName": "@instantkom/cli",
|
|
3472
3470
|
"pluginType": "core",
|
|
@@ -3476,25 +3474,20 @@
|
|
|
3476
3474
|
"relativePath": [
|
|
3477
3475
|
"dist",
|
|
3478
3476
|
"commands",
|
|
3479
|
-
"
|
|
3480
|
-
"
|
|
3477
|
+
"broadcast",
|
|
3478
|
+
"send.js"
|
|
3481
3479
|
]
|
|
3482
3480
|
},
|
|
3483
|
-
"
|
|
3481
|
+
"broadcast:status": {
|
|
3484
3482
|
"aliases": [],
|
|
3485
3483
|
"args": {
|
|
3486
|
-
"
|
|
3487
|
-
"description": "
|
|
3488
|
-
"name": "
|
|
3489
|
-
"required": true
|
|
3490
|
-
},
|
|
3491
|
-
"value": {
|
|
3492
|
-
"description": "Value to assign",
|
|
3493
|
-
"name": "value",
|
|
3484
|
+
"id": {
|
|
3485
|
+
"description": "Broadcast ID",
|
|
3486
|
+
"name": "id",
|
|
3494
3487
|
"required": true
|
|
3495
3488
|
}
|
|
3496
3489
|
},
|
|
3497
|
-
"description": "
|
|
3490
|
+
"description": "Show broadcast send status",
|
|
3498
3491
|
"flags": {
|
|
3499
3492
|
"api-key": {
|
|
3500
3493
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3561,7 +3554,7 @@
|
|
|
3561
3554
|
},
|
|
3562
3555
|
"hasDynamicHelp": false,
|
|
3563
3556
|
"hiddenAliases": [],
|
|
3564
|
-
"id": "
|
|
3557
|
+
"id": "broadcast:status",
|
|
3565
3558
|
"pluginAlias": "@instantkom/cli",
|
|
3566
3559
|
"pluginName": "@instantkom/cli",
|
|
3567
3560
|
"pluginType": "core",
|
|
@@ -3571,20 +3564,20 @@
|
|
|
3571
3564
|
"relativePath": [
|
|
3572
3565
|
"dist",
|
|
3573
3566
|
"commands",
|
|
3574
|
-
"
|
|
3575
|
-
"
|
|
3567
|
+
"broadcast",
|
|
3568
|
+
"status.js"
|
|
3576
3569
|
]
|
|
3577
3570
|
},
|
|
3578
|
-
"
|
|
3571
|
+
"broadcast:update": {
|
|
3579
3572
|
"aliases": [],
|
|
3580
3573
|
"args": {
|
|
3581
|
-
"
|
|
3582
|
-
"description": "
|
|
3583
|
-
"name": "
|
|
3574
|
+
"id": {
|
|
3575
|
+
"description": "Broadcast ID",
|
|
3576
|
+
"name": "id",
|
|
3584
3577
|
"required": true
|
|
3585
3578
|
}
|
|
3586
3579
|
},
|
|
3587
|
-
"description": "
|
|
3580
|
+
"description": "Update a broadcast",
|
|
3588
3581
|
"flags": {
|
|
3589
3582
|
"api-key": {
|
|
3590
3583
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3647,11 +3640,77 @@
|
|
|
3647
3640
|
"hasDynamicHelp": false,
|
|
3648
3641
|
"multiple": false,
|
|
3649
3642
|
"type": "option"
|
|
3643
|
+
},
|
|
3644
|
+
"text": {
|
|
3645
|
+
"description": "Broadcast message text",
|
|
3646
|
+
"name": "text",
|
|
3647
|
+
"hasDynamicHelp": false,
|
|
3648
|
+
"multiple": false,
|
|
3649
|
+
"type": "option"
|
|
3650
|
+
},
|
|
3651
|
+
"send-status": {
|
|
3652
|
+
"description": "Send status",
|
|
3653
|
+
"name": "send-status",
|
|
3654
|
+
"hasDynamicHelp": false,
|
|
3655
|
+
"multiple": false,
|
|
3656
|
+
"type": "option"
|
|
3657
|
+
},
|
|
3658
|
+
"scheduled-at": {
|
|
3659
|
+
"description": "Unix timestamp for scheduled send",
|
|
3660
|
+
"name": "scheduled-at",
|
|
3661
|
+
"hasDynamicHelp": false,
|
|
3662
|
+
"multiple": false,
|
|
3663
|
+
"type": "option"
|
|
3664
|
+
},
|
|
3665
|
+
"approved": {
|
|
3666
|
+
"description": "Mark as approved",
|
|
3667
|
+
"name": "approved",
|
|
3668
|
+
"allowNo": false,
|
|
3669
|
+
"type": "boolean"
|
|
3670
|
+
},
|
|
3671
|
+
"locked": {
|
|
3672
|
+
"description": "Mark as locked",
|
|
3673
|
+
"name": "locked",
|
|
3674
|
+
"allowNo": false,
|
|
3675
|
+
"type": "boolean"
|
|
3676
|
+
},
|
|
3677
|
+
"test": {
|
|
3678
|
+
"description": "Mark as test broadcast",
|
|
3679
|
+
"name": "test",
|
|
3680
|
+
"allowNo": false,
|
|
3681
|
+
"type": "boolean"
|
|
3682
|
+
},
|
|
3683
|
+
"template-id": {
|
|
3684
|
+
"description": "Template ID",
|
|
3685
|
+
"name": "template-id",
|
|
3686
|
+
"hasDynamicHelp": false,
|
|
3687
|
+
"multiple": false,
|
|
3688
|
+
"type": "option"
|
|
3689
|
+
},
|
|
3690
|
+
"remove-media": {
|
|
3691
|
+
"description": "Remove existing media",
|
|
3692
|
+
"name": "remove-media",
|
|
3693
|
+
"allowNo": false,
|
|
3694
|
+
"type": "boolean"
|
|
3695
|
+
},
|
|
3696
|
+
"header-footer": {
|
|
3697
|
+
"description": "Header/footer JSON array",
|
|
3698
|
+
"name": "header-footer",
|
|
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"
|
|
3650
3709
|
}
|
|
3651
3710
|
},
|
|
3652
3711
|
"hasDynamicHelp": false,
|
|
3653
3712
|
"hiddenAliases": [],
|
|
3654
|
-
"id": "
|
|
3713
|
+
"id": "broadcast:update",
|
|
3655
3714
|
"pluginAlias": "@instantkom/cli",
|
|
3656
3715
|
"pluginName": "@instantkom/cli",
|
|
3657
3716
|
"pluginType": "core",
|
|
@@ -3661,20 +3720,20 @@
|
|
|
3661
3720
|
"relativePath": [
|
|
3662
3721
|
"dist",
|
|
3663
3722
|
"commands",
|
|
3664
|
-
"
|
|
3665
|
-
"
|
|
3723
|
+
"broadcast",
|
|
3724
|
+
"update.js"
|
|
3666
3725
|
]
|
|
3667
3726
|
},
|
|
3668
|
-
"
|
|
3727
|
+
"config:get": {
|
|
3669
3728
|
"aliases": [],
|
|
3670
3729
|
"args": {
|
|
3671
|
-
"
|
|
3672
|
-
"description": "
|
|
3673
|
-
"name": "
|
|
3730
|
+
"key": {
|
|
3731
|
+
"description": "Configuration key to retrieve",
|
|
3732
|
+
"name": "key",
|
|
3674
3733
|
"required": true
|
|
3675
3734
|
}
|
|
3676
3735
|
},
|
|
3677
|
-
"description": "Get
|
|
3736
|
+
"description": "Get a configuration value for the current profile",
|
|
3678
3737
|
"flags": {
|
|
3679
3738
|
"api-key": {
|
|
3680
3739
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3741,7 +3800,7 @@
|
|
|
3741
3800
|
},
|
|
3742
3801
|
"hasDynamicHelp": false,
|
|
3743
3802
|
"hiddenAliases": [],
|
|
3744
|
-
"id": "
|
|
3803
|
+
"id": "config:get",
|
|
3745
3804
|
"pluginAlias": "@instantkom/cli",
|
|
3746
3805
|
"pluginName": "@instantkom/cli",
|
|
3747
3806
|
"pluginType": "core",
|
|
@@ -3751,14 +3810,25 @@
|
|
|
3751
3810
|
"relativePath": [
|
|
3752
3811
|
"dist",
|
|
3753
3812
|
"commands",
|
|
3754
|
-
"
|
|
3813
|
+
"config",
|
|
3755
3814
|
"get.js"
|
|
3756
3815
|
]
|
|
3757
3816
|
},
|
|
3758
|
-
"
|
|
3817
|
+
"config:set": {
|
|
3759
3818
|
"aliases": [],
|
|
3760
|
-
"args": {
|
|
3761
|
-
|
|
3819
|
+
"args": {
|
|
3820
|
+
"key": {
|
|
3821
|
+
"description": "Configuration key to set",
|
|
3822
|
+
"name": "key",
|
|
3823
|
+
"required": true
|
|
3824
|
+
},
|
|
3825
|
+
"value": {
|
|
3826
|
+
"description": "Value to assign",
|
|
3827
|
+
"name": "value",
|
|
3828
|
+
"required": true
|
|
3829
|
+
}
|
|
3830
|
+
},
|
|
3831
|
+
"description": "Set a configuration value for the current profile",
|
|
3762
3832
|
"flags": {
|
|
3763
3833
|
"api-key": {
|
|
3764
3834
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3770,124 +3840,62 @@
|
|
|
3770
3840
|
"type": "option"
|
|
3771
3841
|
},
|
|
3772
3842
|
"format": {
|
|
3773
|
-
"description": "Output format: text, json, yaml, or table",
|
|
3774
|
-
"helpGroup": "GLOBAL",
|
|
3775
|
-
"name": "format",
|
|
3776
|
-
"default": "text",
|
|
3777
|
-
"hasDynamicHelp": false,
|
|
3778
|
-
"multiple": false,
|
|
3779
|
-
"options": [
|
|
3780
|
-
"text",
|
|
3781
|
-
"json",
|
|
3782
|
-
"yaml",
|
|
3783
|
-
"table"
|
|
3784
|
-
],
|
|
3785
|
-
"type": "option"
|
|
3786
|
-
},
|
|
3787
|
-
"json": {
|
|
3788
|
-
"description": "Output in JSON format (alias for --format=json)",
|
|
3789
|
-
"helpGroup": "GLOBAL",
|
|
3790
|
-
"name": "json",
|
|
3791
|
-
"allowNo": false,
|
|
3792
|
-
"type": "boolean"
|
|
3793
|
-
},
|
|
3794
|
-
"quiet": {
|
|
3795
|
-
"description": "Suppress all output except errors",
|
|
3796
|
-
"helpGroup": "GLOBAL",
|
|
3797
|
-
"name": "quiet",
|
|
3798
|
-
"allowNo": false,
|
|
3799
|
-
"type": "boolean"
|
|
3800
|
-
},
|
|
3801
|
-
"no-color": {
|
|
3802
|
-
"description": "Disable color output",
|
|
3803
|
-
"helpGroup": "GLOBAL",
|
|
3804
|
-
"name": "no-color",
|
|
3805
|
-
"allowNo": false,
|
|
3806
|
-
"type": "boolean"
|
|
3807
|
-
},
|
|
3808
|
-
"profile": {
|
|
3809
|
-
"description": "Named configuration profile to use",
|
|
3810
|
-
"helpGroup": "GLOBAL",
|
|
3811
|
-
"name": "profile",
|
|
3812
|
-
"default": "default",
|
|
3813
|
-
"hasDynamicHelp": false,
|
|
3814
|
-
"multiple": false,
|
|
3815
|
-
"type": "option"
|
|
3816
|
-
},
|
|
3817
|
-
"api-url": {
|
|
3818
|
-
"description": "Override the API base URL (e.g. for staging)",
|
|
3819
|
-
"helpGroup": "GLOBAL",
|
|
3820
|
-
"name": "api-url",
|
|
3821
|
-
"hasDynamicHelp": false,
|
|
3822
|
-
"multiple": false,
|
|
3823
|
-
"type": "option"
|
|
3824
|
-
},
|
|
3825
|
-
"page": {
|
|
3826
|
-
"description": "Page number",
|
|
3827
|
-
"name": "page",
|
|
3828
|
-
"default": 1,
|
|
3829
|
-
"hasDynamicHelp": false,
|
|
3830
|
-
"multiple": false,
|
|
3831
|
-
"type": "option"
|
|
3832
|
-
},
|
|
3833
|
-
"limit": {
|
|
3834
|
-
"description": "Items per page",
|
|
3835
|
-
"name": "limit",
|
|
3836
|
-
"default": 20,
|
|
3837
|
-
"hasDynamicHelp": false,
|
|
3838
|
-
"multiple": false,
|
|
3839
|
-
"type": "option"
|
|
3840
|
-
},
|
|
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",
|
|
3843
|
+
"description": "Output format: text, json, yaml, or table",
|
|
3844
|
+
"helpGroup": "GLOBAL",
|
|
3845
|
+
"name": "format",
|
|
3846
|
+
"default": "text",
|
|
3865
3847
|
"hasDynamicHelp": false,
|
|
3866
3848
|
"multiple": false,
|
|
3867
3849
|
"options": [
|
|
3868
|
-
"
|
|
3869
|
-
"
|
|
3870
|
-
"
|
|
3871
|
-
"
|
|
3850
|
+
"text",
|
|
3851
|
+
"json",
|
|
3852
|
+
"yaml",
|
|
3853
|
+
"table"
|
|
3872
3854
|
],
|
|
3873
3855
|
"type": "option"
|
|
3874
3856
|
},
|
|
3875
|
-
"
|
|
3876
|
-
"description": "
|
|
3877
|
-
"
|
|
3857
|
+
"json": {
|
|
3858
|
+
"description": "Output in JSON format (alias for --format=json)",
|
|
3859
|
+
"helpGroup": "GLOBAL",
|
|
3860
|
+
"name": "json",
|
|
3878
3861
|
"allowNo": false,
|
|
3879
3862
|
"type": "boolean"
|
|
3880
3863
|
},
|
|
3881
|
-
"
|
|
3882
|
-
"description": "
|
|
3883
|
-
"
|
|
3864
|
+
"quiet": {
|
|
3865
|
+
"description": "Suppress all output except errors",
|
|
3866
|
+
"helpGroup": "GLOBAL",
|
|
3867
|
+
"name": "quiet",
|
|
3868
|
+
"allowNo": false,
|
|
3869
|
+
"type": "boolean"
|
|
3870
|
+
},
|
|
3871
|
+
"no-color": {
|
|
3872
|
+
"description": "Disable color output",
|
|
3873
|
+
"helpGroup": "GLOBAL",
|
|
3874
|
+
"name": "no-color",
|
|
3884
3875
|
"allowNo": false,
|
|
3885
3876
|
"type": "boolean"
|
|
3877
|
+
},
|
|
3878
|
+
"profile": {
|
|
3879
|
+
"description": "Named configuration profile to use",
|
|
3880
|
+
"helpGroup": "GLOBAL",
|
|
3881
|
+
"name": "profile",
|
|
3882
|
+
"default": "default",
|
|
3883
|
+
"hasDynamicHelp": false,
|
|
3884
|
+
"multiple": false,
|
|
3885
|
+
"type": "option"
|
|
3886
|
+
},
|
|
3887
|
+
"api-url": {
|
|
3888
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
3889
|
+
"helpGroup": "GLOBAL",
|
|
3890
|
+
"name": "api-url",
|
|
3891
|
+
"hasDynamicHelp": false,
|
|
3892
|
+
"multiple": false,
|
|
3893
|
+
"type": "option"
|
|
3886
3894
|
}
|
|
3887
3895
|
},
|
|
3888
3896
|
"hasDynamicHelp": false,
|
|
3889
3897
|
"hiddenAliases": [],
|
|
3890
|
-
"id": "
|
|
3898
|
+
"id": "config:set",
|
|
3891
3899
|
"pluginAlias": "@instantkom/cli",
|
|
3892
3900
|
"pluginName": "@instantkom/cli",
|
|
3893
3901
|
"pluginType": "core",
|
|
@@ -3897,20 +3905,20 @@
|
|
|
3897
3905
|
"relativePath": [
|
|
3898
3906
|
"dist",
|
|
3899
3907
|
"commands",
|
|
3900
|
-
"
|
|
3901
|
-
"
|
|
3908
|
+
"config",
|
|
3909
|
+
"set.js"
|
|
3902
3910
|
]
|
|
3903
3911
|
},
|
|
3904
|
-
"
|
|
3912
|
+
"config:unset": {
|
|
3905
3913
|
"aliases": [],
|
|
3906
3914
|
"args": {
|
|
3907
|
-
"
|
|
3908
|
-
"description": "
|
|
3909
|
-
"name": "
|
|
3915
|
+
"key": {
|
|
3916
|
+
"description": "Configuration key to remove",
|
|
3917
|
+
"name": "key",
|
|
3910
3918
|
"required": true
|
|
3911
3919
|
}
|
|
3912
3920
|
},
|
|
3913
|
-
"description": "
|
|
3921
|
+
"description": "Remove a configuration key from the current profile",
|
|
3914
3922
|
"flags": {
|
|
3915
3923
|
"api-key": {
|
|
3916
3924
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3973,19 +3981,11 @@
|
|
|
3973
3981
|
"hasDynamicHelp": false,
|
|
3974
3982
|
"multiple": false,
|
|
3975
3983
|
"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
3984
|
}
|
|
3985
3985
|
},
|
|
3986
3986
|
"hasDynamicHelp": false,
|
|
3987
3987
|
"hiddenAliases": [],
|
|
3988
|
-
"id": "
|
|
3988
|
+
"id": "config:unset",
|
|
3989
3989
|
"pluginAlias": "@instantkom/cli",
|
|
3990
3990
|
"pluginName": "@instantkom/cli",
|
|
3991
3991
|
"pluginType": "core",
|
|
@@ -3995,8 +3995,8 @@
|
|
|
3995
3995
|
"relativePath": [
|
|
3996
3996
|
"dist",
|
|
3997
3997
|
"commands",
|
|
3998
|
-
"
|
|
3999
|
-
"
|
|
3998
|
+
"config",
|
|
3999
|
+
"unset.js"
|
|
4000
4000
|
]
|
|
4001
4001
|
},
|
|
4002
4002
|
"contacts:create": {
|
|
@@ -9293,10 +9293,183 @@
|
|
|
9293
9293
|
"list.js"
|
|
9294
9294
|
]
|
|
9295
9295
|
},
|
|
9296
|
-
"
|
|
9296
|
+
"templates:create": {
|
|
9297
9297
|
"aliases": [],
|
|
9298
9298
|
"args": {},
|
|
9299
|
-
"description": "Create a
|
|
9299
|
+
"description": "Create a message template",
|
|
9300
|
+
"flags": {
|
|
9301
|
+
"api-key": {
|
|
9302
|
+
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
9303
|
+
"env": "IKM_API_KEY",
|
|
9304
|
+
"helpGroup": "GLOBAL",
|
|
9305
|
+
"name": "api-key",
|
|
9306
|
+
"hasDynamicHelp": false,
|
|
9307
|
+
"multiple": false,
|
|
9308
|
+
"type": "option"
|
|
9309
|
+
},
|
|
9310
|
+
"format": {
|
|
9311
|
+
"description": "Output format: text, json, yaml, or table",
|
|
9312
|
+
"helpGroup": "GLOBAL",
|
|
9313
|
+
"name": "format",
|
|
9314
|
+
"default": "text",
|
|
9315
|
+
"hasDynamicHelp": false,
|
|
9316
|
+
"multiple": false,
|
|
9317
|
+
"options": [
|
|
9318
|
+
"text",
|
|
9319
|
+
"json",
|
|
9320
|
+
"yaml",
|
|
9321
|
+
"table"
|
|
9322
|
+
],
|
|
9323
|
+
"type": "option"
|
|
9324
|
+
},
|
|
9325
|
+
"json": {
|
|
9326
|
+
"description": "Output in JSON format (alias for --format=json)",
|
|
9327
|
+
"helpGroup": "GLOBAL",
|
|
9328
|
+
"name": "json",
|
|
9329
|
+
"allowNo": false,
|
|
9330
|
+
"type": "boolean"
|
|
9331
|
+
},
|
|
9332
|
+
"quiet": {
|
|
9333
|
+
"description": "Suppress all output except errors",
|
|
9334
|
+
"helpGroup": "GLOBAL",
|
|
9335
|
+
"name": "quiet",
|
|
9336
|
+
"allowNo": false,
|
|
9337
|
+
"type": "boolean"
|
|
9338
|
+
},
|
|
9339
|
+
"no-color": {
|
|
9340
|
+
"description": "Disable color output",
|
|
9341
|
+
"helpGroup": "GLOBAL",
|
|
9342
|
+
"name": "no-color",
|
|
9343
|
+
"allowNo": false,
|
|
9344
|
+
"type": "boolean"
|
|
9345
|
+
},
|
|
9346
|
+
"profile": {
|
|
9347
|
+
"description": "Named configuration profile to use",
|
|
9348
|
+
"helpGroup": "GLOBAL",
|
|
9349
|
+
"name": "profile",
|
|
9350
|
+
"default": "default",
|
|
9351
|
+
"hasDynamicHelp": false,
|
|
9352
|
+
"multiple": false,
|
|
9353
|
+
"type": "option"
|
|
9354
|
+
},
|
|
9355
|
+
"api-url": {
|
|
9356
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
9357
|
+
"helpGroup": "GLOBAL",
|
|
9358
|
+
"name": "api-url",
|
|
9359
|
+
"hasDynamicHelp": false,
|
|
9360
|
+
"multiple": false,
|
|
9361
|
+
"type": "option"
|
|
9362
|
+
},
|
|
9363
|
+
"channel": {
|
|
9364
|
+
"description": "Channel ID",
|
|
9365
|
+
"name": "channel",
|
|
9366
|
+
"required": true,
|
|
9367
|
+
"hasDynamicHelp": false,
|
|
9368
|
+
"multiple": false,
|
|
9369
|
+
"type": "option"
|
|
9370
|
+
},
|
|
9371
|
+
"name": {
|
|
9372
|
+
"description": "Template name",
|
|
9373
|
+
"name": "name",
|
|
9374
|
+
"required": true,
|
|
9375
|
+
"hasDynamicHelp": false,
|
|
9376
|
+
"multiple": false,
|
|
9377
|
+
"type": "option"
|
|
9378
|
+
},
|
|
9379
|
+
"type": {
|
|
9380
|
+
"description": "Template type",
|
|
9381
|
+
"name": "type",
|
|
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,
|
|
9401
|
+
"hasDynamicHelp": false,
|
|
9402
|
+
"multiple": false,
|
|
9403
|
+
"type": "option"
|
|
9404
|
+
},
|
|
9405
|
+
"color": {
|
|
9406
|
+
"description": "Template color as HEX",
|
|
9407
|
+
"name": "color",
|
|
9408
|
+
"hasDynamicHelp": false,
|
|
9409
|
+
"multiple": false,
|
|
9410
|
+
"type": "option"
|
|
9411
|
+
},
|
|
9412
|
+
"status": {
|
|
9413
|
+
"description": "Template is active",
|
|
9414
|
+
"name": "status",
|
|
9415
|
+
"allowNo": true,
|
|
9416
|
+
"type": "boolean"
|
|
9417
|
+
},
|
|
9418
|
+
"whatsapp-language": {
|
|
9419
|
+
"description": "WhatsApp template language",
|
|
9420
|
+
"name": "whatsapp-language",
|
|
9421
|
+
"hasDynamicHelp": false,
|
|
9422
|
+
"multiple": false,
|
|
9423
|
+
"type": "option"
|
|
9424
|
+
},
|
|
9425
|
+
"buttons": {
|
|
9426
|
+
"description": "Buttons JSON array/object",
|
|
9427
|
+
"name": "buttons",
|
|
9428
|
+
"hasDynamicHelp": false,
|
|
9429
|
+
"multiple": false,
|
|
9430
|
+
"type": "option"
|
|
9431
|
+
},
|
|
9432
|
+
"header-footer": {
|
|
9433
|
+
"description": "Header/footer JSON object",
|
|
9434
|
+
"name": "header-footer",
|
|
9435
|
+
"hasDynamicHelp": false,
|
|
9436
|
+
"multiple": false,
|
|
9437
|
+
"type": "option"
|
|
9438
|
+
},
|
|
9439
|
+
"data": {
|
|
9440
|
+
"description": "Additional JSON object payload",
|
|
9441
|
+
"name": "data",
|
|
9442
|
+
"hasDynamicHelp": false,
|
|
9443
|
+
"multiple": false,
|
|
9444
|
+
"type": "option"
|
|
9445
|
+
}
|
|
9446
|
+
},
|
|
9447
|
+
"hasDynamicHelp": false,
|
|
9448
|
+
"hiddenAliases": [],
|
|
9449
|
+
"id": "templates:create",
|
|
9450
|
+
"pluginAlias": "@instantkom/cli",
|
|
9451
|
+
"pluginName": "@instantkom/cli",
|
|
9452
|
+
"pluginType": "core",
|
|
9453
|
+
"strict": true,
|
|
9454
|
+
"enableJsonFlag": false,
|
|
9455
|
+
"isESM": true,
|
|
9456
|
+
"relativePath": [
|
|
9457
|
+
"dist",
|
|
9458
|
+
"commands",
|
|
9459
|
+
"templates",
|
|
9460
|
+
"create.js"
|
|
9461
|
+
]
|
|
9462
|
+
},
|
|
9463
|
+
"templates:delete": {
|
|
9464
|
+
"aliases": [],
|
|
9465
|
+
"args": {
|
|
9466
|
+
"id": {
|
|
9467
|
+
"description": "template ID",
|
|
9468
|
+
"name": "id",
|
|
9469
|
+
"required": true
|
|
9470
|
+
}
|
|
9471
|
+
},
|
|
9472
|
+
"description": "Delete template",
|
|
9300
9473
|
"flags": {
|
|
9301
9474
|
"api-key": {
|
|
9302
9475
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9359,69 +9532,11 @@
|
|
|
9359
9532
|
"hasDynamicHelp": false,
|
|
9360
9533
|
"multiple": false,
|
|
9361
9534
|
"type": "option"
|
|
9362
|
-
},
|
|
9363
|
-
"channel": {
|
|
9364
|
-
"description": "Channel ID",
|
|
9365
|
-
"name": "channel",
|
|
9366
|
-
"required": true,
|
|
9367
|
-
"hasDynamicHelp": false,
|
|
9368
|
-
"multiple": false,
|
|
9369
|
-
"type": "option"
|
|
9370
|
-
},
|
|
9371
|
-
"subject": {
|
|
9372
|
-
"description": "Ticket subject",
|
|
9373
|
-
"name": "subject",
|
|
9374
|
-
"required": true,
|
|
9375
|
-
"hasDynamicHelp": false,
|
|
9376
|
-
"multiple": false,
|
|
9377
|
-
"type": "option"
|
|
9378
|
-
},
|
|
9379
|
-
"recipient": {
|
|
9380
|
-
"description": "Existing recipient ID",
|
|
9381
|
-
"name": "recipient",
|
|
9382
|
-
"hasDynamicHelp": false,
|
|
9383
|
-
"multiple": false,
|
|
9384
|
-
"type": "option"
|
|
9385
|
-
},
|
|
9386
|
-
"email": {
|
|
9387
|
-
"description": "Customer email",
|
|
9388
|
-
"name": "email",
|
|
9389
|
-
"hasDynamicHelp": false,
|
|
9390
|
-
"multiple": false,
|
|
9391
|
-
"type": "option"
|
|
9392
|
-
},
|
|
9393
|
-
"name": {
|
|
9394
|
-
"description": "Customer name",
|
|
9395
|
-
"name": "name",
|
|
9396
|
-
"hasDynamicHelp": false,
|
|
9397
|
-
"multiple": false,
|
|
9398
|
-
"type": "option"
|
|
9399
|
-
},
|
|
9400
|
-
"priority": {
|
|
9401
|
-
"description": "Ticket priority",
|
|
9402
|
-
"name": "priority",
|
|
9403
|
-
"hasDynamicHelp": false,
|
|
9404
|
-
"multiple": false,
|
|
9405
|
-
"type": "option"
|
|
9406
|
-
},
|
|
9407
|
-
"source": {
|
|
9408
|
-
"description": "Ticket source",
|
|
9409
|
-
"name": "source",
|
|
9410
|
-
"hasDynamicHelp": false,
|
|
9411
|
-
"multiple": false,
|
|
9412
|
-
"type": "option"
|
|
9413
|
-
},
|
|
9414
|
-
"data": {
|
|
9415
|
-
"description": "Additional JSON object payload",
|
|
9416
|
-
"name": "data",
|
|
9417
|
-
"hasDynamicHelp": false,
|
|
9418
|
-
"multiple": false,
|
|
9419
|
-
"type": "option"
|
|
9420
9535
|
}
|
|
9421
9536
|
},
|
|
9422
9537
|
"hasDynamicHelp": false,
|
|
9423
9538
|
"hiddenAliases": [],
|
|
9424
|
-
"id": "
|
|
9539
|
+
"id": "templates:delete",
|
|
9425
9540
|
"pluginAlias": "@instantkom/cli",
|
|
9426
9541
|
"pluginName": "@instantkom/cli",
|
|
9427
9542
|
"pluginType": "core",
|
|
@@ -9431,20 +9546,14 @@
|
|
|
9431
9546
|
"relativePath": [
|
|
9432
9547
|
"dist",
|
|
9433
9548
|
"commands",
|
|
9434
|
-
"
|
|
9435
|
-
"
|
|
9549
|
+
"templates",
|
|
9550
|
+
"delete.js"
|
|
9436
9551
|
]
|
|
9437
9552
|
},
|
|
9438
|
-
"
|
|
9553
|
+
"templates:export": {
|
|
9439
9554
|
"aliases": [],
|
|
9440
|
-
"args": {
|
|
9441
|
-
|
|
9442
|
-
"description": "Ticket ID",
|
|
9443
|
-
"name": "id",
|
|
9444
|
-
"required": true
|
|
9445
|
-
}
|
|
9446
|
-
},
|
|
9447
|
-
"description": "Delete a ticket",
|
|
9555
|
+
"args": {},
|
|
9556
|
+
"description": "Export templates to a file",
|
|
9448
9557
|
"flags": {
|
|
9449
9558
|
"api-key": {
|
|
9450
9559
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9456,17 +9565,14 @@
|
|
|
9456
9565
|
"type": "option"
|
|
9457
9566
|
},
|
|
9458
9567
|
"format": {
|
|
9459
|
-
"description": "
|
|
9460
|
-
"helpGroup": "GLOBAL",
|
|
9568
|
+
"description": "Export format",
|
|
9461
9569
|
"name": "format",
|
|
9462
|
-
"default": "
|
|
9570
|
+
"default": "json",
|
|
9463
9571
|
"hasDynamicHelp": false,
|
|
9464
9572
|
"multiple": false,
|
|
9465
9573
|
"options": [
|
|
9466
|
-
"
|
|
9467
|
-
"json"
|
|
9468
|
-
"yaml",
|
|
9469
|
-
"table"
|
|
9574
|
+
"csv",
|
|
9575
|
+
"json"
|
|
9470
9576
|
],
|
|
9471
9577
|
"type": "option"
|
|
9472
9578
|
},
|
|
@@ -9508,10 +9614,17 @@
|
|
|
9508
9614
|
"multiple": false,
|
|
9509
9615
|
"type": "option"
|
|
9510
9616
|
},
|
|
9617
|
+
"file": {
|
|
9618
|
+
"description": "Output file path",
|
|
9619
|
+
"name": "file",
|
|
9620
|
+
"required": true,
|
|
9621
|
+
"hasDynamicHelp": false,
|
|
9622
|
+
"multiple": false,
|
|
9623
|
+
"type": "option"
|
|
9624
|
+
},
|
|
9511
9625
|
"channel": {
|
|
9512
|
-
"description": "
|
|
9626
|
+
"description": "Filter by channel ID",
|
|
9513
9627
|
"name": "channel",
|
|
9514
|
-
"required": true,
|
|
9515
9628
|
"hasDynamicHelp": false,
|
|
9516
9629
|
"multiple": false,
|
|
9517
9630
|
"type": "option"
|
|
@@ -9519,7 +9632,7 @@
|
|
|
9519
9632
|
},
|
|
9520
9633
|
"hasDynamicHelp": false,
|
|
9521
9634
|
"hiddenAliases": [],
|
|
9522
|
-
"id": "
|
|
9635
|
+
"id": "templates:export",
|
|
9523
9636
|
"pluginAlias": "@instantkom/cli",
|
|
9524
9637
|
"pluginName": "@instantkom/cli",
|
|
9525
9638
|
"pluginType": "core",
|
|
@@ -9529,20 +9642,20 @@
|
|
|
9529
9642
|
"relativePath": [
|
|
9530
9643
|
"dist",
|
|
9531
9644
|
"commands",
|
|
9532
|
-
"
|
|
9533
|
-
"
|
|
9645
|
+
"templates",
|
|
9646
|
+
"export.js"
|
|
9534
9647
|
]
|
|
9535
9648
|
},
|
|
9536
|
-
"
|
|
9649
|
+
"templates:get": {
|
|
9537
9650
|
"aliases": [],
|
|
9538
9651
|
"args": {
|
|
9539
9652
|
"id": {
|
|
9540
|
-
"description": "
|
|
9653
|
+
"description": "Template ID",
|
|
9541
9654
|
"name": "id",
|
|
9542
9655
|
"required": true
|
|
9543
9656
|
}
|
|
9544
9657
|
},
|
|
9545
|
-
"description": "Get a
|
|
9658
|
+
"description": "Get a message template by ID",
|
|
9546
9659
|
"flags": {
|
|
9547
9660
|
"api-key": {
|
|
9548
9661
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9605,19 +9718,11 @@
|
|
|
9605
9718
|
"hasDynamicHelp": false,
|
|
9606
9719
|
"multiple": false,
|
|
9607
9720
|
"type": "option"
|
|
9608
|
-
},
|
|
9609
|
-
"channel": {
|
|
9610
|
-
"description": "Channel ID",
|
|
9611
|
-
"name": "channel",
|
|
9612
|
-
"required": true,
|
|
9613
|
-
"hasDynamicHelp": false,
|
|
9614
|
-
"multiple": false,
|
|
9615
|
-
"type": "option"
|
|
9616
9721
|
}
|
|
9617
9722
|
},
|
|
9618
9723
|
"hasDynamicHelp": false,
|
|
9619
9724
|
"hiddenAliases": [],
|
|
9620
|
-
"id": "
|
|
9725
|
+
"id": "templates:get",
|
|
9621
9726
|
"pluginAlias": "@instantkom/cli",
|
|
9622
9727
|
"pluginName": "@instantkom/cli",
|
|
9623
9728
|
"pluginType": "core",
|
|
@@ -9627,14 +9732,14 @@
|
|
|
9627
9732
|
"relativePath": [
|
|
9628
9733
|
"dist",
|
|
9629
9734
|
"commands",
|
|
9630
|
-
"
|
|
9735
|
+
"templates",
|
|
9631
9736
|
"get.js"
|
|
9632
9737
|
]
|
|
9633
9738
|
},
|
|
9634
|
-
"
|
|
9739
|
+
"templates:import": {
|
|
9635
9740
|
"aliases": [],
|
|
9636
9741
|
"args": {},
|
|
9637
|
-
"description": "
|
|
9742
|
+
"description": "Import templates from JSON",
|
|
9638
9743
|
"flags": {
|
|
9639
9744
|
"api-key": {
|
|
9640
9745
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9698,34 +9803,32 @@
|
|
|
9698
9803
|
"multiple": false,
|
|
9699
9804
|
"type": "option"
|
|
9700
9805
|
},
|
|
9701
|
-
"
|
|
9702
|
-
"description": "
|
|
9703
|
-
"name": "
|
|
9806
|
+
"file": {
|
|
9807
|
+
"description": "JSON file path",
|
|
9808
|
+
"name": "file",
|
|
9704
9809
|
"required": true,
|
|
9705
9810
|
"hasDynamicHelp": false,
|
|
9706
9811
|
"multiple": false,
|
|
9707
9812
|
"type": "option"
|
|
9708
9813
|
},
|
|
9709
|
-
"
|
|
9710
|
-
"description": "
|
|
9711
|
-
"name": "
|
|
9712
|
-
"
|
|
9814
|
+
"channel": {
|
|
9815
|
+
"description": "Target channel ID",
|
|
9816
|
+
"name": "channel",
|
|
9817
|
+
"required": true,
|
|
9713
9818
|
"hasDynamicHelp": false,
|
|
9714
9819
|
"multiple": false,
|
|
9715
9820
|
"type": "option"
|
|
9716
9821
|
},
|
|
9717
|
-
"
|
|
9718
|
-
"description": "
|
|
9719
|
-
"name": "
|
|
9720
|
-
"
|
|
9721
|
-
"
|
|
9722
|
-
"multiple": false,
|
|
9723
|
-
"type": "option"
|
|
9822
|
+
"skip-duplicates": {
|
|
9823
|
+
"description": "Skip duplicate templates",
|
|
9824
|
+
"name": "skip-duplicates",
|
|
9825
|
+
"allowNo": true,
|
|
9826
|
+
"type": "boolean"
|
|
9724
9827
|
}
|
|
9725
9828
|
},
|
|
9726
9829
|
"hasDynamicHelp": false,
|
|
9727
9830
|
"hiddenAliases": [],
|
|
9728
|
-
"id": "
|
|
9831
|
+
"id": "templates:import",
|
|
9729
9832
|
"pluginAlias": "@instantkom/cli",
|
|
9730
9833
|
"pluginName": "@instantkom/cli",
|
|
9731
9834
|
"pluginType": "core",
|
|
@@ -9735,20 +9838,14 @@
|
|
|
9735
9838
|
"relativePath": [
|
|
9736
9839
|
"dist",
|
|
9737
9840
|
"commands",
|
|
9738
|
-
"
|
|
9739
|
-
"
|
|
9841
|
+
"templates",
|
|
9842
|
+
"import.js"
|
|
9740
9843
|
]
|
|
9741
9844
|
},
|
|
9742
|
-
"
|
|
9845
|
+
"templates:list": {
|
|
9743
9846
|
"aliases": [],
|
|
9744
|
-
"args": {
|
|
9745
|
-
|
|
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.",
|
|
9847
|
+
"args": {},
|
|
9848
|
+
"description": "List message templates",
|
|
9752
9849
|
"flags": {
|
|
9753
9850
|
"api-key": {
|
|
9754
9851
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9812,24 +9909,40 @@
|
|
|
9812
9909
|
"multiple": false,
|
|
9813
9910
|
"type": "option"
|
|
9814
9911
|
},
|
|
9815
|
-
"
|
|
9816
|
-
"description": "
|
|
9817
|
-
"name": "
|
|
9818
|
-
"required": true,
|
|
9912
|
+
"channel": {
|
|
9913
|
+
"description": "Filter by channel ID",
|
|
9914
|
+
"name": "channel",
|
|
9819
9915
|
"hasDynamicHelp": false,
|
|
9820
9916
|
"multiple": false,
|
|
9821
9917
|
"type": "option"
|
|
9822
9918
|
},
|
|
9823
|
-
"
|
|
9824
|
-
"description": "
|
|
9825
|
-
"name": "
|
|
9826
|
-
"
|
|
9827
|
-
"
|
|
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,
|
|
9930
|
+
"hasDynamicHelp": false,
|
|
9931
|
+
"multiple": false,
|
|
9932
|
+
"type": "option"
|
|
9933
|
+
},
|
|
9934
|
+
"limit": {
|
|
9935
|
+
"description": "Items per page",
|
|
9936
|
+
"name": "limit",
|
|
9937
|
+
"default": 20,
|
|
9938
|
+
"hasDynamicHelp": false,
|
|
9939
|
+
"multiple": false,
|
|
9940
|
+
"type": "option"
|
|
9828
9941
|
}
|
|
9829
9942
|
},
|
|
9830
9943
|
"hasDynamicHelp": false,
|
|
9831
9944
|
"hiddenAliases": [],
|
|
9832
|
-
"id": "
|
|
9945
|
+
"id": "templates:list",
|
|
9833
9946
|
"pluginAlias": "@instantkom/cli",
|
|
9834
9947
|
"pluginName": "@instantkom/cli",
|
|
9835
9948
|
"pluginType": "core",
|
|
@@ -9839,20 +9952,20 @@
|
|
|
9839
9952
|
"relativePath": [
|
|
9840
9953
|
"dist",
|
|
9841
9954
|
"commands",
|
|
9842
|
-
"
|
|
9843
|
-
"
|
|
9955
|
+
"templates",
|
|
9956
|
+
"list.js"
|
|
9844
9957
|
]
|
|
9845
9958
|
},
|
|
9846
|
-
"
|
|
9959
|
+
"templates:render": {
|
|
9847
9960
|
"aliases": [],
|
|
9848
9961
|
"args": {
|
|
9849
9962
|
"id": {
|
|
9850
|
-
"description": "
|
|
9963
|
+
"description": "Template ID",
|
|
9851
9964
|
"name": "id",
|
|
9852
9965
|
"required": true
|
|
9853
9966
|
}
|
|
9854
9967
|
},
|
|
9855
|
-
"description": "
|
|
9968
|
+
"description": "Render a message template locally",
|
|
9856
9969
|
"flags": {
|
|
9857
9970
|
"api-key": {
|
|
9858
9971
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9899,76 +10012,34 @@
|
|
|
9899
10012
|
"allowNo": false,
|
|
9900
10013
|
"type": "boolean"
|
|
9901
10014
|
},
|
|
9902
|
-
"profile": {
|
|
9903
|
-
"description": "Named configuration profile to use",
|
|
9904
|
-
"helpGroup": "GLOBAL",
|
|
9905
|
-
"name": "profile",
|
|
9906
|
-
"default": "default",
|
|
9907
|
-
"hasDynamicHelp": false,
|
|
9908
|
-
"multiple": false,
|
|
9909
|
-
"type": "option"
|
|
9910
|
-
},
|
|
9911
|
-
"api-url": {
|
|
9912
|
-
"description": "Override the API base URL (e.g. for staging)",
|
|
9913
|
-
"helpGroup": "GLOBAL",
|
|
9914
|
-
"name": "api-url",
|
|
9915
|
-
"hasDynamicHelp": false,
|
|
9916
|
-
"multiple": false,
|
|
9917
|
-
"type": "option"
|
|
9918
|
-
},
|
|
9919
|
-
"channel": {
|
|
9920
|
-
"description": "Channel ID",
|
|
9921
|
-
"name": "channel",
|
|
9922
|
-
"required": true,
|
|
9923
|
-
"hasDynamicHelp": false,
|
|
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",
|
|
10015
|
+
"profile": {
|
|
10016
|
+
"description": "Named configuration profile to use",
|
|
10017
|
+
"helpGroup": "GLOBAL",
|
|
10018
|
+
"name": "profile",
|
|
10019
|
+
"default": "default",
|
|
9944
10020
|
"hasDynamicHelp": false,
|
|
9945
10021
|
"multiple": false,
|
|
9946
10022
|
"type": "option"
|
|
9947
10023
|
},
|
|
9948
|
-
"
|
|
9949
|
-
"description": "
|
|
9950
|
-
"
|
|
10024
|
+
"api-url": {
|
|
10025
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
10026
|
+
"helpGroup": "GLOBAL",
|
|
10027
|
+
"name": "api-url",
|
|
9951
10028
|
"hasDynamicHelp": false,
|
|
9952
10029
|
"multiple": false,
|
|
9953
10030
|
"type": "option"
|
|
9954
10031
|
},
|
|
9955
|
-
"
|
|
9956
|
-
"description": "
|
|
9957
|
-
"name": "
|
|
9958
|
-
"allowNo": true,
|
|
9959
|
-
"type": "boolean"
|
|
9960
|
-
},
|
|
9961
|
-
"data": {
|
|
9962
|
-
"description": "Additional JSON object payload",
|
|
9963
|
-
"name": "data",
|
|
10032
|
+
"vars": {
|
|
10033
|
+
"description": "Template variable as key=value; may be repeated",
|
|
10034
|
+
"name": "vars",
|
|
9964
10035
|
"hasDynamicHelp": false,
|
|
9965
|
-
"multiple":
|
|
10036
|
+
"multiple": true,
|
|
9966
10037
|
"type": "option"
|
|
9967
10038
|
}
|
|
9968
10039
|
},
|
|
9969
10040
|
"hasDynamicHelp": false,
|
|
9970
10041
|
"hiddenAliases": [],
|
|
9971
|
-
"id": "
|
|
10042
|
+
"id": "templates:render",
|
|
9972
10043
|
"pluginAlias": "@instantkom/cli",
|
|
9973
10044
|
"pluginName": "@instantkom/cli",
|
|
9974
10045
|
"pluginType": "core",
|
|
@@ -9978,14 +10049,20 @@
|
|
|
9978
10049
|
"relativePath": [
|
|
9979
10050
|
"dist",
|
|
9980
10051
|
"commands",
|
|
9981
|
-
"
|
|
9982
|
-
"
|
|
10052
|
+
"templates",
|
|
10053
|
+
"render.js"
|
|
9983
10054
|
]
|
|
9984
10055
|
},
|
|
9985
|
-
"templates:
|
|
10056
|
+
"templates:update": {
|
|
9986
10057
|
"aliases": [],
|
|
9987
|
-
"args": {
|
|
9988
|
-
|
|
10058
|
+
"args": {
|
|
10059
|
+
"id": {
|
|
10060
|
+
"description": "Template ID",
|
|
10061
|
+
"name": "id",
|
|
10062
|
+
"required": true
|
|
10063
|
+
}
|
|
10064
|
+
},
|
|
10065
|
+
"description": "Update a message template",
|
|
9989
10066
|
"flags": {
|
|
9990
10067
|
"api-key": {
|
|
9991
10068
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10049,18 +10126,9 @@
|
|
|
10049
10126
|
"multiple": false,
|
|
10050
10127
|
"type": "option"
|
|
10051
10128
|
},
|
|
10052
|
-
"channel": {
|
|
10053
|
-
"description": "Channel ID",
|
|
10054
|
-
"name": "channel",
|
|
10055
|
-
"required": true,
|
|
10056
|
-
"hasDynamicHelp": false,
|
|
10057
|
-
"multiple": false,
|
|
10058
|
-
"type": "option"
|
|
10059
|
-
},
|
|
10060
10129
|
"name": {
|
|
10061
10130
|
"description": "Template name",
|
|
10062
10131
|
"name": "name",
|
|
10063
|
-
"required": true,
|
|
10064
10132
|
"hasDynamicHelp": false,
|
|
10065
10133
|
"multiple": false,
|
|
10066
10134
|
"type": "option"
|
|
@@ -10068,7 +10136,6 @@
|
|
|
10068
10136
|
"type": {
|
|
10069
10137
|
"description": "Template type",
|
|
10070
10138
|
"name": "type",
|
|
10071
|
-
"default": "text",
|
|
10072
10139
|
"hasDynamicHelp": false,
|
|
10073
10140
|
"multiple": false,
|
|
10074
10141
|
"options": [
|
|
@@ -10086,7 +10153,6 @@
|
|
|
10086
10153
|
"message": {
|
|
10087
10154
|
"description": "Template message",
|
|
10088
10155
|
"name": "message",
|
|
10089
|
-
"required": true,
|
|
10090
10156
|
"hasDynamicHelp": false,
|
|
10091
10157
|
"multiple": false,
|
|
10092
10158
|
"type": "option"
|
|
@@ -10104,6 +10170,12 @@
|
|
|
10104
10170
|
"allowNo": true,
|
|
10105
10171
|
"type": "boolean"
|
|
10106
10172
|
},
|
|
10173
|
+
"remove-media": {
|
|
10174
|
+
"description": "Remove existing media",
|
|
10175
|
+
"name": "remove-media",
|
|
10176
|
+
"allowNo": false,
|
|
10177
|
+
"type": "boolean"
|
|
10178
|
+
},
|
|
10107
10179
|
"whatsapp-language": {
|
|
10108
10180
|
"description": "WhatsApp template language",
|
|
10109
10181
|
"name": "whatsapp-language",
|
|
@@ -10135,7 +10207,7 @@
|
|
|
10135
10207
|
},
|
|
10136
10208
|
"hasDynamicHelp": false,
|
|
10137
10209
|
"hiddenAliases": [],
|
|
10138
|
-
"id": "templates:
|
|
10210
|
+
"id": "templates:update",
|
|
10139
10211
|
"pluginAlias": "@instantkom/cli",
|
|
10140
10212
|
"pluginName": "@instantkom/cli",
|
|
10141
10213
|
"pluginType": "core",
|
|
@@ -10146,19 +10218,13 @@
|
|
|
10146
10218
|
"dist",
|
|
10147
10219
|
"commands",
|
|
10148
10220
|
"templates",
|
|
10149
|
-
"
|
|
10221
|
+
"update.js"
|
|
10150
10222
|
]
|
|
10151
10223
|
},
|
|
10152
|
-
"templates:
|
|
10224
|
+
"templates:validate-import": {
|
|
10153
10225
|
"aliases": [],
|
|
10154
|
-
"args": {
|
|
10155
|
-
|
|
10156
|
-
"description": "template ID",
|
|
10157
|
-
"name": "id",
|
|
10158
|
-
"required": true
|
|
10159
|
-
}
|
|
10160
|
-
},
|
|
10161
|
-
"description": "Delete template",
|
|
10226
|
+
"args": {},
|
|
10227
|
+
"description": "Validate templates import JSON",
|
|
10162
10228
|
"flags": {
|
|
10163
10229
|
"api-key": {
|
|
10164
10230
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10221,11 +10287,27 @@
|
|
|
10221
10287
|
"hasDynamicHelp": false,
|
|
10222
10288
|
"multiple": false,
|
|
10223
10289
|
"type": "option"
|
|
10290
|
+
},
|
|
10291
|
+
"file": {
|
|
10292
|
+
"description": "JSON file path",
|
|
10293
|
+
"name": "file",
|
|
10294
|
+
"required": true,
|
|
10295
|
+
"hasDynamicHelp": false,
|
|
10296
|
+
"multiple": false,
|
|
10297
|
+
"type": "option"
|
|
10298
|
+
},
|
|
10299
|
+
"channel": {
|
|
10300
|
+
"description": "Target channel ID",
|
|
10301
|
+
"name": "channel",
|
|
10302
|
+
"required": true,
|
|
10303
|
+
"hasDynamicHelp": false,
|
|
10304
|
+
"multiple": false,
|
|
10305
|
+
"type": "option"
|
|
10224
10306
|
}
|
|
10225
10307
|
},
|
|
10226
10308
|
"hasDynamicHelp": false,
|
|
10227
10309
|
"hiddenAliases": [],
|
|
10228
|
-
"id": "templates:
|
|
10310
|
+
"id": "templates:validate-import",
|
|
10229
10311
|
"pluginAlias": "@instantkom/cli",
|
|
10230
10312
|
"pluginName": "@instantkom/cli",
|
|
10231
10313
|
"pluginType": "core",
|
|
@@ -10236,13 +10318,13 @@
|
|
|
10236
10318
|
"dist",
|
|
10237
10319
|
"commands",
|
|
10238
10320
|
"templates",
|
|
10239
|
-
"
|
|
10321
|
+
"validate-import.js"
|
|
10240
10322
|
]
|
|
10241
10323
|
},
|
|
10242
|
-
"
|
|
10324
|
+
"tickets:create": {
|
|
10243
10325
|
"aliases": [],
|
|
10244
10326
|
"args": {},
|
|
10245
|
-
"description": "
|
|
10327
|
+
"description": "Create a ticket",
|
|
10246
10328
|
"flags": {
|
|
10247
10329
|
"api-key": {
|
|
10248
10330
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10254,14 +10336,17 @@
|
|
|
10254
10336
|
"type": "option"
|
|
10255
10337
|
},
|
|
10256
10338
|
"format": {
|
|
10257
|
-
"description": "
|
|
10339
|
+
"description": "Output format: text, json, yaml, or table",
|
|
10340
|
+
"helpGroup": "GLOBAL",
|
|
10258
10341
|
"name": "format",
|
|
10259
|
-
"default": "
|
|
10342
|
+
"default": "text",
|
|
10260
10343
|
"hasDynamicHelp": false,
|
|
10261
10344
|
"multiple": false,
|
|
10262
10345
|
"options": [
|
|
10263
|
-
"
|
|
10264
|
-
"json"
|
|
10346
|
+
"text",
|
|
10347
|
+
"json",
|
|
10348
|
+
"yaml",
|
|
10349
|
+
"table"
|
|
10265
10350
|
],
|
|
10266
10351
|
"type": "option"
|
|
10267
10352
|
},
|
|
@@ -10303,107 +10388,60 @@
|
|
|
10303
10388
|
"multiple": false,
|
|
10304
10389
|
"type": "option"
|
|
10305
10390
|
},
|
|
10306
|
-
"
|
|
10307
|
-
"description": "
|
|
10308
|
-
"name": "
|
|
10391
|
+
"channel": {
|
|
10392
|
+
"description": "Channel ID",
|
|
10393
|
+
"name": "channel",
|
|
10309
10394
|
"required": true,
|
|
10310
10395
|
"hasDynamicHelp": false,
|
|
10311
10396
|
"multiple": false,
|
|
10312
10397
|
"type": "option"
|
|
10313
10398
|
},
|
|
10314
|
-
"
|
|
10315
|
-
"description": "
|
|
10316
|
-
"name": "
|
|
10399
|
+
"subject": {
|
|
10400
|
+
"description": "Ticket subject",
|
|
10401
|
+
"name": "subject",
|
|
10402
|
+
"required": true,
|
|
10317
10403
|
"hasDynamicHelp": false,
|
|
10318
10404
|
"multiple": false,
|
|
10319
10405
|
"type": "option"
|
|
10320
|
-
}
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10324
|
-
"id": "templates:export",
|
|
10325
|
-
"pluginAlias": "@instantkom/cli",
|
|
10326
|
-
"pluginName": "@instantkom/cli",
|
|
10327
|
-
"pluginType": "core",
|
|
10328
|
-
"strict": true,
|
|
10329
|
-
"enableJsonFlag": false,
|
|
10330
|
-
"isESM": true,
|
|
10331
|
-
"relativePath": [
|
|
10332
|
-
"dist",
|
|
10333
|
-
"commands",
|
|
10334
|
-
"templates",
|
|
10335
|
-
"export.js"
|
|
10336
|
-
]
|
|
10337
|
-
},
|
|
10338
|
-
"templates:get": {
|
|
10339
|
-
"aliases": [],
|
|
10340
|
-
"args": {
|
|
10341
|
-
"id": {
|
|
10342
|
-
"description": "Template ID",
|
|
10343
|
-
"name": "id",
|
|
10344
|
-
"required": true
|
|
10345
|
-
}
|
|
10346
|
-
},
|
|
10347
|
-
"description": "Get a message template by ID",
|
|
10348
|
-
"flags": {
|
|
10349
|
-
"api-key": {
|
|
10350
|
-
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
10351
|
-
"env": "IKM_API_KEY",
|
|
10352
|
-
"helpGroup": "GLOBAL",
|
|
10353
|
-
"name": "api-key",
|
|
10406
|
+
},
|
|
10407
|
+
"recipient": {
|
|
10408
|
+
"description": "Existing recipient ID",
|
|
10409
|
+
"name": "recipient",
|
|
10354
10410
|
"hasDynamicHelp": false,
|
|
10355
10411
|
"multiple": false,
|
|
10356
10412
|
"type": "option"
|
|
10357
10413
|
},
|
|
10358
|
-
"
|
|
10359
|
-
"description": "
|
|
10360
|
-
"
|
|
10361
|
-
"name": "format",
|
|
10362
|
-
"default": "text",
|
|
10414
|
+
"email": {
|
|
10415
|
+
"description": "Customer email",
|
|
10416
|
+
"name": "email",
|
|
10363
10417
|
"hasDynamicHelp": false,
|
|
10364
10418
|
"multiple": false,
|
|
10365
|
-
"options": [
|
|
10366
|
-
"text",
|
|
10367
|
-
"json",
|
|
10368
|
-
"yaml",
|
|
10369
|
-
"table"
|
|
10370
|
-
],
|
|
10371
10419
|
"type": "option"
|
|
10372
10420
|
},
|
|
10373
|
-
"
|
|
10374
|
-
"description": "
|
|
10375
|
-
"
|
|
10376
|
-
"
|
|
10377
|
-
"
|
|
10378
|
-
"type": "
|
|
10379
|
-
},
|
|
10380
|
-
"quiet": {
|
|
10381
|
-
"description": "Suppress all output except errors",
|
|
10382
|
-
"helpGroup": "GLOBAL",
|
|
10383
|
-
"name": "quiet",
|
|
10384
|
-
"allowNo": false,
|
|
10385
|
-
"type": "boolean"
|
|
10421
|
+
"name": {
|
|
10422
|
+
"description": "Customer name",
|
|
10423
|
+
"name": "name",
|
|
10424
|
+
"hasDynamicHelp": false,
|
|
10425
|
+
"multiple": false,
|
|
10426
|
+
"type": "option"
|
|
10386
10427
|
},
|
|
10387
|
-
"
|
|
10388
|
-
"description": "
|
|
10389
|
-
"
|
|
10390
|
-
"
|
|
10391
|
-
"
|
|
10392
|
-
"type": "
|
|
10428
|
+
"priority": {
|
|
10429
|
+
"description": "Ticket priority",
|
|
10430
|
+
"name": "priority",
|
|
10431
|
+
"hasDynamicHelp": false,
|
|
10432
|
+
"multiple": false,
|
|
10433
|
+
"type": "option"
|
|
10393
10434
|
},
|
|
10394
|
-
"
|
|
10395
|
-
"description": "
|
|
10396
|
-
"
|
|
10397
|
-
"name": "profile",
|
|
10398
|
-
"default": "default",
|
|
10435
|
+
"source": {
|
|
10436
|
+
"description": "Ticket source",
|
|
10437
|
+
"name": "source",
|
|
10399
10438
|
"hasDynamicHelp": false,
|
|
10400
10439
|
"multiple": false,
|
|
10401
10440
|
"type": "option"
|
|
10402
10441
|
},
|
|
10403
|
-
"
|
|
10404
|
-
"description": "
|
|
10405
|
-
"
|
|
10406
|
-
"name": "api-url",
|
|
10442
|
+
"data": {
|
|
10443
|
+
"description": "Additional JSON object payload",
|
|
10444
|
+
"name": "data",
|
|
10407
10445
|
"hasDynamicHelp": false,
|
|
10408
10446
|
"multiple": false,
|
|
10409
10447
|
"type": "option"
|
|
@@ -10411,7 +10449,7 @@
|
|
|
10411
10449
|
},
|
|
10412
10450
|
"hasDynamicHelp": false,
|
|
10413
10451
|
"hiddenAliases": [],
|
|
10414
|
-
"id": "
|
|
10452
|
+
"id": "tickets:create",
|
|
10415
10453
|
"pluginAlias": "@instantkom/cli",
|
|
10416
10454
|
"pluginName": "@instantkom/cli",
|
|
10417
10455
|
"pluginType": "core",
|
|
@@ -10421,14 +10459,20 @@
|
|
|
10421
10459
|
"relativePath": [
|
|
10422
10460
|
"dist",
|
|
10423
10461
|
"commands",
|
|
10424
|
-
"
|
|
10425
|
-
"
|
|
10462
|
+
"tickets",
|
|
10463
|
+
"create.js"
|
|
10426
10464
|
]
|
|
10427
10465
|
},
|
|
10428
|
-
"
|
|
10466
|
+
"tickets:delete": {
|
|
10429
10467
|
"aliases": [],
|
|
10430
|
-
"args": {
|
|
10431
|
-
|
|
10468
|
+
"args": {
|
|
10469
|
+
"id": {
|
|
10470
|
+
"description": "Ticket ID",
|
|
10471
|
+
"name": "id",
|
|
10472
|
+
"required": true
|
|
10473
|
+
}
|
|
10474
|
+
},
|
|
10475
|
+
"description": "Delete a ticket",
|
|
10432
10476
|
"flags": {
|
|
10433
10477
|
"api-key": {
|
|
10434
10478
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10484,40 +10528,26 @@
|
|
|
10484
10528
|
"multiple": false,
|
|
10485
10529
|
"type": "option"
|
|
10486
10530
|
},
|
|
10487
|
-
"api-url": {
|
|
10488
|
-
"description": "Override the API base URL (e.g. for staging)",
|
|
10489
|
-
"helpGroup": "GLOBAL",
|
|
10490
|
-
"name": "api-url",
|
|
10491
|
-
"hasDynamicHelp": false,
|
|
10492
|
-
"multiple": false,
|
|
10493
|
-
"type": "option"
|
|
10494
|
-
},
|
|
10495
|
-
"file": {
|
|
10496
|
-
"description": "JSON file path",
|
|
10497
|
-
"name": "file",
|
|
10498
|
-
"required": true,
|
|
10531
|
+
"api-url": {
|
|
10532
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
10533
|
+
"helpGroup": "GLOBAL",
|
|
10534
|
+
"name": "api-url",
|
|
10499
10535
|
"hasDynamicHelp": false,
|
|
10500
10536
|
"multiple": false,
|
|
10501
10537
|
"type": "option"
|
|
10502
10538
|
},
|
|
10503
10539
|
"channel": {
|
|
10504
|
-
"description": "
|
|
10540
|
+
"description": "Channel ID",
|
|
10505
10541
|
"name": "channel",
|
|
10506
10542
|
"required": true,
|
|
10507
10543
|
"hasDynamicHelp": false,
|
|
10508
10544
|
"multiple": false,
|
|
10509
10545
|
"type": "option"
|
|
10510
|
-
},
|
|
10511
|
-
"skip-duplicates": {
|
|
10512
|
-
"description": "Skip duplicate templates",
|
|
10513
|
-
"name": "skip-duplicates",
|
|
10514
|
-
"allowNo": true,
|
|
10515
|
-
"type": "boolean"
|
|
10516
10546
|
}
|
|
10517
10547
|
},
|
|
10518
10548
|
"hasDynamicHelp": false,
|
|
10519
10549
|
"hiddenAliases": [],
|
|
10520
|
-
"id": "
|
|
10550
|
+
"id": "tickets:delete",
|
|
10521
10551
|
"pluginAlias": "@instantkom/cli",
|
|
10522
10552
|
"pluginName": "@instantkom/cli",
|
|
10523
10553
|
"pluginType": "core",
|
|
@@ -10527,14 +10557,20 @@
|
|
|
10527
10557
|
"relativePath": [
|
|
10528
10558
|
"dist",
|
|
10529
10559
|
"commands",
|
|
10530
|
-
"
|
|
10531
|
-
"
|
|
10560
|
+
"tickets",
|
|
10561
|
+
"delete.js"
|
|
10532
10562
|
]
|
|
10533
10563
|
},
|
|
10534
|
-
"
|
|
10564
|
+
"tickets:get": {
|
|
10535
10565
|
"aliases": [],
|
|
10536
|
-
"args": {
|
|
10537
|
-
|
|
10566
|
+
"args": {
|
|
10567
|
+
"id": {
|
|
10568
|
+
"description": "Ticket ID",
|
|
10569
|
+
"name": "id",
|
|
10570
|
+
"required": true
|
|
10571
|
+
}
|
|
10572
|
+
},
|
|
10573
|
+
"description": "Get a ticket by ID",
|
|
10538
10574
|
"flags": {
|
|
10539
10575
|
"api-key": {
|
|
10540
10576
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10599,31 +10635,9 @@
|
|
|
10599
10635
|
"type": "option"
|
|
10600
10636
|
},
|
|
10601
10637
|
"channel": {
|
|
10602
|
-
"description": "
|
|
10638
|
+
"description": "Channel ID",
|
|
10603
10639
|
"name": "channel",
|
|
10604
|
-
"
|
|
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,
|
|
10640
|
+
"required": true,
|
|
10627
10641
|
"hasDynamicHelp": false,
|
|
10628
10642
|
"multiple": false,
|
|
10629
10643
|
"type": "option"
|
|
@@ -10631,7 +10645,7 @@
|
|
|
10631
10645
|
},
|
|
10632
10646
|
"hasDynamicHelp": false,
|
|
10633
10647
|
"hiddenAliases": [],
|
|
10634
|
-
"id": "
|
|
10648
|
+
"id": "tickets:get",
|
|
10635
10649
|
"pluginAlias": "@instantkom/cli",
|
|
10636
10650
|
"pluginName": "@instantkom/cli",
|
|
10637
10651
|
"pluginType": "core",
|
|
@@ -10641,20 +10655,14 @@
|
|
|
10641
10655
|
"relativePath": [
|
|
10642
10656
|
"dist",
|
|
10643
10657
|
"commands",
|
|
10644
|
-
"
|
|
10645
|
-
"
|
|
10658
|
+
"tickets",
|
|
10659
|
+
"get.js"
|
|
10646
10660
|
]
|
|
10647
10661
|
},
|
|
10648
|
-
"
|
|
10662
|
+
"tickets:list": {
|
|
10649
10663
|
"aliases": [],
|
|
10650
|
-
"args": {
|
|
10651
|
-
|
|
10652
|
-
"description": "Template ID",
|
|
10653
|
-
"name": "id",
|
|
10654
|
-
"required": true
|
|
10655
|
-
}
|
|
10656
|
-
},
|
|
10657
|
-
"description": "Render a message template locally",
|
|
10664
|
+
"args": {},
|
|
10665
|
+
"description": "List tickets for a channel",
|
|
10658
10666
|
"flags": {
|
|
10659
10667
|
"api-key": {
|
|
10660
10668
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10718,17 +10726,34 @@
|
|
|
10718
10726
|
"multiple": false,
|
|
10719
10727
|
"type": "option"
|
|
10720
10728
|
},
|
|
10721
|
-
"
|
|
10722
|
-
"description": "
|
|
10723
|
-
"name": "
|
|
10729
|
+
"channel": {
|
|
10730
|
+
"description": "Channel ID",
|
|
10731
|
+
"name": "channel",
|
|
10732
|
+
"required": true,
|
|
10724
10733
|
"hasDynamicHelp": false,
|
|
10725
|
-
"multiple":
|
|
10734
|
+
"multiple": false,
|
|
10735
|
+
"type": "option"
|
|
10736
|
+
},
|
|
10737
|
+
"limit": {
|
|
10738
|
+
"description": "Maximum tickets to return",
|
|
10739
|
+
"name": "limit",
|
|
10740
|
+
"default": 500,
|
|
10741
|
+
"hasDynamicHelp": false,
|
|
10742
|
+
"multiple": false,
|
|
10743
|
+
"type": "option"
|
|
10744
|
+
},
|
|
10745
|
+
"offset": {
|
|
10746
|
+
"description": "Number of tickets to skip",
|
|
10747
|
+
"name": "offset",
|
|
10748
|
+
"default": 0,
|
|
10749
|
+
"hasDynamicHelp": false,
|
|
10750
|
+
"multiple": false,
|
|
10726
10751
|
"type": "option"
|
|
10727
10752
|
}
|
|
10728
10753
|
},
|
|
10729
10754
|
"hasDynamicHelp": false,
|
|
10730
10755
|
"hiddenAliases": [],
|
|
10731
|
-
"id": "
|
|
10756
|
+
"id": "tickets:list",
|
|
10732
10757
|
"pluginAlias": "@instantkom/cli",
|
|
10733
10758
|
"pluginName": "@instantkom/cli",
|
|
10734
10759
|
"pluginType": "core",
|
|
@@ -10738,20 +10763,20 @@
|
|
|
10738
10763
|
"relativePath": [
|
|
10739
10764
|
"dist",
|
|
10740
10765
|
"commands",
|
|
10741
|
-
"
|
|
10742
|
-
"
|
|
10766
|
+
"tickets",
|
|
10767
|
+
"list.js"
|
|
10743
10768
|
]
|
|
10744
10769
|
},
|
|
10745
|
-
"
|
|
10770
|
+
"tickets:reply": {
|
|
10746
10771
|
"aliases": [],
|
|
10747
10772
|
"args": {
|
|
10748
10773
|
"id": {
|
|
10749
|
-
"description": "
|
|
10774
|
+
"description": "Ticket ID",
|
|
10750
10775
|
"name": "id",
|
|
10751
10776
|
"required": true
|
|
10752
10777
|
}
|
|
10753
10778
|
},
|
|
10754
|
-
"description": "
|
|
10779
|
+
"description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only; the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
|
|
10755
10780
|
"flags": {
|
|
10756
10781
|
"api-key": {
|
|
10757
10782
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10815,88 +10840,24 @@
|
|
|
10815
10840
|
"multiple": false,
|
|
10816
10841
|
"type": "option"
|
|
10817
10842
|
},
|
|
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
10843
|
"message": {
|
|
10843
|
-
"description": "
|
|
10844
|
+
"description": "Reply body (raw text, no salutation or sign-off)",
|
|
10844
10845
|
"name": "message",
|
|
10846
|
+
"required": true,
|
|
10845
10847
|
"hasDynamicHelp": false,
|
|
10846
10848
|
"multiple": false,
|
|
10847
10849
|
"type": "option"
|
|
10848
10850
|
},
|
|
10849
|
-
"
|
|
10850
|
-
"description": "
|
|
10851
|
-
"name": "
|
|
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",
|
|
10851
|
+
"close": {
|
|
10852
|
+
"description": "Close the ticket after sending the reply",
|
|
10853
|
+
"name": "close",
|
|
10865
10854
|
"allowNo": false,
|
|
10866
10855
|
"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"
|
|
10895
10856
|
}
|
|
10896
10857
|
},
|
|
10897
10858
|
"hasDynamicHelp": false,
|
|
10898
10859
|
"hiddenAliases": [],
|
|
10899
|
-
"id": "
|
|
10860
|
+
"id": "tickets:reply",
|
|
10900
10861
|
"pluginAlias": "@instantkom/cli",
|
|
10901
10862
|
"pluginName": "@instantkom/cli",
|
|
10902
10863
|
"pluginType": "core",
|
|
@@ -10906,14 +10867,20 @@
|
|
|
10906
10867
|
"relativePath": [
|
|
10907
10868
|
"dist",
|
|
10908
10869
|
"commands",
|
|
10909
|
-
"
|
|
10910
|
-
"
|
|
10870
|
+
"tickets",
|
|
10871
|
+
"reply.js"
|
|
10911
10872
|
]
|
|
10912
10873
|
},
|
|
10913
|
-
"
|
|
10874
|
+
"tickets:update": {
|
|
10914
10875
|
"aliases": [],
|
|
10915
|
-
"args": {
|
|
10916
|
-
|
|
10876
|
+
"args": {
|
|
10877
|
+
"id": {
|
|
10878
|
+
"description": "Ticket ID",
|
|
10879
|
+
"name": "id",
|
|
10880
|
+
"required": true
|
|
10881
|
+
}
|
|
10882
|
+
},
|
|
10883
|
+
"description": "Update a ticket",
|
|
10917
10884
|
"flags": {
|
|
10918
10885
|
"api-key": {
|
|
10919
10886
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10977,18 +10944,51 @@
|
|
|
10977
10944
|
"multiple": false,
|
|
10978
10945
|
"type": "option"
|
|
10979
10946
|
},
|
|
10980
|
-
"
|
|
10981
|
-
"description": "
|
|
10982
|
-
"name": "
|
|
10947
|
+
"channel": {
|
|
10948
|
+
"description": "Channel ID",
|
|
10949
|
+
"name": "channel",
|
|
10983
10950
|
"required": true,
|
|
10984
10951
|
"hasDynamicHelp": false,
|
|
10985
10952
|
"multiple": false,
|
|
10986
10953
|
"type": "option"
|
|
10987
10954
|
},
|
|
10988
|
-
"
|
|
10989
|
-
"description": "
|
|
10990
|
-
"name": "
|
|
10991
|
-
"
|
|
10955
|
+
"subject": {
|
|
10956
|
+
"description": "Ticket subject",
|
|
10957
|
+
"name": "subject",
|
|
10958
|
+
"hasDynamicHelp": false,
|
|
10959
|
+
"multiple": false,
|
|
10960
|
+
"type": "option"
|
|
10961
|
+
},
|
|
10962
|
+
"priority": {
|
|
10963
|
+
"description": "Ticket priority",
|
|
10964
|
+
"name": "priority",
|
|
10965
|
+
"hasDynamicHelp": false,
|
|
10966
|
+
"multiple": false,
|
|
10967
|
+
"type": "option"
|
|
10968
|
+
},
|
|
10969
|
+
"status": {
|
|
10970
|
+
"description": "Ticket status",
|
|
10971
|
+
"name": "status",
|
|
10972
|
+
"hasDynamicHelp": false,
|
|
10973
|
+
"multiple": false,
|
|
10974
|
+
"type": "option"
|
|
10975
|
+
},
|
|
10976
|
+
"assigned-to": {
|
|
10977
|
+
"description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
|
|
10978
|
+
"name": "assigned-to",
|
|
10979
|
+
"hasDynamicHelp": false,
|
|
10980
|
+
"multiple": false,
|
|
10981
|
+
"type": "option"
|
|
10982
|
+
},
|
|
10983
|
+
"notify": {
|
|
10984
|
+
"description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
|
|
10985
|
+
"name": "notify",
|
|
10986
|
+
"allowNo": true,
|
|
10987
|
+
"type": "boolean"
|
|
10988
|
+
},
|
|
10989
|
+
"data": {
|
|
10990
|
+
"description": "Additional JSON object payload",
|
|
10991
|
+
"name": "data",
|
|
10992
10992
|
"hasDynamicHelp": false,
|
|
10993
10993
|
"multiple": false,
|
|
10994
10994
|
"type": "option"
|
|
@@ -10996,7 +10996,7 @@
|
|
|
10996
10996
|
},
|
|
10997
10997
|
"hasDynamicHelp": false,
|
|
10998
10998
|
"hiddenAliases": [],
|
|
10999
|
-
"id": "
|
|
10999
|
+
"id": "tickets:update",
|
|
11000
11000
|
"pluginAlias": "@instantkom/cli",
|
|
11001
11001
|
"pluginName": "@instantkom/cli",
|
|
11002
11002
|
"pluginType": "core",
|
|
@@ -11006,8 +11006,8 @@
|
|
|
11006
11006
|
"relativePath": [
|
|
11007
11007
|
"dist",
|
|
11008
11008
|
"commands",
|
|
11009
|
-
"
|
|
11010
|
-
"
|
|
11009
|
+
"tickets",
|
|
11010
|
+
"update.js"
|
|
11011
11011
|
]
|
|
11012
11012
|
},
|
|
11013
11013
|
"webhooks:add": {
|
|
@@ -16352,5 +16352,5 @@
|
|
|
16352
16352
|
]
|
|
16353
16353
|
}
|
|
16354
16354
|
},
|
|
16355
|
-
"version": "3.
|
|
16355
|
+
"version": "3.134.1"
|
|
16356
16356
|
}
|