@@ -5,7 +5,7 @@ export default {
55 name : "Create a CodeQR Link" ,
66 description :
77 "Creates a short link in CodeQR using the CodeQR API. [See the documentation](https://codeqr.mintlify.app/api-reference/endpoint/create-a-link)" ,
8- version : "0.0.1 " ,
8+ version : "0.0.2 " ,
99 type : "action" ,
1010 props : {
1111 codeqr,
@@ -78,25 +78,6 @@ export default {
7878 description : "Enable proxy settings." ,
7979 optional : true ,
8080 } ,
81- preRedirection : {
82- type : "boolean" ,
83- label : "Pre-Redirection Page" ,
84- description :
85- "Enable a pre-redirection page before sending users to the destination URL." ,
86- optional : true ,
87- } ,
88- pageId : {
89- type : "string" ,
90- label : "Page ID" ,
91- description : "ID of your page created in CodeQR." ,
92- optional : true ,
93- } ,
94- pageUrl : {
95- type : "string" ,
96- label : "Page URL" ,
97- description : "The URL for the pre-redirect page." ,
98- optional : true ,
99- } ,
10081 rewrite : {
10182 type : "boolean" ,
10283 label : "Rewrite Link" ,
@@ -154,12 +135,6 @@ export default {
154135 description : "Whether the short link's stats are publicly accessible." ,
155136 optional : true ,
156137 } ,
157- tagIds : {
158- type : "string[]" ,
159- label : "Tag IDs" ,
160- description : "Array of tag IDs to apply to the short link." ,
161- optional : true ,
162- } ,
163138 tagNames : {
164139 type : "string[]" ,
165140 label : "Tag Names" ,
@@ -181,9 +156,6 @@ export default {
181156 image,
182157 video,
183158 proxy,
184- preRedirection,
185- pageId,
186- pageUrl,
187159 rewrite,
188160 ios,
189161 android,
@@ -192,7 +164,6 @@ export default {
192164 expiresAt,
193165 expiredUrl,
194166 publicStats,
195- tagIds,
196167 tagNames,
197168 } = this ;
198169
@@ -213,9 +184,6 @@ export default {
213184 image && ( payload . image = image ) ;
214185 video && ( payload . video = video ) ;
215186 proxy != null && ( payload . proxy = proxy ) ;
216- preRedirection != null && ( payload . preRedirection = preRedirection ) ;
217- pageId && ( payload . pageId = pageId ) ;
218- pageUrl && ( payload . pageUrl = pageUrl ) ;
219187 rewrite != null && ( payload . rewrite = rewrite ) ;
220188 ios && ( payload . ios = ios ) ;
221189 android && ( payload . android = android ) ;
@@ -226,7 +194,6 @@ export default {
226194 geo && ( payload . geo = geo ) ;
227195 publicStats != null && ( payload . publicStats = publicStats ) ;
228196
229- if ( tagIds ?. length ) payload . tagIds = tagIds ;
230197 if ( tagNames ?. length ) payload . tagNames = tagNames ;
231198
232199 const response = await this . codeqr . createLink ( {
0 commit comments