@instantkom/cli 3.177.0 → 3.179.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,40 +1073,6 @@
1073
1073
  "reply.js"
1074
1074
  ]
1075
1075
  },
1076
- "autocomplete:script": {
1077
- "aliases": [],
1078
- "args": {
1079
- "shell": {
1080
- "description": "Shell type",
1081
- "name": "shell",
1082
- "options": [
1083
- "zsh",
1084
- "bash",
1085
- "fish",
1086
- "powershell"
1087
- ],
1088
- "required": false
1089
- }
1090
- },
1091
- "description": "outputs autocomplete config script for shells",
1092
- "flags": {},
1093
- "hasDynamicHelp": false,
1094
- "hidden": true,
1095
- "hiddenAliases": [],
1096
- "id": "autocomplete:script",
1097
- "pluginAlias": "@instantkom/cli",
1098
- "pluginName": "@instantkom/cli",
1099
- "pluginType": "core",
1100
- "strict": true,
1101
- "enableJsonFlag": false,
1102
- "isESM": true,
1103
- "relativePath": [
1104
- "dist",
1105
- "commands",
1106
- "autocomplete",
1107
- "script.js"
1108
- ]
1109
- },
1110
1076
  "auth:login": {
1111
1077
  "aliases": [],
1112
1078
  "args": {},
@@ -1289,6 +1255,40 @@
1289
1255
  "logout.js"
1290
1256
  ]
1291
1257
  },
1258
+ "autocomplete:script": {
1259
+ "aliases": [],
1260
+ "args": {
1261
+ "shell": {
1262
+ "description": "Shell type",
1263
+ "name": "shell",
1264
+ "options": [
1265
+ "zsh",
1266
+ "bash",
1267
+ "fish",
1268
+ "powershell"
1269
+ ],
1270
+ "required": false
1271
+ }
1272
+ },
1273
+ "description": "outputs autocomplete config script for shells",
1274
+ "flags": {},
1275
+ "hasDynamicHelp": false,
1276
+ "hidden": true,
1277
+ "hiddenAliases": [],
1278
+ "id": "autocomplete:script",
1279
+ "pluginAlias": "@instantkom/cli",
1280
+ "pluginName": "@instantkom/cli",
1281
+ "pluginType": "core",
1282
+ "strict": true,
1283
+ "enableJsonFlag": false,
1284
+ "isESM": true,
1285
+ "relativePath": [
1286
+ "dist",
1287
+ "commands",
1288
+ "autocomplete",
1289
+ "script.js"
1290
+ ]
1291
+ },
1292
1292
  "bots:create": {
1293
1293
  "aliases": [],
1294
1294
  "args": {},
@@ -4805,10 +4805,10 @@
4805
4805
  "update.js"
4806
4806
  ]
4807
4807
  },
4808
- "custom-fields:bulk-delete": {
4808
+ "exports:create": {
4809
4809
  "aliases": [],
4810
4810
  "args": {},
4811
- "description": "Bulk delete custom fields",
4811
+ "description": "Create an export",
4812
4812
  "flags": {
4813
4813
  "api-key": {
4814
4814
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -4820,18 +4820,10 @@
4820
4820
  "type": "option"
4821
4821
  },
4822
4822
  "format": {
4823
- "description": "Output format: text, json, yaml, or table",
4824
- "helpGroup": "GLOBAL",
4823
+ "description": "Alias for --target",
4825
4824
  "name": "format",
4826
- "default": "text",
4827
4825
  "hasDynamicHelp": false,
4828
4826
  "multiple": false,
4829
- "options": [
4830
- "text",
4831
- "json",
4832
- "yaml",
4833
- "table"
4834
- ],
4835
4827
  "type": "option"
4836
4828
  },
4837
4829
  "json": {
@@ -4872,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.",
@@ -4963,72 +5017,11 @@
4963
5017
  "hasDynamicHelp": false,
4964
5018
  "multiple": false,
4965
5019
  "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"
5027
5020
  }
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
+ "flows:create": {
5310
5340
  "aliases": [],
5311
5341
  "args": {},
5312
- "description": "Reorder custom fields",
5342
+ "description": "Create a flow",
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,18 +5403,54 @@
5373
5403
  "multiple": false,
5374
5404
  "type": "option"
5375
5405
  },
5376
- "order": {
5377
- "description": "Order JSON array payload",
5378
- "name": "order",
5406
+ "channel": {
5407
+ "description": "Channel ID",
5408
+ "name": "channel",
5379
5409
  "required": true,
5380
5410
  "hasDynamicHelp": false,
5381
5411
  "multiple": false,
5382
5412
  "type": "option"
5413
+ },
5414
+ "name": {
5415
+ "description": "Flow name",
5416
+ "name": "name",
5417
+ "required": true,
5418
+ "hasDynamicHelp": false,
5419
+ "multiple": false,
5420
+ "type": "option"
5421
+ },
5422
+ "description": {
5423
+ "description": "Flow description",
5424
+ "name": "description",
5425
+ "hasDynamicHelp": false,
5426
+ "multiple": false,
5427
+ "type": "option"
5428
+ },
5429
+ "color": {
5430
+ "description": "Flow color as HEX",
5431
+ "name": "color",
5432
+ "hasDynamicHelp": false,
5433
+ "multiple": false,
5434
+ "type": "option"
5435
+ },
5436
+ "folder": {
5437
+ "description": "Folder ID",
5438
+ "name": "folder",
5439
+ "hasDynamicHelp": false,
5440
+ "multiple": false,
5441
+ "type": "option"
5442
+ },
5443
+ "data": {
5444
+ "description": "Additional JSON object payload",
5445
+ "name": "data",
5446
+ "hasDynamicHelp": false,
5447
+ "multiple": false,
5448
+ "type": "option"
5383
5449
  }
5384
5450
  },
5385
5451
  "hasDynamicHelp": false,
5386
5452
  "hiddenAliases": [],
5387
- "id": "custom-fields:reorder",
5453
+ "id": "flows:create",
5388
5454
  "pluginAlias": "@instantkom/cli",
5389
5455
  "pluginName": "@instantkom/cli",
5390
5456
  "pluginType": "core",
@@ -5394,20 +5460,20 @@
5394
5460
  "relativePath": [
5395
5461
  "dist",
5396
5462
  "commands",
5397
- "custom-fields",
5398
- "reorder.js"
5463
+ "flows",
5464
+ "create.js"
5399
5465
  ]
5400
5466
  },
5401
- "custom-fields:update": {
5467
+ "flows:delete": {
5402
5468
  "aliases": [],
5403
5469
  "args": {
5404
5470
  "id": {
5405
- "description": "Custom field ID",
5471
+ "description": "Flow ID",
5406
5472
  "name": "id",
5407
5473
  "required": true
5408
5474
  }
5409
5475
  },
5410
- "description": "Update a custom field",
5476
+ "description": "Delete a flow",
5411
5477
  "flags": {
5412
5478
  "api-key": {
5413
5479
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5470,68 +5536,11 @@
5470
5536
  "hasDynamicHelp": false,
5471
5537
  "multiple": false,
5472
5538
  "type": "option"
5473
- },
5474
- "name": {
5475
- "description": "Field name",
5476
- "name": "name",
5477
- "hasDynamicHelp": false,
5478
- "multiple": false,
5479
- "type": "option"
5480
- },
5481
- "type": {
5482
- "description": "Field type",
5483
- "name": "type",
5484
- "hasDynamicHelp": false,
5485
- "multiple": false,
5486
- "options": [
5487
- "text",
5488
- "number",
5489
- "date",
5490
- "dropdown",
5491
- "checkbox",
5492
- "url",
5493
- "email",
5494
- "phone"
5495
- ],
5496
- "type": "option"
5497
- },
5498
- "required": {
5499
- "description": "Field is required",
5500
- "name": "required",
5501
- "allowNo": true,
5502
- "type": "boolean"
5503
- },
5504
- "status": {
5505
- "description": "Field is active",
5506
- "name": "status",
5507
- "allowNo": true,
5508
- "type": "boolean"
5509
- },
5510
- "default": {
5511
- "description": "Default value",
5512
- "name": "default",
5513
- "hasDynamicHelp": false,
5514
- "multiple": false,
5515
- "type": "option"
5516
- },
5517
- "options": {
5518
- "description": "Comma-separated dropdown options",
5519
- "name": "options",
5520
- "hasDynamicHelp": false,
5521
- "multiple": false,
5522
- "type": "option"
5523
- },
5524
- "data": {
5525
- "description": "Additional JSON object payload",
5526
- "name": "data",
5527
- "hasDynamicHelp": false,
5528
- "multiple": false,
5529
- "type": "option"
5530
5539
  }
5531
5540
  },
5532
5541
  "hasDynamicHelp": false,
5533
5542
  "hiddenAliases": [],
5534
- "id": "custom-fields:update",
5543
+ "id": "flows:delete",
5535
5544
  "pluginAlias": "@instantkom/cli",
5536
5545
  "pluginName": "@instantkom/cli",
5537
5546
  "pluginType": "core",
@@ -5541,14 +5550,20 @@
5541
5550
  "relativePath": [
5542
5551
  "dist",
5543
5552
  "commands",
5544
- "custom-fields",
5545
- "update.js"
5553
+ "flows",
5554
+ "delete.js"
5546
5555
  ]
5547
5556
  },
5548
- "exports:create": {
5557
+ "flows:get": {
5549
5558
  "aliases": [],
5550
- "args": {},
5551
- "description": "Create an export",
5559
+ "args": {
5560
+ "id": {
5561
+ "description": "Flow ID",
5562
+ "name": "id",
5563
+ "required": true
5564
+ }
5565
+ },
5566
+ "description": "Get a flow by ID",
5552
5567
  "flags": {
5553
5568
  "api-key": {
5554
5569
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5560,10 +5575,18 @@
5560
5575
  "type": "option"
5561
5576
  },
5562
5577
  "format": {
5563
- "description": "Alias for --target",
5578
+ "description": "Output format: text, json, yaml, or table",
5579
+ "helpGroup": "GLOBAL",
5564
5580
  "name": "format",
5581
+ "default": "text",
5565
5582
  "hasDynamicHelp": false,
5566
5583
  "multiple": false,
5584
+ "options": [
5585
+ "text",
5586
+ "json",
5587
+ "yaml",
5588
+ "table"
5589
+ ],
5567
5590
  "type": "option"
5568
5591
  },
5569
5592
  "json": {
@@ -5603,75 +5626,11 @@
5603
5626
  "hasDynamicHelp": false,
5604
5627
  "multiple": false,
5605
5628
  "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"
5670
5629
  }
5671
5630
  },
5672
5631
  "hasDynamicHelp": false,
5673
5632
  "hiddenAliases": [],
5674
- "id": "exports:create",
5633
+ "id": "flows:get",
5675
5634
  "pluginAlias": "@instantkom/cli",
5676
5635
  "pluginName": "@instantkom/cli",
5677
5636
  "pluginType": "core",
@@ -5681,20 +5640,14 @@
5681
5640
  "relativePath": [
5682
5641
  "dist",
5683
5642
  "commands",
5684
- "exports",
5685
- "create.js"
5643
+ "flows",
5644
+ "get.js"
5686
5645
  ]
5687
5646
  },
5688
- "exports:delete": {
5647
+ "flows:list": {
5689
5648
  "aliases": [],
5690
- "args": {
5691
- "id": {
5692
- "description": "Export ID",
5693
- "name": "id",
5694
- "required": true
5695
- }
5696
- },
5697
- "description": "Delete an export",
5649
+ "args": {},
5650
+ "description": "List flows",
5698
5651
  "flags": {
5699
5652
  "api-key": {
5700
5653
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5757,11 +5710,48 @@
5757
5710
  "hasDynamicHelp": false,
5758
5711
  "multiple": false,
5759
5712
  "type": "option"
5713
+ },
5714
+ "page": {
5715
+ "description": "Page number",
5716
+ "name": "page",
5717
+ "default": 1,
5718
+ "hasDynamicHelp": false,
5719
+ "multiple": false,
5720
+ "type": "option"
5721
+ },
5722
+ "limit": {
5723
+ "description": "Items per page",
5724
+ "name": "limit",
5725
+ "default": 20,
5726
+ "hasDynamicHelp": false,
5727
+ "multiple": false,
5728
+ "type": "option"
5729
+ },
5730
+ "channel": {
5731
+ "description": "Filter by channel ID",
5732
+ "name": "channel",
5733
+ "hasDynamicHelp": false,
5734
+ "multiple": false,
5735
+ "type": "option"
5736
+ },
5737
+ "search": {
5738
+ "description": "Search in flow name or description",
5739
+ "name": "search",
5740
+ "hasDynamicHelp": false,
5741
+ "multiple": false,
5742
+ "type": "option"
5743
+ },
5744
+ "folder": {
5745
+ "description": "Filter by folder ID",
5746
+ "name": "folder",
5747
+ "hasDynamicHelp": false,
5748
+ "multiple": false,
5749
+ "type": "option"
5760
5750
  }
5761
5751
  },
5762
5752
  "hasDynamicHelp": false,
5763
5753
  "hiddenAliases": [],
5764
- "id": "exports:delete",
5754
+ "id": "flows:list",
5765
5755
  "pluginAlias": "@instantkom/cli",
5766
5756
  "pluginName": "@instantkom/cli",
5767
5757
  "pluginType": "core",
@@ -5771,20 +5761,20 @@
5771
5761
  "relativePath": [
5772
5762
  "dist",
5773
5763
  "commands",
5774
- "exports",
5775
- "delete.js"
5764
+ "flows",
5765
+ "list.js"
5776
5766
  ]
5777
5767
  },
5778
- "exports:download": {
5768
+ "flows:update": {
5779
5769
  "aliases": [],
5780
5770
  "args": {
5781
5771
  "id": {
5782
- "description": "Export ID",
5772
+ "description": "Flow ID",
5783
5773
  "name": "id",
5784
5774
  "required": true
5785
5775
  }
5786
5776
  },
5787
- "description": "Download an export file",
5777
+ "description": "Update a flow",
5788
5778
  "flags": {
5789
5779
  "api-key": {
5790
5780
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5848,9 +5838,37 @@
5848
5838
  "multiple": false,
5849
5839
  "type": "option"
5850
5840
  },
5851
- "file": {
5852
- "description": "Output file path",
5853
- "name": "file",
5841
+ "name": {
5842
+ "description": "Flow name",
5843
+ "name": "name",
5844
+ "hasDynamicHelp": false,
5845
+ "multiple": false,
5846
+ "type": "option"
5847
+ },
5848
+ "description": {
5849
+ "description": "Flow description",
5850
+ "name": "description",
5851
+ "hasDynamicHelp": false,
5852
+ "multiple": false,
5853
+ "type": "option"
5854
+ },
5855
+ "color": {
5856
+ "description": "Flow color as HEX",
5857
+ "name": "color",
5858
+ "hasDynamicHelp": false,
5859
+ "multiple": false,
5860
+ "type": "option"
5861
+ },
5862
+ "folder": {
5863
+ "description": "Folder ID",
5864
+ "name": "folder",
5865
+ "hasDynamicHelp": false,
5866
+ "multiple": false,
5867
+ "type": "option"
5868
+ },
5869
+ "data": {
5870
+ "description": "Additional JSON object payload",
5871
+ "name": "data",
5854
5872
  "hasDynamicHelp": false,
5855
5873
  "multiple": false,
5856
5874
  "type": "option"
@@ -5858,7 +5876,7 @@
5858
5876
  },
5859
5877
  "hasDynamicHelp": false,
5860
5878
  "hiddenAliases": [],
5861
- "id": "exports:download",
5879
+ "id": "flows:update",
5862
5880
  "pluginAlias": "@instantkom/cli",
5863
5881
  "pluginName": "@instantkom/cli",
5864
5882
  "pluginType": "core",
@@ -5868,20 +5886,14 @@
5868
5886
  "relativePath": [
5869
5887
  "dist",
5870
5888
  "commands",
5871
- "exports",
5872
- "download.js"
5889
+ "flows",
5890
+ "update.js"
5873
5891
  ]
5874
5892
  },
5875
- "exports:get": {
5893
+ "messages:bulk-spam": {
5876
5894
  "aliases": [],
5877
- "args": {
5878
- "id": {
5879
- "description": "Export ID",
5880
- "name": "id",
5881
- "required": true
5882
- }
5883
- },
5884
- "description": "Get an export by ID",
5895
+ "args": {},
5896
+ "description": "Mark or unmark multiple messages as spam",
5885
5897
  "flags": {
5886
5898
  "api-key": {
5887
5899
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -5944,11 +5956,25 @@
5944
5956
  "hasDynamicHelp": false,
5945
5957
  "multiple": false,
5946
5958
  "type": "option"
5959
+ },
5960
+ "ids": {
5961
+ "description": "Comma-separated message IDs",
5962
+ "name": "ids",
5963
+ "required": true,
5964
+ "hasDynamicHelp": false,
5965
+ "multiple": false,
5966
+ "type": "option"
5967
+ },
5968
+ "spam": {
5969
+ "description": "Mark messages as spam",
5970
+ "name": "spam",
5971
+ "allowNo": true,
5972
+ "type": "boolean"
5947
5973
  }
5948
5974
  },
5949
5975
  "hasDynamicHelp": false,
5950
5976
  "hiddenAliases": [],
5951
- "id": "exports:get",
5977
+ "id": "messages:bulk-spam",
5952
5978
  "pluginAlias": "@instantkom/cli",
5953
5979
  "pluginName": "@instantkom/cli",
5954
5980
  "pluginType": "core",
@@ -5958,14 +5984,20 @@
5958
5984
  "relativePath": [
5959
5985
  "dist",
5960
5986
  "commands",
5961
- "exports",
5962
- "get.js"
5987
+ "messages",
5988
+ "bulk-spam.js"
5963
5989
  ]
5964
5990
  },
5965
- "exports:list": {
5991
+ "messages:create-ticket": {
5966
5992
  "aliases": [],
5967
- "args": {},
5968
- "description": "List exports",
5993
+ "args": {
5994
+ "id": {
5995
+ "description": "Message ID",
5996
+ "name": "id",
5997
+ "required": true
5998
+ }
5999
+ },
6000
+ "description": "Create a ticket from a message",
5969
6001
  "flags": {
5970
6002
  "api-key": {
5971
6003
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6029,32 +6061,23 @@
6029
6061
  "multiple": false,
6030
6062
  "type": "option"
6031
6063
  },
6032
- "page": {
6033
- "description": "Page number",
6034
- "name": "page",
6035
- "default": 1,
6036
- "hasDynamicHelp": false,
6037
- "multiple": false,
6038
- "type": "option"
6039
- },
6040
- "limit": {
6041
- "description": "Items per page",
6042
- "name": "limit",
6043
- "default": 50,
6064
+ "subject": {
6065
+ "description": "Ticket subject",
6066
+ "name": "subject",
6044
6067
  "hasDynamicHelp": false,
6045
6068
  "multiple": false,
6046
6069
  "type": "option"
6047
6070
  },
6048
- "source": {
6049
- "description": "Filter by data source",
6050
- "name": "source",
6071
+ "priority": {
6072
+ "description": "Ticket priority",
6073
+ "name": "priority",
6051
6074
  "hasDynamicHelp": false,
6052
6075
  "multiple": false,
6053
6076
  "type": "option"
6054
6077
  },
6055
- "target": {
6056
- "description": "Filter by export target/format",
6057
- "name": "target",
6078
+ "data": {
6079
+ "description": "Additional JSON object payload",
6080
+ "name": "data",
6058
6081
  "hasDynamicHelp": false,
6059
6082
  "multiple": false,
6060
6083
  "type": "option"
@@ -6062,7 +6085,7 @@
6062
6085
  },
6063
6086
  "hasDynamicHelp": false,
6064
6087
  "hiddenAliases": [],
6065
- "id": "exports:list",
6088
+ "id": "messages:create-ticket",
6066
6089
  "pluginAlias": "@instantkom/cli",
6067
6090
  "pluginName": "@instantkom/cli",
6068
6091
  "pluginType": "core",
@@ -6072,14 +6095,20 @@
6072
6095
  "relativePath": [
6073
6096
  "dist",
6074
6097
  "commands",
6075
- "exports",
6076
- "list.js"
6098
+ "messages",
6099
+ "create-ticket.js"
6077
6100
  ]
6078
6101
  },
6079
- "flows:create": {
6102
+ "messages:delete": {
6080
6103
  "aliases": [],
6081
- "args": {},
6082
- "description": "Create a flow",
6104
+ "args": {
6105
+ "id": {
6106
+ "description": "message ID",
6107
+ "name": "id",
6108
+ "required": true
6109
+ }
6110
+ },
6111
+ "description": "Delete message",
6083
6112
  "flags": {
6084
6113
  "api-key": {
6085
6114
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6142,55 +6171,11 @@
6142
6171
  "hasDynamicHelp": false,
6143
6172
  "multiple": false,
6144
6173
  "type": "option"
6145
- },
6146
- "channel": {
6147
- "description": "Channel ID",
6148
- "name": "channel",
6149
- "required": true,
6150
- "hasDynamicHelp": false,
6151
- "multiple": false,
6152
- "type": "option"
6153
- },
6154
- "name": {
6155
- "description": "Flow name",
6156
- "name": "name",
6157
- "required": true,
6158
- "hasDynamicHelp": false,
6159
- "multiple": false,
6160
- "type": "option"
6161
- },
6162
- "description": {
6163
- "description": "Flow description",
6164
- "name": "description",
6165
- "hasDynamicHelp": false,
6166
- "multiple": false,
6167
- "type": "option"
6168
- },
6169
- "color": {
6170
- "description": "Flow color as HEX",
6171
- "name": "color",
6172
- "hasDynamicHelp": false,
6173
- "multiple": false,
6174
- "type": "option"
6175
- },
6176
- "folder": {
6177
- "description": "Folder ID",
6178
- "name": "folder",
6179
- "hasDynamicHelp": false,
6180
- "multiple": false,
6181
- "type": "option"
6182
- },
6183
- "data": {
6184
- "description": "Additional JSON object payload",
6185
- "name": "data",
6186
- "hasDynamicHelp": false,
6187
- "multiple": false,
6188
- "type": "option"
6189
6174
  }
6190
6175
  },
6191
6176
  "hasDynamicHelp": false,
6192
6177
  "hiddenAliases": [],
6193
- "id": "flows:create",
6178
+ "id": "messages:delete",
6194
6179
  "pluginAlias": "@instantkom/cli",
6195
6180
  "pluginName": "@instantkom/cli",
6196
6181
  "pluginType": "core",
@@ -6200,20 +6185,20 @@
6200
6185
  "relativePath": [
6201
6186
  "dist",
6202
6187
  "commands",
6203
- "flows",
6204
- "create.js"
6188
+ "messages",
6189
+ "delete.js"
6205
6190
  ]
6206
6191
  },
6207
- "flows:delete": {
6192
+ "messages:get": {
6208
6193
  "aliases": [],
6209
6194
  "args": {
6210
6195
  "id": {
6211
- "description": "Flow ID",
6196
+ "description": "message ID",
6212
6197
  "name": "id",
6213
6198
  "required": true
6214
6199
  }
6215
6200
  },
6216
- "description": "Delete a flow",
6201
+ "description": "Get message by ID",
6217
6202
  "flags": {
6218
6203
  "api-key": {
6219
6204
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6280,7 +6265,7 @@
6280
6265
  },
6281
6266
  "hasDynamicHelp": false,
6282
6267
  "hiddenAliases": [],
6283
- "id": "flows:delete",
6268
+ "id": "messages:get",
6284
6269
  "pluginAlias": "@instantkom/cli",
6285
6270
  "pluginName": "@instantkom/cli",
6286
6271
  "pluginType": "core",
@@ -6290,20 +6275,14 @@
6290
6275
  "relativePath": [
6291
6276
  "dist",
6292
6277
  "commands",
6293
- "flows",
6294
- "delete.js"
6278
+ "messages",
6279
+ "get.js"
6295
6280
  ]
6296
6281
  },
6297
- "flows:get": {
6282
+ "messages:list": {
6298
6283
  "aliases": [],
6299
- "args": {
6300
- "id": {
6301
- "description": "Flow ID",
6302
- "name": "id",
6303
- "required": true
6304
- }
6305
- },
6306
- "description": "Get a flow by ID",
6284
+ "args": {},
6285
+ "description": "List messages",
6307
6286
  "flags": {
6308
6287
  "api-key": {
6309
6288
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6343,34 +6322,95 @@
6343
6322
  "allowNo": false,
6344
6323
  "type": "boolean"
6345
6324
  },
6346
- "no-color": {
6347
- "description": "Disable color output",
6348
- "helpGroup": "GLOBAL",
6349
- "name": "no-color",
6350
- "allowNo": false,
6351
- "type": "boolean"
6325
+ "no-color": {
6326
+ "description": "Disable color output",
6327
+ "helpGroup": "GLOBAL",
6328
+ "name": "no-color",
6329
+ "allowNo": false,
6330
+ "type": "boolean"
6331
+ },
6332
+ "profile": {
6333
+ "description": "Named configuration profile to use",
6334
+ "helpGroup": "GLOBAL",
6335
+ "name": "profile",
6336
+ "default": "default",
6337
+ "hasDynamicHelp": false,
6338
+ "multiple": false,
6339
+ "type": "option"
6340
+ },
6341
+ "api-url": {
6342
+ "description": "Override the API base URL (e.g. for staging)",
6343
+ "helpGroup": "GLOBAL",
6344
+ "name": "api-url",
6345
+ "hasDynamicHelp": false,
6346
+ "multiple": false,
6347
+ "type": "option"
6348
+ },
6349
+ "page": {
6350
+ "description": "Page number",
6351
+ "name": "page",
6352
+ "default": 1,
6353
+ "hasDynamicHelp": false,
6354
+ "multiple": false,
6355
+ "type": "option"
6356
+ },
6357
+ "limit": {
6358
+ "description": "Items per page",
6359
+ "name": "limit",
6360
+ "default": 20,
6361
+ "hasDynamicHelp": false,
6362
+ "multiple": false,
6363
+ "type": "option"
6364
+ },
6365
+ "channel": {
6366
+ "description": "Filter by channel ID",
6367
+ "name": "channel",
6368
+ "hasDynamicHelp": false,
6369
+ "multiple": false,
6370
+ "type": "option"
6371
+ },
6372
+ "recipient": {
6373
+ "description": "Filter by recipient ID",
6374
+ "name": "recipient",
6375
+ "hasDynamicHelp": false,
6376
+ "multiple": false,
6377
+ "type": "option"
6378
+ },
6379
+ "direction": {
6380
+ "description": "Direction",
6381
+ "name": "direction",
6382
+ "hasDynamicHelp": false,
6383
+ "multiple": false,
6384
+ "options": [
6385
+ "s",
6386
+ "r"
6387
+ ],
6388
+ "type": "option"
6352
6389
  },
6353
- "profile": {
6354
- "description": "Named configuration profile to use",
6355
- "helpGroup": "GLOBAL",
6356
- "name": "profile",
6357
- "default": "default",
6390
+ "type": {
6391
+ "description": "Message type",
6392
+ "name": "type",
6358
6393
  "hasDynamicHelp": false,
6359
6394
  "multiple": false,
6360
6395
  "type": "option"
6361
6396
  },
6362
- "api-url": {
6363
- "description": "Override the API base URL (e.g. for staging)",
6364
- "helpGroup": "GLOBAL",
6365
- "name": "api-url",
6397
+ "search": {
6398
+ "description": "Search messages",
6399
+ "name": "search",
6366
6400
  "hasDynamicHelp": false,
6367
6401
  "multiple": false,
6368
6402
  "type": "option"
6403
+ },
6404
+ "spam": {
6405
+ "description": "Filter spam messages",
6406
+ "name": "spam",
6407
+ "allowNo": false,
6408
+ "type": "boolean"
6369
6409
  }
6370
6410
  },
6371
6411
  "hasDynamicHelp": false,
6372
6412
  "hiddenAliases": [],
6373
- "id": "flows:get",
6413
+ "id": "messages:list",
6374
6414
  "pluginAlias": "@instantkom/cli",
6375
6415
  "pluginName": "@instantkom/cli",
6376
6416
  "pluginType": "core",
@@ -6380,14 +6420,20 @@
6380
6420
  "relativePath": [
6381
6421
  "dist",
6382
6422
  "commands",
6383
- "flows",
6384
- "get.js"
6423
+ "messages",
6424
+ "list.js"
6385
6425
  ]
6386
6426
  },
6387
- "flows:list": {
6427
+ "messages:reactions": {
6388
6428
  "aliases": [],
6389
- "args": {},
6390
- "description": "List flows",
6429
+ "args": {
6430
+ "id": {
6431
+ "description": "Message ID",
6432
+ "name": "id",
6433
+ "required": true
6434
+ }
6435
+ },
6436
+ "description": "Get reactions to a message",
6391
6437
  "flags": {
6392
6438
  "api-key": {
6393
6439
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6450,48 +6496,11 @@
6450
6496
  "hasDynamicHelp": false,
6451
6497
  "multiple": false,
6452
6498
  "type": "option"
6453
- },
6454
- "page": {
6455
- "description": "Page number",
6456
- "name": "page",
6457
- "default": 1,
6458
- "hasDynamicHelp": false,
6459
- "multiple": false,
6460
- "type": "option"
6461
- },
6462
- "limit": {
6463
- "description": "Items per page",
6464
- "name": "limit",
6465
- "default": 20,
6466
- "hasDynamicHelp": false,
6467
- "multiple": false,
6468
- "type": "option"
6469
- },
6470
- "channel": {
6471
- "description": "Filter by channel ID",
6472
- "name": "channel",
6473
- "hasDynamicHelp": false,
6474
- "multiple": false,
6475
- "type": "option"
6476
- },
6477
- "search": {
6478
- "description": "Search in flow name or description",
6479
- "name": "search",
6480
- "hasDynamicHelp": false,
6481
- "multiple": false,
6482
- "type": "option"
6483
- },
6484
- "folder": {
6485
- "description": "Filter by folder ID",
6486
- "name": "folder",
6487
- "hasDynamicHelp": false,
6488
- "multiple": false,
6489
- "type": "option"
6490
6499
  }
6491
6500
  },
6492
6501
  "hasDynamicHelp": false,
6493
6502
  "hiddenAliases": [],
6494
- "id": "flows:list",
6503
+ "id": "messages:reactions",
6495
6504
  "pluginAlias": "@instantkom/cli",
6496
6505
  "pluginName": "@instantkom/cli",
6497
6506
  "pluginType": "core",
@@ -6501,20 +6510,20 @@
6501
6510
  "relativePath": [
6502
6511
  "dist",
6503
6512
  "commands",
6504
- "flows",
6505
- "list.js"
6513
+ "messages",
6514
+ "reactions.js"
6506
6515
  ]
6507
6516
  },
6508
- "flows:update": {
6517
+ "messages:spam": {
6509
6518
  "aliases": [],
6510
6519
  "args": {
6511
6520
  "id": {
6512
- "description": "Flow ID",
6521
+ "description": "Message ID",
6513
6522
  "name": "id",
6514
6523
  "required": true
6515
6524
  }
6516
6525
  },
6517
- "description": "Update a flow",
6526
+ "description": "Mark or unmark a message as spam",
6518
6527
  "flags": {
6519
6528
  "api-key": {
6520
6529
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6578,45 +6587,16 @@
6578
6587
  "multiple": false,
6579
6588
  "type": "option"
6580
6589
  },
6581
- "name": {
6582
- "description": "Flow name",
6583
- "name": "name",
6584
- "hasDynamicHelp": false,
6585
- "multiple": false,
6586
- "type": "option"
6587
- },
6588
- "description": {
6589
- "description": "Flow description",
6590
- "name": "description",
6591
- "hasDynamicHelp": false,
6592
- "multiple": false,
6593
- "type": "option"
6594
- },
6595
- "color": {
6596
- "description": "Flow color as HEX",
6597
- "name": "color",
6598
- "hasDynamicHelp": false,
6599
- "multiple": false,
6600
- "type": "option"
6601
- },
6602
- "folder": {
6603
- "description": "Folder ID",
6604
- "name": "folder",
6605
- "hasDynamicHelp": false,
6606
- "multiple": false,
6607
- "type": "option"
6608
- },
6609
- "data": {
6610
- "description": "Additional JSON object payload",
6611
- "name": "data",
6612
- "hasDynamicHelp": false,
6613
- "multiple": false,
6614
- "type": "option"
6590
+ "spam": {
6591
+ "description": "Mark as spam",
6592
+ "name": "spam",
6593
+ "allowNo": true,
6594
+ "type": "boolean"
6615
6595
  }
6616
6596
  },
6617
6597
  "hasDynamicHelp": false,
6618
6598
  "hiddenAliases": [],
6619
- "id": "flows:update",
6599
+ "id": "messages:spam",
6620
6600
  "pluginAlias": "@instantkom/cli",
6621
6601
  "pluginName": "@instantkom/cli",
6622
6602
  "pluginType": "core",
@@ -6626,14 +6606,14 @@
6626
6606
  "relativePath": [
6627
6607
  "dist",
6628
6608
  "commands",
6629
- "flows",
6630
- "update.js"
6609
+ "messages",
6610
+ "spam.js"
6631
6611
  ]
6632
6612
  },
6633
- "messages:bulk-spam": {
6613
+ "messages:unread-count": {
6634
6614
  "aliases": [],
6635
6615
  "args": {},
6636
- "description": "Mark or unmark multiple messages as spam",
6616
+ "description": "Get unread inbox message count",
6637
6617
  "flags": {
6638
6618
  "api-key": {
6639
6619
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6696,25 +6676,11 @@
6696
6676
  "hasDynamicHelp": false,
6697
6677
  "multiple": false,
6698
6678
  "type": "option"
6699
- },
6700
- "ids": {
6701
- "description": "Comma-separated message IDs",
6702
- "name": "ids",
6703
- "required": true,
6704
- "hasDynamicHelp": false,
6705
- "multiple": false,
6706
- "type": "option"
6707
- },
6708
- "spam": {
6709
- "description": "Mark messages as spam",
6710
- "name": "spam",
6711
- "allowNo": true,
6712
- "type": "boolean"
6713
6679
  }
6714
6680
  },
6715
6681
  "hasDynamicHelp": false,
6716
6682
  "hiddenAliases": [],
6717
- "id": "messages:bulk-spam",
6683
+ "id": "messages:unread-count",
6718
6684
  "pluginAlias": "@instantkom/cli",
6719
6685
  "pluginName": "@instantkom/cli",
6720
6686
  "pluginType": "core",
@@ -6725,10 +6691,10 @@
6725
6691
  "dist",
6726
6692
  "commands",
6727
6693
  "messages",
6728
- "bulk-spam.js"
6694
+ "unread-count.js"
6729
6695
  ]
6730
6696
  },
6731
- "messages:create-ticket": {
6697
+ "messages:update": {
6732
6698
  "aliases": [],
6733
6699
  "args": {
6734
6700
  "id": {
@@ -6737,7 +6703,7 @@
6737
6703
  "required": true
6738
6704
  }
6739
6705
  },
6740
- "description": "Create a ticket from a message",
6706
+ "description": "Update a message",
6741
6707
  "flags": {
6742
6708
  "api-key": {
6743
6709
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6801,16 +6767,42 @@
6801
6767
  "multiple": false,
6802
6768
  "type": "option"
6803
6769
  },
6804
- "subject": {
6805
- "description": "Ticket subject",
6806
- "name": "subject",
6770
+ "message": {
6771
+ "description": "Message content",
6772
+ "name": "message",
6807
6773
  "hasDynamicHelp": false,
6808
6774
  "multiple": false,
6809
6775
  "type": "option"
6810
6776
  },
6811
- "priority": {
6812
- "description": "Ticket priority",
6813
- "name": "priority",
6777
+ "scheduled-at": {
6778
+ "description": "Unix timestamp for scheduled send",
6779
+ "name": "scheduled-at",
6780
+ "hasDynamicHelp": false,
6781
+ "multiple": false,
6782
+ "type": "option"
6783
+ },
6784
+ "hidden": {
6785
+ "description": "Hide message",
6786
+ "name": "hidden",
6787
+ "allowNo": true,
6788
+ "type": "boolean"
6789
+ },
6790
+ "locked": {
6791
+ "description": "Lock message",
6792
+ "name": "locked",
6793
+ "allowNo": true,
6794
+ "type": "boolean"
6795
+ },
6796
+ "buttons": {
6797
+ "description": "Buttons JSON array",
6798
+ "name": "buttons",
6799
+ "hasDynamicHelp": false,
6800
+ "multiple": false,
6801
+ "type": "option"
6802
+ },
6803
+ "header-footer": {
6804
+ "description": "Header/footer JSON object",
6805
+ "name": "header-footer",
6814
6806
  "hasDynamicHelp": false,
6815
6807
  "multiple": false,
6816
6808
  "type": "option"
@@ -6825,7 +6817,7 @@
6825
6817
  },
6826
6818
  "hasDynamicHelp": false,
6827
6819
  "hiddenAliases": [],
6828
- "id": "messages:create-ticket",
6820
+ "id": "messages:update",
6829
6821
  "pluginAlias": "@instantkom/cli",
6830
6822
  "pluginName": "@instantkom/cli",
6831
6823
  "pluginType": "core",
@@ -6836,19 +6828,13 @@
6836
6828
  "dist",
6837
6829
  "commands",
6838
6830
  "messages",
6839
- "create-ticket.js"
6831
+ "update.js"
6840
6832
  ]
6841
6833
  },
6842
- "messages:delete": {
6834
+ "custom-fields:bulk-delete": {
6843
6835
  "aliases": [],
6844
- "args": {
6845
- "id": {
6846
- "description": "message ID",
6847
- "name": "id",
6848
- "required": true
6849
- }
6850
- },
6851
- "description": "Delete message",
6836
+ "args": {},
6837
+ "description": "Bulk delete custom fields",
6852
6838
  "flags": {
6853
6839
  "api-key": {
6854
6840
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -6911,11 +6897,19 @@
6911
6897
  "hasDynamicHelp": false,
6912
6898
  "multiple": false,
6913
6899
  "type": "option"
6900
+ },
6901
+ "ids": {
6902
+ "description": "Comma-separated custom field IDs",
6903
+ "name": "ids",
6904
+ "required": true,
6905
+ "hasDynamicHelp": false,
6906
+ "multiple": false,
6907
+ "type": "option"
6914
6908
  }
6915
6909
  },
6916
6910
  "hasDynamicHelp": false,
6917
6911
  "hiddenAliases": [],
6918
- "id": "messages:delete",
6912
+ "id": "custom-fields:bulk-delete",
6919
6913
  "pluginAlias": "@instantkom/cli",
6920
6914
  "pluginName": "@instantkom/cli",
6921
6915
  "pluginType": "core",
@@ -6925,20 +6919,14 @@
6925
6919
  "relativePath": [
6926
6920
  "dist",
6927
6921
  "commands",
6928
- "messages",
6929
- "delete.js"
6922
+ "custom-fields",
6923
+ "bulk-delete.js"
6930
6924
  ]
6931
6925
  },
6932
- "messages:get": {
6926
+ "custom-fields:create": {
6933
6927
  "aliases": [],
6934
- "args": {
6935
- "id": {
6936
- "description": "message ID",
6937
- "name": "id",
6938
- "required": true
6939
- }
6940
- },
6941
- "description": "Get message by ID",
6928
+ "args": {},
6929
+ "description": "Create a custom field",
6942
6930
  "flags": {
6943
6931
  "api-key": {
6944
6932
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7001,11 +6989,72 @@
7001
6989
  "hasDynamicHelp": false,
7002
6990
  "multiple": false,
7003
6991
  "type": "option"
6992
+ },
6993
+ "name": {
6994
+ "description": "Field name",
6995
+ "name": "name",
6996
+ "required": true,
6997
+ "hasDynamicHelp": false,
6998
+ "multiple": false,
6999
+ "type": "option"
7000
+ },
7001
+ "key": {
7002
+ "description": "Field key",
7003
+ "name": "key",
7004
+ "required": true,
7005
+ "hasDynamicHelp": false,
7006
+ "multiple": false,
7007
+ "type": "option"
7008
+ },
7009
+ "type": {
7010
+ "description": "Field type",
7011
+ "name": "type",
7012
+ "required": true,
7013
+ "hasDynamicHelp": false,
7014
+ "multiple": false,
7015
+ "options": [
7016
+ "text",
7017
+ "number",
7018
+ "date",
7019
+ "dropdown",
7020
+ "checkbox",
7021
+ "url",
7022
+ "email",
7023
+ "phone"
7024
+ ],
7025
+ "type": "option"
7026
+ },
7027
+ "required": {
7028
+ "description": "Field is required",
7029
+ "name": "required",
7030
+ "allowNo": false,
7031
+ "type": "boolean"
7032
+ },
7033
+ "default": {
7034
+ "description": "Default value",
7035
+ "name": "default",
7036
+ "hasDynamicHelp": false,
7037
+ "multiple": false,
7038
+ "type": "option"
7039
+ },
7040
+ "options": {
7041
+ "description": "Comma-separated dropdown options",
7042
+ "name": "options",
7043
+ "hasDynamicHelp": false,
7044
+ "multiple": false,
7045
+ "type": "option"
7046
+ },
7047
+ "data": {
7048
+ "description": "Additional JSON object payload",
7049
+ "name": "data",
7050
+ "hasDynamicHelp": false,
7051
+ "multiple": false,
7052
+ "type": "option"
7004
7053
  }
7005
7054
  },
7006
7055
  "hasDynamicHelp": false,
7007
7056
  "hiddenAliases": [],
7008
- "id": "messages:get",
7057
+ "id": "custom-fields:create",
7009
7058
  "pluginAlias": "@instantkom/cli",
7010
7059
  "pluginName": "@instantkom/cli",
7011
7060
  "pluginType": "core",
@@ -7015,14 +7064,20 @@
7015
7064
  "relativePath": [
7016
7065
  "dist",
7017
7066
  "commands",
7018
- "messages",
7019
- "get.js"
7067
+ "custom-fields",
7068
+ "create.js"
7020
7069
  ]
7021
7070
  },
7022
- "messages:list": {
7071
+ "custom-fields:delete": {
7023
7072
  "aliases": [],
7024
- "args": {},
7025
- "description": "List messages",
7073
+ "args": {
7074
+ "id": {
7075
+ "description": "custom field ID",
7076
+ "name": "id",
7077
+ "required": true
7078
+ }
7079
+ },
7080
+ "description": "Delete custom field",
7026
7081
  "flags": {
7027
7082
  "api-key": {
7028
7083
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7085,72 +7140,11 @@
7085
7140
  "hasDynamicHelp": false,
7086
7141
  "multiple": false,
7087
7142
  "type": "option"
7088
- },
7089
- "page": {
7090
- "description": "Page number",
7091
- "name": "page",
7092
- "default": 1,
7093
- "hasDynamicHelp": false,
7094
- "multiple": false,
7095
- "type": "option"
7096
- },
7097
- "limit": {
7098
- "description": "Items per page",
7099
- "name": "limit",
7100
- "default": 20,
7101
- "hasDynamicHelp": false,
7102
- "multiple": false,
7103
- "type": "option"
7104
- },
7105
- "channel": {
7106
- "description": "Filter by channel ID",
7107
- "name": "channel",
7108
- "hasDynamicHelp": false,
7109
- "multiple": false,
7110
- "type": "option"
7111
- },
7112
- "recipient": {
7113
- "description": "Filter by recipient ID",
7114
- "name": "recipient",
7115
- "hasDynamicHelp": false,
7116
- "multiple": false,
7117
- "type": "option"
7118
- },
7119
- "direction": {
7120
- "description": "Direction",
7121
- "name": "direction",
7122
- "hasDynamicHelp": false,
7123
- "multiple": false,
7124
- "options": [
7125
- "s",
7126
- "r"
7127
- ],
7128
- "type": "option"
7129
- },
7130
- "type": {
7131
- "description": "Message type",
7132
- "name": "type",
7133
- "hasDynamicHelp": false,
7134
- "multiple": false,
7135
- "type": "option"
7136
- },
7137
- "search": {
7138
- "description": "Search messages",
7139
- "name": "search",
7140
- "hasDynamicHelp": false,
7141
- "multiple": false,
7142
- "type": "option"
7143
- },
7144
- "spam": {
7145
- "description": "Filter spam messages",
7146
- "name": "spam",
7147
- "allowNo": false,
7148
- "type": "boolean"
7149
7143
  }
7150
7144
  },
7151
7145
  "hasDynamicHelp": false,
7152
7146
  "hiddenAliases": [],
7153
- "id": "messages:list",
7147
+ "id": "custom-fields:delete",
7154
7148
  "pluginAlias": "@instantkom/cli",
7155
7149
  "pluginName": "@instantkom/cli",
7156
7150
  "pluginType": "core",
@@ -7160,20 +7154,20 @@
7160
7154
  "relativePath": [
7161
7155
  "dist",
7162
7156
  "commands",
7163
- "messages",
7164
- "list.js"
7157
+ "custom-fields",
7158
+ "delete.js"
7165
7159
  ]
7166
7160
  },
7167
- "messages:reactions": {
7161
+ "custom-fields:get": {
7168
7162
  "aliases": [],
7169
7163
  "args": {
7170
7164
  "id": {
7171
- "description": "Message ID",
7165
+ "description": "custom field ID",
7172
7166
  "name": "id",
7173
7167
  "required": true
7174
7168
  }
7175
7169
  },
7176
- "description": "Get reactions to a message",
7170
+ "description": "Get custom field by ID",
7177
7171
  "flags": {
7178
7172
  "api-key": {
7179
7173
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7240,7 +7234,7 @@
7240
7234
  },
7241
7235
  "hasDynamicHelp": false,
7242
7236
  "hiddenAliases": [],
7243
- "id": "messages:reactions",
7237
+ "id": "custom-fields:get",
7244
7238
  "pluginAlias": "@instantkom/cli",
7245
7239
  "pluginName": "@instantkom/cli",
7246
7240
  "pluginType": "core",
@@ -7250,20 +7244,14 @@
7250
7244
  "relativePath": [
7251
7245
  "dist",
7252
7246
  "commands",
7253
- "messages",
7254
- "reactions.js"
7247
+ "custom-fields",
7248
+ "get.js"
7255
7249
  ]
7256
7250
  },
7257
- "messages:spam": {
7251
+ "custom-fields:list": {
7258
7252
  "aliases": [],
7259
- "args": {
7260
- "id": {
7261
- "description": "Message ID",
7262
- "name": "id",
7263
- "required": true
7264
- }
7265
- },
7266
- "description": "Mark or unmark a message as spam",
7253
+ "args": {},
7254
+ "description": "List custom fields",
7267
7255
  "flags": {
7268
7256
  "api-key": {
7269
7257
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7326,17 +7314,11 @@
7326
7314
  "hasDynamicHelp": false,
7327
7315
  "multiple": false,
7328
7316
  "type": "option"
7329
- },
7330
- "spam": {
7331
- "description": "Mark as spam",
7332
- "name": "spam",
7333
- "allowNo": true,
7334
- "type": "boolean"
7335
7317
  }
7336
7318
  },
7337
7319
  "hasDynamicHelp": false,
7338
7320
  "hiddenAliases": [],
7339
- "id": "messages:spam",
7321
+ "id": "custom-fields:list",
7340
7322
  "pluginAlias": "@instantkom/cli",
7341
7323
  "pluginName": "@instantkom/cli",
7342
7324
  "pluginType": "core",
@@ -7346,14 +7328,14 @@
7346
7328
  "relativePath": [
7347
7329
  "dist",
7348
7330
  "commands",
7349
- "messages",
7350
- "spam.js"
7331
+ "custom-fields",
7332
+ "list.js"
7351
7333
  ]
7352
7334
  },
7353
- "messages:unread-count": {
7335
+ "custom-fields:reorder": {
7354
7336
  "aliases": [],
7355
7337
  "args": {},
7356
- "description": "Get unread inbox message count",
7338
+ "description": "Reorder custom fields",
7357
7339
  "flags": {
7358
7340
  "api-key": {
7359
7341
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7416,11 +7398,19 @@
7416
7398
  "hasDynamicHelp": false,
7417
7399
  "multiple": false,
7418
7400
  "type": "option"
7401
+ },
7402
+ "order": {
7403
+ "description": "Order JSON array payload",
7404
+ "name": "order",
7405
+ "required": true,
7406
+ "hasDynamicHelp": false,
7407
+ "multiple": false,
7408
+ "type": "option"
7419
7409
  }
7420
7410
  },
7421
7411
  "hasDynamicHelp": false,
7422
7412
  "hiddenAliases": [],
7423
- "id": "messages:unread-count",
7413
+ "id": "custom-fields:reorder",
7424
7414
  "pluginAlias": "@instantkom/cli",
7425
7415
  "pluginName": "@instantkom/cli",
7426
7416
  "pluginType": "core",
@@ -7430,20 +7420,20 @@
7430
7420
  "relativePath": [
7431
7421
  "dist",
7432
7422
  "commands",
7433
- "messages",
7434
- "unread-count.js"
7423
+ "custom-fields",
7424
+ "reorder.js"
7435
7425
  ]
7436
7426
  },
7437
- "messages:update": {
7427
+ "custom-fields:update": {
7438
7428
  "aliases": [],
7439
7429
  "args": {
7440
7430
  "id": {
7441
- "description": "Message ID",
7431
+ "description": "Custom field ID",
7442
7432
  "name": "id",
7443
7433
  "required": true
7444
7434
  }
7445
7435
  },
7446
- "description": "Update a message",
7436
+ "description": "Update a custom field",
7447
7437
  "flags": {
7448
7438
  "api-key": {
7449
7439
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -7507,42 +7497,52 @@
7507
7497
  "multiple": false,
7508
7498
  "type": "option"
7509
7499
  },
7510
- "message": {
7511
- "description": "Message content",
7512
- "name": "message",
7500
+ "name": {
7501
+ "description": "Field name",
7502
+ "name": "name",
7513
7503
  "hasDynamicHelp": false,
7514
7504
  "multiple": false,
7515
7505
  "type": "option"
7516
7506
  },
7517
- "scheduled-at": {
7518
- "description": "Unix timestamp for scheduled send",
7519
- "name": "scheduled-at",
7507
+ "type": {
7508
+ "description": "Field type",
7509
+ "name": "type",
7520
7510
  "hasDynamicHelp": false,
7521
7511
  "multiple": false,
7512
+ "options": [
7513
+ "text",
7514
+ "number",
7515
+ "date",
7516
+ "dropdown",
7517
+ "checkbox",
7518
+ "url",
7519
+ "email",
7520
+ "phone"
7521
+ ],
7522
7522
  "type": "option"
7523
7523
  },
7524
- "hidden": {
7525
- "description": "Hide message",
7526
- "name": "hidden",
7524
+ "required": {
7525
+ "description": "Field is required",
7526
+ "name": "required",
7527
7527
  "allowNo": true,
7528
7528
  "type": "boolean"
7529
7529
  },
7530
- "locked": {
7531
- "description": "Lock message",
7532
- "name": "locked",
7530
+ "status": {
7531
+ "description": "Field is active",
7532
+ "name": "status",
7533
7533
  "allowNo": true,
7534
7534
  "type": "boolean"
7535
7535
  },
7536
- "buttons": {
7537
- "description": "Buttons JSON array",
7538
- "name": "buttons",
7536
+ "default": {
7537
+ "description": "Default value",
7538
+ "name": "default",
7539
7539
  "hasDynamicHelp": false,
7540
7540
  "multiple": false,
7541
7541
  "type": "option"
7542
7542
  },
7543
- "header-footer": {
7544
- "description": "Header/footer JSON object",
7545
- "name": "header-footer",
7543
+ "options": {
7544
+ "description": "Comma-separated dropdown options",
7545
+ "name": "options",
7546
7546
  "hasDynamicHelp": false,
7547
7547
  "multiple": false,
7548
7548
  "type": "option"
@@ -7557,7 +7557,7 @@
7557
7557
  },
7558
7558
  "hasDynamicHelp": false,
7559
7559
  "hiddenAliases": [],
7560
- "id": "messages:update",
7560
+ "id": "custom-fields:update",
7561
7561
  "pluginAlias": "@instantkom/cli",
7562
7562
  "pluginName": "@instantkom/cli",
7563
7563
  "pluginType": "core",
@@ -7567,7 +7567,7 @@
7567
7567
  "relativePath": [
7568
7568
  "dist",
7569
7569
  "commands",
7570
- "messages",
7570
+ "custom-fields",
7571
7571
  "update.js"
7572
7572
  ]
7573
7573
  },
@@ -17052,5 +17052,5 @@
17052
17052
  ]
17053
17053
  }
17054
17054
  },
17055
- "version": "3.177.0"
17055
+ "version": "3.179.0"
17056
17056
  }