@jealous-robot-dev/shared-types-responses 1.31.5 → 1.31.8
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.
@@ -20,26 +20,29 @@ export interface SendPDFForm {
|
|
20
20
|
success: LND;
|
21
21
|
email_me: string;
|
22
22
|
}
|
23
|
-
export interface
|
23
|
+
export interface PaymentHistoryPhrases {
|
24
|
+
title: string;
|
25
|
+
no_transactions: LND;
|
26
|
+
visit_stripe_dashboard: string;
|
24
27
|
common: {
|
25
28
|
load_more: string;
|
26
29
|
send_pdf: string;
|
27
30
|
transaction_details: string;
|
31
|
+
meanings: string;
|
28
32
|
cancel: string;
|
29
|
-
|
33
|
+
type: string;
|
30
34
|
};
|
31
35
|
fields: {
|
32
|
-
|
33
|
-
|
34
|
-
|
36
|
+
transactions: {
|
37
|
+
label: string;
|
38
|
+
id: PaymentType;
|
39
|
+
description: string;
|
40
|
+
}[];
|
41
|
+
currency: string;
|
35
42
|
made_at: string;
|
36
43
|
amount: string;
|
37
44
|
};
|
38
45
|
}
|
39
|
-
export interface PaymentHistoryPhrases {
|
40
|
-
title: string;
|
41
|
-
total_transactions: string;
|
42
|
-
}
|
43
46
|
export interface PaymentHistoryTransaction {
|
44
47
|
id: string;
|
45
48
|
amount: number;
|
@@ -31,7 +31,6 @@ export declare enum NotificationTypes {
|
|
31
31
|
CUSTOMER_HESISTANCY = "CUSTOMER_HESISTANCY",
|
32
32
|
TAKEN_TIME_CHOSEN = "TAKEN_TIME_CHOSEN",
|
33
33
|
COMPLETE_BOOKING_NOTIF = "COMPLETE_BOOKING_NOTIF",
|
34
|
-
OFFER_PERSONAL_REFUND = "OFFER_PERSONAL_REFUND",
|
35
34
|
NEW_DEVICE = "NEW_DEVICE",
|
36
35
|
PAYOUT_SENT = "PAYOUT_SENT",
|
37
36
|
PAYOUT_MADE = "PAYOUT_MADE",
|
@@ -52,14 +51,17 @@ export declare const HOST_NOTIFS: NotificationTypes[];
|
|
52
51
|
export declare enum NotificationIcons {
|
53
52
|
DISCONNECTION = "DISCONNECTION",
|
54
53
|
CANCELLATION = "CANCELLATION",
|
54
|
+
NO_CUSTOMERS = "NO_CUSTOMERS",
|
55
55
|
MINUS_USER = "MINUS_USER",
|
56
56
|
CONNECTION = "CONNECTION",
|
57
|
+
GOLD_BADGE = "GOLD_BADGE",
|
57
58
|
CALENDAR = "CALENDAR",
|
58
59
|
CONGRATS = "CONGRATS",
|
59
60
|
SECURITY = "SECURITY",
|
60
61
|
MAGICIAN = "MAGICIAN",
|
61
62
|
NEW_USER = "NEW_USER",
|
62
63
|
PADLOCK = "PADLOCK",
|
64
|
+
BOOKING = "BOOKING",
|
63
65
|
PAYMENT = "PAYMENT",
|
64
66
|
REVIEW = "REVIEW",
|
65
67
|
POLICY = "POLICY"
|
@@ -92,8 +94,8 @@ export interface NotificationTemplate {
|
|
92
94
|
export interface UserNotificationsPhrases {
|
93
95
|
title: string;
|
94
96
|
categories: {
|
95
|
-
|
96
|
-
|
97
|
+
customer: string;
|
98
|
+
host: string;
|
97
99
|
};
|
98
100
|
load_more: string;
|
99
101
|
no_notifications: LND;
|
@@ -41,7 +41,6 @@ var NotificationTypes;
|
|
41
41
|
NotificationTypes["TAKEN_TIME_CHOSEN"] = "TAKEN_TIME_CHOSEN";
|
42
42
|
//for customers
|
43
43
|
NotificationTypes["COMPLETE_BOOKING_NOTIF"] = "COMPLETE_BOOKING_NOTIF";
|
44
|
-
NotificationTypes["OFFER_PERSONAL_REFUND"] = "OFFER_PERSONAL_REFUND";
|
45
44
|
//security
|
46
45
|
NotificationTypes["NEW_DEVICE"] = "NEW_DEVICE";
|
47
46
|
//payments
|
@@ -60,14 +59,13 @@ var NotificationTypes;
|
|
60
59
|
NotificationTypes["STRIPE_CONNECTION_FAILURE"] = "STRIPE_CONNECTION_FAILURE";
|
61
60
|
})(NotificationTypes = exports.NotificationTypes || (exports.NotificationTypes = {}));
|
62
61
|
exports.CUSTOMER_NOTIFS = [
|
62
|
+
NotificationTypes.BOOKING_CANCELLED_BY_CUSTOMER,
|
63
|
+
NotificationTypes.BOOKING_CANCELLED_BY_HOST,
|
63
64
|
NotificationTypes.CUSTOMER_SEANCE_REMINDER,
|
64
65
|
NotificationTypes.PERSONAL_REFUND_OFFERED,
|
65
66
|
NotificationTypes.COMPLETE_BOOKING_NOTIF,
|
66
|
-
NotificationTypes.OFFER_PERSONAL_REFUND,
|
67
|
-
NotificationTypes.BOOKING_CANCELLED_BY_CUSTOMER,
|
68
67
|
NotificationTypes.SUCCESSFULL_BOOKING,
|
69
68
|
NotificationTypes.UPDATES_FROM_HOST,
|
70
|
-
NotificationTypes.BOOKING_CANCELLED_BY_HOST,
|
71
69
|
NotificationTypes.WELCOME_MEMBER,
|
72
70
|
NotificationTypes.REFUND_FAILED,
|
73
71
|
NotificationTypes.NEW_DEVICE
|
@@ -108,14 +106,17 @@ var NotificationIcons;
|
|
108
106
|
(function (NotificationIcons) {
|
109
107
|
NotificationIcons["DISCONNECTION"] = "DISCONNECTION";
|
110
108
|
NotificationIcons["CANCELLATION"] = "CANCELLATION";
|
109
|
+
NotificationIcons["NO_CUSTOMERS"] = "NO_CUSTOMERS";
|
111
110
|
NotificationIcons["MINUS_USER"] = "MINUS_USER";
|
112
111
|
NotificationIcons["CONNECTION"] = "CONNECTION";
|
112
|
+
NotificationIcons["GOLD_BADGE"] = "GOLD_BADGE";
|
113
113
|
NotificationIcons["CALENDAR"] = "CALENDAR";
|
114
114
|
NotificationIcons["CONGRATS"] = "CONGRATS";
|
115
115
|
NotificationIcons["SECURITY"] = "SECURITY";
|
116
116
|
NotificationIcons["MAGICIAN"] = "MAGICIAN";
|
117
117
|
NotificationIcons["NEW_USER"] = "NEW_USER";
|
118
118
|
NotificationIcons["PADLOCK"] = "PADLOCK";
|
119
|
+
NotificationIcons["BOOKING"] = "BOOKING";
|
119
120
|
NotificationIcons["PAYMENT"] = "PAYMENT";
|
120
121
|
NotificationIcons["REVIEW"] = "REVIEW";
|
121
122
|
NotificationIcons["POLICY"] = "POLICY";
|