@meetelise/chat 1.34.2 → 1.34.4

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 (280) hide show
  1. package/package.json +1 -1
  2. package/public/dist/index.js +1 -1
  3. package/dist/src/MyPubnub.d.ts +0 -116
  4. package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector-styles.d.ts +0 -2
  5. package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector.d.ts +0 -28
  6. package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector-styles.d.ts +0 -2
  7. package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector.d.ts +0 -18
  8. package/dist/src/WebComponent/FeeCalculator/components/addons/common-addon-styles.d.ts +0 -2
  9. package/dist/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector-styles.d.ts +0 -2
  10. package/dist/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector.d.ts +0 -22
  11. package/dist/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout-styles.d.ts +0 -2
  12. package/dist/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout.d.ts +0 -46
  13. package/dist/src/WebComponent/FeeCalculator/components/fee-card/fee-card-styles.d.ts +0 -2
  14. package/dist/src/WebComponent/FeeCalculator/components/fee-card/fee-card.d.ts +0 -21
  15. package/dist/src/WebComponent/FeeCalculator/components/fee-item/fee-item-styles.d.ts +0 -2
  16. package/dist/src/WebComponent/FeeCalculator/components/fee-item/fee-item.d.ts +0 -13
  17. package/dist/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector-styles.d.ts +0 -2
  18. package/dist/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector.d.ts +0 -34
  19. package/dist/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card-styles.d.ts +0 -2
  20. package/dist/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card.d.ts +0 -18
  21. package/dist/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner-styles.d.ts +0 -1
  22. package/dist/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner.d.ts +0 -8
  23. package/dist/src/WebComponent/FeeCalculator/components/incentive-banner/index.d.ts +0 -1
  24. package/dist/src/WebComponent/FeeCalculator/components/index.d.ts +0 -5
  25. package/dist/src/WebComponent/FeeCalculator/components/promo-card/promo-card-styles.d.ts +0 -2
  26. package/dist/src/WebComponent/FeeCalculator/components/promo-card/promo-card.d.ts +0 -13
  27. package/dist/src/WebComponent/FeeCalculator/constants.d.ts +0 -3
  28. package/dist/src/WebComponent/FeeCalculator/fee-calculator-styles.d.ts +0 -1
  29. package/dist/src/WebComponent/FeeCalculator/fee-calculator.d.ts +0 -55
  30. package/dist/src/WebComponent/FeeCalculator/index.d.ts +0 -2
  31. package/dist/src/WebComponent/FeeCalculator/model/building-fee-view.d.ts +0 -41
  32. package/dist/src/WebComponent/FeeCalculator/model/building-fee.d.ts +0 -82
  33. package/dist/src/WebComponent/FeeCalculator/model/desired-addon.d.ts +0 -5
  34. package/dist/src/WebComponent/FeeCalculator/model/desired-rentable-item.d.ts +0 -4
  35. package/dist/src/WebComponent/FeeCalculator/model/index.d.ts +0 -13
  36. package/dist/src/WebComponent/FeeCalculator/model/item-combination.d.ts +0 -6
  37. package/dist/src/WebComponent/FeeCalculator/model/item-quantity.d.ts +0 -4
  38. package/dist/src/WebComponent/FeeCalculator/model/pricing-matrix.d.ts +0 -18
  39. package/dist/src/WebComponent/FeeCalculator/model/pricing-rule.d.ts +0 -8
  40. package/dist/src/WebComponent/FeeCalculator/model/rent-frequency.d.ts +0 -1
  41. package/dist/src/WebComponent/FeeCalculator/model/rentable-item-summary.d.ts +0 -9
  42. package/dist/src/WebComponent/FeeCalculator/model/rentable-item.d.ts +0 -9
  43. package/dist/src/WebComponent/FeeCalculator/model/transaction-category.d.ts +0 -23
  44. package/dist/src/WebComponent/FeeCalculator/model/unit-fee-bundle.d.ts +0 -31
  45. package/dist/src/WebComponent/LeadSourceClient.d.ts +0 -46
  46. package/dist/src/WebComponent/OfficeHours.d.ts +0 -21
  47. package/dist/src/WebComponent/Scheduler/date-picker.d.ts +0 -28
  48. package/dist/src/WebComponent/Scheduler/time-picker.d.ts +0 -14
  49. package/dist/src/WebComponent/Scheduler/tour-scheduler.d.ts +0 -101
  50. package/dist/src/WebComponent/Scheduler/tour-type-option.d.ts +0 -13
  51. package/dist/src/WebComponent/Scheduler/tourSchedulerStyles.d.ts +0 -1
  52. package/dist/src/WebComponent/actions/InputStyles.d.ts +0 -1
  53. package/dist/src/WebComponent/actions/action-confirm-button.d.ts +0 -13
  54. package/dist/src/WebComponent/actions/call-us-window.d.ts +0 -37
  55. package/dist/src/WebComponent/actions/collapse-expand-button.d.ts +0 -8
  56. package/dist/src/WebComponent/actions/details-window.d.ts +0 -14
  57. package/dist/src/WebComponent/actions/email-us-window.d.ts +0 -46
  58. package/dist/src/WebComponent/actions/formatPhoneNumber.d.ts +0 -17
  59. package/dist/src/WebComponent/actions/minimize-expand-button.d.ts +0 -8
  60. package/dist/src/WebComponent/chat-additional-actions.d.ts +0 -28
  61. package/dist/src/WebComponent/health-chat.d.ts +0 -47
  62. package/dist/src/WebComponent/healthchat-styles.d.ts +0 -1
  63. package/dist/src/WebComponent/icons/ApplyOutlineIcon.d.ts +0 -2
  64. package/dist/src/WebComponent/icons/BookTourOutlineIcon.d.ts +0 -2
  65. package/dist/src/WebComponent/icons/CalculatorOutlineIcon.d.ts +0 -2
  66. package/dist/src/WebComponent/icons/ChatOutlineIcon.d.ts +0 -2
  67. package/dist/src/WebComponent/icons/ChevronLeftIcon.d.ts +0 -2
  68. package/dist/src/WebComponent/icons/ChevronRightIcon.d.ts +0 -2
  69. package/dist/src/WebComponent/icons/ContactResidentIcon.d.ts +0 -2
  70. package/dist/src/WebComponent/icons/DollarOutlineIcon.d.ts +0 -7
  71. package/dist/src/WebComponent/icons/EmailOutlineIcon.d.ts +0 -2
  72. package/dist/src/WebComponent/icons/HeyThereEmojiIcon.d.ts +0 -2
  73. package/dist/src/WebComponent/icons/PhoneOutlineIcon.d.ts +0 -2
  74. package/dist/src/WebComponent/icons/SendMessageIcon.d.ts +0 -3
  75. package/dist/src/WebComponent/icons/TourSelfGuidedIcon.d.ts +0 -2
  76. package/dist/src/WebComponent/icons/TourVirtuallyIcon.d.ts +0 -2
  77. package/dist/src/WebComponent/icons/TourWithAgentIcon.d.ts +0 -2
  78. package/dist/src/WebComponent/icons/XOutlineIcon.d.ts +0 -2
  79. package/dist/src/WebComponent/index.d.ts +0 -2
  80. package/dist/src/WebComponent/launcher/Launcher.d.ts +0 -99
  81. package/dist/src/WebComponent/launcher/launcherStyles.d.ts +0 -1
  82. package/dist/src/WebComponent/launcher/mobile-launcher.d.ts +0 -27
  83. package/dist/src/WebComponent/launcher/typeEmojiStyles.d.ts +0 -1
  84. package/dist/src/WebComponent/launcher/typeMiniStyles.d.ts +0 -1
  85. package/dist/src/WebComponent/launcher/typeMobileStyles.d.ts +0 -1
  86. package/dist/src/WebComponent/leasing-chat-styles.d.ts +0 -1
  87. package/dist/src/WebComponent/loaders/index.d.ts +0 -4
  88. package/dist/src/WebComponent/loaders/mega-loader.d.ts +0 -7
  89. package/dist/src/WebComponent/loaders/skeleton-card.d.ts +0 -12
  90. package/dist/src/WebComponent/loaders/skeleton-loader-styles.d.ts +0 -3
  91. package/dist/src/WebComponent/loaders/skeleton-loader.d.ts +0 -13
  92. package/dist/src/WebComponent/me-chat.d.ts +0 -91
  93. package/dist/src/WebComponent/me-select.d.ts +0 -24
  94. package/dist/src/WebComponent/mini-loader.d.ts +0 -5
  95. package/dist/src/WebComponent/pubnub-chat-styles.d.ts +0 -1
  96. package/dist/src/WebComponent/pubnub-chat.d.ts +0 -49
  97. package/dist/src/WebComponent/pubnub-media.d.ts +0 -14
  98. package/dist/src/WebComponent/pubnub-message-styles.d.ts +0 -1
  99. package/dist/src/WebComponent/pubnub-message.d.ts +0 -39
  100. package/dist/src/WebComponent/simple-launcher/simple-launcher-styles.d.ts +0 -1
  101. package/dist/src/WebComponent/simple-launcher/simple-launcher.d.ts +0 -12
  102. package/dist/src/WebComponent/utilities-chat.d.ts +0 -47
  103. package/dist/src/WebComponent/utilities-styles.d.ts +0 -1
  104. package/dist/src/WebComponent/utils.d.ts +0 -31
  105. package/dist/src/analytics.d.ts +0 -64
  106. package/dist/src/disclaimers.d.ts +0 -9
  107. package/dist/src/fetchBuildingABTestType.d.ts +0 -8
  108. package/dist/src/fetchBuildingInfo.d.ts +0 -57
  109. package/dist/src/fetchBuildingWebchatView.d.ts +0 -124
  110. package/dist/src/fetchFeatureFlag.d.ts +0 -14
  111. package/dist/src/fetchLeadSources.d.ts +0 -4
  112. package/dist/src/fetchPhoneNumberFromSource.d.ts +0 -6
  113. package/dist/src/getAvailabilities.d.ts +0 -45
  114. package/dist/src/getBuildingPhoneNumber.d.ts +0 -1
  115. package/dist/src/getShouldAllowScheduling.d.ts +0 -1
  116. package/dist/src/getShouldShowWebchat.d.ts +0 -3
  117. package/dist/src/getTimezoneString.d.ts +0 -1
  118. package/dist/src/globals.d.ts +0 -2
  119. package/dist/src/gtm.d.ts +0 -6
  120. package/dist/src/handleChatId.d.ts +0 -11
  121. package/dist/src/insertDNIIntoWebsite.d.ts +0 -5
  122. package/dist/src/insertLeadSourceIntoSchedulerLinks.d.ts +0 -4
  123. package/dist/src/main/MEChat.d.ts +0 -74
  124. package/dist/src/main/utils.d.ts +0 -2
  125. package/dist/src/postLeadSources.d.ts +0 -3
  126. package/dist/src/rentgrata.d.ts +0 -4
  127. package/dist/src/replaceSelectButtonsWithNewLink.d.ts +0 -5
  128. package/dist/src/services/fees/calculateQuote.d.ts +0 -14
  129. package/dist/src/services/fees/fetchBuildingFeesV2.d.ts +0 -10
  130. package/dist/src/services/fees/fetchBuildingUnits.d.ts +0 -29
  131. package/dist/src/services/fees/utils.d.ts +0 -1
  132. package/dist/src/svgIcons.d.ts +0 -5
  133. package/dist/src/themes.d.ts +0 -5
  134. package/dist/src/types/incentive-v2.d.ts +0 -23
  135. package/dist/src/types/rest-sdk.types.d.ts +0 -11
  136. package/dist/src/types/webchat-no-show-reason.d.ts +0 -1
  137. package/dist/src/utils/queryParamBuilder.d.ts +0 -8
  138. package/dist/src/utils.d.ts +0 -13
  139. package/src/MyPubnub.ts +0 -792
  140. package/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector-styles.ts +0 -35
  141. package/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector.ts +0 -206
  142. package/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector-styles.ts +0 -6
  143. package/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector.ts +0 -101
  144. package/src/WebComponent/FeeCalculator/components/addons/common-addon-styles.ts +0 -82
  145. package/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector-styles.ts +0 -9
  146. package/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector.ts +0 -124
  147. package/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout-styles.ts +0 -142
  148. package/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout.ts +0 -243
  149. package/src/WebComponent/FeeCalculator/components/fee-card/fee-card-styles.ts +0 -65
  150. package/src/WebComponent/FeeCalculator/components/fee-card/fee-card.ts +0 -91
  151. package/src/WebComponent/FeeCalculator/components/fee-item/fee-item-styles.ts +0 -44
  152. package/src/WebComponent/FeeCalculator/components/fee-item/fee-item.ts +0 -38
  153. package/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector-styles.ts +0 -151
  154. package/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector.ts +0 -248
  155. package/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card-styles.ts +0 -82
  156. package/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card.ts +0 -76
  157. package/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner-styles.ts +0 -40
  158. package/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner.ts +0 -43
  159. package/src/WebComponent/FeeCalculator/components/incentive-banner/index.ts +0 -1
  160. package/src/WebComponent/FeeCalculator/components/index.ts +0 -5
  161. package/src/WebComponent/FeeCalculator/components/promo-card/promo-card-styles.ts +0 -39
  162. package/src/WebComponent/FeeCalculator/components/promo-card/promo-card.ts +0 -39
  163. package/src/WebComponent/FeeCalculator/constants.ts +0 -5
  164. package/src/WebComponent/FeeCalculator/fee-calculator-styles.ts +0 -310
  165. package/src/WebComponent/FeeCalculator/fee-calculator.ts +0 -341
  166. package/src/WebComponent/FeeCalculator/index.ts +0 -4
  167. package/src/WebComponent/FeeCalculator/model/building-fee-view.ts +0 -84
  168. package/src/WebComponent/FeeCalculator/model/building-fee.ts +0 -126
  169. package/src/WebComponent/FeeCalculator/model/desired-addon.ts +0 -6
  170. package/src/WebComponent/FeeCalculator/model/desired-rentable-item.ts +0 -4
  171. package/src/WebComponent/FeeCalculator/model/index.ts +0 -13
  172. package/src/WebComponent/FeeCalculator/model/item-combination.ts +0 -16
  173. package/src/WebComponent/FeeCalculator/model/item-quantity.ts +0 -4
  174. package/src/WebComponent/FeeCalculator/model/pricing-matrix.ts +0 -45
  175. package/src/WebComponent/FeeCalculator/model/pricing-rule.ts +0 -9
  176. package/src/WebComponent/FeeCalculator/model/rent-frequency.ts +0 -1
  177. package/src/WebComponent/FeeCalculator/model/rentable-item-summary.ts +0 -10
  178. package/src/WebComponent/FeeCalculator/model/rentable-item.ts +0 -10
  179. package/src/WebComponent/FeeCalculator/model/transaction-category.ts +0 -23
  180. package/src/WebComponent/FeeCalculator/model/unit-fee-bundle.ts +0 -54
  181. package/src/WebComponent/LeadSourceClient.ts +0 -332
  182. package/src/WebComponent/MEChat.css +0 -5
  183. package/src/WebComponent/OfficeHours.ts +0 -73
  184. package/src/WebComponent/Scheduler/date-picker.ts +0 -405
  185. package/src/WebComponent/Scheduler/time-picker.ts +0 -190
  186. package/src/WebComponent/Scheduler/tour-scheduler.ts +0 -1416
  187. package/src/WebComponent/Scheduler/tour-type-option.ts +0 -112
  188. package/src/WebComponent/Scheduler/tourSchedulerStyles.ts +0 -418
  189. package/src/WebComponent/actions/InputStyles.ts +0 -57
  190. package/src/WebComponent/actions/action-confirm-button.ts +0 -125
  191. package/src/WebComponent/actions/call-us-window.ts +0 -467
  192. package/src/WebComponent/actions/collapse-expand-button.ts +0 -65
  193. package/src/WebComponent/actions/details-window.ts +0 -150
  194. package/src/WebComponent/actions/email-us-window.ts +0 -556
  195. package/src/WebComponent/actions/formatPhoneNumber.ts +0 -72
  196. package/src/WebComponent/actions/minimize-expand-button.ts +0 -93
  197. package/src/WebComponent/chat-additional-actions.ts +0 -135
  198. package/src/WebComponent/health-chat.ts +0 -270
  199. package/src/WebComponent/healthchat-styles.ts +0 -119
  200. package/src/WebComponent/icons/ApplyOutlineIcon.ts +0 -22
  201. package/src/WebComponent/icons/BookTourOutlineIcon.ts +0 -13
  202. package/src/WebComponent/icons/CalculatorOutlineIcon.ts +0 -22
  203. package/src/WebComponent/icons/ChatOutlineIcon.ts +0 -10
  204. package/src/WebComponent/icons/ChevronLeftIcon.ts +0 -7
  205. package/src/WebComponent/icons/ChevronRightIcon.ts +0 -7
  206. package/src/WebComponent/icons/ContactResidentIcon.ts +0 -9
  207. package/src/WebComponent/icons/DollarOutlineIcon.ts +0 -26
  208. package/src/WebComponent/icons/EmailOutlineIcon.ts +0 -7
  209. package/src/WebComponent/icons/HeyThereEmojiIcon.ts +0 -12
  210. package/src/WebComponent/icons/PhoneOutlineIcon.ts +0 -7
  211. package/src/WebComponent/icons/SendMessageIcon.ts +0 -17
  212. package/src/WebComponent/icons/TourSelfGuidedIcon.ts +0 -17
  213. package/src/WebComponent/icons/TourVirtuallyIcon.ts +0 -17
  214. package/src/WebComponent/icons/TourWithAgentIcon.ts +0 -17
  215. package/src/WebComponent/icons/XOutlineIcon.ts +0 -8
  216. package/src/WebComponent/index.ts +0 -2
  217. package/src/WebComponent/launcher/Launcher.ts +0 -1284
  218. package/src/WebComponent/launcher/launcherStyles.ts +0 -500
  219. package/src/WebComponent/launcher/mobile-launcher.ts +0 -162
  220. package/src/WebComponent/launcher/typeEmojiStyles.ts +0 -161
  221. package/src/WebComponent/launcher/typeMiniStyles.ts +0 -60
  222. package/src/WebComponent/launcher/typeMobileStyles.ts +0 -50
  223. package/src/WebComponent/leasing-chat-styles.ts +0 -114
  224. package/src/WebComponent/loaders/index.ts +0 -7
  225. package/src/WebComponent/loaders/mega-loader.ts +0 -36
  226. package/src/WebComponent/loaders/skeleton-card.ts +0 -31
  227. package/src/WebComponent/loaders/skeleton-loader-styles.ts +0 -112
  228. package/src/WebComponent/loaders/skeleton-loader.ts +0 -34
  229. package/src/WebComponent/me-chat.ts +0 -1261
  230. package/src/WebComponent/me-select.ts +0 -322
  231. package/src/WebComponent/mini-loader.ts +0 -28
  232. package/src/WebComponent/pubnub-chat-styles.ts +0 -204
  233. package/src/WebComponent/pubnub-chat.ts +0 -928
  234. package/src/WebComponent/pubnub-media.ts +0 -208
  235. package/src/WebComponent/pubnub-message-styles.ts +0 -54
  236. package/src/WebComponent/pubnub-message.ts +0 -431
  237. package/src/WebComponent/simple-launcher/simple-launcher-styles.ts +0 -34
  238. package/src/WebComponent/simple-launcher/simple-launcher.ts +0 -100
  239. package/src/WebComponent/utilities-chat.ts +0 -270
  240. package/src/WebComponent/utilities-styles.ts +0 -110
  241. package/src/WebComponent/utils.ts +0 -82
  242. package/src/analytics.ts +0 -217
  243. package/src/assetUrls.ts +0 -6
  244. package/src/disclaimers.ts +0 -86
  245. package/src/fetchBuildingABTestType.ts +0 -21
  246. package/src/fetchBuildingInfo.ts +0 -87
  247. package/src/fetchBuildingWebchatView.ts +0 -176
  248. package/src/fetchFeatureFlag.ts +0 -250
  249. package/src/fetchLeadSources.ts +0 -98
  250. package/src/fetchPhoneNumberFromSource.ts +0 -31
  251. package/src/fetchWebchatPreferences.ts +0 -54
  252. package/src/getAvailabilities.ts +0 -179
  253. package/src/getBuildingPhoneNumber.ts +0 -26
  254. package/src/getShouldAllowScheduling.ts +0 -16
  255. package/src/getShouldShowWebchat.ts +0 -114
  256. package/src/getTimezoneString.ts +0 -39
  257. package/src/globals.ts +0 -3
  258. package/src/gtm.ts +0 -17
  259. package/src/handleChatId.ts +0 -101
  260. package/src/insertDNIIntoWebsite.ts +0 -146
  261. package/src/insertLeadSourceIntoSchedulerLinks.ts +0 -71
  262. package/src/main/MEChat.test.ts +0 -110
  263. package/src/main/MEChat.ts +0 -404
  264. package/src/main/utils.ts +0 -70
  265. package/src/postLeadSources.ts +0 -44
  266. package/src/rentgrata.ts +0 -74
  267. package/src/replaceSelectButtonsWithNewLink.ts +0 -90
  268. package/src/services/fees/calculateQuote.ts +0 -74
  269. package/src/services/fees/fetchBuildingFees.ts +0 -50
  270. package/src/services/fees/fetchBuildingFeesV2.ts +0 -56
  271. package/src/services/fees/fetchBuildingFloorplans.ts +0 -74
  272. package/src/services/fees/fetchBuildingUnits.ts +0 -86
  273. package/src/services/fees/utils.ts +0 -4
  274. package/src/svgIcons.ts +0 -14
  275. package/src/themes.ts +0 -65
  276. package/src/types/incentive-v2.ts +0 -24
  277. package/src/types/rest-sdk.types.ts +0 -13
  278. package/src/types/webchat-no-show-reason.ts +0 -6
  279. package/src/utils/queryParamBuilder.ts +0 -28
  280. package/src/utils.ts +0 -121
@@ -1,31 +0,0 @@
1
- /** Pass in the year and the 0-indexed number of the month. E.g., for January 2022,
2
- * `getDaysInMonth(2022, 0)`.
3
- */
4
- export declare const getDaysInMonth: (year: number, month: number) => number;
5
- /** Pass in the year and the 0-indexed number of the month. E.g., for January 2022,
6
- * `getDaysInMonth(2022, 0)`. Returns the 0-indexed day of the week of the first
7
- * day of the month, e.g. `0` for Sunday.
8
- */
9
- export declare const getMonthStartDay: (year: number, month: number) => number;
10
- /** Pass in the year and the 0-indexed number of the month. E.g., for January 2022,
11
- * `getDaysInMonth(2022, 0)`. Returns the 0-indexed day of the week of the last day
12
- * of the month, e.g. `0` for Sunday.
13
- */
14
- export declare const getMonthEndDay: (year: number, month: number) => number;
15
- /** Takes a 0-indexed month and returns the previous month.
16
- *
17
- * @example
18
- * getPreviousMonth(5) -> 4 // June -> May
19
- *
20
- * @example
21
- * getPreviousMonth(0) -> 11 // January -> December
22
- *
23
- */
24
- export declare const getPreviousMonth: (month: number) => number;
25
- /** Pass in the year and the 0-indexed number of the month. E.g., for January 2022,
26
- * `getDaysInMonth(2022, 0)`. Returns the 0-indexed day of the week, e.g. `0` for Sunday.
27
- */
28
- export declare const getDaysInPreviousMonth: (year: number, month: number) => number;
29
- export declare const dayNames: string[];
30
- export declare const monthNames: string[];
31
- export declare type Month = "January" | "February" | "March" | "April" | "May" | "June" | "July" | "August" | "September" | "October" | "November" | "December";
@@ -1,64 +0,0 @@
1
- declare global {
2
- interface Window {
3
- RCTPCampaign?: {
4
- CampaignDetails: {
5
- Source: string;
6
- };
7
- };
8
- }
9
- }
10
- export interface CampaignSources {
11
- entrataCampaignSource: string | null;
12
- yardiCampaignSource: string | null;
13
- realpageCampaignSource: string | null;
14
- utmCampaignSource: string | null;
15
- bozzutoAdSource: string | null;
16
- }
17
- /**
18
- * A connection to the MeetElise API to send analytics events
19
- */
20
- export default class Analytics {
21
- private org;
22
- private building;
23
- private featureFlags?;
24
- chatId: string;
25
- private incomingProcessedLeadSource;
26
- constructor(org: string, building: string, chatId: string, incomingProcessedLeadSource: string | null);
27
- /**
28
- * Store feature flag value(s) on the Analytics object to be sent with future pings. If `featureFlags` object is already present, the argument is merged into it.
29
- */
30
- setFeatureFlags(featureFlags: Record<string, boolean>): void;
31
- /**
32
- * Send an event. Takes one argument, the event type name.
33
- */
34
- ping(eventType: string): void;
35
- }
36
- export declare const getCampaignSources: () => CampaignSources;
37
- export declare enum LogType {
38
- error = "error",
39
- info = "info",
40
- warn = "warn"
41
- }
42
- export declare const sendLoggingEvent: ({ logType, buildingSlug, orgSlug, logTitle, logData, }: {
43
- logType?: LogType | undefined;
44
- buildingSlug?: string | undefined;
45
- orgSlug?: string | undefined;
46
- logTitle: string;
47
- logData: Record<string, unknown> | null;
48
- }) => Promise<void>;
49
- interface SignalLoggerProps {
50
- org_slug: string;
51
- building_slug: string;
52
- chat_id?: string | null;
53
- is_pixel_on_site?: boolean | null;
54
- is_any_webchat_showing?: boolean | null;
55
- is_form_override_success?: boolean | null;
56
- is_dni_insert_override_success?: boolean | null;
57
- is_application_link_replacement_success?: boolean | null;
58
- extra_data?: Record<string, unknown> | null;
59
- }
60
- export declare const logSignal: ({ params, sampleRate, }: {
61
- params: SignalLoggerProps;
62
- sampleRate: number;
63
- }) => Promise<void>;
64
- export {};
@@ -1,9 +0,0 @@
1
- import { TemplateResult } from "lit";
2
- declare const disclaimer: ({ phoneNumberInput, emailInput, orgLegalName, orgSlug, }: {
3
- buildingName: string;
4
- phoneNumberInput?: string | undefined;
5
- emailInput?: string | undefined;
6
- orgLegalName: string;
7
- orgSlug: string;
8
- }) => TemplateResult;
9
- export default disclaimer;
@@ -1,8 +0,0 @@
1
- interface BuildingABType {
2
- abTestType: string;
3
- }
4
- export declare enum abTestTypes {
5
- "ConceptEmoji" = "Concept 2 (Blue/White)"
6
- }
7
- export default function fetchBuildingABTestType(buildingSlug: string): Promise<BuildingABType | null>;
8
- export {};
@@ -1,57 +0,0 @@
1
- export interface LabeledOption {
2
- label: string;
3
- value: string | number;
4
- }
5
- /**
6
- * @deprecated Use BuildingWebchatView instead.
7
- * The response from the API.
8
- */
9
- export interface Building {
10
- id: number;
11
- themeId: string;
12
- avatarSrc: string | null;
13
- avatarType: "image" | "initials" | null;
14
- chatSubtitle: string | null;
15
- chatTitle: string | null;
16
- name: string;
17
- userFirstName: string;
18
- userId: number;
19
- welcomeMessage: string | null;
20
- systemWelcomeMessage: string | null;
21
- launchedDateTime: string | null;
22
- orgId: number;
23
- phoneNumber: string;
24
- tourTypeOptions: LabeledOption[];
25
- chatWidgets?: string[] | null;
26
- chatCallUsHeader?: string;
27
- autoOpenChatWidget: boolean;
28
- sgtUrl: string;
29
- escortedToursLink: string;
30
- virtualToursLink: string;
31
- active: number;
32
- usesDynamicScheduling: boolean;
33
- textWithUsPhoneNumber: string | null;
34
- orgLegalName: string;
35
- webchatScopeConfigured: boolean;
36
- virtualTourEnabled: boolean;
37
- escortedTourEnabled: boolean;
38
- selfGuidedTourEnabled: boolean;
39
- escortedToursTypeOffered: string;
40
- virtualToursTypeOffered: string;
41
- selfGuidedToursTypeOffered: string;
42
- }
43
- export declare type UnitV2 = {
44
- name: string;
45
- layout: string;
46
- availabilityStage: number;
47
- active: number;
48
- occupied: boolean;
49
- };
50
- /**
51
- * Load the publicly-available info for a building.
52
- * @deprecated Use fetchBuildingAndConfig instead.
53
- * @param orgSlug - The org slug, e.g. "big-prop-co"
54
- * @param buildingSlug - The buidling slug, e.g. "gravity-falls"
55
- * @returns The building's ID, name, theme, and agent.
56
- */
57
- export default function fetchBuildingInfo(orgSlug: string, buildingSlug: string): Promise<Building>;
@@ -1,124 +0,0 @@
1
- export declare enum DesignConcepts {
2
- EMOJI = "emoji",
3
- PILLS = "pills",
4
- MINIMIZED = "minimized"
5
- }
6
- declare enum TourType {
7
- UNKNOWN = "UNKNOWN",
8
- SELF_GUIDED = "SELF_GUIDED",
9
- VIRTUAL_SHOWING = "VIRTUAL_SHOWING",
10
- WITH_AGENT = "WITH_AGENT",
11
- MEDIA_TOUR = "MEDIA_TOUR",
12
- OPEN_HOUSE_STUDIO = "OPEN_HOUSE_STUDIO",
13
- OPEN_HOUSE_1BR = "OPEN_HOUSE_1BR",
14
- OPEN_HOUSE_2BR = "OPEN_HOUSE_2BR",
15
- OPEN_HOUSE_3BR = "OPEN_HOUSE_3BR",
16
- OPEN_HOUSE_4BR = "OPEN_HOUSE_4BR",
17
- OPEN_HOUSE_5BR = "OPEN_HOUSE_5BR"
18
- }
19
- declare enum TourAccessType {
20
- LINK = "link",
21
- CLIENT_SCHEDULED = "client_scheduled",
22
- SCHEDULED_BY_ME_MANAGED_BY_ME = "scheduled_by_ME_managed_by_ME",
23
- SCHEDULED_BY_ME_MANAGED_BY_CLIENT = "scheduled_by_ME_managed_by_client",
24
- SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE = "scheduled_by_ME_managed_by_concierge"
25
- }
26
- export declare const shouldOpenTourLink: (tourType: string, tourTypeOffered: string) => boolean;
27
- export interface LayoutOption {
28
- value: number;
29
- label: string;
30
- }
31
- interface TourTypeOption {
32
- value: TourType;
33
- label: string;
34
- }
35
- export interface BuildingWebchatView {
36
- id: number;
37
- orgId: number;
38
- name: string;
39
- userId: number | null;
40
- active: number | null;
41
- userFirstName: string;
42
- userLastName: string | null;
43
- primaryColor: string | null;
44
- backgroundColor: string | null;
45
- logoSrc: string | null;
46
- welcomeMessage: string | null;
47
- systemWelcomeMessage: string | null;
48
- chatTitle: string | null;
49
- chatSubtitle: string | null;
50
- bannerColor: string | null;
51
- bannerTextColor: string | null;
52
- messageColor: string | null;
53
- messageTextColor: string | null;
54
- launchButtonColor: string | null;
55
- launchButtonIconColor: string | null;
56
- launchButtonSize: string | null;
57
- avatarType: "image" | "initials" | null;
58
- avatarSrc: string | null;
59
- avatarInitials: string | null;
60
- themeId: string;
61
- chatCallUsHeader?: string;
62
- googleMapsUrl: string | null;
63
- chatWidgets?: string[] | null;
64
- streetAddress: string | null;
65
- postalCode: string | null;
66
- state: string | null;
67
- phoneNumber: string;
68
- textWithUsPhoneNumber: string | null;
69
- layoutOptions: LayoutOption[];
70
- tourTypeOptions: TourTypeOption[];
71
- conversationMaintenanceMode: boolean;
72
- sgtUrl: string;
73
- escortedToursLink: string;
74
- virtualToursLink: string;
75
- isVirtualTourEnabled: boolean;
76
- isEscortedTourEnabled: boolean;
77
- isSelfGuidedTourEnabled: boolean;
78
- escortedToursTypeOffered: TourAccessType;
79
- virtualToursTypeOffered: TourAccessType;
80
- selfGuidedToursTypeOffered: TourAccessType;
81
- usesDynamicScheduling: boolean;
82
- numAvailableUnits: number;
83
- isSchedulingDisabled: boolean;
84
- shouldBuildingScheduleTours: boolean;
85
- orgLegalName: string;
86
- launchedDateTime: Date | null;
87
- webchatScopeConfigured: boolean;
88
- displayStyle: DesignConcepts;
89
- secondaryColor: string | null;
90
- foregroundColorOnPrimaryBackgroundColor: string | null;
91
- foregroundColorOnSecondaryBackgroundColor: string | null;
92
- shouldShowChatDesktop: boolean | null;
93
- shouldShowChatMobile: boolean | null;
94
- shouldShowTextDesktop: boolean | null;
95
- shouldShowTextMobile: boolean | null;
96
- shouldShowPhoneDesktop: boolean | null;
97
- shouldShowPhoneMobile: boolean | null;
98
- shouldShowEmailDesktop: boolean | null;
99
- shouldShowEmailMobile: boolean | null;
100
- shouldShowSstDesktop: boolean | null;
101
- shouldShowSstMobile: boolean | null;
102
- shouldShowApplyNowDesktop: boolean | null;
103
- shouldShowApplyNowMobile: boolean | null;
104
- shouldShowPricingCalculatorDesktop: boolean | null;
105
- shouldShowPricingCalculatorMobile: boolean | null;
106
- applicationLink: string | null;
107
- isLiveOnCollect: boolean | null;
108
- isLiveOnApplications: boolean | null;
109
- requiresConsentForChat: boolean | null;
110
- privacyPolicyUrlForChat: string | null;
111
- collapseMobileFeatures: boolean | null;
112
- autoOpenChat: boolean | null;
113
- isInheritingFromOrg: boolean | null;
114
- isGlobalDefault: boolean | null;
115
- }
116
- /**
117
- * Load the publicly-available info for a building.
118
- *
119
- * @param orgSlug - The org slug, e.g. "big-prop-co"
120
- * @param buildingSlug - The buidling slug, e.g. "gravity-falls"
121
- * @returns The building's ID, name, theme, and agent.
122
- */
123
- export default function fetchBuildingWebchatView(orgSlug: string, buildingSlug: string): Promise<BuildingWebchatView>;
124
- export {};
@@ -1,14 +0,0 @@
1
- export declare enum FeatureFlagsShowDropdown {
2
- onAttributionFailure = "on-attribution-failure",
3
- never = "never",
4
- always = "always"
5
- }
6
- export declare function fetchFeatureFlagMaintenanceMode(buildingSlug: string): Promise<boolean>;
7
- export declare function fetchFeatureFlagShowMarketingSourceDropdown(buildingSlug: string): Promise<FeatureFlagsShowDropdown>;
8
- export declare function fetchFeatureFlagUsePhoneNumberBySource(buildingSlug: string): Promise<boolean>;
9
- export declare function fetchFeatureFlagUseOverrideContactUsForm(buildingSlug: string): Promise<boolean>;
10
- export declare function fetchFeatureFlagUsePubnub(buildingSlug?: string): Promise<boolean>;
11
- export declare function fetchFeatureFlagInsertDNIWebsite(buildingSlug?: string): Promise<boolean>;
12
- export declare function fetchFeatureFlagShowUtilities(orgSlug: string): Promise<boolean>;
13
- export declare function fetchFeatureFlagReplaceScheduleTourCtaWebsite(buildingSlug: string): Promise<boolean>;
14
- export declare function fetchFeatureFlagUseApplicationsLinkReplacement(buildingSlug: string): Promise<boolean>;
@@ -1,4 +0,0 @@
1
- export interface BuildingABType {
2
- abTestType: string;
3
- }
4
- export default function fetchLeadSources(orgSlug: string, buildingSlug: string): Promise<string[]>;
@@ -1,6 +0,0 @@
1
- export interface NumberForSelectedSource {
2
- number: string;
3
- isMatch: boolean;
4
- isPropertyWebsiteCatchall: boolean;
5
- }
6
- export default function fetchPhoneNumberFromSource(buildingSlug: string, source: string | null): Promise<NumberForSelectedSource | null>;
@@ -1,45 +0,0 @@
1
- import { TourAvailabilityResponse, TourAvailabilityResponseRankOrderedSupportedTourTypesEnum } from "./types/rest-sdk.types";
2
- import { TourType } from "./WebComponent/Scheduler/tour-scheduler";
3
- export declare const resetAvailabilitiesCache: () => void;
4
- /**
5
- * Returns the raw availabilities.
6
- *
7
- * If no `buildingId` is provided, it will use a cached buildingId from the previous call.
8
- * If there is none cached, it will throw an error.
9
- */
10
- export declare const getRawAvailabilities: (buildingId?: number) => Promise<TourAvailabilityResponse>;
11
- export declare const getAvailabilitiesForTourType: (tourType: TourAvailabilityResponseRankOrderedSupportedTourTypesEnum, buildingId?: number) => Promise<{
12
- /**
13
- *
14
- * @type {number}
15
- * @memberof TourTypeAvailability
16
- */
17
- tourDurationInMinutes?: number;
18
- /**
19
- *
20
- * @type {Array<string>}
21
- * @memberof TourTypeAvailability
22
- */
23
- availableTourStartTimes?: Array<string>;
24
- } | null>;
25
- export interface DateWithTimeZoneOffset {
26
- datetime: string;
27
- offset: string;
28
- }
29
- /**
30
- * Returns an object that reveals whether each tour type supported by
31
- * `tour-scheduler` has availabilities (time slots available for scheduling) in
32
- * the time window of interest.
33
- *
34
- * Note that the existence of current availabilities is distinct from the
35
- * question of whether the community supports the tour type at all. The first
36
- * implies the second but not vice versa.
37
- */
38
- export declare const getExistenceOfAvailabilitiesByTourType: () => Promise<{
39
- [TourType.Guided]: boolean;
40
- [TourType.Self]: boolean;
41
- [TourType.Virtual]: boolean;
42
- }>;
43
- export declare const getAvailabilitiesGroupedByDay: (tourType: TourAvailabilityResponseRankOrderedSupportedTourTypesEnum, buildingId?: number) => Promise<{
44
- [day: string]: DateWithTimeZoneOffset[];
45
- }>;
@@ -1 +0,0 @@
1
- export declare const getBuildingPhoneNumber: (buildingSlug: string) => Promise<string | null>;
@@ -1 +0,0 @@
1
- export declare const getShouldAllowScheduling: (buildingId: number, isDynamicSchedulingEnabled?: boolean) => Promise<boolean>;
@@ -1,3 +0,0 @@
1
- import { BuildingWebchatView } from "./fetchBuildingWebchatView";
2
- declare const getShouldShowWebchat: (buildingWebchatView: BuildingWebchatView | null, buildingSlug: string, orgSlug: string) => Promise<boolean>;
3
- export default getShouldShowWebchat;
@@ -1 +0,0 @@
1
- export declare const getTimezoneAbbreviation: () => string;
@@ -1,2 +0,0 @@
1
- export declare const BASE_DOMAIN = "https://app.meetelise.com";
2
- export declare const TODAY: Date;
package/dist/src/gtm.d.ts DELETED
@@ -1,6 +0,0 @@
1
- declare global {
2
- interface Window {
3
- dataLayer: any[];
4
- }
5
- }
6
- export declare const pushGtmEvent: (eventName: string, event?: Record<string, unknown>) => void;
@@ -1,11 +0,0 @@
1
- export interface ChatStorageKey {
2
- leadId: string | null;
3
- timestamp: Date | null;
4
- buildingSlug: string | null;
5
- initiatedChat: boolean;
6
- }
7
- export declare const ttlHours = 24;
8
- export declare const clearChatStorageKey: (buildingSlug: string) => void;
9
- export declare const createChatStorageKey: (buildingSlug: string, withChatinitialized: boolean, leadId?: string) => ChatStorageKey;
10
- export declare const getChatStorageKey: (buildingSlug: string) => ChatStorageKey;
11
- export declare const isChatKeyValid: (buildingSlug: string, storageValue: ChatStorageKey) => boolean;
@@ -1,5 +0,0 @@
1
- /**
2
- * General script to find all phone numbers on a page and replace them with a
3
- * DNI phone number.
4
- */
5
- export declare const insertDNIIntoWebsite: (cleanPhoneNumber: string, orgSlug: string, buildingSlug?: string) => number;
@@ -1,4 +0,0 @@
1
- export declare const insertLeadSourceIntoSchedulerLinks: (leadSource: string) => void;
2
- export declare const replaceSSTLinkWithTourWidgetTrigger: (handleTourClicked: (e: MouseEvent) => void) => void;
3
- export declare const replacePageRedirectElementWithTourWidgetTrigger: (handleTourClicked: (e: MouseEvent) => void) => void;
4
- export declare const replaceTourTriggerElementWithTourWidgetTrigger: (handleTourClicked: (e: MouseEvent) => void) => void;
@@ -1,74 +0,0 @@
1
- import { StyleInfo } from "lit/directives/style-map";
2
- import "../WebComponent/me-chat";
3
- import { MEChat as MEChatLitElement } from "../WebComponent/me-chat";
4
- import "../WebComponent/health-chat";
5
- import { HealthChat as HealthChatLitElement } from "../WebComponent/health-chat";
6
- import "../WebComponent/utilities-chat";
7
- import { UtilitiesChat as UtilitiesChatElement } from "../WebComponent/utilities-chat";
8
- /**
9
- * The interface to MeetElise chat.
10
- *
11
- * To add meetelise chat to the screen, call its static method
12
- * `start()` with your building and organization slug.
13
- *
14
- * @example
15
- * MEChat.start({
16
- * organization: 'the-jacobson-group',
17
- * building: 'twin-rivers-pointe'
18
- * });
19
- */
20
- interface PositioningOptions {
21
- right?: number;
22
- bottom?: number;
23
- top?: number;
24
- left?: number;
25
- }
26
- export interface HealthcareOptions extends PositioningOptions {
27
- id: string;
28
- }
29
- export default class MEChat {
30
- static meChat: MEChatLitElement | null;
31
- static healthChat: HealthChatLitElement | null;
32
- static utilitiesChat: UtilitiesChatElement | null;
33
- static orgSlug: string;
34
- static mutationObserver: MutationObserver | null;
35
- static previousUrl: string;
36
- static hasBuildingSlug: boolean | null;
37
- static brandColor: string;
38
- static backgroundColor: string;
39
- static healthcareId: string;
40
- static overridePlacement: {
41
- right?: number;
42
- bottom?: number;
43
- top?: number;
44
- left?: number;
45
- };
46
- static healthcareStart(opts: HealthcareOptions, isInitialStart?: boolean): void;
47
- static start(opts: Options, isInitialStart?: boolean): void;
48
- static restartConversation(): Promise<void>;
49
- static remove(): Promise<void>;
50
- static handleBuildingslug(meChat: MEChatLitElement, orgSlug?: string, buildingSlug?: string): Promise<void>;
51
- static handleSingleFamilyUrl(): Promise<void>;
52
- static calculateBuildingSlugForLogging(givenBuildingSlug: string): Promise<void>;
53
- }
54
- export interface Options {
55
- building: string;
56
- organization: string;
57
- avatarSrc?: string;
58
- mini?: boolean;
59
- launcherStyles?: StyleInfo;
60
- brandColor?: string;
61
- backgroundColor?: string;
62
- mobileStyles?: StyleInfo;
63
- position?: PositioningOptions;
64
- onWidgetLoaded?: () => void;
65
- overrideRentgrata?: boolean;
66
- widgetType?: string;
67
- onSstClose?: () => void;
68
- }
69
- export declare enum WidgetType {
70
- Default = "default",
71
- Healthcare = "healthcare",
72
- Utilities = "utilities"
73
- }
74
- export {};
@@ -1,2 +0,0 @@
1
- export declare const findBuildingSlugFromSite: (orgSlug: string) => Promise<string | null>;
2
- export declare const handleRentgrataOverride: () => Promise<void>;
@@ -1,3 +0,0 @@
1
- export declare function getUrlQueryParameters(): {
2
- [queryKey: string]: string;
3
- } | null;
@@ -1,4 +0,0 @@
1
- export declare const openRengrataWidget: () => void;
2
- export declare const closeRengrataWidget: () => void;
3
- export declare const hasRentgrata: () => boolean;
4
- export declare const updateRentgrataToken: (buildingSlug: string, orgSlug: string) => Promise<void>;
@@ -1,5 +0,0 @@
1
- /**
2
- * Script to find all "Select" buttons with specific URL patterns and replace them with a
3
- * new application link.
4
- */
5
- export declare const replaceSelectButtonsWithNewLink: (newApplicationLink: string, orgSlug: string, buildingSlug?: string) => number;
@@ -1,14 +0,0 @@
1
- import { DesiredAddon, DesiredRentableItem, UnitFeeBundle } from "../../WebComponent/FeeCalculator/model";
2
- declare type CalculateQuoteRequest = {
3
- buildingSlug: string;
4
- unitId: number;
5
- addons: DesiredAddon[];
6
- rentableItems: DesiredRentableItem[];
7
- leaseTerm: number;
8
- moveInDate: string;
9
- };
10
- export declare type CalculateQuoteResponse = {
11
- units: UnitFeeBundle[];
12
- };
13
- export declare const calculateQuote: ({ buildingSlug, unitId, addons, rentableItems, leaseTerm, moveInDate, }: CalculateQuoteRequest) => Promise<CalculateQuoteResponse>;
14
- export default calculateQuote;
@@ -1,10 +0,0 @@
1
- import { IncentiveV2 } from "../../types/incentive-v2";
2
- import { RentableItemSummary } from "../../WebComponent/FeeCalculator/model/rentable-item-summary";
3
- import { BuildingFeeView } from "../../WebComponent/FeeCalculator/model/building-fee-view";
4
- declare type BuildingFeeResponse = {
5
- fees: BuildingFeeView[];
6
- rentableItems: RentableItemSummary[];
7
- buildingIncentives: IncentiveV2[];
8
- };
9
- declare const fetchBuildingFeesV2: (buildingSlug: string, layoutIds?: number[]) => Promise<BuildingFeeResponse>;
10
- export default fetchBuildingFeesV2;
@@ -1,29 +0,0 @@
1
- export declare type Unit = {
2
- /**
3
- * ID comes back in the format "u1234567890" - we strip the "u"
4
- */
5
- id: number;
6
- unitNumber: string;
7
- layout: number;
8
- externalFloorPlanDescriptionId: string;
9
- numberOfBedrooms: number;
10
- numberOfBathrooms: number;
11
- squareFootage: number;
12
- floor: number;
13
- floorplanName: string;
14
- floorplanUrl: string;
15
- availabilityStage: string;
16
- earliestAvailable: string;
17
- latestAvailable: string;
18
- startingPrice: number;
19
- maxPrice: number;
20
- };
21
- declare type FetchPropertyUnitsParams = {
22
- buildingSlug: string;
23
- numBedrooms?: number;
24
- moveInDateEarliest?: Date;
25
- moveInDateLatest?: Date;
26
- leaseTermMin?: number;
27
- };
28
- declare const fetchBuildingUnits: ({ buildingSlug, numBedrooms, moveInDateEarliest, moveInDateLatest, leaseTermMin, }: FetchPropertyUnitsParams) => Promise<Unit[]>;
29
- export default fetchBuildingUnits;
@@ -1 +0,0 @@
1
- export declare const layoutToBedrooms: (layout: number) => number;
@@ -1,5 +0,0 @@
1
- /**
2
- * TODO(erol): PLEASE MOVE INTO EACH OWN ICON FILE UNDER /ICONS
3
- */
4
- export declare const CheckboxEmpty: import("lit-html").TemplateResult<2>;
5
- export declare const CheckboxChecked: import("lit-html").TemplateResult<2>;
@@ -1,5 +0,0 @@
1
- export declare const defaultPrimaryColor = "#646987";
2
- export declare const defaultBackgroundColor = "#ffffff";
3
- export declare const tintColor: (originalColor: string, tintOpacity: number) => string;
4
- export declare const hexToAlmostWhite: (hexColor: string, ratio: number) => string;
5
- export declare const shouldUsePrimaryColorForChatFooter: (orgId: number, buildingId: number) => boolean;
@@ -1,23 +0,0 @@
1
- export declare type UnitData = {
2
- unitIds: number[];
3
- unitNumbers: string[];
4
- layouts: number[];
5
- floorplanNames: string[];
6
- };
7
- export declare type IncentiveV2 = {
8
- id: number;
9
- originalIncentiveString: string;
10
- startDate: Date;
11
- endDate: Date;
12
- incentiveStatus: string;
13
- source: string;
14
- timeCreated: Date;
15
- nofee: boolean;
16
- numberOfFreeMonths: number;
17
- leaseLength: number;
18
- typeOfCustomerItAppliesTo: number;
19
- typeOfIncentive: number;
20
- numberOfMonthsOwnerPays: number;
21
- unitData: UnitData;
22
- qualifier: string;
23
- };
@@ -1,11 +0,0 @@
1
- /**
2
- * Redeclare enum from rest-sdk to avoid pulling in entire module.
3
- */
4
- export declare enum TourAvailabilityResponseRankOrderedSupportedTourTypesEnum {
5
- Unknown = "UNKNOWN",
6
- SelfGuided = "SELF_GUIDED",
7
- VirtualShowing = "VIRTUAL_SHOWING",
8
- WithAgent = "WITH_AGENT",
9
- MediaTour = "MEDIA_TOUR"
10
- }
11
- export type { TourAvailabilityResponse } from "@meetelise/rest-sdk";
@@ -1 +0,0 @@
1
- export declare type WebchatNoShowReason = "building_does_not_exist" | "building_not_launched" | "building_not_active" | "building_in_maintenance_mode" | "building_not_webchat_scope_configured";
@@ -1,8 +0,0 @@
1
- declare class QueryParamBuilder {
2
- private params;
3
- constructor();
4
- addSingle(key: string, value?: string): QueryParamBuilder;
5
- addArray(key: string, values?: string[]): QueryParamBuilder;
6
- build(): string;
7
- }
8
- export default QueryParamBuilder;