@openscreen/internal-sdk 1.7.71 → 1.8.0
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/typings/sdk.d.ts +534 -58
- package/typings/sdk.d.ts.map +1 -1
package/dist/index.modern.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"axios";function s(){return s=Object.assign?Object.assign.bind():function(t){for(var s=1;s<arguments.length;s++){var e=arguments[s];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},s.apply(this,arguments)}class e{constructor(t){this.session=void 0,this.routeSegments=void 0,this.session=t}async makeUri(t={}){const s=[(await this.session.getCloudConfig()).endpoint.replace(/\/+$/,"")];return this.routeSegments.forEach(e=>{if(s.push(e.routePart),e.parm){const r=t[e.parm];if(!r)throw Error(`Openscreen: missing path parameter value for '${e.parm}'`);s.push(r)}}),s.join("/")}debugRequest(t,s,e,r,a){this.session.debugRequest&&(console.debug(`Openscreen REQUEST: ${t.toUpperCase()} ${s}`),r&&console.debug(`Openscreen REQUEST: ${JSON.stringify(r,null,2)}`),e&&this.session.debugQuery&&console.debug(`Openscreen QUERY: ${JSON.stringify(e,null,2)}`),a&&this.session.debugOptions&&console.debug(`Openscreen OPTIONS: ${JSON.stringify(a,null,2)}`))}debugResponse(t){this.session.debugResponse&&console.debug(`Openscreen RESPONSE: ${JSON.stringify(t.data||{},null,2)}`)}handleAndDebugErr(t){if(t.response&&t.response.data)return this.session.debugError?console.error(`Openscreen ERROR: ${JSON.stringify(t.response.data,null,2)}`):this.session.debugResponse&&console.error(`Openscreen RESPONSE: ${JSON.stringify(t.response.data,null,2)}`),t.response.data;if(this.session.debugError)try{console.error(t)}catch(t){console.error("Openscreen: (unable to print error)")}return t}}class r extends e{async go(t,e,r){try{const a=await this.makeUri(t);this.debugRequest("delete",a,e,null,r),await this.session.authorize();const n=await this.session.getAxios(),o=await n.delete(a,s({params:e},r));return this.debugResponse(o),o.data}catch(t){throw this.handleAndDebugErr(t)}}}class a extends e{async go(t,e,r){try{const a=await this.makeUri(t);this.debugRequest("get",a,e,null,r),await this.session.authorize();const n=await this.session.getAxios(),o=await n.get(a,s({params:e},r));return this.debugResponse(o),o.data}catch(t){throw this.handleAndDebugErr(t)}}}class n extends e{async go(t,e,r,a){try{const n=await this.makeUri(t);await this.session.authorize(),this.debugRequest("patch",n,e,r,a);const o=await this.session.getAxios(),i=await o.patch(n,r,s({params:e},a));return this.debugResponse(i),i.data}catch(t){throw this.handleAndDebugErr(t)}}}class o extends e{async go(t,e,r,a){try{const n=await this.makeUri(t);await this.session.authorize(),this.debugRequest("post",n,e,r,a);const o=await this.session.getAxios(),i=await o.post(n,r,s({params:e},a));return this.debugResponse(i),i.data}catch(t){throw this.handleAndDebugErr(t)}}}class i{constructor(t,s){this.session=void 0,this.pathParameters=void 0,this.session=t,this.pathParameters=s}self(){return this}getSession(){return this.session}}class c{constructor(t,s){this.session=void 0,this.pathParameters=void 0,this.id=void 0,this.session=t,this.pathParameters=s}getSession(){return this.session}}var u,h,d,p,m,P,g,l,N,S,I,E,A,w,x,T,k,_,C,y,O,R,D,v,L,f,b,M,U,j,G,V,H,Y,F,q,B,Q,W,$,K,J,X,z,Z,tt,st,et,rt,at,nt,ot,it,ct,ut,ht,dt,pt,mt;!function(t){t.CREATED_DATE="CREATED_DATE",t.STATIC_QR_CODE_COUNT="STATIC_QR_CODE_COUNT",t.DYNAMIC_QR_CODE_COUNT="DYNAMIC_QR_CODE_COUNT",t.SCAN_COUNT="SCAN_COUNT",t.CONTACT_COUNT="CONTACT_COUNT",t.PRICE_PLAN="PRICE_PLAN",t.LAST_ACTIVITY="LAST_ACTIVITY",t.CLIENT_EXEC="CLIENT_EXEC",t.ASSET_COUNT="ASSET_COUNT",t.SMS_COUNT="SMS_COUNT",t.ACCOUNT_STATUS="ACCOUNT_STATUS"}(u||(u={})),function(t){t.ACTIVE="ACTIVE",t.SUSPENDED="SUSPENDED",t.CANCELLED="CANCELLED"}(h||(h={})),function(t){t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL"}(d||(d={})),function(t){t.OWNER="OWNER",t.ADMINISTRATOR="ADMINISTRATOR",t.BILLING_CONTACT="BILLING_CONTACT",t.MEMBER="MEMBER",t.API_KEY="API_KEY",t.INVITATION_DECLINED="INVITATION_DECLINED"}(p||(p={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME",t.SCAN_COUNT="SCAN_COUNT",t.QR_CODE_COUNT="QR_CODE_COUNT",t.STATE="STATE"}(m||(m={})),function(t){t.json="json",t.csv="csv"}(P||(P={})),function(t){t.MODIFIED="MODIFIED",t.STATE="STATE",t.NAME="NAME",t.SCAN_COUNT="SCAN_COUNT",t.QR_CODE_COUNT="QR_CODE_COUNT",t.ASSET_TYPE_NAME="ASSET_TYPE_NAME"}(g||(g={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME"}(l||(l={})),function(t){t.PUBLISHED="PUBLISHED",t.DRAFT="DRAFT",t.ARCHIVED="ARCHIVED"}(N||(N={})),function(t){t.INVALID_API_KEY="INVALID_API_KEY",t.INVALID_EMAIL="INVALID_EMAIL",t.INVALID_LEGACY_MIGRATION="INVALID_LEGACY_MIGRATION",t.INVALID_PASSWORD="INVALID_PASSWORD",t.INVALID_SCOPE="INVALID_SCOPE",t.INVALID_SECRET="INVALID_SECRET",t.INVALID_TOKEN="INVALID_TOKEN",t.MIGRATE_FROM_COGNITO="MIGRATE_FROM_COGNITO",t.NO_ACCESS_TOKEN="NO_ACCESS_TOKEN",t.NO_REFRESH_TOKEN="NO_REFRESH_TOKEN",t.RESET_PASSWORD="RESET_PASSWORD",t.RESET_SECRET="RESET_SECRET",t.SUSPENDED_OR_INACTIVE="SUSPENDED_OR_INACTIVE",t.TOKEN_EXPIRED="TOKEN_EXPIRED",t.TRY_AGAIN="TRY_AGAIN",t.UNABLE_TO_CONFIRM_EMAIL="UNABLE_TO_CONFIRM_EMAIL",t.UNCONFIRMED_EMAIL="UNCONFIRMED_EMAIL",t.EMAIL_ALREADY_TAKEN="EMAIL_ALREADY_TAKEN"}(S||(S={})),function(t){t.API="API",t.CONFIRM_EMAIL="CONFIRM_EMAIL",t.NEW_PASSWORD="NEW_PASSWORD",t.NO_SESSION="NO_SESSION",t.NO_PASSWORD="NO_PASSWORD",t.CONFIRMED_NO_PASSWORD="CONFIRMED_NO_PASSWORD"}(I||(I={})),function(t){t.MICROSOFT="MICROSOFT"}(E||(E={})),function(t){t.TWO_FACTOR_AUTHENTICATION="TWO_FACTOR_AUTHENTICATION",t.MARKETING="MARKETING",t.CUSTOMER_CARE="CUSTOMER_CARE",t.CHARITY_NONPROFIT="CHARITY_NONPROFIT",t.DELIVERY_NOTIFICATIONS="DELIVERY_NOTIFICATIONS",t.FRAUD_ALERT_MESSAGING="FRAUD_ALERT_MESSAGING",t.EVENTS="EVENTS",t.HIGHER_EDUCATION="HIGHER_EDUCATION",t.K12="K12",t.POLLING_AND_VOTING_NON_POLITICAL="POLLING_AND_VOTING_NON_POLITICAL",t.POLITICAL_ELECTION_CAMPAIGNS="POLITICAL_ELECTION_CAMPAIGNS",t.PUBLIC_SERVICE_ANNOUNCEMENT="PUBLIC_SERVICE_ANNOUNCEMENT",t.SECURITY_ALERT="SECURITY_ALERT",t.ACCOUNT_NOTIFICATIONS="ACCOUNT_NOTIFICATIONS"}(A||(A={})),function(t){t.ACCEPTED="ACCEPTED",t.DECLINED="DECLINED",t.true="true",t.false="false"}(w||(w={})),function(t){t.SMS="SMS",t.EMAIL="EMAIL",t.DATA="DATA",t.CUSTOM="CUSTOM"}(x||(x={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME",t.PHONE="PHONE",t.EMAIL="EMAIL",t.LAST_SCAN_TIME="LAST_SCAN_TIME",t.LAST_SCAN_LOCATION="LAST_SCAN_LOCATION",t.SCAN_COUNT="SCAN_COUNT"}(T||(T={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME",t.ASSET_NAME="ASSET_NAME",t.PHONE="PHONE",t.EMAIL="EMAIL",t.LAST_SCAN_TIME="LAST_SCAN_TIME",t.LAST_SCAN_LOCATION="LAST_SCAN_LOCATION",t.SCAN_COUNT="SCAN_COUNT"}(k||(k={})),function(t){t.CARE_API="CARE_API"}(_||(_={})),function(t){t.STRING="STRING",t.NUMBER="NUMBER"}(C||(C={})),function(t){t.ASSET_BATCH="ASSET_BATCH"}(y||(y={})),function(t){t.VALIDATING="VALIDATING",t.VALID="VALID",t.INVALID="INVALID",t.NOT_VALIDATED="NOT_VALIDATED"}(O||(O={})),function(t){t.ENGAGE="ENGAGE",t.TRACK="TRACK",t.INVENTORY="INVENTORY",t.CREATE="CREATE"}(R||(R={})),function(t){t.COMING_UP="COMING_UP",t.PAID="PAID",t.PAST_DUE="PAST_DUE",t.VOID="VOID"}(D||(D={})),function(t){t.IN_PROGRESS="IN_PROGRESS",t.COMPLETED="COMPLETED",t.TIMEOUT="TIMEOUT",t.FAILED="FAILED",t.CANCELLED="CANCELLED",t.DOWNLOADED="DOWNLOADED"}(v||(v={})),function(t){t.BATCH_CREATE_BLANK_ITEMS="BATCH_CREATE_BLANK_ITEMS",t.BATCH_CREATE_ASSETS="BATCH_CREATE_ASSETS",t.VALIDATE_CSV="VALIDATE_CSV",t.SELF_QUEUE_BATCH_PRINT="SELF_QUEUE_BATCH_PRINT",t.SCAN_EXPORT="SCAN_EXPORT",t.ASSET_EXPORT="ASSET_EXPORT",t.CONTACT_EXPORT="CONTACT_EXPORT",t.TEMPLATED_PRINT="TEMPLATED_PRINT",t.CLONE_MICROSITE="CLONE_MICROSITE"}(L||(L={})),function(t){t.NONE="NONE",t.ASSET_NAME="ASSET_NAME",t.CUSTOM="CUSTOM",t.COMPANY_NAME="COMPANY_NAME",t.LOCATOR_KEY="LOCATOR_KEY"}(f||(f={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME",t.STATE="STATE"}(b||(b={})),function(t){t.SALES_EMAIL="SALES_EMAIL",t.SUPPORT_EMAIL="SUPPORT_EMAIL"}(M||(M={})),function(t){t.FREE="free",t.PAYASYOUGO="payAsYouGo",t.ADVANCED="advanced",t.PRO="pro",t.ENTERPRISE_CUSTOM="enterpriseCustom",t.UNLIMITED="unlimited",t.ENGAGE_STARTER_MONTHLY="engageStarterMonthly",t.ENGAGE_STARTER_YEARLY="engageStarterYearly",t.ENGAGE_PRO_MONTHLY="engageProMonthly",t.ENGAGE_PRO_YEARLY="engageProYearly",t.ENGAGE_PREMIUM_MONTHLY="engagePremiumMonthly",t.ENGAGE_PREMIUM_YEARLY="engagePremiumYearly",t.ENGAGE_ENTERPRISE_CUSTOM="engageEnterpriseCustom",t.ENGAGE_ADDON="engageAddon"}(U||(U={})),function(t){t.MONTHLY="monthly",t.ANNUAL="annual"}(j||(j={})),function(t){t.BASIC="basic",t.ADVANCED="advanced",t.basic="basic",t.advance="advanced"}(G||(G={})),function(t){t.A3="A3",t.A4="A4",t.A5="A5",t.LETTER="LETTER",t.LEGAL="LEGAL"}(V||(V={})),function(t){t.SINGLE="SINGLE",t.MULTIPLE="MULTIPLE"}(H||(H={})),function(t){t.PORTRAIT="PORTRAIT",t.LANDSCAPE="LANDSCAPE"}(Y||(Y={})),function(t){t.AVERY_5160="AVERY_5160",t.AVERY_5163="AVERY_5163",t.AVERY_94103="AVERY_94103",t.AVERY_22806="AVERY_22806",t.AVERY_22805="AVERY_22805",t.OL914="OL914",t.OL3012LP="OL3012LP",t.OL3012LPCustom="OL3012LPCustom",t.CLOUD_TAGS_15="CLOUD_TAGS_15",t.CLOUD_TAGS_20="CLOUD_TAGS_20",t.LUGGAGE_TAGS_SINGLE="LUGGAGE_TAGS_SINGLE",t.LUGGAGE_TAGS_5_X_5="LUGGAGE_TAGS_5_X_5",t.CT_8_X_6_GRIPPER="CT_8_X_6_GRIPPER",t.MINI_CLOUD_TAGS_4_X_3="MINI_CLOUD_TAGS_4_X_3"}(F||(F={})),function(t){t.IN="IN",t.CM="CM",t.MM="MM",t.PT="PT"}(q||(q={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME",t.SCAN_COUNT="SCAN_COUNT",t.QR_CODE_COUNT="QR_CODE_COUNT",t.CONTACT_COUNT="CONTACT_COUNT",t.ASSET_COUNT="ASSET_COUNT"}(B||(B={})),function(t){t.ACTIVE="ACTIVE",t.SUSPENDED="SUSPENDED"}(Q||(Q={})),function(t){t.dot="dot",t.square="square"}(W||(W={})),function(t){t.dot="dot",t.square="square",t.extra_rounded="extra-rounded"}($||($={})),function(t){t.classy="classy",t.classy_rounded="classy-rounded",t.dots="dots",t.extra_rounded="extra-rounded",t.rounded="rounded",t.square="square"}(K||(K={})),function(t){t.NO_SCAN_ID="NO_SCAN_ID",t.SCAN_ID_IN_PATH_PARAMETER="SCAN_ID_IN_PATH_PARAMETER",t.SCAN_ID_IN_QUERY_STRING_PARAMETER="SCAN_ID_IN_QUERY_STRING_PARAMETER",t.CUSTOM_QUERY_STRING_PARAMETER="CUSTOM_QUERY_STRING_PARAMETER"}(J||(J={})),function(t){t.L="L",t.M="M",t.Q="Q",t.H="H"}(X||(X={})),function(t){t.linear="linear",t.radial="radial"}(z||(z={})),function(t){t.STATIC_REDIRECT="STATIC_REDIRECT",t.DYNAMIC_REDIRECT="DYNAMIC_REDIRECT",t.DYNAMIC_REDIRECT_TO_APP="DYNAMIC_REDIRECT_TO_APP"}(Z||(Z={})),function(t){t.SHORT_URL="SHORT_URL",t.HASHED_ID="HASHED_ID",t.SECURE_ID="SECURE_ID"}(tt||(tt={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME",t.SCAN_COUNT="SCAN_COUNT"}(st||(st={})),function(t){t.ACTIVE="ACTIVE",t.INACTIVE="INACTIVE",t.SUSPENDED="SUSPENDED"}(et||(et={})),function(t){t.PNG="PNG",t.JPEG="JPEG",t.SVG="SVG",t.png="png",t.jpeg="jpeg",t.svg="svg"}(rt||(rt={})),function(t){t.EQUALS="EQUALS",t.LESS_THAN="LESS_THAN",t.LESS_THAN_EQUAL="LESS_THAN_EQUAL",t.GREATER_THAN="GREATER_THAN",t.GREATER_THAN_EQUAL="GREATER_THAN_EQUAL",t.BETWEEN="BETWEEN",t.BEGINS_WITH="BEGINS_WITH"}(at||(at={})),function(t){t.DAILY="DAILY",t.HOURLY="HOURLY"}(nt||(nt={})),function(t){t.SQUARE="SQUARE",t.CIRCLE="CIRCLE",t.RECTANGLE="RECTANGLE"}(ot||(ot={})),function(t){t.ACTIVATED="ACTIVATED",t.MODIFIED="MODIFIED"}(it||(it={})),function(t){t.ACTIVE="ACTIVE",t.INACTIVE="INACTIVE",t.USER_INFO_COLLECTION="USER_INFO_COLLECTION"}(ct||(ct={})),function(t){t.COMPROMISED="COMPROMISED",t.CONFIRMED="CONFIRMED",t.LEGACY="LEGACY",t.NEW_EMAIL="NEW_EMAIL",t.NEW_EMAIL_CONFIRMED="NEW_EMAIL_CONFIRMED",t.NEW_PASSWORD="NEW_PASSWORD",t.SUSPENDED="SUSPENDED",t.UNCONFIRMED="UNCONFIRMED",t.CONFIRMED_NO_PASSWORD="CONFIRMED_NO_PASSWORD"}(ut||(ut={})),function(t){t.appuser="appuser",t.appadmin="appadmin"}(ht||(ht={})),function(t){t.pdf="pdf",t.jpg="jpg",t.HEIC="HEIC",t.heic="heic",t.png="png",t.mov="mov",t.mp4="mp4",t.jpeg="jpeg"}(dt||(dt={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME",t.FILE_TYPE="FILE_TYPE"}(pt||(pt={})),function(t){t.DASHBOARD="DASHBOARD"}(mt||(mt={}));class Pt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"apikeys",sdkPartName:"apikeys"}]}}class gt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"apps",sdkPartName:"apps"}]}}class lt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"assettypes",sdkPartName:"assettypes"}]}}class Nt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"invitations",sdkPartName:"invitations"}]}}class St extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"invitations/batch",sdkPartName:"invitationsBatch"}]}}class It extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"locations",sdkPartName:"locations"}]}}class Et extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"printPageTemplates",sdkPartName:"printPageTemplates"}]}}class At extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"printStickerTemplates",sdkPartName:"printStickerTemplates"}]}}class wt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"projects",sdkPartName:"projects"}]}}class xt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"qrcodelogos",sdkPartName:"qrcodelogos"}]}}class Tt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"stylingtemplates",sdkPartName:"stylingtemplates"}]}}class kt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"account",sdkPartName:"account"},{routePart:"customattributes",sdkPartName:"customattributes"}]}}class _t extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"zendeskTicket",sdkPartName:"zendeskTicket"}]}}class Ct extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"usermedias/presignedurl",sdkPartName:"usermediasPresignedurl"}]}}class yt extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"contacts/batch",sdkPartName:"contactsBatch"}]}}class Ot extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{parm:"userId",routePart:"users",sdkPartName:"user"}]}}class Rt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"}]}}class Dt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"assets/report/advanced",sdkPartName:"advancedAssetsReport"}]}}class vt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"contacts/report/advanced",sdkPartName:"advancedContactsReport"}]}}class Lt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"scans/report/advanced",sdkPartName:"advancedScansReport"}]}}class ft extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"owner/apps",sdkPartName:"ownerApps"}]}}class bt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"apikeys",sdkPartName:"apikeys"}]}}class Mt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"assets/export",sdkPartName:"assetsExport"}]}}class Ut extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"assettypes",sdkPartName:"assettypes"}]}}class jt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"assets",sdkPartName:"assets"}]}}class Gt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"assets/report/basic",sdkPartName:"basicAssetsReport"}]}}class Vt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"contacts/report/basic",sdkPartName:"basicContactsReport"}]}}class Ht extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"account",sdkPartName:"account"},{routePart:"batch",sdkPartName:"batch"}]}}class Yt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"consent",sdkPartName:"consent"}]}}class Ft extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"contacts/export",sdkPartName:"contactsExport"}]}}class qt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"contacts",sdkPartName:"contacts"}]}}class Bt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"apps",sdkPartName:"apps"}]}}class Qt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"jobs",sdkPartName:"jobs"}]}}class Wt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"locations",sdkPartName:"locations"}]}}class $t extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"assets/mostscanned",sdkPartName:"assetsMostscanned"}]}}class Kt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"priceplan",sdkPartName:"pricePlan"}]}}class Jt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"printJobs",sdkPartName:"printJobs"}]}}class Xt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"printPageTemplates",sdkPartName:"printPageTemplates"}]}}class zt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"printStickerTemplates",sdkPartName:"printStickerTemplates"}]}}class Zt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"projects",sdkPartName:"projects"}]}}class ts extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"qrcodelogos",sdkPartName:"qrcodelogos"}]}}class ss extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"stylingtemplates",sdkPartName:"stylingtemplates"}]}}class es extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"qrcodes",sdkPartName:"qrCodes"}]}}class rs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"account",sdkPartName:"account"},{routePart:"customattributes",sdkPartName:"customattributes"}]}}class as extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"scans/dayofweek",sdkPartName:"scansDayofweek"}]}}class ns extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"scans/export",sdkPartName:"scansExport"}]}}class os extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"scans/timeofday",sdkPartName:"scansTimeofday"}]}}class is extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"scans/timeline",sdkPartName:"scansTimeline"}]}}class cs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"scans",sdkPartName:"scans"}]}}class us extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{parm:"userId",routePart:"users",sdkPartName:"user"}]}}class hs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"usermedias",sdkPartName:"usermedias"}]}}class ds extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"users",sdkPartName:"users"}]}}class ps extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{parm:"appId",routePart:"apps",sdkPartName:"app"},{routePart:"install",sdkPartName:"install"}]}}class ms extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"campaignInformation",sdkPartName:"campaignInformation"}]}}class Ps extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"campaignInformation",sdkPartName:"campaignInformation"}]}}class gs extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"clock",sdkPartName:"clock"}]}}class ls extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"}]}}class Ns extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"engagePricePlan",sdkPartName:"engagePricePlan"}]}}class Ss extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"priceplan",sdkPartName:"pricePlan"}]}}class Is extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{parm:"userId",routePart:"users",sdkPartName:"user"}]}}class Es extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"qrcodelogos/upload",sdkPartName:"qrcodelogosUpload"}]}}class As extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"apiKeyId",routePart:"apikeys",sdkPartName:"apikey"}]}}class ws extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"apiKeyId",routePart:"apikeys",sdkPartName:"apikey"},{routePart:"secret",sdkPartName:"secret"}]}}class xs extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"apiKeyId",routePart:"apikeys",sdkPartName:"apikey"},{routePart:"secret",sdkPartName:"secret"}]}}class Ts extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"apiKeyId",routePart:"apikeys",sdkPartName:"apikey"}]}}class ks extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"appId",routePart:"apps",sdkPartName:"app"}]}}class _s extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"apps",sdkPartName:"apps"}]}}class Cs extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"apps/published",sdkPartName:"appsPublished"}]}}class ys extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"appId",routePart:"apps",sdkPartName:"app"},{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"load",sdkPartName:"load"}]}}class Os extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"appId",routePart:"apps",sdkPartName:"app"}]}}class Rs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"appAccountId",routePart:"appsAccounts",sdkPartName:"appsAccount"}]}}class Ds extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"appAccountId",routePart:"appsAccounts",sdkPartName:"appsAccount"},{routePart:"main",sdkPartName:"main"}]}}class vs extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"},{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class Ls extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"},{routePart:"assets",sdkPartName:"assets"}]}}class fs extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"}]}}class bs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"}]}}class Ms extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"},{parm:"locationId",routePart:"locations",sdkPartName:"location"}]}}class Us extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"},{routePart:"assets",sdkPartName:"assets"}]}}class js extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"},{routePart:"locations",sdkPartName:"locations"}]}}class Gs extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"}]}}class Vs extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"},{parm:"locationId",routePart:"locations",sdkPartName:"location"}]}}class Hs extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"contacts",sdkPartName:"contacts"}]}}class Ys extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"qrcodes",sdkPartName:"qrCodes"}]}}class Fs extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"qrcodes",sdkPartName:"qrCodes"}]}}class qs extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class Bs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class Qs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"history",sdkPartName:"history"}]}}class Ws extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"contacts",sdkPartName:"contacts"}]}}class $s extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"qrcodes",sdkPartName:"qrCodes"}]}}class Ks extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"scans/export",sdkPartName:"scansExport"}]}}class Js extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"scans/location",sdkPartName:"scansLocation"}]}}class Xs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"scans",sdkPartName:"scans"}]}}class zs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"usermedias",sdkPartName:"usermedias"}]}}class Zs extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{parm:"contactId",routePart:"contacts",sdkPartName:"contact"}]}}class te extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{parm:"contactId",routePart:"contacts",sdkPartName:"contact"}]}}class se extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class ee extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"batchId",routePart:"batch",sdkPartName:"batch"},{routePart:"assets",sdkPartName:"assets"}]}}class re extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/cancelDowngrade",sdkPartName:"billingCancelDowngrade"}]}}class ae extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/cancelSubscription",sdkPartName:"billingCancelSubscription"}]}}class ne extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/preview/upgradePlan",sdkPartName:"upgradePlanBillingPreview"}]}}class oe extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/setupIntent",sdkPartName:"billingSetupIntent"}]}}class ie extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/downgradePlan",sdkPartName:"billingDowngradePlan"}]}}class ce extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/details",sdkPartName:"billingDetail"}]}}class ue extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/currentPeriod",sdkPartName:"billingCurrentPeriod"}]}}class he extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/invoices",sdkPartName:"billingInvoice"}]}}class de extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/upgradePlan",sdkPartName:"billingUpgradePlan"}]}}class pe extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"care/accounts",sdkPartName:"careAccounts"}]}}class me extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"consent",sdkPartName:"consent"}]}}class Pe extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"consent",sdkPartName:"consent"}]}}class ge extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"}]}}class le extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"assets",sdkPartName:"assets"}]}}class Ne extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"consent",sdkPartName:"consent"}]}}class Se extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"}]}}class Ie extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"export",sdkPartName:"export"}]}}class Ee extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"scans/export",sdkPartName:"scansExport"}]}}class Ae extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"scans/location",sdkPartName:"scansLocation"}]}}class we extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"scans",sdkPartName:"scans"}]}}class xe extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{parm:"scanId",routePart:"scans",sdkPartName:"scan"}]}}class Te extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"}]}}class ke extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"fileId",routePart:"files",sdkPartName:"file"},{routePart:"validate",sdkPartName:"validate"}]}}class _e extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"fileId",routePart:"files",sdkPartName:"file"},{routePart:"validate",sdkPartName:"validate"}]}}class Ce extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"invitationId",routePart:"invitations",sdkPartName:"invitation"},{routePart:"users",sdkPartName:"users"}]}}class ye extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"invitationId",routePart:"invitations",sdkPartName:"invitation"}]}}class Oe extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"invitationId",routePart:"invitations",sdkPartName:"invitation"}]}}class Re extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"jobId",routePart:"jobs",sdkPartName:"job"}]}}class De extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"jobId",routePart:"jobs",sdkPartName:"job"}]}}class ve extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"printJobId",routePart:"printJobs",sdkPartName:"printJob"}]}}class Le extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"locationId",routePart:"locations",sdkPartName:"location"},{routePart:"assets",sdkPartName:"assets"}]}}class fe extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"locationId",routePart:"locations",sdkPartName:"location"}]}}class be extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"locationId",routePart:"locations",sdkPartName:"location"},{routePart:"assets",sdkPartName:"assets"}]}}class Me extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"locationId",routePart:"locations",sdkPartName:"location"}]}}class Ue extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"support",sdkPartName:"support"}]}}class je extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"pricePlans",sdkPartName:"pricePlans"}]}}class Ge extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"assets",sdkPartName:"assets"}]}}class Ve extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"jobs/assetbatch",sdkPartName:"jobsAssetbatch"}]}}class He extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"jobs/assetbatch/presignedurl",sdkPartName:"presignedurlJobsAssetbatch"}]}}class Ye extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"assets/batch",sdkPartName:"assetsBatch"}]}}class Fe extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"contacts",sdkPartName:"contacts"}]}}class qe extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"contacts/batch",sdkPartName:"contactsBatch"}]}}class Be extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"print",sdkPartName:"print"}]}}class Qe extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"qrcodes",sdkPartName:"qrCodes"}]}}class We extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"selfqueueprint",sdkPartName:"selfqueueprint"}]}}class $e extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"smstemplates",sdkPartName:"smsTemplates"}]}}class Ke extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"printJobs",sdkPartName:"printJobs"}]}}class Je extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"templatedPrint/preview",sdkPartName:"templatedPrintPreview"}]}}class Xe extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"contacts/batch",sdkPartName:"contactsBatch"}]}}class ze extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"}]}}class Ze extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{parm:"smsTemplateName",routePart:"smstemplates",sdkPartName:"smsTemplate"}]}}class tr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"assets/report/advanced",sdkPartName:"advancedAssetsReport"}]}}class sr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"contacts/report/advanced",sdkPartName:"advancedContactsReport"}]}}class er extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"scans/report/advanced",sdkPartName:"advancedScansReport"}]}}class rr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"assets/export",sdkPartName:"assetsExport"}]}}class ar extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"assets",sdkPartName:"assets"}]}}class nr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"assets/report/basic",sdkPartName:"basicAssetsReport"}]}}class or extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"contacts/report/basic",sdkPartName:"basicContactsReport"}]}}class ir extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"project",sdkPartName:"project"},{routePart:"batch",sdkPartName:"batch"}]}}class cr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"consent",sdkPartName:"consent"}]}}class ur extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"contacts/export",sdkPartName:"contactsExport"}]}}class hr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"contacts",sdkPartName:"contacts"}]}}class dr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"assets/mostscanned",sdkPartName:"assetsMostscanned"}]}}class pr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"}]}}class mr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"qrcodes",sdkPartName:"qrCodes"}]}}class Pr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"scans/dayofweek",sdkPartName:"scansDayofweek"}]}}class gr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"scans/export",sdkPartName:"scansExport"}]}}class lr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"scans/timeofday",sdkPartName:"scansTimeofday"}]}}class Nr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"scans/timeline",sdkPartName:"scansTimeline"}]}}class Sr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"scans",sdkPartName:"scans"}]}}class Ir extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{parm:"smsTemplateName",routePart:"smstemplates",sdkPartName:"smsTemplate"}]}}class Er extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"smstemplates",sdkPartName:"smsTemplates"}]}}class Ar extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"usermedias",sdkPartName:"usermedias"}]}}class wr extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"}]}}class xr extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{parm:"smsTemplateName",routePart:"smstemplates",sdkPartName:"smsTemplate"}]}}class Tr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"qrCodeLogoId",routePart:"qrcodelogos",sdkPartName:"qrcodelogo"}]}}class kr extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"qrCodeLogoId",routePart:"qrcodelogos",sdkPartName:"qrcodelogo"}]}}class _r extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"qrCodeId",routePart:"qrcodes",sdkPartName:"qrCode"}]}}class Cr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"qrCodeId",routePart:"qrcodes",sdkPartName:"qrCode"}]}}class yr extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"qrCodeId",routePart:"qrcodes",sdkPartName:"qrCode"}]}}class Or extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"scanId",routePart:"scans",sdkPartName:"scan"},{routePart:"contacts",sdkPartName:"contacts"}]}}class Rr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"scanId",routePart:"scans",sdkPartName:"scan"}]}}class Dr extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"scanId",routePart:"scans",sdkPartName:"scan"}]}}class vr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"scanId",routePart:"scans",sdkPartName:"scan"},{routePart:"email",sdkPartName:"email"}]}}class Lr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"scanId",routePart:"scans",sdkPartName:"scan"},{routePart:"sms",sdkPartName:"sms"}]}}class fr extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"scanId",routePart:"scans",sdkPartName:"scan"},{routePart:"customAttribute",sdkPartName:"customAttribute"}]}}class br extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"printPageTemplateId",routePart:"printPageTemplates",sdkPartName:"printPageTemplate"}]}}class Mr extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"printStickerTemplateId",routePart:"printStickerTemplates",sdkPartName:"printStickerTemplate"}]}}class Ur extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"stylingTemplateId",routePart:"stylingtemplates",sdkPartName:"stylingtemplate"}]}}class jr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"printPageTemplateId",routePart:"printPageTemplates",sdkPartName:"printPageTemplate"}]}}class Gr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"printStickerTemplateId",routePart:"printStickerTemplates",sdkPartName:"printStickerTemplate"}]}}class Vr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"stylingTemplateId",routePart:"stylingtemplates",sdkPartName:"stylingtemplate"}]}}class Hr extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"printPageTemplateId",routePart:"printPageTemplates",sdkPartName:"printPageTemplate"}]}}class Yr extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"printStickerTemplateId",routePart:"printStickerTemplates",sdkPartName:"printStickerTemplate"}]}}class Fr extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"stylingTemplateId",routePart:"stylingtemplates",sdkPartName:"stylingtemplate"}]}}class qr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"}]}}class Br extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class Qr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"projectId",routePart:"project",sdkPartName:"project"}]}}class Wr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"scanId",routePart:"scans",sdkPartName:"scan"}]}}class $r extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class Kr extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class Jr extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"projectId",routePart:"projects",sdkPartName:"project"}]}}class Xr extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"scanId",routePart:"scans",sdkPartName:"scan"}]}}class zr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class Zr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"},{routePart:"accounts",sdkPartName:"accounts"}]}}class ta extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"},{routePart:"accounts",sdkPartName:"accounts"}]}}class sa extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"},{routePart:"errors",sdkPartName:"errors"}]}}class ea extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"},{routePart:"invitations",sdkPartName:"invitations"}]}}class ra extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"}]}}class aa extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"},{parm:"path",routePart:"path",sdkPartName:"path"},{routePart:"settings",sdkPartName:"settings"}]}}class na extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"},{parm:"path",routePart:"path",sdkPartName:"path"},{routePart:"settings",sdkPartName:"settings"}]}}class oa extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"}]}}class ia extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"webhook/sms",sdkPartName:"webhookSms"}]}}class ca extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"webhook/sms-status",sdkPartName:"webhookSmsStatus"}]}}class ua extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"webhook/stripe",sdkPartName:"webhookStripe"}]}}class ha extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/user/password",sdkPartName:"passwordAuthUser"}]}}class da extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/session",sdkPartName:"authSession"}]}}class pa extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/confirm",sdkPartName:"authConfirm"}]}}class ma extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/confirm/invited",sdkPartName:"invitedAuthConfirm"}]}}class Pa extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/user",sdkPartName:"authUser"}]}}class ga extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/session",sdkPartName:"authSession"}]}}class la extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/session",sdkPartName:"authSession"}]}}class Na extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/session/refresh",sdkPartName:"refreshAuthSession"}]}}class Sa extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/user/confirmation",sdkPartName:"confirmationAuthUser"}]}}class Ia extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/user/reset",sdkPartName:"resetAuthUser"}]}}class Ea extends i{async create(t,s){return new Pt(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new bt(this.session).go(this.pathParameters,t,s)}}class Aa extends i{async create(t,s){return new gt(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Bt(this.session).go(this.pathParameters,t,s)}}class wa extends i{async create(t,s){return new lt(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Ut(this.session).go(this.pathParameters,t,s)}}class xa extends i{async create(t,s){return new Nt(this.session).go(this.pathParameters,void 0,t,s)}}class Ta extends i{async create(t,s){return new St(this.session).go(this.pathParameters,void 0,t,s)}}class ka extends i{async create(t,s){return new It(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Wt(this.session).go(this.pathParameters,t,s)}}class _a extends i{async create(t,s){return new Et(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Xt(this.session).go(this.pathParameters,t,s)}}class Ca extends i{async create(t,s){return new At(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new zt(this.session).go(this.pathParameters,t,s)}}class ya extends i{async create(t,s){return new wt(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Zt(this.session).go(this.pathParameters,t,s)}}class Oa extends i{async create(t,s){return new xt(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new ts(this.session).go(this.pathParameters,t,s)}}class Ra extends i{async create(t,s){return new Tt(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new ss(this.session).go(this.pathParameters,t,s)}}class Da extends i{async create(t,s){return new kt(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new rs(this.session).go(this.pathParameters,t,s)}}class va extends i{async create(t,s){return new _t(this.session).go(this.pathParameters,void 0,t,s)}}class La extends i{async create(t,s){return new Ct(this.session).go(this.pathParameters,void 0,t,s)}}class fa extends i{async delete(t,s){return new yt(this.session).go(this.pathParameters,t,s)}}class ba extends c{async delete(t){return new Ot(this.session).go(this.pathParameters,void 0,t)}async get(t){return new us(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new Is(this.session).go(this.pathParameters,void 0,t,s)}}class Ma extends i{async get(t,s){return new Dt(this.session).go(this.pathParameters,t,s)}}class Ua extends i{async get(t,s){return new vt(this.session).go(this.pathParameters,t,s)}}class ja extends i{async get(t,s){return new Lt(this.session).go(this.pathParameters,t,s)}}class Ga extends i{async get(t,s){return new ft(this.session).go(this.pathParameters,t,s)}}class Va extends i{async create(t,s){return new Mt(this.session).go(this.pathParameters,void 0,t,s)}}class Ha extends i{async get(t,s){return new jt(this.session).go(this.pathParameters,t,s)}}class Ya extends i{async get(t){return new Gt(this.session).go(this.pathParameters,void 0,t)}}class Fa extends i{async get(t){return new Vt(this.session).go(this.pathParameters,void 0,t)}}class qa extends i{async get(t,s){return new Ht(this.session).go(this.pathParameters,t,s)}}class Ba extends i{async get(t,s){return new Yt(this.session).go(this.pathParameters,t,s)}}class Qa extends i{async create(t,s){return new Ft(this.session).go(this.pathParameters,void 0,t,s)}}class Wa extends i{async get(t,s){return new qt(this.session).go(this.pathParameters,t,s)}}class $a extends i{async get(t,s){return new Qt(this.session).go(this.pathParameters,t,s)}}class Ka extends i{async get(t,s){return new $t(this.session).go(this.pathParameters,t,s)}}class Ja extends i{async get(t){return new Kt(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new Ss(this.session).go(this.pathParameters,void 0,t,s)}}class Xa extends i{async get(t,s){return new Jt(this.session).go(this.pathParameters,t,s)}}class za extends i{async get(t,s){return new es(this.session).go(this.pathParameters,t,s)}}class Za extends i{async get(t,s){return new as(this.session).go(this.pathParameters,t,s)}}class tn extends i{async create(t,s){return new ns(this.session).go(this.pathParameters,void 0,t,s)}}class sn extends i{async get(t,s){return new os(this.session).go(this.pathParameters,t,s)}}class en extends i{async get(t,s){return new is(this.session).go(this.pathParameters,t,s)}}class rn extends i{async get(t,s){return new cs(this.session).go(this.pathParameters,t,s)}}class an extends i{async get(t,s){return new hs(this.session).go(this.pathParameters,t,s)}}class nn extends i{async get(t,s){return new ds(this.session).go(this.pathParameters,t,s)}}class on extends i{async create(t){return new ps(this.session).go(this.pathParameters,void 0,t)}}class cn extends c{install(){return new on(this.getSession(),this.pathParameters)}}class un extends i{async get(t){return new ms(this.session).go(this.pathParameters,void 0,t)}async create(t,s){return new Ps(this.session).go(this.pathParameters,void 0,t,s)}}class hn extends i{async create(t,s){return new gs(this.session).go(this.pathParameters,void 0,t,s)}}class dn extends i{async update(t,s){return new Ns(this.session).go(this.pathParameters,void 0,t,s)}}class pn extends i{async create(t,s){return new Es(this.session).go(this.pathParameters,void 0,t,s)}}class mn extends c{apikeys(){return new Ea(this.getSession(),this.pathParameters)}apps(){return new Aa(this.getSession(),this.pathParameters)}assettypes(){return new wa(this.getSession(),this.pathParameters)}invitations(){return new xa(this.getSession(),this.pathParameters)}invitationsBatch(){return new Ta(this.getSession(),this.pathParameters)}locations(){return new ka(this.getSession(),this.pathParameters)}printPageTemplates(){return new _a(this.getSession(),this.pathParameters)}printStickerTemplates(){return new Ca(this.getSession(),this.pathParameters)}projects(){return new ya(this.getSession(),this.pathParameters)}qrcodelogos(){return new Oa(this.getSession(),this.pathParameters)}stylingtemplates(){return new Ra(this.getSession(),this.pathParameters)}customattributes(){return new Da(this.getSession(),this.pathParameters)}zendeskTicket(){return new va(this.getSession(),this.pathParameters)}usermediasPresignedurl(){return new La(this.getSession(),this.pathParameters)}contactsBatch(){return new fa(this.getSession(),this.pathParameters)}user(t){return new ba(this.getSession(),s({},this.pathParameters,{userId:t}))}advancedAssetsReport(){return new Ma(this.getSession(),this.pathParameters)}advancedContactsReport(){return new Ua(this.getSession(),this.pathParameters)}advancedScansReport(){return new ja(this.getSession(),this.pathParameters)}ownerApps(){return new Ga(this.getSession(),this.pathParameters)}assetsExport(){return new Va(this.getSession(),this.pathParameters)}assets(){return new Ha(this.getSession(),this.pathParameters)}basicAssetsReport(){return new Ya(this.getSession(),this.pathParameters)}basicContactsReport(){return new Fa(this.getSession(),this.pathParameters)}batch(){return new qa(this.getSession(),this.pathParameters)}consent(){return new Ba(this.getSession(),this.pathParameters)}contactsExport(){return new Qa(this.getSession(),this.pathParameters)}contacts(){return new Wa(this.getSession(),this.pathParameters)}jobs(){return new $a(this.getSession(),this.pathParameters)}assetsMostscanned(){return new Ka(this.getSession(),this.pathParameters)}pricePlan(){return new Ja(this.getSession(),this.pathParameters)}printJobs(){return new Xa(this.getSession(),this.pathParameters)}qrCodes(){return new za(this.getSession(),this.pathParameters)}scansDayofweek(){return new Za(this.getSession(),this.pathParameters)}scansExport(){return new tn(this.getSession(),this.pathParameters)}scansTimeofday(){return new sn(this.getSession(),this.pathParameters)}scansTimeline(){return new en(this.getSession(),this.pathParameters)}scans(){return new rn(this.getSession(),this.pathParameters)}usermedias(){return new an(this.getSession(),this.pathParameters)}users(){return new nn(this.getSession(),this.pathParameters)}app(t){return new cn(this.getSession(),s({},this.pathParameters,{appId:t}))}campaignInformation(){return new un(this.getSession(),this.pathParameters)}clock(){return new hn(this.getSession(),this.pathParameters)}engagePricePlan(){return new dn(this.getSession(),this.pathParameters)}qrcodelogosUpload(){return new pn(this.getSession(),this.pathParameters)}async get(t){return new Rt(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new ls(this.session).go(this.pathParameters,void 0,t,s)}}class Pn extends i{async get(t){return new ws(this.session).go(this.pathParameters,void 0,t)}async update(t){return new xs(this.session).go(this.pathParameters,void 0,t)}}class gn extends c{secret(){return new Pn(this.getSession(),this.pathParameters)}async get(t){return new As(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new Ts(this.session).go(this.pathParameters,void 0,t,s)}}class ln extends i{async create(t){return new ys(this.session).go(this.pathParameters,void 0,t)}}class Nn extends c{load(){return new ln(this.getSession(),this.pathParameters)}}class Sn extends c{account(t){return new Nn(this.getSession(),s({},this.pathParameters,{accountId:t}))}async get(t){return new ks(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new Os(this.session).go(this.pathParameters,void 0,t,s)}}class In extends i{async get(t,s){return new _s(this.session).go(this.pathParameters,t,s)}}class En extends i{async get(t,s){return new Cs(this.session).go(this.pathParameters,t,s)}}class An extends i{async get(t){return new Ds(this.session).go(this.pathParameters,void 0,t)}}class wn extends c{main(){return new An(this.getSession(),this.pathParameters)}async get(t){return new Rs(this.session).go(this.pathParameters,void 0,t)}}class xn extends c{async compose(t,s){return new vs(this.session).go(this.pathParameters,void 0,t,s)}}class Tn extends i{async create(t,s){return new Ls(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Us(this.session).go(this.pathParameters,t,s)}}class kn extends c{async get(t){return new Ms(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new Vs(this.session).go(this.pathParameters,void 0,t,s)}}class _n extends i{async get(t,s){return new js(this.session).go(this.pathParameters,t,s)}}class Cn extends c{asset(t){return new xn(this.getSession(),s({},this.pathParameters,{assetId:t}))}assets(){return new Tn(this.getSession(),this.pathParameters)}location(t){return new kn(this.getSession(),s({},this.pathParameters,{locationId:t}))}locations(){return new _n(this.getSession(),this.pathParameters)}async delete(t){return new fs(this.session).go(this.pathParameters,void 0,t)}async get(t,s){return new bs(this.session).go(this.pathParameters,t,s)}async update(t,s){return new Gs(this.session).go(this.pathParameters,void 0,t,s)}}class yn extends i{async create(t,s){return new Hs(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Ws(this.session).go(this.pathParameters,t,s)}}class On extends i{async create(t,s){return new Fs(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new $s(this.session).go(this.pathParameters,t,s)}}class Rn extends i{async get(t,s){return new Qs(this.session).go(this.pathParameters,t,s)}}class Dn extends i{async create(t,s){return new Ks(this.session).go(this.pathParameters,void 0,t,s)}}class vn extends i{async get(t,s){return new Js(this.session).go(this.pathParameters,t,s)}}class Ln extends i{async get(t,s){return new Xs(this.session).go(this.pathParameters,t,s)}}class fn extends i{async get(t,s){return new zs(this.session).go(this.pathParameters,t,s)}}class bn extends c{async link(t,s){return new Zs(this.session).go(this.pathParameters,void 0,t,s)}async unlink(t){return new te(this.session).go(this.pathParameters,void 0,t)}}class Mn extends c{contacts(){return new yn(this.getSession(),this.pathParameters)}qrCodes(){return new On(this.getSession(),this.pathParameters)}history(){return new Rn(this.getSession(),this.pathParameters)}scansExport(){return new Dn(this.getSession(),this.pathParameters)}scansLocation(){return new vn(this.getSession(),this.pathParameters)}scans(){return new Ln(this.getSession(),this.pathParameters)}usermedias(){return new fn(this.getSession(),this.pathParameters)}contact(t){return new bn(this.getSession(),s({},this.pathParameters,{contactId:t}))}async delete(t){return new qs(this.session).go(this.pathParameters,void 0,t)}async get(t,s){return new Bs(this.session).go(this.pathParameters,t,s)}async update(t,s){return new se(this.session).go(this.pathParameters,void 0,t,s)}}class Un extends i{async get(t,s){return new ee(this.session).go(this.pathParameters,t,s)}}class jn extends c{assets(){return new Un(this.getSession(),this.pathParameters)}}class Gn extends c{async create(t){return new re(this.session).go(this.pathParameters,void 0,t)}}class Vn extends c{async create(t,s){return new ae(this.session).go(this.pathParameters,void 0,t,s)}}class Hn extends c{async get(t,s){return new ne(this.session).go(this.pathParameters,t,s)}}class Yn extends c{async create(t,s){return new oe(this.session).go(this.pathParameters,void 0,t,s)}}class Fn extends c{async create(t,s){return new ie(this.session).go(this.pathParameters,void 0,t,s)}}class qn extends c{async get(t){return new ce(this.session).go(this.pathParameters,void 0,t)}}class Bn extends c{async get(t){return new ue(this.session).go(this.pathParameters,void 0,t)}}class Qn extends c{async get(t,s){return new he(this.session).go(this.pathParameters,t,s)}}class Wn extends c{async create(t,s){return new de(this.session).go(this.pathParameters,void 0,t,s)}}class $n extends i{async get(t,s){return new pe(this.session).go(this.pathParameters,t,s)}}class Kn extends i{async create(t,s){return new me(this.session).go(this.pathParameters,void 0,t,s)}async delete(t,s){return new Pe(this.session).go(this.pathParameters,t,s)}async get(t,s){return new Ne(this.session).go(this.pathParameters,t,s)}}class Jn extends i{async get(t,s){return new le(this.session).go(this.pathParameters,t,s)}}class Xn extends i{async create(t,s){return new Ie(this.session).go(this.pathParameters,void 0,t,s)}}class zn extends i{async create(t,s){return new Ee(this.session).go(this.pathParameters,void 0,t,s)}}class Zn extends i{async get(t,s){return new Ae(this.session).go(this.pathParameters,t,s)}}class to extends i{async get(t){return new we(this.session).go(this.pathParameters,void 0,t)}}class so extends c{async link(t,s){return new xe(this.session).go(this.pathParameters,void 0,t,s)}}class eo extends c{consent(){return new Kn(this.getSession(),this.pathParameters)}assets(){return new Jn(this.getSession(),this.pathParameters)}export(){return new Xn(this.getSession(),this.pathParameters)}scansExport(){return new zn(this.getSession(),this.pathParameters)}scansLocation(){return new Zn(this.getSession(),this.pathParameters)}scans(){return new to(this.getSession(),this.pathParameters)}scan(t){return new so(this.getSession(),s({},this.pathParameters,{scanId:t}))}async delete(t){return new ge(this.session).go(this.pathParameters,void 0,t)}async get(t){return new Se(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new Te(this.session).go(this.pathParameters,void 0,t,s)}}class ro extends i{async create(t){return new _e(this.session).go(this.pathParameters,void 0,t)}}class ao extends c{validate(){return new ro(this.getSession(),this.pathParameters)}}class no extends i{async create(t){return new Ce(this.session).go(this.pathParameters,void 0,t)}}class oo extends c{users(){return new no(this.getSession(),this.pathParameters)}async delete(t){return new ye(this.session).go(this.pathParameters,void 0,t)}async get(t){return new Oe(this.session).go(this.pathParameters,void 0,t)}}class io extends c{async delete(t){return new Re(this.session).go(this.pathParameters,void 0,t)}async get(t){return new De(this.session).go(this.pathParameters,void 0,t)}}class co extends c{async update(t){return new ve(this.session).go(this.pathParameters,void 0,t)}}class uo extends i{async update(t,s){return new Le(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new be(this.session).go(this.pathParameters,t,s)}}class ho extends c{assets(){return new uo(this.getSession(),this.pathParameters)}async delete(t,s){return new fe(this.session).go(this.pathParameters,t,s)}async update(t,s){return new Me(this.session).go(this.pathParameters,void 0,t,s)}}class po extends i{async create(t,s){return new Ue(this.session).go(this.pathParameters,void 0,t,s)}}class mo extends i{async get(t){return new je(this.session).go(this.pathParameters,void 0,t)}}class Po extends i{async create(t,s){return new Ge(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new ar(this.session).go(this.pathParameters,t,s)}}class go extends i{async create(t,s){return new Ve(this.session).go(this.pathParameters,void 0,t,s)}}class lo extends i{async create(t,s){return new He(this.session).go(this.pathParameters,void 0,t,s)}}class No extends i{async create(t,s){return new Ye(this.session).go(this.pathParameters,void 0,t,s)}}class So extends i{async create(t,s){return new Fe(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new hr(this.session).go(this.pathParameters,t,s)}}class Io extends i{async create(t,s){return new qe(this.session).go(this.pathParameters,void 0,t,s)}async delete(t,s){return new Xe(this.session).go(this.pathParameters,t,s)}}class Eo extends i{async create(t,s){return new Be(this.session).go(this.pathParameters,void 0,t,s)}}class Ao extends i{async create(t,s){return new Qe(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new mr(this.session).go(this.pathParameters,t,s)}}class wo extends i{async create(t,s){return new We(this.session).go(this.pathParameters,void 0,t,s)}}class xo extends i{async create(t,s){return new $e(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Er(this.session).go(this.pathParameters,t,s)}}class To extends i{async create(t,s){return new Ke(this.session).go(this.pathParameters,void 0,t,s)}}class ko extends i{async create(t,s){return new Je(this.session).go(this.pathParameters,void 0,t,s)}}class _o extends c{async delete(t){return new Ze(this.session).go(this.pathParameters,void 0,t)}async get(t){return new Ir(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new xr(this.session).go(this.pathParameters,void 0,t,s)}}class Co extends i{async get(t,s){return new tr(this.session).go(this.pathParameters,t,s)}}class yo extends i{async get(t,s){return new sr(this.session).go(this.pathParameters,t,s)}}class Oo extends i{async get(t,s){return new er(this.session).go(this.pathParameters,t,s)}}class Ro extends i{async create(t,s){return new rr(this.session).go(this.pathParameters,void 0,t,s)}}class Do extends i{async get(t){return new nr(this.session).go(this.pathParameters,void 0,t)}}class vo extends i{async get(t){return new or(this.session).go(this.pathParameters,void 0,t)}}class Lo extends i{async get(t,s){return new ir(this.session).go(this.pathParameters,t,s)}}class fo extends i{async get(t,s){return new cr(this.session).go(this.pathParameters,t,s)}}class bo extends i{async create(t,s){return new ur(this.session).go(this.pathParameters,void 0,t,s)}}class Mo extends i{async get(t,s){return new dr(this.session).go(this.pathParameters,t,s)}}class Uo extends i{async get(t,s){return new Pr(this.session).go(this.pathParameters,t,s)}}class jo extends i{async create(t,s){return new gr(this.session).go(this.pathParameters,void 0,t,s)}}class Go extends i{async get(t,s){return new lr(this.session).go(this.pathParameters,t,s)}}class Vo extends i{async get(t,s){return new Nr(this.session).go(this.pathParameters,t,s)}}class Ho extends i{async get(t,s){return new Sr(this.session).go(this.pathParameters,t,s)}}class Yo extends i{async get(t,s){return new Ar(this.session).go(this.pathParameters,t,s)}}class Fo extends c{assets(){return new Po(this.getSession(),this.pathParameters)}jobsAssetbatch(){return new go(this.getSession(),this.pathParameters)}presignedurlJobsAssetbatch(){return new lo(this.getSession(),this.pathParameters)}assetsBatch(){return new No(this.getSession(),this.pathParameters)}contacts(){return new So(this.getSession(),this.pathParameters)}contactsBatch(){return new Io(this.getSession(),this.pathParameters)}print(){return new Eo(this.getSession(),this.pathParameters)}qrCodes(){return new Ao(this.getSession(),this.pathParameters)}selfqueueprint(){return new wo(this.getSession(),this.pathParameters)}smsTemplates(){return new xo(this.getSession(),this.pathParameters)}printJobs(){return new To(this.getSession(),this.pathParameters)}templatedPrintPreview(){return new ko(this.getSession(),this.pathParameters)}smsTemplate(t){return new _o(this.getSession(),s({},this.pathParameters,{smsTemplateName:t}))}advancedAssetsReport(){return new Co(this.getSession(),this.pathParameters)}advancedContactsReport(){return new yo(this.getSession(),this.pathParameters)}advancedScansReport(){return new Oo(this.getSession(),this.pathParameters)}assetsExport(){return new Ro(this.getSession(),this.pathParameters)}basicAssetsReport(){return new Do(this.getSession(),this.pathParameters)}basicContactsReport(){return new vo(this.getSession(),this.pathParameters)}batch(){return new Lo(this.getSession(),this.pathParameters)}consent(){return new fo(this.getSession(),this.pathParameters)}contactsExport(){return new bo(this.getSession(),this.pathParameters)}assetsMostscanned(){return new Mo(this.getSession(),this.pathParameters)}scansDayofweek(){return new Uo(this.getSession(),this.pathParameters)}scansExport(){return new jo(this.getSession(),this.pathParameters)}scansTimeofday(){return new Go(this.getSession(),this.pathParameters)}scansTimeline(){return new Vo(this.getSession(),this.pathParameters)}scans(){return new Ho(this.getSession(),this.pathParameters)}usermedias(){return new Yo(this.getSession(),this.pathParameters)}async delete(t){return new ze(this.session).go(this.pathParameters,void 0,t)}async get(t){return new pr(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new wr(this.session).go(this.pathParameters,void 0,t,s)}}class qo extends c{async get(t){return new Tr(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new kr(this.session).go(this.pathParameters,void 0,t,s)}}class Bo extends c{async delete(t){return new _r(this.session).go(this.pathParameters,void 0,t)}async get(t,s){return new Cr(this.session).go(this.pathParameters,t,s)}async update(t,s){return new yr(this.session).go(this.pathParameters,void 0,t,s)}}class Qo extends i{async create(t,s){return new Or(this.session).go(this.pathParameters,void 0,t,s)}}class Wo extends i{async send(t,s){return new vr(this.session).go(this.pathParameters,void 0,t,s)}}class $o extends i{async send(t,s){return new Lr(this.session).go(this.pathParameters,void 0,t,s)}}class Ko extends i{async update(t,s){return new fr(this.session).go(this.pathParameters,void 0,t,s)}}class Jo extends c{contacts(){return new Qo(this.getSession(),this.pathParameters)}email(){return new Wo(this.getSession(),this.pathParameters)}sms(){return new $o(this.getSession(),this.pathParameters)}customAttribute(){return new Ko(this.getSession(),this.pathParameters)}async get(t,s){return new Rr(this.session).go(this.pathParameters,t,s)}async update(t,s){return new Dr(this.session).go(this.pathParameters,void 0,t,s)}}class Xo extends c{async delete(t){return new br(this.session).go(this.pathParameters,void 0,t)}async get(t){return new jr(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new Hr(this.session).go(this.pathParameters,void 0,t,s)}}class zo extends c{async delete(t){return new Mr(this.session).go(this.pathParameters,void 0,t)}async get(t){return new Gr(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new Yr(this.session).go(this.pathParameters,void 0,t,s)}}class Zo extends c{async delete(t){return new Ur(this.session).go(this.pathParameters,void 0,t)}async get(t){return new Vr(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new Fr(this.session).go(this.pathParameters,void 0,t,s)}}class ti extends c{async link(t,s){return new zr(this.session).go(this.pathParameters,void 0,t,s)}async unlink(t){return new Kr(this.session).go(this.pathParameters,void 0,t)}}class si extends c{async link(t){return new Qr(this.session).go(this.pathParameters,void 0,t)}async unlink(t){return new Jr(this.session).go(this.pathParameters,void 0,t)}}class ei extends c{async link(t){return new Wr(this.session).go(this.pathParameters,void 0,t)}async unlink(t){return new Xr(this.session).go(this.pathParameters,void 0,t)}}class ri extends c{asset(t){return new ti(this.getSession(),s({},this.pathParameters,{assetId:t}))}project(t){return new si(this.getSession(),s({},this.pathParameters,{projectId:t}))}scan(t){return new ei(this.getSession(),s({},this.pathParameters,{scanId:t}))}async get(t){return new qr(this.session).go(this.pathParameters,void 0,t)}}class ai extends i{async create(t,s){return new Zr(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new ta(this.session).go(this.pathParameters,t,s)}}class ni extends i{async get(t,s){return new sa(this.session).go(this.pathParameters,t,s)}}class oi extends i{async get(t,s){return new ea(this.session).go(this.pathParameters,t,s)}}class ii extends i{async get(t){return new aa(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new na(this.session).go(this.pathParameters,void 0,t,s)}}class ci extends c{settings(){return new ii(this.getSession(),this.pathParameters)}}class ui extends c{accounts(){return new ai(this.getSession(),this.pathParameters)}errors(){return new ni(this.getSession(),this.pathParameters)}invitations(){return new oi(this.getSession(),this.pathParameters)}path(t){return new ci(this.getSession(),s({},this.pathParameters,{path:t}))}async get(t){return new ra(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new oa(this.session).go(this.pathParameters,void 0,t,s)}}class hi extends i{async create(t){return new ia(this.session).go(this.pathParameters,void 0,t)}}class di extends i{async create(t){return new ca(this.session).go(this.pathParameters,void 0,t)}}class pi extends i{async create(t,s){return new ua(this.session).go(this.pathParameters,void 0,t,s)}}class mi extends i{async create(t,s){return new ha(this.session).go(this.pathParameters,void 0,t,s)}}class Pi extends i{async get(t){return new la(this.session).go(this.pathParameters,void 0,t)}async create(t){return new ga(this.session).go(this.pathParameters,void 0,t)}}class gi extends i{async get(t,s){return new pa(this.session).go(this.pathParameters,t,s)}}class li extends i{async get(t,s){return new ma(this.session).go(this.pathParameters,t,s)}}class Ni extends i{async create(t,s){return new Pa(this.session).go(this.pathParameters,void 0,t,s)}}class Si extends i{async create(t){return new Na(this.session).go(this.pathParameters,void 0,t)}}class Ii extends i{async resend(t,s){return new Sa(this.session).go(this.pathParameters,void 0,t,s)}}class Ei extends i{async reset(t,s){return new Ia(this.session).go(this.pathParameters,void 0,t,s)}}class Ai extends i{account(t){return new mn(this.getSession(),s({},this.pathParameters,{accountId:t}))}apikey(t){return new gn(this.getSession(),s({},this.pathParameters,{apiKeyId:t}))}app(t){return new Sn(this.getSession(),s({},this.pathParameters,{appId:t}))}apps(){return new In(this.getSession(),this.pathParameters)}appsPublished(){return new En(this.getSession(),this.pathParameters)}appsAccount(t){return new wn(this.getSession(),s({},this.pathParameters,{appAccountId:t}))}assettype(t){return new Cn(this.getSession(),s({},this.pathParameters,{assetTypeId:t}))}asset(t){return new Mn(this.getSession(),s({},this.pathParameters,{assetId:t}))}batch(t){return new jn(this.getSession(),s({},this.pathParameters,{batchId:t}))}billingCancelDowngrade(t){return new Gn(this.getSession(),s({},this.pathParameters,{accountId:t}))}billingCancelSubscription(t){return new Vn(this.getSession(),s({},this.pathParameters,{accountId:t}))}upgradePlanBillingPreview(t){return new Hn(this.getSession(),s({},this.pathParameters,{accountId:t}))}billingSetupIntent(t){return new Yn(this.getSession(),s({},this.pathParameters,{accountId:t}))}billingDowngradePlan(t){return new Fn(this.getSession(),s({},this.pathParameters,{accountId:t}))}billingDetail(t){return new qn(this.getSession(),s({},this.pathParameters,{accountId:t}))}billingCurrentPeriod(t){return new Bn(this.getSession(),s({},this.pathParameters,{accountId:t}))}billingInvoice(t){return new Qn(this.getSession(),s({},this.pathParameters,{accountId:t}))}billingUpgradePlan(t){return new Wn(this.getSession(),s({},this.pathParameters,{accountId:t}))}careAccounts(){return new $n(this.getSession(),this.pathParameters)}contact(t){return new eo(this.getSession(),s({},this.pathParameters,{contactId:t}))}file(t){return new ao(this.getSession(),s({},this.pathParameters,{fileId:t}))}invitation(t){return new oo(this.getSession(),s({},this.pathParameters,{invitationId:t}))}job(t){return new io(this.getSession(),s({},this.pathParameters,{jobId:t}))}printJob(t){return new co(this.getSession(),s({},this.pathParameters,{printJobId:t}))}location(t){return new ho(this.getSession(),s({},this.pathParameters,{locationId:t}))}support(){return new po(this.getSession(),this.pathParameters)}pricePlans(){return new mo(this.getSession(),this.pathParameters)}project(t){return new Fo(this.getSession(),s({},this.pathParameters,{projectId:t}))}qrcodelogo(t){return new qo(this.getSession(),s({},this.pathParameters,{qrCodeLogoId:t}))}qrCode(t){return new Bo(this.getSession(),s({},this.pathParameters,{qrCodeId:t}))}scan(t){return new Jo(this.getSession(),s({},this.pathParameters,{scanId:t}))}printPageTemplate(t){return new Xo(this.getSession(),s({},this.pathParameters,{printPageTemplateId:t}))}printStickerTemplate(t){return new zo(this.getSession(),s({},this.pathParameters,{printStickerTemplateId:t}))}stylingtemplate(t){return new Zo(this.getSession(),s({},this.pathParameters,{stylingTemplateId:t}))}usermedia(t){return new ri(this.getSession(),s({},this.pathParameters,{mediaId:t}))}user(t){return new ui(this.getSession(),s({},this.pathParameters,{userId:t}))}webhookSms(){return new hi(this.getSession(),this.pathParameters)}webhookSmsStatus(){return new di(this.getSession(),this.pathParameters)}webhookStripe(){return new pi(this.getSession(),this.pathParameters)}passwordAuthUser(){return new mi(this.getSession(),this.pathParameters)}authSession(){return new Pi(this.getSession(),this.pathParameters)}authConfirm(){return new gi(this.getSession(),this.pathParameters)}invitedAuthConfirm(){return new li(this.getSession(),this.pathParameters)}authUser(){return new Ni(this.getSession(),this.pathParameters)}refreshAuthSession(){return new Si(this.getSession(),this.pathParameters)}confirmationAuthUser(){return new Ii(this.getSession(),this.pathParameters)}resetAuthUser(){return new Ei(this.getSession(),this.pathParameters)}}const wi="internal-JG0adajZUHU";class xi{constructor(){this.debugConfig=!1,this.debugAuth=!1,this.debugRequest=!1,this.debugResponse=!1,this.debugError=!1,this.debugQuery=!1,this.debugOptions=!1,this.exp=0}getConfig(){throw Error("no session")}getCloudConfig(){throw Error("no session")}getAxios(){throw Error("no session")}authorize(){throw Error("no session")}getUser(){throw Error("no session")}getSignedInUser(){throw Error("no session")}signUpUser(){throw Error("no session")}changePassword(){throw Error("no session")}signOut(){throw Error("no session")}}class Ti extends Ai{constructor(){super(new xi,{}),this._config=void 0,this.cloudConfigName=void 0,this.cloudConfig=void 0,this.axios=void 0,this.debugConfig=!1,this.debugAuth=!1,this.debugRequest=!1,this.debugResponse=!1,this.debugError=!1,this.debugQuery=!1,this.debugOptions=!1,this.exp=void 0,this._user=void 0,this.exp=0;let{OS_DEBUG:t}=process.env;if(t){let s;switch(console.log(`OS_DEBUG=${t}`),t=t.toLowerCase(),t){case"all":this.debugConfig=!0,this.debugAuth=!0,this.debugRequest=!0,this.debugResponse=!0,this.debugError=!0,this.debugQuery=!0,this.debugOptions=!0;break;case"none":case"off":case"false":case"":this.debugConfig=!1,this.debugAuth=!1,this.debugRequest=!1,this.debugResponse=!1,this.debugError=!1,this.debugQuery=!1,this.debugOptions=!1;break;default:s=t.split(","),this.debugConfig=s.includes("config"),this.debugAuth=s.includes("auth"),this.debugRequest=s.includes("request"),this.debugResponse=s.includes("response"),this.debugError=s.includes("error"),this.debugQuery=s.includes("query"),this.debugOptions=s.includes("options"),this.debugConfig||this.debugAuth||this.debugRequest||this.debugResponse||this.debugError||this.debugQuery||this.debugOptions||console.warn(`Openscreen: OS_DEBUG environment var has invalid value: '${process.env.OS_DEBUG}'`)}}}getSession(){return this}config(t){if(this._config)throw Error("Openscreen: client is already configured");if(!t.key)throw Error("Openscreen: invalid config, provide API key and secret, or email and password");if(!t.secret)throw Error("Openscreen: invalid config, secret is missing");return"string"==typeof t.environment?this.cloudConfigName=t.environment:"object"==typeof t.environment?this.cloudConfig=Promise.resolve(t.environment):this.cloudConfigName=wi,this._config=t,this}getConfig(){if(!this._config)throw Error("Openscreen: client must be configured before accessing resources");return this._config}async getSignedInUser(t){this.cloudConfigName=t||wi;const s=await this.getCloudConfig();this.debugAuth&&console.info("Openscreen AUTH: refreshing using axios cookie"),await this.getAxios();const e=await this.axios.post(`${s.endpoint}/auth/session/refresh`);if(403===e.status||500===e.status)throw Error("Openscreen AUTH: User is not signed in");if(200===e.status){const{expires:t,user:s}=e.data;return this._user=s,this.debugAuth&&console.info(`Openscreen AUTH: authorized '${s.userId}' until expiry=${t}`),this.exp=t,s}}async signUpUser(t,s){this.cloudConfigName=s||wi;const e=await this.getCloudConfig();this.debugAuth&&console.info("Openscreen AUTH: signing up User"),await this.getAxios();const r=await this.axios.post(`${e.endpoint}/auth/user`,t);if(403===r.status||500===r.status)throw Error("Openscreen AUTH: User Sign Up failed");return(200===r.status||204===r.status)&&(this.debugAuth&&console.info("Openscreen AUTH: Signed up user"),!0)}async checkSession(t){this.cloudConfigName=t||wi;const s=await this.getCloudConfig();this.debugAuth&&console.info("Openscreen AUTH: checking session"),await this.getAxios();const e=await this.axios.get(`${s.endpoint}/auth/session`);if(403===e.status||500===e.status)throw Error("Openscreen AUTH: User is not signed in");return!0}async authorize(){const t=await this.getCloudConfig();if(this.exp>(new Date).getTime())return;if(0!==this.exp){this.debugAuth&&console.info("Openscreen AUTH: refreshing using axios cookie"),await this.getAxios();const s=await this.axios.post(`${t.endpoint}/auth/session/refresh`);if(403===s.status||500===s.status)throw Error("Openscreen AUTH: Refreshing failed, exiting");if(200===s.status){const{expires:t,user:e}=s.data;return this._user=e,this.debugAuth&&console.info(`Openscreen AUTH: authorized '${e.userId}' until expiry=${t}`),void(this.exp=t)}}const e=this.getConfig();if(this.debugConfig){const t=s({},e);t.secret&&(t.secret="*".repeat(t.secret.length)),console.debug(`Openscreen CONFIG: ${JSON.stringify(t,null,2)}`)}let r,a;this.debugConfig&&console.debug(`Openscreen CONFIG: (environment) ${JSON.stringify(t,null,2)}`),r=e.key,a=e.secret,this.debugAuth&&console.info(`Openscreen AUTH: authorizing '${r}'`),await this.getAxios();const n=await this.axios.post(`${t.endpoint}/auth/session`,{email:r,password:a});if(403===n.status||500===n.status)throw Error("Openscreen AUTH: authentication failed");if(200===n.status){const{expires:t,user:s}=n.data;this._user=s,this.debugAuth&&console.info(`Openscreen AUTH: authorized '${r}' until expiry=${t}`),this.exp=t}}getUser(){return this._user}async getCloudConfig(){if(!this.cloudConfig){if(!this.cloudConfigName)throw Error("Openscreen: environment name missing");this.cloudConfig=async function(s){const e=t.create({baseURL:"https://config.openscreen.com",timeout:25e3,responseType:"json",maxContentLength:10240,maxBodyLength:10240,maxRedirects:1,decompress:!0}),r=await e.get(`${s}.json`).catch(t=>{throw new Error(`Openscreen: unable to load cloud configuration '${s}': ${t.message}`)}),{data:a}=r;return a}(this.cloudConfigName)}return this.cloudConfig}async getAxios(){if(this.axios)return this.axios;const s=await this.getCloudConfig();return this.axios=t.create(s.axios||{timeout:25e3,responseType:"json",maxContentLength:1048576,maxBodyLength:1048576,maxRedirects:1,decompress:!0}),t}async changePassword(t,s){const e=await this.getCloudConfig();await this.getAxios();const r=await this.axios.post(`${e.endpoint}/auth/user/password`,{password:t,newPassword:s});if(200===r.status)return!0;throw this.debugAuth&&console.log("password change failed for the current user, got the error",r.data),new Error("Failed to change password")}async signOut(){const t=await this.getCloudConfig();await this.getAxios();const s=await this.axios.delete(`${t.endpoint}/auth/session`);if(200!==s.status)throw this.debugAuth&&console.log("Sign out failed, response body is ",s.data),new Error("Failed to sign out")}}export{u as AccountSortingTypes,h as AccountStatus,d as AccountType,p as AccountUserRole,gs as AdvanceStripeClockByAccountIdRequest,m as AssetByAssetTypeSortingTypes,P as AssetCreationFileTypes,g as AssetSortingTypes,l as AssetTypeSortingTypes,N as AssetTypeUsabilityState,S as AuthMessageId,I as AuthTokenScope,E as AuthTypes,A as CampaignUseCaseCategory,re as CancelDowngradeRequestRequest,ae as CancelSubscriptionRequest,ha as ChangePasswordRequest,ne as ChangeSubscriptionPreviewRequest,de as ChangeSubscriptionRequest,da as CheckSessionRequest,vs as ComposeAssetByAssetTypeRequest,ma as ConfirmInvitedRequest,pa as ConfirmRequest,w as ConsentStatus,x as ConsentType,T as ContactAssetSortingTypes,k as ContactSortingTypes,Zr as CreateAccountByUserIdRequest,Pt as CreateApiKeyByAccountIdRequest,gt as CreateAppRequest,Ls as CreateAssetByAssetTypeRequest,Ge as CreateAssetByProjectIdRequest,Ve as CreateAssetCreationJobByProjectIdRequest,He as CreateAssetCreationPresignedUrlRequest,lt as CreateAssetTypeByAccountIdRequest,Ye as CreateAssetsByProjectIdRequest,Ps as CreateCampaignAccountByAccountIdRequest,me as CreateConsentByContactIdRequest,Hs as CreateContactByAssetIdRequest,Fe as CreateContactByProjectIdRequest,Or as CreateContactByScanIdRequest,qe as CreateContactsByProjectIdRequest,Nt as CreateInvitationByAccountIdRequest,St as CreateInvitationsByAccountIdRequest,It as CreateLocationByAccountIdRequest,Be as CreatePrintJobByProjectIdRequest,Et as CreatePrintPageTemplateByAccountIdRequest,At as CreatePrintStickerTemplateByAccountIdRequest,wt as CreateProjectByAccountIdRequest,Ys as CreateQrCodeByAssetIdRequest,Qe as CreateQrCodeByProjectIdRequest,xt as CreateQrCodeLogoByAccountRequest,Tt as CreateQrCodeStylingTemplateByAccountRequest,Fs as CreateQrCodesByAssetIdRequest,kt as CreateQueryableCustomAttributeRequest,We as CreateSelfQueuePrintJobByProjectIdRequest,oe as CreateSetupIntentRequest,ia as CreateSmsResponseRequest,$e as CreateSmsTemplateByProjectIdRequest,Ke as CreateTemplatedPrintJobByProjectIdRequest,Je as CreateTemplatedPrintPreviewByProjectIdRequest,_t as CreateTicketByAccountIdRequest,Ce as CreateUserByInvitationIdRequest,Ct as CreateUserMediaPresignedUrlByAccountIdRequest,Pa as CreateUserRequest,qs as DeleteAssetRequest,fs as DeleteAssetTypeRequest,Pe as DeleteConsentByContactIdRequest,ge as DeleteContactRequest,yt as DeleteContactsByAccountIdRequest,Xe as DeleteContactsByProjectIdRequest,ye as DeleteInvitationRequest,Re as DeleteJobRequest,fe as DeleteLocationRequest,br as DeletePrintPageTemplateRequest,Mr as DeletePrintStickerTemplateRequest,ze as DeleteProjectRequest,_r as DeleteQrCodeRequest,Ur as DeleteQrCodeStylingTemplateByStylingTemplateIdRequest,la as DeleteSessionRequest,Ze as DeleteSmsTemplateByProjectIdRequest,Ot as DeleteUserByAccountIdRequest,ie as DowngradePlanRequest,_ as EntitySources,C as FieldType,y as FilePurpose,O as FileStatus,Rt as GetAccountRequest,ta as GetAccountsByUserIdRequest,Dt as GetAdvancedAssetReportByAccountIdRequest,tr as GetAdvancedAssetReportByProjectIdRequest,vt as GetAdvancedContactReportByAccountIdRequest,sr as GetAdvancedContactReportByProjectIdRequest,Lt as GetAdvancedScanReportByAccountIdRequest,er as GetAdvancedScanReportByProjectIdRequest,pe as GetAllAccountsRequest,ft as GetAllAppsByAccountIdRequest,As as GetApiKeyRequest,ws as GetApiKeySecretRequest,bt as GetApiKeysByAccountIdRequest,Rs as GetAppAccountByAppAccountIdRequest,ks as GetAppByAppIdRequest,_s as GetAppsRequest,Mt as GetAssetExportByAccountIdRequest,rr as GetAssetExportByProjectIdRequest,Qs as GetAssetHistoryRequest,Bs as GetAssetRequest,bs as GetAssetTypeByAssetTypeIdRequest,Ms as GetAssetTypeCountAtLocationRequest,js as GetAssetTypeCountsByLocationRequest,Ut as GetAssetTypesByAccountIdRequest,jt as GetAssetsByAccountIdRequest,Us as GetAssetsByAssetTypeRequest,ee as GetAssetsByBatchIdRequest,le as GetAssetsByContactIdRequest,be as GetAssetsByLocationIdRequest,ar as GetAssetsByProjectIdRequest,Gt as GetBasicAssetReportByAccountIdRequest,nr as GetBasicAssetReportByProjectIdRequest,Vt as GetBasicContactReportByAccountIdRequest,or as GetBasicContactReportByProjectIdRequest,Ht as GetBatchesByAccountIdRequest,ir as GetBatchesByProjectIdRequest,ce as GetBillingDetailsRequest,Yt as GetConsentByAccountIdRequest,Ne as GetConsentByContactIdRequest,cr as GetConsentByProjectIdRequest,Ft as GetContactExportByAccountIdRequest,Ie as GetContactExportByContactIdRequest,ur as GetContactExportByProjectIdRequest,Se as GetContactRequest,qt as GetContactsByAccountIdRequest,Ws as GetContactsByAssetIdRequest,hr as GetContactsByProjectIdRequest,ue as GetCurrentPeriodRequest,sa as GetErrorsByUserIdRequest,ke as GetFileRequest,Bt as GetInstalledAppsByAccountIdRequest,Oe as GetInvitationRequest,ea as GetInvitationsByUserIdRequest,he as GetInvoicesRequest,De as GetJobRequest,Qt as GetJobsByAccountIdRequest,Wt as GetLocationsByAccountIdRequest,Ds as GetMainAccountByAppAccountIdRequest,qr as GetMediaRequest,$t as GetMostScannedAssetsByAccountIdRequest,dr as GetMostScannedAssetsByProjectIdRequest,Kt as GetPricePlanByAccountIdRequest,je as GetPricePlansRequest,Jt as GetPrintJobsByAccountIdRequest,jr as GetPrintPageTemplateRequest,Xt as GetPrintPageTemplatesByAccountIdRequest,Gr as GetPrintStickerTemplateRequest,zt as GetPrintStickerTemplatesByAccountIdRequest,pr as GetProjectByProjectIdRequest,Zt as GetProjectsByAccountIdRequest,Cs as GetPublishedAppsRequest,Tr as GetQrCodeLogoByQrCodeLogoIdRequest,ts as GetQrCodeLogosByAccountIdRequest,Cr as GetQrCodeRequest,Vr as GetQrCodeStylingTemplateByStylingTemplateIdRequest,ss as GetQrCodeStylingTemplatesByAccountIdRequest,es as GetQrCodesByAccountIdRequest,$s as GetQrCodesByAssetIdRequest,mr as GetQrCodesByProjectIdRequest,rs as GetQueryableCustomAttributeRequest,as as GetScanDayOfWeekByAccountIdRequest,Pr as GetScanDayOfWeekByProjectIdRequest,ns as GetScanExportByAccountIdRequest,Ks as GetScanExportByAssetIdRequest,Ee as GetScanExportByContactIdRequest,gr as GetScanExportByProjectIdRequest,Js as GetScanLocationDataByAssetIdRequest,Ae as GetScanLocationDataByContactIdRequest,Rr as GetScanRequest,os as GetScanTimeOfDayByAccountIdRequest,lr as GetScanTimeOfDayByProjectIdRequest,is as GetScanTimelineByAccountIdRequest,Nr as GetScanTimelineByProjectIdRequest,cs as GetScansByAccountIdRequest,Xs as GetScansByAssetIdRequest,we as GetScansByContactIdRequest,Sr as GetScansByProjectIdRequest,ga as GetSessionRequest,Ir as GetSmsTemplateByProjectIdRequest,Er as GetSmsTemplatesByProjectIdRequest,us as GetUserByAccountIdRequest,hs as GetUserMediasByAccountIdRequest,zs as GetUserMediasByAssetIdRequest,Ar as GetUserMediasByProjectIdRequest,ra as GetUserRequest,aa as GetUserSettingsByUserIdRequest,ds as GetUsersByAccountIdRequest,ps as InstallAppToAccountRequest,R as InternalProductName,D as InvoiceStatus,ve as InvokePrintJobByJobIdRequest,v as JobStatus,L as JobType,f as Label,Zs as LinkContactToAssetRequest,xe as LinkContactToScanRequest,Br as LinkMediaToAssetRequest,Qr as LinkMediaToProjectRequest,Wr as LinkMediaToScanRequest,$r as LinkMediasRequest,ys as LoadAppRequest,b as LocationSortingTypes,Ti as Openscreen,M as OpenscreenEmails,U as PricePlanName,j as PricePlanPaymentPeriod,G as PricePlanReporting,V as PrintFormat,H as PrintMode,Y as PrintOrientation,F as PrintTemplate,q as PrintUnit,B as ProjectSortingTypes,Q as ProjectStatus,W as QrCodeCornerDotTypes,$ as QrCodeCornerSquareTypes,K as QrCodeDotTypes,J as QrCodeDynamicRedirectType,X as QrCodeErrorCorrectionLevel,z as QrCodeGradientTypes,Z as QrCodeIntentType,tt as QrCodeLocatorKeyType,st as QrCodeSortingTypes,et as QrCodeStatus,rt as QrCodeType,at as QueryConditions,Na as RefreshSessionRequest,Sa as ResendConfirmationRequest,xs as ResetApiKeySecretRequest,Ia as ResetPasswordRequest,ms as RetrieveCampaignStatusByAccountIdRequest,Dr as SaveGeolocationByScanIdRequest,nt as ScanTimelineOptions,Ma as SdkAccountAdvancedAssetsReportResources,Ua as SdkAccountAdvancedContactsReportResources,ja as SdkAccountAdvancedScansReportResources,Ea as SdkAccountApikeysResources,on as SdkAccountAppInstallResources,cn as SdkAccountAppResource,Aa as SdkAccountAppsResources,Va as SdkAccountAssetsExportResources,Ka as SdkAccountAssetsMostscannedResources,Ha as SdkAccountAssetsResources,wa as SdkAccountAssettypesResources,Ya as SdkAccountBasicAssetsReportResources,Fa as SdkAccountBasicContactsReportResources,qa as SdkAccountBatchResources,un as SdkAccountCampaignInformationResources,hn as SdkAccountClockResources,Ba as SdkAccountConsentResources,fa as SdkAccountContactsBatchResources,Qa as SdkAccountContactsExportResources,Wa as SdkAccountContactsResources,Da as SdkAccountCustomattributesResources,dn as SdkAccountEngagePricePlanResources,Ta as SdkAccountInvitationsBatchResources,xa as SdkAccountInvitationsResources,$a as SdkAccountJobsResources,ka as SdkAccountLocationsResources,Ga as SdkAccountOwnerAppsResources,Ja as SdkAccountPricePlanResources,Xa as SdkAccountPrintJobsResources,_a as SdkAccountPrintPageTemplatesResources,Ca as SdkAccountPrintStickerTemplatesResources,ya as SdkAccountProjectsResources,za as SdkAccountQrCodesResources,Oa as SdkAccountQrcodelogosResources,pn as SdkAccountQrcodelogosUploadResources,mn as SdkAccountResource,Za as SdkAccountScansDayofweekResources,tn as SdkAccountScansExportResources,rn as SdkAccountScansResources,en as SdkAccountScansTimelineResources,sn as SdkAccountScansTimeofdayResources,Ra as SdkAccountStylingtemplatesResources,ba as SdkAccountUserResource,La as SdkAccountUsermediasPresignedurlResources,an as SdkAccountUsermediasResources,nn as SdkAccountUsersResources,va as SdkAccountZendeskTicketResources,gn as SdkApikeyResource,Pn as SdkApikeySecretResources,ln as SdkAppAccountLoadResources,Nn as SdkAppAccountResource,Sn as SdkAppResource,An as SdkAppsAccountMainResources,wn as SdkAppsAccountResource,En as SdkAppsPublishedResources,In as SdkAppsResources,bn as SdkAssetContactResource,yn as SdkAssetContactsResources,Rn as SdkAssetHistoryResources,On as SdkAssetQrCodesResources,Mn as SdkAssetResource,Dn as SdkAssetScansExportResources,vn as SdkAssetScansLocationResources,Ln as SdkAssetScansResources,fn as SdkAssetUsermediasResources,xn as SdkAssettypeAssetResource,Tn as SdkAssettypeAssetsResources,kn as SdkAssettypeLocationResource,_n as SdkAssettypeLocationsResources,Cn as SdkAssettypeResource,gi as SdkAuthConfirmResources,Pi as SdkAuthSessionResources,Ni as SdkAuthUserResources,Un as SdkBatchAssetsResources,jn as SdkBatchResource,Gn as SdkBillingCancelDowngradeResource,Vn as SdkBillingCancelSubscriptionResource,Bn as SdkBillingCurrentPeriodResource,qn as SdkBillingDetailResource,Fn as SdkBillingDowngradePlanResource,Qn as SdkBillingInvoiceResource,Yn as SdkBillingSetupIntentResource,Wn as SdkBillingUpgradePlanResource,$n as SdkCareAccountsResources,Ii as SdkConfirmationAuthUserResources,Jn as SdkContactAssetsResources,Kn as SdkContactConsentResources,Xn as SdkContactExportResources,eo as SdkContactResource,so as SdkContactScanResource,zn as SdkContactScansExportResources,Zn as SdkContactScansLocationResources,to as SdkContactScansResources,ao as SdkFileResource,ro as SdkFileValidateResources,oo as SdkInvitationResource,no as SdkInvitationUsersResources,li as SdkInvitedAuthConfirmResources,io as SdkJobResource,uo as SdkLocationAssetsResources,ho as SdkLocationResource,mi as SdkPasswordAuthUserResources,mo as SdkPricePlansResources,co as SdkPrintJobResource,Xo as SdkPrintPageTemplateResource,zo as SdkPrintStickerTemplateResource,Co as SdkProjectAdvancedAssetsReportResources,yo as SdkProjectAdvancedContactsReportResources,Oo as SdkProjectAdvancedScansReportResources,No as SdkProjectAssetsBatchResources,Ro as SdkProjectAssetsExportResources,Mo as SdkProjectAssetsMostscannedResources,Po as SdkProjectAssetsResources,Do as SdkProjectBasicAssetsReportResources,vo as SdkProjectBasicContactsReportResources,Lo as SdkProjectBatchResources,fo as SdkProjectConsentResources,Io as SdkProjectContactsBatchResources,bo as SdkProjectContactsExportResources,So as SdkProjectContactsResources,go as SdkProjectJobsAssetbatchResources,lo as SdkProjectPresignedurlJobsAssetbatchResources,To as SdkProjectPrintJobsResources,Eo as SdkProjectPrintResources,Ao as SdkProjectQrCodesResources,Fo as SdkProjectResource,Uo as SdkProjectScansDayofweekResources,jo as SdkProjectScansExportResources,Ho as SdkProjectScansResources,Vo as SdkProjectScansTimelineResources,Go as SdkProjectScansTimeofdayResources,wo as SdkProjectSelfqueueprintResources,_o as SdkProjectSmsTemplateResource,xo as SdkProjectSmsTemplatesResources,ko as SdkProjectTemplatedPrintPreviewResources,Yo as SdkProjectUsermediasResources,Bo as SdkQrCodeResource,qo as SdkQrcodelogoResource,Si as SdkRefreshAuthSessionResources,Ei as SdkResetAuthUserResources,Ai as SdkResources,Qo as SdkScanContactsResources,Ko as SdkScanCustomAttributeResources,Wo as SdkScanEmailResources,Jo as SdkScanResource,$o as SdkScanSmsResources,Zo as SdkStylingtemplateResource,po as SdkSupportResources,Hn as SdkUpgradePlanBillingPreviewResource,ai as SdkUserAccountsResources,ni as SdkUserErrorsResources,oi as SdkUserInvitationsResources,ci as SdkUserPathResource,ii as SdkUserPathSettingsResources,ui as SdkUserResource,ti as SdkUsermediaAssetResource,si as SdkUsermediaProjectResource,ri as SdkUsermediaResource,ei as SdkUsermediaScanResource,hi as SdkWebhookSmsResources,di as SdkWebhookSmsStatusResources,pi as SdkWebhookStripeResources,vr as SendEmailByScanIdRequest,Lr as SendSmsByScanIdRequest,Ue as SendSupportEmailRequest,na as SetUserSettingsByUserIdRequest,ca as SmsStatusUpdateRequest,ot as StickerShape,ua as StripeEventRequest,it as TagActions,ct as TagStates,te as UnlinkContactToAssetRequest,Kr as UnlinkMediaToAssetRequest,Jr as UnlinkMediaToProjectRequest,Xr as UnlinkMediaToScanRequest,zr as UnlinkMediasRequest,ls as UpdateAccountRequest,Ts as UpdateApiKeyRequest,Os as UpdateAppByAppIdRequest,se as UpdateAssetRequest,Vs as UpdateAssetTypeCountAtLocationRequest,Gs as UpdateAssetTypeRequest,Le as UpdateAssetsLocationsRequest,Te as UpdateContactRequest,Ns as UpdateEngagePricePlanRequest,Me as UpdateLocationRequest,Ss as UpdatePricePlanByAccountIdRequest,Hr as UpdatePrintPageTemplateRequest,Yr as UpdatePrintStickerTemplateRequest,wr as UpdateProjectByProjectIdRequest,kr as UpdateQrCodeLogoByQrCodeLogoIdRequest,yr as UpdateQrCodeRequest,Fr as UpdateQrCodeStylingTemplateByStylingTemplateIdRequest,fr as UpdateScanCustomAttributeRequest,xr as UpdateSmsTemplateRequest,Is as UpdateUserByAccountIdRequest,oa as UpdateUserRequest,Es as UploadQrCodeLogoByAccountRequest,ut as UserCredentialsStatus,ht as UserGroups,dt as UserMediaFileTypes,pt as UserMediaSortingTypes,mt as UserSettingsDomain,_e as ValidateFileRequest};
|
|
1
|
+
import t from"axios";function s(){return s=Object.assign?Object.assign.bind():function(t){for(var s=1;s<arguments.length;s++){var e=arguments[s];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},s.apply(this,arguments)}class e{constructor(t){this.session=void 0,this.routeSegments=void 0,this.session=t}async makeUri(t={}){const s=[(await this.session.getCloudConfig()).endpoint.replace(/\/+$/,"")];return this.routeSegments.forEach(e=>{if(s.push(e.routePart),e.parm){const r=t[e.parm];if(!r)throw Error(`Openscreen: missing path parameter value for '${e.parm}'`);s.push(r)}}),s.join("/")}debugRequest(t,s,e,r,a){this.session.debugRequest&&(console.debug(`Openscreen REQUEST: ${t.toUpperCase()} ${s}`),r&&console.debug(`Openscreen REQUEST: ${JSON.stringify(r,null,2)}`),e&&this.session.debugQuery&&console.debug(`Openscreen QUERY: ${JSON.stringify(e,null,2)}`),a&&this.session.debugOptions&&console.debug(`Openscreen OPTIONS: ${JSON.stringify(a,null,2)}`))}debugResponse(t){this.session.debugResponse&&console.debug(`Openscreen RESPONSE: ${JSON.stringify(t.data||{},null,2)}`)}handleAndDebugErr(t){if(t.response&&t.response.data)return this.session.debugError?console.error(`Openscreen ERROR: ${JSON.stringify(t.response.data,null,2)}`):this.session.debugResponse&&console.error(`Openscreen RESPONSE: ${JSON.stringify(t.response.data,null,2)}`),t.response.data;if(this.session.debugError)try{console.error(t)}catch(t){console.error("Openscreen: (unable to print error)")}return t}}class r extends e{async go(t,e,r){try{const a=await this.makeUri(t);this.debugRequest("delete",a,e,null,r),await this.session.authorize();const n=await this.session.getAxios(),o=await n.delete(a,s({params:e},r));return this.debugResponse(o),o.data}catch(t){throw this.handleAndDebugErr(t)}}}class a extends e{async go(t,e,r){try{const a=await this.makeUri(t);this.debugRequest("get",a,e,null,r),await this.session.authorize();const n=await this.session.getAxios(),o=await n.get(a,s({params:e},r));return this.debugResponse(o),o.data}catch(t){throw this.handleAndDebugErr(t)}}}class n extends e{async go(t,e,r,a){try{const n=await this.makeUri(t);await this.session.authorize(),this.debugRequest("patch",n,e,r,a);const o=await this.session.getAxios(),i=await o.patch(n,r,s({params:e},a));return this.debugResponse(i),i.data}catch(t){throw this.handleAndDebugErr(t)}}}class o extends e{async go(t,e,r,a){try{const n=await this.makeUri(t);await this.session.authorize(),this.debugRequest("post",n,e,r,a);const o=await this.session.getAxios(),i=await o.post(n,r,s({params:e},a));return this.debugResponse(i),i.data}catch(t){throw this.handleAndDebugErr(t)}}}class i{constructor(t,s){this.session=void 0,this.pathParameters=void 0,this.session=t,this.pathParameters=s}self(){return this}getSession(){return this.session}}class c{constructor(t,s){this.session=void 0,this.pathParameters=void 0,this.id=void 0,this.session=t,this.pathParameters=s}getSession(){return this.session}}var u,h,d,p,m,P,g,l,N,S,I,E,A,w,x,T,k,C,_,y,O,R,v,D,f,b,L,U,M,j,G,V,Y,H,F,q,B,Q,W,$,K,J,X,z,Z,tt,st,et,rt,at,nt,ot,it,ct,ut,ht,dt,pt,mt;!function(t){t.CREATED_DATE="CREATED_DATE",t.STATIC_QR_CODE_COUNT="STATIC_QR_CODE_COUNT",t.DYNAMIC_QR_CODE_COUNT="DYNAMIC_QR_CODE_COUNT",t.SCAN_COUNT="SCAN_COUNT",t.CONTACT_COUNT="CONTACT_COUNT",t.PRICE_PLAN="PRICE_PLAN",t.LAST_ACTIVITY="LAST_ACTIVITY",t.CLIENT_EXEC="CLIENT_EXEC",t.ASSET_COUNT="ASSET_COUNT",t.SMS_COUNT="SMS_COUNT",t.ACCOUNT_STATUS="ACCOUNT_STATUS"}(u||(u={})),function(t){t.ACTIVE="ACTIVE",t.SUSPENDED="SUSPENDED",t.CANCELLED="CANCELLED"}(h||(h={})),function(t){t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL"}(d||(d={})),function(t){t.OWNER="OWNER",t.ADMINISTRATOR="ADMINISTRATOR",t.BILLING_CONTACT="BILLING_CONTACT",t.MEMBER="MEMBER",t.API_KEY="API_KEY",t.INVITATION_DECLINED="INVITATION_DECLINED"}(p||(p={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME",t.SCAN_COUNT="SCAN_COUNT",t.QR_CODE_COUNT="QR_CODE_COUNT",t.STATE="STATE"}(m||(m={})),function(t){t.json="json",t.csv="csv"}(P||(P={})),function(t){t.MODIFIED="MODIFIED",t.STATE="STATE",t.NAME="NAME",t.SCAN_COUNT="SCAN_COUNT",t.QR_CODE_COUNT="QR_CODE_COUNT",t.ASSET_TYPE_NAME="ASSET_TYPE_NAME"}(g||(g={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME"}(l||(l={})),function(t){t.PUBLISHED="PUBLISHED",t.DRAFT="DRAFT",t.ARCHIVED="ARCHIVED"}(N||(N={})),function(t){t.INVALID_API_KEY="INVALID_API_KEY",t.INVALID_EMAIL="INVALID_EMAIL",t.INVALID_LEGACY_MIGRATION="INVALID_LEGACY_MIGRATION",t.INVALID_PASSWORD="INVALID_PASSWORD",t.INVALID_SCOPE="INVALID_SCOPE",t.INVALID_SECRET="INVALID_SECRET",t.INVALID_TOKEN="INVALID_TOKEN",t.MIGRATE_FROM_COGNITO="MIGRATE_FROM_COGNITO",t.NO_ACCESS_TOKEN="NO_ACCESS_TOKEN",t.NO_REFRESH_TOKEN="NO_REFRESH_TOKEN",t.RESET_PASSWORD="RESET_PASSWORD",t.RESET_SECRET="RESET_SECRET",t.SUSPENDED_OR_INACTIVE="SUSPENDED_OR_INACTIVE",t.TOKEN_EXPIRED="TOKEN_EXPIRED",t.TRY_AGAIN="TRY_AGAIN",t.UNABLE_TO_CONFIRM_EMAIL="UNABLE_TO_CONFIRM_EMAIL",t.UNCONFIRMED_EMAIL="UNCONFIRMED_EMAIL",t.EMAIL_ALREADY_TAKEN="EMAIL_ALREADY_TAKEN"}(S||(S={})),function(t){t.API="API",t.CONFIRM_EMAIL="CONFIRM_EMAIL",t.NEW_PASSWORD="NEW_PASSWORD",t.NO_SESSION="NO_SESSION",t.NO_PASSWORD="NO_PASSWORD",t.CONFIRMED_NO_PASSWORD="CONFIRMED_NO_PASSWORD"}(I||(I={})),function(t){t.MICROSOFT="MICROSOFT"}(E||(E={})),function(t){t.TWO_FACTOR_AUTHENTICATION="TWO_FACTOR_AUTHENTICATION",t.MARKETING="MARKETING",t.CUSTOMER_CARE="CUSTOMER_CARE",t.CHARITY_NONPROFIT="CHARITY_NONPROFIT",t.DELIVERY_NOTIFICATIONS="DELIVERY_NOTIFICATIONS",t.FRAUD_ALERT_MESSAGING="FRAUD_ALERT_MESSAGING",t.EVENTS="EVENTS",t.HIGHER_EDUCATION="HIGHER_EDUCATION",t.K12="K12",t.POLLING_AND_VOTING_NON_POLITICAL="POLLING_AND_VOTING_NON_POLITICAL",t.POLITICAL_ELECTION_CAMPAIGNS="POLITICAL_ELECTION_CAMPAIGNS",t.PUBLIC_SERVICE_ANNOUNCEMENT="PUBLIC_SERVICE_ANNOUNCEMENT",t.SECURITY_ALERT="SECURITY_ALERT",t.ACCOUNT_NOTIFICATIONS="ACCOUNT_NOTIFICATIONS"}(A||(A={})),function(t){t.ACCEPTED="ACCEPTED",t.DECLINED="DECLINED",t.true="true",t.false="false"}(w||(w={})),function(t){t.SMS="SMS",t.EMAIL="EMAIL",t.DATA="DATA",t.CUSTOM="CUSTOM"}(x||(x={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME",t.PHONE="PHONE",t.EMAIL="EMAIL",t.LAST_SCAN_TIME="LAST_SCAN_TIME",t.LAST_SCAN_LOCATION="LAST_SCAN_LOCATION",t.SCAN_COUNT="SCAN_COUNT"}(T||(T={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME",t.ASSET_NAME="ASSET_NAME",t.PHONE="PHONE",t.EMAIL="EMAIL",t.LAST_SCAN_TIME="LAST_SCAN_TIME",t.LAST_SCAN_LOCATION="LAST_SCAN_LOCATION",t.SCAN_COUNT="SCAN_COUNT"}(k||(k={})),function(t){t.CARE_API="CARE_API"}(C||(C={})),function(t){t.STRING="STRING",t.NUMBER="NUMBER"}(_||(_={})),function(t){t.ASSET_BATCH="ASSET_BATCH"}(y||(y={})),function(t){t.VALIDATING="VALIDATING",t.VALID="VALID",t.INVALID="INVALID",t.NOT_VALIDATED="NOT_VALIDATED"}(O||(O={})),function(t){t.ENGAGE="ENGAGE",t.TRACK="TRACK",t.INVENTORY="INVENTORY",t.CREATE="CREATE"}(R||(R={})),function(t){t.COMING_UP="COMING_UP",t.PAID="PAID",t.PAST_DUE="PAST_DUE",t.VOID="VOID"}(v||(v={})),function(t){t.IN_PROGRESS="IN_PROGRESS",t.COMPLETED="COMPLETED",t.TIMEOUT="TIMEOUT",t.FAILED="FAILED",t.CANCELLED="CANCELLED",t.DOWNLOADED="DOWNLOADED"}(D||(D={})),function(t){t.BATCH_CREATE_BLANK_ITEMS="BATCH_CREATE_BLANK_ITEMS",t.BATCH_CREATE_ASSETS="BATCH_CREATE_ASSETS",t.VALIDATE_CSV="VALIDATE_CSV",t.SELF_QUEUE_BATCH_PRINT="SELF_QUEUE_BATCH_PRINT",t.SCAN_EXPORT="SCAN_EXPORT",t.ASSET_EXPORT="ASSET_EXPORT",t.CONTACT_EXPORT="CONTACT_EXPORT",t.TEMPLATED_PRINT="TEMPLATED_PRINT",t.CLONE_MICROSITE="CLONE_MICROSITE",t.QRCODE_SCANS_EXPORT="QRCODE_SCANS_EXPORT"}(f||(f={})),function(t){t.NONE="NONE",t.ASSET_NAME="ASSET_NAME",t.CUSTOM="CUSTOM",t.COMPANY_NAME="COMPANY_NAME",t.LOCATOR_KEY="LOCATOR_KEY"}(b||(b={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME",t.STATE="STATE"}(L||(L={})),function(t){t.SALES_EMAIL="SALES_EMAIL",t.SUPPORT_EMAIL="SUPPORT_EMAIL"}(U||(U={})),function(t){t.FREE="free",t.PAYASYOUGO="payAsYouGo",t.ADVANCED="advanced",t.PRO="pro",t.ENTERPRISE_CUSTOM="enterpriseCustom",t.UNLIMITED="unlimited",t.ENGAGE_STARTER_MONTHLY="engageStarterMonthly",t.ENGAGE_STARTER_YEARLY="engageStarterYearly",t.ENGAGE_PRO_MONTHLY="engageProMonthly",t.ENGAGE_PRO_YEARLY="engageProYearly",t.ENGAGE_PREMIUM_MONTHLY="engagePremiumMonthly",t.ENGAGE_PREMIUM_YEARLY="engagePremiumYearly",t.ENGAGE_ENTERPRISE_CUSTOM="engageEnterpriseCustom",t.ENGAGE_ADDON="engageAddon"}(M||(M={})),function(t){t.MONTHLY="monthly",t.ANNUAL="annual"}(j||(j={})),function(t){t.BASIC="basic",t.ADVANCED="advanced",t.basic="basic",t.advance="advanced"}(G||(G={})),function(t){t.A3="A3",t.A4="A4",t.A5="A5",t.LETTER="LETTER",t.LEGAL="LEGAL"}(V||(V={})),function(t){t.SINGLE="SINGLE",t.MULTIPLE="MULTIPLE"}(Y||(Y={})),function(t){t.PORTRAIT="PORTRAIT",t.LANDSCAPE="LANDSCAPE"}(H||(H={})),function(t){t.AVERY_5160="AVERY_5160",t.AVERY_5163="AVERY_5163",t.AVERY_94103="AVERY_94103",t.AVERY_22806="AVERY_22806",t.AVERY_22805="AVERY_22805",t.OL914="OL914",t.OL3012LP="OL3012LP",t.OL3012LPCustom="OL3012LPCustom",t.CLOUD_TAGS_15="CLOUD_TAGS_15",t.CLOUD_TAGS_20="CLOUD_TAGS_20",t.LUGGAGE_TAGS_SINGLE="LUGGAGE_TAGS_SINGLE",t.LUGGAGE_TAGS_5_X_5="LUGGAGE_TAGS_5_X_5",t.CT_8_X_6_GRIPPER="CT_8_X_6_GRIPPER",t.MINI_CLOUD_TAGS_4_X_3="MINI_CLOUD_TAGS_4_X_3"}(F||(F={})),function(t){t.IN="IN",t.CM="CM",t.MM="MM",t.PT="PT"}(q||(q={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME",t.SCAN_COUNT="SCAN_COUNT",t.QR_CODE_COUNT="QR_CODE_COUNT",t.CONTACT_COUNT="CONTACT_COUNT",t.ASSET_COUNT="ASSET_COUNT"}(B||(B={})),function(t){t.ACTIVE="ACTIVE",t.SUSPENDED="SUSPENDED"}(Q||(Q={})),function(t){t.dot="dot",t.square="square"}(W||(W={})),function(t){t.dot="dot",t.square="square",t.extra_rounded="extra-rounded"}($||($={})),function(t){t.classy="classy",t.classy_rounded="classy-rounded",t.dots="dots",t.extra_rounded="extra-rounded",t.rounded="rounded",t.square="square"}(K||(K={})),function(t){t.NO_SCAN_ID="NO_SCAN_ID",t.SCAN_ID_IN_PATH_PARAMETER="SCAN_ID_IN_PATH_PARAMETER",t.SCAN_ID_IN_QUERY_STRING_PARAMETER="SCAN_ID_IN_QUERY_STRING_PARAMETER",t.CUSTOM_QUERY_STRING_PARAMETER="CUSTOM_QUERY_STRING_PARAMETER"}(J||(J={})),function(t){t.L="L",t.M="M",t.Q="Q",t.H="H"}(X||(X={})),function(t){t.linear="linear",t.radial="radial"}(z||(z={})),function(t){t.STATIC_REDIRECT="STATIC_REDIRECT",t.DYNAMIC_REDIRECT="DYNAMIC_REDIRECT",t.DYNAMIC_REDIRECT_TO_APP="DYNAMIC_REDIRECT_TO_APP"}(Z||(Z={})),function(t){t.SHORT_URL="SHORT_URL",t.HASHED_ID="HASHED_ID",t.SECURE_ID="SECURE_ID"}(tt||(tt={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME",t.SCAN_COUNT="SCAN_COUNT"}(st||(st={})),function(t){t.ACTIVE="ACTIVE",t.INACTIVE="INACTIVE",t.SUSPENDED="SUSPENDED",t.UNSAFE="UNSAFE"}(et||(et={})),function(t){t.PNG="PNG",t.JPEG="JPEG",t.SVG="SVG",t.png="png",t.jpeg="jpeg",t.svg="svg"}(rt||(rt={})),function(t){t.EQUALS="EQUALS",t.LESS_THAN="LESS_THAN",t.LESS_THAN_EQUAL="LESS_THAN_EQUAL",t.GREATER_THAN="GREATER_THAN",t.GREATER_THAN_EQUAL="GREATER_THAN_EQUAL",t.BETWEEN="BETWEEN",t.BEGINS_WITH="BEGINS_WITH"}(at||(at={})),function(t){t.DAILY="DAILY",t.HOURLY="HOURLY"}(nt||(nt={})),function(t){t.SQUARE="SQUARE",t.CIRCLE="CIRCLE",t.RECTANGLE="RECTANGLE"}(ot||(ot={})),function(t){t.ACTIVATED="ACTIVATED",t.MODIFIED="MODIFIED"}(it||(it={})),function(t){t.ACTIVE="ACTIVE",t.INACTIVE="INACTIVE",t.USER_INFO_COLLECTION="USER_INFO_COLLECTION"}(ct||(ct={})),function(t){t.COMPROMISED="COMPROMISED",t.CONFIRMED="CONFIRMED",t.LEGACY="LEGACY",t.NEW_EMAIL="NEW_EMAIL",t.NEW_EMAIL_CONFIRMED="NEW_EMAIL_CONFIRMED",t.NEW_PASSWORD="NEW_PASSWORD",t.SUSPENDED="SUSPENDED",t.UNCONFIRMED="UNCONFIRMED",t.CONFIRMED_NO_PASSWORD="CONFIRMED_NO_PASSWORD"}(ut||(ut={})),function(t){t.appuser="appuser",t.appadmin="appadmin"}(ht||(ht={})),function(t){t.pdf="pdf",t.jpg="jpg",t.HEIC="HEIC",t.heic="heic",t.png="png",t.mov="mov",t.mp4="mp4",t.jpeg="jpeg",t.ttf="ttf",t.otf="otf",t.woff="woff",t.woff2="woff2",t.csv="csv",t.json="json",t.gif="gif",t.bmp="bmp",t.webp="webp",t.svg="svg",t.tiff="tiff",t.webm="webm",t.ogg="ogg",t.avi="avi",t.mpeg="mpeg",t.css="css"}(dt||(dt={})),function(t){t.MODIFIED="MODIFIED",t.NAME="NAME",t.FILE_TYPE="FILE_TYPE",t.CATEGORY="CATEGORY"}(pt||(pt={})),function(t){t.DASHBOARD="DASHBOARD"}(mt||(mt={}));class Pt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"urlSafeties",sdkPartName:"urlSafeties"}]}}class gt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"apikeys",sdkPartName:"apikeys"}]}}class lt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"apps",sdkPartName:"apps"}]}}class Nt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"assettypes",sdkPartName:"assettypes"}]}}class St extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"image/upload",sdkPartName:"imageUpload"}]}}class It extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"invitations",sdkPartName:"invitations"}]}}class Et extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"invitations/batch",sdkPartName:"invitationsBatch"}]}}class At extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"locations",sdkPartName:"locations"}]}}class wt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"printPageTemplates",sdkPartName:"printPageTemplates"}]}}class xt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"printStickerTemplates",sdkPartName:"printStickerTemplates"}]}}class Tt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"projects",sdkPartName:"projects"}]}}class kt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"qrcodelogos",sdkPartName:"qrcodelogos"}]}}class Ct extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"stylingtemplates",sdkPartName:"stylingtemplates"}]}}class _t extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"account",sdkPartName:"account"},{routePart:"customattributes",sdkPartName:"customattributes"}]}}class yt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"zendeskTicket",sdkPartName:"zendeskTicket"}]}}class Ot extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"usermedias/presignedurl",sdkPartName:"usermediasPresignedurl"}]}}class Rt extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"contacts/batch",sdkPartName:"contactsBatch"}]}}class vt extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{parm:"userId",routePart:"users",sdkPartName:"user"}]}}class Dt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"}]}}class ft extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"assets/report/advanced",sdkPartName:"advancedAssetsReport"}]}}class bt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"contacts/report/advanced",sdkPartName:"advancedContactsReport"}]}}class Lt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"scans/report/advanced",sdkPartName:"advancedScansReport"}]}}class Ut extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"owner/apps",sdkPartName:"ownerApps"}]}}class Mt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"apikeys",sdkPartName:"apikeys"}]}}class jt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"assets/export",sdkPartName:"assetsExport"}]}}class Gt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"assettypes",sdkPartName:"assettypes"}]}}class Vt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"assets",sdkPartName:"assets"}]}}class Yt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"assets/report/basic",sdkPartName:"basicAssetsReport"}]}}class Ht extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"contacts/report/basic",sdkPartName:"basicContactsReport"}]}}class Ft extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"account",sdkPartName:"account"},{routePart:"batch",sdkPartName:"batch"}]}}class qt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"consent",sdkPartName:"consent"}]}}class Bt extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"contacts/export",sdkPartName:"contactsExport"}]}}class Qt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"contacts",sdkPartName:"contacts"}]}}class Wt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"apps",sdkPartName:"apps"}]}}class $t extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"jobs",sdkPartName:"jobs"}]}}class Kt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"locations",sdkPartName:"locations"}]}}class Jt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"assets/mostscanned",sdkPartName:"assetsMostscanned"}]}}class Xt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"priceplan",sdkPartName:"pricePlan"}]}}class zt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"printJobs",sdkPartName:"printJobs"}]}}class Zt extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"printPageTemplates",sdkPartName:"printPageTemplates"}]}}class ts extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"printStickerTemplates",sdkPartName:"printStickerTemplates"}]}}class ss extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"projects",sdkPartName:"projects"}]}}class es extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"qrcodelogos",sdkPartName:"qrcodelogos"}]}}class rs extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"qrcodes/scans/export",sdkPartName:"exportQrCodesScans"}]}}class as extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"stylingtemplates",sdkPartName:"stylingtemplates"}]}}class ns extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"qrcodes",sdkPartName:"qrCodes"}]}}class os extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"account",sdkPartName:"account"},{routePart:"customattributes",sdkPartName:"customattributes"}]}}class is extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"scans/dayofweek",sdkPartName:"scansDayofweek"}]}}class cs extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"scans/export",sdkPartName:"scansExport"}]}}class us extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"scans/timeofday",sdkPartName:"scansTimeofday"}]}}class hs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"scans/timeline",sdkPartName:"scansTimeline"}]}}class ds extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"scans",sdkPartName:"scans"}]}}class ps extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{parm:"userId",routePart:"users",sdkPartName:"user"}]}}class ms extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"usermedias",sdkPartName:"usermedias"}]}}class Ps extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"users",sdkPartName:"users"}]}}class gs extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{parm:"appId",routePart:"apps",sdkPartName:"app"},{routePart:"install",sdkPartName:"install"}]}}class ls extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"campaignInformation",sdkPartName:"campaignInformation"}]}}class Ns extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"campaignInformation",sdkPartName:"campaignInformation"}]}}class Ss extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"clock",sdkPartName:"clock"}]}}class Is extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"}]}}class Es extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"engagePricePlan",sdkPartName:"engagePricePlan"}]}}class As extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"priceplan",sdkPartName:"pricePlan"}]}}class ws extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{parm:"userId",routePart:"users",sdkPartName:"user"}]}}class xs extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"qrcodelogos/upload",sdkPartName:"qrcodelogosUpload"}]}}class Ts extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"apiKeyId",routePart:"apikeys",sdkPartName:"apikey"}]}}class ks extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"apiKeyId",routePart:"apikeys",sdkPartName:"apikey"},{routePart:"secret",sdkPartName:"secret"}]}}class Cs extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"apiKeyId",routePart:"apikeys",sdkPartName:"apikey"},{routePart:"secret",sdkPartName:"secret"}]}}class _s extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"apiKeyId",routePart:"apikeys",sdkPartName:"apikey"}]}}class ys extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"appId",routePart:"apps",sdkPartName:"app"}]}}class Os extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"apps",sdkPartName:"apps"}]}}class Rs extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"apps/published",sdkPartName:"appsPublished"}]}}class vs extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"appId",routePart:"apps",sdkPartName:"app"},{parm:"accountId",routePart:"accounts",sdkPartName:"account"},{routePart:"load",sdkPartName:"load"}]}}class Ds extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"appId",routePart:"apps",sdkPartName:"app"}]}}class fs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"appAccountId",routePart:"appsAccounts",sdkPartName:"appsAccount"}]}}class bs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"appAccountId",routePart:"appsAccounts",sdkPartName:"appsAccount"},{routePart:"main",sdkPartName:"main"}]}}class Ls extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"},{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class Us extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"},{routePart:"assets",sdkPartName:"assets"}]}}class Ms extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"}]}}class js extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"}]}}class Gs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"},{parm:"locationId",routePart:"locations",sdkPartName:"location"}]}}class Vs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"},{routePart:"assets",sdkPartName:"assets"}]}}class Ys extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"},{routePart:"locations",sdkPartName:"locations"}]}}class Hs extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"}]}}class Fs extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"assetTypeId",routePart:"assettypes",sdkPartName:"assettype"},{parm:"locationId",routePart:"locations",sdkPartName:"location"}]}}class qs extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"contacts",sdkPartName:"contacts"}]}}class Bs extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"qrcodes",sdkPartName:"qrCodes"}]}}class Qs extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"qrcodes",sdkPartName:"qrCodes"}]}}class Ws extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class $s extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class Ks extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"history",sdkPartName:"history"}]}}class Js extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"contacts",sdkPartName:"contacts"}]}}class Xs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"qrcodes",sdkPartName:"qrCodes"}]}}class zs extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"scans/export",sdkPartName:"scansExport"}]}}class Zs extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"scans/location",sdkPartName:"scansLocation"}]}}class te extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"scans",sdkPartName:"scans"}]}}class se extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{routePart:"usermedias",sdkPartName:"usermedias"}]}}class ee extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{parm:"contactId",routePart:"contacts",sdkPartName:"contact"}]}}class re extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"},{parm:"contactId",routePart:"contacts",sdkPartName:"contact"}]}}class ae extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class ne extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"batchId",routePart:"batch",sdkPartName:"batch"},{routePart:"assets",sdkPartName:"assets"}]}}class oe extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/cancelDowngrade",sdkPartName:"billingCancelDowngrade"}]}}class ie extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/cancelSubscription",sdkPartName:"billingCancelSubscription"}]}}class ce extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/preview/upgradePlan",sdkPartName:"upgradePlanBillingPreview"}]}}class ue extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/setupIntent",sdkPartName:"billingSetupIntent"}]}}class he extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/downgradePlan",sdkPartName:"billingDowngradePlan"}]}}class de extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/details",sdkPartName:"billingDetail"}]}}class pe extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/currentPeriod",sdkPartName:"billingCurrentPeriod"}]}}class me extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/invoices",sdkPartName:"billingInvoice"}]}}class Pe extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"accountId",routePart:"billing/upgradePlan",sdkPartName:"billingUpgradePlan"}]}}class ge extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"care/accounts",sdkPartName:"careAccounts"}]}}class le extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"consent",sdkPartName:"consent"}]}}class Ne extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"consent",sdkPartName:"consent"}]}}class Se extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"}]}}class Ie extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"assets",sdkPartName:"assets"}]}}class Ee extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"consent",sdkPartName:"consent"}]}}class Ae extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"}]}}class we extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"export",sdkPartName:"export"}]}}class xe extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"scans/export",sdkPartName:"scansExport"}]}}class Te extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"scans/location",sdkPartName:"scansLocation"}]}}class ke extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{routePart:"scans",sdkPartName:"scans"}]}}class Ce extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"},{parm:"scanId",routePart:"scans",sdkPartName:"scan"}]}}class _e extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"contactId",routePart:"contacts",sdkPartName:"contact"}]}}class ye extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"fileId",routePart:"files",sdkPartName:"file"},{routePart:"validate",sdkPartName:"validate"}]}}class Oe extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"fileId",routePart:"files",sdkPartName:"file"},{routePart:"validate",sdkPartName:"validate"}]}}class Re extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"invitationId",routePart:"invitations",sdkPartName:"invitation"},{routePart:"users",sdkPartName:"users"}]}}class ve extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"invitationId",routePart:"invitations",sdkPartName:"invitation"}]}}class De extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"invitationId",routePart:"invitations",sdkPartName:"invitation"}]}}class fe extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"jobId",routePart:"jobs",sdkPartName:"job"}]}}class be extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"printJobId",routePart:"printJobs",sdkPartName:"printJob"}]}}class Le extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"jobId",routePart:"jobs",sdkPartName:"job"}]}}class Ue extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"printJobId",routePart:"printJobs",sdkPartName:"printJob"}]}}class Me extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"locationId",routePart:"locations",sdkPartName:"location"},{routePart:"assets",sdkPartName:"assets"}]}}class je extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"locationId",routePart:"locations",sdkPartName:"location"}]}}class Ge extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"locationId",routePart:"locations",sdkPartName:"location"},{routePart:"assets",sdkPartName:"assets"}]}}class Ve extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"locationId",routePart:"locations",sdkPartName:"location"}]}}class Ye extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"support",sdkPartName:"support"}]}}class He extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"pricePlans",sdkPartName:"pricePlans"}]}}class Fe extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"assets",sdkPartName:"assets"}]}}class qe extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"jobs/assetbatch",sdkPartName:"jobsAssetbatch"}]}}class Be extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"jobs/assetbatch/presignedurl",sdkPartName:"presignedurlJobsAssetbatch"}]}}class Qe extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"assets/batch",sdkPartName:"assetsBatch"}]}}class We extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"contacts",sdkPartName:"contacts"}]}}class $e extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"contacts/batch",sdkPartName:"contactsBatch"}]}}class Ke extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"print",sdkPartName:"print"}]}}class Je extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"qrcodes",sdkPartName:"qrCodes"}]}}class Xe extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"selfqueueprint",sdkPartName:"selfqueueprint"}]}}class ze extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"smstemplates",sdkPartName:"smsTemplates"}]}}class Ze extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"printJobs",sdkPartName:"printJobs"}]}}class tr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"templatedPrint/preview",sdkPartName:"templatedPrintPreview"}]}}class sr extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"contacts/batch",sdkPartName:"contactsBatch"}]}}class er extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"}]}}class rr extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{parm:"smsTemplateName",routePart:"smstemplates",sdkPartName:"smsTemplate"}]}}class ar extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"assets/report/advanced",sdkPartName:"advancedAssetsReport"}]}}class nr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"contacts/report/advanced",sdkPartName:"advancedContactsReport"}]}}class or extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"scans/report/advanced",sdkPartName:"advancedScansReport"}]}}class ir extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"assets/export",sdkPartName:"assetsExport"}]}}class cr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"assets",sdkPartName:"assets"}]}}class ur extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"assets/report/basic",sdkPartName:"basicAssetsReport"}]}}class hr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"contacts/report/basic",sdkPartName:"basicContactsReport"}]}}class dr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"project",sdkPartName:"project"},{routePart:"batch",sdkPartName:"batch"}]}}class pr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"consent",sdkPartName:"consent"}]}}class mr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"contacts/export",sdkPartName:"contactsExport"}]}}class Pr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"contacts",sdkPartName:"contacts"}]}}class gr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"assets/mostscanned",sdkPartName:"assetsMostscanned"}]}}class lr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"}]}}class Nr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"qrCodes/scans/export",sdkPartName:"exportQrCodesScans"}]}}class Sr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"qrcodes",sdkPartName:"qrCodes"}]}}class Ir extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"scans/dayofweek",sdkPartName:"scansDayofweek"}]}}class Er extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"scans/export",sdkPartName:"scansExport"}]}}class Ar extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"scans/timeofday",sdkPartName:"scansTimeofday"}]}}class wr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"scans/timeline",sdkPartName:"scansTimeline"}]}}class xr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"scans",sdkPartName:"scans"}]}}class Tr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{parm:"smsTemplateName",routePart:"smstemplates",sdkPartName:"smsTemplate"}]}}class kr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"smstemplates",sdkPartName:"smsTemplates"}]}}class Cr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{routePart:"usermedias",sdkPartName:"usermedias"}]}}class _r extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"}]}}class yr extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"projectId",routePart:"projects",sdkPartName:"project"},{parm:"smsTemplateName",routePart:"smstemplates",sdkPartName:"smsTemplate"}]}}class Or extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"qrCodeLogoId",routePart:"qrcodelogos",sdkPartName:"qrcodelogo"}]}}class Rr extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"qrCodeLogoId",routePart:"qrcodelogos",sdkPartName:"qrcodelogo"}]}}class vr extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"qrCodeId",routePart:"qrcodes",sdkPartName:"qrCode"}]}}class Dr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"qrCodeId",routePart:"qrcodes",sdkPartName:"qrCode"}]}}class fr extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"qrCodeId",routePart:"qrcodes",sdkPartName:"qrCode"}]}}class br extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"scanId",routePart:"scans",sdkPartName:"scan"},{routePart:"contacts",sdkPartName:"contacts"}]}}class Lr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"scanId",routePart:"scans",sdkPartName:"scan"}]}}class Ur extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"scanId",routePart:"scans",sdkPartName:"scan"}]}}class Mr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"scanId",routePart:"scans",sdkPartName:"scan"},{routePart:"email",sdkPartName:"email"}]}}class jr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"scanId",routePart:"scans",sdkPartName:"scan"},{routePart:"sms",sdkPartName:"sms"}]}}class Gr extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"scanId",routePart:"scans",sdkPartName:"scan"},{routePart:"customAttribute",sdkPartName:"customAttribute"}]}}class Vr extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"printPageTemplateId",routePart:"printPageTemplates",sdkPartName:"printPageTemplate"}]}}class Yr extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"printStickerTemplateId",routePart:"printStickerTemplates",sdkPartName:"printStickerTemplate"}]}}class Hr extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"stylingTemplateId",routePart:"stylingtemplates",sdkPartName:"stylingtemplate"}]}}class Fr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"printPageTemplateId",routePart:"printPageTemplates",sdkPartName:"printPageTemplate"}]}}class qr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"printStickerTemplateId",routePart:"printStickerTemplates",sdkPartName:"printStickerTemplate"}]}}class Br extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"stylingTemplateId",routePart:"stylingtemplates",sdkPartName:"stylingtemplate"}]}}class Qr extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"printPageTemplateId",routePart:"printPageTemplates",sdkPartName:"printPageTemplate"}]}}class Wr extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"printStickerTemplateId",routePart:"printStickerTemplates",sdkPartName:"printStickerTemplate"}]}}class $r extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"stylingTemplateId",routePart:"stylingtemplates",sdkPartName:"stylingtemplate"}]}}class Kr extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"}]}}class Jr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class Xr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"projectId",routePart:"project",sdkPartName:"project"}]}}class zr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"scanId",routePart:"scans",sdkPartName:"scan"}]}}class Zr extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class ta extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class sa extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"projectId",routePart:"projects",sdkPartName:"project"}]}}class ea extends r{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"scanId",routePart:"scans",sdkPartName:"scan"}]}}class ra extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"mediaId",routePart:"usermedias",sdkPartName:"usermedia"},{parm:"assetId",routePart:"assets",sdkPartName:"asset"}]}}class aa extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"},{routePart:"accounts",sdkPartName:"accounts"}]}}class na extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"},{routePart:"accounts",sdkPartName:"accounts"}]}}class oa extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"},{routePart:"errors",sdkPartName:"errors"}]}}class ia extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"},{routePart:"invitations",sdkPartName:"invitations"}]}}class ca extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"}]}}class ua extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"},{parm:"path",routePart:"path",sdkPartName:"path"},{routePart:"settings",sdkPartName:"settings"}]}}class ha extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"},{parm:"path",routePart:"path",sdkPartName:"path"},{routePart:"settings",sdkPartName:"settings"}]}}class da extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"userId",routePart:"users",sdkPartName:"user"}]}}class pa extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"webhook/sms",sdkPartName:"webhookSms"}]}}class ma extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"webhook/sms-status",sdkPartName:"webhookSmsStatus"}]}}class Pa extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"webhook/stripe",sdkPartName:"webhookStripe"}]}}class ga extends o{constructor(...t){super(...t),this.routeSegments=[{parm:"sessionId",routePart:"websessions",sdkPartName:"websession"},{routePart:"sessionactions",sdkPartName:"sessionactions"}]}}class la extends a{constructor(...t){super(...t),this.routeSegments=[{parm:"sessionId",routePart:"websessions",sdkPartName:"websession"}]}}class Na extends n{constructor(...t){super(...t),this.routeSegments=[{parm:"sessionId",routePart:"websessions",sdkPartName:"websession"}]}}class Sa extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/user/password",sdkPartName:"passwordAuthUser"}]}}class Ia extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/session",sdkPartName:"authSession"}]}}class Ea extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/confirm",sdkPartName:"authConfirm"}]}}class Aa extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/confirm/invited",sdkPartName:"invitedAuthConfirm"}]}}class wa extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/user",sdkPartName:"authUser"}]}}class xa extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/session",sdkPartName:"authSession"}]}}class Ta extends a{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/session",sdkPartName:"authSession"}]}}class ka extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/session/refresh",sdkPartName:"refreshAuthSession"}]}}class Ca extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/user/confirmation",sdkPartName:"confirmationAuthUser"}]}}class _a extends o{constructor(...t){super(...t),this.routeSegments=[{routePart:"auth/user/reset",sdkPartName:"resetAuthUser"}]}}class ya extends i{async create(t,s){return new Pt(this.session).go(this.pathParameters,void 0,t,s)}}class Oa extends i{async create(t,s){return new gt(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Mt(this.session).go(this.pathParameters,t,s)}}class Ra extends i{async create(t,s){return new lt(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Wt(this.session).go(this.pathParameters,t,s)}}class va extends i{async create(t,s){return new Nt(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Gt(this.session).go(this.pathParameters,t,s)}}class Da extends i{async create(t,s){return new St(this.session).go(this.pathParameters,void 0,t,s)}}class fa extends i{async create(t,s){return new It(this.session).go(this.pathParameters,void 0,t,s)}}class ba extends i{async create(t,s){return new Et(this.session).go(this.pathParameters,void 0,t,s)}}class La extends i{async create(t,s){return new At(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Kt(this.session).go(this.pathParameters,t,s)}}class Ua extends i{async create(t,s){return new wt(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Zt(this.session).go(this.pathParameters,t,s)}}class Ma extends i{async create(t,s){return new xt(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new ts(this.session).go(this.pathParameters,t,s)}}class ja extends i{async create(t,s){return new Tt(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new ss(this.session).go(this.pathParameters,t,s)}}class Ga extends i{async create(t,s){return new kt(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new es(this.session).go(this.pathParameters,t,s)}}class Va extends i{async create(t,s){return new Ct(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new as(this.session).go(this.pathParameters,t,s)}}class Ya extends i{async create(t,s){return new _t(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new os(this.session).go(this.pathParameters,t,s)}}class Ha extends i{async create(t,s){return new yt(this.session).go(this.pathParameters,void 0,t,s)}}class Fa extends i{async create(t,s){return new Ot(this.session).go(this.pathParameters,void 0,t,s)}}class qa extends i{async delete(t,s){return new Rt(this.session).go(this.pathParameters,t,s)}}class Ba extends c{async delete(t){return new vt(this.session).go(this.pathParameters,void 0,t)}async get(t){return new ps(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new ws(this.session).go(this.pathParameters,void 0,t,s)}}class Qa extends i{async get(t,s){return new ft(this.session).go(this.pathParameters,t,s)}}class Wa extends i{async get(t,s){return new bt(this.session).go(this.pathParameters,t,s)}}class $a extends i{async get(t,s){return new Lt(this.session).go(this.pathParameters,t,s)}}class Ka extends i{async get(t,s){return new Ut(this.session).go(this.pathParameters,t,s)}}class Ja extends i{async create(t,s){return new jt(this.session).go(this.pathParameters,void 0,t,s)}}class Xa extends i{async get(t,s){return new Vt(this.session).go(this.pathParameters,t,s)}}class za extends i{async get(t){return new Yt(this.session).go(this.pathParameters,void 0,t)}}class Za extends i{async get(t){return new Ht(this.session).go(this.pathParameters,void 0,t)}}class tn extends i{async get(t,s){return new Ft(this.session).go(this.pathParameters,t,s)}}class sn extends i{async get(t,s){return new qt(this.session).go(this.pathParameters,t,s)}}class en extends i{async create(t,s){return new Bt(this.session).go(this.pathParameters,void 0,t,s)}}class rn extends i{async get(t,s){return new Qt(this.session).go(this.pathParameters,t,s)}}class an extends i{async get(t,s){return new $t(this.session).go(this.pathParameters,t,s)}}class nn extends i{async get(t,s){return new Jt(this.session).go(this.pathParameters,t,s)}}class on extends i{async get(t){return new Xt(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new As(this.session).go(this.pathParameters,void 0,t,s)}}class cn extends i{async get(t,s){return new zt(this.session).go(this.pathParameters,t,s)}}class un extends i{async create(t,s){return new rs(this.session).go(this.pathParameters,void 0,t,s)}}class hn extends i{async get(t,s){return new ns(this.session).go(this.pathParameters,t,s)}}class dn extends i{async get(t,s){return new is(this.session).go(this.pathParameters,t,s)}}class pn extends i{async create(t,s){return new cs(this.session).go(this.pathParameters,void 0,t,s)}}class mn extends i{async get(t,s){return new us(this.session).go(this.pathParameters,t,s)}}class Pn extends i{async get(t,s){return new hs(this.session).go(this.pathParameters,t,s)}}class gn extends i{async get(t,s){return new ds(this.session).go(this.pathParameters,t,s)}}class ln extends i{async get(t,s){return new ms(this.session).go(this.pathParameters,t,s)}}class Nn extends i{async get(t,s){return new Ps(this.session).go(this.pathParameters,t,s)}}class Sn extends i{async create(t){return new gs(this.session).go(this.pathParameters,void 0,t)}}class In extends c{install(){return new Sn(this.getSession(),this.pathParameters)}}class En extends i{async get(t){return new ls(this.session).go(this.pathParameters,void 0,t)}async create(t,s){return new Ns(this.session).go(this.pathParameters,void 0,t,s)}}class An extends i{async create(t,s){return new Ss(this.session).go(this.pathParameters,void 0,t,s)}}class wn extends i{async update(t,s){return new Es(this.session).go(this.pathParameters,void 0,t,s)}}class xn extends i{async create(t,s){return new xs(this.session).go(this.pathParameters,void 0,t,s)}}class Tn extends c{urlSafeties(){return new ya(this.getSession(),this.pathParameters)}apikeys(){return new Oa(this.getSession(),this.pathParameters)}apps(){return new Ra(this.getSession(),this.pathParameters)}assettypes(){return new va(this.getSession(),this.pathParameters)}imageUpload(){return new Da(this.getSession(),this.pathParameters)}invitations(){return new fa(this.getSession(),this.pathParameters)}invitationsBatch(){return new ba(this.getSession(),this.pathParameters)}locations(){return new La(this.getSession(),this.pathParameters)}printPageTemplates(){return new Ua(this.getSession(),this.pathParameters)}printStickerTemplates(){return new Ma(this.getSession(),this.pathParameters)}projects(){return new ja(this.getSession(),this.pathParameters)}qrcodelogos(){return new Ga(this.getSession(),this.pathParameters)}stylingtemplates(){return new Va(this.getSession(),this.pathParameters)}customattributes(){return new Ya(this.getSession(),this.pathParameters)}zendeskTicket(){return new Ha(this.getSession(),this.pathParameters)}usermediasPresignedurl(){return new Fa(this.getSession(),this.pathParameters)}contactsBatch(){return new qa(this.getSession(),this.pathParameters)}user(t){return new Ba(this.getSession(),s({},this.pathParameters,{userId:t}))}advancedAssetsReport(){return new Qa(this.getSession(),this.pathParameters)}advancedContactsReport(){return new Wa(this.getSession(),this.pathParameters)}advancedScansReport(){return new $a(this.getSession(),this.pathParameters)}ownerApps(){return new Ka(this.getSession(),this.pathParameters)}assetsExport(){return new Ja(this.getSession(),this.pathParameters)}assets(){return new Xa(this.getSession(),this.pathParameters)}basicAssetsReport(){return new za(this.getSession(),this.pathParameters)}basicContactsReport(){return new Za(this.getSession(),this.pathParameters)}batch(){return new tn(this.getSession(),this.pathParameters)}consent(){return new sn(this.getSession(),this.pathParameters)}contactsExport(){return new en(this.getSession(),this.pathParameters)}contacts(){return new rn(this.getSession(),this.pathParameters)}jobs(){return new an(this.getSession(),this.pathParameters)}assetsMostscanned(){return new nn(this.getSession(),this.pathParameters)}pricePlan(){return new on(this.getSession(),this.pathParameters)}printJobs(){return new cn(this.getSession(),this.pathParameters)}exportQrCodesScans(){return new un(this.getSession(),this.pathParameters)}qrCodes(){return new hn(this.getSession(),this.pathParameters)}scansDayofweek(){return new dn(this.getSession(),this.pathParameters)}scansExport(){return new pn(this.getSession(),this.pathParameters)}scansTimeofday(){return new mn(this.getSession(),this.pathParameters)}scansTimeline(){return new Pn(this.getSession(),this.pathParameters)}scans(){return new gn(this.getSession(),this.pathParameters)}usermedias(){return new ln(this.getSession(),this.pathParameters)}users(){return new Nn(this.getSession(),this.pathParameters)}app(t){return new In(this.getSession(),s({},this.pathParameters,{appId:t}))}campaignInformation(){return new En(this.getSession(),this.pathParameters)}clock(){return new An(this.getSession(),this.pathParameters)}engagePricePlan(){return new wn(this.getSession(),this.pathParameters)}qrcodelogosUpload(){return new xn(this.getSession(),this.pathParameters)}async get(t){return new Dt(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new Is(this.session).go(this.pathParameters,void 0,t,s)}}class kn extends i{async get(t){return new ks(this.session).go(this.pathParameters,void 0,t)}async update(t){return new Cs(this.session).go(this.pathParameters,void 0,t)}}class Cn extends c{secret(){return new kn(this.getSession(),this.pathParameters)}async get(t){return new Ts(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new _s(this.session).go(this.pathParameters,void 0,t,s)}}class _n extends i{async create(t){return new vs(this.session).go(this.pathParameters,void 0,t)}}class yn extends c{load(){return new _n(this.getSession(),this.pathParameters)}}class On extends c{account(t){return new yn(this.getSession(),s({},this.pathParameters,{accountId:t}))}async get(t){return new ys(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new Ds(this.session).go(this.pathParameters,void 0,t,s)}}class Rn extends i{async get(t,s){return new Os(this.session).go(this.pathParameters,t,s)}}class vn extends i{async get(t,s){return new Rs(this.session).go(this.pathParameters,t,s)}}class Dn extends i{async get(t){return new bs(this.session).go(this.pathParameters,void 0,t)}}class fn extends c{main(){return new Dn(this.getSession(),this.pathParameters)}async get(t){return new fs(this.session).go(this.pathParameters,void 0,t)}}class bn extends c{async compose(t,s){return new Ls(this.session).go(this.pathParameters,void 0,t,s)}}class Ln extends i{async create(t,s){return new Us(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Vs(this.session).go(this.pathParameters,t,s)}}class Un extends c{async get(t){return new Gs(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new Fs(this.session).go(this.pathParameters,void 0,t,s)}}class Mn extends i{async get(t,s){return new Ys(this.session).go(this.pathParameters,t,s)}}class jn extends c{asset(t){return new bn(this.getSession(),s({},this.pathParameters,{assetId:t}))}assets(){return new Ln(this.getSession(),this.pathParameters)}location(t){return new Un(this.getSession(),s({},this.pathParameters,{locationId:t}))}locations(){return new Mn(this.getSession(),this.pathParameters)}async delete(t){return new Ms(this.session).go(this.pathParameters,void 0,t)}async get(t,s){return new js(this.session).go(this.pathParameters,t,s)}async update(t,s){return new Hs(this.session).go(this.pathParameters,void 0,t,s)}}class Gn extends i{async create(t,s){return new qs(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Js(this.session).go(this.pathParameters,t,s)}}class Vn extends i{async create(t,s){return new Qs(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Xs(this.session).go(this.pathParameters,t,s)}}class Yn extends i{async get(t,s){return new Ks(this.session).go(this.pathParameters,t,s)}}class Hn extends i{async create(t,s){return new zs(this.session).go(this.pathParameters,void 0,t,s)}}class Fn extends i{async get(t,s){return new Zs(this.session).go(this.pathParameters,t,s)}}class qn extends i{async get(t,s){return new te(this.session).go(this.pathParameters,t,s)}}class Bn extends i{async get(t,s){return new se(this.session).go(this.pathParameters,t,s)}}class Qn extends c{async link(t,s){return new ee(this.session).go(this.pathParameters,void 0,t,s)}async unlink(t){return new re(this.session).go(this.pathParameters,void 0,t)}}class Wn extends c{contacts(){return new Gn(this.getSession(),this.pathParameters)}qrCodes(){return new Vn(this.getSession(),this.pathParameters)}history(){return new Yn(this.getSession(),this.pathParameters)}scansExport(){return new Hn(this.getSession(),this.pathParameters)}scansLocation(){return new Fn(this.getSession(),this.pathParameters)}scans(){return new qn(this.getSession(),this.pathParameters)}usermedias(){return new Bn(this.getSession(),this.pathParameters)}contact(t){return new Qn(this.getSession(),s({},this.pathParameters,{contactId:t}))}async delete(t){return new Ws(this.session).go(this.pathParameters,void 0,t)}async get(t,s){return new $s(this.session).go(this.pathParameters,t,s)}async update(t,s){return new ae(this.session).go(this.pathParameters,void 0,t,s)}}class $n extends i{async get(t,s){return new ne(this.session).go(this.pathParameters,t,s)}}class Kn extends c{assets(){return new $n(this.getSession(),this.pathParameters)}}class Jn extends c{async create(t){return new oe(this.session).go(this.pathParameters,void 0,t)}}class Xn extends c{async create(t,s){return new ie(this.session).go(this.pathParameters,void 0,t,s)}}class zn extends c{async get(t,s){return new ce(this.session).go(this.pathParameters,t,s)}}class Zn extends c{async create(t,s){return new ue(this.session).go(this.pathParameters,void 0,t,s)}}class to extends c{async create(t,s){return new he(this.session).go(this.pathParameters,void 0,t,s)}}class so extends c{async get(t){return new de(this.session).go(this.pathParameters,void 0,t)}}class eo extends c{async get(t){return new pe(this.session).go(this.pathParameters,void 0,t)}}class ro extends c{async get(t,s){return new me(this.session).go(this.pathParameters,t,s)}}class ao extends c{async create(t,s){return new Pe(this.session).go(this.pathParameters,void 0,t,s)}}class no extends i{async get(t,s){return new ge(this.session).go(this.pathParameters,t,s)}}class oo extends i{async create(t,s){return new le(this.session).go(this.pathParameters,void 0,t,s)}async delete(t,s){return new Ne(this.session).go(this.pathParameters,t,s)}async get(t,s){return new Ee(this.session).go(this.pathParameters,t,s)}}class io extends i{async get(t,s){return new Ie(this.session).go(this.pathParameters,t,s)}}class co extends i{async create(t,s){return new we(this.session).go(this.pathParameters,void 0,t,s)}}class uo extends i{async create(t,s){return new xe(this.session).go(this.pathParameters,void 0,t,s)}}class ho extends i{async get(t,s){return new Te(this.session).go(this.pathParameters,t,s)}}class po extends i{async get(t){return new ke(this.session).go(this.pathParameters,void 0,t)}}class mo extends c{async link(t,s){return new Ce(this.session).go(this.pathParameters,void 0,t,s)}}class Po extends c{consent(){return new oo(this.getSession(),this.pathParameters)}assets(){return new io(this.getSession(),this.pathParameters)}export(){return new co(this.getSession(),this.pathParameters)}scansExport(){return new uo(this.getSession(),this.pathParameters)}scansLocation(){return new ho(this.getSession(),this.pathParameters)}scans(){return new po(this.getSession(),this.pathParameters)}scan(t){return new mo(this.getSession(),s({},this.pathParameters,{scanId:t}))}async delete(t){return new Se(this.session).go(this.pathParameters,void 0,t)}async get(t){return new Ae(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new _e(this.session).go(this.pathParameters,void 0,t,s)}}class go extends i{async create(t){return new Oe(this.session).go(this.pathParameters,void 0,t)}}class lo extends c{validate(){return new go(this.getSession(),this.pathParameters)}}class No extends i{async create(t){return new Re(this.session).go(this.pathParameters,void 0,t)}}class So extends c{users(){return new No(this.getSession(),this.pathParameters)}async delete(t){return new ve(this.session).go(this.pathParameters,void 0,t)}async get(t){return new De(this.session).go(this.pathParameters,void 0,t)}}class Io extends c{async delete(t){return new fe(this.session).go(this.pathParameters,void 0,t)}async get(t){return new Le(this.session).go(this.pathParameters,void 0,t)}}class Eo extends c{async delete(t){return new be(this.session).go(this.pathParameters,void 0,t)}async invoke(t){return new Ue(this.session).go(this.pathParameters,void 0,t)}}class Ao extends i{async update(t,s){return new Me(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Ge(this.session).go(this.pathParameters,t,s)}}class wo extends c{assets(){return new Ao(this.getSession(),this.pathParameters)}async delete(t,s){return new je(this.session).go(this.pathParameters,t,s)}async update(t,s){return new Ve(this.session).go(this.pathParameters,void 0,t,s)}}class xo extends i{async create(t,s){return new Ye(this.session).go(this.pathParameters,void 0,t,s)}}class To extends i{async get(t){return new He(this.session).go(this.pathParameters,void 0,t)}}class ko extends i{async create(t,s){return new Fe(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new cr(this.session).go(this.pathParameters,t,s)}}class Co extends i{async create(t,s){return new qe(this.session).go(this.pathParameters,void 0,t,s)}}class _o extends i{async create(t,s){return new Be(this.session).go(this.pathParameters,void 0,t,s)}}class yo extends i{async create(t,s){return new Qe(this.session).go(this.pathParameters,void 0,t,s)}}class Oo extends i{async create(t,s){return new We(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Pr(this.session).go(this.pathParameters,t,s)}}class Ro extends i{async create(t,s){return new $e(this.session).go(this.pathParameters,void 0,t,s)}async delete(t,s){return new sr(this.session).go(this.pathParameters,t,s)}}class vo extends i{async create(t,s){return new Ke(this.session).go(this.pathParameters,void 0,t,s)}}class Do extends i{async create(t,s){return new Je(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new Sr(this.session).go(this.pathParameters,t,s)}}class fo extends i{async create(t,s){return new Xe(this.session).go(this.pathParameters,void 0,t,s)}}class bo extends i{async create(t,s){return new ze(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new kr(this.session).go(this.pathParameters,t,s)}}class Lo extends i{async create(t,s){return new Ze(this.session).go(this.pathParameters,void 0,t,s)}}class Uo extends i{async create(t,s){return new tr(this.session).go(this.pathParameters,void 0,t,s)}}class Mo extends c{async delete(t){return new rr(this.session).go(this.pathParameters,void 0,t)}async get(t){return new Tr(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new yr(this.session).go(this.pathParameters,void 0,t,s)}}class jo extends i{async get(t,s){return new ar(this.session).go(this.pathParameters,t,s)}}class Go extends i{async get(t,s){return new nr(this.session).go(this.pathParameters,t,s)}}class Vo extends i{async get(t,s){return new or(this.session).go(this.pathParameters,t,s)}}class Yo extends i{async create(t,s){return new ir(this.session).go(this.pathParameters,void 0,t,s)}}class Ho extends i{async get(t){return new ur(this.session).go(this.pathParameters,void 0,t)}}class Fo extends i{async get(t){return new hr(this.session).go(this.pathParameters,void 0,t)}}class qo extends i{async get(t,s){return new dr(this.session).go(this.pathParameters,t,s)}}class Bo extends i{async get(t,s){return new pr(this.session).go(this.pathParameters,t,s)}}class Qo extends i{async create(t,s){return new mr(this.session).go(this.pathParameters,void 0,t,s)}}class Wo extends i{async get(t,s){return new gr(this.session).go(this.pathParameters,t,s)}}class $o extends i{async create(t,s){return new Nr(this.session).go(this.pathParameters,void 0,t,s)}}class Ko extends i{async get(t,s){return new Ir(this.session).go(this.pathParameters,t,s)}}class Jo extends i{async create(t,s){return new Er(this.session).go(this.pathParameters,void 0,t,s)}}class Xo extends i{async get(t,s){return new Ar(this.session).go(this.pathParameters,t,s)}}class zo extends i{async get(t,s){return new wr(this.session).go(this.pathParameters,t,s)}}class Zo extends i{async get(t,s){return new xr(this.session).go(this.pathParameters,t,s)}}class ti extends i{async get(t,s){return new Cr(this.session).go(this.pathParameters,t,s)}}class si extends c{assets(){return new ko(this.getSession(),this.pathParameters)}jobsAssetbatch(){return new Co(this.getSession(),this.pathParameters)}presignedurlJobsAssetbatch(){return new _o(this.getSession(),this.pathParameters)}assetsBatch(){return new yo(this.getSession(),this.pathParameters)}contacts(){return new Oo(this.getSession(),this.pathParameters)}contactsBatch(){return new Ro(this.getSession(),this.pathParameters)}print(){return new vo(this.getSession(),this.pathParameters)}qrCodes(){return new Do(this.getSession(),this.pathParameters)}selfqueueprint(){return new fo(this.getSession(),this.pathParameters)}smsTemplates(){return new bo(this.getSession(),this.pathParameters)}printJobs(){return new Lo(this.getSession(),this.pathParameters)}templatedPrintPreview(){return new Uo(this.getSession(),this.pathParameters)}smsTemplate(t){return new Mo(this.getSession(),s({},this.pathParameters,{smsTemplateName:t}))}advancedAssetsReport(){return new jo(this.getSession(),this.pathParameters)}advancedContactsReport(){return new Go(this.getSession(),this.pathParameters)}advancedScansReport(){return new Vo(this.getSession(),this.pathParameters)}assetsExport(){return new Yo(this.getSession(),this.pathParameters)}basicAssetsReport(){return new Ho(this.getSession(),this.pathParameters)}basicContactsReport(){return new Fo(this.getSession(),this.pathParameters)}batch(){return new qo(this.getSession(),this.pathParameters)}consent(){return new Bo(this.getSession(),this.pathParameters)}contactsExport(){return new Qo(this.getSession(),this.pathParameters)}assetsMostscanned(){return new Wo(this.getSession(),this.pathParameters)}exportQrCodesScans(){return new $o(this.getSession(),this.pathParameters)}scansDayofweek(){return new Ko(this.getSession(),this.pathParameters)}scansExport(){return new Jo(this.getSession(),this.pathParameters)}scansTimeofday(){return new Xo(this.getSession(),this.pathParameters)}scansTimeline(){return new zo(this.getSession(),this.pathParameters)}scans(){return new Zo(this.getSession(),this.pathParameters)}usermedias(){return new ti(this.getSession(),this.pathParameters)}async delete(t){return new er(this.session).go(this.pathParameters,void 0,t)}async get(t){return new lr(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new _r(this.session).go(this.pathParameters,void 0,t,s)}}class ei extends c{async get(t){return new Or(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new Rr(this.session).go(this.pathParameters,void 0,t,s)}}class ri extends c{async delete(t){return new vr(this.session).go(this.pathParameters,void 0,t)}async get(t,s){return new Dr(this.session).go(this.pathParameters,t,s)}async update(t,s){return new fr(this.session).go(this.pathParameters,void 0,t,s)}}class ai extends i{async create(t,s){return new br(this.session).go(this.pathParameters,void 0,t,s)}}class ni extends i{async send(t,s){return new Mr(this.session).go(this.pathParameters,void 0,t,s)}}class oi extends i{async send(t,s){return new jr(this.session).go(this.pathParameters,void 0,t,s)}}class ii extends i{async update(t,s){return new Gr(this.session).go(this.pathParameters,void 0,t,s)}}class ci extends c{contacts(){return new ai(this.getSession(),this.pathParameters)}email(){return new ni(this.getSession(),this.pathParameters)}sms(){return new oi(this.getSession(),this.pathParameters)}customAttribute(){return new ii(this.getSession(),this.pathParameters)}async get(t,s){return new Lr(this.session).go(this.pathParameters,t,s)}async update(t,s){return new Ur(this.session).go(this.pathParameters,void 0,t,s)}}class ui extends c{async delete(t){return new Vr(this.session).go(this.pathParameters,void 0,t)}async get(t){return new Fr(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new Qr(this.session).go(this.pathParameters,void 0,t,s)}}class hi extends c{async delete(t){return new Yr(this.session).go(this.pathParameters,void 0,t)}async get(t){return new qr(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new Wr(this.session).go(this.pathParameters,void 0,t,s)}}class di extends c{async delete(t){return new Hr(this.session).go(this.pathParameters,void 0,t)}async get(t){return new Br(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new $r(this.session).go(this.pathParameters,void 0,t,s)}}class pi extends c{async link(t,s){return new ra(this.session).go(this.pathParameters,void 0,t,s)}async unlink(t){return new ta(this.session).go(this.pathParameters,void 0,t)}}class mi extends c{async link(t){return new Xr(this.session).go(this.pathParameters,void 0,t)}async unlink(t){return new sa(this.session).go(this.pathParameters,void 0,t)}}class Pi extends c{async link(t){return new zr(this.session).go(this.pathParameters,void 0,t)}async unlink(t){return new ea(this.session).go(this.pathParameters,void 0,t)}}class gi extends c{asset(t){return new pi(this.getSession(),s({},this.pathParameters,{assetId:t}))}project(t){return new mi(this.getSession(),s({},this.pathParameters,{projectId:t}))}scan(t){return new Pi(this.getSession(),s({},this.pathParameters,{scanId:t}))}async get(t){return new Kr(this.session).go(this.pathParameters,void 0,t)}}class li extends i{async create(t,s){return new aa(this.session).go(this.pathParameters,void 0,t,s)}async get(t,s){return new na(this.session).go(this.pathParameters,t,s)}}class Ni extends i{async get(t,s){return new oa(this.session).go(this.pathParameters,t,s)}}class Si extends i{async get(t,s){return new ia(this.session).go(this.pathParameters,t,s)}}class Ii extends i{async get(t){return new ua(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new ha(this.session).go(this.pathParameters,void 0,t,s)}}class Ei extends c{settings(){return new Ii(this.getSession(),this.pathParameters)}}class Ai extends c{accounts(){return new li(this.getSession(),this.pathParameters)}errors(){return new Ni(this.getSession(),this.pathParameters)}invitations(){return new Si(this.getSession(),this.pathParameters)}path(t){return new Ei(this.getSession(),s({},this.pathParameters,{path:t}))}async get(t){return new ca(this.session).go(this.pathParameters,void 0,t)}async update(t,s){return new da(this.session).go(this.pathParameters,void 0,t,s)}}class wi extends i{async create(t){return new pa(this.session).go(this.pathParameters,void 0,t)}}class xi extends i{async create(t){return new ma(this.session).go(this.pathParameters,void 0,t)}}class Ti extends i{async create(t,s){return new Pa(this.session).go(this.pathParameters,void 0,t,s)}}class ki extends i{async create(t,s){return new ga(this.session).go(this.pathParameters,void 0,t,s)}}class Ci extends c{sessionactions(){return new ki(this.getSession(),this.pathParameters)}async get(t,s){return new la(this.session).go(this.pathParameters,t,s)}async update(t,s){return new Na(this.session).go(this.pathParameters,void 0,t,s)}}class _i extends i{async create(t,s){return new Sa(this.session).go(this.pathParameters,void 0,t,s)}}class yi extends i{async get(t){return new Ta(this.session).go(this.pathParameters,void 0,t)}async create(t){return new xa(this.session).go(this.pathParameters,void 0,t)}}class Oi extends i{async get(t,s){return new Ea(this.session).go(this.pathParameters,t,s)}}class Ri extends i{async get(t,s){return new Aa(this.session).go(this.pathParameters,t,s)}}class vi extends i{async create(t,s){return new wa(this.session).go(this.pathParameters,void 0,t,s)}}class Di extends i{async create(t){return new ka(this.session).go(this.pathParameters,void 0,t)}}class fi extends i{async resend(t,s){return new Ca(this.session).go(this.pathParameters,void 0,t,s)}}class bi extends i{async reset(t,s){return new _a(this.session).go(this.pathParameters,void 0,t,s)}}class Li extends i{account(t){return new Tn(this.getSession(),s({},this.pathParameters,{accountId:t}))}apikey(t){return new Cn(this.getSession(),s({},this.pathParameters,{apiKeyId:t}))}app(t){return new On(this.getSession(),s({},this.pathParameters,{appId:t}))}apps(){return new Rn(this.getSession(),this.pathParameters)}appsPublished(){return new vn(this.getSession(),this.pathParameters)}appsAccount(t){return new fn(this.getSession(),s({},this.pathParameters,{appAccountId:t}))}assettype(t){return new jn(this.getSession(),s({},this.pathParameters,{assetTypeId:t}))}asset(t){return new Wn(this.getSession(),s({},this.pathParameters,{assetId:t}))}batch(t){return new Kn(this.getSession(),s({},this.pathParameters,{batchId:t}))}billingCancelDowngrade(t){return new Jn(this.getSession(),s({},this.pathParameters,{accountId:t}))}billingCancelSubscription(t){return new Xn(this.getSession(),s({},this.pathParameters,{accountId:t}))}upgradePlanBillingPreview(t){return new zn(this.getSession(),s({},this.pathParameters,{accountId:t}))}billingSetupIntent(t){return new Zn(this.getSession(),s({},this.pathParameters,{accountId:t}))}billingDowngradePlan(t){return new to(this.getSession(),s({},this.pathParameters,{accountId:t}))}billingDetail(t){return new so(this.getSession(),s({},this.pathParameters,{accountId:t}))}billingCurrentPeriod(t){return new eo(this.getSession(),s({},this.pathParameters,{accountId:t}))}billingInvoice(t){return new ro(this.getSession(),s({},this.pathParameters,{accountId:t}))}billingUpgradePlan(t){return new ao(this.getSession(),s({},this.pathParameters,{accountId:t}))}careAccounts(){return new no(this.getSession(),this.pathParameters)}contact(t){return new Po(this.getSession(),s({},this.pathParameters,{contactId:t}))}file(t){return new lo(this.getSession(),s({},this.pathParameters,{fileId:t}))}invitation(t){return new So(this.getSession(),s({},this.pathParameters,{invitationId:t}))}job(t){return new Io(this.getSession(),s({},this.pathParameters,{jobId:t}))}printJob(t){return new Eo(this.getSession(),s({},this.pathParameters,{printJobId:t}))}location(t){return new wo(this.getSession(),s({},this.pathParameters,{locationId:t}))}support(){return new xo(this.getSession(),this.pathParameters)}pricePlans(){return new To(this.getSession(),this.pathParameters)}project(t){return new si(this.getSession(),s({},this.pathParameters,{projectId:t}))}qrcodelogo(t){return new ei(this.getSession(),s({},this.pathParameters,{qrCodeLogoId:t}))}qrCode(t){return new ri(this.getSession(),s({},this.pathParameters,{qrCodeId:t}))}scan(t){return new ci(this.getSession(),s({},this.pathParameters,{scanId:t}))}printPageTemplate(t){return new ui(this.getSession(),s({},this.pathParameters,{printPageTemplateId:t}))}printStickerTemplate(t){return new hi(this.getSession(),s({},this.pathParameters,{printStickerTemplateId:t}))}stylingtemplate(t){return new di(this.getSession(),s({},this.pathParameters,{stylingTemplateId:t}))}usermedia(t){return new gi(this.getSession(),s({},this.pathParameters,{mediaId:t}))}user(t){return new Ai(this.getSession(),s({},this.pathParameters,{userId:t}))}webhookSms(){return new wi(this.getSession(),this.pathParameters)}webhookSmsStatus(){return new xi(this.getSession(),this.pathParameters)}webhookStripe(){return new Ti(this.getSession(),this.pathParameters)}websession(t){return new Ci(this.getSession(),s({},this.pathParameters,{sessionId:t}))}passwordAuthUser(){return new _i(this.getSession(),this.pathParameters)}authSession(){return new yi(this.getSession(),this.pathParameters)}authConfirm(){return new Oi(this.getSession(),this.pathParameters)}invitedAuthConfirm(){return new Ri(this.getSession(),this.pathParameters)}authUser(){return new vi(this.getSession(),this.pathParameters)}refreshAuthSession(){return new Di(this.getSession(),this.pathParameters)}confirmationAuthUser(){return new fi(this.getSession(),this.pathParameters)}resetAuthUser(){return new bi(this.getSession(),this.pathParameters)}}const Ui="internal-JG0adajZUHU";class Mi{constructor(){this.debugConfig=!1,this.debugAuth=!1,this.debugRequest=!1,this.debugResponse=!1,this.debugError=!1,this.debugQuery=!1,this.debugOptions=!1,this.exp=0}getConfig(){throw Error("no session")}getCloudConfig(){throw Error("no session")}getAxios(){throw Error("no session")}authorize(){throw Error("no session")}getUser(){throw Error("no session")}getSignedInUser(){throw Error("no session")}signUpUser(){throw Error("no session")}changePassword(){throw Error("no session")}signOut(){throw Error("no session")}}class ji extends Li{constructor(){super(new Mi,{}),this._config=void 0,this.cloudConfigName=void 0,this.cloudConfig=void 0,this.axios=void 0,this.debugConfig=!1,this.debugAuth=!1,this.debugRequest=!1,this.debugResponse=!1,this.debugError=!1,this.debugQuery=!1,this.debugOptions=!1,this.exp=void 0,this._user=void 0,this.exp=0;let{OS_DEBUG:t}=process.env;if(t){let s;switch(console.log(`OS_DEBUG=${t}`),t=t.toLowerCase(),t){case"all":this.debugConfig=!0,this.debugAuth=!0,this.debugRequest=!0,this.debugResponse=!0,this.debugError=!0,this.debugQuery=!0,this.debugOptions=!0;break;case"none":case"off":case"false":case"":this.debugConfig=!1,this.debugAuth=!1,this.debugRequest=!1,this.debugResponse=!1,this.debugError=!1,this.debugQuery=!1,this.debugOptions=!1;break;default:s=t.split(","),this.debugConfig=s.includes("config"),this.debugAuth=s.includes("auth"),this.debugRequest=s.includes("request"),this.debugResponse=s.includes("response"),this.debugError=s.includes("error"),this.debugQuery=s.includes("query"),this.debugOptions=s.includes("options"),this.debugConfig||this.debugAuth||this.debugRequest||this.debugResponse||this.debugError||this.debugQuery||this.debugOptions||console.warn(`Openscreen: OS_DEBUG environment var has invalid value: '${process.env.OS_DEBUG}'`)}}}getSession(){return this}config(t){if(this._config)throw Error("Openscreen: client is already configured");if(!t.key)throw Error("Openscreen: invalid config, provide API key and secret, or email and password");if(!t.secret)throw Error("Openscreen: invalid config, secret is missing");return"string"==typeof t.environment?this.cloudConfigName=t.environment:"object"==typeof t.environment?this.cloudConfig=Promise.resolve(t.environment):this.cloudConfigName=Ui,this._config=t,this}getConfig(){if(!this._config)throw Error("Openscreen: client must be configured before accessing resources");return this._config}async getSignedInUser(t){this.cloudConfigName=t||Ui;const s=await this.getCloudConfig();this.debugAuth&&console.info("Openscreen AUTH: refreshing using axios cookie"),await this.getAxios();const e=await this.axios.post(`${s.endpoint}/auth/session/refresh`);if(403===e.status||500===e.status)throw Error("Openscreen AUTH: User is not signed in");if(200===e.status){const{expires:t,user:s}=e.data;return this._user=s,this.debugAuth&&console.info(`Openscreen AUTH: authorized '${s.userId}' until expiry=${t}`),this.exp=t,s}}async signUpUser(t,s){this.cloudConfigName=s||Ui;const e=await this.getCloudConfig();this.debugAuth&&console.info("Openscreen AUTH: signing up User"),await this.getAxios();const r=await this.axios.post(`${e.endpoint}/auth/user`,t);if(403===r.status||500===r.status)throw Error("Openscreen AUTH: User Sign Up failed");return(200===r.status||204===r.status)&&(this.debugAuth&&console.info("Openscreen AUTH: Signed up user"),!0)}async checkSession(t){this.cloudConfigName=t||Ui;const s=await this.getCloudConfig();this.debugAuth&&console.info("Openscreen AUTH: checking session"),await this.getAxios();const e=await this.axios.get(`${s.endpoint}/auth/session`);if(403===e.status||500===e.status)throw Error("Openscreen AUTH: User is not signed in");return!0}async authorize(){const t=await this.getCloudConfig();if(this.exp>(new Date).getTime())return;if(0!==this.exp){this.debugAuth&&console.info("Openscreen AUTH: refreshing using axios cookie"),await this.getAxios();const s=await this.axios.post(`${t.endpoint}/auth/session/refresh`);if(403===s.status||500===s.status)throw Error("Openscreen AUTH: Refreshing failed, exiting");if(200===s.status){const{expires:t,user:e}=s.data;return this._user=e,this.debugAuth&&console.info(`Openscreen AUTH: authorized '${e.userId}' until expiry=${t}`),void(this.exp=t)}}const e=this.getConfig();if(this.debugConfig){const t=s({},e);t.secret&&(t.secret="*".repeat(t.secret.length)),console.debug(`Openscreen CONFIG: ${JSON.stringify(t,null,2)}`)}let r,a;this.debugConfig&&console.debug(`Openscreen CONFIG: (environment) ${JSON.stringify(t,null,2)}`),r=e.key,a=e.secret,this.debugAuth&&console.info(`Openscreen AUTH: authorizing '${r}'`),await this.getAxios();const n=await this.axios.post(`${t.endpoint}/auth/session`,{email:r,password:a});if(403===n.status||500===n.status)throw Error("Openscreen AUTH: authentication failed");if(200===n.status){const{expires:t,user:s}=n.data;this._user=s,this.debugAuth&&console.info(`Openscreen AUTH: authorized '${r}' until expiry=${t}`),this.exp=t}}getUser(){return this._user}async getCloudConfig(){if(!this.cloudConfig){if(!this.cloudConfigName)throw Error("Openscreen: environment name missing");this.cloudConfig=async function(s){const e=t.create({baseURL:"https://config.openscreen.com",timeout:25e3,responseType:"json",maxContentLength:10240,maxBodyLength:10240,maxRedirects:1,decompress:!0}),r=await e.get(`${s}.json`).catch(t=>{throw new Error(`Openscreen: unable to load cloud configuration '${s}': ${t.message}`)}),{data:a}=r;return a}(this.cloudConfigName)}return this.cloudConfig}async getAxios(){if(this.axios)return this.axios;const s=await this.getCloudConfig();return this.axios=t.create(s.axios||{timeout:25e3,responseType:"json",maxContentLength:1048576,maxBodyLength:1048576,maxRedirects:1,decompress:!0}),t}async changePassword(t,s){const e=await this.getCloudConfig();await this.getAxios();const r=await this.axios.post(`${e.endpoint}/auth/user/password`,{password:t,newPassword:s});if(200===r.status)return!0;throw this.debugAuth&&console.log("password change failed for the current user, got the error",r.data),new Error("Failed to change password")}async signOut(){const t=await this.getCloudConfig();await this.getAxios();const s=await this.axios.delete(`${t.endpoint}/auth/session`);if(200!==s.status)throw this.debugAuth&&console.log("Sign out failed, response body is ",s.data),new Error("Failed to sign out")}}export{u as AccountSortingTypes,h as AccountStatus,d as AccountType,p as AccountUserRole,Ss as AdvanceStripeClockByAccountIdRequest,m as AssetByAssetTypeSortingTypes,P as AssetCreationFileTypes,g as AssetSortingTypes,l as AssetTypeSortingTypes,N as AssetTypeUsabilityState,S as AuthMessageId,I as AuthTokenScope,E as AuthTypes,A as CampaignUseCaseCategory,oe as CancelDowngradeRequestRequest,ie as CancelSubscriptionRequest,Sa as ChangePasswordRequest,ce as ChangeSubscriptionPreviewRequest,Pe as ChangeSubscriptionRequest,Ia as CheckSessionRequest,Pt as CheckUrlSafetyByAccountIdRequest,Ls as ComposeAssetByAssetTypeRequest,Aa as ConfirmInvitedRequest,Ea as ConfirmRequest,w as ConsentStatus,x as ConsentType,T as ContactAssetSortingTypes,k as ContactSortingTypes,aa as CreateAccountByUserIdRequest,gt as CreateApiKeyByAccountIdRequest,lt as CreateAppRequest,Us as CreateAssetByAssetTypeRequest,Fe as CreateAssetByProjectIdRequest,qe as CreateAssetCreationJobByProjectIdRequest,Be as CreateAssetCreationPresignedUrlRequest,Nt as CreateAssetTypeByAccountIdRequest,Qe as CreateAssetsByProjectIdRequest,Ns as CreateCampaignAccountByAccountIdRequest,le as CreateConsentByContactIdRequest,qs as CreateContactByAssetIdRequest,We as CreateContactByProjectIdRequest,br as CreateContactByScanIdRequest,$e as CreateContactsByProjectIdRequest,St as CreateImageUploadPresignedUrlRequest,It as CreateInvitationByAccountIdRequest,Et as CreateInvitationsByAccountIdRequest,At as CreateLocationByAccountIdRequest,Ke as CreatePrintJobByProjectIdRequest,wt as CreatePrintPageTemplateByAccountIdRequest,xt as CreatePrintStickerTemplateByAccountIdRequest,Tt as CreateProjectByAccountIdRequest,Bs as CreateQrCodeByAssetIdRequest,Je as CreateQrCodeByProjectIdRequest,kt as CreateQrCodeLogoByAccountRequest,Ct as CreateQrCodeStylingTemplateByAccountRequest,Qs as CreateQrCodesByAssetIdRequest,_t as CreateQueryableCustomAttributeRequest,Xe as CreateSelfQueuePrintJobByProjectIdRequest,ga as CreateSessionActionsRequest,ue as CreateSetupIntentRequest,pa as CreateSmsResponseRequest,ze as CreateSmsTemplateByProjectIdRequest,Ze as CreateTemplatedPrintJobByProjectIdRequest,tr as CreateTemplatedPrintPreviewByProjectIdRequest,yt as CreateTicketByAccountIdRequest,Re as CreateUserByInvitationIdRequest,Ot as CreateUserMediaPresignedUrlByAccountIdRequest,wa as CreateUserRequest,Ws as DeleteAssetRequest,Ms as DeleteAssetTypeRequest,Ne as DeleteConsentByContactIdRequest,Se as DeleteContactRequest,Rt as DeleteContactsByAccountIdRequest,sr as DeleteContactsByProjectIdRequest,ve as DeleteInvitationRequest,fe as DeleteJobRequest,je as DeleteLocationRequest,be as DeletePrintJobRequest,Vr as DeletePrintPageTemplateRequest,Yr as DeletePrintStickerTemplateRequest,er as DeleteProjectRequest,vr as DeleteQrCodeRequest,Hr as DeleteQrCodeStylingTemplateByStylingTemplateIdRequest,Ta as DeleteSessionRequest,rr as DeleteSmsTemplateByProjectIdRequest,vt as DeleteUserByAccountIdRequest,he as DowngradePlanRequest,C as EntitySources,_ as FieldType,y as FilePurpose,O as FileStatus,Dt as GetAccountRequest,na as GetAccountsByUserIdRequest,ft as GetAdvancedAssetReportByAccountIdRequest,ar as GetAdvancedAssetReportByProjectIdRequest,bt as GetAdvancedContactReportByAccountIdRequest,nr as GetAdvancedContactReportByProjectIdRequest,Lt as GetAdvancedScanReportByAccountIdRequest,or as GetAdvancedScanReportByProjectIdRequest,ge as GetAllAccountsRequest,Ut as GetAllAppsByAccountIdRequest,Ts as GetApiKeyRequest,ks as GetApiKeySecretRequest,Mt as GetApiKeysByAccountIdRequest,fs as GetAppAccountByAppAccountIdRequest,ys as GetAppByAppIdRequest,Os as GetAppsRequest,jt as GetAssetExportByAccountIdRequest,ir as GetAssetExportByProjectIdRequest,Ks as GetAssetHistoryRequest,$s as GetAssetRequest,js as GetAssetTypeByAssetTypeIdRequest,Gs as GetAssetTypeCountAtLocationRequest,Ys as GetAssetTypeCountsByLocationRequest,Gt as GetAssetTypesByAccountIdRequest,Vt as GetAssetsByAccountIdRequest,Vs as GetAssetsByAssetTypeRequest,ne as GetAssetsByBatchIdRequest,Ie as GetAssetsByContactIdRequest,Ge as GetAssetsByLocationIdRequest,cr as GetAssetsByProjectIdRequest,Yt as GetBasicAssetReportByAccountIdRequest,ur as GetBasicAssetReportByProjectIdRequest,Ht as GetBasicContactReportByAccountIdRequest,hr as GetBasicContactReportByProjectIdRequest,Ft as GetBatchesByAccountIdRequest,dr as GetBatchesByProjectIdRequest,de as GetBillingDetailsRequest,qt as GetConsentByAccountIdRequest,Ee as GetConsentByContactIdRequest,pr as GetConsentByProjectIdRequest,Bt as GetContactExportByAccountIdRequest,we as GetContactExportByContactIdRequest,mr as GetContactExportByProjectIdRequest,Ae as GetContactRequest,Qt as GetContactsByAccountIdRequest,Js as GetContactsByAssetIdRequest,Pr as GetContactsByProjectIdRequest,pe as GetCurrentPeriodRequest,oa as GetErrorsByUserIdRequest,ye as GetFileRequest,Wt as GetInstalledAppsByAccountIdRequest,De as GetInvitationRequest,ia as GetInvitationsByUserIdRequest,me as GetInvoicesRequest,Le as GetJobRequest,$t as GetJobsByAccountIdRequest,Kt as GetLocationsByAccountIdRequest,bs as GetMainAccountByAppAccountIdRequest,Kr as GetMediaRequest,Jt as GetMostScannedAssetsByAccountIdRequest,gr as GetMostScannedAssetsByProjectIdRequest,Xt as GetPricePlanByAccountIdRequest,He as GetPricePlansRequest,zt as GetPrintJobsByAccountIdRequest,Fr as GetPrintPageTemplateRequest,Zt as GetPrintPageTemplatesByAccountIdRequest,qr as GetPrintStickerTemplateRequest,ts as GetPrintStickerTemplatesByAccountIdRequest,lr as GetProjectByProjectIdRequest,ss as GetProjectsByAccountIdRequest,Rs as GetPublishedAppsRequest,Or as GetQrCodeLogoByQrCodeLogoIdRequest,es as GetQrCodeLogosByAccountIdRequest,Dr as GetQrCodeRequest,Nr as GetQrCodeScansExportByProjectIdRequest,Br as GetQrCodeStylingTemplateByStylingTemplateIdRequest,as as GetQrCodeStylingTemplatesByAccountIdRequest,ns as GetQrCodesByAccountIdRequest,Xs as GetQrCodesByAssetIdRequest,Sr as GetQrCodesByProjectIdRequest,rs as GetQrcodeScansExportByAccountIdRequest,os as GetQueryableCustomAttributeRequest,is as GetScanDayOfWeekByAccountIdRequest,Ir as GetScanDayOfWeekByProjectIdRequest,cs as GetScanExportByAccountIdRequest,zs as GetScanExportByAssetIdRequest,xe as GetScanExportByContactIdRequest,Er as GetScanExportByProjectIdRequest,Zs as GetScanLocationDataByAssetIdRequest,Te as GetScanLocationDataByContactIdRequest,Lr as GetScanRequest,us as GetScanTimeOfDayByAccountIdRequest,Ar as GetScanTimeOfDayByProjectIdRequest,hs as GetScanTimelineByAccountIdRequest,wr as GetScanTimelineByProjectIdRequest,ds as GetScansByAccountIdRequest,te as GetScansByAssetIdRequest,ke as GetScansByContactIdRequest,xr as GetScansByProjectIdRequest,xa as GetSessionRequest,Tr as GetSmsTemplateByProjectIdRequest,kr as GetSmsTemplatesByProjectIdRequest,ps as GetUserByAccountIdRequest,ms as GetUserMediasByAccountIdRequest,se as GetUserMediasByAssetIdRequest,Cr as GetUserMediasByProjectIdRequest,ca as GetUserRequest,ua as GetUserSettingsByUserIdRequest,Ps as GetUsersByAccountIdRequest,la as GetWebSessionRequest,gs as InstallAppToAccountRequest,R as InternalProductName,v as InvoiceStatus,Ue as InvokePrintJobByJobIdRequest,D as JobStatus,f as JobType,b as Label,ee as LinkContactToAssetRequest,Ce as LinkContactToScanRequest,Jr as LinkMediaToAssetRequest,Xr as LinkMediaToProjectRequest,zr as LinkMediaToScanRequest,Zr as LinkMediasRequest,vs as LoadAppRequest,L as LocationSortingTypes,ji as Openscreen,U as OpenscreenEmails,M as PricePlanName,j as PricePlanPaymentPeriod,G as PricePlanReporting,V as PrintFormat,Y as PrintMode,H as PrintOrientation,F as PrintTemplate,q as PrintUnit,B as ProjectSortingTypes,Q as ProjectStatus,W as QrCodeCornerDotTypes,$ as QrCodeCornerSquareTypes,K as QrCodeDotTypes,J as QrCodeDynamicRedirectType,X as QrCodeErrorCorrectionLevel,z as QrCodeGradientTypes,Z as QrCodeIntentType,tt as QrCodeLocatorKeyType,st as QrCodeSortingTypes,et as QrCodeStatus,rt as QrCodeType,at as QueryConditions,ka as RefreshSessionRequest,Ca as ResendConfirmationRequest,Cs as ResetApiKeySecretRequest,_a as ResetPasswordRequest,ls as RetrieveCampaignStatusByAccountIdRequest,Ur as SaveGeolocationByScanIdRequest,nt as ScanTimelineOptions,Qa as SdkAccountAdvancedAssetsReportResources,Wa as SdkAccountAdvancedContactsReportResources,$a as SdkAccountAdvancedScansReportResources,Oa as SdkAccountApikeysResources,Sn as SdkAccountAppInstallResources,In as SdkAccountAppResource,Ra as SdkAccountAppsResources,Ja as SdkAccountAssetsExportResources,nn as SdkAccountAssetsMostscannedResources,Xa as SdkAccountAssetsResources,va as SdkAccountAssettypesResources,za as SdkAccountBasicAssetsReportResources,Za as SdkAccountBasicContactsReportResources,tn as SdkAccountBatchResources,En as SdkAccountCampaignInformationResources,An as SdkAccountClockResources,sn as SdkAccountConsentResources,qa as SdkAccountContactsBatchResources,en as SdkAccountContactsExportResources,rn as SdkAccountContactsResources,Ya as SdkAccountCustomattributesResources,wn as SdkAccountEngagePricePlanResources,un as SdkAccountExportQrCodesScansResources,Da as SdkAccountImageUploadResources,ba as SdkAccountInvitationsBatchResources,fa as SdkAccountInvitationsResources,an as SdkAccountJobsResources,La as SdkAccountLocationsResources,Ka as SdkAccountOwnerAppsResources,on as SdkAccountPricePlanResources,cn as SdkAccountPrintJobsResources,Ua as SdkAccountPrintPageTemplatesResources,Ma as SdkAccountPrintStickerTemplatesResources,ja as SdkAccountProjectsResources,hn as SdkAccountQrCodesResources,Ga as SdkAccountQrcodelogosResources,xn as SdkAccountQrcodelogosUploadResources,Tn as SdkAccountResource,dn as SdkAccountScansDayofweekResources,pn as SdkAccountScansExportResources,gn as SdkAccountScansResources,Pn as SdkAccountScansTimelineResources,mn as SdkAccountScansTimeofdayResources,Va as SdkAccountStylingtemplatesResources,ya as SdkAccountUrlSafetiesResources,Ba as SdkAccountUserResource,Fa as SdkAccountUsermediasPresignedurlResources,ln as SdkAccountUsermediasResources,Nn as SdkAccountUsersResources,Ha as SdkAccountZendeskTicketResources,Cn as SdkApikeyResource,kn as SdkApikeySecretResources,_n as SdkAppAccountLoadResources,yn as SdkAppAccountResource,On as SdkAppResource,Dn as SdkAppsAccountMainResources,fn as SdkAppsAccountResource,vn as SdkAppsPublishedResources,Rn as SdkAppsResources,Qn as SdkAssetContactResource,Gn as SdkAssetContactsResources,Yn as SdkAssetHistoryResources,Vn as SdkAssetQrCodesResources,Wn as SdkAssetResource,Hn as SdkAssetScansExportResources,Fn as SdkAssetScansLocationResources,qn as SdkAssetScansResources,Bn as SdkAssetUsermediasResources,bn as SdkAssettypeAssetResource,Ln as SdkAssettypeAssetsResources,Un as SdkAssettypeLocationResource,Mn as SdkAssettypeLocationsResources,jn as SdkAssettypeResource,Oi as SdkAuthConfirmResources,yi as SdkAuthSessionResources,vi as SdkAuthUserResources,$n as SdkBatchAssetsResources,Kn as SdkBatchResource,Jn as SdkBillingCancelDowngradeResource,Xn as SdkBillingCancelSubscriptionResource,eo as SdkBillingCurrentPeriodResource,so as SdkBillingDetailResource,to as SdkBillingDowngradePlanResource,ro as SdkBillingInvoiceResource,Zn as SdkBillingSetupIntentResource,ao as SdkBillingUpgradePlanResource,no as SdkCareAccountsResources,fi as SdkConfirmationAuthUserResources,io as SdkContactAssetsResources,oo as SdkContactConsentResources,co as SdkContactExportResources,Po as SdkContactResource,mo as SdkContactScanResource,uo as SdkContactScansExportResources,ho as SdkContactScansLocationResources,po as SdkContactScansResources,lo as SdkFileResource,go as SdkFileValidateResources,So as SdkInvitationResource,No as SdkInvitationUsersResources,Ri as SdkInvitedAuthConfirmResources,Io as SdkJobResource,Ao as SdkLocationAssetsResources,wo as SdkLocationResource,_i as SdkPasswordAuthUserResources,To as SdkPricePlansResources,Eo as SdkPrintJobResource,ui as SdkPrintPageTemplateResource,hi as SdkPrintStickerTemplateResource,jo as SdkProjectAdvancedAssetsReportResources,Go as SdkProjectAdvancedContactsReportResources,Vo as SdkProjectAdvancedScansReportResources,yo as SdkProjectAssetsBatchResources,Yo as SdkProjectAssetsExportResources,Wo as SdkProjectAssetsMostscannedResources,ko as SdkProjectAssetsResources,Ho as SdkProjectBasicAssetsReportResources,Fo as SdkProjectBasicContactsReportResources,qo as SdkProjectBatchResources,Bo as SdkProjectConsentResources,Ro as SdkProjectContactsBatchResources,Qo as SdkProjectContactsExportResources,Oo as SdkProjectContactsResources,$o as SdkProjectExportQrCodesScansResources,Co as SdkProjectJobsAssetbatchResources,_o as SdkProjectPresignedurlJobsAssetbatchResources,Lo as SdkProjectPrintJobsResources,vo as SdkProjectPrintResources,Do as SdkProjectQrCodesResources,si as SdkProjectResource,Ko as SdkProjectScansDayofweekResources,Jo as SdkProjectScansExportResources,Zo as SdkProjectScansResources,zo as SdkProjectScansTimelineResources,Xo as SdkProjectScansTimeofdayResources,fo as SdkProjectSelfqueueprintResources,Mo as SdkProjectSmsTemplateResource,bo as SdkProjectSmsTemplatesResources,Uo as SdkProjectTemplatedPrintPreviewResources,ti as SdkProjectUsermediasResources,ri as SdkQrCodeResource,ei as SdkQrcodelogoResource,Di as SdkRefreshAuthSessionResources,bi as SdkResetAuthUserResources,Li as SdkResources,ai as SdkScanContactsResources,ii as SdkScanCustomAttributeResources,ni as SdkScanEmailResources,ci as SdkScanResource,oi as SdkScanSmsResources,di as SdkStylingtemplateResource,xo as SdkSupportResources,zn as SdkUpgradePlanBillingPreviewResource,li as SdkUserAccountsResources,Ni as SdkUserErrorsResources,Si as SdkUserInvitationsResources,Ei as SdkUserPathResource,Ii as SdkUserPathSettingsResources,Ai as SdkUserResource,pi as SdkUsermediaAssetResource,mi as SdkUsermediaProjectResource,gi as SdkUsermediaResource,Pi as SdkUsermediaScanResource,wi as SdkWebhookSmsResources,xi as SdkWebhookSmsStatusResources,Ti as SdkWebhookStripeResources,Ci as SdkWebsessionResource,ki as SdkWebsessionSessionactionsResources,Mr as SendEmailByScanIdRequest,jr as SendSmsByScanIdRequest,Ye as SendSupportEmailRequest,ha as SetUserSettingsByUserIdRequest,ma as SmsStatusUpdateRequest,ot as StickerShape,Pa as StripeEventRequest,it as TagActions,ct as TagStates,re as UnlinkContactToAssetRequest,ta as UnlinkMediaToAssetRequest,sa as UnlinkMediaToProjectRequest,ea as UnlinkMediaToScanRequest,ra as UnlinkMediasRequest,Is as UpdateAccountRequest,_s as UpdateApiKeyRequest,Ds as UpdateAppByAppIdRequest,ae as UpdateAssetRequest,Fs as UpdateAssetTypeCountAtLocationRequest,Hs as UpdateAssetTypeRequest,Me as UpdateAssetsLocationsRequest,_e as UpdateContactRequest,Es as UpdateEngagePricePlanRequest,Ve as UpdateLocationRequest,As as UpdatePricePlanByAccountIdRequest,Qr as UpdatePrintPageTemplateRequest,Wr as UpdatePrintStickerTemplateRequest,_r as UpdateProjectByProjectIdRequest,Rr as UpdateQrCodeLogoByQrCodeLogoIdRequest,fr as UpdateQrCodeRequest,$r as UpdateQrCodeStylingTemplateByStylingTemplateIdRequest,Gr as UpdateScanCustomAttributeRequest,yr as UpdateSmsTemplateRequest,ws as UpdateUserByAccountIdRequest,da as UpdateUserRequest,Na as UpdateWebSessionRequest,xs as UploadQrCodeLogoByAccountRequest,ut as UserCredentialsStatus,ht as UserGroups,dt as UserMediaFileTypes,pt as UserMediaSortingTypes,mt as UserSettingsDomain,Oe as ValidateFileRequest};
|
|
2
2
|
//# sourceMappingURL=index.modern.mjs.map
|