@tryvital/vital-node 3.1.72 → 3.1.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/aggregate/client/Client.d.ts +13 -8
- package/api/resources/aggregate/client/Client.js +14 -9
- package/api/resources/aggregate/client/requests/Query.d.ts +13 -8
- 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 +2 -2
- package/api/resources/labTests/client/Client.d.ts +8 -6
- package/api/resources/labTests/client/Client.js +41 -33
- package/api/resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.d.ts +25 -0
- package/api/resources/labTests/client/requests/index.d.ts +1 -0
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/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 +16 -16
- package/api/resources/vitals/client/Client.js +56 -56
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/{ActivitySelector.d.ts → ActivityColumnExpr.d.ts} +2 -2
- package/{dist/api/types/ActivitySelectorActivity.d.ts → api/types/ActivityColumnExprActivity.d.ts} +2 -2
- package/{dist/api/types/ActivitySelectorActivity.js → api/types/ActivityColumnExprActivity.js} +2 -2
- package/api/types/AggregateExpr.d.ts +8 -0
- package/api/types/AggregateExprArg.d.ts +5 -0
- package/api/types/{ReducerFunction.d.ts → AggregateExprFunc.d.ts} +2 -2
- package/{dist/api/types/ReducerFunction.js → api/types/AggregateExprFunc.js} +2 -2
- package/api/types/DatePartExpr.d.ts +8 -0
- package/api/types/DatePartExprArg.d.ts +5 -0
- package/api/types/DatePartExprDatePart.d.ts +15 -0
- package/{dist/api/types/SwizzlingBinGranularity.js → api/types/DatePartExprDatePart.js} +6 -2
- package/api/types/DateTruncExpr.d.ts +8 -0
- package/api/types/DateTruncExprArg.d.ts +5 -0
- package/api/types/FailureType.d.ts +16 -0
- package/api/types/FailureType.js +18 -0
- package/api/types/GroupKeyColumnExpr.d.ts +7 -0
- package/api/types/GroupKeyColumnExprGroupKey.d.ts +4 -0
- package/{dist/api/types/Reducer.d.ts → api/types/IndexColumnExpr.d.ts} +2 -2
- package/api/types/IndexColumnExprIndex.d.ts +8 -0
- package/api/types/IndexColumnExprIndex.js +10 -0
- package/api/types/LabResultsRaw.d.ts +1 -0
- package/api/types/LabTestSampleType.d.ts +2 -1
- package/api/types/LabTestSampleType.js +1 -0
- package/api/types/Labs.d.ts +2 -1
- package/api/types/Labs.js +1 -0
- package/api/types/MissingBiomarkerResult.d.ts +12 -0
- package/api/types/QueryInstruction.d.ts +2 -4
- package/api/types/{QueryInstructionSelect.d.ts → QueryInstructionGroupByItem.d.ts} +1 -1
- package/api/types/QueryInstructionGroupByItem.js +5 -0
- package/api/types/QueryInstructionSelectItem.d.ts +5 -0
- package/api/types/QueryInstructionSelectItem.js +5 -0
- package/api/types/Question.d.ts +1 -0
- package/api/types/{SleepSelector.d.ts → SleepColumnExpr.d.ts} +2 -2
- package/api/types/SleepColumnExpr.js +5 -0
- package/api/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
- package/{dist/api/types/SleepSelectorSleep.js → api/types/SleepColumnExprSleep.js} +2 -2
- package/api/types/TimeseriesMetricPoint.d.ts +1 -0
- package/api/types/index.d.ts +20 -10
- package/api/types/index.js +20 -10
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.d.ts +13 -8
- package/dist/api/resources/aggregate/client/Client.js +14 -9
- package/dist/api/resources/aggregate/client/requests/Query.d.ts +13 -8
- 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 +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +8 -6
- package/dist/api/resources/labTests/client/Client.js +41 -33
- package/dist/api/resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.d.ts +25 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.js +5 -0
- package/dist/api/resources/labTests/client/requests/index.d.ts +1 -0
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/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 +16 -16
- package/dist/api/resources/vitals/client/Client.js +56 -56
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/{ActivitySelector.d.ts → ActivityColumnExpr.d.ts} +2 -2
- package/dist/api/types/ActivityColumnExpr.js +5 -0
- package/{api/types/ActivitySelectorActivity.d.ts → dist/api/types/ActivityColumnExprActivity.d.ts} +2 -2
- package/{api/types/ActivitySelectorActivity.js → dist/api/types/ActivityColumnExprActivity.js} +2 -2
- package/dist/api/types/AggregateExpr.d.ts +8 -0
- package/dist/api/types/AggregateExpr.js +5 -0
- package/dist/api/types/AggregateExprArg.d.ts +5 -0
- package/dist/api/types/AggregateExprArg.js +5 -0
- package/dist/api/types/{ReducerFunction.d.ts → AggregateExprFunc.d.ts} +2 -2
- package/{api/types/ReducerFunction.js → dist/api/types/AggregateExprFunc.js} +2 -2
- package/dist/api/types/DatePartExpr.d.ts +8 -0
- package/dist/api/types/DatePartExpr.js +5 -0
- package/dist/api/types/DatePartExprArg.d.ts +5 -0
- package/dist/api/types/DatePartExprArg.js +5 -0
- package/dist/api/types/DatePartExprDatePart.d.ts +15 -0
- package/{api/types/SwizzlingBinGranularity.js → dist/api/types/DatePartExprDatePart.js} +6 -2
- package/dist/api/types/DateTruncExpr.d.ts +8 -0
- package/dist/api/types/DateTruncExpr.js +5 -0
- package/dist/api/types/DateTruncExprArg.d.ts +5 -0
- package/dist/api/types/DateTruncExprArg.js +5 -0
- package/dist/api/types/FailureType.d.ts +16 -0
- package/dist/api/types/FailureType.js +18 -0
- package/dist/api/types/GroupKeyColumnExpr.d.ts +7 -0
- package/dist/api/types/GroupKeyColumnExpr.js +5 -0
- package/dist/api/types/GroupKeyColumnExprGroupKey.d.ts +4 -0
- package/dist/api/types/GroupKeyColumnExprGroupKey.js +5 -0
- package/dist/api/types/{SleepSelector.d.ts → IndexColumnExpr.d.ts} +2 -2
- package/dist/api/types/IndexColumnExpr.js +5 -0
- package/dist/api/types/IndexColumnExprIndex.d.ts +8 -0
- package/dist/api/types/IndexColumnExprIndex.js +10 -0
- package/dist/api/types/LabResultsRaw.d.ts +1 -0
- package/dist/api/types/LabTestSampleType.d.ts +2 -1
- package/dist/api/types/LabTestSampleType.js +1 -0
- package/dist/api/types/Labs.d.ts +2 -1
- package/dist/api/types/Labs.js +1 -0
- package/dist/api/types/MissingBiomarkerResult.d.ts +12 -0
- package/dist/api/types/MissingBiomarkerResult.js +5 -0
- package/dist/api/types/QueryInstruction.d.ts +2 -4
- package/{api/types/QueryInstructionPartitionBy.d.ts → dist/api/types/QueryInstructionGroupByItem.d.ts} +1 -1
- package/dist/api/types/QueryInstructionGroupByItem.js +5 -0
- package/dist/api/types/QueryInstructionSelectItem.d.ts +5 -0
- package/dist/api/types/QueryInstructionSelectItem.js +5 -0
- package/dist/api/types/Question.d.ts +1 -0
- package/{api/types/Reducer.d.ts → dist/api/types/SleepColumnExpr.d.ts} +2 -2
- package/dist/api/types/SleepColumnExpr.js +5 -0
- package/dist/api/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
- package/{api/types/SleepSelectorSleep.js → dist/api/types/SleepColumnExprSleep.js} +2 -2
- package/dist/api/types/TimeseriesMetricPoint.d.ts +1 -0
- package/dist/api/types/index.d.ts +20 -10
- package/dist/api/types/index.js +20 -10
- package/dist/serialization/types/ActivityColumnExpr.d.ts +13 -0
- package/dist/serialization/types/{ActivitySelector.js → ActivityColumnExpr.js} +4 -4
- package/{serialization/types/ActivitySelectorActivity.d.ts → dist/serialization/types/ActivityColumnExprActivity.d.ts} +2 -2
- package/dist/serialization/types/{ActivitySelectorActivity.js → ActivityColumnExprActivity.js} +2 -2
- package/dist/serialization/types/AggregateExpr.d.ts +15 -0
- package/dist/serialization/types/AggregateExpr.js +36 -0
- package/dist/serialization/types/AggregateExprArg.d.ts +14 -0
- package/dist/serialization/types/AggregateExprArg.js +35 -0
- package/{serialization/types/ReducerFunction.d.ts → dist/serialization/types/AggregateExprFunc.d.ts} +2 -2
- package/{serialization/types/ReducerFunction.js → dist/serialization/types/AggregateExprFunc.js} +2 -2
- package/dist/serialization/types/DatePartExpr.d.ts +15 -0
- package/dist/serialization/types/DatePartExpr.js +36 -0
- package/dist/serialization/types/DatePartExprArg.d.ts +12 -0
- package/{serialization/types/QueryInstructionPartitionBy.js → dist/serialization/types/DatePartExprArg.js} +3 -3
- package/dist/serialization/types/DatePartExprDatePart.d.ts +10 -0
- package/dist/serialization/types/DatePartExprDatePart.js +41 -0
- package/dist/serialization/types/DateTruncExpr.d.ts +15 -0
- package/dist/serialization/types/DateTruncExpr.js +36 -0
- package/dist/serialization/types/DateTruncExprArg.d.ts +12 -0
- package/dist/serialization/types/DateTruncExprArg.js +33 -0
- package/dist/serialization/types/FailureType.d.ts +10 -0
- package/dist/serialization/types/{QueryInstructionSelect.js → FailureType.js} +13 -4
- package/dist/serialization/types/GroupKeyColumnExpr.d.ts +13 -0
- package/dist/serialization/types/GroupKeyColumnExpr.js +34 -0
- package/dist/serialization/types/GroupKeyColumnExprGroupKey.d.ts +10 -0
- package/dist/serialization/types/{Reducer.js → GroupKeyColumnExprGroupKey.js} +2 -5
- package/dist/serialization/types/IndexColumnExpr.d.ts +13 -0
- package/dist/serialization/types/{SleepSelector.js → IndexColumnExpr.js} +4 -4
- package/dist/serialization/types/IndexColumnExprIndex.d.ts +10 -0
- package/dist/serialization/types/{SwizzlingBinGranularity.js → IndexColumnExprIndex.js} +2 -2
- package/dist/serialization/types/LabResultsRaw.d.ts +2 -0
- package/dist/serialization/types/LabResultsRaw.js +2 -0
- package/dist/serialization/types/LabTestSampleType.d.ts +1 -1
- package/dist/serialization/types/LabTestSampleType.js +1 -1
- package/dist/serialization/types/Labs.d.ts +1 -1
- package/dist/serialization/types/Labs.js +1 -0
- package/dist/serialization/types/MissingBiomarkerResult.d.ts +18 -0
- package/dist/serialization/types/{Swizzling.js → MissingBiomarkerResult.js} +9 -7
- package/dist/serialization/types/QueryInstruction.d.ts +4 -8
- package/dist/serialization/types/QueryInstruction.js +4 -8
- package/dist/serialization/types/QueryInstructionGroupByItem.d.ts +12 -0
- package/dist/serialization/types/QueryInstructionGroupByItem.js +33 -0
- package/dist/serialization/types/QueryInstructionSelectItem.d.ts +15 -0
- package/dist/serialization/types/QueryInstructionSelectItem.js +42 -0
- package/dist/serialization/types/Question.d.ts +1 -0
- package/dist/serialization/types/Question.js +1 -0
- package/dist/serialization/types/SleepColumnExpr.d.ts +13 -0
- package/{serialization/types/SleepSelector.js → dist/serialization/types/SleepColumnExpr.js} +4 -4
- package/dist/serialization/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
- package/{serialization/types/SleepSelectorSleep.js → dist/serialization/types/SleepColumnExprSleep.js} +2 -2
- package/dist/serialization/types/TimeseriesMetricPoint.d.ts +1 -0
- package/dist/serialization/types/TimeseriesMetricPoint.js +1 -0
- package/dist/serialization/types/index.d.ts +20 -10
- package/dist/serialization/types/index.js +20 -10
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +22 -13
- package/serialization/types/ActivityColumnExpr.d.ts +13 -0
- package/serialization/types/{ActivitySelector.js → ActivityColumnExpr.js} +4 -4
- package/{dist/serialization/types/ActivitySelectorActivity.d.ts → serialization/types/ActivityColumnExprActivity.d.ts} +2 -2
- package/serialization/types/{ActivitySelectorActivity.js → ActivityColumnExprActivity.js} +2 -2
- package/serialization/types/AggregateExpr.d.ts +15 -0
- package/serialization/types/AggregateExpr.js +36 -0
- package/serialization/types/AggregateExprArg.d.ts +14 -0
- package/serialization/types/AggregateExprArg.js +35 -0
- package/{dist/serialization/types/ReducerFunction.d.ts → serialization/types/AggregateExprFunc.d.ts} +2 -2
- package/{dist/serialization/types/ReducerFunction.js → serialization/types/AggregateExprFunc.js} +2 -2
- package/serialization/types/DatePartExpr.d.ts +15 -0
- package/serialization/types/DatePartExpr.js +36 -0
- package/serialization/types/DatePartExprArg.d.ts +12 -0
- package/{dist/serialization/types/QueryInstructionPartitionBy.js → serialization/types/DatePartExprArg.js} +3 -3
- package/serialization/types/DatePartExprDatePart.d.ts +10 -0
- package/serialization/types/DatePartExprDatePart.js +41 -0
- package/serialization/types/DateTruncExpr.d.ts +15 -0
- package/serialization/types/DateTruncExpr.js +36 -0
- package/serialization/types/DateTruncExprArg.d.ts +12 -0
- package/serialization/types/DateTruncExprArg.js +33 -0
- package/serialization/types/FailureType.d.ts +10 -0
- package/serialization/types/FailureType.js +42 -0
- package/serialization/types/GroupKeyColumnExpr.d.ts +13 -0
- package/serialization/types/GroupKeyColumnExpr.js +34 -0
- package/serialization/types/GroupKeyColumnExprGroupKey.d.ts +10 -0
- package/serialization/types/{Reducer.js → GroupKeyColumnExprGroupKey.js} +2 -5
- package/serialization/types/IndexColumnExpr.d.ts +13 -0
- package/serialization/types/IndexColumnExpr.js +34 -0
- package/serialization/types/IndexColumnExprIndex.d.ts +10 -0
- package/serialization/types/{SwizzlingBinGranularity.js → IndexColumnExprIndex.js} +2 -2
- package/serialization/types/LabResultsRaw.d.ts +2 -0
- package/serialization/types/LabResultsRaw.js +2 -0
- package/serialization/types/LabTestSampleType.d.ts +1 -1
- package/serialization/types/LabTestSampleType.js +1 -1
- package/serialization/types/Labs.d.ts +1 -1
- package/serialization/types/Labs.js +1 -0
- package/serialization/types/MissingBiomarkerResult.d.ts +18 -0
- package/serialization/types/MissingBiomarkerResult.js +39 -0
- package/serialization/types/QueryInstruction.d.ts +4 -8
- package/serialization/types/QueryInstruction.js +4 -8
- package/serialization/types/QueryInstructionGroupByItem.d.ts +12 -0
- package/serialization/types/QueryInstructionGroupByItem.js +33 -0
- package/serialization/types/QueryInstructionSelectItem.d.ts +15 -0
- package/serialization/types/QueryInstructionSelectItem.js +42 -0
- package/serialization/types/Question.d.ts +1 -0
- package/serialization/types/Question.js +1 -0
- package/serialization/types/SleepColumnExpr.d.ts +13 -0
- package/serialization/types/SleepColumnExpr.js +34 -0
- package/serialization/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
- package/{dist/serialization/types/SleepSelectorSleep.js → serialization/types/SleepColumnExprSleep.js} +2 -2
- package/serialization/types/TimeseriesMetricPoint.d.ts +1 -0
- package/serialization/types/TimeseriesMetricPoint.js +1 -0
- package/serialization/types/index.d.ts +20 -10
- package/serialization/types/index.js +20 -10
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/Swizzling.d.ts +0 -36
- package/api/types/SwizzlingBinGranularity.d.ts +0 -11
- package/dist/api/types/QueryInstructionPartitionBy.d.ts +0 -5
- package/dist/api/types/QueryInstructionSelect.d.ts +0 -5
- package/dist/api/types/Swizzling.d.ts +0 -36
- package/dist/api/types/SwizzlingBinGranularity.d.ts +0 -11
- package/dist/serialization/types/ActivitySelector.d.ts +0 -13
- package/dist/serialization/types/QueryInstructionPartitionBy.d.ts +0 -12
- package/dist/serialization/types/QueryInstructionSelect.d.ts +0 -12
- package/dist/serialization/types/Reducer.d.ts +0 -13
- package/dist/serialization/types/SleepSelector.d.ts +0 -13
- package/dist/serialization/types/Swizzling.d.ts +0 -16
- package/dist/serialization/types/SwizzlingBinGranularity.d.ts +0 -10
- package/serialization/types/ActivitySelector.d.ts +0 -13
- package/serialization/types/QueryInstructionPartitionBy.d.ts +0 -12
- package/serialization/types/QueryInstructionSelect.d.ts +0 -12
- package/serialization/types/QueryInstructionSelect.js +0 -33
- package/serialization/types/Reducer.d.ts +0 -13
- package/serialization/types/SleepSelector.d.ts +0 -13
- package/serialization/types/Swizzling.d.ts +0 -16
- package/serialization/types/Swizzling.js +0 -37
- package/serialization/types/SwizzlingBinGranularity.d.ts +0 -10
- /package/api/{types/ActivitySelector.js → resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.js} +0 -0
- /package/api/types/{QueryInstructionPartitionBy.js → ActivityColumnExpr.js} +0 -0
- /package/api/types/{QueryInstructionSelect.js → AggregateExpr.js} +0 -0
- /package/api/types/{Reducer.js → AggregateExprArg.js} +0 -0
- /package/api/types/{SleepSelector.js → DatePartExpr.js} +0 -0
- /package/api/types/{Swizzling.js → DatePartExprArg.js} +0 -0
- /package/{dist/api/types/ActivitySelector.js → api/types/DateTruncExpr.js} +0 -0
- /package/{dist/api/types/QueryInstructionPartitionBy.js → api/types/DateTruncExprArg.js} +0 -0
- /package/{dist/api/types/QueryInstructionSelect.js → api/types/GroupKeyColumnExpr.js} +0 -0
- /package/{dist/api/types/Reducer.js → api/types/GroupKeyColumnExprGroupKey.js} +0 -0
- /package/{dist/api/types/SleepSelector.js → api/types/IndexColumnExpr.js} +0 -0
- /package/{dist/api/types/Swizzling.js → api/types/MissingBiomarkerResult.js} +0 -0
package/dist/api/types/index.js
CHANGED
@@ -14,11 +14,14 @@ 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("./
|
18
|
-
__exportStar(require("./
|
17
|
+
__exportStar(require("./ActivityColumnExprActivity"), exports);
|
18
|
+
__exportStar(require("./ActivityColumnExpr"), exports);
|
19
19
|
__exportStar(require("./ActivityV2InDb"), exports);
|
20
20
|
__exportStar(require("./AddOnOrder"), exports);
|
21
21
|
__exportStar(require("./Address"), exports);
|
22
|
+
__exportStar(require("./AggregateExprArg"), exports);
|
23
|
+
__exportStar(require("./AggregateExprFunc"), exports);
|
24
|
+
__exportStar(require("./AggregateExpr"), exports);
|
22
25
|
__exportStar(require("./AllowedRadius"), exports);
|
23
26
|
__exportStar(require("./Answer"), exports);
|
24
27
|
__exportStar(require("./AoE"), exports);
|
@@ -154,6 +157,11 @@ __exportStar(require("./Consent"), exports);
|
|
154
157
|
__exportStar(require("./ConsentType"), exports);
|
155
158
|
__exportStar(require("./ContraceptiveEntryType"), exports);
|
156
159
|
__exportStar(require("./ContraceptiveEntry"), exports);
|
160
|
+
__exportStar(require("./DatePartExprArg"), exports);
|
161
|
+
__exportStar(require("./DatePartExprDatePart"), exports);
|
162
|
+
__exportStar(require("./DatePartExpr"), exports);
|
163
|
+
__exportStar(require("./DateTruncExprArg"), exports);
|
164
|
+
__exportStar(require("./DateTruncExpr"), exports);
|
157
165
|
__exportStar(require("./DaySlots"), exports);
|
158
166
|
__exportStar(require("./DelegatedFlowType"), exports);
|
159
167
|
__exportStar(require("./DemoConnectionStatus"), exports);
|
@@ -166,12 +174,15 @@ __exportStar(require("./Energy"), exports);
|
|
166
174
|
__exportStar(require("./EventDestinationPreferencesPreferred"), exports);
|
167
175
|
__exportStar(require("./EventDestinationPreferencesEnabledItem"), exports);
|
168
176
|
__exportStar(require("./EventDestinationPreferences"), exports);
|
177
|
+
__exportStar(require("./FailureType"), exports);
|
169
178
|
__exportStar(require("./FallbackBirthDate"), exports);
|
170
179
|
__exportStar(require("./FallbackTimeZone"), exports);
|
171
180
|
__exportStar(require("./Fats"), exports);
|
172
181
|
__exportStar(require("./Gender"), exports);
|
173
182
|
__exportStar(require("./GetMarkersResponse"), exports);
|
174
183
|
__exportStar(require("./GetOrdersResponse"), exports);
|
184
|
+
__exportStar(require("./GroupKeyColumnExprGroupKey"), exports);
|
185
|
+
__exportStar(require("./GroupKeyColumnExpr"), exports);
|
175
186
|
__exportStar(require("./HttpValidationError"), exports);
|
176
187
|
__exportStar(require("./HealthInsuranceCreateRequestFrontImage"), exports);
|
177
188
|
__exportStar(require("./HealthInsuranceCreateRequestBackImage"), exports);
|
@@ -183,6 +194,8 @@ __exportStar(require("./HomePregnancyTestEntryTestResult"), exports);
|
|
183
194
|
__exportStar(require("./HomePregnancyTestEntry"), exports);
|
184
195
|
__exportStar(require("./HomeProgesteroneTestEntryTestResult"), exports);
|
185
196
|
__exportStar(require("./HomeProgesteroneTestEntry"), exports);
|
197
|
+
__exportStar(require("./IndexColumnExprIndex"), exports);
|
198
|
+
__exportStar(require("./IndexColumnExpr"), exports);
|
186
199
|
__exportStar(require("./IntermenstrualBleedingEntry"), exports);
|
187
200
|
__exportStar(require("./Jpeg"), exports);
|
188
201
|
__exportStar(require("./LabLocationMetadata"), exports);
|
@@ -208,6 +221,7 @@ __exportStar(require("./MenstrualFlowEntry"), exports);
|
|
208
221
|
__exportStar(require("./MetricsResult"), exports);
|
209
222
|
__exportStar(require("./Micros"), exports);
|
210
223
|
__exportStar(require("./Minerals"), exports);
|
224
|
+
__exportStar(require("./MissingBiomarkerResult"), exports);
|
211
225
|
__exportStar(require("./OAuthProviders"), exports);
|
212
226
|
__exportStar(require("./OrderSetRequest"), exports);
|
213
227
|
__exportStar(require("./OrderStatus"), exports);
|
@@ -241,8 +255,8 @@ __exportStar(require("./Providers"), exports);
|
|
241
255
|
__exportStar(require("./QueryConfigWeekStartsOn"), exports);
|
242
256
|
__exportStar(require("./QueryConfigProviderPriorityOverridesItem"), exports);
|
243
257
|
__exportStar(require("./QueryConfig"), exports);
|
244
|
-
__exportStar(require("./
|
245
|
-
__exportStar(require("./
|
258
|
+
__exportStar(require("./QueryInstructionSelectItem"), exports);
|
259
|
+
__exportStar(require("./QueryInstructionGroupByItem"), exports);
|
246
260
|
__exportStar(require("./QueryInstruction"), exports);
|
247
261
|
__exportStar(require("./Question"), exports);
|
248
262
|
__exportStar(require("./QuestionType"), exports);
|
@@ -252,8 +266,6 @@ __exportStar(require("./RawDevices"), exports);
|
|
252
266
|
__exportStar(require("./RawProfile"), exports);
|
253
267
|
__exportStar(require("./RawSleep"), exports);
|
254
268
|
__exportStar(require("./RawWorkout"), exports);
|
255
|
-
__exportStar(require("./ReducerFunction"), exports);
|
256
|
-
__exportStar(require("./Reducer"), exports);
|
257
269
|
__exportStar(require("./Region"), exports);
|
258
270
|
__exportStar(require("./RelativeTimeframe"), exports);
|
259
271
|
__exportStar(require("./ResourceAvailability"), exports);
|
@@ -268,16 +280,14 @@ __exportStar(require("./SingleProviderHistoricalPullResponse"), exports);
|
|
268
280
|
__exportStar(require("./SingleResourceStatistics"), exports);
|
269
281
|
__exportStar(require("./SingleUserHistoricalPullResponse"), exports);
|
270
282
|
__exportStar(require("./SingleUserResourceResponse"), exports);
|
271
|
-
__exportStar(require("./
|
272
|
-
__exportStar(require("./
|
283
|
+
__exportStar(require("./SleepColumnExprSleep"), exports);
|
284
|
+
__exportStar(require("./SleepColumnExpr"), exports);
|
273
285
|
__exportStar(require("./SleepSummaryState"), exports);
|
274
286
|
__exportStar(require("./SleepV2InDb"), exports);
|
275
287
|
__exportStar(require("./Source"), exports);
|
276
288
|
__exportStar(require("./SourceAuthType"), exports);
|
277
289
|
__exportStar(require("./SourceLink"), exports);
|
278
290
|
__exportStar(require("./SourceType"), exports);
|
279
|
-
__exportStar(require("./SwizzlingBinGranularity"), exports);
|
280
|
-
__exportStar(require("./Swizzling"), exports);
|
281
291
|
__exportStar(require("./TeamConfig"), exports);
|
282
292
|
__exportStar(require("./TimeSlot"), exports);
|
283
293
|
__exportStar(require("./TimeseriesMetricPoint"), exports);
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ActivityColumnExprActivity } from "./ActivityColumnExprActivity";
|
8
|
+
export declare const ActivityColumnExpr: core.serialization.ObjectSchema<serializers.ActivityColumnExpr.Raw, Vital.ActivityColumnExpr>;
|
9
|
+
export declare namespace ActivityColumnExpr {
|
10
|
+
interface Raw {
|
11
|
+
activity: ActivityColumnExprActivity.Raw;
|
12
|
+
}
|
13
|
+
}
|
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.ActivityColumnExpr = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
const
|
32
|
-
exports.
|
33
|
-
activity:
|
31
|
+
const ActivityColumnExprActivity_1 = require("./ActivityColumnExprActivity");
|
32
|
+
exports.ActivityColumnExpr = core.serialization.object({
|
33
|
+
activity: ActivityColumnExprActivity_1.ActivityColumnExprActivity,
|
34
34
|
});
|
@@ -4,7 +4,7 @@
|
|
4
4
|
import * as serializers from "../index";
|
5
5
|
import * as Vital from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
|
-
export declare const
|
8
|
-
export declare namespace
|
7
|
+
export declare const ActivityColumnExprActivity: core.serialization.Schema<serializers.ActivityColumnExprActivity.Raw, Vital.ActivityColumnExprActivity>;
|
8
|
+
export declare namespace ActivityColumnExprActivity {
|
9
9
|
type Raw = "date" | "calories_total" | "calories_active" | "steps" | "distance_meter" | "floors_climbed" | "duration_active_second" | "intensity_sedentary_second" | "intensity_low_second" | "intensity_medium_second" | "intensity_high_second" | "heart_rate_mean" | "heart_rate_min" | "heart_rate_max" | "heart_rate_resting" | "source_type" | "source_provider" | "source_app_id";
|
10
10
|
}
|
package/dist/serialization/types/{ActivitySelectorActivity.js → ActivityColumnExprActivity.js}
RENAMED
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.ActivityColumnExprActivity = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.
|
31
|
+
exports.ActivityColumnExprActivity = core.serialization.enum_([
|
32
32
|
"date",
|
33
33
|
"calories_total",
|
34
34
|
"calories_active",
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { AggregateExprArg } from "./AggregateExprArg";
|
8
|
+
import { AggregateExprFunc } from "./AggregateExprFunc";
|
9
|
+
export declare const AggregateExpr: core.serialization.ObjectSchema<serializers.AggregateExpr.Raw, Vital.AggregateExpr>;
|
10
|
+
export declare namespace AggregateExpr {
|
11
|
+
interface Raw {
|
12
|
+
arg: AggregateExprArg.Raw;
|
13
|
+
func: AggregateExprFunc.Raw;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
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.AggregateExpr = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const AggregateExprArg_1 = require("./AggregateExprArg");
|
32
|
+
const AggregateExprFunc_1 = require("./AggregateExprFunc");
|
33
|
+
exports.AggregateExpr = core.serialization.object({
|
34
|
+
arg: AggregateExprArg_1.AggregateExprArg,
|
35
|
+
func: AggregateExprFunc_1.AggregateExprFunc,
|
36
|
+
});
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { SleepColumnExpr } from "./SleepColumnExpr";
|
8
|
+
import { ActivityColumnExpr } from "./ActivityColumnExpr";
|
9
|
+
import { IndexColumnExpr } from "./IndexColumnExpr";
|
10
|
+
import { GroupKeyColumnExpr } from "./GroupKeyColumnExpr";
|
11
|
+
export declare const AggregateExprArg: core.serialization.Schema<serializers.AggregateExprArg.Raw, Vital.AggregateExprArg>;
|
12
|
+
export declare namespace AggregateExprArg {
|
13
|
+
type Raw = SleepColumnExpr.Raw | ActivityColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw;
|
14
|
+
}
|
@@ -0,0 +1,35 @@
|
|
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.AggregateExprArg = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const SleepColumnExpr_1 = require("./SleepColumnExpr");
|
32
|
+
const ActivityColumnExpr_1 = require("./ActivityColumnExpr");
|
33
|
+
const IndexColumnExpr_1 = require("./IndexColumnExpr");
|
34
|
+
const GroupKeyColumnExpr_1 = require("./GroupKeyColumnExpr");
|
35
|
+
exports.AggregateExprArg = core.serialization.undiscriminatedUnion([SleepColumnExpr_1.SleepColumnExpr, ActivityColumnExpr_1.ActivityColumnExpr, IndexColumnExpr_1.IndexColumnExpr, GroupKeyColumnExpr_1.GroupKeyColumnExpr]);
|
package/{serialization/types/ReducerFunction.d.ts → dist/serialization/types/AggregateExprFunc.d.ts}
RENAMED
@@ -4,7 +4,7 @@
|
|
4
4
|
import * as serializers from "../index";
|
5
5
|
import * as Vital from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
|
-
export declare const
|
8
|
-
export declare namespace
|
7
|
+
export declare const AggregateExprFunc: core.serialization.Schema<serializers.AggregateExprFunc.Raw, Vital.AggregateExprFunc>;
|
8
|
+
export declare namespace AggregateExprFunc {
|
9
9
|
type Raw = "mean" | "min" | "max" | "sum" | "count" | "median" | "stddev" | "oldest" | "newest";
|
10
10
|
}
|
package/{serialization/types/ReducerFunction.js → dist/serialization/types/AggregateExprFunc.js}
RENAMED
@@ -26,6 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.AggregateExprFunc = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.
|
31
|
+
exports.AggregateExprFunc = core.serialization.enum_(["mean", "min", "max", "sum", "count", "median", "stddev", "oldest", "newest"]);
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { DatePartExprArg } from "./DatePartExprArg";
|
8
|
+
import { DatePartExprDatePart } from "./DatePartExprDatePart";
|
9
|
+
export declare const DatePartExpr: core.serialization.ObjectSchema<serializers.DatePartExpr.Raw, Vital.DatePartExpr>;
|
10
|
+
export declare namespace DatePartExpr {
|
11
|
+
interface Raw {
|
12
|
+
arg: DatePartExprArg.Raw;
|
13
|
+
date_part: DatePartExprDatePart.Raw;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
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.DatePartExpr = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const DatePartExprArg_1 = require("./DatePartExprArg");
|
32
|
+
const DatePartExprDatePart_1 = require("./DatePartExprDatePart");
|
33
|
+
exports.DatePartExpr = core.serialization.object({
|
34
|
+
arg: DatePartExprArg_1.DatePartExprArg,
|
35
|
+
datePart: core.serialization.property("date_part", DatePartExprDatePart_1.DatePartExprDatePart),
|
36
|
+
});
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { IndexColumnExpr } from "./IndexColumnExpr";
|
8
|
+
import { Placeholder } from "./Placeholder";
|
9
|
+
export declare const DatePartExprArg: core.serialization.Schema<serializers.DatePartExprArg.Raw, Vital.DatePartExprArg>;
|
10
|
+
export declare namespace DatePartExprArg {
|
11
|
+
type Raw = IndexColumnExpr.Raw | Placeholder.Raw;
|
12
|
+
}
|
@@ -26,8 +26,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.DatePartExprArg = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
const
|
31
|
+
const IndexColumnExpr_1 = require("./IndexColumnExpr");
|
32
32
|
const Placeholder_1 = require("./Placeholder");
|
33
|
-
exports.
|
33
|
+
exports.DatePartExprArg = core.serialization.undiscriminatedUnion([IndexColumnExpr_1.IndexColumnExpr, Placeholder_1.Placeholder]);
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const DatePartExprDatePart: core.serialization.Schema<serializers.DatePartExprDatePart.Raw, Vital.DatePartExprDatePart>;
|
8
|
+
export declare namespace DatePartExprDatePart {
|
9
|
+
type Raw = "minute" | "hour" | "day" | "week" | "month" | "year" | "weekday" | "week_of_year" | "day_of_year";
|
10
|
+
}
|
@@ -0,0 +1,41 @@
|
|
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.DatePartExprDatePart = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.DatePartExprDatePart = core.serialization.enum_([
|
32
|
+
"minute",
|
33
|
+
"hour",
|
34
|
+
"day",
|
35
|
+
"week",
|
36
|
+
"month",
|
37
|
+
"year",
|
38
|
+
"weekday",
|
39
|
+
"week_of_year",
|
40
|
+
"day_of_year",
|
41
|
+
]);
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { Period } from "./Period";
|
8
|
+
import { DateTruncExprArg } from "./DateTruncExprArg";
|
9
|
+
export declare const DateTruncExpr: core.serialization.ObjectSchema<serializers.DateTruncExpr.Raw, Vital.DateTruncExpr>;
|
10
|
+
export declare namespace DateTruncExpr {
|
11
|
+
interface Raw {
|
12
|
+
date_trunc: Period.Raw;
|
13
|
+
arg: DateTruncExprArg.Raw;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
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.DateTruncExpr = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const Period_1 = require("./Period");
|
32
|
+
const DateTruncExprArg_1 = require("./DateTruncExprArg");
|
33
|
+
exports.DateTruncExpr = core.serialization.object({
|
34
|
+
dateTrunc: core.serialization.property("date_trunc", Period_1.Period),
|
35
|
+
arg: DateTruncExprArg_1.DateTruncExprArg,
|
36
|
+
});
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { IndexColumnExpr } from "./IndexColumnExpr";
|
8
|
+
import { Placeholder } from "./Placeholder";
|
9
|
+
export declare const DateTruncExprArg: core.serialization.Schema<serializers.DateTruncExprArg.Raw, Vital.DateTruncExprArg>;
|
10
|
+
export declare namespace DateTruncExprArg {
|
11
|
+
type Raw = IndexColumnExpr.Raw | Placeholder.Raw;
|
12
|
+
}
|
@@ -0,0 +1,33 @@
|
|
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.DateTruncExprArg = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const IndexColumnExpr_1 = require("./IndexColumnExpr");
|
32
|
+
const Placeholder_1 = require("./Placeholder");
|
33
|
+
exports.DateTruncExprArg = core.serialization.undiscriminatedUnion([IndexColumnExpr_1.IndexColumnExpr, Placeholder_1.Placeholder]);
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const FailureType: core.serialization.Schema<serializers.FailureType.Raw, Vital.FailureType>;
|
8
|
+
export declare namespace FailureType {
|
9
|
+
type Raw = "quantity_not_sufficient_failure" | "collection_process_failure" | "drop_off_failure" | "internal_lab_failure" | "order_entry_failure" | "non_failure" | "unknown_failure" | "patient_condition_failure" | "missing_result_calc_failure" | "missing_demo_aoe_calc_failure";
|
10
|
+
}
|
@@ -26,8 +26,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.FailureType = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
|
32
|
-
|
33
|
-
|
31
|
+
exports.FailureType = core.serialization.enum_([
|
32
|
+
"quantity_not_sufficient_failure",
|
33
|
+
"collection_process_failure",
|
34
|
+
"drop_off_failure",
|
35
|
+
"internal_lab_failure",
|
36
|
+
"order_entry_failure",
|
37
|
+
"non_failure",
|
38
|
+
"unknown_failure",
|
39
|
+
"patient_condition_failure",
|
40
|
+
"missing_result_calc_failure",
|
41
|
+
"missing_demo_aoe_calc_failure",
|
42
|
+
]);
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { GroupKeyColumnExprGroupKey } from "./GroupKeyColumnExprGroupKey";
|
8
|
+
export declare const GroupKeyColumnExpr: core.serialization.ObjectSchema<serializers.GroupKeyColumnExpr.Raw, Vital.GroupKeyColumnExpr>;
|
9
|
+
export declare namespace GroupKeyColumnExpr {
|
10
|
+
interface Raw {
|
11
|
+
group_key?: GroupKeyColumnExprGroupKey.Raw | null;
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,34 @@
|
|
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.GroupKeyColumnExpr = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const GroupKeyColumnExprGroupKey_1 = require("./GroupKeyColumnExprGroupKey");
|
32
|
+
exports.GroupKeyColumnExpr = core.serialization.object({
|
33
|
+
groupKey: core.serialization.property("group_key", GroupKeyColumnExprGroupKey_1.GroupKeyColumnExprGroupKey.optional()),
|
34
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const GroupKeyColumnExprGroupKey: core.serialization.Schema<serializers.GroupKeyColumnExprGroupKey.Raw, Vital.GroupKeyColumnExprGroupKey>;
|
8
|
+
export declare namespace GroupKeyColumnExprGroupKey {
|
9
|
+
type Raw = number | "*";
|
10
|
+
}
|
@@ -26,9 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.GroupKeyColumnExprGroupKey = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
|
32
|
-
exports.Reducer = core.serialization.object({
|
33
|
-
function: ReducerFunction_1.ReducerFunction,
|
34
|
-
});
|
31
|
+
exports.GroupKeyColumnExprGroupKey = core.serialization.undiscriminatedUnion([core.serialization.number(), core.serialization.stringLiteral("*")]);
|