Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
390 commits
Select commit Hold shift + click to select a range
4e1b8a0
profile read test commit
VISHNUDAS-tunerlabs Apr 28, 2025
95833a6
Merge branch 'master' of https://github.com/ELEVATE-Project/utils
VISHNUDAS-tunerlabs Apr 28, 2025
c635a67
shiksha onfig update with entity service
VISHNUDAS-tunerlabs Apr 29, 2025
46c0980
Merge pull request #260 from ELEVATE-Project/sunbirdNPMPackage
priyanka-TL Apr 29, 2025
ebc5fbf
version patch
adithyadinesh0412 Apr 29, 2025
9d90949
Merge pull request #262 from adithyadinesh0412/sunbirdNPMPackage
adithyadinesh0412 Apr 29, 2025
3f76fca
check of profile
VISHNUDAS-tunerlabs Apr 29, 2025
c1a074a
Merge branch 'master' of https://github.com/ELEVATE-Project/utils
VISHNUDAS-tunerlabs Apr 29, 2025
0d8404f
shiksh-project package patch
VISHNUDAS-tunerlabs Apr 29, 2025
4c6b015
scp update
priyanka-TL Apr 29, 2025
effb9ba
Merge pull request #263 from ELEVATE-Project/sunbirdNPMPackage
priyanka-TL Apr 29, 2025
6f799f1
config update
VISHNUDAS-tunerlabs Apr 29, 2025
657b902
bug fix shiksha-project
VISHNUDAS-tunerlabs Apr 29, 2025
92e3570
internal path change
VISHNUDAS-tunerlabs Apr 29, 2025
b824ca9
version patch
VISHNUDAS-tunerlabs Apr 29, 2025
ef6dacc
enhancement for shiksha
VISHNUDAS-tunerlabs Apr 29, 2025
13c745d
shiksha-survey version patch
VISHNUDAS-tunerlabs Apr 29, 2025
013981e
npm changes
adithyadinesh0412 Apr 30, 2025
e44d2f2
scpController update
priyanka-TL Apr 30, 2025
e83536b
Merge pull request #266 from ELEVATE-Project/sunbirdNPMPackage
priyanka-TL Apr 30, 2025
aa833d6
survey service configs updated
VISHNUDAS-tunerlabs Apr 30, 2025
b39143b
shiksha-survey version patch
VISHNUDAS-tunerlabs Apr 30, 2025
1ee695c
entity management config update
VISHNUDAS-tunerlabs Apr 30, 2025
7d81b95
entity management config update
VISHNUDAS-tunerlabs Apr 30, 2025
ca6f034
shiksha-mentoring package
rakeshSgr May 1, 2025
7f44982
merging package
rakeshSgr May 1, 2025
2c7170a
profile read change shiksha user
VISHNUDAS-tunerlabs May 1, 2025
12d5efd
Merge branch 'master' of https://github.com/ELEVATE-Project/utils
VISHNUDAS-tunerlabs May 1, 2025
8d9d32e
siksha-project version patch
VISHNUDAS-tunerlabs May 1, 2025
59dedf3
debug
VISHNUDAS-tunerlabs May 1, 2025
9d31a29
debug
VISHNUDAS-tunerlabs May 1, 2025
3baf859
profile read related api changes for shiksha
VISHNUDAS-tunerlabs May 1, 2025
6395298
Merge branch 'master' of https://github.com/ELEVATE-Project/utils int…
adithyadinesh0412 May 2, 2025
1fd6ed0
sunbird-self-creation-portal version patch
adithyadinesh0412 May 2, 2025
b3f66d4
Merge pull request #268 from adithyadinesh0412/sunbirdNPMPackage
adithyadinesh0412 May 2, 2025
4abc505
shiksha project org read custom handling
VISHNUDAS-tunerlabs May 2, 2025
308df13
shiksha project version patch
VISHNUDAS-tunerlabs May 2, 2025
86ad48e
version patch shiksha-survey
VISHNUDAS-tunerlabs May 2, 2025
a214468
version patch shiksha-survey
VISHNUDAS-tunerlabs May 2, 2025
241b164
Merge pull request #256 from ELEVATE-Project/TranslationChanges
VISHNUDAS-tunerlabs May 5, 2025
e8cd862
"added-new-version"
MallanagoudaB May 6, 2025
4284c66
shiksha-survey version patch
VISHNUDAS-tunerlabs May 6, 2025
4963bfa
"added-validations-in-project-service"
MallanagoudaB May 6, 2025
0896adb
Merge pull request #269 from ELEVATE-Project/addValidations
VISHNUDAS-tunerlabs May 6, 2025
2240a6a
elevate-project route update
VISHNUDAS-tunerlabs May 15, 2025
1a181ea
kafka event push apis config added
praveenKDass May 15, 2025
4d14ad3
Merge pull request #273 from ELEVATE-Project/feature/Kafka_eventApis
aks30 May 15, 2025
d3638e0
added: saas routes
nevil-mathew May 16, 2025
5ef2d73
Merge pull request #275 from ELEVATE-Project/interface-routes
nevil-mathew May 16, 2025
41d2ea9
savepoint
borkarsaish65 May 17, 2025
b523702
Merge pull request #276 from ELEVATE-Project/feature/tenantread_survey
VISHNUDAS-tunerlabs May 17, 2025
8f75143
savepoint
borkarsaish65 May 17, 2025
aa1c365
Update saas-routes.json
adithyadinesh0412 May 17, 2025
262e336
elevate-survey version patch
VISHNUDAS-tunerlabs May 18, 2025
2ee7f8d
Update saas-routes.json
adithyadinesh0412 May 18, 2025
29cb4e3
feat:savepoint tenant read api
borkarsaish65 May 18, 2025
482e6cb
Merge pull request #277 from ELEVATE-Project/feature/project/tenantre…
VISHNUDAS-tunerlabs May 18, 2025
4145182
Update saas-routes.json
rakeshSgr May 18, 2025
b8e5206
Merge pull request #278 from ELEVATE-Project/rakeshSgr-patch-1
rakeshSgr May 18, 2025
21f1eaa
feat:download api
borkarsaish65 May 19, 2025
c91364a
Merge pull request #280 from ELEVATE-Project/feature/survey/download_…
aks30 May 19, 2025
d878e6d
users add require custom route
adithyadinesh0412 May 19, 2025
61501b4
Merge pull request #281 from ELEVATE-Project/saas-route
nevil-mathew May 19, 2025
45d2634
Update saas-routes.json - for survey changes
adithyadinesh0412 May 19, 2025
013d41a
survey version upgraded
adithyadinesh0412 May 19, 2025
63a0cd6
Merge pull request #282 from ELEVATE-Project/saas-route
adithyadinesh0412 May 19, 2025
71f9d70
priority added
adithyadinesh0412 May 19, 2025
db7402b
Merge pull request #283 from ELEVATE-Project/saas-route
adithyadinesh0412 May 19, 2025
86e0054
added: delete api
nevil-mathew May 20, 2025
d7671b1
add: profileById routes
nevil-mathew May 26, 2025
4f9a602
added routes
priyanka-TL May 27, 2025
5e908de
Merge pull request #285 from ELEVATE-Project/updateDEletePIIRoutes
priyanka-TL May 27, 2025
17013c3
Updated inetrface route
priyanka-TL May 27, 2025
f5f73f0
adding observation as a task routes
praveenKDass May 29, 2025
c01e1c7
Merge pull request #286 from ELEVATE-Project/routes/observationasaTask
priyanka-TL May 29, 2025
07a9f93
surveylisting
praveenKDass May 29, 2025
2274187
adding to interface routes
praveenKDass May 29, 2025
1f4a776
add: delete api
nevil-mathew Jun 4, 2025
a59dc5c
new route added
borkarsaish65 Jun 11, 2025
30d4d3c
new routes added to project and survey
borkarsaish65 Jun 12, 2025
675abe5
Merge pull request #288 from ELEVATE-Project/feature/userExtension
priyanka-TL Jun 12, 2025
889a98e
savepoint
borkarsaish65 Jun 12, 2025
5c46dce
feature route added
priyanka-TL Jun 12, 2025
bac9aa7
Merge pull request #289 from ELEVATE-Project/featureRoute
priyanka-TL Jun 12, 2025
de1aa11
feature
priyanka-TL Jun 17, 2025
65c877e
formatted
priyanka-TL Jun 17, 2025
4b53a0e
QA saas route added
priyanka-TL Jun 17, 2025
3253308
Update qa-saas-routes.json
adithyadinesh0412 Jun 19, 2025
4d7baa3
Update qa-saas-routes.json
adithyadinesh0412 Jun 20, 2025
cb0d571
Update qa-saas-routes.json - rate limiting updated
adithyadinesh0412 Jun 23, 2025
58e36d2
routes for obs and survey
praveenKDass Jun 24, 2025
3424131
Merge pull request #292 from ELEVATE-Project/obs/surveyastask-routes
priyanka-TL Jun 24, 2025
910f835
initial commit
VISHNUDAS-tunerlabs Jun 25, 2025
ae772af
Merge pull request #293 from ELEVATE-Project/health-check-npm-package
VISHNUDAS-tunerlabs Jun 25, 2025
95ca700
initial code clean-up done
VISHNUDAS-tunerlabs Jun 25, 2025
7c6f308
Merge pull request #294 from ELEVATE-Project/health-check-npm-package
VISHNUDAS-tunerlabs Jun 25, 2025
10fe290
reverting survey routes
praveenKDass Jun 26, 2025
b96ead4
route name changes
praveenKDass Jun 26, 2025
1f4e3a0
savepoint
borkarsaish65 Jun 30, 2025
460ae9b
fix
borkarsaish65 Jun 30, 2025
dc07761
Merge pull request #295 from ELEVATE-Project/fix/route_correction
VISHNUDAS-tunerlabs Jun 30, 2025
fa9f7e1
Revert "savepoint"
VISHNUDAS-tunerlabs Jun 30, 2025
bdbd2f8
Merge pull request #296 from ELEVATE-Project/revert-295-fix/route_cor…
VISHNUDAS-tunerlabs Jun 30, 2025
7bf02cc
survey api config corrected
VISHNUDAS-tunerlabs Jun 30, 2025
da9c756
org registration code add / remove apis added
adithyadinesh0412 Jun 30, 2025
96818f4
org registration code add / remove apis added
adithyadinesh0412 Jun 30, 2025
04dc20e
Create elevate-qa-routes.json
rakeshSgr Jun 30, 2025
197bc48
Merge pull request #298 from ELEVATE-Project/rakeshSgr-patch-2
rakeshSgr Jun 30, 2025
2c8685b
Update elevate-qa-routes.json
rakeshSgr Jun 30, 2025
bb7fdc8
Merge pull request #299 from ELEVATE-Project/rakeshSgr-patch-3
rakeshSgr Jun 30, 2025
5d419a3
Update elevate-qa-routes.json
rakeshSgr Jun 30, 2025
1541d89
Merge pull request #300 from ELEVATE-Project/rakeshSgr-patch-4
rakeshSgr Jun 30, 2025
defedd3
Update elevate-qa-routes.json
rakeshSgr Jun 30, 2025
64602e8
Update elevate-qa-routes.json
rakeshSgr Jun 30, 2025
b9aa3b6
Update elevate-qa-routes.json
rakeshSgr Jun 30, 2025
ae3187f
Update elevate-qa-routes.json
rakeshSgr Jun 30, 2025
e6d7738
Merge pull request #297 from ELEVATE-Project/survey-config-correction
VISHNUDAS-tunerlabs Jul 1, 2025
2f63ee4
updated-npm-package
MallanagoudaB Jul 3, 2025
0fdbfa8
production route changes
adithyadinesh0412 Jul 3, 2025
1833a77
Merge pull request #303 from ELEVATE-Project/interface-3.3.2
adithyadinesh0412 Jul 4, 2025
1849902
added-routes
MallanagoudaB Jul 7, 2025
0ecb90e
validations
MallanagoudaB Jul 8, 2025
9c8f5d7
added-common-func
MallanagoudaB Jul 8, 2025
e0c95c9
changed-package-json
MallanagoudaB Jul 8, 2025
7c9afc6
Merge pull request #302 from ELEVATE-Project/HealthCheck
VISHNUDAS-tunerlabs Jul 8, 2025
f5106e0
scp-via-interface
MallanagoudaB Jul 14, 2025
69c7191
Merge pull request #305 from ELEVATE-Project/scp-via-interface
priyanka-TL Jul 14, 2025
6e283c0
change-in-package
MallanagoudaB Jul 14, 2025
11cc64e
Merge pull request #306 from ELEVATE-Project/change-in-package
MallanagoudaB Jul 14, 2025
cd925ab
new-routes-added
MallanagoudaB Jul 14, 2025
23ac37c
Merge pull request #307 from ELEVATE-Project/new-routes
MallanagoudaB Jul 14, 2025
f018d37
removed
MallanagoudaB Jul 14, 2025
83ef8d4
Merge pull request #308 from ELEVATE-Project/ChangeInRoute
MallanagoudaB Jul 14, 2025
02d56fe
removed-new
MallanagoudaB Jul 14, 2025
cc68e94
Merge pull request #309 from ELEVATE-Project/ChangeInRoute
MallanagoudaB Jul 14, 2025
8691da8
removed
MallanagoudaB Jul 14, 2025
0e38932
Merge pull request #310 from ELEVATE-Project/NewBranch
MallanagoudaB Jul 14, 2025
405de44
added
MallanagoudaB Jul 14, 2025
5dbdb23
Merge pull request #311 from ELEVATE-Project/NewBranch
MallanagoudaB Jul 14, 2025
586a096
added-new
MallanagoudaB Jul 14, 2025
5c74397
Merge pull request #312 from ELEVATE-Project/NewBranch
MallanagoudaB Jul 14, 2025
9bd1913
license update
borkarsaish65 Jul 14, 2025
bf76ad5
Merge pull request #313 from ELEVATE-Project/feature/license
borkarsaish65 Jul 14, 2025
1cd0383
priority-added
MallanagoudaB Jul 15, 2025
ccfbf76
Merge pull request #315 from ELEVATE-Project/ErrorFix
priyanka-TL Jul 15, 2025
9061848
added-entity
MallanagoudaB Jul 15, 2025
194a3f7
Merge pull request #316 from ELEVATE-Project/ErrorFix
priyanka-TL Jul 15, 2025
b90011d
fix-for-entity
MallanagoudaB Jul 15, 2025
04d2857
Merge pull request #317 from ELEVATE-Project/ErrorFix
MallanagoudaB Jul 15, 2025
5c84d03
change-in-version
MallanagoudaB Jul 15, 2025
4cf3374
change-in-version
MallanagoudaB Jul 15, 2025
7471a2c
Merge pull request #318 from ELEVATE-Project/ErrorFix
MallanagoudaB Jul 15, 2025
a943cf4
Updated routes for elevate dev and qa
priyanka-TL Jul 15, 2025
feb0305
Merge pull request #319 from ELEVATE-Project/routeFiles
priyanka-TL Jul 15, 2025
c56d2b3
file update
priyanka-TL Jul 15, 2025
3f4d374
Merge pull request #320 from ELEVATE-Project/routeFiles
priyanka-TL Jul 15, 2025
6b78d3e
added-sch-service
MallanagoudaB Jul 15, 2025
e79ce8e
added-version
MallanagoudaB Jul 15, 2025
2761f05
added-in-the-interface-dev
MallanagoudaB Jul 15, 2025
b71c70e
added-redis
MallanagoudaB Jul 15, 2025
6124de8
Merge pull request #321 from ELEVATE-Project/SchService
MallanagoudaB Jul 15, 2025
15f1a94
Qa-setup
MallanagoudaB Jul 16, 2025
2f05b04
QA-test
MallanagoudaB Jul 16, 2025
429a00a
Merge pull request #323 from ELEVATE-Project/QASetup
priyanka-TL Jul 16, 2025
befac4d
Saas-Qa-Health-Check
MallanagoudaB Jul 16, 2025
a542477
Merge pull request #326 from ELEVATE-Project/SaaSQaHealth
priyanka-TL Jul 16, 2025
3e7596a
savepoint
borkarsaish65 Jul 23, 2025
c5dc126
savepoint
borkarsaish65 Jul 23, 2025
fe46af6
changes
borkarsaish65 Jul 24, 2025
2b79881
changes
borkarsaish65 Jul 24, 2025
ef78440
savepoint
borkarsaish65 Jul 24, 2025
982686b
elevate-project routes updated
Prajwal17Tunerlabs Jul 24, 2025
3f2c152
package config updated
VISHNUDAS-tunerlabs Jul 24, 2025
1652430
package config updated
VISHNUDAS-tunerlabs Jul 24, 2025
747832e
savepoint
borkarsaish65 Jul 24, 2025
0748f5a
savepoint
borkarsaish65 Jul 24, 2025
adeacc0
savepoint 2
borkarsaish65 Jul 24, 2025
df37b0e
savepoint 3
borkarsaish65 Jul 24, 2025
dd43c60
savepoint 4
borkarsaish65 Jul 25, 2025
e7c1311
savepoint 4
borkarsaish65 Jul 25, 2025
3c06fbc
savepoint 5
borkarsaish65 Jul 25, 2025
e54f6d0
savepoint-2
borkarsaish65 Jul 25, 2025
41f384b
savepoint-8
borkarsaish65 Jul 25, 2025
2cd5f97
savepoint - 10
borkarsaish65 Jul 25, 2025
a5a175c
route fix
borkarsaish65 Jul 28, 2025
c0fc4d8
comments addressed
Prajwal17Tunerlabs Jul 28, 2025
158c117
Merge pull request #328 from ELEVATE-Project/chore/utils-routes-update-2
VISHNUDAS-tunerlabs Jul 28, 2025
02eafcd
elevate-project package version patch
VISHNUDAS-tunerlabs Jul 28, 2025
c09844f
survey userCourses routes added
praveenKDass Jul 29, 2025
82c93c2
savepoint
borkarsaish65 Jul 30, 2025
d75ec98
pulled master and conflict resolved
borkarsaish65 Jul 30, 2025
d005e6a
feat:savepoint
borkarsaish65 Jul 30, 2025
b69e7e1
Merge pull request #330 from ELEVATE-Project/userCourse_routes
VISHNUDAS-tunerlabs Aug 1, 2025
1d8de69
project usercourses routes added
praveenKDass Aug 1, 2025
0bc0a6b
Merge pull request #331 from ELEVATE-Project/userCourse_project
VISHNUDAS-tunerlabs Aug 1, 2025
39c9f42
Merge branch 'master' of https://github.com/ELEVATE-Project/utils int…
borkarsaish65 Aug 1, 2025
44bc99b
feat:coderabbit comments resolved
borkarsaish65 Aug 1, 2025
24003f8
feat:coderabbit comments resolved
borkarsaish65 Aug 1, 2025
3890b0d
savepoint
borkarsaish65 Aug 1, 2025
8675646
Update elevate-qa-routes.json
rakeshSgr Aug 5, 2025
be58aa4
added-for-entity-management
MallanagoudaB Aug 5, 2025
15df5f0
change-in-version
MallanagoudaB Aug 5, 2025
2341c11
Merge pull request #333 from ELEVATE-Project/EntityRoutes
VISHNUDAS-tunerlabs Aug 5, 2025
b996fa0
Update elevate-qa-routes.json
rakeshSgr Aug 5, 2025
f5327c2
savepoint
borkarsaish65 Aug 6, 2025
decc820
savepoint
borkarsaish65 Aug 6, 2025
b294339
savepoint1
borkarsaish65 Aug 6, 2025
cdbe593
savepoint-3
borkarsaish65 Aug 6, 2025
4f865c1
feat:savepoint - 1
borkarsaish65 Aug 6, 2025
437cdf2
feat:savepoint - 2
borkarsaish65 Aug 6, 2025
802359d
savepoint - 4
borkarsaish65 Aug 6, 2025
13ce103
code rabbit review resolved
borkarsaish65 Aug 6, 2025
9c47f9c
Merge pull request #334 from ELEVATE-Project/rakeshSgr-patch-6
rakeshSgr Aug 7, 2025
cc6b440
Merge pull request #332 from ELEVATE-Project/rakeshSgr-patch-5
rakeshSgr Aug 7, 2025
a873e48
elevate-project routes updated
Prajwal17Tunerlabs Aug 8, 2025
3f99e15
added-routes-for-project-survey
MallanagoudaB Aug 11, 2025
af53189
Merge pull request #337 from ELEVATE-Project/chore/utils-routes-update-2
VISHNUDAS-tunerlabs Aug 11, 2025
6f5556d
Merge pull request #336 from ELEVATE-Project/feature/program_sync_2
VISHNUDAS-tunerlabs Aug 12, 2025
ea1b38c
updated package.json file in elevate-project
borkarsaish65 Aug 12, 2025
1cb372c
sequencing + merging fix
borkarsaish65 Aug 13, 2025
be46da9
sequencing + merging fix -2
borkarsaish65 Aug 13, 2025
eb2f423
sequencing + merging fix -3
borkarsaish65 Aug 13, 2025
4a96272
Merge branch 'master' of https://github.com/ELEVATE-Project/utils int…
MallanagoudaB Aug 13, 2025
e6ee373
sequencing merging fix
borkarsaish65 Aug 13, 2025
3051963
savepoint -2
borkarsaish65 Aug 13, 2025
463b9c8
version update
borkarsaish65 Aug 13, 2025
109fcf8
Merge pull request #339 from ELEVATE-Project/fix/sequencing
VISHNUDAS-tunerlabs Aug 13, 2025
ad47201
Merge pull request #338 from ELEVATE-Project/ProjectSurveyRoutes
VISHNUDAS-tunerlabs Aug 13, 2025
b5a11e2
merging to staging aug 14
praveenKDass Aug 14, 2025
c7fdf2b
Merge pull request #340 from ELEVATE-Project/elevateQa_aug14Deployement
VISHNUDAS-tunerlabs Aug 14, 2025
c92876a
kafka-topic-change
MallanagoudaB Aug 19, 2025
b959b06
validation-added
MallanagoudaB Aug 19, 2025
48c7bd8
Merge pull request #341 from ELEVATE-Project/KafkaFix
VISHNUDAS-tunerlabs Aug 19, 2025
6ce57f6
added-group-id
MallanagoudaB Aug 20, 2025
1693f20
added-in-common
MallanagoudaB Aug 20, 2025
1026dc5
removed
MallanagoudaB Aug 20, 2025
4d74927
Merge pull request #342 from ELEVATE-Project/addedGroupId
VISHNUDAS-tunerlabs Aug 20, 2025
4aa1300
SCP Routes
priyanka-TL Aug 28, 2025
f458e5e
Merge pull request #343 from ELEVATE-Project/SCP
priyanka-TL Aug 28, 2025
2dfe997
routes updated for org-policy in project-service
Prajwal17Tunerlabs Sep 8, 2025
17ec9d7
Merge pull request #344 from ELEVATE-Project/chore/utils-routes-update-2
aks30 Sep 9, 2025
a7f0bfe
elevate-project routes updated
Prajwal17Tunerlabs Sep 12, 2025
8c9a335
elevate-project routes updated
Prajwal17Tunerlabs Sep 16, 2025
9cda884
Update elevate-dev-routes.json
nevil-mathew Sep 16, 2025
0a23c81
Merge pull request #346 from ELEVATE-Project/add-read-internal-for-te…
nevil-mathew Sep 16, 2025
3d89b6c
survey library and orgPolicies routes added
praveenKDass Sep 18, 2025
a160e21
Merge pull request #347 from ELEVATE-Project/survey_libraryOrg_routes
praveenKDass Sep 19, 2025
46e322c
Merge pull request #345 from ELEVATE-Project/chore/utils-routes-update-2
VISHNUDAS-tunerlabs Sep 22, 2025
32cbc0d
add: readInternal api for tenant
nevil-mathew Sep 23, 2025
70de43f
elevate-route file added
Sep 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 4 additions & 20 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
MIT License

Copyright (c) 2019 ShikshaLokam

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Copyright (c) 2025 Shikshalokam
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2 changes: 2 additions & 0 deletions Transcribe-Translate-Recordings/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
OPENAI_API_KEY=your_openai_api_key_here
AUDIO_FILE_PATH=path_to_default_audio_file
63 changes: 63 additions & 0 deletions Transcribe-Translate-Recordings/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Recording Transcription and Translation

This repository contains a Python script to process large audio files. The script performs the following tasks:

1. Splits the audio into smaller chunks.
2. Transcribes the audio chunks into text using OpenAI's Whisper API.
3. Translates the transcription into English using OpenAI's GPT model.
4. Saves the transcription and translation as text files in the same folder as the input audio file.

## Prerequisites

### Software Requirements
- Python 3.8 or higher
- FFmpeg (for audio processing with `pydub`)

### Python Libraries
Install the required Python libraries using pip:
```bash
pip install pydub openai python-dotenv
```

### Environment Variables
Create a `.env` file in the root directory of the repository with the following variables:
```
OPENAI_API_KEY=your_openai_api_key
AUDIO_FILE_PATH=path_to_your_audio_file
```
Replace `your_openai_api_key` with your OpenAI API key and `path_to_your_audio_file` with the full path to the audio file you want to process.

## Installation
1. Clone the repository:
```bash
git clone https://github.com/ELEVATE-Project/utils.git
cd utils/Transcribe-Translate-Recordings

2. Set up the `.env` file as described above.

3. Run the script:
```bash
python transcribe_translate.py
```

4. The script will process the audio file, generate transcriptions, translate them into English, and save the results as text files in the same folder as the input audio file.

## Output

- **Transcription File:** `<audio_file_name>_transcription.txt`
- **Translation File:** `<audio_file_name>_translation.txt`

## Notes

- Ensure your `.env` file contains the correct API key and audio file path.
- Adjust the chunk size in the script if necessary for better performance or accuracy.
- Make sure FFmpeg is installed and properly set up in your system.

## License

This project is licensed under the MIT License. See the LICENSE file for details.

---



3 changes: 3 additions & 0 deletions Transcribe-Translate-Recordings/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
openai==0.27.0
pydub==0.25.1
python-dotenv==1.0.0
83 changes: 83 additions & 0 deletions Transcribe-Translate-Recordings/transcribe_translate.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
import os
from pydub import AudioSegment
from pydub.utils import make_chunks
import openai
from dotenv import load_dotenv

def split_audio(audio_path, chunk_size_ms=60000):
"""Splits an audio file into chunks."""
audio = AudioSegment.from_file(audio_path)
chunks = make_chunks(audio, chunk_size_ms)
return chunks

def transcribe_audio(chunk, api_key):
"""Transcribes audio using OpenAI Whisper API."""
# Save the chunk temporarily
temp_chunk_path = "temp_chunk.mp3"
chunk.export(temp_chunk_path, format="mp3")

# Load audio file
with open(temp_chunk_path, "rb") as audio_file:
result = openai.Audio.transcribe(
model="whisper-1", # Add model name if needed
file=audio_file
)

os.remove(temp_chunk_path)
return result.get("text", "")

def translate_text(text, target_language="en"):
"""Translates text using OpenAI's GPT model."""
response = openai.ChatCompletion.create(
model="gpt-3.5-turbo", # Use the new model instead of text-davinci-003
messages=[
{"role": "system", "content": f"Translate the following text to {target_language}: "},
{"role": "user", "content": text}
],
max_tokens=500
)
return response['choices'][0]['message']['content'].strip()

def process_audio_file(audio_path, api_key, chunk_size_ms=60000):
"""Processes an audio file: splits, transcribes, translates, and saves results."""
# Get audio file directory
folder_path = os.path.dirname(audio_path)
base_name = os.path.splitext(os.path.basename(audio_path))[0]

# Split audio into chunks
chunks = split_audio(audio_path, chunk_size_ms)

# Prepare output files
transcription_file = os.path.join(folder_path, f"{base_name}_transcription.txt")
translation_file = os.path.join(folder_path, f"{base_name}_translation.txt")

with open(transcription_file, "w", encoding="utf-8") as trans_file, open(translation_file, "w", encoding="utf-8") as transl_file:
for i, chunk in enumerate(chunks):
print(f"Processing chunk {i + 1}/{len(chunks)}...")

# Transcribe
transcription = transcribe_audio(chunk, api_key)

# Translate
translation = translate_text(transcription)

# Save results
trans_file.write(f"Chunk {i + 1} Transcription:\n{transcription}\n\n")
transl_file.write(f"Chunk {i + 1} Translation:\n{translation}\n\n")

print(f"Transcription and translation saved to {folder_path}")

if __name__ == "__main__":
# Load environment variables
load_dotenv()
api_key = os.getenv("OPENAI_API_KEY")
audio_file_path = os.getenv("AUDIO_FILE_PATH")

if not api_key:
print("OPENAI_API_KEY is not set in .env file.")
elif not audio_file_path:
print("AUDIO_FILE_PATH is not set in .env file.")
elif not os.path.exists(audio_file_path):
print("The specified audio file does not exist.")
else:
process_audio_file(audio_file_path, api_key)
10 changes: 10 additions & 0 deletions elevate-entity-management/constants/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,16 @@ module.exports = {
type: 'POST'
},
},
{
sourceRoute: '/entity-management/v1/entities/createMappingCsv',
type: 'POST',
inSequence: false,
orchestrated: false,
targetRoute: {
path: '/entity-management/v1/entities/createMappingCsv',
type: 'POST'
},
},
{
sourceRoute: '/entity-management/v1/entities/bulkUpdate',
type: 'POST',
Expand Down
Loading