@burdenoff/sdk-libs 2026.627.2 → 2026.627.3
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/artistrybase/index.cjs +351 -0
- package/dist/modules/artistrybase/index.d.cts +469 -0
- package/dist/modules/artistrybase/index.d.ts +469 -0
- package/dist/modules/artistrybase/index.js +351 -0
- package/dist/modules/brainyrich/index.cjs +355 -0
- package/dist/modules/brainyrich/index.d.cts +483 -0
- package/dist/modules/brainyrich/index.d.ts +483 -0
- package/dist/modules/brainyrich/index.js +355 -0
- package/dist/modules/buildmyiq/index.cjs +259 -0
- package/dist/modules/buildmyiq/index.d.cts +384 -0
- package/dist/modules/buildmyiq/index.d.ts +384 -0
- package/dist/modules/buildmyiq/index.js +259 -0
- package/dist/modules/collabkin/index.cjs +238 -0
- package/dist/modules/collabkin/index.d.cts +340 -0
- package/dist/modules/collabkin/index.d.ts +340 -0
- package/dist/modules/collabkin/index.js +238 -0
- package/dist/modules/comradecircle/index.cjs +311 -0
- package/dist/modules/comradecircle/index.d.cts +390 -0
- package/dist/modules/comradecircle/index.d.ts +390 -0
- package/dist/modules/comradecircle/index.js +311 -0
- package/package.json +1 -1
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
var s=`
|
|
2
|
+
fragment PageInfoFields on ArtPageInfo {
|
|
3
|
+
cursor hasMore
|
|
4
|
+
}
|
|
5
|
+
`,d=`
|
|
6
|
+
fragment PortfolioFields on ArtPortfolio {
|
|
7
|
+
id avatarFileId bannerFileId bio createdAt displayName
|
|
8
|
+
featuredWorkIds followerCount handle links ownerId
|
|
9
|
+
updatedAt visibility workspaceId
|
|
10
|
+
}
|
|
11
|
+
`,Tt=`
|
|
12
|
+
fragment FollowFields on ArtFollow {
|
|
13
|
+
id createdAt followerId notify portfolioId workspaceId
|
|
14
|
+
}
|
|
15
|
+
`,L=`
|
|
16
|
+
fragment WorkScalars on ArtWork {
|
|
17
|
+
id coverFileId createdAt creatorId currentVersionId durationMs
|
|
18
|
+
medium productionId publishedAt status summary tags title
|
|
19
|
+
updatedAt visibility workspaceId
|
|
20
|
+
}
|
|
21
|
+
`,l=`
|
|
22
|
+
fragment AssetFields on ArtAsset {
|
|
23
|
+
id createdAt durationMs fileId height kind mimeType sizeBytes
|
|
24
|
+
updatedAt versionId width workId workspaceId
|
|
25
|
+
}
|
|
26
|
+
`,p=`
|
|
27
|
+
fragment WorkVersionFields on ArtWorkVersion {
|
|
28
|
+
id checksum createdAt fileId isPublished label notes sizeBytes
|
|
29
|
+
updatedAt versionNo workId workspaceId
|
|
30
|
+
}
|
|
31
|
+
`,Lt=`
|
|
32
|
+
fragment CollectionScalars on ArtCollection {
|
|
33
|
+
id coverFileId createdAt description medium slug tags title
|
|
34
|
+
updatedAt visibility workspaceId
|
|
35
|
+
}
|
|
36
|
+
`,Et=`
|
|
37
|
+
fragment ProductionScalars on ArtProduction {
|
|
38
|
+
id createdAt medium ownerId releasedAt slug startDate status
|
|
39
|
+
synopsis tags targetDate title updatedAt workspaceId
|
|
40
|
+
}
|
|
41
|
+
`,R=`
|
|
42
|
+
fragment MemberFields on ArtProductionMember {
|
|
43
|
+
id createdAt isLead memberId productionId role title updatedAt workspaceId
|
|
44
|
+
}
|
|
45
|
+
`,I=`
|
|
46
|
+
fragment ReferenceFields on ArtReference {
|
|
47
|
+
id createdAt fileId note productionId tags title updatedAt url workspaceId
|
|
48
|
+
}
|
|
49
|
+
`,mt=`
|
|
50
|
+
fragment ReviewRoundScalars on ArtReviewRound {
|
|
51
|
+
id closedAt createdAt dueDate openedById round status title
|
|
52
|
+
updatedAt versionId workId workspaceId
|
|
53
|
+
}
|
|
54
|
+
`,P=`
|
|
55
|
+
fragment FeedbackFields on ArtFeedback {
|
|
56
|
+
id anchorType anchorValue authorId body createdAt resolvedAt
|
|
57
|
+
resolvedById reviewRoundId status updatedAt workspaceId
|
|
58
|
+
}
|
|
59
|
+
`,E=`
|
|
60
|
+
fragment ApprovalFields on ArtApproval {
|
|
61
|
+
id approverId comment createdAt decidedAt decision reviewRoundId
|
|
62
|
+
updatedAt workspaceId
|
|
63
|
+
}
|
|
64
|
+
`,A=`
|
|
65
|
+
fragment LicenseFields on ArtLicense {
|
|
66
|
+
id attribution createdAt currency model name priceAmount spdx
|
|
67
|
+
status terms updatedAt workId workspaceId
|
|
68
|
+
}
|
|
69
|
+
`,C=`
|
|
70
|
+
fragment ReleaseFields on ArtRelease {
|
|
71
|
+
id channel createdAt notes publishedAt scheduledFor status
|
|
72
|
+
updatedAt versionId visibility workId workspaceId
|
|
73
|
+
}
|
|
74
|
+
`,a=`
|
|
75
|
+
${L}
|
|
76
|
+
${l}
|
|
77
|
+
${p}
|
|
78
|
+
fragment WorkFull on ArtWork {
|
|
79
|
+
...WorkScalars
|
|
80
|
+
assets { ...AssetFields }
|
|
81
|
+
versions { ...WorkVersionFields }
|
|
82
|
+
}
|
|
83
|
+
`,i=`
|
|
84
|
+
${Lt}
|
|
85
|
+
${L}
|
|
86
|
+
fragment CollectionFull on ArtCollection {
|
|
87
|
+
...CollectionScalars
|
|
88
|
+
works { ...WorkScalars }
|
|
89
|
+
}
|
|
90
|
+
`,n=`
|
|
91
|
+
${Et}
|
|
92
|
+
${R}
|
|
93
|
+
${I}
|
|
94
|
+
fragment ProductionFull on ArtProduction {
|
|
95
|
+
...ProductionScalars
|
|
96
|
+
members { ...MemberFields }
|
|
97
|
+
references { ...ReferenceFields }
|
|
98
|
+
}
|
|
99
|
+
`,u=`
|
|
100
|
+
${mt}
|
|
101
|
+
${P}
|
|
102
|
+
${E}
|
|
103
|
+
fragment ReviewRoundFull on ArtReviewRound {
|
|
104
|
+
...ReviewRoundScalars
|
|
105
|
+
feedback { ...FeedbackFields }
|
|
106
|
+
approvals { ...ApprovalFields }
|
|
107
|
+
}
|
|
108
|
+
`,m=`
|
|
109
|
+
${d}
|
|
110
|
+
query ArtPortfolio($id: ID!) { artPortfolio(id: $id) { ...PortfolioFields } }
|
|
111
|
+
`,k=`
|
|
112
|
+
${d}
|
|
113
|
+
${s}
|
|
114
|
+
query ArtListPortfolios($pagination: PaginationInput, $visibility: ArtVisibility) {
|
|
115
|
+
artListPortfolios(pagination: $pagination, visibility: $visibility) {
|
|
116
|
+
items { ...PortfolioFields }
|
|
117
|
+
pageInfo { ...PageInfoFields }
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
`,$=`
|
|
121
|
+
${d}
|
|
122
|
+
mutation ArtCreatePortfolio($input: ArtCreatePortfolioInput!) {
|
|
123
|
+
artCreatePortfolio(input: $input) { ...PortfolioFields }
|
|
124
|
+
}
|
|
125
|
+
`,O=`
|
|
126
|
+
${d}
|
|
127
|
+
mutation ArtUpdatePortfolio($id: ID!, $input: ArtUpdatePortfolioInput!) {
|
|
128
|
+
artUpdatePortfolio(id: $id, input: $input) { ...PortfolioFields }
|
|
129
|
+
}
|
|
130
|
+
`,w=`
|
|
131
|
+
mutation ArtArchivePortfolio($id: ID!) { artArchivePortfolio(id: $id) }
|
|
132
|
+
`,f=`
|
|
133
|
+
${Tt}
|
|
134
|
+
mutation ArtFollowPortfolio($portfolioId: ID!, $notify: Boolean) {
|
|
135
|
+
artFollowPortfolio(portfolioId: $portfolioId, notify: $notify) { ...FollowFields }
|
|
136
|
+
}
|
|
137
|
+
`,y=`
|
|
138
|
+
mutation ArtUnfollowPortfolio($portfolioId: ID!) {
|
|
139
|
+
artUnfollowPortfolio(portfolioId: $portfolioId)
|
|
140
|
+
}
|
|
141
|
+
`,F=`
|
|
142
|
+
${a}
|
|
143
|
+
query ArtWork($id: ID!) { artWork(id: $id) { ...WorkFull } }
|
|
144
|
+
`,b=`
|
|
145
|
+
${a}
|
|
146
|
+
${s}
|
|
147
|
+
query ArtListWorks(
|
|
148
|
+
$medium: ArtMedium
|
|
149
|
+
$pagination: PaginationInput
|
|
150
|
+
$productionId: ID
|
|
151
|
+
$status: ArtWorkStatus
|
|
152
|
+
) {
|
|
153
|
+
artListWorks(
|
|
154
|
+
medium: $medium
|
|
155
|
+
pagination: $pagination
|
|
156
|
+
productionId: $productionId
|
|
157
|
+
status: $status
|
|
158
|
+
) {
|
|
159
|
+
items { ...WorkFull }
|
|
160
|
+
pageInfo { ...PageInfoFields }
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
`,v=`
|
|
164
|
+
${a}
|
|
165
|
+
mutation ArtCreateWork($input: ArtCreateWorkInput!) {
|
|
166
|
+
artCreateWork(input: $input) { ...WorkFull }
|
|
167
|
+
}
|
|
168
|
+
`,S=`
|
|
169
|
+
${a}
|
|
170
|
+
mutation ArtUpdateWork($id: ID!, $input: ArtUpdateWorkInput!) {
|
|
171
|
+
artUpdateWork(id: $id, input: $input) { ...WorkFull }
|
|
172
|
+
}
|
|
173
|
+
`,W=`
|
|
174
|
+
mutation ArtArchiveWork($id: ID!) { artArchiveWork(id: $id) }
|
|
175
|
+
`,D=`
|
|
176
|
+
${p}
|
|
177
|
+
query ArtListWorkVersions($workId: ID!) {
|
|
178
|
+
artListWorkVersions(workId: $workId) { ...WorkVersionFields }
|
|
179
|
+
}
|
|
180
|
+
`,g=`
|
|
181
|
+
${p}
|
|
182
|
+
mutation ArtAddWorkVersion($input: ArtCreateWorkVersionInput!) {
|
|
183
|
+
artAddWorkVersion(input: $input) { ...WorkVersionFields }
|
|
184
|
+
}
|
|
185
|
+
`,U=`
|
|
186
|
+
${a}
|
|
187
|
+
mutation ArtPublishWorkVersion($workId: ID!, $versionId: ID!) {
|
|
188
|
+
artPublishWorkVersion(workId: $workId, versionId: $versionId) { ...WorkFull }
|
|
189
|
+
}
|
|
190
|
+
`,N=`
|
|
191
|
+
${l}
|
|
192
|
+
query ArtListAssets($workId: ID!) {
|
|
193
|
+
artListAssets(workId: $workId) { ...AssetFields }
|
|
194
|
+
}
|
|
195
|
+
`,V=`
|
|
196
|
+
${l}
|
|
197
|
+
mutation ArtAddAsset($input: ArtCreateAssetInput!) {
|
|
198
|
+
artAddAsset(input: $input) { ...AssetFields }
|
|
199
|
+
}
|
|
200
|
+
`,q=`
|
|
201
|
+
${i}
|
|
202
|
+
query ArtCollection($id: ID!) { artCollection(id: $id) { ...CollectionFull } }
|
|
203
|
+
`,x=`
|
|
204
|
+
${i}
|
|
205
|
+
${s}
|
|
206
|
+
query ArtListCollections($pagination: PaginationInput, $visibility: ArtVisibility) {
|
|
207
|
+
artListCollections(pagination: $pagination, visibility: $visibility) {
|
|
208
|
+
items { ...CollectionFull }
|
|
209
|
+
pageInfo { ...PageInfoFields }
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
`,M=`
|
|
213
|
+
${i}
|
|
214
|
+
mutation ArtCreateCollection($input: ArtCreateCollectionInput!) {
|
|
215
|
+
artCreateCollection(input: $input) { ...CollectionFull }
|
|
216
|
+
}
|
|
217
|
+
`,h=`
|
|
218
|
+
${i}
|
|
219
|
+
mutation ArtUpdateCollection($id: ID!, $input: ArtUpdateCollectionInput!) {
|
|
220
|
+
artUpdateCollection(id: $id, input: $input) { ...CollectionFull }
|
|
221
|
+
}
|
|
222
|
+
`,K=`
|
|
223
|
+
${i}
|
|
224
|
+
mutation ArtAddWorkToCollection($collectionId: ID!, $workId: ID!) {
|
|
225
|
+
artAddWorkToCollection(collectionId: $collectionId, workId: $workId) { ...CollectionFull }
|
|
226
|
+
}
|
|
227
|
+
`,B=`
|
|
228
|
+
${i}
|
|
229
|
+
mutation ArtRemoveWorkFromCollection($collectionId: ID!, $workId: ID!) {
|
|
230
|
+
artRemoveWorkFromCollection(collectionId: $collectionId, workId: $workId) { ...CollectionFull }
|
|
231
|
+
}
|
|
232
|
+
`,H=`
|
|
233
|
+
${n}
|
|
234
|
+
query ArtProduction($id: ID!) { artProduction(id: $id) { ...ProductionFull } }
|
|
235
|
+
`,j=`
|
|
236
|
+
${n}
|
|
237
|
+
${s}
|
|
238
|
+
query ArtListProductions($pagination: PaginationInput, $status: ArtProductionStatus) {
|
|
239
|
+
artListProductions(pagination: $pagination, status: $status) {
|
|
240
|
+
items { ...ProductionFull }
|
|
241
|
+
pageInfo { ...PageInfoFields }
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
`,z=`
|
|
245
|
+
${n}
|
|
246
|
+
mutation ArtCreateProduction($input: ArtCreateProductionInput!) {
|
|
247
|
+
artCreateProduction(input: $input) { ...ProductionFull }
|
|
248
|
+
}
|
|
249
|
+
`,G=`
|
|
250
|
+
${n}
|
|
251
|
+
mutation ArtUpdateProduction($id: ID!, $input: ArtUpdateProductionInput!) {
|
|
252
|
+
artUpdateProduction(id: $id, input: $input) { ...ProductionFull }
|
|
253
|
+
}
|
|
254
|
+
`,J=`
|
|
255
|
+
${n}
|
|
256
|
+
mutation ArtTransitionProduction($id: ID!, $status: ArtProductionStatus!) {
|
|
257
|
+
artTransitionProduction(id: $id, status: $status) { ...ProductionFull }
|
|
258
|
+
}
|
|
259
|
+
`,Q=`
|
|
260
|
+
${R}
|
|
261
|
+
query ArtListProductionMembers($productionId: ID!) {
|
|
262
|
+
artListProductionMembers(productionId: $productionId) { ...MemberFields }
|
|
263
|
+
}
|
|
264
|
+
`,X=`
|
|
265
|
+
${R}
|
|
266
|
+
mutation ArtAddProductionMember($input: ArtAddProductionMemberInput!) {
|
|
267
|
+
artAddProductionMember(input: $input) { ...MemberFields }
|
|
268
|
+
}
|
|
269
|
+
`,Y=`
|
|
270
|
+
mutation ArtRemoveProductionMember($id: ID!) { artRemoveProductionMember(id: $id) }
|
|
271
|
+
`,Z=`
|
|
272
|
+
${I}
|
|
273
|
+
query ArtListReferences($productionId: ID!) {
|
|
274
|
+
artListReferences(productionId: $productionId) { ...ReferenceFields }
|
|
275
|
+
}
|
|
276
|
+
`,tt=`
|
|
277
|
+
${I}
|
|
278
|
+
mutation ArtAddReference($input: ArtCreateReferenceInput!) {
|
|
279
|
+
artAddReference(input: $input) { ...ReferenceFields }
|
|
280
|
+
}
|
|
281
|
+
`,et=`
|
|
282
|
+
mutation ArtRemoveReference($id: ID!) { artRemoveReference(id: $id) }
|
|
283
|
+
`,rt=`
|
|
284
|
+
${u}
|
|
285
|
+
query ArtReviewRound($id: ID!) { artReviewRound(id: $id) { ...ReviewRoundFull } }
|
|
286
|
+
`,ot=`
|
|
287
|
+
${u}
|
|
288
|
+
query ArtListReviewRounds($workId: ID!, $status: ArtReviewStatus) {
|
|
289
|
+
artListReviewRounds(workId: $workId, status: $status) { ...ReviewRoundFull }
|
|
290
|
+
}
|
|
291
|
+
`,it=`
|
|
292
|
+
${u}
|
|
293
|
+
mutation ArtOpenReviewRound($input: ArtOpenReviewRoundInput!) {
|
|
294
|
+
artOpenReviewRound(input: $input) { ...ReviewRoundFull }
|
|
295
|
+
}
|
|
296
|
+
`,at=`
|
|
297
|
+
${u}
|
|
298
|
+
mutation ArtTransitionReviewRound($id: ID!, $status: ArtReviewStatus!) {
|
|
299
|
+
artTransitionReviewRound(id: $id, status: $status) { ...ReviewRoundFull }
|
|
300
|
+
}
|
|
301
|
+
`,nt=`
|
|
302
|
+
${P}
|
|
303
|
+
mutation ArtAddFeedback($input: ArtAddFeedbackInput!) {
|
|
304
|
+
artAddFeedback(input: $input) { ...FeedbackFields }
|
|
305
|
+
}
|
|
306
|
+
`,st=`
|
|
307
|
+
${P}
|
|
308
|
+
mutation ArtResolveFeedback($id: ID!, $status: ArtFeedbackStatus!) {
|
|
309
|
+
artResolveFeedback(id: $id, status: $status) { ...FeedbackFields }
|
|
310
|
+
}
|
|
311
|
+
`,dt=`
|
|
312
|
+
${E}
|
|
313
|
+
mutation ArtRecordApproval($input: ArtRecordApprovalInput!) {
|
|
314
|
+
artRecordApproval(input: $input) { ...ApprovalFields }
|
|
315
|
+
}
|
|
316
|
+
`,At=`
|
|
317
|
+
${A}
|
|
318
|
+
query ArtListLicenses($workId: ID!) {
|
|
319
|
+
artListLicenses(workId: $workId) { ...LicenseFields }
|
|
320
|
+
}
|
|
321
|
+
`,ut=`
|
|
322
|
+
${A}
|
|
323
|
+
mutation ArtCreateLicense($input: ArtCreateLicenseInput!) {
|
|
324
|
+
artCreateLicense(input: $input) { ...LicenseFields }
|
|
325
|
+
}
|
|
326
|
+
`,ct=`
|
|
327
|
+
${A}
|
|
328
|
+
mutation ArtUpdateLicense($id: ID!, $input: ArtUpdateLicenseInput!) {
|
|
329
|
+
artUpdateLicense(id: $id, input: $input) { ...LicenseFields }
|
|
330
|
+
}
|
|
331
|
+
`,lt=`
|
|
332
|
+
${A}
|
|
333
|
+
mutation ArtActivateLicense($id: ID!) {
|
|
334
|
+
artActivateLicense(id: $id) { ...LicenseFields }
|
|
335
|
+
}
|
|
336
|
+
`,pt=`
|
|
337
|
+
${C}
|
|
338
|
+
query ArtListReleases($workId: ID!, $status: ArtReleaseStatus) {
|
|
339
|
+
artListReleases(workId: $workId, status: $status) { ...ReleaseFields }
|
|
340
|
+
}
|
|
341
|
+
`,Rt=`
|
|
342
|
+
${C}
|
|
343
|
+
mutation ArtCreateRelease($input: ArtCreateReleaseInput!) {
|
|
344
|
+
artCreateRelease(input: $input) { ...ReleaseFields }
|
|
345
|
+
}
|
|
346
|
+
`,It=`
|
|
347
|
+
${C}
|
|
348
|
+
mutation ArtPublishRelease($id: ID!) {
|
|
349
|
+
artPublishRelease(id: $id) { ...ReleaseFields }
|
|
350
|
+
}
|
|
351
|
+
`,Pt="query ArtHealth { artHealth }";function Ct(c){let{workspace:r}=c.gql;return {portfolios:{async get(t){return (await r.request(m,{id:t})).artPortfolio},async list(t,e){return (await r.request(k,{pagination:t,visibility:e})).artListPortfolios},async create(t){return (await r.request($,{input:t})).artCreatePortfolio},async update(t,e){return (await r.request(O,{id:t,input:e})).artUpdatePortfolio},async archive(t){return (await r.request(w,{id:t})).artArchivePortfolio},async follow(t,e){return (await r.request(f,{portfolioId:t,notify:e})).artFollowPortfolio},async unfollow(t){return (await r.request(y,{portfolioId:t})).artUnfollowPortfolio}},works:{async get(t){return (await r.request(F,{id:t})).artWork},async list(t,e,o,_t){return (await r.request(b,{medium:t,pagination:e,productionId:o,status:_t})).artListWorks},async create(t){return (await r.request(v,{input:t})).artCreateWork},async update(t,e){return (await r.request(S,{id:t,input:e})).artUpdateWork},async archive(t){return (await r.request(W,{id:t})).artArchiveWork},async listVersions(t){return (await r.request(D,{workId:t})).artListWorkVersions},async addVersion(t){return (await r.request(g,{input:t})).artAddWorkVersion},async publishVersion(t,e){return (await r.request(U,{workId:t,versionId:e})).artPublishWorkVersion},async listAssets(t){return (await r.request(N,{workId:t})).artListAssets},async addAsset(t){return (await r.request(V,{input:t})).artAddAsset}},collections:{async get(t){return (await r.request(q,{id:t})).artCollection},async list(t,e){return (await r.request(x,{pagination:t,visibility:e})).artListCollections},async create(t){return (await r.request(M,{input:t})).artCreateCollection},async update(t,e){return (await r.request(h,{id:t,input:e})).artUpdateCollection},async addWork(t,e){return (await r.request(K,{collectionId:t,workId:e})).artAddWorkToCollection},async removeWork(t,e){return (await r.request(B,{collectionId:t,workId:e})).artRemoveWorkFromCollection}},productions:{async get(t){return (await r.request(H,{id:t})).artProduction},async list(t,e){return (await r.request(j,{pagination:t,status:e})).artListProductions},async create(t){return (await r.request(z,{input:t})).artCreateProduction},async update(t,e){return (await r.request(G,{id:t,input:e})).artUpdateProduction},async transition(t,e){return (await r.request(J,{id:t,status:e})).artTransitionProduction},async listMembers(t){return (await r.request(Q,{productionId:t})).artListProductionMembers},async addMember(t){return (await r.request(X,{input:t})).artAddProductionMember},async removeMember(t){return (await r.request(Y,{id:t})).artRemoveProductionMember},async listReferences(t){return (await r.request(Z,{productionId:t})).artListReferences},async addReference(t){return (await r.request(tt,{input:t})).artAddReference},async removeReference(t){return (await r.request(et,{id:t})).artRemoveReference}},reviews:{async getRound(t){return (await r.request(rt,{id:t})).artReviewRound},async listRounds(t,e){return (await r.request(ot,{workId:t,status:e})).artListReviewRounds},async openRound(t){return (await r.request(it,{input:t})).artOpenReviewRound},async transitionRound(t,e){return (await r.request(at,{id:t,status:e})).artTransitionReviewRound},async addFeedback(t){return (await r.request(nt,{input:t})).artAddFeedback},async resolveFeedback(t,e){return (await r.request(st,{id:t,status:e})).artResolveFeedback},async recordApproval(t){return (await r.request(dt,{input:t})).artRecordApproval}},licenses:{async list(t){return (await r.request(At,{workId:t})).artListLicenses},async create(t){return (await r.request(ut,{input:t})).artCreateLicense},async update(t,e){return (await r.request(ct,{id:t,input:e})).artUpdateLicense},async activate(t){return (await r.request(lt,{id:t})).artActivateLicense}},releases:{async list(t,e){return (await r.request(pt,{workId:t,status:e})).artListReleases},async create(t){return (await r.request(Rt,{input:t})).artCreateRelease},async publish(t){return (await r.request(It,{id:t})).artPublishRelease}},health:{async health(){return (await r.request(Pt)).artHealth}}}}var kt={id:"artistrybase",version:"1.0.0",displayName:"Artistrybase",dependsOn:["auth"],attach(c){return Ct(c)}},qt=kt;export{qt as default};
|
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
'use strict';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
|
+
`,y=`
|
|
20
|
+
fragment AccountScalars on BraAccount {
|
|
21
|
+
id accountMask cashBalance currency householdId institution
|
|
22
|
+
isManual name ownerId status type
|
|
23
|
+
workspaceId createdAt updatedAt
|
|
24
|
+
}
|
|
25
|
+
`,da=`
|
|
26
|
+
fragment ModelAllocationFields on BraModelAllocation {
|
|
27
|
+
id assetClass modelPortfolioId targetPct workspaceId createdAt updatedAt
|
|
28
|
+
}
|
|
29
|
+
`,pa=`
|
|
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
|
+
`,Ia=`
|
|
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
|
+
${da}
|
|
58
|
+
fragment ModelPortfolioFull on BraModelPortfolio {
|
|
59
|
+
id baseCurrency description isActive name riskProfile
|
|
60
|
+
workspaceId createdAt updatedAt
|
|
61
|
+
allocations { ...ModelAllocationFields }
|
|
62
|
+
}
|
|
63
|
+
`,c=`
|
|
64
|
+
${y}
|
|
65
|
+
${p}
|
|
66
|
+
${I}
|
|
67
|
+
fragment AccountFull on BraAccount {
|
|
68
|
+
...AccountScalars
|
|
69
|
+
holdings { ...HoldingScalars }
|
|
70
|
+
transactions { ...TransactionFields }
|
|
71
|
+
}
|
|
72
|
+
`,g=`
|
|
73
|
+
${p}
|
|
74
|
+
${y}
|
|
75
|
+
fragment HoldingFull on BraHolding {
|
|
76
|
+
...HoldingScalars
|
|
77
|
+
account { ...AccountScalars }
|
|
78
|
+
}
|
|
79
|
+
`,u=`
|
|
80
|
+
${pa}
|
|
81
|
+
${p}
|
|
82
|
+
fragment PortfolioFull on BraPortfolio {
|
|
83
|
+
...PortfolioScalars
|
|
84
|
+
holdings { ...HoldingScalars }
|
|
85
|
+
}
|
|
86
|
+
`,e=`
|
|
87
|
+
${Ia}
|
|
88
|
+
${B}
|
|
89
|
+
fragment GoalFull on BraGoal {
|
|
90
|
+
...GoalScalars
|
|
91
|
+
fundings { ...GoalFundingFields }
|
|
92
|
+
}
|
|
93
|
+
`,i="pageInfo { cursor hasMore }",b=`
|
|
94
|
+
${l}
|
|
95
|
+
query BraHousehold($id: ID!) {
|
|
96
|
+
braHousehold(id: $id) { ...HouseholdFields }
|
|
97
|
+
}
|
|
98
|
+
`,L=`
|
|
99
|
+
${l}
|
|
100
|
+
query BraListHouseholds($pagination: PaginationInput, $status: BraHouseholdStatus) {
|
|
101
|
+
braListHouseholds(pagination: $pagination, status: $status) {
|
|
102
|
+
items { ...HouseholdFields }
|
|
103
|
+
${i}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
`,C=`
|
|
107
|
+
${l}
|
|
108
|
+
mutation BraCreateHousehold($input: BraCreateHouseholdInput!) {
|
|
109
|
+
braCreateHousehold(input: $input) { ...HouseholdFields }
|
|
110
|
+
}
|
|
111
|
+
`,$=`
|
|
112
|
+
${l}
|
|
113
|
+
mutation BraUpdateHousehold($id: ID!, $input: BraUpdateHouseholdInput!) {
|
|
114
|
+
braUpdateHousehold(id: $id, input: $input) { ...HouseholdFields }
|
|
115
|
+
}
|
|
116
|
+
`,T=`
|
|
117
|
+
mutation BraArchiveHousehold($id: ID!) {
|
|
118
|
+
braArchiveHousehold(id: $id)
|
|
119
|
+
}
|
|
120
|
+
`,m=`
|
|
121
|
+
${c}
|
|
122
|
+
query BraAccount($id: ID!) {
|
|
123
|
+
braAccount(id: $id) { ...AccountFull }
|
|
124
|
+
}
|
|
125
|
+
`,O=`
|
|
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
|
+
`,H=`
|
|
138
|
+
${c}
|
|
139
|
+
mutation BraCreateAccount($input: BraCreateAccountInput!) {
|
|
140
|
+
braCreateAccount(input: $input) { ...AccountFull }
|
|
141
|
+
}
|
|
142
|
+
`,S=`
|
|
143
|
+
${c}
|
|
144
|
+
mutation BraUpdateAccount($id: ID!, $input: BraUpdateAccountInput!) {
|
|
145
|
+
braUpdateAccount(id: $id, input: $input) { ...AccountFull }
|
|
146
|
+
}
|
|
147
|
+
`,f=`
|
|
148
|
+
mutation BraArchiveAccount($id: ID!) {
|
|
149
|
+
braArchiveAccount(id: $id)
|
|
150
|
+
}
|
|
151
|
+
`,G=`
|
|
152
|
+
${g}
|
|
153
|
+
query BraListHoldings($accountId: ID, $portfolioId: ID) {
|
|
154
|
+
braListHoldings(accountId: $accountId, portfolioId: $portfolioId) { ...HoldingFull }
|
|
155
|
+
}
|
|
156
|
+
`,R=`
|
|
157
|
+
${g}
|
|
158
|
+
mutation BraCreateHolding($input: BraCreateHoldingInput!) {
|
|
159
|
+
braCreateHolding(input: $input) { ...HoldingFull }
|
|
160
|
+
}
|
|
161
|
+
`,_=`
|
|
162
|
+
${g}
|
|
163
|
+
mutation BraUpdateHolding($id: ID!, $input: BraUpdateHoldingInput!) {
|
|
164
|
+
braUpdateHolding(id: $id, input: $input) { ...HoldingFull }
|
|
165
|
+
}
|
|
166
|
+
`,E=`
|
|
167
|
+
mutation BraDeleteHolding($id: ID!) {
|
|
168
|
+
braDeleteHolding(id: $id)
|
|
169
|
+
}
|
|
170
|
+
`,F=`
|
|
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
|
+
`,D=`
|
|
183
|
+
${I}
|
|
184
|
+
mutation BraRecordTransaction($input: BraCreateTransactionInput!) {
|
|
185
|
+
braRecordTransaction(input: $input) { ...TransactionFields }
|
|
186
|
+
}
|
|
187
|
+
`,N=`
|
|
188
|
+
${u}
|
|
189
|
+
query BraPortfolio($id: ID!) {
|
|
190
|
+
braPortfolio(id: $id) { ...PortfolioFull }
|
|
191
|
+
}
|
|
192
|
+
`,U=`
|
|
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
|
+
`,w=`
|
|
205
|
+
${u}
|
|
206
|
+
mutation BraCreatePortfolio($input: BraCreatePortfolioInput!) {
|
|
207
|
+
braCreatePortfolio(input: $input) { ...PortfolioFull }
|
|
208
|
+
}
|
|
209
|
+
`,q=`
|
|
210
|
+
${u}
|
|
211
|
+
mutation BraUpdatePortfolio($id: ID!, $input: BraUpdatePortfolioInput!) {
|
|
212
|
+
braUpdatePortfolio(id: $id, input: $input) { ...PortfolioFull }
|
|
213
|
+
}
|
|
214
|
+
`,x=`
|
|
215
|
+
mutation BraArchivePortfolio($id: ID!) {
|
|
216
|
+
braArchivePortfolio(id: $id)
|
|
217
|
+
}
|
|
218
|
+
`,M=`
|
|
219
|
+
${h}
|
|
220
|
+
query BraModelPortfolio($id: ID!) {
|
|
221
|
+
braModelPortfolio(id: $id) { ...ModelPortfolioFull }
|
|
222
|
+
}
|
|
223
|
+
`,k=`
|
|
224
|
+
${h}
|
|
225
|
+
query BraListModelPortfolios {
|
|
226
|
+
braListModelPortfolios { ...ModelPortfolioFull }
|
|
227
|
+
}
|
|
228
|
+
`,v=`
|
|
229
|
+
${h}
|
|
230
|
+
mutation BraCreateModelPortfolio($input: BraCreateModelPortfolioInput!) {
|
|
231
|
+
braCreateModelPortfolio(input: $input) { ...ModelPortfolioFull }
|
|
232
|
+
}
|
|
233
|
+
`,j=`
|
|
234
|
+
${e}
|
|
235
|
+
query BraGoal($id: ID!) {
|
|
236
|
+
braGoal(id: $id) { ...GoalFull }
|
|
237
|
+
}
|
|
238
|
+
`,W=`
|
|
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
|
+
`,V=`
|
|
247
|
+
${e}
|
|
248
|
+
mutation BraCreateGoal($input: BraCreateGoalInput!) {
|
|
249
|
+
braCreateGoal(input: $input) { ...GoalFull }
|
|
250
|
+
}
|
|
251
|
+
`,K=`
|
|
252
|
+
${e}
|
|
253
|
+
mutation BraUpdateGoal($id: ID!, $input: BraUpdateGoalInput!) {
|
|
254
|
+
braUpdateGoal(id: $id, input: $input) { ...GoalFull }
|
|
255
|
+
}
|
|
256
|
+
`,J=`
|
|
257
|
+
mutation BraArchiveGoal($id: ID!) {
|
|
258
|
+
braArchiveGoal(id: $id)
|
|
259
|
+
}
|
|
260
|
+
`,Y=`
|
|
261
|
+
${e}
|
|
262
|
+
mutation BraRecalcGoalProjection($id: ID!, $fundedAmount: Float!) {
|
|
263
|
+
braRecalcGoalProjection(id: $id, fundedAmount: $fundedAmount) { ...GoalFull }
|
|
264
|
+
}
|
|
265
|
+
`,z=`
|
|
266
|
+
${B}
|
|
267
|
+
query BraListGoalFundings($goalId: ID!) {
|
|
268
|
+
braListGoalFundings(goalId: $goalId) { ...GoalFundingFields }
|
|
269
|
+
}
|
|
270
|
+
`,Q=`
|
|
271
|
+
${B}
|
|
272
|
+
mutation BraLinkGoalFunding($input: BraLinkGoalFundingInput!) {
|
|
273
|
+
braLinkGoalFunding(input: $input) { ...GoalFundingFields }
|
|
274
|
+
}
|
|
275
|
+
`,X=`
|
|
276
|
+
mutation BraUnlinkGoalFunding($id: ID!) {
|
|
277
|
+
braUnlinkGoalFunding(id: $id)
|
|
278
|
+
}
|
|
279
|
+
`,Z=`
|
|
280
|
+
${n}
|
|
281
|
+
query BraInsight($id: ID!) {
|
|
282
|
+
braInsight(id: $id) { ...InsightFields }
|
|
283
|
+
}
|
|
284
|
+
`,aa=`
|
|
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
|
+
`,ta=`
|
|
305
|
+
${n}
|
|
306
|
+
mutation BraCreateInsight($input: BraCreateInsightInput!) {
|
|
307
|
+
braCreateInsight(input: $input) { ...InsightFields }
|
|
308
|
+
}
|
|
309
|
+
`,oa=`
|
|
310
|
+
${n}
|
|
311
|
+
mutation BraAcknowledgeInsight($id: ID!) {
|
|
312
|
+
braAcknowledgeInsight(id: $id) { ...InsightFields }
|
|
313
|
+
}
|
|
314
|
+
`,ra=`
|
|
315
|
+
${n}
|
|
316
|
+
mutation BraDismissInsight($id: ID!) {
|
|
317
|
+
braDismissInsight(id: $id) { ...InsightFields }
|
|
318
|
+
}
|
|
319
|
+
`,na=`
|
|
320
|
+
${n}
|
|
321
|
+
mutation BraResolveInsight($id: ID!) {
|
|
322
|
+
braResolveInsight(id: $id) { ...InsightFields }
|
|
323
|
+
}
|
|
324
|
+
`,ia=`
|
|
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
|
+
`,ea=`
|
|
338
|
+
${A}
|
|
339
|
+
mutation BraCreateRebalanceProposal($input: BraCreateRebalanceProposalInput!) {
|
|
340
|
+
braCreateRebalanceProposal(input: $input) { ...RebalanceFields }
|
|
341
|
+
}
|
|
342
|
+
`,sa=`
|
|
343
|
+
${A}
|
|
344
|
+
mutation BraTransitionRebalanceProposal($id: ID!, $status: BraRebalanceStatus!) {
|
|
345
|
+
braTransitionRebalanceProposal(id: $id, status: $status) { ...RebalanceFields }
|
|
346
|
+
}
|
|
347
|
+
`,la=`
|
|
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
|
+
`,ca="query BraHealth { braHealth }";function ua(d){let{workspace:o}=d.gql;return {households:{async get(a){return (await o.request(b,{id:a})).braHousehold},async list(a,t){return (await o.request(L,{pagination:a,status:t})).braListHouseholds},async create(a){return (await o.request(C,{input:a})).braCreateHousehold},async update(a,t){return (await o.request($,{id:a,input:t})).braUpdateHousehold},async archive(a){return (await o.request(T,{id:a})).braArchiveHousehold}},accounts:{async get(a){return (await o.request(m,{id:a})).braAccount},async list(a,t,r){return (await o.request(O,{householdId:a,pagination:t,status:r})).braListAccounts},async create(a){return (await o.request(H,{input:a})).braCreateAccount},async update(a,t){return (await o.request(S,{id:a,input:t})).braUpdateAccount},async archive(a){return (await o.request(f,{id:a})).braArchiveAccount}},holdings:{async list(a,t){return (await o.request(G,{accountId:a,portfolioId:t})).braListHoldings},async create(a){return (await o.request(R,{input:a})).braCreateHolding},async update(a,t){return (await o.request(_,{id:a,input:t})).braUpdateHolding},async delete(a){return (await o.request(E,{id:a})).braDeleteHolding}},transactions:{async list(a,t,r){return (await o.request(F,{accountId:a,pagination:t,type:r})).braListTransactions},async record(a){return (await o.request(D,{input:a})).braRecordTransaction}},portfolios:{async get(a){return (await o.request(N,{id:a})).braPortfolio},async list(a,t,r){return (await o.request(U,{householdId:a,pagination:t,status:r})).braListPortfolios},async create(a){return (await o.request(w,{input:a})).braCreatePortfolio},async update(a,t){return (await o.request(q,{id:a,input:t})).braUpdatePortfolio},async archive(a){return (await o.request(x,{id:a})).braArchivePortfolio}},modelPortfolios:{async get(a){return (await o.request(M,{id:a})).braModelPortfolio},async list(){return (await o.request(k)).braListModelPortfolios},async create(a){return (await o.request(v,{input:a})).braCreateModelPortfolio}},goals:{async get(a){return (await o.request(j,{id:a})).braGoal},async list(a,t,r){return (await o.request(W,{householdId:a,pagination:t,status:r})).braListGoals},async create(a){return (await o.request(V,{input:a})).braCreateGoal},async update(a,t){return (await o.request(K,{id:a,input:t})).braUpdateGoal},async archive(a){return (await o.request(J,{id:a})).braArchiveGoal},async recalcProjection(a,t){return (await o.request(Y,{id:a,fundedAmount:t})).braRecalcGoalProjection},async listFundings(a){return (await o.request(z,{goalId:a})).braListGoalFundings},async linkFunding(a){return (await o.request(Q,{input:a})).braLinkGoalFunding},async unlinkFunding(a){return (await o.request(X,{id:a})).braUnlinkGoalFunding}},insights:{async get(a){return (await o.request(Z,{id:a})).braInsight},async list(a){return (await o.request(aa,{pagination:a?.pagination,severity:a?.severity,status:a?.status,subjectId:a?.subjectId,subjectType:a?.subjectType})).braListInsights},async create(a){return (await o.request(ta,{input:a})).braCreateInsight},async acknowledge(a){return (await o.request(oa,{id:a})).braAcknowledgeInsight},async dismiss(a){return (await o.request(ra,{id:a})).braDismissInsight},async resolve(a){return (await o.request(na,{id:a})).braResolveInsight}},rebalances:{async list(a,t,r){return (await o.request(ia,{householdId:a,portfolioId:t,status:r})).braListRebalanceProposals},async create(a){return (await o.request(ea,{input:a})).braCreateRebalanceProposal},async transition(a,t){return (await o.request(sa,{id:a,status:t})).braTransitionRebalanceProposal}},analytics:{async netWorthSummary(a){return (await o.request(la,{ownerId:a})).braNetWorthSummary}},system:{async health(){return (await o.request(ca)).braHealth}}}}var Ba={id:"brainyrich",version:"1.0.0",displayName:"BrainyRich",dependsOn:["auth"],attach(d){return ua(d)}},_a=Ba;module.exports=_a;
|