@instantkom/cli 3.149.0 → 3.151.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.
@@ -953,10 +953,10 @@
953
953
  "update.js"
954
954
  ]
955
955
  },
956
- "ai:reply": {
956
+ "auth:login": {
957
957
  "aliases": [],
958
958
  "args": {},
959
- "description": "Generate AI reply suggestions for a message",
959
+ "description": "Authenticate with the instantKOM API via device authorization flow",
960
960
  "flags": {
961
961
  "api-key": {
962
962
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1020,46 +1020,24 @@
1020
1020
  "multiple": false,
1021
1021
  "type": "option"
1022
1022
  },
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",
1023
+ "scope": {
1024
+ "description": "Requested token scope",
1025
+ "name": "scope",
1026
+ "default": "read",
1048
1027
  "hasDynamicHelp": false,
1049
1028
  "multiple": false,
1050
1029
  "options": [
1051
- "professional",
1052
- "friendly",
1053
- "concise",
1054
- "detailed",
1055
- "empathetic"
1030
+ "full",
1031
+ "send",
1032
+ "read",
1033
+ "admin"
1056
1034
  ],
1057
1035
  "type": "option"
1058
1036
  }
1059
1037
  },
1060
1038
  "hasDynamicHelp": false,
1061
1039
  "hiddenAliases": [],
1062
- "id": "ai:reply",
1040
+ "id": "auth:login",
1063
1041
  "pluginAlias": "@instantkom/cli",
1064
1042
  "pluginName": "@instantkom/cli",
1065
1043
  "pluginType": "core",
@@ -1069,14 +1047,14 @@
1069
1047
  "relativePath": [
1070
1048
  "dist",
1071
1049
  "commands",
1072
- "ai",
1073
- "reply.js"
1050
+ "auth",
1051
+ "login.js"
1074
1052
  ]
1075
1053
  },
1076
- "auth:login": {
1054
+ "auth:logout": {
1077
1055
  "aliases": [],
1078
1056
  "args": {},
1079
- "description": "Authenticate with the instantKOM API via device authorization flow",
1057
+ "description": "Remove the stored API token for the current profile",
1080
1058
  "flags": {
1081
1059
  "api-key": {
1082
1060
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1139,25 +1117,45 @@
1139
1117
  "hasDynamicHelp": false,
1140
1118
  "multiple": false,
1141
1119
  "type": "option"
1142
- },
1143
- "scope": {
1144
- "description": "Requested token scope",
1145
- "name": "scope",
1146
- "default": "read",
1147
- "hasDynamicHelp": false,
1148
- "multiple": false,
1120
+ }
1121
+ },
1122
+ "hasDynamicHelp": false,
1123
+ "hiddenAliases": [],
1124
+ "id": "auth:logout",
1125
+ "pluginAlias": "@instantkom/cli",
1126
+ "pluginName": "@instantkom/cli",
1127
+ "pluginType": "core",
1128
+ "strict": true,
1129
+ "enableJsonFlag": false,
1130
+ "isESM": true,
1131
+ "relativePath": [
1132
+ "dist",
1133
+ "commands",
1134
+ "auth",
1135
+ "logout.js"
1136
+ ]
1137
+ },
1138
+ "autocomplete:script": {
1139
+ "aliases": [],
1140
+ "args": {
1141
+ "shell": {
1142
+ "description": "Shell type",
1143
+ "name": "shell",
1149
1144
  "options": [
1150
- "full",
1151
- "send",
1152
- "read",
1153
- "admin"
1145
+ "zsh",
1146
+ "bash",
1147
+ "fish",
1148
+ "powershell"
1154
1149
  ],
1155
- "type": "option"
1150
+ "required": false
1156
1151
  }
1157
1152
  },
1153
+ "description": "outputs autocomplete config script for shells",
1154
+ "flags": {},
1158
1155
  "hasDynamicHelp": false,
1156
+ "hidden": true,
1159
1157
  "hiddenAliases": [],
1160
- "id": "auth:login",
1158
+ "id": "autocomplete:script",
1161
1159
  "pluginAlias": "@instantkom/cli",
1162
1160
  "pluginName": "@instantkom/cli",
1163
1161
  "pluginType": "core",
@@ -1167,14 +1165,14 @@
1167
1165
  "relativePath": [
1168
1166
  "dist",
1169
1167
  "commands",
1170
- "auth",
1171
- "login.js"
1168
+ "autocomplete",
1169
+ "script.js"
1172
1170
  ]
1173
1171
  },
1174
- "auth:logout": {
1172
+ "ai:reply": {
1175
1173
  "aliases": [],
1176
1174
  "args": {},
1177
- "description": "Remove the stored API token for the current profile",
1175
+ "description": "Generate AI reply suggestions for a message",
1178
1176
  "flags": {
1179
1177
  "api-key": {
1180
1178
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1237,45 +1235,47 @@
1237
1235
  "hasDynamicHelp": false,
1238
1236
  "multiple": false,
1239
1237
  "type": "option"
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",
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,
1264
1266
  "options": [
1265
- "zsh",
1266
- "bash",
1267
- "fish",
1268
- "powershell"
1267
+ "professional",
1268
+ "friendly",
1269
+ "concise",
1270
+ "detailed",
1271
+ "empathetic"
1269
1272
  ],
1270
- "required": false
1273
+ "type": "option"
1271
1274
  }
1272
1275
  },
1273
- "description": "outputs autocomplete config script for shells",
1274
- "flags": {},
1275
1276
  "hasDynamicHelp": false,
1276
- "hidden": true,
1277
1277
  "hiddenAliases": [],
1278
- "id": "autocomplete:script",
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
- "autocomplete",
1289
- "script.js"
1288
+ "ai",
1289
+ "reply.js"
1290
1290
  ]
1291
1291
  },
1292
1292
  "bots:create": {
@@ -2896,16 +2896,10 @@
2896
2896
  "reply.js"
2897
2897
  ]
2898
2898
  },
2899
- "config:get": {
2899
+ "broadcast:create": {
2900
2900
  "aliases": [],
2901
- "args": {
2902
- "key": {
2903
- "description": "Configuration key to retrieve",
2904
- "name": "key",
2905
- "required": true
2906
- }
2907
- },
2908
- "description": "Get a configuration value for the current profile",
2901
+ "args": {},
2902
+ "description": "Create a broadcast for channels or segments",
2909
2903
  "flags": {
2910
2904
  "api-key": {
2911
2905
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2968,286 +2962,17 @@
2968
2962
  "hasDynamicHelp": false,
2969
2963
  "multiple": false,
2970
2964
  "type": "option"
2971
- }
2972
- },
2973
- "hasDynamicHelp": false,
2974
- "hiddenAliases": [],
2975
- "id": "config:get",
2976
- "pluginAlias": "@instantkom/cli",
2977
- "pluginName": "@instantkom/cli",
2978
- "pluginType": "core",
2979
- "strict": true,
2980
- "enableJsonFlag": false,
2981
- "isESM": true,
2982
- "relativePath": [
2983
- "dist",
2984
- "commands",
2985
- "config",
2986
- "get.js"
2987
- ]
2988
- },
2989
- "config:set": {
2990
- "aliases": [],
2991
- "args": {
2992
- "key": {
2993
- "description": "Configuration key to set",
2994
- "name": "key",
2995
- "required": true
2996
2965
  },
2997
- "value": {
2998
- "description": "Value to assign",
2999
- "name": "value",
3000
- "required": true
3001
- }
3002
- },
3003
- "description": "Set a configuration value for the current profile",
3004
- "flags": {
3005
- "api-key": {
3006
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
3007
- "env": "IKM_API_KEY",
3008
- "helpGroup": "GLOBAL",
3009
- "name": "api-key",
2966
+ "channel": {
2967
+ "description": "Channel ID target",
2968
+ "name": "channel",
3010
2969
  "hasDynamicHelp": false,
3011
2970
  "multiple": false,
3012
2971
  "type": "option"
3013
2972
  },
3014
- "format": {
3015
- "description": "Output format: text, json, yaml, or table",
3016
- "helpGroup": "GLOBAL",
3017
- "name": "format",
3018
- "default": "text",
3019
- "hasDynamicHelp": false,
3020
- "multiple": false,
3021
- "options": [
3022
- "text",
3023
- "json",
3024
- "yaml",
3025
- "table"
3026
- ],
3027
- "type": "option"
3028
- },
3029
- "json": {
3030
- "description": "Output in JSON format (alias for --format=json)",
3031
- "helpGroup": "GLOBAL",
3032
- "name": "json",
3033
- "allowNo": false,
3034
- "type": "boolean"
3035
- },
3036
- "quiet": {
3037
- "description": "Suppress all output except errors",
3038
- "helpGroup": "GLOBAL",
3039
- "name": "quiet",
3040
- "allowNo": false,
3041
- "type": "boolean"
3042
- },
3043
- "no-color": {
3044
- "description": "Disable color output",
3045
- "helpGroup": "GLOBAL",
3046
- "name": "no-color",
3047
- "allowNo": false,
3048
- "type": "boolean"
3049
- },
3050
- "profile": {
3051
- "description": "Named configuration profile to use",
3052
- "helpGroup": "GLOBAL",
3053
- "name": "profile",
3054
- "default": "default",
3055
- "hasDynamicHelp": false,
3056
- "multiple": false,
3057
- "type": "option"
3058
- },
3059
- "api-url": {
3060
- "description": "Override the API base URL (e.g. for staging)",
3061
- "helpGroup": "GLOBAL",
3062
- "name": "api-url",
3063
- "hasDynamicHelp": false,
3064
- "multiple": false,
3065
- "type": "option"
3066
- }
3067
- },
3068
- "hasDynamicHelp": false,
3069
- "hiddenAliases": [],
3070
- "id": "config:set",
3071
- "pluginAlias": "@instantkom/cli",
3072
- "pluginName": "@instantkom/cli",
3073
- "pluginType": "core",
3074
- "strict": true,
3075
- "enableJsonFlag": false,
3076
- "isESM": true,
3077
- "relativePath": [
3078
- "dist",
3079
- "commands",
3080
- "config",
3081
- "set.js"
3082
- ]
3083
- },
3084
- "config:unset": {
3085
- "aliases": [],
3086
- "args": {
3087
- "key": {
3088
- "description": "Configuration key to remove",
3089
- "name": "key",
3090
- "required": true
3091
- }
3092
- },
3093
- "description": "Remove a configuration key from the current profile",
3094
- "flags": {
3095
- "api-key": {
3096
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
3097
- "env": "IKM_API_KEY",
3098
- "helpGroup": "GLOBAL",
3099
- "name": "api-key",
3100
- "hasDynamicHelp": false,
3101
- "multiple": false,
3102
- "type": "option"
3103
- },
3104
- "format": {
3105
- "description": "Output format: text, json, yaml, or table",
3106
- "helpGroup": "GLOBAL",
3107
- "name": "format",
3108
- "default": "text",
3109
- "hasDynamicHelp": false,
3110
- "multiple": false,
3111
- "options": [
3112
- "text",
3113
- "json",
3114
- "yaml",
3115
- "table"
3116
- ],
3117
- "type": "option"
3118
- },
3119
- "json": {
3120
- "description": "Output in JSON format (alias for --format=json)",
3121
- "helpGroup": "GLOBAL",
3122
- "name": "json",
3123
- "allowNo": false,
3124
- "type": "boolean"
3125
- },
3126
- "quiet": {
3127
- "description": "Suppress all output except errors",
3128
- "helpGroup": "GLOBAL",
3129
- "name": "quiet",
3130
- "allowNo": false,
3131
- "type": "boolean"
3132
- },
3133
- "no-color": {
3134
- "description": "Disable color output",
3135
- "helpGroup": "GLOBAL",
3136
- "name": "no-color",
3137
- "allowNo": false,
3138
- "type": "boolean"
3139
- },
3140
- "profile": {
3141
- "description": "Named configuration profile to use",
3142
- "helpGroup": "GLOBAL",
3143
- "name": "profile",
3144
- "default": "default",
3145
- "hasDynamicHelp": false,
3146
- "multiple": false,
3147
- "type": "option"
3148
- },
3149
- "api-url": {
3150
- "description": "Override the API base URL (e.g. for staging)",
3151
- "helpGroup": "GLOBAL",
3152
- "name": "api-url",
3153
- "hasDynamicHelp": false,
3154
- "multiple": false,
3155
- "type": "option"
3156
- }
3157
- },
3158
- "hasDynamicHelp": false,
3159
- "hiddenAliases": [],
3160
- "id": "config:unset",
3161
- "pluginAlias": "@instantkom/cli",
3162
- "pluginName": "@instantkom/cli",
3163
- "pluginType": "core",
3164
- "strict": true,
3165
- "enableJsonFlag": false,
3166
- "isESM": true,
3167
- "relativePath": [
3168
- "dist",
3169
- "commands",
3170
- "config",
3171
- "unset.js"
3172
- ]
3173
- },
3174
- "broadcast:create": {
3175
- "aliases": [],
3176
- "args": {},
3177
- "description": "Create a broadcast for channels or segments",
3178
- "flags": {
3179
- "api-key": {
3180
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
3181
- "env": "IKM_API_KEY",
3182
- "helpGroup": "GLOBAL",
3183
- "name": "api-key",
3184
- "hasDynamicHelp": false,
3185
- "multiple": false,
3186
- "type": "option"
3187
- },
3188
- "format": {
3189
- "description": "Output format: text, json, yaml, or table",
3190
- "helpGroup": "GLOBAL",
3191
- "name": "format",
3192
- "default": "text",
3193
- "hasDynamicHelp": false,
3194
- "multiple": false,
3195
- "options": [
3196
- "text",
3197
- "json",
3198
- "yaml",
3199
- "table"
3200
- ],
3201
- "type": "option"
3202
- },
3203
- "json": {
3204
- "description": "Output in JSON format (alias for --format=json)",
3205
- "helpGroup": "GLOBAL",
3206
- "name": "json",
3207
- "allowNo": false,
3208
- "type": "boolean"
3209
- },
3210
- "quiet": {
3211
- "description": "Suppress all output except errors",
3212
- "helpGroup": "GLOBAL",
3213
- "name": "quiet",
3214
- "allowNo": false,
3215
- "type": "boolean"
3216
- },
3217
- "no-color": {
3218
- "description": "Disable color output",
3219
- "helpGroup": "GLOBAL",
3220
- "name": "no-color",
3221
- "allowNo": false,
3222
- "type": "boolean"
3223
- },
3224
- "profile": {
3225
- "description": "Named configuration profile to use",
3226
- "helpGroup": "GLOBAL",
3227
- "name": "profile",
3228
- "default": "default",
3229
- "hasDynamicHelp": false,
3230
- "multiple": false,
3231
- "type": "option"
3232
- },
3233
- "api-url": {
3234
- "description": "Override the API base URL (e.g. for staging)",
3235
- "helpGroup": "GLOBAL",
3236
- "name": "api-url",
3237
- "hasDynamicHelp": false,
3238
- "multiple": false,
3239
- "type": "option"
3240
- },
3241
- "channel": {
3242
- "description": "Channel ID target",
3243
- "name": "channel",
3244
- "hasDynamicHelp": false,
3245
- "multiple": false,
3246
- "type": "option"
3247
- },
3248
- "segment": {
3249
- "description": "Segment ID within --channel",
3250
- "name": "segment",
2973
+ "segment": {
2974
+ "description": "Segment ID within --channel",
2975
+ "name": "segment",
3251
2976
  "hasDynamicHelp": false,
3252
2977
  "multiple": false,
3253
2978
  "type": "option"
@@ -3999,10 +3724,16 @@
3999
3724
  "update.js"
4000
3725
  ]
4001
3726
  },
4002
- "contacts:create": {
3727
+ "config:get": {
4003
3728
  "aliases": [],
4004
- "args": {},
4005
- "description": "Create a contact",
3729
+ "args": {
3730
+ "key": {
3731
+ "description": "Configuration key to retrieve",
3732
+ "name": "key",
3733
+ "required": true
3734
+ }
3735
+ },
3736
+ "description": "Get a configuration value for the current profile",
4006
3737
  "flags": {
4007
3738
  "api-key": {
4008
3739
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4065,11 +3796,280 @@
4065
3796
  "hasDynamicHelp": false,
4066
3797
  "multiple": false,
4067
3798
  "type": "option"
3799
+ }
3800
+ },
3801
+ "hasDynamicHelp": false,
3802
+ "hiddenAliases": [],
3803
+ "id": "config:get",
3804
+ "pluginAlias": "@instantkom/cli",
3805
+ "pluginName": "@instantkom/cli",
3806
+ "pluginType": "core",
3807
+ "strict": true,
3808
+ "enableJsonFlag": false,
3809
+ "isESM": true,
3810
+ "relativePath": [
3811
+ "dist",
3812
+ "commands",
3813
+ "config",
3814
+ "get.js"
3815
+ ]
3816
+ },
3817
+ "config:set": {
3818
+ "aliases": [],
3819
+ "args": {
3820
+ "key": {
3821
+ "description": "Configuration key to set",
3822
+ "name": "key",
3823
+ "required": true
4068
3824
  },
4069
- "channel": {
4070
- "description": "Channel ID",
4071
- "name": "channel",
4072
- "required": true,
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",
3832
+ "flags": {
3833
+ "api-key": {
3834
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
3835
+ "env": "IKM_API_KEY",
3836
+ "helpGroup": "GLOBAL",
3837
+ "name": "api-key",
3838
+ "hasDynamicHelp": false,
3839
+ "multiple": false,
3840
+ "type": "option"
3841
+ },
3842
+ "format": {
3843
+ "description": "Output format: text, json, yaml, or table",
3844
+ "helpGroup": "GLOBAL",
3845
+ "name": "format",
3846
+ "default": "text",
3847
+ "hasDynamicHelp": false,
3848
+ "multiple": false,
3849
+ "options": [
3850
+ "text",
3851
+ "json",
3852
+ "yaml",
3853
+ "table"
3854
+ ],
3855
+ "type": "option"
3856
+ },
3857
+ "json": {
3858
+ "description": "Output in JSON format (alias for --format=json)",
3859
+ "helpGroup": "GLOBAL",
3860
+ "name": "json",
3861
+ "allowNo": false,
3862
+ "type": "boolean"
3863
+ },
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",
3875
+ "allowNo": false,
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"
3894
+ }
3895
+ },
3896
+ "hasDynamicHelp": false,
3897
+ "hiddenAliases": [],
3898
+ "id": "config:set",
3899
+ "pluginAlias": "@instantkom/cli",
3900
+ "pluginName": "@instantkom/cli",
3901
+ "pluginType": "core",
3902
+ "strict": true,
3903
+ "enableJsonFlag": false,
3904
+ "isESM": true,
3905
+ "relativePath": [
3906
+ "dist",
3907
+ "commands",
3908
+ "config",
3909
+ "set.js"
3910
+ ]
3911
+ },
3912
+ "config:unset": {
3913
+ "aliases": [],
3914
+ "args": {
3915
+ "key": {
3916
+ "description": "Configuration key to remove",
3917
+ "name": "key",
3918
+ "required": true
3919
+ }
3920
+ },
3921
+ "description": "Remove a configuration key from the current profile",
3922
+ "flags": {
3923
+ "api-key": {
3924
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
3925
+ "env": "IKM_API_KEY",
3926
+ "helpGroup": "GLOBAL",
3927
+ "name": "api-key",
3928
+ "hasDynamicHelp": false,
3929
+ "multiple": false,
3930
+ "type": "option"
3931
+ },
3932
+ "format": {
3933
+ "description": "Output format: text, json, yaml, or table",
3934
+ "helpGroup": "GLOBAL",
3935
+ "name": "format",
3936
+ "default": "text",
3937
+ "hasDynamicHelp": false,
3938
+ "multiple": false,
3939
+ "options": [
3940
+ "text",
3941
+ "json",
3942
+ "yaml",
3943
+ "table"
3944
+ ],
3945
+ "type": "option"
3946
+ },
3947
+ "json": {
3948
+ "description": "Output in JSON format (alias for --format=json)",
3949
+ "helpGroup": "GLOBAL",
3950
+ "name": "json",
3951
+ "allowNo": false,
3952
+ "type": "boolean"
3953
+ },
3954
+ "quiet": {
3955
+ "description": "Suppress all output except errors",
3956
+ "helpGroup": "GLOBAL",
3957
+ "name": "quiet",
3958
+ "allowNo": false,
3959
+ "type": "boolean"
3960
+ },
3961
+ "no-color": {
3962
+ "description": "Disable color output",
3963
+ "helpGroup": "GLOBAL",
3964
+ "name": "no-color",
3965
+ "allowNo": false,
3966
+ "type": "boolean"
3967
+ },
3968
+ "profile": {
3969
+ "description": "Named configuration profile to use",
3970
+ "helpGroup": "GLOBAL",
3971
+ "name": "profile",
3972
+ "default": "default",
3973
+ "hasDynamicHelp": false,
3974
+ "multiple": false,
3975
+ "type": "option"
3976
+ },
3977
+ "api-url": {
3978
+ "description": "Override the API base URL (e.g. for staging)",
3979
+ "helpGroup": "GLOBAL",
3980
+ "name": "api-url",
3981
+ "hasDynamicHelp": false,
3982
+ "multiple": false,
3983
+ "type": "option"
3984
+ }
3985
+ },
3986
+ "hasDynamicHelp": false,
3987
+ "hiddenAliases": [],
3988
+ "id": "config:unset",
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",
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
+ "helpGroup": "GLOBAL",
4034
+ "name": "json",
4035
+ "allowNo": false,
4036
+ "type": "boolean"
4037
+ },
4038
+ "quiet": {
4039
+ "description": "Suppress all output except errors",
4040
+ "helpGroup": "GLOBAL",
4041
+ "name": "quiet",
4042
+ "allowNo": false,
4043
+ "type": "boolean"
4044
+ },
4045
+ "no-color": {
4046
+ "description": "Disable color output",
4047
+ "helpGroup": "GLOBAL",
4048
+ "name": "no-color",
4049
+ "allowNo": false,
4050
+ "type": "boolean"
4051
+ },
4052
+ "profile": {
4053
+ "description": "Named configuration profile to use",
4054
+ "helpGroup": "GLOBAL",
4055
+ "name": "profile",
4056
+ "default": "default",
4057
+ "hasDynamicHelp": false,
4058
+ "multiple": false,
4059
+ "type": "option"
4060
+ },
4061
+ "api-url": {
4062
+ "description": "Override the API base URL (e.g. for staging)",
4063
+ "helpGroup": "GLOBAL",
4064
+ "name": "api-url",
4065
+ "hasDynamicHelp": false,
4066
+ "multiple": false,
4067
+ "type": "option"
4068
+ },
4069
+ "channel": {
4070
+ "description": "Channel ID",
4071
+ "name": "channel",
4072
+ "required": true,
4073
4073
  "hasDynamicHelp": false,
4074
4074
  "multiple": false,
4075
4075
  "type": "option"
@@ -8150,10 +8150,10 @@
8150
8150
  "update.js"
8151
8151
  ]
8152
8152
  },
8153
- "tags:create": {
8153
+ "templates:create": {
8154
8154
  "aliases": [],
8155
8155
  "args": {},
8156
- "description": "Create a tag",
8156
+ "description": "Create a message template",
8157
8157
  "flags": {
8158
8158
  "api-key": {
8159
8159
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8217,31 +8217,78 @@
8217
8217
  "multiple": false,
8218
8218
  "type": "option"
8219
8219
  },
8220
- "name": {
8221
- "description": "Tag name",
8222
- "name": "name",
8223
- "required": true,
8220
+ "channel": {
8221
+ "description": "Channel ID",
8222
+ "name": "channel",
8223
+ "required": true,
8224
8224
  "hasDynamicHelp": false,
8225
8225
  "multiple": false,
8226
8226
  "type": "option"
8227
8227
  },
8228
- "description": {
8229
- "description": "Tag description",
8230
- "name": "description",
8228
+ "name": {
8229
+ "description": "Template name",
8230
+ "name": "name",
8231
+ "required": true,
8232
+ "hasDynamicHelp": false,
8233
+ "multiple": false,
8234
+ "type": "option"
8235
+ },
8236
+ "type": {
8237
+ "description": "Template type",
8238
+ "name": "type",
8239
+ "default": "text",
8240
+ "hasDynamicHelp": false,
8241
+ "multiple": false,
8242
+ "options": [
8243
+ "text",
8244
+ "image",
8245
+ "video",
8246
+ "document",
8247
+ "audio",
8248
+ "location",
8249
+ "contact",
8250
+ "interactive"
8251
+ ],
8252
+ "type": "option"
8253
+ },
8254
+ "message": {
8255
+ "description": "Template message",
8256
+ "name": "message",
8257
+ "required": true,
8231
8258
  "hasDynamicHelp": false,
8232
8259
  "multiple": false,
8233
8260
  "type": "option"
8234
8261
  },
8235
8262
  "color": {
8236
- "description": "Tag color as HEX",
8263
+ "description": "Template color as HEX",
8237
8264
  "name": "color",
8238
8265
  "hasDynamicHelp": false,
8239
8266
  "multiple": false,
8240
8267
  "type": "option"
8241
8268
  },
8242
- "folder": {
8243
- "description": "Object folder ID",
8244
- "name": "folder",
8269
+ "status": {
8270
+ "description": "Template is active",
8271
+ "name": "status",
8272
+ "allowNo": true,
8273
+ "type": "boolean"
8274
+ },
8275
+ "whatsapp-language": {
8276
+ "description": "WhatsApp template language",
8277
+ "name": "whatsapp-language",
8278
+ "hasDynamicHelp": false,
8279
+ "multiple": false,
8280
+ "type": "option"
8281
+ },
8282
+ "buttons": {
8283
+ "description": "Buttons JSON array/object",
8284
+ "name": "buttons",
8285
+ "hasDynamicHelp": false,
8286
+ "multiple": false,
8287
+ "type": "option"
8288
+ },
8289
+ "header-footer": {
8290
+ "description": "Header/footer JSON object",
8291
+ "name": "header-footer",
8245
8292
  "hasDynamicHelp": false,
8246
8293
  "multiple": false,
8247
8294
  "type": "option"
@@ -8256,7 +8303,7 @@
8256
8303
  },
8257
8304
  "hasDynamicHelp": false,
8258
8305
  "hiddenAliases": [],
8259
- "id": "tags:create",
8306
+ "id": "templates:create",
8260
8307
  "pluginAlias": "@instantkom/cli",
8261
8308
  "pluginName": "@instantkom/cli",
8262
8309
  "pluginType": "core",
@@ -8266,20 +8313,20 @@
8266
8313
  "relativePath": [
8267
8314
  "dist",
8268
8315
  "commands",
8269
- "tags",
8316
+ "templates",
8270
8317
  "create.js"
8271
8318
  ]
8272
8319
  },
8273
- "tags:delete": {
8320
+ "templates:delete": {
8274
8321
  "aliases": [],
8275
8322
  "args": {
8276
8323
  "id": {
8277
- "description": "tag ID",
8324
+ "description": "template ID",
8278
8325
  "name": "id",
8279
8326
  "required": true
8280
8327
  }
8281
8328
  },
8282
- "description": "Delete tag",
8329
+ "description": "Delete template",
8283
8330
  "flags": {
8284
8331
  "api-key": {
8285
8332
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8346,7 +8393,7 @@
8346
8393
  },
8347
8394
  "hasDynamicHelp": false,
8348
8395
  "hiddenAliases": [],
8349
- "id": "tags:delete",
8396
+ "id": "templates:delete",
8350
8397
  "pluginAlias": "@instantkom/cli",
8351
8398
  "pluginName": "@instantkom/cli",
8352
8399
  "pluginType": "core",
@@ -8356,14 +8403,14 @@
8356
8403
  "relativePath": [
8357
8404
  "dist",
8358
8405
  "commands",
8359
- "tags",
8406
+ "templates",
8360
8407
  "delete.js"
8361
8408
  ]
8362
8409
  },
8363
- "tags:export": {
8410
+ "templates:export": {
8364
8411
  "aliases": [],
8365
8412
  "args": {},
8366
- "description": "Export tags to a file",
8413
+ "description": "Export templates to a file",
8367
8414
  "flags": {
8368
8415
  "api-key": {
8369
8416
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8377,7 +8424,7 @@
8377
8424
  "format": {
8378
8425
  "description": "Export format",
8379
8426
  "name": "format",
8380
- "default": "csv",
8427
+ "default": "json",
8381
8428
  "hasDynamicHelp": false,
8382
8429
  "multiple": false,
8383
8430
  "options": [
@@ -8431,11 +8478,18 @@
8431
8478
  "hasDynamicHelp": false,
8432
8479
  "multiple": false,
8433
8480
  "type": "option"
8481
+ },
8482
+ "channel": {
8483
+ "description": "Filter by channel ID",
8484
+ "name": "channel",
8485
+ "hasDynamicHelp": false,
8486
+ "multiple": false,
8487
+ "type": "option"
8434
8488
  }
8435
8489
  },
8436
8490
  "hasDynamicHelp": false,
8437
8491
  "hiddenAliases": [],
8438
- "id": "tags:export",
8492
+ "id": "templates:export",
8439
8493
  "pluginAlias": "@instantkom/cli",
8440
8494
  "pluginName": "@instantkom/cli",
8441
8495
  "pluginType": "core",
@@ -8445,20 +8499,20 @@
8445
8499
  "relativePath": [
8446
8500
  "dist",
8447
8501
  "commands",
8448
- "tags",
8502
+ "templates",
8449
8503
  "export.js"
8450
8504
  ]
8451
8505
  },
8452
- "tags:get": {
8506
+ "templates:get": {
8453
8507
  "aliases": [],
8454
8508
  "args": {
8455
8509
  "id": {
8456
- "description": "tag ID",
8510
+ "description": "Template ID",
8457
8511
  "name": "id",
8458
8512
  "required": true
8459
8513
  }
8460
8514
  },
8461
- "description": "Get tag by ID",
8515
+ "description": "Get a message template by ID",
8462
8516
  "flags": {
8463
8517
  "api-key": {
8464
8518
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8525,7 +8579,7 @@
8525
8579
  },
8526
8580
  "hasDynamicHelp": false,
8527
8581
  "hiddenAliases": [],
8528
- "id": "tags:get",
8582
+ "id": "templates:get",
8529
8583
  "pluginAlias": "@instantkom/cli",
8530
8584
  "pluginName": "@instantkom/cli",
8531
8585
  "pluginType": "core",
@@ -8535,14 +8589,14 @@
8535
8589
  "relativePath": [
8536
8590
  "dist",
8537
8591
  "commands",
8538
- "tags",
8592
+ "templates",
8539
8593
  "get.js"
8540
8594
  ]
8541
8595
  },
8542
- "tags:import": {
8596
+ "templates:import": {
8543
8597
  "aliases": [],
8544
8598
  "args": {},
8545
- "description": "Import tags from JSON",
8599
+ "description": "Import templates from JSON",
8546
8600
  "flags": {
8547
8601
  "api-key": {
8548
8602
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8614,8 +8668,16 @@
8614
8668
  "multiple": false,
8615
8669
  "type": "option"
8616
8670
  },
8671
+ "channel": {
8672
+ "description": "Target channel ID",
8673
+ "name": "channel",
8674
+ "required": true,
8675
+ "hasDynamicHelp": false,
8676
+ "multiple": false,
8677
+ "type": "option"
8678
+ },
8617
8679
  "skip-duplicates": {
8618
- "description": "Skip duplicate tags",
8680
+ "description": "Skip duplicate templates",
8619
8681
  "name": "skip-duplicates",
8620
8682
  "allowNo": true,
8621
8683
  "type": "boolean"
@@ -8623,7 +8685,7 @@
8623
8685
  },
8624
8686
  "hasDynamicHelp": false,
8625
8687
  "hiddenAliases": [],
8626
- "id": "tags:import",
8688
+ "id": "templates:import",
8627
8689
  "pluginAlias": "@instantkom/cli",
8628
8690
  "pluginName": "@instantkom/cli",
8629
8691
  "pluginType": "core",
@@ -8633,14 +8695,14 @@
8633
8695
  "relativePath": [
8634
8696
  "dist",
8635
8697
  "commands",
8636
- "tags",
8698
+ "templates",
8637
8699
  "import.js"
8638
8700
  ]
8639
8701
  },
8640
- "tags:list": {
8702
+ "templates:list": {
8641
8703
  "aliases": [],
8642
8704
  "args": {},
8643
- "description": "List tags",
8705
+ "description": "List message templates",
8644
8706
  "flags": {
8645
8707
  "api-key": {
8646
8708
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8704,32 +8766,32 @@
8704
8766
  "multiple": false,
8705
8767
  "type": "option"
8706
8768
  },
8707
- "page": {
8708
- "description": "Page number",
8709
- "name": "page",
8710
- "default": 1,
8769
+ "channel": {
8770
+ "description": "Filter by channel ID",
8771
+ "name": "channel",
8711
8772
  "hasDynamicHelp": false,
8712
8773
  "multiple": false,
8713
8774
  "type": "option"
8714
8775
  },
8715
- "limit": {
8716
- "description": "Items per page",
8717
- "name": "limit",
8718
- "default": 20,
8776
+ "search": {
8777
+ "description": "Search templates by name or content",
8778
+ "name": "search",
8719
8779
  "hasDynamicHelp": false,
8720
8780
  "multiple": false,
8721
8781
  "type": "option"
8722
8782
  },
8723
- "search": {
8724
- "description": "Search by name",
8725
- "name": "search",
8783
+ "page": {
8784
+ "description": "Page number",
8785
+ "name": "page",
8786
+ "default": 1,
8726
8787
  "hasDynamicHelp": false,
8727
8788
  "multiple": false,
8728
8789
  "type": "option"
8729
8790
  },
8730
- "color": {
8731
- "description": "Filter by color",
8732
- "name": "color",
8791
+ "limit": {
8792
+ "description": "Items per page",
8793
+ "name": "limit",
8794
+ "default": 20,
8733
8795
  "hasDynamicHelp": false,
8734
8796
  "multiple": false,
8735
8797
  "type": "option"
@@ -8737,7 +8799,7 @@
8737
8799
  },
8738
8800
  "hasDynamicHelp": false,
8739
8801
  "hiddenAliases": [],
8740
- "id": "tags:list",
8802
+ "id": "templates:list",
8741
8803
  "pluginAlias": "@instantkom/cli",
8742
8804
  "pluginName": "@instantkom/cli",
8743
8805
  "pluginType": "core",
@@ -8747,20 +8809,20 @@
8747
8809
  "relativePath": [
8748
8810
  "dist",
8749
8811
  "commands",
8750
- "tags",
8812
+ "templates",
8751
8813
  "list.js"
8752
8814
  ]
8753
8815
  },
8754
- "tags:update": {
8816
+ "templates:render": {
8755
8817
  "aliases": [],
8756
8818
  "args": {
8757
8819
  "id": {
8758
- "description": "Tag ID",
8820
+ "description": "Template ID",
8759
8821
  "name": "id",
8760
8822
  "required": true
8761
8823
  }
8762
8824
  },
8763
- "description": "Update a tag",
8825
+ "description": "Render a message template locally",
8764
8826
  "flags": {
8765
8827
  "api-key": {
8766
8828
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8824,45 +8886,17 @@
8824
8886
  "multiple": false,
8825
8887
  "type": "option"
8826
8888
  },
8827
- "name": {
8828
- "description": "Tag name",
8829
- "name": "name",
8830
- "hasDynamicHelp": false,
8831
- "multiple": false,
8832
- "type": "option"
8833
- },
8834
- "description": {
8835
- "description": "Tag description",
8836
- "name": "description",
8837
- "hasDynamicHelp": false,
8838
- "multiple": false,
8839
- "type": "option"
8840
- },
8841
- "color": {
8842
- "description": "Tag color as HEX",
8843
- "name": "color",
8844
- "hasDynamicHelp": false,
8845
- "multiple": false,
8846
- "type": "option"
8847
- },
8848
- "folder": {
8849
- "description": "Object folder ID",
8850
- "name": "folder",
8851
- "hasDynamicHelp": false,
8852
- "multiple": false,
8853
- "type": "option"
8854
- },
8855
- "data": {
8856
- "description": "Additional JSON object payload",
8857
- "name": "data",
8889
+ "vars": {
8890
+ "description": "Template variable as key=value; may be repeated",
8891
+ "name": "vars",
8858
8892
  "hasDynamicHelp": false,
8859
- "multiple": false,
8893
+ "multiple": true,
8860
8894
  "type": "option"
8861
8895
  }
8862
8896
  },
8863
8897
  "hasDynamicHelp": false,
8864
8898
  "hiddenAliases": [],
8865
- "id": "tags:update",
8899
+ "id": "templates:render",
8866
8900
  "pluginAlias": "@instantkom/cli",
8867
8901
  "pluginName": "@instantkom/cli",
8868
8902
  "pluginType": "core",
@@ -8872,14 +8906,20 @@
8872
8906
  "relativePath": [
8873
8907
  "dist",
8874
8908
  "commands",
8875
- "tags",
8876
- "update.js"
8909
+ "templates",
8910
+ "render.js"
8877
8911
  ]
8878
8912
  },
8879
- "tags:validate-import": {
8913
+ "templates:update": {
8880
8914
  "aliases": [],
8881
- "args": {},
8882
- "description": "Validate tags import JSON",
8915
+ "args": {
8916
+ "id": {
8917
+ "description": "Template ID",
8918
+ "name": "id",
8919
+ "required": true
8920
+ }
8921
+ },
8922
+ "description": "Update a message template",
8883
8923
  "flags": {
8884
8924
  "api-key": {
8885
8925
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8943,110 +8983,9 @@
8943
8983
  "multiple": false,
8944
8984
  "type": "option"
8945
8985
  },
8946
- "file": {
8947
- "description": "JSON file path",
8948
- "name": "file",
8949
- "required": true,
8950
- "hasDynamicHelp": false,
8951
- "multiple": false,
8952
- "type": "option"
8953
- }
8954
- },
8955
- "hasDynamicHelp": false,
8956
- "hiddenAliases": [],
8957
- "id": "tags:validate-import",
8958
- "pluginAlias": "@instantkom/cli",
8959
- "pluginName": "@instantkom/cli",
8960
- "pluginType": "core",
8961
- "strict": true,
8962
- "enableJsonFlag": false,
8963
- "isESM": true,
8964
- "relativePath": [
8965
- "dist",
8966
- "commands",
8967
- "tags",
8968
- "validate-import.js"
8969
- ]
8970
- },
8971
- "templates:create": {
8972
- "aliases": [],
8973
- "args": {},
8974
- "description": "Create a message template",
8975
- "flags": {
8976
- "api-key": {
8977
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
8978
- "env": "IKM_API_KEY",
8979
- "helpGroup": "GLOBAL",
8980
- "name": "api-key",
8981
- "hasDynamicHelp": false,
8982
- "multiple": false,
8983
- "type": "option"
8984
- },
8985
- "format": {
8986
- "description": "Output format: text, json, yaml, or table",
8987
- "helpGroup": "GLOBAL",
8988
- "name": "format",
8989
- "default": "text",
8990
- "hasDynamicHelp": false,
8991
- "multiple": false,
8992
- "options": [
8993
- "text",
8994
- "json",
8995
- "yaml",
8996
- "table"
8997
- ],
8998
- "type": "option"
8999
- },
9000
- "json": {
9001
- "description": "Output in JSON format (alias for --format=json)",
9002
- "helpGroup": "GLOBAL",
9003
- "name": "json",
9004
- "allowNo": false,
9005
- "type": "boolean"
9006
- },
9007
- "quiet": {
9008
- "description": "Suppress all output except errors",
9009
- "helpGroup": "GLOBAL",
9010
- "name": "quiet",
9011
- "allowNo": false,
9012
- "type": "boolean"
9013
- },
9014
- "no-color": {
9015
- "description": "Disable color output",
9016
- "helpGroup": "GLOBAL",
9017
- "name": "no-color",
9018
- "allowNo": false,
9019
- "type": "boolean"
9020
- },
9021
- "profile": {
9022
- "description": "Named configuration profile to use",
9023
- "helpGroup": "GLOBAL",
9024
- "name": "profile",
9025
- "default": "default",
9026
- "hasDynamicHelp": false,
9027
- "multiple": false,
9028
- "type": "option"
9029
- },
9030
- "api-url": {
9031
- "description": "Override the API base URL (e.g. for staging)",
9032
- "helpGroup": "GLOBAL",
9033
- "name": "api-url",
9034
- "hasDynamicHelp": false,
9035
- "multiple": false,
9036
- "type": "option"
9037
- },
9038
- "channel": {
9039
- "description": "Channel ID",
9040
- "name": "channel",
9041
- "required": true,
9042
- "hasDynamicHelp": false,
9043
- "multiple": false,
9044
- "type": "option"
9045
- },
9046
- "name": {
9047
- "description": "Template name",
9048
- "name": "name",
9049
- "required": true,
8986
+ "name": {
8987
+ "description": "Template name",
8988
+ "name": "name",
9050
8989
  "hasDynamicHelp": false,
9051
8990
  "multiple": false,
9052
8991
  "type": "option"
@@ -9054,7 +8993,6 @@
9054
8993
  "type": {
9055
8994
  "description": "Template type",
9056
8995
  "name": "type",
9057
- "default": "text",
9058
8996
  "hasDynamicHelp": false,
9059
8997
  "multiple": false,
9060
8998
  "options": [
@@ -9072,7 +9010,6 @@
9072
9010
  "message": {
9073
9011
  "description": "Template message",
9074
9012
  "name": "message",
9075
- "required": true,
9076
9013
  "hasDynamicHelp": false,
9077
9014
  "multiple": false,
9078
9015
  "type": "option"
@@ -9090,6 +9027,12 @@
9090
9027
  "allowNo": true,
9091
9028
  "type": "boolean"
9092
9029
  },
9030
+ "remove-media": {
9031
+ "description": "Remove existing media",
9032
+ "name": "remove-media",
9033
+ "allowNo": false,
9034
+ "type": "boolean"
9035
+ },
9093
9036
  "whatsapp-language": {
9094
9037
  "description": "WhatsApp template language",
9095
9038
  "name": "whatsapp-language",
@@ -9121,7 +9064,7 @@
9121
9064
  },
9122
9065
  "hasDynamicHelp": false,
9123
9066
  "hiddenAliases": [],
9124
- "id": "templates:create",
9067
+ "id": "templates:update",
9125
9068
  "pluginAlias": "@instantkom/cli",
9126
9069
  "pluginName": "@instantkom/cli",
9127
9070
  "pluginType": "core",
@@ -9132,19 +9075,13 @@
9132
9075
  "dist",
9133
9076
  "commands",
9134
9077
  "templates",
9135
- "create.js"
9078
+ "update.js"
9136
9079
  ]
9137
9080
  },
9138
- "templates:delete": {
9081
+ "templates:validate-import": {
9139
9082
  "aliases": [],
9140
- "args": {
9141
- "id": {
9142
- "description": "template ID",
9143
- "name": "id",
9144
- "required": true
9145
- }
9146
- },
9147
- "description": "Delete template",
9083
+ "args": {},
9084
+ "description": "Validate templates import JSON",
9148
9085
  "flags": {
9149
9086
  "api-key": {
9150
9087
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9207,11 +9144,27 @@
9207
9144
  "hasDynamicHelp": false,
9208
9145
  "multiple": false,
9209
9146
  "type": "option"
9147
+ },
9148
+ "file": {
9149
+ "description": "JSON file path",
9150
+ "name": "file",
9151
+ "required": true,
9152
+ "hasDynamicHelp": false,
9153
+ "multiple": false,
9154
+ "type": "option"
9155
+ },
9156
+ "channel": {
9157
+ "description": "Target channel ID",
9158
+ "name": "channel",
9159
+ "required": true,
9160
+ "hasDynamicHelp": false,
9161
+ "multiple": false,
9162
+ "type": "option"
9210
9163
  }
9211
9164
  },
9212
9165
  "hasDynamicHelp": false,
9213
9166
  "hiddenAliases": [],
9214
- "id": "templates:delete",
9167
+ "id": "templates:validate-import",
9215
9168
  "pluginAlias": "@instantkom/cli",
9216
9169
  "pluginName": "@instantkom/cli",
9217
9170
  "pluginType": "core",
@@ -9222,13 +9175,13 @@
9222
9175
  "dist",
9223
9176
  "commands",
9224
9177
  "templates",
9225
- "delete.js"
9178
+ "validate-import.js"
9226
9179
  ]
9227
9180
  },
9228
- "templates:export": {
9181
+ "tickets:create": {
9229
9182
  "aliases": [],
9230
9183
  "args": {},
9231
- "description": "Export templates to a file",
9184
+ "description": "Create a ticket",
9232
9185
  "flags": {
9233
9186
  "api-key": {
9234
9187
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9240,14 +9193,17 @@
9240
9193
  "type": "option"
9241
9194
  },
9242
9195
  "format": {
9243
- "description": "Export format",
9196
+ "description": "Output format: text, json, yaml, or table",
9197
+ "helpGroup": "GLOBAL",
9244
9198
  "name": "format",
9245
- "default": "json",
9199
+ "default": "text",
9246
9200
  "hasDynamicHelp": false,
9247
9201
  "multiple": false,
9248
9202
  "options": [
9249
- "csv",
9250
- "json"
9203
+ "text",
9204
+ "json",
9205
+ "yaml",
9206
+ "table"
9251
9207
  ],
9252
9208
  "type": "option"
9253
9209
  },
@@ -9289,17 +9245,60 @@
9289
9245
  "multiple": false,
9290
9246
  "type": "option"
9291
9247
  },
9292
- "file": {
9293
- "description": "Output file path",
9294
- "name": "file",
9248
+ "channel": {
9249
+ "description": "Channel ID",
9250
+ "name": "channel",
9295
9251
  "required": true,
9296
9252
  "hasDynamicHelp": false,
9297
9253
  "multiple": false,
9298
9254
  "type": "option"
9299
9255
  },
9300
- "channel": {
9301
- "description": "Filter by channel ID",
9302
- "name": "channel",
9256
+ "subject": {
9257
+ "description": "Ticket subject",
9258
+ "name": "subject",
9259
+ "required": true,
9260
+ "hasDynamicHelp": false,
9261
+ "multiple": false,
9262
+ "type": "option"
9263
+ },
9264
+ "recipient": {
9265
+ "description": "Existing recipient ID",
9266
+ "name": "recipient",
9267
+ "hasDynamicHelp": false,
9268
+ "multiple": false,
9269
+ "type": "option"
9270
+ },
9271
+ "email": {
9272
+ "description": "Customer email",
9273
+ "name": "email",
9274
+ "hasDynamicHelp": false,
9275
+ "multiple": false,
9276
+ "type": "option"
9277
+ },
9278
+ "name": {
9279
+ "description": "Customer name",
9280
+ "name": "name",
9281
+ "hasDynamicHelp": false,
9282
+ "multiple": false,
9283
+ "type": "option"
9284
+ },
9285
+ "priority": {
9286
+ "description": "Ticket priority",
9287
+ "name": "priority",
9288
+ "hasDynamicHelp": false,
9289
+ "multiple": false,
9290
+ "type": "option"
9291
+ },
9292
+ "source": {
9293
+ "description": "Ticket source",
9294
+ "name": "source",
9295
+ "hasDynamicHelp": false,
9296
+ "multiple": false,
9297
+ "type": "option"
9298
+ },
9299
+ "data": {
9300
+ "description": "Additional JSON object payload",
9301
+ "name": "data",
9303
9302
  "hasDynamicHelp": false,
9304
9303
  "multiple": false,
9305
9304
  "type": "option"
@@ -9307,7 +9306,7 @@
9307
9306
  },
9308
9307
  "hasDynamicHelp": false,
9309
9308
  "hiddenAliases": [],
9310
- "id": "templates:export",
9309
+ "id": "tickets:create",
9311
9310
  "pluginAlias": "@instantkom/cli",
9312
9311
  "pluginName": "@instantkom/cli",
9313
9312
  "pluginType": "core",
@@ -9317,20 +9316,20 @@
9317
9316
  "relativePath": [
9318
9317
  "dist",
9319
9318
  "commands",
9320
- "templates",
9321
- "export.js"
9319
+ "tickets",
9320
+ "create.js"
9322
9321
  ]
9323
9322
  },
9324
- "templates:get": {
9323
+ "tickets:delete": {
9325
9324
  "aliases": [],
9326
9325
  "args": {
9327
9326
  "id": {
9328
- "description": "Template ID",
9327
+ "description": "Ticket ID",
9329
9328
  "name": "id",
9330
9329
  "required": true
9331
9330
  }
9332
9331
  },
9333
- "description": "Get a message template by ID",
9332
+ "description": "Delete a ticket",
9334
9333
  "flags": {
9335
9334
  "api-key": {
9336
9335
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9393,11 +9392,19 @@
9393
9392
  "hasDynamicHelp": false,
9394
9393
  "multiple": false,
9395
9394
  "type": "option"
9395
+ },
9396
+ "channel": {
9397
+ "description": "Channel ID",
9398
+ "name": "channel",
9399
+ "required": true,
9400
+ "hasDynamicHelp": false,
9401
+ "multiple": false,
9402
+ "type": "option"
9396
9403
  }
9397
9404
  },
9398
9405
  "hasDynamicHelp": false,
9399
9406
  "hiddenAliases": [],
9400
- "id": "templates:get",
9407
+ "id": "tickets:delete",
9401
9408
  "pluginAlias": "@instantkom/cli",
9402
9409
  "pluginName": "@instantkom/cli",
9403
9410
  "pluginType": "core",
@@ -9407,14 +9414,20 @@
9407
9414
  "relativePath": [
9408
9415
  "dist",
9409
9416
  "commands",
9410
- "templates",
9411
- "get.js"
9417
+ "tickets",
9418
+ "delete.js"
9412
9419
  ]
9413
9420
  },
9414
- "templates:import": {
9421
+ "tickets:get": {
9415
9422
  "aliases": [],
9416
- "args": {},
9417
- "description": "Import templates from JSON",
9423
+ "args": {
9424
+ "id": {
9425
+ "description": "Ticket ID",
9426
+ "name": "id",
9427
+ "required": true
9428
+ }
9429
+ },
9430
+ "description": "Get a ticket by ID",
9418
9431
  "flags": {
9419
9432
  "api-key": {
9420
9433
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9478,32 +9491,18 @@
9478
9491
  "multiple": false,
9479
9492
  "type": "option"
9480
9493
  },
9481
- "file": {
9482
- "description": "JSON file path",
9483
- "name": "file",
9484
- "required": true,
9485
- "hasDynamicHelp": false,
9486
- "multiple": false,
9487
- "type": "option"
9488
- },
9489
9494
  "channel": {
9490
- "description": "Target channel ID",
9495
+ "description": "Channel ID",
9491
9496
  "name": "channel",
9492
9497
  "required": true,
9493
9498
  "hasDynamicHelp": false,
9494
9499
  "multiple": false,
9495
9500
  "type": "option"
9496
- },
9497
- "skip-duplicates": {
9498
- "description": "Skip duplicate templates",
9499
- "name": "skip-duplicates",
9500
- "allowNo": true,
9501
- "type": "boolean"
9502
9501
  }
9503
9502
  },
9504
9503
  "hasDynamicHelp": false,
9505
9504
  "hiddenAliases": [],
9506
- "id": "templates:import",
9505
+ "id": "tickets:get",
9507
9506
  "pluginAlias": "@instantkom/cli",
9508
9507
  "pluginName": "@instantkom/cli",
9509
9508
  "pluginType": "core",
@@ -9513,14 +9512,14 @@
9513
9512
  "relativePath": [
9514
9513
  "dist",
9515
9514
  "commands",
9516
- "templates",
9517
- "import.js"
9515
+ "tickets",
9516
+ "get.js"
9518
9517
  ]
9519
9518
  },
9520
- "templates:list": {
9519
+ "tickets:list": {
9521
9520
  "aliases": [],
9522
9521
  "args": {},
9523
- "description": "List message templates",
9522
+ "description": "List tickets for a channel",
9524
9523
  "flags": {
9525
9524
  "api-key": {
9526
9525
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9585,31 +9584,25 @@
9585
9584
  "type": "option"
9586
9585
  },
9587
9586
  "channel": {
9588
- "description": "Filter by channel ID",
9587
+ "description": "Channel ID",
9589
9588
  "name": "channel",
9589
+ "required": true,
9590
9590
  "hasDynamicHelp": false,
9591
9591
  "multiple": false,
9592
9592
  "type": "option"
9593
9593
  },
9594
- "search": {
9595
- "description": "Search templates by name or content",
9596
- "name": "search",
9597
- "hasDynamicHelp": false,
9598
- "multiple": false,
9599
- "type": "option"
9600
- },
9601
- "page": {
9602
- "description": "Page number",
9603
- "name": "page",
9604
- "default": 1,
9594
+ "limit": {
9595
+ "description": "Maximum tickets to return",
9596
+ "name": "limit",
9597
+ "default": 500,
9605
9598
  "hasDynamicHelp": false,
9606
9599
  "multiple": false,
9607
9600
  "type": "option"
9608
9601
  },
9609
- "limit": {
9610
- "description": "Items per page",
9611
- "name": "limit",
9612
- "default": 20,
9602
+ "offset": {
9603
+ "description": "Number of tickets to skip",
9604
+ "name": "offset",
9605
+ "default": 0,
9613
9606
  "hasDynamicHelp": false,
9614
9607
  "multiple": false,
9615
9608
  "type": "option"
@@ -9617,7 +9610,7 @@
9617
9610
  },
9618
9611
  "hasDynamicHelp": false,
9619
9612
  "hiddenAliases": [],
9620
- "id": "templates:list",
9613
+ "id": "tickets:list",
9621
9614
  "pluginAlias": "@instantkom/cli",
9622
9615
  "pluginName": "@instantkom/cli",
9623
9616
  "pluginType": "core",
@@ -9627,20 +9620,20 @@
9627
9620
  "relativePath": [
9628
9621
  "dist",
9629
9622
  "commands",
9630
- "templates",
9623
+ "tickets",
9631
9624
  "list.js"
9632
9625
  ]
9633
9626
  },
9634
- "templates:render": {
9627
+ "tickets:reply": {
9635
9628
  "aliases": [],
9636
9629
  "args": {
9637
9630
  "id": {
9638
- "description": "Template ID",
9631
+ "description": "Ticket ID",
9639
9632
  "name": "id",
9640
9633
  "required": true
9641
9634
  }
9642
9635
  },
9643
- "description": "Render a message template locally",
9636
+ "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.",
9644
9637
  "flags": {
9645
9638
  "api-key": {
9646
9639
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9704,17 +9697,24 @@
9704
9697
  "multiple": false,
9705
9698
  "type": "option"
9706
9699
  },
9707
- "vars": {
9708
- "description": "Template variable as key=value; may be repeated",
9709
- "name": "vars",
9700
+ "message": {
9701
+ "description": "Reply body (raw text, no salutation or sign-off)",
9702
+ "name": "message",
9703
+ "required": true,
9710
9704
  "hasDynamicHelp": false,
9711
- "multiple": true,
9705
+ "multiple": false,
9712
9706
  "type": "option"
9707
+ },
9708
+ "close": {
9709
+ "description": "Close the ticket after sending the reply",
9710
+ "name": "close",
9711
+ "allowNo": false,
9712
+ "type": "boolean"
9713
9713
  }
9714
9714
  },
9715
9715
  "hasDynamicHelp": false,
9716
9716
  "hiddenAliases": [],
9717
- "id": "templates:render",
9717
+ "id": "tickets:reply",
9718
9718
  "pluginAlias": "@instantkom/cli",
9719
9719
  "pluginName": "@instantkom/cli",
9720
9720
  "pluginType": "core",
@@ -9724,20 +9724,20 @@
9724
9724
  "relativePath": [
9725
9725
  "dist",
9726
9726
  "commands",
9727
- "templates",
9728
- "render.js"
9727
+ "tickets",
9728
+ "reply.js"
9729
9729
  ]
9730
9730
  },
9731
- "templates:update": {
9731
+ "tickets:update": {
9732
9732
  "aliases": [],
9733
9733
  "args": {
9734
9734
  "id": {
9735
- "description": "Template ID",
9735
+ "description": "Ticket ID",
9736
9736
  "name": "id",
9737
9737
  "required": true
9738
9738
  }
9739
9739
  },
9740
- "description": "Update a message template",
9740
+ "description": "Update a ticket",
9741
9741
  "flags": {
9742
9742
  "api-key": {
9743
9743
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9801,76 +9801,47 @@
9801
9801
  "multiple": false,
9802
9802
  "type": "option"
9803
9803
  },
9804
- "name": {
9805
- "description": "Template name",
9806
- "name": "name",
9807
- "hasDynamicHelp": false,
9808
- "multiple": false,
9809
- "type": "option"
9810
- },
9811
- "type": {
9812
- "description": "Template type",
9813
- "name": "type",
9804
+ "channel": {
9805
+ "description": "Channel ID",
9806
+ "name": "channel",
9807
+ "required": true,
9814
9808
  "hasDynamicHelp": false,
9815
9809
  "multiple": false,
9816
- "options": [
9817
- "text",
9818
- "image",
9819
- "video",
9820
- "document",
9821
- "audio",
9822
- "location",
9823
- "contact",
9824
- "interactive"
9825
- ],
9826
9810
  "type": "option"
9827
9811
  },
9828
- "message": {
9829
- "description": "Template message",
9830
- "name": "message",
9812
+ "subject": {
9813
+ "description": "Ticket subject",
9814
+ "name": "subject",
9831
9815
  "hasDynamicHelp": false,
9832
9816
  "multiple": false,
9833
9817
  "type": "option"
9834
9818
  },
9835
- "color": {
9836
- "description": "Template color as HEX",
9837
- "name": "color",
9819
+ "priority": {
9820
+ "description": "Ticket priority",
9821
+ "name": "priority",
9838
9822
  "hasDynamicHelp": false,
9839
9823
  "multiple": false,
9840
9824
  "type": "option"
9841
9825
  },
9842
9826
  "status": {
9843
- "description": "Template is active",
9827
+ "description": "Ticket status",
9844
9828
  "name": "status",
9845
- "allowNo": true,
9846
- "type": "boolean"
9847
- },
9848
- "remove-media": {
9849
- "description": "Remove existing media",
9850
- "name": "remove-media",
9851
- "allowNo": false,
9852
- "type": "boolean"
9853
- },
9854
- "whatsapp-language": {
9855
- "description": "WhatsApp template language",
9856
- "name": "whatsapp-language",
9857
9829
  "hasDynamicHelp": false,
9858
9830
  "multiple": false,
9859
9831
  "type": "option"
9860
9832
  },
9861
- "buttons": {
9862
- "description": "Buttons JSON array/object",
9863
- "name": "buttons",
9833
+ "assigned-to": {
9834
+ "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
9835
+ "name": "assigned-to",
9864
9836
  "hasDynamicHelp": false,
9865
9837
  "multiple": false,
9866
9838
  "type": "option"
9867
9839
  },
9868
- "header-footer": {
9869
- "description": "Header/footer JSON object",
9870
- "name": "header-footer",
9871
- "hasDynamicHelp": false,
9872
- "multiple": false,
9873
- "type": "option"
9840
+ "notify": {
9841
+ "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.",
9842
+ "name": "notify",
9843
+ "allowNo": true,
9844
+ "type": "boolean"
9874
9845
  },
9875
9846
  "data": {
9876
9847
  "description": "Additional JSON object payload",
@@ -9882,7 +9853,7 @@
9882
9853
  },
9883
9854
  "hasDynamicHelp": false,
9884
9855
  "hiddenAliases": [],
9885
- "id": "templates:update",
9856
+ "id": "tickets:update",
9886
9857
  "pluginAlias": "@instantkom/cli",
9887
9858
  "pluginName": "@instantkom/cli",
9888
9859
  "pluginType": "core",
@@ -9892,14 +9863,14 @@
9892
9863
  "relativePath": [
9893
9864
  "dist",
9894
9865
  "commands",
9895
- "templates",
9866
+ "tickets",
9896
9867
  "update.js"
9897
9868
  ]
9898
9869
  },
9899
- "templates:validate-import": {
9870
+ "webhooks:add": {
9900
9871
  "aliases": [],
9901
9872
  "args": {},
9902
- "description": "Validate templates import JSON",
9873
+ "description": "Add a webhook subscription",
9903
9874
  "flags": {
9904
9875
  "api-key": {
9905
9876
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9963,17 +9934,24 @@
9963
9934
  "multiple": false,
9964
9935
  "type": "option"
9965
9936
  },
9966
- "file": {
9967
- "description": "JSON file path",
9968
- "name": "file",
9937
+ "event": {
9938
+ "description": "Webhook event to subscribe to",
9939
+ "name": "event",
9969
9940
  "required": true,
9970
9941
  "hasDynamicHelp": false,
9971
9942
  "multiple": false,
9943
+ "options": [
9944
+ "new_contact",
9945
+ "new_message",
9946
+ "broadcast_sent",
9947
+ "contact_updated",
9948
+ "contact_opted_out"
9949
+ ],
9972
9950
  "type": "option"
9973
9951
  },
9974
- "channel": {
9975
- "description": "Target channel ID",
9976
- "name": "channel",
9952
+ "url": {
9953
+ "description": "HTTPS target URL that receives webhook POSTs",
9954
+ "name": "url",
9977
9955
  "required": true,
9978
9956
  "hasDynamicHelp": false,
9979
9957
  "multiple": false,
@@ -9982,7 +9960,7 @@
9982
9960
  },
9983
9961
  "hasDynamicHelp": false,
9984
9962
  "hiddenAliases": [],
9985
- "id": "templates:validate-import",
9963
+ "id": "webhooks:add",
9986
9964
  "pluginAlias": "@instantkom/cli",
9987
9965
  "pluginName": "@instantkom/cli",
9988
9966
  "pluginType": "core",
@@ -9992,14 +9970,14 @@
9992
9970
  "relativePath": [
9993
9971
  "dist",
9994
9972
  "commands",
9995
- "templates",
9996
- "validate-import.js"
9973
+ "webhooks",
9974
+ "add.js"
9997
9975
  ]
9998
9976
  },
9999
- "team:create": {
9977
+ "webhooks:events": {
10000
9978
  "aliases": [],
10001
9979
  "args": {},
10002
- "description": "Create a team member",
9980
+ "description": "List supported webhook event names",
10003
9981
  "flags": {
10004
9982
  "api-key": {
10005
9983
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10062,78 +10040,11 @@
10062
10040
  "hasDynamicHelp": false,
10063
10041
  "multiple": false,
10064
10042
  "type": "option"
10065
- },
10066
- "email": {
10067
- "description": "Email address",
10068
- "name": "email",
10069
- "required": true,
10070
- "hasDynamicHelp": false,
10071
- "multiple": false,
10072
- "type": "option"
10073
- },
10074
- "first-name": {
10075
- "description": "First name",
10076
- "name": "first-name",
10077
- "required": true,
10078
- "hasDynamicHelp": false,
10079
- "multiple": false,
10080
- "type": "option"
10081
- },
10082
- "last-name": {
10083
- "description": "Last name",
10084
- "name": "last-name",
10085
- "required": true,
10086
- "hasDynamicHelp": false,
10087
- "multiple": false,
10088
- "type": "option"
10089
- },
10090
- "password": {
10091
- "description": "Initial password",
10092
- "name": "password",
10093
- "required": true,
10094
- "hasDynamicHelp": false,
10095
- "multiple": false,
10096
- "type": "option"
10097
- },
10098
- "phone": {
10099
- "description": "Phone number",
10100
- "name": "phone",
10101
- "hasDynamicHelp": false,
10102
- "multiple": false,
10103
- "type": "option"
10104
- },
10105
- "company": {
10106
- "description": "Company name",
10107
- "name": "company",
10108
- "hasDynamicHelp": false,
10109
- "multiple": false,
10110
- "type": "option"
10111
- },
10112
- "color": {
10113
- "description": "Color as HEX",
10114
- "name": "color",
10115
- "hasDynamicHelp": false,
10116
- "multiple": false,
10117
- "type": "option"
10118
- },
10119
- "folder": {
10120
- "description": "Object folder ID",
10121
- "name": "folder",
10122
- "hasDynamicHelp": false,
10123
- "multiple": false,
10124
- "type": "option"
10125
- },
10126
- "data": {
10127
- "description": "Additional JSON object payload",
10128
- "name": "data",
10129
- "hasDynamicHelp": false,
10130
- "multiple": false,
10131
- "type": "option"
10132
10043
  }
10133
10044
  },
10134
10045
  "hasDynamicHelp": false,
10135
10046
  "hiddenAliases": [],
10136
- "id": "team:create",
10047
+ "id": "webhooks:events",
10137
10048
  "pluginAlias": "@instantkom/cli",
10138
10049
  "pluginName": "@instantkom/cli",
10139
10050
  "pluginType": "core",
@@ -10143,20 +10054,14 @@
10143
10054
  "relativePath": [
10144
10055
  "dist",
10145
10056
  "commands",
10146
- "team",
10147
- "create.js"
10057
+ "webhooks",
10058
+ "events.js"
10148
10059
  ]
10149
10060
  },
10150
- "team:delete": {
10061
+ "webhooks:list": {
10151
10062
  "aliases": [],
10152
- "args": {
10153
- "id": {
10154
- "description": "Team member ID",
10155
- "name": "id",
10156
- "required": true
10157
- }
10158
- },
10159
- "description": "Delete a team member",
10063
+ "args": {},
10064
+ "description": "List webhook subscriptions",
10160
10065
  "flags": {
10161
10066
  "api-key": {
10162
10067
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10223,7 +10128,7 @@
10223
10128
  },
10224
10129
  "hasDynamicHelp": false,
10225
10130
  "hiddenAliases": [],
10226
- "id": "team:delete",
10131
+ "id": "webhooks:list",
10227
10132
  "pluginAlias": "@instantkom/cli",
10228
10133
  "pluginName": "@instantkom/cli",
10229
10134
  "pluginType": "core",
@@ -10233,14 +10138,14 @@
10233
10138
  "relativePath": [
10234
10139
  "dist",
10235
10140
  "commands",
10236
- "team",
10237
- "delete.js"
10141
+ "webhooks",
10142
+ "list.js"
10238
10143
  ]
10239
10144
  },
10240
- "team:list": {
10145
+ "webhooks:logs": {
10241
10146
  "aliases": [],
10242
10147
  "args": {},
10243
- "description": "List team members",
10148
+ "description": "Explain webhook log availability",
10244
10149
  "flags": {
10245
10150
  "api-key": {
10246
10151
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10307,7 +10212,7 @@
10307
10212
  },
10308
10213
  "hasDynamicHelp": false,
10309
10214
  "hiddenAliases": [],
10310
- "id": "team:list",
10215
+ "id": "webhooks:logs",
10311
10216
  "pluginAlias": "@instantkom/cli",
10312
10217
  "pluginName": "@instantkom/cli",
10313
10218
  "pluginType": "core",
@@ -10317,14 +10222,20 @@
10317
10222
  "relativePath": [
10318
10223
  "dist",
10319
10224
  "commands",
10320
- "team",
10321
- "list.js"
10225
+ "webhooks",
10226
+ "logs.js"
10322
10227
  ]
10323
10228
  },
10324
- "webhooks:add": {
10229
+ "webhooks:remove": {
10325
10230
  "aliases": [],
10326
- "args": {},
10327
- "description": "Add a webhook subscription",
10231
+ "args": {
10232
+ "id": {
10233
+ "description": "Webhook subscription ID",
10234
+ "name": "id",
10235
+ "required": true
10236
+ }
10237
+ },
10238
+ "description": "Remove a webhook subscription",
10328
10239
  "flags": {
10329
10240
  "api-key": {
10330
10241
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10387,34 +10298,11 @@
10387
10298
  "hasDynamicHelp": false,
10388
10299
  "multiple": false,
10389
10300
  "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
10301
  }
10414
10302
  },
10415
10303
  "hasDynamicHelp": false,
10416
10304
  "hiddenAliases": [],
10417
- "id": "webhooks:add",
10305
+ "id": "webhooks:remove",
10418
10306
  "pluginAlias": "@instantkom/cli",
10419
10307
  "pluginName": "@instantkom/cli",
10420
10308
  "pluginType": "core",
@@ -10425,13 +10313,13 @@
10425
10313
  "dist",
10426
10314
  "commands",
10427
10315
  "webhooks",
10428
- "add.js"
10316
+ "remove.js"
10429
10317
  ]
10430
10318
  },
10431
- "webhooks:events": {
10319
+ "webhooks:test": {
10432
10320
  "aliases": [],
10433
10321
  "args": {},
10434
- "description": "List supported webhook event names",
10322
+ "description": "Send a test webhook payload to a URL",
10435
10323
  "flags": {
10436
10324
  "api-key": {
10437
10325
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10494,11 +10382,34 @@
10494
10382
  "hasDynamicHelp": false,
10495
10383
  "multiple": false,
10496
10384
  "type": "option"
10385
+ },
10386
+ "url": {
10387
+ "description": "Webhook URL to call",
10388
+ "name": "url",
10389
+ "required": true,
10390
+ "hasDynamicHelp": false,
10391
+ "multiple": false,
10392
+ "type": "option"
10393
+ },
10394
+ "event": {
10395
+ "description": "Event name",
10396
+ "name": "event",
10397
+ "default": "cli.test",
10398
+ "hasDynamicHelp": false,
10399
+ "multiple": false,
10400
+ "type": "option"
10401
+ },
10402
+ "payload": {
10403
+ "description": "Payload JSON",
10404
+ "name": "payload",
10405
+ "hasDynamicHelp": false,
10406
+ "multiple": false,
10407
+ "type": "option"
10497
10408
  }
10498
10409
  },
10499
10410
  "hasDynamicHelp": false,
10500
10411
  "hiddenAliases": [],
10501
- "id": "webhooks:events",
10412
+ "id": "webhooks:test",
10502
10413
  "pluginAlias": "@instantkom/cli",
10503
10414
  "pluginName": "@instantkom/cli",
10504
10415
  "pluginType": "core",
@@ -10509,13 +10420,13 @@
10509
10420
  "dist",
10510
10421
  "commands",
10511
10422
  "webhooks",
10512
- "events.js"
10423
+ "test.js"
10513
10424
  ]
10514
10425
  },
10515
- "webhooks:list": {
10426
+ "team:create": {
10516
10427
  "aliases": [],
10517
10428
  "args": {},
10518
- "description": "List webhook subscriptions",
10429
+ "description": "Create a team member",
10519
10430
  "flags": {
10520
10431
  "api-key": {
10521
10432
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10578,11 +10489,78 @@
10578
10489
  "hasDynamicHelp": false,
10579
10490
  "multiple": false,
10580
10491
  "type": "option"
10492
+ },
10493
+ "email": {
10494
+ "description": "Email address",
10495
+ "name": "email",
10496
+ "required": true,
10497
+ "hasDynamicHelp": false,
10498
+ "multiple": false,
10499
+ "type": "option"
10500
+ },
10501
+ "first-name": {
10502
+ "description": "First name",
10503
+ "name": "first-name",
10504
+ "required": true,
10505
+ "hasDynamicHelp": false,
10506
+ "multiple": false,
10507
+ "type": "option"
10508
+ },
10509
+ "last-name": {
10510
+ "description": "Last name",
10511
+ "name": "last-name",
10512
+ "required": true,
10513
+ "hasDynamicHelp": false,
10514
+ "multiple": false,
10515
+ "type": "option"
10516
+ },
10517
+ "password": {
10518
+ "description": "Initial password",
10519
+ "name": "password",
10520
+ "required": true,
10521
+ "hasDynamicHelp": false,
10522
+ "multiple": false,
10523
+ "type": "option"
10524
+ },
10525
+ "phone": {
10526
+ "description": "Phone number",
10527
+ "name": "phone",
10528
+ "hasDynamicHelp": false,
10529
+ "multiple": false,
10530
+ "type": "option"
10531
+ },
10532
+ "company": {
10533
+ "description": "Company name",
10534
+ "name": "company",
10535
+ "hasDynamicHelp": false,
10536
+ "multiple": false,
10537
+ "type": "option"
10538
+ },
10539
+ "color": {
10540
+ "description": "Color as HEX",
10541
+ "name": "color",
10542
+ "hasDynamicHelp": false,
10543
+ "multiple": false,
10544
+ "type": "option"
10545
+ },
10546
+ "folder": {
10547
+ "description": "Object folder ID",
10548
+ "name": "folder",
10549
+ "hasDynamicHelp": false,
10550
+ "multiple": false,
10551
+ "type": "option"
10552
+ },
10553
+ "data": {
10554
+ "description": "Additional JSON object payload",
10555
+ "name": "data",
10556
+ "hasDynamicHelp": false,
10557
+ "multiple": false,
10558
+ "type": "option"
10581
10559
  }
10582
10560
  },
10583
10561
  "hasDynamicHelp": false,
10584
10562
  "hiddenAliases": [],
10585
- "id": "webhooks:list",
10563
+ "id": "team:create",
10586
10564
  "pluginAlias": "@instantkom/cli",
10587
10565
  "pluginName": "@instantkom/cli",
10588
10566
  "pluginType": "core",
@@ -10592,14 +10570,20 @@
10592
10570
  "relativePath": [
10593
10571
  "dist",
10594
10572
  "commands",
10595
- "webhooks",
10596
- "list.js"
10573
+ "team",
10574
+ "create.js"
10597
10575
  ]
10598
10576
  },
10599
- "webhooks:logs": {
10577
+ "team:delete": {
10600
10578
  "aliases": [],
10601
- "args": {},
10602
- "description": "Explain webhook log availability",
10579
+ "args": {
10580
+ "id": {
10581
+ "description": "Team member ID",
10582
+ "name": "id",
10583
+ "required": true
10584
+ }
10585
+ },
10586
+ "description": "Delete a team member",
10603
10587
  "flags": {
10604
10588
  "api-key": {
10605
10589
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10666,7 +10650,7 @@
10666
10650
  },
10667
10651
  "hasDynamicHelp": false,
10668
10652
  "hiddenAliases": [],
10669
- "id": "webhooks:logs",
10653
+ "id": "team:delete",
10670
10654
  "pluginAlias": "@instantkom/cli",
10671
10655
  "pluginName": "@instantkom/cli",
10672
10656
  "pluginType": "core",
@@ -10676,20 +10660,14 @@
10676
10660
  "relativePath": [
10677
10661
  "dist",
10678
10662
  "commands",
10679
- "webhooks",
10680
- "logs.js"
10663
+ "team",
10664
+ "delete.js"
10681
10665
  ]
10682
10666
  },
10683
- "webhooks:remove": {
10667
+ "team:list": {
10684
10668
  "aliases": [],
10685
- "args": {
10686
- "id": {
10687
- "description": "Webhook subscription ID",
10688
- "name": "id",
10689
- "required": true
10690
- }
10691
- },
10692
- "description": "Remove a webhook subscription",
10669
+ "args": {},
10670
+ "description": "List team members",
10693
10671
  "flags": {
10694
10672
  "api-key": {
10695
10673
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10756,7 +10734,7 @@
10756
10734
  },
10757
10735
  "hasDynamicHelp": false,
10758
10736
  "hiddenAliases": [],
10759
- "id": "webhooks:remove",
10737
+ "id": "team:list",
10760
10738
  "pluginAlias": "@instantkom/cli",
10761
10739
  "pluginName": "@instantkom/cli",
10762
10740
  "pluginType": "core",
@@ -10766,14 +10744,14 @@
10766
10744
  "relativePath": [
10767
10745
  "dist",
10768
10746
  "commands",
10769
- "webhooks",
10770
- "remove.js"
10747
+ "team",
10748
+ "list.js"
10771
10749
  ]
10772
10750
  },
10773
- "webhooks:test": {
10751
+ "tags:create": {
10774
10752
  "aliases": [],
10775
10753
  "args": {},
10776
- "description": "Send a test webhook payload to a URL",
10754
+ "description": "Create a tag",
10777
10755
  "flags": {
10778
10756
  "api-key": {
10779
10757
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10837,25 +10815,38 @@
10837
10815
  "multiple": false,
10838
10816
  "type": "option"
10839
10817
  },
10840
- "url": {
10841
- "description": "Webhook URL to call",
10842
- "name": "url",
10818
+ "name": {
10819
+ "description": "Tag name",
10820
+ "name": "name",
10843
10821
  "required": true,
10844
10822
  "hasDynamicHelp": false,
10845
10823
  "multiple": false,
10846
10824
  "type": "option"
10847
10825
  },
10848
- "event": {
10849
- "description": "Event name",
10850
- "name": "event",
10851
- "default": "cli.test",
10826
+ "description": {
10827
+ "description": "Tag description",
10828
+ "name": "description",
10852
10829
  "hasDynamicHelp": false,
10853
10830
  "multiple": false,
10854
10831
  "type": "option"
10855
10832
  },
10856
- "payload": {
10857
- "description": "Payload JSON",
10858
- "name": "payload",
10833
+ "color": {
10834
+ "description": "Tag color as HEX",
10835
+ "name": "color",
10836
+ "hasDynamicHelp": false,
10837
+ "multiple": false,
10838
+ "type": "option"
10839
+ },
10840
+ "folder": {
10841
+ "description": "Object folder ID",
10842
+ "name": "folder",
10843
+ "hasDynamicHelp": false,
10844
+ "multiple": false,
10845
+ "type": "option"
10846
+ },
10847
+ "data": {
10848
+ "description": "Additional JSON object payload",
10849
+ "name": "data",
10859
10850
  "hasDynamicHelp": false,
10860
10851
  "multiple": false,
10861
10852
  "type": "option"
@@ -10863,7 +10854,7 @@
10863
10854
  },
10864
10855
  "hasDynamicHelp": false,
10865
10856
  "hiddenAliases": [],
10866
- "id": "webhooks:test",
10857
+ "id": "tags:create",
10867
10858
  "pluginAlias": "@instantkom/cli",
10868
10859
  "pluginName": "@instantkom/cli",
10869
10860
  "pluginType": "core",
@@ -10873,14 +10864,20 @@
10873
10864
  "relativePath": [
10874
10865
  "dist",
10875
10866
  "commands",
10876
- "webhooks",
10877
- "test.js"
10867
+ "tags",
10868
+ "create.js"
10878
10869
  ]
10879
10870
  },
10880
- "tickets:create": {
10871
+ "tags:delete": {
10881
10872
  "aliases": [],
10882
- "args": {},
10883
- "description": "Create a ticket",
10873
+ "args": {
10874
+ "id": {
10875
+ "description": "tag ID",
10876
+ "name": "id",
10877
+ "required": true
10878
+ }
10879
+ },
10880
+ "description": "Delete tag",
10884
10881
  "flags": {
10885
10882
  "api-key": {
10886
10883
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10943,69 +10940,11 @@
10943
10940
  "hasDynamicHelp": false,
10944
10941
  "multiple": false,
10945
10942
  "type": "option"
10946
- },
10947
- "channel": {
10948
- "description": "Channel ID",
10949
- "name": "channel",
10950
- "required": true,
10951
- "hasDynamicHelp": false,
10952
- "multiple": false,
10953
- "type": "option"
10954
- },
10955
- "subject": {
10956
- "description": "Ticket subject",
10957
- "name": "subject",
10958
- "required": true,
10959
- "hasDynamicHelp": false,
10960
- "multiple": false,
10961
- "type": "option"
10962
- },
10963
- "recipient": {
10964
- "description": "Existing recipient ID",
10965
- "name": "recipient",
10966
- "hasDynamicHelp": false,
10967
- "multiple": false,
10968
- "type": "option"
10969
- },
10970
- "email": {
10971
- "description": "Customer email",
10972
- "name": "email",
10973
- "hasDynamicHelp": false,
10974
- "multiple": false,
10975
- "type": "option"
10976
- },
10977
- "name": {
10978
- "description": "Customer name",
10979
- "name": "name",
10980
- "hasDynamicHelp": false,
10981
- "multiple": false,
10982
- "type": "option"
10983
- },
10984
- "priority": {
10985
- "description": "Ticket priority",
10986
- "name": "priority",
10987
- "hasDynamicHelp": false,
10988
- "multiple": false,
10989
- "type": "option"
10990
- },
10991
- "source": {
10992
- "description": "Ticket source",
10993
- "name": "source",
10994
- "hasDynamicHelp": false,
10995
- "multiple": false,
10996
- "type": "option"
10997
- },
10998
- "data": {
10999
- "description": "Additional JSON object payload",
11000
- "name": "data",
11001
- "hasDynamicHelp": false,
11002
- "multiple": false,
11003
- "type": "option"
11004
10943
  }
11005
10944
  },
11006
10945
  "hasDynamicHelp": false,
11007
10946
  "hiddenAliases": [],
11008
- "id": "tickets:create",
10947
+ "id": "tags:delete",
11009
10948
  "pluginAlias": "@instantkom/cli",
11010
10949
  "pluginName": "@instantkom/cli",
11011
10950
  "pluginType": "core",
@@ -11015,20 +10954,14 @@
11015
10954
  "relativePath": [
11016
10955
  "dist",
11017
10956
  "commands",
11018
- "tickets",
11019
- "create.js"
10957
+ "tags",
10958
+ "delete.js"
11020
10959
  ]
11021
10960
  },
11022
- "tickets:delete": {
10961
+ "tags:export": {
11023
10962
  "aliases": [],
11024
- "args": {
11025
- "id": {
11026
- "description": "Ticket ID",
11027
- "name": "id",
11028
- "required": true
11029
- }
11030
- },
11031
- "description": "Delete a ticket",
10963
+ "args": {},
10964
+ "description": "Export tags to a file",
11032
10965
  "flags": {
11033
10966
  "api-key": {
11034
10967
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11040,17 +10973,14 @@
11040
10973
  "type": "option"
11041
10974
  },
11042
10975
  "format": {
11043
- "description": "Output format: text, json, yaml, or table",
11044
- "helpGroup": "GLOBAL",
10976
+ "description": "Export format",
11045
10977
  "name": "format",
11046
- "default": "text",
10978
+ "default": "csv",
11047
10979
  "hasDynamicHelp": false,
11048
10980
  "multiple": false,
11049
10981
  "options": [
11050
- "text",
11051
- "json",
11052
- "yaml",
11053
- "table"
10982
+ "csv",
10983
+ "json"
11054
10984
  ],
11055
10985
  "type": "option"
11056
10986
  },
@@ -11092,9 +11022,9 @@
11092
11022
  "multiple": false,
11093
11023
  "type": "option"
11094
11024
  },
11095
- "channel": {
11096
- "description": "Channel ID",
11097
- "name": "channel",
11025
+ "file": {
11026
+ "description": "Output file path",
11027
+ "name": "file",
11098
11028
  "required": true,
11099
11029
  "hasDynamicHelp": false,
11100
11030
  "multiple": false,
@@ -11103,7 +11033,7 @@
11103
11033
  },
11104
11034
  "hasDynamicHelp": false,
11105
11035
  "hiddenAliases": [],
11106
- "id": "tickets:delete",
11036
+ "id": "tags:export",
11107
11037
  "pluginAlias": "@instantkom/cli",
11108
11038
  "pluginName": "@instantkom/cli",
11109
11039
  "pluginType": "core",
@@ -11113,20 +11043,20 @@
11113
11043
  "relativePath": [
11114
11044
  "dist",
11115
11045
  "commands",
11116
- "tickets",
11117
- "delete.js"
11046
+ "tags",
11047
+ "export.js"
11118
11048
  ]
11119
11049
  },
11120
- "tickets:get": {
11050
+ "tags:get": {
11121
11051
  "aliases": [],
11122
11052
  "args": {
11123
11053
  "id": {
11124
- "description": "Ticket ID",
11054
+ "description": "tag ID",
11125
11055
  "name": "id",
11126
11056
  "required": true
11127
11057
  }
11128
11058
  },
11129
- "description": "Get a ticket by ID",
11059
+ "description": "Get tag by ID",
11130
11060
  "flags": {
11131
11061
  "api-key": {
11132
11062
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11189,19 +11119,11 @@
11189
11119
  "hasDynamicHelp": false,
11190
11120
  "multiple": false,
11191
11121
  "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
11122
  }
11201
11123
  },
11202
11124
  "hasDynamicHelp": false,
11203
11125
  "hiddenAliases": [],
11204
- "id": "tickets:get",
11126
+ "id": "tags:get",
11205
11127
  "pluginAlias": "@instantkom/cli",
11206
11128
  "pluginName": "@instantkom/cli",
11207
11129
  "pluginType": "core",
@@ -11211,14 +11133,14 @@
11211
11133
  "relativePath": [
11212
11134
  "dist",
11213
11135
  "commands",
11214
- "tickets",
11136
+ "tags",
11215
11137
  "get.js"
11216
11138
  ]
11217
11139
  },
11218
- "tickets:list": {
11140
+ "tags:import": {
11219
11141
  "aliases": [],
11220
11142
  "args": {},
11221
- "description": "List tickets for a channel",
11143
+ "description": "Import tags from JSON",
11222
11144
  "flags": {
11223
11145
  "api-key": {
11224
11146
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11282,34 +11204,24 @@
11282
11204
  "multiple": false,
11283
11205
  "type": "option"
11284
11206
  },
11285
- "channel": {
11286
- "description": "Channel ID",
11287
- "name": "channel",
11207
+ "file": {
11208
+ "description": "JSON file path",
11209
+ "name": "file",
11288
11210
  "required": true,
11289
11211
  "hasDynamicHelp": false,
11290
11212
  "multiple": false,
11291
11213
  "type": "option"
11292
11214
  },
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"
11215
+ "skip-duplicates": {
11216
+ "description": "Skip duplicate tags",
11217
+ "name": "skip-duplicates",
11218
+ "allowNo": true,
11219
+ "type": "boolean"
11308
11220
  }
11309
11221
  },
11310
11222
  "hasDynamicHelp": false,
11311
11223
  "hiddenAliases": [],
11312
- "id": "tickets:list",
11224
+ "id": "tags:import",
11313
11225
  "pluginAlias": "@instantkom/cli",
11314
11226
  "pluginName": "@instantkom/cli",
11315
11227
  "pluginType": "core",
@@ -11319,20 +11231,14 @@
11319
11231
  "relativePath": [
11320
11232
  "dist",
11321
11233
  "commands",
11322
- "tickets",
11323
- "list.js"
11234
+ "tags",
11235
+ "import.js"
11324
11236
  ]
11325
11237
  },
11326
- "tickets:reply": {
11238
+ "tags:list": {
11327
11239
  "aliases": [],
11328
- "args": {
11329
- "id": {
11330
- "description": "Ticket ID",
11331
- "name": "id",
11332
- "required": true
11333
- }
11334
- },
11335
- "description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only; the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
11240
+ "args": {},
11241
+ "description": "List tags",
11336
11242
  "flags": {
11337
11243
  "api-key": {
11338
11244
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11396,24 +11302,40 @@
11396
11302
  "multiple": false,
11397
11303
  "type": "option"
11398
11304
  },
11399
- "message": {
11400
- "description": "Reply body (raw text, no salutation or sign-off)",
11401
- "name": "message",
11402
- "required": true,
11305
+ "page": {
11306
+ "description": "Page number",
11307
+ "name": "page",
11308
+ "default": 1,
11403
11309
  "hasDynamicHelp": false,
11404
11310
  "multiple": false,
11405
11311
  "type": "option"
11406
11312
  },
11407
- "close": {
11408
- "description": "Close the ticket after sending the reply",
11409
- "name": "close",
11410
- "allowNo": false,
11411
- "type": "boolean"
11313
+ "limit": {
11314
+ "description": "Items per page",
11315
+ "name": "limit",
11316
+ "default": 20,
11317
+ "hasDynamicHelp": false,
11318
+ "multiple": false,
11319
+ "type": "option"
11320
+ },
11321
+ "search": {
11322
+ "description": "Search by name",
11323
+ "name": "search",
11324
+ "hasDynamicHelp": false,
11325
+ "multiple": false,
11326
+ "type": "option"
11327
+ },
11328
+ "color": {
11329
+ "description": "Filter by color",
11330
+ "name": "color",
11331
+ "hasDynamicHelp": false,
11332
+ "multiple": false,
11333
+ "type": "option"
11412
11334
  }
11413
11335
  },
11414
11336
  "hasDynamicHelp": false,
11415
11337
  "hiddenAliases": [],
11416
- "id": "tickets:reply",
11338
+ "id": "tags:list",
11417
11339
  "pluginAlias": "@instantkom/cli",
11418
11340
  "pluginName": "@instantkom/cli",
11419
11341
  "pluginType": "core",
@@ -11423,20 +11345,20 @@
11423
11345
  "relativePath": [
11424
11346
  "dist",
11425
11347
  "commands",
11426
- "tickets",
11427
- "reply.js"
11348
+ "tags",
11349
+ "list.js"
11428
11350
  ]
11429
11351
  },
11430
- "tickets:update": {
11352
+ "tags:update": {
11431
11353
  "aliases": [],
11432
11354
  "args": {
11433
11355
  "id": {
11434
- "description": "Ticket ID",
11356
+ "description": "Tag ID",
11435
11357
  "name": "id",
11436
11358
  "required": true
11437
11359
  }
11438
11360
  },
11439
- "description": "Update a ticket",
11361
+ "description": "Update a tag",
11440
11362
  "flags": {
11441
11363
  "api-key": {
11442
11364
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11500,48 +11422,34 @@
11500
11422
  "multiple": false,
11501
11423
  "type": "option"
11502
11424
  },
11503
- "channel": {
11504
- "description": "Channel ID",
11505
- "name": "channel",
11506
- "required": true,
11507
- "hasDynamicHelp": false,
11508
- "multiple": false,
11509
- "type": "option"
11510
- },
11511
- "subject": {
11512
- "description": "Ticket subject",
11513
- "name": "subject",
11425
+ "name": {
11426
+ "description": "Tag name",
11427
+ "name": "name",
11514
11428
  "hasDynamicHelp": false,
11515
11429
  "multiple": false,
11516
11430
  "type": "option"
11517
11431
  },
11518
- "priority": {
11519
- "description": "Ticket priority",
11520
- "name": "priority",
11432
+ "description": {
11433
+ "description": "Tag description",
11434
+ "name": "description",
11521
11435
  "hasDynamicHelp": false,
11522
11436
  "multiple": false,
11523
11437
  "type": "option"
11524
11438
  },
11525
- "status": {
11526
- "description": "Ticket status",
11527
- "name": "status",
11439
+ "color": {
11440
+ "description": "Tag color as HEX",
11441
+ "name": "color",
11528
11442
  "hasDynamicHelp": false,
11529
11443
  "multiple": false,
11530
11444
  "type": "option"
11531
11445
  },
11532
- "assigned-to": {
11533
- "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
11534
- "name": "assigned-to",
11446
+ "folder": {
11447
+ "description": "Object folder ID",
11448
+ "name": "folder",
11535
11449
  "hasDynamicHelp": false,
11536
11450
  "multiple": false,
11537
11451
  "type": "option"
11538
11452
  },
11539
- "notify": {
11540
- "description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
11541
- "name": "notify",
11542
- "allowNo": true,
11543
- "type": "boolean"
11544
- },
11545
11453
  "data": {
11546
11454
  "description": "Additional JSON object payload",
11547
11455
  "name": "data",
@@ -11552,7 +11460,7 @@
11552
11460
  },
11553
11461
  "hasDynamicHelp": false,
11554
11462
  "hiddenAliases": [],
11555
- "id": "tickets:update",
11463
+ "id": "tags:update",
11556
11464
  "pluginAlias": "@instantkom/cli",
11557
11465
  "pluginName": "@instantkom/cli",
11558
11466
  "pluginType": "core",
@@ -11562,14 +11470,14 @@
11562
11470
  "relativePath": [
11563
11471
  "dist",
11564
11472
  "commands",
11565
- "tickets",
11473
+ "tags",
11566
11474
  "update.js"
11567
11475
  ]
11568
11476
  },
11569
- "auth:tokens:create": {
11477
+ "tags:validate-import": {
11570
11478
  "aliases": [],
11571
11479
  "args": {},
11572
- "description": "Create a new scoped API token",
11480
+ "description": "Validate tags import JSON",
11573
11481
  "flags": {
11574
11482
  "api-key": {
11575
11483
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11633,39 +11541,18 @@
11633
11541
  "multiple": false,
11634
11542
  "type": "option"
11635
11543
  },
11636
- "scope": {
11637
- "description": "Token scope",
11638
- "name": "scope",
11544
+ "file": {
11545
+ "description": "JSON file path",
11546
+ "name": "file",
11639
11547
  "required": true,
11640
11548
  "hasDynamicHelp": false,
11641
11549
  "multiple": false,
11642
- "options": [
11643
- "full",
11644
- "send",
11645
- "read",
11646
- "admin"
11647
- ],
11648
- "type": "option"
11649
- },
11650
- "name": {
11651
- "description": "Token name (stored in apis2.nm)",
11652
- "name": "name",
11653
- "required": true,
11654
- "hasDynamicHelp": false,
11655
- "multiple": false,
11656
- "type": "option"
11657
- },
11658
- "expires-in": {
11659
- "description": "Token lifetime in seconds (omit for non-expiring)",
11660
- "name": "expires-in",
11661
- "hasDynamicHelp": false,
11662
- "multiple": false,
11663
11550
  "type": "option"
11664
11551
  }
11665
11552
  },
11666
11553
  "hasDynamicHelp": false,
11667
11554
  "hiddenAliases": [],
11668
- "id": "auth:tokens:create",
11555
+ "id": "tags:validate-import",
11669
11556
  "pluginAlias": "@instantkom/cli",
11670
11557
  "pluginName": "@instantkom/cli",
11671
11558
  "pluginType": "core",
@@ -11675,15 +11562,14 @@
11675
11562
  "relativePath": [
11676
11563
  "dist",
11677
11564
  "commands",
11678
- "auth",
11679
- "tokens",
11680
- "create.js"
11565
+ "tags",
11566
+ "validate-import.js"
11681
11567
  ]
11682
11568
  },
11683
- "auth:tokens:list": {
11569
+ "auth:tokens:create": {
11684
11570
  "aliases": [],
11685
11571
  "args": {},
11686
- "description": "List all API tokens for the current account",
11572
+ "description": "Create a new scoped API token",
11687
11573
  "flags": {
11688
11574
  "api-key": {
11689
11575
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11746,11 +11632,40 @@
11746
11632
  "hasDynamicHelp": false,
11747
11633
  "multiple": false,
11748
11634
  "type": "option"
11635
+ },
11636
+ "scope": {
11637
+ "description": "Token scope",
11638
+ "name": "scope",
11639
+ "required": true,
11640
+ "hasDynamicHelp": false,
11641
+ "multiple": false,
11642
+ "options": [
11643
+ "full",
11644
+ "send",
11645
+ "read",
11646
+ "admin"
11647
+ ],
11648
+ "type": "option"
11649
+ },
11650
+ "name": {
11651
+ "description": "Token name (stored in apis2.nm)",
11652
+ "name": "name",
11653
+ "required": true,
11654
+ "hasDynamicHelp": false,
11655
+ "multiple": false,
11656
+ "type": "option"
11657
+ },
11658
+ "expires-in": {
11659
+ "description": "Token lifetime in seconds (omit for non-expiring)",
11660
+ "name": "expires-in",
11661
+ "hasDynamicHelp": false,
11662
+ "multiple": false,
11663
+ "type": "option"
11749
11664
  }
11750
11665
  },
11751
11666
  "hasDynamicHelp": false,
11752
11667
  "hiddenAliases": [],
11753
- "id": "auth:tokens:list",
11668
+ "id": "auth:tokens:create",
11754
11669
  "pluginAlias": "@instantkom/cli",
11755
11670
  "pluginName": "@instantkom/cli",
11756
11671
  "pluginType": "core",
@@ -11762,19 +11677,13 @@
11762
11677
  "commands",
11763
11678
  "auth",
11764
11679
  "tokens",
11765
- "list.js"
11680
+ "create.js"
11766
11681
  ]
11767
11682
  },
11768
- "auth:tokens:revoke": {
11683
+ "auth:tokens:list": {
11769
11684
  "aliases": [],
11770
- "args": {
11771
- "id": {
11772
- "description": "Token ID to revoke",
11773
- "name": "id",
11774
- "required": true
11775
- }
11776
- },
11777
- "description": "Delete an API token by ID",
11685
+ "args": {},
11686
+ "description": "List all API tokens for the current account",
11778
11687
  "flags": {
11779
11688
  "api-key": {
11780
11689
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11841,7 +11750,7 @@
11841
11750
  },
11842
11751
  "hasDynamicHelp": false,
11843
11752
  "hiddenAliases": [],
11844
- "id": "auth:tokens:revoke",
11753
+ "id": "auth:tokens:list",
11845
11754
  "pluginAlias": "@instantkom/cli",
11846
11755
  "pluginName": "@instantkom/cli",
11847
11756
  "pluginType": "core",
@@ -11853,19 +11762,19 @@
11853
11762
  "commands",
11854
11763
  "auth",
11855
11764
  "tokens",
11856
- "revoke.js"
11765
+ "list.js"
11857
11766
  ]
11858
11767
  },
11859
- "bots:env-vars:bots": {
11768
+ "auth:tokens:revoke": {
11860
11769
  "aliases": [],
11861
11770
  "args": {
11862
11771
  "id": {
11863
- "description": "Environment variable ID",
11772
+ "description": "Token ID to revoke",
11864
11773
  "name": "id",
11865
11774
  "required": true
11866
11775
  }
11867
11776
  },
11868
- "description": "List bots using a bot environment variable",
11777
+ "description": "Delete an API token by ID",
11869
11778
  "flags": {
11870
11779
  "api-key": {
11871
11780
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11932,7 +11841,7 @@
11932
11841
  },
11933
11842
  "hasDynamicHelp": false,
11934
11843
  "hiddenAliases": [],
11935
- "id": "bots:env-vars:bots",
11844
+ "id": "auth:tokens:revoke",
11936
11845
  "pluginAlias": "@instantkom/cli",
11937
11846
  "pluginName": "@instantkom/cli",
11938
11847
  "pluginType": "core",
@@ -11942,15 +11851,21 @@
11942
11851
  "relativePath": [
11943
11852
  "dist",
11944
11853
  "commands",
11945
- "bots",
11946
- "env-vars",
11947
- "bots.js"
11854
+ "auth",
11855
+ "tokens",
11856
+ "revoke.js"
11948
11857
  ]
11949
11858
  },
11950
- "bots:env-vars:create": {
11859
+ "bots:filters:create": {
11951
11860
  "aliases": [],
11952
- "args": {},
11953
- "description": "Create a bot environment variable",
11861
+ "args": {
11862
+ "botId": {
11863
+ "description": "Bot ID",
11864
+ "name": "botId",
11865
+ "required": true
11866
+ }
11867
+ },
11868
+ "description": "Create a bot filter",
11954
11869
  "flags": {
11955
11870
  "api-key": {
11956
11871
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12014,26 +11929,63 @@
12014
11929
  "multiple": false,
12015
11930
  "type": "option"
12016
11931
  },
12017
- "key": {
12018
- "description": "Variable key (max 16 chars, letters, digits, underscore)",
12019
- "name": "key",
11932
+ "name": {
11933
+ "description": "Filter name",
11934
+ "name": "name",
12020
11935
  "required": true,
12021
11936
  "hasDynamicHelp": false,
12022
11937
  "multiple": false,
12023
11938
  "type": "option"
12024
11939
  },
12025
- "description": {
12026
- "description": "Variable description",
12027
- "name": "description",
11940
+ "operator": {
11941
+ "description": "Logical operator",
11942
+ "name": "operator",
11943
+ "default": "and",
12028
11944
  "hasDynamicHelp": false,
12029
11945
  "multiple": false,
12030
11946
  "type": "option"
12031
11947
  },
12032
- "color": {
12033
- "description": "Variable color as HEX",
12034
- "name": "color",
11948
+ "filter-object": {
11949
+ "description": "Filter object type",
11950
+ "name": "filter-object",
11951
+ "default": "msg",
11952
+ "hasDynamicHelp": false,
11953
+ "multiple": false,
11954
+ "type": "option"
11955
+ },
11956
+ "filter-attribute": {
11957
+ "description": "Filter attribute",
11958
+ "name": "filter-attribute",
11959
+ "default": "text",
11960
+ "hasDynamicHelp": false,
11961
+ "multiple": false,
11962
+ "type": "option"
11963
+ },
11964
+ "filter-comparator": {
11965
+ "description": "Filter comparator",
11966
+ "name": "filter-comparator",
11967
+ "default": "contains",
11968
+ "hasDynamicHelp": false,
11969
+ "multiple": false,
11970
+ "type": "option"
11971
+ },
11972
+ "filter-value": {
11973
+ "description": "Filter value",
11974
+ "name": "filter-value",
11975
+ "required": true,
11976
+ "hasDynamicHelp": false,
11977
+ "multiple": false,
11978
+ "type": "option"
11979
+ },
11980
+ "status": {
11981
+ "description": "Status: 0 inactive, 1 active",
11982
+ "name": "status",
12035
11983
  "hasDynamicHelp": false,
12036
11984
  "multiple": false,
11985
+ "options": [
11986
+ "0",
11987
+ "1"
11988
+ ],
12037
11989
  "type": "option"
12038
11990
  },
12039
11991
  "data": {
@@ -12046,7 +11998,7 @@
12046
11998
  },
12047
11999
  "hasDynamicHelp": false,
12048
12000
  "hiddenAliases": [],
12049
- "id": "bots:env-vars:create",
12001
+ "id": "bots:filters:create",
12050
12002
  "pluginAlias": "@instantkom/cli",
12051
12003
  "pluginName": "@instantkom/cli",
12052
12004
  "pluginType": "core",
@@ -12057,20 +12009,25 @@
12057
12009
  "dist",
12058
12010
  "commands",
12059
12011
  "bots",
12060
- "env-vars",
12012
+ "filters",
12061
12013
  "create.js"
12062
12014
  ]
12063
12015
  },
12064
- "bots:env-vars:delete": {
12016
+ "bots:filters:delete": {
12065
12017
  "aliases": [],
12066
12018
  "args": {
12067
- "id": {
12068
- "description": "Environment variable ID",
12069
- "name": "id",
12019
+ "botId": {
12020
+ "description": "Bot ID",
12021
+ "name": "botId",
12022
+ "required": true
12023
+ },
12024
+ "filterId": {
12025
+ "description": "Filter ID",
12026
+ "name": "filterId",
12070
12027
  "required": true
12071
12028
  }
12072
12029
  },
12073
- "description": "Delete a bot environment variable",
12030
+ "description": "Delete a bot filter",
12074
12031
  "flags": {
12075
12032
  "api-key": {
12076
12033
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12137,7 +12094,7 @@
12137
12094
  },
12138
12095
  "hasDynamicHelp": false,
12139
12096
  "hiddenAliases": [],
12140
- "id": "bots:env-vars:delete",
12097
+ "id": "bots:filters:delete",
12141
12098
  "pluginAlias": "@instantkom/cli",
12142
12099
  "pluginName": "@instantkom/cli",
12143
12100
  "pluginType": "core",
@@ -12148,20 +12105,25 @@
12148
12105
  "dist",
12149
12106
  "commands",
12150
12107
  "bots",
12151
- "env-vars",
12108
+ "filters",
12152
12109
  "delete.js"
12153
12110
  ]
12154
12111
  },
12155
- "bots:env-vars:get": {
12112
+ "bots:filters:get": {
12156
12113
  "aliases": [],
12157
12114
  "args": {
12158
- "id": {
12159
- "description": "Environment variable ID",
12160
- "name": "id",
12115
+ "botId": {
12116
+ "description": "Bot ID",
12117
+ "name": "botId",
12118
+ "required": true
12119
+ },
12120
+ "filterId": {
12121
+ "description": "Filter ID",
12122
+ "name": "filterId",
12161
12123
  "required": true
12162
12124
  }
12163
12125
  },
12164
- "description": "Get a bot environment variable",
12126
+ "description": "Get a bot filter",
12165
12127
  "flags": {
12166
12128
  "api-key": {
12167
12129
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12228,7 +12190,7 @@
12228
12190
  },
12229
12191
  "hasDynamicHelp": false,
12230
12192
  "hiddenAliases": [],
12231
- "id": "bots:env-vars:get",
12193
+ "id": "bots:filters:get",
12232
12194
  "pluginAlias": "@instantkom/cli",
12233
12195
  "pluginName": "@instantkom/cli",
12234
12196
  "pluginType": "core",
@@ -12239,14 +12201,20 @@
12239
12201
  "dist",
12240
12202
  "commands",
12241
12203
  "bots",
12242
- "env-vars",
12204
+ "filters",
12243
12205
  "get.js"
12244
12206
  ]
12245
12207
  },
12246
- "bots:env-vars:list": {
12208
+ "bots:filters:list": {
12247
12209
  "aliases": [],
12248
- "args": {},
12249
- "description": "List bot environment variables",
12210
+ "args": {
12211
+ "botId": {
12212
+ "description": "Bot ID",
12213
+ "name": "botId",
12214
+ "required": true
12215
+ }
12216
+ },
12217
+ "description": "List bot filters",
12250
12218
  "flags": {
12251
12219
  "api-key": {
12252
12220
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12326,16 +12294,20 @@
12326
12294
  "multiple": false,
12327
12295
  "type": "option"
12328
12296
  },
12329
- "search": {
12330
- "description": "Search in key or description",
12331
- "name": "search",
12297
+ "status": {
12298
+ "description": "Status filter: 0 inactive, 1 active",
12299
+ "name": "status",
12332
12300
  "hasDynamicHelp": false,
12333
12301
  "multiple": false,
12302
+ "options": [
12303
+ "0",
12304
+ "1"
12305
+ ],
12334
12306
  "type": "option"
12335
12307
  },
12336
- "color": {
12337
- "description": "Filter by color",
12338
- "name": "color",
12308
+ "search": {
12309
+ "description": "Search in name or description",
12310
+ "name": "search",
12339
12311
  "hasDynamicHelp": false,
12340
12312
  "multiple": false,
12341
12313
  "type": "option"
@@ -12343,7 +12315,7 @@
12343
12315
  },
12344
12316
  "hasDynamicHelp": false,
12345
12317
  "hiddenAliases": [],
12346
- "id": "bots:env-vars:list",
12318
+ "id": "bots:filters:list",
12347
12319
  "pluginAlias": "@instantkom/cli",
12348
12320
  "pluginName": "@instantkom/cli",
12349
12321
  "pluginType": "core",
@@ -12354,20 +12326,25 @@
12354
12326
  "dist",
12355
12327
  "commands",
12356
12328
  "bots",
12357
- "env-vars",
12329
+ "filters",
12358
12330
  "list.js"
12359
12331
  ]
12360
12332
  },
12361
- "bots:env-vars:update": {
12333
+ "bots:filters:update": {
12362
12334
  "aliases": [],
12363
12335
  "args": {
12364
- "id": {
12365
- "description": "Environment variable ID",
12366
- "name": "id",
12336
+ "botId": {
12337
+ "description": "Bot ID",
12338
+ "name": "botId",
12339
+ "required": true
12340
+ },
12341
+ "filterId": {
12342
+ "description": "Filter ID",
12343
+ "name": "filterId",
12367
12344
  "required": true
12368
12345
  }
12369
12346
  },
12370
- "description": "Update a bot environment variable",
12347
+ "description": "Update a bot filter",
12371
12348
  "flags": {
12372
12349
  "api-key": {
12373
12350
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12431,18 +12408,57 @@
12431
12408
  "multiple": false,
12432
12409
  "type": "option"
12433
12410
  },
12434
- "description": {
12435
- "description": "Variable description",
12436
- "name": "description",
12411
+ "name": {
12412
+ "description": "Filter name",
12413
+ "name": "name",
12437
12414
  "hasDynamicHelp": false,
12438
12415
  "multiple": false,
12439
12416
  "type": "option"
12440
12417
  },
12441
- "color": {
12442
- "description": "Variable color as HEX",
12443
- "name": "color",
12444
- "hasDynamicHelp": false,
12445
- "multiple": false,
12418
+ "operator": {
12419
+ "description": "Logical operator",
12420
+ "name": "operator",
12421
+ "hasDynamicHelp": false,
12422
+ "multiple": false,
12423
+ "type": "option"
12424
+ },
12425
+ "filter-object": {
12426
+ "description": "Filter object type",
12427
+ "name": "filter-object",
12428
+ "hasDynamicHelp": false,
12429
+ "multiple": false,
12430
+ "type": "option"
12431
+ },
12432
+ "filter-attribute": {
12433
+ "description": "Filter attribute",
12434
+ "name": "filter-attribute",
12435
+ "hasDynamicHelp": false,
12436
+ "multiple": false,
12437
+ "type": "option"
12438
+ },
12439
+ "filter-comparator": {
12440
+ "description": "Filter comparator",
12441
+ "name": "filter-comparator",
12442
+ "hasDynamicHelp": false,
12443
+ "multiple": false,
12444
+ "type": "option"
12445
+ },
12446
+ "filter-value": {
12447
+ "description": "Filter value",
12448
+ "name": "filter-value",
12449
+ "hasDynamicHelp": false,
12450
+ "multiple": false,
12451
+ "type": "option"
12452
+ },
12453
+ "status": {
12454
+ "description": "Status: 0 inactive, 1 active",
12455
+ "name": "status",
12456
+ "hasDynamicHelp": false,
12457
+ "multiple": false,
12458
+ "options": [
12459
+ "0",
12460
+ "1"
12461
+ ],
12446
12462
  "type": "option"
12447
12463
  },
12448
12464
  "data": {
@@ -12455,7 +12471,7 @@
12455
12471
  },
12456
12472
  "hasDynamicHelp": false,
12457
12473
  "hiddenAliases": [],
12458
- "id": "bots:env-vars:update",
12474
+ "id": "bots:filters:update",
12459
12475
  "pluginAlias": "@instantkom/cli",
12460
12476
  "pluginName": "@instantkom/cli",
12461
12477
  "pluginType": "core",
@@ -12466,11 +12482,11 @@
12466
12482
  "dist",
12467
12483
  "commands",
12468
12484
  "bots",
12469
- "env-vars",
12485
+ "filters",
12470
12486
  "update.js"
12471
12487
  ]
12472
12488
  },
12473
- "bots:env-vars:values": {
12489
+ "bots:env-vars:bots": {
12474
12490
  "aliases": [],
12475
12491
  "args": {
12476
12492
  "id": {
@@ -12479,7 +12495,7 @@
12479
12495
  "required": true
12480
12496
  }
12481
12497
  },
12482
- "description": "List recipient values for a bot environment variable",
12498
+ "description": "List bots using a bot environment variable",
12483
12499
  "flags": {
12484
12500
  "api-key": {
12485
12501
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12542,41 +12558,11 @@
12542
12558
  "hasDynamicHelp": false,
12543
12559
  "multiple": false,
12544
12560
  "type": "option"
12545
- },
12546
- "page": {
12547
- "description": "Page number",
12548
- "name": "page",
12549
- "default": 1,
12550
- "hasDynamicHelp": false,
12551
- "multiple": false,
12552
- "type": "option"
12553
- },
12554
- "limit": {
12555
- "description": "Items per page",
12556
- "name": "limit",
12557
- "default": 20,
12558
- "hasDynamicHelp": false,
12559
- "multiple": false,
12560
- "type": "option"
12561
- },
12562
- "search": {
12563
- "description": "Search in recipient name or identifier",
12564
- "name": "search",
12565
- "hasDynamicHelp": false,
12566
- "multiple": false,
12567
- "type": "option"
12568
- },
12569
- "recipient": {
12570
- "description": "Filter by recipient ID",
12571
- "name": "recipient",
12572
- "hasDynamicHelp": false,
12573
- "multiple": false,
12574
- "type": "option"
12575
12561
  }
12576
12562
  },
12577
12563
  "hasDynamicHelp": false,
12578
12564
  "hiddenAliases": [],
12579
- "id": "bots:env-vars:values",
12565
+ "id": "bots:env-vars:bots",
12580
12566
  "pluginAlias": "@instantkom/cli",
12581
12567
  "pluginName": "@instantkom/cli",
12582
12568
  "pluginType": "core",
@@ -12588,19 +12574,13 @@
12588
12574
  "commands",
12589
12575
  "bots",
12590
12576
  "env-vars",
12591
- "values.js"
12577
+ "bots.js"
12592
12578
  ]
12593
12579
  },
12594
- "bots:filters:create": {
12580
+ "bots:env-vars:create": {
12595
12581
  "aliases": [],
12596
- "args": {
12597
- "botId": {
12598
- "description": "Bot ID",
12599
- "name": "botId",
12600
- "required": true
12601
- }
12602
- },
12603
- "description": "Create a bot filter",
12582
+ "args": {},
12583
+ "description": "Create a bot environment variable",
12604
12584
  "flags": {
12605
12585
  "api-key": {
12606
12586
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12664,63 +12644,26 @@
12664
12644
  "multiple": false,
12665
12645
  "type": "option"
12666
12646
  },
12667
- "name": {
12668
- "description": "Filter name",
12669
- "name": "name",
12647
+ "key": {
12648
+ "description": "Variable key (max 16 chars, letters, digits, underscore)",
12649
+ "name": "key",
12670
12650
  "required": true,
12671
12651
  "hasDynamicHelp": false,
12672
12652
  "multiple": false,
12673
12653
  "type": "option"
12674
12654
  },
12675
- "operator": {
12676
- "description": "Logical operator",
12677
- "name": "operator",
12678
- "default": "and",
12679
- "hasDynamicHelp": false,
12680
- "multiple": false,
12681
- "type": "option"
12682
- },
12683
- "filter-object": {
12684
- "description": "Filter object type",
12685
- "name": "filter-object",
12686
- "default": "msg",
12687
- "hasDynamicHelp": false,
12688
- "multiple": false,
12689
- "type": "option"
12690
- },
12691
- "filter-attribute": {
12692
- "description": "Filter attribute",
12693
- "name": "filter-attribute",
12694
- "default": "text",
12695
- "hasDynamicHelp": false,
12696
- "multiple": false,
12697
- "type": "option"
12698
- },
12699
- "filter-comparator": {
12700
- "description": "Filter comparator",
12701
- "name": "filter-comparator",
12702
- "default": "contains",
12703
- "hasDynamicHelp": false,
12704
- "multiple": false,
12705
- "type": "option"
12706
- },
12707
- "filter-value": {
12708
- "description": "Filter value",
12709
- "name": "filter-value",
12710
- "required": true,
12655
+ "description": {
12656
+ "description": "Variable description",
12657
+ "name": "description",
12711
12658
  "hasDynamicHelp": false,
12712
12659
  "multiple": false,
12713
12660
  "type": "option"
12714
12661
  },
12715
- "status": {
12716
- "description": "Status: 0 inactive, 1 active",
12717
- "name": "status",
12662
+ "color": {
12663
+ "description": "Variable color as HEX",
12664
+ "name": "color",
12718
12665
  "hasDynamicHelp": false,
12719
12666
  "multiple": false,
12720
- "options": [
12721
- "0",
12722
- "1"
12723
- ],
12724
12667
  "type": "option"
12725
12668
  },
12726
12669
  "data": {
@@ -12733,7 +12676,7 @@
12733
12676
  },
12734
12677
  "hasDynamicHelp": false,
12735
12678
  "hiddenAliases": [],
12736
- "id": "bots:filters:create",
12679
+ "id": "bots:env-vars:create",
12737
12680
  "pluginAlias": "@instantkom/cli",
12738
12681
  "pluginName": "@instantkom/cli",
12739
12682
  "pluginType": "core",
@@ -12744,25 +12687,20 @@
12744
12687
  "dist",
12745
12688
  "commands",
12746
12689
  "bots",
12747
- "filters",
12690
+ "env-vars",
12748
12691
  "create.js"
12749
12692
  ]
12750
12693
  },
12751
- "bots:filters:delete": {
12694
+ "bots:env-vars:delete": {
12752
12695
  "aliases": [],
12753
12696
  "args": {
12754
- "botId": {
12755
- "description": "Bot ID",
12756
- "name": "botId",
12757
- "required": true
12758
- },
12759
- "filterId": {
12760
- "description": "Filter ID",
12761
- "name": "filterId",
12697
+ "id": {
12698
+ "description": "Environment variable ID",
12699
+ "name": "id",
12762
12700
  "required": true
12763
12701
  }
12764
12702
  },
12765
- "description": "Delete a bot filter",
12703
+ "description": "Delete a bot environment variable",
12766
12704
  "flags": {
12767
12705
  "api-key": {
12768
12706
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12829,7 +12767,7 @@
12829
12767
  },
12830
12768
  "hasDynamicHelp": false,
12831
12769
  "hiddenAliases": [],
12832
- "id": "bots:filters:delete",
12770
+ "id": "bots:env-vars:delete",
12833
12771
  "pluginAlias": "@instantkom/cli",
12834
12772
  "pluginName": "@instantkom/cli",
12835
12773
  "pluginType": "core",
@@ -12840,25 +12778,20 @@
12840
12778
  "dist",
12841
12779
  "commands",
12842
12780
  "bots",
12843
- "filters",
12781
+ "env-vars",
12844
12782
  "delete.js"
12845
12783
  ]
12846
12784
  },
12847
- "bots:filters:get": {
12785
+ "bots:env-vars:get": {
12848
12786
  "aliases": [],
12849
12787
  "args": {
12850
- "botId": {
12851
- "description": "Bot ID",
12852
- "name": "botId",
12853
- "required": true
12854
- },
12855
- "filterId": {
12856
- "description": "Filter ID",
12857
- "name": "filterId",
12788
+ "id": {
12789
+ "description": "Environment variable ID",
12790
+ "name": "id",
12858
12791
  "required": true
12859
12792
  }
12860
12793
  },
12861
- "description": "Get a bot filter",
12794
+ "description": "Get a bot environment variable",
12862
12795
  "flags": {
12863
12796
  "api-key": {
12864
12797
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12925,7 +12858,7 @@
12925
12858
  },
12926
12859
  "hasDynamicHelp": false,
12927
12860
  "hiddenAliases": [],
12928
- "id": "bots:filters:get",
12861
+ "id": "bots:env-vars:get",
12929
12862
  "pluginAlias": "@instantkom/cli",
12930
12863
  "pluginName": "@instantkom/cli",
12931
12864
  "pluginType": "core",
@@ -12936,20 +12869,14 @@
12936
12869
  "dist",
12937
12870
  "commands",
12938
12871
  "bots",
12939
- "filters",
12872
+ "env-vars",
12940
12873
  "get.js"
12941
12874
  ]
12942
12875
  },
12943
- "bots:filters:list": {
12876
+ "bots:env-vars:list": {
12944
12877
  "aliases": [],
12945
- "args": {
12946
- "botId": {
12947
- "description": "Bot ID",
12948
- "name": "botId",
12949
- "required": true
12950
- }
12951
- },
12952
- "description": "List bot filters",
12878
+ "args": {},
12879
+ "description": "List bot environment variables",
12953
12880
  "flags": {
12954
12881
  "api-key": {
12955
12882
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13029,20 +12956,16 @@
13029
12956
  "multiple": false,
13030
12957
  "type": "option"
13031
12958
  },
13032
- "status": {
13033
- "description": "Status filter: 0 inactive, 1 active",
13034
- "name": "status",
12959
+ "search": {
12960
+ "description": "Search in key or description",
12961
+ "name": "search",
13035
12962
  "hasDynamicHelp": false,
13036
12963
  "multiple": false,
13037
- "options": [
13038
- "0",
13039
- "1"
13040
- ],
13041
12964
  "type": "option"
13042
12965
  },
13043
- "search": {
13044
- "description": "Search in name or description",
13045
- "name": "search",
12966
+ "color": {
12967
+ "description": "Filter by color",
12968
+ "name": "color",
13046
12969
  "hasDynamicHelp": false,
13047
12970
  "multiple": false,
13048
12971
  "type": "option"
@@ -13050,7 +12973,7 @@
13050
12973
  },
13051
12974
  "hasDynamicHelp": false,
13052
12975
  "hiddenAliases": [],
13053
- "id": "bots:filters:list",
12976
+ "id": "bots:env-vars:list",
13054
12977
  "pluginAlias": "@instantkom/cli",
13055
12978
  "pluginName": "@instantkom/cli",
13056
12979
  "pluginType": "core",
@@ -13061,25 +12984,132 @@
13061
12984
  "dist",
13062
12985
  "commands",
13063
12986
  "bots",
13064
- "filters",
12987
+ "env-vars",
13065
12988
  "list.js"
13066
12989
  ]
13067
12990
  },
13068
- "bots:filters:update": {
12991
+ "bots:env-vars:update": {
13069
12992
  "aliases": [],
13070
12993
  "args": {
13071
- "botId": {
13072
- "description": "Bot ID",
13073
- "name": "botId",
12994
+ "id": {
12995
+ "description": "Environment variable ID",
12996
+ "name": "id",
13074
12997
  "required": true
12998
+ }
12999
+ },
13000
+ "description": "Update a bot environment variable",
13001
+ "flags": {
13002
+ "api-key": {
13003
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
13004
+ "env": "IKM_API_KEY",
13005
+ "helpGroup": "GLOBAL",
13006
+ "name": "api-key",
13007
+ "hasDynamicHelp": false,
13008
+ "multiple": false,
13009
+ "type": "option"
13075
13010
  },
13076
- "filterId": {
13077
- "description": "Filter ID",
13078
- "name": "filterId",
13011
+ "format": {
13012
+ "description": "Output format: text, json, yaml, or table",
13013
+ "helpGroup": "GLOBAL",
13014
+ "name": "format",
13015
+ "default": "text",
13016
+ "hasDynamicHelp": false,
13017
+ "multiple": false,
13018
+ "options": [
13019
+ "text",
13020
+ "json",
13021
+ "yaml",
13022
+ "table"
13023
+ ],
13024
+ "type": "option"
13025
+ },
13026
+ "json": {
13027
+ "description": "Output in JSON format (alias for --format=json)",
13028
+ "helpGroup": "GLOBAL",
13029
+ "name": "json",
13030
+ "allowNo": false,
13031
+ "type": "boolean"
13032
+ },
13033
+ "quiet": {
13034
+ "description": "Suppress all output except errors",
13035
+ "helpGroup": "GLOBAL",
13036
+ "name": "quiet",
13037
+ "allowNo": false,
13038
+ "type": "boolean"
13039
+ },
13040
+ "no-color": {
13041
+ "description": "Disable color output",
13042
+ "helpGroup": "GLOBAL",
13043
+ "name": "no-color",
13044
+ "allowNo": false,
13045
+ "type": "boolean"
13046
+ },
13047
+ "profile": {
13048
+ "description": "Named configuration profile to use",
13049
+ "helpGroup": "GLOBAL",
13050
+ "name": "profile",
13051
+ "default": "default",
13052
+ "hasDynamicHelp": false,
13053
+ "multiple": false,
13054
+ "type": "option"
13055
+ },
13056
+ "api-url": {
13057
+ "description": "Override the API base URL (e.g. for staging)",
13058
+ "helpGroup": "GLOBAL",
13059
+ "name": "api-url",
13060
+ "hasDynamicHelp": false,
13061
+ "multiple": false,
13062
+ "type": "option"
13063
+ },
13064
+ "description": {
13065
+ "description": "Variable description",
13066
+ "name": "description",
13067
+ "hasDynamicHelp": false,
13068
+ "multiple": false,
13069
+ "type": "option"
13070
+ },
13071
+ "color": {
13072
+ "description": "Variable color as HEX",
13073
+ "name": "color",
13074
+ "hasDynamicHelp": false,
13075
+ "multiple": false,
13076
+ "type": "option"
13077
+ },
13078
+ "data": {
13079
+ "description": "Additional JSON object payload",
13080
+ "name": "data",
13081
+ "hasDynamicHelp": false,
13082
+ "multiple": false,
13083
+ "type": "option"
13084
+ }
13085
+ },
13086
+ "hasDynamicHelp": false,
13087
+ "hiddenAliases": [],
13088
+ "id": "bots:env-vars:update",
13089
+ "pluginAlias": "@instantkom/cli",
13090
+ "pluginName": "@instantkom/cli",
13091
+ "pluginType": "core",
13092
+ "strict": true,
13093
+ "enableJsonFlag": false,
13094
+ "isESM": true,
13095
+ "relativePath": [
13096
+ "dist",
13097
+ "commands",
13098
+ "bots",
13099
+ "env-vars",
13100
+ "update.js"
13101
+ ]
13102
+ },
13103
+ "bots:env-vars:values": {
13104
+ "aliases": [],
13105
+ "args": {
13106
+ "id": {
13107
+ "description": "Environment variable ID",
13108
+ "name": "id",
13079
13109
  "required": true
13080
13110
  }
13081
13111
  },
13082
- "description": "Update a bot filter",
13112
+ "description": "List recipient values for a bot environment variable",
13083
13113
  "flags": {
13084
13114
  "api-key": {
13085
13115
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13143,62 +13173,32 @@
13143
13173
  "multiple": false,
13144
13174
  "type": "option"
13145
13175
  },
13146
- "name": {
13147
- "description": "Filter name",
13148
- "name": "name",
13149
- "hasDynamicHelp": false,
13150
- "multiple": false,
13151
- "type": "option"
13152
- },
13153
- "operator": {
13154
- "description": "Logical operator",
13155
- "name": "operator",
13156
- "hasDynamicHelp": false,
13157
- "multiple": false,
13158
- "type": "option"
13159
- },
13160
- "filter-object": {
13161
- "description": "Filter object type",
13162
- "name": "filter-object",
13163
- "hasDynamicHelp": false,
13164
- "multiple": false,
13165
- "type": "option"
13166
- },
13167
- "filter-attribute": {
13168
- "description": "Filter attribute",
13169
- "name": "filter-attribute",
13170
- "hasDynamicHelp": false,
13171
- "multiple": false,
13172
- "type": "option"
13173
- },
13174
- "filter-comparator": {
13175
- "description": "Filter comparator",
13176
- "name": "filter-comparator",
13176
+ "page": {
13177
+ "description": "Page number",
13178
+ "name": "page",
13179
+ "default": 1,
13177
13180
  "hasDynamicHelp": false,
13178
13181
  "multiple": false,
13179
13182
  "type": "option"
13180
13183
  },
13181
- "filter-value": {
13182
- "description": "Filter value",
13183
- "name": "filter-value",
13184
+ "limit": {
13185
+ "description": "Items per page",
13186
+ "name": "limit",
13187
+ "default": 20,
13184
13188
  "hasDynamicHelp": false,
13185
13189
  "multiple": false,
13186
13190
  "type": "option"
13187
13191
  },
13188
- "status": {
13189
- "description": "Status: 0 inactive, 1 active",
13190
- "name": "status",
13192
+ "search": {
13193
+ "description": "Search in recipient name or identifier",
13194
+ "name": "search",
13191
13195
  "hasDynamicHelp": false,
13192
13196
  "multiple": false,
13193
- "options": [
13194
- "0",
13195
- "1"
13196
- ],
13197
13197
  "type": "option"
13198
13198
  },
13199
- "data": {
13200
- "description": "Additional JSON object payload",
13201
- "name": "data",
13199
+ "recipient": {
13200
+ "description": "Filter by recipient ID",
13201
+ "name": "recipient",
13202
13202
  "hasDynamicHelp": false,
13203
13203
  "multiple": false,
13204
13204
  "type": "option"
@@ -13206,7 +13206,7 @@
13206
13206
  },
13207
13207
  "hasDynamicHelp": false,
13208
13208
  "hiddenAliases": [],
13209
- "id": "bots:filters:update",
13209
+ "id": "bots:env-vars:values",
13210
13210
  "pluginAlias": "@instantkom/cli",
13211
13211
  "pluginName": "@instantkom/cli",
13212
13212
  "pluginType": "core",
@@ -13217,8 +13217,8 @@
13217
13217
  "dist",
13218
13218
  "commands",
13219
13219
  "bots",
13220
- "filters",
13221
- "update.js"
13220
+ "env-vars",
13221
+ "values.js"
13222
13222
  ]
13223
13223
  },
13224
13224
  "bots:tags:add": {
@@ -15261,7 +15261,194 @@
15261
15261
  },
15262
15262
  "hasDynamicHelp": false,
15263
15263
  "hiddenAliases": [],
15264
- "id": "flow:nodes:update",
15264
+ "id": "flow:nodes:update",
15265
+ "pluginAlias": "@instantkom/cli",
15266
+ "pluginName": "@instantkom/cli",
15267
+ "pluginType": "core",
15268
+ "strict": true,
15269
+ "enableJsonFlag": false,
15270
+ "isESM": true,
15271
+ "relativePath": [
15272
+ "dist",
15273
+ "commands",
15274
+ "flow",
15275
+ "nodes",
15276
+ "update.js"
15277
+ ]
15278
+ },
15279
+ "segments:tags:add": {
15280
+ "aliases": [],
15281
+ "args": {
15282
+ "segmentId": {
15283
+ "description": "Segment ID",
15284
+ "name": "segmentId",
15285
+ "required": true
15286
+ },
15287
+ "tagId": {
15288
+ "description": "Tag ID",
15289
+ "name": "tagId",
15290
+ "required": true
15291
+ }
15292
+ },
15293
+ "description": "Assign a tag to a segment",
15294
+ "flags": {
15295
+ "api-key": {
15296
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
15297
+ "env": "IKM_API_KEY",
15298
+ "helpGroup": "GLOBAL",
15299
+ "name": "api-key",
15300
+ "hasDynamicHelp": false,
15301
+ "multiple": false,
15302
+ "type": "option"
15303
+ },
15304
+ "format": {
15305
+ "description": "Output format: text, json, yaml, or table",
15306
+ "helpGroup": "GLOBAL",
15307
+ "name": "format",
15308
+ "default": "text",
15309
+ "hasDynamicHelp": false,
15310
+ "multiple": false,
15311
+ "options": [
15312
+ "text",
15313
+ "json",
15314
+ "yaml",
15315
+ "table"
15316
+ ],
15317
+ "type": "option"
15318
+ },
15319
+ "json": {
15320
+ "description": "Output in JSON format (alias for --format=json)",
15321
+ "helpGroup": "GLOBAL",
15322
+ "name": "json",
15323
+ "allowNo": false,
15324
+ "type": "boolean"
15325
+ },
15326
+ "quiet": {
15327
+ "description": "Suppress all output except errors",
15328
+ "helpGroup": "GLOBAL",
15329
+ "name": "quiet",
15330
+ "allowNo": false,
15331
+ "type": "boolean"
15332
+ },
15333
+ "no-color": {
15334
+ "description": "Disable color output",
15335
+ "helpGroup": "GLOBAL",
15336
+ "name": "no-color",
15337
+ "allowNo": false,
15338
+ "type": "boolean"
15339
+ },
15340
+ "profile": {
15341
+ "description": "Named configuration profile to use",
15342
+ "helpGroup": "GLOBAL",
15343
+ "name": "profile",
15344
+ "default": "default",
15345
+ "hasDynamicHelp": false,
15346
+ "multiple": false,
15347
+ "type": "option"
15348
+ },
15349
+ "api-url": {
15350
+ "description": "Override the API base URL (e.g. for staging)",
15351
+ "helpGroup": "GLOBAL",
15352
+ "name": "api-url",
15353
+ "hasDynamicHelp": false,
15354
+ "multiple": false,
15355
+ "type": "option"
15356
+ }
15357
+ },
15358
+ "hasDynamicHelp": false,
15359
+ "hiddenAliases": [],
15360
+ "id": "segments:tags:add",
15361
+ "pluginAlias": "@instantkom/cli",
15362
+ "pluginName": "@instantkom/cli",
15363
+ "pluginType": "core",
15364
+ "strict": true,
15365
+ "enableJsonFlag": false,
15366
+ "isESM": true,
15367
+ "relativePath": [
15368
+ "dist",
15369
+ "commands",
15370
+ "segments",
15371
+ "tags",
15372
+ "add.js"
15373
+ ]
15374
+ },
15375
+ "segments:tags:list": {
15376
+ "aliases": [],
15377
+ "args": {
15378
+ "segmentId": {
15379
+ "description": "Segment ID",
15380
+ "name": "segmentId",
15381
+ "required": true
15382
+ }
15383
+ },
15384
+ "description": "List tags assigned to a segment",
15385
+ "flags": {
15386
+ "api-key": {
15387
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
15388
+ "env": "IKM_API_KEY",
15389
+ "helpGroup": "GLOBAL",
15390
+ "name": "api-key",
15391
+ "hasDynamicHelp": false,
15392
+ "multiple": false,
15393
+ "type": "option"
15394
+ },
15395
+ "format": {
15396
+ "description": "Output format: text, json, yaml, or table",
15397
+ "helpGroup": "GLOBAL",
15398
+ "name": "format",
15399
+ "default": "text",
15400
+ "hasDynamicHelp": false,
15401
+ "multiple": false,
15402
+ "options": [
15403
+ "text",
15404
+ "json",
15405
+ "yaml",
15406
+ "table"
15407
+ ],
15408
+ "type": "option"
15409
+ },
15410
+ "json": {
15411
+ "description": "Output in JSON format (alias for --format=json)",
15412
+ "helpGroup": "GLOBAL",
15413
+ "name": "json",
15414
+ "allowNo": false,
15415
+ "type": "boolean"
15416
+ },
15417
+ "quiet": {
15418
+ "description": "Suppress all output except errors",
15419
+ "helpGroup": "GLOBAL",
15420
+ "name": "quiet",
15421
+ "allowNo": false,
15422
+ "type": "boolean"
15423
+ },
15424
+ "no-color": {
15425
+ "description": "Disable color output",
15426
+ "helpGroup": "GLOBAL",
15427
+ "name": "no-color",
15428
+ "allowNo": false,
15429
+ "type": "boolean"
15430
+ },
15431
+ "profile": {
15432
+ "description": "Named configuration profile to use",
15433
+ "helpGroup": "GLOBAL",
15434
+ "name": "profile",
15435
+ "default": "default",
15436
+ "hasDynamicHelp": false,
15437
+ "multiple": false,
15438
+ "type": "option"
15439
+ },
15440
+ "api-url": {
15441
+ "description": "Override the API base URL (e.g. for staging)",
15442
+ "helpGroup": "GLOBAL",
15443
+ "name": "api-url",
15444
+ "hasDynamicHelp": false,
15445
+ "multiple": false,
15446
+ "type": "option"
15447
+ }
15448
+ },
15449
+ "hasDynamicHelp": false,
15450
+ "hiddenAliases": [],
15451
+ "id": "segments:tags:list",
15265
15452
  "pluginAlias": "@instantkom/cli",
15266
15453
  "pluginName": "@instantkom/cli",
15267
15454
  "pluginType": "core",
@@ -15271,12 +15458,12 @@
15271
15458
  "relativePath": [
15272
15459
  "dist",
15273
15460
  "commands",
15274
- "flow",
15275
- "nodes",
15276
- "update.js"
15461
+ "segments",
15462
+ "tags",
15463
+ "list.js"
15277
15464
  ]
15278
15465
  },
15279
- "segments:tags:add": {
15466
+ "segments:tags:remove": {
15280
15467
  "aliases": [],
15281
15468
  "args": {
15282
15469
  "segmentId": {
@@ -15290,7 +15477,7 @@
15290
15477
  "required": true
15291
15478
  }
15292
15479
  },
15293
- "description": "Assign a tag to a segment",
15480
+ "description": "Remove a tag from a segment",
15294
15481
  "flags": {
15295
15482
  "api-key": {
15296
15483
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15357,7 +15544,7 @@
15357
15544
  },
15358
15545
  "hasDynamicHelp": false,
15359
15546
  "hiddenAliases": [],
15360
- "id": "segments:tags:add",
15547
+ "id": "segments:tags:remove",
15361
15548
  "pluginAlias": "@instantkom/cli",
15362
15549
  "pluginName": "@instantkom/cli",
15363
15550
  "pluginType": "core",
@@ -15369,19 +15556,19 @@
15369
15556
  "commands",
15370
15557
  "segments",
15371
15558
  "tags",
15372
- "add.js"
15559
+ "remove.js"
15373
15560
  ]
15374
15561
  },
15375
- "segments:tags:list": {
15562
+ "ticket:messages:create": {
15376
15563
  "aliases": [],
15377
15564
  "args": {
15378
- "segmentId": {
15379
- "description": "Segment ID",
15380
- "name": "segmentId",
15565
+ "ticketId": {
15566
+ "description": "Ticket ID",
15567
+ "name": "ticketId",
15381
15568
  "required": true
15382
15569
  }
15383
15570
  },
15384
- "description": "List tags assigned to a segment",
15571
+ "description": "Create a ticket message",
15385
15572
  "flags": {
15386
15573
  "api-key": {
15387
15574
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15444,11 +15631,26 @@
15444
15631
  "hasDynamicHelp": false,
15445
15632
  "multiple": false,
15446
15633
  "type": "option"
15634
+ },
15635
+ "message": {
15636
+ "description": "Message text",
15637
+ "name": "message",
15638
+ "required": true,
15639
+ "hasDynamicHelp": false,
15640
+ "multiple": false,
15641
+ "type": "option"
15642
+ },
15643
+ "data": {
15644
+ "description": "Additional JSON object payload",
15645
+ "name": "data",
15646
+ "hasDynamicHelp": false,
15647
+ "multiple": false,
15648
+ "type": "option"
15447
15649
  }
15448
15650
  },
15449
15651
  "hasDynamicHelp": false,
15450
15652
  "hiddenAliases": [],
15451
- "id": "segments:tags:list",
15653
+ "id": "ticket:messages:create",
15452
15654
  "pluginAlias": "@instantkom/cli",
15453
15655
  "pluginName": "@instantkom/cli",
15454
15656
  "pluginType": "core",
@@ -15458,26 +15660,26 @@
15458
15660
  "relativePath": [
15459
15661
  "dist",
15460
15662
  "commands",
15461
- "segments",
15462
- "tags",
15463
- "list.js"
15663
+ "ticket",
15664
+ "messages",
15665
+ "create.js"
15464
15666
  ]
15465
15667
  },
15466
- "segments:tags:remove": {
15668
+ "ticket:messages:delete": {
15467
15669
  "aliases": [],
15468
15670
  "args": {
15469
- "segmentId": {
15470
- "description": "Segment ID",
15471
- "name": "segmentId",
15671
+ "ticketId": {
15672
+ "description": "Ticket ID",
15673
+ "name": "ticketId",
15472
15674
  "required": true
15473
15675
  },
15474
- "tagId": {
15475
- "description": "Tag ID",
15476
- "name": "tagId",
15676
+ "messageId": {
15677
+ "description": "Message ID",
15678
+ "name": "messageId",
15477
15679
  "required": true
15478
15680
  }
15479
15681
  },
15480
- "description": "Remove a tag from a segment",
15682
+ "description": "Delete a ticket message",
15481
15683
  "flags": {
15482
15684
  "api-key": {
15483
15685
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15544,7 +15746,7 @@
15544
15746
  },
15545
15747
  "hasDynamicHelp": false,
15546
15748
  "hiddenAliases": [],
15547
- "id": "segments:tags:remove",
15749
+ "id": "ticket:messages:delete",
15548
15750
  "pluginAlias": "@instantkom/cli",
15549
15751
  "pluginName": "@instantkom/cli",
15550
15752
  "pluginType": "core",
@@ -15554,21 +15756,26 @@
15554
15756
  "relativePath": [
15555
15757
  "dist",
15556
15758
  "commands",
15557
- "segments",
15558
- "tags",
15559
- "remove.js"
15759
+ "ticket",
15760
+ "messages",
15761
+ "delete.js"
15560
15762
  ]
15561
15763
  },
15562
- "tags:recipients:add": {
15764
+ "ticket:messages:get": {
15563
15765
  "aliases": [],
15564
15766
  "args": {
15565
- "tagId": {
15566
- "description": "Tag ID",
15567
- "name": "tagId",
15767
+ "ticketId": {
15768
+ "description": "Ticket ID",
15769
+ "name": "ticketId",
15770
+ "required": true
15771
+ },
15772
+ "messageId": {
15773
+ "description": "Message ID",
15774
+ "name": "messageId",
15568
15775
  "required": true
15569
15776
  }
15570
15777
  },
15571
- "description": "Assign a tag to recipients",
15778
+ "description": "Get a ticket message",
15572
15779
  "flags": {
15573
15780
  "api-key": {
15574
15781
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15631,19 +15838,11 @@
15631
15838
  "hasDynamicHelp": false,
15632
15839
  "multiple": false,
15633
15840
  "type": "option"
15634
- },
15635
- "recipients": {
15636
- "description": "Comma-separated recipient IDs",
15637
- "name": "recipients",
15638
- "required": true,
15639
- "hasDynamicHelp": false,
15640
- "multiple": false,
15641
- "type": "option"
15642
15841
  }
15643
15842
  },
15644
15843
  "hasDynamicHelp": false,
15645
15844
  "hiddenAliases": [],
15646
- "id": "tags:recipients:add",
15845
+ "id": "ticket:messages:get",
15647
15846
  "pluginAlias": "@instantkom/cli",
15648
15847
  "pluginName": "@instantkom/cli",
15649
15848
  "pluginType": "core",
@@ -15653,21 +15852,21 @@
15653
15852
  "relativePath": [
15654
15853
  "dist",
15655
15854
  "commands",
15656
- "tags",
15657
- "recipients",
15658
- "add.js"
15855
+ "ticket",
15856
+ "messages",
15857
+ "get.js"
15659
15858
  ]
15660
15859
  },
15661
- "tags:recipients:remove": {
15860
+ "ticket:messages:list": {
15662
15861
  "aliases": [],
15663
15862
  "args": {
15664
- "tagId": {
15665
- "description": "Tag ID",
15666
- "name": "tagId",
15863
+ "ticketId": {
15864
+ "description": "Ticket ID",
15865
+ "name": "ticketId",
15667
15866
  "required": true
15668
15867
  }
15669
15868
  },
15670
- "description": "Remove a tag from recipients",
15869
+ "description": "List ticket messages",
15671
15870
  "flags": {
15672
15871
  "api-key": {
15673
15872
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15730,19 +15929,11 @@
15730
15929
  "hasDynamicHelp": false,
15731
15930
  "multiple": false,
15732
15931
  "type": "option"
15733
- },
15734
- "recipients": {
15735
- "description": "Comma-separated recipient IDs",
15736
- "name": "recipients",
15737
- "required": true,
15738
- "hasDynamicHelp": false,
15739
- "multiple": false,
15740
- "type": "option"
15741
15932
  }
15742
15933
  },
15743
15934
  "hasDynamicHelp": false,
15744
15935
  "hiddenAliases": [],
15745
- "id": "tags:recipients:remove",
15936
+ "id": "ticket:messages:list",
15746
15937
  "pluginAlias": "@instantkom/cli",
15747
15938
  "pluginName": "@instantkom/cli",
15748
15939
  "pluginType": "core",
@@ -15752,21 +15943,21 @@
15752
15943
  "relativePath": [
15753
15944
  "dist",
15754
15945
  "commands",
15755
- "tags",
15756
- "recipients",
15757
- "remove.js"
15946
+ "ticket",
15947
+ "messages",
15948
+ "list.js"
15758
15949
  ]
15759
15950
  },
15760
- "ticket:messages:create": {
15951
+ "tags:bots:list": {
15761
15952
  "aliases": [],
15762
15953
  "args": {
15763
- "ticketId": {
15764
- "description": "Ticket ID",
15765
- "name": "ticketId",
15954
+ "id": {
15955
+ "description": "Tag ID",
15956
+ "name": "id",
15766
15957
  "required": true
15767
15958
  }
15768
15959
  },
15769
- "description": "Create a ticket message",
15960
+ "description": "List bots that use a specific tag",
15770
15961
  "flags": {
15771
15962
  "api-key": {
15772
15963
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15830,17 +16021,18 @@
15830
16021
  "multiple": false,
15831
16022
  "type": "option"
15832
16023
  },
15833
- "message": {
15834
- "description": "Message text",
15835
- "name": "message",
15836
- "required": true,
16024
+ "page": {
16025
+ "description": "Page number",
16026
+ "name": "page",
16027
+ "default": 1,
15837
16028
  "hasDynamicHelp": false,
15838
16029
  "multiple": false,
15839
16030
  "type": "option"
15840
16031
  },
15841
- "data": {
15842
- "description": "Additional JSON object payload",
15843
- "name": "data",
16032
+ "limit": {
16033
+ "description": "Items per page",
16034
+ "name": "limit",
16035
+ "default": 20,
15844
16036
  "hasDynamicHelp": false,
15845
16037
  "multiple": false,
15846
16038
  "type": "option"
@@ -15848,7 +16040,7 @@
15848
16040
  },
15849
16041
  "hasDynamicHelp": false,
15850
16042
  "hiddenAliases": [],
15851
- "id": "ticket:messages:create",
16043
+ "id": "tags:bots:list",
15852
16044
  "pluginAlias": "@instantkom/cli",
15853
16045
  "pluginName": "@instantkom/cli",
15854
16046
  "pluginType": "core",
@@ -15858,26 +16050,21 @@
15858
16050
  "relativePath": [
15859
16051
  "dist",
15860
16052
  "commands",
15861
- "ticket",
15862
- "messages",
15863
- "create.js"
16053
+ "tags",
16054
+ "bots",
16055
+ "list.js"
15864
16056
  ]
15865
16057
  },
15866
- "ticket:messages:delete": {
16058
+ "tags:recipients:add": {
15867
16059
  "aliases": [],
15868
16060
  "args": {
15869
- "ticketId": {
15870
- "description": "Ticket ID",
15871
- "name": "ticketId",
15872
- "required": true
15873
- },
15874
- "messageId": {
15875
- "description": "Message ID",
15876
- "name": "messageId",
16061
+ "tagId": {
16062
+ "description": "Tag ID",
16063
+ "name": "tagId",
15877
16064
  "required": true
15878
16065
  }
15879
16066
  },
15880
- "description": "Delete a ticket message",
16067
+ "description": "Assign a tag to recipients",
15881
16068
  "flags": {
15882
16069
  "api-key": {
15883
16070
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15940,11 +16127,19 @@
15940
16127
  "hasDynamicHelp": false,
15941
16128
  "multiple": false,
15942
16129
  "type": "option"
16130
+ },
16131
+ "recipients": {
16132
+ "description": "Comma-separated recipient IDs",
16133
+ "name": "recipients",
16134
+ "required": true,
16135
+ "hasDynamicHelp": false,
16136
+ "multiple": false,
16137
+ "type": "option"
15943
16138
  }
15944
16139
  },
15945
16140
  "hasDynamicHelp": false,
15946
16141
  "hiddenAliases": [],
15947
- "id": "ticket:messages:delete",
16142
+ "id": "tags:recipients:add",
15948
16143
  "pluginAlias": "@instantkom/cli",
15949
16144
  "pluginName": "@instantkom/cli",
15950
16145
  "pluginType": "core",
@@ -15954,26 +16149,21 @@
15954
16149
  "relativePath": [
15955
16150
  "dist",
15956
16151
  "commands",
15957
- "ticket",
15958
- "messages",
15959
- "delete.js"
16152
+ "tags",
16153
+ "recipients",
16154
+ "add.js"
15960
16155
  ]
15961
16156
  },
15962
- "ticket:messages:get": {
16157
+ "tags:recipients:remove": {
15963
16158
  "aliases": [],
15964
16159
  "args": {
15965
- "ticketId": {
15966
- "description": "Ticket ID",
15967
- "name": "ticketId",
15968
- "required": true
15969
- },
15970
- "messageId": {
15971
- "description": "Message ID",
15972
- "name": "messageId",
16160
+ "tagId": {
16161
+ "description": "Tag ID",
16162
+ "name": "tagId",
15973
16163
  "required": true
15974
16164
  }
15975
16165
  },
15976
- "description": "Get a ticket message",
16166
+ "description": "Remove a tag from recipients",
15977
16167
  "flags": {
15978
16168
  "api-key": {
15979
16169
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16036,11 +16226,19 @@
16036
16226
  "hasDynamicHelp": false,
16037
16227
  "multiple": false,
16038
16228
  "type": "option"
16229
+ },
16230
+ "recipients": {
16231
+ "description": "Comma-separated recipient IDs",
16232
+ "name": "recipients",
16233
+ "required": true,
16234
+ "hasDynamicHelp": false,
16235
+ "multiple": false,
16236
+ "type": "option"
16039
16237
  }
16040
16238
  },
16041
16239
  "hasDynamicHelp": false,
16042
16240
  "hiddenAliases": [],
16043
- "id": "ticket:messages:get",
16241
+ "id": "tags:recipients:remove",
16044
16242
  "pluginAlias": "@instantkom/cli",
16045
16243
  "pluginName": "@instantkom/cli",
16046
16244
  "pluginType": "core",
@@ -16050,21 +16248,21 @@
16050
16248
  "relativePath": [
16051
16249
  "dist",
16052
16250
  "commands",
16053
- "ticket",
16054
- "messages",
16055
- "get.js"
16251
+ "tags",
16252
+ "recipients",
16253
+ "remove.js"
16056
16254
  ]
16057
16255
  },
16058
- "ticket:messages:list": {
16256
+ "tags:segments:list": {
16059
16257
  "aliases": [],
16060
16258
  "args": {
16061
- "ticketId": {
16062
- "description": "Ticket ID",
16063
- "name": "ticketId",
16259
+ "id": {
16260
+ "description": "Tag ID",
16261
+ "name": "id",
16064
16262
  "required": true
16065
16263
  }
16066
16264
  },
16067
- "description": "List ticket messages",
16265
+ "description": "List segments that use a specific tag",
16068
16266
  "flags": {
16069
16267
  "api-key": {
16070
16268
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16127,11 +16325,27 @@
16127
16325
  "hasDynamicHelp": false,
16128
16326
  "multiple": false,
16129
16327
  "type": "option"
16328
+ },
16329
+ "page": {
16330
+ "description": "Page number",
16331
+ "name": "page",
16332
+ "default": 1,
16333
+ "hasDynamicHelp": false,
16334
+ "multiple": false,
16335
+ "type": "option"
16336
+ },
16337
+ "limit": {
16338
+ "description": "Items per page",
16339
+ "name": "limit",
16340
+ "default": 20,
16341
+ "hasDynamicHelp": false,
16342
+ "multiple": false,
16343
+ "type": "option"
16130
16344
  }
16131
16345
  },
16132
16346
  "hasDynamicHelp": false,
16133
16347
  "hiddenAliases": [],
16134
- "id": "ticket:messages:list",
16348
+ "id": "tags:segments:list",
16135
16349
  "pluginAlias": "@instantkom/cli",
16136
16350
  "pluginName": "@instantkom/cli",
16137
16351
  "pluginType": "core",
@@ -16141,8 +16355,8 @@
16141
16355
  "relativePath": [
16142
16356
  "dist",
16143
16357
  "commands",
16144
- "ticket",
16145
- "messages",
16358
+ "tags",
16359
+ "segments",
16146
16360
  "list.js"
16147
16361
  ]
16148
16362
  },
@@ -16352,5 +16566,5 @@
16352
16566
  ]
16353
16567
  }
16354
16568
  },
16355
- "version": "3.149.0"
16569
+ "version": "3.151.0"
16356
16570
  }