@instantkom/cli 3.180.0 → 3.182.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.
@@ -8150,10 +8150,10 @@
8150
8150
  "update.js"
8151
8151
  ]
8152
8152
  },
8153
- "team:create": {
8153
+ "tags:create": {
8154
8154
  "aliases": [],
8155
8155
  "args": {},
8156
- "description": "Create a team member",
8156
+ "description": "Create a tag",
8157
8157
  "flags": {
8158
8158
  "api-key": {
8159
8159
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8217,54 +8217,23 @@
8217
8217
  "multiple": false,
8218
8218
  "type": "option"
8219
8219
  },
8220
- "email": {
8221
- "description": "Email address",
8222
- "name": "email",
8223
- "required": true,
8224
- "hasDynamicHelp": false,
8225
- "multiple": false,
8226
- "type": "option"
8227
- },
8228
- "first-name": {
8229
- "description": "First name",
8230
- "name": "first-name",
8231
- "required": true,
8232
- "hasDynamicHelp": false,
8233
- "multiple": false,
8234
- "type": "option"
8235
- },
8236
- "last-name": {
8237
- "description": "Last name",
8238
- "name": "last-name",
8239
- "required": true,
8240
- "hasDynamicHelp": false,
8241
- "multiple": false,
8242
- "type": "option"
8243
- },
8244
- "password": {
8245
- "description": "Initial password",
8246
- "name": "password",
8220
+ "name": {
8221
+ "description": "Tag name",
8222
+ "name": "name",
8247
8223
  "required": true,
8248
8224
  "hasDynamicHelp": false,
8249
8225
  "multiple": false,
8250
8226
  "type": "option"
8251
8227
  },
8252
- "phone": {
8253
- "description": "Phone number",
8254
- "name": "phone",
8255
- "hasDynamicHelp": false,
8256
- "multiple": false,
8257
- "type": "option"
8258
- },
8259
- "company": {
8260
- "description": "Company name",
8261
- "name": "company",
8228
+ "description": {
8229
+ "description": "Tag description",
8230
+ "name": "description",
8262
8231
  "hasDynamicHelp": false,
8263
8232
  "multiple": false,
8264
8233
  "type": "option"
8265
8234
  },
8266
8235
  "color": {
8267
- "description": "Color as HEX",
8236
+ "description": "Tag color as HEX",
8268
8237
  "name": "color",
8269
8238
  "hasDynamicHelp": false,
8270
8239
  "multiple": false,
@@ -8287,7 +8256,7 @@
8287
8256
  },
8288
8257
  "hasDynamicHelp": false,
8289
8258
  "hiddenAliases": [],
8290
- "id": "team:create",
8259
+ "id": "tags:create",
8291
8260
  "pluginAlias": "@instantkom/cli",
8292
8261
  "pluginName": "@instantkom/cli",
8293
8262
  "pluginType": "core",
@@ -8297,20 +8266,20 @@
8297
8266
  "relativePath": [
8298
8267
  "dist",
8299
8268
  "commands",
8300
- "team",
8269
+ "tags",
8301
8270
  "create.js"
8302
8271
  ]
8303
8272
  },
8304
- "team:delete": {
8273
+ "tags:delete": {
8305
8274
  "aliases": [],
8306
8275
  "args": {
8307
8276
  "id": {
8308
- "description": "Team member ID",
8277
+ "description": "tag ID",
8309
8278
  "name": "id",
8310
8279
  "required": true
8311
8280
  }
8312
8281
  },
8313
- "description": "Delete a team member",
8282
+ "description": "Delete tag",
8314
8283
  "flags": {
8315
8284
  "api-key": {
8316
8285
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8377,7 +8346,7 @@
8377
8346
  },
8378
8347
  "hasDynamicHelp": false,
8379
8348
  "hiddenAliases": [],
8380
- "id": "team:delete",
8349
+ "id": "tags:delete",
8381
8350
  "pluginAlias": "@instantkom/cli",
8382
8351
  "pluginName": "@instantkom/cli",
8383
8352
  "pluginType": "core",
@@ -8387,14 +8356,14 @@
8387
8356
  "relativePath": [
8388
8357
  "dist",
8389
8358
  "commands",
8390
- "team",
8359
+ "tags",
8391
8360
  "delete.js"
8392
8361
  ]
8393
8362
  },
8394
- "team:list": {
8363
+ "tags:export": {
8395
8364
  "aliases": [],
8396
8365
  "args": {},
8397
- "description": "List team members",
8366
+ "description": "Export tags to a file",
8398
8367
  "flags": {
8399
8368
  "api-key": {
8400
8369
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8406,17 +8375,14 @@
8406
8375
  "type": "option"
8407
8376
  },
8408
8377
  "format": {
8409
- "description": "Output format: text, json, yaml, or table",
8410
- "helpGroup": "GLOBAL",
8378
+ "description": "Export format",
8411
8379
  "name": "format",
8412
- "default": "text",
8380
+ "default": "csv",
8413
8381
  "hasDynamicHelp": false,
8414
8382
  "multiple": false,
8415
8383
  "options": [
8416
- "text",
8417
- "json",
8418
- "yaml",
8419
- "table"
8384
+ "csv",
8385
+ "json"
8420
8386
  ],
8421
8387
  "type": "option"
8422
8388
  },
@@ -8457,11 +8423,19 @@
8457
8423
  "hasDynamicHelp": false,
8458
8424
  "multiple": false,
8459
8425
  "type": "option"
8426
+ },
8427
+ "file": {
8428
+ "description": "Output file path",
8429
+ "name": "file",
8430
+ "required": true,
8431
+ "hasDynamicHelp": false,
8432
+ "multiple": false,
8433
+ "type": "option"
8460
8434
  }
8461
8435
  },
8462
8436
  "hasDynamicHelp": false,
8463
8437
  "hiddenAliases": [],
8464
- "id": "team:list",
8438
+ "id": "tags:export",
8465
8439
  "pluginAlias": "@instantkom/cli",
8466
8440
  "pluginName": "@instantkom/cli",
8467
8441
  "pluginType": "core",
@@ -8471,14 +8445,20 @@
8471
8445
  "relativePath": [
8472
8446
  "dist",
8473
8447
  "commands",
8474
- "team",
8475
- "list.js"
8448
+ "tags",
8449
+ "export.js"
8476
8450
  ]
8477
8451
  },
8478
- "templates:create": {
8452
+ "tags:get": {
8479
8453
  "aliases": [],
8480
- "args": {},
8481
- "description": "Create a message template",
8454
+ "args": {
8455
+ "id": {
8456
+ "description": "tag ID",
8457
+ "name": "id",
8458
+ "required": true
8459
+ }
8460
+ },
8461
+ "description": "Get tag by ID",
8482
8462
  "flags": {
8483
8463
  "api-key": {
8484
8464
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8541,94 +8521,11 @@
8541
8521
  "hasDynamicHelp": false,
8542
8522
  "multiple": false,
8543
8523
  "type": "option"
8544
- },
8545
- "channel": {
8546
- "description": "Channel ID",
8547
- "name": "channel",
8548
- "required": true,
8549
- "hasDynamicHelp": false,
8550
- "multiple": false,
8551
- "type": "option"
8552
- },
8553
- "name": {
8554
- "description": "Template name",
8555
- "name": "name",
8556
- "required": true,
8557
- "hasDynamicHelp": false,
8558
- "multiple": false,
8559
- "type": "option"
8560
- },
8561
- "type": {
8562
- "description": "Template type",
8563
- "name": "type",
8564
- "default": "text",
8565
- "hasDynamicHelp": false,
8566
- "multiple": false,
8567
- "options": [
8568
- "text",
8569
- "image",
8570
- "video",
8571
- "document",
8572
- "audio",
8573
- "location",
8574
- "contact",
8575
- "interactive"
8576
- ],
8577
- "type": "option"
8578
- },
8579
- "message": {
8580
- "description": "Template message",
8581
- "name": "message",
8582
- "required": true,
8583
- "hasDynamicHelp": false,
8584
- "multiple": false,
8585
- "type": "option"
8586
- },
8587
- "color": {
8588
- "description": "Template color as HEX",
8589
- "name": "color",
8590
- "hasDynamicHelp": false,
8591
- "multiple": false,
8592
- "type": "option"
8593
- },
8594
- "status": {
8595
- "description": "Template is active",
8596
- "name": "status",
8597
- "allowNo": true,
8598
- "type": "boolean"
8599
- },
8600
- "whatsapp-language": {
8601
- "description": "WhatsApp template language",
8602
- "name": "whatsapp-language",
8603
- "hasDynamicHelp": false,
8604
- "multiple": false,
8605
- "type": "option"
8606
- },
8607
- "buttons": {
8608
- "description": "Buttons JSON array/object",
8609
- "name": "buttons",
8610
- "hasDynamicHelp": false,
8611
- "multiple": false,
8612
- "type": "option"
8613
- },
8614
- "header-footer": {
8615
- "description": "Header/footer JSON object",
8616
- "name": "header-footer",
8617
- "hasDynamicHelp": false,
8618
- "multiple": false,
8619
- "type": "option"
8620
- },
8621
- "data": {
8622
- "description": "Additional JSON object payload",
8623
- "name": "data",
8624
- "hasDynamicHelp": false,
8625
- "multiple": false,
8626
- "type": "option"
8627
8524
  }
8628
8525
  },
8629
8526
  "hasDynamicHelp": false,
8630
8527
  "hiddenAliases": [],
8631
- "id": "templates:create",
8528
+ "id": "tags:get",
8632
8529
  "pluginAlias": "@instantkom/cli",
8633
8530
  "pluginName": "@instantkom/cli",
8634
8531
  "pluginType": "core",
@@ -8638,20 +8535,14 @@
8638
8535
  "relativePath": [
8639
8536
  "dist",
8640
8537
  "commands",
8641
- "templates",
8642
- "create.js"
8538
+ "tags",
8539
+ "get.js"
8643
8540
  ]
8644
8541
  },
8645
- "templates:delete": {
8542
+ "tags:import": {
8646
8543
  "aliases": [],
8647
- "args": {
8648
- "id": {
8649
- "description": "template ID",
8650
- "name": "id",
8651
- "required": true
8652
- }
8653
- },
8654
- "description": "Delete template",
8544
+ "args": {},
8545
+ "description": "Import tags from JSON",
8655
8546
  "flags": {
8656
8547
  "api-key": {
8657
8548
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8714,11 +8605,25 @@
8714
8605
  "hasDynamicHelp": false,
8715
8606
  "multiple": false,
8716
8607
  "type": "option"
8608
+ },
8609
+ "file": {
8610
+ "description": "JSON file path",
8611
+ "name": "file",
8612
+ "required": true,
8613
+ "hasDynamicHelp": false,
8614
+ "multiple": false,
8615
+ "type": "option"
8616
+ },
8617
+ "skip-duplicates": {
8618
+ "description": "Skip duplicate tags",
8619
+ "name": "skip-duplicates",
8620
+ "allowNo": true,
8621
+ "type": "boolean"
8717
8622
  }
8718
8623
  },
8719
8624
  "hasDynamicHelp": false,
8720
8625
  "hiddenAliases": [],
8721
- "id": "templates:delete",
8626
+ "id": "tags:import",
8722
8627
  "pluginAlias": "@instantkom/cli",
8723
8628
  "pluginName": "@instantkom/cli",
8724
8629
  "pluginType": "core",
@@ -8728,14 +8633,14 @@
8728
8633
  "relativePath": [
8729
8634
  "dist",
8730
8635
  "commands",
8731
- "templates",
8732
- "delete.js"
8636
+ "tags",
8637
+ "import.js"
8733
8638
  ]
8734
8639
  },
8735
- "templates:export": {
8640
+ "tags:list": {
8736
8641
  "aliases": [],
8737
8642
  "args": {},
8738
- "description": "Export templates to a file",
8643
+ "description": "List tags",
8739
8644
  "flags": {
8740
8645
  "api-key": {
8741
8646
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8747,14 +8652,17 @@
8747
8652
  "type": "option"
8748
8653
  },
8749
8654
  "format": {
8750
- "description": "Export format",
8655
+ "description": "Output format: text, json, yaml, or table",
8656
+ "helpGroup": "GLOBAL",
8751
8657
  "name": "format",
8752
- "default": "json",
8658
+ "default": "text",
8753
8659
  "hasDynamicHelp": false,
8754
8660
  "multiple": false,
8755
8661
  "options": [
8756
- "csv",
8757
- "json"
8662
+ "text",
8663
+ "json",
8664
+ "yaml",
8665
+ "table"
8758
8666
  ],
8759
8667
  "type": "option"
8760
8668
  },
@@ -8796,25 +8704,40 @@
8796
8704
  "multiple": false,
8797
8705
  "type": "option"
8798
8706
  },
8799
- "file": {
8800
- "description": "Output file path",
8801
- "name": "file",
8802
- "required": true,
8707
+ "page": {
8708
+ "description": "Page number",
8709
+ "name": "page",
8710
+ "default": 1,
8803
8711
  "hasDynamicHelp": false,
8804
8712
  "multiple": false,
8805
8713
  "type": "option"
8806
8714
  },
8807
- "channel": {
8808
- "description": "Filter by channel ID",
8809
- "name": "channel",
8715
+ "limit": {
8716
+ "description": "Items per page",
8717
+ "name": "limit",
8718
+ "default": 20,
8810
8719
  "hasDynamicHelp": false,
8811
8720
  "multiple": false,
8812
8721
  "type": "option"
8813
- }
8722
+ },
8723
+ "search": {
8724
+ "description": "Search by name",
8725
+ "name": "search",
8726
+ "hasDynamicHelp": false,
8727
+ "multiple": false,
8728
+ "type": "option"
8729
+ },
8730
+ "color": {
8731
+ "description": "Filter by color",
8732
+ "name": "color",
8733
+ "hasDynamicHelp": false,
8734
+ "multiple": false,
8735
+ "type": "option"
8736
+ }
8814
8737
  },
8815
8738
  "hasDynamicHelp": false,
8816
8739
  "hiddenAliases": [],
8817
- "id": "templates:export",
8740
+ "id": "tags:list",
8818
8741
  "pluginAlias": "@instantkom/cli",
8819
8742
  "pluginName": "@instantkom/cli",
8820
8743
  "pluginType": "core",
@@ -8824,20 +8747,20 @@
8824
8747
  "relativePath": [
8825
8748
  "dist",
8826
8749
  "commands",
8827
- "templates",
8828
- "export.js"
8750
+ "tags",
8751
+ "list.js"
8829
8752
  ]
8830
8753
  },
8831
- "templates:get": {
8754
+ "tags:update": {
8832
8755
  "aliases": [],
8833
8756
  "args": {
8834
8757
  "id": {
8835
- "description": "Template ID",
8758
+ "description": "Tag ID",
8836
8759
  "name": "id",
8837
8760
  "required": true
8838
8761
  }
8839
8762
  },
8840
- "description": "Get a message template by ID",
8763
+ "description": "Update a tag",
8841
8764
  "flags": {
8842
8765
  "api-key": {
8843
8766
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8900,11 +8823,46 @@
8900
8823
  "hasDynamicHelp": false,
8901
8824
  "multiple": false,
8902
8825
  "type": "option"
8826
+ },
8827
+ "name": {
8828
+ "description": "Tag name",
8829
+ "name": "name",
8830
+ "hasDynamicHelp": false,
8831
+ "multiple": false,
8832
+ "type": "option"
8833
+ },
8834
+ "description": {
8835
+ "description": "Tag description",
8836
+ "name": "description",
8837
+ "hasDynamicHelp": false,
8838
+ "multiple": false,
8839
+ "type": "option"
8840
+ },
8841
+ "color": {
8842
+ "description": "Tag color as HEX",
8843
+ "name": "color",
8844
+ "hasDynamicHelp": false,
8845
+ "multiple": false,
8846
+ "type": "option"
8847
+ },
8848
+ "folder": {
8849
+ "description": "Object folder ID",
8850
+ "name": "folder",
8851
+ "hasDynamicHelp": false,
8852
+ "multiple": false,
8853
+ "type": "option"
8854
+ },
8855
+ "data": {
8856
+ "description": "Additional JSON object payload",
8857
+ "name": "data",
8858
+ "hasDynamicHelp": false,
8859
+ "multiple": false,
8860
+ "type": "option"
8903
8861
  }
8904
8862
  },
8905
8863
  "hasDynamicHelp": false,
8906
8864
  "hiddenAliases": [],
8907
- "id": "templates:get",
8865
+ "id": "tags:update",
8908
8866
  "pluginAlias": "@instantkom/cli",
8909
8867
  "pluginName": "@instantkom/cli",
8910
8868
  "pluginType": "core",
@@ -8914,14 +8872,14 @@
8914
8872
  "relativePath": [
8915
8873
  "dist",
8916
8874
  "commands",
8917
- "templates",
8918
- "get.js"
8875
+ "tags",
8876
+ "update.js"
8919
8877
  ]
8920
8878
  },
8921
- "templates:import": {
8879
+ "tags:validate-import": {
8922
8880
  "aliases": [],
8923
8881
  "args": {},
8924
- "description": "Import templates from JSON",
8882
+ "description": "Validate tags import JSON",
8925
8883
  "flags": {
8926
8884
  "api-key": {
8927
8885
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8992,25 +8950,11 @@
8992
8950
  "hasDynamicHelp": false,
8993
8951
  "multiple": false,
8994
8952
  "type": "option"
8995
- },
8996
- "channel": {
8997
- "description": "Target channel ID",
8998
- "name": "channel",
8999
- "required": true,
9000
- "hasDynamicHelp": false,
9001
- "multiple": false,
9002
- "type": "option"
9003
- },
9004
- "skip-duplicates": {
9005
- "description": "Skip duplicate templates",
9006
- "name": "skip-duplicates",
9007
- "allowNo": true,
9008
- "type": "boolean"
9009
8953
  }
9010
8954
  },
9011
8955
  "hasDynamicHelp": false,
9012
8956
  "hiddenAliases": [],
9013
- "id": "templates:import",
8957
+ "id": "tags:validate-import",
9014
8958
  "pluginAlias": "@instantkom/cli",
9015
8959
  "pluginName": "@instantkom/cli",
9016
8960
  "pluginType": "core",
@@ -9020,14 +8964,14 @@
9020
8964
  "relativePath": [
9021
8965
  "dist",
9022
8966
  "commands",
9023
- "templates",
9024
- "import.js"
8967
+ "tags",
8968
+ "validate-import.js"
9025
8969
  ]
9026
8970
  },
9027
- "templates:list": {
8971
+ "team:create": {
9028
8972
  "aliases": [],
9029
8973
  "args": {},
9030
- "description": "List message templates",
8974
+ "description": "Create a team member",
9031
8975
  "flags": {
9032
8976
  "api-key": {
9033
8977
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9091,32 +9035,69 @@
9091
9035
  "multiple": false,
9092
9036
  "type": "option"
9093
9037
  },
9094
- "channel": {
9095
- "description": "Filter by channel ID",
9096
- "name": "channel",
9038
+ "email": {
9039
+ "description": "Email address",
9040
+ "name": "email",
9041
+ "required": true,
9097
9042
  "hasDynamicHelp": false,
9098
9043
  "multiple": false,
9099
9044
  "type": "option"
9100
9045
  },
9101
- "search": {
9102
- "description": "Search templates by name or content",
9103
- "name": "search",
9046
+ "first-name": {
9047
+ "description": "First name",
9048
+ "name": "first-name",
9049
+ "required": true,
9104
9050
  "hasDynamicHelp": false,
9105
9051
  "multiple": false,
9106
9052
  "type": "option"
9107
9053
  },
9108
- "page": {
9109
- "description": "Page number",
9110
- "name": "page",
9111
- "default": 1,
9054
+ "last-name": {
9055
+ "description": "Last name",
9056
+ "name": "last-name",
9057
+ "required": true,
9112
9058
  "hasDynamicHelp": false,
9113
9059
  "multiple": false,
9114
9060
  "type": "option"
9115
9061
  },
9116
- "limit": {
9117
- "description": "Items per page",
9118
- "name": "limit",
9119
- "default": 20,
9062
+ "password": {
9063
+ "description": "Initial password",
9064
+ "name": "password",
9065
+ "required": true,
9066
+ "hasDynamicHelp": false,
9067
+ "multiple": false,
9068
+ "type": "option"
9069
+ },
9070
+ "phone": {
9071
+ "description": "Phone number",
9072
+ "name": "phone",
9073
+ "hasDynamicHelp": false,
9074
+ "multiple": false,
9075
+ "type": "option"
9076
+ },
9077
+ "company": {
9078
+ "description": "Company name",
9079
+ "name": "company",
9080
+ "hasDynamicHelp": false,
9081
+ "multiple": false,
9082
+ "type": "option"
9083
+ },
9084
+ "color": {
9085
+ "description": "Color as HEX",
9086
+ "name": "color",
9087
+ "hasDynamicHelp": false,
9088
+ "multiple": false,
9089
+ "type": "option"
9090
+ },
9091
+ "folder": {
9092
+ "description": "Object folder ID",
9093
+ "name": "folder",
9094
+ "hasDynamicHelp": false,
9095
+ "multiple": false,
9096
+ "type": "option"
9097
+ },
9098
+ "data": {
9099
+ "description": "Additional JSON object payload",
9100
+ "name": "data",
9120
9101
  "hasDynamicHelp": false,
9121
9102
  "multiple": false,
9122
9103
  "type": "option"
@@ -9124,7 +9105,7 @@
9124
9105
  },
9125
9106
  "hasDynamicHelp": false,
9126
9107
  "hiddenAliases": [],
9127
- "id": "templates:list",
9108
+ "id": "team:create",
9128
9109
  "pluginAlias": "@instantkom/cli",
9129
9110
  "pluginName": "@instantkom/cli",
9130
9111
  "pluginType": "core",
@@ -9134,20 +9115,20 @@
9134
9115
  "relativePath": [
9135
9116
  "dist",
9136
9117
  "commands",
9137
- "templates",
9138
- "list.js"
9118
+ "team",
9119
+ "create.js"
9139
9120
  ]
9140
9121
  },
9141
- "templates:render": {
9122
+ "team:delete": {
9142
9123
  "aliases": [],
9143
9124
  "args": {
9144
9125
  "id": {
9145
- "description": "Template ID",
9126
+ "description": "Team member ID",
9146
9127
  "name": "id",
9147
9128
  "required": true
9148
9129
  }
9149
9130
  },
9150
- "description": "Render a message template locally",
9131
+ "description": "Delete a team member",
9151
9132
  "flags": {
9152
9133
  "api-key": {
9153
9134
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9210,18 +9191,11 @@
9210
9191
  "hasDynamicHelp": false,
9211
9192
  "multiple": false,
9212
9193
  "type": "option"
9213
- },
9214
- "vars": {
9215
- "description": "Template variable as key=value; may be repeated",
9216
- "name": "vars",
9217
- "hasDynamicHelp": false,
9218
- "multiple": true,
9219
- "type": "option"
9220
9194
  }
9221
9195
  },
9222
9196
  "hasDynamicHelp": false,
9223
9197
  "hiddenAliases": [],
9224
- "id": "templates:render",
9198
+ "id": "team:delete",
9225
9199
  "pluginAlias": "@instantkom/cli",
9226
9200
  "pluginName": "@instantkom/cli",
9227
9201
  "pluginType": "core",
@@ -9231,20 +9205,14 @@
9231
9205
  "relativePath": [
9232
9206
  "dist",
9233
9207
  "commands",
9234
- "templates",
9235
- "render.js"
9208
+ "team",
9209
+ "delete.js"
9236
9210
  ]
9237
9211
  },
9238
- "templates:update": {
9212
+ "team:list": {
9239
9213
  "aliases": [],
9240
- "args": {
9241
- "id": {
9242
- "description": "Template ID",
9243
- "name": "id",
9244
- "required": true
9245
- }
9246
- },
9247
- "description": "Update a message template",
9214
+ "args": {},
9215
+ "description": "List team members",
9248
9216
  "flags": {
9249
9217
  "api-key": {
9250
9218
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9307,39 +9275,134 @@
9307
9275
  "hasDynamicHelp": false,
9308
9276
  "multiple": false,
9309
9277
  "type": "option"
9310
- },
9311
- "name": {
9312
- "description": "Template name",
9313
- "name": "name",
9278
+ }
9279
+ },
9280
+ "hasDynamicHelp": false,
9281
+ "hiddenAliases": [],
9282
+ "id": "team:list",
9283
+ "pluginAlias": "@instantkom/cli",
9284
+ "pluginName": "@instantkom/cli",
9285
+ "pluginType": "core",
9286
+ "strict": true,
9287
+ "enableJsonFlag": false,
9288
+ "isESM": true,
9289
+ "relativePath": [
9290
+ "dist",
9291
+ "commands",
9292
+ "team",
9293
+ "list.js"
9294
+ ]
9295
+ },
9296
+ "templates:create": {
9297
+ "aliases": [],
9298
+ "args": {},
9299
+ "description": "Create a message template",
9300
+ "flags": {
9301
+ "api-key": {
9302
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
9303
+ "env": "IKM_API_KEY",
9304
+ "helpGroup": "GLOBAL",
9305
+ "name": "api-key",
9314
9306
  "hasDynamicHelp": false,
9315
9307
  "multiple": false,
9316
9308
  "type": "option"
9317
9309
  },
9318
- "type": {
9319
- "description": "Template type",
9320
- "name": "type",
9310
+ "format": {
9311
+ "description": "Output format: text, json, yaml, or table",
9312
+ "helpGroup": "GLOBAL",
9313
+ "name": "format",
9314
+ "default": "text",
9321
9315
  "hasDynamicHelp": false,
9322
9316
  "multiple": false,
9323
9317
  "options": [
9324
9318
  "text",
9325
- "image",
9326
- "video",
9327
- "document",
9328
- "audio",
9329
- "location",
9330
- "contact",
9331
- "interactive"
9319
+ "json",
9320
+ "yaml",
9321
+ "table"
9332
9322
  ],
9333
9323
  "type": "option"
9334
9324
  },
9335
- "message": {
9336
- "description": "Template message",
9337
- "name": "message",
9338
- "hasDynamicHelp": false,
9339
- "multiple": false,
9340
- "type": "option"
9341
- },
9342
- "color": {
9325
+ "json": {
9326
+ "description": "Output in JSON format (alias for --format=json)",
9327
+ "helpGroup": "GLOBAL",
9328
+ "name": "json",
9329
+ "allowNo": false,
9330
+ "type": "boolean"
9331
+ },
9332
+ "quiet": {
9333
+ "description": "Suppress all output except errors",
9334
+ "helpGroup": "GLOBAL",
9335
+ "name": "quiet",
9336
+ "allowNo": false,
9337
+ "type": "boolean"
9338
+ },
9339
+ "no-color": {
9340
+ "description": "Disable color output",
9341
+ "helpGroup": "GLOBAL",
9342
+ "name": "no-color",
9343
+ "allowNo": false,
9344
+ "type": "boolean"
9345
+ },
9346
+ "profile": {
9347
+ "description": "Named configuration profile to use",
9348
+ "helpGroup": "GLOBAL",
9349
+ "name": "profile",
9350
+ "default": "default",
9351
+ "hasDynamicHelp": false,
9352
+ "multiple": false,
9353
+ "type": "option"
9354
+ },
9355
+ "api-url": {
9356
+ "description": "Override the API base URL (e.g. for staging)",
9357
+ "helpGroup": "GLOBAL",
9358
+ "name": "api-url",
9359
+ "hasDynamicHelp": false,
9360
+ "multiple": false,
9361
+ "type": "option"
9362
+ },
9363
+ "channel": {
9364
+ "description": "Channel ID",
9365
+ "name": "channel",
9366
+ "required": true,
9367
+ "hasDynamicHelp": false,
9368
+ "multiple": false,
9369
+ "type": "option"
9370
+ },
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": {
9343
9406
  "description": "Template color as HEX",
9344
9407
  "name": "color",
9345
9408
  "hasDynamicHelp": false,
@@ -9352,12 +9415,6 @@
9352
9415
  "allowNo": true,
9353
9416
  "type": "boolean"
9354
9417
  },
9355
- "remove-media": {
9356
- "description": "Remove existing media",
9357
- "name": "remove-media",
9358
- "allowNo": false,
9359
- "type": "boolean"
9360
- },
9361
9418
  "whatsapp-language": {
9362
9419
  "description": "WhatsApp template language",
9363
9420
  "name": "whatsapp-language",
@@ -9389,7 +9446,7 @@
9389
9446
  },
9390
9447
  "hasDynamicHelp": false,
9391
9448
  "hiddenAliases": [],
9392
- "id": "templates:update",
9449
+ "id": "templates:create",
9393
9450
  "pluginAlias": "@instantkom/cli",
9394
9451
  "pluginName": "@instantkom/cli",
9395
9452
  "pluginType": "core",
@@ -9400,13 +9457,19 @@
9400
9457
  "dist",
9401
9458
  "commands",
9402
9459
  "templates",
9403
- "update.js"
9460
+ "create.js"
9404
9461
  ]
9405
9462
  },
9406
- "templates:validate-import": {
9463
+ "templates:delete": {
9407
9464
  "aliases": [],
9408
- "args": {},
9409
- "description": "Validate templates import JSON",
9465
+ "args": {
9466
+ "id": {
9467
+ "description": "template ID",
9468
+ "name": "id",
9469
+ "required": true
9470
+ }
9471
+ },
9472
+ "description": "Delete template",
9410
9473
  "flags": {
9411
9474
  "api-key": {
9412
9475
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9469,27 +9532,11 @@
9469
9532
  "hasDynamicHelp": false,
9470
9533
  "multiple": false,
9471
9534
  "type": "option"
9472
- },
9473
- "file": {
9474
- "description": "JSON file path",
9475
- "name": "file",
9476
- "required": true,
9477
- "hasDynamicHelp": false,
9478
- "multiple": false,
9479
- "type": "option"
9480
- },
9481
- "channel": {
9482
- "description": "Target channel ID",
9483
- "name": "channel",
9484
- "required": true,
9485
- "hasDynamicHelp": false,
9486
- "multiple": false,
9487
- "type": "option"
9488
9535
  }
9489
9536
  },
9490
9537
  "hasDynamicHelp": false,
9491
9538
  "hiddenAliases": [],
9492
- "id": "templates:validate-import",
9539
+ "id": "templates:delete",
9493
9540
  "pluginAlias": "@instantkom/cli",
9494
9541
  "pluginName": "@instantkom/cli",
9495
9542
  "pluginType": "core",
@@ -9500,13 +9547,13 @@
9500
9547
  "dist",
9501
9548
  "commands",
9502
9549
  "templates",
9503
- "validate-import.js"
9550
+ "delete.js"
9504
9551
  ]
9505
9552
  },
9506
- "tickets:create": {
9553
+ "templates:export": {
9507
9554
  "aliases": [],
9508
9555
  "args": {},
9509
- "description": "Create a ticket",
9556
+ "description": "Export templates to a file",
9510
9557
  "flags": {
9511
9558
  "api-key": {
9512
9559
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9518,17 +9565,14 @@
9518
9565
  "type": "option"
9519
9566
  },
9520
9567
  "format": {
9521
- "description": "Output format: text, json, yaml, or table",
9522
- "helpGroup": "GLOBAL",
9568
+ "description": "Export format",
9523
9569
  "name": "format",
9524
- "default": "text",
9570
+ "default": "json",
9525
9571
  "hasDynamicHelp": false,
9526
9572
  "multiple": false,
9527
9573
  "options": [
9528
- "text",
9529
- "json",
9530
- "yaml",
9531
- "table"
9574
+ "csv",
9575
+ "json"
9532
9576
  ],
9533
9577
  "type": "option"
9534
9578
  },
@@ -9570,60 +9614,17 @@
9570
9614
  "multiple": false,
9571
9615
  "type": "option"
9572
9616
  },
9573
- "channel": {
9574
- "description": "Channel ID",
9575
- "name": "channel",
9576
- "required": true,
9577
- "hasDynamicHelp": false,
9578
- "multiple": false,
9579
- "type": "option"
9580
- },
9581
- "subject": {
9582
- "description": "Ticket subject",
9583
- "name": "subject",
9617
+ "file": {
9618
+ "description": "Output file path",
9619
+ "name": "file",
9584
9620
  "required": true,
9585
9621
  "hasDynamicHelp": false,
9586
9622
  "multiple": false,
9587
9623
  "type": "option"
9588
9624
  },
9589
- "recipient": {
9590
- "description": "Existing recipient ID",
9591
- "name": "recipient",
9592
- "hasDynamicHelp": false,
9593
- "multiple": false,
9594
- "type": "option"
9595
- },
9596
- "email": {
9597
- "description": "Customer email",
9598
- "name": "email",
9599
- "hasDynamicHelp": false,
9600
- "multiple": false,
9601
- "type": "option"
9602
- },
9603
- "name": {
9604
- "description": "Customer name",
9605
- "name": "name",
9606
- "hasDynamicHelp": false,
9607
- "multiple": false,
9608
- "type": "option"
9609
- },
9610
- "priority": {
9611
- "description": "Ticket priority",
9612
- "name": "priority",
9613
- "hasDynamicHelp": false,
9614
- "multiple": false,
9615
- "type": "option"
9616
- },
9617
- "source": {
9618
- "description": "Ticket source",
9619
- "name": "source",
9620
- "hasDynamicHelp": false,
9621
- "multiple": false,
9622
- "type": "option"
9623
- },
9624
- "data": {
9625
- "description": "Additional JSON object payload",
9626
- "name": "data",
9625
+ "channel": {
9626
+ "description": "Filter by channel ID",
9627
+ "name": "channel",
9627
9628
  "hasDynamicHelp": false,
9628
9629
  "multiple": false,
9629
9630
  "type": "option"
@@ -9631,7 +9632,7 @@
9631
9632
  },
9632
9633
  "hasDynamicHelp": false,
9633
9634
  "hiddenAliases": [],
9634
- "id": "tickets:create",
9635
+ "id": "templates:export",
9635
9636
  "pluginAlias": "@instantkom/cli",
9636
9637
  "pluginName": "@instantkom/cli",
9637
9638
  "pluginType": "core",
@@ -9641,20 +9642,20 @@
9641
9642
  "relativePath": [
9642
9643
  "dist",
9643
9644
  "commands",
9644
- "tickets",
9645
- "create.js"
9645
+ "templates",
9646
+ "export.js"
9646
9647
  ]
9647
9648
  },
9648
- "tickets:delete": {
9649
+ "templates:get": {
9649
9650
  "aliases": [],
9650
9651
  "args": {
9651
9652
  "id": {
9652
- "description": "Ticket ID",
9653
+ "description": "Template ID",
9653
9654
  "name": "id",
9654
9655
  "required": true
9655
9656
  }
9656
9657
  },
9657
- "description": "Delete a ticket",
9658
+ "description": "Get a message template by ID",
9658
9659
  "flags": {
9659
9660
  "api-key": {
9660
9661
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9717,19 +9718,11 @@
9717
9718
  "hasDynamicHelp": false,
9718
9719
  "multiple": false,
9719
9720
  "type": "option"
9720
- },
9721
- "channel": {
9722
- "description": "Channel ID",
9723
- "name": "channel",
9724
- "required": true,
9725
- "hasDynamicHelp": false,
9726
- "multiple": false,
9727
- "type": "option"
9728
9721
  }
9729
9722
  },
9730
9723
  "hasDynamicHelp": false,
9731
9724
  "hiddenAliases": [],
9732
- "id": "tickets:delete",
9725
+ "id": "templates:get",
9733
9726
  "pluginAlias": "@instantkom/cli",
9734
9727
  "pluginName": "@instantkom/cli",
9735
9728
  "pluginType": "core",
@@ -9739,20 +9732,14 @@
9739
9732
  "relativePath": [
9740
9733
  "dist",
9741
9734
  "commands",
9742
- "tickets",
9743
- "delete.js"
9735
+ "templates",
9736
+ "get.js"
9744
9737
  ]
9745
9738
  },
9746
- "tickets:get": {
9739
+ "templates:import": {
9747
9740
  "aliases": [],
9748
- "args": {
9749
- "id": {
9750
- "description": "Ticket ID",
9751
- "name": "id",
9752
- "required": true
9753
- }
9754
- },
9755
- "description": "Get a ticket by ID",
9741
+ "args": {},
9742
+ "description": "Import templates from JSON",
9756
9743
  "flags": {
9757
9744
  "api-key": {
9758
9745
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9816,18 +9803,32 @@
9816
9803
  "multiple": false,
9817
9804
  "type": "option"
9818
9805
  },
9806
+ "file": {
9807
+ "description": "JSON file path",
9808
+ "name": "file",
9809
+ "required": true,
9810
+ "hasDynamicHelp": false,
9811
+ "multiple": false,
9812
+ "type": "option"
9813
+ },
9819
9814
  "channel": {
9820
- "description": "Channel ID",
9815
+ "description": "Target channel ID",
9821
9816
  "name": "channel",
9822
9817
  "required": true,
9823
9818
  "hasDynamicHelp": false,
9824
9819
  "multiple": false,
9825
9820
  "type": "option"
9821
+ },
9822
+ "skip-duplicates": {
9823
+ "description": "Skip duplicate templates",
9824
+ "name": "skip-duplicates",
9825
+ "allowNo": true,
9826
+ "type": "boolean"
9826
9827
  }
9827
9828
  },
9828
9829
  "hasDynamicHelp": false,
9829
9830
  "hiddenAliases": [],
9830
- "id": "tickets:get",
9831
+ "id": "templates:import",
9831
9832
  "pluginAlias": "@instantkom/cli",
9832
9833
  "pluginName": "@instantkom/cli",
9833
9834
  "pluginType": "core",
@@ -9837,14 +9838,14 @@
9837
9838
  "relativePath": [
9838
9839
  "dist",
9839
9840
  "commands",
9840
- "tickets",
9841
- "get.js"
9841
+ "templates",
9842
+ "import.js"
9842
9843
  ]
9843
9844
  },
9844
- "tickets:list": {
9845
+ "templates:list": {
9845
9846
  "aliases": [],
9846
9847
  "args": {},
9847
- "description": "List tickets for a channel",
9848
+ "description": "List message templates",
9848
9849
  "flags": {
9849
9850
  "api-key": {
9850
9851
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9908,26 +9909,32 @@
9908
9909
  "multiple": false,
9909
9910
  "type": "option"
9910
9911
  },
9911
- "channel": {
9912
- "description": "Channel ID",
9913
- "name": "channel",
9914
- "required": true,
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",
9915
9922
  "hasDynamicHelp": false,
9916
9923
  "multiple": false,
9917
9924
  "type": "option"
9918
9925
  },
9919
- "limit": {
9920
- "description": "Maximum tickets to return",
9921
- "name": "limit",
9922
- "default": 500,
9926
+ "page": {
9927
+ "description": "Page number",
9928
+ "name": "page",
9929
+ "default": 1,
9923
9930
  "hasDynamicHelp": false,
9924
9931
  "multiple": false,
9925
9932
  "type": "option"
9926
9933
  },
9927
- "offset": {
9928
- "description": "Number of tickets to skip",
9929
- "name": "offset",
9930
- "default": 0,
9934
+ "limit": {
9935
+ "description": "Items per page",
9936
+ "name": "limit",
9937
+ "default": 20,
9931
9938
  "hasDynamicHelp": false,
9932
9939
  "multiple": false,
9933
9940
  "type": "option"
@@ -9935,7 +9942,7 @@
9935
9942
  },
9936
9943
  "hasDynamicHelp": false,
9937
9944
  "hiddenAliases": [],
9938
- "id": "tickets:list",
9945
+ "id": "templates:list",
9939
9946
  "pluginAlias": "@instantkom/cli",
9940
9947
  "pluginName": "@instantkom/cli",
9941
9948
  "pluginType": "core",
@@ -9945,20 +9952,20 @@
9945
9952
  "relativePath": [
9946
9953
  "dist",
9947
9954
  "commands",
9948
- "tickets",
9955
+ "templates",
9949
9956
  "list.js"
9950
9957
  ]
9951
9958
  },
9952
- "tickets:reply": {
9959
+ "templates:render": {
9953
9960
  "aliases": [],
9954
9961
  "args": {
9955
9962
  "id": {
9956
- "description": "Ticket ID",
9963
+ "description": "Template ID",
9957
9964
  "name": "id",
9958
9965
  "required": true
9959
9966
  }
9960
9967
  },
9961
- "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.",
9968
+ "description": "Render a message template locally",
9962
9969
  "flags": {
9963
9970
  "api-key": {
9964
9971
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10022,24 +10029,17 @@
10022
10029
  "multiple": false,
10023
10030
  "type": "option"
10024
10031
  },
10025
- "message": {
10026
- "description": "Reply body (raw text, no salutation or sign-off)",
10027
- "name": "message",
10028
- "required": true,
10032
+ "vars": {
10033
+ "description": "Template variable as key=value; may be repeated",
10034
+ "name": "vars",
10029
10035
  "hasDynamicHelp": false,
10030
- "multiple": false,
10036
+ "multiple": true,
10031
10037
  "type": "option"
10032
- },
10033
- "close": {
10034
- "description": "Close the ticket after sending the reply",
10035
- "name": "close",
10036
- "allowNo": false,
10037
- "type": "boolean"
10038
10038
  }
10039
10039
  },
10040
10040
  "hasDynamicHelp": false,
10041
10041
  "hiddenAliases": [],
10042
- "id": "tickets:reply",
10042
+ "id": "templates:render",
10043
10043
  "pluginAlias": "@instantkom/cli",
10044
10044
  "pluginName": "@instantkom/cli",
10045
10045
  "pluginType": "core",
@@ -10049,20 +10049,20 @@
10049
10049
  "relativePath": [
10050
10050
  "dist",
10051
10051
  "commands",
10052
- "tickets",
10053
- "reply.js"
10052
+ "templates",
10053
+ "render.js"
10054
10054
  ]
10055
10055
  },
10056
- "tickets:update": {
10056
+ "templates:update": {
10057
10057
  "aliases": [],
10058
10058
  "args": {
10059
10059
  "id": {
10060
- "description": "Ticket ID",
10060
+ "description": "Template ID",
10061
10061
  "name": "id",
10062
10062
  "required": true
10063
10063
  }
10064
10064
  },
10065
- "description": "Update a ticket",
10065
+ "description": "Update a message template",
10066
10066
  "flags": {
10067
10067
  "api-key": {
10068
10068
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10126,47 +10126,76 @@
10126
10126
  "multiple": false,
10127
10127
  "type": "option"
10128
10128
  },
10129
- "channel": {
10130
- "description": "Channel ID",
10131
- "name": "channel",
10132
- "required": true,
10129
+ "name": {
10130
+ "description": "Template name",
10131
+ "name": "name",
10133
10132
  "hasDynamicHelp": false,
10134
10133
  "multiple": false,
10135
10134
  "type": "option"
10136
10135
  },
10137
- "subject": {
10138
- "description": "Ticket subject",
10139
- "name": "subject",
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",
10140
10156
  "hasDynamicHelp": false,
10141
10157
  "multiple": false,
10142
10158
  "type": "option"
10143
10159
  },
10144
- "priority": {
10145
- "description": "Ticket priority",
10146
- "name": "priority",
10160
+ "color": {
10161
+ "description": "Template color as HEX",
10162
+ "name": "color",
10147
10163
  "hasDynamicHelp": false,
10148
10164
  "multiple": false,
10149
10165
  "type": "option"
10150
10166
  },
10151
10167
  "status": {
10152
- "description": "Ticket status",
10168
+ "description": "Template is active",
10153
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",
10154
10182
  "hasDynamicHelp": false,
10155
10183
  "multiple": false,
10156
10184
  "type": "option"
10157
10185
  },
10158
- "assigned-to": {
10159
- "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
10160
- "name": "assigned-to",
10186
+ "buttons": {
10187
+ "description": "Buttons JSON array/object",
10188
+ "name": "buttons",
10161
10189
  "hasDynamicHelp": false,
10162
10190
  "multiple": false,
10163
10191
  "type": "option"
10164
10192
  },
10165
- "notify": {
10166
- "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.",
10167
- "name": "notify",
10168
- "allowNo": true,
10169
- "type": "boolean"
10193
+ "header-footer": {
10194
+ "description": "Header/footer JSON object",
10195
+ "name": "header-footer",
10196
+ "hasDynamicHelp": false,
10197
+ "multiple": false,
10198
+ "type": "option"
10170
10199
  },
10171
10200
  "data": {
10172
10201
  "description": "Additional JSON object payload",
@@ -10178,7 +10207,7 @@
10178
10207
  },
10179
10208
  "hasDynamicHelp": false,
10180
10209
  "hiddenAliases": [],
10181
- "id": "tickets:update",
10210
+ "id": "templates:update",
10182
10211
  "pluginAlias": "@instantkom/cli",
10183
10212
  "pluginName": "@instantkom/cli",
10184
10213
  "pluginType": "core",
@@ -10188,14 +10217,14 @@
10188
10217
  "relativePath": [
10189
10218
  "dist",
10190
10219
  "commands",
10191
- "tickets",
10220
+ "templates",
10192
10221
  "update.js"
10193
10222
  ]
10194
10223
  },
10195
- "webhooks:add": {
10224
+ "templates:validate-import": {
10196
10225
  "aliases": [],
10197
10226
  "args": {},
10198
- "description": "Add a webhook subscription",
10227
+ "description": "Validate templates import JSON",
10199
10228
  "flags": {
10200
10229
  "api-key": {
10201
10230
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10259,24 +10288,17 @@
10259
10288
  "multiple": false,
10260
10289
  "type": "option"
10261
10290
  },
10262
- "event": {
10263
- "description": "Webhook event to subscribe to",
10264
- "name": "event",
10291
+ "file": {
10292
+ "description": "JSON file path",
10293
+ "name": "file",
10265
10294
  "required": true,
10266
10295
  "hasDynamicHelp": false,
10267
10296
  "multiple": false,
10268
- "options": [
10269
- "new_contact",
10270
- "new_message",
10271
- "broadcast_sent",
10272
- "contact_updated",
10273
- "contact_opted_out"
10274
- ],
10275
10297
  "type": "option"
10276
10298
  },
10277
- "url": {
10278
- "description": "HTTPS target URL that receives webhook POSTs",
10279
- "name": "url",
10299
+ "channel": {
10300
+ "description": "Target channel ID",
10301
+ "name": "channel",
10280
10302
  "required": true,
10281
10303
  "hasDynamicHelp": false,
10282
10304
  "multiple": false,
@@ -10285,7 +10307,7 @@
10285
10307
  },
10286
10308
  "hasDynamicHelp": false,
10287
10309
  "hiddenAliases": [],
10288
- "id": "webhooks:add",
10310
+ "id": "templates:validate-import",
10289
10311
  "pluginAlias": "@instantkom/cli",
10290
10312
  "pluginName": "@instantkom/cli",
10291
10313
  "pluginType": "core",
@@ -10295,14 +10317,14 @@
10295
10317
  "relativePath": [
10296
10318
  "dist",
10297
10319
  "commands",
10298
- "webhooks",
10299
- "add.js"
10320
+ "templates",
10321
+ "validate-import.js"
10300
10322
  ]
10301
10323
  },
10302
- "webhooks:events": {
10324
+ "tickets:create": {
10303
10325
  "aliases": [],
10304
10326
  "args": {},
10305
- "description": "List supported webhook event names",
10327
+ "description": "Create a ticket",
10306
10328
  "flags": {
10307
10329
  "api-key": {
10308
10330
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10365,87 +10387,61 @@
10365
10387
  "hasDynamicHelp": false,
10366
10388
  "multiple": false,
10367
10389
  "type": "option"
10368
- }
10369
- },
10370
- "hasDynamicHelp": false,
10371
- "hiddenAliases": [],
10372
- "id": "webhooks:events",
10373
- "pluginAlias": "@instantkom/cli",
10374
- "pluginName": "@instantkom/cli",
10375
- "pluginType": "core",
10376
- "strict": true,
10377
- "enableJsonFlag": false,
10378
- "isESM": true,
10379
- "relativePath": [
10380
- "dist",
10381
- "commands",
10382
- "webhooks",
10383
- "events.js"
10384
- ]
10385
- },
10386
- "webhooks:list": {
10387
- "aliases": [],
10388
- "args": {},
10389
- "description": "List webhook subscriptions",
10390
- "flags": {
10391
- "api-key": {
10392
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
10393
- "env": "IKM_API_KEY",
10394
- "helpGroup": "GLOBAL",
10395
- "name": "api-key",
10390
+ },
10391
+ "channel": {
10392
+ "description": "Channel ID",
10393
+ "name": "channel",
10394
+ "required": true,
10396
10395
  "hasDynamicHelp": false,
10397
10396
  "multiple": false,
10398
10397
  "type": "option"
10399
10398
  },
10400
- "format": {
10401
- "description": "Output format: text, json, yaml, or table",
10402
- "helpGroup": "GLOBAL",
10403
- "name": "format",
10404
- "default": "text",
10399
+ "subject": {
10400
+ "description": "Ticket subject",
10401
+ "name": "subject",
10402
+ "required": true,
10405
10403
  "hasDynamicHelp": false,
10406
10404
  "multiple": false,
10407
- "options": [
10408
- "text",
10409
- "json",
10410
- "yaml",
10411
- "table"
10412
- ],
10413
10405
  "type": "option"
10414
10406
  },
10415
- "json": {
10416
- "description": "Output in JSON format (alias for --format=json)",
10417
- "helpGroup": "GLOBAL",
10418
- "name": "json",
10419
- "allowNo": false,
10420
- "type": "boolean"
10407
+ "recipient": {
10408
+ "description": "Existing recipient ID",
10409
+ "name": "recipient",
10410
+ "hasDynamicHelp": false,
10411
+ "multiple": false,
10412
+ "type": "option"
10421
10413
  },
10422
- "quiet": {
10423
- "description": "Suppress all output except errors",
10424
- "helpGroup": "GLOBAL",
10425
- "name": "quiet",
10426
- "allowNo": false,
10427
- "type": "boolean"
10414
+ "email": {
10415
+ "description": "Customer email",
10416
+ "name": "email",
10417
+ "hasDynamicHelp": false,
10418
+ "multiple": false,
10419
+ "type": "option"
10428
10420
  },
10429
- "no-color": {
10430
- "description": "Disable color output",
10431
- "helpGroup": "GLOBAL",
10432
- "name": "no-color",
10433
- "allowNo": false,
10434
- "type": "boolean"
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"
10435
10434
  },
10436
- "profile": {
10437
- "description": "Named configuration profile to use",
10438
- "helpGroup": "GLOBAL",
10439
- "name": "profile",
10440
- "default": "default",
10435
+ "source": {
10436
+ "description": "Ticket source",
10437
+ "name": "source",
10441
10438
  "hasDynamicHelp": false,
10442
10439
  "multiple": false,
10443
10440
  "type": "option"
10444
10441
  },
10445
- "api-url": {
10446
- "description": "Override the API base URL (e.g. for staging)",
10447
- "helpGroup": "GLOBAL",
10448
- "name": "api-url",
10442
+ "data": {
10443
+ "description": "Additional JSON object payload",
10444
+ "name": "data",
10449
10445
  "hasDynamicHelp": false,
10450
10446
  "multiple": false,
10451
10447
  "type": "option"
@@ -10453,7 +10449,7 @@
10453
10449
  },
10454
10450
  "hasDynamicHelp": false,
10455
10451
  "hiddenAliases": [],
10456
- "id": "webhooks:list",
10452
+ "id": "tickets:create",
10457
10453
  "pluginAlias": "@instantkom/cli",
10458
10454
  "pluginName": "@instantkom/cli",
10459
10455
  "pluginType": "core",
@@ -10463,14 +10459,20 @@
10463
10459
  "relativePath": [
10464
10460
  "dist",
10465
10461
  "commands",
10466
- "webhooks",
10467
- "list.js"
10462
+ "tickets",
10463
+ "create.js"
10468
10464
  ]
10469
10465
  },
10470
- "webhooks:logs": {
10466
+ "tickets:delete": {
10471
10467
  "aliases": [],
10472
- "args": {},
10473
- "description": "Explain webhook log availability",
10468
+ "args": {
10469
+ "id": {
10470
+ "description": "Ticket ID",
10471
+ "name": "id",
10472
+ "required": true
10473
+ }
10474
+ },
10475
+ "description": "Delete a ticket",
10474
10476
  "flags": {
10475
10477
  "api-key": {
10476
10478
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10533,11 +10535,19 @@
10533
10535
  "hasDynamicHelp": false,
10534
10536
  "multiple": false,
10535
10537
  "type": "option"
10538
+ },
10539
+ "channel": {
10540
+ "description": "Channel ID",
10541
+ "name": "channel",
10542
+ "required": true,
10543
+ "hasDynamicHelp": false,
10544
+ "multiple": false,
10545
+ "type": "option"
10536
10546
  }
10537
10547
  },
10538
10548
  "hasDynamicHelp": false,
10539
10549
  "hiddenAliases": [],
10540
- "id": "webhooks:logs",
10550
+ "id": "tickets:delete",
10541
10551
  "pluginAlias": "@instantkom/cli",
10542
10552
  "pluginName": "@instantkom/cli",
10543
10553
  "pluginType": "core",
@@ -10547,20 +10557,20 @@
10547
10557
  "relativePath": [
10548
10558
  "dist",
10549
10559
  "commands",
10550
- "webhooks",
10551
- "logs.js"
10560
+ "tickets",
10561
+ "delete.js"
10552
10562
  ]
10553
10563
  },
10554
- "webhooks:remove": {
10564
+ "tickets:get": {
10555
10565
  "aliases": [],
10556
10566
  "args": {
10557
10567
  "id": {
10558
- "description": "Webhook subscription ID",
10568
+ "description": "Ticket ID",
10559
10569
  "name": "id",
10560
10570
  "required": true
10561
10571
  }
10562
10572
  },
10563
- "description": "Remove a webhook subscription",
10573
+ "description": "Get a ticket by ID",
10564
10574
  "flags": {
10565
10575
  "api-key": {
10566
10576
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10623,11 +10633,19 @@
10623
10633
  "hasDynamicHelp": false,
10624
10634
  "multiple": false,
10625
10635
  "type": "option"
10636
+ },
10637
+ "channel": {
10638
+ "description": "Channel ID",
10639
+ "name": "channel",
10640
+ "required": true,
10641
+ "hasDynamicHelp": false,
10642
+ "multiple": false,
10643
+ "type": "option"
10626
10644
  }
10627
10645
  },
10628
10646
  "hasDynamicHelp": false,
10629
10647
  "hiddenAliases": [],
10630
- "id": "webhooks:remove",
10648
+ "id": "tickets:get",
10631
10649
  "pluginAlias": "@instantkom/cli",
10632
10650
  "pluginName": "@instantkom/cli",
10633
10651
  "pluginType": "core",
@@ -10637,14 +10655,14 @@
10637
10655
  "relativePath": [
10638
10656
  "dist",
10639
10657
  "commands",
10640
- "webhooks",
10641
- "remove.js"
10658
+ "tickets",
10659
+ "get.js"
10642
10660
  ]
10643
10661
  },
10644
- "webhooks:test": {
10662
+ "tickets:list": {
10645
10663
  "aliases": [],
10646
10664
  "args": {},
10647
- "description": "Send a test webhook payload to a URL",
10665
+ "description": "List tickets for a channel",
10648
10666
  "flags": {
10649
10667
  "api-key": {
10650
10668
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10708,25 +10726,26 @@
10708
10726
  "multiple": false,
10709
10727
  "type": "option"
10710
10728
  },
10711
- "url": {
10712
- "description": "Webhook URL to call",
10713
- "name": "url",
10729
+ "channel": {
10730
+ "description": "Channel ID",
10731
+ "name": "channel",
10714
10732
  "required": true,
10715
10733
  "hasDynamicHelp": false,
10716
10734
  "multiple": false,
10717
10735
  "type": "option"
10718
10736
  },
10719
- "event": {
10720
- "description": "Event name",
10721
- "name": "event",
10722
- "default": "cli.test",
10737
+ "limit": {
10738
+ "description": "Maximum tickets to return",
10739
+ "name": "limit",
10740
+ "default": 500,
10723
10741
  "hasDynamicHelp": false,
10724
10742
  "multiple": false,
10725
10743
  "type": "option"
10726
10744
  },
10727
- "payload": {
10728
- "description": "Payload JSON",
10729
- "name": "payload",
10745
+ "offset": {
10746
+ "description": "Number of tickets to skip",
10747
+ "name": "offset",
10748
+ "default": 0,
10730
10749
  "hasDynamicHelp": false,
10731
10750
  "multiple": false,
10732
10751
  "type": "option"
@@ -10734,7 +10753,7 @@
10734
10753
  },
10735
10754
  "hasDynamicHelp": false,
10736
10755
  "hiddenAliases": [],
10737
- "id": "webhooks:test",
10756
+ "id": "tickets:list",
10738
10757
  "pluginAlias": "@instantkom/cli",
10739
10758
  "pluginName": "@instantkom/cli",
10740
10759
  "pluginType": "core",
@@ -10744,14 +10763,20 @@
10744
10763
  "relativePath": [
10745
10764
  "dist",
10746
10765
  "commands",
10747
- "webhooks",
10748
- "test.js"
10766
+ "tickets",
10767
+ "list.js"
10749
10768
  ]
10750
10769
  },
10751
- "tags:create": {
10770
+ "tickets:reply": {
10752
10771
  "aliases": [],
10753
- "args": {},
10754
- "description": "Create a tag",
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.",
10755
10780
  "flags": {
10756
10781
  "api-key": {
10757
10782
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10815,46 +10840,24 @@
10815
10840
  "multiple": false,
10816
10841
  "type": "option"
10817
10842
  },
10818
- "name": {
10819
- "description": "Tag name",
10820
- "name": "name",
10843
+ "message": {
10844
+ "description": "Reply body (raw text, no salutation or sign-off)",
10845
+ "name": "message",
10821
10846
  "required": true,
10822
10847
  "hasDynamicHelp": false,
10823
10848
  "multiple": false,
10824
10849
  "type": "option"
10825
10850
  },
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"
10851
+ "close": {
10852
+ "description": "Close the ticket after sending the reply",
10853
+ "name": "close",
10854
+ "allowNo": false,
10855
+ "type": "boolean"
10853
10856
  }
10854
10857
  },
10855
10858
  "hasDynamicHelp": false,
10856
10859
  "hiddenAliases": [],
10857
- "id": "tags:create",
10860
+ "id": "tickets:reply",
10858
10861
  "pluginAlias": "@instantkom/cli",
10859
10862
  "pluginName": "@instantkom/cli",
10860
10863
  "pluginType": "core",
@@ -10864,20 +10867,20 @@
10864
10867
  "relativePath": [
10865
10868
  "dist",
10866
10869
  "commands",
10867
- "tags",
10868
- "create.js"
10870
+ "tickets",
10871
+ "reply.js"
10869
10872
  ]
10870
10873
  },
10871
- "tags:delete": {
10874
+ "tickets:update": {
10872
10875
  "aliases": [],
10873
10876
  "args": {
10874
10877
  "id": {
10875
- "description": "tag ID",
10878
+ "description": "Ticket ID",
10876
10879
  "name": "id",
10877
10880
  "required": true
10878
10881
  }
10879
10882
  },
10880
- "description": "Delete tag",
10883
+ "description": "Update a ticket",
10881
10884
  "flags": {
10882
10885
  "api-key": {
10883
10886
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10940,11 +10943,60 @@
10940
10943
  "hasDynamicHelp": false,
10941
10944
  "multiple": false,
10942
10945
  "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"
10943
10995
  }
10944
10996
  },
10945
10997
  "hasDynamicHelp": false,
10946
10998
  "hiddenAliases": [],
10947
- "id": "tags:delete",
10999
+ "id": "tickets:update",
10948
11000
  "pluginAlias": "@instantkom/cli",
10949
11001
  "pluginName": "@instantkom/cli",
10950
11002
  "pluginType": "core",
@@ -10954,14 +11006,14 @@
10954
11006
  "relativePath": [
10955
11007
  "dist",
10956
11008
  "commands",
10957
- "tags",
10958
- "delete.js"
11009
+ "tickets",
11010
+ "update.js"
10959
11011
  ]
10960
11012
  },
10961
- "tags:export": {
11013
+ "webhooks:add": {
10962
11014
  "aliases": [],
10963
11015
  "args": {},
10964
- "description": "Export tags to a file",
11016
+ "description": "Add a webhook subscription",
10965
11017
  "flags": {
10966
11018
  "api-key": {
10967
11019
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10973,14 +11025,17 @@
10973
11025
  "type": "option"
10974
11026
  },
10975
11027
  "format": {
10976
- "description": "Export format",
11028
+ "description": "Output format: text, json, yaml, or table",
11029
+ "helpGroup": "GLOBAL",
10977
11030
  "name": "format",
10978
- "default": "csv",
11031
+ "default": "text",
10979
11032
  "hasDynamicHelp": false,
10980
11033
  "multiple": false,
10981
11034
  "options": [
10982
- "csv",
10983
- "json"
11035
+ "text",
11036
+ "json",
11037
+ "yaml",
11038
+ "table"
10984
11039
  ],
10985
11040
  "type": "option"
10986
11041
  },
@@ -11022,9 +11077,24 @@
11022
11077
  "multiple": false,
11023
11078
  "type": "option"
11024
11079
  },
11025
- "file": {
11026
- "description": "Output file path",
11027
- "name": "file",
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",
11028
11098
  "required": true,
11029
11099
  "hasDynamicHelp": false,
11030
11100
  "multiple": false,
@@ -11033,7 +11103,7 @@
11033
11103
  },
11034
11104
  "hasDynamicHelp": false,
11035
11105
  "hiddenAliases": [],
11036
- "id": "tags:export",
11106
+ "id": "webhooks:add",
11037
11107
  "pluginAlias": "@instantkom/cli",
11038
11108
  "pluginName": "@instantkom/cli",
11039
11109
  "pluginType": "core",
@@ -11043,20 +11113,14 @@
11043
11113
  "relativePath": [
11044
11114
  "dist",
11045
11115
  "commands",
11046
- "tags",
11047
- "export.js"
11116
+ "webhooks",
11117
+ "add.js"
11048
11118
  ]
11049
11119
  },
11050
- "tags:get": {
11120
+ "webhooks:events": {
11051
11121
  "aliases": [],
11052
- "args": {
11053
- "id": {
11054
- "description": "tag ID",
11055
- "name": "id",
11056
- "required": true
11057
- }
11058
- },
11059
- "description": "Get tag by ID",
11122
+ "args": {},
11123
+ "description": "List supported webhook event names",
11060
11124
  "flags": {
11061
11125
  "api-key": {
11062
11126
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11123,7 +11187,7 @@
11123
11187
  },
11124
11188
  "hasDynamicHelp": false,
11125
11189
  "hiddenAliases": [],
11126
- "id": "tags:get",
11190
+ "id": "webhooks:events",
11127
11191
  "pluginAlias": "@instantkom/cli",
11128
11192
  "pluginName": "@instantkom/cli",
11129
11193
  "pluginType": "core",
@@ -11133,14 +11197,14 @@
11133
11197
  "relativePath": [
11134
11198
  "dist",
11135
11199
  "commands",
11136
- "tags",
11137
- "get.js"
11200
+ "webhooks",
11201
+ "events.js"
11138
11202
  ]
11139
11203
  },
11140
- "tags:import": {
11204
+ "webhooks:list": {
11141
11205
  "aliases": [],
11142
11206
  "args": {},
11143
- "description": "Import tags from JSON",
11207
+ "description": "List webhook subscriptions",
11144
11208
  "flags": {
11145
11209
  "api-key": {
11146
11210
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11203,25 +11267,11 @@
11203
11267
  "hasDynamicHelp": false,
11204
11268
  "multiple": false,
11205
11269
  "type": "option"
11206
- },
11207
- "file": {
11208
- "description": "JSON file path",
11209
- "name": "file",
11210
- "required": true,
11211
- "hasDynamicHelp": false,
11212
- "multiple": false,
11213
- "type": "option"
11214
- },
11215
- "skip-duplicates": {
11216
- "description": "Skip duplicate tags",
11217
- "name": "skip-duplicates",
11218
- "allowNo": true,
11219
- "type": "boolean"
11220
11270
  }
11221
11271
  },
11222
11272
  "hasDynamicHelp": false,
11223
11273
  "hiddenAliases": [],
11224
- "id": "tags:import",
11274
+ "id": "webhooks:list",
11225
11275
  "pluginAlias": "@instantkom/cli",
11226
11276
  "pluginName": "@instantkom/cli",
11227
11277
  "pluginType": "core",
@@ -11231,14 +11281,14 @@
11231
11281
  "relativePath": [
11232
11282
  "dist",
11233
11283
  "commands",
11234
- "tags",
11235
- "import.js"
11284
+ "webhooks",
11285
+ "list.js"
11236
11286
  ]
11237
11287
  },
11238
- "tags:list": {
11288
+ "webhooks:logs": {
11239
11289
  "aliases": [],
11240
11290
  "args": {},
11241
- "description": "List tags",
11291
+ "description": "Explain webhook log availability",
11242
11292
  "flags": {
11243
11293
  "api-key": {
11244
11294
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11301,41 +11351,11 @@
11301
11351
  "hasDynamicHelp": false,
11302
11352
  "multiple": false,
11303
11353
  "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"
11334
11354
  }
11335
11355
  },
11336
11356
  "hasDynamicHelp": false,
11337
11357
  "hiddenAliases": [],
11338
- "id": "tags:list",
11358
+ "id": "webhooks:logs",
11339
11359
  "pluginAlias": "@instantkom/cli",
11340
11360
  "pluginName": "@instantkom/cli",
11341
11361
  "pluginType": "core",
@@ -11345,20 +11365,20 @@
11345
11365
  "relativePath": [
11346
11366
  "dist",
11347
11367
  "commands",
11348
- "tags",
11349
- "list.js"
11368
+ "webhooks",
11369
+ "logs.js"
11350
11370
  ]
11351
11371
  },
11352
- "tags:update": {
11372
+ "webhooks:remove": {
11353
11373
  "aliases": [],
11354
11374
  "args": {
11355
11375
  "id": {
11356
- "description": "Tag ID",
11376
+ "description": "Webhook subscription ID",
11357
11377
  "name": "id",
11358
11378
  "required": true
11359
11379
  }
11360
11380
  },
11361
- "description": "Update a tag",
11381
+ "description": "Remove a webhook subscription",
11362
11382
  "flags": {
11363
11383
  "api-key": {
11364
11384
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11421,46 +11441,11 @@
11421
11441
  "hasDynamicHelp": false,
11422
11442
  "multiple": false,
11423
11443
  "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"
11459
11444
  }
11460
11445
  },
11461
11446
  "hasDynamicHelp": false,
11462
11447
  "hiddenAliases": [],
11463
- "id": "tags:update",
11448
+ "id": "webhooks:remove",
11464
11449
  "pluginAlias": "@instantkom/cli",
11465
11450
  "pluginName": "@instantkom/cli",
11466
11451
  "pluginType": "core",
@@ -11470,14 +11455,14 @@
11470
11455
  "relativePath": [
11471
11456
  "dist",
11472
11457
  "commands",
11473
- "tags",
11474
- "update.js"
11458
+ "webhooks",
11459
+ "remove.js"
11475
11460
  ]
11476
11461
  },
11477
- "tags:validate-import": {
11462
+ "webhooks:test": {
11478
11463
  "aliases": [],
11479
11464
  "args": {},
11480
- "description": "Validate tags import JSON",
11465
+ "description": "Send a test webhook payload to a URL",
11481
11466
  "flags": {
11482
11467
  "api-key": {
11483
11468
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11541,18 +11526,33 @@
11541
11526
  "multiple": false,
11542
11527
  "type": "option"
11543
11528
  },
11544
- "file": {
11545
- "description": "JSON file path",
11546
- "name": "file",
11529
+ "url": {
11530
+ "description": "Webhook URL to call",
11531
+ "name": "url",
11547
11532
  "required": true,
11548
11533
  "hasDynamicHelp": false,
11549
11534
  "multiple": false,
11550
11535
  "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": "tags:validate-import",
11555
+ "id": "webhooks:test",
11556
11556
  "pluginAlias": "@instantkom/cli",
11557
11557
  "pluginName": "@instantkom/cli",
11558
11558
  "pluginType": "core",
@@ -11562,8 +11562,8 @@
11562
11562
  "relativePath": [
11563
11563
  "dist",
11564
11564
  "commands",
11565
- "tags",
11566
- "validate-import.js"
11565
+ "webhooks",
11566
+ "test.js"
11567
11567
  ]
11568
11568
  },
11569
11569
  "auth:tokens:create": {
@@ -12046,16 +12046,16 @@
12046
12046
  "update.js"
12047
12047
  ]
12048
12048
  },
12049
- "bots:filters:create": {
12049
+ "bots:env-vars:bots": {
12050
12050
  "aliases": [],
12051
12051
  "args": {
12052
- "botId": {
12053
- "description": "Bot ID",
12054
- "name": "botId",
12052
+ "id": {
12053
+ "description": "Environment variable ID",
12054
+ "name": "id",
12055
12055
  "required": true
12056
12056
  }
12057
12057
  },
12058
- "description": "Create a bot filter",
12058
+ "description": "List bots using a bot environment variable",
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,64 +12118,112 @@
12118
12118
  "hasDynamicHelp": false,
12119
12119
  "multiple": false,
12120
12120
  "type": "option"
12121
- },
12122
- "name": {
12123
- "description": "Filter name",
12124
- "name": "name",
12125
- "required": true,
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",
12126
12150
  "hasDynamicHelp": false,
12127
12151
  "multiple": false,
12128
12152
  "type": "option"
12129
12153
  },
12130
- "operator": {
12131
- "description": "Logical operator",
12132
- "name": "operator",
12133
- "default": "and",
12154
+ "format": {
12155
+ "description": "Output format: text, json, yaml, or table",
12156
+ "helpGroup": "GLOBAL",
12157
+ "name": "format",
12158
+ "default": "text",
12134
12159
  "hasDynamicHelp": false,
12135
12160
  "multiple": false,
12161
+ "options": [
12162
+ "text",
12163
+ "json",
12164
+ "yaml",
12165
+ "table"
12166
+ ],
12136
12167
  "type": "option"
12137
12168
  },
12138
- "filter-object": {
12139
- "description": "Filter object type",
12140
- "name": "filter-object",
12141
- "default": "msg",
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",
12142
12195
  "hasDynamicHelp": false,
12143
12196
  "multiple": false,
12144
12197
  "type": "option"
12145
- },
12146
- "filter-attribute": {
12147
- "description": "Filter attribute",
12148
- "name": "filter-attribute",
12149
- "default": "text",
12198
+ },
12199
+ "api-url": {
12200
+ "description": "Override the API base URL (e.g. for staging)",
12201
+ "helpGroup": "GLOBAL",
12202
+ "name": "api-url",
12150
12203
  "hasDynamicHelp": false,
12151
12204
  "multiple": false,
12152
12205
  "type": "option"
12153
12206
  },
12154
- "filter-comparator": {
12155
- "description": "Filter comparator",
12156
- "name": "filter-comparator",
12157
- "default": "contains",
12207
+ "key": {
12208
+ "description": "Variable key (max 16 chars, letters, digits, underscore)",
12209
+ "name": "key",
12210
+ "required": true,
12158
12211
  "hasDynamicHelp": false,
12159
12212
  "multiple": false,
12160
12213
  "type": "option"
12161
12214
  },
12162
- "filter-value": {
12163
- "description": "Filter value",
12164
- "name": "filter-value",
12165
- "required": true,
12215
+ "description": {
12216
+ "description": "Variable description",
12217
+ "name": "description",
12166
12218
  "hasDynamicHelp": false,
12167
12219
  "multiple": false,
12168
12220
  "type": "option"
12169
12221
  },
12170
- "status": {
12171
- "description": "Status: 0 inactive, 1 active",
12172
- "name": "status",
12222
+ "color": {
12223
+ "description": "Variable color as HEX",
12224
+ "name": "color",
12173
12225
  "hasDynamicHelp": false,
12174
12226
  "multiple": false,
12175
- "options": [
12176
- "0",
12177
- "1"
12178
- ],
12179
12227
  "type": "option"
12180
12228
  },
12181
12229
  "data": {
@@ -12188,7 +12236,7 @@
12188
12236
  },
12189
12237
  "hasDynamicHelp": false,
12190
12238
  "hiddenAliases": [],
12191
- "id": "bots:filters:create",
12239
+ "id": "bots:env-vars:create",
12192
12240
  "pluginAlias": "@instantkom/cli",
12193
12241
  "pluginName": "@instantkom/cli",
12194
12242
  "pluginType": "core",
@@ -12199,25 +12247,20 @@
12199
12247
  "dist",
12200
12248
  "commands",
12201
12249
  "bots",
12202
- "filters",
12250
+ "env-vars",
12203
12251
  "create.js"
12204
12252
  ]
12205
12253
  },
12206
- "bots:filters:delete": {
12254
+ "bots:env-vars:delete": {
12207
12255
  "aliases": [],
12208
12256
  "args": {
12209
- "botId": {
12210
- "description": "Bot ID",
12211
- "name": "botId",
12212
- "required": true
12213
- },
12214
- "filterId": {
12215
- "description": "Filter ID",
12216
- "name": "filterId",
12257
+ "id": {
12258
+ "description": "Environment variable ID",
12259
+ "name": "id",
12217
12260
  "required": true
12218
12261
  }
12219
12262
  },
12220
- "description": "Delete a bot filter",
12263
+ "description": "Delete a bot environment variable",
12221
12264
  "flags": {
12222
12265
  "api-key": {
12223
12266
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12284,7 +12327,7 @@
12284
12327
  },
12285
12328
  "hasDynamicHelp": false,
12286
12329
  "hiddenAliases": [],
12287
- "id": "bots:filters:delete",
12330
+ "id": "bots:env-vars:delete",
12288
12331
  "pluginAlias": "@instantkom/cli",
12289
12332
  "pluginName": "@instantkom/cli",
12290
12333
  "pluginType": "core",
@@ -12295,25 +12338,20 @@
12295
12338
  "dist",
12296
12339
  "commands",
12297
12340
  "bots",
12298
- "filters",
12341
+ "env-vars",
12299
12342
  "delete.js"
12300
12343
  ]
12301
12344
  },
12302
- "bots:filters:get": {
12345
+ "bots:env-vars:get": {
12303
12346
  "aliases": [],
12304
12347
  "args": {
12305
- "botId": {
12306
- "description": "Bot ID",
12307
- "name": "botId",
12308
- "required": true
12309
- },
12310
- "filterId": {
12311
- "description": "Filter ID",
12312
- "name": "filterId",
12348
+ "id": {
12349
+ "description": "Environment variable ID",
12350
+ "name": "id",
12313
12351
  "required": true
12314
12352
  }
12315
12353
  },
12316
- "description": "Get a bot filter",
12354
+ "description": "Get a bot environment variable",
12317
12355
  "flags": {
12318
12356
  "api-key": {
12319
12357
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12380,7 +12418,7 @@
12380
12418
  },
12381
12419
  "hasDynamicHelp": false,
12382
12420
  "hiddenAliases": [],
12383
- "id": "bots:filters:get",
12421
+ "id": "bots:env-vars:get",
12384
12422
  "pluginAlias": "@instantkom/cli",
12385
12423
  "pluginName": "@instantkom/cli",
12386
12424
  "pluginType": "core",
@@ -12391,20 +12429,14 @@
12391
12429
  "dist",
12392
12430
  "commands",
12393
12431
  "bots",
12394
- "filters",
12432
+ "env-vars",
12395
12433
  "get.js"
12396
12434
  ]
12397
12435
  },
12398
- "bots:filters:list": {
12436
+ "bots:env-vars:list": {
12399
12437
  "aliases": [],
12400
- "args": {
12401
- "botId": {
12402
- "description": "Bot ID",
12403
- "name": "botId",
12404
- "required": true
12405
- }
12406
- },
12407
- "description": "List bot filters",
12438
+ "args": {},
12439
+ "description": "List bot environment variables",
12408
12440
  "flags": {
12409
12441
  "api-key": {
12410
12442
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12484,20 +12516,16 @@
12484
12516
  "multiple": false,
12485
12517
  "type": "option"
12486
12518
  },
12487
- "status": {
12488
- "description": "Status filter: 0 inactive, 1 active",
12489
- "name": "status",
12519
+ "search": {
12520
+ "description": "Search in key or description",
12521
+ "name": "search",
12490
12522
  "hasDynamicHelp": false,
12491
12523
  "multiple": false,
12492
- "options": [
12493
- "0",
12494
- "1"
12495
- ],
12496
12524
  "type": "option"
12497
12525
  },
12498
- "search": {
12499
- "description": "Search in name or description",
12500
- "name": "search",
12526
+ "color": {
12527
+ "description": "Filter by color",
12528
+ "name": "color",
12501
12529
  "hasDynamicHelp": false,
12502
12530
  "multiple": false,
12503
12531
  "type": "option"
@@ -12505,7 +12533,7 @@
12505
12533
  },
12506
12534
  "hasDynamicHelp": false,
12507
12535
  "hiddenAliases": [],
12508
- "id": "bots:filters:list",
12536
+ "id": "bots:env-vars:list",
12509
12537
  "pluginAlias": "@instantkom/cli",
12510
12538
  "pluginName": "@instantkom/cli",
12511
12539
  "pluginType": "core",
@@ -12516,25 +12544,20 @@
12516
12544
  "dist",
12517
12545
  "commands",
12518
12546
  "bots",
12519
- "filters",
12547
+ "env-vars",
12520
12548
  "list.js"
12521
12549
  ]
12522
12550
  },
12523
- "bots:filters:update": {
12551
+ "bots:env-vars:update": {
12524
12552
  "aliases": [],
12525
12553
  "args": {
12526
- "botId": {
12527
- "description": "Bot ID",
12528
- "name": "botId",
12529
- "required": true
12530
- },
12531
- "filterId": {
12532
- "description": "Filter ID",
12533
- "name": "filterId",
12554
+ "id": {
12555
+ "description": "Environment variable ID",
12556
+ "name": "id",
12534
12557
  "required": true
12535
12558
  }
12536
12559
  },
12537
- "description": "Update a bot filter",
12560
+ "description": "Update a bot environment variable",
12538
12561
  "flags": {
12539
12562
  "api-key": {
12540
12563
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12598,57 +12621,18 @@
12598
12621
  "multiple": false,
12599
12622
  "type": "option"
12600
12623
  },
12601
- "name": {
12602
- "description": "Filter name",
12603
- "name": "name",
12604
- "hasDynamicHelp": false,
12605
- "multiple": false,
12606
- "type": "option"
12607
- },
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",
12624
+ "description": {
12625
+ "description": "Variable description",
12626
+ "name": "description",
12639
12627
  "hasDynamicHelp": false,
12640
12628
  "multiple": false,
12641
12629
  "type": "option"
12642
12630
  },
12643
- "status": {
12644
- "description": "Status: 0 inactive, 1 active",
12645
- "name": "status",
12631
+ "color": {
12632
+ "description": "Variable color as HEX",
12633
+ "name": "color",
12646
12634
  "hasDynamicHelp": false,
12647
12635
  "multiple": false,
12648
- "options": [
12649
- "0",
12650
- "1"
12651
- ],
12652
12636
  "type": "option"
12653
12637
  },
12654
12638
  "data": {
@@ -12661,7 +12645,7 @@
12661
12645
  },
12662
12646
  "hasDynamicHelp": false,
12663
12647
  "hiddenAliases": [],
12664
- "id": "bots:filters:update",
12648
+ "id": "bots:env-vars:update",
12665
12649
  "pluginAlias": "@instantkom/cli",
12666
12650
  "pluginName": "@instantkom/cli",
12667
12651
  "pluginType": "core",
@@ -12672,11 +12656,11 @@
12672
12656
  "dist",
12673
12657
  "commands",
12674
12658
  "bots",
12675
- "filters",
12659
+ "env-vars",
12676
12660
  "update.js"
12677
12661
  ]
12678
12662
  },
12679
- "bots:env-vars:bots": {
12663
+ "bots:env-vars:values": {
12680
12664
  "aliases": [],
12681
12665
  "args": {
12682
12666
  "id": {
@@ -12685,7 +12669,7 @@
12685
12669
  "required": true
12686
12670
  }
12687
12671
  },
12688
- "description": "List bots using a bot environment variable",
12672
+ "description": "List recipient values for a bot environment variable",
12689
12673
  "flags": {
12690
12674
  "api-key": {
12691
12675
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12748,11 +12732,41 @@
12748
12732
  "hasDynamicHelp": false,
12749
12733
  "multiple": false,
12750
12734
  "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"
12751
12765
  }
12752
12766
  },
12753
12767
  "hasDynamicHelp": false,
12754
12768
  "hiddenAliases": [],
12755
- "id": "bots:env-vars:bots",
12769
+ "id": "bots:env-vars:values",
12756
12770
  "pluginAlias": "@instantkom/cli",
12757
12771
  "pluginName": "@instantkom/cli",
12758
12772
  "pluginType": "core",
@@ -12764,13 +12778,19 @@
12764
12778
  "commands",
12765
12779
  "bots",
12766
12780
  "env-vars",
12767
- "bots.js"
12781
+ "values.js"
12768
12782
  ]
12769
12783
  },
12770
- "bots:env-vars:create": {
12784
+ "bots:filters:create": {
12771
12785
  "aliases": [],
12772
- "args": {},
12773
- "description": "Create a bot environment variable",
12786
+ "args": {
12787
+ "botId": {
12788
+ "description": "Bot ID",
12789
+ "name": "botId",
12790
+ "required": true
12791
+ }
12792
+ },
12793
+ "description": "Create a bot filter",
12774
12794
  "flags": {
12775
12795
  "api-key": {
12776
12796
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12834,26 +12854,63 @@
12834
12854
  "multiple": false,
12835
12855
  "type": "option"
12836
12856
  },
12837
- "key": {
12838
- "description": "Variable key (max 16 chars, letters, digits, underscore)",
12839
- "name": "key",
12840
- "required": true,
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",
12841
12893
  "hasDynamicHelp": false,
12842
12894
  "multiple": false,
12843
12895
  "type": "option"
12844
12896
  },
12845
- "description": {
12846
- "description": "Variable description",
12847
- "name": "description",
12897
+ "filter-value": {
12898
+ "description": "Filter value",
12899
+ "name": "filter-value",
12900
+ "required": true,
12848
12901
  "hasDynamicHelp": false,
12849
12902
  "multiple": false,
12850
12903
  "type": "option"
12851
12904
  },
12852
- "color": {
12853
- "description": "Variable color as HEX",
12854
- "name": "color",
12905
+ "status": {
12906
+ "description": "Status: 0 inactive, 1 active",
12907
+ "name": "status",
12855
12908
  "hasDynamicHelp": false,
12856
12909
  "multiple": false,
12910
+ "options": [
12911
+ "0",
12912
+ "1"
12913
+ ],
12857
12914
  "type": "option"
12858
12915
  },
12859
12916
  "data": {
@@ -12866,7 +12923,7 @@
12866
12923
  },
12867
12924
  "hasDynamicHelp": false,
12868
12925
  "hiddenAliases": [],
12869
- "id": "bots:env-vars:create",
12926
+ "id": "bots:filters:create",
12870
12927
  "pluginAlias": "@instantkom/cli",
12871
12928
  "pluginName": "@instantkom/cli",
12872
12929
  "pluginType": "core",
@@ -12877,20 +12934,25 @@
12877
12934
  "dist",
12878
12935
  "commands",
12879
12936
  "bots",
12880
- "env-vars",
12937
+ "filters",
12881
12938
  "create.js"
12882
12939
  ]
12883
12940
  },
12884
- "bots:env-vars:delete": {
12941
+ "bots:filters:delete": {
12885
12942
  "aliases": [],
12886
12943
  "args": {
12887
- "id": {
12888
- "description": "Environment variable ID",
12889
- "name": "id",
12944
+ "botId": {
12945
+ "description": "Bot ID",
12946
+ "name": "botId",
12947
+ "required": true
12948
+ },
12949
+ "filterId": {
12950
+ "description": "Filter ID",
12951
+ "name": "filterId",
12890
12952
  "required": true
12891
12953
  }
12892
12954
  },
12893
- "description": "Delete a bot environment variable",
12955
+ "description": "Delete a bot filter",
12894
12956
  "flags": {
12895
12957
  "api-key": {
12896
12958
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12957,7 +13019,7 @@
12957
13019
  },
12958
13020
  "hasDynamicHelp": false,
12959
13021
  "hiddenAliases": [],
12960
- "id": "bots:env-vars:delete",
13022
+ "id": "bots:filters:delete",
12961
13023
  "pluginAlias": "@instantkom/cli",
12962
13024
  "pluginName": "@instantkom/cli",
12963
13025
  "pluginType": "core",
@@ -12968,20 +13030,25 @@
12968
13030
  "dist",
12969
13031
  "commands",
12970
13032
  "bots",
12971
- "env-vars",
13033
+ "filters",
12972
13034
  "delete.js"
12973
13035
  ]
12974
13036
  },
12975
- "bots:env-vars:get": {
13037
+ "bots:filters:get": {
12976
13038
  "aliases": [],
12977
13039
  "args": {
12978
- "id": {
12979
- "description": "Environment variable ID",
12980
- "name": "id",
13040
+ "botId": {
13041
+ "description": "Bot ID",
13042
+ "name": "botId",
13043
+ "required": true
13044
+ },
13045
+ "filterId": {
13046
+ "description": "Filter ID",
13047
+ "name": "filterId",
12981
13048
  "required": true
12982
13049
  }
12983
13050
  },
12984
- "description": "Get a bot environment variable",
13051
+ "description": "Get a bot filter",
12985
13052
  "flags": {
12986
13053
  "api-key": {
12987
13054
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13048,7 +13115,7 @@
13048
13115
  },
13049
13116
  "hasDynamicHelp": false,
13050
13117
  "hiddenAliases": [],
13051
- "id": "bots:env-vars:get",
13118
+ "id": "bots:filters:get",
13052
13119
  "pluginAlias": "@instantkom/cli",
13053
13120
  "pluginName": "@instantkom/cli",
13054
13121
  "pluginType": "core",
@@ -13059,14 +13126,20 @@
13059
13126
  "dist",
13060
13127
  "commands",
13061
13128
  "bots",
13062
- "env-vars",
13129
+ "filters",
13063
13130
  "get.js"
13064
13131
  ]
13065
13132
  },
13066
- "bots:env-vars:list": {
13133
+ "bots:filters:list": {
13067
13134
  "aliases": [],
13068
- "args": {},
13069
- "description": "List bot environment variables",
13135
+ "args": {
13136
+ "botId": {
13137
+ "description": "Bot ID",
13138
+ "name": "botId",
13139
+ "required": true
13140
+ }
13141
+ },
13142
+ "description": "List bot filters",
13070
13143
  "flags": {
13071
13144
  "api-key": {
13072
13145
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13146,16 +13219,20 @@
13146
13219
  "multiple": false,
13147
13220
  "type": "option"
13148
13221
  },
13149
- "search": {
13150
- "description": "Search in key or description",
13151
- "name": "search",
13222
+ "status": {
13223
+ "description": "Status filter: 0 inactive, 1 active",
13224
+ "name": "status",
13152
13225
  "hasDynamicHelp": false,
13153
13226
  "multiple": false,
13227
+ "options": [
13228
+ "0",
13229
+ "1"
13230
+ ],
13154
13231
  "type": "option"
13155
13232
  },
13156
- "color": {
13157
- "description": "Filter by color",
13158
- "name": "color",
13233
+ "search": {
13234
+ "description": "Search in name or description",
13235
+ "name": "search",
13159
13236
  "hasDynamicHelp": false,
13160
13237
  "multiple": false,
13161
13238
  "type": "option"
@@ -13163,7 +13240,7 @@
13163
13240
  },
13164
13241
  "hasDynamicHelp": false,
13165
13242
  "hiddenAliases": [],
13166
- "id": "bots:env-vars:list",
13243
+ "id": "bots:filters:list",
13167
13244
  "pluginAlias": "@instantkom/cli",
13168
13245
  "pluginName": "@instantkom/cli",
13169
13246
  "pluginType": "core",
@@ -13174,20 +13251,25 @@
13174
13251
  "dist",
13175
13252
  "commands",
13176
13253
  "bots",
13177
- "env-vars",
13254
+ "filters",
13178
13255
  "list.js"
13179
13256
  ]
13180
13257
  },
13181
- "bots:env-vars:update": {
13258
+ "bots:filters:update": {
13182
13259
  "aliases": [],
13183
13260
  "args": {
13184
- "id": {
13185
- "description": "Environment variable ID",
13186
- "name": "id",
13261
+ "botId": {
13262
+ "description": "Bot ID",
13263
+ "name": "botId",
13264
+ "required": true
13265
+ },
13266
+ "filterId": {
13267
+ "description": "Filter ID",
13268
+ "name": "filterId",
13187
13269
  "required": true
13188
13270
  }
13189
13271
  },
13190
- "description": "Update a bot environment variable",
13272
+ "description": "Update a bot filter",
13191
13273
  "flags": {
13192
13274
  "api-key": {
13193
13275
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13251,144 +13333,62 @@
13251
13333
  "multiple": false,
13252
13334
  "type": "option"
13253
13335
  },
13254
- "description": {
13255
- "description": "Variable description",
13256
- "name": "description",
13257
- "hasDynamicHelp": false,
13258
- "multiple": false,
13259
- "type": "option"
13260
- },
13261
- "color": {
13262
- "description": "Variable color as HEX",
13263
- "name": "color",
13264
- "hasDynamicHelp": false,
13265
- "multiple": false,
13266
- "type": "option"
13267
- },
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",
13336
+ "name": {
13337
+ "description": "Filter name",
13338
+ "name": "name",
13309
13339
  "hasDynamicHelp": false,
13310
13340
  "multiple": false,
13311
13341
  "type": "option"
13312
13342
  },
13313
- "format": {
13314
- "description": "Output format: text, json, yaml, or table",
13315
- "helpGroup": "GLOBAL",
13316
- "name": "format",
13317
- "default": "text",
13343
+ "operator": {
13344
+ "description": "Logical operator",
13345
+ "name": "operator",
13318
13346
  "hasDynamicHelp": false,
13319
13347
  "multiple": false,
13320
- "options": [
13321
- "text",
13322
- "json",
13323
- "yaml",
13324
- "table"
13325
- ],
13326
13348
  "type": "option"
13327
13349
  },
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",
13350
+ "filter-object": {
13351
+ "description": "Filter object type",
13352
+ "name": "filter-object",
13354
13353
  "hasDynamicHelp": false,
13355
13354
  "multiple": false,
13356
13355
  "type": "option"
13357
13356
  },
13358
- "api-url": {
13359
- "description": "Override the API base URL (e.g. for staging)",
13360
- "helpGroup": "GLOBAL",
13361
- "name": "api-url",
13357
+ "filter-attribute": {
13358
+ "description": "Filter attribute",
13359
+ "name": "filter-attribute",
13362
13360
  "hasDynamicHelp": false,
13363
13361
  "multiple": false,
13364
13362
  "type": "option"
13365
13363
  },
13366
- "page": {
13367
- "description": "Page number",
13368
- "name": "page",
13369
- "default": 1,
13364
+ "filter-comparator": {
13365
+ "description": "Filter comparator",
13366
+ "name": "filter-comparator",
13370
13367
  "hasDynamicHelp": false,
13371
13368
  "multiple": false,
13372
13369
  "type": "option"
13373
13370
  },
13374
- "limit": {
13375
- "description": "Items per page",
13376
- "name": "limit",
13377
- "default": 20,
13371
+ "filter-value": {
13372
+ "description": "Filter value",
13373
+ "name": "filter-value",
13378
13374
  "hasDynamicHelp": false,
13379
13375
  "multiple": false,
13380
13376
  "type": "option"
13381
13377
  },
13382
- "search": {
13383
- "description": "Search in recipient name or identifier",
13384
- "name": "search",
13378
+ "status": {
13379
+ "description": "Status: 0 inactive, 1 active",
13380
+ "name": "status",
13385
13381
  "hasDynamicHelp": false,
13386
13382
  "multiple": false,
13383
+ "options": [
13384
+ "0",
13385
+ "1"
13386
+ ],
13387
13387
  "type": "option"
13388
13388
  },
13389
- "recipient": {
13390
- "description": "Filter by recipient ID",
13391
- "name": "recipient",
13389
+ "data": {
13390
+ "description": "Additional JSON object payload",
13391
+ "name": "data",
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:env-vars:values",
13399
+ "id": "bots:filters:update",
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
- "env-vars",
13411
- "values.js"
13410
+ "filters",
13411
+ "update.js"
13412
13412
  ]
13413
13413
  },
13414
13414
  "bots:tags:add": {
@@ -15749,16 +15749,16 @@
15749
15749
  "remove.js"
15750
15750
  ]
15751
15751
  },
15752
- "ticket:messages:create": {
15752
+ "tags:bots:list": {
15753
15753
  "aliases": [],
15754
15754
  "args": {
15755
- "ticketId": {
15756
- "description": "Ticket ID",
15757
- "name": "ticketId",
15755
+ "id": {
15756
+ "description": "Tag ID",
15757
+ "name": "id",
15758
15758
  "required": true
15759
15759
  }
15760
15760
  },
15761
- "description": "Create a ticket message",
15761
+ "description": "List bots that use a specific tag",
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,17 +15822,18 @@
15822
15822
  "multiple": false,
15823
15823
  "type": "option"
15824
15824
  },
15825
- "message": {
15826
- "description": "Message text",
15827
- "name": "message",
15828
- "required": true,
15825
+ "page": {
15826
+ "description": "Page number",
15827
+ "name": "page",
15828
+ "default": 1,
15829
15829
  "hasDynamicHelp": false,
15830
15830
  "multiple": false,
15831
15831
  "type": "option"
15832
15832
  },
15833
- "data": {
15834
- "description": "Additional JSON object payload",
15835
- "name": "data",
15833
+ "limit": {
15834
+ "description": "Items per page",
15835
+ "name": "limit",
15836
+ "default": 20,
15836
15837
  "hasDynamicHelp": false,
15837
15838
  "multiple": false,
15838
15839
  "type": "option"
@@ -15840,7 +15841,7 @@
15840
15841
  },
15841
15842
  "hasDynamicHelp": false,
15842
15843
  "hiddenAliases": [],
15843
- "id": "ticket:messages:create",
15844
+ "id": "tags:bots:list",
15844
15845
  "pluginAlias": "@instantkom/cli",
15845
15846
  "pluginName": "@instantkom/cli",
15846
15847
  "pluginType": "core",
@@ -15850,26 +15851,21 @@
15850
15851
  "relativePath": [
15851
15852
  "dist",
15852
15853
  "commands",
15853
- "ticket",
15854
- "messages",
15855
- "create.js"
15854
+ "tags",
15855
+ "bots",
15856
+ "list.js"
15856
15857
  ]
15857
15858
  },
15858
- "ticket:messages:delete": {
15859
+ "tags:recipients:add": {
15859
15860
  "aliases": [],
15860
15861
  "args": {
15861
- "ticketId": {
15862
- "description": "Ticket ID",
15863
- "name": "ticketId",
15864
- "required": true
15865
- },
15866
- "messageId": {
15867
- "description": "Message ID",
15868
- "name": "messageId",
15862
+ "tagId": {
15863
+ "description": "Tag ID",
15864
+ "name": "tagId",
15869
15865
  "required": true
15870
15866
  }
15871
15867
  },
15872
- "description": "Delete a ticket message",
15868
+ "description": "Assign a tag to recipients",
15873
15869
  "flags": {
15874
15870
  "api-key": {
15875
15871
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15932,11 +15928,19 @@
15932
15928
  "hasDynamicHelp": false,
15933
15929
  "multiple": false,
15934
15930
  "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"
15935
15939
  }
15936
15940
  },
15937
15941
  "hasDynamicHelp": false,
15938
15942
  "hiddenAliases": [],
15939
- "id": "ticket:messages:delete",
15943
+ "id": "tags:recipients:add",
15940
15944
  "pluginAlias": "@instantkom/cli",
15941
15945
  "pluginName": "@instantkom/cli",
15942
15946
  "pluginType": "core",
@@ -15946,26 +15950,21 @@
15946
15950
  "relativePath": [
15947
15951
  "dist",
15948
15952
  "commands",
15949
- "ticket",
15950
- "messages",
15951
- "delete.js"
15953
+ "tags",
15954
+ "recipients",
15955
+ "add.js"
15952
15956
  ]
15953
15957
  },
15954
- "ticket:messages:get": {
15958
+ "tags:recipients:remove": {
15955
15959
  "aliases": [],
15956
15960
  "args": {
15957
- "ticketId": {
15958
- "description": "Ticket ID",
15959
- "name": "ticketId",
15960
- "required": true
15961
- },
15962
- "messageId": {
15963
- "description": "Message ID",
15964
- "name": "messageId",
15961
+ "tagId": {
15962
+ "description": "Tag ID",
15963
+ "name": "tagId",
15965
15964
  "required": true
15966
15965
  }
15967
15966
  },
15968
- "description": "Get a ticket message",
15967
+ "description": "Remove a tag from recipients",
15969
15968
  "flags": {
15970
15969
  "api-key": {
15971
15970
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16028,11 +16027,19 @@
16028
16027
  "hasDynamicHelp": false,
16029
16028
  "multiple": false,
16030
16029
  "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"
16031
16038
  }
16032
16039
  },
16033
16040
  "hasDynamicHelp": false,
16034
16041
  "hiddenAliases": [],
16035
- "id": "ticket:messages:get",
16042
+ "id": "tags:recipients:remove",
16036
16043
  "pluginAlias": "@instantkom/cli",
16037
16044
  "pluginName": "@instantkom/cli",
16038
16045
  "pluginType": "core",
@@ -16042,21 +16049,21 @@
16042
16049
  "relativePath": [
16043
16050
  "dist",
16044
16051
  "commands",
16045
- "ticket",
16046
- "messages",
16047
- "get.js"
16052
+ "tags",
16053
+ "recipients",
16054
+ "remove.js"
16048
16055
  ]
16049
16056
  },
16050
- "ticket:messages:list": {
16057
+ "tags:segments:list": {
16051
16058
  "aliases": [],
16052
16059
  "args": {
16053
- "ticketId": {
16054
- "description": "Ticket ID",
16055
- "name": "ticketId",
16060
+ "id": {
16061
+ "description": "Tag ID",
16062
+ "name": "id",
16056
16063
  "required": true
16057
16064
  }
16058
16065
  },
16059
- "description": "List ticket messages",
16066
+ "description": "List segments that use a specific tag",
16060
16067
  "flags": {
16061
16068
  "api-key": {
16062
16069
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16119,11 +16126,27 @@
16119
16126
  "hasDynamicHelp": false,
16120
16127
  "multiple": false,
16121
16128
  "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"
16122
16145
  }
16123
16146
  },
16124
16147
  "hasDynamicHelp": false,
16125
16148
  "hiddenAliases": [],
16126
- "id": "ticket:messages:list",
16149
+ "id": "tags:segments:list",
16127
16150
  "pluginAlias": "@instantkom/cli",
16128
16151
  "pluginName": "@instantkom/cli",
16129
16152
  "pluginType": "core",
@@ -16133,21 +16156,21 @@
16133
16156
  "relativePath": [
16134
16157
  "dist",
16135
16158
  "commands",
16136
- "ticket",
16137
- "messages",
16159
+ "tags",
16160
+ "segments",
16138
16161
  "list.js"
16139
16162
  ]
16140
16163
  },
16141
- "tags:bots:list": {
16164
+ "ticket:messages:create": {
16142
16165
  "aliases": [],
16143
16166
  "args": {
16144
- "id": {
16145
- "description": "Tag ID",
16146
- "name": "id",
16167
+ "ticketId": {
16168
+ "description": "Ticket ID",
16169
+ "name": "ticketId",
16147
16170
  "required": true
16148
16171
  }
16149
16172
  },
16150
- "description": "List bots that use a specific tag",
16173
+ "description": "Create a ticket message",
16151
16174
  "flags": {
16152
16175
  "api-key": {
16153
16176
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16211,18 +16234,17 @@
16211
16234
  "multiple": false,
16212
16235
  "type": "option"
16213
16236
  },
16214
- "page": {
16215
- "description": "Page number",
16216
- "name": "page",
16217
- "default": 1,
16237
+ "message": {
16238
+ "description": "Message text",
16239
+ "name": "message",
16240
+ "required": true,
16218
16241
  "hasDynamicHelp": false,
16219
16242
  "multiple": false,
16220
16243
  "type": "option"
16221
16244
  },
16222
- "limit": {
16223
- "description": "Items per page",
16224
- "name": "limit",
16225
- "default": 20,
16245
+ "data": {
16246
+ "description": "Additional JSON object payload",
16247
+ "name": "data",
16226
16248
  "hasDynamicHelp": false,
16227
16249
  "multiple": false,
16228
16250
  "type": "option"
@@ -16230,7 +16252,7 @@
16230
16252
  },
16231
16253
  "hasDynamicHelp": false,
16232
16254
  "hiddenAliases": [],
16233
- "id": "tags:bots:list",
16255
+ "id": "ticket:messages:create",
16234
16256
  "pluginAlias": "@instantkom/cli",
16235
16257
  "pluginName": "@instantkom/cli",
16236
16258
  "pluginType": "core",
@@ -16240,21 +16262,26 @@
16240
16262
  "relativePath": [
16241
16263
  "dist",
16242
16264
  "commands",
16243
- "tags",
16244
- "bots",
16245
- "list.js"
16265
+ "ticket",
16266
+ "messages",
16267
+ "create.js"
16246
16268
  ]
16247
16269
  },
16248
- "tags:recipients:add": {
16270
+ "ticket:messages:delete": {
16249
16271
  "aliases": [],
16250
16272
  "args": {
16251
- "tagId": {
16252
- "description": "Tag ID",
16253
- "name": "tagId",
16273
+ "ticketId": {
16274
+ "description": "Ticket ID",
16275
+ "name": "ticketId",
16276
+ "required": true
16277
+ },
16278
+ "messageId": {
16279
+ "description": "Message ID",
16280
+ "name": "messageId",
16254
16281
  "required": true
16255
16282
  }
16256
16283
  },
16257
- "description": "Assign a tag to recipients",
16284
+ "description": "Delete a ticket message",
16258
16285
  "flags": {
16259
16286
  "api-key": {
16260
16287
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16317,19 +16344,11 @@
16317
16344
  "hasDynamicHelp": false,
16318
16345
  "multiple": false,
16319
16346
  "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"
16328
16347
  }
16329
16348
  },
16330
16349
  "hasDynamicHelp": false,
16331
16350
  "hiddenAliases": [],
16332
- "id": "tags:recipients:add",
16351
+ "id": "ticket:messages:delete",
16333
16352
  "pluginAlias": "@instantkom/cli",
16334
16353
  "pluginName": "@instantkom/cli",
16335
16354
  "pluginType": "core",
@@ -16339,21 +16358,26 @@
16339
16358
  "relativePath": [
16340
16359
  "dist",
16341
16360
  "commands",
16342
- "tags",
16343
- "recipients",
16344
- "add.js"
16361
+ "ticket",
16362
+ "messages",
16363
+ "delete.js"
16345
16364
  ]
16346
16365
  },
16347
- "tags:recipients:remove": {
16366
+ "ticket:messages:get": {
16348
16367
  "aliases": [],
16349
16368
  "args": {
16350
- "tagId": {
16351
- "description": "Tag ID",
16352
- "name": "tagId",
16369
+ "ticketId": {
16370
+ "description": "Ticket ID",
16371
+ "name": "ticketId",
16372
+ "required": true
16373
+ },
16374
+ "messageId": {
16375
+ "description": "Message ID",
16376
+ "name": "messageId",
16353
16377
  "required": true
16354
16378
  }
16355
16379
  },
16356
- "description": "Remove a tag from recipients",
16380
+ "description": "Get a ticket message",
16357
16381
  "flags": {
16358
16382
  "api-key": {
16359
16383
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16416,19 +16440,11 @@
16416
16440
  "hasDynamicHelp": false,
16417
16441
  "multiple": false,
16418
16442
  "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"
16427
16443
  }
16428
16444
  },
16429
16445
  "hasDynamicHelp": false,
16430
16446
  "hiddenAliases": [],
16431
- "id": "tags:recipients:remove",
16447
+ "id": "ticket:messages:get",
16432
16448
  "pluginAlias": "@instantkom/cli",
16433
16449
  "pluginName": "@instantkom/cli",
16434
16450
  "pluginType": "core",
@@ -16438,21 +16454,21 @@
16438
16454
  "relativePath": [
16439
16455
  "dist",
16440
16456
  "commands",
16441
- "tags",
16442
- "recipients",
16443
- "remove.js"
16457
+ "ticket",
16458
+ "messages",
16459
+ "get.js"
16444
16460
  ]
16445
16461
  },
16446
- "tags:segments:list": {
16462
+ "ticket:messages:list": {
16447
16463
  "aliases": [],
16448
16464
  "args": {
16449
- "id": {
16450
- "description": "Tag ID",
16451
- "name": "id",
16465
+ "ticketId": {
16466
+ "description": "Ticket ID",
16467
+ "name": "ticketId",
16452
16468
  "required": true
16453
16469
  }
16454
16470
  },
16455
- "description": "List segments that use a specific tag",
16471
+ "description": "List ticket messages",
16456
16472
  "flags": {
16457
16473
  "api-key": {
16458
16474
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -16515,27 +16531,11 @@
16515
16531
  "hasDynamicHelp": false,
16516
16532
  "multiple": false,
16517
16533
  "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": "tags:segments:list",
16538
+ "id": "ticket:messages: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
- "tags",
16549
- "segments",
16548
+ "ticket",
16549
+ "messages",
16550
16550
  "list.js"
16551
16551
  ]
16552
16552
  },
@@ -17052,5 +17052,5 @@
17052
17052
  ]
17053
17053
  }
17054
17054
  },
17055
- "version": "3.180.0"
17055
+ "version": "3.182.0"
17056
17056
  }