@jealous-robot-dev/shared-types-responses 1.32.17 → 1.33.0
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.
- package/build/services/main-data.d.ts +1 -1
- package/build/services/payments/cancellation.d.ts +5 -0
- package/build/services/sync.d.ts +39 -0
- package/build/services/sync.js +44 -0
- package/build/services/user-settings/deactivate-account.d.ts +13 -0
- package/build/services/user-settings/deactivate-account.js +2 -0
- package/build/services/user-settings/index.d.ts +1 -0
- package/build/services/user-settings/index.js +1 -0
- package/package.json +2 -3
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AuthenticationProviders, Currency, Locale, UITHEME, TextDirection } from '@jealous-robot-dev/drophr-common';
|
2
|
-
import { DropWebEnv, Pages } from '@jealous-robot-dev/shared-ui-lib';
|
3
2
|
import { MainPhrases } from '@jealous-robot-dev/shared-phrases';
|
3
|
+
import { DropWebEnv, Pages } from './sync';
|
4
4
|
import { QueryResponse } from './common';
|
5
5
|
import { UrgentEvent } from '..';
|
6
6
|
export interface MainUserData {
|
@@ -0,0 +1,39 @@
|
|
1
|
+
export declare enum Pages {
|
2
|
+
NOTIFICATIONS = "notifications",
|
3
|
+
MESSENGER = "messenger",
|
4
|
+
PROFILE = "profile",
|
5
|
+
EVENT_MANAGER = "event-manager",
|
6
|
+
SCHEDULE = "schedule",
|
7
|
+
HOST = "host",
|
8
|
+
EXPLORER = "explorer",
|
9
|
+
USER_SETTINGS = "user-settings",
|
10
|
+
PERFORMANCE = "performance",
|
11
|
+
PAYMENT_HISTORY = "payment-history",
|
12
|
+
COLLECTIONS = "collections",
|
13
|
+
INVITE = "invite",
|
14
|
+
IMPRESSIONS = "impressions",
|
15
|
+
HOST_AN_EVENT = "host-an-event",
|
16
|
+
BECOME_A_HOST = "become-a-host",
|
17
|
+
VISITING_EVENTS = "visiting-events",
|
18
|
+
LOGIN_OR_SIGNUP = "login-or-signup",
|
19
|
+
FORGOT_PASSWORD = "forgot-password",
|
20
|
+
RESET_PASSWORD = "reset-password",
|
21
|
+
VIEW_EVENT = "view-event",
|
22
|
+
CHECKOUT = "checkout",
|
23
|
+
SEARCH_TAGS = "search-tags",
|
24
|
+
SEARCH_USERS = "search-users",
|
25
|
+
SEARCH_EVENTS = "search-events",
|
26
|
+
VERIFY_DEVICE = "verify-device",
|
27
|
+
PERSONAL_REFUND = "personal-refund",
|
28
|
+
MAIL_CANCELLATION = "mail-cancellation",
|
29
|
+
BOOKING_CANCLLEATION = "booking-cancellation",
|
30
|
+
BOOKING_RESULT = "booking-result",
|
31
|
+
CUSTOMER_JOIN = "customer-join",
|
32
|
+
HOST_JOIN = "host-join",
|
33
|
+
HELP = "help"
|
34
|
+
}
|
35
|
+
export declare enum DropWebEnv {
|
36
|
+
DEVELOPMENT = "development",
|
37
|
+
CI = "ci",
|
38
|
+
PRODUCTION = "production"
|
39
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DropWebEnv = exports.Pages = void 0;
|
4
|
+
var Pages;
|
5
|
+
(function (Pages) {
|
6
|
+
Pages["NOTIFICATIONS"] = "notifications";
|
7
|
+
Pages["MESSENGER"] = "messenger";
|
8
|
+
Pages["PROFILE"] = "profile";
|
9
|
+
Pages["EVENT_MANAGER"] = "event-manager";
|
10
|
+
Pages["SCHEDULE"] = "schedule";
|
11
|
+
Pages["HOST"] = "host";
|
12
|
+
Pages["EXPLORER"] = "explorer";
|
13
|
+
Pages["USER_SETTINGS"] = "user-settings";
|
14
|
+
Pages["PERFORMANCE"] = "performance";
|
15
|
+
Pages["PAYMENT_HISTORY"] = "payment-history";
|
16
|
+
Pages["COLLECTIONS"] = "collections";
|
17
|
+
Pages["INVITE"] = "invite";
|
18
|
+
Pages["IMPRESSIONS"] = "impressions";
|
19
|
+
Pages["HOST_AN_EVENT"] = "host-an-event";
|
20
|
+
Pages["BECOME_A_HOST"] = "become-a-host";
|
21
|
+
Pages["VISITING_EVENTS"] = "visiting-events";
|
22
|
+
Pages["LOGIN_OR_SIGNUP"] = "login-or-signup";
|
23
|
+
Pages["FORGOT_PASSWORD"] = "forgot-password";
|
24
|
+
Pages["RESET_PASSWORD"] = "reset-password";
|
25
|
+
Pages["VIEW_EVENT"] = "view-event";
|
26
|
+
Pages["CHECKOUT"] = "checkout";
|
27
|
+
Pages["SEARCH_TAGS"] = "search-tags";
|
28
|
+
Pages["SEARCH_USERS"] = "search-users";
|
29
|
+
Pages["SEARCH_EVENTS"] = "search-events";
|
30
|
+
Pages["VERIFY_DEVICE"] = "verify-device";
|
31
|
+
Pages["PERSONAL_REFUND"] = "personal-refund";
|
32
|
+
Pages["MAIL_CANCELLATION"] = "mail-cancellation";
|
33
|
+
Pages["BOOKING_CANCLLEATION"] = "booking-cancellation";
|
34
|
+
Pages["BOOKING_RESULT"] = "booking-result";
|
35
|
+
Pages["CUSTOMER_JOIN"] = "customer-join";
|
36
|
+
Pages["HOST_JOIN"] = "host-join";
|
37
|
+
Pages["HELP"] = "help";
|
38
|
+
})(Pages = exports.Pages || (exports.Pages = {}));
|
39
|
+
var DropWebEnv;
|
40
|
+
(function (DropWebEnv) {
|
41
|
+
DropWebEnv["DEVELOPMENT"] = "development";
|
42
|
+
DropWebEnv["CI"] = "ci";
|
43
|
+
DropWebEnv["PRODUCTION"] = "production";
|
44
|
+
})(DropWebEnv = exports.DropWebEnv || (exports.DropWebEnv = {}));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { DeactivationBlockReason } from '@jealous-robot-dev/drophr-common';
|
2
|
+
export interface DeactivationRequestResponse {
|
3
|
+
can_deactivate: boolean;
|
4
|
+
hosting?: {
|
5
|
+
cancellable: number;
|
6
|
+
non_cancellable: number;
|
7
|
+
};
|
8
|
+
booking?: {
|
9
|
+
cancellable: number;
|
10
|
+
non_cancellable: number;
|
11
|
+
};
|
12
|
+
reason?: DeactivationBlockReason;
|
13
|
+
}
|
@@ -12,6 +12,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
13
13
|
__exportStar(require("./user-notifications-settings"), exports);
|
14
14
|
__exportStar(require("./user-personal-info"), exports);
|
15
|
+
__exportStar(require("./deactivate-account"), exports);
|
15
16
|
__exportStar(require("./event-settings"), exports);
|
16
17
|
__exportStar(require("./user-security"), exports);
|
17
18
|
__exportStar(require("./user-payments"), exports);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jealous-robot-dev/shared-types-responses",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.33.0",
|
4
4
|
"description": "",
|
5
5
|
"main": "build/index.js",
|
6
6
|
"types": "build/index.d.ts",
|
@@ -25,7 +25,6 @@
|
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
27
|
"@jealous-robot-dev/drophr-common": "^1.0.8",
|
28
|
-
"@jealous-robot-dev/shared-phrases": "^1.0.1"
|
29
|
-
"@jealous-robot-dev/shared-ui-lib": "^1.2.0"
|
28
|
+
"@jealous-robot-dev/shared-phrases": "^1.0.1"
|
30
29
|
}
|
31
30
|
}
|