MeetingRouter

client

@meeting-baas/sdk - Client API & Bridge / client

client

Functions

createBaasClient()

Call Signature

createBaasClient(config): BaasClientV1Methods

Tree-shakeable client factory with type inference Creates a client object with only the methods you import TypeScript will infer available methods based on api_version

Parameters
ParameterType
configBaasClientConfigV1
Returns

BaasClientV1Methods

Call Signature

createBaasClient(config): BaasClientV2Methods

Tree-shakeable client factory with type inference Creates a client object with only the methods you import TypeScript will infer available methods based on api_version

Parameters
ParameterType
configBaasClientConfigV2
Returns

BaasClientV2Methods

Call Signature

createBaasClient(config): BaasClientVexaMethods

Tree-shakeable client factory with type inference Creates a client object with only the methods you import TypeScript will infer available methods based on api_version

Parameters
ParameterType
configBaasClientConfigVexa
Returns

BaasClientVexaMethods

Call Signature

createBaasClient(config): BaasClientV2Methods | BaasClientVexaMethods | BaasClientV1Methods

Tree-shakeable client factory with type inference Creates a client object with only the methods you import TypeScript will infer available methods based on api_version

Parameters
ParameterType
configBaasClientConfig
Returns

BaasClientV2Methods | BaasClientVexaMethods | BaasClientV1Methods

Type Aliases

BaasClient

BaasClient<V> = V extends "v1" ? BaasClientV1Methods : V extends "v2" ? BaasClientV2Methods : V extends "vexa" ? BaasClientVexaMethods : never

Conditional client type based on API version

Type Parameters

Type Parameter
V extends "v1" | "v2" | "vexa"

On this page