@glissandoo/lib 1.59.0 → 1.59.2

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.
@@ -21,4 +21,6 @@ export default class Customer extends CustomerBasic<CustomerData> {
21
21
  get howDidYouHearAboutUs(): string | null;
22
22
  get groupIds(): string[];
23
23
  get glissandooAdminUrl(): string;
24
+ get mrr(): number;
25
+ get manual(): boolean;
24
26
  }
@@ -50,7 +50,13 @@ class Customer extends basic_1.default {
50
50
  return this.data.groupIds || [];
51
51
  }
52
52
  get glissandooAdminUrl() {
53
- return (0, glissandooAdmin_1.getGlissandooAdminEntityURL)(collections_1.CollectionNames.Partnership, this.id);
53
+ return (0, glissandooAdmin_1.getGlissandooAdminEntityURL)(collections_1.CollectionNames.Customer, this.id);
54
+ }
55
+ get mrr() {
56
+ return this.data.mrr || 0;
57
+ }
58
+ get manual() {
59
+ return this.data.manual || false;
54
60
  }
55
61
  }
56
62
  exports.default = Customer;
@@ -23,6 +23,8 @@ export interface CustomerData extends CustomerBasicData {
23
23
  value: string;
24
24
  }[];
25
25
  howDidYouHearAboutUs: string | null;
26
+ mrr: number;
27
+ manual: boolean;
26
28
  readonly createdAt: Timestamp;
27
29
  readonly createdBy: DocumentReference;
28
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.59.0",
3
+ "version": "1.59.2",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",