@burdenoff/sdk-libs 2026.627.3 → 2026.627.5

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.
Files changed (41) hide show
  1. package/dist/modules/cosmicintersection/index.cjs +340 -0
  2. package/dist/modules/cosmicintersection/index.d.cts +450 -0
  3. package/dist/modules/cosmicintersection/index.d.ts +450 -0
  4. package/dist/modules/cosmicintersection/index.js +340 -0
  5. package/dist/modules/ecoimpacthub/index.cjs +350 -0
  6. package/dist/modules/ecoimpacthub/index.d.cts +478 -0
  7. package/dist/modules/ecoimpacthub/index.d.ts +478 -0
  8. package/dist/modules/ecoimpacthub/index.js +350 -0
  9. package/dist/modules/govcitizenhub/index.cjs +296 -0
  10. package/dist/modules/govcitizenhub/index.d.cts +349 -0
  11. package/dist/modules/govcitizenhub/index.d.ts +349 -0
  12. package/dist/modules/govcitizenhub/index.js +296 -0
  13. package/dist/modules/intelwatchtower/index.cjs +406 -0
  14. package/dist/modules/intelwatchtower/index.d.cts +486 -0
  15. package/dist/modules/intelwatchtower/index.d.ts +486 -0
  16. package/dist/modules/intelwatchtower/index.js +406 -0
  17. package/dist/modules/manufacturedops/index.cjs +335 -0
  18. package/dist/modules/manufacturedops/index.d.cts +466 -0
  19. package/dist/modules/manufacturedops/index.d.ts +466 -0
  20. package/dist/modules/manufacturedops/index.js +335 -0
  21. package/dist/modules/mybodyshield/index.cjs +259 -0
  22. package/dist/modules/mybodyshield/index.d.cts +455 -0
  23. package/dist/modules/mybodyshield/index.d.ts +455 -0
  24. package/dist/modules/mybodyshield/index.js +259 -0
  25. package/dist/modules/semanticfed/index.cjs +283 -0
  26. package/dist/modules/semanticfed/index.d.cts +404 -0
  27. package/dist/modules/semanticfed/index.d.ts +404 -0
  28. package/dist/modules/semanticfed/index.js +283 -0
  29. package/dist/modules/technospam/index.cjs +344 -0
  30. package/dist/modules/technospam/index.d.cts +436 -0
  31. package/dist/modules/technospam/index.d.ts +436 -0
  32. package/dist/modules/technospam/index.js +344 -0
  33. package/dist/modules/theculturepost/index.cjs +267 -0
  34. package/dist/modules/theculturepost/index.d.cts +344 -0
  35. package/dist/modules/theculturepost/index.d.ts +344 -0
  36. package/dist/modules/theculturepost/index.js +267 -0
  37. package/dist/modules/theglobalfuel/index.cjs +265 -0
  38. package/dist/modules/theglobalfuel/index.d.cts +395 -0
  39. package/dist/modules/theglobalfuel/index.d.ts +395 -0
  40. package/dist/modules/theglobalfuel/index.js +265 -0
  41. package/package.json +1 -1
@@ -0,0 +1,340 @@
1
+ var C=`
2
+ fragment SchemaFieldFields on CosSchemaField {
3
+ id datasetId name fieldType nullable position description provenance unit
4
+ workspaceId createdAt updatedAt
5
+ }
6
+ `,y=`
7
+ fragment CollectionScalars on CosCollection {
8
+ id name slug description isPublic tags workspaceId createdAt updatedAt
9
+ }
10
+ `,l=`
11
+ fragment SourceScalars on CosSource {
12
+ id name type status description endpoint config tags lastSyncedAt
13
+ workspaceId createdAt updatedAt
14
+ }
15
+ `,a=`
16
+ fragment DatasetScalars on CosDataset {
17
+ id name description status accessLevel format coverage file { id }
18
+ collectionId sourceId rowCount sizeBytes version lineageCaptured ingestedAt
19
+ tags workspaceId createdAt updatedAt
20
+ }
21
+ `,n=`
22
+ fragment AnalysisFields on CosAnalysis {
23
+ id title status method aiAssisted datasetId notebookId results
24
+ outputFile { id } errorMessage startedAt finishedAt
25
+ workspaceId createdAt updatedAt
26
+ }
27
+ `,c=`
28
+ fragment ReleaseFields on CosRelease {
29
+ id title version status abstract authors datasetIds notebookId doi license
30
+ publishedAt workspaceId createdAt updatedAt
31
+ }
32
+ `,D=`
33
+ fragment NotebookScalars on CosNotebook {
34
+ id title description status runtime environment datasetIds file { id }
35
+ isShared shareSlug tags workspaceId createdAt updatedAt
36
+ }
37
+ `,d=`
38
+ fragment StepFields on CosPipelineStep {
39
+ id runId name kind status position inputs outputs logsRef errorMessage
40
+ durationMs startedAt finishedAt workspaceId createdAt updatedAt
41
+ }
42
+ `,S=`
43
+ fragment RunScalars on CosPipelineRun {
44
+ id pipelineId runNumber status datasetId params metrics triggeredBy
45
+ errorMessage durationMs startedAt finishedAt workspaceId createdAt updatedAt
46
+ }
47
+ `,A=`
48
+ fragment PipelineScalars on CosPipeline {
49
+ id name description status trigger schedule definition version tags lastRunAt
50
+ workspaceId createdAt updatedAt
51
+ }
52
+ `,I=`
53
+ fragment GrantFields on CosDataAccessGrant {
54
+ id datasetId granteeId status scopes reason grantedAt expiresAt revokedAt
55
+ workspaceId createdAt updatedAt
56
+ }
57
+ `,r=`
58
+ ${a}
59
+ ${y}
60
+ ${l}
61
+ ${C}
62
+ fragment DatasetFull on CosDataset {
63
+ ...DatasetScalars
64
+ collection { ...CollectionScalars }
65
+ source { ...SourceScalars }
66
+ schemaFields { ...SchemaFieldFields }
67
+ }
68
+ `,L=`
69
+ ${y}
70
+ ${a}
71
+ fragment CollectionFull on CosCollection {
72
+ ...CollectionScalars
73
+ datasets { ...DatasetScalars }
74
+ }
75
+ `,u=`
76
+ ${l}
77
+ ${a}
78
+ fragment SourceFull on CosSource {
79
+ ...SourceScalars
80
+ datasets { ...DatasetScalars }
81
+ }
82
+ `,m=`
83
+ ${D}
84
+ ${n}
85
+ ${c}
86
+ fragment NotebookFull on CosNotebook {
87
+ ...NotebookScalars
88
+ analyses { ...AnalysisFields }
89
+ releases { ...ReleaseFields }
90
+ }
91
+ `,R=`
92
+ ${A}
93
+ ${S}
94
+ fragment PipelineFull on CosPipeline {
95
+ ...PipelineScalars
96
+ runs { ...RunScalars }
97
+ }
98
+ `,P=`
99
+ ${S}
100
+ ${A}
101
+ ${d}
102
+ fragment RunFull on CosPipelineRun {
103
+ ...RunScalars
104
+ pipeline { ...PipelineScalars }
105
+ steps { ...StepFields }
106
+ }
107
+ `,g=`
108
+ ${u}
109
+ query CosSource($id: ID!) { cosSource(id: $id) { ...SourceFull } }
110
+ `,T=`
111
+ ${l}
112
+ query CosListSources(
113
+ $status: CosSourceStatus
114
+ $type: CosSourceType
115
+ $pagination: PaginationInput
116
+ ) {
117
+ cosListSources(status: $status, type: $type, pagination: $pagination) {
118
+ items { ...SourceScalars }
119
+ pageInfo { cursor hasMore }
120
+ }
121
+ }
122
+ `,N=`
123
+ ${u}
124
+ mutation CosCreateSource($input: CosCreateSourceInput!) {
125
+ cosCreateSource(input: $input) { ...SourceFull }
126
+ }
127
+ `,_=`
128
+ ${u}
129
+ mutation CosUpdateSource($id: ID!, $input: CosUpdateSourceInput!) {
130
+ cosUpdateSource(id: $id, input: $input) { ...SourceFull }
131
+ }
132
+ `,F=`
133
+ mutation CosArchiveSource($id: ID!) { cosArchiveSource(id: $id) }
134
+ `,k=`
135
+ ${u}
136
+ mutation CosMarkSourceSynced($id: ID!) {
137
+ cosMarkSourceSynced(id: $id) { ...SourceFull }
138
+ }
139
+ `,h=`
140
+ ${r}
141
+ query CosDataset($id: ID!) { cosDataset(id: $id) { ...DatasetFull } }
142
+ `,b=`
143
+ ${a}
144
+ query CosListDatasets(
145
+ $collectionId: ID
146
+ $sourceId: ID
147
+ $status: CosDatasetStatus
148
+ $pagination: PaginationInput
149
+ ) {
150
+ cosListDatasets(
151
+ collectionId: $collectionId
152
+ sourceId: $sourceId
153
+ status: $status
154
+ pagination: $pagination
155
+ ) {
156
+ items { ...DatasetScalars }
157
+ pageInfo { cursor hasMore }
158
+ }
159
+ }
160
+ `,U=`
161
+ ${r}
162
+ mutation CosCreateDataset($input: CosCreateDatasetInput!) {
163
+ cosCreateDataset(input: $input) { ...DatasetFull }
164
+ }
165
+ `,O=`
166
+ ${r}
167
+ mutation CosUpdateDataset($id: ID!, $input: CosUpdateDatasetInput!) {
168
+ cosUpdateDataset(id: $id, input: $input) { ...DatasetFull }
169
+ }
170
+ `,x=`
171
+ mutation CosArchiveDataset($id: ID!) { cosArchiveDataset(id: $id) }
172
+ `,q=`
173
+ ${r}
174
+ mutation CosPublishDataset($id: ID!) {
175
+ cosPublishDataset(id: $id) { ...DatasetFull }
176
+ }
177
+ `,f=`
178
+ ${C}
179
+ query CosListSchemaFields($datasetId: ID!) {
180
+ cosListSchemaFields(datasetId: $datasetId) { ...SchemaFieldFields }
181
+ }
182
+ `,w=`
183
+ ${C}
184
+ mutation CosAddSchemaField($input: CosAddSchemaFieldInput!) {
185
+ cosAddSchemaField(input: $input) { ...SchemaFieldFields }
186
+ }
187
+ `,G=`
188
+ ${L}
189
+ query CosListCollections { cosListCollections { ...CollectionFull } }
190
+ `,v=`
191
+ ${L}
192
+ mutation CosCreateCollection($input: CosCreateCollectionInput!) {
193
+ cosCreateCollection(input: $input) { ...CollectionFull }
194
+ }
195
+ `,M=`
196
+ ${m}
197
+ query CosNotebook($id: ID!) { cosNotebook(id: $id) { ...NotebookFull } }
198
+ `,H=`
199
+ ${D}
200
+ query CosListNotebooks($status: CosNotebookStatus, $pagination: PaginationInput) {
201
+ cosListNotebooks(status: $status, pagination: $pagination) {
202
+ items { ...NotebookScalars }
203
+ pageInfo { cursor hasMore }
204
+ }
205
+ }
206
+ `,B=`
207
+ ${m}
208
+ mutation CosCreateNotebook($input: CosCreateNotebookInput!) {
209
+ cosCreateNotebook(input: $input) { ...NotebookFull }
210
+ }
211
+ `,K=`
212
+ ${m}
213
+ mutation CosUpdateNotebook($id: ID!, $input: CosUpdateNotebookInput!) {
214
+ cosUpdateNotebook(id: $id, input: $input) { ...NotebookFull }
215
+ }
216
+ `,V=`
217
+ mutation CosArchiveNotebook($id: ID!) { cosArchiveNotebook(id: $id) }
218
+ `,Y=`
219
+ ${n}
220
+ query CosListAnalyses(
221
+ $datasetId: ID
222
+ $notebookId: ID
223
+ $status: CosAnalysisStatus
224
+ ) {
225
+ cosListAnalyses(datasetId: $datasetId, notebookId: $notebookId, status: $status) {
226
+ ...AnalysisFields
227
+ }
228
+ }
229
+ `,j=`
230
+ ${n}
231
+ mutation CosRunAnalysis($input: CosRunAnalysisInput!) {
232
+ cosRunAnalysis(input: $input) { ...AnalysisFields }
233
+ }
234
+ `,z=`
235
+ ${n}
236
+ mutation CosCompleteAnalysis(
237
+ $id: ID!
238
+ $status: CosAnalysisStatus!
239
+ $results: JSON
240
+ $outputFileId: ID
241
+ ) {
242
+ cosCompleteAnalysis(
243
+ id: $id
244
+ status: $status
245
+ results: $results
246
+ outputFileId: $outputFileId
247
+ ) { ...AnalysisFields }
248
+ }
249
+ `,J=`
250
+ ${R}
251
+ query CosPipeline($id: ID!) { cosPipeline(id: $id) { ...PipelineFull } }
252
+ `,Q=`
253
+ ${A}
254
+ query CosListPipelines($status: CosPipelineStatus, $pagination: PaginationInput) {
255
+ cosListPipelines(status: $status, pagination: $pagination) {
256
+ items { ...PipelineScalars }
257
+ pageInfo { cursor hasMore }
258
+ }
259
+ }
260
+ `,W=`
261
+ ${R}
262
+ mutation CosCreatePipeline($input: CosCreatePipelineInput!) {
263
+ cosCreatePipeline(input: $input) { ...PipelineFull }
264
+ }
265
+ `,X=`
266
+ ${R}
267
+ mutation CosUpdatePipeline($id: ID!, $input: CosUpdatePipelineInput!) {
268
+ cosUpdatePipeline(id: $id, input: $input) { ...PipelineFull }
269
+ }
270
+ `,Z=`
271
+ mutation CosArchivePipeline($id: ID!) { cosArchivePipeline(id: $id) }
272
+ `,tt=`
273
+ ${P}
274
+ query CosRun($id: ID!) { cosRun(id: $id) { ...RunFull } }
275
+ `,et=`
276
+ ${S}
277
+ query CosListRuns(
278
+ $pipelineId: ID
279
+ $status: CosRunStatus
280
+ $pagination: PaginationInput
281
+ ) {
282
+ cosListRuns(pipelineId: $pipelineId, status: $status, pagination: $pagination) {
283
+ items { ...RunScalars }
284
+ pageInfo { cursor hasMore }
285
+ }
286
+ }
287
+ `,st=`
288
+ ${P}
289
+ mutation CosStartRun($input: CosStartRunInput!) {
290
+ cosStartRun(input: $input) { ...RunFull }
291
+ }
292
+ `,ot=`
293
+ ${P}
294
+ mutation CosTransitionRun($id: ID!, $status: CosRunStatus!) {
295
+ cosTransitionRun(id: $id, status: $status) { ...RunFull }
296
+ }
297
+ `,it=`
298
+ ${d}
299
+ query CosListRunSteps($runId: ID!) {
300
+ cosListRunSteps(runId: $runId) { ...StepFields }
301
+ }
302
+ `,at=`
303
+ ${d}
304
+ mutation CosAddRunStep($input: CosAddRunStepInput!) {
305
+ cosAddRunStep(input: $input) { ...StepFields }
306
+ }
307
+ `,nt=`
308
+ ${c}
309
+ query CosListReleases($status: CosReleaseStatus, $pagination: PaginationInput) {
310
+ cosListReleases(status: $status, pagination: $pagination) {
311
+ items { ...ReleaseFields }
312
+ pageInfo { cursor hasMore }
313
+ }
314
+ }
315
+ `,ct=`
316
+ ${c}
317
+ mutation CosCreateRelease($input: CosCreateReleaseInput!) {
318
+ cosCreateRelease(input: $input) { ...ReleaseFields }
319
+ }
320
+ `,rt=`
321
+ ${c}
322
+ mutation CosPublishRelease($id: ID!, $doi: String) {
323
+ cosPublishRelease(id: $id, doi: $doi) { ...ReleaseFields }
324
+ }
325
+ `,ut=`
326
+ ${I}
327
+ query CosListAccessGrants($datasetId: ID, $status: CosGrantStatus) {
328
+ cosListAccessGrants(datasetId: $datasetId, status: $status) { ...GrantFields }
329
+ }
330
+ `,pt=`
331
+ ${I}
332
+ mutation CosGrantAccess($input: CosGrantAccessInput!) {
333
+ cosGrantAccess(input: $input) { ...GrantFields }
334
+ }
335
+ `,Ct=`
336
+ ${I}
337
+ mutation CosRevokeAccess($id: ID!) {
338
+ cosRevokeAccess(id: $id) { ...GrantFields }
339
+ }
340
+ `,lt="query CosHealth { cosHealth }";function dt(p){let{workspace:s}=p.gql;return {sources:{async get(t){return (await s.request(g,{id:t})).cosSource},async list(t,e,o){return (await s.request(T,{status:t,type:e,pagination:o})).cosListSources},async create(t){return (await s.request(N,{input:t})).cosCreateSource},async update(t,e){return (await s.request(_,{id:t,input:e})).cosUpdateSource},async archive(t){return (await s.request(F,{id:t})).cosArchiveSource},async markSynced(t){return (await s.request(k,{id:t})).cosMarkSourceSynced}},datasets:{async get(t){return (await s.request(h,{id:t})).cosDataset},async list(t,e,o,i){return (await s.request(b,{collectionId:t,sourceId:e,status:o,pagination:i})).cosListDatasets},async create(t){return (await s.request(U,{input:t})).cosCreateDataset},async update(t,e){return (await s.request(O,{id:t,input:e})).cosUpdateDataset},async archive(t){return (await s.request(x,{id:t})).cosArchiveDataset},async publish(t){return (await s.request(q,{id:t})).cosPublishDataset}},schemaFields:{async list(t){return (await s.request(f,{datasetId:t})).cosListSchemaFields},async add(t){return (await s.request(w,{input:t})).cosAddSchemaField}},collections:{async list(){return (await s.request(G)).cosListCollections},async create(t){return (await s.request(v,{input:t})).cosCreateCollection}},notebooks:{async get(t){return (await s.request(M,{id:t})).cosNotebook},async list(t,e){return (await s.request(H,{status:t,pagination:e})).cosListNotebooks},async create(t){return (await s.request(B,{input:t})).cosCreateNotebook},async update(t,e){return (await s.request(K,{id:t,input:e})).cosUpdateNotebook},async archive(t){return (await s.request(V,{id:t})).cosArchiveNotebook}},analyses:{async list(t,e,o){return (await s.request(Y,{datasetId:t,notebookId:e,status:o})).cosListAnalyses},async run(t){return (await s.request(j,{input:t})).cosRunAnalysis},async complete(t,e,o,i){return (await s.request(z,{id:t,status:e,results:o,outputFileId:i})).cosCompleteAnalysis}},pipelines:{async get(t){return (await s.request(J,{id:t})).cosPipeline},async list(t,e){return (await s.request(Q,{status:t,pagination:e})).cosListPipelines},async create(t){return (await s.request(W,{input:t})).cosCreatePipeline},async update(t,e){return (await s.request(X,{id:t,input:e})).cosUpdatePipeline},async archive(t){return (await s.request(Z,{id:t})).cosArchivePipeline}},runs:{async get(t){return (await s.request(tt,{id:t})).cosRun},async list(t,e,o){return (await s.request(et,{pipelineId:t,status:e,pagination:o})).cosListRuns},async start(t){return (await s.request(st,{input:t})).cosStartRun},async transition(t,e){return (await s.request(ot,{id:t,status:e})).cosTransitionRun}},steps:{async list(t){return (await s.request(it,{runId:t})).cosListRunSteps},async add(t){return (await s.request(at,{input:t})).cosAddRunStep}},releases:{async list(t,e){return (await s.request(nt,{status:t,pagination:e})).cosListReleases},async create(t){return (await s.request(ct,{input:t})).cosCreateRelease},async publish(t,e){return (await s.request(rt,{id:t,doi:e})).cosPublishRelease}},grants:{async list(t,e){return (await s.request(ut,{datasetId:t,status:e})).cosListAccessGrants},async grant(t){return (await s.request(pt,{input:t})).cosGrantAccess},async revoke(t){return (await s.request(Ct,{id:t})).cosRevokeAccess}},system:{async health(){return (await s.request(lt)).cosHealth}}}}var At={id:"cosmicintersection",version:"1.0.0",displayName:"Cosmicintersection",dependsOn:["auth"],attach(p){return dt(p)}},Ot=At;export{Ot as default};
@@ -0,0 +1,350 @@
1
+ 'use strict';var R=`
2
+ fragment SiteScalars on EcoSite {
3
+ id name code description type status
4
+ region country latitude longitude areaHectares
5
+ workspaceId createdAt updatedAt
6
+ }
7
+ `,T=`
8
+ fragment SensorScalars on EcoSensor {
9
+ id name siteId kind status unit
10
+ hardwareId installedAt lastReadingAt
11
+ workspaceId createdAt updatedAt
12
+ }
13
+ `,c=`
14
+ fragment ThresholdFields on EcoAlertThreshold {
15
+ id siteId parameter direction severity unit
16
+ minValue maxValue limitValue isActive
17
+ workspaceId createdAt updatedAt
18
+ }
19
+ `,l=`
20
+ fragment MeasurementFields on EcoMeasurement {
21
+ id siteId sensorId parameter value unit source isBreach notes
22
+ recordedAt workspaceId createdAt updatedAt
23
+ }
24
+ `,A=`
25
+ fragment SpeciesScalars on EcoSpecies {
26
+ id commonName scientificName description
27
+ taxonGroup conservationStatus isPriority
28
+ workspaceId createdAt updatedAt
29
+ }
30
+ `,b=`
31
+ fragment ObservationScalars on EcoObservation {
32
+ id speciesId siteId observerId count method
33
+ latitude longitude notes observedAt
34
+ evidence { id }
35
+ workspaceId createdAt updatedAt
36
+ }
37
+ `,O=`
38
+ fragment RestorationActivityFields on EcoRestorationActivity {
39
+ id projectId type summary details quantity unit
40
+ performedAt workspaceId createdAt updatedAt
41
+ }
42
+ `,d=`
43
+ fragment EmissionFactorFields on EcoEmissionFactor {
44
+ id name scope activityUnit factorKgco2e source validYear isActive
45
+ workspaceId createdAt updatedAt
46
+ }
47
+ `,dt=`
48
+ fragment CarbonEntryScalars on EcoCarbonEntry {
49
+ id scope category activityValue activityUnit co2eKg status
50
+ factorId siteId notes periodStart
51
+ workspaceId createdAt updatedAt
52
+ }
53
+ `,S=`
54
+ fragment ReductionTargetFields on EcoReductionTarget {
55
+ id name description metric unit
56
+ baselineValue baselineYear targetValue targetYear status
57
+ workspaceId createdAt updatedAt
58
+ }
59
+ `,_=`
60
+ fragment ReportLineItemFields on EcoReportLineItem {
61
+ id reportId carbonEntryId category label value unit
62
+ workspaceId createdAt updatedAt
63
+ }
64
+ `,s=`
65
+ ${R}
66
+ ${T}
67
+ ${c}
68
+ fragment SiteFull on EcoSite {
69
+ ...SiteScalars
70
+ sensors { ...SensorScalars }
71
+ thresholds { ...ThresholdFields }
72
+ }
73
+ `,m=`
74
+ ${T}
75
+ ${R}
76
+ fragment SensorFull on EcoSensor {
77
+ ...SensorScalars
78
+ site { ...SiteScalars }
79
+ }
80
+ `,r=`
81
+ ${A}
82
+ ${b}
83
+ fragment SpeciesFull on EcoSpecies {
84
+ ...SpeciesScalars
85
+ observations { ...ObservationScalars }
86
+ }
87
+ `,h=`
88
+ ${b}
89
+ ${A}
90
+ fragment ObservationFull on EcoObservation {
91
+ ...ObservationScalars
92
+ species { ...SpeciesScalars }
93
+ }
94
+ `,n=`
95
+ ${O}
96
+ fragment HabitatProjectFull on EcoHabitatProject {
97
+ id name description status siteId managerId
98
+ budgetAmount currency targetHectares startDate endDate completedAt
99
+ activities { ...RestorationActivityFields }
100
+ workspaceId createdAt updatedAt
101
+ }
102
+ `,C=`
103
+ ${dt}
104
+ ${d}
105
+ fragment CarbonEntryFull on EcoCarbonEntry {
106
+ ...CarbonEntryScalars
107
+ factor { ...EmissionFactorFields }
108
+ }
109
+ `,E=`
110
+ ${_}
111
+ fragment ReportFull on EcoReport {
112
+ id title summary framework status
113
+ periodStart periodEnd publishedAt
114
+ file { id }
115
+ lineItems { ...ReportLineItemFields }
116
+ workspaceId createdAt updatedAt
117
+ }
118
+ `,y=`
119
+ ${s}
120
+ query EcoSite($id: ID!) { ecoSite(id: $id) { ...SiteFull } }
121
+ `,$=`
122
+ ${s}
123
+ query EcoListSites($pagination: PaginationInput, $status: EcoSiteStatus, $type: EcoSiteType) {
124
+ ecoListSites(pagination: $pagination, status: $status, type: $type) {
125
+ items { ...SiteFull }
126
+ pageInfo { cursor hasMore }
127
+ }
128
+ }
129
+ `,g=`
130
+ ${s}
131
+ mutation EcoCreateSite($input: EcoCreateSiteInput!) {
132
+ ecoCreateSite(input: $input) { ...SiteFull }
133
+ }
134
+ `,P=`
135
+ ${s}
136
+ mutation EcoUpdateSite($id: ID!, $input: EcoUpdateSiteInput!) {
137
+ ecoUpdateSite(id: $id, input: $input) { ...SiteFull }
138
+ }
139
+ `,L=`
140
+ mutation EcoArchiveSite($id: ID!) { ecoArchiveSite(id: $id) }
141
+ `,v=`
142
+ ${m}
143
+ query EcoListSensors($kind: EcoSensorKind, $siteId: ID, $status: EcoSensorStatus) {
144
+ ecoListSensors(kind: $kind, siteId: $siteId, status: $status) { ...SensorFull }
145
+ }
146
+ `,F=`
147
+ ${m}
148
+ mutation EcoCreateSensor($input: EcoCreateSensorInput!) {
149
+ ecoCreateSensor(input: $input) { ...SensorFull }
150
+ }
151
+ `,H=`
152
+ ${m}
153
+ mutation EcoSetSensorStatus($id: ID!, $status: EcoSensorStatus!) {
154
+ ecoSetSensorStatus(id: $id, status: $status) { ...SensorFull }
155
+ }
156
+ `,x=`
157
+ ${c}
158
+ query EcoListThresholds($siteId: ID) {
159
+ ecoListThresholds(siteId: $siteId) { ...ThresholdFields }
160
+ }
161
+ `,f=`
162
+ ${c}
163
+ mutation EcoCreateThreshold($input: EcoCreateThresholdInput!) {
164
+ ecoCreateThreshold(input: $input) { ...ThresholdFields }
165
+ }
166
+ `,N=`
167
+ ${c}
168
+ mutation EcoSetThresholdActive($id: ID!, $isActive: Boolean!) {
169
+ ecoSetThresholdActive(id: $id, isActive: $isActive) { ...ThresholdFields }
170
+ }
171
+ `,D=`
172
+ ${l}
173
+ query EcoListMeasurements(
174
+ $breachesOnly: Boolean
175
+ $pagination: PaginationInput
176
+ $parameter: String
177
+ $sensorId: ID
178
+ $siteId: ID
179
+ ) {
180
+ ecoListMeasurements(
181
+ breachesOnly: $breachesOnly
182
+ pagination: $pagination
183
+ parameter: $parameter
184
+ sensorId: $sensorId
185
+ siteId: $siteId
186
+ ) {
187
+ items { ...MeasurementFields }
188
+ pageInfo { cursor hasMore }
189
+ }
190
+ }
191
+ `,q=`
192
+ ${l}
193
+ mutation EcoRecordMeasurement($input: EcoRecordMeasurementInput!) {
194
+ ecoRecordMeasurement(input: $input) { ...MeasurementFields }
195
+ }
196
+ `,w=`
197
+ ${r}
198
+ query EcoSpecies($id: ID!) { ecoSpecies(id: $id) { ...SpeciesFull } }
199
+ `,M=`
200
+ ${r}
201
+ query EcoListSpecies(
202
+ $conservationStatus: EcoConservationStatus
203
+ $pagination: PaginationInput
204
+ $priorityOnly: Boolean
205
+ $taxonGroup: EcoTaxonGroup
206
+ ) {
207
+ ecoListSpecies(
208
+ conservationStatus: $conservationStatus
209
+ pagination: $pagination
210
+ priorityOnly: $priorityOnly
211
+ taxonGroup: $taxonGroup
212
+ ) {
213
+ items { ...SpeciesFull }
214
+ pageInfo { cursor hasMore }
215
+ }
216
+ }
217
+ `,j=`
218
+ ${r}
219
+ mutation EcoCreateSpecies($input: EcoCreateSpeciesInput!) {
220
+ ecoCreateSpecies(input: $input) { ...SpeciesFull }
221
+ }
222
+ `,U=`
223
+ ${r}
224
+ mutation EcoUpdateSpecies($id: ID!, $input: EcoUpdateSpeciesInput!) {
225
+ ecoUpdateSpecies(id: $id, input: $input) { ...SpeciesFull }
226
+ }
227
+ `,B=`
228
+ mutation EcoArchiveSpecies($id: ID!) { ecoArchiveSpecies(id: $id) }
229
+ `,V=`
230
+ ${h}
231
+ query EcoListObservations($pagination: PaginationInput, $siteId: ID, $speciesId: ID) {
232
+ ecoListObservations(pagination: $pagination, siteId: $siteId, speciesId: $speciesId) {
233
+ items { ...ObservationFull }
234
+ pageInfo { cursor hasMore }
235
+ }
236
+ }
237
+ `,k=`
238
+ ${h}
239
+ mutation EcoRecordObservation($input: EcoRecordObservationInput!) {
240
+ ecoRecordObservation(input: $input) { ...ObservationFull }
241
+ }
242
+ `,G=`
243
+ ${n}
244
+ query EcoHabitatProject($id: ID!) {
245
+ ecoHabitatProject(id: $id) { ...HabitatProjectFull }
246
+ }
247
+ `,K=`
248
+ ${n}
249
+ query EcoListHabitatProjects($status: EcoHabitatProjectStatus) {
250
+ ecoListHabitatProjects(status: $status) { ...HabitatProjectFull }
251
+ }
252
+ `,Y=`
253
+ ${n}
254
+ mutation EcoCreateHabitatProject($input: EcoCreateHabitatProjectInput!) {
255
+ ecoCreateHabitatProject(input: $input) { ...HabitatProjectFull }
256
+ }
257
+ `,J=`
258
+ ${n}
259
+ mutation EcoTransitionHabitatProject($id: ID!, $status: EcoHabitatProjectStatus!) {
260
+ ecoTransitionHabitatProject(id: $id, status: $status) { ...HabitatProjectFull }
261
+ }
262
+ `,z=`
263
+ ${O}
264
+ mutation EcoLogRestorationActivity($input: EcoLogRestorationActivityInput!) {
265
+ ecoLogRestorationActivity(input: $input) { ...RestorationActivityFields }
266
+ }
267
+ `,Q=`
268
+ ${C}
269
+ query EcoListCarbonEntries(
270
+ $pagination: PaginationInput
271
+ $scope: EcoEmissionScope
272
+ $siteId: ID
273
+ $status: EcoCarbonEntryStatus
274
+ ) {
275
+ ecoListCarbonEntries(
276
+ pagination: $pagination
277
+ scope: $scope
278
+ siteId: $siteId
279
+ status: $status
280
+ ) {
281
+ items { ...CarbonEntryFull }
282
+ pageInfo { cursor hasMore }
283
+ }
284
+ }
285
+ `,W=`
286
+ ${C}
287
+ mutation EcoRecordCarbonEntry($input: EcoRecordCarbonEntryInput!) {
288
+ ecoRecordCarbonEntry(input: $input) { ...CarbonEntryFull }
289
+ }
290
+ `,X=`
291
+ ${C}
292
+ mutation EcoVerifyCarbonEntry($id: ID!) {
293
+ ecoVerifyCarbonEntry(id: $id) { ...CarbonEntryFull }
294
+ }
295
+ `,Z=`
296
+ query EcoCarbonTotalKg($scope: EcoEmissionScope, $siteId: ID) {
297
+ ecoCarbonTotalKg(scope: $scope, siteId: $siteId)
298
+ }
299
+ `,tt=`
300
+ ${d}
301
+ query EcoListEmissionFactors($activeOnly: Boolean, $scope: EcoEmissionScope) {
302
+ ecoListEmissionFactors(activeOnly: $activeOnly, scope: $scope) { ...EmissionFactorFields }
303
+ }
304
+ `,et=`
305
+ ${d}
306
+ mutation EcoCreateEmissionFactor($input: EcoCreateEmissionFactorInput!) {
307
+ ecoCreateEmissionFactor(input: $input) { ...EmissionFactorFields }
308
+ }
309
+ `,ot=`
310
+ ${S}
311
+ query EcoListReductionTargets($status: EcoReductionTargetStatus) {
312
+ ecoListReductionTargets(status: $status) { ...ReductionTargetFields }
313
+ }
314
+ `,it=`
315
+ ${S}
316
+ mutation EcoCreateReductionTarget($input: EcoCreateReductionTargetInput!) {
317
+ ecoCreateReductionTarget(input: $input) { ...ReductionTargetFields }
318
+ }
319
+ `,at=`
320
+ ${S}
321
+ mutation EcoSetReductionTargetStatus($id: ID!, $status: EcoReductionTargetStatus!) {
322
+ ecoSetReductionTargetStatus(id: $id, status: $status) { ...ReductionTargetFields }
323
+ }
324
+ `,ct=`
325
+ ${E}
326
+ query EcoReport($id: ID!) { ecoReport(id: $id) { ...ReportFull } }
327
+ `,st=`
328
+ ${E}
329
+ query EcoListReports($pagination: PaginationInput, $status: EcoReportStatus) {
330
+ ecoListReports(pagination: $pagination, status: $status) {
331
+ items { ...ReportFull }
332
+ pageInfo { cursor hasMore }
333
+ }
334
+ }
335
+ `,rt=`
336
+ ${E}
337
+ mutation EcoCreateReport($input: EcoCreateReportInput!) {
338
+ ecoCreateReport(input: $input) { ...ReportFull }
339
+ }
340
+ `,nt=`
341
+ ${_}
342
+ mutation EcoAddReportLineItem($input: EcoAddReportLineItemInput!) {
343
+ ecoAddReportLineItem(input: $input) { ...ReportLineItemFields }
344
+ }
345
+ `,Et=`
346
+ ${E}
347
+ mutation EcoPublishReport($id: ID!, $fileId: ID) {
348
+ ecoPublishReport(id: $id, fileId: $fileId) { ...ReportFull }
349
+ }
350
+ `,pt="query EcoHealth { ecoHealth }";function ut(p){let{workspace:o}=p.gql;return {sites:{async get(t){return (await o.request(y,{id:t})).ecoSite},async list(t,e,i){return (await o.request($,{pagination:t,status:e,type:i})).ecoListSites},async create(t){return (await o.request(g,{input:t})).ecoCreateSite},async update(t,e){return (await o.request(P,{id:t,input:e})).ecoUpdateSite},async archive(t){return (await o.request(L,{id:t})).ecoArchiveSite}},sensors:{async list(t,e,i){return (await o.request(v,{kind:t,siteId:e,status:i})).ecoListSensors},async create(t){return (await o.request(F,{input:t})).ecoCreateSensor},async setStatus(t,e){return (await o.request(H,{id:t,status:e})).ecoSetSensorStatus}},thresholds:{async list(t){return (await o.request(x,{siteId:t})).ecoListThresholds},async create(t){return (await o.request(f,{input:t})).ecoCreateThreshold},async setActive(t,e){return (await o.request(N,{id:t,isActive:e})).ecoSetThresholdActive}},measurements:{async list(t,e,i,a,u){return (await o.request(D,{siteId:t,sensorId:e,parameter:i,breachesOnly:a,pagination:u})).ecoListMeasurements},async record(t){return (await o.request(q,{input:t})).ecoRecordMeasurement}},species:{async get(t){return (await o.request(w,{id:t})).ecoSpecies},async list(t,e,i,a){return (await o.request(M,{conservationStatus:t,taxonGroup:e,priorityOnly:i,pagination:a})).ecoListSpecies},async create(t){return (await o.request(j,{input:t})).ecoCreateSpecies},async update(t,e){return (await o.request(U,{id:t,input:e})).ecoUpdateSpecies},async archive(t){return (await o.request(B,{id:t})).ecoArchiveSpecies}},observations:{async list(t,e,i){return (await o.request(V,{speciesId:t,siteId:e,pagination:i})).ecoListObservations},async record(t){return (await o.request(k,{input:t})).ecoRecordObservation}},habitatProjects:{async get(t){return (await o.request(G,{id:t})).ecoHabitatProject},async list(t){return (await o.request(K,{status:t})).ecoListHabitatProjects},async create(t){return (await o.request(Y,{input:t})).ecoCreateHabitatProject},async transition(t,e){return (await o.request(J,{id:t,status:e})).ecoTransitionHabitatProject},async logActivity(t){return (await o.request(z,{input:t})).ecoLogRestorationActivity}},carbon:{async listEntries(t,e,i,a){return (await o.request(Q,{scope:t,siteId:e,status:i,pagination:a})).ecoListCarbonEntries},async recordEntry(t){return (await o.request(W,{input:t})).ecoRecordCarbonEntry},async verifyEntry(t){return (await o.request(X,{id:t})).ecoVerifyCarbonEntry},async totalKg(t,e){return (await o.request(Z,{scope:t,siteId:e})).ecoCarbonTotalKg}},emissionFactors:{async list(t,e){return (await o.request(tt,{activeOnly:t,scope:e})).ecoListEmissionFactors},async create(t){return (await o.request(et,{input:t})).ecoCreateEmissionFactor}},reductionTargets:{async list(t){return (await o.request(ot,{status:t})).ecoListReductionTargets},async create(t){return (await o.request(it,{input:t})).ecoCreateReductionTarget},async setStatus(t,e){return (await o.request(at,{id:t,status:e})).ecoSetReductionTargetStatus}},reports:{async get(t){return (await o.request(ct,{id:t})).ecoReport},async list(t,e){return (await o.request(st,{pagination:t,status:e})).ecoListReports},async create(t){return (await o.request(rt,{input:t})).ecoCreateReport},async addLineItem(t){return (await o.request(nt,{input:t})).ecoAddReportLineItem},async publish(t,e){return (await o.request(Et,{id:t,fileId:e})).ecoPublishReport}},system:{async health(){return (await o.request(pt)).ecoHealth}}}}var St={id:"ecoimpacthub",version:"1.0.0",displayName:"EcoImpactHub",dependsOn:["auth"],attach(p){return ut(p)}},xt=St;module.exports=xt;