@instantkom/cli 3.134.0 → 3.134.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1073,40 +1073,6 @@
1073
1073
  "reply.js"
1074
1074
  ]
1075
1075
  },
1076
- "autocomplete:script": {
1077
- "aliases": [],
1078
- "args": {
1079
- "shell": {
1080
- "description": "Shell type",
1081
- "name": "shell",
1082
- "options": [
1083
- "zsh",
1084
- "bash",
1085
- "fish",
1086
- "powershell"
1087
- ],
1088
- "required": false
1089
- }
1090
- },
1091
- "description": "outputs autocomplete config script for shells",
1092
- "flags": {},
1093
- "hasDynamicHelp": false,
1094
- "hidden": true,
1095
- "hiddenAliases": [],
1096
- "id": "autocomplete:script",
1097
- "pluginAlias": "@instantkom/cli",
1098
- "pluginName": "@instantkom/cli",
1099
- "pluginType": "core",
1100
- "strict": true,
1101
- "enableJsonFlag": false,
1102
- "isESM": true,
1103
- "relativePath": [
1104
- "dist",
1105
- "commands",
1106
- "autocomplete",
1107
- "script.js"
1108
- ]
1109
- },
1110
1076
  "auth:login": {
1111
1077
  "aliases": [],
1112
1078
  "args": {},
@@ -1289,6 +1255,40 @@
1289
1255
  "logout.js"
1290
1256
  ]
1291
1257
  },
1258
+ "autocomplete:script": {
1259
+ "aliases": [],
1260
+ "args": {
1261
+ "shell": {
1262
+ "description": "Shell type",
1263
+ "name": "shell",
1264
+ "options": [
1265
+ "zsh",
1266
+ "bash",
1267
+ "fish",
1268
+ "powershell"
1269
+ ],
1270
+ "required": false
1271
+ }
1272
+ },
1273
+ "description": "outputs autocomplete config script for shells",
1274
+ "flags": {},
1275
+ "hasDynamicHelp": false,
1276
+ "hidden": true,
1277
+ "hiddenAliases": [],
1278
+ "id": "autocomplete:script",
1279
+ "pluginAlias": "@instantkom/cli",
1280
+ "pluginName": "@instantkom/cli",
1281
+ "pluginType": "core",
1282
+ "strict": true,
1283
+ "enableJsonFlag": false,
1284
+ "isESM": true,
1285
+ "relativePath": [
1286
+ "dist",
1287
+ "commands",
1288
+ "autocomplete",
1289
+ "script.js"
1290
+ ]
1291
+ },
1292
1292
  "bots:create": {
1293
1293
  "aliases": [],
1294
1294
  "args": {},
@@ -2562,16 +2562,16 @@
2562
2562
  "update.js"
2563
2563
  ]
2564
2564
  },
2565
- "config:get": {
2565
+ "chats:get": {
2566
2566
  "aliases": [],
2567
2567
  "args": {
2568
- "key": {
2569
- "description": "Configuration key to retrieve",
2570
- "name": "key",
2568
+ "id": {
2569
+ "description": "chat ID",
2570
+ "name": "id",
2571
2571
  "required": true
2572
2572
  }
2573
2573
  },
2574
- "description": "Get a configuration value for the current profile",
2574
+ "description": "Get chat by ID",
2575
2575
  "flags": {
2576
2576
  "api-key": {
2577
2577
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2638,7 +2638,7 @@
2638
2638
  },
2639
2639
  "hasDynamicHelp": false,
2640
2640
  "hiddenAliases": [],
2641
- "id": "config:get",
2641
+ "id": "chats:get",
2642
2642
  "pluginAlias": "@instantkom/cli",
2643
2643
  "pluginName": "@instantkom/cli",
2644
2644
  "pluginType": "core",
@@ -2648,25 +2648,14 @@
2648
2648
  "relativePath": [
2649
2649
  "dist",
2650
2650
  "commands",
2651
- "config",
2651
+ "chats",
2652
2652
  "get.js"
2653
2653
  ]
2654
2654
  },
2655
- "config:set": {
2655
+ "chats:list": {
2656
2656
  "aliases": [],
2657
- "args": {
2658
- "key": {
2659
- "description": "Configuration key to set",
2660
- "name": "key",
2661
- "required": true
2662
- },
2663
- "value": {
2664
- "description": "Value to assign",
2665
- "name": "value",
2666
- "required": true
2667
- }
2668
- },
2669
- "description": "Set a configuration value for the current profile",
2657
+ "args": {},
2658
+ "description": "List chats",
2670
2659
  "flags": {
2671
2660
  "api-key": {
2672
2661
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2729,101 +2718,73 @@
2729
2718
  "hasDynamicHelp": false,
2730
2719
  "multiple": false,
2731
2720
  "type": "option"
2732
- }
2733
- },
2734
- "hasDynamicHelp": false,
2735
- "hiddenAliases": [],
2736
- "id": "config:set",
2737
- "pluginAlias": "@instantkom/cli",
2738
- "pluginName": "@instantkom/cli",
2739
- "pluginType": "core",
2740
- "strict": true,
2741
- "enableJsonFlag": false,
2742
- "isESM": true,
2743
- "relativePath": [
2744
- "dist",
2745
- "commands",
2746
- "config",
2747
- "set.js"
2748
- ]
2749
- },
2750
- "config:unset": {
2751
- "aliases": [],
2752
- "args": {
2753
- "key": {
2754
- "description": "Configuration key to remove",
2755
- "name": "key",
2756
- "required": true
2757
- }
2758
- },
2759
- "description": "Remove a configuration key from the current profile",
2760
- "flags": {
2761
- "api-key": {
2762
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
2763
- "env": "IKM_API_KEY",
2764
- "helpGroup": "GLOBAL",
2765
- "name": "api-key",
2721
+ },
2722
+ "page": {
2723
+ "description": "Page number",
2724
+ "name": "page",
2725
+ "default": 1,
2766
2726
  "hasDynamicHelp": false,
2767
2727
  "multiple": false,
2768
2728
  "type": "option"
2769
2729
  },
2770
- "format": {
2771
- "description": "Output format: text, json, yaml, or table",
2772
- "helpGroup": "GLOBAL",
2773
- "name": "format",
2774
- "default": "text",
2730
+ "limit": {
2731
+ "description": "Items per page",
2732
+ "name": "limit",
2733
+ "default": 20,
2775
2734
  "hasDynamicHelp": false,
2776
2735
  "multiple": false,
2777
- "options": [
2778
- "text",
2779
- "json",
2780
- "yaml",
2781
- "table"
2782
- ],
2783
2736
  "type": "option"
2784
2737
  },
2785
- "json": {
2786
- "description": "Output in JSON format (alias for --format=json)",
2787
- "helpGroup": "GLOBAL",
2788
- "name": "json",
2789
- "allowNo": false,
2790
- "type": "boolean"
2791
- },
2792
- "quiet": {
2793
- "description": "Suppress all output except errors",
2794
- "helpGroup": "GLOBAL",
2795
- "name": "quiet",
2796
- "allowNo": false,
2797
- "type": "boolean"
2738
+ "channel": {
2739
+ "description": "Filter by channel ID",
2740
+ "name": "channel",
2741
+ "hasDynamicHelp": false,
2742
+ "multiple": false,
2743
+ "type": "option"
2798
2744
  },
2799
- "no-color": {
2800
- "description": "Disable color output",
2801
- "helpGroup": "GLOBAL",
2802
- "name": "no-color",
2803
- "allowNo": false,
2804
- "type": "boolean"
2745
+ "channels": {
2746
+ "description": "Comma-separated channel IDs",
2747
+ "name": "channels",
2748
+ "hasDynamicHelp": false,
2749
+ "multiple": false,
2750
+ "type": "option"
2805
2751
  },
2806
- "profile": {
2807
- "description": "Named configuration profile to use",
2808
- "helpGroup": "GLOBAL",
2809
- "name": "profile",
2810
- "default": "default",
2752
+ "search": {
2753
+ "description": "Search chats",
2754
+ "name": "search",
2811
2755
  "hasDynamicHelp": false,
2812
2756
  "multiple": false,
2813
2757
  "type": "option"
2814
2758
  },
2815
- "api-url": {
2816
- "description": "Override the API base URL (e.g. for staging)",
2817
- "helpGroup": "GLOBAL",
2818
- "name": "api-url",
2759
+ "status": {
2760
+ "description": "Chat status",
2761
+ "name": "status",
2819
2762
  "hasDynamicHelp": false,
2820
2763
  "multiple": false,
2764
+ "options": [
2765
+ "all",
2766
+ "unread",
2767
+ "read",
2768
+ "archived"
2769
+ ],
2821
2770
  "type": "option"
2771
+ },
2772
+ "unread-only": {
2773
+ "description": "Only unread chats",
2774
+ "name": "unread-only",
2775
+ "allowNo": false,
2776
+ "type": "boolean"
2777
+ },
2778
+ "include-archived": {
2779
+ "description": "Include archived chats",
2780
+ "name": "include-archived",
2781
+ "allowNo": false,
2782
+ "type": "boolean"
2822
2783
  }
2823
2784
  },
2824
2785
  "hasDynamicHelp": false,
2825
2786
  "hiddenAliases": [],
2826
- "id": "config:unset",
2787
+ "id": "chats:list",
2827
2788
  "pluginAlias": "@instantkom/cli",
2828
2789
  "pluginName": "@instantkom/cli",
2829
2790
  "pluginType": "core",
@@ -2833,20 +2794,20 @@
2833
2794
  "relativePath": [
2834
2795
  "dist",
2835
2796
  "commands",
2836
- "config",
2837
- "unset.js"
2797
+ "chats",
2798
+ "list.js"
2838
2799
  ]
2839
2800
  },
2840
- "chats:get": {
2801
+ "chats:reply": {
2841
2802
  "aliases": [],
2842
2803
  "args": {
2843
2804
  "id": {
2844
- "description": "chat ID",
2805
+ "description": "Chat ID",
2845
2806
  "name": "id",
2846
2807
  "required": true
2847
2808
  }
2848
2809
  },
2849
- "description": "Get chat by ID",
2810
+ "description": "Reply in a chat",
2850
2811
  "flags": {
2851
2812
  "api-key": {
2852
2813
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2909,11 +2870,19 @@
2909
2870
  "hasDynamicHelp": false,
2910
2871
  "multiple": false,
2911
2872
  "type": "option"
2873
+ },
2874
+ "text": {
2875
+ "description": "Reply text",
2876
+ "name": "text",
2877
+ "required": true,
2878
+ "hasDynamicHelp": false,
2879
+ "multiple": false,
2880
+ "type": "option"
2912
2881
  }
2913
2882
  },
2914
2883
  "hasDynamicHelp": false,
2915
2884
  "hiddenAliases": [],
2916
- "id": "chats:get",
2885
+ "id": "chats:reply",
2917
2886
  "pluginAlias": "@instantkom/cli",
2918
2887
  "pluginName": "@instantkom/cli",
2919
2888
  "pluginType": "core",
@@ -2924,13 +2893,13 @@
2924
2893
  "dist",
2925
2894
  "commands",
2926
2895
  "chats",
2927
- "get.js"
2896
+ "reply.js"
2928
2897
  ]
2929
2898
  },
2930
- "chats:list": {
2899
+ "broadcast:create": {
2931
2900
  "aliases": [],
2932
2901
  "args": {},
2933
- "description": "List chats",
2902
+ "description": "Create a broadcast for channels or segments",
2934
2903
  "flags": {
2935
2904
  "api-key": {
2936
2905
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2994,72 +2963,92 @@
2994
2963
  "multiple": false,
2995
2964
  "type": "option"
2996
2965
  },
2997
- "page": {
2998
- "description": "Page number",
2999
- "name": "page",
3000
- "default": 1,
2966
+ "channel": {
2967
+ "description": "Channel ID target",
2968
+ "name": "channel",
3001
2969
  "hasDynamicHelp": false,
3002
2970
  "multiple": false,
3003
2971
  "type": "option"
3004
2972
  },
3005
- "limit": {
3006
- "description": "Items per page",
3007
- "name": "limit",
3008
- "default": 20,
2973
+ "segment": {
2974
+ "description": "Segment ID within --channel",
2975
+ "name": "segment",
3009
2976
  "hasDynamicHelp": false,
3010
2977
  "multiple": false,
3011
2978
  "type": "option"
3012
2979
  },
3013
- "channel": {
3014
- "description": "Filter by channel ID",
3015
- "name": "channel",
2980
+ "target": {
2981
+ "description": "Target as channelId or channelId:segmentId; may be repeated",
2982
+ "name": "target",
2983
+ "hasDynamicHelp": false,
2984
+ "multiple": true,
2985
+ "type": "option"
2986
+ },
2987
+ "text": {
2988
+ "description": "Broadcast message text",
2989
+ "name": "text",
2990
+ "required": true,
3016
2991
  "hasDynamicHelp": false,
3017
2992
  "multiple": false,
3018
2993
  "type": "option"
3019
2994
  },
3020
- "channels": {
3021
- "description": "Comma-separated channel IDs",
3022
- "name": "channels",
2995
+ "send-at": {
2996
+ "description": "Schedule send for an ISO-8601 date-time",
2997
+ "name": "send-at",
3023
2998
  "hasDynamicHelp": false,
3024
2999
  "multiple": false,
3025
3000
  "type": "option"
3026
3001
  },
3027
- "search": {
3028
- "description": "Search chats",
3029
- "name": "search",
3002
+ "dry-run": {
3003
+ "description": "Validate and print the broadcast payload without mutating API calls",
3004
+ "name": "dry-run",
3005
+ "allowNo": false,
3006
+ "type": "boolean"
3007
+ },
3008
+ "idempotency-key": {
3009
+ "description": "Idempotency key forwarded as Idempotency-Key",
3010
+ "name": "idempotency-key",
3030
3011
  "hasDynamicHelp": false,
3031
3012
  "multiple": false,
3032
3013
  "type": "option"
3033
3014
  },
3034
- "status": {
3035
- "description": "Chat status",
3036
- "name": "status",
3015
+ "media": {
3016
+ "description": "Media file path to upload",
3017
+ "name": "media",
3018
+ "hasDynamicHelp": false,
3019
+ "multiple": true,
3020
+ "type": "option"
3021
+ },
3022
+ "template-id": {
3023
+ "description": "WhatsApp template ID",
3024
+ "name": "template-id",
3025
+ "hasDynamicHelp": false,
3026
+ "multiple": false,
3027
+ "type": "option"
3028
+ },
3029
+ "send-status": {
3030
+ "description": "Initial broadcast send status",
3031
+ "name": "send-status",
3032
+ "default": "draft",
3037
3033
  "hasDynamicHelp": false,
3038
3034
  "multiple": false,
3039
3035
  "options": [
3040
- "all",
3041
- "unread",
3042
- "read",
3043
- "archived"
3036
+ "draft",
3037
+ "scheduled",
3038
+ "sending"
3044
3039
  ],
3045
3040
  "type": "option"
3046
3041
  },
3047
- "unread-only": {
3048
- "description": "Only unread chats",
3049
- "name": "unread-only",
3050
- "allowNo": false,
3051
- "type": "boolean"
3052
- },
3053
- "include-archived": {
3054
- "description": "Include archived chats",
3055
- "name": "include-archived",
3042
+ "auto-approve": {
3043
+ "description": "Auto-approve broadcast when allowed by API permissions",
3044
+ "name": "auto-approve",
3056
3045
  "allowNo": false,
3057
3046
  "type": "boolean"
3058
3047
  }
3059
3048
  },
3060
3049
  "hasDynamicHelp": false,
3061
3050
  "hiddenAliases": [],
3062
- "id": "chats:list",
3051
+ "id": "broadcast:create",
3063
3052
  "pluginAlias": "@instantkom/cli",
3064
3053
  "pluginName": "@instantkom/cli",
3065
3054
  "pluginType": "core",
@@ -3069,20 +3058,20 @@
3069
3058
  "relativePath": [
3070
3059
  "dist",
3071
3060
  "commands",
3072
- "chats",
3073
- "list.js"
3061
+ "broadcast",
3062
+ "create.js"
3074
3063
  ]
3075
3064
  },
3076
- "chats:reply": {
3065
+ "broadcast:delete": {
3077
3066
  "aliases": [],
3078
3067
  "args": {
3079
3068
  "id": {
3080
- "description": "Chat ID",
3069
+ "description": "broadcast ID",
3081
3070
  "name": "id",
3082
3071
  "required": true
3083
3072
  }
3084
3073
  },
3085
- "description": "Reply in a chat",
3074
+ "description": "Delete broadcast",
3086
3075
  "flags": {
3087
3076
  "api-key": {
3088
3077
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3145,19 +3134,11 @@
3145
3134
  "hasDynamicHelp": false,
3146
3135
  "multiple": false,
3147
3136
  "type": "option"
3148
- },
3149
- "text": {
3150
- "description": "Reply text",
3151
- "name": "text",
3152
- "required": true,
3153
- "hasDynamicHelp": false,
3154
- "multiple": false,
3155
- "type": "option"
3156
3137
  }
3157
3138
  },
3158
3139
  "hasDynamicHelp": false,
3159
3140
  "hiddenAliases": [],
3160
- "id": "chats:reply",
3141
+ "id": "broadcast:delete",
3161
3142
  "pluginAlias": "@instantkom/cli",
3162
3143
  "pluginName": "@instantkom/cli",
3163
3144
  "pluginType": "core",
@@ -3167,14 +3148,20 @@
3167
3148
  "relativePath": [
3168
3149
  "dist",
3169
3150
  "commands",
3170
- "chats",
3171
- "reply.js"
3151
+ "broadcast",
3152
+ "delete.js"
3172
3153
  ]
3173
3154
  },
3174
- "contacts:create": {
3155
+ "broadcast:get": {
3175
3156
  "aliases": [],
3176
- "args": {},
3177
- "description": "Create a contact",
3157
+ "args": {
3158
+ "id": {
3159
+ "description": "broadcast ID",
3160
+ "name": "id",
3161
+ "required": true
3162
+ }
3163
+ },
3164
+ "description": "Get broadcast by ID",
3178
3165
  "flags": {
3179
3166
  "api-key": {
3180
3167
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3237,41 +3224,11 @@
3237
3224
  "hasDynamicHelp": false,
3238
3225
  "multiple": false,
3239
3226
  "type": "option"
3240
- },
3241
- "channel": {
3242
- "description": "Channel ID",
3243
- "name": "channel",
3244
- "required": true,
3245
- "hasDynamicHelp": false,
3246
- "multiple": false,
3247
- "type": "option"
3248
- },
3249
- "identifier": {
3250
- "description": "Unique contact identifier",
3251
- "name": "identifier",
3252
- "required": true,
3253
- "hasDynamicHelp": false,
3254
- "multiple": false,
3255
- "type": "option"
3256
- },
3257
- "name": {
3258
- "description": "Contact name",
3259
- "name": "name",
3260
- "hasDynamicHelp": false,
3261
- "multiple": false,
3262
- "type": "option"
3263
- },
3264
- "data": {
3265
- "description": "Additional JSON object payload",
3266
- "name": "data",
3267
- "hasDynamicHelp": false,
3268
- "multiple": false,
3269
- "type": "option"
3270
3227
  }
3271
3228
  },
3272
3229
  "hasDynamicHelp": false,
3273
3230
  "hiddenAliases": [],
3274
- "id": "contacts:create",
3231
+ "id": "broadcast:get",
3275
3232
  "pluginAlias": "@instantkom/cli",
3276
3233
  "pluginName": "@instantkom/cli",
3277
3234
  "pluginType": "core",
@@ -3281,20 +3238,14 @@
3281
3238
  "relativePath": [
3282
3239
  "dist",
3283
3240
  "commands",
3284
- "contacts",
3285
- "create.js"
3241
+ "broadcast",
3242
+ "get.js"
3286
3243
  ]
3287
3244
  },
3288
- "contacts:delete": {
3245
+ "broadcast:list": {
3289
3246
  "aliases": [],
3290
- "args": {
3291
- "id": {
3292
- "description": "Contact ID",
3293
- "name": "id",
3294
- "required": true
3295
- }
3296
- },
3297
- "description": "Delete a contact",
3247
+ "args": {},
3248
+ "description": "List broadcasts",
3298
3249
  "flags": {
3299
3250
  "api-key": {
3300
3251
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3357,11 +3308,73 @@
3357
3308
  "hasDynamicHelp": false,
3358
3309
  "multiple": false,
3359
3310
  "type": "option"
3311
+ },
3312
+ "page": {
3313
+ "description": "Page number",
3314
+ "name": "page",
3315
+ "default": 1,
3316
+ "hasDynamicHelp": false,
3317
+ "multiple": false,
3318
+ "type": "option"
3319
+ },
3320
+ "limit": {
3321
+ "description": "Items per page",
3322
+ "name": "limit",
3323
+ "default": 20,
3324
+ "hasDynamicHelp": false,
3325
+ "multiple": false,
3326
+ "type": "option"
3327
+ },
3328
+ "channel": {
3329
+ "description": "Filter by channel ID",
3330
+ "name": "channel",
3331
+ "hasDynamicHelp": false,
3332
+ "multiple": false,
3333
+ "type": "option"
3334
+ },
3335
+ "send-status": {
3336
+ "description": "Filter by send status",
3337
+ "name": "send-status",
3338
+ "hasDynamicHelp": false,
3339
+ "multiple": false,
3340
+ "type": "option"
3341
+ },
3342
+ "type": {
3343
+ "description": "Broadcast type",
3344
+ "name": "type",
3345
+ "hasDynamicHelp": false,
3346
+ "multiple": false,
3347
+ "options": [
3348
+ "text",
3349
+ "image",
3350
+ "video",
3351
+ "audio",
3352
+ "document"
3353
+ ],
3354
+ "type": "option"
3355
+ },
3356
+ "search": {
3357
+ "description": "Search broadcasts",
3358
+ "name": "search",
3359
+ "hasDynamicHelp": false,
3360
+ "multiple": false,
3361
+ "type": "option"
3362
+ },
3363
+ "test": {
3364
+ "description": "Filter test flag: 0 or 1",
3365
+ "name": "test",
3366
+ "hasDynamicHelp": false,
3367
+ "multiple": false,
3368
+ "options": [
3369
+ "0",
3370
+ "1"
3371
+ ],
3372
+ "type": "option"
3360
3373
  }
3361
3374
  },
3362
3375
  "hasDynamicHelp": false,
3363
3376
  "hiddenAliases": [],
3364
- "id": "contacts:delete",
3377
+ "id": "broadcast:list",
3365
3378
  "pluginAlias": "@instantkom/cli",
3366
3379
  "pluginName": "@instantkom/cli",
3367
3380
  "pluginType": "core",
@@ -3371,14 +3384,20 @@
3371
3384
  "relativePath": [
3372
3385
  "dist",
3373
3386
  "commands",
3374
- "contacts",
3375
- "delete.js"
3387
+ "broadcast",
3388
+ "list.js"
3376
3389
  ]
3377
3390
  },
3378
- "contacts:export": {
3391
+ "broadcast:send": {
3379
3392
  "aliases": [],
3380
- "args": {},
3381
- "description": "Export contacts to CSV",
3393
+ "args": {
3394
+ "id": {
3395
+ "description": "Broadcast ID",
3396
+ "name": "id",
3397
+ "required": true
3398
+ }
3399
+ },
3400
+ "description": "Send a broadcast immediately",
3382
3401
  "flags": {
3383
3402
  "api-key": {
3384
3403
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3441,49 +3460,11 @@
3441
3460
  "hasDynamicHelp": false,
3442
3461
  "multiple": false,
3443
3462
  "type": "option"
3444
- },
3445
- "file": {
3446
- "description": "CSV output file path",
3447
- "name": "file",
3448
- "required": true,
3449
- "hasDynamicHelp": false,
3450
- "multiple": false,
3451
- "type": "option"
3452
- },
3453
- "channel": {
3454
- "description": "Filter by channel ID",
3455
- "name": "channel",
3456
- "hasDynamicHelp": false,
3457
- "multiple": false,
3458
- "type": "option"
3459
- },
3460
- "search": {
3461
- "description": "Search by name or identifier",
3462
- "name": "search",
3463
- "hasDynamicHelp": false,
3464
- "multiple": false,
3465
- "type": "option"
3466
- },
3467
- "page": {
3468
- "description": "Page number",
3469
- "name": "page",
3470
- "default": 1,
3471
- "hasDynamicHelp": false,
3472
- "multiple": false,
3473
- "type": "option"
3474
- },
3475
- "limit": {
3476
- "description": "Items per page",
3477
- "name": "limit",
3478
- "default": 100,
3479
- "hasDynamicHelp": false,
3480
- "multiple": false,
3481
- "type": "option"
3482
3463
  }
3483
3464
  },
3484
3465
  "hasDynamicHelp": false,
3485
3466
  "hiddenAliases": [],
3486
- "id": "contacts:export",
3467
+ "id": "broadcast:send",
3487
3468
  "pluginAlias": "@instantkom/cli",
3488
3469
  "pluginName": "@instantkom/cli",
3489
3470
  "pluginType": "core",
@@ -3493,20 +3474,20 @@
3493
3474
  "relativePath": [
3494
3475
  "dist",
3495
3476
  "commands",
3496
- "contacts",
3497
- "export.js"
3477
+ "broadcast",
3478
+ "send.js"
3498
3479
  ]
3499
3480
  },
3500
- "contacts:get": {
3481
+ "broadcast:status": {
3501
3482
  "aliases": [],
3502
3483
  "args": {
3503
3484
  "id": {
3504
- "description": "Contact ID",
3485
+ "description": "Broadcast ID",
3505
3486
  "name": "id",
3506
3487
  "required": true
3507
3488
  }
3508
3489
  },
3509
- "description": "Get a contact by ID",
3490
+ "description": "Show broadcast send status",
3510
3491
  "flags": {
3511
3492
  "api-key": {
3512
3493
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3573,7 +3554,7 @@
3573
3554
  },
3574
3555
  "hasDynamicHelp": false,
3575
3556
  "hiddenAliases": [],
3576
- "id": "contacts:get",
3557
+ "id": "broadcast:status",
3577
3558
  "pluginAlias": "@instantkom/cli",
3578
3559
  "pluginName": "@instantkom/cli",
3579
3560
  "pluginType": "core",
@@ -3583,14 +3564,20 @@
3583
3564
  "relativePath": [
3584
3565
  "dist",
3585
3566
  "commands",
3586
- "contacts",
3587
- "get.js"
3567
+ "broadcast",
3568
+ "status.js"
3588
3569
  ]
3589
3570
  },
3590
- "contacts:import": {
3571
+ "broadcast:update": {
3591
3572
  "aliases": [],
3592
- "args": {},
3593
- "description": "Import contacts from CSV",
3573
+ "args": {
3574
+ "id": {
3575
+ "description": "Broadcast ID",
3576
+ "name": "id",
3577
+ "required": true
3578
+ }
3579
+ },
3580
+ "description": "Update a broadcast",
3594
3581
  "flags": {
3595
3582
  "api-key": {
3596
3583
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3654,18 +3641,68 @@
3654
3641
  "multiple": false,
3655
3642
  "type": "option"
3656
3643
  },
3657
- "file": {
3658
- "description": "CSV file path",
3659
- "name": "file",
3660
- "required": true,
3644
+ "text": {
3645
+ "description": "Broadcast message text",
3646
+ "name": "text",
3661
3647
  "hasDynamicHelp": false,
3662
3648
  "multiple": false,
3663
3649
  "type": "option"
3664
3650
  },
3665
- "channel": {
3666
- "description": "Channel ID",
3667
- "name": "channel",
3668
- "required": true,
3651
+ "send-status": {
3652
+ "description": "Send status",
3653
+ "name": "send-status",
3654
+ "hasDynamicHelp": false,
3655
+ "multiple": false,
3656
+ "type": "option"
3657
+ },
3658
+ "scheduled-at": {
3659
+ "description": "Unix timestamp for scheduled send",
3660
+ "name": "scheduled-at",
3661
+ "hasDynamicHelp": false,
3662
+ "multiple": false,
3663
+ "type": "option"
3664
+ },
3665
+ "approved": {
3666
+ "description": "Mark as approved",
3667
+ "name": "approved",
3668
+ "allowNo": false,
3669
+ "type": "boolean"
3670
+ },
3671
+ "locked": {
3672
+ "description": "Mark as locked",
3673
+ "name": "locked",
3674
+ "allowNo": false,
3675
+ "type": "boolean"
3676
+ },
3677
+ "test": {
3678
+ "description": "Mark as test broadcast",
3679
+ "name": "test",
3680
+ "allowNo": false,
3681
+ "type": "boolean"
3682
+ },
3683
+ "template-id": {
3684
+ "description": "Template ID",
3685
+ "name": "template-id",
3686
+ "hasDynamicHelp": false,
3687
+ "multiple": false,
3688
+ "type": "option"
3689
+ },
3690
+ "remove-media": {
3691
+ "description": "Remove existing media",
3692
+ "name": "remove-media",
3693
+ "allowNo": false,
3694
+ "type": "boolean"
3695
+ },
3696
+ "header-footer": {
3697
+ "description": "Header/footer JSON array",
3698
+ "name": "header-footer",
3699
+ "hasDynamicHelp": false,
3700
+ "multiple": false,
3701
+ "type": "option"
3702
+ },
3703
+ "data": {
3704
+ "description": "Additional JSON object payload",
3705
+ "name": "data",
3669
3706
  "hasDynamicHelp": false,
3670
3707
  "multiple": false,
3671
3708
  "type": "option"
@@ -3673,7 +3710,7 @@
3673
3710
  },
3674
3711
  "hasDynamicHelp": false,
3675
3712
  "hiddenAliases": [],
3676
- "id": "contacts:import",
3713
+ "id": "broadcast:update",
3677
3714
  "pluginAlias": "@instantkom/cli",
3678
3715
  "pluginName": "@instantkom/cli",
3679
3716
  "pluginType": "core",
@@ -3683,14 +3720,20 @@
3683
3720
  "relativePath": [
3684
3721
  "dist",
3685
3722
  "commands",
3686
- "contacts",
3687
- "import.js"
3723
+ "broadcast",
3724
+ "update.js"
3688
3725
  ]
3689
3726
  },
3690
- "contacts:list": {
3727
+ "config:get": {
3691
3728
  "aliases": [],
3692
- "args": {},
3693
- "description": "List contacts",
3729
+ "args": {
3730
+ "key": {
3731
+ "description": "Configuration key to retrieve",
3732
+ "name": "key",
3733
+ "required": true
3734
+ }
3735
+ },
3736
+ "description": "Get a configuration value for the current profile",
3694
3737
  "flags": {
3695
3738
  "api-key": {
3696
3739
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3753,106 +3796,11 @@
3753
3796
  "hasDynamicHelp": false,
3754
3797
  "multiple": false,
3755
3798
  "type": "option"
3756
- },
3757
- "channel": {
3758
- "description": "Filter by channel ID",
3759
- "name": "channel",
3760
- "hasDynamicHelp": false,
3761
- "multiple": false,
3762
- "type": "option"
3763
- },
3764
- "search": {
3765
- "description": "Search by name or identifier",
3766
- "name": "search",
3767
- "hasDynamicHelp": false,
3768
- "multiple": false,
3769
- "type": "option"
3770
- },
3771
- "page": {
3772
- "description": "Page number",
3773
- "name": "page",
3774
- "default": 1,
3775
- "hasDynamicHelp": false,
3776
- "multiple": false,
3777
- "type": "option"
3778
- },
3779
- "limit": {
3780
- "description": "Items per page",
3781
- "name": "limit",
3782
- "default": 20,
3783
- "hasDynamicHelp": false,
3784
- "multiple": false,
3785
- "type": "option"
3786
- },
3787
- "optin-status": {
3788
- "description": "Filter by opt-in status",
3789
- "name": "optin-status",
3790
- "hasDynamicHelp": false,
3791
- "multiple": false,
3792
- "options": [
3793
- "0",
3794
- "1"
3795
- ],
3796
- "type": "option"
3797
- },
3798
- "blocked": {
3799
- "description": "Filter by blocked status: 1 blocked, 0 not blocked",
3800
- "name": "blocked",
3801
- "hasDynamicHelp": false,
3802
- "multiple": false,
3803
- "options": [
3804
- "0",
3805
- "1"
3806
- ],
3807
- "type": "option"
3808
- },
3809
- "segment": {
3810
- "description": "Filter by segment ID",
3811
- "name": "segment",
3812
- "hasDynamicHelp": false,
3813
- "multiple": false,
3814
- "type": "option"
3815
- },
3816
- "tags": {
3817
- "description": "Comma-separated tag IDs",
3818
- "name": "tags",
3819
- "hasDynamicHelp": false,
3820
- "multiple": false,
3821
- "type": "option"
3822
- },
3823
- "tag-match": {
3824
- "description": "Tag match mode",
3825
- "name": "tag-match",
3826
- "hasDynamicHelp": false,
3827
- "multiple": false,
3828
- "options": [
3829
- "any",
3830
- "all"
3831
- ],
3832
- "type": "option"
3833
- },
3834
- "spam": {
3835
- "description": "Filter by spam status",
3836
- "name": "spam",
3837
- "hasDynamicHelp": false,
3838
- "multiple": false,
3839
- "options": [
3840
- "true",
3841
- "false"
3842
- ],
3843
- "type": "option"
3844
- },
3845
- "trust-level": {
3846
- "description": "Comma-separated trust levels",
3847
- "name": "trust-level",
3848
- "hasDynamicHelp": false,
3849
- "multiple": false,
3850
- "type": "option"
3851
3799
  }
3852
3800
  },
3853
3801
  "hasDynamicHelp": false,
3854
3802
  "hiddenAliases": [],
3855
- "id": "contacts:list",
3803
+ "id": "config:get",
3856
3804
  "pluginAlias": "@instantkom/cli",
3857
3805
  "pluginName": "@instantkom/cli",
3858
3806
  "pluginType": "core",
@@ -3862,20 +3810,25 @@
3862
3810
  "relativePath": [
3863
3811
  "dist",
3864
3812
  "commands",
3865
- "contacts",
3866
- "list.js"
3813
+ "config",
3814
+ "get.js"
3867
3815
  ]
3868
3816
  },
3869
- "contacts:update": {
3817
+ "config:set": {
3870
3818
  "aliases": [],
3871
3819
  "args": {
3872
- "id": {
3873
- "description": "Contact ID",
3874
- "name": "id",
3820
+ "key": {
3821
+ "description": "Configuration key to set",
3822
+ "name": "key",
3823
+ "required": true
3824
+ },
3825
+ "value": {
3826
+ "description": "Value to assign",
3827
+ "name": "value",
3875
3828
  "required": true
3876
3829
  }
3877
3830
  },
3878
- "description": "Update a contact",
3831
+ "description": "Set a configuration value for the current profile",
3879
3832
  "flags": {
3880
3833
  "api-key": {
3881
3834
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3938,32 +3891,11 @@
3938
3891
  "hasDynamicHelp": false,
3939
3892
  "multiple": false,
3940
3893
  "type": "option"
3941
- },
3942
- "identifier": {
3943
- "description": "Unique contact identifier",
3944
- "name": "identifier",
3945
- "hasDynamicHelp": false,
3946
- "multiple": false,
3947
- "type": "option"
3948
- },
3949
- "name": {
3950
- "description": "Contact name",
3951
- "name": "name",
3952
- "hasDynamicHelp": false,
3953
- "multiple": false,
3954
- "type": "option"
3955
- },
3956
- "data": {
3957
- "description": "Additional JSON object payload",
3958
- "name": "data",
3959
- "hasDynamicHelp": false,
3960
- "multiple": false,
3961
- "type": "option"
3962
3894
  }
3963
3895
  },
3964
3896
  "hasDynamicHelp": false,
3965
3897
  "hiddenAliases": [],
3966
- "id": "contacts:update",
3898
+ "id": "config:set",
3967
3899
  "pluginAlias": "@instantkom/cli",
3968
3900
  "pluginName": "@instantkom/cli",
3969
3901
  "pluginType": "core",
@@ -3973,14 +3905,20 @@
3973
3905
  "relativePath": [
3974
3906
  "dist",
3975
3907
  "commands",
3976
- "contacts",
3977
- "update.js"
3908
+ "config",
3909
+ "set.js"
3978
3910
  ]
3979
3911
  },
3980
- "broadcast:create": {
3912
+ "config:unset": {
3981
3913
  "aliases": [],
3982
- "args": {},
3983
- "description": "Create a broadcast for channels or segments",
3914
+ "args": {
3915
+ "key": {
3916
+ "description": "Configuration key to remove",
3917
+ "name": "key",
3918
+ "required": true
3919
+ }
3920
+ },
3921
+ "description": "Remove a configuration key from the current profile",
3984
3922
  "flags": {
3985
3923
  "api-key": {
3986
3924
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4043,93 +3981,11 @@
4043
3981
  "hasDynamicHelp": false,
4044
3982
  "multiple": false,
4045
3983
  "type": "option"
4046
- },
4047
- "channel": {
4048
- "description": "Channel ID target",
4049
- "name": "channel",
4050
- "hasDynamicHelp": false,
4051
- "multiple": false,
4052
- "type": "option"
4053
- },
4054
- "segment": {
4055
- "description": "Segment ID within --channel",
4056
- "name": "segment",
4057
- "hasDynamicHelp": false,
4058
- "multiple": false,
4059
- "type": "option"
4060
- },
4061
- "target": {
4062
- "description": "Target as channelId or channelId:segmentId; may be repeated",
4063
- "name": "target",
4064
- "hasDynamicHelp": false,
4065
- "multiple": true,
4066
- "type": "option"
4067
- },
4068
- "text": {
4069
- "description": "Broadcast message text",
4070
- "name": "text",
4071
- "required": true,
4072
- "hasDynamicHelp": false,
4073
- "multiple": false,
4074
- "type": "option"
4075
- },
4076
- "send-at": {
4077
- "description": "Schedule send for an ISO-8601 date-time",
4078
- "name": "send-at",
4079
- "hasDynamicHelp": false,
4080
- "multiple": false,
4081
- "type": "option"
4082
- },
4083
- "dry-run": {
4084
- "description": "Validate and print the broadcast payload without mutating API calls",
4085
- "name": "dry-run",
4086
- "allowNo": false,
4087
- "type": "boolean"
4088
- },
4089
- "idempotency-key": {
4090
- "description": "Idempotency key forwarded as Idempotency-Key",
4091
- "name": "idempotency-key",
4092
- "hasDynamicHelp": false,
4093
- "multiple": false,
4094
- "type": "option"
4095
- },
4096
- "media": {
4097
- "description": "Media file path to upload",
4098
- "name": "media",
4099
- "hasDynamicHelp": false,
4100
- "multiple": true,
4101
- "type": "option"
4102
- },
4103
- "template-id": {
4104
- "description": "WhatsApp template ID",
4105
- "name": "template-id",
4106
- "hasDynamicHelp": false,
4107
- "multiple": false,
4108
- "type": "option"
4109
- },
4110
- "send-status": {
4111
- "description": "Initial broadcast send status",
4112
- "name": "send-status",
4113
- "default": "draft",
4114
- "hasDynamicHelp": false,
4115
- "multiple": false,
4116
- "options": [
4117
- "draft",
4118
- "scheduled",
4119
- "sending"
4120
- ],
4121
- "type": "option"
4122
- },
4123
- "auto-approve": {
4124
- "description": "Auto-approve broadcast when allowed by API permissions",
4125
- "name": "auto-approve",
4126
- "allowNo": false,
4127
- "type": "boolean"
4128
3984
  }
4129
3985
  },
4130
3986
  "hasDynamicHelp": false,
4131
3987
  "hiddenAliases": [],
4132
- "id": "broadcast:create",
3988
+ "id": "config:unset",
4133
3989
  "pluginAlias": "@instantkom/cli",
4134
3990
  "pluginName": "@instantkom/cli",
4135
3991
  "pluginType": "core",
@@ -4139,20 +3995,14 @@
4139
3995
  "relativePath": [
4140
3996
  "dist",
4141
3997
  "commands",
4142
- "broadcast",
4143
- "create.js"
3998
+ "config",
3999
+ "unset.js"
4144
4000
  ]
4145
4001
  },
4146
- "broadcast:delete": {
4002
+ "contacts:create": {
4147
4003
  "aliases": [],
4148
- "args": {
4149
- "id": {
4150
- "description": "broadcast ID",
4151
- "name": "id",
4152
- "required": true
4153
- }
4154
- },
4155
- "description": "Delete broadcast",
4004
+ "args": {},
4005
+ "description": "Create a contact",
4156
4006
  "flags": {
4157
4007
  "api-key": {
4158
4008
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4215,11 +4065,41 @@
4215
4065
  "hasDynamicHelp": false,
4216
4066
  "multiple": false,
4217
4067
  "type": "option"
4068
+ },
4069
+ "channel": {
4070
+ "description": "Channel ID",
4071
+ "name": "channel",
4072
+ "required": true,
4073
+ "hasDynamicHelp": false,
4074
+ "multiple": false,
4075
+ "type": "option"
4076
+ },
4077
+ "identifier": {
4078
+ "description": "Unique contact identifier",
4079
+ "name": "identifier",
4080
+ "required": true,
4081
+ "hasDynamicHelp": false,
4082
+ "multiple": false,
4083
+ "type": "option"
4084
+ },
4085
+ "name": {
4086
+ "description": "Contact name",
4087
+ "name": "name",
4088
+ "hasDynamicHelp": false,
4089
+ "multiple": false,
4090
+ "type": "option"
4091
+ },
4092
+ "data": {
4093
+ "description": "Additional JSON object payload",
4094
+ "name": "data",
4095
+ "hasDynamicHelp": false,
4096
+ "multiple": false,
4097
+ "type": "option"
4218
4098
  }
4219
4099
  },
4220
4100
  "hasDynamicHelp": false,
4221
4101
  "hiddenAliases": [],
4222
- "id": "broadcast:delete",
4102
+ "id": "contacts:create",
4223
4103
  "pluginAlias": "@instantkom/cli",
4224
4104
  "pluginName": "@instantkom/cli",
4225
4105
  "pluginType": "core",
@@ -4229,20 +4109,20 @@
4229
4109
  "relativePath": [
4230
4110
  "dist",
4231
4111
  "commands",
4232
- "broadcast",
4233
- "delete.js"
4112
+ "contacts",
4113
+ "create.js"
4234
4114
  ]
4235
4115
  },
4236
- "broadcast:get": {
4116
+ "contacts:delete": {
4237
4117
  "aliases": [],
4238
4118
  "args": {
4239
4119
  "id": {
4240
- "description": "broadcast ID",
4120
+ "description": "Contact ID",
4241
4121
  "name": "id",
4242
4122
  "required": true
4243
4123
  }
4244
4124
  },
4245
- "description": "Get broadcast by ID",
4125
+ "description": "Delete a contact",
4246
4126
  "flags": {
4247
4127
  "api-key": {
4248
4128
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4309,7 +4189,7 @@
4309
4189
  },
4310
4190
  "hasDynamicHelp": false,
4311
4191
  "hiddenAliases": [],
4312
- "id": "broadcast:get",
4192
+ "id": "contacts:delete",
4313
4193
  "pluginAlias": "@instantkom/cli",
4314
4194
  "pluginName": "@instantkom/cli",
4315
4195
  "pluginType": "core",
@@ -4319,14 +4199,14 @@
4319
4199
  "relativePath": [
4320
4200
  "dist",
4321
4201
  "commands",
4322
- "broadcast",
4323
- "get.js"
4202
+ "contacts",
4203
+ "delete.js"
4324
4204
  ]
4325
4205
  },
4326
- "broadcast:list": {
4206
+ "contacts:export": {
4327
4207
  "aliases": [],
4328
4208
  "args": {},
4329
- "description": "List broadcasts",
4209
+ "description": "Export contacts to CSV",
4330
4210
  "flags": {
4331
4211
  "api-key": {
4332
4212
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4390,18 +4270,10 @@
4390
4270
  "multiple": false,
4391
4271
  "type": "option"
4392
4272
  },
4393
- "page": {
4394
- "description": "Page number",
4395
- "name": "page",
4396
- "default": 1,
4397
- "hasDynamicHelp": false,
4398
- "multiple": false,
4399
- "type": "option"
4400
- },
4401
- "limit": {
4402
- "description": "Items per page",
4403
- "name": "limit",
4404
- "default": 20,
4273
+ "file": {
4274
+ "description": "CSV output file path",
4275
+ "name": "file",
4276
+ "required": true,
4405
4277
  "hasDynamicHelp": false,
4406
4278
  "multiple": false,
4407
4279
  "type": "option"
@@ -4413,49 +4285,33 @@
4413
4285
  "multiple": false,
4414
4286
  "type": "option"
4415
4287
  },
4416
- "send-status": {
4417
- "description": "Filter by send status",
4418
- "name": "send-status",
4419
- "hasDynamicHelp": false,
4420
- "multiple": false,
4421
- "type": "option"
4422
- },
4423
- "type": {
4424
- "description": "Broadcast type",
4425
- "name": "type",
4288
+ "search": {
4289
+ "description": "Search by name or identifier",
4290
+ "name": "search",
4426
4291
  "hasDynamicHelp": false,
4427
4292
  "multiple": false,
4428
- "options": [
4429
- "text",
4430
- "image",
4431
- "video",
4432
- "audio",
4433
- "document"
4434
- ],
4435
4293
  "type": "option"
4436
4294
  },
4437
- "search": {
4438
- "description": "Search broadcasts",
4439
- "name": "search",
4295
+ "page": {
4296
+ "description": "Page number",
4297
+ "name": "page",
4298
+ "default": 1,
4440
4299
  "hasDynamicHelp": false,
4441
4300
  "multiple": false,
4442
4301
  "type": "option"
4443
4302
  },
4444
- "test": {
4445
- "description": "Filter test flag: 0 or 1",
4446
- "name": "test",
4303
+ "limit": {
4304
+ "description": "Items per page",
4305
+ "name": "limit",
4306
+ "default": 100,
4447
4307
  "hasDynamicHelp": false,
4448
4308
  "multiple": false,
4449
- "options": [
4450
- "0",
4451
- "1"
4452
- ],
4453
4309
  "type": "option"
4454
4310
  }
4455
4311
  },
4456
4312
  "hasDynamicHelp": false,
4457
4313
  "hiddenAliases": [],
4458
- "id": "broadcast:list",
4314
+ "id": "contacts:export",
4459
4315
  "pluginAlias": "@instantkom/cli",
4460
4316
  "pluginName": "@instantkom/cli",
4461
4317
  "pluginType": "core",
@@ -4465,20 +4321,20 @@
4465
4321
  "relativePath": [
4466
4322
  "dist",
4467
4323
  "commands",
4468
- "broadcast",
4469
- "list.js"
4324
+ "contacts",
4325
+ "export.js"
4470
4326
  ]
4471
4327
  },
4472
- "broadcast:send": {
4328
+ "contacts:get": {
4473
4329
  "aliases": [],
4474
4330
  "args": {
4475
4331
  "id": {
4476
- "description": "Broadcast ID",
4332
+ "description": "Contact ID",
4477
4333
  "name": "id",
4478
4334
  "required": true
4479
4335
  }
4480
4336
  },
4481
- "description": "Send a broadcast immediately",
4337
+ "description": "Get a contact by ID",
4482
4338
  "flags": {
4483
4339
  "api-key": {
4484
4340
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4545,7 +4401,7 @@
4545
4401
  },
4546
4402
  "hasDynamicHelp": false,
4547
4403
  "hiddenAliases": [],
4548
- "id": "broadcast:send",
4404
+ "id": "contacts:get",
4549
4405
  "pluginAlias": "@instantkom/cli",
4550
4406
  "pluginName": "@instantkom/cli",
4551
4407
  "pluginType": "core",
@@ -4555,20 +4411,14 @@
4555
4411
  "relativePath": [
4556
4412
  "dist",
4557
4413
  "commands",
4558
- "broadcast",
4559
- "send.js"
4414
+ "contacts",
4415
+ "get.js"
4560
4416
  ]
4561
4417
  },
4562
- "broadcast:status": {
4418
+ "contacts:import": {
4563
4419
  "aliases": [],
4564
- "args": {
4565
- "id": {
4566
- "description": "Broadcast ID",
4567
- "name": "id",
4568
- "required": true
4569
- }
4570
- },
4571
- "description": "Show broadcast send status",
4420
+ "args": {},
4421
+ "description": "Import contacts from CSV",
4572
4422
  "flags": {
4573
4423
  "api-key": {
4574
4424
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4631,11 +4481,27 @@
4631
4481
  "hasDynamicHelp": false,
4632
4482
  "multiple": false,
4633
4483
  "type": "option"
4484
+ },
4485
+ "file": {
4486
+ "description": "CSV file path",
4487
+ "name": "file",
4488
+ "required": true,
4489
+ "hasDynamicHelp": false,
4490
+ "multiple": false,
4491
+ "type": "option"
4492
+ },
4493
+ "channel": {
4494
+ "description": "Channel ID",
4495
+ "name": "channel",
4496
+ "required": true,
4497
+ "hasDynamicHelp": false,
4498
+ "multiple": false,
4499
+ "type": "option"
4634
4500
  }
4635
4501
  },
4636
4502
  "hasDynamicHelp": false,
4637
4503
  "hiddenAliases": [],
4638
- "id": "broadcast:status",
4504
+ "id": "contacts:import",
4639
4505
  "pluginAlias": "@instantkom/cli",
4640
4506
  "pluginName": "@instantkom/cli",
4641
4507
  "pluginType": "core",
@@ -4645,20 +4511,14 @@
4645
4511
  "relativePath": [
4646
4512
  "dist",
4647
4513
  "commands",
4648
- "broadcast",
4649
- "status.js"
4514
+ "contacts",
4515
+ "import.js"
4650
4516
  ]
4651
4517
  },
4652
- "broadcast:update": {
4518
+ "contacts:list": {
4653
4519
  "aliases": [],
4654
- "args": {
4655
- "id": {
4656
- "description": "Broadcast ID",
4657
- "name": "id",
4658
- "required": true
4659
- }
4660
- },
4661
- "description": "Update a broadcast",
4520
+ "args": {},
4521
+ "description": "List contacts",
4662
4522
  "flags": {
4663
4523
  "api-key": {
4664
4524
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4722,61 +4582,201 @@
4722
4582
  "multiple": false,
4723
4583
  "type": "option"
4724
4584
  },
4725
- "text": {
4726
- "description": "Broadcast message text",
4727
- "name": "text",
4585
+ "channel": {
4586
+ "description": "Filter by channel ID",
4587
+ "name": "channel",
4728
4588
  "hasDynamicHelp": false,
4729
4589
  "multiple": false,
4730
4590
  "type": "option"
4731
4591
  },
4732
- "send-status": {
4733
- "description": "Send status",
4734
- "name": "send-status",
4592
+ "search": {
4593
+ "description": "Search by name or identifier",
4594
+ "name": "search",
4735
4595
  "hasDynamicHelp": false,
4736
4596
  "multiple": false,
4737
4597
  "type": "option"
4738
4598
  },
4739
- "scheduled-at": {
4740
- "description": "Unix timestamp for scheduled send",
4741
- "name": "scheduled-at",
4599
+ "page": {
4600
+ "description": "Page number",
4601
+ "name": "page",
4602
+ "default": 1,
4742
4603
  "hasDynamicHelp": false,
4743
4604
  "multiple": false,
4744
4605
  "type": "option"
4745
4606
  },
4746
- "approved": {
4747
- "description": "Mark as approved",
4748
- "name": "approved",
4607
+ "limit": {
4608
+ "description": "Items per page",
4609
+ "name": "limit",
4610
+ "default": 20,
4611
+ "hasDynamicHelp": false,
4612
+ "multiple": false,
4613
+ "type": "option"
4614
+ },
4615
+ "optin-status": {
4616
+ "description": "Filter by opt-in status",
4617
+ "name": "optin-status",
4618
+ "hasDynamicHelp": false,
4619
+ "multiple": false,
4620
+ "options": [
4621
+ "0",
4622
+ "1"
4623
+ ],
4624
+ "type": "option"
4625
+ },
4626
+ "blocked": {
4627
+ "description": "Filter by blocked status: 1 blocked, 0 not blocked",
4628
+ "name": "blocked",
4629
+ "hasDynamicHelp": false,
4630
+ "multiple": false,
4631
+ "options": [
4632
+ "0",
4633
+ "1"
4634
+ ],
4635
+ "type": "option"
4636
+ },
4637
+ "segment": {
4638
+ "description": "Filter by segment ID",
4639
+ "name": "segment",
4640
+ "hasDynamicHelp": false,
4641
+ "multiple": false,
4642
+ "type": "option"
4643
+ },
4644
+ "tags": {
4645
+ "description": "Comma-separated tag IDs",
4646
+ "name": "tags",
4647
+ "hasDynamicHelp": false,
4648
+ "multiple": false,
4649
+ "type": "option"
4650
+ },
4651
+ "tag-match": {
4652
+ "description": "Tag match mode",
4653
+ "name": "tag-match",
4654
+ "hasDynamicHelp": false,
4655
+ "multiple": false,
4656
+ "options": [
4657
+ "any",
4658
+ "all"
4659
+ ],
4660
+ "type": "option"
4661
+ },
4662
+ "spam": {
4663
+ "description": "Filter by spam status",
4664
+ "name": "spam",
4665
+ "hasDynamicHelp": false,
4666
+ "multiple": false,
4667
+ "options": [
4668
+ "true",
4669
+ "false"
4670
+ ],
4671
+ "type": "option"
4672
+ },
4673
+ "trust-level": {
4674
+ "description": "Comma-separated trust levels",
4675
+ "name": "trust-level",
4676
+ "hasDynamicHelp": false,
4677
+ "multiple": false,
4678
+ "type": "option"
4679
+ }
4680
+ },
4681
+ "hasDynamicHelp": false,
4682
+ "hiddenAliases": [],
4683
+ "id": "contacts:list",
4684
+ "pluginAlias": "@instantkom/cli",
4685
+ "pluginName": "@instantkom/cli",
4686
+ "pluginType": "core",
4687
+ "strict": true,
4688
+ "enableJsonFlag": false,
4689
+ "isESM": true,
4690
+ "relativePath": [
4691
+ "dist",
4692
+ "commands",
4693
+ "contacts",
4694
+ "list.js"
4695
+ ]
4696
+ },
4697
+ "contacts:update": {
4698
+ "aliases": [],
4699
+ "args": {
4700
+ "id": {
4701
+ "description": "Contact ID",
4702
+ "name": "id",
4703
+ "required": true
4704
+ }
4705
+ },
4706
+ "description": "Update a contact",
4707
+ "flags": {
4708
+ "api-key": {
4709
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
4710
+ "env": "IKM_API_KEY",
4711
+ "helpGroup": "GLOBAL",
4712
+ "name": "api-key",
4713
+ "hasDynamicHelp": false,
4714
+ "multiple": false,
4715
+ "type": "option"
4716
+ },
4717
+ "format": {
4718
+ "description": "Output format: text, json, yaml, or table",
4719
+ "helpGroup": "GLOBAL",
4720
+ "name": "format",
4721
+ "default": "text",
4722
+ "hasDynamicHelp": false,
4723
+ "multiple": false,
4724
+ "options": [
4725
+ "text",
4726
+ "json",
4727
+ "yaml",
4728
+ "table"
4729
+ ],
4730
+ "type": "option"
4731
+ },
4732
+ "json": {
4733
+ "description": "Output in JSON format (alias for --format=json)",
4734
+ "helpGroup": "GLOBAL",
4735
+ "name": "json",
4749
4736
  "allowNo": false,
4750
4737
  "type": "boolean"
4751
4738
  },
4752
- "locked": {
4753
- "description": "Mark as locked",
4754
- "name": "locked",
4739
+ "quiet": {
4740
+ "description": "Suppress all output except errors",
4741
+ "helpGroup": "GLOBAL",
4742
+ "name": "quiet",
4755
4743
  "allowNo": false,
4756
4744
  "type": "boolean"
4757
4745
  },
4758
- "test": {
4759
- "description": "Mark as test broadcast",
4760
- "name": "test",
4746
+ "no-color": {
4747
+ "description": "Disable color output",
4748
+ "helpGroup": "GLOBAL",
4749
+ "name": "no-color",
4761
4750
  "allowNo": false,
4762
4751
  "type": "boolean"
4763
4752
  },
4764
- "template-id": {
4765
- "description": "Template ID",
4766
- "name": "template-id",
4753
+ "profile": {
4754
+ "description": "Named configuration profile to use",
4755
+ "helpGroup": "GLOBAL",
4756
+ "name": "profile",
4757
+ "default": "default",
4758
+ "hasDynamicHelp": false,
4759
+ "multiple": false,
4760
+ "type": "option"
4761
+ },
4762
+ "api-url": {
4763
+ "description": "Override the API base URL (e.g. for staging)",
4764
+ "helpGroup": "GLOBAL",
4765
+ "name": "api-url",
4767
4766
  "hasDynamicHelp": false,
4768
4767
  "multiple": false,
4769
4768
  "type": "option"
4770
4769
  },
4771
- "remove-media": {
4772
- "description": "Remove existing media",
4773
- "name": "remove-media",
4774
- "allowNo": false,
4775
- "type": "boolean"
4770
+ "identifier": {
4771
+ "description": "Unique contact identifier",
4772
+ "name": "identifier",
4773
+ "hasDynamicHelp": false,
4774
+ "multiple": false,
4775
+ "type": "option"
4776
4776
  },
4777
- "header-footer": {
4778
- "description": "Header/footer JSON array",
4779
- "name": "header-footer",
4777
+ "name": {
4778
+ "description": "Contact name",
4779
+ "name": "name",
4780
4780
  "hasDynamicHelp": false,
4781
4781
  "multiple": false,
4782
4782
  "type": "option"
@@ -4791,7 +4791,7 @@
4791
4791
  },
4792
4792
  "hasDynamicHelp": false,
4793
4793
  "hiddenAliases": [],
4794
- "id": "broadcast:update",
4794
+ "id": "contacts:update",
4795
4795
  "pluginAlias": "@instantkom/cli",
4796
4796
  "pluginName": "@instantkom/cli",
4797
4797
  "pluginType": "core",
@@ -4801,14 +4801,14 @@
4801
4801
  "relativePath": [
4802
4802
  "dist",
4803
4803
  "commands",
4804
- "broadcast",
4804
+ "contacts",
4805
4805
  "update.js"
4806
4806
  ]
4807
4807
  },
4808
- "exports:create": {
4808
+ "custom-fields:bulk-delete": {
4809
4809
  "aliases": [],
4810
4810
  "args": {},
4811
- "description": "Create an export",
4811
+ "description": "Bulk delete custom fields",
4812
4812
  "flags": {
4813
4813
  "api-key": {
4814
4814
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4820,10 +4820,18 @@
4820
4820
  "type": "option"
4821
4821
  },
4822
4822
  "format": {
4823
- "description": "Alias for --target",
4823
+ "description": "Output format: text, json, yaml, or table",
4824
+ "helpGroup": "GLOBAL",
4824
4825
  "name": "format",
4826
+ "default": "text",
4825
4827
  "hasDynamicHelp": false,
4826
4828
  "multiple": false,
4829
+ "options": [
4830
+ "text",
4831
+ "json",
4832
+ "yaml",
4833
+ "table"
4834
+ ],
4827
4835
  "type": "option"
4828
4836
  },
4829
4837
  "json": {
@@ -4864,74 +4872,18 @@
4864
4872
  "multiple": false,
4865
4873
  "type": "option"
4866
4874
  },
4867
- "name": {
4868
- "description": "Export name",
4869
- "name": "name",
4875
+ "ids": {
4876
+ "description": "Comma-separated custom field IDs",
4877
+ "name": "ids",
4870
4878
  "required": true,
4871
4879
  "hasDynamicHelp": false,
4872
4880
  "multiple": false,
4873
4881
  "type": "option"
4874
- },
4875
- "sources": {
4876
- "description": "Data sources to export",
4877
- "name": "sources",
4878
- "hasDynamicHelp": false,
4879
- "multiple": false,
4880
- "type": "option"
4881
- },
4882
- "type": {
4883
- "description": "Alias for --sources",
4884
- "name": "type",
4885
- "hasDynamicHelp": false,
4886
- "multiple": false,
4887
- "type": "option"
4888
- },
4889
- "target": {
4890
- "description": "Export target/format",
4891
- "name": "target",
4892
- "hasDynamicHelp": false,
4893
- "multiple": false,
4894
- "type": "option"
4895
- },
4896
- "channels": {
4897
- "description": "Comma-separated channel IDs",
4898
- "name": "channels",
4899
- "hasDynamicHelp": false,
4900
- "multiple": false,
4901
- "type": "option"
4902
- },
4903
- "fields": {
4904
- "description": "Comma-separated fields",
4905
- "name": "fields",
4906
- "hasDynamicHelp": false,
4907
- "multiple": false,
4908
- "type": "option"
4909
- },
4910
- "filters": {
4911
- "description": "Filter criteria",
4912
- "name": "filters",
4913
- "hasDynamicHelp": false,
4914
- "multiple": false,
4915
- "type": "option"
4916
- },
4917
- "color": {
4918
- "description": "Export color as HEX",
4919
- "name": "color",
4920
- "hasDynamicHelp": false,
4921
- "multiple": false,
4922
- "type": "option"
4923
- },
4924
- "data": {
4925
- "description": "Additional JSON object payload",
4926
- "name": "data",
4927
- "hasDynamicHelp": false,
4928
- "multiple": false,
4929
- "type": "option"
4930
4882
  }
4931
4883
  },
4932
4884
  "hasDynamicHelp": false,
4933
4885
  "hiddenAliases": [],
4934
- "id": "exports:create",
4886
+ "id": "custom-fields:bulk-delete",
4935
4887
  "pluginAlias": "@instantkom/cli",
4936
4888
  "pluginName": "@instantkom/cli",
4937
4889
  "pluginType": "core",
@@ -4941,20 +4893,14 @@
4941
4893
  "relativePath": [
4942
4894
  "dist",
4943
4895
  "commands",
4944
- "exports",
4945
- "create.js"
4896
+ "custom-fields",
4897
+ "bulk-delete.js"
4946
4898
  ]
4947
4899
  },
4948
- "exports:delete": {
4900
+ "custom-fields:create": {
4949
4901
  "aliases": [],
4950
- "args": {
4951
- "id": {
4952
- "description": "Export ID",
4953
- "name": "id",
4954
- "required": true
4955
- }
4956
- },
4957
- "description": "Delete an export",
4902
+ "args": {},
4903
+ "description": "Create a custom field",
4958
4904
  "flags": {
4959
4905
  "api-key": {
4960
4906
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5017,11 +4963,72 @@
5017
4963
  "hasDynamicHelp": false,
5018
4964
  "multiple": false,
5019
4965
  "type": "option"
4966
+ },
4967
+ "name": {
4968
+ "description": "Field name",
4969
+ "name": "name",
4970
+ "required": true,
4971
+ "hasDynamicHelp": false,
4972
+ "multiple": false,
4973
+ "type": "option"
4974
+ },
4975
+ "key": {
4976
+ "description": "Field key",
4977
+ "name": "key",
4978
+ "required": true,
4979
+ "hasDynamicHelp": false,
4980
+ "multiple": false,
4981
+ "type": "option"
4982
+ },
4983
+ "type": {
4984
+ "description": "Field type",
4985
+ "name": "type",
4986
+ "required": true,
4987
+ "hasDynamicHelp": false,
4988
+ "multiple": false,
4989
+ "options": [
4990
+ "text",
4991
+ "number",
4992
+ "date",
4993
+ "dropdown",
4994
+ "checkbox",
4995
+ "url",
4996
+ "email",
4997
+ "phone"
4998
+ ],
4999
+ "type": "option"
5000
+ },
5001
+ "required": {
5002
+ "description": "Field is required",
5003
+ "name": "required",
5004
+ "allowNo": false,
5005
+ "type": "boolean"
5006
+ },
5007
+ "default": {
5008
+ "description": "Default value",
5009
+ "name": "default",
5010
+ "hasDynamicHelp": false,
5011
+ "multiple": false,
5012
+ "type": "option"
5013
+ },
5014
+ "options": {
5015
+ "description": "Comma-separated dropdown options",
5016
+ "name": "options",
5017
+ "hasDynamicHelp": false,
5018
+ "multiple": false,
5019
+ "type": "option"
5020
+ },
5021
+ "data": {
5022
+ "description": "Additional JSON object payload",
5023
+ "name": "data",
5024
+ "hasDynamicHelp": false,
5025
+ "multiple": false,
5026
+ "type": "option"
5020
5027
  }
5021
5028
  },
5022
5029
  "hasDynamicHelp": false,
5023
5030
  "hiddenAliases": [],
5024
- "id": "exports:delete",
5031
+ "id": "custom-fields:create",
5025
5032
  "pluginAlias": "@instantkom/cli",
5026
5033
  "pluginName": "@instantkom/cli",
5027
5034
  "pluginType": "core",
@@ -5031,20 +5038,20 @@
5031
5038
  "relativePath": [
5032
5039
  "dist",
5033
5040
  "commands",
5034
- "exports",
5035
- "delete.js"
5041
+ "custom-fields",
5042
+ "create.js"
5036
5043
  ]
5037
5044
  },
5038
- "exports:download": {
5045
+ "custom-fields:delete": {
5039
5046
  "aliases": [],
5040
5047
  "args": {
5041
5048
  "id": {
5042
- "description": "Export ID",
5049
+ "description": "custom field ID",
5043
5050
  "name": "id",
5044
5051
  "required": true
5045
5052
  }
5046
5053
  },
5047
- "description": "Download an export file",
5054
+ "description": "Delete custom field",
5048
5055
  "flags": {
5049
5056
  "api-key": {
5050
5057
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5107,18 +5114,11 @@
5107
5114
  "hasDynamicHelp": false,
5108
5115
  "multiple": false,
5109
5116
  "type": "option"
5110
- },
5111
- "file": {
5112
- "description": "Output file path",
5113
- "name": "file",
5114
- "hasDynamicHelp": false,
5115
- "multiple": false,
5116
- "type": "option"
5117
5117
  }
5118
5118
  },
5119
5119
  "hasDynamicHelp": false,
5120
5120
  "hiddenAliases": [],
5121
- "id": "exports:download",
5121
+ "id": "custom-fields:delete",
5122
5122
  "pluginAlias": "@instantkom/cli",
5123
5123
  "pluginName": "@instantkom/cli",
5124
5124
  "pluginType": "core",
@@ -5128,20 +5128,20 @@
5128
5128
  "relativePath": [
5129
5129
  "dist",
5130
5130
  "commands",
5131
- "exports",
5132
- "download.js"
5131
+ "custom-fields",
5132
+ "delete.js"
5133
5133
  ]
5134
5134
  },
5135
- "exports:get": {
5135
+ "custom-fields:get": {
5136
5136
  "aliases": [],
5137
5137
  "args": {
5138
5138
  "id": {
5139
- "description": "Export ID",
5139
+ "description": "custom field ID",
5140
5140
  "name": "id",
5141
5141
  "required": true
5142
5142
  }
5143
5143
  },
5144
- "description": "Get an export by ID",
5144
+ "description": "Get custom field by ID",
5145
5145
  "flags": {
5146
5146
  "api-key": {
5147
5147
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5208,7 +5208,7 @@
5208
5208
  },
5209
5209
  "hasDynamicHelp": false,
5210
5210
  "hiddenAliases": [],
5211
- "id": "exports:get",
5211
+ "id": "custom-fields:get",
5212
5212
  "pluginAlias": "@instantkom/cli",
5213
5213
  "pluginName": "@instantkom/cli",
5214
5214
  "pluginType": "core",
@@ -5218,14 +5218,14 @@
5218
5218
  "relativePath": [
5219
5219
  "dist",
5220
5220
  "commands",
5221
- "exports",
5221
+ "custom-fields",
5222
5222
  "get.js"
5223
5223
  ]
5224
5224
  },
5225
- "exports:list": {
5225
+ "custom-fields:list": {
5226
5226
  "aliases": [],
5227
5227
  "args": {},
5228
- "description": "List exports",
5228
+ "description": "List custom fields",
5229
5229
  "flags": {
5230
5230
  "api-key": {
5231
5231
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5288,41 +5288,11 @@
5288
5288
  "hasDynamicHelp": false,
5289
5289
  "multiple": false,
5290
5290
  "type": "option"
5291
- },
5292
- "page": {
5293
- "description": "Page number",
5294
- "name": "page",
5295
- "default": 1,
5296
- "hasDynamicHelp": false,
5297
- "multiple": false,
5298
- "type": "option"
5299
- },
5300
- "limit": {
5301
- "description": "Items per page",
5302
- "name": "limit",
5303
- "default": 50,
5304
- "hasDynamicHelp": false,
5305
- "multiple": false,
5306
- "type": "option"
5307
- },
5308
- "source": {
5309
- "description": "Filter by data source",
5310
- "name": "source",
5311
- "hasDynamicHelp": false,
5312
- "multiple": false,
5313
- "type": "option"
5314
- },
5315
- "target": {
5316
- "description": "Filter by export target/format",
5317
- "name": "target",
5318
- "hasDynamicHelp": false,
5319
- "multiple": false,
5320
- "type": "option"
5321
5291
  }
5322
5292
  },
5323
5293
  "hasDynamicHelp": false,
5324
5294
  "hiddenAliases": [],
5325
- "id": "exports:list",
5295
+ "id": "custom-fields:list",
5326
5296
  "pluginAlias": "@instantkom/cli",
5327
5297
  "pluginName": "@instantkom/cli",
5328
5298
  "pluginType": "core",
@@ -5332,14 +5302,14 @@
5332
5302
  "relativePath": [
5333
5303
  "dist",
5334
5304
  "commands",
5335
- "exports",
5305
+ "custom-fields",
5336
5306
  "list.js"
5337
5307
  ]
5338
5308
  },
5339
- "custom-fields:bulk-delete": {
5309
+ "custom-fields:reorder": {
5340
5310
  "aliases": [],
5341
5311
  "args": {},
5342
- "description": "Bulk delete custom fields",
5312
+ "description": "Reorder custom fields",
5343
5313
  "flags": {
5344
5314
  "api-key": {
5345
5315
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5403,9 +5373,9 @@
5403
5373
  "multiple": false,
5404
5374
  "type": "option"
5405
5375
  },
5406
- "ids": {
5407
- "description": "Comma-separated custom field IDs",
5408
- "name": "ids",
5376
+ "order": {
5377
+ "description": "Order JSON array payload",
5378
+ "name": "order",
5409
5379
  "required": true,
5410
5380
  "hasDynamicHelp": false,
5411
5381
  "multiple": false,
@@ -5414,7 +5384,7 @@
5414
5384
  },
5415
5385
  "hasDynamicHelp": false,
5416
5386
  "hiddenAliases": [],
5417
- "id": "custom-fields:bulk-delete",
5387
+ "id": "custom-fields:reorder",
5418
5388
  "pluginAlias": "@instantkom/cli",
5419
5389
  "pluginName": "@instantkom/cli",
5420
5390
  "pluginType": "core",
@@ -5425,13 +5395,19 @@
5425
5395
  "dist",
5426
5396
  "commands",
5427
5397
  "custom-fields",
5428
- "bulk-delete.js"
5398
+ "reorder.js"
5429
5399
  ]
5430
5400
  },
5431
- "custom-fields:create": {
5401
+ "custom-fields:update": {
5432
5402
  "aliases": [],
5433
- "args": {},
5434
- "description": "Create a custom field",
5403
+ "args": {
5404
+ "id": {
5405
+ "description": "Custom field ID",
5406
+ "name": "id",
5407
+ "required": true
5408
+ }
5409
+ },
5410
+ "description": "Update a custom field",
5435
5411
  "flags": {
5436
5412
  "api-key": {
5437
5413
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5498,15 +5474,6 @@
5498
5474
  "name": {
5499
5475
  "description": "Field name",
5500
5476
  "name": "name",
5501
- "required": true,
5502
- "hasDynamicHelp": false,
5503
- "multiple": false,
5504
- "type": "option"
5505
- },
5506
- "key": {
5507
- "description": "Field key",
5508
- "name": "key",
5509
- "required": true,
5510
5477
  "hasDynamicHelp": false,
5511
5478
  "multiple": false,
5512
5479
  "type": "option"
@@ -5514,7 +5481,6 @@
5514
5481
  "type": {
5515
5482
  "description": "Field type",
5516
5483
  "name": "type",
5517
- "required": true,
5518
5484
  "hasDynamicHelp": false,
5519
5485
  "multiple": false,
5520
5486
  "options": [
@@ -5532,7 +5498,13 @@
5532
5498
  "required": {
5533
5499
  "description": "Field is required",
5534
5500
  "name": "required",
5535
- "allowNo": false,
5501
+ "allowNo": true,
5502
+ "type": "boolean"
5503
+ },
5504
+ "status": {
5505
+ "description": "Field is active",
5506
+ "name": "status",
5507
+ "allowNo": true,
5536
5508
  "type": "boolean"
5537
5509
  },
5538
5510
  "default": {
@@ -5559,7 +5531,7 @@
5559
5531
  },
5560
5532
  "hasDynamicHelp": false,
5561
5533
  "hiddenAliases": [],
5562
- "id": "custom-fields:create",
5534
+ "id": "custom-fields:update",
5563
5535
  "pluginAlias": "@instantkom/cli",
5564
5536
  "pluginName": "@instantkom/cli",
5565
5537
  "pluginType": "core",
@@ -5570,19 +5542,13 @@
5570
5542
  "dist",
5571
5543
  "commands",
5572
5544
  "custom-fields",
5573
- "create.js"
5545
+ "update.js"
5574
5546
  ]
5575
5547
  },
5576
- "custom-fields:delete": {
5548
+ "exports:create": {
5577
5549
  "aliases": [],
5578
- "args": {
5579
- "id": {
5580
- "description": "custom field ID",
5581
- "name": "id",
5582
- "required": true
5583
- }
5584
- },
5585
- "description": "Delete custom field",
5550
+ "args": {},
5551
+ "description": "Create an export",
5586
5552
  "flags": {
5587
5553
  "api-key": {
5588
5554
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5594,18 +5560,10 @@
5594
5560
  "type": "option"
5595
5561
  },
5596
5562
  "format": {
5597
- "description": "Output format: text, json, yaml, or table",
5598
- "helpGroup": "GLOBAL",
5563
+ "description": "Alias for --target",
5599
5564
  "name": "format",
5600
- "default": "text",
5601
5565
  "hasDynamicHelp": false,
5602
5566
  "multiple": false,
5603
- "options": [
5604
- "text",
5605
- "json",
5606
- "yaml",
5607
- "table"
5608
- ],
5609
5567
  "type": "option"
5610
5568
  },
5611
5569
  "json": {
@@ -5645,11 +5603,75 @@
5645
5603
  "hasDynamicHelp": false,
5646
5604
  "multiple": false,
5647
5605
  "type": "option"
5606
+ },
5607
+ "name": {
5608
+ "description": "Export name",
5609
+ "name": "name",
5610
+ "required": true,
5611
+ "hasDynamicHelp": false,
5612
+ "multiple": false,
5613
+ "type": "option"
5614
+ },
5615
+ "sources": {
5616
+ "description": "Data sources to export",
5617
+ "name": "sources",
5618
+ "hasDynamicHelp": false,
5619
+ "multiple": false,
5620
+ "type": "option"
5621
+ },
5622
+ "type": {
5623
+ "description": "Alias for --sources",
5624
+ "name": "type",
5625
+ "hasDynamicHelp": false,
5626
+ "multiple": false,
5627
+ "type": "option"
5628
+ },
5629
+ "target": {
5630
+ "description": "Export target/format",
5631
+ "name": "target",
5632
+ "hasDynamicHelp": false,
5633
+ "multiple": false,
5634
+ "type": "option"
5635
+ },
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",
5660
+ "hasDynamicHelp": false,
5661
+ "multiple": false,
5662
+ "type": "option"
5663
+ },
5664
+ "data": {
5665
+ "description": "Additional JSON object payload",
5666
+ "name": "data",
5667
+ "hasDynamicHelp": false,
5668
+ "multiple": false,
5669
+ "type": "option"
5648
5670
  }
5649
5671
  },
5650
5672
  "hasDynamicHelp": false,
5651
5673
  "hiddenAliases": [],
5652
- "id": "custom-fields:delete",
5674
+ "id": "exports:create",
5653
5675
  "pluginAlias": "@instantkom/cli",
5654
5676
  "pluginName": "@instantkom/cli",
5655
5677
  "pluginType": "core",
@@ -5659,20 +5681,20 @@
5659
5681
  "relativePath": [
5660
5682
  "dist",
5661
5683
  "commands",
5662
- "custom-fields",
5663
- "delete.js"
5684
+ "exports",
5685
+ "create.js"
5664
5686
  ]
5665
5687
  },
5666
- "custom-fields:get": {
5688
+ "exports:delete": {
5667
5689
  "aliases": [],
5668
5690
  "args": {
5669
5691
  "id": {
5670
- "description": "custom field ID",
5692
+ "description": "Export ID",
5671
5693
  "name": "id",
5672
5694
  "required": true
5673
5695
  }
5674
5696
  },
5675
- "description": "Get custom field by ID",
5697
+ "description": "Delete an export",
5676
5698
  "flags": {
5677
5699
  "api-key": {
5678
5700
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5739,7 +5761,7 @@
5739
5761
  },
5740
5762
  "hasDynamicHelp": false,
5741
5763
  "hiddenAliases": [],
5742
- "id": "custom-fields:get",
5764
+ "id": "exports:delete",
5743
5765
  "pluginAlias": "@instantkom/cli",
5744
5766
  "pluginName": "@instantkom/cli",
5745
5767
  "pluginType": "core",
@@ -5749,14 +5771,20 @@
5749
5771
  "relativePath": [
5750
5772
  "dist",
5751
5773
  "commands",
5752
- "custom-fields",
5753
- "get.js"
5774
+ "exports",
5775
+ "delete.js"
5754
5776
  ]
5755
5777
  },
5756
- "custom-fields:list": {
5778
+ "exports:download": {
5757
5779
  "aliases": [],
5758
- "args": {},
5759
- "description": "List custom fields",
5780
+ "args": {
5781
+ "id": {
5782
+ "description": "Export ID",
5783
+ "name": "id",
5784
+ "required": true
5785
+ }
5786
+ },
5787
+ "description": "Download an export file",
5760
5788
  "flags": {
5761
5789
  "api-key": {
5762
5790
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5819,11 +5847,18 @@
5819
5847
  "hasDynamicHelp": false,
5820
5848
  "multiple": false,
5821
5849
  "type": "option"
5850
+ },
5851
+ "file": {
5852
+ "description": "Output file path",
5853
+ "name": "file",
5854
+ "hasDynamicHelp": false,
5855
+ "multiple": false,
5856
+ "type": "option"
5822
5857
  }
5823
5858
  },
5824
5859
  "hasDynamicHelp": false,
5825
5860
  "hiddenAliases": [],
5826
- "id": "custom-fields:list",
5861
+ "id": "exports:download",
5827
5862
  "pluginAlias": "@instantkom/cli",
5828
5863
  "pluginName": "@instantkom/cli",
5829
5864
  "pluginType": "core",
@@ -5833,14 +5868,20 @@
5833
5868
  "relativePath": [
5834
5869
  "dist",
5835
5870
  "commands",
5836
- "custom-fields",
5837
- "list.js"
5871
+ "exports",
5872
+ "download.js"
5838
5873
  ]
5839
5874
  },
5840
- "custom-fields:reorder": {
5875
+ "exports:get": {
5841
5876
  "aliases": [],
5842
- "args": {},
5843
- "description": "Reorder custom fields",
5877
+ "args": {
5878
+ "id": {
5879
+ "description": "Export ID",
5880
+ "name": "id",
5881
+ "required": true
5882
+ }
5883
+ },
5884
+ "description": "Get an export by ID",
5844
5885
  "flags": {
5845
5886
  "api-key": {
5846
5887
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5903,19 +5944,11 @@
5903
5944
  "hasDynamicHelp": false,
5904
5945
  "multiple": false,
5905
5946
  "type": "option"
5906
- },
5907
- "order": {
5908
- "description": "Order JSON array payload",
5909
- "name": "order",
5910
- "required": true,
5911
- "hasDynamicHelp": false,
5912
- "multiple": false,
5913
- "type": "option"
5914
5947
  }
5915
5948
  },
5916
5949
  "hasDynamicHelp": false,
5917
5950
  "hiddenAliases": [],
5918
- "id": "custom-fields:reorder",
5951
+ "id": "exports:get",
5919
5952
  "pluginAlias": "@instantkom/cli",
5920
5953
  "pluginName": "@instantkom/cli",
5921
5954
  "pluginType": "core",
@@ -5925,20 +5958,14 @@
5925
5958
  "relativePath": [
5926
5959
  "dist",
5927
5960
  "commands",
5928
- "custom-fields",
5929
- "reorder.js"
5961
+ "exports",
5962
+ "get.js"
5930
5963
  ]
5931
5964
  },
5932
- "custom-fields:update": {
5965
+ "exports:list": {
5933
5966
  "aliases": [],
5934
- "args": {
5935
- "id": {
5936
- "description": "Custom field ID",
5937
- "name": "id",
5938
- "required": true
5939
- }
5940
- },
5941
- "description": "Update a custom field",
5967
+ "args": {},
5968
+ "description": "List exports",
5942
5969
  "flags": {
5943
5970
  "api-key": {
5944
5971
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5998,63 +6025,36 @@
5998
6025
  "description": "Override the API base URL (e.g. for staging)",
5999
6026
  "helpGroup": "GLOBAL",
6000
6027
  "name": "api-url",
6001
- "hasDynamicHelp": false,
6002
- "multiple": false,
6003
- "type": "option"
6004
- },
6005
- "name": {
6006
- "description": "Field name",
6007
- "name": "name",
6008
- "hasDynamicHelp": false,
6009
- "multiple": false,
6010
- "type": "option"
6011
- },
6012
- "type": {
6013
- "description": "Field type",
6014
- "name": "type",
6015
- "hasDynamicHelp": false,
6016
- "multiple": false,
6017
- "options": [
6018
- "text",
6019
- "number",
6020
- "date",
6021
- "dropdown",
6022
- "checkbox",
6023
- "url",
6024
- "email",
6025
- "phone"
6026
- ],
6027
- "type": "option"
6028
- },
6029
- "required": {
6030
- "description": "Field is required",
6031
- "name": "required",
6032
- "allowNo": true,
6033
- "type": "boolean"
6034
- },
6035
- "status": {
6036
- "description": "Field is active",
6037
- "name": "status",
6038
- "allowNo": true,
6039
- "type": "boolean"
6028
+ "hasDynamicHelp": false,
6029
+ "multiple": false,
6030
+ "type": "option"
6040
6031
  },
6041
- "default": {
6042
- "description": "Default value",
6043
- "name": "default",
6032
+ "page": {
6033
+ "description": "Page number",
6034
+ "name": "page",
6035
+ "default": 1,
6044
6036
  "hasDynamicHelp": false,
6045
6037
  "multiple": false,
6046
6038
  "type": "option"
6047
6039
  },
6048
- "options": {
6049
- "description": "Comma-separated dropdown options",
6050
- "name": "options",
6040
+ "limit": {
6041
+ "description": "Items per page",
6042
+ "name": "limit",
6043
+ "default": 50,
6051
6044
  "hasDynamicHelp": false,
6052
6045
  "multiple": false,
6053
6046
  "type": "option"
6054
6047
  },
6055
- "data": {
6056
- "description": "Additional JSON object payload",
6057
- "name": "data",
6048
+ "source": {
6049
+ "description": "Filter by data source",
6050
+ "name": "source",
6051
+ "hasDynamicHelp": false,
6052
+ "multiple": false,
6053
+ "type": "option"
6054
+ },
6055
+ "target": {
6056
+ "description": "Filter by export target/format",
6057
+ "name": "target",
6058
6058
  "hasDynamicHelp": false,
6059
6059
  "multiple": false,
6060
6060
  "type": "option"
@@ -6062,7 +6062,7 @@
6062
6062
  },
6063
6063
  "hasDynamicHelp": false,
6064
6064
  "hiddenAliases": [],
6065
- "id": "custom-fields:update",
6065
+ "id": "exports:list",
6066
6066
  "pluginAlias": "@instantkom/cli",
6067
6067
  "pluginName": "@instantkom/cli",
6068
6068
  "pluginType": "core",
@@ -6072,8 +6072,8 @@
6072
6072
  "relativePath": [
6073
6073
  "dist",
6074
6074
  "commands",
6075
- "custom-fields",
6076
- "update.js"
6075
+ "exports",
6076
+ "list.js"
6077
6077
  ]
6078
6078
  },
6079
6079
  "flows: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.134.0"
16355
+ "version": "3.134.1"
16356
16356
  }