@jealous-robot-dev/shared-types-responses 1.30.13 → 1.30.16
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,6 @@ 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
|
-
REFUND_FAILED = "REFUND_FAILED",
|
23
23
|
CUSTOMER_SEANCE_REMINDER = "PRESCHEDULED_CUSTOMER_SEANCE_REMINDER",
|
24
24
|
HOST_SEANCE_REMINDER = "PRESCHEDULED_HOST_SEANCE_REMINDER",
|
25
25
|
WELCOME_TO_COMMUNITY = "WELCOME_TO_COMMUNITY",
|
@@ -28,12 +28,15 @@ export declare enum NotificationTypes {
|
|
28
28
|
COMPLETE_BOOKING_NOTIF = "COMPLETE_BOOKING_NOTIF",
|
29
29
|
OFFER_PERSONAL_REFUND = "OFFER_PERSONAL_REFUND",
|
30
30
|
NEW_DEVICE = "NEW_DEVICE",
|
31
|
-
MAIL_CANCELLATION_OFFER = "MAIL_CANCELLATION_OFFER",
|
32
31
|
PAYOUT_SENT = "PAYOUT_SENT",
|
32
|
+
REFUND_FAILED = "REFUND_FAILED",
|
33
33
|
PAYOUT_FAILED = "PAYOUT_FAILED",
|
34
34
|
PAYOUT_SUCCEED = "PAYOUT_SUCCEED",
|
35
35
|
GOLD_BADGE_LOST = "GOLD_BADGE_LOST",
|
36
|
-
GOLD_BADGE_EARNED = "GOLD_BADGE_EARNED"
|
36
|
+
GOLD_BADGE_EARNED = "GOLD_BADGE_EARNED",
|
37
|
+
TRANSFERS_INACTIVE = "TRANSFERS_INACTIVE",
|
38
|
+
STRIPE_CONNECTION_SUCCESS = "STRIPE_CONNECTION_SUCCESS",
|
39
|
+
STRIPE_CONNECTION_FAILURE = "STRIPE_CONNECTION_FAILURE"
|
37
40
|
}
|
38
41
|
export declare enum NotificationIcons {
|
39
42
|
CANCELLATION = "CANCELLATION",
|
@@ -51,6 +54,7 @@ export interface WebNotification {
|
|
51
54
|
id: string;
|
52
55
|
type: NotificationTypes;
|
53
56
|
category: NotificationCategory;
|
57
|
+
unseen: boolean;
|
54
58
|
time: string;
|
55
59
|
url?: string;
|
56
60
|
metadata: object;
|
@@ -61,7 +65,7 @@ export interface Notifications {
|
|
61
65
|
entries: WebNotification[];
|
62
66
|
}
|
63
67
|
export interface UserNotificationsData {
|
64
|
-
|
68
|
+
notifs: {
|
65
69
|
host: Notifications[];
|
66
70
|
customer: Notifications[];
|
67
71
|
};
|
@@ -70,6 +74,7 @@ export interface NotificationTemplate {
|
|
70
74
|
sentence: string;
|
71
75
|
id: NotificationTypes;
|
72
76
|
icon: NotificationIcons;
|
77
|
+
no_meta_sentence?: string;
|
73
78
|
}
|
74
79
|
export interface UserNotificationsPhrases {
|
75
80
|
title: string;
|
@@ -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,6 @@ 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["REFUND_FAILED"] = "REFUND_FAILED";
|
30
30
|
//reminders
|
31
31
|
NotificationTypes["CUSTOMER_SEANCE_REMINDER"] = "PRESCHEDULED_CUSTOMER_SEANCE_REMINDER";
|
32
32
|
NotificationTypes["HOST_SEANCE_REMINDER"] = "PRESCHEDULED_HOST_SEANCE_REMINDER";
|
@@ -39,13 +39,16 @@ var NotificationTypes;
|
|
39
39
|
NotificationTypes["OFFER_PERSONAL_REFUND"] = "OFFER_PERSONAL_REFUND";
|
40
40
|
//security
|
41
41
|
NotificationTypes["NEW_DEVICE"] = "NEW_DEVICE";
|
42
|
-
NotificationTypes["MAIL_CANCELLATION_OFFER"] = "MAIL_CANCELLATION_OFFER";
|
43
42
|
//payments
|
44
43
|
NotificationTypes["PAYOUT_SENT"] = "PAYOUT_SENT";
|
44
|
+
NotificationTypes["REFUND_FAILED"] = "REFUND_FAILED";
|
45
45
|
NotificationTypes["PAYOUT_FAILED"] = "PAYOUT_FAILED";
|
46
46
|
NotificationTypes["PAYOUT_SUCCEED"] = "PAYOUT_SUCCEED";
|
47
47
|
NotificationTypes["GOLD_BADGE_LOST"] = "GOLD_BADGE_LOST";
|
48
48
|
NotificationTypes["GOLD_BADGE_EARNED"] = "GOLD_BADGE_EARNED";
|
49
|
+
NotificationTypes["TRANSFERS_INACTIVE"] = "TRANSFERS_INACTIVE";
|
50
|
+
NotificationTypes["STRIPE_CONNECTION_SUCCESS"] = "STRIPE_CONNECTION_SUCCESS";
|
51
|
+
NotificationTypes["STRIPE_CONNECTION_FAILURE"] = "STRIPE_CONNECTION_FAILURE";
|
49
52
|
})(NotificationTypes = exports.NotificationTypes || (exports.NotificationTypes = {}));
|
50
53
|
var NotificationIcons;
|
51
54
|
(function (NotificationIcons) {
|