@deallony/shared 1.2.25 → 1.2.27

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 (523) hide show
  1. package/dist/cjs/abstract/baseService.d.ts +0 -0
  2. package/dist/cjs/abstract/baseService.js +0 -0
  3. package/dist/cjs/abstract/index.d.ts +0 -0
  4. package/dist/cjs/abstract/index.js +0 -0
  5. package/dist/cjs/constants/ad/Ad.d.ts +0 -0
  6. package/dist/cjs/constants/ad/Ad.js +0 -0
  7. package/dist/cjs/constants/ad/index.d.ts +0 -0
  8. package/dist/cjs/constants/ad/index.js +0 -0
  9. package/dist/cjs/constants/common/MetaData.d.ts +0 -0
  10. package/dist/cjs/constants/common/MetaData.js +0 -0
  11. package/dist/cjs/constants/common/Role.d.ts +0 -0
  12. package/dist/cjs/constants/common/Role.js +0 -0
  13. package/dist/cjs/constants/common/Subject.d.ts +0 -0
  14. package/dist/cjs/constants/common/Subject.js +0 -0
  15. package/dist/cjs/constants/common/index.d.ts +0 -0
  16. package/dist/cjs/constants/common/index.js +0 -0
  17. package/dist/cjs/constants/company/Company.d.ts +0 -0
  18. package/dist/cjs/constants/company/Company.js +0 -0
  19. package/dist/cjs/constants/company/index.d.ts +0 -0
  20. package/dist/cjs/constants/company/index.js +0 -0
  21. package/dist/cjs/constants/events/Event.d.ts +0 -0
  22. package/dist/cjs/constants/events/Event.js +0 -0
  23. package/dist/cjs/constants/events/EventInvitationScanType.d.ts +0 -0
  24. package/dist/cjs/constants/events/EventInvitationScanType.js +0 -0
  25. package/dist/cjs/constants/events/EventTemplate.d.ts +0 -0
  26. package/dist/cjs/constants/events/EventTemplate.js +0 -0
  27. package/dist/cjs/constants/events/EventTimeline.d.ts +0 -0
  28. package/dist/cjs/constants/events/EventTimeline.js +0 -0
  29. package/dist/cjs/constants/events/EventType.d.ts +0 -0
  30. package/dist/cjs/constants/events/EventType.js +0 -0
  31. package/dist/cjs/constants/events/EventWedding.d.ts +0 -0
  32. package/dist/cjs/constants/events/EventWedding.js +0 -0
  33. package/dist/cjs/constants/events/index.d.ts +0 -0
  34. package/dist/cjs/constants/events/index.js +0 -0
  35. package/dist/cjs/constants/index.d.ts +0 -0
  36. package/dist/cjs/constants/index.js +0 -0
  37. package/dist/cjs/constants/motor/Motor.d.ts +0 -0
  38. package/dist/cjs/constants/motor/Motor.js +0 -0
  39. package/dist/cjs/constants/motor/index.d.ts +0 -0
  40. package/dist/cjs/constants/motor/index.js +0 -0
  41. package/dist/cjs/constants/property/Property.d.ts +0 -0
  42. package/dist/cjs/constants/property/Property.js +0 -0
  43. package/dist/cjs/constants/property/index.d.ts +0 -0
  44. package/dist/cjs/constants/property/index.js +0 -0
  45. package/dist/cjs/constants/routes/app.d.ts +0 -0
  46. package/dist/cjs/constants/routes/app.js +0 -0
  47. package/dist/cjs/constants/routes/index.d.ts +0 -0
  48. package/dist/cjs/constants/routes/index.js +0 -0
  49. package/dist/cjs/constants/service/Service.d.ts +0 -0
  50. package/dist/cjs/constants/service/Service.js +0 -0
  51. package/dist/cjs/constants/service/index.d.ts +0 -0
  52. package/dist/cjs/constants/service/index.js +0 -0
  53. package/dist/cjs/constants/used-product/UsedProduct.d.ts +0 -0
  54. package/dist/cjs/constants/used-product/UsedProduct.js +0 -0
  55. package/dist/cjs/constants/used-product/index.d.ts +0 -0
  56. package/dist/cjs/constants/used-product/index.js +0 -0
  57. package/dist/cjs/dto/ad/Ad.dto.d.ts +0 -0
  58. package/dist/cjs/dto/ad/Ad.dto.js +0 -0
  59. package/dist/cjs/dto/ai/Ai.dto.d.ts +0 -0
  60. package/dist/cjs/dto/ai/Ai.dto.js +0 -0
  61. package/dist/cjs/dto/common/localizedName.dto.d.ts +0 -0
  62. package/dist/cjs/dto/common/localizedName.dto.js +0 -0
  63. package/dist/cjs/dto/events/Event.d.ts +2 -0
  64. package/dist/cjs/dto/events/Event.dto.d.ts +0 -0
  65. package/dist/cjs/dto/events/Event.dto.js +0 -0
  66. package/dist/cjs/dto/events/Event.js +5 -0
  67. package/dist/cjs/dto/events/EventRsvp.dto.d.ts +0 -0
  68. package/dist/cjs/dto/events/EventRsvp.dto.js +0 -0
  69. package/dist/cjs/dto/events/EventTemplate.d.ts +14 -0
  70. package/dist/cjs/dto/events/EventTemplate.dto.d.ts +18 -0
  71. package/dist/cjs/dto/events/EventTemplate.dto.js +11 -0
  72. package/dist/cjs/dto/events/EventTemplate.js +14 -0
  73. package/dist/cjs/dto/events/EventTimeline.dto.d.ts +0 -0
  74. package/dist/cjs/dto/events/EventTimeline.dto.js +0 -0
  75. package/dist/cjs/dto/events/EventType.d.ts +2 -0
  76. package/dist/cjs/dto/events/EventType.dto.d.ts +16 -0
  77. package/dist/cjs/dto/events/EventType.dto.js +10 -0
  78. package/dist/cjs/dto/events/EventType.js +5 -0
  79. package/dist/cjs/dto/events/EventVenue.dto.d.ts +0 -0
  80. package/dist/cjs/dto/events/EventVenue.dto.js +0 -0
  81. package/dist/cjs/dto/events/EventWedding.d.ts +11 -0
  82. package/dist/cjs/dto/events/EventWedding.dto.d.ts +0 -0
  83. package/dist/cjs/dto/events/EventWedding.dto.js +0 -0
  84. package/dist/cjs/dto/events/EventWedding.js +9 -0
  85. package/dist/cjs/dto/events/common.d.ts +5 -0
  86. package/dist/cjs/dto/events/common.js +8 -0
  87. package/dist/cjs/dto/events/index.d.ts +0 -0
  88. package/dist/cjs/dto/events/index.js +0 -0
  89. package/dist/cjs/dto/index.d.ts +0 -0
  90. package/dist/cjs/dto/index.js +0 -0
  91. package/dist/cjs/index.d.ts +0 -0
  92. package/dist/cjs/index.js +0 -0
  93. package/dist/cjs/schema/ad/index.d.ts +0 -0
  94. package/dist/cjs/schema/ad/index.js +0 -0
  95. package/dist/cjs/schema/ad/save-ad.schema.d.ts +8 -8
  96. package/dist/cjs/schema/ad/save-ad.schema.js +13 -1
  97. package/dist/cjs/schema/ai/ai-fill-ad-form.schema.d.ts +0 -0
  98. package/dist/cjs/schema/ai/ai-fill-ad-form.schema.js +0 -0
  99. package/dist/cjs/schema/ai/ai-fill-form.schema.d.ts +0 -0
  100. package/dist/cjs/schema/ai/ai-fill-form.schema.js +0 -0
  101. package/dist/cjs/schema/ai/index.d.ts +0 -0
  102. package/dist/cjs/schema/ai/index.js +0 -0
  103. package/dist/cjs/schema/common/Phone.schema.d.ts +0 -0
  104. package/dist/cjs/schema/common/Phone.schema.js +0 -0
  105. package/dist/cjs/schema/common/index.d.ts +0 -0
  106. package/dist/cjs/schema/common/index.js +0 -0
  107. package/dist/cjs/schema/common/localizedName.schema.d.ts +0 -0
  108. package/dist/cjs/schema/common/localizedName.schema.js +0 -0
  109. package/dist/cjs/schema/events/Event.schema.d.ts +0 -0
  110. package/dist/cjs/schema/events/Event.schema.js +0 -0
  111. package/dist/cjs/schema/events/EventRsvp.schema.d.ts +0 -0
  112. package/dist/cjs/schema/events/EventRsvp.schema.js +0 -0
  113. package/dist/cjs/schema/events/EventTimeline.schema.d.ts +0 -0
  114. package/dist/cjs/schema/events/EventTimeline.schema.js +0 -0
  115. package/dist/cjs/schema/events/EventVenue.schema.d.ts +3 -1
  116. package/dist/cjs/schema/events/EventVenue.schema.js +10 -2
  117. package/dist/cjs/schema/events/EventWedding.schema.d.ts +0 -0
  118. package/dist/cjs/schema/events/EventWedding.schema.js +0 -0
  119. package/dist/cjs/schema/events/index.d.ts +0 -0
  120. package/dist/cjs/schema/events/index.js +0 -0
  121. package/dist/cjs/schema/index.d.ts +0 -0
  122. package/dist/cjs/schema/index.js +0 -0
  123. package/dist/cjs/types/ad/Ad.d.ts +2 -0
  124. package/dist/cjs/types/ad/Ad.js +0 -0
  125. package/dist/cjs/types/ad/AdLocation.d.ts +0 -0
  126. package/dist/cjs/types/ad/AdLocation.js +0 -0
  127. package/dist/cjs/types/ad/AdPromotion.d.ts +0 -0
  128. package/dist/cjs/types/ad/AdPromotion.js +0 -0
  129. package/dist/cjs/types/ad/index.d.ts +0 -0
  130. package/dist/cjs/types/ad/index.js +0 -0
  131. package/dist/cjs/types/ad-common/Feature.d.ts +0 -0
  132. package/dist/cjs/types/ad-common/Feature.js +0 -0
  133. package/dist/cjs/types/ad-common/OfferType.d.ts +0 -0
  134. package/dist/cjs/types/ad-common/OfferType.js +0 -0
  135. package/dist/cjs/types/ad-common/PriceType.d.ts +0 -0
  136. package/dist/cjs/types/ad-common/PriceType.js +0 -0
  137. package/dist/cjs/types/ad-common/PublisherType.d.ts +0 -0
  138. package/dist/cjs/types/ad-common/PublisherType.js +0 -0
  139. package/dist/cjs/types/ad-common/UsedProductAge.d.ts +0 -0
  140. package/dist/cjs/types/ad-common/UsedProductAge.js +0 -0
  141. package/dist/cjs/types/ad-common/UsedProductCondition.d.ts +0 -0
  142. package/dist/cjs/types/ad-common/UsedProductCondition.js +0 -0
  143. package/dist/cjs/types/ad-common/index.d.ts +0 -0
  144. package/dist/cjs/types/ad-common/index.js +0 -0
  145. package/dist/cjs/types/analysis/AnalysisDailySnapshot.d.ts +0 -0
  146. package/dist/cjs/types/analysis/AnalysisDailySnapshot.js +0 -0
  147. package/dist/cjs/types/analysis/index.d.ts +0 -0
  148. package/dist/cjs/types/analysis/index.js +0 -0
  149. package/dist/cjs/types/attributes/CarBody.d.ts +5 -0
  150. package/dist/cjs/types/attributes/CarBody.js +2 -0
  151. package/dist/cjs/types/attributes/Category.d.ts +0 -0
  152. package/dist/cjs/types/attributes/Category.js +0 -0
  153. package/dist/cjs/types/attributes/CategoryWorkType.d.ts +0 -0
  154. package/dist/cjs/types/attributes/CategoryWorkType.js +0 -0
  155. package/dist/cjs/types/attributes/Color.d.ts +0 -0
  156. package/dist/cjs/types/attributes/Color.js +0 -0
  157. package/dist/cjs/types/attributes/Currency.d.ts +0 -0
  158. package/dist/cjs/types/attributes/Currency.js +0 -0
  159. package/dist/cjs/types/attributes/Facility.d.ts +6 -0
  160. package/dist/cjs/types/attributes/Facility.js +2 -0
  161. package/dist/cjs/types/attributes/Feature.d.ts +7 -0
  162. package/dist/cjs/types/attributes/Feature.js +2 -0
  163. package/dist/cjs/types/attributes/FuelType.d.ts +5 -0
  164. package/dist/cjs/types/attributes/FuelType.js +2 -0
  165. package/dist/cjs/types/attributes/LicenseType.d.ts +5 -0
  166. package/dist/cjs/types/attributes/LicenseType.js +2 -0
  167. package/dist/cjs/types/attributes/OfferType.d.ts +5 -0
  168. package/dist/cjs/types/attributes/OfferType.js +2 -0
  169. package/dist/cjs/types/attributes/PriceType.d.ts +7 -0
  170. package/dist/cjs/types/attributes/PriceType.js +2 -0
  171. package/dist/cjs/types/attributes/PropertyStatus.d.ts +5 -0
  172. package/dist/cjs/types/attributes/PropertyStatus.js +2 -0
  173. package/dist/cjs/types/attributes/PublisherType.d.ts +5 -0
  174. package/dist/cjs/types/attributes/PublisherType.js +2 -0
  175. package/dist/cjs/types/attributes/RegionalSpec.d.ts +5 -0
  176. package/dist/cjs/types/attributes/RegionalSpec.js +2 -0
  177. package/dist/cjs/types/attributes/Transmission.d.ts +5 -0
  178. package/dist/cjs/types/attributes/Transmission.js +2 -0
  179. package/dist/cjs/types/attributes/Unit.d.ts +5 -0
  180. package/dist/cjs/types/attributes/Unit.js +2 -0
  181. package/dist/cjs/types/attributes/UsedProductAge.d.ts +7 -0
  182. package/dist/cjs/types/attributes/UsedProductAge.js +2 -0
  183. package/dist/cjs/types/attributes/UsedProductCondition.d.ts +7 -0
  184. package/dist/cjs/types/attributes/UsedProductCondition.js +2 -0
  185. package/dist/cjs/types/attributes/WorkType.d.ts +6 -0
  186. package/dist/cjs/types/attributes/WorkType.js +2 -0
  187. package/dist/cjs/types/attributes/index.d.ts +0 -0
  188. package/dist/cjs/types/attributes/index.js +0 -0
  189. package/dist/cjs/types/common/AccessType.d.ts +5 -0
  190. package/dist/cjs/types/common/AccessType.js +2 -0
  191. package/dist/cjs/types/common/Config.d.ts +0 -0
  192. package/dist/cjs/types/common/Config.js +0 -0
  193. package/dist/cjs/types/common/FilterParams.d.ts +0 -0
  194. package/dist/cjs/types/common/FilterParams.js +0 -0
  195. package/dist/cjs/types/common/LocalizedName.d.ts +0 -0
  196. package/dist/cjs/types/common/LocalizedName.js +0 -0
  197. package/dist/cjs/types/common/MetaData.d.ts +0 -0
  198. package/dist/cjs/types/common/MetaData.js +0 -0
  199. package/dist/cjs/types/common/Response.d.ts +0 -0
  200. package/dist/cjs/types/common/Response.js +0 -0
  201. package/dist/cjs/types/common/Status.d.ts +0 -0
  202. package/dist/cjs/types/common/Status.js +0 -0
  203. package/dist/cjs/types/common/Subject.d.ts +0 -0
  204. package/dist/cjs/types/common/Subject.js +0 -0
  205. package/dist/cjs/types/common/index.d.ts +0 -0
  206. package/dist/cjs/types/common/index.js +0 -0
  207. package/dist/cjs/types/communication/AppStartScreen.d.ts +0 -0
  208. package/dist/cjs/types/communication/AppStartScreen.js +0 -0
  209. package/dist/cjs/types/communication/Chat.d.ts +0 -0
  210. package/dist/cjs/types/communication/Chat.js +0 -0
  211. package/dist/cjs/types/communication/Device.d.ts +0 -0
  212. package/dist/cjs/types/communication/Device.js +0 -0
  213. package/dist/cjs/types/communication/MessageTemplate.d.ts +0 -0
  214. package/dist/cjs/types/communication/MessageTemplate.js +0 -0
  215. package/dist/cjs/types/communication/NotificationToken.d.ts +0 -0
  216. package/dist/cjs/types/communication/NotificationToken.js +0 -0
  217. package/dist/cjs/types/communication/index.d.ts +0 -0
  218. package/dist/cjs/types/communication/index.js +0 -0
  219. package/dist/cjs/types/company/Company.d.ts +0 -0
  220. package/dist/cjs/types/company/Company.js +0 -0
  221. package/dist/cjs/types/events/Event.d.ts +0 -0
  222. package/dist/cjs/types/events/Event.js +0 -0
  223. package/dist/cjs/types/events/EventRsvp.d.ts +0 -0
  224. package/dist/cjs/types/events/EventRsvp.js +0 -0
  225. package/dist/cjs/types/events/EventTemplate.d.ts +14 -0
  226. package/dist/cjs/types/events/EventTemplate.js +14 -0
  227. package/dist/cjs/types/events/EventTimeline.d.ts +0 -0
  228. package/dist/cjs/types/events/EventTimeline.js +0 -0
  229. package/dist/cjs/types/events/EventType.d.ts +10 -0
  230. package/dist/cjs/types/events/EventType.js +11 -0
  231. package/dist/cjs/types/events/EventVenue.d.ts +2 -1
  232. package/dist/cjs/types/events/EventVenue.js +0 -0
  233. package/dist/cjs/types/events/EventWedding.d.ts +0 -0
  234. package/dist/cjs/types/events/EventWedding.js +0 -0
  235. package/dist/cjs/types/events/index.d.ts +0 -0
  236. package/dist/cjs/types/events/index.js +0 -0
  237. package/dist/cjs/types/geo/AdminBoundary.d.ts +0 -0
  238. package/dist/cjs/types/geo/AdminBoundary.js +0 -0
  239. package/dist/cjs/types/geo/City.d.ts +0 -0
  240. package/dist/cjs/types/geo/City.js +0 -0
  241. package/dist/cjs/types/geo/District.d.ts +0 -0
  242. package/dist/cjs/types/geo/District.js +0 -0
  243. package/dist/cjs/types/geo/index.d.ts +0 -0
  244. package/dist/cjs/types/geo/index.js +0 -0
  245. package/dist/cjs/types/index.d.ts +0 -0
  246. package/dist/cjs/types/index.js +0 -0
  247. package/dist/cjs/types/integrations/Google.d.ts +0 -0
  248. package/dist/cjs/types/integrations/Google.js +0 -0
  249. package/dist/cjs/types/integrations/index.d.ts +0 -0
  250. package/dist/cjs/types/integrations/index.js +0 -0
  251. package/dist/cjs/types/listings/Ad.d.ts +93 -0
  252. package/dist/cjs/types/listings/Ad.js +25 -0
  253. package/dist/cjs/types/listings/AdLocation.d.ts +5 -0
  254. package/dist/cjs/types/listings/AdLocation.js +2 -0
  255. package/dist/cjs/types/listings/AdPromotion.d.ts +12 -0
  256. package/dist/cjs/types/listings/AdPromotion.js +2 -0
  257. package/dist/cjs/types/listings/Motor.d.ts +24 -0
  258. package/dist/cjs/types/listings/Motor.js +17 -0
  259. package/dist/cjs/types/listings/MotorTrim.d.ts +6 -0
  260. package/dist/cjs/types/listings/MotorTrim.js +2 -0
  261. package/dist/cjs/types/listings/Property.d.ts +37 -0
  262. package/dist/cjs/types/listings/Property.js +14 -0
  263. package/dist/cjs/types/listings/PropertySubType.d.ts +6 -0
  264. package/dist/cjs/types/listings/PropertySubType.js +2 -0
  265. package/dist/cjs/types/listings/Service.d.ts +14 -0
  266. package/dist/cjs/types/listings/Service.js +9 -0
  267. package/dist/cjs/types/listings/UsedProduct.d.ts +8 -0
  268. package/dist/cjs/types/listings/UsedProduct.js +7 -0
  269. package/dist/cjs/types/listings/index.d.ts +5 -0
  270. package/dist/cjs/types/listings/index.js +21 -0
  271. package/dist/cjs/types/media/File.d.ts +0 -0
  272. package/dist/cjs/types/media/File.js +0 -0
  273. package/dist/cjs/types/media/Image.d.ts +0 -0
  274. package/dist/cjs/types/media/Image.js +0 -0
  275. package/dist/cjs/types/media/Media.d.ts +0 -0
  276. package/dist/cjs/types/media/Media.js +0 -0
  277. package/dist/cjs/types/media/SocialMediaPlatform.d.ts +0 -0
  278. package/dist/cjs/types/media/SocialMediaPlatform.js +0 -0
  279. package/dist/cjs/types/media/SocialMediaProfile.d.ts +0 -0
  280. package/dist/cjs/types/media/SocialMediaProfile.js +0 -0
  281. package/dist/cjs/types/media/index.d.ts +0 -0
  282. package/dist/cjs/types/media/index.js +0 -0
  283. package/dist/cjs/types/motor/CarBody.d.ts +0 -0
  284. package/dist/cjs/types/motor/CarBody.js +0 -0
  285. package/dist/cjs/types/motor/FuelType.d.ts +0 -0
  286. package/dist/cjs/types/motor/FuelType.js +0 -0
  287. package/dist/cjs/types/motor/Motor.d.ts +0 -0
  288. package/dist/cjs/types/motor/Motor.js +0 -0
  289. package/dist/cjs/types/motor/MotorTrim.d.ts +0 -0
  290. package/dist/cjs/types/motor/MotorTrim.js +0 -0
  291. package/dist/cjs/types/motor/RegionalSpec.d.ts +0 -0
  292. package/dist/cjs/types/motor/RegionalSpec.js +0 -0
  293. package/dist/cjs/types/motor/Transmission.d.ts +0 -0
  294. package/dist/cjs/types/motor/Transmission.js +0 -0
  295. package/dist/cjs/types/motor/index.d.ts +0 -0
  296. package/dist/cjs/types/motor/index.js +0 -0
  297. package/dist/cjs/types/property/Facility.d.ts +0 -0
  298. package/dist/cjs/types/property/Facility.js +0 -0
  299. package/dist/cjs/types/property/LicenseType.d.ts +0 -0
  300. package/dist/cjs/types/property/LicenseType.js +0 -0
  301. package/dist/cjs/types/property/Property.d.ts +0 -0
  302. package/dist/cjs/types/property/Property.js +0 -0
  303. package/dist/cjs/types/property/PropertyStatus.d.ts +0 -0
  304. package/dist/cjs/types/property/PropertyStatus.js +0 -0
  305. package/dist/cjs/types/property/PropertySubType.d.ts +0 -0
  306. package/dist/cjs/types/property/PropertySubType.js +0 -0
  307. package/dist/cjs/types/property/index.d.ts +0 -0
  308. package/dist/cjs/types/property/index.js +0 -0
  309. package/dist/cjs/types/service/AccessType.d.ts +0 -0
  310. package/dist/cjs/types/service/AccessType.js +0 -0
  311. package/dist/cjs/types/service/Service.d.ts +0 -0
  312. package/dist/cjs/types/service/Service.js +0 -0
  313. package/dist/cjs/types/service/Unit.d.ts +0 -0
  314. package/dist/cjs/types/service/Unit.js +0 -0
  315. package/dist/cjs/types/service/WorkType.d.ts +0 -0
  316. package/dist/cjs/types/service/WorkType.js +0 -0
  317. package/dist/cjs/types/service/index.d.ts +0 -0
  318. package/dist/cjs/types/service/index.js +0 -0
  319. package/dist/cjs/types/used-product/UsedProduct.d.ts +0 -0
  320. package/dist/cjs/types/used-product/UsedProduct.js +0 -0
  321. package/dist/cjs/types/used-product/index.d.ts +0 -0
  322. package/dist/cjs/types/used-product/index.js +0 -0
  323. package/dist/cjs/types/user/Favorite.d.ts +0 -0
  324. package/dist/cjs/types/user/Favorite.js +0 -0
  325. package/dist/cjs/types/user/Loyalty.d.ts +0 -0
  326. package/dist/cjs/types/user/Loyalty.js +0 -0
  327. package/dist/cjs/types/user/Permission.d.ts +0 -0
  328. package/dist/cjs/types/user/Permission.js +0 -0
  329. package/dist/cjs/types/user/PotentialUser.d.ts +0 -0
  330. package/dist/cjs/types/user/PotentialUser.js +0 -0
  331. package/dist/cjs/types/user/Role.d.ts +0 -0
  332. package/dist/cjs/types/user/Role.js +0 -0
  333. package/dist/cjs/types/user/User.d.ts +0 -0
  334. package/dist/cjs/types/user/User.js +0 -0
  335. package/dist/cjs/types/user/Wallet.d.ts +0 -0
  336. package/dist/cjs/types/user/Wallet.js +0 -0
  337. package/dist/cjs/types/user/index.d.ts +0 -0
  338. package/dist/cjs/types/user/index.js +0 -0
  339. package/dist/cjs/utils/converter.d.ts +0 -0
  340. package/dist/cjs/utils/converter.js +0 -0
  341. package/dist/cjs/utils/index.d.ts +0 -0
  342. package/dist/cjs/utils/index.js +0 -0
  343. package/dist/cjs/utils/routes.d.ts +0 -0
  344. package/dist/cjs/utils/routes.js +0 -0
  345. package/dist/cjs/utils/translation.d.ts +0 -0
  346. package/dist/cjs/utils/translation.js +0 -0
  347. package/dist/cjs/validation/ad/save-ad.d.ts +45 -0
  348. package/dist/cjs/validation/ad/save-ad.js +55 -0
  349. package/dist/esm/abstract/baseService.js +0 -0
  350. package/dist/esm/abstract/index.js +0 -0
  351. package/dist/esm/constants/ad/Ad.js +0 -0
  352. package/dist/esm/constants/ad/index.js +0 -0
  353. package/dist/esm/constants/common/MetaData.js +0 -0
  354. package/dist/esm/constants/common/Role.js +0 -0
  355. package/dist/esm/constants/common/Subject.js +0 -0
  356. package/dist/esm/constants/common/index.js +0 -0
  357. package/dist/esm/constants/company/Company.js +0 -0
  358. package/dist/esm/constants/company/index.js +0 -0
  359. package/dist/esm/constants/events/Event.js +0 -0
  360. package/dist/esm/constants/events/EventInvitationScanType.js +0 -0
  361. package/dist/esm/constants/events/EventTemplate.js +0 -0
  362. package/dist/esm/constants/events/EventTimeline.js +0 -0
  363. package/dist/esm/constants/events/EventType.js +0 -0
  364. package/dist/esm/constants/events/EventWedding.js +0 -0
  365. package/dist/esm/constants/events/index.js +0 -0
  366. package/dist/esm/constants/index.js +0 -0
  367. package/dist/esm/constants/motor/Motor.js +0 -0
  368. package/dist/esm/constants/motor/index.js +0 -0
  369. package/dist/esm/constants/property/Property.js +0 -0
  370. package/dist/esm/constants/property/index.js +0 -0
  371. package/dist/esm/constants/routes/app.js +0 -0
  372. package/dist/esm/constants/routes/index.js +0 -0
  373. package/dist/esm/constants/service/Service.js +0 -0
  374. package/dist/esm/constants/service/index.js +0 -0
  375. package/dist/esm/constants/used-product/UsedProduct.js +0 -0
  376. package/dist/esm/constants/used-product/index.js +0 -0
  377. package/dist/esm/dto/ad/Ad.dto.js +0 -0
  378. package/dist/esm/dto/ai/Ai.dto.js +0 -0
  379. package/dist/esm/dto/common/localizedName.dto.js +0 -0
  380. package/dist/esm/dto/events/Event.dto.js +0 -0
  381. package/dist/esm/dto/events/Event.js +1 -0
  382. package/dist/esm/dto/events/EventRsvp.dto.js +0 -0
  383. package/dist/esm/dto/events/EventTemplate.dto.js +8 -0
  384. package/dist/esm/dto/events/EventTemplate.js +11 -0
  385. package/dist/esm/dto/events/EventTimeline.dto.js +0 -0
  386. package/dist/esm/dto/events/EventType.dto.js +7 -0
  387. package/dist/esm/dto/events/EventType.js +1 -0
  388. package/dist/esm/dto/events/EventVenue.dto.js +0 -0
  389. package/dist/esm/dto/events/EventWedding.dto.js +0 -0
  390. package/dist/esm/dto/events/EventWedding.js +6 -0
  391. package/dist/esm/dto/events/common.js +5 -0
  392. package/dist/esm/dto/events/index.js +0 -0
  393. package/dist/esm/dto/index.js +0 -0
  394. package/dist/esm/index.js +0 -0
  395. package/dist/esm/schema/ad/index.js +0 -0
  396. package/dist/esm/schema/ad/save-ad.schema.js +13 -1
  397. package/dist/esm/schema/ai/ai-fill-ad-form.schema.js +0 -0
  398. package/dist/esm/schema/ai/ai-fill-form.schema.js +0 -0
  399. package/dist/esm/schema/ai/index.js +0 -0
  400. package/dist/esm/schema/common/Phone.schema.js +0 -0
  401. package/dist/esm/schema/common/index.js +0 -0
  402. package/dist/esm/schema/common/localizedName.schema.js +0 -0
  403. package/dist/esm/schema/events/Event.schema.js +0 -0
  404. package/dist/esm/schema/events/EventRsvp.schema.js +0 -0
  405. package/dist/esm/schema/events/EventTimeline.schema.js +0 -0
  406. package/dist/esm/schema/events/EventVenue.schema.js +11 -3
  407. package/dist/esm/schema/events/EventWedding.schema.js +0 -0
  408. package/dist/esm/schema/events/index.js +0 -0
  409. package/dist/esm/schema/index.js +0 -0
  410. package/dist/esm/types/ad/Ad.js +0 -0
  411. package/dist/esm/types/ad/AdLocation.js +0 -0
  412. package/dist/esm/types/ad/AdPromotion.js +0 -0
  413. package/dist/esm/types/ad/index.js +0 -0
  414. package/dist/esm/types/ad-common/Feature.js +0 -0
  415. package/dist/esm/types/ad-common/OfferType.js +0 -0
  416. package/dist/esm/types/ad-common/PriceType.js +0 -0
  417. package/dist/esm/types/ad-common/PublisherType.js +0 -0
  418. package/dist/esm/types/ad-common/UsedProductAge.js +0 -0
  419. package/dist/esm/types/ad-common/UsedProductCondition.js +0 -0
  420. package/dist/esm/types/ad-common/index.js +0 -0
  421. package/dist/esm/types/analysis/AnalysisDailySnapshot.js +0 -0
  422. package/dist/esm/types/analysis/index.js +0 -0
  423. package/dist/esm/types/attributes/CarBody.js +1 -0
  424. package/dist/esm/types/attributes/Category.js +0 -0
  425. package/dist/esm/types/attributes/CategoryWorkType.js +0 -0
  426. package/dist/esm/types/attributes/Color.js +0 -0
  427. package/dist/esm/types/attributes/Currency.js +0 -0
  428. package/dist/esm/types/attributes/Facility.js +1 -0
  429. package/dist/esm/types/attributes/Feature.js +1 -0
  430. package/dist/esm/types/attributes/FuelType.js +1 -0
  431. package/dist/esm/types/attributes/LicenseType.js +1 -0
  432. package/dist/esm/types/attributes/OfferType.js +1 -0
  433. package/dist/esm/types/attributes/PriceType.js +1 -0
  434. package/dist/esm/types/attributes/PropertyStatus.js +1 -0
  435. package/dist/esm/types/attributes/PublisherType.js +1 -0
  436. package/dist/esm/types/attributes/RegionalSpec.js +1 -0
  437. package/dist/esm/types/attributes/Transmission.js +1 -0
  438. package/dist/esm/types/attributes/Unit.js +1 -0
  439. package/dist/esm/types/attributes/UsedProductAge.js +1 -0
  440. package/dist/esm/types/attributes/UsedProductCondition.js +1 -0
  441. package/dist/esm/types/attributes/WorkType.js +1 -0
  442. package/dist/esm/types/attributes/index.js +0 -0
  443. package/dist/esm/types/common/AccessType.js +1 -0
  444. package/dist/esm/types/common/Config.js +0 -0
  445. package/dist/esm/types/common/FilterParams.js +0 -0
  446. package/dist/esm/types/common/LocalizedName.js +0 -0
  447. package/dist/esm/types/common/MetaData.js +0 -0
  448. package/dist/esm/types/common/Response.js +0 -0
  449. package/dist/esm/types/common/Status.js +0 -0
  450. package/dist/esm/types/common/Subject.js +0 -0
  451. package/dist/esm/types/common/index.js +0 -0
  452. package/dist/esm/types/communication/AppStartScreen.js +0 -0
  453. package/dist/esm/types/communication/Chat.js +0 -0
  454. package/dist/esm/types/communication/Device.js +0 -0
  455. package/dist/esm/types/communication/MessageTemplate.js +0 -0
  456. package/dist/esm/types/communication/NotificationToken.js +0 -0
  457. package/dist/esm/types/communication/index.js +0 -0
  458. package/dist/esm/types/company/Company.js +0 -0
  459. package/dist/esm/types/events/Event.js +0 -0
  460. package/dist/esm/types/events/EventRsvp.js +0 -0
  461. package/dist/esm/types/events/EventTemplate.js +11 -0
  462. package/dist/esm/types/events/EventTimeline.js +0 -0
  463. package/dist/esm/types/events/EventType.js +8 -0
  464. package/dist/esm/types/events/EventVenue.js +0 -0
  465. package/dist/esm/types/events/EventWedding.js +0 -0
  466. package/dist/esm/types/events/index.js +0 -0
  467. package/dist/esm/types/geo/AdminBoundary.js +0 -0
  468. package/dist/esm/types/geo/City.js +0 -0
  469. package/dist/esm/types/geo/District.js +0 -0
  470. package/dist/esm/types/geo/index.js +0 -0
  471. package/dist/esm/types/index.js +0 -0
  472. package/dist/esm/types/integrations/Google.js +0 -0
  473. package/dist/esm/types/integrations/index.js +0 -0
  474. package/dist/esm/types/listings/Ad.js +22 -0
  475. package/dist/esm/types/listings/AdLocation.js +1 -0
  476. package/dist/esm/types/listings/AdPromotion.js +1 -0
  477. package/dist/esm/types/listings/Motor.js +14 -0
  478. package/dist/esm/types/listings/MotorTrim.js +1 -0
  479. package/dist/esm/types/listings/Property.js +11 -0
  480. package/dist/esm/types/listings/PropertySubType.js +1 -0
  481. package/dist/esm/types/listings/Service.js +6 -0
  482. package/dist/esm/types/listings/UsedProduct.js +4 -0
  483. package/dist/esm/types/listings/index.js +5 -0
  484. package/dist/esm/types/media/File.js +0 -0
  485. package/dist/esm/types/media/Image.js +0 -0
  486. package/dist/esm/types/media/Media.js +0 -0
  487. package/dist/esm/types/media/SocialMediaPlatform.js +0 -0
  488. package/dist/esm/types/media/SocialMediaProfile.js +0 -0
  489. package/dist/esm/types/media/index.js +0 -0
  490. package/dist/esm/types/motor/CarBody.js +0 -0
  491. package/dist/esm/types/motor/FuelType.js +0 -0
  492. package/dist/esm/types/motor/Motor.js +0 -0
  493. package/dist/esm/types/motor/MotorTrim.js +0 -0
  494. package/dist/esm/types/motor/RegionalSpec.js +0 -0
  495. package/dist/esm/types/motor/Transmission.js +0 -0
  496. package/dist/esm/types/motor/index.js +0 -0
  497. package/dist/esm/types/property/Facility.js +0 -0
  498. package/dist/esm/types/property/LicenseType.js +0 -0
  499. package/dist/esm/types/property/Property.js +0 -0
  500. package/dist/esm/types/property/PropertyStatus.js +0 -0
  501. package/dist/esm/types/property/PropertySubType.js +0 -0
  502. package/dist/esm/types/property/index.js +0 -0
  503. package/dist/esm/types/service/AccessType.js +0 -0
  504. package/dist/esm/types/service/Service.js +0 -0
  505. package/dist/esm/types/service/Unit.js +0 -0
  506. package/dist/esm/types/service/WorkType.js +0 -0
  507. package/dist/esm/types/service/index.js +0 -0
  508. package/dist/esm/types/used-product/UsedProduct.js +0 -0
  509. package/dist/esm/types/used-product/index.js +0 -0
  510. package/dist/esm/types/user/Favorite.js +0 -0
  511. package/dist/esm/types/user/Loyalty.js +0 -0
  512. package/dist/esm/types/user/Permission.js +0 -0
  513. package/dist/esm/types/user/PotentialUser.js +0 -0
  514. package/dist/esm/types/user/Role.js +0 -0
  515. package/dist/esm/types/user/User.js +0 -0
  516. package/dist/esm/types/user/Wallet.js +0 -0
  517. package/dist/esm/types/user/index.js +0 -0
  518. package/dist/esm/utils/converter.js +0 -0
  519. package/dist/esm/utils/index.js +0 -0
  520. package/dist/esm/utils/routes.js +0 -0
  521. package/dist/esm/utils/translation.js +0 -0
  522. package/dist/esm/validation/ad/save-ad.js +52 -0
  523. package/package.json +1 -1
package/dist/esm/index.js CHANGED
File without changes
File without changes
@@ -49,7 +49,19 @@ const createPropertySchema = z.object({
49
49
  total_floors: z.coerce.number().int().min(0).optional(),
50
50
  feature_ids: z.array(z.coerce.number().int().positive()).optional(),
51
51
  facility_ids: z.array(z.coerce.number().int().positive()).optional(),
52
- property_facilities: z.array(propertyFacilityRelationSchema).optional(),
52
+ property_facilities: z.preprocess((val) => {
53
+ if (!Array.isArray(val))
54
+ return val;
55
+ return val
56
+ .filter((item) => item && item.facility_id !== null && item.facility_id !== undefined) // Keep only items with a valid facility_id
57
+ .map((item) => ({
58
+ ...item,
59
+ // If property_id is null, undefined, or <= 0, convert it to undefined so Zod drops it
60
+ property_id: item.property_id === null || item.property_id === undefined || Number(item.property_id) <= 0
61
+ ? undefined
62
+ : item.property_id,
63
+ }));
64
+ }, z.array(propertyFacilityRelationSchema).optional()),
53
65
  // condition_id: z.coerce.number().int().min(0).optional().transform((val) => (val === 0 ? null : val)),
54
66
  // age_id: z.coerce.number().int().min(0).optional().transform((val) => (val === 0 ? null : val)),
55
67
  // property_status_id: z.coerce.number().int().min(0).optional().transform((val) => (val === 0 ? null : val)),
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,12 +1,16 @@
1
- import { z } from 'zod';
1
+ import { z } from "zod";
2
2
  export const createEventVenueSchema = z.object({
3
3
  name: z.string().trim().min(1).max(255),
4
4
  company_id: z.coerce.number().int().positive().nullable().optional(),
5
5
  lat: z.coerce.number().nullable().optional(),
6
6
  long: z.coerce.number().nullable().optional(),
7
- images: z.array(z.object({ url: z.string().url() }).passthrough()).nullable().optional(),
7
+ images: z
8
+ .array(z.object({ url: z.string().url() }).passthrough())
9
+ .nullable()
10
+ .optional(),
8
11
  supported_event_types: z.array(z.string()).nullable().optional(),
9
12
  social_links: z.record(z.string(), z.string()).nullable().optional(),
13
+ location_label: z.string().trim().max(500).nullable().optional(),
10
14
  });
11
15
  export const updateEventVenueSchema = z.object({
12
16
  id: z.coerce.number().int().positive(),
@@ -14,9 +18,13 @@ export const updateEventVenueSchema = z.object({
14
18
  company_id: z.coerce.number().int().positive().nullable().optional(),
15
19
  lat: z.coerce.number().nullable().optional(),
16
20
  long: z.coerce.number().nullable().optional(),
17
- images: z.array(z.object({ url: z.string().url() }).passthrough()).nullable().optional(),
21
+ images: z
22
+ .array(z.object({ url: z.string().url() }).passthrough())
23
+ .nullable()
24
+ .optional(),
18
25
  supported_event_types: z.array(z.string()).nullable().optional(),
19
26
  social_links: z.record(z.string(), z.string()).nullable().optional(),
27
+ location_label: z.string().trim().max(500).nullable().optional(),
20
28
  });
21
29
  export const getEventVenueFilterSchema = z.object({
22
30
  search: z.string().trim().optional(),
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1 @@
1
+ export {};
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
File without changes
@@ -0,0 +1 @@
1
+ export {};
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,11 @@
1
+ import { createEmptyLocalizedName } from '../common/LocalizedName.js';
2
+ export const emptyEventTemplate = {
3
+ id: 0,
4
+ code: '',
5
+ name: createEmptyLocalizedName(),
6
+ active: true,
7
+ religion: null,
8
+ event_type_id: 0,
9
+ eventType: undefined,
10
+ weddings: [],
11
+ };
File without changes
@@ -0,0 +1,8 @@
1
+ import { createEmptyLocalizedName } from '../common/LocalizedName.js';
2
+ export const emptyEventType = {
3
+ id: 0,
4
+ code: '',
5
+ name: createEmptyLocalizedName(),
6
+ active: true,
7
+ templates: [],
8
+ };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,22 @@
1
+ import { emptyMotor } from "./Motor.js";
2
+ import { emptyProperty } from "./Property.js";
3
+ import { emptyService } from "./Service.js";
4
+ import { emptyUsedProduct } from "./UsedProduct.js";
5
+ export const emptyAd = {
6
+ id: 0,
7
+ user_id: 0,
8
+ status_id: 0,
9
+ title: "",
10
+ description: "",
11
+ negotiable: false,
12
+ latitude: 0,
13
+ longitude: 0,
14
+ baseAdminBoundaryId: 0,
15
+ contact_methods: null,
16
+ selected_phone: null,
17
+ media: [],
18
+ property: emptyProperty,
19
+ motor: emptyMotor,
20
+ service: emptyService,
21
+ product: emptyUsedProduct,
22
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,14 @@
1
+ export const emptyMotor = {
2
+ id: 0,
3
+ body_type_id: 0,
4
+ regional_spec_id: 0,
5
+ transmission_id: 0,
6
+ fuel_type_id: 0,
7
+ interior_color_id: null,
8
+ mileage: 0,
9
+ offer_type_id: 0,
10
+ year: null,
11
+ created_at: "",
12
+ updated_at: "",
13
+ seats_count: null,
14
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ export const emptyProperty = {
2
+ id: 0,
3
+ offer_type_id: 0,
4
+ price_type_id: 0,
5
+ size_m2: 0,
6
+ bedrooms: 0,
7
+ created_at: "",
8
+ updated_at: "",
9
+ property_facilities: [],
10
+ feature_ids: [],
11
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export const emptyService = {
2
+ unit_id: null,
3
+ access_type_id: null,
4
+ work_type_id: null,
5
+ locations: [],
6
+ };
@@ -0,0 +1,4 @@
1
+ export const emptyUsedProduct = {
2
+ isDeliveryAvailable: undefined,
3
+ product_type_id: undefined,
4
+ };
@@ -0,0 +1,5 @@
1
+ export * from "../ad/index.js";
2
+ export * from "../motor/index.js";
3
+ export * from "../property/index.js";
4
+ export * from "../service/index.js";
5
+ export * from "../used-product/index.js";
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,52 @@
1
+ import { z } from 'zod';
2
+ const baseAdCommon = z.object({
3
+ title: z.string().trim().optional(),
4
+ status_id: z.coerce.number().int().positive().optional(),
5
+ description: z.string().trim().optional().nullable(),
6
+ category_id: z.coerce.number().int().positive().optional().nullable(),
7
+ price: z.coerce.number().min(0).optional().nullable(),
8
+ currency_id: z.coerce.number().int().positive().optional().nullable(),
9
+ negotiable: z.coerce.boolean().optional().nullable(),
10
+ city_id: z.coerce.number().int().positive().optional().nullable(),
11
+ latitude: z.coerce.number().optional().nullable(),
12
+ longitude: z.coerce.number().optional().nullable(),
13
+ media: z.array(z.any()).optional().nullable(),
14
+ // subject_type: SubjectTypeSchema.optional(),
15
+ base_price: z.coerce.number().optional().nullable(),
16
+ contact_methods: z.object({
17
+ by_message: z.boolean().optional(),
18
+ by_whatsapp: z.boolean().optional(),
19
+ by_call: z.boolean().optional(),
20
+ }).optional().nullable(),
21
+ selected_phone: z.string().trim().optional().nullable(),
22
+ });
23
+ export const createAdSchema = z.object({
24
+ user_id: z.coerce.number().int().positive(),
25
+ id: z.never().optional(), // disallow id on create
26
+ ...baseAdCommon.shape,
27
+ // motor: createMotorSchema
28
+ // .extend({ ad_id: z.coerce.number().optional() })
29
+ // .optional()
30
+ // .nullable(),
31
+ // // Make nested ad_id optional/nullable without changing original schemas
32
+ // property: createPropertySchema
33
+ // .extend({ ad_id: z.coerce.number().optional() })
34
+ // .optional()
35
+ // .nullable(),
36
+ // product: createUsedProductSchema
37
+ // .extend({ ad_id: z.coerce.number().optional() })
38
+ // .optional()
39
+ // .nullable(),
40
+ // service: createServiceSchema
41
+ // .extend({ ad_id: z.coerce.number().optional() })
42
+ // .optional()
43
+ // .nullable(),
44
+ });
45
+ export const updateAdSchema = z.object({
46
+ ...createAdSchema.shape,
47
+ id: z.coerce.number().int().positive(),
48
+ // motor: updateMotorSchema.optional().nullable(),
49
+ // property: updatePropertySchema.optional().nullable(),
50
+ // product: updateUsedProductSchema.optional().nullable(),
51
+ // service: updateServiceSchema.optional().nullable(),
52
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deallony/shared",
3
- "version": "1.2.25",
3
+ "version": "1.2.27",
4
4
  "private": false,
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",