@glissandoo/lib 1.7.2 → 1.7.4
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/index.d.ts +65 -56
- package/functions/index.js +65 -56
- package/functions/regions.d.ts +1 -0
- package/functions/regions.js +12 -2
- package/functions/user.d.ts +0 -6
- package/package.json +1 -1
package/functions/index.d.ts
CHANGED
|
@@ -1,91 +1,100 @@
|
|
|
1
1
|
export declare enum FbFunctionName {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
UserOnCreateDoc = "user-onCreateDoc",
|
|
5
|
-
UserOnUpdate = "user-onUpdate",
|
|
6
|
-
JWTGenerate = "jwt-generate",
|
|
7
|
-
GroupPublish = "group-publish",
|
|
8
|
-
GroupEdit = "group-edit",
|
|
9
|
-
GroupRemove = "group-remove",
|
|
10
|
-
GroupChangeStatus = "group-changeStatus",
|
|
11
|
-
GroupOnCreate = "group-onCreate",
|
|
12
|
-
GroupOnUpdate = "group-onUpdate",
|
|
13
|
-
GroupGetById = "group-getById",
|
|
14
|
-
GroupSendInvitationEmail = "group-sendInvitationEmail",
|
|
15
|
-
GroupPlayerUpdateInstruments = "groupPlayer-updateInstruments",
|
|
16
|
-
GroupPlayerAdd = "groupPlayer-add",
|
|
17
|
-
GroupPlayerJoin = "groupPlayer-joinGroup",
|
|
18
|
-
GroupPlayerRemove = "groupPlayer-remove",
|
|
19
|
-
GroupPlayerLeave = "groupPlayer-leave",
|
|
20
|
-
GroupPlayerSwitchAdmin = "groupPlayer-switchAdmin",
|
|
21
|
-
GroupPlayerOnUpdate = "groupPlayer-onUpdate",
|
|
22
|
-
GroupPlayerEventOnUpdate = "groupPlayerEvent-onUpdate",
|
|
23
|
-
GroupRepertoryPublish = "groupRepertory-publish",
|
|
24
|
-
GroupRepertoryEdit = "groupRepertory-edit",
|
|
25
|
-
GroupRepertoryRemove = "groupRepertory-remove",
|
|
26
|
-
GroupRepertoryDownloadThemeFiles = "groupRepertory-downloadThemeFiles",
|
|
27
|
-
GroupRepertoryIdentifyInstruments = "groupRepertory-identifyInstruments",
|
|
28
|
-
GroupRepertoryClaimMusicSheet = "groupRepertory-claimMusicSheet",
|
|
29
|
-
GroupRepertoryOnCreate = "groupRepertory-onCreate",
|
|
30
|
-
GroupRepertoryOnUpdate = "groupRepertory-onUpdate",
|
|
31
|
-
CommunicationPublish = "communication-publish",
|
|
2
|
+
Auth = "auth",
|
|
3
|
+
CommunicationCommentPublish = "communicationComment-publish",
|
|
32
4
|
CommunicationEdit = "communication-edit",
|
|
5
|
+
CommunicationPublish = "communication-publish",
|
|
33
6
|
CommunicationRemove = "communication-remove",
|
|
34
|
-
CommunicationCommentPublish = "communicationComment-publish",
|
|
35
|
-
EventPublish = "event-publish",
|
|
36
|
-
EventNotifyPendingPlayers = "event-notifyPendingPlayers",
|
|
37
|
-
EventSetRollcall = "event-setRollCall",
|
|
38
7
|
EventEdit = "event-edit",
|
|
39
8
|
EventEditDatetime = "event-editDatetime",
|
|
40
|
-
|
|
9
|
+
EventNotifyPendingPlayers = "event-notifyPendingPlayers",
|
|
41
10
|
EventOnCreate = "event-onCreate",
|
|
42
11
|
EventOnUpdate = "event-onUpdate",
|
|
43
|
-
EventPlayerSwitchAssistance = "eventPlayer-switchAssistance",
|
|
44
12
|
EventPlayerEdit = "eventPlayer-edit",
|
|
13
|
+
EventPlayerSwitchAssistance = "eventPlayer-switchAssistance",
|
|
14
|
+
EventPublish = "event-publish",
|
|
15
|
+
EventRemove = "event-remove",
|
|
16
|
+
EventRepertoryDownloadPdf = "eventRepertory-downloadPdf",
|
|
45
17
|
EventRepertoryEdit = "eventRepertory-edit",
|
|
46
|
-
|
|
47
|
-
FederationAddPendingAdmin = "federation-addPendingAdmin",
|
|
18
|
+
EventSetRollcall = "event-setRollCall",
|
|
48
19
|
FederationAddConfirmedAdmin = "federation-addConfirmedAdmin",
|
|
49
|
-
|
|
20
|
+
FederationAddPendingAdmin = "federation-addPendingAdmin",
|
|
50
21
|
FederationConfirmAdmin = "federation-confirmAdmin",
|
|
51
22
|
FederationCreate = "federation-create",
|
|
52
23
|
FederationEdit = "federation-edit",
|
|
53
|
-
FederationRemove = "federation-remove",
|
|
54
24
|
FederationGetEvents = "federation-getEvents",
|
|
55
25
|
FederationPartnershipAdd = "federationPartnership-add",
|
|
56
26
|
FederationPartnershipAddManual = "federationPartnership-addManual",
|
|
57
|
-
|
|
58
|
-
FederationPartnershipRemoveManual = "federationPartnership-removeManual",
|
|
27
|
+
FederationPartnershipConnect = "federationPartnership-connect",
|
|
59
28
|
FederationPartnershipEditManual = "federationPartnership-editManual",
|
|
60
29
|
FederationPartnershipGetByToken = "federationPartnership-getByToken",
|
|
61
|
-
|
|
30
|
+
FederationPartnershipRemove = "federationPartnership-remove",
|
|
31
|
+
FederationPartnershipRemoveManual = "federationPartnership-removeManual",
|
|
62
32
|
FederationPartnershipSendInvitationToJoinEmail = "federationPartnership-sendInvitationToJoinEmail",
|
|
33
|
+
FederationRemove = "federation-remove",
|
|
34
|
+
FederationRemoveAdmin = "federation-removeAdmin",
|
|
35
|
+
GroupChangeStatus = "group-changeStatus",
|
|
36
|
+
GroupCronSatistactionIndexWeekly = "group-cronSatistactionIndexWeekly",
|
|
37
|
+
GroupEdit = "group-edit",
|
|
38
|
+
GroupGetById = "group-getById",
|
|
39
|
+
GroupOnCreate = "group-onCreate",
|
|
40
|
+
GroupOnUpdate = "group-onUpdate",
|
|
41
|
+
GroupPlayerAdd = "groupPlayer-add",
|
|
42
|
+
GroupPlayerEventOnUpdate = "groupPlayerEvent-onUpdate",
|
|
43
|
+
GroupPlayerJoin = "groupPlayer-joinGroup",
|
|
44
|
+
GroupPlayerLeave = "groupPlayer-leave",
|
|
45
|
+
GroupPlayerOnUpdate = "groupPlayer-onUpdate",
|
|
46
|
+
GroupPlayerRemove = "groupPlayer-remove",
|
|
47
|
+
GroupPlayerSwitchAdmin = "groupPlayer-switchAdmin",
|
|
48
|
+
GroupPlayerUpdateInstruments = "groupPlayer-updateInstruments",
|
|
49
|
+
GroupPublish = "group-publish",
|
|
50
|
+
GroupRemove = "group-remove",
|
|
51
|
+
GroupRepertoryClaimMusicSheet = "groupRepertory-claimMusicSheet",
|
|
52
|
+
GroupRepertoryDownloadThemeFiles = "groupRepertory-downloadThemeFiles",
|
|
53
|
+
GroupRepertoryEdit = "groupRepertory-edit",
|
|
54
|
+
GroupRepertoryIdentifyInstruments = "groupRepertory-identifyInstruments",
|
|
55
|
+
GroupRepertoryOnCreate = "groupRepertory-onCreate",
|
|
56
|
+
GroupRepertoryOnUpdate = "groupRepertory-onUpdate",
|
|
57
|
+
GroupRepertoryPublish = "groupRepertory-publish",
|
|
58
|
+
GroupRepertoryRemove = "groupRepertory-remove",
|
|
59
|
+
GroupSendInvitationEmail = "group-sendInvitationEmail",
|
|
60
|
+
JWTGenerate = "jwt-generate",
|
|
61
|
+
MetricsDaily = "metrics-daily",
|
|
62
|
+
MetricsWeekly = "metrics-weekly",
|
|
63
|
+
MiscAddSubscriber = "misc-addSubscriber",
|
|
64
|
+
MiscScheduledFirestoreExport = "misc-scheduledFirestoreExport",
|
|
63
65
|
MiscValidateUsername = "misc-validateUsername",
|
|
64
66
|
NotificationMarkAllAsReaded = "notification-markAllAsReaded",
|
|
65
67
|
PartnerAdd = "partner-add",
|
|
66
68
|
PartnerEdit = "partner-edit",
|
|
67
|
-
PartnerRemove = "partner-remove",
|
|
68
|
-
PartnerOnUpdate = "partner-onUpdate",
|
|
69
69
|
PartnerGetByToken = "partner-getByToken",
|
|
70
|
+
PartnerOnUpdate = "partner-onUpdate",
|
|
71
|
+
PartnerRemove = "partner-remove",
|
|
72
|
+
PartnerSendVerification = "partner-sendVerification",
|
|
70
73
|
PartnerValidate = "partner-validate",
|
|
71
74
|
PartnerValidateIBAN = "partner-validateIBAN",
|
|
72
|
-
|
|
73
|
-
SubscriptionAdd = "subscription-add",
|
|
74
|
-
SubscriptionCancel = "subscription-cancel",
|
|
75
|
-
SubscriptionResume = "subscription-resume",
|
|
75
|
+
PartnershipAddConfirmedAdmin = "partnership-addConfirmedAdmin",
|
|
76
76
|
PartnershipCreate = "partnership-create",
|
|
77
77
|
PartnershipEdit = "partnership-edit",
|
|
78
78
|
PartnershipGetBalance = "partnership-getBalance",
|
|
79
|
-
PartnershipOnUpdate = "partnership-onUpdate",
|
|
80
|
-
PartnershipAddConfirmedAdmin = "partnership-addConfirmedAdmin",
|
|
81
|
-
PartnershipRemoveAdmin = "partnership-removeAdmin",
|
|
82
79
|
PartnershipGetMandateRequest = "partnership-getMandateRequest",
|
|
80
|
+
PartnershipGroupAdd = "partnershipGroup-add",
|
|
81
|
+
PartnershipGroupRemove = "partnershipGroup-remove",
|
|
83
82
|
PartnershipOnMandateCreated = "partnership-onMandateCreated",
|
|
83
|
+
PartnershipOnUpdate = "partnership-onUpdate",
|
|
84
84
|
PartnershipPlanAdd = "partnershipPlan-add",
|
|
85
85
|
PartnershipPlanEdit = "partnershipPlan-edit",
|
|
86
|
-
PartnershipPlanRemove = "partnershipPlan-remove",
|
|
87
86
|
PartnershipPlanOnUpdate = "partnershipPlan-onUpdate",
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
PartnershipPlanRemove = "partnershipPlan-remove",
|
|
88
|
+
PartnershipRemoveAdmin = "partnership-removeAdmin",
|
|
89
|
+
ReminderEvening = "reminder-evening",
|
|
90
|
+
ReminderMorning = "reminder-morning",
|
|
91
|
+
ReminderRollCall = "reminder-rollCall",
|
|
92
|
+
SubscriptionAdd = "subscription-add",
|
|
93
|
+
SubscriptionCancel = "subscription-cancel",
|
|
94
|
+
SubscriptionPaymentSchedule = "subscription-paymentSchedule",
|
|
95
|
+
SubscriptionResume = "subscription-resume",
|
|
96
|
+
UserOnCreateDoc = "user-onCreateDoc",
|
|
97
|
+
UserOnUpdate = "user-onUpdate",
|
|
98
|
+
UserRegister = "user-register",
|
|
99
|
+
WebhookLemonway = "webhook-lemonway"
|
|
91
100
|
}
|
package/functions/index.js
CHANGED
|
@@ -3,93 +3,102 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FbFunctionName = void 0;
|
|
4
4
|
var FbFunctionName;
|
|
5
5
|
(function (FbFunctionName) {
|
|
6
|
-
FbFunctionName["
|
|
7
|
-
FbFunctionName["
|
|
8
|
-
FbFunctionName["UserOnCreateDoc"] = "user-onCreateDoc";
|
|
9
|
-
FbFunctionName["UserOnUpdate"] = "user-onUpdate";
|
|
10
|
-
FbFunctionName["JWTGenerate"] = "jwt-generate";
|
|
11
|
-
FbFunctionName["GroupPublish"] = "group-publish";
|
|
12
|
-
FbFunctionName["GroupEdit"] = "group-edit";
|
|
13
|
-
FbFunctionName["GroupRemove"] = "group-remove";
|
|
14
|
-
FbFunctionName["GroupChangeStatus"] = "group-changeStatus";
|
|
15
|
-
FbFunctionName["GroupOnCreate"] = "group-onCreate";
|
|
16
|
-
FbFunctionName["GroupOnUpdate"] = "group-onUpdate";
|
|
17
|
-
FbFunctionName["GroupGetById"] = "group-getById";
|
|
18
|
-
FbFunctionName["GroupSendInvitationEmail"] = "group-sendInvitationEmail";
|
|
19
|
-
FbFunctionName["GroupPlayerUpdateInstruments"] = "groupPlayer-updateInstruments";
|
|
20
|
-
FbFunctionName["GroupPlayerAdd"] = "groupPlayer-add";
|
|
21
|
-
FbFunctionName["GroupPlayerJoin"] = "groupPlayer-joinGroup";
|
|
22
|
-
FbFunctionName["GroupPlayerRemove"] = "groupPlayer-remove";
|
|
23
|
-
FbFunctionName["GroupPlayerLeave"] = "groupPlayer-leave";
|
|
24
|
-
FbFunctionName["GroupPlayerSwitchAdmin"] = "groupPlayer-switchAdmin";
|
|
25
|
-
FbFunctionName["GroupPlayerOnUpdate"] = "groupPlayer-onUpdate";
|
|
26
|
-
FbFunctionName["GroupPlayerEventOnUpdate"] = "groupPlayerEvent-onUpdate";
|
|
27
|
-
FbFunctionName["GroupRepertoryPublish"] = "groupRepertory-publish";
|
|
28
|
-
FbFunctionName["GroupRepertoryEdit"] = "groupRepertory-edit";
|
|
29
|
-
FbFunctionName["GroupRepertoryRemove"] = "groupRepertory-remove";
|
|
30
|
-
FbFunctionName["GroupRepertoryDownloadThemeFiles"] = "groupRepertory-downloadThemeFiles";
|
|
31
|
-
FbFunctionName["GroupRepertoryIdentifyInstruments"] = "groupRepertory-identifyInstruments";
|
|
32
|
-
FbFunctionName["GroupRepertoryClaimMusicSheet"] = "groupRepertory-claimMusicSheet";
|
|
33
|
-
FbFunctionName["GroupRepertoryOnCreate"] = "groupRepertory-onCreate";
|
|
34
|
-
FbFunctionName["GroupRepertoryOnUpdate"] = "groupRepertory-onUpdate";
|
|
35
|
-
FbFunctionName["CommunicationPublish"] = "communication-publish";
|
|
6
|
+
FbFunctionName["Auth"] = "auth";
|
|
7
|
+
FbFunctionName["CommunicationCommentPublish"] = "communicationComment-publish";
|
|
36
8
|
FbFunctionName["CommunicationEdit"] = "communication-edit";
|
|
9
|
+
FbFunctionName["CommunicationPublish"] = "communication-publish";
|
|
37
10
|
FbFunctionName["CommunicationRemove"] = "communication-remove";
|
|
38
|
-
FbFunctionName["CommunicationCommentPublish"] = "communicationComment-publish";
|
|
39
|
-
FbFunctionName["EventPublish"] = "event-publish";
|
|
40
|
-
FbFunctionName["EventNotifyPendingPlayers"] = "event-notifyPendingPlayers";
|
|
41
|
-
FbFunctionName["EventSetRollcall"] = "event-setRollCall";
|
|
42
11
|
FbFunctionName["EventEdit"] = "event-edit";
|
|
43
12
|
FbFunctionName["EventEditDatetime"] = "event-editDatetime";
|
|
44
|
-
FbFunctionName["
|
|
13
|
+
FbFunctionName["EventNotifyPendingPlayers"] = "event-notifyPendingPlayers";
|
|
45
14
|
FbFunctionName["EventOnCreate"] = "event-onCreate";
|
|
46
15
|
FbFunctionName["EventOnUpdate"] = "event-onUpdate";
|
|
47
|
-
FbFunctionName["EventPlayerSwitchAssistance"] = "eventPlayer-switchAssistance";
|
|
48
16
|
FbFunctionName["EventPlayerEdit"] = "eventPlayer-edit";
|
|
17
|
+
FbFunctionName["EventPlayerSwitchAssistance"] = "eventPlayer-switchAssistance";
|
|
18
|
+
FbFunctionName["EventPublish"] = "event-publish";
|
|
19
|
+
FbFunctionName["EventRemove"] = "event-remove";
|
|
20
|
+
FbFunctionName["EventRepertoryDownloadPdf"] = "eventRepertory-downloadPdf";
|
|
49
21
|
FbFunctionName["EventRepertoryEdit"] = "eventRepertory-edit";
|
|
50
|
-
FbFunctionName["
|
|
51
|
-
FbFunctionName["FederationAddPendingAdmin"] = "federation-addPendingAdmin";
|
|
22
|
+
FbFunctionName["EventSetRollcall"] = "event-setRollCall";
|
|
52
23
|
FbFunctionName["FederationAddConfirmedAdmin"] = "federation-addConfirmedAdmin";
|
|
53
|
-
FbFunctionName["
|
|
24
|
+
FbFunctionName["FederationAddPendingAdmin"] = "federation-addPendingAdmin";
|
|
54
25
|
FbFunctionName["FederationConfirmAdmin"] = "federation-confirmAdmin";
|
|
55
26
|
FbFunctionName["FederationCreate"] = "federation-create";
|
|
56
27
|
FbFunctionName["FederationEdit"] = "federation-edit";
|
|
57
|
-
FbFunctionName["FederationRemove"] = "federation-remove";
|
|
58
28
|
FbFunctionName["FederationGetEvents"] = "federation-getEvents";
|
|
59
29
|
FbFunctionName["FederationPartnershipAdd"] = "federationPartnership-add";
|
|
60
30
|
FbFunctionName["FederationPartnershipAddManual"] = "federationPartnership-addManual";
|
|
61
|
-
FbFunctionName["
|
|
62
|
-
FbFunctionName["FederationPartnershipRemoveManual"] = "federationPartnership-removeManual";
|
|
31
|
+
FbFunctionName["FederationPartnershipConnect"] = "federationPartnership-connect";
|
|
63
32
|
FbFunctionName["FederationPartnershipEditManual"] = "federationPartnership-editManual";
|
|
64
33
|
FbFunctionName["FederationPartnershipGetByToken"] = "federationPartnership-getByToken";
|
|
65
|
-
FbFunctionName["
|
|
34
|
+
FbFunctionName["FederationPartnershipRemove"] = "federationPartnership-remove";
|
|
35
|
+
FbFunctionName["FederationPartnershipRemoveManual"] = "federationPartnership-removeManual";
|
|
66
36
|
FbFunctionName["FederationPartnershipSendInvitationToJoinEmail"] = "federationPartnership-sendInvitationToJoinEmail";
|
|
37
|
+
FbFunctionName["FederationRemove"] = "federation-remove";
|
|
38
|
+
FbFunctionName["FederationRemoveAdmin"] = "federation-removeAdmin";
|
|
39
|
+
FbFunctionName["GroupChangeStatus"] = "group-changeStatus";
|
|
40
|
+
FbFunctionName["GroupCronSatistactionIndexWeekly"] = "group-cronSatistactionIndexWeekly";
|
|
41
|
+
FbFunctionName["GroupEdit"] = "group-edit";
|
|
42
|
+
FbFunctionName["GroupGetById"] = "group-getById";
|
|
43
|
+
FbFunctionName["GroupOnCreate"] = "group-onCreate";
|
|
44
|
+
FbFunctionName["GroupOnUpdate"] = "group-onUpdate";
|
|
45
|
+
FbFunctionName["GroupPlayerAdd"] = "groupPlayer-add";
|
|
46
|
+
FbFunctionName["GroupPlayerEventOnUpdate"] = "groupPlayerEvent-onUpdate";
|
|
47
|
+
FbFunctionName["GroupPlayerJoin"] = "groupPlayer-joinGroup";
|
|
48
|
+
FbFunctionName["GroupPlayerLeave"] = "groupPlayer-leave";
|
|
49
|
+
FbFunctionName["GroupPlayerOnUpdate"] = "groupPlayer-onUpdate";
|
|
50
|
+
FbFunctionName["GroupPlayerRemove"] = "groupPlayer-remove";
|
|
51
|
+
FbFunctionName["GroupPlayerSwitchAdmin"] = "groupPlayer-switchAdmin";
|
|
52
|
+
FbFunctionName["GroupPlayerUpdateInstruments"] = "groupPlayer-updateInstruments";
|
|
53
|
+
FbFunctionName["GroupPublish"] = "group-publish";
|
|
54
|
+
FbFunctionName["GroupRemove"] = "group-remove";
|
|
55
|
+
FbFunctionName["GroupRepertoryClaimMusicSheet"] = "groupRepertory-claimMusicSheet";
|
|
56
|
+
FbFunctionName["GroupRepertoryDownloadThemeFiles"] = "groupRepertory-downloadThemeFiles";
|
|
57
|
+
FbFunctionName["GroupRepertoryEdit"] = "groupRepertory-edit";
|
|
58
|
+
FbFunctionName["GroupRepertoryIdentifyInstruments"] = "groupRepertory-identifyInstruments";
|
|
59
|
+
FbFunctionName["GroupRepertoryOnCreate"] = "groupRepertory-onCreate";
|
|
60
|
+
FbFunctionName["GroupRepertoryOnUpdate"] = "groupRepertory-onUpdate";
|
|
61
|
+
FbFunctionName["GroupRepertoryPublish"] = "groupRepertory-publish";
|
|
62
|
+
FbFunctionName["GroupRepertoryRemove"] = "groupRepertory-remove";
|
|
63
|
+
FbFunctionName["GroupSendInvitationEmail"] = "group-sendInvitationEmail";
|
|
64
|
+
FbFunctionName["JWTGenerate"] = "jwt-generate";
|
|
65
|
+
FbFunctionName["MetricsDaily"] = "metrics-daily";
|
|
66
|
+
FbFunctionName["MetricsWeekly"] = "metrics-weekly";
|
|
67
|
+
FbFunctionName["MiscAddSubscriber"] = "misc-addSubscriber";
|
|
68
|
+
FbFunctionName["MiscScheduledFirestoreExport"] = "misc-scheduledFirestoreExport";
|
|
67
69
|
FbFunctionName["MiscValidateUsername"] = "misc-validateUsername";
|
|
68
70
|
FbFunctionName["NotificationMarkAllAsReaded"] = "notification-markAllAsReaded";
|
|
69
71
|
FbFunctionName["PartnerAdd"] = "partner-add";
|
|
70
72
|
FbFunctionName["PartnerEdit"] = "partner-edit";
|
|
71
|
-
FbFunctionName["PartnerRemove"] = "partner-remove";
|
|
72
|
-
FbFunctionName["PartnerOnUpdate"] = "partner-onUpdate";
|
|
73
73
|
FbFunctionName["PartnerGetByToken"] = "partner-getByToken";
|
|
74
|
+
FbFunctionName["PartnerOnUpdate"] = "partner-onUpdate";
|
|
75
|
+
FbFunctionName["PartnerRemove"] = "partner-remove";
|
|
76
|
+
FbFunctionName["PartnerSendVerification"] = "partner-sendVerification";
|
|
74
77
|
FbFunctionName["PartnerValidate"] = "partner-validate";
|
|
75
78
|
FbFunctionName["PartnerValidateIBAN"] = "partner-validateIBAN";
|
|
76
|
-
FbFunctionName["
|
|
77
|
-
FbFunctionName["SubscriptionAdd"] = "subscription-add";
|
|
78
|
-
FbFunctionName["SubscriptionCancel"] = "subscription-cancel";
|
|
79
|
-
FbFunctionName["SubscriptionResume"] = "subscription-resume";
|
|
79
|
+
FbFunctionName["PartnershipAddConfirmedAdmin"] = "partnership-addConfirmedAdmin";
|
|
80
80
|
FbFunctionName["PartnershipCreate"] = "partnership-create";
|
|
81
81
|
FbFunctionName["PartnershipEdit"] = "partnership-edit";
|
|
82
82
|
FbFunctionName["PartnershipGetBalance"] = "partnership-getBalance";
|
|
83
|
-
FbFunctionName["PartnershipOnUpdate"] = "partnership-onUpdate";
|
|
84
|
-
FbFunctionName["PartnershipAddConfirmedAdmin"] = "partnership-addConfirmedAdmin";
|
|
85
|
-
FbFunctionName["PartnershipRemoveAdmin"] = "partnership-removeAdmin";
|
|
86
83
|
FbFunctionName["PartnershipGetMandateRequest"] = "partnership-getMandateRequest";
|
|
84
|
+
FbFunctionName["PartnershipGroupAdd"] = "partnershipGroup-add";
|
|
85
|
+
FbFunctionName["PartnershipGroupRemove"] = "partnershipGroup-remove";
|
|
87
86
|
FbFunctionName["PartnershipOnMandateCreated"] = "partnership-onMandateCreated";
|
|
87
|
+
FbFunctionName["PartnershipOnUpdate"] = "partnership-onUpdate";
|
|
88
88
|
FbFunctionName["PartnershipPlanAdd"] = "partnershipPlan-add";
|
|
89
89
|
FbFunctionName["PartnershipPlanEdit"] = "partnershipPlan-edit";
|
|
90
|
-
FbFunctionName["PartnershipPlanRemove"] = "partnershipPlan-remove";
|
|
91
90
|
FbFunctionName["PartnershipPlanOnUpdate"] = "partnershipPlan-onUpdate";
|
|
92
|
-
FbFunctionName["
|
|
93
|
-
FbFunctionName["
|
|
94
|
-
FbFunctionName["
|
|
91
|
+
FbFunctionName["PartnershipPlanRemove"] = "partnershipPlan-remove";
|
|
92
|
+
FbFunctionName["PartnershipRemoveAdmin"] = "partnership-removeAdmin";
|
|
93
|
+
FbFunctionName["ReminderEvening"] = "reminder-evening";
|
|
94
|
+
FbFunctionName["ReminderMorning"] = "reminder-morning";
|
|
95
|
+
FbFunctionName["ReminderRollCall"] = "reminder-rollCall";
|
|
96
|
+
FbFunctionName["SubscriptionAdd"] = "subscription-add";
|
|
97
|
+
FbFunctionName["SubscriptionCancel"] = "subscription-cancel";
|
|
98
|
+
FbFunctionName["SubscriptionPaymentSchedule"] = "subscription-paymentSchedule";
|
|
99
|
+
FbFunctionName["SubscriptionResume"] = "subscription-resume";
|
|
100
|
+
FbFunctionName["UserOnCreateDoc"] = "user-onCreateDoc";
|
|
101
|
+
FbFunctionName["UserOnUpdate"] = "user-onUpdate";
|
|
102
|
+
FbFunctionName["UserRegister"] = "user-register";
|
|
103
|
+
FbFunctionName["WebhookLemonway"] = "webhook-lemonway";
|
|
95
104
|
})(FbFunctionName = exports.FbFunctionName || (exports.FbFunctionName = {}));
|
package/functions/regions.d.ts
CHANGED
package/functions/regions.js
CHANGED
|
@@ -4,13 +4,13 @@ exports.getFunctionRegion = exports.GCloudRegions = void 0;
|
|
|
4
4
|
const index_1 = require("./index");
|
|
5
5
|
var GCloudRegions;
|
|
6
6
|
(function (GCloudRegions) {
|
|
7
|
+
GCloudRegions["EuropeWest1"] = "europe-west1";
|
|
7
8
|
GCloudRegions["EuropeWest6"] = "europe-west6";
|
|
8
9
|
GCloudRegions["UsCentral1"] = "us-central1";
|
|
9
10
|
})(GCloudRegions = exports.GCloudRegions || (exports.GCloudRegions = {}));
|
|
10
11
|
const defaultRegion = GCloudRegions.UsCentral1;
|
|
11
12
|
const regionByFunctions = {
|
|
12
13
|
[index_1.FbFunctionName.UserRegister]: GCloudRegions.UsCentral1,
|
|
13
|
-
[index_1.FbFunctionName.UserGetToken]: GCloudRegions.EuropeWest6,
|
|
14
14
|
[index_1.FbFunctionName.UserOnCreateDoc]: GCloudRegions.UsCentral1,
|
|
15
15
|
[index_1.FbFunctionName.UserOnUpdate]: GCloudRegions.UsCentral1,
|
|
16
16
|
[index_1.FbFunctionName.JWTGenerate]: GCloudRegions.EuropeWest6,
|
|
@@ -53,7 +53,7 @@ const regionByFunctions = {
|
|
|
53
53
|
[index_1.FbFunctionName.EventPlayerSwitchAssistance]: GCloudRegions.UsCentral1,
|
|
54
54
|
[index_1.FbFunctionName.EventPlayerEdit]: GCloudRegions.UsCentral1,
|
|
55
55
|
[index_1.FbFunctionName.EventRepertoryEdit]: GCloudRegions.UsCentral1,
|
|
56
|
-
[index_1.FbFunctionName.
|
|
56
|
+
[index_1.FbFunctionName.EventRepertoryDownloadPdf]: GCloudRegions.EuropeWest6,
|
|
57
57
|
[index_1.FbFunctionName.FederationAddPendingAdmin]: GCloudRegions.EuropeWest6,
|
|
58
58
|
[index_1.FbFunctionName.FederationAddConfirmedAdmin]: GCloudRegions.EuropeWest6,
|
|
59
59
|
[index_1.FbFunctionName.FederationRemoveAdmin]: GCloudRegions.EuropeWest6,
|
|
@@ -98,6 +98,16 @@ const regionByFunctions = {
|
|
|
98
98
|
[index_1.FbFunctionName.PartnershipGroupAdd]: GCloudRegions.EuropeWest6,
|
|
99
99
|
[index_1.FbFunctionName.PartnershipGroupRemove]: GCloudRegions.EuropeWest6,
|
|
100
100
|
[index_1.FbFunctionName.MiscAddSubscriber]: GCloudRegions.EuropeWest6,
|
|
101
|
+
[index_1.FbFunctionName.Auth]: GCloudRegions.UsCentral1,
|
|
102
|
+
[index_1.FbFunctionName.GroupCronSatistactionIndexWeekly]: GCloudRegions.EuropeWest6,
|
|
103
|
+
[index_1.FbFunctionName.MetricsDaily]: GCloudRegions.EuropeWest6,
|
|
104
|
+
[index_1.FbFunctionName.MetricsWeekly]: GCloudRegions.EuropeWest6,
|
|
105
|
+
[index_1.FbFunctionName.MiscScheduledFirestoreExport]: GCloudRegions.EuropeWest6,
|
|
106
|
+
[index_1.FbFunctionName.ReminderEvening]: GCloudRegions.EuropeWest1,
|
|
107
|
+
[index_1.FbFunctionName.ReminderMorning]: GCloudRegions.EuropeWest1,
|
|
108
|
+
[index_1.FbFunctionName.ReminderRollCall]: GCloudRegions.EuropeWest1,
|
|
109
|
+
[index_1.FbFunctionName.SubscriptionPaymentSchedule]: GCloudRegions.EuropeWest6,
|
|
110
|
+
[index_1.FbFunctionName.WebhookLemonway]: GCloudRegions.EuropeWest6,
|
|
101
111
|
};
|
|
102
112
|
const getFunctionRegion = (fn) => regionByFunctions[fn] || defaultRegion;
|
|
103
113
|
exports.getFunctionRegion = getFunctionRegion;
|
package/functions/user.d.ts
CHANGED