@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.
Files changed (114) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/aggregate/client/Client.js +3 -3
  3. package/api/resources/body/client/Client.js +2 -2
  4. package/api/resources/devices/client/Client.js +1 -1
  5. package/api/resources/electrocardiogram/client/Client.js +1 -1
  6. package/api/resources/index.d.ts +2 -1
  7. package/api/resources/index.js +3 -2
  8. package/api/resources/insurance/client/Client.js +3 -3
  9. package/api/resources/introspect/client/Client.js +2 -2
  10. package/api/resources/labTests/client/Client.js +41 -41
  11. package/api/resources/link/client/Client.js +19 -19
  12. package/api/resources/meal/client/Client.js +1 -1
  13. package/api/resources/menstrualCycle/client/Client.js +1 -1
  14. package/api/resources/order/client/Client.js +1 -1
  15. package/api/resources/payor/client/Client.js +1 -1
  16. package/api/resources/profile/client/Client.js +2 -2
  17. package/api/resources/providers/client/Client.js +1 -1
  18. package/api/resources/sleep/client/Client.js +3 -3
  19. package/api/resources/sleepCycle/client/Client.js +1 -1
  20. package/api/resources/team/client/Client.js +7 -7
  21. package/api/resources/testkit/client/Client.js +2 -2
  22. package/api/resources/user/client/Client.d.ts +54 -43
  23. package/api/resources/user/client/Client.js +222 -159
  24. package/api/resources/user/client/requests/CreateUserPortalUrlBody.d.ts +24 -0
  25. package/api/resources/user/client/requests/CreateUserPortalUrlBody.js +5 -0
  26. package/api/resources/user/client/requests/index.d.ts +2 -1
  27. package/api/resources/user/index.d.ts +1 -0
  28. package/api/resources/user/index.js +1 -0
  29. package/api/resources/user/types/CreateUserPortalUrlBodyContext.d.ts +17 -0
  30. package/api/resources/user/types/CreateUserPortalUrlBodyContext.js +10 -0
  31. package/api/resources/user/types/index.d.ts +1 -0
  32. package/api/resources/user/types/index.js +17 -0
  33. package/api/resources/vitals/client/Client.js +78 -78
  34. package/api/resources/workouts/client/Client.js +3 -3
  35. package/api/types/CreateUserPortalUrlResponse.d.ts +7 -0
  36. package/api/types/CreateUserPortalUrlResponse.js +5 -0
  37. package/api/types/index.d.ts +1 -0
  38. package/api/types/index.js +1 -0
  39. package/dist/api/resources/activity/client/Client.js +2 -2
  40. package/dist/api/resources/aggregate/client/Client.js +3 -3
  41. package/dist/api/resources/body/client/Client.js +2 -2
  42. package/dist/api/resources/devices/client/Client.js +1 -1
  43. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  44. package/dist/api/resources/index.d.ts +2 -1
  45. package/dist/api/resources/index.js +3 -2
  46. package/dist/api/resources/insurance/client/Client.js +3 -3
  47. package/dist/api/resources/introspect/client/Client.js +2 -2
  48. package/dist/api/resources/labTests/client/Client.js +41 -41
  49. package/dist/api/resources/link/client/Client.js +19 -19
  50. package/dist/api/resources/meal/client/Client.js +1 -1
  51. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  52. package/dist/api/resources/order/client/Client.js +1 -1
  53. package/dist/api/resources/payor/client/Client.js +1 -1
  54. package/dist/api/resources/profile/client/Client.js +2 -2
  55. package/dist/api/resources/providers/client/Client.js +1 -1
  56. package/dist/api/resources/sleep/client/Client.js +3 -3
  57. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  58. package/dist/api/resources/team/client/Client.js +7 -7
  59. package/dist/api/resources/testkit/client/Client.js +2 -2
  60. package/dist/api/resources/user/client/Client.d.ts +54 -43
  61. package/dist/api/resources/user/client/Client.js +222 -159
  62. package/dist/api/resources/user/client/requests/CreateUserPortalUrlBody.d.ts +24 -0
  63. package/dist/api/resources/user/client/requests/CreateUserPortalUrlBody.js +5 -0
  64. package/dist/api/resources/user/client/requests/index.d.ts +2 -1
  65. package/dist/api/resources/user/index.d.ts +1 -0
  66. package/dist/api/resources/user/index.js +1 -0
  67. package/dist/api/resources/user/types/CreateUserPortalUrlBodyContext.d.ts +17 -0
  68. package/dist/api/resources/user/types/CreateUserPortalUrlBodyContext.js +10 -0
  69. package/dist/api/resources/user/types/index.d.ts +1 -0
  70. package/dist/api/resources/user/types/index.js +17 -0
  71. package/dist/api/resources/vitals/client/Client.js +78 -78
  72. package/dist/api/resources/workouts/client/Client.js +3 -3
  73. package/dist/api/types/CreateUserPortalUrlResponse.d.ts +7 -0
  74. package/dist/api/types/CreateUserPortalUrlResponse.js +5 -0
  75. package/dist/api/types/index.d.ts +1 -0
  76. package/dist/api/types/index.js +1 -0
  77. package/dist/serialization/resources/index.d.ts +2 -1
  78. package/dist/serialization/resources/index.js +3 -2
  79. package/dist/serialization/resources/user/client/requests/CreateUserPortalUrlBody.d.ts +14 -0
  80. package/dist/serialization/resources/user/client/requests/CreateUserPortalUrlBody.js +35 -0
  81. package/dist/serialization/resources/user/client/requests/index.d.ts +2 -1
  82. package/dist/serialization/resources/user/client/requests/index.js +5 -3
  83. package/dist/serialization/resources/user/index.d.ts +1 -0
  84. package/dist/serialization/resources/user/index.js +1 -0
  85. package/dist/serialization/resources/user/types/CreateUserPortalUrlBodyContext.d.ts +10 -0
  86. package/dist/serialization/resources/user/types/CreateUserPortalUrlBodyContext.js +31 -0
  87. package/dist/serialization/resources/user/types/index.d.ts +1 -0
  88. package/dist/serialization/resources/user/types/index.js +17 -0
  89. package/dist/serialization/types/CreateUserPortalUrlResponse.d.ts +13 -0
  90. package/dist/serialization/types/CreateUserPortalUrlResponse.js +34 -0
  91. package/dist/serialization/types/index.d.ts +1 -0
  92. package/dist/serialization/types/index.js +1 -0
  93. package/dist/version.d.ts +1 -1
  94. package/dist/version.js +1 -1
  95. package/package.json +1 -1
  96. package/reference.md +164 -121
  97. package/serialization/resources/index.d.ts +2 -1
  98. package/serialization/resources/index.js +3 -2
  99. package/serialization/resources/user/client/requests/CreateUserPortalUrlBody.d.ts +14 -0
  100. package/serialization/resources/user/client/requests/CreateUserPortalUrlBody.js +35 -0
  101. package/serialization/resources/user/client/requests/index.d.ts +2 -1
  102. package/serialization/resources/user/client/requests/index.js +5 -3
  103. package/serialization/resources/user/index.d.ts +1 -0
  104. package/serialization/resources/user/index.js +1 -0
  105. package/serialization/resources/user/types/CreateUserPortalUrlBodyContext.d.ts +10 -0
  106. package/serialization/resources/user/types/CreateUserPortalUrlBodyContext.js +31 -0
  107. package/serialization/resources/user/types/index.d.ts +1 -0
  108. package/serialization/resources/user/types/index.js +17 -0
  109. package/serialization/types/CreateUserPortalUrlResponse.d.ts +13 -0
  110. package/serialization/types/CreateUserPortalUrlResponse.js +34 -0
  111. package/serialization/types/index.d.ts +1 -0
  112. package/serialization/types/index.js +1 -0
  113. package/version.d.ts +1 -1
  114. 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
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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";
@@ -1 +1,2 @@
1
+ export * from "./types";
1
2
  export * from "./client";
@@ -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);