@alba-cars/common-modules 2.12.0 → 2.12.2

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- (()=>{"use strict";var e={25:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},46:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.TicketGetDTO=t.TicketDto=t.UpdateTicketDto=t.CreateTicketDocumentDto=t.CreateTicketMessageDto=t.CreateTicketDto=void 0;const r=i(6325),s=i(284),a=i(7060),p=i(8465);class l{}o([(0,r.IsUUID)(),n("design:type",String)],l.prototype,"userId",void 0),o([(0,r.IsEnum)(a.TicketRequestType),n("design:type",String)],l.prototype,"requestType",void 0),o([(0,r.IsString)(),n("design:type",String)],l.prototype,"message",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],l.prototype,"assignedSalesAgentId",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],l.prototype,"agentName",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],l.prototype,"agentPhoneNumber",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"initialDocument",void 0),t.CreateTicketDto=l;class d{}o([(0,r.IsUUID)(),n("design:type",String)],d.prototype,"ticketId",void 0),o([(0,r.IsUUID)(),n("design:type",String)],d.prototype,"senderId",void 0),o([(0,r.IsString)(),n("design:type",String)],d.prototype,"message",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],d.prototype,"isFromAgent",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],d.prototype,"attachedDocument",void 0),t.CreateTicketMessageDto=d;class c{}o([(0,r.IsUUID)(),n("design:type",String)],c.prototype,"ticketId",void 0),o([(0,r.IsUUID)(),n("design:type",String)],c.prototype,"uploaderId",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"messageId",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],c.prototype,"document",void 0),t.CreateTicketDocumentDto=c;class y{}o([(0,r.IsEnum)(a.TicketRequestType),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"requestType",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"message",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"assignedSalesAgentId",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"agentName",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"agentPhoneNumber",void 0),o([(0,r.IsEnum)(a.TicketStatusType),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),n("design:type",Array)],y.prototype,"documents",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,s.Type)((()=>p.TicketMessage)),n("design:type",Array)],y.prototype,"messages",void 0),t.UpdateTicketDto=y;class g{}o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"userId",void 0),o([(0,r.IsEnum)(a.TicketRequestType),n("design:type",String)],g.prototype,"requestType",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"message",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"assignedSalesAgentId",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],g.prototype,"assignedSalesAgent",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],g.prototype,"user",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"agentName",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"agentPhoneNumber",void 0),o([(0,r.IsEnum)(a.TicketStatusType),n("design:type",String)],g.prototype,"status",void 0),o([(0,s.Type)((()=>Date)),(0,r.IsDate)(),n("design:type",Date)],g.prototype,"createdAt",void 0),o([(0,s.Type)((()=>Date)),(0,r.IsDate)(),n("design:type",Date)],g.prototype,"updatedAt",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>p.TicketMessage)),n("design:type",Array)],g.prototype,"messages",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>p.TicketDocument)),n("design:type",Array)],g.prototype,"documents",void 0),t.TicketDto=g;class u{constructor(){this.id="",this.refId=0,this.createdById=null,this.updatedById=null,this.deletedById=null,this.isDeleted=!1,this.isActive=!0,this.createdAt=(new Date).toISOString(),this.updatedAt=(new Date).toISOString(),this.userId="",this.requestType=a.TicketRequestType.CAR_VIEWING,this.message="",this.assignedSalesAgentId,this.agentName="",this.agentPhoneNumber="",this.status=a.TicketStatusType.OPEN}}o([(0,r.IsUUID)(),n("design:type",String)],u.prototype,"id",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"refId",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",Object)],u.prototype,"createdById",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",Object)],u.prototype,"updatedById",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",Object)],u.prototype,"deletedById",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],u.prototype,"isDeleted",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],u.prototype,"isActive",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"createdAt",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"updatedAt",void 0),o([(0,r.IsUUID)(),n("design:type",String)],u.prototype,"userId",void 0),o([(0,r.IsEnum)(a.TicketRequestType),n("design:type",String)],u.prototype,"requestType",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"message",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"assignedSalesAgentId",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"agentName",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"agentPhoneNumber",void 0),o([(0,r.IsEnum)(a.TicketStatusType),n("design:type",String)],u.prototype,"status",void 0),t.TicketGetDTO=u},141:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(9058),t)},167:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicVehicleCategoryDTO=t.VehicleCategoryUpdateDTO=t.VehicleCategoryCreateDTO=t.VehicleCategoryGetUniqueDTO=t.VehicleCategoryGetDTO=void 0;const r=i(284),s=i(6325),a=i(1746);class p{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(p,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleCategoryGetDTO=p;class l{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(l,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleCategoryGetUniqueDTO=l;class d extends a.BaseCreateDTO{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(d,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsString)(),(0,s.IsNotEmpty)(),(0,s.IsDefined)(),(0,s.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],d.prototype,"name",void 0),t.VehicleCategoryCreateDTO=d;class c extends a.BaseUpdateDTO{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(c,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsString)(),(0,s.IsOptional)(),(0,s.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],c.prototype,"name",void 0),t.VehicleCategoryUpdateDTO=c;class y{constructor(e){this.existingId=e.existingId,this.new=e.new}validate(){if(!this.existingId&&!this.new)throw new Error("Either existingId or new details must be provided.")}static fromPlain(e){return(0,r.plainToClass)(y,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsString)(),(0,s.IsOptional)(),n("design:type",String)],y.prototype,"existingId",void 0),o([(0,s.ValidateNested)(),(0,r.Type)((()=>d)),(0,s.IsOptional)(),n("design:type",d)],y.prototype,"new",void 0),t.DynamicVehicleCategoryDTO=y},284:e=>{e.exports=require("class-transformer")},363:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(1456),t)},435:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.BlogUpdateDTO=t.BlogCreateDTO=t.BlogGetDTO=t.BlogGetDTOOptions=t.BlogFilter=void 0;const r=i(284),s=i(6325),a=i(2490);class p{}o([(0,s.IsString)(),n("design:type",String)],p.prototype,"question",void 0),o([(0,s.IsString)(),n("design:type",String)],p.prototype,"answer",void 0);class l extends a.TypedFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(l,e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],l.prototype,"title",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],l.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],l.prototype,"status",void 0),o([(0,s.IsOptional)(),n("design:type",a.DateFilter)],l.prototype,"date",void 0),t.BlogFilter=l,t.BlogGetDTOOptions=class{};class d{static fromEntity(e){return(0,r.plainToClass)(d,e)}toPlain(){return(0,r.classToPlain)(this)}validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(d,e)}}t.BlogGetDTO=d;class c{constructor(){this.status="draft"}validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(c,e)}}o([(0,s.IsString)(),n("design:type",String)],c.prototype,"title",void 0),o([(0,s.IsString)(),n("design:type",String)],c.prototype,"description",void 0),o([(0,s.IsString)(),n("design:type",String)],c.prototype,"content",void 0),o([(0,s.IsDateString)(),n("design:type",String)],c.prototype,"date",void 0),o([(0,s.IsString)(),n("design:type",String)],c.prototype,"imageLink",void 0),o([(0,s.IsString)(),n("design:type",String)],c.prototype,"imageAlt",void 0),o([(0,s.IsString)(),n("design:type",String)],c.prototype,"metaDescription",void 0),o([(0,s.IsString)(),n("design:type",String)],c.prototype,"metaKeywords",void 0),o([(0,s.IsString)(),n("design:type",String)],c.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],c.prototype,"status",void 0),o([(0,s.IsOptional)(),(0,s.IsArray)(),(0,s.ValidateNested)({each:!0}),(0,r.Type)((()=>p)),n("design:type",Array)],c.prototype,"faq",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],c.prototype,"audioUrl",void 0),t.BlogCreateDTO=c;class y{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(y,e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"title",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"description",void 0),o([(0,s.IsString)(),n("design:type",String)],y.prototype,"content",void 0),o([(0,s.IsOptional)(),(0,s.IsDateString)(),n("design:type",String)],y.prototype,"date",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"imageLink",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"imageAlt",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"metaDescription",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"metaKeywords",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"status",void 0),o([(0,s.IsOptional)(),(0,s.IsArray)(),(0,s.ValidateNested)({each:!0}),(0,r.Type)((()=>p)),n("design:type",Array)],y.prototype,"faq",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"audioUrl",void 0),t.BlogUpdateDTO=y},523:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleFeatureCategory=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleFeatureCategory=n},643:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DepositGetDTO=t.DepositOptions=t.DepositFilter=t.DepositUpdateDTO=t.DepositCreateDTO=t.DepositDTO=t.PaymentOption=t.DepositStatus=void 0;const r=i(6325),s=i(284),a=i(2446),p=i(7594),l=i(8465);var d,c;!function(e){e.PENDING="pending",e.COMPLETED="completed",e.FAILED="failed"}(d=t.DepositStatus||(t.DepositStatus={})),function(e){e.CASH="cash",e.BANK_TYPE_A="bank-a",e.BANK_TYPE_B="bank-b"}(c=t.PaymentOption||(t.PaymentOption={}));class y{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(y,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],y.prototype,"id",void 0),o([(0,r.IsString)(),n("design:type",String)],y.prototype,"stripePaymentIntentId",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],y.prototype,"amount",void 0),o([(0,r.IsString)(),n("design:type",String)],y.prototype,"currency",void 0),o([(0,r.IsEnum)(d),n("design:type",String)],y.prototype,"status",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],y.prototype,"isRefundable",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],y.prototype,"paymentOption",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],y.prototype,"isRefunded",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.LeadDTO)),n("design:type",p.LeadDTO)],y.prototype,"lead",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>l.Vehicle)),n("design:type",l.Vehicle)],y.prototype,"vehicle",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],y.prototype,"isDeleted",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],y.prototype,"createdAt",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],y.prototype,"updatedAt",void 0),t.DepositDTO=y;class g{constructor(){this.currency="aed",this.status=d.PENDING,this.isRefundable=!1,this.isRefunded=!1}validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(g,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],g.prototype,"stripePaymentIntentId",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"amount",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],g.prototype,"paymentOption",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"currency",void 0),o([(0,r.IsEnum)(d),n("design:type",String)],g.prototype,"status",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],g.prototype,"isRefundable",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],g.prototype,"isRefunded",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],g.prototype,"leadId",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],g.prototype,"userId",void 0),o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"vehicleId",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],g.prototype,"marketing",void 0),t.DepositCreateDTO=g;class u{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(u,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsEnum)(d),n("design:type",String)],u.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],u.prototype,"isRefundable",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],u.prototype,"isRefunded",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(c),n("design:type",String)],u.prototype,"paymentOption",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],u.prototype,"isDeleted",void 0),t.DepositUpdateDTO=u;class v extends a.TypedFilter{}o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"id",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"stripePaymentIntentId",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)({},{each:!0}),n("design:type",Object)],v.prototype,"amount",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"currency",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(d,{each:!0}),n("design:type",Object)],v.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],v.prototype,"isRefundable",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],v.prototype,"isRefunded",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"leadId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"userId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"vehicleId",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],v.prototype,"isDeleted",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],v.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>Date)),n("design:type",Date)],v.prototype,"fromDate",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>Date)),n("design:type",Date)],v.prototype,"toDate",void 0),t.DepositFilter=v;class I extends a.TypedOptions{static fromPlain(e){return(0,s.plainToClass)(I,e)}toPlain(){return(0,s.classToPlain)(this)}}t.DepositOptions=I;class O extends a.BaseGetDTO{static fromPlain(e){return(0,s.plainToClass)(this,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.ValidateNested)(),(0,s.Type)((()=>v)),(0,r.IsOptional)(),n("design:type",v)],O.prototype,"filters",void 0),o([(0,s.Type)((()=>I)),(0,r.IsOptional)(),n("design:type",I)],O.prototype,"options",void 0),t.DepositGetDTO=O},800:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.FinanceType=void 0,(i=t.FinanceType||(t.FinanceType={})).READY_CASH="READY_CASH",i.BANK_FINANCE_WITH_RESERVATION="BANK_FINANCE_WITH_RESERVATION",i.BANK_FINANCE_ELIGIBILITY="BANK_FINANCE_ELIGIBILITY"},1009:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BankValuationResult=t.BankValuationAction=void 0,t.BankValuationAction={APPROVAL:"approval",REJECTION:"rejection",ISSUED_FOR_FREE:"issued_for_free",REISSUED_CERTIFICATE:"reissued_certificate",EDITED:"edited"},t.BankValuationResult=class{}},1100:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FinanceEligibilityFetchDTO=t.FinanceEligibilityOptionsDTO=t.FinanceEligibilityFilterDTO=t.FinanceEligibilityRequestResponseDTO=t.FinanceEligibilityRequestUpdateDTO=t.FinanceEligibilityRequestCreateDTO=t.Status=t.EligibilityStatus=t.YesNo=t.EmployeeCount=t.SalaryType=void 0;const r=i(6325),s=i(284),a=i(2446),p=i(8465);var l,d,c,y,g;!function(e){e.WPS="wps",e.BANK_TRANSFER="bank_transfer",e.CASH="cash",e.OTHER="other"}(l=t.SalaryType||(t.SalaryType={})),function(e){e.LESS_THAN_10="less_than_10",e.BETWEEN_10_50="between_10_50",e.MORE_THAN_50="more_than_50"}(d=t.EmployeeCount||(t.EmployeeCount={})),function(e){e.YES="yes",e.NO="no"}(c=t.YesNo||(t.YesNo={})),function(e){e[e.ELIGIBLE=1]="ELIGIBLE",e[e.NOT_ELIGIBLE=0]="NOT_ELIGIBLE"}(y=t.EligibilityStatus||(t.EligibilityStatus={})),function(e){e.PENDING="pending",e.APPROVED="approved",e.REJECTED="rejected"}(g=t.Status||(t.Status={}));class u{static fromPlain(e){return(0,s.plainToClass)(u,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"vehicleId",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"makeId",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"modelId",void 0),o([(0,r.IsString)(),(0,r.MinLength)(2),(0,r.MaxLength)(50),n("design:type",String)],u.prototype,"fullName",void 0),o([(0,r.IsEmail)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"email",void 0),o([(0,r.IsString)(),(0,r.Matches)(/^[0-9+\s-]{8,}$/),n("design:type",String)],u.prototype,"contactNumber",void 0),o([(0,r.IsNumber)(),(0,r.IsPositive)(),n("design:type",Number)],u.prototype,"currentSalary",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],u.prototype,"existingLoans",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"totalMonthlyInstallments",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],u.prototype,"hasCreditScore",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"totalCreditLimit",void 0),o([(0,r.IsEnum)(l),n("design:type",String)],u.prototype,"salaryType",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],u.prototype,"previousDisputes",void 0),o([(0,r.IsEnum)(d),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"employeeCount",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],u.prototype,"isCompanyOlderThanOneYear",void 0),o([(0,r.IsEnum)(c),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"hasLandline",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Array)],u.prototype,"documents",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],u.prototype,"marketing",void 0),t.FinanceEligibilityRequestCreateDTO=u;class v{static fromPlain(e){return(0,s.plainToClass)(v,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],v.prototype,"vehicleId",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],v.prototype,"makeId",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],v.prototype,"modelId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.MinLength)(2),(0,r.MaxLength)(50),n("design:type",String)],v.prototype,"fullName",void 0),o([(0,r.IsOptional)(),(0,r.IsEmail)(),n("design:type",String)],v.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.Matches)(/^[0-9+\s-]{8,}$/),n("design:type",String)],v.prototype,"contactNumber",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),(0,r.IsPositive)(),n("design:type",Number)],v.prototype,"currentSalary",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(c),n("design:type",String)],v.prototype,"existingLoans",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],v.prototype,"totalMonthlyInstallments",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(c),n("design:type",String)],v.prototype,"hasCreditScore",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],v.prototype,"totalCreditLimit",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(l),n("design:type",String)],v.prototype,"salaryType",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(c),n("design:type",String)],v.prototype,"previousDisputes",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(d),n("design:type",String)],v.prototype,"employeeCount",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],v.prototype,"isCompanyOlderThanOneYear",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(c),n("design:type",String)],v.prototype,"hasLandline",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(y),n("design:type",Number)],v.prototype,"eligibility",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Array)],v.prototype,"documents",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["pending","approved","rejected"]),n("design:type",String)],v.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],v.prototype,"rejectionReason",void 0),t.FinanceEligibilityRequestUpdateDTO=v;class I{static fromPlain(e){return(0,s.plainToClass)(I,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],I.prototype,"id",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],I.prototype,"vehicleId",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],I.prototype,"makeId",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],I.prototype,"modelId",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],I.prototype,"make",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],I.prototype,"model",void 0),o([(0,r.IsString)(),n("design:type",String)],I.prototype,"fullName",void 0),o([(0,r.IsOptional)(),(0,r.IsEmail)(),n("design:type",String)],I.prototype,"email",void 0),o([(0,r.IsString)(),n("design:type",String)],I.prototype,"contactNumber",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],I.prototype,"currentSalary",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],I.prototype,"existingLoans",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],I.prototype,"totalMonthlyInstallments",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],I.prototype,"hasCreditScore",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],I.prototype,"totalCreditLimit",void 0),o([(0,r.IsEnum)(l),n("design:type",String)],I.prototype,"salaryType",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],I.prototype,"previousDisputes",void 0),o([(0,r.IsEnum)(d),n("design:type",String)],I.prototype,"employeeCount",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],I.prototype,"isCompanyOlderThanOneYear",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],I.prototype,"hasLandline",void 0),o([(0,r.IsString)({each:!0}),n("design:type",Array)],I.prototype,"documents",void 0),o([(0,r.IsEnum)(y),n("design:type",Number)],I.prototype,"eligibility",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],I.prototype,"user",void 0),o([(0,r.IsOptional)(),n("design:type",p.Lead)],I.prototype,"lead",void 0),o([(0,r.IsEnum)(g),n("design:type",String)],I.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"rejectionReason",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],I.prototype,"marketing",void 0),t.FinanceEligibilityRequestResponseDTO=I;class O{static fromPlain(e){return(0,s.plainToClass)(O,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsOptional)(),n("design:type",String)],O.prototype,"search",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"vehicleId",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"leadId",void 0),o([(0,r.IsEnum)(y),(0,r.IsOptional)(),n("design:type",Number)],O.prototype,"eligibility",void 0),o([(0,r.IsEnum)(l),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"salaryType",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],O.prototype,"isActive",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",a.DateFilter)],O.prototype,"createdAt",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],O.prototype,"marketing",void 0),t.FinanceEligibilityFilterDTO=O;class f extends a.PaginationOptions{static fromPlain(e){return(0,s.plainToClass)(O,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsOptional)(),n("design:type",Object)],f.prototype,"sort",void 0),t.FinanceEligibilityOptionsDTO=f;class h{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(h,e)}toPlain(){return(0,s.instanceToPlain)(this)}}t.FinanceEligibilityFetchDTO=h},1179:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleFinanceUpdateDTO=t.VehicleFinanceCreateDTO=t.VehicleFinanceGetDTO=void 0;const r=i(6325),s=i(284);class a{static fromEntity(e){return(0,s.plainToClass)(a,e)}toPlain(){return(0,s.instanceToPlain)(this)}}t.VehicleFinanceGetDTO=a;class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],p.prototype,"vehicleId",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"price",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],p.prototype,"droppedPrice",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"interestPercentage",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"monthlyInstallment",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],p.prototype,"droppedMonthlyInstallment",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"financingYear",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"interestPerYear",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],p.prototype,"droppedInterestPerYear",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"totalReductionAmount",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"reductionDuration",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"durationShow",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"vehiclePriceType",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"reductionInterval",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"minimumBidAmount",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"initialDepositAmount",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"vatInclusive",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],p.prototype,"installmentAvailable",void 0),t.VehicleFinanceCreateDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"vehicleId",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"price",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"droppedPrice",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"interestPercentage",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"monthlyInstallment",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"droppedMonthlyInstallment",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"financingYear",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"interestPerYear",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"droppedInterestPerYear",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"vehiclePriceType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"vatInclusive",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],l.prototype,"installmentAvailable",void 0),t.VehicleFinanceUpdateDTO=l},1217:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(1558),t)},1354:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.formatCurrency=void 0,t.formatCurrency=(e,t={})=>{if(null==e)return"N/A";const{currency:i="AED",minimumFractionDigits:o=0,maximumFractionDigits:n=0}=t;try{return`AED ${new Intl.NumberFormat("en-US",{minimumFractionDigits:o,maximumFractionDigits:n,useGrouping:!0}).format(e)}`}catch(t){return console.warn("Currency formatting failed, using basic formatting",t),`AED ${e.toLocaleString("en-US",{minimumFractionDigits:o,maximumFractionDigits:n})}`}}},1395:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(9761),t),n(i(2587),t),n(i(7607),t)},1456:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(3199),t),n(i(1769),t)},1492:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.UserOptionsDTO=t.UserFilterDTO=t.UserFetchDTO=t.UserUpdateDTO=t.UserCreateDTO=t.UserGetDTO=void 0;const r=i(6325),s=i(284),a=i(2490);class p{static fromEntity(e){return(0,s.plainToClass)(p,e)}toPlain(){return(0,s.classToPlain)(this)}}t.UserGetDTO=p;class l{constructor(){this.isActive=!0}validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsEmail)(),n("design:type",String)],l.prototype,"email",void 0),o([(0,r.IsString)(),n("design:type",String)],l.prototype,"password",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"photo",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),n("design:type",Array)],l.prototype,"roleIds",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],l.prototype,"isActive",void 0),t.UserCreateDTO=l;class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"password",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"photo",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),n("design:type",Array)],d.prototype,"roleIds",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],d.prototype,"isActive",void 0),t.UserUpdateDTO=d;class c{static fromPlain(e){return(0,s.plainToClass)(c,e)}toPlain(){return(0,s.classToPlain)(this)}}t.UserFetchDTO=c;class y{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(y,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],y.prototype,"id",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],y.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],y.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],y.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],y.prototype,"isPhoneNumberVerified",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),n("design:type",Array)],y.prototype,"roles",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],y.prototype,"isActive",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],y.prototype,"hasSpecialRoles",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],y.prototype,"fromDate",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],y.prototype,"toDate",void 0),t.UserFilterDTO=y;class g extends a.PaginationOptions{static fromPlain(e){return(0,s.plainToClass)(g,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],g.prototype,"withDocuments",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],g.prototype,"withDeposits",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],g.prototype,"withFavoriteVehicles",void 0),t.UserOptionsDTO=g},1535:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleReservationType=void 0,(i=t.VehicleReservationType||(t.VehicleReservationType={})).RESERVED="RESERVED",i.PARTIAL_REQUEST="PARTIAL_REQUEST"},1558:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(8625),t),n(i(4363),t)},1599:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(3340),t)},1702:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.SalesAgentUpdateDTO=t.SalesAgentCreateDTO=t.SalesAgentResponseDTO=t.SalesAgentGetDTO=t.SalesAgentOptionsDTO=t.SalesAgentFilterDTO=t.Languages=t.TeamCategory=t.Designation=void 0;const r=i(6325),s=i(284),a=i(3989);var p,l,d;!function(e){e.SALES_MANAGER="sales-manager",e.SALES_EXECUTIVE="sales-executive",e.CO_FOUNDER="co-founder",e.CHIEF_SALES_OFFICER="chief sales officer",e.CHIEF_PURCHASING_OFFICER="Chief Purchasing Officer",e.PURCHASE_MANAGER="Purchase Manager",e.PURCHASER="Purchaser",e.FINANCE_MANAGER="Finance Manager",e.HEAD_OF_ACCOUNTS="Head of Accounts",e.CHIEF_MARKETING_OFFICER="Chief Marketing Officer",e.MARKETING_MANAGER="Marketing Manager",e.AFTERCARE_DIRECTOR="Aftercare Director",e.SALES_COORDINATOR="sales-coordinator",e.AFTERCARE="aftercare",e.DIRECTOR_OF_TECHNOLOGY="Director of Technology",e.PURCHASE_EXECUTIVE="Purchase Executive",e.RELATIONSHIP_MANAGER="Relationship Manager",e.SALES_CONTROLLER="Sales Controller",e.LOGISTICS_MANAGER="Logistics Manager"}(p=t.Designation||(t.Designation={})),function(e){e.SALES="sales",e.MANAGEMENT="management",e.PURCHASES="purchases",e.SALES_COORDINATOR="sales-coordinator",e.AFTERCARE="aftercare"}(l=t.TeamCategory||(t.TeamCategory={})),function(e){e.ARABIC="Arabic",e.AFRIKAANS="Afrikaans",e.PERSIAN="Persian",e.TURKISH="Turkish",e.HEBREW="Hebrew",e.HINDI="Hindi",e.URDU="Urdu",e.BENGALI="Bengali",e.PUNJABI="Punjabi",e.MALAYALAM="Malayalam",e.TAMIL="Tamil",e.TELUGU="Telugu",e.SINHALESE="Sinhalese",e.MANDARIN="Mandarin",e.CANTONESE="Cantonese",e.KOREAN="Korean",e.JAPANESE="Japanese",e.VIETNAMESE="Vietnamese",e.THAI="Thai",e.TAGALOG="Tagalog",e.FILIPINO="Filipino",e.INDONESIAN="Indonesian",e.MALAY="Malay",e.ENGLISH="English",e.FRENCH="French",e.GERMAN="German",e.SPANISH="Spanish",e.ITALIAN="Italian",e.RUSSIAN="Russian",e.PORTUGUESE="Portuguese",e.SWAHILI="Swahili",e.AMHARIC="Amharic",e.SOMALI="Somali",e.ROMANIAN="Romanian",e.SWEDISH="Swedish"}(d=t.Languages||(t.Languages={}));class c{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsEmail)(),n("design:type",String)],c.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],c.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(l),n("design:type",String)],c.prototype,"teamCategory",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(p),n("design:type",String)],c.prototype,"designation",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],c.prototype,"sortOrder",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsEnum)(d,{each:!0}),n("design:type",Array)],c.prototype,"languages",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],c.prototype,"isActive",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],c.prototype,"createdAtStart",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],c.prototype,"createdAtEnd",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],c.prototype,"lastLoginStart",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],c.prototype,"lastLoginEnd",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"nationality",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"previousWorkplace",void 0),t.SalesAgentFilterDTO=c;class y{constructor(){this.page=1,this.limit=10,this.sortBy="createdAt",this.sortOrder="DESC",this.includeInactive=!1}validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(y,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],y.prototype,"page",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],y.prototype,"limit",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"sortBy",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"sortOrder",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],y.prototype,"includeInactive",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"searchQuery",void 0),t.SalesAgentOptionsDTO=y;class g{static fromPlain(e){const t=new g;return e.filter&&(t.filter=c.fromPlain(e.filter)),e.options&&(t.options=y.fromPlain(e.options)),t}static toPlain(e){var t,i;return{filter:null===(t=e.filter)||void 0===t?void 0:t.toPlain(),options:null===(i=e.options)||void 0===i?void 0:i.toPlain()}}toPlain(){var e,t;return{filter:null===(e=this.filter)||void 0===e?void 0:e.toPlain(),options:null===(t=this.options)||void 0===t?void 0:t.toPlain()}}}o([(0,r.IsString)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"refId",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],g.prototype,"phone",void 0),o([(0,r.IsEmail)(),n("design:type",String)],g.prototype,"email",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"photo",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"agentShortIntro",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"agentIntro",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],g.prototype,"sortOrder",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"bioVideoUrl",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"status",void 0),o([(0,r.IsEnum)(l),n("design:type",String)],g.prototype,"teamCategory",void 0),o([(0,r.IsEnum)(p),n("design:type",String)],g.prototype,"designation",void 0),o([(0,r.IsArray)(),(0,r.IsEnum)(d,{each:!0}),n("design:type",Array)],g.prototype,"languages",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>c)),n("design:type",c)],g.prototype,"filter",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>y)),n("design:type",y)],g.prototype,"options",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"nationality",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"previousWorkplace",void 0),t.SalesAgentGetDTO=g;class u{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(u,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],u.prototype,"id",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"refId",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],u.prototype,"phone",void 0),o([(0,r.IsEmail)(),n("design:type",String)],u.prototype,"email",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"photo",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"agentShortIntro",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"agentIntro",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"bioVideoUrl",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"status",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],u.prototype,"sortOrder",void 0),o([(0,r.IsEnum)(l),n("design:type",String)],u.prototype,"teamCategory",void 0),o([(0,r.IsEnum)(p),n("design:type",String)],u.prototype,"designation",void 0),o([(0,r.IsArray)(),(0,r.IsEnum)(d,{each:!0}),n("design:type",Array)],u.prototype,"languages",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],u.prototype,"isActive",void 0),o([(0,r.IsDate)(),n("design:type",Date)],u.prototype,"createdAt",void 0),o([(0,r.IsDate)(),n("design:type",Date)],u.prototype,"updatedAt",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],u.prototype,"lastLogin",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"nationality",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"previousWorkplace",void 0),t.SalesAgentResponseDTO=u;class v{constructor(){this.status=1}validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}toUserDTO(){var e;const t=new a.UserCreateDTO;return t.name=this.name,t.email=this.email,t.phone=null!==(e=this.phone)&&void 0!==e?e:"",t.photo=this.photo,t}toSalesAgentData(){return{status:this.status,designation:this.designation,languages:this.languages,agentShortIntro:this.agentShortIntro,agentIntro:this.agentIntro,bioVideoUrl:this.bioVideoUrl,teamCategory:this.teamCategory}}static fromPlain(e){return(0,s.plainToClass)(v,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],v.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"phone",void 0),o([(0,r.IsEmail)(),n("design:type",String)],v.prototype,"email",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],v.prototype,"sortOrder",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"photo",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"agentShortIntro",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"agentIntro",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"bioVideoUrl",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],v.prototype,"status",void 0),o([(0,r.IsEnum)(l),n("design:type",String)],v.prototype,"teamCategory",void 0),o([(0,r.IsEnum)(p),n("design:type",String)],v.prototype,"designation",void 0),o([(0,r.IsArray)(),(0,r.IsEnum)(d,{each:!0}),n("design:type",Array)],v.prototype,"languages",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"nationality",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"previousWorkplace",void 0),t.SalesAgentCreateDTO=v;class I{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}toUserDTO(){const e=new a.UserUpdateDTO;return this.name&&(e.name=this.name),this.email&&(e.email=this.email),this.phone&&(e.phone=this.phone),this.photo&&(e.photo=this.photo),e}toSalesAgentData(){const e={};return void 0!==this.status&&(e.status=this.status),this.designation&&(e.designation=this.designation),this.languages&&(e.languages=this.languages),this.agentShortIntro&&(e.agentShortIntro=this.agentShortIntro),this.agentIntro&&(e.agentIntro=this.agentIntro),this.bioVideoUrl&&(e.bioVideoUrl=this.bioVideoUrl),this.teamCategory&&(e.teamCategory=this.teamCategory),this.isActive&&(e.isActive=this.isActive),e}static fromPlain(e){return(0,s.plainToClass)(I,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],I.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsEmail)(),n("design:type",String)],I.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"photo",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"agentShortIntro",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],I.prototype,"sortOrder",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"agentIntro",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"bioVideoUrl",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],I.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(l),n("design:type",String)],I.prototype,"teamCategory",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(p),n("design:type",String)],I.prototype,"designation",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsEnum)(d,{each:!0}),n("design:type",Array)],I.prototype,"languages",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],I.prototype,"isActive",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"nationality",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"previousWorkplace",void 0),t.SalesAgentUpdateDTO=I},1746:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseDeleteDTO=t.BaseUpdateDTO=t.BaseCreateDTO=void 0;const r=i(6325);class s{}o([(0,r.IsNotEmpty)(),n("design:type",String)],s.prototype,"createdById",void 0),t.BaseCreateDTO=s;class a{}o([(0,r.IsNotEmpty)(),n("design:type",String)],a.prototype,"updatedById",void 0),t.BaseUpdateDTO=a;class p{}o([(0,r.IsNotEmpty)(),n("design:type",String)],p.prototype,"deletedById",void 0),t.BaseDeleteDTO=p},1769:(e,t)=>{var i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.VisitPurpose=t.VisitStatus=void 0,(o=t.VisitStatus||(t.VisitStatus={})).SCHEDULED="SCHEDULED",o.IN_PROGRESS="IN_PROGRESS",o.COMPLETED="COMPLETED",o.CANCELLED="CANCELLED",o.NO_SHOW="NO_SHOW",(i=t.VisitPurpose||(t.VisitPurpose={})).CAR_VIEWING="CAR_VIEWING",i.SELL_MY_CAR="SELL_MY_CAR"},1841:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleMedia=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleMedia=n},1956:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(3347),t)},1999:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2089),t)},2089:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.BankValuationResultCreateDto=t.BankValuationRequestUpdateDto=t.BankValuationRequestCreateDto=void 0;const r=i(6325),s=i(1009),a=i(284);class p{}o([(0,r.IsString)(),n("design:type",String)],p.prototype,"name",void 0),o([(0,r.IsEmail)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"email",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"phone",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",Object)],p.prototype,"clientName",void 0),o([(0,r.IsEmail)(),(0,r.IsOptional)(),n("design:type",Object)],p.prototype,"clientEmail",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",Object)],p.prototype,"clientPhone",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"bankName",void 0),o([(0,r.IsEmail)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"bankerEmail",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"makeDealDriveId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"make",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"modelDealDriveId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"model",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"trimDealDriveId",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"trim",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"trimOption",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"trimOptionDealDriveId",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"year",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"color",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"vin",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Object)],p.prototype,"engineSize",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"engineNumber",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"engineType",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"mileage",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"specs",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"specification",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"value",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"comments",void 0),o([(0,r.IsArray)(),(0,r.IsOptional)(),n("design:type",Array)],p.prototype,"images",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"createdById",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"sessionId",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"bankApplicationId",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],p.prototype,"dealDriveEstimatedPrice",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],p.prototype,"marketing",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Object)],p.prototype,"clientMileage",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.IsEnum)(["km","miles"]),n("design:type",String)],p.prototype,"mileageUnit",void 0),t.BankValuationRequestCreateDto=p;class l{}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],l.prototype,"comments",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["pending","paid","payment_declined","rejected","approved"]),n("design:type",String)],l.prototype,"status",void 0),t.BankValuationRequestUpdateDto=l;class d{static fromPlain(e){return(0,a.plainToClass)(d,e)}}o([(0,r.IsUUID)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"bankValuationRequestId",void 0),o([(0,r.IsUUID)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"doneById",void 0),o([(0,r.IsEnum)(s.BankValuationAction),n("design:type",String)],d.prototype,"action",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"rejectionReason",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"approvalComments",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],d.prototype,"approvedValuation",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],d.prototype,"dealDriveEstimatedPrice",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"certificateUrl",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"ipAddress",void 0),t.BankValuationResultCreateDto=d},2090:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateUserFavoritesDTO=t.VehicleFavoriteCreateDTO=void 0;const r=i(284),s=i(6325);class a{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(a,e)}toPlain(){return(0,r.instanceToPlain)(this)}}o([(0,s.IsString)(),(0,s.IsUUID)(),n("design:type",String)],a.prototype,"userId",void 0),o([(0,s.IsString)({each:!0}),(0,s.IsUUID)(void 0,{each:!0}),n("design:type",Object)],a.prototype,"vehicleIds",void 0),t.VehicleFavoriteCreateDTO=a;class p{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(p,e)}toPlain(){return(0,r.instanceToPlain)(this)}}o([(0,s.IsString)(),(0,s.IsUUID)(),n("design:type",String)],p.prototype,"userId",void 0),o([(0,s.IsUUID)(void 0,{each:!0}),(0,r.Transform)((({value:e})=>Array.isArray(e)?e:[e])),n("design:type",Object)],p.prototype,"favoriteVehicles",void 0),t.UpdateUserFavoritesDTO=p},2110:e=>{e.exports=require("qs")},2143:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateUserDocumentDto=t.UserDocumentResponseDto=t.CreateUserDocumentDto=void 0;const r=i(6325);class s{}o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],s.prototype,"url",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],s.prototype,"fileName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],s.prototype,"description",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsEnum)(["image","pdf","unknown"]),n("design:type",String)],s.prototype,"fileType",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsUUID)(),n("design:type",String)],s.prototype,"ownerId",void 0),t.CreateUserDocumentDto=s,t.UserDocumentResponseDto=class{constructor(e){Object.assign(this,e)}};class a{}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"url",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"fileName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"description",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["image","pdf","unknown"]),n("design:type",String)],a.prototype,"fileType",void 0),t.UpdateUserDocumentDto=a},2151:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.LanguageUpdateDTO=t.LanguageCreateDTO=t.LanguageDTO=void 0;const r=i(284),s=i(6325);class a{static fromEntity(e){const t=new a;return t.id=e.id,t.code=e.code,t.name=e.name,t}}o([(0,s.IsUUID)(),n("design:type",String)],a.prototype,"id",void 0),o([(0,s.IsString)(),n("design:type",String)],a.prototype,"code",void 0),o([(0,s.IsString)(),n("design:type",String)],a.prototype,"name",void 0),t.LanguageDTO=a;class p{constructor(){this.isActive=!0}validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(p,e)}}o([(0,s.IsString)(),(0,s.IsNotEmpty)(),n("design:type",String)],p.prototype,"code",void 0),o([(0,s.IsString)(),(0,s.IsNotEmpty)(),n("design:type",String)],p.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],p.prototype,"isActive",void 0),t.LanguageCreateDTO=p;class l{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(l,e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],l.prototype,"code",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],l.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],l.prototype,"isActive",void 0),t.LanguageUpdateDTO=l},2269:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(6626),t),n(i(6590),t),n(i(3132),t)},2293:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(6536),t),n(i(3650),t)},2307:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.TestDriveRequestUpdateDTO=t.TestDriveRequestCreateDTO=t.TestDriveRequestGetDTO=t.TestDriveRequestGetDTOOptions=void 0;const r=i(6325),s=i(284),a=i(1746),p=i(6075),l=i(3622);t.TestDriveRequestGetDTOOptions=class{};class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.TestDriveRequestGetDTO=d;class c{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}constructor(e){Object.assign(this,e),this.status||(this.status=l.TestDriveRequestStatus.NOT_CONTACTED),this.leadThrough||(this.leadThrough=l.LeadThrough.WEBSITE)}static fromPlain(e){const t=(0,s.plainToClass)(c,e);return t.status||(t.status=l.TestDriveRequestStatus.NOT_CONTACTED),t.leadThrough||(t.leadThrough=l.LeadThrough.WEBSITE),t}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsNotEmpty)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.DynamicVehicleDTO)),n("design:type",p.DynamicVehicleDTO)],c.prototype,"vehicle",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),(0,r.MinLength)(2),(0,r.MaxLength)(255),n("design:type",String)],c.prototype,"testerName",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),(0,r.MinLength)(8),(0,r.MaxLength)(20),n("design:type",String)],c.prototype,"testerMobile",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.IsEmail)(),n("design:type",String)],c.prototype,"testerEmail",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsDateString)(),n("design:type",String)],c.prototype,"requestedDate",void 0),o([(0,r.IsOptional)(),(0,r.IsDateString)(),n("design:type",String)],c.prototype,"testDriveDate",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(l.TestDriveRequestStatus),n("design:type",Number)],c.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(l.LeadThrough),n("design:type",String)],c.prototype,"leadThrough",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"comments",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"createdById",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],c.prototype,"marketing",void 0),t.TestDriveRequestCreateDTO=c;class y extends a.BaseUpdateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(y,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.DynamicVehicleDTO)),n("design:type",p.DynamicVehicleDTO)],y.prototype,"vehicle",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.MinLength)(2),(0,r.MaxLength)(255),n("design:type",String)],y.prototype,"testerName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.MinLength)(8),(0,r.MaxLength)(20),n("design:type",String)],y.prototype,"testerMobile",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.IsEmail)(),n("design:type",String)],y.prototype,"testerEmail",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],y.prototype,"requestedDate",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],y.prototype,"testDriveDate",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(l.TestDriveRequestStatus),n("design:type",Number)],y.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(l.LeadThrough),n("design:type",String)],y.prototype,"leadThrough",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"comments",void 0),t.TestDriveRequestUpdateDTO=y},2421:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ONE_MINUTE=t.ONE_HOUR=t.THIRTY_MINUTES_MILLIS=t.FIFTEEN_MINUTES_MILLIS=t.ONE_HOUR_MILLIS=t.ONE_MINUTE_MILLIS=void 0,t.ONE_MINUTE_MILLIS=6e4,t.ONE_HOUR_MILLIS=36e5,t.FIFTEEN_MINUTES_MILLIS=9e5,t.THIRTY_MINUTES_MILLIS=18e5,t.ONE_HOUR=3600,t.ONE_MINUTE=60},2433:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.PaymentUpdateDTO=t.PaymentCreateDTO=t.PaymentGetDTO=void 0;const r=i(6325),s=i(284);class a{static fromEntity(e){return(0,s.plainToClass)(a,e)}toPlain(){return(0,s.classToPlain)(this)}}t.PaymentGetDTO=a;class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}}o([(0,r.IsString)(),n("design:type",String)],p.prototype,"userId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"requestId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"vehicleId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"transactionId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"paymentStatus",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"paymentResponse",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"amountPaid",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"tokenId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"state",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"failureReason",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"failureCode",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"accountId",void 0),o([(0,r.IsDate)(),n("design:type",Date)],p.prototype,"paymentDate",void 0),t.PaymentCreateDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"userId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"requestId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"vehicleId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"transactionId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"paymentStatus",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"paymentResponse",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"amountPaid",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"tokenId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"state",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"failureReason",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"failureCode",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"accountId",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],l.prototype,"paymentDate",void 0),t.PaymentUpdateDTO=l},2446:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2490),t),n(i(3404),t)},2454:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.CallbackRequestResponseDTO=t.CallbackRequestUpdateDTO=t.CallbackRequestCreateDTO=t.IsPhoneConstraint=void 0;const r=i(6325),s=i(284);let a=class{validate(e,t){return/^\+?[\d\s-]{8,}$/.test(e)}defaultMessage(e){return"Phone number ($value) is not in a valid format"}};a=o([(0,r.ValidatorConstraint)({name:"isPhone",async:!1})],a),t.IsPhoneConstraint=a;class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],p.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.Validate)(a),n("design:type",String)],p.prototype,"phone",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"enquiryText",void 0),t.CallbackRequestCreateDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.Validate)(a),n("design:type",String)],l.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"enquiryText",void 0),t.CallbackRequestUpdateDTO=l;class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],d.prototype,"id",void 0),o([(0,r.IsString)(),n("design:type",String)],d.prototype,"name",void 0),o([(0,r.IsString)(),n("design:type",String)],d.prototype,"phone",void 0),o([(0,r.IsString)(),n("design:type",String)],d.prototype,"enquiryText",void 0),t.CallbackRequestResponseDTO=d},2463:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},2490:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.formatImageUrl=t.TypedOptions=t.TypedFilter=t.BaseFilter=t.NumberRange=t.DateFilter=t.PaginationOptions=t.IsDateOrConvertible=t.createFieldPath=void 0;const r=i(6325),s=i(284);function a(e){return function(t,i){(0,r.registerDecorator)({name:"isDateOrConvertible",target:t.constructor,propertyName:i,options:e,validator:{validate:(e,t)=>e instanceof Date||"string"==typeof e||"number"==typeof e,defaultMessage:e=>`${e.property} must be a Date, string, or number`}})}}t.createFieldPath=e=>e,t.IsDateOrConvertible=a;class p{}o([(0,r.IsOptional)(),(0,r.IsNumber)(),(0,r.Max)(100),n("design:type",Number)],p.prototype,"limit",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"page",void 0),t.PaginationOptions=p;class l{}o([(0,r.IsOptional)(),(0,r.Validate)(a),n("design:type",Object)],l.prototype,"from",void 0),o([(0,r.IsOptional)(),(0,r.Validate)(a),n("design:type",Object)],l.prototype,"to",void 0),t.DateFilter=l;class d{}o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"min",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"max",void 0),t.NumberRange=d;class c{}o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],c.prototype,"id",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],c.prototype,"createdBy",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],c.prototype,"updatedBy",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],c.prototype,"deletedBy",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],c.prototype,"isDeleted",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],c.prototype,"isActive",void 0),o([(0,r.IsOptional)(),(0,r.Validate)(l),n("design:type",l)],c.prototype,"createdAt",void 0),o([(0,r.IsOptional)(),(0,r.Validate)(l),n("design:type",l)],c.prototype,"updatedAt",void 0),o([(0,r.IsOptional)(),(0,r.Validate)(l),n("design:type",l)],c.prototype,"deletedAt",void 0),t.BaseFilter=c,t.TypedFilter=class extends c{};class y extends p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(y,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.TypedOptions=y,t.formatImageUrl=function(e){return e?function(e){try{return new URL(e),!0}catch{return!1}}(e)||e.startsWith("data:")||e.startsWith("/assets")?e:`${process.env.NEXT_PUBLIC_S3_URL}${e.startsWith("/")?e:`/${e}`}`:null}},2587:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HttpStatusCodes=void 0,t.HttpStatusCodes={OK:200,CREATED:201,ACCEPTED:202,NO_CONTENT:204,BAD_REQUEST:400,UNAUTHORIZED:401,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504}},2641:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleInspectionDTO=t.ElectricalsInspectionDTO=t.EngineInspectionDTO=t.InteriorInspectionDTO=t.SteeringAndSuspensionInspectionDTO=t.TyresInspectionDTO=t.ExteriorInspectionDTO=t.BaseInspectionDTO=t.InspectionPointDTO=t.InspectionStatus=void 0;const r=i(6325),s=i(284),a=i(6325);var p;!function(e){e.PERFECT="Perfect",e.IMPERFECTIONS="Imperfections",e.NOT_APPLICABLE="Not Applicable"}(p=t.InspectionStatus||(t.InspectionStatus={}));class l{constructor(e=p.PERFECT){this.status=e}}o([(0,a.IsEnum)(p),n("design:type",String)],l.prototype,"status",void 0),o([(0,a.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"imperfections",void 0),t.InspectionPointDTO=l;class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(this,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,a.IsOptional)(),n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",Array)],d.prototype,"validate",null),t.BaseInspectionDTO=d;class c extends d{constructor(){super(),this.hood=new l(p.PERFECT),this.roof=new l(p.PERFECT),this.trunk=new l(p.PERFECT),this.frontLeftDoor=new l(p.PERFECT),this.frontRightDoor=new l(p.PERFECT),this.rearLeftDoor=new l(p.PERFECT),this.rearRightDoor=new l(p.PERFECT),this.frontBumper=new l(p.PERFECT),this.rearBumper=new l(p.PERFECT),this.leftFender=new l(p.PERFECT),this.rightFender=new l(p.PERFECT),this.leftQuarterPanel=new l(p.PERFECT),this.rightQuarterPanel=new l(p.PERFECT),this.leftAPillar=new l(p.PERFECT),this.rightAPillar=new l(p.PERFECT),this.leftAtoBPillarBeading=new l(p.PERFECT),this.rightAtoBPillarBeading=new l(p.PERFECT),this.leftBPillarTrim=new l(p.PERFECT),this.rightBtoCPillarBeading=new l(p.PERFECT),this.leftRunningBoard=new l(p.PERFECT),this.rightRunningBoard=new l(p.PERFECT),this.frontWindshield=new l(p.PERFECT),this.rearWindshield=new l(p.PERFECT),this.chassisCondition=new l(p.PERFECT),this.apron=new l(p.PERFECT),this.bootFloor=new l(p.PERFECT),this.firewallCondition=new l(p.PERFECT),this.leftFrontAlloyRim=new l(p.PERFECT),this.leftRearAlloyRim=new l(p.PERFECT),this.rightFrontAlloyRim=new l(p.PERFECT),this.rightRearAlloyRim=new l(p.PERFECT),this.spareAlloyRimCondition=new l(p.PERFECT),this.wheelCover=new l(p.PERFECT),this.grillCondition=new l(p.PERFECT),this.windowGlass=new l(p.PERFECT),this.wiper=new l(p.PERFECT),this.panelCondition=new l(p.PERFECT)}}o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"frontLeftDoor",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"frontRightDoor",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rearLeftDoor",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rearRightDoor",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftFender",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightFender",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"frontBumper",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rearBumper",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"hood",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"trunk",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"roof",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftQuarterPanel",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightQuarterPanel",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftAPillar",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightAPillar",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftAtoBPillarBeading",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightAtoBPillarBeading",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftBPillarTrim",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightBtoCPillarBeading",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftRunningBoard",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightRunningBoard",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"frontWindshield",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rearWindshield",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"chassisCondition",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"apron",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"bootFloor",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"firewallCondition",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftFrontAlloyRim",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftRearAlloyRim",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightFrontAlloyRim",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightRearAlloyRim",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"spareAlloyRimCondition",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"wheelCover",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"grillCondition",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"windowGlass",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"wiper",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"panelCondition",void 0),t.ExteriorInspectionDTO=c;class y extends d{constructor(){super(),this.leftFrontTyre=new l(p.PERFECT),this.rightFrontTyre=new l(p.PERFECT),this.leftRearTyre=new l(p.PERFECT),this.rightRearTyre=new l(p.PERFECT),this.spareTyre=new l(p.PERFECT),this.leftFrontTyreLife=100,this.rightFrontTyreLife=100,this.leftRearTyreLife=100,this.rightRearTyreLife=100,this.spareTyreLife=100}}o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],y.prototype,"leftFrontTyre",void 0),o([(0,r.IsNumber)(),(0,r.Min)(0),(0,r.Max)(100),n("design:type",Number)],y.prototype,"leftFrontTyreLife",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],y.prototype,"rightFrontTyre",void 0),o([(0,r.IsNumber)(),(0,r.Min)(0),(0,r.Max)(100),n("design:type",Number)],y.prototype,"rightFrontTyreLife",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],y.prototype,"leftRearTyre",void 0),o([(0,r.IsNumber)(),(0,r.Min)(0),(0,r.Max)(100),n("design:type",Number)],y.prototype,"leftRearTyreLife",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],y.prototype,"rightRearTyre",void 0),o([(0,r.IsNumber)(),(0,r.Min)(0),(0,r.Max)(100),n("design:type",Number)],y.prototype,"rightRearTyreLife",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],y.prototype,"spareTyre",void 0),o([(0,r.IsNumber)(),(0,r.Min)(0),(0,r.Max)(100),n("design:type",Number)],y.prototype,"spareTyreLife",void 0),t.TyresInspectionDTO=y;class g extends d{constructor(){super(),this.steeringWheel=new l(p.PERFECT),this.parkingBrake=new l(p.PERFECT),this.brakeMasterCylinder=new l(p.PERFECT),this.brakeDiscAndPad=new l(p.PERFECT),this.brakeFluid=new l(p.PERFECT),this.shockAbsorbers=new l(p.PERFECT)}}o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],g.prototype,"steeringWheel",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],g.prototype,"parkingBrake",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],g.prototype,"brakeMasterCylinder",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],g.prototype,"brakeDiscAndPad",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],g.prototype,"brakeFluid",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],g.prototype,"shockAbsorbers",void 0),t.SteeringAndSuspensionInspectionDTO=g;class u extends d{constructor(){super(),this.dashboard=new l(p.PERFECT),this.centralConsole=new l(p.PERFECT),this.gloveBox=new l(p.PERFECT),this.sunvisor=new l(p.PERFECT),this.seatUpholstery=new l(p.PERFECT),this.carpets=new l(p.PERFECT),this.headliner=new l(p.PERFECT),this.manualSeatMovement=new l(p.PERFECT),this.seatBelts=new l(p.PERFECT),this.headRest=new l(p.PERFECT),this.doorControls=new l(p.PERFECT),this.grabHandle=new l(p.PERFECT),this.rearViewMirror=new l(p.PERFECT),this.toolKit=new l(p.PERFECT)}}o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"dashboard",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"centralConsole",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"gloveBox",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"sunvisor",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"seatUpholstery",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"carpets",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"headliner",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"manualSeatMovement",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"seatBelts",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"headRest",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"doorControls",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"grabHandle",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"rearViewMirror",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"toolKit",void 0),t.InteriorInspectionDTO=u;class v extends d{constructor(){super(),this.engineBody=new l(p.PERFECT),this.enginePerformance=new l(p.PERFECT),this.engineOil=new l(p.PERFECT),this.exhaustSystem=new l(p.PERFECT),this.radiator=new l(p.PERFECT),this.coolant=new l(p.PERFECT),this.fuelTank=new l(p.PERFECT),this.gearShifting=new l(p.PERFECT),this.driveAxle=new l(p.PERFECT),this.transmissionFluid=new l(p.PERFECT)}}o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"engineBody",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"enginePerformance",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"engineOil",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"exhaustSystem",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"radiator",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"coolant",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"fuelTank",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"gearShifting",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"driveAxle",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"transmissionFluid",void 0),t.EngineInspectionDTO=v;class I extends d{constructor(){super(),this.masterKey=new l(p.PERFECT),this.spareKey=new l(p.PERFECT),this.childSafetyLocking=new l(p.PERFECT),this.instrumentPanel=new l(p.PERFECT),this.airbags=new l(p.PERFECT),this.controls=new l(p.PERFECT),this.cruiseControl=new l(p.PERFECT),this.infotainmentDisplay=new l(p.PERFECT),this.obdConnector=new l(p.PERFECT),this.musicSystem=new l(p.PERFECT),this.headlight=new l(p.PERFECT),this.interiorLights=new l(p.PERFECT),this.tailLightCluster=new l(p.PERFECT),this.licensePlateLight=new l(p.PERFECT),this.acCooling=new l(p.PERFECT),this.acSwitch=new l(p.PERFECT),this.acLeaks=new l(p.PERFECT),this.centerAcVent=new l(p.PERFECT),this.frontRightAcVent=new l(p.PERFECT),this.heater=new l(p.PERFECT),this.parkingSensors=new l(p.PERFECT),this.rearDefogger=new l(p.PERFECT),this.usbChargingPort=new l(p.PERFECT),this.powerManualWindows=new l(p.PERFECT)}}o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"masterKey",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"spareKey",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"childSafetyLocking",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"instrumentPanel",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"airbags",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"controls",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"cruiseControl",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"infotainmentDisplay",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"obdConnector",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"musicSystem",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"headlight",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"interiorLights",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"tailLightCluster",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"licensePlateLight",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"acCooling",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"acSwitch",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"acLeaks",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"centerAcVent",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"frontRightAcVent",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"heater",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"parkingSensors",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"rearDefogger",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"usbChargingPort",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"powerManualWindows",void 0),t.ElectricalsInspectionDTO=I;class O{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(O,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],O.prototype,"vehicle",void 0),o([(0,r.IsString)(),(0,a.IsOptional)(),n("design:type",String)],O.prototype,"inspectorId",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>c)),n("design:type",c)],O.prototype,"exterior",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>g)),n("design:type",g)],O.prototype,"steeringAndSuspension",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>u)),n("design:type",u)],O.prototype,"interior",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>v)),n("design:type",v)],O.prototype,"engine",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>I)),n("design:type",I)],O.prototype,"electricals",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>y)),n("design:type",y)],O.prototype,"tyres",void 0),o([(0,a.IsOptional)(),n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",Array)],O.prototype,"validate",null),t.VehicleInspectionDTO=O},2660:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ReturnTypeWithPagination=t.DataReturnType=void 0,t.DataReturnType=class{constructor(e,t,i,o){this.success=e,this.message=t,this.data=i,this.error=o}},t.ReturnTypeWithPagination=class{constructor(e,t,i,o){this.success=e,this.message=t,this.data=i,this.error=o}}},2731:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.TestDriveRequestOptions=t.TestDriveRequestFilter=void 0;const r=i(6325),s=i(3622),a=i(284),p=i(2490);class l extends p.TypedFilter{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}fromPlain(e){return(0,a.plainToClass)(l,e)}toPlain(){return(0,a.instanceToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],l.prototype,"vehicles",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],l.prototype,"referenceNumber",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],l.prototype,"testerName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],l.prototype,"testerMobile",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],l.prototype,"testerEmail",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],l.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(s.TestDriveRequestStatus,{each:!0}),n("design:type",Object)],l.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,a.Type)((()=>p.DateFilter)),n("design:type",p.DateFilter)],l.prototype,"requestedDate",void 0),o([(0,r.IsOptional)(),(0,a.Type)((()=>p.DateFilter)),n("design:type",p.DateFilter)],l.prototype,"testDriveDate",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(s.LeadThrough,{each:!0}),n("design:type",Object)],l.prototype,"leadThrough",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"comments",void 0),o([(0,r.IsOptional)(),(0,r.IsObject)(),n("design:type",p.DateFilter)],l.prototype,"createdAt",void 0),t.TestDriveRequestFilter=l;class d extends p.PaginationOptions{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}fromPlain(e){return(0,a.plainToClass)(d,e)}}t.TestDriveRequestOptions=d},2753:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TestDriveRequest=void 0;const o=i(4136);class n extends o.BaseModel{}t.TestDriveRequest=n},2831:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(435),t)},2906:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(9879),t),n(i(9537),t),n(i(1492),t)},3008:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleModel=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleModel=n},3037:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateFaqDTO=t.UpdateMultilingualContent=void 0;const r=i(284),s=i(6325),a=i(4363);class p{}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"en",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"ar",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"ru",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"zh",void 0),t.UpdateMultilingualContent=p;class l{static fromPlain(e){const t=new l;return e.question&&(t.question={en:e.question.en,ar:e.question.ar,ru:e.question.ru,zh:e.question.zh}),e.answer&&(t.answer={en:e.answer.en,ar:e.answer.ar,ru:e.answer.ru,zh:e.answer.zh}),t.isActive=e.isActive,t.order=e.order,t}}o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>p)),n("design:type",p)],l.prototype,"question",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>p)),n("design:type",p)],l.prototype,"answer",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,s.IsEnum)(a.FaqCategory),n("design:type",String)],l.prototype,"category",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],l.prototype,"isActive",void 0),o([(0,s.IsOptional)(),(0,s.IsNumber)(),n("design:type",Number)],l.prototype,"order",void 0),t.UpdateFaqDTO=l},3083:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(4032),t)},3132:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Range=void 0;const r=i(6325);class s{}o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],s.prototype,"min",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],s.prototype,"max",void 0),t.Range=s},3153:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AUTH_ENDPOINTS=t.UTIL_ENDPOINTS=t.API_ENDPOINTS=void 0,t.API_ENDPOINTS={vehicle:{getAll:"/vehicle",create:"/vehicle",getOne:e=>`/vehicle/${e}`,getOneBySlug:e=>`/vehicle/slug/${e}`,getOneByRef:e=>`/vehicle/ref/${e}`,getSimilar:e=>`/vehicle/similar/${e}`,deleteOne:e=>`/vehicle/${e}`,updateOne:e=>`/vehicle/${e}`,publishVehicle:e=>`/vehicle/publish/${e}`,unpublishVehicle:e=>`/vehicle/unpublish/${e}`,reserveVehicle:e=>`/vehicle/reserve/${e}`,selfReserveVehicle:e=>`/vehicle/self-reserve/${e}`,markVehicleSold:e=>`/vehicle/mark-vehicle-sold/${e}`,markVehicleDraft:e=>`/vehicle/mark-vehicle-draft/${e}`},vehicleFinance:{getAll:"/vehicle-finance",create:"/vehicle-finance",getOne:e=>`/vehicle-finance/${e}`,deleteOne:e=>`/vehicle-finance/${e}`,updateOne:e=>`/vehicle-finance/${e}`},vehicleMake:{getAll:"/vehicle/makes",create:"/vehicle/makes",getOne:e=>`/vehicle/makes/${e}`,getOneBySlug:e=>`/vehicle/makes/slug/${e}`,deleteOne:e=>`/vehicle/makes/${e}`,updateOne:e=>`/vehicle/makes/${e}`},vehicleFeatures:{getAll:"/vehicle/features",create:"/vehicle/features",getOne:e=>`/vehicle/features/${e}`,deleteOne:e=>`/vehicle/features/${e}`,updateOne:e=>`/vehicle/features/${e}`,changeIcon:e=>`/vehicle/features/${e}/icon`},vehicleFeatureCategories:{getAll:"/vehicle/feature-categories",create:"/vehicle/feature-categories",getOne:e=>`/vehicle/feature-categories/${e}`,deleteOne:e=>`/vehicle/feature-categories/${e}`,updateOne:e=>`/vehicle/feature-categories/${e}`},vehicleModel:{getAll:"/vehicle/models",create:"/vehicle/models",getOne:e=>`/vehicle/models/${e}`,deleteOne:e=>`/vehicle/models/${e}`,updateOne:e=>`/vehicle/models/${e}`},vehicleMeta:{getAll:"/vehicle-meta-data",create:"/vehicle-meta-data",getOne:e=>`/vehicle-meta-data/${e}`,deleteOne:e=>`/vehicle-meta-data/${e}`,updateOne:e=>`/vehicle-meta-data/${e}`,aiGenerateTitle:e=>`/vehicle-meta-data/generate/title/${e}`,aiGenerateDescription:e=>`/vehicle-meta-data/generate/description/${e}`,aiGenerateKeyword:e=>`/vehicle-meta-data/generate/keywords/${e}`,aiGenerateVehicleDescription:e=>`/vehicle-meta-data/generate/vehicle-description/${e}`},TestDrive:{getAll:"/test-drive-requests",create:"/test-drive-requests",getOne:e=>`/test-drive-requests/${e}`,deleteOne:e=>`/test-drive-requests/${e}`,updateOne:e=>`/test-drive-requests/${e}`},vehicleOrder:{getAll:"/vehicle-order",create:"/vehicle-order",getOne:e=>`/vehicle-order/${e}`,deleteOne:e=>`/vehicle-order/${e}`,updateOne:e=>`/vehicle-order/${e}`},vehicleType:{getAll:"/vehicle/body-types",create:"/vehicle/body-types",getOne:e=>`/vehicle/body-types/${e}`,deleteOne:e=>`/vehicle/body-types/${e}`,updateOne:e=>`/vehicle/body-types/${e}`},vehicleInspection:{getAll:"/vehicle-inspection",create:"/vehicle-inspection",getOne:e=>`/vehicle-inspection/${e}`,deleteOne:e=>`/vehicle-inspection/${e}`,updateOne:e=>`/vehicle-inspection/${e}`},payment:{getAll:"/payment",create:"/payment",getOne:e=>`/payment/${e}`,deleteOne:e=>`/payment/${e}`,updateOne:e=>`/payment/${e}`},deposit:{getAll:"/deposits",create:"/deposits",getOne:e=>`/deposits/${e}`,deleteOne:e=>`/deposits/${e}`,updateOne:e=>`/deposits/${e}`,initiateRefund:"/deposits/refund/",getOrCreateUserInformation:"/deposits/user-info"},leads:{getAll:"/leads",create:"/leads",getOne:e=>`/leads/${e}`,deleteOne:e=>`/leads/${e}`,updateOne:e=>`/leads/${e}`},leadPreferences:{getAll:"/leads-preferences",create:"/leads-preferences",getOne:e=>`/leads-preferences/${e}`,deleteOne:e=>`/leads-preferences/${e}`,updateOne:e=>`/leads-preferences/${e}`},agents:{getAll:"/salesagent",create:"/salesagent",getOne:e=>`/salesagent/${e}`,deleteOne:e=>`/salesagent/${e}`,updateOne:e=>`/salesagent/${e}`},blogs:{getAll:"/blog",create:"/blog",getOne:e=>`/blog/${e}`,getOneBySlug:e=>`/blog/slug/${e}`,deleteOne:e=>`/blog/${e}`,updateOne:e=>`/blog/${e}`},showroomVisit:{getAll:"/showroomvisit",create:"/showroomvisit",getOne:e=>`/showroomvisit/${e}`,deleteOne:e=>`/showroomvisit/${e}`,updateOne:e=>`/showroomvisit/${e}`},sellCarRequest:{getAll:"/sell-car-request",create:"/sell-car-request",getOne:e=>`/sell-car-request/${e}`,deleteOne:e=>`/sell-car-request/${e}`,updateOne:e=>`/sell-car-request/${e}`,notifyAboutExistingLead:"/sell-car-request/notify"},financeEligibilityRequest:{getAll:"/finance-eligibility-request",create:"/finance-eligibility-request",getOne:e=>`/finance-eligibility-request/${e}`,deleteOne:e=>`/finance-eligibility-request/${e}`,updateOne:e=>`/finance-eligibility-request/${e}`,updateStatus:e=>`/finance-eligibility-request/${e}/status`},vehicleReservations:{getAll:"/vehicle-reservation",create:"/vehicle-reservation",getOne:e=>`/vehicle-reservation/${e}`,deleteOne:e=>`/vehicle-reservation/${e}`,updateOne:e=>`/vehicle-reservation/${e}`},languages:{getAll:"/languages",create:"/languages",getOne:e=>`/languages/${e}`,deleteOne:e=>`/languages/${e}`,updateOne:e=>`/languages/${e}`},user:{getAll:"/user",create:"/user",getOne:e=>`/user/${e}`,deleteOne:e=>`/user/${e}`,updateOne:e=>`/user/${e}`,changeProfilePicture:e=>`/user/${e}/profile-pic`,deleteProfilePicture:e=>`/user/${e}/profile-pic`},googleReview:{getAll:"/google-reviews",create:"/google-reviews",getOne:e=>`/google-reviews/${e}`,deleteOne:e=>`/google-reviews/${e}`,updateOne:e=>`/google-reviews/${e}`,changeReviewShowPublic:e=>`/google-reviews/show-public/${e}`},tickets:{getAll:"/tickets",create:"/tickets",getOne:e=>`/tickets/${e}`,deleteOne:e=>`/tickets/${e}`,updateOne:e=>`/tickets/${e}`,getMyTickets:"/tickets/my",getUserTickets:e=>`/tickets/user/${e}`,getAgentTickets:e=>`/tickets/agent/${e}`,addMessage:e=>`/tickets/${e}/messages`,addDocument:e=>`/tickets/${e}/documents`,getDocuments:e=>`/tickets/${e}/documents`,reopenTicket:e=>`/tickets/${e}/reopen`,sendToKissFlow:"/tickets/kissflow"},faq:{getAll:"/faqs",create:"/faqs",getOne:e=>`/faqs/${e}`,deleteOne:e=>`/faqs/${e}`,updateOne:e=>`/faqs/${e}`},dealDrive:{getAll:"/deal-drive",create:"/deal-drive",getOne:e=>`/deal-drive/${e}`,deleteOne:e=>`/deal-drive/${e}`,updateOne:e=>`/deal-drive/${e}`,getAllMakes:e=>"/deal-drive/brands",getAllModels:e=>"/deal-drive/models"},bankValuationRequest:{getAll:"/bank-valuation-request",create:"/bank-valuation-request",getOne:e=>`/bank-valuation-request/${e}`,deleteOne:e=>`/bank-valuation-request/${e}`,updateOne:e=>`/bank-valuation-request/${e}`,updateStatus:e=>`/bank-valuation-request/${e}`,approveValuation:e=>`/bank-valuation-request/approve/${e}`,rejectValuation:e=>`/bank-valuation-request/reject/${e}`,overridePayment:e=>`/bank-valuation-request/${e}/override-payment`,estimate:"/bank-valuation-request/estimate",rangeEstimate:"/bank-valuation-request/range-estimate",getStats:"/bank-valuation-request/stats",notifyAboutExistingLead:"/bank-valuation-request/notify",getCertificateEditableData:e=>`/bank-valuation-request/${e}/certificates/issue/edit-data`,previewCertificatePdf:e=>`/bank-valuation-request/${e}/certificates/issue/preview`,reissueCertificate:e=>`/bank-valuation-request/${e}/certificates/issue`,getRequestStatus:e=>`/bank-valuation-request/${e}/status`,checkRequestIsIncomplete:e=>`/bank-valuation-request/${e}/status/incomplete`,sendContinuationReminder:e=>`/bank-valuation-request/${e}/send-continuation-reminder`},exchangeCarRequest:{create:"/exchange-car-request",getAll:"/exchange-car-request/list",getOne:e=>`/exchange-car-request/${e}`,deleteOne:e=>`/exchange-car-request/${e}`,updateOne:e=>`/exchange-car-request/${e}`},dubiCars:{getAdByDubiCarsId:e=>`/dubicars/${e}`,checkVehicleAdStatus:e=>`/dubicars/status/${e}`,getAvailableModelsForMake:e=>`/dubicars/${e}/models`,postAd:"/dubicars",deleteAd:e=>`/dubicars/${e}`,deleteAdByVehicleId:e=>`/dubicars/vehicle/${e}`,doAction:e=>`/dubicars/${e}`},colors:{getAll:"/colors",list:"/colors/list",create:"/colors",getOne:e=>`/colors/${e}`,deleteOne:e=>`/colors/${e}`,updateOne:e=>`/colors/${e}`,getBySlug:e=>`/colors/slug/${e}`},bankValuationResult:{getAll:"/bank-valuation-results",create:"/bank-valuation-results",getOne:e=>`/bank-valuation-results/${e}`,deleteOne:e=>`/bank-valuation-results/${e}`,updateOne:e=>`/bank-valuation-results/${e}`},bank:{getAll:"/partnered-banks",create:"/partnered-banks",getOne:e=>`/partnered-banks/${e}`,deleteOne:e=>`/partnered-banks/${e}`,updateOne:e=>`/partnered-banks/${e}`}};const i="/utils";t.UTIL_ENDPOINTS={media:{createS3Url:`${i}/get-upload-url`,preprocessMediaUrl:`${i}/process-media`,removeS3Media:`${i}/remove-s3`,removeVehicleMedia:`${i}/remove-vehcile-media`,removeByIdentifier:`${i}/remove-by-identifier`,compressImage:`${i}/compress-image`}};const o="/auth";t.AUTH_ENDPOINTS={login:`${o}/login`,register:`${o}/register`,refreshAccessToken:`${o}/refresh-token`,sendPhoneVerificationCode:`${o}/phone/send-verification`,verifyPhoneAndLogin:`${o}/phone/verify-and-login`,verifyAnyPhoneNumber:`${o}/phone/verify`,checkPhoneNumberExists:`${o}/phone/check`}},3199:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ShowRoomVisitFetchDTO=t.ShowRoomVisitFilterDTO=t.ShowRoomVisitOptionsDTO=t.ShowroomVisitResponseDTO=t.ShowroomVisitUpdateDTO=t.ShowroomVisitCreateDTO=t.IsTimeConstraint=void 0;const r=i(6325),s=i(284),a=i(2446);i(1769);let p=class{validate(e,t){return/^([01]\d|2[0-3]):([0-5]\d)$/.test(e)}defaultMessage(e){return"Time ($value) is not a valid 24-hour time format (HH:MM)"}};p=o([(0,r.ValidatorConstraint)({name:"isTime",async:!1})],p),t.IsTimeConstraint=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],l.prototype,"Visitor_FullName",void 0),o([(0,r.IsString)(),n("design:type",String)],l.prototype,"Visitor_Mobile",void 0),o([(0,r.IsDateString)(),n("design:type",String)],l.prototype,"Visit_Date",void 0),o([(0,r.Validate)(p),n("design:type",String)],l.prototype,"Visit_Time",void 0),o([(0,r.IsString)(),n("design:type",String)],l.prototype,"Visit_Interest",void 0),o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),(0,r.IsOptional)(),n("design:type",Array)],l.prototype,"Interested_Cars",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],l.prototype,"AssignedAgentId",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"marketing",void 0),t.ShowroomVisitCreateDTO=l;class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"Visitor_FullName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"Visitor_Mobile",void 0),o([(0,r.IsOptional)(),(0,r.IsDateString)(),n("design:type",String)],d.prototype,"Visit_Date",void 0),o([(0,r.IsOptional)(),(0,r.Validate)(p),n("design:type",String)],d.prototype,"Visit_Time",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"Visit_Interest",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],d.prototype,"Interested_Cars",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],d.prototype,"AssignedAgentId",void 0),t.ShowroomVisitUpdateDTO=d;class c{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],c.prototype,"id",void 0),o([(0,r.IsString)(),n("design:type",String)],c.prototype,"Visitor_FullName",void 0),o([(0,r.IsString)(),n("design:type",String)],c.prototype,"Visitor_Mobile",void 0),o([(0,r.IsDateString)(),n("design:type",String)],c.prototype,"Visit_Date",void 0),o([(0,r.Validate)(p),n("design:type",String)],c.prototype,"Visit_Time",void 0),o([(0,r.IsString)(),n("design:type",String)],c.prototype,"Visit_Interest",void 0),o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),(0,r.IsOptional)(),n("design:type",Array)],c.prototype,"Interested_Cars",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],c.prototype,"AssignedAgentId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"AssignedAgentName",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],c.prototype,"IsCompleted",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"VisitNotes",void 0),o([(0,r.IsDateString)(),n("design:type",String)],c.prototype,"CreatedAt",void 0),o([(0,r.IsDateString)(),n("design:type",String)],c.prototype,"UpdatedAt",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],c.prototype,"marketing",void 0),t.ShowroomVisitResponseDTO=c;class y extends a.PaginationOptions{static fromPlain(e){return(0,s.plainToClass)(y,e)}toPlain(){return(0,s.classToPlain)(this)}}t.ShowRoomVisitOptionsDTO=y;class g{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(g,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),n("design:type",String)],g.prototype,"search",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"leadId",void 0),t.ShowRoomVisitFilterDTO=g;class u{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(u,e)}toPlain(){return(0,s.classToPlain)(this)}}t.ShowRoomVisitFetchDTO=u},3205:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(8474),t)},3278:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(5084),t)},3323:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Lead=void 0,t.Lead=class{}},3340:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.AppError=t.ErrorType=void 0,function(e){e.VALIDATION_ERROR="VALIDATION_ERROR",e.NOT_FOUND="NOT_FOUND",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INTERNAL_SERVER_ERROR="INTERNAL_SERVER_ERROR",e.BAD_REQUEST="BAD_REQUEST",e.AUTHENTICATION_ERROR="AUTHENTICATION_ERROR",e.AUTHORIZATION_ERROR="AUTHORIZATION_ERROR"}(i=t.ErrorType||(t.ErrorType={}));class o extends Error{constructor(e,t,i,o){super(e),this.message=e,this.statusCode=t,this.type=i,this.details=o,this.statusCode=t,this.type=i,this.details=o,this.name=this.constructor.name,Error.captureStackTrace(this,this.constructor)}static badRequest(e,t){return new o(e,400,i.BAD_REQUEST,t)}static notFound(e,t){return new o(e,404,i.NOT_FOUND,t)}static unauthorized(e,t){return new o(e,401,i.UNAUTHORIZED,t)}static forbidden(e,t){return new o(e,403,i.FORBIDDEN,t)}static internal(e,t){return new o(e,500,i.INTERNAL_SERVER_ERROR,t)}static validationError(e,t){return new o(e,422,i.VALIDATION_ERROR,t)}}t.AppError=o},3347:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.NewsletterUpdateDTO=t.NewsletterCreateDTO=void 0;const r=i(6325),s=i(284);class a{constructor(){this.subscribe=!0}validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(a,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"fullName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"phone",void 0),o([(0,r.IsEmail)(),n("design:type",String)],a.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Object)],a.prototype,"subscribe",void 0),t.NewsletterCreateDTO=a;class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"fullName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsEmail)(),n("design:type",String)],p.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],p.prototype,"subscribe",void 0),t.NewsletterUpdateDTO=p},3358:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(4136),t),n(i(9347),t),n(i(3742),t),n(i(5613),t),n(i(8177),t),n(i(7717),t),n(i(4259),t),n(i(523),t),n(i(4019),t),n(i(8047),t),n(i(1841),t),n(i(7280),t),n(i(3008),t),n(i(7461),t)},3370:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(4641),t)},3373:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(5792),t)},3404:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(5514),t)},3411:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2454),t)},3448:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(1746),t),n(i(2433),t),n(i(6075),t),n(i(5139),t),n(i(4787),t),n(i(1179),t),n(i(9445),t),n(i(5886),t),n(i(3770),t),n(i(9421),t),n(i(4611),t),n(i(5886),t),n(i(167),t),n(i(2463),t),n(i(2641),t),n(i(3469),t),n(i(7844),t),n(i(2090),t),n(i(5112),t),n(i(6694),t)},3469:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleOptions=t.VehicleUniqueFilter=t.VehicleFilter=t.VehicleCategoryOptions=t.VehicleCategoryUniqueFilter=t.VehicleCategoryFilter=t.VehicleFeatureCategoryOptions=t.VehicleFeatureCategoryUniqueFilter=t.VehicleFeatureCategoryFilter=t.VehicleFeatureOptions=t.VehicleFeatureUniqueFilter=t.VehicleFeatureFilter=t.VehicleBodyTypeOptions=t.VehicleBodyTypeUniqueFilter=t.VehicleBodyTypeFilter=t.VehicleModelOptions=t.VehicleModelUniqueFilter=t.VehicleModelFilter=t.VehicleMakeOptions=t.VehicleMakeUniqueFilter=t.VehicleMakeFilter=void 0;const r=i(284),s=i(6325),a=i(2446);class p extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(p,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],p.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],p.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",String)],p.prototype,"metaKeywords",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],p.prototype,"models",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],p.prototype,"vehicles",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"search",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],p.prototype,"promoted",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],p.prototype,"showInFooter",void 0),t.VehicleMakeFilter=p;class l extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(p,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],l.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],l.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],l.prototype,"name",void 0),t.VehicleMakeUniqueFilter=l;class d extends a.PaginationOptions{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(d,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleMakeOptions=d;class c extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(c,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],c.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],c.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],c.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",String)],c.prototype,"metaKeywords",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],c.prototype,"makes",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],c.prototype,"vehicles",void 0),t.VehicleModelFilter=c;class y extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(y,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"name",void 0),t.VehicleModelUniqueFilter=y;class g extends a.PaginationOptions{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(g,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleModelOptions=g;class u extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(c,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],u.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],u.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],u.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],u.prototype,"vehicles",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],u.prototype,"models",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],u.prototype,"search",void 0),t.VehicleBodyTypeFilter=u;class v{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(c,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],v.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],v.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],v.prototype,"name",void 0),t.VehicleBodyTypeUniqueFilter=v;class I extends a.PaginationOptions{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(g,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleBodyTypeOptions=I;class O extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(c,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],O.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],O.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],O.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],O.prototype,"categories",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],O.prototype,"search",void 0),t.VehicleFeatureFilter=O;class f{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(c,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],f.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],f.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],f.prototype,"name",void 0),t.VehicleFeatureUniqueFilter=f;class h extends a.PaginationOptions{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(h,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleFeatureOptions=h;class S extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(S,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],S.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],S.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],S.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],S.prototype,"features",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],S.prototype,"search",void 0),t.VehicleFeatureCategoryFilter=S;class m{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(m,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],m.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],m.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],m.prototype,"name",void 0),t.VehicleFeatureCategoryUniqueFilter=m;class b extends a.PaginationOptions{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(b,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleFeatureCategoryOptions=b;class T extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(T,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],T.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],T.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],T.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],T.prototype,"search",void 0),t.VehicleCategoryFilter=T;class P{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(P,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],P.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],P.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],P.prototype,"name",void 0),t.VehicleCategoryUniqueFilter=P;class D extends a.PaginationOptions{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(h,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleCategoryOptions=D;class N extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(N,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"referenceNumber",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"make",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"model",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"bodyType",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"vin",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"chassisNumber",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"trim",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"mileage",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"fuelType",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"color",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"engineCapacity",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"numberOfCylinders",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"cylinderCapacity",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"doors",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"seats",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"keys",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"wheelsType",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"airbags",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"transmission",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"driveType",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"emissions",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"year",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"price",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"emi",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"status",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"includeReserved",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"includeUnpublished",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"includeSelfReserved",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"includeSold",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"includeDraft",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"features",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],N.prototype,"search",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],N.prototype,"warranty",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],N.prototype,"compareCarId",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"specialDeals",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Object)],N.prototype,"isPostedOnDubiCars",void 0),o([(0,s.IsOptional)(),(0,s.Validate)(a.DateFilter),n("design:type",a.DateFilter)],N.prototype,"soldAt",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],N.prototype,"interiorColor",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"isBrandNew",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"isPinned",void 0),t.VehicleFilter=N;class _{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(_,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],_.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],_.prototype,"referenceNumber",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],_.prototype,"refId",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],_.prototype,"vin",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],_.prototype,"chassisNumber",void 0),t.VehicleUniqueFilter=_;class E extends a.PaginationOptions{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(E,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleOptions=E},3622:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.TestDriveRequestStatus=t.LeadThrough=void 0,(t.LeadThrough||(t.LeadThrough={})).WEBSITE="website",(i=t.TestDriveRequestStatus||(t.TestDriveRequestStatus={}))[i.NOT_CONTACTED=1]="NOT_CONTACTED",i[i.APPOINTMENT_CONFIRMED=2]="APPOINTMENT_CONFIRMED",i[i.FOLLOWED_UP_APPOINTMENT_DAY=3]="FOLLOWED_UP_APPOINTMENT_DAY",i[i.REQUESTED_CALL_BACK=4]="REQUESTED_CALL_BACK",i[i.FIRST_FOLLOW_UP=5]="FIRST_FOLLOW_UP",i[i.APPOINTMENT_NO_SHOW=6]="APPOINTMENT_NO_SHOW",i[i.SECOND_FOLLOW_UP=7]="SECOND_FOLLOW_UP",i[i.THIRD_FOLLOW_UP=8]="THIRD_FOLLOW_UP",i[i.FOURTH_FOLLOW_UP=9]="FOURTH_FOLLOW_UP",i[i.LAST_FOLLOW_UP=10]="LAST_FOLLOW_UP",i[i.ONGOING=11]="ONGOING",i[i.DEALING_VISITED=12]="DEALING_VISITED",i[i.CAR_BOOKED=13]="CAR_BOOKED",i[i.NO_DEAL_VISITED=14]="NO_DEAL_VISITED",i[i.PHONE_OFF=15]="PHONE_OFF",i[i.NO_ANSWER_TO_CALL=16]="NO_ANSWER_TO_CALL",i[i.CAR_NOT_IN_STOCK=17]="CAR_NOT_IN_STOCK",i[i.DISQUALIFIED=18]="DISQUALIFIED",i[i.WRONG_NUMBER=19]="WRONG_NUMBER"},3635:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.validateVIN=t.validateChassisNumber=void 0,t.validateChassisNumber=e=>!!/^[A-HJ-NPR-Z0-9]{15,20}$/.test(e)||"Invalid Chassis Number",t.validateVIN=e=>!!/^[A-HJ-NPR-Z0-9]{8}$/.test(e)||"Invalid VIN format"},3650:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(8235),t),n(i(4374),t)},3742:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},3770:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicModelDTO=t.VehicleModelUpdateDTO=t.VehicleModelCreateDTO=t.VehicleModelGetUniqueDTO=t.VehicleModelGetDTO=void 0;const r=i(6325),s=i(284),a=i(1746),p=i(5613),l=i(8047);class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleModelGetDTO=d;class c{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}toPlain(){return(0,s.instanceToPlain)(this)}}t.VehicleModelGetUniqueDTO=c;class y extends a.BaseCreateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(y,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),(0,r.IsDefined)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],y.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"image",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"description",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"metaTitle",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"metaDescription",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"metaKeywords",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>l.VehicleMake)),n("design:type",l.VehicleMake)],y.prototype,"make",void 0),o([(0,r.ValidateNested)({each:!0}),(0,s.Type)((()=>p.Vehicle)),n("design:type",Array)],y.prototype,"vehicles",void 0),t.VehicleModelCreateDTO=y;class g extends a.BaseUpdateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(g,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],g.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"image",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"description",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"metaTitle",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"metaDescription",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"metaKeywords",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],g.prototype,"isActive",void 0),t.VehicleModelUpdateDTO=g;class u{validate(){if(!this.existingId&&!this.new)throw new Error("Either existingId or new details must be provided.")}static fromPlain(e){return(0,s.plainToClass)(u,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"existingId",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>y)),(0,r.IsOptional)(),n("design:type",y)],u.prototype,"new",void 0),t.DynamicModelDTO=u},3989:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2906),t)},4019:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleFinance=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleFinance=n},4032:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(3278),t),n(i(5289),t)},4136:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseModel=void 0,t.BaseModel=class{}},4259:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleFeature=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleFeature=n},4363:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.FaqCategory=void 0,(i=t.FaqCategory||(t.FaqCategory={})).FINANCE="FINANCE",i.SELL_CAR="SELL_CAR",i.BUY_CAR="BUY_CAR",i.HOME_PAGE="HOME_PAGE"},4374:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.LeadStatus=void 0,(i=t.LeadStatus||(t.LeadStatus={})).NEW="NEW",i.CONTACTED="CONTACTED",i.QUALIFIED="QUALIFIED",i.NEGOTIATING="NEGOTIATING",i.CLOSED_WON="CLOSED_WON",i.CLOSED_LOST="CLOSED_LOST"},4443:e=>{e.exports=require("reflect-metadata")},4611:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicVehicleBodyTypeDTO=t.VehicleBodyTypeUpdateDTO=t.VehicleBodyTypeCreateDTO=t.VehicleBodyTypeGetUniqueDTO=t.VehicleBodyTypeGetDTO=void 0;const r=i(6325),s=i(284),a=i(1746);class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleBodyTypeGetDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleBodyTypeGetUniqueDTO=l;class d extends a.BaseCreateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),n("design:type",String)],d.prototype,"name",void 0),t.VehicleBodyTypeCreateDTO=d;class c{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"name",void 0),t.VehicleBodyTypeUpdateDTO=c;class y{validate(){if(!this.existingId&&!this.new)throw new Error("Either existingId or new details must be provided.")}static fromPlain(e){return(0,s.plainToClass)(y,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"existingId",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>d)),(0,r.IsOptional)(),n("design:type",d)],y.prototype,"new",void 0),t.DynamicVehicleBodyTypeDTO=y},4641:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.GetVehicleReservationsFilterDto=t.GetVehicleReservationsDTO=t.VehicleReservationsOptions=t.UpdateVehicleReservationDto=t.VehicleReservationResponseDto=t.VehicleReservationDto=t.CreateVehicleReservationDto=void 0;const r=i(6325),s=i(800),a=i(6768),p=i(284),l=i(2446),d=i(7594),c=i(1217);class y{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,p.plainToClass)(y,e)}toPlain(){return(0,p.classToPlain)(this)}}o([(0,r.IsUUID)(),(0,r.ValidateIf)((e=>!e.newLead)),n("design:type",String)],y.prototype,"leadId",void 0),o([(0,r.ValidateNested)(),(0,p.Type)((()=>d.LeadCreateDTO)),(0,r.ValidateIf)((e=>!e.leadId)),n("design:type",d.LeadCreateDTO)],y.prototype,"newLead",void 0),o([(0,r.IsUUID)(),n("design:type",String)],y.prototype,"vehicleId",void 0),o([(0,r.IsEnum)(s.FinanceType),n("design:type",String)],y.prototype,"financeType",void 0),o([(0,r.IsNumber)(),(0,r.Min)(0),(0,r.IsOptional)(),n("design:type",Number)],y.prototype,"depositAmount",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"depositPaymentMethod",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],y.prototype,"totalAmount",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"notes",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"assignedSalesRepId",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"bankName",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],y.prototype,"loanAmount",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],y.prototype,"loanTenureMonths",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],y.prototype,"interestRate",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],y.prototype,"marketing",void 0),t.CreateVehicleReservationDto=y;class g{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,p.plainToClass)(y,e)}toPlain(){return(0,p.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"vehicleId",void 0),o([(0,r.IsEnum)(s.FinanceType),n("design:type",String)],g.prototype,"financeType",void 0),o([(0,r.IsNumber)(),(0,r.Min)(0),(0,r.IsOptional)(),n("design:type",Number)],g.prototype,"depositAmount",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"depositPaymentMethod",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],g.prototype,"totalAmount",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"notes",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"assignedSalesRepId",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"bankName",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],g.prototype,"loanAmount",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],g.prototype,"loanTenureMonths",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],g.prototype,"interestRate",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],g.prototype,"marketing",void 0),t.VehicleReservationDto=g,t.VehicleReservationResponseDto=class{};class u{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,p.plainToClass)(u,e)}toPlain(){return(0,p.classToPlain)(this)}}o([(0,r.IsEnum)(a.ReservationStatus),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"status",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],u.prototype,"depositAmount",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"depositPaymentMethod",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],u.prototype,"isDepositPaid",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],u.prototype,"totalAmount",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"bankName",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],u.prototype,"loanAmount",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],u.prototype,"loanTenureMonths",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"notes",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"cancellationReason",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"assignedSalesRepId",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"financeRejectionReason",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],u.prototype,"financeApprovedAt",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],u.prototype,"financeRejectedAt",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],u.prototype,"cancelledAt",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],u.prototype,"isActive",void 0),t.UpdateVehicleReservationDto=u;class v extends l.PaginationOptions{static fromPlain(e){return(0,p.plainToClass)(O,e)}toPlain(){return(0,p.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,p.Type)((()=>c.SortDTO)),n("design:type",Object)],v.prototype,"sort",void 0),t.VehicleReservationsOptions=v;class I{static fromPlain(e){return(0,p.plainToClass)(I,e)}toPlain(){return(0,p.classToPlain)(this)}}t.GetVehicleReservationsDTO=I;class O{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,p.plainToClass)(O,e)}toPlain(){return(0,p.classToPlain)(this)}}o([(0,r.IsOptional)(),n("design:type",String)],O.prototype,"search",void 0),o([(0,r.IsEnum)(a.ReservationStatus),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"status",void 0),o([(0,r.IsEnum)(a.ReservationStatus),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"exceptStatus",void 0),o([(0,r.IsEnum)(s.FinanceType),(0,r.IsOptional)(),(0,r.IsArray)(),n("design:type",Array)],O.prototype,"financeTypes",void 0),o([(0,r.IsEnum)(s.FinanceType),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"financeType",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"vehicleId",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",l.DateFilter)],O.prototype,"createdAt",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"leadId",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],O.prototype,"isActive",void 0),t.GetVehicleReservationsFilterDto=O},4739:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2307),t),n(i(3622),t),n(i(9418),t),n(i(2731),t)},4787:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicVehicleFeatureDTO=t.VehicleFeaturedUpdateDTO=t.VehicleFeaturedCreateDTO=t.VehicleFeaturedGetUniqueDTO=t.VehicleFeaturedGetDTO=void 0;const r=i(6325),s=i(284),a=i(1746);class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleFeaturedGetDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleFeaturedGetUniqueDTO=l;class d extends a.BaseCreateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),(0,r.IsDefined)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],d.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"icon",void 0),t.VehicleFeaturedCreateDTO=d;class c extends a.BaseUpdateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],c.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"icon",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"slug",void 0),t.VehicleFeaturedUpdateDTO=c;class y{validate(){if(!this.existingId&&!this.new)throw new Error("Either existingId or new details must be provided.")}static fromPlain(e){return(0,s.plainToClass)(y,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"existingId",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>d)),(0,r.IsOptional)(),n("design:type",d)],y.prototype,"new",void 0),t.DynamicVehicleFeatureDTO=y},5084:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateReviewShowPublicDTO=t.CreateReviewDTO=t.UpdateReviewDTO=t.ReviewOptions=t.ReviewFilter=t.ReviewGetDTO=t.GoogleReviewResponseDTO=t.SaveGoogleReviewDTO=t.FetchGoogleReviewsDTO=t.GoogleReviewDTO=t.ReviewDTO=void 0;const r=i(6325),s=i(284),a=i(5289);class p{}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),n("design:type",String)],p.prototype,"id",void 0),o([(0,r.IsString)(),(0,r.Length)(1,100),n("design:type",String)],p.prototype,"username",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"photo",void 0),o([(0,r.IsEnum)(a.ReviewPlatform),n("design:type",String)],p.prototype,"platform",void 0),o([(0,r.IsString)(),(0,r.Length)(1,1e3),n("design:type",String)],p.prototype,"comment",void 0),o([(0,r.IsNumber)(),(0,r.Min)(1),(0,r.Max)(5),n("design:type",Number)],p.prototype,"minRating",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],p.prototype,"showPublic",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"placeId",void 0),o([(0,s.Type)((()=>Date)),(0,r.IsDate)(),n("design:type",Date)],p.prototype,"createdAt",void 0),o([(0,s.Type)((()=>Date)),(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],p.prototype,"updatedAt",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"authorUrl",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"profilePhotoUrl",void 0),t.ReviewDTO=p;class l{}o([(0,r.IsString)(),(0,r.Length)(1,100),n("design:type",String)],l.prototype,"authorName",void 0),o([(0,r.IsUrl)(),(0,r.IsOptional)(),n("design:type",String)],l.prototype,"authorUrl",void 0),o([(0,r.IsUrl)(),(0,r.IsOptional)(),n("design:type",String)],l.prototype,"profilePhotoUrl",void 0),o([(0,r.IsNumber)(),(0,r.Min)(1),(0,r.Max)(5),n("design:type",Number)],l.prototype,"rating",void 0),o([(0,r.IsString)(),(0,r.Length)(1,1e3),n("design:type",String)],l.prototype,"text",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"time",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],l.prototype,"relativeTimeDescription",void 0),o([(0,r.IsString)(),n("design:type",String)],l.prototype,"placeId",void 0),t.GoogleReviewDTO=l;class d{constructor(){this.fetch=!1}}o([(0,r.IsString)(),(0,r.Length)(1,100),n("design:type",String)],d.prototype,"placeId",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],d.prototype,"fetch",void 0),t.FetchGoogleReviewsDTO=d;class c{constructor(){this.showPublic=!0}}o([(0,r.IsString)(),(0,r.Length)(1,100),n("design:type",String)],c.prototype,"username",void 0),o([(0,r.IsNumber)(),(0,r.Min)(1),(0,r.Max)(5),n("design:type",Number)],c.prototype,"rating",void 0),o([(0,r.IsString)(),(0,r.Length)(1,1e3),n("design:type",String)],c.prototype,"comment",void 0),o([(0,s.Type)((()=>Date)),(0,r.IsDate)(),n("design:type",Date)],c.prototype,"date",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],c.prototype,"showPublic",void 0),t.SaveGoogleReviewDTO=c,t.GoogleReviewResponseDTO=class{};class y{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(y,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"id",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"placeId",void 0),o([(0,r.IsEnum)(a.ReviewPlatform),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"platform",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"comment",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"username",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"photo",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),(0,s.Transform)((({value:e})=>"true"===e||"false"!==e&&e)),n("design:type",Boolean)],y.prototype,"showPublic",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,r.Max)(5),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],y.prototype,"minRating",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,r.Max)(5),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],y.prototype,"maxRating",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(0),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],y.prototype,"skip",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],y.prototype,"take",void 0),t.ReviewGetDTO=y;class g{}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"placeId",void 0),o([(0,r.IsEnum)(a.ReviewPlatform),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"platform",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"comment",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"username",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),(0,s.Transform)((({value:e})=>"true"===e||"false"!==e&&e)),n("design:type",Boolean)],g.prototype,"showPublic",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"search",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,r.Max)(5),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],g.prototype,"minRating",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,r.Max)(5),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],g.prototype,"maxRating",void 0),t.ReviewFilter=g;class u{}o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(0),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],u.prototype,"skip",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],u.prototype,"take",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"orderBy",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"orderDirection",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],u.prototype,"page",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],u.prototype,"limit",void 0),t.ReviewOptions=u;class v{}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),n("design:type",String)],v.prototype,"id",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Length)(1,100),n("design:type",String)],v.prototype,"username",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],v.prototype,"photo",void 0),o([(0,r.IsEnum)(a.ReviewPlatform),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"platform",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Length)(1,1e3),n("design:type",String)],v.prototype,"comment",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,r.Max)(5),n("design:type",Number)],v.prototype,"rating",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],v.prototype,"showPublic",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"placeId",void 0),o([(0,s.Type)((()=>Date)),(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],v.prototype,"updatedAt",void 0),t.UpdateReviewDTO=v;class I{}o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Length)(1,100),n("design:type",String)],I.prototype,"username",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"photo",void 0),o([(0,r.IsEnum)(a.ReviewPlatform),(0,r.IsOptional)(),n("design:type",String)],I.prototype,"platform",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Length)(1,1e3),n("design:type",String)],I.prototype,"comment",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,r.Max)(5),n("design:type",Number)],I.prototype,"rating",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],I.prototype,"showPublic",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],I.prototype,"placeId",void 0),o([(0,s.Type)((()=>Date)),(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],I.prototype,"date",void 0),t.CreateReviewDTO=I;class O{}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),n("design:type",String)],O.prototype,"id",void 0),o([(0,r.IsBoolean)(),(0,r.IsNotEmpty)(),n("design:type",Boolean)],O.prototype,"showPublic",void 0),t.UpdateReviewShowPublicDTO=O},5112:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleWarrantyDTO=void 0;const r=i(8551),s=i(6325),a=i(284);class p{constructor(e,t){this.year=e,this.km=t}toString(){return`Until ${this.year} or ${this.km}Kms`}validate(){const e=(0,s.validateSync)(this);return this.year||this.km?e.map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat():["Either year or km must be provided"]}static fromPlain(e){return(0,a.plainToClass)(p,e)}}o([(0,s.IsOptional)(),(0,s.IsEnum)(r.VehicleWarrantyYearType),(0,s.ValidateIf)((e=>void 0===e.km||null===e.km)),n("design:type",String)],p.prototype,"year",void 0),o([(0,s.IsOptional)(),(0,s.IsNumber)(),(0,s.ValidateIf)((e=>void 0===e.year||null===e.year)),n("design:type",Number)],p.prototype,"km",void 0),t.VehicleWarrantyDTO=p},5139:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicVehicleFeatureCategoryDTO=t.VehicleFeatureCategoryUpdateDTO=t.VehicleFeatureCategoryCreateDTO=t.VehicleFeatureCategoryGetUniqueDTO=t.VehicleFeatureCategoryGetDTO=void 0;const r=i(6325),s=i(284),a=i(1746);class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleFeatureCategoryGetDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleFeatureCategoryGetUniqueDTO=l;class d extends a.BaseCreateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),(0,r.IsDefined)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],d.prototype,"name",void 0),t.VehicleFeatureCategoryCreateDTO=d;class c extends a.BaseUpdateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],c.prototype,"name",void 0),t.VehicleFeatureCategoryUpdateDTO=c;class y{constructor(e){this.existingId=e.existingId,this.new=e.new}validate(){if(!this.existingId&&!this.new)throw new Error("Either existingId or new details must be provided.")}static fromPlain(e){return(0,s.plainToClass)(y,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"existingId",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>d)),(0,r.IsOptional)(),n("design:type",d)],y.prototype,"new",void 0),t.DynamicVehicleFeatureCategoryDTO=y},5289:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.ReviewPlatform=void 0,(i=t.ReviewPlatform||(t.ReviewPlatform={})).GOOGLE="Google",i.DUBAI_REVIEW="DubaiReview"},5514:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseGetDTO=void 0;const o=i(6325),n=i(284);t.BaseGetDTO=class{validate(){return(0,o.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,n.plainToClass)(this,e)}static toPlain(e){return(0,n.instanceToPlain)(e)}}},5524:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2660),t)},5613:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleDraft=t.Vehicle=void 0;const o=i(284),n=i(4136);class r extends n.BaseModel{static fromPlain(e){return(0,o.plainToClass)(r,e)}toPlain(){return(0,o.instanceToPlain)(this)}}t.Vehicle=r,t.VehicleDraft=class{}},5792:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0});const o=i(6894);t.default=async()=>(await(0,o.apiRequest)(o.API_ENDPOINTS.TestDrive.getAll.toString())).data.result},5886:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleMediaUpdateDTO=t.S3MediaCreateURLDTO=t.VehicleMediaCreateS3UrlDTO=t.VehicleMediaFilterDTO=t.VehicleMediaCreateDTO=void 0;const r=i(6325),s=i(8551),a=i(284);class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,a.plainToClass)(p,e)}static toPlain(e){return(0,a.instanceToPlain)(e)}}o([(0,r.IsString)({each:!0}),n("design:type",String)],p.prototype,"vehicleId",void 0),o([(0,r.IsEnum)(s.VehicleMediaType),n("design:type",String)],p.prototype,"mediaType",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"mediaUrl",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"placeholder",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"thumbnailUrl",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"mediaIndex",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsBoolean)(),n("design:type",Boolean)],p.prototype,"isPrimary",void 0),t.VehicleMediaCreateDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,a.plainToClass)(l,e)}}o([(0,r.IsString)({each:!0}),(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"id",void 0),o([(0,r.IsString)({each:!0}),(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"vehicleId",void 0),o([(0,r.IsEnum)(s.VehicleMediaType,{each:!0}),(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"mediaType",void 0),o([(0,r.IsString)({each:!0}),(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"mediaUrl",void 0),o([(0,r.IsString)({each:!0}),(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"thumbnailUrl",void 0),o([(0,r.IsString)({each:!0}),(0,r.IsOptional)(),n("design:type",Boolean)],l.prototype,"isPrimary",void 0),t.VehicleMediaFilterDTO=l,t.VehicleMediaCreateS3UrlDTO=class{constructor(){}};class d{}o([(0,r.IsString)(),n("design:type",String)],d.prototype,"vehicleId",void 0),o([(0,r.IsString)(),n("design:type",String)],d.prototype,"folder",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsArray)(),n("design:type",Array)],d.prototype,"files",void 0),t.S3MediaCreateURLDTO=d;class c{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,a.plainToClass)(c,e)}static toPlain(e){return(0,a.instanceToPlain)(e)}}o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.ValidateNested)({each:!0}),(0,a.Type)((()=>p)),n("design:type",Array)],c.prototype,"data",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],c.prototype,"replace",void 0),o([(0,r.ValidateNested)(),(0,a.Type)((()=>l)),n("design:type",l)],c.prototype,"filter",void 0),t.VehicleMediaUpdateDTO=c},6053:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(643),t)},6075:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicVehicleDTO=t.VehicleUpdateDTO=t.VehicleFeaturesUpdateDTO=t.VehicleCreateDTO=t.VehicleMetaDataDTO=t.VehicleGetUniqueDTO=t.VehicleGetDTO=void 0;const r=i(6325),s=i(284),a=i(1746),p=i(9445),l=i(3770),d=i(4611),c=i(5886),y=i(3469),g=i(1179),u=i(8551);class v{constructor(e=!0){e&&(this.validate=(e=!0)=>e?(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat():[])}static fromPlain(e){return(0,s.plainToClass)(v,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>y.VehicleFilter)),n("design:type",y.VehicleFilter)],v.prototype,"filter",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>y.VehicleOptions)),n("design:type",y.VehicleOptions)],v.prototype,"options",void 0),t.VehicleGetDTO=v;class I{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(I,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>y.VehicleUniqueFilter)),n("design:type",y.VehicleUniqueFilter)],I.prototype,"filter",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>y.VehicleOptions)),n("design:type",Object)],I.prototype,"options",void 0),t.VehicleGetUniqueDTO=I;class O{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(O,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],O.prototype,"metaTitle",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],O.prototype,"metaDescription",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],O.prototype,"metaKeywords",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],O.prototype,"vehicleDescription",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"vehicleId",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.ValidateNested)({each:!0}),(0,s.Type)((()=>Object)),n("design:type",Object)],O.prototype,"others",void 0),t.VehicleMetaDataDTO=O;class f extends a.BaseCreateDTO{validate(){const e=(0,r.validateSync)(this),t=[];return this.warrantyYears||this.warrantyKm||t.push("Either warranty years or warranty kilometers must be provided"),this.serviceContractYears||this.serviceContractKm||t.push("Either service contract years or service contract kilometers must be provided"),[...e.map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat(),...t]}static fromPlain(e){return(0,s.plainToClass)(f,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"title",void 0),o([(0,r.IsNotEmpty)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.DynamicMakeDTO)),n("design:type",p.DynamicMakeDTO)],f.prototype,"make",void 0),o([(0,r.IsNotEmpty)(),(0,r.ValidateNested)(),(0,s.Type)((()=>l.DynamicModelDTO)),n("design:type",l.DynamicModelDTO)],f.prototype,"model",void 0),o([(0,r.IsNotEmpty)(),(0,r.ValidateNested)(),(0,s.Type)((()=>d.DynamicVehicleBodyTypeDTO)),n("design:type",d.DynamicVehicleBodyTypeDTO)],f.prototype,"bodyType",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"vin",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"vehicleSpec",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"chassisNumber",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"trim",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"mileage",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"odometer",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"fuelType",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"color",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"engineCapacity",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"numberOfCylinders",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"evRange",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"cylinderCapacity",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"doors",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"seats",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"keys",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"wheelsType",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"airbags",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"transmission",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"driveType",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"emissions",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(u.VehicleWarrantyYearType),n("design:type",String)],f.prototype,"warrantyYears",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"warrantyKm",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"warranty",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(u.VehicleWarrantyYearType),n("design:type",String)],f.prototype,"serviceContractYears",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"serviceContractKm",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"serviceContract",void 0),o([(0,r.IsArray)(),(0,r.IsOptional)(),(0,r.ValidateNested)({each:!0}),(0,s.Type)((()=>c.VehicleMediaCreateDTO)),n("design:type",Array)],f.prototype,"media",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)({each:!0}),(0,s.Type)((()=>g.VehicleFinanceCreateDTO)),n("design:type",g.VehicleFinanceCreateDTO)],f.prototype,"finance",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"year",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"price",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"status",void 0),o([(0,r.IsArray)(),(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Array)],f.prototype,"features",void 0),o([(0,r.ValidateNested)(),(0,r.IsOptional)(),(0,s.Type)((()=>O)),n("design:type",O)],f.prototype,"metaData",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"marketingTitle",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"batteryWarranty",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"interiorColor",void 0),o([(0,r.IsOptional)(),n("design:type",Boolean)],f.prototype,"isDraft",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],f.prototype,"isBrandNew",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],f.prototype,"isPinned",void 0),o([(0,r.IsOptional)(),n("design:type",Number)],f.prototype,"pageNo",void 0),t.VehicleCreateDTO=f;class h{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(h,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],h.prototype,"data",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],h.prototype,"replace",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),(0,s.Transform)((({value:e})=>Array.isArray(e)?e:[e])),n("design:type",Object)],h.prototype,"filter",void 0),t.VehicleFeaturesUpdateDTO=h;class S extends a.BaseUpdateDTO{validate(){const e=(0,r.validateSync)(this),t=[];return void 0===this.warrantyYears&&void 0===this.warrantyKm||this.warrantyYears||this.warrantyKm||t.push("Either warranty years or warranty kilometers must be provided"),void 0===this.serviceContractYears&&void 0===this.serviceContractKm||this.serviceContractYears||this.serviceContractKm||t.push("Either service contract years or service contract kilometers must be provided"),[...e.map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat(),...t]}static fromPlain(e){return(0,s.plainToClass)(S,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"title",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.DynamicMakeDTO)),n("design:type",p.DynamicMakeDTO)],S.prototype,"make",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>l.DynamicModelDTO)),n("design:type",l.DynamicModelDTO)],S.prototype,"model",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>d.DynamicVehicleBodyTypeDTO)),n("design:type",d.DynamicVehicleBodyTypeDTO)],S.prototype,"bodyType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"vin",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"chassisNumber",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"trim",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"mileage",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"fuelType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"color",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"engineCapacity",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"numberOfCylinders",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"evRange",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"cylinderCapacity",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"doors",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"seats",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"keys",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],S.prototype,"odometer",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"wheelsType",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"airbags",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"transmission",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"driveType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"emissions",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(u.VehicleWarrantyYearType),n("design:type",String)],S.prototype,"warrantyYears",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"warrantyKm",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(u.VehicleWarrantyYearType),n("design:type",String)],S.prototype,"serviceContractYears",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"serviceContractKm",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.ValidateNested)({each:!0}),(0,s.Type)((()=>c.VehicleMediaUpdateDTO)),n("design:type",c.VehicleMediaUpdateDTO)],S.prototype,"media",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"year",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"price",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"status",void 0),o([(0,r.IsOptional)(),n("design:type",Boolean)],S.prototype,"isDraft",void 0),o([(0,r.IsOptional)(),n("design:type",Number)],S.prototype,"pageNo",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"marketingTitle",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"batteryWarranty",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"interiorColor",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],S.prototype,"isBrandNew",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],S.prototype,"isPinned",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>h)),n("design:type",h)],S.prototype,"features",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>O)),n("design:type",O)],S.prototype,"metaData",void 0),t.VehicleUpdateDTO=S;class m{validate(){if(!this.existingId&&!this.new)throw new Error("Either an existing vehicle or new vehicle details must be provided.")}}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],m.prototype,"existingId",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>f)),(0,r.IsOptional)(),n("design:type",f)],m.prototype,"new",void 0),t.DynamicVehicleDTO=m},6297:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(9935),t)},6325:e=>{e.exports=require("class-validator")},6536:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(7594),t),n(i(7255),t),n(i(8001),t),n(i(2143),t)},6590:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(25),t)},6618:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(4739),t),n(i(3373),t)},6626:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2660),t)},6694:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ColorCreateDTO=t.ColorFilterDTO=void 0;const r=i(6325);class s{}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],s.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.IsEnum)(["en","ar","ru","zh"]),n("design:type",String)],s.prototype,"language",void 0),t.ColorFilterDTO=s;class a{}o([(0,r.IsString)(),n("design:type",String)],a.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"nameArabic",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"nameRussian",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"nameChinese",void 0),t.ColorCreateDTO=a},6723:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Bank=void 0,t.Bank=class{}},6768:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.ReservationStatus=void 0,(i=t.ReservationStatus||(t.ReservationStatus={})).PENDING="PENDING",i.CONFIRMED="CONFIRMED",i.CANCELLED="CANCELLED",i.COMPLETED="COMPLETED",i.AWAITING_FINANCE="AWAITING_FINANCE",i.FINANCE_APPROVED="FINANCE_APPROVED",i.FINANCE_REJECTED="FINANCE_REJECTED"},6894:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(1599),t),n(i(1395),t),n(i(2269),t),n(i(9655),t),n(i(7900),t)},7060:(e,t)=>{var i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.TicketStatusType=t.TicketRequestType=void 0,(o=t.TicketRequestType||(t.TicketRequestType={})).WARRANTY="Warranty",o.REFUND="Refund",o.TEST_DRIVE="Test Drive",o.CAR_VIEWING="Car Viewing",o.COMPLAINT="Complaint",o.SUPPORT="Support",o.BUYING_A_CAR="Buying a Car",o.SELLING_A_CAR="Selling a Car",o.AFTERCARE="Aftercare",o.OTHER="Other",(i=t.TicketStatusType||(t.TicketStatusType={})).OPEN="Open",i.IN_PROGRESS="In Progress",i.RESOLVED="Resolved",i.CLOSED="Closed"},7218:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Color=void 0,t.Color=class{}},7255:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.LeadPreferenceHistoryGetDTO=t.LeadPreferenceHistoryFilter=t.LeadPreferenceHistoryCreateDTO=t.LeadPreferenceHistoryDTO=t.FuelType=t.TransmissionType=t.CarCondition=void 0;const r=i(6325),s=i(284),a=i(2446),p=i(7594),l=i(6894);var d,c,y;!function(e){e.NEW="NEW",e.USED="USED",e.BOTH="BOTH"}(d=t.CarCondition||(t.CarCondition={})),function(e){e.AUTOMATIC="AUTOMATIC",e.MANUAL="MANUAL",e.BOTH="BOTH"}(c=t.TransmissionType||(t.TransmissionType={})),function(e){e.PETROL="PETROL",e.DIESEL="DIESEL",e.ELECTRIC="ELECTRIC",e.HYBRID="HYBRID",e.ANY="ANY"}(y=t.FuelType||(t.FuelType={}));class g{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(g,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>p.LeadDTO)),n("design:type",p.LeadDTO)],g.prototype,"lead",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"budgetMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"budgetMax",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],g.prototype,"preferredMake",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],g.prototype,"preferredModel",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"preferredYearMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"preferredYearMax",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],g.prototype,"preferredColors",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],g.prototype,"preferredFeatures",void 0),o([(0,r.IsEnum)(d),n("design:type",String)],g.prototype,"carCondition",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],g.prototype,"transmissionType",void 0),o([(0,r.IsEnum)(y),n("design:type",String)],g.prototype,"fuelType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],g.prototype,"additionalPreferences",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],g.prototype,"changeReason",void 0),o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"changedByUserId",void 0),o([(0,r.IsString)(),n("design:type",Date)],g.prototype,"createdAt",void 0),o([(0,r.IsString)(),n("design:type",Date)],g.prototype,"updatedAt",void 0),t.LeadPreferenceHistoryDTO=g;class u{constructor(){this.carCondition=d.BOTH,this.transmissionType=c.BOTH,this.fuelType=y.ANY}validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(u,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],u.prototype,"leadId",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"budgetMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"budgetMax",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],u.prototype,"preferredMake",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],u.prototype,"preferredModel",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"preferredYearMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"preferredYearMax",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],u.prototype,"preferredColors",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],u.prototype,"preferredFeatures",void 0),o([(0,r.IsEnum)(d),n("design:type",String)],u.prototype,"carCondition",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],u.prototype,"transmissionType",void 0),o([(0,r.IsEnum)(y),n("design:type",String)],u.prototype,"fuelType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],u.prototype,"additionalPreferences",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"changeReason",void 0),o([(0,r.IsUUID)(),n("design:type",String)],u.prototype,"changedByUserId",void 0),t.LeadPreferenceHistoryCreateDTO=u;class v extends a.TypedFilter{}o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"id",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"leadId",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>l.Range)),n("design:type",l.Range)],v.prototype,"budgetRange",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],v.prototype,"make",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],v.prototype,"model",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>l.Range)),n("design:type",l.Range)],v.prototype,"yearRange",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],v.prototype,"colors",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],v.prototype,"features",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(d,{each:!0}),n("design:type",Object)],v.prototype,"carCondition",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(c,{each:!0}),n("design:type",Object)],v.prototype,"transmissionType",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(y,{each:!0}),n("design:type",Object)],v.prototype,"fuelType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"changedByUserId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],v.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>Date)),n("design:type",Date)],v.prototype,"fromDate",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>Date)),n("design:type",Date)],v.prototype,"toDate",void 0),t.LeadPreferenceHistoryFilter=v;class I extends a.BaseGetDTO{}o([(0,r.ValidateNested)(),(0,s.Type)((()=>v)),(0,r.IsOptional)(),n("design:type",v)],I.prototype,"filters",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>a.TypedOptions)),(0,r.IsOptional)(),n("design:type",a.TypedOptions)],I.prototype,"options",void 0),t.LeadPreferenceHistoryGetDTO=I},7280:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleMetaData=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleMetaData=n},7392:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(6297),t)},7452:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(7060),t),n(i(46),t)},7461:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleOrder=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleOrder=n},7594:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.LeadGetDTO=t.LeadOptions=t.LeadFilter=t.LeadCreateDTO=t.LeadUpdateDTO=t.LeadDTO=void 0;const r=i(6325),s=i(4374),a=i(8235),p=i(8001),l=i(8001),d=i(284),c=i(2490),y=i(2446);class g{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,d.plainToClass)(g,e)}toPlain(){return(0,d.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"firstName",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"lastName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],g.prototype,"email",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"phone",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"alternatePhone",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"address",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"city",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"state",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"zipCode",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"notes",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],g.prototype,"isTestDriveScheduled",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",Date)],g.prototype,"testDriveDate",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],g.prototype,"isActive",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],g.prototype,"lastContactedAt",void 0),o([(0,r.IsOptional)(),n("design:type",p.LeadPreferencesDTO)],g.prototype,"preference",void 0),o([(0,r.IsOptional)(),n("design:type",Array)],g.prototype,"deposits",void 0),t.LeadDTO=g;class u{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,d.plainToClass)(u,e)}toPlain(){return(0,d.classToPlain)(this)}}o([(0,r.IsString)(),(0,r.MinLength)(2),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"firstName",void 0),o([(0,r.IsString)(),(0,r.MinLength)(2),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"lastName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],u.prototype,"email",void 0),o([(0,r.IsString)(),(0,r.MinLength)(8),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"phone",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"alternatePhone",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"address",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"city",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"state",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"zipCode",void 0),o([(0,r.IsEnum)(s.LeadStatus),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"status",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"notes",void 0),o([(0,r.IsEnum)(a.LeadSource),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"leadSource",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],u.prototype,"isTestDriveScheduled",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],u.prototype,"testDriveDate",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],u.prototype,"isActive",void 0),o([(0,r.ValidateNested)(),(0,d.Type)((()=>p.LeadPreferencesDTO)),(0,r.IsOptional)(),n("design:type",p.LeadPreferencesDTO)],u.prototype,"preference",void 0),t.LeadUpdateDTO=u;class v{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,d.plainToClass)(v,e)}toPlain(){return(0,d.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],v.prototype,"firstName",void 0),o([(0,r.IsString)(),n("design:type",String)],v.prototype,"lastName",void 0),o([(0,r.IsString)(),(0,r.IsEmail)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"email",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],v.prototype,"phone",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"alternatePhone",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"address",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"city",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"state",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"country",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"zipCode",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"company",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"jobTitle",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"notes",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"source",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"status",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"assignedTo",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"leadType",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"leadStage",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],v.prototype,"rating",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],v.prototype,"isQualified",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],v.prototype,"lastContactDate",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"lastContactType",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],v.prototype,"totalInteractions",void 0),o([(0,r.ValidateNested)(),(0,d.Type)((()=>l.LeadPreferencesCreateDTO)),(0,r.IsOptional)(),n("design:type",l.LeadPreferencesCreateDTO)],v.prototype,"preference",void 0),t.LeadCreateDTO=v;class I extends c.TypedFilter{}o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],I.prototype,"id",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],I.prototype,"firstName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],I.prototype,"lastName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],I.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],I.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(s.LeadStatus,{each:!0}),n("design:type",Object)],I.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(a.LeadSource,{each:!0}),n("design:type",Object)],I.prototype,"leadSource",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],I.prototype,"isTestDriveScheduled",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],I.prototype,"isActive",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,d.Type)((()=>Date)),(0,r.ValidateNested)(),n("design:type",Date)],I.prototype,"lastContactedAt",void 0),o([(0,r.IsOptional)(),(0,d.Type)((()=>Date)),n("design:type",Date)],I.prototype,"fromDate",void 0),o([(0,r.IsOptional)(),(0,d.Type)((()=>Date)),n("design:type",Date)],I.prototype,"toDate",void 0),t.LeadFilter=I;class O extends c.TypedOptions{}t.LeadOptions=O;class f extends y.BaseGetDTO{static fromPlain(e){return(0,d.plainToClass)(this,e)}toPlain(){return(0,d.classToPlain)(this)}}o([(0,r.ValidateNested)(),(0,d.Type)((()=>I)),(0,r.IsOptional)(),n("design:type",I)],f.prototype,"filters",void 0),o([(0,r.ValidateNested)(),(0,d.Type)((()=>O)),(0,r.IsOptional)(),n("design:type",O)],f.prototype,"options",void 0),t.LeadGetDTO=f},7607:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},7717:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleCategory=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleCategory=n},7745:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TicketDocument=t.TicketMessage=t.Ticket=void 0,t.Ticket=class{},t.TicketMessage=class{},t.TicketDocument=class{}},7796:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateFaqDTO=t.MultilingualContent=void 0;const r=i(284),s=i(6325),a=i(4363);class p{}o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"en",void 0),o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"ar",void 0),o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"ru",void 0),o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"zh",void 0),t.MultilingualContent=p;class l{static fromPlain(e){const t=new l;return t.question={en:e.question.en,ar:e.question.ar,ru:e.question.ru,zh:e.question.zh},t.answer={en:e.answer.en,ar:e.answer.ar,ru:e.answer.ru,zh:e.answer.zh},t.category=e.category,t.isActive=e.isActive,t.order=e.order,t}}o([(0,s.IsNotEmpty)(),(0,s.ValidateNested)(),(0,r.Type)((()=>p)),n("design:type",p)],l.prototype,"question",void 0),o([(0,s.IsNotEmpty)(),(0,s.ValidateNested)(),(0,r.Type)((()=>p)),n("design:type",p)],l.prototype,"answer",void 0),o([(0,s.IsNotEmpty)(),(0,s.IsEnum)(a.FaqCategory),n("design:type",String)],l.prototype,"category",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],l.prototype,"isActive",void 0),o([(0,s.IsOptional)(),(0,s.IsNumber)(),n("design:type",Number)],l.prototype,"order",void 0),t.CreateFaqDTO=l},7844:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetSimilarVehiclesDTO=void 0;class i{static fromPlain(e){const t=new i;return t.vehicleId=e.vehicleId,t.priceRangePercentage=e.priceRange,t.limit=e.limit,t.options=e.options,t.makeId=e.makeId,t.modelId=e.modelId,t}validate(){const e=[];return this.vehicleId||e.push("Vehicle ID is required"),void 0!==this.priceRangePercentage&&(isNaN(this.priceRangePercentage)||this.priceRangePercentage<0||this.priceRangePercentage>100)&&e.push("Price range percentage must be a positive number between 0 and 100"),void 0!==this.mileageRange&&(isNaN(this.mileageRange)||this.mileageRange<0)&&e.push("Mileage range must be a positive number"),void 0!==this.yearRange&&(isNaN(this.yearRange)||this.yearRange<0)&&e.push("Year range must be a positive number"),void 0!==this.limit&&(isNaN(this.limit)||this.limit<1)&&e.push("Limit must be a positive number"),e}}t.GetSimilarVehiclesDTO=i},7899:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Deposit=void 0,t.Deposit=class{}},7900:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(8789),t),n(i(2421),t),n(i(3635),t),n(i(1354),t)},7955:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(1100),t)},8001:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.LeadPreferencesGetDTO=t.LeadPreferencesFilter=t.LeadPreferencesCreateDTO=t.LeadPreferencesUpdateDTO=t.LeadPreferencesDTO=void 0;const r=i(6325),s=i(284),a=i(2446),p=i(6894);class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],l.prototype,"id",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"budgetMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"budgetMax",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"preferredMake",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"preferredModel",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"preferredYearMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"preferredYearMax",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"mileageMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"mileageMax",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],l.prototype,"preferredColors",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],l.prototype,"preferredFeatures",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"additionalPreferences",void 0),t.LeadPreferencesDTO=l;class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"budgetMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"budgetMax",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"preferredMake",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"preferredModel",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"preferredYearMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"preferredYearMax",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"mileageMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"mileageMax",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],d.prototype,"preferredColors",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],d.prototype,"preferredFeatures",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"additionalPreferences",void 0),t.LeadPreferencesUpdateDTO=d;class c{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],c.prototype,"budgetMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],c.prototype,"budgetMax",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"preferredMake",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"preferredModel",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],c.prototype,"preferredYearMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],c.prototype,"preferredYearMax",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],c.prototype,"mileageMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],c.prototype,"mileageMax",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],c.prototype,"preferredColors",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],c.prototype,"preferredFeatures",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"additionalPreferences",void 0),t.LeadPreferencesCreateDTO=c;class y extends a.TypedFilter{}o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],y.prototype,"id",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.Range)),n("design:type",p.Range)],y.prototype,"budgetRange",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"make",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"model",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.Range)),n("design:type",p.Range)],y.prototype,"yearRange",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.Range)),n("design:type",p.Range)],y.prototype,"mileageRange",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],y.prototype,"colors",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],y.prototype,"features",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>Date)),n("design:type",Date)],y.prototype,"fromDate",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>Date)),n("design:type",Date)],y.prototype,"toDate",void 0),t.LeadPreferencesFilter=y;class g extends a.BaseGetDTO{}o([(0,r.ValidateNested)(),(0,s.Type)((()=>y)),(0,r.IsOptional)(),n("design:type",y)],g.prototype,"filters",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>a.TypedOptions)),(0,r.IsOptional)(),n("design:type",a.TypedOptions)],g.prototype,"options",void 0),t.LeadPreferencesGetDTO=g},8047:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleMake=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleMake=n},8156:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),i(4443),n(i(6894),t),n(i(8314),t),n(i(2446),t),n(i(5524),t)},8177:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleBodyType=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleBodyType=n},8235:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.LeadSource=void 0,(i=t.LeadSource||(t.LeadSource={})).WEBSITE="WEBSITE",i.TEST_DRIVE_REQUEST="TEST_DRIVE_REQUEST",i.SELL_CAR_REQUEST="SELL_CAR_REQUEST",i.EXCHANGE_CAR_FORM="EXCHANGE_CAR_FORM",i.SHOWROOM_VISIT="SHOWROOM_VISIT",i.FINANCE_ELIGIBILITY_REQUEST="FINANCE_ELIGIBILITY_REQUEST",i.BANK_VALUATION_REQUEST="BANK_VALUATION_REQUEST",i.FREE_VALUATION="FREE_VALUATION",i.PHONE="PHONE",i.WALK_IN="WALK_IN",i.REFERRAL="REFERRAL",i.SOCIAL_MEDIA="SOCIAL_MEDIA",i.OTHER="OTHER"},8314:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2831),t),n(i(1956),t),n(i(141),t),n(i(363),t),n(i(6618),t),n(i(3205),t),n(i(7392),t),n(i(8506),t),n(i(8567),t),n(i(3989),t),n(i(3083),t),n(i(9020),t),n(i(2293),t),n(i(1217),t),n(i(7452),t),n(i(8465),t),n(i(3411),t),n(i(1999),t)},8383:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BankValuationRequest=t.BankValuationRequestStatus=void 0,t.BankValuationRequestStatus={PENDING:"pending",PAID:"paid",PAYMENT_DECLINED:"payment_declined",REJECTED:"rejected",APPROVED:"approved"},t.BankValuationRequest=class{}},8465:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Bank=t.BankValuationRequestStatus=t.BankValuationResult=t.Color=t.BankValuationRequest=t.TicketMessage=t.TicketDocument=t.Ticket=t.Lead=t.Deposit=t.VehicleMetaData=t.VehicleMedia=t.VehicleModel=t.VehicleMake=t.VehicleFinance=t.Payment=t.VehicleBodyType=t.VehicleFeatureCategory=t.VehicleFeature=t.VehicleOrder=t.Vehicle=t.BaseModel=void 0;const o=i(4136);Object.defineProperty(t,"BaseModel",{enumerable:!0,get:function(){return o.BaseModel}});const n=i(5613);Object.defineProperty(t,"Vehicle",{enumerable:!0,get:function(){return n.Vehicle}});const r=i(7461);Object.defineProperty(t,"VehicleOrder",{enumerable:!0,get:function(){return r.VehicleOrder}});const s=i(4259);Object.defineProperty(t,"VehicleFeature",{enumerable:!0,get:function(){return s.VehicleFeature}});const a=i(523);Object.defineProperty(t,"VehicleFeatureCategory",{enumerable:!0,get:function(){return a.VehicleFeatureCategory}});const p=i(8177);Object.defineProperty(t,"VehicleBodyType",{enumerable:!0,get:function(){return p.VehicleBodyType}});const l=i(9347);Object.defineProperty(t,"Payment",{enumerable:!0,get:function(){return l.Payment}});const d=i(4019);Object.defineProperty(t,"VehicleFinance",{enumerable:!0,get:function(){return d.VehicleFinance}});const c=i(8047);Object.defineProperty(t,"VehicleMake",{enumerable:!0,get:function(){return c.VehicleMake}});const y=i(3008);Object.defineProperty(t,"VehicleModel",{enumerable:!0,get:function(){return y.VehicleModel}});const g=i(1841);Object.defineProperty(t,"VehicleMedia",{enumerable:!0,get:function(){return g.VehicleMedia}});const u=i(7280);Object.defineProperty(t,"VehicleMetaData",{enumerable:!0,get:function(){return u.VehicleMetaData}});const v=i(7899);Object.defineProperty(t,"Deposit",{enumerable:!0,get:function(){return v.Deposit}});const I=i(3323);Object.defineProperty(t,"Lead",{enumerable:!0,get:function(){return I.Lead}});const O=i(7745);Object.defineProperty(t,"Ticket",{enumerable:!0,get:function(){return O.Ticket}}),Object.defineProperty(t,"TicketDocument",{enumerable:!0,get:function(){return O.TicketDocument}}),Object.defineProperty(t,"TicketMessage",{enumerable:!0,get:function(){return O.TicketMessage}});const f=i(8383);Object.defineProperty(t,"BankValuationRequest",{enumerable:!0,get:function(){return f.BankValuationRequest}}),Object.defineProperty(t,"BankValuationRequestStatus",{enumerable:!0,get:function(){return f.BankValuationRequestStatus}});const h=i(7218);Object.defineProperty(t,"Color",{enumerable:!0,get:function(){return h.Color}});const S=i(1009);Object.defineProperty(t,"BankValuationResult",{enumerable:!0,get:function(){return S.BankValuationResult}});const m=i(6723);Object.defineProperty(t,"Bank",{enumerable:!0,get:function(){return m.Bank}})},8474:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(3448),t),n(i(8551),t),n(i(3358),t)},8506:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(7955),t)},8551:(e,t)=>{var i,o,n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleRegionSpec=t.VehicleWarrantyYearType=t.VehicleStatusType=t.VehicleMediaType=void 0,(r=t.VehicleMediaType||(t.VehicleMediaType={})).IMAGE="image",r.VIDEO="video",(n=t.VehicleStatusType||(t.VehicleStatusType={})).RESERVED="Reserved",n.DRAFT="Draft",n.PUBLISHED="Published",n.SELF_RESERVED="Self-Reserved",n.SOLD="Sold",n.UNPUBLISHED="Unpublished",(o=t.VehicleWarrantyYearType||(t.VehicleWarrantyYearType={})).NOT_AVAILABLE="Not Available",o.ONE_YEAR="1 Year",o.TWO_YEARS="2 Years",o.THREE_YEARS="3 Years",o.FOUR_YEARS="4 Years",o.FIVE_YEARS="5 Years",o.SIX_YEARS="6 Years",o.SEVEN_YEARS="7 Years",o.EIGHT_YEARS="8 Years",o.NINE_YEARS="9 Years",o.TEN_YEARS="10 Years",o.ELEVEN_YEARS="11 Years",o.TWELVE_YEARS="12 Years",o.THIRTEEN_YEARS="13 Years",o.FOURTEEN_YEARS="14 Years",o.FIFTEEN_YEARS="15 Years",(i=t.VehicleRegionSpec||(t.VehicleRegionSpec={})).GCC_SPECS="GCC specs",i.CHINESE_SPECS="Chinese specs",i.EUROPEAN_SPECS="European specs",i.JAPANESE_SPECS="Japanese specs",i.USA_SPECS="USA specs",i.AMERICAN_CANADIAN_SPECS="American/Canadian specs",i.IMPORTED_SPECS="Imported",i.OTHER_SPECS="Other specs"},8567:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(3370),t),n(i(9853),t)},8625:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(7796),t),n(i(3037),t),n(i(9008),t)},8789:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.booleanize=t.toPlainObject=t.sanitizeRegexString=t.getPlural=t.hasValue=t.isEmptyArray=t.isEmptyObject=t.isEmpty=t.makeArray=t.formatNumberWithCommas=t.safeParseNumber=t.currencyFormatter=t.removeKeyFromObject=t.timeAsSeconds=t.timeAsMilliseconds=t.formatValue=t.generateRandomBase64=t.sortBy=t.isFunction=t.isPlainObject=t.deepEqual=void 0,t.deepEqual=(e,i)=>{if(e===i)return!0;if("object"!=typeof e||null===e||"object"!=typeof i||null===i)return!1;const o=Object.keys(e),n=Object.keys(i);if(o.length!==n.length)return!1;for(const e of o)if(!n.includes(e))return!1;for(const n of o){const o=e[n],r=i[n];if(!(0,t.deepEqual)(o,r))return!1}return!0},t.isPlainObject=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),t.isFunction=e=>"function"==typeof e,t.sortBy=(e,t)=>{const i="function"==typeof t?t:(e,i)=>e[t]-i[t];return e.slice().sort(i)},t.generateRandomBase64=function(e){const t=new Uint8Array(e);return crypto.getRandomValues(t),btoa(String.fromCharCode(...Array.from(t)))},t.formatValue=e=>Number(e).toString().replace(/\B(?=(\d{3})+(?!\d))/g,","),t.timeAsMilliseconds=({minutes:e=0,hours:t=0,seconds:i=0})=>60*e*1e3+60*t*60*1e3+1e3*i,t.timeAsSeconds=({minutes:e=0,hours:t=0,seconds:i=0})=>60*e+60*t*60+i,t.removeKeyFromObject=function e(t,i){return Array.isArray(t)?t.map((t=>e(t,i))):"object"==typeof t&&null!==t?Object.keys(t).reduce(((o,n)=>(n!==i&&(o[n]=e(t[n],i)),o)),{}):t},t.currencyFormatter=({isDecimal:e,decimalPlaces:t=2})=>new Intl.NumberFormat("en-US",{style:"currency",currency:"AED",maximumFractionDigits:e?t:0}),t.safeParseNumber=e=>"number"==typeof e?e:"string"!=typeof e?0:Number(e.trim().replace(/,/g,""))||0,t.formatNumberWithCommas=e=>e.replace(/[^\d]/g,"").replace(/\B(?=(\d{3})+(?!\d))/g,","),t.makeArray=e=>Array.isArray(e)?e:[e],t.isEmpty=e=>null==e||""===e,t.isEmptyObject=e=>0===Object.keys(e).length&&e.constructor===Object,t.isEmptyArray=e=>Array.isArray(e)&&0===e.length,t.hasValue=e=>!(0,t.isEmpty)(e)&&!(0,t.isEmptyObject)(e)&&!(0,t.isEmptyArray)(e),t.getPlural=(e,t,i=null)=>1===e?`${e} ${t}`:i?`${e} ${i}`:`${e} ${t}s`,t.sanitizeRegexString=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),t.toPlainObject=e=>JSON.parse(JSON.stringify(e)),t.booleanize=e=>!![!0,"true","1"].includes(e)},8906:function(e,t,i){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.apiRequest=t.interceptors=void 0;const n=o(i(2110)),r=i(1395),s=i(7900),a=process.env.NEXT_PUBLIC_API_URL,p=(0,s.timeAsMilliseconds)({seconds:30});function l(e,t){const i=new Error("object"==typeof t&&t.message||"API Error");return i.status=e,i.data=t,i}t.interceptors=new class{constructor(){this.requestInterceptors=[],this.responseInterceptors=[],this.responseErrorInterceptors=[]}addRequestInterceptor(e){return this.requestInterceptors.push(e)-1}addResponseInterceptor(e){return this.responseInterceptors.push(e)-1}addResponseErrorInterceptor(e){return this.responseErrorInterceptors.push(e)-1}removeRequestInterceptor(e){e>=0&&this.requestInterceptors.splice(e,1)}removeResponseInterceptor(e){e>=0&&this.responseInterceptors.splice(e,1)}removeResponseErrorInterceptor(e){e>=0&&this.responseErrorInterceptors.splice(e,1)}clearRequestInterceptors(){this.requestInterceptors=[]}clearResponseInterceptors(){this.responseInterceptors=[]}clearResponseErrorInterceptors(){this.responseErrorInterceptors=[]}clearAllInterceptors(){this.clearRequestInterceptors(),this.clearResponseInterceptors(),this.clearResponseErrorInterceptors()}async applyRequestInterceptors(e){let t={...e};for(const e of this.requestInterceptors)t=await e(t);return t}async applyResponseInterceptors(e,t){let i=e;for(const e of this.responseInterceptors)i=await e(i,t);return i}async applyResponseErrorInterceptors(e,t){let i=Promise.reject(e);for(const e of this.responseErrorInterceptors)i=i.catch((i=>e(i,t)));return i}async retryRequest(e){const t={...e,options:{...e.options,isRetry:!0}};try{const e=await this.applyRequestInterceptors(t),i=await fetch(e.url,e),o=await this.applyResponseInterceptors(i,e),n=o.headers.get("content-type"),r=(null==n?void 0:n.includes("application/json"))?await o.json():await o.text();if(o.ok)return r;throw l(o.status,r)}catch(i){if(e.options.isRetry)throw i;return this.applyResponseErrorInterceptors(i,t)}}},t.apiRequest=async function(e,i={}){var o;let s;const d=i.timeout?new AbortController:void 0;i.timeout&&d&&(s=setTimeout((()=>{d.abort("Request timeout")}),i.timeout||p));const c=i.signal||(null==d?void 0:d.signal),y={Accept:"application/json","Content-Type":"application/json",...i.headers},g={method:null!==(o=i.method)&&void 0!==o?o:r.HttpMethods.GET,headers:y,...c&&{signal:c},...i,options:i};try{const i=await async function(e,i){const o=((e,t)=>{let i=`${a}${e}`;return t&&Object.keys(t).length>0&&(i+=`?${n.default.stringify(t,{allowDots:!0,arrayFormat:"brackets",allowEmptyArrays:!1,skipNulls:!0})}`),i})(e,i.options.query);let r=await t.interceptors.applyRequestInterceptors({...i,url:o});const s=r.url;try{const e=await fetch(s,r),i=await t.interceptors.applyResponseInterceptors(e,{...r,url:s}),o=i.headers.get("content-type"),n=(null==o?void 0:o.includes("application/json"))?await i.json():await i.text();if(i.ok)return n;throw l(i.status,n)}catch(e){return t.interceptors.applyResponseErrorInterceptors(e,{...r,url:s})}}(e,g);return i}finally{s&&clearTimeout(s)}}},9008:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FaqResponseDTO=t.FaqFetchDTO=t.FaqOptionsDTO=t.SortDTO=t.FaqFilterDTO=t.MultilingualContentFetch=void 0;const r=i(284),s=i(6325),a=i(4363);class p{toPlain(){return{en:this.en,ar:this.ar,ru:this.ru,zh:this.zh}}static fromPlain(e){const t=new p;return t.en=e.en,t.ar=e.ar,t.ru=e.ru,t.zh=e.zh,t}}o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"en",void 0),o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"ar",void 0),o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"ru",void 0),o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"zh",void 0),t.MultilingualContentFetch=p;class l{constructor(e){Object.assign(this,e)}validate(e=!0){const t=[];return e&&(this.category&&!Object.values(a.FaqCategory).includes(this.category)&&t.push(`Invalid category: ${this.category}. Valid categories are: ${Object.values(a.FaqCategory).join(", ")}`),this.searchLanguage&&!["en","ar","ru","zh"].includes(this.searchLanguage)&&t.push(`Invalid search language: ${this.searchLanguage}. Valid languages are: en, ar, ru, zh`)),t}static fromPlain(e){const t=new l;if(e){if(t.search=e.search,t.searchLanguage=e.searchLanguage,t.searchInAnswers=e.searchInAnswers,e.category){const i=e.category.value||e.category;Object.values(a.FaqCategory).includes(i)&&(t.category=i)}"string"==typeof e.isActive?t.isActive="true"===e.isActive.toLowerCase():t.isActive=e.isActive,"string"==typeof e.searchInAnswers?t.searchInAnswers="true"===e.searchInAnswers.toLowerCase():t.searchInAnswers=e.searchInAnswers}return t}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],l.prototype,"search",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],l.prototype,"searchLanguage",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],l.prototype,"searchInAnswers",void 0),o([(0,s.IsOptional)(),(0,s.IsEnum)(a.FaqCategory,{message:"Invalid category provided"}),n("design:type",String)],l.prototype,"category",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],l.prototype,"isActive",void 0),t.FaqFilterDTO=l;class d{}o([(0,s.IsString)(),n("design:type",String)],d.prototype,"field",void 0),o([(0,s.IsString)(),n("design:type",String)],d.prototype,"direction",void 0),t.SortDTO=d;class c{constructor(e){this.page=1,this.limit=10,Object.assign(this,e)}validate(e=!0){const t=[];return e&&(this.page<1&&t.push("Page must be greater than 0"),this.limit<1&&t.push("Limit must be greater than 0"),this.limit>100&&t.push("Limit cannot exceed 100"),this.sort&&(this.sort.field||t.push("Sort field is required when sort is provided"),this.sort.direction&&!["asc","desc"].includes(this.sort.direction.toLowerCase())&&t.push('Sort direction must be either "asc" or "desc"'))),t}static toPlain(e){return(0,r.instanceToPlain)(e)}static fromPlain(e){var t;const i=new c;return e&&(i.page=e.page?Number(e.page):1,i.limit=e.limit?Number(e.limit):10,e.sort&&(i.sort={field:e.sort.field,direction:null===(t=e.sort.direction)||void 0===t?void 0:t.toLowerCase()})),i}}o([(0,s.IsNumber)(),(0,s.Min)(1),n("design:type",Number)],c.prototype,"page",void 0),o([(0,r.Type)((()=>d)),(0,s.IsNumber)(),(0,s.Min)(1),(0,s.Max)(100),n("design:type",Number)],c.prototype,"limit",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>d)),n("design:type",Object)],c.prototype,"sort",void 0),t.FaqOptionsDTO=c;class y{static fromPlain(e){return(0,r.plainToClass)(y,{filter:e.filter,options:e.options})}constructor(e){Object.assign(this,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,r.Type)((()=>l)),(0,s.ValidateNested)(),(0,s.IsOptional)(),n("design:type",l)],y.prototype,"filter",void 0),o([(0,r.Type)((()=>c)),(0,s.ValidateNested)(),(0,s.IsOptional)(),n("design:type",c)],y.prototype,"options",void 0),t.FaqFetchDTO=y;class g{toPlain(){return{id:this.id,question:this.question.toPlain(),answer:this.answer.toPlain(),category:this.category,isActive:this.isActive,order:this.order,createdAt:this.createdAt,updatedAt:this.updatedAt}}static fromPlain(e){if(!e)throw new Error("Cannot create FaqResponseDTO from null or undefined");const t=new g;try{return t.id=e.id,t.question=p.fromPlain(e.question),t.answer=p.fromPlain(e.answer),t.category=e.category,t.isActive=Boolean(e.isActive),t.order=Number(e.order),t.createdAt=e.createdAt,t.updatedAt=e.updatedAt,t}catch(e){throw e instanceof Error?new Error(`Failed to create FaqResponseDTO: ${e.message}`):new Error("Failed to create FaqResponseDTO: Unknown error")}}validate(){const e=[];return this.id||e.push("ID is required"),this.question||e.push("Question is required"),this.answer||e.push("Answer is required"),this.category||e.push("Category is required"),void 0===this.isActive&&e.push("isActive is required"),void 0===this.order&&e.push("Order is required"),this.createdAt||e.push("CreatedAt is required"),this.updatedAt||e.push("UpdatedAt is required"),e}}o([(0,s.IsString)(),(0,s.IsNotEmpty)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,s.ValidateNested)(),(0,r.Type)((()=>p)),(0,s.IsNotEmpty)(),n("design:type",p)],g.prototype,"question",void 0),o([(0,s.ValidateNested)(),(0,r.Type)((()=>p)),(0,s.IsNotEmpty)(),n("design:type",p)],g.prototype,"answer",void 0),o([(0,s.IsString)(),(0,s.IsNotEmpty)(),(0,s.IsEnum)(a.FaqCategory),n("design:type",String)],g.prototype,"category",void 0),o([(0,s.IsBoolean)(),(0,s.IsNotEmpty)(),n("design:type",Boolean)],g.prototype,"isActive",void 0),o([(0,s.IsNumber)(),(0,s.IsNotEmpty)(),(0,s.Min)(0),n("design:type",Number)],g.prototype,"order",void 0),o([(0,s.IsString)(),(0,s.IsNotEmpty)(),n("design:type",String)],g.prototype,"createdAt",void 0),o([(0,s.IsString)(),(0,s.IsNotEmpty)(),n("design:type",String)],g.prototype,"updatedAt",void 0),t.FaqResponseDTO=g},9020:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(6053),t)},9058:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(1702),t),n(i(2151),t)},9347:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Payment=t.ProductType=t.PaymentStatus=void 0;const o=i(4136);var n,r;(r=t.PaymentStatus||(t.PaymentStatus={})).DRAFT="draft",r.PENDING="pending",r.COMPLETED="completed",r.FAILED="failed",r.REFUNDED="refunded",r.CANCELLED="cancelled",r.AUTHORIZED="authorized",(n=t.ProductType||(t.ProductType={})).VEHICLE_DEPOSIT="vehicle_deposit",n.VALUATION_CERTIFICATE="valuation_certificate";class s extends o.BaseModel{}t.Payment=s},9418:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TestDriveRequest=void 0;const o=i(2753);Object.defineProperty(t,"TestDriveRequest",{enumerable:!0,get:function(){return o.TestDriveRequest}})},9421:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleOrderUpdateDTO=t.VehicleOrderCreateDTO=t.VehicleOrderGetDTO=void 0;const r=i(6325),s=i(284);class a{static fromEntity(e){return(0,s.plainToClass)(a,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],a.prototype,"id",void 0),o([(0,r.IsString)(),n("design:type",String)],a.prototype,"userId",void 0),o([(0,r.IsString)(),n("design:type",String)],a.prototype,"vehicleId",void 0),o([(0,r.IsString)(),n("design:type",String)],a.prototype,"paymentId",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],a.prototype,"orderAmount",void 0),o([(0,r.IsString)(),n("design:type",String)],a.prototype,"reservationComment",void 0),o([(0,r.IsString)(),n("design:type",String)],a.prototype,"cancellationComment",void 0),o([(0,r.IsString)(),n("design:type",String)],a.prototype,"status",void 0),t.VehicleOrderGetDTO=a;class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}}o([(0,r.IsString)(),n("design:type",String)],p.prototype,"userId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"vehicleId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"paymentId",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"orderAmount",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"reservationComment",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"cancellationComment",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"status",void 0),t.VehicleOrderCreateDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"userId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"vehicleId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"paymentId",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"orderAmount",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"reservationComment",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"cancellationComment",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"status",void 0),t.VehicleOrderUpdateDTO=l},9445:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicMakeDTO=t.VehicleMakeUpdateDTO=t.VehicleMakeCreateDTO=t.VehicleMakeGetUniqueDTO=t.VehicleMakeGetDTO=void 0;const r=i(6325),s=i(284),a=i(1746);class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleMakeGetDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleMakeGetUniqueDTO=l;class d extends a.BaseCreateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),(0,r.IsDefined)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],d.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"image",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"description",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"metaTitle",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"metaDescription",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"metaKeywords",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],d.prototype,"promoted",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],d.prototype,"showInFooter",void 0),t.VehicleMakeCreateDTO=d;class c extends a.BaseUpdateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],c.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"image",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"description",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"metaTitle",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"metaDescription",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"metaKeywords",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],c.prototype,"promoted",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],c.prototype,"showInFooter",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],c.prototype,"isActive",void 0),t.VehicleMakeUpdateDTO=c;class y{validate(){if(!this.existingId&&!this.new)throw new Error("Either existingId or new details must be provided.")}static fromPlain(e){return(0,s.plainToClass)(y,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"existingId",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>d)),(0,r.IsOptional)(),n("design:type",d)],y.prototype,"new",void 0),t.DynamicMakeDTO=y},9537:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RolePermissionUpdateDTO=t.RoleUpdateDTO=t.RoleCreateDTO=t.RoleGetDTO=void 0;const r=i(6325),s=i(284);class a{static fromEntity(e){return(0,s.plainToClass)(a,e)}toPlain(){return(0,s.classToPlain)(this)}}t.RoleGetDTO=a;class p{constructor(){this.isActive=!0}validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}toPlain(){const e=(0,s.classToPlain)(this);return e.createdAt=new Date,e.updatedAt=new Date,e}}o([(0,r.IsString)(),n("design:type",String)],p.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"description",void 0),o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],p.prototype,"permissions",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],p.prototype,"permissionsMap",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],p.prototype,"isActive",void 0),t.RoleCreateDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}toPlain(){const e=(0,s.classToPlain)(this);return e.updatedAt=new Date,e}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"description",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],l.prototype,"permissions",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"permissionsMap",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],l.prototype,"isActive",void 0),t.RoleUpdateDTO=l;class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}toPlain(){const e=(0,s.classToPlain)(this);return e.updatedAt=new Date,e}}o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],d.prototype,"permissions",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],d.prototype,"permissionsMap",void 0),t.RolePermissionUpdateDTO=d},9655:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(3153),t),n(i(8906),t)},9761:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HttpMethods=void 0,t.HttpMethods={OPTIONS:"OPTIONS",GET:"GET",POST:"POST",PUT:"PUT",PATCH:"PATCH",DELETE:"DELETE",HEAD:"HEAD",CONNECT:"CONNECT",TRACE:"TRACE"}},9853:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(800),t),n(i(6768),t),n(i(1535),t)},9879:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AuthResponseDTO=t.OtpLoginDTO=t.LoginDTO=t.RegisterDTO=void 0;const r=i(284),s=i(6325);class a{static fromPlain(e){return(0,r.plainToClass)(a,e)}toPlain(){return(0,r.classToPlain)(this)}validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}}o([(0,s.IsEmail)(),(0,s.IsOptional)(),n("design:type",String)],a.prototype,"email",void 0),o([(0,s.IsString)(),(0,s.MinLength)(8),(0,s.IsOptional)(),n("design:type",String)],a.prototype,"password",void 0),o([(0,s.IsString)(),n("design:type",String)],a.prototype,"name",void 0),o([(0,s.IsString)(),(0,s.IsOptional)(),n("design:type",String)],a.prototype,"phone",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),(0,s.IsUUID)("4",{each:!0}),n("design:type",Array)],a.prototype,"savedFavoriteVehicles",void 0),t.RegisterDTO=a;class p{static fromPlain(e){return(0,r.plainToClass)(p,e)}toPlain(){return(0,r.classToPlain)(this)}validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}}o([(0,s.IsEmail)(),n("design:type",String)],p.prototype,"email",void 0),o([(0,s.IsString)(),n("design:type",String)],p.prototype,"password",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),(0,s.IsUUID)("4",{each:!0}),n("design:type",Array)],p.prototype,"savedFavoriteVehicles",void 0),t.LoginDTO=p;class l{static fromPlain(e){return(0,r.plainToClass)(l,e)}toPlain(){return(0,r.classToPlain)(this)}validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}}o([(0,s.IsString)(),(0,s.IsPhoneNumber)(),n("design:type",String)],l.prototype,"phone",void 0),o([(0,s.IsString)(),(0,s.MinLength)(6),n("design:type",String)],l.prototype,"otp",void 0),t.OtpLoginDTO=l,t.AuthResponseDTO=class{}},9935:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.SellCarFetchDTO=t.SellCarOptionsDTO=t.SellCarFilterDTO=t.SellCarRequestResponseDTO=t.SellCarRequestUpdateDTO=t.ExchangeCarRequestCreateDTO=t.SellCarRequestCreateDTO=t.SellCarRequestDTO=t.VehicleOption=t.TradeInOption=t.RequestType=void 0;const r=i(6325),s=i(284),a=i(284),p=i(2446),l=i(3205);var d,c,y;!function(e){e.SELL="sell",e.TRADE_IN="trade_in"}(d=t.RequestType||(t.RequestType={})),function(e){e.YES="yes",e.NO="no"}(c=t.TradeInOption||(t.TradeInOption={})),(y=t.VehicleOption||(t.VehicleOption={})).NEW="new",y.USED="used";class g{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(g,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],g.prototype,"phone",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"brand",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"brandName",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"model",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"modelName",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"modelVersion",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"modelVersionName",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"year",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"mileage",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"description",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"specification",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"specificationName",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],g.prototype,"tradeIn",void 0),o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],g.prototype,"images",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],g.prototype,"isDeleted",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],g.prototype,"createdAt",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],g.prototype,"updatedAt",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],g.prototype,"inspectionBookingDate",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["SUBMITTED","DRAFT"]),n("design:type",String)],g.prototype,"status",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],g.prototype,"marketing",void 0),t.SellCarRequestDTO=g;class u{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(u,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),n("design:type",String)],u.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],u.prototype,"phone",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"brand",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"brandName",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"model",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"modelName",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"modelVersion",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"modelVersionName",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"year",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"mileage",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],u.prototype,"expectedSellingPrice",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"description",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"emirates",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"specification",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"specificationName",void 0),o([(0,r.IsEnum)(d),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"requestType",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],u.prototype,"tradeIn",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"additionalDetails",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],u.prototype,"dealDriveEstimation",void 0),o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],u.prototype,"images",void 0),o([(0,r.ValidateNested)({each:!0}),(0,a.Type)((()=>l.VehicleMediaCreateDTO)),(0,r.IsOptional)(),n("design:type",Array)],u.prototype,"media",void 0),o([(0,r.IsOptional)(),(0,r.IsDateString)(),n("design:type",Date)],u.prototype,"inspectionBookingDate",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["SUBMITTED","DRAFT"]),n("design:type",String)],u.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],u.prototype,"sessionId",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],u.prototype,"marketing",void 0),t.SellCarRequestCreateDTO=u;class v{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(u,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),n("design:type",String)],v.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],v.prototype,"phone",void 0),o([(0,r.IsString)(),n("design:type",String)],v.prototype,"brand",void 0),o([(0,r.IsString)(),n("design:type",String)],v.prototype,"brandName",void 0),o([(0,r.IsString)(),n("design:type",String)],v.prototype,"model",void 0),o([(0,r.IsString)(),n("design:type",String)],v.prototype,"modelName",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"modelVersion",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"modelVersionName",void 0),o([(0,r.IsString)(),n("design:type",String)],v.prototype,"year",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],v.prototype,"mileage",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],v.prototype,"expectedSellingPrice",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"description",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"emirates",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"specification",void 0),o([(0,r.IsString)(),n("design:type",String)],v.prototype,"specificationName",void 0),o([(0,r.IsEnum)(d),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"requestType",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],v.prototype,"tradeIn",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"additionalDetails",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],v.prototype,"dealDriveEstimation",void 0),o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],v.prototype,"images",void 0),o([(0,r.ValidateNested)({each:!0}),(0,a.Type)((()=>l.VehicleMediaCreateDTO)),(0,r.IsOptional)(),n("design:type",Array)],v.prototype,"media",void 0),o([(0,r.IsOptional)(),(0,r.IsDateString)(),n("design:type",Date)],v.prototype,"bookingDate",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["SUBMITTED","DRAFT"]),n("design:type",String)],v.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],v.prototype,"sessionId",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],v.prototype,"marketing",void 0),t.ExchangeCarRequestCreateDTO=v;class I{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(I,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsPhoneNumber)(),n("design:type",String)],I.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsEmail)(),n("design:type",String)],I.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"city",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(d),n("design:type",String)],I.prototype,"requestType",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],I.prototype,"makeId",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],I.prototype,"modelId",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),(0,r.IsPositive)(),n("design:type",Number)],I.prototype,"year",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),(0,r.IsPositive)(),n("design:type",Number)],I.prototype,"mileage",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"specification",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],I.prototype,"images",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],I.prototype,"desiredVehicleId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"color",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"transmission",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"fuelType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"engineCapacity",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"description",void 0),o([(0,r.IsOptional)(),(0,r.IsDateString)(),n("design:type",Date)],I.prototype,"inspectionBookingDate",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["SUBMITTED","DRAFT"]),n("design:type",String)],I.prototype,"status",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],I.prototype,"marketing",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],I.prototype,"additionalDetails",void 0),t.SellCarRequestUpdateDTO=I;class O{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(O,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],O.prototype,"id",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],O.prototype,"refId",void 0),o([(0,r.IsString)(),(0,r.IsNotEmpty)(),n("design:type",String)],O.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],O.prototype,"phone",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"brand",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"brandName",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"model",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"modelName",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"modelVersion",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"modelVersionName",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"year",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],O.prototype,"mileage",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],O.prototype,"expectedSellingPrice",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"description",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"specification",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"specificationName",void 0),o([(0,r.IsEnum)(d),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"requestType",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],O.prototype,"tradeIn",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],O.prototype,"dealDriveEstimation",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"additionalDetails",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],O.prototype,"isDeleted",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],O.prototype,"isActive",void 0),o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],O.prototype,"images",void 0),o([(0,r.ValidateNested)({each:!0}),(0,a.Type)((()=>l.VehicleMediaCreateDTO)),(0,r.IsOptional)(),n("design:type",Array)],O.prototype,"media",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],O.prototype,"inspectionBookingDate",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",Object)],O.prototype,"createdById",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",Object)],O.prototype,"updatedById",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",Object)],O.prototype,"deletedById",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["SUBMITTED","DRAFT"]),n("design:type",String)],O.prototype,"status",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],O.prototype,"marketing",void 0),t.SellCarRequestResponseDTO=O;class f{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(f,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),n("design:type",String)],f.prototype,"search",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],f.prototype,"leadId",void 0),o([(0,r.IsOptional)(),n("design:type",String)],f.prototype,"additionalDetails",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],f.prototype,"isActive",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",p.DateFilter)],f.prototype,"createdAt",void 0),o([(0,r.IsEnum)(c),(0,r.IsOptional)(),n("design:type",String)],f.prototype,"tradeIn",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["SUBMITTED","DRAFT"]),n("design:type",String)],f.prototype,"status",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],f.prototype,"marketing",void 0),t.SellCarFilterDTO=f;class h extends p.PaginationOptions{static fromPlain(e){return(0,s.plainToClass)(h,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),n("design:type",Object)],h.prototype,"sort",void 0),t.SellCarOptionsDTO=h;class S{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(S,e)}toPlain(){return(0,s.classToPlain)(this)}}t.SellCarFetchDTO=S}},t={},i=function i(o){var n=t[o];if(void 0!==n)return n.exports;var r=t[o]={exports:{}};return e[o].call(r.exports,r,r.exports,i),r.exports}(8156);module.exports=i})();
1
+ (()=>{"use strict";var e={25:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},46:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.TicketGetDTO=t.TicketDto=t.UpdateTicketDto=t.CreateTicketDocumentDto=t.CreateTicketMessageDto=t.CreateTicketDto=void 0;const r=i(6325),s=i(284),a=i(7060),p=i(8465);class l{}o([(0,r.IsUUID)(),n("design:type",String)],l.prototype,"userId",void 0),o([(0,r.IsEnum)(a.TicketRequestType),n("design:type",String)],l.prototype,"requestType",void 0),o([(0,r.IsString)(),n("design:type",String)],l.prototype,"message",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],l.prototype,"assignedSalesAgentId",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],l.prototype,"agentName",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],l.prototype,"agentPhoneNumber",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"initialDocument",void 0),t.CreateTicketDto=l;class d{}o([(0,r.IsUUID)(),n("design:type",String)],d.prototype,"ticketId",void 0),o([(0,r.IsUUID)(),n("design:type",String)],d.prototype,"senderId",void 0),o([(0,r.IsString)(),n("design:type",String)],d.prototype,"message",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],d.prototype,"isFromAgent",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],d.prototype,"attachedDocument",void 0),t.CreateTicketMessageDto=d;class c{}o([(0,r.IsUUID)(),n("design:type",String)],c.prototype,"ticketId",void 0),o([(0,r.IsUUID)(),n("design:type",String)],c.prototype,"uploaderId",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"messageId",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],c.prototype,"document",void 0),t.CreateTicketDocumentDto=c;class y{}o([(0,r.IsEnum)(a.TicketRequestType),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"requestType",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"message",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"assignedSalesAgentId",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"agentName",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"agentPhoneNumber",void 0),o([(0,r.IsEnum)(a.TicketStatusType),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),n("design:type",Array)],y.prototype,"documents",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,s.Type)((()=>p.TicketMessage)),n("design:type",Array)],y.prototype,"messages",void 0),t.UpdateTicketDto=y;class g{}o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"userId",void 0),o([(0,r.IsEnum)(a.TicketRequestType),n("design:type",String)],g.prototype,"requestType",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"message",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"assignedSalesAgentId",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],g.prototype,"assignedSalesAgent",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],g.prototype,"user",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"agentName",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"agentPhoneNumber",void 0),o([(0,r.IsEnum)(a.TicketStatusType),n("design:type",String)],g.prototype,"status",void 0),o([(0,s.Type)((()=>Date)),(0,r.IsDate)(),n("design:type",Date)],g.prototype,"createdAt",void 0),o([(0,s.Type)((()=>Date)),(0,r.IsDate)(),n("design:type",Date)],g.prototype,"updatedAt",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>p.TicketMessage)),n("design:type",Array)],g.prototype,"messages",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>p.TicketDocument)),n("design:type",Array)],g.prototype,"documents",void 0),t.TicketDto=g;class u{constructor(){this.id="",this.refId=0,this.createdById=null,this.updatedById=null,this.deletedById=null,this.isDeleted=!1,this.isActive=!0,this.createdAt=(new Date).toISOString(),this.updatedAt=(new Date).toISOString(),this.userId="",this.requestType=a.TicketRequestType.CAR_VIEWING,this.message="",this.assignedSalesAgentId,this.agentName="",this.agentPhoneNumber="",this.status=a.TicketStatusType.OPEN}}o([(0,r.IsUUID)(),n("design:type",String)],u.prototype,"id",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"refId",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",Object)],u.prototype,"createdById",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",Object)],u.prototype,"updatedById",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",Object)],u.prototype,"deletedById",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],u.prototype,"isDeleted",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],u.prototype,"isActive",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"createdAt",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"updatedAt",void 0),o([(0,r.IsUUID)(),n("design:type",String)],u.prototype,"userId",void 0),o([(0,r.IsEnum)(a.TicketRequestType),n("design:type",String)],u.prototype,"requestType",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"message",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"assignedSalesAgentId",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"agentName",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"agentPhoneNumber",void 0),o([(0,r.IsEnum)(a.TicketStatusType),n("design:type",String)],u.prototype,"status",void 0),t.TicketGetDTO=u},141:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(9058),t)},167:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicVehicleCategoryDTO=t.VehicleCategoryUpdateDTO=t.VehicleCategoryCreateDTO=t.VehicleCategoryGetUniqueDTO=t.VehicleCategoryGetDTO=void 0;const r=i(284),s=i(6325),a=i(1746);class p{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(p,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleCategoryGetDTO=p;class l{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(l,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleCategoryGetUniqueDTO=l;class d extends a.BaseCreateDTO{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(d,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsString)(),(0,s.IsNotEmpty)(),(0,s.IsDefined)(),(0,s.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],d.prototype,"name",void 0),t.VehicleCategoryCreateDTO=d;class c extends a.BaseUpdateDTO{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(c,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsString)(),(0,s.IsOptional)(),(0,s.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],c.prototype,"name",void 0),t.VehicleCategoryUpdateDTO=c;class y{constructor(e){this.existingId=e.existingId,this.new=e.new}validate(){if(!this.existingId&&!this.new)throw new Error("Either existingId or new details must be provided.")}static fromPlain(e){return(0,r.plainToClass)(y,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsString)(),(0,s.IsOptional)(),n("design:type",String)],y.prototype,"existingId",void 0),o([(0,s.ValidateNested)(),(0,r.Type)((()=>d)),(0,s.IsOptional)(),n("design:type",d)],y.prototype,"new",void 0),t.DynamicVehicleCategoryDTO=y},284:e=>{e.exports=require("class-transformer")},363:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(1456),t)},435:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.BlogUpdateDTO=t.BlogCreateDTO=t.BlogGetDTO=t.BlogGetDTOOptions=t.BlogFilter=void 0;const r=i(284),s=i(6325),a=i(2490);class p{}o([(0,s.IsString)(),n("design:type",String)],p.prototype,"question",void 0),o([(0,s.IsString)(),n("design:type",String)],p.prototype,"answer",void 0);class l extends a.TypedFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(l,e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],l.prototype,"title",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],l.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],l.prototype,"status",void 0),o([(0,s.IsOptional)(),n("design:type",a.DateFilter)],l.prototype,"date",void 0),t.BlogFilter=l,t.BlogGetDTOOptions=class{};class d{static fromEntity(e){return(0,r.plainToClass)(d,e)}toPlain(){return(0,r.classToPlain)(this)}validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(d,e)}}t.BlogGetDTO=d;class c{constructor(){this.status="draft"}validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(c,e)}}o([(0,s.IsString)(),n("design:type",String)],c.prototype,"title",void 0),o([(0,s.IsString)(),n("design:type",String)],c.prototype,"description",void 0),o([(0,s.IsString)(),n("design:type",String)],c.prototype,"content",void 0),o([(0,s.IsDateString)(),n("design:type",String)],c.prototype,"date",void 0),o([(0,s.IsString)(),n("design:type",String)],c.prototype,"imageLink",void 0),o([(0,s.IsString)(),n("design:type",String)],c.prototype,"imageAlt",void 0),o([(0,s.IsString)(),n("design:type",String)],c.prototype,"metaDescription",void 0),o([(0,s.IsString)(),n("design:type",String)],c.prototype,"metaKeywords",void 0),o([(0,s.IsString)(),n("design:type",String)],c.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],c.prototype,"status",void 0),o([(0,s.IsOptional)(),(0,s.IsArray)(),(0,s.ValidateNested)({each:!0}),(0,r.Type)((()=>p)),n("design:type",Array)],c.prototype,"faq",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],c.prototype,"audioUrl",void 0),t.BlogCreateDTO=c;class y{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(y,e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"title",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"description",void 0),o([(0,s.IsString)(),n("design:type",String)],y.prototype,"content",void 0),o([(0,s.IsOptional)(),(0,s.IsDateString)(),n("design:type",String)],y.prototype,"date",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"imageLink",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"imageAlt",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"metaDescription",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"metaKeywords",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"status",void 0),o([(0,s.IsOptional)(),(0,s.IsArray)(),(0,s.ValidateNested)({each:!0}),(0,r.Type)((()=>p)),n("design:type",Array)],y.prototype,"faq",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"audioUrl",void 0),t.BlogUpdateDTO=y},523:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleFeatureCategory=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleFeatureCategory=n},643:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DepositGetDTO=t.DepositOptions=t.DepositFilter=t.DepositUpdateDTO=t.DepositCreateDTO=t.DepositDTO=t.PaymentOption=t.DepositStatus=void 0;const r=i(6325),s=i(284),a=i(2446),p=i(7594),l=i(8465);var d,c;!function(e){e.PENDING="pending",e.COMPLETED="completed",e.FAILED="failed"}(d=t.DepositStatus||(t.DepositStatus={})),function(e){e.CASH="cash",e.BANK_TYPE_A="bank-a",e.BANK_TYPE_B="bank-b"}(c=t.PaymentOption||(t.PaymentOption={}));class y{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(y,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],y.prototype,"id",void 0),o([(0,r.IsString)(),n("design:type",String)],y.prototype,"stripePaymentIntentId",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],y.prototype,"amount",void 0),o([(0,r.IsString)(),n("design:type",String)],y.prototype,"currency",void 0),o([(0,r.IsEnum)(d),n("design:type",String)],y.prototype,"status",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],y.prototype,"isRefundable",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],y.prototype,"paymentOption",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],y.prototype,"isRefunded",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.LeadDTO)),n("design:type",p.LeadDTO)],y.prototype,"lead",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>l.Vehicle)),n("design:type",l.Vehicle)],y.prototype,"vehicle",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],y.prototype,"isDeleted",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],y.prototype,"createdAt",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],y.prototype,"updatedAt",void 0),t.DepositDTO=y;class g{constructor(){this.currency="aed",this.status=d.PENDING,this.isRefundable=!1,this.isRefunded=!1}validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(g,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],g.prototype,"stripePaymentIntentId",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"amount",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],g.prototype,"paymentOption",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"currency",void 0),o([(0,r.IsEnum)(d),n("design:type",String)],g.prototype,"status",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],g.prototype,"isRefundable",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],g.prototype,"isRefunded",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],g.prototype,"leadId",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],g.prototype,"userId",void 0),o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"vehicleId",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],g.prototype,"marketing",void 0),t.DepositCreateDTO=g;class u{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(u,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsEnum)(d),n("design:type",String)],u.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],u.prototype,"isRefundable",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],u.prototype,"isRefunded",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(c),n("design:type",String)],u.prototype,"paymentOption",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],u.prototype,"isDeleted",void 0),t.DepositUpdateDTO=u;class v extends a.TypedFilter{}o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"id",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"stripePaymentIntentId",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)({},{each:!0}),n("design:type",Object)],v.prototype,"amount",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"currency",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(d,{each:!0}),n("design:type",Object)],v.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],v.prototype,"isRefundable",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],v.prototype,"isRefunded",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"leadId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"userId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"vehicleId",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],v.prototype,"isDeleted",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],v.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>Date)),n("design:type",Date)],v.prototype,"fromDate",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>Date)),n("design:type",Date)],v.prototype,"toDate",void 0),t.DepositFilter=v;class I extends a.TypedOptions{static fromPlain(e){return(0,s.plainToClass)(I,e)}toPlain(){return(0,s.classToPlain)(this)}}t.DepositOptions=I;class O extends a.BaseGetDTO{static fromPlain(e){return(0,s.plainToClass)(this,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.ValidateNested)(),(0,s.Type)((()=>v)),(0,r.IsOptional)(),n("design:type",v)],O.prototype,"filters",void 0),o([(0,s.Type)((()=>I)),(0,r.IsOptional)(),n("design:type",I)],O.prototype,"options",void 0),t.DepositGetDTO=O},800:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.FinanceType=void 0,(i=t.FinanceType||(t.FinanceType={})).READY_CASH="READY_CASH",i.BANK_FINANCE_WITH_RESERVATION="BANK_FINANCE_WITH_RESERVATION",i.BANK_FINANCE_ELIGIBILITY="BANK_FINANCE_ELIGIBILITY"},1009:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BankValuationResult=t.BankValuationAction=void 0,t.BankValuationAction={APPROVAL:"approval",REJECTION:"rejection",ISSUED_FOR_FREE:"issued_for_free",REISSUED_CERTIFICATE:"reissued_certificate",EDITED:"edited"},t.BankValuationResult=class{}},1100:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FinanceEligibilityFetchDTO=t.FinanceEligibilityOptionsDTO=t.FinanceEligibilityFilterDTO=t.FinanceEligibilityRequestResponseDTO=t.FinanceEligibilityRequestUpdateDTO=t.FinanceEligibilityRequestCreateDTO=t.Status=t.EligibilityStatus=t.YesNo=t.EmployeeCount=t.SalaryType=void 0;const r=i(6325),s=i(284),a=i(2446),p=i(8465);var l,d,c,y,g;!function(e){e.WPS="wps",e.BANK_TRANSFER="bank_transfer",e.CASH="cash",e.OTHER="other"}(l=t.SalaryType||(t.SalaryType={})),function(e){e.LESS_THAN_10="less_than_10",e.BETWEEN_10_50="between_10_50",e.MORE_THAN_50="more_than_50"}(d=t.EmployeeCount||(t.EmployeeCount={})),function(e){e.YES="yes",e.NO="no"}(c=t.YesNo||(t.YesNo={})),function(e){e[e.ELIGIBLE=1]="ELIGIBLE",e[e.NOT_ELIGIBLE=0]="NOT_ELIGIBLE"}(y=t.EligibilityStatus||(t.EligibilityStatus={})),function(e){e.PENDING="pending",e.APPROVED="approved",e.REJECTED="rejected"}(g=t.Status||(t.Status={}));class u{static fromPlain(e){return(0,s.plainToClass)(u,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"vehicleId",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"makeId",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"modelId",void 0),o([(0,r.IsString)(),(0,r.MinLength)(2),(0,r.MaxLength)(50),n("design:type",String)],u.prototype,"fullName",void 0),o([(0,r.IsEmail)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"email",void 0),o([(0,r.IsString)(),(0,r.Matches)(/^[0-9+\s-]{8,}$/),n("design:type",String)],u.prototype,"contactNumber",void 0),o([(0,r.IsNumber)(),(0,r.IsPositive)(),n("design:type",Number)],u.prototype,"currentSalary",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],u.prototype,"existingLoans",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"totalMonthlyInstallments",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],u.prototype,"hasCreditScore",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"totalCreditLimit",void 0),o([(0,r.IsEnum)(l),n("design:type",String)],u.prototype,"salaryType",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],u.prototype,"previousDisputes",void 0),o([(0,r.IsEnum)(d),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"employeeCount",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],u.prototype,"isCompanyOlderThanOneYear",void 0),o([(0,r.IsEnum)(c),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"hasLandline",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Array)],u.prototype,"documents",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],u.prototype,"marketing",void 0),t.FinanceEligibilityRequestCreateDTO=u;class v{static fromPlain(e){return(0,s.plainToClass)(v,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],v.prototype,"vehicleId",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],v.prototype,"makeId",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],v.prototype,"modelId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.MinLength)(2),(0,r.MaxLength)(50),n("design:type",String)],v.prototype,"fullName",void 0),o([(0,r.IsOptional)(),(0,r.IsEmail)(),n("design:type",String)],v.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.Matches)(/^[0-9+\s-]{8,}$/),n("design:type",String)],v.prototype,"contactNumber",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),(0,r.IsPositive)(),n("design:type",Number)],v.prototype,"currentSalary",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(c),n("design:type",String)],v.prototype,"existingLoans",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],v.prototype,"totalMonthlyInstallments",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(c),n("design:type",String)],v.prototype,"hasCreditScore",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],v.prototype,"totalCreditLimit",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(l),n("design:type",String)],v.prototype,"salaryType",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(c),n("design:type",String)],v.prototype,"previousDisputes",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(d),n("design:type",String)],v.prototype,"employeeCount",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],v.prototype,"isCompanyOlderThanOneYear",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(c),n("design:type",String)],v.prototype,"hasLandline",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(y),n("design:type",Number)],v.prototype,"eligibility",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Array)],v.prototype,"documents",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["pending","approved","rejected"]),n("design:type",String)],v.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],v.prototype,"rejectionReason",void 0),t.FinanceEligibilityRequestUpdateDTO=v;class I{static fromPlain(e){return(0,s.plainToClass)(I,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],I.prototype,"id",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],I.prototype,"vehicleId",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],I.prototype,"makeId",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],I.prototype,"modelId",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],I.prototype,"make",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],I.prototype,"model",void 0),o([(0,r.IsString)(),n("design:type",String)],I.prototype,"fullName",void 0),o([(0,r.IsOptional)(),(0,r.IsEmail)(),n("design:type",String)],I.prototype,"email",void 0),o([(0,r.IsString)(),n("design:type",String)],I.prototype,"contactNumber",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],I.prototype,"currentSalary",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],I.prototype,"existingLoans",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],I.prototype,"totalMonthlyInstallments",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],I.prototype,"hasCreditScore",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],I.prototype,"totalCreditLimit",void 0),o([(0,r.IsEnum)(l),n("design:type",String)],I.prototype,"salaryType",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],I.prototype,"previousDisputes",void 0),o([(0,r.IsEnum)(d),n("design:type",String)],I.prototype,"employeeCount",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],I.prototype,"isCompanyOlderThanOneYear",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],I.prototype,"hasLandline",void 0),o([(0,r.IsString)({each:!0}),n("design:type",Array)],I.prototype,"documents",void 0),o([(0,r.IsEnum)(y),n("design:type",Number)],I.prototype,"eligibility",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],I.prototype,"user",void 0),o([(0,r.IsOptional)(),n("design:type",p.Lead)],I.prototype,"lead",void 0),o([(0,r.IsEnum)(g),n("design:type",String)],I.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"rejectionReason",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],I.prototype,"marketing",void 0),t.FinanceEligibilityRequestResponseDTO=I;class O{static fromPlain(e){return(0,s.plainToClass)(O,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsOptional)(),n("design:type",String)],O.prototype,"search",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"vehicleId",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"leadId",void 0),o([(0,r.IsEnum)(y),(0,r.IsOptional)(),n("design:type",Number)],O.prototype,"eligibility",void 0),o([(0,r.IsEnum)(l),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"salaryType",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],O.prototype,"isActive",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",a.DateFilter)],O.prototype,"createdAt",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],O.prototype,"marketing",void 0),t.FinanceEligibilityFilterDTO=O;class f extends a.PaginationOptions{static fromPlain(e){return(0,s.plainToClass)(O,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsOptional)(),n("design:type",Object)],f.prototype,"sort",void 0),t.FinanceEligibilityOptionsDTO=f;class h{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(h,e)}toPlain(){return(0,s.instanceToPlain)(this)}}t.FinanceEligibilityFetchDTO=h},1179:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleFinanceUpdateDTO=t.VehicleFinanceCreateDTO=t.VehicleFinanceGetDTO=void 0;const r=i(6325),s=i(284);class a{static fromEntity(e){return(0,s.plainToClass)(a,e)}toPlain(){return(0,s.instanceToPlain)(this)}}t.VehicleFinanceGetDTO=a;class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],p.prototype,"vehicleId",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"price",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],p.prototype,"droppedPrice",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"interestPercentage",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"monthlyInstallment",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],p.prototype,"droppedMonthlyInstallment",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"financingYear",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"interestPerYear",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],p.prototype,"droppedInterestPerYear",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"totalReductionAmount",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"reductionDuration",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"durationShow",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"vehiclePriceType",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"reductionInterval",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"minimumBidAmount",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"initialDepositAmount",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"vatInclusive",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],p.prototype,"installmentAvailable",void 0),t.VehicleFinanceCreateDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"vehicleId",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"price",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"droppedPrice",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"interestPercentage",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"monthlyInstallment",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"droppedMonthlyInstallment",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"financingYear",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"interestPerYear",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"droppedInterestPerYear",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"vehiclePriceType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"vatInclusive",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],l.prototype,"installmentAvailable",void 0),t.VehicleFinanceUpdateDTO=l},1217:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(1558),t)},1354:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.formatCurrency=void 0,t.formatCurrency=(e,t={})=>{if(null==e)return"N/A";const{currency:i="AED",minimumFractionDigits:o=0,maximumFractionDigits:n=0}=t;try{return`AED ${new Intl.NumberFormat("en-US",{minimumFractionDigits:o,maximumFractionDigits:n,useGrouping:!0}).format(e)}`}catch(t){return console.warn("Currency formatting failed, using basic formatting",t),`AED ${e.toLocaleString("en-US",{minimumFractionDigits:o,maximumFractionDigits:n})}`}}},1395:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(9761),t),n(i(2587),t),n(i(7607),t)},1456:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(3199),t),n(i(1769),t)},1492:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.UserOptionsDTO=t.UserFilterDTO=t.UserFetchDTO=t.UserUpdateDTO=t.UserCreateDTO=t.UserGetDTO=void 0;const r=i(6325),s=i(284),a=i(2490);class p{static fromEntity(e){return(0,s.plainToClass)(p,e)}toPlain(){return(0,s.classToPlain)(this)}}t.UserGetDTO=p;class l{constructor(){this.isActive=!0}validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsEmail)(),n("design:type",String)],l.prototype,"email",void 0),o([(0,r.IsString)(),n("design:type",String)],l.prototype,"password",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"photo",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),n("design:type",Array)],l.prototype,"roleIds",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],l.prototype,"isActive",void 0),t.UserCreateDTO=l;class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"password",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"photo",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),n("design:type",Array)],d.prototype,"roleIds",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],d.prototype,"isActive",void 0),t.UserUpdateDTO=d;class c{static fromPlain(e){return(0,s.plainToClass)(c,e)}toPlain(){return(0,s.classToPlain)(this)}}t.UserFetchDTO=c;class y{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(y,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],y.prototype,"id",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],y.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],y.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],y.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],y.prototype,"isPhoneNumberVerified",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),n("design:type",Array)],y.prototype,"roles",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],y.prototype,"isActive",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],y.prototype,"hasSpecialRoles",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],y.prototype,"fromDate",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],y.prototype,"toDate",void 0),t.UserFilterDTO=y;class g extends a.PaginationOptions{static fromPlain(e){return(0,s.plainToClass)(g,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],g.prototype,"withDocuments",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],g.prototype,"withDeposits",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],g.prototype,"withFavoriteVehicles",void 0),t.UserOptionsDTO=g},1535:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleReservationType=void 0,(i=t.VehicleReservationType||(t.VehicleReservationType={})).RESERVED="RESERVED",i.PARTIAL_REQUEST="PARTIAL_REQUEST"},1558:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(8625),t),n(i(4363),t)},1599:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(3340),t)},1702:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.SalesAgentUpdateDTO=t.SalesAgentCreateDTO=t.SalesAgentResponseDTO=t.SalesAgentGetDTO=t.SalesAgentOptionsDTO=t.SalesAgentFilterDTO=t.Languages=t.TeamCategory=t.Designation=void 0;const r=i(6325),s=i(284),a=i(3989);var p,l,d;!function(e){e.SALES_MANAGER="sales-manager",e.SALES_EXECUTIVE="sales-executive",e.CO_FOUNDER="co-founder",e.CHIEF_SALES_OFFICER="chief sales officer",e.CHIEF_PURCHASING_OFFICER="Chief Purchasing Officer",e.PURCHASE_MANAGER="Purchase Manager",e.PURCHASER="Purchaser",e.FINANCE_MANAGER="Finance Manager",e.HEAD_OF_ACCOUNTS="Head of Accounts",e.CHIEF_MARKETING_OFFICER="Chief Marketing Officer",e.MARKETING_MANAGER="Marketing Manager",e.AFTERCARE_DIRECTOR="Aftercare Director",e.SALES_COORDINATOR="sales-coordinator",e.AFTERCARE="aftercare",e.DIRECTOR_OF_TECHNOLOGY="Director of Technology",e.PURCHASE_EXECUTIVE="Purchase Executive",e.RELATIONSHIP_MANAGER="Relationship Manager",e.SALES_CONTROLLER="Sales Controller",e.LOGISTICS_MANAGER="Logistics Manager"}(p=t.Designation||(t.Designation={})),function(e){e.SALES="sales",e.MANAGEMENT="management",e.PURCHASES="purchases",e.SALES_COORDINATOR="sales-coordinator",e.AFTERCARE="aftercare"}(l=t.TeamCategory||(t.TeamCategory={})),function(e){e.ARABIC="Arabic",e.AFRIKAANS="Afrikaans",e.PERSIAN="Persian",e.TURKISH="Turkish",e.HEBREW="Hebrew",e.HINDI="Hindi",e.URDU="Urdu",e.BENGALI="Bengali",e.PUNJABI="Punjabi",e.MALAYALAM="Malayalam",e.TAMIL="Tamil",e.TELUGU="Telugu",e.SINHALESE="Sinhalese",e.MANDARIN="Mandarin",e.CANTONESE="Cantonese",e.KOREAN="Korean",e.JAPANESE="Japanese",e.VIETNAMESE="Vietnamese",e.THAI="Thai",e.TAGALOG="Tagalog",e.FILIPINO="Filipino",e.INDONESIAN="Indonesian",e.MALAY="Malay",e.ENGLISH="English",e.FRENCH="French",e.GERMAN="German",e.SPANISH="Spanish",e.ITALIAN="Italian",e.RUSSIAN="Russian",e.PORTUGUESE="Portuguese",e.SWAHILI="Swahili",e.AMHARIC="Amharic",e.SOMALI="Somali",e.ROMANIAN="Romanian",e.SWEDISH="Swedish"}(d=t.Languages||(t.Languages={}));class c{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsEmail)(),n("design:type",String)],c.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],c.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(l),n("design:type",String)],c.prototype,"teamCategory",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(p),n("design:type",String)],c.prototype,"designation",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],c.prototype,"sortOrder",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsEnum)(d,{each:!0}),n("design:type",Array)],c.prototype,"languages",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],c.prototype,"isActive",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],c.prototype,"createdAtStart",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],c.prototype,"createdAtEnd",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],c.prototype,"lastLoginStart",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],c.prototype,"lastLoginEnd",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"nationality",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"previousWorkplace",void 0),t.SalesAgentFilterDTO=c;class y{constructor(){this.page=1,this.limit=10,this.sortBy="createdAt",this.sortOrder="DESC",this.includeInactive=!1}validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(y,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],y.prototype,"page",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],y.prototype,"limit",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"sortBy",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"sortOrder",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],y.prototype,"includeInactive",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"searchQuery",void 0),t.SalesAgentOptionsDTO=y;class g{static fromPlain(e){const t=new g;return e.filter&&(t.filter=c.fromPlain(e.filter)),e.options&&(t.options=y.fromPlain(e.options)),t}static toPlain(e){var t,i;return{filter:null===(t=e.filter)||void 0===t?void 0:t.toPlain(),options:null===(i=e.options)||void 0===i?void 0:i.toPlain()}}toPlain(){var e,t;return{filter:null===(e=this.filter)||void 0===e?void 0:e.toPlain(),options:null===(t=this.options)||void 0===t?void 0:t.toPlain()}}}o([(0,r.IsString)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"refId",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],g.prototype,"phone",void 0),o([(0,r.IsEmail)(),n("design:type",String)],g.prototype,"email",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"photo",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"agentShortIntro",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"agentIntro",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],g.prototype,"sortOrder",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"bioVideoUrl",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"status",void 0),o([(0,r.IsEnum)(l),n("design:type",String)],g.prototype,"teamCategory",void 0),o([(0,r.IsEnum)(p),n("design:type",String)],g.prototype,"designation",void 0),o([(0,r.IsArray)(),(0,r.IsEnum)(d,{each:!0}),n("design:type",Array)],g.prototype,"languages",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>c)),n("design:type",c)],g.prototype,"filter",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>y)),n("design:type",y)],g.prototype,"options",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"nationality",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"previousWorkplace",void 0),t.SalesAgentGetDTO=g;class u{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(u,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],u.prototype,"id",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"refId",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],u.prototype,"phone",void 0),o([(0,r.IsEmail)(),n("design:type",String)],u.prototype,"email",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"photo",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"agentShortIntro",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"agentIntro",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"bioVideoUrl",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"status",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],u.prototype,"sortOrder",void 0),o([(0,r.IsEnum)(l),n("design:type",String)],u.prototype,"teamCategory",void 0),o([(0,r.IsEnum)(p),n("design:type",String)],u.prototype,"designation",void 0),o([(0,r.IsArray)(),(0,r.IsEnum)(d,{each:!0}),n("design:type",Array)],u.prototype,"languages",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],u.prototype,"isActive",void 0),o([(0,r.IsDate)(),n("design:type",Date)],u.prototype,"createdAt",void 0),o([(0,r.IsDate)(),n("design:type",Date)],u.prototype,"updatedAt",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],u.prototype,"lastLogin",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"nationality",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"previousWorkplace",void 0),t.SalesAgentResponseDTO=u;class v{constructor(){this.status=1}validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}toUserDTO(){var e;const t=new a.UserCreateDTO;return t.name=this.name,t.email=this.email,t.phone=null!==(e=this.phone)&&void 0!==e?e:"",t.photo=this.photo,t}toSalesAgentData(){return{status:this.status,designation:this.designation,languages:this.languages,agentShortIntro:this.agentShortIntro,agentIntro:this.agentIntro,bioVideoUrl:this.bioVideoUrl,teamCategory:this.teamCategory}}static fromPlain(e){return(0,s.plainToClass)(v,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],v.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"phone",void 0),o([(0,r.IsEmail)(),n("design:type",String)],v.prototype,"email",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],v.prototype,"sortOrder",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"photo",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"agentShortIntro",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"agentIntro",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"bioVideoUrl",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],v.prototype,"status",void 0),o([(0,r.IsEnum)(l),n("design:type",String)],v.prototype,"teamCategory",void 0),o([(0,r.IsEnum)(p),n("design:type",String)],v.prototype,"designation",void 0),o([(0,r.IsArray)(),(0,r.IsEnum)(d,{each:!0}),n("design:type",Array)],v.prototype,"languages",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"nationality",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"previousWorkplace",void 0),t.SalesAgentCreateDTO=v;class I{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}toUserDTO(){const e=new a.UserUpdateDTO;return this.name&&(e.name=this.name),this.email&&(e.email=this.email),this.phone&&(e.phone=this.phone),this.photo&&(e.photo=this.photo),e}toSalesAgentData(){const e={};return void 0!==this.status&&(e.status=this.status),this.designation&&(e.designation=this.designation),this.languages&&(e.languages=this.languages),this.agentShortIntro&&(e.agentShortIntro=this.agentShortIntro),this.agentIntro&&(e.agentIntro=this.agentIntro),this.bioVideoUrl&&(e.bioVideoUrl=this.bioVideoUrl),this.teamCategory&&(e.teamCategory=this.teamCategory),this.isActive&&(e.isActive=this.isActive),e}static fromPlain(e){return(0,s.plainToClass)(I,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],I.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsEmail)(),n("design:type",String)],I.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"photo",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"agentShortIntro",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],I.prototype,"sortOrder",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"agentIntro",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"bioVideoUrl",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],I.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(l),n("design:type",String)],I.prototype,"teamCategory",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(p),n("design:type",String)],I.prototype,"designation",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsEnum)(d,{each:!0}),n("design:type",Array)],I.prototype,"languages",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],I.prototype,"isActive",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"nationality",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"previousWorkplace",void 0),t.SalesAgentUpdateDTO=I},1746:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseDeleteDTO=t.BaseUpdateDTO=t.BaseCreateDTO=void 0;const r=i(6325);class s{}o([(0,r.IsNotEmpty)(),n("design:type",String)],s.prototype,"createdById",void 0),t.BaseCreateDTO=s;class a{}o([(0,r.IsNotEmpty)(),n("design:type",String)],a.prototype,"updatedById",void 0),t.BaseUpdateDTO=a;class p{}o([(0,r.IsNotEmpty)(),n("design:type",String)],p.prototype,"deletedById",void 0),t.BaseDeleteDTO=p},1769:(e,t)=>{var i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.VisitPurpose=t.VisitStatus=void 0,(o=t.VisitStatus||(t.VisitStatus={})).SCHEDULED="SCHEDULED",o.IN_PROGRESS="IN_PROGRESS",o.COMPLETED="COMPLETED",o.CANCELLED="CANCELLED",o.NO_SHOW="NO_SHOW",(i=t.VisitPurpose||(t.VisitPurpose={})).CAR_VIEWING="CAR_VIEWING",i.SELL_MY_CAR="SELL_MY_CAR"},1841:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleMedia=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleMedia=n},1956:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(3347),t)},1999:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2089),t)},2089:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.BankValuationResultCreateDto=t.BankValuationRequestUpdateDto=t.BankValuationRequestCreateDto=void 0;const r=i(6325),s=i(1009),a=i(284);class p{}o([(0,r.IsString)(),n("design:type",String)],p.prototype,"name",void 0),o([(0,r.IsEmail)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"email",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"phone",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",Object)],p.prototype,"clientName",void 0),o([(0,r.IsEmail)(),(0,r.IsOptional)(),n("design:type",Object)],p.prototype,"clientEmail",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",Object)],p.prototype,"clientPhone",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"bankName",void 0),o([(0,r.IsEmail)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"bankerEmail",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"makeDealDriveId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"make",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"modelDealDriveId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"model",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"trimDealDriveId",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"trim",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"trimOption",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"trimOptionDealDriveId",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"year",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"color",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"vin",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Object)],p.prototype,"engineSize",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"engineNumber",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"engineType",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"mileage",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"specs",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"specification",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"value",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"comments",void 0),o([(0,r.IsArray)(),(0,r.IsOptional)(),n("design:type",Array)],p.prototype,"images",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"createdById",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"sessionId",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"bankApplicationId",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],p.prototype,"dealDriveEstimatedPrice",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],p.prototype,"marketing",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Object)],p.prototype,"clientMileage",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.IsEnum)(["km","miles"]),n("design:type",String)],p.prototype,"mileageUnit",void 0),t.BankValuationRequestCreateDto=p;class l{}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],l.prototype,"comments",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["pending","paid","payment_declined","rejected","approved"]),n("design:type",String)],l.prototype,"status",void 0),t.BankValuationRequestUpdateDto=l;class d{static fromPlain(e){return(0,a.plainToClass)(d,e)}}o([(0,r.IsUUID)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"bankValuationRequestId",void 0),o([(0,r.IsUUID)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"doneById",void 0),o([(0,r.IsEnum)(s.BankValuationAction),n("design:type",String)],d.prototype,"action",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"rejectionReason",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"approvalComments",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],d.prototype,"approvedValuation",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],d.prototype,"dealDriveEstimatedPrice",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"certificateUrl",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"ipAddress",void 0),t.BankValuationResultCreateDto=d},2090:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateUserFavoritesDTO=t.VehicleFavoriteCreateDTO=void 0;const r=i(284),s=i(6325);class a{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(a,e)}toPlain(){return(0,r.instanceToPlain)(this)}}o([(0,s.IsString)(),(0,s.IsUUID)(),n("design:type",String)],a.prototype,"userId",void 0),o([(0,s.IsString)({each:!0}),(0,s.IsUUID)(void 0,{each:!0}),n("design:type",Object)],a.prototype,"vehicleIds",void 0),t.VehicleFavoriteCreateDTO=a;class p{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(p,e)}toPlain(){return(0,r.instanceToPlain)(this)}}o([(0,s.IsString)(),(0,s.IsUUID)(),n("design:type",String)],p.prototype,"userId",void 0),o([(0,s.IsUUID)(void 0,{each:!0}),(0,r.Transform)((({value:e})=>Array.isArray(e)?e:[e])),n("design:type",Object)],p.prototype,"favoriteVehicles",void 0),t.UpdateUserFavoritesDTO=p},2110:e=>{e.exports=require("qs")},2143:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateUserDocumentDto=t.UserDocumentResponseDto=t.CreateUserDocumentDto=void 0;const r=i(6325);class s{}o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],s.prototype,"url",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],s.prototype,"fileName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],s.prototype,"description",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsEnum)(["image","pdf","unknown"]),n("design:type",String)],s.prototype,"fileType",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsUUID)(),n("design:type",String)],s.prototype,"ownerId",void 0),t.CreateUserDocumentDto=s,t.UserDocumentResponseDto=class{constructor(e){Object.assign(this,e)}};class a{}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"url",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"fileName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"description",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["image","pdf","unknown"]),n("design:type",String)],a.prototype,"fileType",void 0),t.UpdateUserDocumentDto=a},2151:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.LanguageUpdateDTO=t.LanguageCreateDTO=t.LanguageDTO=void 0;const r=i(284),s=i(6325);class a{static fromEntity(e){const t=new a;return t.id=e.id,t.code=e.code,t.name=e.name,t}}o([(0,s.IsUUID)(),n("design:type",String)],a.prototype,"id",void 0),o([(0,s.IsString)(),n("design:type",String)],a.prototype,"code",void 0),o([(0,s.IsString)(),n("design:type",String)],a.prototype,"name",void 0),t.LanguageDTO=a;class p{constructor(){this.isActive=!0}validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(p,e)}}o([(0,s.IsString)(),(0,s.IsNotEmpty)(),n("design:type",String)],p.prototype,"code",void 0),o([(0,s.IsString)(),(0,s.IsNotEmpty)(),n("design:type",String)],p.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],p.prototype,"isActive",void 0),t.LanguageCreateDTO=p;class l{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(l,e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],l.prototype,"code",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],l.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],l.prototype,"isActive",void 0),t.LanguageUpdateDTO=l},2269:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(6626),t),n(i(6590),t),n(i(3132),t)},2293:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(6536),t),n(i(3650),t)},2307:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.TestDriveRequestUpdateDTO=t.TestDriveRequestCreateDTO=t.TestDriveRequestGetDTO=t.TestDriveRequestGetDTOOptions=void 0;const r=i(6325),s=i(284),a=i(1746),p=i(6075),l=i(3622);t.TestDriveRequestGetDTOOptions=class{};class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.TestDriveRequestGetDTO=d;class c{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}constructor(e){Object.assign(this,e),this.status||(this.status=l.TestDriveRequestStatus.NOT_CONTACTED),this.leadThrough||(this.leadThrough=l.LeadThrough.WEBSITE)}static fromPlain(e){const t=(0,s.plainToClass)(c,e);return t.status||(t.status=l.TestDriveRequestStatus.NOT_CONTACTED),t.leadThrough||(t.leadThrough=l.LeadThrough.WEBSITE),t}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsNotEmpty)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.DynamicVehicleDTO)),n("design:type",p.DynamicVehicleDTO)],c.prototype,"vehicle",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),(0,r.MinLength)(2),(0,r.MaxLength)(255),n("design:type",String)],c.prototype,"testerName",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),(0,r.MinLength)(8),(0,r.MaxLength)(20),n("design:type",String)],c.prototype,"testerMobile",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.IsEmail)(),n("design:type",String)],c.prototype,"testerEmail",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsDateString)(),n("design:type",String)],c.prototype,"requestedDate",void 0),o([(0,r.IsOptional)(),(0,r.IsDateString)(),n("design:type",String)],c.prototype,"testDriveDate",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(l.TestDriveRequestStatus),n("design:type",Number)],c.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(l.LeadThrough),n("design:type",String)],c.prototype,"leadThrough",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"comments",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"createdById",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],c.prototype,"marketing",void 0),t.TestDriveRequestCreateDTO=c;class y extends a.BaseUpdateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(y,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.DynamicVehicleDTO)),n("design:type",p.DynamicVehicleDTO)],y.prototype,"vehicle",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.MinLength)(2),(0,r.MaxLength)(255),n("design:type",String)],y.prototype,"testerName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.MinLength)(8),(0,r.MaxLength)(20),n("design:type",String)],y.prototype,"testerMobile",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.IsEmail)(),n("design:type",String)],y.prototype,"testerEmail",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],y.prototype,"requestedDate",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],y.prototype,"testDriveDate",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(l.TestDriveRequestStatus),n("design:type",Number)],y.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(l.LeadThrough),n("design:type",String)],y.prototype,"leadThrough",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"comments",void 0),t.TestDriveRequestUpdateDTO=y},2421:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ONE_MINUTE=t.ONE_HOUR=t.THIRTY_MINUTES_MILLIS=t.FIFTEEN_MINUTES_MILLIS=t.ONE_HOUR_MILLIS=t.ONE_MINUTE_MILLIS=void 0,t.ONE_MINUTE_MILLIS=6e4,t.ONE_HOUR_MILLIS=36e5,t.FIFTEEN_MINUTES_MILLIS=9e5,t.THIRTY_MINUTES_MILLIS=18e5,t.ONE_HOUR=3600,t.ONE_MINUTE=60},2433:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.PaymentUpdateDTO=t.PaymentCreateDTO=t.PaymentGetDTO=void 0;const r=i(6325),s=i(284);class a{static fromEntity(e){return(0,s.plainToClass)(a,e)}toPlain(){return(0,s.classToPlain)(this)}}t.PaymentGetDTO=a;class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}}o([(0,r.IsString)(),n("design:type",String)],p.prototype,"userId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"requestId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"vehicleId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"transactionId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"paymentStatus",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"paymentResponse",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"amountPaid",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"tokenId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"state",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"failureReason",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"failureCode",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"accountId",void 0),o([(0,r.IsDate)(),n("design:type",Date)],p.prototype,"paymentDate",void 0),t.PaymentCreateDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"userId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"requestId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"vehicleId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"transactionId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"paymentStatus",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"paymentResponse",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"amountPaid",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"tokenId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"state",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"failureReason",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"failureCode",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"accountId",void 0),o([(0,r.IsOptional)(),(0,r.IsDate)(),n("design:type",Date)],l.prototype,"paymentDate",void 0),t.PaymentUpdateDTO=l},2446:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2490),t),n(i(3404),t)},2454:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.CallbackRequestResponseDTO=t.CallbackRequestUpdateDTO=t.CallbackRequestCreateDTO=t.IsPhoneConstraint=void 0;const r=i(6325),s=i(284);let a=class{validate(e,t){return/^\+?[\d\s-]{8,}$/.test(e)}defaultMessage(e){return"Phone number ($value) is not in a valid format"}};a=o([(0,r.ValidatorConstraint)({name:"isPhone",async:!1})],a),t.IsPhoneConstraint=a;class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],p.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.Validate)(a),n("design:type",String)],p.prototype,"phone",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"enquiryText",void 0),t.CallbackRequestCreateDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.Validate)(a),n("design:type",String)],l.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"enquiryText",void 0),t.CallbackRequestUpdateDTO=l;class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],d.prototype,"id",void 0),o([(0,r.IsString)(),n("design:type",String)],d.prototype,"name",void 0),o([(0,r.IsString)(),n("design:type",String)],d.prototype,"phone",void 0),o([(0,r.IsString)(),n("design:type",String)],d.prototype,"enquiryText",void 0),t.CallbackRequestResponseDTO=d},2463:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},2490:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.formatImageUrl=t.TypedOptions=t.TypedFilter=t.BaseFilter=t.NumberRange=t.DateFilter=t.PaginationOptions=t.IsDateOrConvertible=t.createFieldPath=void 0;const r=i(6325),s=i(284);function a(e){return function(t,i){(0,r.registerDecorator)({name:"isDateOrConvertible",target:t.constructor,propertyName:i,options:e,validator:{validate:(e,t)=>e instanceof Date||"string"==typeof e||"number"==typeof e,defaultMessage:e=>`${e.property} must be a Date, string, or number`}})}}t.createFieldPath=e=>e,t.IsDateOrConvertible=a;class p{}o([(0,r.IsOptional)(),(0,r.IsNumber)(),(0,r.Max)(100),n("design:type",Number)],p.prototype,"limit",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"page",void 0),t.PaginationOptions=p;class l{}o([(0,r.IsOptional)(),(0,r.Validate)(a),n("design:type",Object)],l.prototype,"from",void 0),o([(0,r.IsOptional)(),(0,r.Validate)(a),n("design:type",Object)],l.prototype,"to",void 0),t.DateFilter=l;class d{}o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"min",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"max",void 0),t.NumberRange=d;class c{}o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],c.prototype,"id",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],c.prototype,"createdBy",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],c.prototype,"updatedBy",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],c.prototype,"deletedBy",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],c.prototype,"isDeleted",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],c.prototype,"isActive",void 0),o([(0,r.IsOptional)(),(0,r.Validate)(l),n("design:type",l)],c.prototype,"createdAt",void 0),o([(0,r.IsOptional)(),(0,r.Validate)(l),n("design:type",l)],c.prototype,"updatedAt",void 0),o([(0,r.IsOptional)(),(0,r.Validate)(l),n("design:type",l)],c.prototype,"deletedAt",void 0),t.BaseFilter=c,t.TypedFilter=class extends c{};class y extends p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(y,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.TypedOptions=y,t.formatImageUrl=function(e){return e?function(e){try{return new URL(e),!0}catch{return!1}}(e)||e.startsWith("data:")||e.startsWith("/assets")?e:`${process.env.NEXT_PUBLIC_S3_URL}${e.startsWith("/")?e:`/${e}`}`:null}},2587:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HttpStatusCodes=void 0,t.HttpStatusCodes={OK:200,CREATED:201,ACCEPTED:202,NO_CONTENT:204,BAD_REQUEST:400,UNAUTHORIZED:401,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504}},2641:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleInspectionDTO=t.ElectricalsInspectionDTO=t.EngineInspectionDTO=t.InteriorInspectionDTO=t.SteeringAndSuspensionInspectionDTO=t.TyresInspectionDTO=t.ExteriorInspectionDTO=t.BaseInspectionDTO=t.InspectionPointDTO=t.InspectionStatus=void 0;const r=i(6325),s=i(284),a=i(6325);var p;!function(e){e.PERFECT="Perfect",e.IMPERFECTIONS="Imperfections",e.NOT_APPLICABLE="Not Applicable"}(p=t.InspectionStatus||(t.InspectionStatus={}));class l{constructor(e=p.PERFECT){this.status=e}}o([(0,a.IsEnum)(p),n("design:type",String)],l.prototype,"status",void 0),o([(0,a.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"imperfections",void 0),t.InspectionPointDTO=l;class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(this,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,a.IsOptional)(),n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",Array)],d.prototype,"validate",null),t.BaseInspectionDTO=d;class c extends d{constructor(){super(),this.hood=new l(p.PERFECT),this.roof=new l(p.PERFECT),this.trunk=new l(p.PERFECT),this.frontLeftDoor=new l(p.PERFECT),this.frontRightDoor=new l(p.PERFECT),this.rearLeftDoor=new l(p.PERFECT),this.rearRightDoor=new l(p.PERFECT),this.frontBumper=new l(p.PERFECT),this.rearBumper=new l(p.PERFECT),this.leftFender=new l(p.PERFECT),this.rightFender=new l(p.PERFECT),this.leftQuarterPanel=new l(p.PERFECT),this.rightQuarterPanel=new l(p.PERFECT),this.leftAPillar=new l(p.PERFECT),this.rightAPillar=new l(p.PERFECT),this.leftAtoBPillarBeading=new l(p.PERFECT),this.rightAtoBPillarBeading=new l(p.PERFECT),this.leftBPillarTrim=new l(p.PERFECT),this.rightBtoCPillarBeading=new l(p.PERFECT),this.leftRunningBoard=new l(p.PERFECT),this.rightRunningBoard=new l(p.PERFECT),this.frontWindshield=new l(p.PERFECT),this.rearWindshield=new l(p.PERFECT),this.chassisCondition=new l(p.PERFECT),this.apron=new l(p.PERFECT),this.bootFloor=new l(p.PERFECT),this.firewallCondition=new l(p.PERFECT),this.leftFrontAlloyRim=new l(p.PERFECT),this.leftRearAlloyRim=new l(p.PERFECT),this.rightFrontAlloyRim=new l(p.PERFECT),this.rightRearAlloyRim=new l(p.PERFECT),this.spareAlloyRimCondition=new l(p.PERFECT),this.wheelCover=new l(p.PERFECT),this.grillCondition=new l(p.PERFECT),this.windowGlass=new l(p.PERFECT),this.wiper=new l(p.PERFECT),this.panelCondition=new l(p.PERFECT)}}o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"frontLeftDoor",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"frontRightDoor",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rearLeftDoor",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rearRightDoor",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftFender",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightFender",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"frontBumper",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rearBumper",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"hood",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"trunk",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"roof",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftQuarterPanel",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightQuarterPanel",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftAPillar",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightAPillar",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftAtoBPillarBeading",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightAtoBPillarBeading",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftBPillarTrim",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightBtoCPillarBeading",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftRunningBoard",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightRunningBoard",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"frontWindshield",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rearWindshield",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"chassisCondition",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"apron",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"bootFloor",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"firewallCondition",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftFrontAlloyRim",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"leftRearAlloyRim",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightFrontAlloyRim",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"rightRearAlloyRim",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"spareAlloyRimCondition",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"wheelCover",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"grillCondition",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"windowGlass",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"wiper",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],c.prototype,"panelCondition",void 0),t.ExteriorInspectionDTO=c;class y extends d{constructor(){super(),this.leftFrontTyre=new l(p.PERFECT),this.rightFrontTyre=new l(p.PERFECT),this.leftRearTyre=new l(p.PERFECT),this.rightRearTyre=new l(p.PERFECT),this.spareTyre=new l(p.PERFECT),this.leftFrontTyreLife=100,this.rightFrontTyreLife=100,this.leftRearTyreLife=100,this.rightRearTyreLife=100,this.spareTyreLife=100}}o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],y.prototype,"leftFrontTyre",void 0),o([(0,r.IsNumber)(),(0,r.Min)(0),(0,r.Max)(100),n("design:type",Number)],y.prototype,"leftFrontTyreLife",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],y.prototype,"rightFrontTyre",void 0),o([(0,r.IsNumber)(),(0,r.Min)(0),(0,r.Max)(100),n("design:type",Number)],y.prototype,"rightFrontTyreLife",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],y.prototype,"leftRearTyre",void 0),o([(0,r.IsNumber)(),(0,r.Min)(0),(0,r.Max)(100),n("design:type",Number)],y.prototype,"leftRearTyreLife",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],y.prototype,"rightRearTyre",void 0),o([(0,r.IsNumber)(),(0,r.Min)(0),(0,r.Max)(100),n("design:type",Number)],y.prototype,"rightRearTyreLife",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],y.prototype,"spareTyre",void 0),o([(0,r.IsNumber)(),(0,r.Min)(0),(0,r.Max)(100),n("design:type",Number)],y.prototype,"spareTyreLife",void 0),t.TyresInspectionDTO=y;class g extends d{constructor(){super(),this.steeringWheel=new l(p.PERFECT),this.parkingBrake=new l(p.PERFECT),this.brakeMasterCylinder=new l(p.PERFECT),this.brakeDiscAndPad=new l(p.PERFECT),this.brakeFluid=new l(p.PERFECT),this.shockAbsorbers=new l(p.PERFECT)}}o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],g.prototype,"steeringWheel",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],g.prototype,"parkingBrake",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],g.prototype,"brakeMasterCylinder",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],g.prototype,"brakeDiscAndPad",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],g.prototype,"brakeFluid",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],g.prototype,"shockAbsorbers",void 0),t.SteeringAndSuspensionInspectionDTO=g;class u extends d{constructor(){super(),this.dashboard=new l(p.PERFECT),this.centralConsole=new l(p.PERFECT),this.gloveBox=new l(p.PERFECT),this.sunvisor=new l(p.PERFECT),this.seatUpholstery=new l(p.PERFECT),this.carpets=new l(p.PERFECT),this.headliner=new l(p.PERFECT),this.manualSeatMovement=new l(p.PERFECT),this.seatBelts=new l(p.PERFECT),this.headRest=new l(p.PERFECT),this.doorControls=new l(p.PERFECT),this.grabHandle=new l(p.PERFECT),this.rearViewMirror=new l(p.PERFECT),this.toolKit=new l(p.PERFECT)}}o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"dashboard",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"centralConsole",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"gloveBox",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"sunvisor",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"seatUpholstery",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"carpets",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"headliner",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"manualSeatMovement",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"seatBelts",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"headRest",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"doorControls",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"grabHandle",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"rearViewMirror",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],u.prototype,"toolKit",void 0),t.InteriorInspectionDTO=u;class v extends d{constructor(){super(),this.engineBody=new l(p.PERFECT),this.enginePerformance=new l(p.PERFECT),this.engineOil=new l(p.PERFECT),this.exhaustSystem=new l(p.PERFECT),this.radiator=new l(p.PERFECT),this.coolant=new l(p.PERFECT),this.fuelTank=new l(p.PERFECT),this.gearShifting=new l(p.PERFECT),this.driveAxle=new l(p.PERFECT),this.transmissionFluid=new l(p.PERFECT)}}o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"engineBody",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"enginePerformance",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"engineOil",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"exhaustSystem",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"radiator",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"coolant",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"fuelTank",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"gearShifting",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"driveAxle",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],v.prototype,"transmissionFluid",void 0),t.EngineInspectionDTO=v;class I extends d{constructor(){super(),this.masterKey=new l(p.PERFECT),this.spareKey=new l(p.PERFECT),this.childSafetyLocking=new l(p.PERFECT),this.instrumentPanel=new l(p.PERFECT),this.airbags=new l(p.PERFECT),this.controls=new l(p.PERFECT),this.cruiseControl=new l(p.PERFECT),this.infotainmentDisplay=new l(p.PERFECT),this.obdConnector=new l(p.PERFECT),this.musicSystem=new l(p.PERFECT),this.headlight=new l(p.PERFECT),this.interiorLights=new l(p.PERFECT),this.tailLightCluster=new l(p.PERFECT),this.licensePlateLight=new l(p.PERFECT),this.acCooling=new l(p.PERFECT),this.acSwitch=new l(p.PERFECT),this.acLeaks=new l(p.PERFECT),this.centerAcVent=new l(p.PERFECT),this.frontRightAcVent=new l(p.PERFECT),this.heater=new l(p.PERFECT),this.parkingSensors=new l(p.PERFECT),this.rearDefogger=new l(p.PERFECT),this.usbChargingPort=new l(p.PERFECT),this.powerManualWindows=new l(p.PERFECT)}}o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"masterKey",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"spareKey",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"childSafetyLocking",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"instrumentPanel",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"airbags",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"controls",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"cruiseControl",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"infotainmentDisplay",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"obdConnector",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"musicSystem",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"headlight",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"interiorLights",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"tailLightCluster",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"licensePlateLight",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"acCooling",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"acSwitch",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"acLeaks",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"centerAcVent",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"frontRightAcVent",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"heater",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"parkingSensors",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"rearDefogger",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"usbChargingPort",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>l)),n("design:type",l)],I.prototype,"powerManualWindows",void 0),t.ElectricalsInspectionDTO=I;class O{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(O,e)}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],O.prototype,"vehicle",void 0),o([(0,r.IsString)(),(0,a.IsOptional)(),n("design:type",String)],O.prototype,"inspectorId",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>c)),n("design:type",c)],O.prototype,"exterior",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>g)),n("design:type",g)],O.prototype,"steeringAndSuspension",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>u)),n("design:type",u)],O.prototype,"interior",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>v)),n("design:type",v)],O.prototype,"engine",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>I)),n("design:type",I)],O.prototype,"electricals",void 0),o([(0,a.ValidateNested)(),(0,s.Type)((()=>y)),n("design:type",y)],O.prototype,"tyres",void 0),o([(0,a.IsOptional)(),n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",Array)],O.prototype,"validate",null),t.VehicleInspectionDTO=O},2660:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ReturnTypeWithPagination=t.DataReturnType=void 0,t.DataReturnType=class{constructor(e,t,i,o){this.success=e,this.message=t,this.data=i,this.error=o}},t.ReturnTypeWithPagination=class{constructor(e,t,i,o){this.success=e,this.message=t,this.data=i,this.error=o}}},2731:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.TestDriveRequestOptions=t.TestDriveRequestFilter=void 0;const r=i(6325),s=i(3622),a=i(284),p=i(2490);class l extends p.TypedFilter{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}fromPlain(e){return(0,a.plainToClass)(l,e)}toPlain(){return(0,a.instanceToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],l.prototype,"vehicles",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],l.prototype,"referenceNumber",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],l.prototype,"testerName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],l.prototype,"testerMobile",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],l.prototype,"testerEmail",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],l.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(s.TestDriveRequestStatus,{each:!0}),n("design:type",Object)],l.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,a.Type)((()=>p.DateFilter)),n("design:type",p.DateFilter)],l.prototype,"requestedDate",void 0),o([(0,r.IsOptional)(),(0,a.Type)((()=>p.DateFilter)),n("design:type",p.DateFilter)],l.prototype,"testDriveDate",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(s.LeadThrough,{each:!0}),n("design:type",Object)],l.prototype,"leadThrough",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"comments",void 0),o([(0,r.IsOptional)(),(0,r.IsObject)(),n("design:type",p.DateFilter)],l.prototype,"createdAt",void 0),t.TestDriveRequestFilter=l;class d extends p.PaginationOptions{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}fromPlain(e){return(0,a.plainToClass)(d,e)}}t.TestDriveRequestOptions=d},2753:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TestDriveRequest=void 0;const o=i(4136);class n extends o.BaseModel{}t.TestDriveRequest=n},2831:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(435),t)},2906:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(9879),t),n(i(9537),t),n(i(1492),t)},3008:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleModel=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleModel=n},3037:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateFaqDTO=t.UpdateMultilingualContent=void 0;const r=i(284),s=i(6325),a=i(4363);class p{}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"en",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"ar",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"ru",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"zh",void 0),t.UpdateMultilingualContent=p;class l{static fromPlain(e){const t=new l;return e.question&&(t.question={en:e.question.en,ar:e.question.ar,ru:e.question.ru,zh:e.question.zh}),e.answer&&(t.answer={en:e.answer.en,ar:e.answer.ar,ru:e.answer.ru,zh:e.answer.zh}),t.isActive=e.isActive,t.order=e.order,t}}o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>p)),n("design:type",p)],l.prototype,"question",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>p)),n("design:type",p)],l.prototype,"answer",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,s.IsEnum)(a.FaqCategory),n("design:type",String)],l.prototype,"category",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],l.prototype,"isActive",void 0),o([(0,s.IsOptional)(),(0,s.IsNumber)(),n("design:type",Number)],l.prototype,"order",void 0),t.UpdateFaqDTO=l},3083:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(4032),t)},3132:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Range=void 0;const r=i(6325);class s{}o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],s.prototype,"min",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],s.prototype,"max",void 0),t.Range=s},3153:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AUTH_ENDPOINTS=t.UTIL_ENDPOINTS=t.API_ENDPOINTS=void 0,t.API_ENDPOINTS={vehicle:{getAll:"/vehicle",create:"/vehicle",getOne:e=>`/vehicle/${e}`,getOneBySlug:e=>`/vehicle/slug/${e}`,getOneByRef:e=>`/vehicle/ref/${e}`,getSimilar:e=>`/vehicle/similar/${e}`,deleteOne:e=>`/vehicle/${e}`,updateOne:e=>`/vehicle/${e}`,publishVehicle:e=>`/vehicle/publish/${e}`,unpublishVehicle:e=>`/vehicle/unpublish/${e}`,reserveVehicle:e=>`/vehicle/reserve/${e}`,selfReserveVehicle:e=>`/vehicle/self-reserve/${e}`,markVehicleSold:e=>`/vehicle/mark-vehicle-sold/${e}`,markVehicleDraft:e=>`/vehicle/mark-vehicle-draft/${e}`},vehicleFinance:{getAll:"/vehicle-finance",create:"/vehicle-finance",getOne:e=>`/vehicle-finance/${e}`,deleteOne:e=>`/vehicle-finance/${e}`,updateOne:e=>`/vehicle-finance/${e}`},vehicleMake:{getAll:"/vehicle/makes",create:"/vehicle/makes",getOne:e=>`/vehicle/makes/${e}`,getOneBySlug:e=>`/vehicle/makes/slug/${e}`,deleteOne:e=>`/vehicle/makes/${e}`,updateOne:e=>`/vehicle/makes/${e}`},vehicleFeatures:{getAll:"/vehicle/features",create:"/vehicle/features",getOne:e=>`/vehicle/features/${e}`,deleteOne:e=>`/vehicle/features/${e}`,updateOne:e=>`/vehicle/features/${e}`,changeIcon:e=>`/vehicle/features/${e}/icon`},vehicleFeatureCategories:{getAll:"/vehicle/feature-categories",create:"/vehicle/feature-categories",getOne:e=>`/vehicle/feature-categories/${e}`,deleteOne:e=>`/vehicle/feature-categories/${e}`,updateOne:e=>`/vehicle/feature-categories/${e}`},vehicleModel:{getAll:"/vehicle/models",create:"/vehicle/models",getOne:e=>`/vehicle/models/${e}`,deleteOne:e=>`/vehicle/models/${e}`,updateOne:e=>`/vehicle/models/${e}`},vehicleMeta:{getAll:"/vehicle-meta-data",create:"/vehicle-meta-data",getOne:e=>`/vehicle-meta-data/${e}`,deleteOne:e=>`/vehicle-meta-data/${e}`,updateOne:e=>`/vehicle-meta-data/${e}`,aiGenerateTitle:e=>`/vehicle-meta-data/generate/title/${e}`,aiGenerateDescription:e=>`/vehicle-meta-data/generate/description/${e}`,aiGenerateKeyword:e=>`/vehicle-meta-data/generate/keywords/${e}`,aiGenerateVehicleDescription:e=>`/vehicle-meta-data/generate/vehicle-description/${e}`},TestDrive:{getAll:"/test-drive-requests",create:"/test-drive-requests",getOne:e=>`/test-drive-requests/${e}`,deleteOne:e=>`/test-drive-requests/${e}`,updateOne:e=>`/test-drive-requests/${e}`},vehicleOrder:{getAll:"/vehicle-order",create:"/vehicle-order",getOne:e=>`/vehicle-order/${e}`,deleteOne:e=>`/vehicle-order/${e}`,updateOne:e=>`/vehicle-order/${e}`},vehicleType:{getAll:"/vehicle/body-types",create:"/vehicle/body-types",getOne:e=>`/vehicle/body-types/${e}`,deleteOne:e=>`/vehicle/body-types/${e}`,updateOne:e=>`/vehicle/body-types/${e}`},vehicleInspection:{getAll:"/vehicle-inspection",create:"/vehicle-inspection",getOne:e=>`/vehicle-inspection/${e}`,deleteOne:e=>`/vehicle-inspection/${e}`,updateOne:e=>`/vehicle-inspection/${e}`},payment:{getAll:"/payment",create:"/payment",getOne:e=>`/payment/${e}`,deleteOne:e=>`/payment/${e}`,updateOne:e=>`/payment/${e}`},deposit:{getAll:"/deposits",create:"/deposits",getOne:e=>`/deposits/${e}`,deleteOne:e=>`/deposits/${e}`,updateOne:e=>`/deposits/${e}`,initiateRefund:"/deposits/refund/",getOrCreateUserInformation:"/deposits/user-info"},leads:{getAll:"/leads",create:"/leads",getOne:e=>`/leads/${e}`,deleteOne:e=>`/leads/${e}`,updateOne:e=>`/leads/${e}`},leadPreferences:{getAll:"/leads-preferences",create:"/leads-preferences",getOne:e=>`/leads-preferences/${e}`,deleteOne:e=>`/leads-preferences/${e}`,updateOne:e=>`/leads-preferences/${e}`},agents:{getAll:"/salesagent",create:"/salesagent",getOne:e=>`/salesagent/${e}`,deleteOne:e=>`/salesagent/${e}`,updateOne:e=>`/salesagent/${e}`},blogs:{getAll:"/blog",create:"/blog",getOne:e=>`/blog/${e}`,getOneBySlug:e=>`/blog/slug/${e}`,deleteOne:e=>`/blog/${e}`,updateOne:e=>`/blog/${e}`},showroomVisit:{getAll:"/showroomvisit",create:"/showroomvisit",getOne:e=>`/showroomvisit/${e}`,deleteOne:e=>`/showroomvisit/${e}`,updateOne:e=>`/showroomvisit/${e}`},sellCarRequest:{getAll:"/sell-car-request",create:"/sell-car-request",getOne:e=>`/sell-car-request/${e}`,deleteOne:e=>`/sell-car-request/${e}`,updateOne:e=>`/sell-car-request/${e}`,notifyAboutExistingLead:"/sell-car-request/notify"},financeEligibilityRequest:{getAll:"/finance-eligibility-request",create:"/finance-eligibility-request",getOne:e=>`/finance-eligibility-request/${e}`,deleteOne:e=>`/finance-eligibility-request/${e}`,updateOne:e=>`/finance-eligibility-request/${e}`,updateStatus:e=>`/finance-eligibility-request/${e}/status`},vehicleReservations:{getAll:"/vehicle-reservation",create:"/vehicle-reservation",getOne:e=>`/vehicle-reservation/${e}`,deleteOne:e=>`/vehicle-reservation/${e}`,updateOne:e=>`/vehicle-reservation/${e}`},languages:{getAll:"/languages",create:"/languages",getOne:e=>`/languages/${e}`,deleteOne:e=>`/languages/${e}`,updateOne:e=>`/languages/${e}`},user:{getAll:"/user",create:"/user",getOne:e=>`/user/${e}`,deleteOne:e=>`/user/${e}`,updateOne:e=>`/user/${e}`,changeProfilePicture:e=>`/user/${e}/profile-pic`,deleteProfilePicture:e=>`/user/${e}/profile-pic`},googleReview:{getAll:"/google-reviews",create:"/google-reviews",getOne:e=>`/google-reviews/${e}`,deleteOne:e=>`/google-reviews/${e}`,updateOne:e=>`/google-reviews/${e}`,changeReviewShowPublic:e=>`/google-reviews/show-public/${e}`},tickets:{getAll:"/tickets",create:"/tickets",getOne:e=>`/tickets/${e}`,deleteOne:e=>`/tickets/${e}`,updateOne:e=>`/tickets/${e}`,getMyTickets:"/tickets/my",getUserTickets:e=>`/tickets/user/${e}`,getAgentTickets:e=>`/tickets/agent/${e}`,addMessage:e=>`/tickets/${e}/messages`,addDocument:e=>`/tickets/${e}/documents`,getDocuments:e=>`/tickets/${e}/documents`,reopenTicket:e=>`/tickets/${e}/reopen`,sendToKissFlow:"/tickets/kissflow"},faq:{getAll:"/faqs",create:"/faqs",getOne:e=>`/faqs/${e}`,deleteOne:e=>`/faqs/${e}`,updateOne:e=>`/faqs/${e}`},dealDrive:{getAll:"/deal-drive",create:"/deal-drive",getOne:e=>`/deal-drive/${e}`,deleteOne:e=>`/deal-drive/${e}`,updateOne:e=>`/deal-drive/${e}`,getAllMakes:e=>"/deal-drive/brands",getAllModels:e=>"/deal-drive/models"},bankValuationRequest:{getAll:"/bank-valuation-request",create:"/bank-valuation-request",getOne:e=>`/bank-valuation-request/${e}`,deleteOne:e=>`/bank-valuation-request/${e}`,updateOne:e=>`/bank-valuation-request/${e}`,updateStatus:e=>`/bank-valuation-request/${e}`,approveValuation:e=>`/bank-valuation-request/approve/${e}`,rejectValuation:e=>`/bank-valuation-request/reject/${e}`,overridePayment:e=>`/bank-valuation-request/${e}/override-payment`,estimate:"/bank-valuation-request/estimate",rangeEstimate:"/bank-valuation-request/range-estimate",getStats:"/bank-valuation-request/stats",notifyAboutExistingLead:"/bank-valuation-request/notify",getCertificateEditableData:e=>`/bank-valuation-request/${e}/certificates/issue/edit-data`,previewCertificatePdf:e=>`/bank-valuation-request/${e}/certificates/issue/preview`,reissueCertificate:e=>`/bank-valuation-request/${e}/certificates/issue`,getRequestStatus:e=>`/bank-valuation-request/${e}/status`,checkRequestIsIncomplete:e=>`/bank-valuation-request/${e}/status/incomplete`,sendContinuationReminder:e=>`/bank-valuation-request/${e}/send-continuation-reminder`},exchangeCarRequest:{create:"/exchange-car-request",getAll:"/exchange-car-request/list",getOne:e=>`/exchange-car-request/${e}`,deleteOne:e=>`/exchange-car-request/${e}`,updateOne:e=>`/exchange-car-request/${e}`},dubiCars:{getAdByDubiCarsId:e=>`/dubicars/${e}`,checkVehicleAdStatus:e=>`/dubicars/status/${e}`,getAvailableModelsForMake:e=>`/dubicars/${e}/models`,postAd:"/dubicars",deleteAd:e=>`/dubicars/${e}`,deleteAdByVehicleId:e=>`/dubicars/vehicle/${e}`,doAction:e=>`/dubicars/${e}`},colors:{getAll:"/colors",list:"/colors/list",create:"/colors",getOne:e=>`/colors/${e}`,deleteOne:e=>`/colors/${e}`,updateOne:e=>`/colors/${e}`,getBySlug:e=>`/colors/slug/${e}`},bankValuationResult:{getAll:"/bank-valuation-results",create:"/bank-valuation-results",getOne:e=>`/bank-valuation-results/${e}`,deleteOne:e=>`/bank-valuation-results/${e}`,updateOne:e=>`/bank-valuation-results/${e}`},bank:{getAll:"/partnered-banks",create:"/partnered-banks",getOne:e=>`/partnered-banks/${e}`,deleteOne:e=>`/partnered-banks/${e}`,updateOne:e=>`/partnered-banks/${e}`}};const i="/utils";t.UTIL_ENDPOINTS={media:{createS3Url:`${i}/get-upload-url`,preprocessMediaUrl:`${i}/process-media`,removeS3Media:`${i}/remove-s3`,removeVehicleMedia:`${i}/remove-vehcile-media`,removeByIdentifier:`${i}/remove-by-identifier`,compressImage:`${i}/compress-image`}};const o="/auth";t.AUTH_ENDPOINTS={login:`${o}/login`,register:`${o}/register`,refreshAccessToken:`${o}/refresh-token`,sendPhoneVerificationCode:`${o}/phone/send-verification`,verifyPhoneAndLogin:`${o}/phone/verify-and-login`,verifyAnyPhoneNumber:`${o}/phone/verify`,checkPhoneNumberExists:`${o}/phone/check`}},3199:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ShowRoomVisitFetchDTO=t.ShowRoomVisitFilterDTO=t.ShowRoomVisitOptionsDTO=t.ShowroomVisitResponseDTO=t.ShowroomVisitUpdateDTO=t.ShowroomVisitCreateDTO=t.IsTimeConstraint=void 0;const r=i(6325),s=i(284),a=i(2446);i(1769);let p=class{validate(e,t){return/^([01]\d|2[0-3]):([0-5]\d)$/.test(e)}defaultMessage(e){return"Time ($value) is not a valid 24-hour time format (HH:MM)"}};p=o([(0,r.ValidatorConstraint)({name:"isTime",async:!1})],p),t.IsTimeConstraint=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],l.prototype,"Visitor_FullName",void 0),o([(0,r.IsString)(),n("design:type",String)],l.prototype,"Visitor_Mobile",void 0),o([(0,r.IsDateString)(),n("design:type",String)],l.prototype,"Visit_Date",void 0),o([(0,r.Validate)(p),n("design:type",String)],l.prototype,"Visit_Time",void 0),o([(0,r.IsString)(),n("design:type",String)],l.prototype,"Visit_Interest",void 0),o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),(0,r.IsOptional)(),n("design:type",Array)],l.prototype,"Interested_Cars",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],l.prototype,"AssignedAgentId",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"marketing",void 0),t.ShowroomVisitCreateDTO=l;class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"Visitor_FullName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"Visitor_Mobile",void 0),o([(0,r.IsOptional)(),(0,r.IsDateString)(),n("design:type",String)],d.prototype,"Visit_Date",void 0),o([(0,r.IsOptional)(),(0,r.Validate)(p),n("design:type",String)],d.prototype,"Visit_Time",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"Visit_Interest",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],d.prototype,"Interested_Cars",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],d.prototype,"AssignedAgentId",void 0),t.ShowroomVisitUpdateDTO=d;class c{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],c.prototype,"id",void 0),o([(0,r.IsString)(),n("design:type",String)],c.prototype,"Visitor_FullName",void 0),o([(0,r.IsString)(),n("design:type",String)],c.prototype,"Visitor_Mobile",void 0),o([(0,r.IsDateString)(),n("design:type",String)],c.prototype,"Visit_Date",void 0),o([(0,r.Validate)(p),n("design:type",String)],c.prototype,"Visit_Time",void 0),o([(0,r.IsString)(),n("design:type",String)],c.prototype,"Visit_Interest",void 0),o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),(0,r.IsOptional)(),n("design:type",Array)],c.prototype,"Interested_Cars",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],c.prototype,"AssignedAgentId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"AssignedAgentName",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],c.prototype,"IsCompleted",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"VisitNotes",void 0),o([(0,r.IsDateString)(),n("design:type",String)],c.prototype,"CreatedAt",void 0),o([(0,r.IsDateString)(),n("design:type",String)],c.prototype,"UpdatedAt",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],c.prototype,"marketing",void 0),t.ShowroomVisitResponseDTO=c;class y extends a.PaginationOptions{static fromPlain(e){return(0,s.plainToClass)(y,e)}toPlain(){return(0,s.classToPlain)(this)}}t.ShowRoomVisitOptionsDTO=y;class g{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(g,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),n("design:type",String)],g.prototype,"search",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"leadId",void 0),t.ShowRoomVisitFilterDTO=g;class u{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(u,e)}toPlain(){return(0,s.classToPlain)(this)}}t.ShowRoomVisitFetchDTO=u},3205:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(8474),t)},3278:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(5084),t)},3323:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Lead=void 0,t.Lead=class{}},3340:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.AppError=t.ErrorType=void 0,function(e){e.VALIDATION_ERROR="VALIDATION_ERROR",e.NOT_FOUND="NOT_FOUND",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INTERNAL_SERVER_ERROR="INTERNAL_SERVER_ERROR",e.BAD_REQUEST="BAD_REQUEST",e.AUTHENTICATION_ERROR="AUTHENTICATION_ERROR",e.AUTHORIZATION_ERROR="AUTHORIZATION_ERROR"}(i=t.ErrorType||(t.ErrorType={}));class o extends Error{constructor(e,t,i,o){super(e),this.message=e,this.statusCode=t,this.type=i,this.details=o,this.statusCode=t,this.type=i,this.details=o,this.name=this.constructor.name,Error.captureStackTrace(this,this.constructor)}static badRequest(e,t){return new o(e,400,i.BAD_REQUEST,t)}static notFound(e,t){return new o(e,404,i.NOT_FOUND,t)}static unauthorized(e,t){return new o(e,401,i.UNAUTHORIZED,t)}static forbidden(e,t){return new o(e,403,i.FORBIDDEN,t)}static internal(e,t){return new o(e,500,i.INTERNAL_SERVER_ERROR,t)}static validationError(e,t){return new o(e,422,i.VALIDATION_ERROR,t)}}t.AppError=o},3347:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.NewsletterUpdateDTO=t.NewsletterCreateDTO=void 0;const r=i(6325),s=i(284);class a{constructor(){this.subscribe=!0}validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(a,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"fullName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"phone",void 0),o([(0,r.IsEmail)(),n("design:type",String)],a.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Object)],a.prototype,"subscribe",void 0),t.NewsletterCreateDTO=a;class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"fullName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsEmail)(),n("design:type",String)],p.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],p.prototype,"subscribe",void 0),t.NewsletterUpdateDTO=p},3358:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(4136),t),n(i(9347),t),n(i(3742),t),n(i(5613),t),n(i(8177),t),n(i(7717),t),n(i(4259),t),n(i(523),t),n(i(4019),t),n(i(8047),t),n(i(1841),t),n(i(7280),t),n(i(3008),t),n(i(7461),t)},3370:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(4641),t)},3373:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(5792),t)},3404:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(5514),t)},3411:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2454),t)},3448:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(1746),t),n(i(2433),t),n(i(6075),t),n(i(5139),t),n(i(4787),t),n(i(1179),t),n(i(9445),t),n(i(5886),t),n(i(3770),t),n(i(9421),t),n(i(4611),t),n(i(5886),t),n(i(167),t),n(i(2463),t),n(i(2641),t),n(i(3469),t),n(i(7844),t),n(i(2090),t),n(i(5112),t),n(i(6694),t)},3469:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleOptions=t.VehicleUniqueFilter=t.VehicleFilter=t.VehicleCategoryOptions=t.VehicleCategoryUniqueFilter=t.VehicleCategoryFilter=t.VehicleFeatureCategoryOptions=t.VehicleFeatureCategoryUniqueFilter=t.VehicleFeatureCategoryFilter=t.VehicleFeatureOptions=t.VehicleFeatureUniqueFilter=t.VehicleFeatureFilter=t.VehicleBodyTypeOptions=t.VehicleBodyTypeUniqueFilter=t.VehicleBodyTypeFilter=t.VehicleModelOptions=t.VehicleModelUniqueFilter=t.VehicleModelFilter=t.VehicleMakeOptions=t.VehicleMakeUniqueFilter=t.VehicleMakeFilter=void 0;const r=i(284),s=i(6325),a=i(2446);class p extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(p,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],p.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],p.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",String)],p.prototype,"metaKeywords",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],p.prototype,"models",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],p.prototype,"vehicles",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"search",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],p.prototype,"promoted",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],p.prototype,"showInFooter",void 0),t.VehicleMakeFilter=p;class l extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(p,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],l.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],l.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],l.prototype,"name",void 0),t.VehicleMakeUniqueFilter=l;class d extends a.PaginationOptions{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(d,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleMakeOptions=d;class c extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(c,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],c.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],c.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],c.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",String)],c.prototype,"metaKeywords",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],c.prototype,"makes",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],c.prototype,"vehicles",void 0),t.VehicleModelFilter=c;class y extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(y,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],y.prototype,"name",void 0),t.VehicleModelUniqueFilter=y;class g extends a.PaginationOptions{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(g,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleModelOptions=g;class u extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(c,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],u.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],u.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],u.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],u.prototype,"vehicles",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],u.prototype,"models",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],u.prototype,"search",void 0),t.VehicleBodyTypeFilter=u;class v{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(c,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],v.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],v.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],v.prototype,"name",void 0),t.VehicleBodyTypeUniqueFilter=v;class I extends a.PaginationOptions{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(g,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleBodyTypeOptions=I;class O extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(c,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],O.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],O.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],O.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],O.prototype,"categories",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],O.prototype,"search",void 0),t.VehicleFeatureFilter=O;class f{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(c,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],f.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],f.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],f.prototype,"name",void 0),t.VehicleFeatureUniqueFilter=f;class h extends a.PaginationOptions{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(h,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleFeatureOptions=h;class S extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(S,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],S.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],S.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],S.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],S.prototype,"features",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],S.prototype,"search",void 0),t.VehicleFeatureCategoryFilter=S;class m{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(m,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],m.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],m.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],m.prototype,"name",void 0),t.VehicleFeatureCategoryUniqueFilter=m;class b extends a.PaginationOptions{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(b,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleFeatureCategoryOptions=b;class T extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(T,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],T.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],T.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],T.prototype,"name",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],T.prototype,"search",void 0),t.VehicleCategoryFilter=T;class P{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(P,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],P.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],P.prototype,"slug",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],P.prototype,"name",void 0),t.VehicleCategoryUniqueFilter=P;class D extends a.PaginationOptions{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(h,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleCategoryOptions=D;class N extends a.BaseFilter{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(N,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"referenceNumber",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"make",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"model",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"bodyType",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"vin",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"chassisNumber",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"trim",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"mileage",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"fuelType",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"color",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"engineCapacity",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"numberOfCylinders",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"cylinderCapacity",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"doors",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"seats",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"keys",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"wheelsType",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"airbags",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"transmission",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"driveType",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"emissions",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"year",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"price",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>a.NumberRange)),n("design:type",a.NumberRange)],N.prototype,"emi",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"status",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"includeReserved",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"includeUnpublished",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"includeSelfReserved",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"includeSold",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"includeDraft",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),n("design:type",Object)],N.prototype,"features",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],N.prototype,"search",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],N.prototype,"warranty",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],N.prototype,"compareCarId",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"specialDeals",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Object)],N.prototype,"isPostedOnDubiCars",void 0),o([(0,s.IsOptional)(),(0,s.Validate)(a.DateFilter),n("design:type",a.DateFilter)],N.prototype,"soldAt",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],N.prototype,"interiorColor",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"isBrandNew",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],N.prototype,"isPinned",void 0),t.VehicleFilter=N;class _{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(_,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],_.prototype,"id",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],_.prototype,"referenceNumber",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],_.prototype,"refId",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],_.prototype,"vin",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],_.prototype,"chassisNumber",void 0),t.VehicleUniqueFilter=_;class E extends a.PaginationOptions{validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,r.plainToClass)(E,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}t.VehicleOptions=E},3622:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.TestDriveRequestStatus=t.LeadThrough=void 0,(t.LeadThrough||(t.LeadThrough={})).WEBSITE="website",(i=t.TestDriveRequestStatus||(t.TestDriveRequestStatus={}))[i.NOT_CONTACTED=1]="NOT_CONTACTED",i[i.APPOINTMENT_CONFIRMED=2]="APPOINTMENT_CONFIRMED",i[i.FOLLOWED_UP_APPOINTMENT_DAY=3]="FOLLOWED_UP_APPOINTMENT_DAY",i[i.REQUESTED_CALL_BACK=4]="REQUESTED_CALL_BACK",i[i.FIRST_FOLLOW_UP=5]="FIRST_FOLLOW_UP",i[i.APPOINTMENT_NO_SHOW=6]="APPOINTMENT_NO_SHOW",i[i.SECOND_FOLLOW_UP=7]="SECOND_FOLLOW_UP",i[i.THIRD_FOLLOW_UP=8]="THIRD_FOLLOW_UP",i[i.FOURTH_FOLLOW_UP=9]="FOURTH_FOLLOW_UP",i[i.LAST_FOLLOW_UP=10]="LAST_FOLLOW_UP",i[i.ONGOING=11]="ONGOING",i[i.DEALING_VISITED=12]="DEALING_VISITED",i[i.CAR_BOOKED=13]="CAR_BOOKED",i[i.NO_DEAL_VISITED=14]="NO_DEAL_VISITED",i[i.PHONE_OFF=15]="PHONE_OFF",i[i.NO_ANSWER_TO_CALL=16]="NO_ANSWER_TO_CALL",i[i.CAR_NOT_IN_STOCK=17]="CAR_NOT_IN_STOCK",i[i.DISQUALIFIED=18]="DISQUALIFIED",i[i.WRONG_NUMBER=19]="WRONG_NUMBER"},3635:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.validateVIN=t.validateChassisNumber=void 0,t.validateChassisNumber=e=>!!/^[A-HJ-NPR-Z0-9]{15,20}$/.test(e)||"Invalid Chassis Number",t.validateVIN=e=>!!/^[A-HJ-NPR-Z0-9]{8}$/.test(e)||"Invalid VIN format"},3650:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(8235),t),n(i(4374),t)},3742:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},3770:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicModelDTO=t.VehicleModelUpdateDTO=t.VehicleModelCreateDTO=t.VehicleModelGetUniqueDTO=t.VehicleModelGetDTO=void 0;const r=i(6325),s=i(284),a=i(1746),p=i(5613),l=i(8047);class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleModelGetDTO=d;class c{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}toPlain(){return(0,s.instanceToPlain)(this)}}t.VehicleModelGetUniqueDTO=c;class y extends a.BaseCreateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(y,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),(0,r.IsDefined)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],y.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"image",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"description",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"metaTitle",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"metaDescription",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"metaKeywords",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>l.VehicleMake)),n("design:type",l.VehicleMake)],y.prototype,"make",void 0),o([(0,r.ValidateNested)({each:!0}),(0,s.Type)((()=>p.Vehicle)),n("design:type",Array)],y.prototype,"vehicles",void 0),t.VehicleModelCreateDTO=y;class g extends a.BaseUpdateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(g,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],g.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"image",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"description",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"metaTitle",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"metaDescription",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"metaKeywords",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],g.prototype,"isActive",void 0),t.VehicleModelUpdateDTO=g;class u{validate(){if(!this.existingId&&!this.new)throw new Error("Either existingId or new details must be provided.")}static fromPlain(e){return(0,s.plainToClass)(u,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"existingId",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>y)),(0,r.IsOptional)(),n("design:type",y)],u.prototype,"new",void 0),t.DynamicModelDTO=u},3989:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2906),t)},4019:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleFinance=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleFinance=n},4032:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(3278),t),n(i(5289),t)},4136:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseModel=void 0,t.BaseModel=class{}},4259:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleFeature=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleFeature=n},4363:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.FaqCategory=void 0,(i=t.FaqCategory||(t.FaqCategory={})).FINANCE="FINANCE",i.SELL_CAR="SELL_CAR",i.BUY_CAR="BUY_CAR",i.HOME_PAGE="HOME_PAGE"},4374:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.LeadStatus=void 0,(i=t.LeadStatus||(t.LeadStatus={})).NEW="NEW",i.CONTACTED="CONTACTED",i.QUALIFIED="QUALIFIED",i.NEGOTIATING="NEGOTIATING",i.CLOSED_WON="CLOSED_WON",i.CLOSED_LOST="CLOSED_LOST"},4443:e=>{e.exports=require("reflect-metadata")},4611:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicVehicleBodyTypeDTO=t.VehicleBodyTypeUpdateDTO=t.VehicleBodyTypeCreateDTO=t.VehicleBodyTypeGetUniqueDTO=t.VehicleBodyTypeGetDTO=void 0;const r=i(6325),s=i(284),a=i(1746);class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleBodyTypeGetDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleBodyTypeGetUniqueDTO=l;class d extends a.BaseCreateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),n("design:type",String)],d.prototype,"name",void 0),t.VehicleBodyTypeCreateDTO=d;class c{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"name",void 0),t.VehicleBodyTypeUpdateDTO=c;class y{validate(){if(!this.existingId&&!this.new)throw new Error("Either existingId or new details must be provided.")}static fromPlain(e){return(0,s.plainToClass)(y,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"existingId",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>d)),(0,r.IsOptional)(),n("design:type",d)],y.prototype,"new",void 0),t.DynamicVehicleBodyTypeDTO=y},4641:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.GetVehicleReservationsFilterDto=t.GetVehicleReservationsDTO=t.VehicleReservationsOptions=t.UpdateVehicleReservationDto=t.VehicleReservationResponseDto=t.VehicleReservationDto=t.CreateVehicleReservationDto=void 0;const r=i(6325),s=i(800),a=i(6768),p=i(284),l=i(2446),d=i(7594),c=i(1217);class y{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,p.plainToClass)(y,e)}toPlain(){return(0,p.classToPlain)(this)}}o([(0,r.IsUUID)(),(0,r.ValidateIf)((e=>!e.newLead)),n("design:type",String)],y.prototype,"leadId",void 0),o([(0,r.ValidateNested)(),(0,p.Type)((()=>d.LeadCreateDTO)),(0,r.ValidateIf)((e=>!e.leadId)),n("design:type",d.LeadCreateDTO)],y.prototype,"newLead",void 0),o([(0,r.IsUUID)(),n("design:type",String)],y.prototype,"vehicleId",void 0),o([(0,r.IsEnum)(s.FinanceType),n("design:type",String)],y.prototype,"financeType",void 0),o([(0,r.IsNumber)(),(0,r.Min)(0),(0,r.IsOptional)(),n("design:type",Number)],y.prototype,"depositAmount",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"depositPaymentMethod",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],y.prototype,"totalAmount",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"notes",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"assignedSalesRepId",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"bankName",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],y.prototype,"loanAmount",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],y.prototype,"loanTenureMonths",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],y.prototype,"interestRate",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],y.prototype,"marketing",void 0),t.CreateVehicleReservationDto=y;class g{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,p.plainToClass)(y,e)}toPlain(){return(0,p.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"vehicleId",void 0),o([(0,r.IsEnum)(s.FinanceType),n("design:type",String)],g.prototype,"financeType",void 0),o([(0,r.IsNumber)(),(0,r.Min)(0),(0,r.IsOptional)(),n("design:type",Number)],g.prototype,"depositAmount",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"depositPaymentMethod",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],g.prototype,"totalAmount",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"notes",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"assignedSalesRepId",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"bankName",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],g.prototype,"loanAmount",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],g.prototype,"loanTenureMonths",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],g.prototype,"interestRate",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],g.prototype,"marketing",void 0),t.VehicleReservationDto=g,t.VehicleReservationResponseDto=class{};class u{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,p.plainToClass)(u,e)}toPlain(){return(0,p.classToPlain)(this)}}o([(0,r.IsEnum)(a.ReservationStatus),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"status",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],u.prototype,"depositAmount",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"depositPaymentMethod",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],u.prototype,"isDepositPaid",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],u.prototype,"totalAmount",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"bankName",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],u.prototype,"loanAmount",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],u.prototype,"loanTenureMonths",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"notes",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"cancellationReason",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"assignedSalesRepId",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"financeRejectionReason",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],u.prototype,"financeApprovedAt",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],u.prototype,"financeRejectedAt",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],u.prototype,"cancelledAt",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],u.prototype,"isActive",void 0),t.UpdateVehicleReservationDto=u;class v extends l.PaginationOptions{static fromPlain(e){return(0,p.plainToClass)(O,e)}toPlain(){return(0,p.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,p.Type)((()=>c.SortDTO)),n("design:type",Object)],v.prototype,"sort",void 0),t.VehicleReservationsOptions=v;class I{static fromPlain(e){return(0,p.plainToClass)(I,e)}toPlain(){return(0,p.classToPlain)(this)}}t.GetVehicleReservationsDTO=I;class O{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,p.plainToClass)(O,e)}toPlain(){return(0,p.classToPlain)(this)}}o([(0,r.IsOptional)(),n("design:type",String)],O.prototype,"search",void 0),o([(0,r.IsEnum)(a.ReservationStatus),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"status",void 0),o([(0,r.IsEnum)(a.ReservationStatus),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"exceptStatus",void 0),o([(0,r.IsEnum)(s.FinanceType),(0,r.IsOptional)(),(0,r.IsArray)(),n("design:type",Array)],O.prototype,"financeTypes",void 0),o([(0,r.IsEnum)(s.FinanceType),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"financeType",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"vehicleId",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",l.DateFilter)],O.prototype,"createdAt",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"leadId",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],O.prototype,"isActive",void 0),t.GetVehicleReservationsFilterDto=O},4739:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2307),t),n(i(3622),t),n(i(9418),t),n(i(2731),t)},4787:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicVehicleFeatureDTO=t.VehicleFeaturedUpdateDTO=t.VehicleFeaturedCreateDTO=t.VehicleFeaturedGetUniqueDTO=t.VehicleFeaturedGetDTO=void 0;const r=i(6325),s=i(284),a=i(1746);class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleFeaturedGetDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleFeaturedGetUniqueDTO=l;class d extends a.BaseCreateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),(0,r.IsDefined)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],d.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"icon",void 0),t.VehicleFeaturedCreateDTO=d;class c extends a.BaseUpdateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],c.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"icon",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"slug",void 0),t.VehicleFeaturedUpdateDTO=c;class y{validate(){if(!this.existingId&&!this.new)throw new Error("Either existingId or new details must be provided.")}static fromPlain(e){return(0,s.plainToClass)(y,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"existingId",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>d)),(0,r.IsOptional)(),n("design:type",d)],y.prototype,"new",void 0),t.DynamicVehicleFeatureDTO=y},5084:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateReviewShowPublicDTO=t.CreateReviewDTO=t.UpdateReviewDTO=t.ReviewOptions=t.ReviewFilter=t.ReviewGetDTO=t.GoogleReviewResponseDTO=t.SaveGoogleReviewDTO=t.FetchGoogleReviewsDTO=t.GoogleReviewDTO=t.ReviewDTO=void 0;const r=i(6325),s=i(284),a=i(5289);class p{}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),n("design:type",String)],p.prototype,"id",void 0),o([(0,r.IsString)(),(0,r.Length)(1,100),n("design:type",String)],p.prototype,"username",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"photo",void 0),o([(0,r.IsEnum)(a.ReviewPlatform),n("design:type",String)],p.prototype,"platform",void 0),o([(0,r.IsString)(),(0,r.Length)(1,1e3),n("design:type",String)],p.prototype,"comment",void 0),o([(0,r.IsNumber)(),(0,r.Min)(1),(0,r.Max)(5),n("design:type",Number)],p.prototype,"minRating",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],p.prototype,"showPublic",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"placeId",void 0),o([(0,s.Type)((()=>Date)),(0,r.IsDate)(),n("design:type",Date)],p.prototype,"createdAt",void 0),o([(0,s.Type)((()=>Date)),(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],p.prototype,"updatedAt",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"authorUrl",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],p.prototype,"profilePhotoUrl",void 0),t.ReviewDTO=p;class l{}o([(0,r.IsString)(),(0,r.Length)(1,100),n("design:type",String)],l.prototype,"authorName",void 0),o([(0,r.IsUrl)(),(0,r.IsOptional)(),n("design:type",String)],l.prototype,"authorUrl",void 0),o([(0,r.IsUrl)(),(0,r.IsOptional)(),n("design:type",String)],l.prototype,"profilePhotoUrl",void 0),o([(0,r.IsNumber)(),(0,r.Min)(1),(0,r.Max)(5),n("design:type",Number)],l.prototype,"rating",void 0),o([(0,r.IsString)(),(0,r.Length)(1,1e3),n("design:type",String)],l.prototype,"text",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"time",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],l.prototype,"relativeTimeDescription",void 0),o([(0,r.IsString)(),n("design:type",String)],l.prototype,"placeId",void 0),t.GoogleReviewDTO=l;class d{constructor(){this.fetch=!1}}o([(0,r.IsString)(),(0,r.Length)(1,100),n("design:type",String)],d.prototype,"placeId",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],d.prototype,"fetch",void 0),t.FetchGoogleReviewsDTO=d;class c{constructor(){this.showPublic=!0}}o([(0,r.IsString)(),(0,r.Length)(1,100),n("design:type",String)],c.prototype,"username",void 0),o([(0,r.IsNumber)(),(0,r.Min)(1),(0,r.Max)(5),n("design:type",Number)],c.prototype,"rating",void 0),o([(0,r.IsString)(),(0,r.Length)(1,1e3),n("design:type",String)],c.prototype,"comment",void 0),o([(0,s.Type)((()=>Date)),(0,r.IsDate)(),n("design:type",Date)],c.prototype,"date",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],c.prototype,"showPublic",void 0),t.SaveGoogleReviewDTO=c,t.GoogleReviewResponseDTO=class{};class y{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(y,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"id",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"placeId",void 0),o([(0,r.IsEnum)(a.ReviewPlatform),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"platform",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"comment",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"username",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"photo",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),(0,s.Transform)((({value:e})=>"true"===e||"false"!==e&&e)),n("design:type",Boolean)],y.prototype,"showPublic",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,r.Max)(5),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],y.prototype,"minRating",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,r.Max)(5),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],y.prototype,"maxRating",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(0),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],y.prototype,"skip",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],y.prototype,"take",void 0),t.ReviewGetDTO=y;class g{}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"placeId",void 0),o([(0,r.IsEnum)(a.ReviewPlatform),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"platform",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"comment",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"username",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),(0,s.Transform)((({value:e})=>"true"===e||"false"!==e&&e)),n("design:type",Boolean)],g.prototype,"showPublic",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"search",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,r.Max)(5),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],g.prototype,"minRating",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,r.Max)(5),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],g.prototype,"maxRating",void 0),t.ReviewFilter=g;class u{}o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(0),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],u.prototype,"skip",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],u.prototype,"take",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"orderBy",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"orderDirection",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],u.prototype,"page",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,s.Transform)((({value:e})=>e?Number(e):void 0)),n("design:type",Number)],u.prototype,"limit",void 0),t.ReviewOptions=u;class v{}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),n("design:type",String)],v.prototype,"id",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Length)(1,100),n("design:type",String)],v.prototype,"username",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],v.prototype,"photo",void 0),o([(0,r.IsEnum)(a.ReviewPlatform),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"platform",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Length)(1,1e3),n("design:type",String)],v.prototype,"comment",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,r.Max)(5),n("design:type",Number)],v.prototype,"rating",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],v.prototype,"showPublic",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"placeId",void 0),o([(0,s.Type)((()=>Date)),(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],v.prototype,"updatedAt",void 0),t.UpdateReviewDTO=v;class I{}o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Length)(1,100),n("design:type",String)],I.prototype,"username",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"photo",void 0),o([(0,r.IsEnum)(a.ReviewPlatform),(0,r.IsOptional)(),n("design:type",String)],I.prototype,"platform",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Length)(1,1e3),n("design:type",String)],I.prototype,"comment",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),(0,r.Min)(1),(0,r.Max)(5),n("design:type",Number)],I.prototype,"rating",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],I.prototype,"showPublic",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],I.prototype,"placeId",void 0),o([(0,s.Type)((()=>Date)),(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],I.prototype,"date",void 0),t.CreateReviewDTO=I;class O{}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),n("design:type",String)],O.prototype,"id",void 0),o([(0,r.IsBoolean)(),(0,r.IsNotEmpty)(),n("design:type",Boolean)],O.prototype,"showPublic",void 0),t.UpdateReviewShowPublicDTO=O},5112:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleWarrantyDTO=void 0;const r=i(8551),s=i(6325),a=i(284);class p{constructor(e,t){this.year=e,this.km=t}toString(){return`Until ${this.year} or ${this.km}Kms`}validate(){const e=(0,s.validateSync)(this);return this.year||this.km?e.map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat():["Either year or km must be provided"]}static fromPlain(e){return(0,a.plainToClass)(p,e)}}o([(0,s.IsOptional)(),(0,s.IsEnum)(r.VehicleWarrantyYearType),(0,s.ValidateIf)((e=>void 0===e.km||null===e.km)),n("design:type",String)],p.prototype,"year",void 0),o([(0,s.IsOptional)(),(0,s.IsNumber)(),(0,s.ValidateIf)((e=>void 0===e.year||null===e.year)),n("design:type",Number)],p.prototype,"km",void 0),t.VehicleWarrantyDTO=p},5139:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicVehicleFeatureCategoryDTO=t.VehicleFeatureCategoryUpdateDTO=t.VehicleFeatureCategoryCreateDTO=t.VehicleFeatureCategoryGetUniqueDTO=t.VehicleFeatureCategoryGetDTO=void 0;const r=i(6325),s=i(284),a=i(1746);class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleFeatureCategoryGetDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleFeatureCategoryGetUniqueDTO=l;class d extends a.BaseCreateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),(0,r.IsDefined)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],d.prototype,"name",void 0),t.VehicleFeatureCategoryCreateDTO=d;class c extends a.BaseUpdateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],c.prototype,"name",void 0),t.VehicleFeatureCategoryUpdateDTO=c;class y{constructor(e){this.existingId=e.existingId,this.new=e.new}validate(){if(!this.existingId&&!this.new)throw new Error("Either existingId or new details must be provided.")}static fromPlain(e){return(0,s.plainToClass)(y,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"existingId",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>d)),(0,r.IsOptional)(),n("design:type",d)],y.prototype,"new",void 0),t.DynamicVehicleFeatureCategoryDTO=y},5289:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.ReviewPlatform=void 0,(i=t.ReviewPlatform||(t.ReviewPlatform={})).GOOGLE="Google",i.DUBAI_REVIEW="DubaiReview"},5514:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseGetDTO=void 0;const o=i(6325),n=i(284);t.BaseGetDTO=class{validate(){return(0,o.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,n.plainToClass)(this,e)}static toPlain(e){return(0,n.instanceToPlain)(e)}}},5524:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2660),t)},5613:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleDraft=t.Vehicle=void 0;const o=i(284),n=i(4136);class r extends n.BaseModel{static fromPlain(e){return(0,o.plainToClass)(r,e)}toPlain(){return(0,o.instanceToPlain)(this)}}t.Vehicle=r,t.VehicleDraft=class{}},5792:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0});const o=i(6894);t.default=async()=>(await(0,o.apiRequest)(o.API_ENDPOINTS.TestDrive.getAll.toString())).data.result},5886:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleMediaUpdateDTO=t.S3MediaCreateURLDTO=t.VehicleMediaCreateS3UrlDTO=t.VehicleMediaFilterDTO=t.VehicleMediaCreateDTO=void 0;const r=i(6325),s=i(8551),a=i(284);class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,a.plainToClass)(p,e)}static toPlain(e){return(0,a.instanceToPlain)(e)}}o([(0,r.IsString)({each:!0}),n("design:type",String)],p.prototype,"vehicleId",void 0),o([(0,r.IsEnum)(s.VehicleMediaType),n("design:type",String)],p.prototype,"mediaType",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"mediaUrl",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"placeholder",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"thumbnailUrl",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"mediaIndex",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsBoolean)(),n("design:type",Boolean)],p.prototype,"isPrimary",void 0),t.VehicleMediaCreateDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,a.plainToClass)(l,e)}}o([(0,r.IsString)({each:!0}),(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"id",void 0),o([(0,r.IsString)({each:!0}),(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"vehicleId",void 0),o([(0,r.IsEnum)(s.VehicleMediaType,{each:!0}),(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"mediaType",void 0),o([(0,r.IsString)({each:!0}),(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"mediaUrl",void 0),o([(0,r.IsString)({each:!0}),(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"thumbnailUrl",void 0),o([(0,r.IsString)({each:!0}),(0,r.IsOptional)(),n("design:type",Boolean)],l.prototype,"isPrimary",void 0),t.VehicleMediaFilterDTO=l,t.VehicleMediaCreateS3UrlDTO=class{constructor(){}};class d{}o([(0,r.IsString)(),n("design:type",String)],d.prototype,"vehicleId",void 0),o([(0,r.IsString)(),n("design:type",String)],d.prototype,"folder",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsArray)(),n("design:type",Array)],d.prototype,"files",void 0),t.S3MediaCreateURLDTO=d;class c{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,a.plainToClass)(c,e)}static toPlain(e){return(0,a.instanceToPlain)(e)}}o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.ValidateNested)({each:!0}),(0,a.Type)((()=>p)),n("design:type",Array)],c.prototype,"data",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],c.prototype,"replace",void 0),o([(0,r.ValidateNested)(),(0,a.Type)((()=>l)),n("design:type",l)],c.prototype,"filter",void 0),t.VehicleMediaUpdateDTO=c},6053:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(643),t)},6075:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicVehicleDTO=t.VehicleUpdateDTO=t.VehicleFeaturesUpdateDTO=t.VehicleCreateDTO=t.VehicleMetaDataDTO=t.VehicleGetUniqueDTO=t.VehicleGetDTO=void 0;const r=i(6325),s=i(284),a=i(1746),p=i(9445),l=i(3770),d=i(4611),c=i(5886),y=i(3469),g=i(1179),u=i(8551);class v{constructor(e=!0){e&&(this.validate=(e=!0)=>e?(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat():[])}static fromPlain(e){return(0,s.plainToClass)(v,e,{enableImplicitConversion:!0})}toPlain(){return(0,s.instanceToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>y.VehicleFilter)),n("design:type",y.VehicleFilter)],v.prototype,"filter",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>y.VehicleOptions)),n("design:type",y.VehicleOptions)],v.prototype,"options",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>Function)),n("design:type",Function)],v.prototype,"validate",void 0),t.VehicleGetDTO=v;class I{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(I,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>y.VehicleUniqueFilter)),n("design:type",y.VehicleUniqueFilter)],I.prototype,"filter",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>y.VehicleOptions)),n("design:type",Object)],I.prototype,"options",void 0),t.VehicleGetUniqueDTO=I;class O{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(O,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],O.prototype,"metaTitle",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],O.prototype,"metaDescription",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],O.prototype,"metaKeywords",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],O.prototype,"vehicleDescription",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"vehicleId",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.ValidateNested)({each:!0}),(0,s.Type)((()=>Object)),n("design:type",Object)],O.prototype,"others",void 0),t.VehicleMetaDataDTO=O;class f extends a.BaseCreateDTO{validate(){const e=(0,r.validateSync)(this),t=[];return this.warrantyYears||this.warrantyKm||t.push("Either warranty years or warranty kilometers must be provided"),this.serviceContractYears||this.serviceContractKm||t.push("Either service contract years or service contract kilometers must be provided"),[...e.map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat(),...t]}static fromPlain(e){return(0,s.plainToClass)(f,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"title",void 0),o([(0,r.IsNotEmpty)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.DynamicMakeDTO)),n("design:type",p.DynamicMakeDTO)],f.prototype,"make",void 0),o([(0,r.IsNotEmpty)(),(0,r.ValidateNested)(),(0,s.Type)((()=>l.DynamicModelDTO)),n("design:type",l.DynamicModelDTO)],f.prototype,"model",void 0),o([(0,r.IsNotEmpty)(),(0,r.ValidateNested)(),(0,s.Type)((()=>d.DynamicVehicleBodyTypeDTO)),n("design:type",d.DynamicVehicleBodyTypeDTO)],f.prototype,"bodyType",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"vin",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"vehicleSpec",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"chassisNumber",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"trim",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"mileage",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"odometer",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"fuelType",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"color",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"engineCapacity",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"numberOfCylinders",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"evRange",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"cylinderCapacity",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"doors",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"seats",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"keys",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"wheelsType",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"airbags",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"transmission",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"driveType",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"emissions",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(u.VehicleWarrantyYearType),n("design:type",String)],f.prototype,"warrantyYears",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"warrantyKm",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"warranty",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(u.VehicleWarrantyYearType),n("design:type",String)],f.prototype,"serviceContractYears",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"serviceContractKm",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"serviceContract",void 0),o([(0,r.IsArray)(),(0,r.IsOptional)(),(0,r.ValidateNested)({each:!0}),(0,s.Type)((()=>c.VehicleMediaCreateDTO)),n("design:type",Array)],f.prototype,"media",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)({each:!0}),(0,s.Type)((()=>g.VehicleFinanceCreateDTO)),n("design:type",g.VehicleFinanceCreateDTO)],f.prototype,"finance",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"year",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),n("design:type",Number)],f.prototype,"price",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"status",void 0),o([(0,r.IsArray)(),(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Array)],f.prototype,"features",void 0),o([(0,r.ValidateNested)(),(0,r.IsOptional)(),(0,s.Type)((()=>O)),n("design:type",O)],f.prototype,"metaData",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"marketingTitle",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"batteryWarranty",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],f.prototype,"interiorColor",void 0),o([(0,r.IsOptional)(),n("design:type",Boolean)],f.prototype,"isDraft",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],f.prototype,"isBrandNew",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],f.prototype,"isPinned",void 0),o([(0,r.IsOptional)(),n("design:type",Number)],f.prototype,"pageNo",void 0),t.VehicleCreateDTO=f;class h{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(h,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],h.prototype,"data",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],h.prototype,"replace",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),(0,s.Transform)((({value:e})=>Array.isArray(e)?e:[e])),n("design:type",Object)],h.prototype,"filter",void 0),t.VehicleFeaturesUpdateDTO=h;class S extends a.BaseUpdateDTO{validate(){const e=(0,r.validateSync)(this),t=[];return void 0===this.warrantyYears&&void 0===this.warrantyKm||this.warrantyYears||this.warrantyKm||t.push("Either warranty years or warranty kilometers must be provided"),void 0===this.serviceContractYears&&void 0===this.serviceContractKm||this.serviceContractYears||this.serviceContractKm||t.push("Either service contract years or service contract kilometers must be provided"),[...e.map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat(),...t]}static fromPlain(e){return(0,s.plainToClass)(S,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"title",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.DynamicMakeDTO)),n("design:type",p.DynamicMakeDTO)],S.prototype,"make",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>l.DynamicModelDTO)),n("design:type",l.DynamicModelDTO)],S.prototype,"model",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>d.DynamicVehicleBodyTypeDTO)),n("design:type",d.DynamicVehicleBodyTypeDTO)],S.prototype,"bodyType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"vin",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"chassisNumber",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"trim",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"mileage",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"fuelType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"color",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"engineCapacity",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"numberOfCylinders",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"evRange",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"cylinderCapacity",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"doors",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"seats",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"keys",void 0),o([(0,r.IsNotEmpty)(),(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],S.prototype,"odometer",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"wheelsType",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"airbags",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"transmission",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"driveType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"emissions",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(u.VehicleWarrantyYearType),n("design:type",String)],S.prototype,"warrantyYears",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"warrantyKm",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(u.VehicleWarrantyYearType),n("design:type",String)],S.prototype,"serviceContractYears",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"serviceContractKm",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.ValidateNested)({each:!0}),(0,s.Type)((()=>c.VehicleMediaUpdateDTO)),n("design:type",c.VehicleMediaUpdateDTO)],S.prototype,"media",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"year",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],S.prototype,"price",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"status",void 0),o([(0,r.IsOptional)(),n("design:type",Boolean)],S.prototype,"isDraft",void 0),o([(0,r.IsOptional)(),n("design:type",Number)],S.prototype,"pageNo",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"marketingTitle",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"batteryWarranty",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],S.prototype,"interiorColor",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],S.prototype,"isBrandNew",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],S.prototype,"isPinned",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>h)),n("design:type",h)],S.prototype,"features",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>O)),n("design:type",O)],S.prototype,"metaData",void 0),t.VehicleUpdateDTO=S;class m{validate(){if(!this.existingId&&!this.new)throw new Error("Either an existing vehicle or new vehicle details must be provided.")}}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],m.prototype,"existingId",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>f)),(0,r.IsOptional)(),n("design:type",f)],m.prototype,"new",void 0),t.DynamicVehicleDTO=m},6297:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(9935),t)},6325:e=>{e.exports=require("class-validator")},6536:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(7594),t),n(i(7255),t),n(i(8001),t),n(i(2143),t)},6590:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(25),t)},6618:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(4739),t),n(i(3373),t)},6626:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2660),t)},6694:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ColorCreateDTO=t.ColorFilterDTO=void 0;const r=i(6325);class s{}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],s.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),(0,r.IsEnum)(["en","ar","ru","zh"]),n("design:type",String)],s.prototype,"language",void 0),t.ColorFilterDTO=s;class a{}o([(0,r.IsString)(),n("design:type",String)],a.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"nameArabic",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"nameRussian",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],a.prototype,"nameChinese",void 0),t.ColorCreateDTO=a},6723:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Bank=void 0,t.Bank=class{}},6768:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.ReservationStatus=void 0,(i=t.ReservationStatus||(t.ReservationStatus={})).PENDING="PENDING",i.CONFIRMED="CONFIRMED",i.CANCELLED="CANCELLED",i.COMPLETED="COMPLETED",i.AWAITING_FINANCE="AWAITING_FINANCE",i.FINANCE_APPROVED="FINANCE_APPROVED",i.FINANCE_REJECTED="FINANCE_REJECTED"},6894:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(1599),t),n(i(1395),t),n(i(2269),t),n(i(9655),t),n(i(7900),t)},7060:(e,t)=>{var i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.TicketStatusType=t.TicketRequestType=void 0,(o=t.TicketRequestType||(t.TicketRequestType={})).WARRANTY="Warranty",o.REFUND="Refund",o.TEST_DRIVE="Test Drive",o.CAR_VIEWING="Car Viewing",o.COMPLAINT="Complaint",o.SUPPORT="Support",o.BUYING_A_CAR="Buying a Car",o.SELLING_A_CAR="Selling a Car",o.AFTERCARE="Aftercare",o.OTHER="Other",(i=t.TicketStatusType||(t.TicketStatusType={})).OPEN="Open",i.IN_PROGRESS="In Progress",i.RESOLVED="Resolved",i.CLOSED="Closed"},7218:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Color=void 0,t.Color=class{}},7255:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.LeadPreferenceHistoryGetDTO=t.LeadPreferenceHistoryFilter=t.LeadPreferenceHistoryCreateDTO=t.LeadPreferenceHistoryDTO=t.FuelType=t.TransmissionType=t.CarCondition=void 0;const r=i(6325),s=i(284),a=i(2446),p=i(7594),l=i(6894);var d,c,y;!function(e){e.NEW="NEW",e.USED="USED",e.BOTH="BOTH"}(d=t.CarCondition||(t.CarCondition={})),function(e){e.AUTOMATIC="AUTOMATIC",e.MANUAL="MANUAL",e.BOTH="BOTH"}(c=t.TransmissionType||(t.TransmissionType={})),function(e){e.PETROL="PETROL",e.DIESEL="DIESEL",e.ELECTRIC="ELECTRIC",e.HYBRID="HYBRID",e.ANY="ANY"}(y=t.FuelType||(t.FuelType={}));class g{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(g,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>p.LeadDTO)),n("design:type",p.LeadDTO)],g.prototype,"lead",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"budgetMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"budgetMax",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],g.prototype,"preferredMake",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],g.prototype,"preferredModel",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"preferredYearMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"preferredYearMax",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],g.prototype,"preferredColors",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],g.prototype,"preferredFeatures",void 0),o([(0,r.IsEnum)(d),n("design:type",String)],g.prototype,"carCondition",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],g.prototype,"transmissionType",void 0),o([(0,r.IsEnum)(y),n("design:type",String)],g.prototype,"fuelType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],g.prototype,"additionalPreferences",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],g.prototype,"changeReason",void 0),o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"changedByUserId",void 0),o([(0,r.IsString)(),n("design:type",Date)],g.prototype,"createdAt",void 0),o([(0,r.IsString)(),n("design:type",Date)],g.prototype,"updatedAt",void 0),t.LeadPreferenceHistoryDTO=g;class u{constructor(){this.carCondition=d.BOTH,this.transmissionType=c.BOTH,this.fuelType=y.ANY}validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(u,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],u.prototype,"leadId",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"budgetMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"budgetMax",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],u.prototype,"preferredMake",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],u.prototype,"preferredModel",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"preferredYearMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"preferredYearMax",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],u.prototype,"preferredColors",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],u.prototype,"preferredFeatures",void 0),o([(0,r.IsEnum)(d),n("design:type",String)],u.prototype,"carCondition",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],u.prototype,"transmissionType",void 0),o([(0,r.IsEnum)(y),n("design:type",String)],u.prototype,"fuelType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],u.prototype,"additionalPreferences",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"changeReason",void 0),o([(0,r.IsUUID)(),n("design:type",String)],u.prototype,"changedByUserId",void 0),t.LeadPreferenceHistoryCreateDTO=u;class v extends a.TypedFilter{}o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"id",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"leadId",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>l.Range)),n("design:type",l.Range)],v.prototype,"budgetRange",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],v.prototype,"make",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],v.prototype,"model",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>l.Range)),n("design:type",l.Range)],v.prototype,"yearRange",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],v.prototype,"colors",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],v.prototype,"features",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(d,{each:!0}),n("design:type",Object)],v.prototype,"carCondition",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(c,{each:!0}),n("design:type",Object)],v.prototype,"transmissionType",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(y,{each:!0}),n("design:type",Object)],v.prototype,"fuelType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],v.prototype,"changedByUserId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],v.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>Date)),n("design:type",Date)],v.prototype,"fromDate",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>Date)),n("design:type",Date)],v.prototype,"toDate",void 0),t.LeadPreferenceHistoryFilter=v;class I extends a.BaseGetDTO{}o([(0,r.ValidateNested)(),(0,s.Type)((()=>v)),(0,r.IsOptional)(),n("design:type",v)],I.prototype,"filters",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>a.TypedOptions)),(0,r.IsOptional)(),n("design:type",a.TypedOptions)],I.prototype,"options",void 0),t.LeadPreferenceHistoryGetDTO=I},7280:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleMetaData=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleMetaData=n},7392:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(6297),t)},7452:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(7060),t),n(i(46),t)},7461:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleOrder=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleOrder=n},7594:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.LeadGetDTO=t.LeadOptions=t.LeadFilter=t.LeadCreateDTO=t.LeadUpdateDTO=t.LeadDTO=void 0;const r=i(6325),s=i(4374),a=i(8235),p=i(8001),l=i(8001),d=i(284),c=i(2490),y=i(2446);class g{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,d.plainToClass)(g,e)}toPlain(){return(0,d.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"firstName",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"lastName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],g.prototype,"email",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"phone",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"alternatePhone",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"address",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"city",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"state",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"zipCode",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"notes",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],g.prototype,"isTestDriveScheduled",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",Date)],g.prototype,"testDriveDate",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],g.prototype,"isActive",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],g.prototype,"lastContactedAt",void 0),o([(0,r.IsOptional)(),n("design:type",p.LeadPreferencesDTO)],g.prototype,"preference",void 0),o([(0,r.IsOptional)(),n("design:type",Array)],g.prototype,"deposits",void 0),t.LeadDTO=g;class u{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,d.plainToClass)(u,e)}toPlain(){return(0,d.classToPlain)(this)}}o([(0,r.IsString)(),(0,r.MinLength)(2),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"firstName",void 0),o([(0,r.IsString)(),(0,r.MinLength)(2),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"lastName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],u.prototype,"email",void 0),o([(0,r.IsString)(),(0,r.MinLength)(8),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"phone",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"alternatePhone",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"address",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"city",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"state",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"zipCode",void 0),o([(0,r.IsEnum)(s.LeadStatus),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"status",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"notes",void 0),o([(0,r.IsEnum)(a.LeadSource),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"leadSource",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],u.prototype,"isTestDriveScheduled",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],u.prototype,"testDriveDate",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],u.prototype,"isActive",void 0),o([(0,r.ValidateNested)(),(0,d.Type)((()=>p.LeadPreferencesDTO)),(0,r.IsOptional)(),n("design:type",p.LeadPreferencesDTO)],u.prototype,"preference",void 0),t.LeadUpdateDTO=u;class v{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,d.plainToClass)(v,e)}toPlain(){return(0,d.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],v.prototype,"firstName",void 0),o([(0,r.IsString)(),n("design:type",String)],v.prototype,"lastName",void 0),o([(0,r.IsString)(),(0,r.IsEmail)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"email",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],v.prototype,"phone",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"alternatePhone",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"address",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"city",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"state",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"country",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"zipCode",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"company",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"jobTitle",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"notes",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"source",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"status",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"assignedTo",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"leadType",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"leadStage",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],v.prototype,"rating",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],v.prototype,"isQualified",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],v.prototype,"lastContactDate",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"lastContactType",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],v.prototype,"totalInteractions",void 0),o([(0,r.ValidateNested)(),(0,d.Type)((()=>l.LeadPreferencesCreateDTO)),(0,r.IsOptional)(),n("design:type",l.LeadPreferencesCreateDTO)],v.prototype,"preference",void 0),t.LeadCreateDTO=v;class I extends c.TypedFilter{}o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],I.prototype,"id",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],I.prototype,"firstName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],I.prototype,"lastName",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],I.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],I.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(s.LeadStatus,{each:!0}),n("design:type",Object)],I.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(a.LeadSource,{each:!0}),n("design:type",Object)],I.prototype,"leadSource",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],I.prototype,"isTestDriveScheduled",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],I.prototype,"isActive",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,d.Type)((()=>Date)),(0,r.ValidateNested)(),n("design:type",Date)],I.prototype,"lastContactedAt",void 0),o([(0,r.IsOptional)(),(0,d.Type)((()=>Date)),n("design:type",Date)],I.prototype,"fromDate",void 0),o([(0,r.IsOptional)(),(0,d.Type)((()=>Date)),n("design:type",Date)],I.prototype,"toDate",void 0),t.LeadFilter=I;class O extends c.TypedOptions{}t.LeadOptions=O;class f extends y.BaseGetDTO{static fromPlain(e){return(0,d.plainToClass)(this,e)}toPlain(){return(0,d.classToPlain)(this)}}o([(0,r.ValidateNested)(),(0,d.Type)((()=>I)),(0,r.IsOptional)(),n("design:type",I)],f.prototype,"filters",void 0),o([(0,r.ValidateNested)(),(0,d.Type)((()=>O)),(0,r.IsOptional)(),n("design:type",O)],f.prototype,"options",void 0),t.LeadGetDTO=f},7607:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},7717:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleCategory=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleCategory=n},7745:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TicketDocument=t.TicketMessage=t.Ticket=void 0,t.Ticket=class{},t.TicketMessage=class{},t.TicketDocument=class{}},7796:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateFaqDTO=t.MultilingualContent=void 0;const r=i(284),s=i(6325),a=i(4363);class p{}o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"en",void 0),o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"ar",void 0),o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"ru",void 0),o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"zh",void 0),t.MultilingualContent=p;class l{static fromPlain(e){const t=new l;return t.question={en:e.question.en,ar:e.question.ar,ru:e.question.ru,zh:e.question.zh},t.answer={en:e.answer.en,ar:e.answer.ar,ru:e.answer.ru,zh:e.answer.zh},t.category=e.category,t.isActive=e.isActive,t.order=e.order,t}}o([(0,s.IsNotEmpty)(),(0,s.ValidateNested)(),(0,r.Type)((()=>p)),n("design:type",p)],l.prototype,"question",void 0),o([(0,s.IsNotEmpty)(),(0,s.ValidateNested)(),(0,r.Type)((()=>p)),n("design:type",p)],l.prototype,"answer",void 0),o([(0,s.IsNotEmpty)(),(0,s.IsEnum)(a.FaqCategory),n("design:type",String)],l.prototype,"category",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],l.prototype,"isActive",void 0),o([(0,s.IsOptional)(),(0,s.IsNumber)(),n("design:type",Number)],l.prototype,"order",void 0),t.CreateFaqDTO=l},7844:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetSimilarVehiclesDTO=void 0;class i{static fromPlain(e){const t=new i;return t.vehicleId=e.vehicleId,t.priceRangePercentage=e.priceRange,t.limit=e.limit,t.options=e.options,t.makeId=e.makeId,t.modelId=e.modelId,t}validate(){const e=[];return this.vehicleId||e.push("Vehicle ID is required"),void 0!==this.priceRangePercentage&&(isNaN(this.priceRangePercentage)||this.priceRangePercentage<0||this.priceRangePercentage>100)&&e.push("Price range percentage must be a positive number between 0 and 100"),void 0!==this.mileageRange&&(isNaN(this.mileageRange)||this.mileageRange<0)&&e.push("Mileage range must be a positive number"),void 0!==this.yearRange&&(isNaN(this.yearRange)||this.yearRange<0)&&e.push("Year range must be a positive number"),void 0!==this.limit&&(isNaN(this.limit)||this.limit<1)&&e.push("Limit must be a positive number"),e}}t.GetSimilarVehiclesDTO=i},7899:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Deposit=void 0,t.Deposit=class{}},7900:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(8789),t),n(i(2421),t),n(i(3635),t),n(i(1354),t)},7955:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(1100),t)},8001:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.LeadPreferencesGetDTO=t.LeadPreferencesFilter=t.LeadPreferencesCreateDTO=t.LeadPreferencesUpdateDTO=t.LeadPreferencesDTO=void 0;const r=i(6325),s=i(284),a=i(2446),p=i(6894);class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],l.prototype,"id",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"budgetMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"budgetMax",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"preferredMake",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"preferredModel",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"preferredYearMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"preferredYearMax",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"mileageMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"mileageMax",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],l.prototype,"preferredColors",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],l.prototype,"preferredFeatures",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"additionalPreferences",void 0),t.LeadPreferencesDTO=l;class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"budgetMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"budgetMax",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"preferredMake",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"preferredModel",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"preferredYearMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"preferredYearMax",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"mileageMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],d.prototype,"mileageMax",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],d.prototype,"preferredColors",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],d.prototype,"preferredFeatures",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],d.prototype,"additionalPreferences",void 0),t.LeadPreferencesUpdateDTO=d;class c{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],c.prototype,"budgetMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],c.prototype,"budgetMax",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"preferredMake",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"preferredModel",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],c.prototype,"preferredYearMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],c.prototype,"preferredYearMax",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],c.prototype,"mileageMin",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],c.prototype,"mileageMax",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],c.prototype,"preferredColors",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],c.prototype,"preferredFeatures",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],c.prototype,"additionalPreferences",void 0),t.LeadPreferencesCreateDTO=c;class y extends a.TypedFilter{}o([(0,r.IsOptional)(),(0,r.IsString)({each:!0}),n("design:type",Object)],y.prototype,"id",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.Range)),n("design:type",p.Range)],y.prototype,"budgetRange",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"make",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"model",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.Range)),n("design:type",p.Range)],y.prototype,"yearRange",void 0),o([(0,r.IsOptional)(),(0,r.ValidateNested)(),(0,s.Type)((()=>p.Range)),n("design:type",p.Range)],y.prototype,"mileageRange",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],y.prototype,"colors",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],y.prototype,"features",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],y.prototype,"search",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>Date)),n("design:type",Date)],y.prototype,"fromDate",void 0),o([(0,r.IsOptional)(),(0,s.Type)((()=>Date)),n("design:type",Date)],y.prototype,"toDate",void 0),t.LeadPreferencesFilter=y;class g extends a.BaseGetDTO{}o([(0,r.ValidateNested)(),(0,s.Type)((()=>y)),(0,r.IsOptional)(),n("design:type",y)],g.prototype,"filters",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>a.TypedOptions)),(0,r.IsOptional)(),n("design:type",a.TypedOptions)],g.prototype,"options",void 0),t.LeadPreferencesGetDTO=g},8047:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleMake=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleMake=n},8156:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),i(4443),n(i(6894),t),n(i(8314),t),n(i(2446),t),n(i(5524),t)},8177:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleBodyType=void 0;const o=i(4136);class n extends o.BaseModel{}t.VehicleBodyType=n},8235:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.LeadSource=void 0,(i=t.LeadSource||(t.LeadSource={})).WEBSITE="WEBSITE",i.TEST_DRIVE_REQUEST="TEST_DRIVE_REQUEST",i.SELL_CAR_REQUEST="SELL_CAR_REQUEST",i.EXCHANGE_CAR_FORM="EXCHANGE_CAR_FORM",i.SHOWROOM_VISIT="SHOWROOM_VISIT",i.FINANCE_ELIGIBILITY_REQUEST="FINANCE_ELIGIBILITY_REQUEST",i.BANK_VALUATION_REQUEST="BANK_VALUATION_REQUEST",i.FREE_VALUATION="FREE_VALUATION",i.PHONE="PHONE",i.WALK_IN="WALK_IN",i.REFERRAL="REFERRAL",i.SOCIAL_MEDIA="SOCIAL_MEDIA",i.OTHER="OTHER"},8314:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(2831),t),n(i(1956),t),n(i(141),t),n(i(363),t),n(i(6618),t),n(i(3205),t),n(i(7392),t),n(i(8506),t),n(i(8567),t),n(i(3989),t),n(i(3083),t),n(i(9020),t),n(i(2293),t),n(i(1217),t),n(i(7452),t),n(i(8465),t),n(i(3411),t),n(i(1999),t)},8383:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BankValuationRequest=t.BankValuationRequestStatus=void 0,t.BankValuationRequestStatus={PENDING:"pending",PAID:"paid",PAYMENT_DECLINED:"payment_declined",REJECTED:"rejected",APPROVED:"approved"},t.BankValuationRequest=class{}},8465:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Bank=t.BankValuationRequestStatus=t.BankValuationResult=t.Color=t.BankValuationRequest=t.TicketMessage=t.TicketDocument=t.Ticket=t.Lead=t.Deposit=t.VehicleMetaData=t.VehicleMedia=t.VehicleModel=t.VehicleMake=t.VehicleFinance=t.Payment=t.VehicleBodyType=t.VehicleFeatureCategory=t.VehicleFeature=t.VehicleOrder=t.Vehicle=t.BaseModel=void 0;const o=i(4136);Object.defineProperty(t,"BaseModel",{enumerable:!0,get:function(){return o.BaseModel}});const n=i(5613);Object.defineProperty(t,"Vehicle",{enumerable:!0,get:function(){return n.Vehicle}});const r=i(7461);Object.defineProperty(t,"VehicleOrder",{enumerable:!0,get:function(){return r.VehicleOrder}});const s=i(4259);Object.defineProperty(t,"VehicleFeature",{enumerable:!0,get:function(){return s.VehicleFeature}});const a=i(523);Object.defineProperty(t,"VehicleFeatureCategory",{enumerable:!0,get:function(){return a.VehicleFeatureCategory}});const p=i(8177);Object.defineProperty(t,"VehicleBodyType",{enumerable:!0,get:function(){return p.VehicleBodyType}});const l=i(9347);Object.defineProperty(t,"Payment",{enumerable:!0,get:function(){return l.Payment}});const d=i(4019);Object.defineProperty(t,"VehicleFinance",{enumerable:!0,get:function(){return d.VehicleFinance}});const c=i(8047);Object.defineProperty(t,"VehicleMake",{enumerable:!0,get:function(){return c.VehicleMake}});const y=i(3008);Object.defineProperty(t,"VehicleModel",{enumerable:!0,get:function(){return y.VehicleModel}});const g=i(1841);Object.defineProperty(t,"VehicleMedia",{enumerable:!0,get:function(){return g.VehicleMedia}});const u=i(7280);Object.defineProperty(t,"VehicleMetaData",{enumerable:!0,get:function(){return u.VehicleMetaData}});const v=i(7899);Object.defineProperty(t,"Deposit",{enumerable:!0,get:function(){return v.Deposit}});const I=i(3323);Object.defineProperty(t,"Lead",{enumerable:!0,get:function(){return I.Lead}});const O=i(7745);Object.defineProperty(t,"Ticket",{enumerable:!0,get:function(){return O.Ticket}}),Object.defineProperty(t,"TicketDocument",{enumerable:!0,get:function(){return O.TicketDocument}}),Object.defineProperty(t,"TicketMessage",{enumerable:!0,get:function(){return O.TicketMessage}});const f=i(8383);Object.defineProperty(t,"BankValuationRequest",{enumerable:!0,get:function(){return f.BankValuationRequest}}),Object.defineProperty(t,"BankValuationRequestStatus",{enumerable:!0,get:function(){return f.BankValuationRequestStatus}});const h=i(7218);Object.defineProperty(t,"Color",{enumerable:!0,get:function(){return h.Color}});const S=i(1009);Object.defineProperty(t,"BankValuationResult",{enumerable:!0,get:function(){return S.BankValuationResult}});const m=i(6723);Object.defineProperty(t,"Bank",{enumerable:!0,get:function(){return m.Bank}})},8474:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(3448),t),n(i(8551),t),n(i(3358),t)},8506:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(7955),t)},8551:(e,t)=>{var i,o,n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleRegionSpec=t.VehicleWarrantyYearType=t.VehicleStatusType=t.VehicleMediaType=void 0,(r=t.VehicleMediaType||(t.VehicleMediaType={})).IMAGE="image",r.VIDEO="video",(n=t.VehicleStatusType||(t.VehicleStatusType={})).RESERVED="Reserved",n.DRAFT="Draft",n.PUBLISHED="Published",n.SELF_RESERVED="Self-Reserved",n.SOLD="Sold",n.UNPUBLISHED="Unpublished",(o=t.VehicleWarrantyYearType||(t.VehicleWarrantyYearType={})).NOT_AVAILABLE="Not Available",o.ONE_YEAR="1 Year",o.TWO_YEARS="2 Years",o.THREE_YEARS="3 Years",o.FOUR_YEARS="4 Years",o.FIVE_YEARS="5 Years",o.SIX_YEARS="6 Years",o.SEVEN_YEARS="7 Years",o.EIGHT_YEARS="8 Years",o.NINE_YEARS="9 Years",o.TEN_YEARS="10 Years",o.ELEVEN_YEARS="11 Years",o.TWELVE_YEARS="12 Years",o.THIRTEEN_YEARS="13 Years",o.FOURTEEN_YEARS="14 Years",o.FIFTEEN_YEARS="15 Years",(i=t.VehicleRegionSpec||(t.VehicleRegionSpec={})).GCC_SPECS="GCC specs",i.CHINESE_SPECS="Chinese specs",i.EUROPEAN_SPECS="European specs",i.JAPANESE_SPECS="Japanese specs",i.USA_SPECS="USA specs",i.AMERICAN_CANADIAN_SPECS="American/Canadian specs",i.IMPORTED_SPECS="Imported",i.OTHER_SPECS="Other specs"},8567:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(3370),t),n(i(9853),t)},8625:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(7796),t),n(i(3037),t),n(i(9008),t)},8789:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.booleanize=t.toPlainObject=t.sanitizeRegexString=t.getPlural=t.hasValue=t.isEmptyArray=t.isEmptyObject=t.isEmpty=t.makeArray=t.formatNumberWithCommas=t.safeParseNumber=t.currencyFormatter=t.removeKeyFromObject=t.timeAsSeconds=t.timeAsMilliseconds=t.formatValue=t.generateRandomBase64=t.sortBy=t.isFunction=t.isPlainObject=t.deepEqual=void 0,t.deepEqual=(e,i)=>{if(e===i)return!0;if("object"!=typeof e||null===e||"object"!=typeof i||null===i)return!1;const o=Object.keys(e),n=Object.keys(i);if(o.length!==n.length)return!1;for(const e of o)if(!n.includes(e))return!1;for(const n of o){const o=e[n],r=i[n];if(!(0,t.deepEqual)(o,r))return!1}return!0},t.isPlainObject=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),t.isFunction=e=>"function"==typeof e,t.sortBy=(e,t)=>{const i="function"==typeof t?t:(e,i)=>e[t]-i[t];return e.slice().sort(i)},t.generateRandomBase64=function(e){const t=new Uint8Array(e);return crypto.getRandomValues(t),btoa(String.fromCharCode(...Array.from(t)))},t.formatValue=e=>Number(e).toString().replace(/\B(?=(\d{3})+(?!\d))/g,","),t.timeAsMilliseconds=({minutes:e=0,hours:t=0,seconds:i=0})=>60*e*1e3+60*t*60*1e3+1e3*i,t.timeAsSeconds=({minutes:e=0,hours:t=0,seconds:i=0})=>60*e+60*t*60+i,t.removeKeyFromObject=function e(t,i){return Array.isArray(t)?t.map((t=>e(t,i))):"object"==typeof t&&null!==t?Object.keys(t).reduce(((o,n)=>(n!==i&&(o[n]=e(t[n],i)),o)),{}):t},t.currencyFormatter=({isDecimal:e,decimalPlaces:t=2})=>new Intl.NumberFormat("en-US",{style:"currency",currency:"AED",maximumFractionDigits:e?t:0}),t.safeParseNumber=e=>"number"==typeof e?e:"string"!=typeof e?0:Number(e.trim().replace(/,/g,""))||0,t.formatNumberWithCommas=e=>e.replace(/[^\d]/g,"").replace(/\B(?=(\d{3})+(?!\d))/g,","),t.makeArray=e=>Array.isArray(e)?e:[e],t.isEmpty=e=>null==e||""===e,t.isEmptyObject=e=>0===Object.keys(e).length&&e.constructor===Object,t.isEmptyArray=e=>Array.isArray(e)&&0===e.length,t.hasValue=e=>!(0,t.isEmpty)(e)&&!(0,t.isEmptyObject)(e)&&!(0,t.isEmptyArray)(e),t.getPlural=(e,t,i=null)=>1===e?`${e} ${t}`:i?`${e} ${i}`:`${e} ${t}s`,t.sanitizeRegexString=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),t.toPlainObject=e=>JSON.parse(JSON.stringify(e)),t.booleanize=e=>!![!0,"true","1"].includes(e)},8906:function(e,t,i){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.apiRequest=t.interceptors=void 0;const n=o(i(2110)),r=i(1395),s=i(7900),a=process.env.NEXT_PUBLIC_API_URL,p=(0,s.timeAsMilliseconds)({seconds:30});function l(e,t){const i=new Error("object"==typeof t&&t.message||"API Error");return i.status=e,i.data=t,i}t.interceptors=new class{constructor(){this.requestInterceptors=[],this.responseInterceptors=[],this.responseErrorInterceptors=[]}addRequestInterceptor(e){return this.requestInterceptors.push(e)-1}addResponseInterceptor(e){return this.responseInterceptors.push(e)-1}addResponseErrorInterceptor(e){return this.responseErrorInterceptors.push(e)-1}removeRequestInterceptor(e){e>=0&&this.requestInterceptors.splice(e,1)}removeResponseInterceptor(e){e>=0&&this.responseInterceptors.splice(e,1)}removeResponseErrorInterceptor(e){e>=0&&this.responseErrorInterceptors.splice(e,1)}clearRequestInterceptors(){this.requestInterceptors=[]}clearResponseInterceptors(){this.responseInterceptors=[]}clearResponseErrorInterceptors(){this.responseErrorInterceptors=[]}clearAllInterceptors(){this.clearRequestInterceptors(),this.clearResponseInterceptors(),this.clearResponseErrorInterceptors()}async applyRequestInterceptors(e){let t={...e};for(const e of this.requestInterceptors)t=await e(t);return t}async applyResponseInterceptors(e,t){let i=e;for(const e of this.responseInterceptors)i=await e(i,t);return i}async applyResponseErrorInterceptors(e,t){let i=Promise.reject(e);for(const e of this.responseErrorInterceptors)i=i.catch((i=>e(i,t)));return i}async retryRequest(e){const t={...e,options:{...e.options,isRetry:!0}};try{const e=await this.applyRequestInterceptors(t),i=await fetch(e.url,e),o=await this.applyResponseInterceptors(i,e),n=o.headers.get("content-type"),r=(null==n?void 0:n.includes("application/json"))?await o.json():await o.text();if(o.ok)return r;throw l(o.status,r)}catch(i){if(e.options.isRetry)throw i;return this.applyResponseErrorInterceptors(i,t)}}},t.apiRequest=async function(e,i={}){var o;let s;const d=i.timeout?new AbortController:void 0;i.timeout&&d&&(s=setTimeout((()=>{d.abort("Request timeout")}),i.timeout||p));const c=i.signal||(null==d?void 0:d.signal),y={Accept:"application/json","Content-Type":"application/json",...i.headers},g={method:null!==(o=i.method)&&void 0!==o?o:r.HttpMethods.GET,headers:y,...c&&{signal:c},...i,options:i};try{const i=await async function(e,i){const o=((e,t)=>{let i=`${a}${e}`;return t&&Object.keys(t).length>0&&(i+=`?${n.default.stringify(t,{allowDots:!0,arrayFormat:"brackets",allowEmptyArrays:!1,skipNulls:!0})}`),i})(e,i.options.query);let r=await t.interceptors.applyRequestInterceptors({...i,url:o});const s=r.url;try{const e=await fetch(s,r),i=await t.interceptors.applyResponseInterceptors(e,{...r,url:s}),o=i.headers.get("content-type"),n=(null==o?void 0:o.includes("application/json"))?await i.json():await i.text();if(i.ok)return n;throw l(i.status,n)}catch(e){return t.interceptors.applyResponseErrorInterceptors(e,{...r,url:s})}}(e,g);return i}finally{s&&clearTimeout(s)}}},9008:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FaqResponseDTO=t.FaqFetchDTO=t.FaqOptionsDTO=t.SortDTO=t.FaqFilterDTO=t.MultilingualContentFetch=void 0;const r=i(284),s=i(6325),a=i(4363);class p{toPlain(){return{en:this.en,ar:this.ar,ru:this.ru,zh:this.zh}}static fromPlain(e){const t=new p;return t.en=e.en,t.ar=e.ar,t.ru=e.ru,t.zh=e.zh,t}}o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"en",void 0),o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"ar",void 0),o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"ru",void 0),o([(0,s.IsNotEmpty)(),(0,s.IsString)(),n("design:type",String)],p.prototype,"zh",void 0),t.MultilingualContentFetch=p;class l{constructor(e){Object.assign(this,e)}validate(e=!0){const t=[];return e&&(this.category&&!Object.values(a.FaqCategory).includes(this.category)&&t.push(`Invalid category: ${this.category}. Valid categories are: ${Object.values(a.FaqCategory).join(", ")}`),this.searchLanguage&&!["en","ar","ru","zh"].includes(this.searchLanguage)&&t.push(`Invalid search language: ${this.searchLanguage}. Valid languages are: en, ar, ru, zh`)),t}static fromPlain(e){const t=new l;if(e){if(t.search=e.search,t.searchLanguage=e.searchLanguage,t.searchInAnswers=e.searchInAnswers,e.category){const i=e.category.value||e.category;Object.values(a.FaqCategory).includes(i)&&(t.category=i)}"string"==typeof e.isActive?t.isActive="true"===e.isActive.toLowerCase():t.isActive=e.isActive,"string"==typeof e.searchInAnswers?t.searchInAnswers="true"===e.searchInAnswers.toLowerCase():t.searchInAnswers=e.searchInAnswers}return t}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],l.prototype,"search",void 0),o([(0,s.IsOptional)(),(0,s.IsString)(),n("design:type",String)],l.prototype,"searchLanguage",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],l.prototype,"searchInAnswers",void 0),o([(0,s.IsOptional)(),(0,s.IsEnum)(a.FaqCategory,{message:"Invalid category provided"}),n("design:type",String)],l.prototype,"category",void 0),o([(0,s.IsOptional)(),(0,s.IsBoolean)(),n("design:type",Boolean)],l.prototype,"isActive",void 0),t.FaqFilterDTO=l;class d{}o([(0,s.IsString)(),n("design:type",String)],d.prototype,"field",void 0),o([(0,s.IsString)(),n("design:type",String)],d.prototype,"direction",void 0),t.SortDTO=d;class c{constructor(e){this.page=1,this.limit=10,Object.assign(this,e)}validate(e=!0){const t=[];return e&&(this.page<1&&t.push("Page must be greater than 0"),this.limit<1&&t.push("Limit must be greater than 0"),this.limit>100&&t.push("Limit cannot exceed 100"),this.sort&&(this.sort.field||t.push("Sort field is required when sort is provided"),this.sort.direction&&!["asc","desc"].includes(this.sort.direction.toLowerCase())&&t.push('Sort direction must be either "asc" or "desc"'))),t}static toPlain(e){return(0,r.instanceToPlain)(e)}static fromPlain(e){var t;const i=new c;return e&&(i.page=e.page?Number(e.page):1,i.limit=e.limit?Number(e.limit):10,e.sort&&(i.sort={field:e.sort.field,direction:null===(t=e.sort.direction)||void 0===t?void 0:t.toLowerCase()})),i}}o([(0,s.IsNumber)(),(0,s.Min)(1),n("design:type",Number)],c.prototype,"page",void 0),o([(0,r.Type)((()=>d)),(0,s.IsNumber)(),(0,s.Min)(1),(0,s.Max)(100),n("design:type",Number)],c.prototype,"limit",void 0),o([(0,s.IsOptional)(),(0,s.ValidateNested)(),(0,r.Type)((()=>d)),n("design:type",Object)],c.prototype,"sort",void 0),t.FaqOptionsDTO=c;class y{static fromPlain(e){return(0,r.plainToClass)(y,{filter:e.filter,options:e.options})}constructor(e){Object.assign(this,e)}static toPlain(e){return(0,r.instanceToPlain)(e)}}o([(0,r.Type)((()=>l)),(0,s.ValidateNested)(),(0,s.IsOptional)(),n("design:type",l)],y.prototype,"filter",void 0),o([(0,r.Type)((()=>c)),(0,s.ValidateNested)(),(0,s.IsOptional)(),n("design:type",c)],y.prototype,"options",void 0),t.FaqFetchDTO=y;class g{toPlain(){return{id:this.id,question:this.question.toPlain(),answer:this.answer.toPlain(),category:this.category,isActive:this.isActive,order:this.order,createdAt:this.createdAt,updatedAt:this.updatedAt}}static fromPlain(e){if(!e)throw new Error("Cannot create FaqResponseDTO from null or undefined");const t=new g;try{return t.id=e.id,t.question=p.fromPlain(e.question),t.answer=p.fromPlain(e.answer),t.category=e.category,t.isActive=Boolean(e.isActive),t.order=Number(e.order),t.createdAt=e.createdAt,t.updatedAt=e.updatedAt,t}catch(e){throw e instanceof Error?new Error(`Failed to create FaqResponseDTO: ${e.message}`):new Error("Failed to create FaqResponseDTO: Unknown error")}}validate(){const e=[];return this.id||e.push("ID is required"),this.question||e.push("Question is required"),this.answer||e.push("Answer is required"),this.category||e.push("Category is required"),void 0===this.isActive&&e.push("isActive is required"),void 0===this.order&&e.push("Order is required"),this.createdAt||e.push("CreatedAt is required"),this.updatedAt||e.push("UpdatedAt is required"),e}}o([(0,s.IsString)(),(0,s.IsNotEmpty)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,s.ValidateNested)(),(0,r.Type)((()=>p)),(0,s.IsNotEmpty)(),n("design:type",p)],g.prototype,"question",void 0),o([(0,s.ValidateNested)(),(0,r.Type)((()=>p)),(0,s.IsNotEmpty)(),n("design:type",p)],g.prototype,"answer",void 0),o([(0,s.IsString)(),(0,s.IsNotEmpty)(),(0,s.IsEnum)(a.FaqCategory),n("design:type",String)],g.prototype,"category",void 0),o([(0,s.IsBoolean)(),(0,s.IsNotEmpty)(),n("design:type",Boolean)],g.prototype,"isActive",void 0),o([(0,s.IsNumber)(),(0,s.IsNotEmpty)(),(0,s.Min)(0),n("design:type",Number)],g.prototype,"order",void 0),o([(0,s.IsString)(),(0,s.IsNotEmpty)(),n("design:type",String)],g.prototype,"createdAt",void 0),o([(0,s.IsString)(),(0,s.IsNotEmpty)(),n("design:type",String)],g.prototype,"updatedAt",void 0),t.FaqResponseDTO=g},9020:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(6053),t)},9058:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(1702),t),n(i(2151),t)},9347:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Payment=t.ProductType=t.PaymentStatus=void 0;const o=i(4136);var n,r;(r=t.PaymentStatus||(t.PaymentStatus={})).DRAFT="draft",r.PENDING="pending",r.COMPLETED="completed",r.FAILED="failed",r.REFUNDED="refunded",r.CANCELLED="cancelled",r.AUTHORIZED="authorized",(n=t.ProductType||(t.ProductType={})).VEHICLE_DEPOSIT="vehicle_deposit",n.VALUATION_CERTIFICATE="valuation_certificate";class s extends o.BaseModel{}t.Payment=s},9418:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TestDriveRequest=void 0;const o=i(2753);Object.defineProperty(t,"TestDriveRequest",{enumerable:!0,get:function(){return o.TestDriveRequest}})},9421:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.VehicleOrderUpdateDTO=t.VehicleOrderCreateDTO=t.VehicleOrderGetDTO=void 0;const r=i(6325),s=i(284);class a{static fromEntity(e){return(0,s.plainToClass)(a,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],a.prototype,"id",void 0),o([(0,r.IsString)(),n("design:type",String)],a.prototype,"userId",void 0),o([(0,r.IsString)(),n("design:type",String)],a.prototype,"vehicleId",void 0),o([(0,r.IsString)(),n("design:type",String)],a.prototype,"paymentId",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],a.prototype,"orderAmount",void 0),o([(0,r.IsString)(),n("design:type",String)],a.prototype,"reservationComment",void 0),o([(0,r.IsString)(),n("design:type",String)],a.prototype,"cancellationComment",void 0),o([(0,r.IsString)(),n("design:type",String)],a.prototype,"status",void 0),t.VehicleOrderGetDTO=a;class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}}o([(0,r.IsString)(),n("design:type",String)],p.prototype,"userId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"vehicleId",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"paymentId",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],p.prototype,"orderAmount",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"reservationComment",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"cancellationComment",void 0),o([(0,r.IsString)(),n("design:type",String)],p.prototype,"status",void 0),t.VehicleOrderCreateDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"userId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"vehicleId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"paymentId",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),n("design:type",Number)],l.prototype,"orderAmount",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"reservationComment",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"cancellationComment",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"status",void 0),t.VehicleOrderUpdateDTO=l},9445:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicMakeDTO=t.VehicleMakeUpdateDTO=t.VehicleMakeCreateDTO=t.VehicleMakeGetUniqueDTO=t.VehicleMakeGetDTO=void 0;const r=i(6325),s=i(284),a=i(1746);class p{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleMakeGetDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}t.VehicleMakeGetUniqueDTO=l;class d extends a.BaseCreateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),(0,r.IsDefined)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],d.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"image",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"description",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"metaTitle",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"metaDescription",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],d.prototype,"metaKeywords",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],d.prototype,"promoted",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],d.prototype,"showInFooter",void 0),t.VehicleMakeCreateDTO=d;class c extends a.BaseUpdateDTO{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(c,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),(0,r.Matches)(/^[a-zA-Z0-9\s\-\_]*$/,{message:"Name can only contain letters, numbers, spaces, hyphens, and underscores."}),n("design:type",String)],c.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"image",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"description",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"metaTitle",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"metaDescription",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],c.prototype,"metaKeywords",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],c.prototype,"promoted",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],c.prototype,"showInFooter",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],c.prototype,"isActive",void 0),t.VehicleMakeUpdateDTO=c;class y{validate(){if(!this.existingId&&!this.new)throw new Error("Either existingId or new details must be provided.")}static fromPlain(e){return(0,s.plainToClass)(y,e)}static toPlain(e){return(0,s.instanceToPlain)(e)}}o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],y.prototype,"existingId",void 0),o([(0,r.ValidateNested)(),(0,s.Type)((()=>d)),(0,r.IsOptional)(),n("design:type",d)],y.prototype,"new",void 0),t.DynamicMakeDTO=y},9537:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RolePermissionUpdateDTO=t.RoleUpdateDTO=t.RoleCreateDTO=t.RoleGetDTO=void 0;const r=i(6325),s=i(284);class a{static fromEntity(e){return(0,s.plainToClass)(a,e)}toPlain(){return(0,s.classToPlain)(this)}}t.RoleGetDTO=a;class p{constructor(){this.isActive=!0}validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(p,e)}toPlain(){const e=(0,s.classToPlain)(this);return e.createdAt=new Date,e.updatedAt=new Date,e}}o([(0,r.IsString)(),n("design:type",String)],p.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],p.prototype,"description",void 0),o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],p.prototype,"permissions",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],p.prototype,"permissionsMap",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],p.prototype,"isActive",void 0),t.RoleCreateDTO=p;class l{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(l,e)}toPlain(){const e=(0,s.classToPlain)(this);return e.updatedAt=new Date,e}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],l.prototype,"description",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],l.prototype,"permissions",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],l.prototype,"permissionsMap",void 0),o([(0,r.IsOptional)(),(0,r.IsBoolean)(),n("design:type",Boolean)],l.prototype,"isActive",void 0),t.RoleUpdateDTO=l;class d{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(d,e)}toPlain(){const e=(0,s.classToPlain)(this);return e.updatedAt=new Date,e}}o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],d.prototype,"permissions",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],d.prototype,"permissionsMap",void 0),t.RolePermissionUpdateDTO=d},9655:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(3153),t),n(i(8906),t)},9761:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HttpMethods=void 0,t.HttpMethods={OPTIONS:"OPTIONS",GET:"GET",POST:"POST",PUT:"PUT",PATCH:"PATCH",DELETE:"DELETE",HEAD:"HEAD",CONNECT:"CONNECT",TRACE:"TRACE"}},9853:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(800),t),n(i(6768),t),n(i(1535),t)},9879:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AuthResponseDTO=t.OtpLoginDTO=t.LoginDTO=t.RegisterDTO=void 0;const r=i(284),s=i(6325);class a{static fromPlain(e){return(0,r.plainToClass)(a,e)}toPlain(){return(0,r.classToPlain)(this)}validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}}o([(0,s.IsEmail)(),(0,s.IsOptional)(),n("design:type",String)],a.prototype,"email",void 0),o([(0,s.IsString)(),(0,s.MinLength)(8),(0,s.IsOptional)(),n("design:type",String)],a.prototype,"password",void 0),o([(0,s.IsString)(),n("design:type",String)],a.prototype,"name",void 0),o([(0,s.IsString)(),(0,s.IsOptional)(),n("design:type",String)],a.prototype,"phone",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),(0,s.IsUUID)("4",{each:!0}),n("design:type",Array)],a.prototype,"savedFavoriteVehicles",void 0),t.RegisterDTO=a;class p{static fromPlain(e){return(0,r.plainToClass)(p,e)}toPlain(){return(0,r.classToPlain)(this)}validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}}o([(0,s.IsEmail)(),n("design:type",String)],p.prototype,"email",void 0),o([(0,s.IsString)(),n("design:type",String)],p.prototype,"password",void 0),o([(0,s.IsOptional)(),(0,s.IsString)({each:!0}),(0,s.IsUUID)("4",{each:!0}),n("design:type",Array)],p.prototype,"savedFavoriteVehicles",void 0),t.LoginDTO=p;class l{static fromPlain(e){return(0,r.plainToClass)(l,e)}toPlain(){return(0,r.classToPlain)(this)}validate(){return(0,s.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}}o([(0,s.IsString)(),(0,s.IsPhoneNumber)(),n("design:type",String)],l.prototype,"phone",void 0),o([(0,s.IsString)(),(0,s.MinLength)(6),n("design:type",String)],l.prototype,"otp",void 0),t.OtpLoginDTO=l,t.AuthResponseDTO=class{}},9935:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.SellCarFetchDTO=t.SellCarOptionsDTO=t.SellCarFilterDTO=t.SellCarRequestResponseDTO=t.SellCarRequestUpdateDTO=t.ExchangeCarRequestCreateDTO=t.SellCarRequestCreateDTO=t.SellCarRequestDTO=t.VehicleOption=t.TradeInOption=t.RequestType=void 0;const r=i(6325),s=i(284),a=i(284),p=i(2446),l=i(3205);var d,c,y;!function(e){e.SELL="sell",e.TRADE_IN="trade_in"}(d=t.RequestType||(t.RequestType={})),function(e){e.YES="yes",e.NO="no"}(c=t.TradeInOption||(t.TradeInOption={})),(y=t.VehicleOption||(t.VehicleOption={})).NEW="new",y.USED="used";class g{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(g,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsUUID)(),n("design:type",String)],g.prototype,"id",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],g.prototype,"phone",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"brand",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"brandName",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"model",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"modelName",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"modelVersion",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"modelVersionName",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"year",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],g.prototype,"mileage",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],g.prototype,"description",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"specification",void 0),o([(0,r.IsString)(),n("design:type",String)],g.prototype,"specificationName",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],g.prototype,"tradeIn",void 0),o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],g.prototype,"images",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],g.prototype,"isDeleted",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],g.prototype,"createdAt",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],g.prototype,"updatedAt",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],g.prototype,"inspectionBookingDate",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["SUBMITTED","DRAFT"]),n("design:type",String)],g.prototype,"status",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],g.prototype,"marketing",void 0),t.SellCarRequestDTO=g;class u{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(u,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),n("design:type",String)],u.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],u.prototype,"phone",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"brand",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"brandName",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"model",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"modelName",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"modelVersion",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"modelVersionName",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"year",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],u.prototype,"mileage",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],u.prototype,"expectedSellingPrice",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"description",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"emirates",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"specification",void 0),o([(0,r.IsString)(),n("design:type",String)],u.prototype,"specificationName",void 0),o([(0,r.IsEnum)(d),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"requestType",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],u.prototype,"tradeIn",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],u.prototype,"additionalDetails",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],u.prototype,"dealDriveEstimation",void 0),o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],u.prototype,"images",void 0),o([(0,r.ValidateNested)({each:!0}),(0,a.Type)((()=>l.VehicleMediaCreateDTO)),(0,r.IsOptional)(),n("design:type",Array)],u.prototype,"media",void 0),o([(0,r.IsOptional)(),(0,r.IsDateString)(),n("design:type",Date)],u.prototype,"inspectionBookingDate",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["SUBMITTED","DRAFT"]),n("design:type",String)],u.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],u.prototype,"sessionId",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],u.prototype,"marketing",void 0),t.SellCarRequestCreateDTO=u;class v{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(u,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),(0,r.IsNotEmpty)(),n("design:type",String)],v.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],v.prototype,"phone",void 0),o([(0,r.IsString)(),n("design:type",String)],v.prototype,"brand",void 0),o([(0,r.IsString)(),n("design:type",String)],v.prototype,"brandName",void 0),o([(0,r.IsString)(),n("design:type",String)],v.prototype,"model",void 0),o([(0,r.IsString)(),n("design:type",String)],v.prototype,"modelName",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"modelVersion",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"modelVersionName",void 0),o([(0,r.IsString)(),n("design:type",String)],v.prototype,"year",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],v.prototype,"mileage",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],v.prototype,"expectedSellingPrice",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"description",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"emirates",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"specification",void 0),o([(0,r.IsString)(),n("design:type",String)],v.prototype,"specificationName",void 0),o([(0,r.IsEnum)(d),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"requestType",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],v.prototype,"tradeIn",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],v.prototype,"additionalDetails",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],v.prototype,"dealDriveEstimation",void 0),o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],v.prototype,"images",void 0),o([(0,r.ValidateNested)({each:!0}),(0,a.Type)((()=>l.VehicleMediaCreateDTO)),(0,r.IsOptional)(),n("design:type",Array)],v.prototype,"media",void 0),o([(0,r.IsOptional)(),(0,r.IsDateString)(),n("design:type",Date)],v.prototype,"bookingDate",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["SUBMITTED","DRAFT"]),n("design:type",String)],v.prototype,"status",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],v.prototype,"sessionId",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],v.prototype,"marketing",void 0),t.ExchangeCarRequestCreateDTO=v;class I{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(I,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"name",void 0),o([(0,r.IsOptional)(),(0,r.IsPhoneNumber)(),n("design:type",String)],I.prototype,"phone",void 0),o([(0,r.IsOptional)(),(0,r.IsEmail)(),n("design:type",String)],I.prototype,"email",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"city",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(d),n("design:type",String)],I.prototype,"requestType",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],I.prototype,"makeId",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],I.prototype,"modelId",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),(0,r.IsPositive)(),n("design:type",Number)],I.prototype,"year",void 0),o([(0,r.IsOptional)(),(0,r.IsNumber)(),(0,r.IsPositive)(),n("design:type",Number)],I.prototype,"mileage",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"specification",void 0),o([(0,r.IsOptional)(),(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],I.prototype,"images",void 0),o([(0,r.IsOptional)(),(0,r.IsUUID)(),n("design:type",String)],I.prototype,"desiredVehicleId",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"color",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"transmission",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"fuelType",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"engineCapacity",void 0),o([(0,r.IsOptional)(),(0,r.IsString)(),n("design:type",String)],I.prototype,"description",void 0),o([(0,r.IsOptional)(),(0,r.IsDateString)(),n("design:type",Date)],I.prototype,"inspectionBookingDate",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["SUBMITTED","DRAFT"]),n("design:type",String)],I.prototype,"status",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],I.prototype,"marketing",void 0),o([(0,r.IsOptional)(),n("design:type",Object)],I.prototype,"additionalDetails",void 0),t.SellCarRequestUpdateDTO=I;class O{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(O,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsString)(),n("design:type",String)],O.prototype,"id",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],O.prototype,"refId",void 0),o([(0,r.IsString)(),(0,r.IsNotEmpty)(),n("design:type",String)],O.prototype,"name",void 0),o([(0,r.IsString)(),(0,r.IsPhoneNumber)(),n("design:type",String)],O.prototype,"phone",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"brand",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"brandName",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"model",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"modelName",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"modelVersion",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"modelVersionName",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"year",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],O.prototype,"mileage",void 0),o([(0,r.IsNumber)(),n("design:type",Number)],O.prototype,"expectedSellingPrice",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"description",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"specification",void 0),o([(0,r.IsString)(),n("design:type",String)],O.prototype,"specificationName",void 0),o([(0,r.IsEnum)(d),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"requestType",void 0),o([(0,r.IsEnum)(c),n("design:type",String)],O.prototype,"tradeIn",void 0),o([(0,r.IsNumber)(),(0,r.IsOptional)(),n("design:type",Number)],O.prototype,"dealDriveEstimation",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",String)],O.prototype,"additionalDetails",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],O.prototype,"isDeleted",void 0),o([(0,r.IsBoolean)(),n("design:type",Boolean)],O.prototype,"isActive",void 0),o([(0,r.IsArray)(),(0,r.IsString)({each:!0}),n("design:type",Array)],O.prototype,"images",void 0),o([(0,r.ValidateNested)({each:!0}),(0,a.Type)((()=>l.VehicleMediaCreateDTO)),(0,r.IsOptional)(),n("design:type",Array)],O.prototype,"media",void 0),o([(0,r.IsDate)(),(0,r.IsOptional)(),n("design:type",Date)],O.prototype,"inspectionBookingDate",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",Object)],O.prototype,"createdById",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",Object)],O.prototype,"updatedById",void 0),o([(0,r.IsString)(),(0,r.IsOptional)(),n("design:type",Object)],O.prototype,"deletedById",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["SUBMITTED","DRAFT"]),n("design:type",String)],O.prototype,"status",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],O.prototype,"marketing",void 0),t.SellCarRequestResponseDTO=O;class f{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(f,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),n("design:type",String)],f.prototype,"search",void 0),o([(0,r.IsUUID)(),(0,r.IsOptional)(),n("design:type",String)],f.prototype,"leadId",void 0),o([(0,r.IsOptional)(),n("design:type",String)],f.prototype,"additionalDetails",void 0),o([(0,r.IsBoolean)(),(0,r.IsOptional)(),n("design:type",Boolean)],f.prototype,"isActive",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",p.DateFilter)],f.prototype,"createdAt",void 0),o([(0,r.IsEnum)(c),(0,r.IsOptional)(),n("design:type",String)],f.prototype,"tradeIn",void 0),o([(0,r.IsOptional)(),(0,r.IsEnum)(["SUBMITTED","DRAFT"]),n("design:type",String)],f.prototype,"status",void 0),o([(0,r.IsObject)(),(0,r.IsOptional)(),n("design:type",Object)],f.prototype,"marketing",void 0),t.SellCarFilterDTO=f;class h extends p.PaginationOptions{static fromPlain(e){return(0,s.plainToClass)(h,e)}toPlain(){return(0,s.classToPlain)(this)}}o([(0,r.IsOptional)(),n("design:type",Object)],h.prototype,"sort",void 0),t.SellCarOptionsDTO=h;class S{validate(){return(0,r.validateSync)(this).map((e=>{var t;return Object.values(null!==(t=e.constraints)&&void 0!==t?t:{})})).flat()}static fromPlain(e){return(0,s.plainToClass)(S,e)}toPlain(){return(0,s.classToPlain)(this)}}t.SellCarFetchDTO=S}},t={},i=function i(o){var n=t[o];if(void 0!==n)return n.exports;var r=t[o]={exports:{}};return e[o].call(r.exports,r,r.exports,i),r.exports}(8156);module.exports=i})();