@instantkom/cli 3.182.0 → 3.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1073,6 +1073,40 @@
1073
1073
  "reply.js"
1074
1074
  ]
1075
1075
  },
1076
+ "autocomplete:script": {
1077
+ "aliases": [],
1078
+ "args": {
1079
+ "shell": {
1080
+ "description": "Shell type",
1081
+ "name": "shell",
1082
+ "options": [
1083
+ "zsh",
1084
+ "bash",
1085
+ "fish",
1086
+ "powershell"
1087
+ ],
1088
+ "required": false
1089
+ }
1090
+ },
1091
+ "description": "outputs autocomplete config script for shells",
1092
+ "flags": {},
1093
+ "hasDynamicHelp": false,
1094
+ "hidden": true,
1095
+ "hiddenAliases": [],
1096
+ "id": "autocomplete:script",
1097
+ "pluginAlias": "@instantkom/cli",
1098
+ "pluginName": "@instantkom/cli",
1099
+ "pluginType": "core",
1100
+ "strict": true,
1101
+ "enableJsonFlag": false,
1102
+ "isESM": true,
1103
+ "relativePath": [
1104
+ "dist",
1105
+ "commands",
1106
+ "autocomplete",
1107
+ "script.js"
1108
+ ]
1109
+ },
1076
1110
  "auth:login": {
1077
1111
  "aliases": [],
1078
1112
  "args": {},
@@ -1255,40 +1289,6 @@
1255
1289
  "logout.js"
1256
1290
  ]
1257
1291
  },
1258
- "autocomplete:script": {
1259
- "aliases": [],
1260
- "args": {
1261
- "shell": {
1262
- "description": "Shell type",
1263
- "name": "shell",
1264
- "options": [
1265
- "zsh",
1266
- "bash",
1267
- "fish",
1268
- "powershell"
1269
- ],
1270
- "required": false
1271
- }
1272
- },
1273
- "description": "outputs autocomplete config script for shells",
1274
- "flags": {},
1275
- "hasDynamicHelp": false,
1276
- "hidden": true,
1277
- "hiddenAliases": [],
1278
- "id": "autocomplete:script",
1279
- "pluginAlias": "@instantkom/cli",
1280
- "pluginName": "@instantkom/cli",
1281
- "pluginType": "core",
1282
- "strict": true,
1283
- "enableJsonFlag": false,
1284
- "isESM": true,
1285
- "relativePath": [
1286
- "dist",
1287
- "commands",
1288
- "autocomplete",
1289
- "script.js"
1290
- ]
1291
- },
1292
1292
  "bots:create": {
1293
1293
  "aliases": [],
1294
1294
  "args": {},
@@ -8150,10 +8150,10 @@
8150
8150
  "update.js"
8151
8151
  ]
8152
8152
  },
8153
- "tags:create": {
8153
+ "templates:create": {
8154
8154
  "aliases": [],
8155
8155
  "args": {},
8156
- "description": "Create a tag",
8156
+ "description": "Create a message template",
8157
8157
  "flags": {
8158
8158
  "api-key": {
8159
8159
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8217,31 +8217,78 @@
8217
8217
  "multiple": false,
8218
8218
  "type": "option"
8219
8219
  },
8220
+ "channel": {
8221
+ "description": "Channel ID",
8222
+ "name": "channel",
8223
+ "required": true,
8224
+ "hasDynamicHelp": false,
8225
+ "multiple": false,
8226
+ "type": "option"
8227
+ },
8220
8228
  "name": {
8221
- "description": "Tag name",
8229
+ "description": "Template name",
8222
8230
  "name": "name",
8223
8231
  "required": true,
8224
8232
  "hasDynamicHelp": false,
8225
8233
  "multiple": false,
8226
8234
  "type": "option"
8227
8235
  },
8228
- "description": {
8229
- "description": "Tag description",
8230
- "name": "description",
8236
+ "type": {
8237
+ "description": "Template type",
8238
+ "name": "type",
8239
+ "default": "text",
8240
+ "hasDynamicHelp": false,
8241
+ "multiple": false,
8242
+ "options": [
8243
+ "text",
8244
+ "image",
8245
+ "video",
8246
+ "document",
8247
+ "audio",
8248
+ "location",
8249
+ "contact",
8250
+ "interactive"
8251
+ ],
8252
+ "type": "option"
8253
+ },
8254
+ "message": {
8255
+ "description": "Template message",
8256
+ "name": "message",
8257
+ "required": true,
8231
8258
  "hasDynamicHelp": false,
8232
8259
  "multiple": false,
8233
8260
  "type": "option"
8234
8261
  },
8235
8262
  "color": {
8236
- "description": "Tag color as HEX",
8263
+ "description": "Template color as HEX",
8237
8264
  "name": "color",
8238
8265
  "hasDynamicHelp": false,
8239
8266
  "multiple": false,
8240
8267
  "type": "option"
8241
8268
  },
8242
- "folder": {
8243
- "description": "Object folder ID",
8244
- "name": "folder",
8269
+ "status": {
8270
+ "description": "Template is active",
8271
+ "name": "status",
8272
+ "allowNo": true,
8273
+ "type": "boolean"
8274
+ },
8275
+ "whatsapp-language": {
8276
+ "description": "WhatsApp template language",
8277
+ "name": "whatsapp-language",
8278
+ "hasDynamicHelp": false,
8279
+ "multiple": false,
8280
+ "type": "option"
8281
+ },
8282
+ "buttons": {
8283
+ "description": "Buttons JSON array/object",
8284
+ "name": "buttons",
8285
+ "hasDynamicHelp": false,
8286
+ "multiple": false,
8287
+ "type": "option"
8288
+ },
8289
+ "header-footer": {
8290
+ "description": "Header/footer JSON object",
8291
+ "name": "header-footer",
8245
8292
  "hasDynamicHelp": false,
8246
8293
  "multiple": false,
8247
8294
  "type": "option"
@@ -8256,7 +8303,7 @@
8256
8303
  },
8257
8304
  "hasDynamicHelp": false,
8258
8305
  "hiddenAliases": [],
8259
- "id": "tags:create",
8306
+ "id": "templates:create",
8260
8307
  "pluginAlias": "@instantkom/cli",
8261
8308
  "pluginName": "@instantkom/cli",
8262
8309
  "pluginType": "core",
@@ -8266,20 +8313,20 @@
8266
8313
  "relativePath": [
8267
8314
  "dist",
8268
8315
  "commands",
8269
- "tags",
8316
+ "templates",
8270
8317
  "create.js"
8271
8318
  ]
8272
8319
  },
8273
- "tags:delete": {
8320
+ "templates:delete": {
8274
8321
  "aliases": [],
8275
8322
  "args": {
8276
8323
  "id": {
8277
- "description": "tag ID",
8324
+ "description": "template ID",
8278
8325
  "name": "id",
8279
8326
  "required": true
8280
8327
  }
8281
8328
  },
8282
- "description": "Delete tag",
8329
+ "description": "Delete template",
8283
8330
  "flags": {
8284
8331
  "api-key": {
8285
8332
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8346,7 +8393,7 @@
8346
8393
  },
8347
8394
  "hasDynamicHelp": false,
8348
8395
  "hiddenAliases": [],
8349
- "id": "tags:delete",
8396
+ "id": "templates:delete",
8350
8397
  "pluginAlias": "@instantkom/cli",
8351
8398
  "pluginName": "@instantkom/cli",
8352
8399
  "pluginType": "core",
@@ -8356,14 +8403,14 @@
8356
8403
  "relativePath": [
8357
8404
  "dist",
8358
8405
  "commands",
8359
- "tags",
8406
+ "templates",
8360
8407
  "delete.js"
8361
8408
  ]
8362
8409
  },
8363
- "tags:export": {
8410
+ "templates:export": {
8364
8411
  "aliases": [],
8365
8412
  "args": {},
8366
- "description": "Export tags to a file",
8413
+ "description": "Export templates to a file",
8367
8414
  "flags": {
8368
8415
  "api-key": {
8369
8416
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8377,7 +8424,7 @@
8377
8424
  "format": {
8378
8425
  "description": "Export format",
8379
8426
  "name": "format",
8380
- "default": "csv",
8427
+ "default": "json",
8381
8428
  "hasDynamicHelp": false,
8382
8429
  "multiple": false,
8383
8430
  "options": [
@@ -8431,11 +8478,18 @@
8431
8478
  "hasDynamicHelp": false,
8432
8479
  "multiple": false,
8433
8480
  "type": "option"
8481
+ },
8482
+ "channel": {
8483
+ "description": "Filter by channel ID",
8484
+ "name": "channel",
8485
+ "hasDynamicHelp": false,
8486
+ "multiple": false,
8487
+ "type": "option"
8434
8488
  }
8435
8489
  },
8436
8490
  "hasDynamicHelp": false,
8437
8491
  "hiddenAliases": [],
8438
- "id": "tags:export",
8492
+ "id": "templates:export",
8439
8493
  "pluginAlias": "@instantkom/cli",
8440
8494
  "pluginName": "@instantkom/cli",
8441
8495
  "pluginType": "core",
@@ -8445,20 +8499,20 @@
8445
8499
  "relativePath": [
8446
8500
  "dist",
8447
8501
  "commands",
8448
- "tags",
8502
+ "templates",
8449
8503
  "export.js"
8450
8504
  ]
8451
8505
  },
8452
- "tags:get": {
8506
+ "templates:get": {
8453
8507
  "aliases": [],
8454
8508
  "args": {
8455
8509
  "id": {
8456
- "description": "tag ID",
8510
+ "description": "Template ID",
8457
8511
  "name": "id",
8458
8512
  "required": true
8459
8513
  }
8460
8514
  },
8461
- "description": "Get tag by ID",
8515
+ "description": "Get a message template by ID",
8462
8516
  "flags": {
8463
8517
  "api-key": {
8464
8518
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8525,7 +8579,7 @@
8525
8579
  },
8526
8580
  "hasDynamicHelp": false,
8527
8581
  "hiddenAliases": [],
8528
- "id": "tags:get",
8582
+ "id": "templates:get",
8529
8583
  "pluginAlias": "@instantkom/cli",
8530
8584
  "pluginName": "@instantkom/cli",
8531
8585
  "pluginType": "core",
@@ -8535,14 +8589,14 @@
8535
8589
  "relativePath": [
8536
8590
  "dist",
8537
8591
  "commands",
8538
- "tags",
8592
+ "templates",
8539
8593
  "get.js"
8540
8594
  ]
8541
8595
  },
8542
- "tags:import": {
8596
+ "templates:import": {
8543
8597
  "aliases": [],
8544
8598
  "args": {},
8545
- "description": "Import tags from JSON",
8599
+ "description": "Import templates from JSON",
8546
8600
  "flags": {
8547
8601
  "api-key": {
8548
8602
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8614,8 +8668,16 @@
8614
8668
  "multiple": false,
8615
8669
  "type": "option"
8616
8670
  },
8671
+ "channel": {
8672
+ "description": "Target channel ID",
8673
+ "name": "channel",
8674
+ "required": true,
8675
+ "hasDynamicHelp": false,
8676
+ "multiple": false,
8677
+ "type": "option"
8678
+ },
8617
8679
  "skip-duplicates": {
8618
- "description": "Skip duplicate tags",
8680
+ "description": "Skip duplicate templates",
8619
8681
  "name": "skip-duplicates",
8620
8682
  "allowNo": true,
8621
8683
  "type": "boolean"
@@ -8623,7 +8685,7 @@
8623
8685
  },
8624
8686
  "hasDynamicHelp": false,
8625
8687
  "hiddenAliases": [],
8626
- "id": "tags:import",
8688
+ "id": "templates:import",
8627
8689
  "pluginAlias": "@instantkom/cli",
8628
8690
  "pluginName": "@instantkom/cli",
8629
8691
  "pluginType": "core",
@@ -8633,14 +8695,14 @@
8633
8695
  "relativePath": [
8634
8696
  "dist",
8635
8697
  "commands",
8636
- "tags",
8698
+ "templates",
8637
8699
  "import.js"
8638
8700
  ]
8639
8701
  },
8640
- "tags:list": {
8702
+ "templates:list": {
8641
8703
  "aliases": [],
8642
8704
  "args": {},
8643
- "description": "List tags",
8705
+ "description": "List message templates",
8644
8706
  "flags": {
8645
8707
  "api-key": {
8646
8708
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8704,32 +8766,32 @@
8704
8766
  "multiple": false,
8705
8767
  "type": "option"
8706
8768
  },
8707
- "page": {
8708
- "description": "Page number",
8709
- "name": "page",
8710
- "default": 1,
8769
+ "channel": {
8770
+ "description": "Filter by channel ID",
8771
+ "name": "channel",
8711
8772
  "hasDynamicHelp": false,
8712
8773
  "multiple": false,
8713
8774
  "type": "option"
8714
8775
  },
8715
- "limit": {
8716
- "description": "Items per page",
8717
- "name": "limit",
8718
- "default": 20,
8776
+ "search": {
8777
+ "description": "Search templates by name or content",
8778
+ "name": "search",
8719
8779
  "hasDynamicHelp": false,
8720
8780
  "multiple": false,
8721
8781
  "type": "option"
8722
8782
  },
8723
- "search": {
8724
- "description": "Search by name",
8725
- "name": "search",
8783
+ "page": {
8784
+ "description": "Page number",
8785
+ "name": "page",
8786
+ "default": 1,
8726
8787
  "hasDynamicHelp": false,
8727
8788
  "multiple": false,
8728
8789
  "type": "option"
8729
8790
  },
8730
- "color": {
8731
- "description": "Filter by color",
8732
- "name": "color",
8791
+ "limit": {
8792
+ "description": "Items per page",
8793
+ "name": "limit",
8794
+ "default": 20,
8733
8795
  "hasDynamicHelp": false,
8734
8796
  "multiple": false,
8735
8797
  "type": "option"
@@ -8737,7 +8799,7 @@
8737
8799
  },
8738
8800
  "hasDynamicHelp": false,
8739
8801
  "hiddenAliases": [],
8740
- "id": "tags:list",
8802
+ "id": "templates:list",
8741
8803
  "pluginAlias": "@instantkom/cli",
8742
8804
  "pluginName": "@instantkom/cli",
8743
8805
  "pluginType": "core",
@@ -8747,20 +8809,20 @@
8747
8809
  "relativePath": [
8748
8810
  "dist",
8749
8811
  "commands",
8750
- "tags",
8812
+ "templates",
8751
8813
  "list.js"
8752
8814
  ]
8753
8815
  },
8754
- "tags:update": {
8816
+ "templates:render": {
8755
8817
  "aliases": [],
8756
8818
  "args": {
8757
8819
  "id": {
8758
- "description": "Tag ID",
8820
+ "description": "Template ID",
8759
8821
  "name": "id",
8760
8822
  "required": true
8761
8823
  }
8762
8824
  },
8763
- "description": "Update a tag",
8825
+ "description": "Render a message template locally",
8764
8826
  "flags": {
8765
8827
  "api-key": {
8766
8828
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8824,30 +8886,170 @@
8824
8886
  "multiple": false,
8825
8887
  "type": "option"
8826
8888
  },
8827
- "name": {
8828
- "description": "Tag name",
8829
- "name": "name",
8830
- "hasDynamicHelp": false,
8831
- "multiple": false,
8832
- "type": "option"
8833
- },
8834
- "description": {
8835
- "description": "Tag description",
8836
- "name": "description",
8889
+ "vars": {
8890
+ "description": "Template variable as key=value; may be repeated",
8891
+ "name": "vars",
8837
8892
  "hasDynamicHelp": false,
8838
- "multiple": false,
8893
+ "multiple": true,
8839
8894
  "type": "option"
8840
- },
8841
- "color": {
8842
- "description": "Tag color as HEX",
8843
- "name": "color",
8844
- "hasDynamicHelp": false,
8895
+ }
8896
+ },
8897
+ "hasDynamicHelp": false,
8898
+ "hiddenAliases": [],
8899
+ "id": "templates:render",
8900
+ "pluginAlias": "@instantkom/cli",
8901
+ "pluginName": "@instantkom/cli",
8902
+ "pluginType": "core",
8903
+ "strict": true,
8904
+ "enableJsonFlag": false,
8905
+ "isESM": true,
8906
+ "relativePath": [
8907
+ "dist",
8908
+ "commands",
8909
+ "templates",
8910
+ "render.js"
8911
+ ]
8912
+ },
8913
+ "templates:update": {
8914
+ "aliases": [],
8915
+ "args": {
8916
+ "id": {
8917
+ "description": "Template ID",
8918
+ "name": "id",
8919
+ "required": true
8920
+ }
8921
+ },
8922
+ "description": "Update a message template",
8923
+ "flags": {
8924
+ "api-key": {
8925
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
8926
+ "env": "IKM_API_KEY",
8927
+ "helpGroup": "GLOBAL",
8928
+ "name": "api-key",
8929
+ "hasDynamicHelp": false,
8845
8930
  "multiple": false,
8846
8931
  "type": "option"
8847
8932
  },
8848
- "folder": {
8849
- "description": "Object folder ID",
8850
- "name": "folder",
8933
+ "format": {
8934
+ "description": "Output format: text, json, yaml, or table",
8935
+ "helpGroup": "GLOBAL",
8936
+ "name": "format",
8937
+ "default": "text",
8938
+ "hasDynamicHelp": false,
8939
+ "multiple": false,
8940
+ "options": [
8941
+ "text",
8942
+ "json",
8943
+ "yaml",
8944
+ "table"
8945
+ ],
8946
+ "type": "option"
8947
+ },
8948
+ "json": {
8949
+ "description": "Output in JSON format (alias for --format=json)",
8950
+ "helpGroup": "GLOBAL",
8951
+ "name": "json",
8952
+ "allowNo": false,
8953
+ "type": "boolean"
8954
+ },
8955
+ "quiet": {
8956
+ "description": "Suppress all output except errors",
8957
+ "helpGroup": "GLOBAL",
8958
+ "name": "quiet",
8959
+ "allowNo": false,
8960
+ "type": "boolean"
8961
+ },
8962
+ "no-color": {
8963
+ "description": "Disable color output",
8964
+ "helpGroup": "GLOBAL",
8965
+ "name": "no-color",
8966
+ "allowNo": false,
8967
+ "type": "boolean"
8968
+ },
8969
+ "profile": {
8970
+ "description": "Named configuration profile to use",
8971
+ "helpGroup": "GLOBAL",
8972
+ "name": "profile",
8973
+ "default": "default",
8974
+ "hasDynamicHelp": false,
8975
+ "multiple": false,
8976
+ "type": "option"
8977
+ },
8978
+ "api-url": {
8979
+ "description": "Override the API base URL (e.g. for staging)",
8980
+ "helpGroup": "GLOBAL",
8981
+ "name": "api-url",
8982
+ "hasDynamicHelp": false,
8983
+ "multiple": false,
8984
+ "type": "option"
8985
+ },
8986
+ "name": {
8987
+ "description": "Template name",
8988
+ "name": "name",
8989
+ "hasDynamicHelp": false,
8990
+ "multiple": false,
8991
+ "type": "option"
8992
+ },
8993
+ "type": {
8994
+ "description": "Template type",
8995
+ "name": "type",
8996
+ "hasDynamicHelp": false,
8997
+ "multiple": false,
8998
+ "options": [
8999
+ "text",
9000
+ "image",
9001
+ "video",
9002
+ "document",
9003
+ "audio",
9004
+ "location",
9005
+ "contact",
9006
+ "interactive"
9007
+ ],
9008
+ "type": "option"
9009
+ },
9010
+ "message": {
9011
+ "description": "Template message",
9012
+ "name": "message",
9013
+ "hasDynamicHelp": false,
9014
+ "multiple": false,
9015
+ "type": "option"
9016
+ },
9017
+ "color": {
9018
+ "description": "Template color as HEX",
9019
+ "name": "color",
9020
+ "hasDynamicHelp": false,
9021
+ "multiple": false,
9022
+ "type": "option"
9023
+ },
9024
+ "status": {
9025
+ "description": "Template is active",
9026
+ "name": "status",
9027
+ "allowNo": true,
9028
+ "type": "boolean"
9029
+ },
9030
+ "remove-media": {
9031
+ "description": "Remove existing media",
9032
+ "name": "remove-media",
9033
+ "allowNo": false,
9034
+ "type": "boolean"
9035
+ },
9036
+ "whatsapp-language": {
9037
+ "description": "WhatsApp template language",
9038
+ "name": "whatsapp-language",
9039
+ "hasDynamicHelp": false,
9040
+ "multiple": false,
9041
+ "type": "option"
9042
+ },
9043
+ "buttons": {
9044
+ "description": "Buttons JSON array/object",
9045
+ "name": "buttons",
9046
+ "hasDynamicHelp": false,
9047
+ "multiple": false,
9048
+ "type": "option"
9049
+ },
9050
+ "header-footer": {
9051
+ "description": "Header/footer JSON object",
9052
+ "name": "header-footer",
8851
9053
  "hasDynamicHelp": false,
8852
9054
  "multiple": false,
8853
9055
  "type": "option"
@@ -8862,7 +9064,7 @@
8862
9064
  },
8863
9065
  "hasDynamicHelp": false,
8864
9066
  "hiddenAliases": [],
8865
- "id": "tags:update",
9067
+ "id": "templates:update",
8866
9068
  "pluginAlias": "@instantkom/cli",
8867
9069
  "pluginName": "@instantkom/cli",
8868
9070
  "pluginType": "core",
@@ -8872,14 +9074,14 @@
8872
9074
  "relativePath": [
8873
9075
  "dist",
8874
9076
  "commands",
8875
- "tags",
9077
+ "templates",
8876
9078
  "update.js"
8877
9079
  ]
8878
9080
  },
8879
- "tags:validate-import": {
9081
+ "templates:validate-import": {
8880
9082
  "aliases": [],
8881
9083
  "args": {},
8882
- "description": "Validate tags import JSON",
9084
+ "description": "Validate templates import JSON",
8883
9085
  "flags": {
8884
9086
  "api-key": {
8885
9087
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8950,11 +9152,19 @@
8950
9152
  "hasDynamicHelp": false,
8951
9153
  "multiple": false,
8952
9154
  "type": "option"
9155
+ },
9156
+ "channel": {
9157
+ "description": "Target channel ID",
9158
+ "name": "channel",
9159
+ "required": true,
9160
+ "hasDynamicHelp": false,
9161
+ "multiple": false,
9162
+ "type": "option"
8953
9163
  }
8954
9164
  },
8955
9165
  "hasDynamicHelp": false,
8956
9166
  "hiddenAliases": [],
8957
- "id": "tags:validate-import",
9167
+ "id": "templates:validate-import",
8958
9168
  "pluginAlias": "@instantkom/cli",
8959
9169
  "pluginName": "@instantkom/cli",
8960
9170
  "pluginType": "core",
@@ -8964,14 +9174,14 @@
8964
9174
  "relativePath": [
8965
9175
  "dist",
8966
9176
  "commands",
8967
- "tags",
9177
+ "templates",
8968
9178
  "validate-import.js"
8969
9179
  ]
8970
9180
  },
8971
- "team:create": {
9181
+ "tickets:create": {
8972
9182
  "aliases": [],
8973
9183
  "args": {},
8974
- "description": "Create a team member",
9184
+ "description": "Create a ticket",
8975
9185
  "flags": {
8976
9186
  "api-key": {
8977
9187
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9035,62 +9245,53 @@
9035
9245
  "multiple": false,
9036
9246
  "type": "option"
9037
9247
  },
9038
- "email": {
9039
- "description": "Email address",
9040
- "name": "email",
9041
- "required": true,
9042
- "hasDynamicHelp": false,
9043
- "multiple": false,
9044
- "type": "option"
9045
- },
9046
- "first-name": {
9047
- "description": "First name",
9048
- "name": "first-name",
9248
+ "channel": {
9249
+ "description": "Channel ID",
9250
+ "name": "channel",
9049
9251
  "required": true,
9050
9252
  "hasDynamicHelp": false,
9051
9253
  "multiple": false,
9052
9254
  "type": "option"
9053
9255
  },
9054
- "last-name": {
9055
- "description": "Last name",
9056
- "name": "last-name",
9256
+ "subject": {
9257
+ "description": "Ticket subject",
9258
+ "name": "subject",
9057
9259
  "required": true,
9058
9260
  "hasDynamicHelp": false,
9059
9261
  "multiple": false,
9060
9262
  "type": "option"
9061
9263
  },
9062
- "password": {
9063
- "description": "Initial password",
9064
- "name": "password",
9065
- "required": true,
9264
+ "recipient": {
9265
+ "description": "Existing recipient ID",
9266
+ "name": "recipient",
9066
9267
  "hasDynamicHelp": false,
9067
9268
  "multiple": false,
9068
9269
  "type": "option"
9069
9270
  },
9070
- "phone": {
9071
- "description": "Phone number",
9072
- "name": "phone",
9271
+ "email": {
9272
+ "description": "Customer email",
9273
+ "name": "email",
9073
9274
  "hasDynamicHelp": false,
9074
9275
  "multiple": false,
9075
9276
  "type": "option"
9076
9277
  },
9077
- "company": {
9078
- "description": "Company name",
9079
- "name": "company",
9278
+ "name": {
9279
+ "description": "Customer name",
9280
+ "name": "name",
9080
9281
  "hasDynamicHelp": false,
9081
9282
  "multiple": false,
9082
9283
  "type": "option"
9083
9284
  },
9084
- "color": {
9085
- "description": "Color as HEX",
9086
- "name": "color",
9285
+ "priority": {
9286
+ "description": "Ticket priority",
9287
+ "name": "priority",
9087
9288
  "hasDynamicHelp": false,
9088
9289
  "multiple": false,
9089
9290
  "type": "option"
9090
9291
  },
9091
- "folder": {
9092
- "description": "Object folder ID",
9093
- "name": "folder",
9292
+ "source": {
9293
+ "description": "Ticket source",
9294
+ "name": "source",
9094
9295
  "hasDynamicHelp": false,
9095
9296
  "multiple": false,
9096
9297
  "type": "option"
@@ -9105,7 +9306,7 @@
9105
9306
  },
9106
9307
  "hasDynamicHelp": false,
9107
9308
  "hiddenAliases": [],
9108
- "id": "team:create",
9309
+ "id": "tickets:create",
9109
9310
  "pluginAlias": "@instantkom/cli",
9110
9311
  "pluginName": "@instantkom/cli",
9111
9312
  "pluginType": "core",
@@ -9115,20 +9316,20 @@
9115
9316
  "relativePath": [
9116
9317
  "dist",
9117
9318
  "commands",
9118
- "team",
9319
+ "tickets",
9119
9320
  "create.js"
9120
9321
  ]
9121
9322
  },
9122
- "team:delete": {
9323
+ "tickets:delete": {
9123
9324
  "aliases": [],
9124
9325
  "args": {
9125
9326
  "id": {
9126
- "description": "Team member ID",
9327
+ "description": "Ticket ID",
9127
9328
  "name": "id",
9128
9329
  "required": true
9129
9330
  }
9130
9331
  },
9131
- "description": "Delete a team member",
9332
+ "description": "Delete a ticket",
9132
9333
  "flags": {
9133
9334
  "api-key": {
9134
9335
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9191,11 +9392,19 @@
9191
9392
  "hasDynamicHelp": false,
9192
9393
  "multiple": false,
9193
9394
  "type": "option"
9395
+ },
9396
+ "channel": {
9397
+ "description": "Channel ID",
9398
+ "name": "channel",
9399
+ "required": true,
9400
+ "hasDynamicHelp": false,
9401
+ "multiple": false,
9402
+ "type": "option"
9194
9403
  }
9195
9404
  },
9196
9405
  "hasDynamicHelp": false,
9197
9406
  "hiddenAliases": [],
9198
- "id": "team:delete",
9407
+ "id": "tickets:delete",
9199
9408
  "pluginAlias": "@instantkom/cli",
9200
9409
  "pluginName": "@instantkom/cli",
9201
9410
  "pluginType": "core",
@@ -9205,14 +9414,20 @@
9205
9414
  "relativePath": [
9206
9415
  "dist",
9207
9416
  "commands",
9208
- "team",
9417
+ "tickets",
9209
9418
  "delete.js"
9210
9419
  ]
9211
9420
  },
9212
- "team:list": {
9421
+ "tickets:get": {
9213
9422
  "aliases": [],
9214
- "args": {},
9215
- "description": "List team members",
9423
+ "args": {
9424
+ "id": {
9425
+ "description": "Ticket ID",
9426
+ "name": "id",
9427
+ "required": true
9428
+ }
9429
+ },
9430
+ "description": "Get a ticket by ID",
9216
9431
  "flags": {
9217
9432
  "api-key": {
9218
9433
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9275,11 +9490,19 @@
9275
9490
  "hasDynamicHelp": false,
9276
9491
  "multiple": false,
9277
9492
  "type": "option"
9493
+ },
9494
+ "channel": {
9495
+ "description": "Channel ID",
9496
+ "name": "channel",
9497
+ "required": true,
9498
+ "hasDynamicHelp": false,
9499
+ "multiple": false,
9500
+ "type": "option"
9278
9501
  }
9279
9502
  },
9280
9503
  "hasDynamicHelp": false,
9281
9504
  "hiddenAliases": [],
9282
- "id": "team:list",
9505
+ "id": "tickets:get",
9283
9506
  "pluginAlias": "@instantkom/cli",
9284
9507
  "pluginName": "@instantkom/cli",
9285
9508
  "pluginType": "core",
@@ -9289,14 +9512,14 @@
9289
9512
  "relativePath": [
9290
9513
  "dist",
9291
9514
  "commands",
9292
- "team",
9293
- "list.js"
9515
+ "tickets",
9516
+ "get.js"
9294
9517
  ]
9295
9518
  },
9296
- "templates:create": {
9519
+ "tickets:list": {
9297
9520
  "aliases": [],
9298
9521
  "args": {},
9299
- "description": "Create a message template",
9522
+ "description": "List tickets for a channel",
9300
9523
  "flags": {
9301
9524
  "api-key": {
9302
9525
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9368,77 +9591,18 @@
9368
9591
  "multiple": false,
9369
9592
  "type": "option"
9370
9593
  },
9371
- "name": {
9372
- "description": "Template name",
9373
- "name": "name",
9374
- "required": true,
9375
- "hasDynamicHelp": false,
9376
- "multiple": false,
9377
- "type": "option"
9378
- },
9379
- "type": {
9380
- "description": "Template type",
9381
- "name": "type",
9382
- "default": "text",
9383
- "hasDynamicHelp": false,
9384
- "multiple": false,
9385
- "options": [
9386
- "text",
9387
- "image",
9388
- "video",
9389
- "document",
9390
- "audio",
9391
- "location",
9392
- "contact",
9393
- "interactive"
9394
- ],
9395
- "type": "option"
9396
- },
9397
- "message": {
9398
- "description": "Template message",
9399
- "name": "message",
9400
- "required": true,
9401
- "hasDynamicHelp": false,
9402
- "multiple": false,
9403
- "type": "option"
9404
- },
9405
- "color": {
9406
- "description": "Template color as HEX",
9407
- "name": "color",
9408
- "hasDynamicHelp": false,
9409
- "multiple": false,
9410
- "type": "option"
9411
- },
9412
- "status": {
9413
- "description": "Template is active",
9414
- "name": "status",
9415
- "allowNo": true,
9416
- "type": "boolean"
9417
- },
9418
- "whatsapp-language": {
9419
- "description": "WhatsApp template language",
9420
- "name": "whatsapp-language",
9421
- "hasDynamicHelp": false,
9422
- "multiple": false,
9423
- "type": "option"
9424
- },
9425
- "buttons": {
9426
- "description": "Buttons JSON array/object",
9427
- "name": "buttons",
9428
- "hasDynamicHelp": false,
9429
- "multiple": false,
9430
- "type": "option"
9431
- },
9432
- "header-footer": {
9433
- "description": "Header/footer JSON object",
9434
- "name": "header-footer",
9594
+ "limit": {
9595
+ "description": "Maximum tickets to return",
9596
+ "name": "limit",
9597
+ "default": 500,
9435
9598
  "hasDynamicHelp": false,
9436
9599
  "multiple": false,
9437
9600
  "type": "option"
9438
9601
  },
9439
- "data": {
9440
- "description": "Additional JSON object payload",
9441
- "name": "data",
9602
+ "offset": {
9603
+ "description": "Number of tickets to skip",
9604
+ "name": "offset",
9605
+ "default": 0,
9442
9606
  "hasDynamicHelp": false,
9443
9607
  "multiple": false,
9444
9608
  "type": "option"
@@ -9446,7 +9610,7 @@
9446
9610
  },
9447
9611
  "hasDynamicHelp": false,
9448
9612
  "hiddenAliases": [],
9449
- "id": "templates:create",
9613
+ "id": "tickets:list",
9450
9614
  "pluginAlias": "@instantkom/cli",
9451
9615
  "pluginName": "@instantkom/cli",
9452
9616
  "pluginType": "core",
@@ -9456,20 +9620,20 @@
9456
9620
  "relativePath": [
9457
9621
  "dist",
9458
9622
  "commands",
9459
- "templates",
9460
- "create.js"
9623
+ "tickets",
9624
+ "list.js"
9461
9625
  ]
9462
9626
  },
9463
- "templates:delete": {
9627
+ "tickets:reply": {
9464
9628
  "aliases": [],
9465
9629
  "args": {
9466
9630
  "id": {
9467
- "description": "template ID",
9631
+ "description": "Ticket ID",
9468
9632
  "name": "id",
9469
9633
  "required": true
9470
9634
  }
9471
9635
  },
9472
- "description": "Delete template",
9636
+ "description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only; the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
9473
9637
  "flags": {
9474
9638
  "api-key": {
9475
9639
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9532,11 +9696,25 @@
9532
9696
  "hasDynamicHelp": false,
9533
9697
  "multiple": false,
9534
9698
  "type": "option"
9699
+ },
9700
+ "message": {
9701
+ "description": "Reply body (raw text, no salutation or sign-off)",
9702
+ "name": "message",
9703
+ "required": true,
9704
+ "hasDynamicHelp": false,
9705
+ "multiple": false,
9706
+ "type": "option"
9707
+ },
9708
+ "close": {
9709
+ "description": "Close the ticket after sending the reply",
9710
+ "name": "close",
9711
+ "allowNo": false,
9712
+ "type": "boolean"
9535
9713
  }
9536
9714
  },
9537
9715
  "hasDynamicHelp": false,
9538
9716
  "hiddenAliases": [],
9539
- "id": "templates:delete",
9717
+ "id": "tickets:reply",
9540
9718
  "pluginAlias": "@instantkom/cli",
9541
9719
  "pluginName": "@instantkom/cli",
9542
9720
  "pluginType": "core",
@@ -9546,14 +9724,20 @@
9546
9724
  "relativePath": [
9547
9725
  "dist",
9548
9726
  "commands",
9549
- "templates",
9550
- "delete.js"
9727
+ "tickets",
9728
+ "reply.js"
9551
9729
  ]
9552
9730
  },
9553
- "templates:export": {
9731
+ "tickets:update": {
9554
9732
  "aliases": [],
9555
- "args": {},
9556
- "description": "Export templates to a file",
9733
+ "args": {
9734
+ "id": {
9735
+ "description": "Ticket ID",
9736
+ "name": "id",
9737
+ "required": true
9738
+ }
9739
+ },
9740
+ "description": "Update a ticket",
9557
9741
  "flags": {
9558
9742
  "api-key": {
9559
9743
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9565,14 +9749,17 @@
9565
9749
  "type": "option"
9566
9750
  },
9567
9751
  "format": {
9568
- "description": "Export format",
9752
+ "description": "Output format: text, json, yaml, or table",
9753
+ "helpGroup": "GLOBAL",
9569
9754
  "name": "format",
9570
- "default": "json",
9755
+ "default": "text",
9571
9756
  "hasDynamicHelp": false,
9572
9757
  "multiple": false,
9573
9758
  "options": [
9574
- "csv",
9575
- "json"
9759
+ "text",
9760
+ "json",
9761
+ "yaml",
9762
+ "table"
9576
9763
  ],
9577
9764
  "type": "option"
9578
9765
  },
@@ -9614,17 +9801,51 @@
9614
9801
  "multiple": false,
9615
9802
  "type": "option"
9616
9803
  },
9617
- "file": {
9618
- "description": "Output file path",
9619
- "name": "file",
9804
+ "channel": {
9805
+ "description": "Channel ID",
9806
+ "name": "channel",
9620
9807
  "required": true,
9621
9808
  "hasDynamicHelp": false,
9622
9809
  "multiple": false,
9623
9810
  "type": "option"
9624
9811
  },
9625
- "channel": {
9626
- "description": "Filter by channel ID",
9627
- "name": "channel",
9812
+ "subject": {
9813
+ "description": "Ticket subject",
9814
+ "name": "subject",
9815
+ "hasDynamicHelp": false,
9816
+ "multiple": false,
9817
+ "type": "option"
9818
+ },
9819
+ "priority": {
9820
+ "description": "Ticket priority",
9821
+ "name": "priority",
9822
+ "hasDynamicHelp": false,
9823
+ "multiple": false,
9824
+ "type": "option"
9825
+ },
9826
+ "status": {
9827
+ "description": "Ticket status",
9828
+ "name": "status",
9829
+ "hasDynamicHelp": false,
9830
+ "multiple": false,
9831
+ "type": "option"
9832
+ },
9833
+ "assigned-to": {
9834
+ "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
9835
+ "name": "assigned-to",
9836
+ "hasDynamicHelp": false,
9837
+ "multiple": false,
9838
+ "type": "option"
9839
+ },
9840
+ "notify": {
9841
+ "description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
9842
+ "name": "notify",
9843
+ "allowNo": true,
9844
+ "type": "boolean"
9845
+ },
9846
+ "data": {
9847
+ "description": "Additional JSON object payload",
9848
+ "name": "data",
9628
9849
  "hasDynamicHelp": false,
9629
9850
  "multiple": false,
9630
9851
  "type": "option"
@@ -9632,7 +9853,7 @@
9632
9853
  },
9633
9854
  "hasDynamicHelp": false,
9634
9855
  "hiddenAliases": [],
9635
- "id": "templates:export",
9856
+ "id": "tickets:update",
9636
9857
  "pluginAlias": "@instantkom/cli",
9637
9858
  "pluginName": "@instantkom/cli",
9638
9859
  "pluginType": "core",
@@ -9642,20 +9863,14 @@
9642
9863
  "relativePath": [
9643
9864
  "dist",
9644
9865
  "commands",
9645
- "templates",
9646
- "export.js"
9866
+ "tickets",
9867
+ "update.js"
9647
9868
  ]
9648
9869
  },
9649
- "templates:get": {
9870
+ "webhooks:add": {
9650
9871
  "aliases": [],
9651
- "args": {
9652
- "id": {
9653
- "description": "Template ID",
9654
- "name": "id",
9655
- "required": true
9656
- }
9657
- },
9658
- "description": "Get a message template by ID",
9872
+ "args": {},
9873
+ "description": "Add a webhook subscription",
9659
9874
  "flags": {
9660
9875
  "api-key": {
9661
9876
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9718,11 +9933,34 @@
9718
9933
  "hasDynamicHelp": false,
9719
9934
  "multiple": false,
9720
9935
  "type": "option"
9936
+ },
9937
+ "event": {
9938
+ "description": "Webhook event to subscribe to",
9939
+ "name": "event",
9940
+ "required": true,
9941
+ "hasDynamicHelp": false,
9942
+ "multiple": false,
9943
+ "options": [
9944
+ "new_contact",
9945
+ "new_message",
9946
+ "broadcast_sent",
9947
+ "contact_updated",
9948
+ "contact_opted_out"
9949
+ ],
9950
+ "type": "option"
9951
+ },
9952
+ "url": {
9953
+ "description": "HTTPS target URL that receives webhook POSTs",
9954
+ "name": "url",
9955
+ "required": true,
9956
+ "hasDynamicHelp": false,
9957
+ "multiple": false,
9958
+ "type": "option"
9721
9959
  }
9722
9960
  },
9723
9961
  "hasDynamicHelp": false,
9724
9962
  "hiddenAliases": [],
9725
- "id": "templates:get",
9963
+ "id": "webhooks:add",
9726
9964
  "pluginAlias": "@instantkom/cli",
9727
9965
  "pluginName": "@instantkom/cli",
9728
9966
  "pluginType": "core",
@@ -9732,14 +9970,14 @@
9732
9970
  "relativePath": [
9733
9971
  "dist",
9734
9972
  "commands",
9735
- "templates",
9736
- "get.js"
9973
+ "webhooks",
9974
+ "add.js"
9737
9975
  ]
9738
9976
  },
9739
- "templates:import": {
9977
+ "webhooks:events": {
9740
9978
  "aliases": [],
9741
9979
  "args": {},
9742
- "description": "Import templates from JSON",
9980
+ "description": "List supported webhook event names",
9743
9981
  "flags": {
9744
9982
  "api-key": {
9745
9983
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9802,33 +10040,11 @@
9802
10040
  "hasDynamicHelp": false,
9803
10041
  "multiple": false,
9804
10042
  "type": "option"
9805
- },
9806
- "file": {
9807
- "description": "JSON file path",
9808
- "name": "file",
9809
- "required": true,
9810
- "hasDynamicHelp": false,
9811
- "multiple": false,
9812
- "type": "option"
9813
- },
9814
- "channel": {
9815
- "description": "Target channel ID",
9816
- "name": "channel",
9817
- "required": true,
9818
- "hasDynamicHelp": false,
9819
- "multiple": false,
9820
- "type": "option"
9821
- },
9822
- "skip-duplicates": {
9823
- "description": "Skip duplicate templates",
9824
- "name": "skip-duplicates",
9825
- "allowNo": true,
9826
- "type": "boolean"
9827
10043
  }
9828
10044
  },
9829
10045
  "hasDynamicHelp": false,
9830
10046
  "hiddenAliases": [],
9831
- "id": "templates:import",
10047
+ "id": "webhooks:events",
9832
10048
  "pluginAlias": "@instantkom/cli",
9833
10049
  "pluginName": "@instantkom/cli",
9834
10050
  "pluginType": "core",
@@ -9838,14 +10054,14 @@
9838
10054
  "relativePath": [
9839
10055
  "dist",
9840
10056
  "commands",
9841
- "templates",
9842
- "import.js"
10057
+ "webhooks",
10058
+ "events.js"
9843
10059
  ]
9844
10060
  },
9845
- "templates:list": {
10061
+ "webhooks:list": {
9846
10062
  "aliases": [],
9847
10063
  "args": {},
9848
- "description": "List message templates",
10064
+ "description": "List webhook subscriptions",
9849
10065
  "flags": {
9850
10066
  "api-key": {
9851
10067
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9908,41 +10124,11 @@
9908
10124
  "hasDynamicHelp": false,
9909
10125
  "multiple": false,
9910
10126
  "type": "option"
9911
- },
9912
- "channel": {
9913
- "description": "Filter by channel ID",
9914
- "name": "channel",
9915
- "hasDynamicHelp": false,
9916
- "multiple": false,
9917
- "type": "option"
9918
- },
9919
- "search": {
9920
- "description": "Search templates by name or content",
9921
- "name": "search",
9922
- "hasDynamicHelp": false,
9923
- "multiple": false,
9924
- "type": "option"
9925
- },
9926
- "page": {
9927
- "description": "Page number",
9928
- "name": "page",
9929
- "default": 1,
9930
- "hasDynamicHelp": false,
9931
- "multiple": false,
9932
- "type": "option"
9933
- },
9934
- "limit": {
9935
- "description": "Items per page",
9936
- "name": "limit",
9937
- "default": 20,
9938
- "hasDynamicHelp": false,
9939
- "multiple": false,
9940
- "type": "option"
9941
10127
  }
9942
10128
  },
9943
10129
  "hasDynamicHelp": false,
9944
10130
  "hiddenAliases": [],
9945
- "id": "templates:list",
10131
+ "id": "webhooks:list",
9946
10132
  "pluginAlias": "@instantkom/cli",
9947
10133
  "pluginName": "@instantkom/cli",
9948
10134
  "pluginType": "core",
@@ -9952,20 +10138,14 @@
9952
10138
  "relativePath": [
9953
10139
  "dist",
9954
10140
  "commands",
9955
- "templates",
10141
+ "webhooks",
9956
10142
  "list.js"
9957
10143
  ]
9958
10144
  },
9959
- "templates:render": {
10145
+ "webhooks:logs": {
9960
10146
  "aliases": [],
9961
- "args": {
9962
- "id": {
9963
- "description": "Template ID",
9964
- "name": "id",
9965
- "required": true
9966
- }
9967
- },
9968
- "description": "Render a message template locally",
10147
+ "args": {},
10148
+ "description": "Explain webhook log availability",
9969
10149
  "flags": {
9970
10150
  "api-key": {
9971
10151
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10028,18 +10208,11 @@
10028
10208
  "hasDynamicHelp": false,
10029
10209
  "multiple": false,
10030
10210
  "type": "option"
10031
- },
10032
- "vars": {
10033
- "description": "Template variable as key=value; may be repeated",
10034
- "name": "vars",
10035
- "hasDynamicHelp": false,
10036
- "multiple": true,
10037
- "type": "option"
10038
10211
  }
10039
10212
  },
10040
10213
  "hasDynamicHelp": false,
10041
10214
  "hiddenAliases": [],
10042
- "id": "templates:render",
10215
+ "id": "webhooks:logs",
10043
10216
  "pluginAlias": "@instantkom/cli",
10044
10217
  "pluginName": "@instantkom/cli",
10045
10218
  "pluginType": "core",
@@ -10049,20 +10222,20 @@
10049
10222
  "relativePath": [
10050
10223
  "dist",
10051
10224
  "commands",
10052
- "templates",
10053
- "render.js"
10225
+ "webhooks",
10226
+ "logs.js"
10054
10227
  ]
10055
10228
  },
10056
- "templates:update": {
10229
+ "webhooks:remove": {
10057
10230
  "aliases": [],
10058
10231
  "args": {
10059
10232
  "id": {
10060
- "description": "Template ID",
10233
+ "description": "Webhook subscription ID",
10061
10234
  "name": "id",
10062
10235
  "required": true
10063
10236
  }
10064
10237
  },
10065
- "description": "Update a message template",
10238
+ "description": "Remove a webhook subscription",
10066
10239
  "flags": {
10067
10240
  "api-key": {
10068
10241
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10125,89 +10298,11 @@
10125
10298
  "hasDynamicHelp": false,
10126
10299
  "multiple": false,
10127
10300
  "type": "option"
10128
- },
10129
- "name": {
10130
- "description": "Template name",
10131
- "name": "name",
10132
- "hasDynamicHelp": false,
10133
- "multiple": false,
10134
- "type": "option"
10135
- },
10136
- "type": {
10137
- "description": "Template type",
10138
- "name": "type",
10139
- "hasDynamicHelp": false,
10140
- "multiple": false,
10141
- "options": [
10142
- "text",
10143
- "image",
10144
- "video",
10145
- "document",
10146
- "audio",
10147
- "location",
10148
- "contact",
10149
- "interactive"
10150
- ],
10151
- "type": "option"
10152
- },
10153
- "message": {
10154
- "description": "Template message",
10155
- "name": "message",
10156
- "hasDynamicHelp": false,
10157
- "multiple": false,
10158
- "type": "option"
10159
- },
10160
- "color": {
10161
- "description": "Template color as HEX",
10162
- "name": "color",
10163
- "hasDynamicHelp": false,
10164
- "multiple": false,
10165
- "type": "option"
10166
- },
10167
- "status": {
10168
- "description": "Template is active",
10169
- "name": "status",
10170
- "allowNo": true,
10171
- "type": "boolean"
10172
- },
10173
- "remove-media": {
10174
- "description": "Remove existing media",
10175
- "name": "remove-media",
10176
- "allowNo": false,
10177
- "type": "boolean"
10178
- },
10179
- "whatsapp-language": {
10180
- "description": "WhatsApp template language",
10181
- "name": "whatsapp-language",
10182
- "hasDynamicHelp": false,
10183
- "multiple": false,
10184
- "type": "option"
10185
- },
10186
- "buttons": {
10187
- "description": "Buttons JSON array/object",
10188
- "name": "buttons",
10189
- "hasDynamicHelp": false,
10190
- "multiple": false,
10191
- "type": "option"
10192
- },
10193
- "header-footer": {
10194
- "description": "Header/footer JSON object",
10195
- "name": "header-footer",
10196
- "hasDynamicHelp": false,
10197
- "multiple": false,
10198
- "type": "option"
10199
- },
10200
- "data": {
10201
- "description": "Additional JSON object payload",
10202
- "name": "data",
10203
- "hasDynamicHelp": false,
10204
- "multiple": false,
10205
- "type": "option"
10206
10301
  }
10207
10302
  },
10208
10303
  "hasDynamicHelp": false,
10209
10304
  "hiddenAliases": [],
10210
- "id": "templates:update",
10305
+ "id": "webhooks:remove",
10211
10306
  "pluginAlias": "@instantkom/cli",
10212
10307
  "pluginName": "@instantkom/cli",
10213
10308
  "pluginType": "core",
@@ -10217,14 +10312,14 @@
10217
10312
  "relativePath": [
10218
10313
  "dist",
10219
10314
  "commands",
10220
- "templates",
10221
- "update.js"
10315
+ "webhooks",
10316
+ "remove.js"
10222
10317
  ]
10223
10318
  },
10224
- "templates:validate-import": {
10319
+ "webhooks:test": {
10225
10320
  "aliases": [],
10226
10321
  "args": {},
10227
- "description": "Validate templates import JSON",
10322
+ "description": "Send a test webhook payload to a URL",
10228
10323
  "flags": {
10229
10324
  "api-key": {
10230
10325
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10288,18 +10383,25 @@
10288
10383
  "multiple": false,
10289
10384
  "type": "option"
10290
10385
  },
10291
- "file": {
10292
- "description": "JSON file path",
10293
- "name": "file",
10386
+ "url": {
10387
+ "description": "Webhook URL to call",
10388
+ "name": "url",
10294
10389
  "required": true,
10295
10390
  "hasDynamicHelp": false,
10296
10391
  "multiple": false,
10297
10392
  "type": "option"
10298
10393
  },
10299
- "channel": {
10300
- "description": "Target channel ID",
10301
- "name": "channel",
10302
- "required": true,
10394
+ "event": {
10395
+ "description": "Event name",
10396
+ "name": "event",
10397
+ "default": "cli.test",
10398
+ "hasDynamicHelp": false,
10399
+ "multiple": false,
10400
+ "type": "option"
10401
+ },
10402
+ "payload": {
10403
+ "description": "Payload JSON",
10404
+ "name": "payload",
10303
10405
  "hasDynamicHelp": false,
10304
10406
  "multiple": false,
10305
10407
  "type": "option"
@@ -10307,7 +10409,7 @@
10307
10409
  },
10308
10410
  "hasDynamicHelp": false,
10309
10411
  "hiddenAliases": [],
10310
- "id": "templates:validate-import",
10412
+ "id": "webhooks:test",
10311
10413
  "pluginAlias": "@instantkom/cli",
10312
10414
  "pluginName": "@instantkom/cli",
10313
10415
  "pluginType": "core",
@@ -10317,14 +10419,14 @@
10317
10419
  "relativePath": [
10318
10420
  "dist",
10319
10421
  "commands",
10320
- "templates",
10321
- "validate-import.js"
10422
+ "webhooks",
10423
+ "test.js"
10322
10424
  ]
10323
10425
  },
10324
- "tickets:create": {
10426
+ "team:create": {
10325
10427
  "aliases": [],
10326
10428
  "args": {},
10327
- "description": "Create a ticket",
10429
+ "description": "Create a team member",
10328
10430
  "flags": {
10329
10431
  "api-key": {
10330
10432
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10388,158 +10490,69 @@
10388
10490
  "multiple": false,
10389
10491
  "type": "option"
10390
10492
  },
10391
- "channel": {
10392
- "description": "Channel ID",
10393
- "name": "channel",
10394
- "required": true,
10395
- "hasDynamicHelp": false,
10396
- "multiple": false,
10397
- "type": "option"
10398
- },
10399
- "subject": {
10400
- "description": "Ticket subject",
10401
- "name": "subject",
10402
- "required": true,
10403
- "hasDynamicHelp": false,
10404
- "multiple": false,
10405
- "type": "option"
10406
- },
10407
- "recipient": {
10408
- "description": "Existing recipient ID",
10409
- "name": "recipient",
10410
- "hasDynamicHelp": false,
10411
- "multiple": false,
10412
- "type": "option"
10413
- },
10414
10493
  "email": {
10415
- "description": "Customer email",
10494
+ "description": "Email address",
10416
10495
  "name": "email",
10496
+ "required": true,
10417
10497
  "hasDynamicHelp": false,
10418
10498
  "multiple": false,
10419
10499
  "type": "option"
10420
10500
  },
10421
- "name": {
10422
- "description": "Customer name",
10423
- "name": "name",
10424
- "hasDynamicHelp": false,
10425
- "multiple": false,
10426
- "type": "option"
10427
- },
10428
- "priority": {
10429
- "description": "Ticket priority",
10430
- "name": "priority",
10431
- "hasDynamicHelp": false,
10432
- "multiple": false,
10433
- "type": "option"
10434
- },
10435
- "source": {
10436
- "description": "Ticket source",
10437
- "name": "source",
10501
+ "first-name": {
10502
+ "description": "First name",
10503
+ "name": "first-name",
10504
+ "required": true,
10438
10505
  "hasDynamicHelp": false,
10439
10506
  "multiple": false,
10440
10507
  "type": "option"
10441
10508
  },
10442
- "data": {
10443
- "description": "Additional JSON object payload",
10444
- "name": "data",
10445
- "hasDynamicHelp": false,
10446
- "multiple": false,
10447
- "type": "option"
10448
- }
10449
- },
10450
- "hasDynamicHelp": false,
10451
- "hiddenAliases": [],
10452
- "id": "tickets:create",
10453
- "pluginAlias": "@instantkom/cli",
10454
- "pluginName": "@instantkom/cli",
10455
- "pluginType": "core",
10456
- "strict": true,
10457
- "enableJsonFlag": false,
10458
- "isESM": true,
10459
- "relativePath": [
10460
- "dist",
10461
- "commands",
10462
- "tickets",
10463
- "create.js"
10464
- ]
10465
- },
10466
- "tickets:delete": {
10467
- "aliases": [],
10468
- "args": {
10469
- "id": {
10470
- "description": "Ticket ID",
10471
- "name": "id",
10472
- "required": true
10473
- }
10474
- },
10475
- "description": "Delete a ticket",
10476
- "flags": {
10477
- "api-key": {
10478
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
10479
- "env": "IKM_API_KEY",
10480
- "helpGroup": "GLOBAL",
10481
- "name": "api-key",
10509
+ "last-name": {
10510
+ "description": "Last name",
10511
+ "name": "last-name",
10512
+ "required": true,
10482
10513
  "hasDynamicHelp": false,
10483
10514
  "multiple": false,
10484
10515
  "type": "option"
10485
10516
  },
10486
- "format": {
10487
- "description": "Output format: text, json, yaml, or table",
10488
- "helpGroup": "GLOBAL",
10489
- "name": "format",
10490
- "default": "text",
10517
+ "password": {
10518
+ "description": "Initial password",
10519
+ "name": "password",
10520
+ "required": true,
10491
10521
  "hasDynamicHelp": false,
10492
10522
  "multiple": false,
10493
- "options": [
10494
- "text",
10495
- "json",
10496
- "yaml",
10497
- "table"
10498
- ],
10499
10523
  "type": "option"
10500
10524
  },
10501
- "json": {
10502
- "description": "Output in JSON format (alias for --format=json)",
10503
- "helpGroup": "GLOBAL",
10504
- "name": "json",
10505
- "allowNo": false,
10506
- "type": "boolean"
10507
- },
10508
- "quiet": {
10509
- "description": "Suppress all output except errors",
10510
- "helpGroup": "GLOBAL",
10511
- "name": "quiet",
10512
- "allowNo": false,
10513
- "type": "boolean"
10514
- },
10515
- "no-color": {
10516
- "description": "Disable color output",
10517
- "helpGroup": "GLOBAL",
10518
- "name": "no-color",
10519
- "allowNo": false,
10520
- "type": "boolean"
10525
+ "phone": {
10526
+ "description": "Phone number",
10527
+ "name": "phone",
10528
+ "hasDynamicHelp": false,
10529
+ "multiple": false,
10530
+ "type": "option"
10521
10531
  },
10522
- "profile": {
10523
- "description": "Named configuration profile to use",
10524
- "helpGroup": "GLOBAL",
10525
- "name": "profile",
10526
- "default": "default",
10532
+ "company": {
10533
+ "description": "Company name",
10534
+ "name": "company",
10527
10535
  "hasDynamicHelp": false,
10528
10536
  "multiple": false,
10529
10537
  "type": "option"
10530
10538
  },
10531
- "api-url": {
10532
- "description": "Override the API base URL (e.g. for staging)",
10533
- "helpGroup": "GLOBAL",
10534
- "name": "api-url",
10539
+ "color": {
10540
+ "description": "Color as HEX",
10541
+ "name": "color",
10535
10542
  "hasDynamicHelp": false,
10536
10543
  "multiple": false,
10537
10544
  "type": "option"
10538
10545
  },
10539
- "channel": {
10540
- "description": "Channel ID",
10541
- "name": "channel",
10542
- "required": true,
10546
+ "folder": {
10547
+ "description": "Object folder ID",
10548
+ "name": "folder",
10549
+ "hasDynamicHelp": false,
10550
+ "multiple": false,
10551
+ "type": "option"
10552
+ },
10553
+ "data": {
10554
+ "description": "Additional JSON object payload",
10555
+ "name": "data",
10543
10556
  "hasDynamicHelp": false,
10544
10557
  "multiple": false,
10545
10558
  "type": "option"
@@ -10547,7 +10560,7 @@
10547
10560
  },
10548
10561
  "hasDynamicHelp": false,
10549
10562
  "hiddenAliases": [],
10550
- "id": "tickets:delete",
10563
+ "id": "team:create",
10551
10564
  "pluginAlias": "@instantkom/cli",
10552
10565
  "pluginName": "@instantkom/cli",
10553
10566
  "pluginType": "core",
@@ -10557,20 +10570,20 @@
10557
10570
  "relativePath": [
10558
10571
  "dist",
10559
10572
  "commands",
10560
- "tickets",
10561
- "delete.js"
10573
+ "team",
10574
+ "create.js"
10562
10575
  ]
10563
10576
  },
10564
- "tickets:get": {
10577
+ "team:delete": {
10565
10578
  "aliases": [],
10566
10579
  "args": {
10567
10580
  "id": {
10568
- "description": "Ticket ID",
10581
+ "description": "Team member ID",
10569
10582
  "name": "id",
10570
10583
  "required": true
10571
10584
  }
10572
10585
  },
10573
- "description": "Get a ticket by ID",
10586
+ "description": "Delete a team member",
10574
10587
  "flags": {
10575
10588
  "api-key": {
10576
10589
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10633,19 +10646,11 @@
10633
10646
  "hasDynamicHelp": false,
10634
10647
  "multiple": false,
10635
10648
  "type": "option"
10636
- },
10637
- "channel": {
10638
- "description": "Channel ID",
10639
- "name": "channel",
10640
- "required": true,
10641
- "hasDynamicHelp": false,
10642
- "multiple": false,
10643
- "type": "option"
10644
10649
  }
10645
10650
  },
10646
10651
  "hasDynamicHelp": false,
10647
10652
  "hiddenAliases": [],
10648
- "id": "tickets:get",
10653
+ "id": "team:delete",
10649
10654
  "pluginAlias": "@instantkom/cli",
10650
10655
  "pluginName": "@instantkom/cli",
10651
10656
  "pluginType": "core",
@@ -10655,14 +10660,14 @@
10655
10660
  "relativePath": [
10656
10661
  "dist",
10657
10662
  "commands",
10658
- "tickets",
10659
- "get.js"
10663
+ "team",
10664
+ "delete.js"
10660
10665
  ]
10661
10666
  },
10662
- "tickets:list": {
10667
+ "team:list": {
10663
10668
  "aliases": [],
10664
10669
  "args": {},
10665
- "description": "List tickets for a channel",
10670
+ "description": "List team members",
10666
10671
  "flags": {
10667
10672
  "api-key": {
10668
10673
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10725,35 +10730,11 @@
10725
10730
  "hasDynamicHelp": false,
10726
10731
  "multiple": false,
10727
10732
  "type": "option"
10728
- },
10729
- "channel": {
10730
- "description": "Channel ID",
10731
- "name": "channel",
10732
- "required": true,
10733
- "hasDynamicHelp": false,
10734
- "multiple": false,
10735
- "type": "option"
10736
- },
10737
- "limit": {
10738
- "description": "Maximum tickets to return",
10739
- "name": "limit",
10740
- "default": 500,
10741
- "hasDynamicHelp": false,
10742
- "multiple": false,
10743
- "type": "option"
10744
- },
10745
- "offset": {
10746
- "description": "Number of tickets to skip",
10747
- "name": "offset",
10748
- "default": 0,
10749
- "hasDynamicHelp": false,
10750
- "multiple": false,
10751
- "type": "option"
10752
10733
  }
10753
10734
  },
10754
10735
  "hasDynamicHelp": false,
10755
10736
  "hiddenAliases": [],
10756
- "id": "tickets:list",
10737
+ "id": "team:list",
10757
10738
  "pluginAlias": "@instantkom/cli",
10758
10739
  "pluginName": "@instantkom/cli",
10759
10740
  "pluginType": "core",
@@ -10763,20 +10744,14 @@
10763
10744
  "relativePath": [
10764
10745
  "dist",
10765
10746
  "commands",
10766
- "tickets",
10747
+ "team",
10767
10748
  "list.js"
10768
10749
  ]
10769
10750
  },
10770
- "tickets:reply": {
10751
+ "tags:create": {
10771
10752
  "aliases": [],
10772
- "args": {
10773
- "id": {
10774
- "description": "Ticket ID",
10775
- "name": "id",
10776
- "required": true
10777
- }
10778
- },
10779
- "description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only; the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
10753
+ "args": {},
10754
+ "description": "Create a tag",
10780
10755
  "flags": {
10781
10756
  "api-key": {
10782
10757
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10840,24 +10815,46 @@
10840
10815
  "multiple": false,
10841
10816
  "type": "option"
10842
10817
  },
10843
- "message": {
10844
- "description": "Reply body (raw text, no salutation or sign-off)",
10845
- "name": "message",
10818
+ "name": {
10819
+ "description": "Tag name",
10820
+ "name": "name",
10846
10821
  "required": true,
10847
10822
  "hasDynamicHelp": false,
10848
10823
  "multiple": false,
10849
10824
  "type": "option"
10850
10825
  },
10851
- "close": {
10852
- "description": "Close the ticket after sending the reply",
10853
- "name": "close",
10854
- "allowNo": false,
10855
- "type": "boolean"
10826
+ "description": {
10827
+ "description": "Tag description",
10828
+ "name": "description",
10829
+ "hasDynamicHelp": false,
10830
+ "multiple": false,
10831
+ "type": "option"
10832
+ },
10833
+ "color": {
10834
+ "description": "Tag color as HEX",
10835
+ "name": "color",
10836
+ "hasDynamicHelp": false,
10837
+ "multiple": false,
10838
+ "type": "option"
10839
+ },
10840
+ "folder": {
10841
+ "description": "Object folder ID",
10842
+ "name": "folder",
10843
+ "hasDynamicHelp": false,
10844
+ "multiple": false,
10845
+ "type": "option"
10846
+ },
10847
+ "data": {
10848
+ "description": "Additional JSON object payload",
10849
+ "name": "data",
10850
+ "hasDynamicHelp": false,
10851
+ "multiple": false,
10852
+ "type": "option"
10856
10853
  }
10857
10854
  },
10858
10855
  "hasDynamicHelp": false,
10859
10856
  "hiddenAliases": [],
10860
- "id": "tickets:reply",
10857
+ "id": "tags:create",
10861
10858
  "pluginAlias": "@instantkom/cli",
10862
10859
  "pluginName": "@instantkom/cli",
10863
10860
  "pluginType": "core",
@@ -10867,20 +10864,20 @@
10867
10864
  "relativePath": [
10868
10865
  "dist",
10869
10866
  "commands",
10870
- "tickets",
10871
- "reply.js"
10867
+ "tags",
10868
+ "create.js"
10872
10869
  ]
10873
10870
  },
10874
- "tickets:update": {
10871
+ "tags:delete": {
10875
10872
  "aliases": [],
10876
10873
  "args": {
10877
10874
  "id": {
10878
- "description": "Ticket ID",
10875
+ "description": "tag ID",
10879
10876
  "name": "id",
10880
10877
  "required": true
10881
10878
  }
10882
10879
  },
10883
- "description": "Update a ticket",
10880
+ "description": "Delete tag",
10884
10881
  "flags": {
10885
10882
  "api-key": {
10886
10883
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10943,60 +10940,11 @@
10943
10940
  "hasDynamicHelp": false,
10944
10941
  "multiple": false,
10945
10942
  "type": "option"
10946
- },
10947
- "channel": {
10948
- "description": "Channel ID",
10949
- "name": "channel",
10950
- "required": true,
10951
- "hasDynamicHelp": false,
10952
- "multiple": false,
10953
- "type": "option"
10954
- },
10955
- "subject": {
10956
- "description": "Ticket subject",
10957
- "name": "subject",
10958
- "hasDynamicHelp": false,
10959
- "multiple": false,
10960
- "type": "option"
10961
- },
10962
- "priority": {
10963
- "description": "Ticket priority",
10964
- "name": "priority",
10965
- "hasDynamicHelp": false,
10966
- "multiple": false,
10967
- "type": "option"
10968
- },
10969
- "status": {
10970
- "description": "Ticket status",
10971
- "name": "status",
10972
- "hasDynamicHelp": false,
10973
- "multiple": false,
10974
- "type": "option"
10975
- },
10976
- "assigned-to": {
10977
- "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
10978
- "name": "assigned-to",
10979
- "hasDynamicHelp": false,
10980
- "multiple": false,
10981
- "type": "option"
10982
- },
10983
- "notify": {
10984
- "description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
10985
- "name": "notify",
10986
- "allowNo": true,
10987
- "type": "boolean"
10988
- },
10989
- "data": {
10990
- "description": "Additional JSON object payload",
10991
- "name": "data",
10992
- "hasDynamicHelp": false,
10993
- "multiple": false,
10994
- "type": "option"
10995
10943
  }
10996
10944
  },
10997
10945
  "hasDynamicHelp": false,
10998
10946
  "hiddenAliases": [],
10999
- "id": "tickets:update",
10947
+ "id": "tags:delete",
11000
10948
  "pluginAlias": "@instantkom/cli",
11001
10949
  "pluginName": "@instantkom/cli",
11002
10950
  "pluginType": "core",
@@ -11006,14 +10954,14 @@
11006
10954
  "relativePath": [
11007
10955
  "dist",
11008
10956
  "commands",
11009
- "tickets",
11010
- "update.js"
10957
+ "tags",
10958
+ "delete.js"
11011
10959
  ]
11012
10960
  },
11013
- "webhooks:add": {
10961
+ "tags:export": {
11014
10962
  "aliases": [],
11015
10963
  "args": {},
11016
- "description": "Add a webhook subscription",
10964
+ "description": "Export tags to a file",
11017
10965
  "flags": {
11018
10966
  "api-key": {
11019
10967
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11025,17 +10973,14 @@
11025
10973
  "type": "option"
11026
10974
  },
11027
10975
  "format": {
11028
- "description": "Output format: text, json, yaml, or table",
11029
- "helpGroup": "GLOBAL",
10976
+ "description": "Export format",
11030
10977
  "name": "format",
11031
- "default": "text",
10978
+ "default": "csv",
11032
10979
  "hasDynamicHelp": false,
11033
10980
  "multiple": false,
11034
10981
  "options": [
11035
- "text",
11036
- "json",
11037
- "yaml",
11038
- "table"
10982
+ "csv",
10983
+ "json"
11039
10984
  ],
11040
10985
  "type": "option"
11041
10986
  },
@@ -11077,24 +11022,9 @@
11077
11022
  "multiple": false,
11078
11023
  "type": "option"
11079
11024
  },
11080
- "event": {
11081
- "description": "Webhook event to subscribe to",
11082
- "name": "event",
11083
- "required": true,
11084
- "hasDynamicHelp": false,
11085
- "multiple": false,
11086
- "options": [
11087
- "new_contact",
11088
- "new_message",
11089
- "broadcast_sent",
11090
- "contact_updated",
11091
- "contact_opted_out"
11092
- ],
11093
- "type": "option"
11094
- },
11095
- "url": {
11096
- "description": "HTTPS target URL that receives webhook POSTs",
11097
- "name": "url",
11025
+ "file": {
11026
+ "description": "Output file path",
11027
+ "name": "file",
11098
11028
  "required": true,
11099
11029
  "hasDynamicHelp": false,
11100
11030
  "multiple": false,
@@ -11103,7 +11033,7 @@
11103
11033
  },
11104
11034
  "hasDynamicHelp": false,
11105
11035
  "hiddenAliases": [],
11106
- "id": "webhooks:add",
11036
+ "id": "tags:export",
11107
11037
  "pluginAlias": "@instantkom/cli",
11108
11038
  "pluginName": "@instantkom/cli",
11109
11039
  "pluginType": "core",
@@ -11113,14 +11043,20 @@
11113
11043
  "relativePath": [
11114
11044
  "dist",
11115
11045
  "commands",
11116
- "webhooks",
11117
- "add.js"
11046
+ "tags",
11047
+ "export.js"
11118
11048
  ]
11119
11049
  },
11120
- "webhooks:events": {
11050
+ "tags:get": {
11121
11051
  "aliases": [],
11122
- "args": {},
11123
- "description": "List supported webhook event names",
11052
+ "args": {
11053
+ "id": {
11054
+ "description": "tag ID",
11055
+ "name": "id",
11056
+ "required": true
11057
+ }
11058
+ },
11059
+ "description": "Get tag by ID",
11124
11060
  "flags": {
11125
11061
  "api-key": {
11126
11062
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11187,7 +11123,7 @@
11187
11123
  },
11188
11124
  "hasDynamicHelp": false,
11189
11125
  "hiddenAliases": [],
11190
- "id": "webhooks:events",
11126
+ "id": "tags:get",
11191
11127
  "pluginAlias": "@instantkom/cli",
11192
11128
  "pluginName": "@instantkom/cli",
11193
11129
  "pluginType": "core",
@@ -11197,14 +11133,14 @@
11197
11133
  "relativePath": [
11198
11134
  "dist",
11199
11135
  "commands",
11200
- "webhooks",
11201
- "events.js"
11136
+ "tags",
11137
+ "get.js"
11202
11138
  ]
11203
11139
  },
11204
- "webhooks:list": {
11140
+ "tags:import": {
11205
11141
  "aliases": [],
11206
11142
  "args": {},
11207
- "description": "List webhook subscriptions",
11143
+ "description": "Import tags from JSON",
11208
11144
  "flags": {
11209
11145
  "api-key": {
11210
11146
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11267,11 +11203,25 @@
11267
11203
  "hasDynamicHelp": false,
11268
11204
  "multiple": false,
11269
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"
11270
11220
  }
11271
11221
  },
11272
11222
  "hasDynamicHelp": false,
11273
11223
  "hiddenAliases": [],
11274
- "id": "webhooks:list",
11224
+ "id": "tags:import",
11275
11225
  "pluginAlias": "@instantkom/cli",
11276
11226
  "pluginName": "@instantkom/cli",
11277
11227
  "pluginType": "core",
@@ -11281,14 +11231,14 @@
11281
11231
  "relativePath": [
11282
11232
  "dist",
11283
11233
  "commands",
11284
- "webhooks",
11285
- "list.js"
11234
+ "tags",
11235
+ "import.js"
11286
11236
  ]
11287
11237
  },
11288
- "webhooks:logs": {
11238
+ "tags:list": {
11289
11239
  "aliases": [],
11290
11240
  "args": {},
11291
- "description": "Explain webhook log availability",
11241
+ "description": "List tags",
11292
11242
  "flags": {
11293
11243
  "api-key": {
11294
11244
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11351,11 +11301,41 @@
11351
11301
  "hasDynamicHelp": false,
11352
11302
  "multiple": false,
11353
11303
  "type": "option"
11304
+ },
11305
+ "page": {
11306
+ "description": "Page number",
11307
+ "name": "page",
11308
+ "default": 1,
11309
+ "hasDynamicHelp": false,
11310
+ "multiple": false,
11311
+ "type": "option"
11312
+ },
11313
+ "limit": {
11314
+ "description": "Items per page",
11315
+ "name": "limit",
11316
+ "default": 20,
11317
+ "hasDynamicHelp": false,
11318
+ "multiple": false,
11319
+ "type": "option"
11320
+ },
11321
+ "search": {
11322
+ "description": "Search by name",
11323
+ "name": "search",
11324
+ "hasDynamicHelp": false,
11325
+ "multiple": false,
11326
+ "type": "option"
11327
+ },
11328
+ "color": {
11329
+ "description": "Filter by color",
11330
+ "name": "color",
11331
+ "hasDynamicHelp": false,
11332
+ "multiple": false,
11333
+ "type": "option"
11354
11334
  }
11355
11335
  },
11356
11336
  "hasDynamicHelp": false,
11357
11337
  "hiddenAliases": [],
11358
- "id": "webhooks:logs",
11338
+ "id": "tags:list",
11359
11339
  "pluginAlias": "@instantkom/cli",
11360
11340
  "pluginName": "@instantkom/cli",
11361
11341
  "pluginType": "core",
@@ -11365,20 +11345,20 @@
11365
11345
  "relativePath": [
11366
11346
  "dist",
11367
11347
  "commands",
11368
- "webhooks",
11369
- "logs.js"
11348
+ "tags",
11349
+ "list.js"
11370
11350
  ]
11371
11351
  },
11372
- "webhooks:remove": {
11352
+ "tags:update": {
11373
11353
  "aliases": [],
11374
11354
  "args": {
11375
11355
  "id": {
11376
- "description": "Webhook subscription ID",
11356
+ "description": "Tag ID",
11377
11357
  "name": "id",
11378
11358
  "required": true
11379
11359
  }
11380
11360
  },
11381
- "description": "Remove a webhook subscription",
11361
+ "description": "Update a tag",
11382
11362
  "flags": {
11383
11363
  "api-key": {
11384
11364
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11441,11 +11421,46 @@
11441
11421
  "hasDynamicHelp": false,
11442
11422
  "multiple": false,
11443
11423
  "type": "option"
11424
+ },
11425
+ "name": {
11426
+ "description": "Tag name",
11427
+ "name": "name",
11428
+ "hasDynamicHelp": false,
11429
+ "multiple": false,
11430
+ "type": "option"
11431
+ },
11432
+ "description": {
11433
+ "description": "Tag description",
11434
+ "name": "description",
11435
+ "hasDynamicHelp": false,
11436
+ "multiple": false,
11437
+ "type": "option"
11438
+ },
11439
+ "color": {
11440
+ "description": "Tag color as HEX",
11441
+ "name": "color",
11442
+ "hasDynamicHelp": false,
11443
+ "multiple": false,
11444
+ "type": "option"
11445
+ },
11446
+ "folder": {
11447
+ "description": "Object folder ID",
11448
+ "name": "folder",
11449
+ "hasDynamicHelp": false,
11450
+ "multiple": false,
11451
+ "type": "option"
11452
+ },
11453
+ "data": {
11454
+ "description": "Additional JSON object payload",
11455
+ "name": "data",
11456
+ "hasDynamicHelp": false,
11457
+ "multiple": false,
11458
+ "type": "option"
11444
11459
  }
11445
11460
  },
11446
11461
  "hasDynamicHelp": false,
11447
11462
  "hiddenAliases": [],
11448
- "id": "webhooks:remove",
11463
+ "id": "tags:update",
11449
11464
  "pluginAlias": "@instantkom/cli",
11450
11465
  "pluginName": "@instantkom/cli",
11451
11466
  "pluginType": "core",
@@ -11455,14 +11470,14 @@
11455
11470
  "relativePath": [
11456
11471
  "dist",
11457
11472
  "commands",
11458
- "webhooks",
11459
- "remove.js"
11473
+ "tags",
11474
+ "update.js"
11460
11475
  ]
11461
11476
  },
11462
- "webhooks:test": {
11477
+ "tags:validate-import": {
11463
11478
  "aliases": [],
11464
11479
  "args": {},
11465
- "description": "Send a test webhook payload to a URL",
11480
+ "description": "Validate tags import JSON",
11466
11481
  "flags": {
11467
11482
  "api-key": {
11468
11483
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11526,33 +11541,18 @@
11526
11541
  "multiple": false,
11527
11542
  "type": "option"
11528
11543
  },
11529
- "url": {
11530
- "description": "Webhook URL to call",
11531
- "name": "url",
11544
+ "file": {
11545
+ "description": "JSON file path",
11546
+ "name": "file",
11532
11547
  "required": true,
11533
11548
  "hasDynamicHelp": false,
11534
11549
  "multiple": false,
11535
11550
  "type": "option"
11536
- },
11537
- "event": {
11538
- "description": "Event name",
11539
- "name": "event",
11540
- "default": "cli.test",
11541
- "hasDynamicHelp": false,
11542
- "multiple": false,
11543
- "type": "option"
11544
- },
11545
- "payload": {
11546
- "description": "Payload JSON",
11547
- "name": "payload",
11548
- "hasDynamicHelp": false,
11549
- "multiple": false,
11550
- "type": "option"
11551
11551
  }
11552
11552
  },
11553
11553
  "hasDynamicHelp": false,
11554
11554
  "hiddenAliases": [],
11555
- "id": "webhooks:test",
11555
+ "id": "tags:validate-import",
11556
11556
  "pluginAlias": "@instantkom/cli",
11557
11557
  "pluginName": "@instantkom/cli",
11558
11558
  "pluginType": "core",
@@ -11562,8 +11562,8 @@
11562
11562
  "relativePath": [
11563
11563
  "dist",
11564
11564
  "commands",
11565
- "webhooks",
11566
- "test.js"
11565
+ "tags",
11566
+ "validate-import.js"
11567
11567
  ]
11568
11568
  },
11569
11569
  "auth:tokens:create": {
@@ -12046,16 +12046,16 @@
12046
12046
  "update.js"
12047
12047
  ]
12048
12048
  },
12049
- "bots:env-vars:bots": {
12049
+ "bots:filters:create": {
12050
12050
  "aliases": [],
12051
12051
  "args": {
12052
- "id": {
12053
- "description": "Environment variable ID",
12054
- "name": "id",
12052
+ "botId": {
12053
+ "description": "Bot ID",
12054
+ "name": "botId",
12055
12055
  "required": true
12056
12056
  }
12057
12057
  },
12058
- "description": "List bots using a bot environment variable",
12058
+ "description": "Create a bot filter",
12059
12059
  "flags": {
12060
12060
  "api-key": {
12061
12061
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12118,112 +12118,64 @@
12118
12118
  "hasDynamicHelp": false,
12119
12119
  "multiple": false,
12120
12120
  "type": "option"
12121
- }
12122
- },
12123
- "hasDynamicHelp": false,
12124
- "hiddenAliases": [],
12125
- "id": "bots:env-vars:bots",
12126
- "pluginAlias": "@instantkom/cli",
12127
- "pluginName": "@instantkom/cli",
12128
- "pluginType": "core",
12129
- "strict": true,
12130
- "enableJsonFlag": false,
12131
- "isESM": true,
12132
- "relativePath": [
12133
- "dist",
12134
- "commands",
12135
- "bots",
12136
- "env-vars",
12137
- "bots.js"
12138
- ]
12139
- },
12140
- "bots:env-vars:create": {
12141
- "aliases": [],
12142
- "args": {},
12143
- "description": "Create a bot environment variable",
12144
- "flags": {
12145
- "api-key": {
12146
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
12147
- "env": "IKM_API_KEY",
12148
- "helpGroup": "GLOBAL",
12149
- "name": "api-key",
12121
+ },
12122
+ "name": {
12123
+ "description": "Filter name",
12124
+ "name": "name",
12125
+ "required": true,
12150
12126
  "hasDynamicHelp": false,
12151
12127
  "multiple": false,
12152
12128
  "type": "option"
12153
12129
  },
12154
- "format": {
12155
- "description": "Output format: text, json, yaml, or table",
12156
- "helpGroup": "GLOBAL",
12157
- "name": "format",
12158
- "default": "text",
12130
+ "operator": {
12131
+ "description": "Logical operator",
12132
+ "name": "operator",
12133
+ "default": "and",
12159
12134
  "hasDynamicHelp": false,
12160
12135
  "multiple": false,
12161
- "options": [
12162
- "text",
12163
- "json",
12164
- "yaml",
12165
- "table"
12166
- ],
12167
12136
  "type": "option"
12168
12137
  },
12169
- "json": {
12170
- "description": "Output in JSON format (alias for --format=json)",
12171
- "helpGroup": "GLOBAL",
12172
- "name": "json",
12173
- "allowNo": false,
12174
- "type": "boolean"
12175
- },
12176
- "quiet": {
12177
- "description": "Suppress all output except errors",
12178
- "helpGroup": "GLOBAL",
12179
- "name": "quiet",
12180
- "allowNo": false,
12181
- "type": "boolean"
12182
- },
12183
- "no-color": {
12184
- "description": "Disable color output",
12185
- "helpGroup": "GLOBAL",
12186
- "name": "no-color",
12187
- "allowNo": false,
12188
- "type": "boolean"
12189
- },
12190
- "profile": {
12191
- "description": "Named configuration profile to use",
12192
- "helpGroup": "GLOBAL",
12193
- "name": "profile",
12194
- "default": "default",
12138
+ "filter-object": {
12139
+ "description": "Filter object type",
12140
+ "name": "filter-object",
12141
+ "default": "msg",
12195
12142
  "hasDynamicHelp": false,
12196
12143
  "multiple": false,
12197
12144
  "type": "option"
12198
- },
12199
- "api-url": {
12200
- "description": "Override the API base URL (e.g. for staging)",
12201
- "helpGroup": "GLOBAL",
12202
- "name": "api-url",
12145
+ },
12146
+ "filter-attribute": {
12147
+ "description": "Filter attribute",
12148
+ "name": "filter-attribute",
12149
+ "default": "text",
12203
12150
  "hasDynamicHelp": false,
12204
12151
  "multiple": false,
12205
12152
  "type": "option"
12206
12153
  },
12207
- "key": {
12208
- "description": "Variable key (max 16 chars, letters, digits, underscore)",
12209
- "name": "key",
12210
- "required": true,
12154
+ "filter-comparator": {
12155
+ "description": "Filter comparator",
12156
+ "name": "filter-comparator",
12157
+ "default": "contains",
12211
12158
  "hasDynamicHelp": false,
12212
12159
  "multiple": false,
12213
12160
  "type": "option"
12214
12161
  },
12215
- "description": {
12216
- "description": "Variable description",
12217
- "name": "description",
12162
+ "filter-value": {
12163
+ "description": "Filter value",
12164
+ "name": "filter-value",
12165
+ "required": true,
12218
12166
  "hasDynamicHelp": false,
12219
12167
  "multiple": false,
12220
12168
  "type": "option"
12221
12169
  },
12222
- "color": {
12223
- "description": "Variable color as HEX",
12224
- "name": "color",
12170
+ "status": {
12171
+ "description": "Status: 0 inactive, 1 active",
12172
+ "name": "status",
12225
12173
  "hasDynamicHelp": false,
12226
12174
  "multiple": false,
12175
+ "options": [
12176
+ "0",
12177
+ "1"
12178
+ ],
12227
12179
  "type": "option"
12228
12180
  },
12229
12181
  "data": {
@@ -12236,7 +12188,7 @@
12236
12188
  },
12237
12189
  "hasDynamicHelp": false,
12238
12190
  "hiddenAliases": [],
12239
- "id": "bots:env-vars:create",
12191
+ "id": "bots:filters:create",
12240
12192
  "pluginAlias": "@instantkom/cli",
12241
12193
  "pluginName": "@instantkom/cli",
12242
12194
  "pluginType": "core",
@@ -12247,20 +12199,25 @@
12247
12199
  "dist",
12248
12200
  "commands",
12249
12201
  "bots",
12250
- "env-vars",
12202
+ "filters",
12251
12203
  "create.js"
12252
12204
  ]
12253
12205
  },
12254
- "bots:env-vars:delete": {
12206
+ "bots:filters:delete": {
12255
12207
  "aliases": [],
12256
12208
  "args": {
12257
- "id": {
12258
- "description": "Environment variable ID",
12259
- "name": "id",
12209
+ "botId": {
12210
+ "description": "Bot ID",
12211
+ "name": "botId",
12212
+ "required": true
12213
+ },
12214
+ "filterId": {
12215
+ "description": "Filter ID",
12216
+ "name": "filterId",
12260
12217
  "required": true
12261
12218
  }
12262
12219
  },
12263
- "description": "Delete a bot environment variable",
12220
+ "description": "Delete a bot filter",
12264
12221
  "flags": {
12265
12222
  "api-key": {
12266
12223
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12327,7 +12284,7 @@
12327
12284
  },
12328
12285
  "hasDynamicHelp": false,
12329
12286
  "hiddenAliases": [],
12330
- "id": "bots:env-vars:delete",
12287
+ "id": "bots:filters:delete",
12331
12288
  "pluginAlias": "@instantkom/cli",
12332
12289
  "pluginName": "@instantkom/cli",
12333
12290
  "pluginType": "core",
@@ -12338,20 +12295,25 @@
12338
12295
  "dist",
12339
12296
  "commands",
12340
12297
  "bots",
12341
- "env-vars",
12298
+ "filters",
12342
12299
  "delete.js"
12343
12300
  ]
12344
12301
  },
12345
- "bots:env-vars:get": {
12302
+ "bots:filters:get": {
12346
12303
  "aliases": [],
12347
12304
  "args": {
12348
- "id": {
12349
- "description": "Environment variable ID",
12350
- "name": "id",
12305
+ "botId": {
12306
+ "description": "Bot ID",
12307
+ "name": "botId",
12308
+ "required": true
12309
+ },
12310
+ "filterId": {
12311
+ "description": "Filter ID",
12312
+ "name": "filterId",
12351
12313
  "required": true
12352
12314
  }
12353
12315
  },
12354
- "description": "Get a bot environment variable",
12316
+ "description": "Get a bot filter",
12355
12317
  "flags": {
12356
12318
  "api-key": {
12357
12319
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12418,7 +12380,7 @@
12418
12380
  },
12419
12381
  "hasDynamicHelp": false,
12420
12382
  "hiddenAliases": [],
12421
- "id": "bots:env-vars:get",
12383
+ "id": "bots:filters:get",
12422
12384
  "pluginAlias": "@instantkom/cli",
12423
12385
  "pluginName": "@instantkom/cli",
12424
12386
  "pluginType": "core",
@@ -12429,14 +12391,20 @@
12429
12391
  "dist",
12430
12392
  "commands",
12431
12393
  "bots",
12432
- "env-vars",
12394
+ "filters",
12433
12395
  "get.js"
12434
12396
  ]
12435
12397
  },
12436
- "bots:env-vars:list": {
12398
+ "bots:filters:list": {
12437
12399
  "aliases": [],
12438
- "args": {},
12439
- "description": "List bot environment variables",
12400
+ "args": {
12401
+ "botId": {
12402
+ "description": "Bot ID",
12403
+ "name": "botId",
12404
+ "required": true
12405
+ }
12406
+ },
12407
+ "description": "List bot filters",
12440
12408
  "flags": {
12441
12409
  "api-key": {
12442
12410
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12516,16 +12484,20 @@
12516
12484
  "multiple": false,
12517
12485
  "type": "option"
12518
12486
  },
12519
- "search": {
12520
- "description": "Search in key or description",
12521
- "name": "search",
12487
+ "status": {
12488
+ "description": "Status filter: 0 inactive, 1 active",
12489
+ "name": "status",
12522
12490
  "hasDynamicHelp": false,
12523
12491
  "multiple": false,
12492
+ "options": [
12493
+ "0",
12494
+ "1"
12495
+ ],
12524
12496
  "type": "option"
12525
12497
  },
12526
- "color": {
12527
- "description": "Filter by color",
12528
- "name": "color",
12498
+ "search": {
12499
+ "description": "Search in name or description",
12500
+ "name": "search",
12529
12501
  "hasDynamicHelp": false,
12530
12502
  "multiple": false,
12531
12503
  "type": "option"
@@ -12533,7 +12505,7 @@
12533
12505
  },
12534
12506
  "hasDynamicHelp": false,
12535
12507
  "hiddenAliases": [],
12536
- "id": "bots:env-vars:list",
12508
+ "id": "bots:filters:list",
12537
12509
  "pluginAlias": "@instantkom/cli",
12538
12510
  "pluginName": "@instantkom/cli",
12539
12511
  "pluginType": "core",
@@ -12544,20 +12516,25 @@
12544
12516
  "dist",
12545
12517
  "commands",
12546
12518
  "bots",
12547
- "env-vars",
12519
+ "filters",
12548
12520
  "list.js"
12549
12521
  ]
12550
12522
  },
12551
- "bots:env-vars:update": {
12523
+ "bots:filters:update": {
12552
12524
  "aliases": [],
12553
12525
  "args": {
12554
- "id": {
12555
- "description": "Environment variable ID",
12556
- "name": "id",
12526
+ "botId": {
12527
+ "description": "Bot ID",
12528
+ "name": "botId",
12529
+ "required": true
12530
+ },
12531
+ "filterId": {
12532
+ "description": "Filter ID",
12533
+ "name": "filterId",
12557
12534
  "required": true
12558
12535
  }
12559
12536
  },
12560
- "description": "Update a bot environment variable",
12537
+ "description": "Update a bot filter",
12561
12538
  "flags": {
12562
12539
  "api-key": {
12563
12540
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12621,18 +12598,57 @@
12621
12598
  "multiple": false,
12622
12599
  "type": "option"
12623
12600
  },
12624
- "description": {
12625
- "description": "Variable description",
12626
- "name": "description",
12601
+ "name": {
12602
+ "description": "Filter name",
12603
+ "name": "name",
12627
12604
  "hasDynamicHelp": false,
12628
12605
  "multiple": false,
12629
12606
  "type": "option"
12630
12607
  },
12631
- "color": {
12632
- "description": "Variable color as HEX",
12633
- "name": "color",
12608
+ "operator": {
12609
+ "description": "Logical operator",
12610
+ "name": "operator",
12611
+ "hasDynamicHelp": false,
12612
+ "multiple": false,
12613
+ "type": "option"
12614
+ },
12615
+ "filter-object": {
12616
+ "description": "Filter object type",
12617
+ "name": "filter-object",
12618
+ "hasDynamicHelp": false,
12619
+ "multiple": false,
12620
+ "type": "option"
12621
+ },
12622
+ "filter-attribute": {
12623
+ "description": "Filter attribute",
12624
+ "name": "filter-attribute",
12625
+ "hasDynamicHelp": false,
12626
+ "multiple": false,
12627
+ "type": "option"
12628
+ },
12629
+ "filter-comparator": {
12630
+ "description": "Filter comparator",
12631
+ "name": "filter-comparator",
12632
+ "hasDynamicHelp": false,
12633
+ "multiple": false,
12634
+ "type": "option"
12635
+ },
12636
+ "filter-value": {
12637
+ "description": "Filter value",
12638
+ "name": "filter-value",
12639
+ "hasDynamicHelp": false,
12640
+ "multiple": false,
12641
+ "type": "option"
12642
+ },
12643
+ "status": {
12644
+ "description": "Status: 0 inactive, 1 active",
12645
+ "name": "status",
12634
12646
  "hasDynamicHelp": false,
12635
12647
  "multiple": false,
12648
+ "options": [
12649
+ "0",
12650
+ "1"
12651
+ ],
12636
12652
  "type": "option"
12637
12653
  },
12638
12654
  "data": {
@@ -12645,7 +12661,7 @@
12645
12661
  },
12646
12662
  "hasDynamicHelp": false,
12647
12663
  "hiddenAliases": [],
12648
- "id": "bots:env-vars:update",
12664
+ "id": "bots:filters:update",
12649
12665
  "pluginAlias": "@instantkom/cli",
12650
12666
  "pluginName": "@instantkom/cli",
12651
12667
  "pluginType": "core",
@@ -12656,11 +12672,11 @@
12656
12672
  "dist",
12657
12673
  "commands",
12658
12674
  "bots",
12659
- "env-vars",
12675
+ "filters",
12660
12676
  "update.js"
12661
12677
  ]
12662
12678
  },
12663
- "bots:env-vars:values": {
12679
+ "bots:env-vars:bots": {
12664
12680
  "aliases": [],
12665
12681
  "args": {
12666
12682
  "id": {
@@ -12669,7 +12685,7 @@
12669
12685
  "required": true
12670
12686
  }
12671
12687
  },
12672
- "description": "List recipient values for a bot environment variable",
12688
+ "description": "List bots using a bot environment variable",
12673
12689
  "flags": {
12674
12690
  "api-key": {
12675
12691
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12732,41 +12748,11 @@
12732
12748
  "hasDynamicHelp": false,
12733
12749
  "multiple": false,
12734
12750
  "type": "option"
12735
- },
12736
- "page": {
12737
- "description": "Page number",
12738
- "name": "page",
12739
- "default": 1,
12740
- "hasDynamicHelp": false,
12741
- "multiple": false,
12742
- "type": "option"
12743
- },
12744
- "limit": {
12745
- "description": "Items per page",
12746
- "name": "limit",
12747
- "default": 20,
12748
- "hasDynamicHelp": false,
12749
- "multiple": false,
12750
- "type": "option"
12751
- },
12752
- "search": {
12753
- "description": "Search in recipient name or identifier",
12754
- "name": "search",
12755
- "hasDynamicHelp": false,
12756
- "multiple": false,
12757
- "type": "option"
12758
- },
12759
- "recipient": {
12760
- "description": "Filter by recipient ID",
12761
- "name": "recipient",
12762
- "hasDynamicHelp": false,
12763
- "multiple": false,
12764
- "type": "option"
12765
12751
  }
12766
12752
  },
12767
12753
  "hasDynamicHelp": false,
12768
12754
  "hiddenAliases": [],
12769
- "id": "bots:env-vars:values",
12755
+ "id": "bots:env-vars:bots",
12770
12756
  "pluginAlias": "@instantkom/cli",
12771
12757
  "pluginName": "@instantkom/cli",
12772
12758
  "pluginType": "core",
@@ -12778,19 +12764,13 @@
12778
12764
  "commands",
12779
12765
  "bots",
12780
12766
  "env-vars",
12781
- "values.js"
12767
+ "bots.js"
12782
12768
  ]
12783
12769
  },
12784
- "bots:filters:create": {
12770
+ "bots:env-vars:create": {
12785
12771
  "aliases": [],
12786
- "args": {
12787
- "botId": {
12788
- "description": "Bot ID",
12789
- "name": "botId",
12790
- "required": true
12791
- }
12792
- },
12793
- "description": "Create a bot filter",
12772
+ "args": {},
12773
+ "description": "Create a bot environment variable",
12794
12774
  "flags": {
12795
12775
  "api-key": {
12796
12776
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12854,63 +12834,26 @@
12854
12834
  "multiple": false,
12855
12835
  "type": "option"
12856
12836
  },
12857
- "name": {
12858
- "description": "Filter name",
12859
- "name": "name",
12860
- "required": true,
12861
- "hasDynamicHelp": false,
12862
- "multiple": false,
12863
- "type": "option"
12864
- },
12865
- "operator": {
12866
- "description": "Logical operator",
12867
- "name": "operator",
12868
- "default": "and",
12869
- "hasDynamicHelp": false,
12870
- "multiple": false,
12871
- "type": "option"
12872
- },
12873
- "filter-object": {
12874
- "description": "Filter object type",
12875
- "name": "filter-object",
12876
- "default": "msg",
12877
- "hasDynamicHelp": false,
12878
- "multiple": false,
12879
- "type": "option"
12880
- },
12881
- "filter-attribute": {
12882
- "description": "Filter attribute",
12883
- "name": "filter-attribute",
12884
- "default": "text",
12885
- "hasDynamicHelp": false,
12886
- "multiple": false,
12887
- "type": "option"
12888
- },
12889
- "filter-comparator": {
12890
- "description": "Filter comparator",
12891
- "name": "filter-comparator",
12892
- "default": "contains",
12837
+ "key": {
12838
+ "description": "Variable key (max 16 chars, letters, digits, underscore)",
12839
+ "name": "key",
12840
+ "required": true,
12893
12841
  "hasDynamicHelp": false,
12894
12842
  "multiple": false,
12895
12843
  "type": "option"
12896
12844
  },
12897
- "filter-value": {
12898
- "description": "Filter value",
12899
- "name": "filter-value",
12900
- "required": true,
12845
+ "description": {
12846
+ "description": "Variable description",
12847
+ "name": "description",
12901
12848
  "hasDynamicHelp": false,
12902
12849
  "multiple": false,
12903
12850
  "type": "option"
12904
12851
  },
12905
- "status": {
12906
- "description": "Status: 0 inactive, 1 active",
12907
- "name": "status",
12852
+ "color": {
12853
+ "description": "Variable color as HEX",
12854
+ "name": "color",
12908
12855
  "hasDynamicHelp": false,
12909
12856
  "multiple": false,
12910
- "options": [
12911
- "0",
12912
- "1"
12913
- ],
12914
12857
  "type": "option"
12915
12858
  },
12916
12859
  "data": {
@@ -12923,7 +12866,7 @@
12923
12866
  },
12924
12867
  "hasDynamicHelp": false,
12925
12868
  "hiddenAliases": [],
12926
- "id": "bots:filters:create",
12869
+ "id": "bots:env-vars:create",
12927
12870
  "pluginAlias": "@instantkom/cli",
12928
12871
  "pluginName": "@instantkom/cli",
12929
12872
  "pluginType": "core",
@@ -12934,25 +12877,20 @@
12934
12877
  "dist",
12935
12878
  "commands",
12936
12879
  "bots",
12937
- "filters",
12880
+ "env-vars",
12938
12881
  "create.js"
12939
12882
  ]
12940
12883
  },
12941
- "bots:filters:delete": {
12884
+ "bots:env-vars:delete": {
12942
12885
  "aliases": [],
12943
12886
  "args": {
12944
- "botId": {
12945
- "description": "Bot ID",
12946
- "name": "botId",
12947
- "required": true
12948
- },
12949
- "filterId": {
12950
- "description": "Filter ID",
12951
- "name": "filterId",
12887
+ "id": {
12888
+ "description": "Environment variable ID",
12889
+ "name": "id",
12952
12890
  "required": true
12953
12891
  }
12954
12892
  },
12955
- "description": "Delete a bot filter",
12893
+ "description": "Delete a bot environment variable",
12956
12894
  "flags": {
12957
12895
  "api-key": {
12958
12896
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13019,7 +12957,7 @@
13019
12957
  },
13020
12958
  "hasDynamicHelp": false,
13021
12959
  "hiddenAliases": [],
13022
- "id": "bots:filters:delete",
12960
+ "id": "bots:env-vars:delete",
13023
12961
  "pluginAlias": "@instantkom/cli",
13024
12962
  "pluginName": "@instantkom/cli",
13025
12963
  "pluginType": "core",
@@ -13030,25 +12968,20 @@
13030
12968
  "dist",
13031
12969
  "commands",
13032
12970
  "bots",
13033
- "filters",
12971
+ "env-vars",
13034
12972
  "delete.js"
13035
12973
  ]
13036
12974
  },
13037
- "bots:filters:get": {
12975
+ "bots:env-vars:get": {
13038
12976
  "aliases": [],
13039
12977
  "args": {
13040
- "botId": {
13041
- "description": "Bot ID",
13042
- "name": "botId",
13043
- "required": true
13044
- },
13045
- "filterId": {
13046
- "description": "Filter ID",
13047
- "name": "filterId",
12978
+ "id": {
12979
+ "description": "Environment variable ID",
12980
+ "name": "id",
13048
12981
  "required": true
13049
12982
  }
13050
12983
  },
13051
- "description": "Get a bot filter",
12984
+ "description": "Get a bot environment variable",
13052
12985
  "flags": {
13053
12986
  "api-key": {
13054
12987
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13115,7 +13048,7 @@
13115
13048
  },
13116
13049
  "hasDynamicHelp": false,
13117
13050
  "hiddenAliases": [],
13118
- "id": "bots:filters:get",
13051
+ "id": "bots:env-vars:get",
13119
13052
  "pluginAlias": "@instantkom/cli",
13120
13053
  "pluginName": "@instantkom/cli",
13121
13054
  "pluginType": "core",
@@ -13126,20 +13059,14 @@
13126
13059
  "dist",
13127
13060
  "commands",
13128
13061
  "bots",
13129
- "filters",
13062
+ "env-vars",
13130
13063
  "get.js"
13131
13064
  ]
13132
13065
  },
13133
- "bots:filters:list": {
13066
+ "bots:env-vars:list": {
13134
13067
  "aliases": [],
13135
- "args": {
13136
- "botId": {
13137
- "description": "Bot ID",
13138
- "name": "botId",
13139
- "required": true
13140
- }
13141
- },
13142
- "description": "List bot filters",
13068
+ "args": {},
13069
+ "description": "List bot environment variables",
13143
13070
  "flags": {
13144
13071
  "api-key": {
13145
13072
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13219,20 +13146,16 @@
13219
13146
  "multiple": false,
13220
13147
  "type": "option"
13221
13148
  },
13222
- "status": {
13223
- "description": "Status filter: 0 inactive, 1 active",
13224
- "name": "status",
13149
+ "search": {
13150
+ "description": "Search in key or description",
13151
+ "name": "search",
13225
13152
  "hasDynamicHelp": false,
13226
13153
  "multiple": false,
13227
- "options": [
13228
- "0",
13229
- "1"
13230
- ],
13231
13154
  "type": "option"
13232
13155
  },
13233
- "search": {
13234
- "description": "Search in name or description",
13235
- "name": "search",
13156
+ "color": {
13157
+ "description": "Filter by color",
13158
+ "name": "color",
13236
13159
  "hasDynamicHelp": false,
13237
13160
  "multiple": false,
13238
13161
  "type": "option"
@@ -13240,7 +13163,7 @@
13240
13163
  },
13241
13164
  "hasDynamicHelp": false,
13242
13165
  "hiddenAliases": [],
13243
- "id": "bots:filters:list",
13166
+ "id": "bots:env-vars:list",
13244
13167
  "pluginAlias": "@instantkom/cli",
13245
13168
  "pluginName": "@instantkom/cli",
13246
13169
  "pluginType": "core",
@@ -13251,25 +13174,20 @@
13251
13174
  "dist",
13252
13175
  "commands",
13253
13176
  "bots",
13254
- "filters",
13177
+ "env-vars",
13255
13178
  "list.js"
13256
13179
  ]
13257
13180
  },
13258
- "bots:filters:update": {
13181
+ "bots:env-vars:update": {
13259
13182
  "aliases": [],
13260
13183
  "args": {
13261
- "botId": {
13262
- "description": "Bot ID",
13263
- "name": "botId",
13264
- "required": true
13265
- },
13266
- "filterId": {
13267
- "description": "Filter ID",
13268
- "name": "filterId",
13184
+ "id": {
13185
+ "description": "Environment variable ID",
13186
+ "name": "id",
13269
13187
  "required": true
13270
13188
  }
13271
13189
  },
13272
- "description": "Update a bot filter",
13190
+ "description": "Update a bot environment variable",
13273
13191
  "flags": {
13274
13192
  "api-key": {
13275
13193
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13333,62 +13251,144 @@
13333
13251
  "multiple": false,
13334
13252
  "type": "option"
13335
13253
  },
13336
- "name": {
13337
- "description": "Filter name",
13338
- "name": "name",
13254
+ "description": {
13255
+ "description": "Variable description",
13256
+ "name": "description",
13339
13257
  "hasDynamicHelp": false,
13340
13258
  "multiple": false,
13341
13259
  "type": "option"
13342
13260
  },
13343
- "operator": {
13344
- "description": "Logical operator",
13345
- "name": "operator",
13261
+ "color": {
13262
+ "description": "Variable color as HEX",
13263
+ "name": "color",
13346
13264
  "hasDynamicHelp": false,
13347
13265
  "multiple": false,
13348
13266
  "type": "option"
13349
13267
  },
13350
- "filter-object": {
13351
- "description": "Filter object type",
13352
- "name": "filter-object",
13268
+ "data": {
13269
+ "description": "Additional JSON object payload",
13270
+ "name": "data",
13271
+ "hasDynamicHelp": false,
13272
+ "multiple": false,
13273
+ "type": "option"
13274
+ }
13275
+ },
13276
+ "hasDynamicHelp": false,
13277
+ "hiddenAliases": [],
13278
+ "id": "bots:env-vars:update",
13279
+ "pluginAlias": "@instantkom/cli",
13280
+ "pluginName": "@instantkom/cli",
13281
+ "pluginType": "core",
13282
+ "strict": true,
13283
+ "enableJsonFlag": false,
13284
+ "isESM": true,
13285
+ "relativePath": [
13286
+ "dist",
13287
+ "commands",
13288
+ "bots",
13289
+ "env-vars",
13290
+ "update.js"
13291
+ ]
13292
+ },
13293
+ "bots:env-vars:values": {
13294
+ "aliases": [],
13295
+ "args": {
13296
+ "id": {
13297
+ "description": "Environment variable ID",
13298
+ "name": "id",
13299
+ "required": true
13300
+ }
13301
+ },
13302
+ "description": "List recipient values for a bot environment variable",
13303
+ "flags": {
13304
+ "api-key": {
13305
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
13306
+ "env": "IKM_API_KEY",
13307
+ "helpGroup": "GLOBAL",
13308
+ "name": "api-key",
13353
13309
  "hasDynamicHelp": false,
13354
13310
  "multiple": false,
13355
13311
  "type": "option"
13356
13312
  },
13357
- "filter-attribute": {
13358
- "description": "Filter attribute",
13359
- "name": "filter-attribute",
13313
+ "format": {
13314
+ "description": "Output format: text, json, yaml, or table",
13315
+ "helpGroup": "GLOBAL",
13316
+ "name": "format",
13317
+ "default": "text",
13360
13318
  "hasDynamicHelp": false,
13361
13319
  "multiple": false,
13320
+ "options": [
13321
+ "text",
13322
+ "json",
13323
+ "yaml",
13324
+ "table"
13325
+ ],
13362
13326
  "type": "option"
13363
13327
  },
13364
- "filter-comparator": {
13365
- "description": "Filter comparator",
13366
- "name": "filter-comparator",
13328
+ "json": {
13329
+ "description": "Output in JSON format (alias for --format=json)",
13330
+ "helpGroup": "GLOBAL",
13331
+ "name": "json",
13332
+ "allowNo": false,
13333
+ "type": "boolean"
13334
+ },
13335
+ "quiet": {
13336
+ "description": "Suppress all output except errors",
13337
+ "helpGroup": "GLOBAL",
13338
+ "name": "quiet",
13339
+ "allowNo": false,
13340
+ "type": "boolean"
13341
+ },
13342
+ "no-color": {
13343
+ "description": "Disable color output",
13344
+ "helpGroup": "GLOBAL",
13345
+ "name": "no-color",
13346
+ "allowNo": false,
13347
+ "type": "boolean"
13348
+ },
13349
+ "profile": {
13350
+ "description": "Named configuration profile to use",
13351
+ "helpGroup": "GLOBAL",
13352
+ "name": "profile",
13353
+ "default": "default",
13367
13354
  "hasDynamicHelp": false,
13368
13355
  "multiple": false,
13369
13356
  "type": "option"
13370
13357
  },
13371
- "filter-value": {
13372
- "description": "Filter value",
13373
- "name": "filter-value",
13358
+ "api-url": {
13359
+ "description": "Override the API base URL (e.g. for staging)",
13360
+ "helpGroup": "GLOBAL",
13361
+ "name": "api-url",
13374
13362
  "hasDynamicHelp": false,
13375
13363
  "multiple": false,
13376
13364
  "type": "option"
13377
13365
  },
13378
- "status": {
13379
- "description": "Status: 0 inactive, 1 active",
13380
- "name": "status",
13366
+ "page": {
13367
+ "description": "Page number",
13368
+ "name": "page",
13369
+ "default": 1,
13381
13370
  "hasDynamicHelp": false,
13382
13371
  "multiple": false,
13383
- "options": [
13384
- "0",
13385
- "1"
13386
- ],
13387
13372
  "type": "option"
13388
13373
  },
13389
- "data": {
13390
- "description": "Additional JSON object payload",
13391
- "name": "data",
13374
+ "limit": {
13375
+ "description": "Items per page",
13376
+ "name": "limit",
13377
+ "default": 20,
13378
+ "hasDynamicHelp": false,
13379
+ "multiple": false,
13380
+ "type": "option"
13381
+ },
13382
+ "search": {
13383
+ "description": "Search in recipient name or identifier",
13384
+ "name": "search",
13385
+ "hasDynamicHelp": false,
13386
+ "multiple": false,
13387
+ "type": "option"
13388
+ },
13389
+ "recipient": {
13390
+ "description": "Filter by recipient ID",
13391
+ "name": "recipient",
13392
13392
  "hasDynamicHelp": false,
13393
13393
  "multiple": false,
13394
13394
  "type": "option"
@@ -13396,7 +13396,7 @@
13396
13396
  },
13397
13397
  "hasDynamicHelp": false,
13398
13398
  "hiddenAliases": [],
13399
- "id": "bots:filters:update",
13399
+ "id": "bots:env-vars:values",
13400
13400
  "pluginAlias": "@instantkom/cli",
13401
13401
  "pluginName": "@instantkom/cli",
13402
13402
  "pluginType": "core",
@@ -13407,8 +13407,8 @@
13407
13407
  "dist",
13408
13408
  "commands",
13409
13409
  "bots",
13410
- "filters",
13411
- "update.js"
13410
+ "env-vars",
13411
+ "values.js"
13412
13412
  ]
13413
13413
  },
13414
13414
  "bots:tags:add": {
@@ -15749,16 +15749,16 @@
15749
15749
  "remove.js"
15750
15750
  ]
15751
15751
  },
15752
- "tags:bots:list": {
15752
+ "ticket:messages:create": {
15753
15753
  "aliases": [],
15754
15754
  "args": {
15755
- "id": {
15756
- "description": "Tag ID",
15757
- "name": "id",
15755
+ "ticketId": {
15756
+ "description": "Ticket ID",
15757
+ "name": "ticketId",
15758
15758
  "required": true
15759
15759
  }
15760
15760
  },
15761
- "description": "List bots that use a specific tag",
15761
+ "description": "Create a ticket message",
15762
15762
  "flags": {
15763
15763
  "api-key": {
15764
15764
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15822,18 +15822,17 @@
15822
15822
  "multiple": false,
15823
15823
  "type": "option"
15824
15824
  },
15825
- "page": {
15826
- "description": "Page number",
15827
- "name": "page",
15828
- "default": 1,
15825
+ "message": {
15826
+ "description": "Message text",
15827
+ "name": "message",
15828
+ "required": true,
15829
15829
  "hasDynamicHelp": false,
15830
15830
  "multiple": false,
15831
15831
  "type": "option"
15832
15832
  },
15833
- "limit": {
15834
- "description": "Items per page",
15835
- "name": "limit",
15836
- "default": 20,
15833
+ "data": {
15834
+ "description": "Additional JSON object payload",
15835
+ "name": "data",
15837
15836
  "hasDynamicHelp": false,
15838
15837
  "multiple": false,
15839
15838
  "type": "option"
@@ -15841,7 +15840,7 @@
15841
15840
  },
15842
15841
  "hasDynamicHelp": false,
15843
15842
  "hiddenAliases": [],
15844
- "id": "tags:bots:list",
15843
+ "id": "ticket:messages:create",
15845
15844
  "pluginAlias": "@instantkom/cli",
15846
15845
  "pluginName": "@instantkom/cli",
15847
15846
  "pluginType": "core",
@@ -15851,21 +15850,26 @@
15851
15850
  "relativePath": [
15852
15851
  "dist",
15853
15852
  "commands",
15854
- "tags",
15855
- "bots",
15856
- "list.js"
15853
+ "ticket",
15854
+ "messages",
15855
+ "create.js"
15857
15856
  ]
15858
15857
  },
15859
- "tags:recipients:add": {
15858
+ "ticket:messages:delete": {
15860
15859
  "aliases": [],
15861
15860
  "args": {
15862
- "tagId": {
15863
- "description": "Tag ID",
15864
- "name": "tagId",
15861
+ "ticketId": {
15862
+ "description": "Ticket ID",
15863
+ "name": "ticketId",
15864
+ "required": true
15865
+ },
15866
+ "messageId": {
15867
+ "description": "Message ID",
15868
+ "name": "messageId",
15865
15869
  "required": true
15866
15870
  }
15867
15871
  },
15868
- "description": "Assign a tag to recipients",
15872
+ "description": "Delete a ticket message",
15869
15873
  "flags": {
15870
15874
  "api-key": {
15871
15875
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15928,19 +15932,11 @@
15928
15932
  "hasDynamicHelp": false,
15929
15933
  "multiple": false,
15930
15934
  "type": "option"
15931
- },
15932
- "recipients": {
15933
- "description": "Comma-separated recipient IDs",
15934
- "name": "recipients",
15935
- "required": true,
15936
- "hasDynamicHelp": false,
15937
- "multiple": false,
15938
- "type": "option"
15939
15935
  }
15940
15936
  },
15941
15937
  "hasDynamicHelp": false,
15942
15938
  "hiddenAliases": [],
15943
- "id": "tags:recipients:add",
15939
+ "id": "ticket:messages:delete",
15944
15940
  "pluginAlias": "@instantkom/cli",
15945
15941
  "pluginName": "@instantkom/cli",
15946
15942
  "pluginType": "core",
@@ -15950,21 +15946,26 @@
15950
15946
  "relativePath": [
15951
15947
  "dist",
15952
15948
  "commands",
15953
- "tags",
15954
- "recipients",
15955
- "add.js"
15949
+ "ticket",
15950
+ "messages",
15951
+ "delete.js"
15956
15952
  ]
15957
15953
  },
15958
- "tags:recipients:remove": {
15954
+ "ticket:messages:get": {
15959
15955
  "aliases": [],
15960
15956
  "args": {
15961
- "tagId": {
15962
- "description": "Tag ID",
15963
- "name": "tagId",
15957
+ "ticketId": {
15958
+ "description": "Ticket ID",
15959
+ "name": "ticketId",
15960
+ "required": true
15961
+ },
15962
+ "messageId": {
15963
+ "description": "Message ID",
15964
+ "name": "messageId",
15964
15965
  "required": true
15965
15966
  }
15966
15967
  },
15967
- "description": "Remove a tag from recipients",
15968
+ "description": "Get a ticket message",
15968
15969
  "flags": {
15969
15970
  "api-key": {
15970
15971
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16027,19 +16028,11 @@
16027
16028
  "hasDynamicHelp": false,
16028
16029
  "multiple": false,
16029
16030
  "type": "option"
16030
- },
16031
- "recipients": {
16032
- "description": "Comma-separated recipient IDs",
16033
- "name": "recipients",
16034
- "required": true,
16035
- "hasDynamicHelp": false,
16036
- "multiple": false,
16037
- "type": "option"
16038
16031
  }
16039
16032
  },
16040
16033
  "hasDynamicHelp": false,
16041
16034
  "hiddenAliases": [],
16042
- "id": "tags:recipients:remove",
16035
+ "id": "ticket:messages:get",
16043
16036
  "pluginAlias": "@instantkom/cli",
16044
16037
  "pluginName": "@instantkom/cli",
16045
16038
  "pluginType": "core",
@@ -16049,21 +16042,21 @@
16049
16042
  "relativePath": [
16050
16043
  "dist",
16051
16044
  "commands",
16052
- "tags",
16053
- "recipients",
16054
- "remove.js"
16045
+ "ticket",
16046
+ "messages",
16047
+ "get.js"
16055
16048
  ]
16056
16049
  },
16057
- "tags:segments:list": {
16050
+ "ticket:messages:list": {
16058
16051
  "aliases": [],
16059
16052
  "args": {
16060
- "id": {
16061
- "description": "Tag ID",
16062
- "name": "id",
16053
+ "ticketId": {
16054
+ "description": "Ticket ID",
16055
+ "name": "ticketId",
16063
16056
  "required": true
16064
16057
  }
16065
16058
  },
16066
- "description": "List segments that use a specific tag",
16059
+ "description": "List ticket messages",
16067
16060
  "flags": {
16068
16061
  "api-key": {
16069
16062
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16126,27 +16119,11 @@
16126
16119
  "hasDynamicHelp": false,
16127
16120
  "multiple": false,
16128
16121
  "type": "option"
16129
- },
16130
- "page": {
16131
- "description": "Page number",
16132
- "name": "page",
16133
- "default": 1,
16134
- "hasDynamicHelp": false,
16135
- "multiple": false,
16136
- "type": "option"
16137
- },
16138
- "limit": {
16139
- "description": "Items per page",
16140
- "name": "limit",
16141
- "default": 20,
16142
- "hasDynamicHelp": false,
16143
- "multiple": false,
16144
- "type": "option"
16145
16122
  }
16146
16123
  },
16147
16124
  "hasDynamicHelp": false,
16148
16125
  "hiddenAliases": [],
16149
- "id": "tags:segments:list",
16126
+ "id": "ticket:messages:list",
16150
16127
  "pluginAlias": "@instantkom/cli",
16151
16128
  "pluginName": "@instantkom/cli",
16152
16129
  "pluginType": "core",
@@ -16156,21 +16133,21 @@
16156
16133
  "relativePath": [
16157
16134
  "dist",
16158
16135
  "commands",
16159
- "tags",
16160
- "segments",
16136
+ "ticket",
16137
+ "messages",
16161
16138
  "list.js"
16162
16139
  ]
16163
16140
  },
16164
- "ticket:messages:create": {
16141
+ "tags:bots:list": {
16165
16142
  "aliases": [],
16166
16143
  "args": {
16167
- "ticketId": {
16168
- "description": "Ticket ID",
16169
- "name": "ticketId",
16144
+ "id": {
16145
+ "description": "Tag ID",
16146
+ "name": "id",
16170
16147
  "required": true
16171
16148
  }
16172
16149
  },
16173
- "description": "Create a ticket message",
16150
+ "description": "List bots that use a specific tag",
16174
16151
  "flags": {
16175
16152
  "api-key": {
16176
16153
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16234,17 +16211,18 @@
16234
16211
  "multiple": false,
16235
16212
  "type": "option"
16236
16213
  },
16237
- "message": {
16238
- "description": "Message text",
16239
- "name": "message",
16240
- "required": true,
16214
+ "page": {
16215
+ "description": "Page number",
16216
+ "name": "page",
16217
+ "default": 1,
16241
16218
  "hasDynamicHelp": false,
16242
16219
  "multiple": false,
16243
16220
  "type": "option"
16244
16221
  },
16245
- "data": {
16246
- "description": "Additional JSON object payload",
16247
- "name": "data",
16222
+ "limit": {
16223
+ "description": "Items per page",
16224
+ "name": "limit",
16225
+ "default": 20,
16248
16226
  "hasDynamicHelp": false,
16249
16227
  "multiple": false,
16250
16228
  "type": "option"
@@ -16252,7 +16230,7 @@
16252
16230
  },
16253
16231
  "hasDynamicHelp": false,
16254
16232
  "hiddenAliases": [],
16255
- "id": "ticket:messages:create",
16233
+ "id": "tags:bots:list",
16256
16234
  "pluginAlias": "@instantkom/cli",
16257
16235
  "pluginName": "@instantkom/cli",
16258
16236
  "pluginType": "core",
@@ -16262,26 +16240,21 @@
16262
16240
  "relativePath": [
16263
16241
  "dist",
16264
16242
  "commands",
16265
- "ticket",
16266
- "messages",
16267
- "create.js"
16243
+ "tags",
16244
+ "bots",
16245
+ "list.js"
16268
16246
  ]
16269
16247
  },
16270
- "ticket:messages:delete": {
16248
+ "tags:recipients:add": {
16271
16249
  "aliases": [],
16272
16250
  "args": {
16273
- "ticketId": {
16274
- "description": "Ticket ID",
16275
- "name": "ticketId",
16276
- "required": true
16277
- },
16278
- "messageId": {
16279
- "description": "Message ID",
16280
- "name": "messageId",
16251
+ "tagId": {
16252
+ "description": "Tag ID",
16253
+ "name": "tagId",
16281
16254
  "required": true
16282
16255
  }
16283
16256
  },
16284
- "description": "Delete a ticket message",
16257
+ "description": "Assign a tag to recipients",
16285
16258
  "flags": {
16286
16259
  "api-key": {
16287
16260
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16344,11 +16317,19 @@
16344
16317
  "hasDynamicHelp": false,
16345
16318
  "multiple": false,
16346
16319
  "type": "option"
16320
+ },
16321
+ "recipients": {
16322
+ "description": "Comma-separated recipient IDs",
16323
+ "name": "recipients",
16324
+ "required": true,
16325
+ "hasDynamicHelp": false,
16326
+ "multiple": false,
16327
+ "type": "option"
16347
16328
  }
16348
16329
  },
16349
16330
  "hasDynamicHelp": false,
16350
16331
  "hiddenAliases": [],
16351
- "id": "ticket:messages:delete",
16332
+ "id": "tags:recipients:add",
16352
16333
  "pluginAlias": "@instantkom/cli",
16353
16334
  "pluginName": "@instantkom/cli",
16354
16335
  "pluginType": "core",
@@ -16358,26 +16339,21 @@
16358
16339
  "relativePath": [
16359
16340
  "dist",
16360
16341
  "commands",
16361
- "ticket",
16362
- "messages",
16363
- "delete.js"
16342
+ "tags",
16343
+ "recipients",
16344
+ "add.js"
16364
16345
  ]
16365
16346
  },
16366
- "ticket:messages:get": {
16347
+ "tags:recipients:remove": {
16367
16348
  "aliases": [],
16368
16349
  "args": {
16369
- "ticketId": {
16370
- "description": "Ticket ID",
16371
- "name": "ticketId",
16372
- "required": true
16373
- },
16374
- "messageId": {
16375
- "description": "Message ID",
16376
- "name": "messageId",
16350
+ "tagId": {
16351
+ "description": "Tag ID",
16352
+ "name": "tagId",
16377
16353
  "required": true
16378
16354
  }
16379
16355
  },
16380
- "description": "Get a ticket message",
16356
+ "description": "Remove a tag from recipients",
16381
16357
  "flags": {
16382
16358
  "api-key": {
16383
16359
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16440,11 +16416,19 @@
16440
16416
  "hasDynamicHelp": false,
16441
16417
  "multiple": false,
16442
16418
  "type": "option"
16419
+ },
16420
+ "recipients": {
16421
+ "description": "Comma-separated recipient IDs",
16422
+ "name": "recipients",
16423
+ "required": true,
16424
+ "hasDynamicHelp": false,
16425
+ "multiple": false,
16426
+ "type": "option"
16443
16427
  }
16444
16428
  },
16445
16429
  "hasDynamicHelp": false,
16446
16430
  "hiddenAliases": [],
16447
- "id": "ticket:messages:get",
16431
+ "id": "tags:recipients:remove",
16448
16432
  "pluginAlias": "@instantkom/cli",
16449
16433
  "pluginName": "@instantkom/cli",
16450
16434
  "pluginType": "core",
@@ -16454,21 +16438,21 @@
16454
16438
  "relativePath": [
16455
16439
  "dist",
16456
16440
  "commands",
16457
- "ticket",
16458
- "messages",
16459
- "get.js"
16441
+ "tags",
16442
+ "recipients",
16443
+ "remove.js"
16460
16444
  ]
16461
16445
  },
16462
- "ticket:messages:list": {
16446
+ "tags:segments:list": {
16463
16447
  "aliases": [],
16464
16448
  "args": {
16465
- "ticketId": {
16466
- "description": "Ticket ID",
16467
- "name": "ticketId",
16449
+ "id": {
16450
+ "description": "Tag ID",
16451
+ "name": "id",
16468
16452
  "required": true
16469
16453
  }
16470
16454
  },
16471
- "description": "List ticket messages",
16455
+ "description": "List segments that use a specific tag",
16472
16456
  "flags": {
16473
16457
  "api-key": {
16474
16458
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16531,11 +16515,27 @@
16531
16515
  "hasDynamicHelp": false,
16532
16516
  "multiple": false,
16533
16517
  "type": "option"
16518
+ },
16519
+ "page": {
16520
+ "description": "Page number",
16521
+ "name": "page",
16522
+ "default": 1,
16523
+ "hasDynamicHelp": false,
16524
+ "multiple": false,
16525
+ "type": "option"
16526
+ },
16527
+ "limit": {
16528
+ "description": "Items per page",
16529
+ "name": "limit",
16530
+ "default": 20,
16531
+ "hasDynamicHelp": false,
16532
+ "multiple": false,
16533
+ "type": "option"
16534
16534
  }
16535
16535
  },
16536
16536
  "hasDynamicHelp": false,
16537
16537
  "hiddenAliases": [],
16538
- "id": "ticket:messages:list",
16538
+ "id": "tags:segments:list",
16539
16539
  "pluginAlias": "@instantkom/cli",
16540
16540
  "pluginName": "@instantkom/cli",
16541
16541
  "pluginType": "core",
@@ -16545,8 +16545,8 @@
16545
16545
  "relativePath": [
16546
16546
  "dist",
16547
16547
  "commands",
16548
- "ticket",
16549
- "messages",
16548
+ "tags",
16549
+ "segments",
16550
16550
  "list.js"
16551
16551
  ]
16552
16552
  },
@@ -17052,5 +17052,5 @@
17052
17052
  ]
17053
17053
  }
17054
17054
  },
17055
- "version": "3.182.0"
17055
+ "version": "3.183.0"
17056
17056
  }