File tree Expand file tree Collapse file tree 4 files changed +19
-21
lines changed Expand file tree Collapse file tree 4 files changed +19
-21
lines changed Original file line number Diff line number Diff line change 11import  zohoDesk  from  "../../zoho_desk.app.mjs" ; 
2- import  constants  from  "../../common/constants.mjs" ; 
3- 
42export  default  { 
53  key : "zoho_desk-list-articles" , 
64  name : "List Articles" , 
@@ -56,11 +54,10 @@ export default {
5654      optional : true , 
5755    } , 
5856    maxResults : { 
59-       type : "integer" , 
60-       label : "Max Results" , 
61-       description : "Maximum number of articles to return. Leave blank to return all available results." , 
62-       optional : true , 
63-       default : constants . MAX_RESOURCES , 
57+       propDefinition : [ 
58+         zohoDesk , 
59+         "maxResults" , 
60+       ] , 
6461    } , 
6562  } , 
6663  async  run ( {  $ } )  { 
Original file line number Diff line number Diff line change 11import  zohoDesk  from  "../../zoho_desk.app.mjs" ; 
2- import  constants  from  "../../common/constants.mjs" ; 
3- 
42export  default  { 
53  key : "zoho_desk-list-root-categories" , 
64  name : "List Root Categories" , 
@@ -64,11 +62,10 @@ export default {
6462      optional : true , 
6563    } , 
6664    maxResults : { 
67-       type : "integer" , 
68-       label : "Max Results" , 
69-       description : "Maximum number of categories to return. Leave blank to return all available results." , 
70-       optional : true , 
71-       default : constants . MAX_RESOURCES , 
65+       propDefinition : [ 
66+         zohoDesk , 
67+         "maxResults" , 
68+       ] , 
7269    } , 
7370  } , 
7471  async  run ( {  $ } )  { 
Original file line number Diff line number Diff line change 11import  zohoDesk  from  "../../zoho_desk.app.mjs" ; 
2- import  constants  from  "../../common/constants.mjs" ; 
3- 
42export  default  { 
53  key : "zoho_desk-search-articles" , 
64  name : "Search Articles" , 
@@ -69,11 +67,10 @@ export default {
6967      ] , 
7068    } , 
7169    maxResults : { 
72-       type : "integer" , 
73-       label : "Max Results" , 
74-       description : "Maximum number of articles to return. Leave blank to return all available matches." , 
75-       optional : true , 
76-       default : constants . MAX_RESOURCES , 
70+       propDefinition : [ 
71+         zohoDesk , 
72+         "maxResults" , 
73+       ] , 
7774    } , 
7875  } , 
7976  async  run ( {  $ } )  { 
Original file line number Diff line number Diff line change @@ -128,6 +128,13 @@ export default {
128128      label : "Article ID" , 
129129      description : "The ID of the knowledge base article." , 
130130    } , 
131+     maxResults : { 
132+       type : "integer" , 
133+       label : "Max Results" , 
134+       description : `Maximum number of results to return. Set to blank to return everything.` , 
135+       optional : true , 
136+       default : constants . MAX_RESOURCES , 
137+     } , 
131138  } , 
132139  methods : { 
133140    getUrl ( url ,  path ,  apiPrefix )  { 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments