@instantkom/cli 3.140.0 → 3.140.2

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,44 +953,10 @@
953
953
  "update.js"
954
954
  ]
955
955
  },
956
- "autocomplete:script": {
957
- "aliases": [],
958
- "args": {
959
- "shell": {
960
- "description": "Shell type",
961
- "name": "shell",
962
- "options": [
963
- "zsh",
964
- "bash",
965
- "fish",
966
- "powershell"
967
- ],
968
- "required": false
969
- }
970
- },
971
- "description": "outputs autocomplete config script for shells",
972
- "flags": {},
973
- "hasDynamicHelp": false,
974
- "hidden": true,
975
- "hiddenAliases": [],
976
- "id": "autocomplete:script",
977
- "pluginAlias": "@instantkom/cli",
978
- "pluginName": "@instantkom/cli",
979
- "pluginType": "core",
980
- "strict": true,
981
- "enableJsonFlag": false,
982
- "isESM": true,
983
- "relativePath": [
984
- "dist",
985
- "commands",
986
- "autocomplete",
987
- "script.js"
988
- ]
989
- },
990
- "ai:reply": {
956
+ "auth:login": {
991
957
  "aliases": [],
992
958
  "args": {},
993
- "description": "Generate AI reply suggestions for a message",
959
+ "description": "Authenticate with the instantKOM API via device authorization flow",
994
960
  "flags": {
995
961
  "api-key": {
996
962
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1054,46 +1020,24 @@
1054
1020
  "multiple": false,
1055
1021
  "type": "option"
1056
1022
  },
1057
- "message-id": {
1058
- "description": "Message ID to use as smart-reply anchor",
1059
- "name": "message-id",
1060
- "required": true,
1061
- "hasDynamicHelp": false,
1062
- "multiple": false,
1063
- "type": "option"
1064
- },
1065
- "limit": {
1066
- "description": "Number of suggestions to generate (1-5)",
1067
- "name": "limit",
1068
- "hasDynamicHelp": false,
1069
- "multiple": false,
1070
- "type": "option"
1071
- },
1072
- "context-length": {
1073
- "description": "Number of recent messages to use as context (1-20)",
1074
- "name": "context-length",
1075
- "hasDynamicHelp": false,
1076
- "multiple": false,
1077
- "type": "option"
1078
- },
1079
- "style": {
1080
- "description": "Response style",
1081
- "name": "style",
1023
+ "scope": {
1024
+ "description": "Requested token scope",
1025
+ "name": "scope",
1026
+ "default": "read",
1082
1027
  "hasDynamicHelp": false,
1083
1028
  "multiple": false,
1084
1029
  "options": [
1085
- "professional",
1086
- "friendly",
1087
- "concise",
1088
- "detailed",
1089
- "empathetic"
1030
+ "full",
1031
+ "send",
1032
+ "read",
1033
+ "admin"
1090
1034
  ],
1091
1035
  "type": "option"
1092
1036
  }
1093
1037
  },
1094
1038
  "hasDynamicHelp": false,
1095
1039
  "hiddenAliases": [],
1096
- "id": "ai:reply",
1040
+ "id": "auth:login",
1097
1041
  "pluginAlias": "@instantkom/cli",
1098
1042
  "pluginName": "@instantkom/cli",
1099
1043
  "pluginType": "core",
@@ -1103,14 +1047,14 @@
1103
1047
  "relativePath": [
1104
1048
  "dist",
1105
1049
  "commands",
1106
- "ai",
1107
- "reply.js"
1050
+ "auth",
1051
+ "login.js"
1108
1052
  ]
1109
1053
  },
1110
- "auth:login": {
1054
+ "auth:logout": {
1111
1055
  "aliases": [],
1112
1056
  "args": {},
1113
- "description": "Authenticate with the instantKOM API via device authorization flow",
1057
+ "description": "Remove the stored API token for the current profile",
1114
1058
  "flags": {
1115
1059
  "api-key": {
1116
1060
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1173,25 +1117,45 @@
1173
1117
  "hasDynamicHelp": false,
1174
1118
  "multiple": false,
1175
1119
  "type": "option"
1176
- },
1177
- "scope": {
1178
- "description": "Requested token scope",
1179
- "name": "scope",
1180
- "default": "read",
1181
- "hasDynamicHelp": false,
1182
- "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",
1183
1144
  "options": [
1184
- "full",
1185
- "send",
1186
- "read",
1187
- "admin"
1145
+ "zsh",
1146
+ "bash",
1147
+ "fish",
1148
+ "powershell"
1188
1149
  ],
1189
- "type": "option"
1150
+ "required": false
1190
1151
  }
1191
1152
  },
1153
+ "description": "outputs autocomplete config script for shells",
1154
+ "flags": {},
1192
1155
  "hasDynamicHelp": false,
1156
+ "hidden": true,
1193
1157
  "hiddenAliases": [],
1194
- "id": "auth:login",
1158
+ "id": "autocomplete:script",
1195
1159
  "pluginAlias": "@instantkom/cli",
1196
1160
  "pluginName": "@instantkom/cli",
1197
1161
  "pluginType": "core",
@@ -1201,14 +1165,14 @@
1201
1165
  "relativePath": [
1202
1166
  "dist",
1203
1167
  "commands",
1204
- "auth",
1205
- "login.js"
1168
+ "autocomplete",
1169
+ "script.js"
1206
1170
  ]
1207
1171
  },
1208
- "auth:logout": {
1172
+ "ai:reply": {
1209
1173
  "aliases": [],
1210
1174
  "args": {},
1211
- "description": "Remove the stored API token for the current profile",
1175
+ "description": "Generate AI reply suggestions for a message",
1212
1176
  "flags": {
1213
1177
  "api-key": {
1214
1178
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1271,11 +1235,47 @@
1271
1235
  "hasDynamicHelp": false,
1272
1236
  "multiple": false,
1273
1237
  "type": "option"
1238
+ },
1239
+ "message-id": {
1240
+ "description": "Message ID to use as smart-reply anchor",
1241
+ "name": "message-id",
1242
+ "required": true,
1243
+ "hasDynamicHelp": false,
1244
+ "multiple": false,
1245
+ "type": "option"
1246
+ },
1247
+ "limit": {
1248
+ "description": "Number of suggestions to generate (1-5)",
1249
+ "name": "limit",
1250
+ "hasDynamicHelp": false,
1251
+ "multiple": false,
1252
+ "type": "option"
1253
+ },
1254
+ "context-length": {
1255
+ "description": "Number of recent messages to use as context (1-20)",
1256
+ "name": "context-length",
1257
+ "hasDynamicHelp": false,
1258
+ "multiple": false,
1259
+ "type": "option"
1260
+ },
1261
+ "style": {
1262
+ "description": "Response style",
1263
+ "name": "style",
1264
+ "hasDynamicHelp": false,
1265
+ "multiple": false,
1266
+ "options": [
1267
+ "professional",
1268
+ "friendly",
1269
+ "concise",
1270
+ "detailed",
1271
+ "empathetic"
1272
+ ],
1273
+ "type": "option"
1274
1274
  }
1275
1275
  },
1276
1276
  "hasDynamicHelp": false,
1277
1277
  "hiddenAliases": [],
1278
- "id": "auth:logout",
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
- "auth",
1289
- "logout.js"
1288
+ "ai",
1289
+ "reply.js"
1290
1290
  ]
1291
1291
  },
1292
1292
  "bots:create": {
@@ -2843,16 +2843,10 @@
2843
2843
  "update.js"
2844
2844
  ]
2845
2845
  },
2846
- "chats:get": {
2846
+ "channels:create": {
2847
2847
  "aliases": [],
2848
- "args": {
2849
- "id": {
2850
- "description": "chat ID",
2851
- "name": "id",
2852
- "required": true
2853
- }
2854
- },
2855
- "description": "Get chat by ID",
2848
+ "args": {},
2849
+ "description": "Create a channel",
2856
2850
  "flags": {
2857
2851
  "api-key": {
2858
2852
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2915,11 +2909,48 @@
2915
2909
  "hasDynamicHelp": false,
2916
2910
  "multiple": false,
2917
2911
  "type": "option"
2912
+ },
2913
+ "name": {
2914
+ "description": "Channel name",
2915
+ "name": "name",
2916
+ "required": true,
2917
+ "hasDynamicHelp": false,
2918
+ "multiple": false,
2919
+ "type": "option"
2920
+ },
2921
+ "gateway-type": {
2922
+ "description": "Gateway type ID",
2923
+ "name": "gateway-type",
2924
+ "required": true,
2925
+ "hasDynamicHelp": false,
2926
+ "multiple": false,
2927
+ "type": "option"
2928
+ },
2929
+ "status": {
2930
+ "description": "Channel lifecycle status",
2931
+ "name": "status",
2932
+ "hasDynamicHelp": false,
2933
+ "multiple": false,
2934
+ "type": "option"
2935
+ },
2936
+ "description": {
2937
+ "description": "Channel description",
2938
+ "name": "description",
2939
+ "hasDynamicHelp": false,
2940
+ "multiple": false,
2941
+ "type": "option"
2942
+ },
2943
+ "data": {
2944
+ "description": "Additional JSON object payload",
2945
+ "name": "data",
2946
+ "hasDynamicHelp": false,
2947
+ "multiple": false,
2948
+ "type": "option"
2918
2949
  }
2919
2950
  },
2920
2951
  "hasDynamicHelp": false,
2921
2952
  "hiddenAliases": [],
2922
- "id": "chats:get",
2953
+ "id": "channels:create",
2923
2954
  "pluginAlias": "@instantkom/cli",
2924
2955
  "pluginName": "@instantkom/cli",
2925
2956
  "pluginType": "core",
@@ -2929,14 +2960,20 @@
2929
2960
  "relativePath": [
2930
2961
  "dist",
2931
2962
  "commands",
2932
- "chats",
2933
- "get.js"
2963
+ "channels",
2964
+ "create.js"
2934
2965
  ]
2935
2966
  },
2936
- "chats:list": {
2967
+ "channels:get": {
2937
2968
  "aliases": [],
2938
- "args": {},
2939
- "description": "List chats",
2969
+ "args": {
2970
+ "id": {
2971
+ "description": "Channel ID",
2972
+ "name": "id",
2973
+ "required": true
2974
+ }
2975
+ },
2976
+ "description": "Get a channel by ID",
2940
2977
  "flags": {
2941
2978
  "api-key": {
2942
2979
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2999,73 +3036,11 @@
2999
3036
  "hasDynamicHelp": false,
3000
3037
  "multiple": false,
3001
3038
  "type": "option"
3002
- },
3003
- "page": {
3004
- "description": "Page number",
3005
- "name": "page",
3006
- "default": 1,
3007
- "hasDynamicHelp": false,
3008
- "multiple": false,
3009
- "type": "option"
3010
- },
3011
- "limit": {
3012
- "description": "Items per page",
3013
- "name": "limit",
3014
- "default": 20,
3015
- "hasDynamicHelp": false,
3016
- "multiple": false,
3017
- "type": "option"
3018
- },
3019
- "channel": {
3020
- "description": "Filter by channel ID",
3021
- "name": "channel",
3022
- "hasDynamicHelp": false,
3023
- "multiple": false,
3024
- "type": "option"
3025
- },
3026
- "channels": {
3027
- "description": "Comma-separated channel IDs",
3028
- "name": "channels",
3029
- "hasDynamicHelp": false,
3030
- "multiple": false,
3031
- "type": "option"
3032
- },
3033
- "search": {
3034
- "description": "Search chats",
3035
- "name": "search",
3036
- "hasDynamicHelp": false,
3037
- "multiple": false,
3038
- "type": "option"
3039
- },
3040
- "status": {
3041
- "description": "Chat status",
3042
- "name": "status",
3043
- "hasDynamicHelp": false,
3044
- "multiple": false,
3045
- "options": [
3046
- "all",
3047
- "unread",
3048
- "read",
3049
- "archived"
3050
- ],
3051
- "type": "option"
3052
- },
3053
- "unread-only": {
3054
- "description": "Only unread chats",
3055
- "name": "unread-only",
3056
- "allowNo": false,
3057
- "type": "boolean"
3058
- },
3059
- "include-archived": {
3060
- "description": "Include archived chats",
3061
- "name": "include-archived",
3062
- "allowNo": false,
3063
- "type": "boolean"
3064
3039
  }
3065
3040
  },
3066
3041
  "hasDynamicHelp": false,
3067
3042
  "hiddenAliases": [],
3068
- "id": "chats:list",
3043
+ "id": "channels:get",
3069
3044
  "pluginAlias": "@instantkom/cli",
3070
3045
  "pluginName": "@instantkom/cli",
3071
3046
  "pluginType": "core",
@@ -3075,20 +3050,20 @@
3075
3050
  "relativePath": [
3076
3051
  "dist",
3077
3052
  "commands",
3078
- "chats",
3079
- "list.js"
3053
+ "channels",
3054
+ "get.js"
3080
3055
  ]
3081
3056
  },
3082
- "chats:reply": {
3057
+ "channels:kpis": {
3083
3058
  "aliases": [],
3084
3059
  "args": {
3085
3060
  "id": {
3086
- "description": "Chat ID",
3061
+ "description": "Optional channel ID; omit for aggregated channel KPIs",
3087
3062
  "name": "id",
3088
- "required": true
3063
+ "required": false
3089
3064
  }
3090
3065
  },
3091
- "description": "Reply in a chat",
3066
+ "description": "Get channel KPIs",
3092
3067
  "flags": {
3093
3068
  "api-key": {
3094
3069
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3152,10 +3127,9 @@
3152
3127
  "multiple": false,
3153
3128
  "type": "option"
3154
3129
  },
3155
- "text": {
3156
- "description": "Reply text",
3157
- "name": "text",
3158
- "required": true,
3130
+ "period": {
3131
+ "description": "KPI period",
3132
+ "name": "period",
3159
3133
  "hasDynamicHelp": false,
3160
3134
  "multiple": false,
3161
3135
  "type": "option"
@@ -3163,7 +3137,7 @@
3163
3137
  },
3164
3138
  "hasDynamicHelp": false,
3165
3139
  "hiddenAliases": [],
3166
- "id": "chats:reply",
3140
+ "id": "channels:kpis",
3167
3141
  "pluginAlias": "@instantkom/cli",
3168
3142
  "pluginName": "@instantkom/cli",
3169
3143
  "pluginType": "core",
@@ -3173,14 +3147,14 @@
3173
3147
  "relativePath": [
3174
3148
  "dist",
3175
3149
  "commands",
3176
- "chats",
3177
- "reply.js"
3150
+ "channels",
3151
+ "kpis.js"
3178
3152
  ]
3179
3153
  },
3180
- "channels:create": {
3154
+ "channels:list": {
3181
3155
  "aliases": [],
3182
3156
  "args": {},
3183
- "description": "Create a channel",
3157
+ "description": "List channels",
3184
3158
  "flags": {
3185
3159
  "api-key": {
3186
3160
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3244,39 +3218,39 @@
3244
3218
  "multiple": false,
3245
3219
  "type": "option"
3246
3220
  },
3247
- "name": {
3248
- "description": "Channel name",
3249
- "name": "name",
3250
- "required": true,
3221
+ "page": {
3222
+ "description": "Page number",
3223
+ "name": "page",
3224
+ "default": 1,
3251
3225
  "hasDynamicHelp": false,
3252
3226
  "multiple": false,
3253
3227
  "type": "option"
3254
3228
  },
3255
- "gateway-type": {
3256
- "description": "Gateway type ID",
3257
- "name": "gateway-type",
3258
- "required": true,
3229
+ "limit": {
3230
+ "description": "Items per page",
3231
+ "name": "limit",
3232
+ "default": 20,
3259
3233
  "hasDynamicHelp": false,
3260
3234
  "multiple": false,
3261
3235
  "type": "option"
3262
3236
  },
3263
3237
  "status": {
3264
- "description": "Channel lifecycle status",
3238
+ "description": "Filter by channel status",
3265
3239
  "name": "status",
3266
3240
  "hasDynamicHelp": false,
3267
3241
  "multiple": false,
3268
3242
  "type": "option"
3269
3243
  },
3270
- "description": {
3271
- "description": "Channel description",
3272
- "name": "description",
3244
+ "gateway-type": {
3245
+ "description": "Filter by gateway type ID",
3246
+ "name": "gateway-type",
3273
3247
  "hasDynamicHelp": false,
3274
3248
  "multiple": false,
3275
3249
  "type": "option"
3276
3250
  },
3277
- "data": {
3278
- "description": "Additional JSON object payload",
3279
- "name": "data",
3251
+ "search": {
3252
+ "description": "Search by channel name",
3253
+ "name": "search",
3280
3254
  "hasDynamicHelp": false,
3281
3255
  "multiple": false,
3282
3256
  "type": "option"
@@ -3284,7 +3258,7 @@
3284
3258
  },
3285
3259
  "hasDynamicHelp": false,
3286
3260
  "hiddenAliases": [],
3287
- "id": "channels:create",
3261
+ "id": "channels:list",
3288
3262
  "pluginAlias": "@instantkom/cli",
3289
3263
  "pluginName": "@instantkom/cli",
3290
3264
  "pluginType": "core",
@@ -3295,10 +3269,10 @@
3295
3269
  "dist",
3296
3270
  "commands",
3297
3271
  "channels",
3298
- "create.js"
3272
+ "list.js"
3299
3273
  ]
3300
3274
  },
3301
- "channels:get": {
3275
+ "channels:update": {
3302
3276
  "aliases": [],
3303
3277
  "args": {
3304
3278
  "id": {
@@ -3307,7 +3281,7 @@
3307
3281
  "required": true
3308
3282
  }
3309
3283
  },
3310
- "description": "Get a channel by ID",
3284
+ "description": "Update a channel",
3311
3285
  "flags": {
3312
3286
  "api-key": {
3313
3287
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3370,11 +3344,39 @@
3370
3344
  "hasDynamicHelp": false,
3371
3345
  "multiple": false,
3372
3346
  "type": "option"
3347
+ },
3348
+ "name": {
3349
+ "description": "Channel name",
3350
+ "name": "name",
3351
+ "hasDynamicHelp": false,
3352
+ "multiple": false,
3353
+ "type": "option"
3354
+ },
3355
+ "status": {
3356
+ "description": "Channel lifecycle status",
3357
+ "name": "status",
3358
+ "hasDynamicHelp": false,
3359
+ "multiple": false,
3360
+ "type": "option"
3361
+ },
3362
+ "description": {
3363
+ "description": "Channel description",
3364
+ "name": "description",
3365
+ "hasDynamicHelp": false,
3366
+ "multiple": false,
3367
+ "type": "option"
3368
+ },
3369
+ "data": {
3370
+ "description": "Additional JSON object payload",
3371
+ "name": "data",
3372
+ "hasDynamicHelp": false,
3373
+ "multiple": false,
3374
+ "type": "option"
3373
3375
  }
3374
3376
  },
3375
3377
  "hasDynamicHelp": false,
3376
3378
  "hiddenAliases": [],
3377
- "id": "channels:get",
3379
+ "id": "channels:update",
3378
3380
  "pluginAlias": "@instantkom/cli",
3379
3381
  "pluginName": "@instantkom/cli",
3380
3382
  "pluginType": "core",
@@ -3385,19 +3387,19 @@
3385
3387
  "dist",
3386
3388
  "commands",
3387
3389
  "channels",
3388
- "get.js"
3390
+ "update.js"
3389
3391
  ]
3390
3392
  },
3391
- "channels:kpis": {
3393
+ "chats:get": {
3392
3394
  "aliases": [],
3393
3395
  "args": {
3394
3396
  "id": {
3395
- "description": "Optional channel ID; omit for aggregated channel KPIs",
3397
+ "description": "chat ID",
3396
3398
  "name": "id",
3397
- "required": false
3399
+ "required": true
3398
3400
  }
3399
3401
  },
3400
- "description": "Get channel KPIs",
3402
+ "description": "Get chat by ID",
3401
3403
  "flags": {
3402
3404
  "api-key": {
3403
3405
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3460,18 +3462,11 @@
3460
3462
  "hasDynamicHelp": false,
3461
3463
  "multiple": false,
3462
3464
  "type": "option"
3463
- },
3464
- "period": {
3465
- "description": "KPI period",
3466
- "name": "period",
3467
- "hasDynamicHelp": false,
3468
- "multiple": false,
3469
- "type": "option"
3470
3465
  }
3471
3466
  },
3472
3467
  "hasDynamicHelp": false,
3473
3468
  "hiddenAliases": [],
3474
- "id": "channels:kpis",
3469
+ "id": "chats:get",
3475
3470
  "pluginAlias": "@instantkom/cli",
3476
3471
  "pluginName": "@instantkom/cli",
3477
3472
  "pluginType": "core",
@@ -3481,14 +3476,14 @@
3481
3476
  "relativePath": [
3482
3477
  "dist",
3483
3478
  "commands",
3484
- "channels",
3485
- "kpis.js"
3479
+ "chats",
3480
+ "get.js"
3486
3481
  ]
3487
3482
  },
3488
- "channels:list": {
3483
+ "chats:list": {
3489
3484
  "aliases": [],
3490
3485
  "args": {},
3491
- "description": "List channels",
3486
+ "description": "List chats",
3492
3487
  "flags": {
3493
3488
  "api-key": {
3494
3489
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3568,31 +3563,56 @@
3568
3563
  "multiple": false,
3569
3564
  "type": "option"
3570
3565
  },
3571
- "status": {
3572
- "description": "Filter by channel status",
3573
- "name": "status",
3566
+ "channel": {
3567
+ "description": "Filter by channel ID",
3568
+ "name": "channel",
3574
3569
  "hasDynamicHelp": false,
3575
3570
  "multiple": false,
3576
3571
  "type": "option"
3577
3572
  },
3578
- "gateway-type": {
3579
- "description": "Filter by gateway type ID",
3580
- "name": "gateway-type",
3573
+ "channels": {
3574
+ "description": "Comma-separated channel IDs",
3575
+ "name": "channels",
3581
3576
  "hasDynamicHelp": false,
3582
3577
  "multiple": false,
3583
3578
  "type": "option"
3584
3579
  },
3585
3580
  "search": {
3586
- "description": "Search by channel name",
3581
+ "description": "Search chats",
3587
3582
  "name": "search",
3588
3583
  "hasDynamicHelp": false,
3589
3584
  "multiple": false,
3590
3585
  "type": "option"
3586
+ },
3587
+ "status": {
3588
+ "description": "Chat status",
3589
+ "name": "status",
3590
+ "hasDynamicHelp": false,
3591
+ "multiple": false,
3592
+ "options": [
3593
+ "all",
3594
+ "unread",
3595
+ "read",
3596
+ "archived"
3597
+ ],
3598
+ "type": "option"
3599
+ },
3600
+ "unread-only": {
3601
+ "description": "Only unread chats",
3602
+ "name": "unread-only",
3603
+ "allowNo": false,
3604
+ "type": "boolean"
3605
+ },
3606
+ "include-archived": {
3607
+ "description": "Include archived chats",
3608
+ "name": "include-archived",
3609
+ "allowNo": false,
3610
+ "type": "boolean"
3591
3611
  }
3592
3612
  },
3593
3613
  "hasDynamicHelp": false,
3594
3614
  "hiddenAliases": [],
3595
- "id": "channels:list",
3615
+ "id": "chats:list",
3596
3616
  "pluginAlias": "@instantkom/cli",
3597
3617
  "pluginName": "@instantkom/cli",
3598
3618
  "pluginType": "core",
@@ -3602,20 +3622,20 @@
3602
3622
  "relativePath": [
3603
3623
  "dist",
3604
3624
  "commands",
3605
- "channels",
3625
+ "chats",
3606
3626
  "list.js"
3607
3627
  ]
3608
3628
  },
3609
- "channels:update": {
3629
+ "chats:reply": {
3610
3630
  "aliases": [],
3611
3631
  "args": {
3612
3632
  "id": {
3613
- "description": "Channel ID",
3633
+ "description": "Chat ID",
3614
3634
  "name": "id",
3615
3635
  "required": true
3616
3636
  }
3617
3637
  },
3618
- "description": "Update a channel",
3638
+ "description": "Reply in a chat",
3619
3639
  "flags": {
3620
3640
  "api-key": {
3621
3641
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3679,30 +3699,10 @@
3679
3699
  "multiple": false,
3680
3700
  "type": "option"
3681
3701
  },
3682
- "name": {
3683
- "description": "Channel name",
3684
- "name": "name",
3685
- "hasDynamicHelp": false,
3686
- "multiple": false,
3687
- "type": "option"
3688
- },
3689
- "status": {
3690
- "description": "Channel lifecycle status",
3691
- "name": "status",
3692
- "hasDynamicHelp": false,
3693
- "multiple": false,
3694
- "type": "option"
3695
- },
3696
- "description": {
3697
- "description": "Channel description",
3698
- "name": "description",
3699
- "hasDynamicHelp": false,
3700
- "multiple": false,
3701
- "type": "option"
3702
- },
3703
- "data": {
3704
- "description": "Additional JSON object payload",
3705
- "name": "data",
3702
+ "text": {
3703
+ "description": "Reply text",
3704
+ "name": "text",
3705
+ "required": true,
3706
3706
  "hasDynamicHelp": false,
3707
3707
  "multiple": false,
3708
3708
  "type": "option"
@@ -3710,7 +3710,7 @@
3710
3710
  },
3711
3711
  "hasDynamicHelp": false,
3712
3712
  "hiddenAliases": [],
3713
- "id": "channels:update",
3713
+ "id": "chats:reply",
3714
3714
  "pluginAlias": "@instantkom/cli",
3715
3715
  "pluginName": "@instantkom/cli",
3716
3716
  "pluginType": "core",
@@ -3720,8 +3720,8 @@
3720
3720
  "relativePath": [
3721
3721
  "dist",
3722
3722
  "commands",
3723
- "channels",
3724
- "update.js"
3723
+ "chats",
3724
+ "reply.js"
3725
3725
  ]
3726
3726
  },
3727
3727
  "config:get": {
@@ -5545,10 +5545,10 @@
5545
5545
  "update.js"
5546
5546
  ]
5547
5547
  },
5548
- "flows:create": {
5548
+ "exports:create": {
5549
5549
  "aliases": [],
5550
5550
  "args": {},
5551
- "description": "Create a flow",
5551
+ "description": "Create an export",
5552
5552
  "flags": {
5553
5553
  "api-key": {
5554
5554
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5560,18 +5560,10 @@
5560
5560
  "type": "option"
5561
5561
  },
5562
5562
  "format": {
5563
- "description": "Output format: text, json, yaml, or table",
5564
- "helpGroup": "GLOBAL",
5563
+ "description": "Alias for --target",
5565
5564
  "name": "format",
5566
- "default": "text",
5567
5565
  "hasDynamicHelp": false,
5568
5566
  "multiple": false,
5569
- "options": [
5570
- "text",
5571
- "json",
5572
- "yaml",
5573
- "table"
5574
- ],
5575
5567
  "type": "option"
5576
5568
  },
5577
5569
  "json": {
@@ -5612,39 +5604,59 @@
5612
5604
  "multiple": false,
5613
5605
  "type": "option"
5614
5606
  },
5615
- "channel": {
5616
- "description": "Channel ID",
5617
- "name": "channel",
5607
+ "name": {
5608
+ "description": "Export name",
5609
+ "name": "name",
5618
5610
  "required": true,
5619
5611
  "hasDynamicHelp": false,
5620
5612
  "multiple": false,
5621
5613
  "type": "option"
5622
5614
  },
5623
- "name": {
5624
- "description": "Flow name",
5625
- "name": "name",
5626
- "required": true,
5615
+ "sources": {
5616
+ "description": "Data sources to export",
5617
+ "name": "sources",
5627
5618
  "hasDynamicHelp": false,
5628
5619
  "multiple": false,
5629
5620
  "type": "option"
5630
5621
  },
5631
- "description": {
5632
- "description": "Flow description",
5633
- "name": "description",
5622
+ "type": {
5623
+ "description": "Alias for --sources",
5624
+ "name": "type",
5634
5625
  "hasDynamicHelp": false,
5635
5626
  "multiple": false,
5636
5627
  "type": "option"
5637
5628
  },
5638
- "color": {
5639
- "description": "Flow color as HEX",
5640
- "name": "color",
5629
+ "target": {
5630
+ "description": "Export target/format",
5631
+ "name": "target",
5641
5632
  "hasDynamicHelp": false,
5642
5633
  "multiple": false,
5643
5634
  "type": "option"
5644
5635
  },
5645
- "folder": {
5646
- "description": "Folder ID",
5647
- "name": "folder",
5636
+ "channels": {
5637
+ "description": "Comma-separated channel IDs",
5638
+ "name": "channels",
5639
+ "hasDynamicHelp": false,
5640
+ "multiple": false,
5641
+ "type": "option"
5642
+ },
5643
+ "fields": {
5644
+ "description": "Comma-separated fields",
5645
+ "name": "fields",
5646
+ "hasDynamicHelp": false,
5647
+ "multiple": false,
5648
+ "type": "option"
5649
+ },
5650
+ "filters": {
5651
+ "description": "Filter criteria",
5652
+ "name": "filters",
5653
+ "hasDynamicHelp": false,
5654
+ "multiple": false,
5655
+ "type": "option"
5656
+ },
5657
+ "color": {
5658
+ "description": "Export color as HEX",
5659
+ "name": "color",
5648
5660
  "hasDynamicHelp": false,
5649
5661
  "multiple": false,
5650
5662
  "type": "option"
@@ -5659,7 +5671,7 @@
5659
5671
  },
5660
5672
  "hasDynamicHelp": false,
5661
5673
  "hiddenAliases": [],
5662
- "id": "flows:create",
5674
+ "id": "exports:create",
5663
5675
  "pluginAlias": "@instantkom/cli",
5664
5676
  "pluginName": "@instantkom/cli",
5665
5677
  "pluginType": "core",
@@ -5669,20 +5681,20 @@
5669
5681
  "relativePath": [
5670
5682
  "dist",
5671
5683
  "commands",
5672
- "flows",
5684
+ "exports",
5673
5685
  "create.js"
5674
5686
  ]
5675
5687
  },
5676
- "flows:delete": {
5688
+ "exports:delete": {
5677
5689
  "aliases": [],
5678
5690
  "args": {
5679
5691
  "id": {
5680
- "description": "Flow ID",
5692
+ "description": "Export ID",
5681
5693
  "name": "id",
5682
5694
  "required": true
5683
5695
  }
5684
5696
  },
5685
- "description": "Delete a flow",
5697
+ "description": "Delete an export",
5686
5698
  "flags": {
5687
5699
  "api-key": {
5688
5700
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5749,7 +5761,7 @@
5749
5761
  },
5750
5762
  "hasDynamicHelp": false,
5751
5763
  "hiddenAliases": [],
5752
- "id": "flows:delete",
5764
+ "id": "exports:delete",
5753
5765
  "pluginAlias": "@instantkom/cli",
5754
5766
  "pluginName": "@instantkom/cli",
5755
5767
  "pluginType": "core",
@@ -5759,20 +5771,20 @@
5759
5771
  "relativePath": [
5760
5772
  "dist",
5761
5773
  "commands",
5762
- "flows",
5774
+ "exports",
5763
5775
  "delete.js"
5764
5776
  ]
5765
5777
  },
5766
- "flows:get": {
5778
+ "exports:download": {
5767
5779
  "aliases": [],
5768
5780
  "args": {
5769
5781
  "id": {
5770
- "description": "Flow ID",
5782
+ "description": "Export ID",
5771
5783
  "name": "id",
5772
5784
  "required": true
5773
5785
  }
5774
5786
  },
5775
- "description": "Get a flow by ID",
5787
+ "description": "Download an export file",
5776
5788
  "flags": {
5777
5789
  "api-key": {
5778
5790
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5835,11 +5847,18 @@
5835
5847
  "hasDynamicHelp": false,
5836
5848
  "multiple": false,
5837
5849
  "type": "option"
5850
+ },
5851
+ "file": {
5852
+ "description": "Output file path",
5853
+ "name": "file",
5854
+ "hasDynamicHelp": false,
5855
+ "multiple": false,
5856
+ "type": "option"
5838
5857
  }
5839
5858
  },
5840
5859
  "hasDynamicHelp": false,
5841
5860
  "hiddenAliases": [],
5842
- "id": "flows:get",
5861
+ "id": "exports:download",
5843
5862
  "pluginAlias": "@instantkom/cli",
5844
5863
  "pluginName": "@instantkom/cli",
5845
5864
  "pluginType": "core",
@@ -5849,14 +5868,20 @@
5849
5868
  "relativePath": [
5850
5869
  "dist",
5851
5870
  "commands",
5852
- "flows",
5853
- "get.js"
5871
+ "exports",
5872
+ "download.js"
5854
5873
  ]
5855
5874
  },
5856
- "flows:list": {
5875
+ "exports:get": {
5857
5876
  "aliases": [],
5858
- "args": {},
5859
- "description": "List flows",
5877
+ "args": {
5878
+ "id": {
5879
+ "description": "Export ID",
5880
+ "name": "id",
5881
+ "required": true
5882
+ }
5883
+ },
5884
+ "description": "Get an export by ID",
5860
5885
  "flags": {
5861
5886
  "api-key": {
5862
5887
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5919,48 +5944,11 @@
5919
5944
  "hasDynamicHelp": false,
5920
5945
  "multiple": false,
5921
5946
  "type": "option"
5922
- },
5923
- "page": {
5924
- "description": "Page number",
5925
- "name": "page",
5926
- "default": 1,
5927
- "hasDynamicHelp": false,
5928
- "multiple": false,
5929
- "type": "option"
5930
- },
5931
- "limit": {
5932
- "description": "Items per page",
5933
- "name": "limit",
5934
- "default": 20,
5935
- "hasDynamicHelp": false,
5936
- "multiple": false,
5937
- "type": "option"
5938
- },
5939
- "channel": {
5940
- "description": "Filter by channel ID",
5941
- "name": "channel",
5942
- "hasDynamicHelp": false,
5943
- "multiple": false,
5944
- "type": "option"
5945
- },
5946
- "search": {
5947
- "description": "Search in flow name or description",
5948
- "name": "search",
5949
- "hasDynamicHelp": false,
5950
- "multiple": false,
5951
- "type": "option"
5952
- },
5953
- "folder": {
5954
- "description": "Filter by folder ID",
5955
- "name": "folder",
5956
- "hasDynamicHelp": false,
5957
- "multiple": false,
5958
- "type": "option"
5959
5947
  }
5960
5948
  },
5961
5949
  "hasDynamicHelp": false,
5962
5950
  "hiddenAliases": [],
5963
- "id": "flows:list",
5951
+ "id": "exports:get",
5964
5952
  "pluginAlias": "@instantkom/cli",
5965
5953
  "pluginName": "@instantkom/cli",
5966
5954
  "pluginType": "core",
@@ -5970,20 +5958,14 @@
5970
5958
  "relativePath": [
5971
5959
  "dist",
5972
5960
  "commands",
5973
- "flows",
5974
- "list.js"
5961
+ "exports",
5962
+ "get.js"
5975
5963
  ]
5976
5964
  },
5977
- "flows:update": {
5965
+ "exports:list": {
5978
5966
  "aliases": [],
5979
- "args": {
5980
- "id": {
5981
- "description": "Flow ID",
5982
- "name": "id",
5983
- "required": true
5984
- }
5985
- },
5986
- "description": "Update a flow",
5967
+ "args": {},
5968
+ "description": "List exports",
5987
5969
  "flags": {
5988
5970
  "api-key": {
5989
5971
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6047,37 +6029,32 @@
6047
6029
  "multiple": false,
6048
6030
  "type": "option"
6049
6031
  },
6050
- "name": {
6051
- "description": "Flow name",
6052
- "name": "name",
6053
- "hasDynamicHelp": false,
6054
- "multiple": false,
6055
- "type": "option"
6056
- },
6057
- "description": {
6058
- "description": "Flow description",
6059
- "name": "description",
6032
+ "page": {
6033
+ "description": "Page number",
6034
+ "name": "page",
6035
+ "default": 1,
6060
6036
  "hasDynamicHelp": false,
6061
6037
  "multiple": false,
6062
6038
  "type": "option"
6063
6039
  },
6064
- "color": {
6065
- "description": "Flow color as HEX",
6066
- "name": "color",
6040
+ "limit": {
6041
+ "description": "Items per page",
6042
+ "name": "limit",
6043
+ "default": 50,
6067
6044
  "hasDynamicHelp": false,
6068
6045
  "multiple": false,
6069
6046
  "type": "option"
6070
6047
  },
6071
- "folder": {
6072
- "description": "Folder ID",
6073
- "name": "folder",
6048
+ "source": {
6049
+ "description": "Filter by data source",
6050
+ "name": "source",
6074
6051
  "hasDynamicHelp": false,
6075
6052
  "multiple": false,
6076
6053
  "type": "option"
6077
6054
  },
6078
- "data": {
6079
- "description": "Additional JSON object payload",
6080
- "name": "data",
6055
+ "target": {
6056
+ "description": "Filter by export target/format",
6057
+ "name": "target",
6081
6058
  "hasDynamicHelp": false,
6082
6059
  "multiple": false,
6083
6060
  "type": "option"
@@ -6085,7 +6062,7 @@
6085
6062
  },
6086
6063
  "hasDynamicHelp": false,
6087
6064
  "hiddenAliases": [],
6088
- "id": "flows:update",
6065
+ "id": "exports:list",
6089
6066
  "pluginAlias": "@instantkom/cli",
6090
6067
  "pluginName": "@instantkom/cli",
6091
6068
  "pluginType": "core",
@@ -6095,14 +6072,14 @@
6095
6072
  "relativePath": [
6096
6073
  "dist",
6097
6074
  "commands",
6098
- "flows",
6099
- "update.js"
6075
+ "exports",
6076
+ "list.js"
6100
6077
  ]
6101
6078
  },
6102
- "exports:create": {
6079
+ "flows:create": {
6103
6080
  "aliases": [],
6104
6081
  "args": {},
6105
- "description": "Create an export",
6082
+ "description": "Create a flow",
6106
6083
  "flags": {
6107
6084
  "api-key": {
6108
6085
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6114,10 +6091,18 @@
6114
6091
  "type": "option"
6115
6092
  },
6116
6093
  "format": {
6117
- "description": "Alias for --target",
6094
+ "description": "Output format: text, json, yaml, or table",
6095
+ "helpGroup": "GLOBAL",
6118
6096
  "name": "format",
6097
+ "default": "text",
6119
6098
  "hasDynamicHelp": false,
6120
6099
  "multiple": false,
6100
+ "options": [
6101
+ "text",
6102
+ "json",
6103
+ "yaml",
6104
+ "table"
6105
+ ],
6121
6106
  "type": "option"
6122
6107
  },
6123
6108
  "json": {
@@ -6158,59 +6143,39 @@
6158
6143
  "multiple": false,
6159
6144
  "type": "option"
6160
6145
  },
6146
+ "channel": {
6147
+ "description": "Channel ID",
6148
+ "name": "channel",
6149
+ "required": true,
6150
+ "hasDynamicHelp": false,
6151
+ "multiple": false,
6152
+ "type": "option"
6153
+ },
6161
6154
  "name": {
6162
- "description": "Export name",
6155
+ "description": "Flow name",
6163
6156
  "name": "name",
6164
6157
  "required": true,
6165
6158
  "hasDynamicHelp": false,
6166
6159
  "multiple": false,
6167
6160
  "type": "option"
6168
6161
  },
6169
- "sources": {
6170
- "description": "Data sources to export",
6171
- "name": "sources",
6162
+ "description": {
6163
+ "description": "Flow description",
6164
+ "name": "description",
6172
6165
  "hasDynamicHelp": false,
6173
6166
  "multiple": false,
6174
6167
  "type": "option"
6175
6168
  },
6176
- "type": {
6177
- "description": "Alias for --sources",
6178
- "name": "type",
6169
+ "color": {
6170
+ "description": "Flow color as HEX",
6171
+ "name": "color",
6179
6172
  "hasDynamicHelp": false,
6180
6173
  "multiple": false,
6181
6174
  "type": "option"
6182
6175
  },
6183
- "target": {
6184
- "description": "Export target/format",
6185
- "name": "target",
6186
- "hasDynamicHelp": false,
6187
- "multiple": false,
6188
- "type": "option"
6189
- },
6190
- "channels": {
6191
- "description": "Comma-separated channel IDs",
6192
- "name": "channels",
6193
- "hasDynamicHelp": false,
6194
- "multiple": false,
6195
- "type": "option"
6196
- },
6197
- "fields": {
6198
- "description": "Comma-separated fields",
6199
- "name": "fields",
6200
- "hasDynamicHelp": false,
6201
- "multiple": false,
6202
- "type": "option"
6203
- },
6204
- "filters": {
6205
- "description": "Filter criteria",
6206
- "name": "filters",
6207
- "hasDynamicHelp": false,
6208
- "multiple": false,
6209
- "type": "option"
6210
- },
6211
- "color": {
6212
- "description": "Export color as HEX",
6213
- "name": "color",
6176
+ "folder": {
6177
+ "description": "Folder ID",
6178
+ "name": "folder",
6214
6179
  "hasDynamicHelp": false,
6215
6180
  "multiple": false,
6216
6181
  "type": "option"
@@ -6225,7 +6190,7 @@
6225
6190
  },
6226
6191
  "hasDynamicHelp": false,
6227
6192
  "hiddenAliases": [],
6228
- "id": "exports:create",
6193
+ "id": "flows:create",
6229
6194
  "pluginAlias": "@instantkom/cli",
6230
6195
  "pluginName": "@instantkom/cli",
6231
6196
  "pluginType": "core",
@@ -6235,20 +6200,20 @@
6235
6200
  "relativePath": [
6236
6201
  "dist",
6237
6202
  "commands",
6238
- "exports",
6203
+ "flows",
6239
6204
  "create.js"
6240
6205
  ]
6241
6206
  },
6242
- "exports:delete": {
6207
+ "flows:delete": {
6243
6208
  "aliases": [],
6244
6209
  "args": {
6245
6210
  "id": {
6246
- "description": "Export ID",
6211
+ "description": "Flow ID",
6247
6212
  "name": "id",
6248
6213
  "required": true
6249
6214
  }
6250
6215
  },
6251
- "description": "Delete an export",
6216
+ "description": "Delete a flow",
6252
6217
  "flags": {
6253
6218
  "api-key": {
6254
6219
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6315,7 +6280,7 @@
6315
6280
  },
6316
6281
  "hasDynamicHelp": false,
6317
6282
  "hiddenAliases": [],
6318
- "id": "exports:delete",
6283
+ "id": "flows:delete",
6319
6284
  "pluginAlias": "@instantkom/cli",
6320
6285
  "pluginName": "@instantkom/cli",
6321
6286
  "pluginType": "core",
@@ -6325,20 +6290,20 @@
6325
6290
  "relativePath": [
6326
6291
  "dist",
6327
6292
  "commands",
6328
- "exports",
6293
+ "flows",
6329
6294
  "delete.js"
6330
6295
  ]
6331
6296
  },
6332
- "exports:download": {
6297
+ "flows:get": {
6333
6298
  "aliases": [],
6334
6299
  "args": {
6335
6300
  "id": {
6336
- "description": "Export ID",
6301
+ "description": "Flow ID",
6337
6302
  "name": "id",
6338
6303
  "required": true
6339
6304
  }
6340
6305
  },
6341
- "description": "Download an export file",
6306
+ "description": "Get a flow by ID",
6342
6307
  "flags": {
6343
6308
  "api-key": {
6344
6309
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6401,18 +6366,11 @@
6401
6366
  "hasDynamicHelp": false,
6402
6367
  "multiple": false,
6403
6368
  "type": "option"
6404
- },
6405
- "file": {
6406
- "description": "Output file path",
6407
- "name": "file",
6408
- "hasDynamicHelp": false,
6409
- "multiple": false,
6410
- "type": "option"
6411
6369
  }
6412
6370
  },
6413
6371
  "hasDynamicHelp": false,
6414
6372
  "hiddenAliases": [],
6415
- "id": "exports:download",
6373
+ "id": "flows:get",
6416
6374
  "pluginAlias": "@instantkom/cli",
6417
6375
  "pluginName": "@instantkom/cli",
6418
6376
  "pluginType": "core",
@@ -6422,20 +6380,14 @@
6422
6380
  "relativePath": [
6423
6381
  "dist",
6424
6382
  "commands",
6425
- "exports",
6426
- "download.js"
6383
+ "flows",
6384
+ "get.js"
6427
6385
  ]
6428
6386
  },
6429
- "exports:get": {
6387
+ "flows:list": {
6430
6388
  "aliases": [],
6431
- "args": {
6432
- "id": {
6433
- "description": "Export ID",
6434
- "name": "id",
6435
- "required": true
6436
- }
6437
- },
6438
- "description": "Get an export by ID",
6389
+ "args": {},
6390
+ "description": "List flows",
6439
6391
  "flags": {
6440
6392
  "api-key": {
6441
6393
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6498,11 +6450,48 @@
6498
6450
  "hasDynamicHelp": false,
6499
6451
  "multiple": false,
6500
6452
  "type": "option"
6453
+ },
6454
+ "page": {
6455
+ "description": "Page number",
6456
+ "name": "page",
6457
+ "default": 1,
6458
+ "hasDynamicHelp": false,
6459
+ "multiple": false,
6460
+ "type": "option"
6461
+ },
6462
+ "limit": {
6463
+ "description": "Items per page",
6464
+ "name": "limit",
6465
+ "default": 20,
6466
+ "hasDynamicHelp": false,
6467
+ "multiple": false,
6468
+ "type": "option"
6469
+ },
6470
+ "channel": {
6471
+ "description": "Filter by channel ID",
6472
+ "name": "channel",
6473
+ "hasDynamicHelp": false,
6474
+ "multiple": false,
6475
+ "type": "option"
6476
+ },
6477
+ "search": {
6478
+ "description": "Search in flow name or description",
6479
+ "name": "search",
6480
+ "hasDynamicHelp": false,
6481
+ "multiple": false,
6482
+ "type": "option"
6483
+ },
6484
+ "folder": {
6485
+ "description": "Filter by folder ID",
6486
+ "name": "folder",
6487
+ "hasDynamicHelp": false,
6488
+ "multiple": false,
6489
+ "type": "option"
6501
6490
  }
6502
6491
  },
6503
6492
  "hasDynamicHelp": false,
6504
6493
  "hiddenAliases": [],
6505
- "id": "exports:get",
6494
+ "id": "flows:list",
6506
6495
  "pluginAlias": "@instantkom/cli",
6507
6496
  "pluginName": "@instantkom/cli",
6508
6497
  "pluginType": "core",
@@ -6512,14 +6501,20 @@
6512
6501
  "relativePath": [
6513
6502
  "dist",
6514
6503
  "commands",
6515
- "exports",
6516
- "get.js"
6504
+ "flows",
6505
+ "list.js"
6517
6506
  ]
6518
6507
  },
6519
- "exports:list": {
6508
+ "flows:update": {
6520
6509
  "aliases": [],
6521
- "args": {},
6522
- "description": "List exports",
6510
+ "args": {
6511
+ "id": {
6512
+ "description": "Flow ID",
6513
+ "name": "id",
6514
+ "required": true
6515
+ }
6516
+ },
6517
+ "description": "Update a flow",
6523
6518
  "flags": {
6524
6519
  "api-key": {
6525
6520
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6583,32 +6578,37 @@
6583
6578
  "multiple": false,
6584
6579
  "type": "option"
6585
6580
  },
6586
- "page": {
6587
- "description": "Page number",
6588
- "name": "page",
6589
- "default": 1,
6581
+ "name": {
6582
+ "description": "Flow name",
6583
+ "name": "name",
6590
6584
  "hasDynamicHelp": false,
6591
6585
  "multiple": false,
6592
6586
  "type": "option"
6593
6587
  },
6594
- "limit": {
6595
- "description": "Items per page",
6596
- "name": "limit",
6597
- "default": 50,
6588
+ "description": {
6589
+ "description": "Flow description",
6590
+ "name": "description",
6598
6591
  "hasDynamicHelp": false,
6599
6592
  "multiple": false,
6600
6593
  "type": "option"
6601
6594
  },
6602
- "source": {
6603
- "description": "Filter by data source",
6604
- "name": "source",
6595
+ "color": {
6596
+ "description": "Flow color as HEX",
6597
+ "name": "color",
6605
6598
  "hasDynamicHelp": false,
6606
6599
  "multiple": false,
6607
6600
  "type": "option"
6608
6601
  },
6609
- "target": {
6610
- "description": "Filter by export target/format",
6611
- "name": "target",
6602
+ "folder": {
6603
+ "description": "Folder ID",
6604
+ "name": "folder",
6605
+ "hasDynamicHelp": false,
6606
+ "multiple": false,
6607
+ "type": "option"
6608
+ },
6609
+ "data": {
6610
+ "description": "Additional JSON object payload",
6611
+ "name": "data",
6612
6612
  "hasDynamicHelp": false,
6613
6613
  "multiple": false,
6614
6614
  "type": "option"
@@ -6616,7 +6616,7 @@
6616
6616
  },
6617
6617
  "hasDynamicHelp": false,
6618
6618
  "hiddenAliases": [],
6619
- "id": "exports:list",
6619
+ "id": "flows:update",
6620
6620
  "pluginAlias": "@instantkom/cli",
6621
6621
  "pluginName": "@instantkom/cli",
6622
6622
  "pluginType": "core",
@@ -6626,8 +6626,8 @@
6626
6626
  "relativePath": [
6627
6627
  "dist",
6628
6628
  "commands",
6629
- "exports",
6630
- "list.js"
6629
+ "flows",
6630
+ "update.js"
6631
6631
  ]
6632
6632
  },
6633
6633
  "messages:bulk-spam": {
@@ -8150,10 +8150,10 @@
8150
8150
  "update.js"
8151
8151
  ]
8152
8152
  },
8153
- "team:create": {
8153
+ "tags:create": {
8154
8154
  "aliases": [],
8155
8155
  "args": {},
8156
- "description": "Create a team member",
8156
+ "description": "Create a tag",
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,54 +8217,23 @@
8217
8217
  "multiple": false,
8218
8218
  "type": "option"
8219
8219
  },
8220
- "email": {
8221
- "description": "Email address",
8222
- "name": "email",
8223
- "required": true,
8224
- "hasDynamicHelp": false,
8225
- "multiple": false,
8226
- "type": "option"
8227
- },
8228
- "first-name": {
8229
- "description": "First name",
8230
- "name": "first-name",
8231
- "required": true,
8232
- "hasDynamicHelp": false,
8233
- "multiple": false,
8234
- "type": "option"
8235
- },
8236
- "last-name": {
8237
- "description": "Last name",
8238
- "name": "last-name",
8239
- "required": true,
8240
- "hasDynamicHelp": false,
8241
- "multiple": false,
8242
- "type": "option"
8243
- },
8244
- "password": {
8245
- "description": "Initial password",
8246
- "name": "password",
8220
+ "name": {
8221
+ "description": "Tag name",
8222
+ "name": "name",
8247
8223
  "required": true,
8248
8224
  "hasDynamicHelp": false,
8249
8225
  "multiple": false,
8250
8226
  "type": "option"
8251
8227
  },
8252
- "phone": {
8253
- "description": "Phone number",
8254
- "name": "phone",
8255
- "hasDynamicHelp": false,
8256
- "multiple": false,
8257
- "type": "option"
8258
- },
8259
- "company": {
8260
- "description": "Company name",
8261
- "name": "company",
8228
+ "description": {
8229
+ "description": "Tag description",
8230
+ "name": "description",
8262
8231
  "hasDynamicHelp": false,
8263
8232
  "multiple": false,
8264
8233
  "type": "option"
8265
8234
  },
8266
8235
  "color": {
8267
- "description": "Color as HEX",
8236
+ "description": "Tag color as HEX",
8268
8237
  "name": "color",
8269
8238
  "hasDynamicHelp": false,
8270
8239
  "multiple": false,
@@ -8287,7 +8256,7 @@
8287
8256
  },
8288
8257
  "hasDynamicHelp": false,
8289
8258
  "hiddenAliases": [],
8290
- "id": "team:create",
8259
+ "id": "tags:create",
8291
8260
  "pluginAlias": "@instantkom/cli",
8292
8261
  "pluginName": "@instantkom/cli",
8293
8262
  "pluginType": "core",
@@ -8297,20 +8266,20 @@
8297
8266
  "relativePath": [
8298
8267
  "dist",
8299
8268
  "commands",
8300
- "team",
8269
+ "tags",
8301
8270
  "create.js"
8302
8271
  ]
8303
8272
  },
8304
- "team:delete": {
8273
+ "tags:delete": {
8305
8274
  "aliases": [],
8306
8275
  "args": {
8307
8276
  "id": {
8308
- "description": "Team member ID",
8277
+ "description": "tag ID",
8309
8278
  "name": "id",
8310
8279
  "required": true
8311
8280
  }
8312
8281
  },
8313
- "description": "Delete a team member",
8282
+ "description": "Delete tag",
8314
8283
  "flags": {
8315
8284
  "api-key": {
8316
8285
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8377,7 +8346,7 @@
8377
8346
  },
8378
8347
  "hasDynamicHelp": false,
8379
8348
  "hiddenAliases": [],
8380
- "id": "team:delete",
8349
+ "id": "tags:delete",
8381
8350
  "pluginAlias": "@instantkom/cli",
8382
8351
  "pluginName": "@instantkom/cli",
8383
8352
  "pluginType": "core",
@@ -8387,14 +8356,14 @@
8387
8356
  "relativePath": [
8388
8357
  "dist",
8389
8358
  "commands",
8390
- "team",
8359
+ "tags",
8391
8360
  "delete.js"
8392
8361
  ]
8393
8362
  },
8394
- "team:list": {
8363
+ "tags:export": {
8395
8364
  "aliases": [],
8396
8365
  "args": {},
8397
- "description": "List team members",
8366
+ "description": "Export tags to a file",
8398
8367
  "flags": {
8399
8368
  "api-key": {
8400
8369
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8406,17 +8375,14 @@
8406
8375
  "type": "option"
8407
8376
  },
8408
8377
  "format": {
8409
- "description": "Output format: text, json, yaml, or table",
8410
- "helpGroup": "GLOBAL",
8378
+ "description": "Export format",
8411
8379
  "name": "format",
8412
- "default": "text",
8380
+ "default": "csv",
8413
8381
  "hasDynamicHelp": false,
8414
8382
  "multiple": false,
8415
8383
  "options": [
8416
- "text",
8417
- "json",
8418
- "yaml",
8419
- "table"
8384
+ "csv",
8385
+ "json"
8420
8386
  ],
8421
8387
  "type": "option"
8422
8388
  },
@@ -8457,11 +8423,19 @@
8457
8423
  "hasDynamicHelp": false,
8458
8424
  "multiple": false,
8459
8425
  "type": "option"
8426
+ },
8427
+ "file": {
8428
+ "description": "Output file path",
8429
+ "name": "file",
8430
+ "required": true,
8431
+ "hasDynamicHelp": false,
8432
+ "multiple": false,
8433
+ "type": "option"
8460
8434
  }
8461
8435
  },
8462
8436
  "hasDynamicHelp": false,
8463
8437
  "hiddenAliases": [],
8464
- "id": "team:list",
8438
+ "id": "tags:export",
8465
8439
  "pluginAlias": "@instantkom/cli",
8466
8440
  "pluginName": "@instantkom/cli",
8467
8441
  "pluginType": "core",
@@ -8471,14 +8445,20 @@
8471
8445
  "relativePath": [
8472
8446
  "dist",
8473
8447
  "commands",
8474
- "team",
8475
- "list.js"
8448
+ "tags",
8449
+ "export.js"
8476
8450
  ]
8477
8451
  },
8478
- "tags:create": {
8452
+ "tags:get": {
8479
8453
  "aliases": [],
8480
- "args": {},
8481
- "description": "Create a tag",
8454
+ "args": {
8455
+ "id": {
8456
+ "description": "tag ID",
8457
+ "name": "id",
8458
+ "required": true
8459
+ }
8460
+ },
8461
+ "description": "Get tag by ID",
8482
8462
  "flags": {
8483
8463
  "api-key": {
8484
8464
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8541,47 +8521,11 @@
8541
8521
  "hasDynamicHelp": false,
8542
8522
  "multiple": false,
8543
8523
  "type": "option"
8544
- },
8545
- "name": {
8546
- "description": "Tag name",
8547
- "name": "name",
8548
- "required": true,
8549
- "hasDynamicHelp": false,
8550
- "multiple": false,
8551
- "type": "option"
8552
- },
8553
- "description": {
8554
- "description": "Tag description",
8555
- "name": "description",
8556
- "hasDynamicHelp": false,
8557
- "multiple": false,
8558
- "type": "option"
8559
- },
8560
- "color": {
8561
- "description": "Tag color as HEX",
8562
- "name": "color",
8563
- "hasDynamicHelp": false,
8564
- "multiple": false,
8565
- "type": "option"
8566
- },
8567
- "folder": {
8568
- "description": "Object folder ID",
8569
- "name": "folder",
8570
- "hasDynamicHelp": false,
8571
- "multiple": false,
8572
- "type": "option"
8573
- },
8574
- "data": {
8575
- "description": "Additional JSON object payload",
8576
- "name": "data",
8577
- "hasDynamicHelp": false,
8578
- "multiple": false,
8579
- "type": "option"
8580
8524
  }
8581
8525
  },
8582
8526
  "hasDynamicHelp": false,
8583
8527
  "hiddenAliases": [],
8584
- "id": "tags:create",
8528
+ "id": "tags:get",
8585
8529
  "pluginAlias": "@instantkom/cli",
8586
8530
  "pluginName": "@instantkom/cli",
8587
8531
  "pluginType": "core",
@@ -8592,19 +8536,13 @@
8592
8536
  "dist",
8593
8537
  "commands",
8594
8538
  "tags",
8595
- "create.js"
8539
+ "get.js"
8596
8540
  ]
8597
8541
  },
8598
- "tags:delete": {
8542
+ "tags:import": {
8599
8543
  "aliases": [],
8600
- "args": {
8601
- "id": {
8602
- "description": "tag ID",
8603
- "name": "id",
8604
- "required": true
8605
- }
8606
- },
8607
- "description": "Delete tag",
8544
+ "args": {},
8545
+ "description": "Import tags from JSON",
8608
8546
  "flags": {
8609
8547
  "api-key": {
8610
8548
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8667,11 +8605,25 @@
8667
8605
  "hasDynamicHelp": false,
8668
8606
  "multiple": false,
8669
8607
  "type": "option"
8608
+ },
8609
+ "file": {
8610
+ "description": "JSON file path",
8611
+ "name": "file",
8612
+ "required": true,
8613
+ "hasDynamicHelp": false,
8614
+ "multiple": false,
8615
+ "type": "option"
8616
+ },
8617
+ "skip-duplicates": {
8618
+ "description": "Skip duplicate tags",
8619
+ "name": "skip-duplicates",
8620
+ "allowNo": true,
8621
+ "type": "boolean"
8670
8622
  }
8671
8623
  },
8672
8624
  "hasDynamicHelp": false,
8673
8625
  "hiddenAliases": [],
8674
- "id": "tags:delete",
8626
+ "id": "tags:import",
8675
8627
  "pluginAlias": "@instantkom/cli",
8676
8628
  "pluginName": "@instantkom/cli",
8677
8629
  "pluginType": "core",
@@ -8682,13 +8634,13 @@
8682
8634
  "dist",
8683
8635
  "commands",
8684
8636
  "tags",
8685
- "delete.js"
8637
+ "import.js"
8686
8638
  ]
8687
8639
  },
8688
- "tags:export": {
8640
+ "tags:list": {
8689
8641
  "aliases": [],
8690
8642
  "args": {},
8691
- "description": "Export tags to a file",
8643
+ "description": "List tags",
8692
8644
  "flags": {
8693
8645
  "api-key": {
8694
8646
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8700,14 +8652,17 @@
8700
8652
  "type": "option"
8701
8653
  },
8702
8654
  "format": {
8703
- "description": "Export format",
8655
+ "description": "Output format: text, json, yaml, or table",
8656
+ "helpGroup": "GLOBAL",
8704
8657
  "name": "format",
8705
- "default": "csv",
8658
+ "default": "text",
8706
8659
  "hasDynamicHelp": false,
8707
8660
  "multiple": false,
8708
8661
  "options": [
8709
- "csv",
8710
- "json"
8662
+ "text",
8663
+ "json",
8664
+ "yaml",
8665
+ "table"
8711
8666
  ],
8712
8667
  "type": "option"
8713
8668
  },
@@ -8749,10 +8704,32 @@
8749
8704
  "multiple": false,
8750
8705
  "type": "option"
8751
8706
  },
8752
- "file": {
8753
- "description": "Output file path",
8754
- "name": "file",
8755
- "required": true,
8707
+ "page": {
8708
+ "description": "Page number",
8709
+ "name": "page",
8710
+ "default": 1,
8711
+ "hasDynamicHelp": false,
8712
+ "multiple": false,
8713
+ "type": "option"
8714
+ },
8715
+ "limit": {
8716
+ "description": "Items per page",
8717
+ "name": "limit",
8718
+ "default": 20,
8719
+ "hasDynamicHelp": false,
8720
+ "multiple": false,
8721
+ "type": "option"
8722
+ },
8723
+ "search": {
8724
+ "description": "Search by name",
8725
+ "name": "search",
8726
+ "hasDynamicHelp": false,
8727
+ "multiple": false,
8728
+ "type": "option"
8729
+ },
8730
+ "color": {
8731
+ "description": "Filter by color",
8732
+ "name": "color",
8756
8733
  "hasDynamicHelp": false,
8757
8734
  "multiple": false,
8758
8735
  "type": "option"
@@ -8760,7 +8737,7 @@
8760
8737
  },
8761
8738
  "hasDynamicHelp": false,
8762
8739
  "hiddenAliases": [],
8763
- "id": "tags:export",
8740
+ "id": "tags:list",
8764
8741
  "pluginAlias": "@instantkom/cli",
8765
8742
  "pluginName": "@instantkom/cli",
8766
8743
  "pluginType": "core",
@@ -8771,19 +8748,19 @@
8771
8748
  "dist",
8772
8749
  "commands",
8773
8750
  "tags",
8774
- "export.js"
8751
+ "list.js"
8775
8752
  ]
8776
8753
  },
8777
- "tags:get": {
8754
+ "tags:update": {
8778
8755
  "aliases": [],
8779
8756
  "args": {
8780
8757
  "id": {
8781
- "description": "tag ID",
8758
+ "description": "Tag ID",
8782
8759
  "name": "id",
8783
8760
  "required": true
8784
8761
  }
8785
8762
  },
8786
- "description": "Get tag by ID",
8763
+ "description": "Update a tag",
8787
8764
  "flags": {
8788
8765
  "api-key": {
8789
8766
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8846,11 +8823,46 @@
8846
8823
  "hasDynamicHelp": false,
8847
8824
  "multiple": false,
8848
8825
  "type": "option"
8826
+ },
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",
8858
+ "hasDynamicHelp": false,
8859
+ "multiple": false,
8860
+ "type": "option"
8849
8861
  }
8850
8862
  },
8851
8863
  "hasDynamicHelp": false,
8852
8864
  "hiddenAliases": [],
8853
- "id": "tags:get",
8865
+ "id": "tags:update",
8854
8866
  "pluginAlias": "@instantkom/cli",
8855
8867
  "pluginName": "@instantkom/cli",
8856
8868
  "pluginType": "core",
@@ -8861,13 +8873,13 @@
8861
8873
  "dist",
8862
8874
  "commands",
8863
8875
  "tags",
8864
- "get.js"
8876
+ "update.js"
8865
8877
  ]
8866
8878
  },
8867
- "tags:import": {
8879
+ "tags:validate-import": {
8868
8880
  "aliases": [],
8869
8881
  "args": {},
8870
- "description": "Import tags from JSON",
8882
+ "description": "Validate tags import JSON",
8871
8883
  "flags": {
8872
8884
  "api-key": {
8873
8885
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8938,17 +8950,11 @@
8938
8950
  "hasDynamicHelp": false,
8939
8951
  "multiple": false,
8940
8952
  "type": "option"
8941
- },
8942
- "skip-duplicates": {
8943
- "description": "Skip duplicate tags",
8944
- "name": "skip-duplicates",
8945
- "allowNo": true,
8946
- "type": "boolean"
8947
8953
  }
8948
8954
  },
8949
8955
  "hasDynamicHelp": false,
8950
8956
  "hiddenAliases": [],
8951
- "id": "tags:import",
8957
+ "id": "tags:validate-import",
8952
8958
  "pluginAlias": "@instantkom/cli",
8953
8959
  "pluginName": "@instantkom/cli",
8954
8960
  "pluginType": "core",
@@ -8959,13 +8965,13 @@
8959
8965
  "dist",
8960
8966
  "commands",
8961
8967
  "tags",
8962
- "import.js"
8968
+ "validate-import.js"
8963
8969
  ]
8964
8970
  },
8965
- "tags:list": {
8971
+ "templates:create": {
8966
8972
  "aliases": [],
8967
8973
  "args": {},
8968
- "description": "List tags",
8974
+ "description": "Create a message template",
8969
8975
  "flags": {
8970
8976
  "api-key": {
8971
8977
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9029,150 +9035,78 @@
9029
9035
  "multiple": false,
9030
9036
  "type": "option"
9031
9037
  },
9032
- "page": {
9033
- "description": "Page number",
9034
- "name": "page",
9035
- "default": 1,
9038
+ "channel": {
9039
+ "description": "Channel ID",
9040
+ "name": "channel",
9041
+ "required": true,
9036
9042
  "hasDynamicHelp": false,
9037
9043
  "multiple": false,
9038
9044
  "type": "option"
9039
9045
  },
9040
- "limit": {
9041
- "description": "Items per page",
9042
- "name": "limit",
9043
- "default": 20,
9046
+ "name": {
9047
+ "description": "Template name",
9048
+ "name": "name",
9049
+ "required": true,
9044
9050
  "hasDynamicHelp": false,
9045
9051
  "multiple": false,
9046
9052
  "type": "option"
9047
9053
  },
9048
- "search": {
9049
- "description": "Search by name",
9050
- "name": "search",
9054
+ "type": {
9055
+ "description": "Template type",
9056
+ "name": "type",
9057
+ "default": "text",
9058
+ "hasDynamicHelp": false,
9059
+ "multiple": false,
9060
+ "options": [
9061
+ "text",
9062
+ "image",
9063
+ "video",
9064
+ "document",
9065
+ "audio",
9066
+ "location",
9067
+ "contact",
9068
+ "interactive"
9069
+ ],
9070
+ "type": "option"
9071
+ },
9072
+ "message": {
9073
+ "description": "Template message",
9074
+ "name": "message",
9075
+ "required": true,
9051
9076
  "hasDynamicHelp": false,
9052
9077
  "multiple": false,
9053
9078
  "type": "option"
9054
9079
  },
9055
9080
  "color": {
9056
- "description": "Filter by color",
9081
+ "description": "Template color as HEX",
9057
9082
  "name": "color",
9058
9083
  "hasDynamicHelp": false,
9059
9084
  "multiple": false,
9060
9085
  "type": "option"
9061
- }
9062
- },
9063
- "hasDynamicHelp": false,
9064
- "hiddenAliases": [],
9065
- "id": "tags:list",
9066
- "pluginAlias": "@instantkom/cli",
9067
- "pluginName": "@instantkom/cli",
9068
- "pluginType": "core",
9069
- "strict": true,
9070
- "enableJsonFlag": false,
9071
- "isESM": true,
9072
- "relativePath": [
9073
- "dist",
9074
- "commands",
9075
- "tags",
9076
- "list.js"
9077
- ]
9078
- },
9079
- "tags:update": {
9080
- "aliases": [],
9081
- "args": {
9082
- "id": {
9083
- "description": "Tag ID",
9084
- "name": "id",
9085
- "required": true
9086
- }
9087
- },
9088
- "description": "Update a tag",
9089
- "flags": {
9090
- "api-key": {
9091
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
9092
- "env": "IKM_API_KEY",
9093
- "helpGroup": "GLOBAL",
9094
- "name": "api-key",
9095
- "hasDynamicHelp": false,
9096
- "multiple": false,
9097
- "type": "option"
9098
- },
9099
- "format": {
9100
- "description": "Output format: text, json, yaml, or table",
9101
- "helpGroup": "GLOBAL",
9102
- "name": "format",
9103
- "default": "text",
9104
- "hasDynamicHelp": false,
9105
- "multiple": false,
9106
- "options": [
9107
- "text",
9108
- "json",
9109
- "yaml",
9110
- "table"
9111
- ],
9112
- "type": "option"
9113
- },
9114
- "json": {
9115
- "description": "Output in JSON format (alias for --format=json)",
9116
- "helpGroup": "GLOBAL",
9117
- "name": "json",
9118
- "allowNo": false,
9119
- "type": "boolean"
9120
- },
9121
- "quiet": {
9122
- "description": "Suppress all output except errors",
9123
- "helpGroup": "GLOBAL",
9124
- "name": "quiet",
9125
- "allowNo": false,
9126
- "type": "boolean"
9127
9086
  },
9128
- "no-color": {
9129
- "description": "Disable color output",
9130
- "helpGroup": "GLOBAL",
9131
- "name": "no-color",
9132
- "allowNo": false,
9087
+ "status": {
9088
+ "description": "Template is active",
9089
+ "name": "status",
9090
+ "allowNo": true,
9133
9091
  "type": "boolean"
9134
9092
  },
9135
- "profile": {
9136
- "description": "Named configuration profile to use",
9137
- "helpGroup": "GLOBAL",
9138
- "name": "profile",
9139
- "default": "default",
9140
- "hasDynamicHelp": false,
9141
- "multiple": false,
9142
- "type": "option"
9143
- },
9144
- "api-url": {
9145
- "description": "Override the API base URL (e.g. for staging)",
9146
- "helpGroup": "GLOBAL",
9147
- "name": "api-url",
9148
- "hasDynamicHelp": false,
9149
- "multiple": false,
9150
- "type": "option"
9151
- },
9152
- "name": {
9153
- "description": "Tag name",
9154
- "name": "name",
9155
- "hasDynamicHelp": false,
9156
- "multiple": false,
9157
- "type": "option"
9158
- },
9159
- "description": {
9160
- "description": "Tag description",
9161
- "name": "description",
9093
+ "whatsapp-language": {
9094
+ "description": "WhatsApp template language",
9095
+ "name": "whatsapp-language",
9162
9096
  "hasDynamicHelp": false,
9163
9097
  "multiple": false,
9164
9098
  "type": "option"
9165
9099
  },
9166
- "color": {
9167
- "description": "Tag color as HEX",
9168
- "name": "color",
9100
+ "buttons": {
9101
+ "description": "Buttons JSON array/object",
9102
+ "name": "buttons",
9169
9103
  "hasDynamicHelp": false,
9170
9104
  "multiple": false,
9171
9105
  "type": "option"
9172
9106
  },
9173
- "folder": {
9174
- "description": "Object folder ID",
9175
- "name": "folder",
9107
+ "header-footer": {
9108
+ "description": "Header/footer JSON object",
9109
+ "name": "header-footer",
9176
9110
  "hasDynamicHelp": false,
9177
9111
  "multiple": false,
9178
9112
  "type": "option"
@@ -9187,7 +9121,7 @@
9187
9121
  },
9188
9122
  "hasDynamicHelp": false,
9189
9123
  "hiddenAliases": [],
9190
- "id": "tags:update",
9124
+ "id": "templates:create",
9191
9125
  "pluginAlias": "@instantkom/cli",
9192
9126
  "pluginName": "@instantkom/cli",
9193
9127
  "pluginType": "core",
@@ -9197,14 +9131,20 @@
9197
9131
  "relativePath": [
9198
9132
  "dist",
9199
9133
  "commands",
9200
- "tags",
9201
- "update.js"
9134
+ "templates",
9135
+ "create.js"
9202
9136
  ]
9203
9137
  },
9204
- "tags:validate-import": {
9138
+ "templates:delete": {
9205
9139
  "aliases": [],
9206
- "args": {},
9207
- "description": "Validate tags import JSON",
9140
+ "args": {
9141
+ "id": {
9142
+ "description": "template ID",
9143
+ "name": "id",
9144
+ "required": true
9145
+ }
9146
+ },
9147
+ "description": "Delete template",
9208
9148
  "flags": {
9209
9149
  "api-key": {
9210
9150
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9267,19 +9207,11 @@
9267
9207
  "hasDynamicHelp": false,
9268
9208
  "multiple": false,
9269
9209
  "type": "option"
9270
- },
9271
- "file": {
9272
- "description": "JSON file path",
9273
- "name": "file",
9274
- "required": true,
9275
- "hasDynamicHelp": false,
9276
- "multiple": false,
9277
- "type": "option"
9278
9210
  }
9279
9211
  },
9280
9212
  "hasDynamicHelp": false,
9281
9213
  "hiddenAliases": [],
9282
- "id": "tags:validate-import",
9214
+ "id": "templates:delete",
9283
9215
  "pluginAlias": "@instantkom/cli",
9284
9216
  "pluginName": "@instantkom/cli",
9285
9217
  "pluginType": "core",
@@ -9289,14 +9221,14 @@
9289
9221
  "relativePath": [
9290
9222
  "dist",
9291
9223
  "commands",
9292
- "tags",
9293
- "validate-import.js"
9224
+ "templates",
9225
+ "delete.js"
9294
9226
  ]
9295
9227
  },
9296
- "templates:create": {
9228
+ "templates:export": {
9297
9229
  "aliases": [],
9298
9230
  "args": {},
9299
- "description": "Create a message template",
9231
+ "description": "Export templates to a file",
9300
9232
  "flags": {
9301
9233
  "api-key": {
9302
9234
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9308,17 +9240,14 @@
9308
9240
  "type": "option"
9309
9241
  },
9310
9242
  "format": {
9311
- "description": "Output format: text, json, yaml, or table",
9312
- "helpGroup": "GLOBAL",
9243
+ "description": "Export format",
9313
9244
  "name": "format",
9314
- "default": "text",
9245
+ "default": "json",
9315
9246
  "hasDynamicHelp": false,
9316
9247
  "multiple": false,
9317
9248
  "options": [
9318
- "text",
9319
- "json",
9320
- "yaml",
9321
- "table"
9249
+ "csv",
9250
+ "json"
9322
9251
  ],
9323
9252
  "type": "option"
9324
9253
  },
@@ -9360,85 +9289,17 @@
9360
9289
  "multiple": false,
9361
9290
  "type": "option"
9362
9291
  },
9363
- "channel": {
9364
- "description": "Channel ID",
9365
- "name": "channel",
9366
- "required": true,
9367
- "hasDynamicHelp": false,
9368
- "multiple": false,
9369
- "type": "option"
9370
- },
9371
- "name": {
9372
- "description": "Template name",
9373
- "name": "name",
9374
- "required": true,
9375
- "hasDynamicHelp": false,
9376
- "multiple": false,
9377
- "type": "option"
9378
- },
9379
- "type": {
9380
- "description": "Template type",
9381
- "name": "type",
9382
- "default": "text",
9383
- "hasDynamicHelp": false,
9384
- "multiple": false,
9385
- "options": [
9386
- "text",
9387
- "image",
9388
- "video",
9389
- "document",
9390
- "audio",
9391
- "location",
9392
- "contact",
9393
- "interactive"
9394
- ],
9395
- "type": "option"
9396
- },
9397
- "message": {
9398
- "description": "Template message",
9399
- "name": "message",
9292
+ "file": {
9293
+ "description": "Output file path",
9294
+ "name": "file",
9400
9295
  "required": true,
9401
9296
  "hasDynamicHelp": false,
9402
9297
  "multiple": false,
9403
9298
  "type": "option"
9404
9299
  },
9405
- "color": {
9406
- "description": "Template color as HEX",
9407
- "name": "color",
9408
- "hasDynamicHelp": false,
9409
- "multiple": false,
9410
- "type": "option"
9411
- },
9412
- "status": {
9413
- "description": "Template is active",
9414
- "name": "status",
9415
- "allowNo": true,
9416
- "type": "boolean"
9417
- },
9418
- "whatsapp-language": {
9419
- "description": "WhatsApp template language",
9420
- "name": "whatsapp-language",
9421
- "hasDynamicHelp": false,
9422
- "multiple": false,
9423
- "type": "option"
9424
- },
9425
- "buttons": {
9426
- "description": "Buttons JSON array/object",
9427
- "name": "buttons",
9428
- "hasDynamicHelp": false,
9429
- "multiple": false,
9430
- "type": "option"
9431
- },
9432
- "header-footer": {
9433
- "description": "Header/footer JSON object",
9434
- "name": "header-footer",
9435
- "hasDynamicHelp": false,
9436
- "multiple": false,
9437
- "type": "option"
9438
- },
9439
- "data": {
9440
- "description": "Additional JSON object payload",
9441
- "name": "data",
9300
+ "channel": {
9301
+ "description": "Filter by channel ID",
9302
+ "name": "channel",
9442
9303
  "hasDynamicHelp": false,
9443
9304
  "multiple": false,
9444
9305
  "type": "option"
@@ -9446,7 +9307,7 @@
9446
9307
  },
9447
9308
  "hasDynamicHelp": false,
9448
9309
  "hiddenAliases": [],
9449
- "id": "templates:create",
9310
+ "id": "templates:export",
9450
9311
  "pluginAlias": "@instantkom/cli",
9451
9312
  "pluginName": "@instantkom/cli",
9452
9313
  "pluginType": "core",
@@ -9457,19 +9318,19 @@
9457
9318
  "dist",
9458
9319
  "commands",
9459
9320
  "templates",
9460
- "create.js"
9321
+ "export.js"
9461
9322
  ]
9462
9323
  },
9463
- "templates:delete": {
9324
+ "templates:get": {
9464
9325
  "aliases": [],
9465
9326
  "args": {
9466
9327
  "id": {
9467
- "description": "template ID",
9328
+ "description": "Template ID",
9468
9329
  "name": "id",
9469
9330
  "required": true
9470
9331
  }
9471
9332
  },
9472
- "description": "Delete template",
9333
+ "description": "Get a message template by ID",
9473
9334
  "flags": {
9474
9335
  "api-key": {
9475
9336
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9536,7 +9397,7 @@
9536
9397
  },
9537
9398
  "hasDynamicHelp": false,
9538
9399
  "hiddenAliases": [],
9539
- "id": "templates:delete",
9400
+ "id": "templates:get",
9540
9401
  "pluginAlias": "@instantkom/cli",
9541
9402
  "pluginName": "@instantkom/cli",
9542
9403
  "pluginType": "core",
@@ -9547,13 +9408,13 @@
9547
9408
  "dist",
9548
9409
  "commands",
9549
9410
  "templates",
9550
- "delete.js"
9411
+ "get.js"
9551
9412
  ]
9552
9413
  },
9553
- "templates:export": {
9414
+ "templates:import": {
9554
9415
  "aliases": [],
9555
9416
  "args": {},
9556
- "description": "Export templates to a file",
9417
+ "description": "Import templates from JSON",
9557
9418
  "flags": {
9558
9419
  "api-key": {
9559
9420
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9565,14 +9426,17 @@
9565
9426
  "type": "option"
9566
9427
  },
9567
9428
  "format": {
9568
- "description": "Export format",
9429
+ "description": "Output format: text, json, yaml, or table",
9430
+ "helpGroup": "GLOBAL",
9569
9431
  "name": "format",
9570
- "default": "json",
9432
+ "default": "text",
9571
9433
  "hasDynamicHelp": false,
9572
9434
  "multiple": false,
9573
9435
  "options": [
9574
- "csv",
9575
- "json"
9436
+ "text",
9437
+ "json",
9438
+ "yaml",
9439
+ "table"
9576
9440
  ],
9577
9441
  "type": "option"
9578
9442
  },
@@ -9615,7 +9479,7 @@
9615
9479
  "type": "option"
9616
9480
  },
9617
9481
  "file": {
9618
- "description": "Output file path",
9482
+ "description": "JSON file path",
9619
9483
  "name": "file",
9620
9484
  "required": true,
9621
9485
  "hasDynamicHelp": false,
@@ -9623,16 +9487,23 @@
9623
9487
  "type": "option"
9624
9488
  },
9625
9489
  "channel": {
9626
- "description": "Filter by channel ID",
9490
+ "description": "Target channel ID",
9627
9491
  "name": "channel",
9492
+ "required": true,
9628
9493
  "hasDynamicHelp": false,
9629
9494
  "multiple": false,
9630
9495
  "type": "option"
9496
+ },
9497
+ "skip-duplicates": {
9498
+ "description": "Skip duplicate templates",
9499
+ "name": "skip-duplicates",
9500
+ "allowNo": true,
9501
+ "type": "boolean"
9631
9502
  }
9632
9503
  },
9633
9504
  "hasDynamicHelp": false,
9634
9505
  "hiddenAliases": [],
9635
- "id": "templates:export",
9506
+ "id": "templates:import",
9636
9507
  "pluginAlias": "@instantkom/cli",
9637
9508
  "pluginName": "@instantkom/cli",
9638
9509
  "pluginType": "core",
@@ -9643,19 +9514,13 @@
9643
9514
  "dist",
9644
9515
  "commands",
9645
9516
  "templates",
9646
- "export.js"
9517
+ "import.js"
9647
9518
  ]
9648
9519
  },
9649
- "templates:get": {
9520
+ "templates:list": {
9650
9521
  "aliases": [],
9651
- "args": {
9652
- "id": {
9653
- "description": "Template ID",
9654
- "name": "id",
9655
- "required": true
9656
- }
9657
- },
9658
- "description": "Get a message template by ID",
9522
+ "args": {},
9523
+ "description": "List message templates",
9659
9524
  "flags": {
9660
9525
  "api-key": {
9661
9526
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9718,11 +9583,41 @@
9718
9583
  "hasDynamicHelp": false,
9719
9584
  "multiple": false,
9720
9585
  "type": "option"
9586
+ },
9587
+ "channel": {
9588
+ "description": "Filter by channel ID",
9589
+ "name": "channel",
9590
+ "hasDynamicHelp": false,
9591
+ "multiple": false,
9592
+ "type": "option"
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,
9605
+ "hasDynamicHelp": false,
9606
+ "multiple": false,
9607
+ "type": "option"
9608
+ },
9609
+ "limit": {
9610
+ "description": "Items per page",
9611
+ "name": "limit",
9612
+ "default": 20,
9613
+ "hasDynamicHelp": false,
9614
+ "multiple": false,
9615
+ "type": "option"
9721
9616
  }
9722
9617
  },
9723
9618
  "hasDynamicHelp": false,
9724
9619
  "hiddenAliases": [],
9725
- "id": "templates:get",
9620
+ "id": "templates:list",
9726
9621
  "pluginAlias": "@instantkom/cli",
9727
9622
  "pluginName": "@instantkom/cli",
9728
9623
  "pluginType": "core",
@@ -9733,13 +9628,19 @@
9733
9628
  "dist",
9734
9629
  "commands",
9735
9630
  "templates",
9736
- "get.js"
9631
+ "list.js"
9737
9632
  ]
9738
9633
  },
9739
- "templates:import": {
9634
+ "templates:render": {
9740
9635
  "aliases": [],
9741
- "args": {},
9742
- "description": "Import templates from JSON",
9636
+ "args": {
9637
+ "id": {
9638
+ "description": "Template ID",
9639
+ "name": "id",
9640
+ "required": true
9641
+ }
9642
+ },
9643
+ "description": "Render a message template locally",
9743
9644
  "flags": {
9744
9645
  "api-key": {
9745
9646
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9803,32 +9704,17 @@
9803
9704
  "multiple": false,
9804
9705
  "type": "option"
9805
9706
  },
9806
- "file": {
9807
- "description": "JSON file path",
9808
- "name": "file",
9809
- "required": true,
9810
- "hasDynamicHelp": false,
9811
- "multiple": false,
9812
- "type": "option"
9813
- },
9814
- "channel": {
9815
- "description": "Target channel ID",
9816
- "name": "channel",
9817
- "required": true,
9707
+ "vars": {
9708
+ "description": "Template variable as key=value; may be repeated",
9709
+ "name": "vars",
9818
9710
  "hasDynamicHelp": false,
9819
- "multiple": false,
9711
+ "multiple": true,
9820
9712
  "type": "option"
9821
- },
9822
- "skip-duplicates": {
9823
- "description": "Skip duplicate templates",
9824
- "name": "skip-duplicates",
9825
- "allowNo": true,
9826
- "type": "boolean"
9827
9713
  }
9828
9714
  },
9829
9715
  "hasDynamicHelp": false,
9830
9716
  "hiddenAliases": [],
9831
- "id": "templates:import",
9717
+ "id": "templates:render",
9832
9718
  "pluginAlias": "@instantkom/cli",
9833
9719
  "pluginName": "@instantkom/cli",
9834
9720
  "pluginType": "core",
@@ -9839,13 +9725,19 @@
9839
9725
  "dist",
9840
9726
  "commands",
9841
9727
  "templates",
9842
- "import.js"
9728
+ "render.js"
9843
9729
  ]
9844
9730
  },
9845
- "templates:list": {
9731
+ "templates:update": {
9846
9732
  "aliases": [],
9847
- "args": {},
9848
- "description": "List message templates",
9733
+ "args": {
9734
+ "id": {
9735
+ "description": "Template ID",
9736
+ "name": "id",
9737
+ "required": true
9738
+ }
9739
+ },
9740
+ "description": "Update a message template",
9849
9741
  "flags": {
9850
9742
  "api-key": {
9851
9743
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9909,32 +9801,80 @@
9909
9801
  "multiple": false,
9910
9802
  "type": "option"
9911
9803
  },
9912
- "channel": {
9913
- "description": "Filter by channel ID",
9914
- "name": "channel",
9804
+ "name": {
9805
+ "description": "Template name",
9806
+ "name": "name",
9915
9807
  "hasDynamicHelp": false,
9916
9808
  "multiple": false,
9917
9809
  "type": "option"
9918
9810
  },
9919
- "search": {
9920
- "description": "Search templates by name or content",
9921
- "name": "search",
9811
+ "type": {
9812
+ "description": "Template type",
9813
+ "name": "type",
9922
9814
  "hasDynamicHelp": false,
9923
9815
  "multiple": false,
9816
+ "options": [
9817
+ "text",
9818
+ "image",
9819
+ "video",
9820
+ "document",
9821
+ "audio",
9822
+ "location",
9823
+ "contact",
9824
+ "interactive"
9825
+ ],
9924
9826
  "type": "option"
9925
9827
  },
9926
- "page": {
9927
- "description": "Page number",
9928
- "name": "page",
9929
- "default": 1,
9828
+ "message": {
9829
+ "description": "Template message",
9830
+ "name": "message",
9930
9831
  "hasDynamicHelp": false,
9931
9832
  "multiple": false,
9932
9833
  "type": "option"
9933
9834
  },
9934
- "limit": {
9935
- "description": "Items per page",
9936
- "name": "limit",
9937
- "default": 20,
9835
+ "color": {
9836
+ "description": "Template color as HEX",
9837
+ "name": "color",
9838
+ "hasDynamicHelp": false,
9839
+ "multiple": false,
9840
+ "type": "option"
9841
+ },
9842
+ "status": {
9843
+ "description": "Template is active",
9844
+ "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
+ "hasDynamicHelp": false,
9858
+ "multiple": false,
9859
+ "type": "option"
9860
+ },
9861
+ "buttons": {
9862
+ "description": "Buttons JSON array/object",
9863
+ "name": "buttons",
9864
+ "hasDynamicHelp": false,
9865
+ "multiple": false,
9866
+ "type": "option"
9867
+ },
9868
+ "header-footer": {
9869
+ "description": "Header/footer JSON object",
9870
+ "name": "header-footer",
9871
+ "hasDynamicHelp": false,
9872
+ "multiple": false,
9873
+ "type": "option"
9874
+ },
9875
+ "data": {
9876
+ "description": "Additional JSON object payload",
9877
+ "name": "data",
9938
9878
  "hasDynamicHelp": false,
9939
9879
  "multiple": false,
9940
9880
  "type": "option"
@@ -9942,7 +9882,7 @@
9942
9882
  },
9943
9883
  "hasDynamicHelp": false,
9944
9884
  "hiddenAliases": [],
9945
- "id": "templates:list",
9885
+ "id": "templates:update",
9946
9886
  "pluginAlias": "@instantkom/cli",
9947
9887
  "pluginName": "@instantkom/cli",
9948
9888
  "pluginType": "core",
@@ -9953,19 +9893,13 @@
9953
9893
  "dist",
9954
9894
  "commands",
9955
9895
  "templates",
9956
- "list.js"
9896
+ "update.js"
9957
9897
  ]
9958
9898
  },
9959
- "templates:render": {
9899
+ "templates:validate-import": {
9960
9900
  "aliases": [],
9961
- "args": {
9962
- "id": {
9963
- "description": "Template ID",
9964
- "name": "id",
9965
- "required": true
9966
- }
9967
- },
9968
- "description": "Render a message template locally",
9901
+ "args": {},
9902
+ "description": "Validate templates import JSON",
9969
9903
  "flags": {
9970
9904
  "api-key": {
9971
9905
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10029,17 +9963,26 @@
10029
9963
  "multiple": false,
10030
9964
  "type": "option"
10031
9965
  },
10032
- "vars": {
10033
- "description": "Template variable as key=value; may be repeated",
10034
- "name": "vars",
9966
+ "file": {
9967
+ "description": "JSON file path",
9968
+ "name": "file",
9969
+ "required": true,
10035
9970
  "hasDynamicHelp": false,
10036
- "multiple": true,
9971
+ "multiple": false,
9972
+ "type": "option"
9973
+ },
9974
+ "channel": {
9975
+ "description": "Target channel ID",
9976
+ "name": "channel",
9977
+ "required": true,
9978
+ "hasDynamicHelp": false,
9979
+ "multiple": false,
10037
9980
  "type": "option"
10038
9981
  }
10039
9982
  },
10040
9983
  "hasDynamicHelp": false,
10041
9984
  "hiddenAliases": [],
10042
- "id": "templates:render",
9985
+ "id": "templates:validate-import",
10043
9986
  "pluginAlias": "@instantkom/cli",
10044
9987
  "pluginName": "@instantkom/cli",
10045
9988
  "pluginType": "core",
@@ -10050,19 +9993,13 @@
10050
9993
  "dist",
10051
9994
  "commands",
10052
9995
  "templates",
10053
- "render.js"
9996
+ "validate-import.js"
10054
9997
  ]
10055
9998
  },
10056
- "templates:update": {
9999
+ "team:create": {
10057
10000
  "aliases": [],
10058
- "args": {
10059
- "id": {
10060
- "description": "Template ID",
10061
- "name": "id",
10062
- "required": true
10063
- }
10064
- },
10065
- "description": "Update a message template",
10001
+ "args": {},
10002
+ "description": "Create a team member",
10066
10003
  "flags": {
10067
10004
  "api-key": {
10068
10005
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10126,73 +10063,62 @@
10126
10063
  "multiple": false,
10127
10064
  "type": "option"
10128
10065
  },
10129
- "name": {
10130
- "description": "Template name",
10131
- "name": "name",
10066
+ "email": {
10067
+ "description": "Email address",
10068
+ "name": "email",
10069
+ "required": true,
10132
10070
  "hasDynamicHelp": false,
10133
10071
  "multiple": false,
10134
10072
  "type": "option"
10135
10073
  },
10136
- "type": {
10137
- "description": "Template type",
10138
- "name": "type",
10074
+ "first-name": {
10075
+ "description": "First name",
10076
+ "name": "first-name",
10077
+ "required": true,
10139
10078
  "hasDynamicHelp": false,
10140
10079
  "multiple": false,
10141
- "options": [
10142
- "text",
10143
- "image",
10144
- "video",
10145
- "document",
10146
- "audio",
10147
- "location",
10148
- "contact",
10149
- "interactive"
10150
- ],
10151
10080
  "type": "option"
10152
10081
  },
10153
- "message": {
10154
- "description": "Template message",
10155
- "name": "message",
10082
+ "last-name": {
10083
+ "description": "Last name",
10084
+ "name": "last-name",
10085
+ "required": true,
10156
10086
  "hasDynamicHelp": false,
10157
10087
  "multiple": false,
10158
10088
  "type": "option"
10159
10089
  },
10160
- "color": {
10161
- "description": "Template color as HEX",
10162
- "name": "color",
10090
+ "password": {
10091
+ "description": "Initial password",
10092
+ "name": "password",
10093
+ "required": true,
10163
10094
  "hasDynamicHelp": false,
10164
10095
  "multiple": false,
10165
10096
  "type": "option"
10166
10097
  },
10167
- "status": {
10168
- "description": "Template is active",
10169
- "name": "status",
10170
- "allowNo": true,
10171
- "type": "boolean"
10172
- },
10173
- "remove-media": {
10174
- "description": "Remove existing media",
10175
- "name": "remove-media",
10176
- "allowNo": false,
10177
- "type": "boolean"
10098
+ "phone": {
10099
+ "description": "Phone number",
10100
+ "name": "phone",
10101
+ "hasDynamicHelp": false,
10102
+ "multiple": false,
10103
+ "type": "option"
10178
10104
  },
10179
- "whatsapp-language": {
10180
- "description": "WhatsApp template language",
10181
- "name": "whatsapp-language",
10105
+ "company": {
10106
+ "description": "Company name",
10107
+ "name": "company",
10182
10108
  "hasDynamicHelp": false,
10183
10109
  "multiple": false,
10184
10110
  "type": "option"
10185
10111
  },
10186
- "buttons": {
10187
- "description": "Buttons JSON array/object",
10188
- "name": "buttons",
10112
+ "color": {
10113
+ "description": "Color as HEX",
10114
+ "name": "color",
10189
10115
  "hasDynamicHelp": false,
10190
10116
  "multiple": false,
10191
10117
  "type": "option"
10192
10118
  },
10193
- "header-footer": {
10194
- "description": "Header/footer JSON object",
10195
- "name": "header-footer",
10119
+ "folder": {
10120
+ "description": "Object folder ID",
10121
+ "name": "folder",
10196
10122
  "hasDynamicHelp": false,
10197
10123
  "multiple": false,
10198
10124
  "type": "option"
@@ -10207,7 +10133,97 @@
10207
10133
  },
10208
10134
  "hasDynamicHelp": false,
10209
10135
  "hiddenAliases": [],
10210
- "id": "templates:update",
10136
+ "id": "team:create",
10137
+ "pluginAlias": "@instantkom/cli",
10138
+ "pluginName": "@instantkom/cli",
10139
+ "pluginType": "core",
10140
+ "strict": true,
10141
+ "enableJsonFlag": false,
10142
+ "isESM": true,
10143
+ "relativePath": [
10144
+ "dist",
10145
+ "commands",
10146
+ "team",
10147
+ "create.js"
10148
+ ]
10149
+ },
10150
+ "team:delete": {
10151
+ "aliases": [],
10152
+ "args": {
10153
+ "id": {
10154
+ "description": "Team member ID",
10155
+ "name": "id",
10156
+ "required": true
10157
+ }
10158
+ },
10159
+ "description": "Delete a team member",
10160
+ "flags": {
10161
+ "api-key": {
10162
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
10163
+ "env": "IKM_API_KEY",
10164
+ "helpGroup": "GLOBAL",
10165
+ "name": "api-key",
10166
+ "hasDynamicHelp": false,
10167
+ "multiple": false,
10168
+ "type": "option"
10169
+ },
10170
+ "format": {
10171
+ "description": "Output format: text, json, yaml, or table",
10172
+ "helpGroup": "GLOBAL",
10173
+ "name": "format",
10174
+ "default": "text",
10175
+ "hasDynamicHelp": false,
10176
+ "multiple": false,
10177
+ "options": [
10178
+ "text",
10179
+ "json",
10180
+ "yaml",
10181
+ "table"
10182
+ ],
10183
+ "type": "option"
10184
+ },
10185
+ "json": {
10186
+ "description": "Output in JSON format (alias for --format=json)",
10187
+ "helpGroup": "GLOBAL",
10188
+ "name": "json",
10189
+ "allowNo": false,
10190
+ "type": "boolean"
10191
+ },
10192
+ "quiet": {
10193
+ "description": "Suppress all output except errors",
10194
+ "helpGroup": "GLOBAL",
10195
+ "name": "quiet",
10196
+ "allowNo": false,
10197
+ "type": "boolean"
10198
+ },
10199
+ "no-color": {
10200
+ "description": "Disable color output",
10201
+ "helpGroup": "GLOBAL",
10202
+ "name": "no-color",
10203
+ "allowNo": false,
10204
+ "type": "boolean"
10205
+ },
10206
+ "profile": {
10207
+ "description": "Named configuration profile to use",
10208
+ "helpGroup": "GLOBAL",
10209
+ "name": "profile",
10210
+ "default": "default",
10211
+ "hasDynamicHelp": false,
10212
+ "multiple": false,
10213
+ "type": "option"
10214
+ },
10215
+ "api-url": {
10216
+ "description": "Override the API base URL (e.g. for staging)",
10217
+ "helpGroup": "GLOBAL",
10218
+ "name": "api-url",
10219
+ "hasDynamicHelp": false,
10220
+ "multiple": false,
10221
+ "type": "option"
10222
+ }
10223
+ },
10224
+ "hasDynamicHelp": false,
10225
+ "hiddenAliases": [],
10226
+ "id": "team:delete",
10211
10227
  "pluginAlias": "@instantkom/cli",
10212
10228
  "pluginName": "@instantkom/cli",
10213
10229
  "pluginType": "core",
@@ -10217,14 +10233,14 @@
10217
10233
  "relativePath": [
10218
10234
  "dist",
10219
10235
  "commands",
10220
- "templates",
10221
- "update.js"
10236
+ "team",
10237
+ "delete.js"
10222
10238
  ]
10223
10239
  },
10224
- "templates:validate-import": {
10240
+ "team:list": {
10225
10241
  "aliases": [],
10226
10242
  "args": {},
10227
- "description": "Validate templates import JSON",
10243
+ "description": "List team members",
10228
10244
  "flags": {
10229
10245
  "api-key": {
10230
10246
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10287,27 +10303,11 @@
10287
10303
  "hasDynamicHelp": false,
10288
10304
  "multiple": false,
10289
10305
  "type": "option"
10290
- },
10291
- "file": {
10292
- "description": "JSON file path",
10293
- "name": "file",
10294
- "required": true,
10295
- "hasDynamicHelp": false,
10296
- "multiple": false,
10297
- "type": "option"
10298
- },
10299
- "channel": {
10300
- "description": "Target channel ID",
10301
- "name": "channel",
10302
- "required": true,
10303
- "hasDynamicHelp": false,
10304
- "multiple": false,
10305
- "type": "option"
10306
10306
  }
10307
10307
  },
10308
10308
  "hasDynamicHelp": false,
10309
10309
  "hiddenAliases": [],
10310
- "id": "templates:validate-import",
10310
+ "id": "team:list",
10311
10311
  "pluginAlias": "@instantkom/cli",
10312
10312
  "pluginName": "@instantkom/cli",
10313
10313
  "pluginType": "core",
@@ -10317,8 +10317,8 @@
10317
10317
  "relativePath": [
10318
10318
  "dist",
10319
10319
  "commands",
10320
- "templates",
10321
- "validate-import.js"
10320
+ "team",
10321
+ "list.js"
10322
10322
  ]
10323
10323
  },
10324
10324
  "tickets:create": {
@@ -14190,7 +14190,7 @@
14190
14190
  "remove.js"
14191
14191
  ]
14192
14192
  },
14193
- "flow:nodes:create": {
14193
+ "flow:edges:create": {
14194
14194
  "aliases": [],
14195
14195
  "args": {
14196
14196
  "flowId": {
@@ -14199,7 +14199,7 @@
14199
14199
  "required": true
14200
14200
  }
14201
14201
  },
14202
- "description": "Create a flow node",
14202
+ "description": "Create a flow edge",
14203
14203
  "flags": {
14204
14204
  "api-key": {
14205
14205
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14263,33 +14263,33 @@
14263
14263
  "multiple": false,
14264
14264
  "type": "option"
14265
14265
  },
14266
- "bot": {
14267
- "description": "Bot ID",
14268
- "name": "bot",
14266
+ "source": {
14267
+ "description": "Source node ID",
14268
+ "name": "source",
14269
+ "required": true,
14269
14270
  "hasDynamicHelp": false,
14270
14271
  "multiple": false,
14271
14272
  "type": "option"
14272
14273
  },
14273
- "type": {
14274
- "description": "Node type",
14275
- "name": "type",
14274
+ "target": {
14275
+ "description": "Target node ID",
14276
+ "name": "target",
14276
14277
  "required": true,
14277
14278
  "hasDynamicHelp": false,
14278
14279
  "multiple": false,
14279
14280
  "type": "option"
14280
14281
  },
14281
- "x": {
14282
- "description": "X position",
14283
- "name": "x",
14284
- "required": true,
14282
+ "label": {
14283
+ "description": "Edge label",
14284
+ "name": "label",
14285
14285
  "hasDynamicHelp": false,
14286
14286
  "multiple": false,
14287
14287
  "type": "option"
14288
14288
  },
14289
- "y": {
14290
- "description": "Y position",
14291
- "name": "y",
14292
- "required": true,
14289
+ "type": {
14290
+ "description": "Edge type",
14291
+ "name": "type",
14292
+ "default": "default",
14293
14293
  "hasDynamicHelp": false,
14294
14294
  "multiple": false,
14295
14295
  "type": "option"
@@ -14304,7 +14304,7 @@
14304
14304
  },
14305
14305
  "hasDynamicHelp": false,
14306
14306
  "hiddenAliases": [],
14307
- "id": "flow:nodes:create",
14307
+ "id": "flow:edges:create",
14308
14308
  "pluginAlias": "@instantkom/cli",
14309
14309
  "pluginName": "@instantkom/cli",
14310
14310
  "pluginType": "core",
@@ -14315,11 +14315,11 @@
14315
14315
  "dist",
14316
14316
  "commands",
14317
14317
  "flow",
14318
- "nodes",
14318
+ "edges",
14319
14319
  "create.js"
14320
14320
  ]
14321
14321
  },
14322
- "flow:nodes:delete": {
14322
+ "flow:edges:delete": {
14323
14323
  "aliases": [],
14324
14324
  "args": {
14325
14325
  "flowId": {
@@ -14327,13 +14327,13 @@
14327
14327
  "name": "flowId",
14328
14328
  "required": true
14329
14329
  },
14330
- "nodeId": {
14331
- "description": "Node ID",
14332
- "name": "nodeId",
14330
+ "edgeId": {
14331
+ "description": "Edge ID",
14332
+ "name": "edgeId",
14333
14333
  "required": true
14334
14334
  }
14335
14335
  },
14336
- "description": "Delete a flow node",
14336
+ "description": "Delete a flow edge",
14337
14337
  "flags": {
14338
14338
  "api-key": {
14339
14339
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14400,7 +14400,7 @@
14400
14400
  },
14401
14401
  "hasDynamicHelp": false,
14402
14402
  "hiddenAliases": [],
14403
- "id": "flow:nodes:delete",
14403
+ "id": "flow:edges:delete",
14404
14404
  "pluginAlias": "@instantkom/cli",
14405
14405
  "pluginName": "@instantkom/cli",
14406
14406
  "pluginType": "core",
@@ -14411,11 +14411,11 @@
14411
14411
  "dist",
14412
14412
  "commands",
14413
14413
  "flow",
14414
- "nodes",
14414
+ "edges",
14415
14415
  "delete.js"
14416
14416
  ]
14417
14417
  },
14418
- "flow:nodes:get": {
14418
+ "flow:edges:get": {
14419
14419
  "aliases": [],
14420
14420
  "args": {
14421
14421
  "flowId": {
@@ -14423,13 +14423,13 @@
14423
14423
  "name": "flowId",
14424
14424
  "required": true
14425
14425
  },
14426
- "nodeId": {
14427
- "description": "Node ID",
14428
- "name": "nodeId",
14426
+ "edgeId": {
14427
+ "description": "Edge ID",
14428
+ "name": "edgeId",
14429
14429
  "required": true
14430
14430
  }
14431
14431
  },
14432
- "description": "Get a flow node",
14432
+ "description": "Get a flow edge",
14433
14433
  "flags": {
14434
14434
  "api-key": {
14435
14435
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14496,7 +14496,7 @@
14496
14496
  },
14497
14497
  "hasDynamicHelp": false,
14498
14498
  "hiddenAliases": [],
14499
- "id": "flow:nodes:get",
14499
+ "id": "flow:edges:get",
14500
14500
  "pluginAlias": "@instantkom/cli",
14501
14501
  "pluginName": "@instantkom/cli",
14502
14502
  "pluginType": "core",
@@ -14507,11 +14507,11 @@
14507
14507
  "dist",
14508
14508
  "commands",
14509
14509
  "flow",
14510
- "nodes",
14510
+ "edges",
14511
14511
  "get.js"
14512
14512
  ]
14513
14513
  },
14514
- "flow:nodes:list": {
14514
+ "flow:edges:list": {
14515
14515
  "aliases": [],
14516
14516
  "args": {
14517
14517
  "flowId": {
@@ -14520,7 +14520,7 @@
14520
14520
  "required": true
14521
14521
  }
14522
14522
  },
14523
- "description": "List nodes in a flow",
14523
+ "description": "List edges in a flow",
14524
14524
  "flags": {
14525
14525
  "api-key": {
14526
14526
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14587,7 +14587,7 @@
14587
14587
  },
14588
14588
  "hasDynamicHelp": false,
14589
14589
  "hiddenAliases": [],
14590
- "id": "flow:nodes:list",
14590
+ "id": "flow:edges:list",
14591
14591
  "pluginAlias": "@instantkom/cli",
14592
14592
  "pluginName": "@instantkom/cli",
14593
14593
  "pluginType": "core",
@@ -14598,11 +14598,11 @@
14598
14598
  "dist",
14599
14599
  "commands",
14600
14600
  "flow",
14601
- "nodes",
14601
+ "edges",
14602
14602
  "list.js"
14603
14603
  ]
14604
14604
  },
14605
- "flow:nodes:update": {
14605
+ "flow:edges:update": {
14606
14606
  "aliases": [],
14607
14607
  "args": {
14608
14608
  "flowId": {
@@ -14610,13 +14610,13 @@
14610
14610
  "name": "flowId",
14611
14611
  "required": true
14612
14612
  },
14613
- "nodeId": {
14614
- "description": "Node ID",
14615
- "name": "nodeId",
14613
+ "edgeId": {
14614
+ "description": "Edge ID",
14615
+ "name": "edgeId",
14616
14616
  "required": true
14617
14617
  }
14618
14618
  },
14619
- "description": "Update a flow node",
14619
+ "description": "Update a flow edge",
14620
14620
  "flags": {
14621
14621
  "api-key": {
14622
14622
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14680,30 +14680,30 @@
14680
14680
  "multiple": false,
14681
14681
  "type": "option"
14682
14682
  },
14683
- "bot": {
14684
- "description": "Bot ID",
14685
- "name": "bot",
14683
+ "source": {
14684
+ "description": "Source node ID",
14685
+ "name": "source",
14686
14686
  "hasDynamicHelp": false,
14687
14687
  "multiple": false,
14688
14688
  "type": "option"
14689
14689
  },
14690
- "type": {
14691
- "description": "Node type",
14692
- "name": "type",
14690
+ "target": {
14691
+ "description": "Target node ID",
14692
+ "name": "target",
14693
14693
  "hasDynamicHelp": false,
14694
14694
  "multiple": false,
14695
14695
  "type": "option"
14696
14696
  },
14697
- "x": {
14698
- "description": "X position",
14699
- "name": "x",
14697
+ "label": {
14698
+ "description": "Edge label",
14699
+ "name": "label",
14700
14700
  "hasDynamicHelp": false,
14701
14701
  "multiple": false,
14702
14702
  "type": "option"
14703
14703
  },
14704
- "y": {
14705
- "description": "Y position",
14706
- "name": "y",
14704
+ "type": {
14705
+ "description": "Edge type",
14706
+ "name": "type",
14707
14707
  "hasDynamicHelp": false,
14708
14708
  "multiple": false,
14709
14709
  "type": "option"
@@ -14718,7 +14718,7 @@
14718
14718
  },
14719
14719
  "hasDynamicHelp": false,
14720
14720
  "hiddenAliases": [],
14721
- "id": "flow:nodes:update",
14721
+ "id": "flow:edges:update",
14722
14722
  "pluginAlias": "@instantkom/cli",
14723
14723
  "pluginName": "@instantkom/cli",
14724
14724
  "pluginType": "core",
@@ -14729,11 +14729,11 @@
14729
14729
  "dist",
14730
14730
  "commands",
14731
14731
  "flow",
14732
- "nodes",
14732
+ "edges",
14733
14733
  "update.js"
14734
14734
  ]
14735
14735
  },
14736
- "flow:edges:create": {
14736
+ "flow:nodes:create": {
14737
14737
  "aliases": [],
14738
14738
  "args": {
14739
14739
  "flowId": {
@@ -14742,7 +14742,7 @@
14742
14742
  "required": true
14743
14743
  }
14744
14744
  },
14745
- "description": "Create a flow edge",
14745
+ "description": "Create a flow node",
14746
14746
  "flags": {
14747
14747
  "api-key": {
14748
14748
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14806,33 +14806,33 @@
14806
14806
  "multiple": false,
14807
14807
  "type": "option"
14808
14808
  },
14809
- "source": {
14810
- "description": "Source node ID",
14811
- "name": "source",
14812
- "required": true,
14809
+ "bot": {
14810
+ "description": "Bot ID",
14811
+ "name": "bot",
14813
14812
  "hasDynamicHelp": false,
14814
14813
  "multiple": false,
14815
14814
  "type": "option"
14816
14815
  },
14817
- "target": {
14818
- "description": "Target node ID",
14819
- "name": "target",
14816
+ "type": {
14817
+ "description": "Node type",
14818
+ "name": "type",
14820
14819
  "required": true,
14821
14820
  "hasDynamicHelp": false,
14822
14821
  "multiple": false,
14823
14822
  "type": "option"
14824
14823
  },
14825
- "label": {
14826
- "description": "Edge label",
14827
- "name": "label",
14824
+ "x": {
14825
+ "description": "X position",
14826
+ "name": "x",
14827
+ "required": true,
14828
14828
  "hasDynamicHelp": false,
14829
14829
  "multiple": false,
14830
14830
  "type": "option"
14831
14831
  },
14832
- "type": {
14833
- "description": "Edge type",
14834
- "name": "type",
14835
- "default": "default",
14832
+ "y": {
14833
+ "description": "Y position",
14834
+ "name": "y",
14835
+ "required": true,
14836
14836
  "hasDynamicHelp": false,
14837
14837
  "multiple": false,
14838
14838
  "type": "option"
@@ -14847,7 +14847,7 @@
14847
14847
  },
14848
14848
  "hasDynamicHelp": false,
14849
14849
  "hiddenAliases": [],
14850
- "id": "flow:edges:create",
14850
+ "id": "flow:nodes:create",
14851
14851
  "pluginAlias": "@instantkom/cli",
14852
14852
  "pluginName": "@instantkom/cli",
14853
14853
  "pluginType": "core",
@@ -14858,11 +14858,11 @@
14858
14858
  "dist",
14859
14859
  "commands",
14860
14860
  "flow",
14861
- "edges",
14861
+ "nodes",
14862
14862
  "create.js"
14863
14863
  ]
14864
14864
  },
14865
- "flow:edges:delete": {
14865
+ "flow:nodes:delete": {
14866
14866
  "aliases": [],
14867
14867
  "args": {
14868
14868
  "flowId": {
@@ -14870,13 +14870,13 @@
14870
14870
  "name": "flowId",
14871
14871
  "required": true
14872
14872
  },
14873
- "edgeId": {
14874
- "description": "Edge ID",
14875
- "name": "edgeId",
14873
+ "nodeId": {
14874
+ "description": "Node ID",
14875
+ "name": "nodeId",
14876
14876
  "required": true
14877
14877
  }
14878
14878
  },
14879
- "description": "Delete a flow edge",
14879
+ "description": "Delete a flow node",
14880
14880
  "flags": {
14881
14881
  "api-key": {
14882
14882
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14943,7 +14943,7 @@
14943
14943
  },
14944
14944
  "hasDynamicHelp": false,
14945
14945
  "hiddenAliases": [],
14946
- "id": "flow:edges:delete",
14946
+ "id": "flow:nodes:delete",
14947
14947
  "pluginAlias": "@instantkom/cli",
14948
14948
  "pluginName": "@instantkom/cli",
14949
14949
  "pluginType": "core",
@@ -14954,11 +14954,11 @@
14954
14954
  "dist",
14955
14955
  "commands",
14956
14956
  "flow",
14957
- "edges",
14957
+ "nodes",
14958
14958
  "delete.js"
14959
14959
  ]
14960
14960
  },
14961
- "flow:edges:get": {
14961
+ "flow:nodes:get": {
14962
14962
  "aliases": [],
14963
14963
  "args": {
14964
14964
  "flowId": {
@@ -14966,13 +14966,13 @@
14966
14966
  "name": "flowId",
14967
14967
  "required": true
14968
14968
  },
14969
- "edgeId": {
14970
- "description": "Edge ID",
14971
- "name": "edgeId",
14969
+ "nodeId": {
14970
+ "description": "Node ID",
14971
+ "name": "nodeId",
14972
14972
  "required": true
14973
14973
  }
14974
14974
  },
14975
- "description": "Get a flow edge",
14975
+ "description": "Get a flow node",
14976
14976
  "flags": {
14977
14977
  "api-key": {
14978
14978
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15039,7 +15039,7 @@
15039
15039
  },
15040
15040
  "hasDynamicHelp": false,
15041
15041
  "hiddenAliases": [],
15042
- "id": "flow:edges:get",
15042
+ "id": "flow:nodes:get",
15043
15043
  "pluginAlias": "@instantkom/cli",
15044
15044
  "pluginName": "@instantkom/cli",
15045
15045
  "pluginType": "core",
@@ -15050,11 +15050,11 @@
15050
15050
  "dist",
15051
15051
  "commands",
15052
15052
  "flow",
15053
- "edges",
15053
+ "nodes",
15054
15054
  "get.js"
15055
15055
  ]
15056
15056
  },
15057
- "flow:edges:list": {
15057
+ "flow:nodes:list": {
15058
15058
  "aliases": [],
15059
15059
  "args": {
15060
15060
  "flowId": {
@@ -15063,7 +15063,7 @@
15063
15063
  "required": true
15064
15064
  }
15065
15065
  },
15066
- "description": "List edges in a flow",
15066
+ "description": "List nodes in a flow",
15067
15067
  "flags": {
15068
15068
  "api-key": {
15069
15069
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15130,7 +15130,7 @@
15130
15130
  },
15131
15131
  "hasDynamicHelp": false,
15132
15132
  "hiddenAliases": [],
15133
- "id": "flow:edges:list",
15133
+ "id": "flow:nodes:list",
15134
15134
  "pluginAlias": "@instantkom/cli",
15135
15135
  "pluginName": "@instantkom/cli",
15136
15136
  "pluginType": "core",
@@ -15141,11 +15141,11 @@
15141
15141
  "dist",
15142
15142
  "commands",
15143
15143
  "flow",
15144
- "edges",
15144
+ "nodes",
15145
15145
  "list.js"
15146
15146
  ]
15147
15147
  },
15148
- "flow:edges:update": {
15148
+ "flow:nodes:update": {
15149
15149
  "aliases": [],
15150
15150
  "args": {
15151
15151
  "flowId": {
@@ -15153,13 +15153,13 @@
15153
15153
  "name": "flowId",
15154
15154
  "required": true
15155
15155
  },
15156
- "edgeId": {
15157
- "description": "Edge ID",
15158
- "name": "edgeId",
15156
+ "nodeId": {
15157
+ "description": "Node ID",
15158
+ "name": "nodeId",
15159
15159
  "required": true
15160
15160
  }
15161
15161
  },
15162
- "description": "Update a flow edge",
15162
+ "description": "Update a flow node",
15163
15163
  "flags": {
15164
15164
  "api-key": {
15165
15165
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15223,30 +15223,30 @@
15223
15223
  "multiple": false,
15224
15224
  "type": "option"
15225
15225
  },
15226
- "source": {
15227
- "description": "Source node ID",
15228
- "name": "source",
15226
+ "bot": {
15227
+ "description": "Bot ID",
15228
+ "name": "bot",
15229
15229
  "hasDynamicHelp": false,
15230
15230
  "multiple": false,
15231
15231
  "type": "option"
15232
15232
  },
15233
- "target": {
15234
- "description": "Target node ID",
15235
- "name": "target",
15233
+ "type": {
15234
+ "description": "Node type",
15235
+ "name": "type",
15236
15236
  "hasDynamicHelp": false,
15237
15237
  "multiple": false,
15238
15238
  "type": "option"
15239
15239
  },
15240
- "label": {
15241
- "description": "Edge label",
15242
- "name": "label",
15240
+ "x": {
15241
+ "description": "X position",
15242
+ "name": "x",
15243
15243
  "hasDynamicHelp": false,
15244
15244
  "multiple": false,
15245
15245
  "type": "option"
15246
15246
  },
15247
- "type": {
15248
- "description": "Edge type",
15249
- "name": "type",
15247
+ "y": {
15248
+ "description": "Y position",
15249
+ "name": "y",
15250
15250
  "hasDynamicHelp": false,
15251
15251
  "multiple": false,
15252
15252
  "type": "option"
@@ -15261,7 +15261,7 @@
15261
15261
  },
15262
15262
  "hasDynamicHelp": false,
15263
15263
  "hiddenAliases": [],
15264
- "id": "flow:edges:update",
15264
+ "id": "flow:nodes:update",
15265
15265
  "pluginAlias": "@instantkom/cli",
15266
15266
  "pluginName": "@instantkom/cli",
15267
15267
  "pluginType": "core",
@@ -15272,7 +15272,7 @@
15272
15272
  "dist",
15273
15273
  "commands",
15274
15274
  "flow",
15275
- "edges",
15275
+ "nodes",
15276
15276
  "update.js"
15277
15277
  ]
15278
15278
  },
@@ -16352,5 +16352,5 @@
16352
16352
  ]
16353
16353
  }
16354
16354
  },
16355
- "version": "3.140.0"
16355
+ "version": "3.140.2"
16356
16356
  }