@jealous-robot-dev/shared-types-responses 1.30.14 → 1.30.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.
@@ -12,6 +12,7 @@ export declare enum NotificationTypes {
|
|
12
12
|
NEW_CUSTOMER = "NEW_CUSTOMER",
|
13
13
|
MISSED_HOSTING = "MISSED_HOSTING",
|
14
14
|
REVIEW_RECEIVED = "REVIEW_RECEIVED",
|
15
|
+
REMOVED_CUSTOMER = "REMOVED_CUSTOMER",
|
15
16
|
BOOKING_CANCELLATION = "BOOKING_CANCELLATION",
|
16
17
|
REFUNDED_CANCELLATION = "REFUNDED_CANCELLATION",
|
17
18
|
PERSONAL_REFUND_OFFERED = "PERSONAL_REFUND_OFFERED",
|
@@ -19,7 +20,7 @@ export declare enum NotificationTypes {
|
|
19
20
|
SUCCESSFULL_BOOKING = "SUCCESSFULL_BOOKING",
|
20
21
|
UPDATES_FROM_HOST = "UPDATES_FROM_HOST",
|
21
22
|
CANCELLED_BY_HOST = "CANCELLED_BY_HOST",
|
22
|
-
|
23
|
+
WELCOME_MEMBER = "WELCOME_MEMBER",
|
23
24
|
CUSTOMER_SEANCE_REMINDER = "PRESCHEDULED_CUSTOMER_SEANCE_REMINDER",
|
24
25
|
HOST_SEANCE_REMINDER = "PRESCHEDULED_HOST_SEANCE_REMINDER",
|
25
26
|
WELCOME_TO_COMMUNITY = "WELCOME_TO_COMMUNITY",
|
@@ -28,19 +29,25 @@ export declare enum NotificationTypes {
|
|
28
29
|
COMPLETE_BOOKING_NOTIF = "COMPLETE_BOOKING_NOTIF",
|
29
30
|
OFFER_PERSONAL_REFUND = "OFFER_PERSONAL_REFUND",
|
30
31
|
NEW_DEVICE = "NEW_DEVICE",
|
31
|
-
MAIL_CANCELLATION_OFFER = "MAIL_CANCELLATION_OFFER",
|
32
32
|
PAYOUT_SENT = "PAYOUT_SENT",
|
33
|
+
REFUND_FAILED = "REFUND_FAILED",
|
33
34
|
PAYOUT_FAILED = "PAYOUT_FAILED",
|
34
35
|
PAYOUT_SUCCEED = "PAYOUT_SUCCEED",
|
35
36
|
GOLD_BADGE_LOST = "GOLD_BADGE_LOST",
|
36
|
-
GOLD_BADGE_EARNED = "GOLD_BADGE_EARNED"
|
37
|
+
GOLD_BADGE_EARNED = "GOLD_BADGE_EARNED",
|
38
|
+
TRANSFERS_INACTIVE = "TRANSFERS_INACTIVE",
|
39
|
+
STRIPE_CONNECTION_SUCCESS = "STRIPE_CONNECTION_SUCCESS",
|
40
|
+
STRIPE_CONNECTION_FAILURE = "STRIPE_CONNECTION_FAILURE"
|
37
41
|
}
|
42
|
+
export declare const CUSTOMER_NOTIFS: NotificationTypes[];
|
43
|
+
export declare const HOST_NOTIFS: NotificationTypes[];
|
38
44
|
export declare enum NotificationIcons {
|
39
45
|
CANCELLATION = "CANCELLATION",
|
40
46
|
MINUS_USER = "MINUS_USER",
|
41
47
|
CALENDAR = "CALENDAR",
|
42
48
|
CONGRATS = "CONGRATS",
|
43
49
|
SECURITY = "SECURITY",
|
50
|
+
MAGICIAN = "MAGICIAN",
|
44
51
|
NEW_USER = "NEW_USER",
|
45
52
|
PADLOCK = "PADLOCK",
|
46
53
|
PAYMENT = "PAYMENT",
|
@@ -71,6 +78,7 @@ export interface NotificationTemplate {
|
|
71
78
|
sentence: string;
|
72
79
|
id: NotificationTypes;
|
73
80
|
icon: NotificationIcons;
|
81
|
+
no_meta_sentence?: string;
|
74
82
|
}
|
75
83
|
export interface UserNotificationsPhrases {
|
76
84
|
title: string;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NotificationIcons = exports.NotificationTypes = exports.NotificationCategory = void 0;
|
3
|
+
exports.NotificationIcons = exports.HOST_NOTIFS = exports.CUSTOMER_NOTIFS = exports.NotificationTypes = exports.NotificationCategory = void 0;
|
4
4
|
var NotificationCategory;
|
5
5
|
(function (NotificationCategory) {
|
6
6
|
NotificationCategory["CUSTOMER"] = "CUSTOMER";
|
@@ -18,6 +18,7 @@ var NotificationTypes;
|
|
18
18
|
NotificationTypes["NEW_CUSTOMER"] = "NEW_CUSTOMER";
|
19
19
|
NotificationTypes["MISSED_HOSTING"] = "MISSED_HOSTING";
|
20
20
|
NotificationTypes["REVIEW_RECEIVED"] = "REVIEW_RECEIVED";
|
21
|
+
NotificationTypes["REMOVED_CUSTOMER"] = "REMOVED_CUSTOMER";
|
21
22
|
NotificationTypes["BOOKING_CANCELLATION"] = "BOOKING_CANCELLATION";
|
22
23
|
NotificationTypes["REFUNDED_CANCELLATION"] = "REFUNDED_CANCELLATION";
|
23
24
|
//customer
|
@@ -26,7 +27,7 @@ var NotificationTypes;
|
|
26
27
|
NotificationTypes["SUCCESSFULL_BOOKING"] = "SUCCESSFULL_BOOKING";
|
27
28
|
NotificationTypes["UPDATES_FROM_HOST"] = "UPDATES_FROM_HOST";
|
28
29
|
NotificationTypes["CANCELLED_BY_HOST"] = "CANCELLED_BY_HOST";
|
29
|
-
NotificationTypes["
|
30
|
+
NotificationTypes["WELCOME_MEMBER"] = "WELCOME_MEMBER";
|
30
31
|
//reminders
|
31
32
|
NotificationTypes["CUSTOMER_SEANCE_REMINDER"] = "PRESCHEDULED_CUSTOMER_SEANCE_REMINDER";
|
32
33
|
NotificationTypes["HOST_SEANCE_REMINDER"] = "PRESCHEDULED_HOST_SEANCE_REMINDER";
|
@@ -39,14 +40,54 @@ var NotificationTypes;
|
|
39
40
|
NotificationTypes["OFFER_PERSONAL_REFUND"] = "OFFER_PERSONAL_REFUND";
|
40
41
|
//security
|
41
42
|
NotificationTypes["NEW_DEVICE"] = "NEW_DEVICE";
|
42
|
-
NotificationTypes["MAIL_CANCELLATION_OFFER"] = "MAIL_CANCELLATION_OFFER";
|
43
43
|
//payments
|
44
44
|
NotificationTypes["PAYOUT_SENT"] = "PAYOUT_SENT";
|
45
|
+
NotificationTypes["REFUND_FAILED"] = "REFUND_FAILED";
|
45
46
|
NotificationTypes["PAYOUT_FAILED"] = "PAYOUT_FAILED";
|
46
47
|
NotificationTypes["PAYOUT_SUCCEED"] = "PAYOUT_SUCCEED";
|
47
48
|
NotificationTypes["GOLD_BADGE_LOST"] = "GOLD_BADGE_LOST";
|
48
49
|
NotificationTypes["GOLD_BADGE_EARNED"] = "GOLD_BADGE_EARNED";
|
50
|
+
NotificationTypes["TRANSFERS_INACTIVE"] = "TRANSFERS_INACTIVE";
|
51
|
+
NotificationTypes["STRIPE_CONNECTION_SUCCESS"] = "STRIPE_CONNECTION_SUCCESS";
|
52
|
+
NotificationTypes["STRIPE_CONNECTION_FAILURE"] = "STRIPE_CONNECTION_FAILURE";
|
49
53
|
})(NotificationTypes = exports.NotificationTypes || (exports.NotificationTypes = {}));
|
54
|
+
exports.CUSTOMER_NOTIFS = [
|
55
|
+
NotificationTypes.CUSTOMER_SEANCE_REMINDER,
|
56
|
+
NotificationTypes.PERSONAL_REFUND_OFFERED,
|
57
|
+
NotificationTypes.COMPLETE_BOOKING_NOTIF,
|
58
|
+
NotificationTypes.OFFER_PERSONAL_REFUND,
|
59
|
+
NotificationTypes.CANCELLED_BY_CUSTOMER,
|
60
|
+
NotificationTypes.SUCCESSFULL_BOOKING,
|
61
|
+
NotificationTypes.UPDATES_FROM_HOST,
|
62
|
+
NotificationTypes.CANCELLED_BY_HOST,
|
63
|
+
NotificationTypes.WELCOME_MEMBER,
|
64
|
+
NotificationTypes.REFUND_FAILED,
|
65
|
+
NotificationTypes.NEW_DEVICE
|
66
|
+
];
|
67
|
+
exports.HOST_NOTIFS = [
|
68
|
+
NotificationTypes.PAYOUT_SENT,
|
69
|
+
NotificationTypes.NEW_CUSTOMER,
|
70
|
+
NotificationTypes.PAYOUT_FAILED,
|
71
|
+
NotificationTypes.ENABLE_PAYOUTS,
|
72
|
+
NotificationTypes.MISSED_HOSTING,
|
73
|
+
NotificationTypes.PAYOUT_SUCCEED,
|
74
|
+
NotificationTypes.REVIEW_RECEIVED,
|
75
|
+
NotificationTypes.GOLD_BADGE_LOST,
|
76
|
+
NotificationTypes.SERVICE_DELETION,
|
77
|
+
NotificationTypes.REMOVED_CUSTOMER,
|
78
|
+
NotificationTypes.TAKEN_TIME_CHOSEN,
|
79
|
+
NotificationTypes.GOLD_BADGE_EARNED,
|
80
|
+
NotificationTypes.TRANSFERS_INACTIVE,
|
81
|
+
NotificationTypes.CUSTOMER_HESISTANCY,
|
82
|
+
NotificationTypes.BOOKING_CANCELLATION,
|
83
|
+
NotificationTypes.WELCOME_TO_COMMUNITY,
|
84
|
+
NotificationTypes.HOST_SEANCE_REMINDER,
|
85
|
+
NotificationTypes.REFUNDED_CANCELLATION,
|
86
|
+
NotificationTypes.SUCCESSFULL_RESCHEDULING,
|
87
|
+
NotificationTypes.SEANCE_CANCELLED_BY_HOST,
|
88
|
+
NotificationTypes.STRIPE_CONNECTION_SUCCESS,
|
89
|
+
NotificationTypes.STRIPE_CONNECTION_FAILURE
|
90
|
+
];
|
50
91
|
var NotificationIcons;
|
51
92
|
(function (NotificationIcons) {
|
52
93
|
NotificationIcons["CANCELLATION"] = "CANCELLATION";
|
@@ -54,6 +95,7 @@ var NotificationIcons;
|
|
54
95
|
NotificationIcons["CALENDAR"] = "CALENDAR";
|
55
96
|
NotificationIcons["CONGRATS"] = "CONGRATS";
|
56
97
|
NotificationIcons["SECURITY"] = "SECURITY";
|
98
|
+
NotificationIcons["MAGICIAN"] = "MAGICIAN";
|
57
99
|
NotificationIcons["NEW_USER"] = "NEW_USER";
|
58
100
|
NotificationIcons["PADLOCK"] = "PADLOCK";
|
59
101
|
NotificationIcons["PAYMENT"] = "PAYMENT";
|