@rentbase/common 1.0.16 → 1.0.17

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.
@@ -3,23 +3,15 @@
3
3
  * Events emitted when admins update monetization configuration such as
4
4
  * country/currency pricing rows for listing fees and access passes.
5
5
  */
6
- export interface MonetizationPricingTenantPassTier {
7
- durationDays: number;
8
- priceAmount: number;
9
- }
10
- export interface MonetizationPricingListingFees {
11
- rentalAmount: number;
12
- saleAmount: number;
13
- durationDays: number;
14
- }
15
6
  export interface MonetizationPricingUpsertedEvent {
16
7
  pricingId: string;
17
8
  countryId?: string;
18
9
  countryCode?: string;
19
10
  currency: string;
20
- tenantPassTiers: MonetizationPricingTenantPassTier[];
21
- listingFees: MonetizationPricingListingFees;
22
- isActive: boolean;
11
+ listingFeeAmount?: number;
12
+ accessPassPriceAmount?: number;
13
+ accessPassDurationDays?: number;
14
+ isActive?: boolean;
23
15
  updatedAt: string | Date;
24
16
  updatedByAuthUserId?: string;
25
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rentbase/common",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "common library for rentbase",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",