@tryvital/vital-node 3.1.172 → 3.1.174
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/api/resources/activity/client/Client.js +2 -2
- package/api/resources/aggregate/client/Client.js +1 -1
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/electrocardiogram/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +3 -3
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +34 -34
- package/api/resources/link/client/Client.d.ts +3 -3
- package/api/resources/link/client/Client.js +17 -32
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/sleepCycle/client/Client.js +1 -1
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +1 -1
- package/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/vitals/client/Client.js +58 -58
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ShippingAddressWithValidation.d.ts +13 -0
- package/api/types/index.d.ts +1 -3
- package/api/types/index.js +1 -3
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +1 -1
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +3 -3
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +34 -34
- package/dist/api/resources/link/client/Client.d.ts +3 -3
- package/dist/api/resources/link/client/Client.js +17 -32
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/sleepCycle/client/Client.js +1 -1
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +1 -1
- package/dist/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/vitals/client/Client.js +58 -58
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ShippingAddressWithValidation.d.ts +13 -0
- package/dist/api/types/index.d.ts +1 -3
- package/dist/api/types/index.js +1 -3
- package/dist/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +2 -2
- package/dist/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.js +2 -2
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +4 -4
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +4 -4
- package/dist/serialization/types/ShippingAddressWithValidation.d.ts +19 -0
- package/dist/serialization/types/{PatientDetails.js → ShippingAddressWithValidation.js} +9 -8
- package/dist/serialization/types/index.d.ts +1 -3
- package/dist/serialization/types/index.js +1 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +3 -3
- package/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +2 -2
- package/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.js +2 -2
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +4 -4
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +4 -4
- package/serialization/types/ShippingAddressWithValidation.d.ts +19 -0
- package/serialization/types/{PatientDetails.js → ShippingAddressWithValidation.js} +9 -8
- package/serialization/types/index.d.ts +1 -3
- package/serialization/types/index.js +1 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/ConnectionStatus.d.ts +0 -12
- package/api/types/ConnectionStatusState.d.ts +0 -9
- package/api/types/ConnectionStatusState.js +0 -11
- package/api/types/PatientDetails.d.ts +0 -12
- package/dist/api/types/ConnectionStatus.d.ts +0 -12
- package/dist/api/types/ConnectionStatus.js +0 -5
- package/dist/api/types/ConnectionStatusState.d.ts +0 -9
- package/dist/api/types/ConnectionStatusState.js +0 -11
- package/dist/api/types/PatientDetails.d.ts +0 -12
- package/dist/api/types/PatientDetails.js +0 -5
- package/dist/serialization/types/ConnectionStatus.d.ts +0 -19
- package/dist/serialization/types/ConnectionStatus.js +0 -40
- package/dist/serialization/types/ConnectionStatusState.d.ts +0 -10
- package/dist/serialization/types/ConnectionStatusState.js +0 -31
- package/dist/serialization/types/PatientDetails.d.ts +0 -18
- package/serialization/types/ConnectionStatus.d.ts +0 -19
- package/serialization/types/ConnectionStatus.js +0 -40
- package/serialization/types/ConnectionStatusState.d.ts +0 -10
- package/serialization/types/ConnectionStatusState.js +0 -31
- package/serialization/types/PatientDetails.d.ts +0 -18
- /package/api/types/{ConnectionStatus.js → ShippingAddressWithValidation.js} +0 -0
- /package/{api/types/PatientDetails.js → dist/api/types/ShippingAddressWithValidation.js} +0 -0
@@ -1,19 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Vital from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
import { ConnectionStatusState } from "./ConnectionStatusState";
|
8
|
-
import { ProviderMfaRequest } from "./ProviderMfaRequest";
|
9
|
-
export declare const ConnectionStatus: core.serialization.ObjectSchema<serializers.ConnectionStatus.Raw, Vital.ConnectionStatus>;
|
10
|
-
export declare namespace ConnectionStatus {
|
11
|
-
interface Raw {
|
12
|
-
state: ConnectionStatusState.Raw;
|
13
|
-
redirect_url?: string | null;
|
14
|
-
error_type?: string | null;
|
15
|
-
error?: string | null;
|
16
|
-
provider_mfa?: ProviderMfaRequest.Raw | null;
|
17
|
-
success: boolean;
|
18
|
-
}
|
19
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
-
if (mod && mod.__esModule) return mod;
|
23
|
-
var result = {};
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
-
__setModuleDefault(result, mod);
|
26
|
-
return result;
|
27
|
-
};
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.ConnectionStatus = void 0;
|
30
|
-
const core = __importStar(require("../../core"));
|
31
|
-
const ConnectionStatusState_1 = require("./ConnectionStatusState");
|
32
|
-
const ProviderMfaRequest_1 = require("./ProviderMfaRequest");
|
33
|
-
exports.ConnectionStatus = core.serialization.object({
|
34
|
-
state: ConnectionStatusState_1.ConnectionStatusState,
|
35
|
-
redirectUrl: core.serialization.property("redirect_url", core.serialization.string().optional()),
|
36
|
-
errorType: core.serialization.property("error_type", core.serialization.string().optional()),
|
37
|
-
error: core.serialization.string().optional(),
|
38
|
-
providerMfa: core.serialization.property("provider_mfa", ProviderMfaRequest_1.ProviderMfaRequest.optional()),
|
39
|
-
success: core.serialization.boolean(),
|
40
|
-
});
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Vital from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
export declare const ConnectionStatusState: core.serialization.Schema<serializers.ConnectionStatusState.Raw, Vital.ConnectionStatusState>;
|
8
|
-
export declare namespace ConnectionStatusState {
|
9
|
-
type Raw = "success" | "error" | "pending_provider_mfa";
|
10
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
-
if (mod && mod.__esModule) return mod;
|
23
|
-
var result = {};
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
-
__setModuleDefault(result, mod);
|
26
|
-
return result;
|
27
|
-
};
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.ConnectionStatusState = void 0;
|
30
|
-
const core = __importStar(require("../../core"));
|
31
|
-
exports.ConnectionStatusState = core.serialization.enum_(["success", "error", "pending_provider_mfa"]);
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Vital from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
import { Gender } from "./Gender";
|
8
|
-
export declare const PatientDetails: core.serialization.ObjectSchema<serializers.PatientDetails.Raw, Vital.PatientDetails>;
|
9
|
-
export declare namespace PatientDetails {
|
10
|
-
interface Raw {
|
11
|
-
first_name: string;
|
12
|
-
last_name: string;
|
13
|
-
dob: string;
|
14
|
-
gender: Gender.Raw;
|
15
|
-
phone_number: string;
|
16
|
-
email: string;
|
17
|
-
}
|
18
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Vital from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
import { ConnectionStatusState } from "./ConnectionStatusState";
|
8
|
-
import { ProviderMfaRequest } from "./ProviderMfaRequest";
|
9
|
-
export declare const ConnectionStatus: core.serialization.ObjectSchema<serializers.ConnectionStatus.Raw, Vital.ConnectionStatus>;
|
10
|
-
export declare namespace ConnectionStatus {
|
11
|
-
interface Raw {
|
12
|
-
state: ConnectionStatusState.Raw;
|
13
|
-
redirect_url?: string | null;
|
14
|
-
error_type?: string | null;
|
15
|
-
error?: string | null;
|
16
|
-
provider_mfa?: ProviderMfaRequest.Raw | null;
|
17
|
-
success: boolean;
|
18
|
-
}
|
19
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
-
if (mod && mod.__esModule) return mod;
|
23
|
-
var result = {};
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
-
__setModuleDefault(result, mod);
|
26
|
-
return result;
|
27
|
-
};
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.ConnectionStatus = void 0;
|
30
|
-
const core = __importStar(require("../../core"));
|
31
|
-
const ConnectionStatusState_1 = require("./ConnectionStatusState");
|
32
|
-
const ProviderMfaRequest_1 = require("./ProviderMfaRequest");
|
33
|
-
exports.ConnectionStatus = core.serialization.object({
|
34
|
-
state: ConnectionStatusState_1.ConnectionStatusState,
|
35
|
-
redirectUrl: core.serialization.property("redirect_url", core.serialization.string().optional()),
|
36
|
-
errorType: core.serialization.property("error_type", core.serialization.string().optional()),
|
37
|
-
error: core.serialization.string().optional(),
|
38
|
-
providerMfa: core.serialization.property("provider_mfa", ProviderMfaRequest_1.ProviderMfaRequest.optional()),
|
39
|
-
success: core.serialization.boolean(),
|
40
|
-
});
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Vital from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
export declare const ConnectionStatusState: core.serialization.Schema<serializers.ConnectionStatusState.Raw, Vital.ConnectionStatusState>;
|
8
|
-
export declare namespace ConnectionStatusState {
|
9
|
-
type Raw = "success" | "error" | "pending_provider_mfa";
|
10
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
-
if (mod && mod.__esModule) return mod;
|
23
|
-
var result = {};
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
-
__setModuleDefault(result, mod);
|
26
|
-
return result;
|
27
|
-
};
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.ConnectionStatusState = void 0;
|
30
|
-
const core = __importStar(require("../../core"));
|
31
|
-
exports.ConnectionStatusState = core.serialization.enum_(["success", "error", "pending_provider_mfa"]);
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Vital from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
import { Gender } from "./Gender";
|
8
|
-
export declare const PatientDetails: core.serialization.ObjectSchema<serializers.PatientDetails.Raw, Vital.PatientDetails>;
|
9
|
-
export declare namespace PatientDetails {
|
10
|
-
interface Raw {
|
11
|
-
first_name: string;
|
12
|
-
last_name: string;
|
13
|
-
dob: string;
|
14
|
-
gender: Gender.Raw;
|
15
|
-
phone_number: string;
|
16
|
-
email: string;
|
17
|
-
}
|
18
|
-
}
|
File without changes
|
File without changes
|