@jealous-robot-dev/shared-types-responses 1.58.3 → 1.58.4

Sign up to get free protection for your applications and to get access to all the features.
package/build/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  export * from './services/permissions';
2
2
  export * from './services/errors';
3
3
  export * from './services/common';
4
- export * from './services/static-components';
5
4
  export * from './services/user-settings';
6
5
  export * from './services/live-studio';
7
6
  export * from './services/messenger';
package/build/index.js CHANGED
@@ -13,7 +13,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./services/permissions"), exports);
14
14
  __exportStar(require("./services/errors"), exports);
15
15
  __exportStar(require("./services/common"), exports);
16
- __exportStar(require("./services/static-components"), exports);
17
16
  __exportStar(require("./services/user-settings"), exports);
18
17
  __exportStar(require("./services/live-studio"), exports);
19
18
  __exportStar(require("./services/messenger"), exports);
@@ -5,7 +5,6 @@ export * from './events';
5
5
  export * from './creator';
6
6
  export * from './customer';
7
7
  export * from './shorcuts';
8
- export * from './tag-search';
9
8
  export * from './seance-join';
10
9
  export * from './urgent-event';
11
10
  export * from './event-search';
@@ -17,7 +17,6 @@ __exportStar(require("./events"), exports);
17
17
  __exportStar(require("./creator"), exports);
18
18
  __exportStar(require("./customer"), exports);
19
19
  __exportStar(require("./shorcuts"), exports);
20
- __exportStar(require("./tag-search"), exports);
21
20
  __exportStar(require("./seance-join"), exports);
22
21
  __exportStar(require("./urgent-event"), exports);
23
22
  __exportStar(require("./event-search"), exports);
@@ -1,6 +1,4 @@
1
1
  import { UITHEME, TextDirection, DropHRUserAgents, AuthenticationProviders, Currency, Locale, ENV, CampaignTools, PaymentRegion, TaxBehaviour } from '@jealous-robot-dev/drophr-common';
2
- import { MainPhrases } from '@jealous-robot-dev/shared-phrases';
3
- import { QueryResponse } from './common';
4
2
  import { UrgentEvent } from '..';
5
3
  export interface MainUserData {
6
4
  UID: string;
@@ -60,5 +58,3 @@ export interface CommonData {
60
58
  paymentRegion: PaymentRegion;
61
59
  };
62
60
  }
63
- export interface MainDataResponse extends QueryResponse<CommonData, MainPhrases> {
64
- }
@@ -1,6 +1,4 @@
1
- import { UserInboxPhrases } from '@jealous-robot-dev/shared-phrases';
2
1
  import { ShortConversation } from './conversations';
3
- import { QueryResponse } from '../common';
4
2
  export interface StartConversation {
5
3
  UID: string;
6
4
  ppu: string;
@@ -11,5 +9,3 @@ export interface UserInboxData {
11
9
  conversations: ShortConversation[];
12
10
  conversation_with?: StartConversation;
13
11
  }
14
- export interface UserInboxResponse extends QueryResponse<UserInboxData, UserInboxPhrases> {
15
- }
@@ -23,8 +23,6 @@ export interface HostBookingCancellationData {
23
23
  };
24
24
  currency: string;
25
25
  income_loss: number;
26
- has_gold_badge: boolean;
27
- will_lose_gold_badge: boolean;
28
26
  cancellations_to_be_made: number;
29
27
  host_cancellation_rate_change: number;
30
28
  event_cancellation_rate_change: number;
@@ -5,6 +5,7 @@ export interface HostPayoutSeance {
5
5
  currency: string;
6
6
  duration: number;
7
7
  earnings: number;
8
+ flat_fee: number;
8
9
  starts_at: number;
9
10
  customers: number;
10
11
  availability: number;
@@ -1,6 +1,4 @@
1
1
  import { NotificationTypes, NotificationCategory, NotifMetadata, UserNotificationTopicID } from '@jealous-robot-dev/drophr-common';
2
- import { UserNotificationsPhrases } from '@jealous-robot-dev/shared-phrases';
3
- import { QueryResponse } from '../common';
4
2
  export interface WebNotification {
5
3
  id: string;
6
4
  key: string;
@@ -21,5 +19,3 @@ export interface UserNotificationsData {
21
19
  [key in NotificationCategory]: Notifications;
22
20
  };
23
21
  }
24
- export interface UserNotificationsResponse extends QueryResponse<UserNotificationsData, UserNotificationsPhrases> {
25
- }
@@ -1,8 +1,6 @@
1
1
  import { ProfileInfoFiels } from '@jealous-robot-dev/drophr-common';
2
- import { ProfilePhrases } from '@jealous-robot-dev/shared-phrases';
3
2
  import { ConciseEventData, EventReview } from '../events/events';
4
3
  import { PersonalInfoBirthday } from '../user-settings';
5
- import { QueryResponse } from '../common';
6
4
  export interface CountableItems<ItemType> {
7
5
  count: number;
8
6
  data: ItemType[];
@@ -50,5 +48,3 @@ export declare enum ProfileShowResponses {
50
48
  BAD_REQUEST = "BAD_REQUEST",
51
49
  PLEASE_LOGIN = "PLEASE_LOGIN"
52
50
  }
53
- export interface UserProfileResponse extends QueryResponse<UserProfileData, ProfilePhrases> {
54
- }
@@ -1,6 +1,4 @@
1
1
  import { Channels, UserNotificationTopicID, UserNotificationCategories, UserCategory } from '@jealous-robot-dev/drophr-common';
2
- import { NotificationSettingsPhrases } from '@jealous-robot-dev/shared-phrases';
3
- import { QueryResponse } from '../common';
4
2
  export interface UserNotificationsDataPreferences {
5
3
  channel: Channels;
6
4
  enabled: boolean;
@@ -27,5 +25,3 @@ export interface UserNotificationData {
27
25
  };
28
26
  };
29
27
  }
30
- export interface UserNotificationResponse extends QueryResponse<UserNotificationData, NotificationSettingsPhrases> {
31
- }
@@ -1,6 +1,4 @@
1
- import { UserPaymentSettingsPhrases } from '@jealous-robot-dev/shared-phrases';
2
1
  import { CAVStatus, PaymentRegion } from '@jealous-robot-dev/drophr-common';
3
- import { QueryResponse } from '../common';
4
2
  export interface UserPaymentSettingsData {
5
3
  payments_region: PaymentRegion;
6
4
  is_setup_payouts?: boolean;
@@ -8,5 +6,3 @@ export interface UserPaymentSettingsData {
8
6
  is_eligible?: boolean;
9
7
  last_update: number;
10
8
  }
11
- export interface UserPaymentSettingsResponse extends QueryResponse<UserPaymentSettingsData, UserPaymentSettingsPhrases> {
12
- }
@@ -1,6 +1,4 @@
1
- import { UserPersonalInfoPhrases } from '@jealous-robot-dev/shared-phrases';
2
1
  import { PhoneNumber, ZipCode } from '@jealous-robot-dev/drophr-common';
3
- import { QueryResponse } from '../common';
4
2
  export interface PersonalInfoBirthday {
5
3
  year: string;
6
4
  month: string;
@@ -24,5 +22,3 @@ export interface UserPersonalInfo {
24
22
  zip: ZipCode | null;
25
23
  birthday: PersonalInfoBirthday | null;
26
24
  }
27
- export interface UserPersonalInfoResponse extends QueryResponse<UserPersonalInfo, UserPersonalInfoPhrases> {
28
- }
@@ -1,6 +1,4 @@
1
1
  import { UserPrivacyCheckboxes } from '@jealous-robot-dev/drophr-common';
2
- import { UserPrivacyPhrases } from '@jealous-robot-dev/shared-phrases';
3
- import { QueryResponse } from '../common';
4
2
  export interface UserPrivacy {
5
3
  channels: {
6
4
  id: UserPrivacyCheckboxes;
@@ -8,5 +6,3 @@ export interface UserPrivacy {
8
6
  value: boolean;
9
7
  }[];
10
8
  }
11
- export interface UserPrivacyResponse extends QueryResponse<UserPrivacy, UserPrivacyPhrases> {
12
- }
@@ -1,6 +1,4 @@
1
1
  import { AuthenticationProviders, UserDevice as Dev, SecuritySettingsCheckboxChannels } from '@jealous-robot-dev/drophr-common';
2
- import { UserSecurityPhrases } from '@jealous-robot-dev/shared-phrases';
3
- import { QueryResponse } from '../common';
4
2
  export interface UserDevice {
5
3
  deviceId: string;
6
4
  platform: {
@@ -20,19 +18,5 @@ export interface UserSecurity {
20
18
  [key in SecuritySettingsCheckboxChannels]: boolean;
21
19
  };
22
20
  devices: UserDevice[];
23
- blacklist: {
24
- mark: number;
25
- total: number;
26
- has_more: boolean;
27
- entries: BlockedUser[];
28
- };
29
21
  authInstruments: AuthenticationProviders[];
30
22
  }
31
- export interface BlockedUser {
32
- UID: string;
33
- firstname: string;
34
- lastname: string;
35
- ppu: string;
36
- }
37
- export interface UserSecurityResponse extends QueryResponse<UserSecurity, UserSecurityPhrases> {
38
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.58.3",
3
+ "version": "1.58.4",
4
4
  "description": "Meetle common types of API responses",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -24,7 +24,6 @@
24
24
  "typescript": "^3.8.3"
25
25
  },
26
26
  "dependencies": {
27
- "@jealous-robot-dev/drophr-common": "^1.16.1",
28
- "@jealous-robot-dev/shared-phrases": "^1.15.4"
27
+ "@jealous-robot-dev/drophr-common": "^1.16.1"
29
28
  }
30
29
  }
@@ -1,13 +0,0 @@
1
- import { EventInSearch } from './event-search';
2
- export interface TagExplorationStats {
3
- times_viewed: number;
4
- mentioned: number;
5
- }
6
- export interface TagSearchResponse {
7
- entries: EventInSearch[];
8
- nnm: boolean;
9
- page: number;
10
- }
11
- export interface NoEventsFound extends TagSearchResponse {
12
- similar_tags: string[];
13
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from './searchbar';
@@ -1,13 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./searchbar"), exports);
@@ -1,16 +0,0 @@
1
- import { SearchbarPhrases } from "@jealous-robot-dev/shared-phrases";
2
- import { QueryResponse } from "../common";
3
- export interface SearchUser {
4
- firstname: string;
5
- lastname: string;
6
- ppu: string;
7
- UID: string;
8
- }
9
- export interface SearchbarData {
10
- recent_searches: {
11
- users: SearchUser[];
12
- tags: string[];
13
- };
14
- }
15
- export interface SearchbarResponse extends QueryResponse<SearchbarData, SearchbarPhrases> {
16
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });