Skip to content

@theatrical/sdk

The SDK is the foundation of the Theatrical toolkit. It provides a typed client for all Vista Group API resources, with automatic authentication, Zod runtime validation, and a typed error hierarchy.

Install

Terminal window
npm install @theatrical/sdk

Resources

ResourceMethods
client.sessionslist, listPaginated, listAll, get, availability
client.filmsnowShowing, comingSoon, get, getDetail, search, advancedSearch
client.siteslist, get, nearby, screens
client.orderscreate, get, addTickets, addItems, applyLoyalty, confirm, cancel, refund, complete, history
client.loyaltyauthenticate, getMember, getPointsBalance, getHistory, listRedemptionOptions, redeemPoints
client.subscriptionslistPlans, getMemberSubscription, getUsage, checkBenefitEligibility, suspend, cancel
client.pricingticketTypes, calculate, applyCoupons
client.fnbmenu, categories, itemDetail, combos, addToOrder

Full API reference

API reference pages are in progress. See the Quickstart for working examples.