polytomic 25.9.5 → 25.9.6
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/BaseClient.js +2 -2
- package/api/types/TypesDefinition.d.ts +4 -1
- package/api/types/UserFieldRequest.d.ts +3 -1
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/BaseClient.js
CHANGED
|
@@ -44,8 +44,8 @@ function normalizeClientOptions(options) {
|
|
|
44
44
|
const headers = (0, headers_1.mergeHeaders)({
|
|
45
45
|
"X-Fern-Language": "JavaScript",
|
|
46
46
|
"X-Fern-SDK-Name": "polytomic",
|
|
47
|
-
"X-Fern-SDK-Version": "25.9.
|
|
48
|
-
"User-Agent": "polytomic/25.9.
|
|
47
|
+
"X-Fern-SDK-Version": "25.9.6",
|
|
48
|
+
"User-Agent": "polytomic/25.9.6",
|
|
49
49
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
50
50
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
51
51
|
"X-Polytomic-Version": (_a = options === null || options === void 0 ? void 0 : options.version) !== null && _a !== void 0 ? _a : "2025-09-18",
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Detailed field type: a type name such as "bigint", or an array naming a complex type followed by its details, such as ["decimal", {"precision": 10, "scale": 2}] or ["array", "string"].
|
|
3
|
+
*/
|
|
4
|
+
export type TypesDefinition = "binary" | "boolean" | "date" | "datetime" | "datetime_tz" | "time" | "number" | "string" | "smallint" | "int" | "bigint" | "single" | "double" | unknown[];
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
1
2
|
export interface UserFieldRequest {
|
|
3
|
+
definition?: Polytomic.TypesDefinition | undefined;
|
|
2
4
|
/** Example value shown in the UI and used as a hint for downstream consumers. */
|
|
3
5
|
example?: unknown | undefined;
|
|
4
6
|
/** Stable identifier for the user-defined field. Reuse an existing field_id to update a field in place. */
|
|
@@ -7,6 +9,6 @@ export interface UserFieldRequest {
|
|
|
7
9
|
label: string;
|
|
8
10
|
/** JSON path expression that extracts the field's value from the source record. Required for nested or computed fields; omit for top-level fields. */
|
|
9
11
|
path?: string | undefined;
|
|
10
|
-
/**
|
|
12
|
+
/** One of: string, number, boolean, datetime, array, object, binary. */
|
|
11
13
|
type: string;
|
|
12
14
|
}
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "25.9.
|
|
1
|
+
export declare const SDK_VERSION = "25.9.6";
|
package/version.js
CHANGED