@burdenoff/sdk-libs 2026.627.5 → 2026.629.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modules/adaptercloud/index.cjs +316 -0
- package/dist/modules/adaptercloud/index.d.cts +399 -0
- package/dist/modules/adaptercloud/index.d.ts +399 -0
- package/dist/modules/adaptercloud/index.js +316 -0
- package/dist/modules/atheletebridge/index.cjs +261 -0
- package/dist/modules/atheletebridge/index.d.cts +392 -0
- package/dist/modules/atheletebridge/index.d.ts +392 -0
- package/dist/modules/atheletebridge/index.js +261 -0
- package/dist/modules/coolandlovely/index.cjs +321 -0
- package/dist/modules/coolandlovely/index.d.cts +433 -0
- package/dist/modules/coolandlovely/index.d.ts +433 -0
- package/dist/modules/coolandlovely/index.js +321 -0
- package/dist/modules/hookmovies/index.cjs +359 -0
- package/dist/modules/hookmovies/index.d.cts +512 -0
- package/dist/modules/hookmovies/index.d.ts +512 -0
- package/dist/modules/hookmovies/index.js +359 -0
- package/dist/modules/labsofscience/index.cjs +373 -0
- package/dist/modules/labsofscience/index.d.cts +495 -0
- package/dist/modules/labsofscience/index.d.ts +495 -0
- package/dist/modules/labsofscience/index.js +373 -0
- package/dist/modules/subscriberbot/index.cjs +334 -0
- package/dist/modules/subscriberbot/index.d.cts +497 -0
- package/dist/modules/subscriberbot/index.d.ts +497 -0
- package/dist/modules/subscriberbot/index.js +334 -0
- package/package.json +1 -1
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
var A=`
|
|
2
|
+
fragment ProjectScalars on LabProject {
|
|
3
|
+
id name code description field status visibility
|
|
4
|
+
principalInvestigatorId startDate endDate tags
|
|
5
|
+
workspaceId createdAt updatedAt
|
|
6
|
+
}
|
|
7
|
+
`,c=`
|
|
8
|
+
fragment ExperimentScalars on LabExperiment {
|
|
9
|
+
id title description hypothesis status projectId protocolId
|
|
10
|
+
leadResearcherId variables tags workspaceId createdAt updatedAt
|
|
11
|
+
}
|
|
12
|
+
`,E=`
|
|
13
|
+
fragment RunScalars on LabExperimentRun {
|
|
14
|
+
id experimentId runNumber status performedById
|
|
15
|
+
parameters observations notes startedAt completedAt
|
|
16
|
+
workspaceId createdAt updatedAt
|
|
17
|
+
}
|
|
18
|
+
`,R=`
|
|
19
|
+
fragment ProtocolStepFields on LabProtocolStep {
|
|
20
|
+
id protocolId ordinal kind instruction durationMinutes isCritical
|
|
21
|
+
workspaceId createdAt updatedAt
|
|
22
|
+
}
|
|
23
|
+
`,At=`
|
|
24
|
+
fragment ProtocolScalars on LabProtocol {
|
|
25
|
+
id name summary status version authorId estimatedMinutes
|
|
26
|
+
materials safetyNotes tags publishedAt workspaceId createdAt updatedAt
|
|
27
|
+
}
|
|
28
|
+
`,y=`
|
|
29
|
+
fragment DatasetVersionFields on LabDatasetVersion {
|
|
30
|
+
id datasetId version sizeBytes rowCount checksum changeNote
|
|
31
|
+
file { id } workspaceId createdAt updatedAt
|
|
32
|
+
}
|
|
33
|
+
`,Et=`
|
|
34
|
+
fragment DatasetScalars on LabDataset {
|
|
35
|
+
id name description kind status latestVersion
|
|
36
|
+
projectId experimentId tags workspaceId createdAt updatedAt
|
|
37
|
+
}
|
|
38
|
+
`,L=`
|
|
39
|
+
fragment NotebookEntryFields on LabNotebookEntry {
|
|
40
|
+
id title body status authorId projectId experimentId runId
|
|
41
|
+
signedById signedAt witnessedById witnessedAt tags
|
|
42
|
+
files { id } workspaceId createdAt updatedAt
|
|
43
|
+
}
|
|
44
|
+
`,S=`
|
|
45
|
+
fragment InstrumentScalars on LabInstrument {
|
|
46
|
+
id name model location status custodianId requiresApproval tags
|
|
47
|
+
workspaceId createdAt updatedAt
|
|
48
|
+
}
|
|
49
|
+
`,_=`
|
|
50
|
+
fragment BookingScalars on LabInstrumentBooking {
|
|
51
|
+
id instrumentId bookedById experimentId purpose status
|
|
52
|
+
startTime endTime workspaceId createdAt updatedAt
|
|
53
|
+
}
|
|
54
|
+
`,r=`
|
|
55
|
+
fragment InventoryItemFields on LabInventoryItem {
|
|
56
|
+
id name category status quantity reorderLevel unit
|
|
57
|
+
catalogNumber lotNumber vendor location expiresAt
|
|
58
|
+
sds { id } tags workspaceId createdAt updatedAt
|
|
59
|
+
}
|
|
60
|
+
`,T=`
|
|
61
|
+
fragment PipelineScalars on LabAnalysisPipeline {
|
|
62
|
+
id name description engine version isActive definition
|
|
63
|
+
projectId tags workspaceId createdAt updatedAt
|
|
64
|
+
}
|
|
65
|
+
`,$=`
|
|
66
|
+
fragment PipelineRunScalars on LabPipelineRun {
|
|
67
|
+
id pipelineId status datasetId datasetVersionId outputDatasetId
|
|
68
|
+
parameters log triggeredById startedAt finishedAt
|
|
69
|
+
workspaceId createdAt updatedAt
|
|
70
|
+
}
|
|
71
|
+
`,u=`
|
|
72
|
+
${A}
|
|
73
|
+
${c}
|
|
74
|
+
fragment ProjectFull on LabProject {
|
|
75
|
+
...ProjectScalars
|
|
76
|
+
experiments { ...ExperimentScalars }
|
|
77
|
+
}
|
|
78
|
+
`,i=`
|
|
79
|
+
${c}
|
|
80
|
+
${A}
|
|
81
|
+
${E}
|
|
82
|
+
fragment ExperimentFull on LabExperiment {
|
|
83
|
+
...ExperimentScalars
|
|
84
|
+
project { ...ProjectScalars }
|
|
85
|
+
runs { ...RunScalars }
|
|
86
|
+
}
|
|
87
|
+
`,b=`
|
|
88
|
+
${E}
|
|
89
|
+
${c}
|
|
90
|
+
fragment RunFull on LabExperimentRun {
|
|
91
|
+
...RunScalars
|
|
92
|
+
experiment { ...ExperimentScalars }
|
|
93
|
+
}
|
|
94
|
+
`,s=`
|
|
95
|
+
${At}
|
|
96
|
+
${R}
|
|
97
|
+
fragment ProtocolFull on LabProtocol {
|
|
98
|
+
...ProtocolScalars
|
|
99
|
+
steps { ...ProtocolStepFields }
|
|
100
|
+
}
|
|
101
|
+
`,l=`
|
|
102
|
+
${Et}
|
|
103
|
+
${y}
|
|
104
|
+
fragment DatasetFull on LabDataset {
|
|
105
|
+
...DatasetScalars
|
|
106
|
+
versions { ...DatasetVersionFields }
|
|
107
|
+
}
|
|
108
|
+
`,I=`
|
|
109
|
+
${S}
|
|
110
|
+
${_}
|
|
111
|
+
fragment InstrumentFull on LabInstrument {
|
|
112
|
+
...InstrumentScalars
|
|
113
|
+
bookings { ...BookingScalars }
|
|
114
|
+
}
|
|
115
|
+
`,g=`
|
|
116
|
+
${_}
|
|
117
|
+
${S}
|
|
118
|
+
fragment BookingFull on LabInstrumentBooking {
|
|
119
|
+
...BookingScalars
|
|
120
|
+
instrument { ...InstrumentScalars }
|
|
121
|
+
}
|
|
122
|
+
`,C=`
|
|
123
|
+
${T}
|
|
124
|
+
${$}
|
|
125
|
+
fragment PipelineFull on LabAnalysisPipeline {
|
|
126
|
+
...PipelineScalars
|
|
127
|
+
runs { ...PipelineRunScalars }
|
|
128
|
+
}
|
|
129
|
+
`,d=`
|
|
130
|
+
${$}
|
|
131
|
+
${T}
|
|
132
|
+
fragment PipelineRunFull on LabPipelineRun {
|
|
133
|
+
...PipelineRunScalars
|
|
134
|
+
pipeline { ...PipelineScalars }
|
|
135
|
+
}
|
|
136
|
+
`,N=`
|
|
137
|
+
${u}
|
|
138
|
+
query LabProject($id: ID!) { labProject(id: $id) { ...ProjectFull } }
|
|
139
|
+
`,x=`
|
|
140
|
+
${u}
|
|
141
|
+
query LabListProjects($pagination: PaginationInput, $status: LabProjectStatus) {
|
|
142
|
+
labListProjects(pagination: $pagination, status: $status) {
|
|
143
|
+
items { ...ProjectFull }
|
|
144
|
+
pageInfo { cursor hasMore }
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
`,B=`
|
|
148
|
+
${u}
|
|
149
|
+
mutation LabCreateProject($input: LabCreateProjectInput!) {
|
|
150
|
+
labCreateProject(input: $input) { ...ProjectFull }
|
|
151
|
+
}
|
|
152
|
+
`,D=`
|
|
153
|
+
${u}
|
|
154
|
+
mutation LabUpdateProject($id: ID!, $input: LabUpdateProjectInput!) {
|
|
155
|
+
labUpdateProject(id: $id, input: $input) { ...ProjectFull }
|
|
156
|
+
}
|
|
157
|
+
`,f=`
|
|
158
|
+
mutation LabArchiveProject($id: ID!) { labArchiveProject(id: $id) }
|
|
159
|
+
`,O=`
|
|
160
|
+
${i}
|
|
161
|
+
query LabExperiment($id: ID!) { labExperiment(id: $id) { ...ExperimentFull } }
|
|
162
|
+
`,k=`
|
|
163
|
+
${i}
|
|
164
|
+
query LabListExperiments(
|
|
165
|
+
$pagination: PaginationInput
|
|
166
|
+
$projectId: ID
|
|
167
|
+
$status: LabExperimentStatus
|
|
168
|
+
) {
|
|
169
|
+
labListExperiments(pagination: $pagination, projectId: $projectId, status: $status) {
|
|
170
|
+
items { ...ExperimentFull }
|
|
171
|
+
pageInfo { cursor hasMore }
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
`,v=`
|
|
175
|
+
${i}
|
|
176
|
+
mutation LabCreateExperiment($input: LabCreateExperimentInput!) {
|
|
177
|
+
labCreateExperiment(input: $input) { ...ExperimentFull }
|
|
178
|
+
}
|
|
179
|
+
`,j=`
|
|
180
|
+
${i}
|
|
181
|
+
mutation LabUpdateExperiment($id: ID!, $input: LabUpdateExperimentInput!) {
|
|
182
|
+
labUpdateExperiment(id: $id, input: $input) { ...ExperimentFull }
|
|
183
|
+
}
|
|
184
|
+
`,U=`
|
|
185
|
+
${i}
|
|
186
|
+
mutation LabTransitionExperiment($id: ID!, $status: LabExperimentStatus!) {
|
|
187
|
+
labTransitionExperiment(id: $id, status: $status) { ...ExperimentFull }
|
|
188
|
+
}
|
|
189
|
+
`,F=`
|
|
190
|
+
${b}
|
|
191
|
+
query LabListRuns($experimentId: ID, $pagination: PaginationInput, $status: LabRunStatus) {
|
|
192
|
+
labListRuns(experimentId: $experimentId, pagination: $pagination, status: $status) {
|
|
193
|
+
items { ...RunFull }
|
|
194
|
+
pageInfo { cursor hasMore }
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
`,q=`
|
|
198
|
+
${b}
|
|
199
|
+
mutation LabStartRun($input: LabCreateRunInput!) {
|
|
200
|
+
labStartRun(input: $input) { ...RunFull }
|
|
201
|
+
}
|
|
202
|
+
`,w=`
|
|
203
|
+
${b}
|
|
204
|
+
mutation LabCompleteRun($id: ID!, $status: LabRunStatus!, $input: LabRecordRunResultsInput) {
|
|
205
|
+
labCompleteRun(id: $id, status: $status, input: $input) { ...RunFull }
|
|
206
|
+
}
|
|
207
|
+
`,h=`
|
|
208
|
+
${s}
|
|
209
|
+
query LabProtocol($id: ID!) { labProtocol(id: $id) { ...ProtocolFull } }
|
|
210
|
+
`,M=`
|
|
211
|
+
${s}
|
|
212
|
+
query LabListProtocols($pagination: PaginationInput, $status: LabProtocolStatus) {
|
|
213
|
+
labListProtocols(pagination: $pagination, status: $status) {
|
|
214
|
+
items { ...ProtocolFull }
|
|
215
|
+
pageInfo { cursor hasMore }
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
`,V=`
|
|
219
|
+
${s}
|
|
220
|
+
mutation LabCreateProtocol($input: LabCreateProtocolInput!) {
|
|
221
|
+
labCreateProtocol(input: $input) { ...ProtocolFull }
|
|
222
|
+
}
|
|
223
|
+
`,K=`
|
|
224
|
+
${s}
|
|
225
|
+
mutation LabUpdateProtocol($id: ID!, $input: LabUpdateProtocolInput!) {
|
|
226
|
+
labUpdateProtocol(id: $id, input: $input) { ...ProtocolFull }
|
|
227
|
+
}
|
|
228
|
+
`,H=`
|
|
229
|
+
${R}
|
|
230
|
+
mutation LabAddProtocolStep($input: LabAddProtocolStepInput!) {
|
|
231
|
+
labAddProtocolStep(input: $input) { ...ProtocolStepFields }
|
|
232
|
+
}
|
|
233
|
+
`,Y=`
|
|
234
|
+
${s}
|
|
235
|
+
mutation LabPublishProtocol($id: ID!) {
|
|
236
|
+
labPublishProtocol(id: $id) { ...ProtocolFull }
|
|
237
|
+
}
|
|
238
|
+
`,J=`
|
|
239
|
+
${l}
|
|
240
|
+
query LabDataset($id: ID!) { labDataset(id: $id) { ...DatasetFull } }
|
|
241
|
+
`,X=`
|
|
242
|
+
${l}
|
|
243
|
+
query LabListDatasets(
|
|
244
|
+
$kind: LabDatasetKind
|
|
245
|
+
$pagination: PaginationInput
|
|
246
|
+
$status: LabDatasetStatus
|
|
247
|
+
) {
|
|
248
|
+
labListDatasets(kind: $kind, pagination: $pagination, status: $status) {
|
|
249
|
+
items { ...DatasetFull }
|
|
250
|
+
pageInfo { cursor hasMore }
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
`,G=`
|
|
254
|
+
${l}
|
|
255
|
+
mutation LabCreateDataset($input: LabCreateDatasetInput!) {
|
|
256
|
+
labCreateDataset(input: $input) { ...DatasetFull }
|
|
257
|
+
}
|
|
258
|
+
`,z=`
|
|
259
|
+
${y}
|
|
260
|
+
mutation LabAddDatasetVersion($input: LabAddDatasetVersionInput!) {
|
|
261
|
+
labAddDatasetVersion(input: $input) { ...DatasetVersionFields }
|
|
262
|
+
}
|
|
263
|
+
`,Q=`
|
|
264
|
+
mutation LabArchiveDataset($id: ID!) { labArchiveDataset(id: $id) }
|
|
265
|
+
`,W=`
|
|
266
|
+
${L}
|
|
267
|
+
query LabListNotebookEntries(
|
|
268
|
+
$experimentId: ID
|
|
269
|
+
$pagination: PaginationInput
|
|
270
|
+
$projectId: ID
|
|
271
|
+
$status: LabNotebookEntryStatus
|
|
272
|
+
) {
|
|
273
|
+
labListNotebookEntries(
|
|
274
|
+
experimentId: $experimentId
|
|
275
|
+
pagination: $pagination
|
|
276
|
+
projectId: $projectId
|
|
277
|
+
status: $status
|
|
278
|
+
) {
|
|
279
|
+
items { ...NotebookEntryFields }
|
|
280
|
+
pageInfo { cursor hasMore }
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
`,Z=`
|
|
284
|
+
${L}
|
|
285
|
+
mutation LabCreateNotebookEntry($input: LabCreateNotebookEntryInput!) {
|
|
286
|
+
labCreateNotebookEntry(input: $input) { ...NotebookEntryFields }
|
|
287
|
+
}
|
|
288
|
+
`,tt=`
|
|
289
|
+
${L}
|
|
290
|
+
mutation LabSignNotebookEntry($id: ID!) {
|
|
291
|
+
labSignNotebookEntry(id: $id) { ...NotebookEntryFields }
|
|
292
|
+
}
|
|
293
|
+
`,et=`
|
|
294
|
+
${I}
|
|
295
|
+
query LabInstrument($id: ID!) { labInstrument(id: $id) { ...InstrumentFull } }
|
|
296
|
+
`,at=`
|
|
297
|
+
${I}
|
|
298
|
+
query LabListInstruments($status: LabInstrumentStatus) {
|
|
299
|
+
labListInstruments(status: $status) { ...InstrumentFull }
|
|
300
|
+
}
|
|
301
|
+
`,nt=`
|
|
302
|
+
${I}
|
|
303
|
+
mutation LabCreateInstrument($input: LabCreateInstrumentInput!) {
|
|
304
|
+
labCreateInstrument(input: $input) { ...InstrumentFull }
|
|
305
|
+
}
|
|
306
|
+
`,ot=`
|
|
307
|
+
${g}
|
|
308
|
+
mutation LabBookInstrument($input: LabBookInstrumentInput!) {
|
|
309
|
+
labBookInstrument(input: $input) { ...BookingFull }
|
|
310
|
+
}
|
|
311
|
+
`,it=`
|
|
312
|
+
${g}
|
|
313
|
+
mutation LabCancelBooking($id: ID!) {
|
|
314
|
+
labCancelBooking(id: $id) { ...BookingFull }
|
|
315
|
+
}
|
|
316
|
+
`,st=`
|
|
317
|
+
${r}
|
|
318
|
+
query LabInventoryItem($id: ID!) { labInventoryItem(id: $id) { ...InventoryItemFields } }
|
|
319
|
+
`,rt=`
|
|
320
|
+
${r}
|
|
321
|
+
query LabListInventoryItems(
|
|
322
|
+
$category: LabInventoryCategory
|
|
323
|
+
$pagination: PaginationInput
|
|
324
|
+
$status: LabInventoryStatus
|
|
325
|
+
) {
|
|
326
|
+
labListInventoryItems(category: $category, pagination: $pagination, status: $status) {
|
|
327
|
+
items { ...InventoryItemFields }
|
|
328
|
+
pageInfo { cursor hasMore }
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
`,ut=`
|
|
332
|
+
${r}
|
|
333
|
+
mutation LabCreateInventoryItem($input: LabCreateInventoryItemInput!) {
|
|
334
|
+
labCreateInventoryItem(input: $input) { ...InventoryItemFields }
|
|
335
|
+
}
|
|
336
|
+
`,pt=`
|
|
337
|
+
${r}
|
|
338
|
+
mutation LabAdjustInventory($id: ID!, $input: LabAdjustInventoryInput!) {
|
|
339
|
+
labAdjustInventory(id: $id, input: $input) { ...InventoryItemFields }
|
|
340
|
+
}
|
|
341
|
+
`,ct=`
|
|
342
|
+
mutation LabArchiveInventoryItem($id: ID!) { labArchiveInventoryItem(id: $id) }
|
|
343
|
+
`,Lt=`
|
|
344
|
+
${C}
|
|
345
|
+
query LabListPipelines { labListPipelines { ...PipelineFull } }
|
|
346
|
+
`,bt=`
|
|
347
|
+
${C}
|
|
348
|
+
mutation LabCreatePipeline($input: LabCreatePipelineInput!) {
|
|
349
|
+
labCreatePipeline(input: $input) { ...PipelineFull }
|
|
350
|
+
}
|
|
351
|
+
`,lt=`
|
|
352
|
+
${d}
|
|
353
|
+
query LabListPipelineRuns(
|
|
354
|
+
$pagination: PaginationInput
|
|
355
|
+
$pipelineId: ID
|
|
356
|
+
$status: LabPipelineRunStatus
|
|
357
|
+
) {
|
|
358
|
+
labListPipelineRuns(pagination: $pagination, pipelineId: $pipelineId, status: $status) {
|
|
359
|
+
items { ...PipelineRunFull }
|
|
360
|
+
pageInfo { cursor hasMore }
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
`,It=`
|
|
364
|
+
${d}
|
|
365
|
+
mutation LabRunPipeline($input: LabRunPipelineInput!) {
|
|
366
|
+
labRunPipeline(input: $input) { ...PipelineRunFull }
|
|
367
|
+
}
|
|
368
|
+
`,dt=`
|
|
369
|
+
${d}
|
|
370
|
+
mutation LabTransitionPipelineRun($id: ID!, $status: LabPipelineRunStatus!, $log: String) {
|
|
371
|
+
labTransitionPipelineRun(id: $id, status: $status, log: $log) { ...PipelineRunFull }
|
|
372
|
+
}
|
|
373
|
+
`,Pt="query LabHealth { labHealth }";function mt(p){let{workspace:a}=p.gql;return {projects:{async get(t){return (await a.request(N,{id:t})).labProject},async list(t,e){return (await a.request(x,{pagination:t,status:e})).labListProjects},async create(t){return (await a.request(B,{input:t})).labCreateProject},async update(t,e){return (await a.request(D,{id:t,input:e})).labUpdateProject},async archive(t){return (await a.request(f,{id:t})).labArchiveProject}},experiments:{async get(t){return (await a.request(O,{id:t})).labExperiment},async list(t,e,n){return (await a.request(k,{pagination:t,projectId:e,status:n})).labListExperiments},async create(t){return (await a.request(v,{input:t})).labCreateExperiment},async update(t,e){return (await a.request(j,{id:t,input:e})).labUpdateExperiment},async transition(t,e){return (await a.request(U,{id:t,status:e})).labTransitionExperiment}},runs:{async list(t,e,n){return (await a.request(F,{experimentId:t,pagination:e,status:n})).labListRuns},async start(t){return (await a.request(q,{input:t})).labStartRun},async complete(t,e,n){return (await a.request(w,{id:t,status:e,input:n})).labCompleteRun}},protocols:{async get(t){return (await a.request(h,{id:t})).labProtocol},async list(t,e){return (await a.request(M,{pagination:t,status:e})).labListProtocols},async create(t){return (await a.request(V,{input:t})).labCreateProtocol},async update(t,e){return (await a.request(K,{id:t,input:e})).labUpdateProtocol},async addStep(t){return (await a.request(H,{input:t})).labAddProtocolStep},async publish(t){return (await a.request(Y,{id:t})).labPublishProtocol}},datasets:{async get(t){return (await a.request(J,{id:t})).labDataset},async list(t,e,n){return (await a.request(X,{kind:t,pagination:e,status:n})).labListDatasets},async create(t){return (await a.request(G,{input:t})).labCreateDataset},async addVersion(t){return (await a.request(z,{input:t})).labAddDatasetVersion},async archive(t){return (await a.request(Q,{id:t})).labArchiveDataset}},notebook:{async list(t,e,n,o){return (await a.request(W,{experimentId:t,pagination:e,projectId:n,status:o})).labListNotebookEntries},async create(t){return (await a.request(Z,{input:t})).labCreateNotebookEntry},async sign(t){return (await a.request(tt,{id:t})).labSignNotebookEntry}},instruments:{async get(t){return (await a.request(et,{id:t})).labInstrument},async list(t){return (await a.request(at,{status:t})).labListInstruments},async create(t){return (await a.request(nt,{input:t})).labCreateInstrument},async book(t){return (await a.request(ot,{input:t})).labBookInstrument},async cancelBooking(t){return (await a.request(it,{id:t})).labCancelBooking}},inventory:{async get(t){return (await a.request(st,{id:t})).labInventoryItem},async list(t,e,n){return (await a.request(rt,{category:t,pagination:e,status:n})).labListInventoryItems},async create(t){return (await a.request(ut,{input:t})).labCreateInventoryItem},async adjust(t,e){return (await a.request(pt,{id:t,input:e})).labAdjustInventory},async archive(t){return (await a.request(ct,{id:t})).labArchiveInventoryItem}},pipelines:{async list(){return (await a.request(Lt)).labListPipelines},async create(t){return (await a.request(bt,{input:t})).labCreatePipeline},async listRuns(t,e,n){return (await a.request(lt,{pagination:t,pipelineId:e,status:n})).labListPipelineRuns},async run(t){return (await a.request(It,{input:t})).labRunPipeline},async transitionRun(t,e,n){return (await a.request(dt,{id:t,status:e,log:n})).labTransitionPipelineRun}},system:{async health(){return (await a.request(Pt)).labHealth}}}}var Rt={id:"labsofscience",version:"1.0.0",displayName:"Labsofscience",dependsOn:["auth"],attach(p){return mt(p)}},Ft=Rt;export{Ft as default};
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
'use strict';var o=`
|
|
2
|
+
fragment ProviderScalars on SubProvider {
|
|
3
|
+
id name slug description category status
|
|
4
|
+
industry language region logoFileId websiteUrl tags
|
|
5
|
+
churnRiskScore vendorHealthScore workspaceId createdAt updatedAt
|
|
6
|
+
}
|
|
7
|
+
`,b=`
|
|
8
|
+
fragment PlanScalars on SubPlan {
|
|
9
|
+
id name description amount currency interval features isActive
|
|
10
|
+
providerId workspaceId createdAt updatedAt
|
|
11
|
+
}
|
|
12
|
+
`,S=`
|
|
13
|
+
fragment AssetFields on SubAsset {
|
|
14
|
+
id name type relationshipId secretRef expiresAt
|
|
15
|
+
file { id } workspaceId createdAt updatedAt
|
|
16
|
+
}
|
|
17
|
+
`,p=`
|
|
18
|
+
fragment EntitlementFields on SubEntitlement {
|
|
19
|
+
id name description type relationshipId quota used unit isActive
|
|
20
|
+
workspaceId createdAt updatedAt
|
|
21
|
+
}
|
|
22
|
+
`,g=`
|
|
23
|
+
fragment RenewalEventFields on SubRenewalEvent {
|
|
24
|
+
id relationshipId eventType detail amount currency occursAt notified
|
|
25
|
+
workspaceId createdAt updatedAt
|
|
26
|
+
}
|
|
27
|
+
`,C=`
|
|
28
|
+
fragment RelationshipScalars on SubRelationship {
|
|
29
|
+
id label kind status discoverySource ownerId providerId planId
|
|
30
|
+
amount currency interval autoRenew healthScore notes tags
|
|
31
|
+
startedAt renewsAt trialEndsAt cancelledAt
|
|
32
|
+
workspaceId createdAt updatedAt
|
|
33
|
+
}
|
|
34
|
+
`,c=`
|
|
35
|
+
fragment InvoiceFields on SubInvoice {
|
|
36
|
+
id number relationshipId status subtotal taxAmount total currency
|
|
37
|
+
lineItems paymentInstrumentId issueDate dueDate paidAt
|
|
38
|
+
file { id } workspaceId createdAt updatedAt
|
|
39
|
+
}
|
|
40
|
+
`,R=`
|
|
41
|
+
fragment PaymentInstrumentFields on SubPaymentInstrument {
|
|
42
|
+
id label type status brand last4 expiryMonth expiryYear isDefault
|
|
43
|
+
ownerId workspaceId createdAt updatedAt
|
|
44
|
+
}
|
|
45
|
+
`,l=`
|
|
46
|
+
fragment ChannelFields on SubCommunicationChannel {
|
|
47
|
+
id address type status label ingestEnabled ownerId verifiedAt
|
|
48
|
+
workspaceId createdAt updatedAt
|
|
49
|
+
}
|
|
50
|
+
`,d=`
|
|
51
|
+
fragment InboxMessageFields on SubInboxMessage {
|
|
52
|
+
id channelId relationshipId category categoryConfidence
|
|
53
|
+
subject preview externalId actionRequired isRead receivedAt
|
|
54
|
+
workspaceId createdAt updatedAt
|
|
55
|
+
}
|
|
56
|
+
`,I=`
|
|
57
|
+
fragment PolicyFields on SubPolicy {
|
|
58
|
+
id name description agentId action condition isEnabled
|
|
59
|
+
triggerCount lastTriggeredAt workspaceId createdAt updatedAt
|
|
60
|
+
}
|
|
61
|
+
`,y=`
|
|
62
|
+
fragment AgentScalars on SubAiAgent {
|
|
63
|
+
id name description kind status ownerId config lastRunAt
|
|
64
|
+
workspaceId createdAt updatedAt
|
|
65
|
+
}
|
|
66
|
+
`,A=`
|
|
67
|
+
fragment WorkflowFields on SubWorkflow {
|
|
68
|
+
id name description status triggerEvent steps runCount lastRunAt
|
|
69
|
+
workspaceId createdAt updatedAt
|
|
70
|
+
}
|
|
71
|
+
`,P=`
|
|
72
|
+
${o}
|
|
73
|
+
${b}
|
|
74
|
+
fragment ProviderFull on SubProvider {
|
|
75
|
+
...ProviderScalars
|
|
76
|
+
plans { ...PlanScalars }
|
|
77
|
+
}
|
|
78
|
+
`,v=`
|
|
79
|
+
${b}
|
|
80
|
+
${o}
|
|
81
|
+
fragment PlanFull on SubPlan {
|
|
82
|
+
...PlanScalars
|
|
83
|
+
provider { ...ProviderScalars }
|
|
84
|
+
}
|
|
85
|
+
`,a=`
|
|
86
|
+
${C}
|
|
87
|
+
${o}
|
|
88
|
+
${b}
|
|
89
|
+
${S}
|
|
90
|
+
${p}
|
|
91
|
+
${g}
|
|
92
|
+
fragment RelationshipFull on SubRelationship {
|
|
93
|
+
...RelationshipScalars
|
|
94
|
+
provider { ...ProviderScalars }
|
|
95
|
+
plan { ...PlanScalars }
|
|
96
|
+
assets { ...AssetFields }
|
|
97
|
+
entitlements { ...EntitlementFields }
|
|
98
|
+
renewalEvents { ...RenewalEventFields }
|
|
99
|
+
}
|
|
100
|
+
`,m=`
|
|
101
|
+
${y}
|
|
102
|
+
${I}
|
|
103
|
+
fragment AgentFull on SubAiAgent {
|
|
104
|
+
...AgentScalars
|
|
105
|
+
policies { ...PolicyFields }
|
|
106
|
+
}
|
|
107
|
+
`,h=`
|
|
108
|
+
${P}
|
|
109
|
+
query SubProvider($id: ID!) { subProvider(id: $id) { ...ProviderFull } }
|
|
110
|
+
`,$=`
|
|
111
|
+
${o}
|
|
112
|
+
query SubListProviders(
|
|
113
|
+
$category: SubProviderCategory
|
|
114
|
+
$status: SubProviderStatus
|
|
115
|
+
$search: String
|
|
116
|
+
$pagination: PaginationInput
|
|
117
|
+
) {
|
|
118
|
+
subListProviders(
|
|
119
|
+
category: $category
|
|
120
|
+
status: $status
|
|
121
|
+
search: $search
|
|
122
|
+
pagination: $pagination
|
|
123
|
+
) {
|
|
124
|
+
items { ...ProviderScalars }
|
|
125
|
+
pageInfo { cursor hasMore }
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
`,T=`
|
|
129
|
+
${P}
|
|
130
|
+
mutation SubCreateProvider($input: SubCreateProviderInput!) {
|
|
131
|
+
subCreateProvider(input: $input) { ...ProviderFull }
|
|
132
|
+
}
|
|
133
|
+
`,L=`
|
|
134
|
+
${P}
|
|
135
|
+
mutation SubUpdateProvider($id: ID!, $input: SubUpdateProviderInput!) {
|
|
136
|
+
subUpdateProvider(id: $id, input: $input) { ...ProviderFull }
|
|
137
|
+
}
|
|
138
|
+
`,w=`
|
|
139
|
+
mutation SubArchiveProvider($id: ID!) { subArchiveProvider(id: $id) }
|
|
140
|
+
`,_=`
|
|
141
|
+
${v}
|
|
142
|
+
query SubListPlans($providerId: ID) {
|
|
143
|
+
subListPlans(providerId: $providerId) { ...PlanFull }
|
|
144
|
+
}
|
|
145
|
+
`,f=`
|
|
146
|
+
${v}
|
|
147
|
+
mutation SubCreatePlan($input: SubCreatePlanInput!) {
|
|
148
|
+
subCreatePlan(input: $input) { ...PlanFull }
|
|
149
|
+
}
|
|
150
|
+
`,N=`
|
|
151
|
+
${a}
|
|
152
|
+
query SubRelationship($id: ID!) { subRelationship(id: $id) { ...RelationshipFull } }
|
|
153
|
+
`,x=`
|
|
154
|
+
${C}
|
|
155
|
+
query SubListRelationships(
|
|
156
|
+
$kind: SubRelationshipKind
|
|
157
|
+
$ownerId: ID
|
|
158
|
+
$providerId: ID
|
|
159
|
+
$status: SubRelationshipStatus
|
|
160
|
+
$pagination: PaginationInput
|
|
161
|
+
) {
|
|
162
|
+
subListRelationships(
|
|
163
|
+
kind: $kind
|
|
164
|
+
ownerId: $ownerId
|
|
165
|
+
providerId: $providerId
|
|
166
|
+
status: $status
|
|
167
|
+
pagination: $pagination
|
|
168
|
+
) {
|
|
169
|
+
items { ...RelationshipScalars }
|
|
170
|
+
pageInfo { cursor hasMore }
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
`,M=`
|
|
174
|
+
${a}
|
|
175
|
+
mutation SubCreateRelationship($input: SubCreateRelationshipInput!) {
|
|
176
|
+
subCreateRelationship(input: $input) { ...RelationshipFull }
|
|
177
|
+
}
|
|
178
|
+
`,k=`
|
|
179
|
+
${a}
|
|
180
|
+
mutation SubUpdateRelationship($id: ID!, $input: SubUpdateRelationshipInput!) {
|
|
181
|
+
subUpdateRelationship(id: $id, input: $input) { ...RelationshipFull }
|
|
182
|
+
}
|
|
183
|
+
`,F=`
|
|
184
|
+
${a}
|
|
185
|
+
mutation SubCancelRelationship($id: ID!) {
|
|
186
|
+
subCancelRelationship(id: $id) { ...RelationshipFull }
|
|
187
|
+
}
|
|
188
|
+
`,O=`
|
|
189
|
+
${a}
|
|
190
|
+
mutation SubTransitionRelationship($id: ID!, $status: SubRelationshipStatus!) {
|
|
191
|
+
subTransitionRelationship(id: $id, status: $status) { ...RelationshipFull }
|
|
192
|
+
}
|
|
193
|
+
`,q=`
|
|
194
|
+
${S}
|
|
195
|
+
query SubListAssets($relationshipId: ID!) {
|
|
196
|
+
subListAssets(relationshipId: $relationshipId) { ...AssetFields }
|
|
197
|
+
}
|
|
198
|
+
`,D=`
|
|
199
|
+
${S}
|
|
200
|
+
mutation SubCreateAsset($input: SubCreateAssetInput!) {
|
|
201
|
+
subCreateAsset(input: $input) { ...AssetFields }
|
|
202
|
+
}
|
|
203
|
+
`,W=`
|
|
204
|
+
${p}
|
|
205
|
+
query SubListEntitlements($relationshipId: ID!) {
|
|
206
|
+
subListEntitlements(relationshipId: $relationshipId) { ...EntitlementFields }
|
|
207
|
+
}
|
|
208
|
+
`,U=`
|
|
209
|
+
${p}
|
|
210
|
+
mutation SubCreateEntitlement($input: SubCreateEntitlementInput!) {
|
|
211
|
+
subCreateEntitlement(input: $input) { ...EntitlementFields }
|
|
212
|
+
}
|
|
213
|
+
`,V=`
|
|
214
|
+
${g}
|
|
215
|
+
query SubListRenewalEvents($relationshipId: ID, $upcomingOnly: Boolean) {
|
|
216
|
+
subListRenewalEvents(relationshipId: $relationshipId, upcomingOnly: $upcomingOnly) {
|
|
217
|
+
...RenewalEventFields
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
`,H=`
|
|
221
|
+
${c}
|
|
222
|
+
query SubListInvoices(
|
|
223
|
+
$relationshipId: ID
|
|
224
|
+
$status: SubInvoiceStatus
|
|
225
|
+
$pagination: PaginationInput
|
|
226
|
+
) {
|
|
227
|
+
subListInvoices(relationshipId: $relationshipId, status: $status, pagination: $pagination) {
|
|
228
|
+
items { ...InvoiceFields }
|
|
229
|
+
pageInfo { cursor hasMore }
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
`,G=`
|
|
233
|
+
${c}
|
|
234
|
+
mutation SubCreateInvoice($input: SubCreateInvoiceInput!) {
|
|
235
|
+
subCreateInvoice(input: $input) { ...InvoiceFields }
|
|
236
|
+
}
|
|
237
|
+
`,K=`
|
|
238
|
+
${c}
|
|
239
|
+
mutation SubMarkInvoicePaid($id: ID!) { subMarkInvoicePaid(id: $id) { ...InvoiceFields } }
|
|
240
|
+
`,Y=`
|
|
241
|
+
${R}
|
|
242
|
+
query SubListPaymentInstruments($ownerId: ID) {
|
|
243
|
+
subListPaymentInstruments(ownerId: $ownerId) { ...PaymentInstrumentFields }
|
|
244
|
+
}
|
|
245
|
+
`,B=`
|
|
246
|
+
${R}
|
|
247
|
+
mutation SubCreatePaymentInstrument($input: SubCreatePaymentInstrumentInput!) {
|
|
248
|
+
subCreatePaymentInstrument(input: $input) { ...PaymentInstrumentFields }
|
|
249
|
+
}
|
|
250
|
+
`,j=`
|
|
251
|
+
mutation SubRemovePaymentInstrument($id: ID!) { subRemovePaymentInstrument(id: $id) }
|
|
252
|
+
`,X=`
|
|
253
|
+
${l}
|
|
254
|
+
query SubListChannels($ownerId: ID) {
|
|
255
|
+
subListChannels(ownerId: $ownerId) { ...ChannelFields }
|
|
256
|
+
}
|
|
257
|
+
`,z=`
|
|
258
|
+
${l}
|
|
259
|
+
mutation SubCreateChannel($input: SubCreateChannelInput!) {
|
|
260
|
+
subCreateChannel(input: $input) { ...ChannelFields }
|
|
261
|
+
}
|
|
262
|
+
`,J=`
|
|
263
|
+
${l}
|
|
264
|
+
mutation SubVerifyChannel($id: ID!) { subVerifyChannel(id: $id) { ...ChannelFields } }
|
|
265
|
+
`,Q=`
|
|
266
|
+
${d}
|
|
267
|
+
query SubListInboxMessages(
|
|
268
|
+
$category: SubMessageCategory
|
|
269
|
+
$channelId: ID
|
|
270
|
+
$relationshipId: ID
|
|
271
|
+
$unreadOnly: Boolean
|
|
272
|
+
$pagination: PaginationInput
|
|
273
|
+
) {
|
|
274
|
+
subListInboxMessages(
|
|
275
|
+
category: $category
|
|
276
|
+
channelId: $channelId
|
|
277
|
+
relationshipId: $relationshipId
|
|
278
|
+
unreadOnly: $unreadOnly
|
|
279
|
+
pagination: $pagination
|
|
280
|
+
) {
|
|
281
|
+
items { ...InboxMessageFields }
|
|
282
|
+
pageInfo { cursor hasMore }
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
`,Z=`
|
|
286
|
+
${d}
|
|
287
|
+
mutation SubIngestMessage($input: SubIngestMessageInput!) {
|
|
288
|
+
subIngestMessage(input: $input) { ...InboxMessageFields }
|
|
289
|
+
}
|
|
290
|
+
`,tt=`
|
|
291
|
+
${d}
|
|
292
|
+
mutation SubMarkMessageRead($id: ID!) { subMarkMessageRead(id: $id) { ...InboxMessageFields } }
|
|
293
|
+
`,et=`
|
|
294
|
+
${m}
|
|
295
|
+
query SubAgent($id: ID!) { subAgent(id: $id) { ...AgentFull } }
|
|
296
|
+
`,nt=`
|
|
297
|
+
${y}
|
|
298
|
+
query SubListAgents($kind: SubAgentKind, $ownerId: ID, $status: SubAgentStatus) {
|
|
299
|
+
subListAgents(kind: $kind, ownerId: $ownerId, status: $status) { ...AgentScalars }
|
|
300
|
+
}
|
|
301
|
+
`,st=`
|
|
302
|
+
${m}
|
|
303
|
+
mutation SubCreateAgent($input: SubCreateAgentInput!) {
|
|
304
|
+
subCreateAgent(input: $input) { ...AgentFull }
|
|
305
|
+
}
|
|
306
|
+
`,it=`
|
|
307
|
+
${m}
|
|
308
|
+
mutation SubSetAgentStatus($id: ID!, $status: SubAgentStatus!) {
|
|
309
|
+
subSetAgentStatus(id: $id, status: $status) { ...AgentFull }
|
|
310
|
+
}
|
|
311
|
+
`,at=`
|
|
312
|
+
${I}
|
|
313
|
+
query SubListPolicies($agentId: ID) {
|
|
314
|
+
subListPolicies(agentId: $agentId) { ...PolicyFields }
|
|
315
|
+
}
|
|
316
|
+
`,rt=`
|
|
317
|
+
${I}
|
|
318
|
+
mutation SubCreatePolicy($input: SubCreatePolicyInput!) {
|
|
319
|
+
subCreatePolicy(input: $input) { ...PolicyFields }
|
|
320
|
+
}
|
|
321
|
+
`,ot=`
|
|
322
|
+
${A}
|
|
323
|
+
query SubListWorkflows($status: SubWorkflowStatus) {
|
|
324
|
+
subListWorkflows(status: $status) { ...WorkflowFields }
|
|
325
|
+
}
|
|
326
|
+
`,ut=`
|
|
327
|
+
${A}
|
|
328
|
+
mutation SubCreateWorkflow($input: SubCreateWorkflowInput!) {
|
|
329
|
+
subCreateWorkflow(input: $input) { ...WorkflowFields }
|
|
330
|
+
}
|
|
331
|
+
`,bt=`
|
|
332
|
+
${A}
|
|
333
|
+
mutation SubActivateWorkflow($id: ID!) { subActivateWorkflow(id: $id) { ...WorkflowFields } }
|
|
334
|
+
`,St="query SubHealth { subHealth }";function pt(u){let{workspace:n}=u.gql;return {providers:{async get(t){return (await n.request(h,{id:t})).subProvider},async list(t,e,s,i){return (await n.request($,{category:t,status:e,search:s,pagination:i})).subListProviders},async create(t){return (await n.request(T,{input:t})).subCreateProvider},async update(t,e){return (await n.request(L,{id:t,input:e})).subUpdateProvider},async archive(t){return (await n.request(w,{id:t})).subArchiveProvider}},plans:{async list(t){return (await n.request(_,{providerId:t})).subListPlans},async create(t){return (await n.request(f,{input:t})).subCreatePlan}},relationships:{async get(t){return (await n.request(N,{id:t})).subRelationship},async list(t,e,s,i,r){return (await n.request(x,{kind:t,ownerId:e,providerId:s,status:i,pagination:r})).subListRelationships},async create(t){return (await n.request(M,{input:t})).subCreateRelationship},async update(t,e){return (await n.request(k,{id:t,input:e})).subUpdateRelationship},async cancel(t){return (await n.request(F,{id:t})).subCancelRelationship},async transition(t,e){return (await n.request(O,{id:t,status:e})).subTransitionRelationship}},assets:{async list(t){return (await n.request(q,{relationshipId:t})).subListAssets},async create(t){return (await n.request(D,{input:t})).subCreateAsset}},entitlements:{async list(t){return (await n.request(W,{relationshipId:t})).subListEntitlements},async create(t){return (await n.request(U,{input:t})).subCreateEntitlement}},renewalEvents:{async list(t,e){return (await n.request(V,{relationshipId:t,upcomingOnly:e})).subListRenewalEvents}},invoices:{async list(t,e,s){return (await n.request(H,{relationshipId:t,status:e,pagination:s})).subListInvoices},async create(t){return (await n.request(G,{input:t})).subCreateInvoice},async markPaid(t){return (await n.request(K,{id:t})).subMarkInvoicePaid}},paymentInstruments:{async list(t){return (await n.request(Y,{ownerId:t})).subListPaymentInstruments},async create(t){return (await n.request(B,{input:t})).subCreatePaymentInstrument},async remove(t){return (await n.request(j,{id:t})).subRemovePaymentInstrument}},channels:{async list(t){return (await n.request(X,{ownerId:t})).subListChannels},async create(t){return (await n.request(z,{input:t})).subCreateChannel},async verify(t){return (await n.request(J,{id:t})).subVerifyChannel}},inbox:{async list(t,e,s,i,r){return (await n.request(Q,{category:t,channelId:e,relationshipId:s,unreadOnly:i,pagination:r})).subListInboxMessages},async ingest(t){return (await n.request(Z,{input:t})).subIngestMessage},async markRead(t){return (await n.request(tt,{id:t})).subMarkMessageRead}},agents:{async get(t){return (await n.request(et,{id:t})).subAgent},async list(t,e,s){return (await n.request(nt,{kind:t,ownerId:e,status:s})).subListAgents},async create(t){return (await n.request(st,{input:t})).subCreateAgent},async setStatus(t,e){return (await n.request(it,{id:t,status:e})).subSetAgentStatus}},policies:{async list(t){return (await n.request(at,{agentId:t})).subListPolicies},async create(t){return (await n.request(rt,{input:t})).subCreatePolicy}},workflows:{async list(t){return (await n.request(ot,{status:t})).subListWorkflows},async create(t){return (await n.request(ut,{input:t})).subCreateWorkflow},async activate(t){return (await n.request(bt,{id:t})).subActivateWorkflow}},system:{async health(){return (await n.request(St)).subHealth}}}}var lt={id:"subscriberbot",version:"1.0.0",displayName:"Subscriberbot",dependsOn:["auth"],attach(u){return pt(u)}},Mt=lt;module.exports=Mt;
|