@jealous-robot-dev/shared-types-responses 1.30.21 → 1.31.1
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.
@@ -4,25 +4,27 @@ export declare enum NotificationCategory {
|
|
4
4
|
HOST = "HOST"
|
5
5
|
}
|
6
6
|
export declare enum NotificationTypes {
|
7
|
-
|
8
|
-
|
7
|
+
SEANCE_RESCHEDULED = "SEANCE_RESCHEDULED",
|
8
|
+
SEANCE_REMOVED_BY_HOST = "SEANCE_REMOVED_BY_HOST",
|
9
9
|
NEW_SERVICE_REGISTRED = "NEW_SERVICE_REGISTRED",
|
10
10
|
SERVICE_DELETION = "SERVICE_DELETION",
|
11
|
-
ENABLE_PAYOUTS = "ENABLE_PAYOUTS",
|
12
11
|
NEW_CUSTOMER = "NEW_CUSTOMER",
|
13
12
|
MISSED_HOSTING = "MISSED_HOSTING",
|
14
13
|
REVIEW_RECEIVED = "REVIEW_RECEIVED",
|
14
|
+
GOLD_BADGE_LOST = "GOLD_BADGE_LOST",
|
15
15
|
REMOVED_CUSTOMER = "REMOVED_CUSTOMER",
|
16
|
+
GOLD_BADGE_EARNED = "GOLD_BADGE_EARNED",
|
16
17
|
BOOKING_CANCELLATION = "BOOKING_CANCELLATION",
|
17
18
|
REFUNDED_CANCELLATION = "REFUNDED_CANCELLATION",
|
18
19
|
PERSONAL_REFUND_OFFERED = "PERSONAL_REFUND_OFFERED",
|
19
|
-
|
20
|
+
BOOKING_CANCELLED_BY_CUSTOMER = "CANCELLED_BY_CUSTOMER",
|
21
|
+
BOOKING_CANCELLED_BY_HOST = "CANCELLED_BY_HOST",
|
20
22
|
SUCCESSFULL_BOOKING = "SUCCESSFULL_BOOKING",
|
21
23
|
UPDATES_FROM_HOST = "UPDATES_FROM_HOST",
|
22
|
-
CANCELLED_BY_HOST = "CANCELLED_BY_HOST",
|
23
24
|
WELCOME_MEMBER = "WELCOME_MEMBER",
|
24
25
|
CUSTOMER_SEANCE_REMINDER = "PRESCHEDULED_CUSTOMER_SEANCE_REMINDER",
|
25
26
|
HOST_SEANCE_REMINDER = "PRESCHEDULED_HOST_SEANCE_REMINDER",
|
27
|
+
ENABLE_PAYOUTS = "ENABLE_PAYOUTS",
|
26
28
|
WELCOME_TO_COMMUNITY = "WELCOME_TO_COMMUNITY",
|
27
29
|
CUSTOMER_HESISTANCY = "CUSTOMER_HESISTANCY",
|
28
30
|
TAKEN_TIME_CHOSEN = "TAKEN_TIME_CHOSEN",
|
@@ -30,20 +32,26 @@ export declare enum NotificationTypes {
|
|
30
32
|
OFFER_PERSONAL_REFUND = "OFFER_PERSONAL_REFUND",
|
31
33
|
NEW_DEVICE = "NEW_DEVICE",
|
32
34
|
PAYOUT_SENT = "PAYOUT_SENT",
|
35
|
+
PAYOUT_MADE = "PAYOUT_MADE",
|
36
|
+
PAYOFF_SENT = "PAYOFF_SENT",
|
37
|
+
PAYOFF_MADE = "PAYOFF_MADE",
|
38
|
+
PAYOUT_LATER = "PAYOUT_LATER",
|
33
39
|
REFUND_FAILED = "REFUND_FAILED",
|
34
40
|
PAYOUT_FAILED = "PAYOUT_FAILED",
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
41
|
+
PAYOFF_FAILED = "PAYOFF_FAILED",
|
42
|
+
PAYOFF_TRANSFER_FAILED = "PAYOFF_TRANSFER_FAILED",
|
43
|
+
PAYOUT_TRANSFER_FAILED = "PAYOUT_TRANSFER_FAILED",
|
44
|
+
STRIPE_DISCONNECTION = "STRIPE_DISCONNECTION",
|
39
45
|
STRIPE_CONNECTION_SUCCESS = "STRIPE_CONNECTION_SUCCESS",
|
40
46
|
STRIPE_CONNECTION_FAILURE = "STRIPE_CONNECTION_FAILURE"
|
41
47
|
}
|
42
48
|
export declare const CUSTOMER_NOTIFS: NotificationTypes[];
|
43
49
|
export declare const HOST_NOTIFS: NotificationTypes[];
|
44
50
|
export declare enum NotificationIcons {
|
51
|
+
DISCONNECTION = "DISCONNECTION",
|
45
52
|
CANCELLATION = "CANCELLATION",
|
46
53
|
MINUS_USER = "MINUS_USER",
|
54
|
+
CONNECTION = "CONNECTION",
|
47
55
|
CALENDAR = "CALENDAR",
|
48
56
|
CONGRATS = "CONGRATS",
|
49
57
|
SECURITY = "SECURITY",
|
@@ -9,28 +9,30 @@ var NotificationCategory;
|
|
9
9
|
var NotificationTypes;
|
10
10
|
(function (NotificationTypes) {
|
11
11
|
//host management
|
12
|
-
NotificationTypes["
|
13
|
-
NotificationTypes["
|
12
|
+
NotificationTypes["SEANCE_RESCHEDULED"] = "SEANCE_RESCHEDULED";
|
13
|
+
NotificationTypes["SEANCE_REMOVED_BY_HOST"] = "SEANCE_REMOVED_BY_HOST";
|
14
14
|
NotificationTypes["NEW_SERVICE_REGISTRED"] = "NEW_SERVICE_REGISTRED";
|
15
15
|
NotificationTypes["SERVICE_DELETION"] = "SERVICE_DELETION";
|
16
|
-
NotificationTypes["ENABLE_PAYOUTS"] = "ENABLE_PAYOUTS";
|
17
16
|
//hosting
|
18
17
|
NotificationTypes["NEW_CUSTOMER"] = "NEW_CUSTOMER";
|
19
18
|
NotificationTypes["MISSED_HOSTING"] = "MISSED_HOSTING";
|
20
19
|
NotificationTypes["REVIEW_RECEIVED"] = "REVIEW_RECEIVED";
|
20
|
+
NotificationTypes["GOLD_BADGE_LOST"] = "GOLD_BADGE_LOST";
|
21
21
|
NotificationTypes["REMOVED_CUSTOMER"] = "REMOVED_CUSTOMER";
|
22
|
+
NotificationTypes["GOLD_BADGE_EARNED"] = "GOLD_BADGE_EARNED";
|
22
23
|
NotificationTypes["BOOKING_CANCELLATION"] = "BOOKING_CANCELLATION";
|
23
24
|
NotificationTypes["REFUNDED_CANCELLATION"] = "REFUNDED_CANCELLATION";
|
24
25
|
//customer
|
25
26
|
NotificationTypes["PERSONAL_REFUND_OFFERED"] = "PERSONAL_REFUND_OFFERED";
|
26
|
-
NotificationTypes["
|
27
|
+
NotificationTypes["BOOKING_CANCELLED_BY_CUSTOMER"] = "CANCELLED_BY_CUSTOMER";
|
28
|
+
NotificationTypes["BOOKING_CANCELLED_BY_HOST"] = "CANCELLED_BY_HOST";
|
27
29
|
NotificationTypes["SUCCESSFULL_BOOKING"] = "SUCCESSFULL_BOOKING";
|
28
30
|
NotificationTypes["UPDATES_FROM_HOST"] = "UPDATES_FROM_HOST";
|
29
|
-
NotificationTypes["CANCELLED_BY_HOST"] = "CANCELLED_BY_HOST";
|
30
31
|
NotificationTypes["WELCOME_MEMBER"] = "WELCOME_MEMBER";
|
31
32
|
//reminders
|
32
33
|
NotificationTypes["CUSTOMER_SEANCE_REMINDER"] = "PRESCHEDULED_CUSTOMER_SEANCE_REMINDER";
|
33
34
|
NotificationTypes["HOST_SEANCE_REMINDER"] = "PRESCHEDULED_HOST_SEANCE_REMINDER";
|
35
|
+
NotificationTypes["ENABLE_PAYOUTS"] = "ENABLE_PAYOUTS";
|
34
36
|
//tips for hosts
|
35
37
|
NotificationTypes["WELCOME_TO_COMMUNITY"] = "WELCOME_TO_COMMUNITY";
|
36
38
|
NotificationTypes["CUSTOMER_HESISTANCY"] = "CUSTOMER_HESISTANCY";
|
@@ -42,12 +44,16 @@ var NotificationTypes;
|
|
42
44
|
NotificationTypes["NEW_DEVICE"] = "NEW_DEVICE";
|
43
45
|
//payments
|
44
46
|
NotificationTypes["PAYOUT_SENT"] = "PAYOUT_SENT";
|
47
|
+
NotificationTypes["PAYOUT_MADE"] = "PAYOUT_MADE";
|
48
|
+
NotificationTypes["PAYOFF_SENT"] = "PAYOFF_SENT";
|
49
|
+
NotificationTypes["PAYOFF_MADE"] = "PAYOFF_MADE";
|
50
|
+
NotificationTypes["PAYOUT_LATER"] = "PAYOUT_LATER";
|
45
51
|
NotificationTypes["REFUND_FAILED"] = "REFUND_FAILED";
|
46
52
|
NotificationTypes["PAYOUT_FAILED"] = "PAYOUT_FAILED";
|
47
|
-
NotificationTypes["
|
48
|
-
NotificationTypes["
|
49
|
-
NotificationTypes["
|
50
|
-
NotificationTypes["
|
53
|
+
NotificationTypes["PAYOFF_FAILED"] = "PAYOFF_FAILED";
|
54
|
+
NotificationTypes["PAYOFF_TRANSFER_FAILED"] = "PAYOFF_TRANSFER_FAILED";
|
55
|
+
NotificationTypes["PAYOUT_TRANSFER_FAILED"] = "PAYOUT_TRANSFER_FAILED";
|
56
|
+
NotificationTypes["STRIPE_DISCONNECTION"] = "STRIPE_DISCONNECTION";
|
51
57
|
NotificationTypes["STRIPE_CONNECTION_SUCCESS"] = "STRIPE_CONNECTION_SUCCESS";
|
52
58
|
NotificationTypes["STRIPE_CONNECTION_FAILURE"] = "STRIPE_CONNECTION_FAILURE";
|
53
59
|
})(NotificationTypes = exports.NotificationTypes || (exports.NotificationTypes = {}));
|
@@ -56,42 +62,50 @@ exports.CUSTOMER_NOTIFS = [
|
|
56
62
|
NotificationTypes.PERSONAL_REFUND_OFFERED,
|
57
63
|
NotificationTypes.COMPLETE_BOOKING_NOTIF,
|
58
64
|
NotificationTypes.OFFER_PERSONAL_REFUND,
|
59
|
-
NotificationTypes.
|
65
|
+
NotificationTypes.BOOKING_CANCELLED_BY_CUSTOMER,
|
60
66
|
NotificationTypes.SUCCESSFULL_BOOKING,
|
61
67
|
NotificationTypes.UPDATES_FROM_HOST,
|
62
|
-
NotificationTypes.
|
68
|
+
NotificationTypes.BOOKING_CANCELLED_BY_HOST,
|
63
69
|
NotificationTypes.WELCOME_MEMBER,
|
64
70
|
NotificationTypes.REFUND_FAILED,
|
65
71
|
NotificationTypes.NEW_DEVICE
|
66
72
|
];
|
67
73
|
exports.HOST_NOTIFS = [
|
68
74
|
NotificationTypes.PAYOUT_SENT,
|
75
|
+
NotificationTypes.PAYOFF_SENT,
|
76
|
+
NotificationTypes.PAYOUT_MADE,
|
77
|
+
NotificationTypes.PAYOFF_MADE,
|
78
|
+
NotificationTypes.PAYOUT_LATER,
|
69
79
|
NotificationTypes.NEW_CUSTOMER,
|
70
80
|
NotificationTypes.PAYOUT_FAILED,
|
81
|
+
NotificationTypes.PAYOFF_FAILED,
|
71
82
|
NotificationTypes.ENABLE_PAYOUTS,
|
72
83
|
NotificationTypes.MISSED_HOSTING,
|
73
|
-
NotificationTypes.PAYOUT_SUCCEED,
|
74
84
|
NotificationTypes.REVIEW_RECEIVED,
|
75
85
|
NotificationTypes.GOLD_BADGE_LOST,
|
76
86
|
NotificationTypes.SERVICE_DELETION,
|
77
87
|
NotificationTypes.REMOVED_CUSTOMER,
|
78
88
|
NotificationTypes.TAKEN_TIME_CHOSEN,
|
79
89
|
NotificationTypes.GOLD_BADGE_EARNED,
|
80
|
-
NotificationTypes.
|
90
|
+
NotificationTypes.SEANCE_RESCHEDULED,
|
81
91
|
NotificationTypes.CUSTOMER_HESISTANCY,
|
82
92
|
NotificationTypes.BOOKING_CANCELLATION,
|
83
93
|
NotificationTypes.WELCOME_TO_COMMUNITY,
|
84
94
|
NotificationTypes.HOST_SEANCE_REMINDER,
|
85
95
|
NotificationTypes.REFUNDED_CANCELLATION,
|
86
|
-
NotificationTypes.
|
87
|
-
NotificationTypes.
|
96
|
+
NotificationTypes.NEW_SERVICE_REGISTRED,
|
97
|
+
NotificationTypes.SEANCE_REMOVED_BY_HOST,
|
98
|
+
NotificationTypes.PAYOFF_TRANSFER_FAILED,
|
99
|
+
NotificationTypes.PAYOUT_TRANSFER_FAILED,
|
88
100
|
NotificationTypes.STRIPE_CONNECTION_SUCCESS,
|
89
101
|
NotificationTypes.STRIPE_CONNECTION_FAILURE
|
90
102
|
];
|
91
103
|
var NotificationIcons;
|
92
104
|
(function (NotificationIcons) {
|
105
|
+
NotificationIcons["DISCONNECTION"] = "DISCONNECTION";
|
93
106
|
NotificationIcons["CANCELLATION"] = "CANCELLATION";
|
94
107
|
NotificationIcons["MINUS_USER"] = "MINUS_USER";
|
108
|
+
NotificationIcons["CONNECTION"] = "CONNECTION";
|
95
109
|
NotificationIcons["CALENDAR"] = "CALENDAR";
|
96
110
|
NotificationIcons["CONGRATS"] = "CONGRATS";
|
97
111
|
NotificationIcons["SECURITY"] = "SECURITY";
|