@api-doctor/cli 0.0.4 → 0.0.5

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/plugin.d.ts CHANGED
@@ -1785,6 +1785,544 @@ declare const plugin: {
1785
1785
  'Program:exit'(): void;
1786
1786
  };
1787
1787
  };
1788
+ readonly 'elevenlabs-validate-signed-url-response': {
1789
+ meta: {
1790
+ type: string;
1791
+ docs: {
1792
+ description: string;
1793
+ category: string;
1794
+ cwe: string;
1795
+ rationale: string;
1796
+ docsUrl: string;
1797
+ recommended: boolean;
1798
+ };
1799
+ messages: {
1800
+ missingValidation: string;
1801
+ };
1802
+ };
1803
+ create(context: any): {
1804
+ FunctionDeclaration(node: any): void;
1805
+ FunctionExpression(node: any): void;
1806
+ ArrowFunctionExpression(node: any): void;
1807
+ };
1808
+ };
1809
+ readonly 'elevenlabs-no-error-object-logging': {
1810
+ meta: {
1811
+ type: string;
1812
+ docs: {
1813
+ description: string;
1814
+ category: string;
1815
+ cwe: string;
1816
+ rationale: string;
1817
+ docsUrl: string;
1818
+ recommended: boolean;
1819
+ };
1820
+ messages: {
1821
+ rawErrorLogged: string;
1822
+ };
1823
+ };
1824
+ create(context: any): {
1825
+ TryStatement(node: any): void;
1826
+ };
1827
+ };
1828
+ readonly 'elevenlabs-fetch-timeout-required': {
1829
+ meta: {
1830
+ type: string;
1831
+ docs: {
1832
+ description: string;
1833
+ category: string;
1834
+ rationale: string;
1835
+ docsUrl: string;
1836
+ recommended: boolean;
1837
+ };
1838
+ messages: {
1839
+ missingTimeout: string;
1840
+ };
1841
+ };
1842
+ create(context: any): {
1843
+ CallExpression(node: any): void;
1844
+ };
1845
+ };
1846
+ readonly 'elevenlabs-validate-agent-id-format': {
1847
+ meta: {
1848
+ type: string;
1849
+ docs: {
1850
+ description: string;
1851
+ category: string;
1852
+ cwe: string;
1853
+ rationale: string;
1854
+ docsUrl: string;
1855
+ recommended: boolean;
1856
+ };
1857
+ messages: {
1858
+ missingFormatValidation: string;
1859
+ };
1860
+ };
1861
+ create(context: any): {
1862
+ FunctionDeclaration(node: any): void;
1863
+ FunctionExpression(node: any): void;
1864
+ ArrowFunctionExpression(node: any): void;
1865
+ };
1866
+ };
1867
+ readonly 'elevenlabs-secure-session-id-generation': {
1868
+ meta: {
1869
+ type: string;
1870
+ docs: {
1871
+ description: string;
1872
+ category: string;
1873
+ cwe: string;
1874
+ rationale: string;
1875
+ docsUrl: string;
1876
+ recommended: boolean;
1877
+ };
1878
+ messages: {
1879
+ insecureSessionId: string;
1880
+ };
1881
+ };
1882
+ create(context: any): {
1883
+ VariableDeclarator(node: any): void;
1884
+ };
1885
+ };
1886
+ readonly 'elevenlabs-conversation-error-recovery': {
1887
+ meta: {
1888
+ type: string;
1889
+ docs: {
1890
+ description: string;
1891
+ category: string;
1892
+ rationale: string;
1893
+ docsUrl: string;
1894
+ recommended: boolean;
1895
+ };
1896
+ messages: {
1897
+ missingLoadingReset: string;
1898
+ };
1899
+ };
1900
+ create(context: any): {
1901
+ FunctionDeclaration(node: any): void;
1902
+ FunctionExpression(node: any): void;
1903
+ ArrowFunctionExpression(node: any): void;
1904
+ };
1905
+ };
1906
+ readonly 'elevenlabs-api-version-pinning': {
1907
+ meta: {
1908
+ type: string;
1909
+ docs: {
1910
+ description: string;
1911
+ category: string;
1912
+ rationale: string;
1913
+ docsUrl: string;
1914
+ recommended: boolean;
1915
+ };
1916
+ messages: {
1917
+ missingVersionHeader: string;
1918
+ };
1919
+ };
1920
+ create(context: any): {
1921
+ CallExpression(node: any): void;
1922
+ };
1923
+ };
1924
+ readonly 'elevenlabs-check-http-status-before-json': {
1925
+ meta: {
1926
+ type: string;
1927
+ docs: {
1928
+ description: string;
1929
+ category: string;
1930
+ rationale: string;
1931
+ docsUrl: string;
1932
+ recommended: boolean;
1933
+ };
1934
+ messages: {
1935
+ missingStatusCheck: string;
1936
+ };
1937
+ };
1938
+ create(context: any): {
1939
+ FunctionDeclaration(node: any): void;
1940
+ FunctionExpression(node: any): void;
1941
+ ArrowFunctionExpression(node: any): void;
1942
+ };
1943
+ };
1944
+ readonly 'elevenlabs-conversation-cleanup-on-error': {
1945
+ meta: {
1946
+ type: string;
1947
+ docs: {
1948
+ description: string;
1949
+ category: string;
1950
+ rationale: string;
1951
+ docsUrl: string;
1952
+ recommended: boolean;
1953
+ };
1954
+ messages: {
1955
+ missingTryCatch: string;
1956
+ };
1957
+ };
1958
+ create(context: any): {
1959
+ 'Program:exit'(program: any): void;
1960
+ };
1961
+ };
1962
+ readonly 'elevenlabs-env-var-validation': {
1963
+ meta: {
1964
+ type: string;
1965
+ docs: {
1966
+ description: string;
1967
+ category: string;
1968
+ rationale: string;
1969
+ docsUrl: string;
1970
+ recommended: boolean;
1971
+ };
1972
+ messages: {
1973
+ missingStartupValidation: string;
1974
+ };
1975
+ };
1976
+ create(context: any): {
1977
+ 'Program:exit'(program: any): void;
1978
+ };
1979
+ };
1980
+ readonly 'twilio-validate-webhook-signature': {
1981
+ meta: {
1982
+ type: string;
1983
+ docs: {
1984
+ description: string;
1985
+ category: string;
1986
+ cwe: string;
1987
+ owasp: string;
1988
+ rationale: string;
1989
+ docsUrl: string;
1990
+ recommended: boolean;
1991
+ };
1992
+ messages: {
1993
+ missingSignatureValidation: string;
1994
+ };
1995
+ };
1996
+ create(context: any): {
1997
+ 'Program:exit'(program: any): void;
1998
+ };
1999
+ };
2000
+ readonly 'twilio-taskrouter-attributes-match-consumer': {
2001
+ meta: {
2002
+ type: string;
2003
+ docs: {
2004
+ description: string;
2005
+ category: string;
2006
+ rationale: string;
2007
+ docsUrl: string;
2008
+ recommended: boolean;
2009
+ };
2010
+ messages: {
2011
+ attributeMismatch: string;
2012
+ };
2013
+ };
2014
+ create(context: any): {
2015
+ 'Program:exit'(program: any): void;
2016
+ };
2017
+ };
2018
+ readonly 'twilio-enqueue-task-json-stringify': {
2019
+ meta: {
2020
+ type: string;
2021
+ docs: {
2022
+ description: string;
2023
+ category: string;
2024
+ cwe: string;
2025
+ owasp: string;
2026
+ rationale: string;
2027
+ docsUrl: string;
2028
+ recommended: boolean;
2029
+ };
2030
+ messages: {
2031
+ rawJsonInterpolation: string;
2032
+ };
2033
+ };
2034
+ create(context: any): {
2035
+ CallExpression(node: any): void;
2036
+ };
2037
+ };
2038
+ readonly 'twilio-media-streams-key-by-call-sid': {
2039
+ meta: {
2040
+ type: string;
2041
+ docs: {
2042
+ description: string;
2043
+ category: string;
2044
+ rationale: string;
2045
+ docsUrl: string;
2046
+ recommended: boolean;
2047
+ };
2048
+ messages: {
2049
+ keyedByPhoneNumber: string;
2050
+ };
2051
+ };
2052
+ create(context: any): {
2053
+ 'Program:exit'(program: any): void;
2054
+ };
2055
+ };
2056
+ readonly 'twilio-await-or-catch-rest-calls-in-event-handlers': {
2057
+ meta: {
2058
+ type: string;
2059
+ docs: {
2060
+ description: string;
2061
+ category: string;
2062
+ rationale: string;
2063
+ docsUrl: string;
2064
+ recommended: boolean;
2065
+ };
2066
+ messages: {
2067
+ missingTryCatch: string;
2068
+ };
2069
+ };
2070
+ create(context: any): {
2071
+ CallExpression(node: any): void;
2072
+ };
2073
+ };
2074
+ readonly 'twilio-use-twiml-builder-not-string-templates': {
2075
+ meta: {
2076
+ type: string;
2077
+ docs: {
2078
+ description: string;
2079
+ category: string;
2080
+ cwe: string;
2081
+ rationale: string;
2082
+ docsUrl: string;
2083
+ recommended: boolean;
2084
+ };
2085
+ messages: {
2086
+ rawTwimlTemplate: string;
2087
+ };
2088
+ };
2089
+ create(context: any): {
2090
+ TemplateLiteral(node: any): void;
2091
+ };
2092
+ };
2093
+ readonly 'twilio-media-streams-mark-pacing': {
2094
+ meta: {
2095
+ type: string;
2096
+ docs: {
2097
+ description: string;
2098
+ category: string;
2099
+ rationale: string;
2100
+ docsUrl: string;
2101
+ recommended: boolean;
2102
+ };
2103
+ messages: {
2104
+ noMarkPacing: string;
2105
+ };
2106
+ };
2107
+ create(context: any): {
2108
+ 'Program:exit'(program: any): void;
2109
+ };
2110
+ };
2111
+ readonly 'twilio-validate-all-request-inputs': {
2112
+ meta: {
2113
+ type: string;
2114
+ docs: {
2115
+ description: string;
2116
+ category: string;
2117
+ rationale: string;
2118
+ docsUrl: string;
2119
+ recommended: boolean;
2120
+ };
2121
+ messages: {
2122
+ missingQuerystringSchema: string;
2123
+ missingSchemaEntirely: string;
2124
+ };
2125
+ };
2126
+ create(context: any): {
2127
+ CallExpression(node: any): void;
2128
+ };
2129
+ };
2130
+ readonly 'twilio-media-streams-mark-name-string': {
2131
+ meta: {
2132
+ type: string;
2133
+ docs: {
2134
+ description: string;
2135
+ category: string;
2136
+ rationale: string;
2137
+ docsUrl: string;
2138
+ recommended: boolean;
2139
+ };
2140
+ messages: {
2141
+ markNameNotString: string;
2142
+ };
2143
+ };
2144
+ create(context: any): {
2145
+ Property(node: any): void;
2146
+ };
2147
+ };
2148
+ readonly 'openai-realtime-migrate-beta-to-ga': {
2149
+ meta: {
2150
+ type: string;
2151
+ docs: {
2152
+ description: string;
2153
+ category: string;
2154
+ docsUrl: string;
2155
+ rationale: string;
2156
+ recommended: boolean;
2157
+ };
2158
+ messages: {
2159
+ betaHeaderPresent: string;
2160
+ };
2161
+ schema: never[];
2162
+ };
2163
+ create(context: any): {
2164
+ Program(node: any): void;
2165
+ NewExpression(node: any): void;
2166
+ };
2167
+ };
2168
+ readonly 'openai-realtime-no-log-raw-message-payloads': {
2169
+ meta: {
2170
+ type: string;
2171
+ docs: {
2172
+ description: string;
2173
+ category: string;
2174
+ cwe: string;
2175
+ docsUrl: string;
2176
+ rationale: string;
2177
+ recommended: boolean;
2178
+ };
2179
+ messages: {
2180
+ rawPayloadLogged: string;
2181
+ };
2182
+ schema: never[];
2183
+ };
2184
+ create(context: any): {
2185
+ Program(node: any): void;
2186
+ CallExpression(node: any): void;
2187
+ };
2188
+ };
2189
+ readonly 'openai-realtime-handle-error-server-event': {
2190
+ meta: {
2191
+ type: string;
2192
+ docs: {
2193
+ description: string;
2194
+ category: string;
2195
+ docsUrl: string;
2196
+ rationale: string;
2197
+ recommended: boolean;
2198
+ };
2199
+ messages: {
2200
+ missingErrorBranch: string;
2201
+ };
2202
+ schema: never[];
2203
+ };
2204
+ create(context: any): {
2205
+ Program(node: any): void;
2206
+ CallExpression(node: any): void;
2207
+ };
2208
+ };
2209
+ readonly 'openai-realtime-reconnect-on-drop': {
2210
+ meta: {
2211
+ type: string;
2212
+ docs: {
2213
+ description: string;
2214
+ category: string;
2215
+ docsUrl: string;
2216
+ rationale: string;
2217
+ recommended: boolean;
2218
+ };
2219
+ messages: {
2220
+ noReconnectAttempt: string;
2221
+ };
2222
+ schema: never[];
2223
+ };
2224
+ create(context: any): {
2225
+ Program(node: any): void;
2226
+ CallExpression(node: any): void;
2227
+ };
2228
+ };
2229
+ readonly 'openai-realtime-avoid-dated-preview-snapshots': {
2230
+ meta: {
2231
+ type: string;
2232
+ docs: {
2233
+ description: string;
2234
+ category: string;
2235
+ docsUrl: string;
2236
+ rationale: string;
2237
+ recommended: boolean;
2238
+ };
2239
+ messages: {
2240
+ datedPreviewSnapshot: string;
2241
+ };
2242
+ schema: never[];
2243
+ };
2244
+ create(context: any): {
2245
+ Program(node: any): void;
2246
+ NewExpression(node: any): void;
2247
+ };
2248
+ };
2249
+ readonly 'openai-realtime-verify-deprecated-session-fields': {
2250
+ meta: {
2251
+ type: string;
2252
+ docs: {
2253
+ description: string;
2254
+ category: string;
2255
+ docsUrl: string;
2256
+ rationale: string;
2257
+ recommended: boolean;
2258
+ };
2259
+ messages: {
2260
+ unverifiedTemperatureField: string;
2261
+ };
2262
+ schema: never[];
2263
+ };
2264
+ create(context: any): {
2265
+ ObjectExpression(node: any): void;
2266
+ };
2267
+ };
2268
+ readonly 'openai-realtime-buffer-audio-until-session-ready': {
2269
+ meta: {
2270
+ type: string;
2271
+ docs: {
2272
+ description: string;
2273
+ category: string;
2274
+ docsUrl: string;
2275
+ rationale: string;
2276
+ recommended: boolean;
2277
+ };
2278
+ messages: {
2279
+ audioDroppedNotBuffered: string;
2280
+ };
2281
+ schema: never[];
2282
+ };
2283
+ create(context: any): {
2284
+ IfStatement(node: any): void;
2285
+ };
2286
+ };
2287
+ readonly 'openai-realtime-send-safety-identifier': {
2288
+ meta: {
2289
+ type: string;
2290
+ docs: {
2291
+ description: string;
2292
+ category: string;
2293
+ docsUrl: string;
2294
+ rationale: string;
2295
+ recommended: boolean;
2296
+ };
2297
+ messages: {
2298
+ missingSafetyIdentifier: string;
2299
+ };
2300
+ schema: never[];
2301
+ };
2302
+ create(context: any): {
2303
+ Program(node: any): void;
2304
+ NewExpression(node: any): void;
2305
+ };
2306
+ };
2307
+ readonly 'openai-realtime-transcription-model-choice': {
2308
+ meta: {
2309
+ type: string;
2310
+ docs: {
2311
+ description: string;
2312
+ category: string;
2313
+ docsUrl: string;
2314
+ rationale: string;
2315
+ recommended: boolean;
2316
+ };
2317
+ messages: {
2318
+ nonStreamingTranscriptionModel: string;
2319
+ };
2320
+ schema: never[];
2321
+ };
2322
+ create(context: any): {
2323
+ ObjectExpression(node: any): void;
2324
+ };
2325
+ };
1788
2326
  };
1789
2327
  };
1790
2328