@instantkom/cli 3.179.0 → 3.180.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.
- package/npm-shrinkwrap.json +2 -2
- package/oclif.manifest.json +1138 -1138
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -4805,10 +4805,10 @@
|
|
|
4805
4805
|
"update.js"
|
|
4806
4806
|
]
|
|
4807
4807
|
},
|
|
4808
|
-
"
|
|
4808
|
+
"custom-fields:bulk-delete": {
|
|
4809
4809
|
"aliases": [],
|
|
4810
4810
|
"args": {},
|
|
4811
|
-
"description": "
|
|
4811
|
+
"description": "Bulk delete custom fields",
|
|
4812
4812
|
"flags": {
|
|
4813
4813
|
"api-key": {
|
|
4814
4814
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4820,10 +4820,18 @@
|
|
|
4820
4820
|
"type": "option"
|
|
4821
4821
|
},
|
|
4822
4822
|
"format": {
|
|
4823
|
-
"description": "
|
|
4823
|
+
"description": "Output format: text, json, yaml, or table",
|
|
4824
|
+
"helpGroup": "GLOBAL",
|
|
4824
4825
|
"name": "format",
|
|
4826
|
+
"default": "text",
|
|
4825
4827
|
"hasDynamicHelp": false,
|
|
4826
4828
|
"multiple": false,
|
|
4829
|
+
"options": [
|
|
4830
|
+
"text",
|
|
4831
|
+
"json",
|
|
4832
|
+
"yaml",
|
|
4833
|
+
"table"
|
|
4834
|
+
],
|
|
4827
4835
|
"type": "option"
|
|
4828
4836
|
},
|
|
4829
4837
|
"json": {
|
|
@@ -4864,59 +4872,148 @@
|
|
|
4864
4872
|
"multiple": false,
|
|
4865
4873
|
"type": "option"
|
|
4866
4874
|
},
|
|
4867
|
-
"
|
|
4868
|
-
"description": "
|
|
4869
|
-
"name": "
|
|
4875
|
+
"ids": {
|
|
4876
|
+
"description": "Comma-separated custom field IDs",
|
|
4877
|
+
"name": "ids",
|
|
4870
4878
|
"required": true,
|
|
4871
4879
|
"hasDynamicHelp": false,
|
|
4872
4880
|
"multiple": false,
|
|
4873
4881
|
"type": "option"
|
|
4882
|
+
}
|
|
4883
|
+
},
|
|
4884
|
+
"hasDynamicHelp": false,
|
|
4885
|
+
"hiddenAliases": [],
|
|
4886
|
+
"id": "custom-fields:bulk-delete",
|
|
4887
|
+
"pluginAlias": "@instantkom/cli",
|
|
4888
|
+
"pluginName": "@instantkom/cli",
|
|
4889
|
+
"pluginType": "core",
|
|
4890
|
+
"strict": true,
|
|
4891
|
+
"enableJsonFlag": false,
|
|
4892
|
+
"isESM": true,
|
|
4893
|
+
"relativePath": [
|
|
4894
|
+
"dist",
|
|
4895
|
+
"commands",
|
|
4896
|
+
"custom-fields",
|
|
4897
|
+
"bulk-delete.js"
|
|
4898
|
+
]
|
|
4899
|
+
},
|
|
4900
|
+
"custom-fields:create": {
|
|
4901
|
+
"aliases": [],
|
|
4902
|
+
"args": {},
|
|
4903
|
+
"description": "Create a custom field",
|
|
4904
|
+
"flags": {
|
|
4905
|
+
"api-key": {
|
|
4906
|
+
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
4907
|
+
"env": "IKM_API_KEY",
|
|
4908
|
+
"helpGroup": "GLOBAL",
|
|
4909
|
+
"name": "api-key",
|
|
4910
|
+
"hasDynamicHelp": false,
|
|
4911
|
+
"multiple": false,
|
|
4912
|
+
"type": "option"
|
|
4874
4913
|
},
|
|
4875
|
-
"
|
|
4876
|
-
"description": "
|
|
4877
|
-
"
|
|
4914
|
+
"format": {
|
|
4915
|
+
"description": "Output format: text, json, yaml, or table",
|
|
4916
|
+
"helpGroup": "GLOBAL",
|
|
4917
|
+
"name": "format",
|
|
4918
|
+
"default": "text",
|
|
4878
4919
|
"hasDynamicHelp": false,
|
|
4879
4920
|
"multiple": false,
|
|
4921
|
+
"options": [
|
|
4922
|
+
"text",
|
|
4923
|
+
"json",
|
|
4924
|
+
"yaml",
|
|
4925
|
+
"table"
|
|
4926
|
+
],
|
|
4880
4927
|
"type": "option"
|
|
4881
4928
|
},
|
|
4882
|
-
"
|
|
4883
|
-
"description": "
|
|
4884
|
-
"
|
|
4929
|
+
"json": {
|
|
4930
|
+
"description": "Output in JSON format (alias for --format=json)",
|
|
4931
|
+
"helpGroup": "GLOBAL",
|
|
4932
|
+
"name": "json",
|
|
4933
|
+
"allowNo": false,
|
|
4934
|
+
"type": "boolean"
|
|
4935
|
+
},
|
|
4936
|
+
"quiet": {
|
|
4937
|
+
"description": "Suppress all output except errors",
|
|
4938
|
+
"helpGroup": "GLOBAL",
|
|
4939
|
+
"name": "quiet",
|
|
4940
|
+
"allowNo": false,
|
|
4941
|
+
"type": "boolean"
|
|
4942
|
+
},
|
|
4943
|
+
"no-color": {
|
|
4944
|
+
"description": "Disable color output",
|
|
4945
|
+
"helpGroup": "GLOBAL",
|
|
4946
|
+
"name": "no-color",
|
|
4947
|
+
"allowNo": false,
|
|
4948
|
+
"type": "boolean"
|
|
4949
|
+
},
|
|
4950
|
+
"profile": {
|
|
4951
|
+
"description": "Named configuration profile to use",
|
|
4952
|
+
"helpGroup": "GLOBAL",
|
|
4953
|
+
"name": "profile",
|
|
4954
|
+
"default": "default",
|
|
4885
4955
|
"hasDynamicHelp": false,
|
|
4886
4956
|
"multiple": false,
|
|
4887
4957
|
"type": "option"
|
|
4888
4958
|
},
|
|
4889
|
-
"
|
|
4890
|
-
"description": "
|
|
4891
|
-
"
|
|
4959
|
+
"api-url": {
|
|
4960
|
+
"description": "Override the API base URL (e.g. for staging)",
|
|
4961
|
+
"helpGroup": "GLOBAL",
|
|
4962
|
+
"name": "api-url",
|
|
4892
4963
|
"hasDynamicHelp": false,
|
|
4893
4964
|
"multiple": false,
|
|
4894
4965
|
"type": "option"
|
|
4895
4966
|
},
|
|
4896
|
-
"
|
|
4897
|
-
"description": "
|
|
4898
|
-
"name": "
|
|
4967
|
+
"name": {
|
|
4968
|
+
"description": "Field name",
|
|
4969
|
+
"name": "name",
|
|
4970
|
+
"required": true,
|
|
4899
4971
|
"hasDynamicHelp": false,
|
|
4900
4972
|
"multiple": false,
|
|
4901
4973
|
"type": "option"
|
|
4902
4974
|
},
|
|
4903
|
-
"
|
|
4904
|
-
"description": "
|
|
4905
|
-
"name": "
|
|
4975
|
+
"key": {
|
|
4976
|
+
"description": "Field key",
|
|
4977
|
+
"name": "key",
|
|
4978
|
+
"required": true,
|
|
4906
4979
|
"hasDynamicHelp": false,
|
|
4907
4980
|
"multiple": false,
|
|
4908
4981
|
"type": "option"
|
|
4909
4982
|
},
|
|
4910
|
-
"
|
|
4911
|
-
"description": "
|
|
4912
|
-
"name": "
|
|
4983
|
+
"type": {
|
|
4984
|
+
"description": "Field type",
|
|
4985
|
+
"name": "type",
|
|
4986
|
+
"required": true,
|
|
4987
|
+
"hasDynamicHelp": false,
|
|
4988
|
+
"multiple": false,
|
|
4989
|
+
"options": [
|
|
4990
|
+
"text",
|
|
4991
|
+
"number",
|
|
4992
|
+
"date",
|
|
4993
|
+
"dropdown",
|
|
4994
|
+
"checkbox",
|
|
4995
|
+
"url",
|
|
4996
|
+
"email",
|
|
4997
|
+
"phone"
|
|
4998
|
+
],
|
|
4999
|
+
"type": "option"
|
|
5000
|
+
},
|
|
5001
|
+
"required": {
|
|
5002
|
+
"description": "Field is required",
|
|
5003
|
+
"name": "required",
|
|
5004
|
+
"allowNo": false,
|
|
5005
|
+
"type": "boolean"
|
|
5006
|
+
},
|
|
5007
|
+
"default": {
|
|
5008
|
+
"description": "Default value",
|
|
5009
|
+
"name": "default",
|
|
4913
5010
|
"hasDynamicHelp": false,
|
|
4914
5011
|
"multiple": false,
|
|
4915
5012
|
"type": "option"
|
|
4916
5013
|
},
|
|
4917
|
-
"
|
|
4918
|
-
"description": "
|
|
4919
|
-
"name": "
|
|
5014
|
+
"options": {
|
|
5015
|
+
"description": "Comma-separated dropdown options",
|
|
5016
|
+
"name": "options",
|
|
4920
5017
|
"hasDynamicHelp": false,
|
|
4921
5018
|
"multiple": false,
|
|
4922
5019
|
"type": "option"
|
|
@@ -4931,7 +5028,7 @@
|
|
|
4931
5028
|
},
|
|
4932
5029
|
"hasDynamicHelp": false,
|
|
4933
5030
|
"hiddenAliases": [],
|
|
4934
|
-
"id": "
|
|
5031
|
+
"id": "custom-fields:create",
|
|
4935
5032
|
"pluginAlias": "@instantkom/cli",
|
|
4936
5033
|
"pluginName": "@instantkom/cli",
|
|
4937
5034
|
"pluginType": "core",
|
|
@@ -4941,20 +5038,20 @@
|
|
|
4941
5038
|
"relativePath": [
|
|
4942
5039
|
"dist",
|
|
4943
5040
|
"commands",
|
|
4944
|
-
"
|
|
5041
|
+
"custom-fields",
|
|
4945
5042
|
"create.js"
|
|
4946
5043
|
]
|
|
4947
5044
|
},
|
|
4948
|
-
"
|
|
5045
|
+
"custom-fields:delete": {
|
|
4949
5046
|
"aliases": [],
|
|
4950
5047
|
"args": {
|
|
4951
5048
|
"id": {
|
|
4952
|
-
"description": "
|
|
5049
|
+
"description": "custom field ID",
|
|
4953
5050
|
"name": "id",
|
|
4954
5051
|
"required": true
|
|
4955
5052
|
}
|
|
4956
5053
|
},
|
|
4957
|
-
"description": "Delete
|
|
5054
|
+
"description": "Delete custom field",
|
|
4958
5055
|
"flags": {
|
|
4959
5056
|
"api-key": {
|
|
4960
5057
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5021,7 +5118,7 @@
|
|
|
5021
5118
|
},
|
|
5022
5119
|
"hasDynamicHelp": false,
|
|
5023
5120
|
"hiddenAliases": [],
|
|
5024
|
-
"id": "
|
|
5121
|
+
"id": "custom-fields:delete",
|
|
5025
5122
|
"pluginAlias": "@instantkom/cli",
|
|
5026
5123
|
"pluginName": "@instantkom/cli",
|
|
5027
5124
|
"pluginType": "core",
|
|
@@ -5031,20 +5128,20 @@
|
|
|
5031
5128
|
"relativePath": [
|
|
5032
5129
|
"dist",
|
|
5033
5130
|
"commands",
|
|
5034
|
-
"
|
|
5131
|
+
"custom-fields",
|
|
5035
5132
|
"delete.js"
|
|
5036
5133
|
]
|
|
5037
5134
|
},
|
|
5038
|
-
"
|
|
5135
|
+
"custom-fields:get": {
|
|
5039
5136
|
"aliases": [],
|
|
5040
5137
|
"args": {
|
|
5041
5138
|
"id": {
|
|
5042
|
-
"description": "
|
|
5139
|
+
"description": "custom field ID",
|
|
5043
5140
|
"name": "id",
|
|
5044
5141
|
"required": true
|
|
5045
5142
|
}
|
|
5046
5143
|
},
|
|
5047
|
-
"description": "
|
|
5144
|
+
"description": "Get custom field by ID",
|
|
5048
5145
|
"flags": {
|
|
5049
5146
|
"api-key": {
|
|
5050
5147
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5107,18 +5204,11 @@
|
|
|
5107
5204
|
"hasDynamicHelp": false,
|
|
5108
5205
|
"multiple": false,
|
|
5109
5206
|
"type": "option"
|
|
5110
|
-
},
|
|
5111
|
-
"file": {
|
|
5112
|
-
"description": "Output file path",
|
|
5113
|
-
"name": "file",
|
|
5114
|
-
"hasDynamicHelp": false,
|
|
5115
|
-
"multiple": false,
|
|
5116
|
-
"type": "option"
|
|
5117
5207
|
}
|
|
5118
5208
|
},
|
|
5119
5209
|
"hasDynamicHelp": false,
|
|
5120
5210
|
"hiddenAliases": [],
|
|
5121
|
-
"id": "
|
|
5211
|
+
"id": "custom-fields:get",
|
|
5122
5212
|
"pluginAlias": "@instantkom/cli",
|
|
5123
5213
|
"pluginName": "@instantkom/cli",
|
|
5124
5214
|
"pluginType": "core",
|
|
@@ -5128,20 +5218,14 @@
|
|
|
5128
5218
|
"relativePath": [
|
|
5129
5219
|
"dist",
|
|
5130
5220
|
"commands",
|
|
5131
|
-
"
|
|
5132
|
-
"
|
|
5221
|
+
"custom-fields",
|
|
5222
|
+
"get.js"
|
|
5133
5223
|
]
|
|
5134
5224
|
},
|
|
5135
|
-
"
|
|
5225
|
+
"custom-fields:list": {
|
|
5136
5226
|
"aliases": [],
|
|
5137
|
-
"args": {
|
|
5138
|
-
|
|
5139
|
-
"description": "Export ID",
|
|
5140
|
-
"name": "id",
|
|
5141
|
-
"required": true
|
|
5142
|
-
}
|
|
5143
|
-
},
|
|
5144
|
-
"description": "Get an export by ID",
|
|
5227
|
+
"args": {},
|
|
5228
|
+
"description": "List custom fields",
|
|
5145
5229
|
"flags": {
|
|
5146
5230
|
"api-key": {
|
|
5147
5231
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5208,7 +5292,7 @@
|
|
|
5208
5292
|
},
|
|
5209
5293
|
"hasDynamicHelp": false,
|
|
5210
5294
|
"hiddenAliases": [],
|
|
5211
|
-
"id": "
|
|
5295
|
+
"id": "custom-fields:list",
|
|
5212
5296
|
"pluginAlias": "@instantkom/cli",
|
|
5213
5297
|
"pluginName": "@instantkom/cli",
|
|
5214
5298
|
"pluginType": "core",
|
|
@@ -5218,14 +5302,14 @@
|
|
|
5218
5302
|
"relativePath": [
|
|
5219
5303
|
"dist",
|
|
5220
5304
|
"commands",
|
|
5221
|
-
"
|
|
5222
|
-
"
|
|
5305
|
+
"custom-fields",
|
|
5306
|
+
"list.js"
|
|
5223
5307
|
]
|
|
5224
5308
|
},
|
|
5225
|
-
"
|
|
5309
|
+
"custom-fields:reorder": {
|
|
5226
5310
|
"aliases": [],
|
|
5227
5311
|
"args": {},
|
|
5228
|
-
"description": "
|
|
5312
|
+
"description": "Reorder custom fields",
|
|
5229
5313
|
"flags": {
|
|
5230
5314
|
"api-key": {
|
|
5231
5315
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5289,32 +5373,10 @@
|
|
|
5289
5373
|
"multiple": false,
|
|
5290
5374
|
"type": "option"
|
|
5291
5375
|
},
|
|
5292
|
-
"
|
|
5293
|
-
"description": "
|
|
5294
|
-
"name": "
|
|
5295
|
-
"
|
|
5296
|
-
"hasDynamicHelp": false,
|
|
5297
|
-
"multiple": false,
|
|
5298
|
-
"type": "option"
|
|
5299
|
-
},
|
|
5300
|
-
"limit": {
|
|
5301
|
-
"description": "Items per page",
|
|
5302
|
-
"name": "limit",
|
|
5303
|
-
"default": 50,
|
|
5304
|
-
"hasDynamicHelp": false,
|
|
5305
|
-
"multiple": false,
|
|
5306
|
-
"type": "option"
|
|
5307
|
-
},
|
|
5308
|
-
"source": {
|
|
5309
|
-
"description": "Filter by data source",
|
|
5310
|
-
"name": "source",
|
|
5311
|
-
"hasDynamicHelp": false,
|
|
5312
|
-
"multiple": false,
|
|
5313
|
-
"type": "option"
|
|
5314
|
-
},
|
|
5315
|
-
"target": {
|
|
5316
|
-
"description": "Filter by export target/format",
|
|
5317
|
-
"name": "target",
|
|
5376
|
+
"order": {
|
|
5377
|
+
"description": "Order JSON array payload",
|
|
5378
|
+
"name": "order",
|
|
5379
|
+
"required": true,
|
|
5318
5380
|
"hasDynamicHelp": false,
|
|
5319
5381
|
"multiple": false,
|
|
5320
5382
|
"type": "option"
|
|
@@ -5322,7 +5384,7 @@
|
|
|
5322
5384
|
},
|
|
5323
5385
|
"hasDynamicHelp": false,
|
|
5324
5386
|
"hiddenAliases": [],
|
|
5325
|
-
"id": "
|
|
5387
|
+
"id": "custom-fields:reorder",
|
|
5326
5388
|
"pluginAlias": "@instantkom/cli",
|
|
5327
5389
|
"pluginName": "@instantkom/cli",
|
|
5328
5390
|
"pluginType": "core",
|
|
@@ -5332,14 +5394,20 @@
|
|
|
5332
5394
|
"relativePath": [
|
|
5333
5395
|
"dist",
|
|
5334
5396
|
"commands",
|
|
5335
|
-
"
|
|
5336
|
-
"
|
|
5397
|
+
"custom-fields",
|
|
5398
|
+
"reorder.js"
|
|
5337
5399
|
]
|
|
5338
5400
|
},
|
|
5339
|
-
"
|
|
5401
|
+
"custom-fields:update": {
|
|
5340
5402
|
"aliases": [],
|
|
5341
|
-
"args": {
|
|
5342
|
-
|
|
5403
|
+
"args": {
|
|
5404
|
+
"id": {
|
|
5405
|
+
"description": "Custom field ID",
|
|
5406
|
+
"name": "id",
|
|
5407
|
+
"required": true
|
|
5408
|
+
}
|
|
5409
|
+
},
|
|
5410
|
+
"description": "Update a custom field",
|
|
5343
5411
|
"flags": {
|
|
5344
5412
|
"api-key": {
|
|
5345
5413
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5403,39 +5471,52 @@
|
|
|
5403
5471
|
"multiple": false,
|
|
5404
5472
|
"type": "option"
|
|
5405
5473
|
},
|
|
5406
|
-
"channel": {
|
|
5407
|
-
"description": "Channel ID",
|
|
5408
|
-
"name": "channel",
|
|
5409
|
-
"required": true,
|
|
5410
|
-
"hasDynamicHelp": false,
|
|
5411
|
-
"multiple": false,
|
|
5412
|
-
"type": "option"
|
|
5413
|
-
},
|
|
5414
5474
|
"name": {
|
|
5415
|
-
"description": "
|
|
5475
|
+
"description": "Field name",
|
|
5416
5476
|
"name": "name",
|
|
5417
|
-
"required": true,
|
|
5418
5477
|
"hasDynamicHelp": false,
|
|
5419
5478
|
"multiple": false,
|
|
5420
5479
|
"type": "option"
|
|
5421
5480
|
},
|
|
5422
|
-
"
|
|
5423
|
-
"description": "
|
|
5424
|
-
"name": "
|
|
5481
|
+
"type": {
|
|
5482
|
+
"description": "Field type",
|
|
5483
|
+
"name": "type",
|
|
5425
5484
|
"hasDynamicHelp": false,
|
|
5426
5485
|
"multiple": false,
|
|
5486
|
+
"options": [
|
|
5487
|
+
"text",
|
|
5488
|
+
"number",
|
|
5489
|
+
"date",
|
|
5490
|
+
"dropdown",
|
|
5491
|
+
"checkbox",
|
|
5492
|
+
"url",
|
|
5493
|
+
"email",
|
|
5494
|
+
"phone"
|
|
5495
|
+
],
|
|
5427
5496
|
"type": "option"
|
|
5428
5497
|
},
|
|
5429
|
-
"
|
|
5430
|
-
"description": "
|
|
5431
|
-
"name": "
|
|
5498
|
+
"required": {
|
|
5499
|
+
"description": "Field is required",
|
|
5500
|
+
"name": "required",
|
|
5501
|
+
"allowNo": true,
|
|
5502
|
+
"type": "boolean"
|
|
5503
|
+
},
|
|
5504
|
+
"status": {
|
|
5505
|
+
"description": "Field is active",
|
|
5506
|
+
"name": "status",
|
|
5507
|
+
"allowNo": true,
|
|
5508
|
+
"type": "boolean"
|
|
5509
|
+
},
|
|
5510
|
+
"default": {
|
|
5511
|
+
"description": "Default value",
|
|
5512
|
+
"name": "default",
|
|
5432
5513
|
"hasDynamicHelp": false,
|
|
5433
5514
|
"multiple": false,
|
|
5434
5515
|
"type": "option"
|
|
5435
5516
|
},
|
|
5436
|
-
"
|
|
5437
|
-
"description": "
|
|
5438
|
-
"name": "
|
|
5517
|
+
"options": {
|
|
5518
|
+
"description": "Comma-separated dropdown options",
|
|
5519
|
+
"name": "options",
|
|
5439
5520
|
"hasDynamicHelp": false,
|
|
5440
5521
|
"multiple": false,
|
|
5441
5522
|
"type": "option"
|
|
@@ -5450,7 +5531,7 @@
|
|
|
5450
5531
|
},
|
|
5451
5532
|
"hasDynamicHelp": false,
|
|
5452
5533
|
"hiddenAliases": [],
|
|
5453
|
-
"id": "
|
|
5534
|
+
"id": "custom-fields:update",
|
|
5454
5535
|
"pluginAlias": "@instantkom/cli",
|
|
5455
5536
|
"pluginName": "@instantkom/cli",
|
|
5456
5537
|
"pluginType": "core",
|
|
@@ -5460,20 +5541,14 @@
|
|
|
5460
5541
|
"relativePath": [
|
|
5461
5542
|
"dist",
|
|
5462
5543
|
"commands",
|
|
5463
|
-
"
|
|
5464
|
-
"
|
|
5544
|
+
"custom-fields",
|
|
5545
|
+
"update.js"
|
|
5465
5546
|
]
|
|
5466
5547
|
},
|
|
5467
|
-
"
|
|
5548
|
+
"exports:create": {
|
|
5468
5549
|
"aliases": [],
|
|
5469
|
-
"args": {
|
|
5470
|
-
|
|
5471
|
-
"description": "Flow ID",
|
|
5472
|
-
"name": "id",
|
|
5473
|
-
"required": true
|
|
5474
|
-
}
|
|
5475
|
-
},
|
|
5476
|
-
"description": "Delete a flow",
|
|
5550
|
+
"args": {},
|
|
5551
|
+
"description": "Create an export",
|
|
5477
5552
|
"flags": {
|
|
5478
5553
|
"api-key": {
|
|
5479
5554
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5485,18 +5560,10 @@
|
|
|
5485
5560
|
"type": "option"
|
|
5486
5561
|
},
|
|
5487
5562
|
"format": {
|
|
5488
|
-
"description": "
|
|
5489
|
-
"helpGroup": "GLOBAL",
|
|
5563
|
+
"description": "Alias for --target",
|
|
5490
5564
|
"name": "format",
|
|
5491
|
-
"default": "text",
|
|
5492
5565
|
"hasDynamicHelp": false,
|
|
5493
5566
|
"multiple": false,
|
|
5494
|
-
"options": [
|
|
5495
|
-
"text",
|
|
5496
|
-
"json",
|
|
5497
|
-
"yaml",
|
|
5498
|
-
"table"
|
|
5499
|
-
],
|
|
5500
5567
|
"type": "option"
|
|
5501
5568
|
},
|
|
5502
5569
|
"json": {
|
|
@@ -5536,11 +5603,75 @@
|
|
|
5536
5603
|
"hasDynamicHelp": false,
|
|
5537
5604
|
"multiple": false,
|
|
5538
5605
|
"type": "option"
|
|
5606
|
+
},
|
|
5607
|
+
"name": {
|
|
5608
|
+
"description": "Export name",
|
|
5609
|
+
"name": "name",
|
|
5610
|
+
"required": true,
|
|
5611
|
+
"hasDynamicHelp": false,
|
|
5612
|
+
"multiple": false,
|
|
5613
|
+
"type": "option"
|
|
5614
|
+
},
|
|
5615
|
+
"sources": {
|
|
5616
|
+
"description": "Data sources to export",
|
|
5617
|
+
"name": "sources",
|
|
5618
|
+
"hasDynamicHelp": false,
|
|
5619
|
+
"multiple": false,
|
|
5620
|
+
"type": "option"
|
|
5621
|
+
},
|
|
5622
|
+
"type": {
|
|
5623
|
+
"description": "Alias for --sources",
|
|
5624
|
+
"name": "type",
|
|
5625
|
+
"hasDynamicHelp": false,
|
|
5626
|
+
"multiple": false,
|
|
5627
|
+
"type": "option"
|
|
5628
|
+
},
|
|
5629
|
+
"target": {
|
|
5630
|
+
"description": "Export target/format",
|
|
5631
|
+
"name": "target",
|
|
5632
|
+
"hasDynamicHelp": false,
|
|
5633
|
+
"multiple": false,
|
|
5634
|
+
"type": "option"
|
|
5635
|
+
},
|
|
5636
|
+
"channels": {
|
|
5637
|
+
"description": "Comma-separated channel IDs",
|
|
5638
|
+
"name": "channels",
|
|
5639
|
+
"hasDynamicHelp": false,
|
|
5640
|
+
"multiple": false,
|
|
5641
|
+
"type": "option"
|
|
5642
|
+
},
|
|
5643
|
+
"fields": {
|
|
5644
|
+
"description": "Comma-separated fields",
|
|
5645
|
+
"name": "fields",
|
|
5646
|
+
"hasDynamicHelp": false,
|
|
5647
|
+
"multiple": false,
|
|
5648
|
+
"type": "option"
|
|
5649
|
+
},
|
|
5650
|
+
"filters": {
|
|
5651
|
+
"description": "Filter criteria",
|
|
5652
|
+
"name": "filters",
|
|
5653
|
+
"hasDynamicHelp": false,
|
|
5654
|
+
"multiple": false,
|
|
5655
|
+
"type": "option"
|
|
5656
|
+
},
|
|
5657
|
+
"color": {
|
|
5658
|
+
"description": "Export color as HEX",
|
|
5659
|
+
"name": "color",
|
|
5660
|
+
"hasDynamicHelp": false,
|
|
5661
|
+
"multiple": false,
|
|
5662
|
+
"type": "option"
|
|
5663
|
+
},
|
|
5664
|
+
"data": {
|
|
5665
|
+
"description": "Additional JSON object payload",
|
|
5666
|
+
"name": "data",
|
|
5667
|
+
"hasDynamicHelp": false,
|
|
5668
|
+
"multiple": false,
|
|
5669
|
+
"type": "option"
|
|
5539
5670
|
}
|
|
5540
5671
|
},
|
|
5541
5672
|
"hasDynamicHelp": false,
|
|
5542
5673
|
"hiddenAliases": [],
|
|
5543
|
-
"id": "
|
|
5674
|
+
"id": "exports:create",
|
|
5544
5675
|
"pluginAlias": "@instantkom/cli",
|
|
5545
5676
|
"pluginName": "@instantkom/cli",
|
|
5546
5677
|
"pluginType": "core",
|
|
@@ -5550,20 +5681,20 @@
|
|
|
5550
5681
|
"relativePath": [
|
|
5551
5682
|
"dist",
|
|
5552
5683
|
"commands",
|
|
5553
|
-
"
|
|
5554
|
-
"
|
|
5684
|
+
"exports",
|
|
5685
|
+
"create.js"
|
|
5555
5686
|
]
|
|
5556
5687
|
},
|
|
5557
|
-
"
|
|
5688
|
+
"exports:delete": {
|
|
5558
5689
|
"aliases": [],
|
|
5559
5690
|
"args": {
|
|
5560
5691
|
"id": {
|
|
5561
|
-
"description": "
|
|
5692
|
+
"description": "Export ID",
|
|
5562
5693
|
"name": "id",
|
|
5563
5694
|
"required": true
|
|
5564
5695
|
}
|
|
5565
5696
|
},
|
|
5566
|
-
"description": "
|
|
5697
|
+
"description": "Delete an export",
|
|
5567
5698
|
"flags": {
|
|
5568
5699
|
"api-key": {
|
|
5569
5700
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5630,7 +5761,7 @@
|
|
|
5630
5761
|
},
|
|
5631
5762
|
"hasDynamicHelp": false,
|
|
5632
5763
|
"hiddenAliases": [],
|
|
5633
|
-
"id": "
|
|
5764
|
+
"id": "exports:delete",
|
|
5634
5765
|
"pluginAlias": "@instantkom/cli",
|
|
5635
5766
|
"pluginName": "@instantkom/cli",
|
|
5636
5767
|
"pluginType": "core",
|
|
@@ -5640,14 +5771,20 @@
|
|
|
5640
5771
|
"relativePath": [
|
|
5641
5772
|
"dist",
|
|
5642
5773
|
"commands",
|
|
5643
|
-
"
|
|
5644
|
-
"
|
|
5774
|
+
"exports",
|
|
5775
|
+
"delete.js"
|
|
5645
5776
|
]
|
|
5646
5777
|
},
|
|
5647
|
-
"
|
|
5778
|
+
"exports:download": {
|
|
5648
5779
|
"aliases": [],
|
|
5649
|
-
"args": {
|
|
5650
|
-
|
|
5780
|
+
"args": {
|
|
5781
|
+
"id": {
|
|
5782
|
+
"description": "Export ID",
|
|
5783
|
+
"name": "id",
|
|
5784
|
+
"required": true
|
|
5785
|
+
}
|
|
5786
|
+
},
|
|
5787
|
+
"description": "Download an export file",
|
|
5651
5788
|
"flags": {
|
|
5652
5789
|
"api-key": {
|
|
5653
5790
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5711,39 +5848,9 @@
|
|
|
5711
5848
|
"multiple": false,
|
|
5712
5849
|
"type": "option"
|
|
5713
5850
|
},
|
|
5714
|
-
"
|
|
5715
|
-
"description": "
|
|
5716
|
-
"name": "
|
|
5717
|
-
"default": 1,
|
|
5718
|
-
"hasDynamicHelp": false,
|
|
5719
|
-
"multiple": false,
|
|
5720
|
-
"type": "option"
|
|
5721
|
-
},
|
|
5722
|
-
"limit": {
|
|
5723
|
-
"description": "Items per page",
|
|
5724
|
-
"name": "limit",
|
|
5725
|
-
"default": 20,
|
|
5726
|
-
"hasDynamicHelp": false,
|
|
5727
|
-
"multiple": false,
|
|
5728
|
-
"type": "option"
|
|
5729
|
-
},
|
|
5730
|
-
"channel": {
|
|
5731
|
-
"description": "Filter by channel ID",
|
|
5732
|
-
"name": "channel",
|
|
5733
|
-
"hasDynamicHelp": false,
|
|
5734
|
-
"multiple": false,
|
|
5735
|
-
"type": "option"
|
|
5736
|
-
},
|
|
5737
|
-
"search": {
|
|
5738
|
-
"description": "Search in flow name or description",
|
|
5739
|
-
"name": "search",
|
|
5740
|
-
"hasDynamicHelp": false,
|
|
5741
|
-
"multiple": false,
|
|
5742
|
-
"type": "option"
|
|
5743
|
-
},
|
|
5744
|
-
"folder": {
|
|
5745
|
-
"description": "Filter by folder ID",
|
|
5746
|
-
"name": "folder",
|
|
5851
|
+
"file": {
|
|
5852
|
+
"description": "Output file path",
|
|
5853
|
+
"name": "file",
|
|
5747
5854
|
"hasDynamicHelp": false,
|
|
5748
5855
|
"multiple": false,
|
|
5749
5856
|
"type": "option"
|
|
@@ -5751,7 +5858,7 @@
|
|
|
5751
5858
|
},
|
|
5752
5859
|
"hasDynamicHelp": false,
|
|
5753
5860
|
"hiddenAliases": [],
|
|
5754
|
-
"id": "
|
|
5861
|
+
"id": "exports:download",
|
|
5755
5862
|
"pluginAlias": "@instantkom/cli",
|
|
5756
5863
|
"pluginName": "@instantkom/cli",
|
|
5757
5864
|
"pluginType": "core",
|
|
@@ -5761,20 +5868,20 @@
|
|
|
5761
5868
|
"relativePath": [
|
|
5762
5869
|
"dist",
|
|
5763
5870
|
"commands",
|
|
5764
|
-
"
|
|
5765
|
-
"
|
|
5871
|
+
"exports",
|
|
5872
|
+
"download.js"
|
|
5766
5873
|
]
|
|
5767
5874
|
},
|
|
5768
|
-
"
|
|
5875
|
+
"exports:get": {
|
|
5769
5876
|
"aliases": [],
|
|
5770
5877
|
"args": {
|
|
5771
5878
|
"id": {
|
|
5772
|
-
"description": "
|
|
5879
|
+
"description": "Export ID",
|
|
5773
5880
|
"name": "id",
|
|
5774
5881
|
"required": true
|
|
5775
5882
|
}
|
|
5776
5883
|
},
|
|
5777
|
-
"description": "
|
|
5884
|
+
"description": "Get an export by ID",
|
|
5778
5885
|
"flags": {
|
|
5779
5886
|
"api-key": {
|
|
5780
5887
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5837,46 +5944,11 @@
|
|
|
5837
5944
|
"hasDynamicHelp": false,
|
|
5838
5945
|
"multiple": false,
|
|
5839
5946
|
"type": "option"
|
|
5840
|
-
},
|
|
5841
|
-
"name": {
|
|
5842
|
-
"description": "Flow name",
|
|
5843
|
-
"name": "name",
|
|
5844
|
-
"hasDynamicHelp": false,
|
|
5845
|
-
"multiple": false,
|
|
5846
|
-
"type": "option"
|
|
5847
|
-
},
|
|
5848
|
-
"description": {
|
|
5849
|
-
"description": "Flow description",
|
|
5850
|
-
"name": "description",
|
|
5851
|
-
"hasDynamicHelp": false,
|
|
5852
|
-
"multiple": false,
|
|
5853
|
-
"type": "option"
|
|
5854
|
-
},
|
|
5855
|
-
"color": {
|
|
5856
|
-
"description": "Flow color as HEX",
|
|
5857
|
-
"name": "color",
|
|
5858
|
-
"hasDynamicHelp": false,
|
|
5859
|
-
"multiple": false,
|
|
5860
|
-
"type": "option"
|
|
5861
|
-
},
|
|
5862
|
-
"folder": {
|
|
5863
|
-
"description": "Folder ID",
|
|
5864
|
-
"name": "folder",
|
|
5865
|
-
"hasDynamicHelp": false,
|
|
5866
|
-
"multiple": false,
|
|
5867
|
-
"type": "option"
|
|
5868
|
-
},
|
|
5869
|
-
"data": {
|
|
5870
|
-
"description": "Additional JSON object payload",
|
|
5871
|
-
"name": "data",
|
|
5872
|
-
"hasDynamicHelp": false,
|
|
5873
|
-
"multiple": false,
|
|
5874
|
-
"type": "option"
|
|
5875
5947
|
}
|
|
5876
5948
|
},
|
|
5877
5949
|
"hasDynamicHelp": false,
|
|
5878
5950
|
"hiddenAliases": [],
|
|
5879
|
-
"id": "
|
|
5951
|
+
"id": "exports:get",
|
|
5880
5952
|
"pluginAlias": "@instantkom/cli",
|
|
5881
5953
|
"pluginName": "@instantkom/cli",
|
|
5882
5954
|
"pluginType": "core",
|
|
@@ -5886,14 +5958,14 @@
|
|
|
5886
5958
|
"relativePath": [
|
|
5887
5959
|
"dist",
|
|
5888
5960
|
"commands",
|
|
5889
|
-
"
|
|
5890
|
-
"
|
|
5961
|
+
"exports",
|
|
5962
|
+
"get.js"
|
|
5891
5963
|
]
|
|
5892
5964
|
},
|
|
5893
|
-
"
|
|
5965
|
+
"exports:list": {
|
|
5894
5966
|
"aliases": [],
|
|
5895
5967
|
"args": {},
|
|
5896
|
-
"description": "
|
|
5968
|
+
"description": "List exports",
|
|
5897
5969
|
"flags": {
|
|
5898
5970
|
"api-key": {
|
|
5899
5971
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5957,24 +6029,40 @@
|
|
|
5957
6029
|
"multiple": false,
|
|
5958
6030
|
"type": "option"
|
|
5959
6031
|
},
|
|
5960
|
-
"
|
|
5961
|
-
"description": "
|
|
5962
|
-
"name": "
|
|
5963
|
-
"
|
|
6032
|
+
"page": {
|
|
6033
|
+
"description": "Page number",
|
|
6034
|
+
"name": "page",
|
|
6035
|
+
"default": 1,
|
|
5964
6036
|
"hasDynamicHelp": false,
|
|
5965
6037
|
"multiple": false,
|
|
5966
6038
|
"type": "option"
|
|
5967
6039
|
},
|
|
5968
|
-
"
|
|
5969
|
-
"description": "
|
|
5970
|
-
"name": "
|
|
5971
|
-
"
|
|
5972
|
-
"
|
|
6040
|
+
"limit": {
|
|
6041
|
+
"description": "Items per page",
|
|
6042
|
+
"name": "limit",
|
|
6043
|
+
"default": 50,
|
|
6044
|
+
"hasDynamicHelp": false,
|
|
6045
|
+
"multiple": false,
|
|
6046
|
+
"type": "option"
|
|
6047
|
+
},
|
|
6048
|
+
"source": {
|
|
6049
|
+
"description": "Filter by data source",
|
|
6050
|
+
"name": "source",
|
|
6051
|
+
"hasDynamicHelp": false,
|
|
6052
|
+
"multiple": false,
|
|
6053
|
+
"type": "option"
|
|
6054
|
+
},
|
|
6055
|
+
"target": {
|
|
6056
|
+
"description": "Filter by export target/format",
|
|
6057
|
+
"name": "target",
|
|
6058
|
+
"hasDynamicHelp": false,
|
|
6059
|
+
"multiple": false,
|
|
6060
|
+
"type": "option"
|
|
5973
6061
|
}
|
|
5974
6062
|
},
|
|
5975
6063
|
"hasDynamicHelp": false,
|
|
5976
6064
|
"hiddenAliases": [],
|
|
5977
|
-
"id": "
|
|
6065
|
+
"id": "exports:list",
|
|
5978
6066
|
"pluginAlias": "@instantkom/cli",
|
|
5979
6067
|
"pluginName": "@instantkom/cli",
|
|
5980
6068
|
"pluginType": "core",
|
|
@@ -5984,20 +6072,14 @@
|
|
|
5984
6072
|
"relativePath": [
|
|
5985
6073
|
"dist",
|
|
5986
6074
|
"commands",
|
|
5987
|
-
"
|
|
5988
|
-
"
|
|
6075
|
+
"exports",
|
|
6076
|
+
"list.js"
|
|
5989
6077
|
]
|
|
5990
6078
|
},
|
|
5991
|
-
"
|
|
6079
|
+
"flows:create": {
|
|
5992
6080
|
"aliases": [],
|
|
5993
|
-
"args": {
|
|
5994
|
-
|
|
5995
|
-
"description": "Message ID",
|
|
5996
|
-
"name": "id",
|
|
5997
|
-
"required": true
|
|
5998
|
-
}
|
|
5999
|
-
},
|
|
6000
|
-
"description": "Create a ticket from a message",
|
|
6081
|
+
"args": {},
|
|
6082
|
+
"description": "Create a flow",
|
|
6001
6083
|
"flags": {
|
|
6002
6084
|
"api-key": {
|
|
6003
6085
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6061,16 +6143,39 @@
|
|
|
6061
6143
|
"multiple": false,
|
|
6062
6144
|
"type": "option"
|
|
6063
6145
|
},
|
|
6064
|
-
"
|
|
6065
|
-
"description": "
|
|
6066
|
-
"name": "
|
|
6146
|
+
"channel": {
|
|
6147
|
+
"description": "Channel ID",
|
|
6148
|
+
"name": "channel",
|
|
6149
|
+
"required": true,
|
|
6067
6150
|
"hasDynamicHelp": false,
|
|
6068
6151
|
"multiple": false,
|
|
6069
6152
|
"type": "option"
|
|
6070
6153
|
},
|
|
6071
|
-
"
|
|
6072
|
-
"description": "
|
|
6073
|
-
"name": "
|
|
6154
|
+
"name": {
|
|
6155
|
+
"description": "Flow name",
|
|
6156
|
+
"name": "name",
|
|
6157
|
+
"required": true,
|
|
6158
|
+
"hasDynamicHelp": false,
|
|
6159
|
+
"multiple": false,
|
|
6160
|
+
"type": "option"
|
|
6161
|
+
},
|
|
6162
|
+
"description": {
|
|
6163
|
+
"description": "Flow description",
|
|
6164
|
+
"name": "description",
|
|
6165
|
+
"hasDynamicHelp": false,
|
|
6166
|
+
"multiple": false,
|
|
6167
|
+
"type": "option"
|
|
6168
|
+
},
|
|
6169
|
+
"color": {
|
|
6170
|
+
"description": "Flow color as HEX",
|
|
6171
|
+
"name": "color",
|
|
6172
|
+
"hasDynamicHelp": false,
|
|
6173
|
+
"multiple": false,
|
|
6174
|
+
"type": "option"
|
|
6175
|
+
},
|
|
6176
|
+
"folder": {
|
|
6177
|
+
"description": "Folder ID",
|
|
6178
|
+
"name": "folder",
|
|
6074
6179
|
"hasDynamicHelp": false,
|
|
6075
6180
|
"multiple": false,
|
|
6076
6181
|
"type": "option"
|
|
@@ -6085,7 +6190,7 @@
|
|
|
6085
6190
|
},
|
|
6086
6191
|
"hasDynamicHelp": false,
|
|
6087
6192
|
"hiddenAliases": [],
|
|
6088
|
-
"id": "
|
|
6193
|
+
"id": "flows:create",
|
|
6089
6194
|
"pluginAlias": "@instantkom/cli",
|
|
6090
6195
|
"pluginName": "@instantkom/cli",
|
|
6091
6196
|
"pluginType": "core",
|
|
@@ -6095,20 +6200,20 @@
|
|
|
6095
6200
|
"relativePath": [
|
|
6096
6201
|
"dist",
|
|
6097
6202
|
"commands",
|
|
6098
|
-
"
|
|
6099
|
-
"create
|
|
6203
|
+
"flows",
|
|
6204
|
+
"create.js"
|
|
6100
6205
|
]
|
|
6101
6206
|
},
|
|
6102
|
-
"
|
|
6207
|
+
"flows:delete": {
|
|
6103
6208
|
"aliases": [],
|
|
6104
6209
|
"args": {
|
|
6105
6210
|
"id": {
|
|
6106
|
-
"description": "
|
|
6211
|
+
"description": "Flow ID",
|
|
6107
6212
|
"name": "id",
|
|
6108
6213
|
"required": true
|
|
6109
6214
|
}
|
|
6110
6215
|
},
|
|
6111
|
-
"description": "Delete
|
|
6216
|
+
"description": "Delete a flow",
|
|
6112
6217
|
"flags": {
|
|
6113
6218
|
"api-key": {
|
|
6114
6219
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6175,7 +6280,7 @@
|
|
|
6175
6280
|
},
|
|
6176
6281
|
"hasDynamicHelp": false,
|
|
6177
6282
|
"hiddenAliases": [],
|
|
6178
|
-
"id": "
|
|
6283
|
+
"id": "flows:delete",
|
|
6179
6284
|
"pluginAlias": "@instantkom/cli",
|
|
6180
6285
|
"pluginName": "@instantkom/cli",
|
|
6181
6286
|
"pluginType": "core",
|
|
@@ -6185,20 +6290,20 @@
|
|
|
6185
6290
|
"relativePath": [
|
|
6186
6291
|
"dist",
|
|
6187
6292
|
"commands",
|
|
6188
|
-
"
|
|
6293
|
+
"flows",
|
|
6189
6294
|
"delete.js"
|
|
6190
6295
|
]
|
|
6191
6296
|
},
|
|
6192
|
-
"
|
|
6297
|
+
"flows:get": {
|
|
6193
6298
|
"aliases": [],
|
|
6194
6299
|
"args": {
|
|
6195
6300
|
"id": {
|
|
6196
|
-
"description": "
|
|
6301
|
+
"description": "Flow ID",
|
|
6197
6302
|
"name": "id",
|
|
6198
6303
|
"required": true
|
|
6199
6304
|
}
|
|
6200
6305
|
},
|
|
6201
|
-
"description": "Get
|
|
6306
|
+
"description": "Get a flow by ID",
|
|
6202
6307
|
"flags": {
|
|
6203
6308
|
"api-key": {
|
|
6204
6309
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6265,7 +6370,7 @@
|
|
|
6265
6370
|
},
|
|
6266
6371
|
"hasDynamicHelp": false,
|
|
6267
6372
|
"hiddenAliases": [],
|
|
6268
|
-
"id": "
|
|
6373
|
+
"id": "flows:get",
|
|
6269
6374
|
"pluginAlias": "@instantkom/cli",
|
|
6270
6375
|
"pluginName": "@instantkom/cli",
|
|
6271
6376
|
"pluginType": "core",
|
|
@@ -6275,14 +6380,14 @@
|
|
|
6275
6380
|
"relativePath": [
|
|
6276
6381
|
"dist",
|
|
6277
6382
|
"commands",
|
|
6278
|
-
"
|
|
6383
|
+
"flows",
|
|
6279
6384
|
"get.js"
|
|
6280
6385
|
]
|
|
6281
6386
|
},
|
|
6282
|
-
"
|
|
6387
|
+
"flows:list": {
|
|
6283
6388
|
"aliases": [],
|
|
6284
6389
|
"args": {},
|
|
6285
|
-
"description": "List
|
|
6390
|
+
"description": "List flows",
|
|
6286
6391
|
"flags": {
|
|
6287
6392
|
"api-key": {
|
|
6288
6393
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6369,48 +6474,24 @@
|
|
|
6369
6474
|
"multiple": false,
|
|
6370
6475
|
"type": "option"
|
|
6371
6476
|
},
|
|
6372
|
-
"
|
|
6373
|
-
"description": "
|
|
6374
|
-
"name": "
|
|
6375
|
-
"hasDynamicHelp": false,
|
|
6376
|
-
"multiple": false,
|
|
6377
|
-
"type": "option"
|
|
6378
|
-
},
|
|
6379
|
-
"direction": {
|
|
6380
|
-
"description": "Direction",
|
|
6381
|
-
"name": "direction",
|
|
6382
|
-
"hasDynamicHelp": false,
|
|
6383
|
-
"multiple": false,
|
|
6384
|
-
"options": [
|
|
6385
|
-
"s",
|
|
6386
|
-
"r"
|
|
6387
|
-
],
|
|
6388
|
-
"type": "option"
|
|
6389
|
-
},
|
|
6390
|
-
"type": {
|
|
6391
|
-
"description": "Message type",
|
|
6392
|
-
"name": "type",
|
|
6477
|
+
"search": {
|
|
6478
|
+
"description": "Search in flow name or description",
|
|
6479
|
+
"name": "search",
|
|
6393
6480
|
"hasDynamicHelp": false,
|
|
6394
6481
|
"multiple": false,
|
|
6395
6482
|
"type": "option"
|
|
6396
6483
|
},
|
|
6397
|
-
"
|
|
6398
|
-
"description": "
|
|
6399
|
-
"name": "
|
|
6484
|
+
"folder": {
|
|
6485
|
+
"description": "Filter by folder ID",
|
|
6486
|
+
"name": "folder",
|
|
6400
6487
|
"hasDynamicHelp": false,
|
|
6401
6488
|
"multiple": false,
|
|
6402
6489
|
"type": "option"
|
|
6403
|
-
},
|
|
6404
|
-
"spam": {
|
|
6405
|
-
"description": "Filter spam messages",
|
|
6406
|
-
"name": "spam",
|
|
6407
|
-
"allowNo": false,
|
|
6408
|
-
"type": "boolean"
|
|
6409
6490
|
}
|
|
6410
6491
|
},
|
|
6411
6492
|
"hasDynamicHelp": false,
|
|
6412
6493
|
"hiddenAliases": [],
|
|
6413
|
-
"id": "
|
|
6494
|
+
"id": "flows:list",
|
|
6414
6495
|
"pluginAlias": "@instantkom/cli",
|
|
6415
6496
|
"pluginName": "@instantkom/cli",
|
|
6416
6497
|
"pluginType": "core",
|
|
@@ -6420,20 +6501,20 @@
|
|
|
6420
6501
|
"relativePath": [
|
|
6421
6502
|
"dist",
|
|
6422
6503
|
"commands",
|
|
6423
|
-
"
|
|
6504
|
+
"flows",
|
|
6424
6505
|
"list.js"
|
|
6425
6506
|
]
|
|
6426
6507
|
},
|
|
6427
|
-
"
|
|
6508
|
+
"flows:update": {
|
|
6428
6509
|
"aliases": [],
|
|
6429
6510
|
"args": {
|
|
6430
6511
|
"id": {
|
|
6431
|
-
"description": "
|
|
6512
|
+
"description": "Flow ID",
|
|
6432
6513
|
"name": "id",
|
|
6433
6514
|
"required": true
|
|
6434
6515
|
}
|
|
6435
6516
|
},
|
|
6436
|
-
"description": "
|
|
6517
|
+
"description": "Update a flow",
|
|
6437
6518
|
"flags": {
|
|
6438
6519
|
"api-key": {
|
|
6439
6520
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6496,11 +6577,46 @@
|
|
|
6496
6577
|
"hasDynamicHelp": false,
|
|
6497
6578
|
"multiple": false,
|
|
6498
6579
|
"type": "option"
|
|
6580
|
+
},
|
|
6581
|
+
"name": {
|
|
6582
|
+
"description": "Flow name",
|
|
6583
|
+
"name": "name",
|
|
6584
|
+
"hasDynamicHelp": false,
|
|
6585
|
+
"multiple": false,
|
|
6586
|
+
"type": "option"
|
|
6587
|
+
},
|
|
6588
|
+
"description": {
|
|
6589
|
+
"description": "Flow description",
|
|
6590
|
+
"name": "description",
|
|
6591
|
+
"hasDynamicHelp": false,
|
|
6592
|
+
"multiple": false,
|
|
6593
|
+
"type": "option"
|
|
6594
|
+
},
|
|
6595
|
+
"color": {
|
|
6596
|
+
"description": "Flow color as HEX",
|
|
6597
|
+
"name": "color",
|
|
6598
|
+
"hasDynamicHelp": false,
|
|
6599
|
+
"multiple": false,
|
|
6600
|
+
"type": "option"
|
|
6601
|
+
},
|
|
6602
|
+
"folder": {
|
|
6603
|
+
"description": "Folder ID",
|
|
6604
|
+
"name": "folder",
|
|
6605
|
+
"hasDynamicHelp": false,
|
|
6606
|
+
"multiple": false,
|
|
6607
|
+
"type": "option"
|
|
6608
|
+
},
|
|
6609
|
+
"data": {
|
|
6610
|
+
"description": "Additional JSON object payload",
|
|
6611
|
+
"name": "data",
|
|
6612
|
+
"hasDynamicHelp": false,
|
|
6613
|
+
"multiple": false,
|
|
6614
|
+
"type": "option"
|
|
6499
6615
|
}
|
|
6500
6616
|
},
|
|
6501
6617
|
"hasDynamicHelp": false,
|
|
6502
6618
|
"hiddenAliases": [],
|
|
6503
|
-
"id": "
|
|
6619
|
+
"id": "flows:update",
|
|
6504
6620
|
"pluginAlias": "@instantkom/cli",
|
|
6505
6621
|
"pluginName": "@instantkom/cli",
|
|
6506
6622
|
"pluginType": "core",
|
|
@@ -6510,20 +6626,14 @@
|
|
|
6510
6626
|
"relativePath": [
|
|
6511
6627
|
"dist",
|
|
6512
6628
|
"commands",
|
|
6513
|
-
"
|
|
6514
|
-
"
|
|
6629
|
+
"flows",
|
|
6630
|
+
"update.js"
|
|
6515
6631
|
]
|
|
6516
6632
|
},
|
|
6517
|
-
"messages:spam": {
|
|
6633
|
+
"messages:bulk-spam": {
|
|
6518
6634
|
"aliases": [],
|
|
6519
|
-
"args": {
|
|
6520
|
-
|
|
6521
|
-
"description": "Message ID",
|
|
6522
|
-
"name": "id",
|
|
6523
|
-
"required": true
|
|
6524
|
-
}
|
|
6525
|
-
},
|
|
6526
|
-
"description": "Mark or unmark a message as spam",
|
|
6635
|
+
"args": {},
|
|
6636
|
+
"description": "Mark or unmark multiple messages as spam",
|
|
6527
6637
|
"flags": {
|
|
6528
6638
|
"api-key": {
|
|
6529
6639
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6587,8 +6697,16 @@
|
|
|
6587
6697
|
"multiple": false,
|
|
6588
6698
|
"type": "option"
|
|
6589
6699
|
},
|
|
6700
|
+
"ids": {
|
|
6701
|
+
"description": "Comma-separated message IDs",
|
|
6702
|
+
"name": "ids",
|
|
6703
|
+
"required": true,
|
|
6704
|
+
"hasDynamicHelp": false,
|
|
6705
|
+
"multiple": false,
|
|
6706
|
+
"type": "option"
|
|
6707
|
+
},
|
|
6590
6708
|
"spam": {
|
|
6591
|
-
"description": "Mark as spam",
|
|
6709
|
+
"description": "Mark messages as spam",
|
|
6592
6710
|
"name": "spam",
|
|
6593
6711
|
"allowNo": true,
|
|
6594
6712
|
"type": "boolean"
|
|
@@ -6596,7 +6714,7 @@
|
|
|
6596
6714
|
},
|
|
6597
6715
|
"hasDynamicHelp": false,
|
|
6598
6716
|
"hiddenAliases": [],
|
|
6599
|
-
"id": "messages:spam",
|
|
6717
|
+
"id": "messages:bulk-spam",
|
|
6600
6718
|
"pluginAlias": "@instantkom/cli",
|
|
6601
6719
|
"pluginName": "@instantkom/cli",
|
|
6602
6720
|
"pluginType": "core",
|
|
@@ -6607,13 +6725,19 @@
|
|
|
6607
6725
|
"dist",
|
|
6608
6726
|
"commands",
|
|
6609
6727
|
"messages",
|
|
6610
|
-
"spam.js"
|
|
6728
|
+
"bulk-spam.js"
|
|
6611
6729
|
]
|
|
6612
6730
|
},
|
|
6613
|
-
"messages:
|
|
6731
|
+
"messages:create-ticket": {
|
|
6614
6732
|
"aliases": [],
|
|
6615
|
-
"args": {
|
|
6616
|
-
|
|
6733
|
+
"args": {
|
|
6734
|
+
"id": {
|
|
6735
|
+
"description": "Message ID",
|
|
6736
|
+
"name": "id",
|
|
6737
|
+
"required": true
|
|
6738
|
+
}
|
|
6739
|
+
},
|
|
6740
|
+
"description": "Create a ticket from a message",
|
|
6617
6741
|
"flags": {
|
|
6618
6742
|
"api-key": {
|
|
6619
6743
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6676,12 +6800,33 @@
|
|
|
6676
6800
|
"hasDynamicHelp": false,
|
|
6677
6801
|
"multiple": false,
|
|
6678
6802
|
"type": "option"
|
|
6679
|
-
}
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6803
|
+
},
|
|
6804
|
+
"subject": {
|
|
6805
|
+
"description": "Ticket subject",
|
|
6806
|
+
"name": "subject",
|
|
6807
|
+
"hasDynamicHelp": false,
|
|
6808
|
+
"multiple": false,
|
|
6809
|
+
"type": "option"
|
|
6810
|
+
},
|
|
6811
|
+
"priority": {
|
|
6812
|
+
"description": "Ticket priority",
|
|
6813
|
+
"name": "priority",
|
|
6814
|
+
"hasDynamicHelp": false,
|
|
6815
|
+
"multiple": false,
|
|
6816
|
+
"type": "option"
|
|
6817
|
+
},
|
|
6818
|
+
"data": {
|
|
6819
|
+
"description": "Additional JSON object payload",
|
|
6820
|
+
"name": "data",
|
|
6821
|
+
"hasDynamicHelp": false,
|
|
6822
|
+
"multiple": false,
|
|
6823
|
+
"type": "option"
|
|
6824
|
+
}
|
|
6825
|
+
},
|
|
6826
|
+
"hasDynamicHelp": false,
|
|
6827
|
+
"hiddenAliases": [],
|
|
6828
|
+
"id": "messages:create-ticket",
|
|
6829
|
+
"pluginAlias": "@instantkom/cli",
|
|
6685
6830
|
"pluginName": "@instantkom/cli",
|
|
6686
6831
|
"pluginType": "core",
|
|
6687
6832
|
"strict": true,
|
|
@@ -6691,19 +6836,19 @@
|
|
|
6691
6836
|
"dist",
|
|
6692
6837
|
"commands",
|
|
6693
6838
|
"messages",
|
|
6694
|
-
"
|
|
6839
|
+
"create-ticket.js"
|
|
6695
6840
|
]
|
|
6696
6841
|
},
|
|
6697
|
-
"messages:
|
|
6842
|
+
"messages:delete": {
|
|
6698
6843
|
"aliases": [],
|
|
6699
6844
|
"args": {
|
|
6700
6845
|
"id": {
|
|
6701
|
-
"description": "
|
|
6846
|
+
"description": "message ID",
|
|
6702
6847
|
"name": "id",
|
|
6703
6848
|
"required": true
|
|
6704
6849
|
}
|
|
6705
6850
|
},
|
|
6706
|
-
"description": "
|
|
6851
|
+
"description": "Delete message",
|
|
6707
6852
|
"flags": {
|
|
6708
6853
|
"api-key": {
|
|
6709
6854
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6766,58 +6911,11 @@
|
|
|
6766
6911
|
"hasDynamicHelp": false,
|
|
6767
6912
|
"multiple": false,
|
|
6768
6913
|
"type": "option"
|
|
6769
|
-
},
|
|
6770
|
-
"message": {
|
|
6771
|
-
"description": "Message content",
|
|
6772
|
-
"name": "message",
|
|
6773
|
-
"hasDynamicHelp": false,
|
|
6774
|
-
"multiple": false,
|
|
6775
|
-
"type": "option"
|
|
6776
|
-
},
|
|
6777
|
-
"scheduled-at": {
|
|
6778
|
-
"description": "Unix timestamp for scheduled send",
|
|
6779
|
-
"name": "scheduled-at",
|
|
6780
|
-
"hasDynamicHelp": false,
|
|
6781
|
-
"multiple": false,
|
|
6782
|
-
"type": "option"
|
|
6783
|
-
},
|
|
6784
|
-
"hidden": {
|
|
6785
|
-
"description": "Hide message",
|
|
6786
|
-
"name": "hidden",
|
|
6787
|
-
"allowNo": true,
|
|
6788
|
-
"type": "boolean"
|
|
6789
|
-
},
|
|
6790
|
-
"locked": {
|
|
6791
|
-
"description": "Lock message",
|
|
6792
|
-
"name": "locked",
|
|
6793
|
-
"allowNo": true,
|
|
6794
|
-
"type": "boolean"
|
|
6795
|
-
},
|
|
6796
|
-
"buttons": {
|
|
6797
|
-
"description": "Buttons JSON array",
|
|
6798
|
-
"name": "buttons",
|
|
6799
|
-
"hasDynamicHelp": false,
|
|
6800
|
-
"multiple": false,
|
|
6801
|
-
"type": "option"
|
|
6802
|
-
},
|
|
6803
|
-
"header-footer": {
|
|
6804
|
-
"description": "Header/footer JSON object",
|
|
6805
|
-
"name": "header-footer",
|
|
6806
|
-
"hasDynamicHelp": false,
|
|
6807
|
-
"multiple": false,
|
|
6808
|
-
"type": "option"
|
|
6809
|
-
},
|
|
6810
|
-
"data": {
|
|
6811
|
-
"description": "Additional JSON object payload",
|
|
6812
|
-
"name": "data",
|
|
6813
|
-
"hasDynamicHelp": false,
|
|
6814
|
-
"multiple": false,
|
|
6815
|
-
"type": "option"
|
|
6816
6914
|
}
|
|
6817
6915
|
},
|
|
6818
6916
|
"hasDynamicHelp": false,
|
|
6819
6917
|
"hiddenAliases": [],
|
|
6820
|
-
"id": "messages:
|
|
6918
|
+
"id": "messages:delete",
|
|
6821
6919
|
"pluginAlias": "@instantkom/cli",
|
|
6822
6920
|
"pluginName": "@instantkom/cli",
|
|
6823
6921
|
"pluginType": "core",
|
|
@@ -6828,13 +6926,19 @@
|
|
|
6828
6926
|
"dist",
|
|
6829
6927
|
"commands",
|
|
6830
6928
|
"messages",
|
|
6831
|
-
"
|
|
6929
|
+
"delete.js"
|
|
6832
6930
|
]
|
|
6833
6931
|
},
|
|
6834
|
-
"
|
|
6932
|
+
"messages:get": {
|
|
6835
6933
|
"aliases": [],
|
|
6836
|
-
"args": {
|
|
6837
|
-
|
|
6934
|
+
"args": {
|
|
6935
|
+
"id": {
|
|
6936
|
+
"description": "message ID",
|
|
6937
|
+
"name": "id",
|
|
6938
|
+
"required": true
|
|
6939
|
+
}
|
|
6940
|
+
},
|
|
6941
|
+
"description": "Get message by ID",
|
|
6838
6942
|
"flags": {
|
|
6839
6943
|
"api-key": {
|
|
6840
6944
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6897,19 +7001,11 @@
|
|
|
6897
7001
|
"hasDynamicHelp": false,
|
|
6898
7002
|
"multiple": false,
|
|
6899
7003
|
"type": "option"
|
|
6900
|
-
},
|
|
6901
|
-
"ids": {
|
|
6902
|
-
"description": "Comma-separated custom field IDs",
|
|
6903
|
-
"name": "ids",
|
|
6904
|
-
"required": true,
|
|
6905
|
-
"hasDynamicHelp": false,
|
|
6906
|
-
"multiple": false,
|
|
6907
|
-
"type": "option"
|
|
6908
7004
|
}
|
|
6909
7005
|
},
|
|
6910
7006
|
"hasDynamicHelp": false,
|
|
6911
7007
|
"hiddenAliases": [],
|
|
6912
|
-
"id": "
|
|
7008
|
+
"id": "messages:get",
|
|
6913
7009
|
"pluginAlias": "@instantkom/cli",
|
|
6914
7010
|
"pluginName": "@instantkom/cli",
|
|
6915
7011
|
"pluginType": "core",
|
|
@@ -6919,14 +7015,14 @@
|
|
|
6919
7015
|
"relativePath": [
|
|
6920
7016
|
"dist",
|
|
6921
7017
|
"commands",
|
|
6922
|
-
"
|
|
6923
|
-
"
|
|
7018
|
+
"messages",
|
|
7019
|
+
"get.js"
|
|
6924
7020
|
]
|
|
6925
7021
|
},
|
|
6926
|
-
"
|
|
7022
|
+
"messages:list": {
|
|
6927
7023
|
"aliases": [],
|
|
6928
7024
|
"args": {},
|
|
6929
|
-
"description": "
|
|
7025
|
+
"description": "List messages",
|
|
6930
7026
|
"flags": {
|
|
6931
7027
|
"api-key": {
|
|
6932
7028
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -6990,71 +7086,71 @@
|
|
|
6990
7086
|
"multiple": false,
|
|
6991
7087
|
"type": "option"
|
|
6992
7088
|
},
|
|
6993
|
-
"
|
|
6994
|
-
"description": "
|
|
6995
|
-
"name": "
|
|
6996
|
-
"
|
|
7089
|
+
"page": {
|
|
7090
|
+
"description": "Page number",
|
|
7091
|
+
"name": "page",
|
|
7092
|
+
"default": 1,
|
|
6997
7093
|
"hasDynamicHelp": false,
|
|
6998
7094
|
"multiple": false,
|
|
6999
7095
|
"type": "option"
|
|
7000
7096
|
},
|
|
7001
|
-
"
|
|
7002
|
-
"description": "
|
|
7003
|
-
"name": "
|
|
7004
|
-
"
|
|
7097
|
+
"limit": {
|
|
7098
|
+
"description": "Items per page",
|
|
7099
|
+
"name": "limit",
|
|
7100
|
+
"default": 20,
|
|
7005
7101
|
"hasDynamicHelp": false,
|
|
7006
7102
|
"multiple": false,
|
|
7007
7103
|
"type": "option"
|
|
7008
7104
|
},
|
|
7009
|
-
"
|
|
7010
|
-
"description": "
|
|
7011
|
-
"name": "
|
|
7012
|
-
"required": true,
|
|
7105
|
+
"channel": {
|
|
7106
|
+
"description": "Filter by channel ID",
|
|
7107
|
+
"name": "channel",
|
|
7013
7108
|
"hasDynamicHelp": false,
|
|
7014
7109
|
"multiple": false,
|
|
7015
|
-
"options": [
|
|
7016
|
-
"text",
|
|
7017
|
-
"number",
|
|
7018
|
-
"date",
|
|
7019
|
-
"dropdown",
|
|
7020
|
-
"checkbox",
|
|
7021
|
-
"url",
|
|
7022
|
-
"email",
|
|
7023
|
-
"phone"
|
|
7024
|
-
],
|
|
7025
7110
|
"type": "option"
|
|
7026
7111
|
},
|
|
7027
|
-
"
|
|
7028
|
-
"description": "
|
|
7029
|
-
"name": "
|
|
7030
|
-
"
|
|
7031
|
-
"
|
|
7112
|
+
"recipient": {
|
|
7113
|
+
"description": "Filter by recipient ID",
|
|
7114
|
+
"name": "recipient",
|
|
7115
|
+
"hasDynamicHelp": false,
|
|
7116
|
+
"multiple": false,
|
|
7117
|
+
"type": "option"
|
|
7032
7118
|
},
|
|
7033
|
-
"
|
|
7034
|
-
"description": "
|
|
7035
|
-
"name": "
|
|
7119
|
+
"direction": {
|
|
7120
|
+
"description": "Direction",
|
|
7121
|
+
"name": "direction",
|
|
7036
7122
|
"hasDynamicHelp": false,
|
|
7037
7123
|
"multiple": false,
|
|
7124
|
+
"options": [
|
|
7125
|
+
"s",
|
|
7126
|
+
"r"
|
|
7127
|
+
],
|
|
7038
7128
|
"type": "option"
|
|
7039
7129
|
},
|
|
7040
|
-
"
|
|
7041
|
-
"description": "
|
|
7042
|
-
"name": "
|
|
7130
|
+
"type": {
|
|
7131
|
+
"description": "Message type",
|
|
7132
|
+
"name": "type",
|
|
7043
7133
|
"hasDynamicHelp": false,
|
|
7044
7134
|
"multiple": false,
|
|
7045
7135
|
"type": "option"
|
|
7046
7136
|
},
|
|
7047
|
-
"
|
|
7048
|
-
"description": "
|
|
7049
|
-
"name": "
|
|
7137
|
+
"search": {
|
|
7138
|
+
"description": "Search messages",
|
|
7139
|
+
"name": "search",
|
|
7050
7140
|
"hasDynamicHelp": false,
|
|
7051
7141
|
"multiple": false,
|
|
7052
7142
|
"type": "option"
|
|
7143
|
+
},
|
|
7144
|
+
"spam": {
|
|
7145
|
+
"description": "Filter spam messages",
|
|
7146
|
+
"name": "spam",
|
|
7147
|
+
"allowNo": false,
|
|
7148
|
+
"type": "boolean"
|
|
7053
7149
|
}
|
|
7054
7150
|
},
|
|
7055
7151
|
"hasDynamicHelp": false,
|
|
7056
7152
|
"hiddenAliases": [],
|
|
7057
|
-
"id": "
|
|
7153
|
+
"id": "messages:list",
|
|
7058
7154
|
"pluginAlias": "@instantkom/cli",
|
|
7059
7155
|
"pluginName": "@instantkom/cli",
|
|
7060
7156
|
"pluginType": "core",
|
|
@@ -7064,20 +7160,20 @@
|
|
|
7064
7160
|
"relativePath": [
|
|
7065
7161
|
"dist",
|
|
7066
7162
|
"commands",
|
|
7067
|
-
"
|
|
7068
|
-
"
|
|
7163
|
+
"messages",
|
|
7164
|
+
"list.js"
|
|
7069
7165
|
]
|
|
7070
7166
|
},
|
|
7071
|
-
"
|
|
7167
|
+
"messages:reactions": {
|
|
7072
7168
|
"aliases": [],
|
|
7073
7169
|
"args": {
|
|
7074
7170
|
"id": {
|
|
7075
|
-
"description": "
|
|
7171
|
+
"description": "Message ID",
|
|
7076
7172
|
"name": "id",
|
|
7077
7173
|
"required": true
|
|
7078
7174
|
}
|
|
7079
7175
|
},
|
|
7080
|
-
"description": "
|
|
7176
|
+
"description": "Get reactions to a message",
|
|
7081
7177
|
"flags": {
|
|
7082
7178
|
"api-key": {
|
|
7083
7179
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7144,7 +7240,7 @@
|
|
|
7144
7240
|
},
|
|
7145
7241
|
"hasDynamicHelp": false,
|
|
7146
7242
|
"hiddenAliases": [],
|
|
7147
|
-
"id": "
|
|
7243
|
+
"id": "messages:reactions",
|
|
7148
7244
|
"pluginAlias": "@instantkom/cli",
|
|
7149
7245
|
"pluginName": "@instantkom/cli",
|
|
7150
7246
|
"pluginType": "core",
|
|
@@ -7154,20 +7250,20 @@
|
|
|
7154
7250
|
"relativePath": [
|
|
7155
7251
|
"dist",
|
|
7156
7252
|
"commands",
|
|
7157
|
-
"
|
|
7158
|
-
"
|
|
7253
|
+
"messages",
|
|
7254
|
+
"reactions.js"
|
|
7159
7255
|
]
|
|
7160
7256
|
},
|
|
7161
|
-
"
|
|
7257
|
+
"messages:spam": {
|
|
7162
7258
|
"aliases": [],
|
|
7163
7259
|
"args": {
|
|
7164
7260
|
"id": {
|
|
7165
|
-
"description": "
|
|
7261
|
+
"description": "Message ID",
|
|
7166
7262
|
"name": "id",
|
|
7167
7263
|
"required": true
|
|
7168
7264
|
}
|
|
7169
7265
|
},
|
|
7170
|
-
"description": "
|
|
7266
|
+
"description": "Mark or unmark a message as spam",
|
|
7171
7267
|
"flags": {
|
|
7172
7268
|
"api-key": {
|
|
7173
7269
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7230,11 +7326,17 @@
|
|
|
7230
7326
|
"hasDynamicHelp": false,
|
|
7231
7327
|
"multiple": false,
|
|
7232
7328
|
"type": "option"
|
|
7329
|
+
},
|
|
7330
|
+
"spam": {
|
|
7331
|
+
"description": "Mark as spam",
|
|
7332
|
+
"name": "spam",
|
|
7333
|
+
"allowNo": true,
|
|
7334
|
+
"type": "boolean"
|
|
7233
7335
|
}
|
|
7234
7336
|
},
|
|
7235
7337
|
"hasDynamicHelp": false,
|
|
7236
7338
|
"hiddenAliases": [],
|
|
7237
|
-
"id": "
|
|
7339
|
+
"id": "messages:spam",
|
|
7238
7340
|
"pluginAlias": "@instantkom/cli",
|
|
7239
7341
|
"pluginName": "@instantkom/cli",
|
|
7240
7342
|
"pluginType": "core",
|
|
@@ -7244,14 +7346,14 @@
|
|
|
7244
7346
|
"relativePath": [
|
|
7245
7347
|
"dist",
|
|
7246
7348
|
"commands",
|
|
7247
|
-
"
|
|
7248
|
-
"
|
|
7349
|
+
"messages",
|
|
7350
|
+
"spam.js"
|
|
7249
7351
|
]
|
|
7250
7352
|
},
|
|
7251
|
-
"
|
|
7353
|
+
"messages:unread-count": {
|
|
7252
7354
|
"aliases": [],
|
|
7253
7355
|
"args": {},
|
|
7254
|
-
"description": "
|
|
7356
|
+
"description": "Get unread inbox message count",
|
|
7255
7357
|
"flags": {
|
|
7256
7358
|
"api-key": {
|
|
7257
7359
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7318,7 +7420,7 @@
|
|
|
7318
7420
|
},
|
|
7319
7421
|
"hasDynamicHelp": false,
|
|
7320
7422
|
"hiddenAliases": [],
|
|
7321
|
-
"id": "
|
|
7423
|
+
"id": "messages:unread-count",
|
|
7322
7424
|
"pluginAlias": "@instantkom/cli",
|
|
7323
7425
|
"pluginName": "@instantkom/cli",
|
|
7324
7426
|
"pluginType": "core",
|
|
@@ -7328,14 +7430,20 @@
|
|
|
7328
7430
|
"relativePath": [
|
|
7329
7431
|
"dist",
|
|
7330
7432
|
"commands",
|
|
7331
|
-
"
|
|
7332
|
-
"
|
|
7433
|
+
"messages",
|
|
7434
|
+
"unread-count.js"
|
|
7333
7435
|
]
|
|
7334
7436
|
},
|
|
7335
|
-
"
|
|
7437
|
+
"messages:update": {
|
|
7336
7438
|
"aliases": [],
|
|
7337
|
-
"args": {
|
|
7338
|
-
|
|
7439
|
+
"args": {
|
|
7440
|
+
"id": {
|
|
7441
|
+
"description": "Message ID",
|
|
7442
|
+
"name": "id",
|
|
7443
|
+
"required": true
|
|
7444
|
+
}
|
|
7445
|
+
},
|
|
7446
|
+
"description": "Update a message",
|
|
7339
7447
|
"flags": {
|
|
7340
7448
|
"api-key": {
|
|
7341
7449
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -7399,150 +7507,42 @@
|
|
|
7399
7507
|
"multiple": false,
|
|
7400
7508
|
"type": "option"
|
|
7401
7509
|
},
|
|
7402
|
-
"
|
|
7403
|
-
"description": "
|
|
7404
|
-
"name": "
|
|
7405
|
-
"required": true,
|
|
7406
|
-
"hasDynamicHelp": false,
|
|
7407
|
-
"multiple": false,
|
|
7408
|
-
"type": "option"
|
|
7409
|
-
}
|
|
7410
|
-
},
|
|
7411
|
-
"hasDynamicHelp": false,
|
|
7412
|
-
"hiddenAliases": [],
|
|
7413
|
-
"id": "custom-fields:reorder",
|
|
7414
|
-
"pluginAlias": "@instantkom/cli",
|
|
7415
|
-
"pluginName": "@instantkom/cli",
|
|
7416
|
-
"pluginType": "core",
|
|
7417
|
-
"strict": true,
|
|
7418
|
-
"enableJsonFlag": false,
|
|
7419
|
-
"isESM": true,
|
|
7420
|
-
"relativePath": [
|
|
7421
|
-
"dist",
|
|
7422
|
-
"commands",
|
|
7423
|
-
"custom-fields",
|
|
7424
|
-
"reorder.js"
|
|
7425
|
-
]
|
|
7426
|
-
},
|
|
7427
|
-
"custom-fields:update": {
|
|
7428
|
-
"aliases": [],
|
|
7429
|
-
"args": {
|
|
7430
|
-
"id": {
|
|
7431
|
-
"description": "Custom field ID",
|
|
7432
|
-
"name": "id",
|
|
7433
|
-
"required": true
|
|
7434
|
-
}
|
|
7435
|
-
},
|
|
7436
|
-
"description": "Update a custom field",
|
|
7437
|
-
"flags": {
|
|
7438
|
-
"api-key": {
|
|
7439
|
-
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
7440
|
-
"env": "IKM_API_KEY",
|
|
7441
|
-
"helpGroup": "GLOBAL",
|
|
7442
|
-
"name": "api-key",
|
|
7443
|
-
"hasDynamicHelp": false,
|
|
7444
|
-
"multiple": false,
|
|
7445
|
-
"type": "option"
|
|
7446
|
-
},
|
|
7447
|
-
"format": {
|
|
7448
|
-
"description": "Output format: text, json, yaml, or table",
|
|
7449
|
-
"helpGroup": "GLOBAL",
|
|
7450
|
-
"name": "format",
|
|
7451
|
-
"default": "text",
|
|
7452
|
-
"hasDynamicHelp": false,
|
|
7453
|
-
"multiple": false,
|
|
7454
|
-
"options": [
|
|
7455
|
-
"text",
|
|
7456
|
-
"json",
|
|
7457
|
-
"yaml",
|
|
7458
|
-
"table"
|
|
7459
|
-
],
|
|
7460
|
-
"type": "option"
|
|
7461
|
-
},
|
|
7462
|
-
"json": {
|
|
7463
|
-
"description": "Output in JSON format (alias for --format=json)",
|
|
7464
|
-
"helpGroup": "GLOBAL",
|
|
7465
|
-
"name": "json",
|
|
7466
|
-
"allowNo": false,
|
|
7467
|
-
"type": "boolean"
|
|
7468
|
-
},
|
|
7469
|
-
"quiet": {
|
|
7470
|
-
"description": "Suppress all output except errors",
|
|
7471
|
-
"helpGroup": "GLOBAL",
|
|
7472
|
-
"name": "quiet",
|
|
7473
|
-
"allowNo": false,
|
|
7474
|
-
"type": "boolean"
|
|
7475
|
-
},
|
|
7476
|
-
"no-color": {
|
|
7477
|
-
"description": "Disable color output",
|
|
7478
|
-
"helpGroup": "GLOBAL",
|
|
7479
|
-
"name": "no-color",
|
|
7480
|
-
"allowNo": false,
|
|
7481
|
-
"type": "boolean"
|
|
7482
|
-
},
|
|
7483
|
-
"profile": {
|
|
7484
|
-
"description": "Named configuration profile to use",
|
|
7485
|
-
"helpGroup": "GLOBAL",
|
|
7486
|
-
"name": "profile",
|
|
7487
|
-
"default": "default",
|
|
7488
|
-
"hasDynamicHelp": false,
|
|
7489
|
-
"multiple": false,
|
|
7490
|
-
"type": "option"
|
|
7491
|
-
},
|
|
7492
|
-
"api-url": {
|
|
7493
|
-
"description": "Override the API base URL (e.g. for staging)",
|
|
7494
|
-
"helpGroup": "GLOBAL",
|
|
7495
|
-
"name": "api-url",
|
|
7496
|
-
"hasDynamicHelp": false,
|
|
7497
|
-
"multiple": false,
|
|
7498
|
-
"type": "option"
|
|
7499
|
-
},
|
|
7500
|
-
"name": {
|
|
7501
|
-
"description": "Field name",
|
|
7502
|
-
"name": "name",
|
|
7510
|
+
"message": {
|
|
7511
|
+
"description": "Message content",
|
|
7512
|
+
"name": "message",
|
|
7503
7513
|
"hasDynamicHelp": false,
|
|
7504
7514
|
"multiple": false,
|
|
7505
7515
|
"type": "option"
|
|
7506
7516
|
},
|
|
7507
|
-
"
|
|
7508
|
-
"description": "
|
|
7509
|
-
"name": "
|
|
7517
|
+
"scheduled-at": {
|
|
7518
|
+
"description": "Unix timestamp for scheduled send",
|
|
7519
|
+
"name": "scheduled-at",
|
|
7510
7520
|
"hasDynamicHelp": false,
|
|
7511
7521
|
"multiple": false,
|
|
7512
|
-
"options": [
|
|
7513
|
-
"text",
|
|
7514
|
-
"number",
|
|
7515
|
-
"date",
|
|
7516
|
-
"dropdown",
|
|
7517
|
-
"checkbox",
|
|
7518
|
-
"url",
|
|
7519
|
-
"email",
|
|
7520
|
-
"phone"
|
|
7521
|
-
],
|
|
7522
7522
|
"type": "option"
|
|
7523
7523
|
},
|
|
7524
|
-
"
|
|
7525
|
-
"description": "
|
|
7526
|
-
"name": "
|
|
7524
|
+
"hidden": {
|
|
7525
|
+
"description": "Hide message",
|
|
7526
|
+
"name": "hidden",
|
|
7527
7527
|
"allowNo": true,
|
|
7528
7528
|
"type": "boolean"
|
|
7529
7529
|
},
|
|
7530
|
-
"
|
|
7531
|
-
"description": "
|
|
7532
|
-
"name": "
|
|
7530
|
+
"locked": {
|
|
7531
|
+
"description": "Lock message",
|
|
7532
|
+
"name": "locked",
|
|
7533
7533
|
"allowNo": true,
|
|
7534
7534
|
"type": "boolean"
|
|
7535
7535
|
},
|
|
7536
|
-
"
|
|
7537
|
-
"description": "
|
|
7538
|
-
"name": "
|
|
7536
|
+
"buttons": {
|
|
7537
|
+
"description": "Buttons JSON array",
|
|
7538
|
+
"name": "buttons",
|
|
7539
7539
|
"hasDynamicHelp": false,
|
|
7540
7540
|
"multiple": false,
|
|
7541
7541
|
"type": "option"
|
|
7542
7542
|
},
|
|
7543
|
-
"
|
|
7544
|
-
"description": "
|
|
7545
|
-
"name": "
|
|
7543
|
+
"header-footer": {
|
|
7544
|
+
"description": "Header/footer JSON object",
|
|
7545
|
+
"name": "header-footer",
|
|
7546
7546
|
"hasDynamicHelp": false,
|
|
7547
7547
|
"multiple": false,
|
|
7548
7548
|
"type": "option"
|
|
@@ -7557,7 +7557,7 @@
|
|
|
7557
7557
|
},
|
|
7558
7558
|
"hasDynamicHelp": false,
|
|
7559
7559
|
"hiddenAliases": [],
|
|
7560
|
-
"id": "
|
|
7560
|
+
"id": "messages:update",
|
|
7561
7561
|
"pluginAlias": "@instantkom/cli",
|
|
7562
7562
|
"pluginName": "@instantkom/cli",
|
|
7563
7563
|
"pluginType": "core",
|
|
@@ -7567,7 +7567,7 @@
|
|
|
7567
7567
|
"relativePath": [
|
|
7568
7568
|
"dist",
|
|
7569
7569
|
"commands",
|
|
7570
|
-
"
|
|
7570
|
+
"messages",
|
|
7571
7571
|
"update.js"
|
|
7572
7572
|
]
|
|
7573
7573
|
},
|
|
@@ -8150,10 +8150,10 @@
|
|
|
8150
8150
|
"update.js"
|
|
8151
8151
|
]
|
|
8152
8152
|
},
|
|
8153
|
-
"
|
|
8153
|
+
"team:create": {
|
|
8154
8154
|
"aliases": [],
|
|
8155
8155
|
"args": {},
|
|
8156
|
-
"description": "Create a
|
|
8156
|
+
"description": "Create a team member",
|
|
8157
8157
|
"flags": {
|
|
8158
8158
|
"api-key": {
|
|
8159
8159
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -8217,78 +8217,62 @@
|
|
|
8217
8217
|
"multiple": false,
|
|
8218
8218
|
"type": "option"
|
|
8219
8219
|
},
|
|
8220
|
-
"
|
|
8221
|
-
"description": "
|
|
8222
|
-
"name": "
|
|
8220
|
+
"email": {
|
|
8221
|
+
"description": "Email address",
|
|
8222
|
+
"name": "email",
|
|
8223
8223
|
"required": true,
|
|
8224
8224
|
"hasDynamicHelp": false,
|
|
8225
8225
|
"multiple": false,
|
|
8226
8226
|
"type": "option"
|
|
8227
8227
|
},
|
|
8228
|
-
"name": {
|
|
8229
|
-
"description": "
|
|
8230
|
-
"name": "name",
|
|
8228
|
+
"first-name": {
|
|
8229
|
+
"description": "First name",
|
|
8230
|
+
"name": "first-name",
|
|
8231
8231
|
"required": true,
|
|
8232
8232
|
"hasDynamicHelp": false,
|
|
8233
8233
|
"multiple": false,
|
|
8234
8234
|
"type": "option"
|
|
8235
8235
|
},
|
|
8236
|
-
"
|
|
8237
|
-
"description": "
|
|
8238
|
-
"name": "
|
|
8239
|
-
"
|
|
8236
|
+
"last-name": {
|
|
8237
|
+
"description": "Last name",
|
|
8238
|
+
"name": "last-name",
|
|
8239
|
+
"required": true,
|
|
8240
8240
|
"hasDynamicHelp": false,
|
|
8241
8241
|
"multiple": false,
|
|
8242
|
-
"options": [
|
|
8243
|
-
"text",
|
|
8244
|
-
"image",
|
|
8245
|
-
"video",
|
|
8246
|
-
"document",
|
|
8247
|
-
"audio",
|
|
8248
|
-
"location",
|
|
8249
|
-
"contact",
|
|
8250
|
-
"interactive"
|
|
8251
|
-
],
|
|
8252
8242
|
"type": "option"
|
|
8253
8243
|
},
|
|
8254
|
-
"
|
|
8255
|
-
"description": "
|
|
8256
|
-
"name": "
|
|
8244
|
+
"password": {
|
|
8245
|
+
"description": "Initial password",
|
|
8246
|
+
"name": "password",
|
|
8257
8247
|
"required": true,
|
|
8258
8248
|
"hasDynamicHelp": false,
|
|
8259
8249
|
"multiple": false,
|
|
8260
8250
|
"type": "option"
|
|
8261
8251
|
},
|
|
8262
|
-
"
|
|
8263
|
-
"description": "
|
|
8264
|
-
"name": "
|
|
8252
|
+
"phone": {
|
|
8253
|
+
"description": "Phone number",
|
|
8254
|
+
"name": "phone",
|
|
8265
8255
|
"hasDynamicHelp": false,
|
|
8266
8256
|
"multiple": false,
|
|
8267
8257
|
"type": "option"
|
|
8268
8258
|
},
|
|
8269
|
-
"
|
|
8270
|
-
"description": "
|
|
8271
|
-
"name": "
|
|
8272
|
-
"allowNo": true,
|
|
8273
|
-
"type": "boolean"
|
|
8274
|
-
},
|
|
8275
|
-
"whatsapp-language": {
|
|
8276
|
-
"description": "WhatsApp template language",
|
|
8277
|
-
"name": "whatsapp-language",
|
|
8259
|
+
"company": {
|
|
8260
|
+
"description": "Company name",
|
|
8261
|
+
"name": "company",
|
|
8278
8262
|
"hasDynamicHelp": false,
|
|
8279
8263
|
"multiple": false,
|
|
8280
8264
|
"type": "option"
|
|
8281
8265
|
},
|
|
8282
|
-
"
|
|
8283
|
-
"description": "
|
|
8284
|
-
"name": "
|
|
8266
|
+
"color": {
|
|
8267
|
+
"description": "Color as HEX",
|
|
8268
|
+
"name": "color",
|
|
8285
8269
|
"hasDynamicHelp": false,
|
|
8286
8270
|
"multiple": false,
|
|
8287
8271
|
"type": "option"
|
|
8288
8272
|
},
|
|
8289
|
-
"
|
|
8290
|
-
"description": "
|
|
8291
|
-
"name": "
|
|
8273
|
+
"folder": {
|
|
8274
|
+
"description": "Object folder ID",
|
|
8275
|
+
"name": "folder",
|
|
8292
8276
|
"hasDynamicHelp": false,
|
|
8293
8277
|
"multiple": false,
|
|
8294
8278
|
"type": "option"
|
|
@@ -8303,7 +8287,7 @@
|
|
|
8303
8287
|
},
|
|
8304
8288
|
"hasDynamicHelp": false,
|
|
8305
8289
|
"hiddenAliases": [],
|
|
8306
|
-
"id": "
|
|
8290
|
+
"id": "team:create",
|
|
8307
8291
|
"pluginAlias": "@instantkom/cli",
|
|
8308
8292
|
"pluginName": "@instantkom/cli",
|
|
8309
8293
|
"pluginType": "core",
|
|
@@ -8313,20 +8297,20 @@
|
|
|
8313
8297
|
"relativePath": [
|
|
8314
8298
|
"dist",
|
|
8315
8299
|
"commands",
|
|
8316
|
-
"
|
|
8300
|
+
"team",
|
|
8317
8301
|
"create.js"
|
|
8318
8302
|
]
|
|
8319
8303
|
},
|
|
8320
|
-
"
|
|
8304
|
+
"team:delete": {
|
|
8321
8305
|
"aliases": [],
|
|
8322
8306
|
"args": {
|
|
8323
8307
|
"id": {
|
|
8324
|
-
"description": "
|
|
8308
|
+
"description": "Team member ID",
|
|
8325
8309
|
"name": "id",
|
|
8326
8310
|
"required": true
|
|
8327
8311
|
}
|
|
8328
8312
|
},
|
|
8329
|
-
"description": "Delete
|
|
8313
|
+
"description": "Delete a team member",
|
|
8330
8314
|
"flags": {
|
|
8331
8315
|
"api-key": {
|
|
8332
8316
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -8393,7 +8377,7 @@
|
|
|
8393
8377
|
},
|
|
8394
8378
|
"hasDynamicHelp": false,
|
|
8395
8379
|
"hiddenAliases": [],
|
|
8396
|
-
"id": "
|
|
8380
|
+
"id": "team:delete",
|
|
8397
8381
|
"pluginAlias": "@instantkom/cli",
|
|
8398
8382
|
"pluginName": "@instantkom/cli",
|
|
8399
8383
|
"pluginType": "core",
|
|
@@ -8403,14 +8387,14 @@
|
|
|
8403
8387
|
"relativePath": [
|
|
8404
8388
|
"dist",
|
|
8405
8389
|
"commands",
|
|
8406
|
-
"
|
|
8390
|
+
"team",
|
|
8407
8391
|
"delete.js"
|
|
8408
8392
|
]
|
|
8409
8393
|
},
|
|
8410
|
-
"
|
|
8394
|
+
"team:list": {
|
|
8411
8395
|
"aliases": [],
|
|
8412
8396
|
"args": {},
|
|
8413
|
-
"description": "
|
|
8397
|
+
"description": "List team members",
|
|
8414
8398
|
"flags": {
|
|
8415
8399
|
"api-key": {
|
|
8416
8400
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -8422,14 +8406,17 @@
|
|
|
8422
8406
|
"type": "option"
|
|
8423
8407
|
},
|
|
8424
8408
|
"format": {
|
|
8425
|
-
"description": "
|
|
8409
|
+
"description": "Output format: text, json, yaml, or table",
|
|
8410
|
+
"helpGroup": "GLOBAL",
|
|
8426
8411
|
"name": "format",
|
|
8427
|
-
"default": "
|
|
8412
|
+
"default": "text",
|
|
8428
8413
|
"hasDynamicHelp": false,
|
|
8429
8414
|
"multiple": false,
|
|
8430
8415
|
"options": [
|
|
8431
|
-
"
|
|
8432
|
-
"json"
|
|
8416
|
+
"text",
|
|
8417
|
+
"json",
|
|
8418
|
+
"yaml",
|
|
8419
|
+
"table"
|
|
8433
8420
|
],
|
|
8434
8421
|
"type": "option"
|
|
8435
8422
|
},
|
|
@@ -8470,26 +8457,11 @@
|
|
|
8470
8457
|
"hasDynamicHelp": false,
|
|
8471
8458
|
"multiple": false,
|
|
8472
8459
|
"type": "option"
|
|
8473
|
-
},
|
|
8474
|
-
"file": {
|
|
8475
|
-
"description": "Output file path",
|
|
8476
|
-
"name": "file",
|
|
8477
|
-
"required": true,
|
|
8478
|
-
"hasDynamicHelp": false,
|
|
8479
|
-
"multiple": false,
|
|
8480
|
-
"type": "option"
|
|
8481
|
-
},
|
|
8482
|
-
"channel": {
|
|
8483
|
-
"description": "Filter by channel ID",
|
|
8484
|
-
"name": "channel",
|
|
8485
|
-
"hasDynamicHelp": false,
|
|
8486
|
-
"multiple": false,
|
|
8487
|
-
"type": "option"
|
|
8488
8460
|
}
|
|
8489
8461
|
},
|
|
8490
8462
|
"hasDynamicHelp": false,
|
|
8491
8463
|
"hiddenAliases": [],
|
|
8492
|
-
"id": "
|
|
8464
|
+
"id": "team:list",
|
|
8493
8465
|
"pluginAlias": "@instantkom/cli",
|
|
8494
8466
|
"pluginName": "@instantkom/cli",
|
|
8495
8467
|
"pluginType": "core",
|
|
@@ -8499,20 +8471,14 @@
|
|
|
8499
8471
|
"relativePath": [
|
|
8500
8472
|
"dist",
|
|
8501
8473
|
"commands",
|
|
8502
|
-
"
|
|
8503
|
-
"
|
|
8474
|
+
"team",
|
|
8475
|
+
"list.js"
|
|
8504
8476
|
]
|
|
8505
8477
|
},
|
|
8506
|
-
"templates:
|
|
8478
|
+
"templates:create": {
|
|
8507
8479
|
"aliases": [],
|
|
8508
|
-
"args": {
|
|
8509
|
-
|
|
8510
|
-
"description": "Template ID",
|
|
8511
|
-
"name": "id",
|
|
8512
|
-
"required": true
|
|
8513
|
-
}
|
|
8514
|
-
},
|
|
8515
|
-
"description": "Get a message template by ID",
|
|
8480
|
+
"args": {},
|
|
8481
|
+
"description": "Create a message template",
|
|
8516
8482
|
"flags": {
|
|
8517
8483
|
"api-key": {
|
|
8518
8484
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -8575,11 +8541,94 @@
|
|
|
8575
8541
|
"hasDynamicHelp": false,
|
|
8576
8542
|
"multiple": false,
|
|
8577
8543
|
"type": "option"
|
|
8544
|
+
},
|
|
8545
|
+
"channel": {
|
|
8546
|
+
"description": "Channel ID",
|
|
8547
|
+
"name": "channel",
|
|
8548
|
+
"required": true,
|
|
8549
|
+
"hasDynamicHelp": false,
|
|
8550
|
+
"multiple": false,
|
|
8551
|
+
"type": "option"
|
|
8552
|
+
},
|
|
8553
|
+
"name": {
|
|
8554
|
+
"description": "Template name",
|
|
8555
|
+
"name": "name",
|
|
8556
|
+
"required": true,
|
|
8557
|
+
"hasDynamicHelp": false,
|
|
8558
|
+
"multiple": false,
|
|
8559
|
+
"type": "option"
|
|
8560
|
+
},
|
|
8561
|
+
"type": {
|
|
8562
|
+
"description": "Template type",
|
|
8563
|
+
"name": "type",
|
|
8564
|
+
"default": "text",
|
|
8565
|
+
"hasDynamicHelp": false,
|
|
8566
|
+
"multiple": false,
|
|
8567
|
+
"options": [
|
|
8568
|
+
"text",
|
|
8569
|
+
"image",
|
|
8570
|
+
"video",
|
|
8571
|
+
"document",
|
|
8572
|
+
"audio",
|
|
8573
|
+
"location",
|
|
8574
|
+
"contact",
|
|
8575
|
+
"interactive"
|
|
8576
|
+
],
|
|
8577
|
+
"type": "option"
|
|
8578
|
+
},
|
|
8579
|
+
"message": {
|
|
8580
|
+
"description": "Template message",
|
|
8581
|
+
"name": "message",
|
|
8582
|
+
"required": true,
|
|
8583
|
+
"hasDynamicHelp": false,
|
|
8584
|
+
"multiple": false,
|
|
8585
|
+
"type": "option"
|
|
8586
|
+
},
|
|
8587
|
+
"color": {
|
|
8588
|
+
"description": "Template color as HEX",
|
|
8589
|
+
"name": "color",
|
|
8590
|
+
"hasDynamicHelp": false,
|
|
8591
|
+
"multiple": false,
|
|
8592
|
+
"type": "option"
|
|
8593
|
+
},
|
|
8594
|
+
"status": {
|
|
8595
|
+
"description": "Template is active",
|
|
8596
|
+
"name": "status",
|
|
8597
|
+
"allowNo": true,
|
|
8598
|
+
"type": "boolean"
|
|
8599
|
+
},
|
|
8600
|
+
"whatsapp-language": {
|
|
8601
|
+
"description": "WhatsApp template language",
|
|
8602
|
+
"name": "whatsapp-language",
|
|
8603
|
+
"hasDynamicHelp": false,
|
|
8604
|
+
"multiple": false,
|
|
8605
|
+
"type": "option"
|
|
8606
|
+
},
|
|
8607
|
+
"buttons": {
|
|
8608
|
+
"description": "Buttons JSON array/object",
|
|
8609
|
+
"name": "buttons",
|
|
8610
|
+
"hasDynamicHelp": false,
|
|
8611
|
+
"multiple": false,
|
|
8612
|
+
"type": "option"
|
|
8613
|
+
},
|
|
8614
|
+
"header-footer": {
|
|
8615
|
+
"description": "Header/footer JSON object",
|
|
8616
|
+
"name": "header-footer",
|
|
8617
|
+
"hasDynamicHelp": false,
|
|
8618
|
+
"multiple": false,
|
|
8619
|
+
"type": "option"
|
|
8620
|
+
},
|
|
8621
|
+
"data": {
|
|
8622
|
+
"description": "Additional JSON object payload",
|
|
8623
|
+
"name": "data",
|
|
8624
|
+
"hasDynamicHelp": false,
|
|
8625
|
+
"multiple": false,
|
|
8626
|
+
"type": "option"
|
|
8578
8627
|
}
|
|
8579
8628
|
},
|
|
8580
8629
|
"hasDynamicHelp": false,
|
|
8581
8630
|
"hiddenAliases": [],
|
|
8582
|
-
"id": "templates:
|
|
8631
|
+
"id": "templates:create",
|
|
8583
8632
|
"pluginAlias": "@instantkom/cli",
|
|
8584
8633
|
"pluginName": "@instantkom/cli",
|
|
8585
8634
|
"pluginType": "core",
|
|
@@ -8590,13 +8639,19 @@
|
|
|
8590
8639
|
"dist",
|
|
8591
8640
|
"commands",
|
|
8592
8641
|
"templates",
|
|
8593
|
-
"
|
|
8642
|
+
"create.js"
|
|
8594
8643
|
]
|
|
8595
8644
|
},
|
|
8596
|
-
"templates:
|
|
8645
|
+
"templates:delete": {
|
|
8597
8646
|
"aliases": [],
|
|
8598
|
-
"args": {
|
|
8599
|
-
|
|
8647
|
+
"args": {
|
|
8648
|
+
"id": {
|
|
8649
|
+
"description": "template ID",
|
|
8650
|
+
"name": "id",
|
|
8651
|
+
"required": true
|
|
8652
|
+
}
|
|
8653
|
+
},
|
|
8654
|
+
"description": "Delete template",
|
|
8600
8655
|
"flags": {
|
|
8601
8656
|
"api-key": {
|
|
8602
8657
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -8659,33 +8714,11 @@
|
|
|
8659
8714
|
"hasDynamicHelp": false,
|
|
8660
8715
|
"multiple": false,
|
|
8661
8716
|
"type": "option"
|
|
8662
|
-
},
|
|
8663
|
-
"file": {
|
|
8664
|
-
"description": "JSON file path",
|
|
8665
|
-
"name": "file",
|
|
8666
|
-
"required": true,
|
|
8667
|
-
"hasDynamicHelp": false,
|
|
8668
|
-
"multiple": false,
|
|
8669
|
-
"type": "option"
|
|
8670
|
-
},
|
|
8671
|
-
"channel": {
|
|
8672
|
-
"description": "Target channel ID",
|
|
8673
|
-
"name": "channel",
|
|
8674
|
-
"required": true,
|
|
8675
|
-
"hasDynamicHelp": false,
|
|
8676
|
-
"multiple": false,
|
|
8677
|
-
"type": "option"
|
|
8678
|
-
},
|
|
8679
|
-
"skip-duplicates": {
|
|
8680
|
-
"description": "Skip duplicate templates",
|
|
8681
|
-
"name": "skip-duplicates",
|
|
8682
|
-
"allowNo": true,
|
|
8683
|
-
"type": "boolean"
|
|
8684
8717
|
}
|
|
8685
8718
|
},
|
|
8686
8719
|
"hasDynamicHelp": false,
|
|
8687
8720
|
"hiddenAliases": [],
|
|
8688
|
-
"id": "templates:
|
|
8721
|
+
"id": "templates:delete",
|
|
8689
8722
|
"pluginAlias": "@instantkom/cli",
|
|
8690
8723
|
"pluginName": "@instantkom/cli",
|
|
8691
8724
|
"pluginType": "core",
|
|
@@ -8696,13 +8729,13 @@
|
|
|
8696
8729
|
"dist",
|
|
8697
8730
|
"commands",
|
|
8698
8731
|
"templates",
|
|
8699
|
-
"
|
|
8732
|
+
"delete.js"
|
|
8700
8733
|
]
|
|
8701
8734
|
},
|
|
8702
|
-
"templates:
|
|
8735
|
+
"templates:export": {
|
|
8703
8736
|
"aliases": [],
|
|
8704
8737
|
"args": {},
|
|
8705
|
-
"description": "
|
|
8738
|
+
"description": "Export templates to a file",
|
|
8706
8739
|
"flags": {
|
|
8707
8740
|
"api-key": {
|
|
8708
8741
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -8714,17 +8747,14 @@
|
|
|
8714
8747
|
"type": "option"
|
|
8715
8748
|
},
|
|
8716
8749
|
"format": {
|
|
8717
|
-
"description": "
|
|
8718
|
-
"helpGroup": "GLOBAL",
|
|
8750
|
+
"description": "Export format",
|
|
8719
8751
|
"name": "format",
|
|
8720
|
-
"default": "
|
|
8752
|
+
"default": "json",
|
|
8721
8753
|
"hasDynamicHelp": false,
|
|
8722
8754
|
"multiple": false,
|
|
8723
8755
|
"options": [
|
|
8724
|
-
"
|
|
8725
|
-
"json"
|
|
8726
|
-
"yaml",
|
|
8727
|
-
"table"
|
|
8756
|
+
"csv",
|
|
8757
|
+
"json"
|
|
8728
8758
|
],
|
|
8729
8759
|
"type": "option"
|
|
8730
8760
|
},
|
|
@@ -8766,32 +8796,17 @@
|
|
|
8766
8796
|
"multiple": false,
|
|
8767
8797
|
"type": "option"
|
|
8768
8798
|
},
|
|
8769
|
-
"
|
|
8770
|
-
"description": "
|
|
8771
|
-
"name": "
|
|
8772
|
-
"
|
|
8773
|
-
"multiple": false,
|
|
8774
|
-
"type": "option"
|
|
8775
|
-
},
|
|
8776
|
-
"search": {
|
|
8777
|
-
"description": "Search templates by name or content",
|
|
8778
|
-
"name": "search",
|
|
8779
|
-
"hasDynamicHelp": false,
|
|
8780
|
-
"multiple": false,
|
|
8781
|
-
"type": "option"
|
|
8782
|
-
},
|
|
8783
|
-
"page": {
|
|
8784
|
-
"description": "Page number",
|
|
8785
|
-
"name": "page",
|
|
8786
|
-
"default": 1,
|
|
8799
|
+
"file": {
|
|
8800
|
+
"description": "Output file path",
|
|
8801
|
+
"name": "file",
|
|
8802
|
+
"required": true,
|
|
8787
8803
|
"hasDynamicHelp": false,
|
|
8788
8804
|
"multiple": false,
|
|
8789
8805
|
"type": "option"
|
|
8790
8806
|
},
|
|
8791
|
-
"
|
|
8792
|
-
"description": "
|
|
8793
|
-
"name": "
|
|
8794
|
-
"default": 20,
|
|
8807
|
+
"channel": {
|
|
8808
|
+
"description": "Filter by channel ID",
|
|
8809
|
+
"name": "channel",
|
|
8795
8810
|
"hasDynamicHelp": false,
|
|
8796
8811
|
"multiple": false,
|
|
8797
8812
|
"type": "option"
|
|
@@ -8799,7 +8814,7 @@
|
|
|
8799
8814
|
},
|
|
8800
8815
|
"hasDynamicHelp": false,
|
|
8801
8816
|
"hiddenAliases": [],
|
|
8802
|
-
"id": "templates:
|
|
8817
|
+
"id": "templates:export",
|
|
8803
8818
|
"pluginAlias": "@instantkom/cli",
|
|
8804
8819
|
"pluginName": "@instantkom/cli",
|
|
8805
8820
|
"pluginType": "core",
|
|
@@ -8810,10 +8825,10 @@
|
|
|
8810
8825
|
"dist",
|
|
8811
8826
|
"commands",
|
|
8812
8827
|
"templates",
|
|
8813
|
-
"
|
|
8828
|
+
"export.js"
|
|
8814
8829
|
]
|
|
8815
8830
|
},
|
|
8816
|
-
"templates:
|
|
8831
|
+
"templates:get": {
|
|
8817
8832
|
"aliases": [],
|
|
8818
8833
|
"args": {
|
|
8819
8834
|
"id": {
|
|
@@ -8822,7 +8837,7 @@
|
|
|
8822
8837
|
"required": true
|
|
8823
8838
|
}
|
|
8824
8839
|
},
|
|
8825
|
-
"description": "
|
|
8840
|
+
"description": "Get a message template by ID",
|
|
8826
8841
|
"flags": {
|
|
8827
8842
|
"api-key": {
|
|
8828
8843
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -8885,18 +8900,11 @@
|
|
|
8885
8900
|
"hasDynamicHelp": false,
|
|
8886
8901
|
"multiple": false,
|
|
8887
8902
|
"type": "option"
|
|
8888
|
-
},
|
|
8889
|
-
"vars": {
|
|
8890
|
-
"description": "Template variable as key=value; may be repeated",
|
|
8891
|
-
"name": "vars",
|
|
8892
|
-
"hasDynamicHelp": false,
|
|
8893
|
-
"multiple": true,
|
|
8894
|
-
"type": "option"
|
|
8895
8903
|
}
|
|
8896
8904
|
},
|
|
8897
8905
|
"hasDynamicHelp": false,
|
|
8898
8906
|
"hiddenAliases": [],
|
|
8899
|
-
"id": "templates:
|
|
8907
|
+
"id": "templates:get",
|
|
8900
8908
|
"pluginAlias": "@instantkom/cli",
|
|
8901
8909
|
"pluginName": "@instantkom/cli",
|
|
8902
8910
|
"pluginType": "core",
|
|
@@ -8907,19 +8915,13 @@
|
|
|
8907
8915
|
"dist",
|
|
8908
8916
|
"commands",
|
|
8909
8917
|
"templates",
|
|
8910
|
-
"
|
|
8918
|
+
"get.js"
|
|
8911
8919
|
]
|
|
8912
8920
|
},
|
|
8913
|
-
"templates:
|
|
8921
|
+
"templates:import": {
|
|
8914
8922
|
"aliases": [],
|
|
8915
|
-
"args": {
|
|
8916
|
-
|
|
8917
|
-
"description": "Template ID",
|
|
8918
|
-
"name": "id",
|
|
8919
|
-
"required": true
|
|
8920
|
-
}
|
|
8921
|
-
},
|
|
8922
|
-
"description": "Update a message template",
|
|
8923
|
+
"args": {},
|
|
8924
|
+
"description": "Import templates from JSON",
|
|
8923
8925
|
"flags": {
|
|
8924
8926
|
"api-key": {
|
|
8925
8927
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -8983,88 +8985,32 @@
|
|
|
8983
8985
|
"multiple": false,
|
|
8984
8986
|
"type": "option"
|
|
8985
8987
|
},
|
|
8986
|
-
"
|
|
8987
|
-
"description": "
|
|
8988
|
-
"name": "
|
|
8989
|
-
"
|
|
8990
|
-
"multiple": false,
|
|
8991
|
-
"type": "option"
|
|
8992
|
-
},
|
|
8993
|
-
"type": {
|
|
8994
|
-
"description": "Template type",
|
|
8995
|
-
"name": "type",
|
|
8996
|
-
"hasDynamicHelp": false,
|
|
8997
|
-
"multiple": false,
|
|
8998
|
-
"options": [
|
|
8999
|
-
"text",
|
|
9000
|
-
"image",
|
|
9001
|
-
"video",
|
|
9002
|
-
"document",
|
|
9003
|
-
"audio",
|
|
9004
|
-
"location",
|
|
9005
|
-
"contact",
|
|
9006
|
-
"interactive"
|
|
9007
|
-
],
|
|
9008
|
-
"type": "option"
|
|
9009
|
-
},
|
|
9010
|
-
"message": {
|
|
9011
|
-
"description": "Template message",
|
|
9012
|
-
"name": "message",
|
|
8988
|
+
"file": {
|
|
8989
|
+
"description": "JSON file path",
|
|
8990
|
+
"name": "file",
|
|
8991
|
+
"required": true,
|
|
9013
8992
|
"hasDynamicHelp": false,
|
|
9014
8993
|
"multiple": false,
|
|
9015
8994
|
"type": "option"
|
|
9016
8995
|
},
|
|
9017
|
-
"
|
|
9018
|
-
"description": "
|
|
9019
|
-
"name": "
|
|
8996
|
+
"channel": {
|
|
8997
|
+
"description": "Target channel ID",
|
|
8998
|
+
"name": "channel",
|
|
8999
|
+
"required": true,
|
|
9020
9000
|
"hasDynamicHelp": false,
|
|
9021
9001
|
"multiple": false,
|
|
9022
9002
|
"type": "option"
|
|
9023
9003
|
},
|
|
9024
|
-
"
|
|
9025
|
-
"description": "
|
|
9026
|
-
"name": "
|
|
9004
|
+
"skip-duplicates": {
|
|
9005
|
+
"description": "Skip duplicate templates",
|
|
9006
|
+
"name": "skip-duplicates",
|
|
9027
9007
|
"allowNo": true,
|
|
9028
9008
|
"type": "boolean"
|
|
9029
|
-
},
|
|
9030
|
-
"remove-media": {
|
|
9031
|
-
"description": "Remove existing media",
|
|
9032
|
-
"name": "remove-media",
|
|
9033
|
-
"allowNo": false,
|
|
9034
|
-
"type": "boolean"
|
|
9035
|
-
},
|
|
9036
|
-
"whatsapp-language": {
|
|
9037
|
-
"description": "WhatsApp template language",
|
|
9038
|
-
"name": "whatsapp-language",
|
|
9039
|
-
"hasDynamicHelp": false,
|
|
9040
|
-
"multiple": false,
|
|
9041
|
-
"type": "option"
|
|
9042
|
-
},
|
|
9043
|
-
"buttons": {
|
|
9044
|
-
"description": "Buttons JSON array/object",
|
|
9045
|
-
"name": "buttons",
|
|
9046
|
-
"hasDynamicHelp": false,
|
|
9047
|
-
"multiple": false,
|
|
9048
|
-
"type": "option"
|
|
9049
|
-
},
|
|
9050
|
-
"header-footer": {
|
|
9051
|
-
"description": "Header/footer JSON object",
|
|
9052
|
-
"name": "header-footer",
|
|
9053
|
-
"hasDynamicHelp": false,
|
|
9054
|
-
"multiple": false,
|
|
9055
|
-
"type": "option"
|
|
9056
|
-
},
|
|
9057
|
-
"data": {
|
|
9058
|
-
"description": "Additional JSON object payload",
|
|
9059
|
-
"name": "data",
|
|
9060
|
-
"hasDynamicHelp": false,
|
|
9061
|
-
"multiple": false,
|
|
9062
|
-
"type": "option"
|
|
9063
9009
|
}
|
|
9064
9010
|
},
|
|
9065
9011
|
"hasDynamicHelp": false,
|
|
9066
9012
|
"hiddenAliases": [],
|
|
9067
|
-
"id": "templates:
|
|
9013
|
+
"id": "templates:import",
|
|
9068
9014
|
"pluginAlias": "@instantkom/cli",
|
|
9069
9015
|
"pluginName": "@instantkom/cli",
|
|
9070
9016
|
"pluginType": "core",
|
|
@@ -9075,13 +9021,13 @@
|
|
|
9075
9021
|
"dist",
|
|
9076
9022
|
"commands",
|
|
9077
9023
|
"templates",
|
|
9078
|
-
"
|
|
9024
|
+
"import.js"
|
|
9079
9025
|
]
|
|
9080
9026
|
},
|
|
9081
|
-
"templates:
|
|
9027
|
+
"templates:list": {
|
|
9082
9028
|
"aliases": [],
|
|
9083
9029
|
"args": {},
|
|
9084
|
-
"description": "
|
|
9030
|
+
"description": "List message templates",
|
|
9085
9031
|
"flags": {
|
|
9086
9032
|
"api-key": {
|
|
9087
9033
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9145,18 +9091,32 @@
|
|
|
9145
9091
|
"multiple": false,
|
|
9146
9092
|
"type": "option"
|
|
9147
9093
|
},
|
|
9148
|
-
"
|
|
9149
|
-
"description": "
|
|
9150
|
-
"name": "
|
|
9151
|
-
"required": true,
|
|
9094
|
+
"channel": {
|
|
9095
|
+
"description": "Filter by channel ID",
|
|
9096
|
+
"name": "channel",
|
|
9152
9097
|
"hasDynamicHelp": false,
|
|
9153
9098
|
"multiple": false,
|
|
9154
9099
|
"type": "option"
|
|
9155
9100
|
},
|
|
9156
|
-
"
|
|
9157
|
-
"description": "
|
|
9158
|
-
"name": "
|
|
9159
|
-
"
|
|
9101
|
+
"search": {
|
|
9102
|
+
"description": "Search templates by name or content",
|
|
9103
|
+
"name": "search",
|
|
9104
|
+
"hasDynamicHelp": false,
|
|
9105
|
+
"multiple": false,
|
|
9106
|
+
"type": "option"
|
|
9107
|
+
},
|
|
9108
|
+
"page": {
|
|
9109
|
+
"description": "Page number",
|
|
9110
|
+
"name": "page",
|
|
9111
|
+
"default": 1,
|
|
9112
|
+
"hasDynamicHelp": false,
|
|
9113
|
+
"multiple": false,
|
|
9114
|
+
"type": "option"
|
|
9115
|
+
},
|
|
9116
|
+
"limit": {
|
|
9117
|
+
"description": "Items per page",
|
|
9118
|
+
"name": "limit",
|
|
9119
|
+
"default": 20,
|
|
9160
9120
|
"hasDynamicHelp": false,
|
|
9161
9121
|
"multiple": false,
|
|
9162
9122
|
"type": "option"
|
|
@@ -9164,7 +9124,7 @@
|
|
|
9164
9124
|
},
|
|
9165
9125
|
"hasDynamicHelp": false,
|
|
9166
9126
|
"hiddenAliases": [],
|
|
9167
|
-
"id": "templates:
|
|
9127
|
+
"id": "templates:list",
|
|
9168
9128
|
"pluginAlias": "@instantkom/cli",
|
|
9169
9129
|
"pluginName": "@instantkom/cli",
|
|
9170
9130
|
"pluginType": "core",
|
|
@@ -9175,13 +9135,19 @@
|
|
|
9175
9135
|
"dist",
|
|
9176
9136
|
"commands",
|
|
9177
9137
|
"templates",
|
|
9178
|
-
"
|
|
9138
|
+
"list.js"
|
|
9179
9139
|
]
|
|
9180
9140
|
},
|
|
9181
|
-
"
|
|
9141
|
+
"templates:render": {
|
|
9182
9142
|
"aliases": [],
|
|
9183
|
-
"args": {
|
|
9184
|
-
|
|
9143
|
+
"args": {
|
|
9144
|
+
"id": {
|
|
9145
|
+
"description": "Template ID",
|
|
9146
|
+
"name": "id",
|
|
9147
|
+
"required": true
|
|
9148
|
+
}
|
|
9149
|
+
},
|
|
9150
|
+
"description": "Render a message template locally",
|
|
9185
9151
|
"flags": {
|
|
9186
9152
|
"api-key": {
|
|
9187
9153
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9245,68 +9211,17 @@
|
|
|
9245
9211
|
"multiple": false,
|
|
9246
9212
|
"type": "option"
|
|
9247
9213
|
},
|
|
9248
|
-
"
|
|
9249
|
-
"description": "
|
|
9250
|
-
"name": "
|
|
9251
|
-
"required": true,
|
|
9252
|
-
"hasDynamicHelp": false,
|
|
9253
|
-
"multiple": false,
|
|
9254
|
-
"type": "option"
|
|
9255
|
-
},
|
|
9256
|
-
"subject": {
|
|
9257
|
-
"description": "Ticket subject",
|
|
9258
|
-
"name": "subject",
|
|
9259
|
-
"required": true,
|
|
9260
|
-
"hasDynamicHelp": false,
|
|
9261
|
-
"multiple": false,
|
|
9262
|
-
"type": "option"
|
|
9263
|
-
},
|
|
9264
|
-
"recipient": {
|
|
9265
|
-
"description": "Existing recipient ID",
|
|
9266
|
-
"name": "recipient",
|
|
9267
|
-
"hasDynamicHelp": false,
|
|
9268
|
-
"multiple": false,
|
|
9269
|
-
"type": "option"
|
|
9270
|
-
},
|
|
9271
|
-
"email": {
|
|
9272
|
-
"description": "Customer email",
|
|
9273
|
-
"name": "email",
|
|
9274
|
-
"hasDynamicHelp": false,
|
|
9275
|
-
"multiple": false,
|
|
9276
|
-
"type": "option"
|
|
9277
|
-
},
|
|
9278
|
-
"name": {
|
|
9279
|
-
"description": "Customer name",
|
|
9280
|
-
"name": "name",
|
|
9281
|
-
"hasDynamicHelp": false,
|
|
9282
|
-
"multiple": false,
|
|
9283
|
-
"type": "option"
|
|
9284
|
-
},
|
|
9285
|
-
"priority": {
|
|
9286
|
-
"description": "Ticket priority",
|
|
9287
|
-
"name": "priority",
|
|
9288
|
-
"hasDynamicHelp": false,
|
|
9289
|
-
"multiple": false,
|
|
9290
|
-
"type": "option"
|
|
9291
|
-
},
|
|
9292
|
-
"source": {
|
|
9293
|
-
"description": "Ticket source",
|
|
9294
|
-
"name": "source",
|
|
9295
|
-
"hasDynamicHelp": false,
|
|
9296
|
-
"multiple": false,
|
|
9297
|
-
"type": "option"
|
|
9298
|
-
},
|
|
9299
|
-
"data": {
|
|
9300
|
-
"description": "Additional JSON object payload",
|
|
9301
|
-
"name": "data",
|
|
9214
|
+
"vars": {
|
|
9215
|
+
"description": "Template variable as key=value; may be repeated",
|
|
9216
|
+
"name": "vars",
|
|
9302
9217
|
"hasDynamicHelp": false,
|
|
9303
|
-
"multiple":
|
|
9218
|
+
"multiple": true,
|
|
9304
9219
|
"type": "option"
|
|
9305
9220
|
}
|
|
9306
9221
|
},
|
|
9307
9222
|
"hasDynamicHelp": false,
|
|
9308
9223
|
"hiddenAliases": [],
|
|
9309
|
-
"id": "
|
|
9224
|
+
"id": "templates:render",
|
|
9310
9225
|
"pluginAlias": "@instantkom/cli",
|
|
9311
9226
|
"pluginName": "@instantkom/cli",
|
|
9312
9227
|
"pluginType": "core",
|
|
@@ -9316,20 +9231,20 @@
|
|
|
9316
9231
|
"relativePath": [
|
|
9317
9232
|
"dist",
|
|
9318
9233
|
"commands",
|
|
9319
|
-
"
|
|
9320
|
-
"
|
|
9234
|
+
"templates",
|
|
9235
|
+
"render.js"
|
|
9321
9236
|
]
|
|
9322
9237
|
},
|
|
9323
|
-
"
|
|
9238
|
+
"templates:update": {
|
|
9324
9239
|
"aliases": [],
|
|
9325
9240
|
"args": {
|
|
9326
9241
|
"id": {
|
|
9327
|
-
"description": "
|
|
9242
|
+
"description": "Template ID",
|
|
9328
9243
|
"name": "id",
|
|
9329
9244
|
"required": true
|
|
9330
9245
|
}
|
|
9331
9246
|
},
|
|
9332
|
-
"description": "
|
|
9247
|
+
"description": "Update a message template",
|
|
9333
9248
|
"flags": {
|
|
9334
9249
|
"api-key": {
|
|
9335
9250
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9393,10 +9308,80 @@
|
|
|
9393
9308
|
"multiple": false,
|
|
9394
9309
|
"type": "option"
|
|
9395
9310
|
},
|
|
9396
|
-
"
|
|
9397
|
-
"description": "
|
|
9398
|
-
"name": "
|
|
9399
|
-
"
|
|
9311
|
+
"name": {
|
|
9312
|
+
"description": "Template name",
|
|
9313
|
+
"name": "name",
|
|
9314
|
+
"hasDynamicHelp": false,
|
|
9315
|
+
"multiple": false,
|
|
9316
|
+
"type": "option"
|
|
9317
|
+
},
|
|
9318
|
+
"type": {
|
|
9319
|
+
"description": "Template type",
|
|
9320
|
+
"name": "type",
|
|
9321
|
+
"hasDynamicHelp": false,
|
|
9322
|
+
"multiple": false,
|
|
9323
|
+
"options": [
|
|
9324
|
+
"text",
|
|
9325
|
+
"image",
|
|
9326
|
+
"video",
|
|
9327
|
+
"document",
|
|
9328
|
+
"audio",
|
|
9329
|
+
"location",
|
|
9330
|
+
"contact",
|
|
9331
|
+
"interactive"
|
|
9332
|
+
],
|
|
9333
|
+
"type": "option"
|
|
9334
|
+
},
|
|
9335
|
+
"message": {
|
|
9336
|
+
"description": "Template message",
|
|
9337
|
+
"name": "message",
|
|
9338
|
+
"hasDynamicHelp": false,
|
|
9339
|
+
"multiple": false,
|
|
9340
|
+
"type": "option"
|
|
9341
|
+
},
|
|
9342
|
+
"color": {
|
|
9343
|
+
"description": "Template color as HEX",
|
|
9344
|
+
"name": "color",
|
|
9345
|
+
"hasDynamicHelp": false,
|
|
9346
|
+
"multiple": false,
|
|
9347
|
+
"type": "option"
|
|
9348
|
+
},
|
|
9349
|
+
"status": {
|
|
9350
|
+
"description": "Template is active",
|
|
9351
|
+
"name": "status",
|
|
9352
|
+
"allowNo": true,
|
|
9353
|
+
"type": "boolean"
|
|
9354
|
+
},
|
|
9355
|
+
"remove-media": {
|
|
9356
|
+
"description": "Remove existing media",
|
|
9357
|
+
"name": "remove-media",
|
|
9358
|
+
"allowNo": false,
|
|
9359
|
+
"type": "boolean"
|
|
9360
|
+
},
|
|
9361
|
+
"whatsapp-language": {
|
|
9362
|
+
"description": "WhatsApp template language",
|
|
9363
|
+
"name": "whatsapp-language",
|
|
9364
|
+
"hasDynamicHelp": false,
|
|
9365
|
+
"multiple": false,
|
|
9366
|
+
"type": "option"
|
|
9367
|
+
},
|
|
9368
|
+
"buttons": {
|
|
9369
|
+
"description": "Buttons JSON array/object",
|
|
9370
|
+
"name": "buttons",
|
|
9371
|
+
"hasDynamicHelp": false,
|
|
9372
|
+
"multiple": false,
|
|
9373
|
+
"type": "option"
|
|
9374
|
+
},
|
|
9375
|
+
"header-footer": {
|
|
9376
|
+
"description": "Header/footer JSON object",
|
|
9377
|
+
"name": "header-footer",
|
|
9378
|
+
"hasDynamicHelp": false,
|
|
9379
|
+
"multiple": false,
|
|
9380
|
+
"type": "option"
|
|
9381
|
+
},
|
|
9382
|
+
"data": {
|
|
9383
|
+
"description": "Additional JSON object payload",
|
|
9384
|
+
"name": "data",
|
|
9400
9385
|
"hasDynamicHelp": false,
|
|
9401
9386
|
"multiple": false,
|
|
9402
9387
|
"type": "option"
|
|
@@ -9404,7 +9389,7 @@
|
|
|
9404
9389
|
},
|
|
9405
9390
|
"hasDynamicHelp": false,
|
|
9406
9391
|
"hiddenAliases": [],
|
|
9407
|
-
"id": "
|
|
9392
|
+
"id": "templates:update",
|
|
9408
9393
|
"pluginAlias": "@instantkom/cli",
|
|
9409
9394
|
"pluginName": "@instantkom/cli",
|
|
9410
9395
|
"pluginType": "core",
|
|
@@ -9414,20 +9399,14 @@
|
|
|
9414
9399
|
"relativePath": [
|
|
9415
9400
|
"dist",
|
|
9416
9401
|
"commands",
|
|
9417
|
-
"
|
|
9418
|
-
"
|
|
9402
|
+
"templates",
|
|
9403
|
+
"update.js"
|
|
9419
9404
|
]
|
|
9420
9405
|
},
|
|
9421
|
-
"
|
|
9406
|
+
"templates:validate-import": {
|
|
9422
9407
|
"aliases": [],
|
|
9423
|
-
"args": {
|
|
9424
|
-
|
|
9425
|
-
"description": "Ticket ID",
|
|
9426
|
-
"name": "id",
|
|
9427
|
-
"required": true
|
|
9428
|
-
}
|
|
9429
|
-
},
|
|
9430
|
-
"description": "Get a ticket by ID",
|
|
9408
|
+
"args": {},
|
|
9409
|
+
"description": "Validate templates import JSON",
|
|
9431
9410
|
"flags": {
|
|
9432
9411
|
"api-key": {
|
|
9433
9412
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9491,8 +9470,16 @@
|
|
|
9491
9470
|
"multiple": false,
|
|
9492
9471
|
"type": "option"
|
|
9493
9472
|
},
|
|
9473
|
+
"file": {
|
|
9474
|
+
"description": "JSON file path",
|
|
9475
|
+
"name": "file",
|
|
9476
|
+
"required": true,
|
|
9477
|
+
"hasDynamicHelp": false,
|
|
9478
|
+
"multiple": false,
|
|
9479
|
+
"type": "option"
|
|
9480
|
+
},
|
|
9494
9481
|
"channel": {
|
|
9495
|
-
"description": "
|
|
9482
|
+
"description": "Target channel ID",
|
|
9496
9483
|
"name": "channel",
|
|
9497
9484
|
"required": true,
|
|
9498
9485
|
"hasDynamicHelp": false,
|
|
@@ -9502,7 +9489,7 @@
|
|
|
9502
9489
|
},
|
|
9503
9490
|
"hasDynamicHelp": false,
|
|
9504
9491
|
"hiddenAliases": [],
|
|
9505
|
-
"id": "
|
|
9492
|
+
"id": "templates:validate-import",
|
|
9506
9493
|
"pluginAlias": "@instantkom/cli",
|
|
9507
9494
|
"pluginName": "@instantkom/cli",
|
|
9508
9495
|
"pluginType": "core",
|
|
@@ -9512,14 +9499,14 @@
|
|
|
9512
9499
|
"relativePath": [
|
|
9513
9500
|
"dist",
|
|
9514
9501
|
"commands",
|
|
9515
|
-
"
|
|
9516
|
-
"
|
|
9502
|
+
"templates",
|
|
9503
|
+
"validate-import.js"
|
|
9517
9504
|
]
|
|
9518
9505
|
},
|
|
9519
|
-
"tickets:
|
|
9506
|
+
"tickets:create": {
|
|
9520
9507
|
"aliases": [],
|
|
9521
9508
|
"args": {},
|
|
9522
|
-
"description": "
|
|
9509
|
+
"description": "Create a ticket",
|
|
9523
9510
|
"flags": {
|
|
9524
9511
|
"api-key": {
|
|
9525
9512
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9591,18 +9578,52 @@
|
|
|
9591
9578
|
"multiple": false,
|
|
9592
9579
|
"type": "option"
|
|
9593
9580
|
},
|
|
9594
|
-
"
|
|
9595
|
-
"description": "
|
|
9596
|
-
"name": "
|
|
9597
|
-
"
|
|
9581
|
+
"subject": {
|
|
9582
|
+
"description": "Ticket subject",
|
|
9583
|
+
"name": "subject",
|
|
9584
|
+
"required": true,
|
|
9598
9585
|
"hasDynamicHelp": false,
|
|
9599
9586
|
"multiple": false,
|
|
9600
9587
|
"type": "option"
|
|
9601
9588
|
},
|
|
9602
|
-
"
|
|
9603
|
-
"description": "
|
|
9604
|
-
"name": "
|
|
9605
|
-
"
|
|
9589
|
+
"recipient": {
|
|
9590
|
+
"description": "Existing recipient ID",
|
|
9591
|
+
"name": "recipient",
|
|
9592
|
+
"hasDynamicHelp": false,
|
|
9593
|
+
"multiple": false,
|
|
9594
|
+
"type": "option"
|
|
9595
|
+
},
|
|
9596
|
+
"email": {
|
|
9597
|
+
"description": "Customer email",
|
|
9598
|
+
"name": "email",
|
|
9599
|
+
"hasDynamicHelp": false,
|
|
9600
|
+
"multiple": false,
|
|
9601
|
+
"type": "option"
|
|
9602
|
+
},
|
|
9603
|
+
"name": {
|
|
9604
|
+
"description": "Customer name",
|
|
9605
|
+
"name": "name",
|
|
9606
|
+
"hasDynamicHelp": false,
|
|
9607
|
+
"multiple": false,
|
|
9608
|
+
"type": "option"
|
|
9609
|
+
},
|
|
9610
|
+
"priority": {
|
|
9611
|
+
"description": "Ticket priority",
|
|
9612
|
+
"name": "priority",
|
|
9613
|
+
"hasDynamicHelp": false,
|
|
9614
|
+
"multiple": false,
|
|
9615
|
+
"type": "option"
|
|
9616
|
+
},
|
|
9617
|
+
"source": {
|
|
9618
|
+
"description": "Ticket source",
|
|
9619
|
+
"name": "source",
|
|
9620
|
+
"hasDynamicHelp": false,
|
|
9621
|
+
"multiple": false,
|
|
9622
|
+
"type": "option"
|
|
9623
|
+
},
|
|
9624
|
+
"data": {
|
|
9625
|
+
"description": "Additional JSON object payload",
|
|
9626
|
+
"name": "data",
|
|
9606
9627
|
"hasDynamicHelp": false,
|
|
9607
9628
|
"multiple": false,
|
|
9608
9629
|
"type": "option"
|
|
@@ -9610,7 +9631,7 @@
|
|
|
9610
9631
|
},
|
|
9611
9632
|
"hasDynamicHelp": false,
|
|
9612
9633
|
"hiddenAliases": [],
|
|
9613
|
-
"id": "tickets:
|
|
9634
|
+
"id": "tickets:create",
|
|
9614
9635
|
"pluginAlias": "@instantkom/cli",
|
|
9615
9636
|
"pluginName": "@instantkom/cli",
|
|
9616
9637
|
"pluginType": "core",
|
|
@@ -9621,10 +9642,10 @@
|
|
|
9621
9642
|
"dist",
|
|
9622
9643
|
"commands",
|
|
9623
9644
|
"tickets",
|
|
9624
|
-
"
|
|
9645
|
+
"create.js"
|
|
9625
9646
|
]
|
|
9626
9647
|
},
|
|
9627
|
-
"tickets:
|
|
9648
|
+
"tickets:delete": {
|
|
9628
9649
|
"aliases": [],
|
|
9629
9650
|
"args": {
|
|
9630
9651
|
"id": {
|
|
@@ -9633,7 +9654,7 @@
|
|
|
9633
9654
|
"required": true
|
|
9634
9655
|
}
|
|
9635
9656
|
},
|
|
9636
|
-
"description": "
|
|
9657
|
+
"description": "Delete a ticket",
|
|
9637
9658
|
"flags": {
|
|
9638
9659
|
"api-key": {
|
|
9639
9660
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9697,24 +9718,18 @@
|
|
|
9697
9718
|
"multiple": false,
|
|
9698
9719
|
"type": "option"
|
|
9699
9720
|
},
|
|
9700
|
-
"
|
|
9701
|
-
"description": "
|
|
9702
|
-
"name": "
|
|
9721
|
+
"channel": {
|
|
9722
|
+
"description": "Channel ID",
|
|
9723
|
+
"name": "channel",
|
|
9703
9724
|
"required": true,
|
|
9704
9725
|
"hasDynamicHelp": false,
|
|
9705
9726
|
"multiple": false,
|
|
9706
9727
|
"type": "option"
|
|
9707
|
-
},
|
|
9708
|
-
"close": {
|
|
9709
|
-
"description": "Close the ticket after sending the reply",
|
|
9710
|
-
"name": "close",
|
|
9711
|
-
"allowNo": false,
|
|
9712
|
-
"type": "boolean"
|
|
9713
9728
|
}
|
|
9714
9729
|
},
|
|
9715
9730
|
"hasDynamicHelp": false,
|
|
9716
9731
|
"hiddenAliases": [],
|
|
9717
|
-
"id": "tickets:
|
|
9732
|
+
"id": "tickets:delete",
|
|
9718
9733
|
"pluginAlias": "@instantkom/cli",
|
|
9719
9734
|
"pluginName": "@instantkom/cli",
|
|
9720
9735
|
"pluginType": "core",
|
|
@@ -9725,10 +9740,10 @@
|
|
|
9725
9740
|
"dist",
|
|
9726
9741
|
"commands",
|
|
9727
9742
|
"tickets",
|
|
9728
|
-
"
|
|
9743
|
+
"delete.js"
|
|
9729
9744
|
]
|
|
9730
9745
|
},
|
|
9731
|
-
"tickets:
|
|
9746
|
+
"tickets:get": {
|
|
9732
9747
|
"aliases": [],
|
|
9733
9748
|
"args": {
|
|
9734
9749
|
"id": {
|
|
@@ -9737,7 +9752,7 @@
|
|
|
9737
9752
|
"required": true
|
|
9738
9753
|
}
|
|
9739
9754
|
},
|
|
9740
|
-
"description": "
|
|
9755
|
+
"description": "Get a ticket by ID",
|
|
9741
9756
|
"flags": {
|
|
9742
9757
|
"api-key": {
|
|
9743
9758
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9808,52 +9823,11 @@
|
|
|
9808
9823
|
"hasDynamicHelp": false,
|
|
9809
9824
|
"multiple": false,
|
|
9810
9825
|
"type": "option"
|
|
9811
|
-
},
|
|
9812
|
-
"subject": {
|
|
9813
|
-
"description": "Ticket subject",
|
|
9814
|
-
"name": "subject",
|
|
9815
|
-
"hasDynamicHelp": false,
|
|
9816
|
-
"multiple": false,
|
|
9817
|
-
"type": "option"
|
|
9818
|
-
},
|
|
9819
|
-
"priority": {
|
|
9820
|
-
"description": "Ticket priority",
|
|
9821
|
-
"name": "priority",
|
|
9822
|
-
"hasDynamicHelp": false,
|
|
9823
|
-
"multiple": false,
|
|
9824
|
-
"type": "option"
|
|
9825
|
-
},
|
|
9826
|
-
"status": {
|
|
9827
|
-
"description": "Ticket status",
|
|
9828
|
-
"name": "status",
|
|
9829
|
-
"hasDynamicHelp": false,
|
|
9830
|
-
"multiple": false,
|
|
9831
|
-
"type": "option"
|
|
9832
|
-
},
|
|
9833
|
-
"assigned-to": {
|
|
9834
|
-
"description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
|
|
9835
|
-
"name": "assigned-to",
|
|
9836
|
-
"hasDynamicHelp": false,
|
|
9837
|
-
"multiple": false,
|
|
9838
|
-
"type": "option"
|
|
9839
|
-
},
|
|
9840
|
-
"notify": {
|
|
9841
|
-
"description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
|
|
9842
|
-
"name": "notify",
|
|
9843
|
-
"allowNo": true,
|
|
9844
|
-
"type": "boolean"
|
|
9845
|
-
},
|
|
9846
|
-
"data": {
|
|
9847
|
-
"description": "Additional JSON object payload",
|
|
9848
|
-
"name": "data",
|
|
9849
|
-
"hasDynamicHelp": false,
|
|
9850
|
-
"multiple": false,
|
|
9851
|
-
"type": "option"
|
|
9852
9826
|
}
|
|
9853
9827
|
},
|
|
9854
9828
|
"hasDynamicHelp": false,
|
|
9855
9829
|
"hiddenAliases": [],
|
|
9856
|
-
"id": "tickets:
|
|
9830
|
+
"id": "tickets:get",
|
|
9857
9831
|
"pluginAlias": "@instantkom/cli",
|
|
9858
9832
|
"pluginName": "@instantkom/cli",
|
|
9859
9833
|
"pluginType": "core",
|
|
@@ -9864,13 +9838,13 @@
|
|
|
9864
9838
|
"dist",
|
|
9865
9839
|
"commands",
|
|
9866
9840
|
"tickets",
|
|
9867
|
-
"
|
|
9841
|
+
"get.js"
|
|
9868
9842
|
]
|
|
9869
9843
|
},
|
|
9870
|
-
"
|
|
9844
|
+
"tickets:list": {
|
|
9871
9845
|
"aliases": [],
|
|
9872
9846
|
"args": {},
|
|
9873
|
-
"description": "
|
|
9847
|
+
"description": "List tickets for a channel",
|
|
9874
9848
|
"flags": {
|
|
9875
9849
|
"api-key": {
|
|
9876
9850
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -9934,25 +9908,26 @@
|
|
|
9934
9908
|
"multiple": false,
|
|
9935
9909
|
"type": "option"
|
|
9936
9910
|
},
|
|
9937
|
-
"
|
|
9938
|
-
"description": "
|
|
9939
|
-
"name": "
|
|
9911
|
+
"channel": {
|
|
9912
|
+
"description": "Channel ID",
|
|
9913
|
+
"name": "channel",
|
|
9940
9914
|
"required": true,
|
|
9941
9915
|
"hasDynamicHelp": false,
|
|
9942
9916
|
"multiple": false,
|
|
9943
|
-
"options": [
|
|
9944
|
-
"new_contact",
|
|
9945
|
-
"new_message",
|
|
9946
|
-
"broadcast_sent",
|
|
9947
|
-
"contact_updated",
|
|
9948
|
-
"contact_opted_out"
|
|
9949
|
-
],
|
|
9950
9917
|
"type": "option"
|
|
9951
9918
|
},
|
|
9952
|
-
"
|
|
9953
|
-
"description": "
|
|
9954
|
-
"name": "
|
|
9955
|
-
"
|
|
9919
|
+
"limit": {
|
|
9920
|
+
"description": "Maximum tickets to return",
|
|
9921
|
+
"name": "limit",
|
|
9922
|
+
"default": 500,
|
|
9923
|
+
"hasDynamicHelp": false,
|
|
9924
|
+
"multiple": false,
|
|
9925
|
+
"type": "option"
|
|
9926
|
+
},
|
|
9927
|
+
"offset": {
|
|
9928
|
+
"description": "Number of tickets to skip",
|
|
9929
|
+
"name": "offset",
|
|
9930
|
+
"default": 0,
|
|
9956
9931
|
"hasDynamicHelp": false,
|
|
9957
9932
|
"multiple": false,
|
|
9958
9933
|
"type": "option"
|
|
@@ -9960,7 +9935,7 @@
|
|
|
9960
9935
|
},
|
|
9961
9936
|
"hasDynamicHelp": false,
|
|
9962
9937
|
"hiddenAliases": [],
|
|
9963
|
-
"id": "
|
|
9938
|
+
"id": "tickets:list",
|
|
9964
9939
|
"pluginAlias": "@instantkom/cli",
|
|
9965
9940
|
"pluginName": "@instantkom/cli",
|
|
9966
9941
|
"pluginType": "core",
|
|
@@ -9970,14 +9945,20 @@
|
|
|
9970
9945
|
"relativePath": [
|
|
9971
9946
|
"dist",
|
|
9972
9947
|
"commands",
|
|
9973
|
-
"
|
|
9974
|
-
"
|
|
9948
|
+
"tickets",
|
|
9949
|
+
"list.js"
|
|
9975
9950
|
]
|
|
9976
9951
|
},
|
|
9977
|
-
"
|
|
9952
|
+
"tickets:reply": {
|
|
9978
9953
|
"aliases": [],
|
|
9979
|
-
"args": {
|
|
9980
|
-
|
|
9954
|
+
"args": {
|
|
9955
|
+
"id": {
|
|
9956
|
+
"description": "Ticket ID",
|
|
9957
|
+
"name": "id",
|
|
9958
|
+
"required": true
|
|
9959
|
+
}
|
|
9960
|
+
},
|
|
9961
|
+
"description": "Send a real support reply on a ticket. Delivers the message to the customer and records it in both the ticket history and the Nachrichtenprotokoll. Provide raw body text only; the ticket system auto-prepends the personalised salutation and auto-appends the localised footer for email-channel tickets. Adding your own greetings causes duplicated headers/footers.",
|
|
9981
9962
|
"flags": {
|
|
9982
9963
|
"api-key": {
|
|
9983
9964
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10040,11 +10021,25 @@
|
|
|
10040
10021
|
"hasDynamicHelp": false,
|
|
10041
10022
|
"multiple": false,
|
|
10042
10023
|
"type": "option"
|
|
10024
|
+
},
|
|
10025
|
+
"message": {
|
|
10026
|
+
"description": "Reply body (raw text, no salutation or sign-off)",
|
|
10027
|
+
"name": "message",
|
|
10028
|
+
"required": true,
|
|
10029
|
+
"hasDynamicHelp": false,
|
|
10030
|
+
"multiple": false,
|
|
10031
|
+
"type": "option"
|
|
10032
|
+
},
|
|
10033
|
+
"close": {
|
|
10034
|
+
"description": "Close the ticket after sending the reply",
|
|
10035
|
+
"name": "close",
|
|
10036
|
+
"allowNo": false,
|
|
10037
|
+
"type": "boolean"
|
|
10043
10038
|
}
|
|
10044
10039
|
},
|
|
10045
10040
|
"hasDynamicHelp": false,
|
|
10046
10041
|
"hiddenAliases": [],
|
|
10047
|
-
"id": "
|
|
10042
|
+
"id": "tickets:reply",
|
|
10048
10043
|
"pluginAlias": "@instantkom/cli",
|
|
10049
10044
|
"pluginName": "@instantkom/cli",
|
|
10050
10045
|
"pluginType": "core",
|
|
@@ -10054,14 +10049,20 @@
|
|
|
10054
10049
|
"relativePath": [
|
|
10055
10050
|
"dist",
|
|
10056
10051
|
"commands",
|
|
10057
|
-
"
|
|
10058
|
-
"
|
|
10052
|
+
"tickets",
|
|
10053
|
+
"reply.js"
|
|
10059
10054
|
]
|
|
10060
10055
|
},
|
|
10061
|
-
"
|
|
10056
|
+
"tickets:update": {
|
|
10062
10057
|
"aliases": [],
|
|
10063
|
-
"args": {
|
|
10064
|
-
|
|
10058
|
+
"args": {
|
|
10059
|
+
"id": {
|
|
10060
|
+
"description": "Ticket ID",
|
|
10061
|
+
"name": "id",
|
|
10062
|
+
"required": true
|
|
10063
|
+
}
|
|
10064
|
+
},
|
|
10065
|
+
"description": "Update a ticket",
|
|
10065
10066
|
"flags": {
|
|
10066
10067
|
"api-key": {
|
|
10067
10068
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10124,11 +10125,60 @@
|
|
|
10124
10125
|
"hasDynamicHelp": false,
|
|
10125
10126
|
"multiple": false,
|
|
10126
10127
|
"type": "option"
|
|
10128
|
+
},
|
|
10129
|
+
"channel": {
|
|
10130
|
+
"description": "Channel ID",
|
|
10131
|
+
"name": "channel",
|
|
10132
|
+
"required": true,
|
|
10133
|
+
"hasDynamicHelp": false,
|
|
10134
|
+
"multiple": false,
|
|
10135
|
+
"type": "option"
|
|
10136
|
+
},
|
|
10137
|
+
"subject": {
|
|
10138
|
+
"description": "Ticket subject",
|
|
10139
|
+
"name": "subject",
|
|
10140
|
+
"hasDynamicHelp": false,
|
|
10141
|
+
"multiple": false,
|
|
10142
|
+
"type": "option"
|
|
10143
|
+
},
|
|
10144
|
+
"priority": {
|
|
10145
|
+
"description": "Ticket priority",
|
|
10146
|
+
"name": "priority",
|
|
10147
|
+
"hasDynamicHelp": false,
|
|
10148
|
+
"multiple": false,
|
|
10149
|
+
"type": "option"
|
|
10150
|
+
},
|
|
10151
|
+
"status": {
|
|
10152
|
+
"description": "Ticket status",
|
|
10153
|
+
"name": "status",
|
|
10154
|
+
"hasDynamicHelp": false,
|
|
10155
|
+
"multiple": false,
|
|
10156
|
+
"type": "option"
|
|
10157
|
+
},
|
|
10158
|
+
"assigned-to": {
|
|
10159
|
+
"description": "User ID to assign the ticket to (use -1 or omit to leave unchanged)",
|
|
10160
|
+
"name": "assigned-to",
|
|
10161
|
+
"hasDynamicHelp": false,
|
|
10162
|
+
"multiple": false,
|
|
10163
|
+
"type": "option"
|
|
10164
|
+
},
|
|
10165
|
+
"notify": {
|
|
10166
|
+
"description": "Trigger the legacy notification chain for transitions that have one. On --assigned-to change: fires TICKET_ASSIGN (assignee email plus optional customer reply via tickets_assign_reply_sts). On --status closed transition: fires TICKET_CLOSE (optional customer reply via tickets_close_reply_sts). Defaults to true. Use --no-notify for silent updates.",
|
|
10167
|
+
"name": "notify",
|
|
10168
|
+
"allowNo": true,
|
|
10169
|
+
"type": "boolean"
|
|
10170
|
+
},
|
|
10171
|
+
"data": {
|
|
10172
|
+
"description": "Additional JSON object payload",
|
|
10173
|
+
"name": "data",
|
|
10174
|
+
"hasDynamicHelp": false,
|
|
10175
|
+
"multiple": false,
|
|
10176
|
+
"type": "option"
|
|
10127
10177
|
}
|
|
10128
10178
|
},
|
|
10129
10179
|
"hasDynamicHelp": false,
|
|
10130
10180
|
"hiddenAliases": [],
|
|
10131
|
-
"id": "
|
|
10181
|
+
"id": "tickets:update",
|
|
10132
10182
|
"pluginAlias": "@instantkom/cli",
|
|
10133
10183
|
"pluginName": "@instantkom/cli",
|
|
10134
10184
|
"pluginType": "core",
|
|
@@ -10138,14 +10188,14 @@
|
|
|
10138
10188
|
"relativePath": [
|
|
10139
10189
|
"dist",
|
|
10140
10190
|
"commands",
|
|
10141
|
-
"
|
|
10142
|
-
"
|
|
10191
|
+
"tickets",
|
|
10192
|
+
"update.js"
|
|
10143
10193
|
]
|
|
10144
10194
|
},
|
|
10145
|
-
"webhooks:
|
|
10195
|
+
"webhooks:add": {
|
|
10146
10196
|
"aliases": [],
|
|
10147
10197
|
"args": {},
|
|
10148
|
-
"description": "
|
|
10198
|
+
"description": "Add a webhook subscription",
|
|
10149
10199
|
"flags": {
|
|
10150
10200
|
"api-key": {
|
|
10151
10201
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10208,11 +10258,34 @@
|
|
|
10208
10258
|
"hasDynamicHelp": false,
|
|
10209
10259
|
"multiple": false,
|
|
10210
10260
|
"type": "option"
|
|
10261
|
+
},
|
|
10262
|
+
"event": {
|
|
10263
|
+
"description": "Webhook event to subscribe to",
|
|
10264
|
+
"name": "event",
|
|
10265
|
+
"required": true,
|
|
10266
|
+
"hasDynamicHelp": false,
|
|
10267
|
+
"multiple": false,
|
|
10268
|
+
"options": [
|
|
10269
|
+
"new_contact",
|
|
10270
|
+
"new_message",
|
|
10271
|
+
"broadcast_sent",
|
|
10272
|
+
"contact_updated",
|
|
10273
|
+
"contact_opted_out"
|
|
10274
|
+
],
|
|
10275
|
+
"type": "option"
|
|
10276
|
+
},
|
|
10277
|
+
"url": {
|
|
10278
|
+
"description": "HTTPS target URL that receives webhook POSTs",
|
|
10279
|
+
"name": "url",
|
|
10280
|
+
"required": true,
|
|
10281
|
+
"hasDynamicHelp": false,
|
|
10282
|
+
"multiple": false,
|
|
10283
|
+
"type": "option"
|
|
10211
10284
|
}
|
|
10212
10285
|
},
|
|
10213
10286
|
"hasDynamicHelp": false,
|
|
10214
10287
|
"hiddenAliases": [],
|
|
10215
|
-
"id": "webhooks:
|
|
10288
|
+
"id": "webhooks:add",
|
|
10216
10289
|
"pluginAlias": "@instantkom/cli",
|
|
10217
10290
|
"pluginName": "@instantkom/cli",
|
|
10218
10291
|
"pluginType": "core",
|
|
@@ -10223,19 +10296,13 @@
|
|
|
10223
10296
|
"dist",
|
|
10224
10297
|
"commands",
|
|
10225
10298
|
"webhooks",
|
|
10226
|
-
"
|
|
10299
|
+
"add.js"
|
|
10227
10300
|
]
|
|
10228
10301
|
},
|
|
10229
|
-
"webhooks:
|
|
10302
|
+
"webhooks:events": {
|
|
10230
10303
|
"aliases": [],
|
|
10231
|
-
"args": {
|
|
10232
|
-
|
|
10233
|
-
"description": "Webhook subscription ID",
|
|
10234
|
-
"name": "id",
|
|
10235
|
-
"required": true
|
|
10236
|
-
}
|
|
10237
|
-
},
|
|
10238
|
-
"description": "Remove a webhook subscription",
|
|
10304
|
+
"args": {},
|
|
10305
|
+
"description": "List supported webhook event names",
|
|
10239
10306
|
"flags": {
|
|
10240
10307
|
"api-key": {
|
|
10241
10308
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10302,7 +10369,7 @@
|
|
|
10302
10369
|
},
|
|
10303
10370
|
"hasDynamicHelp": false,
|
|
10304
10371
|
"hiddenAliases": [],
|
|
10305
|
-
"id": "webhooks:
|
|
10372
|
+
"id": "webhooks:events",
|
|
10306
10373
|
"pluginAlias": "@instantkom/cli",
|
|
10307
10374
|
"pluginName": "@instantkom/cli",
|
|
10308
10375
|
"pluginType": "core",
|
|
@@ -10313,13 +10380,13 @@
|
|
|
10313
10380
|
"dist",
|
|
10314
10381
|
"commands",
|
|
10315
10382
|
"webhooks",
|
|
10316
|
-
"
|
|
10383
|
+
"events.js"
|
|
10317
10384
|
]
|
|
10318
10385
|
},
|
|
10319
|
-
"webhooks:
|
|
10386
|
+
"webhooks:list": {
|
|
10320
10387
|
"aliases": [],
|
|
10321
10388
|
"args": {},
|
|
10322
|
-
"description": "
|
|
10389
|
+
"description": "List webhook subscriptions",
|
|
10323
10390
|
"flags": {
|
|
10324
10391
|
"api-key": {
|
|
10325
10392
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10382,34 +10449,11 @@
|
|
|
10382
10449
|
"hasDynamicHelp": false,
|
|
10383
10450
|
"multiple": false,
|
|
10384
10451
|
"type": "option"
|
|
10385
|
-
},
|
|
10386
|
-
"url": {
|
|
10387
|
-
"description": "Webhook URL to call",
|
|
10388
|
-
"name": "url",
|
|
10389
|
-
"required": true,
|
|
10390
|
-
"hasDynamicHelp": false,
|
|
10391
|
-
"multiple": false,
|
|
10392
|
-
"type": "option"
|
|
10393
|
-
},
|
|
10394
|
-
"event": {
|
|
10395
|
-
"description": "Event name",
|
|
10396
|
-
"name": "event",
|
|
10397
|
-
"default": "cli.test",
|
|
10398
|
-
"hasDynamicHelp": false,
|
|
10399
|
-
"multiple": false,
|
|
10400
|
-
"type": "option"
|
|
10401
|
-
},
|
|
10402
|
-
"payload": {
|
|
10403
|
-
"description": "Payload JSON",
|
|
10404
|
-
"name": "payload",
|
|
10405
|
-
"hasDynamicHelp": false,
|
|
10406
|
-
"multiple": false,
|
|
10407
|
-
"type": "option"
|
|
10408
10452
|
}
|
|
10409
10453
|
},
|
|
10410
10454
|
"hasDynamicHelp": false,
|
|
10411
10455
|
"hiddenAliases": [],
|
|
10412
|
-
"id": "webhooks:
|
|
10456
|
+
"id": "webhooks:list",
|
|
10413
10457
|
"pluginAlias": "@instantkom/cli",
|
|
10414
10458
|
"pluginName": "@instantkom/cli",
|
|
10415
10459
|
"pluginType": "core",
|
|
@@ -10420,13 +10464,13 @@
|
|
|
10420
10464
|
"dist",
|
|
10421
10465
|
"commands",
|
|
10422
10466
|
"webhooks",
|
|
10423
|
-
"
|
|
10467
|
+
"list.js"
|
|
10424
10468
|
]
|
|
10425
10469
|
},
|
|
10426
|
-
"
|
|
10470
|
+
"webhooks:logs": {
|
|
10427
10471
|
"aliases": [],
|
|
10428
10472
|
"args": {},
|
|
10429
|
-
"description": "
|
|
10473
|
+
"description": "Explain webhook log availability",
|
|
10430
10474
|
"flags": {
|
|
10431
10475
|
"api-key": {
|
|
10432
10476
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10489,78 +10533,11 @@
|
|
|
10489
10533
|
"hasDynamicHelp": false,
|
|
10490
10534
|
"multiple": false,
|
|
10491
10535
|
"type": "option"
|
|
10492
|
-
},
|
|
10493
|
-
"email": {
|
|
10494
|
-
"description": "Email address",
|
|
10495
|
-
"name": "email",
|
|
10496
|
-
"required": true,
|
|
10497
|
-
"hasDynamicHelp": false,
|
|
10498
|
-
"multiple": false,
|
|
10499
|
-
"type": "option"
|
|
10500
|
-
},
|
|
10501
|
-
"first-name": {
|
|
10502
|
-
"description": "First name",
|
|
10503
|
-
"name": "first-name",
|
|
10504
|
-
"required": true,
|
|
10505
|
-
"hasDynamicHelp": false,
|
|
10506
|
-
"multiple": false,
|
|
10507
|
-
"type": "option"
|
|
10508
|
-
},
|
|
10509
|
-
"last-name": {
|
|
10510
|
-
"description": "Last name",
|
|
10511
|
-
"name": "last-name",
|
|
10512
|
-
"required": true,
|
|
10513
|
-
"hasDynamicHelp": false,
|
|
10514
|
-
"multiple": false,
|
|
10515
|
-
"type": "option"
|
|
10516
|
-
},
|
|
10517
|
-
"password": {
|
|
10518
|
-
"description": "Initial password",
|
|
10519
|
-
"name": "password",
|
|
10520
|
-
"required": true,
|
|
10521
|
-
"hasDynamicHelp": false,
|
|
10522
|
-
"multiple": false,
|
|
10523
|
-
"type": "option"
|
|
10524
|
-
},
|
|
10525
|
-
"phone": {
|
|
10526
|
-
"description": "Phone number",
|
|
10527
|
-
"name": "phone",
|
|
10528
|
-
"hasDynamicHelp": false,
|
|
10529
|
-
"multiple": false,
|
|
10530
|
-
"type": "option"
|
|
10531
|
-
},
|
|
10532
|
-
"company": {
|
|
10533
|
-
"description": "Company name",
|
|
10534
|
-
"name": "company",
|
|
10535
|
-
"hasDynamicHelp": false,
|
|
10536
|
-
"multiple": false,
|
|
10537
|
-
"type": "option"
|
|
10538
|
-
},
|
|
10539
|
-
"color": {
|
|
10540
|
-
"description": "Color as HEX",
|
|
10541
|
-
"name": "color",
|
|
10542
|
-
"hasDynamicHelp": false,
|
|
10543
|
-
"multiple": false,
|
|
10544
|
-
"type": "option"
|
|
10545
|
-
},
|
|
10546
|
-
"folder": {
|
|
10547
|
-
"description": "Object folder ID",
|
|
10548
|
-
"name": "folder",
|
|
10549
|
-
"hasDynamicHelp": false,
|
|
10550
|
-
"multiple": false,
|
|
10551
|
-
"type": "option"
|
|
10552
|
-
},
|
|
10553
|
-
"data": {
|
|
10554
|
-
"description": "Additional JSON object payload",
|
|
10555
|
-
"name": "data",
|
|
10556
|
-
"hasDynamicHelp": false,
|
|
10557
|
-
"multiple": false,
|
|
10558
|
-
"type": "option"
|
|
10559
10536
|
}
|
|
10560
10537
|
},
|
|
10561
10538
|
"hasDynamicHelp": false,
|
|
10562
10539
|
"hiddenAliases": [],
|
|
10563
|
-
"id": "
|
|
10540
|
+
"id": "webhooks:logs",
|
|
10564
10541
|
"pluginAlias": "@instantkom/cli",
|
|
10565
10542
|
"pluginName": "@instantkom/cli",
|
|
10566
10543
|
"pluginType": "core",
|
|
@@ -10570,20 +10547,20 @@
|
|
|
10570
10547
|
"relativePath": [
|
|
10571
10548
|
"dist",
|
|
10572
10549
|
"commands",
|
|
10573
|
-
"
|
|
10574
|
-
"
|
|
10550
|
+
"webhooks",
|
|
10551
|
+
"logs.js"
|
|
10575
10552
|
]
|
|
10576
10553
|
},
|
|
10577
|
-
"
|
|
10554
|
+
"webhooks:remove": {
|
|
10578
10555
|
"aliases": [],
|
|
10579
10556
|
"args": {
|
|
10580
10557
|
"id": {
|
|
10581
|
-
"description": "
|
|
10558
|
+
"description": "Webhook subscription ID",
|
|
10582
10559
|
"name": "id",
|
|
10583
10560
|
"required": true
|
|
10584
10561
|
}
|
|
10585
10562
|
},
|
|
10586
|
-
"description": "
|
|
10563
|
+
"description": "Remove a webhook subscription",
|
|
10587
10564
|
"flags": {
|
|
10588
10565
|
"api-key": {
|
|
10589
10566
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10650,7 +10627,7 @@
|
|
|
10650
10627
|
},
|
|
10651
10628
|
"hasDynamicHelp": false,
|
|
10652
10629
|
"hiddenAliases": [],
|
|
10653
|
-
"id": "
|
|
10630
|
+
"id": "webhooks:remove",
|
|
10654
10631
|
"pluginAlias": "@instantkom/cli",
|
|
10655
10632
|
"pluginName": "@instantkom/cli",
|
|
10656
10633
|
"pluginType": "core",
|
|
@@ -10660,14 +10637,14 @@
|
|
|
10660
10637
|
"relativePath": [
|
|
10661
10638
|
"dist",
|
|
10662
10639
|
"commands",
|
|
10663
|
-
"
|
|
10664
|
-
"
|
|
10640
|
+
"webhooks",
|
|
10641
|
+
"remove.js"
|
|
10665
10642
|
]
|
|
10666
10643
|
},
|
|
10667
|
-
"
|
|
10644
|
+
"webhooks:test": {
|
|
10668
10645
|
"aliases": [],
|
|
10669
10646
|
"args": {},
|
|
10670
|
-
"description": "
|
|
10647
|
+
"description": "Send a test webhook payload to a URL",
|
|
10671
10648
|
"flags": {
|
|
10672
10649
|
"api-key": {
|
|
10673
10650
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -10730,11 +10707,34 @@
|
|
|
10730
10707
|
"hasDynamicHelp": false,
|
|
10731
10708
|
"multiple": false,
|
|
10732
10709
|
"type": "option"
|
|
10710
|
+
},
|
|
10711
|
+
"url": {
|
|
10712
|
+
"description": "Webhook URL to call",
|
|
10713
|
+
"name": "url",
|
|
10714
|
+
"required": true,
|
|
10715
|
+
"hasDynamicHelp": false,
|
|
10716
|
+
"multiple": false,
|
|
10717
|
+
"type": "option"
|
|
10718
|
+
},
|
|
10719
|
+
"event": {
|
|
10720
|
+
"description": "Event name",
|
|
10721
|
+
"name": "event",
|
|
10722
|
+
"default": "cli.test",
|
|
10723
|
+
"hasDynamicHelp": false,
|
|
10724
|
+
"multiple": false,
|
|
10725
|
+
"type": "option"
|
|
10726
|
+
},
|
|
10727
|
+
"payload": {
|
|
10728
|
+
"description": "Payload JSON",
|
|
10729
|
+
"name": "payload",
|
|
10730
|
+
"hasDynamicHelp": false,
|
|
10731
|
+
"multiple": false,
|
|
10732
|
+
"type": "option"
|
|
10733
10733
|
}
|
|
10734
10734
|
},
|
|
10735
10735
|
"hasDynamicHelp": false,
|
|
10736
10736
|
"hiddenAliases": [],
|
|
10737
|
-
"id": "
|
|
10737
|
+
"id": "webhooks:test",
|
|
10738
10738
|
"pluginAlias": "@instantkom/cli",
|
|
10739
10739
|
"pluginName": "@instantkom/cli",
|
|
10740
10740
|
"pluginType": "core",
|
|
@@ -10744,8 +10744,8 @@
|
|
|
10744
10744
|
"relativePath": [
|
|
10745
10745
|
"dist",
|
|
10746
10746
|
"commands",
|
|
10747
|
-
"
|
|
10748
|
-
"
|
|
10747
|
+
"webhooks",
|
|
10748
|
+
"test.js"
|
|
10749
10749
|
]
|
|
10750
10750
|
},
|
|
10751
10751
|
"tags:create": {
|
|
@@ -17052,5 +17052,5 @@
|
|
|
17052
17052
|
]
|
|
17053
17053
|
}
|
|
17054
17054
|
},
|
|
17055
|
-
"version": "3.
|
|
17055
|
+
"version": "3.180.0"
|
|
17056
17056
|
}
|