@instantkom/cli 3.187.5 → 3.188.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 +986 -986
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -2015,16 +2015,10 @@
|
|
|
2015
2015
|
"update.js"
|
|
2016
2016
|
]
|
|
2017
2017
|
},
|
|
2018
|
-
"
|
|
2018
|
+
"broadcast:create": {
|
|
2019
2019
|
"aliases": [],
|
|
2020
|
-
"args": {
|
|
2021
|
-
|
|
2022
|
-
"description": "chat ID",
|
|
2023
|
-
"name": "id",
|
|
2024
|
-
"required": true
|
|
2025
|
-
}
|
|
2026
|
-
},
|
|
2027
|
-
"description": "Get chat by ID",
|
|
2020
|
+
"args": {},
|
|
2021
|
+
"description": "Create a broadcast for channels or segments",
|
|
2028
2022
|
"flags": {
|
|
2029
2023
|
"api-key": {
|
|
2030
2024
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2087,11 +2081,93 @@
|
|
|
2087
2081
|
"hasDynamicHelp": false,
|
|
2088
2082
|
"multiple": false,
|
|
2089
2083
|
"type": "option"
|
|
2084
|
+
},
|
|
2085
|
+
"channel": {
|
|
2086
|
+
"description": "Channel ID target",
|
|
2087
|
+
"name": "channel",
|
|
2088
|
+
"hasDynamicHelp": false,
|
|
2089
|
+
"multiple": false,
|
|
2090
|
+
"type": "option"
|
|
2091
|
+
},
|
|
2092
|
+
"segment": {
|
|
2093
|
+
"description": "Segment ID within --channel",
|
|
2094
|
+
"name": "segment",
|
|
2095
|
+
"hasDynamicHelp": false,
|
|
2096
|
+
"multiple": false,
|
|
2097
|
+
"type": "option"
|
|
2098
|
+
},
|
|
2099
|
+
"target": {
|
|
2100
|
+
"description": "Target as channelId or channelId:segmentId; may be repeated",
|
|
2101
|
+
"name": "target",
|
|
2102
|
+
"hasDynamicHelp": false,
|
|
2103
|
+
"multiple": true,
|
|
2104
|
+
"type": "option"
|
|
2105
|
+
},
|
|
2106
|
+
"text": {
|
|
2107
|
+
"description": "Broadcast message text",
|
|
2108
|
+
"name": "text",
|
|
2109
|
+
"required": true,
|
|
2110
|
+
"hasDynamicHelp": false,
|
|
2111
|
+
"multiple": false,
|
|
2112
|
+
"type": "option"
|
|
2113
|
+
},
|
|
2114
|
+
"send-at": {
|
|
2115
|
+
"description": "Schedule send for an ISO-8601 date-time",
|
|
2116
|
+
"name": "send-at",
|
|
2117
|
+
"hasDynamicHelp": false,
|
|
2118
|
+
"multiple": false,
|
|
2119
|
+
"type": "option"
|
|
2120
|
+
},
|
|
2121
|
+
"dry-run": {
|
|
2122
|
+
"description": "Validate and print the broadcast payload without mutating API calls",
|
|
2123
|
+
"name": "dry-run",
|
|
2124
|
+
"allowNo": false,
|
|
2125
|
+
"type": "boolean"
|
|
2126
|
+
},
|
|
2127
|
+
"idempotency-key": {
|
|
2128
|
+
"description": "Idempotency key forwarded as Idempotency-Key",
|
|
2129
|
+
"name": "idempotency-key",
|
|
2130
|
+
"hasDynamicHelp": false,
|
|
2131
|
+
"multiple": false,
|
|
2132
|
+
"type": "option"
|
|
2133
|
+
},
|
|
2134
|
+
"media": {
|
|
2135
|
+
"description": "Media file path to upload",
|
|
2136
|
+
"name": "media",
|
|
2137
|
+
"hasDynamicHelp": false,
|
|
2138
|
+
"multiple": true,
|
|
2139
|
+
"type": "option"
|
|
2140
|
+
},
|
|
2141
|
+
"template-id": {
|
|
2142
|
+
"description": "WhatsApp template ID",
|
|
2143
|
+
"name": "template-id",
|
|
2144
|
+
"hasDynamicHelp": false,
|
|
2145
|
+
"multiple": false,
|
|
2146
|
+
"type": "option"
|
|
2147
|
+
},
|
|
2148
|
+
"send-status": {
|
|
2149
|
+
"description": "Initial broadcast send status",
|
|
2150
|
+
"name": "send-status",
|
|
2151
|
+
"default": "draft",
|
|
2152
|
+
"hasDynamicHelp": false,
|
|
2153
|
+
"multiple": false,
|
|
2154
|
+
"options": [
|
|
2155
|
+
"draft",
|
|
2156
|
+
"scheduled",
|
|
2157
|
+
"sending"
|
|
2158
|
+
],
|
|
2159
|
+
"type": "option"
|
|
2160
|
+
},
|
|
2161
|
+
"auto-approve": {
|
|
2162
|
+
"description": "Auto-approve broadcast when allowed by API permissions",
|
|
2163
|
+
"name": "auto-approve",
|
|
2164
|
+
"allowNo": false,
|
|
2165
|
+
"type": "boolean"
|
|
2090
2166
|
}
|
|
2091
2167
|
},
|
|
2092
2168
|
"hasDynamicHelp": false,
|
|
2093
2169
|
"hiddenAliases": [],
|
|
2094
|
-
"id": "
|
|
2170
|
+
"id": "broadcast:create",
|
|
2095
2171
|
"pluginAlias": "@instantkom/cli",
|
|
2096
2172
|
"pluginName": "@instantkom/cli",
|
|
2097
2173
|
"pluginType": "core",
|
|
@@ -2101,14 +2177,20 @@
|
|
|
2101
2177
|
"relativePath": [
|
|
2102
2178
|
"dist",
|
|
2103
2179
|
"commands",
|
|
2104
|
-
"
|
|
2105
|
-
"
|
|
2180
|
+
"broadcast",
|
|
2181
|
+
"create.js"
|
|
2106
2182
|
]
|
|
2107
2183
|
},
|
|
2108
|
-
"
|
|
2184
|
+
"broadcast:delete": {
|
|
2109
2185
|
"aliases": [],
|
|
2110
|
-
"args": {
|
|
2111
|
-
|
|
2186
|
+
"args": {
|
|
2187
|
+
"id": {
|
|
2188
|
+
"description": "broadcast ID",
|
|
2189
|
+
"name": "id",
|
|
2190
|
+
"required": true
|
|
2191
|
+
}
|
|
2192
|
+
},
|
|
2193
|
+
"description": "Delete broadcast",
|
|
2112
2194
|
"flags": {
|
|
2113
2195
|
"api-key": {
|
|
2114
2196
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2171,73 +2253,11 @@
|
|
|
2171
2253
|
"hasDynamicHelp": false,
|
|
2172
2254
|
"multiple": false,
|
|
2173
2255
|
"type": "option"
|
|
2174
|
-
},
|
|
2175
|
-
"page": {
|
|
2176
|
-
"description": "Page number",
|
|
2177
|
-
"name": "page",
|
|
2178
|
-
"default": 1,
|
|
2179
|
-
"hasDynamicHelp": false,
|
|
2180
|
-
"multiple": false,
|
|
2181
|
-
"type": "option"
|
|
2182
|
-
},
|
|
2183
|
-
"limit": {
|
|
2184
|
-
"description": "Items per page",
|
|
2185
|
-
"name": "limit",
|
|
2186
|
-
"default": 20,
|
|
2187
|
-
"hasDynamicHelp": false,
|
|
2188
|
-
"multiple": false,
|
|
2189
|
-
"type": "option"
|
|
2190
|
-
},
|
|
2191
|
-
"channel": {
|
|
2192
|
-
"description": "Filter by channel ID",
|
|
2193
|
-
"name": "channel",
|
|
2194
|
-
"hasDynamicHelp": false,
|
|
2195
|
-
"multiple": false,
|
|
2196
|
-
"type": "option"
|
|
2197
|
-
},
|
|
2198
|
-
"channels": {
|
|
2199
|
-
"description": "Comma-separated channel IDs",
|
|
2200
|
-
"name": "channels",
|
|
2201
|
-
"hasDynamicHelp": false,
|
|
2202
|
-
"multiple": false,
|
|
2203
|
-
"type": "option"
|
|
2204
|
-
},
|
|
2205
|
-
"search": {
|
|
2206
|
-
"description": "Search chats",
|
|
2207
|
-
"name": "search",
|
|
2208
|
-
"hasDynamicHelp": false,
|
|
2209
|
-
"multiple": false,
|
|
2210
|
-
"type": "option"
|
|
2211
|
-
},
|
|
2212
|
-
"status": {
|
|
2213
|
-
"description": "Chat status",
|
|
2214
|
-
"name": "status",
|
|
2215
|
-
"hasDynamicHelp": false,
|
|
2216
|
-
"multiple": false,
|
|
2217
|
-
"options": [
|
|
2218
|
-
"all",
|
|
2219
|
-
"unread",
|
|
2220
|
-
"read",
|
|
2221
|
-
"archived"
|
|
2222
|
-
],
|
|
2223
|
-
"type": "option"
|
|
2224
|
-
},
|
|
2225
|
-
"unread-only": {
|
|
2226
|
-
"description": "Only unread chats",
|
|
2227
|
-
"name": "unread-only",
|
|
2228
|
-
"allowNo": false,
|
|
2229
|
-
"type": "boolean"
|
|
2230
|
-
},
|
|
2231
|
-
"include-archived": {
|
|
2232
|
-
"description": "Include archived chats",
|
|
2233
|
-
"name": "include-archived",
|
|
2234
|
-
"allowNo": false,
|
|
2235
|
-
"type": "boolean"
|
|
2236
2256
|
}
|
|
2237
2257
|
},
|
|
2238
2258
|
"hasDynamicHelp": false,
|
|
2239
2259
|
"hiddenAliases": [],
|
|
2240
|
-
"id": "
|
|
2260
|
+
"id": "broadcast:delete",
|
|
2241
2261
|
"pluginAlias": "@instantkom/cli",
|
|
2242
2262
|
"pluginName": "@instantkom/cli",
|
|
2243
2263
|
"pluginType": "core",
|
|
@@ -2247,20 +2267,20 @@
|
|
|
2247
2267
|
"relativePath": [
|
|
2248
2268
|
"dist",
|
|
2249
2269
|
"commands",
|
|
2250
|
-
"
|
|
2251
|
-
"
|
|
2270
|
+
"broadcast",
|
|
2271
|
+
"delete.js"
|
|
2252
2272
|
]
|
|
2253
2273
|
},
|
|
2254
|
-
"
|
|
2274
|
+
"broadcast:get": {
|
|
2255
2275
|
"aliases": [],
|
|
2256
2276
|
"args": {
|
|
2257
2277
|
"id": {
|
|
2258
|
-
"description": "
|
|
2278
|
+
"description": "broadcast ID",
|
|
2259
2279
|
"name": "id",
|
|
2260
2280
|
"required": true
|
|
2261
2281
|
}
|
|
2262
2282
|
},
|
|
2263
|
-
"description": "
|
|
2283
|
+
"description": "Get broadcast by ID",
|
|
2264
2284
|
"flags": {
|
|
2265
2285
|
"api-key": {
|
|
2266
2286
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2323,19 +2343,11 @@
|
|
|
2323
2343
|
"hasDynamicHelp": false,
|
|
2324
2344
|
"multiple": false,
|
|
2325
2345
|
"type": "option"
|
|
2326
|
-
},
|
|
2327
|
-
"text": {
|
|
2328
|
-
"description": "Reply text",
|
|
2329
|
-
"name": "text",
|
|
2330
|
-
"required": true,
|
|
2331
|
-
"hasDynamicHelp": false,
|
|
2332
|
-
"multiple": false,
|
|
2333
|
-
"type": "option"
|
|
2334
2346
|
}
|
|
2335
2347
|
},
|
|
2336
2348
|
"hasDynamicHelp": false,
|
|
2337
2349
|
"hiddenAliases": [],
|
|
2338
|
-
"id": "
|
|
2350
|
+
"id": "broadcast:get",
|
|
2339
2351
|
"pluginAlias": "@instantkom/cli",
|
|
2340
2352
|
"pluginName": "@instantkom/cli",
|
|
2341
2353
|
"pluginType": "core",
|
|
@@ -2345,14 +2357,14 @@
|
|
|
2345
2357
|
"relativePath": [
|
|
2346
2358
|
"dist",
|
|
2347
2359
|
"commands",
|
|
2348
|
-
"
|
|
2349
|
-
"
|
|
2360
|
+
"broadcast",
|
|
2361
|
+
"get.js"
|
|
2350
2362
|
]
|
|
2351
2363
|
},
|
|
2352
|
-
"
|
|
2364
|
+
"broadcast:list": {
|
|
2353
2365
|
"aliases": [],
|
|
2354
2366
|
"args": {},
|
|
2355
|
-
"description": "
|
|
2367
|
+
"description": "List broadcasts",
|
|
2356
2368
|
"flags": {
|
|
2357
2369
|
"api-key": {
|
|
2358
2370
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2416,47 +2428,72 @@
|
|
|
2416
2428
|
"multiple": false,
|
|
2417
2429
|
"type": "option"
|
|
2418
2430
|
},
|
|
2419
|
-
"
|
|
2420
|
-
"description": "
|
|
2421
|
-
"name": "
|
|
2422
|
-
"
|
|
2431
|
+
"page": {
|
|
2432
|
+
"description": "Page number",
|
|
2433
|
+
"name": "page",
|
|
2434
|
+
"default": 1,
|
|
2423
2435
|
"hasDynamicHelp": false,
|
|
2424
2436
|
"multiple": false,
|
|
2425
2437
|
"type": "option"
|
|
2426
2438
|
},
|
|
2427
|
-
"
|
|
2428
|
-
"description": "
|
|
2429
|
-
"name": "
|
|
2430
|
-
"
|
|
2439
|
+
"limit": {
|
|
2440
|
+
"description": "Items per page",
|
|
2441
|
+
"name": "limit",
|
|
2442
|
+
"default": 20,
|
|
2431
2443
|
"hasDynamicHelp": false,
|
|
2432
2444
|
"multiple": false,
|
|
2433
2445
|
"type": "option"
|
|
2434
2446
|
},
|
|
2435
|
-
"
|
|
2436
|
-
"description": "
|
|
2437
|
-
"name": "
|
|
2447
|
+
"channel": {
|
|
2448
|
+
"description": "Filter by channel ID",
|
|
2449
|
+
"name": "channel",
|
|
2438
2450
|
"hasDynamicHelp": false,
|
|
2439
2451
|
"multiple": false,
|
|
2440
2452
|
"type": "option"
|
|
2441
2453
|
},
|
|
2442
|
-
"
|
|
2443
|
-
"description": "
|
|
2444
|
-
"name": "
|
|
2454
|
+
"send-status": {
|
|
2455
|
+
"description": "Filter by send status",
|
|
2456
|
+
"name": "send-status",
|
|
2445
2457
|
"hasDynamicHelp": false,
|
|
2446
2458
|
"multiple": false,
|
|
2447
2459
|
"type": "option"
|
|
2448
2460
|
},
|
|
2449
|
-
"
|
|
2450
|
-
"description": "
|
|
2451
|
-
"name": "
|
|
2461
|
+
"type": {
|
|
2462
|
+
"description": "Broadcast type",
|
|
2463
|
+
"name": "type",
|
|
2452
2464
|
"hasDynamicHelp": false,
|
|
2453
2465
|
"multiple": false,
|
|
2466
|
+
"options": [
|
|
2467
|
+
"text",
|
|
2468
|
+
"image",
|
|
2469
|
+
"video",
|
|
2470
|
+
"audio",
|
|
2471
|
+
"document"
|
|
2472
|
+
],
|
|
2473
|
+
"type": "option"
|
|
2474
|
+
},
|
|
2475
|
+
"search": {
|
|
2476
|
+
"description": "Search broadcasts",
|
|
2477
|
+
"name": "search",
|
|
2478
|
+
"hasDynamicHelp": false,
|
|
2479
|
+
"multiple": false,
|
|
2480
|
+
"type": "option"
|
|
2481
|
+
},
|
|
2482
|
+
"test": {
|
|
2483
|
+
"description": "Filter test flag: 0 or 1",
|
|
2484
|
+
"name": "test",
|
|
2485
|
+
"hasDynamicHelp": false,
|
|
2486
|
+
"multiple": false,
|
|
2487
|
+
"options": [
|
|
2488
|
+
"0",
|
|
2489
|
+
"1"
|
|
2490
|
+
],
|
|
2454
2491
|
"type": "option"
|
|
2455
2492
|
}
|
|
2456
2493
|
},
|
|
2457
2494
|
"hasDynamicHelp": false,
|
|
2458
2495
|
"hiddenAliases": [],
|
|
2459
|
-
"id": "
|
|
2496
|
+
"id": "broadcast:list",
|
|
2460
2497
|
"pluginAlias": "@instantkom/cli",
|
|
2461
2498
|
"pluginName": "@instantkom/cli",
|
|
2462
2499
|
"pluginType": "core",
|
|
@@ -2466,20 +2503,20 @@
|
|
|
2466
2503
|
"relativePath": [
|
|
2467
2504
|
"dist",
|
|
2468
2505
|
"commands",
|
|
2469
|
-
"
|
|
2470
|
-
"
|
|
2506
|
+
"broadcast",
|
|
2507
|
+
"list.js"
|
|
2471
2508
|
]
|
|
2472
2509
|
},
|
|
2473
|
-
"
|
|
2510
|
+
"broadcast:send": {
|
|
2474
2511
|
"aliases": [],
|
|
2475
2512
|
"args": {
|
|
2476
2513
|
"id": {
|
|
2477
|
-
"description": "
|
|
2514
|
+
"description": "Broadcast ID",
|
|
2478
2515
|
"name": "id",
|
|
2479
2516
|
"required": true
|
|
2480
2517
|
}
|
|
2481
2518
|
},
|
|
2482
|
-
"description": "
|
|
2519
|
+
"description": "Send a broadcast immediately",
|
|
2483
2520
|
"flags": {
|
|
2484
2521
|
"api-key": {
|
|
2485
2522
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2546,7 +2583,7 @@
|
|
|
2546
2583
|
},
|
|
2547
2584
|
"hasDynamicHelp": false,
|
|
2548
2585
|
"hiddenAliases": [],
|
|
2549
|
-
"id": "
|
|
2586
|
+
"id": "broadcast:send",
|
|
2550
2587
|
"pluginAlias": "@instantkom/cli",
|
|
2551
2588
|
"pluginName": "@instantkom/cli",
|
|
2552
2589
|
"pluginType": "core",
|
|
@@ -2556,20 +2593,20 @@
|
|
|
2556
2593
|
"relativePath": [
|
|
2557
2594
|
"dist",
|
|
2558
2595
|
"commands",
|
|
2559
|
-
"
|
|
2560
|
-
"
|
|
2596
|
+
"broadcast",
|
|
2597
|
+
"send.js"
|
|
2561
2598
|
]
|
|
2562
2599
|
},
|
|
2563
|
-
"
|
|
2600
|
+
"broadcast:status": {
|
|
2564
2601
|
"aliases": [],
|
|
2565
2602
|
"args": {
|
|
2566
2603
|
"id": {
|
|
2567
|
-
"description": "
|
|
2604
|
+
"description": "Broadcast ID",
|
|
2568
2605
|
"name": "id",
|
|
2569
|
-
"required":
|
|
2606
|
+
"required": true
|
|
2570
2607
|
}
|
|
2571
2608
|
},
|
|
2572
|
-
"description": "
|
|
2609
|
+
"description": "Show broadcast send status",
|
|
2573
2610
|
"flags": {
|
|
2574
2611
|
"api-key": {
|
|
2575
2612
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2632,18 +2669,11 @@
|
|
|
2632
2669
|
"hasDynamicHelp": false,
|
|
2633
2670
|
"multiple": false,
|
|
2634
2671
|
"type": "option"
|
|
2635
|
-
},
|
|
2636
|
-
"period": {
|
|
2637
|
-
"description": "KPI period",
|
|
2638
|
-
"name": "period",
|
|
2639
|
-
"hasDynamicHelp": false,
|
|
2640
|
-
"multiple": false,
|
|
2641
|
-
"type": "option"
|
|
2642
2672
|
}
|
|
2643
2673
|
},
|
|
2644
2674
|
"hasDynamicHelp": false,
|
|
2645
2675
|
"hiddenAliases": [],
|
|
2646
|
-
"id": "
|
|
2676
|
+
"id": "broadcast:status",
|
|
2647
2677
|
"pluginAlias": "@instantkom/cli",
|
|
2648
2678
|
"pluginName": "@instantkom/cli",
|
|
2649
2679
|
"pluginType": "core",
|
|
@@ -2653,14 +2683,20 @@
|
|
|
2653
2683
|
"relativePath": [
|
|
2654
2684
|
"dist",
|
|
2655
2685
|
"commands",
|
|
2656
|
-
"
|
|
2657
|
-
"
|
|
2686
|
+
"broadcast",
|
|
2687
|
+
"status.js"
|
|
2658
2688
|
]
|
|
2659
2689
|
},
|
|
2660
|
-
"
|
|
2690
|
+
"broadcast:update": {
|
|
2661
2691
|
"aliases": [],
|
|
2662
|
-
"args": {
|
|
2663
|
-
|
|
2692
|
+
"args": {
|
|
2693
|
+
"id": {
|
|
2694
|
+
"description": "Broadcast ID",
|
|
2695
|
+
"name": "id",
|
|
2696
|
+
"required": true
|
|
2697
|
+
}
|
|
2698
|
+
},
|
|
2699
|
+
"description": "Update a broadcast",
|
|
2664
2700
|
"flags": {
|
|
2665
2701
|
"api-key": {
|
|
2666
2702
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2724,39 +2760,68 @@
|
|
|
2724
2760
|
"multiple": false,
|
|
2725
2761
|
"type": "option"
|
|
2726
2762
|
},
|
|
2727
|
-
"
|
|
2728
|
-
"description": "
|
|
2729
|
-
"name": "
|
|
2730
|
-
"default": 1,
|
|
2763
|
+
"text": {
|
|
2764
|
+
"description": "Broadcast message text",
|
|
2765
|
+
"name": "text",
|
|
2731
2766
|
"hasDynamicHelp": false,
|
|
2732
2767
|
"multiple": false,
|
|
2733
2768
|
"type": "option"
|
|
2734
2769
|
},
|
|
2735
|
-
"
|
|
2736
|
-
"description": "
|
|
2737
|
-
"name": "
|
|
2738
|
-
"default": 20,
|
|
2770
|
+
"send-status": {
|
|
2771
|
+
"description": "Send status",
|
|
2772
|
+
"name": "send-status",
|
|
2739
2773
|
"hasDynamicHelp": false,
|
|
2740
2774
|
"multiple": false,
|
|
2741
2775
|
"type": "option"
|
|
2742
2776
|
},
|
|
2743
|
-
"
|
|
2744
|
-
"description": "
|
|
2745
|
-
"name": "
|
|
2777
|
+
"scheduled-at": {
|
|
2778
|
+
"description": "Unix timestamp for scheduled send",
|
|
2779
|
+
"name": "scheduled-at",
|
|
2746
2780
|
"hasDynamicHelp": false,
|
|
2747
2781
|
"multiple": false,
|
|
2748
2782
|
"type": "option"
|
|
2749
2783
|
},
|
|
2750
|
-
"
|
|
2751
|
-
"description": "
|
|
2752
|
-
"name": "
|
|
2784
|
+
"approved": {
|
|
2785
|
+
"description": "Mark as approved",
|
|
2786
|
+
"name": "approved",
|
|
2787
|
+
"allowNo": false,
|
|
2788
|
+
"type": "boolean"
|
|
2789
|
+
},
|
|
2790
|
+
"locked": {
|
|
2791
|
+
"description": "Mark as locked",
|
|
2792
|
+
"name": "locked",
|
|
2793
|
+
"allowNo": false,
|
|
2794
|
+
"type": "boolean"
|
|
2795
|
+
},
|
|
2796
|
+
"test": {
|
|
2797
|
+
"description": "Mark as test broadcast",
|
|
2798
|
+
"name": "test",
|
|
2799
|
+
"allowNo": false,
|
|
2800
|
+
"type": "boolean"
|
|
2801
|
+
},
|
|
2802
|
+
"template-id": {
|
|
2803
|
+
"description": "Template ID",
|
|
2804
|
+
"name": "template-id",
|
|
2753
2805
|
"hasDynamicHelp": false,
|
|
2754
2806
|
"multiple": false,
|
|
2755
2807
|
"type": "option"
|
|
2756
2808
|
},
|
|
2757
|
-
"
|
|
2758
|
-
"description": "
|
|
2759
|
-
"name": "
|
|
2809
|
+
"remove-media": {
|
|
2810
|
+
"description": "Remove existing media",
|
|
2811
|
+
"name": "remove-media",
|
|
2812
|
+
"allowNo": false,
|
|
2813
|
+
"type": "boolean"
|
|
2814
|
+
},
|
|
2815
|
+
"header-footer": {
|
|
2816
|
+
"description": "Header/footer JSON array",
|
|
2817
|
+
"name": "header-footer",
|
|
2818
|
+
"hasDynamicHelp": false,
|
|
2819
|
+
"multiple": false,
|
|
2820
|
+
"type": "option"
|
|
2821
|
+
},
|
|
2822
|
+
"data": {
|
|
2823
|
+
"description": "Additional JSON object payload",
|
|
2824
|
+
"name": "data",
|
|
2760
2825
|
"hasDynamicHelp": false,
|
|
2761
2826
|
"multiple": false,
|
|
2762
2827
|
"type": "option"
|
|
@@ -2764,7 +2829,7 @@
|
|
|
2764
2829
|
},
|
|
2765
2830
|
"hasDynamicHelp": false,
|
|
2766
2831
|
"hiddenAliases": [],
|
|
2767
|
-
"id": "
|
|
2832
|
+
"id": "broadcast:update",
|
|
2768
2833
|
"pluginAlias": "@instantkom/cli",
|
|
2769
2834
|
"pluginName": "@instantkom/cli",
|
|
2770
2835
|
"pluginType": "core",
|
|
@@ -2774,20 +2839,14 @@
|
|
|
2774
2839
|
"relativePath": [
|
|
2775
2840
|
"dist",
|
|
2776
2841
|
"commands",
|
|
2777
|
-
"
|
|
2778
|
-
"
|
|
2842
|
+
"broadcast",
|
|
2843
|
+
"update.js"
|
|
2779
2844
|
]
|
|
2780
2845
|
},
|
|
2781
|
-
"channels:
|
|
2846
|
+
"channels:create": {
|
|
2782
2847
|
"aliases": [],
|
|
2783
|
-
"args": {
|
|
2784
|
-
|
|
2785
|
-
"description": "Channel ID",
|
|
2786
|
-
"name": "id",
|
|
2787
|
-
"required": true
|
|
2788
|
-
}
|
|
2789
|
-
},
|
|
2790
|
-
"description": "Update a channel",
|
|
2848
|
+
"args": {},
|
|
2849
|
+
"description": "Create a channel",
|
|
2791
2850
|
"flags": {
|
|
2792
2851
|
"api-key": {
|
|
2793
2852
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2854,6 +2913,15 @@
|
|
|
2854
2913
|
"name": {
|
|
2855
2914
|
"description": "Channel name",
|
|
2856
2915
|
"name": "name",
|
|
2916
|
+
"required": true,
|
|
2917
|
+
"hasDynamicHelp": false,
|
|
2918
|
+
"multiple": false,
|
|
2919
|
+
"type": "option"
|
|
2920
|
+
},
|
|
2921
|
+
"gateway-type": {
|
|
2922
|
+
"description": "Gateway type ID",
|
|
2923
|
+
"name": "gateway-type",
|
|
2924
|
+
"required": true,
|
|
2857
2925
|
"hasDynamicHelp": false,
|
|
2858
2926
|
"multiple": false,
|
|
2859
2927
|
"type": "option"
|
|
@@ -2882,7 +2950,7 @@
|
|
|
2882
2950
|
},
|
|
2883
2951
|
"hasDynamicHelp": false,
|
|
2884
2952
|
"hiddenAliases": [],
|
|
2885
|
-
"id": "channels:
|
|
2953
|
+
"id": "channels:create",
|
|
2886
2954
|
"pluginAlias": "@instantkom/cli",
|
|
2887
2955
|
"pluginName": "@instantkom/cli",
|
|
2888
2956
|
"pluginType": "core",
|
|
@@ -2893,19 +2961,19 @@
|
|
|
2893
2961
|
"dist",
|
|
2894
2962
|
"commands",
|
|
2895
2963
|
"channels",
|
|
2896
|
-
"
|
|
2964
|
+
"create.js"
|
|
2897
2965
|
]
|
|
2898
2966
|
},
|
|
2899
|
-
"
|
|
2967
|
+
"channels:get": {
|
|
2900
2968
|
"aliases": [],
|
|
2901
2969
|
"args": {
|
|
2902
|
-
"
|
|
2903
|
-
"description": "
|
|
2904
|
-
"name": "
|
|
2970
|
+
"id": {
|
|
2971
|
+
"description": "Channel ID",
|
|
2972
|
+
"name": "id",
|
|
2905
2973
|
"required": true
|
|
2906
2974
|
}
|
|
2907
2975
|
},
|
|
2908
|
-
"description": "Get a
|
|
2976
|
+
"description": "Get a channel by ID",
|
|
2909
2977
|
"flags": {
|
|
2910
2978
|
"api-key": {
|
|
2911
2979
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -2972,7 +3040,7 @@
|
|
|
2972
3040
|
},
|
|
2973
3041
|
"hasDynamicHelp": false,
|
|
2974
3042
|
"hiddenAliases": [],
|
|
2975
|
-
"id": "
|
|
3043
|
+
"id": "channels:get",
|
|
2976
3044
|
"pluginAlias": "@instantkom/cli",
|
|
2977
3045
|
"pluginName": "@instantkom/cli",
|
|
2978
3046
|
"pluginType": "core",
|
|
@@ -2982,25 +3050,20 @@
|
|
|
2982
3050
|
"relativePath": [
|
|
2983
3051
|
"dist",
|
|
2984
3052
|
"commands",
|
|
2985
|
-
"
|
|
3053
|
+
"channels",
|
|
2986
3054
|
"get.js"
|
|
2987
3055
|
]
|
|
2988
3056
|
},
|
|
2989
|
-
"
|
|
2990
|
-
"aliases": [],
|
|
2991
|
-
"args": {
|
|
2992
|
-
"
|
|
2993
|
-
"description": "
|
|
2994
|
-
"name": "
|
|
2995
|
-
"required":
|
|
2996
|
-
},
|
|
2997
|
-
"value": {
|
|
2998
|
-
"description": "Value to assign",
|
|
2999
|
-
"name": "value",
|
|
3000
|
-
"required": true
|
|
3057
|
+
"channels:kpis": {
|
|
3058
|
+
"aliases": [],
|
|
3059
|
+
"args": {
|
|
3060
|
+
"id": {
|
|
3061
|
+
"description": "Optional channel ID; omit for aggregated channel KPIs",
|
|
3062
|
+
"name": "id",
|
|
3063
|
+
"required": false
|
|
3001
3064
|
}
|
|
3002
3065
|
},
|
|
3003
|
-
"description": "
|
|
3066
|
+
"description": "Get channel KPIs",
|
|
3004
3067
|
"flags": {
|
|
3005
3068
|
"api-key": {
|
|
3006
3069
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3063,11 +3126,18 @@
|
|
|
3063
3126
|
"hasDynamicHelp": false,
|
|
3064
3127
|
"multiple": false,
|
|
3065
3128
|
"type": "option"
|
|
3129
|
+
},
|
|
3130
|
+
"period": {
|
|
3131
|
+
"description": "KPI period",
|
|
3132
|
+
"name": "period",
|
|
3133
|
+
"hasDynamicHelp": false,
|
|
3134
|
+
"multiple": false,
|
|
3135
|
+
"type": "option"
|
|
3066
3136
|
}
|
|
3067
3137
|
},
|
|
3068
3138
|
"hasDynamicHelp": false,
|
|
3069
3139
|
"hiddenAliases": [],
|
|
3070
|
-
"id": "
|
|
3140
|
+
"id": "channels:kpis",
|
|
3071
3141
|
"pluginAlias": "@instantkom/cli",
|
|
3072
3142
|
"pluginName": "@instantkom/cli",
|
|
3073
3143
|
"pluginType": "core",
|
|
@@ -3077,20 +3147,14 @@
|
|
|
3077
3147
|
"relativePath": [
|
|
3078
3148
|
"dist",
|
|
3079
3149
|
"commands",
|
|
3080
|
-
"
|
|
3081
|
-
"
|
|
3150
|
+
"channels",
|
|
3151
|
+
"kpis.js"
|
|
3082
3152
|
]
|
|
3083
3153
|
},
|
|
3084
|
-
"
|
|
3154
|
+
"channels:list": {
|
|
3085
3155
|
"aliases": [],
|
|
3086
|
-
"args": {
|
|
3087
|
-
|
|
3088
|
-
"description": "Configuration key to remove",
|
|
3089
|
-
"name": "key",
|
|
3090
|
-
"required": true
|
|
3091
|
-
}
|
|
3092
|
-
},
|
|
3093
|
-
"description": "Remove a configuration key from the current profile",
|
|
3156
|
+
"args": {},
|
|
3157
|
+
"description": "List channels",
|
|
3094
3158
|
"flags": {
|
|
3095
3159
|
"api-key": {
|
|
3096
3160
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3153,11 +3217,48 @@
|
|
|
3153
3217
|
"hasDynamicHelp": false,
|
|
3154
3218
|
"multiple": false,
|
|
3155
3219
|
"type": "option"
|
|
3220
|
+
},
|
|
3221
|
+
"page": {
|
|
3222
|
+
"description": "Page number",
|
|
3223
|
+
"name": "page",
|
|
3224
|
+
"default": 1,
|
|
3225
|
+
"hasDynamicHelp": false,
|
|
3226
|
+
"multiple": false,
|
|
3227
|
+
"type": "option"
|
|
3228
|
+
},
|
|
3229
|
+
"limit": {
|
|
3230
|
+
"description": "Items per page",
|
|
3231
|
+
"name": "limit",
|
|
3232
|
+
"default": 20,
|
|
3233
|
+
"hasDynamicHelp": false,
|
|
3234
|
+
"multiple": false,
|
|
3235
|
+
"type": "option"
|
|
3236
|
+
},
|
|
3237
|
+
"status": {
|
|
3238
|
+
"description": "Filter by channel status",
|
|
3239
|
+
"name": "status",
|
|
3240
|
+
"hasDynamicHelp": false,
|
|
3241
|
+
"multiple": false,
|
|
3242
|
+
"type": "option"
|
|
3243
|
+
},
|
|
3244
|
+
"gateway-type": {
|
|
3245
|
+
"description": "Filter by gateway type ID",
|
|
3246
|
+
"name": "gateway-type",
|
|
3247
|
+
"hasDynamicHelp": false,
|
|
3248
|
+
"multiple": false,
|
|
3249
|
+
"type": "option"
|
|
3250
|
+
},
|
|
3251
|
+
"search": {
|
|
3252
|
+
"description": "Search by channel name",
|
|
3253
|
+
"name": "search",
|
|
3254
|
+
"hasDynamicHelp": false,
|
|
3255
|
+
"multiple": false,
|
|
3256
|
+
"type": "option"
|
|
3156
3257
|
}
|
|
3157
3258
|
},
|
|
3158
3259
|
"hasDynamicHelp": false,
|
|
3159
3260
|
"hiddenAliases": [],
|
|
3160
|
-
"id": "
|
|
3261
|
+
"id": "channels:list",
|
|
3161
3262
|
"pluginAlias": "@instantkom/cli",
|
|
3162
3263
|
"pluginName": "@instantkom/cli",
|
|
3163
3264
|
"pluginType": "core",
|
|
@@ -3167,14 +3268,20 @@
|
|
|
3167
3268
|
"relativePath": [
|
|
3168
3269
|
"dist",
|
|
3169
3270
|
"commands",
|
|
3170
|
-
"
|
|
3171
|
-
"
|
|
3271
|
+
"channels",
|
|
3272
|
+
"list.js"
|
|
3172
3273
|
]
|
|
3173
3274
|
},
|
|
3174
|
-
"
|
|
3275
|
+
"channels:update": {
|
|
3175
3276
|
"aliases": [],
|
|
3176
|
-
"args": {
|
|
3177
|
-
|
|
3277
|
+
"args": {
|
|
3278
|
+
"id": {
|
|
3279
|
+
"description": "Channel ID",
|
|
3280
|
+
"name": "id",
|
|
3281
|
+
"required": true
|
|
3282
|
+
}
|
|
3283
|
+
},
|
|
3284
|
+
"description": "Update a channel",
|
|
3178
3285
|
"flags": {
|
|
3179
3286
|
"api-key": {
|
|
3180
3287
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3238,92 +3345,38 @@
|
|
|
3238
3345
|
"multiple": false,
|
|
3239
3346
|
"type": "option"
|
|
3240
3347
|
},
|
|
3241
|
-
"
|
|
3242
|
-
"description": "Channel
|
|
3243
|
-
"name": "
|
|
3244
|
-
"hasDynamicHelp": false,
|
|
3245
|
-
"multiple": false,
|
|
3246
|
-
"type": "option"
|
|
3247
|
-
},
|
|
3248
|
-
"segment": {
|
|
3249
|
-
"description": "Segment ID within --channel",
|
|
3250
|
-
"name": "segment",
|
|
3251
|
-
"hasDynamicHelp": false,
|
|
3252
|
-
"multiple": false,
|
|
3253
|
-
"type": "option"
|
|
3254
|
-
},
|
|
3255
|
-
"target": {
|
|
3256
|
-
"description": "Target as channelId or channelId:segmentId; may be repeated",
|
|
3257
|
-
"name": "target",
|
|
3258
|
-
"hasDynamicHelp": false,
|
|
3259
|
-
"multiple": true,
|
|
3260
|
-
"type": "option"
|
|
3261
|
-
},
|
|
3262
|
-
"text": {
|
|
3263
|
-
"description": "Broadcast message text",
|
|
3264
|
-
"name": "text",
|
|
3265
|
-
"required": true,
|
|
3266
|
-
"hasDynamicHelp": false,
|
|
3267
|
-
"multiple": false,
|
|
3268
|
-
"type": "option"
|
|
3269
|
-
},
|
|
3270
|
-
"send-at": {
|
|
3271
|
-
"description": "Schedule send for an ISO-8601 date-time",
|
|
3272
|
-
"name": "send-at",
|
|
3348
|
+
"name": {
|
|
3349
|
+
"description": "Channel name",
|
|
3350
|
+
"name": "name",
|
|
3273
3351
|
"hasDynamicHelp": false,
|
|
3274
3352
|
"multiple": false,
|
|
3275
3353
|
"type": "option"
|
|
3276
3354
|
},
|
|
3277
|
-
"
|
|
3278
|
-
"description": "
|
|
3279
|
-
"name": "
|
|
3280
|
-
"allowNo": false,
|
|
3281
|
-
"type": "boolean"
|
|
3282
|
-
},
|
|
3283
|
-
"idempotency-key": {
|
|
3284
|
-
"description": "Idempotency key forwarded as Idempotency-Key",
|
|
3285
|
-
"name": "idempotency-key",
|
|
3355
|
+
"status": {
|
|
3356
|
+
"description": "Channel lifecycle status",
|
|
3357
|
+
"name": "status",
|
|
3286
3358
|
"hasDynamicHelp": false,
|
|
3287
3359
|
"multiple": false,
|
|
3288
3360
|
"type": "option"
|
|
3289
3361
|
},
|
|
3290
|
-
"
|
|
3291
|
-
"description": "
|
|
3292
|
-
"name": "
|
|
3293
|
-
"hasDynamicHelp": false,
|
|
3294
|
-
"multiple": true,
|
|
3295
|
-
"type": "option"
|
|
3296
|
-
},
|
|
3297
|
-
"template-id": {
|
|
3298
|
-
"description": "WhatsApp template ID",
|
|
3299
|
-
"name": "template-id",
|
|
3362
|
+
"description": {
|
|
3363
|
+
"description": "Channel description",
|
|
3364
|
+
"name": "description",
|
|
3300
3365
|
"hasDynamicHelp": false,
|
|
3301
3366
|
"multiple": false,
|
|
3302
3367
|
"type": "option"
|
|
3303
3368
|
},
|
|
3304
|
-
"
|
|
3305
|
-
"description": "
|
|
3306
|
-
"name": "
|
|
3307
|
-
"default": "draft",
|
|
3369
|
+
"data": {
|
|
3370
|
+
"description": "Additional JSON object payload",
|
|
3371
|
+
"name": "data",
|
|
3308
3372
|
"hasDynamicHelp": false,
|
|
3309
3373
|
"multiple": false,
|
|
3310
|
-
"options": [
|
|
3311
|
-
"draft",
|
|
3312
|
-
"scheduled",
|
|
3313
|
-
"sending"
|
|
3314
|
-
],
|
|
3315
3374
|
"type": "option"
|
|
3316
|
-
},
|
|
3317
|
-
"auto-approve": {
|
|
3318
|
-
"description": "Auto-approve broadcast when allowed by API permissions",
|
|
3319
|
-
"name": "auto-approve",
|
|
3320
|
-
"allowNo": false,
|
|
3321
|
-
"type": "boolean"
|
|
3322
3375
|
}
|
|
3323
3376
|
},
|
|
3324
3377
|
"hasDynamicHelp": false,
|
|
3325
3378
|
"hiddenAliases": [],
|
|
3326
|
-
"id": "
|
|
3379
|
+
"id": "channels:update",
|
|
3327
3380
|
"pluginAlias": "@instantkom/cli",
|
|
3328
3381
|
"pluginName": "@instantkom/cli",
|
|
3329
3382
|
"pluginType": "core",
|
|
@@ -3333,20 +3386,20 @@
|
|
|
3333
3386
|
"relativePath": [
|
|
3334
3387
|
"dist",
|
|
3335
3388
|
"commands",
|
|
3336
|
-
"
|
|
3337
|
-
"
|
|
3389
|
+
"channels",
|
|
3390
|
+
"update.js"
|
|
3338
3391
|
]
|
|
3339
3392
|
},
|
|
3340
|
-
"
|
|
3393
|
+
"chats:get": {
|
|
3341
3394
|
"aliases": [],
|
|
3342
3395
|
"args": {
|
|
3343
3396
|
"id": {
|
|
3344
|
-
"description": "
|
|
3397
|
+
"description": "chat ID",
|
|
3345
3398
|
"name": "id",
|
|
3346
3399
|
"required": true
|
|
3347
3400
|
}
|
|
3348
3401
|
},
|
|
3349
|
-
"description": "
|
|
3402
|
+
"description": "Get chat by ID",
|
|
3350
3403
|
"flags": {
|
|
3351
3404
|
"api-key": {
|
|
3352
3405
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3413,7 +3466,7 @@
|
|
|
3413
3466
|
},
|
|
3414
3467
|
"hasDynamicHelp": false,
|
|
3415
3468
|
"hiddenAliases": [],
|
|
3416
|
-
"id": "
|
|
3469
|
+
"id": "chats:get",
|
|
3417
3470
|
"pluginAlias": "@instantkom/cli",
|
|
3418
3471
|
"pluginName": "@instantkom/cli",
|
|
3419
3472
|
"pluginType": "core",
|
|
@@ -3423,20 +3476,14 @@
|
|
|
3423
3476
|
"relativePath": [
|
|
3424
3477
|
"dist",
|
|
3425
3478
|
"commands",
|
|
3426
|
-
"
|
|
3427
|
-
"
|
|
3479
|
+
"chats",
|
|
3480
|
+
"get.js"
|
|
3428
3481
|
]
|
|
3429
3482
|
},
|
|
3430
|
-
"
|
|
3483
|
+
"chats:list": {
|
|
3431
3484
|
"aliases": [],
|
|
3432
|
-
"args": {
|
|
3433
|
-
|
|
3434
|
-
"description": "broadcast ID",
|
|
3435
|
-
"name": "id",
|
|
3436
|
-
"required": true
|
|
3437
|
-
}
|
|
3438
|
-
},
|
|
3439
|
-
"description": "Get broadcast by ID",
|
|
3485
|
+
"args": {},
|
|
3486
|
+
"description": "List chats",
|
|
3440
3487
|
"flags": {
|
|
3441
3488
|
"api-key": {
|
|
3442
3489
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3499,11 +3546,73 @@
|
|
|
3499
3546
|
"hasDynamicHelp": false,
|
|
3500
3547
|
"multiple": false,
|
|
3501
3548
|
"type": "option"
|
|
3549
|
+
},
|
|
3550
|
+
"page": {
|
|
3551
|
+
"description": "Page number",
|
|
3552
|
+
"name": "page",
|
|
3553
|
+
"default": 1,
|
|
3554
|
+
"hasDynamicHelp": false,
|
|
3555
|
+
"multiple": false,
|
|
3556
|
+
"type": "option"
|
|
3557
|
+
},
|
|
3558
|
+
"limit": {
|
|
3559
|
+
"description": "Items per page",
|
|
3560
|
+
"name": "limit",
|
|
3561
|
+
"default": 20,
|
|
3562
|
+
"hasDynamicHelp": false,
|
|
3563
|
+
"multiple": false,
|
|
3564
|
+
"type": "option"
|
|
3565
|
+
},
|
|
3566
|
+
"channel": {
|
|
3567
|
+
"description": "Filter by channel ID",
|
|
3568
|
+
"name": "channel",
|
|
3569
|
+
"hasDynamicHelp": false,
|
|
3570
|
+
"multiple": false,
|
|
3571
|
+
"type": "option"
|
|
3572
|
+
},
|
|
3573
|
+
"channels": {
|
|
3574
|
+
"description": "Comma-separated channel IDs",
|
|
3575
|
+
"name": "channels",
|
|
3576
|
+
"hasDynamicHelp": false,
|
|
3577
|
+
"multiple": false,
|
|
3578
|
+
"type": "option"
|
|
3579
|
+
},
|
|
3580
|
+
"search": {
|
|
3581
|
+
"description": "Search chats",
|
|
3582
|
+
"name": "search",
|
|
3583
|
+
"hasDynamicHelp": false,
|
|
3584
|
+
"multiple": false,
|
|
3585
|
+
"type": "option"
|
|
3586
|
+
},
|
|
3587
|
+
"status": {
|
|
3588
|
+
"description": "Chat status",
|
|
3589
|
+
"name": "status",
|
|
3590
|
+
"hasDynamicHelp": false,
|
|
3591
|
+
"multiple": false,
|
|
3592
|
+
"options": [
|
|
3593
|
+
"all",
|
|
3594
|
+
"unread",
|
|
3595
|
+
"read",
|
|
3596
|
+
"archived"
|
|
3597
|
+
],
|
|
3598
|
+
"type": "option"
|
|
3599
|
+
},
|
|
3600
|
+
"unread-only": {
|
|
3601
|
+
"description": "Only unread chats",
|
|
3602
|
+
"name": "unread-only",
|
|
3603
|
+
"allowNo": false,
|
|
3604
|
+
"type": "boolean"
|
|
3605
|
+
},
|
|
3606
|
+
"include-archived": {
|
|
3607
|
+
"description": "Include archived chats",
|
|
3608
|
+
"name": "include-archived",
|
|
3609
|
+
"allowNo": false,
|
|
3610
|
+
"type": "boolean"
|
|
3502
3611
|
}
|
|
3503
3612
|
},
|
|
3504
3613
|
"hasDynamicHelp": false,
|
|
3505
3614
|
"hiddenAliases": [],
|
|
3506
|
-
"id": "
|
|
3615
|
+
"id": "chats:list",
|
|
3507
3616
|
"pluginAlias": "@instantkom/cli",
|
|
3508
3617
|
"pluginName": "@instantkom/cli",
|
|
3509
3618
|
"pluginType": "core",
|
|
@@ -3513,14 +3622,20 @@
|
|
|
3513
3622
|
"relativePath": [
|
|
3514
3623
|
"dist",
|
|
3515
3624
|
"commands",
|
|
3516
|
-
"
|
|
3517
|
-
"
|
|
3625
|
+
"chats",
|
|
3626
|
+
"list.js"
|
|
3518
3627
|
]
|
|
3519
3628
|
},
|
|
3520
|
-
"
|
|
3629
|
+
"chats:reply": {
|
|
3521
3630
|
"aliases": [],
|
|
3522
|
-
"args": {
|
|
3523
|
-
|
|
3631
|
+
"args": {
|
|
3632
|
+
"id": {
|
|
3633
|
+
"description": "Chat ID",
|
|
3634
|
+
"name": "id",
|
|
3635
|
+
"required": true
|
|
3636
|
+
}
|
|
3637
|
+
},
|
|
3638
|
+
"description": "Reply in a chat",
|
|
3524
3639
|
"flags": {
|
|
3525
3640
|
"api-key": {
|
|
3526
3641
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3584,72 +3699,18 @@
|
|
|
3584
3699
|
"multiple": false,
|
|
3585
3700
|
"type": "option"
|
|
3586
3701
|
},
|
|
3587
|
-
"
|
|
3588
|
-
"description": "
|
|
3589
|
-
"name": "
|
|
3590
|
-
"
|
|
3591
|
-
"hasDynamicHelp": false,
|
|
3592
|
-
"multiple": false,
|
|
3593
|
-
"type": "option"
|
|
3594
|
-
},
|
|
3595
|
-
"limit": {
|
|
3596
|
-
"description": "Items per page",
|
|
3597
|
-
"name": "limit",
|
|
3598
|
-
"default": 20,
|
|
3599
|
-
"hasDynamicHelp": false,
|
|
3600
|
-
"multiple": false,
|
|
3601
|
-
"type": "option"
|
|
3602
|
-
},
|
|
3603
|
-
"channel": {
|
|
3604
|
-
"description": "Filter by channel ID",
|
|
3605
|
-
"name": "channel",
|
|
3606
|
-
"hasDynamicHelp": false,
|
|
3607
|
-
"multiple": false,
|
|
3608
|
-
"type": "option"
|
|
3609
|
-
},
|
|
3610
|
-
"send-status": {
|
|
3611
|
-
"description": "Filter by send status",
|
|
3612
|
-
"name": "send-status",
|
|
3613
|
-
"hasDynamicHelp": false,
|
|
3614
|
-
"multiple": false,
|
|
3615
|
-
"type": "option"
|
|
3616
|
-
},
|
|
3617
|
-
"type": {
|
|
3618
|
-
"description": "Broadcast type",
|
|
3619
|
-
"name": "type",
|
|
3620
|
-
"hasDynamicHelp": false,
|
|
3621
|
-
"multiple": false,
|
|
3622
|
-
"options": [
|
|
3623
|
-
"text",
|
|
3624
|
-
"image",
|
|
3625
|
-
"video",
|
|
3626
|
-
"audio",
|
|
3627
|
-
"document"
|
|
3628
|
-
],
|
|
3629
|
-
"type": "option"
|
|
3630
|
-
},
|
|
3631
|
-
"search": {
|
|
3632
|
-
"description": "Search broadcasts",
|
|
3633
|
-
"name": "search",
|
|
3634
|
-
"hasDynamicHelp": false,
|
|
3635
|
-
"multiple": false,
|
|
3636
|
-
"type": "option"
|
|
3637
|
-
},
|
|
3638
|
-
"test": {
|
|
3639
|
-
"description": "Filter test flag: 0 or 1",
|
|
3640
|
-
"name": "test",
|
|
3702
|
+
"text": {
|
|
3703
|
+
"description": "Reply text",
|
|
3704
|
+
"name": "text",
|
|
3705
|
+
"required": true,
|
|
3641
3706
|
"hasDynamicHelp": false,
|
|
3642
3707
|
"multiple": false,
|
|
3643
|
-
"options": [
|
|
3644
|
-
"0",
|
|
3645
|
-
"1"
|
|
3646
|
-
],
|
|
3647
3708
|
"type": "option"
|
|
3648
3709
|
}
|
|
3649
3710
|
},
|
|
3650
3711
|
"hasDynamicHelp": false,
|
|
3651
3712
|
"hiddenAliases": [],
|
|
3652
|
-
"id": "
|
|
3713
|
+
"id": "chats:reply",
|
|
3653
3714
|
"pluginAlias": "@instantkom/cli",
|
|
3654
3715
|
"pluginName": "@instantkom/cli",
|
|
3655
3716
|
"pluginType": "core",
|
|
@@ -3659,20 +3720,20 @@
|
|
|
3659
3720
|
"relativePath": [
|
|
3660
3721
|
"dist",
|
|
3661
3722
|
"commands",
|
|
3662
|
-
"
|
|
3663
|
-
"
|
|
3723
|
+
"chats",
|
|
3724
|
+
"reply.js"
|
|
3664
3725
|
]
|
|
3665
3726
|
},
|
|
3666
|
-
"
|
|
3727
|
+
"config:get": {
|
|
3667
3728
|
"aliases": [],
|
|
3668
3729
|
"args": {
|
|
3669
|
-
"
|
|
3670
|
-
"description": "
|
|
3671
|
-
"name": "
|
|
3730
|
+
"key": {
|
|
3731
|
+
"description": "Configuration key to retrieve",
|
|
3732
|
+
"name": "key",
|
|
3672
3733
|
"required": true
|
|
3673
3734
|
}
|
|
3674
3735
|
},
|
|
3675
|
-
"description": "
|
|
3736
|
+
"description": "Get a configuration value for the current profile",
|
|
3676
3737
|
"flags": {
|
|
3677
3738
|
"api-key": {
|
|
3678
3739
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3739,7 +3800,7 @@
|
|
|
3739
3800
|
},
|
|
3740
3801
|
"hasDynamicHelp": false,
|
|
3741
3802
|
"hiddenAliases": [],
|
|
3742
|
-
"id": "
|
|
3803
|
+
"id": "config:get",
|
|
3743
3804
|
"pluginAlias": "@instantkom/cli",
|
|
3744
3805
|
"pluginName": "@instantkom/cli",
|
|
3745
3806
|
"pluginType": "core",
|
|
@@ -3749,20 +3810,25 @@
|
|
|
3749
3810
|
"relativePath": [
|
|
3750
3811
|
"dist",
|
|
3751
3812
|
"commands",
|
|
3752
|
-
"
|
|
3753
|
-
"
|
|
3813
|
+
"config",
|
|
3814
|
+
"get.js"
|
|
3754
3815
|
]
|
|
3755
3816
|
},
|
|
3756
|
-
"
|
|
3817
|
+
"config:set": {
|
|
3757
3818
|
"aliases": [],
|
|
3758
3819
|
"args": {
|
|
3759
|
-
"
|
|
3760
|
-
"description": "
|
|
3761
|
-
"name": "
|
|
3820
|
+
"key": {
|
|
3821
|
+
"description": "Configuration key to set",
|
|
3822
|
+
"name": "key",
|
|
3823
|
+
"required": true
|
|
3824
|
+
},
|
|
3825
|
+
"value": {
|
|
3826
|
+
"description": "Value to assign",
|
|
3827
|
+
"name": "value",
|
|
3762
3828
|
"required": true
|
|
3763
3829
|
}
|
|
3764
3830
|
},
|
|
3765
|
-
"description": "
|
|
3831
|
+
"description": "Set a configuration value for the current profile",
|
|
3766
3832
|
"flags": {
|
|
3767
3833
|
"api-key": {
|
|
3768
3834
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3829,7 +3895,7 @@
|
|
|
3829
3895
|
},
|
|
3830
3896
|
"hasDynamicHelp": false,
|
|
3831
3897
|
"hiddenAliases": [],
|
|
3832
|
-
"id": "
|
|
3898
|
+
"id": "config:set",
|
|
3833
3899
|
"pluginAlias": "@instantkom/cli",
|
|
3834
3900
|
"pluginName": "@instantkom/cli",
|
|
3835
3901
|
"pluginType": "core",
|
|
@@ -3839,20 +3905,20 @@
|
|
|
3839
3905
|
"relativePath": [
|
|
3840
3906
|
"dist",
|
|
3841
3907
|
"commands",
|
|
3842
|
-
"
|
|
3843
|
-
"
|
|
3908
|
+
"config",
|
|
3909
|
+
"set.js"
|
|
3844
3910
|
]
|
|
3845
3911
|
},
|
|
3846
|
-
"
|
|
3912
|
+
"config:unset": {
|
|
3847
3913
|
"aliases": [],
|
|
3848
3914
|
"args": {
|
|
3849
|
-
"
|
|
3850
|
-
"description": "
|
|
3851
|
-
"name": "
|
|
3915
|
+
"key": {
|
|
3916
|
+
"description": "Configuration key to remove",
|
|
3917
|
+
"name": "key",
|
|
3852
3918
|
"required": true
|
|
3853
3919
|
}
|
|
3854
3920
|
},
|
|
3855
|
-
"description": "
|
|
3921
|
+
"description": "Remove a configuration key from the current profile",
|
|
3856
3922
|
"flags": {
|
|
3857
3923
|
"api-key": {
|
|
3858
3924
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -3915,77 +3981,11 @@
|
|
|
3915
3981
|
"hasDynamicHelp": false,
|
|
3916
3982
|
"multiple": false,
|
|
3917
3983
|
"type": "option"
|
|
3918
|
-
},
|
|
3919
|
-
"text": {
|
|
3920
|
-
"description": "Broadcast message text",
|
|
3921
|
-
"name": "text",
|
|
3922
|
-
"hasDynamicHelp": false,
|
|
3923
|
-
"multiple": false,
|
|
3924
|
-
"type": "option"
|
|
3925
|
-
},
|
|
3926
|
-
"send-status": {
|
|
3927
|
-
"description": "Send status",
|
|
3928
|
-
"name": "send-status",
|
|
3929
|
-
"hasDynamicHelp": false,
|
|
3930
|
-
"multiple": false,
|
|
3931
|
-
"type": "option"
|
|
3932
|
-
},
|
|
3933
|
-
"scheduled-at": {
|
|
3934
|
-
"description": "Unix timestamp for scheduled send",
|
|
3935
|
-
"name": "scheduled-at",
|
|
3936
|
-
"hasDynamicHelp": false,
|
|
3937
|
-
"multiple": false,
|
|
3938
|
-
"type": "option"
|
|
3939
|
-
},
|
|
3940
|
-
"approved": {
|
|
3941
|
-
"description": "Mark as approved",
|
|
3942
|
-
"name": "approved",
|
|
3943
|
-
"allowNo": false,
|
|
3944
|
-
"type": "boolean"
|
|
3945
|
-
},
|
|
3946
|
-
"locked": {
|
|
3947
|
-
"description": "Mark as locked",
|
|
3948
|
-
"name": "locked",
|
|
3949
|
-
"allowNo": false,
|
|
3950
|
-
"type": "boolean"
|
|
3951
|
-
},
|
|
3952
|
-
"test": {
|
|
3953
|
-
"description": "Mark as test broadcast",
|
|
3954
|
-
"name": "test",
|
|
3955
|
-
"allowNo": false,
|
|
3956
|
-
"type": "boolean"
|
|
3957
|
-
},
|
|
3958
|
-
"template-id": {
|
|
3959
|
-
"description": "Template ID",
|
|
3960
|
-
"name": "template-id",
|
|
3961
|
-
"hasDynamicHelp": false,
|
|
3962
|
-
"multiple": false,
|
|
3963
|
-
"type": "option"
|
|
3964
|
-
},
|
|
3965
|
-
"remove-media": {
|
|
3966
|
-
"description": "Remove existing media",
|
|
3967
|
-
"name": "remove-media",
|
|
3968
|
-
"allowNo": false,
|
|
3969
|
-
"type": "boolean"
|
|
3970
|
-
},
|
|
3971
|
-
"header-footer": {
|
|
3972
|
-
"description": "Header/footer JSON array",
|
|
3973
|
-
"name": "header-footer",
|
|
3974
|
-
"hasDynamicHelp": false,
|
|
3975
|
-
"multiple": false,
|
|
3976
|
-
"type": "option"
|
|
3977
|
-
},
|
|
3978
|
-
"data": {
|
|
3979
|
-
"description": "Additional JSON object payload",
|
|
3980
|
-
"name": "data",
|
|
3981
|
-
"hasDynamicHelp": false,
|
|
3982
|
-
"multiple": false,
|
|
3983
|
-
"type": "option"
|
|
3984
3984
|
}
|
|
3985
3985
|
},
|
|
3986
3986
|
"hasDynamicHelp": false,
|
|
3987
3987
|
"hiddenAliases": [],
|
|
3988
|
-
"id": "
|
|
3988
|
+
"id": "config:unset",
|
|
3989
3989
|
"pluginAlias": "@instantkom/cli",
|
|
3990
3990
|
"pluginName": "@instantkom/cli",
|
|
3991
3991
|
"pluginType": "core",
|
|
@@ -3995,14 +3995,14 @@
|
|
|
3995
3995
|
"relativePath": [
|
|
3996
3996
|
"dist",
|
|
3997
3997
|
"commands",
|
|
3998
|
-
"
|
|
3999
|
-
"
|
|
3998
|
+
"config",
|
|
3999
|
+
"unset.js"
|
|
4000
4000
|
]
|
|
4001
4001
|
},
|
|
4002
|
-
"
|
|
4002
|
+
"custom-fields:bulk-delete": {
|
|
4003
4003
|
"aliases": [],
|
|
4004
4004
|
"args": {},
|
|
4005
|
-
"description": "
|
|
4005
|
+
"description": "Bulk delete custom fields",
|
|
4006
4006
|
"flags": {
|
|
4007
4007
|
"api-key": {
|
|
4008
4008
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4066,40 +4066,18 @@
|
|
|
4066
4066
|
"multiple": false,
|
|
4067
4067
|
"type": "option"
|
|
4068
4068
|
},
|
|
4069
|
-
"
|
|
4070
|
-
"description": "
|
|
4071
|
-
"name": "
|
|
4072
|
-
"required": true,
|
|
4073
|
-
"hasDynamicHelp": false,
|
|
4074
|
-
"multiple": false,
|
|
4075
|
-
"type": "option"
|
|
4076
|
-
},
|
|
4077
|
-
"identifier": {
|
|
4078
|
-
"description": "Unique contact identifier",
|
|
4079
|
-
"name": "identifier",
|
|
4069
|
+
"ids": {
|
|
4070
|
+
"description": "Comma-separated custom field IDs",
|
|
4071
|
+
"name": "ids",
|
|
4080
4072
|
"required": true,
|
|
4081
4073
|
"hasDynamicHelp": false,
|
|
4082
4074
|
"multiple": false,
|
|
4083
4075
|
"type": "option"
|
|
4084
|
-
},
|
|
4085
|
-
"name": {
|
|
4086
|
-
"description": "Contact name",
|
|
4087
|
-
"name": "name",
|
|
4088
|
-
"hasDynamicHelp": false,
|
|
4089
|
-
"multiple": false,
|
|
4090
|
-
"type": "option"
|
|
4091
|
-
},
|
|
4092
|
-
"data": {
|
|
4093
|
-
"description": "Additional JSON object payload",
|
|
4094
|
-
"name": "data",
|
|
4095
|
-
"hasDynamicHelp": false,
|
|
4096
|
-
"multiple": false,
|
|
4097
|
-
"type": "option"
|
|
4098
4076
|
}
|
|
4099
4077
|
},
|
|
4100
4078
|
"hasDynamicHelp": false,
|
|
4101
4079
|
"hiddenAliases": [],
|
|
4102
|
-
"id": "
|
|
4080
|
+
"id": "custom-fields:bulk-delete",
|
|
4103
4081
|
"pluginAlias": "@instantkom/cli",
|
|
4104
4082
|
"pluginName": "@instantkom/cli",
|
|
4105
4083
|
"pluginType": "core",
|
|
@@ -4109,20 +4087,14 @@
|
|
|
4109
4087
|
"relativePath": [
|
|
4110
4088
|
"dist",
|
|
4111
4089
|
"commands",
|
|
4112
|
-
"
|
|
4113
|
-
"
|
|
4090
|
+
"custom-fields",
|
|
4091
|
+
"bulk-delete.js"
|
|
4114
4092
|
]
|
|
4115
4093
|
},
|
|
4116
|
-
"
|
|
4117
|
-
"aliases": [],
|
|
4118
|
-
"args": {
|
|
4119
|
-
|
|
4120
|
-
"description": "Contact ID",
|
|
4121
|
-
"name": "id",
|
|
4122
|
-
"required": true
|
|
4123
|
-
}
|
|
4124
|
-
},
|
|
4125
|
-
"description": "Delete a contact",
|
|
4094
|
+
"custom-fields:create": {
|
|
4095
|
+
"aliases": [],
|
|
4096
|
+
"args": {},
|
|
4097
|
+
"description": "Create a custom field",
|
|
4126
4098
|
"flags": {
|
|
4127
4099
|
"api-key": {
|
|
4128
4100
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4185,11 +4157,72 @@
|
|
|
4185
4157
|
"hasDynamicHelp": false,
|
|
4186
4158
|
"multiple": false,
|
|
4187
4159
|
"type": "option"
|
|
4160
|
+
},
|
|
4161
|
+
"name": {
|
|
4162
|
+
"description": "Field name",
|
|
4163
|
+
"name": "name",
|
|
4164
|
+
"required": true,
|
|
4165
|
+
"hasDynamicHelp": false,
|
|
4166
|
+
"multiple": false,
|
|
4167
|
+
"type": "option"
|
|
4168
|
+
},
|
|
4169
|
+
"key": {
|
|
4170
|
+
"description": "Field key",
|
|
4171
|
+
"name": "key",
|
|
4172
|
+
"required": true,
|
|
4173
|
+
"hasDynamicHelp": false,
|
|
4174
|
+
"multiple": false,
|
|
4175
|
+
"type": "option"
|
|
4176
|
+
},
|
|
4177
|
+
"type": {
|
|
4178
|
+
"description": "Field type",
|
|
4179
|
+
"name": "type",
|
|
4180
|
+
"required": true,
|
|
4181
|
+
"hasDynamicHelp": false,
|
|
4182
|
+
"multiple": false,
|
|
4183
|
+
"options": [
|
|
4184
|
+
"text",
|
|
4185
|
+
"number",
|
|
4186
|
+
"date",
|
|
4187
|
+
"dropdown",
|
|
4188
|
+
"checkbox",
|
|
4189
|
+
"url",
|
|
4190
|
+
"email",
|
|
4191
|
+
"phone"
|
|
4192
|
+
],
|
|
4193
|
+
"type": "option"
|
|
4194
|
+
},
|
|
4195
|
+
"required": {
|
|
4196
|
+
"description": "Field is required",
|
|
4197
|
+
"name": "required",
|
|
4198
|
+
"allowNo": false,
|
|
4199
|
+
"type": "boolean"
|
|
4200
|
+
},
|
|
4201
|
+
"default": {
|
|
4202
|
+
"description": "Default value",
|
|
4203
|
+
"name": "default",
|
|
4204
|
+
"hasDynamicHelp": false,
|
|
4205
|
+
"multiple": false,
|
|
4206
|
+
"type": "option"
|
|
4207
|
+
},
|
|
4208
|
+
"options": {
|
|
4209
|
+
"description": "Comma-separated dropdown options",
|
|
4210
|
+
"name": "options",
|
|
4211
|
+
"hasDynamicHelp": false,
|
|
4212
|
+
"multiple": false,
|
|
4213
|
+
"type": "option"
|
|
4214
|
+
},
|
|
4215
|
+
"data": {
|
|
4216
|
+
"description": "Additional JSON object payload",
|
|
4217
|
+
"name": "data",
|
|
4218
|
+
"hasDynamicHelp": false,
|
|
4219
|
+
"multiple": false,
|
|
4220
|
+
"type": "option"
|
|
4188
4221
|
}
|
|
4189
4222
|
},
|
|
4190
4223
|
"hasDynamicHelp": false,
|
|
4191
4224
|
"hiddenAliases": [],
|
|
4192
|
-
"id": "
|
|
4225
|
+
"id": "custom-fields:create",
|
|
4193
4226
|
"pluginAlias": "@instantkom/cli",
|
|
4194
4227
|
"pluginName": "@instantkom/cli",
|
|
4195
4228
|
"pluginType": "core",
|
|
@@ -4199,14 +4232,20 @@
|
|
|
4199
4232
|
"relativePath": [
|
|
4200
4233
|
"dist",
|
|
4201
4234
|
"commands",
|
|
4202
|
-
"
|
|
4203
|
-
"
|
|
4235
|
+
"custom-fields",
|
|
4236
|
+
"create.js"
|
|
4204
4237
|
]
|
|
4205
4238
|
},
|
|
4206
|
-
"
|
|
4239
|
+
"custom-fields:delete": {
|
|
4207
4240
|
"aliases": [],
|
|
4208
|
-
"args": {
|
|
4209
|
-
|
|
4241
|
+
"args": {
|
|
4242
|
+
"id": {
|
|
4243
|
+
"description": "custom field ID",
|
|
4244
|
+
"name": "id",
|
|
4245
|
+
"required": true
|
|
4246
|
+
}
|
|
4247
|
+
},
|
|
4248
|
+
"description": "Delete custom field",
|
|
4210
4249
|
"flags": {
|
|
4211
4250
|
"api-key": {
|
|
4212
4251
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4269,49 +4308,11 @@
|
|
|
4269
4308
|
"hasDynamicHelp": false,
|
|
4270
4309
|
"multiple": false,
|
|
4271
4310
|
"type": "option"
|
|
4272
|
-
},
|
|
4273
|
-
"file": {
|
|
4274
|
-
"description": "CSV output file path",
|
|
4275
|
-
"name": "file",
|
|
4276
|
-
"required": true,
|
|
4277
|
-
"hasDynamicHelp": false,
|
|
4278
|
-
"multiple": false,
|
|
4279
|
-
"type": "option"
|
|
4280
|
-
},
|
|
4281
|
-
"channel": {
|
|
4282
|
-
"description": "Filter by channel ID",
|
|
4283
|
-
"name": "channel",
|
|
4284
|
-
"hasDynamicHelp": false,
|
|
4285
|
-
"multiple": false,
|
|
4286
|
-
"type": "option"
|
|
4287
|
-
},
|
|
4288
|
-
"search": {
|
|
4289
|
-
"description": "Search by name or identifier",
|
|
4290
|
-
"name": "search",
|
|
4291
|
-
"hasDynamicHelp": false,
|
|
4292
|
-
"multiple": false,
|
|
4293
|
-
"type": "option"
|
|
4294
|
-
},
|
|
4295
|
-
"page": {
|
|
4296
|
-
"description": "Page number",
|
|
4297
|
-
"name": "page",
|
|
4298
|
-
"default": 1,
|
|
4299
|
-
"hasDynamicHelp": false,
|
|
4300
|
-
"multiple": false,
|
|
4301
|
-
"type": "option"
|
|
4302
|
-
},
|
|
4303
|
-
"limit": {
|
|
4304
|
-
"description": "Items per page",
|
|
4305
|
-
"name": "limit",
|
|
4306
|
-
"default": 100,
|
|
4307
|
-
"hasDynamicHelp": false,
|
|
4308
|
-
"multiple": false,
|
|
4309
|
-
"type": "option"
|
|
4310
4311
|
}
|
|
4311
4312
|
},
|
|
4312
4313
|
"hasDynamicHelp": false,
|
|
4313
4314
|
"hiddenAliases": [],
|
|
4314
|
-
"id": "
|
|
4315
|
+
"id": "custom-fields:delete",
|
|
4315
4316
|
"pluginAlias": "@instantkom/cli",
|
|
4316
4317
|
"pluginName": "@instantkom/cli",
|
|
4317
4318
|
"pluginType": "core",
|
|
@@ -4321,20 +4322,20 @@
|
|
|
4321
4322
|
"relativePath": [
|
|
4322
4323
|
"dist",
|
|
4323
4324
|
"commands",
|
|
4324
|
-
"
|
|
4325
|
-
"
|
|
4325
|
+
"custom-fields",
|
|
4326
|
+
"delete.js"
|
|
4326
4327
|
]
|
|
4327
4328
|
},
|
|
4328
|
-
"
|
|
4329
|
+
"custom-fields:get": {
|
|
4329
4330
|
"aliases": [],
|
|
4330
4331
|
"args": {
|
|
4331
4332
|
"id": {
|
|
4332
|
-
"description": "
|
|
4333
|
+
"description": "custom field ID",
|
|
4333
4334
|
"name": "id",
|
|
4334
4335
|
"required": true
|
|
4335
4336
|
}
|
|
4336
4337
|
},
|
|
4337
|
-
"description": "Get
|
|
4338
|
+
"description": "Get custom field by ID",
|
|
4338
4339
|
"flags": {
|
|
4339
4340
|
"api-key": {
|
|
4340
4341
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4401,7 +4402,7 @@
|
|
|
4401
4402
|
},
|
|
4402
4403
|
"hasDynamicHelp": false,
|
|
4403
4404
|
"hiddenAliases": [],
|
|
4404
|
-
"id": "
|
|
4405
|
+
"id": "custom-fields:get",
|
|
4405
4406
|
"pluginAlias": "@instantkom/cli",
|
|
4406
4407
|
"pluginName": "@instantkom/cli",
|
|
4407
4408
|
"pluginType": "core",
|
|
@@ -4411,14 +4412,14 @@
|
|
|
4411
4412
|
"relativePath": [
|
|
4412
4413
|
"dist",
|
|
4413
4414
|
"commands",
|
|
4414
|
-
"
|
|
4415
|
+
"custom-fields",
|
|
4415
4416
|
"get.js"
|
|
4416
4417
|
]
|
|
4417
4418
|
},
|
|
4418
|
-
"
|
|
4419
|
+
"custom-fields:list": {
|
|
4419
4420
|
"aliases": [],
|
|
4420
4421
|
"args": {},
|
|
4421
|
-
"description": "
|
|
4422
|
+
"description": "List custom fields",
|
|
4422
4423
|
"flags": {
|
|
4423
4424
|
"api-key": {
|
|
4424
4425
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4481,27 +4482,11 @@
|
|
|
4481
4482
|
"hasDynamicHelp": false,
|
|
4482
4483
|
"multiple": false,
|
|
4483
4484
|
"type": "option"
|
|
4484
|
-
},
|
|
4485
|
-
"file": {
|
|
4486
|
-
"description": "CSV file path",
|
|
4487
|
-
"name": "file",
|
|
4488
|
-
"required": true,
|
|
4489
|
-
"hasDynamicHelp": false,
|
|
4490
|
-
"multiple": false,
|
|
4491
|
-
"type": "option"
|
|
4492
|
-
},
|
|
4493
|
-
"channel": {
|
|
4494
|
-
"description": "Channel ID",
|
|
4495
|
-
"name": "channel",
|
|
4496
|
-
"required": true,
|
|
4497
|
-
"hasDynamicHelp": false,
|
|
4498
|
-
"multiple": false,
|
|
4499
|
-
"type": "option"
|
|
4500
4485
|
}
|
|
4501
4486
|
},
|
|
4502
4487
|
"hasDynamicHelp": false,
|
|
4503
4488
|
"hiddenAliases": [],
|
|
4504
|
-
"id": "
|
|
4489
|
+
"id": "custom-fields:list",
|
|
4505
4490
|
"pluginAlias": "@instantkom/cli",
|
|
4506
4491
|
"pluginName": "@instantkom/cli",
|
|
4507
4492
|
"pluginType": "core",
|
|
@@ -4511,14 +4496,14 @@
|
|
|
4511
4496
|
"relativePath": [
|
|
4512
4497
|
"dist",
|
|
4513
4498
|
"commands",
|
|
4514
|
-
"
|
|
4515
|
-
"
|
|
4499
|
+
"custom-fields",
|
|
4500
|
+
"list.js"
|
|
4516
4501
|
]
|
|
4517
4502
|
},
|
|
4518
|
-
"
|
|
4503
|
+
"custom-fields:reorder": {
|
|
4519
4504
|
"aliases": [],
|
|
4520
4505
|
"args": {},
|
|
4521
|
-
"description": "
|
|
4506
|
+
"description": "Reorder custom fields",
|
|
4522
4507
|
"flags": {
|
|
4523
4508
|
"api-key": {
|
|
4524
4509
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4579,100 +4564,13 @@
|
|
|
4579
4564
|
"helpGroup": "GLOBAL",
|
|
4580
4565
|
"name": "api-url",
|
|
4581
4566
|
"hasDynamicHelp": false,
|
|
4582
|
-
"multiple": false,
|
|
4583
|
-
"type": "option"
|
|
4584
|
-
},
|
|
4585
|
-
"channel": {
|
|
4586
|
-
"description": "Filter by channel ID",
|
|
4587
|
-
"name": "channel",
|
|
4588
|
-
"hasDynamicHelp": false,
|
|
4589
|
-
"multiple": false,
|
|
4590
|
-
"type": "option"
|
|
4591
|
-
},
|
|
4592
|
-
"search": {
|
|
4593
|
-
"description": "Search by name or identifier",
|
|
4594
|
-
"name": "search",
|
|
4595
|
-
"hasDynamicHelp": false,
|
|
4596
|
-
"multiple": false,
|
|
4597
|
-
"type": "option"
|
|
4598
|
-
},
|
|
4599
|
-
"page": {
|
|
4600
|
-
"description": "Page number",
|
|
4601
|
-
"name": "page",
|
|
4602
|
-
"default": 1,
|
|
4603
|
-
"hasDynamicHelp": false,
|
|
4604
|
-
"multiple": false,
|
|
4605
|
-
"type": "option"
|
|
4606
|
-
},
|
|
4607
|
-
"limit": {
|
|
4608
|
-
"description": "Items per page",
|
|
4609
|
-
"name": "limit",
|
|
4610
|
-
"default": 20,
|
|
4611
|
-
"hasDynamicHelp": false,
|
|
4612
|
-
"multiple": false,
|
|
4613
|
-
"type": "option"
|
|
4614
|
-
},
|
|
4615
|
-
"optin-status": {
|
|
4616
|
-
"description": "Filter by opt-in status",
|
|
4617
|
-
"name": "optin-status",
|
|
4618
|
-
"hasDynamicHelp": false,
|
|
4619
|
-
"multiple": false,
|
|
4620
|
-
"options": [
|
|
4621
|
-
"0",
|
|
4622
|
-
"1"
|
|
4623
|
-
],
|
|
4624
|
-
"type": "option"
|
|
4625
|
-
},
|
|
4626
|
-
"blocked": {
|
|
4627
|
-
"description": "Filter by blocked status: 1 blocked, 0 not blocked",
|
|
4628
|
-
"name": "blocked",
|
|
4629
|
-
"hasDynamicHelp": false,
|
|
4630
|
-
"multiple": false,
|
|
4631
|
-
"options": [
|
|
4632
|
-
"0",
|
|
4633
|
-
"1"
|
|
4634
|
-
],
|
|
4635
|
-
"type": "option"
|
|
4636
|
-
},
|
|
4637
|
-
"segment": {
|
|
4638
|
-
"description": "Filter by segment ID",
|
|
4639
|
-
"name": "segment",
|
|
4640
|
-
"hasDynamicHelp": false,
|
|
4641
|
-
"multiple": false,
|
|
4642
|
-
"type": "option"
|
|
4643
|
-
},
|
|
4644
|
-
"tags": {
|
|
4645
|
-
"description": "Comma-separated tag IDs",
|
|
4646
|
-
"name": "tags",
|
|
4647
|
-
"hasDynamicHelp": false,
|
|
4648
|
-
"multiple": false,
|
|
4649
|
-
"type": "option"
|
|
4650
|
-
},
|
|
4651
|
-
"tag-match": {
|
|
4652
|
-
"description": "Tag match mode",
|
|
4653
|
-
"name": "tag-match",
|
|
4654
|
-
"hasDynamicHelp": false,
|
|
4655
|
-
"multiple": false,
|
|
4656
|
-
"options": [
|
|
4657
|
-
"any",
|
|
4658
|
-
"all"
|
|
4659
|
-
],
|
|
4660
|
-
"type": "option"
|
|
4661
|
-
},
|
|
4662
|
-
"spam": {
|
|
4663
|
-
"description": "Filter by spam status",
|
|
4664
|
-
"name": "spam",
|
|
4665
|
-
"hasDynamicHelp": false,
|
|
4666
|
-
"multiple": false,
|
|
4667
|
-
"options": [
|
|
4668
|
-
"true",
|
|
4669
|
-
"false"
|
|
4670
|
-
],
|
|
4567
|
+
"multiple": false,
|
|
4671
4568
|
"type": "option"
|
|
4672
4569
|
},
|
|
4673
|
-
"
|
|
4674
|
-
"description": "
|
|
4675
|
-
"name": "
|
|
4570
|
+
"order": {
|
|
4571
|
+
"description": "Order JSON array payload",
|
|
4572
|
+
"name": "order",
|
|
4573
|
+
"required": true,
|
|
4676
4574
|
"hasDynamicHelp": false,
|
|
4677
4575
|
"multiple": false,
|
|
4678
4576
|
"type": "option"
|
|
@@ -4680,7 +4578,7 @@
|
|
|
4680
4578
|
},
|
|
4681
4579
|
"hasDynamicHelp": false,
|
|
4682
4580
|
"hiddenAliases": [],
|
|
4683
|
-
"id": "
|
|
4581
|
+
"id": "custom-fields:reorder",
|
|
4684
4582
|
"pluginAlias": "@instantkom/cli",
|
|
4685
4583
|
"pluginName": "@instantkom/cli",
|
|
4686
4584
|
"pluginType": "core",
|
|
@@ -4690,20 +4588,20 @@
|
|
|
4690
4588
|
"relativePath": [
|
|
4691
4589
|
"dist",
|
|
4692
4590
|
"commands",
|
|
4693
|
-
"
|
|
4694
|
-
"
|
|
4591
|
+
"custom-fields",
|
|
4592
|
+
"reorder.js"
|
|
4695
4593
|
]
|
|
4696
4594
|
},
|
|
4697
|
-
"
|
|
4595
|
+
"custom-fields:update": {
|
|
4698
4596
|
"aliases": [],
|
|
4699
4597
|
"args": {
|
|
4700
4598
|
"id": {
|
|
4701
|
-
"description": "
|
|
4599
|
+
"description": "Custom field ID",
|
|
4702
4600
|
"name": "id",
|
|
4703
4601
|
"required": true
|
|
4704
4602
|
}
|
|
4705
4603
|
},
|
|
4706
|
-
"description": "Update a
|
|
4604
|
+
"description": "Update a custom field",
|
|
4707
4605
|
"flags": {
|
|
4708
4606
|
"api-key": {
|
|
4709
4607
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4767,16 +4665,52 @@
|
|
|
4767
4665
|
"multiple": false,
|
|
4768
4666
|
"type": "option"
|
|
4769
4667
|
},
|
|
4770
|
-
"
|
|
4771
|
-
"description": "
|
|
4772
|
-
"name": "
|
|
4668
|
+
"name": {
|
|
4669
|
+
"description": "Field name",
|
|
4670
|
+
"name": "name",
|
|
4773
4671
|
"hasDynamicHelp": false,
|
|
4774
4672
|
"multiple": false,
|
|
4775
4673
|
"type": "option"
|
|
4776
4674
|
},
|
|
4777
|
-
"
|
|
4778
|
-
"description": "
|
|
4779
|
-
"name": "
|
|
4675
|
+
"type": {
|
|
4676
|
+
"description": "Field type",
|
|
4677
|
+
"name": "type",
|
|
4678
|
+
"hasDynamicHelp": false,
|
|
4679
|
+
"multiple": false,
|
|
4680
|
+
"options": [
|
|
4681
|
+
"text",
|
|
4682
|
+
"number",
|
|
4683
|
+
"date",
|
|
4684
|
+
"dropdown",
|
|
4685
|
+
"checkbox",
|
|
4686
|
+
"url",
|
|
4687
|
+
"email",
|
|
4688
|
+
"phone"
|
|
4689
|
+
],
|
|
4690
|
+
"type": "option"
|
|
4691
|
+
},
|
|
4692
|
+
"required": {
|
|
4693
|
+
"description": "Field is required",
|
|
4694
|
+
"name": "required",
|
|
4695
|
+
"allowNo": true,
|
|
4696
|
+
"type": "boolean"
|
|
4697
|
+
},
|
|
4698
|
+
"status": {
|
|
4699
|
+
"description": "Field is active",
|
|
4700
|
+
"name": "status",
|
|
4701
|
+
"allowNo": true,
|
|
4702
|
+
"type": "boolean"
|
|
4703
|
+
},
|
|
4704
|
+
"default": {
|
|
4705
|
+
"description": "Default value",
|
|
4706
|
+
"name": "default",
|
|
4707
|
+
"hasDynamicHelp": false,
|
|
4708
|
+
"multiple": false,
|
|
4709
|
+
"type": "option"
|
|
4710
|
+
},
|
|
4711
|
+
"options": {
|
|
4712
|
+
"description": "Comma-separated dropdown options",
|
|
4713
|
+
"name": "options",
|
|
4780
4714
|
"hasDynamicHelp": false,
|
|
4781
4715
|
"multiple": false,
|
|
4782
4716
|
"type": "option"
|
|
@@ -4791,7 +4725,7 @@
|
|
|
4791
4725
|
},
|
|
4792
4726
|
"hasDynamicHelp": false,
|
|
4793
4727
|
"hiddenAliases": [],
|
|
4794
|
-
"id": "
|
|
4728
|
+
"id": "custom-fields:update",
|
|
4795
4729
|
"pluginAlias": "@instantkom/cli",
|
|
4796
4730
|
"pluginName": "@instantkom/cli",
|
|
4797
4731
|
"pluginType": "core",
|
|
@@ -4801,14 +4735,14 @@
|
|
|
4801
4735
|
"relativePath": [
|
|
4802
4736
|
"dist",
|
|
4803
4737
|
"commands",
|
|
4804
|
-
"
|
|
4738
|
+
"custom-fields",
|
|
4805
4739
|
"update.js"
|
|
4806
4740
|
]
|
|
4807
4741
|
},
|
|
4808
|
-
"
|
|
4742
|
+
"contacts:create": {
|
|
4809
4743
|
"aliases": [],
|
|
4810
4744
|
"args": {},
|
|
4811
|
-
"description": "
|
|
4745
|
+
"description": "Create a contact",
|
|
4812
4746
|
"flags": {
|
|
4813
4747
|
"api-key": {
|
|
4814
4748
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4872,18 +4806,40 @@
|
|
|
4872
4806
|
"multiple": false,
|
|
4873
4807
|
"type": "option"
|
|
4874
4808
|
},
|
|
4875
|
-
"
|
|
4876
|
-
"description": "
|
|
4877
|
-
"name": "
|
|
4809
|
+
"channel": {
|
|
4810
|
+
"description": "Channel ID",
|
|
4811
|
+
"name": "channel",
|
|
4812
|
+
"required": true,
|
|
4813
|
+
"hasDynamicHelp": false,
|
|
4814
|
+
"multiple": false,
|
|
4815
|
+
"type": "option"
|
|
4816
|
+
},
|
|
4817
|
+
"identifier": {
|
|
4818
|
+
"description": "Unique contact identifier",
|
|
4819
|
+
"name": "identifier",
|
|
4878
4820
|
"required": true,
|
|
4879
4821
|
"hasDynamicHelp": false,
|
|
4880
4822
|
"multiple": false,
|
|
4881
4823
|
"type": "option"
|
|
4824
|
+
},
|
|
4825
|
+
"name": {
|
|
4826
|
+
"description": "Contact name",
|
|
4827
|
+
"name": "name",
|
|
4828
|
+
"hasDynamicHelp": false,
|
|
4829
|
+
"multiple": false,
|
|
4830
|
+
"type": "option"
|
|
4831
|
+
},
|
|
4832
|
+
"data": {
|
|
4833
|
+
"description": "Additional JSON object payload",
|
|
4834
|
+
"name": "data",
|
|
4835
|
+
"hasDynamicHelp": false,
|
|
4836
|
+
"multiple": false,
|
|
4837
|
+
"type": "option"
|
|
4882
4838
|
}
|
|
4883
4839
|
},
|
|
4884
4840
|
"hasDynamicHelp": false,
|
|
4885
4841
|
"hiddenAliases": [],
|
|
4886
|
-
"id": "
|
|
4842
|
+
"id": "contacts:create",
|
|
4887
4843
|
"pluginAlias": "@instantkom/cli",
|
|
4888
4844
|
"pluginName": "@instantkom/cli",
|
|
4889
4845
|
"pluginType": "core",
|
|
@@ -4893,14 +4849,20 @@
|
|
|
4893
4849
|
"relativePath": [
|
|
4894
4850
|
"dist",
|
|
4895
4851
|
"commands",
|
|
4896
|
-
"
|
|
4897
|
-
"
|
|
4852
|
+
"contacts",
|
|
4853
|
+
"create.js"
|
|
4898
4854
|
]
|
|
4899
4855
|
},
|
|
4900
|
-
"
|
|
4856
|
+
"contacts:delete": {
|
|
4901
4857
|
"aliases": [],
|
|
4902
|
-
"args": {
|
|
4903
|
-
|
|
4858
|
+
"args": {
|
|
4859
|
+
"id": {
|
|
4860
|
+
"description": "Contact ID",
|
|
4861
|
+
"name": "id",
|
|
4862
|
+
"required": true
|
|
4863
|
+
}
|
|
4864
|
+
},
|
|
4865
|
+
"description": "Delete a contact",
|
|
4904
4866
|
"flags": {
|
|
4905
4867
|
"api-key": {
|
|
4906
4868
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -4963,72 +4925,11 @@
|
|
|
4963
4925
|
"hasDynamicHelp": false,
|
|
4964
4926
|
"multiple": false,
|
|
4965
4927
|
"type": "option"
|
|
4966
|
-
},
|
|
4967
|
-
"name": {
|
|
4968
|
-
"description": "Field name",
|
|
4969
|
-
"name": "name",
|
|
4970
|
-
"required": true,
|
|
4971
|
-
"hasDynamicHelp": false,
|
|
4972
|
-
"multiple": false,
|
|
4973
|
-
"type": "option"
|
|
4974
|
-
},
|
|
4975
|
-
"key": {
|
|
4976
|
-
"description": "Field key",
|
|
4977
|
-
"name": "key",
|
|
4978
|
-
"required": true,
|
|
4979
|
-
"hasDynamicHelp": false,
|
|
4980
|
-
"multiple": false,
|
|
4981
|
-
"type": "option"
|
|
4982
|
-
},
|
|
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",
|
|
5010
|
-
"hasDynamicHelp": false,
|
|
5011
|
-
"multiple": false,
|
|
5012
|
-
"type": "option"
|
|
5013
|
-
},
|
|
5014
|
-
"options": {
|
|
5015
|
-
"description": "Comma-separated dropdown options",
|
|
5016
|
-
"name": "options",
|
|
5017
|
-
"hasDynamicHelp": false,
|
|
5018
|
-
"multiple": false,
|
|
5019
|
-
"type": "option"
|
|
5020
|
-
},
|
|
5021
|
-
"data": {
|
|
5022
|
-
"description": "Additional JSON object payload",
|
|
5023
|
-
"name": "data",
|
|
5024
|
-
"hasDynamicHelp": false,
|
|
5025
|
-
"multiple": false,
|
|
5026
|
-
"type": "option"
|
|
5027
4928
|
}
|
|
5028
4929
|
},
|
|
5029
4930
|
"hasDynamicHelp": false,
|
|
5030
4931
|
"hiddenAliases": [],
|
|
5031
|
-
"id": "
|
|
4932
|
+
"id": "contacts:delete",
|
|
5032
4933
|
"pluginAlias": "@instantkom/cli",
|
|
5033
4934
|
"pluginName": "@instantkom/cli",
|
|
5034
4935
|
"pluginType": "core",
|
|
@@ -5038,20 +4939,14 @@
|
|
|
5038
4939
|
"relativePath": [
|
|
5039
4940
|
"dist",
|
|
5040
4941
|
"commands",
|
|
5041
|
-
"
|
|
5042
|
-
"
|
|
4942
|
+
"contacts",
|
|
4943
|
+
"delete.js"
|
|
5043
4944
|
]
|
|
5044
4945
|
},
|
|
5045
|
-
"
|
|
4946
|
+
"contacts:export": {
|
|
5046
4947
|
"aliases": [],
|
|
5047
|
-
"args": {
|
|
5048
|
-
|
|
5049
|
-
"description": "custom field ID",
|
|
5050
|
-
"name": "id",
|
|
5051
|
-
"required": true
|
|
5052
|
-
}
|
|
5053
|
-
},
|
|
5054
|
-
"description": "Delete custom field",
|
|
4948
|
+
"args": {},
|
|
4949
|
+
"description": "Export contacts to CSV",
|
|
5055
4950
|
"flags": {
|
|
5056
4951
|
"api-key": {
|
|
5057
4952
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5114,11 +5009,49 @@
|
|
|
5114
5009
|
"hasDynamicHelp": false,
|
|
5115
5010
|
"multiple": false,
|
|
5116
5011
|
"type": "option"
|
|
5012
|
+
},
|
|
5013
|
+
"file": {
|
|
5014
|
+
"description": "CSV output file path",
|
|
5015
|
+
"name": "file",
|
|
5016
|
+
"required": true,
|
|
5017
|
+
"hasDynamicHelp": false,
|
|
5018
|
+
"multiple": false,
|
|
5019
|
+
"type": "option"
|
|
5020
|
+
},
|
|
5021
|
+
"channel": {
|
|
5022
|
+
"description": "Filter by channel ID",
|
|
5023
|
+
"name": "channel",
|
|
5024
|
+
"hasDynamicHelp": false,
|
|
5025
|
+
"multiple": false,
|
|
5026
|
+
"type": "option"
|
|
5027
|
+
},
|
|
5028
|
+
"search": {
|
|
5029
|
+
"description": "Search by name or identifier",
|
|
5030
|
+
"name": "search",
|
|
5031
|
+
"hasDynamicHelp": false,
|
|
5032
|
+
"multiple": false,
|
|
5033
|
+
"type": "option"
|
|
5034
|
+
},
|
|
5035
|
+
"page": {
|
|
5036
|
+
"description": "Page number",
|
|
5037
|
+
"name": "page",
|
|
5038
|
+
"default": 1,
|
|
5039
|
+
"hasDynamicHelp": false,
|
|
5040
|
+
"multiple": false,
|
|
5041
|
+
"type": "option"
|
|
5042
|
+
},
|
|
5043
|
+
"limit": {
|
|
5044
|
+
"description": "Items per page",
|
|
5045
|
+
"name": "limit",
|
|
5046
|
+
"default": 100,
|
|
5047
|
+
"hasDynamicHelp": false,
|
|
5048
|
+
"multiple": false,
|
|
5049
|
+
"type": "option"
|
|
5117
5050
|
}
|
|
5118
5051
|
},
|
|
5119
5052
|
"hasDynamicHelp": false,
|
|
5120
5053
|
"hiddenAliases": [],
|
|
5121
|
-
"id": "
|
|
5054
|
+
"id": "contacts:export",
|
|
5122
5055
|
"pluginAlias": "@instantkom/cli",
|
|
5123
5056
|
"pluginName": "@instantkom/cli",
|
|
5124
5057
|
"pluginType": "core",
|
|
@@ -5128,20 +5061,20 @@
|
|
|
5128
5061
|
"relativePath": [
|
|
5129
5062
|
"dist",
|
|
5130
5063
|
"commands",
|
|
5131
|
-
"
|
|
5132
|
-
"
|
|
5064
|
+
"contacts",
|
|
5065
|
+
"export.js"
|
|
5133
5066
|
]
|
|
5134
5067
|
},
|
|
5135
|
-
"
|
|
5068
|
+
"contacts:get": {
|
|
5136
5069
|
"aliases": [],
|
|
5137
5070
|
"args": {
|
|
5138
5071
|
"id": {
|
|
5139
|
-
"description": "
|
|
5072
|
+
"description": "Contact ID",
|
|
5140
5073
|
"name": "id",
|
|
5141
5074
|
"required": true
|
|
5142
5075
|
}
|
|
5143
5076
|
},
|
|
5144
|
-
"description": "Get
|
|
5077
|
+
"description": "Get a contact by ID",
|
|
5145
5078
|
"flags": {
|
|
5146
5079
|
"api-key": {
|
|
5147
5080
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5208,7 +5141,7 @@
|
|
|
5208
5141
|
},
|
|
5209
5142
|
"hasDynamicHelp": false,
|
|
5210
5143
|
"hiddenAliases": [],
|
|
5211
|
-
"id": "
|
|
5144
|
+
"id": "contacts:get",
|
|
5212
5145
|
"pluginAlias": "@instantkom/cli",
|
|
5213
5146
|
"pluginName": "@instantkom/cli",
|
|
5214
5147
|
"pluginType": "core",
|
|
@@ -5218,14 +5151,14 @@
|
|
|
5218
5151
|
"relativePath": [
|
|
5219
5152
|
"dist",
|
|
5220
5153
|
"commands",
|
|
5221
|
-
"
|
|
5154
|
+
"contacts",
|
|
5222
5155
|
"get.js"
|
|
5223
5156
|
]
|
|
5224
5157
|
},
|
|
5225
|
-
"
|
|
5158
|
+
"contacts:import": {
|
|
5226
5159
|
"aliases": [],
|
|
5227
5160
|
"args": {},
|
|
5228
|
-
"description": "
|
|
5161
|
+
"description": "Import contacts from CSV",
|
|
5229
5162
|
"flags": {
|
|
5230
5163
|
"api-key": {
|
|
5231
5164
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5288,11 +5221,27 @@
|
|
|
5288
5221
|
"hasDynamicHelp": false,
|
|
5289
5222
|
"multiple": false,
|
|
5290
5223
|
"type": "option"
|
|
5224
|
+
},
|
|
5225
|
+
"file": {
|
|
5226
|
+
"description": "CSV file path",
|
|
5227
|
+
"name": "file",
|
|
5228
|
+
"required": true,
|
|
5229
|
+
"hasDynamicHelp": false,
|
|
5230
|
+
"multiple": false,
|
|
5231
|
+
"type": "option"
|
|
5232
|
+
},
|
|
5233
|
+
"channel": {
|
|
5234
|
+
"description": "Channel ID",
|
|
5235
|
+
"name": "channel",
|
|
5236
|
+
"required": true,
|
|
5237
|
+
"hasDynamicHelp": false,
|
|
5238
|
+
"multiple": false,
|
|
5239
|
+
"type": "option"
|
|
5291
5240
|
}
|
|
5292
5241
|
},
|
|
5293
5242
|
"hasDynamicHelp": false,
|
|
5294
5243
|
"hiddenAliases": [],
|
|
5295
|
-
"id": "
|
|
5244
|
+
"id": "contacts:import",
|
|
5296
5245
|
"pluginAlias": "@instantkom/cli",
|
|
5297
5246
|
"pluginName": "@instantkom/cli",
|
|
5298
5247
|
"pluginType": "core",
|
|
@@ -5302,14 +5251,14 @@
|
|
|
5302
5251
|
"relativePath": [
|
|
5303
5252
|
"dist",
|
|
5304
5253
|
"commands",
|
|
5305
|
-
"
|
|
5306
|
-
"
|
|
5254
|
+
"contacts",
|
|
5255
|
+
"import.js"
|
|
5307
5256
|
]
|
|
5308
5257
|
},
|
|
5309
|
-
"
|
|
5258
|
+
"contacts:list": {
|
|
5310
5259
|
"aliases": [],
|
|
5311
5260
|
"args": {},
|
|
5312
|
-
"description": "
|
|
5261
|
+
"description": "List contacts",
|
|
5313
5262
|
"flags": {
|
|
5314
5263
|
"api-key": {
|
|
5315
5264
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5373,10 +5322,97 @@
|
|
|
5373
5322
|
"multiple": false,
|
|
5374
5323
|
"type": "option"
|
|
5375
5324
|
},
|
|
5376
|
-
"
|
|
5377
|
-
"description": "
|
|
5378
|
-
"name": "
|
|
5379
|
-
"
|
|
5325
|
+
"channel": {
|
|
5326
|
+
"description": "Filter by channel ID",
|
|
5327
|
+
"name": "channel",
|
|
5328
|
+
"hasDynamicHelp": false,
|
|
5329
|
+
"multiple": false,
|
|
5330
|
+
"type": "option"
|
|
5331
|
+
},
|
|
5332
|
+
"search": {
|
|
5333
|
+
"description": "Search by name or identifier",
|
|
5334
|
+
"name": "search",
|
|
5335
|
+
"hasDynamicHelp": false,
|
|
5336
|
+
"multiple": false,
|
|
5337
|
+
"type": "option"
|
|
5338
|
+
},
|
|
5339
|
+
"page": {
|
|
5340
|
+
"description": "Page number",
|
|
5341
|
+
"name": "page",
|
|
5342
|
+
"default": 1,
|
|
5343
|
+
"hasDynamicHelp": false,
|
|
5344
|
+
"multiple": false,
|
|
5345
|
+
"type": "option"
|
|
5346
|
+
},
|
|
5347
|
+
"limit": {
|
|
5348
|
+
"description": "Items per page",
|
|
5349
|
+
"name": "limit",
|
|
5350
|
+
"default": 20,
|
|
5351
|
+
"hasDynamicHelp": false,
|
|
5352
|
+
"multiple": false,
|
|
5353
|
+
"type": "option"
|
|
5354
|
+
},
|
|
5355
|
+
"optin-status": {
|
|
5356
|
+
"description": "Filter by opt-in status",
|
|
5357
|
+
"name": "optin-status",
|
|
5358
|
+
"hasDynamicHelp": false,
|
|
5359
|
+
"multiple": false,
|
|
5360
|
+
"options": [
|
|
5361
|
+
"0",
|
|
5362
|
+
"1"
|
|
5363
|
+
],
|
|
5364
|
+
"type": "option"
|
|
5365
|
+
},
|
|
5366
|
+
"blocked": {
|
|
5367
|
+
"description": "Filter by blocked status: 1 blocked, 0 not blocked",
|
|
5368
|
+
"name": "blocked",
|
|
5369
|
+
"hasDynamicHelp": false,
|
|
5370
|
+
"multiple": false,
|
|
5371
|
+
"options": [
|
|
5372
|
+
"0",
|
|
5373
|
+
"1"
|
|
5374
|
+
],
|
|
5375
|
+
"type": "option"
|
|
5376
|
+
},
|
|
5377
|
+
"segment": {
|
|
5378
|
+
"description": "Filter by segment ID",
|
|
5379
|
+
"name": "segment",
|
|
5380
|
+
"hasDynamicHelp": false,
|
|
5381
|
+
"multiple": false,
|
|
5382
|
+
"type": "option"
|
|
5383
|
+
},
|
|
5384
|
+
"tags": {
|
|
5385
|
+
"description": "Comma-separated tag IDs",
|
|
5386
|
+
"name": "tags",
|
|
5387
|
+
"hasDynamicHelp": false,
|
|
5388
|
+
"multiple": false,
|
|
5389
|
+
"type": "option"
|
|
5390
|
+
},
|
|
5391
|
+
"tag-match": {
|
|
5392
|
+
"description": "Tag match mode",
|
|
5393
|
+
"name": "tag-match",
|
|
5394
|
+
"hasDynamicHelp": false,
|
|
5395
|
+
"multiple": false,
|
|
5396
|
+
"options": [
|
|
5397
|
+
"any",
|
|
5398
|
+
"all"
|
|
5399
|
+
],
|
|
5400
|
+
"type": "option"
|
|
5401
|
+
},
|
|
5402
|
+
"spam": {
|
|
5403
|
+
"description": "Filter by spam status",
|
|
5404
|
+
"name": "spam",
|
|
5405
|
+
"hasDynamicHelp": false,
|
|
5406
|
+
"multiple": false,
|
|
5407
|
+
"options": [
|
|
5408
|
+
"true",
|
|
5409
|
+
"false"
|
|
5410
|
+
],
|
|
5411
|
+
"type": "option"
|
|
5412
|
+
},
|
|
5413
|
+
"trust-level": {
|
|
5414
|
+
"description": "Comma-separated trust levels",
|
|
5415
|
+
"name": "trust-level",
|
|
5380
5416
|
"hasDynamicHelp": false,
|
|
5381
5417
|
"multiple": false,
|
|
5382
5418
|
"type": "option"
|
|
@@ -5384,7 +5420,7 @@
|
|
|
5384
5420
|
},
|
|
5385
5421
|
"hasDynamicHelp": false,
|
|
5386
5422
|
"hiddenAliases": [],
|
|
5387
|
-
"id": "
|
|
5423
|
+
"id": "contacts:list",
|
|
5388
5424
|
"pluginAlias": "@instantkom/cli",
|
|
5389
5425
|
"pluginName": "@instantkom/cli",
|
|
5390
5426
|
"pluginType": "core",
|
|
@@ -5394,20 +5430,20 @@
|
|
|
5394
5430
|
"relativePath": [
|
|
5395
5431
|
"dist",
|
|
5396
5432
|
"commands",
|
|
5397
|
-
"
|
|
5398
|
-
"
|
|
5433
|
+
"contacts",
|
|
5434
|
+
"list.js"
|
|
5399
5435
|
]
|
|
5400
5436
|
},
|
|
5401
|
-
"
|
|
5437
|
+
"contacts:update": {
|
|
5402
5438
|
"aliases": [],
|
|
5403
5439
|
"args": {
|
|
5404
5440
|
"id": {
|
|
5405
|
-
"description": "
|
|
5441
|
+
"description": "Contact ID",
|
|
5406
5442
|
"name": "id",
|
|
5407
5443
|
"required": true
|
|
5408
5444
|
}
|
|
5409
5445
|
},
|
|
5410
|
-
"description": "Update a
|
|
5446
|
+
"description": "Update a contact",
|
|
5411
5447
|
"flags": {
|
|
5412
5448
|
"api-key": {
|
|
5413
5449
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -5471,52 +5507,16 @@
|
|
|
5471
5507
|
"multiple": false,
|
|
5472
5508
|
"type": "option"
|
|
5473
5509
|
},
|
|
5474
|
-
"
|
|
5475
|
-
"description": "
|
|
5476
|
-
"name": "
|
|
5477
|
-
"hasDynamicHelp": false,
|
|
5478
|
-
"multiple": false,
|
|
5479
|
-
"type": "option"
|
|
5480
|
-
},
|
|
5481
|
-
"type": {
|
|
5482
|
-
"description": "Field type",
|
|
5483
|
-
"name": "type",
|
|
5484
|
-
"hasDynamicHelp": false,
|
|
5485
|
-
"multiple": false,
|
|
5486
|
-
"options": [
|
|
5487
|
-
"text",
|
|
5488
|
-
"number",
|
|
5489
|
-
"date",
|
|
5490
|
-
"dropdown",
|
|
5491
|
-
"checkbox",
|
|
5492
|
-
"url",
|
|
5493
|
-
"email",
|
|
5494
|
-
"phone"
|
|
5495
|
-
],
|
|
5496
|
-
"type": "option"
|
|
5497
|
-
},
|
|
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",
|
|
5510
|
+
"identifier": {
|
|
5511
|
+
"description": "Unique contact identifier",
|
|
5512
|
+
"name": "identifier",
|
|
5513
5513
|
"hasDynamicHelp": false,
|
|
5514
5514
|
"multiple": false,
|
|
5515
5515
|
"type": "option"
|
|
5516
5516
|
},
|
|
5517
|
-
"
|
|
5518
|
-
"description": "
|
|
5519
|
-
"name": "
|
|
5517
|
+
"name": {
|
|
5518
|
+
"description": "Contact name",
|
|
5519
|
+
"name": "name",
|
|
5520
5520
|
"hasDynamicHelp": false,
|
|
5521
5521
|
"multiple": false,
|
|
5522
5522
|
"type": "option"
|
|
@@ -5531,7 +5531,7 @@
|
|
|
5531
5531
|
},
|
|
5532
5532
|
"hasDynamicHelp": false,
|
|
5533
5533
|
"hiddenAliases": [],
|
|
5534
|
-
"id": "
|
|
5534
|
+
"id": "contacts:update",
|
|
5535
5535
|
"pluginAlias": "@instantkom/cli",
|
|
5536
5536
|
"pluginName": "@instantkom/cli",
|
|
5537
5537
|
"pluginType": "core",
|
|
@@ -5541,7 +5541,7 @@
|
|
|
5541
5541
|
"relativePath": [
|
|
5542
5542
|
"dist",
|
|
5543
5543
|
"commands",
|
|
5544
|
-
"
|
|
5544
|
+
"contacts",
|
|
5545
5545
|
"update.js"
|
|
5546
5546
|
]
|
|
5547
5547
|
},
|
|
@@ -12676,21 +12676,16 @@
|
|
|
12676
12676
|
"update.js"
|
|
12677
12677
|
]
|
|
12678
12678
|
},
|
|
12679
|
-
"bots:
|
|
12679
|
+
"bots:env-vars:bots": {
|
|
12680
12680
|
"aliases": [],
|
|
12681
12681
|
"args": {
|
|
12682
12682
|
"id": {
|
|
12683
|
-
"description": "
|
|
12683
|
+
"description": "Environment variable ID",
|
|
12684
12684
|
"name": "id",
|
|
12685
12685
|
"required": true
|
|
12686
|
-
},
|
|
12687
|
-
"tagId": {
|
|
12688
|
-
"description": "Tag ID",
|
|
12689
|
-
"name": "tagId",
|
|
12690
|
-
"required": true
|
|
12691
12686
|
}
|
|
12692
12687
|
},
|
|
12693
|
-
"description": "
|
|
12688
|
+
"description": "List bots using a bot environment variable",
|
|
12694
12689
|
"flags": {
|
|
12695
12690
|
"api-key": {
|
|
12696
12691
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -12757,7 +12752,7 @@
|
|
|
12757
12752
|
},
|
|
12758
12753
|
"hasDynamicHelp": false,
|
|
12759
12754
|
"hiddenAliases": [],
|
|
12760
|
-
"id": "bots:
|
|
12755
|
+
"id": "bots:env-vars:bots",
|
|
12761
12756
|
"pluginAlias": "@instantkom/cli",
|
|
12762
12757
|
"pluginName": "@instantkom/cli",
|
|
12763
12758
|
"pluginType": "core",
|
|
@@ -12768,20 +12763,14 @@
|
|
|
12768
12763
|
"dist",
|
|
12769
12764
|
"commands",
|
|
12770
12765
|
"bots",
|
|
12771
|
-
"
|
|
12772
|
-
"
|
|
12766
|
+
"env-vars",
|
|
12767
|
+
"bots.js"
|
|
12773
12768
|
]
|
|
12774
12769
|
},
|
|
12775
|
-
"bots:
|
|
12770
|
+
"bots:env-vars:create": {
|
|
12776
12771
|
"aliases": [],
|
|
12777
|
-
"args": {
|
|
12778
|
-
|
|
12779
|
-
"description": "Bot ID",
|
|
12780
|
-
"name": "id",
|
|
12781
|
-
"required": true
|
|
12782
|
-
}
|
|
12783
|
-
},
|
|
12784
|
-
"description": "List tags assigned to a bot",
|
|
12772
|
+
"args": {},
|
|
12773
|
+
"description": "Create a bot environment variable",
|
|
12785
12774
|
"flags": {
|
|
12786
12775
|
"api-key": {
|
|
12787
12776
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -12844,11 +12833,40 @@
|
|
|
12844
12833
|
"hasDynamicHelp": false,
|
|
12845
12834
|
"multiple": false,
|
|
12846
12835
|
"type": "option"
|
|
12836
|
+
},
|
|
12837
|
+
"key": {
|
|
12838
|
+
"description": "Variable key (max 16 chars, letters, digits, underscore)",
|
|
12839
|
+
"name": "key",
|
|
12840
|
+
"required": true,
|
|
12841
|
+
"hasDynamicHelp": false,
|
|
12842
|
+
"multiple": false,
|
|
12843
|
+
"type": "option"
|
|
12844
|
+
},
|
|
12845
|
+
"description": {
|
|
12846
|
+
"description": "Variable description",
|
|
12847
|
+
"name": "description",
|
|
12848
|
+
"hasDynamicHelp": false,
|
|
12849
|
+
"multiple": false,
|
|
12850
|
+
"type": "option"
|
|
12851
|
+
},
|
|
12852
|
+
"color": {
|
|
12853
|
+
"description": "Variable color as HEX",
|
|
12854
|
+
"name": "color",
|
|
12855
|
+
"hasDynamicHelp": false,
|
|
12856
|
+
"multiple": false,
|
|
12857
|
+
"type": "option"
|
|
12858
|
+
},
|
|
12859
|
+
"data": {
|
|
12860
|
+
"description": "Additional JSON object payload",
|
|
12861
|
+
"name": "data",
|
|
12862
|
+
"hasDynamicHelp": false,
|
|
12863
|
+
"multiple": false,
|
|
12864
|
+
"type": "option"
|
|
12847
12865
|
}
|
|
12848
12866
|
},
|
|
12849
12867
|
"hasDynamicHelp": false,
|
|
12850
12868
|
"hiddenAliases": [],
|
|
12851
|
-
"id": "bots:
|
|
12869
|
+
"id": "bots:env-vars:create",
|
|
12852
12870
|
"pluginAlias": "@instantkom/cli",
|
|
12853
12871
|
"pluginName": "@instantkom/cli",
|
|
12854
12872
|
"pluginType": "core",
|
|
@@ -12859,25 +12877,20 @@
|
|
|
12859
12877
|
"dist",
|
|
12860
12878
|
"commands",
|
|
12861
12879
|
"bots",
|
|
12862
|
-
"
|
|
12863
|
-
"
|
|
12880
|
+
"env-vars",
|
|
12881
|
+
"create.js"
|
|
12864
12882
|
]
|
|
12865
12883
|
},
|
|
12866
|
-
"bots:
|
|
12884
|
+
"bots:env-vars:delete": {
|
|
12867
12885
|
"aliases": [],
|
|
12868
12886
|
"args": {
|
|
12869
12887
|
"id": {
|
|
12870
|
-
"description": "
|
|
12888
|
+
"description": "Environment variable ID",
|
|
12871
12889
|
"name": "id",
|
|
12872
12890
|
"required": true
|
|
12873
|
-
},
|
|
12874
|
-
"tagId": {
|
|
12875
|
-
"description": "Tag ID",
|
|
12876
|
-
"name": "tagId",
|
|
12877
|
-
"required": true
|
|
12878
12891
|
}
|
|
12879
12892
|
},
|
|
12880
|
-
"description": "
|
|
12893
|
+
"description": "Delete a bot environment variable",
|
|
12881
12894
|
"flags": {
|
|
12882
12895
|
"api-key": {
|
|
12883
12896
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -12944,7 +12957,7 @@
|
|
|
12944
12957
|
},
|
|
12945
12958
|
"hasDynamicHelp": false,
|
|
12946
12959
|
"hiddenAliases": [],
|
|
12947
|
-
"id": "bots:
|
|
12960
|
+
"id": "bots:env-vars:delete",
|
|
12948
12961
|
"pluginAlias": "@instantkom/cli",
|
|
12949
12962
|
"pluginName": "@instantkom/cli",
|
|
12950
12963
|
"pluginType": "core",
|
|
@@ -12955,11 +12968,11 @@
|
|
|
12955
12968
|
"dist",
|
|
12956
12969
|
"commands",
|
|
12957
12970
|
"bots",
|
|
12958
|
-
"
|
|
12959
|
-
"
|
|
12971
|
+
"env-vars",
|
|
12972
|
+
"delete.js"
|
|
12960
12973
|
]
|
|
12961
12974
|
},
|
|
12962
|
-
"bots:env-vars:
|
|
12975
|
+
"bots:env-vars:get": {
|
|
12963
12976
|
"aliases": [],
|
|
12964
12977
|
"args": {
|
|
12965
12978
|
"id": {
|
|
@@ -12968,7 +12981,7 @@
|
|
|
12968
12981
|
"required": true
|
|
12969
12982
|
}
|
|
12970
12983
|
},
|
|
12971
|
-
"description": "
|
|
12984
|
+
"description": "Get a bot environment variable",
|
|
12972
12985
|
"flags": {
|
|
12973
12986
|
"api-key": {
|
|
12974
12987
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -13035,7 +13048,7 @@
|
|
|
13035
13048
|
},
|
|
13036
13049
|
"hasDynamicHelp": false,
|
|
13037
13050
|
"hiddenAliases": [],
|
|
13038
|
-
"id": "bots:env-vars:
|
|
13051
|
+
"id": "bots:env-vars:get",
|
|
13039
13052
|
"pluginAlias": "@instantkom/cli",
|
|
13040
13053
|
"pluginName": "@instantkom/cli",
|
|
13041
13054
|
"pluginType": "core",
|
|
@@ -13047,13 +13060,13 @@
|
|
|
13047
13060
|
"commands",
|
|
13048
13061
|
"bots",
|
|
13049
13062
|
"env-vars",
|
|
13050
|
-
"
|
|
13063
|
+
"get.js"
|
|
13051
13064
|
]
|
|
13052
13065
|
},
|
|
13053
|
-
"bots:env-vars:
|
|
13066
|
+
"bots:env-vars:list": {
|
|
13054
13067
|
"aliases": [],
|
|
13055
13068
|
"args": {},
|
|
13056
|
-
"description": "
|
|
13069
|
+
"description": "List bot environment variables",
|
|
13057
13070
|
"flags": {
|
|
13058
13071
|
"api-key": {
|
|
13059
13072
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -13117,31 +13130,32 @@
|
|
|
13117
13130
|
"multiple": false,
|
|
13118
13131
|
"type": "option"
|
|
13119
13132
|
},
|
|
13120
|
-
"
|
|
13121
|
-
"description": "
|
|
13122
|
-
"name": "
|
|
13123
|
-
"
|
|
13133
|
+
"page": {
|
|
13134
|
+
"description": "Page number",
|
|
13135
|
+
"name": "page",
|
|
13136
|
+
"default": 1,
|
|
13124
13137
|
"hasDynamicHelp": false,
|
|
13125
13138
|
"multiple": false,
|
|
13126
13139
|
"type": "option"
|
|
13127
13140
|
},
|
|
13128
|
-
"
|
|
13129
|
-
"description": "
|
|
13130
|
-
"name": "
|
|
13141
|
+
"limit": {
|
|
13142
|
+
"description": "Items per page",
|
|
13143
|
+
"name": "limit",
|
|
13144
|
+
"default": 20,
|
|
13131
13145
|
"hasDynamicHelp": false,
|
|
13132
13146
|
"multiple": false,
|
|
13133
13147
|
"type": "option"
|
|
13134
13148
|
},
|
|
13135
|
-
"
|
|
13136
|
-
"description": "
|
|
13137
|
-
"name": "
|
|
13149
|
+
"search": {
|
|
13150
|
+
"description": "Search in key or description",
|
|
13151
|
+
"name": "search",
|
|
13138
13152
|
"hasDynamicHelp": false,
|
|
13139
13153
|
"multiple": false,
|
|
13140
13154
|
"type": "option"
|
|
13141
13155
|
},
|
|
13142
|
-
"
|
|
13143
|
-
"description": "
|
|
13144
|
-
"name": "
|
|
13156
|
+
"color": {
|
|
13157
|
+
"description": "Filter by color",
|
|
13158
|
+
"name": "color",
|
|
13145
13159
|
"hasDynamicHelp": false,
|
|
13146
13160
|
"multiple": false,
|
|
13147
13161
|
"type": "option"
|
|
@@ -13149,7 +13163,7 @@
|
|
|
13149
13163
|
},
|
|
13150
13164
|
"hasDynamicHelp": false,
|
|
13151
13165
|
"hiddenAliases": [],
|
|
13152
|
-
"id": "bots:env-vars:
|
|
13166
|
+
"id": "bots:env-vars:list",
|
|
13153
13167
|
"pluginAlias": "@instantkom/cli",
|
|
13154
13168
|
"pluginName": "@instantkom/cli",
|
|
13155
13169
|
"pluginType": "core",
|
|
@@ -13161,10 +13175,10 @@
|
|
|
13161
13175
|
"commands",
|
|
13162
13176
|
"bots",
|
|
13163
13177
|
"env-vars",
|
|
13164
|
-
"
|
|
13178
|
+
"list.js"
|
|
13165
13179
|
]
|
|
13166
13180
|
},
|
|
13167
|
-
"bots:env-vars:
|
|
13181
|
+
"bots:env-vars:update": {
|
|
13168
13182
|
"aliases": [],
|
|
13169
13183
|
"args": {
|
|
13170
13184
|
"id": {
|
|
@@ -13173,7 +13187,7 @@
|
|
|
13173
13187
|
"required": true
|
|
13174
13188
|
}
|
|
13175
13189
|
},
|
|
13176
|
-
"description": "
|
|
13190
|
+
"description": "Update a bot environment variable",
|
|
13177
13191
|
"flags": {
|
|
13178
13192
|
"api-key": {
|
|
13179
13193
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -13236,11 +13250,32 @@
|
|
|
13236
13250
|
"hasDynamicHelp": false,
|
|
13237
13251
|
"multiple": false,
|
|
13238
13252
|
"type": "option"
|
|
13253
|
+
},
|
|
13254
|
+
"description": {
|
|
13255
|
+
"description": "Variable description",
|
|
13256
|
+
"name": "description",
|
|
13257
|
+
"hasDynamicHelp": false,
|
|
13258
|
+
"multiple": false,
|
|
13259
|
+
"type": "option"
|
|
13260
|
+
},
|
|
13261
|
+
"color": {
|
|
13262
|
+
"description": "Variable color as HEX",
|
|
13263
|
+
"name": "color",
|
|
13264
|
+
"hasDynamicHelp": false,
|
|
13265
|
+
"multiple": false,
|
|
13266
|
+
"type": "option"
|
|
13267
|
+
},
|
|
13268
|
+
"data": {
|
|
13269
|
+
"description": "Additional JSON object payload",
|
|
13270
|
+
"name": "data",
|
|
13271
|
+
"hasDynamicHelp": false,
|
|
13272
|
+
"multiple": false,
|
|
13273
|
+
"type": "option"
|
|
13239
13274
|
}
|
|
13240
13275
|
},
|
|
13241
13276
|
"hasDynamicHelp": false,
|
|
13242
13277
|
"hiddenAliases": [],
|
|
13243
|
-
"id": "bots:env-vars:
|
|
13278
|
+
"id": "bots:env-vars:update",
|
|
13244
13279
|
"pluginAlias": "@instantkom/cli",
|
|
13245
13280
|
"pluginName": "@instantkom/cli",
|
|
13246
13281
|
"pluginType": "core",
|
|
@@ -13252,10 +13287,10 @@
|
|
|
13252
13287
|
"commands",
|
|
13253
13288
|
"bots",
|
|
13254
13289
|
"env-vars",
|
|
13255
|
-
"
|
|
13290
|
+
"update.js"
|
|
13256
13291
|
]
|
|
13257
13292
|
},
|
|
13258
|
-
"bots:env-vars:
|
|
13293
|
+
"bots:env-vars:values": {
|
|
13259
13294
|
"aliases": [],
|
|
13260
13295
|
"args": {
|
|
13261
13296
|
"id": {
|
|
@@ -13264,7 +13299,7 @@
|
|
|
13264
13299
|
"required": true
|
|
13265
13300
|
}
|
|
13266
13301
|
},
|
|
13267
|
-
"description": "
|
|
13302
|
+
"description": "List recipient values for a bot environment variable",
|
|
13268
13303
|
"flags": {
|
|
13269
13304
|
"api-key": {
|
|
13270
13305
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -13327,11 +13362,41 @@
|
|
|
13327
13362
|
"hasDynamicHelp": false,
|
|
13328
13363
|
"multiple": false,
|
|
13329
13364
|
"type": "option"
|
|
13365
|
+
},
|
|
13366
|
+
"page": {
|
|
13367
|
+
"description": "Page number",
|
|
13368
|
+
"name": "page",
|
|
13369
|
+
"default": 1,
|
|
13370
|
+
"hasDynamicHelp": false,
|
|
13371
|
+
"multiple": false,
|
|
13372
|
+
"type": "option"
|
|
13373
|
+
},
|
|
13374
|
+
"limit": {
|
|
13375
|
+
"description": "Items per page",
|
|
13376
|
+
"name": "limit",
|
|
13377
|
+
"default": 20,
|
|
13378
|
+
"hasDynamicHelp": false,
|
|
13379
|
+
"multiple": false,
|
|
13380
|
+
"type": "option"
|
|
13381
|
+
},
|
|
13382
|
+
"search": {
|
|
13383
|
+
"description": "Search in recipient name or identifier",
|
|
13384
|
+
"name": "search",
|
|
13385
|
+
"hasDynamicHelp": false,
|
|
13386
|
+
"multiple": false,
|
|
13387
|
+
"type": "option"
|
|
13388
|
+
},
|
|
13389
|
+
"recipient": {
|
|
13390
|
+
"description": "Filter by recipient ID",
|
|
13391
|
+
"name": "recipient",
|
|
13392
|
+
"hasDynamicHelp": false,
|
|
13393
|
+
"multiple": false,
|
|
13394
|
+
"type": "option"
|
|
13330
13395
|
}
|
|
13331
13396
|
},
|
|
13332
13397
|
"hasDynamicHelp": false,
|
|
13333
13398
|
"hiddenAliases": [],
|
|
13334
|
-
"id": "bots:env-vars:
|
|
13399
|
+
"id": "bots:env-vars:values",
|
|
13335
13400
|
"pluginAlias": "@instantkom/cli",
|
|
13336
13401
|
"pluginName": "@instantkom/cli",
|
|
13337
13402
|
"pluginType": "core",
|
|
@@ -13343,13 +13408,24 @@
|
|
|
13343
13408
|
"commands",
|
|
13344
13409
|
"bots",
|
|
13345
13410
|
"env-vars",
|
|
13346
|
-
"
|
|
13411
|
+
"values.js"
|
|
13347
13412
|
]
|
|
13348
13413
|
},
|
|
13349
|
-
"bots:
|
|
13414
|
+
"bots:tags:add": {
|
|
13350
13415
|
"aliases": [],
|
|
13351
|
-
"args": {
|
|
13352
|
-
|
|
13416
|
+
"args": {
|
|
13417
|
+
"id": {
|
|
13418
|
+
"description": "Bot ID",
|
|
13419
|
+
"name": "id",
|
|
13420
|
+
"required": true
|
|
13421
|
+
},
|
|
13422
|
+
"tagId": {
|
|
13423
|
+
"description": "Tag ID",
|
|
13424
|
+
"name": "tagId",
|
|
13425
|
+
"required": true
|
|
13426
|
+
}
|
|
13427
|
+
},
|
|
13428
|
+
"description": "Add a tag to a bot",
|
|
13353
13429
|
"flags": {
|
|
13354
13430
|
"api-key": {
|
|
13355
13431
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -13412,41 +13488,11 @@
|
|
|
13412
13488
|
"hasDynamicHelp": false,
|
|
13413
13489
|
"multiple": false,
|
|
13414
13490
|
"type": "option"
|
|
13415
|
-
},
|
|
13416
|
-
"page": {
|
|
13417
|
-
"description": "Page number",
|
|
13418
|
-
"name": "page",
|
|
13419
|
-
"default": 1,
|
|
13420
|
-
"hasDynamicHelp": false,
|
|
13421
|
-
"multiple": false,
|
|
13422
|
-
"type": "option"
|
|
13423
|
-
},
|
|
13424
|
-
"limit": {
|
|
13425
|
-
"description": "Items per page",
|
|
13426
|
-
"name": "limit",
|
|
13427
|
-
"default": 20,
|
|
13428
|
-
"hasDynamicHelp": false,
|
|
13429
|
-
"multiple": false,
|
|
13430
|
-
"type": "option"
|
|
13431
|
-
},
|
|
13432
|
-
"search": {
|
|
13433
|
-
"description": "Search in key or description",
|
|
13434
|
-
"name": "search",
|
|
13435
|
-
"hasDynamicHelp": false,
|
|
13436
|
-
"multiple": false,
|
|
13437
|
-
"type": "option"
|
|
13438
|
-
},
|
|
13439
|
-
"color": {
|
|
13440
|
-
"description": "Filter by color",
|
|
13441
|
-
"name": "color",
|
|
13442
|
-
"hasDynamicHelp": false,
|
|
13443
|
-
"multiple": false,
|
|
13444
|
-
"type": "option"
|
|
13445
13491
|
}
|
|
13446
13492
|
},
|
|
13447
13493
|
"hasDynamicHelp": false,
|
|
13448
13494
|
"hiddenAliases": [],
|
|
13449
|
-
"id": "bots:
|
|
13495
|
+
"id": "bots:tags:add",
|
|
13450
13496
|
"pluginAlias": "@instantkom/cli",
|
|
13451
13497
|
"pluginName": "@instantkom/cli",
|
|
13452
13498
|
"pluginType": "core",
|
|
@@ -13457,20 +13503,20 @@
|
|
|
13457
13503
|
"dist",
|
|
13458
13504
|
"commands",
|
|
13459
13505
|
"bots",
|
|
13460
|
-
"
|
|
13461
|
-
"
|
|
13506
|
+
"tags",
|
|
13507
|
+
"add.js"
|
|
13462
13508
|
]
|
|
13463
13509
|
},
|
|
13464
|
-
"bots:
|
|
13510
|
+
"bots:tags:list": {
|
|
13465
13511
|
"aliases": [],
|
|
13466
13512
|
"args": {
|
|
13467
13513
|
"id": {
|
|
13468
|
-
"description": "
|
|
13514
|
+
"description": "Bot ID",
|
|
13469
13515
|
"name": "id",
|
|
13470
13516
|
"required": true
|
|
13471
13517
|
}
|
|
13472
13518
|
},
|
|
13473
|
-
"description": "
|
|
13519
|
+
"description": "List tags assigned to a bot",
|
|
13474
13520
|
"flags": {
|
|
13475
13521
|
"api-key": {
|
|
13476
13522
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -13533,32 +13579,11 @@
|
|
|
13533
13579
|
"hasDynamicHelp": false,
|
|
13534
13580
|
"multiple": false,
|
|
13535
13581
|
"type": "option"
|
|
13536
|
-
},
|
|
13537
|
-
"description": {
|
|
13538
|
-
"description": "Variable description",
|
|
13539
|
-
"name": "description",
|
|
13540
|
-
"hasDynamicHelp": false,
|
|
13541
|
-
"multiple": false,
|
|
13542
|
-
"type": "option"
|
|
13543
|
-
},
|
|
13544
|
-
"color": {
|
|
13545
|
-
"description": "Variable color as HEX",
|
|
13546
|
-
"name": "color",
|
|
13547
|
-
"hasDynamicHelp": false,
|
|
13548
|
-
"multiple": false,
|
|
13549
|
-
"type": "option"
|
|
13550
|
-
},
|
|
13551
|
-
"data": {
|
|
13552
|
-
"description": "Additional JSON object payload",
|
|
13553
|
-
"name": "data",
|
|
13554
|
-
"hasDynamicHelp": false,
|
|
13555
|
-
"multiple": false,
|
|
13556
|
-
"type": "option"
|
|
13557
13582
|
}
|
|
13558
13583
|
},
|
|
13559
13584
|
"hasDynamicHelp": false,
|
|
13560
13585
|
"hiddenAliases": [],
|
|
13561
|
-
"id": "bots:
|
|
13586
|
+
"id": "bots:tags:list",
|
|
13562
13587
|
"pluginAlias": "@instantkom/cli",
|
|
13563
13588
|
"pluginName": "@instantkom/cli",
|
|
13564
13589
|
"pluginType": "core",
|
|
@@ -13569,20 +13594,25 @@
|
|
|
13569
13594
|
"dist",
|
|
13570
13595
|
"commands",
|
|
13571
13596
|
"bots",
|
|
13572
|
-
"
|
|
13573
|
-
"
|
|
13597
|
+
"tags",
|
|
13598
|
+
"list.js"
|
|
13574
13599
|
]
|
|
13575
13600
|
},
|
|
13576
|
-
"bots:
|
|
13601
|
+
"bots:tags:remove": {
|
|
13577
13602
|
"aliases": [],
|
|
13578
13603
|
"args": {
|
|
13579
13604
|
"id": {
|
|
13580
|
-
"description": "
|
|
13605
|
+
"description": "Bot ID",
|
|
13581
13606
|
"name": "id",
|
|
13582
13607
|
"required": true
|
|
13608
|
+
},
|
|
13609
|
+
"tagId": {
|
|
13610
|
+
"description": "Tag ID",
|
|
13611
|
+
"name": "tagId",
|
|
13612
|
+
"required": true
|
|
13583
13613
|
}
|
|
13584
13614
|
},
|
|
13585
|
-
"description": "
|
|
13615
|
+
"description": "Remove a tag from a bot",
|
|
13586
13616
|
"flags": {
|
|
13587
13617
|
"api-key": {
|
|
13588
13618
|
"description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
|
|
@@ -13645,41 +13675,11 @@
|
|
|
13645
13675
|
"hasDynamicHelp": false,
|
|
13646
13676
|
"multiple": false,
|
|
13647
13677
|
"type": "option"
|
|
13648
|
-
},
|
|
13649
|
-
"page": {
|
|
13650
|
-
"description": "Page number",
|
|
13651
|
-
"name": "page",
|
|
13652
|
-
"default": 1,
|
|
13653
|
-
"hasDynamicHelp": false,
|
|
13654
|
-
"multiple": false,
|
|
13655
|
-
"type": "option"
|
|
13656
|
-
},
|
|
13657
|
-
"limit": {
|
|
13658
|
-
"description": "Items per page",
|
|
13659
|
-
"name": "limit",
|
|
13660
|
-
"default": 20,
|
|
13661
|
-
"hasDynamicHelp": false,
|
|
13662
|
-
"multiple": false,
|
|
13663
|
-
"type": "option"
|
|
13664
|
-
},
|
|
13665
|
-
"search": {
|
|
13666
|
-
"description": "Search in recipient name or identifier",
|
|
13667
|
-
"name": "search",
|
|
13668
|
-
"hasDynamicHelp": false,
|
|
13669
|
-
"multiple": false,
|
|
13670
|
-
"type": "option"
|
|
13671
|
-
},
|
|
13672
|
-
"recipient": {
|
|
13673
|
-
"description": "Filter by recipient ID",
|
|
13674
|
-
"name": "recipient",
|
|
13675
|
-
"hasDynamicHelp": false,
|
|
13676
|
-
"multiple": false,
|
|
13677
|
-
"type": "option"
|
|
13678
13678
|
}
|
|
13679
13679
|
},
|
|
13680
13680
|
"hasDynamicHelp": false,
|
|
13681
13681
|
"hiddenAliases": [],
|
|
13682
|
-
"id": "bots:
|
|
13682
|
+
"id": "bots:tags:remove",
|
|
13683
13683
|
"pluginAlias": "@instantkom/cli",
|
|
13684
13684
|
"pluginName": "@instantkom/cli",
|
|
13685
13685
|
"pluginType": "core",
|
|
@@ -13690,8 +13690,8 @@
|
|
|
13690
13690
|
"dist",
|
|
13691
13691
|
"commands",
|
|
13692
13692
|
"bots",
|
|
13693
|
-
"
|
|
13694
|
-
"
|
|
13693
|
+
"tags",
|
|
13694
|
+
"remove.js"
|
|
13695
13695
|
]
|
|
13696
13696
|
},
|
|
13697
13697
|
"contacts:custom-fields:delete-value": {
|
|
@@ -17052,5 +17052,5 @@
|
|
|
17052
17052
|
]
|
|
17053
17053
|
}
|
|
17054
17054
|
},
|
|
17055
|
-
"version": "3.
|
|
17055
|
+
"version": "3.188.0"
|
|
17056
17056
|
}
|