@meetelise/chat 1.33.0 → 1.34.0

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 (61) hide show
  1. package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector-styles.d.ts +2 -0
  2. package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector.d.ts +28 -0
  3. package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector-styles.d.ts +2 -0
  4. package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector.d.ts +18 -0
  5. package/dist/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector-styles.d.ts +2 -0
  6. package/dist/src/WebComponent/FeeCalculator/components/addons/{rentable-item/rentable-item.d.ts → rentable-item-qty-selector/rentable-item-qty-selector.d.ts} +3 -4
  7. package/dist/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout.d.ts +10 -8
  8. package/dist/src/WebComponent/FeeCalculator/components/fee-card/fee-card.d.ts +1 -1
  9. package/dist/src/WebComponent/FeeCalculator/components/fee-item/fee-item.d.ts +2 -2
  10. package/dist/src/WebComponent/FeeCalculator/components/index.d.ts +1 -1
  11. package/dist/src/WebComponent/FeeCalculator/fee-calculator.d.ts +6 -3
  12. package/dist/src/WebComponent/FeeCalculator/model/building-fee-view.d.ts +41 -0
  13. package/dist/src/WebComponent/FeeCalculator/model/desired-addon.d.ts +5 -0
  14. package/dist/src/WebComponent/FeeCalculator/model/desired-rentable-item.d.ts +4 -0
  15. package/dist/src/WebComponent/FeeCalculator/model/index.d.ts +13 -0
  16. package/dist/src/WebComponent/FeeCalculator/model/item-combination.d.ts +6 -0
  17. package/dist/src/WebComponent/FeeCalculator/model/item-quantity.d.ts +4 -0
  18. package/dist/src/WebComponent/FeeCalculator/model/pricing-matrix.d.ts +18 -0
  19. package/dist/src/WebComponent/FeeCalculator/model/pricing-rule.d.ts +8 -0
  20. package/dist/src/WebComponent/FeeCalculator/model/rent-frequency.d.ts +1 -0
  21. package/dist/src/WebComponent/FeeCalculator/model/rentable-item-summary.d.ts +9 -0
  22. package/dist/src/WebComponent/FeeCalculator/model/rentable-item.d.ts +9 -0
  23. package/dist/src/WebComponent/FeeCalculator/model/unit-fee-bundle.d.ts +31 -0
  24. package/dist/src/services/fees/calculateQuote.d.ts +1 -39
  25. package/dist/src/services/fees/fetchBuildingFeesV2.d.ts +10 -0
  26. package/package.json +1 -1
  27. package/public/dist/index.js +509 -425
  28. package/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector-styles.ts +35 -0
  29. package/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector.ts +206 -0
  30. package/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector-styles.ts +6 -0
  31. package/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector.ts +101 -0
  32. package/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector-styles.ts +9 -0
  33. package/src/WebComponent/FeeCalculator/components/addons/{rentable-item/rentable-item.ts → rentable-item-qty-selector/rentable-item-qty-selector.ts} +12 -8
  34. package/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout.ts +71 -73
  35. package/src/WebComponent/FeeCalculator/components/fee-card/fee-card.ts +1 -1
  36. package/src/WebComponent/FeeCalculator/components/fee-item/fee-item.ts +2 -2
  37. package/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector-styles.ts +8 -2
  38. package/src/WebComponent/FeeCalculator/components/index.ts +1 -1
  39. package/src/WebComponent/FeeCalculator/fee-calculator.ts +30 -33
  40. package/src/WebComponent/FeeCalculator/model/building-fee-view.ts +84 -0
  41. package/src/WebComponent/FeeCalculator/model/desired-addon.ts +6 -0
  42. package/src/WebComponent/FeeCalculator/model/desired-rentable-item.ts +4 -0
  43. package/src/WebComponent/FeeCalculator/model/index.ts +13 -0
  44. package/src/WebComponent/FeeCalculator/model/item-combination.ts +16 -0
  45. package/src/WebComponent/FeeCalculator/model/item-quantity.ts +4 -0
  46. package/src/WebComponent/FeeCalculator/model/pricing-matrix.ts +45 -0
  47. package/src/WebComponent/FeeCalculator/model/pricing-rule.ts +9 -0
  48. package/src/WebComponent/FeeCalculator/model/rent-frequency.ts +1 -0
  49. package/src/WebComponent/FeeCalculator/model/rentable-item-summary.ts +10 -0
  50. package/src/WebComponent/FeeCalculator/model/rentable-item.ts +10 -0
  51. package/src/WebComponent/FeeCalculator/model/unit-fee-bundle.ts +54 -0
  52. package/src/replaceSelectButtonsWithNewLink.ts +23 -2
  53. package/src/services/fees/calculateQuote.ts +9 -70
  54. package/src/services/fees/fetchBuildingFees.ts +5 -22
  55. package/src/services/fees/fetchBuildingFeesV2.ts +56 -0
  56. package/src/services/fees/fetchBuildingUnits.ts +3 -1
  57. package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item/addon-item.d.ts +0 -21
  58. package/dist/src/WebComponent/FeeCalculator/components/addons/rentable-item/rentable-item-styles.d.ts +0 -2
  59. package/dist/src/services/fees/fetchBuildingFees.d.ts +0 -26
  60. package/src/WebComponent/FeeCalculator/components/addons/addon-item/addon-item.ts +0 -107
  61. package/src/WebComponent/FeeCalculator/components/addons/rentable-item/rentable-item-styles.ts +0 -9
@@ -0,0 +1,2 @@
1
+ declare const _default: import("lit").CSSResult[];
2
+ export default _default;
@@ -0,0 +1,28 @@
1
+ import { LitElement, TemplateResult } from "lit";
2
+ import { BuildingFeeView, DesiredAddon } from "../../../model";
3
+ export declare class AddonItemMatrixQtySelector extends LitElement {
4
+ static styles: import("lit").CSSResult[];
5
+ set feeItem(value: BuildingFeeView | null);
6
+ get feeItem(): BuildingFeeView | null;
7
+ private _feeItem;
8
+ onQuantityChange: ((addon: DesiredAddon) => void) | null;
9
+ private quantities;
10
+ private _availableTypes;
11
+ private get matrixRules();
12
+ private getAvailableTypes;
13
+ private get itemTypes();
14
+ private getMaxQuantityForType;
15
+ private isValidCombination;
16
+ private handleIncrement;
17
+ private handleDecrement;
18
+ private notifyQuantityChange;
19
+ private formatItemType;
20
+ private pluralize;
21
+ private renderQuantitySelector;
22
+ render(): TemplateResult;
23
+ }
24
+ declare global {
25
+ interface HTMLElementTagNameMap {
26
+ "addon-item-matrix-qty-selector": AddonItemMatrixQtySelector;
27
+ }
28
+ }
@@ -0,0 +1,2 @@
1
+ declare const _default: import("lit").CSSResult;
2
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { LitElement, TemplateResult } from "lit";
2
+ import { BuildingFeeView, DesiredAddon } from "../../../model";
3
+ export declare class AddonItemQtySelector extends LitElement {
4
+ static styles: import("lit").CSSResult;
5
+ feeItem: BuildingFeeView | null;
6
+ onQuantityChange: ((addon: DesiredAddon) => void) | null;
7
+ private quantity;
8
+ private get maxQuantity();
9
+ private handleIncrement;
10
+ private handleDecrement;
11
+ private notifyQuantityChange;
12
+ render(): TemplateResult;
13
+ }
14
+ declare global {
15
+ interface HTMLElementTagNameMap {
16
+ "addon-item-qty-selector": AddonItemQtySelector;
17
+ }
18
+ }
@@ -0,0 +1,2 @@
1
+ declare const rentableItemQuantitySelectorStyles: import("lit").CSSResult;
2
+ export default rentableItemQuantitySelectorStyles;
@@ -1,7 +1,6 @@
1
1
  import { LitElement, TemplateResult } from "lit";
2
- import { RentableItemSummary } from "../../../../../services/fees/fetchBuildingFees";
3
- import { DesiredRentableItem } from "../../../../../services/fees/calculateQuote";
4
- export declare class RentableItem extends LitElement {
2
+ import { DesiredRentableItem, RentableItemSummary } from "../../../model";
3
+ export declare class RentableItemQtySelector extends LitElement {
5
4
  static styles: import("lit").CSSResult;
6
5
  rentableItem: RentableItemSummary | null;
7
6
  onSelect: ((rentableItem: DesiredRentableItem) => void) | null;
@@ -18,6 +17,6 @@ export declare class RentableItem extends LitElement {
18
17
  }
19
18
  declare global {
20
19
  interface HTMLElementTagNameMap {
21
- "rentable-item": RentableItem;
20
+ "rentable-item-qty-selector": RentableItemQtySelector;
22
21
  }
23
22
  }
@@ -1,13 +1,14 @@
1
1
  import { LitElement, TemplateResult } from "lit";
2
- import { BuildingFee, RecurrenceFrequency } from "../../model/building-fee";
3
2
  import { LayoutOption } from "../../../../fetchBuildingWebchatView";
4
- import { CalculateQuoteResponse, DesiredAddon, DesiredRentableItem, FeeEstimate } from "../../../../services/fees/calculateQuote";
5
- import { RentableItemSummary } from "../../../../services/fees/fetchBuildingFees";
3
+ import { DesiredAddon, DesiredRentableItem, FeeEstimate } from "../../model";
4
+ import { CalculateQuoteResponse } from "../../../../services/fees/calculateQuote";
6
5
  import { Unit } from "../../../../services/fees/fetchBuildingUnits";
6
+ import { BuildingFeeView, BuildingFeeFrequency, RentableItemSummary } from "../../model";
7
7
  import "../floor-plan-selector/floor-plan-selector";
8
8
  import "../fee-card/fee-card";
9
- import "../addons/addon-item/addon-item";
10
- import "../addons/rentable-item/rentable-item";
9
+ import "../addons/addon-item-qty-selector/addon-item-qty-selector";
10
+ import "../addons/rentable-item-qty-selector/rentable-item-qty-selector";
11
+ import "../addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector";
11
12
  import "../../../loaders/skeleton-loader";
12
13
  import "../../../loaders/mega-loader";
13
14
  export declare class FeeCalculatorLayout extends LitElement {
@@ -18,7 +19,7 @@ export declare class FeeCalculatorLayout extends LitElement {
18
19
  quote: CalculateQuoteResponse | null;
19
20
  layoutOptions: LayoutOption[];
20
21
  selectedLayoutIds: number[];
21
- groupedFees: Record<RecurrenceFrequency, BuildingFee[]>;
22
+ groupedFees: Record<BuildingFeeFrequency, BuildingFeeView[]>;
22
23
  rentableItems: RentableItemSummary[];
23
24
  onSelectLayout: ((layoutIds: number[]) => void) | null;
24
25
  onUnitSelect: ((unit: Unit) => void) | null;
@@ -26,15 +27,16 @@ export declare class FeeCalculatorLayout extends LitElement {
26
27
  onLeaseTermChange: ((leaseTerm: number) => void) | null;
27
28
  onAddonSelect: ((addon: DesiredAddon) => void) | null;
28
29
  onRentableItemSelect: ((rentableItem: DesiredRentableItem) => void) | null;
29
- get standardFees(): Record<RecurrenceFrequency, BuildingFee[]>;
30
+ get standardFees(): Record<BuildingFeeFrequency, BuildingFeeView[]>;
30
31
  /**
31
32
  * A "rentable item" is simply a fee which has inventory attached to it.
32
33
  */
33
- get addOns(): (BuildingFee | RentableItemSummary)[];
34
+ get addOns(): (BuildingFeeView | RentableItemSummary)[];
34
35
  renderRecurrenceFeeSection(title: string, fees: FeeEstimate[]): TemplateResult | null;
35
36
  renderFeeSections(): TemplateResult[];
36
37
  renderFeesContent(): TemplateResult;
37
38
  renderAddOns(): TemplateResult | null;
39
+ private renderAddOnsContent;
38
40
  render(): TemplateResult;
39
41
  }
40
42
  declare global {
@@ -1,5 +1,5 @@
1
1
  import { LitElement, TemplateResult } from "lit";
2
- import { FeeEstimate } from "../../../../services/fees/calculateQuote";
2
+ import { FeeEstimate } from "../../model";
3
3
  import "../fee-item/fee-item";
4
4
  export declare class FeeCard extends LitElement {
5
5
  static styles: import("lit").CSSResult;
@@ -1,6 +1,6 @@
1
1
  import { LitElement, TemplateResult } from "lit";
2
- import { FeeEstimate } from "../../../../services/fees/calculateQuote";
3
- import "../addons/addon-item/addon-item";
2
+ import { FeeEstimate } from "../../model";
3
+ import "../addons/addon-item-qty-selector/addon-item-qty-selector";
4
4
  export declare class FeeItemComponent extends LitElement {
5
5
  static styles: import("lit").CSSResult;
6
6
  feeItem: FeeEstimate | null;
@@ -1,5 +1,5 @@
1
1
  export * from "./promo-card/promo-card";
2
2
  export * from "./floor-plan-selector/floor-plan-selector";
3
3
  export * from "./fee-card/fee-card";
4
- export * from "./addons/addon-item/addon-item";
4
+ export * from "./addons/addon-item-qty-selector/addon-item-qty-selector";
5
5
  export * from "./fee-calculator-layout/fee-calculator-layout";
@@ -1,8 +1,10 @@
1
1
  import { LitElement, TemplateResult } from "lit";
2
2
  import { LayoutOption } from "../../fetchBuildingWebchatView";
3
- import { BuildingFee, RecurrenceFrequency } from "./model/building-fee";
4
- import { CalculateQuoteResponse, DesiredAddon, DesiredRentableItem } from "../../services/fees/calculateQuote";
3
+ import { CalculateQuoteResponse } from "../../services/fees/calculateQuote";
5
4
  import { Unit } from "../../services/fees/fetchBuildingUnits";
5
+ import { BuildingFeeFrequency, BuildingFeeView } from "./model/building-fee-view";
6
+ import { DesiredAddon } from "./model/desired-addon";
7
+ import { DesiredRentableItem } from "./model/desired-rentable-item";
6
8
  import "./components";
7
9
  import "./components/fee-calculator-layout/fee-calculator-layout";
8
10
  import "../chat-additional-actions";
@@ -35,13 +37,14 @@ export declare class FeeCalculator extends LitElement {
35
37
  firstUpdated: () => Promise<void>;
36
38
  setupCalculator: () => Promise<void>;
37
39
  updated(changedProperties: Map<string, unknown>): void;
40
+ disconnectedCallback(): void;
38
41
  calculateQuote: () => Promise<void>;
39
42
  handleUnitSelect: (unit: Unit) => void;
40
43
  handleMoveInDateChange: (date: Date) => void;
41
44
  handleLeaseTermChange: (leaseTerm: number) => void;
42
45
  handleAddonSelect: (addon: DesiredAddon) => void;
43
46
  handleRentableItemSelect: (rentableItem: DesiredRentableItem) => void;
44
- groupFees: (fees: BuildingFee[]) => Record<RecurrenceFrequency, BuildingFee[]>;
47
+ groupFees: (fees: BuildingFeeView[]) => Record<BuildingFeeFrequency, BuildingFeeView[]>;
45
48
  handleClickEmailOption: (e: MouseEvent) => void;
46
49
  handleClickPhoneOption: (e: MouseEvent) => void;
47
50
  handleClickSSTOption: (e: MouseEvent) => void;
@@ -0,0 +1,41 @@
1
+ import { PricingMatrix } from "./pricing-matrix";
2
+ export declare enum BuildingFeeFrequency {
3
+ OneTime = "One Time",
4
+ Monthly = "Monthly",
5
+ Quarterly = "Quarterly",
6
+ Annually = "Annually",
7
+ PerOccurrence = "Per Occurrence"
8
+ }
9
+ export declare class BuildingFeeView {
10
+ id?: number;
11
+ buildingId: number;
12
+ feeName: string;
13
+ description?: string;
14
+ category: string;
15
+ unitIds?: number[];
16
+ layoutIds?: number[];
17
+ startDate?: Date;
18
+ endDate?: Date;
19
+ source?: string;
20
+ externalKey?: string;
21
+ syncActive: boolean;
22
+ hiddenReason?: string;
23
+ refundable: boolean;
24
+ bundleKey?: string;
25
+ publicFacing: boolean;
26
+ chargeCode?: string;
27
+ prorated?: boolean;
28
+ pricingCategory: "mandatory" | "situational";
29
+ pricingType: "fixed" | "per-item" | "usage-based" | "percent-rent" | "custom";
30
+ frequency: BuildingFeeFrequency;
31
+ nlpPricing?: string;
32
+ amount?: number;
33
+ percentRent?: number;
34
+ unitLabel?: string;
35
+ minAmount?: number;
36
+ maxAmount?: number;
37
+ customMatrixData?: PricingMatrix;
38
+ constructor(data?: Partial<BuildingFeeView>);
39
+ get isOptional(): boolean;
40
+ get hasMatrix(): boolean;
41
+ }
@@ -0,0 +1,5 @@
1
+ import { ItemQuantity } from "./item-quantity";
2
+ export declare type DesiredAddon = {
3
+ id: number;
4
+ quantities: ItemQuantity[];
5
+ };
@@ -0,0 +1,4 @@
1
+ export declare type DesiredRentableItem = {
2
+ id: number;
3
+ type: string;
4
+ };
@@ -0,0 +1,13 @@
1
+ export * from "./building-fee";
2
+ export * from "./building-fee-view";
3
+ export * from "./desired-addon";
4
+ export * from "./desired-rentable-item";
5
+ export * from "./item-combination";
6
+ export * from "./item-quantity";
7
+ export * from "./pricing-matrix";
8
+ export * from "./pricing-rule";
9
+ export { RentFrequency } from "./rent-frequency";
10
+ export { RentableItem } from "./rentable-item";
11
+ export * from "./rentable-item-summary";
12
+ export * from "./transaction-category";
13
+ export * from "./unit-fee-bundle";
@@ -0,0 +1,6 @@
1
+ import { ItemQuantity } from "./item-quantity";
2
+ export declare class ItemCombination {
3
+ quantities: ItemQuantity[];
4
+ constructor(quantities?: ItemQuantity[]);
5
+ toKey(): string;
6
+ }
@@ -0,0 +1,4 @@
1
+ export interface ItemQuantity {
2
+ itemType: string;
3
+ quantity: number;
4
+ }
@@ -0,0 +1,18 @@
1
+ import { ItemCombination } from "./item-combination";
2
+ import { PricingRule } from "./pricing-rule";
3
+ export declare class PricingMatrix {
4
+ private rules;
5
+ pricingRules: PricingRule[];
6
+ constructor(data?: {
7
+ pricingRules?: PricingRule[];
8
+ });
9
+ addRule(rule: PricingRule): void;
10
+ getPrice(combination: ItemCombination): number | undefined;
11
+ toRuleArray(): PricingRule[];
12
+ toJSON(): {
13
+ pricingRules: PricingRule[];
14
+ };
15
+ static fromJSON(data: {
16
+ pricingRules: PricingRule[];
17
+ }): PricingMatrix;
18
+ }
@@ -0,0 +1,8 @@
1
+ import { ItemCombination } from "./item-combination";
2
+ export interface PricingRule {
3
+ combination: ItemCombination;
4
+ price?: number;
5
+ percentRent?: number;
6
+ minimumPrice?: number;
7
+ maximumPrice?: number;
8
+ }
@@ -0,0 +1 @@
1
+ export declare type RentFrequency = "monthly" | "annually";
@@ -0,0 +1,9 @@
1
+ import { RentableItem } from "./rentable-item";
2
+ export interface RentableItemSummary {
3
+ description: string;
4
+ type: string;
5
+ minAvailableItem?: RentableItem;
6
+ maxAvailableItem?: RentableItem;
7
+ allItems: RentableItem[];
8
+ rent?: number;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { RentFrequency } from "./rent-frequency";
2
+ export interface RentableItem {
3
+ id: string;
4
+ description: string;
5
+ rent: number;
6
+ rentFrequency: RentFrequency;
7
+ available: boolean;
8
+ reservedUntil?: Date;
9
+ }
@@ -0,0 +1,31 @@
1
+ import { RentableItemSummary } from "./rentable-item-summary";
2
+ export declare type UnitFeeBundle = {
3
+ unitId: number;
4
+ unitNumber: string;
5
+ unitLayout: number;
6
+ rent: number;
7
+ fees: FeeEstimate[];
8
+ feeTotal: number;
9
+ rentableItems: RentableItemSummary[];
10
+ rentableItemTotal: number;
11
+ };
12
+ declare type FeeAdjustment = {
13
+ reason: string;
14
+ amount: number;
15
+ };
16
+ export declare class FeeEstimate {
17
+ name: string;
18
+ description?: string | null;
19
+ amount: number;
20
+ frequency: string;
21
+ addOnType?: string;
22
+ applicable?: boolean;
23
+ required?: boolean;
24
+ adjustments?: FeeAdjustment[];
25
+ comment?: string;
26
+ constructor(data: FeeEstimate);
27
+ get displayAmount(): string;
28
+ get displayName(): string;
29
+ get isAddOn(): boolean;
30
+ }
31
+ export {};
@@ -1,4 +1,4 @@
1
- import { RentableItemSummary } from "./fetchBuildingFees";
1
+ import { DesiredAddon, DesiredRentableItem, UnitFeeBundle } from "../../WebComponent/FeeCalculator/model";
2
2
  declare type CalculateQuoteRequest = {
3
3
  buildingSlug: string;
4
4
  unitId: number;
@@ -7,46 +7,8 @@ declare type CalculateQuoteRequest = {
7
7
  leaseTerm: number;
8
8
  moveInDate: string;
9
9
  };
10
- export declare type DesiredAddon = {
11
- id: number;
12
- quantity: number;
13
- type: string;
14
- };
15
- export declare type DesiredRentableItem = {
16
- id: number;
17
- type: string;
18
- };
19
10
  export declare type CalculateQuoteResponse = {
20
11
  units: UnitFeeBundle[];
21
12
  };
22
- declare type UnitFeeBundle = {
23
- unitId: number;
24
- unitNumber: string;
25
- unitLayout: number;
26
- rent: number;
27
- fees: FeeEstimate[];
28
- feeTotal: number;
29
- rentableItems: RentableItemSummary[];
30
- rentableItemTotal: number;
31
- };
32
- export declare class FeeEstimate {
33
- name: string;
34
- description?: string | null;
35
- amount: number;
36
- frequency: string;
37
- addOnType?: string;
38
- applicable?: boolean;
39
- required?: boolean;
40
- adjustments?: FeeAdjustment[];
41
- comment?: string;
42
- constructor(data: FeeEstimate);
43
- get displayAmount(): string;
44
- get displayName(): string;
45
- get isAddOn(): boolean;
46
- }
47
- declare type FeeAdjustment = {
48
- reason: string;
49
- amount: number;
50
- };
51
13
  export declare const calculateQuote: ({ buildingSlug, unitId, addons, rentableItems, leaseTerm, moveInDate, }: CalculateQuoteRequest) => Promise<CalculateQuoteResponse>;
52
14
  export default calculateQuote;
@@ -0,0 +1,10 @@
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetelise/chat",
3
- "version": "1.33.0",
3
+ "version": "1.34.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/MeetElise/chat-ui#readme",