{"_id":"@ciptex/liveperson-sdk","_rev":"18-d83a7da43d2795c0c1ca260688fb9315","name":"@ciptex/liveperson-sdk","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.2":{"name":"@ciptex/liveperson-sdk","version":"0.0.2","author":{"name":"Matthew C Duggan"},"_id":"@ciptex/liveperson-sdk@0.0.2","maintainers":[{"name":"jcbjoe","email":"joegarlick28@hotmail.com"},{"name":"danielgarner365","email":"daniel.garner@ciptex.com"},{"name":"tomseldon_ciptex","email":"tom.seldon@ciptex.com"},{"name":"sonyarouje","email":"sony@sonyarouje.com"},{"name":"cazciptex","email":"caroline.stephenson@ciptex.com"},{"name":"shaunhalliday","email":"shaun.halliday@ciptex.com"},{"name":"matthew.duggan","email":"matthew.duggan@ciptex.com"},{"name":"sinataavon","email":"sina.taavon@ciptex.com"},{"name":"w1nck","email":"matt@winckless.com"}],"homepage":"https://developer.ciptex.com/docs/api/liveperson-api","dist":{"shasum":"583eec2caf53b1781fdaea2e5bb3305e6497951e","tarball":"https://registry.npmjs.org/@ciptex/liveperson-sdk/-/liveperson-sdk-0.0.2.tgz","fileCount":23,"integrity":"sha512-Qo1nDqwiDOWHIAwK8I80wCQvqTWpXlHGM5Jp7Sl1NdNGy7u6wXxvW+dtHHxw/g+POoVTeR923ZdgataR6MMcSg==","signatures":[{"sig":"MEUCICqCwwTKym7E9QtDPWyDJ5VB9vR7NI3/ImCaB5n9vahzAiEA1NqVNIhn9Iz0bV6sqBaiGd/raQNLSSWBjExxf5YEikk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83877},"main":"./dist/index.js","module":"./dist/index.esm.js","gitHead":"0efbaa5e4593c9a167d6f7ff4dfa7c24ce3c283a","typings":"./dist/index.d.ts","@comment":"FILE AUTO GENERATED BY CIPTEX-API-CODEGEN. CHANGES WILL BE OVER-WRITTEN","_npmUser":{"name":"matthew.duggan","email":"matthew.duggan@ciptex.com"},"_npmVersion":"8.19.4","description":"@ciptex/liveperson-sdk","directories":{},"_nodeVersion":"16.20.0","dependencies":{"axios":"^0.27.2","form-data":"^4.0.0","@aws-sdk/client-sts":"^3.312.0","@aws-crypto/sha256-js":"^4.0.0","@aws-sdk/signature-v4":"^3.310.0"},"publishConfig":{"cache":"~/.npm","access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/liveperson-sdk_0.0.2_1684262374543_0.6333466230570395","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@ciptex/liveperson-sdk","version":"0.0.3","author":{"name":"Matthew C Duggan"},"_id":"@ciptex/liveperson-sdk@0.0.3","maintainers":[{"name":"jcbjoe","email":"joegarlick28@hotmail.com"},{"name":"danielgarner365","email":"daniel.garner@ciptex.com"},{"name":"tomseldon_ciptex","email":"tom.seldon@ciptex.com"},{"name":"sonyarouje","email":"sony@sonyarouje.com"},{"name":"cazciptex","email":"caroline.stephenson@ciptex.com"},{"name":"shaunhalliday","email":"shaun.halliday@ciptex.com"},{"name":"matthew.duggan","email":"matthew.duggan@ciptex.com"},{"name":"sinataavon","email":"sina.taavon@ciptex.com"},{"name":"w1nck","email":"matt@winckless.com"}],"homepage":"https://developer.ciptex.com/docs/api/liveperson-api","dist":{"shasum":"6381b0f753292fab795a558f0f56431d5aa01076","tarball":"https://registry.npmjs.org/@ciptex/liveperson-sdk/-/liveperson-sdk-0.0.3.tgz","fileCount":23,"integrity":"sha512-KBMzhUk6SIfAdXaRJB1HTezYmaHBgFOyFOL1KCmCYdfnzk/wcu+G7sdxEgrbXhEJ2xD2sx9py31UXEPrLftNRg==","signatures":[{"sig":"MEQCIEC5a4C21ACmOfHzv9toUFyLRMCtAVZO/bqoOMp3RMi+AiBsYP+FPozfTrzY9HwutlswS8nCjH2WrtUFyYurlJsb0Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83939},"main":"./dist/index.js","module":"./dist/index.esm.js","gitHead":"e8760a98e3c95ee47b03b71d587a577cf2cde8ff","typings":"./dist/index.d.ts","@comment":"FILE AUTO GENERATED BY CIPTEX-API-CODEGEN. CHANGES WILL BE OVER-WRITTEN","_npmUser":{"name":"matthew.duggan","email":"matthew.duggan@ciptex.com"},"_npmVersion":"8.19.4","description":"@ciptex/liveperson-sdk","directories":{},"_nodeVersion":"16.20.0","dependencies":{"axios":"^0.27.2","form-data":"^4.0.0","@aws-sdk/client-sts":"^3.312.0","@aws-crypto/sha256-js":"^4.0.0","@aws-sdk/signature-v4":"^3.310.0"},"publishConfig":{"cache":"~/.npm","access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/liveperson-sdk_0.0.3_1684279672187_0.6409194227478077","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@ciptex/liveperson-sdk","version":"0.0.4","author":{"name":"Matthew C Duggan"},"_id":"@ciptex/liveperson-sdk@0.0.4","maintainers":[{"name":"jcbjoe","email":"joegarlick28@hotmail.com"},{"name":"danielgarner365","email":"daniel.garner@ciptex.com"},{"name":"tomseldon_ciptex","email":"tom.seldon@ciptex.com"},{"name":"sonyarouje","email":"sony@sonyarouje.com"},{"name":"cazciptex","email":"caroline.stephenson@ciptex.com"},{"name":"shaunhalliday","email":"shaun.halliday@ciptex.com"},{"name":"matthew.duggan","email":"matthew.duggan@ciptex.com"},{"name":"sinataavon","email":"sina.taavon@ciptex.com"},{"name":"w1nck","email":"matt@winckless.com"}],"homepage":"https://developer.ciptex.com/docs/api/liveperson-api","dist":{"shasum":"e69b6bf30cde2a90a45a7af777577f0b2ca43229","tarball":"https://registry.npmjs.org/@ciptex/liveperson-sdk/-/liveperson-sdk-0.0.4.tgz","fileCount":23,"integrity":"sha512-6BPmz9jzByH7ceIEy1iPVyY5THWHhYOtDJIDdsq/THHlnl7h13v/tMZI0//ktqIyVtQLfy70mESPd9sepEnlkQ==","signatures":[{"sig":"MEUCIGXLVpcyL/jnsX9y+9CVZng0tV1avYKnUCk1fUvZd4RkAiEArcILX2kcCYSarJo20uzSbpkWH6s3s/HqpnnKXJmsOT8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83939},"main":"./dist/index.js","module":"./dist/index.esm.js","gitHead":"1108207da60b7bf4098522d5479efcad021ce4e7","typings":"./dist/index.d.ts","@comment":"FILE AUTO GENERATED BY CIPTEX-API-CODEGEN. CHANGES WILL BE OVER-WRITTEN","_npmUser":{"name":"matthew.duggan","email":"matthew.duggan@ciptex.com"},"_npmVersion":"8.19.4","description":"@ciptex/liveperson-sdk","directories":{},"_nodeVersion":"16.20.0","dependencies":{"axios":"^0.27.2","form-data":"^4.0.0","@aws-sdk/client-sts":"^3.312.0","@aws-crypto/sha256-js":"^4.0.0","@aws-sdk/signature-v4":"^3.310.0"},"publishConfig":{"cache":"~/.npm","access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/liveperson-sdk_0.0.4_1684331366582_0.886625133359638","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@ciptex/liveperson-sdk","version":"0.0.5","author":{"name":"Matthew C Duggan"},"_id":"@ciptex/liveperson-sdk@0.0.5","maintainers":[{"name":"jcbjoe","email":"joegarlick28@hotmail.com"},{"name":"danielgarner365","email":"daniel.garner@ciptex.com"},{"name":"tomseldon_ciptex","email":"tom.seldon@ciptex.com"},{"name":"sonyarouje","email":"sony@sonyarouje.com"},{"name":"cazciptex","email":"caroline.stephenson@ciptex.com"},{"name":"shaunhalliday","email":"shaun.halliday@ciptex.com"},{"name":"matthew.duggan","email":"matthew.duggan@ciptex.com"},{"name":"sinataavon","email":"sina.taavon@ciptex.com"},{"name":"w1nck","email":"matt@winckless.com"}],"homepage":"https://developer.ciptex.com/docs/api/liveperson-api","dist":{"shasum":"b3950505a974dc53848f5dac28c84abf9d99b492","tarball":"https://registry.npmjs.org/@ciptex/liveperson-sdk/-/liveperson-sdk-0.0.5.tgz","fileCount":23,"integrity":"sha512-q+gxCX3CsbCx4l/wqcVPuaG7wQn250jwd8pjLBeZ0AqNmJuPsSWTjjJS+G0L6J3mErxmL/83BzyiUWOtNuqaNA==","signatures":[{"sig":"MEQCIFODRXMUYtyeIw6mbyCupIwuMTKFwiE41LPKwg2t44toAiBPc67T5wQ9rGihNxVwpYrAlD0Fcoh1qdhm6udlJorkmQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83946},"main":"./dist/index.js","module":"./dist/index.esm.js","gitHead":"7e7f8cefe2309b062c925c3e341c43981485e763","typings":"./dist/index.d.ts","@comment":"FILE AUTO GENERATED BY CIPTEX-API-CODEGEN. CHANGES WILL BE OVER-WRITTEN","_npmUser":{"name":"matthew.duggan","email":"matthew.duggan@ciptex.com"},"_npmVersion":"8.19.4","description":"@ciptex/liveperson-sdk","directories":{},"_nodeVersion":"16.20.0","dependencies":{"axios":"^0.27.2","form-data":"^4.0.0","@aws-sdk/client-sts":"^3.312.0","@aws-crypto/sha256-js":"^4.0.0","@aws-sdk/signature-v4":"^3.310.0"},"publishConfig":{"cache":"~/.npm","access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/liveperson-sdk_0.0.5_1684508567739_0.898046817439621","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@ciptex/liveperson-sdk","version":"0.0.6","author":{"name":"Matthew C Duggan"},"_id":"@ciptex/liveperson-sdk@0.0.6","maintainers":[{"name":"jcbjoe","email":"joegarlick28@hotmail.com"},{"name":"danielgarner365","email":"daniel.garner@ciptex.com"},{"name":"tomseldon_ciptex","email":"tom.seldon@ciptex.com"},{"name":"sonyarouje","email":"sony@sonyarouje.com"},{"name":"cazciptex","email":"caroline.stephenson@ciptex.com"},{"name":"shaunhalliday","email":"shaun.halliday@ciptex.com"},{"name":"matthew.duggan","email":"matthew.duggan@ciptex.com"},{"name":"sinataavon","email":"sina.taavon@ciptex.com"},{"name":"w1nck","email":"matt@winckless.com"}],"homepage":"https://developer.ciptex.com/docs/api/liveperson-api","dist":{"shasum":"eb9080454b46e5b40865fffb36d8d9ac0ab108de","tarball":"https://registry.npmjs.org/@ciptex/liveperson-sdk/-/liveperson-sdk-0.0.6.tgz","fileCount":23,"integrity":"sha512-4/4wla7GDtjE6N3yMykeKdxbSbtZpYJgbPFUfvspdKXxV01yUszMy8S1EHYDLvoay5rKoguSJ716aZwJnQSX/w==","signatures":[{"sig":"MEUCIHNQ1pznJjoO79FM+HItLBcGqUyNti1K1H7L3fPuRdZpAiEAz7wvH5t8elp6Fp8P/jWJ7b9HV688BmIk3SAm11AjGdY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83946},"main":"./dist/index.js","module":"./dist/index.esm.js","gitHead":"1f5f8b710d83d4902e912f968c0a26da870dd331","typings":"./dist/index.d.ts","@comment":"FILE AUTO GENERATED BY CIPTEX-API-CODEGEN. CHANGES WILL BE OVER-WRITTEN","_npmUser":{"name":"matthew.duggan","email":"matthew.duggan@ciptex.com"},"_npmVersion":"8.19.4","description":"@ciptex/liveperson-sdk","directories":{},"_nodeVersion":"16.20.0","dependencies":{"axios":"^0.27.2","form-data":"^4.0.0","@aws-sdk/client-sts":"^3.312.0","@aws-crypto/sha256-js":"^4.0.0","@aws-sdk/signature-v4":"^3.310.0"},"publishConfig":{"cache":"~/.npm","access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/liveperson-sdk_0.0.6_1684509274308_0.23955365750557323","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@ciptex/liveperson-sdk","version":"0.0.7","author":{"name":"Matthew C Duggan"},"_id":"@ciptex/liveperson-sdk@0.0.7","maintainers":[{"name":"jcbjoe","email":"joegarlick28@hotmail.com"},{"name":"danielgarner365","email":"daniel.garner@ciptex.com"},{"name":"tomseldon_ciptex","email":"tom.seldon@ciptex.com"},{"name":"sonyarouje","email":"sony@sonyarouje.com"},{"name":"cazciptex","email":"caroline.stephenson@ciptex.com"},{"name":"shaunhalliday","email":"shaun.halliday@ciptex.com"},{"name":"matthew.duggan","email":"matthew.duggan@ciptex.com"},{"name":"sinataavon","email":"sina.taavon@ciptex.com"},{"name":"w1nck","email":"matt@winckless.com"}],"homepage":"https://developer.ciptex.com/docs/api/liveperson-api","dist":{"shasum":"4c5fff9d527c85922ab2ab6cf270068be75b52c3","tarball":"https://registry.npmjs.org/@ciptex/liveperson-sdk/-/liveperson-sdk-0.0.7.tgz","fileCount":23,"integrity":"sha512-beuhA1pcX3N9OMuHDpe/e/IynTw/D/So8Ksv5VFY5Z22I7nzQA7snShPf3XL+K29dQCmIznfDV1F/dPRwDOzVA==","signatures":[{"sig":"MEQCICXiwNkKuJ/5XyWGo0oBtcyexBKUbvBTsKCznKtAEll1AiAVhCgNtYzsTsfpIf2idnCGXlVk/LpnqtNvWuGl5lA+AQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83946},"main":"./dist/index.js","module":"./dist/index.esm.js","gitHead":"97de672565b45a44a073fd121d5d26d87114f599","typings":"./dist/index.d.ts","@comment":"FILE AUTO GENERATED BY CIPTEX-API-CODEGEN. CHANGES WILL BE OVER-WRITTEN","_npmUser":{"name":"matthew.duggan","email":"matthew.duggan@ciptex.com"},"_npmVersion":"8.19.4","description":"@ciptex/liveperson-sdk","directories":{},"_nodeVersion":"16.20.0","dependencies":{"axios":"^0.27.2","form-data":"^4.0.0","@aws-sdk/client-sts":"^3.312.0","@aws-crypto/sha256-js":"^4.0.0","@aws-sdk/signature-v4":"^3.310.0"},"publishConfig":{"cache":"~/.npm","access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/liveperson-sdk_0.0.7_1684509948415_0.7491762651743223","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-05-16T18:39:34.462Z","modified":"2026-04-01T13:10:45.080Z","0.0.2":"2023-05-16T18:39:34.737Z","0.0.3":"2023-05-16T23:27:52.375Z","0.0.4":"2023-05-17T13:49:26.775Z","0.0.5":"2023-05-19T15:02:47.911Z","0.0.6":"2023-05-19T15:14:34.472Z","0.0.7":"2023-05-19T15:25:48.568Z"},"author":{"name":"Matthew C Duggan"},"homepage":"https://developer.ciptex.com/docs/api/liveperson-api","description":"@ciptex/liveperson-sdk","maintainers":[{"email":"adam.neeld@ciptex.com","name":"adamneeld"},{"email":"james.turner@ciptex.com","name":"jamesturner27"},{"email":"matthew.duggan@ciptex.com","name":"matthew.duggan"},{"email":"sina.taavon@ciptex.com","name":"sinataavon"},{"email":"sony@sonyarouje.com","name":"sonyarouje"},{"email":"tom.seldon@ciptex.com","name":"tomseldon_ciptex"},{"email":"shaun.halliday@ciptex.com","name":"shaunhalliday"},{"email":"daniel.garner@ciptex.com","name":"danielgarner365"},{"email":"Jamie.Wright@Ciptex.com","name":"j-wright1"},{"email":"abhishek@six30labs.io","name":"abhishek_p_s_630"},{"email":"raishum4321@gmail.com","name":"raishum_singh"},{"email":"tobyeguest@gmail.com","name":"tobyguest"}],"readme":"<!---\nFILE AUTO GENERATED BY CIPTEX-API-CODEGEN\n-->\n\n# Race Liveperson SDK\n\nThe  [liveperson-api](https://www.npmjs.com/package/@ciptex/liveperson-sdk)  helper library lets you write Node.js code to make HTTP requests to the Ciptex Race Liveperson API.\n\n> Do not use Basic Authentication in a front-end application. Doing so can expose your Twilio credentials to end-users as part of the bundled HTML/JavaScript sent to their browser.\n\n## Installation\n\nThe easiest way to install **liveperson-sdk** is from [NPM](https://npmjs.org/). You can run the command below from your project directory to install the library:\n\n```bash\nnpm install --save @ciptex/liveperson-sdk@latest\n```\n\nThen in your code:\n\n```typescript\nimport { LivepersonClient } from \"@ciptex/liveperson-sdk\"\n```\n\n\n\n## Testing your installation\n\nTry Listing Configuration like this:\n\n```typescript\nimport { LivepersonClient } from \"@ciptex/liveperson-sdk\"\nconst accountSid = \"ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"; // Your Account SID from www.twilio.com/console\nconst authToken = \"your_auth_token\"; // Your Auth Token from www.twilio.com/console\nconst client = new LivepersonClient({ accountSid, authToken });\n\nconst main = async () => {\n\ttry {\n    // LIST EXAMPLE HERE\n\t}\n\tcatch (error) {\n\t\tconsole.error(error);\n\t}\n}  \n\nmain()  \n```\n\n<br />\n\n> It's okay to hardcode your credentials when testing locally, but you should use environment variables to keep them secret before committing any code or deploying to production. Check out **[How to Set Environment Variables](https://www.twilio.com/blog/2017/01/how-to-set-environment-variables.html)** for more information.\n\n## Using This Library\n\n### Authenticate Client\n\n```typescript\nconst accountSid = \"ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\";\nconst authToken = \"your_auth_token\";\nconst client = new LivepersonClient({ accountSid, authToken });\n```\n\n### Create A New Record\n\n```typescript\nimport { LivepersonClient } from \"@ciptex/liveperson-sdk\"\nconst accountSid = \"ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\";\nconst authToken = \"your_auth_token\";\nconst client = new LivepersonClient({ accountSid, authToken });\n\nconst main = async () => {\n\ttry {\n    //CREATE EXAMPLE HERE\n\t}\n\tcatch (error) {\n\t\tconsole.error(error);\n\t}\n}  \n\nmain()  \n```\n\n### Get Existing Record\n\n```typescript\nimport { LivepersonClient } from \"@ciptex/liveperson-sdk\"\nconst accountSid = \"ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\";\nconst authToken = \"your_auth_token\";\nconst client = new LivepersonClient({ accountSid, authToken });\n\nconst main = async () => {\n\ttry {\n    //GET EXAMPLE HERE\n\t}\n\tcatch (error) {\n\t\tconsole.error(error);\n\t}\n}  \n\nmain()  \n```\n\n## Handling Exceptions\n\nIf the Liveperson API returns a 400 or a 500 level HTTP response, the  **liveperson-sdk**  library will throw an error which can be [caught](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch). 400-level errors are  [normal during API operation](https://www.twilio.com/docs/api/rest/request#get-responses)  (\"Invalid number\", \"Cannot deliver SMS to that number\", for example) and should be handled appropriately.\n\n## More Documentation\nOnce you're up and running with the **liveperson-sdk** library, you'll find code samples using the latest version in our [REST API docs](https://developer.ciptex.com/docs/api/liveperson-api)","readmeFilename":"readme.md"}