@instantkom/cli 3.132.0 → 3.134.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.
@@ -1073,6 +1073,40 @@
1073
1073
  "reply.js"
1074
1074
  ]
1075
1075
  },
1076
+ "autocomplete:script": {
1077
+ "aliases": [],
1078
+ "args": {
1079
+ "shell": {
1080
+ "description": "Shell type",
1081
+ "name": "shell",
1082
+ "options": [
1083
+ "zsh",
1084
+ "bash",
1085
+ "fish",
1086
+ "powershell"
1087
+ ],
1088
+ "required": false
1089
+ }
1090
+ },
1091
+ "description": "outputs autocomplete config script for shells",
1092
+ "flags": {},
1093
+ "hasDynamicHelp": false,
1094
+ "hidden": true,
1095
+ "hiddenAliases": [],
1096
+ "id": "autocomplete:script",
1097
+ "pluginAlias": "@instantkom/cli",
1098
+ "pluginName": "@instantkom/cli",
1099
+ "pluginType": "core",
1100
+ "strict": true,
1101
+ "enableJsonFlag": false,
1102
+ "isESM": true,
1103
+ "relativePath": [
1104
+ "dist",
1105
+ "commands",
1106
+ "autocomplete",
1107
+ "script.js"
1108
+ ]
1109
+ },
1076
1110
  "auth:login": {
1077
1111
  "aliases": [],
1078
1112
  "args": {},
@@ -1255,40 +1289,6 @@
1255
1289
  "logout.js"
1256
1290
  ]
1257
1291
  },
1258
- "autocomplete:script": {
1259
- "aliases": [],
1260
- "args": {
1261
- "shell": {
1262
- "description": "Shell type",
1263
- "name": "shell",
1264
- "options": [
1265
- "zsh",
1266
- "bash",
1267
- "fish",
1268
- "powershell"
1269
- ],
1270
- "required": false
1271
- }
1272
- },
1273
- "description": "outputs autocomplete config script for shells",
1274
- "flags": {},
1275
- "hasDynamicHelp": false,
1276
- "hidden": true,
1277
- "hiddenAliases": [],
1278
- "id": "autocomplete:script",
1279
- "pluginAlias": "@instantkom/cli",
1280
- "pluginName": "@instantkom/cli",
1281
- "pluginType": "core",
1282
- "strict": true,
1283
- "enableJsonFlag": false,
1284
- "isESM": true,
1285
- "relativePath": [
1286
- "dist",
1287
- "commands",
1288
- "autocomplete",
1289
- "script.js"
1290
- ]
1291
- },
1292
1292
  "bots:create": {
1293
1293
  "aliases": [],
1294
1294
  "args": {},
@@ -3171,10 +3171,10 @@
3171
3171
  "reply.js"
3172
3172
  ]
3173
3173
  },
3174
- "broadcast:create": {
3174
+ "contacts:create": {
3175
3175
  "aliases": [],
3176
3176
  "args": {},
3177
- "description": "Create a broadcast for channels or segments",
3177
+ "description": "Create a contact",
3178
3178
  "flags": {
3179
3179
  "api-key": {
3180
3180
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3239,91 +3239,39 @@
3239
3239
  "type": "option"
3240
3240
  },
3241
3241
  "channel": {
3242
- "description": "Channel ID target",
3242
+ "description": "Channel ID",
3243
3243
  "name": "channel",
3244
- "hasDynamicHelp": false,
3245
- "multiple": false,
3246
- "type": "option"
3247
- },
3248
- "segment": {
3249
- "description": "Segment ID within --channel",
3250
- "name": "segment",
3251
- "hasDynamicHelp": false,
3252
- "multiple": false,
3253
- "type": "option"
3254
- },
3255
- "target": {
3256
- "description": "Target as channelId or channelId:segmentId; may be repeated",
3257
- "name": "target",
3258
- "hasDynamicHelp": false,
3259
- "multiple": true,
3260
- "type": "option"
3261
- },
3262
- "text": {
3263
- "description": "Broadcast message text",
3264
- "name": "text",
3265
3244
  "required": true,
3266
3245
  "hasDynamicHelp": false,
3267
3246
  "multiple": false,
3268
3247
  "type": "option"
3269
3248
  },
3270
- "send-at": {
3271
- "description": "Schedule send for an ISO-8601 date-time",
3272
- "name": "send-at",
3273
- "hasDynamicHelp": false,
3274
- "multiple": false,
3275
- "type": "option"
3276
- },
3277
- "dry-run": {
3278
- "description": "Validate and print the broadcast payload without mutating API calls",
3279
- "name": "dry-run",
3280
- "allowNo": false,
3281
- "type": "boolean"
3282
- },
3283
- "idempotency-key": {
3284
- "description": "Idempotency key forwarded as Idempotency-Key",
3285
- "name": "idempotency-key",
3249
+ "identifier": {
3250
+ "description": "Unique contact identifier",
3251
+ "name": "identifier",
3252
+ "required": true,
3286
3253
  "hasDynamicHelp": false,
3287
3254
  "multiple": false,
3288
3255
  "type": "option"
3289
3256
  },
3290
- "media": {
3291
- "description": "Media file path to upload",
3292
- "name": "media",
3293
- "hasDynamicHelp": false,
3294
- "multiple": true,
3295
- "type": "option"
3296
- },
3297
- "template-id": {
3298
- "description": "WhatsApp template ID",
3299
- "name": "template-id",
3257
+ "name": {
3258
+ "description": "Contact name",
3259
+ "name": "name",
3300
3260
  "hasDynamicHelp": false,
3301
3261
  "multiple": false,
3302
3262
  "type": "option"
3303
3263
  },
3304
- "send-status": {
3305
- "description": "Initial broadcast send status",
3306
- "name": "send-status",
3307
- "default": "draft",
3264
+ "data": {
3265
+ "description": "Additional JSON object payload",
3266
+ "name": "data",
3308
3267
  "hasDynamicHelp": false,
3309
3268
  "multiple": false,
3310
- "options": [
3311
- "draft",
3312
- "scheduled",
3313
- "sending"
3314
- ],
3315
3269
  "type": "option"
3316
- },
3317
- "auto-approve": {
3318
- "description": "Auto-approve broadcast when allowed by API permissions",
3319
- "name": "auto-approve",
3320
- "allowNo": false,
3321
- "type": "boolean"
3322
3270
  }
3323
3271
  },
3324
3272
  "hasDynamicHelp": false,
3325
3273
  "hiddenAliases": [],
3326
- "id": "broadcast:create",
3274
+ "id": "contacts:create",
3327
3275
  "pluginAlias": "@instantkom/cli",
3328
3276
  "pluginName": "@instantkom/cli",
3329
3277
  "pluginType": "core",
@@ -3333,20 +3281,20 @@
3333
3281
  "relativePath": [
3334
3282
  "dist",
3335
3283
  "commands",
3336
- "broadcast",
3284
+ "contacts",
3337
3285
  "create.js"
3338
3286
  ]
3339
3287
  },
3340
- "broadcast:delete": {
3288
+ "contacts:delete": {
3341
3289
  "aliases": [],
3342
3290
  "args": {
3343
3291
  "id": {
3344
- "description": "broadcast ID",
3292
+ "description": "Contact ID",
3345
3293
  "name": "id",
3346
3294
  "required": true
3347
3295
  }
3348
3296
  },
3349
- "description": "Delete broadcast",
3297
+ "description": "Delete a contact",
3350
3298
  "flags": {
3351
3299
  "api-key": {
3352
3300
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3413,7 +3361,7 @@
3413
3361
  },
3414
3362
  "hasDynamicHelp": false,
3415
3363
  "hiddenAliases": [],
3416
- "id": "broadcast:delete",
3364
+ "id": "contacts:delete",
3417
3365
  "pluginAlias": "@instantkom/cli",
3418
3366
  "pluginName": "@instantkom/cli",
3419
3367
  "pluginType": "core",
@@ -3423,20 +3371,14 @@
3423
3371
  "relativePath": [
3424
3372
  "dist",
3425
3373
  "commands",
3426
- "broadcast",
3374
+ "contacts",
3427
3375
  "delete.js"
3428
3376
  ]
3429
3377
  },
3430
- "broadcast:get": {
3378
+ "contacts:export": {
3431
3379
  "aliases": [],
3432
- "args": {
3433
- "id": {
3434
- "description": "broadcast ID",
3435
- "name": "id",
3436
- "required": true
3437
- }
3438
- },
3439
- "description": "Get broadcast by ID",
3380
+ "args": {},
3381
+ "description": "Export contacts to CSV",
3440
3382
  "flags": {
3441
3383
  "api-key": {
3442
3384
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3499,11 +3441,49 @@
3499
3441
  "hasDynamicHelp": false,
3500
3442
  "multiple": false,
3501
3443
  "type": "option"
3444
+ },
3445
+ "file": {
3446
+ "description": "CSV output file path",
3447
+ "name": "file",
3448
+ "required": true,
3449
+ "hasDynamicHelp": false,
3450
+ "multiple": false,
3451
+ "type": "option"
3452
+ },
3453
+ "channel": {
3454
+ "description": "Filter by channel ID",
3455
+ "name": "channel",
3456
+ "hasDynamicHelp": false,
3457
+ "multiple": false,
3458
+ "type": "option"
3459
+ },
3460
+ "search": {
3461
+ "description": "Search by name or identifier",
3462
+ "name": "search",
3463
+ "hasDynamicHelp": false,
3464
+ "multiple": false,
3465
+ "type": "option"
3466
+ },
3467
+ "page": {
3468
+ "description": "Page number",
3469
+ "name": "page",
3470
+ "default": 1,
3471
+ "hasDynamicHelp": false,
3472
+ "multiple": false,
3473
+ "type": "option"
3474
+ },
3475
+ "limit": {
3476
+ "description": "Items per page",
3477
+ "name": "limit",
3478
+ "default": 100,
3479
+ "hasDynamicHelp": false,
3480
+ "multiple": false,
3481
+ "type": "option"
3502
3482
  }
3503
3483
  },
3504
3484
  "hasDynamicHelp": false,
3505
3485
  "hiddenAliases": [],
3506
- "id": "broadcast:get",
3486
+ "id": "contacts:export",
3507
3487
  "pluginAlias": "@instantkom/cli",
3508
3488
  "pluginName": "@instantkom/cli",
3509
3489
  "pluginType": "core",
@@ -3513,14 +3493,20 @@
3513
3493
  "relativePath": [
3514
3494
  "dist",
3515
3495
  "commands",
3516
- "broadcast",
3517
- "get.js"
3496
+ "contacts",
3497
+ "export.js"
3518
3498
  ]
3519
3499
  },
3520
- "broadcast:list": {
3500
+ "contacts:get": {
3521
3501
  "aliases": [],
3522
- "args": {},
3523
- "description": "List broadcasts",
3502
+ "args": {
3503
+ "id": {
3504
+ "description": "Contact ID",
3505
+ "name": "id",
3506
+ "required": true
3507
+ }
3508
+ },
3509
+ "description": "Get a contact by ID",
3524
3510
  "flags": {
3525
3511
  "api-key": {
3526
3512
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3583,73 +3569,11 @@
3583
3569
  "hasDynamicHelp": false,
3584
3570
  "multiple": false,
3585
3571
  "type": "option"
3586
- },
3587
- "page": {
3588
- "description": "Page number",
3589
- "name": "page",
3590
- "default": 1,
3591
- "hasDynamicHelp": false,
3592
- "multiple": false,
3593
- "type": "option"
3594
- },
3595
- "limit": {
3596
- "description": "Items per page",
3597
- "name": "limit",
3598
- "default": 20,
3599
- "hasDynamicHelp": false,
3600
- "multiple": false,
3601
- "type": "option"
3602
- },
3603
- "channel": {
3604
- "description": "Filter by channel ID",
3605
- "name": "channel",
3606
- "hasDynamicHelp": false,
3607
- "multiple": false,
3608
- "type": "option"
3609
- },
3610
- "send-status": {
3611
- "description": "Filter by send status",
3612
- "name": "send-status",
3613
- "hasDynamicHelp": false,
3614
- "multiple": false,
3615
- "type": "option"
3616
- },
3617
- "type": {
3618
- "description": "Broadcast type",
3619
- "name": "type",
3620
- "hasDynamicHelp": false,
3621
- "multiple": false,
3622
- "options": [
3623
- "text",
3624
- "image",
3625
- "video",
3626
- "audio",
3627
- "document"
3628
- ],
3629
- "type": "option"
3630
- },
3631
- "search": {
3632
- "description": "Search broadcasts",
3633
- "name": "search",
3634
- "hasDynamicHelp": false,
3635
- "multiple": false,
3636
- "type": "option"
3637
- },
3638
- "test": {
3639
- "description": "Filter test flag: 0 or 1",
3640
- "name": "test",
3641
- "hasDynamicHelp": false,
3642
- "multiple": false,
3643
- "options": [
3644
- "0",
3645
- "1"
3646
- ],
3647
- "type": "option"
3648
3572
  }
3649
3573
  },
3650
3574
  "hasDynamicHelp": false,
3651
3575
  "hiddenAliases": [],
3652
- "id": "broadcast:list",
3576
+ "id": "contacts:get",
3653
3577
  "pluginAlias": "@instantkom/cli",
3654
3578
  "pluginName": "@instantkom/cli",
3655
3579
  "pluginType": "core",
@@ -3659,20 +3583,14 @@
3659
3583
  "relativePath": [
3660
3584
  "dist",
3661
3585
  "commands",
3662
- "broadcast",
3663
- "list.js"
3586
+ "contacts",
3587
+ "get.js"
3664
3588
  ]
3665
3589
  },
3666
- "broadcast:send": {
3590
+ "contacts:import": {
3667
3591
  "aliases": [],
3668
- "args": {
3669
- "id": {
3670
- "description": "Broadcast ID",
3671
- "name": "id",
3672
- "required": true
3673
- }
3674
- },
3675
- "description": "Send a broadcast immediately",
3592
+ "args": {},
3593
+ "description": "Import contacts from CSV",
3676
3594
  "flags": {
3677
3595
  "api-key": {
3678
3596
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3735,11 +3653,27 @@
3735
3653
  "hasDynamicHelp": false,
3736
3654
  "multiple": false,
3737
3655
  "type": "option"
3656
+ },
3657
+ "file": {
3658
+ "description": "CSV file path",
3659
+ "name": "file",
3660
+ "required": true,
3661
+ "hasDynamicHelp": false,
3662
+ "multiple": false,
3663
+ "type": "option"
3664
+ },
3665
+ "channel": {
3666
+ "description": "Channel ID",
3667
+ "name": "channel",
3668
+ "required": true,
3669
+ "hasDynamicHelp": false,
3670
+ "multiple": false,
3671
+ "type": "option"
3738
3672
  }
3739
3673
  },
3740
3674
  "hasDynamicHelp": false,
3741
3675
  "hiddenAliases": [],
3742
- "id": "broadcast:send",
3676
+ "id": "contacts:import",
3743
3677
  "pluginAlias": "@instantkom/cli",
3744
3678
  "pluginName": "@instantkom/cli",
3745
3679
  "pluginType": "core",
@@ -3749,20 +3683,14 @@
3749
3683
  "relativePath": [
3750
3684
  "dist",
3751
3685
  "commands",
3752
- "broadcast",
3753
- "send.js"
3686
+ "contacts",
3687
+ "import.js"
3754
3688
  ]
3755
3689
  },
3756
- "broadcast:status": {
3690
+ "contacts:list": {
3757
3691
  "aliases": [],
3758
- "args": {
3759
- "id": {
3760
- "description": "Broadcast ID",
3761
- "name": "id",
3762
- "required": true
3763
- }
3764
- },
3765
- "description": "Show broadcast send status",
3692
+ "args": {},
3693
+ "description": "List contacts",
3766
3694
  "flags": {
3767
3695
  "api-key": {
3768
3696
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3825,11 +3753,106 @@
3825
3753
  "hasDynamicHelp": false,
3826
3754
  "multiple": false,
3827
3755
  "type": "option"
3756
+ },
3757
+ "channel": {
3758
+ "description": "Filter by channel ID",
3759
+ "name": "channel",
3760
+ "hasDynamicHelp": false,
3761
+ "multiple": false,
3762
+ "type": "option"
3763
+ },
3764
+ "search": {
3765
+ "description": "Search by name or identifier",
3766
+ "name": "search",
3767
+ "hasDynamicHelp": false,
3768
+ "multiple": false,
3769
+ "type": "option"
3770
+ },
3771
+ "page": {
3772
+ "description": "Page number",
3773
+ "name": "page",
3774
+ "default": 1,
3775
+ "hasDynamicHelp": false,
3776
+ "multiple": false,
3777
+ "type": "option"
3778
+ },
3779
+ "limit": {
3780
+ "description": "Items per page",
3781
+ "name": "limit",
3782
+ "default": 20,
3783
+ "hasDynamicHelp": false,
3784
+ "multiple": false,
3785
+ "type": "option"
3786
+ },
3787
+ "optin-status": {
3788
+ "description": "Filter by opt-in status",
3789
+ "name": "optin-status",
3790
+ "hasDynamicHelp": false,
3791
+ "multiple": false,
3792
+ "options": [
3793
+ "0",
3794
+ "1"
3795
+ ],
3796
+ "type": "option"
3797
+ },
3798
+ "blocked": {
3799
+ "description": "Filter by blocked status: 1 blocked, 0 not blocked",
3800
+ "name": "blocked",
3801
+ "hasDynamicHelp": false,
3802
+ "multiple": false,
3803
+ "options": [
3804
+ "0",
3805
+ "1"
3806
+ ],
3807
+ "type": "option"
3808
+ },
3809
+ "segment": {
3810
+ "description": "Filter by segment ID",
3811
+ "name": "segment",
3812
+ "hasDynamicHelp": false,
3813
+ "multiple": false,
3814
+ "type": "option"
3815
+ },
3816
+ "tags": {
3817
+ "description": "Comma-separated tag IDs",
3818
+ "name": "tags",
3819
+ "hasDynamicHelp": false,
3820
+ "multiple": false,
3821
+ "type": "option"
3822
+ },
3823
+ "tag-match": {
3824
+ "description": "Tag match mode",
3825
+ "name": "tag-match",
3826
+ "hasDynamicHelp": false,
3827
+ "multiple": false,
3828
+ "options": [
3829
+ "any",
3830
+ "all"
3831
+ ],
3832
+ "type": "option"
3833
+ },
3834
+ "spam": {
3835
+ "description": "Filter by spam status",
3836
+ "name": "spam",
3837
+ "hasDynamicHelp": false,
3838
+ "multiple": false,
3839
+ "options": [
3840
+ "true",
3841
+ "false"
3842
+ ],
3843
+ "type": "option"
3844
+ },
3845
+ "trust-level": {
3846
+ "description": "Comma-separated trust levels",
3847
+ "name": "trust-level",
3848
+ "hasDynamicHelp": false,
3849
+ "multiple": false,
3850
+ "type": "option"
3828
3851
  }
3829
3852
  },
3830
3853
  "hasDynamicHelp": false,
3831
3854
  "hiddenAliases": [],
3832
- "id": "broadcast:status",
3855
+ "id": "contacts:list",
3833
3856
  "pluginAlias": "@instantkom/cli",
3834
3857
  "pluginName": "@instantkom/cli",
3835
3858
  "pluginType": "core",
@@ -3839,20 +3862,20 @@
3839
3862
  "relativePath": [
3840
3863
  "dist",
3841
3864
  "commands",
3842
- "broadcast",
3843
- "status.js"
3865
+ "contacts",
3866
+ "list.js"
3844
3867
  ]
3845
3868
  },
3846
- "broadcast:update": {
3869
+ "contacts:update": {
3847
3870
  "aliases": [],
3848
3871
  "args": {
3849
3872
  "id": {
3850
- "description": "Broadcast ID",
3873
+ "description": "Contact ID",
3851
3874
  "name": "id",
3852
3875
  "required": true
3853
3876
  }
3854
3877
  },
3855
- "description": "Update a broadcast",
3878
+ "description": "Update a contact",
3856
3879
  "flags": {
3857
3880
  "api-key": {
3858
3881
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3916,61 +3939,16 @@
3916
3939
  "multiple": false,
3917
3940
  "type": "option"
3918
3941
  },
3919
- "text": {
3920
- "description": "Broadcast message text",
3921
- "name": "text",
3922
- "hasDynamicHelp": false,
3923
- "multiple": false,
3924
- "type": "option"
3925
- },
3926
- "send-status": {
3927
- "description": "Send status",
3928
- "name": "send-status",
3929
- "hasDynamicHelp": false,
3930
- "multiple": false,
3931
- "type": "option"
3932
- },
3933
- "scheduled-at": {
3934
- "description": "Unix timestamp for scheduled send",
3935
- "name": "scheduled-at",
3936
- "hasDynamicHelp": false,
3937
- "multiple": false,
3938
- "type": "option"
3939
- },
3940
- "approved": {
3941
- "description": "Mark as approved",
3942
- "name": "approved",
3943
- "allowNo": false,
3944
- "type": "boolean"
3945
- },
3946
- "locked": {
3947
- "description": "Mark as locked",
3948
- "name": "locked",
3949
- "allowNo": false,
3950
- "type": "boolean"
3951
- },
3952
- "test": {
3953
- "description": "Mark as test broadcast",
3954
- "name": "test",
3955
- "allowNo": false,
3956
- "type": "boolean"
3957
- },
3958
- "template-id": {
3959
- "description": "Template ID",
3960
- "name": "template-id",
3942
+ "identifier": {
3943
+ "description": "Unique contact identifier",
3944
+ "name": "identifier",
3961
3945
  "hasDynamicHelp": false,
3962
3946
  "multiple": false,
3963
3947
  "type": "option"
3964
3948
  },
3965
- "remove-media": {
3966
- "description": "Remove existing media",
3967
- "name": "remove-media",
3968
- "allowNo": false,
3969
- "type": "boolean"
3970
- },
3971
- "header-footer": {
3972
- "description": "Header/footer JSON array",
3973
- "name": "header-footer",
3949
+ "name": {
3950
+ "description": "Contact name",
3951
+ "name": "name",
3974
3952
  "hasDynamicHelp": false,
3975
3953
  "multiple": false,
3976
3954
  "type": "option"
@@ -3985,7 +3963,7 @@
3985
3963
  },
3986
3964
  "hasDynamicHelp": false,
3987
3965
  "hiddenAliases": [],
3988
- "id": "broadcast:update",
3966
+ "id": "contacts:update",
3989
3967
  "pluginAlias": "@instantkom/cli",
3990
3968
  "pluginName": "@instantkom/cli",
3991
3969
  "pluginType": "core",
@@ -3995,14 +3973,14 @@
3995
3973
  "relativePath": [
3996
3974
  "dist",
3997
3975
  "commands",
3998
- "broadcast",
3976
+ "contacts",
3999
3977
  "update.js"
4000
3978
  ]
4001
3979
  },
4002
- "contacts:create": {
3980
+ "broadcast:create": {
4003
3981
  "aliases": [],
4004
3982
  "args": {},
4005
- "description": "Create a contact",
3983
+ "description": "Create a broadcast for channels or segments",
4006
3984
  "flags": {
4007
3985
  "api-key": {
4008
3986
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4067,39 +4045,91 @@
4067
4045
  "type": "option"
4068
4046
  },
4069
4047
  "channel": {
4070
- "description": "Channel ID",
4048
+ "description": "Channel ID target",
4071
4049
  "name": "channel",
4072
- "required": true,
4073
4050
  "hasDynamicHelp": false,
4074
4051
  "multiple": false,
4075
4052
  "type": "option"
4076
4053
  },
4077
- "identifier": {
4078
- "description": "Unique contact identifier",
4079
- "name": "identifier",
4054
+ "segment": {
4055
+ "description": "Segment ID within --channel",
4056
+ "name": "segment",
4057
+ "hasDynamicHelp": false,
4058
+ "multiple": false,
4059
+ "type": "option"
4060
+ },
4061
+ "target": {
4062
+ "description": "Target as channelId or channelId:segmentId; may be repeated",
4063
+ "name": "target",
4064
+ "hasDynamicHelp": false,
4065
+ "multiple": true,
4066
+ "type": "option"
4067
+ },
4068
+ "text": {
4069
+ "description": "Broadcast message text",
4070
+ "name": "text",
4080
4071
  "required": true,
4081
4072
  "hasDynamicHelp": false,
4082
4073
  "multiple": false,
4083
4074
  "type": "option"
4084
4075
  },
4085
- "name": {
4086
- "description": "Contact name",
4087
- "name": "name",
4076
+ "send-at": {
4077
+ "description": "Schedule send for an ISO-8601 date-time",
4078
+ "name": "send-at",
4088
4079
  "hasDynamicHelp": false,
4089
4080
  "multiple": false,
4090
4081
  "type": "option"
4091
4082
  },
4092
- "data": {
4093
- "description": "Additional JSON object payload",
4094
- "name": "data",
4083
+ "dry-run": {
4084
+ "description": "Validate and print the broadcast payload without mutating API calls",
4085
+ "name": "dry-run",
4086
+ "allowNo": false,
4087
+ "type": "boolean"
4088
+ },
4089
+ "idempotency-key": {
4090
+ "description": "Idempotency key forwarded as Idempotency-Key",
4091
+ "name": "idempotency-key",
4092
+ "hasDynamicHelp": false,
4093
+ "multiple": false,
4094
+ "type": "option"
4095
+ },
4096
+ "media": {
4097
+ "description": "Media file path to upload",
4098
+ "name": "media",
4099
+ "hasDynamicHelp": false,
4100
+ "multiple": true,
4101
+ "type": "option"
4102
+ },
4103
+ "template-id": {
4104
+ "description": "WhatsApp template ID",
4105
+ "name": "template-id",
4106
+ "hasDynamicHelp": false,
4107
+ "multiple": false,
4108
+ "type": "option"
4109
+ },
4110
+ "send-status": {
4111
+ "description": "Initial broadcast send status",
4112
+ "name": "send-status",
4113
+ "default": "draft",
4095
4114
  "hasDynamicHelp": false,
4096
4115
  "multiple": false,
4116
+ "options": [
4117
+ "draft",
4118
+ "scheduled",
4119
+ "sending"
4120
+ ],
4097
4121
  "type": "option"
4122
+ },
4123
+ "auto-approve": {
4124
+ "description": "Auto-approve broadcast when allowed by API permissions",
4125
+ "name": "auto-approve",
4126
+ "allowNo": false,
4127
+ "type": "boolean"
4098
4128
  }
4099
4129
  },
4100
4130
  "hasDynamicHelp": false,
4101
4131
  "hiddenAliases": [],
4102
- "id": "contacts:create",
4132
+ "id": "broadcast:create",
4103
4133
  "pluginAlias": "@instantkom/cli",
4104
4134
  "pluginName": "@instantkom/cli",
4105
4135
  "pluginType": "core",
@@ -4109,20 +4139,20 @@
4109
4139
  "relativePath": [
4110
4140
  "dist",
4111
4141
  "commands",
4112
- "contacts",
4142
+ "broadcast",
4113
4143
  "create.js"
4114
4144
  ]
4115
4145
  },
4116
- "contacts:delete": {
4146
+ "broadcast:delete": {
4117
4147
  "aliases": [],
4118
4148
  "args": {
4119
4149
  "id": {
4120
- "description": "Contact ID",
4150
+ "description": "broadcast ID",
4121
4151
  "name": "id",
4122
4152
  "required": true
4123
4153
  }
4124
4154
  },
4125
- "description": "Delete a contact",
4155
+ "description": "Delete broadcast",
4126
4156
  "flags": {
4127
4157
  "api-key": {
4128
4158
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4189,7 +4219,7 @@
4189
4219
  },
4190
4220
  "hasDynamicHelp": false,
4191
4221
  "hiddenAliases": [],
4192
- "id": "contacts:delete",
4222
+ "id": "broadcast:delete",
4193
4223
  "pluginAlias": "@instantkom/cli",
4194
4224
  "pluginName": "@instantkom/cli",
4195
4225
  "pluginType": "core",
@@ -4199,14 +4229,20 @@
4199
4229
  "relativePath": [
4200
4230
  "dist",
4201
4231
  "commands",
4202
- "contacts",
4232
+ "broadcast",
4203
4233
  "delete.js"
4204
4234
  ]
4205
4235
  },
4206
- "contacts:export": {
4236
+ "broadcast:get": {
4207
4237
  "aliases": [],
4208
- "args": {},
4209
- "description": "Export contacts to CSV",
4238
+ "args": {
4239
+ "id": {
4240
+ "description": "broadcast ID",
4241
+ "name": "id",
4242
+ "required": true
4243
+ }
4244
+ },
4245
+ "description": "Get broadcast by ID",
4210
4246
  "flags": {
4211
4247
  "api-key": {
4212
4248
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4269,49 +4305,11 @@
4269
4305
  "hasDynamicHelp": false,
4270
4306
  "multiple": false,
4271
4307
  "type": "option"
4272
- },
4273
- "file": {
4274
- "description": "CSV output file path",
4275
- "name": "file",
4276
- "required": true,
4277
- "hasDynamicHelp": false,
4278
- "multiple": false,
4279
- "type": "option"
4280
- },
4281
- "channel": {
4282
- "description": "Filter by channel ID",
4283
- "name": "channel",
4284
- "hasDynamicHelp": false,
4285
- "multiple": false,
4286
- "type": "option"
4287
- },
4288
- "search": {
4289
- "description": "Search by name or identifier",
4290
- "name": "search",
4291
- "hasDynamicHelp": false,
4292
- "multiple": false,
4293
- "type": "option"
4294
- },
4295
- "page": {
4296
- "description": "Page number",
4297
- "name": "page",
4298
- "default": 1,
4299
- "hasDynamicHelp": false,
4300
- "multiple": false,
4301
- "type": "option"
4302
- },
4303
- "limit": {
4304
- "description": "Items per page",
4305
- "name": "limit",
4306
- "default": 100,
4307
- "hasDynamicHelp": false,
4308
- "multiple": false,
4309
- "type": "option"
4310
4308
  }
4311
4309
  },
4312
4310
  "hasDynamicHelp": false,
4313
4311
  "hiddenAliases": [],
4314
- "id": "contacts:export",
4312
+ "id": "broadcast:get",
4315
4313
  "pluginAlias": "@instantkom/cli",
4316
4314
  "pluginName": "@instantkom/cli",
4317
4315
  "pluginType": "core",
@@ -4321,20 +4319,14 @@
4321
4319
  "relativePath": [
4322
4320
  "dist",
4323
4321
  "commands",
4324
- "contacts",
4325
- "export.js"
4322
+ "broadcast",
4323
+ "get.js"
4326
4324
  ]
4327
4325
  },
4328
- "contacts:get": {
4326
+ "broadcast:list": {
4329
4327
  "aliases": [],
4330
- "args": {
4331
- "id": {
4332
- "description": "Contact ID",
4333
- "name": "id",
4334
- "required": true
4335
- }
4336
- },
4337
- "description": "Get a contact by ID",
4328
+ "args": {},
4329
+ "description": "List broadcasts",
4338
4330
  "flags": {
4339
4331
  "api-key": {
4340
4332
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4397,11 +4389,73 @@
4397
4389
  "hasDynamicHelp": false,
4398
4390
  "multiple": false,
4399
4391
  "type": "option"
4392
+ },
4393
+ "page": {
4394
+ "description": "Page number",
4395
+ "name": "page",
4396
+ "default": 1,
4397
+ "hasDynamicHelp": false,
4398
+ "multiple": false,
4399
+ "type": "option"
4400
+ },
4401
+ "limit": {
4402
+ "description": "Items per page",
4403
+ "name": "limit",
4404
+ "default": 20,
4405
+ "hasDynamicHelp": false,
4406
+ "multiple": false,
4407
+ "type": "option"
4408
+ },
4409
+ "channel": {
4410
+ "description": "Filter by channel ID",
4411
+ "name": "channel",
4412
+ "hasDynamicHelp": false,
4413
+ "multiple": false,
4414
+ "type": "option"
4415
+ },
4416
+ "send-status": {
4417
+ "description": "Filter by send status",
4418
+ "name": "send-status",
4419
+ "hasDynamicHelp": false,
4420
+ "multiple": false,
4421
+ "type": "option"
4422
+ },
4423
+ "type": {
4424
+ "description": "Broadcast type",
4425
+ "name": "type",
4426
+ "hasDynamicHelp": false,
4427
+ "multiple": false,
4428
+ "options": [
4429
+ "text",
4430
+ "image",
4431
+ "video",
4432
+ "audio",
4433
+ "document"
4434
+ ],
4435
+ "type": "option"
4436
+ },
4437
+ "search": {
4438
+ "description": "Search broadcasts",
4439
+ "name": "search",
4440
+ "hasDynamicHelp": false,
4441
+ "multiple": false,
4442
+ "type": "option"
4443
+ },
4444
+ "test": {
4445
+ "description": "Filter test flag: 0 or 1",
4446
+ "name": "test",
4447
+ "hasDynamicHelp": false,
4448
+ "multiple": false,
4449
+ "options": [
4450
+ "0",
4451
+ "1"
4452
+ ],
4453
+ "type": "option"
4400
4454
  }
4401
4455
  },
4402
4456
  "hasDynamicHelp": false,
4403
4457
  "hiddenAliases": [],
4404
- "id": "contacts:get",
4458
+ "id": "broadcast:list",
4405
4459
  "pluginAlias": "@instantkom/cli",
4406
4460
  "pluginName": "@instantkom/cli",
4407
4461
  "pluginType": "core",
@@ -4411,14 +4465,20 @@
4411
4465
  "relativePath": [
4412
4466
  "dist",
4413
4467
  "commands",
4414
- "contacts",
4415
- "get.js"
4468
+ "broadcast",
4469
+ "list.js"
4416
4470
  ]
4417
4471
  },
4418
- "contacts:import": {
4472
+ "broadcast:send": {
4419
4473
  "aliases": [],
4420
- "args": {},
4421
- "description": "Import contacts from CSV",
4474
+ "args": {
4475
+ "id": {
4476
+ "description": "Broadcast ID",
4477
+ "name": "id",
4478
+ "required": true
4479
+ }
4480
+ },
4481
+ "description": "Send a broadcast immediately",
4422
4482
  "flags": {
4423
4483
  "api-key": {
4424
4484
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4481,27 +4541,11 @@
4481
4541
  "hasDynamicHelp": false,
4482
4542
  "multiple": false,
4483
4543
  "type": "option"
4484
- },
4485
- "file": {
4486
- "description": "CSV file path",
4487
- "name": "file",
4488
- "required": true,
4489
- "hasDynamicHelp": false,
4490
- "multiple": false,
4491
- "type": "option"
4492
- },
4493
- "channel": {
4494
- "description": "Channel ID",
4495
- "name": "channel",
4496
- "required": true,
4497
- "hasDynamicHelp": false,
4498
- "multiple": false,
4499
- "type": "option"
4500
4544
  }
4501
4545
  },
4502
4546
  "hasDynamicHelp": false,
4503
4547
  "hiddenAliases": [],
4504
- "id": "contacts:import",
4548
+ "id": "broadcast:send",
4505
4549
  "pluginAlias": "@instantkom/cli",
4506
4550
  "pluginName": "@instantkom/cli",
4507
4551
  "pluginType": "core",
@@ -4511,14 +4555,20 @@
4511
4555
  "relativePath": [
4512
4556
  "dist",
4513
4557
  "commands",
4514
- "contacts",
4515
- "import.js"
4558
+ "broadcast",
4559
+ "send.js"
4516
4560
  ]
4517
4561
  },
4518
- "contacts:list": {
4562
+ "broadcast:status": {
4519
4563
  "aliases": [],
4520
- "args": {},
4521
- "description": "List contacts",
4564
+ "args": {
4565
+ "id": {
4566
+ "description": "Broadcast ID",
4567
+ "name": "id",
4568
+ "required": true
4569
+ }
4570
+ },
4571
+ "description": "Show broadcast send status",
4522
4572
  "flags": {
4523
4573
  "api-key": {
4524
4574
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4581,106 +4631,11 @@
4581
4631
  "hasDynamicHelp": false,
4582
4632
  "multiple": false,
4583
4633
  "type": "option"
4584
- },
4585
- "channel": {
4586
- "description": "Filter by channel ID",
4587
- "name": "channel",
4588
- "hasDynamicHelp": false,
4589
- "multiple": false,
4590
- "type": "option"
4591
- },
4592
- "search": {
4593
- "description": "Search by name or identifier",
4594
- "name": "search",
4595
- "hasDynamicHelp": false,
4596
- "multiple": false,
4597
- "type": "option"
4598
- },
4599
- "page": {
4600
- "description": "Page number",
4601
- "name": "page",
4602
- "default": 1,
4603
- "hasDynamicHelp": false,
4604
- "multiple": false,
4605
- "type": "option"
4606
- },
4607
- "limit": {
4608
- "description": "Items per page",
4609
- "name": "limit",
4610
- "default": 20,
4611
- "hasDynamicHelp": false,
4612
- "multiple": false,
4613
- "type": "option"
4614
- },
4615
- "optin-status": {
4616
- "description": "Filter by opt-in status",
4617
- "name": "optin-status",
4618
- "hasDynamicHelp": false,
4619
- "multiple": false,
4620
- "options": [
4621
- "0",
4622
- "1"
4623
- ],
4624
- "type": "option"
4625
- },
4626
- "blocked": {
4627
- "description": "Filter by blocked status: 1 blocked, 0 not blocked",
4628
- "name": "blocked",
4629
- "hasDynamicHelp": false,
4630
- "multiple": false,
4631
- "options": [
4632
- "0",
4633
- "1"
4634
- ],
4635
- "type": "option"
4636
- },
4637
- "segment": {
4638
- "description": "Filter by segment ID",
4639
- "name": "segment",
4640
- "hasDynamicHelp": false,
4641
- "multiple": false,
4642
- "type": "option"
4643
- },
4644
- "tags": {
4645
- "description": "Comma-separated tag IDs",
4646
- "name": "tags",
4647
- "hasDynamicHelp": false,
4648
- "multiple": false,
4649
- "type": "option"
4650
- },
4651
- "tag-match": {
4652
- "description": "Tag match mode",
4653
- "name": "tag-match",
4654
- "hasDynamicHelp": false,
4655
- "multiple": false,
4656
- "options": [
4657
- "any",
4658
- "all"
4659
- ],
4660
- "type": "option"
4661
- },
4662
- "spam": {
4663
- "description": "Filter by spam status",
4664
- "name": "spam",
4665
- "hasDynamicHelp": false,
4666
- "multiple": false,
4667
- "options": [
4668
- "true",
4669
- "false"
4670
- ],
4671
- "type": "option"
4672
- },
4673
- "trust-level": {
4674
- "description": "Comma-separated trust levels",
4675
- "name": "trust-level",
4676
- "hasDynamicHelp": false,
4677
- "multiple": false,
4678
- "type": "option"
4679
4634
  }
4680
4635
  },
4681
4636
  "hasDynamicHelp": false,
4682
4637
  "hiddenAliases": [],
4683
- "id": "contacts:list",
4638
+ "id": "broadcast:status",
4684
4639
  "pluginAlias": "@instantkom/cli",
4685
4640
  "pluginName": "@instantkom/cli",
4686
4641
  "pluginType": "core",
@@ -4690,20 +4645,20 @@
4690
4645
  "relativePath": [
4691
4646
  "dist",
4692
4647
  "commands",
4693
- "contacts",
4694
- "list.js"
4648
+ "broadcast",
4649
+ "status.js"
4695
4650
  ]
4696
4651
  },
4697
- "contacts:update": {
4652
+ "broadcast:update": {
4698
4653
  "aliases": [],
4699
4654
  "args": {
4700
4655
  "id": {
4701
- "description": "Contact ID",
4656
+ "description": "Broadcast ID",
4702
4657
  "name": "id",
4703
4658
  "required": true
4704
4659
  }
4705
4660
  },
4706
- "description": "Update a contact",
4661
+ "description": "Update a broadcast",
4707
4662
  "flags": {
4708
4663
  "api-key": {
4709
4664
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4767,16 +4722,61 @@
4767
4722
  "multiple": false,
4768
4723
  "type": "option"
4769
4724
  },
4770
- "identifier": {
4771
- "description": "Unique contact identifier",
4772
- "name": "identifier",
4725
+ "text": {
4726
+ "description": "Broadcast message text",
4727
+ "name": "text",
4773
4728
  "hasDynamicHelp": false,
4774
4729
  "multiple": false,
4775
4730
  "type": "option"
4776
4731
  },
4777
- "name": {
4778
- "description": "Contact name",
4779
- "name": "name",
4732
+ "send-status": {
4733
+ "description": "Send status",
4734
+ "name": "send-status",
4735
+ "hasDynamicHelp": false,
4736
+ "multiple": false,
4737
+ "type": "option"
4738
+ },
4739
+ "scheduled-at": {
4740
+ "description": "Unix timestamp for scheduled send",
4741
+ "name": "scheduled-at",
4742
+ "hasDynamicHelp": false,
4743
+ "multiple": false,
4744
+ "type": "option"
4745
+ },
4746
+ "approved": {
4747
+ "description": "Mark as approved",
4748
+ "name": "approved",
4749
+ "allowNo": false,
4750
+ "type": "boolean"
4751
+ },
4752
+ "locked": {
4753
+ "description": "Mark as locked",
4754
+ "name": "locked",
4755
+ "allowNo": false,
4756
+ "type": "boolean"
4757
+ },
4758
+ "test": {
4759
+ "description": "Mark as test broadcast",
4760
+ "name": "test",
4761
+ "allowNo": false,
4762
+ "type": "boolean"
4763
+ },
4764
+ "template-id": {
4765
+ "description": "Template ID",
4766
+ "name": "template-id",
4767
+ "hasDynamicHelp": false,
4768
+ "multiple": false,
4769
+ "type": "option"
4770
+ },
4771
+ "remove-media": {
4772
+ "description": "Remove existing media",
4773
+ "name": "remove-media",
4774
+ "allowNo": false,
4775
+ "type": "boolean"
4776
+ },
4777
+ "header-footer": {
4778
+ "description": "Header/footer JSON array",
4779
+ "name": "header-footer",
4780
4780
  "hasDynamicHelp": false,
4781
4781
  "multiple": false,
4782
4782
  "type": "option"
@@ -4791,7 +4791,7 @@
4791
4791
  },
4792
4792
  "hasDynamicHelp": false,
4793
4793
  "hiddenAliases": [],
4794
- "id": "contacts:update",
4794
+ "id": "broadcast:update",
4795
4795
  "pluginAlias": "@instantkom/cli",
4796
4796
  "pluginName": "@instantkom/cli",
4797
4797
  "pluginType": "core",
@@ -4801,14 +4801,14 @@
4801
4801
  "relativePath": [
4802
4802
  "dist",
4803
4803
  "commands",
4804
- "contacts",
4804
+ "broadcast",
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,18 +4864,74 @@
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"
4874
+ },
4875
+ "sources": {
4876
+ "description": "Data sources to export",
4877
+ "name": "sources",
4878
+ "hasDynamicHelp": false,
4879
+ "multiple": false,
4880
+ "type": "option"
4881
+ },
4882
+ "type": {
4883
+ "description": "Alias for --sources",
4884
+ "name": "type",
4885
+ "hasDynamicHelp": false,
4886
+ "multiple": false,
4887
+ "type": "option"
4888
+ },
4889
+ "target": {
4890
+ "description": "Export target/format",
4891
+ "name": "target",
4892
+ "hasDynamicHelp": false,
4893
+ "multiple": false,
4894
+ "type": "option"
4895
+ },
4896
+ "channels": {
4897
+ "description": "Comma-separated channel IDs",
4898
+ "name": "channels",
4899
+ "hasDynamicHelp": false,
4900
+ "multiple": false,
4901
+ "type": "option"
4902
+ },
4903
+ "fields": {
4904
+ "description": "Comma-separated fields",
4905
+ "name": "fields",
4906
+ "hasDynamicHelp": false,
4907
+ "multiple": false,
4908
+ "type": "option"
4909
+ },
4910
+ "filters": {
4911
+ "description": "Filter criteria",
4912
+ "name": "filters",
4913
+ "hasDynamicHelp": false,
4914
+ "multiple": false,
4915
+ "type": "option"
4916
+ },
4917
+ "color": {
4918
+ "description": "Export color as HEX",
4919
+ "name": "color",
4920
+ "hasDynamicHelp": false,
4921
+ "multiple": false,
4922
+ "type": "option"
4923
+ },
4924
+ "data": {
4925
+ "description": "Additional JSON object payload",
4926
+ "name": "data",
4927
+ "hasDynamicHelp": false,
4928
+ "multiple": false,
4929
+ "type": "option"
4882
4930
  }
4883
4931
  },
4884
4932
  "hasDynamicHelp": false,
4885
4933
  "hiddenAliases": [],
4886
- "id": "custom-fields:bulk-delete",
4934
+ "id": "exports:create",
4887
4935
  "pluginAlias": "@instantkom/cli",
4888
4936
  "pluginName": "@instantkom/cli",
4889
4937
  "pluginType": "core",
@@ -4893,14 +4941,20 @@
4893
4941
  "relativePath": [
4894
4942
  "dist",
4895
4943
  "commands",
4896
- "custom-fields",
4897
- "bulk-delete.js"
4944
+ "exports",
4945
+ "create.js"
4898
4946
  ]
4899
4947
  },
4900
- "custom-fields:create": {
4948
+ "exports:delete": {
4901
4949
  "aliases": [],
4902
- "args": {},
4903
- "description": "Create a custom field",
4950
+ "args": {
4951
+ "id": {
4952
+ "description": "Export ID",
4953
+ "name": "id",
4954
+ "required": true
4955
+ }
4956
+ },
4957
+ "description": "Delete an export",
4904
4958
  "flags": {
4905
4959
  "api-key": {
4906
4960
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4926,101 +4980,40 @@
4926
4980
  ],
4927
4981
  "type": "option"
4928
4982
  },
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
- },
4950
- "profile": {
4951
- "description": "Named configuration profile to use",
4952
- "helpGroup": "GLOBAL",
4953
- "name": "profile",
4954
- "default": "default",
4955
- "hasDynamicHelp": false,
4956
- "multiple": false,
4957
- "type": "option"
4958
- },
4959
- "api-url": {
4960
- "description": "Override the API base URL (e.g. for staging)",
4961
- "helpGroup": "GLOBAL",
4962
- "name": "api-url",
4963
- "hasDynamicHelp": false,
4964
- "multiple": false,
4965
- "type": "option"
4966
- },
4967
- "name": {
4968
- "description": "Field name",
4969
- "name": "name",
4970
- "required": true,
4971
- "hasDynamicHelp": false,
4972
- "multiple": false,
4973
- "type": "option"
4974
- },
4975
- "key": {
4976
- "description": "Field key",
4977
- "name": "key",
4978
- "required": true,
4979
- "hasDynamicHelp": false,
4980
- "multiple": false,
4981
- "type": "option"
4982
- },
4983
- "type": {
4984
- "description": "Field type",
4985
- "name": "type",
4986
- "required": true,
4987
- "hasDynamicHelp": false,
4988
- "multiple": false,
4989
- "options": [
4990
- "text",
4991
- "number",
4992
- "date",
4993
- "dropdown",
4994
- "checkbox",
4995
- "url",
4996
- "email",
4997
- "phone"
4998
- ],
4999
- "type": "option"
5000
- },
5001
- "required": {
5002
- "description": "Field is required",
5003
- "name": "required",
4983
+ "json": {
4984
+ "description": "Output in JSON format (alias for --format=json)",
4985
+ "helpGroup": "GLOBAL",
4986
+ "name": "json",
5004
4987
  "allowNo": false,
5005
4988
  "type": "boolean"
5006
4989
  },
5007
- "default": {
5008
- "description": "Default value",
5009
- "name": "default",
5010
- "hasDynamicHelp": false,
5011
- "multiple": false,
5012
- "type": "option"
4990
+ "quiet": {
4991
+ "description": "Suppress all output except errors",
4992
+ "helpGroup": "GLOBAL",
4993
+ "name": "quiet",
4994
+ "allowNo": false,
4995
+ "type": "boolean"
5013
4996
  },
5014
- "options": {
5015
- "description": "Comma-separated dropdown options",
5016
- "name": "options",
4997
+ "no-color": {
4998
+ "description": "Disable color output",
4999
+ "helpGroup": "GLOBAL",
5000
+ "name": "no-color",
5001
+ "allowNo": false,
5002
+ "type": "boolean"
5003
+ },
5004
+ "profile": {
5005
+ "description": "Named configuration profile to use",
5006
+ "helpGroup": "GLOBAL",
5007
+ "name": "profile",
5008
+ "default": "default",
5017
5009
  "hasDynamicHelp": false,
5018
5010
  "multiple": false,
5019
5011
  "type": "option"
5020
5012
  },
5021
- "data": {
5022
- "description": "Additional JSON object payload",
5023
- "name": "data",
5013
+ "api-url": {
5014
+ "description": "Override the API base URL (e.g. for staging)",
5015
+ "helpGroup": "GLOBAL",
5016
+ "name": "api-url",
5024
5017
  "hasDynamicHelp": false,
5025
5018
  "multiple": false,
5026
5019
  "type": "option"
@@ -5028,7 +5021,7 @@
5028
5021
  },
5029
5022
  "hasDynamicHelp": false,
5030
5023
  "hiddenAliases": [],
5031
- "id": "custom-fields:create",
5024
+ "id": "exports:delete",
5032
5025
  "pluginAlias": "@instantkom/cli",
5033
5026
  "pluginName": "@instantkom/cli",
5034
5027
  "pluginType": "core",
@@ -5038,20 +5031,20 @@
5038
5031
  "relativePath": [
5039
5032
  "dist",
5040
5033
  "commands",
5041
- "custom-fields",
5042
- "create.js"
5034
+ "exports",
5035
+ "delete.js"
5043
5036
  ]
5044
5037
  },
5045
- "custom-fields:delete": {
5038
+ "exports:download": {
5046
5039
  "aliases": [],
5047
5040
  "args": {
5048
5041
  "id": {
5049
- "description": "custom field ID",
5042
+ "description": "Export ID",
5050
5043
  "name": "id",
5051
5044
  "required": true
5052
5045
  }
5053
5046
  },
5054
- "description": "Delete custom field",
5047
+ "description": "Download an export file",
5055
5048
  "flags": {
5056
5049
  "api-key": {
5057
5050
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5114,11 +5107,18 @@
5114
5107
  "hasDynamicHelp": false,
5115
5108
  "multiple": false,
5116
5109
  "type": "option"
5110
+ },
5111
+ "file": {
5112
+ "description": "Output file path",
5113
+ "name": "file",
5114
+ "hasDynamicHelp": false,
5115
+ "multiple": false,
5116
+ "type": "option"
5117
5117
  }
5118
5118
  },
5119
5119
  "hasDynamicHelp": false,
5120
5120
  "hiddenAliases": [],
5121
- "id": "custom-fields:delete",
5121
+ "id": "exports:download",
5122
5122
  "pluginAlias": "@instantkom/cli",
5123
5123
  "pluginName": "@instantkom/cli",
5124
5124
  "pluginType": "core",
@@ -5128,20 +5128,20 @@
5128
5128
  "relativePath": [
5129
5129
  "dist",
5130
5130
  "commands",
5131
- "custom-fields",
5132
- "delete.js"
5131
+ "exports",
5132
+ "download.js"
5133
5133
  ]
5134
5134
  },
5135
- "custom-fields:get": {
5135
+ "exports:get": {
5136
5136
  "aliases": [],
5137
5137
  "args": {
5138
5138
  "id": {
5139
- "description": "custom field ID",
5139
+ "description": "Export ID",
5140
5140
  "name": "id",
5141
5141
  "required": true
5142
5142
  }
5143
5143
  },
5144
- "description": "Get custom field by ID",
5144
+ "description": "Get an export by ID",
5145
5145
  "flags": {
5146
5146
  "api-key": {
5147
5147
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5208,7 +5208,7 @@
5208
5208
  },
5209
5209
  "hasDynamicHelp": false,
5210
5210
  "hiddenAliases": [],
5211
- "id": "custom-fields:get",
5211
+ "id": "exports:get",
5212
5212
  "pluginAlias": "@instantkom/cli",
5213
5213
  "pluginName": "@instantkom/cli",
5214
5214
  "pluginType": "core",
@@ -5218,14 +5218,14 @@
5218
5218
  "relativePath": [
5219
5219
  "dist",
5220
5220
  "commands",
5221
- "custom-fields",
5221
+ "exports",
5222
5222
  "get.js"
5223
5223
  ]
5224
5224
  },
5225
- "custom-fields:list": {
5225
+ "exports:list": {
5226
5226
  "aliases": [],
5227
5227
  "args": {},
5228
- "description": "List custom fields",
5228
+ "description": "List exports",
5229
5229
  "flags": {
5230
5230
  "api-key": {
5231
5231
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5288,11 +5288,41 @@
5288
5288
  "hasDynamicHelp": false,
5289
5289
  "multiple": false,
5290
5290
  "type": "option"
5291
+ },
5292
+ "page": {
5293
+ "description": "Page number",
5294
+ "name": "page",
5295
+ "default": 1,
5296
+ "hasDynamicHelp": false,
5297
+ "multiple": false,
5298
+ "type": "option"
5299
+ },
5300
+ "limit": {
5301
+ "description": "Items per page",
5302
+ "name": "limit",
5303
+ "default": 50,
5304
+ "hasDynamicHelp": false,
5305
+ "multiple": false,
5306
+ "type": "option"
5307
+ },
5308
+ "source": {
5309
+ "description": "Filter by data source",
5310
+ "name": "source",
5311
+ "hasDynamicHelp": false,
5312
+ "multiple": false,
5313
+ "type": "option"
5314
+ },
5315
+ "target": {
5316
+ "description": "Filter by export target/format",
5317
+ "name": "target",
5318
+ "hasDynamicHelp": false,
5319
+ "multiple": false,
5320
+ "type": "option"
5291
5321
  }
5292
5322
  },
5293
5323
  "hasDynamicHelp": false,
5294
5324
  "hiddenAliases": [],
5295
- "id": "custom-fields:list",
5325
+ "id": "exports:list",
5296
5326
  "pluginAlias": "@instantkom/cli",
5297
5327
  "pluginName": "@instantkom/cli",
5298
5328
  "pluginType": "core",
@@ -5302,14 +5332,14 @@
5302
5332
  "relativePath": [
5303
5333
  "dist",
5304
5334
  "commands",
5305
- "custom-fields",
5335
+ "exports",
5306
5336
  "list.js"
5307
5337
  ]
5308
5338
  },
5309
- "custom-fields:reorder": {
5339
+ "custom-fields:bulk-delete": {
5310
5340
  "aliases": [],
5311
5341
  "args": {},
5312
- "description": "Reorder custom fields",
5342
+ "description": "Bulk delete custom fields",
5313
5343
  "flags": {
5314
5344
  "api-key": {
5315
5345
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5373,9 +5403,9 @@
5373
5403
  "multiple": false,
5374
5404
  "type": "option"
5375
5405
  },
5376
- "order": {
5377
- "description": "Order JSON array payload",
5378
- "name": "order",
5406
+ "ids": {
5407
+ "description": "Comma-separated custom field IDs",
5408
+ "name": "ids",
5379
5409
  "required": true,
5380
5410
  "hasDynamicHelp": false,
5381
5411
  "multiple": false,
@@ -5384,7 +5414,7 @@
5384
5414
  },
5385
5415
  "hasDynamicHelp": false,
5386
5416
  "hiddenAliases": [],
5387
- "id": "custom-fields:reorder",
5417
+ "id": "custom-fields:bulk-delete",
5388
5418
  "pluginAlias": "@instantkom/cli",
5389
5419
  "pluginName": "@instantkom/cli",
5390
5420
  "pluginType": "core",
@@ -5395,19 +5425,13 @@
5395
5425
  "dist",
5396
5426
  "commands",
5397
5427
  "custom-fields",
5398
- "reorder.js"
5428
+ "bulk-delete.js"
5399
5429
  ]
5400
5430
  },
5401
- "custom-fields:update": {
5431
+ "custom-fields:create": {
5402
5432
  "aliases": [],
5403
- "args": {
5404
- "id": {
5405
- "description": "Custom field ID",
5406
- "name": "id",
5407
- "required": true
5408
- }
5409
- },
5410
- "description": "Update a custom field",
5433
+ "args": {},
5434
+ "description": "Create a custom field",
5411
5435
  "flags": {
5412
5436
  "api-key": {
5413
5437
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5474,6 +5498,15 @@
5474
5498
  "name": {
5475
5499
  "description": "Field name",
5476
5500
  "name": "name",
5501
+ "required": true,
5502
+ "hasDynamicHelp": false,
5503
+ "multiple": false,
5504
+ "type": "option"
5505
+ },
5506
+ "key": {
5507
+ "description": "Field key",
5508
+ "name": "key",
5509
+ "required": true,
5477
5510
  "hasDynamicHelp": false,
5478
5511
  "multiple": false,
5479
5512
  "type": "option"
@@ -5481,6 +5514,7 @@
5481
5514
  "type": {
5482
5515
  "description": "Field type",
5483
5516
  "name": "type",
5517
+ "required": true,
5484
5518
  "hasDynamicHelp": false,
5485
5519
  "multiple": false,
5486
5520
  "options": [
@@ -5498,13 +5532,7 @@
5498
5532
  "required": {
5499
5533
  "description": "Field is required",
5500
5534
  "name": "required",
5501
- "allowNo": true,
5502
- "type": "boolean"
5503
- },
5504
- "status": {
5505
- "description": "Field is active",
5506
- "name": "status",
5507
- "allowNo": true,
5535
+ "allowNo": false,
5508
5536
  "type": "boolean"
5509
5537
  },
5510
5538
  "default": {
@@ -5531,7 +5559,7 @@
5531
5559
  },
5532
5560
  "hasDynamicHelp": false,
5533
5561
  "hiddenAliases": [],
5534
- "id": "custom-fields:update",
5562
+ "id": "custom-fields:create",
5535
5563
  "pluginAlias": "@instantkom/cli",
5536
5564
  "pluginName": "@instantkom/cli",
5537
5565
  "pluginType": "core",
@@ -5542,13 +5570,19 @@
5542
5570
  "dist",
5543
5571
  "commands",
5544
5572
  "custom-fields",
5545
- "update.js"
5573
+ "create.js"
5546
5574
  ]
5547
5575
  },
5548
- "exports:create": {
5576
+ "custom-fields:delete": {
5549
5577
  "aliases": [],
5550
- "args": {},
5551
- "description": "Create an export",
5578
+ "args": {
5579
+ "id": {
5580
+ "description": "custom field ID",
5581
+ "name": "id",
5582
+ "required": true
5583
+ }
5584
+ },
5585
+ "description": "Delete custom field",
5552
5586
  "flags": {
5553
5587
  "api-key": {
5554
5588
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5560,10 +5594,18 @@
5560
5594
  "type": "option"
5561
5595
  },
5562
5596
  "format": {
5563
- "description": "Alias for --target",
5597
+ "description": "Output format: text, json, yaml, or table",
5598
+ "helpGroup": "GLOBAL",
5564
5599
  "name": "format",
5600
+ "default": "text",
5565
5601
  "hasDynamicHelp": false,
5566
5602
  "multiple": false,
5603
+ "options": [
5604
+ "text",
5605
+ "json",
5606
+ "yaml",
5607
+ "table"
5608
+ ],
5567
5609
  "type": "option"
5568
5610
  },
5569
5611
  "json": {
@@ -5585,85 +5627,21 @@
5585
5627
  "helpGroup": "GLOBAL",
5586
5628
  "name": "no-color",
5587
5629
  "allowNo": false,
5588
- "type": "boolean"
5589
- },
5590
- "profile": {
5591
- "description": "Named configuration profile to use",
5592
- "helpGroup": "GLOBAL",
5593
- "name": "profile",
5594
- "default": "default",
5595
- "hasDynamicHelp": false,
5596
- "multiple": false,
5597
- "type": "option"
5598
- },
5599
- "api-url": {
5600
- "description": "Override the API base URL (e.g. for staging)",
5601
- "helpGroup": "GLOBAL",
5602
- "name": "api-url",
5603
- "hasDynamicHelp": false,
5604
- "multiple": false,
5605
- "type": "option"
5606
- },
5607
- "name": {
5608
- "description": "Export name",
5609
- "name": "name",
5610
- "required": true,
5611
- "hasDynamicHelp": false,
5612
- "multiple": false,
5613
- "type": "option"
5614
- },
5615
- "sources": {
5616
- "description": "Data sources to export",
5617
- "name": "sources",
5618
- "hasDynamicHelp": false,
5619
- "multiple": false,
5620
- "type": "option"
5621
- },
5622
- "type": {
5623
- "description": "Alias for --sources",
5624
- "name": "type",
5625
- "hasDynamicHelp": false,
5626
- "multiple": false,
5627
- "type": "option"
5628
- },
5629
- "target": {
5630
- "description": "Export target/format",
5631
- "name": "target",
5632
- "hasDynamicHelp": false,
5633
- "multiple": false,
5634
- "type": "option"
5635
- },
5636
- "channels": {
5637
- "description": "Comma-separated channel IDs",
5638
- "name": "channels",
5639
- "hasDynamicHelp": false,
5640
- "multiple": false,
5641
- "type": "option"
5642
- },
5643
- "fields": {
5644
- "description": "Comma-separated fields",
5645
- "name": "fields",
5646
- "hasDynamicHelp": false,
5647
- "multiple": false,
5648
- "type": "option"
5649
- },
5650
- "filters": {
5651
- "description": "Filter criteria",
5652
- "name": "filters",
5653
- "hasDynamicHelp": false,
5654
- "multiple": false,
5655
- "type": "option"
5656
- },
5657
- "color": {
5658
- "description": "Export color as HEX",
5659
- "name": "color",
5630
+ "type": "boolean"
5631
+ },
5632
+ "profile": {
5633
+ "description": "Named configuration profile to use",
5634
+ "helpGroup": "GLOBAL",
5635
+ "name": "profile",
5636
+ "default": "default",
5660
5637
  "hasDynamicHelp": false,
5661
5638
  "multiple": false,
5662
5639
  "type": "option"
5663
5640
  },
5664
- "data": {
5665
- "description": "Additional JSON object payload",
5666
- "name": "data",
5641
+ "api-url": {
5642
+ "description": "Override the API base URL (e.g. for staging)",
5643
+ "helpGroup": "GLOBAL",
5644
+ "name": "api-url",
5667
5645
  "hasDynamicHelp": false,
5668
5646
  "multiple": false,
5669
5647
  "type": "option"
@@ -5671,7 +5649,7 @@
5671
5649
  },
5672
5650
  "hasDynamicHelp": false,
5673
5651
  "hiddenAliases": [],
5674
- "id": "exports:create",
5652
+ "id": "custom-fields:delete",
5675
5653
  "pluginAlias": "@instantkom/cli",
5676
5654
  "pluginName": "@instantkom/cli",
5677
5655
  "pluginType": "core",
@@ -5681,20 +5659,20 @@
5681
5659
  "relativePath": [
5682
5660
  "dist",
5683
5661
  "commands",
5684
- "exports",
5685
- "create.js"
5662
+ "custom-fields",
5663
+ "delete.js"
5686
5664
  ]
5687
5665
  },
5688
- "exports:delete": {
5666
+ "custom-fields:get": {
5689
5667
  "aliases": [],
5690
5668
  "args": {
5691
5669
  "id": {
5692
- "description": "Export ID",
5670
+ "description": "custom field ID",
5693
5671
  "name": "id",
5694
5672
  "required": true
5695
5673
  }
5696
5674
  },
5697
- "description": "Delete an export",
5675
+ "description": "Get custom field by ID",
5698
5676
  "flags": {
5699
5677
  "api-key": {
5700
5678
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5761,7 +5739,7 @@
5761
5739
  },
5762
5740
  "hasDynamicHelp": false,
5763
5741
  "hiddenAliases": [],
5764
- "id": "exports:delete",
5742
+ "id": "custom-fields:get",
5765
5743
  "pluginAlias": "@instantkom/cli",
5766
5744
  "pluginName": "@instantkom/cli",
5767
5745
  "pluginType": "core",
@@ -5771,20 +5749,14 @@
5771
5749
  "relativePath": [
5772
5750
  "dist",
5773
5751
  "commands",
5774
- "exports",
5775
- "delete.js"
5752
+ "custom-fields",
5753
+ "get.js"
5776
5754
  ]
5777
5755
  },
5778
- "exports:download": {
5756
+ "custom-fields:list": {
5779
5757
  "aliases": [],
5780
- "args": {
5781
- "id": {
5782
- "description": "Export ID",
5783
- "name": "id",
5784
- "required": true
5785
- }
5786
- },
5787
- "description": "Download an export file",
5758
+ "args": {},
5759
+ "description": "List custom fields",
5788
5760
  "flags": {
5789
5761
  "api-key": {
5790
5762
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5847,18 +5819,11 @@
5847
5819
  "hasDynamicHelp": false,
5848
5820
  "multiple": false,
5849
5821
  "type": "option"
5850
- },
5851
- "file": {
5852
- "description": "Output file path",
5853
- "name": "file",
5854
- "hasDynamicHelp": false,
5855
- "multiple": false,
5856
- "type": "option"
5857
5822
  }
5858
5823
  },
5859
5824
  "hasDynamicHelp": false,
5860
5825
  "hiddenAliases": [],
5861
- "id": "exports:download",
5826
+ "id": "custom-fields:list",
5862
5827
  "pluginAlias": "@instantkom/cli",
5863
5828
  "pluginName": "@instantkom/cli",
5864
5829
  "pluginType": "core",
@@ -5868,20 +5833,14 @@
5868
5833
  "relativePath": [
5869
5834
  "dist",
5870
5835
  "commands",
5871
- "exports",
5872
- "download.js"
5836
+ "custom-fields",
5837
+ "list.js"
5873
5838
  ]
5874
5839
  },
5875
- "exports:get": {
5840
+ "custom-fields:reorder": {
5876
5841
  "aliases": [],
5877
- "args": {
5878
- "id": {
5879
- "description": "Export ID",
5880
- "name": "id",
5881
- "required": true
5882
- }
5883
- },
5884
- "description": "Get an export by ID",
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": {
@@ -10192,114 +10192,14 @@
10192
10192
  },
10193
10193
  "header-footer": {
10194
10194
  "description": "Header/footer JSON object",
10195
- "name": "header-footer",
10196
- "hasDynamicHelp": false,
10197
- "multiple": false,
10198
- "type": "option"
10199
- },
10200
- "data": {
10201
- "description": "Additional JSON object payload",
10202
- "name": "data",
10203
- "hasDynamicHelp": false,
10204
- "multiple": false,
10205
- "type": "option"
10206
- }
10207
- },
10208
- "hasDynamicHelp": false,
10209
- "hiddenAliases": [],
10210
- "id": "templates:update",
10211
- "pluginAlias": "@instantkom/cli",
10212
- "pluginName": "@instantkom/cli",
10213
- "pluginType": "core",
10214
- "strict": true,
10215
- "enableJsonFlag": false,
10216
- "isESM": true,
10217
- "relativePath": [
10218
- "dist",
10219
- "commands",
10220
- "templates",
10221
- "update.js"
10222
- ]
10223
- },
10224
- "templates:validate-import": {
10225
- "aliases": [],
10226
- "args": {},
10227
- "description": "Validate templates import JSON",
10228
- "flags": {
10229
- "api-key": {
10230
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
10231
- "env": "IKM_API_KEY",
10232
- "helpGroup": "GLOBAL",
10233
- "name": "api-key",
10234
- "hasDynamicHelp": false,
10235
- "multiple": false,
10236
- "type": "option"
10237
- },
10238
- "format": {
10239
- "description": "Output format: text, json, yaml, or table",
10240
- "helpGroup": "GLOBAL",
10241
- "name": "format",
10242
- "default": "text",
10243
- "hasDynamicHelp": false,
10244
- "multiple": false,
10245
- "options": [
10246
- "text",
10247
- "json",
10248
- "yaml",
10249
- "table"
10250
- ],
10251
- "type": "option"
10252
- },
10253
- "json": {
10254
- "description": "Output in JSON format (alias for --format=json)",
10255
- "helpGroup": "GLOBAL",
10256
- "name": "json",
10257
- "allowNo": false,
10258
- "type": "boolean"
10259
- },
10260
- "quiet": {
10261
- "description": "Suppress all output except errors",
10262
- "helpGroup": "GLOBAL",
10263
- "name": "quiet",
10264
- "allowNo": false,
10265
- "type": "boolean"
10266
- },
10267
- "no-color": {
10268
- "description": "Disable color output",
10269
- "helpGroup": "GLOBAL",
10270
- "name": "no-color",
10271
- "allowNo": false,
10272
- "type": "boolean"
10273
- },
10274
- "profile": {
10275
- "description": "Named configuration profile to use",
10276
- "helpGroup": "GLOBAL",
10277
- "name": "profile",
10278
- "default": "default",
10279
- "hasDynamicHelp": false,
10280
- "multiple": false,
10281
- "type": "option"
10282
- },
10283
- "api-url": {
10284
- "description": "Override the API base URL (e.g. for staging)",
10285
- "helpGroup": "GLOBAL",
10286
- "name": "api-url",
10287
- "hasDynamicHelp": false,
10288
- "multiple": false,
10289
- "type": "option"
10290
- },
10291
- "file": {
10292
- "description": "JSON file path",
10293
- "name": "file",
10294
- "required": true,
10195
+ "name": "header-footer",
10295
10196
  "hasDynamicHelp": false,
10296
10197
  "multiple": false,
10297
10198
  "type": "option"
10298
10199
  },
10299
- "channel": {
10300
- "description": "Target channel ID",
10301
- "name": "channel",
10302
- "required": true,
10200
+ "data": {
10201
+ "description": "Additional JSON object payload",
10202
+ "name": "data",
10303
10203
  "hasDynamicHelp": false,
10304
10204
  "multiple": false,
10305
10205
  "type": "option"
@@ -10307,7 +10207,7 @@
10307
10207
  },
10308
10208
  "hasDynamicHelp": false,
10309
10209
  "hiddenAliases": [],
10310
- "id": "templates:validate-import",
10210
+ "id": "templates:update",
10311
10211
  "pluginAlias": "@instantkom/cli",
10312
10212
  "pluginName": "@instantkom/cli",
10313
10213
  "pluginType": "core",
@@ -10318,13 +10218,13 @@
10318
10218
  "dist",
10319
10219
  "commands",
10320
10220
  "templates",
10321
- "validate-import.js"
10221
+ "update.js"
10322
10222
  ]
10323
10223
  },
10324
- "webhooks:add": {
10224
+ "templates:validate-import": {
10325
10225
  "aliases": [],
10326
10226
  "args": {},
10327
- "description": "Add a webhook subscription",
10227
+ "description": "Validate templates import JSON",
10328
10228
  "flags": {
10329
10229
  "api-key": {
10330
10230
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10388,24 +10288,17 @@
10388
10288
  "multiple": false,
10389
10289
  "type": "option"
10390
10290
  },
10391
- "event": {
10392
- "description": "Webhook event to subscribe to",
10393
- "name": "event",
10291
+ "file": {
10292
+ "description": "JSON file path",
10293
+ "name": "file",
10394
10294
  "required": true,
10395
10295
  "hasDynamicHelp": false,
10396
10296
  "multiple": false,
10397
- "options": [
10398
- "new_contact",
10399
- "new_message",
10400
- "broadcast_sent",
10401
- "contact_updated",
10402
- "contact_opted_out"
10403
- ],
10404
10297
  "type": "option"
10405
10298
  },
10406
- "url": {
10407
- "description": "HTTPS target URL that receives webhook POSTs",
10408
- "name": "url",
10299
+ "channel": {
10300
+ "description": "Target channel ID",
10301
+ "name": "channel",
10409
10302
  "required": true,
10410
10303
  "hasDynamicHelp": false,
10411
10304
  "multiple": false,
@@ -10414,7 +10307,7 @@
10414
10307
  },
10415
10308
  "hasDynamicHelp": false,
10416
10309
  "hiddenAliases": [],
10417
- "id": "webhooks:add",
10310
+ "id": "templates:validate-import",
10418
10311
  "pluginAlias": "@instantkom/cli",
10419
10312
  "pluginName": "@instantkom/cli",
10420
10313
  "pluginType": "core",
@@ -10424,14 +10317,14 @@
10424
10317
  "relativePath": [
10425
10318
  "dist",
10426
10319
  "commands",
10427
- "webhooks",
10428
- "add.js"
10320
+ "templates",
10321
+ "validate-import.js"
10429
10322
  ]
10430
10323
  },
10431
- "webhooks:events": {
10324
+ "tickets:create": {
10432
10325
  "aliases": [],
10433
10326
  "args": {},
10434
- "description": "List supported webhook event names",
10327
+ "description": "Create a ticket",
10435
10328
  "flags": {
10436
10329
  "api-key": {
10437
10330
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10494,11 +10387,69 @@
10494
10387
  "hasDynamicHelp": false,
10495
10388
  "multiple": false,
10496
10389
  "type": "option"
10390
+ },
10391
+ "channel": {
10392
+ "description": "Channel ID",
10393
+ "name": "channel",
10394
+ "required": true,
10395
+ "hasDynamicHelp": false,
10396
+ "multiple": false,
10397
+ "type": "option"
10398
+ },
10399
+ "subject": {
10400
+ "description": "Ticket subject",
10401
+ "name": "subject",
10402
+ "required": true,
10403
+ "hasDynamicHelp": false,
10404
+ "multiple": false,
10405
+ "type": "option"
10406
+ },
10407
+ "recipient": {
10408
+ "description": "Existing recipient ID",
10409
+ "name": "recipient",
10410
+ "hasDynamicHelp": false,
10411
+ "multiple": false,
10412
+ "type": "option"
10413
+ },
10414
+ "email": {
10415
+ "description": "Customer email",
10416
+ "name": "email",
10417
+ "hasDynamicHelp": false,
10418
+ "multiple": false,
10419
+ "type": "option"
10420
+ },
10421
+ "name": {
10422
+ "description": "Customer name",
10423
+ "name": "name",
10424
+ "hasDynamicHelp": false,
10425
+ "multiple": false,
10426
+ "type": "option"
10427
+ },
10428
+ "priority": {
10429
+ "description": "Ticket priority",
10430
+ "name": "priority",
10431
+ "hasDynamicHelp": false,
10432
+ "multiple": false,
10433
+ "type": "option"
10434
+ },
10435
+ "source": {
10436
+ "description": "Ticket source",
10437
+ "name": "source",
10438
+ "hasDynamicHelp": false,
10439
+ "multiple": false,
10440
+ "type": "option"
10441
+ },
10442
+ "data": {
10443
+ "description": "Additional JSON object payload",
10444
+ "name": "data",
10445
+ "hasDynamicHelp": false,
10446
+ "multiple": false,
10447
+ "type": "option"
10497
10448
  }
10498
10449
  },
10499
10450
  "hasDynamicHelp": false,
10500
10451
  "hiddenAliases": [],
10501
- "id": "webhooks:events",
10452
+ "id": "tickets:create",
10502
10453
  "pluginAlias": "@instantkom/cli",
10503
10454
  "pluginName": "@instantkom/cli",
10504
10455
  "pluginType": "core",
@@ -10508,14 +10459,20 @@
10508
10459
  "relativePath": [
10509
10460
  "dist",
10510
10461
  "commands",
10511
- "webhooks",
10512
- "events.js"
10462
+ "tickets",
10463
+ "create.js"
10513
10464
  ]
10514
10465
  },
10515
- "webhooks:list": {
10466
+ "tickets:delete": {
10516
10467
  "aliases": [],
10517
- "args": {},
10518
- "description": "List webhook subscriptions",
10468
+ "args": {
10469
+ "id": {
10470
+ "description": "Ticket ID",
10471
+ "name": "id",
10472
+ "required": true
10473
+ }
10474
+ },
10475
+ "description": "Delete a ticket",
10519
10476
  "flags": {
10520
10477
  "api-key": {
10521
10478
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10578,11 +10535,19 @@
10578
10535
  "hasDynamicHelp": false,
10579
10536
  "multiple": false,
10580
10537
  "type": "option"
10538
+ },
10539
+ "channel": {
10540
+ "description": "Channel ID",
10541
+ "name": "channel",
10542
+ "required": true,
10543
+ "hasDynamicHelp": false,
10544
+ "multiple": false,
10545
+ "type": "option"
10581
10546
  }
10582
10547
  },
10583
10548
  "hasDynamicHelp": false,
10584
10549
  "hiddenAliases": [],
10585
- "id": "webhooks:list",
10550
+ "id": "tickets:delete",
10586
10551
  "pluginAlias": "@instantkom/cli",
10587
10552
  "pluginName": "@instantkom/cli",
10588
10553
  "pluginType": "core",
@@ -10592,14 +10557,20 @@
10592
10557
  "relativePath": [
10593
10558
  "dist",
10594
10559
  "commands",
10595
- "webhooks",
10596
- "list.js"
10560
+ "tickets",
10561
+ "delete.js"
10597
10562
  ]
10598
10563
  },
10599
- "webhooks:logs": {
10564
+ "tickets:get": {
10600
10565
  "aliases": [],
10601
- "args": {},
10602
- "description": "Explain webhook log availability",
10566
+ "args": {
10567
+ "id": {
10568
+ "description": "Ticket ID",
10569
+ "name": "id",
10570
+ "required": true
10571
+ }
10572
+ },
10573
+ "description": "Get a ticket by ID",
10603
10574
  "flags": {
10604
10575
  "api-key": {
10605
10576
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10662,11 +10633,19 @@
10662
10633
  "hasDynamicHelp": false,
10663
10634
  "multiple": false,
10664
10635
  "type": "option"
10636
+ },
10637
+ "channel": {
10638
+ "description": "Channel ID",
10639
+ "name": "channel",
10640
+ "required": true,
10641
+ "hasDynamicHelp": false,
10642
+ "multiple": false,
10643
+ "type": "option"
10665
10644
  }
10666
10645
  },
10667
10646
  "hasDynamicHelp": false,
10668
10647
  "hiddenAliases": [],
10669
- "id": "webhooks:logs",
10648
+ "id": "tickets:get",
10670
10649
  "pluginAlias": "@instantkom/cli",
10671
10650
  "pluginName": "@instantkom/cli",
10672
10651
  "pluginType": "core",
@@ -10676,20 +10655,14 @@
10676
10655
  "relativePath": [
10677
10656
  "dist",
10678
10657
  "commands",
10679
- "webhooks",
10680
- "logs.js"
10658
+ "tickets",
10659
+ "get.js"
10681
10660
  ]
10682
10661
  },
10683
- "webhooks:remove": {
10662
+ "tickets:list": {
10684
10663
  "aliases": [],
10685
- "args": {
10686
- "id": {
10687
- "description": "Webhook subscription ID",
10688
- "name": "id",
10689
- "required": true
10690
- }
10691
- },
10692
- "description": "Remove a webhook subscription",
10664
+ "args": {},
10665
+ "description": "List tickets for a channel",
10693
10666
  "flags": {
10694
10667
  "api-key": {
10695
10668
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10752,11 +10725,35 @@
10752
10725
  "hasDynamicHelp": false,
10753
10726
  "multiple": false,
10754
10727
  "type": "option"
10728
+ },
10729
+ "channel": {
10730
+ "description": "Channel ID",
10731
+ "name": "channel",
10732
+ "required": true,
10733
+ "hasDynamicHelp": false,
10734
+ "multiple": false,
10735
+ "type": "option"
10736
+ },
10737
+ "limit": {
10738
+ "description": "Maximum tickets to return",
10739
+ "name": "limit",
10740
+ "default": 500,
10741
+ "hasDynamicHelp": false,
10742
+ "multiple": false,
10743
+ "type": "option"
10744
+ },
10745
+ "offset": {
10746
+ "description": "Number of tickets to skip",
10747
+ "name": "offset",
10748
+ "default": 0,
10749
+ "hasDynamicHelp": false,
10750
+ "multiple": false,
10751
+ "type": "option"
10755
10752
  }
10756
10753
  },
10757
10754
  "hasDynamicHelp": false,
10758
10755
  "hiddenAliases": [],
10759
- "id": "webhooks:remove",
10756
+ "id": "tickets:list",
10760
10757
  "pluginAlias": "@instantkom/cli",
10761
10758
  "pluginName": "@instantkom/cli",
10762
10759
  "pluginType": "core",
@@ -10766,14 +10763,20 @@
10766
10763
  "relativePath": [
10767
10764
  "dist",
10768
10765
  "commands",
10769
- "webhooks",
10770
- "remove.js"
10766
+ "tickets",
10767
+ "list.js"
10771
10768
  ]
10772
10769
  },
10773
- "webhooks:test": {
10770
+ "tickets:reply": {
10774
10771
  "aliases": [],
10775
- "args": {},
10776
- "description": "Send a test webhook payload to a URL",
10772
+ "args": {
10773
+ "id": {
10774
+ "description": "Ticket ID",
10775
+ "name": "id",
10776
+ "required": true
10777
+ }
10778
+ },
10779
+ "description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only; the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
10777
10780
  "flags": {
10778
10781
  "api-key": {
10779
10782
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10837,33 +10840,24 @@
10837
10840
  "multiple": false,
10838
10841
  "type": "option"
10839
10842
  },
10840
- "url": {
10841
- "description": "Webhook URL to call",
10842
- "name": "url",
10843
+ "message": {
10844
+ "description": "Reply body (raw text, no salutation or sign-off)",
10845
+ "name": "message",
10843
10846
  "required": true,
10844
10847
  "hasDynamicHelp": false,
10845
10848
  "multiple": false,
10846
10849
  "type": "option"
10847
10850
  },
10848
- "event": {
10849
- "description": "Event name",
10850
- "name": "event",
10851
- "default": "cli.test",
10852
- "hasDynamicHelp": false,
10853
- "multiple": false,
10854
- "type": "option"
10855
- },
10856
- "payload": {
10857
- "description": "Payload JSON",
10858
- "name": "payload",
10859
- "hasDynamicHelp": false,
10860
- "multiple": false,
10861
- "type": "option"
10851
+ "close": {
10852
+ "description": "Close the ticket after sending the reply",
10853
+ "name": "close",
10854
+ "allowNo": false,
10855
+ "type": "boolean"
10862
10856
  }
10863
10857
  },
10864
10858
  "hasDynamicHelp": false,
10865
10859
  "hiddenAliases": [],
10866
- "id": "webhooks:test",
10860
+ "id": "tickets:reply",
10867
10861
  "pluginAlias": "@instantkom/cli",
10868
10862
  "pluginName": "@instantkom/cli",
10869
10863
  "pluginType": "core",
@@ -10873,14 +10867,20 @@
10873
10867
  "relativePath": [
10874
10868
  "dist",
10875
10869
  "commands",
10876
- "webhooks",
10877
- "test.js"
10870
+ "tickets",
10871
+ "reply.js"
10878
10872
  ]
10879
10873
  },
10880
- "tickets:create": {
10874
+ "tickets:update": {
10881
10875
  "aliases": [],
10882
- "args": {},
10883
- "description": "Create a ticket",
10876
+ "args": {
10877
+ "id": {
10878
+ "description": "Ticket ID",
10879
+ "name": "id",
10880
+ "required": true
10881
+ }
10882
+ },
10883
+ "description": "Update a ticket",
10884
10884
  "flags": {
10885
10885
  "api-key": {
10886
10886
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10955,45 +10955,36 @@
10955
10955
  "subject": {
10956
10956
  "description": "Ticket subject",
10957
10957
  "name": "subject",
10958
- "required": true,
10959
- "hasDynamicHelp": false,
10960
- "multiple": false,
10961
- "type": "option"
10962
- },
10963
- "recipient": {
10964
- "description": "Existing recipient ID",
10965
- "name": "recipient",
10966
10958
  "hasDynamicHelp": false,
10967
10959
  "multiple": false,
10968
10960
  "type": "option"
10969
10961
  },
10970
- "email": {
10971
- "description": "Customer email",
10972
- "name": "email",
10962
+ "priority": {
10963
+ "description": "Ticket priority",
10964
+ "name": "priority",
10973
10965
  "hasDynamicHelp": false,
10974
10966
  "multiple": false,
10975
10967
  "type": "option"
10976
10968
  },
10977
- "name": {
10978
- "description": "Customer name",
10979
- "name": "name",
10969
+ "status": {
10970
+ "description": "Ticket status",
10971
+ "name": "status",
10980
10972
  "hasDynamicHelp": false,
10981
10973
  "multiple": false,
10982
10974
  "type": "option"
10983
10975
  },
10984
- "priority": {
10985
- "description": "Ticket priority",
10986
- "name": "priority",
10976
+ "assigned-to": {
10977
+ "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
10978
+ "name": "assigned-to",
10987
10979
  "hasDynamicHelp": false,
10988
10980
  "multiple": false,
10989
10981
  "type": "option"
10990
10982
  },
10991
- "source": {
10992
- "description": "Ticket source",
10993
- "name": "source",
10994
- "hasDynamicHelp": false,
10995
- "multiple": false,
10996
- "type": "option"
10983
+ "notify": {
10984
+ "description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
10985
+ "name": "notify",
10986
+ "allowNo": true,
10987
+ "type": "boolean"
10997
10988
  },
10998
10989
  "data": {
10999
10990
  "description": "Additional JSON object payload",
@@ -11005,7 +10996,7 @@
11005
10996
  },
11006
10997
  "hasDynamicHelp": false,
11007
10998
  "hiddenAliases": [],
11008
- "id": "tickets:create",
10999
+ "id": "tickets:update",
11009
11000
  "pluginAlias": "@instantkom/cli",
11010
11001
  "pluginName": "@instantkom/cli",
11011
11002
  "pluginType": "core",
@@ -11016,19 +11007,13 @@
11016
11007
  "dist",
11017
11008
  "commands",
11018
11009
  "tickets",
11019
- "create.js"
11010
+ "update.js"
11020
11011
  ]
11021
11012
  },
11022
- "tickets:delete": {
11013
+ "webhooks:add": {
11023
11014
  "aliases": [],
11024
- "args": {
11025
- "id": {
11026
- "description": "Ticket ID",
11027
- "name": "id",
11028
- "required": true
11029
- }
11030
- },
11031
- "description": "Delete a ticket",
11015
+ "args": {},
11016
+ "description": "Add a webhook subscription",
11032
11017
  "flags": {
11033
11018
  "api-key": {
11034
11019
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11092,9 +11077,24 @@
11092
11077
  "multiple": false,
11093
11078
  "type": "option"
11094
11079
  },
11095
- "channel": {
11096
- "description": "Channel ID",
11097
- "name": "channel",
11080
+ "event": {
11081
+ "description": "Webhook event to subscribe to",
11082
+ "name": "event",
11083
+ "required": true,
11084
+ "hasDynamicHelp": false,
11085
+ "multiple": false,
11086
+ "options": [
11087
+ "new_contact",
11088
+ "new_message",
11089
+ "broadcast_sent",
11090
+ "contact_updated",
11091
+ "contact_opted_out"
11092
+ ],
11093
+ "type": "option"
11094
+ },
11095
+ "url": {
11096
+ "description": "HTTPS target URL that receives webhook POSTs",
11097
+ "name": "url",
11098
11098
  "required": true,
11099
11099
  "hasDynamicHelp": false,
11100
11100
  "multiple": false,
@@ -11103,7 +11103,7 @@
11103
11103
  },
11104
11104
  "hasDynamicHelp": false,
11105
11105
  "hiddenAliases": [],
11106
- "id": "tickets:delete",
11106
+ "id": "webhooks:add",
11107
11107
  "pluginAlias": "@instantkom/cli",
11108
11108
  "pluginName": "@instantkom/cli",
11109
11109
  "pluginType": "core",
@@ -11113,20 +11113,14 @@
11113
11113
  "relativePath": [
11114
11114
  "dist",
11115
11115
  "commands",
11116
- "tickets",
11117
- "delete.js"
11116
+ "webhooks",
11117
+ "add.js"
11118
11118
  ]
11119
11119
  },
11120
- "tickets:get": {
11120
+ "webhooks:events": {
11121
11121
  "aliases": [],
11122
- "args": {
11123
- "id": {
11124
- "description": "Ticket ID",
11125
- "name": "id",
11126
- "required": true
11127
- }
11128
- },
11129
- "description": "Get a ticket by ID",
11122
+ "args": {},
11123
+ "description": "List supported webhook event names",
11130
11124
  "flags": {
11131
11125
  "api-key": {
11132
11126
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11189,19 +11183,11 @@
11189
11183
  "hasDynamicHelp": false,
11190
11184
  "multiple": false,
11191
11185
  "type": "option"
11192
- },
11193
- "channel": {
11194
- "description": "Channel ID",
11195
- "name": "channel",
11196
- "required": true,
11197
- "hasDynamicHelp": false,
11198
- "multiple": false,
11199
- "type": "option"
11200
11186
  }
11201
11187
  },
11202
11188
  "hasDynamicHelp": false,
11203
11189
  "hiddenAliases": [],
11204
- "id": "tickets:get",
11190
+ "id": "webhooks:events",
11205
11191
  "pluginAlias": "@instantkom/cli",
11206
11192
  "pluginName": "@instantkom/cli",
11207
11193
  "pluginType": "core",
@@ -11211,14 +11197,14 @@
11211
11197
  "relativePath": [
11212
11198
  "dist",
11213
11199
  "commands",
11214
- "tickets",
11215
- "get.js"
11200
+ "webhooks",
11201
+ "events.js"
11216
11202
  ]
11217
11203
  },
11218
- "tickets:list": {
11204
+ "webhooks:list": {
11219
11205
  "aliases": [],
11220
11206
  "args": {},
11221
- "description": "List tickets for a channel",
11207
+ "description": "List webhook subscriptions",
11222
11208
  "flags": {
11223
11209
  "api-key": {
11224
11210
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11281,35 +11267,11 @@
11281
11267
  "hasDynamicHelp": false,
11282
11268
  "multiple": false,
11283
11269
  "type": "option"
11284
- },
11285
- "channel": {
11286
- "description": "Channel ID",
11287
- "name": "channel",
11288
- "required": true,
11289
- "hasDynamicHelp": false,
11290
- "multiple": false,
11291
- "type": "option"
11292
- },
11293
- "limit": {
11294
- "description": "Maximum tickets to return",
11295
- "name": "limit",
11296
- "default": 500,
11297
- "hasDynamicHelp": false,
11298
- "multiple": false,
11299
- "type": "option"
11300
- },
11301
- "offset": {
11302
- "description": "Number of tickets to skip",
11303
- "name": "offset",
11304
- "default": 0,
11305
- "hasDynamicHelp": false,
11306
- "multiple": false,
11307
- "type": "option"
11308
11270
  }
11309
11271
  },
11310
11272
  "hasDynamicHelp": false,
11311
11273
  "hiddenAliases": [],
11312
- "id": "tickets:list",
11274
+ "id": "webhooks:list",
11313
11275
  "pluginAlias": "@instantkom/cli",
11314
11276
  "pluginName": "@instantkom/cli",
11315
11277
  "pluginType": "core",
@@ -11319,20 +11281,14 @@
11319
11281
  "relativePath": [
11320
11282
  "dist",
11321
11283
  "commands",
11322
- "tickets",
11284
+ "webhooks",
11323
11285
  "list.js"
11324
11286
  ]
11325
11287
  },
11326
- "tickets:reply": {
11288
+ "webhooks:logs": {
11327
11289
  "aliases": [],
11328
- "args": {
11329
- "id": {
11330
- "description": "Ticket ID",
11331
- "name": "id",
11332
- "required": true
11333
- }
11334
- },
11335
- "description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only; the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
11290
+ "args": {},
11291
+ "description": "Explain webhook log availability",
11336
11292
  "flags": {
11337
11293
  "api-key": {
11338
11294
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11395,25 +11351,11 @@
11395
11351
  "hasDynamicHelp": false,
11396
11352
  "multiple": false,
11397
11353
  "type": "option"
11398
- },
11399
- "message": {
11400
- "description": "Reply body (raw text, no salutation or sign-off)",
11401
- "name": "message",
11402
- "required": true,
11403
- "hasDynamicHelp": false,
11404
- "multiple": false,
11405
- "type": "option"
11406
- },
11407
- "close": {
11408
- "description": "Close the ticket after sending the reply",
11409
- "name": "close",
11410
- "allowNo": false,
11411
- "type": "boolean"
11412
11354
  }
11413
11355
  },
11414
11356
  "hasDynamicHelp": false,
11415
11357
  "hiddenAliases": [],
11416
- "id": "tickets:reply",
11358
+ "id": "webhooks:logs",
11417
11359
  "pluginAlias": "@instantkom/cli",
11418
11360
  "pluginName": "@instantkom/cli",
11419
11361
  "pluginType": "core",
@@ -11423,20 +11365,20 @@
11423
11365
  "relativePath": [
11424
11366
  "dist",
11425
11367
  "commands",
11426
- "tickets",
11427
- "reply.js"
11368
+ "webhooks",
11369
+ "logs.js"
11428
11370
  ]
11429
11371
  },
11430
- "tickets:update": {
11372
+ "webhooks:remove": {
11431
11373
  "aliases": [],
11432
11374
  "args": {
11433
11375
  "id": {
11434
- "description": "Ticket ID",
11376
+ "description": "Webhook subscription ID",
11435
11377
  "name": "id",
11436
11378
  "required": true
11437
11379
  }
11438
11380
  },
11439
- "description": "Update a ticket",
11381
+ "description": "Remove a webhook subscription",
11440
11382
  "flags": {
11441
11383
  "api-key": {
11442
11384
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11499,52 +11441,110 @@
11499
11441
  "hasDynamicHelp": false,
11500
11442
  "multiple": false,
11501
11443
  "type": "option"
11444
+ }
11445
+ },
11446
+ "hasDynamicHelp": false,
11447
+ "hiddenAliases": [],
11448
+ "id": "webhooks:remove",
11449
+ "pluginAlias": "@instantkom/cli",
11450
+ "pluginName": "@instantkom/cli",
11451
+ "pluginType": "core",
11452
+ "strict": true,
11453
+ "enableJsonFlag": false,
11454
+ "isESM": true,
11455
+ "relativePath": [
11456
+ "dist",
11457
+ "commands",
11458
+ "webhooks",
11459
+ "remove.js"
11460
+ ]
11461
+ },
11462
+ "webhooks:test": {
11463
+ "aliases": [],
11464
+ "args": {},
11465
+ "description": "Send a test webhook payload to a URL",
11466
+ "flags": {
11467
+ "api-key": {
11468
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
11469
+ "env": "IKM_API_KEY",
11470
+ "helpGroup": "GLOBAL",
11471
+ "name": "api-key",
11472
+ "hasDynamicHelp": false,
11473
+ "multiple": false,
11474
+ "type": "option"
11502
11475
  },
11503
- "channel": {
11504
- "description": "Channel ID",
11505
- "name": "channel",
11506
- "required": true,
11476
+ "format": {
11477
+ "description": "Output format: text, json, yaml, or table",
11478
+ "helpGroup": "GLOBAL",
11479
+ "name": "format",
11480
+ "default": "text",
11507
11481
  "hasDynamicHelp": false,
11508
11482
  "multiple": false,
11483
+ "options": [
11484
+ "text",
11485
+ "json",
11486
+ "yaml",
11487
+ "table"
11488
+ ],
11509
11489
  "type": "option"
11510
11490
  },
11511
- "subject": {
11512
- "description": "Ticket subject",
11513
- "name": "subject",
11491
+ "json": {
11492
+ "description": "Output in JSON format (alias for --format=json)",
11493
+ "helpGroup": "GLOBAL",
11494
+ "name": "json",
11495
+ "allowNo": false,
11496
+ "type": "boolean"
11497
+ },
11498
+ "quiet": {
11499
+ "description": "Suppress all output except errors",
11500
+ "helpGroup": "GLOBAL",
11501
+ "name": "quiet",
11502
+ "allowNo": false,
11503
+ "type": "boolean"
11504
+ },
11505
+ "no-color": {
11506
+ "description": "Disable color output",
11507
+ "helpGroup": "GLOBAL",
11508
+ "name": "no-color",
11509
+ "allowNo": false,
11510
+ "type": "boolean"
11511
+ },
11512
+ "profile": {
11513
+ "description": "Named configuration profile to use",
11514
+ "helpGroup": "GLOBAL",
11515
+ "name": "profile",
11516
+ "default": "default",
11514
11517
  "hasDynamicHelp": false,
11515
11518
  "multiple": false,
11516
11519
  "type": "option"
11517
11520
  },
11518
- "priority": {
11519
- "description": "Ticket priority",
11520
- "name": "priority",
11521
+ "api-url": {
11522
+ "description": "Override the API base URL (e.g. for staging)",
11523
+ "helpGroup": "GLOBAL",
11524
+ "name": "api-url",
11521
11525
  "hasDynamicHelp": false,
11522
11526
  "multiple": false,
11523
11527
  "type": "option"
11524
11528
  },
11525
- "status": {
11526
- "description": "Ticket status",
11527
- "name": "status",
11529
+ "url": {
11530
+ "description": "Webhook URL to call",
11531
+ "name": "url",
11532
+ "required": true,
11528
11533
  "hasDynamicHelp": false,
11529
11534
  "multiple": false,
11530
11535
  "type": "option"
11531
11536
  },
11532
- "assigned-to": {
11533
- "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
11534
- "name": "assigned-to",
11537
+ "event": {
11538
+ "description": "Event name",
11539
+ "name": "event",
11540
+ "default": "cli.test",
11535
11541
  "hasDynamicHelp": false,
11536
11542
  "multiple": false,
11537
11543
  "type": "option"
11538
11544
  },
11539
- "notify": {
11540
- "description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
11541
- "name": "notify",
11542
- "allowNo": true,
11543
- "type": "boolean"
11544
- },
11545
- "data": {
11546
- "description": "Additional JSON object payload",
11547
- "name": "data",
11545
+ "payload": {
11546
+ "description": "Payload JSON",
11547
+ "name": "payload",
11548
11548
  "hasDynamicHelp": false,
11549
11549
  "multiple": false,
11550
11550
  "type": "option"
@@ -11552,7 +11552,7 @@
11552
11552
  },
11553
11553
  "hasDynamicHelp": false,
11554
11554
  "hiddenAliases": [],
11555
- "id": "tickets:update",
11555
+ "id": "webhooks:test",
11556
11556
  "pluginAlias": "@instantkom/cli",
11557
11557
  "pluginName": "@instantkom/cli",
11558
11558
  "pluginType": "core",
@@ -11562,8 +11562,8 @@
11562
11562
  "relativePath": [
11563
11563
  "dist",
11564
11564
  "commands",
11565
- "tickets",
11566
- "update.js"
11565
+ "webhooks",
11566
+ "test.js"
11567
11567
  ]
11568
11568
  },
11569
11569
  "auth:tokens:create": {
@@ -14190,7 +14190,7 @@
14190
14190
  "remove.js"
14191
14191
  ]
14192
14192
  },
14193
- "flow:edges:create": {
14193
+ "flow:nodes:create": {
14194
14194
  "aliases": [],
14195
14195
  "args": {
14196
14196
  "flowId": {
@@ -14199,7 +14199,7 @@
14199
14199
  "required": true
14200
14200
  }
14201
14201
  },
14202
- "description": "Create a flow edge",
14202
+ "description": "Create a flow node",
14203
14203
  "flags": {
14204
14204
  "api-key": {
14205
14205
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14263,33 +14263,33 @@
14263
14263
  "multiple": false,
14264
14264
  "type": "option"
14265
14265
  },
14266
- "source": {
14267
- "description": "Source node ID",
14268
- "name": "source",
14269
- "required": true,
14266
+ "bot": {
14267
+ "description": "Bot ID",
14268
+ "name": "bot",
14270
14269
  "hasDynamicHelp": false,
14271
14270
  "multiple": false,
14272
14271
  "type": "option"
14273
14272
  },
14274
- "target": {
14275
- "description": "Target node ID",
14276
- "name": "target",
14273
+ "type": {
14274
+ "description": "Node type",
14275
+ "name": "type",
14277
14276
  "required": true,
14278
14277
  "hasDynamicHelp": false,
14279
14278
  "multiple": false,
14280
14279
  "type": "option"
14281
14280
  },
14282
- "label": {
14283
- "description": "Edge label",
14284
- "name": "label",
14281
+ "x": {
14282
+ "description": "X position",
14283
+ "name": "x",
14284
+ "required": true,
14285
14285
  "hasDynamicHelp": false,
14286
14286
  "multiple": false,
14287
14287
  "type": "option"
14288
14288
  },
14289
- "type": {
14290
- "description": "Edge type",
14291
- "name": "type",
14292
- "default": "default",
14289
+ "y": {
14290
+ "description": "Y position",
14291
+ "name": "y",
14292
+ "required": true,
14293
14293
  "hasDynamicHelp": false,
14294
14294
  "multiple": false,
14295
14295
  "type": "option"
@@ -14304,7 +14304,7 @@
14304
14304
  },
14305
14305
  "hasDynamicHelp": false,
14306
14306
  "hiddenAliases": [],
14307
- "id": "flow:edges:create",
14307
+ "id": "flow:nodes:create",
14308
14308
  "pluginAlias": "@instantkom/cli",
14309
14309
  "pluginName": "@instantkom/cli",
14310
14310
  "pluginType": "core",
@@ -14315,11 +14315,11 @@
14315
14315
  "dist",
14316
14316
  "commands",
14317
14317
  "flow",
14318
- "edges",
14318
+ "nodes",
14319
14319
  "create.js"
14320
14320
  ]
14321
14321
  },
14322
- "flow:edges:delete": {
14322
+ "flow:nodes:delete": {
14323
14323
  "aliases": [],
14324
14324
  "args": {
14325
14325
  "flowId": {
@@ -14327,13 +14327,13 @@
14327
14327
  "name": "flowId",
14328
14328
  "required": true
14329
14329
  },
14330
- "edgeId": {
14331
- "description": "Edge ID",
14332
- "name": "edgeId",
14330
+ "nodeId": {
14331
+ "description": "Node ID",
14332
+ "name": "nodeId",
14333
14333
  "required": true
14334
14334
  }
14335
14335
  },
14336
- "description": "Delete a flow edge",
14336
+ "description": "Delete a flow node",
14337
14337
  "flags": {
14338
14338
  "api-key": {
14339
14339
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14400,7 +14400,7 @@
14400
14400
  },
14401
14401
  "hasDynamicHelp": false,
14402
14402
  "hiddenAliases": [],
14403
- "id": "flow:edges:delete",
14403
+ "id": "flow:nodes:delete",
14404
14404
  "pluginAlias": "@instantkom/cli",
14405
14405
  "pluginName": "@instantkom/cli",
14406
14406
  "pluginType": "core",
@@ -14411,11 +14411,11 @@
14411
14411
  "dist",
14412
14412
  "commands",
14413
14413
  "flow",
14414
- "edges",
14414
+ "nodes",
14415
14415
  "delete.js"
14416
14416
  ]
14417
14417
  },
14418
- "flow:edges:get": {
14418
+ "flow:nodes:get": {
14419
14419
  "aliases": [],
14420
14420
  "args": {
14421
14421
  "flowId": {
@@ -14423,13 +14423,13 @@
14423
14423
  "name": "flowId",
14424
14424
  "required": true
14425
14425
  },
14426
- "edgeId": {
14427
- "description": "Edge ID",
14428
- "name": "edgeId",
14426
+ "nodeId": {
14427
+ "description": "Node ID",
14428
+ "name": "nodeId",
14429
14429
  "required": true
14430
14430
  }
14431
14431
  },
14432
- "description": "Get a flow edge",
14432
+ "description": "Get a flow node",
14433
14433
  "flags": {
14434
14434
  "api-key": {
14435
14435
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14496,7 +14496,7 @@
14496
14496
  },
14497
14497
  "hasDynamicHelp": false,
14498
14498
  "hiddenAliases": [],
14499
- "id": "flow:edges:get",
14499
+ "id": "flow:nodes:get",
14500
14500
  "pluginAlias": "@instantkom/cli",
14501
14501
  "pluginName": "@instantkom/cli",
14502
14502
  "pluginType": "core",
@@ -14507,11 +14507,11 @@
14507
14507
  "dist",
14508
14508
  "commands",
14509
14509
  "flow",
14510
- "edges",
14510
+ "nodes",
14511
14511
  "get.js"
14512
14512
  ]
14513
14513
  },
14514
- "flow:edges:list": {
14514
+ "flow:nodes:list": {
14515
14515
  "aliases": [],
14516
14516
  "args": {
14517
14517
  "flowId": {
@@ -14520,7 +14520,7 @@
14520
14520
  "required": true
14521
14521
  }
14522
14522
  },
14523
- "description": "List edges in a flow",
14523
+ "description": "List nodes in a flow",
14524
14524
  "flags": {
14525
14525
  "api-key": {
14526
14526
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14587,7 +14587,7 @@
14587
14587
  },
14588
14588
  "hasDynamicHelp": false,
14589
14589
  "hiddenAliases": [],
14590
- "id": "flow:edges:list",
14590
+ "id": "flow:nodes:list",
14591
14591
  "pluginAlias": "@instantkom/cli",
14592
14592
  "pluginName": "@instantkom/cli",
14593
14593
  "pluginType": "core",
@@ -14598,11 +14598,11 @@
14598
14598
  "dist",
14599
14599
  "commands",
14600
14600
  "flow",
14601
- "edges",
14601
+ "nodes",
14602
14602
  "list.js"
14603
14603
  ]
14604
14604
  },
14605
- "flow:edges:update": {
14605
+ "flow:nodes:update": {
14606
14606
  "aliases": [],
14607
14607
  "args": {
14608
14608
  "flowId": {
@@ -14610,13 +14610,13 @@
14610
14610
  "name": "flowId",
14611
14611
  "required": true
14612
14612
  },
14613
- "edgeId": {
14614
- "description": "Edge ID",
14615
- "name": "edgeId",
14613
+ "nodeId": {
14614
+ "description": "Node ID",
14615
+ "name": "nodeId",
14616
14616
  "required": true
14617
14617
  }
14618
14618
  },
14619
- "description": "Update a flow edge",
14619
+ "description": "Update a flow node",
14620
14620
  "flags": {
14621
14621
  "api-key": {
14622
14622
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14680,30 +14680,30 @@
14680
14680
  "multiple": false,
14681
14681
  "type": "option"
14682
14682
  },
14683
- "source": {
14684
- "description": "Source node ID",
14685
- "name": "source",
14683
+ "bot": {
14684
+ "description": "Bot ID",
14685
+ "name": "bot",
14686
14686
  "hasDynamicHelp": false,
14687
14687
  "multiple": false,
14688
14688
  "type": "option"
14689
14689
  },
14690
- "target": {
14691
- "description": "Target node ID",
14692
- "name": "target",
14690
+ "type": {
14691
+ "description": "Node type",
14692
+ "name": "type",
14693
14693
  "hasDynamicHelp": false,
14694
14694
  "multiple": false,
14695
14695
  "type": "option"
14696
14696
  },
14697
- "label": {
14698
- "description": "Edge label",
14699
- "name": "label",
14697
+ "x": {
14698
+ "description": "X position",
14699
+ "name": "x",
14700
14700
  "hasDynamicHelp": false,
14701
14701
  "multiple": false,
14702
14702
  "type": "option"
14703
14703
  },
14704
- "type": {
14705
- "description": "Edge type",
14706
- "name": "type",
14704
+ "y": {
14705
+ "description": "Y position",
14706
+ "name": "y",
14707
14707
  "hasDynamicHelp": false,
14708
14708
  "multiple": false,
14709
14709
  "type": "option"
@@ -14718,7 +14718,7 @@
14718
14718
  },
14719
14719
  "hasDynamicHelp": false,
14720
14720
  "hiddenAliases": [],
14721
- "id": "flow:edges:update",
14721
+ "id": "flow:nodes:update",
14722
14722
  "pluginAlias": "@instantkom/cli",
14723
14723
  "pluginName": "@instantkom/cli",
14724
14724
  "pluginType": "core",
@@ -14729,11 +14729,11 @@
14729
14729
  "dist",
14730
14730
  "commands",
14731
14731
  "flow",
14732
- "edges",
14732
+ "nodes",
14733
14733
  "update.js"
14734
14734
  ]
14735
14735
  },
14736
- "flow:nodes:create": {
14736
+ "flow:edges:create": {
14737
14737
  "aliases": [],
14738
14738
  "args": {
14739
14739
  "flowId": {
@@ -14742,7 +14742,7 @@
14742
14742
  "required": true
14743
14743
  }
14744
14744
  },
14745
- "description": "Create a flow node",
14745
+ "description": "Create a flow edge",
14746
14746
  "flags": {
14747
14747
  "api-key": {
14748
14748
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14806,33 +14806,33 @@
14806
14806
  "multiple": false,
14807
14807
  "type": "option"
14808
14808
  },
14809
- "bot": {
14810
- "description": "Bot ID",
14811
- "name": "bot",
14809
+ "source": {
14810
+ "description": "Source node ID",
14811
+ "name": "source",
14812
+ "required": true,
14812
14813
  "hasDynamicHelp": false,
14813
14814
  "multiple": false,
14814
14815
  "type": "option"
14815
14816
  },
14816
- "type": {
14817
- "description": "Node type",
14818
- "name": "type",
14817
+ "target": {
14818
+ "description": "Target node ID",
14819
+ "name": "target",
14819
14820
  "required": true,
14820
14821
  "hasDynamicHelp": false,
14821
14822
  "multiple": false,
14822
14823
  "type": "option"
14823
14824
  },
14824
- "x": {
14825
- "description": "X position",
14826
- "name": "x",
14827
- "required": true,
14825
+ "label": {
14826
+ "description": "Edge label",
14827
+ "name": "label",
14828
14828
  "hasDynamicHelp": false,
14829
14829
  "multiple": false,
14830
14830
  "type": "option"
14831
14831
  },
14832
- "y": {
14833
- "description": "Y position",
14834
- "name": "y",
14835
- "required": true,
14832
+ "type": {
14833
+ "description": "Edge type",
14834
+ "name": "type",
14835
+ "default": "default",
14836
14836
  "hasDynamicHelp": false,
14837
14837
  "multiple": false,
14838
14838
  "type": "option"
@@ -14847,7 +14847,7 @@
14847
14847
  },
14848
14848
  "hasDynamicHelp": false,
14849
14849
  "hiddenAliases": [],
14850
- "id": "flow:nodes:create",
14850
+ "id": "flow:edges:create",
14851
14851
  "pluginAlias": "@instantkom/cli",
14852
14852
  "pluginName": "@instantkom/cli",
14853
14853
  "pluginType": "core",
@@ -14858,11 +14858,11 @@
14858
14858
  "dist",
14859
14859
  "commands",
14860
14860
  "flow",
14861
- "nodes",
14861
+ "edges",
14862
14862
  "create.js"
14863
14863
  ]
14864
14864
  },
14865
- "flow:nodes:delete": {
14865
+ "flow:edges:delete": {
14866
14866
  "aliases": [],
14867
14867
  "args": {
14868
14868
  "flowId": {
@@ -14870,13 +14870,13 @@
14870
14870
  "name": "flowId",
14871
14871
  "required": true
14872
14872
  },
14873
- "nodeId": {
14874
- "description": "Node ID",
14875
- "name": "nodeId",
14873
+ "edgeId": {
14874
+ "description": "Edge ID",
14875
+ "name": "edgeId",
14876
14876
  "required": true
14877
14877
  }
14878
14878
  },
14879
- "description": "Delete a flow node",
14879
+ "description": "Delete a flow edge",
14880
14880
  "flags": {
14881
14881
  "api-key": {
14882
14882
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14943,7 +14943,7 @@
14943
14943
  },
14944
14944
  "hasDynamicHelp": false,
14945
14945
  "hiddenAliases": [],
14946
- "id": "flow:nodes:delete",
14946
+ "id": "flow:edges:delete",
14947
14947
  "pluginAlias": "@instantkom/cli",
14948
14948
  "pluginName": "@instantkom/cli",
14949
14949
  "pluginType": "core",
@@ -14954,11 +14954,11 @@
14954
14954
  "dist",
14955
14955
  "commands",
14956
14956
  "flow",
14957
- "nodes",
14957
+ "edges",
14958
14958
  "delete.js"
14959
14959
  ]
14960
14960
  },
14961
- "flow:nodes:get": {
14961
+ "flow:edges:get": {
14962
14962
  "aliases": [],
14963
14963
  "args": {
14964
14964
  "flowId": {
@@ -14966,13 +14966,13 @@
14966
14966
  "name": "flowId",
14967
14967
  "required": true
14968
14968
  },
14969
- "nodeId": {
14970
- "description": "Node ID",
14971
- "name": "nodeId",
14969
+ "edgeId": {
14970
+ "description": "Edge ID",
14971
+ "name": "edgeId",
14972
14972
  "required": true
14973
14973
  }
14974
14974
  },
14975
- "description": "Get a flow node",
14975
+ "description": "Get a flow edge",
14976
14976
  "flags": {
14977
14977
  "api-key": {
14978
14978
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15039,7 +15039,7 @@
15039
15039
  },
15040
15040
  "hasDynamicHelp": false,
15041
15041
  "hiddenAliases": [],
15042
- "id": "flow:nodes:get",
15042
+ "id": "flow:edges:get",
15043
15043
  "pluginAlias": "@instantkom/cli",
15044
15044
  "pluginName": "@instantkom/cli",
15045
15045
  "pluginType": "core",
@@ -15050,11 +15050,11 @@
15050
15050
  "dist",
15051
15051
  "commands",
15052
15052
  "flow",
15053
- "nodes",
15053
+ "edges",
15054
15054
  "get.js"
15055
15055
  ]
15056
15056
  },
15057
- "flow:nodes:list": {
15057
+ "flow:edges:list": {
15058
15058
  "aliases": [],
15059
15059
  "args": {
15060
15060
  "flowId": {
@@ -15063,7 +15063,7 @@
15063
15063
  "required": true
15064
15064
  }
15065
15065
  },
15066
- "description": "List nodes in a flow",
15066
+ "description": "List edges in a flow",
15067
15067
  "flags": {
15068
15068
  "api-key": {
15069
15069
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15130,7 +15130,7 @@
15130
15130
  },
15131
15131
  "hasDynamicHelp": false,
15132
15132
  "hiddenAliases": [],
15133
- "id": "flow:nodes:list",
15133
+ "id": "flow:edges:list",
15134
15134
  "pluginAlias": "@instantkom/cli",
15135
15135
  "pluginName": "@instantkom/cli",
15136
15136
  "pluginType": "core",
@@ -15141,11 +15141,11 @@
15141
15141
  "dist",
15142
15142
  "commands",
15143
15143
  "flow",
15144
- "nodes",
15144
+ "edges",
15145
15145
  "list.js"
15146
15146
  ]
15147
15147
  },
15148
- "flow:nodes:update": {
15148
+ "flow:edges:update": {
15149
15149
  "aliases": [],
15150
15150
  "args": {
15151
15151
  "flowId": {
@@ -15153,13 +15153,13 @@
15153
15153
  "name": "flowId",
15154
15154
  "required": true
15155
15155
  },
15156
- "nodeId": {
15157
- "description": "Node ID",
15158
- "name": "nodeId",
15156
+ "edgeId": {
15157
+ "description": "Edge ID",
15158
+ "name": "edgeId",
15159
15159
  "required": true
15160
15160
  }
15161
15161
  },
15162
- "description": "Update a flow node",
15162
+ "description": "Update a flow edge",
15163
15163
  "flags": {
15164
15164
  "api-key": {
15165
15165
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15223,30 +15223,30 @@
15223
15223
  "multiple": false,
15224
15224
  "type": "option"
15225
15225
  },
15226
- "bot": {
15227
- "description": "Bot ID",
15228
- "name": "bot",
15226
+ "source": {
15227
+ "description": "Source node ID",
15228
+ "name": "source",
15229
15229
  "hasDynamicHelp": false,
15230
15230
  "multiple": false,
15231
15231
  "type": "option"
15232
15232
  },
15233
- "type": {
15234
- "description": "Node type",
15235
- "name": "type",
15233
+ "target": {
15234
+ "description": "Target node ID",
15235
+ "name": "target",
15236
15236
  "hasDynamicHelp": false,
15237
15237
  "multiple": false,
15238
15238
  "type": "option"
15239
15239
  },
15240
- "x": {
15241
- "description": "X position",
15242
- "name": "x",
15240
+ "label": {
15241
+ "description": "Edge label",
15242
+ "name": "label",
15243
15243
  "hasDynamicHelp": false,
15244
15244
  "multiple": false,
15245
15245
  "type": "option"
15246
15246
  },
15247
- "y": {
15248
- "description": "Y position",
15249
- "name": "y",
15247
+ "type": {
15248
+ "description": "Edge type",
15249
+ "name": "type",
15250
15250
  "hasDynamicHelp": false,
15251
15251
  "multiple": false,
15252
15252
  "type": "option"
@@ -15261,7 +15261,7 @@
15261
15261
  },
15262
15262
  "hasDynamicHelp": false,
15263
15263
  "hiddenAliases": [],
15264
- "id": "flow:nodes:update",
15264
+ "id": "flow:edges:update",
15265
15265
  "pluginAlias": "@instantkom/cli",
15266
15266
  "pluginName": "@instantkom/cli",
15267
15267
  "pluginType": "core",
@@ -15272,7 +15272,7 @@
15272
15272
  "dist",
15273
15273
  "commands",
15274
15274
  "flow",
15275
- "nodes",
15275
+ "edges",
15276
15276
  "update.js"
15277
15277
  ]
15278
15278
  },
@@ -16352,5 +16352,5 @@
16352
16352
  ]
16353
16353
  }
16354
16354
  },
16355
- "version": "3.132.0"
16355
+ "version": "3.134.0"
16356
16356
  }