@sendly/cli 3.8.1 → 3.9.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.
@@ -1830,7 +1830,553 @@
1830
1830
  "webhooks",
1831
1831
  "update.js"
1832
1832
  ]
1833
+ },
1834
+ "templates:create": {
1835
+ "aliases": [],
1836
+ "args": {},
1837
+ "description": "Create a new SMS template",
1838
+ "examples": [
1839
+ "<%= config.bin %> templates create --name \"My OTP\" --text \"Your code is {{code}}\"",
1840
+ "<%= config.bin %> templates create --name \"Login\" --text \"{{code}} is your {{app_name}} login code\""
1841
+ ],
1842
+ "flags": {
1843
+ "json": {
1844
+ "description": "Output in JSON format",
1845
+ "name": "json",
1846
+ "allowNo": false,
1847
+ "type": "boolean"
1848
+ },
1849
+ "quiet": {
1850
+ "char": "q",
1851
+ "description": "Minimal output",
1852
+ "name": "quiet",
1853
+ "allowNo": false,
1854
+ "type": "boolean"
1855
+ },
1856
+ "name": {
1857
+ "char": "n",
1858
+ "description": "Template name",
1859
+ "name": "name",
1860
+ "required": true,
1861
+ "hasDynamicHelp": false,
1862
+ "multiple": false,
1863
+ "type": "option"
1864
+ },
1865
+ "text": {
1866
+ "char": "t",
1867
+ "description": "Message text (use {{code}} and {{app_name}} variables)",
1868
+ "name": "text",
1869
+ "required": true,
1870
+ "hasDynamicHelp": false,
1871
+ "multiple": false,
1872
+ "type": "option"
1873
+ }
1874
+ },
1875
+ "hasDynamicHelp": false,
1876
+ "hiddenAliases": [],
1877
+ "id": "templates:create",
1878
+ "pluginAlias": "@sendly/cli",
1879
+ "pluginName": "@sendly/cli",
1880
+ "pluginType": "core",
1881
+ "strict": true,
1882
+ "isESM": true,
1883
+ "relativePath": [
1884
+ "dist",
1885
+ "commands",
1886
+ "templates",
1887
+ "create.js"
1888
+ ]
1889
+ },
1890
+ "templates:delete": {
1891
+ "aliases": [],
1892
+ "args": {
1893
+ "id": {
1894
+ "description": "Template ID",
1895
+ "name": "id",
1896
+ "required": true
1897
+ }
1898
+ },
1899
+ "description": "Delete a template",
1900
+ "examples": [
1901
+ "<%= config.bin %> templates delete tpl_xxx",
1902
+ "<%= config.bin %> templates delete tpl_xxx --force"
1903
+ ],
1904
+ "flags": {
1905
+ "json": {
1906
+ "description": "Output in JSON format",
1907
+ "name": "json",
1908
+ "allowNo": false,
1909
+ "type": "boolean"
1910
+ },
1911
+ "quiet": {
1912
+ "char": "q",
1913
+ "description": "Minimal output",
1914
+ "name": "quiet",
1915
+ "allowNo": false,
1916
+ "type": "boolean"
1917
+ },
1918
+ "force": {
1919
+ "char": "f",
1920
+ "description": "Skip confirmation",
1921
+ "name": "force",
1922
+ "allowNo": false,
1923
+ "type": "boolean"
1924
+ }
1925
+ },
1926
+ "hasDynamicHelp": false,
1927
+ "hiddenAliases": [],
1928
+ "id": "templates:delete",
1929
+ "pluginAlias": "@sendly/cli",
1930
+ "pluginName": "@sendly/cli",
1931
+ "pluginType": "core",
1932
+ "strict": true,
1933
+ "isESM": true,
1934
+ "relativePath": [
1935
+ "dist",
1936
+ "commands",
1937
+ "templates",
1938
+ "delete.js"
1939
+ ]
1940
+ },
1941
+ "templates:get": {
1942
+ "aliases": [],
1943
+ "args": {
1944
+ "id": {
1945
+ "description": "Template ID",
1946
+ "name": "id",
1947
+ "required": true
1948
+ }
1949
+ },
1950
+ "description": "Get template details",
1951
+ "examples": [
1952
+ "<%= config.bin %> templates get tpl_xxx",
1953
+ "<%= config.bin %> templates get tpl_preset_2fa"
1954
+ ],
1955
+ "flags": {
1956
+ "json": {
1957
+ "description": "Output in JSON format",
1958
+ "name": "json",
1959
+ "allowNo": false,
1960
+ "type": "boolean"
1961
+ },
1962
+ "quiet": {
1963
+ "char": "q",
1964
+ "description": "Minimal output",
1965
+ "name": "quiet",
1966
+ "allowNo": false,
1967
+ "type": "boolean"
1968
+ }
1969
+ },
1970
+ "hasDynamicHelp": false,
1971
+ "hiddenAliases": [],
1972
+ "id": "templates:get",
1973
+ "pluginAlias": "@sendly/cli",
1974
+ "pluginName": "@sendly/cli",
1975
+ "pluginType": "core",
1976
+ "strict": true,
1977
+ "isESM": true,
1978
+ "relativePath": [
1979
+ "dist",
1980
+ "commands",
1981
+ "templates",
1982
+ "get.js"
1983
+ ]
1984
+ },
1985
+ "templates:list": {
1986
+ "aliases": [],
1987
+ "args": {},
1988
+ "description": "List your SMS templates",
1989
+ "examples": [
1990
+ "<%= config.bin %> templates list",
1991
+ "<%= config.bin %> templates list --json"
1992
+ ],
1993
+ "flags": {
1994
+ "json": {
1995
+ "description": "Output in JSON format",
1996
+ "name": "json",
1997
+ "allowNo": false,
1998
+ "type": "boolean"
1999
+ },
2000
+ "quiet": {
2001
+ "char": "q",
2002
+ "description": "Minimal output",
2003
+ "name": "quiet",
2004
+ "allowNo": false,
2005
+ "type": "boolean"
2006
+ }
2007
+ },
2008
+ "hasDynamicHelp": false,
2009
+ "hiddenAliases": [],
2010
+ "id": "templates:list",
2011
+ "pluginAlias": "@sendly/cli",
2012
+ "pluginName": "@sendly/cli",
2013
+ "pluginType": "core",
2014
+ "strict": true,
2015
+ "isESM": true,
2016
+ "relativePath": [
2017
+ "dist",
2018
+ "commands",
2019
+ "templates",
2020
+ "list.js"
2021
+ ]
2022
+ },
2023
+ "templates:presets": {
2024
+ "aliases": [],
2025
+ "args": {},
2026
+ "description": "List available preset templates",
2027
+ "examples": [
2028
+ "<%= config.bin %> templates presets",
2029
+ "<%= config.bin %> templates presets --json"
2030
+ ],
2031
+ "flags": {
2032
+ "json": {
2033
+ "description": "Output in JSON format",
2034
+ "name": "json",
2035
+ "allowNo": false,
2036
+ "type": "boolean"
2037
+ },
2038
+ "quiet": {
2039
+ "char": "q",
2040
+ "description": "Minimal output",
2041
+ "name": "quiet",
2042
+ "allowNo": false,
2043
+ "type": "boolean"
2044
+ }
2045
+ },
2046
+ "hasDynamicHelp": false,
2047
+ "hiddenAliases": [],
2048
+ "id": "templates:presets",
2049
+ "pluginAlias": "@sendly/cli",
2050
+ "pluginName": "@sendly/cli",
2051
+ "pluginType": "core",
2052
+ "strict": true,
2053
+ "isESM": true,
2054
+ "relativePath": [
2055
+ "dist",
2056
+ "commands",
2057
+ "templates",
2058
+ "presets.js"
2059
+ ]
2060
+ },
2061
+ "templates:publish": {
2062
+ "aliases": [],
2063
+ "args": {
2064
+ "id": {
2065
+ "description": "Template ID",
2066
+ "name": "id",
2067
+ "required": true
2068
+ }
2069
+ },
2070
+ "description": "Publish a draft template (locks it for use)",
2071
+ "examples": [
2072
+ "<%= config.bin %> templates publish tpl_xxx"
2073
+ ],
2074
+ "flags": {
2075
+ "json": {
2076
+ "description": "Output in JSON format",
2077
+ "name": "json",
2078
+ "allowNo": false,
2079
+ "type": "boolean"
2080
+ },
2081
+ "quiet": {
2082
+ "char": "q",
2083
+ "description": "Minimal output",
2084
+ "name": "quiet",
2085
+ "allowNo": false,
2086
+ "type": "boolean"
2087
+ }
2088
+ },
2089
+ "hasDynamicHelp": false,
2090
+ "hiddenAliases": [],
2091
+ "id": "templates:publish",
2092
+ "pluginAlias": "@sendly/cli",
2093
+ "pluginName": "@sendly/cli",
2094
+ "pluginType": "core",
2095
+ "strict": true,
2096
+ "isESM": true,
2097
+ "relativePath": [
2098
+ "dist",
2099
+ "commands",
2100
+ "templates",
2101
+ "publish.js"
2102
+ ]
2103
+ },
2104
+ "verify:check": {
2105
+ "aliases": [],
2106
+ "args": {
2107
+ "id": {
2108
+ "description": "Verification ID",
2109
+ "name": "id",
2110
+ "required": true
2111
+ }
2112
+ },
2113
+ "description": "Verify an OTP code",
2114
+ "examples": [
2115
+ "<%= config.bin %> verify check ver_xxx --code 123456",
2116
+ "<%= config.bin %> verify check ver_xxx -c 123456"
2117
+ ],
2118
+ "flags": {
2119
+ "json": {
2120
+ "description": "Output in JSON format",
2121
+ "name": "json",
2122
+ "allowNo": false,
2123
+ "type": "boolean"
2124
+ },
2125
+ "quiet": {
2126
+ "char": "q",
2127
+ "description": "Minimal output",
2128
+ "name": "quiet",
2129
+ "allowNo": false,
2130
+ "type": "boolean"
2131
+ },
2132
+ "code": {
2133
+ "char": "c",
2134
+ "description": "The OTP code to verify",
2135
+ "name": "code",
2136
+ "required": true,
2137
+ "hasDynamicHelp": false,
2138
+ "multiple": false,
2139
+ "type": "option"
2140
+ }
2141
+ },
2142
+ "hasDynamicHelp": false,
2143
+ "hiddenAliases": [],
2144
+ "id": "verify:check",
2145
+ "pluginAlias": "@sendly/cli",
2146
+ "pluginName": "@sendly/cli",
2147
+ "pluginType": "core",
2148
+ "strict": true,
2149
+ "isESM": true,
2150
+ "relativePath": [
2151
+ "dist",
2152
+ "commands",
2153
+ "verify",
2154
+ "check.js"
2155
+ ]
2156
+ },
2157
+ "verify:list": {
2158
+ "aliases": [],
2159
+ "args": {},
2160
+ "description": "List recent verifications",
2161
+ "examples": [
2162
+ "<%= config.bin %> verify list",
2163
+ "<%= config.bin %> verify list --limit 10",
2164
+ "<%= config.bin %> verify list --json"
2165
+ ],
2166
+ "flags": {
2167
+ "json": {
2168
+ "description": "Output in JSON format",
2169
+ "name": "json",
2170
+ "allowNo": false,
2171
+ "type": "boolean"
2172
+ },
2173
+ "quiet": {
2174
+ "char": "q",
2175
+ "description": "Minimal output",
2176
+ "name": "quiet",
2177
+ "allowNo": false,
2178
+ "type": "boolean"
2179
+ },
2180
+ "limit": {
2181
+ "char": "n",
2182
+ "description": "Number of verifications to show",
2183
+ "name": "limit",
2184
+ "default": 20,
2185
+ "hasDynamicHelp": false,
2186
+ "multiple": false,
2187
+ "type": "option"
2188
+ }
2189
+ },
2190
+ "hasDynamicHelp": false,
2191
+ "hiddenAliases": [],
2192
+ "id": "verify:list",
2193
+ "pluginAlias": "@sendly/cli",
2194
+ "pluginName": "@sendly/cli",
2195
+ "pluginType": "core",
2196
+ "strict": true,
2197
+ "isESM": true,
2198
+ "relativePath": [
2199
+ "dist",
2200
+ "commands",
2201
+ "verify",
2202
+ "list.js"
2203
+ ]
2204
+ },
2205
+ "verify:resend": {
2206
+ "aliases": [],
2207
+ "args": {
2208
+ "id": {
2209
+ "description": "Verification ID",
2210
+ "name": "id",
2211
+ "required": true
2212
+ }
2213
+ },
2214
+ "description": "Resend an OTP verification code",
2215
+ "examples": [
2216
+ "<%= config.bin %> verify resend ver_xxx",
2217
+ "<%= config.bin %> verify resend ver_xxx --json"
2218
+ ],
2219
+ "flags": {
2220
+ "json": {
2221
+ "description": "Output in JSON format",
2222
+ "name": "json",
2223
+ "allowNo": false,
2224
+ "type": "boolean"
2225
+ },
2226
+ "quiet": {
2227
+ "char": "q",
2228
+ "description": "Minimal output",
2229
+ "name": "quiet",
2230
+ "allowNo": false,
2231
+ "type": "boolean"
2232
+ }
2233
+ },
2234
+ "hasDynamicHelp": false,
2235
+ "hiddenAliases": [],
2236
+ "id": "verify:resend",
2237
+ "pluginAlias": "@sendly/cli",
2238
+ "pluginName": "@sendly/cli",
2239
+ "pluginType": "core",
2240
+ "strict": true,
2241
+ "isESM": true,
2242
+ "relativePath": [
2243
+ "dist",
2244
+ "commands",
2245
+ "verify",
2246
+ "resend.js"
2247
+ ]
2248
+ },
2249
+ "verify:send": {
2250
+ "aliases": [],
2251
+ "args": {},
2252
+ "description": "Send an OTP verification code",
2253
+ "examples": [
2254
+ "<%= config.bin %> verify send --to \"+1234567890\"",
2255
+ "<%= config.bin %> verify send --to \"+1234567890\" --app-name \"MyApp\"",
2256
+ "<%= config.bin %> verify send --to \"+1234567890\" --template tpl_preset_2fa",
2257
+ "<%= config.bin %> verify send --to \"+1234567890\" --profile vp_xxx",
2258
+ "<%= config.bin %> verify send --to \"+1234567890\" --code-length 8 --timeout 120"
2259
+ ],
2260
+ "flags": {
2261
+ "json": {
2262
+ "description": "Output in JSON format",
2263
+ "name": "json",
2264
+ "allowNo": false,
2265
+ "type": "boolean"
2266
+ },
2267
+ "quiet": {
2268
+ "char": "q",
2269
+ "description": "Minimal output",
2270
+ "name": "quiet",
2271
+ "allowNo": false,
2272
+ "type": "boolean"
2273
+ },
2274
+ "to": {
2275
+ "char": "t",
2276
+ "description": "Recipient phone number (E.164 format)",
2277
+ "name": "to",
2278
+ "required": true,
2279
+ "hasDynamicHelp": false,
2280
+ "multiple": false,
2281
+ "type": "option"
2282
+ },
2283
+ "app-name": {
2284
+ "char": "a",
2285
+ "description": "App name shown in message (defaults to your business name)",
2286
+ "name": "app-name",
2287
+ "hasDynamicHelp": false,
2288
+ "multiple": false,
2289
+ "type": "option"
2290
+ },
2291
+ "template": {
2292
+ "description": "Template ID to use (defaults to tpl_preset_otp)",
2293
+ "name": "template",
2294
+ "hasDynamicHelp": false,
2295
+ "multiple": false,
2296
+ "type": "option"
2297
+ },
2298
+ "profile": {
2299
+ "char": "p",
2300
+ "description": "Verify profile ID for preconfigured settings",
2301
+ "name": "profile",
2302
+ "hasDynamicHelp": false,
2303
+ "multiple": false,
2304
+ "type": "option"
2305
+ },
2306
+ "code-length": {
2307
+ "description": "Length of OTP code (4-10, default: 6)",
2308
+ "name": "code-length",
2309
+ "hasDynamicHelp": false,
2310
+ "multiple": false,
2311
+ "type": "option"
2312
+ },
2313
+ "timeout": {
2314
+ "description": "Code validity in seconds (60-3600, default: 300)",
2315
+ "name": "timeout",
2316
+ "hasDynamicHelp": false,
2317
+ "multiple": false,
2318
+ "type": "option"
2319
+ }
2320
+ },
2321
+ "hasDynamicHelp": false,
2322
+ "hiddenAliases": [],
2323
+ "id": "verify:send",
2324
+ "pluginAlias": "@sendly/cli",
2325
+ "pluginName": "@sendly/cli",
2326
+ "pluginType": "core",
2327
+ "strict": true,
2328
+ "isESM": true,
2329
+ "relativePath": [
2330
+ "dist",
2331
+ "commands",
2332
+ "verify",
2333
+ "send.js"
2334
+ ]
2335
+ },
2336
+ "verify:status": {
2337
+ "aliases": [],
2338
+ "args": {
2339
+ "id": {
2340
+ "description": "Verification ID",
2341
+ "name": "id",
2342
+ "required": true
2343
+ }
2344
+ },
2345
+ "description": "Get verification status",
2346
+ "examples": [
2347
+ "<%= config.bin %> verify status ver_xxx",
2348
+ "<%= config.bin %> verify status ver_xxx --json"
2349
+ ],
2350
+ "flags": {
2351
+ "json": {
2352
+ "description": "Output in JSON format",
2353
+ "name": "json",
2354
+ "allowNo": false,
2355
+ "type": "boolean"
2356
+ },
2357
+ "quiet": {
2358
+ "char": "q",
2359
+ "description": "Minimal output",
2360
+ "name": "quiet",
2361
+ "allowNo": false,
2362
+ "type": "boolean"
2363
+ }
2364
+ },
2365
+ "hasDynamicHelp": false,
2366
+ "hiddenAliases": [],
2367
+ "id": "verify:status",
2368
+ "pluginAlias": "@sendly/cli",
2369
+ "pluginName": "@sendly/cli",
2370
+ "pluginType": "core",
2371
+ "strict": true,
2372
+ "isESM": true,
2373
+ "relativePath": [
2374
+ "dist",
2375
+ "commands",
2376
+ "verify",
2377
+ "status.js"
2378
+ ]
1833
2379
  }
1834
2380
  },
1835
- "version": "3.8.1"
2381
+ "version": "3.8.2"
1836
2382
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendly/cli",
3
- "version": "3.8.1",
3
+ "version": "3.9.0",
4
4
  "type": "module",
5
5
  "description": "Sendly CLI - Send SMS from your terminal",
6
6
  "author": "Sendly <support@sendly.live>",
@@ -88,10 +88,10 @@
88
88
  ],
89
89
  "repository": {
90
90
  "type": "git",
91
- "url": "https://github.com/sendly/sendly-cli.git"
91
+ "url": "https://github.com/SendlyHQ/sendly-cli.git"
92
92
  },
93
93
  "homepage": "https://sendly.live/docs/cli",
94
94
  "bugs": {
95
- "url": "https://github.com/sendly/sendly-cli/issues"
95
+ "url": "https://github.com/SendlyHQ/sendly-cli/issues"
96
96
  }
97
97
  }