Skip to content

Commit 2652444

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.296.1
1 parent cdb5a4e commit 2652444

12 files changed

+73
-31
lines changed

.speakeasy/gen.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ id: f42cb8e6-e2ce-4565-b975-5a9f38b94d5a
33
management:
44
docChecksum: 87bc58049cb5eb749a4d5719f0e44316
55
docVersion: 1.0.31
6-
speakeasyVersion: 1.295.2
7-
generationVersion: 2.335.5
8-
releaseVersion: 0.15.7
9-
configChecksum: 4e2cd666a9b44041c00cb3eefb2e0bf8
6+
speakeasyVersion: 1.296.1
7+
generationVersion: 2.338.1
8+
releaseVersion: 0.15.8
9+
configChecksum: d63068df578c2c9483ad2b97f25a39e6
1010
repoURL: https://github.com/Unstructured-IO/unstructured-js-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-js-client
@@ -15,7 +15,7 @@ features:
1515
typescript:
1616
additionalDependencies: 0.1.0
1717
constsAndDefaults: 0.1.5
18-
core: 3.9.6
18+
core: 3.9.9
1919
examples: 2.81.4
2020
globalSecurity: 2.82.9
2121
globalSecurityCallbacks: 0.1.0
@@ -40,7 +40,7 @@ generatedFiles:
4040
- src/lib/config.ts
4141
- src/lib/encodings.ts
4242
- src/lib/http.ts
43-
- src/lib/primitives.ts
43+
- src/lib/is-plain-object.ts
4444
- src/lib/retries.ts
4545
- src/lib/schemas.ts
4646
- src/lib/sdks.ts

.speakeasy/workflow.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.295.2
1+
speakeasyVersion: 1.296.1
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:d10f442ac184c28139f7d0b7c0ecbc505ea464f8125c3230981c878493e8337b
6-
sourceBlobDigest: sha256:b3eaee807e7e87309f22f15c4f1b25bd5d1811749459d501e88a300f76ec7265
5+
sourceRevisionDigest: sha256:d049b553fb6bef8ba474021bb00a2404ba184d882152139117f1eafeaf3bfa7f
6+
sourceBlobDigest: sha256:606454766ea262fea7639b385b009ae36e91b1033f02b9ef87c98d4fc905f169
77
tags:
88
- latest
99
- main
1010
targets:
1111
unstructed-typescript:
1212
source: my-source
1313
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:d10f442ac184c28139f7d0b7c0ecbc505ea464f8125c3230981c878493e8337b
15-
sourceBlobDigest: sha256:b3eaee807e7e87309f22f15c4f1b25bd5d1811749459d501e88a300f76ec7265
14+
sourceRevisionDigest: sha256:d049b553fb6bef8ba474021bb00a2404ba184d882152139117f1eafeaf3bfa7f
15+
sourceBlobDigest: sha256:606454766ea262fea7639b385b009ae36e91b1033f02b9ef87c98d4fc905f169
1616
outLocation: /github/workspace/repo
1717
workflow:
1818
workflowVersion: 1.0.0

RELEASES.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -442,4 +442,12 @@ Based on:
442442
- OpenAPI Doc
443443
- Speakeasy CLI 1.295.2 (2.335.5) https://github.com/speakeasy-api/speakeasy
444444
### Generated
445-
- [typescript v0.15.7] .
445+
- [typescript v0.15.7] .
446+
447+
## 2024-05-25 00:21:34
448+
### Changes
449+
Based on:
450+
- OpenAPI Doc
451+
- Speakeasy CLI 1.296.1 (2.338.1) https://github.com/speakeasy-api/speakeasy
452+
### Generated
453+
- [typescript v0.15.8] .

gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ generation:
1010
auth:
1111
oAuth2ClientCredentialsEnabled: false
1212
typescript:
13-
version: 0.15.7
13+
version: 0.15.8
1414
additionalDependencies:
1515
dependencies:
1616
async: ^3.2.5

jsr.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "unstructured-client",
5-
"version": "0.15.7",
5+
"version": "0.15.8",
66
"exports": {
77
".": "./src/index.ts",
88
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unstructured-client",
3-
"version": "0.15.7",
3+
"version": "0.15.8",
44
"author": "Unstructured",
55
"main": "./index.js",
66
"sideEffects": false,

src/lib/config.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
6161
export const SDK_METADATA = {
6262
language: "typescript",
6363
openapiDocVersion: "1.0.31",
64-
sdkVersion: "0.15.7",
65-
genVersion: "2.335.5",
66-
userAgent: "speakeasy-sdk/typescript 0.15.7 2.335.5 1.0.31 unstructured-client",
64+
sdkVersion: "0.15.8",
65+
genVersion: "2.338.1",
66+
userAgent: "speakeasy-sdk/typescript 0.15.8 2.338.1 1.0.31 unstructured-client",
6767
} as const;

src/lib/encodings.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
import { bytesToBase64 } from "./base64";
6-
import { isPlainObject } from "./primitives";
6+
import { isPlainObject } from "./is-plain-object";
77

88
export class EncodingError extends Error {
99
constructor(message: string) {

src/lib/http.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import { never as znever } from "zod";
66
import { parse } from "./schemas";
7-
import { isPlainObject } from "./primitives";
7+
import { isPlainObject } from "./is-plain-object";
88
import * as errors from "../sdk/models/errors";
99

1010
export type Fetcher = (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;

src/lib/is-plain-object.ts

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/*
2+
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
3+
*/
4+
5+
/*
6+
MIT License
7+
8+
Copyright (c) Sindre Sorhus <[email protected]> (https://sindresorhus.com)
9+
10+
Permission is hereby granted, free of charge, to any person obtaining a copy of
11+
this software and associated documentation files (the "Software"), to deal in
12+
the Software without restriction, including without limitation the rights to
13+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
14+
the Software, and to permit persons to whom the Software is furnished to do so,
15+
subject to the following conditions:
16+
17+
The above copyright notice and this permission notice shall be included in all
18+
copies or substantial portions of the Software.
19+
20+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
22+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
23+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
24+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
25+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26+
*/
27+
28+
// Taken from https://github.com/sindresorhus/is-plain-obj/blob/97f38e8836f86a642cce98fc6ab3058bc36df181/index.js
29+
30+
export function isPlainObject(value: unknown): value is object {
31+
if (typeof value !== "object" || value === null) {
32+
return false;
33+
}
34+
35+
const prototype = Object.getPrototypeOf(value);
36+
return (
37+
(prototype === null ||
38+
prototype === Object.prototype ||
39+
Object.getPrototypeOf(prototype) === null) &&
40+
!(Symbol.toStringTag in value) &&
41+
!(Symbol.iterator in value)
42+
);
43+
}

src/lib/primitives.ts

-9
This file was deleted.

0 commit comments

Comments
 (0)