@meetelise/chat 1.46.0 → 1.47.1

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.
@@ -68,6 +68,7 @@ export declare class TourScheduler extends LitElement {
68
68
  private allowOccupiedUnitTours;
69
69
  errorGettingAvailabilities: boolean;
70
70
  private centralConvoBuildings;
71
+ private isGeneralBuilding;
71
72
  selectedBuildingEl?: MESelect;
72
73
  private statusMessage;
73
74
  _setAvailabilities: () => Promise<void>;
@@ -83,6 +84,7 @@ export declare class TourScheduler extends LitElement {
83
84
  private _loadForCurrentBuilding;
84
85
  private _fetchCentralConvoBuildings;
85
86
  private _onBuildingChange;
87
+ buildingSelectMenu(): TemplateResult;
86
88
  buildingSelector(): TemplateResult | string;
87
89
  protected willUpdate: (_changedProperties: PropertyValueMap<{
88
90
  tourType: TourType;
@@ -121,6 +123,7 @@ export declare class TourScheduler extends LitElement {
121
123
  confirmationMessage(): TemplateResult;
122
124
  loadingIcon(size?: number): TemplateResult;
123
125
  render(): TemplateResult;
126
+ private renderCenteredCard;
124
127
  private renderBody;
125
128
  }
126
129
  export declare enum TourType {
@@ -0,0 +1 @@
1
+ export default function fetchBuildingAip(buildingSlug: string): Promise<boolean>;
@@ -117,6 +117,7 @@ export interface BuildingWebchatView {
117
117
  featureFlagInsertDniIntoWebsite: boolean;
118
118
  featureFlagWebchatReplaceAnyScheduleTourCtaWebsite: boolean;
119
119
  customAdditionalDisclaimer: string | null;
120
+ isAip: boolean;
120
121
  }
121
122
  /**
122
123
  * Load the publicly-available info for a building.
@@ -3,12 +3,15 @@ export interface CentralConvoBuilding {
3
3
  name: string;
4
4
  slug: string;
5
5
  }
6
+ export interface CentralConvoBuildingsResponse {
7
+ is_general_building: boolean;
8
+ buildings: CentralConvoBuilding[];
9
+ }
6
10
  /**
7
11
  * Fetch the buildings that belong to the same central conversation group as the
8
- * current building. Returns an empty array when the building is not part of a
9
- * central conversation group (in which case no building selector is shown).
12
+ * current building.
10
13
  *
11
14
  * @param orgSlug - The org slug, e.g. "big-prop-co"
12
15
  * @param buildingSlug - The current building's slug, e.g. "gravity-falls"
13
16
  */
14
- export default function fetchCentralConvoBuildings(orgSlug: string, buildingSlug: string): Promise<CentralConvoBuilding[]>;
17
+ export default function fetchCentralConvoBuildings(orgSlug: string, buildingSlug: string): Promise<CentralConvoBuildingsResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetelise/chat",
3
- "version": "1.46.0",
3
+ "version": "1.47.1",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/MeetElise/chat-ui#readme",