Skip to main content

TypeScript

TypeScript SDK

Type-safe SDK with full generics support and IntelliSense.

$npm install @appneural/sdk
Full TypeScript definitionsGeneric type parametersDiscriminated union error typesAuto-complete for all methodsCompile-time validationSource maps included

Code

Get started in minutes.

initialization.ts
import { AppneuralClient, type WorkflowRun, type AppConfig } from "@appneural/sdk";

const config: AppConfig = {
  apiKey: process.env.APPNEURAL_API_KEY!,
  environment: "production",
};

const client = new AppneuralClient(config);

Configuration

SDK options.

OptionTypeDescription
apiKeystringYour API key
environment'production' | 'sandbox'Target environment
timeoutnumberRequest timeout in ms
retriesnumberMax retry attempts

Best Practices

Recommended patterns.

Use strict mode in tsconfig.json
Leverage generic types for input/output
Use discriminated unions for error handling
Enable source maps for debugging

Enterprise Intelligence

Get started with TypeScript SDK.

Type-safe SDK with full generics support and IntelliSense.

Scope and availability confirmed individually · Written terms define the engagement