@glissandoo/lib 1.42.0 → 1.43.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.
- package/functions/federation.d.ts +1 -3
- package/functions/partnershipGroup copy.d.ts +21 -0
- package/functions/partnershipGroup copy.js +2 -0
- package/helpers/notifications.d.ts +37 -0
- package/helpers/notifications.js +126 -0
- package/models/Federation/index.d.ts +1 -0
- package/models/Federation/index.js +3 -0
- package/models/Federation/types.d.ts +1 -0
- package/models/Partnership/Group/index.d.ts +0 -17
- package/models/Partnership/Group/index.js +0 -33
- package/models/Partnership/Group/types.d.ts +0 -17
- package/models/Partnership/index.d.ts +0 -11
- package/models/Partnership/index.js +0 -16
- package/models/Partnership/types.d.ts +0 -11
- package/package.json +1 -1
|
@@ -44,9 +44,7 @@ export declare namespace FederationFbFunctionsTypes {
|
|
|
44
44
|
federationId: string;
|
|
45
45
|
}
|
|
46
46
|
type ConfirmAdminResult = void;
|
|
47
|
-
|
|
48
|
-
federationIds: string[];
|
|
49
|
-
}
|
|
47
|
+
type GetConfederationParams = void;
|
|
50
48
|
type ConfederationPartnershipType = Pick<FederationPartnership, 'id' | 'displayName' | 'email' | 'hasSchool' | 'leaderCount' | 'photoURL' | 'phone' | 'address' | 'CIF' | 'partnerCount' | 'memberCount' | 'connectedAt' | 'teacherCount' | 'studentCount' | 'updatedAt'>;
|
|
51
49
|
type FederationConfederationType = Pick<Federation, 'id' | 'displayName' | 'email' | 'photoURL' | 'phone' | 'web' | 'address' | 'partnershipIds'>;
|
|
52
50
|
interface GetConfederationResult {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PlanPeriod, PlansGroup } from '../helpers/plans';
|
|
2
|
+
export declare namespace PartnershipGroupFbFunctionsTypes {
|
|
3
|
+
interface AddParams {
|
|
4
|
+
partnershipId: string;
|
|
5
|
+
groupId: string;
|
|
6
|
+
}
|
|
7
|
+
type AddResult = void;
|
|
8
|
+
interface SetPlanParams {
|
|
9
|
+
partnershipId: string;
|
|
10
|
+
groupId: string;
|
|
11
|
+
planId: PlansGroup;
|
|
12
|
+
planPeriod: PlanPeriod;
|
|
13
|
+
planDiscount: string | null;
|
|
14
|
+
}
|
|
15
|
+
type SetPlanResult = void;
|
|
16
|
+
interface RemoveParams {
|
|
17
|
+
partnershipId: string;
|
|
18
|
+
groupId: string;
|
|
19
|
+
}
|
|
20
|
+
type RemoveResult = void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EventoFbFunctionsTypes } from '../functions/event';
|
|
2
|
+
import { NotificationActions } from '../models/Notification/types';
|
|
3
|
+
import { UserNotificationSettings } from '../models/User/types';
|
|
4
|
+
import { BadgesTypes } from './badges';
|
|
5
|
+
export declare const notificationActionsBadges: Record<BadgesTypes, {
|
|
6
|
+
firstLevel: NotificationActions;
|
|
7
|
+
upLevel: NotificationActions;
|
|
8
|
+
}>;
|
|
9
|
+
export declare enum NotificationEventActions {
|
|
10
|
+
Create = "create",
|
|
11
|
+
Cancel = "cancel",
|
|
12
|
+
EditAttendance = "editAttendance",
|
|
13
|
+
EditComments = "editComments",
|
|
14
|
+
EditDatetime = "editDatetime",
|
|
15
|
+
EditLocality = "editLocality",
|
|
16
|
+
EditRepertory = "editRepertory",
|
|
17
|
+
EditStage = "editStage",
|
|
18
|
+
EditTitle = "editTitle",
|
|
19
|
+
AddPlayers = "addPlayers",
|
|
20
|
+
RemovePlayer = "removePlayers",
|
|
21
|
+
ConfirmAssistance = "confirmAssistance",
|
|
22
|
+
DeclineAssistance = "declineAssistance",
|
|
23
|
+
Reminder = "reminder",
|
|
24
|
+
ReminderEveningConfirm = "reminderEveningConfirm",
|
|
25
|
+
ReminderEveningPending = "reminderEveningPending",
|
|
26
|
+
ReminderMorningConfirm = "reminderMorningConfirm",
|
|
27
|
+
ReminderMorningPending = "reminderMorningPending",
|
|
28
|
+
ReminderRollcall = "reminderRollcall"
|
|
29
|
+
}
|
|
30
|
+
type RealtionScopeToNotification = Record<EventoFbFunctionsTypes.EditScope, NotificationEventActions>;
|
|
31
|
+
export declare const editScopeToAction: RealtionScopeToNotification;
|
|
32
|
+
type RelationActionNotification = Record<NotificationEventActions, NotificationActions>;
|
|
33
|
+
export declare const notificationPerformance: RelationActionNotification;
|
|
34
|
+
export declare const notificationSinglePractice: RelationActionNotification;
|
|
35
|
+
export declare const notificationMultiplePractice: RelationActionNotification;
|
|
36
|
+
export declare const userNotificationSettings: Record<UserNotificationSettings, NotificationActions[]>;
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.userNotificationSettings = exports.notificationMultiplePractice = exports.notificationSinglePractice = exports.notificationPerformance = exports.editScopeToAction = exports.NotificationEventActions = exports.notificationActionsBadges = void 0;
|
|
4
|
+
const types_1 = require("../models/Notification/types");
|
|
5
|
+
const types_2 = require("../models/User/types");
|
|
6
|
+
const badges_1 = require("./badges");
|
|
7
|
+
exports.notificationActionsBadges = {
|
|
8
|
+
[badges_1.BadgesTypes.AccPerformances]: {
|
|
9
|
+
firstLevel: types_1.NotificationActions.BadgeAccPerformancesFirstLevel,
|
|
10
|
+
upLevel: types_1.NotificationActions.BadgeAccPerformancesUpLevel,
|
|
11
|
+
},
|
|
12
|
+
[badges_1.BadgesTypes.AccPractices]: {
|
|
13
|
+
firstLevel: types_1.NotificationActions.BadgeAccPracticesFirstLevel,
|
|
14
|
+
upLevel: types_1.NotificationActions.BadgeAccPracticesUpLevel,
|
|
15
|
+
},
|
|
16
|
+
[badges_1.BadgesTypes.AnswerEvents]: {
|
|
17
|
+
firstLevel: types_1.NotificationActions.BadgeAnswerEventsFirstLevel,
|
|
18
|
+
upLevel: types_1.NotificationActions.BadgeAnswerEventsUpLevel,
|
|
19
|
+
},
|
|
20
|
+
[badges_1.BadgesTypes.StrikePractices]: {
|
|
21
|
+
firstLevel: types_1.NotificationActions.BadgeStrikePracticesFirstLevel,
|
|
22
|
+
upLevel: types_1.NotificationActions.BadgeStrikePracticesUpLevel,
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
var NotificationEventActions;
|
|
26
|
+
(function (NotificationEventActions) {
|
|
27
|
+
NotificationEventActions["Create"] = "create";
|
|
28
|
+
NotificationEventActions["Cancel"] = "cancel";
|
|
29
|
+
NotificationEventActions["EditAttendance"] = "editAttendance";
|
|
30
|
+
NotificationEventActions["EditComments"] = "editComments";
|
|
31
|
+
NotificationEventActions["EditDatetime"] = "editDatetime";
|
|
32
|
+
NotificationEventActions["EditLocality"] = "editLocality";
|
|
33
|
+
NotificationEventActions["EditRepertory"] = "editRepertory";
|
|
34
|
+
NotificationEventActions["EditStage"] = "editStage";
|
|
35
|
+
NotificationEventActions["EditTitle"] = "editTitle";
|
|
36
|
+
NotificationEventActions["AddPlayers"] = "addPlayers";
|
|
37
|
+
NotificationEventActions["RemovePlayer"] = "removePlayers";
|
|
38
|
+
NotificationEventActions["ConfirmAssistance"] = "confirmAssistance";
|
|
39
|
+
NotificationEventActions["DeclineAssistance"] = "declineAssistance";
|
|
40
|
+
NotificationEventActions["Reminder"] = "reminder";
|
|
41
|
+
NotificationEventActions["ReminderEveningConfirm"] = "reminderEveningConfirm";
|
|
42
|
+
NotificationEventActions["ReminderEveningPending"] = "reminderEveningPending";
|
|
43
|
+
NotificationEventActions["ReminderMorningConfirm"] = "reminderMorningConfirm";
|
|
44
|
+
NotificationEventActions["ReminderMorningPending"] = "reminderMorningPending";
|
|
45
|
+
NotificationEventActions["ReminderRollcall"] = "reminderRollcall";
|
|
46
|
+
})(NotificationEventActions = exports.NotificationEventActions || (exports.NotificationEventActions = {}));
|
|
47
|
+
exports.editScopeToAction = {
|
|
48
|
+
title: NotificationEventActions.EditTitle,
|
|
49
|
+
locality: NotificationEventActions.EditLocality,
|
|
50
|
+
comments: NotificationEventActions.EditComments,
|
|
51
|
+
attendance: NotificationEventActions.EditAttendance,
|
|
52
|
+
stage: NotificationEventActions.EditStage,
|
|
53
|
+
};
|
|
54
|
+
exports.notificationPerformance = {
|
|
55
|
+
cancel: types_1.NotificationActions.PerformanceCancel,
|
|
56
|
+
create: types_1.NotificationActions.PerformanceCreate,
|
|
57
|
+
editAttendance: types_1.NotificationActions.PerformanceEditAttendance,
|
|
58
|
+
editComments: types_1.NotificationActions.PerformanceEditComments,
|
|
59
|
+
editDatetime: types_1.NotificationActions.PerformanceEditDatetime,
|
|
60
|
+
editLocality: types_1.NotificationActions.PerformanceEditLocality,
|
|
61
|
+
editRepertory: types_1.NotificationActions.PerformanceEditRepertory,
|
|
62
|
+
editTitle: types_1.NotificationActions.PerformanceEditTitle,
|
|
63
|
+
editStage: types_1.NotificationActions.PerformanceEditStage,
|
|
64
|
+
addPlayers: types_1.NotificationActions.PerformancePlayersAdd,
|
|
65
|
+
removePlayers: types_1.NotificationActions.PerformancePlayersRemove,
|
|
66
|
+
confirmAssistance: types_1.NotificationActions.PerformanceAssistanceConfirm,
|
|
67
|
+
declineAssistance: types_1.NotificationActions.PerformanceAssistanceDecline,
|
|
68
|
+
reminder: types_1.NotificationActions.PerformanceReminder,
|
|
69
|
+
reminderEveningConfirm: types_1.NotificationActions.PerformanceEveningReminderConfirm,
|
|
70
|
+
reminderEveningPending: types_1.NotificationActions.PerformanceEveningReminderPending,
|
|
71
|
+
reminderMorningConfirm: types_1.NotificationActions.PerformanceMorningReminderConfirm,
|
|
72
|
+
reminderMorningPending: types_1.NotificationActions.PerformanceMorningReminderPending,
|
|
73
|
+
reminderRollcall: types_1.NotificationActions.PerformanceRollCallReminder,
|
|
74
|
+
};
|
|
75
|
+
exports.notificationSinglePractice = {
|
|
76
|
+
cancel: types_1.NotificationActions.PracticeCancel,
|
|
77
|
+
create: types_1.NotificationActions.PracticeCreate,
|
|
78
|
+
editAttendance: types_1.NotificationActions.PracticeEditAttendance,
|
|
79
|
+
editComments: types_1.NotificationActions.PracticeEditComments,
|
|
80
|
+
editDatetime: types_1.NotificationActions.PracticeEditDatetime,
|
|
81
|
+
editLocality: types_1.NotificationActions.PracticeEditLocality,
|
|
82
|
+
editRepertory: types_1.NotificationActions.PracticeEditRepertory,
|
|
83
|
+
editTitle: types_1.NotificationActions.PracticeEditTitle,
|
|
84
|
+
editStage: types_1.NotificationActions.PracticeEditStage,
|
|
85
|
+
addPlayers: types_1.NotificationActions.PracticePlayersAdd,
|
|
86
|
+
removePlayers: types_1.NotificationActions.PracticePlayersRemove,
|
|
87
|
+
confirmAssistance: types_1.NotificationActions.PracticeAssistanceConfirm,
|
|
88
|
+
declineAssistance: types_1.NotificationActions.PracticeAssistanceDecline,
|
|
89
|
+
reminder: types_1.NotificationActions.PracticeReminder,
|
|
90
|
+
reminderEveningConfirm: types_1.NotificationActions.PracticeEveningReminderConfirm,
|
|
91
|
+
reminderEveningPending: types_1.NotificationActions.PracticeEveningReminderPending,
|
|
92
|
+
reminderMorningConfirm: types_1.NotificationActions.PracticeMorningReminderConfirm,
|
|
93
|
+
reminderMorningPending: types_1.NotificationActions.PracticeMorningReminderPending,
|
|
94
|
+
reminderRollcall: types_1.NotificationActions.PracticeRollCallReminder,
|
|
95
|
+
};
|
|
96
|
+
exports.notificationMultiplePractice = {
|
|
97
|
+
cancel: types_1.NotificationActions.PracticesCancel,
|
|
98
|
+
create: types_1.NotificationActions.PracticesCreate,
|
|
99
|
+
editAttendance: types_1.NotificationActions.PracticesEditAttendance,
|
|
100
|
+
editComments: types_1.NotificationActions.PracticesEditComments,
|
|
101
|
+
editDatetime: types_1.NotificationActions.PracticesEditDatetime,
|
|
102
|
+
editLocality: types_1.NotificationActions.PracticesEditLocality,
|
|
103
|
+
editRepertory: types_1.NotificationActions.PracticesEditRepertory,
|
|
104
|
+
editTitle: types_1.NotificationActions.PracticesEditTitle,
|
|
105
|
+
editStage: types_1.NotificationActions.PracticesEditStage,
|
|
106
|
+
addPlayers: types_1.NotificationActions.PracticesPlayersAdd,
|
|
107
|
+
removePlayers: types_1.NotificationActions.PracticesPlayersRemove,
|
|
108
|
+
confirmAssistance: types_1.NotificationActions.PracticeAssistanceConfirm,
|
|
109
|
+
declineAssistance: types_1.NotificationActions.PracticeAssistanceDecline,
|
|
110
|
+
reminder: types_1.NotificationActions.PracticeReminder,
|
|
111
|
+
reminderEveningConfirm: types_1.NotificationActions.PracticeEveningReminderConfirm,
|
|
112
|
+
reminderEveningPending: types_1.NotificationActions.PracticeEveningReminderPending,
|
|
113
|
+
reminderMorningConfirm: types_1.NotificationActions.PracticeMorningReminderConfirm,
|
|
114
|
+
reminderMorningPending: types_1.NotificationActions.PracticeMorningReminderPending,
|
|
115
|
+
reminderRollcall: types_1.NotificationActions.PracticeRollCallReminder,
|
|
116
|
+
};
|
|
117
|
+
exports.userNotificationSettings = {
|
|
118
|
+
[types_2.UserNotificationSettings.AttendanceConfirmed]: [
|
|
119
|
+
types_1.NotificationActions.PerformanceAssistanceConfirm,
|
|
120
|
+
types_1.NotificationActions.PracticeAssistanceConfirm,
|
|
121
|
+
],
|
|
122
|
+
[types_2.UserNotificationSettings.AttendanceDeclined]: [
|
|
123
|
+
types_1.NotificationActions.PerformanceAssistanceDecline,
|
|
124
|
+
types_1.NotificationActions.PracticeAssistanceDecline,
|
|
125
|
+
],
|
|
126
|
+
};
|
|
@@ -67,5 +67,8 @@ class Federation extends Model_1.default {
|
|
|
67
67
|
get glissandooAdminUrl() {
|
|
68
68
|
return (0, glissandooAdmin_1.getGlissandooAdminEntityURL)(collections_1.CollectionNames.Federation, this.id);
|
|
69
69
|
}
|
|
70
|
+
get besm() {
|
|
71
|
+
return this.data.besm || false;
|
|
72
|
+
}
|
|
70
73
|
}
|
|
71
74
|
exports.default = Federation;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PlansGroup } from '../../../helpers/plans';
|
|
2
1
|
import { LanguagesTypes } from '../../../lang';
|
|
3
2
|
import { DocumentSnapshot } from '../../../types/firestore';
|
|
4
3
|
import GroupBasic from '../../Group/basic';
|
|
@@ -7,21 +6,5 @@ export default class PartnershipGroup extends GroupBasic<PartnershipGroupData> {
|
|
|
7
6
|
constructor(doc: DocumentSnapshot, lang?: LanguagesTypes);
|
|
8
7
|
get linkedAt(): import("../../../types/firestore").Timestamp;
|
|
9
8
|
get linkedBy(): import("../../../types/firestore").DocumentReference<import("../../../types/firestore").DocumentData>;
|
|
10
|
-
/** @deprecated use customer */
|
|
11
|
-
get upgradedAt(): import("../../../types/firestore").Timestamp | null;
|
|
12
|
-
/** @deprecated use customer */
|
|
13
|
-
get upgradedBy(): import("../../../types/firestore").DocumentReference<import("../../../types/firestore").DocumentData> | null;
|
|
14
|
-
/** @deprecated use customer */
|
|
15
|
-
get upgradedMethod(): string | null;
|
|
16
|
-
/** @deprecated use customer */
|
|
17
|
-
get planId(): PlansGroup;
|
|
18
|
-
/** @deprecated use customer */
|
|
19
|
-
get planPeriod(): import("../../../helpers/plans").PlanPeriod | null;
|
|
20
|
-
/** @deprecated use customer */
|
|
21
|
-
get planDiscount(): string | null;
|
|
22
|
-
/** @deprecated use customer */
|
|
23
|
-
get planStripeId(): string | null;
|
|
24
|
-
/** @deprecated use customer */
|
|
25
|
-
get subscriptionStripeId(): string | null;
|
|
26
9
|
get partnershipId(): string;
|
|
27
10
|
}
|
|
@@ -4,7 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const get_1 = __importDefault(require("lodash/get"));
|
|
7
|
-
const plans_1 = require("../../../helpers/plans");
|
|
8
7
|
const lang_1 = require("../../../lang");
|
|
9
8
|
const basic_1 = __importDefault(require("../../Group/basic"));
|
|
10
9
|
class PartnershipGroup extends basic_1.default {
|
|
@@ -17,38 +16,6 @@ class PartnershipGroup extends basic_1.default {
|
|
|
17
16
|
get linkedBy() {
|
|
18
17
|
return this.data.linkedBy;
|
|
19
18
|
}
|
|
20
|
-
/** @deprecated use customer */
|
|
21
|
-
get upgradedAt() {
|
|
22
|
-
return this.data.upgradedAt || null;
|
|
23
|
-
}
|
|
24
|
-
/** @deprecated use customer */
|
|
25
|
-
get upgradedBy() {
|
|
26
|
-
return this.data.upgradedBy || null;
|
|
27
|
-
}
|
|
28
|
-
/** @deprecated use customer */
|
|
29
|
-
get upgradedMethod() {
|
|
30
|
-
return this.data.upgradedMethod || null;
|
|
31
|
-
}
|
|
32
|
-
/** @deprecated use customer */
|
|
33
|
-
get planId() {
|
|
34
|
-
return this.data.planId || plans_1.PlansGroup.Piano;
|
|
35
|
-
}
|
|
36
|
-
/** @deprecated use customer */
|
|
37
|
-
get planPeriod() {
|
|
38
|
-
return this.data.planPeriod || null;
|
|
39
|
-
}
|
|
40
|
-
/** @deprecated use customer */
|
|
41
|
-
get planDiscount() {
|
|
42
|
-
return this.data.planDiscount || null;
|
|
43
|
-
}
|
|
44
|
-
/** @deprecated use customer */
|
|
45
|
-
get planStripeId() {
|
|
46
|
-
return this.data.planStripeId || null;
|
|
47
|
-
}
|
|
48
|
-
/** @deprecated use customer */
|
|
49
|
-
get subscriptionStripeId() {
|
|
50
|
-
return this.data.subscriptionStripeId || null;
|
|
51
|
-
}
|
|
52
19
|
get partnershipId() {
|
|
53
20
|
return (0, get_1.default)(this.ref, ['parent', 'parent', 'id']);
|
|
54
21
|
}
|
|
@@ -1,23 +1,6 @@
|
|
|
1
|
-
import { PlanPeriod, PlansGroup } from '../../../helpers/plans';
|
|
2
1
|
import { DocumentReference, Timestamp } from '../../../types/firestore';
|
|
3
2
|
import { GroupBasicData } from '../../Group/types';
|
|
4
3
|
export interface PartnershipGroupData extends GroupBasicData {
|
|
5
|
-
/** @deprecated use customer */
|
|
6
|
-
upgradedAt: Timestamp | null;
|
|
7
|
-
/** @deprecated use customer */
|
|
8
|
-
upgradedBy: DocumentReference | null;
|
|
9
|
-
/** @deprecated use customer */
|
|
10
|
-
upgradedMethod: string | null;
|
|
11
|
-
/** @deprecated use customer */
|
|
12
|
-
planId: PlansGroup;
|
|
13
|
-
/** @deprecated use customer */
|
|
14
|
-
planPeriod: PlanPeriod | null;
|
|
15
|
-
/** @deprecated use customer */
|
|
16
|
-
planDiscount: string | null;
|
|
17
|
-
/** @deprecated use customer */
|
|
18
|
-
planStripeId: string | null;
|
|
19
|
-
/** @deprecated use customer */
|
|
20
|
-
subscriptionStripeId: string | null;
|
|
21
4
|
readonly linkedBy: DocumentReference;
|
|
22
5
|
readonly linkedAt: Timestamp;
|
|
23
6
|
}
|
|
@@ -15,17 +15,6 @@ export default class Partnership extends PartnershipBasic<PartnershipData> {
|
|
|
15
15
|
get isDeleted(): boolean;
|
|
16
16
|
get isActive(): boolean;
|
|
17
17
|
get federationIds(): string[];
|
|
18
|
-
/** @deprecated use customer */
|
|
19
|
-
get gocardlessCustomerId(): string | null;
|
|
20
|
-
/** @deprecated use customer */
|
|
21
|
-
get stripeCustomerId(): string | null;
|
|
22
|
-
/** @deprecated use customer */
|
|
23
|
-
get stripeTaxIds(): {
|
|
24
|
-
type: string;
|
|
25
|
-
value: string;
|
|
26
|
-
}[];
|
|
27
|
-
/** @deprecated use customer */
|
|
28
|
-
get howDidYouHearAboutUs(): string | null;
|
|
29
18
|
get groupIds(): string[];
|
|
30
19
|
get glissandooAdminUrl(): string;
|
|
31
20
|
}
|
|
@@ -43,22 +43,6 @@ class Partnership extends basic_1.default {
|
|
|
43
43
|
get federationIds() {
|
|
44
44
|
return this.data.federationIds || [];
|
|
45
45
|
}
|
|
46
|
-
/** @deprecated use customer */
|
|
47
|
-
get gocardlessCustomerId() {
|
|
48
|
-
return this.data.gocardlessCustomerId || null;
|
|
49
|
-
}
|
|
50
|
-
/** @deprecated use customer */
|
|
51
|
-
get stripeCustomerId() {
|
|
52
|
-
return this.data.stripeCustomerId || null;
|
|
53
|
-
}
|
|
54
|
-
/** @deprecated use customer */
|
|
55
|
-
get stripeTaxIds() {
|
|
56
|
-
return this.data.stripeTaxIds || [];
|
|
57
|
-
}
|
|
58
|
-
/** @deprecated use customer */
|
|
59
|
-
get howDidYouHearAboutUs() {
|
|
60
|
-
return this.data.howDidYouHearAboutUs || null;
|
|
61
|
-
}
|
|
62
46
|
get groupIds() {
|
|
63
47
|
return this.data.groupIds || [];
|
|
64
48
|
}
|
|
@@ -35,17 +35,6 @@ export interface PartnershipData extends PartnershipBasicData {
|
|
|
35
35
|
administratorsList: AdminItem[];
|
|
36
36
|
deletedAt: Timestamp | null;
|
|
37
37
|
federationIds: string[];
|
|
38
|
-
/** @deprecated use customer */
|
|
39
|
-
gocardlessCustomerId: string | null;
|
|
40
|
-
/** @deprecated use customer */
|
|
41
|
-
stripeCustomerId: string | null;
|
|
42
|
-
/** @deprecated use customer */
|
|
43
|
-
stripeTaxIds: {
|
|
44
|
-
type: string;
|
|
45
|
-
value: string;
|
|
46
|
-
}[];
|
|
47
|
-
/** @deprecated use customer */
|
|
48
|
-
howDidYouHearAboutUs: string | null;
|
|
49
38
|
readonly createdAt: Timestamp;
|
|
50
39
|
readonly createdBy: DocumentReference;
|
|
51
40
|
}
|