@burdenoff/sdk-libs 2026.627.4 → 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/mybodyshield/index.cjs +259 -0
- package/dist/modules/mybodyshield/index.d.cts +455 -0
- package/dist/modules/mybodyshield/index.d.ts +455 -0
- package/dist/modules/mybodyshield/index.js +259 -0
- package/dist/modules/semanticfed/index.cjs +283 -0
- package/dist/modules/semanticfed/index.d.cts +404 -0
- package/dist/modules/semanticfed/index.d.ts +404 -0
- package/dist/modules/semanticfed/index.js +283 -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/dist/modules/technospam/index.cjs +344 -0
- package/dist/modules/technospam/index.d.cts +436 -0
- package/dist/modules/technospam/index.d.ts +436 -0
- package/dist/modules/technospam/index.js +344 -0
- package/dist/modules/theculturepost/index.cjs +267 -0
- package/dist/modules/theculturepost/index.d.cts +344 -0
- package/dist/modules/theculturepost/index.d.ts +344 -0
- package/dist/modules/theculturepost/index.js +267 -0
- package/dist/modules/theglobalfuel/index.cjs +265 -0
- package/dist/modules/theglobalfuel/index.d.cts +395 -0
- package/dist/modules/theglobalfuel/index.d.ts +395 -0
- package/dist/modules/theglobalfuel/index.js +265 -0
- package/package.json +1 -1
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
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
|
+
`,C=`
|
|
23
|
+
fragment RenewalEventFields on SubRenewalEvent {
|
|
24
|
+
id relationshipId eventType detail amount currency occursAt notified
|
|
25
|
+
workspaceId createdAt updatedAt
|
|
26
|
+
}
|
|
27
|
+
`,R=`
|
|
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
|
+
`,y=`
|
|
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
|
+
`,v=`
|
|
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
|
+
`,h=`
|
|
79
|
+
${b}
|
|
80
|
+
${o}
|
|
81
|
+
fragment PlanFull on SubPlan {
|
|
82
|
+
...PlanScalars
|
|
83
|
+
provider { ...ProviderScalars }
|
|
84
|
+
}
|
|
85
|
+
`,a=`
|
|
86
|
+
${R}
|
|
87
|
+
${o}
|
|
88
|
+
${b}
|
|
89
|
+
${S}
|
|
90
|
+
${p}
|
|
91
|
+
${C}
|
|
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
|
+
${v}
|
|
102
|
+
${I}
|
|
103
|
+
fragment AgentFull on SubAiAgent {
|
|
104
|
+
...AgentScalars
|
|
105
|
+
policies { ...PolicyFields }
|
|
106
|
+
}
|
|
107
|
+
`,$=`
|
|
108
|
+
${P}
|
|
109
|
+
query SubProvider($id: ID!) { subProvider(id: $id) { ...ProviderFull } }
|
|
110
|
+
`,T=`
|
|
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
|
+
`,L=`
|
|
129
|
+
${P}
|
|
130
|
+
mutation SubCreateProvider($input: SubCreateProviderInput!) {
|
|
131
|
+
subCreateProvider(input: $input) { ...ProviderFull }
|
|
132
|
+
}
|
|
133
|
+
`,w=`
|
|
134
|
+
${P}
|
|
135
|
+
mutation SubUpdateProvider($id: ID!, $input: SubUpdateProviderInput!) {
|
|
136
|
+
subUpdateProvider(id: $id, input: $input) { ...ProviderFull }
|
|
137
|
+
}
|
|
138
|
+
`,_=`
|
|
139
|
+
mutation SubArchiveProvider($id: ID!) { subArchiveProvider(id: $id) }
|
|
140
|
+
`,f=`
|
|
141
|
+
${h}
|
|
142
|
+
query SubListPlans($providerId: ID) {
|
|
143
|
+
subListPlans(providerId: $providerId) { ...PlanFull }
|
|
144
|
+
}
|
|
145
|
+
`,N=`
|
|
146
|
+
${h}
|
|
147
|
+
mutation SubCreatePlan($input: SubCreatePlanInput!) {
|
|
148
|
+
subCreatePlan(input: $input) { ...PlanFull }
|
|
149
|
+
}
|
|
150
|
+
`,x=`
|
|
151
|
+
${a}
|
|
152
|
+
query SubRelationship($id: ID!) { subRelationship(id: $id) { ...RelationshipFull } }
|
|
153
|
+
`,M=`
|
|
154
|
+
${R}
|
|
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
|
+
`,k=`
|
|
174
|
+
${a}
|
|
175
|
+
mutation SubCreateRelationship($input: SubCreateRelationshipInput!) {
|
|
176
|
+
subCreateRelationship(input: $input) { ...RelationshipFull }
|
|
177
|
+
}
|
|
178
|
+
`,F=`
|
|
179
|
+
${a}
|
|
180
|
+
mutation SubUpdateRelationship($id: ID!, $input: SubUpdateRelationshipInput!) {
|
|
181
|
+
subUpdateRelationship(id: $id, input: $input) { ...RelationshipFull }
|
|
182
|
+
}
|
|
183
|
+
`,O=`
|
|
184
|
+
${a}
|
|
185
|
+
mutation SubCancelRelationship($id: ID!) {
|
|
186
|
+
subCancelRelationship(id: $id) { ...RelationshipFull }
|
|
187
|
+
}
|
|
188
|
+
`,q=`
|
|
189
|
+
${a}
|
|
190
|
+
mutation SubTransitionRelationship($id: ID!, $status: SubRelationshipStatus!) {
|
|
191
|
+
subTransitionRelationship(id: $id, status: $status) { ...RelationshipFull }
|
|
192
|
+
}
|
|
193
|
+
`,D=`
|
|
194
|
+
${S}
|
|
195
|
+
query SubListAssets($relationshipId: ID!) {
|
|
196
|
+
subListAssets(relationshipId: $relationshipId) { ...AssetFields }
|
|
197
|
+
}
|
|
198
|
+
`,W=`
|
|
199
|
+
${S}
|
|
200
|
+
mutation SubCreateAsset($input: SubCreateAssetInput!) {
|
|
201
|
+
subCreateAsset(input: $input) { ...AssetFields }
|
|
202
|
+
}
|
|
203
|
+
`,U=`
|
|
204
|
+
${p}
|
|
205
|
+
query SubListEntitlements($relationshipId: ID!) {
|
|
206
|
+
subListEntitlements(relationshipId: $relationshipId) { ...EntitlementFields }
|
|
207
|
+
}
|
|
208
|
+
`,V=`
|
|
209
|
+
${p}
|
|
210
|
+
mutation SubCreateEntitlement($input: SubCreateEntitlementInput!) {
|
|
211
|
+
subCreateEntitlement(input: $input) { ...EntitlementFields }
|
|
212
|
+
}
|
|
213
|
+
`,H=`
|
|
214
|
+
${C}
|
|
215
|
+
query SubListRenewalEvents($relationshipId: ID, $upcomingOnly: Boolean) {
|
|
216
|
+
subListRenewalEvents(relationshipId: $relationshipId, upcomingOnly: $upcomingOnly) {
|
|
217
|
+
...RenewalEventFields
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
`,G=`
|
|
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
|
+
`,K=`
|
|
233
|
+
${c}
|
|
234
|
+
mutation SubCreateInvoice($input: SubCreateInvoiceInput!) {
|
|
235
|
+
subCreateInvoice(input: $input) { ...InvoiceFields }
|
|
236
|
+
}
|
|
237
|
+
`,Y=`
|
|
238
|
+
${c}
|
|
239
|
+
mutation SubMarkInvoicePaid($id: ID!) { subMarkInvoicePaid(id: $id) { ...InvoiceFields } }
|
|
240
|
+
`,B=`
|
|
241
|
+
${y}
|
|
242
|
+
query SubListPaymentInstruments($ownerId: ID) {
|
|
243
|
+
subListPaymentInstruments(ownerId: $ownerId) { ...PaymentInstrumentFields }
|
|
244
|
+
}
|
|
245
|
+
`,j=`
|
|
246
|
+
${y}
|
|
247
|
+
mutation SubCreatePaymentInstrument($input: SubCreatePaymentInstrumentInput!) {
|
|
248
|
+
subCreatePaymentInstrument(input: $input) { ...PaymentInstrumentFields }
|
|
249
|
+
}
|
|
250
|
+
`,X=`
|
|
251
|
+
mutation SubRemovePaymentInstrument($id: ID!) { subRemovePaymentInstrument(id: $id) }
|
|
252
|
+
`,z=`
|
|
253
|
+
${l}
|
|
254
|
+
query SubListChannels($ownerId: ID) {
|
|
255
|
+
subListChannels(ownerId: $ownerId) { ...ChannelFields }
|
|
256
|
+
}
|
|
257
|
+
`,J=`
|
|
258
|
+
${l}
|
|
259
|
+
mutation SubCreateChannel($input: SubCreateChannelInput!) {
|
|
260
|
+
subCreateChannel(input: $input) { ...ChannelFields }
|
|
261
|
+
}
|
|
262
|
+
`,Q=`
|
|
263
|
+
${l}
|
|
264
|
+
mutation SubVerifyChannel($id: ID!) { subVerifyChannel(id: $id) { ...ChannelFields } }
|
|
265
|
+
`,Z=`
|
|
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
|
+
`,tt=`
|
|
286
|
+
${d}
|
|
287
|
+
mutation SubIngestMessage($input: SubIngestMessageInput!) {
|
|
288
|
+
subIngestMessage(input: $input) { ...InboxMessageFields }
|
|
289
|
+
}
|
|
290
|
+
`,et=`
|
|
291
|
+
${d}
|
|
292
|
+
mutation SubMarkMessageRead($id: ID!) { subMarkMessageRead(id: $id) { ...InboxMessageFields } }
|
|
293
|
+
`,nt=`
|
|
294
|
+
${m}
|
|
295
|
+
query SubAgent($id: ID!) { subAgent(id: $id) { ...AgentFull } }
|
|
296
|
+
`,st=`
|
|
297
|
+
${v}
|
|
298
|
+
query SubListAgents($kind: SubAgentKind, $ownerId: ID, $status: SubAgentStatus) {
|
|
299
|
+
subListAgents(kind: $kind, ownerId: $ownerId, status: $status) { ...AgentScalars }
|
|
300
|
+
}
|
|
301
|
+
`,it=`
|
|
302
|
+
${m}
|
|
303
|
+
mutation SubCreateAgent($input: SubCreateAgentInput!) {
|
|
304
|
+
subCreateAgent(input: $input) { ...AgentFull }
|
|
305
|
+
}
|
|
306
|
+
`,at=`
|
|
307
|
+
${m}
|
|
308
|
+
mutation SubSetAgentStatus($id: ID!, $status: SubAgentStatus!) {
|
|
309
|
+
subSetAgentStatus(id: $id, status: $status) { ...AgentFull }
|
|
310
|
+
}
|
|
311
|
+
`,rt=`
|
|
312
|
+
${I}
|
|
313
|
+
query SubListPolicies($agentId: ID) {
|
|
314
|
+
subListPolicies(agentId: $agentId) { ...PolicyFields }
|
|
315
|
+
}
|
|
316
|
+
`,ot=`
|
|
317
|
+
${I}
|
|
318
|
+
mutation SubCreatePolicy($input: SubCreatePolicyInput!) {
|
|
319
|
+
subCreatePolicy(input: $input) { ...PolicyFields }
|
|
320
|
+
}
|
|
321
|
+
`,ut=`
|
|
322
|
+
${A}
|
|
323
|
+
query SubListWorkflows($status: SubWorkflowStatus) {
|
|
324
|
+
subListWorkflows(status: $status) { ...WorkflowFields }
|
|
325
|
+
}
|
|
326
|
+
`,bt=`
|
|
327
|
+
${A}
|
|
328
|
+
mutation SubCreateWorkflow($input: SubCreateWorkflowInput!) {
|
|
329
|
+
subCreateWorkflow(input: $input) { ...WorkflowFields }
|
|
330
|
+
}
|
|
331
|
+
`,St=`
|
|
332
|
+
${A}
|
|
333
|
+
mutation SubActivateWorkflow($id: ID!) { subActivateWorkflow(id: $id) { ...WorkflowFields } }
|
|
334
|
+
`,pt="query SubHealth { subHealth }";function ct(u){let{workspace:n}=u.gql;return {providers:{async get(t){return (await n.request($,{id:t})).subProvider},async list(t,e,s,i){return (await n.request(T,{category:t,status:e,search:s,pagination:i})).subListProviders},async create(t){return (await n.request(L,{input:t})).subCreateProvider},async update(t,e){return (await n.request(w,{id:t,input:e})).subUpdateProvider},async archive(t){return (await n.request(_,{id:t})).subArchiveProvider}},plans:{async list(t){return (await n.request(f,{providerId:t})).subListPlans},async create(t){return (await n.request(N,{input:t})).subCreatePlan}},relationships:{async get(t){return (await n.request(x,{id:t})).subRelationship},async list(t,e,s,i,r){return (await n.request(M,{kind:t,ownerId:e,providerId:s,status:i,pagination:r})).subListRelationships},async create(t){return (await n.request(k,{input:t})).subCreateRelationship},async update(t,e){return (await n.request(F,{id:t,input:e})).subUpdateRelationship},async cancel(t){return (await n.request(O,{id:t})).subCancelRelationship},async transition(t,e){return (await n.request(q,{id:t,status:e})).subTransitionRelationship}},assets:{async list(t){return (await n.request(D,{relationshipId:t})).subListAssets},async create(t){return (await n.request(W,{input:t})).subCreateAsset}},entitlements:{async list(t){return (await n.request(U,{relationshipId:t})).subListEntitlements},async create(t){return (await n.request(V,{input:t})).subCreateEntitlement}},renewalEvents:{async list(t,e){return (await n.request(H,{relationshipId:t,upcomingOnly:e})).subListRenewalEvents}},invoices:{async list(t,e,s){return (await n.request(G,{relationshipId:t,status:e,pagination:s})).subListInvoices},async create(t){return (await n.request(K,{input:t})).subCreateInvoice},async markPaid(t){return (await n.request(Y,{id:t})).subMarkInvoicePaid}},paymentInstruments:{async list(t){return (await n.request(B,{ownerId:t})).subListPaymentInstruments},async create(t){return (await n.request(j,{input:t})).subCreatePaymentInstrument},async remove(t){return (await n.request(X,{id:t})).subRemovePaymentInstrument}},channels:{async list(t){return (await n.request(z,{ownerId:t})).subListChannels},async create(t){return (await n.request(J,{input:t})).subCreateChannel},async verify(t){return (await n.request(Q,{id:t})).subVerifyChannel}},inbox:{async list(t,e,s,i,r){return (await n.request(Z,{category:t,channelId:e,relationshipId:s,unreadOnly:i,pagination:r})).subListInboxMessages},async ingest(t){return (await n.request(tt,{input:t})).subIngestMessage},async markRead(t){return (await n.request(et,{id:t})).subMarkMessageRead}},agents:{async get(t){return (await n.request(nt,{id:t})).subAgent},async list(t,e,s){return (await n.request(st,{kind:t,ownerId:e,status:s})).subListAgents},async create(t){return (await n.request(it,{input:t})).subCreateAgent},async setStatus(t,e){return (await n.request(at,{id:t,status:e})).subSetAgentStatus}},policies:{async list(t){return (await n.request(rt,{agentId:t})).subListPolicies},async create(t){return (await n.request(ot,{input:t})).subCreatePolicy}},workflows:{async list(t){return (await n.request(ut,{status:t})).subListWorkflows},async create(t){return (await n.request(bt,{input:t})).subCreateWorkflow},async activate(t){return (await n.request(St,{id:t})).subActivateWorkflow}},system:{async health(){return (await n.request(pt)).subHealth}}}}var dt={id:"subscriberbot",version:"1.0.0",displayName:"Subscriberbot",dependsOn:["auth"],attach(u){return ct(u)}},kt=dt;export{kt as default};
|
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
'use strict';var a=`
|
|
2
|
+
fragment CourseScalars on TecCourse {
|
|
3
|
+
id title slug summary topic level status estimatedMinutes tags
|
|
4
|
+
instructorId cover { id } publishedAt workspaceId createdAt updatedAt
|
|
5
|
+
}
|
|
6
|
+
`,m=`
|
|
7
|
+
fragment LessonScalars on TecLesson {
|
|
8
|
+
id courseId title kind content position estimatedMinutes isPreview
|
|
9
|
+
file { id } workspaceId createdAt updatedAt
|
|
10
|
+
}
|
|
11
|
+
`,l=`
|
|
12
|
+
fragment EnrollmentScalars on TecEnrollment {
|
|
13
|
+
id courseId learnerId status progressPct lessonsCompleted
|
|
14
|
+
startedAt lastActiveAt completedAt workspaceId createdAt updatedAt
|
|
15
|
+
}
|
|
16
|
+
`,d=`
|
|
17
|
+
fragment MentorScalars on TecMentor {
|
|
18
|
+
id userId headline bio expertise hourlyRate currency status
|
|
19
|
+
ratingAvg sessionsCount isAcceptingMentees workspaceId createdAt updatedAt
|
|
20
|
+
}
|
|
21
|
+
`,S=`
|
|
22
|
+
fragment SessionScalars on TecMentorSession {
|
|
23
|
+
id mentorId menteeId topic agenda scheduledAt durationMinutes status
|
|
24
|
+
meetingUrl rating feedback cancelledAt completedAt
|
|
25
|
+
workspaceId createdAt updatedAt
|
|
26
|
+
}
|
|
27
|
+
`,I=`
|
|
28
|
+
fragment ProblemScalars on TecProblem {
|
|
29
|
+
id slug title statement topic difficulty status points languages tags
|
|
30
|
+
publishedAt workspaceId createdAt updatedAt
|
|
31
|
+
}
|
|
32
|
+
`,C=`
|
|
33
|
+
fragment SubmissionScalars on TecSubmission {
|
|
34
|
+
id problemId learnerId language code verdict pointsAwarded runtimeMs
|
|
35
|
+
judgedAt workspaceId createdAt updatedAt
|
|
36
|
+
}
|
|
37
|
+
`,h=`
|
|
38
|
+
fragment HackathonScalars on TecHackathon {
|
|
39
|
+
id slug title theme description startAt endAt submissionDeadline status
|
|
40
|
+
maxTeamSize prizePool currency tags workspaceId createdAt updatedAt
|
|
41
|
+
}
|
|
42
|
+
`,$=`
|
|
43
|
+
fragment TeamScalars on TecHackathonTeam {
|
|
44
|
+
id hackathonId name captainId memberIds projectName projectUrl repoUrl
|
|
45
|
+
pitch status score submittedAt workspaceId createdAt updatedAt
|
|
46
|
+
}
|
|
47
|
+
`,E=`
|
|
48
|
+
${a}
|
|
49
|
+
fragment CertificateFields on TecCertificate {
|
|
50
|
+
id courseId learnerId serial score status issuedAt revokedAt revokeReason
|
|
51
|
+
workspaceId createdAt updatedAt
|
|
52
|
+
course { ...CourseScalars }
|
|
53
|
+
}
|
|
54
|
+
`,c=`
|
|
55
|
+
${a}
|
|
56
|
+
${m}
|
|
57
|
+
${l}
|
|
58
|
+
fragment CourseFull on TecCourse {
|
|
59
|
+
...CourseScalars
|
|
60
|
+
lessons { ...LessonScalars }
|
|
61
|
+
enrollments { ...EnrollmentScalars }
|
|
62
|
+
}
|
|
63
|
+
`,L=`
|
|
64
|
+
${m}
|
|
65
|
+
${a}
|
|
66
|
+
fragment LessonFull on TecLesson {
|
|
67
|
+
...LessonScalars
|
|
68
|
+
course { ...CourseScalars }
|
|
69
|
+
}
|
|
70
|
+
`,b=`
|
|
71
|
+
${l}
|
|
72
|
+
${a}
|
|
73
|
+
fragment EnrollmentFull on TecEnrollment {
|
|
74
|
+
...EnrollmentScalars
|
|
75
|
+
course { ...CourseScalars }
|
|
76
|
+
}
|
|
77
|
+
`,r=`
|
|
78
|
+
${d}
|
|
79
|
+
${S}
|
|
80
|
+
fragment MentorFull on TecMentor {
|
|
81
|
+
...MentorScalars
|
|
82
|
+
sessions { ...SessionScalars }
|
|
83
|
+
}
|
|
84
|
+
`,i=`
|
|
85
|
+
${S}
|
|
86
|
+
${d}
|
|
87
|
+
fragment SessionFull on TecMentorSession {
|
|
88
|
+
...SessionScalars
|
|
89
|
+
mentor { ...MentorScalars }
|
|
90
|
+
}
|
|
91
|
+
`,u=`
|
|
92
|
+
${I}
|
|
93
|
+
${C}
|
|
94
|
+
fragment ProblemFull on TecProblem {
|
|
95
|
+
...ProblemScalars
|
|
96
|
+
submissions { ...SubmissionScalars }
|
|
97
|
+
}
|
|
98
|
+
`,g=`
|
|
99
|
+
${C}
|
|
100
|
+
${I}
|
|
101
|
+
fragment SubmissionFull on TecSubmission {
|
|
102
|
+
...SubmissionScalars
|
|
103
|
+
problem { ...ProblemScalars }
|
|
104
|
+
}
|
|
105
|
+
`,p=`
|
|
106
|
+
${h}
|
|
107
|
+
${$}
|
|
108
|
+
fragment HackathonFull on TecHackathon {
|
|
109
|
+
...HackathonScalars
|
|
110
|
+
teams { ...TeamScalars }
|
|
111
|
+
}
|
|
112
|
+
`,P=`
|
|
113
|
+
${$}
|
|
114
|
+
${h}
|
|
115
|
+
fragment TeamFull on TecHackathonTeam {
|
|
116
|
+
...TeamScalars
|
|
117
|
+
hackathon { ...HackathonScalars }
|
|
118
|
+
}
|
|
119
|
+
`,M=`
|
|
120
|
+
${c}
|
|
121
|
+
query TecCourse($id: ID!) { tecCourse(id: $id) { ...CourseFull } }
|
|
122
|
+
`,k=`
|
|
123
|
+
${a}
|
|
124
|
+
query TecListCourses(
|
|
125
|
+
$level: TecCourseLevel
|
|
126
|
+
$status: TecCourseStatus
|
|
127
|
+
$pagination: PaginationInput
|
|
128
|
+
) {
|
|
129
|
+
tecListCourses(level: $level, status: $status, pagination: $pagination) {
|
|
130
|
+
items { ...CourseScalars }
|
|
131
|
+
pageInfo { cursor hasMore }
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
`,R=`
|
|
135
|
+
${c}
|
|
136
|
+
mutation TecCreateCourse($input: TecCreateCourseInput!) {
|
|
137
|
+
tecCreateCourse(input: $input) { ...CourseFull }
|
|
138
|
+
}
|
|
139
|
+
`,O=`
|
|
140
|
+
${c}
|
|
141
|
+
mutation TecUpdateCourse($id: ID!, $input: TecUpdateCourseInput!) {
|
|
142
|
+
tecUpdateCourse(id: $id, input: $input) { ...CourseFull }
|
|
143
|
+
}
|
|
144
|
+
`,f=`
|
|
145
|
+
${c}
|
|
146
|
+
mutation TecPublishCourse($id: ID!) { tecPublishCourse(id: $id) { ...CourseFull } }
|
|
147
|
+
`,H=`
|
|
148
|
+
mutation TecArchiveCourse($id: ID!) { tecArchiveCourse(id: $id) }
|
|
149
|
+
`,U=`
|
|
150
|
+
${m}
|
|
151
|
+
query TecListLessons($courseId: ID!) {
|
|
152
|
+
tecListLessons(courseId: $courseId) { ...LessonScalars }
|
|
153
|
+
}
|
|
154
|
+
`,_=`
|
|
155
|
+
${L}
|
|
156
|
+
mutation TecCreateLesson($input: TecCreateLessonInput!) {
|
|
157
|
+
tecCreateLesson(input: $input) { ...LessonFull }
|
|
158
|
+
}
|
|
159
|
+
`,y=`
|
|
160
|
+
${L}
|
|
161
|
+
mutation TecUpdateLesson($id: ID!, $input: TecUpdateLessonInput!) {
|
|
162
|
+
tecUpdateLesson(id: $id, input: $input) { ...LessonFull }
|
|
163
|
+
}
|
|
164
|
+
`,N=`
|
|
165
|
+
${l}
|
|
166
|
+
query TecListEnrollments($courseId: ID, $learnerId: ID, $pagination: PaginationInput) {
|
|
167
|
+
tecListEnrollments(courseId: $courseId, learnerId: $learnerId, pagination: $pagination) {
|
|
168
|
+
items { ...EnrollmentScalars }
|
|
169
|
+
pageInfo { cursor hasMore }
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
`,x=`
|
|
173
|
+
${b}
|
|
174
|
+
mutation TecEnroll($input: TecEnrollInput!) {
|
|
175
|
+
tecEnroll(input: $input) { ...EnrollmentFull }
|
|
176
|
+
}
|
|
177
|
+
`,F=`
|
|
178
|
+
${b}
|
|
179
|
+
mutation TecUpdateProgress($input: TecUpdateProgressInput!) {
|
|
180
|
+
tecUpdateProgress(input: $input) { ...EnrollmentFull }
|
|
181
|
+
}
|
|
182
|
+
`,w=`
|
|
183
|
+
${r}
|
|
184
|
+
query TecMentor($id: ID!) { tecMentor(id: $id) { ...MentorFull } }
|
|
185
|
+
`,q=`
|
|
186
|
+
${d}
|
|
187
|
+
query TecListMentors($status: TecMentorStatus, $pagination: PaginationInput) {
|
|
188
|
+
tecListMentors(status: $status, pagination: $pagination) {
|
|
189
|
+
items { ...MentorScalars }
|
|
190
|
+
pageInfo { cursor hasMore }
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
`,D=`
|
|
194
|
+
${r}
|
|
195
|
+
mutation TecBecomeMentor($input: TecCreateMentorInput!) {
|
|
196
|
+
tecBecomeMentor(input: $input) { ...MentorFull }
|
|
197
|
+
}
|
|
198
|
+
`,B=`
|
|
199
|
+
${r}
|
|
200
|
+
mutation TecUpdateMentor($id: ID!, $input: TecUpdateMentorInput!) {
|
|
201
|
+
tecUpdateMentor(id: $id, input: $input) { ...MentorFull }
|
|
202
|
+
}
|
|
203
|
+
`,v=`
|
|
204
|
+
${r}
|
|
205
|
+
mutation TecApproveMentor($id: ID!) { tecApproveMentor(id: $id) { ...MentorFull } }
|
|
206
|
+
`,G=`
|
|
207
|
+
${S}
|
|
208
|
+
query TecListSessions($mentorId: ID, $menteeId: ID, $status: TecSessionStatus) {
|
|
209
|
+
tecListSessions(mentorId: $mentorId, menteeId: $menteeId, status: $status) {
|
|
210
|
+
...SessionScalars
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
`,j=`
|
|
214
|
+
${i}
|
|
215
|
+
mutation TecBookSession($input: TecBookSessionInput!) {
|
|
216
|
+
tecBookSession(input: $input) { ...SessionFull }
|
|
217
|
+
}
|
|
218
|
+
`,K=`
|
|
219
|
+
${i}
|
|
220
|
+
mutation TecConfirmSession($id: ID!, $meetingUrl: String) {
|
|
221
|
+
tecConfirmSession(id: $id, meetingUrl: $meetingUrl) { ...SessionFull }
|
|
222
|
+
}
|
|
223
|
+
`,V=`
|
|
224
|
+
${i}
|
|
225
|
+
mutation TecCancelSession($id: ID!) { tecCancelSession(id: $id) { ...SessionFull } }
|
|
226
|
+
`,z=`
|
|
227
|
+
${i}
|
|
228
|
+
mutation TecCompleteSession($id: ID!, $rating: Int, $feedback: String) {
|
|
229
|
+
tecCompleteSession(id: $id, rating: $rating, feedback: $feedback) { ...SessionFull }
|
|
230
|
+
}
|
|
231
|
+
`,J=`
|
|
232
|
+
${u}
|
|
233
|
+
query TecProblem($id: ID!) { tecProblem(id: $id) { ...ProblemFull } }
|
|
234
|
+
`,Q=`
|
|
235
|
+
${I}
|
|
236
|
+
query TecListProblems(
|
|
237
|
+
$difficulty: TecProblemDifficulty
|
|
238
|
+
$status: TecProblemStatus
|
|
239
|
+
$topic: String
|
|
240
|
+
$pagination: PaginationInput
|
|
241
|
+
) {
|
|
242
|
+
tecListProblems(
|
|
243
|
+
difficulty: $difficulty
|
|
244
|
+
status: $status
|
|
245
|
+
topic: $topic
|
|
246
|
+
pagination: $pagination
|
|
247
|
+
) {
|
|
248
|
+
items { ...ProblemScalars }
|
|
249
|
+
pageInfo { cursor hasMore }
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
`,W=`
|
|
253
|
+
${u}
|
|
254
|
+
mutation TecCreateProblem($input: TecCreateProblemInput!) {
|
|
255
|
+
tecCreateProblem(input: $input) { ...ProblemFull }
|
|
256
|
+
}
|
|
257
|
+
`,X=`
|
|
258
|
+
${u}
|
|
259
|
+
mutation TecUpdateProblem($id: ID!, $input: TecUpdateProblemInput!) {
|
|
260
|
+
tecUpdateProblem(id: $id, input: $input) { ...ProblemFull }
|
|
261
|
+
}
|
|
262
|
+
`,Y=`
|
|
263
|
+
${u}
|
|
264
|
+
mutation TecPublishProblem($id: ID!) { tecPublishProblem(id: $id) { ...ProblemFull } }
|
|
265
|
+
`,Z=`
|
|
266
|
+
${C}
|
|
267
|
+
query TecListSubmissions($problemId: ID, $learnerId: ID, $pagination: PaginationInput) {
|
|
268
|
+
tecListSubmissions(problemId: $problemId, learnerId: $learnerId, pagination: $pagination) {
|
|
269
|
+
items { ...SubmissionScalars }
|
|
270
|
+
pageInfo { cursor hasMore }
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
`,ee=`
|
|
274
|
+
${g}
|
|
275
|
+
mutation TecSubmitSolution($input: TecSubmitSolutionInput!) {
|
|
276
|
+
tecSubmitSolution(input: $input) { ...SubmissionFull }
|
|
277
|
+
}
|
|
278
|
+
`,te=`
|
|
279
|
+
${g}
|
|
280
|
+
mutation TecGradeSubmission($id: ID!, $verdict: TecSubmissionVerdict!, $runtimeMs: Int) {
|
|
281
|
+
tecGradeSubmission(id: $id, verdict: $verdict, runtimeMs: $runtimeMs) { ...SubmissionFull }
|
|
282
|
+
}
|
|
283
|
+
`,se=`
|
|
284
|
+
${p}
|
|
285
|
+
query TecHackathon($id: ID!) { tecHackathon(id: $id) { ...HackathonFull } }
|
|
286
|
+
`,ne=`
|
|
287
|
+
${h}
|
|
288
|
+
query TecListHackathons($status: TecHackathonStatus, $pagination: PaginationInput) {
|
|
289
|
+
tecListHackathons(status: $status, pagination: $pagination) {
|
|
290
|
+
items { ...HackathonScalars }
|
|
291
|
+
pageInfo { cursor hasMore }
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
`,oe=`
|
|
295
|
+
${p}
|
|
296
|
+
mutation TecCreateHackathon($input: TecCreateHackathonInput!) {
|
|
297
|
+
tecCreateHackathon(input: $input) { ...HackathonFull }
|
|
298
|
+
}
|
|
299
|
+
`,ae=`
|
|
300
|
+
${p}
|
|
301
|
+
mutation TecUpdateHackathon($id: ID!, $input: TecUpdateHackathonInput!) {
|
|
302
|
+
tecUpdateHackathon(id: $id, input: $input) { ...HackathonFull }
|
|
303
|
+
}
|
|
304
|
+
`,ce=`
|
|
305
|
+
${p}
|
|
306
|
+
mutation TecOpenRegistration($id: ID!) { tecOpenRegistration(id: $id) { ...HackathonFull } }
|
|
307
|
+
`,re=`
|
|
308
|
+
${$}
|
|
309
|
+
query TecListTeams($hackathonId: ID!) {
|
|
310
|
+
tecListTeams(hackathonId: $hackathonId) { ...TeamScalars }
|
|
311
|
+
}
|
|
312
|
+
`,ie=`
|
|
313
|
+
${P}
|
|
314
|
+
mutation TecRegisterTeam($input: TecRegisterTeamInput!) {
|
|
315
|
+
tecRegisterTeam(input: $input) { ...TeamFull }
|
|
316
|
+
}
|
|
317
|
+
`,ue=`
|
|
318
|
+
${P}
|
|
319
|
+
mutation TecSubmitProject($input: TecSubmitProjectInput!) {
|
|
320
|
+
tecSubmitProject(input: $input) { ...TeamFull }
|
|
321
|
+
}
|
|
322
|
+
`,pe=`
|
|
323
|
+
${P}
|
|
324
|
+
mutation TecScoreTeam($id: ID!, $score: Int!, $winner: Boolean) {
|
|
325
|
+
tecScoreTeam(id: $id, score: $score, winner: $winner) { ...TeamFull }
|
|
326
|
+
}
|
|
327
|
+
`,Te=`
|
|
328
|
+
${E}
|
|
329
|
+
query TecListCertificates($courseId: ID, $learnerId: ID) {
|
|
330
|
+
tecListCertificates(courseId: $courseId, learnerId: $learnerId) { ...CertificateFields }
|
|
331
|
+
}
|
|
332
|
+
`,me=`
|
|
333
|
+
${E}
|
|
334
|
+
mutation TecIssueCertificate($courseId: ID!, $learnerId: ID!, $score: Int!) {
|
|
335
|
+
tecIssueCertificate(courseId: $courseId, learnerId: $learnerId, score: $score) {
|
|
336
|
+
...CertificateFields
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
`,le=`
|
|
340
|
+
${E}
|
|
341
|
+
mutation TecRevokeCertificate($id: ID!, $reason: String) {
|
|
342
|
+
tecRevokeCertificate(id: $id, reason: $reason) { ...CertificateFields }
|
|
343
|
+
}
|
|
344
|
+
`,de="query TecHealth { tecHealth }";function Se(T){let{workspace:s}=T.gql;return {courses:{async get(e){return (await s.request(M,{id:e})).tecCourse},async list(e,t,n){return (await s.request(k,{level:e,status:t,pagination:n})).tecListCourses},async create(e){return (await s.request(R,{input:e})).tecCreateCourse},async update(e,t){return (await s.request(O,{id:e,input:t})).tecUpdateCourse},async publish(e){return (await s.request(f,{id:e})).tecPublishCourse},async archive(e){return (await s.request(H,{id:e})).tecArchiveCourse}},lessons:{async list(e){return (await s.request(U,{courseId:e})).tecListLessons},async create(e){return (await s.request(_,{input:e})).tecCreateLesson},async update(e,t){return (await s.request(y,{id:e,input:t})).tecUpdateLesson}},enrollments:{async list(e,t,n){return (await s.request(N,{courseId:e,learnerId:t,pagination:n})).tecListEnrollments},async enroll(e){return (await s.request(x,{input:e})).tecEnroll},async updateProgress(e){return (await s.request(F,{input:e})).tecUpdateProgress}},mentors:{async get(e){return (await s.request(w,{id:e})).tecMentor},async list(e,t){return (await s.request(q,{status:e,pagination:t})).tecListMentors},async become(e){return (await s.request(D,{input:e})).tecBecomeMentor},async update(e,t){return (await s.request(B,{id:e,input:t})).tecUpdateMentor},async approve(e){return (await s.request(v,{id:e})).tecApproveMentor}},sessions:{async list(e,t,n){return (await s.request(G,{mentorId:e,menteeId:t,status:n})).tecListSessions},async book(e){return (await s.request(j,{input:e})).tecBookSession},async confirm(e,t){return (await s.request(K,{id:e,meetingUrl:t})).tecConfirmSession},async cancel(e){return (await s.request(V,{id:e})).tecCancelSession},async complete(e,t,n){return (await s.request(z,{id:e,rating:t,feedback:n})).tecCompleteSession}},problems:{async get(e){return (await s.request(J,{id:e})).tecProblem},async list(e,t,n,o){return (await s.request(Q,{difficulty:e,status:t,topic:n,pagination:o})).tecListProblems},async create(e){return (await s.request(W,{input:e})).tecCreateProblem},async update(e,t){return (await s.request(X,{id:e,input:t})).tecUpdateProblem},async publish(e){return (await s.request(Y,{id:e})).tecPublishProblem}},submissions:{async list(e,t,n){return (await s.request(Z,{problemId:e,learnerId:t,pagination:n})).tecListSubmissions},async submit(e){return (await s.request(ee,{input:e})).tecSubmitSolution},async grade(e,t,n){return (await s.request(te,{id:e,verdict:t,runtimeMs:n})).tecGradeSubmission}},hackathons:{async get(e){return (await s.request(se,{id:e})).tecHackathon},async list(e,t){return (await s.request(ne,{status:e,pagination:t})).tecListHackathons},async create(e){return (await s.request(oe,{input:e})).tecCreateHackathon},async update(e,t){return (await s.request(ae,{id:e,input:t})).tecUpdateHackathon},async openRegistration(e){return (await s.request(ce,{id:e})).tecOpenRegistration}},teams:{async list(e){return (await s.request(re,{hackathonId:e})).tecListTeams},async register(e){return (await s.request(ie,{input:e})).tecRegisterTeam},async submitProject(e){return (await s.request(ue,{input:e})).tecSubmitProject},async score(e,t,n){return (await s.request(pe,{id:e,score:t,winner:n})).tecScoreTeam}},certificates:{async list(e,t){return (await s.request(Te,{courseId:e,learnerId:t})).tecListCertificates},async issue(e,t,n){return (await s.request(me,{courseId:e,learnerId:t,score:n})).tecIssueCertificate},async revoke(e,t){return (await s.request(le,{id:e,reason:t})).tecRevokeCertificate}},health:{async check(){return (await s.request(de)).tecHealth}}}}var Ie={id:"technospam",version:"1.0.0",displayName:"Technospam",dependsOn:["auth"],attach(T){return Se(T)}},Ne=Ie;module.exports=Ne;
|