@tryvital/vital-node 3.1.427 → 3.1.429
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 +3 -3
- 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/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- 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 +41 -41
- package/api/resources/link/client/Client.js +19 -19
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/order/client/Client.js +1 -1
- package/api/resources/payor/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 +3 -3
- 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/user/client/Client.d.ts +54 -43
- package/api/resources/user/client/Client.js +222 -159
- package/api/resources/user/client/requests/CreateUserPortalUrlBody.d.ts +24 -0
- package/api/resources/user/client/requests/CreateUserPortalUrlBody.js +5 -0
- package/api/resources/user/client/requests/index.d.ts +2 -1
- package/api/resources/user/index.d.ts +1 -0
- package/api/resources/user/index.js +1 -0
- package/api/resources/user/types/CreateUserPortalUrlBodyContext.d.ts +17 -0
- package/api/resources/user/types/CreateUserPortalUrlBodyContext.js +10 -0
- package/api/resources/user/types/index.d.ts +1 -0
- package/api/resources/user/types/index.js +17 -0
- package/api/resources/vitals/client/Client.js +78 -78
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/CreateUserPortalUrlResponse.d.ts +7 -0
- package/api/types/CreateUserPortalUrlResponse.js +5 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +3 -3
- 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/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- 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 +41 -41
- package/dist/api/resources/link/client/Client.js +19 -19
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/order/client/Client.js +1 -1
- package/dist/api/resources/payor/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 +3 -3
- 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/user/client/Client.d.ts +54 -43
- package/dist/api/resources/user/client/Client.js +222 -159
- package/dist/api/resources/user/client/requests/CreateUserPortalUrlBody.d.ts +24 -0
- package/dist/api/resources/user/client/requests/CreateUserPortalUrlBody.js +5 -0
- package/dist/api/resources/user/client/requests/index.d.ts +2 -1
- package/dist/api/resources/user/index.d.ts +1 -0
- package/dist/api/resources/user/index.js +1 -0
- package/dist/api/resources/user/types/CreateUserPortalUrlBodyContext.d.ts +17 -0
- package/dist/api/resources/user/types/CreateUserPortalUrlBodyContext.js +10 -0
- package/dist/api/resources/user/types/index.d.ts +1 -0
- package/dist/api/resources/user/types/index.js +17 -0
- package/dist/api/resources/vitals/client/Client.js +78 -78
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/CreateUserPortalUrlResponse.d.ts +7 -0
- package/dist/api/types/CreateUserPortalUrlResponse.js +5 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/user/client/requests/CreateUserPortalUrlBody.d.ts +14 -0
- package/dist/serialization/resources/user/client/requests/CreateUserPortalUrlBody.js +35 -0
- package/dist/serialization/resources/user/client/requests/index.d.ts +2 -1
- package/dist/serialization/resources/user/client/requests/index.js +5 -3
- package/dist/serialization/resources/user/index.d.ts +1 -0
- package/dist/serialization/resources/user/index.js +1 -0
- package/dist/serialization/resources/user/types/CreateUserPortalUrlBodyContext.d.ts +10 -0
- package/dist/serialization/resources/user/types/CreateUserPortalUrlBodyContext.js +31 -0
- package/dist/serialization/resources/user/types/index.d.ts +1 -0
- package/dist/serialization/resources/user/types/index.js +17 -0
- package/dist/serialization/types/CreateUserPortalUrlResponse.d.ts +13 -0
- package/dist/serialization/types/CreateUserPortalUrlResponse.js +34 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +164 -121
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/user/client/requests/CreateUserPortalUrlBody.d.ts +14 -0
- package/serialization/resources/user/client/requests/CreateUserPortalUrlBody.js +35 -0
- package/serialization/resources/user/client/requests/index.d.ts +2 -1
- package/serialization/resources/user/client/requests/index.js +5 -3
- package/serialization/resources/user/index.d.ts +1 -0
- package/serialization/resources/user/index.js +1 -0
- package/serialization/resources/user/types/CreateUserPortalUrlBodyContext.d.ts +10 -0
- package/serialization/resources/user/types/CreateUserPortalUrlBodyContext.js +31 -0
- package/serialization/resources/user/types/index.d.ts +1 -0
- package/serialization/resources/user/types/index.js +17 -0
- package/serialization/types/CreateUserPortalUrlResponse.d.ts +13 -0
- package/serialization/types/CreateUserPortalUrlResponse.js +34 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vital from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* context: "launch"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface CreateUserPortalUrlBody {
|
|
12
|
+
/**
|
|
13
|
+
* `launch`: Generates a short-lived (minutes) portal URL that is intended for launching a user from your
|
|
14
|
+
* authenticated web context directly into the Junction User Portal. This URL is not suitable for asynchronous
|
|
15
|
+
* communications due to its verbosity as well as short-lived nature.
|
|
16
|
+
*
|
|
17
|
+
* `communications`: Generates a long-lived (weeks) but shortened portal URL that is suitable for Emails, SMS
|
|
18
|
+
* messages and other communication channels. Users may be asked to verify their identity with Email and SMS
|
|
19
|
+
* authentication, e.g., when they open a short link on a new device. ℹ️ This enum is non-exhaustive.
|
|
20
|
+
*/
|
|
21
|
+
context: Vital.CreateUserPortalUrlBodyContext;
|
|
22
|
+
/** If specified, the generated URL will deeplink to the specified Order. */
|
|
23
|
+
orderId?: string;
|
|
24
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export { type UserGetAllRequest } from "./UserGetAllRequest";
|
|
2
2
|
export { type UserCreateBody } from "./UserCreateBody";
|
|
3
|
-
export { type UserPatchBody } from "./UserPatchBody";
|
|
4
3
|
export { type CreateInsuranceRequest } from "./CreateInsuranceRequest";
|
|
5
4
|
export { type UserInfoCreateRequest } from "./UserInfoCreateRequest";
|
|
5
|
+
export { type UserPatchBody } from "./UserPatchBody";
|
|
6
6
|
export { type UserUndoDeleteRequest } from "./UserUndoDeleteRequest";
|
|
7
7
|
export { type UserRefreshRequest } from "./UserRefreshRequest";
|
|
8
|
+
export { type CreateUserPortalUrlBody } from "./CreateUserPortalUrlBody";
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* `launch`: Generates a short-lived (minutes) portal URL that is intended for launching a user from your
|
|
6
|
+
* authenticated web context directly into the Junction User Portal. This URL is not suitable for asynchronous
|
|
7
|
+
* communications due to its verbosity as well as short-lived nature.
|
|
8
|
+
*
|
|
9
|
+
* `communications`: Generates a long-lived (weeks) but shortened portal URL that is suitable for Emails, SMS
|
|
10
|
+
* messages and other communication channels. Users may be asked to verify their identity with Email and SMS
|
|
11
|
+
* authentication, e.g., when they open a short link on a new device. ℹ️ This enum is non-exhaustive.
|
|
12
|
+
*/
|
|
13
|
+
export declare type CreateUserPortalUrlBodyContext = "launch" | "communications";
|
|
14
|
+
export declare const CreateUserPortalUrlBodyContext: {
|
|
15
|
+
readonly Launch: "launch";
|
|
16
|
+
readonly Communications: "communications";
|
|
17
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CreateUserPortalUrlBodyContext = void 0;
|
|
7
|
+
exports.CreateUserPortalUrlBodyContext = {
|
|
8
|
+
Launch: "launch",
|
|
9
|
+
Communications: "communications",
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./CreateUserPortalUrlBodyContext";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./CreateUserPortalUrlBodyContext"), exports);
|