Skip to content

Commit

Permalink
Release 3.1.43
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jul 8, 2024
1 parent 0c50859 commit 36582c8
Show file tree
Hide file tree
Showing 65 changed files with 1,010 additions and 147 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tryvital/vital-node",
"version": "3.1.42",
"version": "3.1.43",
"private": false,
"repository": "https://github.com/tryVital/vital-node",
"main": "./index.js",
Expand Down
7 changes: 7 additions & 0 deletions src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { Workouts } from "./api/resources/workouts/client/Client";
import { Sleep } from "./api/resources/sleep/client/Client";
import { Body } from "./api/resources/body/client/Client";
import { Meal } from "./api/resources/meal/client/Client";
import { MenstrualCycle } from "./api/resources/menstrualCycle/client/Client";
import { Vitals } from "./api/resources/vitals/client/Client";
import { User } from "./api/resources/user/client/Client";
import { Team } from "./api/resources/team/client/Client";
Expand Down Expand Up @@ -84,6 +85,12 @@ export class VitalClient {
return (this._meal ??= new Meal(this._options));
}

protected _menstrualCycle: MenstrualCycle | undefined;

public get menstrualCycle(): MenstrualCycle {
return (this._menstrualCycle ??= new MenstrualCycle(this._options));
}

protected _vitals: Vitals | undefined;

public get vitals(): Vitals {
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/activity/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class Activity {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -145,7 +145,7 @@ export class Activity {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/body/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class Body {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -145,7 +145,7 @@ export class Body {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/devices/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class Devices {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
2 changes: 2 additions & 0 deletions src/api/resources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export * as workouts from "./workouts";
export * as sleep from "./sleep";
export * as body from "./body";
export * as meal from "./meal";
export * as menstrualCycle from "./menstrualCycle";
export * as vitals from "./vitals";
export * as user from "./user";
export * as team from "./team";
Expand All @@ -22,6 +23,7 @@ export * from "./workouts/client/requests";
export * from "./sleep/client/requests";
export * from "./body/client/requests";
export * from "./meal/client/requests";
export * from "./menstrualCycle/client/requests";
export * from "./vitals/client/requests";
export * from "./user/client/requests";
export * from "./team/client/requests";
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/insurance/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class Insurance {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -122,7 +122,7 @@ export class Insurance {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/introspect/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class Introspect {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -159,7 +159,7 @@ export class Introspect {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
54 changes: 27 additions & 27 deletions src/api/resources/labTests/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -105,7 +105,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -200,7 +200,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -283,7 +283,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -357,7 +357,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -425,7 +425,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -485,7 +485,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -563,7 +563,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -639,7 +639,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -721,7 +721,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -797,7 +797,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -875,7 +875,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -946,7 +946,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1009,7 +1009,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1099,7 +1099,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1182,7 +1182,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1261,7 +1261,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1328,7 +1328,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1397,7 +1397,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1466,7 +1466,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1543,7 +1543,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1609,7 +1609,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1671,7 +1671,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1740,7 +1740,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1812,7 +1812,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1895,7 +1895,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -2001,7 +2001,7 @@ export class LabTests {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@tryvital/vital-node",
"X-Fern-SDK-Version": "3.1.42",
"X-Fern-SDK-Version": "3.1.43",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
Loading

0 comments on commit 36582c8

Please sign in to comment.