phenoml 11.1.0 → 11.2.0
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/BaseClient.js +2 -2
- package/dist/cjs/api/resources/fhirProvider/types/AuthMethod.d.ts +2 -1
- package/dist/cjs/api/resources/fhirProvider/types/AuthMethod.js +2 -1
- package/dist/cjs/api/resources/fhirProvider/types/Provider.d.ts +1 -0
- package/dist/cjs/api/resources/fhirProvider/types/Provider.js +1 -0
- package/dist/cjs/api/resources/fhirProvider/types/Role.d.ts +2 -2
- package/dist/cjs/api/resources/fhirProvider/types/Role.js +2 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/fhirProvider/types/AuthMethod.d.mts +2 -1
- package/dist/esm/api/resources/fhirProvider/types/AuthMethod.mjs +2 -1
- package/dist/esm/api/resources/fhirProvider/types/Provider.d.mts +1 -0
- package/dist/esm/api/resources/fhirProvider/types/Provider.mjs +1 -0
- package/dist/esm/api/resources/fhirProvider/types/Role.d.mts +2 -2
- package/dist/esm/api/resources/fhirProvider/types/Role.mjs +2 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "phenoml",
|
|
46
|
-
"X-Fern-SDK-Version": "11.
|
|
47
|
-
"User-Agent": "phenoml/11.
|
|
46
|
+
"X-Fern-SDK-Version": "11.2.0",
|
|
47
|
+
"User-Agent": "phenoml/11.2.0",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
* return an error.
|
|
12
12
|
* - `token_passthrough`: The caller provides their own bearer token via the X-Phenoml-Fhir-Provider header
|
|
13
13
|
* as one or more comma-separated {fhir_provider_id}:{oauth2_token} pairs. Specifying `role` or `scopes`
|
|
14
|
-
* will return an error.
|
|
14
|
+
* will return an error. This is the recommended mode for providers like Meditech where the bearer token
|
|
15
|
+
* is typically obtained outside PhenoML.
|
|
15
16
|
* - `none`: No authentication is performed. Specifying `role` or `scopes` will return an error.
|
|
16
17
|
*
|
|
17
18
|
* For the `on_behalf_of` authentication method, you must also provide the Patient or Practitioner reference
|
|
@@ -15,7 +15,8 @@ exports.AuthMethod = void 0;
|
|
|
15
15
|
* return an error.
|
|
16
16
|
* - `token_passthrough`: The caller provides their own bearer token via the X-Phenoml-Fhir-Provider header
|
|
17
17
|
* as one or more comma-separated {fhir_provider_id}:{oauth2_token} pairs. Specifying `role` or `scopes`
|
|
18
|
-
* will return an error.
|
|
18
|
+
* will return an error. This is the recommended mode for providers like Meditech where the bearer token
|
|
19
|
+
* is typically obtained outside PhenoML.
|
|
19
20
|
* - `none`: No authentication is performed. Specifying `role` or `scopes` will return an error.
|
|
20
21
|
*
|
|
21
22
|
* For the `on_behalf_of` authentication method, you must also provide the Patient or Practitioner reference
|
|
@@ -12,6 +12,7 @@ export declare const Provider: {
|
|
|
12
12
|
readonly Epic: "epic";
|
|
13
13
|
readonly GoogleHealthcare: "google_healthcare";
|
|
14
14
|
readonly Hapi: "hapi";
|
|
15
|
+
readonly Meditech: "meditech";
|
|
15
16
|
readonly Medplum: "medplum";
|
|
16
17
|
readonly Phenostore: "phenostore";
|
|
17
18
|
readonly Sandbox: "sandbox";
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
* field to specify exact scopes instead.
|
|
28
28
|
*
|
|
29
29
|
* Canvas does not support system-level roles — use `scopes` directly.
|
|
30
|
-
* Google Healthcare, HAPI, and `none`/`token_passthrough`
|
|
31
|
-
* do not use scopes at all.
|
|
30
|
+
* Google Healthcare, HAPI, Meditech, and `none`/`token_passthrough`
|
|
31
|
+
* auth methods do not use scopes at all.
|
|
32
32
|
*/
|
|
33
33
|
export declare const Role: {
|
|
34
34
|
readonly Admin: "admin";
|
|
@@ -31,8 +31,8 @@ exports.Role = void 0;
|
|
|
31
31
|
* field to specify exact scopes instead.
|
|
32
32
|
*
|
|
33
33
|
* Canvas does not support system-level roles — use `scopes` directly.
|
|
34
|
-
* Google Healthcare, HAPI, and `none`/`token_passthrough`
|
|
35
|
-
* do not use scopes at all.
|
|
34
|
+
* Google Healthcare, HAPI, Meditech, and `none`/`token_passthrough`
|
|
35
|
+
* auth methods do not use scopes at all.
|
|
36
36
|
*/
|
|
37
37
|
exports.Role = {
|
|
38
38
|
Admin: "admin",
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "11.
|
|
1
|
+
export declare const SDK_VERSION = "11.2.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "phenoml",
|
|
9
|
-
"X-Fern-SDK-Version": "11.
|
|
10
|
-
"User-Agent": "phenoml/11.
|
|
9
|
+
"X-Fern-SDK-Version": "11.2.0",
|
|
10
|
+
"User-Agent": "phenoml/11.2.0",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
* return an error.
|
|
12
12
|
* - `token_passthrough`: The caller provides their own bearer token via the X-Phenoml-Fhir-Provider header
|
|
13
13
|
* as one or more comma-separated {fhir_provider_id}:{oauth2_token} pairs. Specifying `role` or `scopes`
|
|
14
|
-
* will return an error.
|
|
14
|
+
* will return an error. This is the recommended mode for providers like Meditech where the bearer token
|
|
15
|
+
* is typically obtained outside PhenoML.
|
|
15
16
|
* - `none`: No authentication is performed. Specifying `role` or `scopes` will return an error.
|
|
16
17
|
*
|
|
17
18
|
* For the `on_behalf_of` authentication method, you must also provide the Patient or Practitioner reference
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
* return an error.
|
|
13
13
|
* - `token_passthrough`: The caller provides their own bearer token via the X-Phenoml-Fhir-Provider header
|
|
14
14
|
* as one or more comma-separated {fhir_provider_id}:{oauth2_token} pairs. Specifying `role` or `scopes`
|
|
15
|
-
* will return an error.
|
|
15
|
+
* will return an error. This is the recommended mode for providers like Meditech where the bearer token
|
|
16
|
+
* is typically obtained outside PhenoML.
|
|
16
17
|
* - `none`: No authentication is performed. Specifying `role` or `scopes` will return an error.
|
|
17
18
|
*
|
|
18
19
|
* For the `on_behalf_of` authentication method, you must also provide the Patient or Practitioner reference
|
|
@@ -12,6 +12,7 @@ export declare const Provider: {
|
|
|
12
12
|
readonly Epic: "epic";
|
|
13
13
|
readonly GoogleHealthcare: "google_healthcare";
|
|
14
14
|
readonly Hapi: "hapi";
|
|
15
|
+
readonly Meditech: "meditech";
|
|
15
16
|
readonly Medplum: "medplum";
|
|
16
17
|
readonly Phenostore: "phenostore";
|
|
17
18
|
readonly Sandbox: "sandbox";
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
* field to specify exact scopes instead.
|
|
28
28
|
*
|
|
29
29
|
* Canvas does not support system-level roles — use `scopes` directly.
|
|
30
|
-
* Google Healthcare, HAPI, and `none`/`token_passthrough`
|
|
31
|
-
* do not use scopes at all.
|
|
30
|
+
* Google Healthcare, HAPI, Meditech, and `none`/`token_passthrough`
|
|
31
|
+
* auth methods do not use scopes at all.
|
|
32
32
|
*/
|
|
33
33
|
export declare const Role: {
|
|
34
34
|
readonly Admin: "admin";
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
* field to specify exact scopes instead.
|
|
29
29
|
*
|
|
30
30
|
* Canvas does not support system-level roles — use `scopes` directly.
|
|
31
|
-
* Google Healthcare, HAPI, and `none`/`token_passthrough`
|
|
32
|
-
* do not use scopes at all.
|
|
31
|
+
* Google Healthcare, HAPI, Meditech, and `none`/`token_passthrough`
|
|
32
|
+
* auth methods do not use scopes at all.
|
|
33
33
|
*/
|
|
34
34
|
export const Role = {
|
|
35
35
|
Admin: "admin",
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "11.
|
|
1
|
+
export declare const SDK_VERSION = "11.2.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "11.
|
|
1
|
+
export const SDK_VERSION = "11.2.0";
|