You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "The file_id returned when sending the file for validation",
16
+
description: "The file_id returned when sending the file for validation. Can be found on your Zerobounce \"Validate\" tab under Results next to each filename. Click on the ID circle.",
16
17
},
17
18
fileName: {
18
19
type: "string",
19
20
label: "File Name",
20
21
description: "The filename to save the file as in the \"/tmp\" directory",
21
22
},
22
23
},
24
+
methods: {
25
+
getResultsFile({
26
+
$, ...opts
27
+
}){
28
+
returnthis.zerobounce.getResultsFile({
29
+
$,
30
+
params: {
31
+
file_id: this.fileId,
32
+
},
33
+
...opts,
34
+
});
35
+
},
36
+
asyncvalidateFileId({ $ }){
37
+
try{
38
+
constx=awaitthis.getResultsFile({
39
+
$,
40
+
});
41
+
console.log(x);
42
+
returntrue;
43
+
}catch{
44
+
thrownewConfigurationError("File not found. Make sure the File ID is correct");
0 commit comments