@instantkom/cli 3.163.1 → 3.164.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.
@@ -4805,10 +4805,10 @@
4805
4805
  "update.js"
4806
4806
  ]
4807
4807
  },
4808
- "exports:create": {
4808
+ "custom-fields:bulk-delete": {
4809
4809
  "aliases": [],
4810
4810
  "args": {},
4811
- "description": "Create an export",
4811
+ "description": "Bulk delete custom fields",
4812
4812
  "flags": {
4813
4813
  "api-key": {
4814
4814
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4820,10 +4820,18 @@
4820
4820
  "type": "option"
4821
4821
  },
4822
4822
  "format": {
4823
- "description": "Alias for --target",
4823
+ "description": "Output format: text, json, yaml, or table",
4824
+ "helpGroup": "GLOBAL",
4824
4825
  "name": "format",
4826
+ "default": "text",
4825
4827
  "hasDynamicHelp": false,
4826
4828
  "multiple": false,
4829
+ "options": [
4830
+ "text",
4831
+ "json",
4832
+ "yaml",
4833
+ "table"
4834
+ ],
4827
4835
  "type": "option"
4828
4836
  },
4829
4837
  "json": {
@@ -4864,74 +4872,18 @@
4864
4872
  "multiple": false,
4865
4873
  "type": "option"
4866
4874
  },
4867
- "name": {
4868
- "description": "Export name",
4869
- "name": "name",
4875
+ "ids": {
4876
+ "description": "Comma-separated custom field IDs",
4877
+ "name": "ids",
4870
4878
  "required": true,
4871
4879
  "hasDynamicHelp": false,
4872
4880
  "multiple": false,
4873
4881
  "type": "option"
4874
- },
4875
- "sources": {
4876
- "description": "Data sources to export",
4877
- "name": "sources",
4878
- "hasDynamicHelp": false,
4879
- "multiple": false,
4880
- "type": "option"
4881
- },
4882
- "type": {
4883
- "description": "Alias for --sources",
4884
- "name": "type",
4885
- "hasDynamicHelp": false,
4886
- "multiple": false,
4887
- "type": "option"
4888
- },
4889
- "target": {
4890
- "description": "Export target/format",
4891
- "name": "target",
4892
- "hasDynamicHelp": false,
4893
- "multiple": false,
4894
- "type": "option"
4895
- },
4896
- "channels": {
4897
- "description": "Comma-separated channel IDs",
4898
- "name": "channels",
4899
- "hasDynamicHelp": false,
4900
- "multiple": false,
4901
- "type": "option"
4902
- },
4903
- "fields": {
4904
- "description": "Comma-separated fields",
4905
- "name": "fields",
4906
- "hasDynamicHelp": false,
4907
- "multiple": false,
4908
- "type": "option"
4909
- },
4910
- "filters": {
4911
- "description": "Filter criteria",
4912
- "name": "filters",
4913
- "hasDynamicHelp": false,
4914
- "multiple": false,
4915
- "type": "option"
4916
- },
4917
- "color": {
4918
- "description": "Export color as HEX",
4919
- "name": "color",
4920
- "hasDynamicHelp": false,
4921
- "multiple": false,
4922
- "type": "option"
4923
- },
4924
- "data": {
4925
- "description": "Additional JSON object payload",
4926
- "name": "data",
4927
- "hasDynamicHelp": false,
4928
- "multiple": false,
4929
- "type": "option"
4930
4882
  }
4931
4883
  },
4932
4884
  "hasDynamicHelp": false,
4933
4885
  "hiddenAliases": [],
4934
- "id": "exports:create",
4886
+ "id": "custom-fields:bulk-delete",
4935
4887
  "pluginAlias": "@instantkom/cli",
4936
4888
  "pluginName": "@instantkom/cli",
4937
4889
  "pluginType": "core",
@@ -4941,20 +4893,14 @@
4941
4893
  "relativePath": [
4942
4894
  "dist",
4943
4895
  "commands",
4944
- "exports",
4945
- "create.js"
4896
+ "custom-fields",
4897
+ "bulk-delete.js"
4946
4898
  ]
4947
4899
  },
4948
- "exports:delete": {
4900
+ "custom-fields:create": {
4949
4901
  "aliases": [],
4950
- "args": {
4951
- "id": {
4952
- "description": "Export ID",
4953
- "name": "id",
4954
- "required": true
4955
- }
4956
- },
4957
- "description": "Delete an export",
4902
+ "args": {},
4903
+ "description": "Create a custom field",
4958
4904
  "flags": {
4959
4905
  "api-key": {
4960
4906
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5017,11 +4963,72 @@
5017
4963
  "hasDynamicHelp": false,
5018
4964
  "multiple": false,
5019
4965
  "type": "option"
4966
+ },
4967
+ "name": {
4968
+ "description": "Field name",
4969
+ "name": "name",
4970
+ "required": true,
4971
+ "hasDynamicHelp": false,
4972
+ "multiple": false,
4973
+ "type": "option"
4974
+ },
4975
+ "key": {
4976
+ "description": "Field key",
4977
+ "name": "key",
4978
+ "required": true,
4979
+ "hasDynamicHelp": false,
4980
+ "multiple": false,
4981
+ "type": "option"
4982
+ },
4983
+ "type": {
4984
+ "description": "Field type",
4985
+ "name": "type",
4986
+ "required": true,
4987
+ "hasDynamicHelp": false,
4988
+ "multiple": false,
4989
+ "options": [
4990
+ "text",
4991
+ "number",
4992
+ "date",
4993
+ "dropdown",
4994
+ "checkbox",
4995
+ "url",
4996
+ "email",
4997
+ "phone"
4998
+ ],
4999
+ "type": "option"
5000
+ },
5001
+ "required": {
5002
+ "description": "Field is required",
5003
+ "name": "required",
5004
+ "allowNo": false,
5005
+ "type": "boolean"
5006
+ },
5007
+ "default": {
5008
+ "description": "Default value",
5009
+ "name": "default",
5010
+ "hasDynamicHelp": false,
5011
+ "multiple": false,
5012
+ "type": "option"
5013
+ },
5014
+ "options": {
5015
+ "description": "Comma-separated dropdown options",
5016
+ "name": "options",
5017
+ "hasDynamicHelp": false,
5018
+ "multiple": false,
5019
+ "type": "option"
5020
+ },
5021
+ "data": {
5022
+ "description": "Additional JSON object payload",
5023
+ "name": "data",
5024
+ "hasDynamicHelp": false,
5025
+ "multiple": false,
5026
+ "type": "option"
5020
5027
  }
5021
5028
  },
5022
5029
  "hasDynamicHelp": false,
5023
5030
  "hiddenAliases": [],
5024
- "id": "exports:delete",
5031
+ "id": "custom-fields:create",
5025
5032
  "pluginAlias": "@instantkom/cli",
5026
5033
  "pluginName": "@instantkom/cli",
5027
5034
  "pluginType": "core",
@@ -5031,20 +5038,20 @@
5031
5038
  "relativePath": [
5032
5039
  "dist",
5033
5040
  "commands",
5034
- "exports",
5035
- "delete.js"
5041
+ "custom-fields",
5042
+ "create.js"
5036
5043
  ]
5037
5044
  },
5038
- "exports:download": {
5045
+ "custom-fields:delete": {
5039
5046
  "aliases": [],
5040
5047
  "args": {
5041
5048
  "id": {
5042
- "description": "Export ID",
5049
+ "description": "custom field ID",
5043
5050
  "name": "id",
5044
5051
  "required": true
5045
5052
  }
5046
5053
  },
5047
- "description": "Download an export file",
5054
+ "description": "Delete custom field",
5048
5055
  "flags": {
5049
5056
  "api-key": {
5050
5057
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5107,18 +5114,11 @@
5107
5114
  "hasDynamicHelp": false,
5108
5115
  "multiple": false,
5109
5116
  "type": "option"
5110
- },
5111
- "file": {
5112
- "description": "Output file path",
5113
- "name": "file",
5114
- "hasDynamicHelp": false,
5115
- "multiple": false,
5116
- "type": "option"
5117
5117
  }
5118
5118
  },
5119
5119
  "hasDynamicHelp": false,
5120
5120
  "hiddenAliases": [],
5121
- "id": "exports:download",
5121
+ "id": "custom-fields:delete",
5122
5122
  "pluginAlias": "@instantkom/cli",
5123
5123
  "pluginName": "@instantkom/cli",
5124
5124
  "pluginType": "core",
@@ -5128,20 +5128,20 @@
5128
5128
  "relativePath": [
5129
5129
  "dist",
5130
5130
  "commands",
5131
- "exports",
5132
- "download.js"
5131
+ "custom-fields",
5132
+ "delete.js"
5133
5133
  ]
5134
5134
  },
5135
- "exports:get": {
5135
+ "custom-fields:get": {
5136
5136
  "aliases": [],
5137
5137
  "args": {
5138
5138
  "id": {
5139
- "description": "Export ID",
5139
+ "description": "custom field ID",
5140
5140
  "name": "id",
5141
5141
  "required": true
5142
5142
  }
5143
5143
  },
5144
- "description": "Get an export by ID",
5144
+ "description": "Get custom field by ID",
5145
5145
  "flags": {
5146
5146
  "api-key": {
5147
5147
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5208,7 +5208,7 @@
5208
5208
  },
5209
5209
  "hasDynamicHelp": false,
5210
5210
  "hiddenAliases": [],
5211
- "id": "exports:get",
5211
+ "id": "custom-fields:get",
5212
5212
  "pluginAlias": "@instantkom/cli",
5213
5213
  "pluginName": "@instantkom/cli",
5214
5214
  "pluginType": "core",
@@ -5218,14 +5218,14 @@
5218
5218
  "relativePath": [
5219
5219
  "dist",
5220
5220
  "commands",
5221
- "exports",
5221
+ "custom-fields",
5222
5222
  "get.js"
5223
5223
  ]
5224
5224
  },
5225
- "exports:list": {
5225
+ "custom-fields:list": {
5226
5226
  "aliases": [],
5227
5227
  "args": {},
5228
- "description": "List exports",
5228
+ "description": "List custom fields",
5229
5229
  "flags": {
5230
5230
  "api-key": {
5231
5231
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5288,41 +5288,11 @@
5288
5288
  "hasDynamicHelp": false,
5289
5289
  "multiple": false,
5290
5290
  "type": "option"
5291
- },
5292
- "page": {
5293
- "description": "Page number",
5294
- "name": "page",
5295
- "default": 1,
5296
- "hasDynamicHelp": false,
5297
- "multiple": false,
5298
- "type": "option"
5299
- },
5300
- "limit": {
5301
- "description": "Items per page",
5302
- "name": "limit",
5303
- "default": 50,
5304
- "hasDynamicHelp": false,
5305
- "multiple": false,
5306
- "type": "option"
5307
- },
5308
- "source": {
5309
- "description": "Filter by data source",
5310
- "name": "source",
5311
- "hasDynamicHelp": false,
5312
- "multiple": false,
5313
- "type": "option"
5314
- },
5315
- "target": {
5316
- "description": "Filter by export target/format",
5317
- "name": "target",
5318
- "hasDynamicHelp": false,
5319
- "multiple": false,
5320
- "type": "option"
5321
5291
  }
5322
5292
  },
5323
5293
  "hasDynamicHelp": false,
5324
5294
  "hiddenAliases": [],
5325
- "id": "exports:list",
5295
+ "id": "custom-fields:list",
5326
5296
  "pluginAlias": "@instantkom/cli",
5327
5297
  "pluginName": "@instantkom/cli",
5328
5298
  "pluginType": "core",
@@ -5332,14 +5302,14 @@
5332
5302
  "relativePath": [
5333
5303
  "dist",
5334
5304
  "commands",
5335
- "exports",
5305
+ "custom-fields",
5336
5306
  "list.js"
5337
5307
  ]
5338
5308
  },
5339
- "custom-fields:bulk-delete": {
5309
+ "custom-fields:reorder": {
5340
5310
  "aliases": [],
5341
5311
  "args": {},
5342
- "description": "Bulk delete custom fields",
5312
+ "description": "Reorder custom fields",
5343
5313
  "flags": {
5344
5314
  "api-key": {
5345
5315
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5403,9 +5373,9 @@
5403
5373
  "multiple": false,
5404
5374
  "type": "option"
5405
5375
  },
5406
- "ids": {
5407
- "description": "Comma-separated custom field IDs",
5408
- "name": "ids",
5376
+ "order": {
5377
+ "description": "Order JSON array payload",
5378
+ "name": "order",
5409
5379
  "required": true,
5410
5380
  "hasDynamicHelp": false,
5411
5381
  "multiple": false,
@@ -5414,7 +5384,7 @@
5414
5384
  },
5415
5385
  "hasDynamicHelp": false,
5416
5386
  "hiddenAliases": [],
5417
- "id": "custom-fields:bulk-delete",
5387
+ "id": "custom-fields:reorder",
5418
5388
  "pluginAlias": "@instantkom/cli",
5419
5389
  "pluginName": "@instantkom/cli",
5420
5390
  "pluginType": "core",
@@ -5425,13 +5395,19 @@
5425
5395
  "dist",
5426
5396
  "commands",
5427
5397
  "custom-fields",
5428
- "bulk-delete.js"
5398
+ "reorder.js"
5429
5399
  ]
5430
5400
  },
5431
- "custom-fields:create": {
5401
+ "custom-fields:update": {
5432
5402
  "aliases": [],
5433
- "args": {},
5434
- "description": "Create a custom field",
5403
+ "args": {
5404
+ "id": {
5405
+ "description": "Custom field ID",
5406
+ "name": "id",
5407
+ "required": true
5408
+ }
5409
+ },
5410
+ "description": "Update a custom field",
5435
5411
  "flags": {
5436
5412
  "api-key": {
5437
5413
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5498,15 +5474,6 @@
5498
5474
  "name": {
5499
5475
  "description": "Field name",
5500
5476
  "name": "name",
5501
- "required": true,
5502
- "hasDynamicHelp": false,
5503
- "multiple": false,
5504
- "type": "option"
5505
- },
5506
- "key": {
5507
- "description": "Field key",
5508
- "name": "key",
5509
- "required": true,
5510
5477
  "hasDynamicHelp": false,
5511
5478
  "multiple": false,
5512
5479
  "type": "option"
@@ -5514,7 +5481,6 @@
5514
5481
  "type": {
5515
5482
  "description": "Field type",
5516
5483
  "name": "type",
5517
- "required": true,
5518
5484
  "hasDynamicHelp": false,
5519
5485
  "multiple": false,
5520
5486
  "options": [
@@ -5532,7 +5498,13 @@
5532
5498
  "required": {
5533
5499
  "description": "Field is required",
5534
5500
  "name": "required",
5535
- "allowNo": false,
5501
+ "allowNo": true,
5502
+ "type": "boolean"
5503
+ },
5504
+ "status": {
5505
+ "description": "Field is active",
5506
+ "name": "status",
5507
+ "allowNo": true,
5536
5508
  "type": "boolean"
5537
5509
  },
5538
5510
  "default": {
@@ -5559,7 +5531,7 @@
5559
5531
  },
5560
5532
  "hasDynamicHelp": false,
5561
5533
  "hiddenAliases": [],
5562
- "id": "custom-fields:create",
5534
+ "id": "custom-fields:update",
5563
5535
  "pluginAlias": "@instantkom/cli",
5564
5536
  "pluginName": "@instantkom/cli",
5565
5537
  "pluginType": "core",
@@ -5570,19 +5542,13 @@
5570
5542
  "dist",
5571
5543
  "commands",
5572
5544
  "custom-fields",
5573
- "create.js"
5545
+ "update.js"
5574
5546
  ]
5575
5547
  },
5576
- "custom-fields:delete": {
5548
+ "exports:create": {
5577
5549
  "aliases": [],
5578
- "args": {
5579
- "id": {
5580
- "description": "custom field ID",
5581
- "name": "id",
5582
- "required": true
5583
- }
5584
- },
5585
- "description": "Delete custom field",
5550
+ "args": {},
5551
+ "description": "Create an export",
5586
5552
  "flags": {
5587
5553
  "api-key": {
5588
5554
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5594,18 +5560,10 @@
5594
5560
  "type": "option"
5595
5561
  },
5596
5562
  "format": {
5597
- "description": "Output format: text, json, yaml, or table",
5598
- "helpGroup": "GLOBAL",
5563
+ "description": "Alias for --target",
5599
5564
  "name": "format",
5600
- "default": "text",
5601
5565
  "hasDynamicHelp": false,
5602
5566
  "multiple": false,
5603
- "options": [
5604
- "text",
5605
- "json",
5606
- "yaml",
5607
- "table"
5608
- ],
5609
5567
  "type": "option"
5610
5568
  },
5611
5569
  "json": {
@@ -5645,11 +5603,75 @@
5645
5603
  "hasDynamicHelp": false,
5646
5604
  "multiple": false,
5647
5605
  "type": "option"
5606
+ },
5607
+ "name": {
5608
+ "description": "Export name",
5609
+ "name": "name",
5610
+ "required": true,
5611
+ "hasDynamicHelp": false,
5612
+ "multiple": false,
5613
+ "type": "option"
5614
+ },
5615
+ "sources": {
5616
+ "description": "Data sources to export",
5617
+ "name": "sources",
5618
+ "hasDynamicHelp": false,
5619
+ "multiple": false,
5620
+ "type": "option"
5621
+ },
5622
+ "type": {
5623
+ "description": "Alias for --sources",
5624
+ "name": "type",
5625
+ "hasDynamicHelp": false,
5626
+ "multiple": false,
5627
+ "type": "option"
5628
+ },
5629
+ "target": {
5630
+ "description": "Export target/format",
5631
+ "name": "target",
5632
+ "hasDynamicHelp": false,
5633
+ "multiple": false,
5634
+ "type": "option"
5635
+ },
5636
+ "channels": {
5637
+ "description": "Comma-separated channel IDs",
5638
+ "name": "channels",
5639
+ "hasDynamicHelp": false,
5640
+ "multiple": false,
5641
+ "type": "option"
5642
+ },
5643
+ "fields": {
5644
+ "description": "Comma-separated fields",
5645
+ "name": "fields",
5646
+ "hasDynamicHelp": false,
5647
+ "multiple": false,
5648
+ "type": "option"
5649
+ },
5650
+ "filters": {
5651
+ "description": "Filter criteria",
5652
+ "name": "filters",
5653
+ "hasDynamicHelp": false,
5654
+ "multiple": false,
5655
+ "type": "option"
5656
+ },
5657
+ "color": {
5658
+ "description": "Export color as HEX",
5659
+ "name": "color",
5660
+ "hasDynamicHelp": false,
5661
+ "multiple": false,
5662
+ "type": "option"
5663
+ },
5664
+ "data": {
5665
+ "description": "Additional JSON object payload",
5666
+ "name": "data",
5667
+ "hasDynamicHelp": false,
5668
+ "multiple": false,
5669
+ "type": "option"
5648
5670
  }
5649
5671
  },
5650
5672
  "hasDynamicHelp": false,
5651
5673
  "hiddenAliases": [],
5652
- "id": "custom-fields:delete",
5674
+ "id": "exports:create",
5653
5675
  "pluginAlias": "@instantkom/cli",
5654
5676
  "pluginName": "@instantkom/cli",
5655
5677
  "pluginType": "core",
@@ -5659,20 +5681,20 @@
5659
5681
  "relativePath": [
5660
5682
  "dist",
5661
5683
  "commands",
5662
- "custom-fields",
5663
- "delete.js"
5684
+ "exports",
5685
+ "create.js"
5664
5686
  ]
5665
5687
  },
5666
- "custom-fields:get": {
5688
+ "exports:delete": {
5667
5689
  "aliases": [],
5668
5690
  "args": {
5669
5691
  "id": {
5670
- "description": "custom field ID",
5692
+ "description": "Export ID",
5671
5693
  "name": "id",
5672
5694
  "required": true
5673
5695
  }
5674
5696
  },
5675
- "description": "Get custom field by ID",
5697
+ "description": "Delete an export",
5676
5698
  "flags": {
5677
5699
  "api-key": {
5678
5700
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5739,7 +5761,7 @@
5739
5761
  },
5740
5762
  "hasDynamicHelp": false,
5741
5763
  "hiddenAliases": [],
5742
- "id": "custom-fields:get",
5764
+ "id": "exports:delete",
5743
5765
  "pluginAlias": "@instantkom/cli",
5744
5766
  "pluginName": "@instantkom/cli",
5745
5767
  "pluginType": "core",
@@ -5749,14 +5771,20 @@
5749
5771
  "relativePath": [
5750
5772
  "dist",
5751
5773
  "commands",
5752
- "custom-fields",
5753
- "get.js"
5774
+ "exports",
5775
+ "delete.js"
5754
5776
  ]
5755
5777
  },
5756
- "custom-fields:list": {
5778
+ "exports:download": {
5757
5779
  "aliases": [],
5758
- "args": {},
5759
- "description": "List custom fields",
5780
+ "args": {
5781
+ "id": {
5782
+ "description": "Export ID",
5783
+ "name": "id",
5784
+ "required": true
5785
+ }
5786
+ },
5787
+ "description": "Download an export file",
5760
5788
  "flags": {
5761
5789
  "api-key": {
5762
5790
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5819,11 +5847,18 @@
5819
5847
  "hasDynamicHelp": false,
5820
5848
  "multiple": false,
5821
5849
  "type": "option"
5850
+ },
5851
+ "file": {
5852
+ "description": "Output file path",
5853
+ "name": "file",
5854
+ "hasDynamicHelp": false,
5855
+ "multiple": false,
5856
+ "type": "option"
5822
5857
  }
5823
5858
  },
5824
5859
  "hasDynamicHelp": false,
5825
5860
  "hiddenAliases": [],
5826
- "id": "custom-fields:list",
5861
+ "id": "exports:download",
5827
5862
  "pluginAlias": "@instantkom/cli",
5828
5863
  "pluginName": "@instantkom/cli",
5829
5864
  "pluginType": "core",
@@ -5833,14 +5868,20 @@
5833
5868
  "relativePath": [
5834
5869
  "dist",
5835
5870
  "commands",
5836
- "custom-fields",
5837
- "list.js"
5871
+ "exports",
5872
+ "download.js"
5838
5873
  ]
5839
5874
  },
5840
- "custom-fields:reorder": {
5875
+ "exports:get": {
5841
5876
  "aliases": [],
5842
- "args": {},
5843
- "description": "Reorder custom fields",
5877
+ "args": {
5878
+ "id": {
5879
+ "description": "Export ID",
5880
+ "name": "id",
5881
+ "required": true
5882
+ }
5883
+ },
5884
+ "description": "Get an export by ID",
5844
5885
  "flags": {
5845
5886
  "api-key": {
5846
5887
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5903,19 +5944,11 @@
5903
5944
  "hasDynamicHelp": false,
5904
5945
  "multiple": false,
5905
5946
  "type": "option"
5906
- },
5907
- "order": {
5908
- "description": "Order JSON array payload",
5909
- "name": "order",
5910
- "required": true,
5911
- "hasDynamicHelp": false,
5912
- "multiple": false,
5913
- "type": "option"
5914
5947
  }
5915
5948
  },
5916
5949
  "hasDynamicHelp": false,
5917
5950
  "hiddenAliases": [],
5918
- "id": "custom-fields:reorder",
5951
+ "id": "exports:get",
5919
5952
  "pluginAlias": "@instantkom/cli",
5920
5953
  "pluginName": "@instantkom/cli",
5921
5954
  "pluginType": "core",
@@ -5925,20 +5958,14 @@
5925
5958
  "relativePath": [
5926
5959
  "dist",
5927
5960
  "commands",
5928
- "custom-fields",
5929
- "reorder.js"
5961
+ "exports",
5962
+ "get.js"
5930
5963
  ]
5931
5964
  },
5932
- "custom-fields:update": {
5965
+ "exports:list": {
5933
5966
  "aliases": [],
5934
- "args": {
5935
- "id": {
5936
- "description": "Custom field ID",
5937
- "name": "id",
5938
- "required": true
5939
- }
5940
- },
5941
- "description": "Update a custom field",
5967
+ "args": {},
5968
+ "description": "List exports",
5942
5969
  "flags": {
5943
5970
  "api-key": {
5944
5971
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6002,59 +6029,32 @@
6002
6029
  "multiple": false,
6003
6030
  "type": "option"
6004
6031
  },
6005
- "name": {
6006
- "description": "Field name",
6007
- "name": "name",
6008
- "hasDynamicHelp": false,
6009
- "multiple": false,
6010
- "type": "option"
6011
- },
6012
- "type": {
6013
- "description": "Field type",
6014
- "name": "type",
6032
+ "page": {
6033
+ "description": "Page number",
6034
+ "name": "page",
6035
+ "default": 1,
6015
6036
  "hasDynamicHelp": false,
6016
6037
  "multiple": false,
6017
- "options": [
6018
- "text",
6019
- "number",
6020
- "date",
6021
- "dropdown",
6022
- "checkbox",
6023
- "url",
6024
- "email",
6025
- "phone"
6026
- ],
6027
6038
  "type": "option"
6028
6039
  },
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",
6040
+ "limit": {
6041
+ "description": "Items per page",
6042
+ "name": "limit",
6043
+ "default": 50,
6044
6044
  "hasDynamicHelp": false,
6045
6045
  "multiple": false,
6046
6046
  "type": "option"
6047
6047
  },
6048
- "options": {
6049
- "description": "Comma-separated dropdown options",
6050
- "name": "options",
6048
+ "source": {
6049
+ "description": "Filter by data source",
6050
+ "name": "source",
6051
6051
  "hasDynamicHelp": false,
6052
6052
  "multiple": false,
6053
6053
  "type": "option"
6054
6054
  },
6055
- "data": {
6056
- "description": "Additional JSON object payload",
6057
- "name": "data",
6055
+ "target": {
6056
+ "description": "Filter by export target/format",
6057
+ "name": "target",
6058
6058
  "hasDynamicHelp": false,
6059
6059
  "multiple": false,
6060
6060
  "type": "option"
@@ -6062,7 +6062,7 @@
6062
6062
  },
6063
6063
  "hasDynamicHelp": false,
6064
6064
  "hiddenAliases": [],
6065
- "id": "custom-fields:update",
6065
+ "id": "exports:list",
6066
6066
  "pluginAlias": "@instantkom/cli",
6067
6067
  "pluginName": "@instantkom/cli",
6068
6068
  "pluginType": "core",
@@ -6072,8 +6072,8 @@
6072
6072
  "relativePath": [
6073
6073
  "dist",
6074
6074
  "commands",
6075
- "custom-fields",
6076
- "update.js"
6075
+ "exports",
6076
+ "list.js"
6077
6077
  ]
6078
6078
  },
6079
6079
  "flows:create": {
@@ -7571,10 +7571,10 @@
7571
7571
  "update.js"
7572
7572
  ]
7573
7573
  },
7574
- "tags:create": {
7574
+ "segments:create": {
7575
7575
  "aliases": [],
7576
7576
  "args": {},
7577
- "description": "Create a tag",
7577
+ "description": "Create a segment",
7578
7578
  "flags": {
7579
7579
  "api-key": {
7580
7580
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7638,28 +7638,43 @@
7638
7638
  "multiple": false,
7639
7639
  "type": "option"
7640
7640
  },
7641
- "name": {
7642
- "description": "Tag name",
7643
- "name": "name",
7644
- "required": true,
7641
+ "channel": {
7642
+ "description": "Channel ID",
7643
+ "name": "channel",
7644
+ "required": true,
7645
+ "hasDynamicHelp": false,
7646
+ "multiple": false,
7647
+ "type": "option"
7648
+ },
7649
+ "name": {
7650
+ "description": "Segment name",
7651
+ "name": "name",
7652
+ "required": true,
7645
7653
  "hasDynamicHelp": false,
7646
7654
  "multiple": false,
7647
7655
  "type": "option"
7648
7656
  },
7649
7657
  "description": {
7650
- "description": "Tag description",
7658
+ "description": "Segment description",
7651
7659
  "name": "description",
7652
7660
  "hasDynamicHelp": false,
7653
7661
  "multiple": false,
7654
7662
  "type": "option"
7655
7663
  },
7656
7664
  "color": {
7657
- "description": "Tag color as HEX",
7665
+ "description": "Segment color as HEX",
7658
7666
  "name": "color",
7659
7667
  "hasDynamicHelp": false,
7660
7668
  "multiple": false,
7661
7669
  "type": "option"
7662
7670
  },
7671
+ "tags": {
7672
+ "description": "Tags for filtering recipients",
7673
+ "name": "tags",
7674
+ "hasDynamicHelp": false,
7675
+ "multiple": false,
7676
+ "type": "option"
7677
+ },
7663
7678
  "folder": {
7664
7679
  "description": "Object folder ID",
7665
7680
  "name": "folder",
@@ -7677,7 +7692,7 @@
7677
7692
  },
7678
7693
  "hasDynamicHelp": false,
7679
7694
  "hiddenAliases": [],
7680
- "id": "tags:create",
7695
+ "id": "segments:create",
7681
7696
  "pluginAlias": "@instantkom/cli",
7682
7697
  "pluginName": "@instantkom/cli",
7683
7698
  "pluginType": "core",
@@ -7687,20 +7702,20 @@
7687
7702
  "relativePath": [
7688
7703
  "dist",
7689
7704
  "commands",
7690
- "tags",
7705
+ "segments",
7691
7706
  "create.js"
7692
7707
  ]
7693
7708
  },
7694
- "tags:delete": {
7709
+ "segments:delete": {
7695
7710
  "aliases": [],
7696
7711
  "args": {
7697
7712
  "id": {
7698
- "description": "tag ID",
7713
+ "description": "segment ID",
7699
7714
  "name": "id",
7700
7715
  "required": true
7701
7716
  }
7702
7717
  },
7703
- "description": "Delete tag",
7718
+ "description": "Delete segment",
7704
7719
  "flags": {
7705
7720
  "api-key": {
7706
7721
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7767,7 +7782,7 @@
7767
7782
  },
7768
7783
  "hasDynamicHelp": false,
7769
7784
  "hiddenAliases": [],
7770
- "id": "tags:delete",
7785
+ "id": "segments:delete",
7771
7786
  "pluginAlias": "@instantkom/cli",
7772
7787
  "pluginName": "@instantkom/cli",
7773
7788
  "pluginType": "core",
@@ -7777,109 +7792,20 @@
7777
7792
  "relativePath": [
7778
7793
  "dist",
7779
7794
  "commands",
7780
- "tags",
7795
+ "segments",
7781
7796
  "delete.js"
7782
7797
  ]
7783
7798
  },
7784
- "tags:export": {
7785
- "aliases": [],
7786
- "args": {},
7787
- "description": "Export tags to a file",
7788
- "flags": {
7789
- "api-key": {
7790
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
7791
- "env": "IKM_API_KEY",
7792
- "helpGroup": "GLOBAL",
7793
- "name": "api-key",
7794
- "hasDynamicHelp": false,
7795
- "multiple": false,
7796
- "type": "option"
7797
- },
7798
- "format": {
7799
- "description": "Export format",
7800
- "name": "format",
7801
- "default": "csv",
7802
- "hasDynamicHelp": false,
7803
- "multiple": false,
7804
- "options": [
7805
- "csv",
7806
- "json"
7807
- ],
7808
- "type": "option"
7809
- },
7810
- "json": {
7811
- "description": "Output in JSON format (alias for --format=json)",
7812
- "helpGroup": "GLOBAL",
7813
- "name": "json",
7814
- "allowNo": false,
7815
- "type": "boolean"
7816
- },
7817
- "quiet": {
7818
- "description": "Suppress all output except errors",
7819
- "helpGroup": "GLOBAL",
7820
- "name": "quiet",
7821
- "allowNo": false,
7822
- "type": "boolean"
7823
- },
7824
- "no-color": {
7825
- "description": "Disable color output",
7826
- "helpGroup": "GLOBAL",
7827
- "name": "no-color",
7828
- "allowNo": false,
7829
- "type": "boolean"
7830
- },
7831
- "profile": {
7832
- "description": "Named configuration profile to use",
7833
- "helpGroup": "GLOBAL",
7834
- "name": "profile",
7835
- "default": "default",
7836
- "hasDynamicHelp": false,
7837
- "multiple": false,
7838
- "type": "option"
7839
- },
7840
- "api-url": {
7841
- "description": "Override the API base URL (e.g. for staging)",
7842
- "helpGroup": "GLOBAL",
7843
- "name": "api-url",
7844
- "hasDynamicHelp": false,
7845
- "multiple": false,
7846
- "type": "option"
7847
- },
7848
- "file": {
7849
- "description": "Output file path",
7850
- "name": "file",
7851
- "required": true,
7852
- "hasDynamicHelp": false,
7853
- "multiple": false,
7854
- "type": "option"
7855
- }
7856
- },
7857
- "hasDynamicHelp": false,
7858
- "hiddenAliases": [],
7859
- "id": "tags:export",
7860
- "pluginAlias": "@instantkom/cli",
7861
- "pluginName": "@instantkom/cli",
7862
- "pluginType": "core",
7863
- "strict": true,
7864
- "enableJsonFlag": false,
7865
- "isESM": true,
7866
- "relativePath": [
7867
- "dist",
7868
- "commands",
7869
- "tags",
7870
- "export.js"
7871
- ]
7872
- },
7873
- "tags:get": {
7799
+ "segments:get": {
7874
7800
  "aliases": [],
7875
7801
  "args": {
7876
7802
  "id": {
7877
- "description": "tag ID",
7803
+ "description": "segment ID",
7878
7804
  "name": "id",
7879
7805
  "required": true
7880
7806
  }
7881
7807
  },
7882
- "description": "Get tag by ID",
7808
+ "description": "Get segment by ID",
7883
7809
  "flags": {
7884
7810
  "api-key": {
7885
7811
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7946,7 +7872,7 @@
7946
7872
  },
7947
7873
  "hasDynamicHelp": false,
7948
7874
  "hiddenAliases": [],
7949
- "id": "tags:get",
7875
+ "id": "segments:get",
7950
7876
  "pluginAlias": "@instantkom/cli",
7951
7877
  "pluginName": "@instantkom/cli",
7952
7878
  "pluginType": "core",
@@ -7956,112 +7882,14 @@
7956
7882
  "relativePath": [
7957
7883
  "dist",
7958
7884
  "commands",
7959
- "tags",
7885
+ "segments",
7960
7886
  "get.js"
7961
7887
  ]
7962
7888
  },
7963
- "tags:import": {
7964
- "aliases": [],
7965
- "args": {},
7966
- "description": "Import tags from JSON",
7967
- "flags": {
7968
- "api-key": {
7969
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
7970
- "env": "IKM_API_KEY",
7971
- "helpGroup": "GLOBAL",
7972
- "name": "api-key",
7973
- "hasDynamicHelp": false,
7974
- "multiple": false,
7975
- "type": "option"
7976
- },
7977
- "format": {
7978
- "description": "Output format: text, json, yaml, or table",
7979
- "helpGroup": "GLOBAL",
7980
- "name": "format",
7981
- "default": "text",
7982
- "hasDynamicHelp": false,
7983
- "multiple": false,
7984
- "options": [
7985
- "text",
7986
- "json",
7987
- "yaml",
7988
- "table"
7989
- ],
7990
- "type": "option"
7991
- },
7992
- "json": {
7993
- "description": "Output in JSON format (alias for --format=json)",
7994
- "helpGroup": "GLOBAL",
7995
- "name": "json",
7996
- "allowNo": false,
7997
- "type": "boolean"
7998
- },
7999
- "quiet": {
8000
- "description": "Suppress all output except errors",
8001
- "helpGroup": "GLOBAL",
8002
- "name": "quiet",
8003
- "allowNo": false,
8004
- "type": "boolean"
8005
- },
8006
- "no-color": {
8007
- "description": "Disable color output",
8008
- "helpGroup": "GLOBAL",
8009
- "name": "no-color",
8010
- "allowNo": false,
8011
- "type": "boolean"
8012
- },
8013
- "profile": {
8014
- "description": "Named configuration profile to use",
8015
- "helpGroup": "GLOBAL",
8016
- "name": "profile",
8017
- "default": "default",
8018
- "hasDynamicHelp": false,
8019
- "multiple": false,
8020
- "type": "option"
8021
- },
8022
- "api-url": {
8023
- "description": "Override the API base URL (e.g. for staging)",
8024
- "helpGroup": "GLOBAL",
8025
- "name": "api-url",
8026
- "hasDynamicHelp": false,
8027
- "multiple": false,
8028
- "type": "option"
8029
- },
8030
- "file": {
8031
- "description": "JSON file path",
8032
- "name": "file",
8033
- "required": true,
8034
- "hasDynamicHelp": false,
8035
- "multiple": false,
8036
- "type": "option"
8037
- },
8038
- "skip-duplicates": {
8039
- "description": "Skip duplicate tags",
8040
- "name": "skip-duplicates",
8041
- "allowNo": true,
8042
- "type": "boolean"
8043
- }
8044
- },
8045
- "hasDynamicHelp": false,
8046
- "hiddenAliases": [],
8047
- "id": "tags:import",
8048
- "pluginAlias": "@instantkom/cli",
8049
- "pluginName": "@instantkom/cli",
8050
- "pluginType": "core",
8051
- "strict": true,
8052
- "enableJsonFlag": false,
8053
- "isESM": true,
8054
- "relativePath": [
8055
- "dist",
8056
- "commands",
8057
- "tags",
8058
- "import.js"
8059
- ]
8060
- },
8061
- "tags:list": {
7889
+ "segments:list": {
8062
7890
  "aliases": [],
8063
7891
  "args": {},
8064
- "description": "List tags",
7892
+ "description": "List segments",
8065
7893
  "flags": {
8066
7894
  "api-key": {
8067
7895
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8141,6 +7969,13 @@
8141
7969
  "multiple": false,
8142
7970
  "type": "option"
8143
7971
  },
7972
+ "channel": {
7973
+ "description": "Filter by channel ID",
7974
+ "name": "channel",
7975
+ "hasDynamicHelp": false,
7976
+ "multiple": false,
7977
+ "type": "option"
7978
+ },
8144
7979
  "search": {
8145
7980
  "description": "Search by name",
8146
7981
  "name": "search",
@@ -8148,17 +7983,28 @@
8148
7983
  "multiple": false,
8149
7984
  "type": "option"
8150
7985
  },
8151
- "color": {
8152
- "description": "Filter by color",
8153
- "name": "color",
7986
+ "tags": {
7987
+ "description": "Comma-separated tag IDs",
7988
+ "name": "tags",
8154
7989
  "hasDynamicHelp": false,
8155
7990
  "multiple": false,
8156
7991
  "type": "option"
7992
+ },
7993
+ "tag-match-mode": {
7994
+ "description": "Tag match mode",
7995
+ "name": "tag-match-mode",
7996
+ "hasDynamicHelp": false,
7997
+ "multiple": false,
7998
+ "options": [
7999
+ "any",
8000
+ "all"
8001
+ ],
8002
+ "type": "option"
8157
8003
  }
8158
8004
  },
8159
8005
  "hasDynamicHelp": false,
8160
8006
  "hiddenAliases": [],
8161
- "id": "tags:list",
8007
+ "id": "segments:list",
8162
8008
  "pluginAlias": "@instantkom/cli",
8163
8009
  "pluginName": "@instantkom/cli",
8164
8010
  "pluginType": "core",
@@ -8168,20 +8014,20 @@
8168
8014
  "relativePath": [
8169
8015
  "dist",
8170
8016
  "commands",
8171
- "tags",
8017
+ "segments",
8172
8018
  "list.js"
8173
8019
  ]
8174
8020
  },
8175
- "tags:update": {
8021
+ "segments:update": {
8176
8022
  "aliases": [],
8177
8023
  "args": {
8178
8024
  "id": {
8179
- "description": "Tag ID",
8025
+ "description": "Segment ID",
8180
8026
  "name": "id",
8181
8027
  "required": true
8182
8028
  }
8183
8029
  },
8184
- "description": "Update a tag",
8030
+ "description": "Update a segment",
8185
8031
  "flags": {
8186
8032
  "api-key": {
8187
8033
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8246,128 +8092,43 @@
8246
8092
  "type": "option"
8247
8093
  },
8248
8094
  "name": {
8249
- "description": "Tag name",
8095
+ "description": "Segment name",
8250
8096
  "name": "name",
8251
8097
  "hasDynamicHelp": false,
8252
8098
  "multiple": false,
8253
8099
  "type": "option"
8254
8100
  },
8255
8101
  "description": {
8256
- "description": "Tag description",
8102
+ "description": "Segment description",
8257
8103
  "name": "description",
8258
8104
  "hasDynamicHelp": false,
8259
8105
  "multiple": false,
8260
8106
  "type": "option"
8261
8107
  },
8262
8108
  "color": {
8263
- "description": "Tag color as HEX",
8109
+ "description": "Segment color as HEX",
8264
8110
  "name": "color",
8265
8111
  "hasDynamicHelp": false,
8266
8112
  "multiple": false,
8267
8113
  "type": "option"
8268
8114
  },
8269
- "folder": {
8270
- "description": "Object folder ID",
8271
- "name": "folder",
8272
- "hasDynamicHelp": false,
8273
- "multiple": false,
8274
- "type": "option"
8275
- },
8276
- "data": {
8277
- "description": "Additional JSON object payload",
8278
- "name": "data",
8279
- "hasDynamicHelp": false,
8280
- "multiple": false,
8281
- "type": "option"
8282
- }
8283
- },
8284
- "hasDynamicHelp": false,
8285
- "hiddenAliases": [],
8286
- "id": "tags:update",
8287
- "pluginAlias": "@instantkom/cli",
8288
- "pluginName": "@instantkom/cli",
8289
- "pluginType": "core",
8290
- "strict": true,
8291
- "enableJsonFlag": false,
8292
- "isESM": true,
8293
- "relativePath": [
8294
- "dist",
8295
- "commands",
8296
- "tags",
8297
- "update.js"
8298
- ]
8299
- },
8300
- "tags:validate-import": {
8301
- "aliases": [],
8302
- "args": {},
8303
- "description": "Validate tags import JSON",
8304
- "flags": {
8305
- "api-key": {
8306
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
8307
- "env": "IKM_API_KEY",
8308
- "helpGroup": "GLOBAL",
8309
- "name": "api-key",
8310
- "hasDynamicHelp": false,
8311
- "multiple": false,
8312
- "type": "option"
8313
- },
8314
- "format": {
8315
- "description": "Output format: text, json, yaml, or table",
8316
- "helpGroup": "GLOBAL",
8317
- "name": "format",
8318
- "default": "text",
8319
- "hasDynamicHelp": false,
8320
- "multiple": false,
8321
- "options": [
8322
- "text",
8323
- "json",
8324
- "yaml",
8325
- "table"
8326
- ],
8327
- "type": "option"
8328
- },
8329
- "json": {
8330
- "description": "Output in JSON format (alias for --format=json)",
8331
- "helpGroup": "GLOBAL",
8332
- "name": "json",
8333
- "allowNo": false,
8334
- "type": "boolean"
8335
- },
8336
- "quiet": {
8337
- "description": "Suppress all output except errors",
8338
- "helpGroup": "GLOBAL",
8339
- "name": "quiet",
8340
- "allowNo": false,
8341
- "type": "boolean"
8342
- },
8343
- "no-color": {
8344
- "description": "Disable color output",
8345
- "helpGroup": "GLOBAL",
8346
- "name": "no-color",
8347
- "allowNo": false,
8348
- "type": "boolean"
8349
- },
8350
- "profile": {
8351
- "description": "Named configuration profile to use",
8352
- "helpGroup": "GLOBAL",
8353
- "name": "profile",
8354
- "default": "default",
8115
+ "tags": {
8116
+ "description": "Tags for filtering recipients",
8117
+ "name": "tags",
8355
8118
  "hasDynamicHelp": false,
8356
- "multiple": false,
8357
- "type": "option"
8358
- },
8359
- "api-url": {
8360
- "description": "Override the API base URL (e.g. for staging)",
8361
- "helpGroup": "GLOBAL",
8362
- "name": "api-url",
8119
+ "multiple": false,
8120
+ "type": "option"
8121
+ },
8122
+ "folder": {
8123
+ "description": "Object folder ID",
8124
+ "name": "folder",
8363
8125
  "hasDynamicHelp": false,
8364
8126
  "multiple": false,
8365
8127
  "type": "option"
8366
8128
  },
8367
- "file": {
8368
- "description": "JSON file path",
8369
- "name": "file",
8370
- "required": true,
8129
+ "data": {
8130
+ "description": "Additional JSON object payload",
8131
+ "name": "data",
8371
8132
  "hasDynamicHelp": false,
8372
8133
  "multiple": false,
8373
8134
  "type": "option"
@@ -8375,7 +8136,7 @@
8375
8136
  },
8376
8137
  "hasDynamicHelp": false,
8377
8138
  "hiddenAliases": [],
8378
- "id": "tags:validate-import",
8139
+ "id": "segments:update",
8379
8140
  "pluginAlias": "@instantkom/cli",
8380
8141
  "pluginName": "@instantkom/cli",
8381
8142
  "pluginType": "core",
@@ -8385,8 +8146,8 @@
8385
8146
  "relativePath": [
8386
8147
  "dist",
8387
8148
  "commands",
8388
- "tags",
8389
- "validate-import.js"
8149
+ "segments",
8150
+ "update.js"
8390
8151
  ]
8391
8152
  },
8392
8153
  "team:create": {
@@ -10987,10 +10748,10 @@
10987
10748
  "test.js"
10988
10749
  ]
10989
10750
  },
10990
- "segments:create": {
10751
+ "tags:create": {
10991
10752
  "aliases": [],
10992
10753
  "args": {},
10993
- "description": "Create a segment",
10754
+ "description": "Create a tag",
10994
10755
  "flags": {
10995
10756
  "api-key": {
10996
10757
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11054,16 +10815,8 @@
11054
10815
  "multiple": false,
11055
10816
  "type": "option"
11056
10817
  },
11057
- "channel": {
11058
- "description": "Channel ID",
11059
- "name": "channel",
11060
- "required": true,
11061
- "hasDynamicHelp": false,
11062
- "multiple": false,
11063
- "type": "option"
11064
- },
11065
10818
  "name": {
11066
- "description": "Segment name",
10819
+ "description": "Tag name",
11067
10820
  "name": "name",
11068
10821
  "required": true,
11069
10822
  "hasDynamicHelp": false,
@@ -11071,26 +10824,19 @@
11071
10824
  "type": "option"
11072
10825
  },
11073
10826
  "description": {
11074
- "description": "Segment description",
10827
+ "description": "Tag description",
11075
10828
  "name": "description",
11076
10829
  "hasDynamicHelp": false,
11077
10830
  "multiple": false,
11078
10831
  "type": "option"
11079
10832
  },
11080
10833
  "color": {
11081
- "description": "Segment color as HEX",
10834
+ "description": "Tag color as HEX",
11082
10835
  "name": "color",
11083
10836
  "hasDynamicHelp": false,
11084
10837
  "multiple": false,
11085
10838
  "type": "option"
11086
10839
  },
11087
- "tags": {
11088
- "description": "Tags for filtering recipients",
11089
- "name": "tags",
11090
- "hasDynamicHelp": false,
11091
- "multiple": false,
11092
- "type": "option"
11093
- },
11094
10840
  "folder": {
11095
10841
  "description": "Object folder ID",
11096
10842
  "name": "folder",
@@ -11108,7 +10854,7 @@
11108
10854
  },
11109
10855
  "hasDynamicHelp": false,
11110
10856
  "hiddenAliases": [],
11111
- "id": "segments:create",
10857
+ "id": "tags:create",
11112
10858
  "pluginAlias": "@instantkom/cli",
11113
10859
  "pluginName": "@instantkom/cli",
11114
10860
  "pluginType": "core",
@@ -11118,20 +10864,20 @@
11118
10864
  "relativePath": [
11119
10865
  "dist",
11120
10866
  "commands",
11121
- "segments",
10867
+ "tags",
11122
10868
  "create.js"
11123
10869
  ]
11124
10870
  },
11125
- "segments:delete": {
10871
+ "tags:delete": {
11126
10872
  "aliases": [],
11127
10873
  "args": {
11128
10874
  "id": {
11129
- "description": "segment ID",
10875
+ "description": "tag ID",
11130
10876
  "name": "id",
11131
10877
  "required": true
11132
10878
  }
11133
10879
  },
11134
- "description": "Delete segment",
10880
+ "description": "Delete tag",
11135
10881
  "flags": {
11136
10882
  "api-key": {
11137
10883
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11198,7 +10944,7 @@
11198
10944
  },
11199
10945
  "hasDynamicHelp": false,
11200
10946
  "hiddenAliases": [],
11201
- "id": "segments:delete",
10947
+ "id": "tags:delete",
11202
10948
  "pluginAlias": "@instantkom/cli",
11203
10949
  "pluginName": "@instantkom/cli",
11204
10950
  "pluginType": "core",
@@ -11208,20 +10954,109 @@
11208
10954
  "relativePath": [
11209
10955
  "dist",
11210
10956
  "commands",
11211
- "segments",
10957
+ "tags",
11212
10958
  "delete.js"
11213
10959
  ]
11214
10960
  },
11215
- "segments:get": {
10961
+ "tags:export": {
10962
+ "aliases": [],
10963
+ "args": {},
10964
+ "description": "Export tags to a file",
10965
+ "flags": {
10966
+ "api-key": {
10967
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
10968
+ "env": "IKM_API_KEY",
10969
+ "helpGroup": "GLOBAL",
10970
+ "name": "api-key",
10971
+ "hasDynamicHelp": false,
10972
+ "multiple": false,
10973
+ "type": "option"
10974
+ },
10975
+ "format": {
10976
+ "description": "Export format",
10977
+ "name": "format",
10978
+ "default": "csv",
10979
+ "hasDynamicHelp": false,
10980
+ "multiple": false,
10981
+ "options": [
10982
+ "csv",
10983
+ "json"
10984
+ ],
10985
+ "type": "option"
10986
+ },
10987
+ "json": {
10988
+ "description": "Output in JSON format (alias for --format=json)",
10989
+ "helpGroup": "GLOBAL",
10990
+ "name": "json",
10991
+ "allowNo": false,
10992
+ "type": "boolean"
10993
+ },
10994
+ "quiet": {
10995
+ "description": "Suppress all output except errors",
10996
+ "helpGroup": "GLOBAL",
10997
+ "name": "quiet",
10998
+ "allowNo": false,
10999
+ "type": "boolean"
11000
+ },
11001
+ "no-color": {
11002
+ "description": "Disable color output",
11003
+ "helpGroup": "GLOBAL",
11004
+ "name": "no-color",
11005
+ "allowNo": false,
11006
+ "type": "boolean"
11007
+ },
11008
+ "profile": {
11009
+ "description": "Named configuration profile to use",
11010
+ "helpGroup": "GLOBAL",
11011
+ "name": "profile",
11012
+ "default": "default",
11013
+ "hasDynamicHelp": false,
11014
+ "multiple": false,
11015
+ "type": "option"
11016
+ },
11017
+ "api-url": {
11018
+ "description": "Override the API base URL (e.g. for staging)",
11019
+ "helpGroup": "GLOBAL",
11020
+ "name": "api-url",
11021
+ "hasDynamicHelp": false,
11022
+ "multiple": false,
11023
+ "type": "option"
11024
+ },
11025
+ "file": {
11026
+ "description": "Output file path",
11027
+ "name": "file",
11028
+ "required": true,
11029
+ "hasDynamicHelp": false,
11030
+ "multiple": false,
11031
+ "type": "option"
11032
+ }
11033
+ },
11034
+ "hasDynamicHelp": false,
11035
+ "hiddenAliases": [],
11036
+ "id": "tags:export",
11037
+ "pluginAlias": "@instantkom/cli",
11038
+ "pluginName": "@instantkom/cli",
11039
+ "pluginType": "core",
11040
+ "strict": true,
11041
+ "enableJsonFlag": false,
11042
+ "isESM": true,
11043
+ "relativePath": [
11044
+ "dist",
11045
+ "commands",
11046
+ "tags",
11047
+ "export.js"
11048
+ ]
11049
+ },
11050
+ "tags:get": {
11216
11051
  "aliases": [],
11217
11052
  "args": {
11218
11053
  "id": {
11219
- "description": "segment ID",
11054
+ "description": "tag ID",
11220
11055
  "name": "id",
11221
11056
  "required": true
11222
11057
  }
11223
11058
  },
11224
- "description": "Get segment by ID",
11059
+ "description": "Get tag by ID",
11225
11060
  "flags": {
11226
11061
  "api-key": {
11227
11062
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11288,7 +11123,7 @@
11288
11123
  },
11289
11124
  "hasDynamicHelp": false,
11290
11125
  "hiddenAliases": [],
11291
- "id": "segments:get",
11126
+ "id": "tags:get",
11292
11127
  "pluginAlias": "@instantkom/cli",
11293
11128
  "pluginName": "@instantkom/cli",
11294
11129
  "pluginType": "core",
@@ -11298,14 +11133,112 @@
11298
11133
  "relativePath": [
11299
11134
  "dist",
11300
11135
  "commands",
11301
- "segments",
11136
+ "tags",
11302
11137
  "get.js"
11303
11138
  ]
11304
11139
  },
11305
- "segments:list": {
11140
+ "tags:import": {
11141
+ "aliases": [],
11142
+ "args": {},
11143
+ "description": "Import tags from JSON",
11144
+ "flags": {
11145
+ "api-key": {
11146
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
11147
+ "env": "IKM_API_KEY",
11148
+ "helpGroup": "GLOBAL",
11149
+ "name": "api-key",
11150
+ "hasDynamicHelp": false,
11151
+ "multiple": false,
11152
+ "type": "option"
11153
+ },
11154
+ "format": {
11155
+ "description": "Output format: text, json, yaml, or table",
11156
+ "helpGroup": "GLOBAL",
11157
+ "name": "format",
11158
+ "default": "text",
11159
+ "hasDynamicHelp": false,
11160
+ "multiple": false,
11161
+ "options": [
11162
+ "text",
11163
+ "json",
11164
+ "yaml",
11165
+ "table"
11166
+ ],
11167
+ "type": "option"
11168
+ },
11169
+ "json": {
11170
+ "description": "Output in JSON format (alias for --format=json)",
11171
+ "helpGroup": "GLOBAL",
11172
+ "name": "json",
11173
+ "allowNo": false,
11174
+ "type": "boolean"
11175
+ },
11176
+ "quiet": {
11177
+ "description": "Suppress all output except errors",
11178
+ "helpGroup": "GLOBAL",
11179
+ "name": "quiet",
11180
+ "allowNo": false,
11181
+ "type": "boolean"
11182
+ },
11183
+ "no-color": {
11184
+ "description": "Disable color output",
11185
+ "helpGroup": "GLOBAL",
11186
+ "name": "no-color",
11187
+ "allowNo": false,
11188
+ "type": "boolean"
11189
+ },
11190
+ "profile": {
11191
+ "description": "Named configuration profile to use",
11192
+ "helpGroup": "GLOBAL",
11193
+ "name": "profile",
11194
+ "default": "default",
11195
+ "hasDynamicHelp": false,
11196
+ "multiple": false,
11197
+ "type": "option"
11198
+ },
11199
+ "api-url": {
11200
+ "description": "Override the API base URL (e.g. for staging)",
11201
+ "helpGroup": "GLOBAL",
11202
+ "name": "api-url",
11203
+ "hasDynamicHelp": false,
11204
+ "multiple": false,
11205
+ "type": "option"
11206
+ },
11207
+ "file": {
11208
+ "description": "JSON file path",
11209
+ "name": "file",
11210
+ "required": true,
11211
+ "hasDynamicHelp": false,
11212
+ "multiple": false,
11213
+ "type": "option"
11214
+ },
11215
+ "skip-duplicates": {
11216
+ "description": "Skip duplicate tags",
11217
+ "name": "skip-duplicates",
11218
+ "allowNo": true,
11219
+ "type": "boolean"
11220
+ }
11221
+ },
11222
+ "hasDynamicHelp": false,
11223
+ "hiddenAliases": [],
11224
+ "id": "tags:import",
11225
+ "pluginAlias": "@instantkom/cli",
11226
+ "pluginName": "@instantkom/cli",
11227
+ "pluginType": "core",
11228
+ "strict": true,
11229
+ "enableJsonFlag": false,
11230
+ "isESM": true,
11231
+ "relativePath": [
11232
+ "dist",
11233
+ "commands",
11234
+ "tags",
11235
+ "import.js"
11236
+ ]
11237
+ },
11238
+ "tags:list": {
11306
11239
  "aliases": [],
11307
11240
  "args": {},
11308
- "description": "List segments",
11241
+ "description": "List tags",
11309
11242
  "flags": {
11310
11243
  "api-key": {
11311
11244
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11385,13 +11318,6 @@
11385
11318
  "multiple": false,
11386
11319
  "type": "option"
11387
11320
  },
11388
- "channel": {
11389
- "description": "Filter by channel ID",
11390
- "name": "channel",
11391
- "hasDynamicHelp": false,
11392
- "multiple": false,
11393
- "type": "option"
11394
- },
11395
11321
  "search": {
11396
11322
  "description": "Search by name",
11397
11323
  "name": "search",
@@ -11399,28 +11325,17 @@
11399
11325
  "multiple": false,
11400
11326
  "type": "option"
11401
11327
  },
11402
- "tags": {
11403
- "description": "Comma-separated tag IDs",
11404
- "name": "tags",
11405
- "hasDynamicHelp": false,
11406
- "multiple": false,
11407
- "type": "option"
11408
- },
11409
- "tag-match-mode": {
11410
- "description": "Tag match mode",
11411
- "name": "tag-match-mode",
11328
+ "color": {
11329
+ "description": "Filter by color",
11330
+ "name": "color",
11412
11331
  "hasDynamicHelp": false,
11413
11332
  "multiple": false,
11414
- "options": [
11415
- "any",
11416
- "all"
11417
- ],
11418
11333
  "type": "option"
11419
11334
  }
11420
11335
  },
11421
11336
  "hasDynamicHelp": false,
11422
11337
  "hiddenAliases": [],
11423
- "id": "segments:list",
11338
+ "id": "tags:list",
11424
11339
  "pluginAlias": "@instantkom/cli",
11425
11340
  "pluginName": "@instantkom/cli",
11426
11341
  "pluginType": "core",
@@ -11430,20 +11345,20 @@
11430
11345
  "relativePath": [
11431
11346
  "dist",
11432
11347
  "commands",
11433
- "segments",
11348
+ "tags",
11434
11349
  "list.js"
11435
11350
  ]
11436
11351
  },
11437
- "segments:update": {
11352
+ "tags:update": {
11438
11353
  "aliases": [],
11439
11354
  "args": {
11440
11355
  "id": {
11441
- "description": "Segment ID",
11356
+ "description": "Tag ID",
11442
11357
  "name": "id",
11443
11358
  "required": true
11444
11359
  }
11445
11360
  },
11446
- "description": "Update a segment",
11361
+ "description": "Update a tag",
11447
11362
  "flags": {
11448
11363
  "api-key": {
11449
11364
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11508,33 +11423,26 @@
11508
11423
  "type": "option"
11509
11424
  },
11510
11425
  "name": {
11511
- "description": "Segment name",
11426
+ "description": "Tag name",
11512
11427
  "name": "name",
11513
11428
  "hasDynamicHelp": false,
11514
11429
  "multiple": false,
11515
11430
  "type": "option"
11516
11431
  },
11517
11432
  "description": {
11518
- "description": "Segment description",
11433
+ "description": "Tag description",
11519
11434
  "name": "description",
11520
11435
  "hasDynamicHelp": false,
11521
11436
  "multiple": false,
11522
11437
  "type": "option"
11523
11438
  },
11524
11439
  "color": {
11525
- "description": "Segment color as HEX",
11440
+ "description": "Tag color as HEX",
11526
11441
  "name": "color",
11527
11442
  "hasDynamicHelp": false,
11528
11443
  "multiple": false,
11529
11444
  "type": "option"
11530
11445
  },
11531
- "tags": {
11532
- "description": "Tags for filtering recipients",
11533
- "name": "tags",
11534
- "hasDynamicHelp": false,
11535
- "multiple": false,
11536
- "type": "option"
11537
- },
11538
11446
  "folder": {
11539
11447
  "description": "Object folder ID",
11540
11448
  "name": "folder",
@@ -11552,7 +11460,7 @@
11552
11460
  },
11553
11461
  "hasDynamicHelp": false,
11554
11462
  "hiddenAliases": [],
11555
- "id": "segments:update",
11463
+ "id": "tags:update",
11556
11464
  "pluginAlias": "@instantkom/cli",
11557
11465
  "pluginName": "@instantkom/cli",
11558
11466
  "pluginType": "core",
@@ -11562,10 +11470,102 @@
11562
11470
  "relativePath": [
11563
11471
  "dist",
11564
11472
  "commands",
11565
- "segments",
11473
+ "tags",
11566
11474
  "update.js"
11567
11475
  ]
11568
11476
  },
11477
+ "tags:validate-import": {
11478
+ "aliases": [],
11479
+ "args": {},
11480
+ "description": "Validate tags import JSON",
11481
+ "flags": {
11482
+ "api-key": {
11483
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
11484
+ "env": "IKM_API_KEY",
11485
+ "helpGroup": "GLOBAL",
11486
+ "name": "api-key",
11487
+ "hasDynamicHelp": false,
11488
+ "multiple": false,
11489
+ "type": "option"
11490
+ },
11491
+ "format": {
11492
+ "description": "Output format: text, json, yaml, or table",
11493
+ "helpGroup": "GLOBAL",
11494
+ "name": "format",
11495
+ "default": "text",
11496
+ "hasDynamicHelp": false,
11497
+ "multiple": false,
11498
+ "options": [
11499
+ "text",
11500
+ "json",
11501
+ "yaml",
11502
+ "table"
11503
+ ],
11504
+ "type": "option"
11505
+ },
11506
+ "json": {
11507
+ "description": "Output in JSON format (alias for --format=json)",
11508
+ "helpGroup": "GLOBAL",
11509
+ "name": "json",
11510
+ "allowNo": false,
11511
+ "type": "boolean"
11512
+ },
11513
+ "quiet": {
11514
+ "description": "Suppress all output except errors",
11515
+ "helpGroup": "GLOBAL",
11516
+ "name": "quiet",
11517
+ "allowNo": false,
11518
+ "type": "boolean"
11519
+ },
11520
+ "no-color": {
11521
+ "description": "Disable color output",
11522
+ "helpGroup": "GLOBAL",
11523
+ "name": "no-color",
11524
+ "allowNo": false,
11525
+ "type": "boolean"
11526
+ },
11527
+ "profile": {
11528
+ "description": "Named configuration profile to use",
11529
+ "helpGroup": "GLOBAL",
11530
+ "name": "profile",
11531
+ "default": "default",
11532
+ "hasDynamicHelp": false,
11533
+ "multiple": false,
11534
+ "type": "option"
11535
+ },
11536
+ "api-url": {
11537
+ "description": "Override the API base URL (e.g. for staging)",
11538
+ "helpGroup": "GLOBAL",
11539
+ "name": "api-url",
11540
+ "hasDynamicHelp": false,
11541
+ "multiple": false,
11542
+ "type": "option"
11543
+ },
11544
+ "file": {
11545
+ "description": "JSON file path",
11546
+ "name": "file",
11547
+ "required": true,
11548
+ "hasDynamicHelp": false,
11549
+ "multiple": false,
11550
+ "type": "option"
11551
+ }
11552
+ },
11553
+ "hasDynamicHelp": false,
11554
+ "hiddenAliases": [],
11555
+ "id": "tags:validate-import",
11556
+ "pluginAlias": "@instantkom/cli",
11557
+ "pluginName": "@instantkom/cli",
11558
+ "pluginType": "core",
11559
+ "strict": true,
11560
+ "enableJsonFlag": false,
11561
+ "isESM": true,
11562
+ "relativePath": [
11563
+ "dist",
11564
+ "commands",
11565
+ "tags",
11566
+ "validate-import.js"
11567
+ ]
11568
+ },
11569
11569
  "auth:tokens:create": {
11570
11570
  "aliases": [],
11571
11571
  "args": {},
@@ -15276,123 +15276,21 @@
15276
15276
  "update.js"
15277
15277
  ]
15278
15278
  },
15279
- "tags:bots:list": {
15279
+ "segments:tags:add": {
15280
15280
  "aliases": [],
15281
15281
  "args": {
15282
- "id": {
15283
- "description": "Tag ID",
15284
- "name": "id",
15282
+ "segmentId": {
15283
+ "description": "Segment ID",
15284
+ "name": "segmentId",
15285
15285
  "required": true
15286
- }
15287
- },
15288
- "description": "List bots that use a specific tag",
15289
- "flags": {
15290
- "api-key": {
15291
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
15292
- "env": "IKM_API_KEY",
15293
- "helpGroup": "GLOBAL",
15294
- "name": "api-key",
15295
- "hasDynamicHelp": false,
15296
- "multiple": false,
15297
- "type": "option"
15298
- },
15299
- "format": {
15300
- "description": "Output format: text, json, yaml, or table",
15301
- "helpGroup": "GLOBAL",
15302
- "name": "format",
15303
- "default": "text",
15304
- "hasDynamicHelp": false,
15305
- "multiple": false,
15306
- "options": [
15307
- "text",
15308
- "json",
15309
- "yaml",
15310
- "table"
15311
- ],
15312
- "type": "option"
15313
- },
15314
- "json": {
15315
- "description": "Output in JSON format (alias for --format=json)",
15316
- "helpGroup": "GLOBAL",
15317
- "name": "json",
15318
- "allowNo": false,
15319
- "type": "boolean"
15320
- },
15321
- "quiet": {
15322
- "description": "Suppress all output except errors",
15323
- "helpGroup": "GLOBAL",
15324
- "name": "quiet",
15325
- "allowNo": false,
15326
- "type": "boolean"
15327
- },
15328
- "no-color": {
15329
- "description": "Disable color output",
15330
- "helpGroup": "GLOBAL",
15331
- "name": "no-color",
15332
- "allowNo": false,
15333
- "type": "boolean"
15334
- },
15335
- "profile": {
15336
- "description": "Named configuration profile to use",
15337
- "helpGroup": "GLOBAL",
15338
- "name": "profile",
15339
- "default": "default",
15340
- "hasDynamicHelp": false,
15341
- "multiple": false,
15342
- "type": "option"
15343
- },
15344
- "api-url": {
15345
- "description": "Override the API base URL (e.g. for staging)",
15346
- "helpGroup": "GLOBAL",
15347
- "name": "api-url",
15348
- "hasDynamicHelp": false,
15349
- "multiple": false,
15350
- "type": "option"
15351
- },
15352
- "page": {
15353
- "description": "Page number",
15354
- "name": "page",
15355
- "default": 1,
15356
- "hasDynamicHelp": false,
15357
- "multiple": false,
15358
- "type": "option"
15359
15286
  },
15360
- "limit": {
15361
- "description": "Items per page",
15362
- "name": "limit",
15363
- "default": 20,
15364
- "hasDynamicHelp": false,
15365
- "multiple": false,
15366
- "type": "option"
15367
- }
15368
- },
15369
- "hasDynamicHelp": false,
15370
- "hiddenAliases": [],
15371
- "id": "tags:bots:list",
15372
- "pluginAlias": "@instantkom/cli",
15373
- "pluginName": "@instantkom/cli",
15374
- "pluginType": "core",
15375
- "strict": true,
15376
- "enableJsonFlag": false,
15377
- "isESM": true,
15378
- "relativePath": [
15379
- "dist",
15380
- "commands",
15381
- "tags",
15382
- "bots",
15383
- "list.js"
15384
- ]
15385
- },
15386
- "tags:recipients:add": {
15387
- "aliases": [],
15388
- "args": {
15389
15287
  "tagId": {
15390
15288
  "description": "Tag ID",
15391
15289
  "name": "tagId",
15392
15290
  "required": true
15393
15291
  }
15394
15292
  },
15395
- "description": "Assign a tag to recipients",
15293
+ "description": "Assign a tag to a segment",
15396
15294
  "flags": {
15397
15295
  "api-key": {
15398
15296
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15455,19 +15353,11 @@
15455
15353
  "hasDynamicHelp": false,
15456
15354
  "multiple": false,
15457
15355
  "type": "option"
15458
- },
15459
- "recipients": {
15460
- "description": "Comma-separated recipient IDs",
15461
- "name": "recipients",
15462
- "required": true,
15463
- "hasDynamicHelp": false,
15464
- "multiple": false,
15465
- "type": "option"
15466
15356
  }
15467
15357
  },
15468
15358
  "hasDynamicHelp": false,
15469
15359
  "hiddenAliases": [],
15470
- "id": "tags:recipients:add",
15360
+ "id": "segments:tags:add",
15471
15361
  "pluginAlias": "@instantkom/cli",
15472
15362
  "pluginName": "@instantkom/cli",
15473
15363
  "pluginType": "core",
@@ -15477,21 +15367,21 @@
15477
15367
  "relativePath": [
15478
15368
  "dist",
15479
15369
  "commands",
15370
+ "segments",
15480
15371
  "tags",
15481
- "recipients",
15482
15372
  "add.js"
15483
15373
  ]
15484
15374
  },
15485
- "tags:recipients:remove": {
15375
+ "segments:tags:list": {
15486
15376
  "aliases": [],
15487
15377
  "args": {
15488
- "tagId": {
15489
- "description": "Tag ID",
15490
- "name": "tagId",
15378
+ "segmentId": {
15379
+ "description": "Segment ID",
15380
+ "name": "segmentId",
15491
15381
  "required": true
15492
15382
  }
15493
15383
  },
15494
- "description": "Remove a tag from recipients",
15384
+ "description": "List tags assigned to a segment",
15495
15385
  "flags": {
15496
15386
  "api-key": {
15497
15387
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15554,19 +15444,11 @@
15554
15444
  "hasDynamicHelp": false,
15555
15445
  "multiple": false,
15556
15446
  "type": "option"
15557
- },
15558
- "recipients": {
15559
- "description": "Comma-separated recipient IDs",
15560
- "name": "recipients",
15561
- "required": true,
15562
- "hasDynamicHelp": false,
15563
- "multiple": false,
15564
- "type": "option"
15565
15447
  }
15566
15448
  },
15567
15449
  "hasDynamicHelp": false,
15568
15450
  "hiddenAliases": [],
15569
- "id": "tags:recipients:remove",
15451
+ "id": "segments:tags:list",
15570
15452
  "pluginAlias": "@instantkom/cli",
15571
15453
  "pluginName": "@instantkom/cli",
15572
15454
  "pluginType": "core",
@@ -15576,21 +15458,26 @@
15576
15458
  "relativePath": [
15577
15459
  "dist",
15578
15460
  "commands",
15461
+ "segments",
15579
15462
  "tags",
15580
- "recipients",
15581
- "remove.js"
15463
+ "list.js"
15582
15464
  ]
15583
15465
  },
15584
- "tags:segments:list": {
15466
+ "segments:tags:remove": {
15585
15467
  "aliases": [],
15586
15468
  "args": {
15587
- "id": {
15469
+ "segmentId": {
15470
+ "description": "Segment ID",
15471
+ "name": "segmentId",
15472
+ "required": true
15473
+ },
15474
+ "tagId": {
15588
15475
  "description": "Tag ID",
15589
- "name": "id",
15476
+ "name": "tagId",
15590
15477
  "required": true
15591
15478
  }
15592
15479
  },
15593
- "description": "List segments that use a specific tag",
15480
+ "description": "Remove a tag from a segment",
15594
15481
  "flags": {
15595
15482
  "api-key": {
15596
15483
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15653,27 +15540,11 @@
15653
15540
  "hasDynamicHelp": false,
15654
15541
  "multiple": false,
15655
15542
  "type": "option"
15656
- },
15657
- "page": {
15658
- "description": "Page number",
15659
- "name": "page",
15660
- "default": 1,
15661
- "hasDynamicHelp": false,
15662
- "multiple": false,
15663
- "type": "option"
15664
- },
15665
- "limit": {
15666
- "description": "Items per page",
15667
- "name": "limit",
15668
- "default": 20,
15669
- "hasDynamicHelp": false,
15670
- "multiple": false,
15671
- "type": "option"
15672
15543
  }
15673
15544
  },
15674
15545
  "hasDynamicHelp": false,
15675
15546
  "hiddenAliases": [],
15676
- "id": "tags:segments:list",
15547
+ "id": "segments:tags:remove",
15677
15548
  "pluginAlias": "@instantkom/cli",
15678
15549
  "pluginName": "@instantkom/cli",
15679
15550
  "pluginType": "core",
@@ -15683,9 +15554,9 @@
15683
15554
  "relativePath": [
15684
15555
  "dist",
15685
15556
  "commands",
15686
- "tags",
15687
15557
  "segments",
15688
- "list.js"
15558
+ "tags",
15559
+ "remove.js"
15689
15560
  ]
15690
15561
  },
15691
15562
  "ticket:messages:create": {
@@ -16077,21 +15948,123 @@
16077
15948
  "list.js"
16078
15949
  ]
16079
15950
  },
16080
- "segments:tags:add": {
15951
+ "tags:bots:list": {
16081
15952
  "aliases": [],
16082
15953
  "args": {
16083
- "segmentId": {
16084
- "description": "Segment ID",
16085
- "name": "segmentId",
15954
+ "id": {
15955
+ "description": "Tag ID",
15956
+ "name": "id",
16086
15957
  "required": true
15958
+ }
15959
+ },
15960
+ "description": "List bots that use a specific tag",
15961
+ "flags": {
15962
+ "api-key": {
15963
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
15964
+ "env": "IKM_API_KEY",
15965
+ "helpGroup": "GLOBAL",
15966
+ "name": "api-key",
15967
+ "hasDynamicHelp": false,
15968
+ "multiple": false,
15969
+ "type": "option"
15970
+ },
15971
+ "format": {
15972
+ "description": "Output format: text, json, yaml, or table",
15973
+ "helpGroup": "GLOBAL",
15974
+ "name": "format",
15975
+ "default": "text",
15976
+ "hasDynamicHelp": false,
15977
+ "multiple": false,
15978
+ "options": [
15979
+ "text",
15980
+ "json",
15981
+ "yaml",
15982
+ "table"
15983
+ ],
15984
+ "type": "option"
15985
+ },
15986
+ "json": {
15987
+ "description": "Output in JSON format (alias for --format=json)",
15988
+ "helpGroup": "GLOBAL",
15989
+ "name": "json",
15990
+ "allowNo": false,
15991
+ "type": "boolean"
15992
+ },
15993
+ "quiet": {
15994
+ "description": "Suppress all output except errors",
15995
+ "helpGroup": "GLOBAL",
15996
+ "name": "quiet",
15997
+ "allowNo": false,
15998
+ "type": "boolean"
15999
+ },
16000
+ "no-color": {
16001
+ "description": "Disable color output",
16002
+ "helpGroup": "GLOBAL",
16003
+ "name": "no-color",
16004
+ "allowNo": false,
16005
+ "type": "boolean"
16006
+ },
16007
+ "profile": {
16008
+ "description": "Named configuration profile to use",
16009
+ "helpGroup": "GLOBAL",
16010
+ "name": "profile",
16011
+ "default": "default",
16012
+ "hasDynamicHelp": false,
16013
+ "multiple": false,
16014
+ "type": "option"
16015
+ },
16016
+ "api-url": {
16017
+ "description": "Override the API base URL (e.g. for staging)",
16018
+ "helpGroup": "GLOBAL",
16019
+ "name": "api-url",
16020
+ "hasDynamicHelp": false,
16021
+ "multiple": false,
16022
+ "type": "option"
16023
+ },
16024
+ "page": {
16025
+ "description": "Page number",
16026
+ "name": "page",
16027
+ "default": 1,
16028
+ "hasDynamicHelp": false,
16029
+ "multiple": false,
16030
+ "type": "option"
16087
16031
  },
16032
+ "limit": {
16033
+ "description": "Items per page",
16034
+ "name": "limit",
16035
+ "default": 20,
16036
+ "hasDynamicHelp": false,
16037
+ "multiple": false,
16038
+ "type": "option"
16039
+ }
16040
+ },
16041
+ "hasDynamicHelp": false,
16042
+ "hiddenAliases": [],
16043
+ "id": "tags:bots:list",
16044
+ "pluginAlias": "@instantkom/cli",
16045
+ "pluginName": "@instantkom/cli",
16046
+ "pluginType": "core",
16047
+ "strict": true,
16048
+ "enableJsonFlag": false,
16049
+ "isESM": true,
16050
+ "relativePath": [
16051
+ "dist",
16052
+ "commands",
16053
+ "tags",
16054
+ "bots",
16055
+ "list.js"
16056
+ ]
16057
+ },
16058
+ "tags:recipients:add": {
16059
+ "aliases": [],
16060
+ "args": {
16088
16061
  "tagId": {
16089
16062
  "description": "Tag ID",
16090
16063
  "name": "tagId",
16091
16064
  "required": true
16092
16065
  }
16093
16066
  },
16094
- "description": "Assign a tag to a segment",
16067
+ "description": "Assign a tag to recipients",
16095
16068
  "flags": {
16096
16069
  "api-key": {
16097
16070
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16154,11 +16127,19 @@
16154
16127
  "hasDynamicHelp": false,
16155
16128
  "multiple": false,
16156
16129
  "type": "option"
16130
+ },
16131
+ "recipients": {
16132
+ "description": "Comma-separated recipient IDs",
16133
+ "name": "recipients",
16134
+ "required": true,
16135
+ "hasDynamicHelp": false,
16136
+ "multiple": false,
16137
+ "type": "option"
16157
16138
  }
16158
16139
  },
16159
16140
  "hasDynamicHelp": false,
16160
16141
  "hiddenAliases": [],
16161
- "id": "segments:tags:add",
16142
+ "id": "tags:recipients:add",
16162
16143
  "pluginAlias": "@instantkom/cli",
16163
16144
  "pluginName": "@instantkom/cli",
16164
16145
  "pluginType": "core",
@@ -16168,21 +16149,21 @@
16168
16149
  "relativePath": [
16169
16150
  "dist",
16170
16151
  "commands",
16171
- "segments",
16172
16152
  "tags",
16153
+ "recipients",
16173
16154
  "add.js"
16174
16155
  ]
16175
16156
  },
16176
- "segments:tags:list": {
16157
+ "tags:recipients:remove": {
16177
16158
  "aliases": [],
16178
16159
  "args": {
16179
- "segmentId": {
16180
- "description": "Segment ID",
16181
- "name": "segmentId",
16160
+ "tagId": {
16161
+ "description": "Tag ID",
16162
+ "name": "tagId",
16182
16163
  "required": true
16183
16164
  }
16184
16165
  },
16185
- "description": "List tags assigned to a segment",
16166
+ "description": "Remove a tag from recipients",
16186
16167
  "flags": {
16187
16168
  "api-key": {
16188
16169
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16245,11 +16226,19 @@
16245
16226
  "hasDynamicHelp": false,
16246
16227
  "multiple": false,
16247
16228
  "type": "option"
16229
+ },
16230
+ "recipients": {
16231
+ "description": "Comma-separated recipient IDs",
16232
+ "name": "recipients",
16233
+ "required": true,
16234
+ "hasDynamicHelp": false,
16235
+ "multiple": false,
16236
+ "type": "option"
16248
16237
  }
16249
16238
  },
16250
16239
  "hasDynamicHelp": false,
16251
16240
  "hiddenAliases": [],
16252
- "id": "segments:tags:list",
16241
+ "id": "tags:recipients:remove",
16253
16242
  "pluginAlias": "@instantkom/cli",
16254
16243
  "pluginName": "@instantkom/cli",
16255
16244
  "pluginType": "core",
@@ -16259,26 +16248,21 @@
16259
16248
  "relativePath": [
16260
16249
  "dist",
16261
16250
  "commands",
16262
- "segments",
16263
16251
  "tags",
16264
- "list.js"
16252
+ "recipients",
16253
+ "remove.js"
16265
16254
  ]
16266
16255
  },
16267
- "segments:tags:remove": {
16256
+ "tags:segments:list": {
16268
16257
  "aliases": [],
16269
16258
  "args": {
16270
- "segmentId": {
16271
- "description": "Segment ID",
16272
- "name": "segmentId",
16273
- "required": true
16274
- },
16275
- "tagId": {
16259
+ "id": {
16276
16260
  "description": "Tag ID",
16277
- "name": "tagId",
16261
+ "name": "id",
16278
16262
  "required": true
16279
16263
  }
16280
16264
  },
16281
- "description": "Remove a tag from a segment",
16265
+ "description": "List segments that use a specific tag",
16282
16266
  "flags": {
16283
16267
  "api-key": {
16284
16268
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16341,11 +16325,27 @@
16341
16325
  "hasDynamicHelp": false,
16342
16326
  "multiple": false,
16343
16327
  "type": "option"
16328
+ },
16329
+ "page": {
16330
+ "description": "Page number",
16331
+ "name": "page",
16332
+ "default": 1,
16333
+ "hasDynamicHelp": false,
16334
+ "multiple": false,
16335
+ "type": "option"
16336
+ },
16337
+ "limit": {
16338
+ "description": "Items per page",
16339
+ "name": "limit",
16340
+ "default": 20,
16341
+ "hasDynamicHelp": false,
16342
+ "multiple": false,
16343
+ "type": "option"
16344
16344
  }
16345
16345
  },
16346
16346
  "hasDynamicHelp": false,
16347
16347
  "hiddenAliases": [],
16348
- "id": "segments:tags:remove",
16348
+ "id": "tags:segments:list",
16349
16349
  "pluginAlias": "@instantkom/cli",
16350
16350
  "pluginName": "@instantkom/cli",
16351
16351
  "pluginType": "core",
@@ -16355,9 +16355,9 @@
16355
16355
  "relativePath": [
16356
16356
  "dist",
16357
16357
  "commands",
16358
- "segments",
16359
16358
  "tags",
16360
- "remove.js"
16359
+ "segments",
16360
+ "list.js"
16361
16361
  ]
16362
16362
  },
16363
16363
  "bots:env-vars:values:delete": {
@@ -16566,5 +16566,5 @@
16566
16566
  ]
16567
16567
  }
16568
16568
  },
16569
- "version": "3.163.1"
16569
+ "version": "3.164.0"
16570
16570
  }