@burdenoff/sdk-libs 2026.627.2 → 2026.627.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.
Files changed (41) hide show
  1. package/dist/modules/artistrybase/index.cjs +351 -0
  2. package/dist/modules/artistrybase/index.d.cts +469 -0
  3. package/dist/modules/artistrybase/index.d.ts +469 -0
  4. package/dist/modules/artistrybase/index.js +351 -0
  5. package/dist/modules/brainyrich/index.cjs +355 -0
  6. package/dist/modules/brainyrich/index.d.cts +483 -0
  7. package/dist/modules/brainyrich/index.d.ts +483 -0
  8. package/dist/modules/brainyrich/index.js +355 -0
  9. package/dist/modules/buildmyiq/index.cjs +259 -0
  10. package/dist/modules/buildmyiq/index.d.cts +384 -0
  11. package/dist/modules/buildmyiq/index.d.ts +384 -0
  12. package/dist/modules/buildmyiq/index.js +259 -0
  13. package/dist/modules/collabkin/index.cjs +238 -0
  14. package/dist/modules/collabkin/index.d.cts +340 -0
  15. package/dist/modules/collabkin/index.d.ts +340 -0
  16. package/dist/modules/collabkin/index.js +238 -0
  17. package/dist/modules/comradecircle/index.cjs +311 -0
  18. package/dist/modules/comradecircle/index.d.cts +390 -0
  19. package/dist/modules/comradecircle/index.d.ts +390 -0
  20. package/dist/modules/comradecircle/index.js +311 -0
  21. package/dist/modules/cosmicintersection/index.cjs +340 -0
  22. package/dist/modules/cosmicintersection/index.d.cts +450 -0
  23. package/dist/modules/cosmicintersection/index.d.ts +450 -0
  24. package/dist/modules/cosmicintersection/index.js +340 -0
  25. package/dist/modules/ecoimpacthub/index.cjs +350 -0
  26. package/dist/modules/ecoimpacthub/index.d.cts +478 -0
  27. package/dist/modules/ecoimpacthub/index.d.ts +478 -0
  28. package/dist/modules/ecoimpacthub/index.js +350 -0
  29. package/dist/modules/govcitizenhub/index.cjs +296 -0
  30. package/dist/modules/govcitizenhub/index.d.cts +349 -0
  31. package/dist/modules/govcitizenhub/index.d.ts +349 -0
  32. package/dist/modules/govcitizenhub/index.js +296 -0
  33. package/dist/modules/intelwatchtower/index.cjs +406 -0
  34. package/dist/modules/intelwatchtower/index.d.cts +486 -0
  35. package/dist/modules/intelwatchtower/index.d.ts +486 -0
  36. package/dist/modules/intelwatchtower/index.js +406 -0
  37. package/dist/modules/manufacturedops/index.cjs +335 -0
  38. package/dist/modules/manufacturedops/index.d.cts +466 -0
  39. package/dist/modules/manufacturedops/index.d.ts +466 -0
  40. package/dist/modules/manufacturedops/index.js +335 -0
  41. package/package.json +1 -1
@@ -0,0 +1,355 @@
1
+ var l=`
2
+ fragment HouseholdFields on BraHousehold {
3
+ id advisorId aum currency name notes
4
+ primaryContactEmail primaryContactName riskProfile status tags
5
+ workspaceId createdAt updatedAt
6
+ }
7
+ `,p=`
8
+ fragment HoldingScalars on BraHolding {
9
+ id accountId asOf assetClass costBasis currency
10
+ lastPrice marketValue name portfolioId quantity symbol
11
+ workspaceId createdAt updatedAt
12
+ }
13
+ `,I=`
14
+ fragment TransactionFields on BraTransaction {
15
+ id accountId amount currency fee holdingId notes
16
+ price quantity settleDate symbol tradeDate type
17
+ workspaceId createdAt updatedAt
18
+ }
19
+ `,b=`
20
+ fragment AccountScalars on BraAccount {
21
+ id accountMask cashBalance currency householdId institution
22
+ isManual name ownerId status type
23
+ workspaceId createdAt updatedAt
24
+ }
25
+ `,pa=`
26
+ fragment ModelAllocationFields on BraModelAllocation {
27
+ id assetClass modelPortfolioId targetPct workspaceId createdAt updatedAt
28
+ }
29
+ `,Ia=`
30
+ fragment PortfolioScalars on BraPortfolio {
31
+ id baseCurrency description driftThresholdPct householdId modelPortfolioId
32
+ name ownerId status tags targetAllocation
33
+ workspaceId createdAt updatedAt
34
+ }
35
+ `,B=`
36
+ fragment GoalFundingFields on BraGoalFunding {
37
+ id accountId allocationPct fixedAmount goalId workspaceId createdAt updatedAt
38
+ }
39
+ `,Ba=`
40
+ fragment GoalScalars on BraGoal {
41
+ id currency householdId monthlyContribution name notes ownerId priority
42
+ projection status tags targetAmount targetDate type
43
+ workspaceId createdAt updatedAt
44
+ }
45
+ `,n=`
46
+ fragment InsightFields on BraInsight {
47
+ id acknowledgedById detail metrics ownerId resolvedAt
48
+ severity status subjectId subjectType title type
49
+ workspaceId createdAt updatedAt
50
+ }
51
+ `,A=`
52
+ fragment RebalanceFields on BraRebalanceProposal {
53
+ id approvedById driftPct executedAt householdId portfolioId
54
+ proposedById rationale status trades workspaceId createdAt updatedAt
55
+ }
56
+ `,h=`
57
+ ${pa}
58
+ fragment ModelPortfolioFull on BraModelPortfolio {
59
+ id baseCurrency description isActive name riskProfile
60
+ workspaceId createdAt updatedAt
61
+ allocations { ...ModelAllocationFields }
62
+ }
63
+ `,c=`
64
+ ${b}
65
+ ${p}
66
+ ${I}
67
+ fragment AccountFull on BraAccount {
68
+ ...AccountScalars
69
+ holdings { ...HoldingScalars }
70
+ transactions { ...TransactionFields }
71
+ }
72
+ `,g=`
73
+ ${p}
74
+ ${b}
75
+ fragment HoldingFull on BraHolding {
76
+ ...HoldingScalars
77
+ account { ...AccountScalars }
78
+ }
79
+ `,u=`
80
+ ${Ia}
81
+ ${p}
82
+ fragment PortfolioFull on BraPortfolio {
83
+ ...PortfolioScalars
84
+ holdings { ...HoldingScalars }
85
+ }
86
+ `,e=`
87
+ ${Ba}
88
+ ${B}
89
+ fragment GoalFull on BraGoal {
90
+ ...GoalScalars
91
+ fundings { ...GoalFundingFields }
92
+ }
93
+ `,i="pageInfo { cursor hasMore }",L=`
94
+ ${l}
95
+ query BraHousehold($id: ID!) {
96
+ braHousehold(id: $id) { ...HouseholdFields }
97
+ }
98
+ `,C=`
99
+ ${l}
100
+ query BraListHouseholds($pagination: PaginationInput, $status: BraHouseholdStatus) {
101
+ braListHouseholds(pagination: $pagination, status: $status) {
102
+ items { ...HouseholdFields }
103
+ ${i}
104
+ }
105
+ }
106
+ `,$=`
107
+ ${l}
108
+ mutation BraCreateHousehold($input: BraCreateHouseholdInput!) {
109
+ braCreateHousehold(input: $input) { ...HouseholdFields }
110
+ }
111
+ `,T=`
112
+ ${l}
113
+ mutation BraUpdateHousehold($id: ID!, $input: BraUpdateHouseholdInput!) {
114
+ braUpdateHousehold(id: $id, input: $input) { ...HouseholdFields }
115
+ }
116
+ `,m=`
117
+ mutation BraArchiveHousehold($id: ID!) {
118
+ braArchiveHousehold(id: $id)
119
+ }
120
+ `,O=`
121
+ ${c}
122
+ query BraAccount($id: ID!) {
123
+ braAccount(id: $id) { ...AccountFull }
124
+ }
125
+ `,H=`
126
+ ${c}
127
+ query BraListAccounts(
128
+ $householdId: ID
129
+ $pagination: PaginationInput
130
+ $status: BraAccountStatus
131
+ ) {
132
+ braListAccounts(householdId: $householdId, pagination: $pagination, status: $status) {
133
+ items { ...AccountFull }
134
+ ${i}
135
+ }
136
+ }
137
+ `,S=`
138
+ ${c}
139
+ mutation BraCreateAccount($input: BraCreateAccountInput!) {
140
+ braCreateAccount(input: $input) { ...AccountFull }
141
+ }
142
+ `,f=`
143
+ ${c}
144
+ mutation BraUpdateAccount($id: ID!, $input: BraUpdateAccountInput!) {
145
+ braUpdateAccount(id: $id, input: $input) { ...AccountFull }
146
+ }
147
+ `,G=`
148
+ mutation BraArchiveAccount($id: ID!) {
149
+ braArchiveAccount(id: $id)
150
+ }
151
+ `,R=`
152
+ ${g}
153
+ query BraListHoldings($accountId: ID, $portfolioId: ID) {
154
+ braListHoldings(accountId: $accountId, portfolioId: $portfolioId) { ...HoldingFull }
155
+ }
156
+ `,_=`
157
+ ${g}
158
+ mutation BraCreateHolding($input: BraCreateHoldingInput!) {
159
+ braCreateHolding(input: $input) { ...HoldingFull }
160
+ }
161
+ `,E=`
162
+ ${g}
163
+ mutation BraUpdateHolding($id: ID!, $input: BraUpdateHoldingInput!) {
164
+ braUpdateHolding(id: $id, input: $input) { ...HoldingFull }
165
+ }
166
+ `,F=`
167
+ mutation BraDeleteHolding($id: ID!) {
168
+ braDeleteHolding(id: $id)
169
+ }
170
+ `,D=`
171
+ ${I}
172
+ query BraListTransactions(
173
+ $accountId: ID
174
+ $pagination: PaginationInput
175
+ $type: BraTransactionType
176
+ ) {
177
+ braListTransactions(accountId: $accountId, pagination: $pagination, type: $type) {
178
+ items { ...TransactionFields }
179
+ ${i}
180
+ }
181
+ }
182
+ `,N=`
183
+ ${I}
184
+ mutation BraRecordTransaction($input: BraCreateTransactionInput!) {
185
+ braRecordTransaction(input: $input) { ...TransactionFields }
186
+ }
187
+ `,U=`
188
+ ${u}
189
+ query BraPortfolio($id: ID!) {
190
+ braPortfolio(id: $id) { ...PortfolioFull }
191
+ }
192
+ `,w=`
193
+ ${u}
194
+ query BraListPortfolios(
195
+ $householdId: ID
196
+ $pagination: PaginationInput
197
+ $status: BraPortfolioStatus
198
+ ) {
199
+ braListPortfolios(householdId: $householdId, pagination: $pagination, status: $status) {
200
+ items { ...PortfolioFull }
201
+ ${i}
202
+ }
203
+ }
204
+ `,q=`
205
+ ${u}
206
+ mutation BraCreatePortfolio($input: BraCreatePortfolioInput!) {
207
+ braCreatePortfolio(input: $input) { ...PortfolioFull }
208
+ }
209
+ `,x=`
210
+ ${u}
211
+ mutation BraUpdatePortfolio($id: ID!, $input: BraUpdatePortfolioInput!) {
212
+ braUpdatePortfolio(id: $id, input: $input) { ...PortfolioFull }
213
+ }
214
+ `,M=`
215
+ mutation BraArchivePortfolio($id: ID!) {
216
+ braArchivePortfolio(id: $id)
217
+ }
218
+ `,k=`
219
+ ${h}
220
+ query BraModelPortfolio($id: ID!) {
221
+ braModelPortfolio(id: $id) { ...ModelPortfolioFull }
222
+ }
223
+ `,v=`
224
+ ${h}
225
+ query BraListModelPortfolios {
226
+ braListModelPortfolios { ...ModelPortfolioFull }
227
+ }
228
+ `,j=`
229
+ ${h}
230
+ mutation BraCreateModelPortfolio($input: BraCreateModelPortfolioInput!) {
231
+ braCreateModelPortfolio(input: $input) { ...ModelPortfolioFull }
232
+ }
233
+ `,W=`
234
+ ${e}
235
+ query BraGoal($id: ID!) {
236
+ braGoal(id: $id) { ...GoalFull }
237
+ }
238
+ `,V=`
239
+ ${e}
240
+ query BraListGoals($householdId: ID, $pagination: PaginationInput, $status: BraGoalStatus) {
241
+ braListGoals(householdId: $householdId, pagination: $pagination, status: $status) {
242
+ items { ...GoalFull }
243
+ ${i}
244
+ }
245
+ }
246
+ `,K=`
247
+ ${e}
248
+ mutation BraCreateGoal($input: BraCreateGoalInput!) {
249
+ braCreateGoal(input: $input) { ...GoalFull }
250
+ }
251
+ `,J=`
252
+ ${e}
253
+ mutation BraUpdateGoal($id: ID!, $input: BraUpdateGoalInput!) {
254
+ braUpdateGoal(id: $id, input: $input) { ...GoalFull }
255
+ }
256
+ `,Y=`
257
+ mutation BraArchiveGoal($id: ID!) {
258
+ braArchiveGoal(id: $id)
259
+ }
260
+ `,z=`
261
+ ${e}
262
+ mutation BraRecalcGoalProjection($id: ID!, $fundedAmount: Float!) {
263
+ braRecalcGoalProjection(id: $id, fundedAmount: $fundedAmount) { ...GoalFull }
264
+ }
265
+ `,Q=`
266
+ ${B}
267
+ query BraListGoalFundings($goalId: ID!) {
268
+ braListGoalFundings(goalId: $goalId) { ...GoalFundingFields }
269
+ }
270
+ `,X=`
271
+ ${B}
272
+ mutation BraLinkGoalFunding($input: BraLinkGoalFundingInput!) {
273
+ braLinkGoalFunding(input: $input) { ...GoalFundingFields }
274
+ }
275
+ `,Z=`
276
+ mutation BraUnlinkGoalFunding($id: ID!) {
277
+ braUnlinkGoalFunding(id: $id)
278
+ }
279
+ `,aa=`
280
+ ${n}
281
+ query BraInsight($id: ID!) {
282
+ braInsight(id: $id) { ...InsightFields }
283
+ }
284
+ `,ta=`
285
+ ${n}
286
+ query BraListInsights(
287
+ $pagination: PaginationInput
288
+ $severity: BraInsightSeverity
289
+ $status: BraInsightStatus
290
+ $subjectId: ID
291
+ $subjectType: String
292
+ ) {
293
+ braListInsights(
294
+ pagination: $pagination
295
+ severity: $severity
296
+ status: $status
297
+ subjectId: $subjectId
298
+ subjectType: $subjectType
299
+ ) {
300
+ items { ...InsightFields }
301
+ ${i}
302
+ }
303
+ }
304
+ `,oa=`
305
+ ${n}
306
+ mutation BraCreateInsight($input: BraCreateInsightInput!) {
307
+ braCreateInsight(input: $input) { ...InsightFields }
308
+ }
309
+ `,ra=`
310
+ ${n}
311
+ mutation BraAcknowledgeInsight($id: ID!) {
312
+ braAcknowledgeInsight(id: $id) { ...InsightFields }
313
+ }
314
+ `,na=`
315
+ ${n}
316
+ mutation BraDismissInsight($id: ID!) {
317
+ braDismissInsight(id: $id) { ...InsightFields }
318
+ }
319
+ `,ia=`
320
+ ${n}
321
+ mutation BraResolveInsight($id: ID!) {
322
+ braResolveInsight(id: $id) { ...InsightFields }
323
+ }
324
+ `,ea=`
325
+ ${A}
326
+ query BraListRebalanceProposals(
327
+ $householdId: ID
328
+ $portfolioId: ID
329
+ $status: BraRebalanceStatus
330
+ ) {
331
+ braListRebalanceProposals(
332
+ householdId: $householdId
333
+ portfolioId: $portfolioId
334
+ status: $status
335
+ ) { ...RebalanceFields }
336
+ }
337
+ `,sa=`
338
+ ${A}
339
+ mutation BraCreateRebalanceProposal($input: BraCreateRebalanceProposalInput!) {
340
+ braCreateRebalanceProposal(input: $input) { ...RebalanceFields }
341
+ }
342
+ `,la=`
343
+ ${A}
344
+ mutation BraTransitionRebalanceProposal($id: ID!, $status: BraRebalanceStatus!) {
345
+ braTransitionRebalanceProposal(id: $id, status: $status) { ...RebalanceFields }
346
+ }
347
+ `,ca=`
348
+ query BraNetWorthSummary($ownerId: ID) {
349
+ braNetWorthSummary(ownerId: $ownerId) {
350
+ accountCount
351
+ byAssetClass { assetClass marketValue }
352
+ currency ownerId totalCash totalMarketValue totalNetWorth workspaceId
353
+ }
354
+ }
355
+ `,ua="query BraHealth { braHealth }";function da(d){let{workspace:o}=d.gql;return {households:{async get(a){return (await o.request(L,{id:a})).braHousehold},async list(a,t){return (await o.request(C,{pagination:a,status:t})).braListHouseholds},async create(a){return (await o.request($,{input:a})).braCreateHousehold},async update(a,t){return (await o.request(T,{id:a,input:t})).braUpdateHousehold},async archive(a){return (await o.request(m,{id:a})).braArchiveHousehold}},accounts:{async get(a){return (await o.request(O,{id:a})).braAccount},async list(a,t,r){return (await o.request(H,{householdId:a,pagination:t,status:r})).braListAccounts},async create(a){return (await o.request(S,{input:a})).braCreateAccount},async update(a,t){return (await o.request(f,{id:a,input:t})).braUpdateAccount},async archive(a){return (await o.request(G,{id:a})).braArchiveAccount}},holdings:{async list(a,t){return (await o.request(R,{accountId:a,portfolioId:t})).braListHoldings},async create(a){return (await o.request(_,{input:a})).braCreateHolding},async update(a,t){return (await o.request(E,{id:a,input:t})).braUpdateHolding},async delete(a){return (await o.request(F,{id:a})).braDeleteHolding}},transactions:{async list(a,t,r){return (await o.request(D,{accountId:a,pagination:t,type:r})).braListTransactions},async record(a){return (await o.request(N,{input:a})).braRecordTransaction}},portfolios:{async get(a){return (await o.request(U,{id:a})).braPortfolio},async list(a,t,r){return (await o.request(w,{householdId:a,pagination:t,status:r})).braListPortfolios},async create(a){return (await o.request(q,{input:a})).braCreatePortfolio},async update(a,t){return (await o.request(x,{id:a,input:t})).braUpdatePortfolio},async archive(a){return (await o.request(M,{id:a})).braArchivePortfolio}},modelPortfolios:{async get(a){return (await o.request(k,{id:a})).braModelPortfolio},async list(){return (await o.request(v)).braListModelPortfolios},async create(a){return (await o.request(j,{input:a})).braCreateModelPortfolio}},goals:{async get(a){return (await o.request(W,{id:a})).braGoal},async list(a,t,r){return (await o.request(V,{householdId:a,pagination:t,status:r})).braListGoals},async create(a){return (await o.request(K,{input:a})).braCreateGoal},async update(a,t){return (await o.request(J,{id:a,input:t})).braUpdateGoal},async archive(a){return (await o.request(Y,{id:a})).braArchiveGoal},async recalcProjection(a,t){return (await o.request(z,{id:a,fundedAmount:t})).braRecalcGoalProjection},async listFundings(a){return (await o.request(Q,{goalId:a})).braListGoalFundings},async linkFunding(a){return (await o.request(X,{input:a})).braLinkGoalFunding},async unlinkFunding(a){return (await o.request(Z,{id:a})).braUnlinkGoalFunding}},insights:{async get(a){return (await o.request(aa,{id:a})).braInsight},async list(a){return (await o.request(ta,{pagination:a?.pagination,severity:a?.severity,status:a?.status,subjectId:a?.subjectId,subjectType:a?.subjectType})).braListInsights},async create(a){return (await o.request(oa,{input:a})).braCreateInsight},async acknowledge(a){return (await o.request(ra,{id:a})).braAcknowledgeInsight},async dismiss(a){return (await o.request(na,{id:a})).braDismissInsight},async resolve(a){return (await o.request(ia,{id:a})).braResolveInsight}},rebalances:{async list(a,t,r){return (await o.request(ea,{householdId:a,portfolioId:t,status:r})).braListRebalanceProposals},async create(a){return (await o.request(sa,{input:a})).braCreateRebalanceProposal},async transition(a,t){return (await o.request(la,{id:a,status:t})).braTransitionRebalanceProposal}},analytics:{async netWorthSummary(a){return (await o.request(ca,{ownerId:a})).braNetWorthSummary}},system:{async health(){return (await o.request(ua)).braHealth}}}}var Aa={id:"brainyrich",version:"1.0.0",displayName:"BrainyRich",dependsOn:["auth"],attach(d){return da(d)}},Ea=Aa;export{Ea as default};
@@ -0,0 +1,259 @@
1
+ 'use strict';var l=`
2
+ fragment FileRef on File { id }
3
+ `,d=`
4
+ fragment SkillFields on BuiSkill {
5
+ id name description category isActive
6
+ workspaceId createdAt updatedAt
7
+ }
8
+ `,m=`
9
+ ${l}
10
+ fragment LessonFields on BuiLesson {
11
+ id title content type courseId moduleId position durationMin isPreview
12
+ media { ...FileRef }
13
+ workspaceId createdAt updatedAt
14
+ }
15
+ `,p=`
16
+ ${m}
17
+ fragment ModuleFields on BuiModule {
18
+ id title description courseId position
19
+ lessons { ...LessonFields }
20
+ workspaceId createdAt updatedAt
21
+ }
22
+ `,u=`
23
+ ${l}
24
+ ${d}
25
+ ${p}
26
+ fragment CourseFields on BuiCourse {
27
+ id title slug summary description level status language tags
28
+ estimatedHours isPublic instructorId skillId publishedAt
29
+ cover { ...FileRef }
30
+ skill { ...SkillFields }
31
+ modules { ...ModuleFields }
32
+ lessons { ...LessonFields }
33
+ workspaceId createdAt updatedAt
34
+ }
35
+ `,A=`
36
+ fragment QuestionFields on BuiQuestion {
37
+ id assessmentId prompt type options points position explanation
38
+ workspaceId createdAt updatedAt
39
+ }
40
+ `,o=`
41
+ ${A}
42
+ fragment AssessmentFields on BuiAssessment {
43
+ id courseId title description type status isGraded
44
+ maxAttempts passingScore timeLimitMin
45
+ questions { ...QuestionFields }
46
+ workspaceId createdAt updatedAt
47
+ }
48
+ `,c=`
49
+ fragment SubmissionFields on BuiSubmission {
50
+ id assessmentId learnerId enrollmentId attempt status
51
+ answers score passed feedback gradedAt gradedById submittedAt
52
+ workspaceId createdAt updatedAt
53
+ }
54
+ `,B=`
55
+ fragment CohortFields on BuiCohort {
56
+ id courseId name capacity status facilitatorId startDate endDate
57
+ workspaceId createdAt updatedAt
58
+ }
59
+ `,E=`
60
+ fragment LessonProgressFields on BuiLessonProgress {
61
+ id enrollmentId lessonId status secondsSpent completedAt
62
+ workspaceId createdAt updatedAt
63
+ }
64
+ `,r=`
65
+ ${B}
66
+ ${E}
67
+ fragment EnrollmentFields on BuiEnrollment {
68
+ id courseId learnerId cohortId status progressPct
69
+ enrolledAt startedAt completedAt expiresAt lastActiveAt
70
+ cohort { ...CohortFields }
71
+ lessonProgress { ...LessonProgressFields }
72
+ workspaceId createdAt updatedAt
73
+ }
74
+ `,S=`
75
+ ${l}
76
+ fragment CertificateFields on BuiCertificate {
77
+ id courseId learnerId enrollmentId serial status finalScore
78
+ file { ...FileRef }
79
+ issuedAt expiresAt revokedAt
80
+ workspaceId createdAt updatedAt
81
+ }
82
+ `,C=`
83
+ fragment PageInfoFields on BuiPageInfo { cursor hasMore }
84
+ `,L=`
85
+ ${u}
86
+ query BuiCourse($id: ID!) { buiCourse(id: $id) { ...CourseFields } }
87
+ `,b=`
88
+ ${u}
89
+ ${C}
90
+ query BuiListCourses(
91
+ $level: BuiCourseLevel
92
+ $status: BuiCourseStatus
93
+ $pagination: PaginationInput
94
+ ) {
95
+ buiListCourses(level: $level, status: $status, pagination: $pagination) {
96
+ items { ...CourseFields }
97
+ pageInfo { ...PageInfoFields }
98
+ }
99
+ }
100
+ `,y=`
101
+ ${u}
102
+ mutation BuiCreateCourse($input: BuiCreateCourseInput!) {
103
+ buiCreateCourse(input: $input) { ...CourseFields }
104
+ }
105
+ `,$=`
106
+ ${u}
107
+ mutation BuiUpdateCourse($id: ID!, $input: BuiUpdateCourseInput!) {
108
+ buiUpdateCourse(id: $id, input: $input) { ...CourseFields }
109
+ }
110
+ `,q=`
111
+ ${u}
112
+ mutation BuiPublishCourse($id: ID!) { buiPublishCourse(id: $id) { ...CourseFields } }
113
+ `,g=`
114
+ mutation BuiArchiveCourse($id: ID!) { buiArchiveCourse(id: $id) }
115
+ `,T=`
116
+ ${p}
117
+ query BuiListModules($courseId: ID!) {
118
+ buiListModules(courseId: $courseId) { ...ModuleFields }
119
+ }
120
+ `,f=`
121
+ ${p}
122
+ mutation BuiCreateModule($input: BuiCreateModuleInput!) {
123
+ buiCreateModule(input: $input) { ...ModuleFields }
124
+ }
125
+ `,P=`
126
+ ${m}
127
+ query BuiListLessons($courseId: ID!, $moduleId: ID) {
128
+ buiListLessons(courseId: $courseId, moduleId: $moduleId) { ...LessonFields }
129
+ }
130
+ `,R=`
131
+ ${m}
132
+ mutation BuiCreateLesson($input: BuiCreateLessonInput!) {
133
+ buiCreateLesson(input: $input) { ...LessonFields }
134
+ }
135
+ `,F=`
136
+ ${o}
137
+ query BuiAssessment($id: ID!) { buiAssessment(id: $id) { ...AssessmentFields } }
138
+ `,_=`
139
+ ${o}
140
+ query BuiListAssessments($courseId: ID!, $status: BuiAssessmentStatus) {
141
+ buiListAssessments(courseId: $courseId, status: $status) { ...AssessmentFields }
142
+ }
143
+ `,h=`
144
+ ${o}
145
+ mutation BuiCreateAssessment($input: BuiCreateAssessmentInput!) {
146
+ buiCreateAssessment(input: $input) { ...AssessmentFields }
147
+ }
148
+ `,M=`
149
+ ${o}
150
+ mutation BuiPublishAssessment($id: ID!) {
151
+ buiPublishAssessment(id: $id) { ...AssessmentFields }
152
+ }
153
+ `,O=`
154
+ ${A}
155
+ mutation BuiCreateQuestion($input: BuiCreateQuestionInput!) {
156
+ buiCreateQuestion(input: $input) { ...QuestionFields }
157
+ }
158
+ `,k=`
159
+ ${c}
160
+ ${C}
161
+ query BuiListSubmissions(
162
+ $assessmentId: ID
163
+ $learnerId: ID
164
+ $status: BuiSubmissionStatus
165
+ $pagination: PaginationInput
166
+ ) {
167
+ buiListSubmissions(
168
+ assessmentId: $assessmentId
169
+ learnerId: $learnerId
170
+ status: $status
171
+ pagination: $pagination
172
+ ) {
173
+ items { ...SubmissionFields }
174
+ pageInfo { ...PageInfoFields }
175
+ }
176
+ }
177
+ `,x=`
178
+ ${c}
179
+ mutation BuiSubmitAssessment($input: BuiSubmitAssessmentInput!) {
180
+ buiSubmitAssessment(input: $input) { ...SubmissionFields }
181
+ }
182
+ `,N=`
183
+ ${c}
184
+ mutation BuiGradeSubmission($id: ID!, $input: BuiGradeSubmissionInput!) {
185
+ buiGradeSubmission(id: $id, input: $input) { ...SubmissionFields }
186
+ }
187
+ `,U=`
188
+ ${r}
189
+ query BuiEnrollment($id: ID!) { buiEnrollment(id: $id) { ...EnrollmentFields } }
190
+ `,w=`
191
+ ${r}
192
+ ${C}
193
+ query BuiListEnrollments(
194
+ $courseId: ID
195
+ $learnerId: ID
196
+ $status: BuiEnrollmentStatus
197
+ $pagination: PaginationInput
198
+ ) {
199
+ buiListEnrollments(
200
+ courseId: $courseId
201
+ learnerId: $learnerId
202
+ status: $status
203
+ pagination: $pagination
204
+ ) {
205
+ items { ...EnrollmentFields }
206
+ pageInfo { ...PageInfoFields }
207
+ }
208
+ }
209
+ `,D=`
210
+ ${r}
211
+ mutation BuiEnroll($input: BuiEnrollInput!) {
212
+ buiEnroll(input: $input) { ...EnrollmentFields }
213
+ }
214
+ `,v=`
215
+ ${r}
216
+ mutation BuiTransitionEnrollment($id: ID!, $status: BuiEnrollmentStatus!) {
217
+ buiTransitionEnrollment(id: $id, status: $status) { ...EnrollmentFields }
218
+ }
219
+ `,Q=`
220
+ ${E}
221
+ mutation BuiRecordLessonProgress($input: BuiRecordLessonProgressInput!) {
222
+ buiRecordLessonProgress(input: $input) { ...LessonProgressFields }
223
+ }
224
+ `,G=`
225
+ ${B}
226
+ query BuiListCohorts($courseId: ID, $status: BuiCohortStatus) {
227
+ buiListCohorts(courseId: $courseId, status: $status) { ...CohortFields }
228
+ }
229
+ `,H=`
230
+ ${B}
231
+ mutation BuiCreateCohort($input: BuiCreateCohortInput!) {
232
+ buiCreateCohort(input: $input) { ...CohortFields }
233
+ }
234
+ `,K=`
235
+ ${S}
236
+ query BuiListCertificates($courseId: ID, $learnerId: ID) {
237
+ buiListCertificates(courseId: $courseId, learnerId: $learnerId) { ...CertificateFields }
238
+ }
239
+ `,j=`
240
+ ${S}
241
+ mutation BuiIssueCertificate($input: BuiIssueCertificateInput!) {
242
+ buiIssueCertificate(input: $input) { ...CertificateFields }
243
+ }
244
+ `,V=`
245
+ ${S}
246
+ mutation BuiRevokeCertificate($id: ID!) {
247
+ buiRevokeCertificate(id: $id) { ...CertificateFields }
248
+ }
249
+ `,z=`
250
+ ${d}
251
+ query BuiListSkills($category: BuiSkillCategory) {
252
+ buiListSkills(category: $category) { ...SkillFields }
253
+ }
254
+ `,J=`
255
+ ${d}
256
+ mutation BuiCreateSkill($input: BuiCreateSkillInput!) {
257
+ buiCreateSkill(input: $input) { ...SkillFields }
258
+ }
259
+ `,W="query BuiHealth { buiHealth }";function X(a){let{workspace:t}=a.gql;return {courses:{async get(s){return (await t.request(L,{id:s})).buiCourse},async list(s,e,i){return (await t.request(b,{level:s,status:e,pagination:i})).buiListCourses},async create(s){return (await t.request(y,{input:s})).buiCreateCourse},async update(s,e){return (await t.request($,{id:s,input:e})).buiUpdateCourse},async publish(s){return (await t.request(q,{id:s})).buiPublishCourse},async archive(s){return (await t.request(g,{id:s})).buiArchiveCourse}},modules:{async list(s){return (await t.request(T,{courseId:s})).buiListModules},async create(s){return (await t.request(f,{input:s})).buiCreateModule}},lessons:{async list(s,e){return (await t.request(P,{courseId:s,moduleId:e})).buiListLessons},async create(s){return (await t.request(R,{input:s})).buiCreateLesson}},assessments:{async get(s){return (await t.request(F,{id:s})).buiAssessment},async list(s,e){return (await t.request(_,{courseId:s,status:e})).buiListAssessments},async create(s){return (await t.request(h,{input:s})).buiCreateAssessment},async publish(s){return (await t.request(M,{id:s})).buiPublishAssessment}},questions:{async create(s){return (await t.request(O,{input:s})).buiCreateQuestion}},submissions:{async list(s,e,i,n){return (await t.request(k,{assessmentId:s,learnerId:e,status:i,pagination:n})).buiListSubmissions},async submit(s){return (await t.request(x,{input:s})).buiSubmitAssessment},async grade(s,e){return (await t.request(N,{id:s,input:e})).buiGradeSubmission}},enrollments:{async get(s){return (await t.request(U,{id:s})).buiEnrollment},async list(s,e,i,n){return (await t.request(w,{courseId:s,learnerId:e,status:i,pagination:n})).buiListEnrollments},async enroll(s){return (await t.request(D,{input:s})).buiEnroll},async transition(s,e){return (await t.request(v,{id:s,status:e})).buiTransitionEnrollment},async recordProgress(s){return (await t.request(Q,{input:s})).buiRecordLessonProgress}},cohorts:{async list(s,e){return (await t.request(G,{courseId:s,status:e})).buiListCohorts},async create(s){return (await t.request(H,{input:s})).buiCreateCohort}},certificates:{async list(s,e){return (await t.request(K,{courseId:s,learnerId:e})).buiListCertificates},async issue(s){return (await t.request(j,{input:s})).buiIssueCertificate},async revoke(s){return (await t.request(V,{id:s})).buiRevokeCertificate}},skills:{async list(s){return (await t.request(z,{category:s})).buiListSkills},async create(s){return (await t.request(J,{input:s})).buiCreateSkill}},system:{async health(){return (await t.request(W)).buiHealth}}}}var Z={id:"buildmyiq",version:"1.0.0",displayName:"BuildMyIQ",dependsOn:["auth"],attach(a){return X(a)}},Is=Z;module.exports=Is;