{"_id":"@xgenai/sdk-core","_rev":"30-d19dbd851b55a5e793d313fe0ad88f70","name":"@xgenai/sdk-core","dist-tags":{"latest":"1.10.0","beta":"1.9.0"},"versions":{"1.0.0":{"name":"@xgenai/sdk-core","version":"1.0.0","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.0.0","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"b0ec0eb785a2d49dbd1f3426a4d2b5747b6db0ea","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.0.0.tgz","fileCount":1,"integrity":"sha512-XtLpWW8InfVGrNyp9Sb5FkhoaKUmR/v/TpU7KDFuMEtZeE6gnkDPZ5uOlMzTrRXq1El5dyGw74U0ogOOat+H7w==","signatures":[{"sig":"MEQCIHbVe6tJj01sI9no7ifZS+CjjGT0QXRSD3RyPz5T64HTAiAr+JROIrMJX+N0ba5i0o2TFr+cUmt1oc2N8xarCVk/Yg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":961},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"b01cb4938607b71cd59f7c72cd49a906ae604a15","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.9.2","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"23.7.0","dependencies":{"uuid":"^11.1.0","@xgen/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgen/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.0.0_1745525663755_0.9434294505790859","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@xgenai/sdk-core","version":"1.0.1","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.0.1","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"68eee1e44fde6df8e023865d188e1baaa4864e29","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.0.1.tgz","fileCount":1,"integrity":"sha512-6++w85iyl+CJllYD1CFjfG0l7YJflJ8pkG8Gij9Zi6d5J767TBoRvQa1XxtgWYkGgtX0lcCdcrSVMqBsoRddSQ==","signatures":[{"sig":"MEUCIQD5Z5FaTmPHqEbwDlVbbfiWBZEceZmsNHlr4OPyf81k2wIgax6IwalEMoTobG0kXQ+lU+Cm7zFxZeORKTYomh1adnc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":965},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"823d53bf13d8da006e6a8f642b074890dc874074","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.9.2","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"23.7.0","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.0.1_1745526222655_0.3311206417663519","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@xgenai/sdk-core","version":"1.0.2","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.0.2","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"f5c4e7f3419f98fd5c3adb7a6490146723835ac3","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.0.2.tgz","fileCount":18,"integrity":"sha512-d8slRltj2qd2KXhfUowXWPx18HTs7Uy6DV4Pw5URjoypkof0+U6ke6cpxK0/mu8Jd4Ljw2oVIxANMIrAQExazg==","signatures":[{"sig":"MEUCIQCSg5/xZMvddO7pGRNuELzVugI8QNpRZYKmj98LBTzGrQIgWHWi+mb55X5V/Kk+0HppXMQFNrxQS11XXWnoaedRc7g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":114272},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"daa1ea722bd2109097b2c5127a271fbdd2df761e","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.9.2","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"23.7.0","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.0.2_1745528300306_0.4296539337866556","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@xgenai/sdk-core","version":"1.1.0","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.1.0","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"6bde83379edce2a57bce0f882b1f2bb598115f2a","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.1.0.tgz","fileCount":1,"integrity":"sha512-nm2PFMel62D+LRlRik3nHPbGxnCY8B5XVpP8y0Fa3Wl3JSBnLoYNQFfDBLEGr3Y3fKsRcRlzteqeuYhtGrvXIw==","signatures":[{"sig":"MEMCIAXWjMHVUvHvSjrBWpZ8bRrCLeck0ANVBFF29BYwQ2/oAh9nabhB3wexaLigfMtVUnfQIT9RiKiMt+9NoMrH8Nuq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":966},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"508aca18bc4639a46642b3888e825bfade08f90b","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","actor":{"name":"xgenai","type":"user","email":"devadmin@xgen.tech"},"email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.1.0_1750274377158_0.670195787686777","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@xgenai/sdk-core","version":"1.1.1","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.1.1","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"ad1881372e22e4dac03f79c71435b168aa3dcea6","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.1.1.tgz","fileCount":1,"integrity":"sha512-MMKOod45qDV5vxLpblgqI9DYiP2+wLX/majiqlAfoMW3BC0reiGbnDUttbWtSZyKxFSXHrOmCtcwfLYdfVs1eQ==","signatures":[{"sig":"MEUCIQDZnMJjXlGK+3YlJfSeXq978WiDsQx59Sj8dHvVFqZR3QIgWIDOQG2a4NP/v6AT8Wldmb0XnNd0lIvki4tg3Sq7glo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":966},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"4e9b9369c9477afb55d4ae9f214ce25a31bbdce8","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","actor":{"name":"xgenai","type":"user","email":"devadmin@xgen.tech"},"email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.1.1_1750279677136_0.6801954893726556","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@xgenai/sdk-core","version":"1.1.2","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.1.2","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"6344ee3fe5235279e1057209af3cf0ed3ea4c844","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.1.2.tgz","fileCount":19,"integrity":"sha512-k4N5vvOA1AMHIrna5clIJiu+1uyjVwebvUKa+JhQrsU+c9YPY74zNdvyG/sG8ThjUq567M/wKNNtYLWlXqNjEw==","signatures":[{"sig":"MEQCIC9CJV/xphRZkflgVW1BGCyHxX6TnEf1UswQcBRkXKx2AiBm1lDnMQiE0Y3zeaH7q0JM3wAe3LRQwAZNNSqQ5fQX7Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":150969},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"ab4830f4b0542c5e02f1a4d02db0aa0030447ae5","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","actor":{"name":"xgenai","type":"user","email":"devadmin@xgen.tech"},"email":"devadmin@xgen.tech"},"_npmVersion":"10.9.2","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"23.7.0","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.1.2_1750365088039_0.22099416314383102","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@xgenai/sdk-core","version":"1.1.3","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.1.3","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"97929b4e5d66fb2308a09e1cd263e930899b938e","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.1.3.tgz","fileCount":2,"integrity":"sha512-b5LhjS0XjXWKB/pedfCPtTqwT2O//geLosILaUepNQd+ssnLcjOSij3V2mcqMNwOpkLoED9VFqlh2IxGeGqOhA==","signatures":[{"sig":"MEUCICf0Z2bh5p6iYWVygec/sGsnJEMJfS3JbKrQaJoM96HHAiEA8lyU78MkPePvy78pIgmT8P8m7ZvgfRNrwyVGiTUN2nE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37663},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"effe308b1834e61328fa86e7c4ca7a0279855ab7","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","actor":{"name":"xgenai","type":"user","email":"devadmin@xgen.tech"},"email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.1.3_1751319754661_0.584307476827159","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@xgenai/sdk-core","version":"1.1.4","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.1.4","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"27f60e50b5b28fe4d8b77db54862623f4bc0759d","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.1.4.tgz","fileCount":19,"integrity":"sha512-jfW+NcdpTY0L4X8OCTsiYVSFM+9a/LxFUdrtKCUkHNn4CyL6iJCQNOYhsnfz+Q8TCONtjscZU1KcS/UacM9bQg==","signatures":[{"sig":"MEUCIQDAKfLy3DjBCuaEyULQveRiO5QGH9R2TBhSZhnwGwXOtgIgAaWkfxwIjs+gzJVZqmUNneWhf23aRu6r4lV8n/ahnMg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161027},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"effe308b1834e61328fa86e7c4ca7a0279855ab7","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","actor":{"name":"xgenai","type":"user","email":"devadmin@xgen.tech"},"email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.1.4_1751337919472_0.01982191903346764","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@xgenai/sdk-core","version":"1.2.0","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.2.0","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"3e8c4441dc3e32c4c58a5750659d828a1b57f1d9","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.2.0.tgz","fileCount":19,"integrity":"sha512-sX+RYgUK4f3i2ABd2uSrEbBEbSohKgXtZHNMR4mip0Som+0wOyLj48RirnTI/9ijCx6QBYUw/SlsEdPLrmXHpg==","signatures":[{"sig":"MEQCIFgq3a6kdd5FVR0PRNjuQAFQS97xDXBrr4LL3PX9yOwyAiAVLRmZSvpL01vvC9JgfNtH9cnMxE7VLJHo774R5VYU/g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161120},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"20c9af944f1c0abe70752fe6d14c593ceb0e7080","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.2.0_1752259483276_0.9411754453719603","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@xgenai/sdk-core","version":"1.2.1","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.2.1","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"689cfccc023d3450770ac091dd04449a361b8379","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.2.1.tgz","fileCount":19,"integrity":"sha512-yFB1gdeU9lvj7MZEXMFP74wH/pA9YfNK9hh8Ygga0QgcJE8trFOkQApdeqWzlY4DBGzO8AqzHEfTFPYl1skf3A==","signatures":[{"sig":"MEUCIDrVhYmnSokmoJ7qARkY1sQ4GLBtBzM40wgnUJxNHBM/AiEA/cYu1I0BJApejnmE1gWrunyUN7bstD/p82X5ew1WuS4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161221},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"e70b3b5f5adba54803fb320ba3822b86dbd9bb49","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.2.1_1752261336160_0.1324003111797658","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@xgenai/sdk-core","version":"1.2.2","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.2.2","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"27c22aad81d726ec273fcea53a0c19c0b8abc030","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.2.2.tgz","fileCount":19,"integrity":"sha512-qVXcUM3hr24OFaSXPnOSte1Lny91KS1knJub3ILDbYV0GKB6hvl7rgxhkZzqsKIk9R8Qx9C0qkZVCbazj7rDLQ==","signatures":[{"sig":"MEQCIAN5Ruu9S0SDVi4ndMe/qP8e3kAFZ/Lzoq4G84rIBInWAiBjweQnUVeRKOH8Qa2LJQjPscQnd/6u7TozWDRKQEPxhg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161173},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"44ab132aadad929f7876e3145a8a84a9a6de8b2f","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.2.2_1752678950919_0.5283169154352598","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@xgenai/sdk-core","version":"1.2.3","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.2.3","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"132865472f3cc0f30426c6e76f1a6117d5ee4418","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.2.3.tgz","fileCount":19,"integrity":"sha512-OyYJ8z2D7HGe8MGgQfO7Of7S+YC7Qq4hFdneNyhVLMUxvzu3T8hLBG8steVAgPT0UDAMSJKvCOBELUvPjJqL5g==","signatures":[{"sig":"MEUCIBFeGZhIFBgBxD7ttNTIt6dB5SOnxetO+N4VrL0ltZseAiEA+im1HECBuFiDkCySSWg7EDqLa/xqO2k2CvMfGsBHLAE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161320},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"e73d340b2682e0996ede31c3bf8b586c06aac158","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.2.3_1752691079789_0.5345892534264227","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"@xgenai/sdk-core","version":"1.2.4","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.2.4","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"5dc22cfa893dfa5a093cc8f03ae6cd76c7d4bcab","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.2.4.tgz","fileCount":19,"integrity":"sha512-Pg3c8Xz9B7oErAac5O+luomT9ZOmd+dVdaakTPks6XnHPBwi2o7EOlOKJ9ms32+5c9OK6pG15RlawKGypEKyWA==","signatures":[{"sig":"MEYCIQDIQqAHzS13G5+brTQ/TgBStfDwwRN+BZyfGlfevhFJZgIhANROM9ZtA5XUw+RVvUFOWDBHiZcfaoAADTu+Bf5VOT5/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":158196},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"bd80ce6d0c99fb3b2b2b215568f1a8031107e7a1","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.2.4_1752700126756_0.49812984876820643","host":"s3://npm-registry-packages-npm-production"}},"1.2.5":{"name":"@xgenai/sdk-core","version":"1.2.5","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.2.5","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"298df32ed6c9f5b798d6d510f890b14ee3c7aaa6","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.2.5.tgz","fileCount":19,"integrity":"sha512-TCCIlI1ToUPiYC8DaSynDV+NR4YO+z/gK7T8VSCGws7HphWgF3cVbq+Vd6oHlFATFczr3kHtAIIrMQQIFzwqag==","signatures":[{"sig":"MEUCIGxEKK30XA+D0j/KoZJcIa82sRcWEGWRyHa1RfVMs9wSAiEAqt2xQBFMH1bAHuruIorE17kdmFI5EzfjwSVSpJcIeyg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":158479},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"c9ad6ed7576e27ca67340c2eb246e4fc60a0a96e","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.2.5_1755717630784_0.5807985430666074","host":"s3://npm-registry-packages-npm-production"}},"1.2.6":{"name":"@xgenai/sdk-core","version":"1.2.6","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.2.6","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"bad76beb600ec36eb89e9397286ee923cdf44572","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.2.6.tgz","fileCount":19,"integrity":"sha512-ozKdcehCkJhfkmvXDgPjnOVuAm4s4UFJV0rA4l18fT+E/OB4KmtIwMkXZwpxee9QZTHclw0gwy6j5luQlBK0vQ==","signatures":[{"sig":"MEQCIF36FO+vTKPNDcE+CsZPN5U5SF4udsWK5B/YfD3Rl6JAAiB4NiODZmxV571k64e7YufcxMRmDbu8Or6E3ApY2wDp1Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":160684},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"01749638ffb589f1b67f7b3e4ec69f2a89db14e6","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.2.6_1758208606342_0.054257444929756815","host":"s3://npm-registry-packages-npm-production"}},"1.2.7":{"name":"@xgenai/sdk-core","version":"1.2.7","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.2.7","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"4874db93c5d254879ee5c50d503cb0609eabe2c8","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.2.7.tgz","fileCount":19,"integrity":"sha512-IecuPI0c+y5vvdN54M9SgIJcgcs5vVBEQfvTYaaJOR8qTnIU+bdXZTtcRnpq/i1uYOuvm+KR4Q+q8Ck3aSnA5g==","signatures":[{"sig":"MEUCIQCElJs8hQ6vBnULaIYbOSyVzp2/tQeiHUgxEEhwhFwdzAIgP0aE9cvHeZAZ0IVI5Ep4h3ZSWfk8EG4TCjGiiABD1wQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161817},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"dc23108fb24cc288956cabbbe15615fa4d40bdb1","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.2.7_1758834461285_0.7025344894980836","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@xgenai/sdk-core","version":"1.3.0","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.3.0","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"0c2e4c1c5f4995e9a3adbbe50abf8e246ea2f73e","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.3.0.tgz","fileCount":19,"integrity":"sha512-nFBitOLkxgygzEa/4E5pDE67dbA2RItbXAIo9Ya7Lbqf5uld7HkuMN6ssQ+QU9XL53JSpa/jaXkmG+JbPbDYkA==","signatures":[{"sig":"MEUCID4jwguQXOB5Fre0wmQk1qPyRJENYoTn0RigeHQlVME+AiEAnYBP8gbAroXKfcG/JMDFBjBFZaJkuD4uMU9a+nJSkEE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":167078},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"325cc68f2a2175941e5438b562240f2d187c24ca","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.3.0_1759160531563_0.938824740128986","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@xgenai/sdk-core","version":"1.4.0","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.4.0","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"d380596d087c592b64977d2f0bc8df31950b51d5","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.4.0.tgz","fileCount":19,"integrity":"sha512-Q0GmBHn/Lf3nd+HxgcDQa64cYeTWtgCqko/W4CucXH+a5zHJOx/xegvXq9YfWNxbcAlLLrCbaWE5m7UsY6Q5ig==","signatures":[{"sig":"MEQCIAHky+ApCFa3BUzVXkpVAS7mKMSNNPblB2nRU+vTd9+8AiBOxjcZv+8dnbrJfTWgp+ex6v9LmOeu9JTq2csdDhJiZg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":169137},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"ac646870cb709ab4f613c5613be9d938ae735ac4","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.4.0_1761662754694_0.5962951156226992","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@xgenai/sdk-core","version":"1.4.1","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.4.1","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"0a59c43fb40d75680fc19b3f12363791bfd20b88","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.4.1.tgz","fileCount":19,"integrity":"sha512-zrjZzCO54+65EE4lHJOCZ4CG7SUvtfEY/uAUAD1rFuriGG6FOFDyOXYqROHIgpqoke2WSHQtOdMv1G9lbgR0JQ==","signatures":[{"sig":"MEQCIFcUkKN4SD+E2Su/Qlu5EQIwQZue0Wlgfk5AavEEMSsSAiAJdTUjDNNUzZUcAgxPf08iuR5EAk/Dz5oYwgujPDYYTg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":169209},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"8db886f9460804eecf392958310143d40804bf18","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.4.1_1761697175398_0.7436027815547976","host":"s3://npm-registry-packages-npm-production"}},"1.5.2":{"name":"@xgenai/sdk-core","version":"1.5.2","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.5.2","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"0bbd494b37c6234ff73b8103825bffff460ffbc4","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.5.2.tgz","fileCount":19,"integrity":"sha512-m1/J94Ft1WlAfVliGc2cOtSpUAvIg+NCGjttIXrMCy8b2sxA6wf8zA41nAG7vcEPhkQ1DWI7+xYj/rw07rAHRQ==","signatures":[{"sig":"MEQCID9p0muvoP9ew3UlrPT6bdGKxPpuWizqDDxsdVcSKf1VAiBIXudEIHe0L4/CvfJ87RQH+8zIZZ+7OhP+yVbTuhsWUw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":169826},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"b95b0cb078a17f30220b1ea91aecd70ca95d8d55","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"echo \"Error: no test specified\" && exit 1","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.5.2_1762272418448_0.535921203668402","host":"s3://npm-registry-packages-npm-production"}},"1.6.4":{"name":"@xgenai/sdk-core","version":"1.6.4","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.6.4","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"4b3a3f9766dc682cc390bd8aac625a973520dfce","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.6.4.tgz","fileCount":19,"integrity":"sha512-yi9nBbH9UQcr9lGH75pfI/oXJ1Qd8CjGjEOyHpwVIZC/E9VMsMgvjRUHgxFs2sXn37Qv8Njkz8tKVdgzNWyIyQ==","signatures":[{"sig":"MEUCIQCTqcXN86Nf73EXAVRqNWPdU9ulkwe+2C7yzd31Eaf3gAIgblaHT1jpIsHb5AL5ZuOfCFLQqs3+DwtEtZn2Ep9FV4E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":186001},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"57c55b01a5376e78ecbd0e11cb0fbfaa17eb80ed","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"vitest","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","jsdom":"^27.1.0","vitest":"^3.2.4","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.6.4_1762811033872_0.2815754637430756","host":"s3://npm-registry-packages-npm-production"}},"1.6.5":{"name":"@xgenai/sdk-core","version":"1.6.5","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.6.5","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"b0630a08d9b9f5919068b08af9d1784e7f1087f0","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.6.5.tgz","fileCount":19,"integrity":"sha512-ji8TcdBUt9mutFUtabDcipErlbgo3fEimj5zEhxWYXJ2Ft21hdYPH3r2fT4SDRmrUdvRbxsh91usfqrhlFKxOw==","signatures":[{"sig":"MEUCIQCQzi7JxVx4QaW7ePNrGeewc52QnRx32Nav4cUZHETTbgIgXCstNiJqoB/qwUUU0YHUXpW/bwHuvV7CmbmbQjycytc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":186017},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"f5cdab05437a9585a0b0f5856842de31fb9c9c0e","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"vitest","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.9.2","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"23.7.0","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","jsdom":"^27.1.0","vitest":"^3.2.4","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.6.5_1766087138404_0.8918311772744314","host":"s3://npm-registry-packages-npm-production"}},"1.6.6":{"name":"@xgenai/sdk-core","version":"1.6.6","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.6.6","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"dccdd19d7b7e02e3ca12d53e197cab0534ed7a35","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.6.6.tgz","fileCount":19,"integrity":"sha512-NMDm7hMlbyE0NLriwrEREXEdYiUVQ2JsTGF5uJQDiKZvLtz0+i+GKotYx72detJIwbT7lXoa81h76g0bJSUEaw==","signatures":[{"sig":"MEUCIQDpC7oZcKliveAfDZZsboCJl4SITyWAGlCXJiXi7LWTowIgaKcdFfJZRSxLx+UozrgApuVvzF4QepjPA8nID+a9S3s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":186033},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"9d14469302289b4bb9117b8954f93737b7eff976","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"vitest","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.9.2","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"23.7.0","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","jsdom":"^27.1.0","vitest":"^3.2.4","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.6.6_1766087595082_0.5650949325979195","host":"s3://npm-registry-packages-npm-production"}},"1.6.7":{"name":"@xgenai/sdk-core","version":"1.6.7","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.6.7","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"ef5c9c4bd73d8c9ff41a099242079f5bd28a95c1","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.6.7.tgz","fileCount":19,"integrity":"sha512-sWHEGQjH51lGgpdg3VUbT3kOv9L9JnjpOLx+aYKOn/REp53rkTxr5VBzl/ccGoCkRrcBoy8pOVA1OpM7P3pk0g==","signatures":[{"sig":"MEQCIEePa+OJmuHtdewf2psfvMCBmys3AO/g+6fFPsiBJ4GbAiBuMFXP0BJuX1PHVhl8te9hY3qOXYEyCASamtppTC3LDw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":186604},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"2af118dcfdf5204ed2cf49b9275388deb4f41ff5","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"vitest","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","jsdom":"^27.1.0","vitest":"^3.2.4","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.6.7_1769706632242_0.9404654422257099","host":"s3://npm-registry-packages-npm-production"}},"1.6.8":{"name":"@xgenai/sdk-core","version":"1.6.8","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.6.8","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"5541253ed2073044c65bcfdd6e80157514b70503","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.6.8.tgz","fileCount":19,"integrity":"sha512-76zHLBnE2sv/wYPWj8NnpSBQPy1o+qJ+f+mKtJL+u3pBIdhGHSC1j2Cvwp7tKtE4kM9Kw+dnTwxj6HL14/kA7A==","signatures":[{"sig":"MEYCIQDkM0FCfSCFk27SxApYzQtKrTHZZikVt97vOWtHvXcPdgIhANRIwc/z7BK6r4FAKi0YBJc/15lFdyNnu2+O1M0tBf9o","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":187051},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"51b02fb78ae261f1c2a195d3d59de3280dac11af","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"vitest","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"10.5.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"18.20.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","jsdom":"^27.1.0","vitest":"^3.2.4","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.6.8_1771947787343_0.7274177261593047","host":"s3://npm-registry-packages-npm-production"}},"1.6.9":{"name":"@xgenai/sdk-core","version":"1.6.9","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.6.9","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"42b774b48dda7f86c0f310361ebf34ea96330e38","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.6.9.tgz","fileCount":19,"integrity":"sha512-pkVThgNwgztOwbqm+AgtYhjNcxerXBRgZ1eWs5no1qqbUcBytEE3su3aADZj60c0DaSn5EuP9vQ6wQMPxv5HBA==","signatures":[{"sig":"MEYCIQCC47IqVyRsN64ZIq5aF//ELbR6s/XffdD6KHh6OGXCIAIhALmByult6MYvqHbOejw2tbJUeGp1O2Ccad+NJMe4CMHf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":188863},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"023eafb7aa30482a1f6978784f1b839073a35ae6","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"vitest","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"11.11.1","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"25.8.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","jsdom":"^27.1.0","vitest":"^3.2.4","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.6.9_1774457123132_0.8494363787955237","host":"s3://npm-registry-packages-npm-production"}},"1.6.10":{"name":"@xgenai/sdk-core","version":"1.6.10","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.6.10","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"dc23caba31bf11aed1687a5c72f9524bd0c2e39e","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.6.10.tgz","fileCount":19,"integrity":"sha512-yvgdKnPKpuKsRcshKD69p4lAaXBhIzVbqZNkTmjIGoOtGhONtzbJd2M4h2TP6etC0a+cy0AJ4UAxV5IHrCWqHg==","signatures":[{"sig":"MEQCIAd3lAm52txVuAbuGK0Nc/ELWkKPeUKvEKfzYjgQupXZAiAtTrCdWb4fnykBvUVut1WfAyZBV6XjcDd7iojqG1E9Jw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":192522},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"6a9697caba6e5fd95ee0891e49cf9d3fe32dff37","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"vitest","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"11.11.1","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"25.8.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","jsdom":"^27.1.0","vitest":"^3.2.4","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.6.10_1776364153699_0.07475772869350816","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"name":"@xgenai/sdk-core","version":"1.7.0","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.7.0","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"fd20ffa905edda1c6c08f36f2d09cb126c1034b7","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.7.0.tgz","fileCount":19,"integrity":"sha512-ngHQbwup9Mqg09AJMTSq5K8STKtCpb4EgugLVoSsaj3ZEz5C1XEeePtKsMz0z+K03eoIhg8f62m+iZ6jCMlC1w==","signatures":[{"sig":"MEQCIQCpBxf0ii3sfVd4hUDQnZKVtwKiWS3+coX5BkqsrgPR2QIfQN6eofNpezafS9NQYE+ckg5hsOH2hzjmnuAU4utAow==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":194111},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"44f98705c3b17f1abcdc0edea5b8c1d54549e7d6","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"vitest","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"11.11.1","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"25.8.2","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","jsdom":"^27.1.0","vitest":"^3.2.4","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.7.0_1778086271377_0.49254641912082886","host":"s3://npm-registry-packages-npm-production"}},"1.9.0":{"name":"@xgenai/sdk-core","version":"1.9.0","author":{"name":"Hunter Woodall"},"license":"ISC","_id":"@xgenai/sdk-core@1.9.0","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"dist":{"shasum":"bfa55688363a6cff1a870fee31cc09e41230cf0c","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.9.0.tgz","fileCount":19,"integrity":"sha512-QFi1IEEmT4KV3XIQ5z7CZqwxlHttEQYtnnBmyyHJYh1XzGxfrQe0vbaObcbQzRHKpEQDHc8PngATFbqYRNaPvw==","signatures":[{"sig":"MEYCIQDhAVckxCMerRYgfENvOgh8S0+FadKW+YsngmhmtVUQbAIhAK6y+500bGIU0FmBok+woImXey5HLjj0dTnnG0tXHmbJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCPGgJbCQOslS8QEp20SngNouJ7z8ehw35ojotoRf3pvQIgCphNA1KSvccmn/KybgAgVTY0rURcoWpd32PdZ+HpMdQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":201093},"main":"./dist/sdk-core.js","type":"module","types":"./dist/index.d.ts","import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"1f7d1fb1461ce255f5eba5ab596c5cff498ffa6c","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"vitest","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"11.19.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"_nodeVersion":"24.21.0","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vite":"^6.2.0","jsdom":"^27.1.0","vitest":"^3.2.4","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.9.0_1790351114874_0.9606262026509893","host":"s3://npm-registry-packages-npm-production"}},"1.10.0":{"_id":"@xgenai/sdk-core@1.10.0","dist":{"shasum":"b7ca81092e65c1fa01163877c445367efccdc445","tarball":"https://registry.npmjs.org/@xgenai/sdk-core/-/sdk-core-1.10.0.tgz","fileCount":19,"integrity":"sha512-OTRvU6S6O4nKGEm2gKskQ4TXDpIXvBrGezr/PD28fQZmSg8oYbcqCYDDaK+Nag8eZsoYYkvEJMtxsfLxYwF8ig==","signatures":[{"sig":"MEUCIEi+n1toax82gE/3rs32LsfTT6PoNSFO9vtcefrYIclSAiEAzzFafZviO2Mk9SLi8Y3KyZ/d4ItPq8ai6Huh/agLy6Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCEadsyAtWEnDLBCAoQwjnLDCA5hCsu6eiP9ni9NNPfvwIhAKPOXQtnRE9gCo3H12YXLz9sbQxZOuLyhBlByZ8zVzv1"}],"unpackedSize":219707},"main":"./dist/sdk-core.js","name":"@xgenai/sdk-core","type":"module","types":"./dist/index.d.ts","author":{"name":"Hunter Woodall"},"import":"./dist/sdk-core.js","module":"./dist/sdk-core.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/sdk-core.js","require":"./dist/sdk-core.umd.cjs"}},"gitHead":"13dc65430f92e286a69a05bf6c2ea96d33a20c23","license":"ISC","require":"./dist/sdk-core.umd.cjs","scripts":{"dev":"vite","test":"vitest","build":"tsc && vite build","preview":"vite preview"},"version":"1.10.0","_npmUser":{"name":"xgenai","email":"devadmin@xgen.tech"},"_npmVersion":"11.19.0","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","directories":{"test":"tests"},"maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"_nodeVersion":"24.21.0","dependencies":{"uuid":"^11.1.0","@xgenai/sdk-tools":"*"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","jsdom":"^27.1.0","vitest":"^3.2.4","typescript":"~5.7.2","vite-plugin-dts":"^4.5.1","@xgenai/config-typescript":"*"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk-core_1.10.0_1790715040690_0.7293449754052908"}}},"time":{"created":"2025-04-24T20:14:23.334Z","modified":"2026-09-29T20:50:40.960Z","1.0.0":"2025-04-24T20:14:23.928Z","1.0.1":"2025-04-24T20:23:42.836Z","1.0.2":"2025-04-24T20:58:20.508Z","1.1.0":"2025-06-18T19:19:37.337Z","1.1.1":"2025-06-18T20:47:57.432Z","1.1.2":"2025-06-19T20:31:28.224Z","1.1.3":"2025-06-30T21:42:34.852Z","1.1.4":"2025-07-01T02:45:19.684Z","1.2.0":"2025-07-11T18:44:43.474Z","1.2.1":"2025-07-11T19:15:36.380Z","1.2.2":"2025-07-16T15:15:51.129Z","1.2.3":"2025-07-16T18:37:59.969Z","1.2.4":"2025-07-16T21:08:46.944Z","1.2.5":"2025-08-20T19:20:30.967Z","1.2.6":"2025-09-18T15:16:46.538Z","1.2.7":"2025-09-25T21:07:41.476Z","1.3.0":"2025-09-29T15:42:11.749Z","1.4.0":"2025-10-28T14:45:54.964Z","1.4.1":"2025-10-29T00:19:35.613Z","1.5.2":"2025-11-04T16:06:58.642Z","1.6.4":"2025-11-10T21:43:54.071Z","1.6.5":"2025-12-18T19:45:38.564Z","1.6.6":"2025-12-18T19:53:15.266Z","1.6.7":"2026-01-29T17:10:32.408Z","1.6.8":"2026-02-24T15:43:07.505Z","1.6.9":"2026-03-25T16:45:23.278Z","1.6.10":"2026-04-16T18:29:13.842Z","1.7.0":"2026-05-06T16:51:11.552Z","1.9.0":"2026-09-25T15:45:14.985Z","1.10.0":"2026-09-29T20:50:40.785Z"},"author":{"name":"Hunter Woodall"},"license":"ISC","description":"A core package for the XGen SDK that provides functionality for interacting with the XGen API.","maintainers":[{"name":"xgenai","email":"devadmin@xgen.tech"}],"readme":"# XGen Ai JavaScript SDK Core Package\n\nOfficial JavaScript SDK Core Package (browser and node) for interacting with the [XGen API](<link to xgen docs>).\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Extras](#extras)\n    - [Error handling](#error-handling)\n    - [Auth store](#auth-store)\n        - [LocalCookieAuthStore (default)](#localcookieauthstore-default)\n        - [Custom auth store](#custom-auth-store)\n        - [Common auth store fields and methods](#common-auth-store-fields-and-methods)\n    - [Send hooks](#send-hooks)\n    - [SSR integration](#ssr-integration)\n- [Definitions](#definitions)\n\n## Installation\n\n### Browser (manually via script tag)\n\n```html\n<script src=\"/path/to/dist/sdk-core.umd.cjs\"></script>\n<script type=\"text/javascript\">\n\tconst xg = new XGenClient({\n\t  //params\n\t})\n\t...\n</script>\n```\n\n_OR if you are using ES modules:_\n\n```html\n<script type=\"module\">\n\timport XGenClient from '/path/to/dist/sdk-core.js'\n\n\tconst xg = new XGenClient({\n\t  //params\n\t})\n\t...\n</script>\n```\n\n### Node.js (via npm)\n\n```sh\nnpm install @xgenai/sdk-core --save\n```\n\n```js\n// Using ES modules (default)\nimport XGenClient from '@xgenai/sdk-core';\n\n// OR if you are using CommonJS modules\nconst XGenClient = require('@xgenai/sdk-core');\n```\n\n> 🔧 For **Node < 17** you'll need to load a `fetch()` polyfill.\n> We recommend [lquixada/cross-fetch](https://github.com/lquixada/cross-fetch):\n>\n> ```js\n> // npm install cross-fetch --save\n> import 'cross-fetch/polyfill';\n> ```\n\n---\n\n## Usage\n\n```js\nimport XGenClient from '@xgenai/sdk-core';\n\nconst xg = new XGenClient({\n\tkey: '<your_api_key>',\n\tsecret: '<your_api_secret>',\n\tclientId: '<your_client_id>',\n\ttrackerId: '<your_tracker_id>',\n\tgetEnv: 'stage', //optional: 'stage' or 'prod' or a function that returns the environment (`stage` or `prod`)\n\tauthStore: new LocalCookieAuthStore(), //default - can pass in a custom auth store instance\n});\n\n// get recommendations by element id\nconst result = await xg.recommend.getResultsById({ elementId: '<element_id>' });\n\n// and much more...\n```\n\n> More detailed API docs and copy-paste examples could be found in the [API documentation for each service](<link to xgen docs>).\n\n## Extras\n\n### Error handling\n\nAll services return a standard [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)-based response, so the error handling is straightforward:\n\n```js\nxg.recommend\n\t.getResultsById({ elementId: '<element_id>' })\n\t.then((result) => {\n\t\t// success...\n\t\tconsole.log('Result:', result);\n\t})\n\t.catch((error) => {\n\t\t// error...\n\t\tconsole.log('Error:', error);\n\t});\n\n// OR if you are using the async/await syntax:\ntry {\n\tconst result = xg.recommend.getResultsById({ elementId: '<element_id>' });\n\tconsole.log('Result:', result);\n} catch (error) {\n\tconsole.log('Error:', error);\n}\n```\n\nThe response error is normalized and always returned as `ResponseError` object with the following public fields that you could use:\n\n```js\nResponseError {\n    url:           string,     // requested url\n    status:        number,     // response status code\n    response:      { ... },    // the API JSON error response\n    isAbort:       boolean,    // is abort/cancellation error\n    originalError: Error|null, // the original non-normalized error\n}\n```\n\n### Auth store\n\nThe SDK keeps track of the authenticated token and auth model for you via the `xg.authStore` instance.\n\n##### LocalCookieAuthStore (default)\n\nThe default `LocalCookieAuthStore` uses the browser's `document.cookie` storage if available, otherwise - will fallback to runtime/memory (aka. on page refresh or service restart you'll have to authenticate again).\n\n> Default cookie names\n>\n> - `xgen_token` - token value and expiration date\n> - `xgen_user` - user value and expiration date\n> - `xgen_session` - session value and expiration date\n\nLocalCookieAuthStore customization options\n\n> params\n>\n> ```ts\n> \tkeyPrefix?: string;\n> \ttokenSuffix?: string;\n> \tuserSuffix?: string;\n> \tsessionSuffix?: string;\n>\n> \tgenerateUserId?: () => string;\n> \taddAlternateUserId?: () => string | undefined;\n> \tgetUserExpiration?: () => number;\n> \tgetSessionExpiration?: () => number;\n> ```\n\n> cookieOptions\n>\n> ```ts\n> \tpath?: string;\n> \tdomain?: string;\n> \tsecure?: boolean;\n> ```\n\n> Example:\n>\n> ```ts\n> const authStore = new LocalCookieAuthStore({\n> \tparams: {\n> \t\tkeyPrefix: 'custom_',\n> \t}\n> \tcookieOptions: {\n> \t\tpath: '/',\n> \t\tdomain: 'example.com',\n> \t\tsecure: true,\n> \t},\n> });\n> ```\n\n##### Custom auth store\n\nIn some situations it could be easier to create your own custom auth store. For this you can extend `BaseAuthStore` and pass the new custom instance as constructor argument to the client:\n\n```js\nimport XGenClient, { BaseAuthStore } from '@xgenai/sdk-core';\n\nclass CustomAuthStore extends BaseAuthStore {\n\tsave({ tokenRecord, userRecord, sessionRecord }) {\n\t\tsuper.save({ tokenRecord, userRecord, sessionRecord });\n\n\t\t// your custom business logic...\n\t}\n}\n\nconst xg = new XGenClient({\n\t// ...other params\n\tauthStore: new CustomAuthStore(),\n});\n```\n\n##### Common auth store fields and methods\n\nThe default `xg.authStore` extends `BaseAuthStore` and has the following public members that you can use:\n\n```js\nBaseAuthStore {\n    // base fields\n    token:       TokenRecord|null // the access_token and expiration\n    user:        UserRecord|null  // the userId, userType, expiration, and alternateUserId (if applicable)\n    sessionId:   SessionRecord|null // the session id and expiration\n    isExpired:   boolean // checks if the record is expired\n\n    // main methods\n    clear()             // \"logout\" the authenticated record\n    save({tokenRecord, userRecord, sessionRecord}) // update the store with the new auth data\n\n    // cookie parse and serialize helpers\n    loadFromCookie(cookieHeader)\n    exportToCookie(options = {})\n\n    // overidable properties methods via constructor\n   \tkeyPrefix: string\n    tokenSuffix: string\n    userSuffix: string\n    sessionSuffix: string\n    generateUserId(): string // custom userId generation\n    addAlternateuserId(): string // custom alternate userId generation\n    getUserExpiration(): number // custom function to generate a user expiration date - Defaults to 395 days from now\n    getSessionExpiration(): number // custom function to generate a session expiration date - Defaults to 30 minutes from now\n}\n```\n\nTo _\"logout\"_ the authenticated record you can call `xg.authStore.clear()`.\n\nTo manually cancel pending requests, you could use `xg.cancelAll()` or `xg.cancel(requestKey)`.\n\n#### Custom Cookie names\n\n```javascript\nimport XGenClient, {LocalCookieAuthStore} from '@xgenai/sdk-core';\n\nconst authStore = new LocalCookieAuthStore({\n\tkeyPrefix = 'custom_',\n\ttokenSuffix = 'my-token-key',\n\tuserSuffix = 'my-user-key',\n\tsessionSuffix = 'my-session-key',\n})\n```\n\n> 🔧 Now the cookie keys stored in the browser will be.\n>\n> - `custom_my-token-key` - Stores authentication token and expiration date\n> - `custom_my-user-key` - Contains user information and expiration date\n> - `custom_my-session-key` - Maintains session data and expiration date\n\n#### Custom methods\n\n```javascript\nimport XGenClient, { LocalCookieAuthStore } from '@xgenai/sdk-core';\n\nconst authStore = new LocalCookieAuthStore({\n\tgenerateUserId: () => 'custom_user_id',\n\taddAlternateUserId: () => 'custom_alternate_user_id',\n\tgetUserExpiration: () => Date.now() + 1000 * 60 * 60 * 24 * 20, // 20 days from now\n\tgetSessionExpiration: () => Date.now() + 1000 * 60 * 60, // 1 hour from now\n});\n```\n\n### Send hooks\n\nSometimes you may want to modify the request data globally or to customize the response.\n\nTo accomplish this, the SDK provides 2 function hooks:\n\n- `beforeSend` - triggered right before sending the `fetch` request, allowing you to inspect/modify the request config.\n\n    ```js\n    const xg = new XGenClient({\n    \t/* params */\n    });\n\n    xg.beforeSend = function (url, options) {\n    \t// For list of the possible request options properties check\n    \t// https://developer.mozilla.org/en-US/docs/Web/API/fetch#options\n    \toptions.headers = Object.assign({}, options.headers, {\n    \t\t'X-Custom-Header': 'example',\n    \t});\n\n    \treturn { url, options };\n    };\n    ```\n\n- `afterSend` - triggered after successfully sending the `fetch` request, allowing you to inspect/modify the response object and its parsed data.\n\n    ```js\n    const xg = new XGenClient({\n    \t/* params */\n    });\n\n    xg.afterSend = function (response, data) {\n    \t// do something with the response state\n    \tconsole.log(response.status);\n\n    \treturn Object.assign(data, {\n    \t\t// extend the data...\n    \t\tnewField: 'This is added to the data of the response',\n    \t});\n    };\n    ```\n\n### SSR integration\n\nUnfortunately, **there is no \"one size fits all\" solution** because each framework handle SSR differently (_and even in a single framework there is more than one way of doing things_).\n\nBut in general, the idea is to use a cookie based flow:\n\n1. Create a new `XGenClient` instance for each server-side request\n2. \"Load/Feed\" your `xg.authStore` with data from the request cookie\n3. Perform your application server-side actions\n4. Before returning the response to the client, update the cookie with the latest `xg.authStore` state\n\nAll `BaseAuthStore` instances have 2 helper methods that\nshould make working with cookies a little bit easier:\n\n```js\n// update the store with the parsed data from the cookie string\nxg.authStore.loadFromCookie('xgen_token=...;xgen_user=...;xgen_session=...');\n\n// exports the store data as cookie, with option to extend the default SameSite, Secure, HttpOnly, Path and Expires attributes\nxg.authStore.exportToCookie({ httpOnly: false }); // Output: 'xgen_token=...;xgen_user=...;xgen_session=...'\n```\n\nBelow you can find an example of how to integrate on the server:\n\n<details>\n    <summary><strong>Express</strong></summary>\n\nOne way to integrate with Express could be to create the XGen client in a [middleware](https://expressjs.com/en/guide/using-middleware.html)\nand pass it to the other routes using the `res.locals`.\n\n> note: Your server will need to handle CORS\n>\n> - set the allowed origin and `credentials: true` on your server\n> - Make sure to include `credentials: include` when making the fetch call\n> - When calling `xg.authStore.exportToCookie()` make sure you pass the option to switch `sameSite: false`\n>     - `xg.authStore.exportToCookie({secure: true, sameSite: false, httpOnly: true, path: '/'})`\n\n```ts\n// src/index.ts\nimport express from 'express';\nimport XGenClient, { type ClientParams } from '@xgenai/sdk-core';\n\n// locals typescript\ndeclare global {\n\tnamespace Express {\n\t\tinterface Locals {\n\t\t\txg: XGenClient;\n\t\t}\n\t}\n}\n\nconst clientParams: ClientParams = {\n\tkey: 'ec5eda77fa13cce055f4443855c84c2a',\n\tsecret: 'fed4ddef035229a50b08e6a5437c4ad90b324e6206543e4fda088b2f54a2fdac5f06e367874bdf950fbcb17265df9787bcec68474701307b70581e4e25abd814',\n\tclientId: 'bcf4fb5ef8bac6e63ba6884f58e4b100',\n\ttrackerId: 'eacd363314004c9a96c31f72e04f8fcc',\n\tgetEnv: () => 'stage',\n};\n\nexport const app = express();\n\nconst port = 3000;\n\n// Middleware\napp.use((req, res, next) => {\n\tconst xg = new XGenClient(clientParams);\n\tif (xg) {\n\t\tres.locals.xg = xg;\n\t}\n\n\txg.authStore.loadFromCookie(req.headers.cookie || '');\n\n\tnext();\n});\n\n// Routes\napp.get('/', (_, res) => {\n\tres.send('Healthy!');\n});\n\napp.get('/products', async (_, res) => {\n\ttry {\n\t\tconst recommendations = await res.locals.xg.recommend.getResultsById({\n\t\t\telementId: '<element_id>',\n\t\t});\n\n\t\tres.setHeader('Set-Cookie', res.locals.xg.authStore.exportToCookie());\n\n\t\tres.send(recommendations);\n\t} catch (err) {\n\t\tconsole.error(err);\n\n\t\tres.send(err);\n\t}\n});\n\n// Server\napp.listen(port, () => {\n\tconsole.log(`Example app listening on port ${port}`);\n});\n```\n\n</details>\n\n<details>\n  <summary><strong>SvelteKit</strong></summary>\n\nOne way to integrate with SvelteKit SSR could be to create the XGen client in a [hook handle](https://kit.svelte.dev/docs/hooks#handle)\nand pass it to the other server-side actions using the `event.locals`.\n\n```js\n// src/hooks.server.js\nimport XGenClient from '@xgenai/sdk-core';\n\n/** @type {import('@sveltejs/kit').Handle} */\nexport async function handle({ event, resolve }) {\n\tevent.locals.xg = new XGenClient({\n\t\t/*params*/\n\t});\n\n\t// load the store data from the request cookie string\n\tevent.locals.xg.authStore.loadFromCookie(event.request.headers.get('cookie') || '');\n\n\tconst response = await resolve(event);\n\n\t// send back the default 'xgen_token', 'xgen_user', 'xgen_session' cookies to the client with the latest store state\n\tevent.locals.xg.authStore\n\t\t.exportToCookie()\n\t\t.forEach((cookie) => response.headers.append('set-cookie', cookie));\n\n\treturn response;\n}\n```\n\nAnd then, in some of your server-side actions, you could directly access the previously created `event.locals.xg` instance:\n\n```js\n// src/routes/recommendations/+server.js\n/**\n * Creates a `POST /recommendations` server-side endpoint\n *\n * @type {import('./$types').RequestHandler}\n */\nexport async function POST({ request, locals }) {\n\tconst { email, password } = await request.json();\n\n\tconst results = await xg.recommend.getResultsById({ elementId: '<element_id>' });\n\n\treturn new Response(results);\n}\n```\n\nFor proper `locals.xg` type detection, you can also add `XGenClient` in your your global types definition:\n\n```ts\n// src/app.d.ts\nimport XGenClient from '@xgenai/sdk-core';\n\ndeclare global {\n\tdeclare namespace App {\n\t\tinterface Locals {\n\t\t\txg: XGenClient;\n\t\t}\n\t}\n}\n```\n\n</details>\n\n## Definitions\n\n### Creating new client instance\n\n```js\nconst xg = new XGenClient({\n\tkey: '<your_api_key>',\n\tsecret: '<your_api_secret>',\n\tclientId: '<your_client_id>',\n\ttrackerId: '<your_tracker_id>',\n\tgetEnv: () => 'stage', // optional: function that returns the environment (`stage` or `prod`) - defaults to 'prod'\n\tauthStore: new LocalCookieAuthStore(), // optional - can pass in a custom auth store instance - defaults to LocalCookieAuthStore\n});\n```\n\n### Instance methods\n\n| Method                 | Description                                           |\n| :--------------------- | :---------------------------------------------------- |\n| `xg.cancelAll()`       | Cancels all pending requests.                         |\n| `xg.cancel(cancelKey)` | Cancels single request by its cancellation token key. |\n\n### Services\n\n> Each service call returns a `Promise` object with the API response.\n\n##### Recommend Service\n\n###### _Methods_\n\n```js\n// Returns a recommendation response mapped by element IDs.\nxg.recommend.getResults({ elementIds: ['<element_id_1>', '<element_id_2>'], { pathname: '/en-us/' } });\n\n// Returns a recommendation response for the given element ID.\nxg.recommend.getResultsById({ elementId: '<element_id>', { pathname: '/en-us/' } });\n```\n\n###### `getResults`\n\n**Description:**\nGets recommendation results by a list of elementIds.\n\n#### **Parameters**\n\n| Name                          | Type     | Required    | Description                                                                                                         |\n| ----------------------------- | -------- | ----------- | ------------------------------------------------------------------------------------------------------------------- |\n| `elementIds`                  | string[] | ✅ (for v2) | The IDs of the elements                                                                                             |\n| `containerIds`                | (string \\| { containerId: string; pageToken?: string })[] | ✅ (for v3) | The containers to fetch. Pass a plain ID for the first page, or `{ containerId, pageToken }` to continue that container's scroll — see [Endless Discovery](#endless-discovery-paginated-containers) |\n| `options`                     | object   | ✅          | Options object that allows you to control the search result response                                                |\n| ↳ `options.version`           | v1 or v2 | ❌          | The version of the API to use. v2 corresponds with the experience api, while v3 corresponds with the containers api |\n| ↳ `options.pathname`          | string   | ❌          | The pathname that includes the locale (default to 'default' locale)                                                 |\n| ↳ `options.queryString`       | string   | ❌          | The query string of the page                                                                                        |\n| ↳ `options.collection`        | string   | ❌          | The collection to get items from                                                                                    |\n| ↳ `options.locale`            | string   | ❌          | The locale to get items from                                                                                        |\n| ↳ `options.exclude`           | string[] | ❌          | Product codes to exclude from the recommendations                                                                   |\n| ↳ `options.recentlyViewed`    | string[] | ❌          | Product codes of recently viewed items                                                                              |\n| ↳ `options.productCode`       | string   | ❌          | Product code of the currently viewed product                                                                        |\n| ↳ `options.targetProductCode` | string[] | ❌          | Product code of the target product (for instance, the most recently added product to cart)                          |\n| ↳ `options.context`           | object   | ❌          | Dynamic contextual information                                                                                      |\n| `queryId`                     | string   | ❌          | An optional queryId passed to cancel a request                                                                      |\n\n#### **Returns**\n\nA `Promise` resolving to a `Recommendations` object:\n\n```ts\n{\n\t// v2\n\t[key: string]: {\n\t\titems: RecommendProduct[];\n\t\ttitle: string;\n\t\truleEngine: string;\n\t\truleset: string;\n\t};\n\n\t// v3\n\t[key: string]: {\n\t\titems: RecommendProduct[];\n\t\ttitle: string;\n\t\t// Paginated (Endless Discovery) containers only — see below\n\t\tnextPageToken?: string;\n\t\tnextPageParams?: RecommendResultByIdParamsV3;\n\t\tnextPage?: () => Promise<RecommendGetResultsByIdReturnV3>; // browser only\n\t};\n}\n```\n\n###### `getResultsById`\n\n**Description:**\nGets recommendation results by a single elementId.\n\n#### **Parameters**\n\n| Name                          | Type     | Required    | Description                                                                                                         |\n| ----------------------------- | -------- | ----------- | ------------------------------------------------------------------------------------------------------------------- |\n| `elementId`                   | string   | ✅ (for v2) | The ID of the element                                                                                               |\n| `containerId`                 | string   | ✅ (for v3) | The ID of the element                                                                                               |\n| `options`                     | object   | ✅          | Options object that allows you to control the search result response                                                |\n| ↳ `options.version`           | v1 or v2 | ❌          | The version of the API to use. v2 corresponds with the experience api, while v3 corresponds with the containers api |\n| ↳ `options.pathname`          | string   | ❌          | The pathname that includes the locale (default to 'default' locale)                                                 |\n| ↳ `options.queryString`       | string   | ❌          | The query string of the page                                                                                        |\n| ↳ `options.collection`        | string   | ❌          | The collection to get items from                                                                                    |\n| ↳ `options.locale`            | number   | ❌          | The locale to get items from                                                                                        |\n| ↳ `options.exclude`           | string[] | ❌          | Product codes to exclude from the recommendations                                                                   |\n| ↳ `options.recentlyViewed`    | string[] | ❌          | Product codes of recently viewed items                                                                              |\n| ↳ `options.productCode`       | string   | ❌          | Product code of the currently viewed product                                                                        |\n| ↳ `options.targetProductCode` | string[] | ❌          | Product code of the target product (for instance, the most recently added product to cart)                          |\n| ↳ `options.context`           | object   | ❌          | Dynamic contextual information                                                                                      |\n| ↳ `options.pageToken`         | string   | ❌          | Endless Discovery cursor from a previous page's `nextPageToken`. Container (v3) requests only. Usually unnecessary — prefer the previous result's `nextPageParams` |\n| `queryId`                     | string   | ❌          | An optional queryId passed to cancel a request                                                                      |\n\n#### **Returns**\n\nA `Promise` resolving to a `Recommendations` object:\n\n```ts\n{\n\t// v2\n\titems: RecommendProduct[];\n\ttitle: string;\n\truleset: string;\n\truleEngine: string;\n\n\t// v3\n\titems: RecommendProduct[];\n\ttitle: string;\n\t// Paginated (Endless Discovery) containers only — see below\n\tnextPageToken?: string;\n\tnextPageParams?: RecommendResultByIdParamsV3;\n\tnextPage?: () => Promise<RecommendGetResultsByIdReturnV3>; // browser only\n}\n```\n\n###### Endless Discovery (paginated containers)\n\nA container configured for **Endless Discovery** returns one page at a time. Its\nresult carries the means to fetch the following page **re-using every parameter of\nthe call that produced it** — collection, `productCode`, `exclude`, `context` and\nthe rest — with the cursor filled in for you. You never re-send those by hand.\n\nThere are two equivalent ways to take that next page:\n\n| Field            | Available       | Use it when                                                     |\n| ---------------- | --------------- | --------------------------------------------------------------- |\n| `nextPage()`     | **browser only** | You're in the browser and want the one-liner                    |\n| `nextPageParams` | everywhere      | You're on the server, or want to drive pagination yourself      |\n\n`nextPage()` is exactly `getResultsById(nextPageParams)` — the two produce an\nidentical request.\n\n**Check `nextPageParams` (not `nextPage`) to test for more pages.** Both\n`nextPageToken` and `nextPageParams` are present **exactly when another page\nexists**, in every environment, so either doubles as the \"has more\" check: an\nexhausted scroll and a container that isn't paginated at all both come back\nwithout them.\n\n```ts\nlet page = await xg.recommend.getResultsById({\n\tcontainerId: '<container_id>',\n\toptions: { version: 'v3', collection: 'my-collection' },\n});\n\nconst allItems = [...page.items];\n\n// Works on the server and in the browser alike.\nwhile (page.nextPageParams) {\n\tpage = await xg.recommend.getResultsById(page.nextPageParams);\n\tallItems.push(...page.items); // items are THIS page only, not an accumulation\n}\n```\n\nIn the browser you can use the shorthand instead:\n\n```ts\nwhile (page.nextPage) {\n\tpage = await page.nextPage();\n\tallItems.push(...page.items);\n}\n```\n\nEach page resolves to a **fresh page**, not a growing list — concatenate as above\nif you're rendering an infinite scroll. (The React hook\n`useXGenRecommendationsById` does this accumulation for you via `loadMore()`.)\n\n**Server-side rendering**\n\n`nextPage()` is a function, and functions cannot cross a server→client boundary.\nA result fetched in a React Server Component, `getServerSideProps`, or any SSR\npass gets serialized on its way to the client, and a function property would make\nthat serialization throw (`Functions cannot be passed directly to Client\nComponents`). So the SDK **omits `nextPage()` entirely when it isn't running in a\nbrowser**.\n\n`nextPageParams` is the portable equivalent: plain serializable data, always\npresent, and safe to hand straight across the boundary.\n\n```tsx\n// app/page.tsx — server component\nconst page = await xg.recommend.getResultsById({\n\tcontainerId: '<container_id>',\n\toptions: { version: 'v3' },\n});\n\n// No function on this object, so it serializes cleanly.\nreturn <Feed initialItems={page.items} nextPageParams={page.nextPageParams} />;\n```\n\n```tsx\n// feed.tsx — client component\n'use client';\n\nexport function Feed({ initialItems, nextPageParams }) {\n\tconst [items, setItems] = useState(initialItems);\n\tconst [next, setNext] = useState(nextPageParams);\n\n\tasync function loadMore() {\n\t\tif (!next) return;\n\n\t\tconst page = await xg.recommend.getResultsById(next);\n\n\t\tsetItems((prev) => [...prev, ...page.items]);\n\t\tsetNext(page.nextPageParams);\n\t}\n\n\treturn <>{/* ... */}</>;\n}\n```\n\n**Batches**\n\nIn a batch, every container carries its own cursor and advances independently.\nEach entry gets its own `nextPageParams`, narrowed to that container alone:\n\n```ts\nconst results = await xg.recommend.getResults({\n\tcontainerIds: [\n\t\t{ containerId: 'container_1', pageToken: '<token>' }, // continue this scroll\n\t\t'container_2', // start at page 0\n\t],\n});\n\nconst more = await xg.recommend.getResultsById(results.container_1.nextPageParams);\n```\n\nIf the batch was sent with a `queryId`, each entry's `nextPageParams` carries its\nown derived id (`<queryId>:<containerId>`) rather than the shared one — two\ncontainers paginating at the same time would otherwise overwrite each other's\ncancellation handle. Cancel a specific scroll with\n`xg.cancel(nextPageParams.queryId)`.\n\nPassing `options.pageToken` directly is supported for the single-container call\nonly. On `getResults()` — and on element (v2) requests, which the render service\ndoes not paginate — the option is a TypeScript error, and throws at runtime for\nuntyped callers. A batch has one cursor per container, so a request-level token\nwould be ambiguous; use the `{ containerId, pageToken }` form instead.\n\n##### Search Service\n\n###### _Methods_\n\n```js\n// Returns a search response containing the results\nxg.search.getResults({\n\tquery: 'coat',\n\toptions: { collection: '<collection>', deploymentId: '<deployment_id>', locale: '<locale>' // Locale is used for tracking purposes },\n});\n\n// Returns a list of property values for the given collection\nxg.search.getResultValues({ collection: '<collection>' });\n\n// Returns a search response for the given category and collection\nxg.search.getCategoryPage({ category: 'coat', collection: '<collection>' });\n\n// Returns a list of trending search terms for the given collection\nxg.search.getTrendingSearches({ collection: '<collection>' });\n```\n\n###### `getResults`\n\n**Description:**\nGets recommendation results by a single elementId.\n\n#### **Parameters**\n\n| Name                        | Type                     | Required | Description                                                          |\n| --------------------------- | ------------------------ | -------- | -------------------------------------------------------------------- |\n| `query`                     | string                   | ✅       | The ID of the element                                                |\n| `options`                   | object                   | ✅       | Options object that allows you to control the search result response |\n| ↳ `options.collection`      | string                   | ✅       | The collection to get items from                                     |\n| ↳ `options.locale`          | string                   | ✅       | The locale used for tracking purposes                                |\n| ↳ `options.deploymentId`    | string                   | ✅       | The deploymentId                                                     |\n| ↳ `options.page`            | number                   | ❌       | The page of results                                                  |\n| ↳ `options.facets`          | boolean                  | ❌       | If facets should be returned or not                                  |\n| ↳ `options.forceDeepSearch` | boolean                  | ❌       | If deep search should be forced                                      |\n| ↳ `options.sortBy`          | 'price' \\| 'update_date' | ❌       | Sort by price or update date                                         |\n| ↳ `options.sortOrder`       | 'asc' \\| 'desc'          | ❌       | Sort order                                                           |\n| ↳ `options.context`         | object                   | ❌       | Dynamic contextual information                                       |\n| `queryId`                   | string                   | ❌       | An optional queryId passed to cancel a request                       |\n\n#### **Returns**\n\nA `Promise` resolving to the object below:\n\n```ts\n{\n\titems: SearchProduct[];\n\tfacets: { [key: string]: unknown };\n\tisFromCache: boolean;\n\tpage: number;\n\tkeyword: string;\n\tisUrlRedirect: boolean;\n\turlRedirect: string;\n\tisQueryTranslated: boolean;\n\tisCachedFilterApplied: boolean;\n\tisKeywordConfigApplied: boolean;\n\tbehaviorId: string;\n\tresponseEngine: string;\n\ttotalResults: number;\n\tsortedBy: string;\n\tvariantMapping?: { [key: string]: string };\n\tsearchTermMatches?: string[];\n\tfilter: { [key: string]: unknown };\n}\n```\n\n###### `getResultValues`\n\n**Description:**\nGets the possible properties of a search result.\n\n#### **Parameters**\n\n| Name         | Type   | Required | Description                  |\n| ------------ | ------ | -------- | ---------------------------- |\n| `collection` | string | ✅       | Collection to get items from |\n\n#### **Returns**\n\nA `Promise` resolving to the object below:\n\n```ts\n{\n\t[key: string]: {\n\t\tname: string;\n\t\tcount: number;\n\t}\n}\n```\n\n###### `getCategoryPage`\n\n**Description:**\nGets results for a specific category page.\n\n#### **Parameters**\n\n| Name         | Type   | Required | Description                                 |\n| ------------ | ------ | -------- | ------------------------------------------- |\n| `category`   | string | ✅       | Category to get items from                  |\n| `collection` | string | ✅       | Collection to get items from                |\n| `page`       | number | ❌       | Page number                                 |\n| `queryId`    | string | ❌       | Optional queryId passed to cancel a request |\n\n#### **Returns**\n\nA `Promise` resolving to the object below:\n\n```ts\n{\n\titems: SearchProduct[];\n\tfacets: { [key: string]: unknown };\n\tisFromCache: boolean;\n\tpage: number;\n\tkeyword: string;\n\tisUrlRedirect: boolean;\n\turlRedirect: string;\n\tisQueryTranslated: boolean;\n\tisCachedFilterApplied: boolean;\n\tisKeywordConfigApplied: boolean;\n\tbehaviorId: string;\n\tresponseEngine: string;\n\ttotalResults: number;\n\tsortedBy: string;\n\tvariantMapping?: { [key: string]: string };\n\tsearchTermMatches?: string[];\n\tfilter: { [key: string]: unknown };\n}\n```\n\n###### `getTrendingSearches`\n\n**Description:**\nGets the popular searches.\n\n#### **Parameters**\n\n| Name         | Type   | Required | Description                  |\n| ------------ | ------ | -------- | ---------------------------- |\n| `collection` | string | ✅       | Collection to get items from |\n\n#### **Returns**\n\nA `Promise` resolving to the array below:\n\n```ts\nstring[];\n```\n\n###### `getSearchSuggestions`\n\n**Description:**\nGets search suggestions based off search events.\n\n#### **Parameters**\n\n| Name         | Type   | Required | Description                                 |\n| ------------ | ------ | -------- | ------------------------------------------- |\n| `collection` | string | ✅       | Collection to get items from                |\n| `query`      | string | ✅       | The query to get suggestions for            |\n| `queryId`    | string | ❌       | Optional queryId passed to cancel a request |\n\n#### **Returns**\n\nA `Promise` resolving to the array below:\n\n```ts\nstring[];\n```\n\n##### Track Service\n\n###### _Methods_\n\nThere are 3 ways to pass the locale to the track service events:\n**_Note: The locale is a required field for all track events, but it is optional to pass directly in each event because there are 3 way to set the locale:_**\n\n1. Pass the locale directly as a parameter (see examples below)\n2. Use the `xg.track.setLocale(<locale>: string)` method to set the locale for any subsequent track events\n3. Set the locale when creating the XGenClient instance\n    ```js\n    cons xg = new XGenClient({\n    \t// ...other params,\n    \tlocale: () => '<locale>',\n    \t// or\n    \tlocale: '<locale>',\n    })\n    ```\n\nThere are also 3 ways to pass the group that a user belongs to:\n**_Note: The group is not required, but is useful for segmenting users during A/B testing._**\n\n1. Pass the group directly as a parameter. Example: `xg.track.pageView({ group: '<group>' })`\n2. Use the `xg.track.setGroup(<group>: string)` method to set the group for any subsequent track events\n3. Set the group when creating the XGenClient instance\n    ```js\n    cons xg = new XGenClient({\n    \t// ...other params,\n    \tgroup: () => '<group>',\n    \t// or\n    \tgroup: '<group>',\n    })\n    ```\n\n```js\n// tracks a page view event.\nxg.track.pageView({ locale });\n\n// tracks the view of a item/product\nxg.track.itemView({ item, context, locale });\n\n// tracks the view of a category\nxg.track.categoryView({ category, items, context, locale });\n\n// tracks an add to cart event for an item/product\nxg.track.addToCart({ item, context, locale });\n\n// tracks a purchase order event for item(s)/product(s)\nxg.track.purchaseOrder({ items, orderId, tax, discount, context, locale });\n\n// tracks the view of a specific dom element\nxg.track.elementView({ element, context, locale });\n\n// tracks the render of a specific dom element\nxg.track.elementRender({ element, context, locale });\n\n// tracks the click of a specific dom element\nxg.track.elementClick({ element, item, context, locale });\n\n// tracks a search query event (tracked by default when calling xg.search.getResults())\nxg.track.searchQuery({ query, queryId, deploymentId, page, context, locale });\n\n// tracks the results of a search query (tracked by default when calling xg.search.getResults())\nxg.track.searchResult({ query, queryId, deploymentId, page, context, locale });\n\n// tracks a click of a search item/product\nxg.track.searchClick({ query, queryId, deploymentId, page, item, items, context, locale });\n\n// tracks a group assignment event\nxg.track.groupAssignment({ group, previousGroup, context, locale });\n\n// tracks a custom event\nxg.track.customEvent({ category, action, name, value, locale });\n\n// batch tracking - this will batch tracking events until send() is called\nconst batch = xg.track.createBatch();\n\nbatch.pageView();\nbatch.itemView({ item, context });\n\n// optionally takes in a locale, group, url, and referrer to send the tracking events for\n//ex. batch.send({locale: 'en', url: 'https://example.com/pdp', referrer: 'https://example.com/, group: 'group'})\nbatch.send();\n```\n\n**All Tracking Events Return**\n\n```ts\n{\n\tmessage: string;\n\tsuccess: boolean;\n}\n```\n\n###### `pageView`\n\n**Description:**\nTracks a page view event.\n\n- This is an event that fires each time a new page is viewed by the user.\n\n#### **Parameters**\n\n| Name       | Type   | Required | Description                        |\n| ---------- | ------ | -------- | ---------------------------------- |\n| `locale`   | object | ❌       | The locale to track                |\n| `group`    | object | ❌       | The group of the user              |\n| `url`      | object | ❌       | The url where the event took place |\n| `referrer` | object | ❌       | The referrer url of the event      |\n\n###### `itemView`\n\n**Description:**\nTracks a item/product view event.\n\n- This is an event that fires each time a item/product is viewed by the user (Product detail page view).\n\n#### **Parameters**\n\n| Name              | Type   | Required | Description                               |\n| ----------------- | ------ | -------- | ----------------------------------------- |\n| `item`            | object | ✅       | The item/product to track                 |\n| ↳ `item.id`       | string | ✅       | The id of the item/product                |\n| ↳ `item.name`     | string | ✅       | The name of the item/product              |\n| ↳ `item.price`    | string | ✅       | The price of the item/product             |\n| ↳ `item.currency` | string | ✅       | The currency of the item/product. Ex. USD |\n| `context`         | object | ❌       | Dynamic information about the event.      |\n| `locale`          | object | ❌       | The locale to track                       |\n| `group`           | object | ❌       | The group of the user                     |\n| `url`             | object | ❌       | The url where the event took place        |\n| `referrer`        | object | ❌       | The referrer url of the event             |\n\n###### `categoryView`\n\n**Description:**\nTracks a category view event.\n\n- This is an event that fires each time a category/plp page is viewed by the user.\n\n#### **Parameters**\n\n| Name       | Type     | Required | Description                                      |\n| ---------- | -------- | -------- | ------------------------------------------------ |\n| `category` | string   | ✅       | The category to track                            |\n| `items`    | string[] | ✅       | The ids of the first few category items/products |\n| `context`  | object   | ❌       | Dynamic information about the event.             |\n| `locale`   | object   | ❌       | The locale to track                              |\n| `group`    | object   | ❌       | The group of the user                            |\n| `url`      | object   | ❌       | The url where the event took place               |\n| `referrer` | object   | ❌       | The referrer url of the event                    |\n\n###### `addToCart`\n\n**Description:**\nTracks an add to cart event.\n\n- This is an event that fires each time an item/product is added to the cart.\n\n#### **Parameters**\n\n| Name              | Type   | Required | Description                               |\n| ----------------- | ------ | -------- | ----------------------------------------- |\n| `item`            | object | ✅       | The item/product to track                 |\n| ↳ `item.id`       | string | ✅       | The id of the item/product                |\n| ↳ `item.name`     | string | ✅       | The name of the item/product              |\n| ↳ `item.price`    | string | ✅       | The price of the item/product             |\n| ↳ `item.currency` | string | ✅       | The currency of the item/product. Ex. USD |\n| ↳ `item.quantity` | number | ✅       | The quantity of the item/product          |\n| `context`         | object | ❌       | Dynamic information about the event.      |\n| `locale`          | object | ❌       | The locale to track                       |\n| `group`           | object | ❌       | The group of the user                     |\n| `url`             | object | ❌       | The url where the event took place        |\n| `referrer`        | object | ❌       | The referrer url of the event             |\n\n###### `purchaseOrder`\n\n**Description:**\nTracks an add to cart event.\n\n- This is an event that fires each time an order is placed.\n\n#### **Parameters**\n\n| Name              | Type   | Required | Description                               |\n| ----------------- | ------ | -------- | ----------------------------------------- |\n| `items`           | item[] | ✅       | The array of items/products to track      |\n| ↳ `item.id`       | string | ✅       | The id of the item/product                |\n| ↳ `item.name`     | string | ✅       | The name of the item/product              |\n| ↳ `item.price`    | string | ✅       | The price of the item/product             |\n| ↳ `item.currency` | string | ✅       | The currency of the item/product. Ex. USD |\n| ↳ `item.quantity` | number | ✅       | The quantity of the item/product          |\n| `orderId`         | string | ✅       | The unique identifier of the order        |\n| `tax`             | number | ❌       | The tax amount of the order               |\n| `discount`        | number | ❌       | The discount amount of the order          |\n| `context`         | object | ❌       | Dynamic information about the event.      |\n| `locale`          | object | ❌       | The locale to track                       |\n| `group`           | object | ❌       | The group of the user                     |\n| `url`             | object | ❌       | The url where the event took place        |\n| `referrer`        | object | ❌       | The referrer url of the event             |\n\n###### `elementView`\n\n**Description:**\nTracks the view of a specific dom node.\n\n- This is an event that fires when a recommendation element is viewed by the user (element is visible in the viewport).\n\n#### **Parameters**\n\n| Name              | Type     | Required | Description                                            |\n| ----------------- | -------- | -------- | ------------------------------------------------------ |\n| `element`         | object   | ✅       | Information about the dom node to track                |\n| ↳ `element.id`    | string   | ✅       | The id of the dom node                                 |\n| ↳ `element.items` | string[] | ❌       | An array of the items/product ids shown in the element |\n| `context`         | object   | ❌       | Dynamic information about the event.                   |\n| `locale`          | object   | ❌       | The locale to track                                    |\n| `group`           | object   | ❌       | The group of the user                                  |\n| `url`             | object   | ❌       | The url where the event took place                     |\n| `referrer`        | object   | ❌       | The referrer url of the event                          |\n\n###### `elementRender`\n\n**Description:**\nTracks the render of a specific dom node.\n\n- This is an event that fires when a recommendation element is rendered (element is in dom and able to be viewed).\n\n#### **Parameters**\n\n| Name              | Type     | Required | Description                                            |\n| ----------------- | -------- | -------- | ------------------------------------------------------ |\n| `element`         | object   | ✅       | Information about the dom node to track                |\n| ↳ `element.id`    | string   | ✅       | The id of the dom node                                 |\n| ↳ `element.items` | string[] | ❌       | An array of the items/product ids shown in the element |\n| `context`         | object   | ❌       | Dynamic information about the event.                   |\n| `locale`          | object   | ❌       | The locale to track                                    |\n| `group`           | object   | ❌       | The group of the user                                  |\n| `url`             | object   | ❌       | The url where the event took place                     |\n| `referrer`        | object   | ❌       | The referrer url of the event                          |\n\n###### `elementClick`\n\n**Description:**\nTracks the click of a specific dom node.\n\n- This is an event that fires when a recommendation element item/product is clicked by the user.\n\n#### **Parameters**\n\n| Name              | Type     | Required | Description                                            |\n| ----------------- | -------- | -------- | ------------------------------------------------------ |\n| `element`         | object   | ✅       | Information about the dom node to track                |\n| ↳ `element.id`    | string   | ✅       | The id of the dom node                                 |\n| ↳ `element.items` | string[] | ❌       | An array of the items/product ids shown in the element |\n| `item`            | string   | ✅       | The id of the item/product clicked                     |\n| `context`         | object   | ❌       | Dynamic information about the event.                   |\n| `locale`          | object   | ❌       | The locale to track                                    |\n| `group`           | object   | ❌       | The group of the user                                  |\n| `url`             | object   | ❌       | The url where the event took place                     |\n| `referrer`        | object   | ❌       | The referrer url of the event                          |\n\n###### `searchQuery`\n\n**Description:**\nTracks the search query. This is an event right before the search request is sent.\n\n- This is an event that fires when a search query is executed by the user.\n\n#### **Parameters**\n\n| Name             | Type    | Required | Description                                 |\n| ---------------- | ------- | -------- | ------------------------------------------- |\n| `query`          | object  | ✅       | Information about the dom node to track     |\n| `queryId`        | string  | ✅       | The id of the search query                  |\n| `deploymentId`   | string  | ✅       | The id of the deployment                    |\n| `isTypeToSearch` | boolean | ❌       | Whether the query is a type-to-search query |\n| `page`           | number  | ❌       | The page number of the search query         |\n| `context`        | object  | ❌       | Dynamic information about the event.        |\n| `locale`         | object  | ❌       | The locale to track                         |\n| `group`          | object  | ❌       | The group of the user                       |\n| `url`            | object  | ❌       | The url where the event took place          |\n| `referrer`       | object  | ❌       | The referrer url of the event               |\n\n###### `searchResult`\n\n**Description:**\nTracks the results of the search request.\n\n- This is an event that fires when the search results are returned to the user.\n\n#### **Parameters**\n\n| Name             | Type     | Required | Description                                             |\n| ---------------- | -------- | -------- | ------------------------------------------------------- |\n| `query`          | object   | ✅       | Information about the dom node to track                 |\n| `queryId`        | string   | ✅       | The id of the search query                              |\n| `deploymentId`   | string   | ✅       | The id of the deployment                                |\n| `items`          | string[] | ✅       | An array of the items/product ids in the search results |\n| `isTypeToSearch` | boolean  | ❌       | Whether the query is a type-to-search query             |\n| `page`           | number   | ❌       | The page number of the search query                     |\n| `context`        | object   | ❌       | Dynamic information about the event.                    |\n| `locale`         | object   | ❌       | The locale to track                                     |\n| `group`          | object   | ❌       | The group of the user                                   |\n| `url`            | object   | ❌       | The url where the event took place                      |\n| `referrer`       | object   | ❌       | The referrer url of the event                           |\n\n###### `searchClick`\n\n**Description:**\nTracks a click event on a search result.\n\n- This is an event that fires when a search item/product is clicked by the user.\n\n#### **Parameters**\n\n| Name             | Type     | Required | Description                                             |\n| ---------------- | -------- | -------- | ------------------------------------------------------- |\n| `query`          | object   | ✅       | Information about the dom node to track                 |\n| `queryId`        | string   | ✅       | The id of the search query                              |\n| `deploymentId`   | string   | ✅       | The id of the deployment                                |\n| `item`           | string   | ✅       | The id of the item/product clicked                      |\n| `items`          | string[] | ❌       | An array of the items/product ids in the search results |\n| `isTypeToSearch` | boolean  | ❌       | Whether the query is a type-to-search query             |\n| `page`           | number   | ❌       | The page number of the search query                     |\n| `context`        | object   | ❌       | Dynamic information about the event.                    |\n| `locale`         | object   | ❌       | The locale to track                                     |\n| `group`          | object   | ❌       | The group of the user                                   |\n| `url`            | object   | ❌       | The url where the event took place                      |\n| `referrer`       | object   | ❌       | The referrer url of the event                           |\n\n###### `groupAssignment`\n\n**Description:**\nTracks when a group is assigned to a user.\n\n- This is an event that fires when a user is assigned to a group.\n\n#### **Parameters**\n\n| Name            | Type   | Required | Description                        |\n| --------------- | ------ | -------- | ---------------------------------- |\n| `group`         | object | ✅       | The group of the user              |\n| `previousGroup` | object | ❌       | The previous group of the user     |\n| `locale`        | object | ❌       | The locale to track                |\n| `url`           | object | ❌       | The url where the event took place |\n| `referrer`      | object | ❌       | The referrer url of the event      |\n\n###### `customEvent`\n\n**Description:**\nTracks a custom event.\n\n- This is an event that can be used to track any custom event.\n\n#### **Parameters**\n\n| Name       | Type   | Required | Description                          |\n| ---------- | ------ | -------- | ------------------------------------ |\n| `category` | string | ✅       | The category of the event type       |\n| `action`   | string | ✅       | The action of the event              |\n| `name`     | string | ✅       | The name of the event                |\n| `value`    | string | ✅       | The value of the event               |\n| `context`  | object | ❌       | Dynamic information about the event. |\n| `locale`   | object | ❌       | The locale to track                  |\n| `group`    | object | ❌       | The group of the user                |\n| `url`      | object | ❌       | The url where the event took place   |\n| `referrer` | object | ❌       | The referrer url of the event        |\n","readmeFilename":"README.md"}