@jealous-robot-dev/shared-types-responses 1.31.4 → 1.31.7

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 PaymentHistoryTransactionsPhrases {
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
- you: string;
33
+ type: string;
30
34
  };
31
35
  fields: {
32
- receiver: string;
33
- sender: string;
34
- transaction_reason: string;
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;
@@ -9,7 +9,9 @@ export declare enum NotificationTypes {
9
9
  NEW_SERVICE_REGISTRED = "NEW_SERVICE_REGISTRED",
10
10
  SERVICE_DELETION = "SERVICE_DELETION",
11
11
  NEW_CUSTOMER = "NEW_CUSTOMER",
12
+ NO_CUSTOMERS = "NO_CUSTOMERS",
12
13
  MISSED_HOSTING = "MISSED_HOSTING",
14
+ SEANCE_UTILIZED = "SEANCE_UTILIZED",
13
15
  REVIEW_RECEIVED = "REVIEW_RECEIVED",
14
16
  GOLD_BADGE_LOST = "GOLD_BADGE_LOST",
15
17
  REMOVED_CUSTOMER = "REMOVED_CUSTOMER",
@@ -29,7 +31,6 @@ export declare enum NotificationTypes {
29
31
  CUSTOMER_HESISTANCY = "CUSTOMER_HESISTANCY",
30
32
  TAKEN_TIME_CHOSEN = "TAKEN_TIME_CHOSEN",
31
33
  COMPLETE_BOOKING_NOTIF = "COMPLETE_BOOKING_NOTIF",
32
- OFFER_PERSONAL_REFUND = "OFFER_PERSONAL_REFUND",
33
34
  NEW_DEVICE = "NEW_DEVICE",
34
35
  PAYOUT_SENT = "PAYOUT_SENT",
35
36
  PAYOUT_MADE = "PAYOUT_MADE",
@@ -50,14 +51,17 @@ export declare const HOST_NOTIFS: NotificationTypes[];
50
51
  export declare enum NotificationIcons {
51
52
  DISCONNECTION = "DISCONNECTION",
52
53
  CANCELLATION = "CANCELLATION",
54
+ NO_CUSTOMERS = "NO_CUSTOMERS",
53
55
  MINUS_USER = "MINUS_USER",
54
56
  CONNECTION = "CONNECTION",
57
+ GOLD_BADGE = "GOLD_BADGE",
55
58
  CALENDAR = "CALENDAR",
56
59
  CONGRATS = "CONGRATS",
57
60
  SECURITY = "SECURITY",
58
61
  MAGICIAN = "MAGICIAN",
59
62
  NEW_USER = "NEW_USER",
60
63
  PADLOCK = "PADLOCK",
64
+ BOOKING = "BOOKING",
61
65
  PAYMENT = "PAYMENT",
62
66
  REVIEW = "REVIEW",
63
67
  POLICY = "POLICY"
@@ -90,8 +94,8 @@ export interface NotificationTemplate {
90
94
  export interface UserNotificationsPhrases {
91
95
  title: string;
92
96
  categories: {
93
- visitor: string;
94
- organiser: string;
97
+ customer: string;
98
+ host: string;
95
99
  };
96
100
  load_more: string;
97
101
  no_notifications: LND;
@@ -15,7 +15,9 @@ var NotificationTypes;
15
15
  NotificationTypes["SERVICE_DELETION"] = "SERVICE_DELETION";
16
16
  //hosting
17
17
  NotificationTypes["NEW_CUSTOMER"] = "NEW_CUSTOMER";
18
+ NotificationTypes["NO_CUSTOMERS"] = "NO_CUSTOMERS";
18
19
  NotificationTypes["MISSED_HOSTING"] = "MISSED_HOSTING";
20
+ NotificationTypes["SEANCE_UTILIZED"] = "SEANCE_UTILIZED";
19
21
  NotificationTypes["REVIEW_RECEIVED"] = "REVIEW_RECEIVED";
20
22
  NotificationTypes["GOLD_BADGE_LOST"] = "GOLD_BADGE_LOST";
21
23
  NotificationTypes["REMOVED_CUSTOMER"] = "REMOVED_CUSTOMER";
@@ -39,7 +41,6 @@ var NotificationTypes;
39
41
  NotificationTypes["TAKEN_TIME_CHOSEN"] = "TAKEN_TIME_CHOSEN";
40
42
  //for customers
41
43
  NotificationTypes["COMPLETE_BOOKING_NOTIF"] = "COMPLETE_BOOKING_NOTIF";
42
- NotificationTypes["OFFER_PERSONAL_REFUND"] = "OFFER_PERSONAL_REFUND";
43
44
  //security
44
45
  NotificationTypes["NEW_DEVICE"] = "NEW_DEVICE";
45
46
  //payments
@@ -58,14 +59,13 @@ var NotificationTypes;
58
59
  NotificationTypes["STRIPE_CONNECTION_FAILURE"] = "STRIPE_CONNECTION_FAILURE";
59
60
  })(NotificationTypes = exports.NotificationTypes || (exports.NotificationTypes = {}));
60
61
  exports.CUSTOMER_NOTIFS = [
62
+ NotificationTypes.BOOKING_CANCELLED_BY_CUSTOMER,
63
+ NotificationTypes.BOOKING_CANCELLED_BY_HOST,
61
64
  NotificationTypes.CUSTOMER_SEANCE_REMINDER,
62
65
  NotificationTypes.PERSONAL_REFUND_OFFERED,
63
66
  NotificationTypes.COMPLETE_BOOKING_NOTIF,
64
- NotificationTypes.OFFER_PERSONAL_REFUND,
65
- NotificationTypes.BOOKING_CANCELLED_BY_CUSTOMER,
66
67
  NotificationTypes.SUCCESSFULL_BOOKING,
67
68
  NotificationTypes.UPDATES_FROM_HOST,
68
- NotificationTypes.BOOKING_CANCELLED_BY_HOST,
69
69
  NotificationTypes.WELCOME_MEMBER,
70
70
  NotificationTypes.REFUND_FAILED,
71
71
  NotificationTypes.NEW_DEVICE
@@ -75,6 +75,7 @@ exports.HOST_NOTIFS = [
75
75
  NotificationTypes.PAYOFF_SENT,
76
76
  NotificationTypes.PAYOUT_MADE,
77
77
  NotificationTypes.PAYOFF_MADE,
78
+ NotificationTypes.NO_CUSTOMERS,
78
79
  NotificationTypes.PAYOUT_LATER,
79
80
  NotificationTypes.NEW_CUSTOMER,
80
81
  NotificationTypes.PAYOUT_FAILED,
@@ -83,6 +84,7 @@ exports.HOST_NOTIFS = [
83
84
  NotificationTypes.MISSED_HOSTING,
84
85
  NotificationTypes.REVIEW_RECEIVED,
85
86
  NotificationTypes.GOLD_BADGE_LOST,
87
+ NotificationTypes.SEANCE_UTILIZED,
86
88
  NotificationTypes.SERVICE_DELETION,
87
89
  NotificationTypes.REMOVED_CUSTOMER,
88
90
  NotificationTypes.TAKEN_TIME_CHOSEN,
@@ -104,14 +106,17 @@ var NotificationIcons;
104
106
  (function (NotificationIcons) {
105
107
  NotificationIcons["DISCONNECTION"] = "DISCONNECTION";
106
108
  NotificationIcons["CANCELLATION"] = "CANCELLATION";
109
+ NotificationIcons["NO_CUSTOMERS"] = "NO_CUSTOMERS";
107
110
  NotificationIcons["MINUS_USER"] = "MINUS_USER";
108
111
  NotificationIcons["CONNECTION"] = "CONNECTION";
112
+ NotificationIcons["GOLD_BADGE"] = "GOLD_BADGE";
109
113
  NotificationIcons["CALENDAR"] = "CALENDAR";
110
114
  NotificationIcons["CONGRATS"] = "CONGRATS";
111
115
  NotificationIcons["SECURITY"] = "SECURITY";
112
116
  NotificationIcons["MAGICIAN"] = "MAGICIAN";
113
117
  NotificationIcons["NEW_USER"] = "NEW_USER";
114
118
  NotificationIcons["PADLOCK"] = "PADLOCK";
119
+ NotificationIcons["BOOKING"] = "BOOKING";
115
120
  NotificationIcons["PAYMENT"] = "PAYMENT";
116
121
  NotificationIcons["REVIEW"] = "REVIEW";
117
122
  NotificationIcons["POLICY"] = "POLICY";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.31.4",
3
+ "version": "1.31.7",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",