@drttix/drt-sdk 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle/drt-sdk.js +1 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/src/definitions/portal.d.ts +2 -0
- package/dist/cjs/src/definitions/portal.js +6 -4
- package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/index.d.ts +4 -0
- package/dist/cjs/src/generated/portal/index.js +3 -1
- package/dist/cjs/src/generated/portal/models/BlockedSeatDetail.d.ts +9 -0
- package/dist/cjs/src/generated/portal/models/BlockedSeatDetail.js +2 -0
- package/dist/cjs/src/generated/portal/models/GetCssImageResponseDto.d.ts +5 -0
- package/dist/cjs/src/generated/portal/models/GetCssImageResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/GetCssResponseDto.d.ts +3 -0
- package/dist/cjs/src/generated/portal/models/GetCssResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/OrderDetail.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/OrderDetail.js +2 -0
- package/dist/cjs/src/generated/portal/models/StudentCreditBuyerResponseDto.d.ts +12 -0
- package/dist/cjs/src/generated/portal/models/StudentCreditBuyerResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/UpdateCssRequestDto.d.ts +3 -0
- package/dist/cjs/src/generated/portal/models/UpdateCssRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/services/SuperUserEditCssService.d.ts +32 -0
- package/dist/cjs/src/generated/portal/services/SuperUserEditCssService.js +59 -0
- package/dist/cjs/src/generated/portal/types.d.ts +3 -0
- package/dist/cjs/src/staging/index.d.ts +1 -0
- package/dist/cjs/src/staging/portal.d.ts +2 -0
- package/dist/cjs/src/staging/portal.js +6 -4
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/src/definitions/portal.d.ts +2 -0
- package/dist/esm/src/definitions/portal.js +2 -0
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/index.d.ts +4 -0
- package/dist/esm/src/generated/portal/index.js +1 -0
- package/dist/esm/src/generated/portal/models/BlockedSeatDetail.d.ts +9 -0
- package/dist/esm/src/generated/portal/models/BlockedSeatDetail.js +1 -0
- package/dist/esm/src/generated/portal/models/GetCssImageResponseDto.d.ts +5 -0
- package/dist/esm/src/generated/portal/models/GetCssImageResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/GetCssResponseDto.d.ts +3 -0
- package/dist/esm/src/generated/portal/models/GetCssResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/OrderDetail.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/OrderDetail.js +1 -0
- package/dist/esm/src/generated/portal/models/StudentCreditBuyerResponseDto.d.ts +12 -0
- package/dist/esm/src/generated/portal/models/StudentCreditBuyerResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/UpdateCssRequestDto.d.ts +3 -0
- package/dist/esm/src/generated/portal/models/UpdateCssRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/services/SuperUserEditCssService.d.ts +32 -0
- package/dist/esm/src/generated/portal/services/SuperUserEditCssService.js +55 -0
- package/dist/esm/src/generated/portal/types.d.ts +3 -0
- package/dist/esm/src/staging/index.d.ts +1 -0
- package/dist/esm/src/staging/portal.d.ts +2 -0
- package/dist/esm/src/staging/portal.js +2 -0
- package/package.json +3 -2
- package/src/definitions/portal.ts +2 -0
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/index.ts +4 -0
- package/src/generated/portal/models/GetCssImageResponseDto.ts +10 -0
- package/src/generated/portal/models/GetCssResponseDto.ts +8 -0
- package/src/generated/portal/models/UpdateCssRequestDto.ts +8 -0
- package/src/generated/portal/services/SuperUserEditCssService.ts +71 -0
- package/src/generated/portal/types.ts +3 -0
- package/src/staging/portal.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var H=class extends Error{constructor(e,t,a){super(a),this.name="ApiError",this.url=t.url,this.status=t.status,this.statusText=t.statusText,this.body=t.body,this.request=e}};var b=function(s,e,t,a,i){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?s!==e||!i:!e.has(s))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?i.call(s,t):i?i.value=t:e.set(s,t),t},m=function(s,e,t,a){if(t==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?s!==e||!a:!e.has(s))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?a:t==="a"?a.call(s):a?a.value:e.get(s)},j,C,I,D,$,z,B,Ke=class extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}},K=class{constructor(e){j.set(this,void 0),C.set(this,void 0),I.set(this,void 0),D.set(this,void 0),$.set(this,void 0),z.set(this,void 0),B.set(this,void 0),b(this,j,!1,"f"),b(this,C,!1,"f"),b(this,I,!1,"f"),b(this,D,[],"f"),b(this,$,new Promise((t,a)=>{b(this,z,t,"f"),b(this,B,a,"f");let i=n=>{m(this,j,"f")||m(this,C,"f")||m(this,I,"f")||(b(this,j,!0,"f"),m(this,z,"f")&&m(this,z,"f").call(this,n))},d=n=>{m(this,j,"f")||m(this,C,"f")||m(this,I,"f")||(b(this,C,!0,"f"),m(this,B,"f")&&m(this,B,"f").call(this,n))},c=n=>{m(this,j,"f")||m(this,C,"f")||m(this,I,"f")||m(this,D,"f").push(n)};return Object.defineProperty(c,"isResolved",{get:()=>m(this,j,"f")}),Object.defineProperty(c,"isRejected",{get:()=>m(this,C,"f")}),Object.defineProperty(c,"isCancelled",{get:()=>m(this,I,"f")}),e(i,d,c)}),"f")}get[(j=new WeakMap,C=new WeakMap,I=new WeakMap,D=new WeakMap,$=new WeakMap,z=new WeakMap,B=new WeakMap,Symbol.toStringTag)](){return"Cancellable Promise"}then(e,t){return m(this,$,"f").then(e,t)}catch(e){return m(this,$,"f").catch(e)}finally(e){return m(this,$,"f").finally(e)}cancel(){if(!(m(this,j,"f")||m(this,C,"f")||m(this,I,"f"))){if(b(this,I,!0,"f"),m(this,D,"f").length)try{for(let e of m(this,D,"f"))e()}catch(e){console.warn("Cancellation threw an error",e);return}m(this,D,"f").length=0,m(this,B,"f")&&m(this,B,"f").call(this,new Ke("Request aborted"))}}get isCancelled(){return m(this,I,"f")}};var u={BASE:"https://api.drttix.com/shopper",VERSION:"20260327.2",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0};var Xe=s=>s!=null,Y=s=>typeof s=="string",at=s=>Y(s)&&s!=="",dt=s=>typeof s=="object"&&typeof s.type=="string"&&typeof s.stream=="function"&&typeof s.arrayBuffer=="function"&&typeof s.constructor=="function"&&typeof s.constructor.name=="string"&&/^(Blob|File)$/.test(s.constructor.name)&&/^(Blob|File)$/.test(s[Symbol.toStringTag]),Tt=s=>s instanceof FormData,kt=s=>{try{return btoa(s)}catch{return Buffer.from(s).toString("base64")}},Rt=s=>{let e=[],t=(i,d)=>{e.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(d))}`)},a=(i,d)=>{Xe(d)&&(Array.isArray(d)?d.forEach(c=>{a(i,c)}):typeof d=="object"?Object.entries(d).forEach(([c,n])=>{a(`${i}[${c}]`,n)}):t(i,d))};return Object.entries(s).forEach(([i,d])=>{a(i,d)}),e.length>0?`?${e.join("&")}`:""},_t=(s,e)=>{let t=s.ENCODE_PATH||encodeURI,a=e.url.replace("{api-version}",s.VERSION).replace(/{(.*?)}/g,(d,c)=>{var n;return!((n=e.path)===null||n===void 0)&&n.hasOwnProperty(c)?t(String(e.path[c])):d}),i=`${s.BASE}${a}`;return e.query?`${i}${Rt(e.query)}`:i},At=s=>{if(s.formData){let e=new FormData,t=(a,i)=>{Y(i)||dt(i)?e.append(a,i):e.append(a,JSON.stringify(i))};return Object.entries(s.formData).filter(([a,i])=>Xe(i)).forEach(([a,i])=>{Array.isArray(i)?i.forEach(d=>t(a,d)):t(a,i)}),e}},Ye=async(s,e)=>typeof e=="function"?e(s):e,Dt=async(s,e)=>{let[t,a,i,d]=await Promise.all([Ye(e,s.TOKEN),Ye(e,s.USERNAME),Ye(e,s.PASSWORD),Ye(e,s.HEADERS)]),c=Object.fromEntries(Object.entries(e.headers||{}).filter(([p,h])=>Xe(h))),n=Object.entries(Object.assign(Object.assign({Accept:"application/json"},c),d)).filter(([p,h])=>Xe(h)).reduce((p,[h,S])=>Object.assign(Object.assign({},p),{[h]:String(S)}),{});if(at(t)&&(n.Authorization=`Bearer ${t}`),at(a)&&at(i)){let p=kt(`${a}:${i}`);n.Authorization=`Basic ${p}`}return e.body!==void 0&&(e.mediaType?n["Content-Type"]=e.mediaType:dt(e.body)?n["Content-Type"]=e.body.type||"application/octet-stream":Y(e.body)?n["Content-Type"]="text/plain":Tt(e.body)||(n["Content-Type"]="application/json")),new Headers(n)},Bt=s=>{var e;if(s.body!==void 0)return!((e=s.mediaType)===null||e===void 0)&&e.includes("/json")?JSON.stringify(s.body):Y(s.body)||dt(s.body)||Tt(s.body)?s.body:JSON.stringify(s.body)},Nt=async(s,e,t,a,i,d,c)=>{let n=new AbortController,p={headers:d,body:a??i,method:e.method,signal:n.signal};return s.WITH_CREDENTIALS&&(p.credentials=s.CREDENTIALS),c(()=>n.abort()),await fetch(t,p)},Ut=(s,e)=>{if(e){let t=s.headers.get(e);if(Y(t))return t}},Lt=async s=>{if(s.status!==204)try{let e=s.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(i=>e.toLowerCase().startsWith(i))?await s.json():await s.text()}catch(e){console.error(e)}},Ft=(s,e)=>{var t,a;let d=Object.assign({400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable"},s.errors)[e.status];if(d)throw new H(s,e,d);if(!e.ok){let c=(t=e.status)!==null&&t!==void 0?t:"unknown",n=(a=e.statusText)!==null&&a!==void 0?a:"unknown",p=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new H(s,e,`Generic Error: status: ${c}; status text: ${n}; body: ${p}`)}},it,l=(s,e)=>new K(async(t,a,i)=>{try{let d=_t(s,e),c=At(e),n=Bt(e),p=await Dt(s,e),h={};p.forEach((g,E)=>{h[E]=g}),it&&(h.Cookie=it);let S=new Headers(h);if(!i.isCancelled){let g=await Nt(s,e,d,n,c,S,i),E=g.headers.get("set-cookie");E&&(it=E);let Q=await Lt(g),w=Ut(g,e.responseHeader),A={url:d,ok:g.ok,status:g.status,statusText:g.statusText,body:w??Q};Ft(e,A),t(A.body)}}catch(d){a(d)}});var X=class{static getTheme(){return l(u,{method:"GET",url:"/theme",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getDisposition(){return l(u,{method:"GET",url:"/disposition",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getRoot(){return l(u,{method:"GET",url:"/root",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getLandingPage(){return l(u,{method:"GET",url:"/landing",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var Z=class{static getCart(){return l(u,{method:"GET",url:"/cart",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static deleteCart(){return l(u,{method:"DELETE",url:"/cart",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var ee=class{static getCheckout(){return l(u,{method:"GET",url:"/checkout",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static submitCheckout(e){return l(u,{method:"POST",url:"/checkout",body:e,mediaType:"application/json",errors:{400:"Returns validation error.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static saveNonce(e){return l(u,{method:"POST",url:"/checkout/nonce",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static clearNonce(){return l(u,{method:"DELETE",url:"/checkout/nonce",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static saveDetails(e){return l(u,{method:"POST",url:"/checkout/details",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var te=class{static requestEventAccess(e){return l(u,{method:"GET",url:"/code/access",query:{eventId:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static applyCode(e){return l(u,{method:"POST",url:"/code",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static applyCoupon(e){return l(u,{method:"POST",url:"/code/discount",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static removeCoupon(e){return l(u,{method:"DELETE",url:"/code/discount",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static applyPriorityCode(e){return l(u,{method:"POST",url:"/code/priority",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var re=class{static getDonations(){return l(u,{method:"GET",url:"/donation",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postDonation(e,t){return l(u,{method:"POST",url:"/donation",headers:{ipAddress:e},body:t,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var oe=class{static getEvents(){return l(u,{method:"GET",url:"/event",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getPerformers(e){return l(u,{method:"GET",url:"/event/performer",query:{performer:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getEventById(e){return l(u,{method:"GET",url:"/event/{id}",path:{id:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postWishlist(e){return l(u,{method:"POST",url:"/event/waitlist",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var se=class{static lookupGiftCard(e,t){return l(u,{method:"GET",url:"/gift-card",query:{code:e,pin:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static applyGiftCard(e){return l(u,{method:"POST",url:"/gift-card",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static removeGiftCard(){return l(u,{method:"DELETE",url:"/gift-card",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getGiftCardCheckoutInfo(){return l(u,{method:"GET",url:"/gift-card/checkout",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getGiftCardEditForm(){return l(u,{method:"GET",url:"/gift-card/edit",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var ae=class{static getReceipt(e){return l(u,{method:"GET",url:"/order/receipt",query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getGwalletLink(e){return l(u,{method:"GET",url:"/order/gwallet",query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getTestingGuid(e){return l(u,{method:"GET",url:"/order/testing",query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getAssignNames(e){return l(u,{method:"GET",url:"/order/assign-names",query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postAssignNames(e,t){return l(u,{method:"POST",url:"/order/assign-names",query:{guid:e},body:t,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postEmailTickets(e,t){return l(u,{method:"POST",url:"/order/email-tickets",query:{guid:e},body:t,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getTicketBlock(e){return l(u,{method:"GET",url:"/order/pickup",query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postPickup(e){return l(u,{method:"POST",url:"/order/pickup",query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postEmailReceipt(e){return l(u,{method:"POST",url:"/order/email-receipt",query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getRefundRequest(e){return l(u,{method:"GET",url:"/order/refund-request",query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postRefundRequest(e,t){return l(u,{method:"POST",url:"/order/refund-request",query:{guid:e},body:t,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postRecalcOrder(e,t){return l(u,{method:"POST",url:"/order/recalc",query:{guid:e},body:t,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postRegisterStream(e){return l(u,{method:"POST",url:"/order/stream-register",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static deleteRegisteredStream(e){return l(u,{method:"DELETE",url:"/order/stream-register",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var ie=class{static summarizePayment(e){return l(u,{method:"POST",url:"/payment/summary",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static completePayment(e){return l(u,{method:"POST",url:"/payment/complete",body:e,mediaType:"application/json",errors:{400:"Returns the result of the payment failure.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static createCustomerSession(){return l(u,{method:"POST",url:"/payment/customer",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var de=class{static getProducts(){return l(u,{method:"GET",url:"/product",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static addProduct(e){return l(u,{method:"POST",url:"/product",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static deleteProduct(e){return l(u,{method:"DELETE",url:"/product",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var ne=class{static health(){return l(u,{method:"GET",url:"/seat/health",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static holdReservedSeat(e){return l(u,{method:"POST",url:"/seat/hold-reserved",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static holdGaSeat(e){return l(u,{method:"POST",url:"/seat/hold-ga",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static holdBaSeat(e){return l(u,{method:"POST",url:"/seat/hold-ba",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static releaseReservedSeat(e){return l(u,{method:"DELETE",url:"/seat/release-reserved",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static releaseGaSeat(e){return l(u,{method:"DELETE",url:"/seat/release-ga",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static updateTier(e){return l(u,{method:"POST",url:"/seat/update-tier",body:e,mediaType:"application/json",errors:{400:"Failed to update the tier information.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var ue=class{static createSession(e){return l(u,{method:"POST",url:"/session",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getSessions(){return l(u,{method:"GET",url:"/session",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getHeartbeat(){return l(u,{method:"GET",url:"/session/heartbeat",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var gt={};var xt={account:X,cart:Z,checkout:ee,code:te,donation:re,event:oe,giftcard:se,order:ae,payment:ie,product:de,seat:ne,session:ue};var W=class extends Error{constructor(e,t,a){super(a),this.name="ApiError",this.url=t.url,this.status=t.status,this.statusText=t.statusText,this.body=t.body,this.request=e}};var P=function(s,e,t,a,i){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?s!==e||!i:!e.has(s))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?i.call(s,t):i?i.value=t:e.set(s,t),t},f=function(s,e,t,a){if(t==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?s!==e||!a:!e.has(s))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?a:t==="a"?a.call(s):a?a.value:e.get(s)},G,k,v,N,M,le,U,Ze=class extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}},ce=class{constructor(e){G.set(this,void 0),k.set(this,void 0),v.set(this,void 0),N.set(this,void 0),M.set(this,void 0),le.set(this,void 0),U.set(this,void 0),P(this,G,!1,"f"),P(this,k,!1,"f"),P(this,v,!1,"f"),P(this,N,[],"f"),P(this,M,new Promise((t,a)=>{P(this,le,t,"f"),P(this,U,a,"f");let i=n=>{f(this,G,"f")||f(this,k,"f")||f(this,v,"f")||(P(this,G,!0,"f"),f(this,le,"f")&&f(this,le,"f").call(this,n))},d=n=>{f(this,G,"f")||f(this,k,"f")||f(this,v,"f")||(P(this,k,!0,"f"),f(this,U,"f")&&f(this,U,"f").call(this,n))},c=n=>{f(this,G,"f")||f(this,k,"f")||f(this,v,"f")||f(this,N,"f").push(n)};return Object.defineProperty(c,"isResolved",{get:()=>f(this,G,"f")}),Object.defineProperty(c,"isRejected",{get:()=>f(this,k,"f")}),Object.defineProperty(c,"isCancelled",{get:()=>f(this,v,"f")}),e(i,d,c)}),"f")}get[(G=new WeakMap,k=new WeakMap,v=new WeakMap,N=new WeakMap,M=new WeakMap,le=new WeakMap,U=new WeakMap,Symbol.toStringTag)](){return"Cancellable Promise"}then(e,t){return f(this,M,"f").then(e,t)}catch(e){return f(this,M,"f").catch(e)}finally(e){return f(this,M,"f").finally(e)}cancel(){if(!(f(this,G,"f")||f(this,k,"f")||f(this,v,"f"))){if(P(this,v,!0,"f"),f(this,N,"f").length)try{for(let e of f(this,N,"f"))e()}catch(e){console.warn("Cancellation threw an error",e);return}f(this,N,"f").length=0,f(this,U,"f")&&f(this,U,"f").call(this,new Ze("Request aborted"))}}get isCancelled(){return f(this,v,"f")}};var T={BASE:"https://api.drttix.com/scanner-v3",VERSION:"20260307.1",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0};var tt=s=>s!=null,pe=s=>typeof s=="string",nt=s=>pe(s)&&s!=="",lt=s=>typeof s=="object"&&typeof s.type=="string"&&typeof s.stream=="function"&&typeof s.arrayBuffer=="function"&&typeof s.constructor=="function"&&typeof s.constructor.name=="string"&&/^(Blob|File)$/.test(s.constructor.name)&&/^(Blob|File)$/.test(s[Symbol.toStringTag]),Et=s=>s instanceof FormData,Ht=s=>{try{return btoa(s)}catch{return Buffer.from(s).toString("base64")}},$t=s=>{let e=[],t=(i,d)=>{e.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(d))}`)},a=(i,d)=>{tt(d)&&(Array.isArray(d)?d.forEach(c=>{a(i,c)}):typeof d=="object"?Object.entries(d).forEach(([c,n])=>{a(`${i}[${c}]`,n)}):t(i,d))};return Object.entries(s).forEach(([i,d])=>{a(i,d)}),e.length>0?`?${e.join("&")}`:""},Wt=(s,e)=>{let t=s.ENCODE_PATH||encodeURI,a=e.url.replace("{api-version}",s.VERSION).replace(/{(.*?)}/g,(d,c)=>{var n;return!((n=e.path)===null||n===void 0)&&n.hasOwnProperty(c)?t(String(e.path[c])):d}),i=`${s.BASE}${a}`;return e.query?`${i}${$t(e.query)}`:i},Mt=s=>{if(s.formData){let e=new FormData,t=(a,i)=>{pe(i)||lt(i)?e.append(a,i):e.append(a,JSON.stringify(i))};return Object.entries(s.formData).filter(([a,i])=>tt(i)).forEach(([a,i])=>{Array.isArray(i)?i.forEach(d=>t(a,d)):t(a,i)}),e}},et=async(s,e)=>typeof e=="function"?e(s):e,Jt=async(s,e)=>{let[t,a,i,d]=await Promise.all([et(e,s.TOKEN),et(e,s.USERNAME),et(e,s.PASSWORD),et(e,s.HEADERS)]),c=Object.fromEntries(Object.entries(e.headers||{}).filter(([p,h])=>tt(h))),n=Object.entries(Object.assign(Object.assign({Accept:"application/json"},c),d)).filter(([p,h])=>tt(h)).reduce((p,[h,S])=>Object.assign(Object.assign({},p),{[h]:String(S)}),{});if(nt(t)&&(n.Authorization=`Bearer ${t}`),nt(a)&&nt(i)){let p=Ht(`${a}:${i}`);n.Authorization=`Basic ${p}`}return e.body!==void 0&&(e.mediaType?n["Content-Type"]=e.mediaType:lt(e.body)?n["Content-Type"]=e.body.type||"application/octet-stream":pe(e.body)?n["Content-Type"]="text/plain":Et(e.body)||(n["Content-Type"]="application/json")),new Headers(n)},Vt=s=>{var e;if(s.body!==void 0)return!((e=s.mediaType)===null||e===void 0)&&e.includes("/json")?JSON.stringify(s.body):pe(s.body)||lt(s.body)||Et(s.body)?s.body:JSON.stringify(s.body)},Qt=async(s,e,t,a,i,d,c)=>{let n=new AbortController,p={headers:d,body:a??i,method:e.method,signal:n.signal};return s.WITH_CREDENTIALS&&(p.credentials=s.CREDENTIALS),c(()=>n.abort()),await fetch(t,p)},zt=(s,e)=>{if(e){let t=s.headers.get(e);if(pe(t))return t}},Kt=async s=>{if(s.status!==204)try{let e=s.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(i=>e.toLowerCase().startsWith(i))?await s.json():await s.text()}catch(e){console.error(e)}},Yt=(s,e)=>{var t,a;let d=Object.assign({400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable"},s.errors)[e.status];if(d)throw new W(s,e,d);if(!e.ok){let c=(t=e.status)!==null&&t!==void 0?t:"unknown",n=(a=e.statusText)!==null&&a!==void 0?a:"unknown",p=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new W(s,e,`Generic Error: status: ${c}; status text: ${n}; body: ${p}`)}},ut,x=(s,e)=>new ce(async(t,a,i)=>{try{let d=Wt(s,e),c=Mt(e),n=Vt(e),p=await Jt(s,e),h={};p.forEach((g,E)=>{h[E]=g}),ut&&(h.Cookie=ut);let S=new Headers(h);if(!i.isCancelled){let g=await Qt(s,e,d,n,c,S,i),E=g.headers.get("set-cookie");E&&(ut=E);let Q=await Kt(g),w=zt(g,e.responseHeader),A={url:d,ok:g.ok,status:g.status,statusText:g.statusText,body:w??Q};Yt(e,A),t(A.body)}}catch(d){a(d)}});var he=class{static download(e,t,a,i,d){return x(T,{method:"GET",url:"/db/dl",query:{c:e,devicename:t,username:a,ovr:d,lang:i},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static query(e,t,a,i){return x(T,{method:"GET",url:"/db/q",query:{c:e,ds:t,s:a,r:i},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static upload(e,t,a){return x(T,{method:"POST",url:"/db/ul",query:{c:e,devicename:t},body:a,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var me=class{static ordersControllerGetOrdersByPhone(e,t){return x(T,{method:"GET",url:"/orders/by-phone",query:{c:e,q:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static ordersControllerGetOrdersByName(e,t){return x(T,{method:"GET",url:"/orders/by-name",query:{c:e,q:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static ordersControllerGetOrdersByCreditCard(e,t){return x(T,{method:"GET",url:"/orders/by-cc",query:{c:e,q:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static ordersControllerGetOrdersByNumber(e,t){return x(T,{method:"GET",url:"/orders/by-number",query:{c:e,q:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var fe=class{static appControllerHealth(){return x(T,{method:"GET",url:"/health",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerResetEvent(e,t){return x(T,{method:"GET",url:"/reset",query:{c:e,lang:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerScanProduct(e,t,a,i){return x(T,{method:"POST",url:"/merch",query:{c:e,devicename:t,lang:i},body:a,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerScanBarcode(e,t,a,i){return x(T,{method:"GET",url:"/ticket",query:{c:e,devicename:t,bc:a,lang:i},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerScanTicketFromPost(e,t,a,i){return x(T,{method:"POST",url:"/ticket",query:{c:e,devicename:t,lang:i},body:a,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetSeat(e,t,a,i,d){return x(T,{method:"GET",url:"/seat",query:{c:e,section:t,row:a,seat:i,lang:d},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetReceipt(e,t){return x(T,{method:"GET",url:"/receipt",query:{guid:e,lang:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetReceiptMobile(e,t){return x(T,{method:"GET",url:"/receipt-mobile",query:{guid:e,lang:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetOrder(e,t,a,i){return x(T,{method:"GET",url:"/order",query:{c:e,oid:t,type:a,lang:i},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetShow(e,t,a){return x(T,{method:"GET",url:"/show",query:{c:e,devicename:t,lang:a},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetStrings(e){return x(T,{method:"GET",url:"/strings",query:{lang:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var St={};var wt={database:he,orders:me,scanning:fe};var J=class extends Error{constructor(e,t,a){super(a),this.name="ApiError",this.url=t.url,this.status=t.status,this.statusText=t.statusText,this.body=t.body,this.request=e}};var O=function(s,e,t,a,i){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?s!==e||!i:!e.has(s))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?i.call(s,t):i?i.value=t:e.set(s,t),t},y=function(s,e,t,a){if(t==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?s!==e||!a:!e.has(s))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?a:t==="a"?a.call(s):a?a.value:e.get(s)},R,_,q,L,V,ye,F,rt=class extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}},Te=class{constructor(e){R.set(this,void 0),_.set(this,void 0),q.set(this,void 0),L.set(this,void 0),V.set(this,void 0),ye.set(this,void 0),F.set(this,void 0),O(this,R,!1,"f"),O(this,_,!1,"f"),O(this,q,!1,"f"),O(this,L,[],"f"),O(this,V,new Promise((t,a)=>{O(this,ye,t,"f"),O(this,F,a,"f");let i=n=>{y(this,R,"f")||y(this,_,"f")||y(this,q,"f")||(O(this,R,!0,"f"),y(this,ye,"f")&&y(this,ye,"f").call(this,n))},d=n=>{y(this,R,"f")||y(this,_,"f")||y(this,q,"f")||(O(this,_,!0,"f"),y(this,F,"f")&&y(this,F,"f").call(this,n))},c=n=>{y(this,R,"f")||y(this,_,"f")||y(this,q,"f")||y(this,L,"f").push(n)};return Object.defineProperty(c,"isResolved",{get:()=>y(this,R,"f")}),Object.defineProperty(c,"isRejected",{get:()=>y(this,_,"f")}),Object.defineProperty(c,"isCancelled",{get:()=>y(this,q,"f")}),e(i,d,c)}),"f")}get[(R=new WeakMap,_=new WeakMap,q=new WeakMap,L=new WeakMap,V=new WeakMap,ye=new WeakMap,F=new WeakMap,Symbol.toStringTag)](){return"Cancellable Promise"}then(e,t){return y(this,V,"f").then(e,t)}catch(e){return y(this,V,"f").catch(e)}finally(e){return y(this,V,"f").finally(e)}cancel(){if(!(y(this,R,"f")||y(this,_,"f")||y(this,q,"f"))){if(O(this,q,!0,"f"),y(this,L,"f").length)try{for(let e of y(this,L,"f"))e()}catch(e){console.warn("Cancellation threw an error",e);return}y(this,L,"f").length=0,y(this,F,"f")&&y(this,F,"f").call(this,new rt("Request aborted"))}}get isCancelled(){return y(this,q,"f")}};var r={BASE:"",VERSION:"20260416.1",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0};var st=s=>s!=null,ge=s=>typeof s=="string",ct=s=>ge(s)&&s!=="",ht=s=>typeof s=="object"&&typeof s.type=="string"&&typeof s.stream=="function"&&typeof s.arrayBuffer=="function"&&typeof s.constructor=="function"&&typeof s.constructor.name=="string"&&/^(Blob|File)$/.test(s.constructor.name)&&/^(Blob|File)$/.test(s[Symbol.toStringTag]),bt=s=>s instanceof FormData,Xt=s=>{try{return btoa(s)}catch{return Buffer.from(s).toString("base64")}},Zt=s=>{let e=[],t=(i,d)=>{e.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(d))}`)},a=(i,d)=>{st(d)&&(Array.isArray(d)?d.forEach(c=>{a(i,c)}):typeof d=="object"?Object.entries(d).forEach(([c,n])=>{a(`${i}[${c}]`,n)}):t(i,d))};return Object.entries(s).forEach(([i,d])=>{a(i,d)}),e.length>0?`?${e.join("&")}`:""},er=(s,e)=>{let t=s.ENCODE_PATH||encodeURI,a=e.url.replace("{api-version}",s.VERSION).replace(/{(.*?)}/g,(d,c)=>{var n;return!((n=e.path)===null||n===void 0)&&n.hasOwnProperty(c)?t(String(e.path[c])):d}),i=`${s.BASE}${a}`;return e.query?`${i}${Zt(e.query)}`:i},tr=s=>{if(s.formData){let e=new FormData,t=(a,i)=>{ge(i)||ht(i)?e.append(a,i):e.append(a,JSON.stringify(i))};return Object.entries(s.formData).filter(([a,i])=>st(i)).forEach(([a,i])=>{Array.isArray(i)?i.forEach(d=>t(a,d)):t(a,i)}),e}},ot=async(s,e)=>typeof e=="function"?e(s):e,rr=async(s,e)=>{let[t,a,i,d]=await Promise.all([ot(e,s.TOKEN),ot(e,s.USERNAME),ot(e,s.PASSWORD),ot(e,s.HEADERS)]),c=Object.fromEntries(Object.entries(e.headers||{}).filter(([p,h])=>st(h))),n=Object.entries(Object.assign(Object.assign({Accept:"application/json"},c),d)).filter(([p,h])=>st(h)).reduce((p,[h,S])=>Object.assign(Object.assign({},p),{[h]:String(S)}),{});if(ct(t)&&(n.Authorization=`Bearer ${t}`),ct(a)&&ct(i)){let p=Xt(`${a}:${i}`);n.Authorization=`Basic ${p}`}return e.body!==void 0&&(e.mediaType?n["Content-Type"]=e.mediaType:ht(e.body)?n["Content-Type"]=e.body.type||"application/octet-stream":ge(e.body)?n["Content-Type"]="text/plain":bt(e.body)||(n["Content-Type"]="application/json")),new Headers(n)},or=s=>{var e;if(s.body!==void 0)return!((e=s.mediaType)===null||e===void 0)&&e.includes("/json")?JSON.stringify(s.body):ge(s.body)||ht(s.body)||bt(s.body)?s.body:JSON.stringify(s.body)},sr=async(s,e,t,a,i,d,c)=>{let n=new AbortController,p={headers:d,body:a??i,method:e.method,signal:n.signal};return s.WITH_CREDENTIALS&&(p.credentials=s.CREDENTIALS),c(()=>n.abort()),await fetch(t,p)},ar=(s,e)=>{if(e){let t=s.headers.get(e);if(ge(t))return t}},ir=async s=>{if(s.status!==204)try{let e=s.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(i=>e.toLowerCase().startsWith(i))?await s.json():await s.text()}catch(e){console.error(e)}},dr=(s,e)=>{var t,a;let d=Object.assign({400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable"},s.errors)[e.status];if(d)throw new J(s,e,d);if(!e.ok){let c=(t=e.status)!==null&&t!==void 0?t:"unknown",n=(a=e.statusText)!==null&&a!==void 0?a:"unknown",p=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new J(s,e,`Generic Error: status: ${c}; status text: ${n}; body: ${p}`)}},pt,o=(s,e)=>new Te(async(t,a,i)=>{try{let d=er(s,e),c=tr(e),n=or(e),p=await rr(s,e),h={};p.forEach((g,E)=>{h[E]=g}),pt&&(h.Cookie=pt);let S=new Headers(h);if(!i.isCancelled){let g=await sr(s,e,d,n,c,S,i),E=g.headers.get("set-cookie");E&&(pt=E);let Q=await ir(g),w=ar(g,e.responseHeader),A={url:d,ok:g.ok,status:g.status,statusText:g.statusText,body:w??Q};dr(e,A),t(A.body)}}catch(d){a(d)}});var xe=class{static getPortalObject(e){return o(r,{method:"GET",url:"/account/permission",headers:{"x-studio-id":e}})}static createAccount(e,t){return o(r,{method:"POST",url:"/account/create",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePermission(e,t,a){return o(r,{method:"PUT",url:"/account/{id}",path:{id:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static deleteuser(e){return o(r,{method:"DELETE",url:"/account/{id}",path:{id:e}})}static renewPolicy(e,t){return o(r,{method:"PUT",url:"/account/{policyId}/renew-policy",path:{policyId:t},headers:{"x-studio-id":e}})}static clearPermissionsCache(e){return o(r,{method:"POST",url:"/account/cache",query:{studio_login_id:e}})}};var Ee=class{static getTicketDetails(e,t){return o(r,{method:"POST",url:"/accounting/tickets",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getCollectionDetails(e,t){return o(r,{method:"POST",url:"/accounting/collection-details",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getProductDetails(e,t){return o(r,{method:"POST",url:"/accounting/products",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getDonationDetails(e,t){return o(r,{method:"POST",url:"/accounting/donations",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getTaxDetails(e,t){return o(r,{method:"POST",url:"/accounting/taxes",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getAccountingDetails(e){return o(r,{method:"GET",url:"/accounting",headers:{"x-studio-id":e}})}static getOtherDetails(e){return o(r,{method:"GET",url:"/accounting/others",headers:{"x-studio-id":e}})}static getWeeklyDetails(e){return o(r,{method:"GET",url:"/accounting/weekly",headers:{"x-studio-id":e}})}static getStudioFinancialDetails(e){return o(r,{method:"GET",url:"/accounting/financials",headers:{"x-studio-id":e}})}static getStudioDisputes(e){return o(r,{method:"GET",url:"/accounting/disputes",headers:{"x-studio-id":e}})}static getStudioRefunds(e){return o(r,{method:"GET",url:"/accounting/refunds",headers:{"x-studio-id":e}})}static getStripeDetails(e){return o(r,{method:"GET",url:"/accounting/stripe",headers:{"x-studio-id":e}})}static acknowledgeDispute(e,t){return o(r,{method:"PUT",url:"/accounting/{disputeId}/acknowledge-dispute",path:{disputeId:t},headers:{"x-studio-id":e}})}static getRefundSettings(e){return o(r,{method:"GET",url:"/accounting/refund-settings",headers:{"x-studio-id":e}})}static getPaymentGatewayDetails(e){return o(r,{method:"GET",url:"/accounting/payment-details",headers:{"x-studio-id":e}})}static getRefundDetails(e,t){return o(r,{method:"GET",url:"/accounting/{refundId}/refund-details",path:{refundId:t},headers:{"x-studio-id":e}})}static resetTaxPayment(e,t){return o(r,{method:"PUT",url:"/accounting/reset-tax-payment",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateBankingInfo(e,t){return o(r,{method:"PUT",url:"/accounting/update-banking-info",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateTaxInfo(e,t){return o(r,{method:"PUT",url:"/accounting/update-tax-info",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static declineRefund(e,t){return o(r,{method:"PUT",url:"/accounting/{refundId}/decline-refund",path:{refundId:t},headers:{"x-studio-id":e}})}static refundUpdateAmount(e,t,a){return o(r,{method:"PUT",url:"/accounting/{refundId}/refund-update-amount",path:{refundId:t},headers:{"x-studio-id":e},query:{amount:a}})}static acceptRefund(e,t,a){return o(r,{method:"PUT",url:"/accounting/{refundId}/accept-refund",path:{refundId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}};var Se=class{static getBuyer(e,t){return o(r,{method:"GET",url:"/{orderId}/buyer-details",path:{orderId:t},headers:{"x-studio-id":e}})}};var we=class{static sendForgotPassword(e,t){return o(r,{method:"POST",url:"/auth/forgot-password",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static verifyOtp(e,t){return o(r,{method:"POST",url:"/auth/verify-otp",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static login(e,t){return o(r,{method:"POST",url:"/auth/login",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static logout(e){return o(r,{method:"POST",url:"/auth/logout",headers:{"x-studio-id":e}})}static changePassword(e,t){return o(r,{method:"POST",url:"/auth/change-password",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static accessCodeTicketingLink(e){return o(r,{method:"GET",url:"/auth/access-code",headers:{"x-studio-id":e}})}static hashLogin(e,t,a,i){return o(r,{method:"GET",url:"/auth/hash-login",headers:{"x-studio-id":e},query:{pw:t,user_id:a,report:i}})}static refreshPortalRoutesCache(){return o(r,{method:"POST",url:"/auth/refresh-portal-routes-cache"})}};var be=class{static getBookmarks(e){return o(r,{method:"GET",url:"/bookmark",headers:{"x-studio-id":e}})}static checkBookmarkExists(e,t){return o(r,{method:"GET",url:"/bookmark/check",headers:{"x-studio-id":e},query:{path:t}})}static createOrUpdateBookmark(e,t){return o(r,{method:"POST",url:"/bookmark/create-update",headers:{"x-studio-id":e},query:{path:t}})}static clearBookmark(e,t){return o(r,{method:"POST",url:"/bookmark/clear",headers:{"x-studio-id":e},query:{path:t}})}static reorderBookmark(e,t,a){return o(r,{method:"PUT",url:"/bookmark/reorder",headers:{"x-studio-id":e},query:{path:t},body:a,mediaType:"application/json"})}};var Ie=class{static getAllEmail(e,t){return o(r,{method:"GET",url:"/client-tools/generated-emails",headers:{"x-studio-id":e},query:{searchQuery:t}})}static deleteEmails(e,t){return o(r,{method:"DELETE",url:"/client-tools/generated-emails",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getEmailDetails(e,t){return o(r,{method:"GET",url:"/client-tools/generated-emails/{mailId}",path:{mailId:t},headers:{"x-studio-id":e}})}static editEmail(e,t,a){return o(r,{method:"PUT",url:"/client-tools/generated-emails/{mailId}",path:{mailId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}};var Pe=class{static getInterview(e){return o(r,{method:"GET",url:"/client-tools/parent-letter",headers:{"x-studio-id":e}})}};var ve=class{static getPatronStats(e){return o(r,{method:"GET",url:"/client-tools/patron-database",headers:{"x-studio-id":e}})}static deletePatronCodes(e,t){return o(r,{method:"DELETE",url:"/client-tools/patron-database",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getShowDetails(e){return o(r,{method:"GET",url:"/client-tools/patron-database/show-details",headers:{"x-studio-id":e}})}static getStudioIntegratorDetails(e){return o(r,{method:"GET",url:"/client-tools/patron-database/studio-integrator-details",headers:{"x-studio-id":e}})}static getPatronCodes(e,t,a){return o(r,{method:"GET",url:"/client-tools/patron-database/codes",headers:{"x-studio-id":e},query:{status:t,searchQuery:a}})}static getPatronTags(e){return o(r,{method:"GET",url:"/client-tools/patron-database/tags",headers:{"x-studio-id":e}})}static getPatronCodeDetails(e,t){return o(r,{method:"GET",url:"/client-tools/patron-database/code-details",headers:{"x-studio-id":e},query:{emailId:t}})}static getPatronCodeDetails1(e,t){return o(r,{method:"GET",url:"/client-tools/patron-database/{patronId}/code-details",path:{patronId:t},headers:{"x-studio-id":e}})}static createPatronTag(e,t){return o(r,{method:"POST",url:"/client-tools/patron-database/create-patron-tag",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static createPatronCodes(e,t){return o(r,{method:"POST",url:"/client-tools/patron-database/create-patron-codes",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static sendMail(e,t){return o(r,{method:"POST",url:"/client-tools/patron-database/send-mail",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static provideDiscountAccess(e,t){return o(r,{method:"POST",url:"/client-tools/patron-database/discount-access",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static providePatronAccess(e,t){return o(r,{method:"POST",url:"/client-tools/patron-database/patron-access",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePatronSettings(e,t){return o(r,{method:"PUT",url:"/client-tools/patron-database/settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePatronTag(e,t){return o(r,{method:"PUT",url:"/client-tools/patron-database/tag",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static deletePatronTag(e,t){return o(r,{method:"DELETE",url:"/client-tools/patron-database/tag",headers:{"x-studio-id":e},query:{tag:t}})}static updatePatronCode(e,t,a){return o(r,{method:"PUT",url:"/client-tools/patron-database/{patronId}",path:{patronId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static deletePatronCouponCode(e,t){return o(r,{method:"DELETE",url:"/client-tools/patron-database/coupon-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static deletePriorityCode(e,t){return o(r,{method:"DELETE",url:"/client-tools/patron-database/priority-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var Oe=class{static getSeatAssignmentSettings(e){return o(r,{method:"GET",url:"/client-tools/seat-assignment-tool/settings",headers:{"x-studio-id":e}})}};var qe=class{static getStripeSettings(e){return o(r,{method:"GET",url:"/client-tools/stripe-onboarding",headers:{"x-studio-id":e}})}};var je=class{static getStudioDesign(e){return o(r,{method:"GET",url:"/client-tools/theme-builder/studio-design",headers:{"x-studio-id":e}})}static updateStudioDesign(e,t){return o(r,{method:"PUT",url:"/client-tools/theme-builder/studio-design",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getStudioImages(e,t,a,i,d,c,n){return o(r,{method:"GET",url:"/client-tools/theme-builder/images",headers:{"x-studio-id":e},query:{format:t,library:a,minWidth:i,maxWidth:d,minHeight:c,maxHeight:n}})}static startImageUpload(e,t){return o(r,{method:"POST",url:"/client-tools/theme-builder/start-image-upload",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateImageUrl(e,t,a,i,d){return o(r,{method:"POST",url:"/client-tools/theme-builder/update-image-url",headers:{"x-studio-id":e},query:{format:t,width:a,height:i},body:d,mediaType:"application/json"})}};var Ce=class{static getThemes(e,t){return o(r,{method:"GET",url:"/client-tools/theme-library",query:{categoryId:e,searchQuery:t}})}static getThemeCategories(){return o(r,{method:"GET",url:"/client-tools/theme-library/categories"})}static getThemeDetails(e){return o(r,{method:"GET",url:"/client-tools/theme-library/{themeId}",path:{themeId:e}})}};var Ge=class{static fetchTicketingDetails(e){return o(r,{method:"GET",url:"/client-tools/ticketing-link/details",headers:{"x-studio-id":e}})}static generateFlyer(e,t,a,i){return o(r,{method:"GET",url:"/client-tools/ticketing-link/flyer",headers:{"x-studio-id":e},query:{show:t,start:a,end:i}})}};var ke=class{static getShows(e){return o(r,{method:"GET",url:"/client-tools/ticket-scanning",headers:{"x-studio-id":e}})}static scannedTicketDetails(e,t){return o(r,{method:"GET",url:"/client-tools/ticket-scanning/{showId}",path:{showId:t},headers:{"x-studio-id":e}})}static resetScannedTicketDetails(e){return o(r,{method:"PUT",url:"/client-tools/ticket-scanning/{showId}",path:{showId:e}})}};var Re=class{static getUnapprovedOrders(e){return o(r,{method:"GET",url:"/client-tools/unapproved-orders",headers:{"x-studio-id":e}})}static getOrderSeats(e,t){return o(r,{method:"GET",url:"/client-tools/unapproved-orders/{orderId}/seats",path:{orderId:t},headers:{"x-studio-id":e}})}static approveOrder(e,t,a){return o(r,{method:"PUT",url:"/client-tools/unapproved-orders/{orderId}/approve-order",path:{orderId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}};var _e=class{static getWaitlistShows(e,t,a){return o(r,{method:"GET",url:"/client-tools/waitlist",headers:{"x-studio-id":e},query:{showId:t,showFulfilled:a}})}static createWaitlist(e,t){return o(r,{method:"POST",url:"/client-tools/waitlist",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getWaitlistFilterShows(e){return o(r,{method:"GET",url:"/client-tools/waitlist/shows",headers:{"x-studio-id":e}})}static getWaitlistById(e,t){return o(r,{method:"GET",url:"/client-tools/waitlist/{waitlistId}",path:{waitlistId:t},headers:{"x-studio-id":e}})}static updateWaitlist(e,t,a){return o(r,{method:"PUT",url:"/client-tools/waitlist/{waitlistId}",path:{waitlistId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static deleteWaitlist(e,t){return o(r,{method:"DELETE",url:"/client-tools/waitlist/{waitlistId}",path:{waitlistId:t},headers:{"x-studio-id":e}})}static assignWaitlistToShows(e,t,a){return o(r,{method:"POST",url:"/client-tools/waitlist/{waitlistId}/assign-waitlist",path:{waitlistId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static updateAllOrNoneStatus(e,t){return o(r,{method:"PUT",url:"/client-tools/waitlist/{waitlistId}/all-or-none",path:{waitlistId:t},headers:{"x-studio-id":e}})}};var Ae=class{static getDashboard(e){return o(r,{method:"GET",url:"/dashboard",headers:{"x-studio-id":e}})}static search(e,t){return o(r,{method:"GET",url:"/dashboard/search",headers:{"x-studio-id":e},query:{q:t}})}static searchLog(e){return o(r,{method:"POST",url:"/dashboard/search-log",body:e,mediaType:"application/json"})}};var De=class{static getShowsForFilter(e){return o(r,{method:"GET",url:"/features/blocked-seats/shows",headers:{"x-studio-id":e}})}static getShowsForBlocking(e){return o(r,{method:"GET",url:"/features/blocked-seats/shows-for-blocking",headers:{"x-studio-id":e}})}static getSeatDetails(e,t,a,i){return o(r,{method:"GET",url:"/features/blocked-seats/seat-details",headers:{"x-studio-id":e},query:{showId:i,filter:t,searchQuery:a}})}static getReservationCodes(e){return o(r,{method:"GET",url:"/features/blocked-seats/reservation-codes",headers:{"x-studio-id":e}})}static getSelectedSeats(e){return o(r,{method:"GET",url:"/features/blocked-seats/selected-seats",headers:{"x-studio-id":e}})}static initializeSeatEngine(e,t){return o(r,{method:"GET",url:"/features/blocked-seats/{showId}/initialize-seat-engine",path:{showId:t},headers:{"x-studio-id":e}})}static getSeatEngineOccupancy(e,t){return o(r,{method:"GET",url:"/features/blocked-seats/{showId}/occupancy",path:{showId:t},headers:{"x-studio-id":e}})}static getSelectedSeats1(e,t){return o(r,{method:"GET",url:"/features/blocked-seats/{showId}/blocked-seats-check",path:{showId:t},headers:{"x-studio-id":e}})}static exchangeShowDetail(e,t){return o(r,{method:"GET",url:"/features/blocked-seats/{showId}/exchange-show-detail",path:{showId:t},headers:{"x-studio-id":e}})}static getReservationCodeDetails(e,t){return o(r,{method:"GET",url:"/features/blocked-seats/{codeId}/reservation-code-detail",path:{codeId:t},headers:{"x-studio-id":e}})}static getEmailDetails(e,t,a){return o(r,{method:"POST",url:"/features/blocked-seats/email-details",path:{seatId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static sendEmail(e,t){return o(r,{method:"POST",url:"/features/blocked-seats/send-email",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static sendMailForReservationCode(e,t){return o(r,{method:"POST",url:"/features/blocked-seats/send-reservation-code-email",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static assignSeats(e,t){return o(r,{method:"POST",url:"/features/blocked-seats/assign-seats",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static blockSeats(e,t){return o(r,{method:"POST",url:"/features/blocked-seats/block-seats",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static unblockSeats(e,t){return o(r,{method:"POST",url:"/features/blocked-seats/unblock-seats",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static downloadTickets(e,t){return o(r,{method:"POST",url:"/features/blocked-seats/download-tickets",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static holdGeneralSeatTickets(e,t,a){return o(r,{method:"POST",url:"/features/blocked-seats/{showId}/hold-general-seat-tickets",path:{showId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static holdChartSeatTickets(e,t,a){return o(r,{method:"POST",url:"/features/blocked-seats/{showId}/hold-chart-seat-tickets",path:{showId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static releaseSeat(e,t){return o(r,{method:"PUT",url:"/features/blocked-seats/release-seat",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static releaseReservationCode(e,t){return o(r,{method:"PUT",url:"/features/blocked-seats/release-reservation-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static releaseAllSeats(e){return o(r,{method:"PUT",url:"/features/blocked-seats/release-all-seats",headers:{"x-studio-id":e}})}static toggleSeatInCartTicket(e,t,a){return o(r,{method:"PUT",url:"/features/blocked-seats/{showId}/{seatId}/toggle-cart-ticket",path:{showId:t,seatId:a},headers:{"x-studio-id":e}})}};var Be=class{static getCheckoutQuestions(e){return o(r,{method:"GET",url:"/features/checkout-questions",headers:{"x-studio-id":e}})}static createCheckoutQuestion(e,t){return o(r,{method:"POST",url:"/features/checkout-questions",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getShowsTypesProducts(e){return o(r,{method:"GET",url:"/features/checkout-questions/details",headers:{"x-studio-id":e}})}static getCheckoutQuestionById(e,t){return o(r,{method:"GET",url:"/features/checkout-questions/{questionId}",path:{questionId:t},headers:{"x-studio-id":e}})}static updateCheckoutQuestion(e,t,a){return o(r,{method:"PUT",url:"/features/checkout-questions/{questionId}",path:{questionId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static deleteCheckoutQuestion(e,t){return o(r,{method:"DELETE",url:"/features/checkout-questions/{questionId}",path:{questionId:t},headers:{"x-studio-id":e}})}};var Ne=class{static getCouponFilter(e){return o(r,{method:"GET",url:"/features/discounts/coupon-filter",headers:{"x-studio-id":e}})}static getCoupons(e,t,a,i){return o(r,{method:"GET",url:"/features/discounts/coupons",headers:{"x-studio-id":e},query:{status:t,searchQuery:a,filter:i}})}static getGroupCodes(e){return o(r,{method:"GET",url:"/features/discounts/group-codes",headers:{"x-studio-id":e}})}static getCouponData(e){return o(r,{method:"GET",url:"/features/discounts/coupon-data",headers:{"x-studio-id":e}})}static getAvailableCouponData(e){return o(r,{method:"GET",url:"/features/discounts/available-coupons",headers:{"x-studio-id":e}})}static getCustomLogic(e,t){return o(r,{method:"GET",url:"/features/discounts/{couponId}/custom-logic",path:{couponId:t},headers:{"x-studio-id":e}})}static resendMailForCoupons(e,t){return o(r,{method:"POST",url:"/features/discounts/resend-mail",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static validateEmailForCoupons(e,t){return o(r,{method:"POST",url:"/features/discounts/validate-email",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static createCode(e,t){return o(r,{method:"POST",url:"/features/discounts/create-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static createGroupCode(e,t){return o(r,{method:"POST",url:"/features/discounts/create-group-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateCode(e,t){return o(r,{method:"PUT",url:"/features/discounts/update-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static expireGroupCode(e,t){return o(r,{method:"PUT",url:"/features/discounts/{groupCodeId}/expire",path:{groupCodeId:t},headers:{"x-studio-id":e}})}static expireAllCoupons(e){return o(r,{method:"PUT",url:"/features/discounts/expire-all",headers:{"x-studio-id":e}})}static deleteCoupons(e,t){return o(r,{method:"DELETE",url:"/features/discounts",headers:{"x-studio-id":e},query:{couponIds:t}})}};var Ue=class{static getFunds(e){return o(r,{method:"GET",url:"/features/donations",headers:{"x-studio-id":e}})}static createFund(e,t){return o(r,{method:"POST",url:"/features/donations",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getServiceAgreement(e){return o(r,{method:"GET",url:"/features/donations/service-agreement",headers:{"x-studio-id":e}})}static createServiceAgreement(e,t){return o(r,{method:"POST",url:"/features/donations/service-agreement",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getFundDetails(e,t){return o(r,{method:"GET",url:"/features/donations/{fundId}",path:{fundId:t},headers:{"x-studio-id":e}})}static updateFund(e,t,a){return o(r,{method:"PUT",url:"/features/donations/{fundId}",path:{fundId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static deleteFund(e,t){return o(r,{method:"DELETE",url:"/features/donations/{fundId}",path:{fundId:t},headers:{"x-studio-id":e}})}static getFund(e,t){return o(r,{method:"GET",url:"/features/donations/{fundId}/detail",path:{fundId:t},headers:{"x-studio-id":e}})}static duplicateFund(e,t,a){return o(r,{method:"POST",url:"/features/donations/{fundId}/duplicate",path:{fundId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static sendEmail(e,t,a){return o(r,{method:"POST",url:"/features/donations/{fundId}/send-mail",path:{fundId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}};var Le=class{static getGiftCards(e,t){return o(r,{method:"GET",url:"/features/gift-cards",headers:{"x-studio-id":e},query:{isVoid:t}})}static createGiftCard(e,t){return o(r,{method:"POST",url:"/features/gift-cards",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getTransactions(e,t){return o(r,{method:"GET",url:"/features/gift-cards/{giftCardId}/transactions",path:{giftCardId:t},headers:{"x-studio-id":e}})}static getGiftCard(e,t){return o(r,{method:"GET",url:"/features/gift-cards/{giftCardId}",path:{giftCardId:t},headers:{"x-studio-id":e}})}static updateGiftCard(e,t,a){return o(r,{method:"PUT",url:"/features/gift-cards/{giftCardId}",path:{giftCardId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static deleteGiftCard(e,t){return o(r,{method:"DELETE",url:"/features/gift-cards/{giftCardId}",path:{giftCardId:t},headers:{"x-studio-id":e}})}static createGiftCardsBulk(e,t){return o(r,{method:"POST",url:"/features/gift-cards/bulk-create",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var Fe=class{static getGoldenTicketList(e,t){return o(r,{method:"GET",url:"/features/golden-tickets",headers:{"x-studio-id":e},query:{showId:t}})}static createGoldenTicket(e,t){return o(r,{method:"POST",url:"/features/golden-tickets",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getShowsForGoldenTickets(e){return o(r,{method:"GET",url:"/features/golden-tickets/shows",headers:{"x-studio-id":e}})}static getSectionDetails(e,t){return o(r,{method:"GET",url:"/features/golden-tickets/{showId}/section-detail",path:{showId:t},headers:{"x-studio-id":e}})}static getRowDetails(e,t,a){return o(r,{method:"GET",url:"/features/golden-tickets/{showId}/row-detail",path:{showId:t},headers:{"x-studio-id":e},query:{section:a}})}static getSeatDetails(e,t,a,i){return o(r,{method:"GET",url:"/features/golden-tickets/{showId}/seat-detail",path:{showId:t},headers:{"x-studio-id":e},query:{section:a,row:i}})}static updateGoldenTicket(e,t,a){return o(r,{method:"PUT",url:"/features/golden-tickets/{ticketId}",path:{ticketId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static deleteGoldenTicket(e,t){return o(r,{method:"DELETE",url:"/features/golden-tickets/{ticketId}",path:{ticketId:t},headers:{"x-studio-id":e}})}};var He=class{static getLandingPage(e){return o(r,{method:"GET",url:"/features/landing-page",headers:{"x-studio-id":e}})}static updateLandingPageSettings(e,t){return o(r,{method:"PUT",url:"/features/landing-page",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getAlbums(e){return o(r,{method:"GET",url:"/features/landing-page/albums",headers:{"x-studio-id":e}})}static getAlbumImages(e,t){return o(r,{method:"GET",url:"/features/landing-page/{albumId}/images",path:{albumId:t},headers:{"x-studio-id":e}})}static deleteAlbumImages(e,t,a){return o(r,{method:"DELETE",url:"/features/landing-page/{albumId}/images",path:{albumId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static createAlbum(e,t){return o(r,{method:"POST",url:"/features/landing-page/album",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateImageOrder(e,t){return o(r,{method:"POST",url:"/features/landing-page/reorder-images",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static startImageUpload(e,t,a){return o(r,{method:"POST",url:"/features/landing-page/{albumId}/start-image-upload",path:{albumId:e},headers:{"x-studio-id":t},body:a,mediaType:"application/json"})}static updateImageUrl(e,t,a){return o(r,{method:"POST",url:"/features/landing-page/{albumId}/update-image-url",path:{albumId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static updateLandingPageSettings1(e,t){return o(r,{method:"PUT",url:"/features/landing-page/settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateAlbum(e,t,a){return o(r,{method:"PUT",url:"/features/landing-page/{albumId}",path:{albumId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static deleteAlbum(e,t){return o(r,{method:"DELETE",url:"/features/landing-page/{albumId}",path:{albumId:e},headers:{"x-studio-id":t}})}};var $e=class{static getPriorityCodes(e,t,a){return o(r,{method:"GET",url:"/features/priority/codes",headers:{"x-studio-id":e},query:{status:t,searchQuery:a}})}static getHiddenPriorityCodes(e){return o(r,{method:"GET",url:"/features/priority/hidden-codes",headers:{"x-studio-id":e}})}static getShowAndGroup(e){return o(r,{method:"GET",url:"/features/priority/shows-and-groups",headers:{"x-studio-id":e}})}static getSettingsAndWaves(e){return o(r,{method:"GET",url:"/features/priority/settings-and-waves",headers:{"x-studio-id":e}})}static getCodeUsageDetails(e,t){return o(r,{method:"GET",url:"/features/priority/code-usage/{codeId}",path:{codeId:t},headers:{"x-studio-id":e}})}static createCodes(e,t){return o(r,{method:"POST",url:"/features/priority/create-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateCodes(e,t){return o(r,{method:"PUT",url:"/features/priority/bulk-edit",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateCode(e,t){return o(r,{method:"PUT",url:"/features/priority/edit-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static resendMail(e,t){return o(r,{method:"PUT",url:"/features/priority/resend-mail",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static expireHiddenCodes(e,t){return o(r,{method:"PUT",url:"/features/priority/expire-hidden-codes",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static deleteCodes(e,t){return o(r,{method:"DELETE",url:"/features/priority/delete-codes",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var We=class{static getProducts(e){return o(r,{method:"GET",url:"/features/products",headers:{"x-studio-id":e}})}static createProduct(e,t){return o(r,{method:"POST",url:"/features/products",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getIconsShowGroups(e){return o(r,{method:"GET",url:"/features/products/icons-show-groups",headers:{"x-studio-id":e}})}static getProductSales(e,t){return o(r,{method:"GET",url:"/features/products/{productId}/sales",path:{productId:t},headers:{"x-studio-id":e}})}static getServiceAgreement(e){return o(r,{method:"GET",url:"/features/products/service-agreement",headers:{"x-studio-id":e}})}static createServiceAgreement(e,t){return o(r,{method:"POST",url:"/features/products/service-agreement",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getProductDetails(e,t){return o(r,{method:"GET",url:"/features/products/{productId}",path:{productId:t},headers:{"x-studio-id":e}})}static updateProduct(e,t,a){return o(r,{method:"PUT",url:"/features/products/{productId}",path:{productId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static deleteProduct(e,t){return o(r,{method:"DELETE",url:"/features/products/{productId}",path:{productId:t},headers:{"x-studio-id":e}})}static getProductRecipients(e,t){return o(r,{method:"GET",url:"/features/products/{productId}/recipients",path:{productId:t},headers:{"x-studio-id":e}})}static getProductVariants(e){return o(r,{method:"GET",url:"/features/products/{productId}/variants",path:{productId:e}})}static startImageUpload(e,t){return o(r,{method:"POST",url:"/features/products/start-image-upload",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static createDuplicateProduct(e,t,a){return o(r,{method:"POST",url:"/features/products/{productId}/duplicate",path:{productId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static sendEmail(e,t,a){return o(r,{method:"POST",url:"/features/products/{productId}/send-mail",path:{productId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static createVariant(e,t,a){return o(r,{method:"POST",url:"/features/products/{productId}/create-variant",path:{productId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static updateImageUrl(e,t,a){return o(r,{method:"PUT",url:"/features/products/{productId}/update-image-url",path:{productId:e},headers:{"x-studio-id":t},body:a,mediaType:"application/json"})}static updateVariant(e,t,a){return o(r,{method:"PUT",url:"/features/products/{productId}/update-variant",path:{productId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static deleteProduct1(e,t){return o(r,{method:"DELETE",url:"/features/products/variant",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var Me=class{static getOrderFilters(e){return o(r,{method:"GET",url:"/order-lookup",headers:{"x-studio-id":e}})}static getOrderActions(e,t){return o(r,{method:"GET",url:"/order-lookup/{orderId}/order-actions",path:{orderId:t},headers:{"x-studio-id":e}})}static getOrderDetails(e,t){return o(r,{method:"GET",url:"/order-lookup/{orderId}/order-details",path:{orderId:t},headers:{"x-studio-id":e}})}static getOrderLedger(e,t){return o(r,{method:"GET",url:"/order-lookup/{orderId}/order-ledger",path:{orderId:t},headers:{"x-studio-id":e}})}static getOrderTicketDetails(e,t){return o(r,{method:"GET",url:"/order-lookup/{orderId}/order-ticket-details",path:{orderId:t},headers:{"x-studio-id":e}})}static getOrderSeatDetails(e,t){return o(r,{method:"GET",url:"/order-lookup/{orderId}/order-seats",path:{orderId:t},headers:{"x-studio-id":e}})}static getShowDetails(e,t){return o(r,{method:"GET",url:"/order-lookup/{orderId}/shows-list",path:{orderId:t},headers:{"x-studio-id":e}})}static exchangeSelectedSeats(e,t){return o(r,{method:"GET",url:"/order-lookup/ticket-exchange-selected-seats",headers:{"x-studio-id":e},query:{shopperGuid:t}})}static getReleaseSeatDetails(e,t){return o(r,{method:"GET",url:"/order-lookup/{orderId}/release-seat",path:{orderId:t},headers:{"x-studio-id":e}})}static releaseSeat(e,t,a){return o(r,{method:"POST",url:"/order-lookup/{orderId}/release-seat",path:{orderId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static getBlockedSeatsDetails(e,t){return o(r,{method:"GET",url:"/order-lookup/{showId}/blocked-seats",path:{showId:t},headers:{"x-studio-id":e}})}static getOrderListDetails(e,t){return o(r,{method:"POST",url:"/order-lookup/order-list",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static toggleTier(e,t){return o(r,{method:"POST",url:"/order-lookup/toggle-tier",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getShowAndTier(e,t){return o(r,{method:"POST",url:"/order-lookup/show-tier",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static emailBuyers(e,t){return o(r,{method:"POST",url:"/order-lookup/email-buyers",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static saveNote(e,t){return o(r,{method:"POST",url:"/order-lookup/save-note",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static recalculateOrder(e,t){return o(r,{method:"POST",url:"/order-lookup/recalculate-order",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static cancelExchangeTicket(e,t){return o(r,{method:"POST",url:"/order-lookup/cancel-exchange-ticket",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static cancelAllExchangeTickets(e){return o(r,{method:"POST",url:"/order-lookup/cancel-all-exchange-tickets",headers:{"x-studio-id":e}})}static resetPrimaryVideoStream(e,t){return o(r,{method:"POST",url:"/order-lookup/{orderId}/reset-primary-video-stream",path:{orderId:e},headers:{"x-studio-id":t}})}static executeSeatExchange(e,t,a){return o(r,{method:"POST",url:"/order-lookup/{orderId}/execute-seat-exchange",path:{orderId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static modifyOrderTickets(e,t,a){return o(r,{method:"POST",url:"/order-lookup/{orderId}/order-ticket",path:{orderId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static updateEmailId(e,t,a){return o(r,{method:"PUT",url:"/order-lookup/{orderId}/update-email",path:{orderId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static toggleModifyTierStatus(e,t,a){return o(r,{method:"PUT",url:"/order-lookup/{orderId}/toggle-modify-tier",path:{orderId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static addSeatsToSession(e,t){return o(r,{method:"PUT",url:"/order-lookup/add-seat-to-session",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var Je=class{static getPatronManifestReport(e){return o(r,{method:"GET",url:"/reports/patron-manifest",headers:{"x-studio-id":e}})}static getPatronManifestByShow(e,t){return o(r,{method:"GET",url:"/reports/patron-manifest/{showId}",path:{showId:t},headers:{"x-studio-id":e}})}static getTicketSalesReport(e){return o(r,{method:"GET",url:"/reports/ticket-sales",headers:{"x-studio-id":e}})}static getSoldSeatsByShow(e,t){return o(r,{method:"GET",url:"/reports/ticket-sales/{showId}/sold",path:{showId:e},headers:{"x-studio-id":t}})}static getUnsoldSeatsByShow(e,t){return o(r,{method:"GET",url:"/reports/ticket-sales/{showId}/unsold",path:{showId:e},headers:{"x-studio-id":t}})}static getSalesByTierReport(e){return o(r,{method:"GET",url:"/reports/sales-by-tier",headers:{"x-studio-id":e}})}static getShowSeatSales(e,t,a,i){return o(r,{method:"GET",url:"/reports/sales-by-tier/{showId}/seat-sales",path:{showId:t},headers:{"x-studio-id":e},query:{price:a,name:i}})}static getRevenueByShow(e,t){return o(r,{method:"POST",url:"/reports/revenue-by-show",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getCreditedPerformerReport(e,t,a){return o(r,{method:"GET",url:"/reports/credited-performers",headers:{"x-studio-id":e},query:{showId:t,orderId:a}})}static getCreditedPerformerDetails(e,t){return o(r,{method:"POST",url:"/reports/credited-performer-details",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getCreditedPerformerByOrder(e,t){return o(r,{method:"GET",url:"/reports/credited-performer/{orderId}",path:{orderId:t},headers:{"x-studio-id":e}})}static productSalesReport(e,t){return o(r,{method:"POST",url:"/reports/products",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getDonationsReport(e,t){return o(r,{method:"POST",url:"/reports/donations",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getCheckoutResponsesShow(e){return o(r,{method:"GET",url:"/reports/checkout-responses-show",headers:{"x-studio-id":e}})}static getCheckoutResponsesReport(e,t){return o(r,{method:"POST",url:"/reports/checkout-responses",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getScannedTicketsReport(e){return o(r,{method:"GET",url:"/reports/scanned-tickets",headers:{"x-studio-id":e}})}static getTaxReport(e,t){return o(r,{method:"POST",url:"/reports/tax-by-month",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getCheckoutResponsesReport1(e,t){return o(r,{method:"GET",url:"/reports/checkout-response-details",headers:{"x-studio-id":e},query:{showId:t}})}static getProductSalesReport(e){return o(r,{method:"GET",url:"/reports/product-sale-details",headers:{"x-studio-id":e}})}static getDonationsReport1(e){return o(r,{method:"GET",url:"/reports/donation-details",headers:{"x-studio-id":e}})}static getUnsoldSeatsByShow1(e,t){return o(r,{method:"PUT",url:"/reports/{showId}/reset-ticket-scanning",path:{showId:e},headers:{"x-studio-id":t}})}};var Ve=class{static getStudioSettings(e){return o(r,{method:"GET",url:"/settings",headers:{"x-studio-id":e}})}static getNotificationSettings(e){return o(r,{method:"GET",url:"/settings/notifications",headers:{"x-studio-id":e}})}static getPosSettings(e){return o(r,{method:"GET",url:"/settings/pos-settings",headers:{"x-studio-id":e}})}static getPolicies(e){return o(r,{method:"GET",url:"/settings/policies",headers:{"x-studio-id":e}})}static getMessages(e){return o(r,{method:"GET",url:"/settings/messages",headers:{"x-studio-id":e}})}static getUsers(e){return o(r,{method:"GET",url:"/settings/users",headers:{"x-studio-id":e}})}static getUsersLoginLevels(e){return o(r,{method:"GET",url:"/settings/login-levels",headers:{"x-studio-id":e}})}static getUsersLoginDetails(e,t){return o(r,{method:"GET",url:"/settings/{loginId}/login-details",headers:{"x-studio-id":e},query:{loginId:t}})}static createUserLogin(e,t){return o(r,{method:"POST",url:"/settings/user-login",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateStudioSettings(e,t){return o(r,{method:"PUT",url:"/settings/update-studio-settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateNotificationSettings(e,t){return o(r,{method:"PUT",url:"/settings/update-notification-settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePosSettings(e,t){return o(r,{method:"PUT",url:"/settings/update-pos-settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePolicySettings(e,t){return o(r,{method:"PUT",url:"/settings/update-policy-settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateMessageSettings(e,t){return o(r,{method:"PUT",url:"/settings/update-message",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateUserLogin(e,t,a){return o(r,{method:"PUT",url:"/settings/{loginId}/user-login",headers:{"x-studio-id":e},query:{loginId:t},body:a,mediaType:"application/json"})}static deleteUserLogin(e,t){return o(r,{method:"DELETE",url:"/settings/{loginId}",headers:{"x-studio-id":e},query:{loginId:t}})}static createBugReport(e,t){return o(r,{method:"POST",url:"/settings/bug-report",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var Qe=class{static getShowList(e){return o(r,{method:"GET",url:"/shows",headers:{"x-studio-id":e}})}static getRentedShowList(e){return o(r,{method:"GET",url:"/shows/rented-shows",headers:{"x-studio-id":e}})}static getShowDetail(e,t){return o(r,{method:"GET",url:"/shows/{showId}",path:{showId:t},headers:{"x-studio-id":e}})}static getShowStatDetail(e,t){return o(r,{method:"GET",url:"/shows/{showId}/stats",path:{showId:t},headers:{"x-studio-id":e}})}static getShowPricingDetail(e,t){return o(r,{method:"GET",url:"/shows/{showId}/pricing",path:{showId:t},headers:{"x-studio-id":e}})}static getShowEmailBuyers(e,t){return o(r,{method:"GET",url:"/shows/{showId}/email-buyers",path:{showId:t},headers:{"x-studio-id":e}})}static emailBuyers(e,t,a){return o(r,{method:"POST",url:"/shows/{showId}/email-buyers",path:{showId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static getShowChartPreview(e,t){return o(r,{method:"GET",url:"/shows/{showId}/chart-preview",path:{showId:t},headers:{"x-studio-id":e}})}static getShowTicketSections(e,t){return o(r,{method:"GET",url:"/shows/{showId}/print-ticket",path:{showId:t},headers:{"x-studio-id":e}})}static getShowVideoStreams(e,t){return o(r,{method:"GET",url:"/shows/{showId}/stream",path:{showId:t},headers:{"x-studio-id":e}})}static getShowVirtualStream(e){return o(r,{method:"GET",url:"/shows/{guid}/virtual-stream",path:{guid:e}})}static getMigrateTicketDetails(e,t){return o(r,{method:"GET",url:"/shows/{showId}/migrate-tickets",path:{showId:t},headers:{"x-studio-id":e}})}static getDigitalAssets(e,t){return o(r,{method:"GET",url:"/shows/{showId}/digital-assets",path:{showId:t},headers:{"x-studio-id":e}})}static getAssetLog(e,t){return o(r,{method:"GET",url:"/shows/{assetId}/asset-log",path:{assetId:t},headers:{"x-studio-id":e}})}static getOrderSeats(e,t){return o(r,{method:"GET",url:"/shows/{orderId}/order-seats",path:{orderId:t},headers:{"x-studio-id":e}})}static getShowChartReviewStatus(e,t){return o(r,{method:"GET",url:"/shows/{showId}/chart-review-status",path:{showId:t},headers:{"x-studio-id":e}})}static getShowSectionDetail(e,t){return o(r,{method:"GET",url:"/shows/{showId}/{sectionId}/section-detail",path:{showId:e,sectionId:t}})}static getShowPerformersDetail(e,t){return o(r,{method:"POST",url:"/shows/performers/list",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static addPerformers(e,t){return o(r,{method:"POST",url:"/shows/performers/create",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static generateChartReview(e,t,a){return o(r,{method:"POST",url:"/shows/{showId}/chart-review",path:{showId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static addYouTubeVideo(e,t){return o(r,{method:"POST",url:"/shows/{showId}/add-youtube-video",path:{showId:e},body:t,mediaType:"application/json"})}static approveShow(e,t,a){return o(r,{method:"POST",url:"/shows/{showId}/approve-show",path:{showId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static migrateTickets(e){return o(r,{method:"PUT",url:"/shows/migrate-ticket",body:e,mediaType:"application/json"})}static editShow(e,t){return o(r,{method:"PUT",url:"/shows/edit-show",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePerformers(e,t){return o(r,{method:"PUT",url:"/shows/performers/toggle-primary",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static stopSale(e,t,a){return o(r,{method:"PUT",url:"/shows/{showId}/stop-sale",path:{showId:t},headers:{"x-studio-id":e},body:a,mediaType:"application/json"})}static deletePerformer(e){return o(r,{method:"DELETE",url:"/shows/performers/remove-performer",body:e,mediaType:"application/json"})}static deleteAllPerformers(e){return o(r,{method:"DELETE",url:"/shows/{showId}/performers/remove-all",path:{showId:e}})}};var ze=class{static getAbandonedCarts(e){return o(r,{method:"GET",url:"/superuser/abandoned-carts",headers:{"x-studio-id":e}})}static deleteAbandonedCarts(e,t){return o(r,{method:"DELETE",url:"/superuser/abandoned-carts",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var It={};var Pt={account:xe,accounting:Ee,app:Se,auth:we,bookmark:be,clienttoolsgeneratedemails:Ie,clienttoolsparentletter:Pe,clienttoolspatrondatabase:ve,clienttoolsseatassignmenttool:Oe,clienttoolsstripeonboarding:qe,clienttoolsthemebuilder:je,clienttoolsthemeslibrary:Ce,clienttoolsticketinglink:Ge,clienttoolsticketscanning:ke,clienttoolsunapprovedorders:Re,clienttoolswaitlist:_e,dashboard:Ae,featuresblockedseats:De,featurescheckoutquestions:Be,featuresdiscounts:Ne,featuresdonations:Ue,featuresgiftcards:Le,featuresgoldentickets:Fe,featureslandingpage:He,featurespriority:$e,featuresproducts:We,orderlookup:Me,reports:Je,settings:Ve,shows:Qe,superuserabandonedcarts:ze};r.WITH_CREDENTIALS=!0;var mt={shopper:"https://api.drttix.com/shopper",scanner:"https://api.drttix.com/scanner-v3",portal:"https://api.drttix.com/admin-portal"},vt=!1;function Ot(){var s;if(vt)return;vt=!0;let e=typeof globalThis<"u"?globalThis:{},t=(s=e.DRT_API_BASE_URL)!==null&&s!==void 0?s:null,a=e.DRT_API_LOCAL===!0||e.DRT_API_LOCAL==="true",i=t||(a?"http://localhost:3000":null);u.BASE=i?`${i}/shopper`:mt.shopper,T.BASE=i?`${i}/scanner-v3`:mt.scanner,r.BASE=i?`${i}/portal`:mt.portal}var ft=!1,yt=null;function qt(s){if(!s.shopperGuid||!s.accountId||!s.apiKey)throw new Error("DRT SDK init requires shopperGuid, accountId, and apiKey");yt=s;let e={shopperguid:s.shopperGuid,accountid:s.accountId,apikey:s.apiKey};u.HEADERS=e,T.HEADERS=e,r.HEADERS=e,ft=!0}function jt(){return ft}function Ct(){return yt}function Gt(){yt=null,ft=!1,u.HEADERS=void 0,T.HEADERS=void 0,r.HEADERS=void 0}var fd={shopper:xt,scanner:wt,portal:Pt,init:qt,isReady:jt,getConfig:Ct,reset:Gt};Ot();export{fd as DRT,It as PortalTypes,St as ScannerTypes,gt as ShopperTypes};
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ export declare const DRT: {
|
|
|
59
59
|
superuseralertsandnotifications: typeof import("./src/generated/portal").SuperUserAlertsAndNotificationsService;
|
|
60
60
|
superuserbuyerblacklist: typeof import("./src/generated/portal").SuperUserBuyerBlacklistService;
|
|
61
61
|
superuserdocumentlibrary: typeof import("./src/generated/portal").SuperUserDocumentLibraryService;
|
|
62
|
+
superusereditcss: typeof import("./src/generated/portal").SuperUserEditCssService;
|
|
62
63
|
superuserreleasedtickets: typeof import("./src/generated/portal").SuperUserReleasedTicketsService;
|
|
63
64
|
superusershoppers: typeof import("./src/generated/portal").SuperUserShoppersService;
|
|
64
65
|
superusersupporttickets: typeof import("./src/generated/portal").SuperUserSupportTicketsService;
|
|
@@ -34,6 +34,7 @@ import { SuperUserAbandonedCartsService } from "../generated/portal";
|
|
|
34
34
|
import { SuperUserAlertsAndNotificationsService } from "../generated/portal";
|
|
35
35
|
import { SuperUserBuyerBlacklistService } from "../generated/portal";
|
|
36
36
|
import { SuperUserDocumentLibraryService } from "../generated/portal";
|
|
37
|
+
import { SuperUserEditCssService } from "../generated/portal";
|
|
37
38
|
import { SuperUserReleasedTicketsService } from "../generated/portal";
|
|
38
39
|
import { SuperUserShoppersService } from "../generated/portal";
|
|
39
40
|
import { SuperUserSupportTicketsService } from "../generated/portal";
|
|
@@ -75,6 +76,7 @@ export declare const portal: {
|
|
|
75
76
|
superuseralertsandnotifications: typeof SuperUserAlertsAndNotificationsService;
|
|
76
77
|
superuserbuyerblacklist: typeof SuperUserBuyerBlacklistService;
|
|
77
78
|
superuserdocumentlibrary: typeof SuperUserDocumentLibraryService;
|
|
79
|
+
superusereditcss: typeof SuperUserEditCssService;
|
|
78
80
|
superuserreleasedtickets: typeof SuperUserReleasedTicketsService;
|
|
79
81
|
superusershoppers: typeof SuperUserShoppersService;
|
|
80
82
|
superusersupporttickets: typeof SuperUserSupportTicketsService;
|
|
@@ -75,6 +75,7 @@ const portal_37 = require("../generated/portal");
|
|
|
75
75
|
const portal_38 = require("../generated/portal");
|
|
76
76
|
const portal_39 = require("../generated/portal");
|
|
77
77
|
const portal_40 = require("../generated/portal");
|
|
78
|
+
const portal_41 = require("../generated/portal");
|
|
78
79
|
exports.portal = {
|
|
79
80
|
account: portal_1.AccountService,
|
|
80
81
|
accounting: portal_2.AccountingService,
|
|
@@ -112,10 +113,11 @@ exports.portal = {
|
|
|
112
113
|
superuseralertsandnotifications: portal_34.SuperUserAlertsAndNotificationsService,
|
|
113
114
|
superuserbuyerblacklist: portal_35.SuperUserBuyerBlacklistService,
|
|
114
115
|
superuserdocumentlibrary: portal_36.SuperUserDocumentLibraryService,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
116
|
+
superusereditcss: portal_37.SuperUserEditCssService,
|
|
117
|
+
superuserreleasedtickets: portal_38.SuperUserReleasedTicketsService,
|
|
118
|
+
superusershoppers: portal_39.SuperUserShoppersService,
|
|
119
|
+
superusersupporttickets: portal_40.SuperUserSupportTicketsService,
|
|
120
|
+
superusertimedtriggers: portal_41.SuperUserTimedTriggersService,
|
|
119
121
|
};
|
|
120
122
|
// Re-export all types as a namespace
|
|
121
123
|
exports.PortalTypes = __importStar(require("../generated/portal/types"));
|
|
@@ -126,6 +126,8 @@ export type { FutureMailResponseDto } from './models/FutureMailResponseDto';
|
|
|
126
126
|
export type { GatewayStatus } from './models/GatewayStatus';
|
|
127
127
|
export type { GenerateCodeRequestDto } from './models/GenerateCodeRequestDto';
|
|
128
128
|
export type { GenerateGroupCodeRequestDto } from './models/GenerateGroupCodeRequestDto';
|
|
129
|
+
export type { GetCssImageResponseDto } from './models/GetCssImageResponseDto';
|
|
130
|
+
export type { GetCssResponseDto } from './models/GetCssResponseDto';
|
|
129
131
|
export type { GetSettingsResponseDto } from './models/GetSettingsResponseDto';
|
|
130
132
|
export type { GiftCardResponseDto } from './models/GiftCardResponseDto';
|
|
131
133
|
export type { GiftCardTransactionsResponseDto } from './models/GiftCardTransactionsResponseDto';
|
|
@@ -350,6 +352,7 @@ export type { UnAvailableSeating } from './models/UnAvailableSeating';
|
|
|
350
352
|
export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
|
|
351
353
|
export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
|
|
352
354
|
export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
|
|
355
|
+
export type { UpdateCssRequestDto } from './models/UpdateCssRequestDto';
|
|
353
356
|
export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
|
|
354
357
|
export type { UpdateEmailRequestDto } from './models/UpdateEmailRequestDto';
|
|
355
358
|
export type { UpdateHelpRequestDto } from './models/UpdateHelpRequestDto';
|
|
@@ -415,6 +418,7 @@ export { SuperUserAbandonedCartsService } from './services/SuperUserAbandonedCar
|
|
|
415
418
|
export { SuperUserAlertsAndNotificationsService } from './services/SuperUserAlertsAndNotificationsService';
|
|
416
419
|
export { SuperUserBuyerBlacklistService } from './services/SuperUserBuyerBlacklistService';
|
|
417
420
|
export { SuperUserDocumentLibraryService } from './services/SuperUserDocumentLibraryService';
|
|
421
|
+
export { SuperUserEditCssService } from './services/SuperUserEditCssService';
|
|
418
422
|
export { SuperUserReleasedTicketsService } from './services/SuperUserReleasedTicketsService';
|
|
419
423
|
export { SuperUserShoppersService } from './services/SuperUserShoppersService';
|
|
420
424
|
export { SuperUserSupportTicketsService } from './services/SuperUserSupportTicketsService';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SuperUserTimedTriggersService = exports.SuperUserSupportTicketsService = exports.SuperUserShoppersService = exports.SuperUserReleasedTicketsService = exports.SuperUserDocumentLibraryService = exports.SuperUserBuyerBlacklistService = exports.SuperUserAlertsAndNotificationsService = exports.SuperUserAbandonedCartsService = exports.ShowsService = exports.SettingsService = exports.ReportsService = exports.OrderLookupService = exports.HelpService = exports.FeaturesProductsService = exports.FeaturesPriorityService = exports.FeaturesLandingPageService = exports.FeaturesGoldenTicketsService = exports.FeaturesGiftCardsService = exports.FeaturesDonationsService = exports.FeaturesDiscountsService = exports.FeaturesCheckoutQuestionsService = exports.FeaturesBlockedSeatsService = exports.DashboardService = exports.ClientToolsWaitlistService = exports.ClientToolsUnapprovedOrdersService = exports.ClientToolsTicketScanningService = exports.ClientToolsTicketingLinkService = exports.ClientToolsThemesLibraryService = exports.ClientToolsThemeBuilderService = exports.ClientToolsStripeOnboardingService = exports.ClientToolsSeatAssignmentToolService = exports.ClientToolsPatronDatabaseService = exports.ClientToolsParentLetterService = exports.ClientToolsInterviewUpdateService = exports.ClientToolsGeneratedEmailsService = exports.BookmarkService = exports.AuthService = exports.AppService = exports.AccountingService = exports.AccountService = exports.UpdateTaxRegistrationRequestDto = exports.UpdateStripeUsageRequestDto = exports.CheckoutAnswerOrderRequestDto = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
|
|
3
|
+
exports.SuperUserTimedTriggersService = exports.SuperUserSupportTicketsService = exports.SuperUserShoppersService = exports.SuperUserReleasedTicketsService = exports.SuperUserEditCssService = exports.SuperUserDocumentLibraryService = exports.SuperUserBuyerBlacklistService = exports.SuperUserAlertsAndNotificationsService = exports.SuperUserAbandonedCartsService = exports.ShowsService = exports.SettingsService = exports.ReportsService = exports.OrderLookupService = exports.HelpService = exports.FeaturesProductsService = exports.FeaturesPriorityService = exports.FeaturesLandingPageService = exports.FeaturesGoldenTicketsService = exports.FeaturesGiftCardsService = exports.FeaturesDonationsService = exports.FeaturesDiscountsService = exports.FeaturesCheckoutQuestionsService = exports.FeaturesBlockedSeatsService = exports.DashboardService = exports.ClientToolsWaitlistService = exports.ClientToolsUnapprovedOrdersService = exports.ClientToolsTicketScanningService = exports.ClientToolsTicketingLinkService = exports.ClientToolsThemesLibraryService = exports.ClientToolsThemeBuilderService = exports.ClientToolsStripeOnboardingService = exports.ClientToolsSeatAssignmentToolService = exports.ClientToolsPatronDatabaseService = exports.ClientToolsParentLetterService = exports.ClientToolsInterviewUpdateService = exports.ClientToolsGeneratedEmailsService = exports.BookmarkService = exports.AuthService = exports.AppService = exports.AccountingService = exports.AccountService = exports.UpdateTaxRegistrationRequestDto = exports.UpdateStripeUsageRequestDto = exports.CheckoutAnswerOrderRequestDto = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
|
|
4
4
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
5
5
|
/* istanbul ignore file */
|
|
6
6
|
/* tslint:disable */
|
|
@@ -90,6 +90,8 @@ var SuperUserBuyerBlacklistService_1 = require("./services/SuperUserBuyerBlackli
|
|
|
90
90
|
Object.defineProperty(exports, "SuperUserBuyerBlacklistService", { enumerable: true, get: function () { return SuperUserBuyerBlacklistService_1.SuperUserBuyerBlacklistService; } });
|
|
91
91
|
var SuperUserDocumentLibraryService_1 = require("./services/SuperUserDocumentLibraryService");
|
|
92
92
|
Object.defineProperty(exports, "SuperUserDocumentLibraryService", { enumerable: true, get: function () { return SuperUserDocumentLibraryService_1.SuperUserDocumentLibraryService; } });
|
|
93
|
+
var SuperUserEditCssService_1 = require("./services/SuperUserEditCssService");
|
|
94
|
+
Object.defineProperty(exports, "SuperUserEditCssService", { enumerable: true, get: function () { return SuperUserEditCssService_1.SuperUserEditCssService; } });
|
|
93
95
|
var SuperUserReleasedTicketsService_1 = require("./services/SuperUserReleasedTicketsService");
|
|
94
96
|
Object.defineProperty(exports, "SuperUserReleasedTicketsService", { enumerable: true, get: function () { return SuperUserReleasedTicketsService_1.SuperUserReleasedTicketsService; } });
|
|
95
97
|
var SuperUserShoppersService_1 = require("./services/SuperUserShoppersService");
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type StudentCreditBuyerResponseDto = {
|
|
2
|
+
id: number;
|
|
3
|
+
firstName: string;
|
|
4
|
+
lastName: string;
|
|
5
|
+
phone: string;
|
|
6
|
+
email: string;
|
|
7
|
+
shippingAddress1: string;
|
|
8
|
+
shippingAddress2: string;
|
|
9
|
+
shippingCity: string;
|
|
10
|
+
shippingState: string;
|
|
11
|
+
shippingPostal: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { GetCssImageResponseDto } from '../models/GetCssImageResponseDto';
|
|
2
|
+
import type { GetCssResponseDto } from '../models/GetCssResponseDto';
|
|
3
|
+
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
4
|
+
import type { UpdateCssRequestDto } from '../models/UpdateCssRequestDto';
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
|
+
export declare class SuperUserEditCssService {
|
|
7
|
+
/**
|
|
8
|
+
* Fetch the custom css
|
|
9
|
+
* Fetch the custom css for a studio
|
|
10
|
+
* @param xStudioId The ID of the studio
|
|
11
|
+
* @returns GetCssResponseDto Css fetched successfully
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static getCss(xStudioId: string): CancelablePromise<GetCssResponseDto>;
|
|
15
|
+
/**
|
|
16
|
+
* Update the custom css
|
|
17
|
+
* Update the custom css for a studio
|
|
18
|
+
* @param xStudioId The ID of the studio
|
|
19
|
+
* @param requestBody Payload to update the custom css for a studio
|
|
20
|
+
* @returns SuccessResponse Css updated successfully
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
static updateCss(xStudioId: string, requestBody: UpdateCssRequestDto): CancelablePromise<SuccessResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Fetch the custom images
|
|
26
|
+
* Fetch the custom images for a studio
|
|
27
|
+
* @param xStudioId The ID of the studio
|
|
28
|
+
* @returns GetCssImageResponseDto Images fetched successfully
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
static getImages(xStudioId: string): CancelablePromise<Array<GetCssImageResponseDto>>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SuperUserEditCssService = void 0;
|
|
4
|
+
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
+
const request_1 = require("../core/request");
|
|
6
|
+
class SuperUserEditCssService {
|
|
7
|
+
/**
|
|
8
|
+
* Fetch the custom css
|
|
9
|
+
* Fetch the custom css for a studio
|
|
10
|
+
* @param xStudioId The ID of the studio
|
|
11
|
+
* @returns GetCssResponseDto Css fetched successfully
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static getCss(xStudioId) {
|
|
15
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
16
|
+
method: 'GET',
|
|
17
|
+
url: '/superuser/edit-css',
|
|
18
|
+
headers: {
|
|
19
|
+
'x-studio-id': xStudioId,
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Update the custom css
|
|
25
|
+
* Update the custom css for a studio
|
|
26
|
+
* @param xStudioId The ID of the studio
|
|
27
|
+
* @param requestBody Payload to update the custom css for a studio
|
|
28
|
+
* @returns SuccessResponse Css updated successfully
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
static updateCss(xStudioId, requestBody) {
|
|
32
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
33
|
+
method: 'PUT',
|
|
34
|
+
url: '/superuser/edit-css',
|
|
35
|
+
headers: {
|
|
36
|
+
'x-studio-id': xStudioId,
|
|
37
|
+
},
|
|
38
|
+
body: requestBody,
|
|
39
|
+
mediaType: 'application/json',
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Fetch the custom images
|
|
44
|
+
* Fetch the custom images for a studio
|
|
45
|
+
* @param xStudioId The ID of the studio
|
|
46
|
+
* @returns GetCssImageResponseDto Images fetched successfully
|
|
47
|
+
* @throws ApiError
|
|
48
|
+
*/
|
|
49
|
+
static getImages(xStudioId) {
|
|
50
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
51
|
+
method: 'GET',
|
|
52
|
+
url: '/superuser/edit-css/images',
|
|
53
|
+
headers: {
|
|
54
|
+
'x-studio-id': xStudioId,
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.SuperUserEditCssService = SuperUserEditCssService;
|
|
@@ -121,6 +121,8 @@ export type { FutureMailResponseDto } from './models/FutureMailResponseDto';
|
|
|
121
121
|
export type { GatewayStatus } from './models/GatewayStatus';
|
|
122
122
|
export type { GenerateCodeRequestDto } from './models/GenerateCodeRequestDto';
|
|
123
123
|
export type { GenerateGroupCodeRequestDto } from './models/GenerateGroupCodeRequestDto';
|
|
124
|
+
export type { GetCssImageResponseDto } from './models/GetCssImageResponseDto';
|
|
125
|
+
export type { GetCssResponseDto } from './models/GetCssResponseDto';
|
|
124
126
|
export type { GetSettingsResponseDto } from './models/GetSettingsResponseDto';
|
|
125
127
|
export type { GiftCardResponseDto } from './models/GiftCardResponseDto';
|
|
126
128
|
export type { GiftCardTransactionsResponseDto } from './models/GiftCardTransactionsResponseDto';
|
|
@@ -345,6 +347,7 @@ export type { UnAvailableSeating } from './models/UnAvailableSeating';
|
|
|
345
347
|
export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
|
|
346
348
|
export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
|
|
347
349
|
export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
|
|
350
|
+
export type { UpdateCssRequestDto } from './models/UpdateCssRequestDto';
|
|
348
351
|
export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
|
|
349
352
|
export type { UpdateEmailRequestDto } from './models/UpdateEmailRequestDto';
|
|
350
353
|
export type { UpdateHelpRequestDto } from './models/UpdateHelpRequestDto';
|
|
@@ -74,6 +74,7 @@ export declare const DRT: {
|
|
|
74
74
|
superuseralertsandnotifications: typeof import("../generated/portal").SuperUserAlertsAndNotificationsService;
|
|
75
75
|
superuserbuyerblacklist: typeof import("../generated/portal").SuperUserBuyerBlacklistService;
|
|
76
76
|
superuserdocumentlibrary: typeof import("../generated/portal").SuperUserDocumentLibraryService;
|
|
77
|
+
superusereditcss: typeof import("../generated/portal").SuperUserEditCssService;
|
|
77
78
|
superuserreleasedtickets: typeof import("../generated/portal").SuperUserReleasedTicketsService;
|
|
78
79
|
superusershoppers: typeof import("../generated/portal").SuperUserShoppersService;
|
|
79
80
|
superusersupporttickets: typeof import("../generated/portal").SuperUserSupportTicketsService;
|
|
@@ -34,6 +34,7 @@ import { SuperUserAbandonedCartsService } from "../generated/portal";
|
|
|
34
34
|
import { SuperUserAlertsAndNotificationsService } from "../generated/portal";
|
|
35
35
|
import { SuperUserBuyerBlacklistService } from "../generated/portal";
|
|
36
36
|
import { SuperUserDocumentLibraryService } from "../generated/portal";
|
|
37
|
+
import { SuperUserEditCssService } from "../generated/portal";
|
|
37
38
|
import { SuperUserReleasedTicketsService } from "../generated/portal";
|
|
38
39
|
import { SuperUserShoppersService } from "../generated/portal";
|
|
39
40
|
import { SuperUserSupportTicketsService } from "../generated/portal";
|
|
@@ -75,6 +76,7 @@ export declare const portalStaging: {
|
|
|
75
76
|
superuseralertsandnotifications: typeof SuperUserAlertsAndNotificationsService;
|
|
76
77
|
superuserbuyerblacklist: typeof SuperUserBuyerBlacklistService;
|
|
77
78
|
superuserdocumentlibrary: typeof SuperUserDocumentLibraryService;
|
|
79
|
+
superusereditcss: typeof SuperUserEditCssService;
|
|
78
80
|
superuserreleasedtickets: typeof SuperUserReleasedTicketsService;
|
|
79
81
|
superusershoppers: typeof SuperUserShoppersService;
|
|
80
82
|
superusersupporttickets: typeof SuperUserSupportTicketsService;
|
|
@@ -78,6 +78,7 @@ const portal_37 = require("../generated/portal");
|
|
|
78
78
|
const portal_38 = require("../generated/portal");
|
|
79
79
|
const portal_39 = require("../generated/portal");
|
|
80
80
|
const portal_40 = require("../generated/portal");
|
|
81
|
+
const portal_41 = require("../generated/portal");
|
|
81
82
|
const wrap = (service) => (0, wrapService_1.wrapServiceForStaging)(service, OpenAPI_1.OpenAPI, wrapService_1.STAGING_URLS.portal);
|
|
82
83
|
exports.portalStaging = {
|
|
83
84
|
account: wrap(portal_1.AccountService),
|
|
@@ -116,10 +117,11 @@ exports.portalStaging = {
|
|
|
116
117
|
superuseralertsandnotifications: wrap(portal_34.SuperUserAlertsAndNotificationsService),
|
|
117
118
|
superuserbuyerblacklist: wrap(portal_35.SuperUserBuyerBlacklistService),
|
|
118
119
|
superuserdocumentlibrary: wrap(portal_36.SuperUserDocumentLibraryService),
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
120
|
+
superusereditcss: wrap(portal_37.SuperUserEditCssService),
|
|
121
|
+
superuserreleasedtickets: wrap(portal_38.SuperUserReleasedTicketsService),
|
|
122
|
+
superusershoppers: wrap(portal_39.SuperUserShoppersService),
|
|
123
|
+
superusersupporttickets: wrap(portal_40.SuperUserSupportTicketsService),
|
|
124
|
+
superusertimedtriggers: wrap(portal_41.SuperUserTimedTriggersService),
|
|
123
125
|
};
|
|
124
126
|
// Re-export types
|
|
125
127
|
exports.PortalTypes = __importStar(require("../generated/portal/types"));
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ export declare const DRT: {
|
|
|
59
59
|
superuseralertsandnotifications: typeof import("./src/generated/portal").SuperUserAlertsAndNotificationsService;
|
|
60
60
|
superuserbuyerblacklist: typeof import("./src/generated/portal").SuperUserBuyerBlacklistService;
|
|
61
61
|
superuserdocumentlibrary: typeof import("./src/generated/portal").SuperUserDocumentLibraryService;
|
|
62
|
+
superusereditcss: typeof import("./src/generated/portal").SuperUserEditCssService;
|
|
62
63
|
superuserreleasedtickets: typeof import("./src/generated/portal").SuperUserReleasedTicketsService;
|
|
63
64
|
superusershoppers: typeof import("./src/generated/portal").SuperUserShoppersService;
|
|
64
65
|
superusersupporttickets: typeof import("./src/generated/portal").SuperUserSupportTicketsService;
|
|
@@ -34,6 +34,7 @@ import { SuperUserAbandonedCartsService } from "../generated/portal";
|
|
|
34
34
|
import { SuperUserAlertsAndNotificationsService } from "../generated/portal";
|
|
35
35
|
import { SuperUserBuyerBlacklistService } from "../generated/portal";
|
|
36
36
|
import { SuperUserDocumentLibraryService } from "../generated/portal";
|
|
37
|
+
import { SuperUserEditCssService } from "../generated/portal";
|
|
37
38
|
import { SuperUserReleasedTicketsService } from "../generated/portal";
|
|
38
39
|
import { SuperUserShoppersService } from "../generated/portal";
|
|
39
40
|
import { SuperUserSupportTicketsService } from "../generated/portal";
|
|
@@ -75,6 +76,7 @@ export declare const portal: {
|
|
|
75
76
|
superuseralertsandnotifications: typeof SuperUserAlertsAndNotificationsService;
|
|
76
77
|
superuserbuyerblacklist: typeof SuperUserBuyerBlacklistService;
|
|
77
78
|
superuserdocumentlibrary: typeof SuperUserDocumentLibraryService;
|
|
79
|
+
superusereditcss: typeof SuperUserEditCssService;
|
|
78
80
|
superuserreleasedtickets: typeof SuperUserReleasedTicketsService;
|
|
79
81
|
superusershoppers: typeof SuperUserShoppersService;
|
|
80
82
|
superusersupporttickets: typeof SuperUserSupportTicketsService;
|
|
@@ -35,6 +35,7 @@ import { SuperUserAbandonedCartsService } from "../generated/portal/index.js";
|
|
|
35
35
|
import { SuperUserAlertsAndNotificationsService } from "../generated/portal/index.js";
|
|
36
36
|
import { SuperUserBuyerBlacklistService } from "../generated/portal/index.js";
|
|
37
37
|
import { SuperUserDocumentLibraryService } from "../generated/portal/index.js";
|
|
38
|
+
import { SuperUserEditCssService } from "../generated/portal/index.js";
|
|
38
39
|
import { SuperUserReleasedTicketsService } from "../generated/portal/index.js";
|
|
39
40
|
import { SuperUserShoppersService } from "../generated/portal/index.js";
|
|
40
41
|
import { SuperUserSupportTicketsService } from "../generated/portal/index.js";
|
|
@@ -76,6 +77,7 @@ export const portal = {
|
|
|
76
77
|
superuseralertsandnotifications: SuperUserAlertsAndNotificationsService,
|
|
77
78
|
superuserbuyerblacklist: SuperUserBuyerBlacklistService,
|
|
78
79
|
superuserdocumentlibrary: SuperUserDocumentLibraryService,
|
|
80
|
+
superusereditcss: SuperUserEditCssService,
|
|
79
81
|
superuserreleasedtickets: SuperUserReleasedTicketsService,
|
|
80
82
|
superusershoppers: SuperUserShoppersService,
|
|
81
83
|
superusersupporttickets: SuperUserSupportTicketsService,
|
|
@@ -126,6 +126,8 @@ export type { FutureMailResponseDto } from './models/FutureMailResponseDto';
|
|
|
126
126
|
export type { GatewayStatus } from './models/GatewayStatus';
|
|
127
127
|
export type { GenerateCodeRequestDto } from './models/GenerateCodeRequestDto';
|
|
128
128
|
export type { GenerateGroupCodeRequestDto } from './models/GenerateGroupCodeRequestDto';
|
|
129
|
+
export type { GetCssImageResponseDto } from './models/GetCssImageResponseDto';
|
|
130
|
+
export type { GetCssResponseDto } from './models/GetCssResponseDto';
|
|
129
131
|
export type { GetSettingsResponseDto } from './models/GetSettingsResponseDto';
|
|
130
132
|
export type { GiftCardResponseDto } from './models/GiftCardResponseDto';
|
|
131
133
|
export type { GiftCardTransactionsResponseDto } from './models/GiftCardTransactionsResponseDto';
|
|
@@ -350,6 +352,7 @@ export type { UnAvailableSeating } from './models/UnAvailableSeating';
|
|
|
350
352
|
export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
|
|
351
353
|
export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
|
|
352
354
|
export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
|
|
355
|
+
export type { UpdateCssRequestDto } from './models/UpdateCssRequestDto';
|
|
353
356
|
export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
|
|
354
357
|
export type { UpdateEmailRequestDto } from './models/UpdateEmailRequestDto';
|
|
355
358
|
export type { UpdateHelpRequestDto } from './models/UpdateHelpRequestDto';
|
|
@@ -415,6 +418,7 @@ export { SuperUserAbandonedCartsService } from './services/SuperUserAbandonedCar
|
|
|
415
418
|
export { SuperUserAlertsAndNotificationsService } from './services/SuperUserAlertsAndNotificationsService';
|
|
416
419
|
export { SuperUserBuyerBlacklistService } from './services/SuperUserBuyerBlacklistService';
|
|
417
420
|
export { SuperUserDocumentLibraryService } from './services/SuperUserDocumentLibraryService';
|
|
421
|
+
export { SuperUserEditCssService } from './services/SuperUserEditCssService';
|
|
418
422
|
export { SuperUserReleasedTicketsService } from './services/SuperUserReleasedTicketsService';
|
|
419
423
|
export { SuperUserShoppersService } from './services/SuperUserShoppersService';
|
|
420
424
|
export { SuperUserSupportTicketsService } from './services/SuperUserSupportTicketsService';
|
|
@@ -44,6 +44,7 @@ export { SuperUserAbandonedCartsService } from './services/SuperUserAbandonedCar
|
|
|
44
44
|
export { SuperUserAlertsAndNotificationsService } from './services/SuperUserAlertsAndNotificationsService.js';
|
|
45
45
|
export { SuperUserBuyerBlacklistService } from './services/SuperUserBuyerBlacklistService.js';
|
|
46
46
|
export { SuperUserDocumentLibraryService } from './services/SuperUserDocumentLibraryService.js';
|
|
47
|
+
export { SuperUserEditCssService } from './services/SuperUserEditCssService.js';
|
|
47
48
|
export { SuperUserReleasedTicketsService } from './services/SuperUserReleasedTicketsService.js';
|
|
48
49
|
export { SuperUserShoppersService } from './services/SuperUserShoppersService.js';
|
|
49
50
|
export { SuperUserSupportTicketsService } from './services/SuperUserSupportTicketsService.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type StudentCreditBuyerResponseDto = {
|
|
2
|
+
id: number;
|
|
3
|
+
firstName: string;
|
|
4
|
+
lastName: string;
|
|
5
|
+
phone: string;
|
|
6
|
+
email: string;
|
|
7
|
+
shippingAddress1: string;
|
|
8
|
+
shippingAddress2: string;
|
|
9
|
+
shippingCity: string;
|
|
10
|
+
shippingState: string;
|
|
11
|
+
shippingPostal: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { GetCssImageResponseDto } from '../models/GetCssImageResponseDto';
|
|
2
|
+
import type { GetCssResponseDto } from '../models/GetCssResponseDto';
|
|
3
|
+
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
4
|
+
import type { UpdateCssRequestDto } from '../models/UpdateCssRequestDto';
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
|
+
export declare class SuperUserEditCssService {
|
|
7
|
+
/**
|
|
8
|
+
* Fetch the custom css
|
|
9
|
+
* Fetch the custom css for a studio
|
|
10
|
+
* @param xStudioId The ID of the studio
|
|
11
|
+
* @returns GetCssResponseDto Css fetched successfully
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static getCss(xStudioId: string): CancelablePromise<GetCssResponseDto>;
|
|
15
|
+
/**
|
|
16
|
+
* Update the custom css
|
|
17
|
+
* Update the custom css for a studio
|
|
18
|
+
* @param xStudioId The ID of the studio
|
|
19
|
+
* @param requestBody Payload to update the custom css for a studio
|
|
20
|
+
* @returns SuccessResponse Css updated successfully
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
static updateCss(xStudioId: string, requestBody: UpdateCssRequestDto): CancelablePromise<SuccessResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Fetch the custom images
|
|
26
|
+
* Fetch the custom images for a studio
|
|
27
|
+
* @param xStudioId The ID of the studio
|
|
28
|
+
* @returns GetCssImageResponseDto Images fetched successfully
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
static getImages(xStudioId: string): CancelablePromise<Array<GetCssImageResponseDto>>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class SuperUserEditCssService {
|
|
4
|
+
/**
|
|
5
|
+
* Fetch the custom css
|
|
6
|
+
* Fetch the custom css for a studio
|
|
7
|
+
* @param xStudioId The ID of the studio
|
|
8
|
+
* @returns GetCssResponseDto Css fetched successfully
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static getCss(xStudioId) {
|
|
12
|
+
return __request(OpenAPI, {
|
|
13
|
+
method: 'GET',
|
|
14
|
+
url: '/superuser/edit-css',
|
|
15
|
+
headers: {
|
|
16
|
+
'x-studio-id': xStudioId,
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Update the custom css
|
|
22
|
+
* Update the custom css for a studio
|
|
23
|
+
* @param xStudioId The ID of the studio
|
|
24
|
+
* @param requestBody Payload to update the custom css for a studio
|
|
25
|
+
* @returns SuccessResponse Css updated successfully
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static updateCss(xStudioId, requestBody) {
|
|
29
|
+
return __request(OpenAPI, {
|
|
30
|
+
method: 'PUT',
|
|
31
|
+
url: '/superuser/edit-css',
|
|
32
|
+
headers: {
|
|
33
|
+
'x-studio-id': xStudioId,
|
|
34
|
+
},
|
|
35
|
+
body: requestBody,
|
|
36
|
+
mediaType: 'application/json',
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Fetch the custom images
|
|
41
|
+
* Fetch the custom images for a studio
|
|
42
|
+
* @param xStudioId The ID of the studio
|
|
43
|
+
* @returns GetCssImageResponseDto Images fetched successfully
|
|
44
|
+
* @throws ApiError
|
|
45
|
+
*/
|
|
46
|
+
static getImages(xStudioId) {
|
|
47
|
+
return __request(OpenAPI, {
|
|
48
|
+
method: 'GET',
|
|
49
|
+
url: '/superuser/edit-css/images',
|
|
50
|
+
headers: {
|
|
51
|
+
'x-studio-id': xStudioId,
|
|
52
|
+
},
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -121,6 +121,8 @@ export type { FutureMailResponseDto } from './models/FutureMailResponseDto';
|
|
|
121
121
|
export type { GatewayStatus } from './models/GatewayStatus';
|
|
122
122
|
export type { GenerateCodeRequestDto } from './models/GenerateCodeRequestDto';
|
|
123
123
|
export type { GenerateGroupCodeRequestDto } from './models/GenerateGroupCodeRequestDto';
|
|
124
|
+
export type { GetCssImageResponseDto } from './models/GetCssImageResponseDto';
|
|
125
|
+
export type { GetCssResponseDto } from './models/GetCssResponseDto';
|
|
124
126
|
export type { GetSettingsResponseDto } from './models/GetSettingsResponseDto';
|
|
125
127
|
export type { GiftCardResponseDto } from './models/GiftCardResponseDto';
|
|
126
128
|
export type { GiftCardTransactionsResponseDto } from './models/GiftCardTransactionsResponseDto';
|
|
@@ -345,6 +347,7 @@ export type { UnAvailableSeating } from './models/UnAvailableSeating';
|
|
|
345
347
|
export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
|
|
346
348
|
export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
|
|
347
349
|
export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
|
|
350
|
+
export type { UpdateCssRequestDto } from './models/UpdateCssRequestDto';
|
|
348
351
|
export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
|
|
349
352
|
export type { UpdateEmailRequestDto } from './models/UpdateEmailRequestDto';
|
|
350
353
|
export type { UpdateHelpRequestDto } from './models/UpdateHelpRequestDto';
|
|
@@ -74,6 +74,7 @@ export declare const DRT: {
|
|
|
74
74
|
superuseralertsandnotifications: typeof import("../generated/portal").SuperUserAlertsAndNotificationsService;
|
|
75
75
|
superuserbuyerblacklist: typeof import("../generated/portal").SuperUserBuyerBlacklistService;
|
|
76
76
|
superuserdocumentlibrary: typeof import("../generated/portal").SuperUserDocumentLibraryService;
|
|
77
|
+
superusereditcss: typeof import("../generated/portal").SuperUserEditCssService;
|
|
77
78
|
superuserreleasedtickets: typeof import("../generated/portal").SuperUserReleasedTicketsService;
|
|
78
79
|
superusershoppers: typeof import("../generated/portal").SuperUserShoppersService;
|
|
79
80
|
superusersupporttickets: typeof import("../generated/portal").SuperUserSupportTicketsService;
|
|
@@ -34,6 +34,7 @@ import { SuperUserAbandonedCartsService } from "../generated/portal";
|
|
|
34
34
|
import { SuperUserAlertsAndNotificationsService } from "../generated/portal";
|
|
35
35
|
import { SuperUserBuyerBlacklistService } from "../generated/portal";
|
|
36
36
|
import { SuperUserDocumentLibraryService } from "../generated/portal";
|
|
37
|
+
import { SuperUserEditCssService } from "../generated/portal";
|
|
37
38
|
import { SuperUserReleasedTicketsService } from "../generated/portal";
|
|
38
39
|
import { SuperUserShoppersService } from "../generated/portal";
|
|
39
40
|
import { SuperUserSupportTicketsService } from "../generated/portal";
|
|
@@ -75,6 +76,7 @@ export declare const portalStaging: {
|
|
|
75
76
|
superuseralertsandnotifications: typeof SuperUserAlertsAndNotificationsService;
|
|
76
77
|
superuserbuyerblacklist: typeof SuperUserBuyerBlacklistService;
|
|
77
78
|
superuserdocumentlibrary: typeof SuperUserDocumentLibraryService;
|
|
79
|
+
superusereditcss: typeof SuperUserEditCssService;
|
|
78
80
|
superuserreleasedtickets: typeof SuperUserReleasedTicketsService;
|
|
79
81
|
superusershoppers: typeof SuperUserShoppersService;
|
|
80
82
|
superusersupporttickets: typeof SuperUserSupportTicketsService;
|
|
@@ -38,6 +38,7 @@ import { SuperUserAbandonedCartsService } from "../generated/portal/index.js";
|
|
|
38
38
|
import { SuperUserAlertsAndNotificationsService } from "../generated/portal/index.js";
|
|
39
39
|
import { SuperUserBuyerBlacklistService } from "../generated/portal/index.js";
|
|
40
40
|
import { SuperUserDocumentLibraryService } from "../generated/portal/index.js";
|
|
41
|
+
import { SuperUserEditCssService } from "../generated/portal/index.js";
|
|
41
42
|
import { SuperUserReleasedTicketsService } from "../generated/portal/index.js";
|
|
42
43
|
import { SuperUserShoppersService } from "../generated/portal/index.js";
|
|
43
44
|
import { SuperUserSupportTicketsService } from "../generated/portal/index.js";
|
|
@@ -80,6 +81,7 @@ export const portalStaging = {
|
|
|
80
81
|
superuseralertsandnotifications: wrap(SuperUserAlertsAndNotificationsService),
|
|
81
82
|
superuserbuyerblacklist: wrap(SuperUserBuyerBlacklistService),
|
|
82
83
|
superuserdocumentlibrary: wrap(SuperUserDocumentLibraryService),
|
|
84
|
+
superusereditcss: wrap(SuperUserEditCssService),
|
|
83
85
|
superuserreleasedtickets: wrap(SuperUserReleasedTicketsService),
|
|
84
86
|
superusershoppers: wrap(SuperUserShoppersService),
|
|
85
87
|
superusersupporttickets: wrap(SuperUserSupportTicketsService),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drttix/drt-sdk",
|
|
3
3
|
"description": "DRT SDK",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.6",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/esm/index.d.ts",
|
|
@@ -36,5 +36,6 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@drttix/drt-sdk": "^0.2.91"
|
|
39
|
-
}
|
|
39
|
+
},
|
|
40
|
+
"packageManager": "pnpm@11.0.9+sha512.34ce82e6780233cf9cad8685029a8f81d2e06196c5a9bad98879f7424940c6817c4e4524fb7d38b8553ceed48b9758b8ebaf1abd3600c232c4c8cf7366086f38"
|
|
40
41
|
}
|
|
@@ -36,6 +36,7 @@ import { SuperUserAbandonedCartsService } from "../generated/portal";
|
|
|
36
36
|
import { SuperUserAlertsAndNotificationsService } from "../generated/portal";
|
|
37
37
|
import { SuperUserBuyerBlacklistService } from "../generated/portal";
|
|
38
38
|
import { SuperUserDocumentLibraryService } from "../generated/portal";
|
|
39
|
+
import { SuperUserEditCssService } from "../generated/portal";
|
|
39
40
|
import { SuperUserReleasedTicketsService } from "../generated/portal";
|
|
40
41
|
import { SuperUserShoppersService } from "../generated/portal";
|
|
41
42
|
import { SuperUserSupportTicketsService } from "../generated/portal";
|
|
@@ -78,6 +79,7 @@ export const portal = {
|
|
|
78
79
|
superuseralertsandnotifications: SuperUserAlertsAndNotificationsService,
|
|
79
80
|
superuserbuyerblacklist: SuperUserBuyerBlacklistService,
|
|
80
81
|
superuserdocumentlibrary: SuperUserDocumentLibraryService,
|
|
82
|
+
superusereditcss: SuperUserEditCssService,
|
|
81
83
|
superuserreleasedtickets: SuperUserReleasedTicketsService,
|
|
82
84
|
superusershoppers: SuperUserShoppersService,
|
|
83
85
|
superusersupporttickets: SuperUserSupportTicketsService,
|
|
@@ -131,6 +131,8 @@ export type { FutureMailResponseDto } from './models/FutureMailResponseDto';
|
|
|
131
131
|
export type { GatewayStatus } from './models/GatewayStatus';
|
|
132
132
|
export type { GenerateCodeRequestDto } from './models/GenerateCodeRequestDto';
|
|
133
133
|
export type { GenerateGroupCodeRequestDto } from './models/GenerateGroupCodeRequestDto';
|
|
134
|
+
export type { GetCssImageResponseDto } from './models/GetCssImageResponseDto';
|
|
135
|
+
export type { GetCssResponseDto } from './models/GetCssResponseDto';
|
|
134
136
|
export type { GetSettingsResponseDto } from './models/GetSettingsResponseDto';
|
|
135
137
|
export type { GiftCardResponseDto } from './models/GiftCardResponseDto';
|
|
136
138
|
export type { GiftCardTransactionsResponseDto } from './models/GiftCardTransactionsResponseDto';
|
|
@@ -355,6 +357,7 @@ export type { UnAvailableSeating } from './models/UnAvailableSeating';
|
|
|
355
357
|
export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
|
|
356
358
|
export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
|
|
357
359
|
export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
|
|
360
|
+
export type { UpdateCssRequestDto } from './models/UpdateCssRequestDto';
|
|
358
361
|
export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
|
|
359
362
|
export type { UpdateEmailRequestDto } from './models/UpdateEmailRequestDto';
|
|
360
363
|
export type { UpdateHelpRequestDto } from './models/UpdateHelpRequestDto';
|
|
@@ -421,6 +424,7 @@ export { SuperUserAbandonedCartsService } from './services/SuperUserAbandonedCar
|
|
|
421
424
|
export { SuperUserAlertsAndNotificationsService } from './services/SuperUserAlertsAndNotificationsService';
|
|
422
425
|
export { SuperUserBuyerBlacklistService } from './services/SuperUserBuyerBlacklistService';
|
|
423
426
|
export { SuperUserDocumentLibraryService } from './services/SuperUserDocumentLibraryService';
|
|
427
|
+
export { SuperUserEditCssService } from './services/SuperUserEditCssService';
|
|
424
428
|
export { SuperUserReleasedTicketsService } from './services/SuperUserReleasedTicketsService';
|
|
425
429
|
export { SuperUserShoppersService } from './services/SuperUserShoppersService';
|
|
426
430
|
export { SuperUserSupportTicketsService } from './services/SuperUserSupportTicketsService';
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { GetCssImageResponseDto } from '../models/GetCssImageResponseDto';
|
|
6
|
+
import type { GetCssResponseDto } from '../models/GetCssResponseDto';
|
|
7
|
+
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
8
|
+
import type { UpdateCssRequestDto } from '../models/UpdateCssRequestDto';
|
|
9
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
10
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
11
|
+
import { request as __request } from '../core/request';
|
|
12
|
+
export class SuperUserEditCssService {
|
|
13
|
+
/**
|
|
14
|
+
* Fetch the custom css
|
|
15
|
+
* Fetch the custom css for a studio
|
|
16
|
+
* @param xStudioId The ID of the studio
|
|
17
|
+
* @returns GetCssResponseDto Css fetched successfully
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
public static getCss(
|
|
21
|
+
xStudioId: string,
|
|
22
|
+
): CancelablePromise<GetCssResponseDto> {
|
|
23
|
+
return __request(OpenAPI, {
|
|
24
|
+
method: 'GET',
|
|
25
|
+
url: '/superuser/edit-css',
|
|
26
|
+
headers: {
|
|
27
|
+
'x-studio-id': xStudioId,
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Update the custom css
|
|
33
|
+
* Update the custom css for a studio
|
|
34
|
+
* @param xStudioId The ID of the studio
|
|
35
|
+
* @param requestBody Payload to update the custom css for a studio
|
|
36
|
+
* @returns SuccessResponse Css updated successfully
|
|
37
|
+
* @throws ApiError
|
|
38
|
+
*/
|
|
39
|
+
public static updateCss(
|
|
40
|
+
xStudioId: string,
|
|
41
|
+
requestBody: UpdateCssRequestDto,
|
|
42
|
+
): CancelablePromise<SuccessResponse> {
|
|
43
|
+
return __request(OpenAPI, {
|
|
44
|
+
method: 'PUT',
|
|
45
|
+
url: '/superuser/edit-css',
|
|
46
|
+
headers: {
|
|
47
|
+
'x-studio-id': xStudioId,
|
|
48
|
+
},
|
|
49
|
+
body: requestBody,
|
|
50
|
+
mediaType: 'application/json',
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Fetch the custom images
|
|
55
|
+
* Fetch the custom images for a studio
|
|
56
|
+
* @param xStudioId The ID of the studio
|
|
57
|
+
* @returns GetCssImageResponseDto Images fetched successfully
|
|
58
|
+
* @throws ApiError
|
|
59
|
+
*/
|
|
60
|
+
public static getImages(
|
|
61
|
+
xStudioId: string,
|
|
62
|
+
): CancelablePromise<Array<GetCssImageResponseDto>> {
|
|
63
|
+
return __request(OpenAPI, {
|
|
64
|
+
method: 'GET',
|
|
65
|
+
url: '/superuser/edit-css/images',
|
|
66
|
+
headers: {
|
|
67
|
+
'x-studio-id': xStudioId,
|
|
68
|
+
},
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -124,6 +124,8 @@ export type { FutureMailResponseDto } from './models/FutureMailResponseDto';
|
|
|
124
124
|
export type { GatewayStatus } from './models/GatewayStatus';
|
|
125
125
|
export type { GenerateCodeRequestDto } from './models/GenerateCodeRequestDto';
|
|
126
126
|
export type { GenerateGroupCodeRequestDto } from './models/GenerateGroupCodeRequestDto';
|
|
127
|
+
export type { GetCssImageResponseDto } from './models/GetCssImageResponseDto';
|
|
128
|
+
export type { GetCssResponseDto } from './models/GetCssResponseDto';
|
|
127
129
|
export type { GetSettingsResponseDto } from './models/GetSettingsResponseDto';
|
|
128
130
|
export type { GiftCardResponseDto } from './models/GiftCardResponseDto';
|
|
129
131
|
export type { GiftCardTransactionsResponseDto } from './models/GiftCardTransactionsResponseDto';
|
|
@@ -348,6 +350,7 @@ export type { UnAvailableSeating } from './models/UnAvailableSeating';
|
|
|
348
350
|
export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
|
|
349
351
|
export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
|
|
350
352
|
export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
|
|
353
|
+
export type { UpdateCssRequestDto } from './models/UpdateCssRequestDto';
|
|
351
354
|
export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
|
|
352
355
|
export type { UpdateEmailRequestDto } from './models/UpdateEmailRequestDto';
|
|
353
356
|
export type { UpdateHelpRequestDto } from './models/UpdateHelpRequestDto';
|
package/src/staging/portal.ts
CHANGED
|
@@ -40,6 +40,7 @@ import { SuperUserAbandonedCartsService } from "../generated/portal";
|
|
|
40
40
|
import { SuperUserAlertsAndNotificationsService } from "../generated/portal";
|
|
41
41
|
import { SuperUserBuyerBlacklistService } from "../generated/portal";
|
|
42
42
|
import { SuperUserDocumentLibraryService } from "../generated/portal";
|
|
43
|
+
import { SuperUserEditCssService } from "../generated/portal";
|
|
43
44
|
import { SuperUserReleasedTicketsService } from "../generated/portal";
|
|
44
45
|
import { SuperUserShoppersService } from "../generated/portal";
|
|
45
46
|
import { SuperUserSupportTicketsService } from "../generated/portal";
|
|
@@ -85,6 +86,7 @@ export const portalStaging = {
|
|
|
85
86
|
superuseralertsandnotifications: wrap(SuperUserAlertsAndNotificationsService),
|
|
86
87
|
superuserbuyerblacklist: wrap(SuperUserBuyerBlacklistService),
|
|
87
88
|
superuserdocumentlibrary: wrap(SuperUserDocumentLibraryService),
|
|
89
|
+
superusereditcss: wrap(SuperUserEditCssService),
|
|
88
90
|
superuserreleasedtickets: wrap(SuperUserReleasedTicketsService),
|
|
89
91
|
superusershoppers: wrap(SuperUserShoppersService),
|
|
90
92
|
superusersupporttickets: wrap(SuperUserSupportTicketsService),
|