UNPKG

zaions-tool-kit

Version:

Zaions Tool Kit, this is generic tool kit package created by Zaions Dev Team (https://zaions.com), there are two other packages named "@zaionsofficial/server-tool-kit" and "@zaionsofficial/client-tool-kit" while this package is generic and contains code w

2 lines 20.5 kB
'use strict';require('crypto-js'),require('dayjs');var c=(g,f="Duplicate enumObject value found:")=>{let r=Object.values(g),a=new Set;for(let d of r){if(a.has(d))throw new Error(`${f} ${d}, for enumObject: ${g}`);a.add(d);}};var T=(t=>(t.id="id",t.userId="uid",t.sortOrderNo="so",t.createdAt="cat",t.updatedAt="uat",t.deletedAt="dat",t.blockedAt="bat",t.amount="am",t.userData="ud",t.playerId="pid",t.otherPlayerId="opid",t.extraData="ed",t.playerData="pdt",t.name="n",t.email="e",t.phoneNumber="pn",t.password="pw",t.withdrawOptions="wos",t.cnic="cn",t.city="ci",t.country="cu",t.address="ad",t.referredBy="rfb",t.referralCode="rfc",t.permissions="pms",t.emailVerifiedAt="eva",t.balance="blc",t.role="r",t.firstName="fn",t.lastName="lne",t.age="a",t.gender="g",t.constellation="const",t.hometown="ht",t.language="lang",t.profileCompletePercentageNumber="pcpn",t.birthdayDate="bdt",t.aboutMe="abm",t.hobbies="hs",t.lifeStyle="ls",t.music="mc",t.movies="mos",t.travel="tl",t.books="bks",t.gym="gm",t.food="f",t.cleanliness="cln",t.smoke="sk",t.pets="ps",t.guests="gts",t.occupation="o",t.foodPreference="fp",t.workSchedule="ws",t.overnightGuests="ogs",t.getUpTime="gut",t.goToBedTime="gtt",t.roomPreference="rp",t.roommatePreference="rmp",t.whereWantToLive="wwtl",t.moveInDate="mid",t.budget="b",t.placePreference="pp",t.buildingType="bt",t.other="ot",t.min="mi",t.max="ma",t.verificationCode="vc",t.title="t",t.description="d",t.maxPlayersAllowed="mxpa",t.feePerPlayer="fpp",t.serviceCharges="scs",t.image="i",t.minPlayersToStartGame="mipa",t.isPrivate="ipt",t.roomCode="rcd",t.status="st",t.gameId="gid",t.gameRoomPlayerIds="grpsd",t.gameRoomWillStartAt="grwsat",t.firstPlayerGameRoomJoinedAt="fpgrja",t.engagerStartedTheActualGameAt="estaga",t.gameRoomWinnerPlayerId="grwpid",t.gameRoomResultScreenShot="grrss",t.timerForEngagerToStartActualGameInMinutes="tfetsag",t.timerForPlayersToJoinActualGameInMinutes="tfptjag",t.actualGameInfo="agi",t.gameData="gd",t.engagerReleasedGameRoomAt="ergrat",t.engagerDeclaredGameRoomWinnerAt="edgrat",t.agentRemarks="ars",t.transferMethod="tm",t.receptScreenshot="rs",t.transactionId="tid",t.itemId="itid",t.balanceBefore="bb",t.balanceAfter="ba",t.type="ty",t.adminUserId="auid",t.logType="lt",t.userRemarks="urs",t.otherPlayerPhoneNumber="oppn",t.otherPlayerName="opn",t.totalTopupCoins="ttcs",t.totalWithdrawCoins="twcs",t.totalWonCoins="twncs",t.totalTransferredCoins="ttdcs",t.totalReceivedCoins="trcs",t.totalLostCoins="tlcs",t.totalGamesPlayed="tgp",t.totalGamesLeft="tglt",t.totalGamesWon="tgw",t.totalGamesLost="tgl",t.gameWinStreak="gwst",t.gameLostStreak="glst",t.lastGamePlayedAt="lgpat",t.lastGameLeftAt="lglfat",t.lastGameWonAt="lgqat",t.lastGameLostAt="lglat",t.totalGameRoomReleasedForThisPlayer="tgrrftp",t.lastGameRoomReleasedForThisPlayerAt="tgrrftpat",t.totalGameRoomReleasedByThisAdminUser="tgrrbtau",t.lastGameRoomReleasedByThisAdminUserAt="tgrrbtauat",t.totalCoinsEarnedAsGameRoomEngager="tcseagre",t.totalGameRoomsCompletedAsEngager="tgrcae",t.lastGameRoomsCompletedAsEngagerAt="lgrcaeat",t.icon="ic",t.sendAt="sat",t.sendTo="sto",t.specificUsersPhoneNumbers="supns",t.roleIdentifier="ri",t.isDefault="idf",t.totalCount="tc",t.totalSoftDeletedCount="tsdc",t.totalPlayersCount="tpsc",t.totalEngagersCount="tesc",t.totalAdminsCount="tasc",t.totalActiveCount="tac",t.totalBlockedCount="tbc",t.totalCompletedCount="tcc",t.totalReleasedCount="trc",t.totalServiceCharges="tsc",t.period="ped",t.currency="cuy",t.place="pl",t.rent="re",t.generalInfo="gi",t.location="loc",t.images="ims",t.details="dts",t.latitude="lat",t.longitude="lng",t.placeId="pi",t.streetAddress="sa",t.apartmentSuit="as",t.province="pvn",t.postCode="psc",t.bedroomImages="bris",t.washroomImages="wris",t.kitchenImages="kis",t.otherImages="ois",t.availabilityTerm="abt",t.moveOutDate="mud",t.minimumLease="mil",t.houseInfo="hif",t.otherRequirements="ors",t.placeSharingDetail="psd",t.placeBenefits="pbs",t.leaseTime="lti",t.leaseTimeUnit="ltu",t.bedrooms="bds",t.washrooms="wrs",t.parking="pr",t.units="us",t.detail="dl",t.bedroom="br",t.livingRoom="lr",t.kitchen="kc",t.washroom="wr",t.livingWithLandlord="lwld",t.livingWithPersonDetails="lwpd",t.furnished="fh",t.benefits="bs",t.otherBenefits="obs",t.body="bd",t.content="ct",t.fcmDeviceToken="fcmt",t.fcmDeviceTokens="fcmts",t.apnsDeviceToken="apnt",t.apnsDeviceTokens="apnts",t.subtitle="ste",t.tag="tg",t.tags="tgs",t.badge="bge",t.notification="ncn",t.notifications="ncns",t.data="dt",t.clickAction="ca",t.link="ln",t.group="gp",t.groupSummary="gs",t.sound="sd",t.importance="ipe",t.visibility="vsb",t.light="lh",t.lights="lhs",t.lightColor="lcr",t.vibration="vbr",t.channel="cl",t.channels="cls",t.receive="rce",t.value="vle",t.actionId="aid",t.inputValue="ipv",t.gameType="gt",t.thirdPartyAppsData="tpasd",t.thirdPartyAppData="tpad",t.pubgAppId="pgai",t.uniqueId="uqid",t.userUniqueId="uuqid",t.photoURL="pul",t.displayName="dn",t.ludoStarAppId="lsaid",t.freeFireAppId="ffaid",t.callOfDutyAppId="codaid",t.robloxAppId="rxaid",t.eightBallPoolAppId="ebpaid",t.amongUsAppId="auaid",t.unoAppId="uoaid",t.miniMilitiaAppId="mmaid",t.carromAppId="cmaid",t.tennisClashAppId="tcaid",t.chessAppId="chaid",t.asphalt9AppId="a9aid",t.golfBattleAppId="gbaid",t.arenaBreakoutAppId="abaid",t))(T||{}),H=(r=>(r.asc="asc",r.desc="desc",r))(H||{}),Q=(o=>(o.lessThan="<",o.lessThanOrEqualTo="<=",o.equalTo="==",o.notEqual="!=",o.greaterThanOrEqualTo=">=",o.greaterThan=">",o.arrayContains="array-contains",o.inArray="in",o.notInArray="not-in",o.arrayContainsAny="array-contains-any",o))(Q||{});c(T,"Duplicate DBColumnKeysShortFormEnum value found:");c(H,"Duplicate FrbOrderbyDirectionEnum value found:");c(Q,"Duplicate FrbWhereConditionEnum value found:");var D=(n=>(n.success="success",n.failed="failed",n.notFound="notFound",n.badRequest="badRequest",n.serverError="serverError",n.created="created",n.deleted="deleted",n.updated="updated",n.tooManyRequests="tooManyRequests",n.invalidRequest="invalidRequest",n.unAuthenticated="unAuthenticated",n.unAuthorized="unAuthorized",n.itemExists="itemExists",n))(D||{}),S=(o=>(o[o.success=200]="success",o[o.failed=500]="failed",o[o.notFound=404]="notFound",o[o.badRequest=400]="badRequest",o[o.created=201]="created",o[o.unAuthenticated=401]="unAuthenticated",o[o.unAuthorized=403]="unAuthorized",o[o.tooManyRequests=429]="tooManyRequests",o[o.invalidRequest=410]="invalidRequest",o[o.itemExists=10001]="itemExists",o))(S||{}),C=(d=>(d.get="get",d.post="post",d.put="put",d.delete="delete",d))(C||{}),F=(f=>(f.blank="_blank",f))(F||{}),P=(f=>(f.encryptedDataSearchParam="s",f))(P||{}),Y=(r=>(r.Json="application/json",r.FormData="multipart/form-data",r))(Y||{}),B=(r=>(r[r.approved=1]="approved",r[r.rejected=2]="rejected",r))(B||{}),K=(r=>(r[r.easypaisa=1]="easypaisa",r[r.jazzcash=2]="jazzcash",r))(K||{}),E=(i=>(i[i.id=1]="id",i[i.roomCode=2]="roomCode",i[i.email=3]="email",i[i.phoneNumber=4]="phoneNumber",i[i.uniqueId=5]="uniqueId",i[i.pubgAppId=6]="pubgAppId",i))(E||{}),m=(r=>(r[r.completed=1]="completed",r[r.rejected=2]="rejected",r))(m||{}),ee=(r=>(r[r.true=1]="true",r[r.false=0]="false",r))(ee||{}),te=(i=>(i.STRING="string",i.OBJECT="object",i.ARRAY="array",i.boolean="boolean",i.NUMBER="number",i.FUNCTION="function",i))(te||{}),ae=(a=>(a.web="web",a.android="android",a.ios="ios",a))(ae||{}),Z=(v=>(v.Years="years",v.Months="months",v.Days="days",v.Hours="hours",v.Minutes="minutes",v.Seconds="seconds",v.Milliseconds="milliseconds",v))(Z||{});c(ae,"duplicate values in PlatformTypeEnum");c(D,"duplicate values in ResponseCodeEnum");c(S,"duplicate values in ResponseStatusEnum");c(C,"duplicate values in RequestTypeEnum");c(F,"duplicate values in LinkTargetEnum");c(P,"duplicate values in SearchParamKeysEnum");c(Y,"duplicate values in RequestContentTypeEnum");c(B,"duplicate values in RequestStatusEnum");c(K,"duplicate values in TransferMethodEnum");c(E,"duplicate values in QueryKeyTypeEnum");c(m,"duplicate values in ProcessStatusEnum");c(ee,"duplicate values in BooleanEnum");c(te,"duplicate values in varTypesEnum");c(Z,"duplicate values in TimeUnitEnum");var x=(p=>(p[p.superAdmin=1]="superAdmin",p[p.admin=2]="admin",p[p.manager=3]="manager",p[p.editor=4]="editor",p[p.creator=5]="creator",p[p.reviewer=6]="reviewer",p[p.player=7]="player",p[p.engager=8]="engager",p))(x||{}),w=(e=>(e[e.viewDashboard=1]="viewDashboard",e[e.hideEarnings=2]="hideEarnings",e[e.hideProfile=3]="hideProfile",e[e.listUsers=4]="listUsers",e[e.viewUser=5]="viewUser",e[e.createUser=6]="createUser",e[e.updateUser=7]="updateUser",e[e.deleteUser=8]="deleteUser",e[e.forceDeleteUser=9]="forceDeleteUser",e[e.blockUser=10]="blockUser",e[e.unBlockUser=11]="unBlockUser",e[e.updateUserBalance=12]="updateUserBalance",e[e.viewTrashedUsers=13]="viewTrashedUsers",e[e.viewTrashedUser=14]="viewTrashedUser",e[e.listGames=15]="listGames",e[e.viewGame=16]="viewGame",e[e.createGame=17]="createGame",e[e.updateGame=18]="updateGame",e[e.deleteGame=19]="deleteGame",e[e.forceDeleteGame=20]="forceDeleteGame",e[e.blockGame=21]="blockGame",e[e.unBlockGame=22]="unBlockGame",e[e.viewTrashedGames=23]="viewTrashedGames",e[e.viewTrashedGame=24]="viewTrashedGame",e[e.listGameRooms=25]="listGameRooms",e[e.viewGameRoom=26]="viewGameRoom",e[e.createGameRoom=27]="createGameRoom",e[e.updateGameRoom=28]="updateGameRoom",e[e.deleteGameRoom=29]="deleteGameRoom",e[e.forceDeleteGameRoom=30]="forceDeleteGameRoom",e[e.blockGameRoom=31]="blockGameRoom",e[e.unBlockGameRoom=32]="unBlockGameRoom",e[e.createPrivateGameRoom=33]="createPrivateGameRoom",e[e.viewTrashedGameRooms=34]="viewTrashedGameRooms",e[e.viewTrashedGameRoom=35]="viewTrashedGameRoom",e[e.listTopupRequests=36]="listTopupRequests",e[e.viewTopupRequest=37]="viewTopupRequest",e[e.createTopupRequest=38]="createTopupRequest",e[e.updateTopupRequest=39]="updateTopupRequest",e[e.deleteTopupRequest=40]="deleteTopupRequest",e[e.forceDeleteTopupRequest=41]="forceDeleteTopupRequest",e[e.reviewTopupRequest=42]="reviewTopupRequest",e[e.viewTrashedTopupRequests=43]="viewTrashedTopupRequests",e[e.viewTrashedTopupRequest=44]="viewTrashedTopupRequest",e[e.listWithdrawRequests=45]="listWithdrawRequests",e[e.viewWithdrawRequest=46]="viewWithdrawRequest",e[e.createWithdrawRequest=47]="createWithdrawRequest",e[e.updateWithdrawRequest=48]="updateWithdrawRequest",e[e.deleteWithdrawRequest=49]="deleteWithdrawRequest",e[e.forceDeleteWithdrawRequest=50]="forceDeleteWithdrawRequest",e[e.reviewWithdrawRequest=51]="reviewWithdrawRequest",e[e.viewTrashedWithdrawRequests=52]="viewTrashedWithdrawRequests",e[e.viewTrashedWithdrawRequest=53]="viewTrashedWithdrawRequest",e[e.listRoles=54]="listRoles",e[e.viewRole=55]="viewRole",e[e.createRole=56]="createRole",e[e.updateRole=57]="updateRole",e[e.deleteRole=58]="deleteRole",e[e.forceDeleteRole=59]="forceDeleteRole",e[e.reviewRole=60]="reviewRole",e[e.viewTrashedRoles=61]="viewTrashedRoles",e[e.viewTrashedRole=62]="viewTrashedRole",e[e.attachRole=63]="attachRole",e[e.removeRole=64]="removeRole",e[e.addListPermissionsToRole=65]="addListPermissionsToRole",e[e.addViewPermissionsToRole=66]="addViewPermissionsToRole",e[e.addCreatePermissionsToRole=67]="addCreatePermissionsToRole",e[e.addUpdatePermissionsToRole=68]="addUpdatePermissionsToRole",e[e.addForceDeletePermissionsToRole=69]="addForceDeletePermissionsToRole",e[e.addListTrashedPermissionsToRole=70]="addListTrashedPermissionsToRole",e[e.addViewTrashedPermissionsToRole=71]="addViewTrashedPermissionsToRole",e[e.addReviewPermissionsToRole=72]="addReviewPermissionsToRole",e[e.addOtherPermissionsToRole=73]="addOtherPermissionsToRole",e[e.listTransferCoinsRequests=74]="listTransferCoinsRequests",e[e.viewTransferCoinsRequest=75]="viewTransferCoinsRequest",e[e.listInAppNotifications=76]="listInAppNotifications",e[e.viewInAppNotification=77]="viewInAppNotification",e[e.createInAppNotification=78]="createInAppNotification",e[e.updateInAppNotification=79]="updateInAppNotification",e[e.deleteInAppNotification=80]="deleteInAppNotification",e[e.forceDeleteInAppNotification=81]="forceDeleteInAppNotification",e[e.viewTrashedInAppNotifications=82]="viewTrashedInAppNotifications",e[e.viewTrashedInAppNotification=83]="viewTrashedInAppNotification",e[e.sendInAppNotificationToAllPlayers=84]="sendInAppNotificationToAllPlayers",e[e.sendInAppNotificationToAllAdminLevelUsers=85]="sendInAppNotificationToAllAdminLevelUsers",e[e.sendInAppNotificationToSpecificPlayers=86]="sendInAppNotificationToSpecificPlayers",e[e.sendInAppNotificationToSpecificAdminLevelUsers=87]="sendInAppNotificationToSpecificAdminLevelUsers",e[e.scheduleInAppNotifications=88]="scheduleInAppNotifications",e[e.listAttachments=89]="listAttachments",e[e.viewAttachment=90]="viewAttachment",e[e.createAttachment=91]="createAttachment",e[e.updateAttachment=92]="updateAttachment",e[e.deleteAttachment=93]="deleteAttachment",e[e.forceDeleteAttachment=94]="forceDeleteAttachment",e[e.viewTrashedAttachments=95]="viewTrashedAttachments",e[e.viewTrashedAttachment=96]="viewTrashedAttachment",e[e.listAppSettings=97]="listAppSettings",e[e.viewAppSetting=98]="viewAppSetting",e[e.createAppSetting=99]="createAppSetting",e[e.updateAppSetting=100]="updateAppSetting",e[e.deleteAppSetting=101]="deleteAppSetting",e[e.forceDeleteAppSetting=102]="forceDeleteAppSetting",e[e.viewTrashedAppSettings=103]="viewTrashedAppSettings",e[e.viewTrashedAppSetting=104]="viewTrashedAppSetting",e[e.listTransactions=105]="listTransactions",e[e.viewTransaction=106]="viewTransaction",e[e.createTransaction=107]="createTransaction",e[e.updateTransaction=108]="updateTransaction",e[e.deleteTransaction=109]="deleteTransaction",e[e.forceDeleteTransaction=110]="forceDeleteTransaction",e[e.viewTrashedTransactions=111]="viewTrashedTransactions",e[e.viewTrashedTransaction=112]="viewTrashedTransaction",e[e.listPlaces=113]="listPlaces",e[e.viewPlace=114]="viewPlace",e[e.createPlace=115]="createPlace",e[e.updatePlace=116]="updatePlace",e[e.deletePlace=117]="deletePlace",e[e.forceDeletePlace=118]="forceDeletePlace",e[e.viewTrashedPlaces=119]="viewTrashedPlaces",e[e.viewTrashedPlace=120]="viewTrashedPlace",e[e.restoreTrashedPlace=121]="restoreTrashedPlace",e[e.blockPlace=122]="blockPlace",e[e.unBlockPlace=123]="unBlockPlace",e[e.restoreTrashedUser=124]="restoreTrashedUser",e[e.restoreTrashedGame=125]="restoreTrashedGame",e[e.restoreTrashedGameRoom=126]="restoreTrashedGameRoom",e[e.restoreTrashedTopupRequest=127]="restoreTrashedTopupRequest",e[e.restoreTrashedWithdrawRequest=128]="restoreTrashedWithdrawRequest",e[e.restoreTrashedRole=129]="restoreTrashedRole",e[e.restoreTrashedInAppNotification=130]="restoreTrashedInAppNotification",e[e.restoreTrashedAttachment=131]="restoreTrashedAttachment",e[e.restoreTrashedAppSetting=132]="restoreTrashedAppSetting",e[e.restoreTrashedTransaction=133]="restoreTrashedTransaction",e[e.addCoinsToUserAccount=134]="addCoinsToUserAccount",e[e.removeCoinsFromUserAccount=135]="removeCoinsFromUserAccount",e[e.listAdminCoinsUpdateLogs=136]="listAdminCoinsUpdateLogs",e[e.viewAdminCoinsUpdateLog=137]="viewAdminCoinsUpdateLog",e[e.listUserDetails=138]="listUserDetails",e[e.viewUserDetail=139]="viewUserDetail",e[e.createUserDetail=140]="createUserDetail",e[e.updateUserDetail=141]="updateUserDetail",e[e.deleteUserDetail=142]="deleteUserDetail",e[e.forceDeleteUserDetail=143]="forceDeleteUserDetail",e[e.viewTrashedUserDetails=144]="viewTrashedUserDetails",e[e.viewTrashedUserDetail=145]="viewTrashedUserDetail",e))(w||{}),J=(p=>(p.superAdmin="197g24g-28h3v2g9g972g3f",p.admin="28h3v2g9g9--72g3f",p.manager="38h3vrv3-ion2g9g97-2g3f",p.editor="48h3v2g9g97-2g3f",p.creator="58h3v2g9g8h-972g3f",p.reviewer="68h-3v2g9g972g3f",p.player="78h3v2g9-g972g3f",p.engager="8hfrfr----8h3v2g9-g972g3f",p))(J||{}),re=(a=>(a[a.viewTrashedItem=1]="viewTrashedItem",a[a.viewTrashedItems=2]="viewTrashedItems",a[a.viewBlockedItem=3]="viewBlockedItem",a))(re||{}),_=(r=>(r[r.every=1]="every",r[r.any=2]="any",r))(_||{});c(x,"Duplicate RoleEnum value found:");c(_,"Duplicate PermissionCheckModeEnum value found:");c(w,"Duplicate PermissionEnum value found:");c(J,"Duplicate _UserRoleEnum value found:");c(re,"Duplicate PermissionTypeEnum value found:");var le;(le=Object.keys(w))==null?void 0:le.filter(g=>isNaN(Number(g)));var ce=["role","permission","forcedelete","trashed","transaction","appsetting","inappnotification","restore","addcoin","removecoin","admincoin"],h=[...ce,"user","delete","topuprequest","withdrawrequest","transfercoinsrequest"],A=[...h,"edit","update","review"];[...A==null?void 0:A.filter(g=>g!=="review"),"create","add","hide"];var R=(d=>(d[d.superClean=1]="superClean",d[d.clean=2]="clean",d[d.lessClean=3]="lessClean",d[d.normalClean=4]="normalClean",d))(R||{}),I=(a=>(a[a.no=1]="no",a[a.yes=2]="yes",a[a.other=3]="other",a))(I||{}),V=(a=>(a[a.no=1]="no",a[a.yes=2]="yes",a[a.dependsOnThePet=3]="dependsOnThePet",a))(V||{}),U=(a=>(a[a.no=1]="no",a[a.yes=2]="yes",a[a.occasionally=3]="occasionally",a))(U||{}),u=(a=>(a[a.student=1]="student",a[a.haveWork=2]="haveWork",a[a.other=3]="other",a))(u||{}),k=(a=>(a[a.vegan=1]="vegan",a[a.vegetarian=2]="vegetarian",a[a.other=3]="other",a))(k||{}),q=(a=>(a[a.dayTime=1]="dayTime",a[a.nightTime=2]="nightTime",a[a.other=3]="other",a))(q||{}),M=(d=>(d[d.male=1]="male",d[d.female=2]="female",d[d.nonBinary=3]="nonBinary",d[d.all=4]="all",d))(M||{}),N=(l=>(l[l.aries=1]="aries",l[l.taurus=2]="taurus",l[l.gemini=3]="gemini",l[l.crabCancer=4]="crabCancer",l[l.leo=5]="leo",l[l.virgo=6]="virgo",l[l.libra=7]="libra",l[l.scorpion=8]="scorpion",l[l.saggitarius=9]="saggitarius",l[l.capricorn=10]="capricorn",l[l.aquarius=11]="aquarius",l[l.pisces=12]="pisces",l))(N||{}),G=(r=>(r[r.entirePlace=1]="entirePlace",r[r.sharedPlace=2]="sharedPlace",r))(G||{}),L=(i=>(i[i.noPreference=1]="noPreference",i[i.condo=2]="condo",i[i.apartment=3]="apartment",i[i.twonHouse=4]="twonHouse",i[i.house=5]="house",i[i.basement=6]="basement",i))(L||{}),O=(r=>(r[r.shortTerm=1]="shortTerm",r[r.longTerm=2]="longTerm",r))(O||{}),z=(r=>(r[r.month=1]="month",r[r.year=2]="year",r))(z||{}),$=(r=>(r[r.private=1]="private",r[r.share=2]="share",r))($||{}),y=(a=>(a[a.yes=1]="yes",a[a.no=2]="no",a[a.negotiated=3]="negotiated",a))(y||{}),W=(l=>(l[l.wifi=1]="wifi",l[l.dishWash=2]="dishWash",l[l.tv=3]="tv",l[l.heater=4]="heater",l[l.closet=5]="closet",l[l.water=6]="water",l[l.balcony=7]="balcony",l[l.personalEnter=8]="personalEnter",l[l.electric=9]="electric",l[l.laundry=10]="laundry",l[l.security=11]="security",l[l.parking=12]="parking",l))(W||{}),j=(r=>(r[r.inProgress=1]="inProgress",r[r.completed=2]="completed",r))(j||{});c(R,"duplicate values in CleanlinessEnum");c(I,"duplicate values in SmokeEnum");c(V,"duplicate values in PetsEnum");c(U,"duplicate values in GuestsEnum");c(u,"duplicate values in OccupationEnum");c(k,"duplicate values in FoodPreferenceEnum");c(q,"duplicate values in WorkScheduleEnum");c(M,"duplicate values in GenderEnum");c(N,"duplicate values in ConstellationsEnum");c(G,"duplicate values in PlacePreferenceEnum");c(L,"duplicate values in BuildingTypeEnum");c(O,"duplicate values in PlaceAvailabilityTermEnum");c(z,"duplicate values in RMTimeUnitEnum");c($,"duplicate values in PrivateShareEnum");c(y,"duplicate values in AgreementStatusEnum");c(W,"duplicate values in RentInclusionsEnum");c(j,"duplicate values in PlaceStatusEnum");var Ae=[2,3,4,1],he=[1,2,3],Re=[1,2,3],Ie=[1,2,3],Ve=[1,2,3],Ue=[1,2,3],ue=[1,2,3],ke=[1,2,3,4],qe=[11,1,10,4,3,5,7,12,9,8,2,6],Me=[1,2],Ne=[3,6,2,5,1,4],Ge=[1,2],Le=[1,2],Oe=[1,2],ze=[1,2,3],$e=[1,2,3,4,5,6,7,8,9,10,11,12],ye=[2,1];exports.AgreementStatusEnum=y;exports.BuildingTypeEnum=L;exports.CleanlinessEnum=R;exports.ConstellationsEnum=N;exports.FoodPreferenceEnum=k;exports.GenderEnum=M;exports.GuestsEnum=U;exports.OccupationEnum=u;exports.PetsEnum=V;exports.PlaceAvailabilityTermEnum=O;exports.PlacePreferenceEnum=G;exports.PlaceStatusEnum=j;exports.PrivateShareEnum=$;exports.RMTimeUnitEnum=z;exports.RentInclusionsEnum=W;exports.SmokeEnum=I;exports.WorkScheduleEnum=q;exports.agreementStatusVal=ze;exports.buildingTypeVal=Ne;exports.cleanlinessVal=Ae;exports.constellationsVal=qe;exports.foodPreferenceVal=Ue;exports.genderVal=ke;exports.guestsVal=Ie;exports.occupationVal=Ve;exports.petsVal=Re;exports.placeAvailabilityTermVal=Ge;exports.placePreferenceVal=Me;exports.placeStatusVal=ye;exports.privateShareVal=Oe;exports.rentInclusionsVal=$e;exports.smokeVal=he;exports.timeUnitVal=Le;exports.workScheduleVal=ue;//# sourceMappingURL=index.js.map //# sourceMappingURL=index.js.map