{"_id":"@ajent-foundation/typescript-sdk","_rev":"8-e453a8d7774677989bad2b54492fe1a8","name":"@ajent-foundation/typescript-sdk","dist-tags":{"latest":"1.3.1"},"versions":{"1.0.0":{"name":"@ajent-foundation/typescript-sdk","version":"1.0.0","_id":"@ajent-foundation/typescript-sdk@1.0.0","maintainers":[{"name":"ajoor","email":"ajoor@dapi.com"}],"dist":{"shasum":"afcc2d2b43a7b94cbe66ebae67b6b62dc008910f","tarball":"https://registry.npmjs.org/@ajent-foundation/typescript-sdk/-/typescript-sdk-1.0.0.tgz","fileCount":21,"integrity":"sha512-dKjPVOzLf6YO1Q5CIQ0S5lTjIAiAGB9lng3efy0GsmTmYH8iRWbDf8Dy2OG+LjHykKUpYgDTqyCwFZgz/qU/wA==","signatures":[{"sig":"MEQCIFXy09URvPVeY1nJRP+5OgEM5FFCbC7zn9meIWAgxZgvAiB7oK6Xn6EwBDekAFp10OqC1dR032GU5JKGUdTkfpFOcQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":335798},"main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"tsc","major":"npm version major","minor":"npm version minor","patch":"npm version patch","update":"npm run build && npm publish --access public","prepublishOnly":"npm run build"},"_npmUser":{"name":"ajoor","email":"ajoor@dapi.com"},"_npmVersion":"10.8.1","description":"Generated TypeScript SDK using OpenAPI Generator","directories":{},"_nodeVersion":"22.4.0","dependencies":{"axios":"^1.7.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.13.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript-sdk_1.0.0_1738705472619_0.42658962441252846","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@ajent-foundation/typescript-sdk","version":"1.0.1","keywords":["typescript","sdk","api","openapi","tasknet"],"license":"MIT","_id":"@ajent-foundation/typescript-sdk@1.0.1","maintainers":[{"name":"ajoor","email":"ajoor@dapi.com"}],"homepage":"https://github.com/Ajent-foundation/typescript-sdk#readme","bugs":{"url":"https://github.com/Ajent-foundation/typescript-sdk/issues"},"dist":{"shasum":"4b93a20bd8984dec25a9627eb5045eb408881afb","tarball":"https://registry.npmjs.org/@ajent-foundation/typescript-sdk/-/typescript-sdk-1.0.1.tgz","fileCount":23,"integrity":"sha512-nUtXoEsYJ3W8Em/ynTQlcKr8huL3LmpZ0K0aJlDOQX41kimLdPq1nMqAEQpIbXRK2EkdWrf1fkg4MFIL1jMX4w==","signatures":[{"sig":"MEYCIQDdsbWyPimEGXXKpdYPrkQAeX2cUNMIR8ZWUmBGI+4mfwIhAN32gSZENcqlSH4duSAb6/kP9pCh7JuPxgLb7yWPZwTf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":336491},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"5814a69b752c8f0043f5f9fcc3abca1975787593","scripts":{"build":"tsc","major":"npm version major","minor":"npm version minor","patch":"npm version patch","update":"npm run build && npm publish --access public","prepublishOnly":"npm run build"},"_npmUser":{"name":"ajoor","email":"ajoor@dapi.com"},"repository":{"url":"git+https://github.com/Ajent-foundation/typescript-sdk.git","type":"git"},"_npmVersion":"10.8.1","description":"Generated TypeScript SDK using OpenAPI Generator","directories":{},"_nodeVersion":"22.4.0","dependencies":{"axios":"^1.7.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.13.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript-sdk_1.0.1_1738705989147_0.7605157754269387","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@ajent-foundation/typescript-sdk","version":"1.0.2","keywords":["typescript","sdk","api","openapi","tasknet"],"license":"MIT","_id":"@ajent-foundation/typescript-sdk@1.0.2","maintainers":[{"name":"ajoor","email":"ajoor@dapi.com"}],"homepage":"https://github.com/Ajent-foundation/typescript-sdk#readme","bugs":{"url":"https://github.com/Ajent-foundation/typescript-sdk/issues"},"dist":{"shasum":"aa3a8ee1f56ae199a748489fe4a7715798eb4624","tarball":"https://registry.npmjs.org/@ajent-foundation/typescript-sdk/-/typescript-sdk-1.0.2.tgz","fileCount":24,"integrity":"sha512-6J3HGcNod+BCbg3OGwX2FLLx2rMT5gY2jzE0Mc8YURTR8yb/pfE+pr24nEDhIdIc3XqHzC25+hsJH1uoVUs3IA==","signatures":[{"sig":"MEQCIF+BTNItW0NSawX5OAAj8fE3CuT92WZuqNVlRmxTcfH3AiBUTLmrON954/PJx2BFoMSDR3ijDehqMdTAkNzNA05Q2g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":348218},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"b85fbfaecb94e26fdbb8da2e2bd6fc2549447204","scripts":{"build":"tsc","major":"npm version major","minor":"npm version minor","patch":"npm version patch","update":"npm run build && npm publish --access public","prepublishOnly":"npm run build"},"_npmUser":{"name":"ajoor","email":"ajoor@dapi.com"},"repository":{"url":"git+https://github.com/Ajent-foundation/typescript-sdk.git","type":"git"},"_npmVersion":"10.8.1","description":"Generated TypeScript SDK using OpenAPI Generator","directories":{},"_nodeVersion":"22.4.0","dependencies":{"axios":"^1.7.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.13.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript-sdk_1.0.2_1738710737034_0.02064320059965752","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@ajent-foundation/typescript-sdk","version":"1.1.0","keywords":["typescript","sdk","api","openapi","tasknet"],"license":"MIT","_id":"@ajent-foundation/typescript-sdk@1.1.0","maintainers":[{"name":"ajoor","email":"ajoor@dapi.com"}],"homepage":"https://github.com/Ajent-foundation/typescript-sdk#readme","bugs":{"url":"https://github.com/Ajent-foundation/typescript-sdk/issues"},"dist":{"shasum":"d6ca29713728b10a4bfeec170397069778bc1e9c","tarball":"https://registry.npmjs.org/@ajent-foundation/typescript-sdk/-/typescript-sdk-1.1.0.tgz","fileCount":25,"integrity":"sha512-B0uMGWeC9VLgLqFcR5Vdpx0cfw2XfTo+XeNwbqwwoRdbVvlAdla7CuZmL3Xl9447FyzXpdTtfBCkYfT5s2cH/A==","signatures":[{"sig":"MEQCIEVV/kfNJr6J5CxFiO1SPi6ywBOhEIciOZZQxoMGfqUzAiBUgclRAAgfbiE4VXBpWc2B5yBeUN6yeUps4/tJW/tM4Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":396285},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"56384944616032f9e87cc1032959e877229d3df6","scripts":{"build":"tsc","major":"npm version major","minor":"npm version minor","patch":"npm version patch","update":"npm run build && npm publish --access public","prepublishOnly":"npm run build"},"_npmUser":{"name":"ajoor","email":"ajoor@dapi.com"},"repository":{"url":"git+https://github.com/Ajent-foundation/typescript-sdk.git","type":"git"},"_npmVersion":"10.8.1","description":"Generated TypeScript SDK using OpenAPI Generator","directories":{},"_nodeVersion":"22.4.0","dependencies":{"axios":"^1.7.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.13.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript-sdk_1.1.0_1739001783693_0.5233000560384524","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@ajent-foundation/typescript-sdk","version":"1.2.0","keywords":["typescript","sdk","api","openapi","tasknet"],"license":"MIT","_id":"@ajent-foundation/typescript-sdk@1.2.0","maintainers":[{"name":"ajoor","email":"ajoor@dapi.com"}],"homepage":"https://github.com/Ajent-foundation/typescript-sdk#readme","bugs":{"url":"https://github.com/Ajent-foundation/typescript-sdk/issues"},"dist":{"shasum":"d862536401395a0f636ab0ac0f6db0656b37dc4a","tarball":"https://registry.npmjs.org/@ajent-foundation/typescript-sdk/-/typescript-sdk-1.2.0.tgz","fileCount":25,"integrity":"sha512-QSR6iAGAPjCnoaHEWn0mdBlQYQDAmPStkYkisrg8iDhdO2dLMmUoF3MIbqdiKiF3WJozLdXgEkTTdtjQgjpI7w==","signatures":[{"sig":"MEUCIQCu/2J7kf5nE1XVMH6x50Fwlq3EA01aed/Jc9rpeSkEzAIgAooeibFyo4KVPGG+00Q9e7Kf47w/o/t0a+wKHDNHgXs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":424287},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"96a653bad738e0166878975d9c66a7e0073357fc","scripts":{"build":"tsc","major":"npm version major","minor":"npm version minor","patch":"npm version patch","update":"npm run build && npm publish --access public","prepublishOnly":"npm run build"},"_npmUser":{"name":"ajoor","actor":{"name":"ajoor","type":"user","email":"ajoor@dapi.com"},"email":"ajoor@dapi.com"},"repository":{"url":"git+https://github.com/Ajent-foundation/typescript-sdk.git","type":"git"},"_npmVersion":"10.8.1","description":"Generated TypeScript SDK using OpenAPI Generator","directories":{},"_nodeVersion":"22.4.0","dependencies":{"axios":"^1.7.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.13.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript-sdk_1.2.0_1751565700686_0.4372623021064086","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@ajent-foundation/typescript-sdk","version":"1.2.1","keywords":["typescript","sdk","api","openapi","tasknet"],"license":"MIT","_id":"@ajent-foundation/typescript-sdk@1.2.1","maintainers":[{"name":"ajoor","email":"ajoor@dapi.com"}],"homepage":"https://github.com/Ajent-foundation/typescript-sdk#readme","bugs":{"url":"https://github.com/Ajent-foundation/typescript-sdk/issues"},"dist":{"shasum":"31444c7b088699d40ae3e40469c0dc80be64f9c8","tarball":"https://registry.npmjs.org/@ajent-foundation/typescript-sdk/-/typescript-sdk-1.2.1.tgz","fileCount":166,"integrity":"sha512-T1YbDh6mA7nlo6W6g99cVAfzTdiuDzgGL9Mn+i6oBhl2k7WCURWJWrUT35dM+7JXuHBzYavl+0khzVrq4oHMAg==","signatures":[{"sig":"MEYCIQCImK3WabO5B7PBUp5TjAWZsMdCnT4yOzBoIeYJC5R/wgIhAPVj63X5zftEOHRnlg/vrWzrIZrOoSxewp0uLISMHw6/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":831733},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"dd225c8bd3ac0178f44998a6df6bd381c155e7eb","scripts":{"build":"tsc","major":"npm version major","minor":"npm version minor","patch":"npm version patch","update":"npm run build && npm publish --access public","prepublishOnly":"npm run build"},"_npmUser":{"name":"ajoor","actor":{"name":"ajoor","type":"user","email":"ajoor@dapi.com"},"email":"ajoor@dapi.com"},"repository":{"url":"git+https://github.com/Ajent-foundation/typescript-sdk.git","type":"git"},"_npmVersion":"10.8.1","description":"Generated TypeScript SDK using OpenAPI Generator","directories":{},"_nodeVersion":"22.4.0","dependencies":{"axios":"^1.7.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.13.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript-sdk_1.2.1_1751571486171_0.24065150964684867","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@ajent-foundation/typescript-sdk","version":"1.3.0","keywords":["typescript","sdk","api","openapi","tasknet"],"license":"MIT","_id":"@ajent-foundation/typescript-sdk@1.3.0","maintainers":[{"name":"ajoor","email":"ajoor@dapi.com"}],"homepage":"https://github.com/Ajent-foundation/typescript-sdk#readme","bugs":{"url":"https://github.com/Ajent-foundation/typescript-sdk/issues"},"dist":{"shasum":"9f94aa687735f0e8c8c3c8b9df6b0afff388e603","tarball":"https://registry.npmjs.org/@ajent-foundation/typescript-sdk/-/typescript-sdk-1.3.0.tgz","fileCount":166,"integrity":"sha512-Xknuug8vO+Cd557PVg31A1Rc+9Vi5E5jcywiNTv/bxJl5pkJJ+DzotXW29aoiSagQmmrji8GVFqmFpjw2SiIzQ==","signatures":[{"sig":"MEUCIDluLOKmCgq/3vH5gDXamJ8nl8e6Wv/mfFuIJ7uezgR0AiEAiJnrWCUQ+5QKt3Vylum8VcO+zPP1X2WL9HERqB1dE/k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1001005},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"24fb26342ad9c9bc18f67e7a4935543dd1c0f360","scripts":{"build":"tsc","major":"npm version major","minor":"npm version minor","patch":"npm version patch","update":"npm run build && npm publish --access public","prepublishOnly":"npm run build"},"_npmUser":{"name":"ajoor","actor":{"name":"ajoor","type":"user","email":"ajoor@dapi.com"},"email":"ajoor@dapi.com"},"repository":{"url":"git+https://github.com/Ajent-foundation/typescript-sdk.git","type":"git"},"_npmVersion":"10.8.1","description":"Generated TypeScript SDK using OpenAPI Generator","directories":{},"_nodeVersion":"22.4.0","dependencies":{"axios":"^1.7.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.13.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript-sdk_1.3.0_1751577931873_0.4789989796367571","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@ajent-foundation/typescript-sdk","description":"Generated TypeScript SDK using OpenAPI Generator","version":"1.3.1","main":"./dist/index.js","types":"./dist/index.d.ts","dependencies":{"axios":"^1.7.9"},"devDependencies":{"@types/node":"^22.13.1","typescript":"^5.7.3"},"scripts":{"build":"tsc","prepublishOnly":"npm run build","patch":"npm version patch","minor":"npm version minor","major":"npm version major","update":"npm run build && npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/Ajent-foundation/typescript-sdk.git"},"keywords":["typescript","sdk","api","openapi","tasknet"],"license":"MIT","_id":"@ajent-foundation/typescript-sdk@1.3.1","gitHead":"b88834e2ca9e6ee7967703772aebbf7b942c0997","bugs":{"url":"https://github.com/Ajent-foundation/typescript-sdk/issues"},"homepage":"https://github.com/Ajent-foundation/typescript-sdk#readme","_nodeVersion":"22.4.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-B3jeOS9hbLA59KVp8gKqmFyH6QtyKRYBF07tMKIOI5XUcQs4ZFwyWBImBO7tF5MTcBwOWejtqsW2fJ2C1r2+9g==","shasum":"f8e2fc1efba1f40b16b2ec5d698d2851ff0eec75","tarball":"https://registry.npmjs.org/@ajent-foundation/typescript-sdk/-/typescript-sdk-1.3.1.tgz","fileCount":166,"unpackedSize":1049565,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCmcvYHzcS0lQN/pccmUamB7p2e6nRZOsEmTExHesyLWgIgXtx8wp10gNJ65dkiXYeZg3n45NlmbWVe6thoW6WuD58="}]},"_npmUser":{"name":"ajoor","email":"ajoor@dapi.com","actor":{"name":"ajoor","email":"ajoor@dapi.com","type":"user"}},"directories":{},"maintainers":[{"name":"ajoor","email":"ajoor@dapi.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/typescript-sdk_1.3.1_1751578515773_0.5421545819027356"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-04T21:44:32.535Z","modified":"2025-07-03T21:35:16.206Z","1.0.0":"2025-02-04T21:44:32.839Z","1.0.1":"2025-02-04T21:53:09.311Z","1.0.2":"2025-02-04T23:12:17.283Z","1.1.0":"2025-02-08T08:03:03.975Z","1.2.0":"2025-07-03T18:01:40.861Z","1.2.1":"2025-07-03T19:38:06.359Z","1.3.0":"2025-07-03T21:25:32.058Z","1.3.1":"2025-07-03T21:35:15.981Z"},"bugs":{"url":"https://github.com/Ajent-foundation/typescript-sdk/issues"},"license":"MIT","homepage":"https://github.com/Ajent-foundation/typescript-sdk#readme","keywords":["typescript","sdk","api","openapi","tasknet"],"repository":{"type":"git","url":"git+https://github.com/Ajent-foundation/typescript-sdk.git"},"description":"Generated TypeScript SDK using OpenAPI Generator","maintainers":[{"name":"ajoor","email":"ajoor@dapi.com"}],"readme":"<p align=\"center\">\n  <img src=\"./images/tasknet-color@2x.png\" alt=\"TaskNet Logo\" width=\"300\"/>\n</p>\n\n<h1 align=\"center\">typescript-sdk</h1>\n\n[![npm version](https://badge.fury.io/js/@ajent-foundation%2Ftypescript-sdk.svg)](https://badge.fury.io/js/@ajent-foundation%2Ftypescript-sdk)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nOfficial TypeScript SDK for the TaskNet API. This SDK provides a simple and intuitive way to interact with the TaskNet API in TypeScript/JavaScript applications.\n\n## Installation\n\nInstall the package using npm:\n```bash\nnpm install @ajent-foundation/typescript-sdk\n```\n\n## Getting Started\n\n### 1. Environment Setup\n\nCreate a `.env` file in your project root with your TaskNet credentials:\n```env\nAPI_KEY_ID=your_api_key_id\nAPI_KEY=your_api_key\nENVIRONMENT_UUID=your_environment_uuid\nENVIRONMENT_SECRET=your_environment_secret\n```\n\n### 2. Basic Usage\n\nHere's a simple example of how to create a session and navigate to a webpage:\n```typescript\nimport { SessionsApi, PageApi } from \"@ajent-foundation/typescript-sdk\"\nimport as dotenv from \"dotenv\"\n\n// Load environment variables\ndotenv.config()\n\nasync function main() {\n    // Setup authentication\n    const mode = \"private\"\n    const apiKeyHeaders = {\n        \"x-api-key-id\": process.env.API_KEY_ID,\n        \"x-api-key\": process.env.API_KEY\n    }\n    const environmentUUID = process.env.ENVIRONMENT_UUID || \"\"\n    const environmentSecret = process.env.ENVIRONMENT_SECRET || \"\"\n    // Create a new session\n    const sessionsApi = new SessionsApi()\n    const session = await sessionsApi.modeV1SessionsPost(mode, {\n        leaseTime: 5,\n        isVncEnabled: true,\n        vncMode: \"rw\",\n        driver: \"api\",\n        showMouse: true,\n        isProxyEnabled: false\n        }, undefined, environmentUUID, environmentSecret, {\n        headers: apiKeyHeaders\n    })\n    // Navigate to a webpage\n    const pageApi = new PageApi()\n    await pageApi.modeV1PageGoToPagePost(mode, {\n        sessionUUID: session.data.sessionUUID,\n        url: \"https://google.com\"\n        }, {\n        headers: apiKeyHeaders\n    })\n}\n```\n\n\n## Available APIs\n\nThe SDK provides access to several API endpoints:\n\n- `SessionsApi`: Manage browser sessions\n- `PageApi`: Control page navigation and interactions\n- `OperatorsApi`: Access operator-related functionality\n- `ExtensionsApi`: Manage browser extensions\n- `FingerprintApi`: Handle browser fingerprinting\n\n## Documentation\n\nFor detailed API documentation and advanced usage, please visit our [official documentation](https://dev-docs.tasknet.co/).\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.","readmeFilename":"README.md"}