@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.
@@ -0,0 +1,164 @@
1
+ 'use strict';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
+ `,g=`
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
+ `,s=`
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
+ `,m=`
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
+ `,C=`
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
+ `,p=`
64
+ ${i}
65
+ query GgnomadProperty($id: ID!) {
66
+ ggnomadProperty(id: $id) { ...PropertyFields }
67
+ }
68
+ `,c=`
69
+ ${i}
70
+ query GgnomadProperties($pagination: GgnomadPaginationInput) {
71
+ ggnomadProperties(pagination: $pagination) { ...PropertyFields }
72
+ }
73
+ `,G=`
74
+ ${i}
75
+ mutation CreateGgnomadProperty($input: CreateGgnomadPropertyInput!) {
76
+ createGgnomadProperty(input: $input) { ...PropertyFields }
77
+ }
78
+ `,u=`
79
+ ${g}
80
+ query GgnomadActivity($id: ID!) {
81
+ ggnomadActivity(id: $id) { ...ActivityFields }
82
+ }
83
+ `,v=`
84
+ ${g}
85
+ query GgnomadActivities($pagination: GgnomadPaginationInput) {
86
+ ggnomadActivities(pagination: $pagination) { ...ActivityFields }
87
+ }
88
+ `,P=`
89
+ ${s}
90
+ query GgnomadEvent($id: ID!) {
91
+ ggnomadEvent(id: $id) { ...EventFields }
92
+ }
93
+ `,A=`
94
+ ${s}
95
+ query GgnomadEvents($pagination: GgnomadPaginationInput) {
96
+ ggnomadEvents(pagination: $pagination) { ...EventFields }
97
+ }
98
+ `,y=`
99
+ ${m}
100
+ query GgnomadTour($id: ID!) {
101
+ ggnomadTour(id: $id) { ...TourFields }
102
+ }
103
+ `,l=`
104
+ ${m}
105
+ query GgnomadTours($pagination: GgnomadPaginationInput) {
106
+ ggnomadTours(pagination: $pagination) { ...TourFields }
107
+ }
108
+ `,T=`
109
+ ${C}
110
+ query GgnomadTrips($pagination: GgnomadPaginationInput) {
111
+ ggnomadTrips(pagination: $pagination) { ...TripFields }
112
+ }
113
+ `,I=`
114
+ ${a}
115
+ query GgnomadProvider($id: ID!) {
116
+ ggnomadProvider(id: $id) { ...ProviderFields }
117
+ }
118
+ `,E=`
119
+ ${a}
120
+ query GgnomadProviders($pagination: GgnomadPaginationInput) {
121
+ ggnomadProviders(pagination: $pagination) { ...ProviderFields }
122
+ }
123
+ `,S=`
124
+ ${a}
125
+ mutation CreateGgnomadProvider($input: CreateGgnomadProviderInput!) {
126
+ createGgnomadProvider(input: $input) { ...ProviderFields }
127
+ }
128
+ `,F=`
129
+ ${r}
130
+ query GgnomadBookings($pagination: GgnomadPaginationInput) {
131
+ ggnomadBookings(pagination: $pagination) { ...BookingFields }
132
+ }
133
+ `,k=`
134
+ ${r}
135
+ mutation CreateGgnomadBooking($input: CreateGgnomadBookingInput!) {
136
+ createGgnomadBooking(input: $input) { ...BookingFields }
137
+ }
138
+ `,$=`
139
+ ${r}
140
+ mutation CancelGgnomadBooking($id: ID!, $reason: String) {
141
+ cancelGgnomadBooking(id: $id, reason: $reason) { ...BookingFields }
142
+ }
143
+ `,O=`
144
+ query GgnomadFavorites($pagination: GgnomadFavoritesPaginationInput) {
145
+ ggnomadFavorites(pagination: $pagination)
146
+ }
147
+ `,R=`
148
+ mutation ToggleGgnomadFavorite($input: ToggleGgnomadFavoriteInput!) {
149
+ toggleGgnomadFavorite(input: $input)
150
+ }
151
+ `,_=`
152
+ query GgnomadAnalytics {
153
+ ggnomadAnalytics {
154
+ totalUsers totalBookings totalRevenue conversionRate
155
+ revenueByCategory topDestinations monthlyTrends
156
+ }
157
+ }
158
+ `,B=`
159
+ query GgnomadOverviewStats {
160
+ ggnomadOverviewStats {
161
+ users listings bookings monthlyRevenue
162
+ }
163
+ }
164
+ `;function w(e){let{workspace:o}=e.gql;return {properties:{async get(t){return (await o.request(p,{id:t})).ggnomadProperty},async list(t){return (await o.request(c,{pagination:t})).ggnomadProperties},async create(t){return (await o.request(G,{input:t})).createGgnomadProperty}},activities:{async get(t){return (await o.request(u,{id:t})).ggnomadActivity},async list(t){return (await o.request(v,{pagination:t})).ggnomadActivities}},events:{async get(t){return (await o.request(P,{id:t})).ggnomadEvent},async list(t){return (await o.request(A,{pagination:t})).ggnomadEvents}},tours:{async get(t){return (await o.request(y,{id:t})).ggnomadTour},async list(t){return (await o.request(l,{pagination:t})).ggnomadTours}},trips:{async list(t){return (await o.request(T,{pagination:t})).ggnomadTrips}},providers:{async get(t){return (await o.request(I,{id:t})).ggnomadProvider},async list(t){return (await o.request(E,{pagination:t})).ggnomadProviders},async create(t){return (await o.request(S,{input:t})).createGgnomadProvider}},bookings:{async list(t){return (await o.request(F,{pagination:t})).ggnomadBookings},async create(t){return (await o.request(k,{input:t})).createGgnomadBooking},async cancel(t,n){return (await o.request($,{id:t,reason:n})).cancelGgnomadBooking}},favorites:{async list(t){return (await o.request(O,{pagination:t})).ggnomadFavorites},async toggle(t){return (await o.request(R,{input:t})).toggleGgnomadFavorite}},analytics:{async analytics(){return (await o.request(_)).ggnomadAnalytics},async overviewStats(){return (await o.request(B)).ggnomadOverviewStats}}}}var x={id:"ggnomad",version:"1.0.0",displayName:"GGNomad",dependsOn:["auth"],attach(e){return w(e)}},H=x;module.exports=H;
@@ -0,0 +1,282 @@
1
+ import { J as Json, S as SdkModule } from '../../module-JDbvil5h.cjs';
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 };