@tryvital/vital-node 3.1.45 → 3.1.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/body/client/Client.js +2 -2
  3. package/api/resources/devices/client/Client.js +1 -1
  4. package/api/resources/insurance/client/Client.js +2 -2
  5. package/api/resources/introspect/client/Client.js +2 -2
  6. package/api/resources/labTests/client/Client.js +27 -27
  7. package/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
  8. package/api/resources/link/client/Client.js +14 -14
  9. package/api/resources/meal/client/Client.js +1 -1
  10. package/api/resources/menstrualCycle/client/Client.js +1 -1
  11. package/api/resources/profile/client/Client.js +2 -2
  12. package/api/resources/providers/client/Client.js +1 -1
  13. package/api/resources/sleep/client/Client.js +4 -4
  14. package/api/resources/team/client/Client.js +7 -7
  15. package/api/resources/testkit/client/Client.js +2 -2
  16. package/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -1
  17. package/api/resources/user/client/Client.js +12 -12
  18. package/api/resources/vitals/client/Client.js +52 -52
  19. package/api/resources/workouts/client/Client.js +3 -3
  20. package/api/types/ClientFacingOrder.d.ts +1 -1
  21. package/api/types/{PatientAddressCompatibleOutput.d.ts → PatientAddressCompatible.d.ts} +1 -1
  22. package/api/types/Question.d.ts +1 -0
  23. package/api/types/index.d.ts +1 -2
  24. package/api/types/index.js +1 -2
  25. package/dist/api/resources/activity/client/Client.js +2 -2
  26. package/dist/api/resources/body/client/Client.js +2 -2
  27. package/dist/api/resources/devices/client/Client.js +1 -1
  28. package/dist/api/resources/insurance/client/Client.js +2 -2
  29. package/dist/api/resources/introspect/client/Client.js +2 -2
  30. package/dist/api/resources/labTests/client/Client.js +27 -27
  31. package/dist/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
  32. package/dist/api/resources/link/client/Client.js +14 -14
  33. package/dist/api/resources/meal/client/Client.js +1 -1
  34. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  35. package/dist/api/resources/profile/client/Client.js +2 -2
  36. package/dist/api/resources/providers/client/Client.js +1 -1
  37. package/dist/api/resources/sleep/client/Client.js +4 -4
  38. package/dist/api/resources/team/client/Client.js +7 -7
  39. package/dist/api/resources/testkit/client/Client.js +2 -2
  40. package/dist/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -1
  41. package/dist/api/resources/user/client/Client.js +12 -12
  42. package/dist/api/resources/vitals/client/Client.js +52 -52
  43. package/dist/api/resources/workouts/client/Client.js +3 -3
  44. package/dist/api/types/ClientFacingOrder.d.ts +1 -1
  45. package/dist/api/types/{PatientAddressCompatibleOutput.d.ts → PatientAddressCompatible.d.ts} +1 -1
  46. package/dist/api/types/Question.d.ts +1 -0
  47. package/dist/api/types/index.d.ts +1 -2
  48. package/dist/api/types/index.js +1 -2
  49. package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
  50. package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
  51. package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
  52. package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +2 -2
  53. package/dist/serialization/types/ClientFacingOrder.d.ts +2 -2
  54. package/dist/serialization/types/ClientFacingOrder.js +2 -2
  55. package/dist/serialization/types/{PatientAddressCompatibleOutput.d.ts → PatientAddressCompatible.d.ts} +2 -2
  56. package/dist/serialization/types/{PatientAddressCompatibleOutput.js → PatientAddressCompatible.js} +2 -2
  57. package/dist/serialization/types/Question.d.ts +1 -0
  58. package/dist/serialization/types/Question.js +1 -0
  59. package/dist/serialization/types/index.d.ts +1 -2
  60. package/dist/serialization/types/index.js +1 -2
  61. package/package.json +1 -1
  62. package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
  63. package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
  64. package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
  65. package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +2 -2
  66. package/serialization/types/ClientFacingOrder.d.ts +2 -2
  67. package/serialization/types/ClientFacingOrder.js +2 -2
  68. package/serialization/types/{PatientAddressCompatibleOutput.d.ts → PatientAddressCompatible.d.ts} +2 -2
  69. package/serialization/types/{PatientAddressCompatibleOutput.js → PatientAddressCompatible.js} +2 -2
  70. package/serialization/types/Question.d.ts +1 -0
  71. package/serialization/types/Question.js +1 -0
  72. package/serialization/types/index.d.ts +1 -2
  73. package/serialization/types/index.js +1 -2
  74. package/api/types/PatientAddressCompatibleInput.d.ts +0 -13
  75. package/dist/api/types/PatientAddressCompatibleInput.d.ts +0 -13
  76. package/dist/api/types/PatientAddressCompatibleInput.js +0 -5
  77. package/dist/api/types/PatientAddressCompatibleOutput.js +0 -5
  78. package/dist/serialization/types/PatientAddressCompatibleInput.d.ts +0 -19
  79. package/dist/serialization/types/PatientAddressCompatibleInput.js +0 -40
  80. package/serialization/types/PatientAddressCompatibleInput.d.ts +0 -19
  81. package/serialization/types/PatientAddressCompatibleInput.js +0 -40
  82. /package/api/types/{PatientAddressCompatibleInput.js → PatientAddressCompatible.js} +0 -0
  83. /package/{api/types/PatientAddressCompatibleOutput.js → dist/api/types/PatientAddressCompatible.js} +0 -0
@@ -9,7 +9,7 @@ import { HealthInsuranceCreateRequest } from "../../../../types/HealthInsuranceC
9
9
  import { Consent } from "../../../../types/Consent";
10
10
  import { AoEAnswer } from "../../../../types/AoEAnswer";
11
11
  import { PatientDetails } from "../../../../types/PatientDetails";
12
- import { PatientAddressCompatibleInput } from "../../../../types/PatientAddressCompatibleInput";
12
+ import { PatientAddressCompatible } from "../../../../types/PatientAddressCompatible";
13
13
  export declare const CreateOrderRequestCompatible: core.serialization.Schema<serializers.CreateOrderRequestCompatible.Raw, Vital.CreateOrderRequestCompatible>;
14
14
  export declare namespace CreateOrderRequestCompatible {
15
15
  interface Raw {
@@ -23,6 +23,6 @@ export declare namespace CreateOrderRequestCompatible {
23
23
  aoe_answers?: AoEAnswer.Raw[] | null;
24
24
  passthrough?: string | null;
25
25
  patient_details: PatientDetails.Raw;
26
- patient_address: PatientAddressCompatibleInput.Raw;
26
+ patient_address: PatientAddressCompatible.Raw;
27
27
  }
28
28
  }
@@ -33,7 +33,7 @@ const HealthInsuranceCreateRequest_1 = require("../../../../types/HealthInsuranc
33
33
  const Consent_1 = require("../../../../types/Consent");
34
34
  const AoEAnswer_1 = require("../../../../types/AoEAnswer");
35
35
  const PatientDetails_1 = require("../../../../types/PatientDetails");
36
- const PatientAddressCompatibleInput_1 = require("../../../../types/PatientAddressCompatibleInput");
36
+ const PatientAddressCompatible_1 = require("../../../../types/PatientAddressCompatible");
37
37
  exports.CreateOrderRequestCompatible = core.serialization.object({
38
38
  userId: core.serialization.property("user_id", core.serialization.string()),
39
39
  labTestId: core.serialization.property("lab_test_id", core.serialization.string()),
@@ -45,5 +45,5 @@ exports.CreateOrderRequestCompatible = core.serialization.object({
45
45
  aoeAnswers: core.serialization.property("aoe_answers", core.serialization.list(AoEAnswer_1.AoEAnswer).optional()),
46
46
  passthrough: core.serialization.string().optional(),
47
47
  patientDetails: core.serialization.property("patient_details", PatientDetails_1.PatientDetails),
48
- patientAddress: core.serialization.property("patient_address", PatientAddressCompatibleInput_1.PatientAddressCompatibleInput),
48
+ patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible),
49
49
  });
@@ -5,7 +5,7 @@ import * as serializers from "../../../..";
5
5
  import * as Vital from "../../../../../api";
6
6
  import * as core from "../../../../../core";
7
7
  import { PatientDetails } from "../../../../types/PatientDetails";
8
- import { PatientAddressCompatibleInput } from "../../../../types/PatientAddressCompatibleInput";
8
+ import { PatientAddressCompatible } from "../../../../types/PatientAddressCompatible";
9
9
  import { PhysicianCreateRequestBase } from "../../../../types/PhysicianCreateRequestBase";
10
10
  import { HealthInsuranceCreateRequest } from "../../../../types/HealthInsuranceCreateRequest";
11
11
  import { Consent } from "../../../../types/Consent";
@@ -15,7 +15,7 @@ export declare namespace RegisterTestkitRequest {
15
15
  user_id: string;
16
16
  sample_id: string;
17
17
  patient_details: PatientDetails.Raw;
18
- patient_address: PatientAddressCompatibleInput.Raw;
18
+ patient_address: PatientAddressCompatible.Raw;
19
19
  physician?: PhysicianCreateRequestBase.Raw | null;
20
20
  health_insurance?: HealthInsuranceCreateRequest.Raw | null;
21
21
  consents?: Consent.Raw[] | null;
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.RegisterTestkitRequest = void 0;
30
30
  const core = __importStar(require("../../../../../core"));
31
31
  const PatientDetails_1 = require("../../../../types/PatientDetails");
32
- const PatientAddressCompatibleInput_1 = require("../../../../types/PatientAddressCompatibleInput");
32
+ const PatientAddressCompatible_1 = require("../../../../types/PatientAddressCompatible");
33
33
  const PhysicianCreateRequestBase_1 = require("../../../../types/PhysicianCreateRequestBase");
34
34
  const HealthInsuranceCreateRequest_1 = require("../../../../types/HealthInsuranceCreateRequest");
35
35
  const Consent_1 = require("../../../../types/Consent");
@@ -37,7 +37,7 @@ exports.RegisterTestkitRequest = core.serialization.object({
37
37
  userId: core.serialization.property("user_id", core.serialization.string()),
38
38
  sampleId: core.serialization.property("sample_id", core.serialization.string()),
39
39
  patientDetails: core.serialization.property("patient_details", PatientDetails_1.PatientDetails),
40
- patientAddress: core.serialization.property("patient_address", PatientAddressCompatibleInput_1.PatientAddressCompatibleInput),
40
+ patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible),
41
41
  physician: PhysicianCreateRequestBase_1.PhysicianCreateRequestBase.optional(),
42
42
  healthInsurance: core.serialization.property("health_insurance", HealthInsuranceCreateRequest_1.HealthInsuranceCreateRequest.optional()),
43
43
  consents: core.serialization.list(Consent_1.Consent).optional(),
@@ -5,7 +5,7 @@ import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
7
  import { ClientFacingPatientDetailsCompatible } from "./ClientFacingPatientDetailsCompatible";
8
- import { PatientAddressCompatibleOutput } from "./PatientAddressCompatibleOutput";
8
+ import { PatientAddressCompatible } from "./PatientAddressCompatible";
9
9
  import { ClientFacingLabTest } from "./ClientFacingLabTest";
10
10
  import { ClientFacingOrderDetails } from "./ClientFacingOrderDetails";
11
11
  import { ClientFacingOrderEvent } from "./ClientFacingOrderEvent";
@@ -19,7 +19,7 @@ export declare namespace ClientFacingOrder {
19
19
  id: string;
20
20
  team_id: string;
21
21
  patient_details?: ClientFacingPatientDetailsCompatible.Raw | null;
22
- patient_address?: PatientAddressCompatibleOutput.Raw | null;
22
+ patient_address?: PatientAddressCompatible.Raw | null;
23
23
  lab_test: ClientFacingLabTest.Raw;
24
24
  details: ClientFacingOrderDetails.Raw;
25
25
  sample_id?: string | null;
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ClientFacingOrder = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const ClientFacingPatientDetailsCompatible_1 = require("./ClientFacingPatientDetailsCompatible");
32
- const PatientAddressCompatibleOutput_1 = require("./PatientAddressCompatibleOutput");
32
+ const PatientAddressCompatible_1 = require("./PatientAddressCompatible");
33
33
  const ClientFacingLabTest_1 = require("./ClientFacingLabTest");
34
34
  const ClientFacingOrderDetails_1 = require("./ClientFacingOrderDetails");
35
35
  const ClientFacingOrderEvent_1 = require("./ClientFacingOrderEvent");
@@ -41,7 +41,7 @@ exports.ClientFacingOrder = core.serialization.object({
41
41
  id: core.serialization.string(),
42
42
  teamId: core.serialization.property("team_id", core.serialization.string()),
43
43
  patientDetails: core.serialization.property("patient_details", ClientFacingPatientDetailsCompatible_1.ClientFacingPatientDetailsCompatible.optional()),
44
- patientAddress: core.serialization.property("patient_address", PatientAddressCompatibleOutput_1.PatientAddressCompatibleOutput.optional()),
44
+ patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible.optional()),
45
45
  labTest: core.serialization.property("lab_test", ClientFacingLabTest_1.ClientFacingLabTest),
46
46
  details: ClientFacingOrderDetails_1.ClientFacingOrderDetails,
47
47
  sampleId: core.serialization.property("sample_id", core.serialization.string().optional()),
@@ -4,8 +4,8 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
- export declare const PatientAddressCompatibleOutput: core.serialization.ObjectSchema<serializers.PatientAddressCompatibleOutput.Raw, Vital.PatientAddressCompatibleOutput>;
8
- export declare namespace PatientAddressCompatibleOutput {
7
+ export declare const PatientAddressCompatible: core.serialization.ObjectSchema<serializers.PatientAddressCompatible.Raw, Vital.PatientAddressCompatible>;
8
+ export declare namespace PatientAddressCompatible {
9
9
  interface Raw {
10
10
  receiver_name?: string | null;
11
11
  first_line: string;
@@ -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.PatientAddressCompatibleOutput = void 0;
29
+ exports.PatientAddressCompatible = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.PatientAddressCompatibleOutput = core.serialization.object({
31
+ exports.PatientAddressCompatible = core.serialization.object({
32
32
  receiverName: core.serialization.property("receiver_name", core.serialization.string().optional()),
33
33
  firstLine: core.serialization.property("first_line", core.serialization.string()),
34
34
  secondLine: core.serialization.property("second_line", core.serialization.string().optional()),
@@ -16,5 +16,6 @@ export declare namespace Question {
16
16
  type: QuestionType.Raw;
17
17
  sequence: number;
18
18
  answers: Answer.Raw[];
19
+ constraint?: string | null;
19
20
  }
20
21
  }
@@ -38,4 +38,5 @@ exports.Question = core.serialization.object({
38
38
  type: QuestionType_1.QuestionType,
39
39
  sequence: core.serialization.number(),
40
40
  answers: core.serialization.list(Answer_1.Answer),
41
+ constraint: core.serialization.string().optional(),
41
42
  });
@@ -178,8 +178,7 @@ export * from "./PscAreaInfoDetails";
178
178
  export * from "./PscInfo";
179
179
  export * from "./PaginatedUsersResponse";
180
180
  export * from "./PasswordProviders";
181
- export * from "./PatientAddressCompatibleInput";
182
- export * from "./PatientAddressCompatibleOutput";
181
+ export * from "./PatientAddressCompatible";
183
182
  export * from "./PatientDetails";
184
183
  export * from "./PersonDetails";
185
184
  export * from "./PhlebotomyAreaInfo";
@@ -194,8 +194,7 @@ __exportStar(require("./PscAreaInfoDetails"), exports);
194
194
  __exportStar(require("./PscInfo"), exports);
195
195
  __exportStar(require("./PaginatedUsersResponse"), exports);
196
196
  __exportStar(require("./PasswordProviders"), exports);
197
- __exportStar(require("./PatientAddressCompatibleInput"), exports);
198
- __exportStar(require("./PatientAddressCompatibleOutput"), exports);
197
+ __exportStar(require("./PatientAddressCompatible"), exports);
199
198
  __exportStar(require("./PatientDetails"), exports);
200
199
  __exportStar(require("./PersonDetails"), exports);
201
200
  __exportStar(require("./PhlebotomyAreaInfo"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-node",
3
- "version": "3.1.45",
3
+ "version": "3.1.47",
4
4
  "private": false,
5
5
  "repository": "https://github.com/tryVital/vital-node",
6
6
  "main": "./index.js",
@@ -9,7 +9,7 @@ import { HealthInsuranceCreateRequest } from "../../../../types/HealthInsuranceC
9
9
  import { Consent } from "../../../../types/Consent";
10
10
  import { AoEAnswer } from "../../../../types/AoEAnswer";
11
11
  import { PatientDetails } from "../../../../types/PatientDetails";
12
- import { PatientAddressCompatibleInput } from "../../../../types/PatientAddressCompatibleInput";
12
+ import { PatientAddressCompatible } from "../../../../types/PatientAddressCompatible";
13
13
  export declare const CreateOrderRequestCompatible: core.serialization.Schema<serializers.CreateOrderRequestCompatible.Raw, Vital.CreateOrderRequestCompatible>;
14
14
  export declare namespace CreateOrderRequestCompatible {
15
15
  interface Raw {
@@ -23,6 +23,6 @@ export declare namespace CreateOrderRequestCompatible {
23
23
  aoe_answers?: AoEAnswer.Raw[] | null;
24
24
  passthrough?: string | null;
25
25
  patient_details: PatientDetails.Raw;
26
- patient_address: PatientAddressCompatibleInput.Raw;
26
+ patient_address: PatientAddressCompatible.Raw;
27
27
  }
28
28
  }
@@ -33,7 +33,7 @@ const HealthInsuranceCreateRequest_1 = require("../../../../types/HealthInsuranc
33
33
  const Consent_1 = require("../../../../types/Consent");
34
34
  const AoEAnswer_1 = require("../../../../types/AoEAnswer");
35
35
  const PatientDetails_1 = require("../../../../types/PatientDetails");
36
- const PatientAddressCompatibleInput_1 = require("../../../../types/PatientAddressCompatibleInput");
36
+ const PatientAddressCompatible_1 = require("../../../../types/PatientAddressCompatible");
37
37
  exports.CreateOrderRequestCompatible = core.serialization.object({
38
38
  userId: core.serialization.property("user_id", core.serialization.string()),
39
39
  labTestId: core.serialization.property("lab_test_id", core.serialization.string()),
@@ -45,5 +45,5 @@ exports.CreateOrderRequestCompatible = core.serialization.object({
45
45
  aoeAnswers: core.serialization.property("aoe_answers", core.serialization.list(AoEAnswer_1.AoEAnswer).optional()),
46
46
  passthrough: core.serialization.string().optional(),
47
47
  patientDetails: core.serialization.property("patient_details", PatientDetails_1.PatientDetails),
48
- patientAddress: core.serialization.property("patient_address", PatientAddressCompatibleInput_1.PatientAddressCompatibleInput),
48
+ patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible),
49
49
  });
@@ -5,7 +5,7 @@ import * as serializers from "../../../..";
5
5
  import * as Vital from "../../../../../api";
6
6
  import * as core from "../../../../../core";
7
7
  import { PatientDetails } from "../../../../types/PatientDetails";
8
- import { PatientAddressCompatibleInput } from "../../../../types/PatientAddressCompatibleInput";
8
+ import { PatientAddressCompatible } from "../../../../types/PatientAddressCompatible";
9
9
  import { PhysicianCreateRequestBase } from "../../../../types/PhysicianCreateRequestBase";
10
10
  import { HealthInsuranceCreateRequest } from "../../../../types/HealthInsuranceCreateRequest";
11
11
  import { Consent } from "../../../../types/Consent";
@@ -15,7 +15,7 @@ export declare namespace RegisterTestkitRequest {
15
15
  user_id: string;
16
16
  sample_id: string;
17
17
  patient_details: PatientDetails.Raw;
18
- patient_address: PatientAddressCompatibleInput.Raw;
18
+ patient_address: PatientAddressCompatible.Raw;
19
19
  physician?: PhysicianCreateRequestBase.Raw | null;
20
20
  health_insurance?: HealthInsuranceCreateRequest.Raw | null;
21
21
  consents?: Consent.Raw[] | null;
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.RegisterTestkitRequest = void 0;
30
30
  const core = __importStar(require("../../../../../core"));
31
31
  const PatientDetails_1 = require("../../../../types/PatientDetails");
32
- const PatientAddressCompatibleInput_1 = require("../../../../types/PatientAddressCompatibleInput");
32
+ const PatientAddressCompatible_1 = require("../../../../types/PatientAddressCompatible");
33
33
  const PhysicianCreateRequestBase_1 = require("../../../../types/PhysicianCreateRequestBase");
34
34
  const HealthInsuranceCreateRequest_1 = require("../../../../types/HealthInsuranceCreateRequest");
35
35
  const Consent_1 = require("../../../../types/Consent");
@@ -37,7 +37,7 @@ exports.RegisterTestkitRequest = core.serialization.object({
37
37
  userId: core.serialization.property("user_id", core.serialization.string()),
38
38
  sampleId: core.serialization.property("sample_id", core.serialization.string()),
39
39
  patientDetails: core.serialization.property("patient_details", PatientDetails_1.PatientDetails),
40
- patientAddress: core.serialization.property("patient_address", PatientAddressCompatibleInput_1.PatientAddressCompatibleInput),
40
+ patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible),
41
41
  physician: PhysicianCreateRequestBase_1.PhysicianCreateRequestBase.optional(),
42
42
  healthInsurance: core.serialization.property("health_insurance", HealthInsuranceCreateRequest_1.HealthInsuranceCreateRequest.optional()),
43
43
  consents: core.serialization.list(Consent_1.Consent).optional(),
@@ -5,7 +5,7 @@ import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
7
  import { ClientFacingPatientDetailsCompatible } from "./ClientFacingPatientDetailsCompatible";
8
- import { PatientAddressCompatibleOutput } from "./PatientAddressCompatibleOutput";
8
+ import { PatientAddressCompatible } from "./PatientAddressCompatible";
9
9
  import { ClientFacingLabTest } from "./ClientFacingLabTest";
10
10
  import { ClientFacingOrderDetails } from "./ClientFacingOrderDetails";
11
11
  import { ClientFacingOrderEvent } from "./ClientFacingOrderEvent";
@@ -19,7 +19,7 @@ export declare namespace ClientFacingOrder {
19
19
  id: string;
20
20
  team_id: string;
21
21
  patient_details?: ClientFacingPatientDetailsCompatible.Raw | null;
22
- patient_address?: PatientAddressCompatibleOutput.Raw | null;
22
+ patient_address?: PatientAddressCompatible.Raw | null;
23
23
  lab_test: ClientFacingLabTest.Raw;
24
24
  details: ClientFacingOrderDetails.Raw;
25
25
  sample_id?: string | null;
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ClientFacingOrder = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const ClientFacingPatientDetailsCompatible_1 = require("./ClientFacingPatientDetailsCompatible");
32
- const PatientAddressCompatibleOutput_1 = require("./PatientAddressCompatibleOutput");
32
+ const PatientAddressCompatible_1 = require("./PatientAddressCompatible");
33
33
  const ClientFacingLabTest_1 = require("./ClientFacingLabTest");
34
34
  const ClientFacingOrderDetails_1 = require("./ClientFacingOrderDetails");
35
35
  const ClientFacingOrderEvent_1 = require("./ClientFacingOrderEvent");
@@ -41,7 +41,7 @@ exports.ClientFacingOrder = core.serialization.object({
41
41
  id: core.serialization.string(),
42
42
  teamId: core.serialization.property("team_id", core.serialization.string()),
43
43
  patientDetails: core.serialization.property("patient_details", ClientFacingPatientDetailsCompatible_1.ClientFacingPatientDetailsCompatible.optional()),
44
- patientAddress: core.serialization.property("patient_address", PatientAddressCompatibleOutput_1.PatientAddressCompatibleOutput.optional()),
44
+ patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible.optional()),
45
45
  labTest: core.serialization.property("lab_test", ClientFacingLabTest_1.ClientFacingLabTest),
46
46
  details: ClientFacingOrderDetails_1.ClientFacingOrderDetails,
47
47
  sampleId: core.serialization.property("sample_id", core.serialization.string().optional()),
@@ -4,8 +4,8 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
- export declare const PatientAddressCompatibleOutput: core.serialization.ObjectSchema<serializers.PatientAddressCompatibleOutput.Raw, Vital.PatientAddressCompatibleOutput>;
8
- export declare namespace PatientAddressCompatibleOutput {
7
+ export declare const PatientAddressCompatible: core.serialization.ObjectSchema<serializers.PatientAddressCompatible.Raw, Vital.PatientAddressCompatible>;
8
+ export declare namespace PatientAddressCompatible {
9
9
  interface Raw {
10
10
  receiver_name?: string | null;
11
11
  first_line: string;
@@ -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.PatientAddressCompatibleOutput = void 0;
29
+ exports.PatientAddressCompatible = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.PatientAddressCompatibleOutput = core.serialization.object({
31
+ exports.PatientAddressCompatible = core.serialization.object({
32
32
  receiverName: core.serialization.property("receiver_name", core.serialization.string().optional()),
33
33
  firstLine: core.serialization.property("first_line", core.serialization.string()),
34
34
  secondLine: core.serialization.property("second_line", core.serialization.string().optional()),
@@ -16,5 +16,6 @@ export declare namespace Question {
16
16
  type: QuestionType.Raw;
17
17
  sequence: number;
18
18
  answers: Answer.Raw[];
19
+ constraint?: string | null;
19
20
  }
20
21
  }
@@ -38,4 +38,5 @@ exports.Question = core.serialization.object({
38
38
  type: QuestionType_1.QuestionType,
39
39
  sequence: core.serialization.number(),
40
40
  answers: core.serialization.list(Answer_1.Answer),
41
+ constraint: core.serialization.string().optional(),
41
42
  });
@@ -178,8 +178,7 @@ export * from "./PscAreaInfoDetails";
178
178
  export * from "./PscInfo";
179
179
  export * from "./PaginatedUsersResponse";
180
180
  export * from "./PasswordProviders";
181
- export * from "./PatientAddressCompatibleInput";
182
- export * from "./PatientAddressCompatibleOutput";
181
+ export * from "./PatientAddressCompatible";
183
182
  export * from "./PatientDetails";
184
183
  export * from "./PersonDetails";
185
184
  export * from "./PhlebotomyAreaInfo";
@@ -194,8 +194,7 @@ __exportStar(require("./PscAreaInfoDetails"), exports);
194
194
  __exportStar(require("./PscInfo"), exports);
195
195
  __exportStar(require("./PaginatedUsersResponse"), exports);
196
196
  __exportStar(require("./PasswordProviders"), exports);
197
- __exportStar(require("./PatientAddressCompatibleInput"), exports);
198
- __exportStar(require("./PatientAddressCompatibleOutput"), exports);
197
+ __exportStar(require("./PatientAddressCompatible"), exports);
199
198
  __exportStar(require("./PatientDetails"), exports);
200
199
  __exportStar(require("./PersonDetails"), exports);
201
200
  __exportStar(require("./PhlebotomyAreaInfo"), exports);
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface PatientAddressCompatibleInput {
5
- receiverName?: string;
6
- street: string;
7
- streetNumber?: string;
8
- city: string;
9
- state: string;
10
- zip: string;
11
- country: string;
12
- phoneNumber?: string;
13
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface PatientAddressCompatibleInput {
5
- receiverName?: string;
6
- street: string;
7
- streetNumber?: string;
8
- city: string;
9
- state: string;
10
- zip: string;
11
- country: string;
12
- phoneNumber?: string;
13
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,19 +0,0 @@
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 PatientAddressCompatibleInput: core.serialization.ObjectSchema<serializers.PatientAddressCompatibleInput.Raw, Vital.PatientAddressCompatibleInput>;
8
- export declare namespace PatientAddressCompatibleInput {
9
- interface Raw {
10
- receiver_name?: string | null;
11
- street: string;
12
- street_number?: string | null;
13
- city: string;
14
- state: string;
15
- zip: string;
16
- country: string;
17
- phone_number?: string | null;
18
- }
19
- }
@@ -1,40 +0,0 @@
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.PatientAddressCompatibleInput = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.PatientAddressCompatibleInput = core.serialization.object({
32
- receiverName: core.serialization.property("receiver_name", core.serialization.string().optional()),
33
- street: core.serialization.string(),
34
- streetNumber: core.serialization.property("street_number", core.serialization.string().optional()),
35
- city: core.serialization.string(),
36
- state: core.serialization.string(),
37
- zip: core.serialization.string(),
38
- country: core.serialization.string(),
39
- phoneNumber: core.serialization.property("phone_number", core.serialization.string().optional()),
40
- });
@@ -1,19 +0,0 @@
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 PatientAddressCompatibleInput: core.serialization.ObjectSchema<serializers.PatientAddressCompatibleInput.Raw, Vital.PatientAddressCompatibleInput>;
8
- export declare namespace PatientAddressCompatibleInput {
9
- interface Raw {
10
- receiver_name?: string | null;
11
- street: string;
12
- street_number?: string | null;
13
- city: string;
14
- state: string;
15
- zip: string;
16
- country: string;
17
- phone_number?: string | null;
18
- }
19
- }
@@ -1,40 +0,0 @@
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.PatientAddressCompatibleInput = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.PatientAddressCompatibleInput = core.serialization.object({
32
- receiverName: core.serialization.property("receiver_name", core.serialization.string().optional()),
33
- street: core.serialization.string(),
34
- streetNumber: core.serialization.property("street_number", core.serialization.string().optional()),
35
- city: core.serialization.string(),
36
- state: core.serialization.string(),
37
- zip: core.serialization.string(),
38
- country: core.serialization.string(),
39
- phoneNumber: core.serialization.property("phone_number", core.serialization.string().optional()),
40
- });