@tryvital/vital-node 3.0.3 → 3.0.5

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 (127) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/body/client/Client.js +2 -2
  3. package/api/resources/devices/client/Client.js +1 -1
  4. package/api/resources/insurance/client/Client.js +2 -2
  5. package/api/resources/introspect/client/Client.js +1 -1
  6. package/api/resources/labTests/client/Client.js +31 -24
  7. package/api/resources/labTests/client/requests/LabTestsGetMarkersRequest.d.ts +1 -1
  8. package/api/resources/link/client/Client.d.ts +5 -10
  9. package/api/resources/link/client/Client.js +85 -85
  10. package/api/resources/link/client/requests/EmailAuthLink.d.ts +1 -0
  11. package/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +1 -0
  12. package/api/resources/link/client/requests/IndividualProviderData.d.ts +1 -0
  13. package/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.d.ts +6 -0
  14. package/api/resources/link/client/requests/LinkGetAllProvidersRequest.d.ts +6 -0
  15. package/api/resources/link/client/requests/LinkTokenStateRequest.d.ts +6 -0
  16. package/api/resources/link/client/requests/LinkTokenStateRequest.js +5 -0
  17. package/api/resources/link/client/requests/PasswordAuthLink.d.ts +1 -0
  18. package/api/resources/link/client/requests/index.d.ts +3 -1
  19. package/api/resources/meal/client/Client.js +1 -1
  20. package/api/resources/profile/client/Client.js +2 -2
  21. package/api/resources/providers/client/Client.js +1 -1
  22. package/api/resources/sleep/client/Client.js +4 -4
  23. package/api/resources/team/client/Client.d.ts +2 -1
  24. package/api/resources/team/client/Client.js +30 -13
  25. package/api/resources/team/client/requests/TeamGetLinkConfigRequest.d.ts +6 -0
  26. package/api/resources/team/client/requests/TeamGetLinkConfigRequest.js +5 -0
  27. package/api/resources/team/client/requests/index.d.ts +1 -0
  28. package/api/resources/testkit/client/Client.js +2 -2
  29. package/api/resources/user/client/Client.js +11 -11
  30. package/api/resources/vitals/client/Client.js +23 -23
  31. package/api/resources/workouts/client/Client.js +3 -3
  32. package/api/types/EventDestinationPreferences.d.ts +8 -0
  33. package/api/types/EventDestinationPreferences.js +5 -0
  34. package/api/types/EventDestinationPreferencesEnabledItem.d.ts +9 -0
  35. package/api/types/EventDestinationPreferencesEnabledItem.js +11 -0
  36. package/api/types/EventDestinationPreferencesPreferred.d.ts +9 -0
  37. package/api/types/EventDestinationPreferencesPreferred.js +11 -0
  38. package/api/types/PatientAddressCompatible.d.ts +2 -2
  39. package/api/types/TeamConfig.d.ts +3 -0
  40. package/api/types/index.d.ts +3 -0
  41. package/api/types/index.js +3 -0
  42. package/dist/api/resources/activity/client/Client.js +2 -2
  43. package/dist/api/resources/body/client/Client.js +2 -2
  44. package/dist/api/resources/devices/client/Client.js +1 -1
  45. package/dist/api/resources/insurance/client/Client.js +2 -2
  46. package/dist/api/resources/introspect/client/Client.js +1 -1
  47. package/dist/api/resources/labTests/client/Client.js +31 -24
  48. package/dist/api/resources/labTests/client/requests/LabTestsGetMarkersRequest.d.ts +1 -1
  49. package/dist/api/resources/link/client/Client.d.ts +5 -10
  50. package/dist/api/resources/link/client/Client.js +85 -85
  51. package/dist/api/resources/link/client/requests/EmailAuthLink.d.ts +1 -0
  52. package/dist/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +1 -0
  53. package/dist/api/resources/link/client/requests/IndividualProviderData.d.ts +1 -0
  54. package/dist/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.d.ts +6 -0
  55. package/dist/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.js +5 -0
  56. package/dist/api/resources/link/client/requests/LinkGetAllProvidersRequest.d.ts +6 -0
  57. package/dist/api/resources/link/client/requests/LinkGetAllProvidersRequest.js +5 -0
  58. package/dist/api/resources/link/client/requests/LinkTokenStateRequest.d.ts +6 -0
  59. package/dist/api/resources/link/client/requests/LinkTokenStateRequest.js +5 -0
  60. package/dist/api/resources/link/client/requests/PasswordAuthLink.d.ts +1 -0
  61. package/dist/api/resources/link/client/requests/index.d.ts +3 -1
  62. package/dist/api/resources/meal/client/Client.js +1 -1
  63. package/dist/api/resources/profile/client/Client.js +2 -2
  64. package/dist/api/resources/providers/client/Client.js +1 -1
  65. package/dist/api/resources/sleep/client/Client.js +4 -4
  66. package/dist/api/resources/team/client/Client.d.ts +2 -1
  67. package/dist/api/resources/team/client/Client.js +30 -13
  68. package/dist/api/resources/team/client/requests/TeamGetLinkConfigRequest.d.ts +6 -0
  69. package/dist/api/resources/team/client/requests/TeamGetLinkConfigRequest.js +5 -0
  70. package/dist/api/resources/team/client/requests/index.d.ts +1 -0
  71. package/dist/api/resources/testkit/client/Client.js +2 -2
  72. package/dist/api/resources/user/client/Client.js +11 -11
  73. package/dist/api/resources/vitals/client/Client.js +23 -23
  74. package/dist/api/resources/workouts/client/Client.js +3 -3
  75. package/dist/api/types/EventDestinationPreferences.d.ts +8 -0
  76. package/dist/api/types/EventDestinationPreferences.js +5 -0
  77. package/dist/api/types/EventDestinationPreferencesEnabledItem.d.ts +9 -0
  78. package/dist/api/types/EventDestinationPreferencesEnabledItem.js +11 -0
  79. package/dist/api/types/EventDestinationPreferencesPreferred.d.ts +9 -0
  80. package/dist/api/types/EventDestinationPreferencesPreferred.js +11 -0
  81. package/dist/api/types/PatientAddressCompatible.d.ts +2 -2
  82. package/dist/api/types/TeamConfig.d.ts +3 -0
  83. package/dist/api/types/index.d.ts +3 -0
  84. package/dist/api/types/index.js +3 -0
  85. package/dist/serialization/resources/link/client/index.d.ts +0 -1
  86. package/dist/serialization/resources/link/client/index.js +1 -2
  87. package/dist/serialization/resources/link/client/requests/EmailAuthLink.d.ts +1 -1
  88. package/dist/serialization/resources/link/client/requests/EmailProviderAuthLink.d.ts +1 -1
  89. package/dist/serialization/resources/link/client/requests/IndividualProviderData.d.ts +1 -1
  90. package/dist/serialization/resources/link/client/requests/PasswordAuthLink.d.ts +1 -1
  91. package/dist/serialization/types/EventDestinationPreferences.d.ts +13 -0
  92. package/dist/serialization/types/EventDestinationPreferences.js +43 -0
  93. package/dist/serialization/types/EventDestinationPreferencesEnabledItem.d.ts +10 -0
  94. package/dist/serialization/types/EventDestinationPreferencesEnabledItem.js +31 -0
  95. package/dist/serialization/types/EventDestinationPreferencesPreferred.d.ts +10 -0
  96. package/dist/serialization/{resources/link/client/connectOauthProvider.js → types/EventDestinationPreferencesPreferred.js} +3 -3
  97. package/dist/serialization/types/PatientAddressCompatible.d.ts +2 -2
  98. package/dist/serialization/types/PatientAddressCompatible.js +2 -2
  99. package/dist/serialization/types/TeamConfig.d.ts +3 -0
  100. package/dist/serialization/types/TeamConfig.js +3 -0
  101. package/dist/serialization/types/index.d.ts +3 -0
  102. package/dist/serialization/types/index.js +3 -0
  103. package/package.json +1 -1
  104. package/serialization/resources/link/client/index.d.ts +0 -1
  105. package/serialization/resources/link/client/index.js +1 -2
  106. package/serialization/resources/link/client/requests/EmailAuthLink.d.ts +1 -1
  107. package/serialization/resources/link/client/requests/EmailProviderAuthLink.d.ts +1 -1
  108. package/serialization/resources/link/client/requests/IndividualProviderData.d.ts +1 -1
  109. package/serialization/resources/link/client/requests/PasswordAuthLink.d.ts +1 -1
  110. package/serialization/types/EventDestinationPreferences.d.ts +13 -0
  111. package/serialization/types/EventDestinationPreferences.js +43 -0
  112. package/serialization/types/EventDestinationPreferencesEnabledItem.d.ts +10 -0
  113. package/serialization/types/EventDestinationPreferencesEnabledItem.js +31 -0
  114. package/serialization/types/EventDestinationPreferencesPreferred.d.ts +10 -0
  115. package/serialization/{resources/link/client/connectOauthProvider.js → types/EventDestinationPreferencesPreferred.js} +3 -3
  116. package/serialization/types/PatientAddressCompatible.d.ts +2 -2
  117. package/serialization/types/PatientAddressCompatible.js +2 -2
  118. package/serialization/types/TeamConfig.d.ts +3 -0
  119. package/serialization/types/TeamConfig.js +3 -0
  120. package/serialization/types/index.d.ts +3 -0
  121. package/serialization/types/index.js +3 -0
  122. package/api/resources/link/client/requests/LinkConnectOauthProviderRequest.d.ts +0 -6
  123. package/dist/api/resources/link/client/requests/LinkConnectOauthProviderRequest.d.ts +0 -6
  124. package/dist/serialization/resources/link/client/connectOauthProvider.d.ts +0 -9
  125. package/serialization/resources/link/client/connectOauthProvider.d.ts +0 -9
  126. /package/api/resources/link/client/requests/{LinkConnectOauthProviderRequest.js → LinkGenerateOauthLinkRequest.js} +0 -0
  127. /package/{dist/api/resources/link/client/requests/LinkConnectOauthProviderRequest.js → api/resources/link/client/requests/LinkGetAllProvidersRequest.js} +0 -0
@@ -73,7 +73,7 @@ class Activity {
73
73
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "@tryvital/vital-node",
76
- "X-Fern-SDK-Version": "3.0.3",
76
+ "X-Fern-SDK-Version": "3.0.5",
77
77
  },
78
78
  contentType: "application/json",
79
79
  queryParameters: _queryParams,
@@ -141,7 +141,7 @@ class Activity {
141
141
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
142
142
  "X-Fern-Language": "JavaScript",
143
143
  "X-Fern-SDK-Name": "@tryvital/vital-node",
144
- "X-Fern-SDK-Version": "3.0.3",
144
+ "X-Fern-SDK-Version": "3.0.5",
145
145
  },
146
146
  contentType: "application/json",
147
147
  queryParameters: _queryParams,
@@ -73,7 +73,7 @@ class Body {
73
73
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "@tryvital/vital-node",
76
- "X-Fern-SDK-Version": "3.0.3",
76
+ "X-Fern-SDK-Version": "3.0.5",
77
77
  },
78
78
  contentType: "application/json",
79
79
  queryParameters: _queryParams,
@@ -141,7 +141,7 @@ class Body {
141
141
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
142
142
  "X-Fern-Language": "JavaScript",
143
143
  "X-Fern-SDK-Name": "@tryvital/vital-node",
144
- "X-Fern-SDK-Version": "3.0.3",
144
+ "X-Fern-SDK-Version": "3.0.5",
145
145
  },
146
146
  contentType: "application/json",
147
147
  queryParameters: _queryParams,
@@ -69,7 +69,7 @@ class Devices {
69
69
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
70
70
  "X-Fern-Language": "JavaScript",
71
71
  "X-Fern-SDK-Name": "@tryvital/vital-node",
72
- "X-Fern-SDK-Version": "3.0.3",
72
+ "X-Fern-SDK-Version": "3.0.5",
73
73
  },
74
74
  contentType: "application/json",
75
75
  queryParameters: _queryParams,
@@ -63,7 +63,7 @@ class Insurance {
63
63
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
64
64
  "X-Fern-Language": "JavaScript",
65
65
  "X-Fern-SDK-Name": "@tryvital/vital-node",
66
- "X-Fern-SDK-Version": "3.0.3",
66
+ "X-Fern-SDK-Version": "3.0.5",
67
67
  },
68
68
  contentType: "application/json",
69
69
  body: yield serializers.PayorSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -124,7 +124,7 @@ class Insurance {
124
124
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
125
125
  "X-Fern-Language": "JavaScript",
126
126
  "X-Fern-SDK-Name": "@tryvital/vital-node",
127
- "X-Fern-SDK-Version": "3.0.3",
127
+ "X-Fern-SDK-Version": "3.0.5",
128
128
  },
129
129
  contentType: "application/json",
130
130
  queryParameters: _queryParams,
@@ -77,7 +77,7 @@ class Introspect {
77
77
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
78
78
  "X-Fern-Language": "JavaScript",
79
79
  "X-Fern-SDK-Name": "@tryvital/vital-node",
80
- "X-Fern-SDK-Version": "3.0.3",
80
+ "X-Fern-SDK-Version": "3.0.5",
81
81
  },
82
82
  contentType: "application/json",
83
83
  queryParameters: _queryParams,
@@ -63,7 +63,7 @@ class LabTests {
63
63
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
64
64
  "X-Fern-Language": "JavaScript",
65
65
  "X-Fern-SDK-Name": "@tryvital/vital-node",
66
- "X-Fern-SDK-Version": "3.0.3",
66
+ "X-Fern-SDK-Version": "3.0.5",
67
67
  },
68
68
  contentType: "application/json",
69
69
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -110,7 +110,7 @@ class LabTests {
110
110
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
111
111
  "X-Fern-Language": "JavaScript",
112
112
  "X-Fern-SDK-Name": "@tryvital/vital-node",
113
- "X-Fern-SDK-Version": "3.0.3",
113
+ "X-Fern-SDK-Version": "3.0.5",
114
114
  },
115
115
  contentType: "application/json",
116
116
  body: yield serializers.CreateLabTestRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -165,7 +165,14 @@ class LabTests {
165
165
  const { labId, name, page, size } = request;
166
166
  const _queryParams = new url_search_params_1.default();
167
167
  if (labId != null) {
168
- _queryParams.append("lab_id", labId.toString());
168
+ if (Array.isArray(labId)) {
169
+ for (const _item of labId) {
170
+ _queryParams.append("lab_id", _item.toString());
171
+ }
172
+ }
173
+ else {
174
+ _queryParams.append("lab_id", labId.toString());
175
+ }
169
176
  }
170
177
  if (name != null) {
171
178
  _queryParams.append("name", name);
@@ -183,7 +190,7 @@ class LabTests {
183
190
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
184
191
  "X-Fern-Language": "JavaScript",
185
192
  "X-Fern-SDK-Name": "@tryvital/vital-node",
186
- "X-Fern-SDK-Version": "3.0.3",
193
+ "X-Fern-SDK-Version": "3.0.5",
187
194
  },
188
195
  contentType: "application/json",
189
196
  queryParameters: _queryParams,
@@ -249,7 +256,7 @@ class LabTests {
249
256
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
250
257
  "X-Fern-Language": "JavaScript",
251
258
  "X-Fern-SDK-Name": "@tryvital/vital-node",
252
- "X-Fern-SDK-Version": "3.0.3",
259
+ "X-Fern-SDK-Version": "3.0.5",
253
260
  },
254
261
  contentType: "application/json",
255
262
  queryParameters: _queryParams,
@@ -308,7 +315,7 @@ class LabTests {
308
315
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
309
316
  "X-Fern-Language": "JavaScript",
310
317
  "X-Fern-SDK-Name": "@tryvital/vital-node",
311
- "X-Fern-SDK-Version": "3.0.3",
318
+ "X-Fern-SDK-Version": "3.0.5",
312
319
  },
313
320
  contentType: "application/json",
314
321
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -365,7 +372,7 @@ class LabTests {
365
372
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
366
373
  "X-Fern-Language": "JavaScript",
367
374
  "X-Fern-SDK-Name": "@tryvital/vital-node",
368
- "X-Fern-SDK-Version": "3.0.3",
375
+ "X-Fern-SDK-Version": "3.0.5",
369
376
  },
370
377
  contentType: "application/json",
371
378
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -413,7 +420,7 @@ class LabTests {
413
420
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
414
421
  "X-Fern-Language": "JavaScript",
415
422
  "X-Fern-SDK-Name": "@tryvital/vital-node",
416
- "X-Fern-SDK-Version": "3.0.3",
423
+ "X-Fern-SDK-Version": "3.0.5",
417
424
  },
418
425
  contentType: "application/json",
419
426
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -472,7 +479,7 @@ class LabTests {
472
479
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
473
480
  "X-Fern-Language": "JavaScript",
474
481
  "X-Fern-SDK-Name": "@tryvital/vital-node",
475
- "X-Fern-SDK-Version": "3.0.3",
482
+ "X-Fern-SDK-Version": "3.0.5",
476
483
  },
477
484
  contentType: "application/json",
478
485
  body: yield serializers.UsAddress.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -531,7 +538,7 @@ class LabTests {
531
538
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
532
539
  "X-Fern-Language": "JavaScript",
533
540
  "X-Fern-SDK-Name": "@tryvital/vital-node",
534
- "X-Fern-SDK-Version": "3.0.3",
541
+ "X-Fern-SDK-Version": "3.0.5",
535
542
  },
536
543
  contentType: "application/json",
537
544
  body: yield serializers.AppointmentBookingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -590,7 +597,7 @@ class LabTests {
590
597
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
591
598
  "X-Fern-Language": "JavaScript",
592
599
  "X-Fern-SDK-Name": "@tryvital/vital-node",
593
- "X-Fern-SDK-Version": "3.0.3",
600
+ "X-Fern-SDK-Version": "3.0.5",
594
601
  },
595
602
  contentType: "application/json",
596
603
  body: yield serializers.AppointmentRescheduleRequest.jsonOrThrow(request, {
@@ -651,7 +658,7 @@ class LabTests {
651
658
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
652
659
  "X-Fern-Language": "JavaScript",
653
660
  "X-Fern-SDK-Name": "@tryvital/vital-node",
654
- "X-Fern-SDK-Version": "3.0.3",
661
+ "X-Fern-SDK-Version": "3.0.5",
655
662
  },
656
663
  contentType: "application/json",
657
664
  body: yield serializers.AppointmentCancelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -709,7 +716,7 @@ class LabTests {
709
716
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
710
717
  "X-Fern-Language": "JavaScript",
711
718
  "X-Fern-SDK-Name": "@tryvital/vital-node",
712
- "X-Fern-SDK-Version": "3.0.3",
719
+ "X-Fern-SDK-Version": "3.0.5",
713
720
  },
714
721
  contentType: "application/json",
715
722
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -757,7 +764,7 @@ class LabTests {
757
764
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
758
765
  "X-Fern-Language": "JavaScript",
759
766
  "X-Fern-SDK-Name": "@tryvital/vital-node",
760
- "X-Fern-SDK-Version": "3.0.3",
767
+ "X-Fern-SDK-Version": "3.0.5",
761
768
  },
762
769
  contentType: "application/json",
763
770
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -821,7 +828,7 @@ class LabTests {
821
828
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
822
829
  "X-Fern-Language": "JavaScript",
823
830
  "X-Fern-SDK-Name": "@tryvital/vital-node",
824
- "X-Fern-SDK-Version": "3.0.3",
831
+ "X-Fern-SDK-Version": "3.0.5",
825
832
  },
826
833
  contentType: "application/json",
827
834
  queryParameters: _queryParams,
@@ -880,7 +887,7 @@ class LabTests {
880
887
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
881
888
  "X-Fern-Language": "JavaScript",
882
889
  "X-Fern-SDK-Name": "@tryvital/vital-node",
883
- "X-Fern-SDK-Version": "3.0.3",
890
+ "X-Fern-SDK-Version": "3.0.5",
884
891
  },
885
892
  contentType: "application/json",
886
893
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -934,7 +941,7 @@ class LabTests {
934
941
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
935
942
  "X-Fern-Language": "JavaScript",
936
943
  "X-Fern-SDK-Name": "@tryvital/vital-node",
937
- "X-Fern-SDK-Version": "3.0.3",
944
+ "X-Fern-SDK-Version": "3.0.5",
938
945
  },
939
946
  contentType: "application/json",
940
947
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -992,7 +999,7 @@ class LabTests {
992
999
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
993
1000
  "X-Fern-Language": "JavaScript",
994
1001
  "X-Fern-SDK-Name": "@tryvital/vital-node",
995
- "X-Fern-SDK-Version": "3.0.3",
1002
+ "X-Fern-SDK-Version": "3.0.5",
996
1003
  },
997
1004
  contentType: "application/json",
998
1005
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1050,7 +1057,7 @@ class LabTests {
1050
1057
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
1051
1058
  "X-Fern-Language": "JavaScript",
1052
1059
  "X-Fern-SDK-Name": "@tryvital/vital-node",
1053
- "X-Fern-SDK-Version": "3.0.3",
1060
+ "X-Fern-SDK-Version": "3.0.5",
1054
1061
  },
1055
1062
  contentType: "application/json",
1056
1063
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1103,7 +1110,7 @@ class LabTests {
1103
1110
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
1104
1111
  "X-Fern-Language": "JavaScript",
1105
1112
  "X-Fern-SDK-Name": "@tryvital/vital-node",
1106
- "X-Fern-SDK-Version": "3.0.3",
1113
+ "X-Fern-SDK-Version": "3.0.5",
1107
1114
  },
1108
1115
  contentType: "application/json",
1109
1116
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1161,7 +1168,7 @@ class LabTests {
1161
1168
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
1162
1169
  "X-Fern-Language": "JavaScript",
1163
1170
  "X-Fern-SDK-Name": "@tryvital/vital-node",
1164
- "X-Fern-SDK-Version": "3.0.3",
1171
+ "X-Fern-SDK-Version": "3.0.5",
1165
1172
  },
1166
1173
  contentType: "application/json",
1167
1174
  body: yield serializers.CreateOrderRequestCompatible.jsonOrThrow(request, {
@@ -1222,7 +1229,7 @@ class LabTests {
1222
1229
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
1223
1230
  "X-Fern-Language": "JavaScript",
1224
1231
  "X-Fern-SDK-Name": "@tryvital/vital-node",
1225
- "X-Fern-SDK-Version": "3.0.3",
1232
+ "X-Fern-SDK-Version": "3.0.5",
1226
1233
  },
1227
1234
  contentType: "application/json",
1228
1235
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1288,7 +1295,7 @@ class LabTests {
1288
1295
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
1289
1296
  "X-Fern-Language": "JavaScript",
1290
1297
  "X-Fern-SDK-Name": "@tryvital/vital-node",
1291
- "X-Fern-SDK-Version": "3.0.3",
1298
+ "X-Fern-SDK-Version": "3.0.5",
1292
1299
  },
1293
1300
  contentType: "application/json",
1294
1301
  queryParameters: _queryParams,
@@ -1372,7 +1379,7 @@ class LabTests {
1372
1379
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
1373
1380
  "X-Fern-Language": "JavaScript",
1374
1381
  "X-Fern-SDK-Name": "@tryvital/vital-node",
1375
- "X-Fern-SDK-Version": "3.0.3",
1382
+ "X-Fern-SDK-Version": "3.0.5",
1376
1383
  },
1377
1384
  contentType: "application/json",
1378
1385
  queryParameters: _queryParams,
@@ -5,7 +5,7 @@ export interface LabTestsGetMarkersRequest {
5
5
  /**
6
6
  * The identifier Vital assigned to a lab partner.
7
7
  */
8
- labId?: number;
8
+ labId?: number | number[];
9
9
  /**
10
10
  * The name of an individual biomarker or a panel. Used as a fuzzy filter when searching markers.
11
11
  */
@@ -35,13 +35,6 @@ export declare class Link {
35
35
  * @throws {@link Vital.UnprocessableEntityError}
36
36
  */
37
37
  codeCreate(request: Vital.LinkCodeCreateRequest, requestOptions?: Link.RequestOptions): Promise<Vital.VitalTokenCreatedResponse>;
38
- /**
39
- * REQUEST_SOURCE: VITAL-LINK
40
- * PROVIDER_TYPE: OAUTH
41
- * Connect oauth providers
42
- * @throws {@link Vital.UnprocessableEntityError}
43
- */
44
- connectOauthProvider(provider: string, request?: Vital.LinkConnectOauthProviderRequest, requestOptions?: Link.RequestOptions): Promise<Record<string, unknown>>;
45
38
  /**
46
39
  * REQUEST_SOURCE: VITAL-LINK
47
40
  * Start link token process
@@ -51,8 +44,9 @@ export declare class Link {
51
44
  /**
52
45
  * REQUEST_SOURCE: VITAL-LINK
53
46
  * Check link token state - can be hit continuously used as heartbeat
47
+ * @throws {@link Vital.UnprocessableEntityError}
54
48
  */
55
- tokenState(requestOptions?: Link.RequestOptions): Promise<Record<string, unknown>>;
49
+ tokenState(request: Vital.LinkTokenStateRequest, requestOptions?: Link.RequestOptions): Promise<Record<string, unknown>>;
56
50
  /**
57
51
  * REQUEST_SOURCE: VITAL-LINK
58
52
  * PROVIDER_TYPE: EMAIL-AUTH
@@ -71,7 +65,7 @@ export declare class Link {
71
65
  * This endpoint generates an OAuth link for oauth provider
72
66
  * @throws {@link Vital.UnprocessableEntityError}
73
67
  */
74
- generateOauthLink(oauthProvider: Vital.OAuthProviders, requestOptions?: Link.RequestOptions): Promise<Vital.Source>;
68
+ generateOauthLink(oauthProvider: Vital.OAuthProviders, request: Vital.LinkGenerateOauthLinkRequest, requestOptions?: Link.RequestOptions): Promise<Vital.Source>;
75
69
  /**
76
70
  * This connects auth providers that are password based.
77
71
  * @throws {@link Vital.UnprocessableEntityError}
@@ -84,8 +78,9 @@ export declare class Link {
84
78
  connectEmailAuthProvider(provider: Vital.EmailProviders, request: Vital.EmailProviderAuthLink, requestOptions?: Link.RequestOptions): Promise<Vital.ConnectionStatus>;
85
79
  /**
86
80
  * GET List of all available providers given the generated link token.
81
+ * @throws {@link Vital.UnprocessableEntityError}
87
82
  */
88
- getAllProviders(requestOptions?: Link.RequestOptions): Promise<Vital.SourceLink[]>;
83
+ getAllProviders(request: Vital.LinkGetAllProvidersRequest, requestOptions?: Link.RequestOptions): Promise<Vital.SourceLink[]>;
89
84
  /**
90
85
  * REQUEST_SOURCE: CUSTOMER
91
86
  * PROVIDER_TYPE: MANUAL-PROVIDER