@d4l/collect-lib 1.0.0 → 1.1.0
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.
- package/README.md +34 -20
- package/dist/index.d.mts +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.js +31 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +30 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.mjs
CHANGED
|
@@ -5072,8 +5072,38 @@ function generateFHIRTag(code, date, labels, stringTemplater) {
|
|
|
5072
5072
|
}
|
|
5073
5073
|
};
|
|
5074
5074
|
}
|
|
5075
|
+
|
|
5076
|
+
// src/configuration/apis.ts
|
|
5077
|
+
var API_TARGET_MAP = {
|
|
5078
|
+
DEXCOM: {
|
|
5079
|
+
prod: {
|
|
5080
|
+
loginEndpoint: "https://api.dexcom.com/v2/oauth2/login",
|
|
5081
|
+
tokenEndpoint: "https://api.dexcom.com/v2/oauth2/token",
|
|
5082
|
+
dataEndpoint: "https://api.dexcom.eu/v3/users/self"
|
|
5083
|
+
},
|
|
5084
|
+
sandbox: {
|
|
5085
|
+
loginEndpoint: "https://sandbox-api.dexcom.com/v2/oauth2/login",
|
|
5086
|
+
tokenEndpoint: "https://sandbox-api.dexcom.com/v2/oauth2/token",
|
|
5087
|
+
dataEndpoint: "https://sandbox-api.dexcom.eu/v3/users/self"
|
|
5088
|
+
}
|
|
5089
|
+
},
|
|
5090
|
+
FITBIT: {
|
|
5091
|
+
prod: {
|
|
5092
|
+
loginEndpoint: "https://www.fitbit.com/oauth2/authorize",
|
|
5093
|
+
tokenEndpoint: "https://api.fitbit.com/oauth2/token",
|
|
5094
|
+
dataEndpoint: "https://api.fitbit.com/"
|
|
5095
|
+
},
|
|
5096
|
+
sandbox: {
|
|
5097
|
+
// Doesnt actually have a sandbox
|
|
5098
|
+
loginEndpoint: "https://www.fitbit.com/oauth2/authorize",
|
|
5099
|
+
tokenEndpoint: "https://api.fitbit.com/oauth2/token",
|
|
5100
|
+
dataEndpoint: "https://api.fitbit.com/"
|
|
5101
|
+
}
|
|
5102
|
+
}
|
|
5103
|
+
};
|
|
5075
5104
|
export {
|
|
5076
5105
|
ANDROID_SENSORS_CONSTANT_NAMES,
|
|
5106
|
+
API_TARGET_MAP,
|
|
5077
5107
|
ASMSECGMeasurementAnnotation,
|
|
5078
5108
|
ASMSSpO2MeasurementAnnotation,
|
|
5079
5109
|
AnswerCodeCondition,
|