@sendly/cli 3.19.1 → 3.23.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/dist/commands/conversations/close.d.ts +13 -0
- package/dist/commands/conversations/close.js +43 -0
- package/dist/commands/conversations/get.d.ts +15 -0
- package/dist/commands/conversations/get.js +87 -0
- package/dist/commands/conversations/index.d.ts +10 -0
- package/dist/commands/conversations/index.js +79 -0
- package/dist/commands/conversations/list.d.ts +13 -0
- package/dist/commands/conversations/list.js +99 -0
- package/dist/commands/conversations/mark-read.d.ts +13 -0
- package/dist/commands/conversations/mark-read.js +42 -0
- package/dist/commands/conversations/reopen.d.ts +13 -0
- package/dist/commands/conversations/reopen.js +43 -0
- package/dist/commands/conversations/reply.d.ts +14 -0
- package/dist/commands/conversations/reply.js +47 -0
- package/dist/commands/drafts/approve.d.ts +13 -0
- package/dist/commands/drafts/approve.js +43 -0
- package/dist/commands/drafts/create.d.ts +14 -0
- package/dist/commands/drafts/create.js +50 -0
- package/dist/commands/drafts/index.d.ts +10 -0
- package/dist/commands/drafts/index.js +66 -0
- package/dist/commands/drafts/list.d.ts +12 -0
- package/dist/commands/drafts/list.js +80 -0
- package/dist/commands/drafts/reject.d.ts +14 -0
- package/dist/commands/drafts/reject.js +51 -0
- package/dist/commands/enterprise/quota/get.js +7 -7
- package/dist/commands/enterprise/quota/set.js +9 -9
- package/dist/commands/labels/create.d.ts +15 -0
- package/dist/commands/labels/create.js +58 -0
- package/dist/commands/labels/delete.d.ts +13 -0
- package/dist/commands/labels/delete.js +41 -0
- package/dist/commands/labels/index.d.ts +10 -0
- package/dist/commands/labels/index.js +59 -0
- package/dist/commands/labels/list.d.ts +10 -0
- package/dist/commands/labels/list.js +59 -0
- package/dist/commands/sms/schedule.js +2 -2
- package/oclif.manifest.json +1496 -721
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -1048,15 +1048,13 @@
|
|
|
1048
1048
|
"set.js"
|
|
1049
1049
|
]
|
|
1050
1050
|
},
|
|
1051
|
-
"
|
|
1051
|
+
"credits:balance": {
|
|
1052
1052
|
"aliases": [],
|
|
1053
1053
|
"args": {},
|
|
1054
|
-
"description": "
|
|
1054
|
+
"description": "Check your credit balance",
|
|
1055
1055
|
"examples": [
|
|
1056
|
-
"<%= config.bin %>
|
|
1057
|
-
"<%= config.bin %>
|
|
1058
|
-
"<%= config.bin %> contacts create --phone +15551234567 --name \"John\" --email john@example.com",
|
|
1059
|
-
"<%= config.bin %> contacts create --phone +15551234567 --json"
|
|
1056
|
+
"<%= config.bin %> credits balance",
|
|
1057
|
+
"<%= config.bin %> credits balance --json"
|
|
1060
1058
|
],
|
|
1061
1059
|
"flags": {
|
|
1062
1060
|
"json": {
|
|
@@ -1071,28 +1069,51 @@
|
|
|
1071
1069
|
"name": "quiet",
|
|
1072
1070
|
"allowNo": false,
|
|
1073
1071
|
"type": "boolean"
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
"hasDynamicHelp": false,
|
|
1075
|
+
"hiddenAliases": [],
|
|
1076
|
+
"id": "credits:balance",
|
|
1077
|
+
"pluginAlias": "@sendly/cli",
|
|
1078
|
+
"pluginName": "@sendly/cli",
|
|
1079
|
+
"pluginType": "core",
|
|
1080
|
+
"strict": true,
|
|
1081
|
+
"isESM": true,
|
|
1082
|
+
"relativePath": [
|
|
1083
|
+
"dist",
|
|
1084
|
+
"commands",
|
|
1085
|
+
"credits",
|
|
1086
|
+
"balance.js"
|
|
1087
|
+
]
|
|
1088
|
+
},
|
|
1089
|
+
"credits:history": {
|
|
1090
|
+
"aliases": [],
|
|
1091
|
+
"args": {},
|
|
1092
|
+
"description": "View credit transaction history",
|
|
1093
|
+
"examples": [
|
|
1094
|
+
"<%= config.bin %> credits history",
|
|
1095
|
+
"<%= config.bin %> credits history --limit 10",
|
|
1096
|
+
"<%= config.bin %> credits history --json"
|
|
1097
|
+
],
|
|
1098
|
+
"flags": {
|
|
1099
|
+
"json": {
|
|
1100
|
+
"description": "Output in JSON format",
|
|
1101
|
+
"name": "json",
|
|
1102
|
+
"allowNo": false,
|
|
1103
|
+
"type": "boolean"
|
|
1074
1104
|
},
|
|
1075
|
-
"
|
|
1076
|
-
"char": "
|
|
1077
|
-
"description": "
|
|
1078
|
-
"name": "
|
|
1079
|
-
"
|
|
1080
|
-
"
|
|
1081
|
-
"multiple": false,
|
|
1082
|
-
"type": "option"
|
|
1083
|
-
},
|
|
1084
|
-
"name": {
|
|
1085
|
-
"char": "n",
|
|
1086
|
-
"description": "Contact name",
|
|
1087
|
-
"name": "name",
|
|
1088
|
-
"hasDynamicHelp": false,
|
|
1089
|
-
"multiple": false,
|
|
1090
|
-
"type": "option"
|
|
1105
|
+
"quiet": {
|
|
1106
|
+
"char": "q",
|
|
1107
|
+
"description": "Minimal output",
|
|
1108
|
+
"name": "quiet",
|
|
1109
|
+
"allowNo": false,
|
|
1110
|
+
"type": "boolean"
|
|
1091
1111
|
},
|
|
1092
|
-
"
|
|
1093
|
-
"char": "
|
|
1094
|
-
"description": "
|
|
1095
|
-
"name": "
|
|
1112
|
+
"limit": {
|
|
1113
|
+
"char": "l",
|
|
1114
|
+
"description": "Number of transactions to show",
|
|
1115
|
+
"name": "limit",
|
|
1116
|
+
"default": 20,
|
|
1096
1117
|
"hasDynamicHelp": false,
|
|
1097
1118
|
"multiple": false,
|
|
1098
1119
|
"type": "option"
|
|
@@ -1100,7 +1121,7 @@
|
|
|
1100
1121
|
},
|
|
1101
1122
|
"hasDynamicHelp": false,
|
|
1102
1123
|
"hiddenAliases": [],
|
|
1103
|
-
"id": "
|
|
1124
|
+
"id": "credits:history",
|
|
1104
1125
|
"pluginAlias": "@sendly/cli",
|
|
1105
1126
|
"pluginName": "@sendly/cli",
|
|
1106
1127
|
"pluginType": "core",
|
|
@@ -1109,23 +1130,18 @@
|
|
|
1109
1130
|
"relativePath": [
|
|
1110
1131
|
"dist",
|
|
1111
1132
|
"commands",
|
|
1112
|
-
"
|
|
1113
|
-
"
|
|
1133
|
+
"credits",
|
|
1134
|
+
"history.js"
|
|
1114
1135
|
]
|
|
1115
1136
|
},
|
|
1116
|
-
"
|
|
1137
|
+
"credits:transfer": {
|
|
1117
1138
|
"aliases": [],
|
|
1118
|
-
"args": {
|
|
1119
|
-
|
|
1120
|
-
"description": "Contact ID to delete",
|
|
1121
|
-
"name": "id",
|
|
1122
|
-
"required": true
|
|
1123
|
-
}
|
|
1124
|
-
},
|
|
1125
|
-
"description": "Delete a contact",
|
|
1139
|
+
"args": {},
|
|
1140
|
+
"description": "Transfer credits between workspaces",
|
|
1126
1141
|
"examples": [
|
|
1127
|
-
"<%= config.bin %>
|
|
1128
|
-
"<%= config.bin %>
|
|
1142
|
+
"<%= config.bin %> credits transfer --to org_abc123 --amount 500",
|
|
1143
|
+
"<%= config.bin %> credits transfer --amount 1000",
|
|
1144
|
+
"<%= config.bin %> credits transfer --to org_abc123 --amount 500 --yes"
|
|
1129
1145
|
],
|
|
1130
1146
|
"flags": {
|
|
1131
1147
|
"json": {
|
|
@@ -1141,6 +1157,21 @@
|
|
|
1141
1157
|
"allowNo": false,
|
|
1142
1158
|
"type": "boolean"
|
|
1143
1159
|
},
|
|
1160
|
+
"to": {
|
|
1161
|
+
"description": "Target workspace ID to transfer credits to",
|
|
1162
|
+
"name": "to",
|
|
1163
|
+
"hasDynamicHelp": false,
|
|
1164
|
+
"multiple": false,
|
|
1165
|
+
"type": "option"
|
|
1166
|
+
},
|
|
1167
|
+
"amount": {
|
|
1168
|
+
"char": "a",
|
|
1169
|
+
"description": "Number of credits to transfer",
|
|
1170
|
+
"name": "amount",
|
|
1171
|
+
"hasDynamicHelp": false,
|
|
1172
|
+
"multiple": false,
|
|
1173
|
+
"type": "option"
|
|
1174
|
+
},
|
|
1144
1175
|
"yes": {
|
|
1145
1176
|
"char": "y",
|
|
1146
1177
|
"description": "Skip confirmation prompt",
|
|
@@ -1151,7 +1182,7 @@
|
|
|
1151
1182
|
},
|
|
1152
1183
|
"hasDynamicHelp": false,
|
|
1153
1184
|
"hiddenAliases": [],
|
|
1154
|
-
"id": "
|
|
1185
|
+
"id": "credits:transfer",
|
|
1155
1186
|
"pluginAlias": "@sendly/cli",
|
|
1156
1187
|
"pluginName": "@sendly/cli",
|
|
1157
1188
|
"pluginType": "core",
|
|
@@ -1160,23 +1191,23 @@
|
|
|
1160
1191
|
"relativePath": [
|
|
1161
1192
|
"dist",
|
|
1162
1193
|
"commands",
|
|
1163
|
-
"
|
|
1164
|
-
"
|
|
1194
|
+
"credits",
|
|
1195
|
+
"transfer.js"
|
|
1165
1196
|
]
|
|
1166
1197
|
},
|
|
1167
|
-
"
|
|
1198
|
+
"conversations:close": {
|
|
1168
1199
|
"aliases": [],
|
|
1169
1200
|
"args": {
|
|
1170
1201
|
"id": {
|
|
1171
|
-
"description": "
|
|
1202
|
+
"description": "Conversation ID",
|
|
1172
1203
|
"name": "id",
|
|
1173
1204
|
"required": true
|
|
1174
1205
|
}
|
|
1175
1206
|
},
|
|
1176
|
-
"description": "
|
|
1207
|
+
"description": "Close a conversation",
|
|
1177
1208
|
"examples": [
|
|
1178
|
-
"<%= config.bin %>
|
|
1179
|
-
"<%= config.bin %>
|
|
1209
|
+
"<%= config.bin %> conversations close conv_abc123",
|
|
1210
|
+
"<%= config.bin %> conversations close conv_abc123 --json"
|
|
1180
1211
|
],
|
|
1181
1212
|
"flags": {
|
|
1182
1213
|
"json": {
|
|
@@ -1195,7 +1226,7 @@
|
|
|
1195
1226
|
},
|
|
1196
1227
|
"hasDynamicHelp": false,
|
|
1197
1228
|
"hiddenAliases": [],
|
|
1198
|
-
"id": "
|
|
1229
|
+
"id": "conversations:close",
|
|
1199
1230
|
"pluginAlias": "@sendly/cli",
|
|
1200
1231
|
"pluginName": "@sendly/cli",
|
|
1201
1232
|
"pluginType": "core",
|
|
@@ -1204,24 +1235,25 @@
|
|
|
1204
1235
|
"relativePath": [
|
|
1205
1236
|
"dist",
|
|
1206
1237
|
"commands",
|
|
1207
|
-
"
|
|
1208
|
-
"
|
|
1238
|
+
"conversations",
|
|
1239
|
+
"close.js"
|
|
1209
1240
|
]
|
|
1210
1241
|
},
|
|
1211
|
-
"
|
|
1242
|
+
"conversations:get": {
|
|
1212
1243
|
"aliases": [],
|
|
1213
1244
|
"args": {
|
|
1214
|
-
"
|
|
1215
|
-
"description": "
|
|
1216
|
-
"name": "
|
|
1245
|
+
"id": {
|
|
1246
|
+
"description": "Conversation ID",
|
|
1247
|
+
"name": "id",
|
|
1217
1248
|
"required": true
|
|
1218
1249
|
}
|
|
1219
1250
|
},
|
|
1220
|
-
"description": "
|
|
1251
|
+
"description": "Get details of a conversation",
|
|
1221
1252
|
"examples": [
|
|
1222
|
-
"<%= config.bin %>
|
|
1223
|
-
"<%= config.bin %>
|
|
1224
|
-
"<%= config.bin %>
|
|
1253
|
+
"<%= config.bin %> conversations get conv_abc123",
|
|
1254
|
+
"<%= config.bin %> conversations get conv_abc123 --messages",
|
|
1255
|
+
"<%= config.bin %> conversations get conv_abc123 --messages --limit 10",
|
|
1256
|
+
"<%= config.bin %> conversations get conv_abc123 --json"
|
|
1225
1257
|
],
|
|
1226
1258
|
"flags": {
|
|
1227
1259
|
"json": {
|
|
@@ -1237,10 +1269,18 @@
|
|
|
1237
1269
|
"allowNo": false,
|
|
1238
1270
|
"type": "boolean"
|
|
1239
1271
|
},
|
|
1240
|
-
"
|
|
1272
|
+
"messages": {
|
|
1273
|
+
"char": "m",
|
|
1274
|
+
"description": "Include message thread",
|
|
1275
|
+
"name": "messages",
|
|
1276
|
+
"allowNo": false,
|
|
1277
|
+
"type": "boolean"
|
|
1278
|
+
},
|
|
1279
|
+
"limit": {
|
|
1241
1280
|
"char": "l",
|
|
1242
|
-
"description": "
|
|
1243
|
-
"name": "
|
|
1281
|
+
"description": "Number of messages to include (requires --messages)",
|
|
1282
|
+
"name": "limit",
|
|
1283
|
+
"default": 50,
|
|
1244
1284
|
"hasDynamicHelp": false,
|
|
1245
1285
|
"multiple": false,
|
|
1246
1286
|
"type": "option"
|
|
@@ -1248,7 +1288,7 @@
|
|
|
1248
1288
|
},
|
|
1249
1289
|
"hasDynamicHelp": false,
|
|
1250
1290
|
"hiddenAliases": [],
|
|
1251
|
-
"id": "
|
|
1291
|
+
"id": "conversations:get",
|
|
1252
1292
|
"pluginAlias": "@sendly/cli",
|
|
1253
1293
|
"pluginName": "@sendly/cli",
|
|
1254
1294
|
"pluginType": "core",
|
|
@@ -1257,20 +1297,57 @@
|
|
|
1257
1297
|
"relativePath": [
|
|
1258
1298
|
"dist",
|
|
1259
1299
|
"commands",
|
|
1260
|
-
"
|
|
1261
|
-
"
|
|
1300
|
+
"conversations",
|
|
1301
|
+
"get.js"
|
|
1262
1302
|
]
|
|
1263
1303
|
},
|
|
1264
|
-
"
|
|
1304
|
+
"conversations": {
|
|
1265
1305
|
"aliases": [],
|
|
1266
1306
|
"args": {},
|
|
1267
|
-
"description": "List
|
|
1307
|
+
"description": "List conversations (default subcommand)",
|
|
1268
1308
|
"examples": [
|
|
1269
|
-
"<%= config.bin %>
|
|
1270
|
-
"<%= config.bin %>
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
"
|
|
1309
|
+
"<%= config.bin %> conversations",
|
|
1310
|
+
"<%= config.bin %> conversations --json"
|
|
1311
|
+
],
|
|
1312
|
+
"flags": {
|
|
1313
|
+
"json": {
|
|
1314
|
+
"description": "Output in JSON format",
|
|
1315
|
+
"name": "json",
|
|
1316
|
+
"allowNo": false,
|
|
1317
|
+
"type": "boolean"
|
|
1318
|
+
},
|
|
1319
|
+
"quiet": {
|
|
1320
|
+
"char": "q",
|
|
1321
|
+
"description": "Minimal output",
|
|
1322
|
+
"name": "quiet",
|
|
1323
|
+
"allowNo": false,
|
|
1324
|
+
"type": "boolean"
|
|
1325
|
+
}
|
|
1326
|
+
},
|
|
1327
|
+
"hasDynamicHelp": false,
|
|
1328
|
+
"hiddenAliases": [],
|
|
1329
|
+
"id": "conversations",
|
|
1330
|
+
"pluginAlias": "@sendly/cli",
|
|
1331
|
+
"pluginName": "@sendly/cli",
|
|
1332
|
+
"pluginType": "core",
|
|
1333
|
+
"strict": true,
|
|
1334
|
+
"isESM": true,
|
|
1335
|
+
"relativePath": [
|
|
1336
|
+
"dist",
|
|
1337
|
+
"commands",
|
|
1338
|
+
"conversations",
|
|
1339
|
+
"index.js"
|
|
1340
|
+
]
|
|
1341
|
+
},
|
|
1342
|
+
"conversations:list": {
|
|
1343
|
+
"aliases": [],
|
|
1344
|
+
"args": {},
|
|
1345
|
+
"description": "List conversations",
|
|
1346
|
+
"examples": [
|
|
1347
|
+
"<%= config.bin %> conversations list",
|
|
1348
|
+
"<%= config.bin %> conversations list --status active",
|
|
1349
|
+
"<%= config.bin %> conversations list --limit 10",
|
|
1350
|
+
"<%= config.bin %> conversations list --json"
|
|
1274
1351
|
],
|
|
1275
1352
|
"flags": {
|
|
1276
1353
|
"json": {
|
|
@@ -1288,40 +1365,36 @@
|
|
|
1288
1365
|
},
|
|
1289
1366
|
"limit": {
|
|
1290
1367
|
"char": "l",
|
|
1291
|
-
"description": "Number of
|
|
1368
|
+
"description": "Number of conversations per page",
|
|
1292
1369
|
"name": "limit",
|
|
1293
|
-
"default":
|
|
1370
|
+
"default": 20,
|
|
1294
1371
|
"hasDynamicHelp": false,
|
|
1295
1372
|
"multiple": false,
|
|
1296
1373
|
"type": "option"
|
|
1297
1374
|
},
|
|
1298
1375
|
"offset": {
|
|
1299
|
-
"description": "Offset
|
|
1376
|
+
"description": "Offset from start",
|
|
1300
1377
|
"name": "offset",
|
|
1301
|
-
"default": 0,
|
|
1302
1378
|
"hasDynamicHelp": false,
|
|
1303
1379
|
"multiple": false,
|
|
1304
1380
|
"type": "option"
|
|
1305
1381
|
},
|
|
1306
|
-
"
|
|
1382
|
+
"status": {
|
|
1307
1383
|
"char": "s",
|
|
1308
|
-
"description": "
|
|
1309
|
-
"name": "
|
|
1310
|
-
"hasDynamicHelp": false,
|
|
1311
|
-
"multiple": false,
|
|
1312
|
-
"type": "option"
|
|
1313
|
-
},
|
|
1314
|
-
"list": {
|
|
1315
|
-
"description": "Filter by contact list ID",
|
|
1316
|
-
"name": "list",
|
|
1384
|
+
"description": "Filter by status (active, closed)",
|
|
1385
|
+
"name": "status",
|
|
1317
1386
|
"hasDynamicHelp": false,
|
|
1318
1387
|
"multiple": false,
|
|
1388
|
+
"options": [
|
|
1389
|
+
"active",
|
|
1390
|
+
"closed"
|
|
1391
|
+
],
|
|
1319
1392
|
"type": "option"
|
|
1320
1393
|
}
|
|
1321
1394
|
},
|
|
1322
1395
|
"hasDynamicHelp": false,
|
|
1323
1396
|
"hiddenAliases": [],
|
|
1324
|
-
"id": "
|
|
1397
|
+
"id": "conversations:list",
|
|
1325
1398
|
"pluginAlias": "@sendly/cli",
|
|
1326
1399
|
"pluginName": "@sendly/cli",
|
|
1327
1400
|
"pluginType": "core",
|
|
@@ -1330,24 +1403,23 @@
|
|
|
1330
1403
|
"relativePath": [
|
|
1331
1404
|
"dist",
|
|
1332
1405
|
"commands",
|
|
1333
|
-
"
|
|
1406
|
+
"conversations",
|
|
1334
1407
|
"list.js"
|
|
1335
1408
|
]
|
|
1336
1409
|
},
|
|
1337
|
-
"
|
|
1410
|
+
"conversations:mark-read": {
|
|
1338
1411
|
"aliases": [],
|
|
1339
1412
|
"args": {
|
|
1340
1413
|
"id": {
|
|
1341
|
-
"description": "
|
|
1414
|
+
"description": "Conversation ID",
|
|
1342
1415
|
"name": "id",
|
|
1343
1416
|
"required": true
|
|
1344
1417
|
}
|
|
1345
1418
|
},
|
|
1346
|
-
"description": "
|
|
1419
|
+
"description": "Mark a conversation as read",
|
|
1347
1420
|
"examples": [
|
|
1348
|
-
"<%= config.bin %>
|
|
1349
|
-
"<%= config.bin %>
|
|
1350
|
-
"<%= config.bin %> contacts update cnt_xxx --name \"John\" --email john@example.com"
|
|
1421
|
+
"<%= config.bin %> conversations mark-read conv_abc123",
|
|
1422
|
+
"<%= config.bin %> conversations mark-read conv_abc123 --json"
|
|
1351
1423
|
],
|
|
1352
1424
|
"flags": {
|
|
1353
1425
|
"json": {
|
|
@@ -1362,27 +1434,11 @@
|
|
|
1362
1434
|
"name": "quiet",
|
|
1363
1435
|
"allowNo": false,
|
|
1364
1436
|
"type": "boolean"
|
|
1365
|
-
},
|
|
1366
|
-
"name": {
|
|
1367
|
-
"char": "n",
|
|
1368
|
-
"description": "Contact name",
|
|
1369
|
-
"name": "name",
|
|
1370
|
-
"hasDynamicHelp": false,
|
|
1371
|
-
"multiple": false,
|
|
1372
|
-
"type": "option"
|
|
1373
|
-
},
|
|
1374
|
-
"email": {
|
|
1375
|
-
"char": "e",
|
|
1376
|
-
"description": "Contact email",
|
|
1377
|
-
"name": "email",
|
|
1378
|
-
"hasDynamicHelp": false,
|
|
1379
|
-
"multiple": false,
|
|
1380
|
-
"type": "option"
|
|
1381
1437
|
}
|
|
1382
1438
|
},
|
|
1383
1439
|
"hasDynamicHelp": false,
|
|
1384
1440
|
"hiddenAliases": [],
|
|
1385
|
-
"id": "
|
|
1441
|
+
"id": "conversations:mark-read",
|
|
1386
1442
|
"pluginAlias": "@sendly/cli",
|
|
1387
1443
|
"pluginName": "@sendly/cli",
|
|
1388
1444
|
"pluginType": "core",
|
|
@@ -1391,17 +1447,23 @@
|
|
|
1391
1447
|
"relativePath": [
|
|
1392
1448
|
"dist",
|
|
1393
1449
|
"commands",
|
|
1394
|
-
"
|
|
1395
|
-
"
|
|
1450
|
+
"conversations",
|
|
1451
|
+
"mark-read.js"
|
|
1396
1452
|
]
|
|
1397
1453
|
},
|
|
1398
|
-
"
|
|
1454
|
+
"conversations:reopen": {
|
|
1399
1455
|
"aliases": [],
|
|
1400
|
-
"args": {
|
|
1401
|
-
|
|
1456
|
+
"args": {
|
|
1457
|
+
"id": {
|
|
1458
|
+
"description": "Conversation ID",
|
|
1459
|
+
"name": "id",
|
|
1460
|
+
"required": true
|
|
1461
|
+
}
|
|
1462
|
+
},
|
|
1463
|
+
"description": "Reopen a closed conversation",
|
|
1402
1464
|
"examples": [
|
|
1403
|
-
"<%= config.bin %>
|
|
1404
|
-
"<%= config.bin %>
|
|
1465
|
+
"<%= config.bin %> conversations reopen conv_abc123",
|
|
1466
|
+
"<%= config.bin %> conversations reopen conv_abc123 --json"
|
|
1405
1467
|
],
|
|
1406
1468
|
"flags": {
|
|
1407
1469
|
"json": {
|
|
@@ -1420,7 +1482,7 @@
|
|
|
1420
1482
|
},
|
|
1421
1483
|
"hasDynamicHelp": false,
|
|
1422
1484
|
"hiddenAliases": [],
|
|
1423
|
-
"id": "
|
|
1485
|
+
"id": "conversations:reopen",
|
|
1424
1486
|
"pluginAlias": "@sendly/cli",
|
|
1425
1487
|
"pluginName": "@sendly/cli",
|
|
1426
1488
|
"pluginType": "core",
|
|
@@ -1429,19 +1491,360 @@
|
|
|
1429
1491
|
"relativePath": [
|
|
1430
1492
|
"dist",
|
|
1431
1493
|
"commands",
|
|
1432
|
-
"
|
|
1433
|
-
"
|
|
1494
|
+
"conversations",
|
|
1495
|
+
"reopen.js"
|
|
1434
1496
|
]
|
|
1435
1497
|
},
|
|
1436
|
-
"
|
|
1498
|
+
"conversations:reply": {
|
|
1437
1499
|
"aliases": [],
|
|
1438
|
-
"args": {
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1500
|
+
"args": {
|
|
1501
|
+
"id": {
|
|
1502
|
+
"description": "Conversation ID",
|
|
1503
|
+
"name": "id",
|
|
1504
|
+
"required": true
|
|
1505
|
+
},
|
|
1506
|
+
"text": {
|
|
1507
|
+
"description": "Reply message text",
|
|
1508
|
+
"name": "text",
|
|
1509
|
+
"required": true
|
|
1510
|
+
}
|
|
1511
|
+
},
|
|
1512
|
+
"description": "Send a reply in a conversation",
|
|
1513
|
+
"examples": [
|
|
1514
|
+
"<%= config.bin %> conversations reply conv_abc123 \"Thanks for reaching out!\"",
|
|
1515
|
+
"<%= config.bin %> conversations reply conv_abc123 \"Got it\" --json"
|
|
1516
|
+
],
|
|
1517
|
+
"flags": {
|
|
1518
|
+
"json": {
|
|
1519
|
+
"description": "Output in JSON format",
|
|
1520
|
+
"name": "json",
|
|
1521
|
+
"allowNo": false,
|
|
1522
|
+
"type": "boolean"
|
|
1523
|
+
},
|
|
1524
|
+
"quiet": {
|
|
1525
|
+
"char": "q",
|
|
1526
|
+
"description": "Minimal output",
|
|
1527
|
+
"name": "quiet",
|
|
1528
|
+
"allowNo": false,
|
|
1529
|
+
"type": "boolean"
|
|
1530
|
+
}
|
|
1531
|
+
},
|
|
1532
|
+
"hasDynamicHelp": false,
|
|
1533
|
+
"hiddenAliases": [],
|
|
1534
|
+
"id": "conversations:reply",
|
|
1535
|
+
"pluginAlias": "@sendly/cli",
|
|
1536
|
+
"pluginName": "@sendly/cli",
|
|
1537
|
+
"pluginType": "core",
|
|
1538
|
+
"strict": true,
|
|
1539
|
+
"isESM": true,
|
|
1540
|
+
"relativePath": [
|
|
1541
|
+
"dist",
|
|
1542
|
+
"commands",
|
|
1543
|
+
"conversations",
|
|
1544
|
+
"reply.js"
|
|
1545
|
+
]
|
|
1546
|
+
},
|
|
1547
|
+
"contacts:create": {
|
|
1548
|
+
"aliases": [],
|
|
1549
|
+
"args": {},
|
|
1550
|
+
"description": "Create a new contact",
|
|
1551
|
+
"examples": [
|
|
1552
|
+
"<%= config.bin %> contacts create --phone +15551234567",
|
|
1553
|
+
"<%= config.bin %> contacts create --phone +15551234567 --name \"John Doe\"",
|
|
1554
|
+
"<%= config.bin %> contacts create --phone +15551234567 --name \"John\" --email john@example.com",
|
|
1555
|
+
"<%= config.bin %> contacts create --phone +15551234567 --json"
|
|
1556
|
+
],
|
|
1557
|
+
"flags": {
|
|
1558
|
+
"json": {
|
|
1559
|
+
"description": "Output in JSON format",
|
|
1560
|
+
"name": "json",
|
|
1561
|
+
"allowNo": false,
|
|
1562
|
+
"type": "boolean"
|
|
1563
|
+
},
|
|
1564
|
+
"quiet": {
|
|
1565
|
+
"char": "q",
|
|
1566
|
+
"description": "Minimal output",
|
|
1567
|
+
"name": "quiet",
|
|
1568
|
+
"allowNo": false,
|
|
1569
|
+
"type": "boolean"
|
|
1570
|
+
},
|
|
1571
|
+
"phone": {
|
|
1572
|
+
"char": "p",
|
|
1573
|
+
"description": "Phone number in E.164 format (e.g., +15551234567)",
|
|
1574
|
+
"name": "phone",
|
|
1575
|
+
"required": true,
|
|
1576
|
+
"hasDynamicHelp": false,
|
|
1577
|
+
"multiple": false,
|
|
1578
|
+
"type": "option"
|
|
1579
|
+
},
|
|
1580
|
+
"name": {
|
|
1581
|
+
"char": "n",
|
|
1582
|
+
"description": "Contact name",
|
|
1583
|
+
"name": "name",
|
|
1584
|
+
"hasDynamicHelp": false,
|
|
1585
|
+
"multiple": false,
|
|
1586
|
+
"type": "option"
|
|
1587
|
+
},
|
|
1588
|
+
"email": {
|
|
1589
|
+
"char": "e",
|
|
1590
|
+
"description": "Contact email",
|
|
1591
|
+
"name": "email",
|
|
1592
|
+
"hasDynamicHelp": false,
|
|
1593
|
+
"multiple": false,
|
|
1594
|
+
"type": "option"
|
|
1595
|
+
}
|
|
1596
|
+
},
|
|
1597
|
+
"hasDynamicHelp": false,
|
|
1598
|
+
"hiddenAliases": [],
|
|
1599
|
+
"id": "contacts:create",
|
|
1600
|
+
"pluginAlias": "@sendly/cli",
|
|
1601
|
+
"pluginName": "@sendly/cli",
|
|
1602
|
+
"pluginType": "core",
|
|
1603
|
+
"strict": true,
|
|
1604
|
+
"isESM": true,
|
|
1605
|
+
"relativePath": [
|
|
1606
|
+
"dist",
|
|
1607
|
+
"commands",
|
|
1608
|
+
"contacts",
|
|
1609
|
+
"create.js"
|
|
1610
|
+
]
|
|
1611
|
+
},
|
|
1612
|
+
"contacts:delete": {
|
|
1613
|
+
"aliases": [],
|
|
1614
|
+
"args": {
|
|
1615
|
+
"id": {
|
|
1616
|
+
"description": "Contact ID to delete",
|
|
1617
|
+
"name": "id",
|
|
1618
|
+
"required": true
|
|
1619
|
+
}
|
|
1620
|
+
},
|
|
1621
|
+
"description": "Delete a contact",
|
|
1622
|
+
"examples": [
|
|
1623
|
+
"<%= config.bin %> contacts delete cnt_xxx",
|
|
1624
|
+
"<%= config.bin %> contacts delete cnt_xxx --yes"
|
|
1625
|
+
],
|
|
1626
|
+
"flags": {
|
|
1627
|
+
"json": {
|
|
1628
|
+
"description": "Output in JSON format",
|
|
1629
|
+
"name": "json",
|
|
1630
|
+
"allowNo": false,
|
|
1631
|
+
"type": "boolean"
|
|
1632
|
+
},
|
|
1633
|
+
"quiet": {
|
|
1634
|
+
"char": "q",
|
|
1635
|
+
"description": "Minimal output",
|
|
1636
|
+
"name": "quiet",
|
|
1637
|
+
"allowNo": false,
|
|
1638
|
+
"type": "boolean"
|
|
1639
|
+
},
|
|
1640
|
+
"yes": {
|
|
1641
|
+
"char": "y",
|
|
1642
|
+
"description": "Skip confirmation prompt",
|
|
1643
|
+
"name": "yes",
|
|
1644
|
+
"allowNo": false,
|
|
1645
|
+
"type": "boolean"
|
|
1646
|
+
}
|
|
1647
|
+
},
|
|
1648
|
+
"hasDynamicHelp": false,
|
|
1649
|
+
"hiddenAliases": [],
|
|
1650
|
+
"id": "contacts:delete",
|
|
1651
|
+
"pluginAlias": "@sendly/cli",
|
|
1652
|
+
"pluginName": "@sendly/cli",
|
|
1653
|
+
"pluginType": "core",
|
|
1654
|
+
"strict": true,
|
|
1655
|
+
"isESM": true,
|
|
1656
|
+
"relativePath": [
|
|
1657
|
+
"dist",
|
|
1658
|
+
"commands",
|
|
1659
|
+
"contacts",
|
|
1660
|
+
"delete.js"
|
|
1661
|
+
]
|
|
1662
|
+
},
|
|
1663
|
+
"contacts:get": {
|
|
1664
|
+
"aliases": [],
|
|
1665
|
+
"args": {
|
|
1666
|
+
"id": {
|
|
1667
|
+
"description": "Contact ID",
|
|
1668
|
+
"name": "id",
|
|
1669
|
+
"required": true
|
|
1670
|
+
}
|
|
1671
|
+
},
|
|
1672
|
+
"description": "Get contact details",
|
|
1673
|
+
"examples": [
|
|
1674
|
+
"<%= config.bin %> contacts get cnt_xxx",
|
|
1675
|
+
"<%= config.bin %> contacts get cnt_xxx --json"
|
|
1676
|
+
],
|
|
1677
|
+
"flags": {
|
|
1678
|
+
"json": {
|
|
1679
|
+
"description": "Output in JSON format",
|
|
1680
|
+
"name": "json",
|
|
1681
|
+
"allowNo": false,
|
|
1682
|
+
"type": "boolean"
|
|
1683
|
+
},
|
|
1684
|
+
"quiet": {
|
|
1685
|
+
"char": "q",
|
|
1686
|
+
"description": "Minimal output",
|
|
1687
|
+
"name": "quiet",
|
|
1688
|
+
"allowNo": false,
|
|
1689
|
+
"type": "boolean"
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
"hasDynamicHelp": false,
|
|
1693
|
+
"hiddenAliases": [],
|
|
1694
|
+
"id": "contacts:get",
|
|
1695
|
+
"pluginAlias": "@sendly/cli",
|
|
1696
|
+
"pluginName": "@sendly/cli",
|
|
1697
|
+
"pluginType": "core",
|
|
1698
|
+
"strict": true,
|
|
1699
|
+
"isESM": true,
|
|
1700
|
+
"relativePath": [
|
|
1701
|
+
"dist",
|
|
1702
|
+
"commands",
|
|
1703
|
+
"contacts",
|
|
1704
|
+
"get.js"
|
|
1705
|
+
]
|
|
1706
|
+
},
|
|
1707
|
+
"contacts:import": {
|
|
1708
|
+
"aliases": [],
|
|
1709
|
+
"args": {
|
|
1710
|
+
"file": {
|
|
1711
|
+
"description": "Path to CSV file (columns: phone, name, email)",
|
|
1712
|
+
"name": "file",
|
|
1713
|
+
"required": true
|
|
1714
|
+
}
|
|
1715
|
+
},
|
|
1716
|
+
"description": "Import contacts from a CSV file",
|
|
1717
|
+
"examples": [
|
|
1718
|
+
"<%= config.bin %> contacts import contacts.csv",
|
|
1719
|
+
"<%= config.bin %> contacts import contacts.csv --list lst_xxx",
|
|
1720
|
+
"<%= config.bin %> contacts import contacts.csv --list lst_xxx --json"
|
|
1721
|
+
],
|
|
1722
|
+
"flags": {
|
|
1723
|
+
"json": {
|
|
1724
|
+
"description": "Output in JSON format",
|
|
1725
|
+
"name": "json",
|
|
1726
|
+
"allowNo": false,
|
|
1727
|
+
"type": "boolean"
|
|
1728
|
+
},
|
|
1729
|
+
"quiet": {
|
|
1730
|
+
"char": "q",
|
|
1731
|
+
"description": "Minimal output",
|
|
1732
|
+
"name": "quiet",
|
|
1733
|
+
"allowNo": false,
|
|
1734
|
+
"type": "boolean"
|
|
1735
|
+
},
|
|
1736
|
+
"list": {
|
|
1737
|
+
"char": "l",
|
|
1738
|
+
"description": "Contact list ID to add imported contacts to",
|
|
1739
|
+
"name": "list",
|
|
1740
|
+
"hasDynamicHelp": false,
|
|
1741
|
+
"multiple": false,
|
|
1742
|
+
"type": "option"
|
|
1743
|
+
}
|
|
1744
|
+
},
|
|
1745
|
+
"hasDynamicHelp": false,
|
|
1746
|
+
"hiddenAliases": [],
|
|
1747
|
+
"id": "contacts:import",
|
|
1748
|
+
"pluginAlias": "@sendly/cli",
|
|
1749
|
+
"pluginName": "@sendly/cli",
|
|
1750
|
+
"pluginType": "core",
|
|
1751
|
+
"strict": true,
|
|
1752
|
+
"isESM": true,
|
|
1753
|
+
"relativePath": [
|
|
1754
|
+
"dist",
|
|
1755
|
+
"commands",
|
|
1756
|
+
"contacts",
|
|
1757
|
+
"import.js"
|
|
1758
|
+
]
|
|
1759
|
+
},
|
|
1760
|
+
"contacts:list": {
|
|
1761
|
+
"aliases": [],
|
|
1762
|
+
"args": {},
|
|
1763
|
+
"description": "List contacts",
|
|
1764
|
+
"examples": [
|
|
1765
|
+
"<%= config.bin %> contacts list",
|
|
1766
|
+
"<%= config.bin %> contacts list --search john",
|
|
1767
|
+
"<%= config.bin %> contacts list --list lst_xxx",
|
|
1768
|
+
"<%= config.bin %> contacts list --limit 50",
|
|
1769
|
+
"<%= config.bin %> contacts list --json"
|
|
1770
|
+
],
|
|
1771
|
+
"flags": {
|
|
1772
|
+
"json": {
|
|
1773
|
+
"description": "Output in JSON format",
|
|
1774
|
+
"name": "json",
|
|
1775
|
+
"allowNo": false,
|
|
1776
|
+
"type": "boolean"
|
|
1777
|
+
},
|
|
1778
|
+
"quiet": {
|
|
1779
|
+
"char": "q",
|
|
1780
|
+
"description": "Minimal output",
|
|
1781
|
+
"name": "quiet",
|
|
1782
|
+
"allowNo": false,
|
|
1783
|
+
"type": "boolean"
|
|
1784
|
+
},
|
|
1785
|
+
"limit": {
|
|
1786
|
+
"char": "l",
|
|
1787
|
+
"description": "Number of contacts to show",
|
|
1788
|
+
"name": "limit",
|
|
1789
|
+
"default": 50,
|
|
1790
|
+
"hasDynamicHelp": false,
|
|
1791
|
+
"multiple": false,
|
|
1792
|
+
"type": "option"
|
|
1793
|
+
},
|
|
1794
|
+
"offset": {
|
|
1795
|
+
"description": "Offset for pagination",
|
|
1796
|
+
"name": "offset",
|
|
1797
|
+
"default": 0,
|
|
1798
|
+
"hasDynamicHelp": false,
|
|
1799
|
+
"multiple": false,
|
|
1800
|
+
"type": "option"
|
|
1801
|
+
},
|
|
1802
|
+
"search": {
|
|
1803
|
+
"char": "s",
|
|
1804
|
+
"description": "Search by name, phone, or email",
|
|
1805
|
+
"name": "search",
|
|
1806
|
+
"hasDynamicHelp": false,
|
|
1807
|
+
"multiple": false,
|
|
1808
|
+
"type": "option"
|
|
1809
|
+
},
|
|
1810
|
+
"list": {
|
|
1811
|
+
"description": "Filter by contact list ID",
|
|
1812
|
+
"name": "list",
|
|
1813
|
+
"hasDynamicHelp": false,
|
|
1814
|
+
"multiple": false,
|
|
1815
|
+
"type": "option"
|
|
1816
|
+
}
|
|
1817
|
+
},
|
|
1818
|
+
"hasDynamicHelp": false,
|
|
1819
|
+
"hiddenAliases": [],
|
|
1820
|
+
"id": "contacts:list",
|
|
1821
|
+
"pluginAlias": "@sendly/cli",
|
|
1822
|
+
"pluginName": "@sendly/cli",
|
|
1823
|
+
"pluginType": "core",
|
|
1824
|
+
"strict": true,
|
|
1825
|
+
"isESM": true,
|
|
1826
|
+
"relativePath": [
|
|
1827
|
+
"dist",
|
|
1828
|
+
"commands",
|
|
1829
|
+
"contacts",
|
|
1830
|
+
"list.js"
|
|
1831
|
+
]
|
|
1832
|
+
},
|
|
1833
|
+
"contacts:update": {
|
|
1834
|
+
"aliases": [],
|
|
1835
|
+
"args": {
|
|
1836
|
+
"id": {
|
|
1837
|
+
"description": "Contact ID",
|
|
1838
|
+
"name": "id",
|
|
1839
|
+
"required": true
|
|
1840
|
+
}
|
|
1841
|
+
},
|
|
1842
|
+
"description": "Update a contact",
|
|
1843
|
+
"examples": [
|
|
1844
|
+
"<%= config.bin %> contacts update cnt_xxx --name \"John Doe\"",
|
|
1845
|
+
"<%= config.bin %> contacts update cnt_xxx --email john@example.com",
|
|
1846
|
+
"<%= config.bin %> contacts update cnt_xxx --name \"John\" --email john@example.com"
|
|
1847
|
+
],
|
|
1445
1848
|
"flags": {
|
|
1446
1849
|
"json": {
|
|
1447
1850
|
"description": "Output in JSON format",
|
|
@@ -1456,11 +1859,18 @@
|
|
|
1456
1859
|
"allowNo": false,
|
|
1457
1860
|
"type": "boolean"
|
|
1458
1861
|
},
|
|
1459
|
-
"
|
|
1460
|
-
"char": "
|
|
1461
|
-
"description": "
|
|
1462
|
-
"name": "
|
|
1463
|
-
"
|
|
1862
|
+
"name": {
|
|
1863
|
+
"char": "n",
|
|
1864
|
+
"description": "Contact name",
|
|
1865
|
+
"name": "name",
|
|
1866
|
+
"hasDynamicHelp": false,
|
|
1867
|
+
"multiple": false,
|
|
1868
|
+
"type": "option"
|
|
1869
|
+
},
|
|
1870
|
+
"email": {
|
|
1871
|
+
"char": "e",
|
|
1872
|
+
"description": "Contact email",
|
|
1873
|
+
"name": "email",
|
|
1464
1874
|
"hasDynamicHelp": false,
|
|
1465
1875
|
"multiple": false,
|
|
1466
1876
|
"type": "option"
|
|
@@ -1468,7 +1878,7 @@
|
|
|
1468
1878
|
},
|
|
1469
1879
|
"hasDynamicHelp": false,
|
|
1470
1880
|
"hiddenAliases": [],
|
|
1471
|
-
"id": "
|
|
1881
|
+
"id": "contacts:update",
|
|
1472
1882
|
"pluginAlias": "@sendly/cli",
|
|
1473
1883
|
"pluginName": "@sendly/cli",
|
|
1474
1884
|
"pluginType": "core",
|
|
@@ -1477,18 +1887,110 @@
|
|
|
1477
1887
|
"relativePath": [
|
|
1478
1888
|
"dist",
|
|
1479
1889
|
"commands",
|
|
1480
|
-
"
|
|
1481
|
-
"
|
|
1890
|
+
"contacts",
|
|
1891
|
+
"update.js"
|
|
1482
1892
|
]
|
|
1483
1893
|
},
|
|
1484
|
-
"
|
|
1894
|
+
"drafts:approve": {
|
|
1895
|
+
"aliases": [],
|
|
1896
|
+
"args": {
|
|
1897
|
+
"id": {
|
|
1898
|
+
"description": "Draft ID",
|
|
1899
|
+
"name": "id",
|
|
1900
|
+
"required": true
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
"description": "Approve a draft and send it",
|
|
1904
|
+
"examples": [
|
|
1905
|
+
"<%= config.bin %> drafts approve draft_abc123",
|
|
1906
|
+
"<%= config.bin %> drafts approve draft_abc123 --json"
|
|
1907
|
+
],
|
|
1908
|
+
"flags": {
|
|
1909
|
+
"json": {
|
|
1910
|
+
"description": "Output in JSON format",
|
|
1911
|
+
"name": "json",
|
|
1912
|
+
"allowNo": false,
|
|
1913
|
+
"type": "boolean"
|
|
1914
|
+
},
|
|
1915
|
+
"quiet": {
|
|
1916
|
+
"char": "q",
|
|
1917
|
+
"description": "Minimal output",
|
|
1918
|
+
"name": "quiet",
|
|
1919
|
+
"allowNo": false,
|
|
1920
|
+
"type": "boolean"
|
|
1921
|
+
}
|
|
1922
|
+
},
|
|
1923
|
+
"hasDynamicHelp": false,
|
|
1924
|
+
"hiddenAliases": [],
|
|
1925
|
+
"id": "drafts:approve",
|
|
1926
|
+
"pluginAlias": "@sendly/cli",
|
|
1927
|
+
"pluginName": "@sendly/cli",
|
|
1928
|
+
"pluginType": "core",
|
|
1929
|
+
"strict": true,
|
|
1930
|
+
"isESM": true,
|
|
1931
|
+
"relativePath": [
|
|
1932
|
+
"dist",
|
|
1933
|
+
"commands",
|
|
1934
|
+
"drafts",
|
|
1935
|
+
"approve.js"
|
|
1936
|
+
]
|
|
1937
|
+
},
|
|
1938
|
+
"drafts:create": {
|
|
1939
|
+
"aliases": [],
|
|
1940
|
+
"args": {
|
|
1941
|
+
"conversation-id": {
|
|
1942
|
+
"description": "Conversation ID",
|
|
1943
|
+
"name": "conversation-id",
|
|
1944
|
+
"required": true
|
|
1945
|
+
},
|
|
1946
|
+
"text": {
|
|
1947
|
+
"description": "Draft message text",
|
|
1948
|
+
"name": "text",
|
|
1949
|
+
"required": true
|
|
1950
|
+
}
|
|
1951
|
+
},
|
|
1952
|
+
"description": "Create a draft reply in a conversation",
|
|
1953
|
+
"examples": [
|
|
1954
|
+
"<%= config.bin %> drafts create conv_abc123 \"Thanks for reaching out!\"",
|
|
1955
|
+
"<%= config.bin %> drafts create conv_abc123 \"We will look into this\" --json"
|
|
1956
|
+
],
|
|
1957
|
+
"flags": {
|
|
1958
|
+
"json": {
|
|
1959
|
+
"description": "Output in JSON format",
|
|
1960
|
+
"name": "json",
|
|
1961
|
+
"allowNo": false,
|
|
1962
|
+
"type": "boolean"
|
|
1963
|
+
},
|
|
1964
|
+
"quiet": {
|
|
1965
|
+
"char": "q",
|
|
1966
|
+
"description": "Minimal output",
|
|
1967
|
+
"name": "quiet",
|
|
1968
|
+
"allowNo": false,
|
|
1969
|
+
"type": "boolean"
|
|
1970
|
+
}
|
|
1971
|
+
},
|
|
1972
|
+
"hasDynamicHelp": false,
|
|
1973
|
+
"hiddenAliases": [],
|
|
1974
|
+
"id": "drafts:create",
|
|
1975
|
+
"pluginAlias": "@sendly/cli",
|
|
1976
|
+
"pluginName": "@sendly/cli",
|
|
1977
|
+
"pluginType": "core",
|
|
1978
|
+
"strict": true,
|
|
1979
|
+
"isESM": true,
|
|
1980
|
+
"relativePath": [
|
|
1981
|
+
"dist",
|
|
1982
|
+
"commands",
|
|
1983
|
+
"drafts",
|
|
1984
|
+
"create.js"
|
|
1985
|
+
]
|
|
1986
|
+
},
|
|
1987
|
+
"drafts": {
|
|
1485
1988
|
"aliases": [],
|
|
1486
1989
|
"args": {},
|
|
1487
|
-
"description": "
|
|
1990
|
+
"description": "List pending drafts (default subcommand)",
|
|
1488
1991
|
"examples": [
|
|
1489
|
-
"<%= config.bin %>
|
|
1490
|
-
"<%= config.bin %>
|
|
1491
|
-
"<%= config.bin %> credits transfer --to org_abc123 --amount 500 --yes"
|
|
1992
|
+
"<%= config.bin %> drafts",
|
|
1993
|
+
"<%= config.bin %> drafts --json"
|
|
1492
1994
|
],
|
|
1493
1995
|
"flags": {
|
|
1494
1996
|
"json": {
|
|
@@ -1503,33 +2005,124 @@
|
|
|
1503
2005
|
"name": "quiet",
|
|
1504
2006
|
"allowNo": false,
|
|
1505
2007
|
"type": "boolean"
|
|
2008
|
+
}
|
|
2009
|
+
},
|
|
2010
|
+
"hasDynamicHelp": false,
|
|
2011
|
+
"hiddenAliases": [],
|
|
2012
|
+
"id": "drafts",
|
|
2013
|
+
"pluginAlias": "@sendly/cli",
|
|
2014
|
+
"pluginName": "@sendly/cli",
|
|
2015
|
+
"pluginType": "core",
|
|
2016
|
+
"strict": true,
|
|
2017
|
+
"isESM": true,
|
|
2018
|
+
"relativePath": [
|
|
2019
|
+
"dist",
|
|
2020
|
+
"commands",
|
|
2021
|
+
"drafts",
|
|
2022
|
+
"index.js"
|
|
2023
|
+
]
|
|
2024
|
+
},
|
|
2025
|
+
"drafts:list": {
|
|
2026
|
+
"aliases": [],
|
|
2027
|
+
"args": {},
|
|
2028
|
+
"description": "List drafts",
|
|
2029
|
+
"examples": [
|
|
2030
|
+
"<%= config.bin %> drafts list",
|
|
2031
|
+
"<%= config.bin %> drafts list --status pending",
|
|
2032
|
+
"<%= config.bin %> drafts list --conversation-id conv_abc123",
|
|
2033
|
+
"<%= config.bin %> drafts list --json"
|
|
2034
|
+
],
|
|
2035
|
+
"flags": {
|
|
2036
|
+
"json": {
|
|
2037
|
+
"description": "Output in JSON format",
|
|
2038
|
+
"name": "json",
|
|
2039
|
+
"allowNo": false,
|
|
2040
|
+
"type": "boolean"
|
|
1506
2041
|
},
|
|
1507
|
-
"
|
|
1508
|
-
"
|
|
1509
|
-
"
|
|
2042
|
+
"quiet": {
|
|
2043
|
+
"char": "q",
|
|
2044
|
+
"description": "Minimal output",
|
|
2045
|
+
"name": "quiet",
|
|
2046
|
+
"allowNo": false,
|
|
2047
|
+
"type": "boolean"
|
|
2048
|
+
},
|
|
2049
|
+
"conversation-id": {
|
|
2050
|
+
"description": "Filter by conversation ID",
|
|
2051
|
+
"name": "conversation-id",
|
|
1510
2052
|
"hasDynamicHelp": false,
|
|
1511
2053
|
"multiple": false,
|
|
1512
2054
|
"type": "option"
|
|
1513
2055
|
},
|
|
1514
|
-
"
|
|
1515
|
-
"char": "
|
|
1516
|
-
"description": "
|
|
1517
|
-
"name": "
|
|
2056
|
+
"status": {
|
|
2057
|
+
"char": "s",
|
|
2058
|
+
"description": "Filter by status (pending, approved, rejected)",
|
|
2059
|
+
"name": "status",
|
|
1518
2060
|
"hasDynamicHelp": false,
|
|
1519
2061
|
"multiple": false,
|
|
2062
|
+
"options": [
|
|
2063
|
+
"pending",
|
|
2064
|
+
"approved",
|
|
2065
|
+
"rejected"
|
|
2066
|
+
],
|
|
1520
2067
|
"type": "option"
|
|
2068
|
+
}
|
|
2069
|
+
},
|
|
2070
|
+
"hasDynamicHelp": false,
|
|
2071
|
+
"hiddenAliases": [],
|
|
2072
|
+
"id": "drafts:list",
|
|
2073
|
+
"pluginAlias": "@sendly/cli",
|
|
2074
|
+
"pluginName": "@sendly/cli",
|
|
2075
|
+
"pluginType": "core",
|
|
2076
|
+
"strict": true,
|
|
2077
|
+
"isESM": true,
|
|
2078
|
+
"relativePath": [
|
|
2079
|
+
"dist",
|
|
2080
|
+
"commands",
|
|
2081
|
+
"drafts",
|
|
2082
|
+
"list.js"
|
|
2083
|
+
]
|
|
2084
|
+
},
|
|
2085
|
+
"drafts:reject": {
|
|
2086
|
+
"aliases": [],
|
|
2087
|
+
"args": {
|
|
2088
|
+
"id": {
|
|
2089
|
+
"description": "Draft ID",
|
|
2090
|
+
"name": "id",
|
|
2091
|
+
"required": true
|
|
2092
|
+
}
|
|
2093
|
+
},
|
|
2094
|
+
"description": "Reject a draft",
|
|
2095
|
+
"examples": [
|
|
2096
|
+
"<%= config.bin %> drafts reject draft_abc123",
|
|
2097
|
+
"<%= config.bin %> drafts reject draft_abc123 --reason \"Tone is too informal\"",
|
|
2098
|
+
"<%= config.bin %> drafts reject draft_abc123 --json"
|
|
2099
|
+
],
|
|
2100
|
+
"flags": {
|
|
2101
|
+
"json": {
|
|
2102
|
+
"description": "Output in JSON format",
|
|
2103
|
+
"name": "json",
|
|
2104
|
+
"allowNo": false,
|
|
2105
|
+
"type": "boolean"
|
|
1521
2106
|
},
|
|
1522
|
-
"
|
|
1523
|
-
"char": "
|
|
1524
|
-
"description": "
|
|
1525
|
-
"name": "
|
|
2107
|
+
"quiet": {
|
|
2108
|
+
"char": "q",
|
|
2109
|
+
"description": "Minimal output",
|
|
2110
|
+
"name": "quiet",
|
|
1526
2111
|
"allowNo": false,
|
|
1527
2112
|
"type": "boolean"
|
|
2113
|
+
},
|
|
2114
|
+
"reason": {
|
|
2115
|
+
"char": "r",
|
|
2116
|
+
"description": "Reason for rejection",
|
|
2117
|
+
"name": "reason",
|
|
2118
|
+
"hasDynamicHelp": false,
|
|
2119
|
+
"multiple": false,
|
|
2120
|
+
"type": "option"
|
|
1528
2121
|
}
|
|
1529
2122
|
},
|
|
1530
2123
|
"hasDynamicHelp": false,
|
|
1531
2124
|
"hiddenAliases": [],
|
|
1532
|
-
"id": "
|
|
2125
|
+
"id": "drafts:reject",
|
|
1533
2126
|
"pluginAlias": "@sendly/cli",
|
|
1534
2127
|
"pluginName": "@sendly/cli",
|
|
1535
2128
|
"pluginType": "core",
|
|
@@ -1538,8 +2131,8 @@
|
|
|
1538
2131
|
"relativePath": [
|
|
1539
2132
|
"dist",
|
|
1540
2133
|
"commands",
|
|
1541
|
-
"
|
|
1542
|
-
"
|
|
2134
|
+
"drafts",
|
|
2135
|
+
"reject.js"
|
|
1543
2136
|
]
|
|
1544
2137
|
},
|
|
1545
2138
|
"enterprise:billing": {
|
|
@@ -2192,6 +2785,188 @@
|
|
|
2192
2785
|
"usage.js"
|
|
2193
2786
|
]
|
|
2194
2787
|
},
|
|
2788
|
+
"labels:create": {
|
|
2789
|
+
"aliases": [],
|
|
2790
|
+
"args": {
|
|
2791
|
+
"name": {
|
|
2792
|
+
"description": "Label name",
|
|
2793
|
+
"name": "name",
|
|
2794
|
+
"required": true
|
|
2795
|
+
}
|
|
2796
|
+
},
|
|
2797
|
+
"description": "Create a label",
|
|
2798
|
+
"examples": [
|
|
2799
|
+
"<%= config.bin %> labels create \"VIP\"",
|
|
2800
|
+
"<%= config.bin %> labels create \"Urgent\" --color \"#FF0000\"",
|
|
2801
|
+
"<%= config.bin %> labels create \"Support\" --color \"#0000FF\" --description \"Support tickets\"",
|
|
2802
|
+
"<%= config.bin %> labels create \"VIP\" --json"
|
|
2803
|
+
],
|
|
2804
|
+
"flags": {
|
|
2805
|
+
"json": {
|
|
2806
|
+
"description": "Output in JSON format",
|
|
2807
|
+
"name": "json",
|
|
2808
|
+
"allowNo": false,
|
|
2809
|
+
"type": "boolean"
|
|
2810
|
+
},
|
|
2811
|
+
"quiet": {
|
|
2812
|
+
"char": "q",
|
|
2813
|
+
"description": "Minimal output",
|
|
2814
|
+
"name": "quiet",
|
|
2815
|
+
"allowNo": false,
|
|
2816
|
+
"type": "boolean"
|
|
2817
|
+
},
|
|
2818
|
+
"color": {
|
|
2819
|
+
"char": "c",
|
|
2820
|
+
"description": "Label color (hex, e.g. #FF0000)",
|
|
2821
|
+
"name": "color",
|
|
2822
|
+
"hasDynamicHelp": false,
|
|
2823
|
+
"multiple": false,
|
|
2824
|
+
"type": "option"
|
|
2825
|
+
},
|
|
2826
|
+
"description": {
|
|
2827
|
+
"char": "d",
|
|
2828
|
+
"description": "Label description",
|
|
2829
|
+
"name": "description",
|
|
2830
|
+
"hasDynamicHelp": false,
|
|
2831
|
+
"multiple": false,
|
|
2832
|
+
"type": "option"
|
|
2833
|
+
}
|
|
2834
|
+
},
|
|
2835
|
+
"hasDynamicHelp": false,
|
|
2836
|
+
"hiddenAliases": [],
|
|
2837
|
+
"id": "labels:create",
|
|
2838
|
+
"pluginAlias": "@sendly/cli",
|
|
2839
|
+
"pluginName": "@sendly/cli",
|
|
2840
|
+
"pluginType": "core",
|
|
2841
|
+
"strict": true,
|
|
2842
|
+
"isESM": true,
|
|
2843
|
+
"relativePath": [
|
|
2844
|
+
"dist",
|
|
2845
|
+
"commands",
|
|
2846
|
+
"labels",
|
|
2847
|
+
"create.js"
|
|
2848
|
+
]
|
|
2849
|
+
},
|
|
2850
|
+
"labels:delete": {
|
|
2851
|
+
"aliases": [],
|
|
2852
|
+
"args": {
|
|
2853
|
+
"id": {
|
|
2854
|
+
"description": "Label ID",
|
|
2855
|
+
"name": "id",
|
|
2856
|
+
"required": true
|
|
2857
|
+
}
|
|
2858
|
+
},
|
|
2859
|
+
"description": "Delete a label",
|
|
2860
|
+
"examples": [
|
|
2861
|
+
"<%= config.bin %> labels delete lbl_abc123",
|
|
2862
|
+
"<%= config.bin %> labels delete lbl_abc123 --json"
|
|
2863
|
+
],
|
|
2864
|
+
"flags": {
|
|
2865
|
+
"json": {
|
|
2866
|
+
"description": "Output in JSON format",
|
|
2867
|
+
"name": "json",
|
|
2868
|
+
"allowNo": false,
|
|
2869
|
+
"type": "boolean"
|
|
2870
|
+
},
|
|
2871
|
+
"quiet": {
|
|
2872
|
+
"char": "q",
|
|
2873
|
+
"description": "Minimal output",
|
|
2874
|
+
"name": "quiet",
|
|
2875
|
+
"allowNo": false,
|
|
2876
|
+
"type": "boolean"
|
|
2877
|
+
}
|
|
2878
|
+
},
|
|
2879
|
+
"hasDynamicHelp": false,
|
|
2880
|
+
"hiddenAliases": [],
|
|
2881
|
+
"id": "labels:delete",
|
|
2882
|
+
"pluginAlias": "@sendly/cli",
|
|
2883
|
+
"pluginName": "@sendly/cli",
|
|
2884
|
+
"pluginType": "core",
|
|
2885
|
+
"strict": true,
|
|
2886
|
+
"isESM": true,
|
|
2887
|
+
"relativePath": [
|
|
2888
|
+
"dist",
|
|
2889
|
+
"commands",
|
|
2890
|
+
"labels",
|
|
2891
|
+
"delete.js"
|
|
2892
|
+
]
|
|
2893
|
+
},
|
|
2894
|
+
"labels": {
|
|
2895
|
+
"aliases": [],
|
|
2896
|
+
"args": {},
|
|
2897
|
+
"description": "List labels (default subcommand)",
|
|
2898
|
+
"examples": [
|
|
2899
|
+
"<%= config.bin %> labels",
|
|
2900
|
+
"<%= config.bin %> labels --json"
|
|
2901
|
+
],
|
|
2902
|
+
"flags": {
|
|
2903
|
+
"json": {
|
|
2904
|
+
"description": "Output in JSON format",
|
|
2905
|
+
"name": "json",
|
|
2906
|
+
"allowNo": false,
|
|
2907
|
+
"type": "boolean"
|
|
2908
|
+
},
|
|
2909
|
+
"quiet": {
|
|
2910
|
+
"char": "q",
|
|
2911
|
+
"description": "Minimal output",
|
|
2912
|
+
"name": "quiet",
|
|
2913
|
+
"allowNo": false,
|
|
2914
|
+
"type": "boolean"
|
|
2915
|
+
}
|
|
2916
|
+
},
|
|
2917
|
+
"hasDynamicHelp": false,
|
|
2918
|
+
"hiddenAliases": [],
|
|
2919
|
+
"id": "labels",
|
|
2920
|
+
"pluginAlias": "@sendly/cli",
|
|
2921
|
+
"pluginName": "@sendly/cli",
|
|
2922
|
+
"pluginType": "core",
|
|
2923
|
+
"strict": true,
|
|
2924
|
+
"isESM": true,
|
|
2925
|
+
"relativePath": [
|
|
2926
|
+
"dist",
|
|
2927
|
+
"commands",
|
|
2928
|
+
"labels",
|
|
2929
|
+
"index.js"
|
|
2930
|
+
]
|
|
2931
|
+
},
|
|
2932
|
+
"labels:list": {
|
|
2933
|
+
"aliases": [],
|
|
2934
|
+
"args": {},
|
|
2935
|
+
"description": "List labels",
|
|
2936
|
+
"examples": [
|
|
2937
|
+
"<%= config.bin %> labels list",
|
|
2938
|
+
"<%= config.bin %> labels list --json"
|
|
2939
|
+
],
|
|
2940
|
+
"flags": {
|
|
2941
|
+
"json": {
|
|
2942
|
+
"description": "Output in JSON format",
|
|
2943
|
+
"name": "json",
|
|
2944
|
+
"allowNo": false,
|
|
2945
|
+
"type": "boolean"
|
|
2946
|
+
},
|
|
2947
|
+
"quiet": {
|
|
2948
|
+
"char": "q",
|
|
2949
|
+
"description": "Minimal output",
|
|
2950
|
+
"name": "quiet",
|
|
2951
|
+
"allowNo": false,
|
|
2952
|
+
"type": "boolean"
|
|
2953
|
+
}
|
|
2954
|
+
},
|
|
2955
|
+
"hasDynamicHelp": false,
|
|
2956
|
+
"hiddenAliases": [],
|
|
2957
|
+
"id": "labels:list",
|
|
2958
|
+
"pluginAlias": "@sendly/cli",
|
|
2959
|
+
"pluginName": "@sendly/cli",
|
|
2960
|
+
"pluginType": "core",
|
|
2961
|
+
"strict": true,
|
|
2962
|
+
"isESM": true,
|
|
2963
|
+
"relativePath": [
|
|
2964
|
+
"dist",
|
|
2965
|
+
"commands",
|
|
2966
|
+
"labels",
|
|
2967
|
+
"list.js"
|
|
2968
|
+
]
|
|
2969
|
+
},
|
|
2195
2970
|
"logs:tail": {
|
|
2196
2971
|
"aliases": [],
|
|
2197
2972
|
"args": {},
|
|
@@ -2781,13 +3556,19 @@
|
|
|
2781
3556
|
"send.js"
|
|
2782
3557
|
]
|
|
2783
3558
|
},
|
|
2784
|
-
"
|
|
3559
|
+
"verify:check": {
|
|
2785
3560
|
"aliases": [],
|
|
2786
|
-
"args": {
|
|
2787
|
-
|
|
3561
|
+
"args": {
|
|
3562
|
+
"id": {
|
|
3563
|
+
"description": "Verification ID",
|
|
3564
|
+
"name": "id",
|
|
3565
|
+
"required": true
|
|
3566
|
+
}
|
|
3567
|
+
},
|
|
3568
|
+
"description": "Verify an OTP code",
|
|
2788
3569
|
"examples": [
|
|
2789
|
-
"<%= config.bin %>
|
|
2790
|
-
"<%= config.bin %>
|
|
3570
|
+
"<%= config.bin %> verify check ver_xxx --code 123456",
|
|
3571
|
+
"<%= config.bin %> verify check ver_xxx -c 123456"
|
|
2791
3572
|
],
|
|
2792
3573
|
"flags": {
|
|
2793
3574
|
"json": {
|
|
@@ -2803,27 +3584,19 @@
|
|
|
2803
3584
|
"allowNo": false,
|
|
2804
3585
|
"type": "boolean"
|
|
2805
3586
|
},
|
|
2806
|
-
"
|
|
2807
|
-
"char": "
|
|
2808
|
-
"description": "
|
|
2809
|
-
"name": "
|
|
3587
|
+
"code": {
|
|
3588
|
+
"char": "c",
|
|
3589
|
+
"description": "The OTP code to verify",
|
|
3590
|
+
"name": "code",
|
|
2810
3591
|
"required": true,
|
|
2811
3592
|
"hasDynamicHelp": false,
|
|
2812
3593
|
"multiple": false,
|
|
2813
3594
|
"type": "option"
|
|
2814
|
-
},
|
|
2815
|
-
"description": {
|
|
2816
|
-
"char": "d",
|
|
2817
|
-
"description": "Team description",
|
|
2818
|
-
"name": "description",
|
|
2819
|
-
"hasDynamicHelp": false,
|
|
2820
|
-
"multiple": false,
|
|
2821
|
-
"type": "option"
|
|
2822
3595
|
}
|
|
2823
3596
|
},
|
|
2824
3597
|
"hasDynamicHelp": false,
|
|
2825
3598
|
"hiddenAliases": [],
|
|
2826
|
-
"id": "
|
|
3599
|
+
"id": "verify:check",
|
|
2827
3600
|
"pluginAlias": "@sendly/cli",
|
|
2828
3601
|
"pluginName": "@sendly/cli",
|
|
2829
3602
|
"pluginType": "core",
|
|
@@ -2832,17 +3605,20 @@
|
|
|
2832
3605
|
"relativePath": [
|
|
2833
3606
|
"dist",
|
|
2834
3607
|
"commands",
|
|
2835
|
-
"
|
|
2836
|
-
"
|
|
3608
|
+
"verify",
|
|
3609
|
+
"check.js"
|
|
2837
3610
|
]
|
|
2838
3611
|
},
|
|
2839
|
-
"
|
|
3612
|
+
"verify:list": {
|
|
2840
3613
|
"aliases": [],
|
|
2841
3614
|
"args": {},
|
|
2842
|
-
"description": "
|
|
3615
|
+
"description": "List recent verifications",
|
|
2843
3616
|
"examples": [
|
|
2844
|
-
"<%= config.bin %>
|
|
2845
|
-
"<%= config.bin %>
|
|
3617
|
+
"<%= config.bin %> verify list",
|
|
3618
|
+
"<%= config.bin %> verify list --limit 10",
|
|
3619
|
+
"<%= config.bin %> verify list --page 2",
|
|
3620
|
+
"<%= config.bin %> verify list --status verified",
|
|
3621
|
+
"<%= config.bin %> verify list --json"
|
|
2846
3622
|
],
|
|
2847
3623
|
"flags": {
|
|
2848
3624
|
"json": {
|
|
@@ -2857,69 +3633,43 @@
|
|
|
2857
3633
|
"name": "quiet",
|
|
2858
3634
|
"allowNo": false,
|
|
2859
3635
|
"type": "boolean"
|
|
2860
|
-
}
|
|
2861
|
-
},
|
|
2862
|
-
"hasDynamicHelp": false,
|
|
2863
|
-
"hiddenAliases": [],
|
|
2864
|
-
"id": "teams:current",
|
|
2865
|
-
"pluginAlias": "@sendly/cli",
|
|
2866
|
-
"pluginName": "@sendly/cli",
|
|
2867
|
-
"pluginType": "core",
|
|
2868
|
-
"strict": true,
|
|
2869
|
-
"isESM": true,
|
|
2870
|
-
"relativePath": [
|
|
2871
|
-
"dist",
|
|
2872
|
-
"commands",
|
|
2873
|
-
"teams",
|
|
2874
|
-
"current.js"
|
|
2875
|
-
]
|
|
2876
|
-
},
|
|
2877
|
-
"teams:invite": {
|
|
2878
|
-
"aliases": [],
|
|
2879
|
-
"args": {
|
|
2880
|
-
"email": {
|
|
2881
|
-
"description": "Email address to invite",
|
|
2882
|
-
"name": "email",
|
|
2883
|
-
"required": true
|
|
2884
|
-
}
|
|
2885
|
-
},
|
|
2886
|
-
"description": "Invite a member to the current team",
|
|
2887
|
-
"examples": [
|
|
2888
|
-
"<%= config.bin %> teams invite user@example.com",
|
|
2889
|
-
"<%= config.bin %> teams invite user@example.com --role admin"
|
|
2890
|
-
],
|
|
2891
|
-
"flags": {
|
|
2892
|
-
"json": {
|
|
2893
|
-
"description": "Output in JSON format",
|
|
2894
|
-
"name": "json",
|
|
2895
|
-
"allowNo": false,
|
|
2896
|
-
"type": "boolean"
|
|
2897
3636
|
},
|
|
2898
|
-
"
|
|
2899
|
-
"char": "
|
|
2900
|
-
"description": "
|
|
2901
|
-
"name": "
|
|
2902
|
-
"
|
|
2903
|
-
"
|
|
3637
|
+
"limit": {
|
|
3638
|
+
"char": "l",
|
|
3639
|
+
"description": "Number of verifications per page",
|
|
3640
|
+
"name": "limit",
|
|
3641
|
+
"default": 20,
|
|
3642
|
+
"hasDynamicHelp": false,
|
|
3643
|
+
"multiple": false,
|
|
3644
|
+
"type": "option"
|
|
3645
|
+
},
|
|
3646
|
+
"page": {
|
|
3647
|
+
"char": "p",
|
|
3648
|
+
"description": "Page number (starts at 1)",
|
|
3649
|
+
"name": "page",
|
|
3650
|
+
"hasDynamicHelp": false,
|
|
3651
|
+
"multiple": false,
|
|
3652
|
+
"type": "option"
|
|
2904
3653
|
},
|
|
2905
|
-
"
|
|
2906
|
-
"
|
|
2907
|
-
"
|
|
2908
|
-
"
|
|
2909
|
-
"
|
|
3654
|
+
"offset": {
|
|
3655
|
+
"description": "Offset from start (alternative to --page)",
|
|
3656
|
+
"name": "offset",
|
|
3657
|
+
"hasDynamicHelp": false,
|
|
3658
|
+
"multiple": false,
|
|
3659
|
+
"type": "option"
|
|
3660
|
+
},
|
|
3661
|
+
"status": {
|
|
3662
|
+
"char": "s",
|
|
3663
|
+
"description": "Filter by status (pending, verified, expired, failed)",
|
|
3664
|
+
"name": "status",
|
|
2910
3665
|
"hasDynamicHelp": false,
|
|
2911
3666
|
"multiple": false,
|
|
2912
|
-
"options": [
|
|
2913
|
-
"admin",
|
|
2914
|
-
"member",
|
|
2915
|
-
"viewer"
|
|
2916
|
-
],
|
|
2917
3667
|
"type": "option"
|
|
2918
3668
|
}
|
|
2919
3669
|
},
|
|
2920
3670
|
"hasDynamicHelp": false,
|
|
2921
3671
|
"hiddenAliases": [],
|
|
2922
|
-
"id": "
|
|
3672
|
+
"id": "verify:list",
|
|
2923
3673
|
"pluginAlias": "@sendly/cli",
|
|
2924
3674
|
"pluginName": "@sendly/cli",
|
|
2925
3675
|
"pluginType": "core",
|
|
@@ -2928,17 +3678,23 @@
|
|
|
2928
3678
|
"relativePath": [
|
|
2929
3679
|
"dist",
|
|
2930
3680
|
"commands",
|
|
2931
|
-
"
|
|
2932
|
-
"
|
|
3681
|
+
"verify",
|
|
3682
|
+
"list.js"
|
|
2933
3683
|
]
|
|
2934
3684
|
},
|
|
2935
|
-
"
|
|
3685
|
+
"verify:resend": {
|
|
2936
3686
|
"aliases": [],
|
|
2937
|
-
"args": {
|
|
2938
|
-
|
|
3687
|
+
"args": {
|
|
3688
|
+
"id": {
|
|
3689
|
+
"description": "Verification ID",
|
|
3690
|
+
"name": "id",
|
|
3691
|
+
"required": true
|
|
3692
|
+
}
|
|
3693
|
+
},
|
|
3694
|
+
"description": "Resend an OTP verification code",
|
|
2939
3695
|
"examples": [
|
|
2940
|
-
"<%= config.bin %>
|
|
2941
|
-
"<%= config.bin %>
|
|
3696
|
+
"<%= config.bin %> verify resend ver_xxx",
|
|
3697
|
+
"<%= config.bin %> verify resend ver_xxx --json"
|
|
2942
3698
|
],
|
|
2943
3699
|
"flags": {
|
|
2944
3700
|
"json": {
|
|
@@ -2957,7 +3713,7 @@
|
|
|
2957
3713
|
},
|
|
2958
3714
|
"hasDynamicHelp": false,
|
|
2959
3715
|
"hiddenAliases": [],
|
|
2960
|
-
"id": "
|
|
3716
|
+
"id": "verify:resend",
|
|
2961
3717
|
"pluginAlias": "@sendly/cli",
|
|
2962
3718
|
"pluginName": "@sendly/cli",
|
|
2963
3719
|
"pluginType": "core",
|
|
@@ -2966,17 +3722,20 @@
|
|
|
2966
3722
|
"relativePath": [
|
|
2967
3723
|
"dist",
|
|
2968
3724
|
"commands",
|
|
2969
|
-
"
|
|
2970
|
-
"
|
|
3725
|
+
"verify",
|
|
3726
|
+
"resend.js"
|
|
2971
3727
|
]
|
|
2972
3728
|
},
|
|
2973
|
-
"
|
|
3729
|
+
"verify:send": {
|
|
2974
3730
|
"aliases": [],
|
|
2975
3731
|
"args": {},
|
|
2976
|
-
"description": "
|
|
3732
|
+
"description": "Send an OTP verification code",
|
|
2977
3733
|
"examples": [
|
|
2978
|
-
"<%= config.bin %>
|
|
2979
|
-
"<%= config.bin %>
|
|
3734
|
+
"<%= config.bin %> verify send --to \"+1234567890\"",
|
|
3735
|
+
"<%= config.bin %> verify send --to \"+1234567890\" --app-name \"MyApp\"",
|
|
3736
|
+
"<%= config.bin %> verify send --to \"+1234567890\" --template tpl_preset_2fa",
|
|
3737
|
+
"<%= config.bin %> verify send --to \"+1234567890\" --profile vp_xxx",
|
|
3738
|
+
"<%= config.bin %> verify send --to \"+1234567890\" --code-length 8 --timeout 120"
|
|
2980
3739
|
],
|
|
2981
3740
|
"flags": {
|
|
2982
3741
|
"json": {
|
|
@@ -2991,11 +3750,57 @@
|
|
|
2991
3750
|
"name": "quiet",
|
|
2992
3751
|
"allowNo": false,
|
|
2993
3752
|
"type": "boolean"
|
|
3753
|
+
},
|
|
3754
|
+
"to": {
|
|
3755
|
+
"char": "t",
|
|
3756
|
+
"description": "Recipient phone number (E.164 format)",
|
|
3757
|
+
"name": "to",
|
|
3758
|
+
"required": true,
|
|
3759
|
+
"hasDynamicHelp": false,
|
|
3760
|
+
"multiple": false,
|
|
3761
|
+
"type": "option"
|
|
3762
|
+
},
|
|
3763
|
+
"app-name": {
|
|
3764
|
+
"char": "a",
|
|
3765
|
+
"description": "App name shown in message (defaults to your business name)",
|
|
3766
|
+
"name": "app-name",
|
|
3767
|
+
"hasDynamicHelp": false,
|
|
3768
|
+
"multiple": false,
|
|
3769
|
+
"type": "option"
|
|
3770
|
+
},
|
|
3771
|
+
"template": {
|
|
3772
|
+
"description": "Template ID to use (defaults to tpl_preset_otp)",
|
|
3773
|
+
"name": "template",
|
|
3774
|
+
"hasDynamicHelp": false,
|
|
3775
|
+
"multiple": false,
|
|
3776
|
+
"type": "option"
|
|
3777
|
+
},
|
|
3778
|
+
"profile": {
|
|
3779
|
+
"char": "p",
|
|
3780
|
+
"description": "Verify profile ID for preconfigured settings",
|
|
3781
|
+
"name": "profile",
|
|
3782
|
+
"hasDynamicHelp": false,
|
|
3783
|
+
"multiple": false,
|
|
3784
|
+
"type": "option"
|
|
3785
|
+
},
|
|
3786
|
+
"code-length": {
|
|
3787
|
+
"description": "Length of OTP code (4-10, default: 6)",
|
|
3788
|
+
"name": "code-length",
|
|
3789
|
+
"hasDynamicHelp": false,
|
|
3790
|
+
"multiple": false,
|
|
3791
|
+
"type": "option"
|
|
3792
|
+
},
|
|
3793
|
+
"timeout": {
|
|
3794
|
+
"description": "Code validity in seconds (60-3600, default: 300)",
|
|
3795
|
+
"name": "timeout",
|
|
3796
|
+
"hasDynamicHelp": false,
|
|
3797
|
+
"multiple": false,
|
|
3798
|
+
"type": "option"
|
|
2994
3799
|
}
|
|
2995
3800
|
},
|
|
2996
3801
|
"hasDynamicHelp": false,
|
|
2997
3802
|
"hiddenAliases": [],
|
|
2998
|
-
"id": "
|
|
3803
|
+
"id": "verify:send",
|
|
2999
3804
|
"pluginAlias": "@sendly/cli",
|
|
3000
3805
|
"pluginName": "@sendly/cli",
|
|
3001
3806
|
"pluginType": "core",
|
|
@@ -3004,24 +3809,23 @@
|
|
|
3004
3809
|
"relativePath": [
|
|
3005
3810
|
"dist",
|
|
3006
3811
|
"commands",
|
|
3007
|
-
"
|
|
3008
|
-
"
|
|
3812
|
+
"verify",
|
|
3813
|
+
"send.js"
|
|
3009
3814
|
]
|
|
3010
3815
|
},
|
|
3011
|
-
"
|
|
3816
|
+
"verify:status": {
|
|
3012
3817
|
"aliases": [],
|
|
3013
3818
|
"args": {
|
|
3014
|
-
"
|
|
3015
|
-
"description": "
|
|
3016
|
-
"name": "
|
|
3017
|
-
"required":
|
|
3819
|
+
"id": {
|
|
3820
|
+
"description": "Verification ID",
|
|
3821
|
+
"name": "id",
|
|
3822
|
+
"required": true
|
|
3018
3823
|
}
|
|
3019
3824
|
},
|
|
3020
|
-
"description": "
|
|
3825
|
+
"description": "Get verification status",
|
|
3021
3826
|
"examples": [
|
|
3022
|
-
"<%= config.bin %>
|
|
3023
|
-
"<%= config.bin %>
|
|
3024
|
-
"<%= config.bin %> teams switch --clear"
|
|
3827
|
+
"<%= config.bin %> verify status ver_xxx",
|
|
3828
|
+
"<%= config.bin %> verify status ver_xxx --json"
|
|
3025
3829
|
],
|
|
3026
3830
|
"flags": {
|
|
3027
3831
|
"json": {
|
|
@@ -3040,7 +3844,7 @@
|
|
|
3040
3844
|
},
|
|
3041
3845
|
"hasDynamicHelp": false,
|
|
3042
3846
|
"hiddenAliases": [],
|
|
3043
|
-
"id": "
|
|
3847
|
+
"id": "verify:status",
|
|
3044
3848
|
"pluginAlias": "@sendly/cli",
|
|
3045
3849
|
"pluginName": "@sendly/cli",
|
|
3046
3850
|
"pluginType": "core",
|
|
@@ -3049,24 +3853,17 @@
|
|
|
3049
3853
|
"relativePath": [
|
|
3050
3854
|
"dist",
|
|
3051
3855
|
"commands",
|
|
3052
|
-
"
|
|
3053
|
-
"
|
|
3856
|
+
"verify",
|
|
3857
|
+
"status.js"
|
|
3054
3858
|
]
|
|
3055
3859
|
},
|
|
3056
|
-
"
|
|
3860
|
+
"teams:create": {
|
|
3057
3861
|
"aliases": [],
|
|
3058
|
-
"args": {
|
|
3059
|
-
|
|
3060
|
-
"description": "Template ID to clone",
|
|
3061
|
-
"name": "id",
|
|
3062
|
-
"required": true
|
|
3063
|
-
}
|
|
3064
|
-
},
|
|
3065
|
-
"description": "Clone a template",
|
|
3862
|
+
"args": {},
|
|
3863
|
+
"description": "Create a new team",
|
|
3066
3864
|
"examples": [
|
|
3067
|
-
"<%= config.bin %>
|
|
3068
|
-
"<%= config.bin %>
|
|
3069
|
-
"<%= config.bin %> templates clone tpl_xxx --json"
|
|
3865
|
+
"<%= config.bin %> teams create --name \"Acme Corp\"",
|
|
3866
|
+
"<%= config.bin %> teams create --name \"Acme Corp\" --description \"Our main team\""
|
|
3070
3867
|
],
|
|
3071
3868
|
"flags": {
|
|
3072
3869
|
"json": {
|
|
@@ -3084,8 +3881,17 @@
|
|
|
3084
3881
|
},
|
|
3085
3882
|
"name": {
|
|
3086
3883
|
"char": "n",
|
|
3087
|
-
"description": "
|
|
3884
|
+
"description": "Team name",
|
|
3088
3885
|
"name": "name",
|
|
3886
|
+
"required": true,
|
|
3887
|
+
"hasDynamicHelp": false,
|
|
3888
|
+
"multiple": false,
|
|
3889
|
+
"type": "option"
|
|
3890
|
+
},
|
|
3891
|
+
"description": {
|
|
3892
|
+
"char": "d",
|
|
3893
|
+
"description": "Team description",
|
|
3894
|
+
"name": "description",
|
|
3089
3895
|
"hasDynamicHelp": false,
|
|
3090
3896
|
"multiple": false,
|
|
3091
3897
|
"type": "option"
|
|
@@ -3093,7 +3899,7 @@
|
|
|
3093
3899
|
},
|
|
3094
3900
|
"hasDynamicHelp": false,
|
|
3095
3901
|
"hiddenAliases": [],
|
|
3096
|
-
"id": "
|
|
3902
|
+
"id": "teams:create",
|
|
3097
3903
|
"pluginAlias": "@sendly/cli",
|
|
3098
3904
|
"pluginName": "@sendly/cli",
|
|
3099
3905
|
"pluginType": "core",
|
|
@@ -3102,17 +3908,17 @@
|
|
|
3102
3908
|
"relativePath": [
|
|
3103
3909
|
"dist",
|
|
3104
3910
|
"commands",
|
|
3105
|
-
"
|
|
3106
|
-
"
|
|
3911
|
+
"teams",
|
|
3912
|
+
"create.js"
|
|
3107
3913
|
]
|
|
3108
3914
|
},
|
|
3109
|
-
"
|
|
3915
|
+
"teams:current": {
|
|
3110
3916
|
"aliases": [],
|
|
3111
3917
|
"args": {},
|
|
3112
|
-
"description": "
|
|
3918
|
+
"description": "Show the currently active team",
|
|
3113
3919
|
"examples": [
|
|
3114
|
-
"<%= config.bin %>
|
|
3115
|
-
"<%= config.bin %>
|
|
3920
|
+
"<%= config.bin %> teams current",
|
|
3921
|
+
"<%= config.bin %> teams current --json"
|
|
3116
3922
|
],
|
|
3117
3923
|
"flags": {
|
|
3118
3924
|
"json": {
|
|
@@ -3127,29 +3933,11 @@
|
|
|
3127
3933
|
"name": "quiet",
|
|
3128
3934
|
"allowNo": false,
|
|
3129
3935
|
"type": "boolean"
|
|
3130
|
-
},
|
|
3131
|
-
"name": {
|
|
3132
|
-
"char": "n",
|
|
3133
|
-
"description": "Template name",
|
|
3134
|
-
"name": "name",
|
|
3135
|
-
"required": true,
|
|
3136
|
-
"hasDynamicHelp": false,
|
|
3137
|
-
"multiple": false,
|
|
3138
|
-
"type": "option"
|
|
3139
|
-
},
|
|
3140
|
-
"text": {
|
|
3141
|
-
"char": "t",
|
|
3142
|
-
"description": "Message text (use {{code}} and {{app_name}} variables)",
|
|
3143
|
-
"name": "text",
|
|
3144
|
-
"required": true,
|
|
3145
|
-
"hasDynamicHelp": false,
|
|
3146
|
-
"multiple": false,
|
|
3147
|
-
"type": "option"
|
|
3148
3936
|
}
|
|
3149
3937
|
},
|
|
3150
3938
|
"hasDynamicHelp": false,
|
|
3151
3939
|
"hiddenAliases": [],
|
|
3152
|
-
"id": "
|
|
3940
|
+
"id": "teams:current",
|
|
3153
3941
|
"pluginAlias": "@sendly/cli",
|
|
3154
3942
|
"pluginName": "@sendly/cli",
|
|
3155
3943
|
"pluginType": "core",
|
|
@@ -3158,23 +3946,23 @@
|
|
|
3158
3946
|
"relativePath": [
|
|
3159
3947
|
"dist",
|
|
3160
3948
|
"commands",
|
|
3161
|
-
"
|
|
3162
|
-
"
|
|
3949
|
+
"teams",
|
|
3950
|
+
"current.js"
|
|
3163
3951
|
]
|
|
3164
3952
|
},
|
|
3165
|
-
"
|
|
3953
|
+
"teams:invite": {
|
|
3166
3954
|
"aliases": [],
|
|
3167
3955
|
"args": {
|
|
3168
|
-
"
|
|
3169
|
-
"description": "
|
|
3170
|
-
"name": "
|
|
3956
|
+
"email": {
|
|
3957
|
+
"description": "Email address to invite",
|
|
3958
|
+
"name": "email",
|
|
3171
3959
|
"required": true
|
|
3172
3960
|
}
|
|
3173
3961
|
},
|
|
3174
|
-
"description": "
|
|
3962
|
+
"description": "Invite a member to the current team",
|
|
3175
3963
|
"examples": [
|
|
3176
|
-
"<%= config.bin %>
|
|
3177
|
-
"<%= config.bin %>
|
|
3964
|
+
"<%= config.bin %> teams invite user@example.com",
|
|
3965
|
+
"<%= config.bin %> teams invite user@example.com --role admin"
|
|
3178
3966
|
],
|
|
3179
3967
|
"flags": {
|
|
3180
3968
|
"json": {
|
|
@@ -3190,17 +3978,24 @@
|
|
|
3190
3978
|
"allowNo": false,
|
|
3191
3979
|
"type": "boolean"
|
|
3192
3980
|
},
|
|
3193
|
-
"
|
|
3194
|
-
"char": "
|
|
3195
|
-
"description": "
|
|
3196
|
-
"name": "
|
|
3197
|
-
"
|
|
3198
|
-
"
|
|
3981
|
+
"role": {
|
|
3982
|
+
"char": "r",
|
|
3983
|
+
"description": "Role to assign (admin, member, viewer)",
|
|
3984
|
+
"name": "role",
|
|
3985
|
+
"default": "member",
|
|
3986
|
+
"hasDynamicHelp": false,
|
|
3987
|
+
"multiple": false,
|
|
3988
|
+
"options": [
|
|
3989
|
+
"admin",
|
|
3990
|
+
"member",
|
|
3991
|
+
"viewer"
|
|
3992
|
+
],
|
|
3993
|
+
"type": "option"
|
|
3199
3994
|
}
|
|
3200
3995
|
},
|
|
3201
3996
|
"hasDynamicHelp": false,
|
|
3202
3997
|
"hiddenAliases": [],
|
|
3203
|
-
"id": "
|
|
3998
|
+
"id": "teams:invite",
|
|
3204
3999
|
"pluginAlias": "@sendly/cli",
|
|
3205
4000
|
"pluginName": "@sendly/cli",
|
|
3206
4001
|
"pluginType": "core",
|
|
@@ -3209,23 +4004,17 @@
|
|
|
3209
4004
|
"relativePath": [
|
|
3210
4005
|
"dist",
|
|
3211
4006
|
"commands",
|
|
3212
|
-
"
|
|
3213
|
-
"
|
|
3214
|
-
]
|
|
3215
|
-
},
|
|
3216
|
-
"
|
|
3217
|
-
"aliases": [],
|
|
3218
|
-
"args": {
|
|
3219
|
-
|
|
3220
|
-
"description": "Template ID",
|
|
3221
|
-
"name": "id",
|
|
3222
|
-
"required": true
|
|
3223
|
-
}
|
|
3224
|
-
},
|
|
3225
|
-
"description": "Get template details",
|
|
4007
|
+
"teams",
|
|
4008
|
+
"invite.js"
|
|
4009
|
+
]
|
|
4010
|
+
},
|
|
4011
|
+
"teams:list": {
|
|
4012
|
+
"aliases": [],
|
|
4013
|
+
"args": {},
|
|
4014
|
+
"description": "List your teams",
|
|
3226
4015
|
"examples": [
|
|
3227
|
-
"<%= config.bin %>
|
|
3228
|
-
"<%= config.bin %>
|
|
4016
|
+
"<%= config.bin %> teams list",
|
|
4017
|
+
"<%= config.bin %> teams list --json"
|
|
3229
4018
|
],
|
|
3230
4019
|
"flags": {
|
|
3231
4020
|
"json": {
|
|
@@ -3244,7 +4033,7 @@
|
|
|
3244
4033
|
},
|
|
3245
4034
|
"hasDynamicHelp": false,
|
|
3246
4035
|
"hiddenAliases": [],
|
|
3247
|
-
"id": "
|
|
4036
|
+
"id": "teams:list",
|
|
3248
4037
|
"pluginAlias": "@sendly/cli",
|
|
3249
4038
|
"pluginName": "@sendly/cli",
|
|
3250
4039
|
"pluginType": "core",
|
|
@@ -3253,17 +4042,17 @@
|
|
|
3253
4042
|
"relativePath": [
|
|
3254
4043
|
"dist",
|
|
3255
4044
|
"commands",
|
|
3256
|
-
"
|
|
3257
|
-
"
|
|
4045
|
+
"teams",
|
|
4046
|
+
"list.js"
|
|
3258
4047
|
]
|
|
3259
4048
|
},
|
|
3260
|
-
"
|
|
4049
|
+
"teams:members": {
|
|
3261
4050
|
"aliases": [],
|
|
3262
4051
|
"args": {},
|
|
3263
|
-
"description": "List
|
|
4052
|
+
"description": "List members of the current team",
|
|
3264
4053
|
"examples": [
|
|
3265
|
-
"<%= config.bin %>
|
|
3266
|
-
"<%= config.bin %>
|
|
4054
|
+
"<%= config.bin %> teams members",
|
|
4055
|
+
"<%= config.bin %> teams members --json"
|
|
3267
4056
|
],
|
|
3268
4057
|
"flags": {
|
|
3269
4058
|
"json": {
|
|
@@ -3282,7 +4071,7 @@
|
|
|
3282
4071
|
},
|
|
3283
4072
|
"hasDynamicHelp": false,
|
|
3284
4073
|
"hiddenAliases": [],
|
|
3285
|
-
"id": "
|
|
4074
|
+
"id": "teams:members",
|
|
3286
4075
|
"pluginAlias": "@sendly/cli",
|
|
3287
4076
|
"pluginName": "@sendly/cli",
|
|
3288
4077
|
"pluginType": "core",
|
|
@@ -3291,17 +4080,24 @@
|
|
|
3291
4080
|
"relativePath": [
|
|
3292
4081
|
"dist",
|
|
3293
4082
|
"commands",
|
|
3294
|
-
"
|
|
3295
|
-
"
|
|
4083
|
+
"teams",
|
|
4084
|
+
"members.js"
|
|
3296
4085
|
]
|
|
3297
4086
|
},
|
|
3298
|
-
"
|
|
4087
|
+
"teams:switch": {
|
|
3299
4088
|
"aliases": [],
|
|
3300
|
-
"args": {
|
|
3301
|
-
|
|
4089
|
+
"args": {
|
|
4090
|
+
"org": {
|
|
4091
|
+
"description": "Organization ID or slug to switch to",
|
|
4092
|
+
"name": "org",
|
|
4093
|
+
"required": false
|
|
4094
|
+
}
|
|
4095
|
+
},
|
|
4096
|
+
"description": "Switch the active team",
|
|
3302
4097
|
"examples": [
|
|
3303
|
-
"<%= config.bin %>
|
|
3304
|
-
"<%= config.bin %>
|
|
4098
|
+
"<%= config.bin %> teams switch",
|
|
4099
|
+
"<%= config.bin %> teams switch <org-id-or-slug>",
|
|
4100
|
+
"<%= config.bin %> teams switch --clear"
|
|
3305
4101
|
],
|
|
3306
4102
|
"flags": {
|
|
3307
4103
|
"json": {
|
|
@@ -3320,7 +4116,7 @@
|
|
|
3320
4116
|
},
|
|
3321
4117
|
"hasDynamicHelp": false,
|
|
3322
4118
|
"hiddenAliases": [],
|
|
3323
|
-
"id": "
|
|
4119
|
+
"id": "teams:switch",
|
|
3324
4120
|
"pluginAlias": "@sendly/cli",
|
|
3325
4121
|
"pluginName": "@sendly/cli",
|
|
3326
4122
|
"pluginType": "core",
|
|
@@ -3329,22 +4125,24 @@
|
|
|
3329
4125
|
"relativePath": [
|
|
3330
4126
|
"dist",
|
|
3331
4127
|
"commands",
|
|
3332
|
-
"
|
|
3333
|
-
"
|
|
4128
|
+
"teams",
|
|
4129
|
+
"switch.js"
|
|
3334
4130
|
]
|
|
3335
4131
|
},
|
|
3336
|
-
"templates:
|
|
4132
|
+
"templates:clone": {
|
|
3337
4133
|
"aliases": [],
|
|
3338
4134
|
"args": {
|
|
3339
4135
|
"id": {
|
|
3340
|
-
"description": "Template ID",
|
|
4136
|
+
"description": "Template ID to clone",
|
|
3341
4137
|
"name": "id",
|
|
3342
4138
|
"required": true
|
|
3343
4139
|
}
|
|
3344
4140
|
},
|
|
3345
|
-
"description": "
|
|
4141
|
+
"description": "Clone a template",
|
|
3346
4142
|
"examples": [
|
|
3347
|
-
"<%= config.bin %> templates
|
|
4143
|
+
"<%= config.bin %> templates clone tpl_preset_otp",
|
|
4144
|
+
"<%= config.bin %> templates clone tpl_preset_otp --name \"My Custom OTP\"",
|
|
4145
|
+
"<%= config.bin %> templates clone tpl_xxx --json"
|
|
3348
4146
|
],
|
|
3349
4147
|
"flags": {
|
|
3350
4148
|
"json": {
|
|
@@ -3359,11 +4157,19 @@
|
|
|
3359
4157
|
"name": "quiet",
|
|
3360
4158
|
"allowNo": false,
|
|
3361
4159
|
"type": "boolean"
|
|
4160
|
+
},
|
|
4161
|
+
"name": {
|
|
4162
|
+
"char": "n",
|
|
4163
|
+
"description": "Name for the cloned template",
|
|
4164
|
+
"name": "name",
|
|
4165
|
+
"hasDynamicHelp": false,
|
|
4166
|
+
"multiple": false,
|
|
4167
|
+
"type": "option"
|
|
3362
4168
|
}
|
|
3363
4169
|
},
|
|
3364
4170
|
"hasDynamicHelp": false,
|
|
3365
4171
|
"hiddenAliases": [],
|
|
3366
|
-
"id": "templates:
|
|
4172
|
+
"id": "templates:clone",
|
|
3367
4173
|
"pluginAlias": "@sendly/cli",
|
|
3368
4174
|
"pluginName": "@sendly/cli",
|
|
3369
4175
|
"pluginType": "core",
|
|
@@ -3373,22 +4179,16 @@
|
|
|
3373
4179
|
"dist",
|
|
3374
4180
|
"commands",
|
|
3375
4181
|
"templates",
|
|
3376
|
-
"
|
|
4182
|
+
"clone.js"
|
|
3377
4183
|
]
|
|
3378
4184
|
},
|
|
3379
|
-
"
|
|
4185
|
+
"templates:create": {
|
|
3380
4186
|
"aliases": [],
|
|
3381
|
-
"args": {
|
|
3382
|
-
|
|
3383
|
-
"description": "Verification ID",
|
|
3384
|
-
"name": "id",
|
|
3385
|
-
"required": true
|
|
3386
|
-
}
|
|
3387
|
-
},
|
|
3388
|
-
"description": "Verify an OTP code",
|
|
4187
|
+
"args": {},
|
|
4188
|
+
"description": "Create a new SMS template",
|
|
3389
4189
|
"examples": [
|
|
3390
|
-
"<%= config.bin %>
|
|
3391
|
-
"<%= config.bin %>
|
|
4190
|
+
"<%= config.bin %> templates create --name \"My OTP\" --text \"Your code is {{code}}\"",
|
|
4191
|
+
"<%= config.bin %> templates create --name \"Login\" --text \"{{code}} is your {{app_name}} login code\""
|
|
3392
4192
|
],
|
|
3393
4193
|
"flags": {
|
|
3394
4194
|
"json": {
|
|
@@ -3404,10 +4204,19 @@
|
|
|
3404
4204
|
"allowNo": false,
|
|
3405
4205
|
"type": "boolean"
|
|
3406
4206
|
},
|
|
3407
|
-
"
|
|
3408
|
-
"char": "
|
|
3409
|
-
"description": "
|
|
3410
|
-
"name": "
|
|
4207
|
+
"name": {
|
|
4208
|
+
"char": "n",
|
|
4209
|
+
"description": "Template name",
|
|
4210
|
+
"name": "name",
|
|
4211
|
+
"required": true,
|
|
4212
|
+
"hasDynamicHelp": false,
|
|
4213
|
+
"multiple": false,
|
|
4214
|
+
"type": "option"
|
|
4215
|
+
},
|
|
4216
|
+
"text": {
|
|
4217
|
+
"char": "t",
|
|
4218
|
+
"description": "Message text (use {{code}} and {{app_name}} variables)",
|
|
4219
|
+
"name": "text",
|
|
3411
4220
|
"required": true,
|
|
3412
4221
|
"hasDynamicHelp": false,
|
|
3413
4222
|
"multiple": false,
|
|
@@ -3416,7 +4225,7 @@
|
|
|
3416
4225
|
},
|
|
3417
4226
|
"hasDynamicHelp": false,
|
|
3418
4227
|
"hiddenAliases": [],
|
|
3419
|
-
"id": "
|
|
4228
|
+
"id": "templates:create",
|
|
3420
4229
|
"pluginAlias": "@sendly/cli",
|
|
3421
4230
|
"pluginName": "@sendly/cli",
|
|
3422
4231
|
"pluginType": "core",
|
|
@@ -3425,20 +4234,23 @@
|
|
|
3425
4234
|
"relativePath": [
|
|
3426
4235
|
"dist",
|
|
3427
4236
|
"commands",
|
|
3428
|
-
"
|
|
3429
|
-
"
|
|
4237
|
+
"templates",
|
|
4238
|
+
"create.js"
|
|
3430
4239
|
]
|
|
3431
4240
|
},
|
|
3432
|
-
"
|
|
4241
|
+
"templates:delete": {
|
|
3433
4242
|
"aliases": [],
|
|
3434
|
-
"args": {
|
|
3435
|
-
|
|
4243
|
+
"args": {
|
|
4244
|
+
"id": {
|
|
4245
|
+
"description": "Template ID",
|
|
4246
|
+
"name": "id",
|
|
4247
|
+
"required": true
|
|
4248
|
+
}
|
|
4249
|
+
},
|
|
4250
|
+
"description": "Delete a template",
|
|
3436
4251
|
"examples": [
|
|
3437
|
-
"<%= config.bin %>
|
|
3438
|
-
"<%= config.bin %>
|
|
3439
|
-
"<%= config.bin %> verify list --page 2",
|
|
3440
|
-
"<%= config.bin %> verify list --status verified",
|
|
3441
|
-
"<%= config.bin %> verify list --json"
|
|
4252
|
+
"<%= config.bin %> templates delete tpl_xxx",
|
|
4253
|
+
"<%= config.bin %> templates delete tpl_xxx --force"
|
|
3442
4254
|
],
|
|
3443
4255
|
"flags": {
|
|
3444
4256
|
"json": {
|
|
@@ -3454,42 +4266,17 @@
|
|
|
3454
4266
|
"allowNo": false,
|
|
3455
4267
|
"type": "boolean"
|
|
3456
4268
|
},
|
|
3457
|
-
"
|
|
3458
|
-
"char": "
|
|
3459
|
-
"description": "
|
|
3460
|
-
"name": "
|
|
3461
|
-
"
|
|
3462
|
-
"
|
|
3463
|
-
"multiple": false,
|
|
3464
|
-
"type": "option"
|
|
3465
|
-
},
|
|
3466
|
-
"page": {
|
|
3467
|
-
"char": "p",
|
|
3468
|
-
"description": "Page number (starts at 1)",
|
|
3469
|
-
"name": "page",
|
|
3470
|
-
"hasDynamicHelp": false,
|
|
3471
|
-
"multiple": false,
|
|
3472
|
-
"type": "option"
|
|
3473
|
-
},
|
|
3474
|
-
"offset": {
|
|
3475
|
-
"description": "Offset from start (alternative to --page)",
|
|
3476
|
-
"name": "offset",
|
|
3477
|
-
"hasDynamicHelp": false,
|
|
3478
|
-
"multiple": false,
|
|
3479
|
-
"type": "option"
|
|
3480
|
-
},
|
|
3481
|
-
"status": {
|
|
3482
|
-
"char": "s",
|
|
3483
|
-
"description": "Filter by status (pending, verified, expired, failed)",
|
|
3484
|
-
"name": "status",
|
|
3485
|
-
"hasDynamicHelp": false,
|
|
3486
|
-
"multiple": false,
|
|
3487
|
-
"type": "option"
|
|
4269
|
+
"force": {
|
|
4270
|
+
"char": "f",
|
|
4271
|
+
"description": "Skip confirmation",
|
|
4272
|
+
"name": "force",
|
|
4273
|
+
"allowNo": false,
|
|
4274
|
+
"type": "boolean"
|
|
3488
4275
|
}
|
|
3489
4276
|
},
|
|
3490
4277
|
"hasDynamicHelp": false,
|
|
3491
4278
|
"hiddenAliases": [],
|
|
3492
|
-
"id": "
|
|
4279
|
+
"id": "templates:delete",
|
|
3493
4280
|
"pluginAlias": "@sendly/cli",
|
|
3494
4281
|
"pluginName": "@sendly/cli",
|
|
3495
4282
|
"pluginType": "core",
|
|
@@ -3498,23 +4285,23 @@
|
|
|
3498
4285
|
"relativePath": [
|
|
3499
4286
|
"dist",
|
|
3500
4287
|
"commands",
|
|
3501
|
-
"
|
|
3502
|
-
"
|
|
4288
|
+
"templates",
|
|
4289
|
+
"delete.js"
|
|
3503
4290
|
]
|
|
3504
4291
|
},
|
|
3505
|
-
"
|
|
4292
|
+
"templates:get": {
|
|
3506
4293
|
"aliases": [],
|
|
3507
4294
|
"args": {
|
|
3508
4295
|
"id": {
|
|
3509
|
-
"description": "
|
|
4296
|
+
"description": "Template ID",
|
|
3510
4297
|
"name": "id",
|
|
3511
4298
|
"required": true
|
|
3512
4299
|
}
|
|
3513
4300
|
},
|
|
3514
|
-
"description": "
|
|
4301
|
+
"description": "Get template details",
|
|
3515
4302
|
"examples": [
|
|
3516
|
-
"<%= config.bin %>
|
|
3517
|
-
"<%= config.bin %>
|
|
4303
|
+
"<%= config.bin %> templates get tpl_xxx",
|
|
4304
|
+
"<%= config.bin %> templates get tpl_preset_2fa"
|
|
3518
4305
|
],
|
|
3519
4306
|
"flags": {
|
|
3520
4307
|
"json": {
|
|
@@ -3533,7 +4320,7 @@
|
|
|
3533
4320
|
},
|
|
3534
4321
|
"hasDynamicHelp": false,
|
|
3535
4322
|
"hiddenAliases": [],
|
|
3536
|
-
"id": "
|
|
4323
|
+
"id": "templates:get",
|
|
3537
4324
|
"pluginAlias": "@sendly/cli",
|
|
3538
4325
|
"pluginName": "@sendly/cli",
|
|
3539
4326
|
"pluginType": "core",
|
|
@@ -3542,20 +4329,17 @@
|
|
|
3542
4329
|
"relativePath": [
|
|
3543
4330
|
"dist",
|
|
3544
4331
|
"commands",
|
|
3545
|
-
"
|
|
3546
|
-
"
|
|
4332
|
+
"templates",
|
|
4333
|
+
"get.js"
|
|
3547
4334
|
]
|
|
3548
4335
|
},
|
|
3549
|
-
"
|
|
4336
|
+
"templates:list": {
|
|
3550
4337
|
"aliases": [],
|
|
3551
4338
|
"args": {},
|
|
3552
|
-
"description": "
|
|
4339
|
+
"description": "List your SMS templates",
|
|
3553
4340
|
"examples": [
|
|
3554
|
-
"<%= config.bin %>
|
|
3555
|
-
"<%= config.bin %>
|
|
3556
|
-
"<%= config.bin %> verify send --to \"+1234567890\" --template tpl_preset_2fa",
|
|
3557
|
-
"<%= config.bin %> verify send --to \"+1234567890\" --profile vp_xxx",
|
|
3558
|
-
"<%= config.bin %> verify send --to \"+1234567890\" --code-length 8 --timeout 120"
|
|
4341
|
+
"<%= config.bin %> templates list",
|
|
4342
|
+
"<%= config.bin %> templates list --json"
|
|
3559
4343
|
],
|
|
3560
4344
|
"flags": {
|
|
3561
4345
|
"json": {
|
|
@@ -3570,57 +4354,49 @@
|
|
|
3570
4354
|
"name": "quiet",
|
|
3571
4355
|
"allowNo": false,
|
|
3572
4356
|
"type": "boolean"
|
|
4357
|
+
}
|
|
4358
|
+
},
|
|
4359
|
+
"hasDynamicHelp": false,
|
|
4360
|
+
"hiddenAliases": [],
|
|
4361
|
+
"id": "templates:list",
|
|
4362
|
+
"pluginAlias": "@sendly/cli",
|
|
4363
|
+
"pluginName": "@sendly/cli",
|
|
4364
|
+
"pluginType": "core",
|
|
4365
|
+
"strict": true,
|
|
4366
|
+
"isESM": true,
|
|
4367
|
+
"relativePath": [
|
|
4368
|
+
"dist",
|
|
4369
|
+
"commands",
|
|
4370
|
+
"templates",
|
|
4371
|
+
"list.js"
|
|
4372
|
+
]
|
|
4373
|
+
},
|
|
4374
|
+
"templates:presets": {
|
|
4375
|
+
"aliases": [],
|
|
4376
|
+
"args": {},
|
|
4377
|
+
"description": "List available preset templates",
|
|
4378
|
+
"examples": [
|
|
4379
|
+
"<%= config.bin %> templates presets",
|
|
4380
|
+
"<%= config.bin %> templates presets --json"
|
|
4381
|
+
],
|
|
4382
|
+
"flags": {
|
|
4383
|
+
"json": {
|
|
4384
|
+
"description": "Output in JSON format",
|
|
4385
|
+
"name": "json",
|
|
4386
|
+
"allowNo": false,
|
|
4387
|
+
"type": "boolean"
|
|
3573
4388
|
},
|
|
3574
|
-
"
|
|
3575
|
-
"char": "
|
|
3576
|
-
"description": "
|
|
3577
|
-
"name": "
|
|
3578
|
-
"
|
|
3579
|
-
"
|
|
3580
|
-
"multiple": false,
|
|
3581
|
-
"type": "option"
|
|
3582
|
-
},
|
|
3583
|
-
"app-name": {
|
|
3584
|
-
"char": "a",
|
|
3585
|
-
"description": "App name shown in message (defaults to your business name)",
|
|
3586
|
-
"name": "app-name",
|
|
3587
|
-
"hasDynamicHelp": false,
|
|
3588
|
-
"multiple": false,
|
|
3589
|
-
"type": "option"
|
|
3590
|
-
},
|
|
3591
|
-
"template": {
|
|
3592
|
-
"description": "Template ID to use (defaults to tpl_preset_otp)",
|
|
3593
|
-
"name": "template",
|
|
3594
|
-
"hasDynamicHelp": false,
|
|
3595
|
-
"multiple": false,
|
|
3596
|
-
"type": "option"
|
|
3597
|
-
},
|
|
3598
|
-
"profile": {
|
|
3599
|
-
"char": "p",
|
|
3600
|
-
"description": "Verify profile ID for preconfigured settings",
|
|
3601
|
-
"name": "profile",
|
|
3602
|
-
"hasDynamicHelp": false,
|
|
3603
|
-
"multiple": false,
|
|
3604
|
-
"type": "option"
|
|
3605
|
-
},
|
|
3606
|
-
"code-length": {
|
|
3607
|
-
"description": "Length of OTP code (4-10, default: 6)",
|
|
3608
|
-
"name": "code-length",
|
|
3609
|
-
"hasDynamicHelp": false,
|
|
3610
|
-
"multiple": false,
|
|
3611
|
-
"type": "option"
|
|
3612
|
-
},
|
|
3613
|
-
"timeout": {
|
|
3614
|
-
"description": "Code validity in seconds (60-3600, default: 300)",
|
|
3615
|
-
"name": "timeout",
|
|
3616
|
-
"hasDynamicHelp": false,
|
|
3617
|
-
"multiple": false,
|
|
3618
|
-
"type": "option"
|
|
4389
|
+
"quiet": {
|
|
4390
|
+
"char": "q",
|
|
4391
|
+
"description": "Minimal output",
|
|
4392
|
+
"name": "quiet",
|
|
4393
|
+
"allowNo": false,
|
|
4394
|
+
"type": "boolean"
|
|
3619
4395
|
}
|
|
3620
4396
|
},
|
|
3621
4397
|
"hasDynamicHelp": false,
|
|
3622
4398
|
"hiddenAliases": [],
|
|
3623
|
-
"id": "
|
|
4399
|
+
"id": "templates:presets",
|
|
3624
4400
|
"pluginAlias": "@sendly/cli",
|
|
3625
4401
|
"pluginName": "@sendly/cli",
|
|
3626
4402
|
"pluginType": "core",
|
|
@@ -3629,23 +4405,22 @@
|
|
|
3629
4405
|
"relativePath": [
|
|
3630
4406
|
"dist",
|
|
3631
4407
|
"commands",
|
|
3632
|
-
"
|
|
3633
|
-
"
|
|
4408
|
+
"templates",
|
|
4409
|
+
"presets.js"
|
|
3634
4410
|
]
|
|
3635
4411
|
},
|
|
3636
|
-
"
|
|
4412
|
+
"templates:publish": {
|
|
3637
4413
|
"aliases": [],
|
|
3638
4414
|
"args": {
|
|
3639
4415
|
"id": {
|
|
3640
|
-
"description": "
|
|
4416
|
+
"description": "Template ID",
|
|
3641
4417
|
"name": "id",
|
|
3642
4418
|
"required": true
|
|
3643
4419
|
}
|
|
3644
4420
|
},
|
|
3645
|
-
"description": "
|
|
4421
|
+
"description": "Publish a draft template (locks it for use)",
|
|
3646
4422
|
"examples": [
|
|
3647
|
-
"<%= config.bin %>
|
|
3648
|
-
"<%= config.bin %> verify status ver_xxx --json"
|
|
4423
|
+
"<%= config.bin %> templates publish tpl_xxx"
|
|
3649
4424
|
],
|
|
3650
4425
|
"flags": {
|
|
3651
4426
|
"json": {
|
|
@@ -3664,7 +4439,7 @@
|
|
|
3664
4439
|
},
|
|
3665
4440
|
"hasDynamicHelp": false,
|
|
3666
4441
|
"hiddenAliases": [],
|
|
3667
|
-
"id": "
|
|
4442
|
+
"id": "templates:publish",
|
|
3668
4443
|
"pluginAlias": "@sendly/cli",
|
|
3669
4444
|
"pluginName": "@sendly/cli",
|
|
3670
4445
|
"pluginType": "core",
|
|
@@ -3673,8 +4448,8 @@
|
|
|
3673
4448
|
"relativePath": [
|
|
3674
4449
|
"dist",
|
|
3675
4450
|
"commands",
|
|
3676
|
-
"
|
|
3677
|
-
"
|
|
4451
|
+
"templates",
|
|
4452
|
+
"publish.js"
|
|
3678
4453
|
]
|
|
3679
4454
|
},
|
|
3680
4455
|
"webhooks:create": {
|
|
@@ -4551,192 +5326,6 @@
|
|
|
4551
5326
|
"update.js"
|
|
4552
5327
|
]
|
|
4553
5328
|
},
|
|
4554
|
-
"enterprise:analytics:credits": {
|
|
4555
|
-
"aliases": [],
|
|
4556
|
-
"args": {},
|
|
4557
|
-
"description": "Get credit usage analytics over time",
|
|
4558
|
-
"examples": [
|
|
4559
|
-
"<%= config.bin %> enterprise analytics credits",
|
|
4560
|
-
"<%= config.bin %> enterprise analytics credits --period 30d",
|
|
4561
|
-
"<%= config.bin %> enterprise analytics credits --json"
|
|
4562
|
-
],
|
|
4563
|
-
"flags": {
|
|
4564
|
-
"json": {
|
|
4565
|
-
"description": "Output in JSON format",
|
|
4566
|
-
"name": "json",
|
|
4567
|
-
"allowNo": false,
|
|
4568
|
-
"type": "boolean"
|
|
4569
|
-
},
|
|
4570
|
-
"quiet": {
|
|
4571
|
-
"char": "q",
|
|
4572
|
-
"description": "Minimal output",
|
|
4573
|
-
"name": "quiet",
|
|
4574
|
-
"allowNo": false,
|
|
4575
|
-
"type": "boolean"
|
|
4576
|
-
},
|
|
4577
|
-
"period": {
|
|
4578
|
-
"char": "p",
|
|
4579
|
-
"description": "Time period (7d, 30d, 90d)",
|
|
4580
|
-
"name": "period",
|
|
4581
|
-
"default": "7d",
|
|
4582
|
-
"hasDynamicHelp": false,
|
|
4583
|
-
"multiple": false,
|
|
4584
|
-
"options": [
|
|
4585
|
-
"7d",
|
|
4586
|
-
"30d",
|
|
4587
|
-
"90d"
|
|
4588
|
-
],
|
|
4589
|
-
"type": "option"
|
|
4590
|
-
}
|
|
4591
|
-
},
|
|
4592
|
-
"hasDynamicHelp": false,
|
|
4593
|
-
"hiddenAliases": [],
|
|
4594
|
-
"id": "enterprise:analytics:credits",
|
|
4595
|
-
"pluginAlias": "@sendly/cli",
|
|
4596
|
-
"pluginName": "@sendly/cli",
|
|
4597
|
-
"pluginType": "core",
|
|
4598
|
-
"strict": true,
|
|
4599
|
-
"isESM": true,
|
|
4600
|
-
"relativePath": [
|
|
4601
|
-
"dist",
|
|
4602
|
-
"commands",
|
|
4603
|
-
"enterprise",
|
|
4604
|
-
"analytics",
|
|
4605
|
-
"credits.js"
|
|
4606
|
-
]
|
|
4607
|
-
},
|
|
4608
|
-
"enterprise:analytics:delivery": {
|
|
4609
|
-
"aliases": [],
|
|
4610
|
-
"args": {},
|
|
4611
|
-
"description": "Get delivery rate analytics by workspace",
|
|
4612
|
-
"examples": [
|
|
4613
|
-
"<%= config.bin %> enterprise analytics delivery",
|
|
4614
|
-
"<%= config.bin %> enterprise analytics delivery --json"
|
|
4615
|
-
],
|
|
4616
|
-
"flags": {
|
|
4617
|
-
"json": {
|
|
4618
|
-
"description": "Output in JSON format",
|
|
4619
|
-
"name": "json",
|
|
4620
|
-
"allowNo": false,
|
|
4621
|
-
"type": "boolean"
|
|
4622
|
-
},
|
|
4623
|
-
"quiet": {
|
|
4624
|
-
"char": "q",
|
|
4625
|
-
"description": "Minimal output",
|
|
4626
|
-
"name": "quiet",
|
|
4627
|
-
"allowNo": false,
|
|
4628
|
-
"type": "boolean"
|
|
4629
|
-
}
|
|
4630
|
-
},
|
|
4631
|
-
"hasDynamicHelp": false,
|
|
4632
|
-
"hiddenAliases": [],
|
|
4633
|
-
"id": "enterprise:analytics:delivery",
|
|
4634
|
-
"pluginAlias": "@sendly/cli",
|
|
4635
|
-
"pluginName": "@sendly/cli",
|
|
4636
|
-
"pluginType": "core",
|
|
4637
|
-
"strict": true,
|
|
4638
|
-
"isESM": true,
|
|
4639
|
-
"relativePath": [
|
|
4640
|
-
"dist",
|
|
4641
|
-
"commands",
|
|
4642
|
-
"enterprise",
|
|
4643
|
-
"analytics",
|
|
4644
|
-
"delivery.js"
|
|
4645
|
-
]
|
|
4646
|
-
},
|
|
4647
|
-
"enterprise:analytics:messages": {
|
|
4648
|
-
"aliases": [],
|
|
4649
|
-
"args": {},
|
|
4650
|
-
"description": "Get message analytics across all workspaces",
|
|
4651
|
-
"examples": [
|
|
4652
|
-
"<%= config.bin %> enterprise analytics messages",
|
|
4653
|
-
"<%= config.bin %> enterprise analytics messages --period 30d",
|
|
4654
|
-
"<%= config.bin %> enterprise analytics messages --period 90d --json"
|
|
4655
|
-
],
|
|
4656
|
-
"flags": {
|
|
4657
|
-
"json": {
|
|
4658
|
-
"description": "Output in JSON format",
|
|
4659
|
-
"name": "json",
|
|
4660
|
-
"allowNo": false,
|
|
4661
|
-
"type": "boolean"
|
|
4662
|
-
},
|
|
4663
|
-
"quiet": {
|
|
4664
|
-
"char": "q",
|
|
4665
|
-
"description": "Minimal output",
|
|
4666
|
-
"name": "quiet",
|
|
4667
|
-
"allowNo": false,
|
|
4668
|
-
"type": "boolean"
|
|
4669
|
-
},
|
|
4670
|
-
"period": {
|
|
4671
|
-
"char": "p",
|
|
4672
|
-
"description": "Time period (7d, 30d, 90d)",
|
|
4673
|
-
"name": "period",
|
|
4674
|
-
"default": "7d",
|
|
4675
|
-
"hasDynamicHelp": false,
|
|
4676
|
-
"multiple": false,
|
|
4677
|
-
"options": [
|
|
4678
|
-
"7d",
|
|
4679
|
-
"30d",
|
|
4680
|
-
"90d"
|
|
4681
|
-
],
|
|
4682
|
-
"type": "option"
|
|
4683
|
-
}
|
|
4684
|
-
},
|
|
4685
|
-
"hasDynamicHelp": false,
|
|
4686
|
-
"hiddenAliases": [],
|
|
4687
|
-
"id": "enterprise:analytics:messages",
|
|
4688
|
-
"pluginAlias": "@sendly/cli",
|
|
4689
|
-
"pluginName": "@sendly/cli",
|
|
4690
|
-
"pluginType": "core",
|
|
4691
|
-
"strict": true,
|
|
4692
|
-
"isESM": true,
|
|
4693
|
-
"relativePath": [
|
|
4694
|
-
"dist",
|
|
4695
|
-
"commands",
|
|
4696
|
-
"enterprise",
|
|
4697
|
-
"analytics",
|
|
4698
|
-
"messages.js"
|
|
4699
|
-
]
|
|
4700
|
-
},
|
|
4701
|
-
"enterprise:analytics:overview": {
|
|
4702
|
-
"aliases": [],
|
|
4703
|
-
"args": {},
|
|
4704
|
-
"description": "Get enterprise-wide analytics overview",
|
|
4705
|
-
"examples": [
|
|
4706
|
-
"<%= config.bin %> enterprise analytics overview",
|
|
4707
|
-
"<%= config.bin %> enterprise analytics overview --json"
|
|
4708
|
-
],
|
|
4709
|
-
"flags": {
|
|
4710
|
-
"json": {
|
|
4711
|
-
"description": "Output in JSON format",
|
|
4712
|
-
"name": "json",
|
|
4713
|
-
"allowNo": false,
|
|
4714
|
-
"type": "boolean"
|
|
4715
|
-
},
|
|
4716
|
-
"quiet": {
|
|
4717
|
-
"char": "q",
|
|
4718
|
-
"description": "Minimal output",
|
|
4719
|
-
"name": "quiet",
|
|
4720
|
-
"allowNo": false,
|
|
4721
|
-
"type": "boolean"
|
|
4722
|
-
}
|
|
4723
|
-
},
|
|
4724
|
-
"hasDynamicHelp": false,
|
|
4725
|
-
"hiddenAliases": [],
|
|
4726
|
-
"id": "enterprise:analytics:overview",
|
|
4727
|
-
"pluginAlias": "@sendly/cli",
|
|
4728
|
-
"pluginName": "@sendly/cli",
|
|
4729
|
-
"pluginType": "core",
|
|
4730
|
-
"strict": true,
|
|
4731
|
-
"isESM": true,
|
|
4732
|
-
"relativePath": [
|
|
4733
|
-
"dist",
|
|
4734
|
-
"commands",
|
|
4735
|
-
"enterprise",
|
|
4736
|
-
"analytics",
|
|
4737
|
-
"overview.js"
|
|
4738
|
-
]
|
|
4739
|
-
},
|
|
4740
5329
|
"enterprise:keys:create": {
|
|
4741
5330
|
"aliases": [],
|
|
4742
5331
|
"args": {
|
|
@@ -5012,13 +5601,14 @@
|
|
|
5012
5601
|
"set.js"
|
|
5013
5602
|
]
|
|
5014
5603
|
},
|
|
5015
|
-
"enterprise:
|
|
5604
|
+
"enterprise:analytics:credits": {
|
|
5016
5605
|
"aliases": [],
|
|
5017
5606
|
"args": {},
|
|
5018
|
-
"description": "
|
|
5607
|
+
"description": "Get credit usage analytics over time",
|
|
5019
5608
|
"examples": [
|
|
5020
|
-
"<%= config.bin %> enterprise
|
|
5021
|
-
"<%= config.bin %> enterprise
|
|
5609
|
+
"<%= config.bin %> enterprise analytics credits",
|
|
5610
|
+
"<%= config.bin %> enterprise analytics credits --period 30d",
|
|
5611
|
+
"<%= config.bin %> enterprise analytics credits --json"
|
|
5022
5612
|
],
|
|
5023
5613
|
"flags": {
|
|
5024
5614
|
"json": {
|
|
@@ -5034,17 +5624,24 @@
|
|
|
5034
5624
|
"allowNo": false,
|
|
5035
5625
|
"type": "boolean"
|
|
5036
5626
|
},
|
|
5037
|
-
"
|
|
5038
|
-
"char": "
|
|
5039
|
-
"description": "
|
|
5040
|
-
"name": "
|
|
5041
|
-
"
|
|
5042
|
-
"
|
|
5627
|
+
"period": {
|
|
5628
|
+
"char": "p",
|
|
5629
|
+
"description": "Time period (7d, 30d, 90d)",
|
|
5630
|
+
"name": "period",
|
|
5631
|
+
"default": "7d",
|
|
5632
|
+
"hasDynamicHelp": false,
|
|
5633
|
+
"multiple": false,
|
|
5634
|
+
"options": [
|
|
5635
|
+
"7d",
|
|
5636
|
+
"30d",
|
|
5637
|
+
"90d"
|
|
5638
|
+
],
|
|
5639
|
+
"type": "option"
|
|
5043
5640
|
}
|
|
5044
5641
|
},
|
|
5045
5642
|
"hasDynamicHelp": false,
|
|
5046
5643
|
"hiddenAliases": [],
|
|
5047
|
-
"id": "enterprise:
|
|
5644
|
+
"id": "enterprise:analytics:credits",
|
|
5048
5645
|
"pluginAlias": "@sendly/cli",
|
|
5049
5646
|
"pluginName": "@sendly/cli",
|
|
5050
5647
|
"pluginType": "core",
|
|
@@ -5054,17 +5651,17 @@
|
|
|
5054
5651
|
"dist",
|
|
5055
5652
|
"commands",
|
|
5056
5653
|
"enterprise",
|
|
5057
|
-
"
|
|
5058
|
-
"
|
|
5654
|
+
"analytics",
|
|
5655
|
+
"credits.js"
|
|
5059
5656
|
]
|
|
5060
5657
|
},
|
|
5061
|
-
"enterprise:
|
|
5658
|
+
"enterprise:analytics:delivery": {
|
|
5062
5659
|
"aliases": [],
|
|
5063
5660
|
"args": {},
|
|
5064
|
-
"description": "Get
|
|
5661
|
+
"description": "Get delivery rate analytics by workspace",
|
|
5065
5662
|
"examples": [
|
|
5066
|
-
"<%= config.bin %> enterprise
|
|
5067
|
-
"<%= config.bin %> enterprise
|
|
5663
|
+
"<%= config.bin %> enterprise analytics delivery",
|
|
5664
|
+
"<%= config.bin %> enterprise analytics delivery --json"
|
|
5068
5665
|
],
|
|
5069
5666
|
"flags": {
|
|
5070
5667
|
"json": {
|
|
@@ -5083,7 +5680,7 @@
|
|
|
5083
5680
|
},
|
|
5084
5681
|
"hasDynamicHelp": false,
|
|
5085
5682
|
"hiddenAliases": [],
|
|
5086
|
-
"id": "enterprise:
|
|
5683
|
+
"id": "enterprise:analytics:delivery",
|
|
5087
5684
|
"pluginAlias": "@sendly/cli",
|
|
5088
5685
|
"pluginName": "@sendly/cli",
|
|
5089
5686
|
"pluginType": "core",
|
|
@@ -5093,17 +5690,18 @@
|
|
|
5093
5690
|
"dist",
|
|
5094
5691
|
"commands",
|
|
5095
5692
|
"enterprise",
|
|
5096
|
-
"
|
|
5097
|
-
"
|
|
5693
|
+
"analytics",
|
|
5694
|
+
"delivery.js"
|
|
5098
5695
|
]
|
|
5099
5696
|
},
|
|
5100
|
-
"enterprise:
|
|
5697
|
+
"enterprise:analytics:messages": {
|
|
5101
5698
|
"aliases": [],
|
|
5102
5699
|
"args": {},
|
|
5103
|
-
"description": "
|
|
5700
|
+
"description": "Get message analytics across all workspaces",
|
|
5104
5701
|
"examples": [
|
|
5105
|
-
"<%= config.bin %> enterprise
|
|
5106
|
-
"<%= config.bin %> enterprise
|
|
5702
|
+
"<%= config.bin %> enterprise analytics messages",
|
|
5703
|
+
"<%= config.bin %> enterprise analytics messages --period 30d",
|
|
5704
|
+
"<%= config.bin %> enterprise analytics messages --period 90d --json"
|
|
5107
5705
|
],
|
|
5108
5706
|
"flags": {
|
|
5109
5707
|
"json": {
|
|
@@ -5119,25 +5717,24 @@
|
|
|
5119
5717
|
"allowNo": false,
|
|
5120
5718
|
"type": "boolean"
|
|
5121
5719
|
},
|
|
5122
|
-
"
|
|
5123
|
-
"
|
|
5124
|
-
"
|
|
5125
|
-
"
|
|
5126
|
-
"
|
|
5127
|
-
"multiple": false,
|
|
5128
|
-
"type": "option"
|
|
5129
|
-
},
|
|
5130
|
-
"events": {
|
|
5131
|
-
"description": "Comma-separated list of event types to subscribe to",
|
|
5132
|
-
"name": "events",
|
|
5720
|
+
"period": {
|
|
5721
|
+
"char": "p",
|
|
5722
|
+
"description": "Time period (7d, 30d, 90d)",
|
|
5723
|
+
"name": "period",
|
|
5724
|
+
"default": "7d",
|
|
5133
5725
|
"hasDynamicHelp": false,
|
|
5134
5726
|
"multiple": false,
|
|
5727
|
+
"options": [
|
|
5728
|
+
"7d",
|
|
5729
|
+
"30d",
|
|
5730
|
+
"90d"
|
|
5731
|
+
],
|
|
5135
5732
|
"type": "option"
|
|
5136
5733
|
}
|
|
5137
5734
|
},
|
|
5138
5735
|
"hasDynamicHelp": false,
|
|
5139
5736
|
"hiddenAliases": [],
|
|
5140
|
-
"id": "enterprise:
|
|
5737
|
+
"id": "enterprise:analytics:messages",
|
|
5141
5738
|
"pluginAlias": "@sendly/cli",
|
|
5142
5739
|
"pluginName": "@sendly/cli",
|
|
5143
5740
|
"pluginType": "core",
|
|
@@ -5147,17 +5744,17 @@
|
|
|
5147
5744
|
"dist",
|
|
5148
5745
|
"commands",
|
|
5149
5746
|
"enterprise",
|
|
5150
|
-
"
|
|
5151
|
-
"
|
|
5747
|
+
"analytics",
|
|
5748
|
+
"messages.js"
|
|
5152
5749
|
]
|
|
5153
5750
|
},
|
|
5154
|
-
"enterprise:
|
|
5751
|
+
"enterprise:analytics:overview": {
|
|
5155
5752
|
"aliases": [],
|
|
5156
5753
|
"args": {},
|
|
5157
|
-
"description": "
|
|
5754
|
+
"description": "Get enterprise-wide analytics overview",
|
|
5158
5755
|
"examples": [
|
|
5159
|
-
"<%= config.bin %> enterprise
|
|
5160
|
-
"<%= config.bin %> enterprise
|
|
5756
|
+
"<%= config.bin %> enterprise analytics overview",
|
|
5757
|
+
"<%= config.bin %> enterprise analytics overview --json"
|
|
5161
5758
|
],
|
|
5162
5759
|
"flags": {
|
|
5163
5760
|
"json": {
|
|
@@ -5176,7 +5773,7 @@
|
|
|
5176
5773
|
},
|
|
5177
5774
|
"hasDynamicHelp": false,
|
|
5178
5775
|
"hiddenAliases": [],
|
|
5179
|
-
"id": "enterprise:
|
|
5776
|
+
"id": "enterprise:analytics:overview",
|
|
5180
5777
|
"pluginAlias": "@sendly/cli",
|
|
5181
5778
|
"pluginName": "@sendly/cli",
|
|
5182
5779
|
"pluginType": "core",
|
|
@@ -5186,8 +5783,8 @@
|
|
|
5186
5783
|
"dist",
|
|
5187
5784
|
"commands",
|
|
5188
5785
|
"enterprise",
|
|
5189
|
-
"
|
|
5190
|
-
"
|
|
5786
|
+
"analytics",
|
|
5787
|
+
"overview.js"
|
|
5191
5788
|
]
|
|
5192
5789
|
},
|
|
5193
5790
|
"enterprise:workspaces:create": {
|
|
@@ -5477,7 +6074,185 @@
|
|
|
5477
6074
|
"workspaces",
|
|
5478
6075
|
"suspend.js"
|
|
5479
6076
|
]
|
|
6077
|
+
},
|
|
6078
|
+
"enterprise:webhooks:delete": {
|
|
6079
|
+
"aliases": [],
|
|
6080
|
+
"args": {},
|
|
6081
|
+
"description": "Delete the enterprise webhook",
|
|
6082
|
+
"examples": [
|
|
6083
|
+
"<%= config.bin %> enterprise webhooks delete",
|
|
6084
|
+
"<%= config.bin %> enterprise webhooks delete --yes"
|
|
6085
|
+
],
|
|
6086
|
+
"flags": {
|
|
6087
|
+
"json": {
|
|
6088
|
+
"description": "Output in JSON format",
|
|
6089
|
+
"name": "json",
|
|
6090
|
+
"allowNo": false,
|
|
6091
|
+
"type": "boolean"
|
|
6092
|
+
},
|
|
6093
|
+
"quiet": {
|
|
6094
|
+
"char": "q",
|
|
6095
|
+
"description": "Minimal output",
|
|
6096
|
+
"name": "quiet",
|
|
6097
|
+
"allowNo": false,
|
|
6098
|
+
"type": "boolean"
|
|
6099
|
+
},
|
|
6100
|
+
"yes": {
|
|
6101
|
+
"char": "y",
|
|
6102
|
+
"description": "Skip confirmation prompt",
|
|
6103
|
+
"name": "yes",
|
|
6104
|
+
"allowNo": false,
|
|
6105
|
+
"type": "boolean"
|
|
6106
|
+
}
|
|
6107
|
+
},
|
|
6108
|
+
"hasDynamicHelp": false,
|
|
6109
|
+
"hiddenAliases": [],
|
|
6110
|
+
"id": "enterprise:webhooks:delete",
|
|
6111
|
+
"pluginAlias": "@sendly/cli",
|
|
6112
|
+
"pluginName": "@sendly/cli",
|
|
6113
|
+
"pluginType": "core",
|
|
6114
|
+
"strict": true,
|
|
6115
|
+
"isESM": true,
|
|
6116
|
+
"relativePath": [
|
|
6117
|
+
"dist",
|
|
6118
|
+
"commands",
|
|
6119
|
+
"enterprise",
|
|
6120
|
+
"webhooks",
|
|
6121
|
+
"delete.js"
|
|
6122
|
+
]
|
|
6123
|
+
},
|
|
6124
|
+
"enterprise:webhooks:get": {
|
|
6125
|
+
"aliases": [],
|
|
6126
|
+
"args": {},
|
|
6127
|
+
"description": "Get the enterprise webhook configuration",
|
|
6128
|
+
"examples": [
|
|
6129
|
+
"<%= config.bin %> enterprise webhooks get",
|
|
6130
|
+
"<%= config.bin %> enterprise webhooks get --json"
|
|
6131
|
+
],
|
|
6132
|
+
"flags": {
|
|
6133
|
+
"json": {
|
|
6134
|
+
"description": "Output in JSON format",
|
|
6135
|
+
"name": "json",
|
|
6136
|
+
"allowNo": false,
|
|
6137
|
+
"type": "boolean"
|
|
6138
|
+
},
|
|
6139
|
+
"quiet": {
|
|
6140
|
+
"char": "q",
|
|
6141
|
+
"description": "Minimal output",
|
|
6142
|
+
"name": "quiet",
|
|
6143
|
+
"allowNo": false,
|
|
6144
|
+
"type": "boolean"
|
|
6145
|
+
}
|
|
6146
|
+
},
|
|
6147
|
+
"hasDynamicHelp": false,
|
|
6148
|
+
"hiddenAliases": [],
|
|
6149
|
+
"id": "enterprise:webhooks:get",
|
|
6150
|
+
"pluginAlias": "@sendly/cli",
|
|
6151
|
+
"pluginName": "@sendly/cli",
|
|
6152
|
+
"pluginType": "core",
|
|
6153
|
+
"strict": true,
|
|
6154
|
+
"isESM": true,
|
|
6155
|
+
"relativePath": [
|
|
6156
|
+
"dist",
|
|
6157
|
+
"commands",
|
|
6158
|
+
"enterprise",
|
|
6159
|
+
"webhooks",
|
|
6160
|
+
"get.js"
|
|
6161
|
+
]
|
|
6162
|
+
},
|
|
6163
|
+
"enterprise:webhooks:set": {
|
|
6164
|
+
"aliases": [],
|
|
6165
|
+
"args": {},
|
|
6166
|
+
"description": "Create or update the enterprise-level webhook",
|
|
6167
|
+
"examples": [
|
|
6168
|
+
"<%= config.bin %> enterprise webhooks set --url https://example.com/webhook",
|
|
6169
|
+
"<%= config.bin %> enterprise webhooks set --url https://example.com/webhook --events \"message.sent,message.delivered\""
|
|
6170
|
+
],
|
|
6171
|
+
"flags": {
|
|
6172
|
+
"json": {
|
|
6173
|
+
"description": "Output in JSON format",
|
|
6174
|
+
"name": "json",
|
|
6175
|
+
"allowNo": false,
|
|
6176
|
+
"type": "boolean"
|
|
6177
|
+
},
|
|
6178
|
+
"quiet": {
|
|
6179
|
+
"char": "q",
|
|
6180
|
+
"description": "Minimal output",
|
|
6181
|
+
"name": "quiet",
|
|
6182
|
+
"allowNo": false,
|
|
6183
|
+
"type": "boolean"
|
|
6184
|
+
},
|
|
6185
|
+
"url": {
|
|
6186
|
+
"description": "Webhook endpoint URL",
|
|
6187
|
+
"name": "url",
|
|
6188
|
+
"required": true,
|
|
6189
|
+
"hasDynamicHelp": false,
|
|
6190
|
+
"multiple": false,
|
|
6191
|
+
"type": "option"
|
|
6192
|
+
},
|
|
6193
|
+
"events": {
|
|
6194
|
+
"description": "Comma-separated list of event types to subscribe to",
|
|
6195
|
+
"name": "events",
|
|
6196
|
+
"hasDynamicHelp": false,
|
|
6197
|
+
"multiple": false,
|
|
6198
|
+
"type": "option"
|
|
6199
|
+
}
|
|
6200
|
+
},
|
|
6201
|
+
"hasDynamicHelp": false,
|
|
6202
|
+
"hiddenAliases": [],
|
|
6203
|
+
"id": "enterprise:webhooks:set",
|
|
6204
|
+
"pluginAlias": "@sendly/cli",
|
|
6205
|
+
"pluginName": "@sendly/cli",
|
|
6206
|
+
"pluginType": "core",
|
|
6207
|
+
"strict": true,
|
|
6208
|
+
"isESM": true,
|
|
6209
|
+
"relativePath": [
|
|
6210
|
+
"dist",
|
|
6211
|
+
"commands",
|
|
6212
|
+
"enterprise",
|
|
6213
|
+
"webhooks",
|
|
6214
|
+
"set.js"
|
|
6215
|
+
]
|
|
6216
|
+
},
|
|
6217
|
+
"enterprise:webhooks:test": {
|
|
6218
|
+
"aliases": [],
|
|
6219
|
+
"args": {},
|
|
6220
|
+
"description": "Send a test event to the enterprise webhook",
|
|
6221
|
+
"examples": [
|
|
6222
|
+
"<%= config.bin %> enterprise webhooks test",
|
|
6223
|
+
"<%= config.bin %> enterprise webhooks test --json"
|
|
6224
|
+
],
|
|
6225
|
+
"flags": {
|
|
6226
|
+
"json": {
|
|
6227
|
+
"description": "Output in JSON format",
|
|
6228
|
+
"name": "json",
|
|
6229
|
+
"allowNo": false,
|
|
6230
|
+
"type": "boolean"
|
|
6231
|
+
},
|
|
6232
|
+
"quiet": {
|
|
6233
|
+
"char": "q",
|
|
6234
|
+
"description": "Minimal output",
|
|
6235
|
+
"name": "quiet",
|
|
6236
|
+
"allowNo": false,
|
|
6237
|
+
"type": "boolean"
|
|
6238
|
+
}
|
|
6239
|
+
},
|
|
6240
|
+
"hasDynamicHelp": false,
|
|
6241
|
+
"hiddenAliases": [],
|
|
6242
|
+
"id": "enterprise:webhooks:test",
|
|
6243
|
+
"pluginAlias": "@sendly/cli",
|
|
6244
|
+
"pluginName": "@sendly/cli",
|
|
6245
|
+
"pluginType": "core",
|
|
6246
|
+
"strict": true,
|
|
6247
|
+
"isESM": true,
|
|
6248
|
+
"relativePath": [
|
|
6249
|
+
"dist",
|
|
6250
|
+
"commands",
|
|
6251
|
+
"enterprise",
|
|
6252
|
+
"webhooks",
|
|
6253
|
+
"test.js"
|
|
6254
|
+
]
|
|
5480
6255
|
}
|
|
5481
6256
|
},
|
|
5482
|
-
"version": "3.
|
|
6257
|
+
"version": "3.23.0"
|
|
5483
6258
|
}
|