{"_id":"@dicdikshaorg/client-services","_rev":"15-b91179a31221190ef8247ffd8c255921","name":"@dicdikshaorg/client-services","dist-tags":{"latest":"4.8.17"},"versions":{"2.10.0":{"name":"@dicdikshaorg/client-services","version":"2.10.0","author":"","license":"MIT","_id":"@dicdikshaorg/client-services@2.10.0","maintainers":[{"name":"tejaswini19","email":"tejaswini.giram@trigyn.com"},{"name":"gopesh-trigyn","email":"gopesh.sharma@trigyn.com"},{"name":"yashveer","email":"yashveer.negi@trigyn.com"},{"name":"dictrigyngroup","email":"Diksha.Leads@trigyn.com"}],"homepage":"https://github.com/Sunbird-Ed/sunbird-client-services#readme","bugs":{"url":"https://github.com/Sunbird-Ed/sunbird-client-services/issues"},"dist":{"shasum":"68ca83909e31f5afd0f9a7c1dcd0cd14f668018a","tarball":"https://registry.npmjs.org/@dicdikshaorg/client-services/-/client-services-2.10.0.tgz","fileCount":218,"integrity":"sha512-StGR5FP8KudGiI4V5Bd6baNXzH/WgkZ907MN4jJjPufZONzrojuoyYiIjihnLocGQ3Y97TWJgh2nceP6fs6YQQ==","signatures":[{"sig":"MEUCIQDNe9k0GdiOG80A2wzanQtoojrSPavLkKUOf3rjMiW5dAIgVgo7SuzNHatD+EfYvEey0S1WA0JiVMa5uLXZl208Thg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6500054},"main":"dist/index.js","gitHead":"b1ea3a72906685baafe9e5cab42478a059a2b8d9","private":false,"scripts":{"build":"rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false","version":"npm run build && git add -A dist && git commit -m \"RELEASE\"","build:prod":"rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false && cp ./package.json ./LICENSE ./README.md ./dist","preversion":"rm -rf dist","postversion":"git push && git push --tags"},"_npmUser":{"name":"yashveer","email":"yashveer.negi@trigyn.com"},"_npmVersion":"8.5.0","description":"Type definitions and models for Sunbird platform clients","directories":{},"_nodeVersion":"16.14.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tslint":"^5.12.0","webpack":"^4.28.3","ts-loader":"^5.3.2","typescript":"2.9.1","webpack-cli":"^3.3.10","uglifyjs-webpack-plugin":"^2.1.1"},"_npmOperationalInternal":{"tmp":"tmp/client-services_2.10.0_1718273264661_0.20779418123955207","host":"s3://npm-registry-packages"}},"4.8.13":{"name":"@dicdikshaorg/client-services","version":"4.8.13","author":"","license":"MIT","_id":"@dicdikshaorg/client-services@4.8.13","maintainers":[{"name":"akash.trigyn","email":"akash.jaiswal@trigyn.com"},{"name":"sayalimore1610","email":"sayali.more@trigyn.com"},{"name":"shailendra123","email":"Shailendra.Pratap@trigyn.com"},{"name":"tejaswini19","email":"tejaswini.giram@trigyn.com"},{"name":"yashveer","email":"yashveer.negi@trigyn.com"},{"name":"dictrigyngroup","email":"Diksha.Leads@trigyn.com"}],"homepage":"https://github.com/Sunbird-Ed/sunbird-client-services#readme","bugs":{"url":"https://github.com/Sunbird-Ed/sunbird-client-services/issues"},"dist":{"shasum":"1b5092e2bd5a1dc811173e2cad9eeff4e128158b","tarball":"https://registry.npmjs.org/@dicdikshaorg/client-services/-/client-services-4.8.13.tgz","fileCount":160,"integrity":"sha512-BD+4s+aUEHMKT0WKd/kgJer6+phs/rryEXnOHCpz1aVfO5V1wc7dG7tuUf/+bTl0v6AE9jSDe2CMhXt3GmctCA==","signatures":[{"sig":"MEQCIHOf7DQ7r5s9dZqL+dmRxJbeQC/uNp1A+V+6isD9vnz/AiAfMvDs+QaIBUT1EvBxncvi5wbI9UV8nOOvlFEEKkevsQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1052650},"jest":{"roots":["<rootDir>/src/"],"browser":false,"globals":{"ts-jest":{"tsConfig":"tsconfig.spec.json"}},"rootDir":"./","testMatch":["**/?(*.)(spec).ts"],"transform":{"^.+\\.(ts)$":"ts-jest"},"setupFiles":["./src/__test__/setup.ts"],"restoreMocks":true,"coverageReporters":["text","json"],"moduleDirectories":["node_modules"],"moduleFileExtensions":["js","jsx","json","ts","tsx"],"testPathIgnorePatterns":["/node_modules/"],"transformIgnorePatterns":[],"coveragePathIgnorePatterns":[]},"main":"dist/index.js","module":"src/index.ts","private":false,"scripts":{"test":"jest","build":"rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false","test:ci":"jest --silent --ci --w 2 --collectCoverage=true --collectCoverageFrom=src/**/*.{ts,tsx} --coverageReporters=lcov","build:dev":"rm -rf tmp && mkdir tmp && cp ./package-dev.json ./tmp/package.json && tsc -w --outDir ./tmp","build:prod":"rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false && cp ./package.json ./LICENSE ./README.md ./dist","test:ci-json":"jest --ci --w 2 --collectCoverage=true --coverageReporters=json","build:analyze":"webpack --verbose true --progress true --cache false --profile --json > stats.json && npx webpack-bundle-analyzer ./stats.json","sonar-scanner":"sonar-scanner","test:coverage":"jest --coverage --collectCoverageFrom=src/**/*.{ts,tsx} --coverageReporters=lcov"},"_npmUser":{"name":"sayalimore1610","email":"sayali.more@trigyn.com"},"_npmVersion":"6.14.18","description":"Type definitions and models for Sunbird platform clients","directories":{},"_nodeVersion":"14.21.3","dependencies":{"qs":"^6.9.4","jszip":"^3.7.1","jsonld":"^5.2.0","inversify":"^5.0.1","node-fetch":"2.6.5","whatwg-fetch":"^3.1.0","reflect-metadata":"^0.1.13","jsonld-signatures":"^6.0.0","@project-sunbird/telemetry-sdk":"0.0.26"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.1.0","rxjs":"^6.5.3","tslint":"^5.12.0","ts-jest":"^25.2.0","webpack":"^4.41.5","ts-loader":"^5.4.5","typescript":"2.9.1","@types/jest":"^25.1.1","webpack-cli":"^3.3.10","@types/node-fetch":"2.5.12","terser-webpack-plugin":"^4.1.0"},"peerDependencies":{"rxjs":"6.x.x"},"_npmOperationalInternal":{"tmp":"tmp/client-services_4.8.13_1721833524862_0.8988515483002535","host":"s3://npm-registry-packages"}},"4.8.14":{"name":"@dicdikshaorg/client-services","version":"4.8.14","author":"","license":"MIT","_id":"@dicdikshaorg/client-services@4.8.14","maintainers":[{"name":"akash.trigyn","email":"akash.jaiswal@trigyn.com"},{"name":"sayalimore1610","email":"sayali.more@trigyn.com"},{"name":"shailendra123","email":"Shailendra.Pratap@trigyn.com"},{"name":"tejaswini19","email":"tejaswini.giram@trigyn.com"},{"name":"yashveer","email":"yashveer.negi@trigyn.com"},{"name":"dictrigyngroup","email":"Diksha.Leads@trigyn.com"}],"homepage":"https://github.com/Sunbird-Ed/sunbird-client-services#readme","bugs":{"url":"https://github.com/Sunbird-Ed/sunbird-client-services/issues"},"dist":{"shasum":"ac38a3fe5641289b302fb558ecfdfebf2882c90d","tarball":"https://registry.npmjs.org/@dicdikshaorg/client-services/-/client-services-4.8.14.tgz","fileCount":324,"integrity":"sha512-3AxBbFBfdzHnEF46Gri9xvNPGTBS581SyLDBabO1pWB4hvtXzLWTR3G0iiMxCc3EIlNAifPSWImGJf1Z9DNuFg==","signatures":[{"sig":"MEQCIAsVDl20Fhw2BmAPqX+hrk4ZBqjhvcqjEEAkQL6TflQyAiB2ZiBS1HsBxM/JJZZ3mzma0rT9eClXrYP9K8J2PJYs4w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1789343},"jest":{"roots":["<rootDir>/src/"],"browser":false,"globals":{"ts-jest":{"tsConfig":"tsconfig.spec.json"}},"rootDir":"./","testMatch":["**/?(*.)(spec).ts"],"transform":{"^.+\\.(ts)$":"ts-jest"},"setupFiles":["./src/__test__/setup.ts"],"restoreMocks":true,"coverageReporters":["text","json"],"moduleDirectories":["node_modules"],"moduleFileExtensions":["js","jsx","json","ts","tsx"],"testPathIgnorePatterns":["/node_modules/"],"transformIgnorePatterns":[],"coveragePathIgnorePatterns":[]},"main":"dist/index.js","module":"src/index.ts","gitHead":"c57d7549af69d1587bdb432370c82f708e1466d9","private":false,"scripts":{"test":"jest","build":"rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false","test:ci":"jest --silent --ci --w 2 --collectCoverage=true --collectCoverageFrom=src/**/*.{ts,tsx} --coverageReporters=lcov","build:dev":"rm -rf tmp && mkdir tmp && cp ./package-dev.json ./tmp/package.json && tsc -w --outDir ./tmp","build:prod":"rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false && cp ./package.json ./LICENSE ./README.md ./dist","test:ci-json":"jest --ci --w 2 --collectCoverage=true --coverageReporters=json","build:analyze":"webpack --verbose true --progress true --cache false --profile --json > stats.json && npx webpack-bundle-analyzer ./stats.json","sonar-scanner":"sonar-scanner","test:coverage":"jest --coverage --collectCoverageFrom=src/**/*.{ts,tsx} --coverageReporters=lcov"},"_npmUser":{"name":"sayalimore1610","email":"sayali.more@trigyn.com"},"_npmVersion":"6.14.18","description":"Type definitions and models for Sunbird platform clients","directories":{},"_nodeVersion":"14.21.3","dependencies":{"qs":"^6.9.4","jszip":"^3.7.1","jsonld":"^5.2.0","inversify":"^5.0.1","node-fetch":"2.6.5","whatwg-fetch":"^3.1.0","reflect-metadata":"^0.1.13","jsonld-signatures":"^6.0.0","@project-sunbird/telemetry-sdk":"0.0.26"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.1.0","rxjs":"^6.5.3","tslint":"^5.12.0","ts-jest":"^25.2.0","webpack":"^4.41.5","ts-loader":"^5.4.5","typescript":"2.9.1","@types/jest":"^25.1.1","webpack-cli":"^3.3.10","@types/node-fetch":"2.5.12","terser-webpack-plugin":"^4.1.0"},"peerDependencies":{"rxjs":"6.x.x"},"_npmOperationalInternal":{"tmp":"tmp/client-services_4.8.14_1721926746518_0.03443786581222619","host":"s3://npm-registry-packages"}},"4.8.15":{"name":"@dicdikshaorg/client-services","version":"4.8.15","author":"","license":"MIT","_id":"@dicdikshaorg/client-services@4.8.15","maintainers":[{"name":"akash.trigyn","email":"akash.jaiswal@trigyn.com"},{"name":"sayalimore1610","email":"sayali.more@trigyn.com"},{"name":"shailendra123","email":"Shailendra.Pratap@trigyn.com"},{"name":"tejaswini19","email":"tejaswini.giram@trigyn.com"},{"name":"yashveer","email":"yashveer.negi@trigyn.com"},{"name":"dictrigyngroup","email":"Diksha.Leads@trigyn.com"}],"homepage":"https://github.com/Sunbird-Ed/sunbird-client-services#readme","bugs":{"url":"https://github.com/Sunbird-Ed/sunbird-client-services/issues"},"dist":{"shasum":"18605d0f349489612c69c0c5976434bcfa58dcdb","tarball":"https://registry.npmjs.org/@dicdikshaorg/client-services/-/client-services-4.8.15.tgz","fileCount":160,"integrity":"sha512-FnubcVWQbgq6B93rUwgeZ1pmx7kYBkQOQVMrQNqDp5WL9oUg29l1YkupyWFDUsmK8Q4xEUAZU/yX6YEQsczcEw==","signatures":[{"sig":"MEYCIQDrd0x5y2fnZtCTvAwYEXNjaOuiXEpoKPh7emSr7c0P5gIhANFxegs/+aPe+EUTdwQLNaZsqwJQQkSZMsD2qt9XGPhI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1052650},"jest":{"roots":["<rootDir>/src/"],"browser":false,"globals":{"ts-jest":{"tsConfig":"tsconfig.spec.json"}},"rootDir":"./","testMatch":["**/?(*.)(spec).ts"],"transform":{"^.+\\.(ts)$":"ts-jest"},"setupFiles":["./src/__test__/setup.ts"],"restoreMocks":true,"coverageReporters":["text","json"],"moduleDirectories":["node_modules"],"moduleFileExtensions":["js","jsx","json","ts","tsx"],"testPathIgnorePatterns":["/node_modules/"],"transformIgnorePatterns":[],"coveragePathIgnorePatterns":[]},"main":"dist/index.js","module":"src/index.ts","private":false,"scripts":{"test":"jest","build":"rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false","test:ci":"jest --silent --ci --w 2 --collectCoverage=true --collectCoverageFrom=src/**/*.{ts,tsx} --coverageReporters=lcov","build:dev":"rm -rf tmp && mkdir tmp && cp ./package-dev.json ./tmp/package.json && tsc -w --outDir ./tmp","build:prod":"rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false && cp ./package.json ./LICENSE ./README.md ./dist","test:ci-json":"jest --ci --w 2 --collectCoverage=true --coverageReporters=json","build:analyze":"webpack --verbose true --progress true --cache false --profile --json > stats.json && npx webpack-bundle-analyzer ./stats.json","sonar-scanner":"sonar-scanner","test:coverage":"jest --coverage --collectCoverageFrom=src/**/*.{ts,tsx} --coverageReporters=lcov"},"_npmUser":{"name":"sayalimore1610","email":"sayali.more@trigyn.com"},"_npmVersion":"6.14.18","description":"Type definitions and models for Sunbird platform clients","directories":{},"_nodeVersion":"14.21.3","dependencies":{"qs":"^6.9.4","jszip":"^3.7.1","jsonld":"^5.2.0","inversify":"^5.0.1","node-fetch":"2.6.5","whatwg-fetch":"^3.1.0","reflect-metadata":"^0.1.13","jsonld-signatures":"^6.0.0","@project-sunbird/telemetry-sdk":"0.0.26"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.1.0","rxjs":"^6.5.3","tslint":"^5.12.0","ts-jest":"^25.2.0","webpack":"^4.41.5","ts-loader":"^5.4.5","typescript":"2.9.1","@types/jest":"^25.1.1","webpack-cli":"^3.3.10","@types/node-fetch":"2.5.12","terser-webpack-plugin":"^4.1.0"},"peerDependencies":{"rxjs":"6.x.x"},"_npmOperationalInternal":{"tmp":"tmp/client-services_4.8.15_1721966675774_0.6982568855163156","host":"s3://npm-registry-packages"}},"4.8.16":{"name":"@dicdikshaorg/client-services","version":"4.8.16","author":"","license":"MIT","_id":"@dicdikshaorg/client-services@4.8.16","maintainers":[{"name":"akash.trigyn","email":"akash.jaiswal@trigyn.com"},{"name":"sayalimore1610","email":"sayali.more@trigyn.com"},{"name":"shailendra123","email":"Shailendra.Pratap@trigyn.com"},{"name":"tejaswini19","email":"tejaswini.giram@trigyn.com"},{"name":"yashveer","email":"yashveer.negi@trigyn.com"},{"name":"dictrigyngroup","email":"Diksha.Leads@trigyn.com"}],"homepage":"https://github.com/Sunbird-Ed/sunbird-client-services#readme","bugs":{"url":"https://github.com/Sunbird-Ed/sunbird-client-services/issues"},"dist":{"shasum":"dd8b81c93c82b4a6c3ed374800bbb198c48b32c1","tarball":"https://registry.npmjs.org/@dicdikshaorg/client-services/-/client-services-4.8.16.tgz","fileCount":324,"integrity":"sha512-3uaYxtkGpRigMVOPLc61Kc9tKKucR90ZAIhx8ZOrYs7Q4DAjpaCfUeraCcA3RuqMWAFvbPKpbmnjBDDeAAKr9A==","signatures":[{"sig":"MEQCIHCHIdMSo1Qi5X/sNanta/wuEVS0dXlMAUsILnyKbrXAAiAQiLxqp9GTF3lfEqvlUfquxZcndF1Fadl7qeiqh2naZg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2090267},"jest":{"roots":["<rootDir>/src/"],"browser":false,"globals":{"ts-jest":{"tsConfig":"tsconfig.spec.json"}},"rootDir":"./","testMatch":["**/?(*.)(spec).ts"],"transform":{"^.+\\.(ts)$":"ts-jest"},"setupFiles":["./src/__test__/setup.ts"],"restoreMocks":true,"coverageReporters":["text","json"],"moduleDirectories":["node_modules"],"moduleFileExtensions":["js","jsx","json","ts","tsx"],"testPathIgnorePatterns":["/node_modules/"],"transformIgnorePatterns":[],"coveragePathIgnorePatterns":[]},"main":"dist/index.js","module":"src/index.ts","gitHead":"a065ae192e620732132f18912123a6a51476734c","scripts":{"test":"jest","build":"rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false","test:ci":"jest --silent --ci --w 2 --collectCoverage=true --collectCoverageFrom=src/**/*.{ts,tsx} --coverageReporters=lcov","build:dev":"rm -rf tmp && mkdir tmp && cp ./package-dev.json ./tmp/package.json && tsc -w --outDir ./tmp","build:prod":"rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false && cp ./package.json ./LICENSE ./README.md ./dist","test:ci-json":"jest --ci --w 2 --collectCoverage=true --coverageReporters=json","build:analyze":"webpack --verbose true --progress true --cache false --profile --json > stats.json && npx webpack-bundle-analyzer ./stats.json","sonar-scanner":"sonar-scanner","test:coverage":"jest --coverage --collectCoverageFrom=src/**/*.{ts,tsx} --coverageReporters=lcov"},"_npmUser":{"name":"sayalimore1610","email":"sayali.more@trigyn.com"},"_npmVersion":"6.14.18","description":"Type definitions and models for Sunbird platform clients","directories":{},"_nodeVersion":"14.21.3","dependencies":{"qs":"^6.9.4","jszip":"^3.7.1","jsonld":"^5.2.0","moment":"^2.29.4","inversify":"^5.0.1","node-fetch":"2.6.5","whatwg-fetch":"^3.1.0","reflect-metadata":"^0.1.13","jsonld-signatures":"^6.0.0","@project-sunbird/telemetry-sdk":"0.0.26"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.1.0","rxjs":"^6.5.3","tslint":"^5.12.0","ts-jest":"^25.2.0","webpack":"^4.41.5","ts-loader":"^5.4.5","typescript":"2.9.1","@types/jest":"^25.1.1","webpack-cli":"^3.3.10","@types/node-fetch":"2.5.12","terser-webpack-plugin":"^4.1.0"},"peerDependencies":{"rxjs":"6.x.x"},"_npmOperationalInternal":{"tmp":"tmp/client-services_4.8.16_1722849091745_0.3286669098377015","host":"s3://npm-registry-packages"}},"4.8.17":{"name":"@dicdikshaorg/client-services","version":"4.8.17","author":"","license":"MIT","_id":"@dicdikshaorg/client-services@4.8.17","maintainers":[{"name":"akash.trigyn","email":"akash.jaiswal@trigyn.com"},{"name":"sayalimore1610","email":"sayali.more@trigyn.com"},{"name":"shailendra123","email":"Shailendra.Pratap@trigyn.com"},{"name":"tejaswini19","email":"tejaswini.giram@trigyn.com"},{"name":"yashveer","email":"yashveer.negi@trigyn.com"},{"name":"dictrigyngroup","email":"Diksha.Leads@trigyn.com"}],"homepage":"https://github.com/Sunbird-Ed/sunbird-client-services#readme","bugs":{"url":"https://github.com/Sunbird-Ed/sunbird-client-services/issues"},"dist":{"shasum":"27b09223b2d6121890cd6c854c50a1d43370197c","tarball":"https://registry.npmjs.org/@dicdikshaorg/client-services/-/client-services-4.8.17.tgz","fileCount":160,"integrity":"sha512-V7HkOaFPHCBwgou9bWysKCqY02Ri3pOic0XBKA6dRxnrXQJ5Qnmm3NdUDWsMzbCTvPeQEv7+nmrCOKBsCSpnEw==","signatures":[{"sig":"MEQCIDeiLMhgfpopc2t5XnTfAuf0mCmYnn04kRQpVpridZttAiBOPMnWNcKSit7NKyW53aVEBeWmo25u/7Q0MU/Qgtxzjw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1354078},"jest":{"roots":["<rootDir>/src/"],"browser":false,"globals":{"ts-jest":{"tsConfig":"tsconfig.spec.json"}},"rootDir":"./","testMatch":["**/?(*.)(spec).ts"],"transform":{"^.+\\.(ts)$":"ts-jest"},"setupFiles":["./src/__test__/setup.ts"],"restoreMocks":true,"coverageReporters":["text","json"],"moduleDirectories":["node_modules"],"moduleFileExtensions":["js","jsx","json","ts","tsx"],"testPathIgnorePatterns":["/node_modules/"],"transformIgnorePatterns":[],"coveragePathIgnorePatterns":[]},"main":"dist/index.js","module":"src/index.ts","scripts":{"test":"jest","build":"rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false","test:ci":"jest --silent --ci --w 2 --collectCoverage=true --collectCoverageFrom=src/**/*.{ts,tsx} --coverageReporters=lcov","build:dev":"rm -rf tmp && mkdir tmp && cp ./package-dev.json ./tmp/package.json && tsc -w --outDir ./tmp","build:prod":"rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false && cp ./package.json ./LICENSE ./README.md ./dist","test:ci-json":"jest --ci --w 2 --collectCoverage=true --coverageReporters=json","build:analyze":"webpack --verbose true --progress true --cache false --profile --json > stats.json && npx webpack-bundle-analyzer ./stats.json","sonar-scanner":"sonar-scanner","test:coverage":"jest --coverage --collectCoverageFrom=src/**/*.{ts,tsx} --coverageReporters=lcov"},"_npmUser":{"name":"sayalimore1610","email":"sayali.more@trigyn.com"},"_npmVersion":"6.14.18","description":"Type definitions and models for Sunbird platform clients","directories":{},"_nodeVersion":"14.21.3","dependencies":{"qs":"^6.9.4","jszip":"^3.7.1","jsonld":"^5.2.0","moment":"^2.29.4","inversify":"^5.0.1","node-fetch":"2.6.5","whatwg-fetch":"^3.1.0","reflect-metadata":"^0.1.13","jsonld-signatures":"^6.0.0","@project-sunbird/telemetry-sdk":"0.0.26"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.1.0","rxjs":"^6.5.3","tslint":"^5.12.0","ts-jest":"^25.2.0","webpack":"^4.41.5","ts-loader":"^5.4.5","typescript":"2.9.1","@types/jest":"^25.1.1","webpack-cli":"^3.3.10","@types/node-fetch":"2.5.12","terser-webpack-plugin":"^4.1.0"},"peerDependencies":{"rxjs":"6.x.x"},"_npmOperationalInternal":{"tmp":"tmp/client-services_4.8.17_1722850106808_0.6814568464561717","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-06-13T10:07:44.572Z","modified":"2025-04-04T05:06:49.652Z","2.10.0":"2024-06-13T10:07:44.887Z","4.8.13":"2024-07-24T15:05:25.113Z","4.8.14":"2024-07-25T16:59:06.774Z","4.8.15":"2024-07-26T04:04:36.144Z","4.8.16":"2024-08-05T09:11:31.960Z","4.8.17":"2024-08-05T09:28:26.971Z"},"bugs":{"url":"https://github.com/Sunbird-Ed/sunbird-client-services/issues"},"license":"MIT","homepage":"https://github.com/Sunbird-Ed/sunbird-client-services#readme","description":"Type definitions and models for Sunbird platform clients","maintainers":[{"email":"satyanarayana.khaja@trigyn.com","name":"satyadiksha"},{"email":"bharath.raj@trigyn.com","name":"bharathrajjv"},{"email":"Diksha.Leads@trigyn.com","name":"dictrigyngroup"},{"email":"yashveer.negi@trigyn.com","name":"yashveer"},{"email":"tejaswini.giram@trigyn.com","name":"tejaswini19"},{"email":"purushotam.kumar@trigyn.com","name":"purushottam_trigyn"},{"email":"Shailendra.Pratap@trigyn.com","name":"shailendra123"},{"email":"sayali.more@trigyn.com","name":"sayalimore1610"},{"email":"baijanti.yadav@trigyn.com","name":"trigynby"},{"email":"bhoopendra.modanwal@trigyn.com","name":"bmodanwal"}],"readme":"# @project-sunbird/client-services\n\n## Table of Contents\n\n1. [Overview](#overview)\n1. [Installation](#installation)\n1. [Getting Started](#getting-started)\n   1. [Adapters](#adapters)\n   1. [Update Configuration](#update-configuration)\n1. [Services](#services)\n   1. [CsGroupService](#csgroupservice)\n\n## Overview\n\nThe library is grouped into Modules and SubModules as shown below -\n\n```\n@project-sunbird/client-services\n├── /core\n│   └── /http-service\n│       └── /utilities\n│           └── /interceptors\n├── /models\n│   ├── /channel\n│   ├── /content\n│   ├── /course\n│   ├── /device\n│   ├── /faq\n│   ├── /form\n│   ├── /group\n│   ├── /organisation\n│   ├── /page\n│   └── /user\n└── /services\n    ├── /content\n    │   └── /utilities\n    │       └── /content-group-generator\n    └── /group\n```\n\nThe public facing API is prefixed with 'Cs' namespace, as in -\n- CsModule\n- CsConfig\n- CsGroupService\n- ...\n\nFor instance,\n- CsModule is part of the root module\n- CsContentsGroupGenerator is a utlility within content service\n\nTheir respective imports would be -\n\n```\nimport {CsModule} from \"@project-sunbird/client-services\";\nimport {CsContentsGroupGenerator} from \"@project-sunbird/client-services/services/content/utilities/content-group-generator\";\n```\n\n## Installation\n\nTo install the package\n\n```\nnpm i @project-sunbird/client-services@3.x.x\n```\n\nThe package requires the consumer to have rxjs@6.x.x installed as the only peerDependency\n\n## Getting Started\n\nTo use the library CsModule, it needs to be initialised with basic configuration.\nCsModule is a singleton and it would be best to check if it has already been initialised before attempting to initialise -\n\n```\nif (!CsModule.instance.isInitialised) { // Singleton initialised or not\n    await CsModule.instance.init({\n        core: {\n            httpAdapter: 'HttpClientBrowserAdapter', // optional - HttpClientBrowserAdapter or HttpClientCordovaAdapter, default - HttpClientBrowserAdapter \n            global: {\n                channelId: 'some_channel_id', // required\n                producerId: 'some_producer_id', // required\n                deviceId: 'some_random_device_id' // required\n            },\n            api: {\n                host: 'https://staging.ntp.net.in', // default host\n                authentication: {\n                    // userToken: string; // optional\n                    // bearerToken: string; // optional\n                }\n            }\n        },\n        services: {\n            // groupServiceConfig: CsGroupServiceConfig // optional\n        }\n    );\n}\n```\n\n### Adapters\n\nIf the client for the library is a cordova project, use the 'HttpClientCordovaAdapter' adapter\nor use 'HttpClientBrowserAdapter'. 'HttpClientBrowserAdapter' is the default if not specified.\n\n### Update Configuration\n\nThe configuration can be dynamically reset after initialisation\n\n```\nconst newConfig = {...CsModule.instance.config}; // copy existing config\n\nnewConfig.core.api.authentication = {\n    bearerToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXV.eyJpc3MiOiJzdGFnaW5nLmRpa3NoYS5hcHAtYTMzM2YzZjExZDM0YzlkNWYwZTE2MjUyYWMwZDVhYTZmMTBjYSIsImlhdCI6MTU4ODkxNDc1NX0.dEmjK6LStoenL_pRX1KwEtU4-opuUOUGI05ecex',\n};\n\nCsModule.instance.updateConfig(CsModule.instance.config);\n\n// after login\n\nnewConfig.core.api.authentication = {\n    userToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXV.eyJpc3MiOiJzdGFnaW5nLmRpa3NoYS5hcHAtYTMzM2YzZjExZDM0YzlkNWYwZTE2MjUyYWMwZDVhYTZmMTBjYSIsImlhdCI6MTU4ODkxNDc1NX0.dEmjK6LStoenL_pRX1KwEtU4-opuUOUGI05ecex',\n};\n\nCsModule.instance.updateConfig(CsModule.instance.config);\n```\n\n### Accessing a service\n\nThe CsModule being a singleton, every service within would also be a singleton, To access any service - \n\n```\nconst httpService = CsModule.instance.httpService; // handles API calls, interceptors (tokens, logging)\nconst groupService = CsModule.instance.groupService; // internally uses httpService\n```\n\n## Services\n\nEvery service by default will utilise the optional configuration declared during init() or updateConfig()\n\n```\nCsModule.instance.init({\n    ...\n    services: {\n        groupServiceConfig: { // optional\n            apiPath: '/api/v1/group'\n        }\n    }\n);\n```\n\nAdditionally, methods of the service may have an optional argument that can override the global configuration explicitly\njust for that method call\n\n```\nconst group = await groupService.getById(\n    group1.identifier,\n    { apiPath: '/api/v2/group' } // optional\n).toPromise();\n```\n\n### CsGroupService\n\nThis service deals with user group management and has the following interface -\n\n```\nCsModule.instance.init({\n    ...\n    services: {\n        groupServiceConfig: { // optional\n            apiPath: '/api/v1/group'\n        }\n    }\n);\n\ninterface CsGroupService {\n    create(\n        name: string,\n        board: string,\n        medium: string | string[],\n        gradeLevel: string | string[],\n        subject: string | string[],\n        config?: CsGroupServiceConfig\n    ): Observable<Group>;\n\n    deleteById(id: string, config?: CsGroupServiceConfig): Observable<void>;\n\n    getAll(config?: CsGroupServiceConfig): Observable<Group[]>;\n\n    getById(id: string, config?: CsGroupServiceConfig): Observable<Group>;\n\n    addMemberById(memberId: string, groupId: string, config?: CsGroupServiceConfig): Observable<Group>;\n\n    removeMemberById(memberId: string, groupId: string, config?: CsGroupServiceConfig): Observable<void>;\n}\n```\n\n### CsFrameworkService\n\n```\nCsModule.instance.init({\n    ...\n    services: {\n        frameworkServiceConfig: { // optional\n            apiPath: '<path>'\n        }\n    }\n);\n\nexport interface CsFrameworkService {\n    getFramework(id: string, options?: GetFrameworkOptions, config?: CsFrameworkServiceConfig): Observable<Framework>;\n}\n```\n\n### CsLocationService\n\n```\nCsModule.instance.init({\n    ...\n    services: {\n        locationServiceConfig: { // optional\n            apiPath: '<path>'\n        }\n    }\n);\n\nexport interface CsLocationService {\n    searchLocations(request?: SearchLocationRequests, config?: CsLocationServiceConfig): Observable<Location[]>;\n}\n```\n\n### CsLocationService\n\n```\nCsModule.instance.init({\n    ...\n    services: {\n        courseServiceConfig: { // optional\n            apiPath: '<path>'\n        }\n    }\n);\n\nexport interface CsCourseService {\n    getUserEnrollmentList(request: GetUserEnrollmentListRequests, additionalParams?: { [key: string]: string }, config?: CsCourseServiceConfig): Observable<Course[]>;\n}\n```\n","readmeFilename":"README.md"}