@maplander/types
Advanced tools
Comparing version 0.21.4 to 0.21.5
@@ -223,2 +223,22 @@ (function (global, factory) { | ||
*/ | ||
/** @enum {string} */ | ||
var AccountStatus = { | ||
ACTIVE: 'ACTIVE', | ||
INACTIVE: 'INACTIVE', | ||
}; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @enum {string} */ | ||
var AccountType = { | ||
GROUP: 'GROUP', | ||
INDIVIDUAL: 'INDIVIDUAL', | ||
}; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var Office = /** @class */ (function () { | ||
@@ -240,2 +260,4 @@ function Office(office) { | ||
this.webSite = office ? office.webSite || null : null; | ||
this.type = office ? office.type || AccountType.INDIVIDUAL : AccountType.INDIVIDUAL; | ||
this.status = office ? office.status || AccountStatus.INACTIVE : AccountStatus.INACTIVE; | ||
} | ||
@@ -242,0 +264,0 @@ return Office; |
@@ -1,2 +0,2 @@ | ||
!function(i,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define("@maplander/types",["exports"],e):e(((i=i||self).maplander=i.maplander||{},i.maplander.types={}))}(this,(function(i){"use strict";var e=function(i){this.city=i&&i.city||null,this.colony=i&&i.colony||null,this.country=i&&i.country||null,this.countryCode=i&&i.countryCode||null,this.location=i&&i.location||null,this.postalCode=i&&i.postalCode||null,this.state=i&&i.state||null,this.street=i&&i.street||null,this.visible=i&&i.visible||null,this.interiorNumber=i&&i.interiorNumber||null,this.lt=i&&i.lt||null,this.mz=i&&i.mz||null,this.outdoorNumber=i&&i.outdoorNumber||null,this.publicLocation=i&&i.publicLocation||null,this.township=i&&i.township||null},t=function(i){this.adjacentCommerce=!!i&&i.adjacentCommerce,this.adjacentGym=!!i&&i.adjacentGym,this.adjacentPicnic=!!i&&i.adjacentPicnic,this.airConditioner=!!i&&i.airConditioner,this.balcony=!!i&&i.balcony,this.countrySide=!!i&&i.countrySide,this.customerParking=!!i&&i.customerParking,this.diningRoom=!!i&&i.diningRoom,this.doubleHeight=!!i&&i.doubleHeight,this.downtown=!!i&&i.downtown,this.dressingRooms=!!i&&i.dressingRooms,this.facingStreet=!!i&&i.facingStreet,this.finishings=!!i&&i.finishings,this.furnished=!!i&&i.furnished,this.garden=!!i&&i.garden,this.goodReachableTraffic=!!i&&i.goodReachableTraffic,this.gym=!!i&&i.gym,this.highResistanceFloors=!!i&&i.highResistanceFloors,this.highSpeedInternet=!!i&&i.highSpeedInternet,this.inCommercialArea=!!i&&i.inCommercialArea,this.inIndustrialPark=!!i&&i.inIndustrialPark,this.inShoppingCenter=!!i&&i.inShoppingCenter,this.jacuzzi=!!i&&i.jacuzzi,this.kitchenServices=!!i&&i.kitchenServices,this.maidsBathroom=!!i&&i.maidsBathroom,this.maneuverArea=!!i&&i.maneuverArea,this.meetingRoom=!!i&&i.meetingRoom,this.mezzanine=!!i&&i.mezzanine,this.mixedBuilding=!!i&&i.mixedBuilding,this.naturalLighting=!!i&&i.naturalLighting,this.nearFitnessCentre=!!i&&i.nearFitnessCentre,this.nearHighway=!!i&&i.nearHighway,this.nearHospital=!!i&&i.nearHospital,this.nearPark=!!i&&i.nearPark,this.nearPublicTransportation=!!i&&i.nearPublicTransportation,this.nearSchools=!!i&&i.nearSchools,this.nearShops=!!i&&i.nearShops,this.offices=!!i&&i.offices,this.onBusyRoad=!!i&&i.onBusyRoad,this.onQuietRoad=!!i&&i.onQuietRoad,this.openSpace=!!i&&i.openSpace,this.platforms=!!i&&i.platforms,this.playground=!!i&&i.playground,this.playroom=!!i&&i.playroom,this.pool=!!i&&i.pool,this.railSpur=!!i&&i.railSpur,this.railyard=!!i&&i.railyard,this.reception=!!i&&i.reception,this.securityGuard=!!i&&i.securityGuard,this.storage=!!i&&i.storage,this.visitorParking=!!i&&i.visitorParking,this.differentAbilities=!!i&&i.differentAbilities,this.petFriendly=!!i&&i.petFriendly,this.roofGarden=!!i&&i.roofGarden},n=function(i){this.companyName=i&&i.companyName||null,this.date=i&&i.date||null,this.email=i&&i.email||null,this.id=i&&i.id||null,this.image=i&&i.image||null,this.name=i&&i.name||null,this.officeId=i&&i.officeId||null,this.phone=i&&i.phone||null,this.propertyId=i&&i.propertyId||null,this.userId=i&&i.userId||null,this.whatsApp=i&&i.whatsApp||null,this.codePhone=i&&i.codePhone||null,this.thumbnailBC=i&&i.thumbnailBC||null,this.whatsCode=i&&i.whatsCode||null,this.bcId=i&&i.bcId||null},l=function(i){this.areaUnit=i&&i.areaUnit||null,this.bathrooms=i&&i.bathrooms||null,this.bedrooms=i&&i.bedrooms||null,this.builtIn=i&&i.builtIn||null,this.condominiumFeePrice=i&&i.condominiumFeePrice||null,this.landUse=i&&i.landUse||null,this.mainArea=i&&i.mainArea||null,this.parkingSpaces=i&&i.parkingSpaces||null,this.roi=i&&i.roi||null,this.secondaryArea=i&&i.secondaryArea||null},s=function(i){this.address=i?new e(i.address||null):null,this.authUsers=i?i.authUsers:null,this.brand=i&&i.brand||null,this.changeDate=i&&i.changeDate||null,this.creationDate=i&&i.creationDate||null,this.currency=i&&i.currency||null,this.description=i&&i.description||null,this.endPublishDate=i&&i.endPublishDate||null,this.features=i&&i.features||null,this.id=i&&i.id||null,this.image=i&&i.image||null,this.mls=i&&i.mls||null,this.offering=i&&i.offering||null,this.officeId=i&&i.officeId||null,this.price=i&&i.price||null,this.startPublishDate=i&&i.startPublishDate||null,this.status=i&&i.status||null,this.type=i&&i.type||null,this.url=i&&i.url||null,this.userId=i&&i.userId||null},r=function(i){this.date=i?i.date:null,this.email=i?i.email:null,this.hide=i?i.hide:null,this.id=i?i.id:null,this.officeId=i?i.officeId:null,this.pOffering=i?i.pOffering:null,this.pType=i?i.pType:null,this.phone=i?i.phone:null,this.phoneCode=i?i.phoneCode:null,this.propertyId=i?i.propertyId:null,this.propertyLite=i?new s(i.propertyLite||null):null,this.type=i?i.type:null,this.uImage=i?i.uImage:null,this.uName=i?i.uName:null,this.userId=i?i.userId:null,this.whatsApp=i?i.whatsApp:null,this.whatsCode=i?i.whatsCode:null},u=function(i){this.favorites=i&&i.favorites||null,this.id=i&&i.id||null,this.offers=i&&i.offers||null,this.officeId=i&&i.officeId||null,this.pOffering=i&&i.pOffering||null,this.pType=i&&i.pType||null,this.priority=i&&i.priority||null,this.propertyLite=i&&i.propertyLite||null,this.requests=i&&i.requests||null,this.shared=i&&i.shared||null,this.views=i&&i.views||null},h=function(i){this.address=i?new e(i.address||null):null,this.brand=i&&i.brand||null,this.codePhone=i&&i.codePhone||null,this.description=i&&i.description||null,this.id=i&&i.id||null,this.inscription=i&&i.inscription||null,this.inscriptionStartDate=i&&i.inscriptionStartDate||null,this.logo=i&&i.logo||null,this.name=i&&i.name||null,this.phone=i&&i.phone||null,this.rfc=i&&i.rfc||null,this.subscription=i&&i.subscription||null,this.subscriptionEndDate=i&&i.subscriptionEndDate||null,this.webSite=i&&i.webSite||null},o=function(i){this.address=i&&i.address||null,this.email=i&&i.email||null,this.location=i&&i.location||null,this.name=i&&i.name||null,this.phone=i&&i.phone||null,this.codePhone=i&&i.codePhone||null,this.lastName=i&&i.lastName||null},a=function(i){this.commission=i&&i.commission||null,this.consumerReporting=i&&i.consumerReporting||null,this.endPublishDate=i&&i.endPublishDate||null,this.leaseTransferPrice=i&&i.leaseTransferPrice||null,this.listingAgreementStartDate=i&&i.listingAgreementStartDate||null,this.listingAgreementTime=i&&i.listingAgreementTime||null,this.mls=i&&i.mls||null,this.notes=i&&i.notes||null,this.owner=i?new o(i.owner||null):null,this.sharedCommission=i&&i.sharedCommission||null,this.startPublishDate=i&&i.startPublishDate||null,this.exclusivity=i&&i.exclusivity||null,this.lowestPrice=i&&i.lowestPrice||null},E=function(i){this.address=i?new e(i.address||null):null,this.amenities=i?new t(i.amenities||null):null,this.image=i&&i.image||null,this.brand=i&&i.brand||null,this.changeDate=i&&i.changeDate||null,this.countryCode=i&&i.countryCode||null,this.creationDate=i&&i.creationDate||null,this.currency=i&&i.currency||null,this.description=i&&i.description||null,this.externalId=i&&i.externalId||null,this.externalLink=i&&i.externalLink||null,this.features=i?new l(i.features||null):null,this.id=i&&i.id||null,this.offering=i&&i.offering||null,this.officeId=i&&i.officeId||null,this.price=i&&i.price||null,this.usdPrice=i&&i.usdPrice||null,this.propertyInfo=i?new a(i.propertyInfo||null):null,this.status=i&&i.status||null,this.type=i&&i.type||null,this.url=i&&i.url||null,this.userId=i&&i.userId||null,this.sku=i&&i.sku||null},N=function(i){this.office=i?new h(i.office||null):null,this.property=i?new E(i.property||null):null,this.leadInfo=i?new u(i.leadInfo||null):null,this.authUsers=i&&i.authUsers||null,this.files=i&&i.files||null,this.images=i&&i.images||null,this.spherics=i&&i.spherics||null,this.videos=i&&i.videos||null},d=function(i){this.address=i&&i.address||null,this.creationDate=i&&i.creationDate||null,this.currency=i&&i.currency||null,this.id=i&&i.id||null,this.image=i&&i.image||null,this.offering=i&&i.offering||null,this.officeId=i&&i.officeId||null,this.price=i&&i.price||null,this.propertyId=i&&i.propertyId||null,this.relevance=i&&i.relevance||null,this.type=i&&i.type||null,this.url=i&&i.url||null,this.userMLId=i&&i.userMLId||null,this.userSearchId=i&&i.userSearchId||null},I=function(i){this.fileCS=i&&i.fileCS||null,this.id=i&&i.id||null,this.media=i&&i.media||null,this.name=i&&i.name||null,this.position=i&&i.position||null,this.propertyId=i&&i.propertyId||null,this.type=i&&i.type||null},R=function(i,e,t,n){this.blob=i||null,this.url=e||null,this.name=t||null,this.type=n||null},T={"":0,AED:"AED",AFN:"AFN",ALL:"ALL",AMD:"AMD",ANG:"ANG",AOA:"AOA",ARS:"ARS",AUD:"AUD",AWG:"AWG",AZN:"AZN",BAM:"BAM",BBD:"BBD",BDT:"BDT",BGN:"BGN",BHD:"BHD",BIF:"BIF",BMD:"BMD",BND:"BND",BOB:"BOB",BRL:"BRL",BSD:"BSD",BTC:"BTC",BTN:"BTN",BWP:"BWP",BYR:"BYR",BZD:"BZD",CAD:"CAD",CDF:"CDF",CHF:"CHF",CLF:"CLF",CLP:"CLP",CNY:"CNY",COP:"COP",CRC:"CRC",CUC:"CUC",CUP:"CUP",CVE:"CVE",CZK:"CZK",DJF:"DJF",DKK:"DKK",DOP:"DOP",DZD:"DZD",EEK:"EEK",EGP:"EGP",ERN:"ERN",ETB:"ETB",EUR:"EUR",FJD:"FJD",FKP:"FKP",GBP:"GBP",GEL:"GEL",GGP:"GGP",GHS:"GHS",GIP:"GIP",GMD:"GMD",GNF:"GNF",GTQ:"GTQ",GYD:"GYD",HKD:"HKD",HNL:"HNL",HRK:"HRK",HTG:"HTG",HUF:"HUF",IDR:"IDR",ILS:"ILS",IMP:"IMP",INR:"INR",IQD:"IQD",IRR:"IRR",ISK:"ISK",JEP:"JEP",JMD:"JMD",JOD:"JOD",JPY:"JPY",KES:"KES",KGS:"KGS",KHR:"KHR",KMF:"KMF",KPW:"KPW",KRW:"KRW",KWD:"KWD",KYD:"KYD",KZT:"KZT",LAK:"LAK",LBP:"LBP",LKR:"LKR",LRD:"LRD",LSL:"LSL",LTL:"LTL",LVL:"LVL",LYD:"LYD",MAD:"MAD",MDL:"MDL",MGA:"MGA",MKD:"MKD",MMK:"MMK",MNT:"MNT",MOP:"MOP",MRO:"MRO",MUR:"MUR",MVR:"MVR",MWK:"MWK",MXN:"MXN",MYR:"MYR",MZN:"MZN",NAD:"NAD",NGN:"NGN",NIO:"NIO",NOK:"NOK",NPR:"NPR",NZD:"NZD",OMR:"OMR",PAB:"PAB",PEN:"PEN",PGK:"PGK",PHP:"PHP",PKR:"PKR",PLN:"PLN",PYG:"PYG",QAR:"QAR",RON:"RON",RSD:"RSD",RUB:"RUB",RWF:"RWF",SAR:"SAR",SBD:"SBD",SCR:"SCR",SDG:"SDG",SEK:"SEK",SGD:"SGD",SHP:"SHP",SLL:"SLL",SOS:"SOS",SRD:"SRD",STD:"STD",SVC:"SVC",SYP:"SYP",SZL:"SZL",THB:"THB",TJS:"TJS",TMT:"TMT",TND:"TND",TOP:"TOP",TRY:"TRY",TTD:"TTD",TWD:"TWD",TZS:"TZS",UAH:"UAH",UGX:"UGX",USD:"USD",UYU:"UYU",UZS:"UZS",VEF:"VEF",VND:"VND",VUV:"VUV",WST:"WST",XAF:"XAF",XAG:"XAG",XAU:"XAU",XCD:"XCD",XDR:"XDR",XOF:"XOF",XPF:"XPF",YER:"YER",ZAR:"ZAR",ZMK:"ZMK",ZMW:"ZMW",ZWL:"ZWL"};T[T[""]]="";var c={ACCEPT:0,CANCEL:1};c[c.ACCEPT]="ACCEPT",c[c.CANCEL]="CANCEL";var A={ALERT:0,CONFIRM:1,WITH_INPUT:2};A[A.ALERT]="ALERT",A[A.CONFIRM]="CONFIRM",A[A.WITH_INPUT]="WITH_INPUT";var D={PREV:0,NEXT:1,BOTH:2,NONE:3};D[D.PREV]="PREV",D[D.NEXT]="NEXT",D[D.BOTH]="BOTH",D[D.NONE]="NONE";var S={ALREADY_EXISTS:470,BAD_REQUEST:400,FORBIDDEN:403,NOT_ACCEPTABLE:406,INCORRECT_PASS:472,INTERNAL_SERVER_ERROR:500,NO_CONTENT:204,NOT_EXISTS:471,OK:200,REQUEST_TIMEOUT:408,SERVICE_UNAVAILABLE:503};S[S.ALREADY_EXISTS]="ALREADY_EXISTS",S[S.BAD_REQUEST]="BAD_REQUEST",S[S.FORBIDDEN]="FORBIDDEN",S[S.NOT_ACCEPTABLE]="NOT_ACCEPTABLE",S[S.INCORRECT_PASS]="INCORRECT_PASS",S[S.INTERNAL_SERVER_ERROR]="INTERNAL_SERVER_ERROR",S[S.NO_CONTENT]="NO_CONTENT",S[S.NOT_EXISTS]="NOT_EXISTS",S[S.OK]="OK",S[S.REQUEST_TIMEOUT]="REQUEST_TIMEOUT",S[S.SERVICE_UNAVAILABLE]="SERVICE_UNAVAILABLE";var p={ALIGNMENT_AND_OFFICIAL_NUMBER:"ALIGNMENT_AND_OFFICIAL_NUMBER",BUILDING_LICENSE:"BUILDING_LICENSE",COMPLETION_OF_CONSTRUCTION:"COMPLETION_OF_CONSTRUCTION",CONSTANCY_OF_NO_DEBT:"CONSTANCY_OF_NO_DEBT",DEED:"DEED",ELECTRICITY_BILL:"ELECTRICITY_BILL",EXEMPTION_TAX:"EXEMPTION_TAX",IMAGE:"IMAGE",MORTGAGE:"MORTGAGE",OTHER:"OTHER",OWNER_ID:"OWNER_ID",PROPERTY_BILL:"PROPERTY_BILL",SPHERIC:"SPHERIC",VIDEO:"VIDEO",WATER_BILL:"WATER_BILL"},O={DAY:0,WEEK:1,MONTH:2,OTHER:3};O[O.DAY]="DAY",O[O.WEEK]="WEEK",O[O.MONTH]="MONTH",O[O.OTHER]="OTHER",i.Address=e,i.Amenities=t,i.AreaUnitEnum={FT2:"FT2",M2:"M2",NONE:"NONE"},i.AuthUser=n,i.BrandTypeEnum={NONE:"NONE",OPI:"OPI",REMAX:"REMAX",FIABCI:"FIABCI",AMPI:"AMPI",CB:"CB",GZIP:"GZIP",KW:"KW",WFGT:"WFGT",XV:"XV"},i.Currency=T,i.DeviceTypeEnum={ANDROID:"ANDROID",IOS:"IOS",NONE:"NONE",WEB:"WEB"},i.DialogResponseType=c,i.DialogType=A,i.Features=l,i.HttpStatusCode=S,i.LandUseEnum={AGRICULTURAL:"AGRICULTURAL",COMMERCE:"COMMERCE",HOUSING_WITH_COMMERCE:"HOUSING_WITH_COMMERCE",HOUSING_WITH_OFFICE:"HOUSING_WITH_OFFICE",INDUSTRY:"INDUSTRY",MIXED_HOUSING:"MIXED_HOUSING",MULTI_FAMILY_HOUSING:"MULTI_FAMILY_HOUSING",NONE:"NONE",OFFICE:"OFFICE",OTHER:"OTHER",SERVICES:"SERVICES",SINGLE_FAMILY_HOUSING:"SINGLE_FAMILY_HOUSING"},i.LanguageTypeEnum={ENGLISH:"ENGLISH",SPANISH:"SPANISH"},i.Lead=r,i.LeadInfo=u,i.LeadTypeEnum={FAVORITES:"FAVORITES",NONE:"NONE",OFFERS:"OFFERS",REQUESTED:"REQUESTED",SHARED:"SHARED",WHATSAPP:"WHATSAPP",PHONE:"PHONE"},i.MaxAge=O,i.NewCompleteProperty=N,i.NewProperty=E,i.NewPropertyLite=s,i.NewPropertyLiteSuggest=d,i.OfferingTypeEnum={NONE:"NONE",RENT:"RENT",SALE:"SALE",SALE_AND_RENT:"SALE_AND_RENT"},i.Office=h,i.Owner=o,i.PFile=I,i.PFileTypeEnum=p,i.PaginationStep=D,i.PropertyInfo=a,i.PropertyTypeEnum={APARTMENT:"APARTMENT",HOUSE:"HOUSE",INVESTMENT:"INVESTMENT",LAND:"LAND",NONE:"NONE",OFFICE:"OFFICE",RESIDENTIAL:"RESIDENTIAL",RETAIL:"RETAIL",ROOM:"ROOM",WAREHOUSE:"WAREHOUSE"},i.StatusTypeEnum={ANNOUNCED:"ANNOUNCED",DRAFT:"DRAFT",EXPIRED:"EXPIRED",HIDDEN:"HIDDEN",READY:"READY",NONE:"NONE"},i.UserMedia=R,i.ɵa=p,Object.defineProperty(i,"__esModule",{value:!0})})); | ||
!function(i,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define("@maplander/types",["exports"],e):e(((i=i||self).maplander=i.maplander||{},i.maplander.types={}))}(this,(function(i){"use strict";var e=function(i){this.city=i&&i.city||null,this.colony=i&&i.colony||null,this.country=i&&i.country||null,this.countryCode=i&&i.countryCode||null,this.location=i&&i.location||null,this.postalCode=i&&i.postalCode||null,this.state=i&&i.state||null,this.street=i&&i.street||null,this.visible=i&&i.visible||null,this.interiorNumber=i&&i.interiorNumber||null,this.lt=i&&i.lt||null,this.mz=i&&i.mz||null,this.outdoorNumber=i&&i.outdoorNumber||null,this.publicLocation=i&&i.publicLocation||null,this.township=i&&i.township||null},t=function(i){this.adjacentCommerce=!!i&&i.adjacentCommerce,this.adjacentGym=!!i&&i.adjacentGym,this.adjacentPicnic=!!i&&i.adjacentPicnic,this.airConditioner=!!i&&i.airConditioner,this.balcony=!!i&&i.balcony,this.countrySide=!!i&&i.countrySide,this.customerParking=!!i&&i.customerParking,this.diningRoom=!!i&&i.diningRoom,this.doubleHeight=!!i&&i.doubleHeight,this.downtown=!!i&&i.downtown,this.dressingRooms=!!i&&i.dressingRooms,this.facingStreet=!!i&&i.facingStreet,this.finishings=!!i&&i.finishings,this.furnished=!!i&&i.furnished,this.garden=!!i&&i.garden,this.goodReachableTraffic=!!i&&i.goodReachableTraffic,this.gym=!!i&&i.gym,this.highResistanceFloors=!!i&&i.highResistanceFloors,this.highSpeedInternet=!!i&&i.highSpeedInternet,this.inCommercialArea=!!i&&i.inCommercialArea,this.inIndustrialPark=!!i&&i.inIndustrialPark,this.inShoppingCenter=!!i&&i.inShoppingCenter,this.jacuzzi=!!i&&i.jacuzzi,this.kitchenServices=!!i&&i.kitchenServices,this.maidsBathroom=!!i&&i.maidsBathroom,this.maneuverArea=!!i&&i.maneuverArea,this.meetingRoom=!!i&&i.meetingRoom,this.mezzanine=!!i&&i.mezzanine,this.mixedBuilding=!!i&&i.mixedBuilding,this.naturalLighting=!!i&&i.naturalLighting,this.nearFitnessCentre=!!i&&i.nearFitnessCentre,this.nearHighway=!!i&&i.nearHighway,this.nearHospital=!!i&&i.nearHospital,this.nearPark=!!i&&i.nearPark,this.nearPublicTransportation=!!i&&i.nearPublicTransportation,this.nearSchools=!!i&&i.nearSchools,this.nearShops=!!i&&i.nearShops,this.offices=!!i&&i.offices,this.onBusyRoad=!!i&&i.onBusyRoad,this.onQuietRoad=!!i&&i.onQuietRoad,this.openSpace=!!i&&i.openSpace,this.platforms=!!i&&i.platforms,this.playground=!!i&&i.playground,this.playroom=!!i&&i.playroom,this.pool=!!i&&i.pool,this.railSpur=!!i&&i.railSpur,this.railyard=!!i&&i.railyard,this.reception=!!i&&i.reception,this.securityGuard=!!i&&i.securityGuard,this.storage=!!i&&i.storage,this.visitorParking=!!i&&i.visitorParking,this.differentAbilities=!!i&&i.differentAbilities,this.petFriendly=!!i&&i.petFriendly,this.roofGarden=!!i&&i.roofGarden},n=function(i){this.companyName=i&&i.companyName||null,this.date=i&&i.date||null,this.email=i&&i.email||null,this.id=i&&i.id||null,this.image=i&&i.image||null,this.name=i&&i.name||null,this.officeId=i&&i.officeId||null,this.phone=i&&i.phone||null,this.propertyId=i&&i.propertyId||null,this.userId=i&&i.userId||null,this.whatsApp=i&&i.whatsApp||null,this.codePhone=i&&i.codePhone||null,this.thumbnailBC=i&&i.thumbnailBC||null,this.whatsCode=i&&i.whatsCode||null,this.bcId=i&&i.bcId||null},l=function(i){this.areaUnit=i&&i.areaUnit||null,this.bathrooms=i&&i.bathrooms||null,this.bedrooms=i&&i.bedrooms||null,this.builtIn=i&&i.builtIn||null,this.condominiumFeePrice=i&&i.condominiumFeePrice||null,this.landUse=i&&i.landUse||null,this.mainArea=i&&i.mainArea||null,this.parkingSpaces=i&&i.parkingSpaces||null,this.roi=i&&i.roi||null,this.secondaryArea=i&&i.secondaryArea||null},s=function(i){this.address=i?new e(i.address||null):null,this.authUsers=i?i.authUsers:null,this.brand=i&&i.brand||null,this.changeDate=i&&i.changeDate||null,this.creationDate=i&&i.creationDate||null,this.currency=i&&i.currency||null,this.description=i&&i.description||null,this.endPublishDate=i&&i.endPublishDate||null,this.features=i&&i.features||null,this.id=i&&i.id||null,this.image=i&&i.image||null,this.mls=i&&i.mls||null,this.offering=i&&i.offering||null,this.officeId=i&&i.officeId||null,this.price=i&&i.price||null,this.startPublishDate=i&&i.startPublishDate||null,this.status=i&&i.status||null,this.type=i&&i.type||null,this.url=i&&i.url||null,this.userId=i&&i.userId||null},r=function(i){this.date=i?i.date:null,this.email=i?i.email:null,this.hide=i?i.hide:null,this.id=i?i.id:null,this.officeId=i?i.officeId:null,this.pOffering=i?i.pOffering:null,this.pType=i?i.pType:null,this.phone=i?i.phone:null,this.phoneCode=i?i.phoneCode:null,this.propertyId=i?i.propertyId:null,this.propertyLite=i?new s(i.propertyLite||null):null,this.type=i?i.type:null,this.uImage=i?i.uImage:null,this.uName=i?i.uName:null,this.userId=i?i.userId:null,this.whatsApp=i?i.whatsApp:null,this.whatsCode=i?i.whatsCode:null},u=function(i){this.favorites=i&&i.favorites||null,this.id=i&&i.id||null,this.offers=i&&i.offers||null,this.officeId=i&&i.officeId||null,this.pOffering=i&&i.pOffering||null,this.pType=i&&i.pType||null,this.priority=i&&i.priority||null,this.propertyLite=i&&i.propertyLite||null,this.requests=i&&i.requests||null,this.shared=i&&i.shared||null,this.views=i&&i.views||null},h={ACTIVE:"ACTIVE",INACTIVE:"INACTIVE"},a={GROUP:"GROUP",INDIVIDUAL:"INDIVIDUAL"},o=function(i){this.address=i?new e(i.address||null):null,this.brand=i&&i.brand||null,this.codePhone=i&&i.codePhone||null,this.description=i&&i.description||null,this.id=i&&i.id||null,this.inscription=i&&i.inscription||null,this.inscriptionStartDate=i&&i.inscriptionStartDate||null,this.logo=i&&i.logo||null,this.name=i&&i.name||null,this.phone=i&&i.phone||null,this.rfc=i&&i.rfc||null,this.subscription=i&&i.subscription||null,this.subscriptionEndDate=i&&i.subscriptionEndDate||null,this.webSite=i&&i.webSite||null,this.type=i&&i.type||a.INDIVIDUAL,this.status=i&&i.status||h.INACTIVE},E=function(i){this.address=i&&i.address||null,this.email=i&&i.email||null,this.location=i&&i.location||null,this.name=i&&i.name||null,this.phone=i&&i.phone||null,this.codePhone=i&&i.codePhone||null,this.lastName=i&&i.lastName||null},N=function(i){this.commission=i&&i.commission||null,this.consumerReporting=i&&i.consumerReporting||null,this.endPublishDate=i&&i.endPublishDate||null,this.leaseTransferPrice=i&&i.leaseTransferPrice||null,this.listingAgreementStartDate=i&&i.listingAgreementStartDate||null,this.listingAgreementTime=i&&i.listingAgreementTime||null,this.mls=i&&i.mls||null,this.notes=i&&i.notes||null,this.owner=i?new E(i.owner||null):null,this.sharedCommission=i&&i.sharedCommission||null,this.startPublishDate=i&&i.startPublishDate||null,this.exclusivity=i&&i.exclusivity||null,this.lowestPrice=i&&i.lowestPrice||null},I=function(i){this.address=i?new e(i.address||null):null,this.amenities=i?new t(i.amenities||null):null,this.image=i&&i.image||null,this.brand=i&&i.brand||null,this.changeDate=i&&i.changeDate||null,this.countryCode=i&&i.countryCode||null,this.creationDate=i&&i.creationDate||null,this.currency=i&&i.currency||null,this.description=i&&i.description||null,this.externalId=i&&i.externalId||null,this.externalLink=i&&i.externalLink||null,this.features=i?new l(i.features||null):null,this.id=i&&i.id||null,this.offering=i&&i.offering||null,this.officeId=i&&i.officeId||null,this.price=i&&i.price||null,this.usdPrice=i&&i.usdPrice||null,this.propertyInfo=i?new N(i.propertyInfo||null):null,this.status=i&&i.status||null,this.type=i&&i.type||null,this.url=i&&i.url||null,this.userId=i&&i.userId||null,this.sku=i&&i.sku||null},d=function(i){this.office=i?new o(i.office||null):null,this.property=i?new I(i.property||null):null,this.leadInfo=i?new u(i.leadInfo||null):null,this.authUsers=i&&i.authUsers||null,this.files=i&&i.files||null,this.images=i&&i.images||null,this.spherics=i&&i.spherics||null,this.videos=i&&i.videos||null},R=function(i){this.address=i&&i.address||null,this.creationDate=i&&i.creationDate||null,this.currency=i&&i.currency||null,this.id=i&&i.id||null,this.image=i&&i.image||null,this.offering=i&&i.offering||null,this.officeId=i&&i.officeId||null,this.price=i&&i.price||null,this.propertyId=i&&i.propertyId||null,this.relevance=i&&i.relevance||null,this.type=i&&i.type||null,this.url=i&&i.url||null,this.userMLId=i&&i.userMLId||null,this.userSearchId=i&&i.userSearchId||null},T=function(i){this.fileCS=i&&i.fileCS||null,this.id=i&&i.id||null,this.media=i&&i.media||null,this.name=i&&i.name||null,this.position=i&&i.position||null,this.propertyId=i&&i.propertyId||null,this.type=i&&i.type||null},A=function(i,e,t,n){this.blob=i||null,this.url=e||null,this.name=t||null,this.type=n||null},D={"":0,AED:"AED",AFN:"AFN",ALL:"ALL",AMD:"AMD",ANG:"ANG",AOA:"AOA",ARS:"ARS",AUD:"AUD",AWG:"AWG",AZN:"AZN",BAM:"BAM",BBD:"BBD",BDT:"BDT",BGN:"BGN",BHD:"BHD",BIF:"BIF",BMD:"BMD",BND:"BND",BOB:"BOB",BRL:"BRL",BSD:"BSD",BTC:"BTC",BTN:"BTN",BWP:"BWP",BYR:"BYR",BZD:"BZD",CAD:"CAD",CDF:"CDF",CHF:"CHF",CLF:"CLF",CLP:"CLP",CNY:"CNY",COP:"COP",CRC:"CRC",CUC:"CUC",CUP:"CUP",CVE:"CVE",CZK:"CZK",DJF:"DJF",DKK:"DKK",DOP:"DOP",DZD:"DZD",EEK:"EEK",EGP:"EGP",ERN:"ERN",ETB:"ETB",EUR:"EUR",FJD:"FJD",FKP:"FKP",GBP:"GBP",GEL:"GEL",GGP:"GGP",GHS:"GHS",GIP:"GIP",GMD:"GMD",GNF:"GNF",GTQ:"GTQ",GYD:"GYD",HKD:"HKD",HNL:"HNL",HRK:"HRK",HTG:"HTG",HUF:"HUF",IDR:"IDR",ILS:"ILS",IMP:"IMP",INR:"INR",IQD:"IQD",IRR:"IRR",ISK:"ISK",JEP:"JEP",JMD:"JMD",JOD:"JOD",JPY:"JPY",KES:"KES",KGS:"KGS",KHR:"KHR",KMF:"KMF",KPW:"KPW",KRW:"KRW",KWD:"KWD",KYD:"KYD",KZT:"KZT",LAK:"LAK",LBP:"LBP",LKR:"LKR",LRD:"LRD",LSL:"LSL",LTL:"LTL",LVL:"LVL",LYD:"LYD",MAD:"MAD",MDL:"MDL",MGA:"MGA",MKD:"MKD",MMK:"MMK",MNT:"MNT",MOP:"MOP",MRO:"MRO",MUR:"MUR",MVR:"MVR",MWK:"MWK",MXN:"MXN",MYR:"MYR",MZN:"MZN",NAD:"NAD",NGN:"NGN",NIO:"NIO",NOK:"NOK",NPR:"NPR",NZD:"NZD",OMR:"OMR",PAB:"PAB",PEN:"PEN",PGK:"PGK",PHP:"PHP",PKR:"PKR",PLN:"PLN",PYG:"PYG",QAR:"QAR",RON:"RON",RSD:"RSD",RUB:"RUB",RWF:"RWF",SAR:"SAR",SBD:"SBD",SCR:"SCR",SDG:"SDG",SEK:"SEK",SGD:"SGD",SHP:"SHP",SLL:"SLL",SOS:"SOS",SRD:"SRD",STD:"STD",SVC:"SVC",SYP:"SYP",SZL:"SZL",THB:"THB",TJS:"TJS",TMT:"TMT",TND:"TND",TOP:"TOP",TRY:"TRY",TTD:"TTD",TWD:"TWD",TZS:"TZS",UAH:"UAH",UGX:"UGX",USD:"USD",UYU:"UYU",UZS:"UZS",VEF:"VEF",VND:"VND",VUV:"VUV",WST:"WST",XAF:"XAF",XAG:"XAG",XAU:"XAU",XCD:"XCD",XDR:"XDR",XOF:"XOF",XPF:"XPF",YER:"YER",ZAR:"ZAR",ZMK:"ZMK",ZMW:"ZMW",ZWL:"ZWL"};D[D[""]]="";var c={ACCEPT:0,CANCEL:1};c[c.ACCEPT]="ACCEPT",c[c.CANCEL]="CANCEL";var p={ALERT:0,CONFIRM:1,WITH_INPUT:2};p[p.ALERT]="ALERT",p[p.CONFIRM]="CONFIRM",p[p.WITH_INPUT]="WITH_INPUT";var S={PREV:0,NEXT:1,BOTH:2,NONE:3};S[S.PREV]="PREV",S[S.NEXT]="NEXT",S[S.BOTH]="BOTH",S[S.NONE]="NONE";var O={ALREADY_EXISTS:470,BAD_REQUEST:400,FORBIDDEN:403,NOT_ACCEPTABLE:406,INCORRECT_PASS:472,INTERNAL_SERVER_ERROR:500,NO_CONTENT:204,NOT_EXISTS:471,OK:200,REQUEST_TIMEOUT:408,SERVICE_UNAVAILABLE:503};O[O.ALREADY_EXISTS]="ALREADY_EXISTS",O[O.BAD_REQUEST]="BAD_REQUEST",O[O.FORBIDDEN]="FORBIDDEN",O[O.NOT_ACCEPTABLE]="NOT_ACCEPTABLE",O[O.INCORRECT_PASS]="INCORRECT_PASS",O[O.INTERNAL_SERVER_ERROR]="INTERNAL_SERVER_ERROR",O[O.NO_CONTENT]="NO_CONTENT",O[O.NOT_EXISTS]="NOT_EXISTS",O[O.OK]="OK",O[O.REQUEST_TIMEOUT]="REQUEST_TIMEOUT",O[O.SERVICE_UNAVAILABLE]="SERVICE_UNAVAILABLE";var C={ALIGNMENT_AND_OFFICIAL_NUMBER:"ALIGNMENT_AND_OFFICIAL_NUMBER",BUILDING_LICENSE:"BUILDING_LICENSE",COMPLETION_OF_CONSTRUCTION:"COMPLETION_OF_CONSTRUCTION",CONSTANCY_OF_NO_DEBT:"CONSTANCY_OF_NO_DEBT",DEED:"DEED",ELECTRICITY_BILL:"ELECTRICITY_BILL",EXEMPTION_TAX:"EXEMPTION_TAX",IMAGE:"IMAGE",MORTGAGE:"MORTGAGE",OTHER:"OTHER",OWNER_ID:"OWNER_ID",PROPERTY_BILL:"PROPERTY_BILL",SPHERIC:"SPHERIC",VIDEO:"VIDEO",WATER_BILL:"WATER_BILL"},P={DAY:0,WEEK:1,MONTH:2,OTHER:3};P[P.DAY]="DAY",P[P.WEEK]="WEEK",P[P.MONTH]="MONTH",P[P.OTHER]="OTHER",i.Address=e,i.Amenities=t,i.AreaUnitEnum={FT2:"FT2",M2:"M2",NONE:"NONE"},i.AuthUser=n,i.BrandTypeEnum={NONE:"NONE",OPI:"OPI",REMAX:"REMAX",FIABCI:"FIABCI",AMPI:"AMPI",CB:"CB",GZIP:"GZIP",KW:"KW",WFGT:"WFGT",XV:"XV"},i.Currency=D,i.DeviceTypeEnum={ANDROID:"ANDROID",IOS:"IOS",NONE:"NONE",WEB:"WEB"},i.DialogResponseType=c,i.DialogType=p,i.Features=l,i.HttpStatusCode=O,i.LandUseEnum={AGRICULTURAL:"AGRICULTURAL",COMMERCE:"COMMERCE",HOUSING_WITH_COMMERCE:"HOUSING_WITH_COMMERCE",HOUSING_WITH_OFFICE:"HOUSING_WITH_OFFICE",INDUSTRY:"INDUSTRY",MIXED_HOUSING:"MIXED_HOUSING",MULTI_FAMILY_HOUSING:"MULTI_FAMILY_HOUSING",NONE:"NONE",OFFICE:"OFFICE",OTHER:"OTHER",SERVICES:"SERVICES",SINGLE_FAMILY_HOUSING:"SINGLE_FAMILY_HOUSING"},i.LanguageTypeEnum={ENGLISH:"ENGLISH",SPANISH:"SPANISH"},i.Lead=r,i.LeadInfo=u,i.LeadTypeEnum={FAVORITES:"FAVORITES",NONE:"NONE",OFFERS:"OFFERS",REQUESTED:"REQUESTED",SHARED:"SHARED",WHATSAPP:"WHATSAPP",PHONE:"PHONE"},i.MaxAge=P,i.NewCompleteProperty=d,i.NewProperty=I,i.NewPropertyLite=s,i.NewPropertyLiteSuggest=R,i.OfferingTypeEnum={NONE:"NONE",RENT:"RENT",SALE:"SALE",SALE_AND_RENT:"SALE_AND_RENT"},i.Office=o,i.Owner=E,i.PFile=T,i.PFileTypeEnum=C,i.PaginationStep=S,i.PropertyInfo=N,i.PropertyTypeEnum={APARTMENT:"APARTMENT",HOUSE:"HOUSE",INVESTMENT:"INVESTMENT",LAND:"LAND",NONE:"NONE",OFFICE:"OFFICE",RESIDENTIAL:"RESIDENTIAL",RETAIL:"RETAIL",ROOM:"ROOM",WAREHOUSE:"WAREHOUSE"},i.StatusTypeEnum={ANNOUNCED:"ANNOUNCED",DRAFT:"DRAFT",EXPIRED:"EXPIRED",HIDDEN:"HIDDEN",READY:"READY",NONE:"NONE"},i.UserMedia=A,i.ɵa=C,Object.defineProperty(i,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=maplander-types.umd.min.js.map |
@@ -6,2 +6,4 @@ /** | ||
import { Address } from './address'; | ||
import { AccountStatus } from '../enums/account-status'; | ||
import { AccountType } from '../enums/account-type'; | ||
export class Office { | ||
@@ -26,2 +28,4 @@ /** | ||
this.webSite = office ? office.webSite || null : null; | ||
this.type = office ? office.type || AccountType.INDIVIDUAL : AccountType.INDIVIDUAL; | ||
this.status = office ? office.status || AccountStatus.INACTIVE : AccountStatus.INACTIVE; | ||
} | ||
@@ -58,3 +62,7 @@ } | ||
Office.prototype.webSite; | ||
/** @type {?} */ | ||
Office.prototype.type; | ||
/** @type {?} */ | ||
Office.prototype.status; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2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HlwZS5JTkRJVklEVUFMIDogQWNjb3VudFR5cGUuSU5ESVZJRFVBTDtcclxuICAgIHRoaXMuc3RhdHVzID0gb2ZmaWNlID8gb2ZmaWNlLnN0YXR1cyB8fCBBY2NvdW50U3RhdHVzLklOQUNUSVZFIDogQWNjb3VudFN0YXR1cy5JTkFDVElWRTtcclxuICB9XHJcbn1cclxuIl19 |
@@ -6,2 +6,4 @@ /** | ||
import { Address } from './address'; | ||
import { AccountStatus } from '../enums/account-status'; | ||
import { AccountType } from '../enums/account-type'; | ||
var Office = /** @class */ (function () { | ||
@@ -23,2 +25,4 @@ function Office(office) { | ||
this.webSite = office ? office.webSite || null : null; | ||
this.type = office ? office.type || AccountType.INDIVIDUAL : AccountType.INDIVIDUAL; | ||
this.status = office ? office.status || AccountStatus.INACTIVE : AccountStatus.INACTIVE; | ||
} | ||
@@ -57,3 +61,7 @@ return Office; | ||
Office.prototype.webSite; | ||
/** @type {?} */ | ||
Office.prototype.type; | ||
/** @type {?} */ | ||
Office.prototype.status; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2ZmaWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG1hcGxhbmRlci90eXBlcy8iLCJzb3VyY2VzIjpbImxpYi9jbGFzcy9vZmZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUNBLE9BQU8sRUFBQyxPQUFPLEVBQUMsTUFBTSxXQUFXLENBQUM7QUFHbEM7SUFlRSxnQkFBWSxNQUFZO1FBQ3RCLElBQUksQ0FBQyxPQUFPLEdBQUcsTUFBTSxDQUFDLENBQUMsQ0FBQyxJQUFJLE9BQU8sQ0FBQyxNQUFNLENBQUMsT0FBTyxJQUFJLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUM7UUFDbkUsSUFBSSxDQUFDLEtBQUssR0FBRyxNQUFNLENBQUMsQ0FBQyxDQUFDLE1BQU0sQ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ZmaWNlLmxvZ28gfHwgbnVsbCA6IG51bGw7XHJcbiAgICB0aGlzLm5hbWUgPSBvZmZpY2UgPyBvZmZpY2UubmFtZSB8fCBudWxsIDogbnVsbDtcclxuICAgIHRoaXMucGhvbmUgPSBvZmZpY2UgPyBvZmZpY2UucGhvbmUgfHwgbnVsbCA6IG51bGw7XHJcbiAgICB0aGlzLnJmYyA9IG9mZmljZSA/IG9mZmljZS5yZmMgfHwgbnVsbCA6IG51bGw7XHJcbiAgICB0aGlzLnN1YnNjcmlwdGlvbiA9IG9mZmljZSA/IG9mZmljZS5zdWJzY3JpcHRpb24gfHwgbnVsbCA6IG51bGw7XHJcbiAgICB0aGlzLnN1YnNjcmlwdGlvbkVuZERhdGUgPSBvZmZpY2UgPyBvZmZpY2Uuc3Vic2NyaXB0aW9uRW5kRGF0ZSB8fCBudWxsIDogbnVsbDtcclxuICAgIHRoaXMud2ViU2l0ZSA9IG9mZmljZSA/IG9mZmljZS53ZWJTaXRlIHx8IG51bGwgOiBudWxsO1xyXG4gICAgdGhpcy50eXBlID0gb2ZmaWNlID8gb2ZmaWNlLnR5cGUgfHwgQWNjb3VudFR5cGUuSU5ESVZJRFVBTCA6IEFjY291bnRUeXBlLklORElWSURVQUw7XHJcbiAgICB0aGlzLnN0YXR1cyA9IG9mZmljZSA/IG9mZmljZS5zdGF0dXMgfHwgQWNjb3VudFN0YXR1cy5JTkFDVElWRSA6IEFjY291bnRTdGF0dXMuSU5BQ1RJVkU7XHJcbiAgfVxyXG59XHJcbiJdfQ== |
@@ -231,2 +231,22 @@ /** | ||
*/ | ||
/** @enum {string} */ | ||
const AccountStatus = { | ||
ACTIVE: 'ACTIVE', | ||
INACTIVE: 'INACTIVE', | ||
}; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @enum {string} */ | ||
const AccountType = { | ||
GROUP: 'GROUP', | ||
INDIVIDUAL: 'INDIVIDUAL', | ||
}; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
class Office { | ||
@@ -251,2 +271,4 @@ /** | ||
this.webSite = office ? office.webSite || null : null; | ||
this.type = office ? office.type || AccountType.INDIVIDUAL : AccountType.INDIVIDUAL; | ||
this.status = office ? office.status || AccountStatus.INACTIVE : AccountStatus.INACTIVE; | ||
} | ||
@@ -253,0 +275,0 @@ } |
@@ -217,2 +217,22 @@ /** | ||
*/ | ||
/** @enum {string} */ | ||
var AccountStatus = { | ||
ACTIVE: 'ACTIVE', | ||
INACTIVE: 'INACTIVE', | ||
}; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @enum {string} */ | ||
var AccountType = { | ||
GROUP: 'GROUP', | ||
INDIVIDUAL: 'INDIVIDUAL', | ||
}; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var Office = /** @class */ (function () { | ||
@@ -234,2 +254,4 @@ function Office(office) { | ||
this.webSite = office ? office.webSite || null : null; | ||
this.type = office ? office.type || AccountType.INDIVIDUAL : AccountType.INDIVIDUAL; | ||
this.status = office ? office.status || AccountStatus.INACTIVE : AccountStatus.INACTIVE; | ||
} | ||
@@ -236,0 +258,0 @@ return Office; |
import { FileCS, OfficeModel } from '../models/backend'; | ||
import { Address } from './address'; | ||
import { BrandTypeEnum } from '../enums/backend'; | ||
import { AccountStatus } from '../enums/account-status'; | ||
import { AccountType } from '../enums/account-type'; | ||
export declare class Office implements OfficeModel { | ||
@@ -19,3 +21,5 @@ address: Address; | ||
webSite: string; | ||
type: AccountType; | ||
status: AccountStatus; | ||
constructor(office?: any); | ||
} |
{ | ||
"name": "@maplander/types", | ||
"version": "0.21.4", | ||
"version": "0.21.5", | ||
"license": "UNLICENSED", | ||
@@ -5,0 +5,0 @@ "author": "Alejandro Lopez A <program.alopez@gmail.com> (https://alx-developer.herokuapp.com)", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
802856
227
8434