@oystehr/sdk 4.1.1 → 4.1.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/fax.cjs.map +1 -1
- package/dist/cjs/resources/classes/fax.d.ts +2 -2
- package/dist/cjs/resources/classes/fhir-ext.cjs +15 -2
- package/dist/cjs/resources/classes/fhir-ext.cjs.map +1 -1
- package/dist/cjs/resources/classes/lab.cjs +1 -1
- package/dist/cjs/resources/classes/lab.cjs.map +1 -1
- package/dist/cjs/resources/classes/lab.d.ts +4 -4
- package/dist/cjs/resources/classes/m2m.cjs +9 -0
- package/dist/cjs/resources/classes/m2m.cjs.map +1 -1
- package/dist/cjs/resources/classes/m2m.d.ts +8 -1
- package/dist/cjs/resources/classes/user.cjs +9 -0
- package/dist/cjs/resources/classes/user.cjs.map +1 -1
- package/dist/cjs/resources/classes/user.d.ts +8 -1
- package/dist/cjs/resources/types/ErxCheckPractitionerEnrollmentResponse.d.ts +4 -0
- package/dist/cjs/resources/types/ErxEnrollPractitionerParams.d.ts +1 -0
- package/dist/cjs/resources/types/ErxSearchAllergensResponse.d.ts +8 -4
- package/dist/cjs/resources/types/FaxOnboardResponse.d.ts +9 -0
- package/dist/cjs/resources/types/LabOrderSubmitResponse.d.ts +14 -0
- package/dist/cjs/resources/types/LabRouteCreateResponse.d.ts +9 -0
- package/dist/cjs/resources/types/LabRouteDeleteParams.d.ts +8 -0
- package/dist/cjs/resources/types/M2mMeResponse.d.ts +5 -0
- package/dist/cjs/resources/types/M2mUpdateParams.d.ts +4 -0
- package/dist/cjs/resources/types/UserResetMfaParams.d.ts +3 -0
- package/dist/cjs/resources/types/UserUpdateParams.d.ts +5 -1
- package/dist/cjs/resources/types/ZambdaCreateParams.d.ts +6 -2
- package/dist/cjs/resources/types/ZambdaFunction.d.ts +5 -1
- package/dist/cjs/resources/types/ZambdaUpdateParams.d.ts +5 -1
- package/dist/cjs/resources/types/fhir.d.ts +3 -0
- package/dist/cjs/resources/types/index.d.ts +5 -0
- package/dist/esm/index.min.js +1 -1
- package/dist/esm/index.min.js.map +1 -1
- package/dist/esm/resources/classes/fax.d.ts +2 -2
- package/dist/esm/resources/classes/fax.js.map +1 -1
- package/dist/esm/resources/classes/fhir-ext.js +15 -2
- package/dist/esm/resources/classes/fhir-ext.js.map +1 -1
- package/dist/esm/resources/classes/lab.d.ts +4 -4
- package/dist/esm/resources/classes/lab.js +1 -1
- package/dist/esm/resources/classes/lab.js.map +1 -1
- package/dist/esm/resources/classes/m2m.d.ts +8 -1
- package/dist/esm/resources/classes/m2m.js +9 -0
- package/dist/esm/resources/classes/m2m.js.map +1 -1
- package/dist/esm/resources/classes/user.d.ts +8 -1
- package/dist/esm/resources/classes/user.js +9 -0
- package/dist/esm/resources/classes/user.js.map +1 -1
- package/dist/esm/resources/types/ErxCheckPractitionerEnrollmentResponse.d.ts +4 -0
- package/dist/esm/resources/types/ErxEnrollPractitionerParams.d.ts +1 -0
- package/dist/esm/resources/types/ErxSearchAllergensResponse.d.ts +8 -4
- package/dist/esm/resources/types/FaxOnboardResponse.d.ts +9 -0
- package/dist/esm/resources/types/LabOrderSubmitResponse.d.ts +14 -0
- package/dist/esm/resources/types/LabRouteCreateResponse.d.ts +9 -0
- package/dist/esm/resources/types/LabRouteDeleteParams.d.ts +8 -0
- package/dist/esm/resources/types/M2mMeResponse.d.ts +5 -0
- package/dist/esm/resources/types/M2mUpdateParams.d.ts +4 -0
- package/dist/esm/resources/types/UserResetMfaParams.d.ts +3 -0
- package/dist/esm/resources/types/UserUpdateParams.d.ts +5 -1
- package/dist/esm/resources/types/ZambdaCreateParams.d.ts +6 -2
- package/dist/esm/resources/types/ZambdaFunction.d.ts +5 -1
- package/dist/esm/resources/types/ZambdaUpdateParams.d.ts +5 -1
- package/dist/esm/resources/types/fhir.d.ts +3 -0
- package/dist/esm/resources/types/index.d.ts +5 -0
- package/package.json +2 -2
- package/src/resources/classes/fax.ts +2 -2
- package/src/resources/classes/fhir-ext.ts +17 -2
- package/src/resources/classes/lab.ts +5 -3
- package/src/resources/classes/m2m.ts +10 -0
- package/src/resources/classes/user.ts +10 -0
- package/src/resources/types/ErxCheckPractitionerEnrollmentResponse.ts +4 -0
- package/src/resources/types/ErxEnrollPractitionerParams.ts +1 -0
- package/src/resources/types/ErxSearchAllergensResponse.ts +8 -4
- package/src/resources/types/FaxOnboardResponse.ts +11 -0
- package/src/resources/types/LabOrderSubmitResponse.ts +16 -0
- package/src/resources/types/LabRouteCreateResponse.ts +11 -0
- package/src/resources/types/LabRouteDeleteParams.ts +8 -0
- package/src/resources/types/M2mMeResponse.ts +7 -0
- package/src/resources/types/M2mUpdateParams.ts +4 -0
- package/src/resources/types/UserResetMfaParams.ts +5 -0
- package/src/resources/types/UserUpdateParams.ts +5 -1
- package/src/resources/types/ZambdaCreateParams.ts +6 -2
- package/src/resources/types/ZambdaFunction.ts +5 -1
- package/src/resources/types/ZambdaUpdateParams.ts +5 -1
- package/src/resources/types/fhir.ts +3 -0
- package/src/resources/types/index.ts +5 -0
- package/dist/esm/node_modules/tslib/package.json +0 -1
|
@@ -59,6 +59,7 @@ export interface BatchInputDeleteRequest extends BatchInputBaseRequest {
|
|
|
59
59
|
}
|
|
60
60
|
export interface BatchInputPutRequest<F extends FhirResource> extends BatchInputBaseRequest {
|
|
61
61
|
method: 'PUT';
|
|
62
|
+
ifMatch?: string;
|
|
62
63
|
resource: F;
|
|
63
64
|
}
|
|
64
65
|
export interface BatchInputPostRequest<F extends FhirResource> extends BatchInputBaseRequest {
|
|
@@ -68,10 +69,12 @@ export interface BatchInputPostRequest<F extends FhirResource> extends BatchInpu
|
|
|
68
69
|
}
|
|
69
70
|
export interface BatchInputBinaryPatchRequest<F extends FhirResource> extends BatchInputBaseRequest {
|
|
70
71
|
method: 'PATCH';
|
|
72
|
+
ifMatch?: string;
|
|
71
73
|
resource: Binary<F>;
|
|
72
74
|
}
|
|
73
75
|
export interface BatchInputJSONPatchRequest extends BatchInputBaseRequest {
|
|
74
76
|
method: 'PATCH';
|
|
77
|
+
ifMatch?: string;
|
|
75
78
|
operations: Operation[];
|
|
76
79
|
}
|
|
77
80
|
export type BatchInputPatchRequest<F extends FhirResource> = BatchInputBinaryPatchRequest<F> | BatchInputJSONPatchRequest;
|
|
@@ -55,6 +55,7 @@ export * from './DeveloperListV2Response';
|
|
|
55
55
|
export * from './M2mListResponse';
|
|
56
56
|
export * from './M2mCreateParams';
|
|
57
57
|
export * from './M2mCreateResponse';
|
|
58
|
+
export * from './M2mMeResponse';
|
|
58
59
|
export * from './M2mGetParams';
|
|
59
60
|
export * from './M2mGetResponse';
|
|
60
61
|
export * from './M2mUpdateParams';
|
|
@@ -127,6 +128,7 @@ export * from './UserGetResponse';
|
|
|
127
128
|
export * from './UserUpdateParams';
|
|
128
129
|
export * from './UserUpdateResponse';
|
|
129
130
|
export * from './UserDeleteParams';
|
|
131
|
+
export * from './UserResetMfaParams';
|
|
130
132
|
export * from './UserInviteParams';
|
|
131
133
|
export * from './UserInviteResponse';
|
|
132
134
|
export * from './UserListResponse';
|
|
@@ -162,16 +164,19 @@ export * from './ZambdaLogStreamSearchParams';
|
|
|
162
164
|
export * from './ZambdaLogStreamSearchResponse';
|
|
163
165
|
export * from './ZambdaLogStreamGetParams';
|
|
164
166
|
export * from './ZambdaLogStreamGetResponse';
|
|
167
|
+
export * from './FaxOnboardResponse';
|
|
165
168
|
export * from './FaxSendParams';
|
|
166
169
|
export * from './FaxSendResponse';
|
|
167
170
|
export * from './LabRouteListResponse';
|
|
168
171
|
export * from './LabRouteCreateParams';
|
|
172
|
+
export * from './LabRouteCreateResponse';
|
|
169
173
|
export * from './LabRouteDeleteParams';
|
|
170
174
|
export * from './LabOrderableItemListParams';
|
|
171
175
|
export * from './LabOrderableItemListResponse';
|
|
172
176
|
export * from './LabOrderableItemQuestionnaireGetParams';
|
|
173
177
|
export * from './LabOrderableItemQuestionnaireGetResponse';
|
|
174
178
|
export * from './LabOrderSubmitParams';
|
|
179
|
+
export * from './LabOrderSubmitResponse';
|
|
175
180
|
export * from './ErxSearchAllergensParams';
|
|
176
181
|
export * from './ErxSearchAllergensResponse';
|
|
177
182
|
export * from './ErxSearchMedicationsParams';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oystehr/sdk",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.3",
|
|
4
4
|
"description": "Oystehr SDK",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"lint": "eslint .",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@types/fhir": "0.0.41",
|
|
39
|
-
"@types/node": "20.17.
|
|
39
|
+
"@types/node": "20.17.58",
|
|
40
40
|
"fast-json-patch": "3.1.1",
|
|
41
41
|
"tslib": "2.8.1",
|
|
42
42
|
"uuid": "11.0.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// AUTOGENERATED -- DO NOT EDIT
|
|
2
2
|
|
|
3
|
-
import { FaxSendParams, FaxSendResponse, OystehrClientRequest } from '../..';
|
|
3
|
+
import { FaxOnboardResponse, FaxSendParams, FaxSendResponse, OystehrClientRequest } from '../..';
|
|
4
4
|
import { SDKResource } from '../../client/client';
|
|
5
5
|
import { OystehrConfig } from '../../config';
|
|
6
6
|
|
|
@@ -28,7 +28,7 @@ export class Fax extends SDKResource {
|
|
|
28
28
|
* Action: `Fax:Onboard`
|
|
29
29
|
* Access Policy Resource: `Fax:Number`
|
|
30
30
|
*/
|
|
31
|
-
onboard(request?: OystehrClientRequest): Promise<
|
|
31
|
+
onboard(request?: OystehrClientRequest): Promise<FaxOnboardResponse> {
|
|
32
32
|
return this.request('/onboard', 'post', this.#baseUrlThunk.bind(this))(request);
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
@@ -183,7 +183,10 @@ function batchInputRequestToBundleEntryItem<T extends FhirResource>(
|
|
|
183
183
|
if (method === 'PUT') {
|
|
184
184
|
const { resource } = request;
|
|
185
185
|
return {
|
|
186
|
-
|
|
186
|
+
request: {
|
|
187
|
+
...baseRequest.request,
|
|
188
|
+
ifMatch: request.ifMatch,
|
|
189
|
+
},
|
|
187
190
|
resource: resource as T,
|
|
188
191
|
} as BundleEntry<T>;
|
|
189
192
|
}
|
|
@@ -192,7 +195,10 @@ function batchInputRequestToBundleEntryItem<T extends FhirResource>(
|
|
|
192
195
|
if (method === 'PATCH') {
|
|
193
196
|
if ('resource' in request) {
|
|
194
197
|
return {
|
|
195
|
-
|
|
198
|
+
request: {
|
|
199
|
+
...baseRequest.request,
|
|
200
|
+
ifMatch: request.ifMatch,
|
|
201
|
+
},
|
|
196
202
|
resource: request.resource,
|
|
197
203
|
} as BundleEntry<Binary<T>>;
|
|
198
204
|
}
|
|
@@ -215,6 +221,15 @@ function batchInputRequestToBundleEntryItem<T extends FhirResource>(
|
|
|
215
221
|
fullUrl,
|
|
216
222
|
} as BundleEntry<T>;
|
|
217
223
|
}
|
|
224
|
+
|
|
225
|
+
// // Add ifMatch for the entries that support it
|
|
226
|
+
// if ('ifMatch' in request) {
|
|
227
|
+
// baseRequest.request = {
|
|
228
|
+
// ...baseRequest.request,
|
|
229
|
+
// ifMatch: request.ifMatch,
|
|
230
|
+
// };
|
|
231
|
+
// }
|
|
232
|
+
|
|
218
233
|
throw new Error('Unrecognized method');
|
|
219
234
|
}
|
|
220
235
|
|
|
@@ -6,7 +6,9 @@ import {
|
|
|
6
6
|
LabOrderableItemQuestionnaireGetParams,
|
|
7
7
|
LabOrderableItemQuestionnaireGetResponse,
|
|
8
8
|
LabOrderSubmitParams,
|
|
9
|
+
LabOrderSubmitResponse,
|
|
9
10
|
LabRouteCreateParams,
|
|
11
|
+
LabRouteCreateResponse,
|
|
10
12
|
LabRouteDeleteParams,
|
|
11
13
|
LabRouteListResponse,
|
|
12
14
|
OystehrClientRequest,
|
|
@@ -38,7 +40,7 @@ export class Lab extends SDKResource {
|
|
|
38
40
|
* Action: `Lab:CreateRoute`
|
|
39
41
|
* Access Policy Resource: `Lab:Route`
|
|
40
42
|
*/
|
|
41
|
-
routeCreate(params: LabRouteCreateParams, request?: OystehrClientRequest): Promise<
|
|
43
|
+
routeCreate(params: LabRouteCreateParams, request?: OystehrClientRequest): Promise<LabRouteCreateResponse> {
|
|
42
44
|
return this.request('/route', 'post', this.#baseUrlThunk.bind(this))(params, request);
|
|
43
45
|
}
|
|
44
46
|
/**
|
|
@@ -101,13 +103,13 @@ export class Lab extends SDKResource {
|
|
|
101
103
|
)(params, request);
|
|
102
104
|
}
|
|
103
105
|
/**
|
|
104
|
-
* Submit a lab order. Oystehr's [Submit Lab](https://docs.oystehr.com/oystehr/services/lab/submit-an-order/) feature allows users to submit a well configured ServiceRequest 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.
|
|
106
|
+
* Submit a lab order. Oystehr's [Submit Lab](https://docs.oystehr.com/oystehr/services/lab/submit-an-order/) feature allows users to submit a well configured ServiceRequest 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.
|
|
105
107
|
*
|
|
106
108
|
* Access Policy Requirements:
|
|
107
109
|
* Action: `Lab:SubmitOrder`
|
|
108
110
|
* Access Policy Resource: `Lab:Order`
|
|
109
111
|
*/
|
|
110
|
-
orderSubmit(params: LabOrderSubmitParams, request?: OystehrClientRequest): Promise<
|
|
112
|
+
orderSubmit(params: LabOrderSubmitParams, request?: OystehrClientRequest): Promise<LabOrderSubmitResponse> {
|
|
111
113
|
return this.request('/submit', 'post', this.#baseUrlThunk.bind(this))(params, request);
|
|
112
114
|
}
|
|
113
115
|
}
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
M2mListResponse,
|
|
10
10
|
M2mListV2Params,
|
|
11
11
|
M2mListV2Response,
|
|
12
|
+
M2mMeResponse,
|
|
12
13
|
M2mRotateSecretParams,
|
|
13
14
|
M2mRotateSecretResponse,
|
|
14
15
|
M2mUpdateParams,
|
|
@@ -45,6 +46,15 @@ export class M2m extends SDKResource {
|
|
|
45
46
|
create(params: M2mCreateParams, request?: OystehrClientRequest): Promise<M2mCreateResponse> {
|
|
46
47
|
return this.request('/m2m', 'post', this.#baseUrlThunk.bind(this))(params, request);
|
|
47
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Get information about the calling M2M Client [M2M Clients](https://docs.oystehr.com/oystehr/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/oystehr/services/zambda).
|
|
51
|
+
*
|
|
52
|
+
* Access Policy Action: `App:GetM2MClient`
|
|
53
|
+
* Access Policy Resource: `IAM:M2MClient`
|
|
54
|
+
*/
|
|
55
|
+
me(request?: OystehrClientRequest): Promise<M2mMeResponse> {
|
|
56
|
+
return this.request('/m2m/me', 'get', this.#baseUrlThunk.bind(this))(request);
|
|
57
|
+
}
|
|
48
58
|
/**
|
|
49
59
|
* Get the M2M Client with the provided ID. [M2M Clients](https://docs.oystehr.com/oystehr/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/oystehr/services/zambda).
|
|
50
60
|
*
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
UserListV2Params,
|
|
12
12
|
UserListV2Response,
|
|
13
13
|
UserMeResponse,
|
|
14
|
+
UserResetMfaParams,
|
|
14
15
|
UserUpdateParams,
|
|
15
16
|
UserUpdateResponse,
|
|
16
17
|
} from '../..';
|
|
@@ -59,6 +60,15 @@ export class User extends SDKResource {
|
|
|
59
60
|
delete(params: UserDeleteParams, request?: OystehrClientRequest): Promise<void> {
|
|
60
61
|
return this.request('/user/{id}', 'delete', this.#baseUrlThunk.bind(this))(params, request);
|
|
61
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* Reset MFA for the User with the provided ID. [Users](https://docs.oystehr.com/oystehr/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/oystehr/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
65
|
+
*
|
|
66
|
+
* Access Policy Action: `App:ResetUserMFA`
|
|
67
|
+
* Access Policy Resource: `App:User`
|
|
68
|
+
*/
|
|
69
|
+
resetMfa(params: UserResetMfaParams, request?: OystehrClientRequest): Promise<void> {
|
|
70
|
+
return this.request('/user/{id}/reset-mfa', 'post', this.#baseUrlThunk.bind(this))(params, request);
|
|
71
|
+
}
|
|
62
72
|
/**
|
|
63
73
|
* Invite a User to the Project. [Users](https://docs.oystehr.com/oystehr/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/oystehr/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
64
74
|
*
|
|
@@ -24,4 +24,8 @@ export interface ErxCheckPractitionerEnrollmentResponse {
|
|
|
24
24
|
* Whether the practitioner has enrolled in two-factor authentication with the upstream eRx provider.
|
|
25
25
|
*/
|
|
26
26
|
twoFactorEnrolled: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Whether the practitioner is enrolled as a prescribing practitioner.
|
|
29
|
+
*/
|
|
30
|
+
isPrescribing: boolean;
|
|
27
31
|
}
|
|
@@ -7,15 +7,19 @@ export type ErxSearchAllergensResponse = {
|
|
|
7
7
|
/**
|
|
8
8
|
* The identifier for the allergen.
|
|
9
9
|
*/
|
|
10
|
-
id
|
|
10
|
+
id: number;
|
|
11
11
|
/**
|
|
12
12
|
* Human readable name of allergen.
|
|
13
13
|
*/
|
|
14
|
-
name
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* Brand name of the allergen, if applicable.
|
|
17
|
+
*/
|
|
18
|
+
brandName?: string;
|
|
15
19
|
/**
|
|
16
20
|
* Type of allergen.
|
|
17
21
|
*/
|
|
18
|
-
type
|
|
22
|
+
type:
|
|
19
23
|
| 'AllergenClass'
|
|
20
24
|
| 'FoodAndEnvironmentalAllergens'
|
|
21
25
|
| 'NoKnownAllergy'
|
|
@@ -24,5 +28,5 @@ export type ErxSearchAllergensResponse = {
|
|
|
24
28
|
/**
|
|
25
29
|
* Category of allergen.
|
|
26
30
|
*/
|
|
27
|
-
category
|
|
31
|
+
category: 'CommonAllergens' | 'UncommonAllergens' | 'OtherBrandDrugs';
|
|
28
32
|
}[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// AUTOGENERATED -- DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
import { DocumentReference } from 'fhir/r4b';
|
|
4
|
+
/**
|
|
5
|
+
* Order submitted successfully. eReq and ABN may be available
|
|
6
|
+
*/
|
|
7
|
+
export interface LabOrderSubmitResponse {
|
|
8
|
+
/**
|
|
9
|
+
* Lab generated electronic requisition document (eReq). To be sent with samples.
|
|
10
|
+
*/
|
|
11
|
+
eRequisitionDocumentReference?: DocumentReference;
|
|
12
|
+
/**
|
|
13
|
+
* Advance Beneficiary Notice (ABN). To be signed by patient.
|
|
14
|
+
*/
|
|
15
|
+
abnDocumentReference?: DocumentReference;
|
|
16
|
+
}
|
|
@@ -2,5 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
export interface LabRouteDeleteParams {
|
|
4
4
|
primaryId?: string;
|
|
5
|
+
/**
|
|
6
|
+
* Provided by the lab, indicates a financial relationship between the lab and the customer.
|
|
7
|
+
*/
|
|
8
|
+
accountNumber: string;
|
|
9
|
+
/**
|
|
10
|
+
* Unique identifier of a lab. Searchable via orderable item Search.
|
|
11
|
+
*/
|
|
12
|
+
labGuid: string;
|
|
5
13
|
routeGuid: string;
|
|
6
14
|
}
|
|
@@ -20,5 +20,9 @@ export interface M2mUpdateParams {
|
|
|
20
20
|
* An URL of JWK set used for getting an access token by signed authentication JWT
|
|
21
21
|
*/
|
|
22
22
|
jwksUrl?: string;
|
|
23
|
+
/**
|
|
24
|
+
* A relative reference to a FHIR relative reference of the format Patient/{uuidV4}. Resource type must be one of Patient, Practitioner, Device.
|
|
25
|
+
*/
|
|
26
|
+
profile?: string;
|
|
23
27
|
id: string;
|
|
24
28
|
}
|
|
@@ -5,8 +5,12 @@ import { AccessPolicy } from './AccessPolicy';
|
|
|
5
5
|
export interface UserUpdateParams {
|
|
6
6
|
accessPolicy?: AccessPolicy;
|
|
7
7
|
/**
|
|
8
|
-
* A list of Role IDs to assign to the user.
|
|
8
|
+
* A list of Role IDs to assign to the user.
|
|
9
9
|
*/
|
|
10
10
|
roles?: string[];
|
|
11
|
+
/**
|
|
12
|
+
* A FHIR relative reference of the format Patient/{uuidV4}. Resource type must be one of Patient, Practitioner, Device.
|
|
13
|
+
*/
|
|
14
|
+
profile?: string;
|
|
11
15
|
id: string;
|
|
12
16
|
}
|
|
@@ -13,9 +13,9 @@ export interface ZambdaCreateParams {
|
|
|
13
13
|
triggerMethod?: 'http_auth' | 'http_open' | 'subscription' | 'cron';
|
|
14
14
|
schedule?: ZambdaSchedule;
|
|
15
15
|
/**
|
|
16
|
-
* The runtime to use for the Zambda Function.
|
|
16
|
+
* The runtime to use for the Zambda Function.
|
|
17
17
|
*/
|
|
18
|
-
runtime
|
|
18
|
+
runtime: 'nodejs18.x' | 'nodejs20.x' | 'nodejs22.x' | 'python3.13' | 'python3.12' | 'java21' | 'dotnet9' | 'ruby3.3';
|
|
19
19
|
/**
|
|
20
20
|
* The amount of memory in MB to allocate to the Zambda Function. If not specified, a system default (1024MB) will be used. Min: 128MB, Max: 10240MB.
|
|
21
21
|
*/
|
|
@@ -24,4 +24,8 @@ export interface ZambdaCreateParams {
|
|
|
24
24
|
* The timeout for the Zambda Function in seconds. If not specified, a system default (27 seconds) will be used. Min: 1s, Max: 900s (15 minutes). Note: For 'http_auth' and 'http_open' trigger methods, the timeout cannot exceed 27 seconds due to API Gateway limitations.
|
|
25
25
|
*/
|
|
26
26
|
timeoutInSeconds?: number;
|
|
27
|
+
/**
|
|
28
|
+
* The ID of the IAM role that the Zambda Function will assume when it is invoked.
|
|
29
|
+
*/
|
|
30
|
+
executionRoleId?: string;
|
|
27
31
|
}
|
|
@@ -11,7 +11,7 @@ export interface ZambdaFunction {
|
|
|
11
11
|
/**
|
|
12
12
|
* The runtime of the Zambda Function.
|
|
13
13
|
*/
|
|
14
|
-
runtime
|
|
14
|
+
runtime: string;
|
|
15
15
|
/**
|
|
16
16
|
* The Zambda Function status provides information about the Functions state including whether it is ready to be invoked.
|
|
17
17
|
*/
|
|
@@ -46,4 +46,8 @@ export interface ZambdaFunction {
|
|
|
46
46
|
* The timeout for the Zambda Function in seconds. If not specified, a system default (27 seconds) will be used. Min: 1s, Max: 900s (15 minutes). Note: For 'http_auth' and 'http_open' trigger methods, the timeout cannot exceed 27 seconds due to API Gateway limitations.
|
|
47
47
|
*/
|
|
48
48
|
timeoutInSeconds?: number;
|
|
49
|
+
/**
|
|
50
|
+
* The ID of the IAM role that the Zambda Function will assume when it is invoked.
|
|
51
|
+
*/
|
|
52
|
+
executionRoleId?: string;
|
|
49
53
|
}
|
|
@@ -13,7 +13,7 @@ export interface ZambdaUpdateParams {
|
|
|
13
13
|
triggerMethod?: 'http_auth' | 'http_open' | 'subscription' | 'cron';
|
|
14
14
|
schedule?: ZambdaSchedule;
|
|
15
15
|
/**
|
|
16
|
-
* The runtime to use for the Zambda Function.
|
|
16
|
+
* The runtime to use for the Zambda Function.
|
|
17
17
|
*/
|
|
18
18
|
runtime?: 'nodejs18.x' | 'nodejs20.x' | 'nodejs22.x' | 'python3.13' | 'python3.12' | 'java21' | 'dotnet9' | 'ruby3.3';
|
|
19
19
|
/**
|
|
@@ -24,5 +24,9 @@ export interface ZambdaUpdateParams {
|
|
|
24
24
|
* The timeout for the Zambda Function in seconds. If not specified, a system default (27 seconds) will be used. Min: 1s, Max: 900s (15 minutes). Note: For 'http_auth' and 'http_open' trigger methods, the timeout cannot exceed 27 seconds due to API Gateway limitations.
|
|
25
25
|
*/
|
|
26
26
|
timeoutInSeconds?: number;
|
|
27
|
+
/**
|
|
28
|
+
* The ID of the IAM role that the Zambda Function will assume when it is invoked.
|
|
29
|
+
*/
|
|
30
|
+
executionRoleId?: string;
|
|
27
31
|
id: string;
|
|
28
32
|
}
|
|
@@ -94,6 +94,7 @@ export interface BatchInputDeleteRequest extends BatchInputBaseRequest {
|
|
|
94
94
|
|
|
95
95
|
export interface BatchInputPutRequest<F extends FhirResource> extends BatchInputBaseRequest {
|
|
96
96
|
method: 'PUT';
|
|
97
|
+
ifMatch?: string;
|
|
97
98
|
resource: F;
|
|
98
99
|
}
|
|
99
100
|
|
|
@@ -105,11 +106,13 @@ export interface BatchInputPostRequest<F extends FhirResource> extends BatchInpu
|
|
|
105
106
|
|
|
106
107
|
export interface BatchInputBinaryPatchRequest<F extends FhirResource> extends BatchInputBaseRequest {
|
|
107
108
|
method: 'PATCH';
|
|
109
|
+
ifMatch?: string;
|
|
108
110
|
resource: Binary<F>;
|
|
109
111
|
}
|
|
110
112
|
|
|
111
113
|
export interface BatchInputJSONPatchRequest extends BatchInputBaseRequest {
|
|
112
114
|
method: 'PATCH';
|
|
115
|
+
ifMatch?: string;
|
|
113
116
|
operations: Operation[];
|
|
114
117
|
}
|
|
115
118
|
|
|
@@ -57,6 +57,7 @@ export * from './DeveloperListV2Response';
|
|
|
57
57
|
export * from './M2mListResponse';
|
|
58
58
|
export * from './M2mCreateParams';
|
|
59
59
|
export * from './M2mCreateResponse';
|
|
60
|
+
export * from './M2mMeResponse';
|
|
60
61
|
export * from './M2mGetParams';
|
|
61
62
|
export * from './M2mGetResponse';
|
|
62
63
|
export * from './M2mUpdateParams';
|
|
@@ -129,6 +130,7 @@ export * from './UserGetResponse';
|
|
|
129
130
|
export * from './UserUpdateParams';
|
|
130
131
|
export * from './UserUpdateResponse';
|
|
131
132
|
export * from './UserDeleteParams';
|
|
133
|
+
export * from './UserResetMfaParams';
|
|
132
134
|
export * from './UserInviteParams';
|
|
133
135
|
export * from './UserInviteResponse';
|
|
134
136
|
export * from './UserListResponse';
|
|
@@ -164,16 +166,19 @@ export * from './ZambdaLogStreamSearchParams';
|
|
|
164
166
|
export * from './ZambdaLogStreamSearchResponse';
|
|
165
167
|
export * from './ZambdaLogStreamGetParams';
|
|
166
168
|
export * from './ZambdaLogStreamGetResponse';
|
|
169
|
+
export * from './FaxOnboardResponse';
|
|
167
170
|
export * from './FaxSendParams';
|
|
168
171
|
export * from './FaxSendResponse';
|
|
169
172
|
export * from './LabRouteListResponse';
|
|
170
173
|
export * from './LabRouteCreateParams';
|
|
174
|
+
export * from './LabRouteCreateResponse';
|
|
171
175
|
export * from './LabRouteDeleteParams';
|
|
172
176
|
export * from './LabOrderableItemListParams';
|
|
173
177
|
export * from './LabOrderableItemListResponse';
|
|
174
178
|
export * from './LabOrderableItemQuestionnaireGetParams';
|
|
175
179
|
export * from './LabOrderableItemQuestionnaireGetResponse';
|
|
176
180
|
export * from './LabOrderSubmitParams';
|
|
181
|
+
export * from './LabOrderSubmitResponse';
|
|
177
182
|
export * from './ErxSearchAllergensParams';
|
|
178
183
|
export * from './ErxSearchAllergensResponse';
|
|
179
184
|
export * from './ErxSearchMedicationsParams';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type": "module"}
|