@jealous-robot-dev/shared-types-responses 1.31.5 → 1.31.6

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,7 +20,9 @@ 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;
24
26
  common: {
25
27
  load_more: string;
26
28
  send_pdf: string;
@@ -29,17 +31,16 @@ export interface PaymentHistoryTransactionsPhrases {
29
31
  you: string;
30
32
  };
31
33
  fields: {
32
- receiver: string;
33
- sender: string;
34
- transaction_reason: string;
34
+ transactions: {
35
+ label: string;
36
+ id: PaymentType;
37
+ description: string;
38
+ }[];
39
+ currency: string;
35
40
  made_at: string;
36
41
  amount: string;
37
42
  };
38
43
  }
39
- export interface PaymentHistoryPhrases {
40
- title: string;
41
- total_transactions: string;
42
- }
43
44
  export interface PaymentHistoryTransaction {
44
45
  id: string;
45
46
  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
- visitor: string;
96
- organiser: string;
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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.31.5",
3
+ "version": "1.31.6",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",