@tryvital/vital-node 3.0.3 → 3.0.4
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 +31 -24
- package/api/resources/labTests/client/requests/LabTestsGetMarkersRequest.d.ts +1 -1
- package/api/resources/link/client/Client.js +14 -14
- 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.js +7 -7
- 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/api/types/EventDestinationPreferences.d.ts +8 -0
- package/api/types/EventDestinationPreferences.js +5 -0
- package/api/types/EventDestinationPreferencesEnabledItem.d.ts +9 -0
- package/api/types/EventDestinationPreferencesEnabledItem.js +11 -0
- package/api/types/EventDestinationPreferencesPreferred.d.ts +9 -0
- package/api/types/EventDestinationPreferencesPreferred.js +11 -0
- package/api/types/PatientAddressCompatible.d.ts +2 -2
- package/api/types/TeamConfig.d.ts +3 -0
- package/api/types/index.d.ts +3 -0
- package/api/types/index.js +3 -0
- 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 +31 -24
- package/dist/api/resources/labTests/client/requests/LabTestsGetMarkersRequest.d.ts +1 -1
- package/dist/api/resources/link/client/Client.js +14 -14
- 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.js +7 -7
- 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/api/types/EventDestinationPreferences.d.ts +8 -0
- package/dist/api/types/EventDestinationPreferences.js +5 -0
- package/dist/api/types/EventDestinationPreferencesEnabledItem.d.ts +9 -0
- package/dist/api/types/EventDestinationPreferencesEnabledItem.js +11 -0
- package/dist/api/types/EventDestinationPreferencesPreferred.d.ts +9 -0
- package/dist/api/types/EventDestinationPreferencesPreferred.js +11 -0
- package/dist/api/types/PatientAddressCompatible.d.ts +2 -2
- package/dist/api/types/TeamConfig.d.ts +3 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/types/EventDestinationPreferences.d.ts +13 -0
- package/dist/serialization/types/EventDestinationPreferences.js +43 -0
- package/dist/serialization/types/EventDestinationPreferencesEnabledItem.d.ts +10 -0
- package/dist/serialization/types/EventDestinationPreferencesEnabledItem.js +31 -0
- package/dist/serialization/types/EventDestinationPreferencesPreferred.d.ts +10 -0
- package/dist/serialization/types/EventDestinationPreferencesPreferred.js +31 -0
- package/dist/serialization/types/PatientAddressCompatible.d.ts +2 -2
- package/dist/serialization/types/PatientAddressCompatible.js +2 -2
- package/dist/serialization/types/TeamConfig.d.ts +3 -0
- package/dist/serialization/types/TeamConfig.js +3 -0
- package/dist/serialization/types/index.d.ts +3 -0
- package/dist/serialization/types/index.js +3 -0
- package/package.json +1 -1
- package/serialization/types/EventDestinationPreferences.d.ts +13 -0
- package/serialization/types/EventDestinationPreferences.js +43 -0
- package/serialization/types/EventDestinationPreferencesEnabledItem.d.ts +10 -0
- package/serialization/types/EventDestinationPreferencesEnabledItem.js +31 -0
- package/serialization/types/EventDestinationPreferencesPreferred.d.ts +10 -0
- package/serialization/types/EventDestinationPreferencesPreferred.js +31 -0
- package/serialization/types/PatientAddressCompatible.d.ts +2 -2
- package/serialization/types/PatientAddressCompatible.js +2 -2
- package/serialization/types/TeamConfig.d.ts +3 -0
- package/serialization/types/TeamConfig.js +3 -0
- package/serialization/types/index.d.ts +3 -0
- package/serialization/types/index.js +3 -0
@@ -73,7 +73,7 @@ class Vitals {
|
|
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.4",
|
77
77
|
},
|
78
78
|
contentType: "application/json",
|
79
79
|
queryParameters: _queryParams,
|
@@ -141,7 +141,7 @@ class Vitals {
|
|
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.4",
|
145
145
|
},
|
146
146
|
contentType: "application/json",
|
147
147
|
queryParameters: _queryParams,
|
@@ -209,7 +209,7 @@ class Vitals {
|
|
209
209
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
210
210
|
"X-Fern-Language": "JavaScript",
|
211
211
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
212
|
-
"X-Fern-SDK-Version": "3.0.
|
212
|
+
"X-Fern-SDK-Version": "3.0.4",
|
213
213
|
},
|
214
214
|
contentType: "application/json",
|
215
215
|
queryParameters: _queryParams,
|
@@ -277,7 +277,7 @@ class Vitals {
|
|
277
277
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
278
278
|
"X-Fern-Language": "JavaScript",
|
279
279
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
280
|
-
"X-Fern-SDK-Version": "3.0.
|
280
|
+
"X-Fern-SDK-Version": "3.0.4",
|
281
281
|
},
|
282
282
|
contentType: "application/json",
|
283
283
|
queryParameters: _queryParams,
|
@@ -345,7 +345,7 @@ class Vitals {
|
|
345
345
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
346
346
|
"X-Fern-Language": "JavaScript",
|
347
347
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
348
|
-
"X-Fern-SDK-Version": "3.0.
|
348
|
+
"X-Fern-SDK-Version": "3.0.4",
|
349
349
|
},
|
350
350
|
contentType: "application/json",
|
351
351
|
queryParameters: _queryParams,
|
@@ -413,7 +413,7 @@ class Vitals {
|
|
413
413
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
414
414
|
"X-Fern-Language": "JavaScript",
|
415
415
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
416
|
-
"X-Fern-SDK-Version": "3.0.
|
416
|
+
"X-Fern-SDK-Version": "3.0.4",
|
417
417
|
},
|
418
418
|
contentType: "application/json",
|
419
419
|
queryParameters: _queryParams,
|
@@ -481,7 +481,7 @@ class Vitals {
|
|
481
481
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
482
482
|
"X-Fern-Language": "JavaScript",
|
483
483
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
484
|
-
"X-Fern-SDK-Version": "3.0.
|
484
|
+
"X-Fern-SDK-Version": "3.0.4",
|
485
485
|
},
|
486
486
|
contentType: "application/json",
|
487
487
|
queryParameters: _queryParams,
|
@@ -549,7 +549,7 @@ class Vitals {
|
|
549
549
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
550
550
|
"X-Fern-Language": "JavaScript",
|
551
551
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
552
|
-
"X-Fern-SDK-Version": "3.0.
|
552
|
+
"X-Fern-SDK-Version": "3.0.4",
|
553
553
|
},
|
554
554
|
contentType: "application/json",
|
555
555
|
queryParameters: _queryParams,
|
@@ -617,7 +617,7 @@ class Vitals {
|
|
617
617
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
618
618
|
"X-Fern-Language": "JavaScript",
|
619
619
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
620
|
-
"X-Fern-SDK-Version": "3.0.
|
620
|
+
"X-Fern-SDK-Version": "3.0.4",
|
621
621
|
},
|
622
622
|
contentType: "application/json",
|
623
623
|
queryParameters: _queryParams,
|
@@ -685,7 +685,7 @@ class Vitals {
|
|
685
685
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
686
686
|
"X-Fern-Language": "JavaScript",
|
687
687
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
688
|
-
"X-Fern-SDK-Version": "3.0.
|
688
|
+
"X-Fern-SDK-Version": "3.0.4",
|
689
689
|
},
|
690
690
|
contentType: "application/json",
|
691
691
|
queryParameters: _queryParams,
|
@@ -753,7 +753,7 @@ class Vitals {
|
|
753
753
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
754
754
|
"X-Fern-Language": "JavaScript",
|
755
755
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
756
|
-
"X-Fern-SDK-Version": "3.0.
|
756
|
+
"X-Fern-SDK-Version": "3.0.4",
|
757
757
|
},
|
758
758
|
contentType: "application/json",
|
759
759
|
queryParameters: _queryParams,
|
@@ -821,7 +821,7 @@ class Vitals {
|
|
821
821
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
822
822
|
"X-Fern-Language": "JavaScript",
|
823
823
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
824
|
-
"X-Fern-SDK-Version": "3.0.
|
824
|
+
"X-Fern-SDK-Version": "3.0.4",
|
825
825
|
},
|
826
826
|
contentType: "application/json",
|
827
827
|
queryParameters: _queryParams,
|
@@ -889,7 +889,7 @@ class Vitals {
|
|
889
889
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
890
890
|
"X-Fern-Language": "JavaScript",
|
891
891
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
892
|
-
"X-Fern-SDK-Version": "3.0.
|
892
|
+
"X-Fern-SDK-Version": "3.0.4",
|
893
893
|
},
|
894
894
|
contentType: "application/json",
|
895
895
|
queryParameters: _queryParams,
|
@@ -957,7 +957,7 @@ class Vitals {
|
|
957
957
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
958
958
|
"X-Fern-Language": "JavaScript",
|
959
959
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
960
|
-
"X-Fern-SDK-Version": "3.0.
|
960
|
+
"X-Fern-SDK-Version": "3.0.4",
|
961
961
|
},
|
962
962
|
contentType: "application/json",
|
963
963
|
queryParameters: _queryParams,
|
@@ -1025,7 +1025,7 @@ class Vitals {
|
|
1025
1025
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1026
1026
|
"X-Fern-Language": "JavaScript",
|
1027
1027
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1028
|
-
"X-Fern-SDK-Version": "3.0.
|
1028
|
+
"X-Fern-SDK-Version": "3.0.4",
|
1029
1029
|
},
|
1030
1030
|
contentType: "application/json",
|
1031
1031
|
queryParameters: _queryParams,
|
@@ -1093,7 +1093,7 @@ class Vitals {
|
|
1093
1093
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1094
1094
|
"X-Fern-Language": "JavaScript",
|
1095
1095
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1096
|
-
"X-Fern-SDK-Version": "3.0.
|
1096
|
+
"X-Fern-SDK-Version": "3.0.4",
|
1097
1097
|
},
|
1098
1098
|
contentType: "application/json",
|
1099
1099
|
queryParameters: _queryParams,
|
@@ -1161,7 +1161,7 @@ class Vitals {
|
|
1161
1161
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1162
1162
|
"X-Fern-Language": "JavaScript",
|
1163
1163
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1164
|
-
"X-Fern-SDK-Version": "3.0.
|
1164
|
+
"X-Fern-SDK-Version": "3.0.4",
|
1165
1165
|
},
|
1166
1166
|
contentType: "application/json",
|
1167
1167
|
queryParameters: _queryParams,
|
@@ -1229,7 +1229,7 @@ class Vitals {
|
|
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.4",
|
1233
1233
|
},
|
1234
1234
|
contentType: "application/json",
|
1235
1235
|
queryParameters: _queryParams,
|
@@ -1297,7 +1297,7 @@ class Vitals {
|
|
1297
1297
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1298
1298
|
"X-Fern-Language": "JavaScript",
|
1299
1299
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1300
|
-
"X-Fern-SDK-Version": "3.0.
|
1300
|
+
"X-Fern-SDK-Version": "3.0.4",
|
1301
1301
|
},
|
1302
1302
|
contentType: "application/json",
|
1303
1303
|
queryParameters: _queryParams,
|
@@ -1365,7 +1365,7 @@ class Vitals {
|
|
1365
1365
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1366
1366
|
"X-Fern-Language": "JavaScript",
|
1367
1367
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1368
|
-
"X-Fern-SDK-Version": "3.0.
|
1368
|
+
"X-Fern-SDK-Version": "3.0.4",
|
1369
1369
|
},
|
1370
1370
|
contentType: "application/json",
|
1371
1371
|
queryParameters: _queryParams,
|
@@ -1433,7 +1433,7 @@ class Vitals {
|
|
1433
1433
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1434
1434
|
"X-Fern-Language": "JavaScript",
|
1435
1435
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1436
|
-
"X-Fern-SDK-Version": "3.0.
|
1436
|
+
"X-Fern-SDK-Version": "3.0.4",
|
1437
1437
|
},
|
1438
1438
|
contentType: "application/json",
|
1439
1439
|
queryParameters: _queryParams,
|
@@ -1501,7 +1501,7 @@ class Vitals {
|
|
1501
1501
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1502
1502
|
"X-Fern-Language": "JavaScript",
|
1503
1503
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1504
|
-
"X-Fern-SDK-Version": "3.0.
|
1504
|
+
"X-Fern-SDK-Version": "3.0.4",
|
1505
1505
|
},
|
1506
1506
|
contentType: "application/json",
|
1507
1507
|
queryParameters: _queryParams,
|
@@ -1569,7 +1569,7 @@ class Vitals {
|
|
1569
1569
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1570
1570
|
"X-Fern-Language": "JavaScript",
|
1571
1571
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1572
|
-
"X-Fern-SDK-Version": "3.0.
|
1572
|
+
"X-Fern-SDK-Version": "3.0.4",
|
1573
1573
|
},
|
1574
1574
|
contentType: "application/json",
|
1575
1575
|
queryParameters: _queryParams,
|
@@ -73,7 +73,7 @@ class Workouts {
|
|
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.4",
|
77
77
|
},
|
78
78
|
contentType: "application/json",
|
79
79
|
queryParameters: _queryParams,
|
@@ -141,7 +141,7 @@ class Workouts {
|
|
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.4",
|
145
145
|
},
|
146
146
|
contentType: "application/json",
|
147
147
|
queryParameters: _queryParams,
|
@@ -199,7 +199,7 @@ class Workouts {
|
|
199
199
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
200
200
|
"X-Fern-Language": "JavaScript",
|
201
201
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
202
|
-
"X-Fern-SDK-Version": "3.0.
|
202
|
+
"X-Fern-SDK-Version": "3.0.4",
|
203
203
|
},
|
204
204
|
contentType: "application/json",
|
205
205
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "..";
|
5
|
+
export interface EventDestinationPreferences {
|
6
|
+
preferred: Vital.EventDestinationPreferencesPreferred;
|
7
|
+
enabled: Vital.EventDestinationPreferencesEnabledItem[];
|
8
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export declare type EventDestinationPreferencesEnabledItem = "cloud_pubsub" | "rabbitmq" | "svix";
|
5
|
+
export declare const EventDestinationPreferencesEnabledItem: {
|
6
|
+
readonly CloudPubsub: "cloud_pubsub";
|
7
|
+
readonly Rabbitmq: "rabbitmq";
|
8
|
+
readonly Svix: "svix";
|
9
|
+
};
|
@@ -0,0 +1,11 @@
|
|
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.EventDestinationPreferencesEnabledItem = void 0;
|
7
|
+
exports.EventDestinationPreferencesEnabledItem = {
|
8
|
+
CloudPubsub: "cloud_pubsub",
|
9
|
+
Rabbitmq: "rabbitmq",
|
10
|
+
Svix: "svix",
|
11
|
+
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export declare type EventDestinationPreferencesPreferred = "cloud_pubsub" | "rabbitmq" | "svix";
|
5
|
+
export declare const EventDestinationPreferencesPreferred: {
|
6
|
+
readonly CloudPubsub: "cloud_pubsub";
|
7
|
+
readonly Rabbitmq: "rabbitmq";
|
8
|
+
readonly Svix: "svix";
|
9
|
+
};
|
@@ -0,0 +1,11 @@
|
|
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.EventDestinationPreferencesPreferred = void 0;
|
7
|
+
exports.EventDestinationPreferencesPreferred = {
|
8
|
+
CloudPubsub: "cloud_pubsub",
|
9
|
+
Rabbitmq: "rabbitmq",
|
10
|
+
Svix: "svix",
|
11
|
+
};
|
@@ -88,6 +88,9 @@ export * from "./DemoProviders";
|
|
88
88
|
export * from "./DeviceV2InDb";
|
89
89
|
export * from "./EmailProviders";
|
90
90
|
export * from "./Energy";
|
91
|
+
export * from "./EventDestinationPreferences";
|
92
|
+
export * from "./EventDestinationPreferencesPreferred";
|
93
|
+
export * from "./EventDestinationPreferencesEnabledItem";
|
91
94
|
export * from "./FallbackTimeZone";
|
92
95
|
export * from "./Fats";
|
93
96
|
export * from "./Gender";
|
package/dist/api/types/index.js
CHANGED
@@ -104,6 +104,9 @@ __exportStar(require("./DemoProviders"), exports);
|
|
104
104
|
__exportStar(require("./DeviceV2InDb"), exports);
|
105
105
|
__exportStar(require("./EmailProviders"), exports);
|
106
106
|
__exportStar(require("./Energy"), exports);
|
107
|
+
__exportStar(require("./EventDestinationPreferences"), exports);
|
108
|
+
__exportStar(require("./EventDestinationPreferencesPreferred"), exports);
|
109
|
+
__exportStar(require("./EventDestinationPreferencesEnabledItem"), exports);
|
107
110
|
__exportStar(require("./FallbackTimeZone"), exports);
|
108
111
|
__exportStar(require("./Fats"), exports);
|
109
112
|
__exportStar(require("./Gender"), exports);
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const EventDestinationPreferences: core.serialization.ObjectSchema<serializers.EventDestinationPreferences.Raw, Vital.EventDestinationPreferences>;
|
8
|
+
export declare namespace EventDestinationPreferences {
|
9
|
+
interface Raw {
|
10
|
+
preferred: serializers.EventDestinationPreferencesPreferred.Raw;
|
11
|
+
enabled: serializers.EventDestinationPreferencesEnabledItem.Raw[];
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,43 @@
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
+
});
|
36
|
+
};
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
38
|
+
exports.EventDestinationPreferences = void 0;
|
39
|
+
const core = __importStar(require("../../core"));
|
40
|
+
exports.EventDestinationPreferences = core.serialization.object({
|
41
|
+
preferred: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EventDestinationPreferencesPreferred; })),
|
42
|
+
enabled: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EventDestinationPreferencesEnabledItem; }))),
|
43
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const EventDestinationPreferencesEnabledItem: core.serialization.Schema<serializers.EventDestinationPreferencesEnabledItem.Raw, Vital.EventDestinationPreferencesEnabledItem>;
|
8
|
+
export declare namespace EventDestinationPreferencesEnabledItem {
|
9
|
+
type Raw = "cloud_pubsub" | "rabbitmq" | "svix";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
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.EventDestinationPreferencesEnabledItem = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.EventDestinationPreferencesEnabledItem = core.serialization.enum_(["cloud_pubsub", "rabbitmq", "svix"]);
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const EventDestinationPreferencesPreferred: core.serialization.Schema<serializers.EventDestinationPreferencesPreferred.Raw, Vital.EventDestinationPreferencesPreferred>;
|
8
|
+
export declare namespace EventDestinationPreferencesPreferred {
|
9
|
+
type Raw = "cloud_pubsub" | "rabbitmq" | "svix";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
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.EventDestinationPreferencesPreferred = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.EventDestinationPreferencesPreferred = core.serialization.enum_(["cloud_pubsub", "rabbitmq", "svix"]);
|
@@ -8,8 +8,8 @@ export declare const PatientAddressCompatible: core.serialization.ObjectSchema<s
|
|
8
8
|
export declare namespace PatientAddressCompatible {
|
9
9
|
interface Raw {
|
10
10
|
receiver_name?: string | null;
|
11
|
-
|
12
|
-
|
11
|
+
first_line: string;
|
12
|
+
second_line?: string | null;
|
13
13
|
city: string;
|
14
14
|
state: string;
|
15
15
|
zip: string;
|
@@ -30,8 +30,8 @@ exports.PatientAddressCompatible = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
exports.PatientAddressCompatible = core.serialization.object({
|
32
32
|
receiverName: core.serialization.property("receiver_name", core.serialization.string().optional()),
|
33
|
-
|
34
|
-
|
33
|
+
firstLine: core.serialization.property("first_line", core.serialization.string()),
|
34
|
+
secondLine: core.serialization.property("second_line", core.serialization.string().optional()),
|
35
35
|
city: core.serialization.string(),
|
36
36
|
state: core.serialization.string(),
|
37
37
|
zip: core.serialization.string(),
|
@@ -9,5 +9,8 @@ export declare namespace TeamConfig {
|
|
9
9
|
interface Raw {
|
10
10
|
libreview: serializers.LibreConfig.Raw;
|
11
11
|
texts_enabled?: boolean | null;
|
12
|
+
push_historical_data?: boolean | null;
|
13
|
+
eds_preferences?: serializers.EventDestinationPreferences.Raw | null;
|
14
|
+
event_type_prefixes?: string[] | null;
|
12
15
|
}
|
13
16
|
}
|
@@ -40,4 +40,7 @@ const core = __importStar(require("../../core"));
|
|
40
40
|
exports.TeamConfig = core.serialization.object({
|
41
41
|
libreview: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).LibreConfig; })),
|
42
42
|
textsEnabled: core.serialization.property("texts_enabled", core.serialization.boolean().optional()),
|
43
|
+
pushHistoricalData: core.serialization.property("push_historical_data", core.serialization.boolean().optional()),
|
44
|
+
edsPreferences: core.serialization.property("eds_preferences", core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EventDestinationPreferences; })).optional()),
|
45
|
+
eventTypePrefixes: core.serialization.property("event_type_prefixes", core.serialization.list(core.serialization.string()).optional()),
|
43
46
|
});
|
@@ -88,6 +88,9 @@ export * from "./DemoProviders";
|
|
88
88
|
export * from "./DeviceV2InDb";
|
89
89
|
export * from "./EmailProviders";
|
90
90
|
export * from "./Energy";
|
91
|
+
export * from "./EventDestinationPreferences";
|
92
|
+
export * from "./EventDestinationPreferencesPreferred";
|
93
|
+
export * from "./EventDestinationPreferencesEnabledItem";
|
91
94
|
export * from "./FallbackTimeZone";
|
92
95
|
export * from "./Fats";
|
93
96
|
export * from "./Gender";
|
@@ -104,6 +104,9 @@ __exportStar(require("./DemoProviders"), exports);
|
|
104
104
|
__exportStar(require("./DeviceV2InDb"), exports);
|
105
105
|
__exportStar(require("./EmailProviders"), exports);
|
106
106
|
__exportStar(require("./Energy"), exports);
|
107
|
+
__exportStar(require("./EventDestinationPreferences"), exports);
|
108
|
+
__exportStar(require("./EventDestinationPreferencesPreferred"), exports);
|
109
|
+
__exportStar(require("./EventDestinationPreferencesEnabledItem"), exports);
|
107
110
|
__exportStar(require("./FallbackTimeZone"), exports);
|
108
111
|
__exportStar(require("./Fats"), exports);
|
109
112
|
__exportStar(require("./Gender"), exports);
|
package/package.json
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const EventDestinationPreferences: core.serialization.ObjectSchema<serializers.EventDestinationPreferences.Raw, Vital.EventDestinationPreferences>;
|
8
|
+
export declare namespace EventDestinationPreferences {
|
9
|
+
interface Raw {
|
10
|
+
preferred: serializers.EventDestinationPreferencesPreferred.Raw;
|
11
|
+
enabled: serializers.EventDestinationPreferencesEnabledItem.Raw[];
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,43 @@
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
+
});
|
36
|
+
};
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
38
|
+
exports.EventDestinationPreferences = void 0;
|
39
|
+
const core = __importStar(require("../../core"));
|
40
|
+
exports.EventDestinationPreferences = core.serialization.object({
|
41
|
+
preferred: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EventDestinationPreferencesPreferred; })),
|
42
|
+
enabled: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EventDestinationPreferencesEnabledItem; }))),
|
43
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const EventDestinationPreferencesEnabledItem: core.serialization.Schema<serializers.EventDestinationPreferencesEnabledItem.Raw, Vital.EventDestinationPreferencesEnabledItem>;
|
8
|
+
export declare namespace EventDestinationPreferencesEnabledItem {
|
9
|
+
type Raw = "cloud_pubsub" | "rabbitmq" | "svix";
|
10
|
+
}
|