Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: f42cb8e6-e2ce-4565-b975-5a9f38b94d5a
management:
docChecksum: a9cd06bdac5fb6851149f5b0e9776c5d
docVersion: 1.2.7
speakeasyVersion: 1.649.0
generationVersion: 2.739.1
releaseVersion: 0.29.0
configChecksum: a3da09b990d249ff9f5561aee1b535d2
docChecksum: 977565cbc407bbb9f442751a237b5f0a
docVersion: 1.2.10
speakeasyVersion: 1.656.2
generationVersion: 2.753.6
releaseVersion: 0.29.1
configChecksum: fd4b3da7ec98081721e05f14d2904fec
repoURL: https://github.com/Unstructured-IO/unstructured-js-client.git
repoSubDirectory: .
installationURL: https://github.com/Unstructured-IO/unstructured-js-client
Expand All @@ -16,7 +16,7 @@ features:
acceptHeaders: 2.81.2
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.12
core: 3.26.0
core: 3.26.6
defaultEnabledRetries: 0.1.0
enumUnions: 0.1.0
envVarSecurityUsage: 0.1.2
Expand Down Expand Up @@ -139,4 +139,3 @@ examples:
application/json: {"detail": "An error occurred"}
examplesVersion: 1.0.2
generatedTests: {}
releaseNotes: "## Typescript SDK Changes Detected:\n* `unstructured_client.general.partition()`: \n * `request.partitionParameters.doNotBreakSimilarityOnFooterHeader` **Added**\n"
16 changes: 8 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.649.0
speakeasyVersion: 1.656.2
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:6a1d1cac95c1b8f6ed4f055dffa907f1f96bf75b5d5bfa190f4a437048ef4865
sourceBlobDigest: sha256:e8c9fd0a7a559a840d32944c7eccb9fadbade798336b70ecd0d507e27e014d34
sourceRevisionDigest: sha256:7d9ebd7f9cc67f35397af568068c796fc20c935e029dbd0fd72d8af5cda68246
sourceBlobDigest: sha256:8f996e834b9acfe6684d9512a9f5c5a1e2859eeb6a6069d49f4860cc6ced6261
tags:
- latest
- speakeasy-sdk-regen-1761265716
- 1.2.7
- speakeasy-sdk-regen-1762993955
- 1.2.10
targets:
unstructed-typescript:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:6a1d1cac95c1b8f6ed4f055dffa907f1f96bf75b5d5bfa190f4a437048ef4865
sourceBlobDigest: sha256:e8c9fd0a7a559a840d32944c7eccb9fadbade798336b70ecd0d507e27e014d34
sourceRevisionDigest: sha256:7d9ebd7f9cc67f35397af568068c796fc20c935e029dbd0fd72d8af5cda68246
sourceBlobDigest: sha256:8f996e834b9acfe6684d9512a9f5c5a1e2859eeb6a6069d49f4860cc6ced6261
codeSamplesNamespace: my-source-typescript-code-samples
codeSamplesRevisionDigest: sha256:eb4fafeb42461e65141860fa0a1c8a24a89a9b8d13a43aea73f857cf2a51d7a6
codeSamplesRevisionDigest: sha256:1d693802df2a09ddd3b39ba2f5b1b008450975403724e73e3daef65c4f1da5bf
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -714,4 +714,14 @@ Based on:
### Generated
- [typescript v0.29.0] .
### Releases
- [NPM v0.29.0] https://www.npmjs.com/package/unstructured-client/v/0.29.0 - .
- [NPM v0.29.0] https://www.npmjs.com/package/unstructured-client/v/0.29.0 - .

## 2025-11-14 00:32:40
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.656.2 (2.753.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.29.1] .
### Releases
- [NPM v0.29.1] https://www.npmjs.com/package/unstructured-client/v/0.29.1 - .
2 changes: 1 addition & 1 deletion examples/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ generation:
hoistGlobalSecurity: true
schemas:
allOfMergeStrategy: shallowMerge
requestBodyFieldName: ""
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
typescript:
version: 0.29.0
version: 0.29.1
acceptHeaderEnum: true
additionalDependencies:
dependencies:
Expand All @@ -33,6 +34,7 @@ typescript:
peerDependencies: {}
additionalPackageJSON: {}
additionalScripts: {}
alwaysIncludeInboundAndOutbound: false
author: Unstructured
baseErrorName: UnstructuredClientError
clientServerStatusCodesAsErrors: true
Expand All @@ -42,6 +44,7 @@ typescript:
enableMCPServer: true
enableReactQuery: false
enumFormat: enum
exportZodModelNamespace: false
flattenGlobalSecurity: false
flatteningOrder: body-first
generateExamples: true
Expand All @@ -65,6 +68,7 @@ typescript:
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
unionStrategy: left-to-right
usageSDKInitImports: []
useIndexModules: true
zodVersion: v3
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "unstructured-client",
"version": "0.29.0",
"version": "0.29.1",
"exports": {
".": "./src/index.ts",
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unstructured-client",
"version": "0.29.0",
"version": "0.29.1",
"author": "Unstructured",
"type": "module",
"bin": {
Expand Down
8 changes: 4 additions & 4 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {

export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "1.2.7",
sdkVersion: "0.29.0",
genVersion: "2.739.1",
openapiDocVersion: "1.2.10",
sdkVersion: "0.29.1",
genVersion: "2.753.6",
userAgent:
"speakeasy-sdk/typescript 0.29.0 2.739.1 1.2.7 unstructured-client",
"speakeasy-sdk/typescript 0.29.1 2.753.6 1.2.10 unstructured-client",
} as const;
2 changes: 1 addition & 1 deletion src/mcp-server/mcp-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const routes = buildRouteMap({
export const app = buildApplication(routes, {
name: "mcp",
versionInfo: {
currentVersion: "0.29.0",
currentVersion: "0.29.1",
},
});

Expand Down
2 changes: 1 addition & 1 deletion src/mcp-server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function createMCPServer(deps: {
}) {
const server = new McpServer({
name: "UnstructuredClient",
version: "0.29.0",
version: "0.29.1",
});

const client = new UnstructuredClientCore({
Expand Down
28 changes: 0 additions & 28 deletions src/sdk/models/errors/httpvalidationerror.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export class HTTPValidationError extends UnstructuredClientError {
/** @internal */
export const Detail$inboundSchema: z.ZodType<Detail, z.ZodTypeDef, unknown> = z
.union([z.array(shared.ValidationError$inboundSchema), z.string()]);

/** @internal */
export type Detail$Outbound = Array<shared.ValidationError$Outbound> | string;

Expand All @@ -50,23 +49,9 @@ export const Detail$outboundSchema: z.ZodType<
unknown
> = z.union([z.array(shared.ValidationError$outboundSchema), z.string()]);

/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export namespace Detail$ {
/** @deprecated use `Detail$inboundSchema` instead. */
export const inboundSchema = Detail$inboundSchema;
/** @deprecated use `Detail$outboundSchema` instead. */
export const outboundSchema = Detail$outboundSchema;
/** @deprecated use `Detail$Outbound` instead. */
export type Outbound = Detail$Outbound;
}

export function detailToJSON(detail: Detail): string {
return JSON.stringify(Detail$outboundSchema.parse(detail));
}

export function detailFromJSON(
jsonString: string,
): SafeParseResult<Detail, SDKValidationError> {
Expand Down Expand Up @@ -115,16 +100,3 @@ export const HTTPValidationError$outboundSchema: z.ZodType<
z.string(),
]).optional(),
}));

/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export namespace HTTPValidationError$ {
/** @deprecated use `HTTPValidationError$inboundSchema` instead. */
export const inboundSchema = HTTPValidationError$inboundSchema;
/** @deprecated use `HTTPValidationError$outboundSchema` instead. */
export const outboundSchema = HTTPValidationError$outboundSchema;
/** @deprecated use `HTTPValidationError$Outbound` instead. */
export type Outbound = HTTPValidationError$Outbound;
}
13 changes: 0 additions & 13 deletions src/sdk/models/errors/servererror.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,3 @@ export const ServerError$outboundSchema: z.ZodType<
.pipe(z.object({
detail: z.string().optional(),
}));

/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export namespace ServerError$ {
/** @deprecated use `ServerError$inboundSchema` instead. */
export const inboundSchema = ServerError$inboundSchema;
/** @deprecated use `ServerError$outboundSchema` instead. */
export const outboundSchema = ServerError$outboundSchema;
/** @deprecated use `ServerError$Outbound` instead. */
export type Outbound = ServerError$Outbound;
}
30 changes: 0 additions & 30 deletions src/sdk/models/operations/partition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export const PartitionRequest$inboundSchema: z.ZodType<
"unstructured-api-key": "unstructuredApiKey",
});
});

/** @internal */
export type PartitionRequest$Outbound = {
partition_parameters: shared.PartitionParameters$Outbound;
Expand All @@ -52,27 +51,13 @@ export const PartitionRequest$outboundSchema: z.ZodType<
});
});

/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export namespace PartitionRequest$ {
/** @deprecated use `PartitionRequest$inboundSchema` instead. */
export const inboundSchema = PartitionRequest$inboundSchema;
/** @deprecated use `PartitionRequest$outboundSchema` instead. */
export const outboundSchema = PartitionRequest$outboundSchema;
/** @deprecated use `PartitionRequest$Outbound` instead. */
export type Outbound = PartitionRequest$Outbound;
}

export function partitionRequestToJSON(
partitionRequest: PartitionRequest,
): string {
return JSON.stringify(
PartitionRequest$outboundSchema.parse(partitionRequest),
);
}

export function partitionRequestFromJSON(
jsonString: string,
): SafeParseResult<PartitionRequest, SDKValidationError> {
Expand All @@ -89,7 +74,6 @@ export const PartitionResponse$inboundSchema: z.ZodType<
z.ZodTypeDef,
unknown
> = z.union([z.string(), z.array(z.record(z.any()))]);

/** @internal */
export type PartitionResponse$Outbound = string | Array<{ [k: string]: any }>;

Expand All @@ -100,27 +84,13 @@ export const PartitionResponse$outboundSchema: z.ZodType<
PartitionResponse
> = z.union([z.string(), z.array(z.record(z.any()))]);

/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export namespace PartitionResponse$ {
/** @deprecated use `PartitionResponse$inboundSchema` instead. */
export const inboundSchema = PartitionResponse$inboundSchema;
/** @deprecated use `PartitionResponse$outboundSchema` instead. */
export const outboundSchema = PartitionResponse$outboundSchema;
/** @deprecated use `PartitionResponse$Outbound` instead. */
export type Outbound = PartitionResponse$Outbound;
}

export function partitionResponseToJSON(
partitionResponse: PartitionResponse,
): string {
return JSON.stringify(
PartitionResponse$outboundSchema.parse(partitionResponse),
);
}

export function partitionResponseFromJSON(
jsonString: string,
): SafeParseResult<PartitionResponse, SDKValidationError> {
Expand Down
Loading