@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 +0 -1
- package/build/index.js +0 -1
- package/build/services/events/index.d.ts +0 -1
- package/build/services/events/index.js +0 -1
- package/build/services/main-data.d.ts +0 -4
- package/build/services/messenger/user-inbox.d.ts +0 -4
- package/build/services/payments/cancellation.d.ts +0 -2
- package/build/services/stats/creator-payouts.d.ts +1 -0
- package/build/services/stats/user-notifications.d.ts +0 -4
- package/build/services/user/profile-basic-data.d.ts +0 -4
- package/build/services/user-settings/notifications.d.ts +0 -4
- package/build/services/user-settings/payments.d.ts +0 -4
- package/build/services/user-settings/personal-info.d.ts +0 -4
- package/build/services/user-settings/privacy.d.ts +0 -4
- package/build/services/user-settings/security.d.ts +0 -16
- package/package.json +2 -3
- package/build/services/events/tag-search.d.ts +0 -13
- package/build/services/events/tag-search.js +0 -2
- package/build/services/static-components/index.d.ts +0 -1
- package/build/services/static-components/index.js +0 -13
- package/build/services/static-components/searchbar.d.ts +0 -16
- package/build/services/static-components/searchbar.js +0 -2
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);
|
@@ -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;
|
@@ -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
|
+
"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 +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
|
-
}
|