phenoml 8.0.0 → 9.0.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.
@@ -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": "8.0.0",
56
- "User-Agent": "phenoml/8.0.0",
55
+ "X-Fern-SDK-Version": "9.0.0",
56
+ "User-Agent": "phenoml/9.0.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) });
@@ -9,8 +9,8 @@
9
9
  export interface DocumentRequest {
10
10
  /** FHIR version to use */
11
11
  version: string;
12
- /** Type of FHIR resource to create (questionnaire and US Core questionnaireresponse profiles currently supported) */
13
- resource: DocumentRequest.Resource;
12
+ /** Type of FHIR resource to create. Accepts any FHIR resource type or US Core profile name. */
13
+ resource: string;
14
14
  /**
15
15
  * Base64 encoded file content.
16
16
  * Supported file types: PDF (application/pdf), PNG (image/png), JPEG (image/jpeg).
@@ -18,11 +18,3 @@ export interface DocumentRequest {
18
18
  */
19
19
  content: string;
20
20
  }
21
- export declare namespace DocumentRequest {
22
- /** Type of FHIR resource to create (questionnaire and US Core questionnaireresponse profiles currently supported) */
23
- const Resource: {
24
- readonly Questionnaire: "questionnaire";
25
- readonly Questionnaireresponse: "questionnaireresponse";
26
- };
27
- type Resource = (typeof Resource)[keyof typeof Resource];
28
- }
@@ -1,12 +1,3 @@
1
1
  "use strict";
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.DocumentRequest = void 0;
5
- var DocumentRequest;
6
- (function (DocumentRequest) {
7
- /** Type of FHIR resource to create (questionnaire and US Core questionnaireresponse profiles currently supported) */
8
- DocumentRequest.Resource = {
9
- Questionnaire: "questionnaire",
10
- Questionnaireresponse: "questionnaireresponse",
11
- };
12
- })(DocumentRequest || (exports.DocumentRequest = DocumentRequest = {}));
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "8.0.0";
1
+ export declare const SDK_VERSION = "9.0.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 = "8.0.0";
4
+ exports.SDK_VERSION = "9.0.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": "8.0.0",
20
- "User-Agent": "phenoml/8.0.0",
19
+ "X-Fern-SDK-Version": "9.0.0",
20
+ "User-Agent": "phenoml/9.0.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) });
@@ -9,8 +9,8 @@
9
9
  export interface DocumentRequest {
10
10
  /** FHIR version to use */
11
11
  version: string;
12
- /** Type of FHIR resource to create (questionnaire and US Core questionnaireresponse profiles currently supported) */
13
- resource: DocumentRequest.Resource;
12
+ /** Type of FHIR resource to create. Accepts any FHIR resource type or US Core profile name. */
13
+ resource: string;
14
14
  /**
15
15
  * Base64 encoded file content.
16
16
  * Supported file types: PDF (application/pdf), PNG (image/png), JPEG (image/jpeg).
@@ -18,11 +18,3 @@ export interface DocumentRequest {
18
18
  */
19
19
  content: string;
20
20
  }
21
- export declare namespace DocumentRequest {
22
- /** Type of FHIR resource to create (questionnaire and US Core questionnaireresponse profiles currently supported) */
23
- const Resource: {
24
- readonly Questionnaire: "questionnaire";
25
- readonly Questionnaireresponse: "questionnaireresponse";
26
- };
27
- type Resource = (typeof Resource)[keyof typeof Resource];
28
- }
@@ -1,9 +1,2 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- export var DocumentRequest;
3
- (function (DocumentRequest) {
4
- /** Type of FHIR resource to create (questionnaire and US Core questionnaireresponse profiles currently supported) */
5
- DocumentRequest.Resource = {
6
- Questionnaire: "questionnaire",
7
- Questionnaireresponse: "questionnaireresponse",
8
- };
9
- })(DocumentRequest || (DocumentRequest = {}));
2
+ export {};
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "8.0.0";
1
+ export declare const SDK_VERSION = "9.0.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "8.0.0";
1
+ export const SDK_VERSION = "9.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phenoml",
3
- "version": "8.0.0",
3
+ "version": "9.0.0",
4
4
  "private": false,
5
5
  "repository": "github:PhenoML/phenoml-ts-sdk",
6
6
  "type": "commonjs",