Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: VapiAI/server-sdk-go

Tags

v1.1.0

Toggle v1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add SubscriptionLimits field to Call type

Add a new optional `SubscriptionLimits` field to the `Call` struct that
captures the organization's subscription limits (including concurrency
limit information) at the time the call was made.

Key changes:
- Add `SubscriptionLimits *SubscriptionLimits` field to `Call` struct
- Add `GetSubscriptionLimits()` accessor method on `*Call`
- Add `SetSubscriptionLimits()` setter that marks the field as explicitly set
- Add `callFieldSubscriptionLimits` bitmask constant for field tracking

🌿 Generated with Fern

v1.0.0

Toggle v1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: refactor union types to use discriminated dispatch and add new …

…providers

Overhaul the assistant-related union types (AssistantCredentialsItem,
AssistantModel, AssistantTranscriber, AssistantVoice, and their
UpdateAssistantDto counterparts) to use a provider-discriminated pattern
instead of try-each untagged deserialization. All union struct fields are
renamed from verbose DTO names (e.g. CreateElevenLabsCredentialDto) to
short provider-keyed names (e.g. Field11Labs), and all Visitor interface
methods are renamed accordingly (e.g. VisitCreateElevenLabsCredentialDto
→ VisitField11Labs).

Key changes:
- All union types now expose a `Provider` string discriminant field and use
  `internal.MarshalJSONWithExtraProperty` for serialization, ensuring the
  provider tag is always present on the wire
- Renamed exported struct fields and Visitor methods across
  AssistantCredentialsItem, AssistantModel, AssistantTranscriber,
  AssistantVoice, UpdateAssistantDtoCredentialsItem,
  UpdateAssistantDtoModel, UpdateAssistantDtoTranscriber, and
  UpdateAssistantDtoVoice — existing callers must update field access and
  Visitor implementations
- New credential providers added: AnthropicBedrock, Soniox, Wellsaid,
  Email, SlackWebhook; new model providers: AnthropicBedrock, Minimax;
  new transcriber providers: Soniox; new voice providers: Wellsaid
- New enum constants AssistantClientMessagesItemAssistantSpeechStarted,
  AssistantServerMessagesItemAssistantSpeechStarted, and their
  UpdateAssistantDto counterparts
- SessionCreatedHook added to AssistantHooksItem and
  UpdateAssistantDtoHooksItem unions
- Metadata field type changed from map[string]interface{} to map[string]any
  (source-compatible in Go 1.18+)
- Nil-guard and String() nil checks added to Assistant methods
- UpdateAssistantDto gains explicit MarshalJSON/UnmarshalJSON methods

🌿 Generated with Fern

v0.10.1

Toggle v0.10.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
SDK regeneration

Unable to analyze changes with AI, incrementing PATCH version.

v0.10.0

Toggle v0.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release v0.10.0

v0.9.1

Toggle v0.9.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release v0.9.1

v0.9.0

Toggle v0.9.0's commit message
Release v0.9.0

v0.8.1

Toggle v0.8.1's commit message
Release v0.8.1

v0.8.0

Toggle v0.8.0's commit message
Release v0.8.0

v0.7.0

Toggle v0.7.0's commit message
Release v0.7.0

v0.6.6

Toggle v0.6.6's commit message
Release v0.6.6