@burdenoff/sdk-libs 2026.626.1 → 2026.627.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modules/crewfoundry/index.cjs +183 -0
- package/dist/modules/crewfoundry/index.d.cts +453 -0
- package/dist/modules/crewfoundry/index.d.ts +453 -0
- package/dist/modules/crewfoundry/index.js +183 -0
- package/dist/modules/ggnomad/index.cjs +164 -0
- package/dist/modules/ggnomad/index.d.cts +282 -0
- package/dist/modules/ggnomad/index.d.ts +282 -0
- package/dist/modules/ggnomad/index.js +164 -0
- package/dist/modules/housingvista/index.cjs +174 -0
- package/dist/modules/housingvista/index.d.cts +287 -0
- package/dist/modules/housingvista/index.d.ts +287 -0
- package/dist/modules/housingvista/index.js +174 -0
- package/package.json +1 -1
|
@@ -0,0 +1,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;
|
|
@@ -0,0 +1,453 @@
|
|
|
1
|
+
import { J as Json, S as SdkModule } from '../../module-JDbvil5h.cjs';
|
|
2
|
+
import 'graphql-request';
|
|
3
|
+
|
|
4
|
+
interface CrewAnnouncement {
|
|
5
|
+
id: string;
|
|
6
|
+
author: string;
|
|
7
|
+
authorRole: string;
|
|
8
|
+
category: string;
|
|
9
|
+
content: string;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
isPinned: boolean;
|
|
12
|
+
priority: string;
|
|
13
|
+
tags: string[];
|
|
14
|
+
title: string;
|
|
15
|
+
viewCount: number;
|
|
16
|
+
workspaceId: string;
|
|
17
|
+
}
|
|
18
|
+
interface CrewCandidate {
|
|
19
|
+
id: string;
|
|
20
|
+
appliedDate: string;
|
|
21
|
+
currentCompany?: string | null;
|
|
22
|
+
email: string;
|
|
23
|
+
experience: number;
|
|
24
|
+
firstName: string;
|
|
25
|
+
lastName: string;
|
|
26
|
+
notes?: string | null;
|
|
27
|
+
phone: string;
|
|
28
|
+
position: string;
|
|
29
|
+
rating: number;
|
|
30
|
+
resumeUrl?: string | null;
|
|
31
|
+
skills: string[];
|
|
32
|
+
source: string;
|
|
33
|
+
status: string;
|
|
34
|
+
workspaceId: string;
|
|
35
|
+
}
|
|
36
|
+
interface CrewClient {
|
|
37
|
+
id: string;
|
|
38
|
+
contactPerson?: string | null;
|
|
39
|
+
email?: string | null;
|
|
40
|
+
industry?: string | null;
|
|
41
|
+
name: string;
|
|
42
|
+
phone?: string | null;
|
|
43
|
+
projects: number;
|
|
44
|
+
revenue: number;
|
|
45
|
+
since?: string | null;
|
|
46
|
+
status: string;
|
|
47
|
+
workspaceId: string;
|
|
48
|
+
}
|
|
49
|
+
interface CrewCourse {
|
|
50
|
+
id: string;
|
|
51
|
+
category: string;
|
|
52
|
+
completed: number;
|
|
53
|
+
description: string;
|
|
54
|
+
duration: string;
|
|
55
|
+
enrolled: number;
|
|
56
|
+
instructor: string;
|
|
57
|
+
level: string;
|
|
58
|
+
modules: number;
|
|
59
|
+
rating: number;
|
|
60
|
+
skills: string[];
|
|
61
|
+
status: string;
|
|
62
|
+
thumbnail?: string | null;
|
|
63
|
+
title: string;
|
|
64
|
+
workspaceId: string;
|
|
65
|
+
}
|
|
66
|
+
interface CrewDepartment {
|
|
67
|
+
id: string;
|
|
68
|
+
budget: number;
|
|
69
|
+
employeeCount: number;
|
|
70
|
+
headId?: string | null;
|
|
71
|
+
headName?: string | null;
|
|
72
|
+
location?: string | null;
|
|
73
|
+
name: string;
|
|
74
|
+
status: string;
|
|
75
|
+
workspaceId: string;
|
|
76
|
+
}
|
|
77
|
+
interface CrewEmployee {
|
|
78
|
+
id: string;
|
|
79
|
+
avatar?: string | null;
|
|
80
|
+
department: string;
|
|
81
|
+
email: string;
|
|
82
|
+
firstName: string;
|
|
83
|
+
lastName: string;
|
|
84
|
+
location: string;
|
|
85
|
+
managerId?: string | null;
|
|
86
|
+
performanceScore: number;
|
|
87
|
+
phone: string;
|
|
88
|
+
position: string;
|
|
89
|
+
salary: number;
|
|
90
|
+
startDate: string;
|
|
91
|
+
status: string;
|
|
92
|
+
type: string;
|
|
93
|
+
workspaceId: string;
|
|
94
|
+
}
|
|
95
|
+
interface CrewInterview {
|
|
96
|
+
id: string;
|
|
97
|
+
candidateId: string;
|
|
98
|
+
candidateName: string;
|
|
99
|
+
date: string;
|
|
100
|
+
feedback?: string | null;
|
|
101
|
+
interviewerName: string;
|
|
102
|
+
position: string;
|
|
103
|
+
rating?: number | null;
|
|
104
|
+
status: string;
|
|
105
|
+
time: string;
|
|
106
|
+
type: string;
|
|
107
|
+
workspaceId: string;
|
|
108
|
+
}
|
|
109
|
+
interface CrewInvoice {
|
|
110
|
+
id: string;
|
|
111
|
+
amount: number;
|
|
112
|
+
clientName: string;
|
|
113
|
+
dueDate?: string | null;
|
|
114
|
+
issueDate: string;
|
|
115
|
+
items?: Json | null;
|
|
116
|
+
number: string;
|
|
117
|
+
status: string;
|
|
118
|
+
workspaceId: string;
|
|
119
|
+
}
|
|
120
|
+
interface CrewJobPosting {
|
|
121
|
+
id: string;
|
|
122
|
+
applicants: number;
|
|
123
|
+
benefits: string[];
|
|
124
|
+
deadline?: string | null;
|
|
125
|
+
department: string;
|
|
126
|
+
description: string;
|
|
127
|
+
experienceLevel: string;
|
|
128
|
+
location: string;
|
|
129
|
+
postedDate: string;
|
|
130
|
+
requirements: string[];
|
|
131
|
+
salaryMax: number;
|
|
132
|
+
salaryMin: number;
|
|
133
|
+
status: string;
|
|
134
|
+
title: string;
|
|
135
|
+
type: string;
|
|
136
|
+
workspaceId: string;
|
|
137
|
+
}
|
|
138
|
+
interface CrewLearningPath {
|
|
139
|
+
id: string;
|
|
140
|
+
completionRate: number;
|
|
141
|
+
courses: string[];
|
|
142
|
+
description: string;
|
|
143
|
+
duration: string;
|
|
144
|
+
enrolled: number;
|
|
145
|
+
level: string;
|
|
146
|
+
title: string;
|
|
147
|
+
workspaceId: string;
|
|
148
|
+
}
|
|
149
|
+
interface CrewLeaveRequest {
|
|
150
|
+
id: string;
|
|
151
|
+
approverName?: string | null;
|
|
152
|
+
days: number;
|
|
153
|
+
department: string;
|
|
154
|
+
employeeId: string;
|
|
155
|
+
employeeName: string;
|
|
156
|
+
endDate: string;
|
|
157
|
+
reason: string;
|
|
158
|
+
startDate: string;
|
|
159
|
+
status: string;
|
|
160
|
+
type: string;
|
|
161
|
+
workspaceId: string;
|
|
162
|
+
}
|
|
163
|
+
interface CrewMarketplaceService {
|
|
164
|
+
id: string;
|
|
165
|
+
category: string;
|
|
166
|
+
deliveryTime: string;
|
|
167
|
+
description: string;
|
|
168
|
+
price: number;
|
|
169
|
+
priceType: string;
|
|
170
|
+
provider: string;
|
|
171
|
+
rating: number;
|
|
172
|
+
reviews: number;
|
|
173
|
+
skills: string[];
|
|
174
|
+
status: string;
|
|
175
|
+
title: string;
|
|
176
|
+
workspaceId: string;
|
|
177
|
+
}
|
|
178
|
+
interface CrewNotification {
|
|
179
|
+
id: string;
|
|
180
|
+
actionUrl?: string | null;
|
|
181
|
+
category: string;
|
|
182
|
+
createdAt: string;
|
|
183
|
+
message: string;
|
|
184
|
+
read: boolean;
|
|
185
|
+
title: string;
|
|
186
|
+
type: string;
|
|
187
|
+
workspaceId: string;
|
|
188
|
+
}
|
|
189
|
+
interface CrewPayrollRecord {
|
|
190
|
+
id: string;
|
|
191
|
+
deductions: number;
|
|
192
|
+
department: string;
|
|
193
|
+
employeeId: string;
|
|
194
|
+
employeeName: string;
|
|
195
|
+
grossPay: number;
|
|
196
|
+
netPay: number;
|
|
197
|
+
payDate?: string | null;
|
|
198
|
+
paymentMethod: string;
|
|
199
|
+
period: string;
|
|
200
|
+
status: string;
|
|
201
|
+
workspaceId: string;
|
|
202
|
+
}
|
|
203
|
+
interface CrewProject {
|
|
204
|
+
id: string;
|
|
205
|
+
budget: number;
|
|
206
|
+
completedTasks: number;
|
|
207
|
+
description: string;
|
|
208
|
+
endDate?: string | null;
|
|
209
|
+
managerId?: string | null;
|
|
210
|
+
managerName?: string | null;
|
|
211
|
+
name: string;
|
|
212
|
+
priority: string;
|
|
213
|
+
progress: number;
|
|
214
|
+
spent: number;
|
|
215
|
+
startDate?: string | null;
|
|
216
|
+
status: string;
|
|
217
|
+
tasks: number;
|
|
218
|
+
teamId?: string | null;
|
|
219
|
+
teamName?: string | null;
|
|
220
|
+
workspaceId: string;
|
|
221
|
+
}
|
|
222
|
+
interface CrewTeam {
|
|
223
|
+
id: string;
|
|
224
|
+
createdAt: string;
|
|
225
|
+
department?: string | null;
|
|
226
|
+
description: string;
|
|
227
|
+
leadId?: string | null;
|
|
228
|
+
leadName?: string | null;
|
|
229
|
+
memberCount: number;
|
|
230
|
+
members: string[];
|
|
231
|
+
name: string;
|
|
232
|
+
projectCount: number;
|
|
233
|
+
status: string;
|
|
234
|
+
workspaceId: string;
|
|
235
|
+
}
|
|
236
|
+
interface CrewTimeEntry {
|
|
237
|
+
id: string;
|
|
238
|
+
clockIn: string;
|
|
239
|
+
clockOut?: string | null;
|
|
240
|
+
date: string;
|
|
241
|
+
employeeId: string;
|
|
242
|
+
employeeName: string;
|
|
243
|
+
overtime: number;
|
|
244
|
+
project?: string | null;
|
|
245
|
+
status: string;
|
|
246
|
+
totalHours: number;
|
|
247
|
+
workspaceId: string;
|
|
248
|
+
}
|
|
249
|
+
interface CrewVendor {
|
|
250
|
+
id: string;
|
|
251
|
+
category: string;
|
|
252
|
+
contactPerson?: string | null;
|
|
253
|
+
contractValue: number;
|
|
254
|
+
email?: string | null;
|
|
255
|
+
name: string;
|
|
256
|
+
phone?: string | null;
|
|
257
|
+
rating: number;
|
|
258
|
+
status: string;
|
|
259
|
+
workspaceId: string;
|
|
260
|
+
}
|
|
261
|
+
interface CrewfoundryBootstrap {
|
|
262
|
+
announcements: CrewAnnouncement[];
|
|
263
|
+
candidates: CrewCandidate[];
|
|
264
|
+
clients: CrewClient[];
|
|
265
|
+
courses: CrewCourse[];
|
|
266
|
+
departments: CrewDepartment[];
|
|
267
|
+
employees: CrewEmployee[];
|
|
268
|
+
interviews: CrewInterview[];
|
|
269
|
+
invoices: CrewInvoice[];
|
|
270
|
+
jobPostings: CrewJobPosting[];
|
|
271
|
+
learningPaths: CrewLearningPath[];
|
|
272
|
+
leaveRequests: CrewLeaveRequest[];
|
|
273
|
+
marketplaceServices: CrewMarketplaceService[];
|
|
274
|
+
notifications: CrewNotification[];
|
|
275
|
+
payrollRecords: CrewPayrollRecord[];
|
|
276
|
+
projects: CrewProject[];
|
|
277
|
+
teams: CrewTeam[];
|
|
278
|
+
timeEntries: CrewTimeEntry[];
|
|
279
|
+
vendors: CrewVendor[];
|
|
280
|
+
}
|
|
281
|
+
interface CreateCrewAnnouncementInput {
|
|
282
|
+
author: string;
|
|
283
|
+
authorRole: string;
|
|
284
|
+
category: string;
|
|
285
|
+
content: string;
|
|
286
|
+
createdAt: string;
|
|
287
|
+
isPinned: boolean;
|
|
288
|
+
priority: string;
|
|
289
|
+
tags: string[];
|
|
290
|
+
title: string;
|
|
291
|
+
viewCount: number;
|
|
292
|
+
}
|
|
293
|
+
interface CreateCrewCandidateInput {
|
|
294
|
+
appliedDate: string;
|
|
295
|
+
email: string;
|
|
296
|
+
experience: number;
|
|
297
|
+
firstName: string;
|
|
298
|
+
lastName: string;
|
|
299
|
+
phone: string;
|
|
300
|
+
position: string;
|
|
301
|
+
rating: number;
|
|
302
|
+
skills: string[];
|
|
303
|
+
source: string;
|
|
304
|
+
status: string;
|
|
305
|
+
currentCompany?: string;
|
|
306
|
+
notes?: string;
|
|
307
|
+
resumeUrl?: string;
|
|
308
|
+
}
|
|
309
|
+
interface UpdateCrewCandidateInput {
|
|
310
|
+
appliedDate?: string;
|
|
311
|
+
currentCompany?: string;
|
|
312
|
+
email?: string;
|
|
313
|
+
experience?: number;
|
|
314
|
+
firstName?: string;
|
|
315
|
+
lastName?: string;
|
|
316
|
+
notes?: string;
|
|
317
|
+
phone?: string;
|
|
318
|
+
position?: string;
|
|
319
|
+
rating?: number;
|
|
320
|
+
resumeUrl?: string;
|
|
321
|
+
skills?: string[];
|
|
322
|
+
source?: string;
|
|
323
|
+
status?: string;
|
|
324
|
+
}
|
|
325
|
+
interface CreateCrewEmployeeInput {
|
|
326
|
+
department: string;
|
|
327
|
+
email: string;
|
|
328
|
+
firstName: string;
|
|
329
|
+
lastName: string;
|
|
330
|
+
location: string;
|
|
331
|
+
performanceScore: number;
|
|
332
|
+
phone: string;
|
|
333
|
+
position: string;
|
|
334
|
+
salary: number;
|
|
335
|
+
startDate: string;
|
|
336
|
+
status: string;
|
|
337
|
+
type: string;
|
|
338
|
+
avatar?: string;
|
|
339
|
+
managerId?: string;
|
|
340
|
+
}
|
|
341
|
+
interface UpdateCrewEmployeeInput {
|
|
342
|
+
avatar?: string;
|
|
343
|
+
department?: string;
|
|
344
|
+
email?: string;
|
|
345
|
+
firstName?: string;
|
|
346
|
+
lastName?: string;
|
|
347
|
+
location?: string;
|
|
348
|
+
managerId?: string;
|
|
349
|
+
performanceScore?: number;
|
|
350
|
+
phone?: string;
|
|
351
|
+
position?: string;
|
|
352
|
+
salary?: number;
|
|
353
|
+
startDate?: string;
|
|
354
|
+
status?: string;
|
|
355
|
+
type?: string;
|
|
356
|
+
}
|
|
357
|
+
interface CreateCrewJobPostingInput {
|
|
358
|
+
applicants: number;
|
|
359
|
+
benefits: string[];
|
|
360
|
+
department: string;
|
|
361
|
+
description: string;
|
|
362
|
+
experienceLevel: string;
|
|
363
|
+
location: string;
|
|
364
|
+
postedDate: string;
|
|
365
|
+
requirements: string[];
|
|
366
|
+
salaryMax: number;
|
|
367
|
+
salaryMin: number;
|
|
368
|
+
status: string;
|
|
369
|
+
title: string;
|
|
370
|
+
type: string;
|
|
371
|
+
deadline?: string;
|
|
372
|
+
}
|
|
373
|
+
interface UpdateCrewJobPostingInput {
|
|
374
|
+
applicants?: number;
|
|
375
|
+
benefits?: string[];
|
|
376
|
+
deadline?: string;
|
|
377
|
+
department?: string;
|
|
378
|
+
description?: string;
|
|
379
|
+
experienceLevel?: string;
|
|
380
|
+
location?: string;
|
|
381
|
+
postedDate?: string;
|
|
382
|
+
requirements?: string[];
|
|
383
|
+
salaryMax?: number;
|
|
384
|
+
salaryMin?: number;
|
|
385
|
+
status?: string;
|
|
386
|
+
title?: string;
|
|
387
|
+
type?: string;
|
|
388
|
+
}
|
|
389
|
+
interface CreateCrewLeaveRequestInput {
|
|
390
|
+
days: number;
|
|
391
|
+
department: string;
|
|
392
|
+
employeeId: string;
|
|
393
|
+
employeeName: string;
|
|
394
|
+
endDate: string;
|
|
395
|
+
reason: string;
|
|
396
|
+
startDate: string;
|
|
397
|
+
status: string;
|
|
398
|
+
type: string;
|
|
399
|
+
approverName?: string;
|
|
400
|
+
}
|
|
401
|
+
interface UpdateCrewLeaveRequestInput {
|
|
402
|
+
approverName?: string;
|
|
403
|
+
days?: number;
|
|
404
|
+
department?: string;
|
|
405
|
+
employeeId?: string;
|
|
406
|
+
employeeName?: string;
|
|
407
|
+
endDate?: string;
|
|
408
|
+
reason?: string;
|
|
409
|
+
startDate?: string;
|
|
410
|
+
status?: string;
|
|
411
|
+
type?: string;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
interface CrewfoundryWorkspaceApi {
|
|
415
|
+
bootstrap(): Promise<CrewfoundryBootstrap>;
|
|
416
|
+
}
|
|
417
|
+
interface CrewfoundryAnnouncementsApi {
|
|
418
|
+
create(input: CreateCrewAnnouncementInput): Promise<CrewAnnouncement>;
|
|
419
|
+
}
|
|
420
|
+
interface CrewfoundryCandidatesApi {
|
|
421
|
+
create(input: CreateCrewCandidateInput): Promise<CrewCandidate>;
|
|
422
|
+
update(id: string, input: UpdateCrewCandidateInput): Promise<CrewCandidate>;
|
|
423
|
+
}
|
|
424
|
+
interface CrewfoundryEmployeesApi {
|
|
425
|
+
create(input: CreateCrewEmployeeInput): Promise<CrewEmployee>;
|
|
426
|
+
update(id: string, input: UpdateCrewEmployeeInput): Promise<CrewEmployee>;
|
|
427
|
+
remove(id: string): Promise<boolean>;
|
|
428
|
+
}
|
|
429
|
+
interface CrewfoundryJobPostingsApi {
|
|
430
|
+
create(input: CreateCrewJobPostingInput): Promise<CrewJobPosting>;
|
|
431
|
+
update(id: string, input: UpdateCrewJobPostingInput): Promise<CrewJobPosting>;
|
|
432
|
+
}
|
|
433
|
+
interface CrewfoundryLeaveRequestsApi {
|
|
434
|
+
create(input: CreateCrewLeaveRequestInput): Promise<CrewLeaveRequest>;
|
|
435
|
+
update(id: string, input: UpdateCrewLeaveRequestInput): Promise<CrewLeaveRequest>;
|
|
436
|
+
}
|
|
437
|
+
interface CrewfoundryNotificationsApi {
|
|
438
|
+
markRead(id: string): Promise<boolean>;
|
|
439
|
+
markAllRead(): Promise<boolean>;
|
|
440
|
+
}
|
|
441
|
+
interface CrewfoundryApi {
|
|
442
|
+
workspace: CrewfoundryWorkspaceApi;
|
|
443
|
+
announcements: CrewfoundryAnnouncementsApi;
|
|
444
|
+
candidates: CrewfoundryCandidatesApi;
|
|
445
|
+
employees: CrewfoundryEmployeesApi;
|
|
446
|
+
jobPostings: CrewfoundryJobPostingsApi;
|
|
447
|
+
leaveRequests: CrewfoundryLeaveRequestsApi;
|
|
448
|
+
notifications: CrewfoundryNotificationsApi;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
declare const crewfoundryModule: SdkModule<CrewfoundryApi>;
|
|
452
|
+
|
|
453
|
+
export { type CreateCrewAnnouncementInput, type CreateCrewCandidateInput, type CreateCrewEmployeeInput, type CreateCrewJobPostingInput, type CreateCrewLeaveRequestInput, type CrewAnnouncement, type CrewCandidate, type CrewClient, type CrewCourse, type CrewDepartment, type CrewEmployee, type CrewInterview, type CrewInvoice, type CrewJobPosting, type CrewLearningPath, type CrewLeaveRequest, type CrewMarketplaceService, type CrewNotification, type CrewPayrollRecord, type CrewProject, type CrewTeam, type CrewTimeEntry, type CrewVendor, type CrewfoundryAnnouncementsApi, type CrewfoundryApi, type CrewfoundryBootstrap, type CrewfoundryCandidatesApi, type CrewfoundryEmployeesApi, type CrewfoundryJobPostingsApi, type CrewfoundryLeaveRequestsApi, type CrewfoundryNotificationsApi, type CrewfoundryWorkspaceApi, type UpdateCrewCandidateInput, type UpdateCrewEmployeeInput, type UpdateCrewJobPostingInput, type UpdateCrewLeaveRequestInput, crewfoundryModule as default };
|