@instantkom/cli 3.195.8 → 3.195.9

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.
@@ -2843,10 +2843,16 @@
2843
2843
  "update.js"
2844
2844
  ]
2845
2845
  },
2846
- "channels:create": {
2846
+ "chats:get": {
2847
2847
  "aliases": [],
2848
- "args": {},
2849
- "description": "Create a channel",
2848
+ "args": {
2849
+ "id": {
2850
+ "description": "chat ID",
2851
+ "name": "id",
2852
+ "required": true
2853
+ }
2854
+ },
2855
+ "description": "Get chat by ID",
2850
2856
  "flags": {
2851
2857
  "api-key": {
2852
2858
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2909,48 +2915,11 @@
2909
2915
  "hasDynamicHelp": false,
2910
2916
  "multiple": false,
2911
2917
  "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"
2949
2918
  }
2950
2919
  },
2951
2920
  "hasDynamicHelp": false,
2952
2921
  "hiddenAliases": [],
2953
- "id": "channels:create",
2922
+ "id": "chats:get",
2954
2923
  "pluginAlias": "@instantkom/cli",
2955
2924
  "pluginName": "@instantkom/cli",
2956
2925
  "pluginType": "core",
@@ -2960,20 +2929,14 @@
2960
2929
  "relativePath": [
2961
2930
  "dist",
2962
2931
  "commands",
2963
- "channels",
2964
- "create.js"
2932
+ "chats",
2933
+ "get.js"
2965
2934
  ]
2966
2935
  },
2967
- "channels:get": {
2936
+ "chats:list": {
2968
2937
  "aliases": [],
2969
- "args": {
2970
- "id": {
2971
- "description": "Channel ID",
2972
- "name": "id",
2973
- "required": true
2974
- }
2975
- },
2976
- "description": "Get a channel by ID",
2938
+ "args": {},
2939
+ "description": "List chats",
2977
2940
  "flags": {
2978
2941
  "api-key": {
2979
2942
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3036,11 +2999,73 @@
3036
2999
  "hasDynamicHelp": false,
3037
3000
  "multiple": false,
3038
3001
  "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"
3039
3064
  }
3040
3065
  },
3041
3066
  "hasDynamicHelp": false,
3042
3067
  "hiddenAliases": [],
3043
- "id": "channels:get",
3068
+ "id": "chats:list",
3044
3069
  "pluginAlias": "@instantkom/cli",
3045
3070
  "pluginName": "@instantkom/cli",
3046
3071
  "pluginType": "core",
@@ -3050,20 +3075,20 @@
3050
3075
  "relativePath": [
3051
3076
  "dist",
3052
3077
  "commands",
3053
- "channels",
3054
- "get.js"
3078
+ "chats",
3079
+ "list.js"
3055
3080
  ]
3056
3081
  },
3057
- "channels:kpis": {
3082
+ "chats:reply": {
3058
3083
  "aliases": [],
3059
3084
  "args": {
3060
3085
  "id": {
3061
- "description": "Optional channel ID; omit for aggregated channel KPIs",
3086
+ "description": "Chat ID",
3062
3087
  "name": "id",
3063
- "required": false
3088
+ "required": true
3064
3089
  }
3065
3090
  },
3066
- "description": "Get channel KPIs",
3091
+ "description": "Reply in a chat",
3067
3092
  "flags": {
3068
3093
  "api-key": {
3069
3094
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3127,9 +3152,10 @@
3127
3152
  "multiple": false,
3128
3153
  "type": "option"
3129
3154
  },
3130
- "period": {
3131
- "description": "KPI period",
3132
- "name": "period",
3155
+ "text": {
3156
+ "description": "Reply text",
3157
+ "name": "text",
3158
+ "required": true,
3133
3159
  "hasDynamicHelp": false,
3134
3160
  "multiple": false,
3135
3161
  "type": "option"
@@ -3137,7 +3163,7 @@
3137
3163
  },
3138
3164
  "hasDynamicHelp": false,
3139
3165
  "hiddenAliases": [],
3140
- "id": "channels:kpis",
3166
+ "id": "chats:reply",
3141
3167
  "pluginAlias": "@instantkom/cli",
3142
3168
  "pluginName": "@instantkom/cli",
3143
3169
  "pluginType": "core",
@@ -3147,14 +3173,14 @@
3147
3173
  "relativePath": [
3148
3174
  "dist",
3149
3175
  "commands",
3150
- "channels",
3151
- "kpis.js"
3176
+ "chats",
3177
+ "reply.js"
3152
3178
  ]
3153
3179
  },
3154
- "channels:list": {
3180
+ "channels:create": {
3155
3181
  "aliases": [],
3156
3182
  "args": {},
3157
- "description": "List channels",
3183
+ "description": "Create a channel",
3158
3184
  "flags": {
3159
3185
  "api-key": {
3160
3186
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3218,39 +3244,39 @@
3218
3244
  "multiple": false,
3219
3245
  "type": "option"
3220
3246
  },
3221
- "page": {
3222
- "description": "Page number",
3223
- "name": "page",
3224
- "default": 1,
3247
+ "name": {
3248
+ "description": "Channel name",
3249
+ "name": "name",
3250
+ "required": true,
3225
3251
  "hasDynamicHelp": false,
3226
3252
  "multiple": false,
3227
3253
  "type": "option"
3228
3254
  },
3229
- "limit": {
3230
- "description": "Items per page",
3231
- "name": "limit",
3232
- "default": 20,
3255
+ "gateway-type": {
3256
+ "description": "Gateway type ID",
3257
+ "name": "gateway-type",
3258
+ "required": true,
3233
3259
  "hasDynamicHelp": false,
3234
3260
  "multiple": false,
3235
3261
  "type": "option"
3236
3262
  },
3237
3263
  "status": {
3238
- "description": "Filter by channel status",
3264
+ "description": "Channel lifecycle status",
3239
3265
  "name": "status",
3240
3266
  "hasDynamicHelp": false,
3241
3267
  "multiple": false,
3242
3268
  "type": "option"
3243
3269
  },
3244
- "gateway-type": {
3245
- "description": "Filter by gateway type ID",
3246
- "name": "gateway-type",
3270
+ "description": {
3271
+ "description": "Channel description",
3272
+ "name": "description",
3247
3273
  "hasDynamicHelp": false,
3248
3274
  "multiple": false,
3249
3275
  "type": "option"
3250
3276
  },
3251
- "search": {
3252
- "description": "Search by channel name",
3253
- "name": "search",
3277
+ "data": {
3278
+ "description": "Additional JSON object payload",
3279
+ "name": "data",
3254
3280
  "hasDynamicHelp": false,
3255
3281
  "multiple": false,
3256
3282
  "type": "option"
@@ -3258,7 +3284,7 @@
3258
3284
  },
3259
3285
  "hasDynamicHelp": false,
3260
3286
  "hiddenAliases": [],
3261
- "id": "channels:list",
3287
+ "id": "channels:create",
3262
3288
  "pluginAlias": "@instantkom/cli",
3263
3289
  "pluginName": "@instantkom/cli",
3264
3290
  "pluginType": "core",
@@ -3269,10 +3295,10 @@
3269
3295
  "dist",
3270
3296
  "commands",
3271
3297
  "channels",
3272
- "list.js"
3298
+ "create.js"
3273
3299
  ]
3274
3300
  },
3275
- "channels:update": {
3301
+ "channels:get": {
3276
3302
  "aliases": [],
3277
3303
  "args": {
3278
3304
  "id": {
@@ -3281,7 +3307,7 @@
3281
3307
  "required": true
3282
3308
  }
3283
3309
  },
3284
- "description": "Update a channel",
3310
+ "description": "Get a channel by ID",
3285
3311
  "flags": {
3286
3312
  "api-key": {
3287
3313
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3344,39 +3370,11 @@
3344
3370
  "hasDynamicHelp": false,
3345
3371
  "multiple": false,
3346
3372
  "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"
3375
3373
  }
3376
3374
  },
3377
3375
  "hasDynamicHelp": false,
3378
3376
  "hiddenAliases": [],
3379
- "id": "channels:update",
3377
+ "id": "channels:get",
3380
3378
  "pluginAlias": "@instantkom/cli",
3381
3379
  "pluginName": "@instantkom/cli",
3382
3380
  "pluginType": "core",
@@ -3387,19 +3385,19 @@
3387
3385
  "dist",
3388
3386
  "commands",
3389
3387
  "channels",
3390
- "update.js"
3388
+ "get.js"
3391
3389
  ]
3392
3390
  },
3393
- "chats:get": {
3391
+ "channels:kpis": {
3394
3392
  "aliases": [],
3395
3393
  "args": {
3396
3394
  "id": {
3397
- "description": "chat ID",
3395
+ "description": "Optional channel ID; omit for aggregated channel KPIs",
3398
3396
  "name": "id",
3399
- "required": true
3397
+ "required": false
3400
3398
  }
3401
3399
  },
3402
- "description": "Get chat by ID",
3400
+ "description": "Get channel KPIs",
3403
3401
  "flags": {
3404
3402
  "api-key": {
3405
3403
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3462,11 +3460,18 @@
3462
3460
  "hasDynamicHelp": false,
3463
3461
  "multiple": false,
3464
3462
  "type": "option"
3463
+ },
3464
+ "period": {
3465
+ "description": "KPI period",
3466
+ "name": "period",
3467
+ "hasDynamicHelp": false,
3468
+ "multiple": false,
3469
+ "type": "option"
3465
3470
  }
3466
3471
  },
3467
3472
  "hasDynamicHelp": false,
3468
3473
  "hiddenAliases": [],
3469
- "id": "chats:get",
3474
+ "id": "channels:kpis",
3470
3475
  "pluginAlias": "@instantkom/cli",
3471
3476
  "pluginName": "@instantkom/cli",
3472
3477
  "pluginType": "core",
@@ -3476,14 +3481,14 @@
3476
3481
  "relativePath": [
3477
3482
  "dist",
3478
3483
  "commands",
3479
- "chats",
3480
- "get.js"
3484
+ "channels",
3485
+ "kpis.js"
3481
3486
  ]
3482
3487
  },
3483
- "chats:list": {
3488
+ "channels:list": {
3484
3489
  "aliases": [],
3485
3490
  "args": {},
3486
- "description": "List chats",
3491
+ "description": "List channels",
3487
3492
  "flags": {
3488
3493
  "api-key": {
3489
3494
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3563,56 +3568,31 @@
3563
3568
  "multiple": false,
3564
3569
  "type": "option"
3565
3570
  },
3566
- "channel": {
3567
- "description": "Filter by channel ID",
3568
- "name": "channel",
3571
+ "status": {
3572
+ "description": "Filter by channel status",
3573
+ "name": "status",
3569
3574
  "hasDynamicHelp": false,
3570
3575
  "multiple": false,
3571
3576
  "type": "option"
3572
3577
  },
3573
- "channels": {
3574
- "description": "Comma-separated channel IDs",
3575
- "name": "channels",
3578
+ "gateway-type": {
3579
+ "description": "Filter by gateway type ID",
3580
+ "name": "gateway-type",
3576
3581
  "hasDynamicHelp": false,
3577
3582
  "multiple": false,
3578
3583
  "type": "option"
3579
3584
  },
3580
3585
  "search": {
3581
- "description": "Search chats",
3586
+ "description": "Search by channel name",
3582
3587
  "name": "search",
3583
3588
  "hasDynamicHelp": false,
3584
3589
  "multiple": false,
3585
3590
  "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"
3611
3591
  }
3612
3592
  },
3613
3593
  "hasDynamicHelp": false,
3614
3594
  "hiddenAliases": [],
3615
- "id": "chats:list",
3595
+ "id": "channels:list",
3616
3596
  "pluginAlias": "@instantkom/cli",
3617
3597
  "pluginName": "@instantkom/cli",
3618
3598
  "pluginType": "core",
@@ -3622,20 +3602,20 @@
3622
3602
  "relativePath": [
3623
3603
  "dist",
3624
3604
  "commands",
3625
- "chats",
3605
+ "channels",
3626
3606
  "list.js"
3627
3607
  ]
3628
3608
  },
3629
- "chats:reply": {
3609
+ "channels:update": {
3630
3610
  "aliases": [],
3631
3611
  "args": {
3632
3612
  "id": {
3633
- "description": "Chat ID",
3613
+ "description": "Channel ID",
3634
3614
  "name": "id",
3635
3615
  "required": true
3636
3616
  }
3637
3617
  },
3638
- "description": "Reply in a chat",
3618
+ "description": "Update a channel",
3639
3619
  "flags": {
3640
3620
  "api-key": {
3641
3621
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3699,10 +3679,30 @@
3699
3679
  "multiple": false,
3700
3680
  "type": "option"
3701
3681
  },
3702
- "text": {
3703
- "description": "Reply text",
3704
- "name": "text",
3705
- "required": true,
3682
+ "name": {
3683
+ "description": "Channel name",
3684
+ "name": "name",
3685
+ "hasDynamicHelp": false,
3686
+ "multiple": false,
3687
+ "type": "option"
3688
+ },
3689
+ "status": {
3690
+ "description": "Channel lifecycle status",
3691
+ "name": "status",
3692
+ "hasDynamicHelp": false,
3693
+ "multiple": false,
3694
+ "type": "option"
3695
+ },
3696
+ "description": {
3697
+ "description": "Channel description",
3698
+ "name": "description",
3699
+ "hasDynamicHelp": false,
3700
+ "multiple": false,
3701
+ "type": "option"
3702
+ },
3703
+ "data": {
3704
+ "description": "Additional JSON object payload",
3705
+ "name": "data",
3706
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": "chats:reply",
3713
+ "id": "channels:update",
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
- "chats",
3724
- "reply.js"
3723
+ "channels",
3724
+ "update.js"
3725
3725
  ]
3726
3726
  },
3727
3727
  "config:get": {
@@ -8150,10 +8150,10 @@
8150
8150
  "update.js"
8151
8151
  ]
8152
8152
  },
8153
- "tags:create": {
8153
+ "templates:create": {
8154
8154
  "aliases": [],
8155
8155
  "args": {},
8156
- "description": "Create a tag",
8156
+ "description": "Create a message template",
8157
8157
  "flags": {
8158
8158
  "api-key": {
8159
8159
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8217,31 +8217,78 @@
8217
8217
  "multiple": false,
8218
8218
  "type": "option"
8219
8219
  },
8220
+ "channel": {
8221
+ "description": "Channel ID",
8222
+ "name": "channel",
8223
+ "required": true,
8224
+ "hasDynamicHelp": false,
8225
+ "multiple": false,
8226
+ "type": "option"
8227
+ },
8220
8228
  "name": {
8221
- "description": "Tag name",
8229
+ "description": "Template name",
8222
8230
  "name": "name",
8223
8231
  "required": true,
8224
8232
  "hasDynamicHelp": false,
8225
8233
  "multiple": false,
8226
8234
  "type": "option"
8227
8235
  },
8228
- "description": {
8229
- "description": "Tag description",
8230
- "name": "description",
8236
+ "type": {
8237
+ "description": "Template type",
8238
+ "name": "type",
8239
+ "default": "text",
8240
+ "hasDynamicHelp": false,
8241
+ "multiple": false,
8242
+ "options": [
8243
+ "text",
8244
+ "image",
8245
+ "video",
8246
+ "document",
8247
+ "audio",
8248
+ "location",
8249
+ "contact",
8250
+ "interactive"
8251
+ ],
8252
+ "type": "option"
8253
+ },
8254
+ "message": {
8255
+ "description": "Template message",
8256
+ "name": "message",
8257
+ "required": true,
8231
8258
  "hasDynamicHelp": false,
8232
8259
  "multiple": false,
8233
8260
  "type": "option"
8234
8261
  },
8235
8262
  "color": {
8236
- "description": "Tag color as HEX",
8263
+ "description": "Template color as HEX",
8237
8264
  "name": "color",
8238
8265
  "hasDynamicHelp": false,
8239
8266
  "multiple": false,
8240
8267
  "type": "option"
8241
8268
  },
8242
- "folder": {
8243
- "description": "Object folder ID",
8244
- "name": "folder",
8269
+ "status": {
8270
+ "description": "Template is active",
8271
+ "name": "status",
8272
+ "allowNo": true,
8273
+ "type": "boolean"
8274
+ },
8275
+ "whatsapp-language": {
8276
+ "description": "WhatsApp template language",
8277
+ "name": "whatsapp-language",
8278
+ "hasDynamicHelp": false,
8279
+ "multiple": false,
8280
+ "type": "option"
8281
+ },
8282
+ "buttons": {
8283
+ "description": "Buttons JSON array/object",
8284
+ "name": "buttons",
8285
+ "hasDynamicHelp": false,
8286
+ "multiple": false,
8287
+ "type": "option"
8288
+ },
8289
+ "header-footer": {
8290
+ "description": "Header/footer JSON object",
8291
+ "name": "header-footer",
8245
8292
  "hasDynamicHelp": false,
8246
8293
  "multiple": false,
8247
8294
  "type": "option"
@@ -8256,7 +8303,7 @@
8256
8303
  },
8257
8304
  "hasDynamicHelp": false,
8258
8305
  "hiddenAliases": [],
8259
- "id": "tags:create",
8306
+ "id": "templates:create",
8260
8307
  "pluginAlias": "@instantkom/cli",
8261
8308
  "pluginName": "@instantkom/cli",
8262
8309
  "pluginType": "core",
@@ -8266,20 +8313,20 @@
8266
8313
  "relativePath": [
8267
8314
  "dist",
8268
8315
  "commands",
8269
- "tags",
8316
+ "templates",
8270
8317
  "create.js"
8271
8318
  ]
8272
8319
  },
8273
- "tags:delete": {
8320
+ "templates:delete": {
8274
8321
  "aliases": [],
8275
8322
  "args": {
8276
8323
  "id": {
8277
- "description": "tag ID",
8324
+ "description": "template ID",
8278
8325
  "name": "id",
8279
8326
  "required": true
8280
8327
  }
8281
8328
  },
8282
- "description": "Delete tag",
8329
+ "description": "Delete template",
8283
8330
  "flags": {
8284
8331
  "api-key": {
8285
8332
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8346,7 +8393,7 @@
8346
8393
  },
8347
8394
  "hasDynamicHelp": false,
8348
8395
  "hiddenAliases": [],
8349
- "id": "tags:delete",
8396
+ "id": "templates:delete",
8350
8397
  "pluginAlias": "@instantkom/cli",
8351
8398
  "pluginName": "@instantkom/cli",
8352
8399
  "pluginType": "core",
@@ -8356,14 +8403,14 @@
8356
8403
  "relativePath": [
8357
8404
  "dist",
8358
8405
  "commands",
8359
- "tags",
8406
+ "templates",
8360
8407
  "delete.js"
8361
8408
  ]
8362
8409
  },
8363
- "tags:export": {
8410
+ "templates:export": {
8364
8411
  "aliases": [],
8365
8412
  "args": {},
8366
- "description": "Export tags to a file",
8413
+ "description": "Export templates to a file",
8367
8414
  "flags": {
8368
8415
  "api-key": {
8369
8416
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8377,7 +8424,7 @@
8377
8424
  "format": {
8378
8425
  "description": "Export format",
8379
8426
  "name": "format",
8380
- "default": "csv",
8427
+ "default": "json",
8381
8428
  "hasDynamicHelp": false,
8382
8429
  "multiple": false,
8383
8430
  "options": [
@@ -8431,11 +8478,18 @@
8431
8478
  "hasDynamicHelp": false,
8432
8479
  "multiple": false,
8433
8480
  "type": "option"
8481
+ },
8482
+ "channel": {
8483
+ "description": "Filter by channel ID",
8484
+ "name": "channel",
8485
+ "hasDynamicHelp": false,
8486
+ "multiple": false,
8487
+ "type": "option"
8434
8488
  }
8435
8489
  },
8436
8490
  "hasDynamicHelp": false,
8437
8491
  "hiddenAliases": [],
8438
- "id": "tags:export",
8492
+ "id": "templates:export",
8439
8493
  "pluginAlias": "@instantkom/cli",
8440
8494
  "pluginName": "@instantkom/cli",
8441
8495
  "pluginType": "core",
@@ -8445,20 +8499,20 @@
8445
8499
  "relativePath": [
8446
8500
  "dist",
8447
8501
  "commands",
8448
- "tags",
8502
+ "templates",
8449
8503
  "export.js"
8450
8504
  ]
8451
8505
  },
8452
- "tags:get": {
8506
+ "templates:get": {
8453
8507
  "aliases": [],
8454
8508
  "args": {
8455
8509
  "id": {
8456
- "description": "tag ID",
8510
+ "description": "Template ID",
8457
8511
  "name": "id",
8458
8512
  "required": true
8459
8513
  }
8460
8514
  },
8461
- "description": "Get tag by ID",
8515
+ "description": "Get a message template by ID",
8462
8516
  "flags": {
8463
8517
  "api-key": {
8464
8518
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8525,7 +8579,7 @@
8525
8579
  },
8526
8580
  "hasDynamicHelp": false,
8527
8581
  "hiddenAliases": [],
8528
- "id": "tags:get",
8582
+ "id": "templates:get",
8529
8583
  "pluginAlias": "@instantkom/cli",
8530
8584
  "pluginName": "@instantkom/cli",
8531
8585
  "pluginType": "core",
@@ -8535,14 +8589,14 @@
8535
8589
  "relativePath": [
8536
8590
  "dist",
8537
8591
  "commands",
8538
- "tags",
8592
+ "templates",
8539
8593
  "get.js"
8540
8594
  ]
8541
8595
  },
8542
- "tags:import": {
8596
+ "templates:import": {
8543
8597
  "aliases": [],
8544
8598
  "args": {},
8545
- "description": "Import tags from JSON",
8599
+ "description": "Import templates from JSON",
8546
8600
  "flags": {
8547
8601
  "api-key": {
8548
8602
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8614,8 +8668,16 @@
8614
8668
  "multiple": false,
8615
8669
  "type": "option"
8616
8670
  },
8671
+ "channel": {
8672
+ "description": "Target channel ID",
8673
+ "name": "channel",
8674
+ "required": true,
8675
+ "hasDynamicHelp": false,
8676
+ "multiple": false,
8677
+ "type": "option"
8678
+ },
8617
8679
  "skip-duplicates": {
8618
- "description": "Skip duplicate tags",
8680
+ "description": "Skip duplicate templates",
8619
8681
  "name": "skip-duplicates",
8620
8682
  "allowNo": true,
8621
8683
  "type": "boolean"
@@ -8623,7 +8685,7 @@
8623
8685
  },
8624
8686
  "hasDynamicHelp": false,
8625
8687
  "hiddenAliases": [],
8626
- "id": "tags:import",
8688
+ "id": "templates:import",
8627
8689
  "pluginAlias": "@instantkom/cli",
8628
8690
  "pluginName": "@instantkom/cli",
8629
8691
  "pluginType": "core",
@@ -8633,14 +8695,14 @@
8633
8695
  "relativePath": [
8634
8696
  "dist",
8635
8697
  "commands",
8636
- "tags",
8698
+ "templates",
8637
8699
  "import.js"
8638
8700
  ]
8639
8701
  },
8640
- "tags:list": {
8702
+ "templates:list": {
8641
8703
  "aliases": [],
8642
8704
  "args": {},
8643
- "description": "List tags",
8705
+ "description": "List message templates",
8644
8706
  "flags": {
8645
8707
  "api-key": {
8646
8708
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8704,32 +8766,32 @@
8704
8766
  "multiple": false,
8705
8767
  "type": "option"
8706
8768
  },
8707
- "page": {
8708
- "description": "Page number",
8709
- "name": "page",
8710
- "default": 1,
8769
+ "channel": {
8770
+ "description": "Filter by channel ID",
8771
+ "name": "channel",
8711
8772
  "hasDynamicHelp": false,
8712
8773
  "multiple": false,
8713
8774
  "type": "option"
8714
8775
  },
8715
- "limit": {
8716
- "description": "Items per page",
8717
- "name": "limit",
8718
- "default": 20,
8776
+ "search": {
8777
+ "description": "Search templates by name or content",
8778
+ "name": "search",
8719
8779
  "hasDynamicHelp": false,
8720
8780
  "multiple": false,
8721
8781
  "type": "option"
8722
8782
  },
8723
- "search": {
8724
- "description": "Search by name",
8725
- "name": "search",
8783
+ "page": {
8784
+ "description": "Page number",
8785
+ "name": "page",
8786
+ "default": 1,
8726
8787
  "hasDynamicHelp": false,
8727
8788
  "multiple": false,
8728
8789
  "type": "option"
8729
8790
  },
8730
- "color": {
8731
- "description": "Filter by color",
8732
- "name": "color",
8791
+ "limit": {
8792
+ "description": "Items per page",
8793
+ "name": "limit",
8794
+ "default": 20,
8733
8795
  "hasDynamicHelp": false,
8734
8796
  "multiple": false,
8735
8797
  "type": "option"
@@ -8737,7 +8799,7 @@
8737
8799
  },
8738
8800
  "hasDynamicHelp": false,
8739
8801
  "hiddenAliases": [],
8740
- "id": "tags:list",
8802
+ "id": "templates:list",
8741
8803
  "pluginAlias": "@instantkom/cli",
8742
8804
  "pluginName": "@instantkom/cli",
8743
8805
  "pluginType": "core",
@@ -8747,20 +8809,20 @@
8747
8809
  "relativePath": [
8748
8810
  "dist",
8749
8811
  "commands",
8750
- "tags",
8812
+ "templates",
8751
8813
  "list.js"
8752
8814
  ]
8753
8815
  },
8754
- "tags:update": {
8816
+ "templates:render": {
8755
8817
  "aliases": [],
8756
8818
  "args": {
8757
8819
  "id": {
8758
- "description": "Tag ID",
8820
+ "description": "Template ID",
8759
8821
  "name": "id",
8760
8822
  "required": true
8761
8823
  }
8762
8824
  },
8763
- "description": "Update a tag",
8825
+ "description": "Render a message template locally",
8764
8826
  "flags": {
8765
8827
  "api-key": {
8766
8828
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8824,45 +8886,17 @@
8824
8886
  "multiple": false,
8825
8887
  "type": "option"
8826
8888
  },
8827
- "name": {
8828
- "description": "Tag name",
8829
- "name": "name",
8889
+ "vars": {
8890
+ "description": "Template variable as key=value; may be repeated",
8891
+ "name": "vars",
8830
8892
  "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,
8893
+ "multiple": true,
8860
8894
  "type": "option"
8861
8895
  }
8862
8896
  },
8863
8897
  "hasDynamicHelp": false,
8864
8898
  "hiddenAliases": [],
8865
- "id": "tags:update",
8899
+ "id": "templates:render",
8866
8900
  "pluginAlias": "@instantkom/cli",
8867
8901
  "pluginName": "@instantkom/cli",
8868
8902
  "pluginType": "core",
@@ -8872,14 +8906,20 @@
8872
8906
  "relativePath": [
8873
8907
  "dist",
8874
8908
  "commands",
8875
- "tags",
8876
- "update.js"
8909
+ "templates",
8910
+ "render.js"
8877
8911
  ]
8878
8912
  },
8879
- "tags:validate-import": {
8913
+ "templates:update": {
8880
8914
  "aliases": [],
8881
- "args": {},
8882
- "description": "Validate tags import JSON",
8915
+ "args": {
8916
+ "id": {
8917
+ "description": "Template ID",
8918
+ "name": "id",
8919
+ "required": true
8920
+ }
8921
+ },
8922
+ "description": "Update a message template",
8883
8923
  "flags": {
8884
8924
  "api-key": {
8885
8925
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8943,10 +8983,80 @@
8943
8983
  "multiple": false,
8944
8984
  "type": "option"
8945
8985
  },
8946
- "file": {
8947
- "description": "JSON file path",
8948
- "name": "file",
8949
- "required": true,
8986
+ "name": {
8987
+ "description": "Template name",
8988
+ "name": "name",
8989
+ "hasDynamicHelp": false,
8990
+ "multiple": false,
8991
+ "type": "option"
8992
+ },
8993
+ "type": {
8994
+ "description": "Template type",
8995
+ "name": "type",
8996
+ "hasDynamicHelp": false,
8997
+ "multiple": false,
8998
+ "options": [
8999
+ "text",
9000
+ "image",
9001
+ "video",
9002
+ "document",
9003
+ "audio",
9004
+ "location",
9005
+ "contact",
9006
+ "interactive"
9007
+ ],
9008
+ "type": "option"
9009
+ },
9010
+ "message": {
9011
+ "description": "Template message",
9012
+ "name": "message",
9013
+ "hasDynamicHelp": false,
9014
+ "multiple": false,
9015
+ "type": "option"
9016
+ },
9017
+ "color": {
9018
+ "description": "Template color as HEX",
9019
+ "name": "color",
9020
+ "hasDynamicHelp": false,
9021
+ "multiple": false,
9022
+ "type": "option"
9023
+ },
9024
+ "status": {
9025
+ "description": "Template is active",
9026
+ "name": "status",
9027
+ "allowNo": true,
9028
+ "type": "boolean"
9029
+ },
9030
+ "remove-media": {
9031
+ "description": "Remove existing media",
9032
+ "name": "remove-media",
9033
+ "allowNo": false,
9034
+ "type": "boolean"
9035
+ },
9036
+ "whatsapp-language": {
9037
+ "description": "WhatsApp template language",
9038
+ "name": "whatsapp-language",
9039
+ "hasDynamicHelp": false,
9040
+ "multiple": false,
9041
+ "type": "option"
9042
+ },
9043
+ "buttons": {
9044
+ "description": "Buttons JSON array/object",
9045
+ "name": "buttons",
9046
+ "hasDynamicHelp": false,
9047
+ "multiple": false,
9048
+ "type": "option"
9049
+ },
9050
+ "header-footer": {
9051
+ "description": "Header/footer JSON object",
9052
+ "name": "header-footer",
9053
+ "hasDynamicHelp": false,
9054
+ "multiple": false,
9055
+ "type": "option"
9056
+ },
9057
+ "data": {
9058
+ "description": "Additional JSON object payload",
9059
+ "name": "data",
8950
9060
  "hasDynamicHelp": false,
8951
9061
  "multiple": false,
8952
9062
  "type": "option"
@@ -8954,7 +9064,7 @@
8954
9064
  },
8955
9065
  "hasDynamicHelp": false,
8956
9066
  "hiddenAliases": [],
8957
- "id": "tags:validate-import",
9067
+ "id": "templates:update",
8958
9068
  "pluginAlias": "@instantkom/cli",
8959
9069
  "pluginName": "@instantkom/cli",
8960
9070
  "pluginType": "core",
@@ -8964,14 +9074,14 @@
8964
9074
  "relativePath": [
8965
9075
  "dist",
8966
9076
  "commands",
8967
- "tags",
8968
- "validate-import.js"
9077
+ "templates",
9078
+ "update.js"
8969
9079
  ]
8970
9080
  },
8971
- "team:create": {
9081
+ "templates:validate-import": {
8972
9082
  "aliases": [],
8973
9083
  "args": {},
8974
- "description": "Create a team member",
9084
+ "description": "Validate templates import JSON",
8975
9085
  "flags": {
8976
9086
  "api-key": {
8977
9087
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9035,77 +9145,26 @@
9035
9145
  "multiple": false,
9036
9146
  "type": "option"
9037
9147
  },
9038
- "email": {
9039
- "description": "Email address",
9040
- "name": "email",
9041
- "required": true,
9042
- "hasDynamicHelp": false,
9043
- "multiple": false,
9044
- "type": "option"
9045
- },
9046
- "first-name": {
9047
- "description": "First name",
9048
- "name": "first-name",
9049
- "required": true,
9050
- "hasDynamicHelp": false,
9051
- "multiple": false,
9052
- "type": "option"
9053
- },
9054
- "last-name": {
9055
- "description": "Last name",
9056
- "name": "last-name",
9148
+ "file": {
9149
+ "description": "JSON file path",
9150
+ "name": "file",
9057
9151
  "required": true,
9058
9152
  "hasDynamicHelp": false,
9059
9153
  "multiple": false,
9060
9154
  "type": "option"
9061
9155
  },
9062
- "password": {
9063
- "description": "Initial password",
9064
- "name": "password",
9156
+ "channel": {
9157
+ "description": "Target channel ID",
9158
+ "name": "channel",
9065
9159
  "required": true,
9066
9160
  "hasDynamicHelp": false,
9067
9161
  "multiple": false,
9068
9162
  "type": "option"
9069
- },
9070
- "phone": {
9071
- "description": "Phone number",
9072
- "name": "phone",
9073
- "hasDynamicHelp": false,
9074
- "multiple": false,
9075
- "type": "option"
9076
- },
9077
- "company": {
9078
- "description": "Company name",
9079
- "name": "company",
9080
- "hasDynamicHelp": false,
9081
- "multiple": false,
9082
- "type": "option"
9083
- },
9084
- "color": {
9085
- "description": "Color as HEX",
9086
- "name": "color",
9087
- "hasDynamicHelp": false,
9088
- "multiple": false,
9089
- "type": "option"
9090
- },
9091
- "folder": {
9092
- "description": "Object folder ID",
9093
- "name": "folder",
9094
- "hasDynamicHelp": false,
9095
- "multiple": false,
9096
- "type": "option"
9097
- },
9098
- "data": {
9099
- "description": "Additional JSON object payload",
9100
- "name": "data",
9101
- "hasDynamicHelp": false,
9102
- "multiple": false,
9103
- "type": "option"
9104
9163
  }
9105
9164
  },
9106
9165
  "hasDynamicHelp": false,
9107
9166
  "hiddenAliases": [],
9108
- "id": "team:create",
9167
+ "id": "templates:validate-import",
9109
9168
  "pluginAlias": "@instantkom/cli",
9110
9169
  "pluginName": "@instantkom/cli",
9111
9170
  "pluginType": "core",
@@ -9115,20 +9174,14 @@
9115
9174
  "relativePath": [
9116
9175
  "dist",
9117
9176
  "commands",
9118
- "team",
9119
- "create.js"
9177
+ "templates",
9178
+ "validate-import.js"
9120
9179
  ]
9121
9180
  },
9122
- "team:delete": {
9181
+ "tickets:create": {
9123
9182
  "aliases": [],
9124
- "args": {
9125
- "id": {
9126
- "description": "Team member ID",
9127
- "name": "id",
9128
- "required": true
9129
- }
9130
- },
9131
- "description": "Delete a team member",
9183
+ "args": {},
9184
+ "description": "Create a ticket",
9132
9185
  "flags": {
9133
9186
  "api-key": {
9134
9187
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9191,11 +9244,69 @@
9191
9244
  "hasDynamicHelp": false,
9192
9245
  "multiple": false,
9193
9246
  "type": "option"
9247
+ },
9248
+ "channel": {
9249
+ "description": "Channel ID",
9250
+ "name": "channel",
9251
+ "required": true,
9252
+ "hasDynamicHelp": false,
9253
+ "multiple": false,
9254
+ "type": "option"
9255
+ },
9256
+ "subject": {
9257
+ "description": "Ticket subject",
9258
+ "name": "subject",
9259
+ "required": true,
9260
+ "hasDynamicHelp": false,
9261
+ "multiple": false,
9262
+ "type": "option"
9263
+ },
9264
+ "recipient": {
9265
+ "description": "Existing recipient ID",
9266
+ "name": "recipient",
9267
+ "hasDynamicHelp": false,
9268
+ "multiple": false,
9269
+ "type": "option"
9270
+ },
9271
+ "email": {
9272
+ "description": "Customer email",
9273
+ "name": "email",
9274
+ "hasDynamicHelp": false,
9275
+ "multiple": false,
9276
+ "type": "option"
9277
+ },
9278
+ "name": {
9279
+ "description": "Customer name",
9280
+ "name": "name",
9281
+ "hasDynamicHelp": false,
9282
+ "multiple": false,
9283
+ "type": "option"
9284
+ },
9285
+ "priority": {
9286
+ "description": "Ticket priority",
9287
+ "name": "priority",
9288
+ "hasDynamicHelp": false,
9289
+ "multiple": false,
9290
+ "type": "option"
9291
+ },
9292
+ "source": {
9293
+ "description": "Ticket source",
9294
+ "name": "source",
9295
+ "hasDynamicHelp": false,
9296
+ "multiple": false,
9297
+ "type": "option"
9298
+ },
9299
+ "data": {
9300
+ "description": "Additional JSON object payload",
9301
+ "name": "data",
9302
+ "hasDynamicHelp": false,
9303
+ "multiple": false,
9304
+ "type": "option"
9194
9305
  }
9195
9306
  },
9196
9307
  "hasDynamicHelp": false,
9197
9308
  "hiddenAliases": [],
9198
- "id": "team:delete",
9309
+ "id": "tickets:create",
9199
9310
  "pluginAlias": "@instantkom/cli",
9200
9311
  "pluginName": "@instantkom/cli",
9201
9312
  "pluginType": "core",
@@ -9205,14 +9316,20 @@
9205
9316
  "relativePath": [
9206
9317
  "dist",
9207
9318
  "commands",
9208
- "team",
9209
- "delete.js"
9319
+ "tickets",
9320
+ "create.js"
9210
9321
  ]
9211
9322
  },
9212
- "team:list": {
9323
+ "tickets:delete": {
9213
9324
  "aliases": [],
9214
- "args": {},
9215
- "description": "List team members",
9325
+ "args": {
9326
+ "id": {
9327
+ "description": "Ticket ID",
9328
+ "name": "id",
9329
+ "required": true
9330
+ }
9331
+ },
9332
+ "description": "Delete a ticket",
9216
9333
  "flags": {
9217
9334
  "api-key": {
9218
9335
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9275,11 +9392,19 @@
9275
9392
  "hasDynamicHelp": false,
9276
9393
  "multiple": false,
9277
9394
  "type": "option"
9395
+ },
9396
+ "channel": {
9397
+ "description": "Channel ID",
9398
+ "name": "channel",
9399
+ "required": true,
9400
+ "hasDynamicHelp": false,
9401
+ "multiple": false,
9402
+ "type": "option"
9278
9403
  }
9279
9404
  },
9280
9405
  "hasDynamicHelp": false,
9281
9406
  "hiddenAliases": [],
9282
- "id": "team:list",
9407
+ "id": "tickets:delete",
9283
9408
  "pluginAlias": "@instantkom/cli",
9284
9409
  "pluginName": "@instantkom/cli",
9285
9410
  "pluginType": "core",
@@ -9289,14 +9414,20 @@
9289
9414
  "relativePath": [
9290
9415
  "dist",
9291
9416
  "commands",
9292
- "team",
9293
- "list.js"
9417
+ "tickets",
9418
+ "delete.js"
9294
9419
  ]
9295
9420
  },
9296
- "templates:create": {
9421
+ "tickets:get": {
9297
9422
  "aliases": [],
9298
- "args": {},
9299
- "description": "Create a message template",
9423
+ "args": {
9424
+ "id": {
9425
+ "description": "Ticket ID",
9426
+ "name": "id",
9427
+ "required": true
9428
+ }
9429
+ },
9430
+ "description": "Get a ticket by ID",
9300
9431
  "flags": {
9301
9432
  "api-key": {
9302
9433
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9346,99 +9477,24 @@
9346
9477
  "profile": {
9347
9478
  "description": "Named configuration profile to use",
9348
9479
  "helpGroup": "GLOBAL",
9349
- "name": "profile",
9350
- "default": "default",
9351
- "hasDynamicHelp": false,
9352
- "multiple": false,
9353
- "type": "option"
9354
- },
9355
- "api-url": {
9356
- "description": "Override the API base URL (e.g. for staging)",
9357
- "helpGroup": "GLOBAL",
9358
- "name": "api-url",
9359
- "hasDynamicHelp": false,
9360
- "multiple": false,
9361
- "type": "option"
9362
- },
9363
- "channel": {
9364
- "description": "Channel ID",
9365
- "name": "channel",
9366
- "required": true,
9367
- "hasDynamicHelp": false,
9368
- "multiple": false,
9369
- "type": "option"
9370
- },
9371
- "name": {
9372
- "description": "Template name",
9373
- "name": "name",
9374
- "required": true,
9375
- "hasDynamicHelp": false,
9376
- "multiple": false,
9377
- "type": "option"
9378
- },
9379
- "type": {
9380
- "description": "Template type",
9381
- "name": "type",
9382
- "default": "text",
9383
- "hasDynamicHelp": false,
9384
- "multiple": false,
9385
- "options": [
9386
- "text",
9387
- "image",
9388
- "video",
9389
- "document",
9390
- "audio",
9391
- "location",
9392
- "contact",
9393
- "interactive"
9394
- ],
9395
- "type": "option"
9396
- },
9397
- "message": {
9398
- "description": "Template message",
9399
- "name": "message",
9400
- "required": true,
9401
- "hasDynamicHelp": false,
9402
- "multiple": false,
9403
- "type": "option"
9404
- },
9405
- "color": {
9406
- "description": "Template color as HEX",
9407
- "name": "color",
9408
- "hasDynamicHelp": false,
9409
- "multiple": false,
9410
- "type": "option"
9411
- },
9412
- "status": {
9413
- "description": "Template is active",
9414
- "name": "status",
9415
- "allowNo": true,
9416
- "type": "boolean"
9417
- },
9418
- "whatsapp-language": {
9419
- "description": "WhatsApp template language",
9420
- "name": "whatsapp-language",
9421
- "hasDynamicHelp": false,
9422
- "multiple": false,
9423
- "type": "option"
9424
- },
9425
- "buttons": {
9426
- "description": "Buttons JSON array/object",
9427
- "name": "buttons",
9480
+ "name": "profile",
9481
+ "default": "default",
9428
9482
  "hasDynamicHelp": false,
9429
9483
  "multiple": false,
9430
9484
  "type": "option"
9431
9485
  },
9432
- "header-footer": {
9433
- "description": "Header/footer JSON object",
9434
- "name": "header-footer",
9486
+ "api-url": {
9487
+ "description": "Override the API base URL (e.g. for staging)",
9488
+ "helpGroup": "GLOBAL",
9489
+ "name": "api-url",
9435
9490
  "hasDynamicHelp": false,
9436
9491
  "multiple": false,
9437
9492
  "type": "option"
9438
9493
  },
9439
- "data": {
9440
- "description": "Additional JSON object payload",
9441
- "name": "data",
9494
+ "channel": {
9495
+ "description": "Channel ID",
9496
+ "name": "channel",
9497
+ "required": true,
9442
9498
  "hasDynamicHelp": false,
9443
9499
  "multiple": false,
9444
9500
  "type": "option"
@@ -9446,7 +9502,7 @@
9446
9502
  },
9447
9503
  "hasDynamicHelp": false,
9448
9504
  "hiddenAliases": [],
9449
- "id": "templates:create",
9505
+ "id": "tickets:get",
9450
9506
  "pluginAlias": "@instantkom/cli",
9451
9507
  "pluginName": "@instantkom/cli",
9452
9508
  "pluginType": "core",
@@ -9456,20 +9512,14 @@
9456
9512
  "relativePath": [
9457
9513
  "dist",
9458
9514
  "commands",
9459
- "templates",
9460
- "create.js"
9515
+ "tickets",
9516
+ "get.js"
9461
9517
  ]
9462
9518
  },
9463
- "templates:delete": {
9519
+ "tickets:list": {
9464
9520
  "aliases": [],
9465
- "args": {
9466
- "id": {
9467
- "description": "template ID",
9468
- "name": "id",
9469
- "required": true
9470
- }
9471
- },
9472
- "description": "Delete template",
9521
+ "args": {},
9522
+ "description": "List tickets for a channel",
9473
9523
  "flags": {
9474
9524
  "api-key": {
9475
9525
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9532,11 +9582,35 @@
9532
9582
  "hasDynamicHelp": false,
9533
9583
  "multiple": false,
9534
9584
  "type": "option"
9585
+ },
9586
+ "channel": {
9587
+ "description": "Channel ID",
9588
+ "name": "channel",
9589
+ "required": true,
9590
+ "hasDynamicHelp": false,
9591
+ "multiple": false,
9592
+ "type": "option"
9593
+ },
9594
+ "limit": {
9595
+ "description": "Maximum tickets to return",
9596
+ "name": "limit",
9597
+ "default": 500,
9598
+ "hasDynamicHelp": false,
9599
+ "multiple": false,
9600
+ "type": "option"
9601
+ },
9602
+ "offset": {
9603
+ "description": "Number of tickets to skip",
9604
+ "name": "offset",
9605
+ "default": 0,
9606
+ "hasDynamicHelp": false,
9607
+ "multiple": false,
9608
+ "type": "option"
9535
9609
  }
9536
9610
  },
9537
9611
  "hasDynamicHelp": false,
9538
9612
  "hiddenAliases": [],
9539
- "id": "templates:delete",
9613
+ "id": "tickets:list",
9540
9614
  "pluginAlias": "@instantkom/cli",
9541
9615
  "pluginName": "@instantkom/cli",
9542
9616
  "pluginType": "core",
@@ -9546,14 +9620,20 @@
9546
9620
  "relativePath": [
9547
9621
  "dist",
9548
9622
  "commands",
9549
- "templates",
9550
- "delete.js"
9623
+ "tickets",
9624
+ "list.js"
9551
9625
  ]
9552
9626
  },
9553
- "templates:export": {
9627
+ "tickets:reply": {
9554
9628
  "aliases": [],
9555
- "args": {},
9556
- "description": "Export templates to a file",
9629
+ "args": {
9630
+ "id": {
9631
+ "description": "Ticket ID",
9632
+ "name": "id",
9633
+ "required": true
9634
+ }
9635
+ },
9636
+ "description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only; the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
9557
9637
  "flags": {
9558
9638
  "api-key": {
9559
9639
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9565,14 +9645,17 @@
9565
9645
  "type": "option"
9566
9646
  },
9567
9647
  "format": {
9568
- "description": "Export format",
9648
+ "description": "Output format: text, json, yaml, or table",
9649
+ "helpGroup": "GLOBAL",
9569
9650
  "name": "format",
9570
- "default": "json",
9651
+ "default": "text",
9571
9652
  "hasDynamicHelp": false,
9572
9653
  "multiple": false,
9573
9654
  "options": [
9574
- "csv",
9575
- "json"
9655
+ "text",
9656
+ "json",
9657
+ "yaml",
9658
+ "table"
9576
9659
  ],
9577
9660
  "type": "option"
9578
9661
  },
@@ -9614,25 +9697,24 @@
9614
9697
  "multiple": false,
9615
9698
  "type": "option"
9616
9699
  },
9617
- "file": {
9618
- "description": "Output file path",
9619
- "name": "file",
9700
+ "message": {
9701
+ "description": "Reply body (raw text, no salutation or sign-off)",
9702
+ "name": "message",
9620
9703
  "required": true,
9621
9704
  "hasDynamicHelp": false,
9622
9705
  "multiple": false,
9623
9706
  "type": "option"
9624
9707
  },
9625
- "channel": {
9626
- "description": "Filter by channel ID",
9627
- "name": "channel",
9628
- "hasDynamicHelp": false,
9629
- "multiple": false,
9630
- "type": "option"
9708
+ "close": {
9709
+ "description": "Close the ticket after sending the reply",
9710
+ "name": "close",
9711
+ "allowNo": false,
9712
+ "type": "boolean"
9631
9713
  }
9632
9714
  },
9633
9715
  "hasDynamicHelp": false,
9634
9716
  "hiddenAliases": [],
9635
- "id": "templates:export",
9717
+ "id": "tickets:reply",
9636
9718
  "pluginAlias": "@instantkom/cli",
9637
9719
  "pluginName": "@instantkom/cli",
9638
9720
  "pluginType": "core",
@@ -9642,20 +9724,20 @@
9642
9724
  "relativePath": [
9643
9725
  "dist",
9644
9726
  "commands",
9645
- "templates",
9646
- "export.js"
9727
+ "tickets",
9728
+ "reply.js"
9647
9729
  ]
9648
9730
  },
9649
- "templates:get": {
9731
+ "tickets:update": {
9650
9732
  "aliases": [],
9651
9733
  "args": {
9652
9734
  "id": {
9653
- "description": "Template ID",
9735
+ "description": "Ticket ID",
9654
9736
  "name": "id",
9655
9737
  "required": true
9656
9738
  }
9657
9739
  },
9658
- "description": "Get a message template by ID",
9740
+ "description": "Update a ticket",
9659
9741
  "flags": {
9660
9742
  "api-key": {
9661
9743
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9718,11 +9800,60 @@
9718
9800
  "hasDynamicHelp": false,
9719
9801
  "multiple": false,
9720
9802
  "type": "option"
9803
+ },
9804
+ "channel": {
9805
+ "description": "Channel ID",
9806
+ "name": "channel",
9807
+ "required": true,
9808
+ "hasDynamicHelp": false,
9809
+ "multiple": false,
9810
+ "type": "option"
9811
+ },
9812
+ "subject": {
9813
+ "description": "Ticket subject",
9814
+ "name": "subject",
9815
+ "hasDynamicHelp": false,
9816
+ "multiple": false,
9817
+ "type": "option"
9818
+ },
9819
+ "priority": {
9820
+ "description": "Ticket priority",
9821
+ "name": "priority",
9822
+ "hasDynamicHelp": false,
9823
+ "multiple": false,
9824
+ "type": "option"
9825
+ },
9826
+ "status": {
9827
+ "description": "Ticket status",
9828
+ "name": "status",
9829
+ "hasDynamicHelp": false,
9830
+ "multiple": false,
9831
+ "type": "option"
9832
+ },
9833
+ "assigned-to": {
9834
+ "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
9835
+ "name": "assigned-to",
9836
+ "hasDynamicHelp": false,
9837
+ "multiple": false,
9838
+ "type": "option"
9839
+ },
9840
+ "notify": {
9841
+ "description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
9842
+ "name": "notify",
9843
+ "allowNo": true,
9844
+ "type": "boolean"
9845
+ },
9846
+ "data": {
9847
+ "description": "Additional JSON object payload",
9848
+ "name": "data",
9849
+ "hasDynamicHelp": false,
9850
+ "multiple": false,
9851
+ "type": "option"
9721
9852
  }
9722
9853
  },
9723
9854
  "hasDynamicHelp": false,
9724
9855
  "hiddenAliases": [],
9725
- "id": "templates:get",
9856
+ "id": "tickets:update",
9726
9857
  "pluginAlias": "@instantkom/cli",
9727
9858
  "pluginName": "@instantkom/cli",
9728
9859
  "pluginType": "core",
@@ -9732,14 +9863,14 @@
9732
9863
  "relativePath": [
9733
9864
  "dist",
9734
9865
  "commands",
9735
- "templates",
9736
- "get.js"
9866
+ "tickets",
9867
+ "update.js"
9737
9868
  ]
9738
9869
  },
9739
- "templates:import": {
9870
+ "webhooks:add": {
9740
9871
  "aliases": [],
9741
9872
  "args": {},
9742
- "description": "Import templates from JSON",
9873
+ "description": "Add a webhook subscription",
9743
9874
  "flags": {
9744
9875
  "api-key": {
9745
9876
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9803,32 +9934,33 @@
9803
9934
  "multiple": false,
9804
9935
  "type": "option"
9805
9936
  },
9806
- "file": {
9807
- "description": "JSON file path",
9808
- "name": "file",
9937
+ "event": {
9938
+ "description": "Webhook event to subscribe to",
9939
+ "name": "event",
9809
9940
  "required": true,
9810
9941
  "hasDynamicHelp": false,
9811
9942
  "multiple": false,
9943
+ "options": [
9944
+ "new_contact",
9945
+ "new_message",
9946
+ "broadcast_sent",
9947
+ "contact_updated",
9948
+ "contact_opted_out"
9949
+ ],
9812
9950
  "type": "option"
9813
9951
  },
9814
- "channel": {
9815
- "description": "Target channel ID",
9816
- "name": "channel",
9952
+ "url": {
9953
+ "description": "HTTPS target URL that receives webhook POSTs",
9954
+ "name": "url",
9817
9955
  "required": true,
9818
9956
  "hasDynamicHelp": false,
9819
9957
  "multiple": false,
9820
9958
  "type": "option"
9821
- },
9822
- "skip-duplicates": {
9823
- "description": "Skip duplicate templates",
9824
- "name": "skip-duplicates",
9825
- "allowNo": true,
9826
- "type": "boolean"
9827
9959
  }
9828
9960
  },
9829
9961
  "hasDynamicHelp": false,
9830
9962
  "hiddenAliases": [],
9831
- "id": "templates:import",
9963
+ "id": "webhooks:add",
9832
9964
  "pluginAlias": "@instantkom/cli",
9833
9965
  "pluginName": "@instantkom/cli",
9834
9966
  "pluginType": "core",
@@ -9838,14 +9970,14 @@
9838
9970
  "relativePath": [
9839
9971
  "dist",
9840
9972
  "commands",
9841
- "templates",
9842
- "import.js"
9973
+ "webhooks",
9974
+ "add.js"
9843
9975
  ]
9844
9976
  },
9845
- "templates:list": {
9977
+ "webhooks:events": {
9846
9978
  "aliases": [],
9847
9979
  "args": {},
9848
- "description": "List message templates",
9980
+ "description": "List supported webhook event names",
9849
9981
  "flags": {
9850
9982
  "api-key": {
9851
9983
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9908,41 +10040,11 @@
9908
10040
  "hasDynamicHelp": false,
9909
10041
  "multiple": false,
9910
10042
  "type": "option"
9911
- },
9912
- "channel": {
9913
- "description": "Filter by channel ID",
9914
- "name": "channel",
9915
- "hasDynamicHelp": false,
9916
- "multiple": false,
9917
- "type": "option"
9918
- },
9919
- "search": {
9920
- "description": "Search templates by name or content",
9921
- "name": "search",
9922
- "hasDynamicHelp": false,
9923
- "multiple": false,
9924
- "type": "option"
9925
- },
9926
- "page": {
9927
- "description": "Page number",
9928
- "name": "page",
9929
- "default": 1,
9930
- "hasDynamicHelp": false,
9931
- "multiple": false,
9932
- "type": "option"
9933
- },
9934
- "limit": {
9935
- "description": "Items per page",
9936
- "name": "limit",
9937
- "default": 20,
9938
- "hasDynamicHelp": false,
9939
- "multiple": false,
9940
- "type": "option"
9941
10043
  }
9942
10044
  },
9943
10045
  "hasDynamicHelp": false,
9944
10046
  "hiddenAliases": [],
9945
- "id": "templates:list",
10047
+ "id": "webhooks:events",
9946
10048
  "pluginAlias": "@instantkom/cli",
9947
10049
  "pluginName": "@instantkom/cli",
9948
10050
  "pluginType": "core",
@@ -9952,20 +10054,14 @@
9952
10054
  "relativePath": [
9953
10055
  "dist",
9954
10056
  "commands",
9955
- "templates",
9956
- "list.js"
9957
- ]
9958
- },
9959
- "templates:render": {
9960
- "aliases": [],
9961
- "args": {
9962
- "id": {
9963
- "description": "Template ID",
9964
- "name": "id",
9965
- "required": true
9966
- }
9967
- },
9968
- "description": "Render a message template locally",
10057
+ "webhooks",
10058
+ "events.js"
10059
+ ]
10060
+ },
10061
+ "webhooks:list": {
10062
+ "aliases": [],
10063
+ "args": {},
10064
+ "description": "List webhook subscriptions",
9969
10065
  "flags": {
9970
10066
  "api-key": {
9971
10067
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10028,18 +10124,11 @@
10028
10124
  "hasDynamicHelp": false,
10029
10125
  "multiple": false,
10030
10126
  "type": "option"
10031
- },
10032
- "vars": {
10033
- "description": "Template variable as key=value; may be repeated",
10034
- "name": "vars",
10035
- "hasDynamicHelp": false,
10036
- "multiple": true,
10037
- "type": "option"
10038
10127
  }
10039
10128
  },
10040
10129
  "hasDynamicHelp": false,
10041
10130
  "hiddenAliases": [],
10042
- "id": "templates:render",
10131
+ "id": "webhooks:list",
10043
10132
  "pluginAlias": "@instantkom/cli",
10044
10133
  "pluginName": "@instantkom/cli",
10045
10134
  "pluginType": "core",
@@ -10049,20 +10138,14 @@
10049
10138
  "relativePath": [
10050
10139
  "dist",
10051
10140
  "commands",
10052
- "templates",
10053
- "render.js"
10141
+ "webhooks",
10142
+ "list.js"
10054
10143
  ]
10055
10144
  },
10056
- "templates:update": {
10145
+ "webhooks:logs": {
10057
10146
  "aliases": [],
10058
- "args": {
10059
- "id": {
10060
- "description": "Template ID",
10061
- "name": "id",
10062
- "required": true
10063
- }
10064
- },
10065
- "description": "Update a message template",
10147
+ "args": {},
10148
+ "description": "Explain webhook log availability",
10066
10149
  "flags": {
10067
10150
  "api-key": {
10068
10151
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10125,89 +10208,11 @@
10125
10208
  "hasDynamicHelp": false,
10126
10209
  "multiple": false,
10127
10210
  "type": "option"
10128
- },
10129
- "name": {
10130
- "description": "Template name",
10131
- "name": "name",
10132
- "hasDynamicHelp": false,
10133
- "multiple": false,
10134
- "type": "option"
10135
- },
10136
- "type": {
10137
- "description": "Template type",
10138
- "name": "type",
10139
- "hasDynamicHelp": false,
10140
- "multiple": false,
10141
- "options": [
10142
- "text",
10143
- "image",
10144
- "video",
10145
- "document",
10146
- "audio",
10147
- "location",
10148
- "contact",
10149
- "interactive"
10150
- ],
10151
- "type": "option"
10152
- },
10153
- "message": {
10154
- "description": "Template message",
10155
- "name": "message",
10156
- "hasDynamicHelp": false,
10157
- "multiple": false,
10158
- "type": "option"
10159
- },
10160
- "color": {
10161
- "description": "Template color as HEX",
10162
- "name": "color",
10163
- "hasDynamicHelp": false,
10164
- "multiple": false,
10165
- "type": "option"
10166
- },
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"
10178
- },
10179
- "whatsapp-language": {
10180
- "description": "WhatsApp template language",
10181
- "name": "whatsapp-language",
10182
- "hasDynamicHelp": false,
10183
- "multiple": false,
10184
- "type": "option"
10185
- },
10186
- "buttons": {
10187
- "description": "Buttons JSON array/object",
10188
- "name": "buttons",
10189
- "hasDynamicHelp": false,
10190
- "multiple": false,
10191
- "type": "option"
10192
- },
10193
- "header-footer": {
10194
- "description": "Header/footer JSON object",
10195
- "name": "header-footer",
10196
- "hasDynamicHelp": false,
10197
- "multiple": false,
10198
- "type": "option"
10199
- },
10200
- "data": {
10201
- "description": "Additional JSON object payload",
10202
- "name": "data",
10203
- "hasDynamicHelp": false,
10204
- "multiple": false,
10205
- "type": "option"
10206
10211
  }
10207
10212
  },
10208
10213
  "hasDynamicHelp": false,
10209
10214
  "hiddenAliases": [],
10210
- "id": "templates:update",
10215
+ "id": "webhooks:logs",
10211
10216
  "pluginAlias": "@instantkom/cli",
10212
10217
  "pluginName": "@instantkom/cli",
10213
10218
  "pluginType": "core",
@@ -10217,14 +10222,20 @@
10217
10222
  "relativePath": [
10218
10223
  "dist",
10219
10224
  "commands",
10220
- "templates",
10221
- "update.js"
10225
+ "webhooks",
10226
+ "logs.js"
10222
10227
  ]
10223
10228
  },
10224
- "templates:validate-import": {
10229
+ "webhooks:remove": {
10225
10230
  "aliases": [],
10226
- "args": {},
10227
- "description": "Validate templates import JSON",
10231
+ "args": {
10232
+ "id": {
10233
+ "description": "Webhook subscription ID",
10234
+ "name": "id",
10235
+ "required": true
10236
+ }
10237
+ },
10238
+ "description": "Remove a webhook subscription",
10228
10239
  "flags": {
10229
10240
  "api-key": {
10230
10241
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10287,27 +10298,11 @@
10287
10298
  "hasDynamicHelp": false,
10288
10299
  "multiple": false,
10289
10300
  "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
10301
  }
10307
10302
  },
10308
10303
  "hasDynamicHelp": false,
10309
10304
  "hiddenAliases": [],
10310
- "id": "templates:validate-import",
10305
+ "id": "webhooks:remove",
10311
10306
  "pluginAlias": "@instantkom/cli",
10312
10307
  "pluginName": "@instantkom/cli",
10313
10308
  "pluginType": "core",
@@ -10317,14 +10312,14 @@
10317
10312
  "relativePath": [
10318
10313
  "dist",
10319
10314
  "commands",
10320
- "templates",
10321
- "validate-import.js"
10315
+ "webhooks",
10316
+ "remove.js"
10322
10317
  ]
10323
10318
  },
10324
- "tickets:create": {
10319
+ "webhooks:test": {
10325
10320
  "aliases": [],
10326
10321
  "args": {},
10327
- "description": "Create a ticket",
10322
+ "description": "Send a test webhook payload to a URL",
10328
10323
  "flags": {
10329
10324
  "api-key": {
10330
10325
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10388,60 +10383,25 @@
10388
10383
  "multiple": false,
10389
10384
  "type": "option"
10390
10385
  },
10391
- "channel": {
10392
- "description": "Channel ID",
10393
- "name": "channel",
10394
- "required": true,
10395
- "hasDynamicHelp": false,
10396
- "multiple": false,
10397
- "type": "option"
10398
- },
10399
- "subject": {
10400
- "description": "Ticket subject",
10401
- "name": "subject",
10386
+ "url": {
10387
+ "description": "Webhook URL to call",
10388
+ "name": "url",
10402
10389
  "required": true,
10403
10390
  "hasDynamicHelp": false,
10404
10391
  "multiple": false,
10405
10392
  "type": "option"
10406
10393
  },
10407
- "recipient": {
10408
- "description": "Existing recipient ID",
10409
- "name": "recipient",
10410
- "hasDynamicHelp": false,
10411
- "multiple": false,
10412
- "type": "option"
10413
- },
10414
- "email": {
10415
- "description": "Customer email",
10416
- "name": "email",
10417
- "hasDynamicHelp": false,
10418
- "multiple": false,
10419
- "type": "option"
10420
- },
10421
- "name": {
10422
- "description": "Customer name",
10423
- "name": "name",
10424
- "hasDynamicHelp": false,
10425
- "multiple": false,
10426
- "type": "option"
10427
- },
10428
- "priority": {
10429
- "description": "Ticket priority",
10430
- "name": "priority",
10431
- "hasDynamicHelp": false,
10432
- "multiple": false,
10433
- "type": "option"
10434
- },
10435
- "source": {
10436
- "description": "Ticket source",
10437
- "name": "source",
10394
+ "event": {
10395
+ "description": "Event name",
10396
+ "name": "event",
10397
+ "default": "cli.test",
10438
10398
  "hasDynamicHelp": false,
10439
10399
  "multiple": false,
10440
10400
  "type": "option"
10441
10401
  },
10442
- "data": {
10443
- "description": "Additional JSON object payload",
10444
- "name": "data",
10402
+ "payload": {
10403
+ "description": "Payload JSON",
10404
+ "name": "payload",
10445
10405
  "hasDynamicHelp": false,
10446
10406
  "multiple": false,
10447
10407
  "type": "option"
@@ -10449,7 +10409,7 @@
10449
10409
  },
10450
10410
  "hasDynamicHelp": false,
10451
10411
  "hiddenAliases": [],
10452
- "id": "tickets:create",
10412
+ "id": "webhooks:test",
10453
10413
  "pluginAlias": "@instantkom/cli",
10454
10414
  "pluginName": "@instantkom/cli",
10455
10415
  "pluginType": "core",
@@ -10459,20 +10419,14 @@
10459
10419
  "relativePath": [
10460
10420
  "dist",
10461
10421
  "commands",
10462
- "tickets",
10463
- "create.js"
10422
+ "webhooks",
10423
+ "test.js"
10464
10424
  ]
10465
10425
  },
10466
- "tickets:delete": {
10426
+ "tags:create": {
10467
10427
  "aliases": [],
10468
- "args": {
10469
- "id": {
10470
- "description": "Ticket ID",
10471
- "name": "id",
10472
- "required": true
10473
- }
10474
- },
10475
- "description": "Delete a ticket",
10428
+ "args": {},
10429
+ "description": "Create a tag",
10476
10430
  "flags": {
10477
10431
  "api-key": {
10478
10432
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10536,10 +10490,38 @@
10536
10490
  "multiple": false,
10537
10491
  "type": "option"
10538
10492
  },
10539
- "channel": {
10540
- "description": "Channel ID",
10541
- "name": "channel",
10542
- "required": true,
10493
+ "name": {
10494
+ "description": "Tag name",
10495
+ "name": "name",
10496
+ "required": true,
10497
+ "hasDynamicHelp": false,
10498
+ "multiple": false,
10499
+ "type": "option"
10500
+ },
10501
+ "description": {
10502
+ "description": "Tag description",
10503
+ "name": "description",
10504
+ "hasDynamicHelp": false,
10505
+ "multiple": false,
10506
+ "type": "option"
10507
+ },
10508
+ "color": {
10509
+ "description": "Tag color as HEX",
10510
+ "name": "color",
10511
+ "hasDynamicHelp": false,
10512
+ "multiple": false,
10513
+ "type": "option"
10514
+ },
10515
+ "folder": {
10516
+ "description": "Object folder ID",
10517
+ "name": "folder",
10518
+ "hasDynamicHelp": false,
10519
+ "multiple": false,
10520
+ "type": "option"
10521
+ },
10522
+ "data": {
10523
+ "description": "Additional JSON object payload",
10524
+ "name": "data",
10543
10525
  "hasDynamicHelp": false,
10544
10526
  "multiple": false,
10545
10527
  "type": "option"
@@ -10547,7 +10529,7 @@
10547
10529
  },
10548
10530
  "hasDynamicHelp": false,
10549
10531
  "hiddenAliases": [],
10550
- "id": "tickets:delete",
10532
+ "id": "tags:create",
10551
10533
  "pluginAlias": "@instantkom/cli",
10552
10534
  "pluginName": "@instantkom/cli",
10553
10535
  "pluginType": "core",
@@ -10557,20 +10539,20 @@
10557
10539
  "relativePath": [
10558
10540
  "dist",
10559
10541
  "commands",
10560
- "tickets",
10561
- "delete.js"
10542
+ "tags",
10543
+ "create.js"
10562
10544
  ]
10563
10545
  },
10564
- "tickets:get": {
10546
+ "tags:delete": {
10565
10547
  "aliases": [],
10566
10548
  "args": {
10567
10549
  "id": {
10568
- "description": "Ticket ID",
10550
+ "description": "tag ID",
10569
10551
  "name": "id",
10570
10552
  "required": true
10571
10553
  }
10572
10554
  },
10573
- "description": "Get a ticket by ID",
10555
+ "description": "Delete tag",
10574
10556
  "flags": {
10575
10557
  "api-key": {
10576
10558
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10633,19 +10615,11 @@
10633
10615
  "hasDynamicHelp": false,
10634
10616
  "multiple": false,
10635
10617
  "type": "option"
10636
- },
10637
- "channel": {
10638
- "description": "Channel ID",
10639
- "name": "channel",
10640
- "required": true,
10641
- "hasDynamicHelp": false,
10642
- "multiple": false,
10643
- "type": "option"
10644
10618
  }
10645
10619
  },
10646
10620
  "hasDynamicHelp": false,
10647
10621
  "hiddenAliases": [],
10648
- "id": "tickets:get",
10622
+ "id": "tags:delete",
10649
10623
  "pluginAlias": "@instantkom/cli",
10650
10624
  "pluginName": "@instantkom/cli",
10651
10625
  "pluginType": "core",
@@ -10655,14 +10629,14 @@
10655
10629
  "relativePath": [
10656
10630
  "dist",
10657
10631
  "commands",
10658
- "tickets",
10659
- "get.js"
10632
+ "tags",
10633
+ "delete.js"
10660
10634
  ]
10661
10635
  },
10662
- "tickets:list": {
10636
+ "tags:export": {
10663
10637
  "aliases": [],
10664
10638
  "args": {},
10665
- "description": "List tickets for a channel",
10639
+ "description": "Export tags to a file",
10666
10640
  "flags": {
10667
10641
  "api-key": {
10668
10642
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10674,17 +10648,14 @@
10674
10648
  "type": "option"
10675
10649
  },
10676
10650
  "format": {
10677
- "description": "Output format: text, json, yaml, or table",
10678
- "helpGroup": "GLOBAL",
10651
+ "description": "Export format",
10679
10652
  "name": "format",
10680
- "default": "text",
10653
+ "default": "csv",
10681
10654
  "hasDynamicHelp": false,
10682
10655
  "multiple": false,
10683
10656
  "options": [
10684
- "text",
10685
- "json",
10686
- "yaml",
10687
- "table"
10657
+ "csv",
10658
+ "json"
10688
10659
  ],
10689
10660
  "type": "option"
10690
10661
  },
@@ -10726,34 +10697,18 @@
10726
10697
  "multiple": false,
10727
10698
  "type": "option"
10728
10699
  },
10729
- "channel": {
10730
- "description": "Channel ID",
10731
- "name": "channel",
10700
+ "file": {
10701
+ "description": "Output file path",
10702
+ "name": "file",
10732
10703
  "required": true,
10733
10704
  "hasDynamicHelp": false,
10734
10705
  "multiple": false,
10735
10706
  "type": "option"
10736
- },
10737
- "limit": {
10738
- "description": "Maximum tickets to return",
10739
- "name": "limit",
10740
- "default": 500,
10741
- "hasDynamicHelp": false,
10742
- "multiple": false,
10743
- "type": "option"
10744
- },
10745
- "offset": {
10746
- "description": "Number of tickets to skip",
10747
- "name": "offset",
10748
- "default": 0,
10749
- "hasDynamicHelp": false,
10750
- "multiple": false,
10751
- "type": "option"
10752
10707
  }
10753
10708
  },
10754
10709
  "hasDynamicHelp": false,
10755
10710
  "hiddenAliases": [],
10756
- "id": "tickets:list",
10711
+ "id": "tags:export",
10757
10712
  "pluginAlias": "@instantkom/cli",
10758
10713
  "pluginName": "@instantkom/cli",
10759
10714
  "pluginType": "core",
@@ -10763,20 +10718,20 @@
10763
10718
  "relativePath": [
10764
10719
  "dist",
10765
10720
  "commands",
10766
- "tickets",
10767
- "list.js"
10721
+ "tags",
10722
+ "export.js"
10768
10723
  ]
10769
10724
  },
10770
- "tickets:reply": {
10725
+ "tags:get": {
10771
10726
  "aliases": [],
10772
10727
  "args": {
10773
10728
  "id": {
10774
- "description": "Ticket ID",
10729
+ "description": "tag ID",
10775
10730
  "name": "id",
10776
10731
  "required": true
10777
10732
  }
10778
10733
  },
10779
- "description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only; the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
10734
+ "description": "Get tag by ID",
10780
10735
  "flags": {
10781
10736
  "api-key": {
10782
10737
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10839,25 +10794,11 @@
10839
10794
  "hasDynamicHelp": false,
10840
10795
  "multiple": false,
10841
10796
  "type": "option"
10842
- },
10843
- "message": {
10844
- "description": "Reply body (raw text, no salutation or sign-off)",
10845
- "name": "message",
10846
- "required": true,
10847
- "hasDynamicHelp": false,
10848
- "multiple": false,
10849
- "type": "option"
10850
- },
10851
- "close": {
10852
- "description": "Close the ticket after sending the reply",
10853
- "name": "close",
10854
- "allowNo": false,
10855
- "type": "boolean"
10856
10797
  }
10857
10798
  },
10858
10799
  "hasDynamicHelp": false,
10859
10800
  "hiddenAliases": [],
10860
- "id": "tickets:reply",
10801
+ "id": "tags:get",
10861
10802
  "pluginAlias": "@instantkom/cli",
10862
10803
  "pluginName": "@instantkom/cli",
10863
10804
  "pluginType": "core",
@@ -10867,20 +10808,14 @@
10867
10808
  "relativePath": [
10868
10809
  "dist",
10869
10810
  "commands",
10870
- "tickets",
10871
- "reply.js"
10811
+ "tags",
10812
+ "get.js"
10872
10813
  ]
10873
10814
  },
10874
- "tickets:update": {
10815
+ "tags:import": {
10875
10816
  "aliases": [],
10876
- "args": {
10877
- "id": {
10878
- "description": "Ticket ID",
10879
- "name": "id",
10880
- "required": true
10881
- }
10882
- },
10883
- "description": "Update a ticket",
10817
+ "args": {},
10818
+ "description": "Import tags from JSON",
10884
10819
  "flags": {
10885
10820
  "api-key": {
10886
10821
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10944,59 +10879,24 @@
10944
10879
  "multiple": false,
10945
10880
  "type": "option"
10946
10881
  },
10947
- "channel": {
10948
- "description": "Channel ID",
10949
- "name": "channel",
10882
+ "file": {
10883
+ "description": "JSON file path",
10884
+ "name": "file",
10950
10885
  "required": true,
10951
10886
  "hasDynamicHelp": false,
10952
10887
  "multiple": false,
10953
10888
  "type": "option"
10954
10889
  },
10955
- "subject": {
10956
- "description": "Ticket subject",
10957
- "name": "subject",
10958
- "hasDynamicHelp": false,
10959
- "multiple": false,
10960
- "type": "option"
10961
- },
10962
- "priority": {
10963
- "description": "Ticket priority",
10964
- "name": "priority",
10965
- "hasDynamicHelp": false,
10966
- "multiple": false,
10967
- "type": "option"
10968
- },
10969
- "status": {
10970
- "description": "Ticket status",
10971
- "name": "status",
10972
- "hasDynamicHelp": false,
10973
- "multiple": false,
10974
- "type": "option"
10975
- },
10976
- "assigned-to": {
10977
- "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
10978
- "name": "assigned-to",
10979
- "hasDynamicHelp": false,
10980
- "multiple": false,
10981
- "type": "option"
10982
- },
10983
- "notify": {
10984
- "description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
10985
- "name": "notify",
10890
+ "skip-duplicates": {
10891
+ "description": "Skip duplicate tags",
10892
+ "name": "skip-duplicates",
10986
10893
  "allowNo": true,
10987
10894
  "type": "boolean"
10988
- },
10989
- "data": {
10990
- "description": "Additional JSON object payload",
10991
- "name": "data",
10992
- "hasDynamicHelp": false,
10993
- "multiple": false,
10994
- "type": "option"
10995
10895
  }
10996
10896
  },
10997
10897
  "hasDynamicHelp": false,
10998
10898
  "hiddenAliases": [],
10999
- "id": "tickets:update",
10899
+ "id": "tags:import",
11000
10900
  "pluginAlias": "@instantkom/cli",
11001
10901
  "pluginName": "@instantkom/cli",
11002
10902
  "pluginType": "core",
@@ -11006,14 +10906,14 @@
11006
10906
  "relativePath": [
11007
10907
  "dist",
11008
10908
  "commands",
11009
- "tickets",
11010
- "update.js"
10909
+ "tags",
10910
+ "import.js"
11011
10911
  ]
11012
10912
  },
11013
- "webhooks:add": {
10913
+ "tags:list": {
11014
10914
  "aliases": [],
11015
10915
  "args": {},
11016
- "description": "Add a webhook subscription",
10916
+ "description": "List tags",
11017
10917
  "flags": {
11018
10918
  "api-key": {
11019
10919
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11077,25 +10977,32 @@
11077
10977
  "multiple": false,
11078
10978
  "type": "option"
11079
10979
  },
11080
- "event": {
11081
- "description": "Webhook event to subscribe to",
11082
- "name": "event",
11083
- "required": true,
10980
+ "page": {
10981
+ "description": "Page number",
10982
+ "name": "page",
10983
+ "default": 1,
11084
10984
  "hasDynamicHelp": false,
11085
10985
  "multiple": false,
11086
- "options": [
11087
- "new_contact",
11088
- "new_message",
11089
- "broadcast_sent",
11090
- "contact_updated",
11091
- "contact_opted_out"
11092
- ],
11093
10986
  "type": "option"
11094
10987
  },
11095
- "url": {
11096
- "description": "HTTPS target URL that receives webhook POSTs",
11097
- "name": "url",
11098
- "required": true,
10988
+ "limit": {
10989
+ "description": "Items per page",
10990
+ "name": "limit",
10991
+ "default": 20,
10992
+ "hasDynamicHelp": false,
10993
+ "multiple": false,
10994
+ "type": "option"
10995
+ },
10996
+ "search": {
10997
+ "description": "Search by name",
10998
+ "name": "search",
10999
+ "hasDynamicHelp": false,
11000
+ "multiple": false,
11001
+ "type": "option"
11002
+ },
11003
+ "color": {
11004
+ "description": "Filter by color",
11005
+ "name": "color",
11099
11006
  "hasDynamicHelp": false,
11100
11007
  "multiple": false,
11101
11008
  "type": "option"
@@ -11103,7 +11010,7 @@
11103
11010
  },
11104
11011
  "hasDynamicHelp": false,
11105
11012
  "hiddenAliases": [],
11106
- "id": "webhooks:add",
11013
+ "id": "tags:list",
11107
11014
  "pluginAlias": "@instantkom/cli",
11108
11015
  "pluginName": "@instantkom/cli",
11109
11016
  "pluginType": "core",
@@ -11113,14 +11020,20 @@
11113
11020
  "relativePath": [
11114
11021
  "dist",
11115
11022
  "commands",
11116
- "webhooks",
11117
- "add.js"
11023
+ "tags",
11024
+ "list.js"
11118
11025
  ]
11119
11026
  },
11120
- "webhooks:events": {
11027
+ "tags:update": {
11121
11028
  "aliases": [],
11122
- "args": {},
11123
- "description": "List supported webhook event names",
11029
+ "args": {
11030
+ "id": {
11031
+ "description": "Tag ID",
11032
+ "name": "id",
11033
+ "required": true
11034
+ }
11035
+ },
11036
+ "description": "Update a tag",
11124
11037
  "flags": {
11125
11038
  "api-key": {
11126
11039
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11176,10 +11089,45 @@
11176
11089
  "multiple": false,
11177
11090
  "type": "option"
11178
11091
  },
11179
- "api-url": {
11180
- "description": "Override the API base URL (e.g. for staging)",
11181
- "helpGroup": "GLOBAL",
11182
- "name": "api-url",
11092
+ "api-url": {
11093
+ "description": "Override the API base URL (e.g. for staging)",
11094
+ "helpGroup": "GLOBAL",
11095
+ "name": "api-url",
11096
+ "hasDynamicHelp": false,
11097
+ "multiple": false,
11098
+ "type": "option"
11099
+ },
11100
+ "name": {
11101
+ "description": "Tag name",
11102
+ "name": "name",
11103
+ "hasDynamicHelp": false,
11104
+ "multiple": false,
11105
+ "type": "option"
11106
+ },
11107
+ "description": {
11108
+ "description": "Tag description",
11109
+ "name": "description",
11110
+ "hasDynamicHelp": false,
11111
+ "multiple": false,
11112
+ "type": "option"
11113
+ },
11114
+ "color": {
11115
+ "description": "Tag color as HEX",
11116
+ "name": "color",
11117
+ "hasDynamicHelp": false,
11118
+ "multiple": false,
11119
+ "type": "option"
11120
+ },
11121
+ "folder": {
11122
+ "description": "Object folder ID",
11123
+ "name": "folder",
11124
+ "hasDynamicHelp": false,
11125
+ "multiple": false,
11126
+ "type": "option"
11127
+ },
11128
+ "data": {
11129
+ "description": "Additional JSON object payload",
11130
+ "name": "data",
11183
11131
  "hasDynamicHelp": false,
11184
11132
  "multiple": false,
11185
11133
  "type": "option"
@@ -11187,7 +11135,7 @@
11187
11135
  },
11188
11136
  "hasDynamicHelp": false,
11189
11137
  "hiddenAliases": [],
11190
- "id": "webhooks:events",
11138
+ "id": "tags:update",
11191
11139
  "pluginAlias": "@instantkom/cli",
11192
11140
  "pluginName": "@instantkom/cli",
11193
11141
  "pluginType": "core",
@@ -11197,14 +11145,14 @@
11197
11145
  "relativePath": [
11198
11146
  "dist",
11199
11147
  "commands",
11200
- "webhooks",
11201
- "events.js"
11148
+ "tags",
11149
+ "update.js"
11202
11150
  ]
11203
11151
  },
11204
- "webhooks:list": {
11152
+ "tags:validate-import": {
11205
11153
  "aliases": [],
11206
11154
  "args": {},
11207
- "description": "List webhook subscriptions",
11155
+ "description": "Validate tags import JSON",
11208
11156
  "flags": {
11209
11157
  "api-key": {
11210
11158
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11267,11 +11215,19 @@
11267
11215
  "hasDynamicHelp": false,
11268
11216
  "multiple": false,
11269
11217
  "type": "option"
11218
+ },
11219
+ "file": {
11220
+ "description": "JSON file path",
11221
+ "name": "file",
11222
+ "required": true,
11223
+ "hasDynamicHelp": false,
11224
+ "multiple": false,
11225
+ "type": "option"
11270
11226
  }
11271
11227
  },
11272
11228
  "hasDynamicHelp": false,
11273
11229
  "hiddenAliases": [],
11274
- "id": "webhooks:list",
11230
+ "id": "tags:validate-import",
11275
11231
  "pluginAlias": "@instantkom/cli",
11276
11232
  "pluginName": "@instantkom/cli",
11277
11233
  "pluginType": "core",
@@ -11281,14 +11237,14 @@
11281
11237
  "relativePath": [
11282
11238
  "dist",
11283
11239
  "commands",
11284
- "webhooks",
11285
- "list.js"
11240
+ "tags",
11241
+ "validate-import.js"
11286
11242
  ]
11287
11243
  },
11288
- "webhooks:logs": {
11244
+ "team:create": {
11289
11245
  "aliases": [],
11290
11246
  "args": {},
11291
- "description": "Explain webhook log availability",
11247
+ "description": "Create a team member",
11292
11248
  "flags": {
11293
11249
  "api-key": {
11294
11250
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11351,11 +11307,78 @@
11351
11307
  "hasDynamicHelp": false,
11352
11308
  "multiple": false,
11353
11309
  "type": "option"
11310
+ },
11311
+ "email": {
11312
+ "description": "Email address",
11313
+ "name": "email",
11314
+ "required": true,
11315
+ "hasDynamicHelp": false,
11316
+ "multiple": false,
11317
+ "type": "option"
11318
+ },
11319
+ "first-name": {
11320
+ "description": "First name",
11321
+ "name": "first-name",
11322
+ "required": true,
11323
+ "hasDynamicHelp": false,
11324
+ "multiple": false,
11325
+ "type": "option"
11326
+ },
11327
+ "last-name": {
11328
+ "description": "Last name",
11329
+ "name": "last-name",
11330
+ "required": true,
11331
+ "hasDynamicHelp": false,
11332
+ "multiple": false,
11333
+ "type": "option"
11334
+ },
11335
+ "password": {
11336
+ "description": "Initial password",
11337
+ "name": "password",
11338
+ "required": true,
11339
+ "hasDynamicHelp": false,
11340
+ "multiple": false,
11341
+ "type": "option"
11342
+ },
11343
+ "phone": {
11344
+ "description": "Phone number",
11345
+ "name": "phone",
11346
+ "hasDynamicHelp": false,
11347
+ "multiple": false,
11348
+ "type": "option"
11349
+ },
11350
+ "company": {
11351
+ "description": "Company name",
11352
+ "name": "company",
11353
+ "hasDynamicHelp": false,
11354
+ "multiple": false,
11355
+ "type": "option"
11356
+ },
11357
+ "color": {
11358
+ "description": "Color as HEX",
11359
+ "name": "color",
11360
+ "hasDynamicHelp": false,
11361
+ "multiple": false,
11362
+ "type": "option"
11363
+ },
11364
+ "folder": {
11365
+ "description": "Object folder ID",
11366
+ "name": "folder",
11367
+ "hasDynamicHelp": false,
11368
+ "multiple": false,
11369
+ "type": "option"
11370
+ },
11371
+ "data": {
11372
+ "description": "Additional JSON object payload",
11373
+ "name": "data",
11374
+ "hasDynamicHelp": false,
11375
+ "multiple": false,
11376
+ "type": "option"
11354
11377
  }
11355
11378
  },
11356
11379
  "hasDynamicHelp": false,
11357
11380
  "hiddenAliases": [],
11358
- "id": "webhooks:logs",
11381
+ "id": "team:create",
11359
11382
  "pluginAlias": "@instantkom/cli",
11360
11383
  "pluginName": "@instantkom/cli",
11361
11384
  "pluginType": "core",
@@ -11365,20 +11388,20 @@
11365
11388
  "relativePath": [
11366
11389
  "dist",
11367
11390
  "commands",
11368
- "webhooks",
11369
- "logs.js"
11391
+ "team",
11392
+ "create.js"
11370
11393
  ]
11371
11394
  },
11372
- "webhooks:remove": {
11395
+ "team:delete": {
11373
11396
  "aliases": [],
11374
11397
  "args": {
11375
11398
  "id": {
11376
- "description": "Webhook subscription ID",
11399
+ "description": "Team member ID",
11377
11400
  "name": "id",
11378
11401
  "required": true
11379
11402
  }
11380
11403
  },
11381
- "description": "Remove a webhook subscription",
11404
+ "description": "Delete a team member",
11382
11405
  "flags": {
11383
11406
  "api-key": {
11384
11407
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11445,7 +11468,7 @@
11445
11468
  },
11446
11469
  "hasDynamicHelp": false,
11447
11470
  "hiddenAliases": [],
11448
- "id": "webhooks:remove",
11471
+ "id": "team:delete",
11449
11472
  "pluginAlias": "@instantkom/cli",
11450
11473
  "pluginName": "@instantkom/cli",
11451
11474
  "pluginType": "core",
@@ -11455,14 +11478,14 @@
11455
11478
  "relativePath": [
11456
11479
  "dist",
11457
11480
  "commands",
11458
- "webhooks",
11459
- "remove.js"
11481
+ "team",
11482
+ "delete.js"
11460
11483
  ]
11461
11484
  },
11462
- "webhooks:test": {
11485
+ "team:list": {
11463
11486
  "aliases": [],
11464
11487
  "args": {},
11465
- "description": "Send a test webhook payload to a URL",
11488
+ "description": "List team members",
11466
11489
  "flags": {
11467
11490
  "api-key": {
11468
11491
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11525,34 +11548,11 @@
11525
11548
  "hasDynamicHelp": false,
11526
11549
  "multiple": false,
11527
11550
  "type": "option"
11528
- },
11529
- "url": {
11530
- "description": "Webhook URL to call",
11531
- "name": "url",
11532
- "required": true,
11533
- "hasDynamicHelp": false,
11534
- "multiple": false,
11535
- "type": "option"
11536
- },
11537
- "event": {
11538
- "description": "Event name",
11539
- "name": "event",
11540
- "default": "cli.test",
11541
- "hasDynamicHelp": false,
11542
- "multiple": false,
11543
- "type": "option"
11544
- },
11545
- "payload": {
11546
- "description": "Payload JSON",
11547
- "name": "payload",
11548
- "hasDynamicHelp": false,
11549
- "multiple": false,
11550
- "type": "option"
11551
11551
  }
11552
11552
  },
11553
11553
  "hasDynamicHelp": false,
11554
11554
  "hiddenAliases": [],
11555
- "id": "webhooks:test",
11555
+ "id": "team:list",
11556
11556
  "pluginAlias": "@instantkom/cli",
11557
11557
  "pluginName": "@instantkom/cli",
11558
11558
  "pluginType": "core",
@@ -11562,8 +11562,8 @@
11562
11562
  "relativePath": [
11563
11563
  "dist",
11564
11564
  "commands",
11565
- "webhooks",
11566
- "test.js"
11565
+ "team",
11566
+ "list.js"
11567
11567
  ]
11568
11568
  },
11569
11569
  "auth:tokens:create": {
@@ -12046,101 +12046,16 @@
12046
12046
  "update.js"
12047
12047
  ]
12048
12048
  },
12049
- "bots:env-vars:bots": {
12050
- "aliases": [],
12051
- "args": {
12052
- "id": {
12053
- "description": "Environment variable ID",
12054
- "name": "id",
12055
- "required": true
12056
- }
12057
- },
12058
- "description": "List bots using a bot environment variable",
12059
- "flags": {
12060
- "api-key": {
12061
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
12062
- "env": "IKM_API_KEY",
12063
- "helpGroup": "GLOBAL",
12064
- "name": "api-key",
12065
- "hasDynamicHelp": false,
12066
- "multiple": false,
12067
- "type": "option"
12068
- },
12069
- "format": {
12070
- "description": "Output format: text, json, yaml, or table",
12071
- "helpGroup": "GLOBAL",
12072
- "name": "format",
12073
- "default": "text",
12074
- "hasDynamicHelp": false,
12075
- "multiple": false,
12076
- "options": [
12077
- "text",
12078
- "json",
12079
- "yaml",
12080
- "table"
12081
- ],
12082
- "type": "option"
12083
- },
12084
- "json": {
12085
- "description": "Output in JSON format (alias for --format=json)",
12086
- "helpGroup": "GLOBAL",
12087
- "name": "json",
12088
- "allowNo": false,
12089
- "type": "boolean"
12090
- },
12091
- "quiet": {
12092
- "description": "Suppress all output except errors",
12093
- "helpGroup": "GLOBAL",
12094
- "name": "quiet",
12095
- "allowNo": false,
12096
- "type": "boolean"
12097
- },
12098
- "no-color": {
12099
- "description": "Disable color output",
12100
- "helpGroup": "GLOBAL",
12101
- "name": "no-color",
12102
- "allowNo": false,
12103
- "type": "boolean"
12104
- },
12105
- "profile": {
12106
- "description": "Named configuration profile to use",
12107
- "helpGroup": "GLOBAL",
12108
- "name": "profile",
12109
- "default": "default",
12110
- "hasDynamicHelp": false,
12111
- "multiple": false,
12112
- "type": "option"
12113
- },
12114
- "api-url": {
12115
- "description": "Override the API base URL (e.g. for staging)",
12116
- "helpGroup": "GLOBAL",
12117
- "name": "api-url",
12118
- "hasDynamicHelp": false,
12119
- "multiple": false,
12120
- "type": "option"
12121
- }
12122
- },
12123
- "hasDynamicHelp": false,
12124
- "hiddenAliases": [],
12125
- "id": "bots:env-vars:bots",
12126
- "pluginAlias": "@instantkom/cli",
12127
- "pluginName": "@instantkom/cli",
12128
- "pluginType": "core",
12129
- "strict": true,
12130
- "enableJsonFlag": false,
12131
- "isESM": true,
12132
- "relativePath": [
12133
- "dist",
12134
- "commands",
12135
- "bots",
12136
- "env-vars",
12137
- "bots.js"
12138
- ]
12139
- },
12140
- "bots:env-vars:create": {
12141
- "aliases": [],
12142
- "args": {},
12143
- "description": "Create a bot environment variable",
12049
+ "bots:filters:create": {
12050
+ "aliases": [],
12051
+ "args": {
12052
+ "botId": {
12053
+ "description": "Bot ID",
12054
+ "name": "botId",
12055
+ "required": true
12056
+ }
12057
+ },
12058
+ "description": "Create a bot filter",
12144
12059
  "flags": {
12145
12060
  "api-key": {
12146
12061
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12204,26 +12119,63 @@
12204
12119
  "multiple": false,
12205
12120
  "type": "option"
12206
12121
  },
12207
- "key": {
12208
- "description": "Variable key (max 16 chars, letters, digits, underscore)",
12209
- "name": "key",
12122
+ "name": {
12123
+ "description": "Filter name",
12124
+ "name": "name",
12210
12125
  "required": true,
12211
12126
  "hasDynamicHelp": false,
12212
12127
  "multiple": false,
12213
12128
  "type": "option"
12214
12129
  },
12215
- "description": {
12216
- "description": "Variable description",
12217
- "name": "description",
12130
+ "operator": {
12131
+ "description": "Logical operator",
12132
+ "name": "operator",
12133
+ "default": "and",
12218
12134
  "hasDynamicHelp": false,
12219
12135
  "multiple": false,
12220
12136
  "type": "option"
12221
12137
  },
12222
- "color": {
12223
- "description": "Variable color as HEX",
12224
- "name": "color",
12138
+ "filter-object": {
12139
+ "description": "Filter object type",
12140
+ "name": "filter-object",
12141
+ "default": "msg",
12142
+ "hasDynamicHelp": false,
12143
+ "multiple": false,
12144
+ "type": "option"
12145
+ },
12146
+ "filter-attribute": {
12147
+ "description": "Filter attribute",
12148
+ "name": "filter-attribute",
12149
+ "default": "text",
12150
+ "hasDynamicHelp": false,
12151
+ "multiple": false,
12152
+ "type": "option"
12153
+ },
12154
+ "filter-comparator": {
12155
+ "description": "Filter comparator",
12156
+ "name": "filter-comparator",
12157
+ "default": "contains",
12158
+ "hasDynamicHelp": false,
12159
+ "multiple": false,
12160
+ "type": "option"
12161
+ },
12162
+ "filter-value": {
12163
+ "description": "Filter value",
12164
+ "name": "filter-value",
12165
+ "required": true,
12166
+ "hasDynamicHelp": false,
12167
+ "multiple": false,
12168
+ "type": "option"
12169
+ },
12170
+ "status": {
12171
+ "description": "Status: 0 inactive, 1 active",
12172
+ "name": "status",
12225
12173
  "hasDynamicHelp": false,
12226
12174
  "multiple": false,
12175
+ "options": [
12176
+ "0",
12177
+ "1"
12178
+ ],
12227
12179
  "type": "option"
12228
12180
  },
12229
12181
  "data": {
@@ -12236,7 +12188,7 @@
12236
12188
  },
12237
12189
  "hasDynamicHelp": false,
12238
12190
  "hiddenAliases": [],
12239
- "id": "bots:env-vars:create",
12191
+ "id": "bots:filters:create",
12240
12192
  "pluginAlias": "@instantkom/cli",
12241
12193
  "pluginName": "@instantkom/cli",
12242
12194
  "pluginType": "core",
@@ -12247,20 +12199,25 @@
12247
12199
  "dist",
12248
12200
  "commands",
12249
12201
  "bots",
12250
- "env-vars",
12202
+ "filters",
12251
12203
  "create.js"
12252
12204
  ]
12253
12205
  },
12254
- "bots:env-vars:delete": {
12206
+ "bots:filters:delete": {
12255
12207
  "aliases": [],
12256
12208
  "args": {
12257
- "id": {
12258
- "description": "Environment variable ID",
12259
- "name": "id",
12209
+ "botId": {
12210
+ "description": "Bot ID",
12211
+ "name": "botId",
12212
+ "required": true
12213
+ },
12214
+ "filterId": {
12215
+ "description": "Filter ID",
12216
+ "name": "filterId",
12260
12217
  "required": true
12261
12218
  }
12262
12219
  },
12263
- "description": "Delete a bot environment variable",
12220
+ "description": "Delete a bot filter",
12264
12221
  "flags": {
12265
12222
  "api-key": {
12266
12223
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12327,7 +12284,7 @@
12327
12284
  },
12328
12285
  "hasDynamicHelp": false,
12329
12286
  "hiddenAliases": [],
12330
- "id": "bots:env-vars:delete",
12287
+ "id": "bots:filters:delete",
12331
12288
  "pluginAlias": "@instantkom/cli",
12332
12289
  "pluginName": "@instantkom/cli",
12333
12290
  "pluginType": "core",
@@ -12338,20 +12295,25 @@
12338
12295
  "dist",
12339
12296
  "commands",
12340
12297
  "bots",
12341
- "env-vars",
12298
+ "filters",
12342
12299
  "delete.js"
12343
12300
  ]
12344
12301
  },
12345
- "bots:env-vars:get": {
12302
+ "bots:filters:get": {
12346
12303
  "aliases": [],
12347
12304
  "args": {
12348
- "id": {
12349
- "description": "Environment variable ID",
12350
- "name": "id",
12305
+ "botId": {
12306
+ "description": "Bot ID",
12307
+ "name": "botId",
12308
+ "required": true
12309
+ },
12310
+ "filterId": {
12311
+ "description": "Filter ID",
12312
+ "name": "filterId",
12351
12313
  "required": true
12352
12314
  }
12353
12315
  },
12354
- "description": "Get a bot environment variable",
12316
+ "description": "Get a bot filter",
12355
12317
  "flags": {
12356
12318
  "api-key": {
12357
12319
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12418,7 +12380,7 @@
12418
12380
  },
12419
12381
  "hasDynamicHelp": false,
12420
12382
  "hiddenAliases": [],
12421
- "id": "bots:env-vars:get",
12383
+ "id": "bots:filters:get",
12422
12384
  "pluginAlias": "@instantkom/cli",
12423
12385
  "pluginName": "@instantkom/cli",
12424
12386
  "pluginType": "core",
@@ -12429,14 +12391,20 @@
12429
12391
  "dist",
12430
12392
  "commands",
12431
12393
  "bots",
12432
- "env-vars",
12394
+ "filters",
12433
12395
  "get.js"
12434
12396
  ]
12435
12397
  },
12436
- "bots:env-vars:list": {
12398
+ "bots:filters:list": {
12437
12399
  "aliases": [],
12438
- "args": {},
12439
- "description": "List bot environment variables",
12400
+ "args": {
12401
+ "botId": {
12402
+ "description": "Bot ID",
12403
+ "name": "botId",
12404
+ "required": true
12405
+ }
12406
+ },
12407
+ "description": "List bot filters",
12440
12408
  "flags": {
12441
12409
  "api-key": {
12442
12410
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12516,16 +12484,20 @@
12516
12484
  "multiple": false,
12517
12485
  "type": "option"
12518
12486
  },
12519
- "search": {
12520
- "description": "Search in key or description",
12521
- "name": "search",
12487
+ "status": {
12488
+ "description": "Status filter: 0 inactive, 1 active",
12489
+ "name": "status",
12522
12490
  "hasDynamicHelp": false,
12523
12491
  "multiple": false,
12492
+ "options": [
12493
+ "0",
12494
+ "1"
12495
+ ],
12524
12496
  "type": "option"
12525
12497
  },
12526
- "color": {
12527
- "description": "Filter by color",
12528
- "name": "color",
12498
+ "search": {
12499
+ "description": "Search in name or description",
12500
+ "name": "search",
12529
12501
  "hasDynamicHelp": false,
12530
12502
  "multiple": false,
12531
12503
  "type": "option"
@@ -12533,7 +12505,7 @@
12533
12505
  },
12534
12506
  "hasDynamicHelp": false,
12535
12507
  "hiddenAliases": [],
12536
- "id": "bots:env-vars:list",
12508
+ "id": "bots:filters:list",
12537
12509
  "pluginAlias": "@instantkom/cli",
12538
12510
  "pluginName": "@instantkom/cli",
12539
12511
  "pluginType": "core",
@@ -12544,20 +12516,25 @@
12544
12516
  "dist",
12545
12517
  "commands",
12546
12518
  "bots",
12547
- "env-vars",
12519
+ "filters",
12548
12520
  "list.js"
12549
12521
  ]
12550
12522
  },
12551
- "bots:env-vars:update": {
12523
+ "bots:filters:update": {
12552
12524
  "aliases": [],
12553
12525
  "args": {
12554
- "id": {
12555
- "description": "Environment variable ID",
12556
- "name": "id",
12526
+ "botId": {
12527
+ "description": "Bot ID",
12528
+ "name": "botId",
12529
+ "required": true
12530
+ },
12531
+ "filterId": {
12532
+ "description": "Filter ID",
12533
+ "name": "filterId",
12557
12534
  "required": true
12558
12535
  }
12559
12536
  },
12560
- "description": "Update a bot environment variable",
12537
+ "description": "Update a bot filter",
12561
12538
  "flags": {
12562
12539
  "api-key": {
12563
12540
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12621,18 +12598,57 @@
12621
12598
  "multiple": false,
12622
12599
  "type": "option"
12623
12600
  },
12624
- "description": {
12625
- "description": "Variable description",
12626
- "name": "description",
12601
+ "name": {
12602
+ "description": "Filter name",
12603
+ "name": "name",
12627
12604
  "hasDynamicHelp": false,
12628
12605
  "multiple": false,
12629
12606
  "type": "option"
12630
12607
  },
12631
- "color": {
12632
- "description": "Variable color as HEX",
12633
- "name": "color",
12608
+ "operator": {
12609
+ "description": "Logical operator",
12610
+ "name": "operator",
12611
+ "hasDynamicHelp": false,
12612
+ "multiple": false,
12613
+ "type": "option"
12614
+ },
12615
+ "filter-object": {
12616
+ "description": "Filter object type",
12617
+ "name": "filter-object",
12618
+ "hasDynamicHelp": false,
12619
+ "multiple": false,
12620
+ "type": "option"
12621
+ },
12622
+ "filter-attribute": {
12623
+ "description": "Filter attribute",
12624
+ "name": "filter-attribute",
12625
+ "hasDynamicHelp": false,
12626
+ "multiple": false,
12627
+ "type": "option"
12628
+ },
12629
+ "filter-comparator": {
12630
+ "description": "Filter comparator",
12631
+ "name": "filter-comparator",
12632
+ "hasDynamicHelp": false,
12633
+ "multiple": false,
12634
+ "type": "option"
12635
+ },
12636
+ "filter-value": {
12637
+ "description": "Filter value",
12638
+ "name": "filter-value",
12639
+ "hasDynamicHelp": false,
12640
+ "multiple": false,
12641
+ "type": "option"
12642
+ },
12643
+ "status": {
12644
+ "description": "Status: 0 inactive, 1 active",
12645
+ "name": "status",
12634
12646
  "hasDynamicHelp": false,
12635
12647
  "multiple": false,
12648
+ "options": [
12649
+ "0",
12650
+ "1"
12651
+ ],
12636
12652
  "type": "option"
12637
12653
  },
12638
12654
  "data": {
@@ -12645,7 +12661,7 @@
12645
12661
  },
12646
12662
  "hasDynamicHelp": false,
12647
12663
  "hiddenAliases": [],
12648
- "id": "bots:env-vars:update",
12664
+ "id": "bots:filters:update",
12649
12665
  "pluginAlias": "@instantkom/cli",
12650
12666
  "pluginName": "@instantkom/cli",
12651
12667
  "pluginType": "core",
@@ -12656,11 +12672,11 @@
12656
12672
  "dist",
12657
12673
  "commands",
12658
12674
  "bots",
12659
- "env-vars",
12675
+ "filters",
12660
12676
  "update.js"
12661
12677
  ]
12662
12678
  },
12663
- "bots:env-vars:values": {
12679
+ "bots:env-vars:bots": {
12664
12680
  "aliases": [],
12665
12681
  "args": {
12666
12682
  "id": {
@@ -12669,7 +12685,7 @@
12669
12685
  "required": true
12670
12686
  }
12671
12687
  },
12672
- "description": "List recipient values for a bot environment variable",
12688
+ "description": "List bots using a bot environment variable",
12673
12689
  "flags": {
12674
12690
  "api-key": {
12675
12691
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12732,41 +12748,11 @@
12732
12748
  "hasDynamicHelp": false,
12733
12749
  "multiple": false,
12734
12750
  "type": "option"
12735
- },
12736
- "page": {
12737
- "description": "Page number",
12738
- "name": "page",
12739
- "default": 1,
12740
- "hasDynamicHelp": false,
12741
- "multiple": false,
12742
- "type": "option"
12743
- },
12744
- "limit": {
12745
- "description": "Items per page",
12746
- "name": "limit",
12747
- "default": 20,
12748
- "hasDynamicHelp": false,
12749
- "multiple": false,
12750
- "type": "option"
12751
- },
12752
- "search": {
12753
- "description": "Search in recipient name or identifier",
12754
- "name": "search",
12755
- "hasDynamicHelp": false,
12756
- "multiple": false,
12757
- "type": "option"
12758
- },
12759
- "recipient": {
12760
- "description": "Filter by recipient ID",
12761
- "name": "recipient",
12762
- "hasDynamicHelp": false,
12763
- "multiple": false,
12764
- "type": "option"
12765
12751
  }
12766
12752
  },
12767
12753
  "hasDynamicHelp": false,
12768
12754
  "hiddenAliases": [],
12769
- "id": "bots:env-vars:values",
12755
+ "id": "bots:env-vars:bots",
12770
12756
  "pluginAlias": "@instantkom/cli",
12771
12757
  "pluginName": "@instantkom/cli",
12772
12758
  "pluginType": "core",
@@ -12778,19 +12764,13 @@
12778
12764
  "commands",
12779
12765
  "bots",
12780
12766
  "env-vars",
12781
- "values.js"
12767
+ "bots.js"
12782
12768
  ]
12783
12769
  },
12784
- "bots:filters:create": {
12785
- "aliases": [],
12786
- "args": {
12787
- "botId": {
12788
- "description": "Bot ID",
12789
- "name": "botId",
12790
- "required": true
12791
- }
12792
- },
12793
- "description": "Create a bot filter",
12770
+ "bots:env-vars:create": {
12771
+ "aliases": [],
12772
+ "args": {},
12773
+ "description": "Create a bot environment variable",
12794
12774
  "flags": {
12795
12775
  "api-key": {
12796
12776
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12854,63 +12834,26 @@
12854
12834
  "multiple": false,
12855
12835
  "type": "option"
12856
12836
  },
12857
- "name": {
12858
- "description": "Filter name",
12859
- "name": "name",
12837
+ "key": {
12838
+ "description": "Variable key (max 16 chars, letters, digits, underscore)",
12839
+ "name": "key",
12860
12840
  "required": true,
12861
12841
  "hasDynamicHelp": false,
12862
12842
  "multiple": false,
12863
12843
  "type": "option"
12864
12844
  },
12865
- "operator": {
12866
- "description": "Logical operator",
12867
- "name": "operator",
12868
- "default": "and",
12869
- "hasDynamicHelp": false,
12870
- "multiple": false,
12871
- "type": "option"
12872
- },
12873
- "filter-object": {
12874
- "description": "Filter object type",
12875
- "name": "filter-object",
12876
- "default": "msg",
12877
- "hasDynamicHelp": false,
12878
- "multiple": false,
12879
- "type": "option"
12880
- },
12881
- "filter-attribute": {
12882
- "description": "Filter attribute",
12883
- "name": "filter-attribute",
12884
- "default": "text",
12885
- "hasDynamicHelp": false,
12886
- "multiple": false,
12887
- "type": "option"
12888
- },
12889
- "filter-comparator": {
12890
- "description": "Filter comparator",
12891
- "name": "filter-comparator",
12892
- "default": "contains",
12893
- "hasDynamicHelp": false,
12894
- "multiple": false,
12895
- "type": "option"
12896
- },
12897
- "filter-value": {
12898
- "description": "Filter value",
12899
- "name": "filter-value",
12900
- "required": true,
12845
+ "description": {
12846
+ "description": "Variable description",
12847
+ "name": "description",
12901
12848
  "hasDynamicHelp": false,
12902
12849
  "multiple": false,
12903
12850
  "type": "option"
12904
12851
  },
12905
- "status": {
12906
- "description": "Status: 0 inactive, 1 active",
12907
- "name": "status",
12852
+ "color": {
12853
+ "description": "Variable color as HEX",
12854
+ "name": "color",
12908
12855
  "hasDynamicHelp": false,
12909
12856
  "multiple": false,
12910
- "options": [
12911
- "0",
12912
- "1"
12913
- ],
12914
12857
  "type": "option"
12915
12858
  },
12916
12859
  "data": {
@@ -12923,7 +12866,7 @@
12923
12866
  },
12924
12867
  "hasDynamicHelp": false,
12925
12868
  "hiddenAliases": [],
12926
- "id": "bots:filters:create",
12869
+ "id": "bots:env-vars:create",
12927
12870
  "pluginAlias": "@instantkom/cli",
12928
12871
  "pluginName": "@instantkom/cli",
12929
12872
  "pluginType": "core",
@@ -12934,25 +12877,20 @@
12934
12877
  "dist",
12935
12878
  "commands",
12936
12879
  "bots",
12937
- "filters",
12880
+ "env-vars",
12938
12881
  "create.js"
12939
12882
  ]
12940
12883
  },
12941
- "bots:filters:delete": {
12884
+ "bots:env-vars:delete": {
12942
12885
  "aliases": [],
12943
12886
  "args": {
12944
- "botId": {
12945
- "description": "Bot ID",
12946
- "name": "botId",
12947
- "required": true
12948
- },
12949
- "filterId": {
12950
- "description": "Filter ID",
12951
- "name": "filterId",
12887
+ "id": {
12888
+ "description": "Environment variable ID",
12889
+ "name": "id",
12952
12890
  "required": true
12953
12891
  }
12954
12892
  },
12955
- "description": "Delete a bot filter",
12893
+ "description": "Delete a bot environment variable",
12956
12894
  "flags": {
12957
12895
  "api-key": {
12958
12896
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13019,7 +12957,7 @@
13019
12957
  },
13020
12958
  "hasDynamicHelp": false,
13021
12959
  "hiddenAliases": [],
13022
- "id": "bots:filters:delete",
12960
+ "id": "bots:env-vars:delete",
13023
12961
  "pluginAlias": "@instantkom/cli",
13024
12962
  "pluginName": "@instantkom/cli",
13025
12963
  "pluginType": "core",
@@ -13030,25 +12968,20 @@
13030
12968
  "dist",
13031
12969
  "commands",
13032
12970
  "bots",
13033
- "filters",
12971
+ "env-vars",
13034
12972
  "delete.js"
13035
12973
  ]
13036
12974
  },
13037
- "bots:filters:get": {
12975
+ "bots:env-vars:get": {
13038
12976
  "aliases": [],
13039
12977
  "args": {
13040
- "botId": {
13041
- "description": "Bot ID",
13042
- "name": "botId",
13043
- "required": true
13044
- },
13045
- "filterId": {
13046
- "description": "Filter ID",
13047
- "name": "filterId",
12978
+ "id": {
12979
+ "description": "Environment variable ID",
12980
+ "name": "id",
13048
12981
  "required": true
13049
12982
  }
13050
12983
  },
13051
- "description": "Get a bot filter",
12984
+ "description": "Get a bot environment variable",
13052
12985
  "flags": {
13053
12986
  "api-key": {
13054
12987
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13115,7 +13048,7 @@
13115
13048
  },
13116
13049
  "hasDynamicHelp": false,
13117
13050
  "hiddenAliases": [],
13118
- "id": "bots:filters:get",
13051
+ "id": "bots:env-vars:get",
13119
13052
  "pluginAlias": "@instantkom/cli",
13120
13053
  "pluginName": "@instantkom/cli",
13121
13054
  "pluginType": "core",
@@ -13126,20 +13059,14 @@
13126
13059
  "dist",
13127
13060
  "commands",
13128
13061
  "bots",
13129
- "filters",
13062
+ "env-vars",
13130
13063
  "get.js"
13131
13064
  ]
13132
13065
  },
13133
- "bots:filters:list": {
13066
+ "bots:env-vars:list": {
13134
13067
  "aliases": [],
13135
- "args": {
13136
- "botId": {
13137
- "description": "Bot ID",
13138
- "name": "botId",
13139
- "required": true
13140
- }
13141
- },
13142
- "description": "List bot filters",
13068
+ "args": {},
13069
+ "description": "List bot environment variables",
13143
13070
  "flags": {
13144
13071
  "api-key": {
13145
13072
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13219,20 +13146,16 @@
13219
13146
  "multiple": false,
13220
13147
  "type": "option"
13221
13148
  },
13222
- "status": {
13223
- "description": "Status filter: 0 inactive, 1 active",
13224
- "name": "status",
13149
+ "search": {
13150
+ "description": "Search in key or description",
13151
+ "name": "search",
13225
13152
  "hasDynamicHelp": false,
13226
13153
  "multiple": false,
13227
- "options": [
13228
- "0",
13229
- "1"
13230
- ],
13231
13154
  "type": "option"
13232
13155
  },
13233
- "search": {
13234
- "description": "Search in name or description",
13235
- "name": "search",
13156
+ "color": {
13157
+ "description": "Filter by color",
13158
+ "name": "color",
13236
13159
  "hasDynamicHelp": false,
13237
13160
  "multiple": false,
13238
13161
  "type": "option"
@@ -13240,7 +13163,7 @@
13240
13163
  },
13241
13164
  "hasDynamicHelp": false,
13242
13165
  "hiddenAliases": [],
13243
- "id": "bots:filters:list",
13166
+ "id": "bots:env-vars:list",
13244
13167
  "pluginAlias": "@instantkom/cli",
13245
13168
  "pluginName": "@instantkom/cli",
13246
13169
  "pluginType": "core",
@@ -13251,25 +13174,20 @@
13251
13174
  "dist",
13252
13175
  "commands",
13253
13176
  "bots",
13254
- "filters",
13177
+ "env-vars",
13255
13178
  "list.js"
13256
13179
  ]
13257
13180
  },
13258
- "bots:filters:update": {
13181
+ "bots:env-vars:update": {
13259
13182
  "aliases": [],
13260
13183
  "args": {
13261
- "botId": {
13262
- "description": "Bot ID",
13263
- "name": "botId",
13264
- "required": true
13265
- },
13266
- "filterId": {
13267
- "description": "Filter ID",
13268
- "name": "filterId",
13184
+ "id": {
13185
+ "description": "Environment variable ID",
13186
+ "name": "id",
13269
13187
  "required": true
13270
13188
  }
13271
13189
  },
13272
- "description": "Update a bot filter",
13190
+ "description": "Update a bot environment variable",
13273
13191
  "flags": {
13274
13192
  "api-key": {
13275
13193
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13333,62 +13251,144 @@
13333
13251
  "multiple": false,
13334
13252
  "type": "option"
13335
13253
  },
13336
- "name": {
13337
- "description": "Filter name",
13338
- "name": "name",
13254
+ "description": {
13255
+ "description": "Variable description",
13256
+ "name": "description",
13339
13257
  "hasDynamicHelp": false,
13340
13258
  "multiple": false,
13341
13259
  "type": "option"
13342
13260
  },
13343
- "operator": {
13344
- "description": "Logical operator",
13345
- "name": "operator",
13261
+ "color": {
13262
+ "description": "Variable color as HEX",
13263
+ "name": "color",
13346
13264
  "hasDynamicHelp": false,
13347
13265
  "multiple": false,
13348
13266
  "type": "option"
13349
13267
  },
13350
- "filter-object": {
13351
- "description": "Filter object type",
13352
- "name": "filter-object",
13268
+ "data": {
13269
+ "description": "Additional JSON object payload",
13270
+ "name": "data",
13271
+ "hasDynamicHelp": false,
13272
+ "multiple": false,
13273
+ "type": "option"
13274
+ }
13275
+ },
13276
+ "hasDynamicHelp": false,
13277
+ "hiddenAliases": [],
13278
+ "id": "bots:env-vars:update",
13279
+ "pluginAlias": "@instantkom/cli",
13280
+ "pluginName": "@instantkom/cli",
13281
+ "pluginType": "core",
13282
+ "strict": true,
13283
+ "enableJsonFlag": false,
13284
+ "isESM": true,
13285
+ "relativePath": [
13286
+ "dist",
13287
+ "commands",
13288
+ "bots",
13289
+ "env-vars",
13290
+ "update.js"
13291
+ ]
13292
+ },
13293
+ "bots:env-vars:values": {
13294
+ "aliases": [],
13295
+ "args": {
13296
+ "id": {
13297
+ "description": "Environment variable ID",
13298
+ "name": "id",
13299
+ "required": true
13300
+ }
13301
+ },
13302
+ "description": "List recipient values for a bot environment variable",
13303
+ "flags": {
13304
+ "api-key": {
13305
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
13306
+ "env": "IKM_API_KEY",
13307
+ "helpGroup": "GLOBAL",
13308
+ "name": "api-key",
13353
13309
  "hasDynamicHelp": false,
13354
13310
  "multiple": false,
13355
13311
  "type": "option"
13356
13312
  },
13357
- "filter-attribute": {
13358
- "description": "Filter attribute",
13359
- "name": "filter-attribute",
13313
+ "format": {
13314
+ "description": "Output format: text, json, yaml, or table",
13315
+ "helpGroup": "GLOBAL",
13316
+ "name": "format",
13317
+ "default": "text",
13318
+ "hasDynamicHelp": false,
13319
+ "multiple": false,
13320
+ "options": [
13321
+ "text",
13322
+ "json",
13323
+ "yaml",
13324
+ "table"
13325
+ ],
13326
+ "type": "option"
13327
+ },
13328
+ "json": {
13329
+ "description": "Output in JSON format (alias for --format=json)",
13330
+ "helpGroup": "GLOBAL",
13331
+ "name": "json",
13332
+ "allowNo": false,
13333
+ "type": "boolean"
13334
+ },
13335
+ "quiet": {
13336
+ "description": "Suppress all output except errors",
13337
+ "helpGroup": "GLOBAL",
13338
+ "name": "quiet",
13339
+ "allowNo": false,
13340
+ "type": "boolean"
13341
+ },
13342
+ "no-color": {
13343
+ "description": "Disable color output",
13344
+ "helpGroup": "GLOBAL",
13345
+ "name": "no-color",
13346
+ "allowNo": false,
13347
+ "type": "boolean"
13348
+ },
13349
+ "profile": {
13350
+ "description": "Named configuration profile to use",
13351
+ "helpGroup": "GLOBAL",
13352
+ "name": "profile",
13353
+ "default": "default",
13354
+ "hasDynamicHelp": false,
13355
+ "multiple": false,
13356
+ "type": "option"
13357
+ },
13358
+ "api-url": {
13359
+ "description": "Override the API base URL (e.g. for staging)",
13360
+ "helpGroup": "GLOBAL",
13361
+ "name": "api-url",
13360
13362
  "hasDynamicHelp": false,
13361
13363
  "multiple": false,
13362
13364
  "type": "option"
13363
13365
  },
13364
- "filter-comparator": {
13365
- "description": "Filter comparator",
13366
- "name": "filter-comparator",
13366
+ "page": {
13367
+ "description": "Page number",
13368
+ "name": "page",
13369
+ "default": 1,
13367
13370
  "hasDynamicHelp": false,
13368
13371
  "multiple": false,
13369
13372
  "type": "option"
13370
13373
  },
13371
- "filter-value": {
13372
- "description": "Filter value",
13373
- "name": "filter-value",
13374
+ "limit": {
13375
+ "description": "Items per page",
13376
+ "name": "limit",
13377
+ "default": 20,
13374
13378
  "hasDynamicHelp": false,
13375
13379
  "multiple": false,
13376
13380
  "type": "option"
13377
13381
  },
13378
- "status": {
13379
- "description": "Status: 0 inactive, 1 active",
13380
- "name": "status",
13382
+ "search": {
13383
+ "description": "Search in recipient name or identifier",
13384
+ "name": "search",
13381
13385
  "hasDynamicHelp": false,
13382
13386
  "multiple": false,
13383
- "options": [
13384
- "0",
13385
- "1"
13386
- ],
13387
13387
  "type": "option"
13388
13388
  },
13389
- "data": {
13390
- "description": "Additional JSON object payload",
13391
- "name": "data",
13389
+ "recipient": {
13390
+ "description": "Filter by recipient ID",
13391
+ "name": "recipient",
13392
13392
  "hasDynamicHelp": false,
13393
13393
  "multiple": false,
13394
13394
  "type": "option"
@@ -13396,7 +13396,7 @@
13396
13396
  },
13397
13397
  "hasDynamicHelp": false,
13398
13398
  "hiddenAliases": [],
13399
- "id": "bots:filters:update",
13399
+ "id": "bots:env-vars:values",
13400
13400
  "pluginAlias": "@instantkom/cli",
13401
13401
  "pluginName": "@instantkom/cli",
13402
13402
  "pluginType": "core",
@@ -13407,8 +13407,8 @@
13407
13407
  "dist",
13408
13408
  "commands",
13409
13409
  "bots",
13410
- "filters",
13411
- "update.js"
13410
+ "env-vars",
13411
+ "values.js"
13412
13412
  ]
13413
13413
  },
13414
13414
  "bots:tags:add": {
@@ -14380,7 +14380,7 @@
14380
14380
  "remove.js"
14381
14381
  ]
14382
14382
  },
14383
- "flow:edges:create": {
14383
+ "flow:nodes:create": {
14384
14384
  "aliases": [],
14385
14385
  "args": {
14386
14386
  "flowId": {
@@ -14389,7 +14389,7 @@
14389
14389
  "required": true
14390
14390
  }
14391
14391
  },
14392
- "description": "Create a flow edge",
14392
+ "description": "Create a flow node",
14393
14393
  "flags": {
14394
14394
  "api-key": {
14395
14395
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14453,33 +14453,33 @@
14453
14453
  "multiple": false,
14454
14454
  "type": "option"
14455
14455
  },
14456
- "source": {
14457
- "description": "Source node ID",
14458
- "name": "source",
14459
- "required": true,
14456
+ "bot": {
14457
+ "description": "Bot ID",
14458
+ "name": "bot",
14460
14459
  "hasDynamicHelp": false,
14461
14460
  "multiple": false,
14462
14461
  "type": "option"
14463
14462
  },
14464
- "target": {
14465
- "description": "Target node ID",
14466
- "name": "target",
14463
+ "type": {
14464
+ "description": "Node type",
14465
+ "name": "type",
14467
14466
  "required": true,
14468
14467
  "hasDynamicHelp": false,
14469
14468
  "multiple": false,
14470
14469
  "type": "option"
14471
14470
  },
14472
- "label": {
14473
- "description": "Edge label",
14474
- "name": "label",
14471
+ "x": {
14472
+ "description": "X position",
14473
+ "name": "x",
14474
+ "required": true,
14475
14475
  "hasDynamicHelp": false,
14476
14476
  "multiple": false,
14477
14477
  "type": "option"
14478
14478
  },
14479
- "type": {
14480
- "description": "Edge type",
14481
- "name": "type",
14482
- "default": "default",
14479
+ "y": {
14480
+ "description": "Y position",
14481
+ "name": "y",
14482
+ "required": true,
14483
14483
  "hasDynamicHelp": false,
14484
14484
  "multiple": false,
14485
14485
  "type": "option"
@@ -14494,7 +14494,7 @@
14494
14494
  },
14495
14495
  "hasDynamicHelp": false,
14496
14496
  "hiddenAliases": [],
14497
- "id": "flow:edges:create",
14497
+ "id": "flow:nodes:create",
14498
14498
  "pluginAlias": "@instantkom/cli",
14499
14499
  "pluginName": "@instantkom/cli",
14500
14500
  "pluginType": "core",
@@ -14505,11 +14505,11 @@
14505
14505
  "dist",
14506
14506
  "commands",
14507
14507
  "flow",
14508
- "edges",
14508
+ "nodes",
14509
14509
  "create.js"
14510
14510
  ]
14511
14511
  },
14512
- "flow:edges:delete": {
14512
+ "flow:nodes:delete": {
14513
14513
  "aliases": [],
14514
14514
  "args": {
14515
14515
  "flowId": {
@@ -14517,13 +14517,13 @@
14517
14517
  "name": "flowId",
14518
14518
  "required": true
14519
14519
  },
14520
- "edgeId": {
14521
- "description": "Edge ID",
14522
- "name": "edgeId",
14520
+ "nodeId": {
14521
+ "description": "Node ID",
14522
+ "name": "nodeId",
14523
14523
  "required": true
14524
14524
  }
14525
14525
  },
14526
- "description": "Delete a flow edge",
14526
+ "description": "Delete a flow node",
14527
14527
  "flags": {
14528
14528
  "api-key": {
14529
14529
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14590,7 +14590,7 @@
14590
14590
  },
14591
14591
  "hasDynamicHelp": false,
14592
14592
  "hiddenAliases": [],
14593
- "id": "flow:edges:delete",
14593
+ "id": "flow:nodes:delete",
14594
14594
  "pluginAlias": "@instantkom/cli",
14595
14595
  "pluginName": "@instantkom/cli",
14596
14596
  "pluginType": "core",
@@ -14601,11 +14601,11 @@
14601
14601
  "dist",
14602
14602
  "commands",
14603
14603
  "flow",
14604
- "edges",
14604
+ "nodes",
14605
14605
  "delete.js"
14606
14606
  ]
14607
14607
  },
14608
- "flow:edges:get": {
14608
+ "flow:nodes:get": {
14609
14609
  "aliases": [],
14610
14610
  "args": {
14611
14611
  "flowId": {
@@ -14613,13 +14613,13 @@
14613
14613
  "name": "flowId",
14614
14614
  "required": true
14615
14615
  },
14616
- "edgeId": {
14617
- "description": "Edge ID",
14618
- "name": "edgeId",
14616
+ "nodeId": {
14617
+ "description": "Node ID",
14618
+ "name": "nodeId",
14619
14619
  "required": true
14620
14620
  }
14621
14621
  },
14622
- "description": "Get a flow edge",
14622
+ "description": "Get a flow node",
14623
14623
  "flags": {
14624
14624
  "api-key": {
14625
14625
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14686,7 +14686,7 @@
14686
14686
  },
14687
14687
  "hasDynamicHelp": false,
14688
14688
  "hiddenAliases": [],
14689
- "id": "flow:edges:get",
14689
+ "id": "flow:nodes:get",
14690
14690
  "pluginAlias": "@instantkom/cli",
14691
14691
  "pluginName": "@instantkom/cli",
14692
14692
  "pluginType": "core",
@@ -14697,11 +14697,11 @@
14697
14697
  "dist",
14698
14698
  "commands",
14699
14699
  "flow",
14700
- "edges",
14700
+ "nodes",
14701
14701
  "get.js"
14702
14702
  ]
14703
14703
  },
14704
- "flow:edges:list": {
14704
+ "flow:nodes:list": {
14705
14705
  "aliases": [],
14706
14706
  "args": {
14707
14707
  "flowId": {
@@ -14710,7 +14710,7 @@
14710
14710
  "required": true
14711
14711
  }
14712
14712
  },
14713
- "description": "List edges in a flow",
14713
+ "description": "List nodes in a flow",
14714
14714
  "flags": {
14715
14715
  "api-key": {
14716
14716
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14777,7 +14777,7 @@
14777
14777
  },
14778
14778
  "hasDynamicHelp": false,
14779
14779
  "hiddenAliases": [],
14780
- "id": "flow:edges:list",
14780
+ "id": "flow:nodes:list",
14781
14781
  "pluginAlias": "@instantkom/cli",
14782
14782
  "pluginName": "@instantkom/cli",
14783
14783
  "pluginType": "core",
@@ -14788,11 +14788,11 @@
14788
14788
  "dist",
14789
14789
  "commands",
14790
14790
  "flow",
14791
- "edges",
14791
+ "nodes",
14792
14792
  "list.js"
14793
14793
  ]
14794
14794
  },
14795
- "flow:edges:update": {
14795
+ "flow:nodes:update": {
14796
14796
  "aliases": [],
14797
14797
  "args": {
14798
14798
  "flowId": {
@@ -14800,13 +14800,13 @@
14800
14800
  "name": "flowId",
14801
14801
  "required": true
14802
14802
  },
14803
- "edgeId": {
14804
- "description": "Edge ID",
14805
- "name": "edgeId",
14803
+ "nodeId": {
14804
+ "description": "Node ID",
14805
+ "name": "nodeId",
14806
14806
  "required": true
14807
14807
  }
14808
14808
  },
14809
- "description": "Update a flow edge",
14809
+ "description": "Update a flow node",
14810
14810
  "flags": {
14811
14811
  "api-key": {
14812
14812
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14870,30 +14870,30 @@
14870
14870
  "multiple": false,
14871
14871
  "type": "option"
14872
14872
  },
14873
- "source": {
14874
- "description": "Source node ID",
14875
- "name": "source",
14873
+ "bot": {
14874
+ "description": "Bot ID",
14875
+ "name": "bot",
14876
14876
  "hasDynamicHelp": false,
14877
14877
  "multiple": false,
14878
14878
  "type": "option"
14879
14879
  },
14880
- "target": {
14881
- "description": "Target node ID",
14882
- "name": "target",
14880
+ "type": {
14881
+ "description": "Node type",
14882
+ "name": "type",
14883
14883
  "hasDynamicHelp": false,
14884
14884
  "multiple": false,
14885
14885
  "type": "option"
14886
14886
  },
14887
- "label": {
14888
- "description": "Edge label",
14889
- "name": "label",
14887
+ "x": {
14888
+ "description": "X position",
14889
+ "name": "x",
14890
14890
  "hasDynamicHelp": false,
14891
14891
  "multiple": false,
14892
14892
  "type": "option"
14893
14893
  },
14894
- "type": {
14895
- "description": "Edge type",
14896
- "name": "type",
14894
+ "y": {
14895
+ "description": "Y position",
14896
+ "name": "y",
14897
14897
  "hasDynamicHelp": false,
14898
14898
  "multiple": false,
14899
14899
  "type": "option"
@@ -14908,7 +14908,7 @@
14908
14908
  },
14909
14909
  "hasDynamicHelp": false,
14910
14910
  "hiddenAliases": [],
14911
- "id": "flow:edges:update",
14911
+ "id": "flow:nodes:update",
14912
14912
  "pluginAlias": "@instantkom/cli",
14913
14913
  "pluginName": "@instantkom/cli",
14914
14914
  "pluginType": "core",
@@ -14919,11 +14919,11 @@
14919
14919
  "dist",
14920
14920
  "commands",
14921
14921
  "flow",
14922
- "edges",
14922
+ "nodes",
14923
14923
  "update.js"
14924
14924
  ]
14925
14925
  },
14926
- "flow:nodes:create": {
14926
+ "flow:edges:create": {
14927
14927
  "aliases": [],
14928
14928
  "args": {
14929
14929
  "flowId": {
@@ -14932,7 +14932,7 @@
14932
14932
  "required": true
14933
14933
  }
14934
14934
  },
14935
- "description": "Create a flow node",
14935
+ "description": "Create a flow edge",
14936
14936
  "flags": {
14937
14937
  "api-key": {
14938
14938
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14996,33 +14996,33 @@
14996
14996
  "multiple": false,
14997
14997
  "type": "option"
14998
14998
  },
14999
- "bot": {
15000
- "description": "Bot ID",
15001
- "name": "bot",
14999
+ "source": {
15000
+ "description": "Source node ID",
15001
+ "name": "source",
15002
+ "required": true,
15002
15003
  "hasDynamicHelp": false,
15003
15004
  "multiple": false,
15004
15005
  "type": "option"
15005
15006
  },
15006
- "type": {
15007
- "description": "Node type",
15008
- "name": "type",
15007
+ "target": {
15008
+ "description": "Target node ID",
15009
+ "name": "target",
15009
15010
  "required": true,
15010
15011
  "hasDynamicHelp": false,
15011
15012
  "multiple": false,
15012
15013
  "type": "option"
15013
15014
  },
15014
- "x": {
15015
- "description": "X position",
15016
- "name": "x",
15017
- "required": true,
15015
+ "label": {
15016
+ "description": "Edge label",
15017
+ "name": "label",
15018
15018
  "hasDynamicHelp": false,
15019
15019
  "multiple": false,
15020
15020
  "type": "option"
15021
15021
  },
15022
- "y": {
15023
- "description": "Y position",
15024
- "name": "y",
15025
- "required": true,
15022
+ "type": {
15023
+ "description": "Edge type",
15024
+ "name": "type",
15025
+ "default": "default",
15026
15026
  "hasDynamicHelp": false,
15027
15027
  "multiple": false,
15028
15028
  "type": "option"
@@ -15037,7 +15037,7 @@
15037
15037
  },
15038
15038
  "hasDynamicHelp": false,
15039
15039
  "hiddenAliases": [],
15040
- "id": "flow:nodes:create",
15040
+ "id": "flow:edges:create",
15041
15041
  "pluginAlias": "@instantkom/cli",
15042
15042
  "pluginName": "@instantkom/cli",
15043
15043
  "pluginType": "core",
@@ -15048,11 +15048,11 @@
15048
15048
  "dist",
15049
15049
  "commands",
15050
15050
  "flow",
15051
- "nodes",
15051
+ "edges",
15052
15052
  "create.js"
15053
15053
  ]
15054
15054
  },
15055
- "flow:nodes:delete": {
15055
+ "flow:edges:delete": {
15056
15056
  "aliases": [],
15057
15057
  "args": {
15058
15058
  "flowId": {
@@ -15060,13 +15060,13 @@
15060
15060
  "name": "flowId",
15061
15061
  "required": true
15062
15062
  },
15063
- "nodeId": {
15064
- "description": "Node ID",
15065
- "name": "nodeId",
15063
+ "edgeId": {
15064
+ "description": "Edge ID",
15065
+ "name": "edgeId",
15066
15066
  "required": true
15067
15067
  }
15068
15068
  },
15069
- "description": "Delete a flow node",
15069
+ "description": "Delete a flow edge",
15070
15070
  "flags": {
15071
15071
  "api-key": {
15072
15072
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15133,7 +15133,7 @@
15133
15133
  },
15134
15134
  "hasDynamicHelp": false,
15135
15135
  "hiddenAliases": [],
15136
- "id": "flow:nodes:delete",
15136
+ "id": "flow:edges:delete",
15137
15137
  "pluginAlias": "@instantkom/cli",
15138
15138
  "pluginName": "@instantkom/cli",
15139
15139
  "pluginType": "core",
@@ -15144,11 +15144,11 @@
15144
15144
  "dist",
15145
15145
  "commands",
15146
15146
  "flow",
15147
- "nodes",
15147
+ "edges",
15148
15148
  "delete.js"
15149
15149
  ]
15150
15150
  },
15151
- "flow:nodes:get": {
15151
+ "flow:edges:get": {
15152
15152
  "aliases": [],
15153
15153
  "args": {
15154
15154
  "flowId": {
@@ -15156,13 +15156,13 @@
15156
15156
  "name": "flowId",
15157
15157
  "required": true
15158
15158
  },
15159
- "nodeId": {
15160
- "description": "Node ID",
15161
- "name": "nodeId",
15159
+ "edgeId": {
15160
+ "description": "Edge ID",
15161
+ "name": "edgeId",
15162
15162
  "required": true
15163
15163
  }
15164
15164
  },
15165
- "description": "Get a flow node",
15165
+ "description": "Get a flow edge",
15166
15166
  "flags": {
15167
15167
  "api-key": {
15168
15168
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15229,7 +15229,7 @@
15229
15229
  },
15230
15230
  "hasDynamicHelp": false,
15231
15231
  "hiddenAliases": [],
15232
- "id": "flow:nodes:get",
15232
+ "id": "flow:edges:get",
15233
15233
  "pluginAlias": "@instantkom/cli",
15234
15234
  "pluginName": "@instantkom/cli",
15235
15235
  "pluginType": "core",
@@ -15240,11 +15240,11 @@
15240
15240
  "dist",
15241
15241
  "commands",
15242
15242
  "flow",
15243
- "nodes",
15243
+ "edges",
15244
15244
  "get.js"
15245
15245
  ]
15246
15246
  },
15247
- "flow:nodes:list": {
15247
+ "flow:edges:list": {
15248
15248
  "aliases": [],
15249
15249
  "args": {
15250
15250
  "flowId": {
@@ -15253,7 +15253,7 @@
15253
15253
  "required": true
15254
15254
  }
15255
15255
  },
15256
- "description": "List nodes in a flow",
15256
+ "description": "List edges in a flow",
15257
15257
  "flags": {
15258
15258
  "api-key": {
15259
15259
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15320,7 +15320,7 @@
15320
15320
  },
15321
15321
  "hasDynamicHelp": false,
15322
15322
  "hiddenAliases": [],
15323
- "id": "flow:nodes:list",
15323
+ "id": "flow:edges:list",
15324
15324
  "pluginAlias": "@instantkom/cli",
15325
15325
  "pluginName": "@instantkom/cli",
15326
15326
  "pluginType": "core",
@@ -15331,11 +15331,11 @@
15331
15331
  "dist",
15332
15332
  "commands",
15333
15333
  "flow",
15334
- "nodes",
15334
+ "edges",
15335
15335
  "list.js"
15336
15336
  ]
15337
15337
  },
15338
- "flow:nodes:update": {
15338
+ "flow:edges:update": {
15339
15339
  "aliases": [],
15340
15340
  "args": {
15341
15341
  "flowId": {
@@ -15343,13 +15343,13 @@
15343
15343
  "name": "flowId",
15344
15344
  "required": true
15345
15345
  },
15346
- "nodeId": {
15347
- "description": "Node ID",
15348
- "name": "nodeId",
15346
+ "edgeId": {
15347
+ "description": "Edge ID",
15348
+ "name": "edgeId",
15349
15349
  "required": true
15350
15350
  }
15351
15351
  },
15352
- "description": "Update a flow node",
15352
+ "description": "Update a flow edge",
15353
15353
  "flags": {
15354
15354
  "api-key": {
15355
15355
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15413,30 +15413,30 @@
15413
15413
  "multiple": false,
15414
15414
  "type": "option"
15415
15415
  },
15416
- "bot": {
15417
- "description": "Bot ID",
15418
- "name": "bot",
15416
+ "source": {
15417
+ "description": "Source node ID",
15418
+ "name": "source",
15419
15419
  "hasDynamicHelp": false,
15420
15420
  "multiple": false,
15421
15421
  "type": "option"
15422
15422
  },
15423
- "type": {
15424
- "description": "Node type",
15425
- "name": "type",
15423
+ "target": {
15424
+ "description": "Target node ID",
15425
+ "name": "target",
15426
15426
  "hasDynamicHelp": false,
15427
15427
  "multiple": false,
15428
15428
  "type": "option"
15429
15429
  },
15430
- "x": {
15431
- "description": "X position",
15432
- "name": "x",
15430
+ "label": {
15431
+ "description": "Edge label",
15432
+ "name": "label",
15433
15433
  "hasDynamicHelp": false,
15434
15434
  "multiple": false,
15435
15435
  "type": "option"
15436
15436
  },
15437
- "y": {
15438
- "description": "Y position",
15439
- "name": "y",
15437
+ "type": {
15438
+ "description": "Edge type",
15439
+ "name": "type",
15440
15440
  "hasDynamicHelp": false,
15441
15441
  "multiple": false,
15442
15442
  "type": "option"
@@ -15451,7 +15451,7 @@
15451
15451
  },
15452
15452
  "hasDynamicHelp": false,
15453
15453
  "hiddenAliases": [],
15454
- "id": "flow:nodes:update",
15454
+ "id": "flow:edges:update",
15455
15455
  "pluginAlias": "@instantkom/cli",
15456
15456
  "pluginName": "@instantkom/cli",
15457
15457
  "pluginType": "core",
@@ -15462,7 +15462,7 @@
15462
15462
  "dist",
15463
15463
  "commands",
15464
15464
  "flow",
15465
- "nodes",
15465
+ "edges",
15466
15466
  "update.js"
15467
15467
  ]
15468
15468
  },
@@ -15749,16 +15749,16 @@
15749
15749
  "remove.js"
15750
15750
  ]
15751
15751
  },
15752
- "tags:bots:list": {
15752
+ "ticket:messages:create": {
15753
15753
  "aliases": [],
15754
15754
  "args": {
15755
- "id": {
15756
- "description": "Tag ID",
15757
- "name": "id",
15755
+ "ticketId": {
15756
+ "description": "Ticket ID",
15757
+ "name": "ticketId",
15758
15758
  "required": true
15759
15759
  }
15760
15760
  },
15761
- "description": "List bots that use a specific tag",
15761
+ "description": "Create a ticket message",
15762
15762
  "flags": {
15763
15763
  "api-key": {
15764
15764
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15822,18 +15822,17 @@
15822
15822
  "multiple": false,
15823
15823
  "type": "option"
15824
15824
  },
15825
- "page": {
15826
- "description": "Page number",
15827
- "name": "page",
15828
- "default": 1,
15825
+ "message": {
15826
+ "description": "Message text",
15827
+ "name": "message",
15828
+ "required": true,
15829
15829
  "hasDynamicHelp": false,
15830
15830
  "multiple": false,
15831
15831
  "type": "option"
15832
15832
  },
15833
- "limit": {
15834
- "description": "Items per page",
15835
- "name": "limit",
15836
- "default": 20,
15833
+ "data": {
15834
+ "description": "Additional JSON object payload",
15835
+ "name": "data",
15837
15836
  "hasDynamicHelp": false,
15838
15837
  "multiple": false,
15839
15838
  "type": "option"
@@ -15841,7 +15840,7 @@
15841
15840
  },
15842
15841
  "hasDynamicHelp": false,
15843
15842
  "hiddenAliases": [],
15844
- "id": "tags:bots:list",
15843
+ "id": "ticket:messages:create",
15845
15844
  "pluginAlias": "@instantkom/cli",
15846
15845
  "pluginName": "@instantkom/cli",
15847
15846
  "pluginType": "core",
@@ -15851,21 +15850,26 @@
15851
15850
  "relativePath": [
15852
15851
  "dist",
15853
15852
  "commands",
15854
- "tags",
15855
- "bots",
15856
- "list.js"
15853
+ "ticket",
15854
+ "messages",
15855
+ "create.js"
15857
15856
  ]
15858
15857
  },
15859
- "tags:segments:list": {
15858
+ "ticket:messages:delete": {
15860
15859
  "aliases": [],
15861
15860
  "args": {
15862
- "id": {
15863
- "description": "Tag ID",
15864
- "name": "id",
15861
+ "ticketId": {
15862
+ "description": "Ticket ID",
15863
+ "name": "ticketId",
15864
+ "required": true
15865
+ },
15866
+ "messageId": {
15867
+ "description": "Message ID",
15868
+ "name": "messageId",
15865
15869
  "required": true
15866
15870
  }
15867
15871
  },
15868
- "description": "List segments that use a specific tag",
15872
+ "description": "Delete a ticket message",
15869
15873
  "flags": {
15870
15874
  "api-key": {
15871
15875
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15928,27 +15932,11 @@
15928
15932
  "hasDynamicHelp": false,
15929
15933
  "multiple": false,
15930
15934
  "type": "option"
15931
- },
15932
- "page": {
15933
- "description": "Page number",
15934
- "name": "page",
15935
- "default": 1,
15936
- "hasDynamicHelp": false,
15937
- "multiple": false,
15938
- "type": "option"
15939
- },
15940
- "limit": {
15941
- "description": "Items per page",
15942
- "name": "limit",
15943
- "default": 20,
15944
- "hasDynamicHelp": false,
15945
- "multiple": false,
15946
- "type": "option"
15947
15935
  }
15948
15936
  },
15949
15937
  "hasDynamicHelp": false,
15950
15938
  "hiddenAliases": [],
15951
- "id": "tags:segments:list",
15939
+ "id": "ticket:messages:delete",
15952
15940
  "pluginAlias": "@instantkom/cli",
15953
15941
  "pluginName": "@instantkom/cli",
15954
15942
  "pluginType": "core",
@@ -15958,21 +15946,26 @@
15958
15946
  "relativePath": [
15959
15947
  "dist",
15960
15948
  "commands",
15961
- "tags",
15962
- "segments",
15963
- "list.js"
15949
+ "ticket",
15950
+ "messages",
15951
+ "delete.js"
15964
15952
  ]
15965
15953
  },
15966
- "tags:recipients:add": {
15954
+ "ticket:messages:get": {
15967
15955
  "aliases": [],
15968
15956
  "args": {
15969
- "tagId": {
15970
- "description": "Tag ID",
15971
- "name": "tagId",
15957
+ "ticketId": {
15958
+ "description": "Ticket ID",
15959
+ "name": "ticketId",
15960
+ "required": true
15961
+ },
15962
+ "messageId": {
15963
+ "description": "Message ID",
15964
+ "name": "messageId",
15972
15965
  "required": true
15973
15966
  }
15974
15967
  },
15975
- "description": "Assign a tag to recipients",
15968
+ "description": "Get a ticket message",
15976
15969
  "flags": {
15977
15970
  "api-key": {
15978
15971
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16035,19 +16028,11 @@
16035
16028
  "hasDynamicHelp": false,
16036
16029
  "multiple": false,
16037
16030
  "type": "option"
16038
- },
16039
- "recipients": {
16040
- "description": "Comma-separated recipient IDs",
16041
- "name": "recipients",
16042
- "required": true,
16043
- "hasDynamicHelp": false,
16044
- "multiple": false,
16045
- "type": "option"
16046
16031
  }
16047
16032
  },
16048
16033
  "hasDynamicHelp": false,
16049
16034
  "hiddenAliases": [],
16050
- "id": "tags:recipients:add",
16035
+ "id": "ticket:messages:get",
16051
16036
  "pluginAlias": "@instantkom/cli",
16052
16037
  "pluginName": "@instantkom/cli",
16053
16038
  "pluginType": "core",
@@ -16057,21 +16042,21 @@
16057
16042
  "relativePath": [
16058
16043
  "dist",
16059
16044
  "commands",
16060
- "tags",
16061
- "recipients",
16062
- "add.js"
16045
+ "ticket",
16046
+ "messages",
16047
+ "get.js"
16063
16048
  ]
16064
16049
  },
16065
- "tags:recipients:remove": {
16050
+ "ticket:messages:list": {
16066
16051
  "aliases": [],
16067
16052
  "args": {
16068
- "tagId": {
16069
- "description": "Tag ID",
16070
- "name": "tagId",
16053
+ "ticketId": {
16054
+ "description": "Ticket ID",
16055
+ "name": "ticketId",
16071
16056
  "required": true
16072
16057
  }
16073
16058
  },
16074
- "description": "Remove a tag from recipients",
16059
+ "description": "List ticket messages",
16075
16060
  "flags": {
16076
16061
  "api-key": {
16077
16062
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16134,19 +16119,11 @@
16134
16119
  "hasDynamicHelp": false,
16135
16120
  "multiple": false,
16136
16121
  "type": "option"
16137
- },
16138
- "recipients": {
16139
- "description": "Comma-separated recipient IDs",
16140
- "name": "recipients",
16141
- "required": true,
16142
- "hasDynamicHelp": false,
16143
- "multiple": false,
16144
- "type": "option"
16145
16122
  }
16146
16123
  },
16147
16124
  "hasDynamicHelp": false,
16148
16125
  "hiddenAliases": [],
16149
- "id": "tags:recipients:remove",
16126
+ "id": "ticket:messages:list",
16150
16127
  "pluginAlias": "@instantkom/cli",
16151
16128
  "pluginName": "@instantkom/cli",
16152
16129
  "pluginType": "core",
@@ -16156,21 +16133,21 @@
16156
16133
  "relativePath": [
16157
16134
  "dist",
16158
16135
  "commands",
16159
- "tags",
16160
- "recipients",
16161
- "remove.js"
16136
+ "ticket",
16137
+ "messages",
16138
+ "list.js"
16162
16139
  ]
16163
16140
  },
16164
- "ticket:messages:create": {
16141
+ "tags:bots:list": {
16165
16142
  "aliases": [],
16166
16143
  "args": {
16167
- "ticketId": {
16168
- "description": "Ticket ID",
16169
- "name": "ticketId",
16144
+ "id": {
16145
+ "description": "Tag ID",
16146
+ "name": "id",
16170
16147
  "required": true
16171
16148
  }
16172
16149
  },
16173
- "description": "Create a ticket message",
16150
+ "description": "List bots that use a specific tag",
16174
16151
  "flags": {
16175
16152
  "api-key": {
16176
16153
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16234,17 +16211,18 @@
16234
16211
  "multiple": false,
16235
16212
  "type": "option"
16236
16213
  },
16237
- "message": {
16238
- "description": "Message text",
16239
- "name": "message",
16240
- "required": true,
16214
+ "page": {
16215
+ "description": "Page number",
16216
+ "name": "page",
16217
+ "default": 1,
16241
16218
  "hasDynamicHelp": false,
16242
16219
  "multiple": false,
16243
16220
  "type": "option"
16244
16221
  },
16245
- "data": {
16246
- "description": "Additional JSON object payload",
16247
- "name": "data",
16222
+ "limit": {
16223
+ "description": "Items per page",
16224
+ "name": "limit",
16225
+ "default": 20,
16248
16226
  "hasDynamicHelp": false,
16249
16227
  "multiple": false,
16250
16228
  "type": "option"
@@ -16252,7 +16230,7 @@
16252
16230
  },
16253
16231
  "hasDynamicHelp": false,
16254
16232
  "hiddenAliases": [],
16255
- "id": "ticket:messages:create",
16233
+ "id": "tags:bots:list",
16256
16234
  "pluginAlias": "@instantkom/cli",
16257
16235
  "pluginName": "@instantkom/cli",
16258
16236
  "pluginType": "core",
@@ -16262,26 +16240,21 @@
16262
16240
  "relativePath": [
16263
16241
  "dist",
16264
16242
  "commands",
16265
- "ticket",
16266
- "messages",
16267
- "create.js"
16243
+ "tags",
16244
+ "bots",
16245
+ "list.js"
16268
16246
  ]
16269
16247
  },
16270
- "ticket:messages:delete": {
16248
+ "tags:recipients:add": {
16271
16249
  "aliases": [],
16272
16250
  "args": {
16273
- "ticketId": {
16274
- "description": "Ticket ID",
16275
- "name": "ticketId",
16276
- "required": true
16277
- },
16278
- "messageId": {
16279
- "description": "Message ID",
16280
- "name": "messageId",
16251
+ "tagId": {
16252
+ "description": "Tag ID",
16253
+ "name": "tagId",
16281
16254
  "required": true
16282
16255
  }
16283
16256
  },
16284
- "description": "Delete a ticket message",
16257
+ "description": "Assign a tag to recipients",
16285
16258
  "flags": {
16286
16259
  "api-key": {
16287
16260
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16344,11 +16317,19 @@
16344
16317
  "hasDynamicHelp": false,
16345
16318
  "multiple": false,
16346
16319
  "type": "option"
16320
+ },
16321
+ "recipients": {
16322
+ "description": "Comma-separated recipient IDs",
16323
+ "name": "recipients",
16324
+ "required": true,
16325
+ "hasDynamicHelp": false,
16326
+ "multiple": false,
16327
+ "type": "option"
16347
16328
  }
16348
16329
  },
16349
16330
  "hasDynamicHelp": false,
16350
16331
  "hiddenAliases": [],
16351
- "id": "ticket:messages:delete",
16332
+ "id": "tags:recipients:add",
16352
16333
  "pluginAlias": "@instantkom/cli",
16353
16334
  "pluginName": "@instantkom/cli",
16354
16335
  "pluginType": "core",
@@ -16358,26 +16339,21 @@
16358
16339
  "relativePath": [
16359
16340
  "dist",
16360
16341
  "commands",
16361
- "ticket",
16362
- "messages",
16363
- "delete.js"
16342
+ "tags",
16343
+ "recipients",
16344
+ "add.js"
16364
16345
  ]
16365
16346
  },
16366
- "ticket:messages:get": {
16347
+ "tags:recipients:remove": {
16367
16348
  "aliases": [],
16368
16349
  "args": {
16369
- "ticketId": {
16370
- "description": "Ticket ID",
16371
- "name": "ticketId",
16372
- "required": true
16373
- },
16374
- "messageId": {
16375
- "description": "Message ID",
16376
- "name": "messageId",
16350
+ "tagId": {
16351
+ "description": "Tag ID",
16352
+ "name": "tagId",
16377
16353
  "required": true
16378
16354
  }
16379
16355
  },
16380
- "description": "Get a ticket message",
16356
+ "description": "Remove a tag from recipients",
16381
16357
  "flags": {
16382
16358
  "api-key": {
16383
16359
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16440,11 +16416,19 @@
16440
16416
  "hasDynamicHelp": false,
16441
16417
  "multiple": false,
16442
16418
  "type": "option"
16419
+ },
16420
+ "recipients": {
16421
+ "description": "Comma-separated recipient IDs",
16422
+ "name": "recipients",
16423
+ "required": true,
16424
+ "hasDynamicHelp": false,
16425
+ "multiple": false,
16426
+ "type": "option"
16443
16427
  }
16444
16428
  },
16445
16429
  "hasDynamicHelp": false,
16446
16430
  "hiddenAliases": [],
16447
- "id": "ticket:messages:get",
16431
+ "id": "tags:recipients:remove",
16448
16432
  "pluginAlias": "@instantkom/cli",
16449
16433
  "pluginName": "@instantkom/cli",
16450
16434
  "pluginType": "core",
@@ -16454,21 +16438,21 @@
16454
16438
  "relativePath": [
16455
16439
  "dist",
16456
16440
  "commands",
16457
- "ticket",
16458
- "messages",
16459
- "get.js"
16441
+ "tags",
16442
+ "recipients",
16443
+ "remove.js"
16460
16444
  ]
16461
16445
  },
16462
- "ticket:messages:list": {
16446
+ "tags:segments:list": {
16463
16447
  "aliases": [],
16464
16448
  "args": {
16465
- "ticketId": {
16466
- "description": "Ticket ID",
16467
- "name": "ticketId",
16449
+ "id": {
16450
+ "description": "Tag ID",
16451
+ "name": "id",
16468
16452
  "required": true
16469
16453
  }
16470
16454
  },
16471
- "description": "List ticket messages",
16455
+ "description": "List segments that use a specific tag",
16472
16456
  "flags": {
16473
16457
  "api-key": {
16474
16458
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16531,11 +16515,27 @@
16531
16515
  "hasDynamicHelp": false,
16532
16516
  "multiple": false,
16533
16517
  "type": "option"
16518
+ },
16519
+ "page": {
16520
+ "description": "Page number",
16521
+ "name": "page",
16522
+ "default": 1,
16523
+ "hasDynamicHelp": false,
16524
+ "multiple": false,
16525
+ "type": "option"
16526
+ },
16527
+ "limit": {
16528
+ "description": "Items per page",
16529
+ "name": "limit",
16530
+ "default": 20,
16531
+ "hasDynamicHelp": false,
16532
+ "multiple": false,
16533
+ "type": "option"
16534
16534
  }
16535
16535
  },
16536
16536
  "hasDynamicHelp": false,
16537
16537
  "hiddenAliases": [],
16538
- "id": "ticket:messages:list",
16538
+ "id": "tags:segments:list",
16539
16539
  "pluginAlias": "@instantkom/cli",
16540
16540
  "pluginName": "@instantkom/cli",
16541
16541
  "pluginType": "core",
@@ -16545,8 +16545,8 @@
16545
16545
  "relativePath": [
16546
16546
  "dist",
16547
16547
  "commands",
16548
- "ticket",
16549
- "messages",
16548
+ "tags",
16549
+ "segments",
16550
16550
  "list.js"
16551
16551
  ]
16552
16552
  },
@@ -17052,5 +17052,5 @@
17052
17052
  ]
17053
17053
  }
17054
17054
  },
17055
- "version": "3.195.8"
17055
+ "version": "3.195.9"
17056
17056
  }