phenoml 7.0.0 → 7.1.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/Client.js +2 -2
- package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.d.ts +2 -0
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderAuthConfig.d.ts +2 -0
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderTemplate.d.ts +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.d.mts +2 -0
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderAuthConfig.d.mts +2 -0
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderTemplate.d.mts +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/Client.js
CHANGED
|
@@ -52,8 +52,8 @@ class phenomlClient {
|
|
|
52
52
|
this._options = Object.assign(Object.assign({}, _options), { logging: core.logging.createLogger(_options === null || _options === void 0 ? void 0 : _options.logging), headers: (0, headers_js_1.mergeHeaders)({
|
|
53
53
|
"X-Fern-Language": "JavaScript",
|
|
54
54
|
"X-Fern-SDK-Name": "phenoml",
|
|
55
|
-
"X-Fern-SDK-Version": "7.
|
|
56
|
-
"User-Agent": "phenoml/7.
|
|
55
|
+
"X-Fern-SDK-Version": "7.1.0",
|
|
56
|
+
"User-Agent": "phenoml/7.1.0",
|
|
57
57
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
58
58
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
59
59
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ import type * as phenoml from "../../../../index.js";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface FhirProviderAddAuthConfigRequest {
|
|
9
9
|
auth_method: phenoml.fhirProvider.AuthMethod;
|
|
10
|
+
/** OAuth client ID for this auth configuration. Required for jwt, client_secret, and on_behalf_of auth methods if the provider does not already have a client_id set. */
|
|
11
|
+
client_id?: string;
|
|
10
12
|
/** OAuth client secret (required for client_secret and on_behalf_of auth methods) */
|
|
11
13
|
client_secret?: string;
|
|
12
14
|
service_account_key?: phenoml.fhirProvider.ServiceAccountKey;
|
|
@@ -21,4 +21,6 @@ export interface FhirProviderAuthConfig {
|
|
|
21
21
|
service_account_metadata?: phenoml.fhirProvider.ServiceAccountMetadata;
|
|
22
22
|
/** OAuth scopes */
|
|
23
23
|
scopes?: string;
|
|
24
|
+
/** OAuth client ID for this auth configuration. When set, takes precedence over the provider-level client_id. */
|
|
25
|
+
client_id?: string;
|
|
24
26
|
}
|
|
@@ -9,7 +9,7 @@ export interface FhirProviderTemplate {
|
|
|
9
9
|
provider?: phenoml.fhirProvider.Provider;
|
|
10
10
|
/** Base URL of the FHIR server */
|
|
11
11
|
base_url?: string;
|
|
12
|
-
/** OAuth client ID */
|
|
12
|
+
/** OAuth client ID. Deprecated: use client_id on FhirProviderAuthConfig instead. Retained for backward compatibility with existing providers. */
|
|
13
13
|
client_id?: string;
|
|
14
14
|
/** Map of authentication configurations (key is auth_config_id) */
|
|
15
15
|
auth_configs?: Record<string, phenoml.fhirProvider.FhirProviderAuthConfig>;
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "7.
|
|
1
|
+
export declare const SDK_VERSION = "7.1.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -16,8 +16,8 @@ export class phenomlClient {
|
|
|
16
16
|
this._options = Object.assign(Object.assign({}, _options), { logging: core.logging.createLogger(_options === null || _options === void 0 ? void 0 : _options.logging), headers: mergeHeaders({
|
|
17
17
|
"X-Fern-Language": "JavaScript",
|
|
18
18
|
"X-Fern-SDK-Name": "phenoml",
|
|
19
|
-
"X-Fern-SDK-Version": "7.
|
|
20
|
-
"User-Agent": "phenoml/7.
|
|
19
|
+
"X-Fern-SDK-Version": "7.1.0",
|
|
20
|
+
"User-Agent": "phenoml/7.1.0",
|
|
21
21
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
22
22
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
23
23
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.d.mts
CHANGED
|
@@ -7,6 +7,8 @@ import type * as phenoml from "../../../../index.mjs";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface FhirProviderAddAuthConfigRequest {
|
|
9
9
|
auth_method: phenoml.fhirProvider.AuthMethod;
|
|
10
|
+
/** OAuth client ID for this auth configuration. Required for jwt, client_secret, and on_behalf_of auth methods if the provider does not already have a client_id set. */
|
|
11
|
+
client_id?: string;
|
|
10
12
|
/** OAuth client secret (required for client_secret and on_behalf_of auth methods) */
|
|
11
13
|
client_secret?: string;
|
|
12
14
|
service_account_key?: phenoml.fhirProvider.ServiceAccountKey;
|
|
@@ -21,4 +21,6 @@ export interface FhirProviderAuthConfig {
|
|
|
21
21
|
service_account_metadata?: phenoml.fhirProvider.ServiceAccountMetadata;
|
|
22
22
|
/** OAuth scopes */
|
|
23
23
|
scopes?: string;
|
|
24
|
+
/** OAuth client ID for this auth configuration. When set, takes precedence over the provider-level client_id. */
|
|
25
|
+
client_id?: string;
|
|
24
26
|
}
|
|
@@ -9,7 +9,7 @@ export interface FhirProviderTemplate {
|
|
|
9
9
|
provider?: phenoml.fhirProvider.Provider;
|
|
10
10
|
/** Base URL of the FHIR server */
|
|
11
11
|
base_url?: string;
|
|
12
|
-
/** OAuth client ID */
|
|
12
|
+
/** OAuth client ID. Deprecated: use client_id on FhirProviderAuthConfig instead. Retained for backward compatibility with existing providers. */
|
|
13
13
|
client_id?: string;
|
|
14
14
|
/** Map of authentication configurations (key is auth_config_id) */
|
|
15
15
|
auth_configs?: Record<string, phenoml.fhirProvider.FhirProviderAuthConfig>;
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "7.
|
|
1
|
+
export declare const SDK_VERSION = "7.1.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "7.
|
|
1
|
+
export const SDK_VERSION = "7.1.0";
|