@myrjfa/state 2.1.6 → 2.1.7
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/lib/actions/actions.d.ts +4 -4
- package/dist/lib/actions/auth.d.ts +20 -20
- package/dist/lib/actions/booking.js +2 -2
- package/dist/lib/actions/fetcher.d.ts +1 -1
- package/dist/lib/actions/fetcher.d.ts.map +1 -1
- package/dist/lib/actions/fetcher.js +3 -3
- package/dist/lib/models/booking.d.ts +21 -2
- package/dist/lib/models/booking.d.ts.map +1 -1
- package/dist/lib/models/package.d.ts +62 -59
- package/dist/lib/models/package.d.ts.map +1 -1
- package/dist/lib/models/package.js +1 -0
- package/dist/lib/userAtom.d.ts +36 -36
- package/package.json +1 -1
|
@@ -100,10 +100,10 @@ export declare function getAllNotifications(): Promise<{
|
|
|
100
100
|
userId?: string | undefined;
|
|
101
101
|
timestamp?: any;
|
|
102
102
|
link?: string | undefined;
|
|
103
|
-
category?: "opportunity" | "package" | "blog" | "system" | "general" | "chat" | "application" | "account" |
|
|
103
|
+
category?: "booking" | "opportunity" | "package" | "blog" | "system" | "general" | "chat" | "application" | "account" | undefined;
|
|
104
104
|
metadata?: {
|
|
105
|
-
status?: string | undefined;
|
|
106
105
|
title?: string | undefined;
|
|
106
|
+
status?: string | undefined;
|
|
107
107
|
rating?: number | undefined;
|
|
108
108
|
conversationId?: string | undefined;
|
|
109
109
|
messageId?: string | undefined;
|
|
@@ -136,10 +136,10 @@ export declare function getNotifications(limit: number): Promise<{
|
|
|
136
136
|
userId?: string | undefined;
|
|
137
137
|
timestamp?: any;
|
|
138
138
|
link?: string | undefined;
|
|
139
|
-
category?: "opportunity" | "package" | "blog" | "system" | "general" | "chat" | "application" | "account" |
|
|
139
|
+
category?: "booking" | "opportunity" | "package" | "blog" | "system" | "general" | "chat" | "application" | "account" | undefined;
|
|
140
140
|
metadata?: {
|
|
141
|
-
status?: string | undefined;
|
|
142
141
|
title?: string | undefined;
|
|
142
|
+
status?: string | undefined;
|
|
143
143
|
rating?: number | undefined;
|
|
144
144
|
conversationId?: string | undefined;
|
|
145
145
|
messageId?: string | undefined;
|
|
@@ -4,6 +4,10 @@ export declare function signIn(formData: {
|
|
|
4
4
|
role: string;
|
|
5
5
|
}): Promise<{
|
|
6
6
|
user: {
|
|
7
|
+
country: string;
|
|
8
|
+
rating: number;
|
|
9
|
+
ratingCount: number;
|
|
10
|
+
reviewCount: number;
|
|
7
11
|
username: string;
|
|
8
12
|
firstName: string;
|
|
9
13
|
lastName: string;
|
|
@@ -11,21 +15,17 @@ export declare function signIn(formData: {
|
|
|
11
15
|
password: string;
|
|
12
16
|
phoneNumber: string;
|
|
13
17
|
countryCode: string;
|
|
14
|
-
country: string;
|
|
15
18
|
gender: "male" | "female" | "other";
|
|
16
|
-
rating: number;
|
|
17
|
-
ratingCount: number;
|
|
18
|
-
reviewCount: number;
|
|
19
19
|
joinedDate: Date;
|
|
20
20
|
isActive: boolean;
|
|
21
21
|
lastActive: Date;
|
|
22
22
|
verifiedEmail: boolean;
|
|
23
23
|
verifiedMobile: boolean;
|
|
24
|
-
role: "
|
|
24
|
+
role: "admin" | "user" | "host" | "hr" | "sales";
|
|
25
|
+
profilePic?: string | undefined;
|
|
25
26
|
location?: string | undefined;
|
|
26
27
|
pinCode?: string | undefined;
|
|
27
28
|
dob?: Date | undefined;
|
|
28
|
-
profilePic?: string | undefined;
|
|
29
29
|
blogsCount?: number | undefined;
|
|
30
30
|
userBio?: string | undefined;
|
|
31
31
|
userIdCard?: string | undefined;
|
|
@@ -51,19 +51,19 @@ export declare function signIn(formData: {
|
|
|
51
51
|
panCard?: string | undefined;
|
|
52
52
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
53
53
|
properties?: {
|
|
54
|
-
country: string;
|
|
55
54
|
type: string;
|
|
56
|
-
name: string;
|
|
57
|
-
address: string;
|
|
58
55
|
city: string;
|
|
59
56
|
state: string;
|
|
57
|
+
country: string;
|
|
58
|
+
name: string;
|
|
59
|
+
address: string;
|
|
60
60
|
pinCode?: string | undefined;
|
|
61
61
|
registrationNumber?: string | undefined;
|
|
62
62
|
}[] | undefined;
|
|
63
63
|
businessDocument?: string | undefined;
|
|
64
64
|
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
65
65
|
businessIdNumber?: string | undefined;
|
|
66
|
-
businessApiVerificationStatus?: "pending" | "
|
|
66
|
+
businessApiVerificationStatus?: "pending" | "failed" | "verified" | undefined;
|
|
67
67
|
businessVerificationDenialReason?: string | undefined;
|
|
68
68
|
};
|
|
69
69
|
message: string;
|
|
@@ -84,6 +84,10 @@ export declare function logoutUser(role: string): Promise<{
|
|
|
84
84
|
}>;
|
|
85
85
|
export declare function verifyEmailOtp(email: string, otp: string, role: "user" | "host"): Promise<{
|
|
86
86
|
user: {
|
|
87
|
+
country: string;
|
|
88
|
+
rating: number;
|
|
89
|
+
ratingCount: number;
|
|
90
|
+
reviewCount: number;
|
|
87
91
|
username: string;
|
|
88
92
|
firstName: string;
|
|
89
93
|
lastName: string;
|
|
@@ -91,21 +95,17 @@ export declare function verifyEmailOtp(email: string, otp: string, role: "user"
|
|
|
91
95
|
password: string;
|
|
92
96
|
phoneNumber: string;
|
|
93
97
|
countryCode: string;
|
|
94
|
-
country: string;
|
|
95
98
|
gender: "male" | "female" | "other";
|
|
96
|
-
rating: number;
|
|
97
|
-
ratingCount: number;
|
|
98
|
-
reviewCount: number;
|
|
99
99
|
joinedDate: Date;
|
|
100
100
|
isActive: boolean;
|
|
101
101
|
lastActive: Date;
|
|
102
102
|
verifiedEmail: boolean;
|
|
103
103
|
verifiedMobile: boolean;
|
|
104
|
-
role: "
|
|
104
|
+
role: "admin" | "user" | "host" | "hr" | "sales";
|
|
105
|
+
profilePic?: string | undefined;
|
|
105
106
|
location?: string | undefined;
|
|
106
107
|
pinCode?: string | undefined;
|
|
107
108
|
dob?: Date | undefined;
|
|
108
|
-
profilePic?: string | undefined;
|
|
109
109
|
blogsCount?: number | undefined;
|
|
110
110
|
userBio?: string | undefined;
|
|
111
111
|
userIdCard?: string | undefined;
|
|
@@ -131,19 +131,19 @@ export declare function verifyEmailOtp(email: string, otp: string, role: "user"
|
|
|
131
131
|
panCard?: string | undefined;
|
|
132
132
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
133
133
|
properties?: {
|
|
134
|
-
country: string;
|
|
135
134
|
type: string;
|
|
136
|
-
name: string;
|
|
137
|
-
address: string;
|
|
138
135
|
city: string;
|
|
139
136
|
state: string;
|
|
137
|
+
country: string;
|
|
138
|
+
name: string;
|
|
139
|
+
address: string;
|
|
140
140
|
pinCode?: string | undefined;
|
|
141
141
|
registrationNumber?: string | undefined;
|
|
142
142
|
}[] | undefined;
|
|
143
143
|
businessDocument?: string | undefined;
|
|
144
144
|
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
145
145
|
businessIdNumber?: string | undefined;
|
|
146
|
-
businessApiVerificationStatus?: "pending" | "
|
|
146
|
+
businessApiVerificationStatus?: "pending" | "failed" | "verified" | undefined;
|
|
147
147
|
businessVerificationDenialReason?: string | undefined;
|
|
148
148
|
};
|
|
149
149
|
message: string;
|
|
@@ -2,7 +2,7 @@ import { get, patch, post } from "./fetcher";
|
|
|
2
2
|
export async function createBooking(bookingData) {
|
|
3
3
|
try {
|
|
4
4
|
const endpoint = `/bookings/create`;
|
|
5
|
-
const data = await post(endpoint, bookingData);
|
|
5
|
+
const data = await post(endpoint, bookingData, false);
|
|
6
6
|
return {
|
|
7
7
|
success: true,
|
|
8
8
|
booking: data.data.booking,
|
|
@@ -24,7 +24,7 @@ export async function createBooking(bookingData) {
|
|
|
24
24
|
}
|
|
25
25
|
export async function verifyBookingPayment(payload) {
|
|
26
26
|
try {
|
|
27
|
-
const data = await post('/bookings/verify-payment', payload);
|
|
27
|
+
const data = await post('/bookings/verify-payment', payload, false);
|
|
28
28
|
return { success: true, booking: data.data.booking, message: data.message };
|
|
29
29
|
}
|
|
30
30
|
catch (error) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare function get<T>(url: string, includeAuth?: boolean): Promise<T>;
|
|
2
|
-
export declare function post<T>(url: string, body: any): Promise<T>;
|
|
2
|
+
export declare function post<T>(url: string, body: any, includeAuth?: boolean): Promise<T>;
|
|
3
3
|
export declare function put<T>(url: string, body: any): Promise<T>;
|
|
4
4
|
export declare function patch<T>(url: string, body: any): Promise<T>;
|
|
5
5
|
export declare function del<T>(url: string, body?: any): Promise<T>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetcher.d.ts","sourceRoot":"","sources":["../../../src/lib/actions/fetcher.ts"],"names":[],"mappings":"AAsKA,wBAAsB,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,WAAW,GAAE,OAAc,cAEpE;AAED,wBAAsB,IAAI,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"fetcher.d.ts","sourceRoot":"","sources":["../../../src/lib/actions/fetcher.ts"],"names":[],"mappings":"AAsKA,wBAAsB,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,WAAW,GAAE,OAAc,cAEpE;AAED,wBAAsB,IAAI,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,WAAW,GAAE,OAAc,cAEhF;AAED,wBAAsB,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,cAElD;AAED,wBAAsB,KAAK,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,cAEpD;AAED,wBAAsB,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,cAEnD"}
|
|
@@ -55,7 +55,7 @@ async function customFetch(input, method, body, options = {}) {
|
|
|
55
55
|
}
|
|
56
56
|
const init = {
|
|
57
57
|
method,
|
|
58
|
-
credentials: 'include',
|
|
58
|
+
credentials: includeAuth ? 'include' : 'omit',
|
|
59
59
|
headers,
|
|
60
60
|
...(body ? { body: isFormData ? body : JSON.stringify(body) } : {}),
|
|
61
61
|
};
|
|
@@ -129,8 +129,8 @@ async function refreshToken(input, method, body) {
|
|
|
129
129
|
export async function get(url, includeAuth = true) {
|
|
130
130
|
return customFetch(url, 'GET', undefined, { includeAuth });
|
|
131
131
|
}
|
|
132
|
-
export async function post(url, body) {
|
|
133
|
-
return customFetch(url, 'POST', body, { includeAuth
|
|
132
|
+
export async function post(url, body, includeAuth = true) {
|
|
133
|
+
return customFetch(url, 'POST', body, { includeAuth });
|
|
134
134
|
}
|
|
135
135
|
export async function put(url, body) {
|
|
136
136
|
return customFetch(url, 'PUT', body, { includeAuth: true });
|
|
@@ -4,7 +4,7 @@ export interface Booking {
|
|
|
4
4
|
_id: string;
|
|
5
5
|
userId: string;
|
|
6
6
|
entityId: any;
|
|
7
|
-
entityType: "Rental" | "Adventure" | "Event" | "Stay";
|
|
7
|
+
entityType: "Rental" | "Adventure" | "Event" | "Stay" | "TravelPackage";
|
|
8
8
|
roomId?: string;
|
|
9
9
|
roomQty?: number;
|
|
10
10
|
hostId: string;
|
|
@@ -25,12 +25,22 @@ export interface Booking {
|
|
|
25
25
|
phone: string;
|
|
26
26
|
};
|
|
27
27
|
specialRequests?: string;
|
|
28
|
+
selectedPricingIndex?: number;
|
|
29
|
+
selectedActivities?: Array<{
|
|
30
|
+
activityName?: string;
|
|
31
|
+
name?: string;
|
|
32
|
+
additionalPrice?: number;
|
|
33
|
+
type?: string;
|
|
34
|
+
}>;
|
|
35
|
+
males?: number;
|
|
36
|
+
females?: number;
|
|
37
|
+
bookingCode?: string;
|
|
28
38
|
createdAt: Date;
|
|
29
39
|
updatedAt: Date;
|
|
30
40
|
}
|
|
31
41
|
export interface CreateBookingRequest {
|
|
32
42
|
entityId: string;
|
|
33
|
-
entityType: "Rental" | "Adventure" | "Event" | "Stay";
|
|
43
|
+
entityType: "Rental" | "Adventure" | "Event" | "Stay" | "TravelPackage";
|
|
34
44
|
roomId?: string;
|
|
35
45
|
roomQty?: number;
|
|
36
46
|
startDate: string;
|
|
@@ -47,5 +57,14 @@ export interface CreateBookingRequest {
|
|
|
47
57
|
phone: string;
|
|
48
58
|
};
|
|
49
59
|
specialRequests?: string;
|
|
60
|
+
selectedPricingIndex?: number;
|
|
61
|
+
selectedActivities?: Array<{
|
|
62
|
+
activityName?: string;
|
|
63
|
+
name?: string;
|
|
64
|
+
additionalPrice?: number;
|
|
65
|
+
type?: string;
|
|
66
|
+
}>;
|
|
67
|
+
males?: number;
|
|
68
|
+
females?: number;
|
|
50
69
|
}
|
|
51
70
|
//# sourceMappingURL=booking.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booking.d.ts","sourceRoot":"","sources":["../../../src/lib/models/booking.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,UAAU,CAAC;AAC7F,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEvE,MAAM,WAAW,OAAO;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,GAAG,CAAC;IACd,UAAU,EAAE,QAAQ,GAAG,WAAW,GAAG,OAAO,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"booking.d.ts","sourceRoot":"","sources":["../../../src/lib/models/booking.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,UAAU,CAAC;AAC7F,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEvE,MAAM,WAAW,OAAO;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,GAAG,CAAC;IACd,UAAU,EAAE,QAAQ,GAAG,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,eAAe,CAAC;IACxE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,aAAa,CAAC;IACtB,aAAa,EAAE,aAAa,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,kBAAkB,CAAC,EAAE,KAAK,CAAC;QAAE,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9G,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACnB;AAED,MAAM,WAAW,oBAAoB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,QAAQ,GAAG,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,eAAe,CAAC;IACxE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,kBAAkB,CAAC,EAAE,KAAK,CAAC;QAAE,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9G,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -10,15 +10,15 @@ export declare const ItinerarySchema: z.ZodObject<{
|
|
|
10
10
|
day: number;
|
|
11
11
|
message?: string | undefined;
|
|
12
12
|
title?: string | undefined;
|
|
13
|
-
facilities?: string[] | undefined;
|
|
14
13
|
route?: string[] | undefined;
|
|
14
|
+
facilities?: string[] | undefined;
|
|
15
15
|
mode?: string | undefined;
|
|
16
16
|
}, {
|
|
17
17
|
day: number;
|
|
18
18
|
message?: string | undefined;
|
|
19
19
|
title?: string | undefined;
|
|
20
|
-
facilities?: string[] | undefined;
|
|
21
20
|
route?: string[] | undefined;
|
|
21
|
+
facilities?: string[] | undefined;
|
|
22
22
|
mode?: string | undefined;
|
|
23
23
|
}>;
|
|
24
24
|
export declare const PricingStrategySchema: z.ZodObject<{
|
|
@@ -44,6 +44,7 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
44
44
|
slug: z.ZodString;
|
|
45
45
|
hostId: z.ZodString;
|
|
46
46
|
categoryId: z.ZodOptional<z.ZodString>;
|
|
47
|
+
bookingMode: z.ZodOptional<z.ZodEnum<["enquiry", "booking", "both"]>>;
|
|
47
48
|
pricingStrategy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48
49
|
basePrice: z.ZodNumber;
|
|
49
50
|
gst: z.ZodNumber;
|
|
@@ -81,15 +82,15 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
81
82
|
day: number;
|
|
82
83
|
message?: string | undefined;
|
|
83
84
|
title?: string | undefined;
|
|
84
|
-
facilities?: string[] | undefined;
|
|
85
85
|
route?: string[] | undefined;
|
|
86
|
+
facilities?: string[] | undefined;
|
|
86
87
|
mode?: string | undefined;
|
|
87
88
|
}, {
|
|
88
89
|
day: number;
|
|
89
90
|
message?: string | undefined;
|
|
90
91
|
title?: string | undefined;
|
|
91
|
-
facilities?: string[] | undefined;
|
|
92
92
|
route?: string[] | undefined;
|
|
93
|
+
facilities?: string[] | undefined;
|
|
93
94
|
mode?: string | undefined;
|
|
94
95
|
}>, "many">>;
|
|
95
96
|
whatsIncluded: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -124,51 +125,39 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
124
125
|
image: z.ZodOptional<z.ZodString>;
|
|
125
126
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
126
127
|
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
profilePic?: string | undefined;
|
|
128
128
|
rating?: number | undefined;
|
|
129
129
|
name?: string | undefined;
|
|
130
|
+
profilePic?: string | undefined;
|
|
130
131
|
image?: string | undefined;
|
|
131
132
|
}, {
|
|
132
|
-
profilePic?: string | undefined;
|
|
133
133
|
rating?: number | undefined;
|
|
134
134
|
name?: string | undefined;
|
|
135
|
+
profilePic?: string | undefined;
|
|
135
136
|
image?: string | undefined;
|
|
136
137
|
}>>;
|
|
137
138
|
}, "strip", z.ZodTypeAny, {
|
|
138
|
-
country: string;
|
|
139
|
-
status: "pending" | "draft" | "archived" | "denied" | "open" | "closed";
|
|
140
|
-
rating: number;
|
|
141
|
-
ratingCount: number;
|
|
142
|
-
reviewCount: number;
|
|
143
|
-
city: string;
|
|
144
|
-
state: string;
|
|
145
139
|
title: string;
|
|
140
|
+
status: "pending" | "draft" | "archived" | "open" | "closed" | "denied";
|
|
146
141
|
_id: string;
|
|
147
|
-
createdAt: string | Date;
|
|
148
|
-
updatedAt: string | Date;
|
|
149
142
|
slug: string;
|
|
143
|
+
hostId: string;
|
|
150
144
|
urgent: boolean;
|
|
151
145
|
applicationCount: number;
|
|
146
|
+
city: string;
|
|
147
|
+
state: string;
|
|
148
|
+
country: string;
|
|
152
149
|
views: number;
|
|
153
|
-
shares: number;
|
|
154
|
-
hostId: string;
|
|
155
150
|
likes: number;
|
|
151
|
+
shares: number;
|
|
152
|
+
rating: number;
|
|
153
|
+
ratingCount: number;
|
|
154
|
+
reviewCount: number;
|
|
156
155
|
isDeleted: boolean;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
rating?: number | undefined;
|
|
160
|
-
name?: string | undefined;
|
|
161
|
-
image?: string | undefined;
|
|
162
|
-
} | undefined;
|
|
163
|
-
duration?: number | undefined;
|
|
156
|
+
createdAt: string | Date;
|
|
157
|
+
updatedAt: string | Date;
|
|
164
158
|
description?: string | undefined;
|
|
165
159
|
categoryId?: string | undefined;
|
|
166
|
-
|
|
167
|
-
peopleRequired?: number | undefined;
|
|
168
|
-
questions?: {
|
|
169
|
-
question: string;
|
|
170
|
-
answer: string;
|
|
171
|
-
}[] | undefined;
|
|
160
|
+
bookingMode?: "booking" | "enquiry" | "both" | undefined;
|
|
172
161
|
pricingStrategy?: {
|
|
173
162
|
currency: string;
|
|
174
163
|
basePrice: number;
|
|
@@ -176,13 +165,16 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
176
165
|
description?: string | undefined;
|
|
177
166
|
}[] | undefined;
|
|
178
167
|
difficultyLevel?: "easy" | "medium" | "hard" | undefined;
|
|
168
|
+
peopleRequired?: number | undefined;
|
|
169
|
+
availableFrom?: string | Date | undefined;
|
|
170
|
+
duration?: number | undefined;
|
|
179
171
|
highlights?: string[] | undefined;
|
|
180
172
|
itinerary?: {
|
|
181
173
|
day: number;
|
|
182
174
|
message?: string | undefined;
|
|
183
175
|
title?: string | undefined;
|
|
184
|
-
facilities?: string[] | undefined;
|
|
185
176
|
route?: string[] | undefined;
|
|
177
|
+
facilities?: string[] | undefined;
|
|
186
178
|
mode?: string | undefined;
|
|
187
179
|
}[] | undefined;
|
|
188
180
|
whatsIncluded?: string[] | undefined;
|
|
@@ -191,40 +183,29 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
191
183
|
thingsNotToDo?: string[] | undefined;
|
|
192
184
|
thingsToCarry?: string[] | undefined;
|
|
193
185
|
packageImages?: string[] | undefined;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
_id: string;
|
|
199
|
-
createdAt: string | Date;
|
|
200
|
-
updatedAt: string | Date;
|
|
201
|
-
slug: string;
|
|
202
|
-
hostId: string;
|
|
186
|
+
questions?: {
|
|
187
|
+
question: string;
|
|
188
|
+
answer: string;
|
|
189
|
+
}[] | undefined;
|
|
203
190
|
host?: {
|
|
204
|
-
profilePic?: string | undefined;
|
|
205
191
|
rating?: number | undefined;
|
|
206
192
|
name?: string | undefined;
|
|
193
|
+
profilePic?: string | undefined;
|
|
207
194
|
image?: string | undefined;
|
|
208
195
|
} | undefined;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
196
|
+
}, {
|
|
197
|
+
title: string;
|
|
198
|
+
_id: string;
|
|
199
|
+
slug: string;
|
|
200
|
+
hostId: string;
|
|
201
|
+
city: string;
|
|
202
|
+
state: string;
|
|
203
|
+
createdAt: string | Date;
|
|
204
|
+
updatedAt: string | Date;
|
|
205
|
+
status?: "pending" | "draft" | "archived" | "open" | "closed" | "denied" | undefined;
|
|
215
206
|
description?: string | undefined;
|
|
216
207
|
categoryId?: string | undefined;
|
|
217
|
-
|
|
218
|
-
urgent?: boolean | undefined;
|
|
219
|
-
peopleRequired?: number | undefined;
|
|
220
|
-
questions?: {
|
|
221
|
-
question: string;
|
|
222
|
-
answer: string;
|
|
223
|
-
}[] | undefined;
|
|
224
|
-
applicationCount?: number | undefined;
|
|
225
|
-
views?: number | undefined;
|
|
226
|
-
shares?: number | undefined;
|
|
227
|
-
likes?: number | undefined;
|
|
208
|
+
bookingMode?: "booking" | "enquiry" | "both" | undefined;
|
|
228
209
|
pricingStrategy?: {
|
|
229
210
|
currency: string;
|
|
230
211
|
basePrice: number;
|
|
@@ -232,13 +213,19 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
232
213
|
description?: string | undefined;
|
|
233
214
|
}[] | undefined;
|
|
234
215
|
difficultyLevel?: "easy" | "medium" | "hard" | undefined;
|
|
216
|
+
urgent?: boolean | undefined;
|
|
217
|
+
peopleRequired?: number | undefined;
|
|
218
|
+
applicationCount?: number | undefined;
|
|
219
|
+
country?: string | undefined;
|
|
220
|
+
availableFrom?: string | Date | undefined;
|
|
221
|
+
duration?: number | undefined;
|
|
235
222
|
highlights?: string[] | undefined;
|
|
236
223
|
itinerary?: {
|
|
237
224
|
day: number;
|
|
238
225
|
message?: string | undefined;
|
|
239
226
|
title?: string | undefined;
|
|
240
|
-
facilities?: string[] | undefined;
|
|
241
227
|
route?: string[] | undefined;
|
|
228
|
+
facilities?: string[] | undefined;
|
|
242
229
|
mode?: string | undefined;
|
|
243
230
|
}[] | undefined;
|
|
244
231
|
whatsIncluded?: string[] | undefined;
|
|
@@ -247,7 +234,23 @@ export declare const TravelPackageSchema: z.ZodObject<{
|
|
|
247
234
|
thingsNotToDo?: string[] | undefined;
|
|
248
235
|
thingsToCarry?: string[] | undefined;
|
|
249
236
|
packageImages?: string[] | undefined;
|
|
237
|
+
questions?: {
|
|
238
|
+
question: string;
|
|
239
|
+
answer: string;
|
|
240
|
+
}[] | undefined;
|
|
241
|
+
views?: number | undefined;
|
|
242
|
+
likes?: number | undefined;
|
|
243
|
+
shares?: number | undefined;
|
|
244
|
+
rating?: number | undefined;
|
|
245
|
+
ratingCount?: number | undefined;
|
|
246
|
+
reviewCount?: number | undefined;
|
|
250
247
|
isDeleted?: boolean | undefined;
|
|
248
|
+
host?: {
|
|
249
|
+
rating?: number | undefined;
|
|
250
|
+
name?: string | undefined;
|
|
251
|
+
profilePic?: string | undefined;
|
|
252
|
+
image?: string | undefined;
|
|
253
|
+
} | undefined;
|
|
251
254
|
}>;
|
|
252
255
|
export type TravelPackage = z.infer<typeof TravelPackageSchema>;
|
|
253
256
|
export type Itinerary = z.infer<typeof ItinerarySchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.d.ts","sourceRoot":"","sources":["../../../src/lib/models/package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;EAO1B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAC;AAEH,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"package.d.ts","sourceRoot":"","sources":["../../../src/lib/models/package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;EAO1B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2C9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,MAAM,WAAW,eAAe;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -20,6 +20,7 @@ export const TravelPackageSchema = z.object({
|
|
|
20
20
|
slug: z.string(),
|
|
21
21
|
hostId: z.string(),
|
|
22
22
|
categoryId: z.string().optional(),
|
|
23
|
+
bookingMode: z.enum(["enquiry", "booking", "both"]).optional(),
|
|
23
24
|
pricingStrategy: z.array(PricingStrategySchema).optional(),
|
|
24
25
|
difficultyLevel: z.enum(["easy", "medium", "hard"]).optional(),
|
|
25
26
|
urgent: z.boolean().default(false),
|
package/dist/lib/userAtom.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export declare const storageInitializedAtom: import("jotai").PrimitiveAtom<boole
|
|
|
2
2
|
init: boolean;
|
|
3
3
|
};
|
|
4
4
|
export declare const userAtom: import("jotai").WritableAtom<{
|
|
5
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
6
5
|
country: string;
|
|
7
6
|
rating: number;
|
|
8
7
|
ratingCount: number;
|
|
@@ -20,15 +19,11 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
20
19
|
lastActive: Date;
|
|
21
20
|
verifiedEmail: boolean;
|
|
22
21
|
verifiedMobile: boolean;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
skill: string;
|
|
26
|
-
skillExpertise: number;
|
|
27
|
-
}[] | undefined;
|
|
22
|
+
role: "admin" | "user" | "host" | "hr" | "sales";
|
|
23
|
+
profilePic?: string | undefined;
|
|
28
24
|
location?: string | undefined;
|
|
29
25
|
pinCode?: string | undefined;
|
|
30
26
|
dob?: Date | undefined;
|
|
31
|
-
profilePic?: string | undefined;
|
|
32
27
|
blogsCount?: number | undefined;
|
|
33
28
|
userBio?: string | undefined;
|
|
34
29
|
userIdCard?: string | undefined;
|
|
@@ -38,9 +33,14 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
38
33
|
verifiedIdCard?: boolean | undefined;
|
|
39
34
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
40
35
|
userResume?: string | undefined;
|
|
36
|
+
skills?: {
|
|
37
|
+
skill: string;
|
|
38
|
+
skillExpertise: number;
|
|
39
|
+
}[] | undefined;
|
|
41
40
|
wishlist?: string[] | undefined;
|
|
42
41
|
favBlogs?: string[] | undefined;
|
|
43
42
|
favPackages?: string[] | undefined;
|
|
43
|
+
id?: string | undefined;
|
|
44
44
|
selfie?: string | undefined;
|
|
45
45
|
selfieAction?: string | undefined;
|
|
46
46
|
jobCount?: number | undefined;
|
|
@@ -50,10 +50,10 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
50
50
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
51
51
|
properties?: {
|
|
52
52
|
type: string;
|
|
53
|
-
name: string;
|
|
54
53
|
city: string;
|
|
55
54
|
state: string;
|
|
56
55
|
country: string;
|
|
56
|
+
name: string;
|
|
57
57
|
address: string;
|
|
58
58
|
pinCode?: string | undefined;
|
|
59
59
|
registrationNumber?: string | undefined;
|
|
@@ -61,10 +61,9 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
61
61
|
businessDocument?: string | undefined;
|
|
62
62
|
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
63
63
|
businessIdNumber?: string | undefined;
|
|
64
|
-
businessApiVerificationStatus?: "pending" | "
|
|
64
|
+
businessApiVerificationStatus?: "pending" | "failed" | "verified" | undefined;
|
|
65
65
|
businessVerificationDenialReason?: string | undefined;
|
|
66
66
|
} | null, [{
|
|
67
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
68
67
|
country: string;
|
|
69
68
|
rating: number;
|
|
70
69
|
ratingCount: number;
|
|
@@ -82,15 +81,11 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
82
81
|
lastActive: Date;
|
|
83
82
|
verifiedEmail: boolean;
|
|
84
83
|
verifiedMobile: boolean;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
skill: string;
|
|
88
|
-
skillExpertise: number;
|
|
89
|
-
}[] | undefined;
|
|
84
|
+
role: "admin" | "user" | "host" | "hr" | "sales";
|
|
85
|
+
profilePic?: string | undefined;
|
|
90
86
|
location?: string | undefined;
|
|
91
87
|
pinCode?: string | undefined;
|
|
92
88
|
dob?: Date | undefined;
|
|
93
|
-
profilePic?: string | undefined;
|
|
94
89
|
blogsCount?: number | undefined;
|
|
95
90
|
userBio?: string | undefined;
|
|
96
91
|
userIdCard?: string | undefined;
|
|
@@ -100,9 +95,14 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
100
95
|
verifiedIdCard?: boolean | undefined;
|
|
101
96
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
102
97
|
userResume?: string | undefined;
|
|
98
|
+
skills?: {
|
|
99
|
+
skill: string;
|
|
100
|
+
skillExpertise: number;
|
|
101
|
+
}[] | undefined;
|
|
103
102
|
wishlist?: string[] | undefined;
|
|
104
103
|
favBlogs?: string[] | undefined;
|
|
105
104
|
favPackages?: string[] | undefined;
|
|
105
|
+
id?: string | undefined;
|
|
106
106
|
selfie?: string | undefined;
|
|
107
107
|
selfieAction?: string | undefined;
|
|
108
108
|
jobCount?: number | undefined;
|
|
@@ -112,10 +112,10 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
112
112
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
113
113
|
properties?: {
|
|
114
114
|
type: string;
|
|
115
|
-
name: string;
|
|
116
115
|
city: string;
|
|
117
116
|
state: string;
|
|
118
117
|
country: string;
|
|
118
|
+
name: string;
|
|
119
119
|
address: string;
|
|
120
120
|
pinCode?: string | undefined;
|
|
121
121
|
registrationNumber?: string | undefined;
|
|
@@ -123,10 +123,9 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
123
123
|
businessDocument?: string | undefined;
|
|
124
124
|
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
125
125
|
businessIdNumber?: string | undefined;
|
|
126
|
-
businessApiVerificationStatus?: "pending" | "
|
|
126
|
+
businessApiVerificationStatus?: "pending" | "failed" | "verified" | undefined;
|
|
127
127
|
businessVerificationDenialReason?: string | undefined;
|
|
128
128
|
} | typeof import("jotai/utils").RESET | ((prev: {
|
|
129
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
130
129
|
country: string;
|
|
131
130
|
rating: number;
|
|
132
131
|
ratingCount: number;
|
|
@@ -144,15 +143,11 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
144
143
|
lastActive: Date;
|
|
145
144
|
verifiedEmail: boolean;
|
|
146
145
|
verifiedMobile: boolean;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
skill: string;
|
|
150
|
-
skillExpertise: number;
|
|
151
|
-
}[] | undefined;
|
|
146
|
+
role: "admin" | "user" | "host" | "hr" | "sales";
|
|
147
|
+
profilePic?: string | undefined;
|
|
152
148
|
location?: string | undefined;
|
|
153
149
|
pinCode?: string | undefined;
|
|
154
150
|
dob?: Date | undefined;
|
|
155
|
-
profilePic?: string | undefined;
|
|
156
151
|
blogsCount?: number | undefined;
|
|
157
152
|
userBio?: string | undefined;
|
|
158
153
|
userIdCard?: string | undefined;
|
|
@@ -162,9 +157,14 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
162
157
|
verifiedIdCard?: boolean | undefined;
|
|
163
158
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
164
159
|
userResume?: string | undefined;
|
|
160
|
+
skills?: {
|
|
161
|
+
skill: string;
|
|
162
|
+
skillExpertise: number;
|
|
163
|
+
}[] | undefined;
|
|
165
164
|
wishlist?: string[] | undefined;
|
|
166
165
|
favBlogs?: string[] | undefined;
|
|
167
166
|
favPackages?: string[] | undefined;
|
|
167
|
+
id?: string | undefined;
|
|
168
168
|
selfie?: string | undefined;
|
|
169
169
|
selfieAction?: string | undefined;
|
|
170
170
|
jobCount?: number | undefined;
|
|
@@ -174,10 +174,10 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
174
174
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
175
175
|
properties?: {
|
|
176
176
|
type: string;
|
|
177
|
-
name: string;
|
|
178
177
|
city: string;
|
|
179
178
|
state: string;
|
|
180
179
|
country: string;
|
|
180
|
+
name: string;
|
|
181
181
|
address: string;
|
|
182
182
|
pinCode?: string | undefined;
|
|
183
183
|
registrationNumber?: string | undefined;
|
|
@@ -185,10 +185,9 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
185
185
|
businessDocument?: string | undefined;
|
|
186
186
|
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
187
187
|
businessIdNumber?: string | undefined;
|
|
188
|
-
businessApiVerificationStatus?: "pending" | "
|
|
188
|
+
businessApiVerificationStatus?: "pending" | "failed" | "verified" | undefined;
|
|
189
189
|
businessVerificationDenialReason?: string | undefined;
|
|
190
190
|
} | null) => {
|
|
191
|
-
role: "host" | "user" | "admin" | "hr" | "sales";
|
|
192
191
|
country: string;
|
|
193
192
|
rating: number;
|
|
194
193
|
ratingCount: number;
|
|
@@ -206,15 +205,11 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
206
205
|
lastActive: Date;
|
|
207
206
|
verifiedEmail: boolean;
|
|
208
207
|
verifiedMobile: boolean;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
skill: string;
|
|
212
|
-
skillExpertise: number;
|
|
213
|
-
}[] | undefined;
|
|
208
|
+
role: "admin" | "user" | "host" | "hr" | "sales";
|
|
209
|
+
profilePic?: string | undefined;
|
|
214
210
|
location?: string | undefined;
|
|
215
211
|
pinCode?: string | undefined;
|
|
216
212
|
dob?: Date | undefined;
|
|
217
|
-
profilePic?: string | undefined;
|
|
218
213
|
blogsCount?: number | undefined;
|
|
219
214
|
userBio?: string | undefined;
|
|
220
215
|
userIdCard?: string | undefined;
|
|
@@ -224,9 +219,14 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
224
219
|
verifiedIdCard?: boolean | undefined;
|
|
225
220
|
socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
|
|
226
221
|
userResume?: string | undefined;
|
|
222
|
+
skills?: {
|
|
223
|
+
skill: string;
|
|
224
|
+
skillExpertise: number;
|
|
225
|
+
}[] | undefined;
|
|
227
226
|
wishlist?: string[] | undefined;
|
|
228
227
|
favBlogs?: string[] | undefined;
|
|
229
228
|
favPackages?: string[] | undefined;
|
|
229
|
+
id?: string | undefined;
|
|
230
230
|
selfie?: string | undefined;
|
|
231
231
|
selfieAction?: string | undefined;
|
|
232
232
|
jobCount?: number | undefined;
|
|
@@ -236,10 +236,10 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
236
236
|
verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
|
|
237
237
|
properties?: {
|
|
238
238
|
type: string;
|
|
239
|
-
name: string;
|
|
240
239
|
city: string;
|
|
241
240
|
state: string;
|
|
242
241
|
country: string;
|
|
242
|
+
name: string;
|
|
243
243
|
address: string;
|
|
244
244
|
pinCode?: string | undefined;
|
|
245
245
|
registrationNumber?: string | undefined;
|
|
@@ -247,7 +247,7 @@ export declare const userAtom: import("jotai").WritableAtom<{
|
|
|
247
247
|
businessDocument?: string | undefined;
|
|
248
248
|
businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
|
|
249
249
|
businessIdNumber?: string | undefined;
|
|
250
|
-
businessApiVerificationStatus?: "pending" | "
|
|
250
|
+
businessApiVerificationStatus?: "pending" | "failed" | "verified" | undefined;
|
|
251
251
|
businessVerificationDenialReason?: string | undefined;
|
|
252
252
|
} | typeof import("jotai/utils").RESET | null) | null], void>;
|
|
253
253
|
export declare const isLoggedInAtom: import("jotai").WritableAtom<boolean, [boolean | typeof import("jotai/utils").RESET | ((prev: boolean) => boolean | typeof import("jotai/utils").RESET)], void>;
|