pulse-ts-sdk 1.0.7 → 1.0.8
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/BaseClient.js +2 -2
- package/dist/cjs/api/types/BatchFileUpload.d.ts +6 -0
- package/dist/cjs/api/types/BatchFileUpload.js +3 -0
- package/dist/cjs/api/types/BatchInputSource.d.ts +4 -3
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/types/BatchFileUpload.d.mts +6 -0
- package/dist/esm/api/types/BatchFileUpload.mjs +2 -0
- package/dist/esm/api/types/BatchInputSource.d.mts +4 -3
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -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.
|
|
47
|
-
"User-Agent": "pulse-ts-sdk/1.0.
|
|
46
|
+
"X-Fern-SDK-Version": "1.0.8",
|
|
47
|
+
"User-Agent": "pulse-ts-sdk/1.0.8",
|
|
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);
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import type * as Pulse from "../index.js";
|
|
1
2
|
/**
|
|
2
3
|
* Input source for batch file enumeration. Provide exactly one of
|
|
3
|
-
* `s3_prefix`, `
|
|
4
|
+
* `s3_prefix`, `file_urls`, or `files`.
|
|
4
5
|
*/
|
|
5
6
|
export interface BatchInputSource {
|
|
6
7
|
/** S3 URI prefix (e.g. `s3://bucket/folder/`). All supported files under this prefix will be processed. */
|
|
7
8
|
s3_prefix?: string;
|
|
8
|
-
/** Absolute path to a local directory. All supported files in the directory will be processed. */
|
|
9
|
-
local_path?: string;
|
|
10
9
|
/** Explicit list of file URLs to download and process. */
|
|
11
10
|
file_urls?: string[];
|
|
11
|
+
/** Inline file uploads. Each entry contains a filename and base64-encoded file content. Use this when the client has local files that need to be sent to a remote API server. */
|
|
12
|
+
files?: Pulse.BatchFileUpload[];
|
|
12
13
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AsyncSubmissionResponse.js";
|
|
2
2
|
export * from "./BatchExtractionIds.js";
|
|
3
3
|
export * from "./BatchExtractResponse.js";
|
|
4
|
+
export * from "./BatchFileUpload.js";
|
|
4
5
|
export * from "./BatchInputSource.js";
|
|
5
6
|
export * from "./BatchOutputDestination.js";
|
|
6
7
|
export * from "./BatchSchemaResponse.js";
|
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./AsyncSubmissionResponse.js"), exports);
|
|
18
18
|
__exportStar(require("./BatchExtractionIds.js"), exports);
|
|
19
19
|
__exportStar(require("./BatchExtractResponse.js"), exports);
|
|
20
|
+
__exportStar(require("./BatchFileUpload.js"), exports);
|
|
20
21
|
__exportStar(require("./BatchInputSource.js"), exports);
|
|
21
22
|
__exportStar(require("./BatchOutputDestination.js"), exports);
|
|
22
23
|
__exportStar(require("./BatchSchemaResponse.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.
|
|
1
|
+
export declare const SDK_VERSION = "1.0.8";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -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.
|
|
10
|
-
"User-Agent": "pulse-ts-sdk/1.0.
|
|
9
|
+
"X-Fern-SDK-Version": "1.0.8",
|
|
10
|
+
"User-Agent": "pulse-ts-sdk/1.0.8",
|
|
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);
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import type * as Pulse from "../index.mjs";
|
|
1
2
|
/**
|
|
2
3
|
* Input source for batch file enumeration. Provide exactly one of
|
|
3
|
-
* `s3_prefix`, `
|
|
4
|
+
* `s3_prefix`, `file_urls`, or `files`.
|
|
4
5
|
*/
|
|
5
6
|
export interface BatchInputSource {
|
|
6
7
|
/** S3 URI prefix (e.g. `s3://bucket/folder/`). All supported files under this prefix will be processed. */
|
|
7
8
|
s3_prefix?: string;
|
|
8
|
-
/** Absolute path to a local directory. All supported files in the directory will be processed. */
|
|
9
|
-
local_path?: string;
|
|
10
9
|
/** Explicit list of file URLs to download and process. */
|
|
11
10
|
file_urls?: string[];
|
|
11
|
+
/** Inline file uploads. Each entry contains a filename and base64-encoded file content. Use this when the client has local files that need to be sent to a remote API server. */
|
|
12
|
+
files?: Pulse.BatchFileUpload[];
|
|
12
13
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AsyncSubmissionResponse.mjs";
|
|
2
2
|
export * from "./BatchExtractionIds.mjs";
|
|
3
3
|
export * from "./BatchExtractResponse.mjs";
|
|
4
|
+
export * from "./BatchFileUpload.mjs";
|
|
4
5
|
export * from "./BatchInputSource.mjs";
|
|
5
6
|
export * from "./BatchOutputDestination.mjs";
|
|
6
7
|
export * from "./BatchSchemaResponse.mjs";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AsyncSubmissionResponse.mjs";
|
|
2
2
|
export * from "./BatchExtractionIds.mjs";
|
|
3
3
|
export * from "./BatchExtractResponse.mjs";
|
|
4
|
+
export * from "./BatchFileUpload.mjs";
|
|
4
5
|
export * from "./BatchInputSource.mjs";
|
|
5
6
|
export * from "./BatchOutputDestination.mjs";
|
|
6
7
|
export * from "./BatchSchemaResponse.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.
|
|
1
|
+
export declare const SDK_VERSION = "1.0.8";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.0.
|
|
1
|
+
export const SDK_VERSION = "1.0.8";
|