@tryvital/vital-node 3.0.4 → 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.
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/introspect/client/Client.js +1 -1
- package/api/resources/labTests/client/Client.js +23 -23
- package/api/resources/link/client/Client.d.ts +5 -10
- package/api/resources/link/client/Client.js +85 -85
- package/api/resources/link/client/requests/EmailAuthLink.d.ts +1 -0
- package/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +1 -0
- package/api/resources/link/client/requests/IndividualProviderData.d.ts +1 -0
- package/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.d.ts +6 -0
- package/api/resources/link/client/requests/LinkGetAllProvidersRequest.d.ts +6 -0
- package/api/resources/link/client/requests/LinkTokenStateRequest.d.ts +6 -0
- package/api/resources/link/client/requests/LinkTokenStateRequest.js +5 -0
- package/api/resources/link/client/requests/PasswordAuthLink.d.ts +1 -0
- package/api/resources/link/client/requests/index.d.ts +3 -1
- package/api/resources/meal/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/team/client/Client.d.ts +2 -1
- package/api/resources/team/client/Client.js +30 -13
- package/api/resources/team/client/requests/TeamGetLinkConfigRequest.d.ts +6 -0
- package/api/resources/team/client/requests/TeamGetLinkConfigRequest.js +5 -0
- package/api/resources/team/client/requests/index.d.ts +1 -0
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +11 -11
- package/api/resources/vitals/client/Client.js +23 -23
- package/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +1 -1
- package/dist/api/resources/labTests/client/Client.js +23 -23
- package/dist/api/resources/link/client/Client.d.ts +5 -10
- package/dist/api/resources/link/client/Client.js +85 -85
- package/dist/api/resources/link/client/requests/EmailAuthLink.d.ts +1 -0
- package/dist/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +1 -0
- package/dist/api/resources/link/client/requests/IndividualProviderData.d.ts +1 -0
- package/dist/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.d.ts +6 -0
- package/dist/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.js +5 -0
- package/dist/api/resources/link/client/requests/LinkGetAllProvidersRequest.d.ts +6 -0
- package/dist/api/resources/link/client/requests/LinkGetAllProvidersRequest.js +5 -0
- package/dist/api/resources/link/client/requests/LinkTokenStateRequest.d.ts +6 -0
- package/dist/api/resources/link/client/requests/LinkTokenStateRequest.js +5 -0
- package/dist/api/resources/link/client/requests/PasswordAuthLink.d.ts +1 -0
- package/dist/api/resources/link/client/requests/index.d.ts +3 -1
- package/dist/api/resources/meal/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/team/client/Client.d.ts +2 -1
- package/dist/api/resources/team/client/Client.js +30 -13
- package/dist/api/resources/team/client/requests/TeamGetLinkConfigRequest.d.ts +6 -0
- package/dist/api/resources/team/client/requests/TeamGetLinkConfigRequest.js +5 -0
- package/dist/api/resources/team/client/requests/index.d.ts +1 -0
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +11 -11
- package/dist/api/resources/vitals/client/Client.js +23 -23
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/serialization/resources/link/client/index.d.ts +0 -1
- package/dist/serialization/resources/link/client/index.js +1 -2
- package/dist/serialization/resources/link/client/requests/EmailAuthLink.d.ts +1 -1
- package/dist/serialization/resources/link/client/requests/EmailProviderAuthLink.d.ts +1 -1
- package/dist/serialization/resources/link/client/requests/IndividualProviderData.d.ts +1 -1
- package/dist/serialization/resources/link/client/requests/PasswordAuthLink.d.ts +1 -1
- package/package.json +1 -1
- package/serialization/resources/link/client/index.d.ts +0 -1
- package/serialization/resources/link/client/index.js +1 -2
- package/serialization/resources/link/client/requests/EmailAuthLink.d.ts +1 -1
- package/serialization/resources/link/client/requests/EmailProviderAuthLink.d.ts +1 -1
- package/serialization/resources/link/client/requests/IndividualProviderData.d.ts +1 -1
- package/serialization/resources/link/client/requests/PasswordAuthLink.d.ts +1 -1
- package/api/resources/link/client/requests/LinkConnectOauthProviderRequest.d.ts +0 -6
- package/dist/api/resources/link/client/requests/LinkConnectOauthProviderRequest.d.ts +0 -6
- package/dist/serialization/resources/link/client/connectOauthProvider.d.ts +0 -9
- package/dist/serialization/resources/link/client/connectOauthProvider.js +0 -31
- package/serialization/resources/link/client/connectOauthProvider.d.ts +0 -9
- package/serialization/resources/link/client/connectOauthProvider.js +0 -31
- /package/api/resources/link/client/requests/{LinkConnectOauthProviderRequest.js → LinkGenerateOauthLinkRequest.js} +0 -0
- /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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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" }),
|
@@ -190,7 +190,7 @@ class LabTests {
|
|
190
190
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
191
191
|
"X-Fern-Language": "JavaScript",
|
192
192
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
193
|
-
"X-Fern-SDK-Version": "3.0.
|
193
|
+
"X-Fern-SDK-Version": "3.0.5",
|
194
194
|
},
|
195
195
|
contentType: "application/json",
|
196
196
|
queryParameters: _queryParams,
|
@@ -256,7 +256,7 @@ class LabTests {
|
|
256
256
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
257
257
|
"X-Fern-Language": "JavaScript",
|
258
258
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
259
|
-
"X-Fern-SDK-Version": "3.0.
|
259
|
+
"X-Fern-SDK-Version": "3.0.5",
|
260
260
|
},
|
261
261
|
contentType: "application/json",
|
262
262
|
queryParameters: _queryParams,
|
@@ -315,7 +315,7 @@ class LabTests {
|
|
315
315
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
316
316
|
"X-Fern-Language": "JavaScript",
|
317
317
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
318
|
-
"X-Fern-SDK-Version": "3.0.
|
318
|
+
"X-Fern-SDK-Version": "3.0.5",
|
319
319
|
},
|
320
320
|
contentType: "application/json",
|
321
321
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -372,7 +372,7 @@ class LabTests {
|
|
372
372
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
373
373
|
"X-Fern-Language": "JavaScript",
|
374
374
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
375
|
-
"X-Fern-SDK-Version": "3.0.
|
375
|
+
"X-Fern-SDK-Version": "3.0.5",
|
376
376
|
},
|
377
377
|
contentType: "application/json",
|
378
378
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -420,7 +420,7 @@ class LabTests {
|
|
420
420
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
421
421
|
"X-Fern-Language": "JavaScript",
|
422
422
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
423
|
-
"X-Fern-SDK-Version": "3.0.
|
423
|
+
"X-Fern-SDK-Version": "3.0.5",
|
424
424
|
},
|
425
425
|
contentType: "application/json",
|
426
426
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -479,7 +479,7 @@ class LabTests {
|
|
479
479
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
480
480
|
"X-Fern-Language": "JavaScript",
|
481
481
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
482
|
-
"X-Fern-SDK-Version": "3.0.
|
482
|
+
"X-Fern-SDK-Version": "3.0.5",
|
483
483
|
},
|
484
484
|
contentType: "application/json",
|
485
485
|
body: yield serializers.UsAddress.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -538,7 +538,7 @@ class LabTests {
|
|
538
538
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
539
539
|
"X-Fern-Language": "JavaScript",
|
540
540
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
541
|
-
"X-Fern-SDK-Version": "3.0.
|
541
|
+
"X-Fern-SDK-Version": "3.0.5",
|
542
542
|
},
|
543
543
|
contentType: "application/json",
|
544
544
|
body: yield serializers.AppointmentBookingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -597,7 +597,7 @@ class LabTests {
|
|
597
597
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
598
598
|
"X-Fern-Language": "JavaScript",
|
599
599
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
600
|
-
"X-Fern-SDK-Version": "3.0.
|
600
|
+
"X-Fern-SDK-Version": "3.0.5",
|
601
601
|
},
|
602
602
|
contentType: "application/json",
|
603
603
|
body: yield serializers.AppointmentRescheduleRequest.jsonOrThrow(request, {
|
@@ -658,7 +658,7 @@ class LabTests {
|
|
658
658
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
659
659
|
"X-Fern-Language": "JavaScript",
|
660
660
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
661
|
-
"X-Fern-SDK-Version": "3.0.
|
661
|
+
"X-Fern-SDK-Version": "3.0.5",
|
662
662
|
},
|
663
663
|
contentType: "application/json",
|
664
664
|
body: yield serializers.AppointmentCancelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -716,7 +716,7 @@ class LabTests {
|
|
716
716
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
717
717
|
"X-Fern-Language": "JavaScript",
|
718
718
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
719
|
-
"X-Fern-SDK-Version": "3.0.
|
719
|
+
"X-Fern-SDK-Version": "3.0.5",
|
720
720
|
},
|
721
721
|
contentType: "application/json",
|
722
722
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -764,7 +764,7 @@ class LabTests {
|
|
764
764
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
765
765
|
"X-Fern-Language": "JavaScript",
|
766
766
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
767
|
-
"X-Fern-SDK-Version": "3.0.
|
767
|
+
"X-Fern-SDK-Version": "3.0.5",
|
768
768
|
},
|
769
769
|
contentType: "application/json",
|
770
770
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -828,7 +828,7 @@ class LabTests {
|
|
828
828
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
829
829
|
"X-Fern-Language": "JavaScript",
|
830
830
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
831
|
-
"X-Fern-SDK-Version": "3.0.
|
831
|
+
"X-Fern-SDK-Version": "3.0.5",
|
832
832
|
},
|
833
833
|
contentType: "application/json",
|
834
834
|
queryParameters: _queryParams,
|
@@ -887,7 +887,7 @@ class LabTests {
|
|
887
887
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
888
888
|
"X-Fern-Language": "JavaScript",
|
889
889
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
890
|
-
"X-Fern-SDK-Version": "3.0.
|
890
|
+
"X-Fern-SDK-Version": "3.0.5",
|
891
891
|
},
|
892
892
|
contentType: "application/json",
|
893
893
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -941,7 +941,7 @@ class LabTests {
|
|
941
941
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
942
942
|
"X-Fern-Language": "JavaScript",
|
943
943
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
944
|
-
"X-Fern-SDK-Version": "3.0.
|
944
|
+
"X-Fern-SDK-Version": "3.0.5",
|
945
945
|
},
|
946
946
|
contentType: "application/json",
|
947
947
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -999,7 +999,7 @@ class LabTests {
|
|
999
999
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1000
1000
|
"X-Fern-Language": "JavaScript",
|
1001
1001
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1002
|
-
"X-Fern-SDK-Version": "3.0.
|
1002
|
+
"X-Fern-SDK-Version": "3.0.5",
|
1003
1003
|
},
|
1004
1004
|
contentType: "application/json",
|
1005
1005
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1057,7 +1057,7 @@ class LabTests {
|
|
1057
1057
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1058
1058
|
"X-Fern-Language": "JavaScript",
|
1059
1059
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1060
|
-
"X-Fern-SDK-Version": "3.0.
|
1060
|
+
"X-Fern-SDK-Version": "3.0.5",
|
1061
1061
|
},
|
1062
1062
|
contentType: "application/json",
|
1063
1063
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1110,7 +1110,7 @@ class LabTests {
|
|
1110
1110
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1111
1111
|
"X-Fern-Language": "JavaScript",
|
1112
1112
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1113
|
-
"X-Fern-SDK-Version": "3.0.
|
1113
|
+
"X-Fern-SDK-Version": "3.0.5",
|
1114
1114
|
},
|
1115
1115
|
contentType: "application/json",
|
1116
1116
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1168,7 +1168,7 @@ class LabTests {
|
|
1168
1168
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1169
1169
|
"X-Fern-Language": "JavaScript",
|
1170
1170
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1171
|
-
"X-Fern-SDK-Version": "3.0.
|
1171
|
+
"X-Fern-SDK-Version": "3.0.5",
|
1172
1172
|
},
|
1173
1173
|
contentType: "application/json",
|
1174
1174
|
body: yield serializers.CreateOrderRequestCompatible.jsonOrThrow(request, {
|
@@ -1229,7 +1229,7 @@ class LabTests {
|
|
1229
1229
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1230
1230
|
"X-Fern-Language": "JavaScript",
|
1231
1231
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1232
|
-
"X-Fern-SDK-Version": "3.0.
|
1232
|
+
"X-Fern-SDK-Version": "3.0.5",
|
1233
1233
|
},
|
1234
1234
|
contentType: "application/json",
|
1235
1235
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1295,7 +1295,7 @@ class LabTests {
|
|
1295
1295
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1296
1296
|
"X-Fern-Language": "JavaScript",
|
1297
1297
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1298
|
-
"X-Fern-SDK-Version": "3.0.
|
1298
|
+
"X-Fern-SDK-Version": "3.0.5",
|
1299
1299
|
},
|
1300
1300
|
contentType: "application/json",
|
1301
1301
|
queryParameters: _queryParams,
|
@@ -1379,7 +1379,7 @@ class LabTests {
|
|
1379
1379
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1380
1380
|
"X-Fern-Language": "JavaScript",
|
1381
1381
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1382
|
-
"X-Fern-SDK-Version": "3.0.
|
1382
|
+
"X-Fern-SDK-Version": "3.0.5",
|
1383
1383
|
},
|
1384
1384
|
contentType: "application/json",
|
1385
1385
|
queryParameters: _queryParams,
|
@@ -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
|