@eka-care/ekascribe-ts-sdk 1.5.46 → 1.5.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,6 +5,7 @@ const DEV = {
|
|
|
5
5
|
EKA_VOICE_HOST_V3: 'https://api.dev.eka.care/voice/api/v3',
|
|
6
6
|
COOK_V1: ' https://deepthought-genai.dev.eka.care/api/v1',
|
|
7
7
|
EKA_HOST: 'https://api.dev.eka.care',
|
|
8
|
+
S3_BUCKET_NAME: 'm-pp-voice2rx',
|
|
8
9
|
};
|
|
9
10
|
const PROD = {
|
|
10
11
|
COG_HOST: 'https://cog.eka.care',
|
|
@@ -13,12 +14,11 @@ const PROD = {
|
|
|
13
14
|
EKA_VOICE_HOST_V3: 'https://api.eka.care/voice/api/v3',
|
|
14
15
|
COOK_V1: ' https://cook.eka.care/api/v1',
|
|
15
16
|
EKA_HOST: 'https://api.eka.care',
|
|
17
|
+
S3_BUCKET_NAME: 'm-prod-voice-record',
|
|
16
18
|
};
|
|
17
19
|
let envVar = PROD;
|
|
18
20
|
let client_id = 'doc-web';
|
|
19
21
|
let auth;
|
|
20
|
-
const s3_prod_bucket_name = 'm-prod-voice-record';
|
|
21
|
-
const s3_dev_bucket_name = 'm-pp-voice2rx';
|
|
22
22
|
const setEnv = ({ env, clientId, auth_token, }) => {
|
|
23
23
|
if (env) {
|
|
24
24
|
envVar = env === 'PROD' ? PROD : DEV;
|
|
@@ -31,7 +31,7 @@ const setEnv = ({ env, clientId, auth_token, }) => {
|
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
console.log(envVar, 'dev');
|
|
34
|
-
export const GET_S3_BUCKET_NAME = () => envVar
|
|
34
|
+
export const GET_S3_BUCKET_NAME = () => envVar.S3_BUCKET_NAME;
|
|
35
35
|
export const GET_CLIENT_ID = () => client_id;
|
|
36
36
|
export const GET_AUTH_TOKEN = () => auth;
|
|
37
37
|
export const GET_EKA_VOICE_HOST_V1 = () => envVar.EKA_VOICE_HOST_V1;
|