Skip to content
Try the demo

Three languages, the same capabilities

The BirAsistan SDKs for TypeScript, .NET and Python are generated from the OpenAPI contract and tested against the same fixed test data. Credentials are used on your server only. The overview is on the developers page.

SDK names

TypeScript, Node.js
@birasistan/sdk
.NET
BirAsistan.Sdk
Python
birasistan-sdk
Python, import
birasistan

Capability parity matrix

Each row is a capability and each column is an SDK. The rows follow the first-release scope in the SDK specification.

SDK capabilities by language
CapabilityTypeScript, Node.js.NETPython
RequestsTyped API client.HttpClient integration; async calls and cancellation support.Synchronous and asynchronous client.
PaginationA paged response means the same in all three languages. It stops on the last page.A paged response means the same in all three languages. It stops on the last page.A paged response means the same in all three languages. It stops on the last page.
RetriesGET and HEAD; 429 and transient 502 and 503. Bounded exponential backoff, Retry-After is honored.GET and HEAD; 429 and transient 502 and 503. Bounded exponential backoff, Retry-After is honored.GET and HEAD; 429 and transient 502 and 503. Bounded exponential backoff, Retry-After is honored.
IdempotencyRequest option: idempotencyKey. A POST is retried only with a protected key.IdempotencyKey inside RequestOptions. A POST is retried only with a protected key.The idempotency_key parameter. A POST is retried only with a protected key.
Webhook signature verificationWebhook verification. The helper that holds a secret is not included in code shipped to the browser.A webhook helper.A webhook helper.
TypesTyped requests and responses. Large integers and money values travel as strings.DTOs. Money values are represented as decimal.Typed data objects. Money values use Decimal; field names are snake_case while JSON fields stay camelCase.

This page does not claim that the SDK names are reserved or published in a registry, so it gives no install command.

First call and configuration

For the step-by-step flow, see the quickstart.

import { BirAsistanClient } from '@birasistan/sdk';const client = new BirAsistanClient({  baseUrl: process.env.BIRASISTAN_API_URL!,  credential: () => process.env.BIRASISTAN_API_KEY!,});const ticket = await client.tickets.create({  subject: 'Late order',  description: 'The customer asked for a call back.',  priority: 'high',  departmentId: departmentId,}, { idempotencyKey: persistedRequestKey });
Configuration
The client takes a base address, a credential function, a timeout, a user agent, retry settings and a telemetry callback. Point the base address at the test environment while you develop.
Per call
You can pass cancellation, idempotencyKey, ifMatch and a per-call timeout.
Key
If you give no key, the SDK does not retry a side-effecting request with random new keys. To resume after a process restart, your app stores the key.
Errors
All three SDKs carry the same error type: HTTP status, code, traceId, requestId, field errors and retryAfter. Decide on the code field, not on the message text.
Server side
The SDK is for server-side use. The key is never placed in a browser.

Version and compatibility policy

The API path version and change rules are on the REST API page.

SemVer
SDK versions follow SemVer: a change that breaks a method raises the major number, a bug fix raises the patch number.
Relation to the API
One SDK's move to a new API major version does not have to land on the same day as the others. A compatibility matrix is kept open.
Contract version
Each SDK carries the OpenAPI contract version it was generated from.
New fields
An older SDK tolerates a new field added to a response. Unknown constant values are kept as a readable raw value instead of crashing.
Release gate
SDK signing and provenance, an SBOM, dependency scanning and secret scanning are the release gate.

Without an SDK: plain REST

The starting languages are TypeScript, .NET and Python. Other languages connect over standard HTTP and OpenAPI.

Rules
Pagination, Idempotency-Key, ETag and the error format are the same on every endpoint; the REST API page covers them.
Webhook signature
You verify in your own language with HMAC-SHA256; the steps are on the webhooks page.
Errors
Error codes and retry behavior are on the error codes page.