@instantkom/cli 3.185.0 → 3.186.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1073,40 +1073,6 @@
1073
1073
  "reply.js"
1074
1074
  ]
1075
1075
  },
1076
- "autocomplete:script": {
1077
- "aliases": [],
1078
- "args": {
1079
- "shell": {
1080
- "description": "Shell type",
1081
- "name": "shell",
1082
- "options": [
1083
- "zsh",
1084
- "bash",
1085
- "fish",
1086
- "powershell"
1087
- ],
1088
- "required": false
1089
- }
1090
- },
1091
- "description": "outputs autocomplete config script for shells",
1092
- "flags": {},
1093
- "hasDynamicHelp": false,
1094
- "hidden": true,
1095
- "hiddenAliases": [],
1096
- "id": "autocomplete:script",
1097
- "pluginAlias": "@instantkom/cli",
1098
- "pluginName": "@instantkom/cli",
1099
- "pluginType": "core",
1100
- "strict": true,
1101
- "enableJsonFlag": false,
1102
- "isESM": true,
1103
- "relativePath": [
1104
- "dist",
1105
- "commands",
1106
- "autocomplete",
1107
- "script.js"
1108
- ]
1109
- },
1110
1076
  "auth:login": {
1111
1077
  "aliases": [],
1112
1078
  "args": {},
@@ -1289,6 +1255,40 @@
1289
1255
  "logout.js"
1290
1256
  ]
1291
1257
  },
1258
+ "autocomplete:script": {
1259
+ "aliases": [],
1260
+ "args": {
1261
+ "shell": {
1262
+ "description": "Shell type",
1263
+ "name": "shell",
1264
+ "options": [
1265
+ "zsh",
1266
+ "bash",
1267
+ "fish",
1268
+ "powershell"
1269
+ ],
1270
+ "required": false
1271
+ }
1272
+ },
1273
+ "description": "outputs autocomplete config script for shells",
1274
+ "flags": {},
1275
+ "hasDynamicHelp": false,
1276
+ "hidden": true,
1277
+ "hiddenAliases": [],
1278
+ "id": "autocomplete:script",
1279
+ "pluginAlias": "@instantkom/cli",
1280
+ "pluginName": "@instantkom/cli",
1281
+ "pluginType": "core",
1282
+ "strict": true,
1283
+ "enableJsonFlag": false,
1284
+ "isESM": true,
1285
+ "relativePath": [
1286
+ "dist",
1287
+ "commands",
1288
+ "autocomplete",
1289
+ "script.js"
1290
+ ]
1291
+ },
1292
1292
  "bots:create": {
1293
1293
  "aliases": [],
1294
1294
  "args": {},
@@ -8968,10 +8968,10 @@
8968
8968
  "validate-import.js"
8969
8969
  ]
8970
8970
  },
8971
- "team:create": {
8971
+ "templates:create": {
8972
8972
  "aliases": [],
8973
8973
  "args": {},
8974
- "description": "Create a team member",
8974
+ "description": "Create a message template",
8975
8975
  "flags": {
8976
8976
  "api-key": {
8977
8977
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9035,62 +9035,78 @@
9035
9035
  "multiple": false,
9036
9036
  "type": "option"
9037
9037
  },
9038
- "email": {
9039
- "description": "Email address",
9040
- "name": "email",
9038
+ "channel": {
9039
+ "description": "Channel ID",
9040
+ "name": "channel",
9041
9041
  "required": true,
9042
9042
  "hasDynamicHelp": false,
9043
9043
  "multiple": false,
9044
9044
  "type": "option"
9045
9045
  },
9046
- "first-name": {
9047
- "description": "First name",
9048
- "name": "first-name",
9046
+ "name": {
9047
+ "description": "Template name",
9048
+ "name": "name",
9049
9049
  "required": true,
9050
9050
  "hasDynamicHelp": false,
9051
9051
  "multiple": false,
9052
9052
  "type": "option"
9053
9053
  },
9054
- "last-name": {
9055
- "description": "Last name",
9056
- "name": "last-name",
9057
- "required": true,
9054
+ "type": {
9055
+ "description": "Template type",
9056
+ "name": "type",
9057
+ "default": "text",
9058
9058
  "hasDynamicHelp": false,
9059
9059
  "multiple": false,
9060
+ "options": [
9061
+ "text",
9062
+ "image",
9063
+ "video",
9064
+ "document",
9065
+ "audio",
9066
+ "location",
9067
+ "contact",
9068
+ "interactive"
9069
+ ],
9060
9070
  "type": "option"
9061
9071
  },
9062
- "password": {
9063
- "description": "Initial password",
9064
- "name": "password",
9072
+ "message": {
9073
+ "description": "Template message",
9074
+ "name": "message",
9065
9075
  "required": true,
9066
9076
  "hasDynamicHelp": false,
9067
9077
  "multiple": false,
9068
9078
  "type": "option"
9069
9079
  },
9070
- "phone": {
9071
- "description": "Phone number",
9072
- "name": "phone",
9080
+ "color": {
9081
+ "description": "Template color as HEX",
9082
+ "name": "color",
9073
9083
  "hasDynamicHelp": false,
9074
9084
  "multiple": false,
9075
9085
  "type": "option"
9076
9086
  },
9077
- "company": {
9078
- "description": "Company name",
9079
- "name": "company",
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",
9080
9096
  "hasDynamicHelp": false,
9081
9097
  "multiple": false,
9082
9098
  "type": "option"
9083
9099
  },
9084
- "color": {
9085
- "description": "Color as HEX",
9086
- "name": "color",
9100
+ "buttons": {
9101
+ "description": "Buttons JSON array/object",
9102
+ "name": "buttons",
9087
9103
  "hasDynamicHelp": false,
9088
9104
  "multiple": false,
9089
9105
  "type": "option"
9090
9106
  },
9091
- "folder": {
9092
- "description": "Object folder ID",
9093
- "name": "folder",
9107
+ "header-footer": {
9108
+ "description": "Header/footer JSON object",
9109
+ "name": "header-footer",
9094
9110
  "hasDynamicHelp": false,
9095
9111
  "multiple": false,
9096
9112
  "type": "option"
@@ -9105,7 +9121,7 @@
9105
9121
  },
9106
9122
  "hasDynamicHelp": false,
9107
9123
  "hiddenAliases": [],
9108
- "id": "team:create",
9124
+ "id": "templates:create",
9109
9125
  "pluginAlias": "@instantkom/cli",
9110
9126
  "pluginName": "@instantkom/cli",
9111
9127
  "pluginType": "core",
@@ -9115,20 +9131,20 @@
9115
9131
  "relativePath": [
9116
9132
  "dist",
9117
9133
  "commands",
9118
- "team",
9134
+ "templates",
9119
9135
  "create.js"
9120
9136
  ]
9121
9137
  },
9122
- "team:delete": {
9138
+ "templates:delete": {
9123
9139
  "aliases": [],
9124
9140
  "args": {
9125
9141
  "id": {
9126
- "description": "Team member ID",
9142
+ "description": "template ID",
9127
9143
  "name": "id",
9128
9144
  "required": true
9129
9145
  }
9130
9146
  },
9131
- "description": "Delete a team member",
9147
+ "description": "Delete template",
9132
9148
  "flags": {
9133
9149
  "api-key": {
9134
9150
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9195,7 +9211,7 @@
9195
9211
  },
9196
9212
  "hasDynamicHelp": false,
9197
9213
  "hiddenAliases": [],
9198
- "id": "team:delete",
9214
+ "id": "templates:delete",
9199
9215
  "pluginAlias": "@instantkom/cli",
9200
9216
  "pluginName": "@instantkom/cli",
9201
9217
  "pluginType": "core",
@@ -9205,14 +9221,14 @@
9205
9221
  "relativePath": [
9206
9222
  "dist",
9207
9223
  "commands",
9208
- "team",
9224
+ "templates",
9209
9225
  "delete.js"
9210
9226
  ]
9211
9227
  },
9212
- "team:list": {
9228
+ "templates:export": {
9213
9229
  "aliases": [],
9214
9230
  "args": {},
9215
- "description": "List team members",
9231
+ "description": "Export templates to a file",
9216
9232
  "flags": {
9217
9233
  "api-key": {
9218
9234
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9224,17 +9240,14 @@
9224
9240
  "type": "option"
9225
9241
  },
9226
9242
  "format": {
9227
- "description": "Output format: text, json, yaml, or table",
9228
- "helpGroup": "GLOBAL",
9243
+ "description": "Export format",
9229
9244
  "name": "format",
9230
- "default": "text",
9245
+ "default": "json",
9231
9246
  "hasDynamicHelp": false,
9232
9247
  "multiple": false,
9233
9248
  "options": [
9234
- "text",
9235
- "json",
9236
- "yaml",
9237
- "table"
9249
+ "csv",
9250
+ "json"
9238
9251
  ],
9239
9252
  "type": "option"
9240
9253
  },
@@ -9275,11 +9288,26 @@
9275
9288
  "hasDynamicHelp": false,
9276
9289
  "multiple": false,
9277
9290
  "type": "option"
9291
+ },
9292
+ "file": {
9293
+ "description": "Output file path",
9294
+ "name": "file",
9295
+ "required": true,
9296
+ "hasDynamicHelp": false,
9297
+ "multiple": false,
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": "team:list",
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
- "team",
9293
- "list.js"
9320
+ "templates",
9321
+ "export.js"
9294
9322
  ]
9295
9323
  },
9296
- "templates:create": {
9324
+ "templates:get": {
9297
9325
  "aliases": [],
9298
- "args": {},
9299
- "description": "Create a message template",
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,131 +9393,42 @@
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
- "name": {
9372
- "description": "Template name",
9373
- "name": "name",
9374
- "required": true,
9396
+ }
9397
+ },
9398
+ "hasDynamicHelp": false,
9399
+ "hiddenAliases": [],
9400
+ "id": "templates:get",
9401
+ "pluginAlias": "@instantkom/cli",
9402
+ "pluginName": "@instantkom/cli",
9403
+ "pluginType": "core",
9404
+ "strict": true,
9405
+ "enableJsonFlag": false,
9406
+ "isESM": true,
9407
+ "relativePath": [
9408
+ "dist",
9409
+ "commands",
9410
+ "templates",
9411
+ "get.js"
9412
+ ]
9413
+ },
9414
+ "templates:import": {
9415
+ "aliases": [],
9416
+ "args": {},
9417
+ "description": "Import templates from JSON",
9418
+ "flags": {
9419
+ "api-key": {
9420
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
9421
+ "env": "IKM_API_KEY",
9422
+ "helpGroup": "GLOBAL",
9423
+ "name": "api-key",
9375
9424
  "hasDynamicHelp": false,
9376
9425
  "multiple": false,
9377
9426
  "type": "option"
9378
9427
  },
9379
- "type": {
9380
- "description": "Template type",
9381
- "name": "type",
9382
- "default": "text",
9383
- "hasDynamicHelp": false,
9384
- "multiple": false,
9385
- "options": [
9386
- "text",
9387
- "image",
9388
- "video",
9389
- "document",
9390
- "audio",
9391
- "location",
9392
- "contact",
9393
- "interactive"
9394
- ],
9395
- "type": "option"
9396
- },
9397
- "message": {
9398
- "description": "Template message",
9399
- "name": "message",
9400
- "required": true,
9401
- "hasDynamicHelp": false,
9402
- "multiple": false,
9403
- "type": "option"
9404
- },
9405
- "color": {
9406
- "description": "Template color as HEX",
9407
- "name": "color",
9408
- "hasDynamicHelp": false,
9409
- "multiple": false,
9410
- "type": "option"
9411
- },
9412
- "status": {
9413
- "description": "Template is active",
9414
- "name": "status",
9415
- "allowNo": true,
9416
- "type": "boolean"
9417
- },
9418
- "whatsapp-language": {
9419
- "description": "WhatsApp template language",
9420
- "name": "whatsapp-language",
9421
- "hasDynamicHelp": false,
9422
- "multiple": false,
9423
- "type": "option"
9424
- },
9425
- "buttons": {
9426
- "description": "Buttons JSON array/object",
9427
- "name": "buttons",
9428
- "hasDynamicHelp": false,
9429
- "multiple": false,
9430
- "type": "option"
9431
- },
9432
- "header-footer": {
9433
- "description": "Header/footer JSON object",
9434
- "name": "header-footer",
9435
- "hasDynamicHelp": false,
9436
- "multiple": false,
9437
- "type": "option"
9438
- },
9439
- "data": {
9440
- "description": "Additional JSON object payload",
9441
- "name": "data",
9442
- "hasDynamicHelp": false,
9443
- "multiple": false,
9444
- "type": "option"
9445
- }
9446
- },
9447
- "hasDynamicHelp": false,
9448
- "hiddenAliases": [],
9449
- "id": "templates:create",
9450
- "pluginAlias": "@instantkom/cli",
9451
- "pluginName": "@instantkom/cli",
9452
- "pluginType": "core",
9453
- "strict": true,
9454
- "enableJsonFlag": false,
9455
- "isESM": true,
9456
- "relativePath": [
9457
- "dist",
9458
- "commands",
9459
- "templates",
9460
- "create.js"
9461
- ]
9462
- },
9463
- "templates:delete": {
9464
- "aliases": [],
9465
- "args": {
9466
- "id": {
9467
- "description": "template ID",
9468
- "name": "id",
9469
- "required": true
9470
- }
9471
- },
9472
- "description": "Delete template",
9473
- "flags": {
9474
- "api-key": {
9475
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
9476
- "env": "IKM_API_KEY",
9477
- "helpGroup": "GLOBAL",
9478
- "name": "api-key",
9479
- "hasDynamicHelp": false,
9480
- "multiple": false,
9481
- "type": "option"
9482
- },
9483
- "format": {
9484
- "description": "Output format: text, json, yaml, or table",
9485
- "helpGroup": "GLOBAL",
9486
- "name": "format",
9428
+ "format": {
9429
+ "description": "Output format: text, json, yaml, or table",
9430
+ "helpGroup": "GLOBAL",
9431
+ "name": "format",
9487
9432
  "default": "text",
9488
9433
  "hasDynamicHelp": false,
9489
9434
  "multiple": false,
@@ -9532,11 +9477,33 @@
9532
9477
  "hasDynamicHelp": false,
9533
9478
  "multiple": false,
9534
9479
  "type": "option"
9480
+ },
9481
+ "file": {
9482
+ "description": "JSON file path",
9483
+ "name": "file",
9484
+ "required": true,
9485
+ "hasDynamicHelp": false,
9486
+ "multiple": false,
9487
+ "type": "option"
9488
+ },
9489
+ "channel": {
9490
+ "description": "Target channel ID",
9491
+ "name": "channel",
9492
+ "required": true,
9493
+ "hasDynamicHelp": false,
9494
+ "multiple": false,
9495
+ "type": "option"
9496
+ },
9497
+ "skip-duplicates": {
9498
+ "description": "Skip duplicate templates",
9499
+ "name": "skip-duplicates",
9500
+ "allowNo": true,
9501
+ "type": "boolean"
9535
9502
  }
9536
9503
  },
9537
9504
  "hasDynamicHelp": false,
9538
9505
  "hiddenAliases": [],
9539
- "id": "templates:delete",
9506
+ "id": "templates:import",
9540
9507
  "pluginAlias": "@instantkom/cli",
9541
9508
  "pluginName": "@instantkom/cli",
9542
9509
  "pluginType": "core",
@@ -9547,13 +9514,13 @@
9547
9514
  "dist",
9548
9515
  "commands",
9549
9516
  "templates",
9550
- "delete.js"
9517
+ "import.js"
9551
9518
  ]
9552
9519
  },
9553
- "templates:export": {
9520
+ "templates:list": {
9554
9521
  "aliases": [],
9555
9522
  "args": {},
9556
- "description": "Export templates to a file",
9523
+ "description": "List message templates",
9557
9524
  "flags": {
9558
9525
  "api-key": {
9559
9526
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9565,14 +9532,17 @@
9565
9532
  "type": "option"
9566
9533
  },
9567
9534
  "format": {
9568
- "description": "Export format",
9535
+ "description": "Output format: text, json, yaml, or table",
9536
+ "helpGroup": "GLOBAL",
9569
9537
  "name": "format",
9570
- "default": "json",
9538
+ "default": "text",
9571
9539
  "hasDynamicHelp": false,
9572
9540
  "multiple": false,
9573
9541
  "options": [
9574
- "csv",
9575
- "json"
9542
+ "text",
9543
+ "json",
9544
+ "yaml",
9545
+ "table"
9576
9546
  ],
9577
9547
  "type": "option"
9578
9548
  },
@@ -9614,17 +9584,32 @@
9614
9584
  "multiple": false,
9615
9585
  "type": "option"
9616
9586
  },
9617
- "file": {
9618
- "description": "Output file path",
9619
- "name": "file",
9620
- "required": true,
9587
+ "channel": {
9588
+ "description": "Filter by channel ID",
9589
+ "name": "channel",
9621
9590
  "hasDynamicHelp": false,
9622
9591
  "multiple": false,
9623
9592
  "type": "option"
9624
9593
  },
9625
- "channel": {
9626
- "description": "Filter by channel ID",
9627
- "name": "channel",
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,
9628
9613
  "hasDynamicHelp": false,
9629
9614
  "multiple": false,
9630
9615
  "type": "option"
@@ -9632,7 +9617,7 @@
9632
9617
  },
9633
9618
  "hasDynamicHelp": false,
9634
9619
  "hiddenAliases": [],
9635
- "id": "templates:export",
9620
+ "id": "templates:list",
9636
9621
  "pluginAlias": "@instantkom/cli",
9637
9622
  "pluginName": "@instantkom/cli",
9638
9623
  "pluginType": "core",
@@ -9643,10 +9628,10 @@
9643
9628
  "dist",
9644
9629
  "commands",
9645
9630
  "templates",
9646
- "export.js"
9631
+ "list.js"
9647
9632
  ]
9648
9633
  },
9649
- "templates:get": {
9634
+ "templates:render": {
9650
9635
  "aliases": [],
9651
9636
  "args": {
9652
9637
  "id": {
@@ -9655,7 +9640,7 @@
9655
9640
  "required": true
9656
9641
  }
9657
9642
  },
9658
- "description": "Get a message template by ID",
9643
+ "description": "Render a message template locally",
9659
9644
  "flags": {
9660
9645
  "api-key": {
9661
9646
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9718,11 +9703,18 @@
9718
9703
  "hasDynamicHelp": false,
9719
9704
  "multiple": false,
9720
9705
  "type": "option"
9706
+ },
9707
+ "vars": {
9708
+ "description": "Template variable as key=value; may be repeated",
9709
+ "name": "vars",
9710
+ "hasDynamicHelp": false,
9711
+ "multiple": true,
9712
+ "type": "option"
9721
9713
  }
9722
9714
  },
9723
9715
  "hasDynamicHelp": false,
9724
9716
  "hiddenAliases": [],
9725
- "id": "templates:get",
9717
+ "id": "templates:render",
9726
9718
  "pluginAlias": "@instantkom/cli",
9727
9719
  "pluginName": "@instantkom/cli",
9728
9720
  "pluginType": "core",
@@ -9733,13 +9725,19 @@
9733
9725
  "dist",
9734
9726
  "commands",
9735
9727
  "templates",
9736
- "get.js"
9728
+ "render.js"
9737
9729
  ]
9738
9730
  },
9739
- "templates:import": {
9731
+ "templates:update": {
9740
9732
  "aliases": [],
9741
- "args": {},
9742
- "description": "Import templates from JSON",
9733
+ "args": {
9734
+ "id": {
9735
+ "description": "Template ID",
9736
+ "name": "id",
9737
+ "required": true
9738
+ }
9739
+ },
9740
+ "description": "Update a message template",
9743
9741
  "flags": {
9744
9742
  "api-key": {
9745
9743
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -9803,138 +9801,80 @@
9803
9801
  "multiple": false,
9804
9802
  "type": "option"
9805
9803
  },
9806
- "file": {
9807
- "description": "JSON file path",
9808
- "name": "file",
9809
- "required": true,
9804
+ "name": {
9805
+ "description": "Template name",
9806
+ "name": "name",
9810
9807
  "hasDynamicHelp": false,
9811
9808
  "multiple": false,
9812
9809
  "type": "option"
9813
9810
  },
9814
- "channel": {
9815
- "description": "Target channel ID",
9816
- "name": "channel",
9817
- "required": true,
9811
+ "type": {
9812
+ "description": "Template type",
9813
+ "name": "type",
9818
9814
  "hasDynamicHelp": false,
9819
9815
  "multiple": false,
9816
+ "options": [
9817
+ "text",
9818
+ "image",
9819
+ "video",
9820
+ "document",
9821
+ "audio",
9822
+ "location",
9823
+ "contact",
9824
+ "interactive"
9825
+ ],
9820
9826
  "type": "option"
9821
9827
  },
9822
- "skip-duplicates": {
9823
- "description": "Skip duplicate templates",
9824
- "name": "skip-duplicates",
9825
- "allowNo": true,
9826
- "type": "boolean"
9827
- }
9828
- },
9829
- "hasDynamicHelp": false,
9830
- "hiddenAliases": [],
9831
- "id": "templates:import",
9832
- "pluginAlias": "@instantkom/cli",
9833
- "pluginName": "@instantkom/cli",
9834
- "pluginType": "core",
9835
- "strict": true,
9836
- "enableJsonFlag": false,
9837
- "isESM": true,
9838
- "relativePath": [
9839
- "dist",
9840
- "commands",
9841
- "templates",
9842
- "import.js"
9843
- ]
9844
- },
9845
- "templates:list": {
9846
- "aliases": [],
9847
- "args": {},
9848
- "description": "List message templates",
9849
- "flags": {
9850
- "api-key": {
9851
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
9852
- "env": "IKM_API_KEY",
9853
- "helpGroup": "GLOBAL",
9854
- "name": "api-key",
9828
+ "message": {
9829
+ "description": "Template message",
9830
+ "name": "message",
9855
9831
  "hasDynamicHelp": false,
9856
9832
  "multiple": false,
9857
9833
  "type": "option"
9858
9834
  },
9859
- "format": {
9860
- "description": "Output format: text, json, yaml, or table",
9861
- "helpGroup": "GLOBAL",
9862
- "name": "format",
9863
- "default": "text",
9835
+ "color": {
9836
+ "description": "Template color as HEX",
9837
+ "name": "color",
9864
9838
  "hasDynamicHelp": false,
9865
9839
  "multiple": false,
9866
- "options": [
9867
- "text",
9868
- "json",
9869
- "yaml",
9870
- "table"
9871
- ],
9872
9840
  "type": "option"
9873
9841
  },
9874
- "json": {
9875
- "description": "Output in JSON format (alias for --format=json)",
9876
- "helpGroup": "GLOBAL",
9877
- "name": "json",
9878
- "allowNo": false,
9879
- "type": "boolean"
9880
- },
9881
- "quiet": {
9882
- "description": "Suppress all output except errors",
9883
- "helpGroup": "GLOBAL",
9884
- "name": "quiet",
9885
- "allowNo": false,
9842
+ "status": {
9843
+ "description": "Template is active",
9844
+ "name": "status",
9845
+ "allowNo": true,
9886
9846
  "type": "boolean"
9887
9847
  },
9888
- "no-color": {
9889
- "description": "Disable color output",
9890
- "helpGroup": "GLOBAL",
9891
- "name": "no-color",
9848
+ "remove-media": {
9849
+ "description": "Remove existing media",
9850
+ "name": "remove-media",
9892
9851
  "allowNo": false,
9893
9852
  "type": "boolean"
9894
9853
  },
9895
- "profile": {
9896
- "description": "Named configuration profile to use",
9897
- "helpGroup": "GLOBAL",
9898
- "name": "profile",
9899
- "default": "default",
9900
- "hasDynamicHelp": false,
9901
- "multiple": false,
9902
- "type": "option"
9903
- },
9904
- "api-url": {
9905
- "description": "Override the API base URL (e.g. for staging)",
9906
- "helpGroup": "GLOBAL",
9907
- "name": "api-url",
9908
- "hasDynamicHelp": false,
9909
- "multiple": false,
9910
- "type": "option"
9911
- },
9912
- "channel": {
9913
- "description": "Filter by channel ID",
9914
- "name": "channel",
9854
+ "whatsapp-language": {
9855
+ "description": "WhatsApp template language",
9856
+ "name": "whatsapp-language",
9915
9857
  "hasDynamicHelp": false,
9916
9858
  "multiple": false,
9917
9859
  "type": "option"
9918
9860
  },
9919
- "search": {
9920
- "description": "Search templates by name or content",
9921
- "name": "search",
9861
+ "buttons": {
9862
+ "description": "Buttons JSON array/object",
9863
+ "name": "buttons",
9922
9864
  "hasDynamicHelp": false,
9923
9865
  "multiple": false,
9924
9866
  "type": "option"
9925
9867
  },
9926
- "page": {
9927
- "description": "Page number",
9928
- "name": "page",
9929
- "default": 1,
9868
+ "header-footer": {
9869
+ "description": "Header/footer JSON object",
9870
+ "name": "header-footer",
9930
9871
  "hasDynamicHelp": false,
9931
9872
  "multiple": false,
9932
9873
  "type": "option"
9933
9874
  },
9934
- "limit": {
9935
- "description": "Items per page",
9936
- "name": "limit",
9937
- "default": 20,
9875
+ "data": {
9876
+ "description": "Additional JSON object payload",
9877
+ "name": "data",
9938
9878
  "hasDynamicHelp": false,
9939
9879
  "multiple": false,
9940
9880
  "type": "option"
@@ -9942,7 +9882,7 @@
9942
9882
  },
9943
9883
  "hasDynamicHelp": false,
9944
9884
  "hiddenAliases": [],
9945
- "id": "templates:list",
9885
+ "id": "templates:update",
9946
9886
  "pluginAlias": "@instantkom/cli",
9947
9887
  "pluginName": "@instantkom/cli",
9948
9888
  "pluginType": "core",
@@ -9953,19 +9893,13 @@
9953
9893
  "dist",
9954
9894
  "commands",
9955
9895
  "templates",
9956
- "list.js"
9896
+ "update.js"
9957
9897
  ]
9958
9898
  },
9959
- "templates:render": {
9899
+ "templates:validate-import": {
9960
9900
  "aliases": [],
9961
- "args": {
9962
- "id": {
9963
- "description": "Template ID",
9964
- "name": "id",
9965
- "required": true
9966
- }
9967
- },
9968
- "description": "Render a message template locally",
9901
+ "args": {},
9902
+ "description": "Validate templates import JSON",
9969
9903
  "flags": {
9970
9904
  "api-key": {
9971
9905
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10029,17 +9963,26 @@
10029
9963
  "multiple": false,
10030
9964
  "type": "option"
10031
9965
  },
10032
- "vars": {
10033
- "description": "Template variable as key=value; may be repeated",
10034
- "name": "vars",
9966
+ "file": {
9967
+ "description": "JSON file path",
9968
+ "name": "file",
9969
+ "required": true,
10035
9970
  "hasDynamicHelp": false,
10036
- "multiple": true,
9971
+ "multiple": false,
9972
+ "type": "option"
9973
+ },
9974
+ "channel": {
9975
+ "description": "Target channel ID",
9976
+ "name": "channel",
9977
+ "required": true,
9978
+ "hasDynamicHelp": false,
9979
+ "multiple": false,
10037
9980
  "type": "option"
10038
9981
  }
10039
9982
  },
10040
9983
  "hasDynamicHelp": false,
10041
9984
  "hiddenAliases": [],
10042
- "id": "templates:render",
9985
+ "id": "templates:validate-import",
10043
9986
  "pluginAlias": "@instantkom/cli",
10044
9987
  "pluginName": "@instantkom/cli",
10045
9988
  "pluginType": "core",
@@ -10050,19 +9993,13 @@
10050
9993
  "dist",
10051
9994
  "commands",
10052
9995
  "templates",
10053
- "render.js"
9996
+ "validate-import.js"
10054
9997
  ]
10055
9998
  },
10056
- "templates:update": {
9999
+ "tickets:create": {
10057
10000
  "aliases": [],
10058
- "args": {
10059
- "id": {
10060
- "description": "Template ID",
10061
- "name": "id",
10062
- "required": true
10063
- }
10064
- },
10065
- "description": "Update a message template",
10001
+ "args": {},
10002
+ "description": "Create a ticket",
10066
10003
  "flags": {
10067
10004
  "api-key": {
10068
10005
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10126,73 +10063,53 @@
10126
10063
  "multiple": false,
10127
10064
  "type": "option"
10128
10065
  },
10129
- "name": {
10130
- "description": "Template name",
10131
- "name": "name",
10066
+ "channel": {
10067
+ "description": "Channel ID",
10068
+ "name": "channel",
10069
+ "required": true,
10132
10070
  "hasDynamicHelp": false,
10133
10071
  "multiple": false,
10134
10072
  "type": "option"
10135
10073
  },
10136
- "type": {
10137
- "description": "Template type",
10138
- "name": "type",
10074
+ "subject": {
10075
+ "description": "Ticket subject",
10076
+ "name": "subject",
10077
+ "required": true,
10139
10078
  "hasDynamicHelp": false,
10140
10079
  "multiple": false,
10141
- "options": [
10142
- "text",
10143
- "image",
10144
- "video",
10145
- "document",
10146
- "audio",
10147
- "location",
10148
- "contact",
10149
- "interactive"
10150
- ],
10151
10080
  "type": "option"
10152
10081
  },
10153
- "message": {
10154
- "description": "Template message",
10155
- "name": "message",
10082
+ "recipient": {
10083
+ "description": "Existing recipient ID",
10084
+ "name": "recipient",
10156
10085
  "hasDynamicHelp": false,
10157
10086
  "multiple": false,
10158
10087
  "type": "option"
10159
10088
  },
10160
- "color": {
10161
- "description": "Template color as HEX",
10162
- "name": "color",
10089
+ "email": {
10090
+ "description": "Customer email",
10091
+ "name": "email",
10163
10092
  "hasDynamicHelp": false,
10164
10093
  "multiple": false,
10165
10094
  "type": "option"
10166
10095
  },
10167
- "status": {
10168
- "description": "Template is active",
10169
- "name": "status",
10170
- "allowNo": true,
10171
- "type": "boolean"
10172
- },
10173
- "remove-media": {
10174
- "description": "Remove existing media",
10175
- "name": "remove-media",
10176
- "allowNo": false,
10177
- "type": "boolean"
10178
- },
10179
- "whatsapp-language": {
10180
- "description": "WhatsApp template language",
10181
- "name": "whatsapp-language",
10096
+ "name": {
10097
+ "description": "Customer name",
10098
+ "name": "name",
10182
10099
  "hasDynamicHelp": false,
10183
10100
  "multiple": false,
10184
10101
  "type": "option"
10185
10102
  },
10186
- "buttons": {
10187
- "description": "Buttons JSON array/object",
10188
- "name": "buttons",
10103
+ "priority": {
10104
+ "description": "Ticket priority",
10105
+ "name": "priority",
10189
10106
  "hasDynamicHelp": false,
10190
10107
  "multiple": false,
10191
10108
  "type": "option"
10192
10109
  },
10193
- "header-footer": {
10194
- "description": "Header/footer JSON object",
10195
- "name": "header-footer",
10110
+ "source": {
10111
+ "description": "Ticket source",
10112
+ "name": "source",
10196
10113
  "hasDynamicHelp": false,
10197
10114
  "multiple": false,
10198
10115
  "type": "option"
@@ -10207,7 +10124,7 @@
10207
10124
  },
10208
10125
  "hasDynamicHelp": false,
10209
10126
  "hiddenAliases": [],
10210
- "id": "templates:update",
10127
+ "id": "tickets:create",
10211
10128
  "pluginAlias": "@instantkom/cli",
10212
10129
  "pluginName": "@instantkom/cli",
10213
10130
  "pluginType": "core",
@@ -10217,14 +10134,20 @@
10217
10134
  "relativePath": [
10218
10135
  "dist",
10219
10136
  "commands",
10220
- "templates",
10221
- "update.js"
10137
+ "tickets",
10138
+ "create.js"
10222
10139
  ]
10223
10140
  },
10224
- "templates:validate-import": {
10141
+ "tickets:delete": {
10225
10142
  "aliases": [],
10226
- "args": {},
10227
- "description": "Validate templates import JSON",
10143
+ "args": {
10144
+ "id": {
10145
+ "description": "Ticket ID",
10146
+ "name": "id",
10147
+ "required": true
10148
+ }
10149
+ },
10150
+ "description": "Delete a ticket",
10228
10151
  "flags": {
10229
10152
  "api-key": {
10230
10153
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10288,16 +10211,8 @@
10288
10211
  "multiple": false,
10289
10212
  "type": "option"
10290
10213
  },
10291
- "file": {
10292
- "description": "JSON file path",
10293
- "name": "file",
10294
- "required": true,
10295
- "hasDynamicHelp": false,
10296
- "multiple": false,
10297
- "type": "option"
10298
- },
10299
10214
  "channel": {
10300
- "description": "Target channel ID",
10215
+ "description": "Channel ID",
10301
10216
  "name": "channel",
10302
10217
  "required": true,
10303
10218
  "hasDynamicHelp": false,
@@ -10307,7 +10222,7 @@
10307
10222
  },
10308
10223
  "hasDynamicHelp": false,
10309
10224
  "hiddenAliases": [],
10310
- "id": "templates:validate-import",
10225
+ "id": "tickets:delete",
10311
10226
  "pluginAlias": "@instantkom/cli",
10312
10227
  "pluginName": "@instantkom/cli",
10313
10228
  "pluginType": "core",
@@ -10317,14 +10232,20 @@
10317
10232
  "relativePath": [
10318
10233
  "dist",
10319
10234
  "commands",
10320
- "templates",
10321
- "validate-import.js"
10235
+ "tickets",
10236
+ "delete.js"
10322
10237
  ]
10323
10238
  },
10324
- "tickets:create": {
10239
+ "tickets:get": {
10325
10240
  "aliases": [],
10326
- "args": {},
10327
- "description": "Create a ticket",
10241
+ "args": {
10242
+ "id": {
10243
+ "description": "Ticket ID",
10244
+ "name": "id",
10245
+ "required": true
10246
+ }
10247
+ },
10248
+ "description": "Get a ticket by ID",
10328
10249
  "flags": {
10329
10250
  "api-key": {
10330
10251
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10395,53 +10316,111 @@
10395
10316
  "hasDynamicHelp": false,
10396
10317
  "multiple": false,
10397
10318
  "type": "option"
10398
- },
10399
- "subject": {
10400
- "description": "Ticket subject",
10401
- "name": "subject",
10402
- "required": true,
10319
+ }
10320
+ },
10321
+ "hasDynamicHelp": false,
10322
+ "hiddenAliases": [],
10323
+ "id": "tickets:get",
10324
+ "pluginAlias": "@instantkom/cli",
10325
+ "pluginName": "@instantkom/cli",
10326
+ "pluginType": "core",
10327
+ "strict": true,
10328
+ "enableJsonFlag": false,
10329
+ "isESM": true,
10330
+ "relativePath": [
10331
+ "dist",
10332
+ "commands",
10333
+ "tickets",
10334
+ "get.js"
10335
+ ]
10336
+ },
10337
+ "tickets:list": {
10338
+ "aliases": [],
10339
+ "args": {},
10340
+ "description": "List tickets for a channel",
10341
+ "flags": {
10342
+ "api-key": {
10343
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
10344
+ "env": "IKM_API_KEY",
10345
+ "helpGroup": "GLOBAL",
10346
+ "name": "api-key",
10403
10347
  "hasDynamicHelp": false,
10404
10348
  "multiple": false,
10405
10349
  "type": "option"
10406
10350
  },
10407
- "recipient": {
10408
- "description": "Existing recipient ID",
10409
- "name": "recipient",
10351
+ "format": {
10352
+ "description": "Output format: text, json, yaml, or table",
10353
+ "helpGroup": "GLOBAL",
10354
+ "name": "format",
10355
+ "default": "text",
10410
10356
  "hasDynamicHelp": false,
10411
10357
  "multiple": false,
10358
+ "options": [
10359
+ "text",
10360
+ "json",
10361
+ "yaml",
10362
+ "table"
10363
+ ],
10412
10364
  "type": "option"
10413
10365
  },
10414
- "email": {
10415
- "description": "Customer email",
10416
- "name": "email",
10366
+ "json": {
10367
+ "description": "Output in JSON format (alias for --format=json)",
10368
+ "helpGroup": "GLOBAL",
10369
+ "name": "json",
10370
+ "allowNo": false,
10371
+ "type": "boolean"
10372
+ },
10373
+ "quiet": {
10374
+ "description": "Suppress all output except errors",
10375
+ "helpGroup": "GLOBAL",
10376
+ "name": "quiet",
10377
+ "allowNo": false,
10378
+ "type": "boolean"
10379
+ },
10380
+ "no-color": {
10381
+ "description": "Disable color output",
10382
+ "helpGroup": "GLOBAL",
10383
+ "name": "no-color",
10384
+ "allowNo": false,
10385
+ "type": "boolean"
10386
+ },
10387
+ "profile": {
10388
+ "description": "Named configuration profile to use",
10389
+ "helpGroup": "GLOBAL",
10390
+ "name": "profile",
10391
+ "default": "default",
10417
10392
  "hasDynamicHelp": false,
10418
10393
  "multiple": false,
10419
10394
  "type": "option"
10420
10395
  },
10421
- "name": {
10422
- "description": "Customer name",
10423
- "name": "name",
10396
+ "api-url": {
10397
+ "description": "Override the API base URL (e.g. for staging)",
10398
+ "helpGroup": "GLOBAL",
10399
+ "name": "api-url",
10424
10400
  "hasDynamicHelp": false,
10425
10401
  "multiple": false,
10426
10402
  "type": "option"
10427
10403
  },
10428
- "priority": {
10429
- "description": "Ticket priority",
10430
- "name": "priority",
10404
+ "channel": {
10405
+ "description": "Channel ID",
10406
+ "name": "channel",
10407
+ "required": true,
10431
10408
  "hasDynamicHelp": false,
10432
10409
  "multiple": false,
10433
10410
  "type": "option"
10434
10411
  },
10435
- "source": {
10436
- "description": "Ticket source",
10437
- "name": "source",
10412
+ "limit": {
10413
+ "description": "Maximum tickets to return",
10414
+ "name": "limit",
10415
+ "default": 500,
10438
10416
  "hasDynamicHelp": false,
10439
10417
  "multiple": false,
10440
10418
  "type": "option"
10441
10419
  },
10442
- "data": {
10443
- "description": "Additional JSON object payload",
10444
- "name": "data",
10420
+ "offset": {
10421
+ "description": "Number of tickets to skip",
10422
+ "name": "offset",
10423
+ "default": 0,
10445
10424
  "hasDynamicHelp": false,
10446
10425
  "multiple": false,
10447
10426
  "type": "option"
@@ -10449,7 +10428,7 @@
10449
10428
  },
10450
10429
  "hasDynamicHelp": false,
10451
10430
  "hiddenAliases": [],
10452
- "id": "tickets:create",
10431
+ "id": "tickets:list",
10453
10432
  "pluginAlias": "@instantkom/cli",
10454
10433
  "pluginName": "@instantkom/cli",
10455
10434
  "pluginType": "core",
@@ -10460,10 +10439,10 @@
10460
10439
  "dist",
10461
10440
  "commands",
10462
10441
  "tickets",
10463
- "create.js"
10442
+ "list.js"
10464
10443
  ]
10465
10444
  },
10466
- "tickets:delete": {
10445
+ "tickets:reply": {
10467
10446
  "aliases": [],
10468
10447
  "args": {
10469
10448
  "id": {
@@ -10472,7 +10451,7 @@
10472
10451
  "required": true
10473
10452
  }
10474
10453
  },
10475
- "description": "Delete a ticket",
10454
+ "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.",
10476
10455
  "flags": {
10477
10456
  "api-key": {
10478
10457
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10536,18 +10515,24 @@
10536
10515
  "multiple": false,
10537
10516
  "type": "option"
10538
10517
  },
10539
- "channel": {
10540
- "description": "Channel ID",
10541
- "name": "channel",
10518
+ "message": {
10519
+ "description": "Reply body (raw text, no salutation or sign-off)",
10520
+ "name": "message",
10542
10521
  "required": true,
10543
10522
  "hasDynamicHelp": false,
10544
10523
  "multiple": false,
10545
10524
  "type": "option"
10525
+ },
10526
+ "close": {
10527
+ "description": "Close the ticket after sending the reply",
10528
+ "name": "close",
10529
+ "allowNo": false,
10530
+ "type": "boolean"
10546
10531
  }
10547
10532
  },
10548
10533
  "hasDynamicHelp": false,
10549
10534
  "hiddenAliases": [],
10550
- "id": "tickets:delete",
10535
+ "id": "tickets:reply",
10551
10536
  "pluginAlias": "@instantkom/cli",
10552
10537
  "pluginName": "@instantkom/cli",
10553
10538
  "pluginType": "core",
@@ -10558,10 +10543,10 @@
10558
10543
  "dist",
10559
10544
  "commands",
10560
10545
  "tickets",
10561
- "delete.js"
10546
+ "reply.js"
10562
10547
  ]
10563
10548
  },
10564
- "tickets:get": {
10549
+ "tickets:update": {
10565
10550
  "aliases": [],
10566
10551
  "args": {
10567
10552
  "id": {
@@ -10570,7 +10555,7 @@
10570
10555
  "required": true
10571
10556
  }
10572
10557
  },
10573
- "description": "Get a ticket by ID",
10558
+ "description": "Update a ticket",
10574
10559
  "flags": {
10575
10560
  "api-key": {
10576
10561
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10641,11 +10626,52 @@
10641
10626
  "hasDynamicHelp": false,
10642
10627
  "multiple": false,
10643
10628
  "type": "option"
10629
+ },
10630
+ "subject": {
10631
+ "description": "Ticket subject",
10632
+ "name": "subject",
10633
+ "hasDynamicHelp": false,
10634
+ "multiple": false,
10635
+ "type": "option"
10636
+ },
10637
+ "priority": {
10638
+ "description": "Ticket priority",
10639
+ "name": "priority",
10640
+ "hasDynamicHelp": false,
10641
+ "multiple": false,
10642
+ "type": "option"
10643
+ },
10644
+ "status": {
10645
+ "description": "Ticket status",
10646
+ "name": "status",
10647
+ "hasDynamicHelp": false,
10648
+ "multiple": false,
10649
+ "type": "option"
10650
+ },
10651
+ "assigned-to": {
10652
+ "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
10653
+ "name": "assigned-to",
10654
+ "hasDynamicHelp": false,
10655
+ "multiple": false,
10656
+ "type": "option"
10657
+ },
10658
+ "notify": {
10659
+ "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.",
10660
+ "name": "notify",
10661
+ "allowNo": true,
10662
+ "type": "boolean"
10663
+ },
10664
+ "data": {
10665
+ "description": "Additional JSON object payload",
10666
+ "name": "data",
10667
+ "hasDynamicHelp": false,
10668
+ "multiple": false,
10669
+ "type": "option"
10644
10670
  }
10645
10671
  },
10646
10672
  "hasDynamicHelp": false,
10647
10673
  "hiddenAliases": [],
10648
- "id": "tickets:get",
10674
+ "id": "tickets:update",
10649
10675
  "pluginAlias": "@instantkom/cli",
10650
10676
  "pluginName": "@instantkom/cli",
10651
10677
  "pluginType": "core",
@@ -10656,13 +10682,13 @@
10656
10682
  "dist",
10657
10683
  "commands",
10658
10684
  "tickets",
10659
- "get.js"
10685
+ "update.js"
10660
10686
  ]
10661
10687
  },
10662
- "tickets:list": {
10688
+ "webhooks:add": {
10663
10689
  "aliases": [],
10664
10690
  "args": {},
10665
- "description": "List tickets for a channel",
10691
+ "description": "Add a webhook subscription",
10666
10692
  "flags": {
10667
10693
  "api-key": {
10668
10694
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10726,26 +10752,25 @@
10726
10752
  "multiple": false,
10727
10753
  "type": "option"
10728
10754
  },
10729
- "channel": {
10730
- "description": "Channel ID",
10731
- "name": "channel",
10755
+ "event": {
10756
+ "description": "Webhook event to subscribe to",
10757
+ "name": "event",
10732
10758
  "required": true,
10733
10759
  "hasDynamicHelp": false,
10734
10760
  "multiple": false,
10761
+ "options": [
10762
+ "new_contact",
10763
+ "new_message",
10764
+ "broadcast_sent",
10765
+ "contact_updated",
10766
+ "contact_opted_out"
10767
+ ],
10735
10768
  "type": "option"
10736
10769
  },
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,
10770
+ "url": {
10771
+ "description": "HTTPS target URL that receives webhook POSTs",
10772
+ "name": "url",
10773
+ "required": true,
10749
10774
  "hasDynamicHelp": false,
10750
10775
  "multiple": false,
10751
10776
  "type": "option"
@@ -10753,7 +10778,7 @@
10753
10778
  },
10754
10779
  "hasDynamicHelp": false,
10755
10780
  "hiddenAliases": [],
10756
- "id": "tickets:list",
10781
+ "id": "webhooks:add",
10757
10782
  "pluginAlias": "@instantkom/cli",
10758
10783
  "pluginName": "@instantkom/cli",
10759
10784
  "pluginType": "core",
@@ -10763,20 +10788,14 @@
10763
10788
  "relativePath": [
10764
10789
  "dist",
10765
10790
  "commands",
10766
- "tickets",
10767
- "list.js"
10791
+ "webhooks",
10792
+ "add.js"
10768
10793
  ]
10769
10794
  },
10770
- "tickets:reply": {
10795
+ "webhooks:events": {
10771
10796
  "aliases": [],
10772
- "args": {
10773
- "id": {
10774
- "description": "Ticket ID",
10775
- "name": "id",
10776
- "required": true
10777
- }
10778
- },
10779
- "description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only; the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
10797
+ "args": {},
10798
+ "description": "List supported webhook event names",
10780
10799
  "flags": {
10781
10800
  "api-key": {
10782
10801
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10839,25 +10858,11 @@
10839
10858
  "hasDynamicHelp": false,
10840
10859
  "multiple": false,
10841
10860
  "type": "option"
10842
- },
10843
- "message": {
10844
- "description": "Reply body (raw text, no salutation or sign-off)",
10845
- "name": "message",
10846
- "required": true,
10847
- "hasDynamicHelp": false,
10848
- "multiple": false,
10849
- "type": "option"
10850
- },
10851
- "close": {
10852
- "description": "Close the ticket after sending the reply",
10853
- "name": "close",
10854
- "allowNo": false,
10855
- "type": "boolean"
10856
10861
  }
10857
10862
  },
10858
10863
  "hasDynamicHelp": false,
10859
10864
  "hiddenAliases": [],
10860
- "id": "tickets:reply",
10865
+ "id": "webhooks:events",
10861
10866
  "pluginAlias": "@instantkom/cli",
10862
10867
  "pluginName": "@instantkom/cli",
10863
10868
  "pluginType": "core",
@@ -10867,20 +10872,14 @@
10867
10872
  "relativePath": [
10868
10873
  "dist",
10869
10874
  "commands",
10870
- "tickets",
10871
- "reply.js"
10875
+ "webhooks",
10876
+ "events.js"
10872
10877
  ]
10873
10878
  },
10874
- "tickets:update": {
10879
+ "webhooks:list": {
10875
10880
  "aliases": [],
10876
- "args": {
10877
- "id": {
10878
- "description": "Ticket ID",
10879
- "name": "id",
10880
- "required": true
10881
- }
10882
- },
10883
- "description": "Update a ticket",
10881
+ "args": {},
10882
+ "description": "List webhook subscriptions",
10884
10883
  "flags": {
10885
10884
  "api-key": {
10886
10885
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -10943,60 +10942,11 @@
10943
10942
  "hasDynamicHelp": false,
10944
10943
  "multiple": false,
10945
10944
  "type": "option"
10946
- },
10947
- "channel": {
10948
- "description": "Channel ID",
10949
- "name": "channel",
10950
- "required": true,
10951
- "hasDynamicHelp": false,
10952
- "multiple": false,
10953
- "type": "option"
10954
- },
10955
- "subject": {
10956
- "description": "Ticket subject",
10957
- "name": "subject",
10958
- "hasDynamicHelp": false,
10959
- "multiple": false,
10960
- "type": "option"
10961
- },
10962
- "priority": {
10963
- "description": "Ticket priority",
10964
- "name": "priority",
10965
- "hasDynamicHelp": false,
10966
- "multiple": false,
10967
- "type": "option"
10968
- },
10969
- "status": {
10970
- "description": "Ticket status",
10971
- "name": "status",
10972
- "hasDynamicHelp": false,
10973
- "multiple": false,
10974
- "type": "option"
10975
- },
10976
- "assigned-to": {
10977
- "description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
10978
- "name": "assigned-to",
10979
- "hasDynamicHelp": false,
10980
- "multiple": false,
10981
- "type": "option"
10982
- },
10983
- "notify": {
10984
- "description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
10985
- "name": "notify",
10986
- "allowNo": true,
10987
- "type": "boolean"
10988
- },
10989
- "data": {
10990
- "description": "Additional JSON object payload",
10991
- "name": "data",
10992
- "hasDynamicHelp": false,
10993
- "multiple": false,
10994
- "type": "option"
10995
10945
  }
10996
10946
  },
10997
10947
  "hasDynamicHelp": false,
10998
10948
  "hiddenAliases": [],
10999
- "id": "tickets:update",
10949
+ "id": "webhooks:list",
11000
10950
  "pluginAlias": "@instantkom/cli",
11001
10951
  "pluginName": "@instantkom/cli",
11002
10952
  "pluginType": "core",
@@ -11006,14 +10956,14 @@
11006
10956
  "relativePath": [
11007
10957
  "dist",
11008
10958
  "commands",
11009
- "tickets",
11010
- "update.js"
10959
+ "webhooks",
10960
+ "list.js"
11011
10961
  ]
11012
10962
  },
11013
- "webhooks:add": {
10963
+ "webhooks:logs": {
11014
10964
  "aliases": [],
11015
10965
  "args": {},
11016
- "description": "Add a webhook subscription",
10966
+ "description": "Explain webhook log availability",
11017
10967
  "flags": {
11018
10968
  "api-key": {
11019
10969
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11076,34 +11026,11 @@
11076
11026
  "hasDynamicHelp": false,
11077
11027
  "multiple": false,
11078
11028
  "type": "option"
11079
- },
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",
11098
- "required": true,
11099
- "hasDynamicHelp": false,
11100
- "multiple": false,
11101
- "type": "option"
11102
11029
  }
11103
11030
  },
11104
11031
  "hasDynamicHelp": false,
11105
11032
  "hiddenAliases": [],
11106
- "id": "webhooks:add",
11033
+ "id": "webhooks:logs",
11107
11034
  "pluginAlias": "@instantkom/cli",
11108
11035
  "pluginName": "@instantkom/cli",
11109
11036
  "pluginType": "core",
@@ -11114,13 +11041,19 @@
11114
11041
  "dist",
11115
11042
  "commands",
11116
11043
  "webhooks",
11117
- "add.js"
11044
+ "logs.js"
11118
11045
  ]
11119
11046
  },
11120
- "webhooks:events": {
11047
+ "webhooks:remove": {
11121
11048
  "aliases": [],
11122
- "args": {},
11123
- "description": "List supported webhook event names",
11049
+ "args": {
11050
+ "id": {
11051
+ "description": "Webhook subscription ID",
11052
+ "name": "id",
11053
+ "required": true
11054
+ }
11055
+ },
11056
+ "description": "Remove a webhook subscription",
11124
11057
  "flags": {
11125
11058
  "api-key": {
11126
11059
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11187,7 +11120,7 @@
11187
11120
  },
11188
11121
  "hasDynamicHelp": false,
11189
11122
  "hiddenAliases": [],
11190
- "id": "webhooks:events",
11123
+ "id": "webhooks:remove",
11191
11124
  "pluginAlias": "@instantkom/cli",
11192
11125
  "pluginName": "@instantkom/cli",
11193
11126
  "pluginType": "core",
@@ -11198,13 +11131,13 @@
11198
11131
  "dist",
11199
11132
  "commands",
11200
11133
  "webhooks",
11201
- "events.js"
11134
+ "remove.js"
11202
11135
  ]
11203
11136
  },
11204
- "webhooks:list": {
11137
+ "webhooks:test": {
11205
11138
  "aliases": [],
11206
11139
  "args": {},
11207
- "description": "List webhook subscriptions",
11140
+ "description": "Send a test webhook payload to a URL",
11208
11141
  "flags": {
11209
11142
  "api-key": {
11210
11143
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11267,11 +11200,34 @@
11267
11200
  "hasDynamicHelp": false,
11268
11201
  "multiple": false,
11269
11202
  "type": "option"
11203
+ },
11204
+ "url": {
11205
+ "description": "Webhook URL to call",
11206
+ "name": "url",
11207
+ "required": true,
11208
+ "hasDynamicHelp": false,
11209
+ "multiple": false,
11210
+ "type": "option"
11211
+ },
11212
+ "event": {
11213
+ "description": "Event name",
11214
+ "name": "event",
11215
+ "default": "cli.test",
11216
+ "hasDynamicHelp": false,
11217
+ "multiple": false,
11218
+ "type": "option"
11219
+ },
11220
+ "payload": {
11221
+ "description": "Payload JSON",
11222
+ "name": "payload",
11223
+ "hasDynamicHelp": false,
11224
+ "multiple": false,
11225
+ "type": "option"
11270
11226
  }
11271
11227
  },
11272
11228
  "hasDynamicHelp": false,
11273
11229
  "hiddenAliases": [],
11274
- "id": "webhooks:list",
11230
+ "id": "webhooks:test",
11275
11231
  "pluginAlias": "@instantkom/cli",
11276
11232
  "pluginName": "@instantkom/cli",
11277
11233
  "pluginType": "core",
@@ -11282,13 +11238,13 @@
11282
11238
  "dist",
11283
11239
  "commands",
11284
11240
  "webhooks",
11285
- "list.js"
11241
+ "test.js"
11286
11242
  ]
11287
11243
  },
11288
- "webhooks:logs": {
11244
+ "team:create": {
11289
11245
  "aliases": [],
11290
11246
  "args": {},
11291
- "description": "Explain webhook log availability",
11247
+ "description": "Create a team member",
11292
11248
  "flags": {
11293
11249
  "api-key": {
11294
11250
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11321,33 +11277,100 @@
11321
11277
  "allowNo": false,
11322
11278
  "type": "boolean"
11323
11279
  },
11324
- "quiet": {
11325
- "description": "Suppress all output except errors",
11326
- "helpGroup": "GLOBAL",
11327
- "name": "quiet",
11328
- "allowNo": false,
11329
- "type": "boolean"
11280
+ "quiet": {
11281
+ "description": "Suppress all output except errors",
11282
+ "helpGroup": "GLOBAL",
11283
+ "name": "quiet",
11284
+ "allowNo": false,
11285
+ "type": "boolean"
11286
+ },
11287
+ "no-color": {
11288
+ "description": "Disable color output",
11289
+ "helpGroup": "GLOBAL",
11290
+ "name": "no-color",
11291
+ "allowNo": false,
11292
+ "type": "boolean"
11293
+ },
11294
+ "profile": {
11295
+ "description": "Named configuration profile to use",
11296
+ "helpGroup": "GLOBAL",
11297
+ "name": "profile",
11298
+ "default": "default",
11299
+ "hasDynamicHelp": false,
11300
+ "multiple": false,
11301
+ "type": "option"
11302
+ },
11303
+ "api-url": {
11304
+ "description": "Override the API base URL (e.g. for staging)",
11305
+ "helpGroup": "GLOBAL",
11306
+ "name": "api-url",
11307
+ "hasDynamicHelp": false,
11308
+ "multiple": false,
11309
+ "type": "option"
11310
+ },
11311
+ "email": {
11312
+ "description": "Email address",
11313
+ "name": "email",
11314
+ "required": true,
11315
+ "hasDynamicHelp": false,
11316
+ "multiple": false,
11317
+ "type": "option"
11318
+ },
11319
+ "first-name": {
11320
+ "description": "First name",
11321
+ "name": "first-name",
11322
+ "required": true,
11323
+ "hasDynamicHelp": false,
11324
+ "multiple": false,
11325
+ "type": "option"
11326
+ },
11327
+ "last-name": {
11328
+ "description": "Last name",
11329
+ "name": "last-name",
11330
+ "required": true,
11331
+ "hasDynamicHelp": false,
11332
+ "multiple": false,
11333
+ "type": "option"
11334
+ },
11335
+ "password": {
11336
+ "description": "Initial password",
11337
+ "name": "password",
11338
+ "required": true,
11339
+ "hasDynamicHelp": false,
11340
+ "multiple": false,
11341
+ "type": "option"
11342
+ },
11343
+ "phone": {
11344
+ "description": "Phone number",
11345
+ "name": "phone",
11346
+ "hasDynamicHelp": false,
11347
+ "multiple": false,
11348
+ "type": "option"
11349
+ },
11350
+ "company": {
11351
+ "description": "Company name",
11352
+ "name": "company",
11353
+ "hasDynamicHelp": false,
11354
+ "multiple": false,
11355
+ "type": "option"
11330
11356
  },
11331
- "no-color": {
11332
- "description": "Disable color output",
11333
- "helpGroup": "GLOBAL",
11334
- "name": "no-color",
11335
- "allowNo": false,
11336
- "type": "boolean"
11357
+ "color": {
11358
+ "description": "Color as HEX",
11359
+ "name": "color",
11360
+ "hasDynamicHelp": false,
11361
+ "multiple": false,
11362
+ "type": "option"
11337
11363
  },
11338
- "profile": {
11339
- "description": "Named configuration profile to use",
11340
- "helpGroup": "GLOBAL",
11341
- "name": "profile",
11342
- "default": "default",
11364
+ "folder": {
11365
+ "description": "Object folder ID",
11366
+ "name": "folder",
11343
11367
  "hasDynamicHelp": false,
11344
11368
  "multiple": false,
11345
11369
  "type": "option"
11346
11370
  },
11347
- "api-url": {
11348
- "description": "Override the API base URL (e.g. for staging)",
11349
- "helpGroup": "GLOBAL",
11350
- "name": "api-url",
11371
+ "data": {
11372
+ "description": "Additional JSON object payload",
11373
+ "name": "data",
11351
11374
  "hasDynamicHelp": false,
11352
11375
  "multiple": false,
11353
11376
  "type": "option"
@@ -11355,7 +11378,7 @@
11355
11378
  },
11356
11379
  "hasDynamicHelp": false,
11357
11380
  "hiddenAliases": [],
11358
- "id": "webhooks:logs",
11381
+ "id": "team:create",
11359
11382
  "pluginAlias": "@instantkom/cli",
11360
11383
  "pluginName": "@instantkom/cli",
11361
11384
  "pluginType": "core",
@@ -11365,20 +11388,20 @@
11365
11388
  "relativePath": [
11366
11389
  "dist",
11367
11390
  "commands",
11368
- "webhooks",
11369
- "logs.js"
11391
+ "team",
11392
+ "create.js"
11370
11393
  ]
11371
11394
  },
11372
- "webhooks:remove": {
11395
+ "team:delete": {
11373
11396
  "aliases": [],
11374
11397
  "args": {
11375
11398
  "id": {
11376
- "description": "Webhook subscription ID",
11399
+ "description": "Team member ID",
11377
11400
  "name": "id",
11378
11401
  "required": true
11379
11402
  }
11380
11403
  },
11381
- "description": "Remove a webhook subscription",
11404
+ "description": "Delete a team member",
11382
11405
  "flags": {
11383
11406
  "api-key": {
11384
11407
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11445,7 +11468,7 @@
11445
11468
  },
11446
11469
  "hasDynamicHelp": false,
11447
11470
  "hiddenAliases": [],
11448
- "id": "webhooks:remove",
11471
+ "id": "team:delete",
11449
11472
  "pluginAlias": "@instantkom/cli",
11450
11473
  "pluginName": "@instantkom/cli",
11451
11474
  "pluginType": "core",
@@ -11455,14 +11478,14 @@
11455
11478
  "relativePath": [
11456
11479
  "dist",
11457
11480
  "commands",
11458
- "webhooks",
11459
- "remove.js"
11481
+ "team",
11482
+ "delete.js"
11460
11483
  ]
11461
11484
  },
11462
- "webhooks:test": {
11485
+ "team:list": {
11463
11486
  "aliases": [],
11464
11487
  "args": {},
11465
- "description": "Send a test webhook payload to a URL",
11488
+ "description": "List team members",
11466
11489
  "flags": {
11467
11490
  "api-key": {
11468
11491
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -11525,34 +11548,11 @@
11525
11548
  "hasDynamicHelp": false,
11526
11549
  "multiple": false,
11527
11550
  "type": "option"
11528
- },
11529
- "url": {
11530
- "description": "Webhook URL to call",
11531
- "name": "url",
11532
- "required": true,
11533
- "hasDynamicHelp": false,
11534
- "multiple": false,
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": "webhooks:test",
11555
+ "id": "team:list",
11556
11556
  "pluginAlias": "@instantkom/cli",
11557
11557
  "pluginName": "@instantkom/cli",
11558
11558
  "pluginType": "core",
@@ -11562,8 +11562,8 @@
11562
11562
  "relativePath": [
11563
11563
  "dist",
11564
11564
  "commands",
11565
- "webhooks",
11566
- "test.js"
11565
+ "team",
11566
+ "list.js"
11567
11567
  ]
11568
11568
  },
11569
11569
  "auth:tokens:create": {
@@ -12046,16 +12046,178 @@
12046
12046
  "update.js"
12047
12047
  ]
12048
12048
  },
12049
- "bots:env-vars:bots": {
12049
+ "bots:filters:create": {
12050
12050
  "aliases": [],
12051
12051
  "args": {
12052
- "id": {
12053
- "description": "Environment variable ID",
12054
- "name": "id",
12052
+ "botId": {
12053
+ "description": "Bot ID",
12054
+ "name": "botId",
12055
+ "required": true
12056
+ }
12057
+ },
12058
+ "description": "Create a bot filter",
12059
+ "flags": {
12060
+ "api-key": {
12061
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
12062
+ "env": "IKM_API_KEY",
12063
+ "helpGroup": "GLOBAL",
12064
+ "name": "api-key",
12065
+ "hasDynamicHelp": false,
12066
+ "multiple": false,
12067
+ "type": "option"
12068
+ },
12069
+ "format": {
12070
+ "description": "Output format: text, json, yaml, or table",
12071
+ "helpGroup": "GLOBAL",
12072
+ "name": "format",
12073
+ "default": "text",
12074
+ "hasDynamicHelp": false,
12075
+ "multiple": false,
12076
+ "options": [
12077
+ "text",
12078
+ "json",
12079
+ "yaml",
12080
+ "table"
12081
+ ],
12082
+ "type": "option"
12083
+ },
12084
+ "json": {
12085
+ "description": "Output in JSON format (alias for --format=json)",
12086
+ "helpGroup": "GLOBAL",
12087
+ "name": "json",
12088
+ "allowNo": false,
12089
+ "type": "boolean"
12090
+ },
12091
+ "quiet": {
12092
+ "description": "Suppress all output except errors",
12093
+ "helpGroup": "GLOBAL",
12094
+ "name": "quiet",
12095
+ "allowNo": false,
12096
+ "type": "boolean"
12097
+ },
12098
+ "no-color": {
12099
+ "description": "Disable color output",
12100
+ "helpGroup": "GLOBAL",
12101
+ "name": "no-color",
12102
+ "allowNo": false,
12103
+ "type": "boolean"
12104
+ },
12105
+ "profile": {
12106
+ "description": "Named configuration profile to use",
12107
+ "helpGroup": "GLOBAL",
12108
+ "name": "profile",
12109
+ "default": "default",
12110
+ "hasDynamicHelp": false,
12111
+ "multiple": false,
12112
+ "type": "option"
12113
+ },
12114
+ "api-url": {
12115
+ "description": "Override the API base URL (e.g. for staging)",
12116
+ "helpGroup": "GLOBAL",
12117
+ "name": "api-url",
12118
+ "hasDynamicHelp": false,
12119
+ "multiple": false,
12120
+ "type": "option"
12121
+ },
12122
+ "name": {
12123
+ "description": "Filter name",
12124
+ "name": "name",
12125
+ "required": true,
12126
+ "hasDynamicHelp": false,
12127
+ "multiple": false,
12128
+ "type": "option"
12129
+ },
12130
+ "operator": {
12131
+ "description": "Logical operator",
12132
+ "name": "operator",
12133
+ "default": "and",
12134
+ "hasDynamicHelp": false,
12135
+ "multiple": false,
12136
+ "type": "option"
12137
+ },
12138
+ "filter-object": {
12139
+ "description": "Filter object type",
12140
+ "name": "filter-object",
12141
+ "default": "msg",
12142
+ "hasDynamicHelp": false,
12143
+ "multiple": false,
12144
+ "type": "option"
12145
+ },
12146
+ "filter-attribute": {
12147
+ "description": "Filter attribute",
12148
+ "name": "filter-attribute",
12149
+ "default": "text",
12150
+ "hasDynamicHelp": false,
12151
+ "multiple": false,
12152
+ "type": "option"
12153
+ },
12154
+ "filter-comparator": {
12155
+ "description": "Filter comparator",
12156
+ "name": "filter-comparator",
12157
+ "default": "contains",
12158
+ "hasDynamicHelp": false,
12159
+ "multiple": false,
12160
+ "type": "option"
12161
+ },
12162
+ "filter-value": {
12163
+ "description": "Filter value",
12164
+ "name": "filter-value",
12165
+ "required": true,
12166
+ "hasDynamicHelp": false,
12167
+ "multiple": false,
12168
+ "type": "option"
12169
+ },
12170
+ "status": {
12171
+ "description": "Status: 0 inactive, 1 active",
12172
+ "name": "status",
12173
+ "hasDynamicHelp": false,
12174
+ "multiple": false,
12175
+ "options": [
12176
+ "0",
12177
+ "1"
12178
+ ],
12179
+ "type": "option"
12180
+ },
12181
+ "data": {
12182
+ "description": "Additional JSON object payload",
12183
+ "name": "data",
12184
+ "hasDynamicHelp": false,
12185
+ "multiple": false,
12186
+ "type": "option"
12187
+ }
12188
+ },
12189
+ "hasDynamicHelp": false,
12190
+ "hiddenAliases": [],
12191
+ "id": "bots:filters:create",
12192
+ "pluginAlias": "@instantkom/cli",
12193
+ "pluginName": "@instantkom/cli",
12194
+ "pluginType": "core",
12195
+ "strict": true,
12196
+ "enableJsonFlag": false,
12197
+ "isESM": true,
12198
+ "relativePath": [
12199
+ "dist",
12200
+ "commands",
12201
+ "bots",
12202
+ "filters",
12203
+ "create.js"
12204
+ ]
12205
+ },
12206
+ "bots:filters:delete": {
12207
+ "aliases": [],
12208
+ "args": {
12209
+ "botId": {
12210
+ "description": "Bot ID",
12211
+ "name": "botId",
12212
+ "required": true
12213
+ },
12214
+ "filterId": {
12215
+ "description": "Filter ID",
12216
+ "name": "filterId",
12055
12217
  "required": true
12056
12218
  }
12057
12219
  },
12058
- "description": "List bots using a bot environment variable",
12220
+ "description": "Delete a bot filter",
12059
12221
  "flags": {
12060
12222
  "api-key": {
12061
12223
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12122,7 +12284,7 @@
12122
12284
  },
12123
12285
  "hasDynamicHelp": false,
12124
12286
  "hiddenAliases": [],
12125
- "id": "bots:env-vars:bots",
12287
+ "id": "bots:filters:delete",
12126
12288
  "pluginAlias": "@instantkom/cli",
12127
12289
  "pluginName": "@instantkom/cli",
12128
12290
  "pluginType": "core",
@@ -12133,14 +12295,25 @@
12133
12295
  "dist",
12134
12296
  "commands",
12135
12297
  "bots",
12136
- "env-vars",
12137
- "bots.js"
12298
+ "filters",
12299
+ "delete.js"
12138
12300
  ]
12139
12301
  },
12140
- "bots:env-vars:create": {
12302
+ "bots:filters:get": {
12141
12303
  "aliases": [],
12142
- "args": {},
12143
- "description": "Create a bot environment variable",
12304
+ "args": {
12305
+ "botId": {
12306
+ "description": "Bot ID",
12307
+ "name": "botId",
12308
+ "required": true
12309
+ },
12310
+ "filterId": {
12311
+ "description": "Filter ID",
12312
+ "name": "filterId",
12313
+ "required": true
12314
+ }
12315
+ },
12316
+ "description": "Get a bot filter",
12144
12317
  "flags": {
12145
12318
  "api-key": {
12146
12319
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12203,40 +12376,11 @@
12203
12376
  "hasDynamicHelp": false,
12204
12377
  "multiple": false,
12205
12378
  "type": "option"
12206
- },
12207
- "key": {
12208
- "description": "Variable key (max 16 chars, letters, digits, underscore)",
12209
- "name": "key",
12210
- "required": true,
12211
- "hasDynamicHelp": false,
12212
- "multiple": false,
12213
- "type": "option"
12214
- },
12215
- "description": {
12216
- "description": "Variable description",
12217
- "name": "description",
12218
- "hasDynamicHelp": false,
12219
- "multiple": false,
12220
- "type": "option"
12221
- },
12222
- "color": {
12223
- "description": "Variable color as HEX",
12224
- "name": "color",
12225
- "hasDynamicHelp": false,
12226
- "multiple": false,
12227
- "type": "option"
12228
- },
12229
- "data": {
12230
- "description": "Additional JSON object payload",
12231
- "name": "data",
12232
- "hasDynamicHelp": false,
12233
- "multiple": false,
12234
- "type": "option"
12235
12379
  }
12236
12380
  },
12237
12381
  "hasDynamicHelp": false,
12238
12382
  "hiddenAliases": [],
12239
- "id": "bots:env-vars:create",
12383
+ "id": "bots:filters:get",
12240
12384
  "pluginAlias": "@instantkom/cli",
12241
12385
  "pluginName": "@instantkom/cli",
12242
12386
  "pluginType": "core",
@@ -12247,20 +12391,20 @@
12247
12391
  "dist",
12248
12392
  "commands",
12249
12393
  "bots",
12250
- "env-vars",
12251
- "create.js"
12394
+ "filters",
12395
+ "get.js"
12252
12396
  ]
12253
12397
  },
12254
- "bots:env-vars:delete": {
12398
+ "bots:filters:list": {
12255
12399
  "aliases": [],
12256
12400
  "args": {
12257
- "id": {
12258
- "description": "Environment variable ID",
12259
- "name": "id",
12401
+ "botId": {
12402
+ "description": "Bot ID",
12403
+ "name": "botId",
12260
12404
  "required": true
12261
12405
  }
12262
12406
  },
12263
- "description": "Delete a bot environment variable",
12407
+ "description": "List bot filters",
12264
12408
  "flags": {
12265
12409
  "api-key": {
12266
12410
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12323,11 +12467,45 @@
12323
12467
  "hasDynamicHelp": false,
12324
12468
  "multiple": false,
12325
12469
  "type": "option"
12470
+ },
12471
+ "page": {
12472
+ "description": "Page number",
12473
+ "name": "page",
12474
+ "default": 1,
12475
+ "hasDynamicHelp": false,
12476
+ "multiple": false,
12477
+ "type": "option"
12478
+ },
12479
+ "limit": {
12480
+ "description": "Items per page",
12481
+ "name": "limit",
12482
+ "default": 20,
12483
+ "hasDynamicHelp": false,
12484
+ "multiple": false,
12485
+ "type": "option"
12486
+ },
12487
+ "status": {
12488
+ "description": "Status filter: 0 inactive, 1 active",
12489
+ "name": "status",
12490
+ "hasDynamicHelp": false,
12491
+ "multiple": false,
12492
+ "options": [
12493
+ "0",
12494
+ "1"
12495
+ ],
12496
+ "type": "option"
12497
+ },
12498
+ "search": {
12499
+ "description": "Search in name or description",
12500
+ "name": "search",
12501
+ "hasDynamicHelp": false,
12502
+ "multiple": false,
12503
+ "type": "option"
12326
12504
  }
12327
12505
  },
12328
12506
  "hasDynamicHelp": false,
12329
12507
  "hiddenAliases": [],
12330
- "id": "bots:env-vars:delete",
12508
+ "id": "bots:filters:list",
12331
12509
  "pluginAlias": "@instantkom/cli",
12332
12510
  "pluginName": "@instantkom/cli",
12333
12511
  "pluginType": "core",
@@ -12338,20 +12516,25 @@
12338
12516
  "dist",
12339
12517
  "commands",
12340
12518
  "bots",
12341
- "env-vars",
12342
- "delete.js"
12519
+ "filters",
12520
+ "list.js"
12343
12521
  ]
12344
12522
  },
12345
- "bots:env-vars:get": {
12523
+ "bots:filters:update": {
12346
12524
  "aliases": [],
12347
12525
  "args": {
12348
- "id": {
12349
- "description": "Environment variable ID",
12350
- "name": "id",
12526
+ "botId": {
12527
+ "description": "Bot ID",
12528
+ "name": "botId",
12529
+ "required": true
12530
+ },
12531
+ "filterId": {
12532
+ "description": "Filter ID",
12533
+ "name": "filterId",
12351
12534
  "required": true
12352
12535
  }
12353
12536
  },
12354
- "description": "Get a bot environment variable",
12537
+ "description": "Update a bot filter",
12355
12538
  "flags": {
12356
12539
  "api-key": {
12357
12540
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12414,11 +12597,71 @@
12414
12597
  "hasDynamicHelp": false,
12415
12598
  "multiple": false,
12416
12599
  "type": "option"
12600
+ },
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",
12639
+ "hasDynamicHelp": false,
12640
+ "multiple": false,
12641
+ "type": "option"
12642
+ },
12643
+ "status": {
12644
+ "description": "Status: 0 inactive, 1 active",
12645
+ "name": "status",
12646
+ "hasDynamicHelp": false,
12647
+ "multiple": false,
12648
+ "options": [
12649
+ "0",
12650
+ "1"
12651
+ ],
12652
+ "type": "option"
12653
+ },
12654
+ "data": {
12655
+ "description": "Additional JSON object payload",
12656
+ "name": "data",
12657
+ "hasDynamicHelp": false,
12658
+ "multiple": false,
12659
+ "type": "option"
12417
12660
  }
12418
12661
  },
12419
12662
  "hasDynamicHelp": false,
12420
12663
  "hiddenAliases": [],
12421
- "id": "bots:env-vars:get",
12664
+ "id": "bots:filters:update",
12422
12665
  "pluginAlias": "@instantkom/cli",
12423
12666
  "pluginName": "@instantkom/cli",
12424
12667
  "pluginType": "core",
@@ -12429,14 +12672,25 @@
12429
12672
  "dist",
12430
12673
  "commands",
12431
12674
  "bots",
12432
- "env-vars",
12433
- "get.js"
12675
+ "filters",
12676
+ "update.js"
12434
12677
  ]
12435
12678
  },
12436
- "bots:env-vars:list": {
12679
+ "bots:tags:add": {
12437
12680
  "aliases": [],
12438
- "args": {},
12439
- "description": "List bot environment variables",
12681
+ "args": {
12682
+ "id": {
12683
+ "description": "Bot ID",
12684
+ "name": "id",
12685
+ "required": true
12686
+ },
12687
+ "tagId": {
12688
+ "description": "Tag ID",
12689
+ "name": "tagId",
12690
+ "required": true
12691
+ }
12692
+ },
12693
+ "description": "Add a tag to a bot",
12440
12694
  "flags": {
12441
12695
  "api-key": {
12442
12696
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12473,59 +12727,29 @@
12473
12727
  "description": "Suppress all output except errors",
12474
12728
  "helpGroup": "GLOBAL",
12475
12729
  "name": "quiet",
12476
- "allowNo": false,
12477
- "type": "boolean"
12478
- },
12479
- "no-color": {
12480
- "description": "Disable color output",
12481
- "helpGroup": "GLOBAL",
12482
- "name": "no-color",
12483
- "allowNo": false,
12484
- "type": "boolean"
12485
- },
12486
- "profile": {
12487
- "description": "Named configuration profile to use",
12488
- "helpGroup": "GLOBAL",
12489
- "name": "profile",
12490
- "default": "default",
12491
- "hasDynamicHelp": false,
12492
- "multiple": false,
12493
- "type": "option"
12494
- },
12495
- "api-url": {
12496
- "description": "Override the API base URL (e.g. for staging)",
12497
- "helpGroup": "GLOBAL",
12498
- "name": "api-url",
12499
- "hasDynamicHelp": false,
12500
- "multiple": false,
12501
- "type": "option"
12502
- },
12503
- "page": {
12504
- "description": "Page number",
12505
- "name": "page",
12506
- "default": 1,
12507
- "hasDynamicHelp": false,
12508
- "multiple": false,
12509
- "type": "option"
12510
- },
12511
- "limit": {
12512
- "description": "Items per page",
12513
- "name": "limit",
12514
- "default": 20,
12515
- "hasDynamicHelp": false,
12516
- "multiple": false,
12517
- "type": "option"
12730
+ "allowNo": false,
12731
+ "type": "boolean"
12518
12732
  },
12519
- "search": {
12520
- "description": "Search in key or description",
12521
- "name": "search",
12733
+ "no-color": {
12734
+ "description": "Disable color output",
12735
+ "helpGroup": "GLOBAL",
12736
+ "name": "no-color",
12737
+ "allowNo": false,
12738
+ "type": "boolean"
12739
+ },
12740
+ "profile": {
12741
+ "description": "Named configuration profile to use",
12742
+ "helpGroup": "GLOBAL",
12743
+ "name": "profile",
12744
+ "default": "default",
12522
12745
  "hasDynamicHelp": false,
12523
12746
  "multiple": false,
12524
12747
  "type": "option"
12525
12748
  },
12526
- "color": {
12527
- "description": "Filter by color",
12528
- "name": "color",
12749
+ "api-url": {
12750
+ "description": "Override the API base URL (e.g. for staging)",
12751
+ "helpGroup": "GLOBAL",
12752
+ "name": "api-url",
12529
12753
  "hasDynamicHelp": false,
12530
12754
  "multiple": false,
12531
12755
  "type": "option"
@@ -12533,7 +12757,7 @@
12533
12757
  },
12534
12758
  "hasDynamicHelp": false,
12535
12759
  "hiddenAliases": [],
12536
- "id": "bots:env-vars:list",
12760
+ "id": "bots:tags:add",
12537
12761
  "pluginAlias": "@instantkom/cli",
12538
12762
  "pluginName": "@instantkom/cli",
12539
12763
  "pluginType": "core",
@@ -12544,20 +12768,20 @@
12544
12768
  "dist",
12545
12769
  "commands",
12546
12770
  "bots",
12547
- "env-vars",
12548
- "list.js"
12771
+ "tags",
12772
+ "add.js"
12549
12773
  ]
12550
12774
  },
12551
- "bots:env-vars:update": {
12775
+ "bots:tags:list": {
12552
12776
  "aliases": [],
12553
12777
  "args": {
12554
12778
  "id": {
12555
- "description": "Environment variable ID",
12779
+ "description": "Bot ID",
12556
12780
  "name": "id",
12557
12781
  "required": true
12558
12782
  }
12559
12783
  },
12560
- "description": "Update a bot environment variable",
12784
+ "description": "List tags assigned to a bot",
12561
12785
  "flags": {
12562
12786
  "api-key": {
12563
12787
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12620,32 +12844,11 @@
12620
12844
  "hasDynamicHelp": false,
12621
12845
  "multiple": false,
12622
12846
  "type": "option"
12623
- },
12624
- "description": {
12625
- "description": "Variable description",
12626
- "name": "description",
12627
- "hasDynamicHelp": false,
12628
- "multiple": false,
12629
- "type": "option"
12630
- },
12631
- "color": {
12632
- "description": "Variable color as HEX",
12633
- "name": "color",
12634
- "hasDynamicHelp": false,
12635
- "multiple": false,
12636
- "type": "option"
12637
- },
12638
- "data": {
12639
- "description": "Additional JSON object payload",
12640
- "name": "data",
12641
- "hasDynamicHelp": false,
12642
- "multiple": false,
12643
- "type": "option"
12644
12847
  }
12645
12848
  },
12646
12849
  "hasDynamicHelp": false,
12647
12850
  "hiddenAliases": [],
12648
- "id": "bots:env-vars:update",
12851
+ "id": "bots:tags:list",
12649
12852
  "pluginAlias": "@instantkom/cli",
12650
12853
  "pluginName": "@instantkom/cli",
12651
12854
  "pluginType": "core",
@@ -12656,20 +12859,25 @@
12656
12859
  "dist",
12657
12860
  "commands",
12658
12861
  "bots",
12659
- "env-vars",
12660
- "update.js"
12862
+ "tags",
12863
+ "list.js"
12661
12864
  ]
12662
12865
  },
12663
- "bots:env-vars:values": {
12866
+ "bots:tags:remove": {
12664
12867
  "aliases": [],
12665
12868
  "args": {
12666
12869
  "id": {
12667
- "description": "Environment variable ID",
12870
+ "description": "Bot ID",
12668
12871
  "name": "id",
12669
12872
  "required": true
12873
+ },
12874
+ "tagId": {
12875
+ "description": "Tag ID",
12876
+ "name": "tagId",
12877
+ "required": true
12670
12878
  }
12671
12879
  },
12672
- "description": "List recipient values for a bot environment variable",
12880
+ "description": "Remove a tag from a bot",
12673
12881
  "flags": {
12674
12882
  "api-key": {
12675
12883
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12732,41 +12940,11 @@
12732
12940
  "hasDynamicHelp": false,
12733
12941
  "multiple": false,
12734
12942
  "type": "option"
12735
- },
12736
- "page": {
12737
- "description": "Page number",
12738
- "name": "page",
12739
- "default": 1,
12740
- "hasDynamicHelp": false,
12741
- "multiple": false,
12742
- "type": "option"
12743
- },
12744
- "limit": {
12745
- "description": "Items per page",
12746
- "name": "limit",
12747
- "default": 20,
12748
- "hasDynamicHelp": false,
12749
- "multiple": false,
12750
- "type": "option"
12751
- },
12752
- "search": {
12753
- "description": "Search in recipient name or identifier",
12754
- "name": "search",
12755
- "hasDynamicHelp": false,
12756
- "multiple": false,
12757
- "type": "option"
12758
- },
12759
- "recipient": {
12760
- "description": "Filter by recipient ID",
12761
- "name": "recipient",
12762
- "hasDynamicHelp": false,
12763
- "multiple": false,
12764
- "type": "option"
12765
12943
  }
12766
12944
  },
12767
12945
  "hasDynamicHelp": false,
12768
12946
  "hiddenAliases": [],
12769
- "id": "bots:env-vars:values",
12947
+ "id": "bots:tags:remove",
12770
12948
  "pluginAlias": "@instantkom/cli",
12771
12949
  "pluginName": "@instantkom/cli",
12772
12950
  "pluginType": "core",
@@ -12777,20 +12955,20 @@
12777
12955
  "dist",
12778
12956
  "commands",
12779
12957
  "bots",
12780
- "env-vars",
12781
- "values.js"
12958
+ "tags",
12959
+ "remove.js"
12782
12960
  ]
12783
12961
  },
12784
- "bots:filters:create": {
12962
+ "bots:env-vars:bots": {
12785
12963
  "aliases": [],
12786
12964
  "args": {
12787
- "botId": {
12788
- "description": "Bot ID",
12789
- "name": "botId",
12965
+ "id": {
12966
+ "description": "Environment variable ID",
12967
+ "name": "id",
12790
12968
  "required": true
12791
12969
  }
12792
12970
  },
12793
- "description": "Create a bot filter",
12971
+ "description": "List bots using a bot environment variable",
12794
12972
  "flags": {
12795
12973
  "api-key": {
12796
12974
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12853,77 +13031,11 @@
12853
13031
  "hasDynamicHelp": false,
12854
13032
  "multiple": false,
12855
13033
  "type": "option"
12856
- },
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",
12893
- "hasDynamicHelp": false,
12894
- "multiple": false,
12895
- "type": "option"
12896
- },
12897
- "filter-value": {
12898
- "description": "Filter value",
12899
- "name": "filter-value",
12900
- "required": true,
12901
- "hasDynamicHelp": false,
12902
- "multiple": false,
12903
- "type": "option"
12904
- },
12905
- "status": {
12906
- "description": "Status: 0 inactive, 1 active",
12907
- "name": "status",
12908
- "hasDynamicHelp": false,
12909
- "multiple": false,
12910
- "options": [
12911
- "0",
12912
- "1"
12913
- ],
12914
- "type": "option"
12915
- },
12916
- "data": {
12917
- "description": "Additional JSON object payload",
12918
- "name": "data",
12919
- "hasDynamicHelp": false,
12920
- "multiple": false,
12921
- "type": "option"
12922
13034
  }
12923
13035
  },
12924
13036
  "hasDynamicHelp": false,
12925
13037
  "hiddenAliases": [],
12926
- "id": "bots:filters:create",
13038
+ "id": "bots:env-vars:bots",
12927
13039
  "pluginAlias": "@instantkom/cli",
12928
13040
  "pluginName": "@instantkom/cli",
12929
13041
  "pluginType": "core",
@@ -12934,25 +13046,14 @@
12934
13046
  "dist",
12935
13047
  "commands",
12936
13048
  "bots",
12937
- "filters",
12938
- "create.js"
13049
+ "env-vars",
13050
+ "bots.js"
12939
13051
  ]
12940
13052
  },
12941
- "bots:filters:delete": {
13053
+ "bots:env-vars:create": {
12942
13054
  "aliases": [],
12943
- "args": {
12944
- "botId": {
12945
- "description": "Bot ID",
12946
- "name": "botId",
12947
- "required": true
12948
- },
12949
- "filterId": {
12950
- "description": "Filter ID",
12951
- "name": "filterId",
12952
- "required": true
12953
- }
12954
- },
12955
- "description": "Delete a bot filter",
13055
+ "args": {},
13056
+ "description": "Create a bot environment variable",
12956
13057
  "flags": {
12957
13058
  "api-key": {
12958
13059
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13015,11 +13116,40 @@
13015
13116
  "hasDynamicHelp": false,
13016
13117
  "multiple": false,
13017
13118
  "type": "option"
13119
+ },
13120
+ "key": {
13121
+ "description": "Variable key (max 16 chars, letters, digits, underscore)",
13122
+ "name": "key",
13123
+ "required": true,
13124
+ "hasDynamicHelp": false,
13125
+ "multiple": false,
13126
+ "type": "option"
13127
+ },
13128
+ "description": {
13129
+ "description": "Variable description",
13130
+ "name": "description",
13131
+ "hasDynamicHelp": false,
13132
+ "multiple": false,
13133
+ "type": "option"
13134
+ },
13135
+ "color": {
13136
+ "description": "Variable color as HEX",
13137
+ "name": "color",
13138
+ "hasDynamicHelp": false,
13139
+ "multiple": false,
13140
+ "type": "option"
13141
+ },
13142
+ "data": {
13143
+ "description": "Additional JSON object payload",
13144
+ "name": "data",
13145
+ "hasDynamicHelp": false,
13146
+ "multiple": false,
13147
+ "type": "option"
13018
13148
  }
13019
13149
  },
13020
13150
  "hasDynamicHelp": false,
13021
13151
  "hiddenAliases": [],
13022
- "id": "bots:filters:delete",
13152
+ "id": "bots:env-vars:create",
13023
13153
  "pluginAlias": "@instantkom/cli",
13024
13154
  "pluginName": "@instantkom/cli",
13025
13155
  "pluginType": "core",
@@ -13030,25 +13160,20 @@
13030
13160
  "dist",
13031
13161
  "commands",
13032
13162
  "bots",
13033
- "filters",
13034
- "delete.js"
13163
+ "env-vars",
13164
+ "create.js"
13035
13165
  ]
13036
13166
  },
13037
- "bots:filters:get": {
13167
+ "bots:env-vars:delete": {
13038
13168
  "aliases": [],
13039
13169
  "args": {
13040
- "botId": {
13041
- "description": "Bot ID",
13042
- "name": "botId",
13043
- "required": true
13044
- },
13045
- "filterId": {
13046
- "description": "Filter ID",
13047
- "name": "filterId",
13170
+ "id": {
13171
+ "description": "Environment variable ID",
13172
+ "name": "id",
13048
13173
  "required": true
13049
13174
  }
13050
13175
  },
13051
- "description": "Get a bot filter",
13176
+ "description": "Delete a bot environment variable",
13052
13177
  "flags": {
13053
13178
  "api-key": {
13054
13179
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13115,7 +13240,7 @@
13115
13240
  },
13116
13241
  "hasDynamicHelp": false,
13117
13242
  "hiddenAliases": [],
13118
- "id": "bots:filters:get",
13243
+ "id": "bots:env-vars:delete",
13119
13244
  "pluginAlias": "@instantkom/cli",
13120
13245
  "pluginName": "@instantkom/cli",
13121
13246
  "pluginType": "core",
@@ -13126,20 +13251,20 @@
13126
13251
  "dist",
13127
13252
  "commands",
13128
13253
  "bots",
13129
- "filters",
13130
- "get.js"
13254
+ "env-vars",
13255
+ "delete.js"
13131
13256
  ]
13132
13257
  },
13133
- "bots:filters:list": {
13258
+ "bots:env-vars:get": {
13134
13259
  "aliases": [],
13135
13260
  "args": {
13136
- "botId": {
13137
- "description": "Bot ID",
13138
- "name": "botId",
13261
+ "id": {
13262
+ "description": "Environment variable ID",
13263
+ "name": "id",
13139
13264
  "required": true
13140
13265
  }
13141
13266
  },
13142
- "description": "List bot filters",
13267
+ "description": "Get a bot environment variable",
13143
13268
  "flags": {
13144
13269
  "api-key": {
13145
13270
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13202,45 +13327,11 @@
13202
13327
  "hasDynamicHelp": false,
13203
13328
  "multiple": false,
13204
13329
  "type": "option"
13205
- },
13206
- "page": {
13207
- "description": "Page number",
13208
- "name": "page",
13209
- "default": 1,
13210
- "hasDynamicHelp": false,
13211
- "multiple": false,
13212
- "type": "option"
13213
- },
13214
- "limit": {
13215
- "description": "Items per page",
13216
- "name": "limit",
13217
- "default": 20,
13218
- "hasDynamicHelp": false,
13219
- "multiple": false,
13220
- "type": "option"
13221
- },
13222
- "status": {
13223
- "description": "Status filter: 0 inactive, 1 active",
13224
- "name": "status",
13225
- "hasDynamicHelp": false,
13226
- "multiple": false,
13227
- "options": [
13228
- "0",
13229
- "1"
13230
- ],
13231
- "type": "option"
13232
- },
13233
- "search": {
13234
- "description": "Search in name or description",
13235
- "name": "search",
13236
- "hasDynamicHelp": false,
13237
- "multiple": false,
13238
- "type": "option"
13239
13330
  }
13240
13331
  },
13241
13332
  "hasDynamicHelp": false,
13242
13333
  "hiddenAliases": [],
13243
- "id": "bots:filters:list",
13334
+ "id": "bots:env-vars:get",
13244
13335
  "pluginAlias": "@instantkom/cli",
13245
13336
  "pluginName": "@instantkom/cli",
13246
13337
  "pluginType": "core",
@@ -13251,25 +13342,14 @@
13251
13342
  "dist",
13252
13343
  "commands",
13253
13344
  "bots",
13254
- "filters",
13255
- "list.js"
13345
+ "env-vars",
13346
+ "get.js"
13256
13347
  ]
13257
13348
  },
13258
- "bots:filters:update": {
13349
+ "bots:env-vars:list": {
13259
13350
  "aliases": [],
13260
- "args": {
13261
- "botId": {
13262
- "description": "Bot ID",
13263
- "name": "botId",
13264
- "required": true
13265
- },
13266
- "filterId": {
13267
- "description": "Filter ID",
13268
- "name": "filterId",
13269
- "required": true
13270
- }
13271
- },
13272
- "description": "Update a bot filter",
13351
+ "args": {},
13352
+ "description": "List bot environment variables",
13273
13353
  "flags": {
13274
13354
  "api-key": {
13275
13355
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13333,62 +13413,32 @@
13333
13413
  "multiple": false,
13334
13414
  "type": "option"
13335
13415
  },
13336
- "name": {
13337
- "description": "Filter name",
13338
- "name": "name",
13339
- "hasDynamicHelp": false,
13340
- "multiple": false,
13341
- "type": "option"
13342
- },
13343
- "operator": {
13344
- "description": "Logical operator",
13345
- "name": "operator",
13346
- "hasDynamicHelp": false,
13347
- "multiple": false,
13348
- "type": "option"
13349
- },
13350
- "filter-object": {
13351
- "description": "Filter object type",
13352
- "name": "filter-object",
13353
- "hasDynamicHelp": false,
13354
- "multiple": false,
13355
- "type": "option"
13356
- },
13357
- "filter-attribute": {
13358
- "description": "Filter attribute",
13359
- "name": "filter-attribute",
13360
- "hasDynamicHelp": false,
13361
- "multiple": false,
13362
- "type": "option"
13363
- },
13364
- "filter-comparator": {
13365
- "description": "Filter comparator",
13366
- "name": "filter-comparator",
13416
+ "page": {
13417
+ "description": "Page number",
13418
+ "name": "page",
13419
+ "default": 1,
13367
13420
  "hasDynamicHelp": false,
13368
13421
  "multiple": false,
13369
13422
  "type": "option"
13370
13423
  },
13371
- "filter-value": {
13372
- "description": "Filter value",
13373
- "name": "filter-value",
13424
+ "limit": {
13425
+ "description": "Items per page",
13426
+ "name": "limit",
13427
+ "default": 20,
13374
13428
  "hasDynamicHelp": false,
13375
13429
  "multiple": false,
13376
13430
  "type": "option"
13377
13431
  },
13378
- "status": {
13379
- "description": "Status: 0 inactive, 1 active",
13380
- "name": "status",
13432
+ "search": {
13433
+ "description": "Search in key or description",
13434
+ "name": "search",
13381
13435
  "hasDynamicHelp": false,
13382
13436
  "multiple": false,
13383
- "options": [
13384
- "0",
13385
- "1"
13386
- ],
13387
13437
  "type": "option"
13388
13438
  },
13389
- "data": {
13390
- "description": "Additional JSON object payload",
13391
- "name": "data",
13439
+ "color": {
13440
+ "description": "Filter by color",
13441
+ "name": "color",
13392
13442
  "hasDynamicHelp": false,
13393
13443
  "multiple": false,
13394
13444
  "type": "option"
@@ -13396,7 +13446,7 @@
13396
13446
  },
13397
13447
  "hasDynamicHelp": false,
13398
13448
  "hiddenAliases": [],
13399
- "id": "bots:filters:update",
13449
+ "id": "bots:env-vars:list",
13400
13450
  "pluginAlias": "@instantkom/cli",
13401
13451
  "pluginName": "@instantkom/cli",
13402
13452
  "pluginType": "core",
@@ -13407,25 +13457,20 @@
13407
13457
  "dist",
13408
13458
  "commands",
13409
13459
  "bots",
13410
- "filters",
13411
- "update.js"
13460
+ "env-vars",
13461
+ "list.js"
13412
13462
  ]
13413
13463
  },
13414
- "bots:tags:add": {
13464
+ "bots:env-vars:update": {
13415
13465
  "aliases": [],
13416
13466
  "args": {
13417
13467
  "id": {
13418
- "description": "Bot ID",
13468
+ "description": "Environment variable ID",
13419
13469
  "name": "id",
13420
13470
  "required": true
13421
- },
13422
- "tagId": {
13423
- "description": "Tag ID",
13424
- "name": "tagId",
13425
- "required": true
13426
13471
  }
13427
13472
  },
13428
- "description": "Add a tag to a bot",
13473
+ "description": "Update a bot environment variable",
13429
13474
  "flags": {
13430
13475
  "api-key": {
13431
13476
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13488,94 +13533,24 @@
13488
13533
  "hasDynamicHelp": false,
13489
13534
  "multiple": false,
13490
13535
  "type": "option"
13491
- }
13492
- },
13493
- "hasDynamicHelp": false,
13494
- "hiddenAliases": [],
13495
- "id": "bots:tags:add",
13496
- "pluginAlias": "@instantkom/cli",
13497
- "pluginName": "@instantkom/cli",
13498
- "pluginType": "core",
13499
- "strict": true,
13500
- "enableJsonFlag": false,
13501
- "isESM": true,
13502
- "relativePath": [
13503
- "dist",
13504
- "commands",
13505
- "bots",
13506
- "tags",
13507
- "add.js"
13508
- ]
13509
- },
13510
- "bots:tags:list": {
13511
- "aliases": [],
13512
- "args": {
13513
- "id": {
13514
- "description": "Bot ID",
13515
- "name": "id",
13516
- "required": true
13517
- }
13518
- },
13519
- "description": "List tags assigned to a bot",
13520
- "flags": {
13521
- "api-key": {
13522
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
13523
- "env": "IKM_API_KEY",
13524
- "helpGroup": "GLOBAL",
13525
- "name": "api-key",
13526
- "hasDynamicHelp": false,
13527
- "multiple": false,
13528
- "type": "option"
13529
13536
  },
13530
- "format": {
13531
- "description": "Output format: text, json, yaml, or table",
13532
- "helpGroup": "GLOBAL",
13533
- "name": "format",
13534
- "default": "text",
13537
+ "description": {
13538
+ "description": "Variable description",
13539
+ "name": "description",
13535
13540
  "hasDynamicHelp": false,
13536
13541
  "multiple": false,
13537
- "options": [
13538
- "text",
13539
- "json",
13540
- "yaml",
13541
- "table"
13542
- ],
13543
13542
  "type": "option"
13544
13543
  },
13545
- "json": {
13546
- "description": "Output in JSON format (alias for --format=json)",
13547
- "helpGroup": "GLOBAL",
13548
- "name": "json",
13549
- "allowNo": false,
13550
- "type": "boolean"
13551
- },
13552
- "quiet": {
13553
- "description": "Suppress all output except errors",
13554
- "helpGroup": "GLOBAL",
13555
- "name": "quiet",
13556
- "allowNo": false,
13557
- "type": "boolean"
13558
- },
13559
- "no-color": {
13560
- "description": "Disable color output",
13561
- "helpGroup": "GLOBAL",
13562
- "name": "no-color",
13563
- "allowNo": false,
13564
- "type": "boolean"
13565
- },
13566
- "profile": {
13567
- "description": "Named configuration profile to use",
13568
- "helpGroup": "GLOBAL",
13569
- "name": "profile",
13570
- "default": "default",
13544
+ "color": {
13545
+ "description": "Variable color as HEX",
13546
+ "name": "color",
13571
13547
  "hasDynamicHelp": false,
13572
13548
  "multiple": false,
13573
13549
  "type": "option"
13574
13550
  },
13575
- "api-url": {
13576
- "description": "Override the API base URL (e.g. for staging)",
13577
- "helpGroup": "GLOBAL",
13578
- "name": "api-url",
13551
+ "data": {
13552
+ "description": "Additional JSON object payload",
13553
+ "name": "data",
13579
13554
  "hasDynamicHelp": false,
13580
13555
  "multiple": false,
13581
13556
  "type": "option"
@@ -13583,7 +13558,7 @@
13583
13558
  },
13584
13559
  "hasDynamicHelp": false,
13585
13560
  "hiddenAliases": [],
13586
- "id": "bots:tags:list",
13561
+ "id": "bots:env-vars:update",
13587
13562
  "pluginAlias": "@instantkom/cli",
13588
13563
  "pluginName": "@instantkom/cli",
13589
13564
  "pluginType": "core",
@@ -13594,25 +13569,20 @@
13594
13569
  "dist",
13595
13570
  "commands",
13596
13571
  "bots",
13597
- "tags",
13598
- "list.js"
13572
+ "env-vars",
13573
+ "update.js"
13599
13574
  ]
13600
13575
  },
13601
- "bots:tags:remove": {
13576
+ "bots:env-vars:values": {
13602
13577
  "aliases": [],
13603
13578
  "args": {
13604
13579
  "id": {
13605
- "description": "Bot ID",
13580
+ "description": "Environment variable ID",
13606
13581
  "name": "id",
13607
13582
  "required": true
13608
- },
13609
- "tagId": {
13610
- "description": "Tag ID",
13611
- "name": "tagId",
13612
- "required": true
13613
13583
  }
13614
13584
  },
13615
- "description": "Remove a tag from a bot",
13585
+ "description": "List recipient values for a bot environment variable",
13616
13586
  "flags": {
13617
13587
  "api-key": {
13618
13588
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13675,11 +13645,41 @@
13675
13645
  "hasDynamicHelp": false,
13676
13646
  "multiple": false,
13677
13647
  "type": "option"
13648
+ },
13649
+ "page": {
13650
+ "description": "Page number",
13651
+ "name": "page",
13652
+ "default": 1,
13653
+ "hasDynamicHelp": false,
13654
+ "multiple": false,
13655
+ "type": "option"
13656
+ },
13657
+ "limit": {
13658
+ "description": "Items per page",
13659
+ "name": "limit",
13660
+ "default": 20,
13661
+ "hasDynamicHelp": false,
13662
+ "multiple": false,
13663
+ "type": "option"
13664
+ },
13665
+ "search": {
13666
+ "description": "Search in recipient name or identifier",
13667
+ "name": "search",
13668
+ "hasDynamicHelp": false,
13669
+ "multiple": false,
13670
+ "type": "option"
13671
+ },
13672
+ "recipient": {
13673
+ "description": "Filter by recipient ID",
13674
+ "name": "recipient",
13675
+ "hasDynamicHelp": false,
13676
+ "multiple": false,
13677
+ "type": "option"
13678
13678
  }
13679
13679
  },
13680
13680
  "hasDynamicHelp": false,
13681
13681
  "hiddenAliases": [],
13682
- "id": "bots:tags:remove",
13682
+ "id": "bots:env-vars:values",
13683
13683
  "pluginAlias": "@instantkom/cli",
13684
13684
  "pluginName": "@instantkom/cli",
13685
13685
  "pluginType": "core",
@@ -13690,8 +13690,8 @@
13690
13690
  "dist",
13691
13691
  "commands",
13692
13692
  "bots",
13693
- "tags",
13694
- "remove.js"
13693
+ "env-vars",
13694
+ "values.js"
13695
13695
  ]
13696
13696
  },
13697
13697
  "contacts:custom-fields:delete-value": {
@@ -14380,7 +14380,7 @@
14380
14380
  "remove.js"
14381
14381
  ]
14382
14382
  },
14383
- "flow:edges:create": {
14383
+ "flow:nodes:create": {
14384
14384
  "aliases": [],
14385
14385
  "args": {
14386
14386
  "flowId": {
@@ -14389,7 +14389,7 @@
14389
14389
  "required": true
14390
14390
  }
14391
14391
  },
14392
- "description": "Create a flow edge",
14392
+ "description": "Create a flow node",
14393
14393
  "flags": {
14394
14394
  "api-key": {
14395
14395
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14453,33 +14453,33 @@
14453
14453
  "multiple": false,
14454
14454
  "type": "option"
14455
14455
  },
14456
- "source": {
14457
- "description": "Source node ID",
14458
- "name": "source",
14459
- "required": true,
14456
+ "bot": {
14457
+ "description": "Bot ID",
14458
+ "name": "bot",
14460
14459
  "hasDynamicHelp": false,
14461
14460
  "multiple": false,
14462
14461
  "type": "option"
14463
14462
  },
14464
- "target": {
14465
- "description": "Target node ID",
14466
- "name": "target",
14463
+ "type": {
14464
+ "description": "Node type",
14465
+ "name": "type",
14467
14466
  "required": true,
14468
14467
  "hasDynamicHelp": false,
14469
14468
  "multiple": false,
14470
14469
  "type": "option"
14471
14470
  },
14472
- "label": {
14473
- "description": "Edge label",
14474
- "name": "label",
14471
+ "x": {
14472
+ "description": "X position",
14473
+ "name": "x",
14474
+ "required": true,
14475
14475
  "hasDynamicHelp": false,
14476
14476
  "multiple": false,
14477
14477
  "type": "option"
14478
14478
  },
14479
- "type": {
14480
- "description": "Edge type",
14481
- "name": "type",
14482
- "default": "default",
14479
+ "y": {
14480
+ "description": "Y position",
14481
+ "name": "y",
14482
+ "required": true,
14483
14483
  "hasDynamicHelp": false,
14484
14484
  "multiple": false,
14485
14485
  "type": "option"
@@ -14494,7 +14494,7 @@
14494
14494
  },
14495
14495
  "hasDynamicHelp": false,
14496
14496
  "hiddenAliases": [],
14497
- "id": "flow:edges:create",
14497
+ "id": "flow:nodes:create",
14498
14498
  "pluginAlias": "@instantkom/cli",
14499
14499
  "pluginName": "@instantkom/cli",
14500
14500
  "pluginType": "core",
@@ -14505,11 +14505,11 @@
14505
14505
  "dist",
14506
14506
  "commands",
14507
14507
  "flow",
14508
- "edges",
14508
+ "nodes",
14509
14509
  "create.js"
14510
14510
  ]
14511
14511
  },
14512
- "flow:edges:delete": {
14512
+ "flow:nodes:delete": {
14513
14513
  "aliases": [],
14514
14514
  "args": {
14515
14515
  "flowId": {
@@ -14517,13 +14517,13 @@
14517
14517
  "name": "flowId",
14518
14518
  "required": true
14519
14519
  },
14520
- "edgeId": {
14521
- "description": "Edge ID",
14522
- "name": "edgeId",
14520
+ "nodeId": {
14521
+ "description": "Node ID",
14522
+ "name": "nodeId",
14523
14523
  "required": true
14524
14524
  }
14525
14525
  },
14526
- "description": "Delete a flow edge",
14526
+ "description": "Delete a flow node",
14527
14527
  "flags": {
14528
14528
  "api-key": {
14529
14529
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14590,7 +14590,7 @@
14590
14590
  },
14591
14591
  "hasDynamicHelp": false,
14592
14592
  "hiddenAliases": [],
14593
- "id": "flow:edges:delete",
14593
+ "id": "flow:nodes:delete",
14594
14594
  "pluginAlias": "@instantkom/cli",
14595
14595
  "pluginName": "@instantkom/cli",
14596
14596
  "pluginType": "core",
@@ -14601,11 +14601,11 @@
14601
14601
  "dist",
14602
14602
  "commands",
14603
14603
  "flow",
14604
- "edges",
14604
+ "nodes",
14605
14605
  "delete.js"
14606
14606
  ]
14607
14607
  },
14608
- "flow:edges:get": {
14608
+ "flow:nodes:get": {
14609
14609
  "aliases": [],
14610
14610
  "args": {
14611
14611
  "flowId": {
@@ -14613,13 +14613,13 @@
14613
14613
  "name": "flowId",
14614
14614
  "required": true
14615
14615
  },
14616
- "edgeId": {
14617
- "description": "Edge ID",
14618
- "name": "edgeId",
14616
+ "nodeId": {
14617
+ "description": "Node ID",
14618
+ "name": "nodeId",
14619
14619
  "required": true
14620
14620
  }
14621
14621
  },
14622
- "description": "Get a flow edge",
14622
+ "description": "Get a flow node",
14623
14623
  "flags": {
14624
14624
  "api-key": {
14625
14625
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14686,7 +14686,7 @@
14686
14686
  },
14687
14687
  "hasDynamicHelp": false,
14688
14688
  "hiddenAliases": [],
14689
- "id": "flow:edges:get",
14689
+ "id": "flow:nodes:get",
14690
14690
  "pluginAlias": "@instantkom/cli",
14691
14691
  "pluginName": "@instantkom/cli",
14692
14692
  "pluginType": "core",
@@ -14697,11 +14697,11 @@
14697
14697
  "dist",
14698
14698
  "commands",
14699
14699
  "flow",
14700
- "edges",
14700
+ "nodes",
14701
14701
  "get.js"
14702
14702
  ]
14703
14703
  },
14704
- "flow:edges:list": {
14704
+ "flow:nodes:list": {
14705
14705
  "aliases": [],
14706
14706
  "args": {
14707
14707
  "flowId": {
@@ -14710,7 +14710,7 @@
14710
14710
  "required": true
14711
14711
  }
14712
14712
  },
14713
- "description": "List edges in a flow",
14713
+ "description": "List nodes in a flow",
14714
14714
  "flags": {
14715
14715
  "api-key": {
14716
14716
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14777,7 +14777,7 @@
14777
14777
  },
14778
14778
  "hasDynamicHelp": false,
14779
14779
  "hiddenAliases": [],
14780
- "id": "flow:edges:list",
14780
+ "id": "flow:nodes:list",
14781
14781
  "pluginAlias": "@instantkom/cli",
14782
14782
  "pluginName": "@instantkom/cli",
14783
14783
  "pluginType": "core",
@@ -14788,11 +14788,11 @@
14788
14788
  "dist",
14789
14789
  "commands",
14790
14790
  "flow",
14791
- "edges",
14791
+ "nodes",
14792
14792
  "list.js"
14793
14793
  ]
14794
14794
  },
14795
- "flow:edges:update": {
14795
+ "flow:nodes:update": {
14796
14796
  "aliases": [],
14797
14797
  "args": {
14798
14798
  "flowId": {
@@ -14800,13 +14800,13 @@
14800
14800
  "name": "flowId",
14801
14801
  "required": true
14802
14802
  },
14803
- "edgeId": {
14804
- "description": "Edge ID",
14805
- "name": "edgeId",
14803
+ "nodeId": {
14804
+ "description": "Node ID",
14805
+ "name": "nodeId",
14806
14806
  "required": true
14807
14807
  }
14808
14808
  },
14809
- "description": "Update a flow edge",
14809
+ "description": "Update a flow node",
14810
14810
  "flags": {
14811
14811
  "api-key": {
14812
14812
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14870,30 +14870,30 @@
14870
14870
  "multiple": false,
14871
14871
  "type": "option"
14872
14872
  },
14873
- "source": {
14874
- "description": "Source node ID",
14875
- "name": "source",
14873
+ "bot": {
14874
+ "description": "Bot ID",
14875
+ "name": "bot",
14876
14876
  "hasDynamicHelp": false,
14877
14877
  "multiple": false,
14878
14878
  "type": "option"
14879
14879
  },
14880
- "target": {
14881
- "description": "Target node ID",
14882
- "name": "target",
14880
+ "type": {
14881
+ "description": "Node type",
14882
+ "name": "type",
14883
14883
  "hasDynamicHelp": false,
14884
14884
  "multiple": false,
14885
14885
  "type": "option"
14886
14886
  },
14887
- "label": {
14888
- "description": "Edge label",
14889
- "name": "label",
14887
+ "x": {
14888
+ "description": "X position",
14889
+ "name": "x",
14890
14890
  "hasDynamicHelp": false,
14891
14891
  "multiple": false,
14892
14892
  "type": "option"
14893
14893
  },
14894
- "type": {
14895
- "description": "Edge type",
14896
- "name": "type",
14894
+ "y": {
14895
+ "description": "Y position",
14896
+ "name": "y",
14897
14897
  "hasDynamicHelp": false,
14898
14898
  "multiple": false,
14899
14899
  "type": "option"
@@ -14908,7 +14908,7 @@
14908
14908
  },
14909
14909
  "hasDynamicHelp": false,
14910
14910
  "hiddenAliases": [],
14911
- "id": "flow:edges:update",
14911
+ "id": "flow:nodes:update",
14912
14912
  "pluginAlias": "@instantkom/cli",
14913
14913
  "pluginName": "@instantkom/cli",
14914
14914
  "pluginType": "core",
@@ -14919,11 +14919,11 @@
14919
14919
  "dist",
14920
14920
  "commands",
14921
14921
  "flow",
14922
- "edges",
14922
+ "nodes",
14923
14923
  "update.js"
14924
14924
  ]
14925
14925
  },
14926
- "flow:nodes:create": {
14926
+ "flow:edges:create": {
14927
14927
  "aliases": [],
14928
14928
  "args": {
14929
14929
  "flowId": {
@@ -14932,7 +14932,7 @@
14932
14932
  "required": true
14933
14933
  }
14934
14934
  },
14935
- "description": "Create a flow node",
14935
+ "description": "Create a flow edge",
14936
14936
  "flags": {
14937
14937
  "api-key": {
14938
14938
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14996,33 +14996,33 @@
14996
14996
  "multiple": false,
14997
14997
  "type": "option"
14998
14998
  },
14999
- "bot": {
15000
- "description": "Bot ID",
15001
- "name": "bot",
14999
+ "source": {
15000
+ "description": "Source node ID",
15001
+ "name": "source",
15002
+ "required": true,
15002
15003
  "hasDynamicHelp": false,
15003
15004
  "multiple": false,
15004
15005
  "type": "option"
15005
15006
  },
15006
- "type": {
15007
- "description": "Node type",
15008
- "name": "type",
15007
+ "target": {
15008
+ "description": "Target node ID",
15009
+ "name": "target",
15009
15010
  "required": true,
15010
15011
  "hasDynamicHelp": false,
15011
15012
  "multiple": false,
15012
15013
  "type": "option"
15013
15014
  },
15014
- "x": {
15015
- "description": "X position",
15016
- "name": "x",
15017
- "required": true,
15015
+ "label": {
15016
+ "description": "Edge label",
15017
+ "name": "label",
15018
15018
  "hasDynamicHelp": false,
15019
15019
  "multiple": false,
15020
15020
  "type": "option"
15021
15021
  },
15022
- "y": {
15023
- "description": "Y position",
15024
- "name": "y",
15025
- "required": true,
15022
+ "type": {
15023
+ "description": "Edge type",
15024
+ "name": "type",
15025
+ "default": "default",
15026
15026
  "hasDynamicHelp": false,
15027
15027
  "multiple": false,
15028
15028
  "type": "option"
@@ -15037,7 +15037,7 @@
15037
15037
  },
15038
15038
  "hasDynamicHelp": false,
15039
15039
  "hiddenAliases": [],
15040
- "id": "flow:nodes:create",
15040
+ "id": "flow:edges:create",
15041
15041
  "pluginAlias": "@instantkom/cli",
15042
15042
  "pluginName": "@instantkom/cli",
15043
15043
  "pluginType": "core",
@@ -15048,11 +15048,11 @@
15048
15048
  "dist",
15049
15049
  "commands",
15050
15050
  "flow",
15051
- "nodes",
15051
+ "edges",
15052
15052
  "create.js"
15053
15053
  ]
15054
15054
  },
15055
- "flow:nodes:delete": {
15055
+ "flow:edges:delete": {
15056
15056
  "aliases": [],
15057
15057
  "args": {
15058
15058
  "flowId": {
@@ -15060,13 +15060,13 @@
15060
15060
  "name": "flowId",
15061
15061
  "required": true
15062
15062
  },
15063
- "nodeId": {
15064
- "description": "Node ID",
15065
- "name": "nodeId",
15063
+ "edgeId": {
15064
+ "description": "Edge ID",
15065
+ "name": "edgeId",
15066
15066
  "required": true
15067
15067
  }
15068
15068
  },
15069
- "description": "Delete a flow node",
15069
+ "description": "Delete a flow edge",
15070
15070
  "flags": {
15071
15071
  "api-key": {
15072
15072
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15133,7 +15133,7 @@
15133
15133
  },
15134
15134
  "hasDynamicHelp": false,
15135
15135
  "hiddenAliases": [],
15136
- "id": "flow:nodes:delete",
15136
+ "id": "flow:edges:delete",
15137
15137
  "pluginAlias": "@instantkom/cli",
15138
15138
  "pluginName": "@instantkom/cli",
15139
15139
  "pluginType": "core",
@@ -15144,11 +15144,11 @@
15144
15144
  "dist",
15145
15145
  "commands",
15146
15146
  "flow",
15147
- "nodes",
15147
+ "edges",
15148
15148
  "delete.js"
15149
15149
  ]
15150
15150
  },
15151
- "flow:nodes:get": {
15151
+ "flow:edges:get": {
15152
15152
  "aliases": [],
15153
15153
  "args": {
15154
15154
  "flowId": {
@@ -15156,13 +15156,13 @@
15156
15156
  "name": "flowId",
15157
15157
  "required": true
15158
15158
  },
15159
- "nodeId": {
15160
- "description": "Node ID",
15161
- "name": "nodeId",
15159
+ "edgeId": {
15160
+ "description": "Edge ID",
15161
+ "name": "edgeId",
15162
15162
  "required": true
15163
15163
  }
15164
15164
  },
15165
- "description": "Get a flow node",
15165
+ "description": "Get a flow edge",
15166
15166
  "flags": {
15167
15167
  "api-key": {
15168
15168
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15229,7 +15229,7 @@
15229
15229
  },
15230
15230
  "hasDynamicHelp": false,
15231
15231
  "hiddenAliases": [],
15232
- "id": "flow:nodes:get",
15232
+ "id": "flow:edges:get",
15233
15233
  "pluginAlias": "@instantkom/cli",
15234
15234
  "pluginName": "@instantkom/cli",
15235
15235
  "pluginType": "core",
@@ -15240,11 +15240,11 @@
15240
15240
  "dist",
15241
15241
  "commands",
15242
15242
  "flow",
15243
- "nodes",
15243
+ "edges",
15244
15244
  "get.js"
15245
15245
  ]
15246
15246
  },
15247
- "flow:nodes:list": {
15247
+ "flow:edges:list": {
15248
15248
  "aliases": [],
15249
15249
  "args": {
15250
15250
  "flowId": {
@@ -15253,7 +15253,7 @@
15253
15253
  "required": true
15254
15254
  }
15255
15255
  },
15256
- "description": "List nodes in a flow",
15256
+ "description": "List edges in a flow",
15257
15257
  "flags": {
15258
15258
  "api-key": {
15259
15259
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15320,7 +15320,7 @@
15320
15320
  },
15321
15321
  "hasDynamicHelp": false,
15322
15322
  "hiddenAliases": [],
15323
- "id": "flow:nodes:list",
15323
+ "id": "flow:edges:list",
15324
15324
  "pluginAlias": "@instantkom/cli",
15325
15325
  "pluginName": "@instantkom/cli",
15326
15326
  "pluginType": "core",
@@ -15331,11 +15331,11 @@
15331
15331
  "dist",
15332
15332
  "commands",
15333
15333
  "flow",
15334
- "nodes",
15334
+ "edges",
15335
15335
  "list.js"
15336
15336
  ]
15337
15337
  },
15338
- "flow:nodes:update": {
15338
+ "flow:edges:update": {
15339
15339
  "aliases": [],
15340
15340
  "args": {
15341
15341
  "flowId": {
@@ -15343,13 +15343,13 @@
15343
15343
  "name": "flowId",
15344
15344
  "required": true
15345
15345
  },
15346
- "nodeId": {
15347
- "description": "Node ID",
15348
- "name": "nodeId",
15346
+ "edgeId": {
15347
+ "description": "Edge ID",
15348
+ "name": "edgeId",
15349
15349
  "required": true
15350
15350
  }
15351
15351
  },
15352
- "description": "Update a flow node",
15352
+ "description": "Update a flow edge",
15353
15353
  "flags": {
15354
15354
  "api-key": {
15355
15355
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15413,30 +15413,30 @@
15413
15413
  "multiple": false,
15414
15414
  "type": "option"
15415
15415
  },
15416
- "bot": {
15417
- "description": "Bot ID",
15418
- "name": "bot",
15416
+ "source": {
15417
+ "description": "Source node ID",
15418
+ "name": "source",
15419
15419
  "hasDynamicHelp": false,
15420
15420
  "multiple": false,
15421
15421
  "type": "option"
15422
15422
  },
15423
- "type": {
15424
- "description": "Node type",
15425
- "name": "type",
15423
+ "target": {
15424
+ "description": "Target node ID",
15425
+ "name": "target",
15426
15426
  "hasDynamicHelp": false,
15427
15427
  "multiple": false,
15428
15428
  "type": "option"
15429
15429
  },
15430
- "x": {
15431
- "description": "X position",
15432
- "name": "x",
15430
+ "label": {
15431
+ "description": "Edge label",
15432
+ "name": "label",
15433
15433
  "hasDynamicHelp": false,
15434
15434
  "multiple": false,
15435
15435
  "type": "option"
15436
15436
  },
15437
- "y": {
15438
- "description": "Y position",
15439
- "name": "y",
15437
+ "type": {
15438
+ "description": "Edge type",
15439
+ "name": "type",
15440
15440
  "hasDynamicHelp": false,
15441
15441
  "multiple": false,
15442
15442
  "type": "option"
@@ -15451,7 +15451,7 @@
15451
15451
  },
15452
15452
  "hasDynamicHelp": false,
15453
15453
  "hiddenAliases": [],
15454
- "id": "flow:nodes:update",
15454
+ "id": "flow:edges:update",
15455
15455
  "pluginAlias": "@instantkom/cli",
15456
15456
  "pluginName": "@instantkom/cli",
15457
15457
  "pluginType": "core",
@@ -15462,7 +15462,7 @@
15462
15462
  "dist",
15463
15463
  "commands",
15464
15464
  "flow",
15465
- "nodes",
15465
+ "edges",
15466
15466
  "update.js"
15467
15467
  ]
15468
15468
  },
@@ -17052,5 +17052,5 @@
17052
17052
  ]
17053
17053
  }
17054
17054
  },
17055
- "version": "3.185.0"
17055
+ "version": "3.186.0"
17056
17056
  }