@oystehr/sdk 4.2.3 → 4.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,52 @@
1
+ export interface LabRoute {
2
+ /**
3
+ * Unique identifier of the created Route.
4
+ */
5
+ routeGuid: string;
6
+ /**
7
+ * Provided by the lab, indicates a financial relationship between the lab and the customer.
8
+ */
9
+ accountNumber: string;
10
+ /**
11
+ * Unique identifier of a lab. Searchable via orderable item Search
12
+ */
13
+ labGuid: string;
14
+ /**
15
+ * Name of lab
16
+ */
17
+ labName?: string;
18
+ /**
19
+ * Name of the Primary (Practice or Provider depending on the Route). Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
20
+ */
21
+ primaryName?: string;
22
+ /**
23
+ * Address of the Primary. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
24
+ */
25
+ primaryAddress?: {
26
+ address1: string;
27
+ address2?: string;
28
+ city: string;
29
+ stateProvinceCode: string;
30
+ postalCode: string;
31
+ };
32
+ /**
33
+ * Primary phone number of the Primary.
34
+ */
35
+ primaryPhone?: string;
36
+ /**
37
+ * Site ID for the Primary
38
+ */
39
+ clientSiteId?: string;
40
+ /**
41
+ * String representing accepted End User License Agreement Version. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
42
+ */
43
+ eulaVersion?: string;
44
+ /**
45
+ * Full name of the person who accepted the End User License Agreement. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
46
+ */
47
+ eulaAccepterFullName?: string;
48
+ /**
49
+ * Date and time (in UTC) when the End User License Agreement was accepted. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
50
+ */
51
+ eulaAcceptanceDateTimeUtc?: string;
52
+ }
@@ -22,6 +22,10 @@ export interface LabRouteCreateParams {
22
22
  stateProvinceCode: string;
23
23
  postalCode: string;
24
24
  };
25
+ /**
26
+ * Primary phone number of the Primary.
27
+ */
28
+ primaryPhone?: string;
25
29
  /**
26
30
  * String representing accepted End User License Agreement Version. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
27
31
  */
@@ -1,21 +1,5 @@
1
+ import { LabRoute } from './LabRoute';
1
2
  /**
2
3
  * Information about a specific route.
3
4
  */
4
- export interface LabRouteGetResponse {
5
- /**
6
- * Unique identifier of the created Route.
7
- */
8
- routeGuid: string;
9
- /**
10
- * Unique identifier of a lab. Searchable via orderable item Search
11
- */
12
- labGuid: string;
13
- /**
14
- * Name of lab
15
- */
16
- labName: string;
17
- /**
18
- * Provided by the lab, indicates a financial relationship between the lab and the customer.
19
- */
20
- accountNumber: string;
21
- }
5
+ export type LabRouteGetResponse = LabRoute;
@@ -1,17 +1,5 @@
1
+ import { LabRoute } from './LabRoute';
1
2
  /**
2
3
  * List of Routes associated with the calling projectId.
3
4
  */
4
- export type LabRouteListResponse = {
5
- /**
6
- * Unique identifier of the created Route.
7
- */
8
- routeGuid: string;
9
- /**
10
- * Unique identifier of a lab. Searchable via orderable item Search
11
- */
12
- labGuid: string;
13
- /**
14
- * Provided by the lab, indicates a financial relationship between the lab and the customer.
15
- */
16
- accountNumber: string;
17
- }[];
5
+ export type LabRouteListResponse = LabRoute[];
@@ -158,6 +158,7 @@ export * from './FaxOnboardResponse';
158
158
  export * from './FaxGetConfigurationResponse';
159
159
  export * from './FaxSendParams';
160
160
  export * from './FaxSendResponse';
161
+ export * from './LabRoute';
161
162
  export * from './LabRouteListResponse';
162
163
  export * from './LabRouteCreateParams';
163
164
  export * from './LabRouteCreateResponse';
@@ -0,0 +1,52 @@
1
+ export interface LabRoute {
2
+ /**
3
+ * Unique identifier of the created Route.
4
+ */
5
+ routeGuid: string;
6
+ /**
7
+ * Provided by the lab, indicates a financial relationship between the lab and the customer.
8
+ */
9
+ accountNumber: string;
10
+ /**
11
+ * Unique identifier of a lab. Searchable via orderable item Search
12
+ */
13
+ labGuid: string;
14
+ /**
15
+ * Name of lab
16
+ */
17
+ labName?: string;
18
+ /**
19
+ * Name of the Primary (Practice or Provider depending on the Route). Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
20
+ */
21
+ primaryName?: string;
22
+ /**
23
+ * Address of the Primary. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
24
+ */
25
+ primaryAddress?: {
26
+ address1: string;
27
+ address2?: string;
28
+ city: string;
29
+ stateProvinceCode: string;
30
+ postalCode: string;
31
+ };
32
+ /**
33
+ * Primary phone number of the Primary.
34
+ */
35
+ primaryPhone?: string;
36
+ /**
37
+ * Site ID for the Primary
38
+ */
39
+ clientSiteId?: string;
40
+ /**
41
+ * String representing accepted End User License Agreement Version. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
42
+ */
43
+ eulaVersion?: string;
44
+ /**
45
+ * Full name of the person who accepted the End User License Agreement. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
46
+ */
47
+ eulaAccepterFullName?: string;
48
+ /**
49
+ * Date and time (in UTC) when the End User License Agreement was accepted. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
50
+ */
51
+ eulaAcceptanceDateTimeUtc?: string;
52
+ }
@@ -22,6 +22,10 @@ export interface LabRouteCreateParams {
22
22
  stateProvinceCode: string;
23
23
  postalCode: string;
24
24
  };
25
+ /**
26
+ * Primary phone number of the Primary.
27
+ */
28
+ primaryPhone?: string;
25
29
  /**
26
30
  * String representing accepted End User License Agreement Version. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
27
31
  */
@@ -1,21 +1,5 @@
1
+ import { LabRoute } from './LabRoute';
1
2
  /**
2
3
  * Information about a specific route.
3
4
  */
4
- export interface LabRouteGetResponse {
5
- /**
6
- * Unique identifier of the created Route.
7
- */
8
- routeGuid: string;
9
- /**
10
- * Unique identifier of a lab. Searchable via orderable item Search
11
- */
12
- labGuid: string;
13
- /**
14
- * Name of lab
15
- */
16
- labName: string;
17
- /**
18
- * Provided by the lab, indicates a financial relationship between the lab and the customer.
19
- */
20
- accountNumber: string;
21
- }
5
+ export type LabRouteGetResponse = LabRoute;
@@ -1,17 +1,5 @@
1
+ import { LabRoute } from './LabRoute';
1
2
  /**
2
3
  * List of Routes associated with the calling projectId.
3
4
  */
4
- export type LabRouteListResponse = {
5
- /**
6
- * Unique identifier of the created Route.
7
- */
8
- routeGuid: string;
9
- /**
10
- * Unique identifier of a lab. Searchable via orderable item Search
11
- */
12
- labGuid: string;
13
- /**
14
- * Provided by the lab, indicates a financial relationship between the lab and the customer.
15
- */
16
- accountNumber: string;
17
- }[];
5
+ export type LabRouteListResponse = LabRoute[];
@@ -158,6 +158,7 @@ export * from './FaxOnboardResponse';
158
158
  export * from './FaxGetConfigurationResponse';
159
159
  export * from './FaxSendParams';
160
160
  export * from './FaxSendResponse';
161
+ export * from './LabRoute';
161
162
  export * from './LabRouteListResponse';
162
163
  export * from './LabRouteCreateParams';
163
164
  export * from './LabRouteCreateResponse';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oystehr/sdk",
3
- "version": "4.2.3",
3
+ "version": "4.2.4",
4
4
  "description": "Oystehr SDK",
5
5
  "scripts": {
6
6
  "lint": "eslint .",
@@ -0,0 +1,54 @@
1
+ // AUTOGENERATED -- DO NOT EDIT
2
+
3
+ export interface LabRoute {
4
+ /**
5
+ * Unique identifier of the created Route.
6
+ */
7
+ routeGuid: string;
8
+ /**
9
+ * Provided by the lab, indicates a financial relationship between the lab and the customer.
10
+ */
11
+ accountNumber: string;
12
+ /**
13
+ * Unique identifier of a lab. Searchable via orderable item Search
14
+ */
15
+ labGuid: string;
16
+ /**
17
+ * Name of lab
18
+ */
19
+ labName?: string;
20
+ /**
21
+ * Name of the Primary (Practice or Provider depending on the Route). Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
22
+ */
23
+ primaryName?: string;
24
+ /**
25
+ * Address of the Primary. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
26
+ */
27
+ primaryAddress?: {
28
+ address1: string;
29
+ address2?: string;
30
+ city: string;
31
+ stateProvinceCode: string;
32
+ postalCode: string;
33
+ };
34
+ /**
35
+ * Primary phone number of the Primary.
36
+ */
37
+ primaryPhone?: string;
38
+ /**
39
+ * Site ID for the Primary
40
+ */
41
+ clientSiteId?: string;
42
+ /**
43
+ * String representing accepted End User License Agreement Version. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
44
+ */
45
+ eulaVersion?: string;
46
+ /**
47
+ * Full name of the person who accepted the End User License Agreement. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
48
+ */
49
+ eulaAccepterFullName?: string;
50
+ /**
51
+ * Date and time (in UTC) when the End User License Agreement was accepted. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
52
+ */
53
+ eulaAcceptanceDateTimeUtc?: string;
54
+ }
@@ -24,6 +24,10 @@ export interface LabRouteCreateParams {
24
24
  stateProvinceCode: string;
25
25
  postalCode: string;
26
26
  };
27
+ /**
28
+ * Primary phone number of the Primary.
29
+ */
30
+ primaryPhone?: string;
27
31
  /**
28
32
  * String representing accepted End User License Agreement Version. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
29
33
  */
@@ -1,23 +1,7 @@
1
1
  // AUTOGENERATED -- DO NOT EDIT
2
2
 
3
+ import { LabRoute } from './LabRoute';
3
4
  /**
4
5
  * Information about a specific route.
5
6
  */
6
- export interface LabRouteGetResponse {
7
- /**
8
- * Unique identifier of the created Route.
9
- */
10
- routeGuid: string;
11
- /**
12
- * Unique identifier of a lab. Searchable via orderable item Search
13
- */
14
- labGuid: string;
15
- /**
16
- * Name of lab
17
- */
18
- labName: string;
19
- /**
20
- * Provided by the lab, indicates a financial relationship between the lab and the customer.
21
- */
22
- accountNumber: string;
23
- }
7
+ export type LabRouteGetResponse = LabRoute;
@@ -1,19 +1,7 @@
1
1
  // AUTOGENERATED -- DO NOT EDIT
2
2
 
3
+ import { LabRoute } from './LabRoute';
3
4
  /**
4
5
  * List of Routes associated with the calling projectId.
5
6
  */
6
- export type LabRouteListResponse = {
7
- /**
8
- * Unique identifier of the created Route.
9
- */
10
- routeGuid: string;
11
- /**
12
- * Unique identifier of a lab. Searchable via orderable item Search
13
- */
14
- labGuid: string;
15
- /**
16
- * Provided by the lab, indicates a financial relationship between the lab and the customer.
17
- */
18
- accountNumber: string;
19
- }[];
7
+ export type LabRouteListResponse = LabRoute[];
@@ -160,6 +160,7 @@ export * from './FaxOnboardResponse';
160
160
  export * from './FaxGetConfigurationResponse';
161
161
  export * from './FaxSendParams';
162
162
  export * from './FaxSendResponse';
163
+ export * from './LabRoute';
163
164
  export * from './LabRouteListResponse';
164
165
  export * from './LabRouteCreateParams';
165
166
  export * from './LabRouteCreateResponse';