@burdenoff/sdk-libs 2026.626.1 → 2026.627.1
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/modules/crewfoundry/index.cjs +183 -0
- package/dist/modules/crewfoundry/index.d.cts +453 -0
- package/dist/modules/crewfoundry/index.d.ts +453 -0
- package/dist/modules/crewfoundry/index.js +183 -0
- package/dist/modules/ggnomad/index.cjs +164 -0
- package/dist/modules/ggnomad/index.d.cts +282 -0
- package/dist/modules/ggnomad/index.d.ts +282 -0
- package/dist/modules/ggnomad/index.js +164 -0
- package/dist/modules/housingvista/index.cjs +174 -0
- package/dist/modules/housingvista/index.d.cts +287 -0
- package/dist/modules/housingvista/index.d.ts +287 -0
- package/dist/modules/housingvista/index.js +174 -0
- package/package.json +1 -1
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import { J as Json, S as SdkModule } from '../../module-JDbvil5h.js';
|
|
2
|
+
import 'graphql-request';
|
|
3
|
+
|
|
4
|
+
type GgnomadBookingStatus = 'CANCELLED' | 'CHECKED_IN' | 'COMPLETED' | 'CONFIRMED' | 'NO_SHOW' | 'PENDING' | 'REFUNDED';
|
|
5
|
+
type GgnomadBookingType = 'ACTIVITY' | 'EVENT' | 'PROPERTY' | 'TOUR' | 'TRIP';
|
|
6
|
+
type GgnomadListingStatus = 'ACTIVE' | 'ARCHIVED' | 'DRAFT' | 'PAUSED' | 'PENDING_REVIEW';
|
|
7
|
+
interface GgnomadProvider {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
type: string;
|
|
11
|
+
status: string;
|
|
12
|
+
description?: string | null;
|
|
13
|
+
contactEmail?: string | null;
|
|
14
|
+
contactPhone?: string | null;
|
|
15
|
+
website?: string | null;
|
|
16
|
+
rating?: number | null;
|
|
17
|
+
reviewCount: number;
|
|
18
|
+
listingCount: number;
|
|
19
|
+
totalRevenue: number;
|
|
20
|
+
workspaceId: string;
|
|
21
|
+
createdAt: string;
|
|
22
|
+
updatedAt: string;
|
|
23
|
+
}
|
|
24
|
+
interface GgnomadActivity {
|
|
25
|
+
id: string;
|
|
26
|
+
name: string;
|
|
27
|
+
category: string;
|
|
28
|
+
description?: string | null;
|
|
29
|
+
duration: string;
|
|
30
|
+
price: number;
|
|
31
|
+
currency: string;
|
|
32
|
+
location: Json;
|
|
33
|
+
maxParticipants: number;
|
|
34
|
+
difficulty?: string | null;
|
|
35
|
+
images: string[];
|
|
36
|
+
includes: string[];
|
|
37
|
+
requirements: string[];
|
|
38
|
+
safetyInfo?: string | null;
|
|
39
|
+
rating?: number | null;
|
|
40
|
+
reviewCount: number;
|
|
41
|
+
status: GgnomadListingStatus;
|
|
42
|
+
providerId?: string | null;
|
|
43
|
+
provider?: GgnomadProvider | null;
|
|
44
|
+
workspaceId: string;
|
|
45
|
+
createdAt: string;
|
|
46
|
+
updatedAt: string;
|
|
47
|
+
}
|
|
48
|
+
interface GgnomadEvent {
|
|
49
|
+
id: string;
|
|
50
|
+
name: string;
|
|
51
|
+
category: string;
|
|
52
|
+
description?: string | null;
|
|
53
|
+
venue: Json;
|
|
54
|
+
startsAt: string;
|
|
55
|
+
endsAt?: string | null;
|
|
56
|
+
price: number;
|
|
57
|
+
currency: string;
|
|
58
|
+
performers: string[];
|
|
59
|
+
images: string[];
|
|
60
|
+
rating?: number | null;
|
|
61
|
+
reviewCount: number;
|
|
62
|
+
status: GgnomadListingStatus;
|
|
63
|
+
providerId?: string | null;
|
|
64
|
+
provider?: GgnomadProvider | null;
|
|
65
|
+
workspaceId: string;
|
|
66
|
+
createdAt: string;
|
|
67
|
+
updatedAt: string;
|
|
68
|
+
}
|
|
69
|
+
interface GgnomadProperty {
|
|
70
|
+
id: string;
|
|
71
|
+
name: string;
|
|
72
|
+
type: string;
|
|
73
|
+
description?: string | null;
|
|
74
|
+
address: Json;
|
|
75
|
+
pricePerNight: number;
|
|
76
|
+
currency: string;
|
|
77
|
+
maxGuests: number;
|
|
78
|
+
bedrooms?: number | null;
|
|
79
|
+
bathrooms?: number | null;
|
|
80
|
+
amenities: string[];
|
|
81
|
+
images: string[];
|
|
82
|
+
checkInTime?: string | null;
|
|
83
|
+
checkOutTime?: string | null;
|
|
84
|
+
rating?: number | null;
|
|
85
|
+
reviewCount: number;
|
|
86
|
+
status: GgnomadListingStatus;
|
|
87
|
+
providerId?: string | null;
|
|
88
|
+
provider?: GgnomadProvider | null;
|
|
89
|
+
workspaceId: string;
|
|
90
|
+
createdAt: string;
|
|
91
|
+
updatedAt: string;
|
|
92
|
+
}
|
|
93
|
+
interface GgnomadTour {
|
|
94
|
+
id: string;
|
|
95
|
+
name: string;
|
|
96
|
+
type: string;
|
|
97
|
+
description?: string | null;
|
|
98
|
+
duration: string;
|
|
99
|
+
price: number;
|
|
100
|
+
currency: string;
|
|
101
|
+
location: Json;
|
|
102
|
+
maxGroupSize: number;
|
|
103
|
+
difficulty?: string | null;
|
|
104
|
+
guideName?: string | null;
|
|
105
|
+
languages: string[];
|
|
106
|
+
highlights: string[];
|
|
107
|
+
images: string[];
|
|
108
|
+
rating?: number | null;
|
|
109
|
+
reviewCount: number;
|
|
110
|
+
status: GgnomadListingStatus;
|
|
111
|
+
providerId?: string | null;
|
|
112
|
+
provider?: GgnomadProvider | null;
|
|
113
|
+
workspaceId: string;
|
|
114
|
+
createdAt: string;
|
|
115
|
+
updatedAt: string;
|
|
116
|
+
}
|
|
117
|
+
interface GgnomadTrip {
|
|
118
|
+
id: string;
|
|
119
|
+
name: string;
|
|
120
|
+
transportMode: string;
|
|
121
|
+
origin: Json;
|
|
122
|
+
destination: Json;
|
|
123
|
+
departureAt: string;
|
|
124
|
+
arrivalAt: string;
|
|
125
|
+
returnDepartureAt?: string | null;
|
|
126
|
+
returnArrivalAt?: string | null;
|
|
127
|
+
isRoundTrip: boolean;
|
|
128
|
+
passengers: number;
|
|
129
|
+
price: number;
|
|
130
|
+
currency: string;
|
|
131
|
+
carrier?: string | null;
|
|
132
|
+
class?: string | null;
|
|
133
|
+
ecoFriendly: boolean;
|
|
134
|
+
status: string;
|
|
135
|
+
workspaceId: string;
|
|
136
|
+
createdAt: string;
|
|
137
|
+
updatedAt: string;
|
|
138
|
+
}
|
|
139
|
+
interface GgnomadBooking {
|
|
140
|
+
id: string;
|
|
141
|
+
bookingType: GgnomadBookingType;
|
|
142
|
+
itemId: string;
|
|
143
|
+
itemName: string;
|
|
144
|
+
guestName: string;
|
|
145
|
+
guestEmail?: string | null;
|
|
146
|
+
guestPhone?: string | null;
|
|
147
|
+
guests: number;
|
|
148
|
+
checkIn?: string | null;
|
|
149
|
+
checkOut?: string | null;
|
|
150
|
+
eventDate?: string | null;
|
|
151
|
+
totalPrice: number;
|
|
152
|
+
currency: string;
|
|
153
|
+
paymentMethod?: string | null;
|
|
154
|
+
paymentStatus: string;
|
|
155
|
+
status: GgnomadBookingStatus;
|
|
156
|
+
referenceCode: string;
|
|
157
|
+
specialRequests?: string | null;
|
|
158
|
+
workspaceId: string;
|
|
159
|
+
createdAt: string;
|
|
160
|
+
updatedAt: string;
|
|
161
|
+
}
|
|
162
|
+
interface GgnomadAnalytics {
|
|
163
|
+
totalUsers: number;
|
|
164
|
+
totalBookings: number;
|
|
165
|
+
totalRevenue: number;
|
|
166
|
+
conversionRate: number;
|
|
167
|
+
revenueByCategory: Json;
|
|
168
|
+
topDestinations: Json;
|
|
169
|
+
monthlyTrends: Json;
|
|
170
|
+
}
|
|
171
|
+
interface GgnomadOverviewStats {
|
|
172
|
+
users: number;
|
|
173
|
+
listings: number;
|
|
174
|
+
bookings: number;
|
|
175
|
+
monthlyRevenue: number;
|
|
176
|
+
}
|
|
177
|
+
interface GgnomadPaginationInput {
|
|
178
|
+
first?: number;
|
|
179
|
+
skip?: number;
|
|
180
|
+
}
|
|
181
|
+
interface GgnomadFavoritesPaginationInput {
|
|
182
|
+
first?: number;
|
|
183
|
+
skip?: number;
|
|
184
|
+
}
|
|
185
|
+
interface CreateGgnomadProviderInput {
|
|
186
|
+
name: string;
|
|
187
|
+
type: string;
|
|
188
|
+
description?: string;
|
|
189
|
+
contactEmail?: string;
|
|
190
|
+
contactPhone?: string;
|
|
191
|
+
website?: string;
|
|
192
|
+
}
|
|
193
|
+
interface CreateGgnomadPropertyInput {
|
|
194
|
+
name: string;
|
|
195
|
+
type: string;
|
|
196
|
+
address: Json;
|
|
197
|
+
pricePerNight: number;
|
|
198
|
+
maxGuests: number;
|
|
199
|
+
amenities: string[];
|
|
200
|
+
images: string[];
|
|
201
|
+
description?: string;
|
|
202
|
+
currency?: string;
|
|
203
|
+
bedrooms?: number;
|
|
204
|
+
bathrooms?: number;
|
|
205
|
+
checkInTime?: string;
|
|
206
|
+
checkOutTime?: string;
|
|
207
|
+
providerId?: string;
|
|
208
|
+
}
|
|
209
|
+
interface CreateGgnomadBookingInput {
|
|
210
|
+
bookingType: GgnomadBookingType;
|
|
211
|
+
itemId: string;
|
|
212
|
+
itemName: string;
|
|
213
|
+
guestName: string;
|
|
214
|
+
guests: number;
|
|
215
|
+
totalPrice: number;
|
|
216
|
+
guestEmail?: string;
|
|
217
|
+
guestPhone?: string;
|
|
218
|
+
checkIn?: string;
|
|
219
|
+
checkOut?: string;
|
|
220
|
+
eventDate?: string;
|
|
221
|
+
currency?: string;
|
|
222
|
+
paymentMethod?: string;
|
|
223
|
+
specialRequests?: string;
|
|
224
|
+
}
|
|
225
|
+
interface ToggleGgnomadFavoriteInput {
|
|
226
|
+
targetId: string;
|
|
227
|
+
targetType: GgnomadBookingType;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
interface GgnomadPropertiesApi {
|
|
231
|
+
get(id: string): Promise<GgnomadProperty | null>;
|
|
232
|
+
list(pagination?: GgnomadPaginationInput): Promise<GgnomadProperty[]>;
|
|
233
|
+
create(input: CreateGgnomadPropertyInput): Promise<GgnomadProperty>;
|
|
234
|
+
}
|
|
235
|
+
interface GgnomadActivitiesApi {
|
|
236
|
+
get(id: string): Promise<GgnomadActivity | null>;
|
|
237
|
+
list(pagination?: GgnomadPaginationInput): Promise<GgnomadActivity[]>;
|
|
238
|
+
}
|
|
239
|
+
interface GgnomadEventsApi {
|
|
240
|
+
get(id: string): Promise<GgnomadEvent | null>;
|
|
241
|
+
list(pagination?: GgnomadPaginationInput): Promise<GgnomadEvent[]>;
|
|
242
|
+
}
|
|
243
|
+
interface GgnomadToursApi {
|
|
244
|
+
get(id: string): Promise<GgnomadTour | null>;
|
|
245
|
+
list(pagination?: GgnomadPaginationInput): Promise<GgnomadTour[]>;
|
|
246
|
+
}
|
|
247
|
+
interface GgnomadTripsApi {
|
|
248
|
+
list(pagination?: GgnomadPaginationInput): Promise<GgnomadTrip[]>;
|
|
249
|
+
}
|
|
250
|
+
interface GgnomadProvidersApi {
|
|
251
|
+
get(id: string): Promise<GgnomadProvider | null>;
|
|
252
|
+
list(pagination?: GgnomadPaginationInput): Promise<GgnomadProvider[]>;
|
|
253
|
+
create(input: CreateGgnomadProviderInput): Promise<GgnomadProvider>;
|
|
254
|
+
}
|
|
255
|
+
interface GgnomadBookingsApi {
|
|
256
|
+
list(pagination?: GgnomadPaginationInput): Promise<GgnomadBooking[]>;
|
|
257
|
+
create(input: CreateGgnomadBookingInput): Promise<GgnomadBooking>;
|
|
258
|
+
cancel(id: string, reason?: string): Promise<GgnomadBooking>;
|
|
259
|
+
}
|
|
260
|
+
interface GgnomadFavoritesApi {
|
|
261
|
+
list(pagination?: GgnomadFavoritesPaginationInput): Promise<Json[]>;
|
|
262
|
+
toggle(input: ToggleGgnomadFavoriteInput): Promise<boolean>;
|
|
263
|
+
}
|
|
264
|
+
interface GgnomadAnalyticsApi {
|
|
265
|
+
analytics(): Promise<GgnomadAnalytics>;
|
|
266
|
+
overviewStats(): Promise<GgnomadOverviewStats>;
|
|
267
|
+
}
|
|
268
|
+
interface GgnomadApi {
|
|
269
|
+
properties: GgnomadPropertiesApi;
|
|
270
|
+
activities: GgnomadActivitiesApi;
|
|
271
|
+
events: GgnomadEventsApi;
|
|
272
|
+
tours: GgnomadToursApi;
|
|
273
|
+
trips: GgnomadTripsApi;
|
|
274
|
+
providers: GgnomadProvidersApi;
|
|
275
|
+
bookings: GgnomadBookingsApi;
|
|
276
|
+
favorites: GgnomadFavoritesApi;
|
|
277
|
+
analytics: GgnomadAnalyticsApi;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
declare const ggnomadModule: SdkModule<GgnomadApi>;
|
|
281
|
+
|
|
282
|
+
export { type CreateGgnomadBookingInput, type CreateGgnomadPropertyInput, type CreateGgnomadProviderInput, type GgnomadActivitiesApi, type GgnomadActivity, type GgnomadAnalytics, type GgnomadAnalyticsApi, type GgnomadApi, type GgnomadBooking, type GgnomadBookingStatus, type GgnomadBookingType, type GgnomadBookingsApi, type GgnomadEvent, type GgnomadEventsApi, type GgnomadFavoritesApi, type GgnomadFavoritesPaginationInput, type GgnomadListingStatus, type GgnomadOverviewStats, type GgnomadPaginationInput, type GgnomadPropertiesApi, type GgnomadProperty, type GgnomadProvider, type GgnomadProvidersApi, type GgnomadTour, type GgnomadToursApi, type GgnomadTrip, type GgnomadTripsApi, type ToggleGgnomadFavoriteInput, ggnomadModule as default };
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
var a=`
|
|
2
|
+
fragment ProviderFields on GgnomadProvider {
|
|
3
|
+
id name type status description
|
|
4
|
+
contactEmail contactPhone website
|
|
5
|
+
rating reviewCount listingCount totalRevenue
|
|
6
|
+
workspaceId createdAt updatedAt
|
|
7
|
+
}
|
|
8
|
+
`,s=`
|
|
9
|
+
${a}
|
|
10
|
+
fragment ActivityFields on GgnomadActivity {
|
|
11
|
+
id name category description duration price currency
|
|
12
|
+
location maxParticipants difficulty
|
|
13
|
+
images includes requirements safetyInfo
|
|
14
|
+
rating reviewCount status providerId
|
|
15
|
+
provider { ...ProviderFields }
|
|
16
|
+
workspaceId createdAt updatedAt
|
|
17
|
+
}
|
|
18
|
+
`,m=`
|
|
19
|
+
${a}
|
|
20
|
+
fragment EventFields on GgnomadEvent {
|
|
21
|
+
id name category description venue startsAt endsAt
|
|
22
|
+
price currency performers images
|
|
23
|
+
rating reviewCount status providerId
|
|
24
|
+
provider { ...ProviderFields }
|
|
25
|
+
workspaceId createdAt updatedAt
|
|
26
|
+
}
|
|
27
|
+
`,i=`
|
|
28
|
+
${a}
|
|
29
|
+
fragment PropertyFields on GgnomadProperty {
|
|
30
|
+
id name type description address pricePerNight currency
|
|
31
|
+
maxGuests bedrooms bathrooms amenities images
|
|
32
|
+
checkInTime checkOutTime
|
|
33
|
+
rating reviewCount status providerId
|
|
34
|
+
provider { ...ProviderFields }
|
|
35
|
+
workspaceId createdAt updatedAt
|
|
36
|
+
}
|
|
37
|
+
`,p=`
|
|
38
|
+
${a}
|
|
39
|
+
fragment TourFields on GgnomadTour {
|
|
40
|
+
id name type description duration price currency
|
|
41
|
+
location maxGroupSize difficulty guideName
|
|
42
|
+
languages highlights images
|
|
43
|
+
rating reviewCount status providerId
|
|
44
|
+
provider { ...ProviderFields }
|
|
45
|
+
workspaceId createdAt updatedAt
|
|
46
|
+
}
|
|
47
|
+
`,x=`
|
|
48
|
+
fragment TripFields on GgnomadTrip {
|
|
49
|
+
id name transportMode origin destination
|
|
50
|
+
departureAt arrivalAt returnDepartureAt returnArrivalAt
|
|
51
|
+
isRoundTrip passengers price currency carrier class
|
|
52
|
+
ecoFriendly status workspaceId createdAt updatedAt
|
|
53
|
+
}
|
|
54
|
+
`,r=`
|
|
55
|
+
fragment BookingFields on GgnomadBooking {
|
|
56
|
+
id bookingType itemId itemName
|
|
57
|
+
guestName guestEmail guestPhone guests
|
|
58
|
+
checkIn checkOut eventDate
|
|
59
|
+
totalPrice currency paymentMethod paymentStatus
|
|
60
|
+
status referenceCode specialRequests
|
|
61
|
+
workspaceId createdAt updatedAt
|
|
62
|
+
}
|
|
63
|
+
`,c=`
|
|
64
|
+
${i}
|
|
65
|
+
query GgnomadProperty($id: ID!) {
|
|
66
|
+
ggnomadProperty(id: $id) { ...PropertyFields }
|
|
67
|
+
}
|
|
68
|
+
`,G=`
|
|
69
|
+
${i}
|
|
70
|
+
query GgnomadProperties($pagination: GgnomadPaginationInput) {
|
|
71
|
+
ggnomadProperties(pagination: $pagination) { ...PropertyFields }
|
|
72
|
+
}
|
|
73
|
+
`,u=`
|
|
74
|
+
${i}
|
|
75
|
+
mutation CreateGgnomadProperty($input: CreateGgnomadPropertyInput!) {
|
|
76
|
+
createGgnomadProperty(input: $input) { ...PropertyFields }
|
|
77
|
+
}
|
|
78
|
+
`,v=`
|
|
79
|
+
${s}
|
|
80
|
+
query GgnomadActivity($id: ID!) {
|
|
81
|
+
ggnomadActivity(id: $id) { ...ActivityFields }
|
|
82
|
+
}
|
|
83
|
+
`,P=`
|
|
84
|
+
${s}
|
|
85
|
+
query GgnomadActivities($pagination: GgnomadPaginationInput) {
|
|
86
|
+
ggnomadActivities(pagination: $pagination) { ...ActivityFields }
|
|
87
|
+
}
|
|
88
|
+
`,A=`
|
|
89
|
+
${m}
|
|
90
|
+
query GgnomadEvent($id: ID!) {
|
|
91
|
+
ggnomadEvent(id: $id) { ...EventFields }
|
|
92
|
+
}
|
|
93
|
+
`,y=`
|
|
94
|
+
${m}
|
|
95
|
+
query GgnomadEvents($pagination: GgnomadPaginationInput) {
|
|
96
|
+
ggnomadEvents(pagination: $pagination) { ...EventFields }
|
|
97
|
+
}
|
|
98
|
+
`,l=`
|
|
99
|
+
${p}
|
|
100
|
+
query GgnomadTour($id: ID!) {
|
|
101
|
+
ggnomadTour(id: $id) { ...TourFields }
|
|
102
|
+
}
|
|
103
|
+
`,T=`
|
|
104
|
+
${p}
|
|
105
|
+
query GgnomadTours($pagination: GgnomadPaginationInput) {
|
|
106
|
+
ggnomadTours(pagination: $pagination) { ...TourFields }
|
|
107
|
+
}
|
|
108
|
+
`,I=`
|
|
109
|
+
${x}
|
|
110
|
+
query GgnomadTrips($pagination: GgnomadPaginationInput) {
|
|
111
|
+
ggnomadTrips(pagination: $pagination) { ...TripFields }
|
|
112
|
+
}
|
|
113
|
+
`,E=`
|
|
114
|
+
${a}
|
|
115
|
+
query GgnomadProvider($id: ID!) {
|
|
116
|
+
ggnomadProvider(id: $id) { ...ProviderFields }
|
|
117
|
+
}
|
|
118
|
+
`,S=`
|
|
119
|
+
${a}
|
|
120
|
+
query GgnomadProviders($pagination: GgnomadPaginationInput) {
|
|
121
|
+
ggnomadProviders(pagination: $pagination) { ...ProviderFields }
|
|
122
|
+
}
|
|
123
|
+
`,F=`
|
|
124
|
+
${a}
|
|
125
|
+
mutation CreateGgnomadProvider($input: CreateGgnomadProviderInput!) {
|
|
126
|
+
createGgnomadProvider(input: $input) { ...ProviderFields }
|
|
127
|
+
}
|
|
128
|
+
`,k=`
|
|
129
|
+
${r}
|
|
130
|
+
query GgnomadBookings($pagination: GgnomadPaginationInput) {
|
|
131
|
+
ggnomadBookings(pagination: $pagination) { ...BookingFields }
|
|
132
|
+
}
|
|
133
|
+
`,$=`
|
|
134
|
+
${r}
|
|
135
|
+
mutation CreateGgnomadBooking($input: CreateGgnomadBookingInput!) {
|
|
136
|
+
createGgnomadBooking(input: $input) { ...BookingFields }
|
|
137
|
+
}
|
|
138
|
+
`,O=`
|
|
139
|
+
${r}
|
|
140
|
+
mutation CancelGgnomadBooking($id: ID!, $reason: String) {
|
|
141
|
+
cancelGgnomadBooking(id: $id, reason: $reason) { ...BookingFields }
|
|
142
|
+
}
|
|
143
|
+
`,R=`
|
|
144
|
+
query GgnomadFavorites($pagination: GgnomadFavoritesPaginationInput) {
|
|
145
|
+
ggnomadFavorites(pagination: $pagination)
|
|
146
|
+
}
|
|
147
|
+
`,_=`
|
|
148
|
+
mutation ToggleGgnomadFavorite($input: ToggleGgnomadFavoriteInput!) {
|
|
149
|
+
toggleGgnomadFavorite(input: $input)
|
|
150
|
+
}
|
|
151
|
+
`,B=`
|
|
152
|
+
query GgnomadAnalytics {
|
|
153
|
+
ggnomadAnalytics {
|
|
154
|
+
totalUsers totalBookings totalRevenue conversionRate
|
|
155
|
+
revenueByCategory topDestinations monthlyTrends
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
`,w=`
|
|
159
|
+
query GgnomadOverviewStats {
|
|
160
|
+
ggnomadOverviewStats {
|
|
161
|
+
users listings bookings monthlyRevenue
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
`;function C(e){let{workspace:o}=e.gql;return {properties:{async get(t){return (await o.request(c,{id:t})).ggnomadProperty},async list(t){return (await o.request(G,{pagination:t})).ggnomadProperties},async create(t){return (await o.request(u,{input:t})).createGgnomadProperty}},activities:{async get(t){return (await o.request(v,{id:t})).ggnomadActivity},async list(t){return (await o.request(P,{pagination:t})).ggnomadActivities}},events:{async get(t){return (await o.request(A,{id:t})).ggnomadEvent},async list(t){return (await o.request(y,{pagination:t})).ggnomadEvents}},tours:{async get(t){return (await o.request(l,{id:t})).ggnomadTour},async list(t){return (await o.request(T,{pagination:t})).ggnomadTours}},trips:{async list(t){return (await o.request(I,{pagination:t})).ggnomadTrips}},providers:{async get(t){return (await o.request(E,{id:t})).ggnomadProvider},async list(t){return (await o.request(S,{pagination:t})).ggnomadProviders},async create(t){return (await o.request(F,{input:t})).createGgnomadProvider}},bookings:{async list(t){return (await o.request(k,{pagination:t})).ggnomadBookings},async create(t){return (await o.request($,{input:t})).createGgnomadBooking},async cancel(t,n){return (await o.request(O,{id:t,reason:n})).cancelGgnomadBooking}},favorites:{async list(t){return (await o.request(R,{pagination:t})).ggnomadFavorites},async toggle(t){return (await o.request(_,{input:t})).toggleGgnomadFavorite}},analytics:{async analytics(){return (await o.request(B)).ggnomadAnalytics},async overviewStats(){return (await o.request(w)).ggnomadOverviewStats}}}}var q={id:"ggnomad",version:"1.0.0",displayName:"GGNomad",dependsOn:["auth"],attach(e){return C(e)}},Q=q;export{Q as default};
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
'use strict';var a=`
|
|
2
|
+
fragment PropertyFields on Property {
|
|
3
|
+
id title description category type status
|
|
4
|
+
bedrooms bathrooms totalArea price
|
|
5
|
+
city state imageUrl context
|
|
6
|
+
workspaceId createdAt updatedAt
|
|
7
|
+
}
|
|
8
|
+
`,o=`
|
|
9
|
+
${a}
|
|
10
|
+
fragment TransactionFields on HousingVistaTransaction {
|
|
11
|
+
id title type status amount currency
|
|
12
|
+
propertyId parties escrow milestones documents
|
|
13
|
+
property { ...PropertyFields }
|
|
14
|
+
workspaceId createdAt updatedAt
|
|
15
|
+
}
|
|
16
|
+
`,r=`
|
|
17
|
+
${a}
|
|
18
|
+
fragment InvestmentFields on Investment {
|
|
19
|
+
id title investmentType status riskLevel totalValue
|
|
20
|
+
propertyId investors returns
|
|
21
|
+
property { ...PropertyFields }
|
|
22
|
+
workspaceId createdAt updatedAt
|
|
23
|
+
}
|
|
24
|
+
`,$=`
|
|
25
|
+
fragment AssetFields on HousingVistaAsset {
|
|
26
|
+
id title type category status
|
|
27
|
+
location currentValue purchasePrice
|
|
28
|
+
appreciationPercent rentalYield imageUrl
|
|
29
|
+
}
|
|
30
|
+
`,F=`
|
|
31
|
+
fragment RentalUnitFields on RentalUnit {
|
|
32
|
+
id unitNumber propertyId propertyTitle status
|
|
33
|
+
tenantName tenantEmail tenantPhone
|
|
34
|
+
monthlyRent securityDeposit leaseStart leaseEnd
|
|
35
|
+
paymentStatus lastPaymentAt
|
|
36
|
+
}
|
|
37
|
+
`,M=`
|
|
38
|
+
fragment AmcContractFields on AmcContract {
|
|
39
|
+
id packageName propertyTitle providerName status
|
|
40
|
+
monthlyCost startDate endDate nextServiceDate servicesIncluded
|
|
41
|
+
}
|
|
42
|
+
`,N=`
|
|
43
|
+
fragment AreaInsightFields on AreaInsight {
|
|
44
|
+
id areaName city population avgPropertyPrice avgRentalYield
|
|
45
|
+
appreciationRate safetyScore connectivityScore amenitiesScore
|
|
46
|
+
greenCoverPercent schoolsNearby hospitalsNearby upcomingProjects
|
|
47
|
+
}
|
|
48
|
+
`,V=`
|
|
49
|
+
fragment MarketTrendFields on MarketTrend {
|
|
50
|
+
id monthLabel avgPrice avgRent demandIndex supplyIndex priceChangePercent
|
|
51
|
+
}
|
|
52
|
+
`,C=`
|
|
53
|
+
fragment HomeLoanOfferFields on HomeLoanOffer {
|
|
54
|
+
id bankName interestRate maxAmount maxTenure
|
|
55
|
+
processingFee prepaymentCharges emiPerLakh rating
|
|
56
|
+
features specialOffer
|
|
57
|
+
}
|
|
58
|
+
`,k=`
|
|
59
|
+
fragment LegalServiceFields on LegalService {
|
|
60
|
+
id title category status description
|
|
61
|
+
providerName providerRating consultationFee priceRange
|
|
62
|
+
estimatedDuration documentsRequired features
|
|
63
|
+
}
|
|
64
|
+
`,O=`
|
|
65
|
+
fragment MarketplaceServiceFields on MarketplaceService {
|
|
66
|
+
id name category description providerName
|
|
67
|
+
rating reviewCount verified featured
|
|
68
|
+
priceRange responseTime availableAreas imageUrl
|
|
69
|
+
}
|
|
70
|
+
`,x=`
|
|
71
|
+
fragment VerificationItemFields on VerificationItem {
|
|
72
|
+
id entityType entityLabel status priority notes submittedAt
|
|
73
|
+
}
|
|
74
|
+
`,u=`
|
|
75
|
+
${a}
|
|
76
|
+
query HousingvistaProperty($id: ID!) {
|
|
77
|
+
housingvistaProperty(id: $id) { ...PropertyFields }
|
|
78
|
+
}
|
|
79
|
+
`,g=`
|
|
80
|
+
${a}
|
|
81
|
+
query HousingvistaProperties(
|
|
82
|
+
$filter: HousingVistaPropertyFilterInput
|
|
83
|
+
$pagination: HousingVistaPaginationInput
|
|
84
|
+
) {
|
|
85
|
+
housingvistaProperties(filter: $filter, pagination: $pagination) { ...PropertyFields }
|
|
86
|
+
}
|
|
87
|
+
`,p=`
|
|
88
|
+
${a}
|
|
89
|
+
mutation CreateHousingvistaProperty($input: CreatePropertyInput!) {
|
|
90
|
+
createHousingvistaProperty(input: $input) { ...PropertyFields }
|
|
91
|
+
}
|
|
92
|
+
`,v=`
|
|
93
|
+
${a}
|
|
94
|
+
mutation UpdateHousingvistaProperty($id: ID!, $input: UpdatePropertyInput!) {
|
|
95
|
+
updateHousingvistaProperty(id: $id, input: $input) { ...PropertyFields }
|
|
96
|
+
}
|
|
97
|
+
`,c=`
|
|
98
|
+
mutation DeleteHousingvistaProperty($id: ID!) {
|
|
99
|
+
deleteHousingvistaProperty(id: $id)
|
|
100
|
+
}
|
|
101
|
+
`,H=`
|
|
102
|
+
${o}
|
|
103
|
+
query HousingvistaTransaction($id: ID!) {
|
|
104
|
+
housingvistaTransaction(id: $id) { ...TransactionFields }
|
|
105
|
+
}
|
|
106
|
+
`,d=`
|
|
107
|
+
${o}
|
|
108
|
+
query HousingvistaTransactions($pagination: HousingVistaPaginationInput) {
|
|
109
|
+
housingvistaTransactions(pagination: $pagination) { ...TransactionFields }
|
|
110
|
+
}
|
|
111
|
+
`,l=`
|
|
112
|
+
${r}
|
|
113
|
+
query HousingvistaInvestment($id: ID!) {
|
|
114
|
+
housingvistaInvestment(id: $id) { ...InvestmentFields }
|
|
115
|
+
}
|
|
116
|
+
`,A=`
|
|
117
|
+
${r}
|
|
118
|
+
query HousingvistaInvestments($pagination: HousingVistaPaginationInput) {
|
|
119
|
+
housingvistaInvestments(pagination: $pagination) { ...InvestmentFields }
|
|
120
|
+
}
|
|
121
|
+
`,I=`
|
|
122
|
+
${$}
|
|
123
|
+
query HousingvistaAssets($pagination: HousingVistaPaginationInput) {
|
|
124
|
+
housingvistaAssets(pagination: $pagination) { ...AssetFields }
|
|
125
|
+
}
|
|
126
|
+
`,m=`
|
|
127
|
+
${F}
|
|
128
|
+
query HousingvistaRentalUnits($pagination: HousingVistaPaginationInput) {
|
|
129
|
+
housingvistaRentalUnits(pagination: $pagination) { ...RentalUnitFields }
|
|
130
|
+
}
|
|
131
|
+
`,T=`
|
|
132
|
+
${M}
|
|
133
|
+
query HousingvistaAmcContracts($pagination: HousingVistaPaginationInput) {
|
|
134
|
+
housingvistaAmcContracts(pagination: $pagination) { ...AmcContractFields }
|
|
135
|
+
}
|
|
136
|
+
`,y=`
|
|
137
|
+
${N}
|
|
138
|
+
query HousingvistaAreaInsights($pagination: HousingVistaPaginationInput) {
|
|
139
|
+
housingvistaAreaInsights(pagination: $pagination) { ...AreaInsightFields }
|
|
140
|
+
}
|
|
141
|
+
`,P=`
|
|
142
|
+
${V}
|
|
143
|
+
query HousingvistaMarketTrends($pagination: HousingVistaPaginationInput) {
|
|
144
|
+
housingvistaMarketTrends(pagination: $pagination) { ...MarketTrendFields }
|
|
145
|
+
}
|
|
146
|
+
`,S=`
|
|
147
|
+
${C}
|
|
148
|
+
query HousingvistaHomeLoanOffers($pagination: HousingVistaPaginationInput) {
|
|
149
|
+
housingvistaHomeLoanOffers(pagination: $pagination) { ...HomeLoanOfferFields }
|
|
150
|
+
}
|
|
151
|
+
`,E=`
|
|
152
|
+
${O}
|
|
153
|
+
query HousingvistaMarketplaceServices($pagination: HousingVistaPaginationInput) {
|
|
154
|
+
housingvistaMarketplaceServices(pagination: $pagination) { ...MarketplaceServiceFields }
|
|
155
|
+
}
|
|
156
|
+
`,h=`
|
|
157
|
+
${k}
|
|
158
|
+
query HousingvistaLegalServices($pagination: HousingVistaPaginationInput) {
|
|
159
|
+
housingvistaLegalServices(pagination: $pagination) { ...LegalServiceFields }
|
|
160
|
+
}
|
|
161
|
+
`,R=`
|
|
162
|
+
${x}
|
|
163
|
+
query HousingvistaVerificationItems($pagination: HousingVistaPaginationInput) {
|
|
164
|
+
housingvistaVerificationItems(pagination: $pagination) { ...VerificationItemFields }
|
|
165
|
+
}
|
|
166
|
+
`,L=`
|
|
167
|
+
query HousingvistaDashboardStats {
|
|
168
|
+
housingvistaDashboardStats {
|
|
169
|
+
totalProperties totalValue totalPortfolioValue totalInvestments investmentReturns
|
|
170
|
+
totalTenants occupancyRate monthlyRevenue activeTransactions
|
|
171
|
+
pendingVerifications maintenanceRequests unreadMessages upcomingViewings
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
`;function f(n){let{workspace:i}=n.gql;return {properties:{async get(t){return (await i.request(u,{id:t})).housingvistaProperty},async list(t,s){return (await i.request(g,{filter:t,pagination:s})).housingvistaProperties},async create(t){return (await i.request(p,{input:t})).createHousingvistaProperty},async update(t,s){return (await i.request(v,{id:t,input:s})).updateHousingvistaProperty},async delete(t){return (await i.request(c,{id:t})).deleteHousingvistaProperty}},transactions:{async get(t){return (await i.request(H,{id:t})).housingvistaTransaction},async list(t){return (await i.request(d,{pagination:t})).housingvistaTransactions}},investments:{async get(t){return (await i.request(l,{id:t})).housingvistaInvestment},async list(t){return (await i.request(A,{pagination:t})).housingvistaInvestments}},assets:{async list(t){return (await i.request(I,{pagination:t})).housingvistaAssets}},rentals:{async list(t){return (await i.request(m,{pagination:t})).housingvistaRentalUnits}},amc:{async list(t){return (await i.request(T,{pagination:t})).housingvistaAmcContracts}},market:{async areaInsights(t){return (await i.request(y,{pagination:t})).housingvistaAreaInsights},async trends(t){return (await i.request(P,{pagination:t})).housingvistaMarketTrends}},homeLoans:{async list(t){return (await i.request(S,{pagination:t})).housingvistaHomeLoanOffers}},marketplace:{async services(t){return (await i.request(E,{pagination:t})).housingvistaMarketplaceServices},async legalServices(t){return (await i.request(h,{pagination:t})).housingvistaLegalServices}},verifications:{async list(t){return (await i.request(R,{pagination:t})).housingvistaVerificationItems}},analytics:{async dashboardStats(){return (await i.request(L)).housingvistaDashboardStats}}}}var D={id:"housingvista",version:"1.0.0",displayName:"HousingVista",dependsOn:["auth"],attach(n){return f(n)}},st=D;module.exports=st;
|