Skip to content

Commit

Permalink
Release 0.0.39
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jan 20, 2024
1 parent d2563bc commit f36d2b2
Show file tree
Hide file tree
Showing 18 changed files with 78 additions and 44 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vocode/vocode-api",
"version": "0.0.38",
"version": "0.0.39",
"private": false,
"repository": "https://github.com/vocodedev/vocode-api-node",
"main": "./index.js",
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/accountConnections/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class AccountConnections {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -114,7 +114,7 @@ export class AccountConnections {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -179,7 +179,7 @@ export class AccountConnections {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
body: await serializers.AccountConnectionParamsRequest.jsonOrThrow(request, {
Expand Down Expand Up @@ -249,7 +249,7 @@ export class AccountConnections {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/actions/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class Actions {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -110,7 +110,7 @@ export class Actions {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -173,7 +173,7 @@ export class Actions {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
body: await serializers.ActionParamsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -239,7 +239,7 @@ export class Actions {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/agents/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class Agents {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -110,7 +110,7 @@ export class Agents {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -173,7 +173,7 @@ export class Agents {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
body: await serializers.AgentParams.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -239,7 +239,7 @@ export class Agents {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
10 changes: 5 additions & 5 deletions src/api/resources/calls/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class Calls {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -114,7 +114,7 @@ export class Calls {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -180,7 +180,7 @@ export class Calls {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -243,7 +243,7 @@ export class Calls {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
body: await serializers.CreateCallRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -306,7 +306,7 @@ export class Calls {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
queryParameters: _queryParams,
timeoutMs: 60000,
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/numbers/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class Numbers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -113,7 +113,7 @@ export class Numbers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -176,7 +176,7 @@ export class Numbers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
body: await serializers.BuyPhoneNumberRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -242,7 +242,7 @@ export class Numbers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -309,7 +309,7 @@ export class Numbers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -372,7 +372,7 @@ export class Numbers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
body: await serializers.LinkPhoneNumberRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import * as Vocode from "../../../..";
export interface UpdateNumberRequest {
phoneNumber: string;
outboundOnly?: Vocode.UpdateNumberRequestOutboundOnly;
exampleContext?: Vocode.UpdateNumberRequestExampleContext;
label?: Vocode.UpdateNumberRequestLabel;
inboundAgent?: Vocode.UpdateNumberRequestInboundAgent;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* This file was auto-generated by Fern from our API Definition.
*/

import * as Vocode from "../../..";

export type UpdateNumberRequestExampleContext = Record<string, string> | Vocode.Undefined;
1 change: 1 addition & 0 deletions src/api/resources/numbers/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from "./UpdateNumberRequestOutboundOnly";
export * from "./UpdateNumberRequestExampleContext";
export * from "./UpdateNumberRequestLabel";
export * from "./UpdateNumberRequestInboundAgent";
8 changes: 4 additions & 4 deletions src/api/resources/prompts/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class Prompts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -110,7 +110,7 @@ export class Prompts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -173,7 +173,7 @@ export class Prompts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
body: await serializers.PromptParams.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -239,7 +239,7 @@ export class Prompts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/usage/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class Usage {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/vectorDatabases/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class VectorDatabases {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -112,7 +112,7 @@ export class VectorDatabases {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -177,7 +177,7 @@ export class VectorDatabases {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
body: await serializers.PineconeVectorDatabaseParams.jsonOrThrow(request, {
Expand Down Expand Up @@ -247,7 +247,7 @@ export class VectorDatabases {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/voices/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class Voices {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -110,7 +110,7 @@ export class Voices {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -173,7 +173,7 @@ export class Voices {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
body: await serializers.VoiceParamsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -239,7 +239,7 @@ export class Voices {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/webhooks/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class Webhooks {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -110,7 +110,7 @@ export class Webhooks {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -173,7 +173,7 @@ export class Webhooks {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
body: await serializers.WebhookParams.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -239,7 +239,7 @@ export class Webhooks {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vocode/vocode-api",
"X-Fern-SDK-Version": "0.0.38",
"X-Fern-SDK-Version": "0.0.39",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
Loading

0 comments on commit f36d2b2

Please sign in to comment.