{"openapi":"3.1.0","info":{"title":"Mariana Tek API (Bowmark)","version":"e833508f87ff","description":"Mariana Tek studio booking (Barry's, Body Temp Yoga and other boutique fitness brands, one tenant per brand): find a studio, read its locations, class schedule, spot maps, pricing and private appointments, and (signed in) book, waitlist, pick a spot and cancel classes.\n\nEvery function Bowmark has for Mariana Tek (marianatek.com) as one HTTP call. Each runs on Bowmark's infrastructure with the same billing, rules and response envelope as `POST /v1/run`. The whole API: https://api.bowmark.ai/openapi.json. Guide: https://bowmark.ai/docs/api.","contact":{"email":"support@bowmark.ai","url":"https://bowmark.ai/docs/api"}},"servers":[{"url":"https://api.bowmark.ai"}],"security":[{"bearer":[]},{"apiKeyHeader":[]}],"paths":{"/v1/sites/marianatek/findStudio":{"post":{"operationId":"findStudio","summary":"Finds a Mariana Tek studio brand from what a caller holds — its tenant slug (\"bodytempyoga\"), a <slug>.marianatek.com or <slug>.marianaiframes.com URL, or the studio's own page that embeds the schedul","description":"Finds a Mariana Tek studio brand from what a caller holds — its tenant slug (\"bodytempyoga\"), a <slug>.marianatek.com or <slug>.marianaiframes.com URL, or the studio's own page that embeds the schedule (bodytempyoga.com/schedule) — and returns the tenant `slug` every other function takes, the brand name and website, logo and mark, whether booking-window opening times are public, and how many days ahead it books. An unknown slug THROWS rather than returning an empty studio. A custom front that never names its tenant (app.barrys.com serves Barry's off `barrysbootcamp` with no slug in its page) cannot be resolved from its URL — pass the slug.\n\nCalls `bowmark.providers.marianatek.findStudio`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekStudio>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekFindStudioArgs","description":"TypeScript: `marianatekFindStudioArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listRegions":{"post":{"operationId":"listRegions","summary":"Lists a tenant's regions (city or area groupings) with the locations in each — the region id listScheduleFilters and listClasses take.","description":"Lists a tenant's regions (city or area groupings) with the locations in each — the region id listScheduleFilters and listClasses take. Each location carries its id, name, address, phone, email, timezone and currency. Walks every page the site paginates over, so a large tenant (Barry's: 51 regions) returns them all in one call. An unknown tenant THROWS.\n\nCalls `bowmark.providers.marianatek.listRegions`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekRegion[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListRegionsArgs","description":"TypeScript: `marianatekListRegionsArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listLocations":{"post":{"operationId":"listLocations","summary":"Lists a tenant's bookable locations, flat — id, name, address, phone, email, timezone and currency, plus the id and name of the region each belongs to (what listRegions nests it under).","description":"Lists a tenant's bookable locations, flat — id, name, address, phone, email, timezone and currency, plus the id and name of the region each belongs to (what listRegions nests it under). Walks every page the site paginates over, so a large tenant (Barry's: 106 locations) returns them all in one call. An unknown tenant THROWS.\n\nCalls `bowmark.providers.marianatek.listLocations`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekLocation[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListLocationsArgs","description":"TypeScript: `marianatekListLocationsArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/getLocation":{"post":{"operationId":"getLocation","summary":"Returns one of a tenant's locations by id — the same address, phone, email, timezone and currency fields listLocations and listRegions return, plus the studio's own free-text description (often empty)","description":"Returns one of a tenant's locations by id — the same address, phone, email, timezone and currency fields listLocations and listRegions return, plus the studio's own free-text description (often empty). An unknown location id THROWS.\n\nCalls `bowmark.providers.marianatek.getLocation`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekLocationDetail>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekGetLocationArgs","description":"TypeScript: `marianatekGetLocationArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listScheduleFilters":{"post":{"operationId":"listScheduleFilters","summary":"Lists what a region's schedule can be filtered by — class types (with descriptions), instructors and classrooms, each with an id.","description":"Lists what a region's schedule can be filtered by — class types (with descriptions), instructors and classrooms, each with an id. An unknown region id THROWS.\n\nCalls `bowmark.providers.marianatek.listScheduleFilters`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekScheduleFilters>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListScheduleFiltersArgs","description":"TypeScript: `marianatekListScheduleFiltersArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listPricing":{"post":{"operationId":"listPricing","summary":"Lists what a location sells — intro offers, memberships and class packs from its buy page (`listings`), plus add-ons such as mat rentals from its separate add-ons page (`addOns`) — each with its price","description":"Lists what a location sells — intro offers, memberships and class packs from its buy page (`listings`), plus add-ons such as mat rentals from its separate add-ons page (`addOns`) — each with its price, banner terms, product type and the site's own named attributes (billing type, commitment length, expiration, …). Read only: buying is `buyPricingOption`. An unknown location id THROWS; a location with no add-ons page returns an empty `addOns` array.\n\nCalls `bowmark.providers.marianatek.listPricing`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekLocationPricing>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListPricingArgs","description":"TypeScript: `marianatekListPricingArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listAppointmentCategories":{"post":{"operationId":"listAppointmentCategories","summary":"Lists the kinds of private appointments a studio offers (e.g.","description":"Lists the kinds of private appointments a studio offers (e.g. \"Private Training\").\n\nCalls `bowmark.providers.marianatek.listAppointmentCategories`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekAppointmentCategory[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListAppointmentCategoriesArgs","description":"TypeScript: `marianatekListAppointmentCategoriesArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listAppointmentServices":{"post":{"operationId":"listAppointmentServices","summary":"Lists the private-appointment services a studio offers at a location (e.g.","description":"Lists the private-appointment services a studio offers at a location (e.g. a specific massage or coworking booth), with the instructors and rooms that can run each. An unrecognized location id answers an honest empty result rather than throwing — the site never 404s this route.\n\nCalls `bowmark.providers.marianatek.listAppointmentServices`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekAppointmentServiceFilters>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListAppointmentServicesArgs","description":"TypeScript: `marianatekListAppointmentServicesArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listAppointmentSlots":{"post":{"operationId":"listAppointmentSlots","summary":"One day entry per day in range, each with every appointment service (narrowed to serviceIds when given), its price and duration, and who can run it with their open time slots.","description":"One day entry per day in range, each with every appointment service (narrowed to serviceIds when given), its price and duration, and who can run it with their open time slots. The site refuses a window over 7 days in one call; a longer range is walked in 7-day chunks automatically, so the caller never has to. An unknown location id THROWS; a location with none of these services returns an honest empty list.\n\nCalls `bowmark.providers.marianatek.listAppointmentSlots`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekAppointmentSlotDay[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListAppointmentSlotsArgs","description":"TypeScript: `marianatekListAppointmentSlotsArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listClasses":{"post":{"operationId":"listClasses","summary":"Lists a tenant's class schedule between startDate and endDate (both required and inclusive, \"YYYY-MM-DD\" — the site answers its entire history when the range is left off), optionally narrowed to one o","description":"Lists a tenant's class schedule between startDate and endDate (both required and inclusive, \"YYYY-MM-DD\" — the site answers its entire history when the range is left off), optionally narrowed to one or more locationIds or one regionId. Each class carries its id, name, class type, start time, location, region, classroom, instructors, capacity, spots left, waitlist count, whether it is pick-a-spot (see listClassSpots) and whether it is cancelled. Walks every page the site paginates over, up to a 45s budget on an unnarrowed, large tenant — pass locationIds or regionId to see everything with no cut; a cut call returns the classes it reached plus a warning naming the pages it did not. An unknown tenant THROWS; a region or location id that matches nothing returns an empty, honest list.\n\nCalls `bowmark.providers.marianatek.listClasses`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekListClassesResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListClassesArgs","description":"TypeScript: `marianatekListClassesArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/getClass":{"post":{"operationId":"getClass","summary":"Returns one class by id — the same fields listClasses returns, plus when the booking window opens (bookingStartDateTime), whether the studio has lifted its late-cancel fee for it (lateCancelOverridden","description":"Returns one class by id — the same fields listClasses returns, plus when the booking window opens (bookingStartDateTime), whether the studio has lifted its late-cancel fee for it (lateCancelOverridden), and the per-tier spot counts (primary/secondary/standby/waitlist, each with availability and capacity) listClasses summarizes into a single spotsLeft. The pick-a-spot room map is listClassSpots, not this. An unknown class id THROWS.\n\nCalls `bowmark.providers.marianatek.getClass`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekClassDetail>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekGetClassArgs","description":"TypeScript: `marianatekGetClassArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listClassSpots":{"post":{"operationId":"listClassSpots","summary":"Lists the spots in a pick-a-spot class's room map — each with its id (the spot bookClass and changeSpot take), name, spot type and whether it is free — by position on the floor plan.","description":"Lists the spots in a pick-a-spot class's room map — each with its id (the spot bookClass and changeSpot take), name, spot type and whether it is free — by position on the floor plan. A class that is not pick-a-spot (isPickASpot false on getClass/listClasses) THROWS, as does an unknown class id.\n\nCalls `bowmark.providers.marianatek.listClassSpots`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekClassSpot[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListClassSpotsArgs","description":"TypeScript: `marianatekListClassSpotsArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/getMyAccount":{"post":{"operationId":"getMyAccount","summary":"The signed-in caller's own profile at a studio, returned raw — no fleet-held Mariana Tek session exists to capture a signed-in payload from and pin individual field names, so the shape is not parsed f","description":"The signed-in caller's own profile at a studio, returned raw — no fleet-held Mariana Tek session exists to capture a signed-in payload from and pin individual field names, so the shape is not parsed field-by-field. An authFunction: the caller signs in, Bowmark never does.\n\nCalls `bowmark.providers.marianatek.getMyAccount`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekMyAccount>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekGetMyAccountArgs","description":"TypeScript: `marianatekGetMyAccountArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listMyReservations":{"post":{"operationId":"listMyReservations","summary":"The signed-in caller's class reservations at a studio — upcoming, past or both (isUpcoming) — returned raw for the same reason as getMyAccount.","description":"The signed-in caller's class reservations at a studio — upcoming, past or both (isUpcoming) — returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.listMyReservations`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekMyReservations>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListMyReservationsArgs","description":"TypeScript: `marianatekListMyReservationsArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/getMyReservation":{"post":{"operationId":"getMyReservation","summary":"One of the signed-in caller's reservations by id (from listMyReservations), returned raw for the same reason as getMyAccount.","description":"One of the signed-in caller's reservations by id (from listMyReservations), returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.getMyReservation`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekMyReservation>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekGetMyReservationArgs","description":"TypeScript: `marianatekGetMyReservationArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listMyCredits":{"post":{"operationId":"listMyCredits","summary":"The signed-in caller's class-pack credits at a studio — active, expired/used or both (isActive) — returned raw for the same reason as getMyAccount.","description":"The signed-in caller's class-pack credits at a studio — active, expired/used or both (isActive) — returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.listMyCredits`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekMyCredits>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListMyCreditsArgs","description":"TypeScript: `marianatekListMyCreditsArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listMyMemberships":{"post":{"operationId":"listMyMemberships","summary":"The signed-in caller's memberships at a studio — active, expired/cancelled or both (isActive) — returned raw for the same reason as getMyAccount.","description":"The signed-in caller's memberships at a studio — active, expired/cancelled or both (isActive) — returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.listMyMemberships`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekMyMemberships>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListMyMembershipsArgs","description":"TypeScript: `marianatekListMyMembershipsArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listClassPaymentOptions":{"post":{"operationId":"listClassPaymentOptions","summary":"Which of the signed-in caller's own memberships and class credits can pay for one class — what bookClass spends.","description":"Which of the signed-in caller's own memberships and class credits can pay for one class — what bookClass spends. The site answers this 200 even logged out (with empty lists), but a caller session is still required here so an anonymous call cannot be mistaken for 'this caller has no usable passes'. Returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.listClassPaymentOptions`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekClassPaymentOptions>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListClassPaymentOptionsArgs","description":"TypeScript: `marianatekListClassPaymentOptionsArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/bookClass":{"post":{"operationId":"bookClass","summary":"Books the signed-in caller (or a guest they bring, via guestEmail) into a class, optionally on a chosen spot (spotId, from listClassSpots), paying with an existing membership or credit (paymentOptionI","description":"Books the signed-in caller (or a guest they bring, via guestEmail) into a class, optionally on a chosen spot (spotId, from listClassSpots), paying with an existing membership or credit (paymentOptionId, from listMyMemberships/listMyCredits/listClassPaymentOptions). Never buys a new pass or drop-in, so no money moves. Reached-and-refused only: no fleet-held Mariana Tek session exists to capture the signed-in success shape, so the result is returned raw. An authFunction.\n\nCalls `bowmark.providers.marianatek.bookClass`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekBookClassResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekBookClassArgs","description":"TypeScript: `marianatekBookClassArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/joinWaitlist":{"post":{"operationId":"joinWaitlist","summary":"Puts the signed-in caller (or a guest, via guestEmail) on the waitlist for a full class, spending an existing membership or credit (paymentOptionId) the same way bookClass does — same door (me/reserva","description":"Puts the signed-in caller (or a guest, via guestEmail) on the waitlist for a full class, spending an existing membership or credit (paymentOptionId) the same way bookClass does — same door (me/reservations), reservation_type 'waitlist' instead of 'class'. Reached-and-refused only, returned raw for the same reason as bookClass. An authFunction.\n\nCalls `bowmark.providers.marianatek.joinWaitlist`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekJoinWaitlistResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekJoinWaitlistArgs","description":"TypeScript: `marianatekJoinWaitlistArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/changeSpot":{"post":{"operationId":"changeSpot","summary":"Moves one of the signed-in caller's pick-a-spot reservations (reservationId, from listMyReservations) to another free spot (spotId, from listClassSpots) in the same class.","description":"Moves one of the signed-in caller's pick-a-spot reservations (reservationId, from listMyReservations) to another free spot (spotId, from listClassSpots) in the same class. Reached-and-refused only, returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.changeSpot`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekChangeSpotResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekChangeSpotArgs","description":"TypeScript: `marianatekChangeSpotArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/cancelReservation":{"post":{"operationId":"cancelReservation","summary":"Cancels one of the signed-in caller's reservations or waitlist spots (reservationId, from listMyReservations).","description":"Cancels one of the signed-in caller's reservations or waitlist spots (reservationId, from listMyReservations). Reads the studio's cancel penalty first and refuses to cancel unless acceptCancelPenalty is true or the penalty is zero, so a caller is never charged a late-cancel fee without asking for it. Both the penalty and the cancellation are returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.cancelReservation`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekCancelReservationResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekCancelReservationArgs","description":"TypeScript: `marianatekCancelReservationArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listMyOrders":{"post":{"operationId":"listMyOrders","summary":"The signed-in caller's purchase history at a studio — what was bought, when, for how much, and its status — returned raw for the same reason as getMyAccount.","description":"The signed-in caller's purchase history at a studio — what was bought, when, for how much, and its status — returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.listMyOrders`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekMyOrders>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListMyOrdersArgs","description":"TypeScript: `marianatekListMyOrdersArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listMyAppointments":{"post":{"operationId":"listMyAppointments","summary":"The signed-in caller's private appointment bookings at a studio — upcoming, past or both (isUpcoming) — returned raw for the same reason as getMyAccount.","description":"The signed-in caller's private appointment bookings at a studio — upcoming, past or both (isUpcoming) — returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.listMyAppointments`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekMyAppointments>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListMyAppointmentsArgs","description":"TypeScript: `marianatekListMyAppointmentsArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/bookAppointment":{"post":{"operationId":"bookAppointment","summary":"Books the signed-in caller into a private appointment slot from listAppointmentSlots (service, location, provider, date, time, timezone), paying with an existing payment method they already own (payme","description":"Books the signed-in caller into a private appointment slot from listAppointmentSlots (service, location, provider, date, time, timezone), paying with an existing payment method they already own (paymentMethod, paymentMethodId — from GET appointments/services/<serviceId>/payment_options). Never buys a new pass, so no money moves. Reached-and-refused only, returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.bookAppointment`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekBookAppointmentResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekBookAppointmentArgs","description":"TypeScript: `marianatekBookAppointmentArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listMyWaivers":{"post":{"operationId":"listMyWaivers","summary":"The waivers the signed-in caller has signed, or still has to sign, before they can book at a studio — filterable by hasUrl, isRequired and isSigned.","description":"The waivers the signed-in caller has signed, or still has to sign, before they can book at a studio — filterable by hasUrl, isRequired and isSigned. Returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.listMyWaivers`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekMyWaivers>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListMyWaiversArgs","description":"TypeScript: `marianatekListMyWaiversArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/listAppointmentPaymentOptions":{"post":{"operationId":"listAppointmentPaymentOptions","summary":"Which of the signed-in caller's own payment methods can pay for one private appointment service — what bookAppointment spends (paymentMethod, paymentMethodId).","description":"Which of the signed-in caller's own payment methods can pay for one private appointment service — what bookAppointment spends (paymentMethod, paymentMethodId). Unlike listClassPaymentOptions, the site refuses this door outright (403) when nobody is signed in. Returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.listAppointmentPaymentOptions`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekAppointmentPaymentOptions>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekListAppointmentPaymentOptionsArgs","description":"TypeScript: `marianatekListAppointmentPaymentOptionsArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/updateMyAccount":{"post":{"operationId":"updateMyAccount","summary":"Edits the signed-in caller's own profile at a studio — name, contact info, address, pronouns, emergency contact and marketing/SMS preferences.","description":"Edits the signed-in caller's own profile at a studio — name, contact info, address, pronouns, emergency contact and marketing/SMS preferences. Takes at least one field; the account is never read first, only patched. Reached-and-refused only, returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.updateMyAccount`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekMyAccount>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekUpdateMyAccountArgs","description":"TypeScript: `marianatekUpdateMyAccountArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/setProfileImage":{"post":{"operationId":"setProfileImage","summary":"Changes the signed-in caller's profile picture at a studio, from a URL serving the image directly.","description":"Changes the signed-in caller's profile picture at a studio, from a URL serving the image directly. Downloads it and re-uploads it as the site's documented multipart upload. Reached-and-refused only, returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.setProfileImage`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekSetProfileImageResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekSetProfileImageArgs","description":"TypeScript: `marianatekSetProfileImageArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/updateCommunicationPreferences":{"post":{"operationId":"updateCommunicationPreferences","summary":"Turns the signed-in customer's email or SMS marketing opt-in on or off at a studio.","description":"Turns the signed-in customer's email or SMS marketing opt-in on or off at a studio. Reached-and-refused only, returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.updateCommunicationPreferences`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekUpdateCommunicationPreferencesResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekUpdateCommunicationPreferencesArgs","description":"TypeScript: `marianatekUpdateCommunicationPreferencesArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/cancelMembership":{"post":{"operationId":"cancelMembership","summary":"Cancels one of the signed-in customer's memberships at a studio, with an optional reason from the studio's own list.","description":"Cancels one of the signed-in customer's memberships at a studio, with an optional reason from the studio's own list. Ends recurring access, so it refuses unless the caller passes confirm: true. Reached-and-refused only, returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.cancelMembership`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekCancelMembershipResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekCancelMembershipArgs","description":"TypeScript: `marianatekCancelMembershipArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/checkIn":{"post":{"operationId":"checkIn","summary":"Checks the signed-in customer in for a reservation they already hold (some studios validate check-in against a geo window on the class).","description":"Checks the signed-in customer in for a reservation they already hold (some studios validate check-in against a geo window on the class). Marks attendance only, never books or cancels anything. Reached-and-refused only, returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.checkIn`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekCheckInResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekCheckInArgs","description":"TypeScript: `marianatekCheckInArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/redeemGiftCard":{"post":{"operationId":"redeemGiftCard","summary":"Redeems a gift card by its own redemption code, adding its full value to the signed-in customer's account balance.","description":"Redeems a gift card by its own redemption code, adding its full value to the signed-in customer's account balance. Never spends anything. Reached-and-refused only, returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.redeemGiftCard`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekRedeemGiftCardResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekRedeemGiftCardArgs","description":"TypeScript: `marianatekRedeemGiftCardArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/getMyStats":{"post":{"operationId":"getMyStats","summary":"How many classes the signed-in customer has taken between startDate and endDate (both required, inclusive, \"YYYY-MM-DD\"), with whom, and the rest of the site's own metrics for that range — top instruc","description":"How many classes the signed-in customer has taken between startDate and endDate (both required, inclusive, \"YYYY-MM-DD\"), with whom, and the rest of the site's own metrics for that range — top instructors, favourite time of day, busiest weekday and month, longest weekly streak, total minutes, most recent completed challenge — plus lifetime achievements. Every field is returned raw. Reached-and-refused only, returned raw for the same reason as getMyAccount. An authFunction.\n\nCalls `bowmark.providers.marianatek.getMyStats`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<marianatekGetMyStatsResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/marianatekGetMyStatsArgs","description":"TypeScript: `marianatekGetMyStatsArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/signup":{"post":{"operationId":"signup","summary":"Makes a NEW Mariana Tek account with the person's own email and password, in a session.","description":"Makes a NEW Mariana Tek account with the person's own email and password, in a session. Pauses with `needs_code` / `needs_phone` whenever the site wants something only the person has; continue with `confirmSignup` in the same session. Ends `signed_up` with the login saved and the credentials in the person's secrets.\n\nCalls `bowmark.providers.marianatek.signup`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ status: \"needs_code\"; channel: \"email\" | \"sms\"; sentTo?: string } | { status: \"needs_phone\" } | { status: \"in_progress\"; retryAfterSeconds: number } | { status: \"signed_up\"; username: string; email: string; connection: string | null; twoFactor: \"enrolled\" | \"none\"; secrets: string[] }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"description":"TypeScript: `SignupInput`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/marianatek/confirmSignup":{"post":{"operationId":"confirmSignup","summary":"Continues the sign-up `signup` started in this session with the emailed or texted `code`, the email's verification `link`, or the person's `phone`.","description":"Continues the sign-up `signup` started in this session with the emailed or texted `code`, the email's verification `link`, or the person's `phone`.\n\nCalls `bowmark.providers.marianatek.confirmSignup`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ status: \"needs_code\"; channel: \"email\" | \"sms\"; sentTo?: string } | { status: \"needs_phone\" } | { status: \"in_progress\"; retryAfterSeconds: number } | { status: \"signed_up\"; username: string; email: string; connection: string | null; twoFactor: \"enrolled\" | \"none\"; secrets: string[] }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"description":"TypeScript: `SignupConfirmInput`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}}},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Your Bowmark API key."},"apiKeyHeader":{"type":"apiKey","in":"header","name":"X-Bowmark-Key"}},"responses":{"NotFound":{"description":"No such site or function.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}},"schemas":{"RunEnvelope":{"type":"object","description":"What a run returns. `status` says whether the SCRIPT succeeded. A script that threw or paused for a login is still HTTP 200. Branch on `status`, not on the HTTP code.","required":["ok","status","result","logs","error","ms"],"properties":{"runId":{"type":"string","description":"Stable id for this run. Quote it in a support or `report` message."},"ok":{"type":"boolean","description":"False only when the run produced nothing usable."},"status":{"type":"string","enum":["ok","error","partial","needs_user"],"description":"`partial`: the result is real but some calls failed (see `incomplete`); `ok` stays true. `needs_user`: a person must sign in to a site first. Relay `meta.handoff.url` to them, then run again."},"egress":{"type":"string","enum":["default","link"],"description":"The egress the run was given, present only when the request asked for one. `link`: every request went through the caller's own Chrome (Bowmark Buddy)."},"result":{"description":"Whatever the script `return`ed. Any JSON value."},"logs":{"type":"array","items":{"type":"string"},"description":"Lines the script wrote with `log(...)`."},"error":{"type":["string","null"],"description":"Why the run failed, in plain words. Null on success."},"ms":{"type":"integer","description":"How long the script itself ran, in milliseconds."},"queuedMs":{"type":"integer","description":"How long the run waited for a worker before starting. Present only when it was a second or more."},"needs":{"type":"array","description":"The sign-ins this script is waiting on. Present when `status` is `needs_user`.","items":{"type":"object","required":["capability","provider","providerTitle","kind"],"properties":{"capability":{"type":"string"},"provider":{"type":"string"},"providerTitle":{"type":"string","description":"The site's name, to show a person."},"kind":{"type":"string"}}}},"incomplete":{"type":"object","description":"Present only when `status` is `partial`: which calls did not answer.","properties":{"summary":{"type":"string"},"totalCalls":{"type":"integer"}},"additionalProperties":true},"emptyHanded":{"type":"object","description":"Present when the script returned nothing while its calls returned rows, usually a filter that matched none of the site's own labels. Lists the label values the calls actually returned.","additionalProperties":true},"notes":{"type":"array","description":"Caveats a call attached to a complete answer. Never changes `status`.","items":{"type":"object","properties":{"path":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}}}},"meta":{"type":"object","properties":{"handoff":{"type":"object","description":"A single-use sign-in link for a person to open. Expires at `expiresAt`.","properties":{"ref":{"type":"string"},"url":{"type":"string","format":"uri"},"expiresAt":{"type":"string","format":"date-time"}}},"concurrency":{"type":"object","description":"On a 429: how many runs are in flight and when to retry.","properties":{"limit":{"type":"integer"},"inFlight":{"type":"integer"},"retryAfterSeconds":{"type":"integer"}}}},"additionalProperties":true},"notice":{"type":"object","description":"Set when the account owner has not accepted the current Terms. Relay it to them.","additionalProperties":true}}},"marianatekBookAppointmentArgs":{"type":"object","properties":{"studio":{"type":"string"},"serviceId":{"type":"string"},"locationId":{"type":"string"},"providers":{"type":"array","items":{"$ref":"#/components/schemas/marianatekBookAppointmentProviderRef"}},"startDate":{"type":"string"},"startTime":{"type":"string"},"timezone":{"type":"string"},"paymentMethod":{"type":"string"},"paymentMethodId":{"type":"string"},"isGuest":{"type":"boolean"},"guestEmail":{"type":"string"}},"required":["studio","serviceId","locationId","providers","startDate","startTime","timezone","paymentMethod","paymentMethodId"],"additionalProperties":true},"marianatekBookAppointmentProviderRef":{"type":"object","properties":{"id":{"type":"string"},"type":{"anyOf":[{"const":"employee"},{"const":"classroom"}]}},"required":["id","type"],"additionalProperties":true},"marianatekBookClassArgs":{"type":"object","properties":{"studio":{"type":"string"},"classId":{"type":"string"},"paymentOptionId":{"type":"string"},"spotId":{"type":"string"},"isBookedForMe":{"type":"boolean"},"guestEmail":{"type":"string"}},"required":["studio","classId","paymentOptionId"],"additionalProperties":true},"marianatekCancelMembershipArgs":{"type":"object","properties":{"studio":{"type":"string"},"membershipId":{"type":"string"},"cancellationReason":{"type":"string"},"cancellationNote":{"type":"string"},"confirm":{"type":"boolean"}},"required":["studio","membershipId"],"additionalProperties":true},"marianatekCancelReservationArgs":{"type":"object","properties":{"studio":{"type":"string"},"reservationId":{"type":"string"},"acceptCancelPenalty":{"type":"boolean"}},"required":["studio","reservationId"],"additionalProperties":true},"marianatekChangeSpotArgs":{"type":"object","properties":{"studio":{"type":"string"},"reservationId":{"type":"string"},"spotId":{"type":"string"}},"required":["studio","reservationId","spotId"],"additionalProperties":true},"marianatekCheckInArgs":{"type":"object","properties":{"studio":{"type":"string"},"reservationId":{"type":"string"}},"required":["studio","reservationId"],"additionalProperties":true},"marianatekFindStudioArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"marianatekGetClassArgs":{"type":"object","properties":{"studio":{"type":"string"},"classId":{"type":"string"}},"required":["studio","classId"],"additionalProperties":true},"marianatekGetLocationArgs":{"type":"object","properties":{"studio":{"type":"string"},"locationId":{"type":"string"}},"required":["studio","locationId"],"additionalProperties":true},"marianatekGetMyAccountArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"marianatekGetMyReservationArgs":{"type":"object","properties":{"studio":{"type":"string"},"reservationId":{"type":"string"}},"required":["studio","reservationId"],"additionalProperties":true},"marianatekGetMyStatsArgs":{"type":"object","properties":{"studio":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"}},"required":["studio","startDate","endDate"],"additionalProperties":true},"marianatekJoinWaitlistArgs":{"type":"object","properties":{"studio":{"type":"string"},"classId":{"type":"string"},"paymentOptionId":{"type":"string"},"isBookedForMe":{"type":"boolean"},"guestEmail":{"type":"string"}},"required":["studio","classId","paymentOptionId"],"additionalProperties":true},"marianatekListAppointmentCategoriesArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"marianatekListAppointmentPaymentOptionsArgs":{"type":"object","properties":{"studio":{"type":"string"},"serviceId":{"type":"string"}},"required":["studio","serviceId"],"additionalProperties":true},"marianatekListAppointmentServicesArgs":{"type":"object","properties":{"studio":{"type":"string"},"locationId":{"type":"string"}},"required":["studio","locationId"],"additionalProperties":true},"marianatekListAppointmentSlotsArgs":{"type":"object","properties":{"studio":{"type":"string"},"locationId":{"type":"string"},"categoryId":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"serviceIds":{"type":"array","items":{"type":"string"}}},"required":["studio","locationId","categoryId","startDate","endDate"],"additionalProperties":true},"marianatekListClassPaymentOptionsArgs":{"type":"object","properties":{"studio":{"type":"string"},"classId":{"type":"string"}},"required":["studio","classId"],"additionalProperties":true},"marianatekListClassSpotsArgs":{"type":"object","properties":{"studio":{"type":"string"},"classId":{"type":"string"}},"required":["studio","classId"],"additionalProperties":true},"marianatekListClassesArgs":{"type":"object","properties":{"studio":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"locationIds":{"type":"array","items":{"type":"string"}},"regionId":{"type":"string"}},"required":["studio","startDate","endDate"],"additionalProperties":true},"marianatekListLocationsArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"marianatekListMyAppointmentsArgs":{"type":"object","properties":{"studio":{"type":"string"},"isUpcoming":{"type":"boolean"}},"required":["studio"],"additionalProperties":true},"marianatekListMyCreditsArgs":{"type":"object","properties":{"studio":{"type":"string"},"isActive":{"type":"boolean"}},"required":["studio"],"additionalProperties":true},"marianatekListMyMembershipsArgs":{"type":"object","properties":{"studio":{"type":"string"},"isActive":{"type":"boolean"}},"required":["studio"],"additionalProperties":true},"marianatekListMyOrdersArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"marianatekListMyReservationsArgs":{"type":"object","properties":{"studio":{"type":"string"},"isUpcoming":{"type":"boolean"}},"required":["studio"],"additionalProperties":true},"marianatekListMyWaiversArgs":{"type":"object","properties":{"studio":{"type":"string"},"hasUrl":{"type":"boolean"},"isRequired":{"type":"boolean"},"isSigned":{"type":"boolean"}},"required":["studio"],"additionalProperties":true},"marianatekListPricingArgs":{"type":"object","properties":{"studio":{"type":"string"},"locationId":{"type":"string"}},"required":["studio","locationId"],"additionalProperties":true},"marianatekListRegionsArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"marianatekListScheduleFiltersArgs":{"type":"object","properties":{"studio":{"type":"string"},"regionId":{"type":"string"}},"required":["studio","regionId"],"additionalProperties":true},"marianatekRedeemGiftCardArgs":{"type":"object","properties":{"studio":{"type":"string"},"redemptionCode":{"type":"string"}},"required":["studio","redemptionCode"],"additionalProperties":true},"marianatekSetProfileImageArgs":{"type":"object","properties":{"studio":{"type":"string"},"imageUrl":{"type":"string"}},"required":["studio","imageUrl"],"additionalProperties":true},"marianatekUpdateCommunicationPreferencesArgs":{"type":"object","properties":{"studio":{"type":"string"},"marketingType":{"anyOf":[{"const":"sms"},{"const":"email"}]},"optIn":{"type":"boolean"},"phoneNumber":{"type":"string"},"optInCopy":{"type":"string"}},"required":["studio","marketingType","optIn"],"additionalProperties":true},"marianatekUpdateMyAccountArgs":{"type":"object","properties":{"studio":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"phoneNumber":{"type":"string"},"pronouns":{"type":"string"},"birthDate":{"type":"string"},"gender":{"type":"string"},"addressLineOne":{"type":"string"},"addressLineTwo":{"type":"string"},"addressLineThree":{"type":"string"},"city":{"type":"string"},"stateProvince":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"},"companyName":{"type":"string"},"emergencyContactName":{"type":"string"},"emergencyContactPhone":{"type":"string"},"emergencyContactEmail":{"type":"string"},"emergencyContactRelationship":{"type":"string"},"isMarketingAllowed":{"type":"boolean"},"isOptedInToSms":{"type":"boolean"},"isOptedInToTransactionalSms":{"type":"boolean"}},"required":["studio"],"additionalProperties":true}}}}