@burdenoff/sdk-libs 2026.627.2 → 2026.627.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modules/artistrybase/index.cjs +351 -0
- package/dist/modules/artistrybase/index.d.cts +469 -0
- package/dist/modules/artistrybase/index.d.ts +469 -0
- package/dist/modules/artistrybase/index.js +351 -0
- package/dist/modules/brainyrich/index.cjs +355 -0
- package/dist/modules/brainyrich/index.d.cts +483 -0
- package/dist/modules/brainyrich/index.d.ts +483 -0
- package/dist/modules/brainyrich/index.js +355 -0
- package/dist/modules/buildmyiq/index.cjs +259 -0
- package/dist/modules/buildmyiq/index.d.cts +384 -0
- package/dist/modules/buildmyiq/index.d.ts +384 -0
- package/dist/modules/buildmyiq/index.js +259 -0
- package/dist/modules/collabkin/index.cjs +238 -0
- package/dist/modules/collabkin/index.d.cts +340 -0
- package/dist/modules/collabkin/index.d.ts +340 -0
- package/dist/modules/collabkin/index.js +238 -0
- package/dist/modules/comradecircle/index.cjs +311 -0
- package/dist/modules/comradecircle/index.d.cts +390 -0
- package/dist/modules/comradecircle/index.d.ts +390 -0
- package/dist/modules/comradecircle/index.js +311 -0
- package/dist/modules/cosmicintersection/index.cjs +340 -0
- package/dist/modules/cosmicintersection/index.d.cts +450 -0
- package/dist/modules/cosmicintersection/index.d.ts +450 -0
- package/dist/modules/cosmicintersection/index.js +340 -0
- package/dist/modules/ecoimpacthub/index.cjs +350 -0
- package/dist/modules/ecoimpacthub/index.d.cts +478 -0
- package/dist/modules/ecoimpacthub/index.d.ts +478 -0
- package/dist/modules/ecoimpacthub/index.js +350 -0
- package/dist/modules/govcitizenhub/index.cjs +296 -0
- package/dist/modules/govcitizenhub/index.d.cts +349 -0
- package/dist/modules/govcitizenhub/index.d.ts +349 -0
- package/dist/modules/govcitizenhub/index.js +296 -0
- package/dist/modules/intelwatchtower/index.cjs +406 -0
- package/dist/modules/intelwatchtower/index.d.cts +486 -0
- package/dist/modules/intelwatchtower/index.d.ts +486 -0
- package/dist/modules/intelwatchtower/index.js +406 -0
- package/dist/modules/manufacturedops/index.cjs +335 -0
- package/dist/modules/manufacturedops/index.d.cts +466 -0
- package/dist/modules/manufacturedops/index.d.ts +466 -0
- package/dist/modules/manufacturedops/index.js +335 -0
- package/package.json +1 -1
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
var m=`
|
|
2
|
+
fragment AgencyScalars on GovAgency {
|
|
3
|
+
id name code description jurisdiction
|
|
4
|
+
contactEmail contactPhone isActive
|
|
5
|
+
tags workspaceId createdAt updatedAt
|
|
6
|
+
}
|
|
7
|
+
`,l=`
|
|
8
|
+
fragment ServiceScalars on GovService {
|
|
9
|
+
id agencyId name slug category status summary eligibility
|
|
10
|
+
feeType feeAmount currency slaDays requiredDocuments formSchema publishedAt
|
|
11
|
+
tags workspaceId createdAt updatedAt
|
|
12
|
+
}
|
|
13
|
+
`,A=`
|
|
14
|
+
fragment DocumentFields on GovDocument {
|
|
15
|
+
id applicationId name requirement status rejectionReason
|
|
16
|
+
file { id }
|
|
17
|
+
workspaceId createdAt updatedAt
|
|
18
|
+
}
|
|
19
|
+
`,y=`
|
|
20
|
+
fragment CaseNoteFields on GovCaseNote {
|
|
21
|
+
id applicationId authorId type body workspaceId createdAt updatedAt
|
|
22
|
+
}
|
|
23
|
+
`,r=`
|
|
24
|
+
fragment PermitFields on GovPermit {
|
|
25
|
+
id title serviceId holderId applicationId status verificationCode
|
|
26
|
+
issuedAt expiresAt revokedAt revokeReason
|
|
27
|
+
file { id }
|
|
28
|
+
workspaceId createdAt updatedAt
|
|
29
|
+
}
|
|
30
|
+
`,et=`
|
|
31
|
+
fragment ApplicationScalars on GovApplication {
|
|
32
|
+
id reference serviceId citizenId assignedToId status priority formData
|
|
33
|
+
submittedAt decidedAt decisionReason dueDate
|
|
34
|
+
tags workspaceId createdAt updatedAt
|
|
35
|
+
}
|
|
36
|
+
`,s=`
|
|
37
|
+
fragment GrievanceFields on GovGrievance {
|
|
38
|
+
id title description category status priority reporterId assignedToId agencyId
|
|
39
|
+
location latitude longitude photoFileIds resolution resolvedAt
|
|
40
|
+
tags workspaceId createdAt updatedAt
|
|
41
|
+
}
|
|
42
|
+
`,c=`
|
|
43
|
+
fragment PaymentFields on GovPayment {
|
|
44
|
+
id applicationId payerId amount currency status providerRef receiptNumber
|
|
45
|
+
lineItems paidAt refundedAt workspaceId createdAt updatedAt
|
|
46
|
+
}
|
|
47
|
+
`,u=`
|
|
48
|
+
${m}
|
|
49
|
+
${l}
|
|
50
|
+
fragment AgencyFull on GovAgency {
|
|
51
|
+
...AgencyScalars
|
|
52
|
+
services { ...ServiceScalars }
|
|
53
|
+
}
|
|
54
|
+
`,v=`
|
|
55
|
+
${l}
|
|
56
|
+
${m}
|
|
57
|
+
fragment ServiceFull on GovService {
|
|
58
|
+
...ServiceScalars
|
|
59
|
+
agency { ...AgencyScalars }
|
|
60
|
+
}
|
|
61
|
+
`,a=`
|
|
62
|
+
${et}
|
|
63
|
+
${A}
|
|
64
|
+
${y}
|
|
65
|
+
${r}
|
|
66
|
+
fragment ApplicationFull on GovApplication {
|
|
67
|
+
...ApplicationScalars
|
|
68
|
+
documents { ...DocumentFields }
|
|
69
|
+
notes { ...CaseNoteFields }
|
|
70
|
+
permits { ...PermitFields }
|
|
71
|
+
}
|
|
72
|
+
`,d="pageInfo { cursor hasMore }",P=`
|
|
73
|
+
${u}
|
|
74
|
+
query GovAgency($id: ID!) {
|
|
75
|
+
govAgency(id: $id) { ...AgencyFull }
|
|
76
|
+
}
|
|
77
|
+
`,S=`
|
|
78
|
+
${u}
|
|
79
|
+
query GovListAgencies($isActive: Boolean, $pagination: PaginationInput) {
|
|
80
|
+
govListAgencies(isActive: $isActive, pagination: $pagination) { ...AgencyFull }
|
|
81
|
+
}
|
|
82
|
+
`,$=`
|
|
83
|
+
${u}
|
|
84
|
+
mutation GovCreateAgency($input: GovCreateAgencyInput!) {
|
|
85
|
+
govCreateAgency(input: $input) { ...AgencyFull }
|
|
86
|
+
}
|
|
87
|
+
`,C=`
|
|
88
|
+
${u}
|
|
89
|
+
mutation GovUpdateAgency($id: ID!, $input: GovUpdateAgencyInput!) {
|
|
90
|
+
govUpdateAgency(id: $id, input: $input) { ...AgencyFull }
|
|
91
|
+
}
|
|
92
|
+
`,E=`
|
|
93
|
+
mutation GovArchiveAgency($id: ID!) {
|
|
94
|
+
govArchiveAgency(id: $id)
|
|
95
|
+
}
|
|
96
|
+
`,T=`
|
|
97
|
+
${v}
|
|
98
|
+
query GovService($id: ID!) {
|
|
99
|
+
govService(id: $id) { ...ServiceFull }
|
|
100
|
+
}
|
|
101
|
+
`,N=`
|
|
102
|
+
${v}
|
|
103
|
+
query GovListServices(
|
|
104
|
+
$agencyId: ID
|
|
105
|
+
$category: GovServiceCategory
|
|
106
|
+
$pagination: PaginationInput
|
|
107
|
+
$status: GovServiceStatus
|
|
108
|
+
) {
|
|
109
|
+
govListServices(
|
|
110
|
+
agencyId: $agencyId
|
|
111
|
+
category: $category
|
|
112
|
+
pagination: $pagination
|
|
113
|
+
status: $status
|
|
114
|
+
) {
|
|
115
|
+
items { ...ServiceFull }
|
|
116
|
+
${d}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
`,R=`
|
|
120
|
+
${v}
|
|
121
|
+
mutation GovCreateService($input: GovCreateServiceInput!) {
|
|
122
|
+
govCreateService(input: $input) { ...ServiceFull }
|
|
123
|
+
}
|
|
124
|
+
`,D=`
|
|
125
|
+
${v}
|
|
126
|
+
mutation GovUpdateService($id: ID!, $input: GovUpdateServiceInput!) {
|
|
127
|
+
govUpdateService(id: $id, input: $input) { ...ServiceFull }
|
|
128
|
+
}
|
|
129
|
+
`,_=`
|
|
130
|
+
${v}
|
|
131
|
+
mutation GovTransitionService($id: ID!, $status: GovServiceStatus!) {
|
|
132
|
+
govTransitionService(id: $id, status: $status) { ...ServiceFull }
|
|
133
|
+
}
|
|
134
|
+
`,L=`
|
|
135
|
+
${a}
|
|
136
|
+
query GovApplication($id: ID!) {
|
|
137
|
+
govApplication(id: $id) { ...ApplicationFull }
|
|
138
|
+
}
|
|
139
|
+
`,f=`
|
|
140
|
+
${a}
|
|
141
|
+
query GovListApplications(
|
|
142
|
+
$assignedToId: ID
|
|
143
|
+
$citizenId: ID
|
|
144
|
+
$pagination: PaginationInput
|
|
145
|
+
$serviceId: ID
|
|
146
|
+
$status: GovApplicationStatus
|
|
147
|
+
) {
|
|
148
|
+
govListApplications(
|
|
149
|
+
assignedToId: $assignedToId
|
|
150
|
+
citizenId: $citizenId
|
|
151
|
+
pagination: $pagination
|
|
152
|
+
serviceId: $serviceId
|
|
153
|
+
status: $status
|
|
154
|
+
) {
|
|
155
|
+
items { ...ApplicationFull }
|
|
156
|
+
${d}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
`,F=`
|
|
160
|
+
${a}
|
|
161
|
+
mutation GovCreateApplication($input: GovCreateApplicationInput!) {
|
|
162
|
+
govCreateApplication(input: $input) { ...ApplicationFull }
|
|
163
|
+
}
|
|
164
|
+
`,U=`
|
|
165
|
+
${a}
|
|
166
|
+
mutation GovUpdateApplication($id: ID!, $input: GovUpdateApplicationInput!) {
|
|
167
|
+
govUpdateApplication(id: $id, input: $input) { ...ApplicationFull }
|
|
168
|
+
}
|
|
169
|
+
`,x=`
|
|
170
|
+
${a}
|
|
171
|
+
mutation GovSubmitApplication($id: ID!) {
|
|
172
|
+
govSubmitApplication(id: $id) { ...ApplicationFull }
|
|
173
|
+
}
|
|
174
|
+
`,q=`
|
|
175
|
+
${a}
|
|
176
|
+
mutation GovTransitionApplication($id: ID!, $status: GovApplicationStatus!, $reason: String) {
|
|
177
|
+
govTransitionApplication(id: $id, status: $status, reason: $reason) { ...ApplicationFull }
|
|
178
|
+
}
|
|
179
|
+
`,w=`
|
|
180
|
+
${A}
|
|
181
|
+
mutation GovAddDocument($input: GovAddDocumentInput!) {
|
|
182
|
+
govAddDocument(input: $input) { ...DocumentFields }
|
|
183
|
+
}
|
|
184
|
+
`,M=`
|
|
185
|
+
${A}
|
|
186
|
+
mutation GovReviewDocument($id: ID!, $status: GovDocumentStatus!, $rejectionReason: String) {
|
|
187
|
+
govReviewDocument(id: $id, status: $status, rejectionReason: $rejectionReason) {
|
|
188
|
+
...DocumentFields
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
`,V=`
|
|
192
|
+
${y}
|
|
193
|
+
mutation GovAddCaseNote($input: GovAddCaseNoteInput!) {
|
|
194
|
+
govAddCaseNote(input: $input) { ...CaseNoteFields }
|
|
195
|
+
}
|
|
196
|
+
`,h=`
|
|
197
|
+
${s}
|
|
198
|
+
query GovGrievance($id: ID!) {
|
|
199
|
+
govGrievance(id: $id) { ...GrievanceFields }
|
|
200
|
+
}
|
|
201
|
+
`,O=`
|
|
202
|
+
${s}
|
|
203
|
+
query GovListGrievances(
|
|
204
|
+
$agencyId: ID
|
|
205
|
+
$pagination: PaginationInput
|
|
206
|
+
$reporterId: ID
|
|
207
|
+
$status: GovGrievanceStatus
|
|
208
|
+
) {
|
|
209
|
+
govListGrievances(
|
|
210
|
+
agencyId: $agencyId
|
|
211
|
+
pagination: $pagination
|
|
212
|
+
reporterId: $reporterId
|
|
213
|
+
status: $status
|
|
214
|
+
) {
|
|
215
|
+
items { ...GrievanceFields }
|
|
216
|
+
${d}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
`,k=`
|
|
220
|
+
${s}
|
|
221
|
+
mutation GovReportGrievance($input: GovReportGrievanceInput!) {
|
|
222
|
+
govReportGrievance(input: $input) { ...GrievanceFields }
|
|
223
|
+
}
|
|
224
|
+
`,b=`
|
|
225
|
+
${s}
|
|
226
|
+
mutation GovUpdateGrievance($id: ID!, $input: GovUpdateGrievanceInput!) {
|
|
227
|
+
govUpdateGrievance(id: $id, input: $input) { ...GrievanceFields }
|
|
228
|
+
}
|
|
229
|
+
`,Y=`
|
|
230
|
+
${s}
|
|
231
|
+
mutation GovTransitionGrievance($id: ID!, $status: GovGrievanceStatus!, $resolution: String) {
|
|
232
|
+
govTransitionGrievance(id: $id, status: $status, resolution: $resolution) {
|
|
233
|
+
...GrievanceFields
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
`,z=`
|
|
237
|
+
${r}
|
|
238
|
+
query GovListPermits($holderId: ID, $serviceId: ID, $status: GovPermitStatus) {
|
|
239
|
+
govListPermits(holderId: $holderId, serviceId: $serviceId, status: $status) {
|
|
240
|
+
...PermitFields
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
`,H=`
|
|
244
|
+
${r}
|
|
245
|
+
mutation GovIssuePermit($input: GovIssuePermitInput!) {
|
|
246
|
+
govIssuePermit(input: $input) { ...PermitFields }
|
|
247
|
+
}
|
|
248
|
+
`,j=`
|
|
249
|
+
${r}
|
|
250
|
+
mutation GovRevokePermit($id: ID!, $reason: String) {
|
|
251
|
+
govRevokePermit(id: $id, reason: $reason) { ...PermitFields }
|
|
252
|
+
}
|
|
253
|
+
`,K=`
|
|
254
|
+
${r}
|
|
255
|
+
query GovVerifyPermit($verificationCode: String!) {
|
|
256
|
+
govVerifyPermit(verificationCode: $verificationCode) { ...PermitFields }
|
|
257
|
+
}
|
|
258
|
+
`,B=`
|
|
259
|
+
${c}
|
|
260
|
+
query GovPayment($id: ID!) {
|
|
261
|
+
govPayment(id: $id) { ...PaymentFields }
|
|
262
|
+
}
|
|
263
|
+
`,W=`
|
|
264
|
+
${c}
|
|
265
|
+
query GovListPayments(
|
|
266
|
+
$applicationId: ID
|
|
267
|
+
$pagination: PaginationInput
|
|
268
|
+
$payerId: ID
|
|
269
|
+
$status: GovPaymentStatus
|
|
270
|
+
) {
|
|
271
|
+
govListPayments(
|
|
272
|
+
applicationId: $applicationId
|
|
273
|
+
pagination: $pagination
|
|
274
|
+
payerId: $payerId
|
|
275
|
+
status: $status
|
|
276
|
+
) {
|
|
277
|
+
items { ...PaymentFields }
|
|
278
|
+
${d}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
`,J=`
|
|
282
|
+
${c}
|
|
283
|
+
mutation GovCreatePayment($input: GovCreatePaymentInput!) {
|
|
284
|
+
govCreatePayment(input: $input) { ...PaymentFields }
|
|
285
|
+
}
|
|
286
|
+
`,Q=`
|
|
287
|
+
${c}
|
|
288
|
+
mutation GovMarkPaymentPaid($id: ID!, $providerRef: String) {
|
|
289
|
+
govMarkPaymentPaid(id: $id, providerRef: $providerRef) { ...PaymentFields }
|
|
290
|
+
}
|
|
291
|
+
`,X=`
|
|
292
|
+
${c}
|
|
293
|
+
mutation GovRefundPayment($id: ID!) {
|
|
294
|
+
govRefundPayment(id: $id) { ...PaymentFields }
|
|
295
|
+
}
|
|
296
|
+
`,Z="query GovHealth { govHealth }";function tt(G){let{workspace:i}=G.gql;return {agencies:{async get(t){return (await i.request(P,{id:t})).govAgency},async list(t,e){return (await i.request(S,{isActive:t,pagination:e})).govListAgencies},async create(t){return (await i.request($,{input:t})).govCreateAgency},async update(t,e){return (await i.request(C,{id:t,input:e})).govUpdateAgency},async archive(t){return (await i.request(E,{id:t})).govArchiveAgency}},services:{async get(t){return (await i.request(T,{id:t})).govService},async list(t,e,o,n){return (await i.request(N,{agencyId:t,category:e,pagination:o,status:n})).govListServices},async create(t){return (await i.request(R,{input:t})).govCreateService},async update(t,e){return (await i.request(D,{id:t,input:e})).govUpdateService},async transition(t,e){return (await i.request(_,{id:t,status:e})).govTransitionService}},applications:{async get(t){return (await i.request(L,{id:t})).govApplication},async list(t,e,o,n,p){return (await i.request(f,{assignedToId:t,citizenId:e,pagination:o,serviceId:n,status:p})).govListApplications},async create(t){return (await i.request(F,{input:t})).govCreateApplication},async update(t,e){return (await i.request(U,{id:t,input:e})).govUpdateApplication},async submit(t){return (await i.request(x,{id:t})).govSubmitApplication},async transition(t,e,o){return (await i.request(q,{id:t,status:e,reason:o})).govTransitionApplication}},documents:{async add(t){return (await i.request(w,{input:t})).govAddDocument},async review(t,e,o){return (await i.request(M,{id:t,status:e,rejectionReason:o})).govReviewDocument}},caseNotes:{async add(t){return (await i.request(V,{input:t})).govAddCaseNote}},grievances:{async get(t){return (await i.request(h,{id:t})).govGrievance},async list(t,e,o,n){return (await i.request(O,{agencyId:t,pagination:e,reporterId:o,status:n})).govListGrievances},async report(t){return (await i.request(k,{input:t})).govReportGrievance},async update(t,e){return (await i.request(b,{id:t,input:e})).govUpdateGrievance},async transition(t,e,o){return (await i.request(Y,{id:t,status:e,resolution:o})).govTransitionGrievance}},permits:{async list(t,e,o){return (await i.request(z,{holderId:t,serviceId:e,status:o})).govListPermits},async issue(t){return (await i.request(H,{input:t})).govIssuePermit},async revoke(t,e){return (await i.request(j,{id:t,reason:e})).govRevokePermit},async verify(t){return (await i.request(K,{verificationCode:t})).govVerifyPermit}},payments:{async get(t){return (await i.request(B,{id:t})).govPayment},async list(t,e,o,n){return (await i.request(W,{applicationId:t,pagination:e,payerId:o,status:n})).govListPayments},async create(t){return (await i.request(J,{input:t})).govCreatePayment},async markPaid(t,e){return (await i.request(Q,{id:t,providerRef:e})).govMarkPaymentPaid},async refund(t){return (await i.request(X,{id:t})).govRefundPayment}},system:{async health(){return (await i.request(Z)).govHealth}}}}var it={id:"govcitizenhub",version:"1.0.0",displayName:"GovCitizenHub",dependsOn:["auth"],attach(G){return tt(G)}},yt=it;export{yt as default};
|
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
'use strict';var r=`
|
|
2
|
+
fragment SourceScalars on IntSource {
|
|
3
|
+
id name codename description discipline status classification
|
|
4
|
+
region reliability operatorId lastSeenAt
|
|
5
|
+
tags workspaceId createdAt updatedAt
|
|
6
|
+
}
|
|
7
|
+
`,g=`
|
|
8
|
+
fragment FeedScalars on IntFeed {
|
|
9
|
+
id name endpoint format status ingestCount lastIngestAt
|
|
10
|
+
sourceId workspaceId createdAt updatedAt
|
|
11
|
+
}
|
|
12
|
+
`,l=`
|
|
13
|
+
fragment EntityScalars on IntEntity {
|
|
14
|
+
id name type classification confidence description
|
|
15
|
+
aliases attributes latitude longitude threatScore
|
|
16
|
+
tags lastSeenAt workspaceId createdAt updatedAt
|
|
17
|
+
}
|
|
18
|
+
`,S=`
|
|
19
|
+
fragment IndicatorScalars on IntIndicator {
|
|
20
|
+
id type value classification confidence description isActive
|
|
21
|
+
validFrom validUntil entityId workspaceId createdAt updatedAt
|
|
22
|
+
}
|
|
23
|
+
`,A=`
|
|
24
|
+
fragment MissionScalars on IntMission {
|
|
25
|
+
id name codename objective status classification commanderId
|
|
26
|
+
startAt endAt tags workspaceId createdAt updatedAt
|
|
27
|
+
}
|
|
28
|
+
`,L=`
|
|
29
|
+
fragment CaseScalars on IntCase {
|
|
30
|
+
id title summary reference status priority classification
|
|
31
|
+
leadAnalystId missionId openedAt closedAt
|
|
32
|
+
tags workspaceId createdAt updatedAt
|
|
33
|
+
}
|
|
34
|
+
`,_=`
|
|
35
|
+
fragment CaseEntryFields on IntCaseEntry {
|
|
36
|
+
id body kind caseId
|
|
37
|
+
file { id }
|
|
38
|
+
workspaceId createdAt updatedAt
|
|
39
|
+
}
|
|
40
|
+
`,q=`
|
|
41
|
+
fragment RequirementScalars on IntCollectionRequirement {
|
|
42
|
+
id title description status priority classification
|
|
43
|
+
missionId requestedById dueDate satisfiedAt
|
|
44
|
+
tags workspaceId createdAt updatedAt
|
|
45
|
+
}
|
|
46
|
+
`,C=`
|
|
47
|
+
fragment TaskScalars on IntCollectionTask {
|
|
48
|
+
id status instructions resultSummary requirementId sourceId
|
|
49
|
+
startAt endAt dispatchedAt completedAt
|
|
50
|
+
workspaceId createdAt updatedAt
|
|
51
|
+
}
|
|
52
|
+
`,lt=`
|
|
53
|
+
fragment ObservationScalars on IntObservation {
|
|
54
|
+
id summary payload classification entityId sourceId taskId
|
|
55
|
+
latitude longitude observedAt workspaceId createdAt updatedAt
|
|
56
|
+
}
|
|
57
|
+
`,O=`
|
|
58
|
+
fragment ReportScalars on IntReport {
|
|
59
|
+
id title summary body type status classification
|
|
60
|
+
authorId caseId missionId releasedAt
|
|
61
|
+
file { id }
|
|
62
|
+
tags workspaceId createdAt updatedAt
|
|
63
|
+
}
|
|
64
|
+
`,E=`
|
|
65
|
+
fragment AlertScalars on IntAlert {
|
|
66
|
+
id title description severity status classification detectedAt resolvedAt
|
|
67
|
+
entityId indicatorId caseId missionId assignedToId triageNotes
|
|
68
|
+
workspaceId createdAt updatedAt
|
|
69
|
+
}
|
|
70
|
+
`,o=`
|
|
71
|
+
${r}
|
|
72
|
+
${g}
|
|
73
|
+
${C}
|
|
74
|
+
fragment SourceFull on IntSource {
|
|
75
|
+
...SourceScalars
|
|
76
|
+
feeds { ...FeedScalars }
|
|
77
|
+
tasks { ...TaskScalars }
|
|
78
|
+
}
|
|
79
|
+
`,St=`
|
|
80
|
+
${g}
|
|
81
|
+
${r}
|
|
82
|
+
fragment FeedFull on IntFeed {
|
|
83
|
+
...FeedScalars
|
|
84
|
+
source { ...SourceScalars }
|
|
85
|
+
}
|
|
86
|
+
`,I=`
|
|
87
|
+
${l}
|
|
88
|
+
${S}
|
|
89
|
+
${E}
|
|
90
|
+
fragment EntityFull on IntEntity {
|
|
91
|
+
...EntityScalars
|
|
92
|
+
indicators { ...IndicatorScalars }
|
|
93
|
+
alerts { ...AlertScalars }
|
|
94
|
+
}
|
|
95
|
+
`,R=`
|
|
96
|
+
${S}
|
|
97
|
+
${l}
|
|
98
|
+
fragment IndicatorFull on IntIndicator {
|
|
99
|
+
...IndicatorScalars
|
|
100
|
+
entity { ...EntityScalars }
|
|
101
|
+
}
|
|
102
|
+
`,u=`
|
|
103
|
+
${A}
|
|
104
|
+
${L}
|
|
105
|
+
${O}
|
|
106
|
+
fragment MissionFull on IntMission {
|
|
107
|
+
...MissionScalars
|
|
108
|
+
cases { ...CaseScalars }
|
|
109
|
+
reports { ...ReportScalars }
|
|
110
|
+
}
|
|
111
|
+
`,c=`
|
|
112
|
+
${L}
|
|
113
|
+
${E}
|
|
114
|
+
${_}
|
|
115
|
+
${A}
|
|
116
|
+
fragment CaseFull on IntCase {
|
|
117
|
+
...CaseScalars
|
|
118
|
+
alerts { ...AlertScalars }
|
|
119
|
+
entries { ...CaseEntryFields }
|
|
120
|
+
mission { ...MissionScalars }
|
|
121
|
+
}
|
|
122
|
+
`,F=`
|
|
123
|
+
${q}
|
|
124
|
+
${C}
|
|
125
|
+
fragment RequirementFull on IntCollectionRequirement {
|
|
126
|
+
...RequirementScalars
|
|
127
|
+
tasks { ...TaskScalars }
|
|
128
|
+
}
|
|
129
|
+
`,y=`
|
|
130
|
+
${C}
|
|
131
|
+
${q}
|
|
132
|
+
${r}
|
|
133
|
+
fragment TaskFull on IntCollectionTask {
|
|
134
|
+
...TaskScalars
|
|
135
|
+
requirement { ...RequirementScalars }
|
|
136
|
+
source { ...SourceScalars }
|
|
137
|
+
}
|
|
138
|
+
`,f=`
|
|
139
|
+
${lt}
|
|
140
|
+
${r}
|
|
141
|
+
fragment ObservationFull on IntObservation {
|
|
142
|
+
...ObservationScalars
|
|
143
|
+
source { ...SourceScalars }
|
|
144
|
+
}
|
|
145
|
+
`,T=`
|
|
146
|
+
${O}
|
|
147
|
+
${A}
|
|
148
|
+
fragment ReportFull on IntReport {
|
|
149
|
+
...ReportScalars
|
|
150
|
+
mission { ...MissionScalars }
|
|
151
|
+
}
|
|
152
|
+
`,$=`
|
|
153
|
+
${E}
|
|
154
|
+
${l}
|
|
155
|
+
${S}
|
|
156
|
+
fragment AlertFull on IntAlert {
|
|
157
|
+
...AlertScalars
|
|
158
|
+
entity { ...EntityScalars }
|
|
159
|
+
indicator { ...IndicatorScalars }
|
|
160
|
+
}
|
|
161
|
+
`,a="pageInfo { cursor hasMore }",k=`
|
|
162
|
+
${o}
|
|
163
|
+
query IntSource($id: ID!) {
|
|
164
|
+
intSource(id: $id) { ...SourceFull }
|
|
165
|
+
}
|
|
166
|
+
`,M=`
|
|
167
|
+
${o}
|
|
168
|
+
query IntListSources(
|
|
169
|
+
$discipline: IntSourceDiscipline
|
|
170
|
+
$pagination: PaginationInput
|
|
171
|
+
$status: IntSourceStatus
|
|
172
|
+
) {
|
|
173
|
+
intListSources(discipline: $discipline, pagination: $pagination, status: $status) {
|
|
174
|
+
items { ...SourceFull }
|
|
175
|
+
${a}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
`,w=`
|
|
179
|
+
${o}
|
|
180
|
+
mutation IntCreateSource($input: IntCreateSourceInput!) {
|
|
181
|
+
intCreateSource(input: $input) { ...SourceFull }
|
|
182
|
+
}
|
|
183
|
+
`,P=`
|
|
184
|
+
${o}
|
|
185
|
+
mutation IntUpdateSource($id: ID!, $input: IntUpdateSourceInput!) {
|
|
186
|
+
intUpdateSource(id: $id, input: $input) { ...SourceFull }
|
|
187
|
+
}
|
|
188
|
+
`,N=`
|
|
189
|
+
mutation IntRetireSource($id: ID!) {
|
|
190
|
+
intRetireSource(id: $id)
|
|
191
|
+
}
|
|
192
|
+
`,v=`
|
|
193
|
+
${St}
|
|
194
|
+
mutation IntCreateFeed($input: IntCreateFeedInput!) {
|
|
195
|
+
intCreateFeed(input: $input) { ...FeedFull }
|
|
196
|
+
}
|
|
197
|
+
`,D=`
|
|
198
|
+
${I}
|
|
199
|
+
query IntEntity($id: ID!) {
|
|
200
|
+
intEntity(id: $id) { ...EntityFull }
|
|
201
|
+
}
|
|
202
|
+
`,x=`
|
|
203
|
+
${I}
|
|
204
|
+
query IntListEntities(
|
|
205
|
+
$confidence: IntConfidence
|
|
206
|
+
$pagination: PaginationInput
|
|
207
|
+
$type: IntEntityType
|
|
208
|
+
) {
|
|
209
|
+
intListEntities(confidence: $confidence, pagination: $pagination, type: $type) {
|
|
210
|
+
items { ...EntityFull }
|
|
211
|
+
${a}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
`,U=`
|
|
215
|
+
${I}
|
|
216
|
+
mutation IntCreateEntity($input: IntCreateEntityInput!) {
|
|
217
|
+
intCreateEntity(input: $input) { ...EntityFull }
|
|
218
|
+
}
|
|
219
|
+
`,b=`
|
|
220
|
+
${I}
|
|
221
|
+
mutation IntUpdateEntity($id: ID!, $input: IntUpdateEntityInput!) {
|
|
222
|
+
intUpdateEntity(id: $id, input: $input) { ...EntityFull }
|
|
223
|
+
}
|
|
224
|
+
`,h=`
|
|
225
|
+
${R}
|
|
226
|
+
query IntListIndicators($entityId: ID, $isActive: Boolean, $type: IntIndicatorType) {
|
|
227
|
+
intListIndicators(entityId: $entityId, isActive: $isActive, type: $type) {
|
|
228
|
+
...IndicatorFull
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
`,Y=`
|
|
232
|
+
${R}
|
|
233
|
+
mutation IntCreateIndicator($input: IntCreateIndicatorInput!) {
|
|
234
|
+
intCreateIndicator(input: $input) { ...IndicatorFull }
|
|
235
|
+
}
|
|
236
|
+
`,G=`
|
|
237
|
+
${R}
|
|
238
|
+
mutation IntDeactivateIndicator($id: ID!) {
|
|
239
|
+
intDeactivateIndicator(id: $id) { ...IndicatorFull }
|
|
240
|
+
}
|
|
241
|
+
`,B=`
|
|
242
|
+
${u}
|
|
243
|
+
query IntMission($id: ID!) {
|
|
244
|
+
intMission(id: $id) { ...MissionFull }
|
|
245
|
+
}
|
|
246
|
+
`,H=`
|
|
247
|
+
${u}
|
|
248
|
+
query IntListMissions($status: IntMissionStatus) {
|
|
249
|
+
intListMissions(status: $status) { ...MissionFull }
|
|
250
|
+
}
|
|
251
|
+
`,K=`
|
|
252
|
+
${u}
|
|
253
|
+
mutation IntCreateMission($input: IntCreateMissionInput!) {
|
|
254
|
+
intCreateMission(input: $input) { ...MissionFull }
|
|
255
|
+
}
|
|
256
|
+
`,V=`
|
|
257
|
+
${u}
|
|
258
|
+
mutation IntTransitionMission($id: ID!, $status: IntMissionStatus!) {
|
|
259
|
+
intTransitionMission(id: $id, status: $status) { ...MissionFull }
|
|
260
|
+
}
|
|
261
|
+
`,Q=`
|
|
262
|
+
${c}
|
|
263
|
+
query IntCase($id: ID!) {
|
|
264
|
+
intCase(id: $id) { ...CaseFull }
|
|
265
|
+
}
|
|
266
|
+
`,j=`
|
|
267
|
+
${c}
|
|
268
|
+
query IntListCases($missionId: ID, $pagination: PaginationInput, $status: IntCaseStatus) {
|
|
269
|
+
intListCases(missionId: $missionId, pagination: $pagination, status: $status) {
|
|
270
|
+
items { ...CaseFull }
|
|
271
|
+
${a}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
`,W=`
|
|
275
|
+
${c}
|
|
276
|
+
mutation IntCreateCase($input: IntCreateCaseInput!) {
|
|
277
|
+
intCreateCase(input: $input) { ...CaseFull }
|
|
278
|
+
}
|
|
279
|
+
`,z=`
|
|
280
|
+
${_}
|
|
281
|
+
mutation IntAddCaseEntry($input: IntAddCaseEntryInput!) {
|
|
282
|
+
intAddCaseEntry(input: $input) { ...CaseEntryFields }
|
|
283
|
+
}
|
|
284
|
+
`,J=`
|
|
285
|
+
${c}
|
|
286
|
+
mutation IntCloseCase($id: ID!) {
|
|
287
|
+
intCloseCase(id: $id) { ...CaseFull }
|
|
288
|
+
}
|
|
289
|
+
`,X=`
|
|
290
|
+
${F}
|
|
291
|
+
query IntListRequirements($missionId: ID, $status: IntRequirementStatus) {
|
|
292
|
+
intListRequirements(missionId: $missionId, status: $status) { ...RequirementFull }
|
|
293
|
+
}
|
|
294
|
+
`,Z=`
|
|
295
|
+
${F}
|
|
296
|
+
mutation IntCreateRequirement($input: IntCreateRequirementInput!) {
|
|
297
|
+
intCreateRequirement(input: $input) { ...RequirementFull }
|
|
298
|
+
}
|
|
299
|
+
`,tt=`
|
|
300
|
+
${y}
|
|
301
|
+
query IntListTasks(
|
|
302
|
+
$pagination: PaginationInput
|
|
303
|
+
$requirementId: ID
|
|
304
|
+
$sourceId: ID
|
|
305
|
+
$status: IntTaskStatus
|
|
306
|
+
) {
|
|
307
|
+
intListTasks(
|
|
308
|
+
pagination: $pagination
|
|
309
|
+
requirementId: $requirementId
|
|
310
|
+
sourceId: $sourceId
|
|
311
|
+
status: $status
|
|
312
|
+
) {
|
|
313
|
+
items { ...TaskFull }
|
|
314
|
+
${a}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
`,nt=`
|
|
318
|
+
${y}
|
|
319
|
+
mutation IntCreateTask($input: IntCreateTaskInput!) {
|
|
320
|
+
intCreateTask(input: $input) { ...TaskFull }
|
|
321
|
+
}
|
|
322
|
+
`,et=`
|
|
323
|
+
${y}
|
|
324
|
+
mutation IntTransitionTask($id: ID!, $status: IntTaskStatus!) {
|
|
325
|
+
intTransitionTask(id: $id, status: $status) { ...TaskFull }
|
|
326
|
+
}
|
|
327
|
+
`,it=`
|
|
328
|
+
${f}
|
|
329
|
+
query IntListObservations(
|
|
330
|
+
$entityId: ID
|
|
331
|
+
$pagination: PaginationInput
|
|
332
|
+
$sourceId: ID
|
|
333
|
+
$taskId: ID
|
|
334
|
+
) {
|
|
335
|
+
intListObservations(
|
|
336
|
+
entityId: $entityId
|
|
337
|
+
pagination: $pagination
|
|
338
|
+
sourceId: $sourceId
|
|
339
|
+
taskId: $taskId
|
|
340
|
+
) {
|
|
341
|
+
items { ...ObservationFull }
|
|
342
|
+
${a}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
`,st=`
|
|
346
|
+
${f}
|
|
347
|
+
mutation IntRecordObservation($input: IntRecordObservationInput!) {
|
|
348
|
+
intRecordObservation(input: $input) { ...ObservationFull }
|
|
349
|
+
}
|
|
350
|
+
`,at=`
|
|
351
|
+
${T}
|
|
352
|
+
query IntListReports(
|
|
353
|
+
$missionId: ID
|
|
354
|
+
$pagination: PaginationInput
|
|
355
|
+
$status: IntReportStatus
|
|
356
|
+
$type: IntReportType
|
|
357
|
+
) {
|
|
358
|
+
intListReports(
|
|
359
|
+
missionId: $missionId
|
|
360
|
+
pagination: $pagination
|
|
361
|
+
status: $status
|
|
362
|
+
type: $type
|
|
363
|
+
) {
|
|
364
|
+
items { ...ReportFull }
|
|
365
|
+
${a}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
`,rt=`
|
|
369
|
+
${T}
|
|
370
|
+
mutation IntCreateReport($input: IntCreateReportInput!) {
|
|
371
|
+
intCreateReport(input: $input) { ...ReportFull }
|
|
372
|
+
}
|
|
373
|
+
`,ot=`
|
|
374
|
+
${T}
|
|
375
|
+
mutation IntReleaseReport($id: ID!) {
|
|
376
|
+
intReleaseReport(id: $id) { ...ReportFull }
|
|
377
|
+
}
|
|
378
|
+
`,It=`
|
|
379
|
+
${$}
|
|
380
|
+
query IntListAlerts(
|
|
381
|
+
$entityId: ID
|
|
382
|
+
$pagination: PaginationInput
|
|
383
|
+
$severity: IntAlertSeverity
|
|
384
|
+
$status: IntAlertStatus
|
|
385
|
+
) {
|
|
386
|
+
intListAlerts(
|
|
387
|
+
entityId: $entityId
|
|
388
|
+
pagination: $pagination
|
|
389
|
+
severity: $severity
|
|
390
|
+
status: $status
|
|
391
|
+
) {
|
|
392
|
+
items { ...AlertFull }
|
|
393
|
+
${a}
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
`,ut=`
|
|
397
|
+
${$}
|
|
398
|
+
mutation IntRaiseAlert($input: IntRaiseAlertInput!) {
|
|
399
|
+
intRaiseAlert(input: $input) { ...AlertFull }
|
|
400
|
+
}
|
|
401
|
+
`,ct=`
|
|
402
|
+
${$}
|
|
403
|
+
mutation IntTransitionAlert($id: ID!, $status: IntAlertStatus!, $triageNotes: String) {
|
|
404
|
+
intTransitionAlert(id: $id, status: $status, triageNotes: $triageNotes) { ...AlertFull }
|
|
405
|
+
}
|
|
406
|
+
`,pt="query IntHealth { intHealth }";function dt(p){let{workspace:e}=p.gql;return {sources:{async get(t){return (await e.request(k,{id:t})).intSource},async list(t,n,i){return (await e.request(M,{discipline:t,pagination:n,status:i})).intListSources},async create(t){return (await e.request(w,{input:t})).intCreateSource},async update(t,n){return (await e.request(P,{id:t,input:n})).intUpdateSource},async retire(t){return (await e.request(N,{id:t})).intRetireSource}},feeds:{async create(t){return (await e.request(v,{input:t})).intCreateFeed}},entities:{async get(t){return (await e.request(D,{id:t})).intEntity},async list(t,n,i){return (await e.request(x,{confidence:t,pagination:n,type:i})).intListEntities},async create(t){return (await e.request(U,{input:t})).intCreateEntity},async update(t,n){return (await e.request(b,{id:t,input:n})).intUpdateEntity}},indicators:{async list(t,n,i){return (await e.request(h,{entityId:t,isActive:n,type:i})).intListIndicators},async create(t){return (await e.request(Y,{input:t})).intCreateIndicator},async deactivate(t){return (await e.request(G,{id:t})).intDeactivateIndicator}},missions:{async get(t){return (await e.request(B,{id:t})).intMission},async list(t){return (await e.request(H,{status:t})).intListMissions},async create(t){return (await e.request(K,{input:t})).intCreateMission},async transition(t,n){return (await e.request(V,{id:t,status:n})).intTransitionMission}},cases:{async get(t){return (await e.request(Q,{id:t})).intCase},async list(t,n,i){return (await e.request(j,{missionId:t,pagination:n,status:i})).intListCases},async create(t){return (await e.request(W,{input:t})).intCreateCase},async addEntry(t){return (await e.request(z,{input:t})).intAddCaseEntry},async close(t){return (await e.request(J,{id:t})).intCloseCase}},requirements:{async list(t,n){return (await e.request(X,{missionId:t,status:n})).intListRequirements},async create(t){return (await e.request(Z,{input:t})).intCreateRequirement}},tasks:{async list(t,n,i,s){return (await e.request(tt,{pagination:t,requirementId:n,sourceId:i,status:s})).intListTasks},async create(t){return (await e.request(nt,{input:t})).intCreateTask},async transition(t,n){return (await e.request(et,{id:t,status:n})).intTransitionTask}},observations:{async list(t,n,i,s){return (await e.request(it,{entityId:t,pagination:n,sourceId:i,taskId:s})).intListObservations},async record(t){return (await e.request(st,{input:t})).intRecordObservation}},reports:{async list(t,n,i,s){return (await e.request(at,{missionId:t,pagination:n,status:i,type:s})).intListReports},async create(t){return (await e.request(rt,{input:t})).intCreateReport},async release(t){return (await e.request(ot,{id:t})).intReleaseReport}},alerts:{async list(t,n,i,s){return (await e.request(It,{entityId:t,pagination:n,severity:i,status:s})).intListAlerts},async raise(t){return (await e.request(ut,{input:t})).intRaiseAlert},async transition(t,n,i){return (await e.request(ct,{id:t,status:n,triageNotes:i})).intTransitionAlert}},system:{async health(){return (await e.request(pt)).intHealth}}}}var At={id:"intelwatchtower",version:"1.0.0",displayName:"IntelWatchtower",dependsOn:["auth"],attach(p){return dt(p)}},Nt=At;module.exports=Nt;
|