@markupai/api 1.3.0 → 1.4.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.
@@ -49,8 +49,8 @@ class MarkupAIClient {
49
49
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "@markupai/api",
52
- "X-Fern-SDK-Version": "1.3.0",
53
- "User-Agent": "@markupai/api/1.3.0",
52
+ "X-Fern-SDK-Version": "1.4.0",
53
+ "User-Agent": "@markupai/api/1.4.0",
54
54
  "X-Fern-Runtime": core.RUNTIME.type,
55
55
  "X-Fern-Runtime-Version": core.RUNTIME.version,
56
56
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -10,6 +10,7 @@ export interface Issue {
10
10
  /** The sub-category of the change */
11
11
  subcategory: Issue.Subcategory;
12
12
  category?: MarkupAI.IssueCategory;
13
+ severity: MarkupAI.Severity;
13
14
  }
14
15
  export declare namespace Issue {
15
16
  /**
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type Severity = "high" | "medium" | "low";
5
+ export declare const Severity: {
6
+ readonly High: "high";
7
+ readonly Medium: "medium";
8
+ readonly Low: "low";
9
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Severity = void 0;
7
+ exports.Severity = {
8
+ High: "high",
9
+ Medium: "medium",
10
+ Low: "low",
11
+ };
@@ -12,6 +12,7 @@ export interface Suggestion {
12
12
  /** The suggested replacement text */
13
13
  suggestion: string;
14
14
  category?: MarkupAI.IssueCategory;
15
+ severity: MarkupAI.Severity;
15
16
  }
16
17
  export declare namespace Suggestion {
17
18
  /**
@@ -23,6 +23,7 @@ export * from "./QualityScore.js";
23
23
  export * from "./RewriteContent.js";
24
24
  export * from "./RewriteResponse.js";
25
25
  export * from "./ScoreOutput.js";
26
+ export * from "./Severity.js";
26
27
  export * from "./StyleCheckResponse.js";
27
28
  export * from "./StyleGuide.js";
28
29
  export * from "./StyleGuideResponse.js";
@@ -39,6 +39,7 @@ __exportStar(require("./QualityScore.js"), exports);
39
39
  __exportStar(require("./RewriteContent.js"), exports);
40
40
  __exportStar(require("./RewriteResponse.js"), exports);
41
41
  __exportStar(require("./ScoreOutput.js"), exports);
42
+ __exportStar(require("./Severity.js"), exports);
42
43
  __exportStar(require("./StyleCheckResponse.js"), exports);
43
44
  __exportStar(require("./StyleGuide.js"), exports);
44
45
  __exportStar(require("./StyleGuideResponse.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.3.0";
1
+ export declare const SDK_VERSION = "1.4.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 = "1.3.0";
4
+ exports.SDK_VERSION = "1.4.0";
@@ -13,8 +13,8 @@ export class MarkupAIClient {
13
13
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
14
14
  "X-Fern-Language": "JavaScript",
15
15
  "X-Fern-SDK-Name": "@markupai/api",
16
- "X-Fern-SDK-Version": "1.3.0",
17
- "User-Agent": "@markupai/api/1.3.0",
16
+ "X-Fern-SDK-Version": "1.4.0",
17
+ "User-Agent": "@markupai/api/1.4.0",
18
18
  "X-Fern-Runtime": core.RUNTIME.type,
19
19
  "X-Fern-Runtime-Version": core.RUNTIME.version,
20
20
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -10,6 +10,7 @@ export interface Issue {
10
10
  /** The sub-category of the change */
11
11
  subcategory: Issue.Subcategory;
12
12
  category?: MarkupAI.IssueCategory;
13
+ severity: MarkupAI.Severity;
13
14
  }
14
15
  export declare namespace Issue {
15
16
  /**
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type Severity = "high" | "medium" | "low";
5
+ export declare const Severity: {
6
+ readonly High: "high";
7
+ readonly Medium: "medium";
8
+ readonly Low: "low";
9
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const Severity = {
5
+ High: "high",
6
+ Medium: "medium",
7
+ Low: "low",
8
+ };
@@ -12,6 +12,7 @@ export interface Suggestion {
12
12
  /** The suggested replacement text */
13
13
  suggestion: string;
14
14
  category?: MarkupAI.IssueCategory;
15
+ severity: MarkupAI.Severity;
15
16
  }
16
17
  export declare namespace Suggestion {
17
18
  /**
@@ -23,6 +23,7 @@ export * from "./QualityScore.mjs";
23
23
  export * from "./RewriteContent.mjs";
24
24
  export * from "./RewriteResponse.mjs";
25
25
  export * from "./ScoreOutput.mjs";
26
+ export * from "./Severity.mjs";
26
27
  export * from "./StyleCheckResponse.mjs";
27
28
  export * from "./StyleGuide.mjs";
28
29
  export * from "./StyleGuideResponse.mjs";
@@ -23,6 +23,7 @@ export * from "./QualityScore.mjs";
23
23
  export * from "./RewriteContent.mjs";
24
24
  export * from "./RewriteResponse.mjs";
25
25
  export * from "./ScoreOutput.mjs";
26
+ export * from "./Severity.mjs";
26
27
  export * from "./StyleCheckResponse.mjs";
27
28
  export * from "./StyleGuide.mjs";
28
29
  export * from "./StyleGuideResponse.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.3.0";
1
+ export declare const SDK_VERSION = "1.4.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.3.0";
1
+ export const SDK_VERSION = "1.4.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markupai/api",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "private": false,
5
5
  "repository": "github:markupai/markup-ai-typescript-sdk",
6
6
  "license": "Apache-2.0",