@jealous-robot-dev/shared-types-responses 1.32.14 → 1.32.17

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.
Files changed (128) hide show
  1. package/build/index.d.ts +0 -3
  2. package/build/index.js +0 -3
  3. package/build/services/common.d.ts +1 -38
  4. package/build/services/common.js +1 -6
  5. package/build/services/events/become-host.d.ts +1 -1
  6. package/build/services/events/customerhub.d.ts +2 -22
  7. package/build/services/events/customerhub.js +0 -12
  8. package/build/services/events/event-checkout.d.ts +1 -51
  9. package/build/services/events/event-impression.d.ts +2 -20
  10. package/build/services/events/event-search.d.ts +1 -78
  11. package/build/services/events/event-search.js +0 -11
  12. package/build/services/events/event.d.ts +1 -158
  13. package/build/services/events/event.js +0 -38
  14. package/build/services/events/events.d.ts +1 -66
  15. package/build/services/events/events.js +0 -42
  16. package/build/services/events/host-an-event.d.ts +1 -179
  17. package/build/services/events/host-an-event.js +1 -31
  18. package/build/services/events/host.d.ts +1 -33
  19. package/build/services/events/index.d.ts +0 -4
  20. package/build/services/events/index.js +0 -4
  21. package/build/services/events/manage-events.d.ts +3 -220
  22. package/build/services/events/manage-events.js +0 -61
  23. package/build/services/events/seance-join.d.ts +0 -30
  24. package/build/services/events/seance-join.js +1 -6
  25. package/build/services/events/tag-search.d.ts +0 -19
  26. package/build/services/events/urgent-event.d.ts +1 -10
  27. package/build/services/forms/authentication.d.ts +1 -119
  28. package/build/services/forms/authentication.js +1 -15
  29. package/build/services/forms/index.d.ts +0 -3
  30. package/build/services/forms/index.js +0 -3
  31. package/build/services/landing-page.d.ts +8 -4
  32. package/build/services/main-data.d.ts +4 -38
  33. package/build/services/main-data.js +0 -11
  34. package/build/services/messenger/user-inbox.d.ts +2 -28
  35. package/build/services/payments/cancellation.d.ts +1 -17
  36. package/build/services/payments/index.d.ts +0 -3
  37. package/build/services/payments/index.js +0 -3
  38. package/build/services/static-components/index.d.ts +0 -3
  39. package/build/services/static-components/index.js +0 -3
  40. package/build/services/static-components/searchbar.d.ts +2 -30
  41. package/build/services/stats/host-payouts.d.ts +1 -41
  42. package/build/services/stats/host-payouts.js +0 -8
  43. package/build/services/stats/index.d.ts +0 -1
  44. package/build/services/stats/index.js +0 -1
  45. package/build/services/stats/payment-history.d.ts +1 -45
  46. package/build/services/stats/payment-history.js +0 -8
  47. package/build/services/stats/schedule.d.ts +0 -24
  48. package/build/services/stats/schedule.js +0 -6
  49. package/build/services/stats/user-notifications.d.ts +3 -84
  50. package/build/services/stats/user-notifications.js +0 -121
  51. package/build/services/stats/user-performance.d.ts +1 -27
  52. package/build/services/stats/user-performance.js +0 -8
  53. package/build/services/stats/user-reviews.d.ts +4 -10
  54. package/build/services/stats/user-visitors.d.ts +0 -10
  55. package/build/services/user/collections.d.ts +2 -12
  56. package/build/services/user/index.d.ts +0 -5
  57. package/build/services/user/index.js +0 -5
  58. package/build/services/user/profile-basic-data.d.ts +2 -90
  59. package/build/services/user/profile-basic-data.js +1 -18
  60. package/build/services/user/search-user.d.ts +0 -24
  61. package/build/services/user/search-user.js +0 -17
  62. package/build/services/user-settings/event-settings.d.ts +2 -40
  63. package/build/services/user-settings/event-settings.js +0 -17
  64. package/build/services/user-settings/index.d.ts +3 -7
  65. package/build/services/user-settings/index.js +3 -7
  66. package/build/services/user-settings/user-notifications-settings.d.ts +2 -26
  67. package/build/services/user-settings/user-notifications-settings.js +0 -20
  68. package/build/services/user-settings/user-payments.d.ts +2 -55
  69. package/build/services/user-settings/user-payments.js +0 -7
  70. package/build/services/user-settings/user-personal-info.d.ts +2 -68
  71. package/build/services/user-settings/user-personal-info.js +0 -21
  72. package/build/services/user-settings/user-privacy.d.ts +2 -20
  73. package/build/services/user-settings/user-privacy.js +1 -12
  74. package/build/services/user-settings/user-security.d.ts +2 -69
  75. package/build/services/user-settings/user-security.js +0 -21
  76. package/package.json +3 -1
  77. package/build/services/cookies.d.ts +0 -32
  78. package/build/services/cookies.js +0 -53
  79. package/build/services/events/meetings.d.ts +0 -23
  80. package/build/services/events/meetings.js +0 -31
  81. package/build/services/events/not-found.d.ts +0 -6
  82. package/build/services/events/not-found.js +0 -2
  83. package/build/services/events/reviews.d.ts +0 -24
  84. package/build/services/events/reviews.js +0 -2
  85. package/build/services/events/timing.d.ts +0 -30
  86. package/build/services/events/timing.js +0 -2
  87. package/build/services/forms/forgot-password.d.ts +0 -20
  88. package/build/services/forms/forgot-password.js +0 -2
  89. package/build/services/forms/set-new-password.d.ts +0 -21
  90. package/build/services/forms/set-new-password.js +0 -2
  91. package/build/services/forms/sharer.d.ts +0 -25
  92. package/build/services/forms/sharer.js +0 -2
  93. package/build/services/headers.d.ts +0 -13
  94. package/build/services/headers.js +0 -17
  95. package/build/services/media.d.ts +0 -12
  96. package/build/services/media.js +0 -36
  97. package/build/services/payments/common.d.ts +0 -16
  98. package/build/services/payments/common.js +0 -22
  99. package/build/services/payments/mail-cancellation.d.ts +0 -13
  100. package/build/services/payments/mail-cancellation.js +0 -2
  101. package/build/services/payments/personal-refund-offer.d.ts +0 -17
  102. package/build/services/payments/personal-refund-offer.js +0 -2
  103. package/build/services/static-components/calculator.d.ts +0 -26
  104. package/build/services/static-components/calculator.js +0 -5
  105. package/build/services/static-components/footer.d.ts +0 -20
  106. package/build/services/static-components/footer.js +0 -2
  107. package/build/services/static-components/smart-header.d.ts +0 -50
  108. package/build/services/static-components/smart-header.js +0 -2
  109. package/build/services/stats/user-booking.d.ts +0 -10
  110. package/build/services/stats/user-booking.js +0 -2
  111. package/build/services/user/404.d.ts +0 -12
  112. package/build/services/user/404.js +0 -2
  113. package/build/services/user/cancellations.d.ts +0 -9
  114. package/build/services/user/cancellations.js +0 -2
  115. package/build/services/user/invite.d.ts +0 -14
  116. package/build/services/user/invite.js +0 -2
  117. package/build/services/user/not-found.d.ts +0 -6
  118. package/build/services/user/not-found.js +0 -2
  119. package/build/services/user/unavailable-in-region.d.ts +0 -6
  120. package/build/services/user/unavailable-in-region.js +0 -2
  121. package/build/services/user-settings/account-settings.d.ts +0 -38
  122. package/build/services/user-settings/account-settings.js +0 -2
  123. package/build/services/user-settings/deactivate-account.d.ts +0 -47
  124. package/build/services/user-settings/deactivate-account.js +0 -8
  125. package/build/services/user-settings/reset-email-verification.d.ts +0 -9
  126. package/build/services/user-settings/reset-email-verification.js +0 -2
  127. package/build/services/user-settings/user-preferences.d.ts +0 -15
  128. package/build/services/user-settings/user-preferences.js +0 -9
@@ -1,122 +1,4 @@
1
- import { LND, PasswordCharacteristics } from '../common';
2
- import { FormWarning } from '@jealous-robot-dev/shared-ui-lib';
3
- export declare enum AuthenticationProviders {
4
- GOOGLE = "google",
5
- FACEBOOK = "facebook",
6
- EMAIL = "email",
7
- LINKEDIN = "linkedin"
8
- }
9
- export declare const AuthInstrumentsList: string[];
10
- export declare enum AuthID {
11
- EMAIL = "email",
12
- USERNAME = "username"
13
- }
14
- export declare const authIDList: AuthID[];
15
- export interface AuthFormExternalLinks {
16
- label: string;
17
- button: string;
18
- }
19
- export interface AuthFormInputField {
20
- label: string;
21
- errors: FormWarning;
22
- description?: string;
23
- }
24
- export interface AuthenticationProvidersPhrases {
25
- google: string;
26
- facebook: string;
27
- linkedin: string;
28
- email: string;
29
- }
30
- export interface FormIntrinsicProps {
31
- title: string;
32
- greeting?: string;
33
- }
34
- export interface CommonAuthPhrases {
35
- or: string;
36
- button_label: string;
37
- auth_providers: AuthenticationProvidersPhrases;
38
- }
39
- export interface WelcomePhrases {
40
- title: string;
41
- greeting: string;
42
- inputs: {
43
- email_or_username: {
44
- label: string;
45
- };
46
- id: {
47
- error: {
48
- enter: string;
49
- };
50
- };
51
- };
52
- verify_email: LND;
53
- no_password: LND;
54
- checkboxes: {
55
- remember_me: string;
56
- };
57
- errors: {
58
- invalid_email: string;
59
- invalid_username: string;
60
- enter_id: string;
61
- };
62
- external_links: {
63
- forgot_pw: AuthFormExternalLinks;
64
- };
65
- }
66
- export interface SignupPhrases {
67
- title: string;
68
- inputs: {
69
- firstname: AuthFormInputField;
70
- lastname: AuthFormInputField;
71
- username: AuthFormInputField;
72
- email: AuthFormInputField;
73
- password: AuthFormInputField;
74
- };
75
- password_characteristics: PasswordCharacteristics;
76
- checkboxes: {
77
- emailer_enabled: string;
78
- };
79
- agreement: {
80
- sign_up_label: string;
81
- terms_of_use: string;
82
- agreement: string;
83
- };
84
- }
85
- export interface VerifyEmailPhrases {
86
- title: string;
87
- description: string;
88
- input: AuthFormInputField;
89
- resend: LND;
90
- }
91
- export interface CommunityAgreement {
92
- title: string;
93
- description: string;
94
- promise: string;
95
- submit: string;
96
- }
97
- export interface SuccessfullyCreated {
98
- title: string;
99
- description: string;
100
- letsgo: string;
101
- }
102
- export interface VerifyDevicePhrases {
103
- title: string;
104
- description: string;
105
- inputs: AuthFormInputField;
106
- go_to_main: string;
107
- verification_failed: LND;
108
- ps: string;
109
- }
110
- export interface WelcomeBackPhrases {
111
- title: string;
112
- password: AuthFormInputField;
113
- external_links: {
114
- not_me: AuthFormExternalLinks;
115
- };
116
- checkboxes: {
117
- remember_me: string;
118
- };
119
- }
1
+ import { AuthenticationProviders } from '@jealous-robot-dev/drophr-common';
120
2
  export interface ShortAuthFormData {
121
3
  UID: string;
122
4
  email: string;
@@ -1,20 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeviceVerificationResults = exports.PositiveAuthResponse = exports.authIDList = exports.AuthID = exports.AuthInstrumentsList = exports.AuthenticationProviders = void 0;
4
- var AuthenticationProviders;
5
- (function (AuthenticationProviders) {
6
- AuthenticationProviders["GOOGLE"] = "google";
7
- AuthenticationProviders["FACEBOOK"] = "facebook";
8
- AuthenticationProviders["EMAIL"] = "email";
9
- AuthenticationProviders["LINKEDIN"] = "linkedin";
10
- })(AuthenticationProviders = exports.AuthenticationProviders || (exports.AuthenticationProviders = {}));
11
- exports.AuthInstrumentsList = ['google', 'facebook', 'email', 'linkedin'];
12
- var AuthID;
13
- (function (AuthID) {
14
- AuthID["EMAIL"] = "email";
15
- AuthID["USERNAME"] = "username";
16
- })(AuthID = exports.AuthID || (exports.AuthID = {}));
17
- exports.authIDList = [AuthID.EMAIL, AuthID.USERNAME];
3
+ exports.DeviceVerificationResults = exports.PositiveAuthResponse = void 0;
18
4
  var PositiveAuthResponse;
19
5
  (function (PositiveAuthResponse) {
20
6
  PositiveAuthResponse["NEW_USER"] = "NEW_USER";
@@ -1,4 +1 @@
1
- export * from './sharer';
2
1
  export * from './authentication';
3
- export * from './forgot-password';
4
- export * from './set-new-password';
@@ -10,7 +10,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./sharer"), exports);
14
13
  __exportStar(require("./authentication"), exports);
15
- __exportStar(require("./forgot-password"), exports);
16
- __exportStar(require("./set-new-password"), exports);
@@ -1,5 +1,4 @@
1
- import { PhrasedEventType } from "..";
2
- import { LND } from "./common";
1
+ import { EventTypes } from "@jealous-robot-dev/drophr-common";
3
2
  export declare enum LangdingPageSections {
4
3
  BG_IMG = "BG_IMG",
5
4
  DISOVER_EVENTS = "DISOVER_EVENTS",
@@ -10,7 +9,9 @@ export declare enum LangdingPageSections {
10
9
  export interface LPBg {
11
10
  main_view_path: string;
12
11
  }
13
- export interface Opportunity extends LND {
12
+ export interface Opportunity {
13
+ label: string;
14
+ description: string;
14
15
  picture_path: string;
15
16
  index: number;
16
17
  }
@@ -22,7 +23,10 @@ export interface LPBecomeHost {
22
23
  }
23
24
  export interface LPDiscoverEvents {
24
25
  title: string;
25
- events: PhrasedEventType[];
26
+ events: {
27
+ type: EventTypes;
28
+ label: string;
29
+ }[];
26
30
  }
27
31
  export interface LPAboutUs {
28
32
  title: string;
@@ -1,21 +1,8 @@
1
+ import { AuthenticationProviders, Currency, Locale, UITHEME, TextDirection } from '@jealous-robot-dev/drophr-common';
1
2
  import { DropWebEnv, Pages } from '@jealous-robot-dev/shared-ui-lib';
2
- import { AuthenticationProviders, UrgentEvent } from '..';
3
- import { Currency, Locale, QueryResponse } from './common';
4
- export declare enum UITHEME {
5
- DARK = "dark",
6
- LIGHT = "light"
7
- }
8
- export declare enum TextDirection {
9
- RIGHT = "rtl",
10
- LEFT = "ltr"
11
- }
12
- export interface CookieConsentPhrases {
13
- label: string;
14
- description: string;
15
- policy_link: string;
16
- policy_url: string;
17
- submit: string;
18
- }
3
+ import { MainPhrases } from '@jealous-robot-dev/shared-phrases';
4
+ import { QueryResponse } from './common';
5
+ import { UrgentEvent } from '..';
19
6
  export interface MainUserData {
20
7
  UID: string;
21
8
  email: string;
@@ -49,26 +36,5 @@ export interface CommonData {
49
36
  theme: UITHEME;
50
37
  };
51
38
  }
52
- export interface MainPhrases {
53
- error: string;
54
- global_error: string;
55
- default_title: string;
56
- you_are_offline: string;
57
- enable_javascript: string;
58
- preferences: {
59
- language_and_region: {
60
- title: string;
61
- choose: string;
62
- };
63
- theme: {
64
- dark: string;
65
- light: string;
66
- };
67
- currency: {
68
- title: string;
69
- choose: string;
70
- };
71
- };
72
- }
73
39
  export interface MainDataResponse extends QueryResponse<CommonData, MainPhrases> {
74
40
  }
@@ -1,13 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextDirection = exports.UITHEME = void 0;
4
- var UITHEME;
5
- (function (UITHEME) {
6
- UITHEME["DARK"] = "dark";
7
- UITHEME["LIGHT"] = "light";
8
- })(UITHEME = exports.UITHEME || (exports.UITHEME = {}));
9
- var TextDirection;
10
- (function (TextDirection) {
11
- TextDirection["RIGHT"] = "rtl";
12
- TextDirection["LEFT"] = "ltr";
13
- })(TextDirection = exports.TextDirection || (exports.TextDirection = {}));
@@ -1,5 +1,6 @@
1
+ import { UserInboxPhrases } from '@jealous-robot-dev/shared-phrases';
1
2
  import { ShortConversation } from './conversations';
2
- import { LND, QueryResponse } from '../common';
3
+ import { QueryResponse } from '../common';
3
4
  export interface StartConversation {
4
5
  UID: string;
5
6
  username: string;
@@ -11,32 +12,5 @@ export interface UserInboxData {
11
12
  conversations: ShortConversation[];
12
13
  conversation_with?: StartConversation;
13
14
  }
14
- export interface UserInboxPhrases {
15
- title: string;
16
- message_section: LND;
17
- cancel: string;
18
- ok: string;
19
- write_message: string;
20
- messages: string;
21
- no_messages: string;
22
- message: string;
23
- edit: string;
24
- download: string;
25
- delete: string;
26
- delete_conversation: string;
27
- search_users: string;
28
- attachment: string;
29
- no_conversations: LND;
30
- no_users: LND;
31
- today: string;
32
- restricted_access: string;
33
- view_profile: string;
34
- forms: {
35
- delete_conv: {
36
- title: string;
37
- description: string;
38
- };
39
- };
40
- }
41
15
  export interface UserInboxResponse extends QueryResponse<UserInboxData, UserInboxPhrases> {
42
16
  }
@@ -1,5 +1,4 @@
1
- import { LND } from "../common";
2
- import { EventTypes, HostEventFee } from "../events";
1
+ import { EventTypes, HostEventFee } from "@jealous-robot-dev/drophr-common";
3
2
  export interface GuestBookingCancellationData {
4
3
  event_id: string;
5
4
  type: EventTypes;
@@ -20,21 +19,6 @@ export interface MailBookingCancellationData {
20
19
  time: string;
21
20
  fee: HostEventFee;
22
21
  }
23
- export interface GuestBookingCancellationPhrases {
24
- password: {
25
- label: string;
26
- invalid_password: string;
27
- };
28
- success: LND;
29
- title: string;
30
- submit: string;
31
- go_back: string;
32
- description: string;
33
- are_you_sure: string;
34
- time_elapsed: string;
35
- refunded_amount: string;
36
- remind_on_policy: string;
37
- }
38
22
  export interface HostBookingCancellationData {
39
23
  event: {
40
24
  sid: string;
@@ -1,4 +1 @@
1
- export * from './common';
2
1
  export * from './cancellation';
3
- export * from './mail-cancellation';
4
- export * from './personal-refund-offer';
@@ -10,7 +10,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./common"), exports);
14
13
  __exportStar(require("./cancellation"), exports);
15
- __exportStar(require("./mail-cancellation"), exports);
16
- __exportStar(require("./personal-refund-offer"), exports);
@@ -1,4 +1 @@
1
- export * from './footer';
2
1
  export * from './searchbar';
3
- export * from './calculator';
4
- export * from './smart-header';
@@ -10,7 +10,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./footer"), exports);
14
13
  __exportStar(require("./searchbar"), exports);
15
- __exportStar(require("./calculator"), exports);
16
- __exportStar(require("./smart-header"), exports);
@@ -1,33 +1,5 @@
1
- import { Language, LND, QueryResponse } from "../common";
2
- import { PhrasedEventType } from "../events";
3
- export interface SearchbarPhrases {
4
- category_labels: {
5
- events: string;
6
- users: string;
7
- tags: string;
8
- };
9
- searchbars: {
10
- main_label: string;
11
- recent_searches: string;
12
- events: {
13
- name: LND;
14
- type: LND;
15
- language: LND;
16
- };
17
- users: {
18
- placeholder: string;
19
- label: string;
20
- };
21
- tags: {
22
- placeholder: string;
23
- label: string;
24
- };
25
- };
26
- btn_label: string;
27
- title: string;
28
- languages: Language[];
29
- event_type: PhrasedEventType[];
30
- }
1
+ import { SearchbarPhrases } from "@jealous-robot-dev/shared-phrases";
2
+ import { QueryResponse } from "../common";
31
3
  export interface SearchUser {
32
4
  username: string;
33
5
  firstname: string;
@@ -1,44 +1,4 @@
1
- import { LND } from '../common';
2
- import { EventTypes } from '../events';
3
- export declare enum PerformancePayoutStatus {
4
- PAID = "PAID",
5
- FAILED = "FAILED",
6
- CREATED = "CREATED",
7
- PAY_LATER = "PAY_LATER"
8
- }
9
- export interface PerformancePayoutsPhrases {
10
- title: string;
11
- payouts_received: string;
12
- goldbadge: {
13
- has: string;
14
- no: string;
15
- };
16
- service_earnings: string;
17
- payouts_issued: string;
18
- total_income: string;
19
- description: string;
20
- last_update: string;
21
- no_events_yet: LND;
22
- no_payouts: LND;
23
- form: {
24
- seances: string;
25
- details: string;
26
- ok: string;
27
- cancel: string;
28
- payout_details: {
29
- statuses: {
30
- title: string;
31
- description: string;
32
- id: PerformancePayoutStatus;
33
- }[];
34
- percent: string;
35
- customers: string;
36
- host_income: string;
37
- price_edited: string;
38
- volume_generated: string;
39
- };
40
- };
41
- }
1
+ import { EventTypes, PerformancePayoutStatus } from '@jealous-robot-dev/drophr-common';
42
2
  export interface HostPayoutSeance {
43
3
  sid: string;
44
4
  percent: number;
@@ -1,10 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PerformancePayoutStatus = void 0;
4
- var PerformancePayoutStatus;
5
- (function (PerformancePayoutStatus) {
6
- PerformancePayoutStatus["PAID"] = "PAID";
7
- PerformancePayoutStatus["FAILED"] = "FAILED";
8
- PerformancePayoutStatus["CREATED"] = "CREATED";
9
- PerformancePayoutStatus["PAY_LATER"] = "PAY_LATER";
10
- })(PerformancePayoutStatus = exports.PerformancePayoutStatus || (exports.PerformancePayoutStatus = {}));
@@ -4,5 +4,4 @@ export * from './payment-history';
4
4
  export * from './user-visitors';
5
5
  export * from './host-payouts';
6
6
  export * from './user-reviews';
7
- export * from './user-booking';
8
7
  export * from './schedule';
@@ -16,5 +16,4 @@ __exportStar(require("./payment-history"), exports);
16
16
  __exportStar(require("./user-visitors"), exports);
17
17
  __exportStar(require("./host-payouts"), exports);
18
18
  __exportStar(require("./user-reviews"), exports);
19
- __exportStar(require("./user-booking"), exports);
20
19
  __exportStar(require("./schedule"), exports);
@@ -1,48 +1,4 @@
1
- import { LND } from '../common';
2
- export declare enum PaymentType {
3
- REFUND = "REFUND",
4
- PAYOUT = "PAYOUT",
5
- PAYOFF = "PAYOFF",
6
- PAYMENT = "PAYMENT"
7
- }
8
- export interface SendPDFForm {
9
- title: string;
10
- description: string;
11
- use_my_email: string;
12
- another_email: string;
13
- email_input: {
14
- label: string;
15
- warnings: {
16
- invalid: string;
17
- required: string;
18
- };
19
- };
20
- success: LND;
21
- email_me: string;
22
- }
23
- export interface PaymentHistoryPhrases {
24
- title: string;
25
- no_transactions: LND;
26
- visit_stripe_dashboard: string;
27
- common: {
28
- load_more: string;
29
- send_pdf: string;
30
- transaction_details: string;
31
- meanings: string;
32
- cancel: string;
33
- };
34
- fields: {
35
- transactions: {
36
- label: string;
37
- id: PaymentType;
38
- description: string;
39
- }[];
40
- currency: string;
41
- made_at: string;
42
- amount: string;
43
- type: string;
44
- };
45
- }
1
+ import { PaymentType } from '@jealous-robot-dev/drophr-common';
46
2
  export interface PaymentHistoryTransaction {
47
3
  id: string;
48
4
  amount: number;
@@ -1,10 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentType = void 0;
4
- var PaymentType;
5
- (function (PaymentType) {
6
- PaymentType["REFUND"] = "REFUND";
7
- PaymentType["PAYOUT"] = "PAYOUT";
8
- PaymentType["PAYOFF"] = "PAYOFF";
9
- PaymentType["PAYMENT"] = "PAYMENT";
10
- })(PaymentType = exports.PaymentType || (exports.PaymentType = {}));
@@ -17,27 +17,3 @@ export interface ScheduleEvent {
17
17
  is_cancellable: boolean;
18
18
  };
19
19
  }
20
- export interface UserSchedulePhrases {
21
- title: string;
22
- view_events: string;
23
- month: string;
24
- year: string;
25
- today: string;
26
- organiserBy: string;
27
- view_event: string;
28
- view_organiser: string;
29
- no_events_scheduled: string;
30
- you: string;
31
- cancel: string;
32
- coming_soon: string;
33
- booking_cancellation: string;
34
- seance_cancellation: {
35
- title: string;
36
- ok: string;
37
- description: string;
38
- };
39
- }
40
- export declare enum ScheduleDivision {
41
- YEAR = "year",
42
- MONTH = "month"
43
- }
@@ -1,8 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ScheduleDivision = void 0;
4
- var ScheduleDivision;
5
- (function (ScheduleDivision) {
6
- ScheduleDivision["YEAR"] = "year";
7
- ScheduleDivision["MONTH"] = "month";
8
- })(ScheduleDivision = exports.ScheduleDivision || (exports.ScheduleDivision = {}));
@@ -1,71 +1,6 @@
1
- import { QueryResponse, LND } from '../common';
2
- export declare enum NotificationCategory {
3
- CUSTOMER = "CUSTOMER",
4
- HOST = "HOST"
5
- }
6
- export declare enum NotificationTypes {
7
- SEANCE_RESCHEDULED = "SEANCE_RESCHEDULED",
8
- SEANCE_REMOVED_BY_HOST = "SEANCE_REMOVED_BY_HOST",
9
- NEW_SERVICE_REGISTRED = "NEW_SERVICE_REGISTRED",
10
- SERVICE_DELETION = "SERVICE_DELETION",
11
- NEW_CUSTOMER = "NEW_CUSTOMER",
12
- NO_CUSTOMERS = "NO_CUSTOMERS",
13
- MISSED_HOSTING = "MISSED_HOSTING",
14
- SEANCE_UTILIZED = "SEANCE_UTILIZED",
15
- REVIEW_RECEIVED = "REVIEW_RECEIVED",
16
- GOLD_BADGE_LOST = "GOLD_BADGE_LOST",
17
- REMOVED_CUSTOMER = "REMOVED_CUSTOMER",
18
- GOLD_BADGE_EARNED = "GOLD_BADGE_EARNED",
19
- BOOKING_CANCELLATION = "BOOKING_CANCELLATION",
20
- REFUNDED_CANCELLATION = "REFUNDED_CANCELLATION",
21
- PERSONAL_REFUND_OFFERED = "PERSONAL_REFUND_OFFERED",
22
- BOOKING_CANCELLED_BY_CUSTOMER = "CANCELLED_BY_CUSTOMER",
23
- BOOKING_CANCELLED_BY_HOST = "CANCELLED_BY_HOST",
24
- SUCCESSFULL_BOOKING = "SUCCESSFULL_BOOKING",
25
- UPDATES_FROM_HOST = "UPDATES_FROM_HOST",
26
- WELCOME_MEMBER = "WELCOME_MEMBER",
27
- CUSTOMER_SEANCE_REMINDER = "PRESCHEDULED_CUSTOMER_SEANCE_REMINDER",
28
- HOST_SEANCE_REMINDER = "PRESCHEDULED_HOST_SEANCE_REMINDER",
29
- ENABLE_PAYOUTS = "ENABLE_PAYOUTS",
30
- WELCOME_TO_COMMUNITY = "WELCOME_TO_COMMUNITY",
31
- CUSTOMER_HESISTANCY = "CUSTOMER_HESISTANCY",
32
- TAKEN_TIME_CHOSEN = "TAKEN_TIME_CHOSEN",
33
- COMPLETE_BOOKING_NOTIF = "COMPLETE_BOOKING_NOTIF",
34
- NEW_DEVICE = "NEW_DEVICE",
35
- PAYOUT_SENT = "PAYOUT_SENT",
36
- PAYOUT_MADE = "PAYOUT_MADE",
37
- PAYOFF_SENT = "PAYOFF_SENT",
38
- PAYOFF_MADE = "PAYOFF_MADE",
39
- PAYOUT_LATER = "PAYOUT_LATER",
40
- REFUND_FAILED = "REFUND_FAILED",
41
- PAYOUT_FAILED = "PAYOUT_FAILED",
42
- PAYOFF_FAILED = "PAYOFF_FAILED",
43
- PAYOFF_TRANSFER_FAILED = "PAYOFF_TRANSFER_FAILED",
44
- PAYOUT_TRANSFER_FAILED = "PAYOUT_TRANSFER_FAILED",
45
- STRIPE_DISCONNECTION = "STRIPE_DISCONNECTION",
46
- STRIPE_CONNECTION_SUCCESS = "STRIPE_CONNECTION_SUCCESS",
47
- STRIPE_CONNECTION_FAILURE = "STRIPE_CONNECTION_FAILURE"
48
- }
49
- export declare const CUSTOMER_NOTIFS: NotificationTypes[];
50
- export declare const HOST_NOTIFS: NotificationTypes[];
51
- export declare enum NotificationIcons {
52
- DISCONNECTION = "DISCONNECTION",
53
- CANCELLATION = "CANCELLATION",
54
- NO_CUSTOMERS = "NO_CUSTOMERS",
55
- MINUS_USER = "MINUS_USER",
56
- CONNECTION = "CONNECTION",
57
- GOLD_BADGE = "GOLD_BADGE",
58
- CALENDAR = "CALENDAR",
59
- CONGRATS = "CONGRATS",
60
- SECURITY = "SECURITY",
61
- MAGICIAN = "MAGICIAN",
62
- NEW_USER = "NEW_USER",
63
- PADLOCK = "PADLOCK",
64
- BOOKING = "BOOKING",
65
- PAYMENT = "PAYMENT",
66
- REVIEW = "REVIEW",
67
- POLICY = "POLICY"
68
- }
1
+ import { NotificationTypes, NotificationCategory } from '@jealous-robot-dev/drophr-common';
2
+ import { UserNotificationsPhrases } from '@jealous-robot-dev/shared-phrases';
3
+ import { QueryResponse } from '../common';
69
4
  export interface WebNotification {
70
5
  id: string;
71
6
  type: NotificationTypes;
@@ -85,21 +20,5 @@ export interface UserNotificationsData {
85
20
  customer: Notifications;
86
21
  };
87
22
  }
88
- export interface NotificationTemplate {
89
- sentence: string;
90
- id: NotificationTypes;
91
- icon: NotificationIcons;
92
- no_meta_sentence?: string;
93
- }
94
- export interface UserNotificationsPhrases {
95
- title: string;
96
- categories: {
97
- customer: string;
98
- host: string;
99
- };
100
- load_more: string;
101
- no_notifications: LND;
102
- templates: NotificationTemplate[];
103
- }
104
23
  export interface UserNotificationsResponse extends QueryResponse<UserNotificationsData, UserNotificationsPhrases> {
105
24
  }