File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ import websocket = require ('websocket');
2424const  w3cWebSocket  =  websocket . w3cwebsocket ; 
2525
2626const  OPENING_MESSAGE_PARAMS_ALLOWED  =  [ 
27+   'action' , 
28+   'customization_weight' , 
29+   'processing_metrics' , 
30+   'processing_metrics_interval' , 
31+   'audio_metrics' , 
2732  'inactivity_timeout' , 
2833  'timestamps' , 
2934  'word_confidence' , 
@@ -37,7 +42,7 @@ const OPENING_MESSAGE_PARAMS_ALLOWED = [
3742  'smart_formatting' , 
3843  'speaker_labels' , 
3944  'grammar_name' , 
40-   'redaction' 
45+   'redaction' , 
4146] ; 
4247
4348const  QUERY_PARAMS_ALLOWED  =  [ 
@@ -48,9 +53,8 @@ const QUERY_PARAMS_ALLOWED = [
4853  'customization_id' , 
4954  'acoustic_customization_id' , 
5055  'access_token' , 
51-   'processing_metrics' , 
52-   'processing_metrics_interval' , 
53-   'audio_metrics' 
56+   'base_model_version' , 
57+   'x-watson-metadata' , 
5458] ; 
5559
5660interface  RecognizeStream  extends  Duplex  { 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments