phenoml 6.5.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.
Files changed (24) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/fhirProvider/client/Client.d.ts +1 -1
  3. package/dist/cjs/api/resources/fhirProvider/client/Client.js +1 -1
  4. package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.d.ts +2 -0
  5. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderAuthConfig.d.ts +2 -0
  6. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderSandboxInfo.d.ts +0 -2
  7. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderTemplate.d.ts +1 -3
  8. package/dist/cjs/api/resources/tools/types/McpServerResponse.d.ts +0 -2
  9. package/dist/cjs/api/resources/tools/types/McpServerToolResponse.d.ts +0 -2
  10. package/dist/cjs/version.d.ts +1 -1
  11. package/dist/cjs/version.js +1 -1
  12. package/dist/esm/Client.mjs +2 -2
  13. package/dist/esm/api/resources/fhirProvider/client/Client.d.mts +1 -1
  14. package/dist/esm/api/resources/fhirProvider/client/Client.mjs +1 -1
  15. package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.d.mts +2 -0
  16. package/dist/esm/api/resources/fhirProvider/types/FhirProviderAuthConfig.d.mts +2 -0
  17. package/dist/esm/api/resources/fhirProvider/types/FhirProviderSandboxInfo.d.mts +0 -2
  18. package/dist/esm/api/resources/fhirProvider/types/FhirProviderTemplate.d.mts +1 -3
  19. package/dist/esm/api/resources/tools/types/McpServerResponse.d.mts +0 -2
  20. package/dist/esm/api/resources/tools/types/McpServerToolResponse.d.mts +0 -2
  21. package/dist/esm/version.d.mts +1 -1
  22. package/dist/esm/version.mjs +1 -1
  23. package/package.json +1 -1
  24. package/reference.md +1 -1
@@ -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": "6.5.0",
56
- "User-Agent": "phenoml/6.5.0",
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) });
@@ -68,7 +68,7 @@ export declare class FhirProvider {
68
68
  get(fhir_provider_id: string, requestOptions?: FhirProvider.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.FhirProviderResponse>;
69
69
  private __get;
70
70
  /**
71
- * Soft deletes a FHIR provider by setting is_active to false.
71
+ * Deletes a FHIR provider.
72
72
  *
73
73
  * Note: Sandbox providers cannot be deleted.
74
74
  *
@@ -279,7 +279,7 @@ class FhirProvider {
279
279
  });
280
280
  }
281
281
  /**
282
- * Soft deletes a FHIR provider by setting is_active to false.
282
+ * Deletes a FHIR provider.
283
283
  *
284
284
  * Note: Sandbox providers cannot be deleted.
285
285
  *
@@ -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
  }
@@ -10,6 +10,4 @@ export interface FhirProviderSandboxInfo {
10
10
  description?: string;
11
11
  /** Provider type (always "sandbox" for this schema) */
12
12
  provider?: "sandbox";
13
- /** Whether the FHIR provider is active */
14
- is_active?: boolean;
15
13
  }
@@ -9,12 +9,10 @@ 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>;
16
- /** Whether the FHIR provider is active */
17
- is_active?: boolean;
18
16
  /** Timestamp when the provider was last updated */
19
17
  last_updated?: string;
20
18
  }
@@ -19,7 +19,5 @@ export declare namespace McpServerResponse {
19
19
  description?: string;
20
20
  /** URL of the MCP server */
21
21
  mcp_server_url?: string;
22
- /** Whether the MCP server is active */
23
- is_active?: boolean;
24
22
  }
25
23
  }
@@ -23,7 +23,5 @@ export declare namespace McpServerToolResponse {
23
23
  mcp_server_id?: string;
24
24
  /** URL of the MCP server */
25
25
  mcp_server_url?: string;
26
- /** Whether the MCP server tool is active */
27
- is_active?: boolean;
28
26
  }
29
27
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "6.5.0";
1
+ export declare const SDK_VERSION = "7.1.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "6.5.0";
4
+ exports.SDK_VERSION = "7.1.0";
@@ -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": "6.5.0",
20
- "User-Agent": "phenoml/6.5.0",
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) });
@@ -68,7 +68,7 @@ export declare class FhirProvider {
68
68
  get(fhir_provider_id: string, requestOptions?: FhirProvider.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.FhirProviderResponse>;
69
69
  private __get;
70
70
  /**
71
- * Soft deletes a FHIR provider by setting is_active to false.
71
+ * Deletes a FHIR provider.
72
72
  *
73
73
  * Note: Sandbox providers cannot be deleted.
74
74
  *
@@ -243,7 +243,7 @@ export class FhirProvider {
243
243
  });
244
244
  }
245
245
  /**
246
- * Soft deletes a FHIR provider by setting is_active to false.
246
+ * Deletes a FHIR provider.
247
247
  *
248
248
  * Note: Sandbox providers cannot be deleted.
249
249
  *
@@ -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
  }
@@ -10,6 +10,4 @@ export interface FhirProviderSandboxInfo {
10
10
  description?: string;
11
11
  /** Provider type (always "sandbox" for this schema) */
12
12
  provider?: "sandbox";
13
- /** Whether the FHIR provider is active */
14
- is_active?: boolean;
15
13
  }
@@ -9,12 +9,10 @@ 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>;
16
- /** Whether the FHIR provider is active */
17
- is_active?: boolean;
18
16
  /** Timestamp when the provider was last updated */
19
17
  last_updated?: string;
20
18
  }
@@ -19,7 +19,5 @@ export declare namespace McpServerResponse {
19
19
  description?: string;
20
20
  /** URL of the MCP server */
21
21
  mcp_server_url?: string;
22
- /** Whether the MCP server is active */
23
- is_active?: boolean;
24
22
  }
25
23
  }
@@ -23,7 +23,5 @@ export declare namespace McpServerToolResponse {
23
23
  mcp_server_id?: string;
24
24
  /** URL of the MCP server */
25
25
  mcp_server_url?: string;
26
- /** Whether the MCP server tool is active */
27
- is_active?: boolean;
28
26
  }
29
27
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "6.5.0";
1
+ export declare const SDK_VERSION = "7.1.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "6.5.0";
1
+ export const SDK_VERSION = "7.1.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phenoml",
3
- "version": "6.5.0",
3
+ "version": "7.1.0",
4
4
  "private": false,
5
5
  "repository": "github:PhenoML/phenoml-ts-sdk",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -2809,7 +2809,7 @@ await client.fhirProvider.get("fhir_provider_id");
2809
2809
  <dl>
2810
2810
  <dd>
2811
2811
 
2812
- Soft deletes a FHIR provider by setting is_active to false.
2812
+ Deletes a FHIR provider.
2813
2813
 
2814
2814
  Note: Sandbox providers cannot be deleted.
2815
2815
  </dd>