@oystehr/sdk 4.2.0 → 4.2.3
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/cjs/index.min.cjs +1 -1
- package/dist/cjs/index.min.cjs.map +1 -1
- package/dist/cjs/resources/classes/lab.cjs +2 -2
- package/dist/cjs/resources/classes/lab.cjs.map +1 -1
- package/dist/cjs/resources/classes/lab.d.ts +2 -2
- package/dist/cjs/resources/types/LabRouteGetParams.d.ts +3 -0
- package/dist/cjs/resources/types/M2mListV2Item.d.ts +11 -0
- package/dist/cjs/resources/types/M2mListV2Response.d.ts +2 -2
- package/dist/cjs/resources/types/index.d.ts +2 -0
- package/dist/esm/index.min.js +1 -1
- package/dist/esm/index.min.js.map +1 -1
- package/dist/esm/resources/classes/lab.d.ts +2 -2
- package/dist/esm/resources/classes/lab.js +2 -2
- package/dist/esm/resources/classes/lab.js.map +1 -1
- package/dist/esm/resources/types/LabRouteGetParams.d.ts +3 -0
- package/dist/esm/resources/types/M2mListV2Item.d.ts +11 -0
- package/dist/esm/resources/types/M2mListV2Response.d.ts +2 -2
- package/dist/esm/resources/types/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/resources/classes/lab.ts +3 -2
- package/src/resources/types/LabRouteGetParams.ts +5 -0
- package/src/resources/types/M2mListV2Item.ts +13 -0
- package/src/resources/types/M2mListV2Response.ts +2 -2
- package/src/resources/types/index.ts +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LabOrderableItemListParams, LabOrderableItemListResponse, LabOrderableItemQuestionnaireGetParams, LabOrderableItemQuestionnaireGetResponse, LabOrderSubmitParams, LabOrderSubmitResponse, LabRouteCreateParams, LabRouteCreateResponse, LabRouteDeleteParams, LabRouteGetResponse, LabRouteListResponse, OystehrClientRequest } from '../..';
|
|
1
|
+
import { LabOrderableItemListParams, LabOrderableItemListResponse, LabOrderableItemQuestionnaireGetParams, LabOrderableItemQuestionnaireGetResponse, LabOrderSubmitParams, LabOrderSubmitResponse, LabRouteCreateParams, LabRouteCreateResponse, LabRouteDeleteParams, LabRouteGetParams, LabRouteGetResponse, LabRouteListResponse, OystehrClientRequest } from '../..';
|
|
2
2
|
import { SDKResource } from '../../client/client';
|
|
3
3
|
import { OystehrConfig } from '../../config';
|
|
4
4
|
export declare class Lab extends SDKResource {
|
|
@@ -27,7 +27,7 @@ export declare class Lab extends SDKResource {
|
|
|
27
27
|
* Action: `Lab:GetSingleRoute`
|
|
28
28
|
* Access Policy Resource: `Lab:Route`
|
|
29
29
|
*/
|
|
30
|
-
routeGet(request?: OystehrClientRequest): Promise<LabRouteGetResponse>;
|
|
30
|
+
routeGet(params: LabRouteGetParams, request?: OystehrClientRequest): Promise<LabRouteGetResponse>;
|
|
31
31
|
/**
|
|
32
32
|
* Delete a route. Deleting a Route will permanently remove the `routeGuid`. Orders can no longer be submitted to this lab until a new Route is created. See [Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#delete-route) for more details.
|
|
33
33
|
*
|
|
@@ -35,8 +35,8 @@ class Lab extends SDKResource {
|
|
|
35
35
|
* Action: `Lab:GetSingleRoute`
|
|
36
36
|
* Access Policy Resource: `Lab:Route`
|
|
37
37
|
*/
|
|
38
|
-
routeGet(request) {
|
|
39
|
-
return this.request('/route/{routeGuid}', 'get', this.#baseUrlThunk.bind(this))(request);
|
|
38
|
+
routeGet(params, request) {
|
|
39
|
+
return this.request('/route/{routeGuid}', 'get', this.#baseUrlThunk.bind(this))(params, request);
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* Delete a route. Deleting a Route will permanently remove the `routeGuid`. Orders can no longer be submitted to this lab until a new Route is created. See [Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#delete-route) for more details.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lab.js","sources":["../../../../src/resources/classes/lab.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n LabOrderableItemListParams,\n LabOrderableItemListResponse,\n LabOrderableItemQuestionnaireGetParams,\n LabOrderableItemQuestionnaireGetResponse,\n LabOrderSubmitParams,\n LabOrderSubmitResponse,\n LabRouteCreateParams,\n LabRouteCreateResponse,\n LabRouteDeleteParams,\n LabRouteGetResponse,\n LabRouteListResponse,\n OystehrClientRequest,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class Lab extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n #baseUrlThunk(): string {\n return this.config.services?.['labApiUrl'] ?? 'https://labs-api.zapehr.com/v1';\n }\n /**\n * Gets a list of Routes associated with the project. Returns an empty list if no Routes are found.\n *\n * Access Policy Requirements:\n * Action: `Lab:GetRoutes`\n * Access Policy Resource: `Lab:Route`\n */\n routeList(request?: OystehrClientRequest): Promise<LabRouteListResponse> {\n return this.request('/route', 'get', this.#baseUrlThunk.bind(this))(request);\n }\n /**\n * Create a route. A Route represents that a lab and particular customer have a relationship, and a Route is necessary to submit an order to a lab. See [Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.\n *\n * Access Policy Requirements:\n * Action: `Lab:CreateRoute`\n * Access Policy Resource: `Lab:Route`\n */\n routeCreate(params: LabRouteCreateParams, request?: OystehrClientRequest): Promise<LabRouteCreateResponse> {\n return this.request('/route', 'post', this.#baseUrlThunk.bind(this))(params, request);\n }\n /**\n * Gets a Route associated with the project by specified Guid.\n *\n * Access Policy Requirements:\n * Action: `Lab:GetSingleRoute`\n * Access Policy Resource: `Lab:Route`\n */\n routeGet(request?: OystehrClientRequest): Promise<LabRouteGetResponse> {\n return this.request('/route/{routeGuid}', 'get', this.#baseUrlThunk.bind(this))(request);\n }\n /**\n * Delete a route. Deleting a Route will permanently remove the `routeGuid`. Orders can no longer be submitted to this lab until a new Route is created. See [Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#delete-route) for more details.\n *\n * Access Policy Requirements:\n * Action: `Lab:DeleteRoute`\n * Access Policy Resource: `Lab:Route`\n */\n routeDelete(params: LabRouteDeleteParams, request?: OystehrClientRequest): Promise<void> {\n return this.request('/route/{routeGuid}', 'delete', this.#baseUrlThunk.bind(this))(params, request);\n }\n /**\n * Returns list of active orderable items for the latest compendium version. Page size is default 25 and max 100 items. See [orderable item Search](https://docs.oystehr.com/oystehr/services/lab/explore-the-compendium/#orderable-item-search) for more details.\n *\n * Access Policy Requirements:\n * Action: `Lab:SearchOrderableItems`\n * Access Policy Resource: `Lab:OrderableItem`\n */\n orderableItemList(\n params: LabOrderableItemListParams,\n request?: OystehrClientRequest\n ): Promise<LabOrderableItemListResponse>;\n /**\n * Returns list of active orderable items for the latest compendium version. Page size is default 25 and max 100 items. See [orderable item Search](https://docs.oystehr.com/oystehr/services/lab/explore-the-compendium/#orderable-item-search) for more details.\n *\n * Access Policy Requirements:\n * Action: `Lab:SearchOrderableItems`\n * Access Policy Resource: `Lab:OrderableItem`\n */\n orderableItemList(request?: OystehrClientRequest): Promise<LabOrderableItemListResponse>;\n /**\n * Returns list of active orderable items for the latest compendium version. Page size is default 25 and max 100 items. See [orderable item Search](https://docs.oystehr.com/oystehr/services/lab/explore-the-compendium/#orderable-item-search) for more details.\n *\n * Access Policy Requirements:\n * Action: `Lab:SearchOrderableItems`\n * Access Policy Resource: `Lab:OrderableItem`\n */\n orderableItemList(\n params?: LabOrderableItemListParams | OystehrClientRequest,\n request?: OystehrClientRequest\n ): Promise<LabOrderableItemListResponse> {\n return this.request('/orderableItem', 'get', this.#baseUrlThunk.bind(this))(params, request);\n }\n /**\n * Retrieve the AOE (Answer on Entry) Questionnaire for the given orderable item. The orderable item is defined by its labGuid, compendiumVersion, and itemCode. See [AOE](https://docs.oystehr.com/oystehr/services/lab/explore-the-compendium/#AOE) for more details.\n *\n * Access Policy Requirements:\n * Action: `Lab:SearchOrderableItems`\n * Access Policy Resource: `Lab:OrderableItem`\n */\n orderableItemQuestionnaireGet(\n params: LabOrderableItemQuestionnaireGetParams,\n request?: OystehrClientRequest\n ): Promise<LabOrderableItemQuestionnaireGetResponse> {\n return this.request(\n '/canonical-questionnaire/lab/{labGuid}/compendium/{compendiumVersion}/item/{itemCode}/questionnaire',\n 'get',\n this.#baseUrlThunk.bind(this)\n )(params, request);\n }\n /**\n * Submit a lab order. Oystehr's [Submit Lab](https://docs.oystehr.com/oystehr/services/lab/submit-an-order/) feature allows users to submit an order consisting of one or more well-configured ServiceRequests to an external lab. In order to successfully submit an order, a [Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) to and Organization representing that lab must exist. If the lab requires its own requisition document (eReq) or an Advance Beneficiary Notice (ABN), the appropriate DocumentReferences will be included in the response.\n *\n * Access Policy Requirements:\n * Action: `Lab:SubmitOrder`\n * Access Policy Resource: `Lab:Order`\n */\n orderSubmit(params: LabOrderSubmitParams, request?: OystehrClientRequest): Promise<LabOrderSubmitResponse> {\n return this.request('/submit', 'post', this.#baseUrlThunk.bind(this))(params, request);\n }\n}\n"],"names":[],"mappings":";;AAAA;
|
|
1
|
+
{"version":3,"file":"lab.js","sources":["../../../../src/resources/classes/lab.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n LabOrderableItemListParams,\n LabOrderableItemListResponse,\n LabOrderableItemQuestionnaireGetParams,\n LabOrderableItemQuestionnaireGetResponse,\n LabOrderSubmitParams,\n LabOrderSubmitResponse,\n LabRouteCreateParams,\n LabRouteCreateResponse,\n LabRouteDeleteParams,\n LabRouteGetParams,\n LabRouteGetResponse,\n LabRouteListResponse,\n OystehrClientRequest,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class Lab extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n #baseUrlThunk(): string {\n return this.config.services?.['labApiUrl'] ?? 'https://labs-api.zapehr.com/v1';\n }\n /**\n * Gets a list of Routes associated with the project. Returns an empty list if no Routes are found.\n *\n * Access Policy Requirements:\n * Action: `Lab:GetRoutes`\n * Access Policy Resource: `Lab:Route`\n */\n routeList(request?: OystehrClientRequest): Promise<LabRouteListResponse> {\n return this.request('/route', 'get', this.#baseUrlThunk.bind(this))(request);\n }\n /**\n * Create a route. A Route represents that a lab and particular customer have a relationship, and a Route is necessary to submit an order to a lab. See [Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.\n *\n * Access Policy Requirements:\n * Action: `Lab:CreateRoute`\n * Access Policy Resource: `Lab:Route`\n */\n routeCreate(params: LabRouteCreateParams, request?: OystehrClientRequest): Promise<LabRouteCreateResponse> {\n return this.request('/route', 'post', this.#baseUrlThunk.bind(this))(params, request);\n }\n /**\n * Gets a Route associated with the project by specified Guid.\n *\n * Access Policy Requirements:\n * Action: `Lab:GetSingleRoute`\n * Access Policy Resource: `Lab:Route`\n */\n routeGet(params: LabRouteGetParams, request?: OystehrClientRequest): Promise<LabRouteGetResponse> {\n return this.request('/route/{routeGuid}', 'get', this.#baseUrlThunk.bind(this))(params, request);\n }\n /**\n * Delete a route. Deleting a Route will permanently remove the `routeGuid`. Orders can no longer be submitted to this lab until a new Route is created. See [Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#delete-route) for more details.\n *\n * Access Policy Requirements:\n * Action: `Lab:DeleteRoute`\n * Access Policy Resource: `Lab:Route`\n */\n routeDelete(params: LabRouteDeleteParams, request?: OystehrClientRequest): Promise<void> {\n return this.request('/route/{routeGuid}', 'delete', this.#baseUrlThunk.bind(this))(params, request);\n }\n /**\n * Returns list of active orderable items for the latest compendium version. Page size is default 25 and max 100 items. See [orderable item Search](https://docs.oystehr.com/oystehr/services/lab/explore-the-compendium/#orderable-item-search) for more details.\n *\n * Access Policy Requirements:\n * Action: `Lab:SearchOrderableItems`\n * Access Policy Resource: `Lab:OrderableItem`\n */\n orderableItemList(\n params: LabOrderableItemListParams,\n request?: OystehrClientRequest\n ): Promise<LabOrderableItemListResponse>;\n /**\n * Returns list of active orderable items for the latest compendium version. Page size is default 25 and max 100 items. See [orderable item Search](https://docs.oystehr.com/oystehr/services/lab/explore-the-compendium/#orderable-item-search) for more details.\n *\n * Access Policy Requirements:\n * Action: `Lab:SearchOrderableItems`\n * Access Policy Resource: `Lab:OrderableItem`\n */\n orderableItemList(request?: OystehrClientRequest): Promise<LabOrderableItemListResponse>;\n /**\n * Returns list of active orderable items for the latest compendium version. Page size is default 25 and max 100 items. See [orderable item Search](https://docs.oystehr.com/oystehr/services/lab/explore-the-compendium/#orderable-item-search) for more details.\n *\n * Access Policy Requirements:\n * Action: `Lab:SearchOrderableItems`\n * Access Policy Resource: `Lab:OrderableItem`\n */\n orderableItemList(\n params?: LabOrderableItemListParams | OystehrClientRequest,\n request?: OystehrClientRequest\n ): Promise<LabOrderableItemListResponse> {\n return this.request('/orderableItem', 'get', this.#baseUrlThunk.bind(this))(params, request);\n }\n /**\n * Retrieve the AOE (Answer on Entry) Questionnaire for the given orderable item. The orderable item is defined by its labGuid, compendiumVersion, and itemCode. See [AOE](https://docs.oystehr.com/oystehr/services/lab/explore-the-compendium/#AOE) for more details.\n *\n * Access Policy Requirements:\n * Action: `Lab:SearchOrderableItems`\n * Access Policy Resource: `Lab:OrderableItem`\n */\n orderableItemQuestionnaireGet(\n params: LabOrderableItemQuestionnaireGetParams,\n request?: OystehrClientRequest\n ): Promise<LabOrderableItemQuestionnaireGetResponse> {\n return this.request(\n '/canonical-questionnaire/lab/{labGuid}/compendium/{compendiumVersion}/item/{itemCode}/questionnaire',\n 'get',\n this.#baseUrlThunk.bind(this)\n )(params, request);\n }\n /**\n * Submit a lab order. Oystehr's [Submit Lab](https://docs.oystehr.com/oystehr/services/lab/submit-an-order/) feature allows users to submit an order consisting of one or more well-configured ServiceRequests to an external lab. In order to successfully submit an order, a [Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) to and Organization representing that lab must exist. If the lab requires its own requisition document (eReq) or an Advance Beneficiary Notice (ABN), the appropriate DocumentReferences will be included in the response.\n *\n * Access Policy Requirements:\n * Action: `Lab:SubmitOrder`\n * Access Policy Resource: `Lab:Order`\n */\n orderSubmit(params: LabOrderSubmitParams, request?: OystehrClientRequest): Promise<LabOrderSubmitResponse> {\n return this.request('/submit', 'post', this.#baseUrlThunk.bind(this))(params, request);\n }\n}\n"],"names":[],"mappings":";;AAAA;AAoBM,MAAO,GAAI,SAAQ,WAAW,CAAA;AAClC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC;IACf;IACA,aAAa,GAAA;QACX,OAAO,IAAI,CAAC,MAAM,CAAC,QAAQ,GAAG,WAAW,CAAC,IAAI,gCAAgC;IAChF;AACA;;;;;;AAMG;AACH,IAAA,SAAS,CAAC,OAA8B,EAAA;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;IAC9E;AACA;;;;;;AAMG;IACH,WAAW,CAAC,MAA4B,EAAE,OAA8B,EAAA;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC;IACvF;AACA;;;;;;AAMG;IACH,QAAQ,CAAC,MAAyB,EAAE,OAA8B,EAAA;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC;IAClG;AACA;;;;;;AAMG;IACH,WAAW,CAAC,MAA4B,EAAE,OAA8B,EAAA;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC;IACrG;AAoBA;;;;;;AAMG;IACH,iBAAiB,CACf,MAA0D,EAC1D,OAA8B,EAAA;QAE9B,OAAO,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC;IAC9F;AACA;;;;;;AAMG;IACH,6BAA6B,CAC3B,MAA8C,EAC9C,OAA8B,EAAA;QAE9B,OAAO,IAAI,CAAC,OAAO,CACjB,qGAAqG,EACrG,KAAK,EACL,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAC9B,CAAC,MAAM,EAAE,OAAO,CAAC;IACpB;AACA;;;;;;AAMG;IACH,WAAW,CAAC,MAA4B,EAAE,OAA8B,EAAA;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC;IACxF;AACD;;;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface M2mListV2Item {
|
|
2
|
+
id: string;
|
|
3
|
+
/**
|
|
4
|
+
* A name for the M2M Client to help you differentiate it from other M2M Clients in the project.
|
|
5
|
+
*/
|
|
6
|
+
name: string;
|
|
7
|
+
/**
|
|
8
|
+
* A description of the M2M Client to help you differentiate it from other M2M Clients in the project.
|
|
9
|
+
*/
|
|
10
|
+
description?: string;
|
|
11
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M2mListV2Item } from './M2mListV2Item';
|
|
2
2
|
/**
|
|
3
3
|
* List of all M2M clients with pagination details.
|
|
4
4
|
*/
|
|
@@ -6,7 +6,7 @@ export interface M2mListV2Response {
|
|
|
6
6
|
/**
|
|
7
7
|
* An array of M2M Client objects. This array is empty if no M2M Clients match the query criteria.
|
|
8
8
|
*/
|
|
9
|
-
data:
|
|
9
|
+
data: M2mListV2Item[];
|
|
10
10
|
metadata: {
|
|
11
11
|
/**
|
|
12
12
|
* Cursor to fetch the next page of results. Null if there are no further pages.
|
|
@@ -24,6 +24,7 @@ export * from './ClaimDateWithQualifier';
|
|
|
24
24
|
export * from './ClaimAddress';
|
|
25
25
|
export * from './ClaimId';
|
|
26
26
|
export * from './ClaimCMS1500';
|
|
27
|
+
export * from './M2mListV2Item';
|
|
27
28
|
export * from './M2mListItem';
|
|
28
29
|
export * from './M2m';
|
|
29
30
|
export * from './AccessPolicy';
|
|
@@ -160,6 +161,7 @@ export * from './FaxSendResponse';
|
|
|
160
161
|
export * from './LabRouteListResponse';
|
|
161
162
|
export * from './LabRouteCreateParams';
|
|
162
163
|
export * from './LabRouteCreateResponse';
|
|
164
|
+
export * from './LabRouteGetParams';
|
|
163
165
|
export * from './LabRouteGetResponse';
|
|
164
166
|
export * from './LabRouteDeleteParams';
|
|
165
167
|
export * from './LabOrderableItemListParams';
|
package/package.json
CHANGED
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
LabRouteCreateParams,
|
|
11
11
|
LabRouteCreateResponse,
|
|
12
12
|
LabRouteDeleteParams,
|
|
13
|
+
LabRouteGetParams,
|
|
13
14
|
LabRouteGetResponse,
|
|
14
15
|
LabRouteListResponse,
|
|
15
16
|
OystehrClientRequest,
|
|
@@ -51,8 +52,8 @@ export class Lab extends SDKResource {
|
|
|
51
52
|
* Action: `Lab:GetSingleRoute`
|
|
52
53
|
* Access Policy Resource: `Lab:Route`
|
|
53
54
|
*/
|
|
54
|
-
routeGet(request?: OystehrClientRequest): Promise<LabRouteGetResponse> {
|
|
55
|
-
return this.request('/route/{routeGuid}', 'get', this.#baseUrlThunk.bind(this))(request);
|
|
55
|
+
routeGet(params: LabRouteGetParams, request?: OystehrClientRequest): Promise<LabRouteGetResponse> {
|
|
56
|
+
return this.request('/route/{routeGuid}', 'get', this.#baseUrlThunk.bind(this))(params, request);
|
|
56
57
|
}
|
|
57
58
|
/**
|
|
58
59
|
* Delete a route. Deleting a Route will permanently remove the `routeGuid`. Orders can no longer be submitted to this lab until a new Route is created. See [Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#delete-route) for more details.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// AUTOGENERATED -- DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
export interface M2mListV2Item {
|
|
4
|
+
id: string;
|
|
5
|
+
/**
|
|
6
|
+
* A name for the M2M Client to help you differentiate it from other M2M Clients in the project.
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* A description of the M2M Client to help you differentiate it from other M2M Clients in the project.
|
|
11
|
+
*/
|
|
12
|
+
description?: string;
|
|
13
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// AUTOGENERATED -- DO NOT EDIT
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { M2mListV2Item } from './M2mListV2Item';
|
|
4
4
|
/**
|
|
5
5
|
* List of all M2M clients with pagination details.
|
|
6
6
|
*/
|
|
@@ -8,7 +8,7 @@ export interface M2mListV2Response {
|
|
|
8
8
|
/**
|
|
9
9
|
* An array of M2M Client objects. This array is empty if no M2M Clients match the query criteria.
|
|
10
10
|
*/
|
|
11
|
-
data:
|
|
11
|
+
data: M2mListV2Item[];
|
|
12
12
|
metadata: {
|
|
13
13
|
/**
|
|
14
14
|
* Cursor to fetch the next page of results. Null if there are no further pages.
|
|
@@ -26,6 +26,7 @@ export * from './ClaimDateWithQualifier';
|
|
|
26
26
|
export * from './ClaimAddress';
|
|
27
27
|
export * from './ClaimId';
|
|
28
28
|
export * from './ClaimCMS1500';
|
|
29
|
+
export * from './M2mListV2Item';
|
|
29
30
|
export * from './M2mListItem';
|
|
30
31
|
export * from './M2m';
|
|
31
32
|
export * from './AccessPolicy';
|
|
@@ -162,6 +163,7 @@ export * from './FaxSendResponse';
|
|
|
162
163
|
export * from './LabRouteListResponse';
|
|
163
164
|
export * from './LabRouteCreateParams';
|
|
164
165
|
export * from './LabRouteCreateResponse';
|
|
166
|
+
export * from './LabRouteGetParams';
|
|
165
167
|
export * from './LabRouteGetResponse';
|
|
166
168
|
export * from './LabRouteDeleteParams';
|
|
167
169
|
export * from './LabOrderableItemListParams';
|