Skip to content

Commit e9458be

Browse files
SDK 1.13.7 Release (#1028)
* SDK regeneration * Update SDK from f0a5dda --------- Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: vellum-automation[bot] <vellum-automation[bot]@users.noreply.github.com>
1 parent abeab48 commit e9458be

File tree

51 files changed

+438
-235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+438
-235
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vellum-ai",
3-
"version": "1.13.6",
3+
"version": "1.13.7",
44
"private": false,
55
"repository": "https://github.com/vellum-ai/vellum-client-node",
66
"license": "MIT",

src/Client.ts

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@ export class VellumClient {
225225
: "2025-07-30",
226226
"X-Fern-Language": "JavaScript",
227227
"X-Fern-SDK-Name": "vellum-ai",
228-
"X-Fern-SDK-Version": "1.13.6",
229-
"User-Agent": "vellum-ai/1.13.6",
228+
"X-Fern-SDK-Version": "1.13.7",
229+
"User-Agent": "vellum-ai/1.13.7",
230230
"X-Fern-Runtime": core.RUNTIME.type,
231231
"X-Fern-Runtime-Version": core.RUNTIME.version,
232232
...(await this._getCustomAuthorizationHeaders()),
@@ -333,8 +333,8 @@ export class VellumClient {
333333
: "2025-07-30",
334334
"X-Fern-Language": "JavaScript",
335335
"X-Fern-SDK-Name": "vellum-ai",
336-
"X-Fern-SDK-Version": "1.13.6",
337-
"User-Agent": "vellum-ai/1.13.6",
336+
"X-Fern-SDK-Version": "1.13.7",
337+
"User-Agent": "vellum-ai/1.13.7",
338338
"X-Fern-Runtime": core.RUNTIME.type,
339339
"X-Fern-Runtime-Version": core.RUNTIME.version,
340340
...(await this._getCustomAuthorizationHeaders()),
@@ -441,8 +441,8 @@ export class VellumClient {
441441
: "2025-07-30",
442442
"X-Fern-Language": "JavaScript",
443443
"X-Fern-SDK-Name": "vellum-ai",
444-
"X-Fern-SDK-Version": "1.13.6",
445-
"User-Agent": "vellum-ai/1.13.6",
444+
"X-Fern-SDK-Version": "1.13.7",
445+
"User-Agent": "vellum-ai/1.13.7",
446446
"X-Fern-Runtime": core.RUNTIME.type,
447447
"X-Fern-Runtime-Version": core.RUNTIME.version,
448448
...(await this._getCustomAuthorizationHeaders()),
@@ -534,8 +534,8 @@ export class VellumClient {
534534
: "2025-07-30",
535535
"X-Fern-Language": "JavaScript",
536536
"X-Fern-SDK-Name": "vellum-ai",
537-
"X-Fern-SDK-Version": "1.13.6",
538-
"User-Agent": "vellum-ai/1.13.6",
537+
"X-Fern-SDK-Version": "1.13.7",
538+
"User-Agent": "vellum-ai/1.13.7",
539539
"X-Fern-Runtime": core.RUNTIME.type,
540540
"X-Fern-Runtime-Version": core.RUNTIME.version,
541541
...(await this._getCustomAuthorizationHeaders()),
@@ -658,8 +658,8 @@ export class VellumClient {
658658
: "2025-07-30",
659659
"X-Fern-Language": "JavaScript",
660660
"X-Fern-SDK-Name": "vellum-ai",
661-
"X-Fern-SDK-Version": "1.13.6",
662-
"User-Agent": "vellum-ai/1.13.6",
661+
"X-Fern-SDK-Version": "1.13.7",
662+
"User-Agent": "vellum-ai/1.13.7",
663663
"X-Fern-Runtime": core.RUNTIME.type,
664664
"X-Fern-Runtime-Version": core.RUNTIME.version,
665665
...(await this._getCustomAuthorizationHeaders()),
@@ -769,8 +769,8 @@ export class VellumClient {
769769
: "2025-07-30",
770770
"X-Fern-Language": "JavaScript",
771771
"X-Fern-SDK-Name": "vellum-ai",
772-
"X-Fern-SDK-Version": "1.13.6",
773-
"User-Agent": "vellum-ai/1.13.6",
772+
"X-Fern-SDK-Version": "1.13.7",
773+
"User-Agent": "vellum-ai/1.13.7",
774774
"X-Fern-Runtime": core.RUNTIME.type,
775775
"X-Fern-Runtime-Version": core.RUNTIME.version,
776776
...(await this._getCustomAuthorizationHeaders()),
@@ -860,8 +860,8 @@ export class VellumClient {
860860
: "2025-07-30",
861861
"X-Fern-Language": "JavaScript",
862862
"X-Fern-SDK-Name": "vellum-ai",
863-
"X-Fern-SDK-Version": "1.13.6",
864-
"User-Agent": "vellum-ai/1.13.6",
863+
"X-Fern-SDK-Version": "1.13.7",
864+
"User-Agent": "vellum-ai/1.13.7",
865865
"X-Fern-Runtime": core.RUNTIME.type,
866866
"X-Fern-Runtime-Version": core.RUNTIME.version,
867867
...(await this._getCustomAuthorizationHeaders()),
@@ -990,8 +990,8 @@ export class VellumClient {
990990
: "2025-07-30",
991991
"X-Fern-Language": "JavaScript",
992992
"X-Fern-SDK-Name": "vellum-ai",
993-
"X-Fern-SDK-Version": "1.13.6",
994-
"User-Agent": "vellum-ai/1.13.6",
993+
"X-Fern-SDK-Version": "1.13.7",
994+
"User-Agent": "vellum-ai/1.13.7",
995995
"X-Fern-Runtime": core.RUNTIME.type,
996996
"X-Fern-Runtime-Version": core.RUNTIME.version,
997997
...(await this._getCustomAuthorizationHeaders()),
@@ -1086,8 +1086,8 @@ export class VellumClient {
10861086
: "2025-07-30",
10871087
"X-Fern-Language": "JavaScript",
10881088
"X-Fern-SDK-Name": "vellum-ai",
1089-
"X-Fern-SDK-Version": "1.13.6",
1090-
"User-Agent": "vellum-ai/1.13.6",
1089+
"X-Fern-SDK-Version": "1.13.7",
1090+
"User-Agent": "vellum-ai/1.13.7",
10911091
"X-Fern-Runtime": core.RUNTIME.type,
10921092
"X-Fern-Runtime-Version": core.RUNTIME.version,
10931093
...(await this._getCustomAuthorizationHeaders()),
@@ -1202,8 +1202,8 @@ export class VellumClient {
12021202
: "2025-07-30",
12031203
"X-Fern-Language": "JavaScript",
12041204
"X-Fern-SDK-Name": "vellum-ai",
1205-
"X-Fern-SDK-Version": "1.13.6",
1206-
"User-Agent": "vellum-ai/1.13.6",
1205+
"X-Fern-SDK-Version": "1.13.7",
1206+
"User-Agent": "vellum-ai/1.13.7",
12071207
"X-Fern-Runtime": core.RUNTIME.type,
12081208
"X-Fern-Runtime-Version": core.RUNTIME.version,
12091209
...(await this._getCustomAuthorizationHeaders()),
@@ -1305,8 +1305,8 @@ export class VellumClient {
13051305
: "2025-07-30",
13061306
"X-Fern-Language": "JavaScript",
13071307
"X-Fern-SDK-Name": "vellum-ai",
1308-
"X-Fern-SDK-Version": "1.13.6",
1309-
"User-Agent": "vellum-ai/1.13.6",
1308+
"X-Fern-SDK-Version": "1.13.7",
1309+
"User-Agent": "vellum-ai/1.13.7",
13101310
"X-Fern-Runtime": core.RUNTIME.type,
13111311
"X-Fern-Runtime-Version": core.RUNTIME.version,
13121312
...(await this._getCustomAuthorizationHeaders()),
@@ -1404,8 +1404,8 @@ export class VellumClient {
14041404
: "2025-07-30",
14051405
"X-Fern-Language": "JavaScript",
14061406
"X-Fern-SDK-Name": "vellum-ai",
1407-
"X-Fern-SDK-Version": "1.13.6",
1408-
"User-Agent": "vellum-ai/1.13.6",
1407+
"X-Fern-SDK-Version": "1.13.7",
1408+
"User-Agent": "vellum-ai/1.13.7",
14091409
"X-Fern-Runtime": core.RUNTIME.type,
14101410
"X-Fern-Runtime-Version": core.RUNTIME.version,
14111411
...(await this._getCustomAuthorizationHeaders()),

src/api/errors/BadGatewayError.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* This file was auto-generated by Fern from our API Definition.
3+
*/
4+
5+
import * as errors from "../../errors/index";
6+
import * as core from "../../core";
7+
8+
export class BadGatewayError extends errors.VellumError {
9+
constructor(body: Record<string, unknown>, rawResponse?: core.RawResponse) {
10+
super({
11+
message: "BadGatewayError",
12+
statusCode: 502,
13+
body: body,
14+
rawResponse: rawResponse,
15+
});
16+
Object.setPrototypeOf(this, BadGatewayError.prototype);
17+
}
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* This file was auto-generated by Fern from our API Definition.
3+
*/
4+
5+
import * as errors from "../../errors/index";
6+
import * as core from "../../core";
7+
8+
export class ContentTooLargeError extends errors.VellumError {
9+
constructor(body: Record<string, unknown>, rawResponse?: core.RawResponse) {
10+
super({
11+
message: "ContentTooLargeError",
12+
statusCode: 413,
13+
body: body,
14+
rawResponse: rawResponse,
15+
});
16+
Object.setPrototypeOf(this, ContentTooLargeError.prototype);
17+
}
18+
}

src/api/errors/GoneError.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* This file was auto-generated by Fern from our API Definition.
3+
*/
4+
5+
import * as errors from "../../errors/index";
6+
import * as core from "../../core";
7+
8+
export class GoneError extends errors.VellumError {
9+
constructor(body: Record<string, unknown>, rawResponse?: core.RawResponse) {
10+
super({
11+
message: "GoneError",
12+
statusCode: 410,
13+
body: body,
14+
rawResponse: rawResponse,
15+
});
16+
Object.setPrototypeOf(this, GoneError.prototype);
17+
}
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* This file was auto-generated by Fern from our API Definition.
3+
*/
4+
5+
import * as errors from "../../errors/index";
6+
import * as core from "../../core";
7+
8+
export class ServiceUnavailableError extends errors.VellumError {
9+
constructor(body: Record<string, unknown>, rawResponse?: core.RawResponse) {
10+
super({
11+
message: "ServiceUnavailableError",
12+
statusCode: 503,
13+
body: body,
14+
rawResponse: rawResponse,
15+
});
16+
Object.setPrototypeOf(this, ServiceUnavailableError.prototype);
17+
}
18+
}

src/api/errors/UnauthorizedError.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
*/
44

55
import * as errors from "../../errors/index";
6-
import * as Vellum from "../index";
76
import * as core from "../../core";
87

98
export class UnauthorizedError extends errors.VellumError {
10-
constructor(body: Vellum.ErrorDetailResponse, rawResponse?: core.RawResponse) {
9+
constructor(body?: unknown, rawResponse?: core.RawResponse) {
1110
super({
1211
message: "UnauthorizedError",
1312
statusCode: 401,
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* This file was auto-generated by Fern from our API Definition.
3+
*/
4+
5+
import * as errors from "../../errors/index";
6+
import * as core from "../../core";
7+
8+
export class UnprocessableEntityError extends errors.VellumError {
9+
constructor(body: Record<string, unknown>, rawResponse?: core.RawResponse) {
10+
super({
11+
message: "UnprocessableEntityError",
12+
statusCode: 422,
13+
body: body,
14+
rawResponse: rawResponse,
15+
});
16+
Object.setPrototypeOf(this, UnprocessableEntityError.prototype);
17+
}
18+
}

src/api/errors/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
export * from "./NotFoundError";
22
export * from "./BadRequestError";
3+
export * from "./UnauthorizedError";
34
export * from "./ForbiddenError";
5+
export * from "./GoneError";
6+
export * from "./ContentTooLargeError";
7+
export * from "./UnprocessableEntityError";
48
export * from "./TooManyRequestsError";
5-
export * from "./UnauthorizedError";
9+
export * from "./BadGatewayError";
10+
export * from "./ServiceUnavailableError";
611
export * from "./InternalServerError";
712
export * from "./MisdirectedRequestError";

src/api/resources/adHoc/client/Client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ export class AdHoc {
104104
: "2025-07-30",
105105
"X-Fern-Language": "JavaScript",
106106
"X-Fern-SDK-Name": "vellum-ai",
107-
"X-Fern-SDK-Version": "1.13.6",
108-
"User-Agent": "vellum-ai/1.13.6",
107+
"X-Fern-SDK-Version": "1.13.7",
108+
"User-Agent": "vellum-ai/1.13.7",
109109
"X-Fern-Runtime": core.RUNTIME.type,
110110
"X-Fern-Runtime-Version": core.RUNTIME.version,
111111
...(await this._getCustomAuthorizationHeaders()),
@@ -192,8 +192,8 @@ export class AdHoc {
192192
: "2025-07-30",
193193
"X-Fern-Language": "JavaScript",
194194
"X-Fern-SDK-Name": "vellum-ai",
195-
"X-Fern-SDK-Version": "1.13.6",
196-
"User-Agent": "vellum-ai/1.13.6",
195+
"X-Fern-SDK-Version": "1.13.7",
196+
"User-Agent": "vellum-ai/1.13.7",
197197
"X-Fern-Runtime": core.RUNTIME.type,
198198
"X-Fern-Runtime-Version": core.RUNTIME.version,
199199
...(await this._getCustomAuthorizationHeaders()),

0 commit comments

Comments
 (0)