@burdenoff/sdk-libs 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 +286 -0
  2. package/dist/modules/assethandler/index.d.cts +548 -0
  3. package/dist/modules/assethandler/index.d.ts +548 -0
  4. package/dist/modules/assethandler/index.js +286 -0
  5. package/dist/modules/crewfoundry/index.cjs +183 -0
  6. package/dist/modules/crewfoundry/index.d.cts +453 -0
  7. package/dist/modules/crewfoundry/index.d.ts +453 -0
  8. package/dist/modules/crewfoundry/index.js +183 -0
  9. package/dist/modules/eventfullymanaged/index.cjs +666 -0
  10. package/dist/modules/eventfullymanaged/index.d.cts +650 -0
  11. package/dist/modules/eventfullymanaged/index.d.ts +650 -0
  12. package/dist/modules/eventfullymanaged/index.js +666 -0
  13. package/dist/modules/ggnomad/index.cjs +164 -0
  14. package/dist/modules/ggnomad/index.d.cts +282 -0
  15. package/dist/modules/ggnomad/index.d.ts +282 -0
  16. package/dist/modules/ggnomad/index.js +164 -0
  17. package/dist/modules/headshotmarketing/index.cjs +1205 -0
  18. package/dist/modules/headshotmarketing/index.d.cts +1922 -0
  19. package/dist/modules/headshotmarketing/index.d.ts +1922 -0
  20. package/dist/modules/headshotmarketing/index.js +1205 -0
  21. package/dist/modules/housingvista/index.cjs +174 -0
  22. package/dist/modules/housingvista/index.d.cts +287 -0
  23. package/dist/modules/housingvista/index.d.ts +287 -0
  24. package/dist/modules/housingvista/index.js +174 -0
  25. package/dist/modules/movethewheels/index.cjs +591 -0
  26. package/dist/modules/movethewheels/index.d.cts +1052 -0
  27. package/dist/modules/movethewheels/index.d.ts +1052 -0
  28. package/dist/modules/movethewheels/index.js +591 -0
  29. package/dist/modules/planmagnet/index.cjs +898 -0
  30. package/dist/modules/planmagnet/index.d.cts +1656 -0
  31. package/dist/modules/planmagnet/index.d.ts +1656 -0
  32. package/dist/modules/planmagnet/index.js +898 -0
  33. package/dist/modules/proserviceworld/index.cjs +233 -0
  34. package/dist/modules/proserviceworld/index.d.cts +400 -0
  35. package/dist/modules/proserviceworld/index.d.ts +400 -0
  36. package/dist/modules/proserviceworld/index.js +233 -0
  37. package/dist/modules/timecampus/index.cjs +519 -0
  38. package/dist/modules/timecampus/index.d.cts +992 -0
  39. package/dist/modules/timecampus/index.d.ts +992 -0
  40. package/dist/modules/timecampus/index.js +519 -0
  41. package/package.json +1 -1
@@ -0,0 +1,286 @@
1
+ var a=`
2
+ fragment AssetFields on Asset {
3
+ id assetNumber name description category condition status
4
+ serialNumber assignedTo locationName tags customAttributes
5
+ workspaceId createdAt updatedAt
6
+ }
7
+ `,o=`
8
+ fragment AiPredictionFields on AIPrediction {
9
+ id assetId predictionType recommendation confidence score status
10
+ modelVersion features generatedAt workspaceId createdAt
11
+ }
12
+ `,se=`
13
+ fragment BudgetFields on AssetBudget {
14
+ id name category department period allocated spent remaining status
15
+ workspaceId createdAt updatedAt
16
+ }
17
+ `,ne=`
18
+ fragment SecurityPolicyFields on AssetSecurityPolicy {
19
+ id name description category version owner status applicableTo
20
+ effectiveDate reviewDate workspaceId createdAt updatedAt
21
+ }
22
+ `,ae=`
23
+ fragment ChangeRequestFields on ChangeRequest {
24
+ id title description type risk status requestedBy assignedTo
25
+ affectedAssets approvals scheduledStart scheduledEnd
26
+ workspaceId createdAt updatedAt
27
+ }
28
+ `,re=`
29
+ fragment ComplianceFrameworkFields on ComplianceFramework {
30
+ id name version status score totalControls passedControls failedControls
31
+ lastAssessment nextAssessment workspaceId createdAt updatedAt
32
+ }
33
+ `,d=`
34
+ fragment ConfigurationItemFields on ConfigurationItem {
35
+ id ciNumber name ciType status environment owner attributes
36
+ workspaceId createdAt updatedAt
37
+ }
38
+ `,c=`
39
+ fragment DigitalTwinFields on DigitalTwin {
40
+ id assetId fidelityLevel modelRef geometryRef properties
41
+ workspaceId createdAt updatedAt
42
+ }
43
+ `,A=`
44
+ fragment DiscoveryJobFields on DiscoveryJob {
45
+ id name source status assetsDiscovered errorSummary createdBy
46
+ startedAt completedAt workspaceId createdAt updatedAt
47
+ }
48
+ `,l=`
49
+ fragment EsgMetricFields on EsgMetric {
50
+ id category metricKey metricName unit value target trend
51
+ periodStart periodEnd updatedBy workspaceId createdAt updatedAt
52
+ }
53
+ `,p=`
54
+ fragment IncidentFields on Incident {
55
+ id title description category priority status assignedTo
56
+ reportedBy reportedAt resolvedAt slaBreached workspaceId
57
+ }
58
+ `,ie=`
59
+ fragment InvoiceFields on Invoice {
60
+ id number vendor amount currency status items relatedPO
61
+ issueDate dueDate workspaceId createdAt updatedAt
62
+ }
63
+ `,u=`
64
+ fragment IotDeviceFields on IoTDevice {
65
+ id deviceId name type protocol status assetId metadata
66
+ workspaceId createdAt updatedAt
67
+ }
68
+ `,I=`
69
+ fragment KnowledgeArticleFields on KnowledgeArticle {
70
+ id title slug summary content status tags relatedAssetId relatedIncidentId
71
+ views createdBy updatedBy publishedAt workspaceId createdAt updatedAt
72
+ }
73
+ `,oe=`
74
+ fragment MaintenanceRecordFields on MaintenanceRecord {
75
+ id assetId title description type status priority checklist
76
+ estimatedCost actualCost scheduledAt completedAt
77
+ workspaceId createdAt updatedAt
78
+ }
79
+ `,de=`
80
+ fragment ProblemFields on Problem {
81
+ id title description category priority status assignedTo
82
+ rootCause workaround relatedIncidents workspaceId createdAt updatedAt
83
+ }
84
+ `,g=`
85
+ fragment ProvenanceRecordFields on ProvenanceRecord {
86
+ id assetId chainNetwork hash txHash blockNumber attestedBy attestedAt
87
+ metadata workspaceId createdAt
88
+ }
89
+ `,ce=`
90
+ fragment SecurityEventFields on SecurityEvent {
91
+ id title description eventType severity source userId ipAddress
92
+ resolved occurredAt workspaceId createdAt
93
+ }
94
+ `,H=`
95
+ fragment SoftwareAssetFields on SoftwareAsset {
96
+ id name vendor version licenseType seatsPurchased seatsUsed
97
+ compliancePercent workspaceId createdAt updatedAt
98
+ }
99
+ `,S=`
100
+ fragment TransactionFields on Transaction {
101
+ id type status amount currency category description vendor department
102
+ occurredAt workspaceId
103
+ }
104
+ `,T=`
105
+ fragment WorkOrderFields on WorkOrder {
106
+ id title description type status priority assetId assignedTo
107
+ workspaceId createdAt updatedAt
108
+ }
109
+ `,E=`
110
+ ${a}
111
+ query GetAsset($id: ID!) { asset(id: $id) { ...AssetFields } }
112
+ `,m=`
113
+ ${a}
114
+ query ListAssets($pagination: AssetHandlerPaginationInput) {
115
+ assets(pagination: $pagination) { ...AssetFields }
116
+ }
117
+ `,y=`
118
+ ${a}
119
+ mutation CreateAsset($input: CreateAssetInput!) {
120
+ createAsset(input: $input) { ...AssetFields }
121
+ }
122
+ `,P=`
123
+ ${T}
124
+ query ListWorkOrders($pagination: AssetHandlerPaginationInput) {
125
+ workOrders(pagination: $pagination) { ...WorkOrderFields }
126
+ }
127
+ `,w=`
128
+ ${T}
129
+ mutation CreateWorkOrder($input: CreateWorkOrderInput!) {
130
+ createWorkOrder(input: $input) { ...WorkOrderFields }
131
+ }
132
+ `,C=`
133
+ ${oe}
134
+ query ListMaintenanceRecords($pagination: AssetHandlerPaginationInput) {
135
+ maintenanceRecords(pagination: $pagination) { ...MaintenanceRecordFields }
136
+ }
137
+ `,R=`
138
+ ${p}
139
+ query ListIncidents($pagination: AssetHandlerPaginationInput) {
140
+ incidents(pagination: $pagination) { ...IncidentFields }
141
+ }
142
+ `,D=`
143
+ ${p}
144
+ mutation CreateIncident($input: CreateIncidentInput!) {
145
+ createIncident(input: $input) { ...IncidentFields }
146
+ }
147
+ `,_=`
148
+ ${de}
149
+ query ListProblems($pagination: AssetHandlerPaginationInput) {
150
+ problems(pagination: $pagination) { ...ProblemFields }
151
+ }
152
+ `,v=`
153
+ ${ae}
154
+ query ListChangeRequests($pagination: AssetHandlerPaginationInput) {
155
+ changeRequests(pagination: $pagination) { ...ChangeRequestFields }
156
+ }
157
+ `,O=`
158
+ ${d}
159
+ query ListConfigurationItems($pagination: AssetHandlerPaginationInput) {
160
+ configurationItems(pagination: $pagination) { ...ConfigurationItemFields }
161
+ }
162
+ `,f=`
163
+ ${d}
164
+ mutation UpsertConfigurationItem($input: UpsertConfigurationItemInput!) {
165
+ upsertConfigurationItem(input: $input) { ...ConfigurationItemFields }
166
+ }
167
+ `,L=`
168
+ ${A}
169
+ query ListDiscoveryJobs($pagination: AssetHandlerPaginationInput) {
170
+ discoveryJobs(pagination: $pagination) { ...DiscoveryJobFields }
171
+ }
172
+ `,F=`
173
+ ${A}
174
+ mutation StartDiscoveryJob($input: StartDiscoveryJobInput!) {
175
+ startDiscoveryJob(input: $input) { ...DiscoveryJobFields }
176
+ }
177
+ `,$=`
178
+ ${H}
179
+ query ListSoftwareAssets($pagination: AssetHandlerPaginationInput) {
180
+ softwareAssets(pagination: $pagination) { ...SoftwareAssetFields }
181
+ }
182
+ `,k=`
183
+ ${H}
184
+ mutation UpsertSoftwareAsset($input: UpsertSoftwareAssetInput!) {
185
+ upsertSoftwareAsset(input: $input) { ...SoftwareAssetFields }
186
+ }
187
+ `,N=`
188
+ ${u}
189
+ query ListIoTDevices($pagination: AssetHandlerPaginationInput) {
190
+ iotDevices(pagination: $pagination) { ...IotDeviceFields }
191
+ }
192
+ `,q=`
193
+ ${u}
194
+ mutation RegisterIoTDevice($input: RegisterIoTDeviceInput!) {
195
+ registerIoTDevice(input: $input) { ...IotDeviceFields }
196
+ }
197
+ `,b=`
198
+ ${c}
199
+ query ListDigitalTwins($pagination: AssetHandlerPaginationInput) {
200
+ digitalTwins(pagination: $pagination) { ...DigitalTwinFields }
201
+ }
202
+ `,x=`
203
+ ${c}
204
+ mutation CreateDigitalTwin($input: CreateDigitalTwinInput!) {
205
+ createDigitalTwin(input: $input) { ...DigitalTwinFields }
206
+ }
207
+ `,M=`
208
+ ${g}
209
+ query ListProvenanceRecords($pagination: AssetHandlerPaginationInput) {
210
+ provenanceRecords(pagination: $pagination) { ...ProvenanceRecordFields }
211
+ }
212
+ `,h=`
213
+ ${g}
214
+ mutation RecordProvenance($input: RecordProvenanceInput!) {
215
+ recordProvenance(input: $input) { ...ProvenanceRecordFields }
216
+ }
217
+ `,W=`
218
+ ${o}
219
+ query ListAIPredictions($pagination: AssetHandlerPaginationInput) {
220
+ aiPredictions(pagination: $pagination) { ...AiPredictionFields }
221
+ }
222
+ `,U=`
223
+ ${o}
224
+ mutation RequestAIPrediction($input: RequestAIPredictionInput!) {
225
+ requestAIPrediction(input: $input) { ...AiPredictionFields }
226
+ }
227
+ `,K=`
228
+ ${l}
229
+ query ListEsgMetrics($pagination: AssetHandlerPaginationInput) {
230
+ esgMetrics(pagination: $pagination) { ...EsgMetricFields }
231
+ }
232
+ `,G=`
233
+ ${l}
234
+ mutation UpsertEsgMetric($input: UpsertEsgMetricInput!) {
235
+ upsertEsgMetric(input: $input) { ...EsgMetricFields }
236
+ }
237
+ `,B=`
238
+ ${I}
239
+ query ListKnowledgeArticles($pagination: AssetHandlerPaginationInput) {
240
+ knowledgeArticles(pagination: $pagination) { ...KnowledgeArticleFields }
241
+ }
242
+ `,J=`
243
+ ${I}
244
+ mutation CreateKnowledgeArticle($input: CreateKnowledgeArticleInput!) {
245
+ createKnowledgeArticle(input: $input) { ...KnowledgeArticleFields }
246
+ }
247
+ `,V=`
248
+ ${S}
249
+ query ListTransactions($pagination: AssetHandlerPaginationInput) {
250
+ transactions(pagination: $pagination) { ...TransactionFields }
251
+ }
252
+ `,Y=`
253
+ ${S}
254
+ mutation CreateTransaction($input: CreateTransactionInput!) {
255
+ createTransaction(input: $input) { ...TransactionFields }
256
+ }
257
+ `,Q=`
258
+ ${ie}
259
+ query ListInvoices($pagination: AssetHandlerPaginationInput) {
260
+ invoices(pagination: $pagination) { ...InvoiceFields }
261
+ }
262
+ `,j=`
263
+ ${se}
264
+ query ListBudgets($pagination: AssetHandlerPaginationInput) {
265
+ budgets(pagination: $pagination) { ...BudgetFields }
266
+ }
267
+ `,z=`
268
+ ${re}
269
+ query ListComplianceFrameworks($pagination: AssetHandlerPaginationInput) {
270
+ complianceFrameworks(pagination: $pagination) { ...ComplianceFrameworkFields }
271
+ }
272
+ `,X=`
273
+ ${ce}
274
+ query ListSecurityEvents($pagination: AssetHandlerPaginationInput) {
275
+ securityEvents(pagination: $pagination) { ...SecurityEventFields }
276
+ }
277
+ `,Z=`
278
+ ${ne}
279
+ query ListAssetSecurityPolicies($pagination: AssetHandlerPaginationInput) {
280
+ assetSecurityPolicies(pagination: $pagination) { ...SecurityPolicyFields }
281
+ }
282
+ `,ee=`
283
+ query DashboardOverview {
284
+ dashboardOverview { openIncidents openWorkOrders totalAssets totalTransactions }
285
+ }
286
+ `;function te(n){let{workspace:t}=n.gql;return {assets:{async get(e){return (await t.request(E,{id:e})).asset},async list(e){return (await t.request(m,{pagination:e})).assets},async create(e){return (await t.request(y,{input:e})).createAsset}},workOrders:{async list(e){return (await t.request(P,{pagination:e})).workOrders},async create(e){return (await t.request(w,{input:e})).createWorkOrder}},maintenance:{async list(e){return (await t.request(C,{pagination:e})).maintenanceRecords}},incidents:{async list(e){return (await t.request(R,{pagination:e})).incidents},async create(e){return (await t.request(D,{input:e})).createIncident}},problems:{async list(e){return (await t.request(_,{pagination:e})).problems}},changes:{async list(e){return (await t.request(v,{pagination:e})).changeRequests}},configuration:{async list(e){return (await t.request(O,{pagination:e})).configurationItems},async upsert(e){return (await t.request(f,{input:e})).upsertConfigurationItem}},discovery:{async list(e){return (await t.request(L,{pagination:e})).discoveryJobs},async start(e){return (await t.request(F,{input:e})).startDiscoveryJob}},software:{async list(e){return (await t.request($,{pagination:e})).softwareAssets},async upsert(e){return (await t.request(k,{input:e})).upsertSoftwareAsset}},iot:{async list(e){return (await t.request(N,{pagination:e})).iotDevices},async register(e){return (await t.request(q,{input:e})).registerIoTDevice}},digitalTwins:{async list(e){return (await t.request(b,{pagination:e})).digitalTwins},async create(e){return (await t.request(x,{input:e})).createDigitalTwin}},provenance:{async list(e){return (await t.request(M,{pagination:e})).provenanceRecords},async record(e){return (await t.request(h,{input:e})).recordProvenance}},predictions:{async list(e){return (await t.request(W,{pagination:e})).aiPredictions},async request(e){return (await t.request(U,{input:e})).requestAIPrediction}},esg:{async list(e){return (await t.request(K,{pagination:e})).esgMetrics},async upsert(e){return (await t.request(G,{input:e})).upsertEsgMetric}},knowledge:{async list(e){return (await t.request(B,{pagination:e})).knowledgeArticles},async create(e){return (await t.request(J,{input:e})).createKnowledgeArticle}},finance:{async transactions(e){return (await t.request(V,{pagination:e})).transactions},async createTransaction(e){return (await t.request(Y,{input:e})).createTransaction},async invoices(e){return (await t.request(Q,{pagination:e})).invoices},async budgets(e){return (await t.request(j,{pagination:e})).budgets}},compliance:{async frameworks(e){return (await t.request(z,{pagination:e})).complianceFrameworks}},security:{async events(e){return (await t.request(X,{pagination:e})).securityEvents},async policies(e){return (await t.request(Z,{pagination:e})).assetSecurityPolicies}},dashboard:{async overview(){return (await t.request(ee)).dashboardOverview}}}}var Ae={id:"assethandler",version:"1.0.0",displayName:"AssetHandler",dependsOn:["auth"],attach(n){return te(n)}},qe=Ae;export{qe as default};
@@ -0,0 +1,183 @@
1
+ 'use strict';var C=`
2
+ fragment AnnouncementFields on CrewAnnouncement {
3
+ id author authorRole category content createdAt
4
+ isPinned priority tags title viewCount workspaceId
5
+ }
6
+ `,o=`
7
+ fragment CandidateFields on CrewCandidate {
8
+ id appliedDate currentCompany email experience firstName lastName
9
+ notes phone position rating resumeUrl skills source status workspaceId
10
+ }
11
+ `,L=`
12
+ fragment ClientFields on CrewClient {
13
+ id contactPerson email industry name phone projects revenue since status workspaceId
14
+ }
15
+ `,N=`
16
+ fragment CourseFields on CrewCourse {
17
+ id category completed description duration enrolled instructor level
18
+ modules rating skills status thumbnail title workspaceId
19
+ }
20
+ `,v=`
21
+ fragment DepartmentFields on CrewDepartment {
22
+ id budget employeeCount headId headName location name status workspaceId
23
+ }
24
+ `,i=`
25
+ fragment EmployeeFields on CrewEmployee {
26
+ id avatar department email firstName lastName location managerId
27
+ performanceScore phone position salary startDate status type workspaceId
28
+ }
29
+ `,T=`
30
+ fragment InterviewFields on CrewInterview {
31
+ id candidateId candidateName date feedback interviewerName position
32
+ rating status time type workspaceId
33
+ }
34
+ `,F=`
35
+ fragment InvoiceFields on CrewInvoice {
36
+ id amount clientName dueDate issueDate items number status workspaceId
37
+ }
38
+ `,s=`
39
+ fragment JobPostingFields on CrewJobPosting {
40
+ id applicants benefits deadline department description experienceLevel
41
+ location postedDate requirements salaryMax salaryMin status title type workspaceId
42
+ }
43
+ `,D=`
44
+ fragment LearningPathFields on CrewLearningPath {
45
+ id completionRate courses description duration enrolled level title workspaceId
46
+ }
47
+ `,d=`
48
+ fragment LeaveRequestFields on CrewLeaveRequest {
49
+ id approverName days department employeeId employeeName endDate reason
50
+ startDate status type workspaceId
51
+ }
52
+ `,$=`
53
+ fragment MarketplaceServiceFields on CrewMarketplaceService {
54
+ id category deliveryTime description price priceType provider rating
55
+ reviews skills status title workspaceId
56
+ }
57
+ `,k=`
58
+ fragment NotificationFields on CrewNotification {
59
+ id actionUrl category createdAt message read title type workspaceId
60
+ }
61
+ `,q=`
62
+ fragment PayrollRecordFields on CrewPayrollRecord {
63
+ id deductions department employeeId employeeName grossPay netPay
64
+ payDate paymentMethod period status workspaceId
65
+ }
66
+ `,b=`
67
+ fragment ProjectFields on CrewProject {
68
+ id budget completedTasks description endDate managerId managerName name
69
+ priority progress spent startDate status tasks teamId teamName workspaceId
70
+ }
71
+ `,O=`
72
+ fragment TeamFields on CrewTeam {
73
+ id createdAt department description leadId leadName memberCount members
74
+ name projectCount status workspaceId
75
+ }
76
+ `,S=`
77
+ fragment TimeEntryFields on CrewTimeEntry {
78
+ id clockIn clockOut date employeeId employeeName overtime project
79
+ status totalHours workspaceId
80
+ }
81
+ `,U=`
82
+ fragment VendorFields on CrewVendor {
83
+ id category contactPerson contractValue email name phone rating status workspaceId
84
+ }
85
+ `,u=`
86
+ ${C}
87
+ ${o}
88
+ ${L}
89
+ ${N}
90
+ ${v}
91
+ ${i}
92
+ ${T}
93
+ ${F}
94
+ ${s}
95
+ ${D}
96
+ ${d}
97
+ ${$}
98
+ ${k}
99
+ ${q}
100
+ ${b}
101
+ ${O}
102
+ ${S}
103
+ ${U}
104
+ query CrewfoundryBootstrap {
105
+ crewfoundryBootstrap {
106
+ announcements { ...AnnouncementFields }
107
+ candidates { ...CandidateFields }
108
+ clients { ...ClientFields }
109
+ courses { ...CourseFields }
110
+ departments { ...DepartmentFields }
111
+ employees { ...EmployeeFields }
112
+ interviews { ...InterviewFields }
113
+ invoices { ...InvoiceFields }
114
+ jobPostings { ...JobPostingFields }
115
+ learningPaths { ...LearningPathFields }
116
+ leaveRequests { ...LeaveRequestFields }
117
+ marketplaceServices { ...MarketplaceServiceFields }
118
+ notifications { ...NotificationFields }
119
+ payrollRecords { ...PayrollRecordFields }
120
+ projects { ...ProjectFields }
121
+ teams { ...TeamFields }
122
+ timeEntries { ...TimeEntryFields }
123
+ vendors { ...VendorFields }
124
+ }
125
+ }
126
+ `,c=`
127
+ ${C}
128
+ mutation CreateCrewAnnouncement($input: CreateCrewAnnouncementInput!) {
129
+ createCrewAnnouncement(input: $input) { ...AnnouncementFields }
130
+ }
131
+ `,w=`
132
+ ${o}
133
+ mutation CreateCrewCandidate($input: CreateCrewCandidateInput!) {
134
+ createCrewCandidate(input: $input) { ...CandidateFields }
135
+ }
136
+ `,m=`
137
+ ${o}
138
+ mutation UpdateCrewCandidate($id: ID!, $input: UpdateCrewCandidateInput!) {
139
+ updateCrewCandidate(id: $id, input: $input) { ...CandidateFields }
140
+ }
141
+ `,l=`
142
+ ${i}
143
+ mutation CreateCrewEmployee($input: CreateCrewEmployeeInput!) {
144
+ createCrewEmployee(input: $input) { ...EmployeeFields }
145
+ }
146
+ `,E=`
147
+ ${i}
148
+ mutation UpdateCrewEmployee($id: ID!, $input: UpdateCrewEmployeeInput!) {
149
+ updateCrewEmployee(id: $id, input: $input) { ...EmployeeFields }
150
+ }
151
+ `,y=`
152
+ mutation RemoveCrewEmployee($id: ID!) {
153
+ removeCrewEmployee(id: $id)
154
+ }
155
+ `,A=`
156
+ ${s}
157
+ mutation CreateCrewJobPosting($input: CreateCrewJobPostingInput!) {
158
+ createCrewJobPosting(input: $input) { ...JobPostingFields }
159
+ }
160
+ `,I=`
161
+ ${s}
162
+ mutation UpdateCrewJobPosting($id: ID!, $input: UpdateCrewJobPostingInput!) {
163
+ updateCrewJobPosting(id: $id, input: $input) { ...JobPostingFields }
164
+ }
165
+ `,R=`
166
+ ${d}
167
+ mutation CreateCrewLeaveRequest($input: CreateCrewLeaveRequestInput!) {
168
+ createCrewLeaveRequest(input: $input) { ...LeaveRequestFields }
169
+ }
170
+ `,f=`
171
+ ${d}
172
+ mutation UpdateCrewLeaveRequest($id: ID!, $input: UpdateCrewLeaveRequestInput!) {
173
+ updateCrewLeaveRequest(id: $id, input: $input) { ...LeaveRequestFields }
174
+ }
175
+ `,P=`
176
+ mutation MarkCrewNotificationRead($id: ID!) {
177
+ markCrewNotificationRead(id: $id)
178
+ }
179
+ `,_=`
180
+ mutation MarkAllCrewNotificationsRead {
181
+ markAllCrewNotificationsRead
182
+ }
183
+ `;function g(n){let{workspace:r}=n.gql;return {workspace:{async bootstrap(){return (await r.request(u)).crewfoundryBootstrap}},announcements:{async create(e){return (await r.request(c,{input:e})).createCrewAnnouncement}},candidates:{async create(e){return (await r.request(w,{input:e})).createCrewCandidate},async update(e,t){return (await r.request(m,{id:e,input:t})).updateCrewCandidate}},employees:{async create(e){return (await r.request(l,{input:e})).createCrewEmployee},async update(e,t){return (await r.request(E,{id:e,input:t})).updateCrewEmployee},async remove(e){return (await r.request(y,{id:e})).removeCrewEmployee}},jobPostings:{async create(e){return (await r.request(A,{input:e})).createCrewJobPosting},async update(e,t){return (await r.request(I,{id:e,input:t})).updateCrewJobPosting}},leaveRequests:{async create(e){return (await r.request(R,{input:e})).createCrewLeaveRequest},async update(e,t){return (await r.request(f,{id:e,input:t})).updateCrewLeaveRequest}},notifications:{async markRead(e){return (await r.request(P,{id:e})).markCrewNotificationRead},async markAllRead(){return (await r.request(_)).markAllCrewNotificationsRead}}}}var J={id:"crewfoundry",version:"1.0.0",displayName:"Crewfoundry",dependsOn:["auth"],attach(n){return g(n)}},X=J;module.exports=X;