@burdenoff/sdk-libs 2026.627.1 → 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/assethandler/index.cjs +286 -0
- package/dist/modules/assethandler/index.d.cts +548 -0
- package/dist/modules/assethandler/index.d.ts +548 -0
- package/dist/modules/assethandler/index.js +286 -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/dist/modules/eventfullymanaged/index.cjs +666 -0
- package/dist/modules/eventfullymanaged/index.d.cts +650 -0
- package/dist/modules/eventfullymanaged/index.d.ts +650 -0
- package/dist/modules/eventfullymanaged/index.js +666 -0
- package/dist/modules/headshotmarketing/index.cjs +1205 -0
- package/dist/modules/headshotmarketing/index.d.cts +1922 -0
- package/dist/modules/headshotmarketing/index.d.ts +1922 -0
- package/dist/modules/headshotmarketing/index.js +1205 -0
- package/dist/modules/movethewheels/index.cjs +591 -0
- package/dist/modules/movethewheels/index.d.cts +1052 -0
- package/dist/modules/movethewheels/index.d.ts +1052 -0
- package/dist/modules/movethewheels/index.js +591 -0
- package/dist/modules/planmagnet/index.cjs +898 -0
- package/dist/modules/planmagnet/index.d.cts +1656 -0
- package/dist/modules/planmagnet/index.d.ts +1656 -0
- package/dist/modules/planmagnet/index.js +898 -0
- package/dist/modules/proserviceworld/index.cjs +233 -0
- package/dist/modules/proserviceworld/index.d.cts +400 -0
- package/dist/modules/proserviceworld/index.d.ts +400 -0
- package/dist/modules/proserviceworld/index.js +233 -0
- package/dist/modules/timecampus/index.cjs +519 -0
- package/dist/modules/timecampus/index.d.cts +992 -0
- package/dist/modules/timecampus/index.d.ts +992 -0
- package/dist/modules/timecampus/index.js +519 -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,286 @@
|
|
|
1
|
+
'use strict';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
|
+
`,i=`
|
|
8
|
+
fragment AiPredictionFields on AIPrediction {
|
|
9
|
+
id assetId predictionType recommendation confidence score status
|
|
10
|
+
modelVersion features generatedAt workspaceId createdAt
|
|
11
|
+
}
|
|
12
|
+
`,te=`
|
|
13
|
+
fragment BudgetFields on AssetBudget {
|
|
14
|
+
id name category department period allocated spent remaining status
|
|
15
|
+
workspaceId createdAt updatedAt
|
|
16
|
+
}
|
|
17
|
+
`,se=`
|
|
18
|
+
fragment SecurityPolicyFields on AssetSecurityPolicy {
|
|
19
|
+
id name description category version owner status applicableTo
|
|
20
|
+
effectiveDate reviewDate workspaceId createdAt updatedAt
|
|
21
|
+
}
|
|
22
|
+
`,ne=`
|
|
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
|
+
`,ae=`
|
|
29
|
+
fragment ComplianceFrameworkFields on ComplianceFramework {
|
|
30
|
+
id name version status score totalControls passedControls failedControls
|
|
31
|
+
lastAssessment nextAssessment workspaceId createdAt updatedAt
|
|
32
|
+
}
|
|
33
|
+
`,o=`
|
|
34
|
+
fragment ConfigurationItemFields on ConfigurationItem {
|
|
35
|
+
id ciNumber name ciType status environment owner attributes
|
|
36
|
+
workspaceId createdAt updatedAt
|
|
37
|
+
}
|
|
38
|
+
`,d=`
|
|
39
|
+
fragment DigitalTwinFields on DigitalTwin {
|
|
40
|
+
id assetId fidelityLevel modelRef geometryRef properties
|
|
41
|
+
workspaceId createdAt updatedAt
|
|
42
|
+
}
|
|
43
|
+
`,c=`
|
|
44
|
+
fragment DiscoveryJobFields on DiscoveryJob {
|
|
45
|
+
id name source status assetsDiscovered errorSummary createdBy
|
|
46
|
+
startedAt completedAt workspaceId createdAt updatedAt
|
|
47
|
+
}
|
|
48
|
+
`,A=`
|
|
49
|
+
fragment EsgMetricFields on EsgMetric {
|
|
50
|
+
id category metricKey metricName unit value target trend
|
|
51
|
+
periodStart periodEnd updatedBy workspaceId createdAt updatedAt
|
|
52
|
+
}
|
|
53
|
+
`,l=`
|
|
54
|
+
fragment IncidentFields on Incident {
|
|
55
|
+
id title description category priority status assignedTo
|
|
56
|
+
reportedBy reportedAt resolvedAt slaBreached workspaceId
|
|
57
|
+
}
|
|
58
|
+
`,re=`
|
|
59
|
+
fragment InvoiceFields on Invoice {
|
|
60
|
+
id number vendor amount currency status items relatedPO
|
|
61
|
+
issueDate dueDate workspaceId createdAt updatedAt
|
|
62
|
+
}
|
|
63
|
+
`,p=`
|
|
64
|
+
fragment IotDeviceFields on IoTDevice {
|
|
65
|
+
id deviceId name type protocol status assetId metadata
|
|
66
|
+
workspaceId createdAt updatedAt
|
|
67
|
+
}
|
|
68
|
+
`,u=`
|
|
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
|
+
`,ie=`
|
|
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
|
+
`,oe=`
|
|
80
|
+
fragment ProblemFields on Problem {
|
|
81
|
+
id title description category priority status assignedTo
|
|
82
|
+
rootCause workaround relatedIncidents workspaceId createdAt updatedAt
|
|
83
|
+
}
|
|
84
|
+
`,I=`
|
|
85
|
+
fragment ProvenanceRecordFields on ProvenanceRecord {
|
|
86
|
+
id assetId chainNetwork hash txHash blockNumber attestedBy attestedAt
|
|
87
|
+
metadata workspaceId createdAt
|
|
88
|
+
}
|
|
89
|
+
`,de=`
|
|
90
|
+
fragment SecurityEventFields on SecurityEvent {
|
|
91
|
+
id title description eventType severity source userId ipAddress
|
|
92
|
+
resolved occurredAt workspaceId createdAt
|
|
93
|
+
}
|
|
94
|
+
`,g=`
|
|
95
|
+
fragment SoftwareAssetFields on SoftwareAsset {
|
|
96
|
+
id name vendor version licenseType seatsPurchased seatsUsed
|
|
97
|
+
compliancePercent workspaceId createdAt updatedAt
|
|
98
|
+
}
|
|
99
|
+
`,H=`
|
|
100
|
+
fragment TransactionFields on Transaction {
|
|
101
|
+
id type status amount currency category description vendor department
|
|
102
|
+
occurredAt workspaceId
|
|
103
|
+
}
|
|
104
|
+
`,S=`
|
|
105
|
+
fragment WorkOrderFields on WorkOrder {
|
|
106
|
+
id title description type status priority assetId assignedTo
|
|
107
|
+
workspaceId createdAt updatedAt
|
|
108
|
+
}
|
|
109
|
+
`,T=`
|
|
110
|
+
${a}
|
|
111
|
+
query GetAsset($id: ID!) { asset(id: $id) { ...AssetFields } }
|
|
112
|
+
`,E=`
|
|
113
|
+
${a}
|
|
114
|
+
query ListAssets($pagination: AssetHandlerPaginationInput) {
|
|
115
|
+
assets(pagination: $pagination) { ...AssetFields }
|
|
116
|
+
}
|
|
117
|
+
`,m=`
|
|
118
|
+
${a}
|
|
119
|
+
mutation CreateAsset($input: CreateAssetInput!) {
|
|
120
|
+
createAsset(input: $input) { ...AssetFields }
|
|
121
|
+
}
|
|
122
|
+
`,y=`
|
|
123
|
+
${S}
|
|
124
|
+
query ListWorkOrders($pagination: AssetHandlerPaginationInput) {
|
|
125
|
+
workOrders(pagination: $pagination) { ...WorkOrderFields }
|
|
126
|
+
}
|
|
127
|
+
`,P=`
|
|
128
|
+
${S}
|
|
129
|
+
mutation CreateWorkOrder($input: CreateWorkOrderInput!) {
|
|
130
|
+
createWorkOrder(input: $input) { ...WorkOrderFields }
|
|
131
|
+
}
|
|
132
|
+
`,w=`
|
|
133
|
+
${ie}
|
|
134
|
+
query ListMaintenanceRecords($pagination: AssetHandlerPaginationInput) {
|
|
135
|
+
maintenanceRecords(pagination: $pagination) { ...MaintenanceRecordFields }
|
|
136
|
+
}
|
|
137
|
+
`,C=`
|
|
138
|
+
${l}
|
|
139
|
+
query ListIncidents($pagination: AssetHandlerPaginationInput) {
|
|
140
|
+
incidents(pagination: $pagination) { ...IncidentFields }
|
|
141
|
+
}
|
|
142
|
+
`,R=`
|
|
143
|
+
${l}
|
|
144
|
+
mutation CreateIncident($input: CreateIncidentInput!) {
|
|
145
|
+
createIncident(input: $input) { ...IncidentFields }
|
|
146
|
+
}
|
|
147
|
+
`,D=`
|
|
148
|
+
${oe}
|
|
149
|
+
query ListProblems($pagination: AssetHandlerPaginationInput) {
|
|
150
|
+
problems(pagination: $pagination) { ...ProblemFields }
|
|
151
|
+
}
|
|
152
|
+
`,_=`
|
|
153
|
+
${ne}
|
|
154
|
+
query ListChangeRequests($pagination: AssetHandlerPaginationInput) {
|
|
155
|
+
changeRequests(pagination: $pagination) { ...ChangeRequestFields }
|
|
156
|
+
}
|
|
157
|
+
`,v=`
|
|
158
|
+
${o}
|
|
159
|
+
query ListConfigurationItems($pagination: AssetHandlerPaginationInput) {
|
|
160
|
+
configurationItems(pagination: $pagination) { ...ConfigurationItemFields }
|
|
161
|
+
}
|
|
162
|
+
`,O=`
|
|
163
|
+
${o}
|
|
164
|
+
mutation UpsertConfigurationItem($input: UpsertConfigurationItemInput!) {
|
|
165
|
+
upsertConfigurationItem(input: $input) { ...ConfigurationItemFields }
|
|
166
|
+
}
|
|
167
|
+
`,f=`
|
|
168
|
+
${c}
|
|
169
|
+
query ListDiscoveryJobs($pagination: AssetHandlerPaginationInput) {
|
|
170
|
+
discoveryJobs(pagination: $pagination) { ...DiscoveryJobFields }
|
|
171
|
+
}
|
|
172
|
+
`,L=`
|
|
173
|
+
${c}
|
|
174
|
+
mutation StartDiscoveryJob($input: StartDiscoveryJobInput!) {
|
|
175
|
+
startDiscoveryJob(input: $input) { ...DiscoveryJobFields }
|
|
176
|
+
}
|
|
177
|
+
`,F=`
|
|
178
|
+
${g}
|
|
179
|
+
query ListSoftwareAssets($pagination: AssetHandlerPaginationInput) {
|
|
180
|
+
softwareAssets(pagination: $pagination) { ...SoftwareAssetFields }
|
|
181
|
+
}
|
|
182
|
+
`,$=`
|
|
183
|
+
${g}
|
|
184
|
+
mutation UpsertSoftwareAsset($input: UpsertSoftwareAssetInput!) {
|
|
185
|
+
upsertSoftwareAsset(input: $input) { ...SoftwareAssetFields }
|
|
186
|
+
}
|
|
187
|
+
`,k=`
|
|
188
|
+
${p}
|
|
189
|
+
query ListIoTDevices($pagination: AssetHandlerPaginationInput) {
|
|
190
|
+
iotDevices(pagination: $pagination) { ...IotDeviceFields }
|
|
191
|
+
}
|
|
192
|
+
`,N=`
|
|
193
|
+
${p}
|
|
194
|
+
mutation RegisterIoTDevice($input: RegisterIoTDeviceInput!) {
|
|
195
|
+
registerIoTDevice(input: $input) { ...IotDeviceFields }
|
|
196
|
+
}
|
|
197
|
+
`,q=`
|
|
198
|
+
${d}
|
|
199
|
+
query ListDigitalTwins($pagination: AssetHandlerPaginationInput) {
|
|
200
|
+
digitalTwins(pagination: $pagination) { ...DigitalTwinFields }
|
|
201
|
+
}
|
|
202
|
+
`,b=`
|
|
203
|
+
${d}
|
|
204
|
+
mutation CreateDigitalTwin($input: CreateDigitalTwinInput!) {
|
|
205
|
+
createDigitalTwin(input: $input) { ...DigitalTwinFields }
|
|
206
|
+
}
|
|
207
|
+
`,x=`
|
|
208
|
+
${I}
|
|
209
|
+
query ListProvenanceRecords($pagination: AssetHandlerPaginationInput) {
|
|
210
|
+
provenanceRecords(pagination: $pagination) { ...ProvenanceRecordFields }
|
|
211
|
+
}
|
|
212
|
+
`,M=`
|
|
213
|
+
${I}
|
|
214
|
+
mutation RecordProvenance($input: RecordProvenanceInput!) {
|
|
215
|
+
recordProvenance(input: $input) { ...ProvenanceRecordFields }
|
|
216
|
+
}
|
|
217
|
+
`,h=`
|
|
218
|
+
${i}
|
|
219
|
+
query ListAIPredictions($pagination: AssetHandlerPaginationInput) {
|
|
220
|
+
aiPredictions(pagination: $pagination) { ...AiPredictionFields }
|
|
221
|
+
}
|
|
222
|
+
`,W=`
|
|
223
|
+
${i}
|
|
224
|
+
mutation RequestAIPrediction($input: RequestAIPredictionInput!) {
|
|
225
|
+
requestAIPrediction(input: $input) { ...AiPredictionFields }
|
|
226
|
+
}
|
|
227
|
+
`,U=`
|
|
228
|
+
${A}
|
|
229
|
+
query ListEsgMetrics($pagination: AssetHandlerPaginationInput) {
|
|
230
|
+
esgMetrics(pagination: $pagination) { ...EsgMetricFields }
|
|
231
|
+
}
|
|
232
|
+
`,K=`
|
|
233
|
+
${A}
|
|
234
|
+
mutation UpsertEsgMetric($input: UpsertEsgMetricInput!) {
|
|
235
|
+
upsertEsgMetric(input: $input) { ...EsgMetricFields }
|
|
236
|
+
}
|
|
237
|
+
`,G=`
|
|
238
|
+
${u}
|
|
239
|
+
query ListKnowledgeArticles($pagination: AssetHandlerPaginationInput) {
|
|
240
|
+
knowledgeArticles(pagination: $pagination) { ...KnowledgeArticleFields }
|
|
241
|
+
}
|
|
242
|
+
`,B=`
|
|
243
|
+
${u}
|
|
244
|
+
mutation CreateKnowledgeArticle($input: CreateKnowledgeArticleInput!) {
|
|
245
|
+
createKnowledgeArticle(input: $input) { ...KnowledgeArticleFields }
|
|
246
|
+
}
|
|
247
|
+
`,J=`
|
|
248
|
+
${H}
|
|
249
|
+
query ListTransactions($pagination: AssetHandlerPaginationInput) {
|
|
250
|
+
transactions(pagination: $pagination) { ...TransactionFields }
|
|
251
|
+
}
|
|
252
|
+
`,V=`
|
|
253
|
+
${H}
|
|
254
|
+
mutation CreateTransaction($input: CreateTransactionInput!) {
|
|
255
|
+
createTransaction(input: $input) { ...TransactionFields }
|
|
256
|
+
}
|
|
257
|
+
`,Y=`
|
|
258
|
+
${re}
|
|
259
|
+
query ListInvoices($pagination: AssetHandlerPaginationInput) {
|
|
260
|
+
invoices(pagination: $pagination) { ...InvoiceFields }
|
|
261
|
+
}
|
|
262
|
+
`,Q=`
|
|
263
|
+
${te}
|
|
264
|
+
query ListBudgets($pagination: AssetHandlerPaginationInput) {
|
|
265
|
+
budgets(pagination: $pagination) { ...BudgetFields }
|
|
266
|
+
}
|
|
267
|
+
`,j=`
|
|
268
|
+
${ae}
|
|
269
|
+
query ListComplianceFrameworks($pagination: AssetHandlerPaginationInput) {
|
|
270
|
+
complianceFrameworks(pagination: $pagination) { ...ComplianceFrameworkFields }
|
|
271
|
+
}
|
|
272
|
+
`,z=`
|
|
273
|
+
${de}
|
|
274
|
+
query ListSecurityEvents($pagination: AssetHandlerPaginationInput) {
|
|
275
|
+
securityEvents(pagination: $pagination) { ...SecurityEventFields }
|
|
276
|
+
}
|
|
277
|
+
`,X=`
|
|
278
|
+
${se}
|
|
279
|
+
query ListAssetSecurityPolicies($pagination: AssetHandlerPaginationInput) {
|
|
280
|
+
assetSecurityPolicies(pagination: $pagination) { ...SecurityPolicyFields }
|
|
281
|
+
}
|
|
282
|
+
`,Z=`
|
|
283
|
+
query DashboardOverview {
|
|
284
|
+
dashboardOverview { openIncidents openWorkOrders totalAssets totalTransactions }
|
|
285
|
+
}
|
|
286
|
+
`;function ee(n){let{workspace:t}=n.gql;return {assets:{async get(e){return (await t.request(T,{id:e})).asset},async list(e){return (await t.request(E,{pagination:e})).assets},async create(e){return (await t.request(m,{input:e})).createAsset}},workOrders:{async list(e){return (await t.request(y,{pagination:e})).workOrders},async create(e){return (await t.request(P,{input:e})).createWorkOrder}},maintenance:{async list(e){return (await t.request(w,{pagination:e})).maintenanceRecords}},incidents:{async list(e){return (await t.request(C,{pagination:e})).incidents},async create(e){return (await t.request(R,{input:e})).createIncident}},problems:{async list(e){return (await t.request(D,{pagination:e})).problems}},changes:{async list(e){return (await t.request(_,{pagination:e})).changeRequests}},configuration:{async list(e){return (await t.request(v,{pagination:e})).configurationItems},async upsert(e){return (await t.request(O,{input:e})).upsertConfigurationItem}},discovery:{async list(e){return (await t.request(f,{pagination:e})).discoveryJobs},async start(e){return (await t.request(L,{input:e})).startDiscoveryJob}},software:{async list(e){return (await t.request(F,{pagination:e})).softwareAssets},async upsert(e){return (await t.request($,{input:e})).upsertSoftwareAsset}},iot:{async list(e){return (await t.request(k,{pagination:e})).iotDevices},async register(e){return (await t.request(N,{input:e})).registerIoTDevice}},digitalTwins:{async list(e){return (await t.request(q,{pagination:e})).digitalTwins},async create(e){return (await t.request(b,{input:e})).createDigitalTwin}},provenance:{async list(e){return (await t.request(x,{pagination:e})).provenanceRecords},async record(e){return (await t.request(M,{input:e})).recordProvenance}},predictions:{async list(e){return (await t.request(h,{pagination:e})).aiPredictions},async request(e){return (await t.request(W,{input:e})).requestAIPrediction}},esg:{async list(e){return (await t.request(U,{pagination:e})).esgMetrics},async upsert(e){return (await t.request(K,{input:e})).upsertEsgMetric}},knowledge:{async list(e){return (await t.request(G,{pagination:e})).knowledgeArticles},async create(e){return (await t.request(B,{input:e})).createKnowledgeArticle}},finance:{async transactions(e){return (await t.request(J,{pagination:e})).transactions},async createTransaction(e){return (await t.request(V,{input:e})).createTransaction},async invoices(e){return (await t.request(Y,{pagination:e})).invoices},async budgets(e){return (await t.request(Q,{pagination:e})).budgets}},compliance:{async frameworks(e){return (await t.request(j,{pagination:e})).complianceFrameworks}},security:{async events(e){return (await t.request(z,{pagination:e})).securityEvents},async policies(e){return (await t.request(X,{pagination:e})).assetSecurityPolicies}},dashboard:{async overview(){return (await t.request(Z)).dashboardOverview}}}}var ce={id:"assethandler",version:"1.0.0",displayName:"AssetHandler",dependsOn:["auth"],attach(n){return ee(n)}},Ne=ce;module.exports=Ne;
|