@sendly/cli 3.29.0 → 3.32.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/README.md +10 -0
- package/dist/commands/countries.d.ts +21 -0
- package/dist/commands/countries.js +96 -0
- package/dist/commands/sms/upload-media.d.ts +22 -0
- package/dist/commands/sms/upload-media.js +82 -0
- package/dist/commands/templates/enhance.d.ts +25 -0
- package/dist/commands/templates/enhance.js +77 -0
- package/dist/commands/upgrade.d.ts +25 -0
- package/dist/commands/upgrade.js +67 -0
- package/dist/lib/auth.js +104 -1
- package/dist/lib/detect-install-path.d.ts +21 -0
- package/dist/lib/detect-install-path.js +38 -0
- package/oclif.manifest.json +543 -341
- package/package.json +29 -2
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,59 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
+
"countries": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "List supported countries with pricing (credits per SMS, USD price, tier). No auth required.",
|
|
7
|
+
"examples": [
|
|
8
|
+
"<%= config.bin %> countries",
|
|
9
|
+
"<%= config.bin %> countries --search UK",
|
|
10
|
+
"<%= config.bin %> countries --tier domestic",
|
|
11
|
+
"<%= config.bin %> countries --json"
|
|
12
|
+
],
|
|
13
|
+
"flags": {
|
|
14
|
+
"json": {
|
|
15
|
+
"description": "Output in JSON format",
|
|
16
|
+
"name": "json",
|
|
17
|
+
"allowNo": false,
|
|
18
|
+
"type": "boolean"
|
|
19
|
+
},
|
|
20
|
+
"quiet": {
|
|
21
|
+
"char": "q",
|
|
22
|
+
"description": "Minimal output",
|
|
23
|
+
"name": "quiet",
|
|
24
|
+
"allowNo": false,
|
|
25
|
+
"type": "boolean"
|
|
26
|
+
},
|
|
27
|
+
"search": {
|
|
28
|
+
"description": "Filter by name, country code, or dial code",
|
|
29
|
+
"name": "search",
|
|
30
|
+
"hasDynamicHelp": false,
|
|
31
|
+
"multiple": false,
|
|
32
|
+
"type": "option"
|
|
33
|
+
},
|
|
34
|
+
"tier": {
|
|
35
|
+
"description": "Filter by pricing tier (domestic, international, etc.)",
|
|
36
|
+
"name": "tier",
|
|
37
|
+
"hasDynamicHelp": false,
|
|
38
|
+
"multiple": false,
|
|
39
|
+
"type": "option"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"hasDynamicHelp": false,
|
|
43
|
+
"hiddenAliases": [],
|
|
44
|
+
"id": "countries",
|
|
45
|
+
"pluginAlias": "@sendly/cli",
|
|
46
|
+
"pluginName": "@sendly/cli",
|
|
47
|
+
"pluginType": "core",
|
|
48
|
+
"strict": true,
|
|
49
|
+
"enableJsonFlag": false,
|
|
50
|
+
"isESM": true,
|
|
51
|
+
"relativePath": [
|
|
52
|
+
"dist",
|
|
53
|
+
"commands",
|
|
54
|
+
"countries.js"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
3
57
|
"doctor": {
|
|
4
58
|
"aliases": [],
|
|
5
59
|
"args": {},
|
|
@@ -305,6 +359,37 @@
|
|
|
305
359
|
"trigger.js"
|
|
306
360
|
]
|
|
307
361
|
},
|
|
362
|
+
"upgrade": {
|
|
363
|
+
"aliases": [],
|
|
364
|
+
"args": {},
|
|
365
|
+
"description": "Upgrade Sendly CLI to the latest version using the package manager that installed it (Homebrew or npm).",
|
|
366
|
+
"examples": [
|
|
367
|
+
"<%= config.bin %> upgrade",
|
|
368
|
+
"<%= config.bin %> upgrade --check"
|
|
369
|
+
],
|
|
370
|
+
"flags": {
|
|
371
|
+
"check": {
|
|
372
|
+
"description": "Print the upgrade command for your install path without executing it",
|
|
373
|
+
"name": "check",
|
|
374
|
+
"allowNo": false,
|
|
375
|
+
"type": "boolean"
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"hasDynamicHelp": false,
|
|
379
|
+
"hiddenAliases": [],
|
|
380
|
+
"id": "upgrade",
|
|
381
|
+
"pluginAlias": "@sendly/cli",
|
|
382
|
+
"pluginName": "@sendly/cli",
|
|
383
|
+
"pluginType": "core",
|
|
384
|
+
"strict": true,
|
|
385
|
+
"enableJsonFlag": false,
|
|
386
|
+
"isESM": true,
|
|
387
|
+
"relativePath": [
|
|
388
|
+
"dist",
|
|
389
|
+
"commands",
|
|
390
|
+
"upgrade.js"
|
|
391
|
+
]
|
|
392
|
+
},
|
|
308
393
|
"whoami": {
|
|
309
394
|
"aliases": [],
|
|
310
395
|
"args": {},
|
|
@@ -902,153 +987,6 @@
|
|
|
902
987
|
"update.js"
|
|
903
988
|
]
|
|
904
989
|
},
|
|
905
|
-
"config:get": {
|
|
906
|
-
"aliases": [],
|
|
907
|
-
"args": {
|
|
908
|
-
"key": {
|
|
909
|
-
"description": "Configuration key",
|
|
910
|
-
"name": "key",
|
|
911
|
-
"options": [
|
|
912
|
-
"environment",
|
|
913
|
-
"baseUrl",
|
|
914
|
-
"defaultFormat",
|
|
915
|
-
"colorEnabled"
|
|
916
|
-
],
|
|
917
|
-
"required": true
|
|
918
|
-
}
|
|
919
|
-
},
|
|
920
|
-
"description": "Get a configuration value",
|
|
921
|
-
"examples": [
|
|
922
|
-
"<%= config.bin %> config get environment",
|
|
923
|
-
"<%= config.bin %> config get baseUrl"
|
|
924
|
-
],
|
|
925
|
-
"flags": {
|
|
926
|
-
"json": {
|
|
927
|
-
"description": "Output in JSON format",
|
|
928
|
-
"name": "json",
|
|
929
|
-
"allowNo": false,
|
|
930
|
-
"type": "boolean"
|
|
931
|
-
},
|
|
932
|
-
"quiet": {
|
|
933
|
-
"char": "q",
|
|
934
|
-
"description": "Minimal output",
|
|
935
|
-
"name": "quiet",
|
|
936
|
-
"allowNo": false,
|
|
937
|
-
"type": "boolean"
|
|
938
|
-
}
|
|
939
|
-
},
|
|
940
|
-
"hasDynamicHelp": false,
|
|
941
|
-
"hiddenAliases": [],
|
|
942
|
-
"id": "config:get",
|
|
943
|
-
"pluginAlias": "@sendly/cli",
|
|
944
|
-
"pluginName": "@sendly/cli",
|
|
945
|
-
"pluginType": "core",
|
|
946
|
-
"strict": true,
|
|
947
|
-
"enableJsonFlag": false,
|
|
948
|
-
"isESM": true,
|
|
949
|
-
"relativePath": [
|
|
950
|
-
"dist",
|
|
951
|
-
"commands",
|
|
952
|
-
"config",
|
|
953
|
-
"get.js"
|
|
954
|
-
]
|
|
955
|
-
},
|
|
956
|
-
"config:list": {
|
|
957
|
-
"aliases": [],
|
|
958
|
-
"args": {},
|
|
959
|
-
"description": "List all configuration values",
|
|
960
|
-
"examples": [
|
|
961
|
-
"<%= config.bin %> config list",
|
|
962
|
-
"<%= config.bin %> config list --json"
|
|
963
|
-
],
|
|
964
|
-
"flags": {
|
|
965
|
-
"json": {
|
|
966
|
-
"description": "Output in JSON format",
|
|
967
|
-
"name": "json",
|
|
968
|
-
"allowNo": false,
|
|
969
|
-
"type": "boolean"
|
|
970
|
-
},
|
|
971
|
-
"quiet": {
|
|
972
|
-
"char": "q",
|
|
973
|
-
"description": "Minimal output",
|
|
974
|
-
"name": "quiet",
|
|
975
|
-
"allowNo": false,
|
|
976
|
-
"type": "boolean"
|
|
977
|
-
}
|
|
978
|
-
},
|
|
979
|
-
"hasDynamicHelp": false,
|
|
980
|
-
"hiddenAliases": [],
|
|
981
|
-
"id": "config:list",
|
|
982
|
-
"pluginAlias": "@sendly/cli",
|
|
983
|
-
"pluginName": "@sendly/cli",
|
|
984
|
-
"pluginType": "core",
|
|
985
|
-
"strict": true,
|
|
986
|
-
"enableJsonFlag": false,
|
|
987
|
-
"isESM": true,
|
|
988
|
-
"relativePath": [
|
|
989
|
-
"dist",
|
|
990
|
-
"commands",
|
|
991
|
-
"config",
|
|
992
|
-
"list.js"
|
|
993
|
-
]
|
|
994
|
-
},
|
|
995
|
-
"config:set": {
|
|
996
|
-
"aliases": [],
|
|
997
|
-
"args": {
|
|
998
|
-
"key": {
|
|
999
|
-
"description": "Configuration key",
|
|
1000
|
-
"name": "key",
|
|
1001
|
-
"options": [
|
|
1002
|
-
"environment",
|
|
1003
|
-
"baseUrl",
|
|
1004
|
-
"defaultFormat",
|
|
1005
|
-
"colorEnabled"
|
|
1006
|
-
],
|
|
1007
|
-
"required": true
|
|
1008
|
-
},
|
|
1009
|
-
"value": {
|
|
1010
|
-
"description": "Configuration value",
|
|
1011
|
-
"name": "value",
|
|
1012
|
-
"required": true
|
|
1013
|
-
}
|
|
1014
|
-
},
|
|
1015
|
-
"description": "Set a configuration value",
|
|
1016
|
-
"examples": [
|
|
1017
|
-
"<%= config.bin %> config set environment live",
|
|
1018
|
-
"<%= config.bin %> config set defaultFormat json",
|
|
1019
|
-
"<%= config.bin %> config set baseUrl https://api.sendly.live"
|
|
1020
|
-
],
|
|
1021
|
-
"flags": {
|
|
1022
|
-
"json": {
|
|
1023
|
-
"description": "Output in JSON format",
|
|
1024
|
-
"name": "json",
|
|
1025
|
-
"allowNo": false,
|
|
1026
|
-
"type": "boolean"
|
|
1027
|
-
},
|
|
1028
|
-
"quiet": {
|
|
1029
|
-
"char": "q",
|
|
1030
|
-
"description": "Minimal output",
|
|
1031
|
-
"name": "quiet",
|
|
1032
|
-
"allowNo": false,
|
|
1033
|
-
"type": "boolean"
|
|
1034
|
-
}
|
|
1035
|
-
},
|
|
1036
|
-
"hasDynamicHelp": false,
|
|
1037
|
-
"hiddenAliases": [],
|
|
1038
|
-
"id": "config:set",
|
|
1039
|
-
"pluginAlias": "@sendly/cli",
|
|
1040
|
-
"pluginName": "@sendly/cli",
|
|
1041
|
-
"pluginType": "core",
|
|
1042
|
-
"strict": true,
|
|
1043
|
-
"enableJsonFlag": false,
|
|
1044
|
-
"isESM": true,
|
|
1045
|
-
"relativePath": [
|
|
1046
|
-
"dist",
|
|
1047
|
-
"commands",
|
|
1048
|
-
"config",
|
|
1049
|
-
"set.js"
|
|
1050
|
-
]
|
|
1051
|
-
},
|
|
1052
990
|
"contacts:bulk-mark-valid": {
|
|
1053
991
|
"aliases": [],
|
|
1054
992
|
"args": {},
|
|
@@ -2065,13 +2003,25 @@
|
|
|
2065
2003
|
"update.js"
|
|
2066
2004
|
]
|
|
2067
2005
|
},
|
|
2068
|
-
"
|
|
2006
|
+
"config:get": {
|
|
2069
2007
|
"aliases": [],
|
|
2070
|
-
"args": {
|
|
2071
|
-
|
|
2008
|
+
"args": {
|
|
2009
|
+
"key": {
|
|
2010
|
+
"description": "Configuration key",
|
|
2011
|
+
"name": "key",
|
|
2012
|
+
"options": [
|
|
2013
|
+
"environment",
|
|
2014
|
+
"baseUrl",
|
|
2015
|
+
"defaultFormat",
|
|
2016
|
+
"colorEnabled"
|
|
2017
|
+
],
|
|
2018
|
+
"required": true
|
|
2019
|
+
}
|
|
2020
|
+
},
|
|
2021
|
+
"description": "Get a configuration value",
|
|
2072
2022
|
"examples": [
|
|
2073
|
-
"<%= config.bin %>
|
|
2074
|
-
"<%= config.bin %>
|
|
2023
|
+
"<%= config.bin %> config get environment",
|
|
2024
|
+
"<%= config.bin %> config get baseUrl"
|
|
2075
2025
|
],
|
|
2076
2026
|
"flags": {
|
|
2077
2027
|
"json": {
|
|
@@ -2090,27 +2040,27 @@
|
|
|
2090
2040
|
},
|
|
2091
2041
|
"hasDynamicHelp": false,
|
|
2092
2042
|
"hiddenAliases": [],
|
|
2093
|
-
"id": "
|
|
2043
|
+
"id": "config:get",
|
|
2094
2044
|
"pluginAlias": "@sendly/cli",
|
|
2095
2045
|
"pluginName": "@sendly/cli",
|
|
2096
2046
|
"pluginType": "core",
|
|
2097
2047
|
"strict": true,
|
|
2048
|
+
"enableJsonFlag": false,
|
|
2098
2049
|
"isESM": true,
|
|
2099
2050
|
"relativePath": [
|
|
2100
2051
|
"dist",
|
|
2101
2052
|
"commands",
|
|
2102
|
-
"
|
|
2103
|
-
"
|
|
2053
|
+
"config",
|
|
2054
|
+
"get.js"
|
|
2104
2055
|
]
|
|
2105
2056
|
},
|
|
2106
|
-
"
|
|
2057
|
+
"config:list": {
|
|
2107
2058
|
"aliases": [],
|
|
2108
2059
|
"args": {},
|
|
2109
|
-
"description": "
|
|
2060
|
+
"description": "List all configuration values",
|
|
2110
2061
|
"examples": [
|
|
2111
|
-
"<%= config.bin %>
|
|
2112
|
-
"<%= config.bin %>
|
|
2113
|
-
"<%= config.bin %> credits history --json"
|
|
2062
|
+
"<%= config.bin %> config list",
|
|
2063
|
+
"<%= config.bin %> config list --json"
|
|
2114
2064
|
],
|
|
2115
2065
|
"flags": {
|
|
2116
2066
|
"json": {
|
|
@@ -2125,13 +2075,148 @@
|
|
|
2125
2075
|
"name": "quiet",
|
|
2126
2076
|
"allowNo": false,
|
|
2127
2077
|
"type": "boolean"
|
|
2128
|
-
}
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2078
|
+
}
|
|
2079
|
+
},
|
|
2080
|
+
"hasDynamicHelp": false,
|
|
2081
|
+
"hiddenAliases": [],
|
|
2082
|
+
"id": "config:list",
|
|
2083
|
+
"pluginAlias": "@sendly/cli",
|
|
2084
|
+
"pluginName": "@sendly/cli",
|
|
2085
|
+
"pluginType": "core",
|
|
2086
|
+
"strict": true,
|
|
2087
|
+
"enableJsonFlag": false,
|
|
2088
|
+
"isESM": true,
|
|
2089
|
+
"relativePath": [
|
|
2090
|
+
"dist",
|
|
2091
|
+
"commands",
|
|
2092
|
+
"config",
|
|
2093
|
+
"list.js"
|
|
2094
|
+
]
|
|
2095
|
+
},
|
|
2096
|
+
"config:set": {
|
|
2097
|
+
"aliases": [],
|
|
2098
|
+
"args": {
|
|
2099
|
+
"key": {
|
|
2100
|
+
"description": "Configuration key",
|
|
2101
|
+
"name": "key",
|
|
2102
|
+
"options": [
|
|
2103
|
+
"environment",
|
|
2104
|
+
"baseUrl",
|
|
2105
|
+
"defaultFormat",
|
|
2106
|
+
"colorEnabled"
|
|
2107
|
+
],
|
|
2108
|
+
"required": true
|
|
2109
|
+
},
|
|
2110
|
+
"value": {
|
|
2111
|
+
"description": "Configuration value",
|
|
2112
|
+
"name": "value",
|
|
2113
|
+
"required": true
|
|
2114
|
+
}
|
|
2115
|
+
},
|
|
2116
|
+
"description": "Set a configuration value",
|
|
2117
|
+
"examples": [
|
|
2118
|
+
"<%= config.bin %> config set environment live",
|
|
2119
|
+
"<%= config.bin %> config set defaultFormat json",
|
|
2120
|
+
"<%= config.bin %> config set baseUrl https://api.sendly.live"
|
|
2121
|
+
],
|
|
2122
|
+
"flags": {
|
|
2123
|
+
"json": {
|
|
2124
|
+
"description": "Output in JSON format",
|
|
2125
|
+
"name": "json",
|
|
2126
|
+
"allowNo": false,
|
|
2127
|
+
"type": "boolean"
|
|
2128
|
+
},
|
|
2129
|
+
"quiet": {
|
|
2130
|
+
"char": "q",
|
|
2131
|
+
"description": "Minimal output",
|
|
2132
|
+
"name": "quiet",
|
|
2133
|
+
"allowNo": false,
|
|
2134
|
+
"type": "boolean"
|
|
2135
|
+
}
|
|
2136
|
+
},
|
|
2137
|
+
"hasDynamicHelp": false,
|
|
2138
|
+
"hiddenAliases": [],
|
|
2139
|
+
"id": "config:set",
|
|
2140
|
+
"pluginAlias": "@sendly/cli",
|
|
2141
|
+
"pluginName": "@sendly/cli",
|
|
2142
|
+
"pluginType": "core",
|
|
2143
|
+
"strict": true,
|
|
2144
|
+
"enableJsonFlag": false,
|
|
2145
|
+
"isESM": true,
|
|
2146
|
+
"relativePath": [
|
|
2147
|
+
"dist",
|
|
2148
|
+
"commands",
|
|
2149
|
+
"config",
|
|
2150
|
+
"set.js"
|
|
2151
|
+
]
|
|
2152
|
+
},
|
|
2153
|
+
"credits:balance": {
|
|
2154
|
+
"aliases": [],
|
|
2155
|
+
"args": {},
|
|
2156
|
+
"description": "Check your credit balance",
|
|
2157
|
+
"examples": [
|
|
2158
|
+
"<%= config.bin %> credits balance",
|
|
2159
|
+
"<%= config.bin %> credits balance --json"
|
|
2160
|
+
],
|
|
2161
|
+
"flags": {
|
|
2162
|
+
"json": {
|
|
2163
|
+
"description": "Output in JSON format",
|
|
2164
|
+
"name": "json",
|
|
2165
|
+
"allowNo": false,
|
|
2166
|
+
"type": "boolean"
|
|
2167
|
+
},
|
|
2168
|
+
"quiet": {
|
|
2169
|
+
"char": "q",
|
|
2170
|
+
"description": "Minimal output",
|
|
2171
|
+
"name": "quiet",
|
|
2172
|
+
"allowNo": false,
|
|
2173
|
+
"type": "boolean"
|
|
2174
|
+
}
|
|
2175
|
+
},
|
|
2176
|
+
"hasDynamicHelp": false,
|
|
2177
|
+
"hiddenAliases": [],
|
|
2178
|
+
"id": "credits:balance",
|
|
2179
|
+
"pluginAlias": "@sendly/cli",
|
|
2180
|
+
"pluginName": "@sendly/cli",
|
|
2181
|
+
"pluginType": "core",
|
|
2182
|
+
"strict": true,
|
|
2183
|
+
"isESM": true,
|
|
2184
|
+
"relativePath": [
|
|
2185
|
+
"dist",
|
|
2186
|
+
"commands",
|
|
2187
|
+
"credits",
|
|
2188
|
+
"balance.js"
|
|
2189
|
+
]
|
|
2190
|
+
},
|
|
2191
|
+
"credits:history": {
|
|
2192
|
+
"aliases": [],
|
|
2193
|
+
"args": {},
|
|
2194
|
+
"description": "View credit transaction history",
|
|
2195
|
+
"examples": [
|
|
2196
|
+
"<%= config.bin %> credits history",
|
|
2197
|
+
"<%= config.bin %> credits history --limit 10",
|
|
2198
|
+
"<%= config.bin %> credits history --json"
|
|
2199
|
+
],
|
|
2200
|
+
"flags": {
|
|
2201
|
+
"json": {
|
|
2202
|
+
"description": "Output in JSON format",
|
|
2203
|
+
"name": "json",
|
|
2204
|
+
"allowNo": false,
|
|
2205
|
+
"type": "boolean"
|
|
2206
|
+
},
|
|
2207
|
+
"quiet": {
|
|
2208
|
+
"char": "q",
|
|
2209
|
+
"description": "Minimal output",
|
|
2210
|
+
"name": "quiet",
|
|
2211
|
+
"allowNo": false,
|
|
2212
|
+
"type": "boolean"
|
|
2213
|
+
},
|
|
2214
|
+
"limit": {
|
|
2215
|
+
"char": "l",
|
|
2216
|
+
"description": "Number of transactions to show",
|
|
2217
|
+
"name": "limit",
|
|
2218
|
+
"default": 20,
|
|
2219
|
+
"hasDynamicHelp": false,
|
|
2135
2220
|
"multiple": false,
|
|
2136
2221
|
"type": "option"
|
|
2137
2222
|
}
|
|
@@ -4393,6 +4478,57 @@
|
|
|
4393
4478
|
"send.js"
|
|
4394
4479
|
]
|
|
4395
4480
|
},
|
|
4481
|
+
"sms:upload-media": {
|
|
4482
|
+
"aliases": [],
|
|
4483
|
+
"args": {
|
|
4484
|
+
"file": {
|
|
4485
|
+
"description": "Path to the image file (JPEG, PNG, or GIF)",
|
|
4486
|
+
"name": "file",
|
|
4487
|
+
"required": true
|
|
4488
|
+
}
|
|
4489
|
+
},
|
|
4490
|
+
"description": "Upload a JPEG/PNG/GIF image for MMS and get back a public URL to pass to `sms send --media`. Requires MMS to be enabled for your account.",
|
|
4491
|
+
"examples": [
|
|
4492
|
+
"<%= config.bin %> sms upload-media ./promo.jpg",
|
|
4493
|
+
"<%= config.bin %> sms upload-media ./animated.gif --json"
|
|
4494
|
+
],
|
|
4495
|
+
"flags": {
|
|
4496
|
+
"json": {
|
|
4497
|
+
"description": "Output in JSON format",
|
|
4498
|
+
"name": "json",
|
|
4499
|
+
"allowNo": false,
|
|
4500
|
+
"type": "boolean"
|
|
4501
|
+
},
|
|
4502
|
+
"quiet": {
|
|
4503
|
+
"char": "q",
|
|
4504
|
+
"description": "Minimal output",
|
|
4505
|
+
"name": "quiet",
|
|
4506
|
+
"allowNo": false,
|
|
4507
|
+
"type": "boolean"
|
|
4508
|
+
},
|
|
4509
|
+
"content-type": {
|
|
4510
|
+
"description": "Override the detected mime type",
|
|
4511
|
+
"name": "content-type",
|
|
4512
|
+
"hasDynamicHelp": false,
|
|
4513
|
+
"multiple": false,
|
|
4514
|
+
"type": "option"
|
|
4515
|
+
}
|
|
4516
|
+
},
|
|
4517
|
+
"hasDynamicHelp": false,
|
|
4518
|
+
"hiddenAliases": [],
|
|
4519
|
+
"id": "sms:upload-media",
|
|
4520
|
+
"pluginAlias": "@sendly/cli",
|
|
4521
|
+
"pluginName": "@sendly/cli",
|
|
4522
|
+
"pluginType": "core",
|
|
4523
|
+
"strict": true,
|
|
4524
|
+
"isESM": true,
|
|
4525
|
+
"relativePath": [
|
|
4526
|
+
"dist",
|
|
4527
|
+
"commands",
|
|
4528
|
+
"sms",
|
|
4529
|
+
"upload-media.js"
|
|
4530
|
+
]
|
|
4531
|
+
},
|
|
4396
4532
|
"teams:create": {
|
|
4397
4533
|
"aliases": [],
|
|
4398
4534
|
"args": {},
|
|
@@ -4825,6 +4961,72 @@
|
|
|
4825
4961
|
"delete.js"
|
|
4826
4962
|
]
|
|
4827
4963
|
},
|
|
4964
|
+
"templates:enhance": {
|
|
4965
|
+
"aliases": [],
|
|
4966
|
+
"args": {
|
|
4967
|
+
"text": {
|
|
4968
|
+
"description": "Message text to enhance (alternative to --text / --file)",
|
|
4969
|
+
"name": "text",
|
|
4970
|
+
"required": false
|
|
4971
|
+
}
|
|
4972
|
+
},
|
|
4973
|
+
"description": "AI-enhance a message template for clarity, compliance, and send-readiness. Returns the rewritten text + an explanation.",
|
|
4974
|
+
"examples": [
|
|
4975
|
+
"<%= config.bin %> templates enhance --text \"hey come check out our sale\"",
|
|
4976
|
+
"<%= config.bin %> templates enhance --file ./draft.txt --message-type marketing",
|
|
4977
|
+
"<%= config.bin %> echo \"your sale msg\" | sendly templates enhance --message-type promotional"
|
|
4978
|
+
],
|
|
4979
|
+
"flags": {
|
|
4980
|
+
"json": {
|
|
4981
|
+
"description": "Output in JSON format",
|
|
4982
|
+
"name": "json",
|
|
4983
|
+
"allowNo": false,
|
|
4984
|
+
"type": "boolean"
|
|
4985
|
+
},
|
|
4986
|
+
"quiet": {
|
|
4987
|
+
"char": "q",
|
|
4988
|
+
"description": "Minimal output",
|
|
4989
|
+
"name": "quiet",
|
|
4990
|
+
"allowNo": false,
|
|
4991
|
+
"type": "boolean"
|
|
4992
|
+
},
|
|
4993
|
+
"text": {
|
|
4994
|
+
"description": "Message text to enhance",
|
|
4995
|
+
"name": "text",
|
|
4996
|
+
"hasDynamicHelp": false,
|
|
4997
|
+
"multiple": false,
|
|
4998
|
+
"type": "option"
|
|
4999
|
+
},
|
|
5000
|
+
"file": {
|
|
5001
|
+
"description": "Read message text from a file path",
|
|
5002
|
+
"name": "file",
|
|
5003
|
+
"hasDynamicHelp": false,
|
|
5004
|
+
"multiple": false,
|
|
5005
|
+
"type": "option"
|
|
5006
|
+
},
|
|
5007
|
+
"message-type": {
|
|
5008
|
+
"description": "Hint the kind of message (e.g. marketing, transactional, notification) for targeted enhancements",
|
|
5009
|
+
"name": "message-type",
|
|
5010
|
+
"hasDynamicHelp": false,
|
|
5011
|
+
"multiple": false,
|
|
5012
|
+
"type": "option"
|
|
5013
|
+
}
|
|
5014
|
+
},
|
|
5015
|
+
"hasDynamicHelp": false,
|
|
5016
|
+
"hiddenAliases": [],
|
|
5017
|
+
"id": "templates:enhance",
|
|
5018
|
+
"pluginAlias": "@sendly/cli",
|
|
5019
|
+
"pluginName": "@sendly/cli",
|
|
5020
|
+
"pluginType": "core",
|
|
5021
|
+
"strict": true,
|
|
5022
|
+
"isESM": true,
|
|
5023
|
+
"relativePath": [
|
|
5024
|
+
"dist",
|
|
5025
|
+
"commands",
|
|
5026
|
+
"templates",
|
|
5027
|
+
"enhance.js"
|
|
5028
|
+
]
|
|
5029
|
+
},
|
|
4828
5030
|
"templates:get": {
|
|
4829
5031
|
"aliases": [],
|
|
4830
5032
|
"args": {
|
|
@@ -6394,7 +6596,7 @@
|
|
|
6394
6596
|
"overview.js"
|
|
6395
6597
|
]
|
|
6396
6598
|
},
|
|
6397
|
-
"enterprise:
|
|
6599
|
+
"enterprise:quota:get": {
|
|
6398
6600
|
"aliases": [],
|
|
6399
6601
|
"args": {
|
|
6400
6602
|
"workspaceId": {
|
|
@@ -6403,179 +6605,10 @@
|
|
|
6403
6605
|
"required": true
|
|
6404
6606
|
}
|
|
6405
6607
|
},
|
|
6406
|
-
"description": "
|
|
6608
|
+
"description": "Get message quota for an enterprise workspace",
|
|
6407
6609
|
"examples": [
|
|
6408
|
-
"<%= config.bin %> enterprise
|
|
6409
|
-
"<%= config.bin %> enterprise
|
|
6410
|
-
],
|
|
6411
|
-
"flags": {
|
|
6412
|
-
"json": {
|
|
6413
|
-
"description": "Output in JSON format",
|
|
6414
|
-
"name": "json",
|
|
6415
|
-
"allowNo": false,
|
|
6416
|
-
"type": "boolean"
|
|
6417
|
-
},
|
|
6418
|
-
"quiet": {
|
|
6419
|
-
"char": "q",
|
|
6420
|
-
"description": "Minimal output",
|
|
6421
|
-
"name": "quiet",
|
|
6422
|
-
"allowNo": false,
|
|
6423
|
-
"type": "boolean"
|
|
6424
|
-
},
|
|
6425
|
-
"name": {
|
|
6426
|
-
"char": "n",
|
|
6427
|
-
"description": "Name for the API key",
|
|
6428
|
-
"name": "name",
|
|
6429
|
-
"required": true,
|
|
6430
|
-
"hasDynamicHelp": false,
|
|
6431
|
-
"multiple": false,
|
|
6432
|
-
"type": "option"
|
|
6433
|
-
},
|
|
6434
|
-
"type": {
|
|
6435
|
-
"char": "t",
|
|
6436
|
-
"description": "Key type (test or live)",
|
|
6437
|
-
"name": "type",
|
|
6438
|
-
"default": "live",
|
|
6439
|
-
"hasDynamicHelp": false,
|
|
6440
|
-
"multiple": false,
|
|
6441
|
-
"options": [
|
|
6442
|
-
"test",
|
|
6443
|
-
"live"
|
|
6444
|
-
],
|
|
6445
|
-
"type": "option"
|
|
6446
|
-
}
|
|
6447
|
-
},
|
|
6448
|
-
"hasDynamicHelp": false,
|
|
6449
|
-
"hiddenAliases": [],
|
|
6450
|
-
"id": "enterprise:keys:create",
|
|
6451
|
-
"pluginAlias": "@sendly/cli",
|
|
6452
|
-
"pluginName": "@sendly/cli",
|
|
6453
|
-
"pluginType": "core",
|
|
6454
|
-
"strict": true,
|
|
6455
|
-
"isESM": true,
|
|
6456
|
-
"relativePath": [
|
|
6457
|
-
"dist",
|
|
6458
|
-
"commands",
|
|
6459
|
-
"enterprise",
|
|
6460
|
-
"keys",
|
|
6461
|
-
"create.js"
|
|
6462
|
-
]
|
|
6463
|
-
},
|
|
6464
|
-
"enterprise:keys:list": {
|
|
6465
|
-
"aliases": [],
|
|
6466
|
-
"args": {
|
|
6467
|
-
"workspaceId": {
|
|
6468
|
-
"description": "Workspace ID",
|
|
6469
|
-
"name": "workspaceId",
|
|
6470
|
-
"required": true
|
|
6471
|
-
}
|
|
6472
|
-
},
|
|
6473
|
-
"description": "List API keys for an enterprise workspace",
|
|
6474
|
-
"examples": [
|
|
6475
|
-
"<%= config.bin %> enterprise keys list org_abc123",
|
|
6476
|
-
"<%= config.bin %> enterprise keys list org_abc123 --json"
|
|
6477
|
-
],
|
|
6478
|
-
"flags": {
|
|
6479
|
-
"json": {
|
|
6480
|
-
"description": "Output in JSON format",
|
|
6481
|
-
"name": "json",
|
|
6482
|
-
"allowNo": false,
|
|
6483
|
-
"type": "boolean"
|
|
6484
|
-
},
|
|
6485
|
-
"quiet": {
|
|
6486
|
-
"char": "q",
|
|
6487
|
-
"description": "Minimal output",
|
|
6488
|
-
"name": "quiet",
|
|
6489
|
-
"allowNo": false,
|
|
6490
|
-
"type": "boolean"
|
|
6491
|
-
}
|
|
6492
|
-
},
|
|
6493
|
-
"hasDynamicHelp": false,
|
|
6494
|
-
"hiddenAliases": [],
|
|
6495
|
-
"id": "enterprise:keys:list",
|
|
6496
|
-
"pluginAlias": "@sendly/cli",
|
|
6497
|
-
"pluginName": "@sendly/cli",
|
|
6498
|
-
"pluginType": "core",
|
|
6499
|
-
"strict": true,
|
|
6500
|
-
"isESM": true,
|
|
6501
|
-
"relativePath": [
|
|
6502
|
-
"dist",
|
|
6503
|
-
"commands",
|
|
6504
|
-
"enterprise",
|
|
6505
|
-
"keys",
|
|
6506
|
-
"list.js"
|
|
6507
|
-
]
|
|
6508
|
-
},
|
|
6509
|
-
"enterprise:keys:revoke": {
|
|
6510
|
-
"aliases": [],
|
|
6511
|
-
"args": {
|
|
6512
|
-
"workspaceId": {
|
|
6513
|
-
"description": "Workspace ID",
|
|
6514
|
-
"name": "workspaceId",
|
|
6515
|
-
"required": true
|
|
6516
|
-
},
|
|
6517
|
-
"keyId": {
|
|
6518
|
-
"description": "API key ID to revoke",
|
|
6519
|
-
"name": "keyId",
|
|
6520
|
-
"required": true
|
|
6521
|
-
}
|
|
6522
|
-
},
|
|
6523
|
-
"description": "Revoke an API key for an enterprise workspace",
|
|
6524
|
-
"examples": [
|
|
6525
|
-
"<%= config.bin %> enterprise keys revoke org_abc123 key_xyz",
|
|
6526
|
-
"<%= config.bin %> enterprise keys revoke org_abc123 key_xyz --yes"
|
|
6527
|
-
],
|
|
6528
|
-
"flags": {
|
|
6529
|
-
"json": {
|
|
6530
|
-
"description": "Output in JSON format",
|
|
6531
|
-
"name": "json",
|
|
6532
|
-
"allowNo": false,
|
|
6533
|
-
"type": "boolean"
|
|
6534
|
-
},
|
|
6535
|
-
"quiet": {
|
|
6536
|
-
"char": "q",
|
|
6537
|
-
"description": "Minimal output",
|
|
6538
|
-
"name": "quiet",
|
|
6539
|
-
"allowNo": false,
|
|
6540
|
-
"type": "boolean"
|
|
6541
|
-
},
|
|
6542
|
-
"yes": {
|
|
6543
|
-
"char": "y",
|
|
6544
|
-
"description": "Skip confirmation prompt",
|
|
6545
|
-
"name": "yes",
|
|
6546
|
-
"allowNo": false,
|
|
6547
|
-
"type": "boolean"
|
|
6548
|
-
}
|
|
6549
|
-
},
|
|
6550
|
-
"hasDynamicHelp": false,
|
|
6551
|
-
"hiddenAliases": [],
|
|
6552
|
-
"id": "enterprise:keys:revoke",
|
|
6553
|
-
"pluginAlias": "@sendly/cli",
|
|
6554
|
-
"pluginName": "@sendly/cli",
|
|
6555
|
-
"pluginType": "core",
|
|
6556
|
-
"strict": true,
|
|
6557
|
-
"isESM": true,
|
|
6558
|
-
"relativePath": [
|
|
6559
|
-
"dist",
|
|
6560
|
-
"commands",
|
|
6561
|
-
"enterprise",
|
|
6562
|
-
"keys",
|
|
6563
|
-
"revoke.js"
|
|
6564
|
-
]
|
|
6565
|
-
},
|
|
6566
|
-
"enterprise:quota:get": {
|
|
6567
|
-
"aliases": [],
|
|
6568
|
-
"args": {
|
|
6569
|
-
"workspaceId": {
|
|
6570
|
-
"description": "Workspace ID",
|
|
6571
|
-
"name": "workspaceId",
|
|
6572
|
-
"required": true
|
|
6573
|
-
}
|
|
6574
|
-
},
|
|
6575
|
-
"description": "Get message quota for an enterprise workspace",
|
|
6576
|
-
"examples": [
|
|
6577
|
-
"<%= config.bin %> enterprise quota get org_abc123",
|
|
6578
|
-
"<%= config.bin %> enterprise quota get org_abc123 --json"
|
|
6610
|
+
"<%= config.bin %> enterprise quota get org_abc123",
|
|
6611
|
+
"<%= config.bin %> enterprise quota get org_abc123 --json"
|
|
6579
6612
|
],
|
|
6580
6613
|
"flags": {
|
|
6581
6614
|
"json": {
|
|
@@ -7134,7 +7167,176 @@
|
|
|
7134
7167
|
"workspaces",
|
|
7135
7168
|
"suspend.js"
|
|
7136
7169
|
]
|
|
7170
|
+
},
|
|
7171
|
+
"enterprise:keys:create": {
|
|
7172
|
+
"aliases": [],
|
|
7173
|
+
"args": {
|
|
7174
|
+
"workspaceId": {
|
|
7175
|
+
"description": "Workspace ID",
|
|
7176
|
+
"name": "workspaceId",
|
|
7177
|
+
"required": true
|
|
7178
|
+
}
|
|
7179
|
+
},
|
|
7180
|
+
"description": "Create an API key for an enterprise workspace",
|
|
7181
|
+
"examples": [
|
|
7182
|
+
"<%= config.bin %> enterprise keys create org_abc123 --name \"Production\"",
|
|
7183
|
+
"<%= config.bin %> enterprise keys create org_abc123 --name \"CI\" --type test"
|
|
7184
|
+
],
|
|
7185
|
+
"flags": {
|
|
7186
|
+
"json": {
|
|
7187
|
+
"description": "Output in JSON format",
|
|
7188
|
+
"name": "json",
|
|
7189
|
+
"allowNo": false,
|
|
7190
|
+
"type": "boolean"
|
|
7191
|
+
},
|
|
7192
|
+
"quiet": {
|
|
7193
|
+
"char": "q",
|
|
7194
|
+
"description": "Minimal output",
|
|
7195
|
+
"name": "quiet",
|
|
7196
|
+
"allowNo": false,
|
|
7197
|
+
"type": "boolean"
|
|
7198
|
+
},
|
|
7199
|
+
"name": {
|
|
7200
|
+
"char": "n",
|
|
7201
|
+
"description": "Name for the API key",
|
|
7202
|
+
"name": "name",
|
|
7203
|
+
"required": true,
|
|
7204
|
+
"hasDynamicHelp": false,
|
|
7205
|
+
"multiple": false,
|
|
7206
|
+
"type": "option"
|
|
7207
|
+
},
|
|
7208
|
+
"type": {
|
|
7209
|
+
"char": "t",
|
|
7210
|
+
"description": "Key type (test or live)",
|
|
7211
|
+
"name": "type",
|
|
7212
|
+
"default": "live",
|
|
7213
|
+
"hasDynamicHelp": false,
|
|
7214
|
+
"multiple": false,
|
|
7215
|
+
"options": [
|
|
7216
|
+
"test",
|
|
7217
|
+
"live"
|
|
7218
|
+
],
|
|
7219
|
+
"type": "option"
|
|
7220
|
+
}
|
|
7221
|
+
},
|
|
7222
|
+
"hasDynamicHelp": false,
|
|
7223
|
+
"hiddenAliases": [],
|
|
7224
|
+
"id": "enterprise:keys:create",
|
|
7225
|
+
"pluginAlias": "@sendly/cli",
|
|
7226
|
+
"pluginName": "@sendly/cli",
|
|
7227
|
+
"pluginType": "core",
|
|
7228
|
+
"strict": true,
|
|
7229
|
+
"isESM": true,
|
|
7230
|
+
"relativePath": [
|
|
7231
|
+
"dist",
|
|
7232
|
+
"commands",
|
|
7233
|
+
"enterprise",
|
|
7234
|
+
"keys",
|
|
7235
|
+
"create.js"
|
|
7236
|
+
]
|
|
7237
|
+
},
|
|
7238
|
+
"enterprise:keys:list": {
|
|
7239
|
+
"aliases": [],
|
|
7240
|
+
"args": {
|
|
7241
|
+
"workspaceId": {
|
|
7242
|
+
"description": "Workspace ID",
|
|
7243
|
+
"name": "workspaceId",
|
|
7244
|
+
"required": true
|
|
7245
|
+
}
|
|
7246
|
+
},
|
|
7247
|
+
"description": "List API keys for an enterprise workspace",
|
|
7248
|
+
"examples": [
|
|
7249
|
+
"<%= config.bin %> enterprise keys list org_abc123",
|
|
7250
|
+
"<%= config.bin %> enterprise keys list org_abc123 --json"
|
|
7251
|
+
],
|
|
7252
|
+
"flags": {
|
|
7253
|
+
"json": {
|
|
7254
|
+
"description": "Output in JSON format",
|
|
7255
|
+
"name": "json",
|
|
7256
|
+
"allowNo": false,
|
|
7257
|
+
"type": "boolean"
|
|
7258
|
+
},
|
|
7259
|
+
"quiet": {
|
|
7260
|
+
"char": "q",
|
|
7261
|
+
"description": "Minimal output",
|
|
7262
|
+
"name": "quiet",
|
|
7263
|
+
"allowNo": false,
|
|
7264
|
+
"type": "boolean"
|
|
7265
|
+
}
|
|
7266
|
+
},
|
|
7267
|
+
"hasDynamicHelp": false,
|
|
7268
|
+
"hiddenAliases": [],
|
|
7269
|
+
"id": "enterprise:keys:list",
|
|
7270
|
+
"pluginAlias": "@sendly/cli",
|
|
7271
|
+
"pluginName": "@sendly/cli",
|
|
7272
|
+
"pluginType": "core",
|
|
7273
|
+
"strict": true,
|
|
7274
|
+
"isESM": true,
|
|
7275
|
+
"relativePath": [
|
|
7276
|
+
"dist",
|
|
7277
|
+
"commands",
|
|
7278
|
+
"enterprise",
|
|
7279
|
+
"keys",
|
|
7280
|
+
"list.js"
|
|
7281
|
+
]
|
|
7282
|
+
},
|
|
7283
|
+
"enterprise:keys:revoke": {
|
|
7284
|
+
"aliases": [],
|
|
7285
|
+
"args": {
|
|
7286
|
+
"workspaceId": {
|
|
7287
|
+
"description": "Workspace ID",
|
|
7288
|
+
"name": "workspaceId",
|
|
7289
|
+
"required": true
|
|
7290
|
+
},
|
|
7291
|
+
"keyId": {
|
|
7292
|
+
"description": "API key ID to revoke",
|
|
7293
|
+
"name": "keyId",
|
|
7294
|
+
"required": true
|
|
7295
|
+
}
|
|
7296
|
+
},
|
|
7297
|
+
"description": "Revoke an API key for an enterprise workspace",
|
|
7298
|
+
"examples": [
|
|
7299
|
+
"<%= config.bin %> enterprise keys revoke org_abc123 key_xyz",
|
|
7300
|
+
"<%= config.bin %> enterprise keys revoke org_abc123 key_xyz --yes"
|
|
7301
|
+
],
|
|
7302
|
+
"flags": {
|
|
7303
|
+
"json": {
|
|
7304
|
+
"description": "Output in JSON format",
|
|
7305
|
+
"name": "json",
|
|
7306
|
+
"allowNo": false,
|
|
7307
|
+
"type": "boolean"
|
|
7308
|
+
},
|
|
7309
|
+
"quiet": {
|
|
7310
|
+
"char": "q",
|
|
7311
|
+
"description": "Minimal output",
|
|
7312
|
+
"name": "quiet",
|
|
7313
|
+
"allowNo": false,
|
|
7314
|
+
"type": "boolean"
|
|
7315
|
+
},
|
|
7316
|
+
"yes": {
|
|
7317
|
+
"char": "y",
|
|
7318
|
+
"description": "Skip confirmation prompt",
|
|
7319
|
+
"name": "yes",
|
|
7320
|
+
"allowNo": false,
|
|
7321
|
+
"type": "boolean"
|
|
7322
|
+
}
|
|
7323
|
+
},
|
|
7324
|
+
"hasDynamicHelp": false,
|
|
7325
|
+
"hiddenAliases": [],
|
|
7326
|
+
"id": "enterprise:keys:revoke",
|
|
7327
|
+
"pluginAlias": "@sendly/cli",
|
|
7328
|
+
"pluginName": "@sendly/cli",
|
|
7329
|
+
"pluginType": "core",
|
|
7330
|
+
"strict": true,
|
|
7331
|
+
"isESM": true,
|
|
7332
|
+
"relativePath": [
|
|
7333
|
+
"dist",
|
|
7334
|
+
"commands",
|
|
7335
|
+
"enterprise",
|
|
7336
|
+
"keys",
|
|
7337
|
+
"revoke.js"
|
|
7338
|
+
]
|
|
7137
7339
|
}
|
|
7138
7340
|
},
|
|
7139
|
-
"version": "3.
|
|
7341
|
+
"version": "3.32.0"
|
|
7140
7342
|
}
|