hububb-saas-shared 1.2.48 → 1.2.50
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/dist/schemas/api-key/index.d.ts +81 -0
- package/dist/schemas/api-key/index.js +33 -0
- package/dist/schemas/availability-settings/index.d.ts +2 -2
- package/dist/schemas/channex/booking.d.ts +2 -2
- package/dist/schemas/channex/thread.d.ts +2 -2
- package/dist/schemas/external-sync-request/index.d.ts +32 -0
- package/dist/schemas/external-sync-request/index.js +15 -0
- package/dist/schemas/guest-verification/index.d.ts +56 -0
- package/dist/schemas/guest-verification/index.js +24 -0
- package/dist/schemas/index.d.ts +8 -0
- package/dist/schemas/index.js +8 -0
- package/dist/schemas/invoice/index.d.ts +2 -2
- package/dist/schemas/klevio/index.d.ts +2 -2
- package/dist/schemas/listing-expectation/index.d.ts +17 -0
- package/dist/schemas/listing-expectation/index.js +11 -0
- package/dist/schemas/notification/index.d.ts +73 -0
- package/dist/schemas/notification/index.js +30 -0
- package/dist/schemas/property/index.d.ts +14 -8
- package/dist/schemas/property/index.js +2 -0
- package/dist/schemas/property-connection-request/index.d.ts +2 -2
- package/dist/schemas/property-guide/index.d.ts +32 -0
- package/dist/schemas/property-guide/index.js +20 -0
- package/dist/schemas/property-room/index.d.ts +2 -2
- package/dist/schemas/property-safety-details/index.d.ts +2 -2
- package/dist/schemas/push-token/index.d.ts +35 -0
- package/dist/schemas/push-token/index.js +17 -0
- package/dist/schemas/reservation/index.d.ts +3 -0
- package/dist/schemas/reservation/index.js +1 -0
- package/dist/schemas/reservation-access-log/index.d.ts +53 -0
- package/dist/schemas/reservation-access-log/index.js +22 -0
- package/dist/schemas/reservation-guest-invite/index.d.ts +35 -0
- package/dist/schemas/reservation-guest-invite/index.js +17 -0
- package/dist/schemas/seam/index.d.ts +4 -4
- package/dist/schemas/service-availability/index.d.ts +25 -0
- package/dist/schemas/service-availability/index.js +13 -0
- package/dist/schemas/service-provider/index.d.ts +2 -2
- package/dist/schemas/service-worker-payout/index.d.ts +88 -0
- package/dist/schemas/service-worker-payout/index.js +36 -0
- package/dist/schemas/task/index.d.ts +34 -4
- package/dist/schemas/task/index.js +11 -1
- package/dist/schemas/task-checklist-item/index.d.ts +2 -2
- package/dist/schemas/task-checklist-space/index.d.ts +2 -2
- package/dist/schemas/task-expense-fact/index.d.ts +37 -0
- package/dist/schemas/task-expense-fact/index.js +18 -0
- package/dist/schemas/task-photography-space/index.d.ts +2 -2
- package/dist/schemas/task-thread/index.d.ts +6 -0
- package/dist/schemas/thread/index.d.ts +81 -6
- package/dist/schemas/thread/index.js +2 -1
- package/dist/schemas/user/index.d.ts +9 -0
- package/dist/schemas/user/index.js +3 -0
- package/dist/schemas/webhook/index.d.ts +104 -0
- package/dist/schemas/webhook/index.js +41 -0
- package/dist/types/api-key/index.d.ts +10 -0
- package/dist/types/booking-settings/index.d.ts +2 -0
- package/dist/types/enums/index.d.ts +228 -0
- package/dist/types/enums/index.js +263 -1
- package/dist/types/external-sync-request/index.d.ts +4 -0
- package/dist/types/external-sync-request/index.js +2 -0
- package/dist/types/guest-verification/index.d.ts +3 -18
- package/dist/types/index.d.ts +7 -0
- package/dist/types/index.js +7 -0
- package/dist/types/listing-expectation/index.d.ts +6 -0
- package/dist/types/listing-expectation/index.js +2 -0
- package/dist/types/notification/index.d.ts +15 -0
- package/dist/types/notification/index.js +2 -0
- package/dist/types/property/index.d.ts +4 -0
- package/dist/types/property-guide/index.d.ts +6 -0
- package/dist/types/property-guide/index.js +2 -0
- package/dist/types/push-token/index.d.ts +6 -0
- package/dist/types/push-token/index.js +2 -0
- package/dist/types/reservation/index.d.ts +8 -0
- package/dist/types/reservation-access-log/index.d.ts +64 -0
- package/dist/types/reservation-access-log/index.js +2 -0
- package/dist/types/reservation-guest-invite/index.d.ts +9 -0
- package/dist/types/reservation-guest-invite/index.js +2 -0
- package/dist/types/service-availability/index.d.ts +6 -0
- package/dist/types/service-availability/index.js +2 -0
- package/dist/types/service-worker-payout/index.d.ts +17 -0
- package/dist/types/service-worker-payout/index.js +2 -0
- package/dist/types/task/index.d.ts +7 -0
- package/dist/types/task-expense-fact/index.d.ts +12 -0
- package/dist/types/task-expense-fact/index.js +2 -0
- package/dist/types/user/index.d.ts +10 -0
- package/dist/types/webhook/index.d.ts +15 -0
- package/dist/types/webhook/index.js +2 -0
- package/package.json +1 -1
- package/dist/schemas/enums/index.d.ts +0 -45
- package/dist/schemas/enums/index.js +0 -56
- package/dist/schemas/service-property/index.d.ts +0 -19
- package/dist/schemas/service-property/index.js +0 -11
- package/dist/types/service-property/index.d.ts +0 -8
- /package/dist/types/{service-property → api-key}/index.js +0 -0
|
@@ -11,6 +11,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
11
11
|
photoUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
12
12
|
isOnboardingCompleted: import("zod").ZodBoolean;
|
|
13
13
|
isOnboardingPaused: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
14
|
+
notificationsPaused: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
14
15
|
hadOnboardingCall: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
15
16
|
userRoleId: import("zod").ZodNumber;
|
|
16
17
|
stripeCustomerId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -29,6 +30,8 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
29
30
|
hasActiveBookingAccount: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
30
31
|
hasPendingPaymentAction: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
31
32
|
isKlevioAvailable: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
33
|
+
stripeTrialSubscriptionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
34
|
+
publicHostSlug: import("zod").ZodOptional<import("zod").ZodString>;
|
|
32
35
|
}, "strip", import("zod").ZodTypeAny, {
|
|
33
36
|
name: string;
|
|
34
37
|
id: string;
|
|
@@ -46,6 +49,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
46
49
|
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-manager" | "property-manager-head" | "account-manager" | "account-manager-head" | "developer" | "finance" | "finance-head" | "marketing" | "marketing-head" | "product-head" | undefined;
|
|
47
50
|
photoUrl?: string | undefined;
|
|
48
51
|
isOnboardingPaused?: boolean | undefined;
|
|
52
|
+
notificationsPaused?: boolean | undefined;
|
|
49
53
|
hadOnboardingCall?: boolean | undefined;
|
|
50
54
|
stripeCustomerId?: string | undefined;
|
|
51
55
|
hasFullAccess?: boolean | undefined;
|
|
@@ -60,6 +64,8 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
60
64
|
hasActiveBookingAccount?: boolean | undefined;
|
|
61
65
|
hasPendingPaymentAction?: boolean | undefined;
|
|
62
66
|
isKlevioAvailable?: boolean | undefined;
|
|
67
|
+
stripeTrialSubscriptionId?: string | undefined;
|
|
68
|
+
publicHostSlug?: string | undefined;
|
|
63
69
|
}, {
|
|
64
70
|
name: string;
|
|
65
71
|
id: string;
|
|
@@ -77,6 +83,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
77
83
|
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-manager" | "property-manager-head" | "account-manager" | "account-manager-head" | "developer" | "finance" | "finance-head" | "marketing" | "marketing-head" | "product-head" | undefined;
|
|
78
84
|
photoUrl?: string | undefined;
|
|
79
85
|
isOnboardingPaused?: boolean | undefined;
|
|
86
|
+
notificationsPaused?: boolean | undefined;
|
|
80
87
|
hadOnboardingCall?: boolean | undefined;
|
|
81
88
|
stripeCustomerId?: string | undefined;
|
|
82
89
|
hasFullAccess?: boolean | undefined;
|
|
@@ -91,4 +98,6 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
91
98
|
hasActiveBookingAccount?: boolean | undefined;
|
|
92
99
|
hasPendingPaymentAction?: boolean | undefined;
|
|
93
100
|
isKlevioAvailable?: boolean | undefined;
|
|
101
|
+
stripeTrialSubscriptionId?: string | undefined;
|
|
102
|
+
publicHostSlug?: string | undefined;
|
|
94
103
|
}>;
|
|
@@ -15,6 +15,7 @@ exports.userSchema = (0, zod_1.object)({
|
|
|
15
15
|
photoUrl: (0, zod_1.string)().optional(),
|
|
16
16
|
isOnboardingCompleted: (0, zod_1.boolean)(),
|
|
17
17
|
isOnboardingPaused: (0, zod_1.boolean)().optional(),
|
|
18
|
+
notificationsPaused: (0, zod_1.boolean)().optional(),
|
|
18
19
|
hadOnboardingCall: (0, zod_1.boolean)().optional(),
|
|
19
20
|
userRoleId: (0, zod_1.number)(),
|
|
20
21
|
stripeCustomerId: (0, zod_1.string)().optional(),
|
|
@@ -54,4 +55,6 @@ exports.userSchema = (0, zod_1.object)({
|
|
|
54
55
|
hasActiveBookingAccount: (0, zod_1.boolean)().optional(),
|
|
55
56
|
hasPendingPaymentAction: (0, zod_1.boolean)().optional(),
|
|
56
57
|
isKlevioAvailable: (0, zod_1.boolean)().optional(),
|
|
58
|
+
stripeTrialSubscriptionId: (0, zod_1.string)().optional(),
|
|
59
|
+
publicHostSlug: (0, zod_1.string)().optional(),
|
|
57
60
|
});
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { WebhookDeliveryStatus, WebhookEndpointStatus } from "../../types/enums";
|
|
3
|
+
export declare const webhookEndpointSchema: z.ZodObject<{
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
userId: z.ZodString;
|
|
6
|
+
url: z.ZodString;
|
|
7
|
+
secret: z.ZodString;
|
|
8
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
events: z.ZodArray<z.ZodString, "many">;
|
|
10
|
+
status: z.ZodNativeEnum<typeof WebhookEndpointStatus>;
|
|
11
|
+
apiKeyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
createdAt: z.ZodDate;
|
|
13
|
+
updatedAt: z.ZodDate;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
id: string;
|
|
16
|
+
url: string;
|
|
17
|
+
secret: string;
|
|
18
|
+
status: WebhookEndpointStatus;
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
updatedAt: Date;
|
|
21
|
+
userId: string;
|
|
22
|
+
events: string[];
|
|
23
|
+
description?: string | null | undefined;
|
|
24
|
+
apiKeyId?: string | null | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
id: string;
|
|
27
|
+
url: string;
|
|
28
|
+
secret: string;
|
|
29
|
+
status: WebhookEndpointStatus;
|
|
30
|
+
createdAt: Date;
|
|
31
|
+
updatedAt: Date;
|
|
32
|
+
userId: string;
|
|
33
|
+
events: string[];
|
|
34
|
+
description?: string | null | undefined;
|
|
35
|
+
apiKeyId?: string | null | undefined;
|
|
36
|
+
}>;
|
|
37
|
+
export declare const webhookEventSchema: z.ZodObject<{
|
|
38
|
+
id: z.ZodString;
|
|
39
|
+
userId: z.ZodString;
|
|
40
|
+
type: z.ZodString;
|
|
41
|
+
payload: z.ZodUnknown;
|
|
42
|
+
propertyId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
+
roomId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
createdAt: z.ZodDate;
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
|
+
type: string;
|
|
48
|
+
id: string;
|
|
49
|
+
createdAt: Date;
|
|
50
|
+
userId: string;
|
|
51
|
+
source?: string | null | undefined;
|
|
52
|
+
propertyId?: number | null | undefined;
|
|
53
|
+
roomId?: number | null | undefined;
|
|
54
|
+
payload?: unknown;
|
|
55
|
+
}, {
|
|
56
|
+
type: string;
|
|
57
|
+
id: string;
|
|
58
|
+
createdAt: Date;
|
|
59
|
+
userId: string;
|
|
60
|
+
source?: string | null | undefined;
|
|
61
|
+
propertyId?: number | null | undefined;
|
|
62
|
+
roomId?: number | null | undefined;
|
|
63
|
+
payload?: unknown;
|
|
64
|
+
}>;
|
|
65
|
+
export declare const webhookDeliverySchema: z.ZodObject<{
|
|
66
|
+
id: z.ZodString;
|
|
67
|
+
endpointId: z.ZodString;
|
|
68
|
+
eventId: z.ZodString;
|
|
69
|
+
status: z.ZodNativeEnum<typeof WebhookDeliveryStatus>;
|
|
70
|
+
attemptCount: z.ZodNumber;
|
|
71
|
+
maxAttempts: z.ZodNumber;
|
|
72
|
+
lastAttemptAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
73
|
+
responseStatus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
74
|
+
responseBody: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
+
createdAt: z.ZodDate;
|
|
77
|
+
updatedAt: z.ZodDate;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
id: string;
|
|
80
|
+
status: WebhookDeliveryStatus;
|
|
81
|
+
createdAt: Date;
|
|
82
|
+
updatedAt: Date;
|
|
83
|
+
eventId: string;
|
|
84
|
+
endpointId: string;
|
|
85
|
+
attemptCount: number;
|
|
86
|
+
maxAttempts: number;
|
|
87
|
+
error?: string | null | undefined;
|
|
88
|
+
lastAttemptAt?: Date | null | undefined;
|
|
89
|
+
responseStatus?: number | null | undefined;
|
|
90
|
+
responseBody?: string | null | undefined;
|
|
91
|
+
}, {
|
|
92
|
+
id: string;
|
|
93
|
+
status: WebhookDeliveryStatus;
|
|
94
|
+
createdAt: Date;
|
|
95
|
+
updatedAt: Date;
|
|
96
|
+
eventId: string;
|
|
97
|
+
endpointId: string;
|
|
98
|
+
attemptCount: number;
|
|
99
|
+
maxAttempts: number;
|
|
100
|
+
error?: string | null | undefined;
|
|
101
|
+
lastAttemptAt?: Date | null | undefined;
|
|
102
|
+
responseStatus?: number | null | undefined;
|
|
103
|
+
responseBody?: string | null | undefined;
|
|
104
|
+
}>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.webhookDeliverySchema = exports.webhookEventSchema = exports.webhookEndpointSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const enums_1 = require("../../types/enums");
|
|
6
|
+
exports.webhookEndpointSchema = (0, zod_1.object)({
|
|
7
|
+
id: (0, zod_1.string)(),
|
|
8
|
+
userId: (0, zod_1.string)(),
|
|
9
|
+
url: (0, zod_1.string)(),
|
|
10
|
+
secret: (0, zod_1.string)(),
|
|
11
|
+
description: (0, zod_1.string)().nullish(),
|
|
12
|
+
events: (0, zod_1.string)().array(),
|
|
13
|
+
status: (0, zod_1.nativeEnum)(enums_1.WebhookEndpointStatus),
|
|
14
|
+
apiKeyId: (0, zod_1.string)().nullish(),
|
|
15
|
+
createdAt: (0, zod_1.date)(),
|
|
16
|
+
updatedAt: (0, zod_1.date)(),
|
|
17
|
+
});
|
|
18
|
+
exports.webhookEventSchema = (0, zod_1.object)({
|
|
19
|
+
id: (0, zod_1.string)(),
|
|
20
|
+
userId: (0, zod_1.string)(),
|
|
21
|
+
type: (0, zod_1.string)(),
|
|
22
|
+
payload: zod_1.z.unknown(),
|
|
23
|
+
propertyId: (0, zod_1.number)().int().nullish(),
|
|
24
|
+
roomId: (0, zod_1.number)().int().nullish(),
|
|
25
|
+
source: (0, zod_1.string)().nullish(),
|
|
26
|
+
createdAt: (0, zod_1.date)(),
|
|
27
|
+
});
|
|
28
|
+
exports.webhookDeliverySchema = (0, zod_1.object)({
|
|
29
|
+
id: (0, zod_1.string)(),
|
|
30
|
+
endpointId: (0, zod_1.string)(),
|
|
31
|
+
eventId: (0, zod_1.string)(),
|
|
32
|
+
status: (0, zod_1.nativeEnum)(enums_1.WebhookDeliveryStatus),
|
|
33
|
+
attemptCount: (0, zod_1.number)().int(),
|
|
34
|
+
maxAttempts: (0, zod_1.number)().int(),
|
|
35
|
+
lastAttemptAt: (0, zod_1.date)().nullish(),
|
|
36
|
+
responseStatus: (0, zod_1.number)().int().nullish(),
|
|
37
|
+
responseBody: (0, zod_1.string)().nullish(),
|
|
38
|
+
error: (0, zod_1.string)().nullish(),
|
|
39
|
+
createdAt: (0, zod_1.date)(),
|
|
40
|
+
updatedAt: (0, zod_1.date)(),
|
|
41
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { infer } from "zod";
|
|
2
|
+
import { apiKeySchema, apiKeyUsageLogSchema } from "../../schemas/api-key";
|
|
3
|
+
import { User } from "../user";
|
|
4
|
+
export interface ApiKey extends infer<typeof apiKeySchema> {
|
|
5
|
+
user?: User | null;
|
|
6
|
+
usageLogs?: ApiKeyUsageLog[];
|
|
7
|
+
}
|
|
8
|
+
export interface ApiKeyUsageLog extends infer<typeof apiKeyUsageLogSchema> {
|
|
9
|
+
apiKey?: ApiKey;
|
|
10
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { infer } from "zod";
|
|
2
2
|
import { bookingSettingsSchema } from "../../schemas/booking-settings";
|
|
3
3
|
import { Property } from "../property";
|
|
4
|
+
import { ListingExpectation } from "../listing-expectation";
|
|
4
5
|
export interface BookingSettings extends infer<typeof bookingSettingsSchema> {
|
|
5
6
|
property?: Property;
|
|
7
|
+
listingExpectations?: ListingExpectation[];
|
|
6
8
|
}
|
|
@@ -219,3 +219,231 @@ export declare enum PassThroughTaxesTaxableBase {
|
|
|
219
219
|
pass_through_cleaning_fee = "pass_through_cleaning_fee",
|
|
220
220
|
pass_through_pet_fee = "pass_through_pet_fee"
|
|
221
221
|
}
|
|
222
|
+
export declare enum GuestInviteStatus {
|
|
223
|
+
PENDING = "PENDING",
|
|
224
|
+
ACCEPTED = "ACCEPTED",
|
|
225
|
+
REVOKED = "REVOKED"
|
|
226
|
+
}
|
|
227
|
+
export declare enum NotificationEventType {
|
|
228
|
+
BOOKING_RECEIVED = "BOOKING_RECEIVED",
|
|
229
|
+
BOOKING_CANCELLED = "BOOKING_CANCELLED",
|
|
230
|
+
GUEST_CHECKED_IN = "GUEST_CHECKED_IN",
|
|
231
|
+
GUEST_CHECKED_OUT = "GUEST_CHECKED_OUT",
|
|
232
|
+
MESSAGE_RECEIVED = "MESSAGE_RECEIVED",
|
|
233
|
+
TASK_SERVICE_ASSIGNED = "TASK_SERVICE_ASSIGNED",
|
|
234
|
+
TASK_ASSIGNED = "TASK_ASSIGNED",
|
|
235
|
+
TASK_ASSIGNED_TO_PROVIDER = "TASK_ASSIGNED_TO_PROVIDER",
|
|
236
|
+
TASK_ACCEPTED = "TASK_ACCEPTED",
|
|
237
|
+
TASK_REJECTED = "TASK_REJECTED",
|
|
238
|
+
TASK_ANSWERS_SUBMITTED = "TASK_ANSWERS_SUBMITTED",
|
|
239
|
+
TASK_PURCHASED = "TASK_PURCHASED",
|
|
240
|
+
QUOTE_SUBMITTED = "QUOTE_SUBMITTED",
|
|
241
|
+
QUOTE_REJECTED = "QUOTE_REJECTED",
|
|
242
|
+
TASK_ON_THE_WAY = "TASK_ON_THE_WAY",
|
|
243
|
+
TASK_COMPLETED = "TASK_COMPLETED",
|
|
244
|
+
PROPERTY_LIVE = "PROPERTY_LIVE",
|
|
245
|
+
SERVICE_SCHEDULED = "SERVICE_SCHEDULED",
|
|
246
|
+
SERVICE_REQUEST_SUBMITTED = "SERVICE_REQUEST_SUBMITTED",
|
|
247
|
+
SERVICE_BOOKING_PAYMENT_PENDING = "SERVICE_BOOKING_PAYMENT_PENDING",
|
|
248
|
+
PAYOUT_REQUESTED = "PAYOUT_REQUESTED",
|
|
249
|
+
PAYOUT_COMPLETED = "PAYOUT_COMPLETED"
|
|
250
|
+
}
|
|
251
|
+
export declare enum NotificationChannel {
|
|
252
|
+
EMAIL = "EMAIL",
|
|
253
|
+
PUSH = "PUSH",
|
|
254
|
+
IN_APP = "IN_APP"
|
|
255
|
+
}
|
|
256
|
+
export declare enum NotificationRecipientRole {
|
|
257
|
+
HOST = "HOST",
|
|
258
|
+
WORKER = "WORKER",
|
|
259
|
+
PROVIDER_OWNER = "PROVIDER_OWNER",
|
|
260
|
+
OPERATIONS = "OPERATIONS"
|
|
261
|
+
}
|
|
262
|
+
export declare enum Platform {
|
|
263
|
+
IOS = "IOS",
|
|
264
|
+
ANDROID = "ANDROID"
|
|
265
|
+
}
|
|
266
|
+
export declare enum PushApp {
|
|
267
|
+
HOST = "HOST",
|
|
268
|
+
WORKER = "WORKER"
|
|
269
|
+
}
|
|
270
|
+
export declare enum OnboardingPlanChoice {
|
|
271
|
+
HANDS_FREE_PRO = "HANDS_FREE_PRO",
|
|
272
|
+
CUSTOM_BUILD = "CUSTOM_BUILD"
|
|
273
|
+
}
|
|
274
|
+
export declare enum HostType {
|
|
275
|
+
SHORT_TERM = "SHORT_TERM",
|
|
276
|
+
MID_TERM = "MID_TERM",
|
|
277
|
+
BOTH = "BOTH"
|
|
278
|
+
}
|
|
279
|
+
export declare enum HandbookStatus {
|
|
280
|
+
NOT_STARTED = "NOT_STARTED",
|
|
281
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
282
|
+
COMPLETED = "COMPLETED"
|
|
283
|
+
}
|
|
284
|
+
export declare enum ConnectionType {
|
|
285
|
+
AIRBNB = "AIRBNB",
|
|
286
|
+
BOOKING_COM = "BOOKING_COM",
|
|
287
|
+
HUBUBB = "HUBUBB",
|
|
288
|
+
AGODA = "AGODA",
|
|
289
|
+
EXPEDIA = "EXPEDIA",
|
|
290
|
+
VRBO = "VRBO",
|
|
291
|
+
CTRIP = "CTRIP"
|
|
292
|
+
}
|
|
293
|
+
export declare enum PropertyStatus {
|
|
294
|
+
ACTIVE = "ACTIVE",
|
|
295
|
+
INACTIVE = "INACTIVE",
|
|
296
|
+
MERGED = "MERGED",
|
|
297
|
+
DRAFT = "DRAFT",
|
|
298
|
+
DELETED = "DELETED"
|
|
299
|
+
}
|
|
300
|
+
export declare enum STCancellationPolicy {
|
|
301
|
+
FLEXIBLE = "FLEXIBLE",
|
|
302
|
+
MODERATE = "MODERATE",
|
|
303
|
+
STRICT = "STRICT",
|
|
304
|
+
BETTER_STRICT_WITH_GRACE_PERIOD = "BETTER_STRICT_WITH_GRACE_PERIOD",
|
|
305
|
+
STRICT_14_WITH_GRACE_PERIOD = "STRICT_14_WITH_GRACE_PERIOD",
|
|
306
|
+
SUPER_STRICT_30 = "SUPER_STRICT_30",
|
|
307
|
+
SUPER_STRICT_60 = "SUPER_STRICT_60",
|
|
308
|
+
FIRM_14 = "FIRM_14"
|
|
309
|
+
}
|
|
310
|
+
export declare enum LTCancellationPolicy {
|
|
311
|
+
CANCEL_LONG_TERM_FAIR = "CANCEL_LONG_TERM_FAIR",
|
|
312
|
+
CANCEL_LONG_TERM_WITH_GRACE_PERIOD = "CANCEL_LONG_TERM_WITH_GRACE_PERIOD"
|
|
313
|
+
}
|
|
314
|
+
export declare enum PromotionStatus {
|
|
315
|
+
AVAILABLE = "AVAILABLE",
|
|
316
|
+
ONGOING = "ONGOING",
|
|
317
|
+
ENDED = "ENDED"
|
|
318
|
+
}
|
|
319
|
+
export declare enum ListingExpectationType {
|
|
320
|
+
requires_stairs = "requires_stairs",
|
|
321
|
+
potential_noise = "potential_noise",
|
|
322
|
+
has_pets = "has_pets",
|
|
323
|
+
limited_parking = "limited_parking",
|
|
324
|
+
shared_spaces = "shared_spaces",
|
|
325
|
+
limited_amenities = "limited_amenities",
|
|
326
|
+
surveillance = "surveillance",
|
|
327
|
+
noise_monitor = "noise_monitor",
|
|
328
|
+
weapons = "weapons",
|
|
329
|
+
animals = "animals",
|
|
330
|
+
pool_or_jacuzzi_with_no_fence = "pool_or_jacuzzi_with_no_fence",
|
|
331
|
+
lake_or_river_or_water_body = "lake_or_river_or_water_body",
|
|
332
|
+
climbing_or_play_structure = "climbing_or_play_structure",
|
|
333
|
+
heights_with_no_fence = "heights_with_no_fence"
|
|
334
|
+
}
|
|
335
|
+
export declare enum RoomType {
|
|
336
|
+
BEDROOM = "BEDROOM",
|
|
337
|
+
BATHROOM = "BATHROOM",
|
|
338
|
+
TOILET = "TOILET",
|
|
339
|
+
LIVING_ROOM = "LIVING_ROOM",
|
|
340
|
+
KITCHEN = "KITCHEN",
|
|
341
|
+
DINING_ROOM = "DINING_ROOM",
|
|
342
|
+
BALCONY = "BALCONY",
|
|
343
|
+
OUTDOOR = "OUTDOOR",
|
|
344
|
+
WORKSPACE = "WORKSPACE",
|
|
345
|
+
STORAGE = "STORAGE",
|
|
346
|
+
COMMON_SPACE = "COMMON_SPACE",
|
|
347
|
+
OTHER = "OTHER"
|
|
348
|
+
}
|
|
349
|
+
export declare enum BedType {
|
|
350
|
+
SINGLE_BED = "SINGLE_BED",
|
|
351
|
+
DOUBLE_BED = "DOUBLE_BED",
|
|
352
|
+
QUEEN_BED = "QUEEN_BED",
|
|
353
|
+
KING_BED = "KING_BED",
|
|
354
|
+
BUNK_BED = "BUNK_BED",
|
|
355
|
+
SOFA_BED = "SOFA_BED",
|
|
356
|
+
FLOOR_MATTRESS_BED = "FLOOR_MATTRESS_BED",
|
|
357
|
+
AIR_MATTRESS_BED = "AIR_MATTRESS_BED",
|
|
358
|
+
COUCH_BED = "COUCH_BED",
|
|
359
|
+
CRIB_BED = "CRIB_BED",
|
|
360
|
+
FUTON_BED = "FUTON_BED",
|
|
361
|
+
HAMMOCK_BED = "HAMMOCK_BED",
|
|
362
|
+
TODDLER_BED = "TODDLER_BED",
|
|
363
|
+
TRUNDLE_BED = "TRUNDLE_BED",
|
|
364
|
+
WATER_BED = "WATER_BED",
|
|
365
|
+
CALIFORNIA_KING_BED = "CALIFORNIA_KING_BED",
|
|
366
|
+
SMALL_DOUBLE_BED = "SMALL_DOUBLE_BED",
|
|
367
|
+
OTHER = "OTHER"
|
|
368
|
+
}
|
|
369
|
+
export declare enum PayoutStatus {
|
|
370
|
+
PENDING = "PENDING",
|
|
371
|
+
COMPLETED = "COMPLETED",
|
|
372
|
+
CANCELLED = "CANCELLED",
|
|
373
|
+
REJECTED = "REJECTED"
|
|
374
|
+
}
|
|
375
|
+
export declare enum AdjustmentType {
|
|
376
|
+
ADDITION = "ADDITION",
|
|
377
|
+
DEDUCTION = "DEDUCTION"
|
|
378
|
+
}
|
|
379
|
+
export declare enum AdjustmentStatus {
|
|
380
|
+
PENDING = "PENDING",
|
|
381
|
+
APPLIED = "APPLIED",
|
|
382
|
+
CANCELLED = "CANCELLED"
|
|
383
|
+
}
|
|
384
|
+
export declare enum ReservationStatus {
|
|
385
|
+
CONFIRMED = "CONFIRMED",
|
|
386
|
+
CANCELLED = "CANCELLED",
|
|
387
|
+
PENDING = "PENDING"
|
|
388
|
+
}
|
|
389
|
+
export declare enum TaskAssignmentStatus {
|
|
390
|
+
ASSIGNED = "ASSIGNED",
|
|
391
|
+
ACCEPTED = "ACCEPTED",
|
|
392
|
+
REJECTED = "REJECTED"
|
|
393
|
+
}
|
|
394
|
+
export declare enum TaskSpacePhotoType {
|
|
395
|
+
BEFORE = "BEFORE",
|
|
396
|
+
AFTER = "AFTER"
|
|
397
|
+
}
|
|
398
|
+
export declare enum TaskSpaceVideoType {
|
|
399
|
+
BEFORE = "BEFORE",
|
|
400
|
+
AFTER = "AFTER"
|
|
401
|
+
}
|
|
402
|
+
export declare enum VideoType {
|
|
403
|
+
BEFORE = "BEFORE",
|
|
404
|
+
AFTER = "AFTER"
|
|
405
|
+
}
|
|
406
|
+
export declare enum PhotoType {
|
|
407
|
+
BEFORE = "BEFORE",
|
|
408
|
+
AFTER = "AFTER"
|
|
409
|
+
}
|
|
410
|
+
export declare enum PendingPaymentStatus {
|
|
411
|
+
PENDING = "PENDING",
|
|
412
|
+
COMPLETED = "COMPLETED",
|
|
413
|
+
FAILED = "FAILED",
|
|
414
|
+
EXPIRED = "EXPIRED"
|
|
415
|
+
}
|
|
416
|
+
export declare enum BundleStatus {
|
|
417
|
+
DRAFT = "DRAFT",
|
|
418
|
+
PENDING = "PENDING",
|
|
419
|
+
ACCEPTED = "ACCEPTED",
|
|
420
|
+
ACTIVE = "ACTIVE",
|
|
421
|
+
DECLINED = "DECLINED"
|
|
422
|
+
}
|
|
423
|
+
export declare enum ConnectionStatus {
|
|
424
|
+
PENDING = "PENDING",
|
|
425
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
426
|
+
COMPLETED = "COMPLETED",
|
|
427
|
+
REJECTED = "REJECTED"
|
|
428
|
+
}
|
|
429
|
+
export declare enum TaskPaymentStatus {
|
|
430
|
+
PENDING = "PENDING",
|
|
431
|
+
PAID = "PAID",
|
|
432
|
+
FAILED = "FAILED"
|
|
433
|
+
}
|
|
434
|
+
export declare enum ServiceProviderStatus {
|
|
435
|
+
PENDING = "PENDING",
|
|
436
|
+
ACTIVE = "ACTIVE",
|
|
437
|
+
SUSPENDED = "SUSPENDED",
|
|
438
|
+
INACTIVE = "INACTIVE"
|
|
439
|
+
}
|
|
440
|
+
export declare enum ServiceWorkerStatus {
|
|
441
|
+
PENDING = "PENDING",
|
|
442
|
+
ACTIVE = "ACTIVE",
|
|
443
|
+
SUSPENDED = "SUSPENDED",
|
|
444
|
+
INACTIVE = "INACTIVE"
|
|
445
|
+
}
|
|
446
|
+
export declare enum ServiceProviderType {
|
|
447
|
+
BUSINESS = "BUSINESS",
|
|
448
|
+
INDIVIDUAL = "INDIVIDUAL"
|
|
449
|
+
}
|