@databricks/sdk-statementexecution 0.52.5 → 0.53.1
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/package.js +1 -1
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +5 -5
- package/dist/v1/model.js.map +1 -1
- package/package.json +5 -5
package/dist/package.js
CHANGED
package/dist/v1/model.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","names":[],"sources":["../../src/v1/model.ts"],"mappings":";;;;;cAkBa,cAAA;EAAA;;;;;;;;;;;;;;;;;;;;KAqBD,cAAA,WACA,cAAA,eAA6B,cAAA;AAAA,cAI5B,WAAA;EAAA;;;;KAKD,WAAA,WACA,WAAA,eAA0B,WAAA;AAAA,cAIzB,MAAA;EAAA;;;;;KAMD,MAAA,WAAiB,MAAA,eAAqB,MAAA;AAAA,cAGrC,gBAAA;EAAA;;;;;;;;;;;;;;;KAgBD,gBAAA,WACA,gBAAA,eAA+B,gBAAA;;;;AApB3C;;;;cA+Ba,aAAA;EAAA;;;;KAKD,aAAA,WACA,aAAA,eAA4B,aAAA;AAAA,cAI3B,qBAAA;EAAA;;;;;;;;KAUD,qBAAA,WACA,qBAAA,eAAoC,qBAAA;AAAA,UAG/B,sBAAA;;;;;EAKf,WAAA;EAzC0B;EA2C1B,WAAA;AAAA;AAAA,UAIe,uBAAA;AAAA,UAEA,SAAA;;EAEf,UAAA;;EAEA,SAAA;;EAEA,QAAA;;AAtCF;;;EA2CE,SAAA;EA1CmD;AAIrD;;;;EA4CE,cAAA;;;;;;EAMA,qBAAA;AAAA;AAAA,UAGe,UAAA;EA3CL;EA6CV,IAAA;;EAEA,QAAA;EA9CmE;EAgDnE,QAAA,GAAW,cAAA;EA7C0B;EA+CrC,QAAA;EA1CA;EA4CA,aAAA;EAtCe;EAwCf,SAAA;;EAEA,gBAAA;AAAA;AAAA,UAGe,uBAAA;EA3CS;;;;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QAAA;AAAA;AAAA,cAGW,sCAAA,EAAwC,CAAA,CAAE,OAAA,CAAQ,uBAAA;AAAA,cAGlD,wBAAA,EAA0B,CAAA,CAAE,OAAA,CAAQ,SAAA;AAAA,cA2BpC,yBAAA,EAA2B,CAAA,CAAE,OAAA,CAAQ,UAAA;AAAA,cAoBrC,2BAAA,EAA6B,CAAA,CAAE,OAAA,CAAQ,YAAA;AAAA,cAiCvC,yBAAA,EAA2B,CAAA,CAAE,OAAA,CAAQ,UAAA;AAAA,cAiCrC,6BAAA,EAA+B,CAAA,CAAE,OAAA,CAAQ,cAAA;AAAA,cA6BzC,qBAAA,EAAuB,CAAA,CAAE,OAAA,CAAQ,MAAA;AAAA,cAUjC,2BAAA,EAA6B,CAAA,CAAE,OAAA,CAAQ,YAAA;AAAA,cAUvC,gCAAA,EAAkC,CAAA,CAAE,OAAA,CAAQ,iBAAA;AAAA,cAuB5C,8BAAA,EAAgC,CAAA,CAAE,OAAA,CAAQ,eAAA;AAAA,cAe1C,mCAAA,EAAqC,CAAA,CAAE,OAAA;AAAA,cAUvC,oCAAA,EAAsC,CAAA,CAAE,OAAA;AAAA,cAgCxC,qBAAA,EAAuB,CAAA,CAAE,OAAA;AAAA,cAUzB,+BAAA,EAAiC,CAAA,CAAE,OAAA"}
|
package/dist/v1/model.js
CHANGED
|
@@ -190,7 +190,7 @@ const unmarshalResultDataSchema = z.object({
|
|
|
190
190
|
}));
|
|
191
191
|
const unmarshalResultManifestSchema = z.object({
|
|
192
192
|
format: z.string().optional(),
|
|
193
|
-
schema: z.lazy(() => unmarshalSchemaSchema).
|
|
193
|
+
schema: z.lazy(() => unmarshalSchemaSchema).nullish().transform((v) => v ?? void 0),
|
|
194
194
|
total_chunk_count: z.number().optional(),
|
|
195
195
|
chunks: z.array(z.lazy(() => unmarshalChunkInfoSchema)).optional(),
|
|
196
196
|
total_row_count: z.union([
|
|
@@ -229,9 +229,9 @@ const unmarshalServiceErrorSchema = z.object({
|
|
|
229
229
|
}));
|
|
230
230
|
const unmarshalStatementResponseSchema = z.object({
|
|
231
231
|
statement_id: z.string().optional(),
|
|
232
|
-
status: z.lazy(() => unmarshalStatementStatusSchema).
|
|
233
|
-
manifest: z.lazy(() => unmarshalResultManifestSchema).
|
|
234
|
-
result: z.lazy(() => unmarshalResultDataSchema).
|
|
232
|
+
status: z.lazy(() => unmarshalStatementStatusSchema).nullish().transform((v) => v ?? void 0),
|
|
233
|
+
manifest: z.lazy(() => unmarshalResultManifestSchema).nullish().transform((v) => v ?? void 0),
|
|
234
|
+
result: z.lazy(() => unmarshalResultDataSchema).nullish().transform((v) => v ?? void 0)
|
|
235
235
|
}).transform((d) => ({
|
|
236
236
|
statementId: d.statement_id,
|
|
237
237
|
status: d.status,
|
|
@@ -240,7 +240,7 @@ const unmarshalStatementResponseSchema = z.object({
|
|
|
240
240
|
}));
|
|
241
241
|
const unmarshalStatementStatusSchema = z.object({
|
|
242
242
|
state: z.string().optional(),
|
|
243
|
-
error: z.lazy(() => unmarshalServiceErrorSchema).
|
|
243
|
+
error: z.lazy(() => unmarshalServiceErrorSchema).nullish().transform((v) => v ?? void 0),
|
|
244
244
|
sql_state: z.string().optional()
|
|
245
245
|
}).transform((d) => ({
|
|
246
246
|
state: d.state,
|
package/dist/v1/model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","names":[],"sources":["../../src/v1/model.ts"],"sourcesContent":["// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.\n\nimport type {JsonValue} from '@databricks/sdk-core/wkt';\nimport {z} from 'zod';\n\nconst jsonValueSchema: z.ZodType<JsonValue> = z.lazy(() =>\n z.union([\n z.null(),\n z.number(),\n z.string(),\n z.boolean(),\n z.record(z.string(), jsonValueSchema),\n z.array(jsonValueSchema),\n ])\n);\n\n/** The name of the base data type. This doesn't include details for complex types such as STRUCT, MAP or ARRAY. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const ColumnTypeName = {\n BOOLEAN: 'BOOLEAN',\n BYTE: 'BYTE',\n SHORT: 'SHORT',\n INT: 'INT',\n LONG: 'LONG',\n FLOAT: 'FLOAT',\n DOUBLE: 'DOUBLE',\n DATE: 'DATE',\n TIMESTAMP: 'TIMESTAMP',\n STRING: 'STRING',\n BINARY: 'BINARY',\n DECIMAL: 'DECIMAL',\n INTERVAL: 'INTERVAL',\n ARRAY: 'ARRAY',\n STRUCT: 'STRUCT',\n MAP: 'MAP',\n CHAR: 'CHAR',\n NULL: 'NULL',\n USER_DEFINED_TYPE: 'USER_DEFINED_TYPE',\n} as const;\nexport type ColumnTypeName =\n | (typeof ColumnTypeName)[keyof typeof ColumnTypeName]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const Disposition = {\n FETCH_DISPOSITION_UNSPECIFIED: 'FETCH_DISPOSITION_UNSPECIFIED',\n INLINE: 'INLINE',\n EXTERNAL_LINKS: 'EXTERNAL_LINKS',\n} as const;\nexport type Disposition =\n | (typeof Disposition)[keyof typeof Disposition]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const Format = {\n FORMAT_UNSPECIFIED: 'FORMAT_UNSPECIFIED',\n JSON_ARRAY: 'JSON_ARRAY',\n ARROW_STREAM: 'ARROW_STREAM',\n CSV: 'CSV',\n} as const;\nexport type Format = (typeof Format)[keyof typeof Format] | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const ServiceErrorCode = {\n UNKNOWN: 'UNKNOWN',\n INTERNAL_ERROR: 'INTERNAL_ERROR',\n TEMPORARILY_UNAVAILABLE: 'TEMPORARILY_UNAVAILABLE',\n IO_ERROR: 'IO_ERROR',\n BAD_REQUEST: 'BAD_REQUEST',\n SERVICE_UNDER_MAINTENANCE: 'SERVICE_UNDER_MAINTENANCE',\n WORKSPACE_TEMPORARILY_UNAVAILABLE: 'WORKSPACE_TEMPORARILY_UNAVAILABLE',\n DEADLINE_EXCEEDED: 'DEADLINE_EXCEEDED',\n CANCELLED: 'CANCELLED',\n RESOURCE_EXHAUSTED: 'RESOURCE_EXHAUSTED',\n ABORTED: 'ABORTED',\n NOT_FOUND: 'NOT_FOUND',\n ALREADY_EXISTS: 'ALREADY_EXISTS',\n UNAUTHENTICATED: 'UNAUTHENTICATED',\n} as const;\nexport type ServiceErrorCode =\n | (typeof ServiceErrorCode)[keyof typeof ServiceErrorCode]\n | (string & {});\n\n/**\n * When `wait_timeout > 0s`, the call will block up to the specified time. If the statement execution doesn't\n * finish within this time, `on_wait_timeout` determines whether the execution should continue or be canceled.\n * When set to `CONTINUE`, the statement execution continues asynchronously and the call returns a statement ID\n * which can be used for polling with :method:statementexecution/getStatement. When set to `CANCEL`,\n * the statement execution is canceled and the call returns with a `CANCELED` state.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const TimeoutAction = {\n TIMEOUT_ACTION_UNSPECIFIED: 'TIMEOUT_ACTION_UNSPECIFIED',\n CONTINUE: 'CONTINUE',\n CANCEL: 'CANCEL',\n} as const;\nexport type TimeoutAction =\n | (typeof TimeoutAction)[keyof typeof TimeoutAction]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const StatementStatus_State = {\n STATE_UNSPECIFIED: 'STATE_UNSPECIFIED',\n PENDING: 'PENDING',\n RUNNING: 'RUNNING',\n SUCCEEDED: 'SUCCEEDED',\n FAILED: 'FAILED',\n CANCELED: 'CANCELED',\n CLOSED: 'CLOSED',\n} as const;\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.\nexport type StatementStatus_State =\n | (typeof StatementStatus_State)[keyof typeof StatementStatus_State]\n | (string & {});\n\nexport interface CancelStatementRequest {\n /**\n * The statement ID is returned upon successfully submitting a SQL statement, and is a required\n * reference for all subsequent calls.\n */\n statementId?: string | undefined;\n /** For warehouse statement URLs, this field contains the warehouse_id path parameter. */\n warehouseId?: string | undefined;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface CancelStatementResponse {}\n\nexport interface ChunkInfo {\n /** The position within the sequence of result set chunks. */\n chunkIndex?: number | undefined;\n /** The starting row offset within the result set. */\n rowOffset?: bigint | undefined;\n /** The number of rows within the result chunk. */\n rowCount?: bigint | undefined;\n /**\n * The number of bytes in the result chunk. This field is not available when using `INLINE`\n * disposition.\n */\n byteCount?: bigint | undefined;\n /**\n * When fetching, provides the `chunk_index` for the _next_ chunk. If absent, indicates there are no\n * more chunks. The next chunk can be fetched with a\n * :method:statementexecution/getstatementresultchunkn request.\n */\n nextChunkIndex?: number | undefined;\n /**\n * When fetching, provides a link to fetch the _next_ chunk. If absent, indicates there are no more\n * chunks. This link is an absolute `path` to be joined with your `$DATABRICKS_HOST`, and should be\n * treated as an opaque link. This is an alternative to using `next_chunk_index`.\n */\n nextChunkInternalLink?: string | undefined;\n}\n\nexport interface ColumnInfo {\n /** The name of the column. */\n name?: string | undefined;\n /** The full SQL type specification. */\n typeText?: string | undefined;\n /** The name of the base data type. This doesn't include details for complex types such as STRUCT, MAP or ARRAY. */\n typeName?: ColumnTypeName | undefined;\n /** The ordinal position of the column (starting at position 0). */\n position?: number | undefined;\n /** Specifies the number of digits in a number. This applies to the DECIMAL type. */\n typePrecision?: number | undefined;\n /** Specifies the number of digits to the right of the decimal point in a number. This applies to the DECIMAL type. */\n typeScale?: number | undefined;\n /** The format of the interval type. */\n typeIntervalType?: string | undefined;\n}\n\nexport interface ExecuteStatementRequest {\n /**\n * The SQL statement to execute. The statement can optionally be parameterized, see `parameters`.\n * The maximum query text size is 16 MiB.\n */\n statement?: string | undefined;\n /**\n * Warehouse upon which to execute a statement. See also\n * [What are SQL warehouses?](https://docs.databricks.com/sql/admin/warehouse-type.html)\n */\n warehouseId?: string | undefined;\n /**\n * Sets default catalog for statement execution, similar to\n * [`USE CATALOG`](https://docs.databricks.com/sql/language-manual/sql-ref-syntax-ddl-use-catalog.html)\n * in SQL.\n */\n catalog?: string | undefined;\n /**\n * Sets default schema for statement execution, similar to\n * [`USE SCHEMA`](https://docs.databricks.com/sql/language-manual/sql-ref-syntax-ddl-use-schema.html)\n * in SQL.\n */\n schema?: string | undefined;\n /**\n * Applies the given row limit to the statement's result set, but unlike the `LIMIT` clause in SQL,\n * it also sets the `truncated` field in the response to indicate whether the result was trimmed due to the limit or\n * not.\n */\n rowLimit?: bigint | undefined;\n /**\n * Applies the given byte limit to the statement's result size. Byte counts are based on internal data\n * representations and might not match the final size in the requested `format`. If the result was truncated due to\n * the byte limit, then `truncated` in the response is set to `true`.\n * When using `EXTERNAL_LINKS` disposition, a default `byte_limit` of 100 GiB is applied if `byte_limit` is not\n * explicitly set.\n */\n byteLimit?: bigint | undefined;\n /**\n * Statement execution supports three result formats: `JSON_ARRAY` (default), `ARROW_STREAM`, and `CSV`.\n *\n * Important: The formats `ARROW_STREAM` and `CSV` are supported only with `EXTERNAL_LINKS` disposition.\n * `JSON_ARRAY` is supported in `INLINE` and `EXTERNAL_LINKS` disposition.\n *\n * When specifying `format=JSON_ARRAY`, result data will be formatted as an array of arrays of values, where each\n * value is either the *string representation* of a value, or `null`.\n * For example, the output of `SELECT concat('id-', id) AS strCol, id AS intCol, null AS nullCol FROM range(3)` would\n * look like this:\n *\n * ```\n * [\n * [ \"id-1\", \"1\", null ],\n * [ \"id-2\", \"2\", null ],\n * [ \"id-3\", \"3\", null ],\n * ]\n * ```\n *\n * When specifying `format=JSON_ARRAY` and `disposition=EXTERNAL_LINKS`, each chunk in the result contains compact\n * JSON with no indentation or extra whitespace.\n *\n * When specifying `format=ARROW_STREAM` and `disposition=EXTERNAL_LINKS`, each chunk in the result will be formatted\n * as Apache Arrow Stream. See the\n * [Apache Arrow streaming format](https://arrow.apache.org/docs/format/Columnar.html#ipc-streaming-format).\n *\n * When specifying `format=CSV` and `disposition=EXTERNAL_LINKS`, each chunk in the result will be a CSV according to\n * [RFC 4180](https://www.rfc-editor.org/rfc/rfc4180) standard.\n * All the columns values will have *string representation* similar to the `JSON_ARRAY` format, and `null` values will\n * be encoded as “null”.\n * Only the first chunk in the result would contain a header row with column names.\n * For example, the output of `SELECT concat('id-', id) AS strCol, id AS intCol, null as nullCol FROM range(3)` would\n * look like this:\n *\n * ```\n * strCol,intCol,nullCol\n * id-1,1,null\n * id-2,2,null\n * id-3,3,null\n * ```\n */\n format?: Format | undefined;\n /**\n * The fetch disposition provides two modes of fetching results: `INLINE` and `EXTERNAL_LINKS`.\n *\n * Statements executed with `INLINE` disposition will return result data inline, in `JSON_ARRAY` format, in a series\n * of chunks. If a given statement produces a result set with a size larger than 25 MiB,\n * that statement execution is aborted, and no result set will be available.\n *\n * **NOTE**\n * Byte limits are computed based upon internal representations of the result set data, and might not match the sizes\n * visible in JSON responses.\n *\n * Statements executed with `EXTERNAL_LINKS` disposition will return result data as external links: URLs that point\n * to cloud storage internal to the workspace. Using `EXTERNAL_LINKS` disposition allows statements to generate\n * arbitrarily sized result sets for fetching up to 100 GiB. The resulting links have two important properties:\n *\n * 1. They point to resources _external_ to the <Databricks> compute; therefore any associated authentication\n * information (typically a personal access token, OAuth token, or similar) _must be removed_ when fetching from\n * these links.\n *\n * 2. These are short-lived cloud-storage URLs\n * with a specific expiration, indicated in the response. The behavior when attempting to use an expired link is\n * cloud specific.\n */\n disposition?: Disposition | undefined;\n /**\n * The time in seconds the call will wait for the statement's result set as `Ns`, where `N` can be set to 0 or to a\n * value between 5 and 50.\n *\n * When set to `0s`, the statement will execute in asynchronous mode and the call will not wait for the execution to\n * finish. In this case, the call returns directly with `PENDING` state and a statement ID which can be used for\n * polling with :method:statementexecution/getStatement.\n *\n * When set between 5 and 50 seconds, the call will behave synchronously up to this timeout and wait for the statement\n * execution to finish. If the execution finishes within this time, the call returns immediately with a manifest and\n * result data (or a `FAILED` state in case of an execution error). If the statement takes longer to execute,\n * `on_wait_timeout` determines what should happen after the timeout is reached.\n */\n waitTimeout?: string | undefined;\n /**\n * When `wait_timeout > 0s`, the call will block up to the specified time. If the statement execution doesn't\n * finish within this time, `on_wait_timeout` determines whether the execution should continue or be canceled.\n * When set to `CONTINUE`, the statement execution continues asynchronously and the call returns a statement ID\n * which can be used for polling with :method:statementexecution/getStatement. When set to `CANCEL`,\n * the statement execution is canceled and the call returns with a `CANCELED` state.\n */\n onWaitTimeout?: TimeoutAction | undefined;\n /**\n * A list of parameters to pass into a SQL statement containing parameter markers. A\n * parameter consists of a name, a value, and optionally a type. To represent a NULL\n * value, the `value` field may be omitted or set to `null` explicitly. If the `type` field\n * is omitted, the value is interpreted as a string.\n *\n * If the type is given, parameters will be checked for type correctness according\n * to the given type. A value is correct if the provided string can be converted to\n * the requested type using the `cast` function. The exact semantics are described in\n * the section [`cast` function](https://docs.databricks.com/sql/language-manual/functions/cast.html) of the SQL language reference.\n *\n * For example, the following statement contains two parameters, `my_name` and `my_date`:\n *\n * ```\n * SELECT * FROM my_table WHERE name = :my_name AND date = :my_date\n * ```\n *\n * The parameters can be passed in the request body as follows:\n *\n * `\n * {\n * ...,\n * \"statement\": \"SELECT * FROM my_table WHERE name = :my_name AND date = :my_date\",\n * \"parameters\": [\n * { \"name\": \"my_name\", \"value\": \"the name\" },\n * { \"name\": \"my_date\", \"value\": \"2020-01-01\", \"type\": \"DATE\" }\n * ]\n * }\n * `\n *\n * Currently, positional parameters denoted by a `?` marker are not supported by the\n * Databricks SQL Statement Execution API.\n *\n * Also see the section [Parameter markers](https://docs.databricks.com/sql/language-manual/sql-ref-parameter-marker.html) of the SQL language reference.\n */\n parameters?: StatementParameter[] | undefined;\n /**\n * An array of query tags to annotate a SQL statement. A query tag\n * consists of a non-empty key and, optionally, a value. To represent a NULL\n * value, either omit the `value` field or manually set it to `null` or white space.\n * Refer to the SQL language reference for the format specification of query tags.\n * There's no significance to the order of tags. Only one value per key will be recorded.\n * A sequence in excess of 20 query tags will be coerced to 20.\n * Example:\n *\n * {\n * ...,\n * \"query_tags\": [\n * { \"key\": \"team\", \"value\": \"eng\" },\n * { \"key\": \"some key only tag\" }\n * ]\n * }\n */\n queryTags?: QueryTag[] | undefined;\n}\n\nexport interface ExternalLink {\n /**\n * A short-lived cloud-storage URL pointing to a chunk of result data, hosted by an external service, with a short\n * expiration time (<= 15 minutes). As this URL contains a temporary credential, it should be considered sensitive\n * and the client should not expose this URL in a log.\n */\n externalLink?: string | undefined;\n /**\n * Indicates the date-time that the given external link will expire and\n * becomes invalid, after which point a new `external_link` must be requested.\n */\n expiration?: string | undefined;\n /**\n * HTTP headers that must be included with a GET request to the `external_link`.\n * Each header is provided as a key-value pair.\n * Headers are typically used to pass a decryption key to the external service.\n * The values of these headers should be considered sensitive and the client should not expose\n * these values in a log.\n */\n httpHeaders?: Record<string, string> | undefined;\n /** The position within the sequence of result set chunks. */\n chunkIndex?: number | undefined;\n /** The starting row offset within the result set. */\n rowOffset?: bigint | undefined;\n /** The number of rows within the result chunk. */\n rowCount?: bigint | undefined;\n /**\n * The number of bytes in the result chunk. This field is not available when using `INLINE`\n * disposition.\n */\n byteCount?: bigint | undefined;\n /**\n * When fetching, provides the `chunk_index` for the _next_ chunk. If absent, indicates there are no\n * more chunks. The next chunk can be fetched with a\n * :method:statementexecution/getstatementresultchunkn request.\n */\n nextChunkIndex?: number | undefined;\n /**\n * When fetching, provides a link to fetch the _next_ chunk. If absent, indicates there are no more\n * chunks. This link is an absolute `path` to be joined with your `$DATABRICKS_HOST`, and should be\n * treated as an opaque link. This is an alternative to using `next_chunk_index`.\n */\n nextChunkInternalLink?: string | undefined;\n}\n\nexport interface GetResultDataRequest {\n /**\n * The statement ID is returned upon successfully submitting a SQL statement, and is a required\n * reference for all subsequent calls.\n */\n statementId?: string | undefined;\n chunkIndex?: number | undefined;\n /** For warehouse statement URLs, this field contains the warehouse_id path parameter. */\n warehouseId?: string | undefined;\n}\n\nexport interface GetStatementResultRequest {\n /**\n * The statement ID is returned upon successfully submitting a SQL statement, and is a required\n * reference for all subsequent calls.\n */\n statementId?: string | undefined;\n /** For warehouse statement URLs, this field contains the warehouse_id path parameter. */\n warehouseId?: string | undefined;\n}\n\n/**\n * * A query execution can be annotated with an optional key-value pair to\n * allow users to attribute the executions by key and optional value to filter by.\n * QueryTag is the user-facing representation.\n */\nexport interface QueryTag {\n key?: string | undefined;\n value?: string | undefined;\n}\n\n/**\n * Contains the result data of a single chunk when using `INLINE` disposition. When using\n * `EXTERNAL_LINKS` disposition, the array `external_links` is used instead to provide\n * short-lived cloud-storage URLs to the result data\n * in cloud storage. Exactly one of these alternatives is used. (While the `external_links`\n * array prepares the API to return multiple links in a single response. Currently only a single\n * link is returned.)\n */\nexport interface ResultData {\n externalLinks?: ExternalLink[] | undefined;\n /**\n * The `JSON_ARRAY` format is an array of arrays of values, where each non-null value is\n * formatted as a string. Null values are encoded as JSON `null`.\n */\n dataArray?: JsonValue[][] | undefined;\n /** The position within the sequence of result set chunks. */\n chunkIndex?: number | undefined;\n /** The starting row offset within the result set. */\n rowOffset?: bigint | undefined;\n /** The number of rows within the result chunk. */\n rowCount?: bigint | undefined;\n /**\n * The number of bytes in the result chunk. This field is not available when using `INLINE`\n * disposition.\n */\n byteCount?: bigint | undefined;\n /**\n * When fetching, provides the `chunk_index` for the _next_ chunk. If absent, indicates there are no\n * more chunks. The next chunk can be fetched with a\n * :method:statementexecution/getstatementresultchunkn request.\n */\n nextChunkIndex?: number | undefined;\n /**\n * When fetching, provides a link to fetch the _next_ chunk. If absent, indicates there are no more\n * chunks. This link is an absolute `path` to be joined with your `$DATABRICKS_HOST`, and should be\n * treated as an opaque link. This is an alternative to using `next_chunk_index`.\n */\n nextChunkInternalLink?: string | undefined;\n}\n\n/** The result manifest provides schema and metadata for the result set. */\nexport interface ResultManifest {\n format?: Format | undefined;\n schema?: Schema | undefined;\n /** The total number of chunks that the result set has been divided into. */\n totalChunkCount?: number | undefined;\n /** Array of result set chunk metadata. */\n chunks?: ChunkInfo[] | undefined;\n /** The total number of rows in the result set. */\n totalRowCount?: bigint | undefined;\n /**\n * The total number of bytes in the result set. This field is not available when using `INLINE`\n * disposition.\n */\n totalByteCount?: bigint | undefined;\n /** Indicates whether the result is truncated due to `row_limit` or `byte_limit`. */\n truncated?: boolean | undefined;\n}\n\n/** The schema is an ordered list of column descriptions. */\nexport interface Schema {\n columnCount?: number | undefined;\n columns?: ColumnInfo[] | undefined;\n}\n\nexport interface ServiceError {\n errorCode?: ServiceErrorCode | undefined;\n /** A brief summary of the error condition. */\n message?: string | undefined;\n}\n\nexport interface StatementParameter {\n /** The name of a parameter marker to be substituted in the statement. */\n name?: string | undefined;\n /** The value to substitute, represented as a string. If omitted, the value is interpreted as NULL. */\n value?: string | undefined;\n /**\n * The data type, given as a string. For example: `INT`, `STRING`, `DECIMAL(10,2)`.\n * If no type is given the type is assumed to be `STRING`. Complex types, such as\n * `ARRAY`, `MAP`, and `STRUCT` are not supported. For valid types, refer to the\n * section [Data types](https://docs.databricks.com/sql/language-manual/functions/cast.html) of the SQL language reference.\n */\n type?: string | undefined;\n}\n\nexport interface StatementResponse {\n /**\n * The statement ID is returned upon successfully submitting a SQL statement, and is a required\n * reference for all subsequent calls.\n */\n statementId?: string | undefined;\n status?: StatementStatus | undefined;\n manifest?: ResultManifest | undefined;\n result?: ResultData | undefined;\n}\n\n/** The status response includes execution state and if relevant, error information. */\nexport interface StatementStatus {\n /**\n * Statement execution state:\n * - `PENDING`: waiting for warehouse\n * - `RUNNING`: running\n * - `SUCCEEDED`: execution was successful, result data available for fetch\n * - `FAILED`: execution failed; reason for failure described in accompanying error message\n * - `CANCELED`: user canceled; can come from explicit cancel call, or timeout with\n * `on_wait_timeout=CANCEL`\n * - `CLOSED`: execution successful, and statement closed; result no longer available for fetch\n */\n state?: StatementStatus_State | undefined;\n error?: ServiceError | undefined;\n /**\n * SQLSTATE error code returned when the statement execution fails.\n * Only populated when the statement status is `FAILED`.\n */\n sqlState?: string | undefined;\n}\n\nexport const unmarshalCancelStatementResponseSchema: z.ZodType<CancelStatementResponse> =\n z.object({});\n\nexport const unmarshalChunkInfoSchema: z.ZodType<ChunkInfo> = z\n .object({\n chunk_index: z.number().optional(),\n row_offset: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n row_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n byte_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n next_chunk_index: z.number().optional(),\n next_chunk_internal_link: z.string().optional(),\n })\n .transform(d => ({\n chunkIndex: d.chunk_index,\n rowOffset: d.row_offset,\n rowCount: d.row_count,\n byteCount: d.byte_count,\n nextChunkIndex: d.next_chunk_index,\n nextChunkInternalLink: d.next_chunk_internal_link,\n }));\n\nexport const unmarshalColumnInfoSchema: z.ZodType<ColumnInfo> = z\n .object({\n name: z.string().optional(),\n type_text: z.string().optional(),\n type_name: z.string().optional(),\n position: z.number().optional(),\n type_precision: z.number().optional(),\n type_scale: z.number().optional(),\n type_interval_type: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n typeText: d.type_text,\n typeName: d.type_name,\n position: d.position,\n typePrecision: d.type_precision,\n typeScale: d.type_scale,\n typeIntervalType: d.type_interval_type,\n }));\n\nexport const unmarshalExternalLinkSchema: z.ZodType<ExternalLink> = z\n .object({\n external_link: z.string().optional(),\n expiration: z.string().optional(),\n http_headers: z.record(z.string(), z.string()).optional(),\n chunk_index: z.number().optional(),\n row_offset: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n row_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n byte_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n next_chunk_index: z.number().optional(),\n next_chunk_internal_link: z.string().optional(),\n })\n .transform(d => ({\n externalLink: d.external_link,\n expiration: d.expiration,\n httpHeaders: d.http_headers,\n chunkIndex: d.chunk_index,\n rowOffset: d.row_offset,\n rowCount: d.row_count,\n byteCount: d.byte_count,\n nextChunkIndex: d.next_chunk_index,\n nextChunkInternalLink: d.next_chunk_internal_link,\n }));\n\nexport const unmarshalResultDataSchema: z.ZodType<ResultData> = z\n .object({\n external_links: z\n .array(z.lazy(() => unmarshalExternalLinkSchema))\n .optional(),\n data_array: z.array(z.array(jsonValueSchema)).optional(),\n chunk_index: z.number().optional(),\n row_offset: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n row_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n byte_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n next_chunk_index: z.number().optional(),\n next_chunk_internal_link: z.string().optional(),\n })\n .transform(d => ({\n externalLinks: d.external_links,\n dataArray: d.data_array,\n chunkIndex: d.chunk_index,\n rowOffset: d.row_offset,\n rowCount: d.row_count,\n byteCount: d.byte_count,\n nextChunkIndex: d.next_chunk_index,\n nextChunkInternalLink: d.next_chunk_internal_link,\n }));\n\nexport const unmarshalResultManifestSchema: z.ZodType<ResultManifest> = z\n .object({\n format: z.string().optional(),\n schema: z.lazy(() => unmarshalSchemaSchema).optional(),\n total_chunk_count: z.number().optional(),\n chunks: z.array(z.lazy(() => unmarshalChunkInfoSchema)).optional(),\n total_row_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n total_byte_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n truncated: z.boolean().optional(),\n })\n .transform(d => ({\n format: d.format,\n schema: d.schema,\n totalChunkCount: d.total_chunk_count,\n chunks: d.chunks,\n totalRowCount: d.total_row_count,\n totalByteCount: d.total_byte_count,\n truncated: d.truncated,\n }));\n\nexport const unmarshalSchemaSchema: z.ZodType<Schema> = z\n .object({\n column_count: z.number().optional(),\n columns: z.array(z.lazy(() => unmarshalColumnInfoSchema)).optional(),\n })\n .transform(d => ({\n columnCount: d.column_count,\n columns: d.columns,\n }));\n\nexport const unmarshalServiceErrorSchema: z.ZodType<ServiceError> = z\n .object({\n error_code: z.string().optional(),\n message: z.string().optional(),\n })\n .transform(d => ({\n errorCode: d.error_code,\n message: d.message,\n }));\n\nexport const unmarshalStatementResponseSchema: z.ZodType<StatementResponse> = z\n .object({\n statement_id: z.string().optional(),\n status: z.lazy(() => unmarshalStatementStatusSchema).optional(),\n manifest: z.lazy(() => unmarshalResultManifestSchema).optional(),\n result: z.lazy(() => unmarshalResultDataSchema).optional(),\n })\n .transform(d => ({\n statementId: d.statement_id,\n status: d.status,\n manifest: d.manifest,\n result: d.result,\n }));\n\nexport const unmarshalStatementStatusSchema: z.ZodType<StatementStatus> = z\n .object({\n state: z.string().optional(),\n error: z.lazy(() => unmarshalServiceErrorSchema).optional(),\n sql_state: z.string().optional(),\n })\n .transform(d => ({\n state: d.state,\n error: d.error,\n sqlState: d.sql_state,\n }));\n\nexport const marshalCancelStatementRequestSchema: z.ZodType = z\n .object({\n statementId: z.string().optional(),\n warehouseId: z.string().optional(),\n })\n .transform(d => ({\n statement_id: d.statementId,\n warehouse_id: d.warehouseId,\n }));\n\nexport const marshalExecuteStatementRequestSchema: z.ZodType = z\n .object({\n statement: z.string().optional(),\n warehouseId: z.string().optional(),\n catalog: z.string().optional(),\n schema: z.string().optional(),\n rowLimit: z.bigint().optional(),\n byteLimit: z.bigint().optional(),\n format: z.string().optional(),\n disposition: z.string().optional(),\n waitTimeout: z.string().optional(),\n onWaitTimeout: z.string().optional(),\n parameters: z\n .array(z.lazy(() => marshalStatementParameterSchema))\n .optional(),\n queryTags: z.array(z.lazy(() => marshalQueryTagSchema)).optional(),\n })\n .transform(d => ({\n statement: d.statement,\n warehouse_id: d.warehouseId,\n catalog: d.catalog,\n schema: d.schema,\n row_limit: d.rowLimit,\n byte_limit: d.byteLimit,\n format: d.format,\n disposition: d.disposition,\n wait_timeout: d.waitTimeout,\n on_wait_timeout: d.onWaitTimeout,\n parameters: d.parameters,\n query_tags: d.queryTags,\n }));\n\nexport const marshalQueryTagSchema: z.ZodType = z\n .object({\n key: z.string().optional(),\n value: z.string().optional(),\n })\n .transform(d => ({\n key: d.key,\n value: d.value,\n }));\n\nexport const marshalStatementParameterSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n value: z.string().optional(),\n type: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n value: d.value,\n type: d.type,\n }));\n"],"mappings":";;;AAKA,MAAM,kBAAwC,EAAE,WAC9C,EAAE,MAAM;CACN,EAAE,MAAM;CACR,EAAE,QAAQ;CACV,EAAE,QAAQ;CACV,EAAE,SAAS;CACX,EAAE,OAAO,EAAE,QAAQ,EAAE,gBAAgB;CACrC,EAAE,MAAM,gBAAgB;CACzB,CAAC,CACH;;AAID,MAAa,iBAAiB;CAC5B,SAAS;CACT,MAAM;CACN,OAAO;CACP,KAAK;CACL,MAAM;CACN,OAAO;CACP,QAAQ;CACR,MAAM;CACN,WAAW;CACX,QAAQ;CACR,QAAQ;CACR,SAAS;CACT,UAAU;CACV,OAAO;CACP,QAAQ;CACR,KAAK;CACL,MAAM;CACN,MAAM;CACN,mBAAmB;CACpB;AAMD,MAAa,cAAc;CACzB,+BAA+B;CAC/B,QAAQ;CACR,gBAAgB;CACjB;AAMD,MAAa,SAAS;CACpB,oBAAoB;CACpB,YAAY;CACZ,cAAc;CACd,KAAK;CACN;AAID,MAAa,mBAAmB;CAC9B,SAAS;CACT,gBAAgB;CAChB,yBAAyB;CACzB,UAAU;CACV,aAAa;CACb,2BAA2B;CAC3B,mCAAmC;CACnC,mBAAmB;CACnB,WAAW;CACX,oBAAoB;CACpB,SAAS;CACT,WAAW;CACX,gBAAgB;CAChB,iBAAiB;CAClB;;;;;;;;AAaD,MAAa,gBAAgB;CAC3B,4BAA4B;CAC5B,UAAU;CACV,QAAQ;CACT;AAMD,MAAa,wBAAwB;CACnC,mBAAmB;CACnB,SAAS;CACT,SAAS;CACT,WAAW;CACX,QAAQ;CACR,UAAU;CACV,QAAQ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// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.\n\nimport type {JsonValue} from '@databricks/sdk-core/wkt';\nimport {z} from 'zod';\n\nconst jsonValueSchema: z.ZodType<JsonValue> = z.lazy(() =>\n z.union([\n z.null(),\n z.number(),\n z.string(),\n z.boolean(),\n z.record(z.string(), jsonValueSchema),\n z.array(jsonValueSchema),\n ])\n);\n\n/** The name of the base data type. This doesn't include details for complex types such as STRUCT, MAP or ARRAY. */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const ColumnTypeName = {\n BOOLEAN: 'BOOLEAN',\n BYTE: 'BYTE',\n SHORT: 'SHORT',\n INT: 'INT',\n LONG: 'LONG',\n FLOAT: 'FLOAT',\n DOUBLE: 'DOUBLE',\n DATE: 'DATE',\n TIMESTAMP: 'TIMESTAMP',\n STRING: 'STRING',\n BINARY: 'BINARY',\n DECIMAL: 'DECIMAL',\n INTERVAL: 'INTERVAL',\n ARRAY: 'ARRAY',\n STRUCT: 'STRUCT',\n MAP: 'MAP',\n CHAR: 'CHAR',\n NULL: 'NULL',\n USER_DEFINED_TYPE: 'USER_DEFINED_TYPE',\n} as const;\nexport type ColumnTypeName =\n | (typeof ColumnTypeName)[keyof typeof ColumnTypeName]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const Disposition = {\n FETCH_DISPOSITION_UNSPECIFIED: 'FETCH_DISPOSITION_UNSPECIFIED',\n INLINE: 'INLINE',\n EXTERNAL_LINKS: 'EXTERNAL_LINKS',\n} as const;\nexport type Disposition =\n | (typeof Disposition)[keyof typeof Disposition]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const Format = {\n FORMAT_UNSPECIFIED: 'FORMAT_UNSPECIFIED',\n JSON_ARRAY: 'JSON_ARRAY',\n ARROW_STREAM: 'ARROW_STREAM',\n CSV: 'CSV',\n} as const;\nexport type Format = (typeof Format)[keyof typeof Format] | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const ServiceErrorCode = {\n UNKNOWN: 'UNKNOWN',\n INTERNAL_ERROR: 'INTERNAL_ERROR',\n TEMPORARILY_UNAVAILABLE: 'TEMPORARILY_UNAVAILABLE',\n IO_ERROR: 'IO_ERROR',\n BAD_REQUEST: 'BAD_REQUEST',\n SERVICE_UNDER_MAINTENANCE: 'SERVICE_UNDER_MAINTENANCE',\n WORKSPACE_TEMPORARILY_UNAVAILABLE: 'WORKSPACE_TEMPORARILY_UNAVAILABLE',\n DEADLINE_EXCEEDED: 'DEADLINE_EXCEEDED',\n CANCELLED: 'CANCELLED',\n RESOURCE_EXHAUSTED: 'RESOURCE_EXHAUSTED',\n ABORTED: 'ABORTED',\n NOT_FOUND: 'NOT_FOUND',\n ALREADY_EXISTS: 'ALREADY_EXISTS',\n UNAUTHENTICATED: 'UNAUTHENTICATED',\n} as const;\nexport type ServiceErrorCode =\n | (typeof ServiceErrorCode)[keyof typeof ServiceErrorCode]\n | (string & {});\n\n/**\n * When `wait_timeout > 0s`, the call will block up to the specified time. If the statement execution doesn't\n * finish within this time, `on_wait_timeout` determines whether the execution should continue or be canceled.\n * When set to `CONTINUE`, the statement execution continues asynchronously and the call returns a statement ID\n * which can be used for polling with :method:statementexecution/getStatement. When set to `CANCEL`,\n * the statement execution is canceled and the call returns with a `CANCELED` state.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const TimeoutAction = {\n TIMEOUT_ACTION_UNSPECIFIED: 'TIMEOUT_ACTION_UNSPECIFIED',\n CONTINUE: 'CONTINUE',\n CANCEL: 'CANCEL',\n} as const;\nexport type TimeoutAction =\n | (typeof TimeoutAction)[keyof typeof TimeoutAction]\n | (string & {});\n\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.\nexport const StatementStatus_State = {\n STATE_UNSPECIFIED: 'STATE_UNSPECIFIED',\n PENDING: 'PENDING',\n RUNNING: 'RUNNING',\n SUCCEEDED: 'SUCCEEDED',\n FAILED: 'FAILED',\n CANCELED: 'CANCELED',\n CLOSED: 'CLOSED',\n} as const;\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.\nexport type StatementStatus_State =\n | (typeof StatementStatus_State)[keyof typeof StatementStatus_State]\n | (string & {});\n\nexport interface CancelStatementRequest {\n /**\n * The statement ID is returned upon successfully submitting a SQL statement, and is a required\n * reference for all subsequent calls.\n */\n statementId?: string | undefined;\n /** For warehouse statement URLs, this field contains the warehouse_id path parameter. */\n warehouseId?: string | undefined;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface CancelStatementResponse {}\n\nexport interface ChunkInfo {\n /** The position within the sequence of result set chunks. */\n chunkIndex?: number | undefined;\n /** The starting row offset within the result set. */\n rowOffset?: bigint | undefined;\n /** The number of rows within the result chunk. */\n rowCount?: bigint | undefined;\n /**\n * The number of bytes in the result chunk. This field is not available when using `INLINE`\n * disposition.\n */\n byteCount?: bigint | undefined;\n /**\n * When fetching, provides the `chunk_index` for the _next_ chunk. If absent, indicates there are no\n * more chunks. The next chunk can be fetched with a\n * :method:statementexecution/getstatementresultchunkn request.\n */\n nextChunkIndex?: number | undefined;\n /**\n * When fetching, provides a link to fetch the _next_ chunk. If absent, indicates there are no more\n * chunks. This link is an absolute `path` to be joined with your `$DATABRICKS_HOST`, and should be\n * treated as an opaque link. This is an alternative to using `next_chunk_index`.\n */\n nextChunkInternalLink?: string | undefined;\n}\n\nexport interface ColumnInfo {\n /** The name of the column. */\n name?: string | undefined;\n /** The full SQL type specification. */\n typeText?: string | undefined;\n /** The name of the base data type. This doesn't include details for complex types such as STRUCT, MAP or ARRAY. */\n typeName?: ColumnTypeName | undefined;\n /** The ordinal position of the column (starting at position 0). */\n position?: number | undefined;\n /** Specifies the number of digits in a number. This applies to the DECIMAL type. */\n typePrecision?: number | undefined;\n /** Specifies the number of digits to the right of the decimal point in a number. This applies to the DECIMAL type. */\n typeScale?: number | undefined;\n /** The format of the interval type. */\n typeIntervalType?: string | undefined;\n}\n\nexport interface ExecuteStatementRequest {\n /**\n * The SQL statement to execute. The statement can optionally be parameterized, see `parameters`.\n * The maximum query text size is 16 MiB.\n */\n statement?: string | undefined;\n /**\n * Warehouse upon which to execute a statement. See also\n * [What are SQL warehouses?](https://docs.databricks.com/sql/admin/warehouse-type.html)\n */\n warehouseId?: string | undefined;\n /**\n * Sets default catalog for statement execution, similar to\n * [`USE CATALOG`](https://docs.databricks.com/sql/language-manual/sql-ref-syntax-ddl-use-catalog.html)\n * in SQL.\n */\n catalog?: string | undefined;\n /**\n * Sets default schema for statement execution, similar to\n * [`USE SCHEMA`](https://docs.databricks.com/sql/language-manual/sql-ref-syntax-ddl-use-schema.html)\n * in SQL.\n */\n schema?: string | undefined;\n /**\n * Applies the given row limit to the statement's result set, but unlike the `LIMIT` clause in SQL,\n * it also sets the `truncated` field in the response to indicate whether the result was trimmed due to the limit or\n * not.\n */\n rowLimit?: bigint | undefined;\n /**\n * Applies the given byte limit to the statement's result size. Byte counts are based on internal data\n * representations and might not match the final size in the requested `format`. If the result was truncated due to\n * the byte limit, then `truncated` in the response is set to `true`.\n * When using `EXTERNAL_LINKS` disposition, a default `byte_limit` of 100 GiB is applied if `byte_limit` is not\n * explicitly set.\n */\n byteLimit?: bigint | undefined;\n /**\n * Statement execution supports three result formats: `JSON_ARRAY` (default), `ARROW_STREAM`, and `CSV`.\n *\n * Important: The formats `ARROW_STREAM` and `CSV` are supported only with `EXTERNAL_LINKS` disposition.\n * `JSON_ARRAY` is supported in `INLINE` and `EXTERNAL_LINKS` disposition.\n *\n * When specifying `format=JSON_ARRAY`, result data will be formatted as an array of arrays of values, where each\n * value is either the *string representation* of a value, or `null`.\n * For example, the output of `SELECT concat('id-', id) AS strCol, id AS intCol, null AS nullCol FROM range(3)` would\n * look like this:\n *\n * ```\n * [\n * [ \"id-1\", \"1\", null ],\n * [ \"id-2\", \"2\", null ],\n * [ \"id-3\", \"3\", null ],\n * ]\n * ```\n *\n * When specifying `format=JSON_ARRAY` and `disposition=EXTERNAL_LINKS`, each chunk in the result contains compact\n * JSON with no indentation or extra whitespace.\n *\n * When specifying `format=ARROW_STREAM` and `disposition=EXTERNAL_LINKS`, each chunk in the result will be formatted\n * as Apache Arrow Stream. See the\n * [Apache Arrow streaming format](https://arrow.apache.org/docs/format/Columnar.html#ipc-streaming-format).\n *\n * When specifying `format=CSV` and `disposition=EXTERNAL_LINKS`, each chunk in the result will be a CSV according to\n * [RFC 4180](https://www.rfc-editor.org/rfc/rfc4180) standard.\n * All the columns values will have *string representation* similar to the `JSON_ARRAY` format, and `null` values will\n * be encoded as “null”.\n * Only the first chunk in the result would contain a header row with column names.\n * For example, the output of `SELECT concat('id-', id) AS strCol, id AS intCol, null as nullCol FROM range(3)` would\n * look like this:\n *\n * ```\n * strCol,intCol,nullCol\n * id-1,1,null\n * id-2,2,null\n * id-3,3,null\n * ```\n */\n format?: Format | undefined;\n /**\n * The fetch disposition provides two modes of fetching results: `INLINE` and `EXTERNAL_LINKS`.\n *\n * Statements executed with `INLINE` disposition will return result data inline, in `JSON_ARRAY` format, in a series\n * of chunks. If a given statement produces a result set with a size larger than 25 MiB,\n * that statement execution is aborted, and no result set will be available.\n *\n * **NOTE**\n * Byte limits are computed based upon internal representations of the result set data, and might not match the sizes\n * visible in JSON responses.\n *\n * Statements executed with `EXTERNAL_LINKS` disposition will return result data as external links: URLs that point\n * to cloud storage internal to the workspace. Using `EXTERNAL_LINKS` disposition allows statements to generate\n * arbitrarily sized result sets for fetching up to 100 GiB. The resulting links have two important properties:\n *\n * 1. They point to resources _external_ to the <Databricks> compute; therefore any associated authentication\n * information (typically a personal access token, OAuth token, or similar) _must be removed_ when fetching from\n * these links.\n *\n * 2. These are short-lived cloud-storage URLs\n * with a specific expiration, indicated in the response. The behavior when attempting to use an expired link is\n * cloud specific.\n */\n disposition?: Disposition | undefined;\n /**\n * The time in seconds the call will wait for the statement's result set as `Ns`, where `N` can be set to 0 or to a\n * value between 5 and 50.\n *\n * When set to `0s`, the statement will execute in asynchronous mode and the call will not wait for the execution to\n * finish. In this case, the call returns directly with `PENDING` state and a statement ID which can be used for\n * polling with :method:statementexecution/getStatement.\n *\n * When set between 5 and 50 seconds, the call will behave synchronously up to this timeout and wait for the statement\n * execution to finish. If the execution finishes within this time, the call returns immediately with a manifest and\n * result data (or a `FAILED` state in case of an execution error). If the statement takes longer to execute,\n * `on_wait_timeout` determines what should happen after the timeout is reached.\n */\n waitTimeout?: string | undefined;\n /**\n * When `wait_timeout > 0s`, the call will block up to the specified time. If the statement execution doesn't\n * finish within this time, `on_wait_timeout` determines whether the execution should continue or be canceled.\n * When set to `CONTINUE`, the statement execution continues asynchronously and the call returns a statement ID\n * which can be used for polling with :method:statementexecution/getStatement. When set to `CANCEL`,\n * the statement execution is canceled and the call returns with a `CANCELED` state.\n */\n onWaitTimeout?: TimeoutAction | undefined;\n /**\n * A list of parameters to pass into a SQL statement containing parameter markers. A\n * parameter consists of a name, a value, and optionally a type. To represent a NULL\n * value, the `value` field may be omitted or set to `null` explicitly. If the `type` field\n * is omitted, the value is interpreted as a string.\n *\n * If the type is given, parameters will be checked for type correctness according\n * to the given type. A value is correct if the provided string can be converted to\n * the requested type using the `cast` function. The exact semantics are described in\n * the section [`cast` function](https://docs.databricks.com/sql/language-manual/functions/cast.html) of the SQL language reference.\n *\n * For example, the following statement contains two parameters, `my_name` and `my_date`:\n *\n * ```\n * SELECT * FROM my_table WHERE name = :my_name AND date = :my_date\n * ```\n *\n * The parameters can be passed in the request body as follows:\n *\n * `\n * {\n * ...,\n * \"statement\": \"SELECT * FROM my_table WHERE name = :my_name AND date = :my_date\",\n * \"parameters\": [\n * { \"name\": \"my_name\", \"value\": \"the name\" },\n * { \"name\": \"my_date\", \"value\": \"2020-01-01\", \"type\": \"DATE\" }\n * ]\n * }\n * `\n *\n * Currently, positional parameters denoted by a `?` marker are not supported by the\n * Databricks SQL Statement Execution API.\n *\n * Also see the section [Parameter markers](https://docs.databricks.com/sql/language-manual/sql-ref-parameter-marker.html) of the SQL language reference.\n */\n parameters?: StatementParameter[] | undefined;\n /**\n * An array of query tags to annotate a SQL statement. A query tag\n * consists of a non-empty key and, optionally, a value. To represent a NULL\n * value, either omit the `value` field or manually set it to `null` or white space.\n * Refer to the SQL language reference for the format specification of query tags.\n * There's no significance to the order of tags. Only one value per key will be recorded.\n * A sequence in excess of 20 query tags will be coerced to 20.\n * Example:\n *\n * {\n * ...,\n * \"query_tags\": [\n * { \"key\": \"team\", \"value\": \"eng\" },\n * { \"key\": \"some key only tag\" }\n * ]\n * }\n */\n queryTags?: QueryTag[] | undefined;\n}\n\nexport interface ExternalLink {\n /**\n * A short-lived cloud-storage URL pointing to a chunk of result data, hosted by an external service, with a short\n * expiration time (<= 15 minutes). As this URL contains a temporary credential, it should be considered sensitive\n * and the client should not expose this URL in a log.\n */\n externalLink?: string | undefined;\n /**\n * Indicates the date-time that the given external link will expire and\n * becomes invalid, after which point a new `external_link` must be requested.\n */\n expiration?: string | undefined;\n /**\n * HTTP headers that must be included with a GET request to the `external_link`.\n * Each header is provided as a key-value pair.\n * Headers are typically used to pass a decryption key to the external service.\n * The values of these headers should be considered sensitive and the client should not expose\n * these values in a log.\n */\n httpHeaders?: Record<string, string> | undefined;\n /** The position within the sequence of result set chunks. */\n chunkIndex?: number | undefined;\n /** The starting row offset within the result set. */\n rowOffset?: bigint | undefined;\n /** The number of rows within the result chunk. */\n rowCount?: bigint | undefined;\n /**\n * The number of bytes in the result chunk. This field is not available when using `INLINE`\n * disposition.\n */\n byteCount?: bigint | undefined;\n /**\n * When fetching, provides the `chunk_index` for the _next_ chunk. If absent, indicates there are no\n * more chunks. The next chunk can be fetched with a\n * :method:statementexecution/getstatementresultchunkn request.\n */\n nextChunkIndex?: number | undefined;\n /**\n * When fetching, provides a link to fetch the _next_ chunk. If absent, indicates there are no more\n * chunks. This link is an absolute `path` to be joined with your `$DATABRICKS_HOST`, and should be\n * treated as an opaque link. This is an alternative to using `next_chunk_index`.\n */\n nextChunkInternalLink?: string | undefined;\n}\n\nexport interface GetResultDataRequest {\n /**\n * The statement ID is returned upon successfully submitting a SQL statement, and is a required\n * reference for all subsequent calls.\n */\n statementId?: string | undefined;\n chunkIndex?: number | undefined;\n /** For warehouse statement URLs, this field contains the warehouse_id path parameter. */\n warehouseId?: string | undefined;\n}\n\nexport interface GetStatementResultRequest {\n /**\n * The statement ID is returned upon successfully submitting a SQL statement, and is a required\n * reference for all subsequent calls.\n */\n statementId?: string | undefined;\n /** For warehouse statement URLs, this field contains the warehouse_id path parameter. */\n warehouseId?: string | undefined;\n}\n\n/**\n * * A query execution can be annotated with an optional key-value pair to\n * allow users to attribute the executions by key and optional value to filter by.\n * QueryTag is the user-facing representation.\n */\nexport interface QueryTag {\n key?: string | undefined;\n value?: string | undefined;\n}\n\n/**\n * Contains the result data of a single chunk when using `INLINE` disposition. When using\n * `EXTERNAL_LINKS` disposition, the array `external_links` is used instead to provide\n * short-lived cloud-storage URLs to the result data\n * in cloud storage. Exactly one of these alternatives is used. (While the `external_links`\n * array prepares the API to return multiple links in a single response. Currently only a single\n * link is returned.)\n */\nexport interface ResultData {\n externalLinks?: ExternalLink[] | undefined;\n /**\n * The `JSON_ARRAY` format is an array of arrays of values, where each non-null value is\n * formatted as a string. Null values are encoded as JSON `null`.\n */\n dataArray?: JsonValue[][] | undefined;\n /** The position within the sequence of result set chunks. */\n chunkIndex?: number | undefined;\n /** The starting row offset within the result set. */\n rowOffset?: bigint | undefined;\n /** The number of rows within the result chunk. */\n rowCount?: bigint | undefined;\n /**\n * The number of bytes in the result chunk. This field is not available when using `INLINE`\n * disposition.\n */\n byteCount?: bigint | undefined;\n /**\n * When fetching, provides the `chunk_index` for the _next_ chunk. If absent, indicates there are no\n * more chunks. The next chunk can be fetched with a\n * :method:statementexecution/getstatementresultchunkn request.\n */\n nextChunkIndex?: number | undefined;\n /**\n * When fetching, provides a link to fetch the _next_ chunk. If absent, indicates there are no more\n * chunks. This link is an absolute `path` to be joined with your `$DATABRICKS_HOST`, and should be\n * treated as an opaque link. This is an alternative to using `next_chunk_index`.\n */\n nextChunkInternalLink?: string | undefined;\n}\n\n/** The result manifest provides schema and metadata for the result set. */\nexport interface ResultManifest {\n format?: Format | undefined;\n schema?: Schema | undefined;\n /** The total number of chunks that the result set has been divided into. */\n totalChunkCount?: number | undefined;\n /** Array of result set chunk metadata. */\n chunks?: ChunkInfo[] | undefined;\n /** The total number of rows in the result set. */\n totalRowCount?: bigint | undefined;\n /**\n * The total number of bytes in the result set. This field is not available when using `INLINE`\n * disposition.\n */\n totalByteCount?: bigint | undefined;\n /** Indicates whether the result is truncated due to `row_limit` or `byte_limit`. */\n truncated?: boolean | undefined;\n}\n\n/** The schema is an ordered list of column descriptions. */\nexport interface Schema {\n columnCount?: number | undefined;\n columns?: ColumnInfo[] | undefined;\n}\n\nexport interface ServiceError {\n errorCode?: ServiceErrorCode | undefined;\n /** A brief summary of the error condition. */\n message?: string | undefined;\n}\n\nexport interface StatementParameter {\n /** The name of a parameter marker to be substituted in the statement. */\n name?: string | undefined;\n /** The value to substitute, represented as a string. If omitted, the value is interpreted as NULL. */\n value?: string | undefined;\n /**\n * The data type, given as a string. For example: `INT`, `STRING`, `DECIMAL(10,2)`.\n * If no type is given the type is assumed to be `STRING`. Complex types, such as\n * `ARRAY`, `MAP`, and `STRUCT` are not supported. For valid types, refer to the\n * section [Data types](https://docs.databricks.com/sql/language-manual/functions/cast.html) of the SQL language reference.\n */\n type?: string | undefined;\n}\n\nexport interface StatementResponse {\n /**\n * The statement ID is returned upon successfully submitting a SQL statement, and is a required\n * reference for all subsequent calls.\n */\n statementId?: string | undefined;\n status?: StatementStatus | undefined;\n manifest?: ResultManifest | undefined;\n result?: ResultData | undefined;\n}\n\n/** The status response includes execution state and if relevant, error information. */\nexport interface StatementStatus {\n /**\n * Statement execution state:\n * - `PENDING`: waiting for warehouse\n * - `RUNNING`: running\n * - `SUCCEEDED`: execution was successful, result data available for fetch\n * - `FAILED`: execution failed; reason for failure described in accompanying error message\n * - `CANCELED`: user canceled; can come from explicit cancel call, or timeout with\n * `on_wait_timeout=CANCEL`\n * - `CLOSED`: execution successful, and statement closed; result no longer available for fetch\n */\n state?: StatementStatus_State | undefined;\n error?: ServiceError | undefined;\n /**\n * SQLSTATE error code returned when the statement execution fails.\n * Only populated when the statement status is `FAILED`.\n */\n sqlState?: string | undefined;\n}\n\nexport const unmarshalCancelStatementResponseSchema: z.ZodType<CancelStatementResponse> =\n z.object({});\n\nexport const unmarshalChunkInfoSchema: z.ZodType<ChunkInfo> = z\n .object({\n chunk_index: z.number().optional(),\n row_offset: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n row_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n byte_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n next_chunk_index: z.number().optional(),\n next_chunk_internal_link: z.string().optional(),\n })\n .transform(d => ({\n chunkIndex: d.chunk_index,\n rowOffset: d.row_offset,\n rowCount: d.row_count,\n byteCount: d.byte_count,\n nextChunkIndex: d.next_chunk_index,\n nextChunkInternalLink: d.next_chunk_internal_link,\n }));\n\nexport const unmarshalColumnInfoSchema: z.ZodType<ColumnInfo> = z\n .object({\n name: z.string().optional(),\n type_text: z.string().optional(),\n type_name: z.string().optional(),\n position: z.number().optional(),\n type_precision: z.number().optional(),\n type_scale: z.number().optional(),\n type_interval_type: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n typeText: d.type_text,\n typeName: d.type_name,\n position: d.position,\n typePrecision: d.type_precision,\n typeScale: d.type_scale,\n typeIntervalType: d.type_interval_type,\n }));\n\nexport const unmarshalExternalLinkSchema: z.ZodType<ExternalLink> = z\n .object({\n external_link: z.string().optional(),\n expiration: z.string().optional(),\n http_headers: z.record(z.string(), z.string()).optional(),\n chunk_index: z.number().optional(),\n row_offset: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n row_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n byte_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n next_chunk_index: z.number().optional(),\n next_chunk_internal_link: z.string().optional(),\n })\n .transform(d => ({\n externalLink: d.external_link,\n expiration: d.expiration,\n httpHeaders: d.http_headers,\n chunkIndex: d.chunk_index,\n rowOffset: d.row_offset,\n rowCount: d.row_count,\n byteCount: d.byte_count,\n nextChunkIndex: d.next_chunk_index,\n nextChunkInternalLink: d.next_chunk_internal_link,\n }));\n\nexport const unmarshalResultDataSchema: z.ZodType<ResultData> = z\n .object({\n external_links: z\n .array(z.lazy(() => unmarshalExternalLinkSchema))\n .optional(),\n data_array: z.array(z.array(jsonValueSchema)).optional(),\n chunk_index: z.number().optional(),\n row_offset: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n row_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n byte_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n next_chunk_index: z.number().optional(),\n next_chunk_internal_link: z.string().optional(),\n })\n .transform(d => ({\n externalLinks: d.external_links,\n dataArray: d.data_array,\n chunkIndex: d.chunk_index,\n rowOffset: d.row_offset,\n rowCount: d.row_count,\n byteCount: d.byte_count,\n nextChunkIndex: d.next_chunk_index,\n nextChunkInternalLink: d.next_chunk_internal_link,\n }));\n\nexport const unmarshalResultManifestSchema: z.ZodType<ResultManifest> = z\n .object({\n format: z.string().optional(),\n schema: z\n .lazy(() => unmarshalSchemaSchema)\n .nullish()\n .transform(v => v ?? undefined),\n total_chunk_count: z.number().optional(),\n chunks: z.array(z.lazy(() => unmarshalChunkInfoSchema)).optional(),\n total_row_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n total_byte_count: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n truncated: z.boolean().optional(),\n })\n .transform(d => ({\n format: d.format,\n schema: d.schema,\n totalChunkCount: d.total_chunk_count,\n chunks: d.chunks,\n totalRowCount: d.total_row_count,\n totalByteCount: d.total_byte_count,\n truncated: d.truncated,\n }));\n\nexport const unmarshalSchemaSchema: z.ZodType<Schema> = z\n .object({\n column_count: z.number().optional(),\n columns: z.array(z.lazy(() => unmarshalColumnInfoSchema)).optional(),\n })\n .transform(d => ({\n columnCount: d.column_count,\n columns: d.columns,\n }));\n\nexport const unmarshalServiceErrorSchema: z.ZodType<ServiceError> = z\n .object({\n error_code: z.string().optional(),\n message: z.string().optional(),\n })\n .transform(d => ({\n errorCode: d.error_code,\n message: d.message,\n }));\n\nexport const unmarshalStatementResponseSchema: z.ZodType<StatementResponse> = z\n .object({\n statement_id: z.string().optional(),\n status: z\n .lazy(() => unmarshalStatementStatusSchema)\n .nullish()\n .transform(v => v ?? undefined),\n manifest: z\n .lazy(() => unmarshalResultManifestSchema)\n .nullish()\n .transform(v => v ?? undefined),\n result: z\n .lazy(() => unmarshalResultDataSchema)\n .nullish()\n .transform(v => v ?? undefined),\n })\n .transform(d => ({\n statementId: d.statement_id,\n status: d.status,\n manifest: d.manifest,\n result: d.result,\n }));\n\nexport const unmarshalStatementStatusSchema: z.ZodType<StatementStatus> = z\n .object({\n state: z.string().optional(),\n error: z\n .lazy(() => unmarshalServiceErrorSchema)\n .nullish()\n .transform(v => v ?? undefined),\n sql_state: z.string().optional(),\n })\n .transform(d => ({\n state: d.state,\n error: d.error,\n sqlState: d.sql_state,\n }));\n\nexport const marshalCancelStatementRequestSchema: z.ZodType = z\n .object({\n statementId: z.string().optional(),\n warehouseId: z.string().optional(),\n })\n .transform(d => ({\n statement_id: d.statementId,\n warehouse_id: d.warehouseId,\n }));\n\nexport const marshalExecuteStatementRequestSchema: z.ZodType = z\n .object({\n statement: z.string().optional(),\n warehouseId: z.string().optional(),\n catalog: z.string().optional(),\n schema: z.string().optional(),\n rowLimit: z.bigint().optional(),\n byteLimit: z.bigint().optional(),\n format: z.string().optional(),\n disposition: z.string().optional(),\n waitTimeout: z.string().optional(),\n onWaitTimeout: z.string().optional(),\n parameters: z\n .array(z.lazy(() => marshalStatementParameterSchema))\n .optional(),\n queryTags: z.array(z.lazy(() => marshalQueryTagSchema)).optional(),\n })\n .transform(d => ({\n statement: d.statement,\n warehouse_id: d.warehouseId,\n catalog: d.catalog,\n schema: d.schema,\n row_limit: d.rowLimit,\n byte_limit: d.byteLimit,\n format: d.format,\n disposition: d.disposition,\n wait_timeout: d.waitTimeout,\n on_wait_timeout: d.onWaitTimeout,\n parameters: d.parameters,\n query_tags: d.queryTags,\n }));\n\nexport const marshalQueryTagSchema: z.ZodType = z\n .object({\n key: z.string().optional(),\n value: z.string().optional(),\n })\n .transform(d => ({\n key: d.key,\n value: d.value,\n }));\n\nexport const marshalStatementParameterSchema: z.ZodType = z\n .object({\n name: z.string().optional(),\n value: z.string().optional(),\n type: z.string().optional(),\n })\n .transform(d => ({\n name: d.name,\n value: d.value,\n type: d.type,\n }));\n"],"mappings":";;;AAKA,MAAM,kBAAwC,EAAE,WAC9C,EAAE,MAAM;CACN,EAAE,MAAM;CACR,EAAE,QAAQ;CACV,EAAE,QAAQ;CACV,EAAE,SAAS;CACX,EAAE,OAAO,EAAE,QAAQ,EAAE,gBAAgB;CACrC,EAAE,MAAM,gBAAgB;CACzB,CAAC,CACH;;AAID,MAAa,iBAAiB;CAC5B,SAAS;CACT,MAAM;CACN,OAAO;CACP,KAAK;CACL,MAAM;CACN,OAAO;CACP,QAAQ;CACR,MAAM;CACN,WAAW;CACX,QAAQ;CACR,QAAQ;CACR,SAAS;CACT,UAAU;CACV,OAAO;CACP,QAAQ;CACR,KAAK;CACL,MAAM;CACN,MAAM;CACN,mBAAmB;CACpB;AAMD,MAAa,cAAc;CACzB,+BAA+B;CAC/B,QAAQ;CAC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AAE;CACd,QAAQ,EAAE;CACV,aAAa,EAAE;CACf,cAAc,EAAE;CAChB,iBAAiB,EAAE;CACnB,YAAY,EAAE;CACd,YAAY,EAAE;CACf,EAAE;AAEL,MAAa,wBAAmC,EAC7C,OAAO;CACN,KAAK,EAAE,QAAQ,CAAC,UAAU;CAC1B,OAAO,EAAE,QAAQ,CAAC,UAAU;CAC7B,CAAC,CACD,WAAU,OAAM;CACf,KAAK,EAAE;CACP,OAAO,EAAE;CACV,EAAE;AAEL,MAAa,kCAA6C,EACvD,OAAO;CACN,MAAM,EAAE,QAAQ,CAAC,UAAU;CAC3B,OAAO,EAAE,QAAQ,CAAC,UAAU;CAC5B,MAAM,EAAE,QAAQ,CAAC,UAAU;CAC5B,CAAC,CACD,WAAU,OAAM;CACf,MAAM,EAAE;CACR,OAAO,EAAE;CACT,MAAM,EAAE;CACT,EAAE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@databricks/sdk-statementexecution",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.53.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"directory": "packages/statementexecution"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@databricks/sdk-auth": ">=0.
|
|
37
|
-
"@databricks/sdk-core": ">=0.
|
|
38
|
-
"@databricks/sdk-options": ">=0.
|
|
36
|
+
"@databricks/sdk-auth": ">=0.56.0 <1.0.0",
|
|
37
|
+
"@databricks/sdk-core": ">=0.52.0 <1.0.0",
|
|
38
|
+
"@databricks/sdk-options": ">=0.52.0 <1.0.0",
|
|
39
39
|
"@js-temporal/polyfill": "^0.5.0",
|
|
40
40
|
"json-bigint": "^1.0.0",
|
|
41
41
|
"zod": "^4.3.6"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
|
-
"node": "
|
|
44
|
+
"node": "^22.23.4 || ^24.22.1 || >=26.12.1"
|
|
45
45
|
}
|
|
46
46
|
}
|