@tryvital/vital-node
Advanced tools
Comparing version 1.6.0 to 1.6.3
@@ -11,1 +11,2 @@ export { ActivityApi } from './Activity'; | ||
export { DevicesAPI } from './Devices'; | ||
export { MealsApi } from './Meals'; |
@@ -53,2 +53,13 @@ export interface UserIdResponse { | ||
Hammerhead = 'hammerhead', | ||
FreestyleLibre = "freestyle_libre", | ||
Withings = "withings", | ||
EightSleep = "eight_sleep", | ||
GoogleFit = "google_fit", | ||
AppleHealthKit = "apple_health_kit", | ||
IHealth = "ihealth", | ||
AccuchekBle = "accuchek_ble", | ||
ContourBle = "contour_ble", | ||
Beurer = "beurer", | ||
Dexcom = "dexcom", | ||
MyFitnessPal = "my_fitness_pal", | ||
} | ||
@@ -55,0 +66,0 @@ |
@@ -11,1 +11,2 @@ export { ActivityApi } from './Activity'; | ||
export { DevicesAPI } from './Devices'; | ||
export { MealsApi } from './Meals'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DevicesAPI = exports.ProfileApi = exports.TestkitsApi = exports.WorkoutsApi = exports.WebhooksApi = exports.UserApi = exports.SleepApi = exports.LinkApi = exports.BodyApi = exports.ActivityApi = void 0; | ||
exports.MealsApi = exports.DevicesAPI = exports.ProfileApi = exports.TestkitsApi = exports.WorkoutsApi = exports.WebhooksApi = exports.UserApi = exports.SleepApi = exports.LinkApi = exports.BodyApi = exports.ActivityApi = void 0; | ||
var Activity_1 = require("./Activity"); | ||
@@ -24,1 +24,3 @@ Object.defineProperty(exports, "ActivityApi", { enumerable: true, get: function () { return Activity_1.ActivityApi; } }); | ||
Object.defineProperty(exports, "DevicesAPI", { enumerable: true, get: function () { return Devices_1.DevicesAPI; } }); | ||
var Meals_1 = require("./Meals"); | ||
Object.defineProperty(exports, "MealsApi", { enumerable: true, get: function () { return Meals_1.MealsApi; } }); |
@@ -45,3 +45,14 @@ export interface UserIdResponse { | ||
Zwift = "zwift", | ||
Hammerhead = "hammerhead" | ||
Hammerhead = "hammerhead", | ||
FreestyleLibre = "freestyle_libre", | ||
Withings = "withings", | ||
EightSleep = "eight_sleep", | ||
GoogleFit = "google_fit", | ||
AppleHealthKit = "apple_health_kit", | ||
IHealth = "ihealth", | ||
AccuchekBle = "accuchek_ble", | ||
ContourBle = "contour_ble", | ||
Beurer = "beurer", | ||
Dexcom = "dexcom", | ||
MyFitnessPal = "my_fitness_pal" | ||
} | ||
@@ -48,0 +59,0 @@ export interface GetTeamUsersParams { |
@@ -16,2 +16,13 @@ "use strict"; | ||
Providers["Hammerhead"] = "hammerhead"; | ||
Providers["FreestyleLibre"] = "freestyle_libre"; | ||
Providers["Withings"] = "withings"; | ||
Providers["EightSleep"] = "eight_sleep"; | ||
Providers["GoogleFit"] = "google_fit"; | ||
Providers["AppleHealthKit"] = "apple_health_kit"; | ||
Providers["IHealth"] = "ihealth"; | ||
Providers["AccuchekBle"] = "accuchek_ble"; | ||
Providers["ContourBle"] = "contour_ble"; | ||
Providers["Beurer"] = "beurer"; | ||
Providers["Dexcom"] = "dexcom"; | ||
Providers["MyFitnessPal"] = "my_fitness_pal"; | ||
})(Providers = exports.Providers || (exports.Providers = {})); |
@@ -1,2 +0,2 @@ | ||
import { ActivityApi, BodyApi, LinkApi, SleepApi, TestkitsApi, UserApi, WebhooksApi, WorkoutsApi, ProfileApi, DevicesAPI } from './client'; | ||
import { ActivityApi, BodyApi, LinkApi, SleepApi, TestkitsApi, UserApi, WebhooksApi, WorkoutsApi, ProfileApi, DevicesAPI, MealsApi } from './client'; | ||
import { ClientConfig } from './lib/models'; | ||
@@ -12,2 +12,3 @@ import { ClientCredentials } from './lib/credentials'; | ||
Body: BodyApi; | ||
Meals: MealsApi; | ||
Sleep: SleepApi; | ||
@@ -14,0 +15,0 @@ User: UserApi; |
@@ -58,2 +58,3 @@ "use strict"; | ||
var Provider_1 = require("./client/Provider"); | ||
; | ||
var VitalClient = /** @class */ (function () { | ||
@@ -119,2 +120,3 @@ function VitalClient(config) { | ||
this.Devices = new client_1.DevicesAPI(baseURL.concat('/v2'), axiosApiInstance); | ||
this.Meals = new client_1.MealsApi(baseURL.concat('/v2'), axiosApiInstance); | ||
} | ||
@@ -121,0 +123,0 @@ return VitalClient; |
@@ -14,2 +14,3 @@ import axios from 'axios'; | ||
DevicesAPI, | ||
MealsApi | ||
} from './client'; | ||
@@ -20,3 +21,3 @@ import { ClientConfig } from './lib/models'; | ||
import { VitalsApi } from './client/Vitals'; | ||
import { ProviderApi } from './client/Provider'; | ||
import { ProviderApi } from './client/Provider';; | ||
@@ -29,2 +30,3 @@ export class VitalClient { | ||
Body: BodyApi; | ||
Meals: MealsApi; | ||
Sleep: SleepApi; | ||
@@ -95,3 +97,4 @@ User: UserApi; | ||
this.Devices = new DevicesAPI(baseURL.concat('/v2'), axiosApiInstance); | ||
this.Meals = new MealsApi(baseURL.concat('/v2'), axiosApiInstance); | ||
} | ||
} |
{ | ||
"name": "@tryvital/vital-node", | ||
"version": "1.6.0", | ||
"version": "1.6.3", | ||
"description": "Node client for Vital", | ||
@@ -5,0 +5,0 @@ "author": "maitham", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
200837
125
5614