pulse-ts-sdk 1.0.4 → 1.0.5

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.
@@ -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": "pulse-ts-sdk",
46
- "X-Fern-SDK-Version": "1.0.4",
47
- "User-Agent": "pulse-ts-sdk/1.0.4",
46
+ "X-Fern-SDK-Version": "1.0.5",
47
+ "User-Agent": "pulse-ts-sdk/1.0.5",
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);
@@ -47,8 +47,8 @@ export declare namespace ExtractResponse {
47
47
  chunking?: Extensions.Chunking;
48
48
  /** Merge tables result/metadata. Present when `extensions.mergeTables` was enabled. */
49
49
  mergeTables?: Record<string, unknown>;
50
- /** Footnote linking result/metadata. Present when `extensions.footnoteReferences` was enabled. */
51
- footnoteReferences?: Record<string, unknown>;
50
+ /** List of detected footnotes with their in-text references. Present when `extensions.footnoteReferences` was enabled. Each item links a footnote paragraph to the body-text paragraphs that reference it, using bounding-box text IDs. */
51
+ footnoteReferences?: Extensions.FootnoteReferences.Item[];
52
52
  /** Alternate output formats. Each key corresponds to an enabled alt output. */
53
53
  altOutputs?: Extensions.AltOutputs;
54
54
  }
@@ -66,6 +66,17 @@ export declare namespace ExtractResponse {
66
66
  /** Recursively-split chunks respecting size limits. */
67
67
  recursive?: string[];
68
68
  }
69
+ type FootnoteReferences = FootnoteReferences.Item[];
70
+ namespace FootnoteReferences {
71
+ interface Item {
72
+ /** The footnote marker symbol (e.g. "*", "†", "1", "#"). */
73
+ symbol?: string;
74
+ /** The bounding-box text ID (e.g. "txt-15") of the footnote explanation paragraph. */
75
+ footnoteTextId?: string;
76
+ /** Bounding-box text IDs of body-text paragraphs that contain a reference to this footnote marker. */
77
+ referenceTextIds?: string[];
78
+ }
79
+ }
69
80
  /**
70
81
  * Alternate output formats. Each key corresponds to an enabled alt output.
71
82
  */
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.4";
1
+ export declare const SDK_VERSION = "1.0.5";
@@ -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.0.4";
4
+ exports.SDK_VERSION = "1.0.5";
@@ -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": "pulse-ts-sdk",
9
- "X-Fern-SDK-Version": "1.0.4",
10
- "User-Agent": "pulse-ts-sdk/1.0.4",
9
+ "X-Fern-SDK-Version": "1.0.5",
10
+ "User-Agent": "pulse-ts-sdk/1.0.5",
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);
@@ -47,8 +47,8 @@ export declare namespace ExtractResponse {
47
47
  chunking?: Extensions.Chunking;
48
48
  /** Merge tables result/metadata. Present when `extensions.mergeTables` was enabled. */
49
49
  mergeTables?: Record<string, unknown>;
50
- /** Footnote linking result/metadata. Present when `extensions.footnoteReferences` was enabled. */
51
- footnoteReferences?: Record<string, unknown>;
50
+ /** List of detected footnotes with their in-text references. Present when `extensions.footnoteReferences` was enabled. Each item links a footnote paragraph to the body-text paragraphs that reference it, using bounding-box text IDs. */
51
+ footnoteReferences?: Extensions.FootnoteReferences.Item[];
52
52
  /** Alternate output formats. Each key corresponds to an enabled alt output. */
53
53
  altOutputs?: Extensions.AltOutputs;
54
54
  }
@@ -66,6 +66,17 @@ export declare namespace ExtractResponse {
66
66
  /** Recursively-split chunks respecting size limits. */
67
67
  recursive?: string[];
68
68
  }
69
+ type FootnoteReferences = FootnoteReferences.Item[];
70
+ namespace FootnoteReferences {
71
+ interface Item {
72
+ /** The footnote marker symbol (e.g. "*", "†", "1", "#"). */
73
+ symbol?: string;
74
+ /** The bounding-box text ID (e.g. "txt-15") of the footnote explanation paragraph. */
75
+ footnoteTextId?: string;
76
+ /** Bounding-box text IDs of body-text paragraphs that contain a reference to this footnote marker. */
77
+ referenceTextIds?: string[];
78
+ }
79
+ }
69
80
  /**
70
81
  * Alternate output formats. Each key corresponds to an enabled alt output.
71
82
  */
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.4";
1
+ export declare const SDK_VERSION = "1.0.5";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.0.4";
1
+ export const SDK_VERSION = "1.0.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pulse-ts-sdk",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",