@instantkom/cli 3.152.0 → 3.154.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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": {
@@ -4805,10 +4805,10 @@
4805
4805
  "update.js"
4806
4806
  ]
4807
4807
  },
4808
- "custom-fields:bulk-delete": {
4808
+ "exports:create": {
4809
4809
  "aliases": [],
4810
4810
  "args": {},
4811
- "description": "Bulk delete custom fields",
4811
+ "description": "Create an export",
4812
4812
  "flags": {
4813
4813
  "api-key": {
4814
4814
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4820,18 +4820,10 @@
4820
4820
  "type": "option"
4821
4821
  },
4822
4822
  "format": {
4823
- "description": "Output format: text, json, yaml, or table",
4824
- "helpGroup": "GLOBAL",
4823
+ "description": "Alias for --target",
4825
4824
  "name": "format",
4826
- "default": "text",
4827
4825
  "hasDynamicHelp": false,
4828
4826
  "multiple": false,
4829
- "options": [
4830
- "text",
4831
- "json",
4832
- "yaml",
4833
- "table"
4834
- ],
4835
4827
  "type": "option"
4836
4828
  },
4837
4829
  "json": {
@@ -4872,148 +4864,59 @@
4872
4864
  "multiple": false,
4873
4865
  "type": "option"
4874
4866
  },
4875
- "ids": {
4876
- "description": "Comma-separated custom field IDs",
4877
- "name": "ids",
4867
+ "name": {
4868
+ "description": "Export name",
4869
+ "name": "name",
4878
4870
  "required": true,
4879
4871
  "hasDynamicHelp": false,
4880
4872
  "multiple": false,
4881
4873
  "type": "option"
4882
- }
4883
- },
4884
- "hasDynamicHelp": false,
4885
- "hiddenAliases": [],
4886
- "id": "custom-fields:bulk-delete",
4887
- "pluginAlias": "@instantkom/cli",
4888
- "pluginName": "@instantkom/cli",
4889
- "pluginType": "core",
4890
- "strict": true,
4891
- "enableJsonFlag": false,
4892
- "isESM": true,
4893
- "relativePath": [
4894
- "dist",
4895
- "commands",
4896
- "custom-fields",
4897
- "bulk-delete.js"
4898
- ]
4899
- },
4900
- "custom-fields:create": {
4901
- "aliases": [],
4902
- "args": {},
4903
- "description": "Create a custom field",
4904
- "flags": {
4905
- "api-key": {
4906
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
4907
- "env": "IKM_API_KEY",
4908
- "helpGroup": "GLOBAL",
4909
- "name": "api-key",
4910
- "hasDynamicHelp": false,
4911
- "multiple": false,
4912
- "type": "option"
4913
- },
4914
- "format": {
4915
- "description": "Output format: text, json, yaml, or table",
4916
- "helpGroup": "GLOBAL",
4917
- "name": "format",
4918
- "default": "text",
4919
- "hasDynamicHelp": false,
4920
- "multiple": false,
4921
- "options": [
4922
- "text",
4923
- "json",
4924
- "yaml",
4925
- "table"
4926
- ],
4927
- "type": "option"
4928
- },
4929
- "json": {
4930
- "description": "Output in JSON format (alias for --format=json)",
4931
- "helpGroup": "GLOBAL",
4932
- "name": "json",
4933
- "allowNo": false,
4934
- "type": "boolean"
4935
- },
4936
- "quiet": {
4937
- "description": "Suppress all output except errors",
4938
- "helpGroup": "GLOBAL",
4939
- "name": "quiet",
4940
- "allowNo": false,
4941
- "type": "boolean"
4942
- },
4943
- "no-color": {
4944
- "description": "Disable color output",
4945
- "helpGroup": "GLOBAL",
4946
- "name": "no-color",
4947
- "allowNo": false,
4948
- "type": "boolean"
4949
4874
  },
4950
- "profile": {
4951
- "description": "Named configuration profile to use",
4952
- "helpGroup": "GLOBAL",
4953
- "name": "profile",
4954
- "default": "default",
4875
+ "sources": {
4876
+ "description": "Data sources to export",
4877
+ "name": "sources",
4955
4878
  "hasDynamicHelp": false,
4956
4879
  "multiple": false,
4957
4880
  "type": "option"
4958
4881
  },
4959
- "api-url": {
4960
- "description": "Override the API base URL (e.g. for staging)",
4961
- "helpGroup": "GLOBAL",
4962
- "name": "api-url",
4882
+ "type": {
4883
+ "description": "Alias for --sources",
4884
+ "name": "type",
4963
4885
  "hasDynamicHelp": false,
4964
4886
  "multiple": false,
4965
4887
  "type": "option"
4966
4888
  },
4967
- "name": {
4968
- "description": "Field name",
4969
- "name": "name",
4970
- "required": true,
4889
+ "target": {
4890
+ "description": "Export target/format",
4891
+ "name": "target",
4971
4892
  "hasDynamicHelp": false,
4972
4893
  "multiple": false,
4973
4894
  "type": "option"
4974
4895
  },
4975
- "key": {
4976
- "description": "Field key",
4977
- "name": "key",
4978
- "required": true,
4896
+ "channels": {
4897
+ "description": "Comma-separated channel IDs",
4898
+ "name": "channels",
4979
4899
  "hasDynamicHelp": false,
4980
4900
  "multiple": false,
4981
4901
  "type": "option"
4982
4902
  },
4983
- "type": {
4984
- "description": "Field type",
4985
- "name": "type",
4986
- "required": true,
4903
+ "fields": {
4904
+ "description": "Comma-separated fields",
4905
+ "name": "fields",
4987
4906
  "hasDynamicHelp": false,
4988
4907
  "multiple": false,
4989
- "options": [
4990
- "text",
4991
- "number",
4992
- "date",
4993
- "dropdown",
4994
- "checkbox",
4995
- "url",
4996
- "email",
4997
- "phone"
4998
- ],
4999
4908
  "type": "option"
5000
4909
  },
5001
- "required": {
5002
- "description": "Field is required",
5003
- "name": "required",
5004
- "allowNo": false,
5005
- "type": "boolean"
5006
- },
5007
- "default": {
5008
- "description": "Default value",
5009
- "name": "default",
4910
+ "filters": {
4911
+ "description": "Filter criteria",
4912
+ "name": "filters",
5010
4913
  "hasDynamicHelp": false,
5011
4914
  "multiple": false,
5012
4915
  "type": "option"
5013
4916
  },
5014
- "options": {
5015
- "description": "Comma-separated dropdown options",
5016
- "name": "options",
4917
+ "color": {
4918
+ "description": "Export color as HEX",
4919
+ "name": "color",
5017
4920
  "hasDynamicHelp": false,
5018
4921
  "multiple": false,
5019
4922
  "type": "option"
@@ -5028,7 +4931,7 @@
5028
4931
  },
5029
4932
  "hasDynamicHelp": false,
5030
4933
  "hiddenAliases": [],
5031
- "id": "custom-fields:create",
4934
+ "id": "exports:create",
5032
4935
  "pluginAlias": "@instantkom/cli",
5033
4936
  "pluginName": "@instantkom/cli",
5034
4937
  "pluginType": "core",
@@ -5038,20 +4941,20 @@
5038
4941
  "relativePath": [
5039
4942
  "dist",
5040
4943
  "commands",
5041
- "custom-fields",
4944
+ "exports",
5042
4945
  "create.js"
5043
4946
  ]
5044
4947
  },
5045
- "custom-fields:delete": {
4948
+ "exports:delete": {
5046
4949
  "aliases": [],
5047
4950
  "args": {
5048
4951
  "id": {
5049
- "description": "custom field ID",
4952
+ "description": "Export ID",
5050
4953
  "name": "id",
5051
4954
  "required": true
5052
4955
  }
5053
4956
  },
5054
- "description": "Delete custom field",
4957
+ "description": "Delete an export",
5055
4958
  "flags": {
5056
4959
  "api-key": {
5057
4960
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5118,7 +5021,7 @@
5118
5021
  },
5119
5022
  "hasDynamicHelp": false,
5120
5023
  "hiddenAliases": [],
5121
- "id": "custom-fields:delete",
5024
+ "id": "exports:delete",
5122
5025
  "pluginAlias": "@instantkom/cli",
5123
5026
  "pluginName": "@instantkom/cli",
5124
5027
  "pluginType": "core",
@@ -5128,20 +5031,20 @@
5128
5031
  "relativePath": [
5129
5032
  "dist",
5130
5033
  "commands",
5131
- "custom-fields",
5034
+ "exports",
5132
5035
  "delete.js"
5133
5036
  ]
5134
5037
  },
5135
- "custom-fields:get": {
5038
+ "exports:download": {
5136
5039
  "aliases": [],
5137
5040
  "args": {
5138
5041
  "id": {
5139
- "description": "custom field ID",
5042
+ "description": "Export ID",
5140
5043
  "name": "id",
5141
5044
  "required": true
5142
5045
  }
5143
5046
  },
5144
- "description": "Get custom field by ID",
5047
+ "description": "Download an export file",
5145
5048
  "flags": {
5146
5049
  "api-key": {
5147
5050
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5204,11 +5107,18 @@
5204
5107
  "hasDynamicHelp": false,
5205
5108
  "multiple": false,
5206
5109
  "type": "option"
5207
- }
5208
- },
5209
- "hasDynamicHelp": false,
5110
+ },
5111
+ "file": {
5112
+ "description": "Output file path",
5113
+ "name": "file",
5114
+ "hasDynamicHelp": false,
5115
+ "multiple": false,
5116
+ "type": "option"
5117
+ }
5118
+ },
5119
+ "hasDynamicHelp": false,
5210
5120
  "hiddenAliases": [],
5211
- "id": "custom-fields:get",
5121
+ "id": "exports:download",
5212
5122
  "pluginAlias": "@instantkom/cli",
5213
5123
  "pluginName": "@instantkom/cli",
5214
5124
  "pluginType": "core",
@@ -5218,14 +5128,20 @@
5218
5128
  "relativePath": [
5219
5129
  "dist",
5220
5130
  "commands",
5221
- "custom-fields",
5222
- "get.js"
5131
+ "exports",
5132
+ "download.js"
5223
5133
  ]
5224
5134
  },
5225
- "custom-fields:list": {
5135
+ "exports:get": {
5226
5136
  "aliases": [],
5227
- "args": {},
5228
- "description": "List custom fields",
5137
+ "args": {
5138
+ "id": {
5139
+ "description": "Export ID",
5140
+ "name": "id",
5141
+ "required": true
5142
+ }
5143
+ },
5144
+ "description": "Get an export by ID",
5229
5145
  "flags": {
5230
5146
  "api-key": {
5231
5147
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5292,7 +5208,7 @@
5292
5208
  },
5293
5209
  "hasDynamicHelp": false,
5294
5210
  "hiddenAliases": [],
5295
- "id": "custom-fields:list",
5211
+ "id": "exports:get",
5296
5212
  "pluginAlias": "@instantkom/cli",
5297
5213
  "pluginName": "@instantkom/cli",
5298
5214
  "pluginType": "core",
@@ -5302,14 +5218,14 @@
5302
5218
  "relativePath": [
5303
5219
  "dist",
5304
5220
  "commands",
5305
- "custom-fields",
5306
- "list.js"
5221
+ "exports",
5222
+ "get.js"
5307
5223
  ]
5308
5224
  },
5309
- "custom-fields:reorder": {
5225
+ "exports:list": {
5310
5226
  "aliases": [],
5311
5227
  "args": {},
5312
- "description": "Reorder custom fields",
5228
+ "description": "List exports",
5313
5229
  "flags": {
5314
5230
  "api-key": {
5315
5231
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5373,10 +5289,32 @@
5373
5289
  "multiple": false,
5374
5290
  "type": "option"
5375
5291
  },
5376
- "order": {
5377
- "description": "Order JSON array payload",
5378
- "name": "order",
5379
- "required": true,
5292
+ "page": {
5293
+ "description": "Page number",
5294
+ "name": "page",
5295
+ "default": 1,
5296
+ "hasDynamicHelp": false,
5297
+ "multiple": false,
5298
+ "type": "option"
5299
+ },
5300
+ "limit": {
5301
+ "description": "Items per page",
5302
+ "name": "limit",
5303
+ "default": 50,
5304
+ "hasDynamicHelp": false,
5305
+ "multiple": false,
5306
+ "type": "option"
5307
+ },
5308
+ "source": {
5309
+ "description": "Filter by data source",
5310
+ "name": "source",
5311
+ "hasDynamicHelp": false,
5312
+ "multiple": false,
5313
+ "type": "option"
5314
+ },
5315
+ "target": {
5316
+ "description": "Filter by export target/format",
5317
+ "name": "target",
5380
5318
  "hasDynamicHelp": false,
5381
5319
  "multiple": false,
5382
5320
  "type": "option"
@@ -5384,7 +5322,7 @@
5384
5322
  },
5385
5323
  "hasDynamicHelp": false,
5386
5324
  "hiddenAliases": [],
5387
- "id": "custom-fields:reorder",
5325
+ "id": "exports:list",
5388
5326
  "pluginAlias": "@instantkom/cli",
5389
5327
  "pluginName": "@instantkom/cli",
5390
5328
  "pluginType": "core",
@@ -5394,20 +5332,14 @@
5394
5332
  "relativePath": [
5395
5333
  "dist",
5396
5334
  "commands",
5397
- "custom-fields",
5398
- "reorder.js"
5335
+ "exports",
5336
+ "list.js"
5399
5337
  ]
5400
5338
  },
5401
- "custom-fields:update": {
5339
+ "custom-fields:bulk-delete": {
5402
5340
  "aliases": [],
5403
- "args": {
5404
- "id": {
5405
- "description": "Custom field ID",
5406
- "name": "id",
5407
- "required": true
5408
- }
5409
- },
5410
- "description": "Update a custom field",
5341
+ "args": {},
5342
+ "description": "Bulk delete custom fields",
5411
5343
  "flags": {
5412
5344
  "api-key": {
5413
5345
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5471,59 +5403,10 @@
5471
5403
  "multiple": false,
5472
5404
  "type": "option"
5473
5405
  },
5474
- "name": {
5475
- "description": "Field name",
5476
- "name": "name",
5477
- "hasDynamicHelp": false,
5478
- "multiple": false,
5479
- "type": "option"
5480
- },
5481
- "type": {
5482
- "description": "Field type",
5483
- "name": "type",
5484
- "hasDynamicHelp": false,
5485
- "multiple": false,
5486
- "options": [
5487
- "text",
5488
- "number",
5489
- "date",
5490
- "dropdown",
5491
- "checkbox",
5492
- "url",
5493
- "email",
5494
- "phone"
5495
- ],
5496
- "type": "option"
5497
- },
5498
- "required": {
5499
- "description": "Field is required",
5500
- "name": "required",
5501
- "allowNo": true,
5502
- "type": "boolean"
5503
- },
5504
- "status": {
5505
- "description": "Field is active",
5506
- "name": "status",
5507
- "allowNo": true,
5508
- "type": "boolean"
5509
- },
5510
- "default": {
5511
- "description": "Default value",
5512
- "name": "default",
5513
- "hasDynamicHelp": false,
5514
- "multiple": false,
5515
- "type": "option"
5516
- },
5517
- "options": {
5518
- "description": "Comma-separated dropdown options",
5519
- "name": "options",
5520
- "hasDynamicHelp": false,
5521
- "multiple": false,
5522
- "type": "option"
5523
- },
5524
- "data": {
5525
- "description": "Additional JSON object payload",
5526
- "name": "data",
5406
+ "ids": {
5407
+ "description": "Comma-separated custom field IDs",
5408
+ "name": "ids",
5409
+ "required": true,
5527
5410
  "hasDynamicHelp": false,
5528
5411
  "multiple": false,
5529
5412
  "type": "option"
@@ -5531,7 +5414,7 @@
5531
5414
  },
5532
5415
  "hasDynamicHelp": false,
5533
5416
  "hiddenAliases": [],
5534
- "id": "custom-fields:update",
5417
+ "id": "custom-fields:bulk-delete",
5535
5418
  "pluginAlias": "@instantkom/cli",
5536
5419
  "pluginName": "@instantkom/cli",
5537
5420
  "pluginType": "core",
@@ -5542,13 +5425,13 @@
5542
5425
  "dist",
5543
5426
  "commands",
5544
5427
  "custom-fields",
5545
- "update.js"
5428
+ "bulk-delete.js"
5546
5429
  ]
5547
5430
  },
5548
- "exports:create": {
5431
+ "custom-fields:create": {
5549
5432
  "aliases": [],
5550
5433
  "args": {},
5551
- "description": "Create an export",
5434
+ "description": "Create a custom field",
5552
5435
  "flags": {
5553
5436
  "api-key": {
5554
5437
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5560,10 +5443,18 @@
5560
5443
  "type": "option"
5561
5444
  },
5562
5445
  "format": {
5563
- "description": "Alias for --target",
5446
+ "description": "Output format: text, json, yaml, or table",
5447
+ "helpGroup": "GLOBAL",
5564
5448
  "name": "format",
5449
+ "default": "text",
5565
5450
  "hasDynamicHelp": false,
5566
5451
  "multiple": false,
5452
+ "options": [
5453
+ "text",
5454
+ "json",
5455
+ "yaml",
5456
+ "table"
5457
+ ],
5567
5458
  "type": "option"
5568
5459
  },
5569
5460
  "json": {
@@ -5605,58 +5496,55 @@
5605
5496
  "type": "option"
5606
5497
  },
5607
5498
  "name": {
5608
- "description": "Export name",
5499
+ "description": "Field name",
5609
5500
  "name": "name",
5610
5501
  "required": true,
5611
5502
  "hasDynamicHelp": false,
5612
5503
  "multiple": false,
5613
5504
  "type": "option"
5614
5505
  },
5615
- "sources": {
5616
- "description": "Data sources to export",
5617
- "name": "sources",
5506
+ "key": {
5507
+ "description": "Field key",
5508
+ "name": "key",
5509
+ "required": true,
5618
5510
  "hasDynamicHelp": false,
5619
5511
  "multiple": false,
5620
5512
  "type": "option"
5621
5513
  },
5622
5514
  "type": {
5623
- "description": "Alias for --sources",
5515
+ "description": "Field type",
5624
5516
  "name": "type",
5517
+ "required": true,
5625
5518
  "hasDynamicHelp": false,
5626
5519
  "multiple": false,
5520
+ "options": [
5521
+ "text",
5522
+ "number",
5523
+ "date",
5524
+ "dropdown",
5525
+ "checkbox",
5526
+ "url",
5527
+ "email",
5528
+ "phone"
5529
+ ],
5627
5530
  "type": "option"
5628
5531
  },
5629
- "target": {
5630
- "description": "Export target/format",
5631
- "name": "target",
5632
- "hasDynamicHelp": false,
5633
- "multiple": false,
5634
- "type": "option"
5635
- },
5636
- "channels": {
5637
- "description": "Comma-separated channel IDs",
5638
- "name": "channels",
5639
- "hasDynamicHelp": false,
5640
- "multiple": false,
5641
- "type": "option"
5642
- },
5643
- "fields": {
5644
- "description": "Comma-separated fields",
5645
- "name": "fields",
5646
- "hasDynamicHelp": false,
5647
- "multiple": false,
5648
- "type": "option"
5532
+ "required": {
5533
+ "description": "Field is required",
5534
+ "name": "required",
5535
+ "allowNo": false,
5536
+ "type": "boolean"
5649
5537
  },
5650
- "filters": {
5651
- "description": "Filter criteria",
5652
- "name": "filters",
5538
+ "default": {
5539
+ "description": "Default value",
5540
+ "name": "default",
5653
5541
  "hasDynamicHelp": false,
5654
5542
  "multiple": false,
5655
5543
  "type": "option"
5656
5544
  },
5657
- "color": {
5658
- "description": "Export color as HEX",
5659
- "name": "color",
5545
+ "options": {
5546
+ "description": "Comma-separated dropdown options",
5547
+ "name": "options",
5660
5548
  "hasDynamicHelp": false,
5661
5549
  "multiple": false,
5662
5550
  "type": "option"
@@ -5671,7 +5559,7 @@
5671
5559
  },
5672
5560
  "hasDynamicHelp": false,
5673
5561
  "hiddenAliases": [],
5674
- "id": "exports:create",
5562
+ "id": "custom-fields:create",
5675
5563
  "pluginAlias": "@instantkom/cli",
5676
5564
  "pluginName": "@instantkom/cli",
5677
5565
  "pluginType": "core",
@@ -5681,20 +5569,20 @@
5681
5569
  "relativePath": [
5682
5570
  "dist",
5683
5571
  "commands",
5684
- "exports",
5572
+ "custom-fields",
5685
5573
  "create.js"
5686
5574
  ]
5687
5575
  },
5688
- "exports:delete": {
5576
+ "custom-fields:delete": {
5689
5577
  "aliases": [],
5690
5578
  "args": {
5691
5579
  "id": {
5692
- "description": "Export ID",
5580
+ "description": "custom field ID",
5693
5581
  "name": "id",
5694
5582
  "required": true
5695
5583
  }
5696
5584
  },
5697
- "description": "Delete an export",
5585
+ "description": "Delete custom field",
5698
5586
  "flags": {
5699
5587
  "api-key": {
5700
5588
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5761,7 +5649,7 @@
5761
5649
  },
5762
5650
  "hasDynamicHelp": false,
5763
5651
  "hiddenAliases": [],
5764
- "id": "exports:delete",
5652
+ "id": "custom-fields:delete",
5765
5653
  "pluginAlias": "@instantkom/cli",
5766
5654
  "pluginName": "@instantkom/cli",
5767
5655
  "pluginType": "core",
@@ -5771,20 +5659,20 @@
5771
5659
  "relativePath": [
5772
5660
  "dist",
5773
5661
  "commands",
5774
- "exports",
5662
+ "custom-fields",
5775
5663
  "delete.js"
5776
5664
  ]
5777
5665
  },
5778
- "exports:download": {
5666
+ "custom-fields:get": {
5779
5667
  "aliases": [],
5780
5668
  "args": {
5781
5669
  "id": {
5782
- "description": "Export ID",
5670
+ "description": "custom field ID",
5783
5671
  "name": "id",
5784
5672
  "required": true
5785
5673
  }
5786
5674
  },
5787
- "description": "Download an export file",
5675
+ "description": "Get custom field by ID",
5788
5676
  "flags": {
5789
5677
  "api-key": {
5790
5678
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5847,18 +5735,11 @@
5847
5735
  "hasDynamicHelp": false,
5848
5736
  "multiple": false,
5849
5737
  "type": "option"
5850
- },
5851
- "file": {
5852
- "description": "Output file path",
5853
- "name": "file",
5854
- "hasDynamicHelp": false,
5855
- "multiple": false,
5856
- "type": "option"
5857
5738
  }
5858
5739
  },
5859
5740
  "hasDynamicHelp": false,
5860
5741
  "hiddenAliases": [],
5861
- "id": "exports:download",
5742
+ "id": "custom-fields:get",
5862
5743
  "pluginAlias": "@instantkom/cli",
5863
5744
  "pluginName": "@instantkom/cli",
5864
5745
  "pluginType": "core",
@@ -5868,20 +5749,98 @@
5868
5749
  "relativePath": [
5869
5750
  "dist",
5870
5751
  "commands",
5871
- "exports",
5872
- "download.js"
5752
+ "custom-fields",
5753
+ "get.js"
5873
5754
  ]
5874
5755
  },
5875
- "exports:get": {
5756
+ "custom-fields:list": {
5876
5757
  "aliases": [],
5877
- "args": {
5878
- "id": {
5879
- "description": "Export ID",
5880
- "name": "id",
5881
- "required": true
5758
+ "args": {},
5759
+ "description": "List custom fields",
5760
+ "flags": {
5761
+ "api-key": {
5762
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
5763
+ "env": "IKM_API_KEY",
5764
+ "helpGroup": "GLOBAL",
5765
+ "name": "api-key",
5766
+ "hasDynamicHelp": false,
5767
+ "multiple": false,
5768
+ "type": "option"
5769
+ },
5770
+ "format": {
5771
+ "description": "Output format: text, json, yaml, or table",
5772
+ "helpGroup": "GLOBAL",
5773
+ "name": "format",
5774
+ "default": "text",
5775
+ "hasDynamicHelp": false,
5776
+ "multiple": false,
5777
+ "options": [
5778
+ "text",
5779
+ "json",
5780
+ "yaml",
5781
+ "table"
5782
+ ],
5783
+ "type": "option"
5784
+ },
5785
+ "json": {
5786
+ "description": "Output in JSON format (alias for --format=json)",
5787
+ "helpGroup": "GLOBAL",
5788
+ "name": "json",
5789
+ "allowNo": false,
5790
+ "type": "boolean"
5791
+ },
5792
+ "quiet": {
5793
+ "description": "Suppress all output except errors",
5794
+ "helpGroup": "GLOBAL",
5795
+ "name": "quiet",
5796
+ "allowNo": false,
5797
+ "type": "boolean"
5798
+ },
5799
+ "no-color": {
5800
+ "description": "Disable color output",
5801
+ "helpGroup": "GLOBAL",
5802
+ "name": "no-color",
5803
+ "allowNo": false,
5804
+ "type": "boolean"
5805
+ },
5806
+ "profile": {
5807
+ "description": "Named configuration profile to use",
5808
+ "helpGroup": "GLOBAL",
5809
+ "name": "profile",
5810
+ "default": "default",
5811
+ "hasDynamicHelp": false,
5812
+ "multiple": false,
5813
+ "type": "option"
5814
+ },
5815
+ "api-url": {
5816
+ "description": "Override the API base URL (e.g. for staging)",
5817
+ "helpGroup": "GLOBAL",
5818
+ "name": "api-url",
5819
+ "hasDynamicHelp": false,
5820
+ "multiple": false,
5821
+ "type": "option"
5882
5822
  }
5883
5823
  },
5884
- "description": "Get an export by ID",
5824
+ "hasDynamicHelp": false,
5825
+ "hiddenAliases": [],
5826
+ "id": "custom-fields:list",
5827
+ "pluginAlias": "@instantkom/cli",
5828
+ "pluginName": "@instantkom/cli",
5829
+ "pluginType": "core",
5830
+ "strict": true,
5831
+ "enableJsonFlag": false,
5832
+ "isESM": true,
5833
+ "relativePath": [
5834
+ "dist",
5835
+ "commands",
5836
+ "custom-fields",
5837
+ "list.js"
5838
+ ]
5839
+ },
5840
+ "custom-fields:reorder": {
5841
+ "aliases": [],
5842
+ "args": {},
5843
+ "description": "Reorder custom fields",
5885
5844
  "flags": {
5886
5845
  "api-key": {
5887
5846
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5944,11 +5903,19 @@
5944
5903
  "hasDynamicHelp": false,
5945
5904
  "multiple": false,
5946
5905
  "type": "option"
5906
+ },
5907
+ "order": {
5908
+ "description": "Order JSON array payload",
5909
+ "name": "order",
5910
+ "required": true,
5911
+ "hasDynamicHelp": false,
5912
+ "multiple": false,
5913
+ "type": "option"
5947
5914
  }
5948
5915
  },
5949
5916
  "hasDynamicHelp": false,
5950
5917
  "hiddenAliases": [],
5951
- "id": "exports:get",
5918
+ "id": "custom-fields:reorder",
5952
5919
  "pluginAlias": "@instantkom/cli",
5953
5920
  "pluginName": "@instantkom/cli",
5954
5921
  "pluginType": "core",
@@ -5958,14 +5925,20 @@
5958
5925
  "relativePath": [
5959
5926
  "dist",
5960
5927
  "commands",
5961
- "exports",
5962
- "get.js"
5928
+ "custom-fields",
5929
+ "reorder.js"
5963
5930
  ]
5964
5931
  },
5965
- "exports:list": {
5932
+ "custom-fields:update": {
5966
5933
  "aliases": [],
5967
- "args": {},
5968
- "description": "List exports",
5934
+ "args": {
5935
+ "id": {
5936
+ "description": "Custom field ID",
5937
+ "name": "id",
5938
+ "required": true
5939
+ }
5940
+ },
5941
+ "description": "Update a custom field",
5969
5942
  "flags": {
5970
5943
  "api-key": {
5971
5944
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6029,32 +6002,59 @@
6029
6002
  "multiple": false,
6030
6003
  "type": "option"
6031
6004
  },
6032
- "page": {
6033
- "description": "Page number",
6034
- "name": "page",
6035
- "default": 1,
6005
+ "name": {
6006
+ "description": "Field name",
6007
+ "name": "name",
6036
6008
  "hasDynamicHelp": false,
6037
6009
  "multiple": false,
6038
6010
  "type": "option"
6039
6011
  },
6040
- "limit": {
6041
- "description": "Items per page",
6042
- "name": "limit",
6043
- "default": 50,
6012
+ "type": {
6013
+ "description": "Field type",
6014
+ "name": "type",
6044
6015
  "hasDynamicHelp": false,
6045
6016
  "multiple": false,
6017
+ "options": [
6018
+ "text",
6019
+ "number",
6020
+ "date",
6021
+ "dropdown",
6022
+ "checkbox",
6023
+ "url",
6024
+ "email",
6025
+ "phone"
6026
+ ],
6046
6027
  "type": "option"
6047
6028
  },
6048
- "source": {
6049
- "description": "Filter by data source",
6050
- "name": "source",
6029
+ "required": {
6030
+ "description": "Field is required",
6031
+ "name": "required",
6032
+ "allowNo": true,
6033
+ "type": "boolean"
6034
+ },
6035
+ "status": {
6036
+ "description": "Field is active",
6037
+ "name": "status",
6038
+ "allowNo": true,
6039
+ "type": "boolean"
6040
+ },
6041
+ "default": {
6042
+ "description": "Default value",
6043
+ "name": "default",
6051
6044
  "hasDynamicHelp": false,
6052
6045
  "multiple": false,
6053
6046
  "type": "option"
6054
6047
  },
6055
- "target": {
6056
- "description": "Filter by export target/format",
6057
- "name": "target",
6048
+ "options": {
6049
+ "description": "Comma-separated dropdown options",
6050
+ "name": "options",
6051
+ "hasDynamicHelp": false,
6052
+ "multiple": false,
6053
+ "type": "option"
6054
+ },
6055
+ "data": {
6056
+ "description": "Additional JSON object payload",
6057
+ "name": "data",
6058
6058
  "hasDynamicHelp": false,
6059
6059
  "multiple": false,
6060
6060
  "type": "option"
@@ -6062,7 +6062,7 @@
6062
6062
  },
6063
6063
  "hasDynamicHelp": false,
6064
6064
  "hiddenAliases": [],
6065
- "id": "exports:list",
6065
+ "id": "custom-fields:update",
6066
6066
  "pluginAlias": "@instantkom/cli",
6067
6067
  "pluginName": "@instantkom/cli",
6068
6068
  "pluginType": "core",
@@ -6072,8 +6072,8 @@
6072
6072
  "relativePath": [
6073
6073
  "dist",
6074
6074
  "commands",
6075
- "exports",
6076
- "list.js"
6075
+ "custom-fields",
6076
+ "update.js"
6077
6077
  ]
6078
6078
  },
6079
6079
  "flows:create": {
@@ -8150,10 +8150,10 @@
8150
8150
  "update.js"
8151
8151
  ]
8152
8152
  },
8153
- "team:create": {
8153
+ "tags:create": {
8154
8154
  "aliases": [],
8155
8155
  "args": {},
8156
- "description": "Create a team member",
8156
+ "description": "Create a tag",
8157
8157
  "flags": {
8158
8158
  "api-key": {
8159
8159
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8217,54 +8217,23 @@
8217
8217
  "multiple": false,
8218
8218
  "type": "option"
8219
8219
  },
8220
- "email": {
8221
- "description": "Email address",
8222
- "name": "email",
8223
- "required": true,
8224
- "hasDynamicHelp": false,
8225
- "multiple": false,
8226
- "type": "option"
8227
- },
8228
- "first-name": {
8229
- "description": "First name",
8230
- "name": "first-name",
8231
- "required": true,
8232
- "hasDynamicHelp": false,
8233
- "multiple": false,
8234
- "type": "option"
8235
- },
8236
- "last-name": {
8237
- "description": "Last name",
8238
- "name": "last-name",
8239
- "required": true,
8240
- "hasDynamicHelp": false,
8241
- "multiple": false,
8242
- "type": "option"
8243
- },
8244
- "password": {
8245
- "description": "Initial password",
8246
- "name": "password",
8220
+ "name": {
8221
+ "description": "Tag name",
8222
+ "name": "name",
8247
8223
  "required": true,
8248
8224
  "hasDynamicHelp": false,
8249
8225
  "multiple": false,
8250
8226
  "type": "option"
8251
8227
  },
8252
- "phone": {
8253
- "description": "Phone number",
8254
- "name": "phone",
8255
- "hasDynamicHelp": false,
8256
- "multiple": false,
8257
- "type": "option"
8258
- },
8259
- "company": {
8260
- "description": "Company name",
8261
- "name": "company",
8228
+ "description": {
8229
+ "description": "Tag description",
8230
+ "name": "description",
8262
8231
  "hasDynamicHelp": false,
8263
8232
  "multiple": false,
8264
8233
  "type": "option"
8265
8234
  },
8266
8235
  "color": {
8267
- "description": "Color as HEX",
8236
+ "description": "Tag color as HEX",
8268
8237
  "name": "color",
8269
8238
  "hasDynamicHelp": false,
8270
8239
  "multiple": false,
@@ -8287,7 +8256,7 @@
8287
8256
  },
8288
8257
  "hasDynamicHelp": false,
8289
8258
  "hiddenAliases": [],
8290
- "id": "team:create",
8259
+ "id": "tags:create",
8291
8260
  "pluginAlias": "@instantkom/cli",
8292
8261
  "pluginName": "@instantkom/cli",
8293
8262
  "pluginType": "core",
@@ -8297,20 +8266,20 @@
8297
8266
  "relativePath": [
8298
8267
  "dist",
8299
8268
  "commands",
8300
- "team",
8269
+ "tags",
8301
8270
  "create.js"
8302
8271
  ]
8303
8272
  },
8304
- "team:delete": {
8273
+ "tags:delete": {
8305
8274
  "aliases": [],
8306
8275
  "args": {
8307
8276
  "id": {
8308
- "description": "Team member ID",
8277
+ "description": "tag ID",
8309
8278
  "name": "id",
8310
8279
  "required": true
8311
8280
  }
8312
8281
  },
8313
- "description": "Delete a team member",
8282
+ "description": "Delete tag",
8314
8283
  "flags": {
8315
8284
  "api-key": {
8316
8285
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8377,7 +8346,7 @@
8377
8346
  },
8378
8347
  "hasDynamicHelp": false,
8379
8348
  "hiddenAliases": [],
8380
- "id": "team:delete",
8349
+ "id": "tags:delete",
8381
8350
  "pluginAlias": "@instantkom/cli",
8382
8351
  "pluginName": "@instantkom/cli",
8383
8352
  "pluginType": "core",
@@ -8387,14 +8356,14 @@
8387
8356
  "relativePath": [
8388
8357
  "dist",
8389
8358
  "commands",
8390
- "team",
8359
+ "tags",
8391
8360
  "delete.js"
8392
8361
  ]
8393
8362
  },
8394
- "team:list": {
8363
+ "tags:export": {
8395
8364
  "aliases": [],
8396
8365
  "args": {},
8397
- "description": "List team members",
8366
+ "description": "Export tags to a file",
8398
8367
  "flags": {
8399
8368
  "api-key": {
8400
8369
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8406,17 +8375,14 @@
8406
8375
  "type": "option"
8407
8376
  },
8408
8377
  "format": {
8409
- "description": "Output format: text, json, yaml, or table",
8410
- "helpGroup": "GLOBAL",
8378
+ "description": "Export format",
8411
8379
  "name": "format",
8412
- "default": "text",
8380
+ "default": "csv",
8413
8381
  "hasDynamicHelp": false,
8414
8382
  "multiple": false,
8415
8383
  "options": [
8416
- "text",
8417
- "json",
8418
- "yaml",
8419
- "table"
8384
+ "csv",
8385
+ "json"
8420
8386
  ],
8421
8387
  "type": "option"
8422
8388
  },
@@ -8457,11 +8423,19 @@
8457
8423
  "hasDynamicHelp": false,
8458
8424
  "multiple": false,
8459
8425
  "type": "option"
8460
- }
8461
- },
8426
+ },
8427
+ "file": {
8428
+ "description": "Output file path",
8429
+ "name": "file",
8430
+ "required": true,
8431
+ "hasDynamicHelp": false,
8432
+ "multiple": false,
8433
+ "type": "option"
8434
+ }
8435
+ },
8462
8436
  "hasDynamicHelp": false,
8463
8437
  "hiddenAliases": [],
8464
- "id": "team:list",
8438
+ "id": "tags:export",
8465
8439
  "pluginAlias": "@instantkom/cli",
8466
8440
  "pluginName": "@instantkom/cli",
8467
8441
  "pluginType": "core",
@@ -8471,14 +8445,20 @@
8471
8445
  "relativePath": [
8472
8446
  "dist",
8473
8447
  "commands",
8474
- "team",
8475
- "list.js"
8448
+ "tags",
8449
+ "export.js"
8476
8450
  ]
8477
8451
  },
8478
- "tags:create": {
8452
+ "tags:get": {
8479
8453
  "aliases": [],
8480
- "args": {},
8481
- "description": "Create a tag",
8454
+ "args": {
8455
+ "id": {
8456
+ "description": "tag ID",
8457
+ "name": "id",
8458
+ "required": true
8459
+ }
8460
+ },
8461
+ "description": "Get tag by ID",
8482
8462
  "flags": {
8483
8463
  "api-key": {
8484
8464
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8541,47 +8521,11 @@
8541
8521
  "hasDynamicHelp": false,
8542
8522
  "multiple": false,
8543
8523
  "type": "option"
8544
- },
8545
- "name": {
8546
- "description": "Tag name",
8547
- "name": "name",
8548
- "required": true,
8549
- "hasDynamicHelp": false,
8550
- "multiple": false,
8551
- "type": "option"
8552
- },
8553
- "description": {
8554
- "description": "Tag description",
8555
- "name": "description",
8556
- "hasDynamicHelp": false,
8557
- "multiple": false,
8558
- "type": "option"
8559
- },
8560
- "color": {
8561
- "description": "Tag color as HEX",
8562
- "name": "color",
8563
- "hasDynamicHelp": false,
8564
- "multiple": false,
8565
- "type": "option"
8566
- },
8567
- "folder": {
8568
- "description": "Object folder ID",
8569
- "name": "folder",
8570
- "hasDynamicHelp": false,
8571
- "multiple": false,
8572
- "type": "option"
8573
- },
8574
- "data": {
8575
- "description": "Additional JSON object payload",
8576
- "name": "data",
8577
- "hasDynamicHelp": false,
8578
- "multiple": false,
8579
- "type": "option"
8580
8524
  }
8581
8525
  },
8582
8526
  "hasDynamicHelp": false,
8583
8527
  "hiddenAliases": [],
8584
- "id": "tags:create",
8528
+ "id": "tags:get",
8585
8529
  "pluginAlias": "@instantkom/cli",
8586
8530
  "pluginName": "@instantkom/cli",
8587
8531
  "pluginType": "core",
@@ -8592,19 +8536,13 @@
8592
8536
  "dist",
8593
8537
  "commands",
8594
8538
  "tags",
8595
- "create.js"
8539
+ "get.js"
8596
8540
  ]
8597
8541
  },
8598
- "tags:delete": {
8542
+ "tags:import": {
8599
8543
  "aliases": [],
8600
- "args": {
8601
- "id": {
8602
- "description": "tag ID",
8603
- "name": "id",
8604
- "required": true
8605
- }
8606
- },
8607
- "description": "Delete tag",
8544
+ "args": {},
8545
+ "description": "Import tags from JSON",
8608
8546
  "flags": {
8609
8547
  "api-key": {
8610
8548
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8667,11 +8605,25 @@
8667
8605
  "hasDynamicHelp": false,
8668
8606
  "multiple": false,
8669
8607
  "type": "option"
8608
+ },
8609
+ "file": {
8610
+ "description": "JSON file path",
8611
+ "name": "file",
8612
+ "required": true,
8613
+ "hasDynamicHelp": false,
8614
+ "multiple": false,
8615
+ "type": "option"
8616
+ },
8617
+ "skip-duplicates": {
8618
+ "description": "Skip duplicate tags",
8619
+ "name": "skip-duplicates",
8620
+ "allowNo": true,
8621
+ "type": "boolean"
8670
8622
  }
8671
8623
  },
8672
8624
  "hasDynamicHelp": false,
8673
8625
  "hiddenAliases": [],
8674
- "id": "tags:delete",
8626
+ "id": "tags:import",
8675
8627
  "pluginAlias": "@instantkom/cli",
8676
8628
  "pluginName": "@instantkom/cli",
8677
8629
  "pluginType": "core",
@@ -8682,13 +8634,13 @@
8682
8634
  "dist",
8683
8635
  "commands",
8684
8636
  "tags",
8685
- "delete.js"
8637
+ "import.js"
8686
8638
  ]
8687
8639
  },
8688
- "tags:export": {
8640
+ "tags:list": {
8689
8641
  "aliases": [],
8690
8642
  "args": {},
8691
- "description": "Export tags to a file",
8643
+ "description": "List tags",
8692
8644
  "flags": {
8693
8645
  "api-key": {
8694
8646
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8700,14 +8652,17 @@
8700
8652
  "type": "option"
8701
8653
  },
8702
8654
  "format": {
8703
- "description": "Export format",
8655
+ "description": "Output format: text, json, yaml, or table",
8656
+ "helpGroup": "GLOBAL",
8704
8657
  "name": "format",
8705
- "default": "csv",
8658
+ "default": "text",
8706
8659
  "hasDynamicHelp": false,
8707
8660
  "multiple": false,
8708
8661
  "options": [
8709
- "csv",
8710
- "json"
8662
+ "text",
8663
+ "json",
8664
+ "yaml",
8665
+ "table"
8711
8666
  ],
8712
8667
  "type": "option"
8713
8668
  },
@@ -8749,10 +8704,32 @@
8749
8704
  "multiple": false,
8750
8705
  "type": "option"
8751
8706
  },
8752
- "file": {
8753
- "description": "Output file path",
8754
- "name": "file",
8755
- "required": true,
8707
+ "page": {
8708
+ "description": "Page number",
8709
+ "name": "page",
8710
+ "default": 1,
8711
+ "hasDynamicHelp": false,
8712
+ "multiple": false,
8713
+ "type": "option"
8714
+ },
8715
+ "limit": {
8716
+ "description": "Items per page",
8717
+ "name": "limit",
8718
+ "default": 20,
8719
+ "hasDynamicHelp": false,
8720
+ "multiple": false,
8721
+ "type": "option"
8722
+ },
8723
+ "search": {
8724
+ "description": "Search by name",
8725
+ "name": "search",
8726
+ "hasDynamicHelp": false,
8727
+ "multiple": false,
8728
+ "type": "option"
8729
+ },
8730
+ "color": {
8731
+ "description": "Filter by color",
8732
+ "name": "color",
8756
8733
  "hasDynamicHelp": false,
8757
8734
  "multiple": false,
8758
8735
  "type": "option"
@@ -8760,7 +8737,7 @@
8760
8737
  },
8761
8738
  "hasDynamicHelp": false,
8762
8739
  "hiddenAliases": [],
8763
- "id": "tags:export",
8740
+ "id": "tags:list",
8764
8741
  "pluginAlias": "@instantkom/cli",
8765
8742
  "pluginName": "@instantkom/cli",
8766
8743
  "pluginType": "core",
@@ -8771,19 +8748,19 @@
8771
8748
  "dist",
8772
8749
  "commands",
8773
8750
  "tags",
8774
- "export.js"
8751
+ "list.js"
8775
8752
  ]
8776
8753
  },
8777
- "tags:get": {
8754
+ "tags:update": {
8778
8755
  "aliases": [],
8779
8756
  "args": {
8780
8757
  "id": {
8781
- "description": "tag ID",
8758
+ "description": "Tag ID",
8782
8759
  "name": "id",
8783
8760
  "required": true
8784
8761
  }
8785
8762
  },
8786
- "description": "Get tag by ID",
8763
+ "description": "Update a tag",
8787
8764
  "flags": {
8788
8765
  "api-key": {
8789
8766
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8846,11 +8823,46 @@
8846
8823
  "hasDynamicHelp": false,
8847
8824
  "multiple": false,
8848
8825
  "type": "option"
8826
+ },
8827
+ "name": {
8828
+ "description": "Tag name",
8829
+ "name": "name",
8830
+ "hasDynamicHelp": false,
8831
+ "multiple": false,
8832
+ "type": "option"
8833
+ },
8834
+ "description": {
8835
+ "description": "Tag description",
8836
+ "name": "description",
8837
+ "hasDynamicHelp": false,
8838
+ "multiple": false,
8839
+ "type": "option"
8840
+ },
8841
+ "color": {
8842
+ "description": "Tag color as HEX",
8843
+ "name": "color",
8844
+ "hasDynamicHelp": false,
8845
+ "multiple": false,
8846
+ "type": "option"
8847
+ },
8848
+ "folder": {
8849
+ "description": "Object folder ID",
8850
+ "name": "folder",
8851
+ "hasDynamicHelp": false,
8852
+ "multiple": false,
8853
+ "type": "option"
8854
+ },
8855
+ "data": {
8856
+ "description": "Additional JSON object payload",
8857
+ "name": "data",
8858
+ "hasDynamicHelp": false,
8859
+ "multiple": false,
8860
+ "type": "option"
8849
8861
  }
8850
8862
  },
8851
8863
  "hasDynamicHelp": false,
8852
8864
  "hiddenAliases": [],
8853
- "id": "tags:get",
8865
+ "id": "tags:update",
8854
8866
  "pluginAlias": "@instantkom/cli",
8855
8867
  "pluginName": "@instantkom/cli",
8856
8868
  "pluginType": "core",
@@ -8861,13 +8873,13 @@
8861
8873
  "dist",
8862
8874
  "commands",
8863
8875
  "tags",
8864
- "get.js"
8876
+ "update.js"
8865
8877
  ]
8866
8878
  },
8867
- "tags:import": {
8879
+ "tags:validate-import": {
8868
8880
  "aliases": [],
8869
8881
  "args": {},
8870
- "description": "Import tags from JSON",
8882
+ "description": "Validate tags import JSON",
8871
8883
  "flags": {
8872
8884
  "api-key": {
8873
8885
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8938,17 +8950,11 @@
8938
8950
  "hasDynamicHelp": false,
8939
8951
  "multiple": false,
8940
8952
  "type": "option"
8941
- },
8942
- "skip-duplicates": {
8943
- "description": "Skip duplicate tags",
8944
- "name": "skip-duplicates",
8945
- "allowNo": true,
8946
- "type": "boolean"
8947
8953
  }
8948
8954
  },
8949
8955
  "hasDynamicHelp": false,
8950
8956
  "hiddenAliases": [],
8951
- "id": "tags:import",
8957
+ "id": "tags:validate-import",
8952
8958
  "pluginAlias": "@instantkom/cli",
8953
8959
  "pluginName": "@instantkom/cli",
8954
8960
  "pluginType": "core",
@@ -8959,13 +8965,13 @@
8959
8965
  "dist",
8960
8966
  "commands",
8961
8967
  "tags",
8962
- "import.js"
8968
+ "validate-import.js"
8963
8969
  ]
8964
8970
  },
8965
- "tags:list": {
8971
+ "team:create": {
8966
8972
  "aliases": [],
8967
8973
  "args": {},
8968
- "description": "List tags",
8974
+ "description": "Create a team member",
8969
8975
  "flags": {
8970
8976
  "api-key": {
8971
8977
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9029,63 +9035,100 @@
9029
9035
  "multiple": false,
9030
9036
  "type": "option"
9031
9037
  },
9032
- "page": {
9033
- "description": "Page number",
9034
- "name": "page",
9035
- "default": 1,
9038
+ "email": {
9039
+ "description": "Email address",
9040
+ "name": "email",
9041
+ "required": true,
9036
9042
  "hasDynamicHelp": false,
9037
9043
  "multiple": false,
9038
9044
  "type": "option"
9039
9045
  },
9040
- "limit": {
9041
- "description": "Items per page",
9042
- "name": "limit",
9043
- "default": 20,
9046
+ "first-name": {
9047
+ "description": "First name",
9048
+ "name": "first-name",
9049
+ "required": true,
9044
9050
  "hasDynamicHelp": false,
9045
9051
  "multiple": false,
9046
9052
  "type": "option"
9047
9053
  },
9048
- "search": {
9049
- "description": "Search by name",
9050
- "name": "search",
9054
+ "last-name": {
9055
+ "description": "Last name",
9056
+ "name": "last-name",
9057
+ "required": true,
9051
9058
  "hasDynamicHelp": false,
9052
9059
  "multiple": false,
9053
9060
  "type": "option"
9054
9061
  },
9055
- "color": {
9056
- "description": "Filter by color",
9057
- "name": "color",
9062
+ "password": {
9063
+ "description": "Initial password",
9064
+ "name": "password",
9065
+ "required": true,
9058
9066
  "hasDynamicHelp": false,
9059
9067
  "multiple": false,
9060
9068
  "type": "option"
9061
- }
9062
- },
9063
- "hasDynamicHelp": false,
9064
- "hiddenAliases": [],
9065
- "id": "tags:list",
9066
- "pluginAlias": "@instantkom/cli",
9067
- "pluginName": "@instantkom/cli",
9068
- "pluginType": "core",
9069
- "strict": true,
9070
- "enableJsonFlag": false,
9071
- "isESM": true,
9072
- "relativePath": [
9073
- "dist",
9074
- "commands",
9075
- "tags",
9076
- "list.js"
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
+ }
9105
+ },
9106
+ "hasDynamicHelp": false,
9107
+ "hiddenAliases": [],
9108
+ "id": "team:create",
9109
+ "pluginAlias": "@instantkom/cli",
9110
+ "pluginName": "@instantkom/cli",
9111
+ "pluginType": "core",
9112
+ "strict": true,
9113
+ "enableJsonFlag": false,
9114
+ "isESM": true,
9115
+ "relativePath": [
9116
+ "dist",
9117
+ "commands",
9118
+ "team",
9119
+ "create.js"
9077
9120
  ]
9078
9121
  },
9079
- "tags:update": {
9122
+ "team:delete": {
9080
9123
  "aliases": [],
9081
9124
  "args": {
9082
9125
  "id": {
9083
- "description": "Tag ID",
9126
+ "description": "Team member ID",
9084
9127
  "name": "id",
9085
9128
  "required": true
9086
9129
  }
9087
9130
  },
9088
- "description": "Update a tag",
9131
+ "description": "Delete a team member",
9089
9132
  "flags": {
9090
9133
  "api-key": {
9091
9134
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9148,46 +9191,11 @@
9148
9191
  "hasDynamicHelp": false,
9149
9192
  "multiple": false,
9150
9193
  "type": "option"
9151
- },
9152
- "name": {
9153
- "description": "Tag name",
9154
- "name": "name",
9155
- "hasDynamicHelp": false,
9156
- "multiple": false,
9157
- "type": "option"
9158
- },
9159
- "description": {
9160
- "description": "Tag description",
9161
- "name": "description",
9162
- "hasDynamicHelp": false,
9163
- "multiple": false,
9164
- "type": "option"
9165
- },
9166
- "color": {
9167
- "description": "Tag color as HEX",
9168
- "name": "color",
9169
- "hasDynamicHelp": false,
9170
- "multiple": false,
9171
- "type": "option"
9172
- },
9173
- "folder": {
9174
- "description": "Object folder ID",
9175
- "name": "folder",
9176
- "hasDynamicHelp": false,
9177
- "multiple": false,
9178
- "type": "option"
9179
- },
9180
- "data": {
9181
- "description": "Additional JSON object payload",
9182
- "name": "data",
9183
- "hasDynamicHelp": false,
9184
- "multiple": false,
9185
- "type": "option"
9186
9194
  }
9187
9195
  },
9188
9196
  "hasDynamicHelp": false,
9189
9197
  "hiddenAliases": [],
9190
- "id": "tags:update",
9198
+ "id": "team:delete",
9191
9199
  "pluginAlias": "@instantkom/cli",
9192
9200
  "pluginName": "@instantkom/cli",
9193
9201
  "pluginType": "core",
@@ -9197,14 +9205,14 @@
9197
9205
  "relativePath": [
9198
9206
  "dist",
9199
9207
  "commands",
9200
- "tags",
9201
- "update.js"
9208
+ "team",
9209
+ "delete.js"
9202
9210
  ]
9203
9211
  },
9204
- "tags:validate-import": {
9212
+ "team:list": {
9205
9213
  "aliases": [],
9206
9214
  "args": {},
9207
- "description": "Validate tags import JSON",
9215
+ "description": "List team members",
9208
9216
  "flags": {
9209
9217
  "api-key": {
9210
9218
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9267,19 +9275,11 @@
9267
9275
  "hasDynamicHelp": false,
9268
9276
  "multiple": false,
9269
9277
  "type": "option"
9270
- },
9271
- "file": {
9272
- "description": "JSON file path",
9273
- "name": "file",
9274
- "required": true,
9275
- "hasDynamicHelp": false,
9276
- "multiple": false,
9277
- "type": "option"
9278
9278
  }
9279
9279
  },
9280
9280
  "hasDynamicHelp": false,
9281
9281
  "hiddenAliases": [],
9282
- "id": "tags:validate-import",
9282
+ "id": "team:list",
9283
9283
  "pluginAlias": "@instantkom/cli",
9284
9284
  "pluginName": "@instantkom/cli",
9285
9285
  "pluginType": "core",
@@ -9289,8 +9289,8 @@
9289
9289
  "relativePath": [
9290
9290
  "dist",
9291
9291
  "commands",
9292
- "tags",
9293
- "validate-import.js"
9292
+ "team",
9293
+ "list.js"
9294
9294
  ]
9295
9295
  },
9296
9296
  "templates:create": {
@@ -11856,16 +11856,16 @@
11856
11856
  "revoke.js"
11857
11857
  ]
11858
11858
  },
11859
- "bots:filters:create": {
11859
+ "bots:env-vars:bots": {
11860
11860
  "aliases": [],
11861
11861
  "args": {
11862
- "botId": {
11863
- "description": "Bot ID",
11864
- "name": "botId",
11862
+ "id": {
11863
+ "description": "Environment variable ID",
11864
+ "name": "id",
11865
11865
  "required": true
11866
11866
  }
11867
11867
  },
11868
- "description": "Create a bot filter",
11868
+ "description": "List bots using a bot environment variable",
11869
11869
  "flags": {
11870
11870
  "api-key": {
11871
11871
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11928,77 +11928,11 @@
11928
11928
  "hasDynamicHelp": false,
11929
11929
  "multiple": false,
11930
11930
  "type": "option"
11931
- },
11932
- "name": {
11933
- "description": "Filter name",
11934
- "name": "name",
11935
- "required": true,
11936
- "hasDynamicHelp": false,
11937
- "multiple": false,
11938
- "type": "option"
11939
- },
11940
- "operator": {
11941
- "description": "Logical operator",
11942
- "name": "operator",
11943
- "default": "and",
11944
- "hasDynamicHelp": false,
11945
- "multiple": false,
11946
- "type": "option"
11947
- },
11948
- "filter-object": {
11949
- "description": "Filter object type",
11950
- "name": "filter-object",
11951
- "default": "msg",
11952
- "hasDynamicHelp": false,
11953
- "multiple": false,
11954
- "type": "option"
11955
- },
11956
- "filter-attribute": {
11957
- "description": "Filter attribute",
11958
- "name": "filter-attribute",
11959
- "default": "text",
11960
- "hasDynamicHelp": false,
11961
- "multiple": false,
11962
- "type": "option"
11963
- },
11964
- "filter-comparator": {
11965
- "description": "Filter comparator",
11966
- "name": "filter-comparator",
11967
- "default": "contains",
11968
- "hasDynamicHelp": false,
11969
- "multiple": false,
11970
- "type": "option"
11971
- },
11972
- "filter-value": {
11973
- "description": "Filter value",
11974
- "name": "filter-value",
11975
- "required": true,
11976
- "hasDynamicHelp": false,
11977
- "multiple": false,
11978
- "type": "option"
11979
- },
11980
- "status": {
11981
- "description": "Status: 0 inactive, 1 active",
11982
- "name": "status",
11983
- "hasDynamicHelp": false,
11984
- "multiple": false,
11985
- "options": [
11986
- "0",
11987
- "1"
11988
- ],
11989
- "type": "option"
11990
- },
11991
- "data": {
11992
- "description": "Additional JSON object payload",
11993
- "name": "data",
11994
- "hasDynamicHelp": false,
11995
- "multiple": false,
11996
- "type": "option"
11997
11931
  }
11998
11932
  },
11999
11933
  "hasDynamicHelp": false,
12000
11934
  "hiddenAliases": [],
12001
- "id": "bots:filters:create",
11935
+ "id": "bots:env-vars:bots",
12002
11936
  "pluginAlias": "@instantkom/cli",
12003
11937
  "pluginName": "@instantkom/cli",
12004
11938
  "pluginType": "core",
@@ -12009,25 +11943,14 @@
12009
11943
  "dist",
12010
11944
  "commands",
12011
11945
  "bots",
12012
- "filters",
12013
- "create.js"
11946
+ "env-vars",
11947
+ "bots.js"
12014
11948
  ]
12015
11949
  },
12016
- "bots:filters:delete": {
11950
+ "bots:env-vars:create": {
12017
11951
  "aliases": [],
12018
- "args": {
12019
- "botId": {
12020
- "description": "Bot ID",
12021
- "name": "botId",
12022
- "required": true
12023
- },
12024
- "filterId": {
12025
- "description": "Filter ID",
12026
- "name": "filterId",
12027
- "required": true
12028
- }
12029
- },
12030
- "description": "Delete a bot filter",
11952
+ "args": {},
11953
+ "description": "Create a bot environment variable",
12031
11954
  "flags": {
12032
11955
  "api-key": {
12033
11956
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12090,11 +12013,40 @@
12090
12013
  "hasDynamicHelp": false,
12091
12014
  "multiple": false,
12092
12015
  "type": "option"
12016
+ },
12017
+ "key": {
12018
+ "description": "Variable key (max 16 chars, letters, digits, underscore)",
12019
+ "name": "key",
12020
+ "required": true,
12021
+ "hasDynamicHelp": false,
12022
+ "multiple": false,
12023
+ "type": "option"
12024
+ },
12025
+ "description": {
12026
+ "description": "Variable description",
12027
+ "name": "description",
12028
+ "hasDynamicHelp": false,
12029
+ "multiple": false,
12030
+ "type": "option"
12031
+ },
12032
+ "color": {
12033
+ "description": "Variable color as HEX",
12034
+ "name": "color",
12035
+ "hasDynamicHelp": false,
12036
+ "multiple": false,
12037
+ "type": "option"
12038
+ },
12039
+ "data": {
12040
+ "description": "Additional JSON object payload",
12041
+ "name": "data",
12042
+ "hasDynamicHelp": false,
12043
+ "multiple": false,
12044
+ "type": "option"
12093
12045
  }
12094
12046
  },
12095
12047
  "hasDynamicHelp": false,
12096
12048
  "hiddenAliases": [],
12097
- "id": "bots:filters:delete",
12049
+ "id": "bots:env-vars:create",
12098
12050
  "pluginAlias": "@instantkom/cli",
12099
12051
  "pluginName": "@instantkom/cli",
12100
12052
  "pluginType": "core",
@@ -12105,25 +12057,20 @@
12105
12057
  "dist",
12106
12058
  "commands",
12107
12059
  "bots",
12108
- "filters",
12109
- "delete.js"
12060
+ "env-vars",
12061
+ "create.js"
12110
12062
  ]
12111
12063
  },
12112
- "bots:filters:get": {
12064
+ "bots:env-vars:delete": {
12113
12065
  "aliases": [],
12114
12066
  "args": {
12115
- "botId": {
12116
- "description": "Bot ID",
12117
- "name": "botId",
12118
- "required": true
12119
- },
12120
- "filterId": {
12121
- "description": "Filter ID",
12122
- "name": "filterId",
12067
+ "id": {
12068
+ "description": "Environment variable ID",
12069
+ "name": "id",
12123
12070
  "required": true
12124
12071
  }
12125
12072
  },
12126
- "description": "Get a bot filter",
12073
+ "description": "Delete a bot environment variable",
12127
12074
  "flags": {
12128
12075
  "api-key": {
12129
12076
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12190,7 +12137,7 @@
12190
12137
  },
12191
12138
  "hasDynamicHelp": false,
12192
12139
  "hiddenAliases": [],
12193
- "id": "bots:filters:get",
12140
+ "id": "bots:env-vars:delete",
12194
12141
  "pluginAlias": "@instantkom/cli",
12195
12142
  "pluginName": "@instantkom/cli",
12196
12143
  "pluginType": "core",
@@ -12201,20 +12148,20 @@
12201
12148
  "dist",
12202
12149
  "commands",
12203
12150
  "bots",
12204
- "filters",
12205
- "get.js"
12151
+ "env-vars",
12152
+ "delete.js"
12206
12153
  ]
12207
12154
  },
12208
- "bots:filters:list": {
12155
+ "bots:env-vars:get": {
12209
12156
  "aliases": [],
12210
12157
  "args": {
12211
- "botId": {
12212
- "description": "Bot ID",
12213
- "name": "botId",
12158
+ "id": {
12159
+ "description": "Environment variable ID",
12160
+ "name": "id",
12214
12161
  "required": true
12215
12162
  }
12216
12163
  },
12217
- "description": "List bot filters",
12164
+ "description": "Get a bot environment variable",
12218
12165
  "flags": {
12219
12166
  "api-key": {
12220
12167
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12277,45 +12224,11 @@
12277
12224
  "hasDynamicHelp": false,
12278
12225
  "multiple": false,
12279
12226
  "type": "option"
12280
- },
12281
- "page": {
12282
- "description": "Page number",
12283
- "name": "page",
12284
- "default": 1,
12285
- "hasDynamicHelp": false,
12286
- "multiple": false,
12287
- "type": "option"
12288
- },
12289
- "limit": {
12290
- "description": "Items per page",
12291
- "name": "limit",
12292
- "default": 20,
12293
- "hasDynamicHelp": false,
12294
- "multiple": false,
12295
- "type": "option"
12296
- },
12297
- "status": {
12298
- "description": "Status filter: 0 inactive, 1 active",
12299
- "name": "status",
12300
- "hasDynamicHelp": false,
12301
- "multiple": false,
12302
- "options": [
12303
- "0",
12304
- "1"
12305
- ],
12306
- "type": "option"
12307
- },
12308
- "search": {
12309
- "description": "Search in name or description",
12310
- "name": "search",
12311
- "hasDynamicHelp": false,
12312
- "multiple": false,
12313
- "type": "option"
12314
12227
  }
12315
12228
  },
12316
12229
  "hasDynamicHelp": false,
12317
12230
  "hiddenAliases": [],
12318
- "id": "bots:filters:list",
12231
+ "id": "bots:env-vars:get",
12319
12232
  "pluginAlias": "@instantkom/cli",
12320
12233
  "pluginName": "@instantkom/cli",
12321
12234
  "pluginType": "core",
@@ -12326,25 +12239,14 @@
12326
12239
  "dist",
12327
12240
  "commands",
12328
12241
  "bots",
12329
- "filters",
12330
- "list.js"
12242
+ "env-vars",
12243
+ "get.js"
12331
12244
  ]
12332
12245
  },
12333
- "bots:filters:update": {
12246
+ "bots:env-vars:list": {
12334
12247
  "aliases": [],
12335
- "args": {
12336
- "botId": {
12337
- "description": "Bot ID",
12338
- "name": "botId",
12339
- "required": true
12340
- },
12341
- "filterId": {
12342
- "description": "Filter ID",
12343
- "name": "filterId",
12344
- "required": true
12345
- }
12346
- },
12347
- "description": "Update a bot filter",
12248
+ "args": {},
12249
+ "description": "List bot environment variables",
12348
12250
  "flags": {
12349
12251
  "api-key": {
12350
12252
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12408,62 +12310,32 @@
12408
12310
  "multiple": false,
12409
12311
  "type": "option"
12410
12312
  },
12411
- "name": {
12412
- "description": "Filter name",
12413
- "name": "name",
12414
- "hasDynamicHelp": false,
12415
- "multiple": false,
12416
- "type": "option"
12417
- },
12418
- "operator": {
12419
- "description": "Logical operator",
12420
- "name": "operator",
12421
- "hasDynamicHelp": false,
12422
- "multiple": false,
12423
- "type": "option"
12424
- },
12425
- "filter-object": {
12426
- "description": "Filter object type",
12427
- "name": "filter-object",
12428
- "hasDynamicHelp": false,
12429
- "multiple": false,
12430
- "type": "option"
12431
- },
12432
- "filter-attribute": {
12433
- "description": "Filter attribute",
12434
- "name": "filter-attribute",
12435
- "hasDynamicHelp": false,
12436
- "multiple": false,
12437
- "type": "option"
12438
- },
12439
- "filter-comparator": {
12440
- "description": "Filter comparator",
12441
- "name": "filter-comparator",
12313
+ "page": {
12314
+ "description": "Page number",
12315
+ "name": "page",
12316
+ "default": 1,
12442
12317
  "hasDynamicHelp": false,
12443
12318
  "multiple": false,
12444
12319
  "type": "option"
12445
12320
  },
12446
- "filter-value": {
12447
- "description": "Filter value",
12448
- "name": "filter-value",
12321
+ "limit": {
12322
+ "description": "Items per page",
12323
+ "name": "limit",
12324
+ "default": 20,
12449
12325
  "hasDynamicHelp": false,
12450
12326
  "multiple": false,
12451
12327
  "type": "option"
12452
12328
  },
12453
- "status": {
12454
- "description": "Status: 0 inactive, 1 active",
12455
- "name": "status",
12329
+ "search": {
12330
+ "description": "Search in key or description",
12331
+ "name": "search",
12456
12332
  "hasDynamicHelp": false,
12457
12333
  "multiple": false,
12458
- "options": [
12459
- "0",
12460
- "1"
12461
- ],
12462
12334
  "type": "option"
12463
12335
  },
12464
- "data": {
12465
- "description": "Additional JSON object payload",
12466
- "name": "data",
12336
+ "color": {
12337
+ "description": "Filter by color",
12338
+ "name": "color",
12467
12339
  "hasDynamicHelp": false,
12468
12340
  "multiple": false,
12469
12341
  "type": "option"
@@ -12471,7 +12343,7 @@
12471
12343
  },
12472
12344
  "hasDynamicHelp": false,
12473
12345
  "hiddenAliases": [],
12474
- "id": "bots:filters:update",
12346
+ "id": "bots:env-vars:list",
12475
12347
  "pluginAlias": "@instantkom/cli",
12476
12348
  "pluginName": "@instantkom/cli",
12477
12349
  "pluginType": "core",
@@ -12482,11 +12354,11 @@
12482
12354
  "dist",
12483
12355
  "commands",
12484
12356
  "bots",
12485
- "filters",
12486
- "update.js"
12357
+ "env-vars",
12358
+ "list.js"
12487
12359
  ]
12488
12360
  },
12489
- "bots:env-vars:bots": {
12361
+ "bots:env-vars:update": {
12490
12362
  "aliases": [],
12491
12363
  "args": {
12492
12364
  "id": {
@@ -12495,7 +12367,7 @@
12495
12367
  "required": true
12496
12368
  }
12497
12369
  },
12498
- "description": "List bots using a bot environment variable",
12370
+ "description": "Update a bot environment variable",
12499
12371
  "flags": {
12500
12372
  "api-key": {
12501
12373
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12558,11 +12430,32 @@
12558
12430
  "hasDynamicHelp": false,
12559
12431
  "multiple": false,
12560
12432
  "type": "option"
12433
+ },
12434
+ "description": {
12435
+ "description": "Variable description",
12436
+ "name": "description",
12437
+ "hasDynamicHelp": false,
12438
+ "multiple": false,
12439
+ "type": "option"
12440
+ },
12441
+ "color": {
12442
+ "description": "Variable color as HEX",
12443
+ "name": "color",
12444
+ "hasDynamicHelp": false,
12445
+ "multiple": false,
12446
+ "type": "option"
12447
+ },
12448
+ "data": {
12449
+ "description": "Additional JSON object payload",
12450
+ "name": "data",
12451
+ "hasDynamicHelp": false,
12452
+ "multiple": false,
12453
+ "type": "option"
12561
12454
  }
12562
12455
  },
12563
12456
  "hasDynamicHelp": false,
12564
12457
  "hiddenAliases": [],
12565
- "id": "bots:env-vars:bots",
12458
+ "id": "bots:env-vars:update",
12566
12459
  "pluginAlias": "@instantkom/cli",
12567
12460
  "pluginName": "@instantkom/cli",
12568
12461
  "pluginType": "core",
@@ -12574,13 +12467,19 @@
12574
12467
  "commands",
12575
12468
  "bots",
12576
12469
  "env-vars",
12577
- "bots.js"
12470
+ "update.js"
12578
12471
  ]
12579
12472
  },
12580
- "bots:env-vars:create": {
12473
+ "bots:env-vars:values": {
12581
12474
  "aliases": [],
12582
- "args": {},
12583
- "description": "Create a bot environment variable",
12475
+ "args": {
12476
+ "id": {
12477
+ "description": "Environment variable ID",
12478
+ "name": "id",
12479
+ "required": true
12480
+ }
12481
+ },
12482
+ "description": "List recipient values for a bot environment variable",
12584
12483
  "flags": {
12585
12484
  "api-key": {
12586
12485
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12644,31 +12543,32 @@
12644
12543
  "multiple": false,
12645
12544
  "type": "option"
12646
12545
  },
12647
- "key": {
12648
- "description": "Variable key (max 16 chars, letters, digits, underscore)",
12649
- "name": "key",
12650
- "required": true,
12546
+ "page": {
12547
+ "description": "Page number",
12548
+ "name": "page",
12549
+ "default": 1,
12651
12550
  "hasDynamicHelp": false,
12652
12551
  "multiple": false,
12653
12552
  "type": "option"
12654
12553
  },
12655
- "description": {
12656
- "description": "Variable description",
12657
- "name": "description",
12554
+ "limit": {
12555
+ "description": "Items per page",
12556
+ "name": "limit",
12557
+ "default": 20,
12658
12558
  "hasDynamicHelp": false,
12659
12559
  "multiple": false,
12660
12560
  "type": "option"
12661
12561
  },
12662
- "color": {
12663
- "description": "Variable color as HEX",
12664
- "name": "color",
12562
+ "search": {
12563
+ "description": "Search in recipient name or identifier",
12564
+ "name": "search",
12665
12565
  "hasDynamicHelp": false,
12666
12566
  "multiple": false,
12667
12567
  "type": "option"
12668
12568
  },
12669
- "data": {
12670
- "description": "Additional JSON object payload",
12671
- "name": "data",
12569
+ "recipient": {
12570
+ "description": "Filter by recipient ID",
12571
+ "name": "recipient",
12672
12572
  "hasDynamicHelp": false,
12673
12573
  "multiple": false,
12674
12574
  "type": "option"
@@ -12676,7 +12576,7 @@
12676
12576
  },
12677
12577
  "hasDynamicHelp": false,
12678
12578
  "hiddenAliases": [],
12679
- "id": "bots:env-vars:create",
12579
+ "id": "bots:env-vars:values",
12680
12580
  "pluginAlias": "@instantkom/cli",
12681
12581
  "pluginName": "@instantkom/cli",
12682
12582
  "pluginType": "core",
@@ -12688,19 +12588,19 @@
12688
12588
  "commands",
12689
12589
  "bots",
12690
12590
  "env-vars",
12691
- "create.js"
12591
+ "values.js"
12692
12592
  ]
12693
12593
  },
12694
- "bots:env-vars:delete": {
12594
+ "bots:filters:create": {
12695
12595
  "aliases": [],
12696
12596
  "args": {
12697
- "id": {
12698
- "description": "Environment variable ID",
12699
- "name": "id",
12597
+ "botId": {
12598
+ "description": "Bot ID",
12599
+ "name": "botId",
12700
12600
  "required": true
12701
12601
  }
12702
12602
  },
12703
- "description": "Delete a bot environment variable",
12603
+ "description": "Create a bot filter",
12704
12604
  "flags": {
12705
12605
  "api-key": {
12706
12606
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12763,11 +12663,77 @@
12763
12663
  "hasDynamicHelp": false,
12764
12664
  "multiple": false,
12765
12665
  "type": "option"
12666
+ },
12667
+ "name": {
12668
+ "description": "Filter name",
12669
+ "name": "name",
12670
+ "required": true,
12671
+ "hasDynamicHelp": false,
12672
+ "multiple": false,
12673
+ "type": "option"
12674
+ },
12675
+ "operator": {
12676
+ "description": "Logical operator",
12677
+ "name": "operator",
12678
+ "default": "and",
12679
+ "hasDynamicHelp": false,
12680
+ "multiple": false,
12681
+ "type": "option"
12682
+ },
12683
+ "filter-object": {
12684
+ "description": "Filter object type",
12685
+ "name": "filter-object",
12686
+ "default": "msg",
12687
+ "hasDynamicHelp": false,
12688
+ "multiple": false,
12689
+ "type": "option"
12690
+ },
12691
+ "filter-attribute": {
12692
+ "description": "Filter attribute",
12693
+ "name": "filter-attribute",
12694
+ "default": "text",
12695
+ "hasDynamicHelp": false,
12696
+ "multiple": false,
12697
+ "type": "option"
12698
+ },
12699
+ "filter-comparator": {
12700
+ "description": "Filter comparator",
12701
+ "name": "filter-comparator",
12702
+ "default": "contains",
12703
+ "hasDynamicHelp": false,
12704
+ "multiple": false,
12705
+ "type": "option"
12706
+ },
12707
+ "filter-value": {
12708
+ "description": "Filter value",
12709
+ "name": "filter-value",
12710
+ "required": true,
12711
+ "hasDynamicHelp": false,
12712
+ "multiple": false,
12713
+ "type": "option"
12714
+ },
12715
+ "status": {
12716
+ "description": "Status: 0 inactive, 1 active",
12717
+ "name": "status",
12718
+ "hasDynamicHelp": false,
12719
+ "multiple": false,
12720
+ "options": [
12721
+ "0",
12722
+ "1"
12723
+ ],
12724
+ "type": "option"
12725
+ },
12726
+ "data": {
12727
+ "description": "Additional JSON object payload",
12728
+ "name": "data",
12729
+ "hasDynamicHelp": false,
12730
+ "multiple": false,
12731
+ "type": "option"
12766
12732
  }
12767
12733
  },
12768
12734
  "hasDynamicHelp": false,
12769
12735
  "hiddenAliases": [],
12770
- "id": "bots:env-vars:delete",
12736
+ "id": "bots:filters:create",
12771
12737
  "pluginAlias": "@instantkom/cli",
12772
12738
  "pluginName": "@instantkom/cli",
12773
12739
  "pluginType": "core",
@@ -12778,20 +12744,25 @@
12778
12744
  "dist",
12779
12745
  "commands",
12780
12746
  "bots",
12781
- "env-vars",
12782
- "delete.js"
12747
+ "filters",
12748
+ "create.js"
12783
12749
  ]
12784
12750
  },
12785
- "bots:env-vars:get": {
12751
+ "bots:filters:delete": {
12786
12752
  "aliases": [],
12787
12753
  "args": {
12788
- "id": {
12789
- "description": "Environment variable ID",
12790
- "name": "id",
12754
+ "botId": {
12755
+ "description": "Bot ID",
12756
+ "name": "botId",
12757
+ "required": true
12758
+ },
12759
+ "filterId": {
12760
+ "description": "Filter ID",
12761
+ "name": "filterId",
12791
12762
  "required": true
12792
12763
  }
12793
12764
  },
12794
- "description": "Get a bot environment variable",
12765
+ "description": "Delete a bot filter",
12795
12766
  "flags": {
12796
12767
  "api-key": {
12797
12768
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12858,7 +12829,7 @@
12858
12829
  },
12859
12830
  "hasDynamicHelp": false,
12860
12831
  "hiddenAliases": [],
12861
- "id": "bots:env-vars:get",
12832
+ "id": "bots:filters:delete",
12862
12833
  "pluginAlias": "@instantkom/cli",
12863
12834
  "pluginName": "@instantkom/cli",
12864
12835
  "pluginType": "core",
@@ -12869,14 +12840,25 @@
12869
12840
  "dist",
12870
12841
  "commands",
12871
12842
  "bots",
12872
- "env-vars",
12873
- "get.js"
12843
+ "filters",
12844
+ "delete.js"
12874
12845
  ]
12875
12846
  },
12876
- "bots:env-vars:list": {
12847
+ "bots:filters:get": {
12877
12848
  "aliases": [],
12878
- "args": {},
12879
- "description": "List bot environment variables",
12849
+ "args": {
12850
+ "botId": {
12851
+ "description": "Bot ID",
12852
+ "name": "botId",
12853
+ "required": true
12854
+ },
12855
+ "filterId": {
12856
+ "description": "Filter ID",
12857
+ "name": "filterId",
12858
+ "required": true
12859
+ }
12860
+ },
12861
+ "description": "Get a bot filter",
12880
12862
  "flags": {
12881
12863
  "api-key": {
12882
12864
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12916,56 +12898,26 @@
12916
12898
  "allowNo": false,
12917
12899
  "type": "boolean"
12918
12900
  },
12919
- "no-color": {
12920
- "description": "Disable color output",
12921
- "helpGroup": "GLOBAL",
12922
- "name": "no-color",
12923
- "allowNo": false,
12924
- "type": "boolean"
12925
- },
12926
- "profile": {
12927
- "description": "Named configuration profile to use",
12928
- "helpGroup": "GLOBAL",
12929
- "name": "profile",
12930
- "default": "default",
12931
- "hasDynamicHelp": false,
12932
- "multiple": false,
12933
- "type": "option"
12934
- },
12935
- "api-url": {
12936
- "description": "Override the API base URL (e.g. for staging)",
12937
- "helpGroup": "GLOBAL",
12938
- "name": "api-url",
12939
- "hasDynamicHelp": false,
12940
- "multiple": false,
12941
- "type": "option"
12942
- },
12943
- "page": {
12944
- "description": "Page number",
12945
- "name": "page",
12946
- "default": 1,
12947
- "hasDynamicHelp": false,
12948
- "multiple": false,
12949
- "type": "option"
12950
- },
12951
- "limit": {
12952
- "description": "Items per page",
12953
- "name": "limit",
12954
- "default": 20,
12955
- "hasDynamicHelp": false,
12956
- "multiple": false,
12957
- "type": "option"
12901
+ "no-color": {
12902
+ "description": "Disable color output",
12903
+ "helpGroup": "GLOBAL",
12904
+ "name": "no-color",
12905
+ "allowNo": false,
12906
+ "type": "boolean"
12958
12907
  },
12959
- "search": {
12960
- "description": "Search in key or description",
12961
- "name": "search",
12908
+ "profile": {
12909
+ "description": "Named configuration profile to use",
12910
+ "helpGroup": "GLOBAL",
12911
+ "name": "profile",
12912
+ "default": "default",
12962
12913
  "hasDynamicHelp": false,
12963
12914
  "multiple": false,
12964
12915
  "type": "option"
12965
12916
  },
12966
- "color": {
12967
- "description": "Filter by color",
12968
- "name": "color",
12917
+ "api-url": {
12918
+ "description": "Override the API base URL (e.g. for staging)",
12919
+ "helpGroup": "GLOBAL",
12920
+ "name": "api-url",
12969
12921
  "hasDynamicHelp": false,
12970
12922
  "multiple": false,
12971
12923
  "type": "option"
@@ -12973,7 +12925,7 @@
12973
12925
  },
12974
12926
  "hasDynamicHelp": false,
12975
12927
  "hiddenAliases": [],
12976
- "id": "bots:env-vars:list",
12928
+ "id": "bots:filters:get",
12977
12929
  "pluginAlias": "@instantkom/cli",
12978
12930
  "pluginName": "@instantkom/cli",
12979
12931
  "pluginType": "core",
@@ -12984,20 +12936,20 @@
12984
12936
  "dist",
12985
12937
  "commands",
12986
12938
  "bots",
12987
- "env-vars",
12988
- "list.js"
12939
+ "filters",
12940
+ "get.js"
12989
12941
  ]
12990
12942
  },
12991
- "bots:env-vars:update": {
12943
+ "bots:filters:list": {
12992
12944
  "aliases": [],
12993
12945
  "args": {
12994
- "id": {
12995
- "description": "Environment variable ID",
12996
- "name": "id",
12946
+ "botId": {
12947
+ "description": "Bot ID",
12948
+ "name": "botId",
12997
12949
  "required": true
12998
12950
  }
12999
12951
  },
13000
- "description": "Update a bot environment variable",
12952
+ "description": "List bot filters",
13001
12953
  "flags": {
13002
12954
  "api-key": {
13003
12955
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13061,23 +13013,36 @@
13061
13013
  "multiple": false,
13062
13014
  "type": "option"
13063
13015
  },
13064
- "description": {
13065
- "description": "Variable description",
13066
- "name": "description",
13016
+ "page": {
13017
+ "description": "Page number",
13018
+ "name": "page",
13019
+ "default": 1,
13067
13020
  "hasDynamicHelp": false,
13068
13021
  "multiple": false,
13069
13022
  "type": "option"
13070
13023
  },
13071
- "color": {
13072
- "description": "Variable color as HEX",
13073
- "name": "color",
13024
+ "limit": {
13025
+ "description": "Items per page",
13026
+ "name": "limit",
13027
+ "default": 20,
13074
13028
  "hasDynamicHelp": false,
13075
13029
  "multiple": false,
13076
13030
  "type": "option"
13077
13031
  },
13078
- "data": {
13079
- "description": "Additional JSON object payload",
13080
- "name": "data",
13032
+ "status": {
13033
+ "description": "Status filter: 0 inactive, 1 active",
13034
+ "name": "status",
13035
+ "hasDynamicHelp": false,
13036
+ "multiple": false,
13037
+ "options": [
13038
+ "0",
13039
+ "1"
13040
+ ],
13041
+ "type": "option"
13042
+ },
13043
+ "search": {
13044
+ "description": "Search in name or description",
13045
+ "name": "search",
13081
13046
  "hasDynamicHelp": false,
13082
13047
  "multiple": false,
13083
13048
  "type": "option"
@@ -13085,7 +13050,7 @@
13085
13050
  },
13086
13051
  "hasDynamicHelp": false,
13087
13052
  "hiddenAliases": [],
13088
- "id": "bots:env-vars:update",
13053
+ "id": "bots:filters:list",
13089
13054
  "pluginAlias": "@instantkom/cli",
13090
13055
  "pluginName": "@instantkom/cli",
13091
13056
  "pluginType": "core",
@@ -13096,20 +13061,25 @@
13096
13061
  "dist",
13097
13062
  "commands",
13098
13063
  "bots",
13099
- "env-vars",
13100
- "update.js"
13064
+ "filters",
13065
+ "list.js"
13101
13066
  ]
13102
13067
  },
13103
- "bots:env-vars:values": {
13068
+ "bots:filters:update": {
13104
13069
  "aliases": [],
13105
13070
  "args": {
13106
- "id": {
13107
- "description": "Environment variable ID",
13108
- "name": "id",
13071
+ "botId": {
13072
+ "description": "Bot ID",
13073
+ "name": "botId",
13074
+ "required": true
13075
+ },
13076
+ "filterId": {
13077
+ "description": "Filter ID",
13078
+ "name": "filterId",
13109
13079
  "required": true
13110
13080
  }
13111
13081
  },
13112
- "description": "List recipient values for a bot environment variable",
13082
+ "description": "Update a bot filter",
13113
13083
  "flags": {
13114
13084
  "api-key": {
13115
13085
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13173,32 +13143,62 @@
13173
13143
  "multiple": false,
13174
13144
  "type": "option"
13175
13145
  },
13176
- "page": {
13177
- "description": "Page number",
13178
- "name": "page",
13179
- "default": 1,
13146
+ "name": {
13147
+ "description": "Filter name",
13148
+ "name": "name",
13180
13149
  "hasDynamicHelp": false,
13181
13150
  "multiple": false,
13182
13151
  "type": "option"
13183
13152
  },
13184
- "limit": {
13185
- "description": "Items per page",
13186
- "name": "limit",
13187
- "default": 20,
13153
+ "operator": {
13154
+ "description": "Logical operator",
13155
+ "name": "operator",
13188
13156
  "hasDynamicHelp": false,
13189
13157
  "multiple": false,
13190
13158
  "type": "option"
13191
13159
  },
13192
- "search": {
13193
- "description": "Search in recipient name or identifier",
13194
- "name": "search",
13160
+ "filter-object": {
13161
+ "description": "Filter object type",
13162
+ "name": "filter-object",
13195
13163
  "hasDynamicHelp": false,
13196
13164
  "multiple": false,
13197
13165
  "type": "option"
13198
13166
  },
13199
- "recipient": {
13200
- "description": "Filter by recipient ID",
13201
- "name": "recipient",
13167
+ "filter-attribute": {
13168
+ "description": "Filter attribute",
13169
+ "name": "filter-attribute",
13170
+ "hasDynamicHelp": false,
13171
+ "multiple": false,
13172
+ "type": "option"
13173
+ },
13174
+ "filter-comparator": {
13175
+ "description": "Filter comparator",
13176
+ "name": "filter-comparator",
13177
+ "hasDynamicHelp": false,
13178
+ "multiple": false,
13179
+ "type": "option"
13180
+ },
13181
+ "filter-value": {
13182
+ "description": "Filter value",
13183
+ "name": "filter-value",
13184
+ "hasDynamicHelp": false,
13185
+ "multiple": false,
13186
+ "type": "option"
13187
+ },
13188
+ "status": {
13189
+ "description": "Status: 0 inactive, 1 active",
13190
+ "name": "status",
13191
+ "hasDynamicHelp": false,
13192
+ "multiple": false,
13193
+ "options": [
13194
+ "0",
13195
+ "1"
13196
+ ],
13197
+ "type": "option"
13198
+ },
13199
+ "data": {
13200
+ "description": "Additional JSON object payload",
13201
+ "name": "data",
13202
13202
  "hasDynamicHelp": false,
13203
13203
  "multiple": false,
13204
13204
  "type": "option"
@@ -13206,7 +13206,7 @@
13206
13206
  },
13207
13207
  "hasDynamicHelp": false,
13208
13208
  "hiddenAliases": [],
13209
- "id": "bots:env-vars:values",
13209
+ "id": "bots:filters:update",
13210
13210
  "pluginAlias": "@instantkom/cli",
13211
13211
  "pluginName": "@instantkom/cli",
13212
13212
  "pluginType": "core",
@@ -13217,8 +13217,8 @@
13217
13217
  "dist",
13218
13218
  "commands",
13219
13219
  "bots",
13220
- "env-vars",
13221
- "values.js"
13220
+ "filters",
13221
+ "update.js"
13222
13222
  ]
13223
13223
  },
13224
13224
  "bots:tags:add": {
@@ -15276,21 +15276,16 @@
15276
15276
  "update.js"
15277
15277
  ]
15278
15278
  },
15279
- "segments:tags:add": {
15279
+ "tags:bots:list": {
15280
15280
  "aliases": [],
15281
15281
  "args": {
15282
- "segmentId": {
15283
- "description": "Segment ID",
15284
- "name": "segmentId",
15285
- "required": true
15286
- },
15287
- "tagId": {
15282
+ "id": {
15288
15283
  "description": "Tag ID",
15289
- "name": "tagId",
15284
+ "name": "id",
15290
15285
  "required": true
15291
15286
  }
15292
15287
  },
15293
- "description": "Assign a tag to a segment",
15288
+ "description": "List bots that use a specific tag",
15294
15289
  "flags": {
15295
15290
  "api-key": {
15296
15291
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15353,11 +15348,27 @@
15353
15348
  "hasDynamicHelp": false,
15354
15349
  "multiple": false,
15355
15350
  "type": "option"
15351
+ },
15352
+ "page": {
15353
+ "description": "Page number",
15354
+ "name": "page",
15355
+ "default": 1,
15356
+ "hasDynamicHelp": false,
15357
+ "multiple": false,
15358
+ "type": "option"
15359
+ },
15360
+ "limit": {
15361
+ "description": "Items per page",
15362
+ "name": "limit",
15363
+ "default": 20,
15364
+ "hasDynamicHelp": false,
15365
+ "multiple": false,
15366
+ "type": "option"
15356
15367
  }
15357
15368
  },
15358
15369
  "hasDynamicHelp": false,
15359
15370
  "hiddenAliases": [],
15360
- "id": "segments:tags:add",
15371
+ "id": "tags:bots:list",
15361
15372
  "pluginAlias": "@instantkom/cli",
15362
15373
  "pluginName": "@instantkom/cli",
15363
15374
  "pluginType": "core",
@@ -15367,21 +15378,26 @@
15367
15378
  "relativePath": [
15368
15379
  "dist",
15369
15380
  "commands",
15370
- "segments",
15371
15381
  "tags",
15372
- "add.js"
15382
+ "bots",
15383
+ "list.js"
15373
15384
  ]
15374
15385
  },
15375
- "segments:tags:list": {
15386
+ "segments:tags:add": {
15376
15387
  "aliases": [],
15377
15388
  "args": {
15378
15389
  "segmentId": {
15379
15390
  "description": "Segment ID",
15380
15391
  "name": "segmentId",
15381
15392
  "required": true
15393
+ },
15394
+ "tagId": {
15395
+ "description": "Tag ID",
15396
+ "name": "tagId",
15397
+ "required": true
15382
15398
  }
15383
15399
  },
15384
- "description": "List tags assigned to a segment",
15400
+ "description": "Assign a tag to a segment",
15385
15401
  "flags": {
15386
15402
  "api-key": {
15387
15403
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15448,7 +15464,7 @@
15448
15464
  },
15449
15465
  "hasDynamicHelp": false,
15450
15466
  "hiddenAliases": [],
15451
- "id": "segments:tags:list",
15467
+ "id": "segments:tags:add",
15452
15468
  "pluginAlias": "@instantkom/cli",
15453
15469
  "pluginName": "@instantkom/cli",
15454
15470
  "pluginType": "core",
@@ -15460,24 +15476,19 @@
15460
15476
  "commands",
15461
15477
  "segments",
15462
15478
  "tags",
15463
- "list.js"
15479
+ "add.js"
15464
15480
  ]
15465
15481
  },
15466
- "segments:tags:remove": {
15482
+ "segments:tags:list": {
15467
15483
  "aliases": [],
15468
15484
  "args": {
15469
15485
  "segmentId": {
15470
15486
  "description": "Segment ID",
15471
15487
  "name": "segmentId",
15472
15488
  "required": true
15473
- },
15474
- "tagId": {
15475
- "description": "Tag ID",
15476
- "name": "tagId",
15477
- "required": true
15478
15489
  }
15479
15490
  },
15480
- "description": "Remove a tag from a segment",
15491
+ "description": "List tags assigned to a segment",
15481
15492
  "flags": {
15482
15493
  "api-key": {
15483
15494
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15544,7 +15555,7 @@
15544
15555
  },
15545
15556
  "hasDynamicHelp": false,
15546
15557
  "hiddenAliases": [],
15547
- "id": "segments:tags:remove",
15558
+ "id": "segments:tags:list",
15548
15559
  "pluginAlias": "@instantkom/cli",
15549
15560
  "pluginName": "@instantkom/cli",
15550
15561
  "pluginType": "core",
@@ -15556,19 +15567,24 @@
15556
15567
  "commands",
15557
15568
  "segments",
15558
15569
  "tags",
15559
- "remove.js"
15570
+ "list.js"
15560
15571
  ]
15561
15572
  },
15562
- "tags:bots:list": {
15573
+ "segments:tags:remove": {
15563
15574
  "aliases": [],
15564
15575
  "args": {
15565
- "id": {
15576
+ "segmentId": {
15577
+ "description": "Segment ID",
15578
+ "name": "segmentId",
15579
+ "required": true
15580
+ },
15581
+ "tagId": {
15566
15582
  "description": "Tag ID",
15567
- "name": "id",
15583
+ "name": "tagId",
15568
15584
  "required": true
15569
15585
  }
15570
15586
  },
15571
- "description": "List bots that use a specific tag",
15587
+ "description": "Remove a tag from a segment",
15572
15588
  "flags": {
15573
15589
  "api-key": {
15574
15590
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15631,27 +15647,11 @@
15631
15647
  "hasDynamicHelp": false,
15632
15648
  "multiple": false,
15633
15649
  "type": "option"
15634
- },
15635
- "page": {
15636
- "description": "Page number",
15637
- "name": "page",
15638
- "default": 1,
15639
- "hasDynamicHelp": false,
15640
- "multiple": false,
15641
- "type": "option"
15642
- },
15643
- "limit": {
15644
- "description": "Items per page",
15645
- "name": "limit",
15646
- "default": 20,
15647
- "hasDynamicHelp": false,
15648
- "multiple": false,
15649
- "type": "option"
15650
15650
  }
15651
15651
  },
15652
15652
  "hasDynamicHelp": false,
15653
15653
  "hiddenAliases": [],
15654
- "id": "tags:bots:list",
15654
+ "id": "segments:tags:remove",
15655
15655
  "pluginAlias": "@instantkom/cli",
15656
15656
  "pluginName": "@instantkom/cli",
15657
15657
  "pluginType": "core",
@@ -15661,9 +15661,9 @@
15661
15661
  "relativePath": [
15662
15662
  "dist",
15663
15663
  "commands",
15664
+ "segments",
15664
15665
  "tags",
15665
- "bots",
15666
- "list.js"
15666
+ "remove.js"
15667
15667
  ]
15668
15668
  },
15669
15669
  "tags:segments:list": {
@@ -16566,5 +16566,5 @@
16566
16566
  ]
16567
16567
  }
16568
16568
  },
16569
- "version": "3.152.0"
16569
+ "version": "3.154.0"
16570
16570
  }