Skip to content

ServerClientOptions

type ServerClientOptions = Required<Pick<AquienpzClientOptions, "endpoint" | "apiKey" | "tenantCode" | "tenantId">> & Pick<AquienpzClientOptions, "cdnBase" | "signingKey">;

Defined in: packages/sdk/src/server/index.ts:62

Server-side constructor options — apiKey is REQUIRED here. Use this type whenever you build a client behind a process boundary (Node, Bun, Cloud Run, Vercel Functions, edge runtimes, BFFs).

const aq = new AquienpzClient({ endpoint: process.env.ASSET_MANAGER_URL!, apiKey: process.env.ASSET_MANAGER_API_KEY!, tenantCode: “realtyone-cr”, tenantId: 1, });