Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stainless Bot committed May 16, 2024
1 parent 25c77f9 commit 0d2d105
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 19
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/toddlzt%2Ftoddlzt-2094de988d62bb95df480a11edef05210ac76bad4476318a74ebd32d612df88b.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/toddlzt%2Ftoddlzt-f0177db0b6324f53655f822042aab4713e7fe57f201b7dcfc4473491fd3fe474.yml
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as Errors from './error';
import { type Agent } from './_shims/index';
import * as Uploads from './uploads';
import * as qs from 'qs';
import * as API from 'retell-sdk/resources/index';
import * as API from './resources/index';
import * as Webhooks from 'retell-sdk/lib/webhook_auth';

export interface ClientOptions {
Expand Down
6 changes: 3 additions & 3 deletions src/resources/agent.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

import * as Core from 'retell-sdk/core';
import { APIResource } from 'retell-sdk/resource';
import * as AgentAPI from 'retell-sdk/resources/agent';
import * as Core from '../core';
import { APIResource } from '../resource';
import * as AgentAPI from './agent';

export class Agent extends APIResource {
/**
Expand Down
8 changes: 4 additions & 4 deletions src/resources/call.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

import * as Core from 'retell-sdk/core';
import { APIResource } from 'retell-sdk/resource';
import { isRequestOptions } from 'retell-sdk/core';
import * as CallAPI from 'retell-sdk/resources/call';
import * as Core from '../core';
import { APIResource } from '../resource';
import { isRequestOptions } from '../core';
import * as CallAPI from './call';

export class Call extends APIResource {
/**
Expand Down
12 changes: 6 additions & 6 deletions src/resources/llm.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

import * as Core from 'retell-sdk/core';
import { APIResource } from 'retell-sdk/resource';
import * as LlmAPI from 'retell-sdk/resources/llm';
import * as Core from '../core';
import { APIResource } from '../resource';
import * as LlmAPI from './llm';

export class Llm extends APIResource {
/**
Expand Down Expand Up @@ -104,7 +104,7 @@ export interface LlmResponse {
/**
* Select the underlying LLM. If not set, would default to gpt-3.5-turbo.
*/
model?: 'gpt-3.5-turbo' | 'gpt-4-turbo' | 'claude-3-sonnet' | 'claude-3-haiku';
model?: 'gpt-3.5-turbo' | 'gpt-4-turbo' | 'gpt-4o' | 'claude-3-sonnet' | 'claude-3-haiku';

/**
* Name of the starting state. Required if states is not empty.
Expand Down Expand Up @@ -657,7 +657,7 @@ export interface LlmCreateParams {
/**
* Select the underlying LLM. If not set, would default to gpt-3.5-turbo.
*/
model?: 'gpt-3.5-turbo' | 'gpt-4-turbo' | 'claude-3-sonnet' | 'claude-3-haiku';
model?: 'gpt-3.5-turbo' | 'gpt-4-turbo' | 'gpt-4o' | 'claude-3-sonnet' | 'claude-3-haiku';

/**
* Name of the starting state. Required if states is not empty.
Expand Down Expand Up @@ -1208,7 +1208,7 @@ export interface LlmUpdateParams {
/**
* Select the underlying LLM. If not set, would default to gpt-3.5-turbo.
*/
model?: 'gpt-3.5-turbo' | 'gpt-4-turbo' | 'claude-3-sonnet' | 'claude-3-haiku';
model?: 'gpt-3.5-turbo' | 'gpt-4-turbo' | 'gpt-4o' | 'claude-3-sonnet' | 'claude-3-haiku';

/**
* Name of the starting state. Required if states is not empty.
Expand Down
6 changes: 3 additions & 3 deletions src/resources/phone-number.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

import * as Core from 'retell-sdk/core';
import { APIResource } from 'retell-sdk/resource';
import * as PhoneNumberAPI from 'retell-sdk/resources/phone-number';
import * as Core from '../core';
import { APIResource } from '../resource';
import * as PhoneNumberAPI from './phone-number';

export class PhoneNumber extends APIResource {
/**
Expand Down

0 comments on commit 0d2d105

Please sign in to comment.