@instantkom/cli 3.140.1 → 3.141.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.
@@ -953,10 +953,10 @@
953
953
  "update.js"
954
954
  ]
955
955
  },
956
- "ai:reply": {
956
+ "auth:login": {
957
957
  "aliases": [],
958
958
  "args": {},
959
- "description": "Generate AI reply suggestions for a message",
959
+ "description": "Authenticate with the instantKOM API via device authorization flow",
960
960
  "flags": {
961
961
  "api-key": {
962
962
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1020,46 +1020,24 @@
1020
1020
  "multiple": false,
1021
1021
  "type": "option"
1022
1022
  },
1023
- "message-id": {
1024
- "description": "Message ID to use as smart-reply anchor",
1025
- "name": "message-id",
1026
- "required": true,
1027
- "hasDynamicHelp": false,
1028
- "multiple": false,
1029
- "type": "option"
1030
- },
1031
- "limit": {
1032
- "description": "Number of suggestions to generate (1-5)",
1033
- "name": "limit",
1034
- "hasDynamicHelp": false,
1035
- "multiple": false,
1036
- "type": "option"
1037
- },
1038
- "context-length": {
1039
- "description": "Number of recent messages to use as context (1-20)",
1040
- "name": "context-length",
1041
- "hasDynamicHelp": false,
1042
- "multiple": false,
1043
- "type": "option"
1044
- },
1045
- "style": {
1046
- "description": "Response style",
1047
- "name": "style",
1023
+ "scope": {
1024
+ "description": "Requested token scope",
1025
+ "name": "scope",
1026
+ "default": "read",
1048
1027
  "hasDynamicHelp": false,
1049
1028
  "multiple": false,
1050
1029
  "options": [
1051
- "professional",
1052
- "friendly",
1053
- "concise",
1054
- "detailed",
1055
- "empathetic"
1030
+ "full",
1031
+ "send",
1032
+ "read",
1033
+ "admin"
1056
1034
  ],
1057
1035
  "type": "option"
1058
1036
  }
1059
1037
  },
1060
1038
  "hasDynamicHelp": false,
1061
1039
  "hiddenAliases": [],
1062
- "id": "ai:reply",
1040
+ "id": "auth:login",
1063
1041
  "pluginAlias": "@instantkom/cli",
1064
1042
  "pluginName": "@instantkom/cli",
1065
1043
  "pluginType": "core",
@@ -1069,14 +1047,14 @@
1069
1047
  "relativePath": [
1070
1048
  "dist",
1071
1049
  "commands",
1072
- "ai",
1073
- "reply.js"
1050
+ "auth",
1051
+ "login.js"
1074
1052
  ]
1075
1053
  },
1076
- "auth:login": {
1054
+ "auth:logout": {
1077
1055
  "aliases": [],
1078
1056
  "args": {},
1079
- "description": "Authenticate with the instantKOM API via device authorization flow",
1057
+ "description": "Remove the stored API token for the current profile",
1080
1058
  "flags": {
1081
1059
  "api-key": {
1082
1060
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1139,25 +1117,11 @@
1139
1117
  "hasDynamicHelp": false,
1140
1118
  "multiple": false,
1141
1119
  "type": "option"
1142
- },
1143
- "scope": {
1144
- "description": "Requested token scope",
1145
- "name": "scope",
1146
- "default": "read",
1147
- "hasDynamicHelp": false,
1148
- "multiple": false,
1149
- "options": [
1150
- "full",
1151
- "send",
1152
- "read",
1153
- "admin"
1154
- ],
1155
- "type": "option"
1156
1120
  }
1157
1121
  },
1158
1122
  "hasDynamicHelp": false,
1159
1123
  "hiddenAliases": [],
1160
- "id": "auth:login",
1124
+ "id": "auth:logout",
1161
1125
  "pluginAlias": "@instantkom/cli",
1162
1126
  "pluginName": "@instantkom/cli",
1163
1127
  "pluginType": "core",
@@ -1168,13 +1132,13 @@
1168
1132
  "dist",
1169
1133
  "commands",
1170
1134
  "auth",
1171
- "login.js"
1135
+ "logout.js"
1172
1136
  ]
1173
1137
  },
1174
- "auth:logout": {
1138
+ "ai:reply": {
1175
1139
  "aliases": [],
1176
1140
  "args": {},
1177
- "description": "Remove the stored API token for the current profile",
1141
+ "description": "Generate AI reply suggestions for a message",
1178
1142
  "flags": {
1179
1143
  "api-key": {
1180
1144
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1237,11 +1201,47 @@
1237
1201
  "hasDynamicHelp": false,
1238
1202
  "multiple": false,
1239
1203
  "type": "option"
1204
+ },
1205
+ "message-id": {
1206
+ "description": "Message ID to use as smart-reply anchor",
1207
+ "name": "message-id",
1208
+ "required": true,
1209
+ "hasDynamicHelp": false,
1210
+ "multiple": false,
1211
+ "type": "option"
1212
+ },
1213
+ "limit": {
1214
+ "description": "Number of suggestions to generate (1-5)",
1215
+ "name": "limit",
1216
+ "hasDynamicHelp": false,
1217
+ "multiple": false,
1218
+ "type": "option"
1219
+ },
1220
+ "context-length": {
1221
+ "description": "Number of recent messages to use as context (1-20)",
1222
+ "name": "context-length",
1223
+ "hasDynamicHelp": false,
1224
+ "multiple": false,
1225
+ "type": "option"
1226
+ },
1227
+ "style": {
1228
+ "description": "Response style",
1229
+ "name": "style",
1230
+ "hasDynamicHelp": false,
1231
+ "multiple": false,
1232
+ "options": [
1233
+ "professional",
1234
+ "friendly",
1235
+ "concise",
1236
+ "detailed",
1237
+ "empathetic"
1238
+ ],
1239
+ "type": "option"
1240
1240
  }
1241
1241
  },
1242
1242
  "hasDynamicHelp": false,
1243
1243
  "hiddenAliases": [],
1244
- "id": "auth:logout",
1244
+ "id": "ai:reply",
1245
1245
  "pluginAlias": "@instantkom/cli",
1246
1246
  "pluginName": "@instantkom/cli",
1247
1247
  "pluginType": "core",
@@ -1251,8 +1251,8 @@
1251
1251
  "relativePath": [
1252
1252
  "dist",
1253
1253
  "commands",
1254
- "auth",
1255
- "logout.js"
1254
+ "ai",
1255
+ "reply.js"
1256
1256
  ]
1257
1257
  },
1258
1258
  "autocomplete:script": {
@@ -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
- "tags:create": {
8452
+ "tags:get": {
8479
8453
  "aliases": [],
8480
- "args": {},
8481
- "description": "Create a tag",
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,47 +8521,11 @@
8541
8521
  "hasDynamicHelp": false,
8542
8522
  "multiple": false,
8543
8523
  "type": "option"
8544
- },
8545
- "name": {
8546
- "description": "Tag name",
8547
- "name": "name",
8548
- "required": true,
8549
- "hasDynamicHelp": false,
8550
- "multiple": false,
8551
- "type": "option"
8552
- },
8553
- "description": {
8554
- "description": "Tag description",
8555
- "name": "description",
8556
- "hasDynamicHelp": false,
8557
- "multiple": false,
8558
- "type": "option"
8559
- },
8560
- "color": {
8561
- "description": "Tag color as HEX",
8562
- "name": "color",
8563
- "hasDynamicHelp": false,
8564
- "multiple": false,
8565
- "type": "option"
8566
- },
8567
- "folder": {
8568
- "description": "Object folder ID",
8569
- "name": "folder",
8570
- "hasDynamicHelp": false,
8571
- "multiple": false,
8572
- "type": "option"
8573
- },
8574
- "data": {
8575
- "description": "Additional JSON object payload",
8576
- "name": "data",
8577
- "hasDynamicHelp": false,
8578
- "multiple": false,
8579
- "type": "option"
8580
8524
  }
8581
8525
  },
8582
8526
  "hasDynamicHelp": false,
8583
8527
  "hiddenAliases": [],
8584
- "id": "tags:create",
8528
+ "id": "tags:get",
8585
8529
  "pluginAlias": "@instantkom/cli",
8586
8530
  "pluginName": "@instantkom/cli",
8587
8531
  "pluginType": "core",
@@ -8592,19 +8536,13 @@
8592
8536
  "dist",
8593
8537
  "commands",
8594
8538
  "tags",
8595
- "create.js"
8539
+ "get.js"
8596
8540
  ]
8597
8541
  },
8598
- "tags:delete": {
8542
+ "tags:import": {
8599
8543
  "aliases": [],
8600
- "args": {
8601
- "id": {
8602
- "description": "tag ID",
8603
- "name": "id",
8604
- "required": true
8605
- }
8606
- },
8607
- "description": "Delete tag",
8544
+ "args": {},
8545
+ "description": "Import tags from JSON",
8608
8546
  "flags": {
8609
8547
  "api-key": {
8610
8548
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8667,11 +8605,25 @@
8667
8605
  "hasDynamicHelp": false,
8668
8606
  "multiple": false,
8669
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"
8670
8622
  }
8671
8623
  },
8672
8624
  "hasDynamicHelp": false,
8673
8625
  "hiddenAliases": [],
8674
- "id": "tags:delete",
8626
+ "id": "tags:import",
8675
8627
  "pluginAlias": "@instantkom/cli",
8676
8628
  "pluginName": "@instantkom/cli",
8677
8629
  "pluginType": "core",
@@ -8682,13 +8634,13 @@
8682
8634
  "dist",
8683
8635
  "commands",
8684
8636
  "tags",
8685
- "delete.js"
8637
+ "import.js"
8686
8638
  ]
8687
8639
  },
8688
- "tags:export": {
8640
+ "tags:list": {
8689
8641
  "aliases": [],
8690
8642
  "args": {},
8691
- "description": "Export tags to a file",
8643
+ "description": "List tags",
8692
8644
  "flags": {
8693
8645
  "api-key": {
8694
8646
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8700,14 +8652,17 @@
8700
8652
  "type": "option"
8701
8653
  },
8702
8654
  "format": {
8703
- "description": "Export format",
8655
+ "description": "Output format: text, json, yaml, or table",
8656
+ "helpGroup": "GLOBAL",
8704
8657
  "name": "format",
8705
- "default": "csv",
8658
+ "default": "text",
8706
8659
  "hasDynamicHelp": false,
8707
8660
  "multiple": false,
8708
8661
  "options": [
8709
- "csv",
8710
- "json"
8662
+ "text",
8663
+ "json",
8664
+ "yaml",
8665
+ "table"
8711
8666
  ],
8712
8667
  "type": "option"
8713
8668
  },
@@ -8749,10 +8704,32 @@
8749
8704
  "multiple": false,
8750
8705
  "type": "option"
8751
8706
  },
8752
- "file": {
8753
- "description": "Output file path",
8754
- "name": "file",
8755
- "required": true,
8707
+ "page": {
8708
+ "description": "Page number",
8709
+ "name": "page",
8710
+ "default": 1,
8711
+ "hasDynamicHelp": false,
8712
+ "multiple": false,
8713
+ "type": "option"
8714
+ },
8715
+ "limit": {
8716
+ "description": "Items per page",
8717
+ "name": "limit",
8718
+ "default": 20,
8719
+ "hasDynamicHelp": false,
8720
+ "multiple": false,
8721
+ "type": "option"
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",
8756
8733
  "hasDynamicHelp": false,
8757
8734
  "multiple": false,
8758
8735
  "type": "option"
@@ -8760,7 +8737,7 @@
8760
8737
  },
8761
8738
  "hasDynamicHelp": false,
8762
8739
  "hiddenAliases": [],
8763
- "id": "tags:export",
8740
+ "id": "tags:list",
8764
8741
  "pluginAlias": "@instantkom/cli",
8765
8742
  "pluginName": "@instantkom/cli",
8766
8743
  "pluginType": "core",
@@ -8771,19 +8748,19 @@
8771
8748
  "dist",
8772
8749
  "commands",
8773
8750
  "tags",
8774
- "export.js"
8751
+ "list.js"
8775
8752
  ]
8776
8753
  },
8777
- "tags:get": {
8754
+ "tags:update": {
8778
8755
  "aliases": [],
8779
8756
  "args": {
8780
8757
  "id": {
8781
- "description": "tag ID",
8758
+ "description": "Tag ID",
8782
8759
  "name": "id",
8783
8760
  "required": true
8784
8761
  }
8785
8762
  },
8786
- "description": "Get tag by ID",
8763
+ "description": "Update a tag",
8787
8764
  "flags": {
8788
8765
  "api-key": {
8789
8766
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8846,11 +8823,46 @@
8846
8823
  "hasDynamicHelp": false,
8847
8824
  "multiple": false,
8848
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"
8849
8861
  }
8850
8862
  },
8851
8863
  "hasDynamicHelp": false,
8852
8864
  "hiddenAliases": [],
8853
- "id": "tags:get",
8865
+ "id": "tags:update",
8854
8866
  "pluginAlias": "@instantkom/cli",
8855
8867
  "pluginName": "@instantkom/cli",
8856
8868
  "pluginType": "core",
@@ -8861,13 +8873,13 @@
8861
8873
  "dist",
8862
8874
  "commands",
8863
8875
  "tags",
8864
- "get.js"
8876
+ "update.js"
8865
8877
  ]
8866
8878
  },
8867
- "tags:import": {
8879
+ "tags:validate-import": {
8868
8880
  "aliases": [],
8869
8881
  "args": {},
8870
- "description": "Import tags from JSON",
8882
+ "description": "Validate tags import JSON",
8871
8883
  "flags": {
8872
8884
  "api-key": {
8873
8885
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -8938,17 +8950,11 @@
8938
8950
  "hasDynamicHelp": false,
8939
8951
  "multiple": false,
8940
8952
  "type": "option"
8941
- },
8942
- "skip-duplicates": {
8943
- "description": "Skip duplicate tags",
8944
- "name": "skip-duplicates",
8945
- "allowNo": true,
8946
- "type": "boolean"
8947
8953
  }
8948
8954
  },
8949
8955
  "hasDynamicHelp": false,
8950
8956
  "hiddenAliases": [],
8951
- "id": "tags:import",
8957
+ "id": "tags:validate-import",
8952
8958
  "pluginAlias": "@instantkom/cli",
8953
8959
  "pluginName": "@instantkom/cli",
8954
8960
  "pluginType": "core",
@@ -8959,13 +8965,13 @@
8959
8965
  "dist",
8960
8966
  "commands",
8961
8967
  "tags",
8962
- "import.js"
8968
+ "validate-import.js"
8963
8969
  ]
8964
8970
  },
8965
- "tags:list": {
8971
+ "templates:create": {
8966
8972
  "aliases": [],
8967
8973
  "args": {},
8968
- "description": "List tags",
8974
+ "description": "Create a message template",
8969
8975
  "flags": {
8970
8976
  "api-key": {
8971
8977
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9029,40 +9035,93 @@
9029
9035
  "multiple": false,
9030
9036
  "type": "option"
9031
9037
  },
9032
- "page": {
9033
- "description": "Page number",
9034
- "name": "page",
9035
- "default": 1,
9038
+ "channel": {
9039
+ "description": "Channel ID",
9040
+ "name": "channel",
9041
+ "required": true,
9036
9042
  "hasDynamicHelp": false,
9037
9043
  "multiple": false,
9038
9044
  "type": "option"
9039
9045
  },
9040
- "limit": {
9041
- "description": "Items per page",
9042
- "name": "limit",
9043
- "default": 20,
9046
+ "name": {
9047
+ "description": "Template name",
9048
+ "name": "name",
9049
+ "required": true,
9044
9050
  "hasDynamicHelp": false,
9045
9051
  "multiple": false,
9046
9052
  "type": "option"
9047
9053
  },
9048
- "search": {
9049
- "description": "Search by name",
9050
- "name": "search",
9054
+ "type": {
9055
+ "description": "Template type",
9056
+ "name": "type",
9057
+ "default": "text",
9058
+ "hasDynamicHelp": false,
9059
+ "multiple": false,
9060
+ "options": [
9061
+ "text",
9062
+ "image",
9063
+ "video",
9064
+ "document",
9065
+ "audio",
9066
+ "location",
9067
+ "contact",
9068
+ "interactive"
9069
+ ],
9070
+ "type": "option"
9071
+ },
9072
+ "message": {
9073
+ "description": "Template message",
9074
+ "name": "message",
9075
+ "required": true,
9051
9076
  "hasDynamicHelp": false,
9052
9077
  "multiple": false,
9053
9078
  "type": "option"
9054
9079
  },
9055
9080
  "color": {
9056
- "description": "Filter by color",
9081
+ "description": "Template color as HEX",
9057
9082
  "name": "color",
9058
9083
  "hasDynamicHelp": false,
9059
9084
  "multiple": false,
9060
9085
  "type": "option"
9086
+ },
9087
+ "status": {
9088
+ "description": "Template is active",
9089
+ "name": "status",
9090
+ "allowNo": true,
9091
+ "type": "boolean"
9092
+ },
9093
+ "whatsapp-language": {
9094
+ "description": "WhatsApp template language",
9095
+ "name": "whatsapp-language",
9096
+ "hasDynamicHelp": false,
9097
+ "multiple": false,
9098
+ "type": "option"
9099
+ },
9100
+ "buttons": {
9101
+ "description": "Buttons JSON array/object",
9102
+ "name": "buttons",
9103
+ "hasDynamicHelp": false,
9104
+ "multiple": false,
9105
+ "type": "option"
9106
+ },
9107
+ "header-footer": {
9108
+ "description": "Header/footer JSON object",
9109
+ "name": "header-footer",
9110
+ "hasDynamicHelp": false,
9111
+ "multiple": false,
9112
+ "type": "option"
9113
+ },
9114
+ "data": {
9115
+ "description": "Additional JSON object payload",
9116
+ "name": "data",
9117
+ "hasDynamicHelp": false,
9118
+ "multiple": false,
9119
+ "type": "option"
9061
9120
  }
9062
9121
  },
9063
9122
  "hasDynamicHelp": false,
9064
9123
  "hiddenAliases": [],
9065
- "id": "tags:list",
9124
+ "id": "templates:create",
9066
9125
  "pluginAlias": "@instantkom/cli",
9067
9126
  "pluginName": "@instantkom/cli",
9068
9127
  "pluginType": "core",
@@ -9072,20 +9131,20 @@
9072
9131
  "relativePath": [
9073
9132
  "dist",
9074
9133
  "commands",
9075
- "tags",
9076
- "list.js"
9134
+ "templates",
9135
+ "create.js"
9077
9136
  ]
9078
9137
  },
9079
- "tags:update": {
9138
+ "templates:delete": {
9080
9139
  "aliases": [],
9081
9140
  "args": {
9082
9141
  "id": {
9083
- "description": "Tag ID",
9142
+ "description": "template ID",
9084
9143
  "name": "id",
9085
9144
  "required": true
9086
9145
  }
9087
9146
  },
9088
- "description": "Update a tag",
9147
+ "description": "Delete template",
9089
9148
  "flags": {
9090
9149
  "api-key": {
9091
9150
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9148,46 +9207,11 @@
9148
9207
  "hasDynamicHelp": false,
9149
9208
  "multiple": false,
9150
9209
  "type": "option"
9151
- },
9152
- "name": {
9153
- "description": "Tag name",
9154
- "name": "name",
9155
- "hasDynamicHelp": false,
9156
- "multiple": false,
9157
- "type": "option"
9158
- },
9159
- "description": {
9160
- "description": "Tag description",
9161
- "name": "description",
9162
- "hasDynamicHelp": false,
9163
- "multiple": false,
9164
- "type": "option"
9165
- },
9166
- "color": {
9167
- "description": "Tag color as HEX",
9168
- "name": "color",
9169
- "hasDynamicHelp": false,
9170
- "multiple": false,
9171
- "type": "option"
9172
- },
9173
- "folder": {
9174
- "description": "Object folder ID",
9175
- "name": "folder",
9176
- "hasDynamicHelp": false,
9177
- "multiple": false,
9178
- "type": "option"
9179
- },
9180
- "data": {
9181
- "description": "Additional JSON object payload",
9182
- "name": "data",
9183
- "hasDynamicHelp": false,
9184
- "multiple": false,
9185
- "type": "option"
9186
9210
  }
9187
9211
  },
9188
9212
  "hasDynamicHelp": false,
9189
9213
  "hiddenAliases": [],
9190
- "id": "tags:update",
9214
+ "id": "templates:delete",
9191
9215
  "pluginAlias": "@instantkom/cli",
9192
9216
  "pluginName": "@instantkom/cli",
9193
9217
  "pluginType": "core",
@@ -9197,14 +9221,14 @@
9197
9221
  "relativePath": [
9198
9222
  "dist",
9199
9223
  "commands",
9200
- "tags",
9201
- "update.js"
9224
+ "templates",
9225
+ "delete.js"
9202
9226
  ]
9203
9227
  },
9204
- "tags:validate-import": {
9228
+ "templates:export": {
9205
9229
  "aliases": [],
9206
9230
  "args": {},
9207
- "description": "Validate tags import JSON",
9231
+ "description": "Export templates to a file",
9208
9232
  "flags": {
9209
9233
  "api-key": {
9210
9234
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9216,17 +9240,14 @@
9216
9240
  "type": "option"
9217
9241
  },
9218
9242
  "format": {
9219
- "description": "Output format: text, json, yaml, or table",
9220
- "helpGroup": "GLOBAL",
9243
+ "description": "Export format",
9221
9244
  "name": "format",
9222
- "default": "text",
9245
+ "default": "json",
9223
9246
  "hasDynamicHelp": false,
9224
9247
  "multiple": false,
9225
9248
  "options": [
9226
- "text",
9227
- "json",
9228
- "yaml",
9229
- "table"
9249
+ "csv",
9250
+ "json"
9230
9251
  ],
9231
9252
  "type": "option"
9232
9253
  },
@@ -9269,17 +9290,24 @@
9269
9290
  "type": "option"
9270
9291
  },
9271
9292
  "file": {
9272
- "description": "JSON file path",
9293
+ "description": "Output file path",
9273
9294
  "name": "file",
9274
9295
  "required": true,
9275
9296
  "hasDynamicHelp": false,
9276
9297
  "multiple": false,
9277
9298
  "type": "option"
9299
+ },
9300
+ "channel": {
9301
+ "description": "Filter by channel ID",
9302
+ "name": "channel",
9303
+ "hasDynamicHelp": false,
9304
+ "multiple": false,
9305
+ "type": "option"
9278
9306
  }
9279
9307
  },
9280
9308
  "hasDynamicHelp": false,
9281
9309
  "hiddenAliases": [],
9282
- "id": "tags:validate-import",
9310
+ "id": "templates:export",
9283
9311
  "pluginAlias": "@instantkom/cli",
9284
9312
  "pluginName": "@instantkom/cli",
9285
9313
  "pluginType": "core",
@@ -9289,14 +9317,20 @@
9289
9317
  "relativePath": [
9290
9318
  "dist",
9291
9319
  "commands",
9292
- "tags",
9293
- "validate-import.js"
9320
+ "templates",
9321
+ "export.js"
9294
9322
  ]
9295
9323
  },
9296
- "tickets:create": {
9324
+ "templates:get": {
9297
9325
  "aliases": [],
9298
- "args": {},
9299
- "description": "Create a ticket",
9326
+ "args": {
9327
+ "id": {
9328
+ "description": "Template ID",
9329
+ "name": "id",
9330
+ "required": true
9331
+ }
9332
+ },
9333
+ "description": "Get a message template by ID",
9300
9334
  "flags": {
9301
9335
  "api-key": {
9302
9336
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9359,69 +9393,11 @@
9359
9393
  "hasDynamicHelp": false,
9360
9394
  "multiple": false,
9361
9395
  "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
- "subject": {
9372
- "description": "Ticket subject",
9373
- "name": "subject",
9374
- "required": true,
9375
- "hasDynamicHelp": false,
9376
- "multiple": false,
9377
- "type": "option"
9378
- },
9379
- "recipient": {
9380
- "description": "Existing recipient ID",
9381
- "name": "recipient",
9382
- "hasDynamicHelp": false,
9383
- "multiple": false,
9384
- "type": "option"
9385
- },
9386
- "email": {
9387
- "description": "Customer email",
9388
- "name": "email",
9389
- "hasDynamicHelp": false,
9390
- "multiple": false,
9391
- "type": "option"
9392
- },
9393
- "name": {
9394
- "description": "Customer name",
9395
- "name": "name",
9396
- "hasDynamicHelp": false,
9397
- "multiple": false,
9398
- "type": "option"
9399
- },
9400
- "priority": {
9401
- "description": "Ticket priority",
9402
- "name": "priority",
9403
- "hasDynamicHelp": false,
9404
- "multiple": false,
9405
- "type": "option"
9406
- },
9407
- "source": {
9408
- "description": "Ticket source",
9409
- "name": "source",
9410
- "hasDynamicHelp": false,
9411
- "multiple": false,
9412
- "type": "option"
9413
- },
9414
- "data": {
9415
- "description": "Additional JSON object payload",
9416
- "name": "data",
9417
- "hasDynamicHelp": false,
9418
- "multiple": false,
9419
- "type": "option"
9420
9396
  }
9421
9397
  },
9422
9398
  "hasDynamicHelp": false,
9423
9399
  "hiddenAliases": [],
9424
- "id": "tickets:create",
9400
+ "id": "templates:get",
9425
9401
  "pluginAlias": "@instantkom/cli",
9426
9402
  "pluginName": "@instantkom/cli",
9427
9403
  "pluginType": "core",
@@ -9431,20 +9407,14 @@
9431
9407
  "relativePath": [
9432
9408
  "dist",
9433
9409
  "commands",
9434
- "tickets",
9435
- "create.js"
9410
+ "templates",
9411
+ "get.js"
9436
9412
  ]
9437
9413
  },
9438
- "tickets:delete": {
9414
+ "templates:import": {
9439
9415
  "aliases": [],
9440
- "args": {
9441
- "id": {
9442
- "description": "Ticket ID",
9443
- "name": "id",
9444
- "required": true
9445
- }
9446
- },
9447
- "description": "Delete a ticket",
9416
+ "args": {},
9417
+ "description": "Import templates from JSON",
9448
9418
  "flags": {
9449
9419
  "api-key": {
9450
9420
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9508,18 +9478,32 @@
9508
9478
  "multiple": false,
9509
9479
  "type": "option"
9510
9480
  },
9481
+ "file": {
9482
+ "description": "JSON file path",
9483
+ "name": "file",
9484
+ "required": true,
9485
+ "hasDynamicHelp": false,
9486
+ "multiple": false,
9487
+ "type": "option"
9488
+ },
9511
9489
  "channel": {
9512
- "description": "Channel ID",
9490
+ "description": "Target channel ID",
9513
9491
  "name": "channel",
9514
9492
  "required": true,
9515
9493
  "hasDynamicHelp": false,
9516
9494
  "multiple": false,
9517
9495
  "type": "option"
9496
+ },
9497
+ "skip-duplicates": {
9498
+ "description": "Skip duplicate templates",
9499
+ "name": "skip-duplicates",
9500
+ "allowNo": true,
9501
+ "type": "boolean"
9518
9502
  }
9519
9503
  },
9520
9504
  "hasDynamicHelp": false,
9521
9505
  "hiddenAliases": [],
9522
- "id": "tickets:delete",
9506
+ "id": "templates:import",
9523
9507
  "pluginAlias": "@instantkom/cli",
9524
9508
  "pluginName": "@instantkom/cli",
9525
9509
  "pluginType": "core",
@@ -9529,20 +9513,14 @@
9529
9513
  "relativePath": [
9530
9514
  "dist",
9531
9515
  "commands",
9532
- "tickets",
9533
- "delete.js"
9516
+ "templates",
9517
+ "import.js"
9534
9518
  ]
9535
9519
  },
9536
- "tickets:get": {
9520
+ "templates:list": {
9537
9521
  "aliases": [],
9538
- "args": {
9539
- "id": {
9540
- "description": "Ticket ID",
9541
- "name": "id",
9542
- "required": true
9543
- }
9544
- },
9545
- "description": "Get a ticket by ID",
9522
+ "args": {},
9523
+ "description": "List message templates",
9546
9524
  "flags": {
9547
9525
  "api-key": {
9548
9526
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9607,9 +9585,31 @@
9607
9585
  "type": "option"
9608
9586
  },
9609
9587
  "channel": {
9610
- "description": "Channel ID",
9588
+ "description": "Filter by channel ID",
9611
9589
  "name": "channel",
9612
- "required": true,
9590
+ "hasDynamicHelp": false,
9591
+ "multiple": false,
9592
+ "type": "option"
9593
+ },
9594
+ "search": {
9595
+ "description": "Search templates by name or content",
9596
+ "name": "search",
9597
+ "hasDynamicHelp": false,
9598
+ "multiple": false,
9599
+ "type": "option"
9600
+ },
9601
+ "page": {
9602
+ "description": "Page number",
9603
+ "name": "page",
9604
+ "default": 1,
9605
+ "hasDynamicHelp": false,
9606
+ "multiple": false,
9607
+ "type": "option"
9608
+ },
9609
+ "limit": {
9610
+ "description": "Items per page",
9611
+ "name": "limit",
9612
+ "default": 20,
9613
9613
  "hasDynamicHelp": false,
9614
9614
  "multiple": false,
9615
9615
  "type": "option"
@@ -9617,7 +9617,7 @@
9617
9617
  },
9618
9618
  "hasDynamicHelp": false,
9619
9619
  "hiddenAliases": [],
9620
- "id": "tickets:get",
9620
+ "id": "templates:list",
9621
9621
  "pluginAlias": "@instantkom/cli",
9622
9622
  "pluginName": "@instantkom/cli",
9623
9623
  "pluginType": "core",
@@ -9627,14 +9627,20 @@
9627
9627
  "relativePath": [
9628
9628
  "dist",
9629
9629
  "commands",
9630
- "tickets",
9631
- "get.js"
9630
+ "templates",
9631
+ "list.js"
9632
9632
  ]
9633
9633
  },
9634
- "tickets:list": {
9634
+ "templates:render": {
9635
9635
  "aliases": [],
9636
- "args": {},
9637
- "description": "List tickets for a channel",
9636
+ "args": {
9637
+ "id": {
9638
+ "description": "Template ID",
9639
+ "name": "id",
9640
+ "required": true
9641
+ }
9642
+ },
9643
+ "description": "Render a message template locally",
9638
9644
  "flags": {
9639
9645
  "api-key": {
9640
9646
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9698,34 +9704,17 @@
9698
9704
  "multiple": false,
9699
9705
  "type": "option"
9700
9706
  },
9701
- "channel": {
9702
- "description": "Channel ID",
9703
- "name": "channel",
9704
- "required": true,
9705
- "hasDynamicHelp": false,
9706
- "multiple": false,
9707
- "type": "option"
9708
- },
9709
- "limit": {
9710
- "description": "Maximum tickets to return",
9711
- "name": "limit",
9712
- "default": 500,
9713
- "hasDynamicHelp": false,
9714
- "multiple": false,
9715
- "type": "option"
9716
- },
9717
- "offset": {
9718
- "description": "Number of tickets to skip",
9719
- "name": "offset",
9720
- "default": 0,
9707
+ "vars": {
9708
+ "description": "Template variable as key=value; may be repeated",
9709
+ "name": "vars",
9721
9710
  "hasDynamicHelp": false,
9722
- "multiple": false,
9711
+ "multiple": true,
9723
9712
  "type": "option"
9724
9713
  }
9725
9714
  },
9726
9715
  "hasDynamicHelp": false,
9727
9716
  "hiddenAliases": [],
9728
- "id": "tickets:list",
9717
+ "id": "templates:render",
9729
9718
  "pluginAlias": "@instantkom/cli",
9730
9719
  "pluginName": "@instantkom/cli",
9731
9720
  "pluginType": "core",
@@ -9735,20 +9724,20 @@
9735
9724
  "relativePath": [
9736
9725
  "dist",
9737
9726
  "commands",
9738
- "tickets",
9739
- "list.js"
9727
+ "templates",
9728
+ "render.js"
9740
9729
  ]
9741
9730
  },
9742
- "tickets:reply": {
9731
+ "templates:update": {
9743
9732
  "aliases": [],
9744
9733
  "args": {
9745
9734
  "id": {
9746
- "description": "Ticket ID",
9735
+ "description": "Template ID",
9747
9736
  "name": "id",
9748
9737
  "required": true
9749
9738
  }
9750
9739
  },
9751
- "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.",
9740
+ "description": "Update a message template",
9752
9741
  "flags": {
9753
9742
  "api-key": {
9754
9743
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9812,24 +9801,88 @@
9812
9801
  "multiple": false,
9813
9802
  "type": "option"
9814
9803
  },
9815
- "message": {
9816
- "description": "Reply body (raw text, no salutation or sign-off)",
9817
- "name": "message",
9818
- "required": true,
9804
+ "name": {
9805
+ "description": "Template name",
9806
+ "name": "name",
9819
9807
  "hasDynamicHelp": false,
9820
9808
  "multiple": false,
9821
9809
  "type": "option"
9822
9810
  },
9823
- "close": {
9824
- "description": "Close the ticket after sending the reply",
9825
- "name": "close",
9811
+ "type": {
9812
+ "description": "Template type",
9813
+ "name": "type",
9814
+ "hasDynamicHelp": false,
9815
+ "multiple": false,
9816
+ "options": [
9817
+ "text",
9818
+ "image",
9819
+ "video",
9820
+ "document",
9821
+ "audio",
9822
+ "location",
9823
+ "contact",
9824
+ "interactive"
9825
+ ],
9826
+ "type": "option"
9827
+ },
9828
+ "message": {
9829
+ "description": "Template message",
9830
+ "name": "message",
9831
+ "hasDynamicHelp": false,
9832
+ "multiple": false,
9833
+ "type": "option"
9834
+ },
9835
+ "color": {
9836
+ "description": "Template color as HEX",
9837
+ "name": "color",
9838
+ "hasDynamicHelp": false,
9839
+ "multiple": false,
9840
+ "type": "option"
9841
+ },
9842
+ "status": {
9843
+ "description": "Template is active",
9844
+ "name": "status",
9845
+ "allowNo": true,
9846
+ "type": "boolean"
9847
+ },
9848
+ "remove-media": {
9849
+ "description": "Remove existing media",
9850
+ "name": "remove-media",
9826
9851
  "allowNo": false,
9827
9852
  "type": "boolean"
9853
+ },
9854
+ "whatsapp-language": {
9855
+ "description": "WhatsApp template language",
9856
+ "name": "whatsapp-language",
9857
+ "hasDynamicHelp": false,
9858
+ "multiple": false,
9859
+ "type": "option"
9860
+ },
9861
+ "buttons": {
9862
+ "description": "Buttons JSON array/object",
9863
+ "name": "buttons",
9864
+ "hasDynamicHelp": false,
9865
+ "multiple": false,
9866
+ "type": "option"
9867
+ },
9868
+ "header-footer": {
9869
+ "description": "Header/footer JSON object",
9870
+ "name": "header-footer",
9871
+ "hasDynamicHelp": false,
9872
+ "multiple": false,
9873
+ "type": "option"
9874
+ },
9875
+ "data": {
9876
+ "description": "Additional JSON object payload",
9877
+ "name": "data",
9878
+ "hasDynamicHelp": false,
9879
+ "multiple": false,
9880
+ "type": "option"
9828
9881
  }
9829
9882
  },
9830
9883
  "hasDynamicHelp": false,
9831
9884
  "hiddenAliases": [],
9832
- "id": "tickets:reply",
9885
+ "id": "templates:update",
9833
9886
  "pluginAlias": "@instantkom/cli",
9834
9887
  "pluginName": "@instantkom/cli",
9835
9888
  "pluginType": "core",
@@ -9839,20 +9892,14 @@
9839
9892
  "relativePath": [
9840
9893
  "dist",
9841
9894
  "commands",
9842
- "tickets",
9843
- "reply.js"
9895
+ "templates",
9896
+ "update.js"
9844
9897
  ]
9845
9898
  },
9846
- "tickets:update": {
9899
+ "templates:validate-import": {
9847
9900
  "aliases": [],
9848
- "args": {
9849
- "id": {
9850
- "description": "Ticket ID",
9851
- "name": "id",
9852
- "required": true
9853
- }
9854
- },
9855
- "description": "Update a ticket",
9901
+ "args": {},
9902
+ "description": "Validate templates import JSON",
9856
9903
  "flags": {
9857
9904
  "api-key": {
9858
9905
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9916,51 +9963,18 @@
9916
9963
  "multiple": false,
9917
9964
  "type": "option"
9918
9965
  },
9919
- "channel": {
9920
- "description": "Channel ID",
9921
- "name": "channel",
9966
+ "file": {
9967
+ "description": "JSON file path",
9968
+ "name": "file",
9922
9969
  "required": true,
9923
9970
  "hasDynamicHelp": false,
9924
9971
  "multiple": false,
9925
9972
  "type": "option"
9926
9973
  },
9927
- "subject": {
9928
- "description": "Ticket subject",
9929
- "name": "subject",
9930
- "hasDynamicHelp": false,
9931
- "multiple": false,
9932
- "type": "option"
9933
- },
9934
- "priority": {
9935
- "description": "Ticket priority",
9936
- "name": "priority",
9937
- "hasDynamicHelp": false,
9938
- "multiple": false,
9939
- "type": "option"
9940
- },
9941
- "status": {
9942
- "description": "Ticket status",
9943
- "name": "status",
9944
- "hasDynamicHelp": false,
9945
- "multiple": false,
9946
- "type": "option"
9947
- },
9948
- "assigned-to": {
9949
- "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
9950
- "name": "assigned-to",
9951
- "hasDynamicHelp": false,
9952
- "multiple": false,
9953
- "type": "option"
9954
- },
9955
- "notify": {
9956
- "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.",
9957
- "name": "notify",
9958
- "allowNo": true,
9959
- "type": "boolean"
9960
- },
9961
- "data": {
9962
- "description": "Additional JSON object payload",
9963
- "name": "data",
9974
+ "channel": {
9975
+ "description": "Target channel ID",
9976
+ "name": "channel",
9977
+ "required": true,
9964
9978
  "hasDynamicHelp": false,
9965
9979
  "multiple": false,
9966
9980
  "type": "option"
@@ -9968,7 +9982,7 @@
9968
9982
  },
9969
9983
  "hasDynamicHelp": false,
9970
9984
  "hiddenAliases": [],
9971
- "id": "tickets:update",
9985
+ "id": "templates:validate-import",
9972
9986
  "pluginAlias": "@instantkom/cli",
9973
9987
  "pluginName": "@instantkom/cli",
9974
9988
  "pluginType": "core",
@@ -9978,14 +9992,14 @@
9978
9992
  "relativePath": [
9979
9993
  "dist",
9980
9994
  "commands",
9981
- "tickets",
9982
- "update.js"
9995
+ "templates",
9996
+ "validate-import.js"
9983
9997
  ]
9984
9998
  },
9985
- "templates:create": {
9999
+ "team:create": {
9986
10000
  "aliases": [],
9987
10001
  "args": {},
9988
- "description": "Create a message template",
10002
+ "description": "Create a team member",
9989
10003
  "flags": {
9990
10004
  "api-key": {
9991
10005
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10049,78 +10063,62 @@
10049
10063
  "multiple": false,
10050
10064
  "type": "option"
10051
10065
  },
10052
- "channel": {
10053
- "description": "Channel ID",
10054
- "name": "channel",
10066
+ "email": {
10067
+ "description": "Email address",
10068
+ "name": "email",
10055
10069
  "required": true,
10056
10070
  "hasDynamicHelp": false,
10057
10071
  "multiple": false,
10058
10072
  "type": "option"
10059
10073
  },
10060
- "name": {
10061
- "description": "Template name",
10062
- "name": "name",
10074
+ "first-name": {
10075
+ "description": "First name",
10076
+ "name": "first-name",
10063
10077
  "required": true,
10064
10078
  "hasDynamicHelp": false,
10065
10079
  "multiple": false,
10066
10080
  "type": "option"
10067
10081
  },
10068
- "type": {
10069
- "description": "Template type",
10070
- "name": "type",
10071
- "default": "text",
10082
+ "last-name": {
10083
+ "description": "Last name",
10084
+ "name": "last-name",
10085
+ "required": true,
10072
10086
  "hasDynamicHelp": false,
10073
10087
  "multiple": false,
10074
- "options": [
10075
- "text",
10076
- "image",
10077
- "video",
10078
- "document",
10079
- "audio",
10080
- "location",
10081
- "contact",
10082
- "interactive"
10083
- ],
10084
10088
  "type": "option"
10085
10089
  },
10086
- "message": {
10087
- "description": "Template message",
10088
- "name": "message",
10090
+ "password": {
10091
+ "description": "Initial password",
10092
+ "name": "password",
10089
10093
  "required": true,
10090
10094
  "hasDynamicHelp": false,
10091
10095
  "multiple": false,
10092
10096
  "type": "option"
10093
10097
  },
10094
- "color": {
10095
- "description": "Template color as HEX",
10096
- "name": "color",
10098
+ "phone": {
10099
+ "description": "Phone number",
10100
+ "name": "phone",
10097
10101
  "hasDynamicHelp": false,
10098
10102
  "multiple": false,
10099
10103
  "type": "option"
10100
10104
  },
10101
- "status": {
10102
- "description": "Template is active",
10103
- "name": "status",
10104
- "allowNo": true,
10105
- "type": "boolean"
10106
- },
10107
- "whatsapp-language": {
10108
- "description": "WhatsApp template language",
10109
- "name": "whatsapp-language",
10105
+ "company": {
10106
+ "description": "Company name",
10107
+ "name": "company",
10110
10108
  "hasDynamicHelp": false,
10111
10109
  "multiple": false,
10112
10110
  "type": "option"
10113
10111
  },
10114
- "buttons": {
10115
- "description": "Buttons JSON array/object",
10116
- "name": "buttons",
10112
+ "color": {
10113
+ "description": "Color as HEX",
10114
+ "name": "color",
10117
10115
  "hasDynamicHelp": false,
10118
10116
  "multiple": false,
10119
10117
  "type": "option"
10120
10118
  },
10121
- "header-footer": {
10122
- "description": "Header/footer JSON object",
10123
- "name": "header-footer",
10119
+ "folder": {
10120
+ "description": "Object folder ID",
10121
+ "name": "folder",
10124
10122
  "hasDynamicHelp": false,
10125
10123
  "multiple": false,
10126
10124
  "type": "option"
@@ -10135,7 +10133,7 @@
10135
10133
  },
10136
10134
  "hasDynamicHelp": false,
10137
10135
  "hiddenAliases": [],
10138
- "id": "templates:create",
10136
+ "id": "team:create",
10139
10137
  "pluginAlias": "@instantkom/cli",
10140
10138
  "pluginName": "@instantkom/cli",
10141
10139
  "pluginType": "core",
@@ -10145,20 +10143,20 @@
10145
10143
  "relativePath": [
10146
10144
  "dist",
10147
10145
  "commands",
10148
- "templates",
10146
+ "team",
10149
10147
  "create.js"
10150
10148
  ]
10151
10149
  },
10152
- "templates:delete": {
10150
+ "team:delete": {
10153
10151
  "aliases": [],
10154
10152
  "args": {
10155
10153
  "id": {
10156
- "description": "template ID",
10154
+ "description": "Team member ID",
10157
10155
  "name": "id",
10158
10156
  "required": true
10159
10157
  }
10160
10158
  },
10161
- "description": "Delete template",
10159
+ "description": "Delete a team member",
10162
10160
  "flags": {
10163
10161
  "api-key": {
10164
10162
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10225,7 +10223,7 @@
10225
10223
  },
10226
10224
  "hasDynamicHelp": false,
10227
10225
  "hiddenAliases": [],
10228
- "id": "templates:delete",
10226
+ "id": "team:delete",
10229
10227
  "pluginAlias": "@instantkom/cli",
10230
10228
  "pluginName": "@instantkom/cli",
10231
10229
  "pluginType": "core",
@@ -10235,14 +10233,14 @@
10235
10233
  "relativePath": [
10236
10234
  "dist",
10237
10235
  "commands",
10238
- "templates",
10236
+ "team",
10239
10237
  "delete.js"
10240
10238
  ]
10241
10239
  },
10242
- "templates:export": {
10240
+ "team:list": {
10243
10241
  "aliases": [],
10244
10242
  "args": {},
10245
- "description": "Export templates to a file",
10243
+ "description": "List team members",
10246
10244
  "flags": {
10247
10245
  "api-key": {
10248
10246
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10254,14 +10252,17 @@
10254
10252
  "type": "option"
10255
10253
  },
10256
10254
  "format": {
10257
- "description": "Export format",
10255
+ "description": "Output format: text, json, yaml, or table",
10256
+ "helpGroup": "GLOBAL",
10258
10257
  "name": "format",
10259
- "default": "json",
10258
+ "default": "text",
10260
10259
  "hasDynamicHelp": false,
10261
10260
  "multiple": false,
10262
10261
  "options": [
10263
- "csv",
10264
- "json"
10262
+ "text",
10263
+ "json",
10264
+ "yaml",
10265
+ "table"
10265
10266
  ],
10266
10267
  "type": "option"
10267
10268
  },
@@ -10302,26 +10303,11 @@
10302
10303
  "hasDynamicHelp": false,
10303
10304
  "multiple": false,
10304
10305
  "type": "option"
10305
- },
10306
- "file": {
10307
- "description": "Output file path",
10308
- "name": "file",
10309
- "required": true,
10310
- "hasDynamicHelp": false,
10311
- "multiple": false,
10312
- "type": "option"
10313
- },
10314
- "channel": {
10315
- "description": "Filter by channel ID",
10316
- "name": "channel",
10317
- "hasDynamicHelp": false,
10318
- "multiple": false,
10319
- "type": "option"
10320
10306
  }
10321
10307
  },
10322
10308
  "hasDynamicHelp": false,
10323
10309
  "hiddenAliases": [],
10324
- "id": "templates:export",
10310
+ "id": "team:list",
10325
10311
  "pluginAlias": "@instantkom/cli",
10326
10312
  "pluginName": "@instantkom/cli",
10327
10313
  "pluginType": "core",
@@ -10331,20 +10317,14 @@
10331
10317
  "relativePath": [
10332
10318
  "dist",
10333
10319
  "commands",
10334
- "templates",
10335
- "export.js"
10320
+ "team",
10321
+ "list.js"
10336
10322
  ]
10337
10323
  },
10338
- "templates:get": {
10324
+ "tickets:create": {
10339
10325
  "aliases": [],
10340
- "args": {
10341
- "id": {
10342
- "description": "Template ID",
10343
- "name": "id",
10344
- "required": true
10345
- }
10346
- },
10347
- "description": "Get a message template by ID",
10326
+ "args": {},
10327
+ "description": "Create a ticket",
10348
10328
  "flags": {
10349
10329
  "api-key": {
10350
10330
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10407,11 +10387,69 @@
10407
10387
  "hasDynamicHelp": false,
10408
10388
  "multiple": false,
10409
10389
  "type": "option"
10390
+ },
10391
+ "channel": {
10392
+ "description": "Channel ID",
10393
+ "name": "channel",
10394
+ "required": true,
10395
+ "hasDynamicHelp": false,
10396
+ "multiple": false,
10397
+ "type": "option"
10398
+ },
10399
+ "subject": {
10400
+ "description": "Ticket subject",
10401
+ "name": "subject",
10402
+ "required": true,
10403
+ "hasDynamicHelp": false,
10404
+ "multiple": false,
10405
+ "type": "option"
10406
+ },
10407
+ "recipient": {
10408
+ "description": "Existing recipient ID",
10409
+ "name": "recipient",
10410
+ "hasDynamicHelp": false,
10411
+ "multiple": false,
10412
+ "type": "option"
10413
+ },
10414
+ "email": {
10415
+ "description": "Customer email",
10416
+ "name": "email",
10417
+ "hasDynamicHelp": false,
10418
+ "multiple": false,
10419
+ "type": "option"
10420
+ },
10421
+ "name": {
10422
+ "description": "Customer name",
10423
+ "name": "name",
10424
+ "hasDynamicHelp": false,
10425
+ "multiple": false,
10426
+ "type": "option"
10427
+ },
10428
+ "priority": {
10429
+ "description": "Ticket priority",
10430
+ "name": "priority",
10431
+ "hasDynamicHelp": false,
10432
+ "multiple": false,
10433
+ "type": "option"
10434
+ },
10435
+ "source": {
10436
+ "description": "Ticket source",
10437
+ "name": "source",
10438
+ "hasDynamicHelp": false,
10439
+ "multiple": false,
10440
+ "type": "option"
10441
+ },
10442
+ "data": {
10443
+ "description": "Additional JSON object payload",
10444
+ "name": "data",
10445
+ "hasDynamicHelp": false,
10446
+ "multiple": false,
10447
+ "type": "option"
10410
10448
  }
10411
10449
  },
10412
10450
  "hasDynamicHelp": false,
10413
10451
  "hiddenAliases": [],
10414
- "id": "templates:get",
10452
+ "id": "tickets:create",
10415
10453
  "pluginAlias": "@instantkom/cli",
10416
10454
  "pluginName": "@instantkom/cli",
10417
10455
  "pluginType": "core",
@@ -10421,14 +10459,20 @@
10421
10459
  "relativePath": [
10422
10460
  "dist",
10423
10461
  "commands",
10424
- "templates",
10425
- "get.js"
10462
+ "tickets",
10463
+ "create.js"
10426
10464
  ]
10427
10465
  },
10428
- "templates:import": {
10466
+ "tickets:delete": {
10429
10467
  "aliases": [],
10430
- "args": {},
10431
- "description": "Import templates from JSON",
10468
+ "args": {
10469
+ "id": {
10470
+ "description": "Ticket ID",
10471
+ "name": "id",
10472
+ "required": true
10473
+ }
10474
+ },
10475
+ "description": "Delete a ticket",
10432
10476
  "flags": {
10433
10477
  "api-key": {
10434
10478
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10492,32 +10536,18 @@
10492
10536
  "multiple": false,
10493
10537
  "type": "option"
10494
10538
  },
10495
- "file": {
10496
- "description": "JSON file path",
10497
- "name": "file",
10498
- "required": true,
10499
- "hasDynamicHelp": false,
10500
- "multiple": false,
10501
- "type": "option"
10502
- },
10503
10539
  "channel": {
10504
- "description": "Target channel ID",
10540
+ "description": "Channel ID",
10505
10541
  "name": "channel",
10506
10542
  "required": true,
10507
10543
  "hasDynamicHelp": false,
10508
10544
  "multiple": false,
10509
10545
  "type": "option"
10510
- },
10511
- "skip-duplicates": {
10512
- "description": "Skip duplicate templates",
10513
- "name": "skip-duplicates",
10514
- "allowNo": true,
10515
- "type": "boolean"
10516
10546
  }
10517
10547
  },
10518
10548
  "hasDynamicHelp": false,
10519
10549
  "hiddenAliases": [],
10520
- "id": "templates:import",
10550
+ "id": "tickets:delete",
10521
10551
  "pluginAlias": "@instantkom/cli",
10522
10552
  "pluginName": "@instantkom/cli",
10523
10553
  "pluginType": "core",
@@ -10527,14 +10557,20 @@
10527
10557
  "relativePath": [
10528
10558
  "dist",
10529
10559
  "commands",
10530
- "templates",
10531
- "import.js"
10560
+ "tickets",
10561
+ "delete.js"
10532
10562
  ]
10533
10563
  },
10534
- "templates:list": {
10564
+ "tickets:get": {
10535
10565
  "aliases": [],
10536
- "args": {},
10537
- "description": "List message templates",
10566
+ "args": {
10567
+ "id": {
10568
+ "description": "Ticket ID",
10569
+ "name": "id",
10570
+ "required": true
10571
+ }
10572
+ },
10573
+ "description": "Get a ticket by ID",
10538
10574
  "flags": {
10539
10575
  "api-key": {
10540
10576
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10599,31 +10635,9 @@
10599
10635
  "type": "option"
10600
10636
  },
10601
10637
  "channel": {
10602
- "description": "Filter by channel ID",
10638
+ "description": "Channel ID",
10603
10639
  "name": "channel",
10604
- "hasDynamicHelp": false,
10605
- "multiple": false,
10606
- "type": "option"
10607
- },
10608
- "search": {
10609
- "description": "Search templates by name or content",
10610
- "name": "search",
10611
- "hasDynamicHelp": false,
10612
- "multiple": false,
10613
- "type": "option"
10614
- },
10615
- "page": {
10616
- "description": "Page number",
10617
- "name": "page",
10618
- "default": 1,
10619
- "hasDynamicHelp": false,
10620
- "multiple": false,
10621
- "type": "option"
10622
- },
10623
- "limit": {
10624
- "description": "Items per page",
10625
- "name": "limit",
10626
- "default": 20,
10640
+ "required": true,
10627
10641
  "hasDynamicHelp": false,
10628
10642
  "multiple": false,
10629
10643
  "type": "option"
@@ -10631,7 +10645,7 @@
10631
10645
  },
10632
10646
  "hasDynamicHelp": false,
10633
10647
  "hiddenAliases": [],
10634
- "id": "templates:list",
10648
+ "id": "tickets:get",
10635
10649
  "pluginAlias": "@instantkom/cli",
10636
10650
  "pluginName": "@instantkom/cli",
10637
10651
  "pluginType": "core",
@@ -10641,20 +10655,14 @@
10641
10655
  "relativePath": [
10642
10656
  "dist",
10643
10657
  "commands",
10644
- "templates",
10645
- "list.js"
10658
+ "tickets",
10659
+ "get.js"
10646
10660
  ]
10647
10661
  },
10648
- "templates:render": {
10662
+ "tickets:list": {
10649
10663
  "aliases": [],
10650
- "args": {
10651
- "id": {
10652
- "description": "Template ID",
10653
- "name": "id",
10654
- "required": true
10655
- }
10656
- },
10657
- "description": "Render a message template locally",
10664
+ "args": {},
10665
+ "description": "List tickets for a channel",
10658
10666
  "flags": {
10659
10667
  "api-key": {
10660
10668
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10718,17 +10726,34 @@
10718
10726
  "multiple": false,
10719
10727
  "type": "option"
10720
10728
  },
10721
- "vars": {
10722
- "description": "Template variable as key=value; may be repeated",
10723
- "name": "vars",
10729
+ "channel": {
10730
+ "description": "Channel ID",
10731
+ "name": "channel",
10732
+ "required": true,
10724
10733
  "hasDynamicHelp": false,
10725
- "multiple": true,
10734
+ "multiple": false,
10735
+ "type": "option"
10736
+ },
10737
+ "limit": {
10738
+ "description": "Maximum tickets to return",
10739
+ "name": "limit",
10740
+ "default": 500,
10741
+ "hasDynamicHelp": false,
10742
+ "multiple": false,
10743
+ "type": "option"
10744
+ },
10745
+ "offset": {
10746
+ "description": "Number of tickets to skip",
10747
+ "name": "offset",
10748
+ "default": 0,
10749
+ "hasDynamicHelp": false,
10750
+ "multiple": false,
10726
10751
  "type": "option"
10727
10752
  }
10728
10753
  },
10729
10754
  "hasDynamicHelp": false,
10730
10755
  "hiddenAliases": [],
10731
- "id": "templates:render",
10756
+ "id": "tickets:list",
10732
10757
  "pluginAlias": "@instantkom/cli",
10733
10758
  "pluginName": "@instantkom/cli",
10734
10759
  "pluginType": "core",
@@ -10738,20 +10763,20 @@
10738
10763
  "relativePath": [
10739
10764
  "dist",
10740
10765
  "commands",
10741
- "templates",
10742
- "render.js"
10766
+ "tickets",
10767
+ "list.js"
10743
10768
  ]
10744
10769
  },
10745
- "templates:update": {
10770
+ "tickets:reply": {
10746
10771
  "aliases": [],
10747
10772
  "args": {
10748
10773
  "id": {
10749
- "description": "Template ID",
10774
+ "description": "Ticket ID",
10750
10775
  "name": "id",
10751
10776
  "required": true
10752
10777
  }
10753
10778
  },
10754
- "description": "Update a message template",
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.",
@@ -10796,107 +10821,43 @@
10796
10821
  "helpGroup": "GLOBAL",
10797
10822
  "name": "no-color",
10798
10823
  "allowNo": false,
10799
- "type": "boolean"
10800
- },
10801
- "profile": {
10802
- "description": "Named configuration profile to use",
10803
- "helpGroup": "GLOBAL",
10804
- "name": "profile",
10805
- "default": "default",
10806
- "hasDynamicHelp": false,
10807
- "multiple": false,
10808
- "type": "option"
10809
- },
10810
- "api-url": {
10811
- "description": "Override the API base URL (e.g. for staging)",
10812
- "helpGroup": "GLOBAL",
10813
- "name": "api-url",
10814
- "hasDynamicHelp": false,
10815
- "multiple": false,
10816
- "type": "option"
10817
- },
10818
- "name": {
10819
- "description": "Template name",
10820
- "name": "name",
10821
- "hasDynamicHelp": false,
10822
- "multiple": false,
10823
- "type": "option"
10824
- },
10825
- "type": {
10826
- "description": "Template type",
10827
- "name": "type",
10828
- "hasDynamicHelp": false,
10829
- "multiple": false,
10830
- "options": [
10831
- "text",
10832
- "image",
10833
- "video",
10834
- "document",
10835
- "audio",
10836
- "location",
10837
- "contact",
10838
- "interactive"
10839
- ],
10840
- "type": "option"
10841
- },
10842
- "message": {
10843
- "description": "Template message",
10844
- "name": "message",
10845
- "hasDynamicHelp": false,
10846
- "multiple": false,
10847
- "type": "option"
10848
- },
10849
- "color": {
10850
- "description": "Template color as HEX",
10851
- "name": "color",
10852
- "hasDynamicHelp": false,
10853
- "multiple": false,
10854
- "type": "option"
10855
- },
10856
- "status": {
10857
- "description": "Template is active",
10858
- "name": "status",
10859
- "allowNo": true,
10860
- "type": "boolean"
10861
- },
10862
- "remove-media": {
10863
- "description": "Remove existing media",
10864
- "name": "remove-media",
10865
- "allowNo": false,
10866
- "type": "boolean"
10867
- },
10868
- "whatsapp-language": {
10869
- "description": "WhatsApp template language",
10870
- "name": "whatsapp-language",
10871
- "hasDynamicHelp": false,
10872
- "multiple": false,
10873
- "type": "option"
10824
+ "type": "boolean"
10874
10825
  },
10875
- "buttons": {
10876
- "description": "Buttons JSON array/object",
10877
- "name": "buttons",
10826
+ "profile": {
10827
+ "description": "Named configuration profile to use",
10828
+ "helpGroup": "GLOBAL",
10829
+ "name": "profile",
10830
+ "default": "default",
10878
10831
  "hasDynamicHelp": false,
10879
10832
  "multiple": false,
10880
10833
  "type": "option"
10881
10834
  },
10882
- "header-footer": {
10883
- "description": "Header/footer JSON object",
10884
- "name": "header-footer",
10835
+ "api-url": {
10836
+ "description": "Override the API base URL (e.g. for staging)",
10837
+ "helpGroup": "GLOBAL",
10838
+ "name": "api-url",
10885
10839
  "hasDynamicHelp": false,
10886
10840
  "multiple": false,
10887
10841
  "type": "option"
10888
10842
  },
10889
- "data": {
10890
- "description": "Additional JSON object payload",
10891
- "name": "data",
10843
+ "message": {
10844
+ "description": "Reply body (raw text, no salutation or sign-off)",
10845
+ "name": "message",
10846
+ "required": true,
10892
10847
  "hasDynamicHelp": false,
10893
10848
  "multiple": false,
10894
10849
  "type": "option"
10850
+ },
10851
+ "close": {
10852
+ "description": "Close the ticket after sending the reply",
10853
+ "name": "close",
10854
+ "allowNo": false,
10855
+ "type": "boolean"
10895
10856
  }
10896
10857
  },
10897
10858
  "hasDynamicHelp": false,
10898
10859
  "hiddenAliases": [],
10899
- "id": "templates:update",
10860
+ "id": "tickets:reply",
10900
10861
  "pluginAlias": "@instantkom/cli",
10901
10862
  "pluginName": "@instantkom/cli",
10902
10863
  "pluginType": "core",
@@ -10906,14 +10867,20 @@
10906
10867
  "relativePath": [
10907
10868
  "dist",
10908
10869
  "commands",
10909
- "templates",
10910
- "update.js"
10870
+ "tickets",
10871
+ "reply.js"
10911
10872
  ]
10912
10873
  },
10913
- "templates:validate-import": {
10874
+ "tickets:update": {
10914
10875
  "aliases": [],
10915
- "args": {},
10916
- "description": "Validate templates import JSON",
10876
+ "args": {
10877
+ "id": {
10878
+ "description": "Ticket ID",
10879
+ "name": "id",
10880
+ "required": true
10881
+ }
10882
+ },
10883
+ "description": "Update a ticket",
10917
10884
  "flags": {
10918
10885
  "api-key": {
10919
10886
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10977,18 +10944,51 @@
10977
10944
  "multiple": false,
10978
10945
  "type": "option"
10979
10946
  },
10980
- "file": {
10981
- "description": "JSON file path",
10982
- "name": "file",
10947
+ "channel": {
10948
+ "description": "Channel ID",
10949
+ "name": "channel",
10983
10950
  "required": true,
10984
10951
  "hasDynamicHelp": false,
10985
10952
  "multiple": false,
10986
10953
  "type": "option"
10987
10954
  },
10988
- "channel": {
10989
- "description": "Target channel ID",
10990
- "name": "channel",
10991
- "required": true,
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
10992
  "hasDynamicHelp": false,
10993
10993
  "multiple": false,
10994
10994
  "type": "option"
@@ -10996,7 +10996,7 @@
10996
10996
  },
10997
10997
  "hasDynamicHelp": false,
10998
10998
  "hiddenAliases": [],
10999
- "id": "templates:validate-import",
10999
+ "id": "tickets:update",
11000
11000
  "pluginAlias": "@instantkom/cli",
11001
11001
  "pluginName": "@instantkom/cli",
11002
11002
  "pluginType": "core",
@@ -11006,8 +11006,8 @@
11006
11006
  "relativePath": [
11007
11007
  "dist",
11008
11008
  "commands",
11009
- "templates",
11010
- "validate-import.js"
11009
+ "tickets",
11010
+ "update.js"
11011
11011
  ]
11012
11012
  },
11013
11013
  "webhooks:add": {
@@ -13504,7 +13504,7 @@
13504
13504
  "remove.js"
13505
13505
  ]
13506
13506
  },
13507
- "contacts:tags:add": {
13507
+ "contacts:custom-fields:delete-value": {
13508
13508
  "aliases": [],
13509
13509
  "args": {
13510
13510
  "contactId": {
@@ -13512,13 +13512,13 @@
13512
13512
  "name": "contactId",
13513
13513
  "required": true
13514
13514
  },
13515
- "tagId": {
13516
- "description": "Tag ID",
13517
- "name": "tagId",
13515
+ "fieldId": {
13516
+ "description": "Custom field ID",
13517
+ "name": "fieldId",
13518
13518
  "required": true
13519
13519
  }
13520
13520
  },
13521
- "description": "Assign a tag to a contact",
13521
+ "description": "Delete one custom field value from a contact",
13522
13522
  "flags": {
13523
13523
  "api-key": {
13524
13524
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13585,7 +13585,7 @@
13585
13585
  },
13586
13586
  "hasDynamicHelp": false,
13587
13587
  "hiddenAliases": [],
13588
- "id": "contacts:tags:add",
13588
+ "id": "contacts:custom-fields:delete-value",
13589
13589
  "pluginAlias": "@instantkom/cli",
13590
13590
  "pluginName": "@instantkom/cli",
13591
13591
  "pluginType": "core",
@@ -13596,11 +13596,11 @@
13596
13596
  "dist",
13597
13597
  "commands",
13598
13598
  "contacts",
13599
- "tags",
13600
- "add.js"
13599
+ "custom-fields",
13600
+ "delete-value.js"
13601
13601
  ]
13602
13602
  },
13603
- "contacts:tags:list": {
13603
+ "contacts:custom-fields:list": {
13604
13604
  "aliases": [],
13605
13605
  "args": {
13606
13606
  "contactId": {
@@ -13609,7 +13609,7 @@
13609
13609
  "required": true
13610
13610
  }
13611
13611
  },
13612
- "description": "List tags assigned to a contact",
13612
+ "description": "List custom field values for a contact",
13613
13613
  "flags": {
13614
13614
  "api-key": {
13615
13615
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13676,7 +13676,7 @@
13676
13676
  },
13677
13677
  "hasDynamicHelp": false,
13678
13678
  "hiddenAliases": [],
13679
- "id": "contacts:tags:list",
13679
+ "id": "contacts:custom-fields:list",
13680
13680
  "pluginAlias": "@instantkom/cli",
13681
13681
  "pluginName": "@instantkom/cli",
13682
13682
  "pluginType": "core",
@@ -13687,11 +13687,11 @@
13687
13687
  "dist",
13688
13688
  "commands",
13689
13689
  "contacts",
13690
- "tags",
13690
+ "custom-fields",
13691
13691
  "list.js"
13692
13692
  ]
13693
13693
  },
13694
- "contacts:tags:remove": {
13694
+ "contacts:custom-fields:set-value": {
13695
13695
  "aliases": [],
13696
13696
  "args": {
13697
13697
  "contactId": {
@@ -13699,13 +13699,13 @@
13699
13699
  "name": "contactId",
13700
13700
  "required": true
13701
13701
  },
13702
- "tagId": {
13703
- "description": "Tag ID",
13704
- "name": "tagId",
13702
+ "fieldId": {
13703
+ "description": "Custom field ID",
13704
+ "name": "fieldId",
13705
13705
  "required": true
13706
13706
  }
13707
13707
  },
13708
- "description": "Remove a tag from a contact",
13708
+ "description": "Set one custom field value for a contact",
13709
13709
  "flags": {
13710
13710
  "api-key": {
13711
13711
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13768,11 +13768,19 @@
13768
13768
  "hasDynamicHelp": false,
13769
13769
  "multiple": false,
13770
13770
  "type": "option"
13771
+ },
13772
+ "value": {
13773
+ "description": "Custom field value",
13774
+ "name": "value",
13775
+ "required": true,
13776
+ "hasDynamicHelp": false,
13777
+ "multiple": false,
13778
+ "type": "option"
13771
13779
  }
13772
13780
  },
13773
13781
  "hasDynamicHelp": false,
13774
13782
  "hiddenAliases": [],
13775
- "id": "contacts:tags:remove",
13783
+ "id": "contacts:custom-fields:set-value",
13776
13784
  "pluginAlias": "@instantkom/cli",
13777
13785
  "pluginName": "@instantkom/cli",
13778
13786
  "pluginType": "core",
@@ -13783,25 +13791,20 @@
13783
13791
  "dist",
13784
13792
  "commands",
13785
13793
  "contacts",
13786
- "tags",
13787
- "remove.js"
13794
+ "custom-fields",
13795
+ "set-value.js"
13788
13796
  ]
13789
13797
  },
13790
- "contacts:custom-fields:delete-value": {
13798
+ "contacts:custom-fields:set": {
13791
13799
  "aliases": [],
13792
13800
  "args": {
13793
13801
  "contactId": {
13794
13802
  "description": "Contact ID",
13795
13803
  "name": "contactId",
13796
13804
  "required": true
13797
- },
13798
- "fieldId": {
13799
- "description": "Custom field ID",
13800
- "name": "fieldId",
13801
- "required": true
13802
13805
  }
13803
13806
  },
13804
- "description": "Delete one custom field value from a contact",
13807
+ "description": "Set multiple custom field values for a contact",
13805
13808
  "flags": {
13806
13809
  "api-key": {
13807
13810
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13864,11 +13867,32 @@
13864
13867
  "hasDynamicHelp": false,
13865
13868
  "multiple": false,
13866
13869
  "type": "option"
13870
+ },
13871
+ "values": {
13872
+ "description": "JSON object with field keys as property names",
13873
+ "name": "values",
13874
+ "hasDynamicHelp": false,
13875
+ "multiple": false,
13876
+ "type": "option"
13877
+ },
13878
+ "file": {
13879
+ "description": "Path to a JSON file with field keys as property names",
13880
+ "name": "file",
13881
+ "hasDynamicHelp": false,
13882
+ "multiple": false,
13883
+ "type": "option"
13884
+ },
13885
+ "data": {
13886
+ "description": "Additional JSON object payload",
13887
+ "name": "data",
13888
+ "hasDynamicHelp": false,
13889
+ "multiple": false,
13890
+ "type": "option"
13867
13891
  }
13868
13892
  },
13869
13893
  "hasDynamicHelp": false,
13870
13894
  "hiddenAliases": [],
13871
- "id": "contacts:custom-fields:delete-value",
13895
+ "id": "contacts:custom-fields:set",
13872
13896
  "pluginAlias": "@instantkom/cli",
13873
13897
  "pluginName": "@instantkom/cli",
13874
13898
  "pluginType": "core",
@@ -13880,19 +13904,24 @@
13880
13904
  "commands",
13881
13905
  "contacts",
13882
13906
  "custom-fields",
13883
- "delete-value.js"
13907
+ "set.js"
13884
13908
  ]
13885
13909
  },
13886
- "contacts:custom-fields:list": {
13910
+ "contacts:tags:add": {
13887
13911
  "aliases": [],
13888
13912
  "args": {
13889
13913
  "contactId": {
13890
13914
  "description": "Contact ID",
13891
13915
  "name": "contactId",
13892
13916
  "required": true
13917
+ },
13918
+ "tagId": {
13919
+ "description": "Tag ID",
13920
+ "name": "tagId",
13921
+ "required": true
13893
13922
  }
13894
13923
  },
13895
- "description": "List custom field values for a contact",
13924
+ "description": "Assign a tag to a contact",
13896
13925
  "flags": {
13897
13926
  "api-key": {
13898
13927
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13959,7 +13988,7 @@
13959
13988
  },
13960
13989
  "hasDynamicHelp": false,
13961
13990
  "hiddenAliases": [],
13962
- "id": "contacts:custom-fields:list",
13991
+ "id": "contacts:tags:add",
13963
13992
  "pluginAlias": "@instantkom/cli",
13964
13993
  "pluginName": "@instantkom/cli",
13965
13994
  "pluginType": "core",
@@ -13970,25 +13999,20 @@
13970
13999
  "dist",
13971
14000
  "commands",
13972
14001
  "contacts",
13973
- "custom-fields",
13974
- "list.js"
14002
+ "tags",
14003
+ "add.js"
13975
14004
  ]
13976
14005
  },
13977
- "contacts:custom-fields:set-value": {
14006
+ "contacts:tags:list": {
13978
14007
  "aliases": [],
13979
14008
  "args": {
13980
14009
  "contactId": {
13981
14010
  "description": "Contact ID",
13982
14011
  "name": "contactId",
13983
14012
  "required": true
13984
- },
13985
- "fieldId": {
13986
- "description": "Custom field ID",
13987
- "name": "fieldId",
13988
- "required": true
13989
14013
  }
13990
14014
  },
13991
- "description": "Set one custom field value for a contact",
14015
+ "description": "List tags assigned to a contact",
13992
14016
  "flags": {
13993
14017
  "api-key": {
13994
14018
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14051,19 +14075,11 @@
14051
14075
  "hasDynamicHelp": false,
14052
14076
  "multiple": false,
14053
14077
  "type": "option"
14054
- },
14055
- "value": {
14056
- "description": "Custom field value",
14057
- "name": "value",
14058
- "required": true,
14059
- "hasDynamicHelp": false,
14060
- "multiple": false,
14061
- "type": "option"
14062
14078
  }
14063
14079
  },
14064
14080
  "hasDynamicHelp": false,
14065
14081
  "hiddenAliases": [],
14066
- "id": "contacts:custom-fields:set-value",
14082
+ "id": "contacts:tags:list",
14067
14083
  "pluginAlias": "@instantkom/cli",
14068
14084
  "pluginName": "@instantkom/cli",
14069
14085
  "pluginType": "core",
@@ -14074,20 +14090,25 @@
14074
14090
  "dist",
14075
14091
  "commands",
14076
14092
  "contacts",
14077
- "custom-fields",
14078
- "set-value.js"
14093
+ "tags",
14094
+ "list.js"
14079
14095
  ]
14080
14096
  },
14081
- "contacts:custom-fields:set": {
14097
+ "contacts:tags:remove": {
14082
14098
  "aliases": [],
14083
14099
  "args": {
14084
14100
  "contactId": {
14085
14101
  "description": "Contact ID",
14086
14102
  "name": "contactId",
14087
14103
  "required": true
14104
+ },
14105
+ "tagId": {
14106
+ "description": "Tag ID",
14107
+ "name": "tagId",
14108
+ "required": true
14088
14109
  }
14089
14110
  },
14090
- "description": "Set multiple custom field values for a contact",
14111
+ "description": "Remove a tag from a contact",
14091
14112
  "flags": {
14092
14113
  "api-key": {
14093
14114
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14150,32 +14171,11 @@
14150
14171
  "hasDynamicHelp": false,
14151
14172
  "multiple": false,
14152
14173
  "type": "option"
14153
- },
14154
- "values": {
14155
- "description": "JSON object with field keys as property names",
14156
- "name": "values",
14157
- "hasDynamicHelp": false,
14158
- "multiple": false,
14159
- "type": "option"
14160
- },
14161
- "file": {
14162
- "description": "Path to a JSON file with field keys as property names",
14163
- "name": "file",
14164
- "hasDynamicHelp": false,
14165
- "multiple": false,
14166
- "type": "option"
14167
- },
14168
- "data": {
14169
- "description": "Additional JSON object payload",
14170
- "name": "data",
14171
- "hasDynamicHelp": false,
14172
- "multiple": false,
14173
- "type": "option"
14174
14174
  }
14175
14175
  },
14176
14176
  "hasDynamicHelp": false,
14177
14177
  "hiddenAliases": [],
14178
- "id": "contacts:custom-fields:set",
14178
+ "id": "contacts:tags:remove",
14179
14179
  "pluginAlias": "@instantkom/cli",
14180
14180
  "pluginName": "@instantkom/cli",
14181
14181
  "pluginType": "core",
@@ -14186,8 +14186,8 @@
14186
14186
  "dist",
14187
14187
  "commands",
14188
14188
  "contacts",
14189
- "custom-fields",
14190
- "set.js"
14189
+ "tags",
14190
+ "remove.js"
14191
14191
  ]
14192
14192
  },
14193
14193
  "flow:edges:create": {
@@ -16352,5 +16352,5 @@
16352
16352
  ]
16353
16353
  }
16354
16354
  },
16355
- "version": "3.140.1"
16355
+ "version": "3.141.0"
16356
16356
  }