@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,267 @@
1
+ var l=`
2
+ fragment StoryScalars on TcpStory {
3
+ id authorId body editorId format languages
4
+ publishedAt readingMins slug status summary tags title topicId
5
+ cover { id }
6
+ workspaceId createdAt updatedAt
7
+ }
8
+ `,y=`
9
+ fragment TopicScalars on TcpTopic {
10
+ id category description isFeatured name slug tradition
11
+ workspaceId createdAt updatedAt
12
+ }
13
+ `,m=`
14
+ fragment CitationScalars on TcpCitation {
15
+ id author excerpt provenance publishedOn publisher
16
+ sourceFile { id }
17
+ sourceType storyId title url verification
18
+ workspaceId createdAt updatedAt
19
+ }
20
+ `,h=`
21
+ fragment ArchiveItemScalars on TcpArchiveItem {
22
+ id accessLevel collectionId datedAt description
23
+ file { id }
24
+ kind languages origin provenance tags title
25
+ workspaceId createdAt updatedAt
26
+ }
27
+ `,d=`
28
+ fragment CollectionScalars on TcpCollection {
29
+ id cover { id } description itemCount name slug tradition
30
+ workspaceId createdAt updatedAt
31
+ }
32
+ `,$=`
33
+ fragment OralHistoryScalars on TcpOralHistory {
34
+ id accessLevel collectionId durationSecs language narratorName
35
+ recordedAt recording { id } summary title transcript
36
+ workspaceId createdAt updatedAt
37
+ }
38
+ `,et=`
39
+ fragment DiscussionScalars on TcpDiscussion {
40
+ id isInterfaith isLocked openedById prompt replyCount status storyId tags title
41
+ workspaceId createdAt updatedAt
42
+ }
43
+ `,s=`
44
+ fragment ReplyFields on TcpReply {
45
+ id authorId body discussionId perspective status
46
+ workspaceId createdAt updatedAt
47
+ }
48
+ `,p=`
49
+ fragment PageInfoFields on TcpPageInfo { cursor hasMore }
50
+ `,o=`
51
+ ${l}
52
+ ${y}
53
+ ${m}
54
+ fragment StoryFull on TcpStory {
55
+ ...StoryScalars
56
+ topic { ...TopicScalars }
57
+ citations { ...CitationScalars }
58
+ }
59
+ `,r=`
60
+ ${y}
61
+ ${l}
62
+ fragment TopicFull on TcpTopic {
63
+ ...TopicScalars
64
+ stories { ...StoryScalars }
65
+ }
66
+ `,I=`
67
+ ${m}
68
+ ${l}
69
+ fragment CitationFull on TcpCitation {
70
+ ...CitationScalars
71
+ story { ...StoryScalars }
72
+ }
73
+ `,a=`
74
+ ${h}
75
+ ${d}
76
+ fragment ArchiveItemFull on TcpArchiveItem {
77
+ ...ArchiveItemScalars
78
+ collection { ...CollectionScalars }
79
+ }
80
+ `,C=`
81
+ ${d}
82
+ ${h}
83
+ ${$}
84
+ fragment CollectionFull on TcpCollection {
85
+ ...CollectionScalars
86
+ items { ...ArchiveItemScalars }
87
+ oralHistories { ...OralHistoryScalars }
88
+ }
89
+ `,O=`
90
+ ${$}
91
+ ${d}
92
+ fragment OralHistoryFull on TcpOralHistory {
93
+ ...OralHistoryScalars
94
+ collection { ...CollectionScalars }
95
+ }
96
+ `,n=`
97
+ ${et}
98
+ ${s}
99
+ fragment DiscussionFull on TcpDiscussion {
100
+ ...DiscussionScalars
101
+ replies { ...ReplyFields }
102
+ }
103
+ `,L=`
104
+ ${o}
105
+ query TcpStory($id: ID!) { tcpStory(id: $id) { ...StoryFull } }
106
+ `,g=`
107
+ ${o}
108
+ ${p}
109
+ query TcpListStories($pagination: PaginationInput, $status: TcpStoryStatus, $topicId: ID) {
110
+ tcpListStories(pagination: $pagination, status: $status, topicId: $topicId) {
111
+ items { ...StoryFull }
112
+ pageInfo { ...PageInfoFields }
113
+ }
114
+ }
115
+ `,R=`
116
+ ${o}
117
+ mutation TcpCreateStory($input: TcpCreateStoryInput!) {
118
+ tcpCreateStory(input: $input) { ...StoryFull }
119
+ }
120
+ `,v=`
121
+ ${o}
122
+ mutation TcpUpdateStory($id: ID!, $input: TcpUpdateStoryInput!) {
123
+ tcpUpdateStory(id: $id, input: $input) { ...StoryFull }
124
+ }
125
+ `,_=`
126
+ ${o}
127
+ mutation TcpTransitionStory($id: ID!, $status: TcpStoryStatus!) {
128
+ tcpTransitionStory(id: $id, status: $status) { ...StoryFull }
129
+ }
130
+ `,E=`
131
+ ${r}
132
+ query TcpTopic($id: ID!) { tcpTopic(id: $id) { ...TopicFull } }
133
+ `,D=`
134
+ ${r}
135
+ ${p}
136
+ query TcpListTopics($category: TcpTopicCategory, $pagination: PaginationInput) {
137
+ tcpListTopics(category: $category, pagination: $pagination) {
138
+ items { ...TopicFull }
139
+ pageInfo { ...PageInfoFields }
140
+ }
141
+ }
142
+ `,P=`
143
+ ${r}
144
+ mutation TcpCreateTopic($input: TcpCreateTopicInput!) {
145
+ tcpCreateTopic(input: $input) { ...TopicFull }
146
+ }
147
+ `,H=`
148
+ ${r}
149
+ mutation TcpUpdateTopic($id: ID!, $input: TcpUpdateTopicInput!) {
150
+ tcpUpdateTopic(id: $id, input: $input) { ...TopicFull }
151
+ }
152
+ `,f=`
153
+ mutation TcpArchiveTopic($id: ID!) { tcpArchiveTopic(id: $id) }
154
+ `,F=`
155
+ ${I}
156
+ query TcpListCitations($storyId: ID!) {
157
+ tcpListCitations(storyId: $storyId) { ...CitationFull }
158
+ }
159
+ `,x=`
160
+ ${I}
161
+ mutation TcpAddCitation($input: TcpCreateCitationInput!) {
162
+ tcpAddCitation(input: $input) { ...CitationFull }
163
+ }
164
+ `,U=`
165
+ ${I}
166
+ mutation TcpVerifyCitation($id: ID!, $verification: TcpVerificationStatus!) {
167
+ tcpVerifyCitation(id: $id, verification: $verification) { ...CitationFull }
168
+ }
169
+ `,q=`
170
+ ${a}
171
+ query TcpArchiveItem($id: ID!) { tcpArchiveItem(id: $id) { ...ArchiveItemFull } }
172
+ `,w=`
173
+ ${a}
174
+ ${p}
175
+ query TcpListArchiveItems(
176
+ $accessLevel: TcpAccessLevel
177
+ $collectionId: ID
178
+ $kind: TcpArchiveItemKind
179
+ $pagination: PaginationInput
180
+ ) {
181
+ tcpListArchiveItems(
182
+ accessLevel: $accessLevel
183
+ collectionId: $collectionId
184
+ kind: $kind
185
+ pagination: $pagination
186
+ ) {
187
+ items { ...ArchiveItemFull }
188
+ pageInfo { ...PageInfoFields }
189
+ }
190
+ }
191
+ `,N=`
192
+ ${a}
193
+ mutation TcpCreateArchiveItem($input: TcpCreateArchiveItemInput!) {
194
+ tcpCreateArchiveItem(input: $input) { ...ArchiveItemFull }
195
+ }
196
+ `,M=`
197
+ ${a}
198
+ mutation TcpUpdateArchiveItem($id: ID!, $input: TcpUpdateArchiveItemInput!) {
199
+ tcpUpdateArchiveItem(id: $id, input: $input) { ...ArchiveItemFull }
200
+ }
201
+ `,k=`
202
+ mutation TcpArchiveArchiveItem($id: ID!) { tcpArchiveArchiveItem(id: $id) }
203
+ `,V=`
204
+ ${C}
205
+ query TcpCollection($id: ID!) { tcpCollection(id: $id) { ...CollectionFull } }
206
+ `,Y=`
207
+ ${C}
208
+ query TcpListCollections($pagination: PaginationInput) {
209
+ tcpListCollections(pagination: $pagination) { ...CollectionFull }
210
+ }
211
+ `,G=`
212
+ ${C}
213
+ mutation TcpCreateCollection($input: TcpCreateCollectionInput!) {
214
+ tcpCreateCollection(input: $input) { ...CollectionFull }
215
+ }
216
+ `,b=`
217
+ ${O}
218
+ query TcpListOralHistories($collectionId: ID) {
219
+ tcpListOralHistories(collectionId: $collectionId) { ...OralHistoryFull }
220
+ }
221
+ `,K=`
222
+ ${O}
223
+ mutation TcpRecordOralHistory($input: TcpCreateOralHistoryInput!) {
224
+ tcpRecordOralHistory(input: $input) { ...OralHistoryFull }
225
+ }
226
+ `,j=`
227
+ ${n}
228
+ query TcpDiscussion($id: ID!) { tcpDiscussion(id: $id) { ...DiscussionFull } }
229
+ `,B=`
230
+ ${n}
231
+ ${p}
232
+ query TcpListDiscussions(
233
+ $pagination: PaginationInput
234
+ $status: TcpModerationStatus
235
+ $storyId: ID
236
+ ) {
237
+ tcpListDiscussions(pagination: $pagination, status: $status, storyId: $storyId) {
238
+ items { ...DiscussionFull }
239
+ pageInfo { ...PageInfoFields }
240
+ }
241
+ }
242
+ `,z=`
243
+ ${n}
244
+ mutation TcpOpenDiscussion($input: TcpCreateDiscussionInput!) {
245
+ tcpOpenDiscussion(input: $input) { ...DiscussionFull }
246
+ }
247
+ `,J=`
248
+ ${n}
249
+ mutation TcpLockDiscussion($id: ID!) {
250
+ tcpLockDiscussion(id: $id) { ...DiscussionFull }
251
+ }
252
+ `,Q=`
253
+ ${s}
254
+ query TcpListReplies($discussionId: ID!, $status: TcpModerationStatus) {
255
+ tcpListReplies(discussionId: $discussionId, status: $status) { ...ReplyFields }
256
+ }
257
+ `,W=`
258
+ ${s}
259
+ mutation TcpPostReply($input: TcpCreateReplyInput!) {
260
+ tcpPostReply(input: $input) { ...ReplyFields }
261
+ }
262
+ `,X=`
263
+ ${s}
264
+ mutation TcpModerateReply($id: ID!, $status: TcpModerationStatus!) {
265
+ tcpModerateReply(id: $id, status: $status) { ...ReplyFields }
266
+ }
267
+ `,Z="query TcpHealth { tcpHealth }";function tt(u){let{workspace:i}=u.gql;return {stories:{async get(t){return (await i.request(L,{id:t})).tcpStory},async list(t,e,c){return (await i.request(g,{pagination:t,status:e,topicId:c})).tcpListStories},async create(t){return (await i.request(R,{input:t})).tcpCreateStory},async update(t,e){return (await i.request(v,{id:t,input:e})).tcpUpdateStory},async transition(t,e){return (await i.request(_,{id:t,status:e})).tcpTransitionStory}},topics:{async get(t){return (await i.request(E,{id:t})).tcpTopic},async list(t,e){return (await i.request(D,{category:t,pagination:e})).tcpListTopics},async create(t){return (await i.request(P,{input:t})).tcpCreateTopic},async update(t,e){return (await i.request(H,{id:t,input:e})).tcpUpdateTopic},async archive(t){return (await i.request(f,{id:t})).tcpArchiveTopic}},citations:{async list(t){return (await i.request(F,{storyId:t})).tcpListCitations},async add(t){return (await i.request(x,{input:t})).tcpAddCitation},async verify(t,e){return (await i.request(U,{id:t,verification:e})).tcpVerifyCitation}},archiveItems:{async get(t){return (await i.request(q,{id:t})).tcpArchiveItem},async list(t,e,c,T){return (await i.request(w,{accessLevel:t,collectionId:e,kind:c,pagination:T})).tcpListArchiveItems},async create(t){return (await i.request(N,{input:t})).tcpCreateArchiveItem},async update(t,e){return (await i.request(M,{id:t,input:e})).tcpUpdateArchiveItem},async archive(t){return (await i.request(k,{id:t})).tcpArchiveArchiveItem}},collections:{async get(t){return (await i.request(V,{id:t})).tcpCollection},async list(t){return (await i.request(Y,{pagination:t})).tcpListCollections},async create(t){return (await i.request(G,{input:t})).tcpCreateCollection}},oralHistories:{async list(t){return (await i.request(b,{collectionId:t})).tcpListOralHistories},async record(t){return (await i.request(K,{input:t})).tcpRecordOralHistory}},discussions:{async get(t){return (await i.request(j,{id:t})).tcpDiscussion},async list(t,e,c){return (await i.request(B,{pagination:t,status:e,storyId:c})).tcpListDiscussions},async open(t){return (await i.request(z,{input:t})).tcpOpenDiscussion},async lock(t){return (await i.request(J,{id:t})).tcpLockDiscussion}},replies:{async list(t,e){return (await i.request(Q,{discussionId:t,status:e})).tcpListReplies},async post(t){return (await i.request(W,{input:t})).tcpPostReply},async moderate(t,e){return (await i.request(X,{id:t,status:e})).tcpModerateReply}},health:{async check(){return (await i.request(Z)).tcpHealth}}}}var it={id:"theculturepost",version:"1.0.0",displayName:"TheCulturePost",dependsOn:["auth"],attach(u){return tt(u)}},mt=it;export{mt as default};
@@ -0,0 +1,265 @@
1
+ 'use strict';var h=`
2
+ fragment AssetScalars on TheAsset {
3
+ id name code commodity kind status
4
+ capacityPerDay capacityUnit workingInterestPct
5
+ location latitude longitude operatorLeadId
6
+ commissionedAt decommissionedAt
7
+ tags workspaceId createdAt updatedAt
8
+ }
9
+ `,m=`
10
+ fragment ProductionScalars on TheProductionRecord {
11
+ id assetId volume unit grade downtimeHours
12
+ periodStart periodEnd notes workspaceId createdAt updatedAt
13
+ }
14
+ `,S=`
15
+ fragment ReserveScalars on TheReserveEstimate {
16
+ id assetId category recoverable recoveryFactor unit asOfDate
17
+ methodology notes workspaceId createdAt updatedAt
18
+ }
19
+ `,I=`
20
+ fragment ContractScalars on TheOfftakeContract {
21
+ id reference counterparty side commodity status
22
+ contractedVolume deliveredVolume unit pricingBasis pricePerUnit priceIndex
23
+ currency deliveryLocation startDate endDate signedAt notes
24
+ tags workspaceId createdAt updatedAt
25
+ }
26
+ `,l=`
27
+ fragment ShipmentScalars on TheShipment {
28
+ id reference contractId status mode volume unit
29
+ origin destination carrier scheduledAt departedAt deliveredAt notes
30
+ workspaceId createdAt updatedAt
31
+ document { id }
32
+ }
33
+ `,p=`
34
+ fragment InventoryFields on TheInventoryLot {
35
+ id lotCode commodity status quantity unit grade unitValue currency
36
+ location assetId producedAt notes workspaceId createdAt updatedAt
37
+ }
38
+ `,d=`
39
+ fragment EmissionFields on TheEmissionRecord {
40
+ id assetId scope co2eTonnes periodStart periodEnd
41
+ source methodology verified verifiedAt notes
42
+ workspaceId createdAt updatedAt
43
+ }
44
+ `,c=`
45
+ fragment ComplianceFields on TheComplianceCert {
46
+ id title category status certNumber authority assetId ownerId
47
+ issuedAt expiresAt notes tags workspaceId createdAt updatedAt
48
+ evidence { id }
49
+ }
50
+ `,a=`
51
+ ${h}
52
+ ${m}
53
+ ${S}
54
+ fragment AssetFull on TheAsset {
55
+ ...AssetScalars
56
+ productionRecords { ...ProductionScalars }
57
+ reserveEstimates { ...ReserveScalars }
58
+ }
59
+ `,A=`
60
+ ${m}
61
+ ${h}
62
+ fragment ProductionFull on TheProductionRecord {
63
+ ...ProductionScalars
64
+ asset { ...AssetScalars }
65
+ }
66
+ `,E=`
67
+ ${S}
68
+ ${h}
69
+ fragment ReserveFull on TheReserveEstimate {
70
+ ...ReserveScalars
71
+ asset { ...AssetScalars }
72
+ }
73
+ `,i=`
74
+ ${I}
75
+ ${l}
76
+ fragment ContractFull on TheOfftakeContract {
77
+ ...ContractScalars
78
+ shipments { ...ShipmentScalars }
79
+ }
80
+ `,u=`
81
+ ${l}
82
+ ${I}
83
+ fragment ShipmentFull on TheShipment {
84
+ ...ShipmentScalars
85
+ contract { ...ContractScalars }
86
+ }
87
+ `,r="pageInfo { cursor hasMore }",y=`
88
+ ${a}
89
+ query TheAsset($id: ID!) {
90
+ theAsset(id: $id) { ...AssetFull }
91
+ }
92
+ `,R=`
93
+ ${a}
94
+ query TheListAssets(
95
+ $commodity: TheCommodityType
96
+ $kind: TheAssetKind
97
+ $pagination: PaginationInput
98
+ $status: TheAssetStatus
99
+ ) {
100
+ theListAssets(commodity: $commodity, kind: $kind, pagination: $pagination, status: $status) {
101
+ items { ...AssetFull }
102
+ ${r}
103
+ }
104
+ }
105
+ `,$=`
106
+ ${a}
107
+ mutation TheCreateAsset($input: TheCreateAssetInput!) {
108
+ theCreateAsset(input: $input) { ...AssetFull }
109
+ }
110
+ `,L=`
111
+ ${a}
112
+ mutation TheUpdateAsset($id: ID!, $input: TheUpdateAssetInput!) {
113
+ theUpdateAsset(id: $id, input: $input) { ...AssetFull }
114
+ }
115
+ `,g=`
116
+ ${a}
117
+ mutation TheTransitionAsset($id: ID!, $status: TheAssetStatus!) {
118
+ theTransitionAsset(id: $id, status: $status) { ...AssetFull }
119
+ }
120
+ `,P=`
121
+ mutation TheRetireAsset($id: ID!) {
122
+ theRetireAsset(id: $id)
123
+ }
124
+ `,v=`
125
+ ${A}
126
+ query TheListProductionRecords($assetId: ID, $pagination: PaginationInput) {
127
+ theListProductionRecords(assetId: $assetId, pagination: $pagination) {
128
+ items { ...ProductionFull }
129
+ ${r}
130
+ }
131
+ }
132
+ `,f=`
133
+ ${A}
134
+ mutation TheRecordProduction($input: TheRecordProductionInput!) {
135
+ theRecordProduction(input: $input) { ...ProductionFull }
136
+ }
137
+ `,_=`
138
+ ${E}
139
+ query TheListReserveEstimates($assetId: ID, $category: TheReserveCategory) {
140
+ theListReserveEstimates(assetId: $assetId, category: $category) { ...ReserveFull }
141
+ }
142
+ `,O=`
143
+ ${E}
144
+ mutation TheCreateReserveEstimate($input: TheCreateReserveEstimateInput!) {
145
+ theCreateReserveEstimate(input: $input) { ...ReserveFull }
146
+ }
147
+ `,N=`
148
+ ${i}
149
+ query TheContract($id: ID!) {
150
+ theContract(id: $id) { ...ContractFull }
151
+ }
152
+ `,D=`
153
+ ${i}
154
+ query TheListContracts(
155
+ $commodity: TheCommodityType
156
+ $pagination: PaginationInput
157
+ $side: TheContractSide
158
+ $status: TheContractStatus
159
+ ) {
160
+ theListContracts(commodity: $commodity, pagination: $pagination, side: $side, status: $status) {
161
+ items { ...ContractFull }
162
+ ${r}
163
+ }
164
+ }
165
+ `,F=`
166
+ ${i}
167
+ mutation TheCreateContract($input: TheCreateOfftakeContractInput!) {
168
+ theCreateContract(input: $input) { ...ContractFull }
169
+ }
170
+ `,x=`
171
+ ${i}
172
+ mutation TheUpdateContract($id: ID!, $input: TheUpdateOfftakeContractInput!) {
173
+ theUpdateContract(id: $id, input: $input) { ...ContractFull }
174
+ }
175
+ `,k=`
176
+ ${i}
177
+ mutation TheTransitionContract($id: ID!, $status: TheContractStatus!) {
178
+ theTransitionContract(id: $id, status: $status) { ...ContractFull }
179
+ }
180
+ `,q=`
181
+ ${u}
182
+ query TheListShipments($contractId: ID, $status: TheShipmentStatus) {
183
+ theListShipments(contractId: $contractId, status: $status) { ...ShipmentFull }
184
+ }
185
+ `,w=`
186
+ ${u}
187
+ mutation TheScheduleShipment($input: TheCreateShipmentInput!) {
188
+ theScheduleShipment(input: $input) { ...ShipmentFull }
189
+ }
190
+ `,U=`
191
+ ${u}
192
+ mutation TheDeliverShipment($id: ID!) {
193
+ theDeliverShipment(id: $id) { ...ShipmentFull }
194
+ }
195
+ `,M=`
196
+ ${p}
197
+ query TheListInventoryLots(
198
+ $commodity: TheCommodityType
199
+ $pagination: PaginationInput
200
+ $status: TheInventoryStatus
201
+ ) {
202
+ theListInventoryLots(commodity: $commodity, pagination: $pagination, status: $status) {
203
+ items { ...InventoryFields }
204
+ ${r}
205
+ }
206
+ }
207
+ `,V=`
208
+ ${p}
209
+ mutation TheCreateInventoryLot($input: TheCreateInventoryLotInput!) {
210
+ theCreateInventoryLot(input: $input) { ...InventoryFields }
211
+ }
212
+ `,H=`
213
+ ${p}
214
+ mutation TheSetInventoryLotStatus($id: ID!, $status: TheInventoryStatus!) {
215
+ theSetInventoryLotStatus(id: $id, status: $status) { ...InventoryFields }
216
+ }
217
+ `,b=`
218
+ ${d}
219
+ query TheListEmissionRecords(
220
+ $assetId: ID
221
+ $pagination: PaginationInput
222
+ $scope: TheEmissionScope
223
+ ) {
224
+ theListEmissionRecords(assetId: $assetId, pagination: $pagination, scope: $scope) {
225
+ items { ...EmissionFields }
226
+ ${r}
227
+ }
228
+ }
229
+ `,Y=`
230
+ ${d}
231
+ mutation TheRecordEmission($input: TheRecordEmissionInput!) {
232
+ theRecordEmission(input: $input) { ...EmissionFields }
233
+ }
234
+ `,G=`
235
+ ${d}
236
+ mutation TheVerifyEmission($id: ID!) {
237
+ theVerifyEmission(id: $id) { ...EmissionFields }
238
+ }
239
+ `,j=`
240
+ ${c}
241
+ query TheComplianceCert($id: ID!) {
242
+ theComplianceCert(id: $id) { ...ComplianceFields }
243
+ }
244
+ `,K=`
245
+ ${c}
246
+ query TheListComplianceCerts(
247
+ $assetId: ID
248
+ $category: TheComplianceCategory
249
+ $status: TheComplianceStatus
250
+ ) {
251
+ theListComplianceCerts(assetId: $assetId, category: $category, status: $status) {
252
+ ...ComplianceFields
253
+ }
254
+ }
255
+ `,B=`
256
+ ${c}
257
+ mutation TheCreateComplianceCert($input: TheCreateComplianceCertInput!) {
258
+ theCreateComplianceCert(input: $input) { ...ComplianceFields }
259
+ }
260
+ `,z=`
261
+ ${c}
262
+ mutation TheTransitionComplianceCert($id: ID!, $status: TheComplianceStatus!) {
263
+ theTransitionComplianceCert(id: $id, status: $status) { ...ComplianceFields }
264
+ }
265
+ `,J="query TheHealth { theHealth }";function Q(T){let{workspace:s}=T.gql;return {assets:{async get(t){return (await s.request(y,{id:t})).theAsset},async list(t,e,n,o){return (await s.request(R,{commodity:t,kind:e,pagination:n,status:o})).theListAssets},async create(t){return (await s.request($,{input:t})).theCreateAsset},async update(t,e){return (await s.request(L,{id:t,input:e})).theUpdateAsset},async transition(t,e){return (await s.request(g,{id:t,status:e})).theTransitionAsset},async retire(t){return (await s.request(P,{id:t})).theRetireAsset}},production:{async list(t,e){return (await s.request(v,{assetId:t,pagination:e})).theListProductionRecords},async record(t){return (await s.request(f,{input:t})).theRecordProduction}},reserves:{async list(t,e){return (await s.request(_,{assetId:t,category:e})).theListReserveEstimates},async create(t){return (await s.request(O,{input:t})).theCreateReserveEstimate}},contracts:{async get(t){return (await s.request(N,{id:t})).theContract},async list(t,e,n,o){return (await s.request(D,{commodity:t,pagination:e,side:n,status:o})).theListContracts},async create(t){return (await s.request(F,{input:t})).theCreateContract},async update(t,e){return (await s.request(x,{id:t,input:e})).theUpdateContract},async transition(t,e){return (await s.request(k,{id:t,status:e})).theTransitionContract}},shipments:{async list(t,e){return (await s.request(q,{contractId:t,status:e})).theListShipments},async schedule(t){return (await s.request(w,{input:t})).theScheduleShipment},async deliver(t){return (await s.request(U,{id:t})).theDeliverShipment}},inventory:{async list(t,e,n){return (await s.request(M,{commodity:t,pagination:e,status:n})).theListInventoryLots},async create(t){return (await s.request(V,{input:t})).theCreateInventoryLot},async setStatus(t,e){return (await s.request(H,{id:t,status:e})).theSetInventoryLotStatus}},emissions:{async list(t,e,n){return (await s.request(b,{assetId:t,pagination:e,scope:n})).theListEmissionRecords},async record(t){return (await s.request(Y,{input:t})).theRecordEmission},async verify(t){return (await s.request(G,{id:t})).theVerifyEmission}},compliance:{async get(t){return (await s.request(j,{id:t})).theComplianceCert},async list(t,e,n){return (await s.request(K,{assetId:t,category:e,status:n})).theListComplianceCerts},async create(t){return (await s.request(B,{input:t})).theCreateComplianceCert},async transition(t,e){return (await s.request(z,{id:t,status:e})).theTransitionComplianceCert}},system:{async health(){return (await s.request(J)).theHealth}}}}var X={id:"theglobalfuel",version:"1.0.0",displayName:"TheGlobalFuel",dependsOn:["auth"],attach(T){return Q(T)}},Ct=X;module.exports=Ct;