@metriport/api-sdk 6.0.3-alpha.2 → 6.0.3-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -19,4 +19,5 @@ export { Facility, FacilityCreate, facilityCreateSchema, facilityListSchema, fac
19
19
  export { MedicalDataSource } from "./medical/models/common/medical-data-source";
20
20
  export { Organization, OrganizationCreate, organizationCreateSchema, organizationSchema, OrgType, orgTypeSchema, } from "./medical/models/organization";
21
21
  export { Patient, PatientCreate, patientCreateSchema, patientListSchema, patientSchema, PatientUpdate, patientUpdateSchema, } from "./medical/models/patient";
22
+ export declare const comment = "This file is generated by the build process, v2";
22
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC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,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EACL,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,QAAQ,EACR,cAAc,EACd,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,GACf,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,OAAO,EACP,aAAa,GACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,OAAO,EACP,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAElC,eAAO,MAAM,OAAO,oDAAoD,CAAC"}
package/dist/index.js CHANGED
@@ -1,47 +1,17 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.patientUpdateSchema = exports.patientSchema = exports.patientListSchema = exports.patientCreateSchema = exports.orgTypeSchema = exports.OrgType = exports.organizationSchema = exports.organizationCreateSchema = exports.MedicalDataSource = exports.facilitySchema = exports.facilityListSchema = exports.facilityCreateSchema = exports.documentReferenceSchema = exports.documentQueryStatusSchema = exports.documentQuerySchema = exports.documentListSchema = exports.personalIdentifierSchema = exports.genderAtBirthSchema = exports.demographicsSchema = exports.contactSchema = exports.usStateSchema = exports.USState = exports.baseUpdateSchema = exports.addressSchema = exports.MetriportMedicalApi = exports.SourceType = exports.ProviderSource = exports.MetriportDevicesApi = void 0;
4
1
  // Devices API
5
- var metriport_1 = require("./devices/client/metriport");
6
- Object.defineProperty(exports, "MetriportDevicesApi", { enumerable: true, get: function () { return metriport_1.MetriportDevicesApi; } });
7
- var provider_source_1 = require("./devices/models/common/provider-source");
8
- Object.defineProperty(exports, "ProviderSource", { enumerable: true, get: function () { return provider_source_1.ProviderSource; } });
9
- var source_type_1 = require("./devices/models/common/source-type");
10
- Object.defineProperty(exports, "SourceType", { enumerable: true, get: function () { return source_type_1.SourceType; } });
2
+ export { MetriportDevicesApi } from "./devices/client/metriport";
3
+ export { ProviderSource } from "./devices/models/common/provider-source";
4
+ export { SourceType } from "./devices/models/common/source-type";
11
5
  // Medical API
12
- var metriport_2 = require("./medical/client/metriport");
13
- Object.defineProperty(exports, "MetriportMedicalApi", { enumerable: true, get: function () { return metriport_2.MetriportMedicalApi; } });
14
- var address_1 = require("./medical/models/common/address");
15
- Object.defineProperty(exports, "addressSchema", { enumerable: true, get: function () { return address_1.addressSchema; } });
16
- var base_update_1 = require("./medical/models/common/base-update");
17
- Object.defineProperty(exports, "baseUpdateSchema", { enumerable: true, get: function () { return base_update_1.baseUpdateSchema; } });
18
- var us_data_1 = require("./medical/models/common/us-data");
19
- Object.defineProperty(exports, "USState", { enumerable: true, get: function () { return us_data_1.USState; } });
20
- Object.defineProperty(exports, "usStateSchema", { enumerable: true, get: function () { return us_data_1.usStateSchema; } });
21
- var demographics_1 = require("./medical/models/demographics");
22
- Object.defineProperty(exports, "contactSchema", { enumerable: true, get: function () { return demographics_1.contactSchema; } });
23
- Object.defineProperty(exports, "demographicsSchema", { enumerable: true, get: function () { return demographics_1.demographicsSchema; } });
24
- Object.defineProperty(exports, "genderAtBirthSchema", { enumerable: true, get: function () { return demographics_1.genderAtBirthSchema; } });
25
- Object.defineProperty(exports, "personalIdentifierSchema", { enumerable: true, get: function () { return demographics_1.personalIdentifierSchema; } });
26
- var document_1 = require("./medical/models/document");
27
- Object.defineProperty(exports, "documentListSchema", { enumerable: true, get: function () { return document_1.documentListSchema; } });
28
- Object.defineProperty(exports, "documentQuerySchema", { enumerable: true, get: function () { return document_1.documentQuerySchema; } });
29
- Object.defineProperty(exports, "documentQueryStatusSchema", { enumerable: true, get: function () { return document_1.documentQueryStatusSchema; } });
30
- Object.defineProperty(exports, "documentReferenceSchema", { enumerable: true, get: function () { return document_1.documentReferenceSchema; } });
31
- var facility_1 = require("./medical/models/facility");
32
- Object.defineProperty(exports, "facilityCreateSchema", { enumerable: true, get: function () { return facility_1.facilityCreateSchema; } });
33
- Object.defineProperty(exports, "facilityListSchema", { enumerable: true, get: function () { return facility_1.facilityListSchema; } });
34
- Object.defineProperty(exports, "facilitySchema", { enumerable: true, get: function () { return facility_1.facilitySchema; } });
35
- var medical_data_source_1 = require("./medical/models/common/medical-data-source");
36
- Object.defineProperty(exports, "MedicalDataSource", { enumerable: true, get: function () { return medical_data_source_1.MedicalDataSource; } });
37
- var organization_1 = require("./medical/models/organization");
38
- Object.defineProperty(exports, "organizationCreateSchema", { enumerable: true, get: function () { return organization_1.organizationCreateSchema; } });
39
- Object.defineProperty(exports, "organizationSchema", { enumerable: true, get: function () { return organization_1.organizationSchema; } });
40
- Object.defineProperty(exports, "OrgType", { enumerable: true, get: function () { return organization_1.OrgType; } });
41
- Object.defineProperty(exports, "orgTypeSchema", { enumerable: true, get: function () { return organization_1.orgTypeSchema; } });
42
- var patient_1 = require("./medical/models/patient");
43
- Object.defineProperty(exports, "patientCreateSchema", { enumerable: true, get: function () { return patient_1.patientCreateSchema; } });
44
- Object.defineProperty(exports, "patientListSchema", { enumerable: true, get: function () { return patient_1.patientListSchema; } });
45
- Object.defineProperty(exports, "patientSchema", { enumerable: true, get: function () { return patient_1.patientSchema; } });
46
- Object.defineProperty(exports, "patientUpdateSchema", { enumerable: true, get: function () { return patient_1.patientUpdateSchema; } });
6
+ export { MetriportMedicalApi } from "./medical/client/metriport";
7
+ export { addressSchema } from "./medical/models/common/address";
8
+ export { baseUpdateSchema } from "./medical/models/common/base-update";
9
+ export { USState, usStateSchema } from "./medical/models/common/us-data";
10
+ export { contactSchema, demographicsSchema, genderAtBirthSchema, personalIdentifierSchema, } from "./medical/models/demographics";
11
+ export { documentListSchema, documentQuerySchema, documentQueryStatusSchema, documentReferenceSchema, } from "./medical/models/document";
12
+ export { facilityCreateSchema, facilityListSchema, facilitySchema, } from "./medical/models/facility";
13
+ export { MedicalDataSource } from "./medical/models/common/medical-data-source";
14
+ export { organizationCreateSchema, organizationSchema, OrgType, orgTypeSchema, } from "./medical/models/organization";
15
+ export { patientCreateSchema, patientListSchema, patientSchema, patientUpdateSchema, } from "./medical/models/patient";
16
+ export const comment = "This file is generated by the build process, v2";
47
17
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,cAAc;AACd,wDAAiE;AAAxD,gHAAA,mBAAmB,OAAA;AAI5B,2EAAyE;AAAhE,iHAAA,cAAc,OAAA;AAMvB,mEAAiE;AAAxD,yGAAA,UAAU,OAAA;AACnB,cAAc;AACd,wDAAiE;AAAxD,gHAAA,mBAAmB,OAAA;AAC5B,2DAAyE;AAAvD,wGAAA,aAAa,OAAA;AAC/B,mEAAmF;AAA9D,+GAAA,gBAAgB,OAAA;AACrC,2DAAyE;AAAhE,kGAAA,OAAO,OAAA;AAAE,wGAAA,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,EAElB,mBAAmB,EAEnB,yBAAyB,EAEzB,uBAAuB,GACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,GACf,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAGL,wBAAwB,EACxB,kBAAkB,EAClB,OAAO,EACP,aAAa,GACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAGL,mBAAmB,EACnB,iBAAiB,EACjB,aAAa,EAEb,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAElC,MAAM,CAAC,MAAM,OAAO,GAAG,iDAAiD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"facility.d.ts","sourceRoot":"","sources":["../../../src/medical/models/facility.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+C,CAAC;AAC3E,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE7B,CAAC"}
1
+ {"version":3,"file":"facility.d.ts","sourceRoot":"","sources":["../../../src/medical/models/facility.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+C,CAAC;AAC3E,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE7B,CAAC"}
@@ -4,7 +4,6 @@ exports.facilityListSchema = exports.facilitySchema = exports.facilityCreateSche
4
4
  const zod_1 = require("zod");
5
5
  const address_1 = require("./common/address");
6
6
  const base_update_1 = require("./common/base-update");
7
- // import { validateNPI } from "@metriport/commonwell-sdk";
8
7
  const validate_npi_1 = require("@metriport/commonwell-sdk/common/validate-npi");
9
8
  exports.facilityCreateSchema = zod_1.z.object({
10
9
  name: zod_1.z.string().min(1),
@@ -1 +1 @@
1
- {"version":3,"file":"facility.js","sourceRoot":"","sources":["../../../src/medical/models/facility.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,8CAAiD;AACjD,sDAAwD;AACxD,2DAA2D;AAC3D,gFAA4E;AAE/D,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,GAAG,EAAE,OAAC;SACH,MAAM,EAAE;SACR,MAAM,CAAC,EAAE,CAAC;SACV,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,IAAA,0BAAW,EAAC,GAAG,CAAC,EAAE,E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AC,CAAC,KAAK,CAAC,sBAAc,CAAC;CACpC,CAAC,CAAC"}
package/dist/shared.js CHANGED
@@ -22,7 +22,7 @@ exports.ISO_DATE = "YYYY-MM-DD";
22
22
  exports.defaultString = zod_1.z.string().trim();
23
23
  exports.defaultOptionalString = (0, exports.optionalString)(exports.defaultString);
24
24
  exports.defaultDateString = exports.defaultString.refine(v => (0, dayjs_1.default)(v, exports.ISO_DATE, true).isValid(), {
25
- message: `Date must be a valid ISO 8601 date formatted ${exports.ISO_DATE}. Example: 2023-15-03`,
25
+ message: `Date must be a valid ISO 8601 date formatted ${exports.ISO_DATE}. Example: 2023-03-15`,
26
26
  });
27
27
  exports.defaultNameString = exports.defaultString.min(1);
28
28
  //# sourceMappingURL=shared.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metriport/api-sdk",
3
- "version": "6.0.3-alpha.2",
3
+ "version": "6.0.3-alpha.5",
4
4
  "description": "Metriport helps you access and manage health and medical data, through a single open source API.",
5
5
  "author": "Metriport Inc. <contact@metriport.com>",
6
6
  "homepage": "https://metriport.com/",
@@ -37,6 +37,7 @@
37
37
  "scripts": {
38
38
  "clean": "rimraf dist && rimraf node_modules",
39
39
  "tsc": "tsc",
40
+ "watch": "tsc --watch",
40
41
  "build": "tsc -p .",
41
42
  "build:cloud": "npm run build",
42
43
  "typecheck": "tsc --noEmit",
@@ -54,7 +55,7 @@
54
55
  "url": "https://github.com/metriport/metriport/issues"
55
56
  },
56
57
  "dependencies": {
57
- "@metriport/commonwell-sdk": "^4.4.2-alpha.0",
58
+ "@metriport/commonwell-sdk": "^4.4.2-alpha.2",
58
59
  "axios": "^1.3.4",
59
60
  "dayjs": "^1.11.7",
60
61
  "zod": "^3.20.2"
@@ -69,5 +70,5 @@
69
70
  "ts-essentials": "^9.3.1",
70
71
  "typescript": "^4.9.5"
71
72
  },
72
- "gitHead": "293f5d031f0df5a9bf84a42603d6107d47ee77f4"
73
+ "gitHead": "cb46456b3446a6c04242d619e5d25a74098c4968"
73
74
  }