{"_id":"@bolomio/salesforce-connector","_rev":"13-849f64d4175937618dee95879d2ca9d9","name":"@bolomio/salesforce-connector","dist-tags":{"latest":"1.4.0"},"versions":{"1.0.1":{"name":"@bolomio/salesforce-connector","version":"1.0.1","keywords":[],"author":{"name":"bolomio"},"license":"ISC","_id":"@bolomio/salesforce-connector@1.0.1","maintainers":[{"name":"romulogmp","email":"romulogmp@gmail.com"},{"name":"marcusyami","email":"marcus.yavorskyy@gmail.com"}],"dist":{"shasum":"1c29985b90d6e73c9f517a28137c62cdb28d6492","tarball":"https://registry.npmjs.org/@bolomio/salesforce-connector/-/salesforce-connector-1.0.1.tgz","fileCount":39,"integrity":"sha512-CkY4HVEDb+FL5q0D7DXoTzg0rd3ZQwy+wBTR46yVDxpqBLJnzZV92vLXnpNgQp48JN0ltsbL3SxT/BOQE3vrAQ==","signatures":[{"sig":"MEUCIDXdveiMsnZJPVvZVEaGf+hOVf4GkNrHPEsd7H2K4h++AiEA3G5EQz8ttgSz3Ek8r80TQ8b1inCO+CwyQJhuR+OO97A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67833},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e8a9e7575a8ab2ca441b1f24761f49ad4deff995","scripts":{"lint":"eslint --ignore-path .eslintignore --ext .js,.ts .","test":"jest -w 1","build":"tsc -p tsconfig.dist.json","format":"bash -c 'prettier \"**/*.{ts,tsx,js,jsx,json,yml,yaml}\" --ignore-path <(cat .gitignore .prettierignore) --write'","release":"npm run build && semantic-release"},"_npmUser":{"name":"marcusyami","email":"marcus.yavorskyy@gmail.com"},"_npmVersion":"8.19.4","description":"functions to interact with the standard salesforce api","directories":{},"_nodeVersion":"18.16.0","dependencies":{"got":"^11.8.6","tslib":"^2.5.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","nock":"^13.2.9","eslint":"^8.41.0","ts-jest":"^29.1.0","prettier":"^2.8.8","typescript":"^5.0.4","@types/jest":"^29.5.2","semantic-release":"^21.0.2","eslint-plugin-import":"^2.27.5","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^9.0.1","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@semantic-release/github":"^8.1.0","@typescript-eslint/parser":"^5.59.8","@semantic-release/changelog":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.59.8","eslint-import-resolver-typescript":"^3.5.5"},"_npmOperationalInternal":{"tmp":"tmp/salesforce-connector_1.0.1_1686044006109_0.9661310943143246","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@bolomio/salesforce-connector","version":"1.1.0","keywords":[],"author":{"name":"bolomio"},"license":"ISC","_id":"@bolomio/salesforce-connector@1.1.0","maintainers":[{"name":"romulogmp","email":"romulogmp@gmail.com"},{"name":"marcusyami","email":"marcus.yavorskyy@gmail.com"}],"dist":{"shasum":"4c2ebb8c50c4bda58bc7d28ec3f67be3d71cc882","tarball":"https://registry.npmjs.org/@bolomio/salesforce-connector/-/salesforce-connector-1.1.0.tgz","fileCount":48,"integrity":"sha512-HKGPP5yjtdfWtn9Xj7QRdGVcY9sAOF/4HSAZ+5v4Fct6lKqDDAhTBhGWthuoHV8jbwAmHHHrzW41agjWFY3JdQ==","signatures":[{"sig":"MEQCIEvmNw0R8rQwY8v2KkfnqiFTbnIM6TbzNGSgHEbfGI0HAiAth5UrtvFiMbyNTdVVPh6z7DI3p1PjhuoqjjC/sTBTzg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79557},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"c063b464ce4c2619c34dc575e1197c1db1a1c46a","scripts":{"lint":"eslint --ignore-path .eslintignore --ext .js,.ts .","test":"jest -w 1","build":"tsc -p tsconfig.dist.json","format":"bash -c 'prettier \"**/*.{ts,tsx,js,jsx,json,yml,yaml}\" --ignore-path <(cat .gitignore .prettierignore) --write'","release":"npm run build && semantic-release"},"_npmUser":{"name":"marcusyami","email":"marcus.yavorskyy@gmail.com"},"_npmVersion":"8.19.4","description":"functions to interact with the standard salesforce api","directories":{},"_nodeVersion":"18.17.0","dependencies":{"got":"^11.8.6","tslib":"^2.5.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","nock":"^13.2.9","eslint":"^8.41.0","ts-jest":"^29.1.0","prettier":"^2.8.8","typescript":"^5.0.4","@types/jest":"^29.5.2","semantic-release":"^21.0.2","eslint-plugin-import":"^2.27.5","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^9.0.1","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@semantic-release/github":"^8.1.0","@typescript-eslint/parser":"^5.59.8","@semantic-release/changelog":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.59.8","eslint-import-resolver-typescript":"^3.5.5"},"_npmOperationalInternal":{"tmp":"tmp/salesforce-connector_1.1.0_1692282634998_0.8924327650085919","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@bolomio/salesforce-connector","version":"1.1.1","keywords":[],"author":{"name":"bolomio"},"license":"ISC","_id":"@bolomio/salesforce-connector@1.1.1","maintainers":[{"name":"romulogmp","email":"romulogmp@gmail.com"},{"name":"marcusyami","email":"marcus.yavorskyy@gmail.com"}],"dist":{"shasum":"b4d51328722055a8c96432cb9907ef4e0096363c","tarball":"https://registry.npmjs.org/@bolomio/salesforce-connector/-/salesforce-connector-1.1.1.tgz","fileCount":48,"integrity":"sha512-zPJfsyRFAHirs5wGXWc8rDn2M1LBltrzuHrapjGIubV45Le6TY7/iuB9j+uGZDChgeTWt585ciRBNhBqfn0FQQ==","signatures":[{"sig":"MEQCIAE1ieNdYcsNn2H957XDF7k241gOXB9kXUBLBbVOFEu3AiBA7YTaSVu62Rruab94hNPZX7xxGuEbJvEdRCHPjaWPxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79558},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a1800d3fec07b356fb1ceb990af54c3c1402f4af","scripts":{"lint":"eslint --ignore-path .eslintignore --ext .js,.ts .","test":"jest -w 1","build":"tsc -p tsconfig.dist.json","format":"bash -c 'prettier \"**/*.{ts,tsx,js,jsx,json,yml,yaml}\" --ignore-path <(cat .gitignore .prettierignore) --write'","release":"npm run build && semantic-release"},"_npmUser":{"name":"marcusyami","email":"marcus.yavorskyy@gmail.com"},"_npmVersion":"9.8.1","description":"functions to interact with the standard salesforce api","directories":{},"_nodeVersion":"18.17.0","dependencies":{"got":"^11.8.6","tslib":"^2.5.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","nock":"^13.2.9","eslint":"^8.41.0","ts-jest":"^29.1.0","prettier":"^2.8.8","typescript":"^5.0.4","@types/jest":"^29.5.2","semantic-release":"^21.0.2","eslint-plugin-import":"^2.27.5","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^10.0.4","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@semantic-release/github":"^8.1.0","@typescript-eslint/parser":"^5.59.8","@semantic-release/changelog":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.59.8","eslint-import-resolver-typescript":"^3.5.5"},"_npmOperationalInternal":{"tmp":"tmp/salesforce-connector_1.1.1_1692283831842_0.1762463121879343","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@bolomio/salesforce-connector","version":"1.1.2","keywords":[],"author":{"name":"bolomio"},"license":"ISC","_id":"@bolomio/salesforce-connector@1.1.2","maintainers":[{"name":"romulogmp","email":"romulogmp@gmail.com"},{"name":"marcusyami","email":"marcus.yavorskyy@gmail.com"}],"dist":{"shasum":"c13e785f977295a63af3a057690236e4491dcb2d","tarball":"https://registry.npmjs.org/@bolomio/salesforce-connector/-/salesforce-connector-1.1.2.tgz","fileCount":66,"integrity":"sha512-IRgTpV0uNkLccSk9xSKtjGUF9MEe074R3baJ1uJ0b6TfFiRQCoOqLGbM/70kZUaAM/dZ/SHn45EhD3LKw0+XQw==","signatures":[{"sig":"MEUCIHdbCXbTBqFuHxPMqP51YCa1p04sJ/tY3z4CA+plkq4CAiEAkJ/8PYv+/U8fJn8bvOFanpa37udgzH+JXVO7fftOPcQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112137},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"bd8fbebc10c3450160ac64b57136772378b7a69c","scripts":{"lint":"eslint --ignore-path .eslintignore --ext .js,.ts .","test":"jest -w 1","build":"tsc -p tsconfig.dist.json","format":"bash -c 'prettier \"**/*.{ts,tsx,js,jsx,json,yml,yaml}\" --ignore-path <(cat .gitignore .prettierignore) --write'","release":"npm run build && semantic-release"},"_npmUser":{"name":"marcusyami","email":"marcus.yavorskyy@gmail.com"},"_npmVersion":"9.8.1","description":"functions to interact with the standard salesforce api","directories":{},"_nodeVersion":"18.17.1","dependencies":{"got":"^11.8.6","tslib":"^2.5.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","nock":"^13.2.9","eslint":"^8.41.0","ts-jest":"^29.1.0","prettier":"^2.8.8","typescript":"^5.0.4","@types/jest":"^29.5.2","semantic-release":"^21.0.2","eslint-plugin-import":"^2.27.5","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^10.0.4","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@semantic-release/github":"^8.1.0","@typescript-eslint/parser":"^5.59.8","@semantic-release/changelog":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.59.8","eslint-import-resolver-typescript":"^3.5.5"},"_npmOperationalInternal":{"tmp":"tmp/salesforce-connector_1.1.2_1692366873878_0.849512927814581","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@bolomio/salesforce-connector","version":"1.1.3","keywords":[],"author":{"name":"bolomio"},"license":"ISC","_id":"@bolomio/salesforce-connector@1.1.3","maintainers":[{"name":"romulogmp","email":"romulogmp@gmail.com"},{"name":"marcusyami","email":"marcus.yavorskyy@gmail.com"}],"dist":{"shasum":"1fb3fc3d16398cb384c44fd19a52a1278110fc22","tarball":"https://registry.npmjs.org/@bolomio/salesforce-connector/-/salesforce-connector-1.1.3.tgz","fileCount":72,"integrity":"sha512-ZTd6htckd81VVLfow81YxHG6Yf6VKRBU5vQayzUqxQ81D2BY0pgusdUszTnbHB9N4Pqf+rSk3n2R0lCTxLv2yA==","signatures":[{"sig":"MEUCIFBCCFAfja1J86K6qj0XwJpXkEEwYbzh2I7wBlNsxhy5AiEAlTYOGmy+HyQjS1zJCc0IS8A3gRGMIVLvkBvShhv9Ha8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":119772},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"96197f32341a4459f015e30c7c19b3d03116a4ba","scripts":{"lint":"eslint --ignore-path .eslintignore --ext .js,.ts .","test":"jest -w 1","build":"tsc -p tsconfig.dist.json","format":"bash -c 'prettier \"**/*.{ts,tsx,js,jsx,json,yml,yaml}\" --ignore-path <(cat .gitignore .prettierignore) --write'","release":"npm run build && semantic-release"},"_npmUser":{"name":"marcusyami","email":"marcus.yavorskyy@gmail.com"},"_npmVersion":"9.8.1","description":"functions to interact with the standard salesforce api","directories":{},"_nodeVersion":"18.19.0","dependencies":{"got":"^11.8.6","tslib":"^2.5.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","nock":"^13.2.9","eslint":"^8.41.0","ts-jest":"^29.1.0","prettier":"^2.8.8","typescript":"^5.0.4","@types/jest":"^29.5.2","semantic-release":"^21.0.2","eslint-plugin-import":"^2.27.5","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^10.0.4","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@semantic-release/github":"^8.1.0","@typescript-eslint/parser":"^5.59.8","@semantic-release/changelog":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.59.8","eslint-import-resolver-typescript":"^3.5.5"},"_npmOperationalInternal":{"tmp":"tmp/salesforce-connector_1.1.3_1702456616039_0.9464446934551316","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"@bolomio/salesforce-connector","version":"1.1.4","keywords":[],"author":{"name":"bolomio"},"license":"ISC","_id":"@bolomio/salesforce-connector@1.1.4","maintainers":[{"name":"romulogmp","email":"romulogmp@gmail.com"},{"name":"marcusyami","email":"marcus.yavorskyy@gmail.com"}],"homepage":"https://github.com/bolomio/salesforce-connector#readme","dist":{"shasum":"9b6c1aa2e271d35e71aba3f2b539883c076eb925","tarball":"https://registry.npmjs.org/@bolomio/salesforce-connector/-/salesforce-connector-1.1.4.tgz","fileCount":72,"integrity":"sha512-ZwtMThp+TnDwkpgrgnDTx3Y9KWNJk6vUrePy0cFFFfvAdc7Sp4uIpoSbvfeouJJ6Ghl+YspKgZD0Ah0L4ymE+g==","signatures":[{"sig":"MEYCIQCAJqPhEXRmdljzbHZlZgUs8Hs5FGK7027K2fXNjcigwQIhAL0UBVHhjlpG76AB7/p0iodFnRoDTvxHuiNyhxYseMcz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":119844},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d2787e9d01297d07007fb7ebdb2a348bd638349c","scripts":{"lint":"eslint --ignore-path .eslintignore --ext .js,.ts .","test":"jest -w 1","build":"tsc -p tsconfig.dist.json","format":"bash -c 'prettier \"**/*.{ts,tsx,js,jsx,json,yml,yaml}\" --ignore-path <(cat .gitignore .prettierignore) --write'","release":"npm run build && semantic-release"},"_npmUser":{"name":"marcusyami","email":"marcus.yavorskyy@gmail.com"},"_npmVersion":"9.8.1","description":"functions to interact with the standard salesforce api","directories":{},"_nodeVersion":"18.19.0","dependencies":{"got":"^11.8.6","tslib":"^2.5.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","nock":"^13.2.9","eslint":"^8.41.0","ts-jest":"^29.1.0","prettier":"^2.8.8","typescript":"^5.0.4","@types/jest":"^29.5.2","semantic-release":"^21.0.2","eslint-plugin-import":"^2.27.5","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^10.0.4","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@semantic-release/github":"^8.1.0","@typescript-eslint/parser":"^5.59.8","@semantic-release/changelog":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.59.8","eslint-import-resolver-typescript":"^3.5.5"},"_npmOperationalInternal":{"tmp":"tmp/salesforce-connector_1.1.4_1702457092696_0.45616898068700795","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@bolomio/salesforce-connector","version":"1.2.1","keywords":[],"author":{"name":"bolomio"},"license":"ISC","_id":"@bolomio/salesforce-connector@1.2.1","homepage":"https://github.com/bolomio/salesforce-connector#readme","dist":{"shasum":"9b82ffbee112135399345a911c749cb887a303fb","tarball":"https://registry.npmjs.org/@bolomio/salesforce-connector/-/salesforce-connector-1.2.1.tgz","fileCount":78,"integrity":"sha512-sawq1sbfyjv5d7+MS7v7Cl+TPorE3iL60X59dOL9AWXRQb6ETwSYyZ0wbRNxvylcmE3JckhDBSbqjE2BhgLxXA==","signatures":[{"sig":"MEQCIDFaxu/WqcHb8xb/eEhbW8mnXA/GSbbt1q91v/PsdQljAiAeAly5qaKe0Js1AO2X5hNVNwx/1CFAuio3xXo1DEiJhQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":126230},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"49a161bdee2d10eb5d6aa448c31994ca0147d37e","scripts":{"lint":"eslint --ignore-path .eslintignore --ext .js,.ts .","test":"jest -w 1","build":"tsc -p tsconfig.dist.json","format":"bash -c 'prettier \"**/*.{ts,tsx,js,jsx,json,yml,yaml}\" --ignore-path <(cat .gitignore .prettierignore) --write'","release":"npm run build && semantic-release"},"_npmUser":{"name":"romulogmp","email":"romulogmp@gmail.com"},"_npmVersion":"9.8.1","description":"functions to interact with the standard salesforce api","directories":{},"_nodeVersion":"18.20.3","dependencies":{"got":"^11.8.6","tslib":"^2.5.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","nock":"^13.2.9","eslint":"^8.41.0","ts-jest":"^29.1.0","prettier":"^2.8.8","typescript":"^5.0.4","@types/jest":"^29.5.2","semantic-release":"^21.0.2","eslint-plugin-import":"^2.27.5","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^10.0.4","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@semantic-release/github":"^8.1.0","@typescript-eslint/parser":"^5.59.8","@semantic-release/changelog":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.59.8","eslint-import-resolver-typescript":"^3.5.5"},"_npmOperationalInternal":{"tmp":"tmp/salesforce-connector_1.2.1_1718895457413_0.6089041508264812","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@bolomio/salesforce-connector","version":"1.2.2","keywords":[],"author":{"name":"bolomio"},"license":"ISC","_id":"@bolomio/salesforce-connector@1.2.2","homepage":"https://github.com/bolomio/salesforce-connector#readme","dist":{"shasum":"073c6ce4dd52f1b8e68d73ea22a2369a71c0af8d","tarball":"https://registry.npmjs.org/@bolomio/salesforce-connector/-/salesforce-connector-1.2.2.tgz","fileCount":78,"integrity":"sha512-IFcdgRnoGsimQK5BDQ6dQvsN/KwhQqEFWoFXD0jkso1oH2JBbEaGR3a50PLPLcbI42SubkZmlB4NgWBcR2zuew==","signatures":[{"sig":"MEUCIDes+GOFTkYuX2qv4MT77cHHBYF+6+G6Yxgix53HIR+jAiEAl9asYMmR8JWsMYj9UN+hSD1bHsXo2JdZy93U2soKssI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":126286},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"4fb031cb89228a83f825a25633716436c3179673","scripts":{"lint":"eslint --ignore-path .eslintignore --ext .js,.ts .","test":"jest -w 1","build":"tsc -p tsconfig.dist.json","format":"bash -c 'prettier \"**/*.{ts,tsx,js,jsx,json,yml,yaml}\" --ignore-path <(cat .gitignore .prettierignore) --write'","release":"npm run build && semantic-release"},"_npmUser":{"name":"romulogmp","email":"romulogmp@gmail.com"},"_npmVersion":"9.8.1","description":"functions to interact with the standard salesforce api","directories":{},"_nodeVersion":"18.20.3","dependencies":{"got":"^11.8.6","tslib":"^2.5.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","nock":"^13.2.9","eslint":"^8.41.0","ts-jest":"^29.1.0","prettier":"^2.8.8","typescript":"^5.0.4","@types/jest":"^29.5.2","semantic-release":"^21.0.2","eslint-plugin-import":"^2.27.5","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^10.0.4","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@semantic-release/github":"^8.1.0","@typescript-eslint/parser":"^5.59.8","@semantic-release/changelog":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.59.8","eslint-import-resolver-typescript":"^3.5.5"},"_npmOperationalInternal":{"tmp":"tmp/salesforce-connector_1.2.2_1718896328439_0.08163445016794091","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@bolomio/salesforce-connector","version":"1.3.0","keywords":[],"author":{"name":"bolomio"},"license":"ISC","_id":"@bolomio/salesforce-connector@1.3.0","maintainers":[{"name":"romulogmp","email":"romulogmp@gmail.com"},{"name":"marcusyami","email":"marcus.yavorskyy@gmail.com"}],"homepage":"https://github.com/bolomio/salesforce-connector#readme","dist":{"shasum":"1423aed092f41ebb6a9847c81d48a5c279351712","tarball":"https://registry.npmjs.org/@bolomio/salesforce-connector/-/salesforce-connector-1.3.0.tgz","fileCount":81,"integrity":"sha512-t7NNPyuUyBILK043y9qJ2wQCfXJNHsXkEDByKdl6QIr3jrnqofSqfL9tIRxW8ZDhXzT7qMUeHo1298L2HuONQQ==","signatures":[{"sig":"MEQCIQDXfEGBxFkDT5ny1fUqMTp5L+yXABOWGWcUSeXjGEfxMwIfGdyhPxfXwn7wM/YLFQxFIKW1hYSEaLCpEFOFm8q7TQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":130598},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"aaef44b028dce82cdefb640fae82eb86606565c2","scripts":{"lint":"eslint --ignore-path .eslintignore --ext .js,.ts .","test":"jest -w 1","build":"tsc -p tsconfig.dist.json","format":"bash -c 'prettier \"**/*.{ts,tsx,js,jsx,json,yml,yaml}\" --ignore-path <(cat .gitignore .prettierignore) --write'","release":"npm run build && semantic-release"},"_npmUser":{"name":"romulogmp","email":"romulogmp@gmail.com"},"_npmVersion":"9.8.1","description":"functions to interact with the standard salesforce api","directories":{},"_nodeVersion":"18.20.7","dependencies":{"got":"^11.8.6","tslib":"^2.5.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","nock":"^13.2.9","eslint":"^8.41.0","ts-jest":"^29.1.0","prettier":"^2.8.8","typescript":"^5.0.4","@types/jest":"^29.5.2","semantic-release":"^21.0.2","eslint-plugin-import":"^2.27.5","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^10.0.4","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@semantic-release/github":"^8.1.0","@typescript-eslint/parser":"^5.59.8","@semantic-release/changelog":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.59.8","eslint-import-resolver-typescript":"^3.5.5"},"_npmOperationalInternal":{"tmp":"tmp/salesforce-connector_1.3.0_1743759258986_0.20827829673663834","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@bolomio/salesforce-connector","homepage":"https://github.com/bolomio/salesforce-connector#readme","version":"1.4.0","description":"functions to interact with the standard salesforce api","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest -w 1","build":"tsc -p tsconfig.dist.json","release":"npm run build && semantic-release","format":"bash -c 'prettier \"**/*.{ts,tsx,js,jsx,json,yml,yaml}\" --ignore-path <(cat .gitignore .prettierignore) --write'","lint":"eslint --ignore-path .eslintignore --ext .js,.ts ."},"keywords":[],"author":{"name":"bolomio"},"license":"ISC","publishConfig":{"access":"public"},"devDependencies":{"@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","@semantic-release/github":"^8.1.0","@semantic-release/npm":"^10.0.4","@types/jest":"^29.5.2","@typescript-eslint/eslint-plugin":"^5.59.8","@typescript-eslint/parser":"^5.59.8","eslint":"^8.41.0","eslint-config-prettier":"^8.8.0","eslint-import-resolver-typescript":"^3.5.5","eslint-plugin-import":"^2.27.5","eslint-plugin-prettier":"^4.2.1","jest":"^29.5.0","nock":"^13.2.9","prettier":"^2.8.8","semantic-release":"^21.0.2","ts-jest":"^29.1.0","typescript":"^5.0.4"},"dependencies":{"got":"^11.8.6","tslib":"^2.5.2"},"_id":"@bolomio/salesforce-connector@1.4.0","gitHead":"cc0600711f1c2cb36dace3658fd06f8f042fbd2e","_nodeVersion":"18.20.7","_npmVersion":"9.8.1","dist":{"integrity":"sha512-3WekQ4d5mmJAClzJCTaqO8vjyptkwFH/K8GG/olFOooicgkr8IcOmWynx3P5njcNjE3w0yIlRELjhwSlD+pFdA==","shasum":"b9e96df673975b04940281cd2766955051ffdb67","tarball":"https://registry.npmjs.org/@bolomio/salesforce-connector/-/salesforce-connector-1.4.0.tgz","fileCount":84,"unpackedSize":135821,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHFfwELULk3DyDWNHzhr8CoO2JnJR74MSinbzhXNtGgRAiAP0LoChA7ytv3S16YiVsZKE8p2VaUP2uSUPEJyZsYF4Q=="}]},"_npmUser":{"name":"romulogmp","email":"romulogmp@gmail.com"},"directories":{},"maintainers":[{"name":"romulogmp","email":"romulogmp@gmail.com"},{"name":"marcusyami","email":"marcus.yavorskyy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/salesforce-connector_1.4.0_1744120803462_0.9403881552819666"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-06T09:33:26.046Z","modified":"2025-04-08T14:00:03.848Z","1.0.0":"2023-06-05T12:08:56.910Z","1.0.1":"2023-06-06T09:33:26.345Z","1.1.0":"2023-08-17T14:30:35.187Z","1.1.1":"2023-08-17T14:50:32.047Z","1.1.2":"2023-08-18T13:54:34.088Z","1.1.3":"2023-12-13T08:36:56.233Z","1.1.4":"2023-12-13T08:44:52.898Z","1.2.1":"2024-06-20T14:57:37.579Z","1.2.2":"2024-06-20T15:12:08.589Z","1.3.0":"2025-04-04T09:34:19.176Z","1.4.0":"2025-04-08T14:00:03.640Z"},"author":{"name":"bolomio"},"license":"ISC","homepage":"https://github.com/bolomio/salesforce-connector#readme","keywords":[],"description":"functions to interact with the standard salesforce api","maintainers":[{"name":"romulogmp","email":"romulogmp@gmail.com"},{"name":"marcusyami","email":"marcus.yavorskyy@gmail.com"}],"readme":"# @bolomio/salesforce-connector\n\n[![GitHub Repo](https://img.shields.io/badge/GitHub-Repository-blue?logo=github)](https://github.com/bolomio/salesforce-connector)\n[![npm version](https://badge.fury.io/js/%40bolomio%2Fsalesforce-connector.svg)](https://www.npmjs.com/package/@bolomio/salesforce-connector)\n\nThe `@bolomio/salesforce-connector` package provides a connector that allows you to interact with the standard Salesforce API. It offers functions for creating records, executing SOQL and SOSL queries, and more.\n\n## Features\n\n- Interact with standard salesforce api\n- Create SObject Record\n- Update SObject Record\n- Upsert SObject Record by External ID\n- Delete SObject Record\n- Execute Composite Request\n- Execute SOQL query\n- Execute SOSL query\n- Interact with custom apex rest api.\n- Get Knowledge Articles List using Knowledge Article API\n\n## Installation\n\nYou can install the package using npm:\n\n```bash\nnpm install @bolomio/salesforce-connector\n```\n\n## Usage\n\nTo use the Salesforce Connector, you need to create an instance of it by calling the `makeSalesforceConnector` function with the required configurations.\n\n```javascript\nconst { makeSalesforceConnector } = require('@bolomio/salesforce-connector')\n\n// Create the Salesforce Connector instance\nconst connector = makeSalesforceConnector({\n  baseUrl: 'https://your-salesforce-instance.com/',\n  accessToken: 'your_access_token',\n})\n```\n\n### Authorization\n\nTo authorize your requests, you have multiple options:\n\n1. Pass the access token directly in the options when creating the connector instance. _NB: if the access token is passed - a before request hook will be created to set the token in the authentication header._\n\n```javascript\nconst { makeSalesforceConnector } = require('@bolomio/salesforce-connector')\n\n// Create the Salesforce Connector instance\nconst connector = makeSalesforceConnector({\n  baseUrl: 'https://your-salesforce-instance.com/',\n  accessToken: 'your_access_token',\n})\n```\n\n2. Set the authorization header yourself in the `beforeRequest` hook.\n\n```javascript\nconst { makeSalesforceConnector } = require('@bolomio/salesforce-connector')\n\n// Create the Salesforce Connector instance\nconst connector = makeSalesforceConnector({\n  baseUrl: 'https://your-salesforce-instance.com/',\n  hooks: {\n    beforeRequest: [\n      (options) => {\n        console.log('Setting token')\n        options.headers['Authorization'] = 'Bearer {your_access_token}'\n      },\n    ],\n  },\n})\n```\n\nMake sure to replace `'https://your-salesforce-instance.com/'` with the actual Salesforce instance URL and `'your_access_token'` with the valid access token obtained through a secure authentication process.\n\n**Note: to receive an access token you can use the [@bolomio/salesforce-authorizer](https://www.npmjs.com/package/@bolomio/salesforce-authorizer)**\n### Functions\n\n#### composite\nExecutes a collection of standard api requests\n```javascript\nasync function compositeExample() {\n  try {\n    const result = await connector.composite({\n      allOrNone: true,\n      compositeRequest: [\n        connector.compositeRequests.soqlQuery({\n          referenceId: 'reference_id_account_1',\n          queryStatement: 'SELECT Id FROM Account LIMIT 1',\n        }),\n        connector.compositeRequests.createSObject({\n          record: {\n            LastName: 'Koko',\n            AccountId: '@{reference_id_account_1.records[0].Id}',\n          },\n          sObjectName: 'Contact',\n          referenceId: 'reference_id_contact_1',\n        }),\n      ],\n    })\n    console.log('1 composite executed successfully:', result.compositeResponse[0])\n    console.log('2 composite executed successfully:', result.compositeResponse[1])\n  } catch (error) {\n    console.error('Error executing composite:', error)\n  }\n}\n\ncompositeExample()\n```\n\n\n#### createSObject\nCreate a new record of a specific Salesforce object using the provided data.\n```javascript\nasync function createSObjectExample() {\n  const sObjectName = 'Account'\n  const record = {\n    Name: 'Acme Corporation',\n    Industry: 'Technology',\n  }\n\n  try {\n    const result = await connector.createSObject({ sObjectName, record })\n    console.log('Record created successfully:', result)\n  } catch (error) {\n    console.error('Error creating record:', error)\n  }\n}\n\ncreateSObjectExample()\n```\n\n#### updateSObject\nUpdate a record of a specific Salesforce object using the provided data.\n```javascript\nasync function updateSObjectExample() {\n  const sObjectName = 'Account'\n  const recordId = '0011t00000B0lOMAAZ'\n  const record = {\n    Name: 'Acme Corporation',\n    Industry: 'Technology',\n  }\n\n  try {\n    await connector.updateSObject({ sObjectName, recordId, record })\n    console.log('Record updated successfully')\n  } catch (error) {\n    console.error('Error updating record:', error)\n  }\n}\n\nupdateSObjectExample()\n```\n\n#### upsertSObjectByExternalId\nInsert or Update (Upsert) a Record Using an External ID.\n```javascript\nasync function upsertSObjectByExternalIdExample() {\n  const sObjectName = 'Account'\n  const sObjectFieldName = 'AccountExternalId__c'\n  const externalId = 'Account-123'\n  const record = {\n    Name: 'Acme Corporation',\n    Industry: 'Technology',\n  }\n\n  try {\n    const result = await connector.upsertSObjectByExternalId({ sObjectName, sObjectFieldName, externalId, record })\n    console.log('Record upserted successfully:', result)\n  } catch (error) {\n    console.error('Error upserting record:', error)\n  }\n}\n\nupsertSObjectByExternalIdExample()\n```\n\n#### deleteSObject\nDelete a record of a specific Salesforce object using the provided data.\n```javascript\nasync function deleteSObjectExample() {\n  const sObjectName = 'Account'\n  const recordId = '0011t00000B0lOMAAZ'\n\n  try {\n    await connector.deleteSObject({ sObjectName, recordId })\n    console.log('Record deleted successfully')\n  } catch (error) {\n    console.error('Error deleting record:', error)\n  }\n}\n\ndeleteSObjectExample()\n```\n\n\n#### soqlQuery\nExecute a SOQL (Salesforce Object Query Language) query and retrieve the results.\n\n```javascript\nasync function soqlQueryExample() {\n  const queryStatement = 'SELECT Id, Name, Industry FROM Account WHERE Industry = \\'Technology\\''\n\n  try {\n    const result = await connector.soqlQuery({ queryStatement })\n    console.log('Query results:', result)\n  } catch (error) {\n    console.error('Error executing SOQL query:', error)\n  }\n}\n\nsoqlQueryExample()\n```\n\n\n#### soslQuery\nExecute a SOSL (Salesforce Object Search Language) query and retrieve the results.\n\n```javascript\nasync function soslQueryExample() {\n  const queryConfiguration: {\n      q: '00001',\n      in: 'PHONE',\n      fields: ['Name'],\n      sobjects: [{ name: 'Contact' }],\n    }\n\n  try {\n    const result = await connector.soslQuery({ queryConfiguration })\n    console.log('Query results:', result)\n  } catch (error) {\n    console.error('Error executing SOSL query:', error)\n  }\n}\n\nsoslQueryExample()\n\n```\n\n#### apexRest\nExecute a http request against a custom apex rest endpoint.\n[Salesforce Documentation](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_rest.htm)\n\n**Get Example**\n```javascript\nasync function apexRestGetExample() {\n  const companyId = 'bolo-id'\n\n  try {\n    const result = await connector.apexRest({\n      method: 'GET',\n      requestURI: `/bolo-companies/${companyId}`,\n    })\n    console.log('Get result:', result)\n  } catch (error) {\n    console.error('Error executing get request: ', error)\n  }\n}\n\napexRestGetExample()\n```\n\n**Put Example**\n```javascript\nasync function apexRestPutExample() {\n  const companyId = 'bolo-id'\n  \n  // the json body to be used in the request\n  const json = {\n    name: 'bolo'\n  }\n\n  try {\n    const result = await connector.apexRest({\n      method: 'PUT',\n      requestURI: `/bolo-companies/${companyId}`,\n      json\n    })\n    console.log('Put result:', result)\n  } catch (error) {\n    console.error('Error executing put request: ', error)\n  }\n}\n\napexRestPutExample()\n```\n\n**Post Example with no content response**\n```javascript\nasync function apexRestPostWithNoContentResponseExample() {\n  // the json body to be used in the request\n  const json = {\n    name: 'bolo'\n  }\n\n  try {\n    await connector.apexRest({\n      method: 'POST',\n      requestURI: `/bolo-companies/`,\n      json\n    })\n  } catch (error) {\n    console.error('Error executing post request: ', error)\n  }\n}\n\napexRestPostWithNoContentResponseExample()\n```\n\n#### getKnowledgeArticlesList\nExecute an http request against the Knowledge Article API to list articles.\n[Salesforce Documentation](https://developer.salesforce.com/docs/atlas.en-us.knowledge_dev.meta/knowledge_dev/resources_knowledge_support_artlist.htm)\n\n**Get Knowledge Articles List Example**\n```javascript\nasync function getKnowledgeArticlesListExample() {\n  const language = 'en-US'\n\n  try {\n    const result = await connector.getKnowledgeArticlesList({ \n      language,\n      queryParams: {\n        sort: 'ViewScore',\n        channel: 'Pkb',\n        pageSize: 10,\n      }\n    })\n    console.log('Knowledge result:', result)\n  } catch (error) {\n    console.error('Error executing get request: ', error)\n  }\n}\n```\n## Upcoming\n\nOther features will be added that use the standard salesforce api:\n- [composite graph support](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_graph.htm)\n- [composite tree support](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm)\n- [composite sobject support](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobjects_collections.htm)\n- [composite batch support](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_batch.htm)\n\n## Contributing\n\nContributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request. Make sure to follow the [contribution guidelines](./CONTRIBUTING.md).\n\n## License\n\nThis project is licensed under the [GNU General Public License](LICENSE).\n","readmeFilename":"README.md"}