mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-07-09 16:09:13 +00:00
Bump version to 1.0.37 (#6208)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
d0939e0072
commit
a75e6c0cb1
240 changed files with 7485 additions and 1430 deletions
|
|
@ -41,9 +41,7 @@ import { SkyvernClient } from "@skyvern/client";
|
|||
const client = new SkyvernClient({ apiKey: "YOUR_API_KEY" });
|
||||
await client.runTask({
|
||||
"x-user-agent": "x-user-agent",
|
||||
body: {
|
||||
prompt: "Find the top 3 posts on Hacker News."
|
||||
}
|
||||
prompt: "Find the top 3 posts on Hacker News."
|
||||
});
|
||||
```
|
||||
|
||||
|
|
|
|||
436
skyvern-ts/client/package-lock.json
generated
436
skyvern-ts/client/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@skyvern/client",
|
||||
"version": "1.0.32",
|
||||
"version": "1.0.37",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@skyvern/client",
|
||||
"version": "1.0.32",
|
||||
"version": "1.0.37",
|
||||
"dependencies": {
|
||||
"playwright": "^1.48.0"
|
||||
},
|
||||
|
|
@ -842,9 +842,9 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@rollup/rollup-android-arm-eabi": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.2.tgz",
|
||||
"integrity": "sha512-dnlp69efPPg6Uaw2dVqzWRfAWRnYVb1XJ8CyyhIbZeaq4CA5/mLeZ1IEt9QqQxmbdvagjLIm2ZL8BxXv5lH4Yw==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.4.tgz",
|
||||
"integrity": "sha512-F5QXMSiFebS9hKZj02XhWLLnRpJ3B3AROP0tWbFBSj+6kCbg5m9j5JoHKd4mmSVy5mS/IMQloYgYxCuJC0fxEQ==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
|
|
@ -856,9 +856,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-android-arm64": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.60.2.tgz",
|
||||
"integrity": "sha512-OqZTwDRDchGRHHm/hwLOL7uVPB9aUvI0am/eQuWMNyFHf5PSEQmyEeYYheA0EPPKUO/l0uigCp+iaTjoLjVoHg==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.60.4.tgz",
|
||||
"integrity": "sha512-GxxTKApUpzRhof7poWvCJHRF51C67u1R7D6DiluBE8wKU1u5GWE8t+v81JvJYtbawoBFX1hLv5Ei4eVjkWokaw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -870,9 +870,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-darwin-arm64": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.60.2.tgz",
|
||||
"integrity": "sha512-UwRE7CGpvSVEQS8gUMBe1uADWjNnVgP3Iusyda1nSRwNDCsRjnGc7w6El6WLQsXmZTbLZx9cecegumcitNfpmA==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.60.4.tgz",
|
||||
"integrity": "sha512-tua0TaJxMOB1R0V0RS1jFZ/RpURFDJIOR2A6jWwQeawuFyS4gBW+rntLRaQd0EQ4bd6Vp44Z2rXW+YYDBsj6IA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -884,9 +884,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-darwin-x64": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.60.2.tgz",
|
||||
"integrity": "sha512-gjEtURKLCC5VXm1I+2i1u9OhxFsKAQJKTVB8WvDAHF+oZlq0GTVFOlTlO1q3AlCTE/DF32c16ESvfgqR7343/g==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.60.4.tgz",
|
||||
"integrity": "sha512-CSKq7MsP+5PFIcydhAiR1K0UhEI1A2jWXVKHPCBZ151yOutENwvnPocgVHkivu2kviURtCEB6zUQw0vs8RrhMg==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -898,9 +898,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-freebsd-arm64": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.60.2.tgz",
|
||||
"integrity": "sha512-Bcl6CYDeAgE70cqZaMojOi/eK63h5Me97ZqAQoh77VPjMysA/4ORQBRGo3rRy45x4MzVlU9uZxs8Uwy7ZaKnBw==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.60.4.tgz",
|
||||
"integrity": "sha512-+O8OkVdyvXMtJEciu2wS/pzm1IxntEEQx3z5TAVy4l32G0etZn+RsA48ARRrFm6Ri8fvqPQfgrvNxSjKAbnd3g==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -912,9 +912,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-freebsd-x64": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.60.2.tgz",
|
||||
"integrity": "sha512-LU+TPda3mAE2QB0/Hp5VyeKJivpC6+tlOXd1VMoXV/YFMvk/MNk5iXeBfB4MQGRWyOYVJ01625vjkr0Az98OJQ==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.60.4.tgz",
|
||||
"integrity": "sha512-Iw3oMskH3AfNuhU0MSN7vNbdi4me/NiYo2azqPz/Le16zHSa+3RRmliCMWWQmh4lcndccU40xcJuTYJZxNo/lw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -926,9 +926,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-arm-gnueabihf": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.60.2.tgz",
|
||||
"integrity": "sha512-2QxQrM+KQ7DAW4o22j+XZ6RKdxjLD7BOWTP0Bv0tmjdyhXSsr2Ul1oJDQqh9Zf5qOwTuTc7Ek83mOFaKnodPjg==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.60.4.tgz",
|
||||
"integrity": "sha512-EIPRXTVQpHyF8WOo219AD2yEltPehLTcTMz2fn6JsatLYSzQf00hj3rulF+yauOlF9/FtM2WpkT/hJh/KJFGhA==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
|
|
@ -943,9 +943,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-arm-musleabihf": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.60.2.tgz",
|
||||
"integrity": "sha512-TbziEu2DVsTEOPif2mKWkMeDMLoYjx95oESa9fkQQK7r/Orta0gnkcDpzwufEcAO2BLBsD7mZkXGFqEdMRRwfw==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.60.4.tgz",
|
||||
"integrity": "sha512-J3Yh9PzzF1Ovah2At+lHiGQdsYgArxBbXv/zHfSyaiFQEqvNv7DcW98pCrmdjCZBrqBiKrKKe2V+aaSGWuBe/w==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
|
|
@ -960,9 +960,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-arm64-gnu": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.60.2.tgz",
|
||||
"integrity": "sha512-bO/rVDiDUuM2YfuCUwZ1t1cP+/yqjqz+Xf2VtkdppefuOFS2OSeAfgafaHNkFn0t02hEyXngZkxtGqXcXwO8Rg==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.60.4.tgz",
|
||||
"integrity": "sha512-BFDEZMYfUvLn37ONE1yMBojPxnMlTFsdyNoqncT0qFq1mAfllL+ATMMJd8TeuVMiX84s1KbcxcZbXInmcO2mRg==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -977,9 +977,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-arm64-musl": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.60.2.tgz",
|
||||
"integrity": "sha512-hr26p7e93Rl0Za+JwW7EAnwAvKkehh12BU1Llm9Ykiibg4uIr2rbpxG9WCf56GuvidlTG9KiiQT/TXT1yAWxTA==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.60.4.tgz",
|
||||
"integrity": "sha512-pc9EYOSlOgdQ2uPl1o9PF6/kLSgaUosia7gOuS8mB69IxJvlclko1MECXysjs5ryez1/5zjYqx3+xYU0TU6R1A==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -994,9 +994,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-loong64-gnu": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.60.2.tgz",
|
||||
"integrity": "sha512-pOjB/uSIyDt+ow3k/RcLvUAOGpysT2phDn7TTUB3n75SlIgZzM6NKAqlErPhoFU+npgY3/n+2HYIQVbF70P9/A==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.60.4.tgz",
|
||||
"integrity": "sha512-NxnomyxYerDh5n4iLrNa+sH+Z+U4BMEE46V2PgQ/hoB909i8gV1M5wPojWg9fk1jWpO3IQnOs20K4wyZuFLEFQ==",
|
||||
"cpu": [
|
||||
"loong64"
|
||||
],
|
||||
|
|
@ -1011,9 +1011,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-loong64-musl": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.60.2.tgz",
|
||||
"integrity": "sha512-2/w+q8jszv9Ww1c+6uJT3OwqhdmGP2/4T17cu8WuwyUuuaCDDJ2ojdyYwZzCxx0GcsZBhzi3HmH+J5pZNXnd+Q==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.60.4.tgz",
|
||||
"integrity": "sha512-nbJnQ8a3z1mtmrwImCYhc6BGpThAyYVRQxw9uKSKG4wR6aAYno9sVjJ0zaZcW9BPJX1GbrDPf+SvdWjgTuDmnw==",
|
||||
"cpu": [
|
||||
"loong64"
|
||||
],
|
||||
|
|
@ -1028,9 +1028,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-ppc64-gnu": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.60.2.tgz",
|
||||
"integrity": "sha512-11+aL5vKheYgczxtPVVRhdptAM2H7fcDR5Gw4/bTcteuZBlH4oP9f5s9zYO9aGZvoGeBpqXI/9TZZihZ609wKw==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.60.4.tgz",
|
||||
"integrity": "sha512-2EU6acNrQLd8tYvo/LXW535wupT3m6fo7HKo6lr7ktQoItxTyOL1ZCR/GfGCuXl2vR+zmfI6eRXkSemafv+iVg==",
|
||||
"cpu": [
|
||||
"ppc64"
|
||||
],
|
||||
|
|
@ -1045,9 +1045,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-ppc64-musl": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.60.2.tgz",
|
||||
"integrity": "sha512-i16fokAGK46IVZuV8LIIwMdtqhin9hfYkCh8pf8iC3QU3LpwL+1FSFGej+O7l3E/AoknL6Dclh2oTdnRMpTzFQ==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.60.4.tgz",
|
||||
"integrity": "sha512-WeBtoMuaMxiiIrO2IYP3xs6GMWkJP2C0EoT8beTLkUPmzV1i/UcOSVw1d5r9KBODtHKilG5yFxsGRnBbK3wJ4A==",
|
||||
"cpu": [
|
||||
"ppc64"
|
||||
],
|
||||
|
|
@ -1062,9 +1062,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-riscv64-gnu": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.60.2.tgz",
|
||||
"integrity": "sha512-49FkKS6RGQoriDSK/6E2GkAsAuU5kETFCh7pG4yD/ylj9rKhTmO3elsnmBvRD4PgJPds5W2PkhC82aVwmUcJ7A==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.60.4.tgz",
|
||||
"integrity": "sha512-FJHFfqpKUI3A10WrWKiFbBZ7yVbGT4q4B5o1qKFFojqpaYoh9LrQgqWCmmcxQzVSXYtyB5bzkXrYzlHTs21MYA==",
|
||||
"cpu": [
|
||||
"riscv64"
|
||||
],
|
||||
|
|
@ -1079,9 +1079,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-riscv64-musl": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.60.2.tgz",
|
||||
"integrity": "sha512-mjYNkHPfGpUR00DuM1ZZIgs64Hpf4bWcz9Z41+4Q+pgDx73UwWdAYyf6EG/lRFldmdHHzgrYyge5akFUW0D3mQ==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.60.4.tgz",
|
||||
"integrity": "sha512-mcEl6CUT5IAUmQf1m9FYSmVqCJlpQ8r8eyftFUHG8i9OhY7BkBXSUdnLH5DOf0wCOjcP9v/QO93zpmF1SptCCw==",
|
||||
"cpu": [
|
||||
"riscv64"
|
||||
],
|
||||
|
|
@ -1096,9 +1096,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-s390x-gnu": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.60.2.tgz",
|
||||
"integrity": "sha512-ALyvJz965BQk8E9Al/JDKKDLH2kfKFLTGMlgkAbbYtZuJt9LU8DW3ZoDMCtQpXAltZxwBHevXz5u+gf0yA0YoA==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.60.4.tgz",
|
||||
"integrity": "sha512-ynt3JxVd2w2buzoKDWIyiV1pJW93xlQic1THVLXilz429oijRpSHivZAgp65KBu+cMcgf1eVVjdnTLvPxgCuoQ==",
|
||||
"cpu": [
|
||||
"s390x"
|
||||
],
|
||||
|
|
@ -1113,9 +1113,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-x64-gnu": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.2.tgz",
|
||||
"integrity": "sha512-UQjrkIdWrKI626Du8lCQ6MJp/6V1LAo2bOK9OTu4mSn8GGXIkPXk/Vsp4bLHCd9Z9Iz2OTEaokUE90VweJgIYQ==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.4.tgz",
|
||||
"integrity": "sha512-Boiz5+MsaROEWDf+GGEwF8VMHGhlUoQMtIPjOgA5fv4osupqTVnJteQNKJwUcnUog2G55jYXH7KZFFiJe0TEzQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -1130,9 +1130,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-x64-musl": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.2.tgz",
|
||||
"integrity": "sha512-bTsRGj6VlSdn/XD4CGyzMnzaBs9bsRxy79eTqTCBsA8TMIEky7qg48aPkvJvFe1HyzQ5oMZdg7AnVlWQSKLTnw==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.4.tgz",
|
||||
"integrity": "sha512-+qfSY27qIrFfI/Hom04KYFw3GKZSGU4lXus51wsb5EuySfFlWRwjkKWoE9emgRw/ukoT4Udsj4W/+xxG8VbPKg==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -1147,9 +1147,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-openbsd-x64": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.60.2.tgz",
|
||||
"integrity": "sha512-6d4Z3534xitaA1FcMWP7mQPq5zGwBmGbhphh2DwaA1aNIXUu3KTOfwrWpbwI4/Gr0uANo7NTtaykFyO2hPuFLg==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.60.4.tgz",
|
||||
"integrity": "sha512-VpTfOPHgVXEBeeR8hZ2O0F3aSso+JDWqTWmTmzcQKted54IAdUVbxE+j/MVxUsKa8L20HJhv3vUezVPoquqWjA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -1161,9 +1161,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-openharmony-arm64": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.60.2.tgz",
|
||||
"integrity": "sha512-NetAg5iO2uN7eB8zE5qrZ3CSil+7IJt4WDFLcC75Ymywq1VZVD6qJ6EvNLjZ3rEm6gB7XW5JdT60c6MN35Z85Q==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.60.4.tgz",
|
||||
"integrity": "sha512-IPOsh5aRYuLv/nkU51X10Bf75Bsf6+gZdx1X+QP5QM6lIJFHHqbHLG0uJn/hWthzo13UAc2umiUorqZy3axoZg==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -1175,9 +1175,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-win32-arm64-msvc": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.60.2.tgz",
|
||||
"integrity": "sha512-NCYhOotpgWZ5kdxCZsv6Iudx0wX8980Q/oW4pNFNihpBKsDbEA1zpkfxJGC0yugsUuyDZ7gL37dbzwhR0VI7pQ==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.60.4.tgz",
|
||||
"integrity": "sha512-4QzE9E81OohJ/HKzHhsqU+zcYYojVOXlFMs1DdyMT6qXl/niOH7AVElmmEdUNHHS/oRkc++d5k6Vy85zFs0DEw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -1189,9 +1189,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-win32-ia32-msvc": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.60.2.tgz",
|
||||
"integrity": "sha512-RXsaOqXxfoUBQoOgvmmijVxJnW2IGB0eoMO7F8FAjaj0UTywUO/luSqimWBJn04WNgUkeNhh7fs7pESXajWmkg==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.60.4.tgz",
|
||||
"integrity": "sha512-zTPgT1YuHHcd+Tmx7h8aml0FWFVelV5N54oHow9SLj+GfoDy/huQ+UV396N/C7KpMDMiPspRktzM1/0r1usYEA==",
|
||||
"cpu": [
|
||||
"ia32"
|
||||
],
|
||||
|
|
@ -1203,9 +1203,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-win32-x64-gnu": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.2.tgz",
|
||||
"integrity": "sha512-qdAzEULD+/hzObedtmV6iBpdL5TIbKVztGiK7O3/KYSf+HIzU257+MX1EXJcyIiDbMAqmbwaufcYPvyRryeZtA==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.4.tgz",
|
||||
"integrity": "sha512-DRS4G7mi9lJxqEDezIkKCaUIKCrLUUDCUaCsTPCi/rtqaC6D/jjwslMQyiDU50Ka0JKpeXeRBFBAXwArY52vBw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -1217,9 +1217,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-win32-x64-msvc": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.2.tgz",
|
||||
"integrity": "sha512-Nd/SgG27WoA9e+/TdK74KnHz852TLa94ovOYySo/yMPuTmpckK/jIF2jSwS3g7ELSKXK13/cVdmg1Z/DaCWKxA==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.4.tgz",
|
||||
"integrity": "sha512-QVTUovf40zgTqlFVrKA1uXMVvU2QWEFWfAH8Wdc48IxLvrJMQVMBRjuQyUpzZCDkakImib9eVazbWlC6ksWtJw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -1255,32 +1255,10 @@
|
|||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/eslint": {
|
||||
"version": "9.6.1",
|
||||
"resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz",
|
||||
"integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/estree": "*",
|
||||
"@types/json-schema": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/eslint-scope": {
|
||||
"version": "3.7.7",
|
||||
"resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz",
|
||||
"integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/eslint": "*",
|
||||
"@types/estree": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/estree": {
|
||||
"version": "1.0.8",
|
||||
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
|
||||
"integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
|
||||
"version": "1.0.9",
|
||||
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
|
||||
"integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
|
|
@ -1682,9 +1660,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/baseline-browser-mapping": {
|
||||
"version": "2.10.25",
|
||||
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.25.tgz",
|
||||
"integrity": "sha512-QO/VHsXCQdnzADMfmkeOPvHdIAkoB7i0/rGjINPJEetLx75hNttVWGQ/jycHUDP9zZ9rupbm60WRxcwViB0MiA==",
|
||||
"version": "2.10.32",
|
||||
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.32.tgz",
|
||||
"integrity": "sha512-wbPvpyjJPC0zdfdKXxqEL3Ea+bOMD/87X4lftiJkkaBiuG6ALQy1SLmEd7BSmVCuwCQsBrCamgBoLyfFDD1EPg==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
|
|
@ -1759,9 +1737,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/caniuse-lite": {
|
||||
"version": "1.0.30001791",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001791.tgz",
|
||||
"integrity": "sha512-yk0l/YSrOnFZk3UROpDLQD9+kC1l4meK/wed583AXrzoarMGJcbRi2Q4RaUYbKxYAsZ8sWmaSa/DsLmdBeI1vQ==",
|
||||
"version": "1.0.30001793",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001793.tgz",
|
||||
"integrity": "sha512-iwSsYWaCOoh26cV8NwNRViHlrfUvYsHDfRVcbtmw0Kg6PJIZZXwMkj1442FYLBGkeUf1juAsU3DTfxW579mrPA==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -1942,9 +1920,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/electron-to-chromium": {
|
||||
"version": "1.5.348",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.348.tgz",
|
||||
"integrity": "sha512-QC2X59nRlycQQMc4ZXjSVBX+tSgJfgRtcrYHbIZLgOV2dCvefoQGegLR7lLXKgpPpSuVmJU19LMzGrSa2C7k3Q==",
|
||||
"version": "1.5.364",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.364.tgz",
|
||||
"integrity": "sha512-G/dYE3+AYhyHwzTwg8UbnXf7zqMERYh7l2jJ3QujhFsH8agSYwtnGAR2aZ7f0AakIKJXd5En/Hre4igIUrdlYw==",
|
||||
"dev": true,
|
||||
"license": "ISC"
|
||||
},
|
||||
|
|
@ -1956,9 +1934,9 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/enhanced-resolve": {
|
||||
"version": "5.21.0",
|
||||
"resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.21.0.tgz",
|
||||
"integrity": "sha512-otxSQPw4lkOZWkHpB3zaEQs6gWYEsmX4xQF68ElXC/TWvGxGMSGOvoNbaLXm6/cS/fSfHtsEdw90y20PCd+sCA==",
|
||||
"version": "5.22.1",
|
||||
"resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.22.1.tgz",
|
||||
"integrity": "sha512-6QEuw3zoX1SJQc7b87aBXke/no+mG2bTBgw29gWMQonLmpEkWoCAVkl+M49e48AZlWzxiDzDZzYdp6kobcyLww==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -2113,9 +2091,9 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/fast-uri": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz",
|
||||
"integrity": "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==",
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.2.tgz",
|
||||
"integrity": "sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -2181,9 +2159,9 @@
|
|||
"license": "ISC"
|
||||
},
|
||||
"node_modules/graphql": {
|
||||
"version": "16.13.2",
|
||||
"resolved": "https://registry.npmjs.org/graphql/-/graphql-16.13.2.tgz",
|
||||
"integrity": "sha512-5bJ+nf/UCpAjHM8i06fl7eLyVC9iuNAjm9qzkiu2ZGhM0VscSvS6WDPfAwkdkBuoXGM9FJSbKl6wylMwP9Ktig==",
|
||||
"version": "16.14.0",
|
||||
"resolved": "https://registry.npmjs.org/graphql/-/graphql-16.14.0.tgz",
|
||||
"integrity": "sha512-BBvQ/406p+4CZbTpCbVPSxfzrZrbnuWSP1ELYgyS6B+hNeKzgrdB4JczCa5VZUBQrDa9hUngm0KnexY6pJRN5Q==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
@ -2431,11 +2409,14 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/node-releases": {
|
||||
"version": "2.0.38",
|
||||
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.38.tgz",
|
||||
"integrity": "sha512-3qT/88Y3FbH/Kx4szpQQ4HzUbVrHPKTLVpVocKiLfoYvw9XSGOX2FmD2d6DrXbVYyAQTF2HeF6My8jmzx7/CRw==",
|
||||
"version": "2.0.46",
|
||||
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.46.tgz",
|
||||
"integrity": "sha512-GYVXHE2KnrzAfsAjl4uP++evGFCrAU1jta4ubEjIG7YWt/64Gqv66a30yKwWczVjA6j3bM4nBwH7Pk1JmDHaxQ==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
}
|
||||
},
|
||||
"node_modules/outvariant": {
|
||||
"version": "1.4.3",
|
||||
|
|
@ -2489,12 +2470,12 @@
|
|||
}
|
||||
},
|
||||
"node_modules/playwright": {
|
||||
"version": "1.59.1",
|
||||
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.59.1.tgz",
|
||||
"integrity": "sha512-C8oWjPR3F81yljW9o5OxcWzfh6avkVwDD2VYdwIGqTkl+OGFISgypqzfu7dOe4QNLL2aqcWBmI3PMtLIK233lw==",
|
||||
"version": "1.60.0",
|
||||
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.60.0.tgz",
|
||||
"integrity": "sha512-hheHdokM8cdqCb0lcE3s+zT4t4W+vvjpGxsZlDnikarzx8tSzMebh3UiFtgqwFwnTnjYQcsyMF8ei2mCO/tpeA==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"playwright-core": "1.59.1"
|
||||
"playwright-core": "1.60.0"
|
||||
},
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
|
|
@ -2507,9 +2488,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/playwright-core": {
|
||||
"version": "1.59.1",
|
||||
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.59.1.tgz",
|
||||
"integrity": "sha512-HBV/RJg81z5BiiZ9yPzIiClYV/QMsDCKUyogwH9p3MCP6IYjUFu/MActgYAvK0oWyV9NlwM3GLBjADyWgydVyg==",
|
||||
"version": "1.60.0",
|
||||
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.60.0.tgz",
|
||||
"integrity": "sha512-9bW6zvX/m0lEbgTKJ6YppOKx8H3VOPBMOCFh2irXFOT4BbHgrx5hPjwJYLT40Lu+4qtD36qKc/Hn56StUW57IA==",
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
"playwright-core": "cli.js"
|
||||
|
|
@ -2519,9 +2500,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/postcss": {
|
||||
"version": "8.5.13",
|
||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.13.tgz",
|
||||
"integrity": "sha512-qif0+jGGZoLWdHey3UFHHWP0H7Gbmsk8T5VEqyYFbWqPr1XqvLGBbk/sl8V5exGmcYJklJOhOQq1pV9IcsiFag==",
|
||||
"version": "8.5.15",
|
||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.15.tgz",
|
||||
"integrity": "sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -2539,7 +2520,7 @@
|
|||
],
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"nanoid": "^3.3.11",
|
||||
"nanoid": "^3.3.12",
|
||||
"picocolors": "^1.1.1",
|
||||
"source-map-js": "^1.2.1"
|
||||
},
|
||||
|
|
@ -2575,9 +2556,9 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/rollup": {
|
||||
"version": "4.60.2",
|
||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.2.tgz",
|
||||
"integrity": "sha512-J9qZyW++QK/09NyN/zeO0dG/1GdGfyp9lV8ajHnRVLfo/uFsbji5mHnDgn/qYdUHyCkM2N+8VyspgZclfAh0eQ==",
|
||||
"version": "4.60.4",
|
||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.4.tgz",
|
||||
"integrity": "sha512-WHeFSbZYsPu3+bLoNRUuAO+wavNlocOPf3wSHTP7hcFKVnJeWsYlCDbr3mTS14FCizf9ccIxXA8sGL8zKeQN3g==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -2591,34 +2572,41 @@
|
|||
"npm": ">=8.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@rollup/rollup-android-arm-eabi": "4.60.2",
|
||||
"@rollup/rollup-android-arm64": "4.60.2",
|
||||
"@rollup/rollup-darwin-arm64": "4.60.2",
|
||||
"@rollup/rollup-darwin-x64": "4.60.2",
|
||||
"@rollup/rollup-freebsd-arm64": "4.60.2",
|
||||
"@rollup/rollup-freebsd-x64": "4.60.2",
|
||||
"@rollup/rollup-linux-arm-gnueabihf": "4.60.2",
|
||||
"@rollup/rollup-linux-arm-musleabihf": "4.60.2",
|
||||
"@rollup/rollup-linux-arm64-gnu": "4.60.2",
|
||||
"@rollup/rollup-linux-arm64-musl": "4.60.2",
|
||||
"@rollup/rollup-linux-loong64-gnu": "4.60.2",
|
||||
"@rollup/rollup-linux-loong64-musl": "4.60.2",
|
||||
"@rollup/rollup-linux-ppc64-gnu": "4.60.2",
|
||||
"@rollup/rollup-linux-ppc64-musl": "4.60.2",
|
||||
"@rollup/rollup-linux-riscv64-gnu": "4.60.2",
|
||||
"@rollup/rollup-linux-riscv64-musl": "4.60.2",
|
||||
"@rollup/rollup-linux-s390x-gnu": "4.60.2",
|
||||
"@rollup/rollup-linux-x64-gnu": "4.60.2",
|
||||
"@rollup/rollup-linux-x64-musl": "4.60.2",
|
||||
"@rollup/rollup-openbsd-x64": "4.60.2",
|
||||
"@rollup/rollup-openharmony-arm64": "4.60.2",
|
||||
"@rollup/rollup-win32-arm64-msvc": "4.60.2",
|
||||
"@rollup/rollup-win32-ia32-msvc": "4.60.2",
|
||||
"@rollup/rollup-win32-x64-gnu": "4.60.2",
|
||||
"@rollup/rollup-win32-x64-msvc": "4.60.2",
|
||||
"@rollup/rollup-android-arm-eabi": "4.60.4",
|
||||
"@rollup/rollup-android-arm64": "4.60.4",
|
||||
"@rollup/rollup-darwin-arm64": "4.60.4",
|
||||
"@rollup/rollup-darwin-x64": "4.60.4",
|
||||
"@rollup/rollup-freebsd-arm64": "4.60.4",
|
||||
"@rollup/rollup-freebsd-x64": "4.60.4",
|
||||
"@rollup/rollup-linux-arm-gnueabihf": "4.60.4",
|
||||
"@rollup/rollup-linux-arm-musleabihf": "4.60.4",
|
||||
"@rollup/rollup-linux-arm64-gnu": "4.60.4",
|
||||
"@rollup/rollup-linux-arm64-musl": "4.60.4",
|
||||
"@rollup/rollup-linux-loong64-gnu": "4.60.4",
|
||||
"@rollup/rollup-linux-loong64-musl": "4.60.4",
|
||||
"@rollup/rollup-linux-ppc64-gnu": "4.60.4",
|
||||
"@rollup/rollup-linux-ppc64-musl": "4.60.4",
|
||||
"@rollup/rollup-linux-riscv64-gnu": "4.60.4",
|
||||
"@rollup/rollup-linux-riscv64-musl": "4.60.4",
|
||||
"@rollup/rollup-linux-s390x-gnu": "4.60.4",
|
||||
"@rollup/rollup-linux-x64-gnu": "4.60.4",
|
||||
"@rollup/rollup-linux-x64-musl": "4.60.4",
|
||||
"@rollup/rollup-openbsd-x64": "4.60.4",
|
||||
"@rollup/rollup-openharmony-arm64": "4.60.4",
|
||||
"@rollup/rollup-win32-arm64-msvc": "4.60.4",
|
||||
"@rollup/rollup-win32-ia32-msvc": "4.60.4",
|
||||
"@rollup/rollup-win32-x64-gnu": "4.60.4",
|
||||
"@rollup/rollup-win32-x64-msvc": "4.60.4",
|
||||
"fsevents": "~2.3.2"
|
||||
}
|
||||
},
|
||||
"node_modules/rollup/node_modules/@types/estree": {
|
||||
"version": "1.0.8",
|
||||
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
|
||||
"integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/schema-utils": {
|
||||
"version": "4.3.3",
|
||||
"resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.3.tgz",
|
||||
|
|
@ -2640,9 +2628,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/semver": {
|
||||
"version": "7.7.4",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz",
|
||||
"integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==",
|
||||
"version": "7.8.1",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-7.8.1.tgz",
|
||||
"integrity": "sha512-rkVq3IXh+4FDGch+KwzX3aV9W3kO54GyEgpvBzSyctDA6Xtd7RJQV1xmXbeQp5v7+VzLOfVqiutSE6GICgPFvg==",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"bin": {
|
||||
|
|
@ -2813,9 +2801,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/terser": {
|
||||
"version": "5.46.2",
|
||||
"resolved": "https://registry.npmjs.org/terser/-/terser-5.46.2.tgz",
|
||||
"integrity": "sha512-uxfo9fPcSgLDYob/w1FuL0c99MWiJDnv+5qXSQc5+Ki5NjVNsYi66INnMFBjf6uFz6OnX12piJQPF4IpjJTNTw==",
|
||||
"version": "5.48.0",
|
||||
"resolved": "https://registry.npmjs.org/terser/-/terser-5.48.0.tgz",
|
||||
"integrity": "sha512-J/9An6vs9Us6wKRriSFXBWdRZapREHqFzdNUKk0pmu804EMR6dr6winwo7e5JDxN4xahxQsuysyYFwlwj4XN/Q==",
|
||||
"dev": true,
|
||||
"license": "BSD-2-Clause",
|
||||
"dependencies": {
|
||||
|
|
@ -2832,9 +2820,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/terser-webpack-plugin": {
|
||||
"version": "5.5.0",
|
||||
"resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.5.0.tgz",
|
||||
"integrity": "sha512-UYhptBwhWvfIjKd/UuFo6D8uq9xpGLDK+z8EDsj/zWhrTaH34cKEbrkMKfV5YWqGBvAYA3tlzZbs2R+qYrbQJA==",
|
||||
"version": "5.6.1",
|
||||
"resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.6.1.tgz",
|
||||
"integrity": "sha512-201R5j+sJpK8nFWwKVyNfZot8FaJbLZDq5evriVzbV1wDtSXDjRUDRfJzHpAaxFDMEhsZL1QkeqM61wgsS3KaQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -2854,12 +2842,39 @@
|
|||
"webpack": "^5.1.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@minify-html/node": {
|
||||
"optional": true
|
||||
},
|
||||
"@swc/core": {
|
||||
"optional": true
|
||||
},
|
||||
"@swc/css": {
|
||||
"optional": true
|
||||
},
|
||||
"@swc/html": {
|
||||
"optional": true
|
||||
},
|
||||
"clean-css": {
|
||||
"optional": true
|
||||
},
|
||||
"cssnano": {
|
||||
"optional": true
|
||||
},
|
||||
"csso": {
|
||||
"optional": true
|
||||
},
|
||||
"esbuild": {
|
||||
"optional": true
|
||||
},
|
||||
"html-minifier-terser": {
|
||||
"optional": true
|
||||
},
|
||||
"lightningcss": {
|
||||
"optional": true
|
||||
},
|
||||
"postcss": {
|
||||
"optional": true
|
||||
},
|
||||
"uglify-js": {
|
||||
"optional": true
|
||||
}
|
||||
|
|
@ -2958,22 +2973,22 @@
|
|||
}
|
||||
},
|
||||
"node_modules/tldts": {
|
||||
"version": "7.0.29",
|
||||
"resolved": "https://registry.npmjs.org/tldts/-/tldts-7.0.29.tgz",
|
||||
"integrity": "sha512-JIXCerhudr/N6OWLwLF1HVsTTUo7ry6qHa5eWZEkiMuxsIiAACL55tGLfqfHfoH7QaMQUW8fngD7u7TxWexYQg==",
|
||||
"version": "7.4.0",
|
||||
"resolved": "https://registry.npmjs.org/tldts/-/tldts-7.4.0.tgz",
|
||||
"integrity": "sha512-yHBe+zVfzNZ3QfTPW/Z6KK1G2t340gFjMHqI/4KKSt/abzYydzuCnpqdaF5gCCABby+9Yfbj59oR5F2Fd5CBzg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"tldts-core": "^7.0.29"
|
||||
"tldts-core": "^7.4.0"
|
||||
},
|
||||
"bin": {
|
||||
"tldts": "bin/cli.js"
|
||||
}
|
||||
},
|
||||
"node_modules/tldts-core": {
|
||||
"version": "7.0.29",
|
||||
"resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.0.29.tgz",
|
||||
"integrity": "sha512-W99NuU7b1DcG3uJ3v9k9VztCH3WialNbBkBft5wCs8V8mexu0XQqaZEYb9l9RNNzK8+3EJ9PKWB0/RUtTQ/o+Q==",
|
||||
"version": "7.4.1",
|
||||
"resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.4.1.tgz",
|
||||
"integrity": "sha512-sc2nGvGbixlJRHwTh/qQdPXTxJU1UDJboGPQm4d/01YUJ9r/u6aeIulQvEaxUlvKDN7hb1qCLjax+jhVAPLa/g==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
|
|
@ -3004,9 +3019,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/ts-loader": {
|
||||
"version": "9.5.7",
|
||||
"resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.5.7.tgz",
|
||||
"integrity": "sha512-/ZNrKgA3K3PtpMYOC71EeMWIloGw3IYEa5/t1cyz2r5/PyUwTXGzYJvcD3kfUvmhlfpz1rhV8B2O6IVTQ0avsg==",
|
||||
"version": "9.6.0",
|
||||
"resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.6.0.tgz",
|
||||
"integrity": "sha512-dsJO0S+T7grTDWTc4a0nTygXGjKncVUpx8Y+af8EvI/D5WgTJby5UEk5eoMCB9EcLQmnvitqh99MqtjtHgAwFQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -3020,8 +3035,14 @@
|
|||
"node": ">=12.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"loader-utils": "*",
|
||||
"typescript": "*",
|
||||
"webpack": "^5.0.0"
|
||||
"webpack": "^4.0.0 || ^5.0.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"loader-utils": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/type-fest": {
|
||||
|
|
@ -3113,13 +3134,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite-node/node_modules/@types/node": {
|
||||
"version": "25.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-25.6.0.tgz",
|
||||
"integrity": "sha512-+qIYRKdNYJwY3vRCZMdJbPLJAtGjQBudzZzdzwQYkEPQd+PJGixUL5QfvCLDaULoLv+RhT3LDkwEfKaAkgSmNQ==",
|
||||
"version": "25.9.1",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.1.tgz",
|
||||
"integrity": "sha512-xfrlY7UD5rMJk3ZVJP8BNzS28J36YJg+xp+LPXV1TdWxr8uMH5A860QNxYDGQe/ylDSgjxE52Q9VnO7p75tJxg==",
|
||||
"extraneous": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"undici-types": "~7.19.0"
|
||||
"undici-types": ">=7.24.0 <7.24.7"
|
||||
}
|
||||
},
|
||||
"node_modules/vite-node/node_modules/fdir": {
|
||||
|
|
@ -3169,16 +3190,16 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite-node/node_modules/undici-types": {
|
||||
"version": "7.19.2",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.19.2.tgz",
|
||||
"integrity": "sha512-qYVnV5OEm2AW8cJMCpdV20CDyaN3g0AjDlOGf1OW4iaDEx8MwdtChUp4zu4H0VP3nDRF/8RKWH+IPp9uW0YGZg==",
|
||||
"version": "7.24.6",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz",
|
||||
"integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==",
|
||||
"extraneous": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/vite-node/node_modules/vite": {
|
||||
"version": "7.3.2",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-7.3.2.tgz",
|
||||
"integrity": "sha512-Bby3NOsna2jsjfLVOHKes8sGwgl4TT0E6vvpYgnAYDIF/tie7MRaFthmKuHx1NSXjiTueXH3do80FMQgvEktRg==",
|
||||
"version": "7.3.3",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-7.3.3.tgz",
|
||||
"integrity": "sha512-/4XH147Ui7OGTjg3HbdWe5arnZQSbfuRzdr9Ec7TQi5I7R+ir0Rlc9GIvD4v0XZurELqA035KVXJXpR61xhiTA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -3397,9 +3418,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vitest/node_modules/vite": {
|
||||
"version": "7.3.2",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-7.3.2.tgz",
|
||||
"integrity": "sha512-Bby3NOsna2jsjfLVOHKes8sGwgl4TT0E6vvpYgnAYDIF/tie7MRaFthmKuHx1NSXjiTueXH3do80FMQgvEktRg==",
|
||||
"version": "7.3.3",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-7.3.3.tgz",
|
||||
"integrity": "sha512-/4XH147Ui7OGTjg3HbdWe5arnZQSbfuRzdr9Ec7TQi5I7R+ir0Rlc9GIvD4v0XZurELqA035KVXJXpR61xhiTA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -3486,13 +3507,12 @@
|
|||
}
|
||||
},
|
||||
"node_modules/webpack": {
|
||||
"version": "5.106.2",
|
||||
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.106.2.tgz",
|
||||
"integrity": "sha512-wGN3qcrBQIFmQ/c0AiOAQBvrZ5lmY8vbbMv4Mxfgzqd/B6+9pXtLo73WuS1dSGXM5QYY3hZnIbvx+K1xxe6FyA==",
|
||||
"version": "5.107.2",
|
||||
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.107.2.tgz",
|
||||
"integrity": "sha512-v7RhXaJbpMlV0D7hC7lb2EbnxkoeUqf9qhKr6lozx3Q48pmFrqqNRmZFUEGmi7pSwm6fCQ2H1IjvCkHqdpVdjQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/eslint-scope": "^3.7.7",
|
||||
"@types/estree": "^1.0.8",
|
||||
"@types/json-schema": "^7.0.15",
|
||||
"@webassemblyjs/ast": "^1.14.1",
|
||||
|
|
@ -3502,20 +3522,20 @@
|
|||
"acorn-import-phases": "^1.0.3",
|
||||
"browserslist": "^4.28.1",
|
||||
"chrome-trace-event": "^1.0.2",
|
||||
"enhanced-resolve": "^5.20.0",
|
||||
"es-module-lexer": "^2.0.0",
|
||||
"enhanced-resolve": "^5.22.0",
|
||||
"es-module-lexer": "^2.1.0",
|
||||
"eslint-scope": "5.1.1",
|
||||
"events": "^3.2.0",
|
||||
"glob-to-regexp": "^0.4.1",
|
||||
"graceful-fs": "^4.2.11",
|
||||
"loader-runner": "^4.3.1",
|
||||
"loader-runner": "^4.3.2",
|
||||
"mime-db": "^1.54.0",
|
||||
"neo-async": "^2.6.2",
|
||||
"schema-utils": "^4.3.3",
|
||||
"tapable": "^2.3.0",
|
||||
"terser-webpack-plugin": "^5.3.17",
|
||||
"terser-webpack-plugin": "^5.5.0",
|
||||
"watchpack": "^2.5.1",
|
||||
"webpack-sources": "^3.3.4"
|
||||
"webpack-sources": "^3.5.0"
|
||||
},
|
||||
"bin": {
|
||||
"webpack": "bin/webpack.js"
|
||||
|
|
@ -3534,9 +3554,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/webpack-sources": {
|
||||
"version": "3.4.1",
|
||||
"resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.4.1.tgz",
|
||||
"integrity": "sha512-eACpxRN02yaawnt+uUNIF7Qje6A9zArxBbcAJjK1PK3S9Ycg5jIuJ8pW4q8EMnwNZCEGltcjkRx1QzOxOkKD8A==",
|
||||
"version": "3.5.0",
|
||||
"resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.5.0.tgz",
|
||||
"integrity": "sha512-HPuy+uuoTCaaoEoI1LQ3JN9+vrPBvEesnnX1jADHy728cHSMlq4wUc4afYqahq2B1mhQVZxCXOkNTnXltr+2vQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@skyvern/client",
|
||||
"version": "1.0.32",
|
||||
"version": "1.0.37",
|
||||
"private": false,
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
@ -73,16 +73,5 @@
|
|||
"publishConfig": {
|
||||
"access": "public",
|
||||
"provenance": true
|
||||
},
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
"picomatch@2": ">=2.3.2",
|
||||
"picomatch@4": ">=4.0.4",
|
||||
"postcss": ">=8.5.10",
|
||||
"rollup": ">=4.59.0",
|
||||
"serialize-javascript": ">=7.0.5",
|
||||
"vite": "^7.3.2",
|
||||
"webpack": ">=5.104.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
847
skyvern-ts/client/pnpm-lock.yaml
generated
847
skyvern-ts/client/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -128,6 +128,126 @@ await client.artifacts.getArtifactContent("artifact_id");
|
|||
</dl>
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
</details>
|
||||
|
||||
## Server
|
||||
<details><summary><code>client.server.<a href="/src/api/resources/server/client/Client.ts">getVersion</a>() -> Record<string, string></code></summary>
|
||||
<dl>
|
||||
<dd>
|
||||
|
||||
#### 📝 Description
|
||||
|
||||
<dl>
|
||||
<dd>
|
||||
|
||||
<dl>
|
||||
<dd>
|
||||
|
||||
Returns the current Skyvern server version (git SHA for official builds).
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
#### 🔌 Usage
|
||||
|
||||
<dl>
|
||||
<dd>
|
||||
|
||||
<dl>
|
||||
<dd>
|
||||
|
||||
```typescript
|
||||
await client.server.getVersion();
|
||||
|
||||
```
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
#### ⚙️ Parameters
|
||||
|
||||
<dl>
|
||||
<dd>
|
||||
|
||||
<dl>
|
||||
<dd>
|
||||
|
||||
**requestOptions:** `Server.RequestOptions`
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
</details>
|
||||
|
||||
## Workflows
|
||||
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">resetWorkflowBrowserProfile</a>(workflowPermanentId) -> void</code></summary>
|
||||
<dl>
|
||||
<dd>
|
||||
|
||||
#### 📝 Description
|
||||
|
||||
<dl>
|
||||
<dd>
|
||||
|
||||
<dl>
|
||||
<dd>
|
||||
|
||||
Clear the persisted browser profile for a workflow that uses `Save & Reuse Session`. The next run will start from a fresh browser state. Use when a saved profile is corrupted.
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
#### 🔌 Usage
|
||||
|
||||
<dl>
|
||||
<dd>
|
||||
|
||||
<dl>
|
||||
<dd>
|
||||
|
||||
```typescript
|
||||
await client.workflows.resetWorkflowBrowserProfile("wpid_123");
|
||||
|
||||
```
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
#### ⚙️ Parameters
|
||||
|
||||
<dl>
|
||||
<dd>
|
||||
|
||||
<dl>
|
||||
<dd>
|
||||
|
||||
**workflowPermanentId:** `string` — The permanent ID of the workflow. Starts with `wpid_`.
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dd>
|
||||
|
||||
**requestOptions:** `Workflows.RequestOptions`
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
</details>
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ import * as Skyvern from "./api/index.js";
|
|||
import { Artifacts } from "./api/resources/artifacts/client/Client.js";
|
||||
import { Schedules } from "./api/resources/schedules/client/Client.js";
|
||||
import { Scripts } from "./api/resources/scripts/client/Client.js";
|
||||
import { Server } from "./api/resources/server/client/Client.js";
|
||||
import { Workflows } from "./api/resources/workflows/client/Client.js";
|
||||
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
||||
import { mergeHeaders, mergeOnlyDefinedHeaders } from "./core/headers.js";
|
||||
import * as core from "./core/index.js";
|
||||
|
|
@ -19,6 +21,8 @@ export declare namespace SkyvernClient {
|
|||
export class SkyvernClient {
|
||||
protected readonly _options: SkyvernClient.Options;
|
||||
protected _artifacts: Artifacts | undefined;
|
||||
protected _server: Server | undefined;
|
||||
protected _workflows: Workflows | undefined;
|
||||
protected _scripts: Scripts | undefined;
|
||||
protected _schedules: Schedules | undefined;
|
||||
|
||||
|
|
@ -30,8 +34,8 @@ export class SkyvernClient {
|
|||
"x-api-key": _options?.apiKey,
|
||||
"X-Fern-Language": "JavaScript",
|
||||
"X-Fern-SDK-Name": "@skyvern/client",
|
||||
"X-Fern-SDK-Version": "1.0.32",
|
||||
"User-Agent": "@skyvern/client/1.0.32",
|
||||
"X-Fern-SDK-Version": "1.0.37",
|
||||
"User-Agent": "@skyvern/client/1.0.37",
|
||||
"X-Fern-Runtime": core.RUNTIME.type,
|
||||
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
||||
},
|
||||
|
|
@ -44,6 +48,14 @@ export class SkyvernClient {
|
|||
return (this._artifacts ??= new Artifacts(this._options));
|
||||
}
|
||||
|
||||
public get server(): Server {
|
||||
return (this._server ??= new Server(this._options));
|
||||
}
|
||||
|
||||
public get workflows(): Workflows {
|
||||
return (this._workflows ??= new Workflows(this._options));
|
||||
}
|
||||
|
||||
public get scripts(): Scripts {
|
||||
return (this._scripts ??= new Scripts(this._options));
|
||||
}
|
||||
|
|
@ -55,7 +67,7 @@ export class SkyvernClient {
|
|||
/**
|
||||
* Run a task
|
||||
*
|
||||
* @param {Skyvern.RunTaskRequest} request
|
||||
* @param {Skyvern.TaskRunRequestInput} request
|
||||
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
||||
*
|
||||
* @throws {@link Skyvern.BadRequestError}
|
||||
|
|
@ -64,23 +76,21 @@ export class SkyvernClient {
|
|||
* @example
|
||||
* await client.runTask({
|
||||
* "x-user-agent": "x-user-agent",
|
||||
* body: {
|
||||
* prompt: "Find the top 3 posts on Hacker News."
|
||||
* }
|
||||
* prompt: "Find the top 3 posts on Hacker News."
|
||||
* })
|
||||
*/
|
||||
public runTask(
|
||||
request: Skyvern.RunTaskRequest,
|
||||
request: Skyvern.TaskRunRequestInput,
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): core.HttpResponsePromise<Skyvern.TaskRunResponse> {
|
||||
return core.HttpResponsePromise.fromPromise(this.__runTask(request, requestOptions));
|
||||
}
|
||||
|
||||
private async __runTask(
|
||||
request: Skyvern.RunTaskRequest,
|
||||
request: Skyvern.TaskRunRequestInput,
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): Promise<core.WithRawResponse<Skyvern.TaskRunResponse>> {
|
||||
const { "x-user-agent": userAgent, body: _body } = request;
|
||||
const { "x-user-agent": userAgent, ..._body } = request;
|
||||
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
||||
this._options?.headers,
|
||||
mergeOnlyDefinedHeaders({
|
||||
|
|
@ -145,7 +155,7 @@ export class SkyvernClient {
|
|||
/**
|
||||
* Run a workflow
|
||||
*
|
||||
* @param {Skyvern.RunWorkflowRequest} request
|
||||
* @param {Skyvern.WorkflowRunRequestInput} request
|
||||
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
||||
*
|
||||
* @throws {@link Skyvern.BadRequestError}
|
||||
|
|
@ -156,23 +166,21 @@ export class SkyvernClient {
|
|||
* "x-max-steps-override": 1,
|
||||
* "x-user-agent": "x-user-agent",
|
||||
* template: true,
|
||||
* body: {
|
||||
* workflow_id: "wpid_123"
|
||||
* }
|
||||
* workflow_id: "wpid_123"
|
||||
* })
|
||||
*/
|
||||
public runWorkflow(
|
||||
request: Skyvern.RunWorkflowRequest,
|
||||
request: Skyvern.WorkflowRunRequestInput,
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): core.HttpResponsePromise<Skyvern.WorkflowRunResponse> {
|
||||
return core.HttpResponsePromise.fromPromise(this.__runWorkflow(request, requestOptions));
|
||||
}
|
||||
|
||||
private async __runWorkflow(
|
||||
request: Skyvern.RunWorkflowRequest,
|
||||
request: Skyvern.WorkflowRunRequestInput,
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): Promise<core.WithRawResponse<Skyvern.WorkflowRunResponse>> {
|
||||
const { template, "x-max-steps-override": maxStepsOverride, "x-user-agent": userAgent, body: _body } = request;
|
||||
const { template, "x-max-steps-override": maxStepsOverride, "x-user-agent": userAgent, ..._body } = request;
|
||||
const _queryParams: Record<string, string | string[] | object | object[] | null> = {};
|
||||
if (template != null) {
|
||||
_queryParams.template = template.toString();
|
||||
|
|
@ -390,6 +398,86 @@ export class SkyvernClient {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Cancel multiple runs (tasks or workflows) in a single request
|
||||
*
|
||||
* @param {Skyvern.BulkCancelRunsRequest} request
|
||||
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
||||
*
|
||||
* @throws {@link Skyvern.UnprocessableEntityError}
|
||||
*
|
||||
* @example
|
||||
* await client.bulkCancelRuns({
|
||||
* run_ids: ["run_ids"]
|
||||
* })
|
||||
*/
|
||||
public bulkCancelRuns(
|
||||
request: Skyvern.BulkCancelRunsRequest,
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): core.HttpResponsePromise<Skyvern.BulkCancelRunsResponse> {
|
||||
return core.HttpResponsePromise.fromPromise(this.__bulkCancelRuns(request, requestOptions));
|
||||
}
|
||||
|
||||
private async __bulkCancelRuns(
|
||||
request: Skyvern.BulkCancelRunsRequest,
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): Promise<core.WithRawResponse<Skyvern.BulkCancelRunsResponse>> {
|
||||
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
||||
this._options?.headers,
|
||||
mergeOnlyDefinedHeaders({ "x-api-key": requestOptions?.apiKey ?? this._options?.apiKey }),
|
||||
requestOptions?.headers,
|
||||
);
|
||||
const _response = await core.fetcher({
|
||||
url: core.url.join(
|
||||
(await core.Supplier.get(this._options.baseUrl)) ??
|
||||
(await core.Supplier.get(this._options.environment)) ??
|
||||
environments.SkyvernEnvironment.Cloud,
|
||||
"v1/runs/cancel",
|
||||
),
|
||||
method: "POST",
|
||||
headers: _headers,
|
||||
contentType: "application/json",
|
||||
queryParameters: requestOptions?.queryParams,
|
||||
requestType: "json",
|
||||
body: request,
|
||||
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
||||
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
||||
abortSignal: requestOptions?.abortSignal,
|
||||
});
|
||||
if (_response.ok) {
|
||||
return { data: _response.body as Skyvern.BulkCancelRunsResponse, rawResponse: _response.rawResponse };
|
||||
}
|
||||
|
||||
if (_response.error.reason === "status-code") {
|
||||
switch (_response.error.statusCode) {
|
||||
case 422:
|
||||
throw new Skyvern.UnprocessableEntityError(_response.error.body as unknown, _response.rawResponse);
|
||||
default:
|
||||
throw new errors.SkyvernError({
|
||||
statusCode: _response.error.statusCode,
|
||||
body: _response.error.body,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
switch (_response.error.reason) {
|
||||
case "non-json":
|
||||
throw new errors.SkyvernError({
|
||||
statusCode: _response.error.statusCode,
|
||||
body: _response.error.rawBody,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
case "timeout":
|
||||
throw new errors.SkyvernTimeoutError("Timeout exceeded when calling POST /v1/runs/cancel.");
|
||||
case "unknown":
|
||||
throw new errors.SkyvernError({
|
||||
message: _response.error.errorMessage,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all workflows with the latest version for the organization.
|
||||
*
|
||||
|
|
@ -1406,7 +1494,7 @@ export class SkyvernClient {
|
|||
runId: string,
|
||||
request?: Skyvern.RetryRunWebhookRequest,
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): core.HttpResponsePromise<unknown> {
|
||||
): core.HttpResponsePromise<Skyvern.RunWebhookReplayResponse> {
|
||||
return core.HttpResponsePromise.fromPromise(this.__retryRunWebhook(runId, request, requestOptions));
|
||||
}
|
||||
|
||||
|
|
@ -1414,7 +1502,7 @@ export class SkyvernClient {
|
|||
runId: string,
|
||||
request?: Skyvern.RetryRunWebhookRequest,
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): Promise<core.WithRawResponse<unknown>> {
|
||||
): Promise<core.WithRawResponse<Skyvern.RunWebhookReplayResponse>> {
|
||||
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
||||
this._options?.headers,
|
||||
mergeOnlyDefinedHeaders({ "x-api-key": requestOptions?.apiKey ?? this._options?.apiKey }),
|
||||
|
|
@ -1438,7 +1526,7 @@ export class SkyvernClient {
|
|||
abortSignal: requestOptions?.abortSignal,
|
||||
});
|
||||
if (_response.ok) {
|
||||
return { data: _response.body, rawResponse: _response.rawResponse };
|
||||
return { data: _response.body as Skyvern.RunWebhookReplayResponse, rawResponse: _response.rawResponse };
|
||||
}
|
||||
|
||||
if (_response.error.reason === "status-code") {
|
||||
|
|
@ -1554,6 +1642,100 @@ export class SkyvernClient {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Retry a workflow run using the original run parameters.
|
||||
*
|
||||
* @param {string} workflowRunId - The id of the workflow run to retry.
|
||||
* @param {Skyvern.RetryWorkflowRunRequest} request
|
||||
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
||||
*
|
||||
* @throws {@link Skyvern.BadRequestError}
|
||||
* @throws {@link Skyvern.NotFoundError}
|
||||
* @throws {@link Skyvern.UnprocessableEntityError}
|
||||
*
|
||||
* @example
|
||||
* await client.retryWorkflowRun("wr_123", {
|
||||
* "x-max-steps-override": 1,
|
||||
* "x-user-agent": "x-user-agent"
|
||||
* })
|
||||
*/
|
||||
public retryWorkflowRun(
|
||||
workflowRunId: string,
|
||||
request: Skyvern.RetryWorkflowRunRequest = {},
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): core.HttpResponsePromise<Skyvern.WorkflowRunResponse> {
|
||||
return core.HttpResponsePromise.fromPromise(this.__retryWorkflowRun(workflowRunId, request, requestOptions));
|
||||
}
|
||||
|
||||
private async __retryWorkflowRun(
|
||||
workflowRunId: string,
|
||||
request: Skyvern.RetryWorkflowRunRequest = {},
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): Promise<core.WithRawResponse<Skyvern.WorkflowRunResponse>> {
|
||||
const { "x-max-steps-override": maxStepsOverride, "x-user-agent": userAgent } = request;
|
||||
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
||||
this._options?.headers,
|
||||
mergeOnlyDefinedHeaders({
|
||||
"x-max-steps-override": maxStepsOverride != null ? maxStepsOverride.toString() : undefined,
|
||||
"x-user-agent": userAgent != null ? userAgent : undefined,
|
||||
"x-api-key": requestOptions?.apiKey ?? this._options?.apiKey,
|
||||
}),
|
||||
requestOptions?.headers,
|
||||
);
|
||||
const _response = await core.fetcher({
|
||||
url: core.url.join(
|
||||
(await core.Supplier.get(this._options.baseUrl)) ??
|
||||
(await core.Supplier.get(this._options.environment)) ??
|
||||
environments.SkyvernEnvironment.Cloud,
|
||||
`v1/workflows/runs/${core.url.encodePathParam(workflowRunId)}/retry`,
|
||||
),
|
||||
method: "POST",
|
||||
headers: _headers,
|
||||
queryParameters: requestOptions?.queryParams,
|
||||
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
||||
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
||||
abortSignal: requestOptions?.abortSignal,
|
||||
});
|
||||
if (_response.ok) {
|
||||
return { data: _response.body as Skyvern.WorkflowRunResponse, rawResponse: _response.rawResponse };
|
||||
}
|
||||
|
||||
if (_response.error.reason === "status-code") {
|
||||
switch (_response.error.statusCode) {
|
||||
case 400:
|
||||
throw new Skyvern.BadRequestError(_response.error.body as unknown, _response.rawResponse);
|
||||
case 404:
|
||||
throw new Skyvern.NotFoundError(_response.error.body as unknown, _response.rawResponse);
|
||||
case 422:
|
||||
throw new Skyvern.UnprocessableEntityError(_response.error.body as unknown, _response.rawResponse);
|
||||
default:
|
||||
throw new errors.SkyvernError({
|
||||
statusCode: _response.error.statusCode,
|
||||
body: _response.error.body,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
switch (_response.error.reason) {
|
||||
case "non-json":
|
||||
throw new errors.SkyvernError({
|
||||
statusCode: _response.error.statusCode,
|
||||
body: _response.error.rawBody,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
case "timeout":
|
||||
throw new errors.SkyvernTimeoutError(
|
||||
"Timeout exceeded when calling POST /v1/workflows/runs/{workflow_run_id}/retry.",
|
||||
);
|
||||
case "unknown":
|
||||
throw new errors.SkyvernError({
|
||||
message: _response.error.errorMessage,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Skyvern.GetRunsV2Request} request
|
||||
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
||||
|
|
@ -1786,6 +1968,127 @@ export class SkyvernClient {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* List runs for a specific workflow.
|
||||
*
|
||||
* Supports filtering by **status**, **search_key**, and **error_code**. All filters are combined with **AND** logic.
|
||||
*
|
||||
* ### search_key
|
||||
*
|
||||
* Case-insensitive substring search across: workflow run ID, parameter key, parameter description, run parameter value, and extra HTTP headers. Soft-deleted parameter definitions are excluded.
|
||||
*
|
||||
* ### error_code
|
||||
*
|
||||
* Exact-match filter on the `error_code` field inside each task's `errors` JSON array. A run matches if any of its tasks contains an error with a matching `error_code`.
|
||||
*
|
||||
* @param {string} workflowId
|
||||
* @param {Skyvern.GetWorkflowRunsByIdRequest} request
|
||||
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
||||
*
|
||||
* @throws {@link Skyvern.UnprocessableEntityError}
|
||||
*
|
||||
* @example
|
||||
* await client.getWorkflowRunsById("workflow_id", {
|
||||
* page: 1,
|
||||
* page_size: 1,
|
||||
* search_key: "search_key",
|
||||
* error_code: "error_code"
|
||||
* })
|
||||
*/
|
||||
public getWorkflowRunsById(
|
||||
workflowId: string,
|
||||
request: Skyvern.GetWorkflowRunsByIdRequest = {},
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): core.HttpResponsePromise<Skyvern.WorkflowRun[]> {
|
||||
return core.HttpResponsePromise.fromPromise(this.__getWorkflowRunsById(workflowId, request, requestOptions));
|
||||
}
|
||||
|
||||
private async __getWorkflowRunsById(
|
||||
workflowId: string,
|
||||
request: Skyvern.GetWorkflowRunsByIdRequest = {},
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): Promise<core.WithRawResponse<Skyvern.WorkflowRun[]>> {
|
||||
const { page, page_size: pageSize, status, search_key: searchKey, error_code: errorCode } = request;
|
||||
const _queryParams: Record<string, string | string[] | object | object[] | null> = {};
|
||||
if (page != null) {
|
||||
_queryParams.page = page.toString();
|
||||
}
|
||||
|
||||
if (pageSize != null) {
|
||||
_queryParams.page_size = pageSize.toString();
|
||||
}
|
||||
|
||||
if (status != null) {
|
||||
if (Array.isArray(status)) {
|
||||
_queryParams.status = status.map((item) => item);
|
||||
} else {
|
||||
_queryParams.status = status;
|
||||
}
|
||||
}
|
||||
|
||||
if (searchKey != null) {
|
||||
_queryParams.search_key = searchKey;
|
||||
}
|
||||
|
||||
if (errorCode != null) {
|
||||
_queryParams.error_code = errorCode;
|
||||
}
|
||||
|
||||
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
||||
this._options?.headers,
|
||||
mergeOnlyDefinedHeaders({ "x-api-key": requestOptions?.apiKey ?? this._options?.apiKey }),
|
||||
requestOptions?.headers,
|
||||
);
|
||||
const _response = await core.fetcher({
|
||||
url: core.url.join(
|
||||
(await core.Supplier.get(this._options.baseUrl)) ??
|
||||
(await core.Supplier.get(this._options.environment)) ??
|
||||
environments.SkyvernEnvironment.Cloud,
|
||||
`v1/workflows/${core.url.encodePathParam(workflowId)}/runs`,
|
||||
),
|
||||
method: "GET",
|
||||
headers: _headers,
|
||||
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
||||
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
||||
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
||||
abortSignal: requestOptions?.abortSignal,
|
||||
});
|
||||
if (_response.ok) {
|
||||
return { data: _response.body as Skyvern.WorkflowRun[], rawResponse: _response.rawResponse };
|
||||
}
|
||||
|
||||
if (_response.error.reason === "status-code") {
|
||||
switch (_response.error.statusCode) {
|
||||
case 422:
|
||||
throw new Skyvern.UnprocessableEntityError(_response.error.body as unknown, _response.rawResponse);
|
||||
default:
|
||||
throw new errors.SkyvernError({
|
||||
statusCode: _response.error.statusCode,
|
||||
body: _response.error.body,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
switch (_response.error.reason) {
|
||||
case "non-json":
|
||||
throw new errors.SkyvernError({
|
||||
statusCode: _response.error.statusCode,
|
||||
body: _response.error.rawBody,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
case "timeout":
|
||||
throw new errors.SkyvernTimeoutError(
|
||||
"Timeout exceeded when calling GET /v1/workflows/{workflow_id}/runs.",
|
||||
);
|
||||
case "unknown":
|
||||
throw new errors.SkyvernError({
|
||||
message: _response.error.errorMessage,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} workflowPermanentId
|
||||
* @param {Skyvern.GetWorkflowRequest} request
|
||||
|
|
@ -2062,7 +2365,10 @@ export class SkyvernClient {
|
|||
*
|
||||
* @example
|
||||
* await client.listBrowserProfiles({
|
||||
* include_deleted: true
|
||||
* page: 1,
|
||||
* page_size: 1,
|
||||
* include_deleted: true,
|
||||
* search_key: "search_key"
|
||||
* })
|
||||
*/
|
||||
public listBrowserProfiles(
|
||||
|
|
@ -2076,12 +2382,24 @@ export class SkyvernClient {
|
|||
request: Skyvern.ListBrowserProfilesRequest = {},
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): Promise<core.WithRawResponse<Skyvern.BrowserProfile[]>> {
|
||||
const { include_deleted: includeDeleted } = request;
|
||||
const { page, page_size: pageSize, include_deleted: includeDeleted, search_key: searchKey } = request;
|
||||
const _queryParams: Record<string, string | string[] | object | object[] | null> = {};
|
||||
if (page != null) {
|
||||
_queryParams.page = page.toString();
|
||||
}
|
||||
|
||||
if (pageSize != null) {
|
||||
_queryParams.page_size = pageSize.toString();
|
||||
}
|
||||
|
||||
if (includeDeleted != null) {
|
||||
_queryParams.include_deleted = includeDeleted.toString();
|
||||
}
|
||||
|
||||
if (searchKey != null) {
|
||||
_queryParams.search_key = searchKey;
|
||||
}
|
||||
|
||||
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
||||
this._options?.headers,
|
||||
mergeOnlyDefinedHeaders({ "x-api-key": requestOptions?.apiKey ?? this._options?.apiKey }),
|
||||
|
|
@ -2381,6 +2699,95 @@ export class SkyvernClient {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Update a browser profile's name and/or description
|
||||
*
|
||||
* @param {string} profileId - The ID of the browser profile to update. browser_profile_id starts with `bp_`
|
||||
* @param {Skyvern.UpdateBrowserProfileRequest} request
|
||||
* @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
|
||||
*
|
||||
* @throws {@link Skyvern.NotFoundError}
|
||||
* @throws {@link Skyvern.ConflictError}
|
||||
* @throws {@link Skyvern.UnprocessableEntityError}
|
||||
*
|
||||
* @example
|
||||
* await client.updateBrowserProfile("bp_123456")
|
||||
*/
|
||||
public updateBrowserProfile(
|
||||
profileId: string,
|
||||
request: Skyvern.UpdateBrowserProfileRequest = {},
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): core.HttpResponsePromise<Skyvern.BrowserProfile> {
|
||||
return core.HttpResponsePromise.fromPromise(this.__updateBrowserProfile(profileId, request, requestOptions));
|
||||
}
|
||||
|
||||
private async __updateBrowserProfile(
|
||||
profileId: string,
|
||||
request: Skyvern.UpdateBrowserProfileRequest = {},
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): Promise<core.WithRawResponse<Skyvern.BrowserProfile>> {
|
||||
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
||||
this._options?.headers,
|
||||
mergeOnlyDefinedHeaders({ "x-api-key": requestOptions?.apiKey ?? this._options?.apiKey }),
|
||||
requestOptions?.headers,
|
||||
);
|
||||
const _response = await core.fetcher({
|
||||
url: core.url.join(
|
||||
(await core.Supplier.get(this._options.baseUrl)) ??
|
||||
(await core.Supplier.get(this._options.environment)) ??
|
||||
environments.SkyvernEnvironment.Cloud,
|
||||
`v1/browser_profiles/${core.url.encodePathParam(profileId)}`,
|
||||
),
|
||||
method: "PATCH",
|
||||
headers: _headers,
|
||||
contentType: "application/json",
|
||||
queryParameters: requestOptions?.queryParams,
|
||||
requestType: "json",
|
||||
body: request,
|
||||
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
||||
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
||||
abortSignal: requestOptions?.abortSignal,
|
||||
});
|
||||
if (_response.ok) {
|
||||
return { data: _response.body as Skyvern.BrowserProfile, rawResponse: _response.rawResponse };
|
||||
}
|
||||
|
||||
if (_response.error.reason === "status-code") {
|
||||
switch (_response.error.statusCode) {
|
||||
case 404:
|
||||
throw new Skyvern.NotFoundError(_response.error.body as unknown, _response.rawResponse);
|
||||
case 409:
|
||||
throw new Skyvern.ConflictError(_response.error.body as unknown, _response.rawResponse);
|
||||
case 422:
|
||||
throw new Skyvern.UnprocessableEntityError(_response.error.body as unknown, _response.rawResponse);
|
||||
default:
|
||||
throw new errors.SkyvernError({
|
||||
statusCode: _response.error.statusCode,
|
||||
body: _response.error.body,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
switch (_response.error.reason) {
|
||||
case "non-json":
|
||||
throw new errors.SkyvernError({
|
||||
statusCode: _response.error.statusCode,
|
||||
body: _response.error.rawBody,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
case "timeout":
|
||||
throw new errors.SkyvernTimeoutError(
|
||||
"Timeout exceeded when calling PATCH /v1/browser_profiles/{profile_id}.",
|
||||
);
|
||||
case "unknown":
|
||||
throw new errors.SkyvernError({
|
||||
message: _response.error.errorMessage,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all active browser sessions for the organization
|
||||
*
|
||||
|
|
@ -3216,6 +3623,7 @@ export class SkyvernClient {
|
|||
*
|
||||
* @example
|
||||
* await client.login({
|
||||
* "x-user-agent": "x-user-agent",
|
||||
* credential_type: "skyvern"
|
||||
* })
|
||||
*/
|
||||
|
|
@ -3230,9 +3638,13 @@ export class SkyvernClient {
|
|||
request: Skyvern.LoginRequest,
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): Promise<core.WithRawResponse<Skyvern.WorkflowRunResponse>> {
|
||||
const { "x-user-agent": userAgent, ..._body } = request;
|
||||
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
||||
this._options?.headers,
|
||||
mergeOnlyDefinedHeaders({ "x-api-key": requestOptions?.apiKey ?? this._options?.apiKey }),
|
||||
mergeOnlyDefinedHeaders({
|
||||
"x-user-agent": userAgent != null ? userAgent : undefined,
|
||||
"x-api-key": requestOptions?.apiKey ?? this._options?.apiKey,
|
||||
}),
|
||||
requestOptions?.headers,
|
||||
);
|
||||
const _response = await core.fetcher({
|
||||
|
|
@ -3247,7 +3659,7 @@ export class SkyvernClient {
|
|||
contentType: "application/json",
|
||||
queryParameters: requestOptions?.queryParams,
|
||||
requestType: "json",
|
||||
body: request,
|
||||
body: _body,
|
||||
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
||||
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
||||
abortSignal: requestOptions?.abortSignal,
|
||||
|
|
@ -3296,6 +3708,7 @@ export class SkyvernClient {
|
|||
*
|
||||
* @example
|
||||
* await client.downloadFiles({
|
||||
* "x-user-agent": "x-user-agent",
|
||||
* navigation_goal: "navigation_goal"
|
||||
* })
|
||||
*/
|
||||
|
|
@ -3310,9 +3723,13 @@ export class SkyvernClient {
|
|||
request: Skyvern.DownloadFilesRequest,
|
||||
requestOptions?: SkyvernClient.RequestOptions,
|
||||
): Promise<core.WithRawResponse<Skyvern.WorkflowRunResponse>> {
|
||||
const { "x-user-agent": userAgent, ..._body } = request;
|
||||
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
||||
this._options?.headers,
|
||||
mergeOnlyDefinedHeaders({ "x-api-key": requestOptions?.apiKey ?? this._options?.apiKey }),
|
||||
mergeOnlyDefinedHeaders({
|
||||
"x-user-agent": userAgent != null ? userAgent : undefined,
|
||||
"x-api-key": requestOptions?.apiKey ?? this._options?.apiKey,
|
||||
}),
|
||||
requestOptions?.headers,
|
||||
);
|
||||
const _response = await core.fetcher({
|
||||
|
|
@ -3327,7 +3744,7 @@ export class SkyvernClient {
|
|||
contentType: "application/json",
|
||||
queryParameters: requestOptions?.queryParams,
|
||||
requestType: "json",
|
||||
body: request,
|
||||
body: _body,
|
||||
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
||||
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
||||
abortSignal: requestOptions?.abortSignal,
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
/**
|
||||
* @example
|
||||
* {
|
||||
* run_ids: ["run_ids"]
|
||||
* }
|
||||
*/
|
||||
export interface BulkCancelRunsRequest {
|
||||
/** List of run IDs to cancel */
|
||||
run_ids: string[];
|
||||
}
|
||||
|
|
@ -24,6 +24,7 @@ export interface CreateBrowserSessionRequest {
|
|||
* - RESIDENTIAL_NZ: New Zealand
|
||||
* - RESIDENTIAL_PH: Philippines
|
||||
* - RESIDENTIAL_KR: South Korea
|
||||
* - RESIDENTIAL_SA: Saudi Arabia
|
||||
* - RESIDENTIAL_ZA: South Africa
|
||||
* - RESIDENTIAL_AR: Argentina
|
||||
* - RESIDENTIAL_AU: Australia
|
||||
|
|
@ -40,8 +41,11 @@ export interface CreateBrowserSessionRequest {
|
|||
* - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - NONE: No proxy
|
||||
*
|
||||
* For self-hosted deployments, you can pass a custom proxy URL as a dict: {"url": "http://user:password@proxy.example.com:8080"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.
|
||||
* Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}, or a custom proxy URL dict for self-hosted deployments: {"url": "http://user:password@proxy.example.com:8080"}
|
||||
*/
|
||||
proxy_location?: Skyvern.ProxyLocation;
|
||||
proxy_location?: CreateBrowserSessionRequest.ProxyLocation;
|
||||
/** A list of extensions to install in the browser session. */
|
||||
extensions?: Skyvern.Extensions[];
|
||||
/** The type of browser to use for the session. */
|
||||
|
|
@ -49,3 +53,44 @@ export interface CreateBrowserSessionRequest {
|
|||
/** ID of a browser profile to load into this session (restores cookies, localStorage, etc.). browser_profile_id starts with `bp_`. */
|
||||
browser_profile_id?: string;
|
||||
}
|
||||
|
||||
export namespace CreateBrowserSessionRequest {
|
||||
/**
|
||||
*
|
||||
* Geographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.
|
||||
*
|
||||
* Available geotargeting options:
|
||||
* - RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.
|
||||
* - RESIDENTIAL_ES: Spain
|
||||
* - RESIDENTIAL_IE: Ireland
|
||||
* - RESIDENTIAL_GB: United Kingdom
|
||||
* - RESIDENTIAL_IN: India
|
||||
* - RESIDENTIAL_JP: Japan
|
||||
* - RESIDENTIAL_FR: France
|
||||
* - RESIDENTIAL_DE: Germany
|
||||
* - RESIDENTIAL_NZ: New Zealand
|
||||
* - RESIDENTIAL_PH: Philippines
|
||||
* - RESIDENTIAL_KR: South Korea
|
||||
* - RESIDENTIAL_SA: Saudi Arabia
|
||||
* - RESIDENTIAL_ZA: South Africa
|
||||
* - RESIDENTIAL_AR: Argentina
|
||||
* - RESIDENTIAL_AU: Australia
|
||||
* - RESIDENTIAL_BR: Brazil
|
||||
* - RESIDENTIAL_TR: Turkey
|
||||
* - RESIDENTIAL_CA: Canada
|
||||
* - RESIDENTIAL_MX: Mexico
|
||||
* - RESIDENTIAL_IT: Italy
|
||||
* - RESIDENTIAL_NL: Netherlands
|
||||
* - RESIDENTIAL_ISP: ISP proxy
|
||||
* - US-CA: California (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - NONE: No proxy
|
||||
*
|
||||
* For self-hosted deployments, you can pass a custom proxy URL as a dict: {"url": "http://user:password@proxy.example.com:8080"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.
|
||||
* Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}, or a custom proxy URL dict for self-hosted deployments: {"url": "http://user:password@proxy.example.com:8080"}
|
||||
*/
|
||||
export type ProxyLocation = Skyvern.ProxyLocation | Skyvern.GeoTarget | Record<string, unknown>;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,10 +5,12 @@ import type * as Skyvern from "../../index.js";
|
|||
/**
|
||||
* @example
|
||||
* {
|
||||
* "x-user-agent": "x-user-agent",
|
||||
* navigation_goal: "navigation_goal"
|
||||
* }
|
||||
*/
|
||||
export interface DownloadFilesRequest {
|
||||
"x-user-agent"?: string;
|
||||
/** Website URL */
|
||||
url?: string;
|
||||
/** Webhook URL to send status updates */
|
||||
|
|
@ -27,6 +29,8 @@ export interface DownloadFilesRequest {
|
|||
browser_address?: string;
|
||||
/** Additional HTTP headers to include in requests */
|
||||
extra_http_headers?: Record<string, string | undefined>;
|
||||
/** HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Never forwarded to target websites. */
|
||||
cdp_connect_headers?: Record<string, string | undefined>;
|
||||
/** Maximum number of times to scroll for screenshots */
|
||||
max_screenshot_scrolling_times?: number;
|
||||
/** Instructions for navigating to and downloading the file */
|
||||
|
|
|
|||
|
|
@ -0,0 +1,25 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
import type * as Skyvern from "../../index.js";
|
||||
|
||||
/**
|
||||
* @example
|
||||
* {
|
||||
* page: 1,
|
||||
* page_size: 1,
|
||||
* search_key: "search_key",
|
||||
* error_code: "error_code"
|
||||
* }
|
||||
*/
|
||||
export interface GetWorkflowRunsByIdRequest {
|
||||
/** Page number for pagination. */
|
||||
page?: number;
|
||||
/** Number of runs to return per page. */
|
||||
page_size?: number;
|
||||
/** Filter by one or more run statuses. */
|
||||
status?: Skyvern.WorkflowRunStatus | Skyvern.WorkflowRunStatus[];
|
||||
/** Case-insensitive substring search across: workflow run ID, parameter key, parameter description, run parameter value, and extra HTTP headers. A run is returned if any of these fields match. Soft-deleted parameter definitions are excluded from key/description matching. */
|
||||
search_key?: string;
|
||||
/** Exact-match filter on the error_code field inside each task's errors JSON array. A run matches if any of its tasks contains an error with a matching error_code. Error codes are user-defined strings set during workflow execution. */
|
||||
error_code?: string;
|
||||
}
|
||||
|
|
@ -3,10 +3,17 @@
|
|||
/**
|
||||
* @example
|
||||
* {
|
||||
* include_deleted: true
|
||||
* page: 1,
|
||||
* page_size: 1,
|
||||
* include_deleted: true,
|
||||
* search_key: "search_key"
|
||||
* }
|
||||
*/
|
||||
export interface ListBrowserProfilesRequest {
|
||||
page?: number;
|
||||
page_size?: number;
|
||||
/** Include deleted browser profiles */
|
||||
include_deleted?: boolean;
|
||||
/** Case-insensitive substring search across: browser profile name and description. A profile is returned if either field matches. */
|
||||
search_key?: string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,10 +5,12 @@ import type * as Skyvern from "../../index.js";
|
|||
/**
|
||||
* @example
|
||||
* {
|
||||
* "x-user-agent": "x-user-agent",
|
||||
* credential_type: "skyvern"
|
||||
* }
|
||||
*/
|
||||
export interface LoginRequest {
|
||||
"x-user-agent"?: string;
|
||||
/** Website URL */
|
||||
url?: string;
|
||||
/** Webhook URL to send status updates */
|
||||
|
|
@ -27,10 +29,12 @@ export interface LoginRequest {
|
|||
browser_address?: string;
|
||||
/** Additional HTTP headers to include in requests */
|
||||
extra_http_headers?: Record<string, string | undefined>;
|
||||
/** HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Never forwarded to target websites. */
|
||||
cdp_connect_headers?: Record<string, string | undefined>;
|
||||
/** Maximum number of times to scroll for screenshots */
|
||||
max_screenshot_scrolling_times?: number;
|
||||
/** Where to get the credential from */
|
||||
credential_type: Skyvern.SkyvernSchemasRunBlocksCredentialType;
|
||||
credential_type: Skyvern.SkyvernSchemasCredentialTypeCredentialType;
|
||||
/** Login instructions. Skyvern has default prompt/instruction for login if this field is not provided. */
|
||||
prompt?: string;
|
||||
/** ID of the Skyvern credential to use for login. */
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
/**
|
||||
* @example
|
||||
* {
|
||||
* "x-max-steps-override": 1,
|
||||
* "x-user-agent": "x-user-agent"
|
||||
* }
|
||||
*/
|
||||
export interface RetryWorkflowRunRequest {
|
||||
"x-max-steps-override"?: number;
|
||||
"x-user-agent"?: string;
|
||||
}
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
import type * as Skyvern from "../../index.js";
|
||||
|
||||
/**
|
||||
* @example
|
||||
* {
|
||||
* "x-user-agent": "x-user-agent",
|
||||
* body: {
|
||||
* prompt: "Find the top 3 posts on Hacker News."
|
||||
* }
|
||||
* }
|
||||
*/
|
||||
export interface RunTaskRequest {
|
||||
"x-user-agent"?: string;
|
||||
body: Skyvern.TaskRunRequest;
|
||||
}
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
import type * as Skyvern from "../../index.js";
|
||||
|
||||
/**
|
||||
* @example
|
||||
* {
|
||||
* "x-max-steps-override": 1,
|
||||
* "x-user-agent": "x-user-agent",
|
||||
* template: true,
|
||||
* body: {
|
||||
* workflow_id: "wpid_123"
|
||||
* }
|
||||
* }
|
||||
*/
|
||||
export interface RunWorkflowRequest {
|
||||
template?: boolean;
|
||||
"x-max-steps-override"?: number;
|
||||
"x-user-agent"?: string;
|
||||
body: Skyvern.WorkflowRunRequest;
|
||||
}
|
||||
157
skyvern-ts/client/src/api/client/requests/TaskRunRequestInput.ts
Normal file
157
skyvern-ts/client/src/api/client/requests/TaskRunRequestInput.ts
Normal file
|
|
@ -0,0 +1,157 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
import type * as Skyvern from "../../index.js";
|
||||
|
||||
/**
|
||||
* @example
|
||||
* {
|
||||
* "x-user-agent": "x-user-agent",
|
||||
* prompt: "Find the top 3 posts on Hacker News."
|
||||
* }
|
||||
*/
|
||||
export interface TaskRunRequestInput {
|
||||
"x-user-agent"?: string;
|
||||
/**
|
||||
* The goal or task description for Skyvern to accomplish
|
||||
*/
|
||||
prompt: string;
|
||||
/**
|
||||
* The starting URL for the task. If not provided, Skyvern will attempt to determine an appropriate URL
|
||||
*/
|
||||
url?: string;
|
||||
/**
|
||||
* The engine that powers the agent task. The default value is `skyvern-1.0`, which is good for simple tasks like filling a form, or searching for information on Google. `skyvern-2.0` remains available for existing V2 workflows and explicitly requested V2 task runs. The `openai-cua` engine uses OpenAI's CUA model. The `anthropic-cua` uses Anthropic's Claude Sonnet 3.7 model with the computer use tool.
|
||||
*/
|
||||
engine?: Skyvern.RunEngine;
|
||||
/** The title for the task */
|
||||
title?: string;
|
||||
/**
|
||||
* Geographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.
|
||||
*
|
||||
* Available geotargeting options:
|
||||
* - RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.
|
||||
* - RESIDENTIAL_ES: Spain
|
||||
* - RESIDENTIAL_IE: Ireland
|
||||
* - RESIDENTIAL_GB: United Kingdom
|
||||
* - RESIDENTIAL_IN: India
|
||||
* - RESIDENTIAL_JP: Japan
|
||||
* - RESIDENTIAL_FR: France
|
||||
* - RESIDENTIAL_DE: Germany
|
||||
* - RESIDENTIAL_NZ: New Zealand
|
||||
* - RESIDENTIAL_PH: Philippines
|
||||
* - RESIDENTIAL_KR: South Korea
|
||||
* - RESIDENTIAL_SA: Saudi Arabia
|
||||
* - RESIDENTIAL_ZA: South Africa
|
||||
* - RESIDENTIAL_AR: Argentina
|
||||
* - RESIDENTIAL_AU: Australia
|
||||
* - RESIDENTIAL_BR: Brazil
|
||||
* - RESIDENTIAL_TR: Turkey
|
||||
* - RESIDENTIAL_CA: Canada
|
||||
* - RESIDENTIAL_MX: Mexico
|
||||
* - RESIDENTIAL_IT: Italy
|
||||
* - RESIDENTIAL_NL: Netherlands
|
||||
* - RESIDENTIAL_ISP: ISP proxy
|
||||
* - US-CA: California (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - NONE: No proxy
|
||||
*
|
||||
* For self-hosted deployments, you can pass a custom proxy URL as a dict: {"url": "http://user:password@proxy.example.com:8080"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.
|
||||
* Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}
|
||||
*/
|
||||
proxy_location?: TaskRunRequestInput.ProxyLocation;
|
||||
/**
|
||||
* The schema for data to be extracted from the webpage. If you're looking for consistent data schema being returned by the agent, it's highly recommended to use https://json-schema.org/.
|
||||
*/
|
||||
data_extraction_schema?: TaskRunRequestInput.DataExtractionSchema;
|
||||
/**
|
||||
* Custom mapping of error codes to error messages if Skyvern encounters an error.
|
||||
*/
|
||||
error_code_mapping?: Record<string, string | undefined>;
|
||||
/**
|
||||
* Maximum number of steps the task can take. Task will fail if it exceeds this number. Cautions: you are charged per step so please set this number to a reasonable value. Contact sales@skyvern.com for custom pricing.
|
||||
*/
|
||||
max_steps?: number;
|
||||
/**
|
||||
* After a run is finished, send an update to this URL. Refer to https://www.skyvern.com/docs/running-tasks/webhooks-faq for more details.
|
||||
*/
|
||||
webhook_url?: string;
|
||||
/**
|
||||
* Identifier for the TOTP/2FA/MFA code when the code is pushed to Skyvern. Refer to https://www.skyvern.com/docs/credentials/totp#option-3-push-code-to-skyvern for more details.
|
||||
*/
|
||||
totp_identifier?: string;
|
||||
/**
|
||||
* URL that serves TOTP/2FA/MFA codes for Skyvern to use during the workflow run. Refer to https://www.skyvern.com/docs/credentials/totp#option-2-get-code-from-your-endpoint for more details.
|
||||
*/
|
||||
totp_url?: string;
|
||||
/**
|
||||
* Run the task or workflow in the specific Skyvern browser session. Having a browser session can persist the real-time state of the browser, so that the next run can continue from where the previous run left off.
|
||||
*/
|
||||
browser_session_id?: string;
|
||||
/**
|
||||
* Optional model configuration.
|
||||
*/
|
||||
model?: Record<string, unknown>;
|
||||
/** The extra HTTP headers for the requests in browser. */
|
||||
extra_http_headers?: Record<string, string | undefined>;
|
||||
/** HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Use this for browser-provider auth (e.g., x-api-key for Skyvern Cloud, Browserless, or similar). These headers are NEVER forwarded to target websites. */
|
||||
cdp_connect_headers?: Record<string, string | undefined>;
|
||||
/** Deprecated. Whether to publish a `skyvern-2.0` task as a reusable workflow. For backwards compatibility, this routes the request through the legacy `skyvern-2.0` publish path. Prefer creating reusable workflows through the workflow APIs. */
|
||||
publish_workflow?: boolean;
|
||||
/** Whether to include action history when verifying that the task is complete */
|
||||
include_action_history_in_verification?: boolean;
|
||||
/** The maximum number of scrolls for the post action screenshot. When it's None or 0, it takes the current viewpoint screenshot. */
|
||||
max_screenshot_scrolls?: number;
|
||||
/** The CDP address for the task. */
|
||||
browser_address?: string;
|
||||
/** Whether to run the task with agent or code. Null means use the default. */
|
||||
run_with?: string;
|
||||
}
|
||||
|
||||
export namespace TaskRunRequestInput {
|
||||
/**
|
||||
*
|
||||
* Geographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.
|
||||
*
|
||||
* Available geotargeting options:
|
||||
* - RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.
|
||||
* - RESIDENTIAL_ES: Spain
|
||||
* - RESIDENTIAL_IE: Ireland
|
||||
* - RESIDENTIAL_GB: United Kingdom
|
||||
* - RESIDENTIAL_IN: India
|
||||
* - RESIDENTIAL_JP: Japan
|
||||
* - RESIDENTIAL_FR: France
|
||||
* - RESIDENTIAL_DE: Germany
|
||||
* - RESIDENTIAL_NZ: New Zealand
|
||||
* - RESIDENTIAL_PH: Philippines
|
||||
* - RESIDENTIAL_KR: South Korea
|
||||
* - RESIDENTIAL_SA: Saudi Arabia
|
||||
* - RESIDENTIAL_ZA: South Africa
|
||||
* - RESIDENTIAL_AR: Argentina
|
||||
* - RESIDENTIAL_AU: Australia
|
||||
* - RESIDENTIAL_BR: Brazil
|
||||
* - RESIDENTIAL_TR: Turkey
|
||||
* - RESIDENTIAL_CA: Canada
|
||||
* - RESIDENTIAL_MX: Mexico
|
||||
* - RESIDENTIAL_IT: Italy
|
||||
* - RESIDENTIAL_NL: Netherlands
|
||||
* - RESIDENTIAL_ISP: ISP proxy
|
||||
* - US-CA: California (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - NONE: No proxy
|
||||
*
|
||||
* For self-hosted deployments, you can pass a custom proxy URL as a dict: {"url": "http://user:password@proxy.example.com:8080"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.
|
||||
* Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}
|
||||
*/
|
||||
export type ProxyLocation = Skyvern.ProxyLocation | Skyvern.GeoTarget | Record<string, unknown>;
|
||||
/**
|
||||
*
|
||||
* The schema for data to be extracted from the webpage. If you're looking for consistent data schema being returned by the agent, it's highly recommended to use https://json-schema.org/.
|
||||
*/
|
||||
export type DataExtractionSchema = Record<string, unknown> | unknown[] | string;
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
/**
|
||||
* @example
|
||||
* {}
|
||||
*/
|
||||
export interface UpdateBrowserProfileRequest {
|
||||
/** New name for the browser profile */
|
||||
name?: string;
|
||||
/** New description for the browser profile */
|
||||
description?: string;
|
||||
}
|
||||
|
|
@ -0,0 +1,132 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
import type * as Skyvern from "../../index.js";
|
||||
|
||||
/**
|
||||
* @example
|
||||
* {
|
||||
* "x-max-steps-override": 1,
|
||||
* "x-user-agent": "x-user-agent",
|
||||
* template: true,
|
||||
* workflow_id: "wpid_123"
|
||||
* }
|
||||
*/
|
||||
export interface WorkflowRunRequestInput {
|
||||
template?: boolean;
|
||||
"x-max-steps-override"?: number;
|
||||
"x-user-agent"?: string;
|
||||
/** ID of the workflow to run. Workflow ID starts with `wpid_`. */
|
||||
workflow_id: string;
|
||||
/** Parameters to pass to the workflow */
|
||||
parameters?: Record<string, unknown>;
|
||||
/** The title for this workflow run */
|
||||
title?: string;
|
||||
/**
|
||||
* Geographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.
|
||||
*
|
||||
* Available geotargeting options:
|
||||
* - RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.
|
||||
* - RESIDENTIAL_ES: Spain
|
||||
* - RESIDENTIAL_IE: Ireland
|
||||
* - RESIDENTIAL_GB: United Kingdom
|
||||
* - RESIDENTIAL_IN: India
|
||||
* - RESIDENTIAL_JP: Japan
|
||||
* - RESIDENTIAL_FR: France
|
||||
* - RESIDENTIAL_DE: Germany
|
||||
* - RESIDENTIAL_NZ: New Zealand
|
||||
* - RESIDENTIAL_PH: Philippines
|
||||
* - RESIDENTIAL_KR: South Korea
|
||||
* - RESIDENTIAL_SA: Saudi Arabia
|
||||
* - RESIDENTIAL_ZA: South Africa
|
||||
* - RESIDENTIAL_AR: Argentina
|
||||
* - RESIDENTIAL_AU: Australia
|
||||
* - RESIDENTIAL_BR: Brazil
|
||||
* - RESIDENTIAL_TR: Turkey
|
||||
* - RESIDENTIAL_CA: Canada
|
||||
* - RESIDENTIAL_MX: Mexico
|
||||
* - RESIDENTIAL_IT: Italy
|
||||
* - RESIDENTIAL_NL: Netherlands
|
||||
* - RESIDENTIAL_ISP: ISP proxy
|
||||
* - US-CA: California (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - NONE: No proxy
|
||||
*
|
||||
* For self-hosted deployments, you can pass a custom proxy URL as a dict: {"url": "http://user:password@proxy.example.com:8080"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.
|
||||
* Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}
|
||||
*/
|
||||
proxy_location?: WorkflowRunRequestInput.ProxyLocation;
|
||||
/** URL to send workflow status updates to after a run is finished. Refer to https://www.skyvern.com/docs/running-tasks/webhooks-faq for webhook questions. */
|
||||
webhook_url?: string;
|
||||
/**
|
||||
* URL that serves TOTP/2FA/MFA codes for Skyvern to use during the workflow run. Refer to https://www.skyvern.com/docs/credentials/totp#option-2-get-code-from-your-endpoint for more details.
|
||||
*/
|
||||
totp_url?: string;
|
||||
/**
|
||||
* Identifier for the TOTP/2FA/MFA code when the code is pushed to Skyvern. Refer to https://www.skyvern.com/docs/credentials/totp#option-3-push-code-to-skyvern for more details.
|
||||
*/
|
||||
totp_identifier?: string;
|
||||
/** ID of a Skyvern browser session to reuse, having it continue from the current screen state */
|
||||
browser_session_id?: string;
|
||||
/** ID of a browser profile to reuse for this workflow run */
|
||||
browser_profile_id?: string;
|
||||
/** The maximum number of scrolls for the post action screenshot. When it's None or 0, it takes the current viewpoint screenshot. */
|
||||
max_screenshot_scrolls?: number;
|
||||
/** Timeout this workflow run after the configured elapsed runtime in minutes. Maximum runtime is 4 hours. */
|
||||
max_elapsed_time_minutes?: number;
|
||||
/** The extra HTTP headers for the requests in browser. */
|
||||
extra_http_headers?: Record<string, string | undefined>;
|
||||
/** HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Use this for browser-provider auth (e.g., x-api-key for Skyvern Cloud, Browserless, or similar). These headers are NEVER forwarded to target websites. */
|
||||
cdp_connect_headers?: Record<string, string | undefined>;
|
||||
/** The CDP address for the workflow run. */
|
||||
browser_address?: string;
|
||||
/** Whether to fallback to AI if the workflow run fails. */
|
||||
ai_fallback?: boolean;
|
||||
/** Whether to run the workflow with agent or code. Null inherits from the workflow setting. */
|
||||
run_with?: string;
|
||||
/** String key/value metadata to attach to this workflow run for analytics tag filtering. */
|
||||
run_metadata?: Record<string, string | undefined>;
|
||||
}
|
||||
|
||||
export namespace WorkflowRunRequestInput {
|
||||
/**
|
||||
*
|
||||
* Geographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.
|
||||
*
|
||||
* Available geotargeting options:
|
||||
* - RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.
|
||||
* - RESIDENTIAL_ES: Spain
|
||||
* - RESIDENTIAL_IE: Ireland
|
||||
* - RESIDENTIAL_GB: United Kingdom
|
||||
* - RESIDENTIAL_IN: India
|
||||
* - RESIDENTIAL_JP: Japan
|
||||
* - RESIDENTIAL_FR: France
|
||||
* - RESIDENTIAL_DE: Germany
|
||||
* - RESIDENTIAL_NZ: New Zealand
|
||||
* - RESIDENTIAL_PH: Philippines
|
||||
* - RESIDENTIAL_KR: South Korea
|
||||
* - RESIDENTIAL_SA: Saudi Arabia
|
||||
* - RESIDENTIAL_ZA: South Africa
|
||||
* - RESIDENTIAL_AR: Argentina
|
||||
* - RESIDENTIAL_AU: Australia
|
||||
* - RESIDENTIAL_BR: Brazil
|
||||
* - RESIDENTIAL_TR: Turkey
|
||||
* - RESIDENTIAL_CA: Canada
|
||||
* - RESIDENTIAL_MX: Mexico
|
||||
* - RESIDENTIAL_IT: Italy
|
||||
* - RESIDENTIAL_NL: Netherlands
|
||||
* - RESIDENTIAL_ISP: ISP proxy
|
||||
* - US-CA: California (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - NONE: No proxy
|
||||
*
|
||||
* For self-hosted deployments, you can pass a custom proxy URL as a dict: {"url": "http://user:password@proxy.example.com:8080"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.
|
||||
* Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}
|
||||
*/
|
||||
export type ProxyLocation = Skyvern.ProxyLocation | Skyvern.GeoTarget | Record<string, unknown>;
|
||||
}
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
export type { BodyUploadFileV1UploadFilePost } from "./BodyUploadFileV1UploadFilePost.js";
|
||||
export type { BulkCancelRunsRequest } from "./BulkCancelRunsRequest.js";
|
||||
export type { CreateBrowserProfileRequest } from "./CreateBrowserProfileRequest.js";
|
||||
export type { CreateBrowserSessionRequest } from "./CreateBrowserSessionRequest.js";
|
||||
export type { CreateScriptRequest } from "./CreateScriptRequest.js";
|
||||
|
|
@ -14,13 +15,16 @@ export type { GetRunArtifactsRequest } from "./GetRunArtifactsRequest.js";
|
|||
export type { GetRunsV2Request } from "./GetRunsV2Request.js";
|
||||
export type { GetScriptsRequest } from "./GetScriptsRequest.js";
|
||||
export type { GetWorkflowRequest } from "./GetWorkflowRequest.js";
|
||||
export type { GetWorkflowRunsByIdRequest } from "./GetWorkflowRunsByIdRequest.js";
|
||||
export type { GetWorkflowRunsRequest } from "./GetWorkflowRunsRequest.js";
|
||||
export type { GetWorkflowsRequest } from "./GetWorkflowsRequest.js";
|
||||
export type { GetWorkflowVersionsRequest } from "./GetWorkflowVersionsRequest.js";
|
||||
export type { ListBrowserProfilesRequest } from "./ListBrowserProfilesRequest.js";
|
||||
export type { LoginRequest } from "./LoginRequest.js";
|
||||
export type { RetryWorkflowRunRequest } from "./RetryWorkflowRunRequest.js";
|
||||
export type { RunSdkActionRequest } from "./RunSdkActionRequest.js";
|
||||
export type { RunTaskRequest } from "./RunTaskRequest.js";
|
||||
export type { RunWorkflowRequest } from "./RunWorkflowRequest.js";
|
||||
export type { TaskRunRequestInput } from "./TaskRunRequestInput.js";
|
||||
export type { TotpCodeCreate } from "./TotpCodeCreate.js";
|
||||
export type { UpdateBrowserProfileRequest } from "./UpdateBrowserProfileRequest.js";
|
||||
export type { UpdateWorkflowFolderRequest } from "./UpdateWorkflowFolderRequest.js";
|
||||
export type { WorkflowRunRequestInput } from "./WorkflowRunRequestInput.js";
|
||||
|
|
|
|||
16
skyvern-ts/client/src/api/errors/InternalServerError.ts
Normal file
16
skyvern-ts/client/src/api/errors/InternalServerError.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
import type * as core from "../../core/index.js";
|
||||
import * as errors from "../../errors/index.js";
|
||||
|
||||
export class InternalServerError extends errors.SkyvernError {
|
||||
constructor(body?: unknown, rawResponse?: core.RawResponse) {
|
||||
super({
|
||||
message: "InternalServerError",
|
||||
statusCode: 500,
|
||||
body: body,
|
||||
rawResponse: rawResponse,
|
||||
});
|
||||
Object.setPrototypeOf(this, InternalServerError.prototype);
|
||||
}
|
||||
}
|
||||
16
skyvern-ts/client/src/api/errors/RangeNotSatisfiableError.ts
Normal file
16
skyvern-ts/client/src/api/errors/RangeNotSatisfiableError.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
import type * as core from "../../core/index.js";
|
||||
import * as errors from "../../errors/index.js";
|
||||
|
||||
export class RangeNotSatisfiableError extends errors.SkyvernError {
|
||||
constructor(body?: unknown, rawResponse?: core.RawResponse) {
|
||||
super({
|
||||
message: "RangeNotSatisfiableError",
|
||||
statusCode: 416,
|
||||
body: body,
|
||||
rawResponse: rawResponse,
|
||||
});
|
||||
Object.setPrototypeOf(this, RangeNotSatisfiableError.prototype);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
export * from "./BadRequestError.js";
|
||||
export * from "./ConflictError.js";
|
||||
export * from "./ForbiddenError.js";
|
||||
export * from "./InternalServerError.js";
|
||||
export * from "./NotFoundError.js";
|
||||
export * from "./RangeNotSatisfiableError.js";
|
||||
export * from "./UnprocessableEntityError.js";
|
||||
|
|
|
|||
|
|
@ -3,3 +3,5 @@ export * from "./schedules/client/requests/index.js";
|
|||
export * as schedules from "./schedules/index.js";
|
||||
export * from "./schedules/types/index.js";
|
||||
export * as scripts from "./scripts/index.js";
|
||||
export * as server from "./server/index.js";
|
||||
export * as workflows from "./workflows/index.js";
|
||||
|
|
|
|||
84
skyvern-ts/client/src/api/resources/server/client/Client.ts
Normal file
84
skyvern-ts/client/src/api/resources/server/client/Client.ts
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
||||
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js";
|
||||
import * as core from "../../../../core/index.js";
|
||||
import * as environments from "../../../../environments.js";
|
||||
import * as errors from "../../../../errors/index.js";
|
||||
|
||||
export declare namespace Server {
|
||||
export interface Options extends BaseClientOptions {}
|
||||
|
||||
export interface RequestOptions extends BaseRequestOptions {}
|
||||
}
|
||||
|
||||
export class Server {
|
||||
protected readonly _options: Server.Options;
|
||||
|
||||
constructor(_options: Server.Options = {}) {
|
||||
this._options = _options;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the current Skyvern server version (git SHA for official builds).
|
||||
*
|
||||
* @param {Server.RequestOptions} requestOptions - Request-specific configuration.
|
||||
*
|
||||
* @example
|
||||
* await client.server.getVersion()
|
||||
*/
|
||||
public getVersion(requestOptions?: Server.RequestOptions): core.HttpResponsePromise<Record<string, string>> {
|
||||
return core.HttpResponsePromise.fromPromise(this.__getVersion(requestOptions));
|
||||
}
|
||||
|
||||
private async __getVersion(
|
||||
requestOptions?: Server.RequestOptions,
|
||||
): Promise<core.WithRawResponse<Record<string, string>>> {
|
||||
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
||||
this._options?.headers,
|
||||
mergeOnlyDefinedHeaders({ "x-api-key": requestOptions?.apiKey ?? this._options?.apiKey }),
|
||||
requestOptions?.headers,
|
||||
);
|
||||
const _response = await core.fetcher({
|
||||
url: core.url.join(
|
||||
(await core.Supplier.get(this._options.baseUrl)) ??
|
||||
(await core.Supplier.get(this._options.environment)) ??
|
||||
environments.SkyvernEnvironment.Cloud,
|
||||
"v1/version",
|
||||
),
|
||||
method: "GET",
|
||||
headers: _headers,
|
||||
queryParameters: requestOptions?.queryParams,
|
||||
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
||||
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
||||
abortSignal: requestOptions?.abortSignal,
|
||||
});
|
||||
if (_response.ok) {
|
||||
return { data: _response.body as Record<string, string>, rawResponse: _response.rawResponse };
|
||||
}
|
||||
|
||||
if (_response.error.reason === "status-code") {
|
||||
throw new errors.SkyvernError({
|
||||
statusCode: _response.error.statusCode,
|
||||
body: _response.error.body,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
}
|
||||
|
||||
switch (_response.error.reason) {
|
||||
case "non-json":
|
||||
throw new errors.SkyvernError({
|
||||
statusCode: _response.error.statusCode,
|
||||
body: _response.error.rawBody,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
case "timeout":
|
||||
throw new errors.SkyvernTimeoutError("Timeout exceeded when calling GET /v1/version.");
|
||||
case "unknown":
|
||||
throw new errors.SkyvernError({
|
||||
message: _response.error.errorMessage,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
export {};
|
||||
1
skyvern-ts/client/src/api/resources/server/index.ts
Normal file
1
skyvern-ts/client/src/api/resources/server/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from "./client/index.js";
|
||||
107
skyvern-ts/client/src/api/resources/workflows/client/Client.ts
Normal file
107
skyvern-ts/client/src/api/resources/workflows/client/Client.ts
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
||||
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js";
|
||||
import * as core from "../../../../core/index.js";
|
||||
import * as environments from "../../../../environments.js";
|
||||
import * as errors from "../../../../errors/index.js";
|
||||
import * as Skyvern from "../../../index.js";
|
||||
|
||||
export declare namespace Workflows {
|
||||
export interface Options extends BaseClientOptions {}
|
||||
|
||||
export interface RequestOptions extends BaseRequestOptions {}
|
||||
}
|
||||
|
||||
export class Workflows {
|
||||
protected readonly _options: Workflows.Options;
|
||||
|
||||
constructor(_options: Workflows.Options = {}) {
|
||||
this._options = _options;
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear the persisted browser profile for a workflow that uses `Save & Reuse Session`. The next run will start from a fresh browser state. Use when a saved profile is corrupted.
|
||||
*
|
||||
* @param {string} workflowPermanentId - The permanent ID of the workflow. Starts with `wpid_`.
|
||||
* @param {Workflows.RequestOptions} requestOptions - Request-specific configuration.
|
||||
*
|
||||
* @throws {@link Skyvern.NotFoundError}
|
||||
* @throws {@link Skyvern.UnprocessableEntityError}
|
||||
* @throws {@link Skyvern.InternalServerError}
|
||||
*
|
||||
* @example
|
||||
* await client.workflows.resetWorkflowBrowserProfile("wpid_123")
|
||||
*/
|
||||
public resetWorkflowBrowserProfile(
|
||||
workflowPermanentId: string,
|
||||
requestOptions?: Workflows.RequestOptions,
|
||||
): core.HttpResponsePromise<void> {
|
||||
return core.HttpResponsePromise.fromPromise(
|
||||
this.__resetWorkflowBrowserProfile(workflowPermanentId, requestOptions),
|
||||
);
|
||||
}
|
||||
|
||||
private async __resetWorkflowBrowserProfile(
|
||||
workflowPermanentId: string,
|
||||
requestOptions?: Workflows.RequestOptions,
|
||||
): Promise<core.WithRawResponse<void>> {
|
||||
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
||||
this._options?.headers,
|
||||
mergeOnlyDefinedHeaders({ "x-api-key": requestOptions?.apiKey ?? this._options?.apiKey }),
|
||||
requestOptions?.headers,
|
||||
);
|
||||
const _response = await core.fetcher({
|
||||
url: core.url.join(
|
||||
(await core.Supplier.get(this._options.baseUrl)) ??
|
||||
(await core.Supplier.get(this._options.environment)) ??
|
||||
environments.SkyvernEnvironment.Cloud,
|
||||
`v1/workflows/${core.url.encodePathParam(workflowPermanentId)}/browser_session/reset_profile`,
|
||||
),
|
||||
method: "POST",
|
||||
headers: _headers,
|
||||
queryParameters: requestOptions?.queryParams,
|
||||
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
||||
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
||||
abortSignal: requestOptions?.abortSignal,
|
||||
});
|
||||
if (_response.ok) {
|
||||
return { data: undefined, rawResponse: _response.rawResponse };
|
||||
}
|
||||
|
||||
if (_response.error.reason === "status-code") {
|
||||
switch (_response.error.statusCode) {
|
||||
case 404:
|
||||
throw new Skyvern.NotFoundError(_response.error.body as unknown, _response.rawResponse);
|
||||
case 422:
|
||||
throw new Skyvern.UnprocessableEntityError(_response.error.body as unknown, _response.rawResponse);
|
||||
case 500:
|
||||
throw new Skyvern.InternalServerError(_response.error.body as unknown, _response.rawResponse);
|
||||
default:
|
||||
throw new errors.SkyvernError({
|
||||
statusCode: _response.error.statusCode,
|
||||
body: _response.error.body,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
switch (_response.error.reason) {
|
||||
case "non-json":
|
||||
throw new errors.SkyvernError({
|
||||
statusCode: _response.error.statusCode,
|
||||
body: _response.error.rawBody,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
case "timeout":
|
||||
throw new errors.SkyvernTimeoutError(
|
||||
"Timeout exceeded when calling POST /v1/workflows/{workflow_permanent_id}/browser_session/reset_profile.",
|
||||
);
|
||||
case "unknown":
|
||||
throw new errors.SkyvernError({
|
||||
message: _response.error.errorMessage,
|
||||
rawResponse: _response.rawResponse,
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
export {};
|
||||
1
skyvern-ts/client/src/api/resources/workflows/index.ts
Normal file
1
skyvern-ts/client/src/api/resources/workflows/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from "./client/index.js";
|
||||
|
|
@ -25,7 +25,9 @@ export interface Action {
|
|||
tool_call_id?: string;
|
||||
xpath?: string;
|
||||
errors?: Skyvern.UserDefinedError[];
|
||||
terminal_user_errors?: boolean;
|
||||
data_extraction_goal?: string;
|
||||
output?: Action.Output;
|
||||
file_name?: string;
|
||||
file_url?: string;
|
||||
download?: boolean;
|
||||
|
|
@ -45,3 +47,7 @@ export interface Action {
|
|||
modified_at?: string;
|
||||
created_by?: string;
|
||||
}
|
||||
|
||||
export namespace Action {
|
||||
export type Output = Record<string, unknown> | unknown[] | string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface ActionBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
task_type?: string;
|
||||
url?: string;
|
||||
|
|
@ -32,6 +33,7 @@ export interface ActionBlock {
|
|||
complete_verification?: boolean;
|
||||
include_action_history_in_verification?: boolean;
|
||||
download_timeout?: number;
|
||||
include_extracted_text?: boolean;
|
||||
}
|
||||
|
||||
export namespace ActionBlock {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ export interface ActionBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
url?: string;
|
||||
title?: string;
|
||||
|
|
|
|||
|
|
@ -18,10 +18,13 @@ export const ActionType = {
|
|||
Extract: "extract",
|
||||
VerificationCode: "verification_code",
|
||||
GotoUrl: "goto_url",
|
||||
GoBack: "go_back",
|
||||
GoForward: "go_forward",
|
||||
Scroll: "scroll",
|
||||
Keypress: "keypress",
|
||||
Move: "move",
|
||||
Drag: "drag",
|
||||
LeftMouse: "left_mouse",
|
||||
ExecuteJs: "execute_js",
|
||||
} as const;
|
||||
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
||||
|
|
|
|||
|
|
@ -11,14 +11,18 @@ export interface Artifact {
|
|||
artifact_type: Skyvern.ArtifactType;
|
||||
uri: string;
|
||||
bundle_key?: string;
|
||||
checksum?: string;
|
||||
file_size?: number;
|
||||
task_id?: string;
|
||||
step_id?: string;
|
||||
workflow_run_id?: string;
|
||||
workflow_run_block_id?: string;
|
||||
run_id?: string;
|
||||
browser_session_id?: string;
|
||||
observer_cruise_id?: string;
|
||||
observer_thought_id?: string;
|
||||
ai_suggestion_id?: string;
|
||||
signed_url?: string;
|
||||
archived?: boolean;
|
||||
organization_id: string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,5 +30,6 @@ export const ArtifactType = {
|
|||
Pdf: "pdf",
|
||||
StepArchive: "step_archive",
|
||||
TaskArchive: "task_archive",
|
||||
Download: "download",
|
||||
} as const;
|
||||
export type ArtifactType = (typeof ArtifactType)[keyof typeof ArtifactType];
|
||||
|
|
|
|||
|
|
@ -26,5 +26,7 @@ export const BlockType = {
|
|||
HumanInteraction: "human_interaction",
|
||||
PrintPage: "print_page",
|
||||
WorkflowTrigger: "workflow_trigger",
|
||||
GoogleSheetsRead: "google_sheets_read",
|
||||
GoogleSheetsWrite: "google_sheets_write",
|
||||
} as const;
|
||||
export type BlockType = (typeof BlockType)[keyof typeof BlockType];
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ export interface BrowserProfile {
|
|||
organization_id: string;
|
||||
name: string;
|
||||
description?: string;
|
||||
source_browser_type?: string;
|
||||
created_at: string;
|
||||
modified_at: string;
|
||||
deleted_at?: string;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
export interface BulkCancelRunsResponse {
|
||||
/** Run IDs that were successfully cancelled */
|
||||
cancelled: string[];
|
||||
/** Run IDs that could not be cancelled */
|
||||
failed: string[];
|
||||
}
|
||||
|
|
@ -11,6 +11,7 @@ export interface CodeBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
code: string;
|
||||
parameters?: Skyvern.CodeBlockParametersItem[];
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export interface CodeBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
code: string;
|
||||
parameter_keys?: string[];
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ export interface ConditionalBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
branch_conditions?: Skyvern.BranchCondition[];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ export interface ConditionalBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
branch_conditions?: Skyvern.BranchConditionYaml[];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface DownloadToS3Block {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
url: string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export interface DownloadToS3BlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
url: string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface ExtractionBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
task_type?: string;
|
||||
url?: string;
|
||||
|
|
@ -32,6 +33,7 @@ export interface ExtractionBlock {
|
|||
complete_verification?: boolean;
|
||||
include_action_history_in_verification?: boolean;
|
||||
download_timeout?: number;
|
||||
include_extracted_text?: boolean;
|
||||
}
|
||||
|
||||
export namespace ExtractionBlock {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ export interface ExtractionBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
data_extraction_goal: string;
|
||||
url?: string;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface FileDownloadBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
task_type?: string;
|
||||
url?: string;
|
||||
|
|
@ -32,6 +33,7 @@ export interface FileDownloadBlock {
|
|||
complete_verification?: boolean;
|
||||
include_action_history_in_verification?: boolean;
|
||||
download_timeout?: number;
|
||||
include_extracted_text?: boolean;
|
||||
}
|
||||
|
||||
export namespace FileDownloadBlock {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ export interface FileDownloadBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
navigation_goal: string;
|
||||
url?: string;
|
||||
|
|
|
|||
|
|
@ -10,6 +10,10 @@ export interface FileInfo {
|
|||
checksum?: string;
|
||||
/** Original filename */
|
||||
filename?: string;
|
||||
/** Size of the file in bytes */
|
||||
file_size?: number;
|
||||
/** Modified time of the file */
|
||||
modified_at?: string;
|
||||
/** Artifact row id for refresh-on-read */
|
||||
artifact_id?: string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface FileParserBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
file_url: string;
|
||||
file_type?: Skyvern.FileType;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ export interface FileParserBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
file_url: string;
|
||||
file_type?: Skyvern.FileType;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface FileUploadBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
storage_type?: Skyvern.FileStorageType;
|
||||
s3_bucket?: string;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ export interface FileUploadBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
storage_type?: Skyvern.FileStorageType;
|
||||
s3_bucket?: string;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface ForLoopBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
loop_blocks: Skyvern.ForLoopBlockLoopBlocksItem[];
|
||||
loop_over?: Skyvern.ForLoopBlockLoopOver;
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@ export type ForLoopBlockLoopBlocksItem =
|
|||
| Skyvern.ForLoopBlockLoopBlocksItem.FileUpload
|
||||
| Skyvern.ForLoopBlockLoopBlocksItem.FileUrlParser
|
||||
| Skyvern.ForLoopBlockLoopBlocksItem.ForLoop
|
||||
| Skyvern.ForLoopBlockLoopBlocksItem.GoogleSheetsRead
|
||||
| Skyvern.ForLoopBlockLoopBlocksItem.GoogleSheetsWrite
|
||||
| Skyvern.ForLoopBlockLoopBlocksItem.GotoUrl
|
||||
| Skyvern.ForLoopBlockLoopBlocksItem.HttpRequest
|
||||
| Skyvern.ForLoopBlockLoopBlocksItem.HumanInteraction
|
||||
|
|
@ -66,6 +68,14 @@ export namespace ForLoopBlockLoopBlocksItem {
|
|||
block_type: "for_loop";
|
||||
}
|
||||
|
||||
export interface GoogleSheetsRead extends Skyvern.GoogleSheetsReadBlock {
|
||||
block_type: "google_sheets_read";
|
||||
}
|
||||
|
||||
export interface GoogleSheetsWrite extends Skyvern.GoogleSheetsWriteBlock {
|
||||
block_type: "google_sheets_write";
|
||||
}
|
||||
|
||||
export interface GotoUrl extends Skyvern.UrlBlock {
|
||||
block_type: "goto_url";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ export interface ForLoopBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
loop_blocks: Skyvern.ForLoopBlockYamlLoopBlocksItem[];
|
||||
loop_over_parameter_key?: string;
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ import type * as Skyvern from "../index.js";
|
|||
export type ForLoopBlockYamlLoopBlocksItem =
|
||||
| Skyvern.ForLoopBlockYamlLoopBlocksItem.Task
|
||||
| Skyvern.ForLoopBlockYamlLoopBlocksItem.ForLoop
|
||||
| Skyvern.ForLoopBlockYamlLoopBlocksItem.WhileLoop
|
||||
| Skyvern.ForLoopBlockYamlLoopBlocksItem.Code
|
||||
| Skyvern.ForLoopBlockYamlLoopBlocksItem.TextPrompt
|
||||
| Skyvern.ForLoopBlockYamlLoopBlocksItem.DownloadToS3
|
||||
|
|
@ -26,7 +27,9 @@ export type ForLoopBlockYamlLoopBlocksItem =
|
|||
| Skyvern.ForLoopBlockYamlLoopBlocksItem.HttpRequest
|
||||
| Skyvern.ForLoopBlockYamlLoopBlocksItem.Conditional
|
||||
| Skyvern.ForLoopBlockYamlLoopBlocksItem.PrintPage
|
||||
| Skyvern.ForLoopBlockYamlLoopBlocksItem.WorkflowTrigger;
|
||||
| Skyvern.ForLoopBlockYamlLoopBlocksItem.WorkflowTrigger
|
||||
| Skyvern.ForLoopBlockYamlLoopBlocksItem.GoogleSheetsRead
|
||||
| Skyvern.ForLoopBlockYamlLoopBlocksItem.GoogleSheetsWrite;
|
||||
|
||||
export namespace ForLoopBlockYamlLoopBlocksItem {
|
||||
export interface Task extends Skyvern.TaskBlockYaml {
|
||||
|
|
@ -37,6 +40,10 @@ export namespace ForLoopBlockYamlLoopBlocksItem {
|
|||
block_type: "for_loop";
|
||||
}
|
||||
|
||||
export interface WhileLoop extends Skyvern.WhileLoopBlockYaml {
|
||||
block_type: "while_loop";
|
||||
}
|
||||
|
||||
export interface Code extends Skyvern.CodeBlockYaml {
|
||||
block_type: "code";
|
||||
}
|
||||
|
|
@ -124,4 +131,12 @@ export namespace ForLoopBlockYamlLoopBlocksItem {
|
|||
export interface WorkflowTrigger extends Skyvern.WorkflowTriggerBlockYaml {
|
||||
block_type: "workflow_trigger";
|
||||
}
|
||||
|
||||
export interface GoogleSheetsRead extends Skyvern.GoogleSheetsReadBlockYaml {
|
||||
block_type: "google_sheets_read";
|
||||
}
|
||||
|
||||
export interface GoogleSheetsWrite extends Skyvern.GoogleSheetsWriteBlockYaml {
|
||||
block_type: "google_sheets_write";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,17 +1,7 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
/**
|
||||
* Granular geographic targeting for proxy selection.
|
||||
*
|
||||
* Supports country, subdivision (state/region), and city level targeting.
|
||||
* Uses ISO 3166-1 alpha-2 for countries, ISO 3166-2 for subdivisions,
|
||||
* and GeoNames English names for cities.
|
||||
*
|
||||
* Examples:
|
||||
* - {"country": "US"} - United States (same as RESIDENTIAL)
|
||||
* - {"country": "US", "subdivision": "CA"} - California, US
|
||||
* - {"country": "US", "subdivision": "NY", "city": "New York"} - New York City
|
||||
* - {"country": "GB", "city": "London"} - London, UK
|
||||
* Granular proxy geo-targeting request with country, optional subdivision, and optional city.
|
||||
*/
|
||||
export interface GeoTarget {
|
||||
/** ISO 3166-1 alpha-2 country code (e.g., 'US', 'GB', 'DE') */
|
||||
|
|
|
|||
22
skyvern-ts/client/src/api/types/GoogleSheetsReadBlock.ts
Normal file
22
skyvern-ts/client/src/api/types/GoogleSheetsReadBlock.ts
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
import type * as Skyvern from "../index.js";
|
||||
|
||||
export interface GoogleSheetsReadBlock {
|
||||
/** Author-facing identifier for a block; unique within a workflow. */
|
||||
label: string;
|
||||
/** Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted. */
|
||||
next_block_label?: string;
|
||||
output_parameter: Skyvern.OutputParameter;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
spreadsheet_url: string;
|
||||
sheet_name?: string;
|
||||
range?: string;
|
||||
credential_id?: string;
|
||||
has_header_row?: boolean;
|
||||
parameters?: Skyvern.GoogleSheetsReadBlockParametersItem[];
|
||||
}
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
import type * as Skyvern from "../index.js";
|
||||
|
||||
export type GoogleSheetsReadBlockParametersItem =
|
||||
| Skyvern.GoogleSheetsReadBlockParametersItem.AwsSecret
|
||||
| Skyvern.GoogleSheetsReadBlockParametersItem.AzureSecret
|
||||
| Skyvern.GoogleSheetsReadBlockParametersItem.AzureVaultCredential
|
||||
| Skyvern.GoogleSheetsReadBlockParametersItem.BitwardenCreditCardData
|
||||
| Skyvern.GoogleSheetsReadBlockParametersItem.BitwardenLoginCredential
|
||||
| Skyvern.GoogleSheetsReadBlockParametersItem.BitwardenSensitiveInformation
|
||||
| Skyvern.GoogleSheetsReadBlockParametersItem.Context
|
||||
| Skyvern.GoogleSheetsReadBlockParametersItem.Credential
|
||||
| Skyvern.GoogleSheetsReadBlockParametersItem.Onepassword
|
||||
| Skyvern.GoogleSheetsReadBlockParametersItem.Output
|
||||
| Skyvern.GoogleSheetsReadBlockParametersItem.Workflow;
|
||||
|
||||
export namespace GoogleSheetsReadBlockParametersItem {
|
||||
export interface AwsSecret extends Skyvern.AwsSecretParameter {
|
||||
parameter_type: "aws_secret";
|
||||
}
|
||||
|
||||
export interface AzureSecret extends Skyvern.AzureSecretParameter {
|
||||
parameter_type: "azure_secret";
|
||||
}
|
||||
|
||||
export interface AzureVaultCredential extends Skyvern.AzureVaultCredentialParameter {
|
||||
parameter_type: "azure_vault_credential";
|
||||
}
|
||||
|
||||
export interface BitwardenCreditCardData extends Skyvern.BitwardenCreditCardDataParameter {
|
||||
parameter_type: "bitwarden_credit_card_data";
|
||||
}
|
||||
|
||||
export interface BitwardenLoginCredential extends Skyvern.BitwardenLoginCredentialParameter {
|
||||
parameter_type: "bitwarden_login_credential";
|
||||
}
|
||||
|
||||
export interface BitwardenSensitiveInformation extends Skyvern.BitwardenSensitiveInformationParameter {
|
||||
parameter_type: "bitwarden_sensitive_information";
|
||||
}
|
||||
|
||||
export interface Context extends Skyvern.ContextParameter {
|
||||
parameter_type: "context";
|
||||
}
|
||||
|
||||
export interface Credential extends Skyvern.CredentialParameter {
|
||||
parameter_type: "credential";
|
||||
}
|
||||
|
||||
export interface Onepassword extends Skyvern.OnePasswordCredentialParameter {
|
||||
parameter_type: "onepassword";
|
||||
}
|
||||
|
||||
export interface Output extends Skyvern.OutputParameter {
|
||||
parameter_type: "output";
|
||||
}
|
||||
|
||||
export interface Workflow extends Skyvern.WorkflowParameter {
|
||||
parameter_type: "workflow";
|
||||
}
|
||||
}
|
||||
18
skyvern-ts/client/src/api/types/GoogleSheetsReadBlockYaml.ts
Normal file
18
skyvern-ts/client/src/api/types/GoogleSheetsReadBlockYaml.ts
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
export interface GoogleSheetsReadBlockYaml {
|
||||
/** Author-facing identifier; must be unique per workflow. */
|
||||
label: string;
|
||||
/** Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]. */
|
||||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
spreadsheet_url: string;
|
||||
sheet_name?: string;
|
||||
range?: string;
|
||||
credential_id?: string;
|
||||
has_header_row?: boolean;
|
||||
parameter_keys?: string[];
|
||||
}
|
||||
33
skyvern-ts/client/src/api/types/GoogleSheetsWriteBlock.ts
Normal file
33
skyvern-ts/client/src/api/types/GoogleSheetsWriteBlock.ts
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
import type * as Skyvern from "../index.js";
|
||||
|
||||
export interface GoogleSheetsWriteBlock {
|
||||
/** Author-facing identifier for a block; unique within a workflow. */
|
||||
label: string;
|
||||
/** Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted. */
|
||||
next_block_label?: string;
|
||||
output_parameter: Skyvern.OutputParameter;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
spreadsheet_url: string;
|
||||
sheet_name?: string;
|
||||
range?: string;
|
||||
credential_id?: string;
|
||||
write_mode?: GoogleSheetsWriteBlock.WriteMode;
|
||||
values?: string;
|
||||
column_mapping?: Record<string, string | undefined>;
|
||||
create_sheet_if_missing?: boolean;
|
||||
parameters?: Skyvern.GoogleSheetsWriteBlockParametersItem[];
|
||||
}
|
||||
|
||||
export namespace GoogleSheetsWriteBlock {
|
||||
export const WriteMode = {
|
||||
Append: "append",
|
||||
Update: "update",
|
||||
} as const;
|
||||
export type WriteMode = (typeof WriteMode)[keyof typeof WriteMode];
|
||||
}
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
import type * as Skyvern from "../index.js";
|
||||
|
||||
export type GoogleSheetsWriteBlockParametersItem =
|
||||
| Skyvern.GoogleSheetsWriteBlockParametersItem.AwsSecret
|
||||
| Skyvern.GoogleSheetsWriteBlockParametersItem.AzureSecret
|
||||
| Skyvern.GoogleSheetsWriteBlockParametersItem.AzureVaultCredential
|
||||
| Skyvern.GoogleSheetsWriteBlockParametersItem.BitwardenCreditCardData
|
||||
| Skyvern.GoogleSheetsWriteBlockParametersItem.BitwardenLoginCredential
|
||||
| Skyvern.GoogleSheetsWriteBlockParametersItem.BitwardenSensitiveInformation
|
||||
| Skyvern.GoogleSheetsWriteBlockParametersItem.Context
|
||||
| Skyvern.GoogleSheetsWriteBlockParametersItem.Credential
|
||||
| Skyvern.GoogleSheetsWriteBlockParametersItem.Onepassword
|
||||
| Skyvern.GoogleSheetsWriteBlockParametersItem.Output
|
||||
| Skyvern.GoogleSheetsWriteBlockParametersItem.Workflow;
|
||||
|
||||
export namespace GoogleSheetsWriteBlockParametersItem {
|
||||
export interface AwsSecret extends Skyvern.AwsSecretParameter {
|
||||
parameter_type: "aws_secret";
|
||||
}
|
||||
|
||||
export interface AzureSecret extends Skyvern.AzureSecretParameter {
|
||||
parameter_type: "azure_secret";
|
||||
}
|
||||
|
||||
export interface AzureVaultCredential extends Skyvern.AzureVaultCredentialParameter {
|
||||
parameter_type: "azure_vault_credential";
|
||||
}
|
||||
|
||||
export interface BitwardenCreditCardData extends Skyvern.BitwardenCreditCardDataParameter {
|
||||
parameter_type: "bitwarden_credit_card_data";
|
||||
}
|
||||
|
||||
export interface BitwardenLoginCredential extends Skyvern.BitwardenLoginCredentialParameter {
|
||||
parameter_type: "bitwarden_login_credential";
|
||||
}
|
||||
|
||||
export interface BitwardenSensitiveInformation extends Skyvern.BitwardenSensitiveInformationParameter {
|
||||
parameter_type: "bitwarden_sensitive_information";
|
||||
}
|
||||
|
||||
export interface Context extends Skyvern.ContextParameter {
|
||||
parameter_type: "context";
|
||||
}
|
||||
|
||||
export interface Credential extends Skyvern.CredentialParameter {
|
||||
parameter_type: "credential";
|
||||
}
|
||||
|
||||
export interface Onepassword extends Skyvern.OnePasswordCredentialParameter {
|
||||
parameter_type: "onepassword";
|
||||
}
|
||||
|
||||
export interface Output extends Skyvern.OutputParameter {
|
||||
parameter_type: "output";
|
||||
}
|
||||
|
||||
export interface Workflow extends Skyvern.WorkflowParameter {
|
||||
parameter_type: "workflow";
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
export interface GoogleSheetsWriteBlockYaml {
|
||||
/** Author-facing identifier; must be unique per workflow. */
|
||||
label: string;
|
||||
/** Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]. */
|
||||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
spreadsheet_url: string;
|
||||
sheet_name?: string;
|
||||
range?: string;
|
||||
credential_id?: string;
|
||||
write_mode?: GoogleSheetsWriteBlockYaml.WriteMode;
|
||||
values?: string;
|
||||
column_mapping?: Record<string, string | undefined>;
|
||||
create_sheet_if_missing?: boolean;
|
||||
parameter_keys?: string[];
|
||||
}
|
||||
|
||||
export namespace GoogleSheetsWriteBlockYaml {
|
||||
export const WriteMode = {
|
||||
Append: "append",
|
||||
Update: "update",
|
||||
} as const;
|
||||
export type WriteMode = (typeof WriteMode)[keyof typeof WriteMode];
|
||||
}
|
||||
|
|
@ -11,6 +11,7 @@ export interface HttpRequestBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
method?: string;
|
||||
url?: string;
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export interface HttpRequestBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
method?: string;
|
||||
url?: string;
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ export interface HumanInteractionBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
task_type?: string;
|
||||
url?: string;
|
||||
|
|
@ -43,6 +44,7 @@ export interface HumanInteractionBlock {
|
|||
complete_verification?: boolean;
|
||||
include_action_history_in_verification?: boolean;
|
||||
download_timeout?: number;
|
||||
include_extracted_text?: boolean;
|
||||
instructions?: string;
|
||||
positive_descriptor?: string;
|
||||
negative_descriptor?: string;
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export interface HumanInteractionBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
instructions?: string;
|
||||
positive_descriptor?: string;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface LoginBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
task_type?: string;
|
||||
url?: string;
|
||||
|
|
@ -32,6 +33,7 @@ export interface LoginBlock {
|
|||
complete_verification?: boolean;
|
||||
include_action_history_in_verification?: boolean;
|
||||
download_timeout?: number;
|
||||
include_extracted_text?: boolean;
|
||||
}
|
||||
|
||||
export namespace LoginBlock {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ export interface LoginBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
url?: string;
|
||||
title?: string;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface NavigationBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
task_type?: string;
|
||||
url?: string;
|
||||
|
|
@ -32,6 +33,7 @@ export interface NavigationBlock {
|
|||
complete_verification?: boolean;
|
||||
include_action_history_in_verification?: boolean;
|
||||
download_timeout?: number;
|
||||
include_extracted_text?: boolean;
|
||||
}
|
||||
|
||||
export namespace NavigationBlock {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ export interface NavigationBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
navigation_goal: string;
|
||||
url?: string;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ export interface PdfParserBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
file_url: string;
|
||||
json_schema?: Record<string, unknown>;
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export interface PdfParserBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
file_url: string;
|
||||
json_schema?: Record<string, unknown>;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface PrintPageBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
include_timestamp?: boolean;
|
||||
custom_filename?: string;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ export interface PrintPageBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
include_timestamp?: boolean;
|
||||
custom_filename?: string;
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ export const ProxyLocation = {
|
|||
ResidentialNl: "RESIDENTIAL_NL",
|
||||
ResidentialPh: "RESIDENTIAL_PH",
|
||||
ResidentialKr: "RESIDENTIAL_KR",
|
||||
ResidentialSa: "RESIDENTIAL_SA",
|
||||
ResidentialIsp: "RESIDENTIAL_ISP",
|
||||
None: "NONE",
|
||||
} as const;
|
||||
|
|
|
|||
24
skyvern-ts/client/src/api/types/RunWebhookReplayResponse.ts
Normal file
24
skyvern-ts/client/src/api/types/RunWebhookReplayResponse.ts
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
export interface RunWebhookReplayResponse {
|
||||
/** Identifier of the run that was replayed */
|
||||
run_id: string;
|
||||
/** Run type associated with the payload */
|
||||
run_type: string;
|
||||
/** Webhook URL stored on the original run configuration */
|
||||
default_webhook_url?: string;
|
||||
/** Webhook URL that the replay attempted to reach */
|
||||
target_webhook_url?: string;
|
||||
/** JSON payload that was delivered during the replay attempt */
|
||||
payload: string;
|
||||
/** Signed headers that were generated for the replay attempt */
|
||||
headers: Record<string, string>;
|
||||
/** HTTP status code returned by the webhook receiver, if available */
|
||||
status_code?: number;
|
||||
/** Round-trip latency in milliseconds for the replay attempt */
|
||||
latency_ms?: number;
|
||||
/** Body returned by the webhook receiver (truncated to 2KB) */
|
||||
response_body?: string;
|
||||
/** Error message if the replay attempt failed */
|
||||
error?: string;
|
||||
}
|
||||
|
|
@ -11,6 +11,7 @@ export interface SendEmailBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
smtp_host: Skyvern.AwsSecretParameter;
|
||||
smtp_port: Skyvern.AwsSecretParameter;
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export interface SendEmailBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
smtp_host_secret_parameter_key: string;
|
||||
smtp_port_secret_parameter_key: string;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
export const SkyvernSchemasCredentialTypeCredentialType = {
|
||||
Skyvern: "skyvern",
|
||||
Bitwarden: "bitwarden",
|
||||
OnePassword: "1password",
|
||||
AzureVault: "azure_vault",
|
||||
} as const;
|
||||
export type SkyvernSchemasCredentialTypeCredentialType =
|
||||
(typeof SkyvernSchemasCredentialTypeCredentialType)[keyof typeof SkyvernSchemasCredentialTypeCredentialType];
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
export const SkyvernSchemasRunBlocksCredentialType = {
|
||||
Skyvern: "skyvern",
|
||||
Bitwarden: "bitwarden",
|
||||
OnePassword: "1password",
|
||||
AzureVault: "azure_vault",
|
||||
} as const;
|
||||
export type SkyvernSchemasRunBlocksCredentialType =
|
||||
(typeof SkyvernSchemasRunBlocksCredentialType)[keyof typeof SkyvernSchemasRunBlocksCredentialType];
|
||||
|
|
@ -11,6 +11,7 @@ export interface TaskBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
task_type?: string;
|
||||
url?: string;
|
||||
|
|
@ -32,6 +33,7 @@ export interface TaskBlock {
|
|||
complete_verification?: boolean;
|
||||
include_action_history_in_verification?: boolean;
|
||||
download_timeout?: number;
|
||||
include_extracted_text?: boolean;
|
||||
}
|
||||
|
||||
export namespace TaskBlock {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ export interface TaskBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
url?: string;
|
||||
title?: string;
|
||||
|
|
|
|||
|
|
@ -13,5 +13,6 @@ export interface TaskRunListItem {
|
|||
finished_at?: string;
|
||||
created_at: string;
|
||||
workflow_permanent_id?: string;
|
||||
workflow_deleted?: boolean;
|
||||
script_run?: boolean;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
import type * as Skyvern from "../index.js";
|
||||
|
||||
export interface TaskRunRequest {
|
||||
export interface TaskRunRequestOutput {
|
||||
/**
|
||||
* The goal or task description for Skyvern to accomplish
|
||||
*/
|
||||
|
|
@ -12,7 +12,7 @@ export interface TaskRunRequest {
|
|||
*/
|
||||
url?: string;
|
||||
/**
|
||||
* The engine that powers the agent task. The default value is `skyvern-1.0`, which is good for simple tasks like filling a form, or searching for information on Google. `skyvern-2.0` is the latest Skyvern agent that performs well with complex and multi-step tasks. The `openai-cua` engine uses OpenAI's CUA model. The `anthropic-cua` uses Anthropic's Claude Sonnet 3.7 model with the computer use tool.
|
||||
* The engine that powers the agent task. The default value is `skyvern-1.0`, which is good for simple tasks like filling a form, or searching for information on Google. `skyvern-2.0` remains available for existing V2 workflows and explicitly requested V2 task runs. The `openai-cua` engine uses OpenAI's CUA model. The `anthropic-cua` uses Anthropic's Claude Sonnet 3.7 model with the computer use tool.
|
||||
*/
|
||||
engine?: Skyvern.RunEngine;
|
||||
/** The title for the task */
|
||||
|
|
@ -32,6 +32,7 @@ export interface TaskRunRequest {
|
|||
* - RESIDENTIAL_NZ: New Zealand
|
||||
* - RESIDENTIAL_PH: Philippines
|
||||
* - RESIDENTIAL_KR: South Korea
|
||||
* - RESIDENTIAL_SA: Saudi Arabia
|
||||
* - RESIDENTIAL_ZA: South Africa
|
||||
* - RESIDENTIAL_AR: Argentina
|
||||
* - RESIDENTIAL_AU: Australia
|
||||
|
|
@ -48,13 +49,15 @@ export interface TaskRunRequest {
|
|||
* - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - NONE: No proxy
|
||||
*
|
||||
* For self-hosted deployments, you can pass a custom proxy URL as a dict: {"url": "http://user:password@proxy.example.com:8080"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.
|
||||
* Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}
|
||||
*/
|
||||
proxy_location?: TaskRunRequest.ProxyLocation;
|
||||
proxy_location?: TaskRunRequestOutput.ProxyLocation;
|
||||
/**
|
||||
* The schema for data to be extracted from the webpage. If you're looking for consistent data schema being returned by the agent, it's highly recommended to use https://json-schema.org/.
|
||||
*/
|
||||
data_extraction_schema?: TaskRunRequest.DataExtractionSchema;
|
||||
data_extraction_schema?: TaskRunRequestOutput.DataExtractionSchema;
|
||||
/**
|
||||
* Custom mapping of error codes to error messages if Skyvern encounters an error.
|
||||
*/
|
||||
|
|
@ -85,7 +88,9 @@ export interface TaskRunRequest {
|
|||
model?: Record<string, unknown>;
|
||||
/** The extra HTTP headers for the requests in browser. */
|
||||
extra_http_headers?: Record<string, string | undefined>;
|
||||
/** Whether to publish this task as a reusable workflow. Only available for skyvern-2.0. */
|
||||
/** HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Use this for browser-provider auth (e.g., x-api-key for Skyvern Cloud, Browserless, or similar). These headers are NEVER forwarded to target websites. */
|
||||
cdp_connect_headers?: Record<string, string | undefined>;
|
||||
/** Deprecated. Whether to publish a `skyvern-2.0` task as a reusable workflow. For backwards compatibility, this routes the request through the legacy `skyvern-2.0` publish path. Prefer creating reusable workflows through the workflow APIs. */
|
||||
publish_workflow?: boolean;
|
||||
/** Whether to include action history when verifying that the task is complete */
|
||||
include_action_history_in_verification?: boolean;
|
||||
|
|
@ -97,7 +102,7 @@ export interface TaskRunRequest {
|
|||
run_with?: string;
|
||||
}
|
||||
|
||||
export namespace TaskRunRequest {
|
||||
export namespace TaskRunRequestOutput {
|
||||
/**
|
||||
*
|
||||
* Geographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.
|
||||
|
|
@ -114,6 +119,7 @@ export namespace TaskRunRequest {
|
|||
* - RESIDENTIAL_NZ: New Zealand
|
||||
* - RESIDENTIAL_PH: Philippines
|
||||
* - RESIDENTIAL_KR: South Korea
|
||||
* - RESIDENTIAL_SA: Saudi Arabia
|
||||
* - RESIDENTIAL_ZA: South Africa
|
||||
* - RESIDENTIAL_AR: Argentina
|
||||
* - RESIDENTIAL_AU: Australia
|
||||
|
|
@ -130,6 +136,8 @@ export namespace TaskRunRequest {
|
|||
* - US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)
|
||||
* - NONE: No proxy
|
||||
*
|
||||
* For self-hosted deployments, you can pass a custom proxy URL as a dict: {"url": "http://user:password@proxy.example.com:8080"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.
|
||||
* Can also be a GeoTarget object for granular city/state targeting: {"country": "US", "subdivision": "CA", "city": "San Francisco"}
|
||||
*/
|
||||
export type ProxyLocation = Skyvern.ProxyLocation | Skyvern.GeoTarget | Record<string, unknown>;
|
||||
|
|
@ -13,6 +13,8 @@ export interface TaskRunResponse {
|
|||
downloaded_files?: Skyvern.FileInfo[];
|
||||
/** URL to the recording of the run */
|
||||
recording_url?: string;
|
||||
/** True when the recording exists but has been archived to cold storage and is not currently accessible. */
|
||||
recording_archived?: boolean;
|
||||
/** List of last n screenshot URLs in reverse chronological order - the first one the list is the latest screenshot. */
|
||||
screenshot_urls?: string[];
|
||||
/** Reason for failure if the run failed or terminated */
|
||||
|
|
@ -42,7 +44,7 @@ export interface TaskRunResponse {
|
|||
/** Total number of steps executed in this run */
|
||||
step_count?: number;
|
||||
/** The original request parameters used to start this task run */
|
||||
run_request?: Skyvern.TaskRunRequest;
|
||||
run_request?: Skyvern.TaskRunRequestOutput;
|
||||
}
|
||||
|
||||
export namespace TaskRunResponse {
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface TaskV2Block {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
prompt: string;
|
||||
url?: string;
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export interface TaskV2BlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
prompt: string;
|
||||
url?: string;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface TextPromptBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
llm_key?: string;
|
||||
prompt: string;
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export interface TextPromptBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
llm_key?: string;
|
||||
prompt: string;
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ export interface Thought {
|
|||
reasoning_token_count?: number;
|
||||
cached_token_count?: number;
|
||||
thought_cost?: number;
|
||||
last_llm_model?: string;
|
||||
created_at: string;
|
||||
modified_at: string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface UploadToS3Block {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
path?: string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export interface UploadToS3BlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
path?: string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface UrlBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
task_type?: string;
|
||||
url: string;
|
||||
|
|
@ -32,6 +33,7 @@ export interface UrlBlock {
|
|||
complete_verification?: boolean;
|
||||
include_action_history_in_verification?: boolean;
|
||||
download_timeout?: number;
|
||||
include_extracted_text?: boolean;
|
||||
}
|
||||
|
||||
export namespace UrlBlock {
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export interface UrlBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
url: string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,4 +4,5 @@ export interface UserDefinedError {
|
|||
error_code: string;
|
||||
reasoning: string;
|
||||
confidence_float: number;
|
||||
error_type?: "USER_DEFINED_ERROR";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface ValidationBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
task_type?: string;
|
||||
url?: string;
|
||||
|
|
@ -32,6 +33,7 @@ export interface ValidationBlock {
|
|||
complete_verification?: boolean;
|
||||
include_action_history_in_verification?: boolean;
|
||||
download_timeout?: number;
|
||||
include_extracted_text?: boolean;
|
||||
}
|
||||
|
||||
export namespace ValidationBlock {
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export interface ValidationBlockYaml {
|
|||
next_block_label?: string;
|
||||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
complete_criterion?: string;
|
||||
terminate_criterion?: string;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface WaitBlock {
|
|||
continue_on_failure?: boolean;
|
||||
model?: Record<string, unknown>;
|
||||
disable_cache?: boolean;
|
||||
ignore_workflow_system_prompt?: boolean;
|
||||
next_loop_on_failure?: boolean;
|
||||
wait_sec: number;
|
||||
parameters?: Skyvern.WaitBlockParametersItem[];
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue