@burdenoff/cli-sdk 2026.1102.2 → 2026.1102.4
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/adaptercloud/index.cjs +6 -3
- package/dist/modules/adaptercloud/index.js +6 -3
- package/dist/modules/assethandler/index.cjs +22 -57
- package/dist/modules/assethandler/index.js +27 -62
- package/dist/modules/atheletebridge/index.cjs +33 -19
- package/dist/modules/atheletebridge/index.js +32 -18
- package/dist/modules/buildmyiq/index.cjs +64 -67
- package/dist/modules/buildmyiq/index.js +60 -63
- package/dist/modules/comradecircle/index.cjs +23 -15
- package/dist/modules/comradecircle/index.js +19 -11
- package/dist/modules/coolandlovely/index.cjs +27 -14
- package/dist/modules/coolandlovely/index.js +29 -16
- package/dist/modules/crewfoundry/index.cjs +63 -116
- package/dist/modules/crewfoundry/index.js +62 -115
- package/dist/modules/ecoimpacthub/index.cjs +19 -9
- package/dist/modules/ecoimpacthub/index.js +19 -9
- package/dist/modules/eventfullymanaged/index.cjs +77 -77
- package/dist/modules/eventfullymanaged/index.js +78 -78
- package/dist/modules/govcitizenhub/index.cjs +7 -4
- package/dist/modules/govcitizenhub/index.js +7 -4
- package/dist/modules/headshotmarketing/index.cjs +92 -261
- package/dist/modules/headshotmarketing/index.js +94 -263
- package/dist/modules/hookmovies/index.cjs +17 -6
- package/dist/modules/hookmovies/index.js +20 -9
- package/dist/modules/housingvista/index.cjs +31 -24
- package/dist/modules/housingvista/index.js +26 -19
- package/dist/modules/intelwatchtower/index.cjs +24 -12
- package/dist/modules/intelwatchtower/index.js +24 -12
- package/dist/modules/kadaikodi/index.cjs +56 -90
- package/dist/modules/kadaikodi/index.js +60 -94
- package/dist/modules/labsofscience/index.cjs +8 -4
- package/dist/modules/labsofscience/index.js +8 -4
- package/dist/modules/manufacturedops/index.cjs +35 -22
- package/dist/modules/manufacturedops/index.js +34 -21
- package/dist/modules/movethewheels/index.cjs +103 -231
- package/dist/modules/movethewheels/index.js +103 -231
- package/dist/modules/planmagnet/index.cjs +21 -21
- package/dist/modules/planmagnet/index.js +32 -32
- package/dist/modules/proserviceworld/index.cjs +17 -12
- package/dist/modules/proserviceworld/index.js +17 -12
- package/dist/modules/subscriberbot/index.cjs +43 -19
- package/dist/modules/subscriberbot/index.js +46 -22
- package/dist/modules/technospam/index.cjs +17 -8
- package/dist/modules/technospam/index.js +17 -8
- package/dist/modules/theculturepost/index.cjs +27 -22
- package/dist/modules/theculturepost/index.js +31 -26
- package/dist/modules/theglobalfuel/index.cjs +65 -60
- package/dist/modules/theglobalfuel/index.js +65 -60
- package/dist/modules/timecampus/index.cjs +31 -85
- package/dist/modules/timecampus/index.js +32 -86
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a,b,i,r,q as q$1,h as h$1,k as k$1}from'../../chunk-O6UCQ5IT.js';import {o}from'../../chunk-YIY5IDXQ.js';var v=`
|
|
1
|
+
import {a,b as b$1,i,r,q as q$1,h as h$1,k as k$1}from'../../chunk-O6UCQ5IT.js';import {o}from'../../chunk-YIY5IDXQ.js';var v=`
|
|
2
2
|
id name description type status visibility timezone startAt endAt capacity
|
|
3
3
|
metadata createdAt updatedAt workspaceId
|
|
4
4
|
`,$=`
|
|
@@ -8,235 +8,235 @@ import {a,b,i,r,q as q$1,h as h$1,k as k$1}from'../../chunk-O6UCQ5IT.js';import
|
|
|
8
8
|
items { ${v} }
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
`,
|
|
11
|
+
`,b=`
|
|
12
12
|
query EventfullymanagedEvent($id: ID!) {
|
|
13
13
|
eventfullyManagedEvent(id: $id) { ${v} }
|
|
14
14
|
}
|
|
15
|
-
`,
|
|
15
|
+
`,M=`
|
|
16
16
|
mutation EventfullymanagedCreateEvent($input: EventfullyManagedEventInput!) {
|
|
17
17
|
eventfullyManagedCreateEvent(input: $input) { ${v} }
|
|
18
18
|
}
|
|
19
|
-
`,
|
|
19
|
+
`,R=`
|
|
20
20
|
mutation EventfullymanagedUpdateEvent($id: ID!, $input: EventfullyManagedEventInput!) {
|
|
21
21
|
eventfullyManagedUpdateEvent(id: $id, input: $input) { ${v} }
|
|
22
22
|
}
|
|
23
|
-
`,
|
|
23
|
+
`,L=`
|
|
24
24
|
mutation EventfullymanagedDeleteEvent($id: ID!) {
|
|
25
25
|
eventfullyManagedDeleteEvent(id: $id)
|
|
26
26
|
}
|
|
27
27
|
`,E=`
|
|
28
28
|
id name description status capacity addressLine1 city state country postalCode
|
|
29
29
|
amenities openingHours pricing metadata createdAt updatedAt workspaceId
|
|
30
|
-
`,
|
|
30
|
+
`,N=`
|
|
31
31
|
query EventfullymanagedVenues($limit: Int, $offset: Int, $search: String, $workspaceId: ID) {
|
|
32
32
|
eventfullyManagedVenues(limit: $limit, offset: $offset, search: $search, workspaceId: $workspaceId) {
|
|
33
33
|
total
|
|
34
34
|
items { ${E} }
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
`,
|
|
37
|
+
`,P=`
|
|
38
38
|
query EventfullymanagedVenue($id: ID!) {
|
|
39
39
|
eventfullyManagedVenue(id: $id) { ${E} }
|
|
40
40
|
}
|
|
41
|
-
`,
|
|
41
|
+
`,U=`
|
|
42
42
|
mutation EventfullymanagedCreateVenue($input: EventfullyManagedVenueInput!) {
|
|
43
43
|
eventfullyManagedCreateVenue(input: $input) { ${E} }
|
|
44
44
|
}
|
|
45
|
-
`,
|
|
45
|
+
`,_=`
|
|
46
46
|
mutation EventfullymanagedUpdateVenue($id: ID!, $input: EventfullyManagedVenueInput!) {
|
|
47
47
|
eventfullyManagedUpdateVenue(id: $id, input: $input) { ${E} }
|
|
48
48
|
}
|
|
49
|
-
`,
|
|
49
|
+
`,x=`
|
|
50
50
|
mutation EventfullymanagedDeleteVenue($id: ID!) {
|
|
51
51
|
eventfullyManagedDeleteVenue(id: $id)
|
|
52
52
|
}
|
|
53
53
|
`,I=`
|
|
54
54
|
id eventId name level logoUrl website contactName contactEmail contactPhone
|
|
55
55
|
metrics metadata createdAt updatedAt workspaceId
|
|
56
|
-
`,
|
|
56
|
+
`,q=`
|
|
57
57
|
query EventfullymanagedSponsors($eventId: ID, $limit: Int, $offset: Int, $search: String, $workspaceId: ID) {
|
|
58
58
|
eventfullyManagedSponsors(eventId: $eventId, limit: $limit, offset: $offset, search: $search, workspaceId: $workspaceId) {
|
|
59
59
|
total
|
|
60
60
|
items { ${I} }
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
`,
|
|
63
|
+
`,V=`
|
|
64
64
|
query EventfullymanagedSponsor($id: ID!) {
|
|
65
65
|
eventfullyManagedSponsor(id: $id) { ${I} }
|
|
66
66
|
}
|
|
67
|
-
`,
|
|
67
|
+
`,F=`
|
|
68
68
|
mutation EventfullymanagedCreateSponsor($input: EventfullyManagedSponsorInput!) {
|
|
69
69
|
eventfullyManagedCreateSponsor(input: $input) { ${I} }
|
|
70
70
|
}
|
|
71
|
-
`,
|
|
71
|
+
`,J=`
|
|
72
72
|
mutation EventfullymanagedUpdateSponsor($id: ID!, $input: EventfullyManagedSponsorInput!) {
|
|
73
73
|
eventfullyManagedUpdateSponsor(id: $id, input: $input) { ${I} }
|
|
74
74
|
}
|
|
75
|
-
`,
|
|
75
|
+
`,z=`
|
|
76
76
|
mutation EventfullymanagedDeleteSponsor($id: ID!) {
|
|
77
77
|
eventfullyManagedDeleteSponsor(id: $id)
|
|
78
78
|
}
|
|
79
|
-
`,
|
|
80
|
-
id eventId fullName email phone company role
|
|
79
|
+
`,S=`
|
|
80
|
+
id eventId fullName email phone company role profile preferences metadata
|
|
81
81
|
createdAt updatedAt workspaceId
|
|
82
|
-
`,
|
|
82
|
+
`,j=`
|
|
83
83
|
query EventfullymanagedAttendees($eventId: ID, $limit: Int, $offset: Int, $workspaceId: ID) {
|
|
84
84
|
eventfullyManagedAttendees(eventId: $eventId, limit: $limit, offset: $offset, workspaceId: $workspaceId) {
|
|
85
85
|
total
|
|
86
|
-
items { ${
|
|
86
|
+
items { ${S} }
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
`,
|
|
89
|
+
`,H=`
|
|
90
90
|
mutation EventfullymanagedCreateAttendee($input: EventfullyManagedAttendeeInput!) {
|
|
91
|
-
eventfullyManagedCreateAttendee(input: $input) { ${
|
|
91
|
+
eventfullyManagedCreateAttendee(input: $input) { ${S} }
|
|
92
92
|
}
|
|
93
|
-
`,
|
|
93
|
+
`,K=`
|
|
94
94
|
mutation EventfullymanagedUpdateAttendee($id: ID!, $input: EventfullyManagedAttendeeInput!) {
|
|
95
|
-
eventfullyManagedUpdateAttendee(id: $id, input: $input) { ${
|
|
95
|
+
eventfullyManagedUpdateAttendee(id: $id, input: $input) { ${S} }
|
|
96
96
|
}
|
|
97
|
-
`,
|
|
97
|
+
`,k=`
|
|
98
98
|
id eventId title description sessionType track status startsAt endsAt
|
|
99
99
|
capacity venueId metadata createdAt updatedAt workspaceId
|
|
100
|
-
`,
|
|
100
|
+
`,W=`
|
|
101
101
|
query EventfullymanagedEventSessions($eventId: ID, $limit: Int, $offset: Int, $workspaceId: ID) {
|
|
102
102
|
eventfullyManagedEventSessions(eventId: $eventId, limit: $limit, offset: $offset, workspaceId: $workspaceId) {
|
|
103
103
|
total
|
|
104
|
-
items { ${
|
|
104
|
+
items { ${k} }
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
`,
|
|
107
|
+
`,B=`
|
|
108
108
|
mutation EventfullymanagedCreateEventSession($input: EventfullyManagedEventSessionInput!) {
|
|
109
|
-
eventfullyManagedCreateEventSession(input: $input) { ${
|
|
109
|
+
eventfullyManagedCreateEventSession(input: $input) { ${k} }
|
|
110
110
|
}
|
|
111
|
-
`,
|
|
111
|
+
`,G=`
|
|
112
112
|
mutation EventfullymanagedUpdateEventSession($id: ID!, $input: EventfullyManagedEventSessionInput!) {
|
|
113
|
-
eventfullyManagedUpdateEventSession(id: $id, input: $input) { ${
|
|
113
|
+
eventfullyManagedUpdateEventSession(id: $id, input: $input) { ${k} }
|
|
114
114
|
}
|
|
115
|
-
`,
|
|
115
|
+
`,C=`
|
|
116
116
|
id eventId name description price currency capacity soldCount isActive
|
|
117
117
|
salesStartAt salesEndAt metadata createdAt updatedAt workspaceId
|
|
118
|
-
`,
|
|
118
|
+
`,Y=`
|
|
119
119
|
query EventfullymanagedTicketTypes($eventId: ID, $limit: Int, $offset: Int, $search: String, $workspaceId: ID) {
|
|
120
120
|
eventfullyManagedTicketTypes(eventId: $eventId, limit: $limit, offset: $offset, search: $search, workspaceId: $workspaceId) {
|
|
121
121
|
total
|
|
122
|
-
items { ${
|
|
122
|
+
items { ${C} }
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
`,
|
|
125
|
+
`,X=`
|
|
126
126
|
mutation EventfullymanagedCreateTicketType($input: EventfullyManagedTicketTypeInput!) {
|
|
127
|
-
eventfullyManagedCreateTicketType(input: $input) { ${
|
|
127
|
+
eventfullyManagedCreateTicketType(input: $input) { ${C} }
|
|
128
128
|
}
|
|
129
|
-
`,
|
|
129
|
+
`,Q=`
|
|
130
130
|
mutation EventfullymanagedUpdateTicketType($id: ID!, $input: EventfullyManagedTicketTypeInput!) {
|
|
131
|
-
eventfullyManagedUpdateTicketType(id: $id, input: $input) { ${
|
|
131
|
+
eventfullyManagedUpdateTicketType(id: $id, input: $input) { ${C} }
|
|
132
132
|
}
|
|
133
|
-
`,
|
|
133
|
+
`,Z=`
|
|
134
134
|
mutation EventfullymanagedDeleteTicketType($id: ID!) {
|
|
135
135
|
eventfullyManagedDeleteTicketType(id: $id)
|
|
136
136
|
}
|
|
137
|
-
`,
|
|
137
|
+
`,O=`
|
|
138
138
|
id eventId attendeeId ticketTypeId quantity status totalAmount currency
|
|
139
139
|
registeredAt checkedInAt metadata createdAt updatedAt workspaceId
|
|
140
|
-
`,
|
|
140
|
+
`,tt=`
|
|
141
141
|
query EventfullymanagedRegistrations($eventId: ID, $limit: Int, $offset: Int, $workspaceId: ID) {
|
|
142
142
|
eventfullyManagedRegistrations(eventId: $eventId, limit: $limit, offset: $offset, workspaceId: $workspaceId) {
|
|
143
143
|
total
|
|
144
|
-
items { ${
|
|
144
|
+
items { ${O} }
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
`,
|
|
147
|
+
`,et=`
|
|
148
148
|
mutation EventfullymanagedCreateRegistration($input: EventfullyManagedRegistrationInput!) {
|
|
149
|
-
eventfullyManagedCreateRegistration(input: $input) { ${
|
|
149
|
+
eventfullyManagedCreateRegistration(input: $input) { ${O} }
|
|
150
150
|
}
|
|
151
|
-
`,
|
|
151
|
+
`,nt=`
|
|
152
152
|
mutation EventfullymanagedUpdateRegistration($id: ID!, $input: EventfullyManagedRegistrationInput!) {
|
|
153
|
-
eventfullyManagedUpdateRegistration(id: $id, input: $input) { ${
|
|
153
|
+
eventfullyManagedUpdateRegistration(id: $id, input: $input) { ${O} }
|
|
154
154
|
}
|
|
155
|
-
`,
|
|
155
|
+
`,w=`
|
|
156
156
|
id fullName title organization bio email phone avatarUrl socialLinks
|
|
157
157
|
createdAt updatedAt workspaceId
|
|
158
|
-
`,
|
|
158
|
+
`,at=`
|
|
159
159
|
query EventfullymanagedSpeakers($limit: Int, $offset: Int, $workspaceId: ID) {
|
|
160
160
|
eventfullyManagedSpeakers(limit: $limit, offset: $offset, workspaceId: $workspaceId) {
|
|
161
161
|
total
|
|
162
|
-
items { ${
|
|
162
|
+
items { ${w} }
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
`,
|
|
165
|
+
`,it=`
|
|
166
166
|
mutation EventfullymanagedCreateSpeaker($input: EventfullyManagedSpeakerInput!) {
|
|
167
|
-
eventfullyManagedCreateSpeaker(input: $input) { ${
|
|
167
|
+
eventfullyManagedCreateSpeaker(input: $input) { ${w} }
|
|
168
168
|
}
|
|
169
|
-
`,
|
|
169
|
+
`,ot=`
|
|
170
170
|
mutation EventfullymanagedUpdateSpeaker($id: ID!, $input: EventfullyManagedSpeakerInput!) {
|
|
171
|
-
eventfullyManagedUpdateSpeaker(id: $id, input: $input) { ${
|
|
171
|
+
eventfullyManagedUpdateSpeaker(id: $id, input: $input) { ${w} }
|
|
172
172
|
}
|
|
173
|
-
`,
|
|
173
|
+
`,T=`
|
|
174
174
|
id eventId name boothCode category contactName contactEmail status metadata
|
|
175
175
|
createdAt updatedAt workspaceId
|
|
176
|
-
`,
|
|
176
|
+
`,rt=`
|
|
177
177
|
query EventfullymanagedExhibitors($eventId: ID, $limit: Int, $offset: Int, $search: String, $workspaceId: ID) {
|
|
178
178
|
eventfullyManagedExhibitors(eventId: $eventId, limit: $limit, offset: $offset, search: $search, workspaceId: $workspaceId) {
|
|
179
179
|
total
|
|
180
|
-
items { ${
|
|
180
|
+
items { ${T} }
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
-
`,
|
|
183
|
+
`,st=`
|
|
184
184
|
mutation EventfullymanagedCreateExhibitor($input: EventfullyManagedExhibitorInput!) {
|
|
185
|
-
eventfullyManagedCreateExhibitor(input: $input) { ${
|
|
185
|
+
eventfullyManagedCreateExhibitor(input: $input) { ${T} }
|
|
186
186
|
}
|
|
187
|
-
`,
|
|
187
|
+
`,dt=`
|
|
188
188
|
mutation EventfullymanagedUpdateExhibitor($id: ID!, $input: EventfullyManagedExhibitorInput!) {
|
|
189
|
-
eventfullyManagedUpdateExhibitor(id: $id, input: $input) { ${
|
|
189
|
+
eventfullyManagedUpdateExhibitor(id: $id, input: $input) { ${T} }
|
|
190
190
|
}
|
|
191
|
-
`,
|
|
191
|
+
`,pt=`
|
|
192
192
|
mutation EventfullymanagedDeleteExhibitor($id: ID!) {
|
|
193
193
|
eventfullyManagedDeleteExhibitor(id: $id)
|
|
194
194
|
}
|
|
195
|
-
`,
|
|
195
|
+
`,D=`
|
|
196
196
|
id eventId attendeeName attendeeEmail exhibitorId sponsorId status score
|
|
197
197
|
notes capturedAt metadata createdAt updatedAt workspaceId
|
|
198
|
-
`,
|
|
198
|
+
`,mt=`
|
|
199
199
|
query EventfullymanagedLeads($eventId: ID, $limit: Int, $offset: Int, $search: String, $workspaceId: ID) {
|
|
200
200
|
eventfullyManagedLeads(eventId: $eventId, limit: $limit, offset: $offset, search: $search, workspaceId: $workspaceId) {
|
|
201
201
|
total
|
|
202
|
-
items { ${
|
|
202
|
+
items { ${D} }
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
`,
|
|
205
|
+
`,ct=`
|
|
206
206
|
mutation EventfullymanagedCreateLead($input: EventfullyManagedLeadInput!) {
|
|
207
|
-
eventfullyManagedCreateLead(input: $input) { ${
|
|
207
|
+
eventfullyManagedCreateLead(input: $input) { ${D} }
|
|
208
208
|
}
|
|
209
|
-
`,
|
|
209
|
+
`,ut=`
|
|
210
210
|
mutation EventfullymanagedUpdateLead($id: ID!, $input: EventfullyManagedLeadInput!) {
|
|
211
|
-
eventfullyManagedUpdateLead(id: $id, input: $input) { ${
|
|
211
|
+
eventfullyManagedUpdateLead(id: $id, input: $input) { ${D} }
|
|
212
212
|
}
|
|
213
|
-
`,
|
|
213
|
+
`,lt=`
|
|
214
214
|
mutation EventfullymanagedDeleteLead($id: ID!) {
|
|
215
215
|
eventfullyManagedDeleteLead(id: $id)
|
|
216
216
|
}
|
|
217
|
-
`,
|
|
217
|
+
`,h=`
|
|
218
218
|
id eventId code description discountType discountValue maxUses usedCount
|
|
219
219
|
isActive startsAt endsAt metadata createdAt updatedAt workspaceId
|
|
220
|
-
`,
|
|
220
|
+
`,gt=`
|
|
221
221
|
query EventfullymanagedPromoCodes($eventId: ID, $limit: Int, $offset: Int, $search: String, $workspaceId: ID) {
|
|
222
222
|
eventfullyManagedPromoCodes(eventId: $eventId, limit: $limit, offset: $offset, search: $search, workspaceId: $workspaceId) {
|
|
223
223
|
total
|
|
224
|
-
items { ${
|
|
224
|
+
items { ${h} }
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
`,
|
|
227
|
+
`,ft=`
|
|
228
228
|
mutation EventfullymanagedCreatePromoCode($input: EventfullyManagedPromoCodeInput!) {
|
|
229
|
-
eventfullyManagedCreatePromoCode(input: $input) { ${
|
|
229
|
+
eventfullyManagedCreatePromoCode(input: $input) { ${h} }
|
|
230
230
|
}
|
|
231
|
-
`,
|
|
231
|
+
`,yt=`
|
|
232
232
|
mutation EventfullymanagedUpdatePromoCode($id: ID!, $input: EventfullyManagedPromoCodeInput!) {
|
|
233
|
-
eventfullyManagedUpdatePromoCode(id: $id, input: $input) { ${
|
|
233
|
+
eventfullyManagedUpdatePromoCode(id: $id, input: $input) { ${h} }
|
|
234
234
|
}
|
|
235
|
-
`,
|
|
235
|
+
`,vt=`
|
|
236
236
|
mutation EventfullymanagedDeletePromoCode($id: ID!) {
|
|
237
237
|
eventfullyManagedDeletePromoCode(id: $id)
|
|
238
238
|
}
|
|
239
|
-
`,
|
|
239
|
+
`,Et=`
|
|
240
240
|
query EventfullymanagedDashboardSummary($workspaceId: ID) {
|
|
241
241
|
eventfullyManagedDashboardSummary(workspaceId: $workspaceId) {
|
|
242
242
|
activeEvents totalAttendees totalEvents totalRegistrations totalSponsors
|
|
@@ -244,4 +244,4 @@ import {a,b,i,r,q as q$1,h as h$1,k as k$1}from'../../chunk-O6UCQ5IT.js';import
|
|
|
244
244
|
latestEvents { id name status type startAt endAt }
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
-
`;function c(t,i){try{return JSON.parse(i)}catch{throw new o(`--${t} must be valid JSON`)}}function d(t){let i=Number.parseInt(t,10);if(Number.isNaN(i))throw new o(`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});i(e,a.eventfullyManagedEvents.items,{headers:["ID","Name","Type","Status","Start","End"],rows:a.eventfullyManagedEvents.items.map(n=>[r(n.id,12),n.name,n.type,n.status,q$1(n.startAt),q$1(n.endAt)])});}catch(a){h$1(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(`Event ${e} not found`);i(a,n.eventfullyManagedEvent);}catch(n){h$1(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)});k$1(`Event created: ${a.eventfullyManagedCreateEvent.name}`),i(e,a.eventfullyManagedCreateEvent);}catch(a){h$1(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)});k$1("Event updated"),i(a,n.eventfullyManagedUpdateEvent);}catch(n){h$1(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});k$1(n.eventfullyManagedDeleteEvent?"Event deleted":"Event not deleted"),i(a,{deleted:n.eventfullyManagedDeleteEvent});}catch(n){h$1(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});i(e,a.eventfullyManagedVenues.items,{headers:["ID","Name","Status","City","Country","Capacity"],rows:a.eventfullyManagedVenues.items.map(n=>[r(n.id,12),n.name,n.status,n.city??"-",n.country??"-",n.capacity!=null?String(n.capacity):"-"])});}catch(a){h$1(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(`Venue ${e} not found`);i(a,n.eventfullyManagedVenue);}catch(n){h$1(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})});k$1(`Venue created: ${a.eventfullyManagedCreateVenue.name}`),i(e,a.eventfullyManagedCreateVenue);}catch(a){h$1(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})});k$1("Venue updated"),i(a,n.eventfullyManagedUpdateVenue);}catch(n){h$1(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});k$1(n.eventfullyManagedDeleteVenue?"Venue deleted":"Venue not deleted"),i(a,{deleted:n.eventfullyManagedDeleteVenue});}catch(n){h$1(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});i(e,a.eventfullyManagedSponsors.items,{headers:["ID","Name","Level","Event","Website"],rows:a.eventfullyManagedSponsors.items.map(n=>[r(n.id,12),n.name,n.level,r(n.eventId,12),n.website??"-"])});}catch(a){h$1(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(`Sponsor ${e} not found`);i(a,n.eventfullyManagedSponsor);}catch(n){h$1(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)});k$1(`Sponsor created: ${a.eventfullyManagedCreateSponsor.name}`),i(e,a.eventfullyManagedCreateSponsor);}catch(a){h$1(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)});k$1("Sponsor updated"),i(a,n.eventfullyManagedUpdateSponsor);}catch(n){h$1(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});k$1(n.eventfullyManagedDeleteSponsor?"Sponsor deleted":"Sponsor not deleted"),i(a,{deleted:n.eventfullyManagedDeleteSponsor});}catch(n){h$1(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});i(e,a.eventfullyManagedAttendees.items,{headers:["ID","Name","Email","Company","Role"],rows:a.eventfullyManagedAttendees.items.map(n=>[r(n.id,12),n.fullName,n.email,n.company??"-",n.role??"-"])});}catch(a){h$1(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)});k$1(`Attendee created: ${a.eventfullyManagedCreateAttendee.fullName}`),i(e,a.eventfullyManagedCreateAttendee);}catch(a){h$1(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)});k$1("Attendee updated"),i(a,n.eventfullyManagedUpdateAttendee);}catch(n){h$1(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});i(e,a.eventfullyManagedEventSessions.items,{headers:["ID","Title","Type","Status","Track","Starts"],rows:a.eventfullyManagedEventSessions.items.map(n=>[r(n.id,12),n.title,n.sessionType,n.status,n.track??"-",q$1(n.startsAt)])});}catch(a){h$1(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)});k$1(`Session created: ${a.eventfullyManagedCreateEventSession.title}`),i(e,a.eventfullyManagedCreateEventSession);}catch(a){h$1(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)});k$1("Session updated"),i(a,n.eventfullyManagedUpdateEventSession);}catch(n){h$1(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});i(e,a.eventfullyManagedTicketTypes.items,{headers:["ID","Name","Price","Currency","Active","Sold"],rows:a.eventfullyManagedTicketTypes.items.map(n=>[r(n.id,12),n.name,n.price,n.currency,n.isActive?"yes":"no",String(n.soldCount)])});}catch(a){h$1(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)});k$1(`Ticket type created: ${a.eventfullyManagedCreateTicketType.name}`),i(e,a.eventfullyManagedCreateTicketType);}catch(a){h$1(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)});k$1("Ticket type updated"),i(a,n.eventfullyManagedUpdateTicketType);}catch(n){h$1(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});k$1(n.eventfullyManagedDeleteTicketType?"Ticket type deleted":"Ticket type not deleted"),i(a,{deleted:n.eventfullyManagedDeleteTicketType});}catch(n){h$1(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});i(e,a.eventfullyManagedRegistrations.items,{headers:["ID","Event","Attendee","Status","Qty","Total"],rows:a.eventfullyManagedRegistrations.items.map(n=>[r(n.id,12),r(n.eventId,12),n.attendeeId?r(n.attendeeId,12):"-",n.status,String(n.quantity),n.totalAmount??"-"])});}catch(a){h$1(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)});k$1(`Registration created: ${a.eventfullyManagedCreateRegistration.id}`),i(e,a.eventfullyManagedCreateRegistration);}catch(a){h$1(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)});k$1("Registration updated"),i(a,n.eventfullyManagedUpdateRegistration);}catch(n){h$1(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});i(e,a.eventfullyManagedSpeakers.items,{headers:["ID","Name","Title","Organization","Email"],rows:a.eventfullyManagedSpeakers.items.map(n=>[r(n.id,12),n.fullName,n.title??"-",n.organization??"-",n.email??"-"])});}catch(a){h$1(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)});k$1(`Speaker created: ${a.eventfullyManagedCreateSpeaker.fullName}`),i(e,a.eventfullyManagedCreateSpeaker);}catch(a){h$1(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)});k$1("Speaker updated"),i(a,n.eventfullyManagedUpdateSpeaker);}catch(n){h$1(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});i(e,a.eventfullyManagedExhibitors.items,{headers:["ID","Name","Status","Booth","Category"],rows:a.eventfullyManagedExhibitors.items.map(n=>[r(n.id,12),n.name,n.status,n.boothCode??"-",n.category??"-"])});}catch(a){h$1(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)});k$1(`Exhibitor created: ${a.eventfullyManagedCreateExhibitor.name}`),i(e,a.eventfullyManagedCreateExhibitor);}catch(a){h$1(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)});k$1("Exhibitor updated"),i(a,n.eventfullyManagedUpdateExhibitor);}catch(n){h$1(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});k$1(n.eventfullyManagedDeleteExhibitor?"Exhibitor deleted":"Exhibitor not deleted"),i(a,{deleted:n.eventfullyManagedDeleteExhibitor});}catch(n){h$1(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});i(e,a.eventfullyManagedLeads.items,{headers:["ID","Name","Email","Status","Score"],rows:a.eventfullyManagedLeads.items.map(n=>[r(n.id,12),n.attendeeName,n.attendeeEmail,n.status,n.score!=null?String(n.score):"-"])});}catch(a){h$1(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)});k$1(`Lead created: ${a.eventfullyManagedCreateLead.attendeeName}`),i(e,a.eventfullyManagedCreateLead);}catch(a){h$1(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)});k$1("Lead updated"),i(a,n.eventfullyManagedUpdateLead);}catch(n){h$1(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});k$1(n.eventfullyManagedDeleteLead?"Lead deleted":"Lead not deleted"),i(a,{deleted:n.eventfullyManagedDeleteLead});}catch(n){h$1(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});i(e,a.eventfullyManagedPromoCodes.items,{headers:["ID","Code","Type","Value","Active","Used"],rows:a.eventfullyManagedPromoCodes.items.map(n=>[r(n.id,12),n.code,n.discountType,n.discountValue,n.isActive?"yes":"no",String(n.usedCount)])});}catch(a){h$1(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)});k$1(`Promo code created: ${a.eventfullyManagedCreatePromoCode.code}`),i(e,a.eventfullyManagedCreatePromoCode);}catch(a){h$1(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)});k$1("Promo code updated"),i(a,n.eventfullyManagedUpdatePromoCode);}catch(n){h$1(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});k$1(n.eventfullyManagedDeletePromoCode?"Promo code deleted":"Promo code not deleted"),i(a,{deleted:n.eventfullyManagedDeletePromoCode});}catch(n){h$1(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});i(e,a.eventfullyManagedDashboardSummary);}catch(a){h$1(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};
|
|
247
|
+
`;function c(t,i){try{return JSON.parse(i)}catch{throw new o(`--${t} must be valid JSON`)}}function d(t){let i=Number.parseInt(t,10);if(Number.isNaN(i))throw new o(`Expected an integer but got "${t}"`);return i}function It(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$1($,{search:e.search,workspaceId:e.workspace,limit:e.limit,offset:e.offset});i(e,a.eventfullyManagedEvents.items,{headers:["ID","Name","Type","Status","Start","End"],rows:a.eventfullyManagedEvents.items.map(n=>[r(n.id,12),n.name,n.type,n.status,q$1(n.startAt),q$1(n.endAt)])});}catch(a){h$1(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$1(b,{id:e});if(!n.eventfullyManagedEvent)throw new o(`Event ${e} not found`);i(a,n.eventfullyManagedEvent);}catch(n){h$1(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$1(M,{input:St(e)});k$1(`Event created: ${a.eventfullyManagedCreateEvent.name}`),i(e,a.eventfullyManagedCreateEvent);}catch(a){h$1(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$1(R,{id:e,input:St(a)});k$1("Event updated"),i(a,n.eventfullyManagedUpdateEvent);}catch(n){h$1(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$1(L,{id:e});k$1(n.eventfullyManagedDeleteEvent?"Event deleted":"Event not deleted"),i(a,{deleted:n.eventfullyManagedDeleteEvent});}catch(n){h$1(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=It(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$1(N,{search:e.search,workspaceId:e.workspace,limit:e.limit,offset:e.offset});i(e,a.eventfullyManagedVenues.items,{headers:["ID","Name","Status","City","Country","Capacity"],rows:a.eventfullyManagedVenues.items.map(n=>[r(n.id,12),n.name,n.status,n.city??"-",n.country??"-",n.capacity!=null?String(n.capacity):"-"])});}catch(a){h$1(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$1(P,{id:e});if(!n.eventfullyManagedVenue)throw new o(`Venue ${e} not found`);i(a,n.eventfullyManagedVenue);}catch(n){h$1(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$1(U,{input:Ct({...e,addressLine1:e.address})});k$1(`Venue created: ${a.eventfullyManagedCreateVenue.name}`),i(e,a.eventfullyManagedCreateVenue);}catch(a){h$1(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$1(_,{id:e,input:Ct({...a,addressLine1:a.address})});k$1("Venue updated"),i(a,n.eventfullyManagedUpdateVenue);}catch(n){h$1(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$1(x,{id:e});k$1(n.eventfullyManagedDeleteVenue?"Venue deleted":"Venue not deleted"),i(a,{deleted:n.eventfullyManagedDeleteVenue});}catch(n){h$1(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$1(q,{eventId:e.event,search:e.search,workspaceId:e.workspace,limit:e.limit,offset:e.offset});i(e,a.eventfullyManagedSponsors.items,{headers:["ID","Name","Level","Event","Website"],rows:a.eventfullyManagedSponsors.items.map(n=>[r(n.id,12),n.name,n.level,r(n.eventId,12),n.website??"-"])});}catch(a){h$1(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$1(V,{id:e});if(!n.eventfullyManagedSponsor)throw new o(`Sponsor ${e} not found`);i(a,n.eventfullyManagedSponsor);}catch(n){h$1(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$1(F,{input:wt(e)});k$1(`Sponsor created: ${a.eventfullyManagedCreateSponsor.name}`),i(e,a.eventfullyManagedCreateSponsor);}catch(a){h$1(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$1(J,{id:e,input:wt(a)});k$1("Sponsor updated"),i(a,n.eventfullyManagedUpdateSponsor);}catch(n){h$1(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$1(z,{id:e});k$1(n.eventfullyManagedDeleteSponsor?"Sponsor deleted":"Sponsor not deleted"),i(a,{deleted:n.eventfullyManagedDeleteSponsor});}catch(n){h$1(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.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$1(j,{eventId:e.event,workspaceId:e.workspace,limit:e.limit,offset:e.offset});i(e,a.eventfullyManagedAttendees.items,{headers:["ID","Name","Email","Company","Role"],rows:a.eventfullyManagedAttendees.items.map(n=>[r(n.id,12),n.fullName,n.email,n.company??"-",n.role??"-"])});}catch(a){h$1(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("--profile <json>","Profile JSON").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async e=>{try{let a=await b$1(H,{input:Dt(e)});k$1(`Attendee created: ${a.eventfullyManagedCreateAttendee.fullName}`),i(e,a.eventfullyManagedCreateAttendee);}catch(a){h$1(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("--profile <json>","Profile JSON").option("--metadata <json>","Metadata JSON").option("-f, --format <format>","Output format").action(async(e,a)=>{try{let n=await b$1(K,{id:e,input:Dt(a)});k$1("Attendee updated"),i(a,n.eventfullyManagedUpdateAttendee);}catch(n){h$1(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 $t(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$1(W,{eventId:e.event,workspaceId:e.workspace,limit:e.limit,offset:e.offset});i(e,a.eventfullyManagedEventSessions.items,{headers:["ID","Title","Type","Status","Track","Starts"],rows:a.eventfullyManagedEventSessions.items.map(n=>[r(n.id,12),n.title,n.sessionType,n.status,n.track??"-",q$1(n.startsAt)])});}catch(a){h$1(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$1(B,{input:At(e)});k$1(`Session created: ${a.eventfullyManagedCreateEventSession.title}`),i(e,a.eventfullyManagedCreateEventSession);}catch(a){h$1(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$1(G,{id:e,input:At(a)});k$1("Session updated"),i(a,n.eventfullyManagedUpdateEventSession);}catch(n){h$1(n);}});}function bt(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.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$1(Y,{eventId:e.event,search:e.search,workspaceId:e.workspace,limit:e.limit,offset:e.offset});i(e,a.eventfullyManagedTicketTypes.items,{headers:["ID","Name","Price","Currency","Active","Sold"],rows:a.eventfullyManagedTicketTypes.items.map(n=>[r(n.id,12),n.name,n.price,n.currency,n.isActive?"yes":"no",String(n.soldCount)])});}catch(a){h$1(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("--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$1(X,{input:bt(e)});k$1(`Ticket type created: ${a.eventfullyManagedCreateTicketType.name}`),i(e,a.eventfullyManagedCreateTicketType);}catch(a){h$1(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("--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$1(Q,{id:e,input:bt(a)});k$1("Ticket type updated"),i(a,n.eventfullyManagedUpdateTicketType);}catch(n){h$1(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$1(Z,{id:e});k$1(n.eventfullyManagedDeleteTicketType?"Ticket type deleted":"Ticket type not deleted"),i(a,{deleted:n.eventfullyManagedDeleteTicketType});}catch(n){h$1(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$1(tt,{eventId:e.event,workspaceId:e.workspace,limit:e.limit,offset:e.offset});i(e,a.eventfullyManagedRegistrations.items,{headers:["ID","Event","Attendee","Status","Qty","Total"],rows:a.eventfullyManagedRegistrations.items.map(n=>[r(n.id,12),r(n.eventId,12),n.attendeeId?r(n.attendeeId,12):"-",n.status,String(n.quantity),n.totalAmount??"-"])});}catch(a){h$1(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$1(et,{input:Rt(e)});k$1(`Registration created: ${a.eventfullyManagedCreateRegistration.id}`),i(e,a.eventfullyManagedCreateRegistration);}catch(a){h$1(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$1(nt,{id:e,input:Rt(a)});k$1("Registration updated"),i(a,n.eventfullyManagedUpdateRegistration);}catch(n){h$1(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$1(at,{workspaceId:e.workspace,limit:e.limit,offset:e.offset});i(e,a.eventfullyManagedSpeakers.items,{headers:["ID","Name","Title","Organization","Email"],rows:a.eventfullyManagedSpeakers.items.map(n=>[r(n.id,12),n.fullName,n.title??"-",n.organization??"-",n.email??"-"])});}catch(a){h$1(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$1(it,{input:Nt(e)});k$1(`Speaker created: ${a.eventfullyManagedCreateSpeaker.fullName}`),i(e,a.eventfullyManagedCreateSpeaker);}catch(a){h$1(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$1(ot,{id:e,input:Nt(a)});k$1("Speaker updated"),i(a,n.eventfullyManagedUpdateSpeaker);}catch(n){h$1(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$1(rt,{eventId:e.event,search:e.search,workspaceId:e.workspace,limit:e.limit,offset:e.offset});i(e,a.eventfullyManagedExhibitors.items,{headers:["ID","Name","Status","Booth","Category"],rows:a.eventfullyManagedExhibitors.items.map(n=>[r(n.id,12),n.name,n.status,n.boothCode??"-",n.category??"-"])});}catch(a){h$1(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$1(st,{input:Ut(e)});k$1(`Exhibitor created: ${a.eventfullyManagedCreateExhibitor.name}`),i(e,a.eventfullyManagedCreateExhibitor);}catch(a){h$1(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$1(dt,{id:e,input:Ut(a)});k$1("Exhibitor updated"),i(a,n.eventfullyManagedUpdateExhibitor);}catch(n){h$1(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$1(pt,{id:e});k$1(n.eventfullyManagedDeleteExhibitor?"Exhibitor deleted":"Exhibitor not deleted"),i(a,{deleted:n.eventfullyManagedDeleteExhibitor});}catch(n){h$1(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$1(mt,{eventId:e.event,search:e.search,workspaceId:e.workspace,limit:e.limit,offset:e.offset});i(e,a.eventfullyManagedLeads.items,{headers:["ID","Name","Email","Status","Score"],rows:a.eventfullyManagedLeads.items.map(n=>[r(n.id,12),n.attendeeName,n.attendeeEmail,n.status,n.score!=null?String(n.score):"-"])});}catch(a){h$1(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$1(ct,{input:xt(e)});k$1(`Lead created: ${a.eventfullyManagedCreateLead.attendeeName}`),i(e,a.eventfullyManagedCreateLead);}catch(a){h$1(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$1(ut,{id:e,input:xt(a)});k$1("Lead updated"),i(a,n.eventfullyManagedUpdateLead);}catch(n){h$1(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$1(lt,{id:e});k$1(n.eventfullyManagedDeleteLead?"Lead deleted":"Lead not deleted"),i(a,{deleted:n.eventfullyManagedDeleteLead});}catch(n){h$1(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.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$1(gt,{eventId:e.event,search:e.search,workspaceId:e.workspace,limit:e.limit,offset:e.offset});i(e,a.eventfullyManagedPromoCodes.items,{headers:["ID","Code","Type","Value","Active","Used"],rows:a.eventfullyManagedPromoCodes.items.map(n=>[r(n.id,12),n.code,n.discountType,n.discountValue,n.isActive?"yes":"no",String(n.usedCount)])});}catch(a){h$1(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("--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$1(ft,{input:Vt(e)});k$1(`Promo code created: ${a.eventfullyManagedCreatePromoCode.code}`),i(e,a.eventfullyManagedCreatePromoCode);}catch(a){h$1(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("--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$1(yt,{id:e,input:Vt(a)});k$1("Promo code updated"),i(a,n.eventfullyManagedUpdatePromoCode);}catch(n){h$1(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$1(vt,{id:e});k$1(n.eventfullyManagedDeletePromoCode?"Promo code deleted":"Promo code not deleted"),i(a,{deleted:n.eventfullyManagedDeletePromoCode});}catch(n){h$1(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$1(Et,{workspaceId:e.workspace});i(e,a.eventfullyManagedDashboardSummary);}catch(a){h$1(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),$t(e),Mt(e),Lt(e),Pt(e),_t(e),qt(e),Ft(e),Jt(e);}},He=zt;export{He as default};
|