@passly-nl/data 1.0.0-rc.3 → 1.0.0-rc.4
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/index.d.mts +1 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/service/MerchantStatisticsService.ts +11 -1
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{BaseService as e,QueryString as t,adapter as n,dto as r}from"@basmilius/http-client";import{DateTime as i}from"luxon";function a(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}let o=class{get id(){return this.#e}set id(e){this.#e=e}get label(){return this.#t}set label(e){this.#t=e}get street(){return this.#n}set street(e){this.#n=e}get number(){return this.#r}set number(e){this.#r=e}get postalCode(){return this.#i}set postalCode(e){this.#i=e}get city(){return this.#a}set city(e){this.#a=e}get country(){return this.#o}set country(e){this.#o=e}get formatted(){return this.#s}set formatted(e){this.#s=e}#e;#t;#n;#r;#i;#a;#o;#s;constructor(e,t,n,r,i,a,o,s){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s}};o=a([r],o);let s=class{get enabled(){return this.#e}set enabled(e){this.#e=e}get secret(){return this.#t}set secret(e){this.#t=e}get qr(){return this.#n}set qr(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};s=a([r],s);let c=class{get id(){return this.#e}set id(e){this.#e=e}get email(){return this.#t}set email(e){this.#t=e}get firstName(){return this.#n}set firstName(e){this.#n=e}get lastName(){return this.#r}set lastName(e){this.#r=e}get fullName(){return this.#i}set fullName(e){this.#i=e}get initials(){return this.#a}set initials(e){this.#a=e}get phoneNumber(){return this.#o}set phoneNumber(e){this.#o=e}get isOnline(){return this.#s}set isOnline(e){this.#s=e}get picture(){return this.#c}set picture(e){this.#c=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;constructor(e,t,n,r,i,a,o,s,c){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c}};c=a([r],c);let l=class{get token(){return this.#e}set token(e){this.#e=e}get type(){return this.#t}set type(e){this.#t=e}get browser(){return this.#n}set browser(e){this.#n=e}get operatingSystem(){return this.#r}set operatingSystem(e){this.#r=e}get createdOn(){return this.#i}set createdOn(e){this.#i=e}get expiresOn(){return this.#a}set expiresOn(e){this.#a=e}get realtimeChannel(){return this.#o}set realtimeChannel(e){this.#o=e}get user(){return this.#s}set user(e){this.#s=e}#e;#t;#n;#r;#i;#a;#o;#s;constructor(e,t,n,r,i,a,o,s){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s}};l=a([r],l);let u=class{get message(){return this.#e}set message(e){this.#e=e}get status(){return this.#t}set status(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};u=a([r],u);let d=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get secret(){return this.#n}set secret(e){this.#n=e}get checkinCount(){return this.#r}set checkinCount(e){this.#r=e}get checkoutCount(){return this.#i}set checkoutCount(e){this.#i=e}get creator(){return this.#a}set creator(e){this.#a=e}get event(){return this.#o}set event(e){this.#o=e}get merchant(){return this.#s}set merchant(e){this.#s=e}#e;#t;#n;#r;#i;#a;#o;#s;constructor(e,t,n,r,i,a,o,s){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s}};d=a([r],d);let f=class{get hasProducts(){return this.#e}set hasProducts(e){this.#e=e}get hasShops(){return this.#t}set hasShops(e){this.#t=e}get hasShopsWithProducts(){return this.#n}set hasShopsWithProducts(e){this.#n=e}get isPublishable(){return this.#r}set isPublishable(e){this.#r=e}get isPublished(){return this.#i}set isPublished(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};f=a([r],f);let p=class{get guests(){return this.#e}set guests(e){this.#e=e}get orders(){return this.#t}set orders(e){this.#t=e}get tickets(){return this.#n}set tickets(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};p=a([r],p);let m=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get description(){return this.#n}set description(e){this.#n=e}get startsOn(){return this.#r}set startsOn(e){this.#r=e}get endsOn(){return this.#i}set endsOn(e){this.#i=e}get minimumAge(){return this.#a}set minimumAge(e){this.#a=e}get status(){return this.#o}set status(e){this.#o=e}get address(){return this.#s}set address(e){this.#s=e}get headerFile(){return this.#c}set headerFile(e){this.#c=e}get createdOn(){return this.#l}set createdOn(e){this.#l=e}get updatedOn(){return this.#u}set updatedOn(e){this.#u=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;constructor(e,t,n,r,i,a,o,s,c,l,u){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u}};m=a([r],m);let ee=class{get attended(){return this.#e}set attended(e){this.#e=e}get expected(){return this.#t}set expected(e){this.#t=e}get rate(){return this.#n}set rate(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};ee=a([r],ee);let te=class{get acquired(){return this.#e}set acquired(e){this.#e=e}get averageTickets(){return this.#t}set averageTickets(e){this.#t=e}get doubting(){return this.#n}set doubting(e){this.#n=e}get returning(){return this.#r}set returning(e){this.#r=e}get total(){return this.#i}set total(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};te=a([r],te);let ne=class{get platformCost(){return this.#e}set platformCost(e){this.#e=e}get revenue(){return this.#t}set revenue(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};ne=a([r],ne);let re=class{get chart(){return this.#e}set chart(e){this.#e=e}get totals(){return this.#t}set totals(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};re=a([r],re);let ie=class{get fulfilled(){return this.#e}set fulfilled(e){this.#e=e}get interrupted(){return this.#t}set interrupted(e){this.#t=e}get pending(){return this.#n}set pending(e){this.#n=e}get total(){return this.#r}set total(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};ie=a([r],ie);let ae=class{get appTeams(){return this.#e}set appTeams(e){this.#e=e}get chart(){return this.#t}set chart(e){this.#t=e}get totals(){return this.#n}set totals(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};ae=a([r],ae);let oe=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get scans(){return this.#n}set scans(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};oe=a([r],oe);let se=class{get total(){return this.#e}set total(e){this.#e=e}get checkins(){return this.#t}set checkins(e){this.#t=e}get checkouts(){return this.#n}set checkouts(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};se=a([r],se);let ce=class{get swaps(){return this.#e}set swaps(e){this.#e=e}get tickets(){return this.#t}set tickets(e){this.#t=e}get rate(){return this.#n}set rate(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};ce=a([r],ce);let le=class{get backgroundColor(){return this.#e}set backgroundColor(e){this.#e=e}get foregroundColor(){return this.#t}set foregroundColor(e){this.#t=e}get primaryColor(){return this.#n}set primaryColor(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};le=a([r],le);let ue=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get isPublished(){return this.#n}set isPublished(e){this.#n=e}get password(){return this.#r}set password(e){this.#r=e}get startsOn(){return this.#i}set startsOn(e){this.#i=e}get endsOn(){return this.#a}set endsOn(e){this.#a=e}get fieldAddress(){return this.#o}set fieldAddress(e){this.#o=e}get fieldBirthdate(){return this.#s}set fieldBirthdate(e){this.#s=e}get fieldGender(){return this.#c}set fieldGender(e){this.#c=e}get fieldPhoneNumber(){return this.#l}set fieldPhoneNumber(e){this.#l=e}get status(){return this.#u}set status(e){this.#u=e}get design(){return this.#d}set design(e){this.#d=e}get event(){return this.#f}set event(e){this.#f=e}get merchant(){return this.#p}set merchant(e){this.#p=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;constructor(e,t,n,r,i,a,o,s,c,l,u,d,f,p){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u,this.#d=d,this.#f=f,this.#p=p}};ue=a([r],ue);var h=class{get id(){return this.#e}set id(e){this.#e=e}get type(){return this.#t}set type(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};let de=class extends h{get icon(){return this.#e}set icon(e){this.#e=e}get text(){return this.#t}set text(e){this.#t=e}get url(){return this.#n}set url(e){this.#n=e}#e;#t;#n;constructor(e,t,n,r){super(e,`button`),this.#e=t,this.#t=n,this.#n=r}};de=a([r],de);let fe=class extends h{get icon(){return this.#e}set icon(e){this.#e=e}get text(){return this.#t}set text(e){this.#t=e}#e;#t;constructor(e,t,n){super(e,`divider`),this.#e=t,this.#t=n}};fe=a([r],fe);let pe=class extends h{get headingLevel(){return this.#e}set headingLevel(e){this.#e=e}get title(){return this.#t}set title(e){this.#t=e}#e;#t;constructor(e,t,n){super(e,`heading`),this.#e=t,this.#t=n}};pe=a([r],pe);let me=class extends h{get icon(){return this.#e}set icon(e){this.#e=e}get noticeType(){return this.#t}set noticeType(e){this.#t=e}get title(){return this.#n}set title(e){this.#n=e}get text(){return this.#r}set text(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r,i){super(e,`notice`),this.#e=t,this.#t=n,this.#n=r,this.#r=i}};me=a([r],me);let he=class extends h{get product(){return this.#e}set product(e){this.#e=e}#e;constructor(e,t){super(e,`product`),this.#e=t}};he=a([r],he);let g=class extends h{get text(){return this.#e}set text(e){this.#e=e}#e;constructor(e,t){super(e,`text`),this.#e=t}};g=a([r],g);let ge=class{get total(){return this.#e}set total(e){this.#e=e}get sold(){return this.#t}set sold(e){this.#t=e}get remaining(){return this.#n}set remaining(e){this.#n=e}get items(){return this.#r}set items(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};ge=a([r],ge);let _e=class{get pool(){return this.#e}set pool(e){this.#e=e}get product(){return this.#t}set product(e){this.#t=e}get remaining(){return this.#n}set remaining(e){this.#n=e}get sold(){return this.#r}set sold(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};_e=a([r],_e);let ve=class{get id(){return this.#e}set id(e){this.#e=e}get eventId(){return this.#t}set eventId(e){this.#t=e}get merchantId(){return this.#n}set merchantId(e){this.#n=e}get name(){return this.#r}set name(e){this.#r=e}get remainingStock(){return this.#i}set remainingStock(e){this.#i=e}get stock(){return this.#a}set stock(e){this.#a=e}get isShared(){return this.#o}set isShared(e){this.#o=e}get productNames(){return this.#s}set productNames(e){this.#s=e}get createdOn(){return this.#c}set createdOn(e){this.#c=e}get updatedOn(){return this.#l}set updatedOn(e){this.#l=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;constructor(e,t,n,r,i,a,o,s,c,l){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l}};ve=a([r],ve);let ye=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get product(){return this.#n}set product(e){this.#n=e}get productId(){return this.#r}set productId(e){this.#r=e}get variant(){return this.#i}set variant(e){this.#i=e}get visual(){return this.#a}set visual(e){this.#a=e}#e;#t;#n;#r;#i;#a;constructor(e,t,n,r,i,a){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a}};ye=a([r],ye);let be=class{get id(){return this.#e}set id(e){this.#e=e}get url(){return this.#t}set url(e){this.#t=e}get variants(){return this.#n}set variants(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};be=a([r],be);let xe=class{get estimatedPaymentCost(){return this.#e}set estimatedPaymentCost(e){this.#e=e}get orders(){return this.#t}set orders(e){this.#t=e}get platformCost(){return this.#n}set platformCost(e){this.#n=e}get revenue(){return this.#r}set revenue(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};xe=a([r],xe);let Se=class{get id(){return this.#e}set id(e){this.#e=e}get number(){return this.#t}set number(e){this.#t=e}get sequence(){return this.#n}set sequence(e){this.#n=e}get status(){return this.#r}set status(e){this.#r=e}get year(){return this.#i}set year(e){this.#i=e}get total(){return this.#a}set total(e){this.#a=e}get lines(){return this.#o}set lines(e){this.#o=e}get createdOn(){return this.#s}set createdOn(e){this.#s=e}get updatedOn(){return this.#c}set updatedOn(e){this.#c=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;constructor(e,t,n,r,i,a,o,s,c){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c}};Se=a([r],Se);let Ce=class{get id(){return this.#e}set id(e){this.#e=e}get type(){return this.#t}set type(e){this.#t=e}get cost(){return this.#n}set cost(e){this.#n=e}get createdOn(){return this.#r}set createdOn(e){this.#r=e}get updatedOn(){return this.#i}set updatedOn(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};Ce=a([r],Ce);let we=class{get id(){return this.#e}set id(e){this.#e=e}get startsOn(){return this.#t}set startsOn(e){this.#t=e}get endsOn(){return this.#n}set endsOn(e){this.#n=e}get fee(){return this.#r}set fee(e){this.#r=e}get remark(){return this.#i}set remark(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};we=a([r],we);let Te=class{get id(){return this.#e}set id(e){this.#e=e}get merchantId(){return this.#t}set merchantId(e){this.#t=e}get userId(){return this.#n}set userId(e){this.#n=e}get claims(){return this.#r}set claims(e){this.#r=e}get isNewUser(){return this.#i}set isNewUser(e){this.#i=e}get createdOn(){return this.#a}set createdOn(e){this.#a=e}get updatedOn(){return this.#o}set updatedOn(e){this.#o=e}get merchant(){return this.#s}set merchant(e){this.#s=e}get user(){return this.#c}set user(e){this.#c=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;constructor(e,t,n,r,i,a,o,s,c){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c}};Te=a([r],Te);let Ee=class{get revenue(){return this.#e}set revenue(e){this.#e=e}get tickets(){return this.#t}set tickets(e){this.#t=e}get events(){return this.#n}set events(e){this.#n=e}get tasks(){return this.#r}set tasks(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};Ee=a([r],Ee);let De=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get description(){return this.#n}set description(e){this.#n=e}get headerFile(){return this.#r}set headerFile(e){this.#r=e}get status(){return this.#i}set status(e){this.#i=e}get startsOn(){return this.#a}set startsOn(e){this.#a=e}get ticketsSold(){return this.#o}set ticketsSold(e){this.#o=e}get ticketsTotal(){return this.#s}set ticketsTotal(e){this.#s=e}get sellThroughRate(){return this.#c}set sellThroughRate(e){this.#c=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;constructor(e,t,n,r,i,a,o,s,c){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c}};De=a([r],De);let Oe=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get email(){return this.#n}set email(e){this.#n=e}get phoneNumber(){return this.#r}set phoneNumber(e){this.#r=e}get url(){return this.#i}set url(e){this.#i=e}get chamberOfCommerceNumber(){return this.#a}set chamberOfCommerceNumber(e){this.#a=e}get vatNumber(){return this.#o}set vatNumber(e){this.#o=e}get currency(){return this.#s}set currency(e){this.#s=e}get address(){return this.#c}set address(e){this.#c=e}get currentContract(){return this.#l}set currentContract(e){this.#l=e}get logo(){return this.#u}set logo(e){this.#u=e}get createdOn(){return this.#d}set createdOn(e){this.#d=e}get updatedOn(){return this.#f}set updatedOn(e){this.#f=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;#f;constructor(e,t,n,r,i,a,o,s,c,l,u,d,f){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u,this.#d=d,this.#f=f}};Oe=a([r],Oe);let _=class{get isManager(){return this.#e}set isManager(e){this.#e=e}get createdOn(){return this.#t}set createdOn(e){this.#t=e}get updatedOn(){return this.#n}set updatedOn(e){this.#n=e}get user(){return this.#r}set user(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};_=a([r],_);let v=class{get id(){return this.#e}set id(e){this.#e=e}get vatNumber(){return this.#t}set vatNumber(e){this.#t=e}get name(){return this.#n}set name(e){this.#n=e}get address(){return this.#r}set address(e){this.#r=e}get countryCode(){return this.#i}set countryCode(e){this.#i=e}get createdOn(){return this.#a}set createdOn(e){this.#a=e}get updatedOn(){return this.#o}set updatedOn(e){this.#o=e}#e;#t;#n;#r;#i;#a;#o;constructor(e,t,n,r,i,a,o){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o}};v=a([r],v);let y=class{get id(){return this.#e}set id(e){this.#e=e}get firstName(){return this.#t}set firstName(e){this.#t=e}get lastName(){return this.#n}set lastName(e){this.#n=e}get email(){return this.#r}set email(e){this.#r=e}get phoneNumber(){return this.#i}set phoneNumber(e){this.#i=e}get dateOfBirth(){return this.#a}set dateOfBirth(e){this.#a=e}get gender(){return this.#o}set gender(e){this.#o=e}get orderCount(){return this.#s}set orderCount(e){this.#s=e}get fullName(){return this.#c}set fullName(e){this.#c=e}get address(){return this.#l}set address(e){this.#l=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;constructor(e,t,n,r,i,a,o,s,c,l){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l}};y=a([r],y);let b=class{get id(){return this.#e}set id(e){this.#e=e}get code(){return this.#t}set code(e){this.#t=e}get origin(){return this.#n}set origin(e){this.#n=e}get type(){return this.#r}set type(e){this.#r=e}get createdOn(){return this.#i}set createdOn(e){this.#i=e}get paymentProvider(){return this.#a}set paymentProvider(e){this.#a=e}get platformCost(){return this.#o}set platformCost(e){this.#o=e}get subTotal(){return this.#s}set subTotal(e){this.#s=e}get total(){return this.#c}set total(e){this.#c=e}get url(){return this.#l}set url(e){this.#l=e}get buyer(){return this.#u}set buyer(e){this.#u=e}get event(){return this.#d}set event(e){this.#d=e}get lines(){return this.#f}set lines(e){this.#f=e}get shop(){return this.#p}set shop(e){this.#p=e}get transaction(){return this.#m}set transaction(e){this.#m=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m;constructor(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u,this.#d=d,this.#f=f,this.#p=p,this.#m=m}};b=a([r],b);let ke=class{get id(){return this.#e}set id(e){this.#e=e}get price(){return this.#t}set price(e){this.#t=e}get quantity(){return this.#n}set quantity(e){this.#n=e}get product(){return this.#r}set product(e){this.#r=e}get subTotal(){return this.#i}set subTotal(e){this.#i=e}get createdOn(){return this.#a}set createdOn(e){this.#a=e}get updatedOn(){return this.#o}set updatedOn(e){this.#o=e}#e;#t;#n;#r;#i;#a;#o;constructor(e,t,n,r,i,a,o){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o}};ke=a([r],ke);let x=class{get name(){return this.#e}set name(e){this.#e=e}get url(){return this.#t}set url(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};x=a([r],x);let S=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get description(){return this.#n}set description(e){this.#n=e}get image(){return this.#r}set image(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};S=a([r],S);let C=class{get currencyCode(){return this.#e}set currencyCode(e){this.#e=e}get currencyDecimals(){return this.#t}set currencyDecimals(e){this.#t=e}get currencySign(){return this.#n}set currencySign(e){this.#n=e}get decimal(){return this.#r}set decimal(e){this.#r=e}get formatted(){return this.#i}set formatted(e){this.#i=e}get cents(){return this.#a}set cents(e){this.#a=e}#e;#t;#n;#r;#i;#a;constructor(e,t,n,r,i,a){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a}};C=a([r],C);let w=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get image(){return this.#n}set image(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};w=a([r],w);let Ae=class{get id(){return this.#e}set id(e){this.#e=e}get type(){return this.#t}set type(e){this.#t=e}get methods(){return this.#n}set methods(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};Ae=a([r],Ae);let je=class{get id(){return this.#e}set id(e){this.#e=e}get description(){return this.#t}set description(e){this.#t=e}get status(){return this.#n}set status(e){this.#n=e}get cost(){return this.#r}set cost(e){this.#r=e}get metadata(){return this.#i}set metadata(e){this.#i=e}get externalCheckoutUrl(){return this.#a}set externalCheckoutUrl(e){this.#a=e}get externalDetails(){return this.#o}set externalDetails(e){this.#o=e}get order(){return this.#s}set order(e){this.#s=e}get paymentMethod(){return this.#c}set paymentMethod(e){this.#c=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;constructor(e,t,n,r,i,a,o,s,c){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c}};je=a([r],je);let Me=class{get id(){return this.#e}set id(e){this.#e=e}get type(){return this.#t}set type(e){this.#t=e}get name(){return this.#n}set name(e){this.#n=e}get description(){return this.#r}set description(e){this.#r=e}get price(){return this.#i}set price(e){this.#i=e}get maxQuantity(){return this.#a}set maxQuantity(e){this.#a=e}get isActive(){return this.#o}set isActive(e){this.#o=e}get isSwappable(){return this.#s}set isSwappable(e){this.#s=e}get remainingStock(){return this.#c}set remainingStock(e){this.#c=e}get stock(){return this.#l}set stock(e){this.#l=e}get image(){return this.#u}set image(e){this.#u=e}get images(){return this.#d}set images(e){this.#d=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;constructor(e,t,n,r,i,a,o,s,c,l,u,d){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u,this.#d=d}};Me=a([r],Me);let Ne=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get image(){return this.#n}set image(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};Ne=a([r],Ne);let Pe=class{get productId(){return this.#e}set productId(e){this.#e=e}get quantity(){return this.#t}set quantity(e){this.#t=e}get timeSlotId(){return this.#n}set timeSlotId(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};Pe=a([r],Pe);let Fe=class{get backgroundColor(){return this.#e}set backgroundColor(e){this.#e=e}get foregroundColor(){return this.#t}set foregroundColor(e){this.#t=e}get primaryColor(){return this.#n}set primaryColor(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};Fe=a([r],Fe);let Ie=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get startsOn(){return this.#n}set startsOn(e){this.#n=e}get endsOn(){return this.#r}set endsOn(e){this.#r=e}get fieldAddress(){return this.#i}set fieldAddress(e){this.#i=e}get fieldBirthdate(){return this.#a}set fieldBirthdate(e){this.#a=e}get fieldGender(){return this.#o}set fieldGender(e){this.#o=e}get fieldPhoneNumber(){return this.#s}set fieldPhoneNumber(e){this.#s=e}get design(){return this.#c}set design(e){this.#c=e}get elements(){return this.#l}set elements(e){this.#l=e}get event(){return this.#u}set event(e){this.#u=e}get merchant(){return this.#d}set merchant(e){this.#d=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;constructor(e,t,n,r,i,a,o,s,c,l,u,d){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u,this.#d=d}};Ie=a([r],Ie);var T=class{get id(){return this.#e}set id(e){this.#e=e}get type(){return this.#t}set type(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};let Le=class extends T{get icon(){return this.#e}set icon(e){this.#e=e}get text(){return this.#t}set text(e){this.#t=e}get url(){return this.#n}set url(e){this.#n=e}#e;#t;#n;constructor(e,t,n,r){super(e,`button`),this.#e=t,this.#t=n,this.#n=r}};Le=a([r],Le);let Re=class extends T{get icon(){return this.#e}set icon(e){this.#e=e}get text(){return this.#t}set text(e){this.#t=e}#e;#t;constructor(e,t,n){super(e,`divider`),this.#e=t,this.#t=n}};Re=a([r],Re);let ze=class extends T{get headingLevel(){return this.#e}set headingLevel(e){this.#e=e}get title(){return this.#t}set title(e){this.#t=e}#e;#t;constructor(e,t,n){super(e,`heading`),this.#e=t,this.#t=n}};ze=a([r],ze);let Be=class extends T{get icon(){return this.#e}set icon(e){this.#e=e}get noticeType(){return this.#t}set noticeType(e){this.#t=e}get title(){return this.#n}set title(e){this.#n=e}get text(){return this.#r}set text(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r,i){super(e,`notice`),this.#e=t,this.#t=n,this.#n=r,this.#r=i}};Be=a([r],Be);let Ve=class extends T{get product(){return this.#e}set product(e){this.#e=e}#e;constructor(e,t){super(e,`product`),this.#e=t}};Ve=a([r],Ve);let He=class extends T{get text(){return this.#e}set text(e){this.#e=e}#e;constructor(e,t){super(e,`text`),this.#e=t}};He=a([r],He);let Ue=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get status(){return this.#n}set status(e){this.#n=e}get address(){return this.#r}set address(e){this.#r=e}get headerFile(){return this.#i}set headerFile(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};Ue=a([r],Ue);let We=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};We=a([r],We);let Ge=class{get id(){return this.#e}set id(e){this.#e=e}get type(){return this.#t}set type(e){this.#t=e}get name(){return this.#n}set name(e){this.#n=e}get description(){return this.#r}set description(e){this.#r=e}get price(){return this.#i}set price(e){this.#i=e}get maxQuantity(){return this.#a}set maxQuantity(e){this.#a=e}get isActive(){return this.#o}set isActive(e){this.#o=e}get isTimeslotted(){return this.#s}set isTimeslotted(e){this.#s=e}get timeSlots(){return this.#c}set timeSlots(e){this.#c=e}get image(){return this.#l}set image(e){this.#l=e}get images(){return this.#u}set images(e){this.#u=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;constructor(e,t,n,r,i,a,o,s,c,l,u){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u}};Ge=a([r],Ge);let Ke=class{get id(){return this.#e}set id(e){this.#e=e}get createdOn(){return this.#t}set createdOn(e){this.#t=e}get expiresOn(){return this.#n}set expiresOn(e){this.#n=e}get products(){return this.#r}set products(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};Ke=a([r],Ke);let qe=class{get product(){return this.#e}set product(e){this.#e=e}get quantity(){return this.#t}set quantity(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};qe=a([r],qe);let Je=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get description(){return this.#n}set description(e){this.#n=e}get image(){return this.#r}set image(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};Je=a([r],Je);let Ye=class{get id(){return this.#e}set id(e){this.#e=e}get label(){return this.#t}set label(e){this.#t=e}get fromTime(){return this.#n}set fromTime(e){this.#n=e}get toTime(){return this.#r}set toTime(e){this.#r=e}get maxQuantity(){return this.#i}set maxQuantity(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};Ye=a([r],Ye);let Xe=class{get id(){return this.#e}set id(e){this.#e=e}get createdOn(){return this.#t}set createdOn(e){this.#t=e}get expiresOn(){return this.#n}set expiresOn(e){this.#n=e}get isExpired(){return this.#r}set isExpired(e){this.#r=e}get items(){return this.#i}set items(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};Xe=a([r],Xe);let Ze=class{get quantity(){return this.#e}set quantity(e){this.#e=e}get product(){return this.#t}set product(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};Ze=a([r],Ze);let Qe=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get description(){return this.#n}set description(e){this.#n=e}get image(){return this.#r}set image(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};Qe=a([r],Qe);let $e=class{get buyers(){return this.#e}set buyers(e){this.#e=e}get newBuyers(){return this.#t}set newBuyers(e){this.#t=e}get retentionRate(){return this.#n}set retentionRate(e){this.#n=e}get totalBuyers(){return this.#r}set totalBuyers(e){this.#r=e}get lifetimeValuePerBuyer(){return this.#i}set lifetimeValuePerBuyer(e){this.#i=e}get averageTicketsPerBuyer(){return this.#a}set averageTicketsPerBuyer(e){this.#a=e}#e;#t;#n;#r;#i;#a;constructor(e,t,n,r,i,a){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a}};$e=a([r],$e);let et=class{get ranking(){return this.#e}set ranking(e){this.#e=e}get buyer(){return this.#t}set buyer(e){this.#t=e}get orderCount(){return this.#n}set orderCount(e){this.#n=e}get totalSpend(){return this.#r}set totalSpend(e){this.#r=e}get eventsAttended(){return this.#i}set eventsAttended(e){this.#i=e}get averageOrderValue(){return this.#a}set averageOrderValue(e){this.#a=e}#e;#t;#n;#r;#i;#a;constructor(e,t,n,r,i,a){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a}};et=a([r],et);let tt=class{get totalEvents(){return this.#e}set totalEvents(e){this.#e=e}get activeEvents(){return this.#t}set activeEvents(e){this.#t=e}get averageRevenuePerEvent(){return this.#n}set averageRevenuePerEvent(e){this.#n=e}get averageTicketsPerEvent(){return this.#r}set averageTicketsPerEvent(e){this.#r=e}get averageSellThroughRate(){return this.#i}set averageSellThroughRate(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};tt=a([r],tt);let nt=class{get period(){return this.#e}set period(e){this.#e=e}get revenue(){return this.#t}set revenue(e){this.#t=e}get orders(){return this.#n}set orders(e){this.#n=e}get tickets(){return this.#r}set tickets(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};nt=a([r],nt);let rt=class{get events(){return this.#e}set events(e){this.#e=e}get summary(){return this.#t}set summary(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};rt=a([r],rt);let it=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get startsOn(){return this.#n}set startsOn(e){this.#n=e}get endsOn(){return this.#r}set endsOn(e){this.#r=e}get headerFile(){return this.#i}set headerFile(e){this.#i=e}get status(){return this.#a}set status(e){this.#a=e}get revenue(){return this.#o}set revenue(e){this.#o=e}get ticketsSold(){return this.#s}set ticketsSold(e){this.#s=e}get ticketsTotal(){return this.#c}set ticketsTotal(e){this.#c=e}get sellThroughRate(){return this.#l}set sellThroughRate(e){this.#l=e}get attendanceRate(){return this.#u}set attendanceRate(e){this.#u=e}get attendedCount(){return this.#d}set attendedCount(e){this.#d=e}get ordersCount(){return this.#f}set ordersCount(e){this.#f=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;#f;constructor(e,t,n,r,i,a,o,s,c,l,u,d,f){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u,this.#d=d,this.#f=f}};it=a([r],it);let at=class{get totalRevenue(){return this.#e}set totalRevenue(e){this.#e=e}get totalTicketsSold(){return this.#t}set totalTicketsSold(e){this.#t=e}get totalTicketsCapacity(){return this.#n}set totalTicketsCapacity(e){this.#n=e}get averageSellThroughRate(){return this.#r}set averageSellThroughRate(e){this.#r=e}get averageAttendanceRate(){return this.#i}set averageAttendanceRate(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};at=a([r],at);let ot=class{get totalRevenue(){return this.#e}set totalRevenue(e){this.#e=e}get totalTicketsSold(){return this.#t}set totalTicketsSold(e){this.#t=e}get totalEventsHosted(){return this.#n}set totalEventsHosted(e){this.#n=e}get totalCustomers(){return this.#r}set totalCustomers(e){this.#r=e}get averageOrderValue(){return this.#i}set averageOrderValue(e){this.#i=e}get averageAttendanceRate(){return this.#a}set averageAttendanceRate(e){this.#a=e}#e;#t;#n;#r;#i;#a;constructor(e,t,n,r,i,a){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a}};ot=a([r],ot);let st=class{get active(){return this.#e}set active(e){this.#e=e}get concluded(){return this.#t}set concluded(e){this.#t=e}get total(){return this.#n}set total(e){this.#n=e}get upcoming(){return this.#r}set upcoming(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};st=a([r],st);let ct=class{get lifetime(){return this.#e}set lifetime(e){this.#e=e}get trend(){return this.#t}set trend(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};ct=a([r],ct);let lt=class{get lifetime(){return this.#e}set lifetime(e){this.#e=e}get trend(){return this.#t}set trend(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};lt=a([r],lt);let ut=class{get totalRevenue(){return this.#e}set totalRevenue(e){this.#e=e}get totalPlatformCost(){return this.#t}set totalPlatformCost(e){this.#t=e}get netRevenue(){return this.#n}set netRevenue(e){this.#n=e}get averageOrderValue(){return this.#r}set averageOrderValue(e){this.#r=e}get averageRevenuePerTicket(){return this.#i}set averageRevenuePerTicket(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};ut=a([r],ut);let dt=class{get averageTimeToPurchase(){return this.#e}set averageTimeToPurchase(e){this.#e=e}get cartAbandonmentRate(){return this.#t}set cartAbandonmentRate(e){this.#t=e}get peakBuyingCount(){return this.#n}set peakBuyingCount(e){this.#n=e}get peakBuyingTime(){return this.#r}set peakBuyingTime(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};dt=a([r],dt);let E=class{get successRate(){return this.#e}set successRate(e){this.#e=e}get failedRate(){return this.#t}set failedRate(e){this.#t=e}get reasons(){return this.#n}set reasons(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};E=a([r],E);let ft=class{get current(){return this.#e}set current(e){this.#e=e}get previous(){return this.#t}set previous(e){this.#t=e}get growthRate(){return this.#n}set growthRate(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};ft=a([r],ft);let pt=class{get id(){return this.#e}set id(e){this.#e=e}get sequence(){return this.#t}set sequence(e){this.#t=e}get code(){return this.#n}set code(e){this.#n=e}get status(){return this.#r}set status(e){this.#r=e}get validity(){return this.#i}set validity(e){this.#i=e}get buyer(){return this.#a}set buyer(e){this.#a=e}get event(){return this.#o}set event(e){this.#o=e}get holder(){return this.#s}set holder(e){this.#s=e}get order(){return this.#c}set order(e){this.#c=e}get product(){return this.#l}set product(e){this.#l=e}get createdOn(){return this.#u}set createdOn(e){this.#u=e}get updatedOn(){return this.#d}set updatedOn(e){this.#d=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;constructor(e,t,n,r,i,a,o,s,c,l,u,d){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u,this.#d=d}};pt=a([r],pt);let D=class{static parseAddress(e){return new o(e.id,e.label,e.street,e.number,e.postal_code,e.city,e.country,e.formatted)}};D=a([n],D);function mt(e){return typeof e==`string`&&e.trim().length===0||Array.isArray(e)&&e.length===0?null:e}function ht(e){return new Blob([JSON.stringify(e)],{type:`application/json`})}function O(e,t){return e==null?null:t(e)}function k(e,t){return e==null?null:e.map(t)}var gt;let A=gt=class{static parseTotpState(e){return new s(e.enabled,e.secret,e.qr)}static parseUser(e){return new c(e.id,e.email,e.first_name,e.last_name,e.full_name,e.initials,e.phone_number,e.is_online,O(e.picture,I.parsePicture))}static parseUserToken(e){return new l(e.token,e.type,e.browser,e.operating_system,N.parseDateTime(e.created_on),N.parseDateTime(e.expires_on),e.realtime_channel,O(e.user,gt.parseUser))}};A=gt=a([n],A);let j=class{static parseBuyer(e){return new y(e.id,e.first_name,e.last_name,e.email,e.phone_number,O(e.date_of_birth,N.parseDateTime),e.gender,e.order_count??-1,e.full_name,O(e.address,D.parseAddress))}};j=a([n],j);let M=class{static parseStatusResponse(e){return new u(e.message,e.status)}};M=a([n],M);let N=class{static parseDateTime(e){return i.fromISO(e,{zone:`UTC`}).setZone(`Europe/Amsterdam`)}static parseDateTimeFromMonth(e){return i.fromFormat(e,`yyyy-MM`,{zone:`UTC`}).setZone(`Europe/Amsterdam`)}};N=a([n],N);var P;let F=P=class{static parseAppTeam(e){return new d(e.id,e.name,e.secret,e.checkin_count,e.checkout_count,O(e.creator,A.parseUser),O(e.event,P.parseEvent),O(e.merchant,z.parseMerchant))}static parseEvent(e){return new m(e.id,e.name,e.description,N.parseDateTime(e.starts_on),N.parseDateTime(e.ends_on),e.minimum_age,e.status,O(e.address,D.parseAddress),O(e.header_file,I.parsePicture),N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on))}static parseEventAvailability(e){return new f(e.has_products,e.has_shops,e.has_shops_with_products,e.is_publishable,e.is_published)}static parseEventCounters(e){return new p(e.guests,e.orders,e.tickets)}static parseShop(e){return new ue(e.id,e.name,e.is_published,e.password,O(e.starts_on,N.parseDateTime),O(e.ends_on,N.parseDateTime),e.field_address,e.field_birthdate,e.field_gender,e.field_phone_number,e.status,O(e.design,P.parseShopDesign),O(e.event,P.parseEvent),O(e.merchant,z.parseMerchant))}static parseShopDesign(e){return new le(e.background_color,e.foreground_color,e.primary_color)}static parseShopElement(e){switch(e.type){case`button`:return new de(e.id,e.icon,e.text,e.url);case`divider`:return new fe(e.id,e.icon,e.text);case`heading`:return new pe(e.id,e.heading_level,e.title);case`notice`:return new me(e.id,e.icon,e.notice_type,e.title,e.text);case`product`:return new he(e.id,G.parseProduct(e.product));case`text`:return new g(e.id,e.text)}return new g(`unknown`,`Unknown element type.`)}static parseStockOverview(e){return new ge(e.total,e.sold,e.remaining,e.items.map(P.parseStockOverviewItem))}static parseStockOverviewItem(e){return new _e(P.parseStockPool(e.pool),G.parseProduct(e.product),e.remaining,e.sold)}static parseStockPool(e){return new ve(e.id,e.event_id,e.merchant_id,e.name,e.remaining_stock,e.stock,e.is_shared,e.product_names??[],N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on))}static parseTicketTemplate(e){return new ye(e.id,e.name,O(e.product,G.parseProduct),e.product_id,e.variant,O(e.visual,I.parsePicture))}static parseEventStatisticsAttendance(e){return new ee(e.attended,e.expected,e.rate)}static parseEventStatisticsBuyerTotals(e){return new te(e.acquired,e.average_tickets,e.doubting,e.returning,e.total)}static parseEventStatisticsFinancial(e){return new ne(W.parseCost(e.platform_cost),W.parseCost(e.revenue))}static parseEventStatisticsOrders(e){return new re(e.chart,P.parseEventStatisticsOrderTotals(e.totals))}static parseEventStatisticsOrderTotals(e){return new ie(e.fulfilled,e.interrupted,e.pending,e.total)}static parseEventStatisticsScans(e){return new ae(e.app_teams.map(P.parseEventStatisticsScansPerAppTeam),e.chart,P.parseEventStatisticsScanTotals(e.totals))}static parseEventStatisticsScansPerAppTeam(e){return new oe(e.id,e.name,e.scans)}static parseEventStatisticsScanTotals(e){return new se(e.total,e.checkins,e.checkouts)}static parseEventStatisticsSwapTotals(e){return new ce(e.swaps,e.tickets,e.rate)}};F=P=a([n],F);let I=class{static parsePicture(e){return new be(e.id,e.url,e.variants)}};I=a([n],I);var _t;let L=_t=class{static parseFinanceOverview(e){return new xe(W.parseCost(e.estimated_payment_cost),e.orders,W.parseCost(e.platform_cost),W.parseCost(e.revenue))}static parseInvoice(e){return new Se(e.id,e.number,e.sequence,e.status,e.year,W.parseCost(e.total),k(e.lines,_t.parseInvoiceLine),N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on))}static parseInvoiceLine(e){return new Ce(e.id,e.type,W.parseCost(e.cost),N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on))}};L=_t=a([n],L);var vt;let R=vt=class{static parseFluxFormSelectEntry(e){return`value`in e?vt.parseFluxFormSelectOption(e):vt.parseFluxFormSelectGroup(e)}static parseFluxFormSelectGroup(e){return e}static parseFluxFormSelectOption(e){return e}};R=vt=a([n],R);var yt;let z=yt=class{static parseContract(e){return new we(e.id,N.parseDateTime(e.starts_on),N.parseDateTime(e.ends_on),W.parseCost(e.fee),e.remark)}static parseInvitation(e){return new Te(e.id,e.merchant_id,e.user_id,e.claims,e.is_new_user,N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on),yt.parseMerchant(e.merchant),A.parseUser(e.user))}static parseMerchant(e){return new Oe(e.id,e.name,e.email,e.phone_number,e.url,e.chamber_of_commerce_number,e.vat_number,e.currency,O(e.address,D.parseAddress),O(e.current_contract,yt.parseContract),O(e.logo,I.parsePicture),O(e.created_on,N.parseDateTime),O(e.updated_on,N.parseDateTime))}static parseMerchantUser(e){return new _(e.is_manager,N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on),A.parseUser(e.user))}static parseVatNumber(e){return new v(e.id,e.vat_number,e.name,e.address,e.country_code,N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on))}};z=yt=a([n],z);let B=class{static parseKeyMetrics(e){return new Ee(e.revenue,e.tickets,e.events,e.tasks)}static parseUpcomingEvent(e){return new De(e.id,e.name,e.description,I.parsePicture(e.header_file),e.status,N.parseDateTime(e.starts_on),e.tickets_sold,e.tickets_total,e.sell_through_rate)}};B=a([n],B);var V;let H=V=class{static parseOrder(e){return new b(e.id,e.code,e.origin,e.type,N.parseDateTime(e.created_on),O(e.payment_provider,V.parseOrderPaymentProvider),O(e.platform_cost,W.parseCost),O(e.sub_total,W.parseCost),O(e.total,W.parseCost),e.url,O(e.buyer,j.parseBuyer),O(e.event,F.parseEvent),k(e.lines,V.parseOrderLine),O(e.shop,q.parsePublicShop),O(e.transaction,W.parseTransaction))}static parseOrderLine(e){return new ke(e.id,W.parseCost(e.price),e.quantity,V.parseOrderProduct(e.product),W.parseCost(e.sub_total),N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on))}static parseOrderPaymentProvider(e){return new x(e.name,e.url)}static parseOrderProduct(e){return new S(e.id,e.name,e.description,e.image)}};H=V=a([n],H);var U;let W=U=class{static parseCost(e){return new C(e.currency_code,e.currency_decimals,e.currency_sign,e.decimal,e.formatted,e.value)}static parsePaymentMethod(e){return new w(e.id,e.name,e.image)}static parsePaymentProvider(e){return new Ae(e.id,e.type,e.methods.map(U.parsePaymentMethod))}static parseTransaction(e){return new je(e.id,e.description,e.status,U.parseCost(e.cost),e.metadata,e.external_checkout_url,e.external_details,O(e.order,H.parseOrder),O(e.payment_method,U.parsePaymentMethod))}};W=U=a([n],W);let G=class{static parseProduct(e){return new Me(e.id,e.type,e.name,e.description,O(e.price,W.parseCost),e.max_quantity,e.is_active,e.is_swappable,e.remaining_stock,O(e.stock_pool,F.parseStockPool),O(e.image,I.parsePicture),k(e.images,I.parsePicture))}};G=a([n],G);let bt=class{static parsePublicPaymentMethod(e){return new Ne(e.id,e.name,e.image)}};bt=a([n],bt);var K;let q=K=class{static parsePublicShop(e){return new Ie(e.id,e.name,N.parseDateTime(e.starts_on),N.parseDateTime(e.ends_on),e.field_address,e.field_birthdate,e.field_gender,e.field_phone_number,O(e.design,K.parsePublicShopDesign),k(e.elements,K.parsePublicShopElement),K.parsePublicShopEvent(e.event),K.parsePublicShopMerchant(e.merchant))}static parsePublicShopDesign(e){return new Fe(e.background_color,e.foreground_color,e.primary_color)}static parsePublicShopElement(e){switch(e.type){case`button`:return new Le(e.id,e.icon,e.text,e.url);case`divider`:return new Re(e.id,e.icon,e.text);case`heading`:return new ze(e.id,e.heading_level,e.title);case`notice`:return new Be(e.id,e.icon,e.notice_type,e.title,e.text);case`product`:return new Ve(e.id,K.parsePublicShopProduct(e.product));case`text`:return new He(e.id,e.text)}throw Error(`Unknown shop element.`)}static parsePublicShopEvent(e){return new Ue(e.id,e.name,e.status,D.parseAddress(e.address),O(e.header_file,I.parsePicture))}static parsePublicShopMerchant(e){return new We(e.id,e.name)}static parsePublicShopProduct(e){return new Ge(e.id,e.type,e.name,e.description,W.parseCost(e.price),e.max_quantity,e.is_active,e.is_timeslotted,k(e.time_slots,K.parsePublicShopTimeSlot),O(e.image,I.parsePicture),k(e.images,I.parsePicture))}static parsePublicShopReservation(e){return new Ke(e.id,N.parseDateTime(e.created_on),N.parseDateTime(e.expires_on),e.products.map(K.parsePublicShopReservationProduct))}static parsePublicShopReservationProduct(e){return new qe(K.parsePublicShopReservationProductDetails(e.product),e.quantity)}static parsePublicShopReservationProductDetails(e){return new Je(e.id,e.name,e.description,O(e.image,I.parsePicture))}static parsePublicShopTimeSlot(e){return new Ye(e.id,e.label,N.parseDateTime(e.from_time),N.parseDateTime(e.to_time),e.max_quantity)}};q=K=a([n],q);var xt;let St=xt=class{static parseReservation(e){return new Xe(e.id,N.parseDateTime(e.created_on),N.parseDateTime(e.expires_on),e.is_expired,k(e.products,xt.parseReservationItem))}static parseReservationItem(e){return new Ze(e.quantity,xt.parseReservationProduct(e.product))}static parseReservationProduct(e){return new Qe(e.id,e.name,e.description,O(e.image,I.parsePicture))}};St=xt=a([n],St);let J=class{static parseTrend(e,t){return new ft(t(e.current),t(e.previous),e.growth_rate)}};J=a([n],J);let Y=class{static parseOverview(e){return new $e(J.parseTrend(e.buyers,Number),J.parseTrend(e.new_buyers,Number),J.parseTrend(e.retention_rate,Number),e.total_buyers,W.parseCost(e.lifetime_value_per_buyer),e.average_tickets_per_buyer)}static parseRanked(e){return new et(e.ranking,j.parseBuyer(e.buyer),e.order_count,W.parseCost(e.total_spend),e.events_attended,W.parseCost(e.average_order_value))}};Y=a([n],Y);let Ct=class{static parseOverview(e){return new tt(e.total_events,e.active_events,W.parseCost(e.average_revenue_per_event),e.average_tickets_per_event,e.average_sell_through_rate)}};Ct=a([n],Ct);var X;let Z=X=class{static parseBestRevenueMonth(e){return new nt(N.parseDateTimeFromMonth(e.period),W.parseCost(e.revenue),e.orders,e.tickets)}static parseEventPerformance(e){return new rt(e.events.map(X.parseEventPerformanceEvent),X.parseEventPerformanceSummary(e.summary))}static parseEventPerformanceEvent(e){return new it(e.id,e.name,N.parseDateTime(e.starts_on),N.parseDateTime(e.ends_on),O(e.header_file,I.parsePicture),e.status,W.parseCost(e.revenue),e.tickets_sold,e.tickets_total,e.sell_through_rate,e.attendance_rate,e.attended_count,e.orders_count)}static parseEventPerformanceSummary(e){return new at(W.parseCost(e.total_revenue),e.total_tickets_sold,e.total_tickets_capacity,e.average_sell_through_rate,e.average_attendance_rate)}static parseKPIs(e){return new ot(X.parseKPIsTotalRevenue(e.total_revenue),X.parseKPIsTotalTicketsSold(e.total_tickets_sold),X.parseKPIsTotalEventsHosted(e.total_events_hosted),e.total_customers,W.parseCost(e.average_order_value),e.average_attendance_rate)}static parseKPIsTotalEventsHosted(e){return new st(e.active,e.concluded,e.total,e.upcoming)}static parseKPIsTotalRevenue(e){return new ct(W.parseCost(e.lifetime),J.parseTrend(e.trend,W.parseCost))}static parseKPIsTotalTicketsSold(e){return new lt(e.lifetime,J.parseTrend(e.trend,Number))}};Z=X=a([n],Z);let Q=class{static parseLifetimeTotals(e){return new ut(W.parseCost(e.total_revenue),W.parseCost(e.total_platform_cost),W.parseCost(e.net_revenue),W.parseCost(e.average_order_value),W.parseCost(e.average_revenue_per_ticket))}static parsePurchaseBehavior(e){return new dt(e.average_time_to_purchase,e.cart_abandonment_rate,e.peak_buying_count,N.parseDateTime(e.peak_buying_time))}static parseTransactionSuccessRate(e){return new E(e.success_rate,e.failed_rate,e.reasons)}};Q=a([n],Q);let $=class{static parseTicket(e){return new pt(e.id,e.sequence,e.code,e.status,e.validity,O(e.buyer,j.parseBuyer),O(e.event,F.parseEvent),O(e.holder,j.parseBuyer),O(e.order,H.parseOrder),O(e.product,G.parseProduct),N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on))}};$=a([n],$);var wt=class extends e{async get(){return await this.request(`/auth`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(A.parseUserToken)}async getClaims(){return await this.request(`/auth/claims`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(e=>Object.values(e))}async getPasswordCompromised(){return await this.request(`/auth/password-compromised`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runDataKey(`compromised`)}async getSessions(e,n){return await this.request(`/auth/sessions`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`).append(`offset`,e).append(`limit`,n)).runPaginatedAdapter(A.parseUserToken)}async post(e,n,r){return await this.request(`/auth`).method(`post`).body({email:e,password:n,code:r}).queryString(t.builder().append(`language`,`nl`)).runAdapter(A.parseUserToken)}async deleteSession(e){return await this.request(`/auth/sessions`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({token:e}).runEmpty()}},Tt=class extends e{async get(e){return await this.request(`/invitations/${e}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).runAdapter(z.parseInvitation)}async postAccept(e,n){return await this.request(`/invitations/${e}/accept`).method(`post`).queryString(t.builder().append(`language`,`nl`)).body({password:n}).runAdapter(A.parseUserToken)}async postDecline(e){return await this.request(`/invitations/${e}/decline`).method(`post`).queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}},Et=class extends e{async get(e){return await this.request(`/merchants/${e}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(z.parseMerchant)}async getAccountManagers(e){return await this.request(`/merchants/${e}/account-managers`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runArrayAdapter(A.parseUser)}async getClaims(e){return await this.request(`/merchants/${e}/claims`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(e=>Object.values(e))}async getContract(e){return await this.request(`/merchants/${e}/contract`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(z.parseContract)}async getPaymentProviders(e){return await this.request(`/merchants/${e}/payment-providers`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runArrayAdapter(W.parsePaymentProvider)}async getVatNumber(e){return await this.request(`/merchants/${e}/vat-number`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(z.parseVatNumber)}async put(e,n){return await this.request(`/merchants/${e}`).method(`put`).queryString(t.builder().append(`language`,`nl`)).bearerToken().body({name:n.name,email:n.email,phone_number:n.phoneNumber,url:n.url,chamber_of_commerce_number:n.chamberOfCommerceNumber,vat_number:n.vatNumber,address:{label:mt(n.address.label),street:n.address.street,number:n.address.number,postal_code:n.address.postalCode,city:n.address.city,country_code:n.address.country}}).runAdapter(z.parseMerchant)}async postLogo(e,n){let r=new FormData;return r.append(`file`,n),await this.request(`/merchants/${e}/logo`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body(r).runAdapter(M.parseStatusResponse)}async deleteLogo(e){return await this.request(`/merchants/${e}/logo`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}},Dt=class extends e{async get(){return await this.request(`/merchants`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runArrayAdapter(z.parseMerchant)}},Ot=class extends e{async get(e,n){return await this.request(`/merchants/${e}/buyers/${n}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(j.parseBuyer)}async getOrder(e,n,r){return await this.request(`/merchants/${e}/buyers/${n}/orders/${r}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(H.parseOrder)}async getOrders(e,n,r,i){return await this.request(`/merchants/${e}/buyers/${n}/orders`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`).append(`offset`,r).append(`limit`,i)).runPaginatedAdapter(H.parseOrder)}},kt=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/buyers`).method(`get`).queryString(t.builder().append(`language`,`nl`).append(`offset`,n).append(`limit`,r)).bearerToken().runPaginatedAdapter(j.parseBuyer)}},At=class extends e{async getKeyMetrics(e){return await this.request(`/merchants/${e}/dashboard/key-metrics`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(B.parseKeyMetrics)}async getUpcomingEvents(e){return await this.request(`/merchants/${e}/dashboard/upcoming-events`).method(`get`).bearerToken().runArrayAdapter(B.parseUpcomingEvent)}},jt=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/events/${n}/app-teams/${r}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseAppTeam)}async delete(e,n,r){return await this.request(`/merchants/${e}/events/${n}/app-teams/${r}`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}async patch(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/app-teams/${r}`).method(`patch`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:i.name}).runAdapter(F.parseAppTeam)}},Mt=class extends e{async get(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/app-teams`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`).append(`offset`,r).append(`limit`,i)).runPaginatedAdapter(F.parseAppTeam)}async post(e,n,r){return await this.request(`/merchants/${e}/events/${n}/app-teams`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:r}).runAdapter(F.parseAppTeam)}},Nt=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/events/${n}/products/${r}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(G.parseProduct)}async postImage(e,n,r,i){let a=new FormData;return a.append(`file`,i),await this.request(`/merchants/${e}/events/${n}/products/${r}/media`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body(a).run()}async patch(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/products/${r}`).method(`patch`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:i.name,description:i.description,price:i.price.cents,max_quantity:i.maxQuantity,is_swappable:i.isSwappable}).runAdapter(G.parseProduct)}async patchPause(e,n,r){return await this.request(`/merchants/${e}/events/${n}/products/${r}/pause`).method(`patch`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runEmpty()}async patchResume(e,n,r){return await this.request(`/merchants/${e}/events/${n}/products/${r}/resume`).method(`patch`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runEmpty()}async delete(e,n,r){return await this.request(`/merchants/${e}/events/${n}/products/${r}`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runEmpty()}},Pt=class extends e{async get(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/products`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`).append(`offset`,r).append(`limit`,i)).runPaginatedAdapter(G.parseProduct)}async getSelectOptions(e,n,r=null,i=null){return await this.request(`/merchants/${e}/events/${n}/products/select-options`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`).appendArray(`ids[]`,i).append(`searchQuery`,r)).runArrayAdapter(R.parseFluxFormSelectEntry)}async post(e,n,r,i,a,o,s,c){return await this.request(`/merchants/${e}/events/${n}/products`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:r,description:i,price:a,stock:s,max_quantity:o,stock_pool_id:c}).runAdapter(G.parseProduct)}},Ft=class extends e{async get(e,n){return await this.request(`/merchants/${e}/events/${n}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEvent)}async getAvailability(e,n){return await this.request(`/merchants/${e}/events/${n}/availability`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventAvailability)}async getCounters(e,n){return await this.request(`/merchants/${e}/events/${n}/counters`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventCounters)}async post(e,n){return await this.request(`/merchants/${e}/events/${n.id}`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:n.name,description:n.description,starts_on:n.startsOn.toISO(),ends_on:n.endsOn.toISO(),minimum_age:n.minimumAge,address:{label:mt(n.address.label),street:n.address.street,number:n.address.number,postal_code:n.address.postalCode,city:n.address.city,country_code:n.address.country}}).runAdapter(F.parseEvent)}async postHeader(e,n,r){let i=new FormData;return i.append(`file`,r),await this.request(`/merchants/${e}/events/${n}/header`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body(i).runAdapter(M.parseStatusResponse)}async postPublish(e,n){return await this.request(`/merchants/${e}/events/${n}/publish`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}async postUnpublish(e,n){return await this.request(`/merchants/${e}/events/${n}/unpublish`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}async delete(e,n){return await this.request(`/merchants/${e}/events/${n}`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}async deleteHeader(e,n){return await this.request(`/merchants/${e}/events/${n}/header`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}},It=class extends e{async getAttendance(e,n){return await this.request(`/merchants/${e}/events/${n}/statistics/attendance`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventStatisticsAttendance)}async getBuyers(e,n){return await this.request(`/merchants/${e}/events/${n}/statistics/buyers`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventStatisticsBuyerTotals)}async getFinancial(e,n){return await this.request(`/merchants/${e}/events/${n}/statistics/financial`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventStatisticsFinancial)}async getOrders(e,n){return await this.request(`/merchants/${e}/events/${n}/statistics/orders`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventStatisticsOrders)}async getScans(e,n){return await this.request(`/merchants/${e}/events/${n}/statistics/scans`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventStatisticsScans)}async getSwaps(e,n){return await this.request(`/merchants/${e}/events/${n}/statistics/swaps`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventStatisticsSwapTotals)}},Lt=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/events/${n}/shops/${r}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(F.parseShop)}async getElements(e,n,r){return await this.request(`/merchants/${e}/events/${n}/shops/${r}/elements`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runArrayAdapter(F.parseShopElement)}async patch(e,n,r){return await this.request(`/merchants/${e}/events/${n}/shops/${r.id}`).method(`patch`).queryString(t.builder().append(`language`,`nl`)).bearerToken().body({name:r.name,is_published:r.isPublished,starts_on:r.startsOn,ends_on:r.endsOn,password:r.password}).runAdapter(F.parseShop)}async patchDesign(e,t,n,r){return await this.request(`/merchants/${e}/events/${t}/shops/${n}/design`).method(`patch`).bearerToken().body({background_color:r.backgroundColor,foreground_color:r.foregroundColor,primary_color:r.primaryColor}).runAdapter(F.parseShopDesign)}async patchElements(e,t,n,r){return await this.request(`/merchants/${e}/events/${t}/shops/${n}/elements`).method(`patch`).bearerToken().body({elements:r}).runArrayAdapter(F.parseShopElement)}},Rt=class extends e{async get(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/shops`).method(`get`).queryString(t.builder().append(`language`,`nl`).append(`offset`,r).append(`limit`,i)).bearerToken().runPaginatedAdapter(F.parseShop)}async post(e,n,r,i,a){return await this.request(`/merchants/${e}/events/${n}/shops`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:r,starts_on:i,ends_on:a}).runAdapter(F.parseShop)}async delete(e,n,r){return await this.request(`/merchants/${e}/events/${n}/shops/${r}`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}},zt=class extends e{async get(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/stock-pools`).method(`get`).queryString(t.builder().append(`language`,`nl`).append(`offset`,r).append(`limit`,i)).bearerToken().runPaginatedAdapter(F.parseStockPool)}async getOverview(e,n){return await this.request(`/merchants/${e}/events/${n}/stock-pools/overview`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(F.parseStockOverview)}async getSelectOptions(e,n,r=null,i=null){return await this.request(`/merchants/${e}/events/${n}/stock-pools/select-options`).method(`get`).queryString(t.builder().append(`language`,`nl`).appendArray(`ids[]`,i).append(`searchQuery`,r)).bearerToken().runArrayAdapter(R.parseFluxFormSelectEntry)}async post(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/stock-pools`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:r,stock:i}).runAdapter(F.parseStockPool)}},Bt=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/events/${n}/ticket-templates/${r}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseTicketTemplate)}async getDemo(e,n,r){return await this.request(`/merchants/${e}/events/${n}/ticket-templates/${r}/demo`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).fetchBlob()}async postVisual(e,n,r,i){let a=new FormData;return a.append(`file`,i),await this.request(`/merchants/${e}/events/${n}/ticket-templates/${r}/visual`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body(a).runAdapter(M.parseStatusResponse)}async patch(e,n,r,i,a,o){return await this.request(`/merchants/${e}/events/${n}/ticket-templates/${r}`).method(`patch`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:i,product_id:a,variant:o}).runAdapter(F.parseTicketTemplate)}async delete(e,n,r){return await this.request(`/merchants/${e}/events/${n}/ticket-templates/${r}`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}async deleteVisual(e,n,r){return await this.request(`/merchants/${e}/events/${n}/ticket-templates/${r}/visual`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}},Vt=class extends e{async get(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/ticket-templates`).method(`get`).queryString(t.builder().append(`language`,`nl`).append(`offset`,r).append(`limit`,i)).bearerToken().runPaginatedAdapter(F.parseTicketTemplate)}async getSelectOptions(e,n,r=null,i=null){return await this.request(`/merchants/${e}/events/${n}/ticket-templates/select-options`).method(`get`).queryString(t.builder().append(`language`,`nl`).appendArray(`ids[]`,i).append(`searchQuery`,r)).bearerToken().runArrayAdapter(R.parseFluxFormSelectEntry)}async post(e,n,r,i,a,o){let s=new FormData;return s.append(`data`,ht({name:r,product_id:i,variant:a})),s.append(`visual`,o),await this.request(`/merchants/${e}/events/${n}/ticket-templates`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body(s).runAdapter(F.parseTicketTemplate)}},Ht=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/events`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`).append(`offset`,n).append(`limit`,r)).runPaginatedAdapter(F.parseEvent)}async post(e,n,r,i,a,o){return await this.request(`/merchants/${e}/events`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:n,description:r,starts_on:i,ends_on:a,minimum_age:o}).runAdapter(F.parseEvent)}},Ut=class extends e{async get(e,n){return await this.request(`/merchants/${e}/finance/invoices/${n}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(L.parseInvoice)}async getPDF(e,n){return await this.request(`/merchants/${e}/finance/invoices/${n}/pdf`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).fetchBlob()}},Wt=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/finance/invoices`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`).append(`offset`,n).append(`limit`,r)).runPaginatedAdapter(L.parseInvoice)}},Gt=class extends e{async getDailyRevenue(e){return await this.request(`/merchants/${e}/finance/daily-revenue`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).run()}async getMonthlyRevenue(e){return await this.request(`/merchants/${e}/finance/monthly-revenue`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).run()}async getOverview(e){return await this.request(`/merchants/${e}/finance/overview`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(L.parseFinanceOverview)}},Kt=class extends e{async get(e,n){return await this.request(`/merchants/${e}/orders/${n}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(H.parseOrder)}async getPasses(e,n){return await this.request(`/merchants/${e}/orders/${n}/passes`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).fetchBlob()}async getPDF(e,n){return await this.request(`/merchants/${e}/orders/${n}/pdf`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).fetchBlob()}async getTickets(e,n){return await this.request(`/merchants/${e}/orders/${n}/tickets`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runArrayAdapter($.parseTicket)}async postResend(e,n){return await this.request(`/merchants/${e}/orders/${n}/resend`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runEmpty()}},qt=class extends e{async get(e,n,r,i){let a=t.builder().append(`language`,`nl`).append(`offset`,n).append(`limit`,r);return i&&Object.entries(i).forEach(([e,t])=>a.append(e,t)),await this.request(`/merchants/${e}/orders`).method(`get`).queryString(a).bearerToken().runPaginatedAdapter(H.parseOrder)}},Jt=class extends e{async getRevenueTrend(e){return this.request(`/merchants/${e}/statistics/revenue-trend`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}},Yt=class extends e{async getAcquisition(e,n,r){return await this.request(`/merchants/${e}/statistics/buyers/acquisition-chart/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getAgeDistribution(e,n,r){return await this.request(`/merchants/${e}/statistics/buyers/age-distribution/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getBrowserDistribution(e,n,r){return await this.request(`/merchants/${e}/statistics/buyers/browser-distribution/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getGenderDistribution(e,n,r){return await this.request(`/merchants/${e}/statistics/buyers/gender-distribution/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getLanguageDistribution(e,n,r){return await this.request(`/merchants/${e}/statistics/buyers/language-distribution/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getOsDistribution(e,n,r){return await this.request(`/merchants/${e}/statistics/buyers/os-distribution/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getOverview(e){return await this.request(`/merchants/${e}/statistics/buyers/overview`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Y.parseOverview)}async getTopBuyers(e,n,r){return await this.request(`/merchants/${e}/statistics/buyers/top-buyers/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runArrayAdapter(Y.parseRanked)}},Xt=class extends e{async getOverview(e){return await this.request(`/merchants/${e}/statistics/events/overview`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Ct.parseOverview)}},Zt=class extends e{async getBestRevenueMonth(e){return await this.request(`/merchants/${e}/statistics/overview/best-revenue-month`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Z.parseBestRevenueMonth)}async getEventPerformance(e){return await this.request(`/merchants/${e}/statistics/overview/event-performance`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Z.parseEventPerformance)}async getKeyPerformanceIndicators(e){return await this.request(`/merchants/${e}/statistics/overview/key-performance-indicators`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Z.parseKPIs)}async getRevenueAnalysis(e){return await this.request(`/merchants/${e}/statistics/overview/revenue-analysis`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getRevenueMonthComparison(e){return await this.request(`/merchants/${e}/statistics/overview/revenue-month-comparison`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(e=>J.parseTrend(e,W.parseCost))}},Qt=class extends e{async getLifetimeTotals(e){return await this.request(`/merchants/${e}/statistics/sales/lifetime-totals`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Q.parseLifetimeTotals)}async getPaymentMethodsChart(e,n,r){return await this.request(`/merchants/${e}/statistics/sales/payment-methods-chart/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getPurchaseBehavior(e,n,r){return await this.request(`/merchants/${e}/statistics/sales/purchase-behavior/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Q.parsePurchaseBehavior)}async getRevenueTrend(e,n,r){return await this.request(`/merchants/${e}/statistics/sales/revenue-trend/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getSalesByDayOfWeek(e,n,r){return await this.request(`/merchants/${e}/statistics/sales/sales-by-day-of-week/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getTransactionSuccessRate(e,n,r){return await this.request(`/merchants/${e}/statistics/sales/transaction-success-rate/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Q.parseTransactionSuccessRate)}},$t=class extends e{async get(e,n){return await this.request(`/merchants/${e}/tickets/${n}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter($.parseTicket)}async getPass(e,n){return await this.request(`/merchants/${e}/tickets/${n}/pass`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).fetchBlob()}async getPDF(e,n){return await this.request(`/merchants/${e}/tickets/${n}/pdf`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).fetchBlob()}},en=class extends e{async get(e,n,r,i){let a=t.builder().append(`language`,`nl`).append(`offset`,n).append(`limit`,r);return i&&Object.entries(i).forEach(([e,t])=>a.append(e,t)),await this.request(`/merchants/${e}/tickets`).method(`get`).queryString(a).bearerToken().runPaginatedAdapter($.parseTicket)}},tn=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/users`).method(`get`).queryString(t.builder().append(`language`,`nl`).append(`offset`,n).append(`limit`,r)).bearerToken().runPaginatedAdapter(z.parseMerchantUser)}async postInvite(e,n,r,i,a){return await this.request(`/merchants/${e}/users/invite`).method(`post`).queryString(t.builder().append(`language`,`nl`)).bearerToken().body({first_name:n,last_name:r,email:i,claims:a}).runAdapter(z.parseInvitation)}},nn=class extends e{async get(){return await this.request(`/me`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(A.parseUser)}async getTotp(){return await this.request(`/me/totp`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(A.parseTotpState)}async post(e,n,r){return await this.request(`/me`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({first_name:e,last_name:n,phone_number:r}).runAdapter(M.parseStatusResponse)}async postChangePassword(e,n,r){return await this.request(`/me/change-password`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({password:e,new_password:n,new_password_confirm:r}).runAdapter(M.parseStatusResponse)}async postProfilePicture(e){let n=new FormData;return n.append(`file`,e),await this.request(`/me/profile-picture`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body(n).runAdapter(M.parseStatusResponse)}async postTotp(e,n){return await this.request(`/me/totp`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({secret:e,code:n}).runAdapter(A.parseTotpState)}async deleteProfilePicture(){return await this.request(`/me/profile-picture`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}async deleteTotp(e){return await this.request(`/me/totp`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({code:e}).runAdapter(A.parseTotpState)}},rn=class extends e{async get(e){return await this.request(`/orders/${e}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).runAdapter(H.parseOrder)}async getPaymentMethods(e){return await this.request(`/orders/${e}/payment-methods`).method(`get`).queryString(t.builder().append(`language`,`nl`)).runArrayAdapter(bt.parsePublicPaymentMethod)}async postCancel(e){return await this.request(`/orders/${e}/cancel`).method(`post`).queryString(t.builder().append(`language`,`nl`)).runAdapter(H.parseOrder)}async postPay(e,n){return await this.request(`/orders/${e}/pay`).method(`post`).queryString(t.builder().append(`language`,`nl`)).body({payment_method_id:n}).runAdapter(W.parseTransaction)}},an=class extends e{async get(e){return await this.request(`/shops/${e}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).runAdapter(q.parsePublicShop)}async buy(e,n,r,i,a,o,s,c){return await this.request(`/shops/${e}/buy/${n}`).method(`post`).queryString(t.builder().append(`language`,`nl`)).body({first_name:r,last_name:i,email:a,phone_number:o.trim()===``?null:o.trim(),date_of_birth:s?.toISODate(),gender:c}).runAdapter(H.parseOrder)}async reserve(e,n){return await this.request(`/shops/${e}/reserve`).method(`post`).queryString(t.builder().append(`language`,`nl`)).body({products:n.map(e=>[e.productId,e.quantity,e.timeSlotId])}).runAdapter(q.parsePublicShopReservation)}},on=class extends e{async get(e){return await this.request(`/reservations/${e}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).runAdapter(St.parseReservation)}async remove(e){return await this.request(`/reservations/${e}`).method(`delete`).queryString(t.builder().append(`language`,`nl`)).run()}},sn=class extends e{async checkEmail(e){return await this.request(`/service/check-email`).method(`get`).queryString(t.builder().append(`email`,e).append(`language`,`nl`)).run()}},cn=class extends e{async getClaims(){return await this.request(`/ui/select-options/claims`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(e=>{let t=[];return e.forEach(e=>{t.push({icon:e.icon,label:e.label}),e.claims.forEach(e=>t.push({label:e.label,value:e.value}))}),t})}async getCountries(){return await this.request(`/ui/select-options/countries`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runArrayAdapter(e=>e)}async getLanguages(){return await this.request(`/ui/select-options/languages`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runArrayAdapter(e=>e)}};export{D as AddressAdapter,o as AddressDto,d as AppTeamDto,A as AuthAdapter,wt as AuthService,j as BuyerAdapter,y as BuyerDto,M as CommonAdapter,we as ContractDto,C as CostDto,N as DateTimeAdapter,F as EventAdapter,f as EventAvailabilityDto,p as EventCountersDto,m as EventDto,ee as EventStatisticsAttendanceDto,te as EventStatisticsBuyerTotalsDto,ne as EventStatisticsFinancialDto,ie as EventStatisticsOrderTotalsDto,re as EventStatisticsOrdersDto,se as EventStatisticsScanTotalsDto,ae as EventStatisticsScansDto,oe as EventStatisticsScansPerAppTeamDto,ce as EventStatisticsSwapTotalsDto,I as FileSystemAdapter,L as FinanceAdapter,xe as FinanceOverviewDto,R as FluxAdapter,Te as InvitationDto,Tt as InvitationService,Se as InvoiceDto,Ce as InvoiceLineDto,nn as MeService,z as MerchantAdapter,Ot as MerchantBuyerService,kt as MerchantBuyersService,B as MerchantDashboardAdapter,Ee as MerchantDashboardKeyMetricsDto,At as MerchantDashboardService,De as MerchantDashboardUpcomingEventDto,Oe as MerchantDto,jt as MerchantEventAppTeamService,Mt as MerchantEventAppTeamsService,Nt as MerchantEventProductService,Pt as MerchantEventProductsService,Ft as MerchantEventService,Lt as MerchantEventShopService,Rt as MerchantEventShopsService,It as MerchantEventStatisticsService,zt as MerchantEventStockPoolsService,Bt as MerchantEventTicketTemplateService,Vt as MerchantEventTicketTemplatesService,Ht as MerchantEventsService,Ut as MerchantFinanceInvoiceService,Wt as MerchantFinanceInvoicesService,Gt as MerchantFinanceService,Kt as MerchantOrderService,qt as MerchantOrdersService,Et as MerchantService,Yt as MerchantStatisticsBuyersService,Xt as MerchantStatisticsEventsService,Zt as MerchantStatisticsOverviewService,Qt as MerchantStatisticsSalesService,Jt as MerchantStatisticsService,$t as MerchantTicketService,en as MerchantTicketsService,_ as MerchantUserDto,tn as MerchantUsersService,Dt as MerchantsService,H as OrderAdapter,b as OrderDto,ke as OrderLineDto,x as OrderPaymentProviderDto,S as OrderProductDto,W as PaymentAdapter,w as PaymentMethodDto,Ae as PaymentProviderDto,be as PictureDto,G as ProductAdapter,Me as ProductDto,rn as PublicOrderService,bt as PublicPayAdapter,Ne as PublicPaymentMethodDto,q as PublicShopAdapter,Pe as PublicShopCartProductDto,Fe as PublicShopDesignDto,Ie as PublicShopDto,Le as PublicShopElementButtonDto,Re as PublicShopElementDividerDto,T as PublicShopElementDto,ze as PublicShopElementHeadingDto,Be as PublicShopElementNoticeDto,Ve as PublicShopElementProductDto,He as PublicShopElementTextDto,Ue as PublicShopEventDto,We as PublicShopMerchantDto,Ge as PublicShopProductDto,Ke as PublicShopReservationDto,Je as PublicShopReservationProductDetailsDto,qe as PublicShopReservationProductDto,an as PublicShopService,Ye as PublicShopTimeSlotDto,St as ReservationAdapter,Xe as ReservationDto,Ze as ReservationItemDto,Qe as ReservationProductDto,on as ReservationService,sn as ServicesService,le as ShopDesignDto,ue as ShopDto,de as ShopElementButtonDto,fe as ShopElementDividerDto,h as ShopElementDto,pe as ShopElementHeadingDto,me as ShopElementNoticeDto,he as ShopElementProductDto,g as ShopElementTextDto,J as StatisticsAdapter,Y as StatisticsBuyersAdapter,$e as StatisticsBuyersOverviewDto,et as StatisticsBuyersRankedDto,Ct as StatisticsEventsAdapter,tt as StatisticsEventsOverviewDto,Z as StatisticsOverviewAdapter,nt as StatisticsOverviewBestRevenueMonthDto,rt as StatisticsOverviewEventPerformanceDto,it as StatisticsOverviewEventPerformanceEventDto,at as StatisticsOverviewEventPerformanceSummaryDto,ot as StatisticsOverviewKPIsDto,st as StatisticsOverviewKPIsTotalEventsHostedDto,ct as StatisticsOverviewKPIsTotalRevenueDto,lt as StatisticsOverviewKPIsTotalTicketsSoldDto,Q as StatisticsSalesAdapter,ut as StatisticsSalesLifetimeTotalsDto,dt as StatisticsSalesPurchaseBehaviorDto,E as StatisticsSalesTransactionSuccessRateDto,ft as StatisticsTrendDto,u as StatusResponseDto,ge as StockOverviewDto,_e as StockOverviewItemDto,ve as StockPoolDto,$ as TicketAdapter,pt as TicketDto,ye as TicketTemplateDto,s as TotpStateDto,je as TransactionDto,cn as UiSelectOptionsService,c as UserDto,l as UserTokenDto,v as VatNumberDto,mt as emptyNull,ht as jsonBlob,O as optional,k as optionalArray};
|
|
1
|
+
import{BaseService as e,QueryString as t,adapter as n,dto as r}from"@basmilius/http-client";import{DateTime as i}from"luxon";function a(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}let o=class{get id(){return this.#e}set id(e){this.#e=e}get label(){return this.#t}set label(e){this.#t=e}get street(){return this.#n}set street(e){this.#n=e}get number(){return this.#r}set number(e){this.#r=e}get postalCode(){return this.#i}set postalCode(e){this.#i=e}get city(){return this.#a}set city(e){this.#a=e}get country(){return this.#o}set country(e){this.#o=e}get formatted(){return this.#s}set formatted(e){this.#s=e}#e;#t;#n;#r;#i;#a;#o;#s;constructor(e,t,n,r,i,a,o,s){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s}};o=a([r],o);let s=class{get enabled(){return this.#e}set enabled(e){this.#e=e}get secret(){return this.#t}set secret(e){this.#t=e}get qr(){return this.#n}set qr(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};s=a([r],s);let c=class{get id(){return this.#e}set id(e){this.#e=e}get email(){return this.#t}set email(e){this.#t=e}get firstName(){return this.#n}set firstName(e){this.#n=e}get lastName(){return this.#r}set lastName(e){this.#r=e}get fullName(){return this.#i}set fullName(e){this.#i=e}get initials(){return this.#a}set initials(e){this.#a=e}get phoneNumber(){return this.#o}set phoneNumber(e){this.#o=e}get isOnline(){return this.#s}set isOnline(e){this.#s=e}get picture(){return this.#c}set picture(e){this.#c=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;constructor(e,t,n,r,i,a,o,s,c){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c}};c=a([r],c);let l=class{get token(){return this.#e}set token(e){this.#e=e}get type(){return this.#t}set type(e){this.#t=e}get browser(){return this.#n}set browser(e){this.#n=e}get operatingSystem(){return this.#r}set operatingSystem(e){this.#r=e}get createdOn(){return this.#i}set createdOn(e){this.#i=e}get expiresOn(){return this.#a}set expiresOn(e){this.#a=e}get realtimeChannel(){return this.#o}set realtimeChannel(e){this.#o=e}get user(){return this.#s}set user(e){this.#s=e}#e;#t;#n;#r;#i;#a;#o;#s;constructor(e,t,n,r,i,a,o,s){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s}};l=a([r],l);let u=class{get message(){return this.#e}set message(e){this.#e=e}get status(){return this.#t}set status(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};u=a([r],u);let d=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get secret(){return this.#n}set secret(e){this.#n=e}get checkinCount(){return this.#r}set checkinCount(e){this.#r=e}get checkoutCount(){return this.#i}set checkoutCount(e){this.#i=e}get creator(){return this.#a}set creator(e){this.#a=e}get event(){return this.#o}set event(e){this.#o=e}get merchant(){return this.#s}set merchant(e){this.#s=e}#e;#t;#n;#r;#i;#a;#o;#s;constructor(e,t,n,r,i,a,o,s){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s}};d=a([r],d);let f=class{get hasProducts(){return this.#e}set hasProducts(e){this.#e=e}get hasShops(){return this.#t}set hasShops(e){this.#t=e}get hasShopsWithProducts(){return this.#n}set hasShopsWithProducts(e){this.#n=e}get isPublishable(){return this.#r}set isPublishable(e){this.#r=e}get isPublished(){return this.#i}set isPublished(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};f=a([r],f);let p=class{get guests(){return this.#e}set guests(e){this.#e=e}get orders(){return this.#t}set orders(e){this.#t=e}get tickets(){return this.#n}set tickets(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};p=a([r],p);let m=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get description(){return this.#n}set description(e){this.#n=e}get startsOn(){return this.#r}set startsOn(e){this.#r=e}get endsOn(){return this.#i}set endsOn(e){this.#i=e}get minimumAge(){return this.#a}set minimumAge(e){this.#a=e}get status(){return this.#o}set status(e){this.#o=e}get address(){return this.#s}set address(e){this.#s=e}get headerFile(){return this.#c}set headerFile(e){this.#c=e}get createdOn(){return this.#l}set createdOn(e){this.#l=e}get updatedOn(){return this.#u}set updatedOn(e){this.#u=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;constructor(e,t,n,r,i,a,o,s,c,l,u){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u}};m=a([r],m);let ee=class{get attended(){return this.#e}set attended(e){this.#e=e}get expected(){return this.#t}set expected(e){this.#t=e}get rate(){return this.#n}set rate(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};ee=a([r],ee);let te=class{get acquired(){return this.#e}set acquired(e){this.#e=e}get averageTickets(){return this.#t}set averageTickets(e){this.#t=e}get doubting(){return this.#n}set doubting(e){this.#n=e}get returning(){return this.#r}set returning(e){this.#r=e}get total(){return this.#i}set total(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};te=a([r],te);let ne=class{get platformCost(){return this.#e}set platformCost(e){this.#e=e}get revenue(){return this.#t}set revenue(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};ne=a([r],ne);let re=class{get chart(){return this.#e}set chart(e){this.#e=e}get totals(){return this.#t}set totals(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};re=a([r],re);let ie=class{get fulfilled(){return this.#e}set fulfilled(e){this.#e=e}get interrupted(){return this.#t}set interrupted(e){this.#t=e}get pending(){return this.#n}set pending(e){this.#n=e}get total(){return this.#r}set total(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};ie=a([r],ie);let ae=class{get appTeams(){return this.#e}set appTeams(e){this.#e=e}get chart(){return this.#t}set chart(e){this.#t=e}get totals(){return this.#n}set totals(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};ae=a([r],ae);let oe=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get scans(){return this.#n}set scans(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};oe=a([r],oe);let se=class{get total(){return this.#e}set total(e){this.#e=e}get checkins(){return this.#t}set checkins(e){this.#t=e}get checkouts(){return this.#n}set checkouts(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};se=a([r],se);let ce=class{get swaps(){return this.#e}set swaps(e){this.#e=e}get tickets(){return this.#t}set tickets(e){this.#t=e}get rate(){return this.#n}set rate(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};ce=a([r],ce);let le=class{get backgroundColor(){return this.#e}set backgroundColor(e){this.#e=e}get foregroundColor(){return this.#t}set foregroundColor(e){this.#t=e}get primaryColor(){return this.#n}set primaryColor(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};le=a([r],le);let ue=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get isPublished(){return this.#n}set isPublished(e){this.#n=e}get password(){return this.#r}set password(e){this.#r=e}get startsOn(){return this.#i}set startsOn(e){this.#i=e}get endsOn(){return this.#a}set endsOn(e){this.#a=e}get fieldAddress(){return this.#o}set fieldAddress(e){this.#o=e}get fieldBirthdate(){return this.#s}set fieldBirthdate(e){this.#s=e}get fieldGender(){return this.#c}set fieldGender(e){this.#c=e}get fieldPhoneNumber(){return this.#l}set fieldPhoneNumber(e){this.#l=e}get status(){return this.#u}set status(e){this.#u=e}get design(){return this.#d}set design(e){this.#d=e}get event(){return this.#f}set event(e){this.#f=e}get merchant(){return this.#p}set merchant(e){this.#p=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;constructor(e,t,n,r,i,a,o,s,c,l,u,d,f,p){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u,this.#d=d,this.#f=f,this.#p=p}};ue=a([r],ue);var h=class{get id(){return this.#e}set id(e){this.#e=e}get type(){return this.#t}set type(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};let de=class extends h{get icon(){return this.#e}set icon(e){this.#e=e}get text(){return this.#t}set text(e){this.#t=e}get url(){return this.#n}set url(e){this.#n=e}#e;#t;#n;constructor(e,t,n,r){super(e,`button`),this.#e=t,this.#t=n,this.#n=r}};de=a([r],de);let fe=class extends h{get icon(){return this.#e}set icon(e){this.#e=e}get text(){return this.#t}set text(e){this.#t=e}#e;#t;constructor(e,t,n){super(e,`divider`),this.#e=t,this.#t=n}};fe=a([r],fe);let pe=class extends h{get headingLevel(){return this.#e}set headingLevel(e){this.#e=e}get title(){return this.#t}set title(e){this.#t=e}#e;#t;constructor(e,t,n){super(e,`heading`),this.#e=t,this.#t=n}};pe=a([r],pe);let me=class extends h{get icon(){return this.#e}set icon(e){this.#e=e}get noticeType(){return this.#t}set noticeType(e){this.#t=e}get title(){return this.#n}set title(e){this.#n=e}get text(){return this.#r}set text(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r,i){super(e,`notice`),this.#e=t,this.#t=n,this.#n=r,this.#r=i}};me=a([r],me);let he=class extends h{get product(){return this.#e}set product(e){this.#e=e}#e;constructor(e,t){super(e,`product`),this.#e=t}};he=a([r],he);let g=class extends h{get text(){return this.#e}set text(e){this.#e=e}#e;constructor(e,t){super(e,`text`),this.#e=t}};g=a([r],g);let ge=class{get total(){return this.#e}set total(e){this.#e=e}get sold(){return this.#t}set sold(e){this.#t=e}get remaining(){return this.#n}set remaining(e){this.#n=e}get items(){return this.#r}set items(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};ge=a([r],ge);let _e=class{get pool(){return this.#e}set pool(e){this.#e=e}get product(){return this.#t}set product(e){this.#t=e}get remaining(){return this.#n}set remaining(e){this.#n=e}get sold(){return this.#r}set sold(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};_e=a([r],_e);let ve=class{get id(){return this.#e}set id(e){this.#e=e}get eventId(){return this.#t}set eventId(e){this.#t=e}get merchantId(){return this.#n}set merchantId(e){this.#n=e}get name(){return this.#r}set name(e){this.#r=e}get remainingStock(){return this.#i}set remainingStock(e){this.#i=e}get stock(){return this.#a}set stock(e){this.#a=e}get isShared(){return this.#o}set isShared(e){this.#o=e}get productNames(){return this.#s}set productNames(e){this.#s=e}get createdOn(){return this.#c}set createdOn(e){this.#c=e}get updatedOn(){return this.#l}set updatedOn(e){this.#l=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;constructor(e,t,n,r,i,a,o,s,c,l){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l}};ve=a([r],ve);let ye=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get product(){return this.#n}set product(e){this.#n=e}get productId(){return this.#r}set productId(e){this.#r=e}get variant(){return this.#i}set variant(e){this.#i=e}get visual(){return this.#a}set visual(e){this.#a=e}#e;#t;#n;#r;#i;#a;constructor(e,t,n,r,i,a){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a}};ye=a([r],ye);let be=class{get id(){return this.#e}set id(e){this.#e=e}get url(){return this.#t}set url(e){this.#t=e}get variants(){return this.#n}set variants(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};be=a([r],be);let xe=class{get estimatedPaymentCost(){return this.#e}set estimatedPaymentCost(e){this.#e=e}get orders(){return this.#t}set orders(e){this.#t=e}get platformCost(){return this.#n}set platformCost(e){this.#n=e}get revenue(){return this.#r}set revenue(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};xe=a([r],xe);let Se=class{get id(){return this.#e}set id(e){this.#e=e}get number(){return this.#t}set number(e){this.#t=e}get sequence(){return this.#n}set sequence(e){this.#n=e}get status(){return this.#r}set status(e){this.#r=e}get year(){return this.#i}set year(e){this.#i=e}get total(){return this.#a}set total(e){this.#a=e}get lines(){return this.#o}set lines(e){this.#o=e}get createdOn(){return this.#s}set createdOn(e){this.#s=e}get updatedOn(){return this.#c}set updatedOn(e){this.#c=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;constructor(e,t,n,r,i,a,o,s,c){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c}};Se=a([r],Se);let Ce=class{get id(){return this.#e}set id(e){this.#e=e}get type(){return this.#t}set type(e){this.#t=e}get cost(){return this.#n}set cost(e){this.#n=e}get createdOn(){return this.#r}set createdOn(e){this.#r=e}get updatedOn(){return this.#i}set updatedOn(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};Ce=a([r],Ce);let we=class{get id(){return this.#e}set id(e){this.#e=e}get startsOn(){return this.#t}set startsOn(e){this.#t=e}get endsOn(){return this.#n}set endsOn(e){this.#n=e}get fee(){return this.#r}set fee(e){this.#r=e}get remark(){return this.#i}set remark(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};we=a([r],we);let Te=class{get id(){return this.#e}set id(e){this.#e=e}get merchantId(){return this.#t}set merchantId(e){this.#t=e}get userId(){return this.#n}set userId(e){this.#n=e}get claims(){return this.#r}set claims(e){this.#r=e}get isNewUser(){return this.#i}set isNewUser(e){this.#i=e}get createdOn(){return this.#a}set createdOn(e){this.#a=e}get updatedOn(){return this.#o}set updatedOn(e){this.#o=e}get merchant(){return this.#s}set merchant(e){this.#s=e}get user(){return this.#c}set user(e){this.#c=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;constructor(e,t,n,r,i,a,o,s,c){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c}};Te=a([r],Te);let Ee=class{get revenue(){return this.#e}set revenue(e){this.#e=e}get tickets(){return this.#t}set tickets(e){this.#t=e}get events(){return this.#n}set events(e){this.#n=e}get tasks(){return this.#r}set tasks(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};Ee=a([r],Ee);let De=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get description(){return this.#n}set description(e){this.#n=e}get headerFile(){return this.#r}set headerFile(e){this.#r=e}get status(){return this.#i}set status(e){this.#i=e}get startsOn(){return this.#a}set startsOn(e){this.#a=e}get ticketsSold(){return this.#o}set ticketsSold(e){this.#o=e}get ticketsTotal(){return this.#s}set ticketsTotal(e){this.#s=e}get sellThroughRate(){return this.#c}set sellThroughRate(e){this.#c=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;constructor(e,t,n,r,i,a,o,s,c){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c}};De=a([r],De);let Oe=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get email(){return this.#n}set email(e){this.#n=e}get phoneNumber(){return this.#r}set phoneNumber(e){this.#r=e}get url(){return this.#i}set url(e){this.#i=e}get chamberOfCommerceNumber(){return this.#a}set chamberOfCommerceNumber(e){this.#a=e}get vatNumber(){return this.#o}set vatNumber(e){this.#o=e}get currency(){return this.#s}set currency(e){this.#s=e}get address(){return this.#c}set address(e){this.#c=e}get currentContract(){return this.#l}set currentContract(e){this.#l=e}get logo(){return this.#u}set logo(e){this.#u=e}get createdOn(){return this.#d}set createdOn(e){this.#d=e}get updatedOn(){return this.#f}set updatedOn(e){this.#f=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;#f;constructor(e,t,n,r,i,a,o,s,c,l,u,d,f){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u,this.#d=d,this.#f=f}};Oe=a([r],Oe);let _=class{get isManager(){return this.#e}set isManager(e){this.#e=e}get createdOn(){return this.#t}set createdOn(e){this.#t=e}get updatedOn(){return this.#n}set updatedOn(e){this.#n=e}get user(){return this.#r}set user(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};_=a([r],_);let v=class{get id(){return this.#e}set id(e){this.#e=e}get vatNumber(){return this.#t}set vatNumber(e){this.#t=e}get name(){return this.#n}set name(e){this.#n=e}get address(){return this.#r}set address(e){this.#r=e}get countryCode(){return this.#i}set countryCode(e){this.#i=e}get createdOn(){return this.#a}set createdOn(e){this.#a=e}get updatedOn(){return this.#o}set updatedOn(e){this.#o=e}#e;#t;#n;#r;#i;#a;#o;constructor(e,t,n,r,i,a,o){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o}};v=a([r],v);let y=class{get id(){return this.#e}set id(e){this.#e=e}get firstName(){return this.#t}set firstName(e){this.#t=e}get lastName(){return this.#n}set lastName(e){this.#n=e}get email(){return this.#r}set email(e){this.#r=e}get phoneNumber(){return this.#i}set phoneNumber(e){this.#i=e}get dateOfBirth(){return this.#a}set dateOfBirth(e){this.#a=e}get gender(){return this.#o}set gender(e){this.#o=e}get orderCount(){return this.#s}set orderCount(e){this.#s=e}get fullName(){return this.#c}set fullName(e){this.#c=e}get address(){return this.#l}set address(e){this.#l=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;constructor(e,t,n,r,i,a,o,s,c,l){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l}};y=a([r],y);let b=class{get id(){return this.#e}set id(e){this.#e=e}get code(){return this.#t}set code(e){this.#t=e}get origin(){return this.#n}set origin(e){this.#n=e}get type(){return this.#r}set type(e){this.#r=e}get createdOn(){return this.#i}set createdOn(e){this.#i=e}get paymentProvider(){return this.#a}set paymentProvider(e){this.#a=e}get platformCost(){return this.#o}set platformCost(e){this.#o=e}get subTotal(){return this.#s}set subTotal(e){this.#s=e}get total(){return this.#c}set total(e){this.#c=e}get url(){return this.#l}set url(e){this.#l=e}get buyer(){return this.#u}set buyer(e){this.#u=e}get event(){return this.#d}set event(e){this.#d=e}get lines(){return this.#f}set lines(e){this.#f=e}get shop(){return this.#p}set shop(e){this.#p=e}get transaction(){return this.#m}set transaction(e){this.#m=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m;constructor(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u,this.#d=d,this.#f=f,this.#p=p,this.#m=m}};b=a([r],b);let ke=class{get id(){return this.#e}set id(e){this.#e=e}get price(){return this.#t}set price(e){this.#t=e}get quantity(){return this.#n}set quantity(e){this.#n=e}get product(){return this.#r}set product(e){this.#r=e}get subTotal(){return this.#i}set subTotal(e){this.#i=e}get createdOn(){return this.#a}set createdOn(e){this.#a=e}get updatedOn(){return this.#o}set updatedOn(e){this.#o=e}#e;#t;#n;#r;#i;#a;#o;constructor(e,t,n,r,i,a,o){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o}};ke=a([r],ke);let x=class{get name(){return this.#e}set name(e){this.#e=e}get url(){return this.#t}set url(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};x=a([r],x);let S=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get description(){return this.#n}set description(e){this.#n=e}get image(){return this.#r}set image(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};S=a([r],S);let C=class{get currencyCode(){return this.#e}set currencyCode(e){this.#e=e}get currencyDecimals(){return this.#t}set currencyDecimals(e){this.#t=e}get currencySign(){return this.#n}set currencySign(e){this.#n=e}get decimal(){return this.#r}set decimal(e){this.#r=e}get formatted(){return this.#i}set formatted(e){this.#i=e}get cents(){return this.#a}set cents(e){this.#a=e}#e;#t;#n;#r;#i;#a;constructor(e,t,n,r,i,a){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a}};C=a([r],C);let w=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get image(){return this.#n}set image(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};w=a([r],w);let Ae=class{get id(){return this.#e}set id(e){this.#e=e}get type(){return this.#t}set type(e){this.#t=e}get methods(){return this.#n}set methods(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};Ae=a([r],Ae);let je=class{get id(){return this.#e}set id(e){this.#e=e}get description(){return this.#t}set description(e){this.#t=e}get status(){return this.#n}set status(e){this.#n=e}get cost(){return this.#r}set cost(e){this.#r=e}get metadata(){return this.#i}set metadata(e){this.#i=e}get externalCheckoutUrl(){return this.#a}set externalCheckoutUrl(e){this.#a=e}get externalDetails(){return this.#o}set externalDetails(e){this.#o=e}get order(){return this.#s}set order(e){this.#s=e}get paymentMethod(){return this.#c}set paymentMethod(e){this.#c=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;constructor(e,t,n,r,i,a,o,s,c){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c}};je=a([r],je);let Me=class{get id(){return this.#e}set id(e){this.#e=e}get type(){return this.#t}set type(e){this.#t=e}get name(){return this.#n}set name(e){this.#n=e}get description(){return this.#r}set description(e){this.#r=e}get price(){return this.#i}set price(e){this.#i=e}get maxQuantity(){return this.#a}set maxQuantity(e){this.#a=e}get isActive(){return this.#o}set isActive(e){this.#o=e}get isSwappable(){return this.#s}set isSwappable(e){this.#s=e}get remainingStock(){return this.#c}set remainingStock(e){this.#c=e}get stock(){return this.#l}set stock(e){this.#l=e}get image(){return this.#u}set image(e){this.#u=e}get images(){return this.#d}set images(e){this.#d=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;constructor(e,t,n,r,i,a,o,s,c,l,u,d){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u,this.#d=d}};Me=a([r],Me);let Ne=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get image(){return this.#n}set image(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};Ne=a([r],Ne);let Pe=class{get productId(){return this.#e}set productId(e){this.#e=e}get quantity(){return this.#t}set quantity(e){this.#t=e}get timeSlotId(){return this.#n}set timeSlotId(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};Pe=a([r],Pe);let Fe=class{get backgroundColor(){return this.#e}set backgroundColor(e){this.#e=e}get foregroundColor(){return this.#t}set foregroundColor(e){this.#t=e}get primaryColor(){return this.#n}set primaryColor(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};Fe=a([r],Fe);let Ie=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get startsOn(){return this.#n}set startsOn(e){this.#n=e}get endsOn(){return this.#r}set endsOn(e){this.#r=e}get fieldAddress(){return this.#i}set fieldAddress(e){this.#i=e}get fieldBirthdate(){return this.#a}set fieldBirthdate(e){this.#a=e}get fieldGender(){return this.#o}set fieldGender(e){this.#o=e}get fieldPhoneNumber(){return this.#s}set fieldPhoneNumber(e){this.#s=e}get design(){return this.#c}set design(e){this.#c=e}get elements(){return this.#l}set elements(e){this.#l=e}get event(){return this.#u}set event(e){this.#u=e}get merchant(){return this.#d}set merchant(e){this.#d=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;constructor(e,t,n,r,i,a,o,s,c,l,u,d){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u,this.#d=d}};Ie=a([r],Ie);var T=class{get id(){return this.#e}set id(e){this.#e=e}get type(){return this.#t}set type(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};let Le=class extends T{get icon(){return this.#e}set icon(e){this.#e=e}get text(){return this.#t}set text(e){this.#t=e}get url(){return this.#n}set url(e){this.#n=e}#e;#t;#n;constructor(e,t,n,r){super(e,`button`),this.#e=t,this.#t=n,this.#n=r}};Le=a([r],Le);let Re=class extends T{get icon(){return this.#e}set icon(e){this.#e=e}get text(){return this.#t}set text(e){this.#t=e}#e;#t;constructor(e,t,n){super(e,`divider`),this.#e=t,this.#t=n}};Re=a([r],Re);let ze=class extends T{get headingLevel(){return this.#e}set headingLevel(e){this.#e=e}get title(){return this.#t}set title(e){this.#t=e}#e;#t;constructor(e,t,n){super(e,`heading`),this.#e=t,this.#t=n}};ze=a([r],ze);let Be=class extends T{get icon(){return this.#e}set icon(e){this.#e=e}get noticeType(){return this.#t}set noticeType(e){this.#t=e}get title(){return this.#n}set title(e){this.#n=e}get text(){return this.#r}set text(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r,i){super(e,`notice`),this.#e=t,this.#t=n,this.#n=r,this.#r=i}};Be=a([r],Be);let Ve=class extends T{get product(){return this.#e}set product(e){this.#e=e}#e;constructor(e,t){super(e,`product`),this.#e=t}};Ve=a([r],Ve);let He=class extends T{get text(){return this.#e}set text(e){this.#e=e}#e;constructor(e,t){super(e,`text`),this.#e=t}};He=a([r],He);let Ue=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get status(){return this.#n}set status(e){this.#n=e}get address(){return this.#r}set address(e){this.#r=e}get headerFile(){return this.#i}set headerFile(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};Ue=a([r],Ue);let We=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};We=a([r],We);let Ge=class{get id(){return this.#e}set id(e){this.#e=e}get type(){return this.#t}set type(e){this.#t=e}get name(){return this.#n}set name(e){this.#n=e}get description(){return this.#r}set description(e){this.#r=e}get price(){return this.#i}set price(e){this.#i=e}get maxQuantity(){return this.#a}set maxQuantity(e){this.#a=e}get isActive(){return this.#o}set isActive(e){this.#o=e}get isTimeslotted(){return this.#s}set isTimeslotted(e){this.#s=e}get timeSlots(){return this.#c}set timeSlots(e){this.#c=e}get image(){return this.#l}set image(e){this.#l=e}get images(){return this.#u}set images(e){this.#u=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;constructor(e,t,n,r,i,a,o,s,c,l,u){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u}};Ge=a([r],Ge);let Ke=class{get id(){return this.#e}set id(e){this.#e=e}get createdOn(){return this.#t}set createdOn(e){this.#t=e}get expiresOn(){return this.#n}set expiresOn(e){this.#n=e}get products(){return this.#r}set products(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};Ke=a([r],Ke);let qe=class{get product(){return this.#e}set product(e){this.#e=e}get quantity(){return this.#t}set quantity(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};qe=a([r],qe);let Je=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get description(){return this.#n}set description(e){this.#n=e}get image(){return this.#r}set image(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};Je=a([r],Je);let Ye=class{get id(){return this.#e}set id(e){this.#e=e}get label(){return this.#t}set label(e){this.#t=e}get fromTime(){return this.#n}set fromTime(e){this.#n=e}get toTime(){return this.#r}set toTime(e){this.#r=e}get maxQuantity(){return this.#i}set maxQuantity(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};Ye=a([r],Ye);let Xe=class{get id(){return this.#e}set id(e){this.#e=e}get createdOn(){return this.#t}set createdOn(e){this.#t=e}get expiresOn(){return this.#n}set expiresOn(e){this.#n=e}get isExpired(){return this.#r}set isExpired(e){this.#r=e}get items(){return this.#i}set items(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};Xe=a([r],Xe);let Ze=class{get quantity(){return this.#e}set quantity(e){this.#e=e}get product(){return this.#t}set product(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};Ze=a([r],Ze);let Qe=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get description(){return this.#n}set description(e){this.#n=e}get image(){return this.#r}set image(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};Qe=a([r],Qe);let $e=class{get buyers(){return this.#e}set buyers(e){this.#e=e}get newBuyers(){return this.#t}set newBuyers(e){this.#t=e}get retentionRate(){return this.#n}set retentionRate(e){this.#n=e}get totalBuyers(){return this.#r}set totalBuyers(e){this.#r=e}get lifetimeValuePerBuyer(){return this.#i}set lifetimeValuePerBuyer(e){this.#i=e}get averageTicketsPerBuyer(){return this.#a}set averageTicketsPerBuyer(e){this.#a=e}#e;#t;#n;#r;#i;#a;constructor(e,t,n,r,i,a){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a}};$e=a([r],$e);let et=class{get ranking(){return this.#e}set ranking(e){this.#e=e}get buyer(){return this.#t}set buyer(e){this.#t=e}get orderCount(){return this.#n}set orderCount(e){this.#n=e}get totalSpend(){return this.#r}set totalSpend(e){this.#r=e}get eventsAttended(){return this.#i}set eventsAttended(e){this.#i=e}get averageOrderValue(){return this.#a}set averageOrderValue(e){this.#a=e}#e;#t;#n;#r;#i;#a;constructor(e,t,n,r,i,a){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a}};et=a([r],et);let tt=class{get totalEvents(){return this.#e}set totalEvents(e){this.#e=e}get activeEvents(){return this.#t}set activeEvents(e){this.#t=e}get averageRevenuePerEvent(){return this.#n}set averageRevenuePerEvent(e){this.#n=e}get averageTicketsPerEvent(){return this.#r}set averageTicketsPerEvent(e){this.#r=e}get averageSellThroughRate(){return this.#i}set averageSellThroughRate(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};tt=a([r],tt);let nt=class{get period(){return this.#e}set period(e){this.#e=e}get revenue(){return this.#t}set revenue(e){this.#t=e}get orders(){return this.#n}set orders(e){this.#n=e}get tickets(){return this.#r}set tickets(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};nt=a([r],nt);let rt=class{get events(){return this.#e}set events(e){this.#e=e}get summary(){return this.#t}set summary(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};rt=a([r],rt);let it=class{get id(){return this.#e}set id(e){this.#e=e}get name(){return this.#t}set name(e){this.#t=e}get startsOn(){return this.#n}set startsOn(e){this.#n=e}get endsOn(){return this.#r}set endsOn(e){this.#r=e}get headerFile(){return this.#i}set headerFile(e){this.#i=e}get status(){return this.#a}set status(e){this.#a=e}get revenue(){return this.#o}set revenue(e){this.#o=e}get ticketsSold(){return this.#s}set ticketsSold(e){this.#s=e}get ticketsTotal(){return this.#c}set ticketsTotal(e){this.#c=e}get sellThroughRate(){return this.#l}set sellThroughRate(e){this.#l=e}get attendanceRate(){return this.#u}set attendanceRate(e){this.#u=e}get attendedCount(){return this.#d}set attendedCount(e){this.#d=e}get ordersCount(){return this.#f}set ordersCount(e){this.#f=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;#f;constructor(e,t,n,r,i,a,o,s,c,l,u,d,f){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u,this.#d=d,this.#f=f}};it=a([r],it);let at=class{get totalRevenue(){return this.#e}set totalRevenue(e){this.#e=e}get totalTicketsSold(){return this.#t}set totalTicketsSold(e){this.#t=e}get totalTicketsCapacity(){return this.#n}set totalTicketsCapacity(e){this.#n=e}get averageSellThroughRate(){return this.#r}set averageSellThroughRate(e){this.#r=e}get averageAttendanceRate(){return this.#i}set averageAttendanceRate(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};at=a([r],at);let ot=class{get totalRevenue(){return this.#e}set totalRevenue(e){this.#e=e}get totalTicketsSold(){return this.#t}set totalTicketsSold(e){this.#t=e}get totalEventsHosted(){return this.#n}set totalEventsHosted(e){this.#n=e}get totalCustomers(){return this.#r}set totalCustomers(e){this.#r=e}get averageOrderValue(){return this.#i}set averageOrderValue(e){this.#i=e}get averageAttendanceRate(){return this.#a}set averageAttendanceRate(e){this.#a=e}#e;#t;#n;#r;#i;#a;constructor(e,t,n,r,i,a){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a}};ot=a([r],ot);let st=class{get active(){return this.#e}set active(e){this.#e=e}get concluded(){return this.#t}set concluded(e){this.#t=e}get total(){return this.#n}set total(e){this.#n=e}get upcoming(){return this.#r}set upcoming(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};st=a([r],st);let ct=class{get lifetime(){return this.#e}set lifetime(e){this.#e=e}get trend(){return this.#t}set trend(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};ct=a([r],ct);let lt=class{get lifetime(){return this.#e}set lifetime(e){this.#e=e}get trend(){return this.#t}set trend(e){this.#t=e}#e;#t;constructor(e,t){this.#e=e,this.#t=t}};lt=a([r],lt);let ut=class{get totalRevenue(){return this.#e}set totalRevenue(e){this.#e=e}get totalPlatformCost(){return this.#t}set totalPlatformCost(e){this.#t=e}get netRevenue(){return this.#n}set netRevenue(e){this.#n=e}get averageOrderValue(){return this.#r}set averageOrderValue(e){this.#r=e}get averageRevenuePerTicket(){return this.#i}set averageRevenuePerTicket(e){this.#i=e}#e;#t;#n;#r;#i;constructor(e,t,n,r,i){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i}};ut=a([r],ut);let dt=class{get averageTimeToPurchase(){return this.#e}set averageTimeToPurchase(e){this.#e=e}get cartAbandonmentRate(){return this.#t}set cartAbandonmentRate(e){this.#t=e}get peakBuyingCount(){return this.#n}set peakBuyingCount(e){this.#n=e}get peakBuyingTime(){return this.#r}set peakBuyingTime(e){this.#r=e}#e;#t;#n;#r;constructor(e,t,n,r){this.#e=e,this.#t=t,this.#n=n,this.#r=r}};dt=a([r],dt);let E=class{get successRate(){return this.#e}set successRate(e){this.#e=e}get failedRate(){return this.#t}set failedRate(e){this.#t=e}get reasons(){return this.#n}set reasons(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};E=a([r],E);let ft=class{get current(){return this.#e}set current(e){this.#e=e}get previous(){return this.#t}set previous(e){this.#t=e}get growthRate(){return this.#n}set growthRate(e){this.#n=e}#e;#t;#n;constructor(e,t,n){this.#e=e,this.#t=t,this.#n=n}};ft=a([r],ft);let pt=class{get id(){return this.#e}set id(e){this.#e=e}get sequence(){return this.#t}set sequence(e){this.#t=e}get code(){return this.#n}set code(e){this.#n=e}get status(){return this.#r}set status(e){this.#r=e}get validity(){return this.#i}set validity(e){this.#i=e}get buyer(){return this.#a}set buyer(e){this.#a=e}get event(){return this.#o}set event(e){this.#o=e}get holder(){return this.#s}set holder(e){this.#s=e}get order(){return this.#c}set order(e){this.#c=e}get product(){return this.#l}set product(e){this.#l=e}get createdOn(){return this.#u}set createdOn(e){this.#u=e}get updatedOn(){return this.#d}set updatedOn(e){this.#d=e}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;constructor(e,t,n,r,i,a,o,s,c,l,u,d){this.#e=e,this.#t=t,this.#n=n,this.#r=r,this.#i=i,this.#a=a,this.#o=o,this.#s=s,this.#c=c,this.#l=l,this.#u=u,this.#d=d}};pt=a([r],pt);let D=class{static parseAddress(e){return new o(e.id,e.label,e.street,e.number,e.postal_code,e.city,e.country,e.formatted)}};D=a([n],D);function mt(e){return typeof e==`string`&&e.trim().length===0||Array.isArray(e)&&e.length===0?null:e}function ht(e){return new Blob([JSON.stringify(e)],{type:`application/json`})}function O(e,t){return e==null?null:t(e)}function k(e,t){return e==null?null:e.map(t)}var gt;let A=gt=class{static parseTotpState(e){return new s(e.enabled,e.secret,e.qr)}static parseUser(e){return new c(e.id,e.email,e.first_name,e.last_name,e.full_name,e.initials,e.phone_number,e.is_online,O(e.picture,I.parsePicture))}static parseUserToken(e){return new l(e.token,e.type,e.browser,e.operating_system,N.parseDateTime(e.created_on),N.parseDateTime(e.expires_on),e.realtime_channel,O(e.user,gt.parseUser))}};A=gt=a([n],A);let j=class{static parseBuyer(e){return new y(e.id,e.first_name,e.last_name,e.email,e.phone_number,O(e.date_of_birth,N.parseDateTime),e.gender,e.order_count??-1,e.full_name,O(e.address,D.parseAddress))}};j=a([n],j);let M=class{static parseStatusResponse(e){return new u(e.message,e.status)}};M=a([n],M);let N=class{static parseDateTime(e){return i.fromISO(e,{zone:`UTC`}).setZone(`Europe/Amsterdam`)}static parseDateTimeFromMonth(e){return i.fromFormat(e,`yyyy-MM`,{zone:`UTC`}).setZone(`Europe/Amsterdam`)}};N=a([n],N);var P;let F=P=class{static parseAppTeam(e){return new d(e.id,e.name,e.secret,e.checkin_count,e.checkout_count,O(e.creator,A.parseUser),O(e.event,P.parseEvent),O(e.merchant,z.parseMerchant))}static parseEvent(e){return new m(e.id,e.name,e.description,N.parseDateTime(e.starts_on),N.parseDateTime(e.ends_on),e.minimum_age,e.status,O(e.address,D.parseAddress),O(e.header_file,I.parsePicture),N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on))}static parseEventAvailability(e){return new f(e.has_products,e.has_shops,e.has_shops_with_products,e.is_publishable,e.is_published)}static parseEventCounters(e){return new p(e.guests,e.orders,e.tickets)}static parseShop(e){return new ue(e.id,e.name,e.is_published,e.password,O(e.starts_on,N.parseDateTime),O(e.ends_on,N.parseDateTime),e.field_address,e.field_birthdate,e.field_gender,e.field_phone_number,e.status,O(e.design,P.parseShopDesign),O(e.event,P.parseEvent),O(e.merchant,z.parseMerchant))}static parseShopDesign(e){return new le(e.background_color,e.foreground_color,e.primary_color)}static parseShopElement(e){switch(e.type){case`button`:return new de(e.id,e.icon,e.text,e.url);case`divider`:return new fe(e.id,e.icon,e.text);case`heading`:return new pe(e.id,e.heading_level,e.title);case`notice`:return new me(e.id,e.icon,e.notice_type,e.title,e.text);case`product`:return new he(e.id,G.parseProduct(e.product));case`text`:return new g(e.id,e.text)}return new g(`unknown`,`Unknown element type.`)}static parseStockOverview(e){return new ge(e.total,e.sold,e.remaining,e.items.map(P.parseStockOverviewItem))}static parseStockOverviewItem(e){return new _e(P.parseStockPool(e.pool),G.parseProduct(e.product),e.remaining,e.sold)}static parseStockPool(e){return new ve(e.id,e.event_id,e.merchant_id,e.name,e.remaining_stock,e.stock,e.is_shared,e.product_names??[],N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on))}static parseTicketTemplate(e){return new ye(e.id,e.name,O(e.product,G.parseProduct),e.product_id,e.variant,O(e.visual,I.parsePicture))}static parseEventStatisticsAttendance(e){return new ee(e.attended,e.expected,e.rate)}static parseEventStatisticsBuyerTotals(e){return new te(e.acquired,e.average_tickets,e.doubting,e.returning,e.total)}static parseEventStatisticsFinancial(e){return new ne(W.parseCost(e.platform_cost),W.parseCost(e.revenue))}static parseEventStatisticsOrders(e){return new re(e.chart,P.parseEventStatisticsOrderTotals(e.totals))}static parseEventStatisticsOrderTotals(e){return new ie(e.fulfilled,e.interrupted,e.pending,e.total)}static parseEventStatisticsScans(e){return new ae(e.app_teams.map(P.parseEventStatisticsScansPerAppTeam),e.chart,P.parseEventStatisticsScanTotals(e.totals))}static parseEventStatisticsScansPerAppTeam(e){return new oe(e.id,e.name,e.scans)}static parseEventStatisticsScanTotals(e){return new se(e.total,e.checkins,e.checkouts)}static parseEventStatisticsSwapTotals(e){return new ce(e.swaps,e.tickets,e.rate)}};F=P=a([n],F);let I=class{static parsePicture(e){return new be(e.id,e.url,e.variants)}};I=a([n],I);var _t;let L=_t=class{static parseFinanceOverview(e){return new xe(W.parseCost(e.estimated_payment_cost),e.orders,W.parseCost(e.platform_cost),W.parseCost(e.revenue))}static parseInvoice(e){return new Se(e.id,e.number,e.sequence,e.status,e.year,W.parseCost(e.total),k(e.lines,_t.parseInvoiceLine),N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on))}static parseInvoiceLine(e){return new Ce(e.id,e.type,W.parseCost(e.cost),N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on))}};L=_t=a([n],L);var vt;let R=vt=class{static parseFluxFormSelectEntry(e){return`value`in e?vt.parseFluxFormSelectOption(e):vt.parseFluxFormSelectGroup(e)}static parseFluxFormSelectGroup(e){return e}static parseFluxFormSelectOption(e){return e}};R=vt=a([n],R);var yt;let z=yt=class{static parseContract(e){return new we(e.id,N.parseDateTime(e.starts_on),N.parseDateTime(e.ends_on),W.parseCost(e.fee),e.remark)}static parseInvitation(e){return new Te(e.id,e.merchant_id,e.user_id,e.claims,e.is_new_user,N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on),yt.parseMerchant(e.merchant),A.parseUser(e.user))}static parseMerchant(e){return new Oe(e.id,e.name,e.email,e.phone_number,e.url,e.chamber_of_commerce_number,e.vat_number,e.currency,O(e.address,D.parseAddress),O(e.current_contract,yt.parseContract),O(e.logo,I.parsePicture),O(e.created_on,N.parseDateTime),O(e.updated_on,N.parseDateTime))}static parseMerchantUser(e){return new _(e.is_manager,N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on),A.parseUser(e.user))}static parseVatNumber(e){return new v(e.id,e.vat_number,e.name,e.address,e.country_code,N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on))}};z=yt=a([n],z);let B=class{static parseKeyMetrics(e){return new Ee(e.revenue,e.tickets,e.events,e.tasks)}static parseUpcomingEvent(e){return new De(e.id,e.name,e.description,I.parsePicture(e.header_file),e.status,N.parseDateTime(e.starts_on),e.tickets_sold,e.tickets_total,e.sell_through_rate)}};B=a([n],B);var V;let H=V=class{static parseOrder(e){return new b(e.id,e.code,e.origin,e.type,N.parseDateTime(e.created_on),O(e.payment_provider,V.parseOrderPaymentProvider),O(e.platform_cost,W.parseCost),O(e.sub_total,W.parseCost),O(e.total,W.parseCost),e.url,O(e.buyer,j.parseBuyer),O(e.event,F.parseEvent),k(e.lines,V.parseOrderLine),O(e.shop,q.parsePublicShop),O(e.transaction,W.parseTransaction))}static parseOrderLine(e){return new ke(e.id,W.parseCost(e.price),e.quantity,V.parseOrderProduct(e.product),W.parseCost(e.sub_total),N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on))}static parseOrderPaymentProvider(e){return new x(e.name,e.url)}static parseOrderProduct(e){return new S(e.id,e.name,e.description,e.image)}};H=V=a([n],H);var U;let W=U=class{static parseCost(e){return new C(e.currency_code,e.currency_decimals,e.currency_sign,e.decimal,e.formatted,e.value)}static parsePaymentMethod(e){return new w(e.id,e.name,e.image)}static parsePaymentProvider(e){return new Ae(e.id,e.type,e.methods.map(U.parsePaymentMethod))}static parseTransaction(e){return new je(e.id,e.description,e.status,U.parseCost(e.cost),e.metadata,e.external_checkout_url,e.external_details,O(e.order,H.parseOrder),O(e.payment_method,U.parsePaymentMethod))}};W=U=a([n],W);let G=class{static parseProduct(e){return new Me(e.id,e.type,e.name,e.description,O(e.price,W.parseCost),e.max_quantity,e.is_active,e.is_swappable,e.remaining_stock,O(e.stock_pool,F.parseStockPool),O(e.image,I.parsePicture),k(e.images,I.parsePicture))}};G=a([n],G);let bt=class{static parsePublicPaymentMethod(e){return new Ne(e.id,e.name,e.image)}};bt=a([n],bt);var K;let q=K=class{static parsePublicShop(e){return new Ie(e.id,e.name,N.parseDateTime(e.starts_on),N.parseDateTime(e.ends_on),e.field_address,e.field_birthdate,e.field_gender,e.field_phone_number,O(e.design,K.parsePublicShopDesign),k(e.elements,K.parsePublicShopElement),K.parsePublicShopEvent(e.event),K.parsePublicShopMerchant(e.merchant))}static parsePublicShopDesign(e){return new Fe(e.background_color,e.foreground_color,e.primary_color)}static parsePublicShopElement(e){switch(e.type){case`button`:return new Le(e.id,e.icon,e.text,e.url);case`divider`:return new Re(e.id,e.icon,e.text);case`heading`:return new ze(e.id,e.heading_level,e.title);case`notice`:return new Be(e.id,e.icon,e.notice_type,e.title,e.text);case`product`:return new Ve(e.id,K.parsePublicShopProduct(e.product));case`text`:return new He(e.id,e.text)}throw Error(`Unknown shop element.`)}static parsePublicShopEvent(e){return new Ue(e.id,e.name,e.status,D.parseAddress(e.address),O(e.header_file,I.parsePicture))}static parsePublicShopMerchant(e){return new We(e.id,e.name)}static parsePublicShopProduct(e){return new Ge(e.id,e.type,e.name,e.description,W.parseCost(e.price),e.max_quantity,e.is_active,e.is_timeslotted,k(e.time_slots,K.parsePublicShopTimeSlot),O(e.image,I.parsePicture),k(e.images,I.parsePicture))}static parsePublicShopReservation(e){return new Ke(e.id,N.parseDateTime(e.created_on),N.parseDateTime(e.expires_on),e.products.map(K.parsePublicShopReservationProduct))}static parsePublicShopReservationProduct(e){return new qe(K.parsePublicShopReservationProductDetails(e.product),e.quantity)}static parsePublicShopReservationProductDetails(e){return new Je(e.id,e.name,e.description,O(e.image,I.parsePicture))}static parsePublicShopTimeSlot(e){return new Ye(e.id,e.label,N.parseDateTime(e.from_time),N.parseDateTime(e.to_time),e.max_quantity)}};q=K=a([n],q);var xt;let St=xt=class{static parseReservation(e){return new Xe(e.id,N.parseDateTime(e.created_on),N.parseDateTime(e.expires_on),e.is_expired,k(e.products,xt.parseReservationItem))}static parseReservationItem(e){return new Ze(e.quantity,xt.parseReservationProduct(e.product))}static parseReservationProduct(e){return new Qe(e.id,e.name,e.description,O(e.image,I.parsePicture))}};St=xt=a([n],St);let J=class{static parseTrend(e,t){return new ft(t(e.current),t(e.previous),e.growth_rate)}};J=a([n],J);let Y=class{static parseOverview(e){return new $e(J.parseTrend(e.buyers,Number),J.parseTrend(e.new_buyers,Number),J.parseTrend(e.retention_rate,Number),e.total_buyers,W.parseCost(e.lifetime_value_per_buyer),e.average_tickets_per_buyer)}static parseRanked(e){return new et(e.ranking,j.parseBuyer(e.buyer),e.order_count,W.parseCost(e.total_spend),e.events_attended,W.parseCost(e.average_order_value))}};Y=a([n],Y);let Ct=class{static parseOverview(e){return new tt(e.total_events,e.active_events,W.parseCost(e.average_revenue_per_event),e.average_tickets_per_event,e.average_sell_through_rate)}};Ct=a([n],Ct);var X;let Z=X=class{static parseBestRevenueMonth(e){return new nt(N.parseDateTimeFromMonth(e.period),W.parseCost(e.revenue),e.orders,e.tickets)}static parseEventPerformance(e){return new rt(e.events.map(X.parseEventPerformanceEvent),X.parseEventPerformanceSummary(e.summary))}static parseEventPerformanceEvent(e){return new it(e.id,e.name,N.parseDateTime(e.starts_on),N.parseDateTime(e.ends_on),O(e.header_file,I.parsePicture),e.status,W.parseCost(e.revenue),e.tickets_sold,e.tickets_total,e.sell_through_rate,e.attendance_rate,e.attended_count,e.orders_count)}static parseEventPerformanceSummary(e){return new at(W.parseCost(e.total_revenue),e.total_tickets_sold,e.total_tickets_capacity,e.average_sell_through_rate,e.average_attendance_rate)}static parseKPIs(e){return new ot(X.parseKPIsTotalRevenue(e.total_revenue),X.parseKPIsTotalTicketsSold(e.total_tickets_sold),X.parseKPIsTotalEventsHosted(e.total_events_hosted),e.total_customers,W.parseCost(e.average_order_value),e.average_attendance_rate)}static parseKPIsTotalEventsHosted(e){return new st(e.active,e.concluded,e.total,e.upcoming)}static parseKPIsTotalRevenue(e){return new ct(W.parseCost(e.lifetime),J.parseTrend(e.trend,W.parseCost))}static parseKPIsTotalTicketsSold(e){return new lt(e.lifetime,J.parseTrend(e.trend,Number))}};Z=X=a([n],Z);let Q=class{static parseLifetimeTotals(e){return new ut(W.parseCost(e.total_revenue),W.parseCost(e.total_platform_cost),W.parseCost(e.net_revenue),W.parseCost(e.average_order_value),W.parseCost(e.average_revenue_per_ticket))}static parsePurchaseBehavior(e){return new dt(e.average_time_to_purchase,e.cart_abandonment_rate,e.peak_buying_count,N.parseDateTime(e.peak_buying_time))}static parseTransactionSuccessRate(e){return new E(e.success_rate,e.failed_rate,e.reasons)}};Q=a([n],Q);let $=class{static parseTicket(e){return new pt(e.id,e.sequence,e.code,e.status,e.validity,O(e.buyer,j.parseBuyer),O(e.event,F.parseEvent),O(e.holder,j.parseBuyer),O(e.order,H.parseOrder),O(e.product,G.parseProduct),N.parseDateTime(e.created_on),N.parseDateTime(e.updated_on))}};$=a([n],$);var wt=class extends e{async get(){return await this.request(`/auth`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(A.parseUserToken)}async getClaims(){return await this.request(`/auth/claims`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(e=>Object.values(e))}async getPasswordCompromised(){return await this.request(`/auth/password-compromised`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runDataKey(`compromised`)}async getSessions(e,n){return await this.request(`/auth/sessions`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`).append(`offset`,e).append(`limit`,n)).runPaginatedAdapter(A.parseUserToken)}async post(e,n,r){return await this.request(`/auth`).method(`post`).body({email:e,password:n,code:r}).queryString(t.builder().append(`language`,`nl`)).runAdapter(A.parseUserToken)}async deleteSession(e){return await this.request(`/auth/sessions`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({token:e}).runEmpty()}},Tt=class extends e{async get(e){return await this.request(`/invitations/${e}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).runAdapter(z.parseInvitation)}async postAccept(e,n){return await this.request(`/invitations/${e}/accept`).method(`post`).queryString(t.builder().append(`language`,`nl`)).body({password:n}).runAdapter(A.parseUserToken)}async postDecline(e){return await this.request(`/invitations/${e}/decline`).method(`post`).queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}},Et=class extends e{async get(e){return await this.request(`/merchants/${e}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(z.parseMerchant)}async getAccountManagers(e){return await this.request(`/merchants/${e}/account-managers`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runArrayAdapter(A.parseUser)}async getClaims(e){return await this.request(`/merchants/${e}/claims`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(e=>Object.values(e))}async getContract(e){return await this.request(`/merchants/${e}/contract`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(z.parseContract)}async getPaymentProviders(e){return await this.request(`/merchants/${e}/payment-providers`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runArrayAdapter(W.parsePaymentProvider)}async getVatNumber(e){return await this.request(`/merchants/${e}/vat-number`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(z.parseVatNumber)}async put(e,n){return await this.request(`/merchants/${e}`).method(`put`).queryString(t.builder().append(`language`,`nl`)).bearerToken().body({name:n.name,email:n.email,phone_number:n.phoneNumber,url:n.url,chamber_of_commerce_number:n.chamberOfCommerceNumber,vat_number:n.vatNumber,address:{label:mt(n.address.label),street:n.address.street,number:n.address.number,postal_code:n.address.postalCode,city:n.address.city,country_code:n.address.country}}).runAdapter(z.parseMerchant)}async postLogo(e,n){let r=new FormData;return r.append(`file`,n),await this.request(`/merchants/${e}/logo`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body(r).runAdapter(M.parseStatusResponse)}async deleteLogo(e){return await this.request(`/merchants/${e}/logo`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}},Dt=class extends e{async get(){return await this.request(`/merchants`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runArrayAdapter(z.parseMerchant)}},Ot=class extends e{async get(e,n){return await this.request(`/merchants/${e}/buyers/${n}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(j.parseBuyer)}async getOrder(e,n,r){return await this.request(`/merchants/${e}/buyers/${n}/orders/${r}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(H.parseOrder)}async getOrders(e,n,r,i){return await this.request(`/merchants/${e}/buyers/${n}/orders`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`).append(`offset`,r).append(`limit`,i)).runPaginatedAdapter(H.parseOrder)}},kt=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/buyers`).method(`get`).queryString(t.builder().append(`language`,`nl`).append(`offset`,n).append(`limit`,r)).bearerToken().runPaginatedAdapter(j.parseBuyer)}},At=class extends e{async getKeyMetrics(e){return await this.request(`/merchants/${e}/dashboard/key-metrics`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(B.parseKeyMetrics)}async getUpcomingEvents(e){return await this.request(`/merchants/${e}/dashboard/upcoming-events`).method(`get`).bearerToken().runArrayAdapter(B.parseUpcomingEvent)}},jt=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/events/${n}/app-teams/${r}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseAppTeam)}async delete(e,n,r){return await this.request(`/merchants/${e}/events/${n}/app-teams/${r}`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}async patch(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/app-teams/${r}`).method(`patch`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:i.name}).runAdapter(F.parseAppTeam)}},Mt=class extends e{async get(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/app-teams`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`).append(`offset`,r).append(`limit`,i)).runPaginatedAdapter(F.parseAppTeam)}async post(e,n,r){return await this.request(`/merchants/${e}/events/${n}/app-teams`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:r}).runAdapter(F.parseAppTeam)}},Nt=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/events/${n}/products/${r}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(G.parseProduct)}async postImage(e,n,r,i){let a=new FormData;return a.append(`file`,i),await this.request(`/merchants/${e}/events/${n}/products/${r}/media`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body(a).run()}async patch(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/products/${r}`).method(`patch`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:i.name,description:i.description,price:i.price.cents,max_quantity:i.maxQuantity,is_swappable:i.isSwappable}).runAdapter(G.parseProduct)}async patchPause(e,n,r){return await this.request(`/merchants/${e}/events/${n}/products/${r}/pause`).method(`patch`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runEmpty()}async patchResume(e,n,r){return await this.request(`/merchants/${e}/events/${n}/products/${r}/resume`).method(`patch`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runEmpty()}async delete(e,n,r){return await this.request(`/merchants/${e}/events/${n}/products/${r}`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runEmpty()}},Pt=class extends e{async get(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/products`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`).append(`offset`,r).append(`limit`,i)).runPaginatedAdapter(G.parseProduct)}async getSelectOptions(e,n,r=null,i=null){return await this.request(`/merchants/${e}/events/${n}/products/select-options`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`).appendArray(`ids[]`,i).append(`searchQuery`,r)).runArrayAdapter(R.parseFluxFormSelectEntry)}async post(e,n,r,i,a,o,s,c){return await this.request(`/merchants/${e}/events/${n}/products`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:r,description:i,price:a,stock:s,max_quantity:o,stock_pool_id:c}).runAdapter(G.parseProduct)}},Ft=class extends e{async get(e,n){return await this.request(`/merchants/${e}/events/${n}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEvent)}async getAvailability(e,n){return await this.request(`/merchants/${e}/events/${n}/availability`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventAvailability)}async getCounters(e,n){return await this.request(`/merchants/${e}/events/${n}/counters`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventCounters)}async post(e,n){return await this.request(`/merchants/${e}/events/${n.id}`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:n.name,description:n.description,starts_on:n.startsOn.toISO(),ends_on:n.endsOn.toISO(),minimum_age:n.minimumAge,address:{label:mt(n.address.label),street:n.address.street,number:n.address.number,postal_code:n.address.postalCode,city:n.address.city,country_code:n.address.country}}).runAdapter(F.parseEvent)}async postHeader(e,n,r){let i=new FormData;return i.append(`file`,r),await this.request(`/merchants/${e}/events/${n}/header`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body(i).runAdapter(M.parseStatusResponse)}async postPublish(e,n){return await this.request(`/merchants/${e}/events/${n}/publish`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}async postUnpublish(e,n){return await this.request(`/merchants/${e}/events/${n}/unpublish`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}async delete(e,n){return await this.request(`/merchants/${e}/events/${n}`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}async deleteHeader(e,n){return await this.request(`/merchants/${e}/events/${n}/header`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}},It=class extends e{async getAttendance(e,n){return await this.request(`/merchants/${e}/events/${n}/statistics/attendance`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventStatisticsAttendance)}async getBuyers(e,n){return await this.request(`/merchants/${e}/events/${n}/statistics/buyers`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventStatisticsBuyerTotals)}async getFinancial(e,n){return await this.request(`/merchants/${e}/events/${n}/statistics/financial`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventStatisticsFinancial)}async getOrders(e,n){return await this.request(`/merchants/${e}/events/${n}/statistics/orders`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventStatisticsOrders)}async getScans(e,n){return await this.request(`/merchants/${e}/events/${n}/statistics/scans`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventStatisticsScans)}async getSwaps(e,n){return await this.request(`/merchants/${e}/events/${n}/statistics/swaps`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseEventStatisticsSwapTotals)}},Lt=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/events/${n}/shops/${r}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(F.parseShop)}async getElements(e,n,r){return await this.request(`/merchants/${e}/events/${n}/shops/${r}/elements`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runArrayAdapter(F.parseShopElement)}async patch(e,n,r){return await this.request(`/merchants/${e}/events/${n}/shops/${r.id}`).method(`patch`).queryString(t.builder().append(`language`,`nl`)).bearerToken().body({name:r.name,is_published:r.isPublished,starts_on:r.startsOn,ends_on:r.endsOn,password:r.password}).runAdapter(F.parseShop)}async patchDesign(e,t,n,r){return await this.request(`/merchants/${e}/events/${t}/shops/${n}/design`).method(`patch`).bearerToken().body({background_color:r.backgroundColor,foreground_color:r.foregroundColor,primary_color:r.primaryColor}).runAdapter(F.parseShopDesign)}async patchElements(e,t,n,r){return await this.request(`/merchants/${e}/events/${t}/shops/${n}/elements`).method(`patch`).bearerToken().body({elements:r}).runArrayAdapter(F.parseShopElement)}},Rt=class extends e{async get(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/shops`).method(`get`).queryString(t.builder().append(`language`,`nl`).append(`offset`,r).append(`limit`,i)).bearerToken().runPaginatedAdapter(F.parseShop)}async post(e,n,r,i,a){return await this.request(`/merchants/${e}/events/${n}/shops`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:r,starts_on:i,ends_on:a}).runAdapter(F.parseShop)}async delete(e,n,r){return await this.request(`/merchants/${e}/events/${n}/shops/${r}`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}},zt=class extends e{async get(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/stock-pools`).method(`get`).queryString(t.builder().append(`language`,`nl`).append(`offset`,r).append(`limit`,i)).bearerToken().runPaginatedAdapter(F.parseStockPool)}async getOverview(e,n){return await this.request(`/merchants/${e}/events/${n}/stock-pools/overview`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(F.parseStockOverview)}async getSelectOptions(e,n,r=null,i=null){return await this.request(`/merchants/${e}/events/${n}/stock-pools/select-options`).method(`get`).queryString(t.builder().append(`language`,`nl`).appendArray(`ids[]`,i).append(`searchQuery`,r)).bearerToken().runArrayAdapter(R.parseFluxFormSelectEntry)}async post(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/stock-pools`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:r,stock:i}).runAdapter(F.parseStockPool)}},Bt=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/events/${n}/ticket-templates/${r}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(F.parseTicketTemplate)}async getDemo(e,n,r){return await this.request(`/merchants/${e}/events/${n}/ticket-templates/${r}/demo`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).fetchBlob()}async postVisual(e,n,r,i){let a=new FormData;return a.append(`file`,i),await this.request(`/merchants/${e}/events/${n}/ticket-templates/${r}/visual`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body(a).runAdapter(M.parseStatusResponse)}async patch(e,n,r,i,a,o){return await this.request(`/merchants/${e}/events/${n}/ticket-templates/${r}`).method(`patch`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:i,product_id:a,variant:o}).runAdapter(F.parseTicketTemplate)}async delete(e,n,r){return await this.request(`/merchants/${e}/events/${n}/ticket-templates/${r}`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}async deleteVisual(e,n,r){return await this.request(`/merchants/${e}/events/${n}/ticket-templates/${r}/visual`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}},Vt=class extends e{async get(e,n,r,i){return await this.request(`/merchants/${e}/events/${n}/ticket-templates`).method(`get`).queryString(t.builder().append(`language`,`nl`).append(`offset`,r).append(`limit`,i)).bearerToken().runPaginatedAdapter(F.parseTicketTemplate)}async getSelectOptions(e,n,r=null,i=null){return await this.request(`/merchants/${e}/events/${n}/ticket-templates/select-options`).method(`get`).queryString(t.builder().append(`language`,`nl`).appendArray(`ids[]`,i).append(`searchQuery`,r)).bearerToken().runArrayAdapter(R.parseFluxFormSelectEntry)}async post(e,n,r,i,a,o){let s=new FormData;return s.append(`data`,ht({name:r,product_id:i,variant:a})),s.append(`visual`,o),await this.request(`/merchants/${e}/events/${n}/ticket-templates`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body(s).runAdapter(F.parseTicketTemplate)}},Ht=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/events`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`).append(`offset`,n).append(`limit`,r)).runPaginatedAdapter(F.parseEvent)}async post(e,n,r,i,a,o){return await this.request(`/merchants/${e}/events`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({name:n,description:r,starts_on:i,ends_on:a,minimum_age:o}).runAdapter(F.parseEvent)}},Ut=class extends e{async get(e,n){return await this.request(`/merchants/${e}/finance/invoices/${n}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(L.parseInvoice)}async getPDF(e,n){return await this.request(`/merchants/${e}/finance/invoices/${n}/pdf`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).fetchBlob()}},Wt=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/finance/invoices`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`).append(`offset`,n).append(`limit`,r)).runPaginatedAdapter(L.parseInvoice)}},Gt=class extends e{async getDailyRevenue(e){return await this.request(`/merchants/${e}/finance/daily-revenue`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).run()}async getMonthlyRevenue(e){return await this.request(`/merchants/${e}/finance/monthly-revenue`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).run()}async getOverview(e){return await this.request(`/merchants/${e}/finance/overview`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(L.parseFinanceOverview)}},Kt=class extends e{async get(e,n){return await this.request(`/merchants/${e}/orders/${n}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(H.parseOrder)}async getPasses(e,n){return await this.request(`/merchants/${e}/orders/${n}/passes`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).fetchBlob()}async getPDF(e,n){return await this.request(`/merchants/${e}/orders/${n}/pdf`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).fetchBlob()}async getTickets(e,n){return await this.request(`/merchants/${e}/orders/${n}/tickets`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runArrayAdapter($.parseTicket)}async postResend(e,n){return await this.request(`/merchants/${e}/orders/${n}/resend`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runEmpty()}},qt=class extends e{async get(e,n,r,i){let a=t.builder().append(`language`,`nl`).append(`offset`,n).append(`limit`,r);return i&&Object.entries(i).forEach(([e,t])=>a.append(e,t)),await this.request(`/merchants/${e}/orders`).method(`get`).queryString(a).bearerToken().runPaginatedAdapter(H.parseOrder)}},Jt=class extends e{async getRevenueTrend(e){return await this.request(`/merchants/${e}/statistics/revenue-trend`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getStatus(e){return await this.request(`/merchants/${e}/statistics/status`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}},Yt=class extends e{async getAcquisition(e,n,r){return await this.request(`/merchants/${e}/statistics/buyers/acquisition-chart/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getAgeDistribution(e,n,r){return await this.request(`/merchants/${e}/statistics/buyers/age-distribution/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getBrowserDistribution(e,n,r){return await this.request(`/merchants/${e}/statistics/buyers/browser-distribution/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getGenderDistribution(e,n,r){return await this.request(`/merchants/${e}/statistics/buyers/gender-distribution/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getLanguageDistribution(e,n,r){return await this.request(`/merchants/${e}/statistics/buyers/language-distribution/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getOsDistribution(e,n,r){return await this.request(`/merchants/${e}/statistics/buyers/os-distribution/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getOverview(e){return await this.request(`/merchants/${e}/statistics/buyers/overview`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Y.parseOverview)}async getTopBuyers(e,n,r){return await this.request(`/merchants/${e}/statistics/buyers/top-buyers/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runArrayAdapter(Y.parseRanked)}},Xt=class extends e{async getOverview(e){return await this.request(`/merchants/${e}/statistics/events/overview`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Ct.parseOverview)}},Zt=class extends e{async getBestRevenueMonth(e){return await this.request(`/merchants/${e}/statistics/overview/best-revenue-month`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Z.parseBestRevenueMonth)}async getEventPerformance(e){return await this.request(`/merchants/${e}/statistics/overview/event-performance`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Z.parseEventPerformance)}async getKeyPerformanceIndicators(e){return await this.request(`/merchants/${e}/statistics/overview/key-performance-indicators`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Z.parseKPIs)}async getRevenueAnalysis(e){return await this.request(`/merchants/${e}/statistics/overview/revenue-analysis`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getRevenueMonthComparison(e){return await this.request(`/merchants/${e}/statistics/overview/revenue-month-comparison`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(e=>J.parseTrend(e,W.parseCost))}},Qt=class extends e{async getLifetimeTotals(e){return await this.request(`/merchants/${e}/statistics/sales/lifetime-totals`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Q.parseLifetimeTotals)}async getPaymentMethodsChart(e,n,r){return await this.request(`/merchants/${e}/statistics/sales/payment-methods-chart/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getPurchaseBehavior(e,n,r){return await this.request(`/merchants/${e}/statistics/sales/purchase-behavior/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Q.parsePurchaseBehavior)}async getRevenueTrend(e,n,r){return await this.request(`/merchants/${e}/statistics/sales/revenue-trend/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getSalesByDayOfWeek(e,n,r){return await this.request(`/merchants/${e}/statistics/sales/sales-by-day-of-week/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().run()}async getTransactionSuccessRate(e,n,r){return await this.request(`/merchants/${e}/statistics/sales/transaction-success-rate/${n.toSQLDate()}/${r.toSQLDate()}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).bearerToken().runAdapter(Q.parseTransactionSuccessRate)}},$t=class extends e{async get(e,n){return await this.request(`/merchants/${e}/tickets/${n}`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter($.parseTicket)}async getPass(e,n){return await this.request(`/merchants/${e}/tickets/${n}/pass`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).fetchBlob()}async getPDF(e,n){return await this.request(`/merchants/${e}/tickets/${n}/pdf`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).fetchBlob()}},en=class extends e{async get(e,n,r,i){let a=t.builder().append(`language`,`nl`).append(`offset`,n).append(`limit`,r);return i&&Object.entries(i).forEach(([e,t])=>a.append(e,t)),await this.request(`/merchants/${e}/tickets`).method(`get`).queryString(a).bearerToken().runPaginatedAdapter($.parseTicket)}},tn=class extends e{async get(e,n,r){return await this.request(`/merchants/${e}/users`).method(`get`).queryString(t.builder().append(`language`,`nl`).append(`offset`,n).append(`limit`,r)).bearerToken().runPaginatedAdapter(z.parseMerchantUser)}async postInvite(e,n,r,i,a){return await this.request(`/merchants/${e}/users/invite`).method(`post`).queryString(t.builder().append(`language`,`nl`)).bearerToken().body({first_name:n,last_name:r,email:i,claims:a}).runAdapter(z.parseInvitation)}},nn=class extends e{async get(){return await this.request(`/me`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(A.parseUser)}async getTotp(){return await this.request(`/me/totp`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(A.parseTotpState)}async post(e,n,r){return await this.request(`/me`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({first_name:e,last_name:n,phone_number:r}).runAdapter(M.parseStatusResponse)}async postChangePassword(e,n,r){return await this.request(`/me/change-password`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({password:e,new_password:n,new_password_confirm:r}).runAdapter(M.parseStatusResponse)}async postProfilePicture(e){let n=new FormData;return n.append(`file`,e),await this.request(`/me/profile-picture`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body(n).runAdapter(M.parseStatusResponse)}async postTotp(e,n){return await this.request(`/me/totp`).method(`post`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({secret:e,code:n}).runAdapter(A.parseTotpState)}async deleteProfilePicture(){return await this.request(`/me/profile-picture`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(M.parseStatusResponse)}async deleteTotp(e){return await this.request(`/me/totp`).method(`delete`).bearerToken().queryString(t.builder().append(`language`,`nl`)).body({code:e}).runAdapter(A.parseTotpState)}},rn=class extends e{async get(e){return await this.request(`/orders/${e}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).runAdapter(H.parseOrder)}async getPaymentMethods(e){return await this.request(`/orders/${e}/payment-methods`).method(`get`).queryString(t.builder().append(`language`,`nl`)).runArrayAdapter(bt.parsePublicPaymentMethod)}async postCancel(e){return await this.request(`/orders/${e}/cancel`).method(`post`).queryString(t.builder().append(`language`,`nl`)).runAdapter(H.parseOrder)}async postPay(e,n){return await this.request(`/orders/${e}/pay`).method(`post`).queryString(t.builder().append(`language`,`nl`)).body({payment_method_id:n}).runAdapter(W.parseTransaction)}},an=class extends e{async get(e){return await this.request(`/shops/${e}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).runAdapter(q.parsePublicShop)}async buy(e,n,r,i,a,o,s,c){return await this.request(`/shops/${e}/buy/${n}`).method(`post`).queryString(t.builder().append(`language`,`nl`)).body({first_name:r,last_name:i,email:a,phone_number:o.trim()===``?null:o.trim(),date_of_birth:s?.toISODate(),gender:c}).runAdapter(H.parseOrder)}async reserve(e,n){return await this.request(`/shops/${e}/reserve`).method(`post`).queryString(t.builder().append(`language`,`nl`)).body({products:n.map(e=>[e.productId,e.quantity,e.timeSlotId])}).runAdapter(q.parsePublicShopReservation)}},on=class extends e{async get(e){return await this.request(`/reservations/${e}`).method(`get`).queryString(t.builder().append(`language`,`nl`)).runAdapter(St.parseReservation)}async remove(e){return await this.request(`/reservations/${e}`).method(`delete`).queryString(t.builder().append(`language`,`nl`)).run()}},sn=class extends e{async checkEmail(e){return await this.request(`/service/check-email`).method(`get`).queryString(t.builder().append(`email`,e).append(`language`,`nl`)).run()}},cn=class extends e{async getClaims(){return await this.request(`/ui/select-options/claims`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runAdapter(e=>{let t=[];return e.forEach(e=>{t.push({icon:e.icon,label:e.label}),e.claims.forEach(e=>t.push({label:e.label,value:e.value}))}),t})}async getCountries(){return await this.request(`/ui/select-options/countries`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runArrayAdapter(e=>e)}async getLanguages(){return await this.request(`/ui/select-options/languages`).method(`get`).bearerToken().queryString(t.builder().append(`language`,`nl`)).runArrayAdapter(e=>e)}};export{D as AddressAdapter,o as AddressDto,d as AppTeamDto,A as AuthAdapter,wt as AuthService,j as BuyerAdapter,y as BuyerDto,M as CommonAdapter,we as ContractDto,C as CostDto,N as DateTimeAdapter,F as EventAdapter,f as EventAvailabilityDto,p as EventCountersDto,m as EventDto,ee as EventStatisticsAttendanceDto,te as EventStatisticsBuyerTotalsDto,ne as EventStatisticsFinancialDto,ie as EventStatisticsOrderTotalsDto,re as EventStatisticsOrdersDto,se as EventStatisticsScanTotalsDto,ae as EventStatisticsScansDto,oe as EventStatisticsScansPerAppTeamDto,ce as EventStatisticsSwapTotalsDto,I as FileSystemAdapter,L as FinanceAdapter,xe as FinanceOverviewDto,R as FluxAdapter,Te as InvitationDto,Tt as InvitationService,Se as InvoiceDto,Ce as InvoiceLineDto,nn as MeService,z as MerchantAdapter,Ot as MerchantBuyerService,kt as MerchantBuyersService,B as MerchantDashboardAdapter,Ee as MerchantDashboardKeyMetricsDto,At as MerchantDashboardService,De as MerchantDashboardUpcomingEventDto,Oe as MerchantDto,jt as MerchantEventAppTeamService,Mt as MerchantEventAppTeamsService,Nt as MerchantEventProductService,Pt as MerchantEventProductsService,Ft as MerchantEventService,Lt as MerchantEventShopService,Rt as MerchantEventShopsService,It as MerchantEventStatisticsService,zt as MerchantEventStockPoolsService,Bt as MerchantEventTicketTemplateService,Vt as MerchantEventTicketTemplatesService,Ht as MerchantEventsService,Ut as MerchantFinanceInvoiceService,Wt as MerchantFinanceInvoicesService,Gt as MerchantFinanceService,Kt as MerchantOrderService,qt as MerchantOrdersService,Et as MerchantService,Yt as MerchantStatisticsBuyersService,Xt as MerchantStatisticsEventsService,Zt as MerchantStatisticsOverviewService,Qt as MerchantStatisticsSalesService,Jt as MerchantStatisticsService,$t as MerchantTicketService,en as MerchantTicketsService,_ as MerchantUserDto,tn as MerchantUsersService,Dt as MerchantsService,H as OrderAdapter,b as OrderDto,ke as OrderLineDto,x as OrderPaymentProviderDto,S as OrderProductDto,W as PaymentAdapter,w as PaymentMethodDto,Ae as PaymentProviderDto,be as PictureDto,G as ProductAdapter,Me as ProductDto,rn as PublicOrderService,bt as PublicPayAdapter,Ne as PublicPaymentMethodDto,q as PublicShopAdapter,Pe as PublicShopCartProductDto,Fe as PublicShopDesignDto,Ie as PublicShopDto,Le as PublicShopElementButtonDto,Re as PublicShopElementDividerDto,T as PublicShopElementDto,ze as PublicShopElementHeadingDto,Be as PublicShopElementNoticeDto,Ve as PublicShopElementProductDto,He as PublicShopElementTextDto,Ue as PublicShopEventDto,We as PublicShopMerchantDto,Ge as PublicShopProductDto,Ke as PublicShopReservationDto,Je as PublicShopReservationProductDetailsDto,qe as PublicShopReservationProductDto,an as PublicShopService,Ye as PublicShopTimeSlotDto,St as ReservationAdapter,Xe as ReservationDto,Ze as ReservationItemDto,Qe as ReservationProductDto,on as ReservationService,sn as ServicesService,le as ShopDesignDto,ue as ShopDto,de as ShopElementButtonDto,fe as ShopElementDividerDto,h as ShopElementDto,pe as ShopElementHeadingDto,me as ShopElementNoticeDto,he as ShopElementProductDto,g as ShopElementTextDto,J as StatisticsAdapter,Y as StatisticsBuyersAdapter,$e as StatisticsBuyersOverviewDto,et as StatisticsBuyersRankedDto,Ct as StatisticsEventsAdapter,tt as StatisticsEventsOverviewDto,Z as StatisticsOverviewAdapter,nt as StatisticsOverviewBestRevenueMonthDto,rt as StatisticsOverviewEventPerformanceDto,it as StatisticsOverviewEventPerformanceEventDto,at as StatisticsOverviewEventPerformanceSummaryDto,ot as StatisticsOverviewKPIsDto,st as StatisticsOverviewKPIsTotalEventsHostedDto,ct as StatisticsOverviewKPIsTotalRevenueDto,lt as StatisticsOverviewKPIsTotalTicketsSoldDto,Q as StatisticsSalesAdapter,ut as StatisticsSalesLifetimeTotalsDto,dt as StatisticsSalesPurchaseBehaviorDto,E as StatisticsSalesTransactionSuccessRateDto,ft as StatisticsTrendDto,u as StatusResponseDto,ge as StockOverviewDto,_e as StockOverviewItemDto,ve as StockPoolDto,$ as TicketAdapter,pt as TicketDto,ye as TicketTemplateDto,s as TotpStateDto,je as TransactionDto,cn as UiSelectOptionsService,c as UserDto,l as UserTokenDto,v as VatNumberDto,mt as emptyNull,ht as jsonBlob,O as optional,k as optionalArray};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|