@burdenoff/cli-sdk 2026.626.1 → 2026.627.2

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.
Files changed (41) hide show
  1. package/dist/modules/assethandler/index.cjs +255 -0
  2. package/dist/modules/assethandler/index.d.cts +7 -0
  3. package/dist/modules/assethandler/index.d.ts +7 -0
  4. package/dist/modules/assethandler/index.js +255 -0
  5. package/dist/modules/crewfoundry/index.cjs +196 -0
  6. package/dist/modules/crewfoundry/index.d.cts +7 -0
  7. package/dist/modules/crewfoundry/index.d.ts +7 -0
  8. package/dist/modules/crewfoundry/index.js +196 -0
  9. package/dist/modules/eventfullymanaged/index.cjs +247 -0
  10. package/dist/modules/eventfullymanaged/index.d.cts +7 -0
  11. package/dist/modules/eventfullymanaged/index.d.ts +7 -0
  12. package/dist/modules/eventfullymanaged/index.js +247 -0
  13. package/dist/modules/ggnomad/index.cjs +140 -0
  14. package/dist/modules/ggnomad/index.d.cts +7 -0
  15. package/dist/modules/ggnomad/index.d.ts +7 -0
  16. package/dist/modules/ggnomad/index.js +140 -0
  17. package/dist/modules/headshotmarketing/index.cjs +1083 -0
  18. package/dist/modules/headshotmarketing/index.d.cts +7 -0
  19. package/dist/modules/headshotmarketing/index.d.ts +7 -0
  20. package/dist/modules/headshotmarketing/index.js +1083 -0
  21. package/dist/modules/housingvista/index.cjs +137 -0
  22. package/dist/modules/housingvista/index.d.cts +7 -0
  23. package/dist/modules/housingvista/index.d.ts +7 -0
  24. package/dist/modules/housingvista/index.js +137 -0
  25. package/dist/modules/movethewheels/index.cjs +565 -0
  26. package/dist/modules/movethewheels/index.d.cts +7 -0
  27. package/dist/modules/movethewheels/index.d.ts +7 -0
  28. package/dist/modules/movethewheels/index.js +565 -0
  29. package/dist/modules/planmagnet/index.cjs +795 -0
  30. package/dist/modules/planmagnet/index.d.cts +7 -0
  31. package/dist/modules/planmagnet/index.d.ts +7 -0
  32. package/dist/modules/planmagnet/index.js +795 -0
  33. package/dist/modules/proserviceworld/index.cjs +193 -0
  34. package/dist/modules/proserviceworld/index.d.cts +7 -0
  35. package/dist/modules/proserviceworld/index.d.ts +7 -0
  36. package/dist/modules/proserviceworld/index.js +193 -0
  37. package/dist/modules/timecampus/index.cjs +444 -0
  38. package/dist/modules/timecampus/index.d.cts +7 -0
  39. package/dist/modules/timecampus/index.d.ts +7 -0
  40. package/dist/modules/timecampus/index.js +444 -0
  41. package/package.json +1 -1
@@ -0,0 +1,247 @@
1
+ import {a,b,h as h$1,p,o,g,i}from'../../chunk-WXDQ3S5J.js';import {o as o$1}from'../../chunk-TCBALVP4.js';var v=`
2
+ id name description type status visibility timezone startAt endAt capacity
3
+ metadata createdAt updatedAt workspaceId
4
+ `,$=`
5
+ query EventfullymanagedEvents($limit: Int, $offset: Int, $search: String, $workspaceId: ID) {
6
+ eventfullyManagedEvents(limit: $limit, offset: $offset, search: $search, workspaceId: $workspaceId) {
7
+ total
8
+ items { ${v} }
9
+ }
10
+ }
11
+ `,M=`
12
+ query EventfullymanagedEvent($id: ID!) {
13
+ eventfullyManagedEvent(id: $id) { ${v} }
14
+ }
15
+ `,R=`
16
+ mutation EventfullymanagedCreateEvent($input: EventfullyManagedEventInput!) {
17
+ eventfullyManagedCreateEvent(input: $input) { ${v} }
18
+ }
19
+ `,L=`
20
+ mutation EventfullymanagedUpdateEvent($id: ID!, $input: EventfullyManagedEventInput!) {
21
+ eventfullyManagedUpdateEvent(id: $id, input: $input) { ${v} }
22
+ }
23
+ `,N=`
24
+ mutation EventfullymanagedDeleteEvent($id: ID!) {
25
+ eventfullyManagedDeleteEvent(id: $id)
26
+ }
27
+ `,E=`
28
+ id name description status capacity addressLine1 city state country postalCode
29
+ amenities openingHours pricing metadata createdAt updatedAt workspaceId
30
+ `,P=`
31
+ query EventfullymanagedVenues($limit: Int, $offset: Int, $search: String, $workspaceId: ID) {
32
+ eventfullyManagedVenues(limit: $limit, offset: $offset, search: $search, workspaceId: $workspaceId) {
33
+ total
34
+ items { ${E} }
35
+ }
36
+ }
37
+ `,U=`
38
+ query EventfullymanagedVenue($id: ID!) {
39
+ eventfullyManagedVenue(id: $id) { ${E} }
40
+ }
41
+ `,_=`
42
+ mutation EventfullymanagedCreateVenue($input: EventfullyManagedVenueInput!) {
43
+ eventfullyManagedCreateVenue(input: $input) { ${E} }
44
+ }
45
+ `,x=`
46
+ mutation EventfullymanagedUpdateVenue($id: ID!, $input: EventfullyManagedVenueInput!) {
47
+ eventfullyManagedUpdateVenue(id: $id, input: $input) { ${E} }
48
+ }
49
+ `,q=`
50
+ mutation EventfullymanagedDeleteVenue($id: ID!) {
51
+ eventfullyManagedDeleteVenue(id: $id)
52
+ }
53
+ `,I=`
54
+ id eventId name level logoUrl website contactName contactEmail contactPhone
55
+ metrics metadata createdAt updatedAt workspaceId
56
+ `,V=`
57
+ query EventfullymanagedSponsors($eventId: ID, $limit: Int, $offset: Int, $search: String, $workspaceId: ID) {
58
+ eventfullyManagedSponsors(eventId: $eventId, limit: $limit, offset: $offset, search: $search, workspaceId: $workspaceId) {
59
+ total
60
+ items { ${I} }
61
+ }
62
+ }
63
+ `,F=`
64
+ query EventfullymanagedSponsor($id: ID!) {
65
+ eventfullyManagedSponsor(id: $id) { ${I} }
66
+ }
67
+ `,J=`
68
+ mutation EventfullymanagedCreateSponsor($input: EventfullyManagedSponsorInput!) {
69
+ eventfullyManagedCreateSponsor(input: $input) { ${I} }
70
+ }
71
+ `,z=`
72
+ mutation EventfullymanagedUpdateSponsor($id: ID!, $input: EventfullyManagedSponsorInput!) {
73
+ eventfullyManagedUpdateSponsor(id: $id, input: $input) { ${I} }
74
+ }
75
+ `,j=`
76
+ mutation EventfullymanagedDeleteSponsor($id: ID!) {
77
+ eventfullyManagedDeleteSponsor(id: $id)
78
+ }
79
+ `,k=`
80
+ id eventId fullName email phone company role tags profile metadata
81
+ createdAt updatedAt workspaceId
82
+ `,H=`
83
+ query EventfullymanagedAttendees($eventId: ID, $limit: Int, $offset: Int, $workspaceId: ID) {
84
+ eventfullyManagedAttendees(eventId: $eventId, limit: $limit, offset: $offset, workspaceId: $workspaceId) {
85
+ total
86
+ items { ${k} }
87
+ }
88
+ }
89
+ `,K=`
90
+ mutation EventfullymanagedCreateAttendee($input: EventfullyManagedAttendeeInput!) {
91
+ eventfullyManagedCreateAttendee(input: $input) { ${k} }
92
+ }
93
+ `,W=`
94
+ mutation EventfullymanagedUpdateAttendee($id: ID!, $input: EventfullyManagedAttendeeInput!) {
95
+ eventfullyManagedUpdateAttendee(id: $id, input: $input) { ${k} }
96
+ }
97
+ `,C=`
98
+ id eventId title description sessionType track status startsAt endsAt
99
+ capacity venueId metadata createdAt updatedAt workspaceId
100
+ `,B=`
101
+ query EventfullymanagedEventSessions($eventId: ID, $limit: Int, $offset: Int, $workspaceId: ID) {
102
+ eventfullyManagedEventSessions(eventId: $eventId, limit: $limit, offset: $offset, workspaceId: $workspaceId) {
103
+ total
104
+ items { ${C} }
105
+ }
106
+ }
107
+ `,G=`
108
+ mutation EventfullymanagedCreateEventSession($input: EventfullyManagedEventSessionInput!) {
109
+ eventfullyManagedCreateEventSession(input: $input) { ${C} }
110
+ }
111
+ `,Y=`
112
+ mutation EventfullymanagedUpdateEventSession($id: ID!, $input: EventfullyManagedEventSessionInput!) {
113
+ eventfullyManagedUpdateEventSession(id: $id, input: $input) { ${C} }
114
+ }
115
+ `,O=`
116
+ id eventId name description price currency capacity soldCount isActive
117
+ salesStartAt salesEndAt metadata createdAt updatedAt workspaceId
118
+ `,X=`
119
+ query EventfullymanagedTicketTypes($eventId: ID, $limit: Int, $offset: Int, $search: String, $workspaceId: ID) {
120
+ eventfullyManagedTicketTypes(eventId: $eventId, limit: $limit, offset: $offset, search: $search, workspaceId: $workspaceId) {
121
+ total
122
+ items { ${O} }
123
+ }
124
+ }
125
+ `,Q=`
126
+ mutation EventfullymanagedCreateTicketType($input: EventfullyManagedTicketTypeInput!) {
127
+ eventfullyManagedCreateTicketType(input: $input) { ${O} }
128
+ }
129
+ `,Z=`
130
+ mutation EventfullymanagedUpdateTicketType($id: ID!, $input: EventfullyManagedTicketTypeInput!) {
131
+ eventfullyManagedUpdateTicketType(id: $id, input: $input) { ${O} }
132
+ }
133
+ `,tt=`
134
+ mutation EventfullymanagedDeleteTicketType($id: ID!) {
135
+ eventfullyManagedDeleteTicketType(id: $id)
136
+ }
137
+ `,w=`
138
+ id eventId attendeeId ticketTypeId quantity status totalAmount currency
139
+ registeredAt checkedInAt metadata createdAt updatedAt workspaceId
140
+ `,et=`
141
+ query EventfullymanagedRegistrations($eventId: ID, $limit: Int, $offset: Int, $workspaceId: ID) {
142
+ eventfullyManagedRegistrations(eventId: $eventId, limit: $limit, offset: $offset, workspaceId: $workspaceId) {
143
+ total
144
+ items { ${w} }
145
+ }
146
+ }
147
+ `,nt=`
148
+ mutation EventfullymanagedCreateRegistration($input: EventfullyManagedRegistrationInput!) {
149
+ eventfullyManagedCreateRegistration(input: $input) { ${w} }
150
+ }
151
+ `,at=`
152
+ mutation EventfullymanagedUpdateRegistration($id: ID!, $input: EventfullyManagedRegistrationInput!) {
153
+ eventfullyManagedUpdateRegistration(id: $id, input: $input) { ${w} }
154
+ }
155
+ `,T=`
156
+ id fullName title organization bio email phone avatarUrl socialLinks
157
+ createdAt updatedAt workspaceId
158
+ `,it=`
159
+ query EventfullymanagedSpeakers($limit: Int, $offset: Int, $workspaceId: ID) {
160
+ eventfullyManagedSpeakers(limit: $limit, offset: $offset, workspaceId: $workspaceId) {
161
+ total
162
+ items { ${T} }
163
+ }
164
+ }
165
+ `,ot=`
166
+ mutation EventfullymanagedCreateSpeaker($input: EventfullyManagedSpeakerInput!) {
167
+ eventfullyManagedCreateSpeaker(input: $input) { ${T} }
168
+ }
169
+ `,rt=`
170
+ mutation EventfullymanagedUpdateSpeaker($id: ID!, $input: EventfullyManagedSpeakerInput!) {
171
+ eventfullyManagedUpdateSpeaker(id: $id, input: $input) { ${T} }
172
+ }
173
+ `,D=`
174
+ id eventId name boothCode category contactName contactEmail status metadata
175
+ createdAt updatedAt workspaceId
176
+ `,st=`
177
+ query EventfullymanagedExhibitors($eventId: ID, $limit: Int, $offset: Int, $search: String, $workspaceId: ID) {
178
+ eventfullyManagedExhibitors(eventId: $eventId, limit: $limit, offset: $offset, search: $search, workspaceId: $workspaceId) {
179
+ total
180
+ items { ${D} }
181
+ }
182
+ }
183
+ `,dt=`
184
+ mutation EventfullymanagedCreateExhibitor($input: EventfullyManagedExhibitorInput!) {
185
+ eventfullyManagedCreateExhibitor(input: $input) { ${D} }
186
+ }
187
+ `,pt=`
188
+ mutation EventfullymanagedUpdateExhibitor($id: ID!, $input: EventfullyManagedExhibitorInput!) {
189
+ eventfullyManagedUpdateExhibitor(id: $id, input: $input) { ${D} }
190
+ }
191
+ `,mt=`
192
+ mutation EventfullymanagedDeleteExhibitor($id: ID!) {
193
+ eventfullyManagedDeleteExhibitor(id: $id)
194
+ }
195
+ `,h=`
196
+ id eventId attendeeName attendeeEmail exhibitorId sponsorId status score
197
+ notes capturedAt metadata createdAt updatedAt workspaceId
198
+ `,ct=`
199
+ query EventfullymanagedLeads($eventId: ID, $limit: Int, $offset: Int, $search: String, $workspaceId: ID) {
200
+ eventfullyManagedLeads(eventId: $eventId, limit: $limit, offset: $offset, search: $search, workspaceId: $workspaceId) {
201
+ total
202
+ items { ${h} }
203
+ }
204
+ }
205
+ `,ut=`
206
+ mutation EventfullymanagedCreateLead($input: EventfullyManagedLeadInput!) {
207
+ eventfullyManagedCreateLead(input: $input) { ${h} }
208
+ }
209
+ `,lt=`
210
+ mutation EventfullymanagedUpdateLead($id: ID!, $input: EventfullyManagedLeadInput!) {
211
+ eventfullyManagedUpdateLead(id: $id, input: $input) { ${h} }
212
+ }
213
+ `,gt=`
214
+ mutation EventfullymanagedDeleteLead($id: ID!) {
215
+ eventfullyManagedDeleteLead(id: $id)
216
+ }
217
+ `,A=`
218
+ id eventId code description discountType discountValue maxUses usedCount
219
+ isActive startsAt endsAt metadata createdAt updatedAt workspaceId
220
+ `,ft=`
221
+ query EventfullymanagedPromoCodes($eventId: ID, $limit: Int, $offset: Int, $search: String, $workspaceId: ID) {
222
+ eventfullyManagedPromoCodes(eventId: $eventId, limit: $limit, offset: $offset, search: $search, workspaceId: $workspaceId) {
223
+ total
224
+ items { ${A} }
225
+ }
226
+ }
227
+ `,yt=`
228
+ mutation EventfullymanagedCreatePromoCode($input: EventfullyManagedPromoCodeInput!) {
229
+ eventfullyManagedCreatePromoCode(input: $input) { ${A} }
230
+ }
231
+ `,vt=`
232
+ mutation EventfullymanagedUpdatePromoCode($id: ID!, $input: EventfullyManagedPromoCodeInput!) {
233
+ eventfullyManagedUpdatePromoCode(id: $id, input: $input) { ${A} }
234
+ }
235
+ `,Et=`
236
+ mutation EventfullymanagedDeletePromoCode($id: ID!) {
237
+ eventfullyManagedDeletePromoCode(id: $id)
238
+ }
239
+ `,It=`
240
+ query EventfullymanagedDashboardSummary($workspaceId: ID) {
241
+ eventfullyManagedDashboardSummary(workspaceId: $workspaceId) {
242
+ activeEvents totalAttendees totalEvents totalRegistrations totalSponsors
243
+ totalVenues upcomingSessions
244
+ latestEvents { id name status type startAt endAt }
245
+ }
246
+ }
247
+ `;function c(t,i){try{return JSON.parse(i)}catch{throw new o$1(`--${t} must be valid JSON`)}}function d(t){let i=Number.parseInt(t,10);if(Number.isNaN(i))throw new o$1(`Expected an integer but got "${t}"`);return i}function S(t){return t.split(",").map(i=>i.trim()).filter(i=>i.length>0)}function St(t){let i={name:t.name,type:t.type,timezone:t.timezone,startAt:t.startAt,endAt:t.endAt};return t.status&&(i.status=t.status),t.visibility&&(i.visibility=t.visibility),t.capacity!==void 0&&(i.capacity=t.capacity),t.description&&(i.description=t.description),t.metadata&&(i.metadata=c("metadata",t.metadata)),i}function kt(t){let i$1=t.command("events").description("Eventfullymanaged events");i$1.command("list").description("List events").option("--search <q>","Free-text search").option("--workspace <id>","Filter by workspace ID").option("--limit <n>","Page size",d,50).option("--offset <n>","Offset",d,0).option("-f, --format <format>","Output format").action(async e=>{try{let a=await b($,{search:e.search,workspaceId:e.workspace,limit:e.limit,offset:e.offset});h$1(e,a.eventfullyManagedEvents.items,{headers:["ID","Name","Type","Status","Start","End"],rows:a.eventfullyManagedEvents.items.map(n=>[p(n.id,12),n.name,n.type,n.status,o(n.startAt),o(n.endAt)])});}catch(a){g(a);}}),i$1.command("get").description("Get an event by id").argument("<id>","Event ID").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(M,{id:e});if(!n.eventfullyManagedEvent)throw new o$1(`Event ${e} not found`);h$1(a,n.eventfullyManagedEvent);}catch(n){g(n);}}),i$1.command("create").description("Create an event").requiredOption("--name <name>","Event name").requiredOption("--type <t>","Event type (e.g. conference, webinar)").requiredOption("--timezone <tz>","IANA timezone (e.g. Asia/Kolkata)").requiredOption("--start-at <iso>","Start (ISO datetime)").requiredOption("--end-at <iso>","End (ISO datetime)").option("--status <s>","Event status").option("--visibility <v>","Visibility (e.g. public, private)").option("--capacity <n>","Capacity",d).option("--description <s>","Description").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(R,{input:St(e)});i(`Event created: ${a.eventfullyManagedCreateEvent.name}`),h$1(e,a.eventfullyManagedCreateEvent);}catch(a){g(a);}}),i$1.command("update").description("Update an event (the subgraph input requires the core fields)").argument("<id>","Event ID").requiredOption("--name <name>","Event name").requiredOption("--type <t>","Event type").requiredOption("--timezone <tz>","IANA timezone").requiredOption("--start-at <iso>","Start (ISO datetime)").requiredOption("--end-at <iso>","End (ISO datetime)").option("--status <s>","Event status").option("--visibility <v>","Visibility").option("--capacity <n>","Capacity",d).option("--description <s>","Description").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(L,{id:e,input:St(a)});i("Event updated"),h$1(a,n.eventfullyManagedUpdateEvent);}catch(n){g(n);}}),i$1.command("remove").description("Delete an event").argument("<id>","Event ID").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(N,{id:e});i(n.eventfullyManagedDeleteEvent?"Event deleted":"Event not deleted"),h$1(a,{deleted:n.eventfullyManagedDeleteEvent});}catch(n){g(n);}});}function Ct(t){let i={name:t.name};return t.description&&(i.description=t.description),t.status&&(i.status=t.status),t.capacity!==void 0&&(i.capacity=t.capacity),t.addressLine1&&(i.addressLine1=t.addressLine1),t.city&&(i.city=t.city),t.state&&(i.state=t.state),t.country&&(i.country=t.country),t.postalCode&&(i.postalCode=t.postalCode),t.amenities&&(i.amenities=S(t.amenities)),t.openingHours&&(i.openingHours=c("opening-hours",t.openingHours)),t.pricing&&(i.pricing=c("pricing",t.pricing)),t.metadata&&(i.metadata=c("metadata",t.metadata)),i}function Ot(t){let i$1=t.command("venues").description("Eventfullymanaged venues");i$1.command("list").description("List venues").option("--search <q>","Free-text search").option("--workspace <id>","Filter by workspace ID").option("--limit <n>","Page size",d,50).option("--offset <n>","Offset",d,0).option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(P,{search:e.search,workspaceId:e.workspace,limit:e.limit,offset:e.offset});h$1(e,a.eventfullyManagedVenues.items,{headers:["ID","Name","Status","City","Country","Capacity"],rows:a.eventfullyManagedVenues.items.map(n=>[p(n.id,12),n.name,n.status,n.city??"-",n.country??"-",n.capacity!=null?String(n.capacity):"-"])});}catch(a){g(a);}}),i$1.command("get").description("Get a venue by id").argument("<id>","Venue ID").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(U,{id:e});if(!n.eventfullyManagedVenue)throw new o$1(`Venue ${e} not found`);h$1(a,n.eventfullyManagedVenue);}catch(n){g(n);}}),i$1.command("create").description("Create a venue").requiredOption("--name <name>","Venue name").option("--description <s>","Description").option("--status <s>","Venue status").option("--capacity <n>","Capacity",d).option("--address <s>","Address line 1").option("--city <s>","City").option("--state <s>","State").option("--country <s>","Country").option("--postal-code <s>","Postal code").option("--amenities <csv>","Comma-separated amenities").option("--opening-hours <json>","Opening hours JSON").option("--pricing <json>","Pricing JSON").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(_,{input:Ct({...e,addressLine1:e.address})});i(`Venue created: ${a.eventfullyManagedCreateVenue.name}`),h$1(e,a.eventfullyManagedCreateVenue);}catch(a){g(a);}}),i$1.command("update").description("Update a venue").argument("<id>","Venue ID").requiredOption("--name <name>","Venue name").option("--description <s>","Description").option("--status <s>","Venue status").option("--capacity <n>","Capacity",d).option("--address <s>","Address line 1").option("--city <s>","City").option("--state <s>","State").option("--country <s>","Country").option("--postal-code <s>","Postal code").option("--amenities <csv>","Comma-separated amenities").option("--opening-hours <json>","Opening hours JSON").option("--pricing <json>","Pricing JSON").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(x,{id:e,input:Ct({...a,addressLine1:a.address})});i("Venue updated"),h$1(a,n.eventfullyManagedUpdateVenue);}catch(n){g(n);}}),i$1.command("remove").description("Delete a venue").argument("<id>","Venue ID").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(q,{id:e});i(n.eventfullyManagedDeleteVenue?"Venue deleted":"Venue not deleted"),h$1(a,{deleted:n.eventfullyManagedDeleteVenue});}catch(n){g(n);}});}function wt(t){let i={eventId:t.event,name:t.name,level:t.level};return t.logoUrl&&(i.logoUrl=t.logoUrl),t.website&&(i.website=t.website),t.contactName&&(i.contactName=t.contactName),t.contactEmail&&(i.contactEmail=t.contactEmail),t.contactPhone&&(i.contactPhone=t.contactPhone),t.metrics&&(i.metrics=c("metrics",t.metrics)),t.metadata&&(i.metadata=c("metadata",t.metadata)),i}function Tt(t){let i$1=t.command("sponsors").description("Eventfullymanaged sponsors");i$1.command("list").description("List sponsors").option("--event <id>","Filter by event ID").option("--search <q>","Free-text search").option("--workspace <id>","Filter by workspace ID").option("--limit <n>","Page size",d,50).option("--offset <n>","Offset",d,0).option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(V,{eventId:e.event,search:e.search,workspaceId:e.workspace,limit:e.limit,offset:e.offset});h$1(e,a.eventfullyManagedSponsors.items,{headers:["ID","Name","Level","Event","Website"],rows:a.eventfullyManagedSponsors.items.map(n=>[p(n.id,12),n.name,n.level,p(n.eventId,12),n.website??"-"])});}catch(a){g(a);}}),i$1.command("get").description("Get a sponsor by id").argument("<id>","Sponsor ID").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(F,{id:e});if(!n.eventfullyManagedSponsor)throw new o$1(`Sponsor ${e} not found`);h$1(a,n.eventfullyManagedSponsor);}catch(n){g(n);}}),i$1.command("create").description("Create a sponsor").requiredOption("--event <id>","Event ID").requiredOption("--name <name>","Sponsor name").requiredOption("--level <l>","Sponsorship level (e.g. gold, silver)").option("--logo-url <url>","Logo URL").option("--website <url>","Website").option("--contact-name <s>","Contact name").option("--contact-email <s>","Contact email").option("--contact-phone <s>","Contact phone").option("--metrics <json>","Metrics JSON").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(J,{input:wt(e)});i(`Sponsor created: ${a.eventfullyManagedCreateSponsor.name}`),h$1(e,a.eventfullyManagedCreateSponsor);}catch(a){g(a);}}),i$1.command("update").description("Update a sponsor").argument("<id>","Sponsor ID").requiredOption("--event <id>","Event ID").requiredOption("--name <name>","Sponsor name").requiredOption("--level <l>","Sponsorship level").option("--logo-url <url>","Logo URL").option("--website <url>","Website").option("--contact-name <s>","Contact name").option("--contact-email <s>","Contact email").option("--contact-phone <s>","Contact phone").option("--metrics <json>","Metrics JSON").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(z,{id:e,input:wt(a)});i("Sponsor updated"),h$1(a,n.eventfullyManagedUpdateSponsor);}catch(n){g(n);}}),i$1.command("remove").description("Delete a sponsor").argument("<id>","Sponsor ID").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(j,{id:e});i(n.eventfullyManagedDeleteSponsor?"Sponsor deleted":"Sponsor not deleted"),h$1(a,{deleted:n.eventfullyManagedDeleteSponsor});}catch(n){g(n);}});}function Dt(t){let i={eventId:t.event,fullName:t.fullName,email:t.email};return t.phone&&(i.phone=t.phone),t.company&&(i.company=t.company),t.role&&(i.role=t.role),t.tags&&(i.tags=S(t.tags)),t.profile&&(i.profile=c("profile",t.profile)),t.metadata&&(i.metadata=c("metadata",t.metadata)),i}function ht(t){let i$1=t.command("attendees").description("Eventfullymanaged attendees");i$1.command("list").description("List attendees").option("--event <id>","Filter by event ID").option("--workspace <id>","Filter by workspace ID").option("--limit <n>","Page size",d,50).option("--offset <n>","Offset",d,0).option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(H,{eventId:e.event,workspaceId:e.workspace,limit:e.limit,offset:e.offset});h$1(e,a.eventfullyManagedAttendees.items,{headers:["ID","Name","Email","Company","Role"],rows:a.eventfullyManagedAttendees.items.map(n=>[p(n.id,12),n.fullName,n.email,n.company??"-",n.role??"-"])});}catch(a){g(a);}}),i$1.command("create").description("Create an attendee").requiredOption("--event <id>","Event ID").requiredOption("--full-name <name>","Full name").requiredOption("--email <email>","Email").option("--phone <s>","Phone").option("--company <s>","Company").option("--role <s>","Role").option("--tags <csv>","Comma-separated tags").option("--profile <json>","Profile JSON").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(K,{input:Dt(e)});i(`Attendee created: ${a.eventfullyManagedCreateAttendee.fullName}`),h$1(e,a.eventfullyManagedCreateAttendee);}catch(a){g(a);}}),i$1.command("update").description("Update an attendee").argument("<id>","Attendee ID").requiredOption("--event <id>","Event ID").requiredOption("--full-name <name>","Full name").requiredOption("--email <email>","Email").option("--phone <s>","Phone").option("--company <s>","Company").option("--role <s>","Role").option("--tags <csv>","Comma-separated tags").option("--profile <json>","Profile JSON").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(W,{id:e,input:Dt(a)});i("Attendee updated"),h$1(a,n.eventfullyManagedUpdateAttendee);}catch(n){g(n);}});}function At(t){let i={eventId:t.event,title:t.title,sessionType:t.sessionType,startsAt:t.startsAt,endsAt:t.endsAt};return t.description&&(i.description=t.description),t.status&&(i.status=t.status),t.track&&(i.track=t.track),t.capacity!==void 0&&(i.capacity=t.capacity),t.venue&&(i.venueId=t.venue),t.metadata&&(i.metadata=c("metadata",t.metadata)),i}function bt(t){let i$1=t.command("sessions").description("Eventfullymanaged event sessions");i$1.command("list").description("List event sessions").option("--event <id>","Filter by event ID").option("--workspace <id>","Filter by workspace ID").option("--limit <n>","Page size",d,100).option("--offset <n>","Offset",d,0).option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(B,{eventId:e.event,workspaceId:e.workspace,limit:e.limit,offset:e.offset});h$1(e,a.eventfullyManagedEventSessions.items,{headers:["ID","Title","Type","Status","Track","Starts"],rows:a.eventfullyManagedEventSessions.items.map(n=>[p(n.id,12),n.title,n.sessionType,n.status,n.track??"-",o(n.startsAt)])});}catch(a){g(a);}}),i$1.command("create").description("Create an event session").requiredOption("--event <id>","Event ID").requiredOption("--title <title>","Session title").requiredOption("--session-type <t>","Session type (e.g. talk, workshop)").requiredOption("--starts-at <iso>","Start (ISO datetime)").requiredOption("--ends-at <iso>","End (ISO datetime)").option("--description <s>","Description").option("--status <s>","Status").option("--track <s>","Track").option("--capacity <n>","Capacity",d).option("--venue <id>","Venue ID").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(G,{input:At(e)});i(`Session created: ${a.eventfullyManagedCreateEventSession.title}`),h$1(e,a.eventfullyManagedCreateEventSession);}catch(a){g(a);}}),i$1.command("update").description("Update an event session").argument("<id>","Session ID").requiredOption("--event <id>","Event ID").requiredOption("--title <title>","Session title").requiredOption("--session-type <t>","Session type").requiredOption("--starts-at <iso>","Start (ISO datetime)").requiredOption("--ends-at <iso>","End (ISO datetime)").option("--description <s>","Description").option("--status <s>","Status").option("--track <s>","Track").option("--capacity <n>","Capacity",d).option("--venue <id>","Venue ID").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(Y,{id:e,input:At(a)});i("Session updated"),h$1(a,n.eventfullyManagedUpdateEventSession);}catch(n){g(n);}});}function $t(t){let i={eventId:t.event,name:t.name,price:t.price};return t.currency&&(i.currency=t.currency),t.description&&(i.description=t.description),t.capacity!==void 0&&(i.capacity=t.capacity),t.soldCount!==void 0&&(i.soldCount=t.soldCount),t.active!==void 0&&(i.isActive=t.active),t.salesStartAt&&(i.salesStartAt=t.salesStartAt),t.salesEndAt&&(i.salesEndAt=t.salesEndAt),t.metadata&&(i.metadata=c("metadata",t.metadata)),i}function Mt(t){let i$1=t.command("tickets").description("Eventfullymanaged ticket types");i$1.command("list").description("List ticket types").option("--event <id>","Filter by event ID").option("--search <q>","Free-text search").option("--workspace <id>","Filter by workspace ID").option("--limit <n>","Page size",d,50).option("--offset <n>","Offset",d,0).option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(X,{eventId:e.event,search:e.search,workspaceId:e.workspace,limit:e.limit,offset:e.offset});h$1(e,a.eventfullyManagedTicketTypes.items,{headers:["ID","Name","Price","Currency","Active","Sold"],rows:a.eventfullyManagedTicketTypes.items.map(n=>[p(n.id,12),n.name,n.price,n.currency,n.isActive?"yes":"no",String(n.soldCount)])});}catch(a){g(a);}}),i$1.command("create").description("Create a ticket type").requiredOption("--event <id>","Event ID").requiredOption("--name <name>","Ticket type name").requiredOption("--price <amount>","Price (decimal string)").option("--currency <c>","Currency code").option("--description <s>","Description").option("--capacity <n>","Capacity",d).option("--sold-count <n>","Sold count",d).option("--active <bool>","true|false",e=>e==="true").option("--sales-start-at <iso>","Sales start (ISO datetime)").option("--sales-end-at <iso>","Sales end (ISO datetime)").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(Q,{input:$t(e)});i(`Ticket type created: ${a.eventfullyManagedCreateTicketType.name}`),h$1(e,a.eventfullyManagedCreateTicketType);}catch(a){g(a);}}),i$1.command("update").description("Update a ticket type").argument("<id>","Ticket type ID").requiredOption("--event <id>","Event ID").requiredOption("--name <name>","Ticket type name").requiredOption("--price <amount>","Price (decimal string)").option("--currency <c>","Currency code").option("--description <s>","Description").option("--capacity <n>","Capacity",d).option("--sold-count <n>","Sold count",d).option("--active <bool>","true|false",e=>e==="true").option("--sales-start-at <iso>","Sales start (ISO datetime)").option("--sales-end-at <iso>","Sales end (ISO datetime)").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(Z,{id:e,input:$t(a)});i("Ticket type updated"),h$1(a,n.eventfullyManagedUpdateTicketType);}catch(n){g(n);}}),i$1.command("remove").description("Delete a ticket type").argument("<id>","Ticket type ID").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(tt,{id:e});i(n.eventfullyManagedDeleteTicketType?"Ticket type deleted":"Ticket type not deleted"),h$1(a,{deleted:n.eventfullyManagedDeleteTicketType});}catch(n){g(n);}});}function Rt(t){let i={eventId:t.event};return t.attendee&&(i.attendeeId=t.attendee),t.ticketType&&(i.ticketTypeId=t.ticketType),t.quantity!==void 0&&(i.quantity=t.quantity),t.status&&(i.status=t.status),t.totalAmount&&(i.totalAmount=t.totalAmount),t.currency&&(i.currency=t.currency),t.metadata&&(i.metadata=c("metadata",t.metadata)),i}function Lt(t){let i$1=t.command("registrations").description("Eventfullymanaged registrations");i$1.command("list").description("List registrations").option("--event <id>","Filter by event ID").option("--workspace <id>","Filter by workspace ID").option("--limit <n>","Page size",d,50).option("--offset <n>","Offset",d,0).option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(et,{eventId:e.event,workspaceId:e.workspace,limit:e.limit,offset:e.offset});h$1(e,a.eventfullyManagedRegistrations.items,{headers:["ID","Event","Attendee","Status","Qty","Total"],rows:a.eventfullyManagedRegistrations.items.map(n=>[p(n.id,12),p(n.eventId,12),n.attendeeId?p(n.attendeeId,12):"-",n.status,String(n.quantity),n.totalAmount??"-"])});}catch(a){g(a);}}),i$1.command("create").description("Create a registration").requiredOption("--event <id>","Event ID").option("--attendee <id>","Attendee ID").option("--ticket-type <id>","Ticket type ID").option("--quantity <n>","Quantity",d).option("--status <s>","Status").option("--total-amount <amount>","Total amount (decimal string)").option("--currency <c>","Currency code").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(nt,{input:Rt(e)});i(`Registration created: ${a.eventfullyManagedCreateRegistration.id}`),h$1(e,a.eventfullyManagedCreateRegistration);}catch(a){g(a);}}),i$1.command("update").description("Update a registration").argument("<id>","Registration ID").requiredOption("--event <id>","Event ID").option("--attendee <id>","Attendee ID").option("--ticket-type <id>","Ticket type ID").option("--quantity <n>","Quantity",d).option("--status <s>","Status").option("--total-amount <amount>","Total amount (decimal string)").option("--currency <c>","Currency code").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(at,{id:e,input:Rt(a)});i("Registration updated"),h$1(a,n.eventfullyManagedUpdateRegistration);}catch(n){g(n);}});}function Nt(t){let i={fullName:t.fullName};return t.title&&(i.title=t.title),t.organization&&(i.organization=t.organization),t.bio&&(i.bio=t.bio),t.email&&(i.email=t.email),t.phone&&(i.phone=t.phone),t.avatarUrl&&(i.avatarUrl=t.avatarUrl),t.socialLinks&&(i.socialLinks=c("social-links",t.socialLinks)),i}function Pt(t){let i$1=t.command("speakers").description("Eventfullymanaged speakers");i$1.command("list").description("List speakers").option("--workspace <id>","Filter by workspace ID").option("--limit <n>","Page size",d,100).option("--offset <n>","Offset",d,0).option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(it,{workspaceId:e.workspace,limit:e.limit,offset:e.offset});h$1(e,a.eventfullyManagedSpeakers.items,{headers:["ID","Name","Title","Organization","Email"],rows:a.eventfullyManagedSpeakers.items.map(n=>[p(n.id,12),n.fullName,n.title??"-",n.organization??"-",n.email??"-"])});}catch(a){g(a);}}),i$1.command("create").description("Create a speaker").requiredOption("--full-name <name>","Full name").option("--title <s>","Title").option("--organization <s>","Organization").option("--bio <s>","Bio").option("--email <s>","Email").option("--phone <s>","Phone").option("--avatar-url <url>","Avatar URL").option("--social-links <json>","Social links JSON").option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(ot,{input:Nt(e)});i(`Speaker created: ${a.eventfullyManagedCreateSpeaker.fullName}`),h$1(e,a.eventfullyManagedCreateSpeaker);}catch(a){g(a);}}),i$1.command("update").description("Update a speaker").argument("<id>","Speaker ID").requiredOption("--full-name <name>","Full name").option("--title <s>","Title").option("--organization <s>","Organization").option("--bio <s>","Bio").option("--email <s>","Email").option("--phone <s>","Phone").option("--avatar-url <url>","Avatar URL").option("--social-links <json>","Social links JSON").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(rt,{id:e,input:Nt(a)});i("Speaker updated"),h$1(a,n.eventfullyManagedUpdateSpeaker);}catch(n){g(n);}});}function Ut(t){let i={eventId:t.event,name:t.name};return t.boothCode&&(i.boothCode=t.boothCode),t.category&&(i.category=t.category),t.contactName&&(i.contactName=t.contactName),t.contactEmail&&(i.contactEmail=t.contactEmail),t.status&&(i.status=t.status),t.metadata&&(i.metadata=c("metadata",t.metadata)),i}function _t(t){let i$1=t.command("exhibitors").description("Eventfullymanaged exhibitors");i$1.command("list").description("List exhibitors").option("--event <id>","Filter by event ID").option("--search <q>","Free-text search").option("--workspace <id>","Filter by workspace ID").option("--limit <n>","Page size",d,50).option("--offset <n>","Offset",d,0).option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(st,{eventId:e.event,search:e.search,workspaceId:e.workspace,limit:e.limit,offset:e.offset});h$1(e,a.eventfullyManagedExhibitors.items,{headers:["ID","Name","Status","Booth","Category"],rows:a.eventfullyManagedExhibitors.items.map(n=>[p(n.id,12),n.name,n.status,n.boothCode??"-",n.category??"-"])});}catch(a){g(a);}}),i$1.command("create").description("Create an exhibitor").requiredOption("--event <id>","Event ID").requiredOption("--name <name>","Exhibitor name").option("--booth-code <s>","Booth code").option("--category <s>","Category").option("--contact-name <s>","Contact name").option("--contact-email <s>","Contact email").option("--status <s>","Status").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(dt,{input:Ut(e)});i(`Exhibitor created: ${a.eventfullyManagedCreateExhibitor.name}`),h$1(e,a.eventfullyManagedCreateExhibitor);}catch(a){g(a);}}),i$1.command("update").description("Update an exhibitor").argument("<id>","Exhibitor ID").requiredOption("--event <id>","Event ID").requiredOption("--name <name>","Exhibitor name").option("--booth-code <s>","Booth code").option("--category <s>","Category").option("--contact-name <s>","Contact name").option("--contact-email <s>","Contact email").option("--status <s>","Status").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(pt,{id:e,input:Ut(a)});i("Exhibitor updated"),h$1(a,n.eventfullyManagedUpdateExhibitor);}catch(n){g(n);}}),i$1.command("remove").description("Delete an exhibitor").argument("<id>","Exhibitor ID").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(mt,{id:e});i(n.eventfullyManagedDeleteExhibitor?"Exhibitor deleted":"Exhibitor not deleted"),h$1(a,{deleted:n.eventfullyManagedDeleteExhibitor});}catch(n){g(n);}});}function xt(t){let i={eventId:t.event,attendeeName:t.attendeeName,attendeeEmail:t.attendeeEmail};return t.exhibitor&&(i.exhibitorId=t.exhibitor),t.sponsor&&(i.sponsorId=t.sponsor),t.status&&(i.status=t.status),t.score!==void 0&&(i.score=t.score),t.notes&&(i.notes=t.notes),t.capturedAt&&(i.capturedAt=t.capturedAt),t.metadata&&(i.metadata=c("metadata",t.metadata)),i}function qt(t){let i$1=t.command("leads").description("Eventfullymanaged exhibitor leads");i$1.command("list").description("List leads").option("--event <id>","Filter by event ID").option("--search <q>","Free-text search").option("--workspace <id>","Filter by workspace ID").option("--limit <n>","Page size",d,50).option("--offset <n>","Offset",d,0).option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(ct,{eventId:e.event,search:e.search,workspaceId:e.workspace,limit:e.limit,offset:e.offset});h$1(e,a.eventfullyManagedLeads.items,{headers:["ID","Name","Email","Status","Score"],rows:a.eventfullyManagedLeads.items.map(n=>[p(n.id,12),n.attendeeName,n.attendeeEmail,n.status,n.score!=null?String(n.score):"-"])});}catch(a){g(a);}}),i$1.command("create").description("Create a lead").requiredOption("--event <id>","Event ID").requiredOption("--attendee-name <name>","Attendee name").requiredOption("--attendee-email <email>","Attendee email").option("--exhibitor <id>","Exhibitor ID").option("--sponsor <id>","Sponsor ID").option("--status <s>","Status").option("--score <n>","Score",d).option("--notes <s>","Notes").option("--captured-at <iso>","Captured at (ISO datetime)").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(ut,{input:xt(e)});i(`Lead created: ${a.eventfullyManagedCreateLead.attendeeName}`),h$1(e,a.eventfullyManagedCreateLead);}catch(a){g(a);}}),i$1.command("update").description("Update a lead").argument("<id>","Lead ID").requiredOption("--event <id>","Event ID").requiredOption("--attendee-name <name>","Attendee name").requiredOption("--attendee-email <email>","Attendee email").option("--exhibitor <id>","Exhibitor ID").option("--sponsor <id>","Sponsor ID").option("--status <s>","Status").option("--score <n>","Score",d).option("--notes <s>","Notes").option("--captured-at <iso>","Captured at (ISO datetime)").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(lt,{id:e,input:xt(a)});i("Lead updated"),h$1(a,n.eventfullyManagedUpdateLead);}catch(n){g(n);}}),i$1.command("remove").description("Delete a lead").argument("<id>","Lead ID").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(gt,{id:e});i(n.eventfullyManagedDeleteLead?"Lead deleted":"Lead not deleted"),h$1(a,{deleted:n.eventfullyManagedDeleteLead});}catch(n){g(n);}});}function Vt(t){let i={eventId:t.event,code:t.code,discountType:t.discountType,discountValue:t.discountValue};return t.description&&(i.description=t.description),t.maxUses!==void 0&&(i.maxUses=t.maxUses),t.usedCount!==void 0&&(i.usedCount=t.usedCount),t.active!==void 0&&(i.isActive=t.active),t.startsAt&&(i.startsAt=t.startsAt),t.endsAt&&(i.endsAt=t.endsAt),t.metadata&&(i.metadata=c("metadata",t.metadata)),i}function Ft(t){let i$1=t.command("promo-codes").description("Eventfullymanaged promo codes");i$1.command("list").description("List promo codes").option("--event <id>","Filter by event ID").option("--search <q>","Free-text search").option("--workspace <id>","Filter by workspace ID").option("--limit <n>","Page size",d,50).option("--offset <n>","Offset",d,0).option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(ft,{eventId:e.event,search:e.search,workspaceId:e.workspace,limit:e.limit,offset:e.offset});h$1(e,a.eventfullyManagedPromoCodes.items,{headers:["ID","Code","Type","Value","Active","Used"],rows:a.eventfullyManagedPromoCodes.items.map(n=>[p(n.id,12),n.code,n.discountType,n.discountValue,n.isActive?"yes":"no",String(n.usedCount)])});}catch(a){g(a);}}),i$1.command("create").description("Create a promo code").requiredOption("--event <id>","Event ID").requiredOption("--code <code>","Promo code").requiredOption("--discount-type <t>","Discount type (e.g. percentage, fixed)").requiredOption("--discount-value <v>","Discount value (string)").option("--description <s>","Description").option("--max-uses <n>","Max uses",d).option("--used-count <n>","Used count",d).option("--active <bool>","true|false",e=>e==="true").option("--starts-at <iso>","Starts at (ISO datetime)").option("--ends-at <iso>","Ends at (ISO datetime)").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(yt,{input:Vt(e)});i(`Promo code created: ${a.eventfullyManagedCreatePromoCode.code}`),h$1(e,a.eventfullyManagedCreatePromoCode);}catch(a){g(a);}}),i$1.command("update").description("Update a promo code").argument("<id>","Promo code ID").requiredOption("--event <id>","Event ID").requiredOption("--code <code>","Promo code").requiredOption("--discount-type <t>","Discount type").requiredOption("--discount-value <v>","Discount value (string)").option("--description <s>","Description").option("--max-uses <n>","Max uses",d).option("--used-count <n>","Used count",d).option("--active <bool>","true|false",e=>e==="true").option("--starts-at <iso>","Starts at (ISO datetime)").option("--ends-at <iso>","Ends at (ISO datetime)").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(vt,{id:e,input:Vt(a)});i("Promo code updated"),h$1(a,n.eventfullyManagedUpdatePromoCode);}catch(n){g(n);}}),i$1.command("remove").description("Delete a promo code").argument("<id>","Promo code ID").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b(Et,{id:e});i(n.eventfullyManagedDeletePromoCode?"Promo code deleted":"Promo code not deleted"),h$1(a,{deleted:n.eventfullyManagedDeletePromoCode});}catch(n){g(n);}});}function Jt(t){t.command("analytics").description("Eventfullymanaged analytics & dashboard").command("dashboard").description("Dashboard summary (event/attendee/registration/sponsor/venue counts + latest events)").option("--workspace <id>","Filter by workspace ID").option("-f, --format <format>","Output format").action(async e=>{try{let a=await b(It,{workspaceId:e.workspace});h$1(e,a.eventfullyManagedDashboardSummary);}catch(a){g(a);}});}var zt={id:"eventfullymanaged",version:"1.0.0",displayName:"Eventfullymanaged",dependsOn:["auth","workspaces"],register(t,i){a(i);let e=t.command("eventfullymanaged").description("Eventfullymanaged event-management platform");kt(e),Ot(e),Tt(e),ht(e),bt(e),Mt(e),Lt(e),Pt(e),_t(e),qt(e),Ft(e),Jt(e);}},He=zt;export{He as default};
@@ -0,0 +1,140 @@
1
+ 'use strict';require('graphql-request'),require('cross-fetch'),require('commander');var p=class extends Error{exitCode;hint;constructor(r,t){super(r),this.name="CliUserError",this.exitCode=t?.exitCode??1,this.hint=t?.hint;}},f=class extends p{constructor(r,t){super(r,{exitCode:2,hint:t?.hint??"Run `<product> auth login` to authenticate."}),this.name="CliAuthError";}},l=class extends Error{cause;constructor(r,t){super(r),this.name="CliInternalError",this.cause=t;}};var C=null;function x(o){C=o;}function y(){if(!C)throw new l("vibecontrols module helpers used before setHelpersContext was called");return C}function dt(){let o=y();if(!o.auth.isAuthenticated())throw new f(`Authentication required. Run \`${o.productName} auth login\`.`)}async function i(o,r){return dt(),y().gql.workspace.request(o,r)}function s(o){let r=o instanceof Error?o.message:String(o);throw new p(r)}function a(o,r,t){y().output.formatAndOutput(o,r,t);}function m(o){y().output.printSuccess(o);}function h(o){return y().output.formatDate(o)}function d(o,r){return y().output.truncate(o,r)}var I=`
2
+ query GgnomadGetProvider($id: ID!) {
3
+ ggnomadProvider(id: $id) {
4
+ id name type description status website contactEmail contactPhone
5
+ listingCount rating reviewCount totalRevenue createdAt updatedAt workspaceId
6
+ }
7
+ }
8
+ `,b=`
9
+ query GgnomadListProviders($pagination: GgnomadPaginationInput) {
10
+ ggnomadProviders(pagination: $pagination) {
11
+ id name type status rating reviewCount listingCount totalRevenue createdAt
12
+ }
13
+ }
14
+ `,E=`
15
+ mutation GgnomadCreateProvider($input: CreateGgnomadProviderInput!) {
16
+ createGgnomadProvider(input: $input) {
17
+ id name type description status website contactEmail contactPhone
18
+ listingCount rating reviewCount totalRevenue createdAt workspaceId
19
+ }
20
+ }
21
+ `,A=`
22
+ query GgnomadGetProperty($id: ID!) {
23
+ ggnomadProperty(id: $id) {
24
+ id name type description status address amenities bathrooms bedrooms
25
+ checkInTime checkOutTime currency images maxGuests pricePerNight
26
+ providerId rating reviewCount createdAt updatedAt workspaceId
27
+ }
28
+ }
29
+ `,O=`
30
+ query GgnomadListProperties($pagination: GgnomadPaginationInput) {
31
+ ggnomadProperties(pagination: $pagination) {
32
+ id name type status currency pricePerNight maxGuests bedrooms bathrooms
33
+ rating reviewCount providerId createdAt
34
+ }
35
+ }
36
+ `,P=`
37
+ mutation GgnomadCreateProperty($input: CreateGgnomadPropertyInput!) {
38
+ createGgnomadProperty(input: $input) {
39
+ id name type description status address amenities bathrooms bedrooms
40
+ checkInTime checkOutTime currency images maxGuests pricePerNight
41
+ providerId rating reviewCount createdAt workspaceId
42
+ }
43
+ }
44
+ `,S=`
45
+ query GgnomadGetActivity($id: ID!) {
46
+ ggnomadActivity(id: $id) {
47
+ id name category description difficulty duration currency price
48
+ images includes location maxParticipants requirements safetyInfo
49
+ providerId rating reviewCount status createdAt updatedAt workspaceId
50
+ }
51
+ }
52
+ `,R=`
53
+ query GgnomadListActivities($pagination: GgnomadPaginationInput) {
54
+ ggnomadActivities(pagination: $pagination) {
55
+ id name category difficulty duration currency price maxParticipants
56
+ rating reviewCount status providerId createdAt
57
+ }
58
+ }
59
+ `,G=`
60
+ query GgnomadGetEvent($id: ID!) {
61
+ ggnomadEvent(id: $id) {
62
+ id name category description currency price images performers venue
63
+ startsAt endsAt providerId rating reviewCount status createdAt
64
+ updatedAt workspaceId
65
+ }
66
+ }
67
+ `,$=`
68
+ query GgnomadListEvents($pagination: GgnomadPaginationInput) {
69
+ ggnomadEvents(pagination: $pagination) {
70
+ id name category currency price startsAt endsAt rating reviewCount
71
+ status providerId createdAt
72
+ }
73
+ }
74
+ `,D=`
75
+ query GgnomadGetTour($id: ID!) {
76
+ ggnomadTour(id: $id) {
77
+ id name type description difficulty duration currency price images
78
+ highlights languages location guideName maxGroupSize providerId
79
+ rating reviewCount status createdAt updatedAt workspaceId
80
+ }
81
+ }
82
+ `,N=`
83
+ query GgnomadListTours($pagination: GgnomadPaginationInput) {
84
+ ggnomadTours(pagination: $pagination) {
85
+ id name type difficulty duration currency price maxGroupSize rating
86
+ reviewCount status providerId createdAt
87
+ }
88
+ }
89
+ `,q=`
90
+ query GgnomadListTrips($pagination: GgnomadPaginationInput) {
91
+ ggnomadTrips(pagination: $pagination) {
92
+ id name transportMode class carrier currency price passengers
93
+ origin destination departureAt arrivalAt isRoundTrip ecoFriendly
94
+ returnDepartureAt returnArrivalAt status createdAt updatedAt workspaceId
95
+ }
96
+ }
97
+ `,L=`
98
+ query GgnomadListBookings($pagination: GgnomadPaginationInput) {
99
+ ggnomadBookings(pagination: $pagination) {
100
+ id referenceCode bookingType itemId itemName guestName guests
101
+ totalPrice currency status paymentStatus checkIn checkOut eventDate
102
+ createdAt
103
+ }
104
+ }
105
+ `,_=`
106
+ mutation GgnomadCreateBooking($input: CreateGgnomadBookingInput!) {
107
+ createGgnomadBooking(input: $input) {
108
+ id referenceCode bookingType itemId itemName guestName guestEmail
109
+ guestPhone guests totalPrice currency status paymentStatus paymentMethod
110
+ checkIn checkOut eventDate specialRequests createdAt workspaceId
111
+ }
112
+ }
113
+ `,F=`
114
+ mutation GgnomadCancelBooking($id: ID!, $reason: String) {
115
+ cancelGgnomadBooking(id: $id, reason: $reason) {
116
+ id referenceCode bookingType status paymentStatus totalPrice updatedAt
117
+ }
118
+ }
119
+ `,W=`
120
+ query GgnomadListFavorites($pagination: GgnomadFavoritesPaginationInput) {
121
+ ggnomadFavorites(pagination: $pagination)
122
+ }
123
+ `,B=`
124
+ mutation GgnomadToggleFavorite($input: ToggleGgnomadFavoriteInput!) {
125
+ toggleGgnomadFavorite(input: $input)
126
+ }
127
+ `,V=`
128
+ query GgnomadAnalytics {
129
+ ggnomadAnalytics {
130
+ totalUsers totalBookings totalRevenue conversionRate
131
+ revenueByCategory topDestinations monthlyTrends
132
+ }
133
+ }
134
+ `,M=`
135
+ query GgnomadOverviewStats {
136
+ ggnomadOverviewStats {
137
+ users listings bookings monthlyRevenue
138
+ }
139
+ }
140
+ `;function U(o,r){try{return JSON.parse(r)}catch{throw new p(`--${o} must be valid JSON`)}}function c(o){let r=Number.parseInt(o,10);if(Number.isNaN(r))throw new p(`Expected an integer but got "${o}"`);return r}function k(o){let r=Number.parseFloat(o);if(Number.isNaN(r))throw new p(`Expected a number but got "${o}"`);return r}function j(o){let r=o.command("providers").description("GGNomad providers");r.command("list").description("List providers").option("--limit <n>","Page size",c,20).option("--offset <n>","Offset",c,0).option("-f, --format <format>","Output format").action(async t=>{try{let n=await i(b,{pagination:{first:t.limit,skip:t.offset}});a(t,n.ggnomadProviders,{headers:["ID","Name","Type","Status","Rating","Listings"],rows:n.ggnomadProviders.map(e=>[d(e.id,12),e.name,e.type,e.status,`${e.rating??0} (${e.reviewCount??0})`,String(e.listingCount??0)])});}catch(n){s(n);}}),r.command("get").description("Get a provider by id").argument("<id>","Provider ID").option("-f, --format <format>","Output format").action(async(t,n)=>{try{let e=await i(I,{id:t});if(!e.ggnomadProvider)throw new p(`Provider ${t} not found`);a(n,e.ggnomadProvider);}catch(e){s(e);}}),r.command("create").description("Create a provider").requiredOption("--name <name>","Provider name").requiredOption("--type <t>","Provider type").option("--description <s>","Description").option("--website <url>","Website URL").option("--contact-email <email>","Contact email").option("--contact-phone <phone>","Contact phone").option("-f, --format <format>","Output format").action(async t=>{try{let n={name:t.name,type:t.type};t.description&&(n.description=t.description),t.website&&(n.website=t.website),t.contactEmail&&(n.contactEmail=t.contactEmail),t.contactPhone&&(n.contactPhone=t.contactPhone);let e=await i(E,{input:n});m(`Provider created: ${e.createGgnomadProvider.name}`),a(t,e.createGgnomadProvider);}catch(n){s(n);}});}function z(o){let r=o.command("properties").description("GGNomad stay properties");r.command("list").description("List properties").option("--limit <n>","Page size",c,20).option("--offset <n>","Offset",c,0).option("-f, --format <format>","Output format").action(async t=>{try{let n=await i(O,{pagination:{first:t.limit,skip:t.offset}});a(t,n.ggnomadProperties,{headers:["ID","Name","Type","Status","Price/Night","Guests","Rating"],rows:n.ggnomadProperties.map(e=>[d(e.id,12),e.name,e.type,e.status,`${e.pricePerNight??0} ${e.currency??""}`.trim(),String(e.maxGuests??0),`${e.rating??0} (${e.reviewCount??0})`])});}catch(n){s(n);}}),r.command("get").description("Get a property by id").argument("<id>","Property ID").option("-f, --format <format>","Output format").action(async(t,n)=>{try{let e=await i(A,{id:t});if(!e.ggnomadProperty)throw new p(`Property ${t} not found`);a(n,e.ggnomadProperty);}catch(e){s(e);}}),r.command("create").description("Create a property").requiredOption("--name <name>","Property name").requiredOption("--type <t>","Property type").requiredOption("--address <json>","Address JSON").requiredOption("--max-guests <n>","Maximum guests",c).requiredOption("--price-per-night <n>","Price per night",k).requiredOption("--amenities <csv>","Comma-separated amenities").requiredOption("--images <csv>","Comma-separated image URLs").option("--provider <id>","Provider ID").option("--description <s>","Description").option("--bedrooms <n>","Bedrooms",c).option("--bathrooms <n>","Bathrooms",c).option("--check-in-time <s>","Check-in time").option("--check-out-time <s>","Check-out time").option("--currency <c>","Currency code").option("-f, --format <format>","Output format").action(async t=>{try{let n={name:t.name,type:t.type,address:U("address",t.address),maxGuests:t.maxGuests,pricePerNight:t.pricePerNight,amenities:t.amenities.split(",").map(w=>w.trim()),images:t.images.split(",").map(w=>w.trim())};t.provider&&(n.providerId=t.provider),t.description&&(n.description=t.description),t.bedrooms!==void 0&&(n.bedrooms=t.bedrooms),t.bathrooms!==void 0&&(n.bathrooms=t.bathrooms),t.checkInTime&&(n.checkInTime=t.checkInTime),t.checkOutTime&&(n.checkOutTime=t.checkOutTime),t.currency&&(n.currency=t.currency);let e=await i(P,{input:n});m(`Property created: ${e.createGgnomadProperty.name}`),a(t,e.createGgnomadProperty);}catch(n){s(n);}});}function Y(o){let r=o.command("activities").description("GGNomad activities");r.command("list").description("List activities").option("--limit <n>","Page size",c,20).option("--offset <n>","Offset",c,0).option("-f, --format <format>","Output format").action(async t=>{try{let n=await i(R,{pagination:{first:t.limit,skip:t.offset}});a(t,n.ggnomadActivities,{headers:["ID","Name","Category","Difficulty","Duration","Price","Status"],rows:n.ggnomadActivities.map(e=>[d(e.id,12),e.name,e.category,e.difficulty??"-",e.duration??"-",`${e.price??0} ${e.currency??""}`.trim(),e.status])});}catch(n){s(n);}}),r.command("get").description("Get an activity by id").argument("<id>","Activity ID").option("-f, --format <format>","Output format").action(async(t,n)=>{try{let e=await i(S,{id:t});if(!e.ggnomadActivity)throw new p(`Activity ${t} not found`);a(n,e.ggnomadActivity);}catch(e){s(e);}});}function H(o){let r=o.command("events").description("GGNomad events");r.command("list").description("List events").option("--limit <n>","Page size",c,20).option("--offset <n>","Offset",c,0).option("-f, --format <format>","Output format").action(async t=>{try{let n=await i($,{pagination:{first:t.limit,skip:t.offset}});a(t,n.ggnomadEvents,{headers:["ID","Name","Category","Price","Starts","Status"],rows:n.ggnomadEvents.map(e=>[d(e.id,12),e.name,e.category,`${e.price??0} ${e.currency??""}`.trim(),h(e.startsAt),e.status])});}catch(n){s(n);}}),r.command("get").description("Get an event by id").argument("<id>","Event ID").option("-f, --format <format>","Output format").action(async(t,n)=>{try{let e=await i(G,{id:t});if(!e.ggnomadEvent)throw new p(`Event ${t} not found`);a(n,e.ggnomadEvent);}catch(e){s(e);}});}function K(o){let r=o.command("tours").description("GGNomad tours");r.command("list").description("List tours").option("--limit <n>","Page size",c,20).option("--offset <n>","Offset",c,0).option("-f, --format <format>","Output format").action(async t=>{try{let n=await i(N,{pagination:{first:t.limit,skip:t.offset}});a(t,n.ggnomadTours,{headers:["ID","Name","Type","Difficulty","Duration","Price","Status"],rows:n.ggnomadTours.map(e=>[d(e.id,12),e.name,e.type,e.difficulty??"-",e.duration??"-",`${e.price??0} ${e.currency??""}`.trim(),e.status])});}catch(n){s(n);}}),r.command("get").description("Get a tour by id").argument("<id>","Tour ID").option("-f, --format <format>","Output format").action(async(t,n)=>{try{let e=await i(D,{id:t});if(!e.ggnomadTour)throw new p(`Tour ${t} not found`);a(n,e.ggnomadTour);}catch(e){s(e);}});}function J(o){o.command("trips").description("GGNomad transport trips").command("list").description("List trips").option("--limit <n>","Page size",c,20).option("--offset <n>","Offset",c,0).option("-f, --format <format>","Output format").action(async t=>{try{let n=await i(q,{pagination:{first:t.limit,skip:t.offset}});a(t,n.ggnomadTrips,{headers:["ID","Name","Mode","Price","Departs","Eco","Status"],rows:n.ggnomadTrips.map(e=>[d(e.id,12),e.name,e.transportMode,`${e.price??0} ${e.currency??""}`.trim(),h(e.departureAt),e.ecoFriendly?"yes":"no",e.status])});}catch(n){s(n);}});}function Q(o){let r=o.command("bookings").description("GGNomad bookings");r.command("list").description("List bookings").option("--limit <n>","Page size",c,20).option("--offset <n>","Offset",c,0).option("-f, --format <format>","Output format").action(async t=>{try{let n=await i(L,{pagination:{first:t.limit,skip:t.offset}});a(t,n.ggnomadBookings,{headers:["ID","Ref","Type","Item","Guest","Total","Status","Payment"],rows:n.ggnomadBookings.map(e=>[d(e.id,12),e.referenceCode,e.bookingType,d(e.itemName,20),d(e.guestName,16),`${e.totalPrice} ${e.currency??""}`.trim(),e.status,e.paymentStatus])});}catch(n){s(n);}}),r.command("create").description("Create a booking").requiredOption("--type <t>","Booking type: ACTIVITY|EVENT|PROPERTY|TOUR|TRIP").requiredOption("--item-id <id>","Item ID being booked").requiredOption("--item-name <name>","Item name").requiredOption("--guest-name <name>","Guest name").requiredOption("--guests <n>","Number of guests",c).requiredOption("--total-price <n>","Total price",k).option("--guest-email <email>","Guest email").option("--guest-phone <phone>","Guest phone").option("--currency <c>","Currency code").option("--check-in <iso>","Check-in (ISO date)").option("--check-out <iso>","Check-out (ISO date)").option("--event-date <iso>","Event date (ISO date)").option("--payment-method <m>","Payment method").option("--special-requests <s>","Special requests").option("-f, --format <format>","Output format").action(async t=>{try{let n={bookingType:t.type.toUpperCase(),itemId:t.itemId,itemName:t.itemName,guestName:t.guestName,guests:t.guests,totalPrice:t.totalPrice};t.guestEmail&&(n.guestEmail=t.guestEmail),t.guestPhone&&(n.guestPhone=t.guestPhone),t.currency&&(n.currency=t.currency),t.checkIn&&(n.checkIn=t.checkIn),t.checkOut&&(n.checkOut=t.checkOut),t.eventDate&&(n.eventDate=t.eventDate),t.paymentMethod&&(n.paymentMethod=t.paymentMethod),t.specialRequests&&(n.specialRequests=t.specialRequests);let e=await i(_,{input:n});m(`Booking created: ${e.createGgnomadBooking.referenceCode}`),a(t,e.createGgnomadBooking);}catch(n){s(n);}}),r.command("cancel").description("Cancel a booking").argument("<id>","Booking ID").option("--reason <s>","Cancellation reason").option("-f, --format <format>","Output format").action(async(t,n)=>{try{let e=await i(F,{id:t,reason:n.reason});m(`Booking cancelled: ${e.cancelGgnomadBooking.referenceCode}`),a(n,e.cancelGgnomadBooking);}catch(e){s(e);}});}function X(o){let r=o.command("favorites").description("GGNomad favorites");r.command("list").description("List favorites").option("--limit <n>","Page size",c,50).option("--offset <n>","Offset",c,0).option("-f, --format <format>","Output format").action(async t=>{try{let n=await i(W,{pagination:{first:t.limit,skip:t.offset}});a(t,n.ggnomadFavorites);}catch(n){s(n);}}),r.command("toggle").description("Toggle a favorite on a target").requiredOption("--target-id <id>","Target ID").requiredOption("--target-type <t>","Target type: ACTIVITY|EVENT|PROPERTY|TOUR|TRIP").option("-f, --format <format>","Output format").action(async t=>{try{let n={targetId:t.targetId,targetType:t.targetType.toUpperCase()},e=await i(B,{input:n});m(e.toggleGgnomadFavorite?"Added to favorites":"Removed from favorites"),a(t,{favorited:e.toggleGgnomadFavorite});}catch(n){s(n);}});}function Z(o){let r=o.command("analytics").description("GGNomad analytics & overview");r.command("summary").description("Platform analytics (users, bookings, revenue, conversion, trends)").option("-f, --format <format>","Output format").action(async t=>{try{let n=await i(V);a(t,n.ggnomadAnalytics);}catch(n){s(n);}}),r.command("overview").description("Overview stats (users, listings, bookings, monthly revenue)").option("-f, --format <format>","Output format").action(async t=>{try{let n=await i(M);a(t,n.ggnomadOverviewStats);}catch(n){s(n);}});}var mt={id:"ggnomad",version:"1.0.0",displayName:"GGNomad",dependsOn:["auth","workspaces"],register(o,r){x(r);let t=o.command("ggnomad").description("GGNomad travel & experiences marketplace");j(t),z(t),Y(t),H(t),K(t),J(t),Q(t),X(t),Z(t);}},sn=mt;module.exports=sn;
@@ -0,0 +1,7 @@
1
+ import { C as CliModule } from '../../module-DxCuik6L.cjs';
2
+ import 'commander';
3
+ import 'graphql-request';
4
+
5
+ declare const ggnomadModule: CliModule;
6
+
7
+ export { ggnomadModule as default };
@@ -0,0 +1,7 @@
1
+ import { C as CliModule } from '../../module-DxCuik6L.js';
2
+ import 'commander';
3
+ import 'graphql-request';
4
+
5
+ declare const ggnomadModule: CliModule;
6
+
7
+ export { ggnomadModule as default };