@burdenoff/sdk-libs 2026.929.1 → 2026.1026.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/chunk-JWI7ANZM.js +2 -0
- package/dist/core/index.cjs +2 -2
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{module-CTWrNzF5.d.cts → module-Bq-w9Ws5.d.cts} +2 -0
- package/dist/{module-CTWrNzF5.d.ts → module-Bq-w9Ws5.d.ts} +2 -0
- package/dist/modules/adaptercloud/index.d.cts +1 -1
- package/dist/modules/adaptercloud/index.d.ts +1 -1
- package/dist/modules/artistrybase/index.d.cts +1 -1
- package/dist/modules/artistrybase/index.d.ts +1 -1
- package/dist/modules/assethandler/index.d.cts +1 -1
- package/dist/modules/assethandler/index.d.ts +1 -1
- package/dist/modules/atheletebridge/index.d.cts +1 -1
- package/dist/modules/atheletebridge/index.d.ts +1 -1
- package/dist/modules/auth/index.d.cts +1 -1
- package/dist/modules/auth/index.d.ts +1 -1
- package/dist/modules/billing/index.d.cts +1 -1
- package/dist/modules/billing/index.d.ts +1 -1
- package/dist/modules/brainyrich/index.d.cts +1 -1
- package/dist/modules/brainyrich/index.d.ts +1 -1
- package/dist/modules/buildmyiq/index.d.cts +1 -1
- package/dist/modules/buildmyiq/index.d.ts +1 -1
- package/dist/modules/channels/index.d.cts +1 -1
- package/dist/modules/channels/index.d.ts +1 -1
- package/dist/modules/collabkin/index.d.cts +1 -1
- package/dist/modules/collabkin/index.d.ts +1 -1
- package/dist/modules/comradecircle/index.d.cts +1 -1
- package/dist/modules/comradecircle/index.d.ts +1 -1
- package/dist/modules/conversations/index.d.cts +1 -1
- package/dist/modules/conversations/index.d.ts +1 -1
- package/dist/modules/coolandlovely/index.d.cts +1 -1
- package/dist/modules/coolandlovely/index.d.ts +1 -1
- package/dist/modules/cosmicintersection/index.d.cts +1 -1
- package/dist/modules/cosmicintersection/index.d.ts +1 -1
- package/dist/modules/crewfoundry/index.d.cts +1 -1
- package/dist/modules/crewfoundry/index.d.ts +1 -1
- package/dist/modules/devportal/index.d.cts +1 -1
- package/dist/modules/devportal/index.d.ts +1 -1
- package/dist/modules/ecoimpacthub/index.d.cts +1 -1
- package/dist/modules/ecoimpacthub/index.d.ts +1 -1
- package/dist/modules/eventfullymanaged/index.d.cts +1 -1
- package/dist/modules/eventfullymanaged/index.d.ts +1 -1
- package/dist/modules/export/index.d.cts +1 -1
- package/dist/modules/export/index.d.ts +1 -1
- package/dist/modules/files/index.d.cts +1 -1
- package/dist/modules/files/index.d.ts +1 -1
- package/dist/modules/fluidgrids/index.cjs +400 -0
- package/dist/modules/fluidgrids/index.d.cts +641 -0
- package/dist/modules/fluidgrids/index.d.ts +641 -0
- package/dist/modules/fluidgrids/index.js +400 -0
- package/dist/modules/ggnomad/index.d.cts +1 -1
- package/dist/modules/ggnomad/index.d.ts +1 -1
- package/dist/modules/govcitizenhub/index.d.cts +1 -1
- package/dist/modules/govcitizenhub/index.d.ts +1 -1
- package/dist/modules/groups/index.d.cts +1 -1
- package/dist/modules/groups/index.d.ts +1 -1
- package/dist/modules/headshotmarketing/index.d.cts +1 -1
- package/dist/modules/headshotmarketing/index.d.ts +1 -1
- package/dist/modules/health/index.d.cts +1 -1
- package/dist/modules/health/index.d.ts +1 -1
- package/dist/modules/hookmovies/index.d.cts +1 -1
- package/dist/modules/hookmovies/index.d.ts +1 -1
- package/dist/modules/housingvista/index.d.cts +1 -1
- package/dist/modules/housingvista/index.d.ts +1 -1
- package/dist/modules/integrations/index.d.cts +1 -1
- package/dist/modules/integrations/index.d.ts +1 -1
- package/dist/modules/intelwatchtower/index.d.cts +1 -1
- package/dist/modules/intelwatchtower/index.d.ts +1 -1
- package/dist/modules/kadaikodi/index.d.cts +1 -1
- package/dist/modules/kadaikodi/index.d.ts +1 -1
- package/dist/modules/labsofscience/index.d.cts +1 -1
- package/dist/modules/labsofscience/index.d.ts +1 -1
- package/dist/modules/manufacturedops/index.d.cts +1 -1
- package/dist/modules/manufacturedops/index.d.ts +1 -1
- package/dist/modules/movethewheels/index.d.cts +1 -1
- package/dist/modules/movethewheels/index.d.ts +1 -1
- package/dist/modules/mybodyshield/index.d.cts +1 -1
- package/dist/modules/mybodyshield/index.d.ts +1 -1
- package/dist/modules/notifications/index.d.cts +1 -1
- package/dist/modules/notifications/index.d.ts +1 -1
- package/dist/modules/organizations/index.d.cts +1 -1
- package/dist/modules/organizations/index.d.ts +1 -1
- package/dist/modules/planmagnet/index.d.cts +1 -1
- package/dist/modules/planmagnet/index.d.ts +1 -1
- package/dist/modules/products/index.d.cts +1 -1
- package/dist/modules/products/index.d.ts +1 -1
- package/dist/modules/proserviceworld/index.d.cts +1 -1
- package/dist/modules/proserviceworld/index.d.ts +1 -1
- package/dist/modules/rbac/index.d.cts +1 -1
- package/dist/modules/rbac/index.d.ts +1 -1
- package/dist/modules/sandbox/index.d.cts +1 -1
- package/dist/modules/sandbox/index.d.ts +1 -1
- package/dist/modules/scheduler/index.d.cts +1 -1
- package/dist/modules/scheduler/index.d.ts +1 -1
- package/dist/modules/security/index.d.cts +1 -1
- package/dist/modules/security/index.d.ts +1 -1
- package/dist/modules/semanticfed/index.cjs +61 -46
- package/dist/modules/semanticfed/index.d.cts +25 -2
- package/dist/modules/semanticfed/index.d.ts +25 -2
- package/dist/modules/semanticfed/index.js +57 -42
- package/dist/modules/store/index.d.cts +1 -1
- package/dist/modules/store/index.d.ts +1 -1
- package/dist/modules/subscriberbot/index.d.cts +1 -1
- package/dist/modules/subscriberbot/index.d.ts +1 -1
- package/dist/modules/support/index.d.cts +1 -1
- package/dist/modules/support/index.d.ts +1 -1
- package/dist/modules/tags/index.d.cts +1 -1
- package/dist/modules/tags/index.d.ts +1 -1
- package/dist/modules/technospam/index.d.cts +1 -1
- package/dist/modules/technospam/index.d.ts +1 -1
- package/dist/modules/theculturepost/index.d.cts +1 -1
- package/dist/modules/theculturepost/index.d.ts +1 -1
- package/dist/modules/theglobalfuel/index.d.cts +1 -1
- package/dist/modules/theglobalfuel/index.d.ts +1 -1
- package/dist/modules/timecampus/index.d.cts +1 -1
- package/dist/modules/timecampus/index.d.ts +1 -1
- package/dist/modules/tours/index.d.cts +1 -1
- package/dist/modules/tours/index.d.ts +1 -1
- package/dist/modules/vibecontrols/index.d.cts +1 -1
- package/dist/modules/vibecontrols/index.d.ts +1 -1
- package/dist/modules/workspaces/index.d.cts +1 -1
- package/dist/modules/workspaces/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-Q2R2HBZ7.js +0 -2
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
var
|
|
1
|
+
var E=`
|
|
2
2
|
fragment ConnectorScalars on SemConnector {
|
|
3
3
|
id name description kind isActive capabilities
|
|
4
4
|
workspaceId createdAt updatedAt
|
|
5
5
|
}
|
|
6
|
-
`,
|
|
6
|
+
`,S=`
|
|
7
7
|
fragment ConnectionFields on SemConnection {
|
|
8
8
|
id dataSourceId health latencyMs message probedAt
|
|
9
9
|
workspaceId createdAt updatedAt
|
|
10
10
|
}
|
|
11
|
-
`,
|
|
11
|
+
`,A=`
|
|
12
12
|
fragment DataSourceScalars on SemDataSource {
|
|
13
13
|
id connectorId name description endpoint pushdownEnabled secretRef
|
|
14
14
|
status tags lastIntrospectedAt workspaceId createdAt updatedAt
|
|
15
15
|
}
|
|
16
|
-
`,
|
|
16
|
+
`,R=`
|
|
17
17
|
fragment DimensionFields on SemDimension {
|
|
18
18
|
id entityId name dataType expression isPrimary description
|
|
19
19
|
workspaceId createdAt updatedAt
|
|
20
20
|
}
|
|
21
|
-
`,
|
|
21
|
+
`,D=`
|
|
22
22
|
fragment MetricFields on SemMetric {
|
|
23
23
|
id entityId name aggregation expression format description
|
|
24
24
|
workspaceId createdAt updatedAt
|
|
25
25
|
}
|
|
26
|
-
`,
|
|
26
|
+
`,p=`
|
|
27
27
|
fragment RelationshipFields on SemRelationship {
|
|
28
28
|
id modelId name fromEntityId fromField toEntityId toField kind description
|
|
29
29
|
workspaceId createdAt updatedAt
|
|
30
30
|
}
|
|
31
|
-
`,
|
|
31
|
+
`,l=`
|
|
32
32
|
fragment AccessPolicyFields on SemAccessPolicy {
|
|
33
33
|
id name description principal effect scope rule isActive entityId modelId
|
|
34
34
|
workspaceId createdAt updatedAt
|
|
35
35
|
}
|
|
36
|
-
`,
|
|
36
|
+
`,u=`
|
|
37
37
|
fragment QueryRunFields on SemQueryRun {
|
|
38
38
|
id queryId status fromCache rowCount sourcesTouched durationMs
|
|
39
39
|
planSummary errorMessage runById startedAt finishedAt
|
|
40
40
|
workspaceId createdAt updatedAt
|
|
41
41
|
}
|
|
42
|
-
`,
|
|
42
|
+
`,de=`
|
|
43
43
|
fragment QueryScalars on SemQuery {
|
|
44
44
|
id modelId name description queryText parameters cacheable cacheTtlSeconds
|
|
45
45
|
status tags workspaceId createdAt updatedAt
|
|
46
46
|
}
|
|
47
|
-
`,
|
|
47
|
+
`,Se=`
|
|
48
48
|
fragment ModelScalars on SemSemanticModel {
|
|
49
49
|
id name description status version tags publishedAt
|
|
50
50
|
workspaceId createdAt updatedAt
|
|
@@ -52,24 +52,24 @@ var A=`
|
|
|
52
52
|
`,a=`
|
|
53
53
|
fragment PageInfoFields on SemPageInfo { cursor hasMore }
|
|
54
54
|
`,m=`
|
|
55
|
-
${A}
|
|
56
55
|
${E}
|
|
56
|
+
${A}
|
|
57
57
|
fragment ConnectorFull on SemConnector {
|
|
58
58
|
...ConnectorScalars
|
|
59
59
|
dataSources { ...DataSourceScalars }
|
|
60
60
|
}
|
|
61
61
|
`,o=`
|
|
62
|
-
${E}
|
|
63
62
|
${A}
|
|
64
|
-
${
|
|
63
|
+
${E}
|
|
64
|
+
${S}
|
|
65
65
|
fragment DataSourceFull on SemDataSource {
|
|
66
66
|
...DataSourceScalars
|
|
67
67
|
connector { ...ConnectorScalars }
|
|
68
68
|
connections { ...ConnectionFields }
|
|
69
69
|
}
|
|
70
70
|
`,s=`
|
|
71
|
-
${D}
|
|
72
71
|
${R}
|
|
72
|
+
${D}
|
|
73
73
|
fragment EntityFull on SemEntity {
|
|
74
74
|
id modelId dataSourceId name kind physicalName primaryKey sqlDefinition
|
|
75
75
|
description workspaceId createdAt updatedAt
|
|
@@ -77,17 +77,17 @@ var A=`
|
|
|
77
77
|
metrics { ...MetricFields }
|
|
78
78
|
}
|
|
79
79
|
`,r=`
|
|
80
|
-
${
|
|
80
|
+
${Se}
|
|
81
81
|
${s}
|
|
82
|
-
${
|
|
82
|
+
${p}
|
|
83
83
|
fragment ModelFull on SemSemanticModel {
|
|
84
84
|
...ModelScalars
|
|
85
85
|
entities { ...EntityFull }
|
|
86
86
|
relationships { ...RelationshipFields }
|
|
87
87
|
}
|
|
88
88
|
`,c=`
|
|
89
|
-
${
|
|
90
|
-
${
|
|
89
|
+
${de}
|
|
90
|
+
${u}
|
|
91
91
|
fragment QueryFull on SemQuery {
|
|
92
92
|
...QueryScalars
|
|
93
93
|
runs { ...QueryRunFields }
|
|
@@ -95,7 +95,7 @@ var A=`
|
|
|
95
95
|
`,$=`
|
|
96
96
|
${m}
|
|
97
97
|
query SemGetConnector($id: ID!) { semConnector(id: $id) { ...ConnectorFull } }
|
|
98
|
-
`,
|
|
98
|
+
`,T=`
|
|
99
99
|
${m}
|
|
100
100
|
${a}
|
|
101
101
|
query SemListConnectors($kind: SemConnectorKind, $pagination: PaginationInput) {
|
|
@@ -104,7 +104,7 @@ var A=`
|
|
|
104
104
|
pageInfo { ...PageInfoFields }
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
`,
|
|
107
|
+
`,F=`
|
|
108
108
|
${m}
|
|
109
109
|
mutation SemCreateConnector($input: SemCreateConnectorInput!) {
|
|
110
110
|
semCreateConnector(input: $input) { ...ConnectorFull }
|
|
@@ -114,12 +114,12 @@ var A=`
|
|
|
114
114
|
mutation SemUpdateConnector($id: ID!, $input: SemUpdateConnectorInput!) {
|
|
115
115
|
semUpdateConnector(id: $id, input: $input) { ...ConnectorFull }
|
|
116
116
|
}
|
|
117
|
-
`,
|
|
117
|
+
`,Q=`
|
|
118
118
|
mutation SemArchiveConnector($id: ID!) { semArchiveConnector(id: $id) }
|
|
119
|
-
`,
|
|
119
|
+
`,_=`
|
|
120
120
|
${o}
|
|
121
121
|
query SemGetDataSource($id: ID!) { semDataSource(id: $id) { ...DataSourceFull } }
|
|
122
|
-
`,
|
|
122
|
+
`,g=`
|
|
123
123
|
${o}
|
|
124
124
|
${a}
|
|
125
125
|
query SemListDataSources(
|
|
@@ -132,7 +132,7 @@ var A=`
|
|
|
132
132
|
pageInfo { ...PageInfoFields }
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
-
`,
|
|
135
|
+
`,M=`
|
|
136
136
|
${o}
|
|
137
137
|
mutation SemCreateDataSource($input: SemCreateDataSourceInput!) {
|
|
138
138
|
semCreateDataSource(input: $input) { ...DataSourceFull }
|
|
@@ -142,20 +142,20 @@ var A=`
|
|
|
142
142
|
mutation SemUpdateDataSource($id: ID!, $input: SemUpdateDataSourceInput!) {
|
|
143
143
|
semUpdateDataSource(id: $id, input: $input) { ...DataSourceFull }
|
|
144
144
|
}
|
|
145
|
-
`,h=`
|
|
146
|
-
mutation SemArchiveDataSource($id: ID!) { semArchiveDataSource(id: $id) }
|
|
147
145
|
`,U=`
|
|
146
|
+
mutation SemArchiveDataSource($id: ID!) { semArchiveDataSource(id: $id) }
|
|
147
|
+
`,h=`
|
|
148
148
|
${o}
|
|
149
149
|
mutation SemTransitionDataSource($id: ID!, $status: SemDataSourceStatus!) {
|
|
150
150
|
semTransitionDataSource(id: $id, status: $status) { ...DataSourceFull }
|
|
151
151
|
}
|
|
152
152
|
`,O=`
|
|
153
|
-
${
|
|
153
|
+
${S}
|
|
154
154
|
query SemListConnections($dataSourceId: ID!) {
|
|
155
155
|
semListConnections(dataSourceId: $dataSourceId) { ...ConnectionFields }
|
|
156
156
|
}
|
|
157
157
|
`,N=`
|
|
158
|
-
${
|
|
158
|
+
${S}
|
|
159
159
|
mutation SemRecordConnection($input: SemRecordConnectionInput!) {
|
|
160
160
|
semRecordConnection(input: $input) { ...ConnectionFields }
|
|
161
161
|
}
|
|
@@ -183,10 +183,10 @@ var A=`
|
|
|
183
183
|
}
|
|
184
184
|
`,v=`
|
|
185
185
|
mutation SemArchiveModel($id: ID!) { semArchiveModel(id: $id) }
|
|
186
|
-
`,
|
|
186
|
+
`,Y=`
|
|
187
187
|
${r}
|
|
188
188
|
mutation SemPublishModel($id: ID!) { semPublishModel(id: $id) { ...ModelFull } }
|
|
189
|
-
`,
|
|
189
|
+
`,H=`
|
|
190
190
|
${s}
|
|
191
191
|
query SemGetEntity($id: ID!) { semEntity(id: $id) { ...EntityFull } }
|
|
192
192
|
`,b=`
|
|
@@ -207,22 +207,22 @@ var A=`
|
|
|
207
207
|
`,V=`
|
|
208
208
|
mutation SemDeleteEntity($id: ID!) { semDeleteEntity(id: $id) }
|
|
209
209
|
`,K=`
|
|
210
|
-
${
|
|
210
|
+
${R}
|
|
211
211
|
mutation SemCreateDimension($input: SemCreateDimensionInput!) {
|
|
212
212
|
semCreateDimension(input: $input) { ...DimensionFields }
|
|
213
213
|
}
|
|
214
214
|
`,B=`
|
|
215
|
-
${
|
|
215
|
+
${D}
|
|
216
216
|
mutation SemCreateMetric($input: SemCreateMetricInput!) {
|
|
217
217
|
semCreateMetric(input: $input) { ...MetricFields }
|
|
218
218
|
}
|
|
219
219
|
`,j=`
|
|
220
|
-
${
|
|
220
|
+
${p}
|
|
221
221
|
query SemListRelationships($modelId: ID!) {
|
|
222
222
|
semListRelationships(modelId: $modelId) { ...RelationshipFields }
|
|
223
223
|
}
|
|
224
224
|
`,z=`
|
|
225
|
-
${
|
|
225
|
+
${p}
|
|
226
226
|
mutation SemCreateRelationship($input: SemCreateRelationshipInput!) {
|
|
227
227
|
semCreateRelationship(input: $input) { ...RelationshipFields }
|
|
228
228
|
}
|
|
@@ -254,10 +254,10 @@ var A=`
|
|
|
254
254
|
${c}
|
|
255
255
|
mutation SemPublishQuery($id: ID!) { semPublishQuery(id: $id) { ...QueryFull } }
|
|
256
256
|
`,ne=`
|
|
257
|
-
${
|
|
257
|
+
${u}
|
|
258
258
|
mutation SemRunQuery($id: ID!) { semRunQuery(id: $id) { ...QueryRunFields } }
|
|
259
259
|
`,ie=`
|
|
260
|
-
${
|
|
260
|
+
${u}
|
|
261
261
|
${a}
|
|
262
262
|
query SemListQueryRuns($queryId: ID!, $status: SemQueryRunStatus, $pagination: PaginationInput) {
|
|
263
263
|
semListQueryRuns(queryId: $queryId, status: $status, pagination: $pagination) {
|
|
@@ -266,18 +266,33 @@ var A=`
|
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
`,ae=`
|
|
269
|
-
${
|
|
269
|
+
${u}
|
|
270
|
+
query SemQueryRun($id: ID!) {
|
|
271
|
+
semQueryRun(id: $id) { ...QueryRunFields }
|
|
272
|
+
}
|
|
273
|
+
`,oe=`
|
|
274
|
+
${a}
|
|
275
|
+
query SemQueryRunResult($runId: ID!, $pagination: PaginationInput) {
|
|
276
|
+
semQueryRunResult(runId: $runId, pagination: $pagination) {
|
|
277
|
+
runId queryId
|
|
278
|
+
columns { name entity field aggregation masked mask }
|
|
279
|
+
rows rowCount totalRowCount truncated expiresAt offset limit
|
|
280
|
+
pageInfo { ...PageInfoFields }
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
`,se=`
|
|
284
|
+
${l}
|
|
270
285
|
query SemListAccessPolicies($entityId: ID, $modelId: ID) {
|
|
271
286
|
semListAccessPolicies(entityId: $entityId, modelId: $modelId) { ...AccessPolicyFields }
|
|
272
287
|
}
|
|
273
|
-
`,
|
|
274
|
-
${
|
|
288
|
+
`,re=`
|
|
289
|
+
${l}
|
|
275
290
|
mutation SemCreateAccessPolicy($input: SemCreateAccessPolicyInput!) {
|
|
276
291
|
semCreateAccessPolicy(input: $input) { ...AccessPolicyFields }
|
|
277
292
|
}
|
|
278
|
-
`,
|
|
279
|
-
${
|
|
293
|
+
`,ce=`
|
|
294
|
+
${l}
|
|
280
295
|
mutation SemSetAccessPolicyActive($id: ID!, $isActive: Boolean!) {
|
|
281
296
|
semSetAccessPolicyActive(id: $id, isActive: $isActive) { ...AccessPolicyFields }
|
|
282
297
|
}
|
|
283
|
-
`,
|
|
298
|
+
`,ue="query SemHealth { semHealth }";function me(d){let{workspace:n}=d.gql;return {connectors:{async get(e){return (await n.request($,{id:e})).semConnector},async list(e,t){return (await n.request(T,{kind:e,pagination:t})).semListConnectors},async create(e){return (await n.request(F,{input:e})).semCreateConnector},async update(e,t){return (await n.request(P,{id:e,input:t})).semUpdateConnector},async archive(e){return (await n.request(Q,{id:e})).semArchiveConnector}},dataSources:{async get(e){return (await n.request(_,{id:e})).semDataSource},async list(e,t,i){return (await n.request(g,{connectorId:e,status:t,pagination:i})).semListDataSources},async create(e){return (await n.request(M,{input:e})).semCreateDataSource},async update(e,t){return (await n.request(L,{id:e,input:t})).semUpdateDataSource},async archive(e){return (await n.request(U,{id:e})).semArchiveDataSource},async transition(e,t){return (await n.request(h,{id:e,status:t})).semTransitionDataSource}},connections:{async list(e){return (await n.request(O,{dataSourceId:e})).semListConnections},async record(e){return (await n.request(N,{input:e})).semRecordConnection}},models:{async get(e){return (await n.request(q,{id:e})).semModel},async list(e,t){return (await n.request(f,{status:e,pagination:t})).semListModels},async create(e){return (await n.request(x,{input:e})).semCreateModel},async update(e,t){return (await n.request(w,{id:e,input:t})).semUpdateModel},async archive(e){return (await n.request(v,{id:e})).semArchiveModel},async publish(e){return (await n.request(Y,{id:e})).semPublishModel}},entities:{async get(e){return (await n.request(H,{id:e})).semEntity},async list(e){return (await n.request(b,{modelId:e})).semListEntities},async create(e){return (await n.request(k,{input:e})).semCreateEntity},async update(e,t){return (await n.request(G,{id:e,input:t})).semUpdateEntity},async delete(e){return (await n.request(V,{id:e})).semDeleteEntity}},dimensions:{async create(e){return (await n.request(K,{input:e})).semCreateDimension}},metrics:{async create(e){return (await n.request(B,{input:e})).semCreateMetric}},relationships:{async list(e){return (await n.request(j,{modelId:e})).semListRelationships},async create(e){return (await n.request(z,{input:e})).semCreateRelationship}},queries:{async get(e){return (await n.request(J,{id:e})).semQuery},async list(e,t,i){return (await n.request(W,{modelId:e,status:t,pagination:i})).semListQueries},async create(e){return (await n.request(X,{input:e})).semCreateQuery},async update(e,t){return (await n.request(Z,{id:e,input:t})).semUpdateQuery},async archive(e){return (await n.request(ee,{id:e})).semArchiveQuery},async publish(e){return (await n.request(te,{id:e})).semPublishQuery},async run(e){return (await n.request(ne,{id:e})).semRunQuery}},queryRuns:{async list(e,t,i){return (await n.request(ie,{queryId:e,status:t,pagination:i})).semListQueryRuns},async get(e){return (await n.request(ae,{id:e})).semQueryRun},async result(e,t){return (await n.request(oe,{runId:e,pagination:t})).semQueryRunResult}},accessPolicies:{async list(e,t){return (await n.request(se,{entityId:e,modelId:t})).semListAccessPolicies},async create(e){return (await n.request(re,{input:e})).semCreateAccessPolicy},async setActive(e,t){return (await n.request(ce,{id:e,isActive:t})).semSetAccessPolicyActive}},health:{async check(){return (await n.request(ue)).semHealth}}}}var pe={id:"semanticfed",version:"1.0.0",displayName:"SemanticFed",dependsOn:["auth"],attach(d){return me(d)}},he=pe;export{he as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as Json, S as SdkModule } from '../../module-
|
|
1
|
+
import { J as Json, S as SdkModule } from '../../module-Bq-w9Ws5.cjs';
|
|
2
2
|
import 'graphql-request';
|
|
3
3
|
|
|
4
4
|
type StoreProductType = 'APP' | 'INTEGRATION' | 'TEMPLATE' | 'EXTENSION' | 'NODE' | 'WIDGET' | 'AGENT' | 'BUNDLE' | 'PRODUCT' | 'PROMPT' | 'WORKFLOW' | 'THEME';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as Json, S as SdkModule } from '../../module-
|
|
1
|
+
import { J as Json, S as SdkModule } from '../../module-Bq-w9Ws5.js';
|
|
2
2
|
import 'graphql-request';
|
|
3
3
|
|
|
4
4
|
type StoreProductType = 'APP' | 'INTEGRATION' | 'TEMPLATE' | 'EXTENSION' | 'NODE' | 'WIDGET' | 'AGENT' | 'BUNDLE' | 'PRODUCT' | 'PROMPT' | 'WORKFLOW' | 'THEME';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as Json, S as SdkModule } from '../../module-
|
|
1
|
+
import { J as Json, S as SdkModule } from '../../module-Bq-w9Ws5.cjs';
|
|
2
2
|
import 'graphql-request';
|
|
3
3
|
|
|
4
4
|
type SubAgentKind = 'COMPLIANCE' | 'CONCIERGE' | 'COST' | 'DISCOVERY' | 'MIGRATION' | 'NEGOTIATION' | 'NEWSLETTER' | 'RENEWAL' | 'VENDOR';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as Json, S as SdkModule } from '../../module-
|
|
1
|
+
import { J as Json, S as SdkModule } from '../../module-Bq-w9Ws5.js';
|
|
2
2
|
import 'graphql-request';
|
|
3
3
|
|
|
4
4
|
type SubAgentKind = 'COMPLIANCE' | 'CONCIERGE' | 'COST' | 'DISCOVERY' | 'MIGRATION' | 'NEGOTIATION' | 'NEWSLETTER' | 'RENEWAL' | 'VENDOR';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as Json, S as SdkModule } from '../../module-
|
|
1
|
+
import { J as Json, S as SdkModule } from '../../module-Bq-w9Ws5.cjs';
|
|
2
2
|
import 'graphql-request';
|
|
3
3
|
|
|
4
4
|
type SupportTicketStatus = 'CLOSED' | 'IN_PROGRESS' | 'NEW' | 'REOPENED' | 'RESOLVED' | 'WAITING_CUSTOMER';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as Json, S as SdkModule } from '../../module-
|
|
1
|
+
import { J as Json, S as SdkModule } from '../../module-Bq-w9Ws5.js';
|
|
2
2
|
import 'graphql-request';
|
|
3
3
|
|
|
4
4
|
type SupportTicketStatus = 'CLOSED' | 'IN_PROGRESS' | 'NEW' | 'REOPENED' | 'RESOLVED' | 'WAITING_CUSTOMER';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ContextInput, J as Json, P as PaginationInput, S as SdkModule } from '../../module-
|
|
1
|
+
import { C as ContextInput, J as Json, P as PaginationInput, S as SdkModule } from '../../module-Bq-w9Ws5.cjs';
|
|
2
2
|
import 'graphql-request';
|
|
3
3
|
|
|
4
4
|
type TagScope = 'GLOBAL' | 'TENANT' | 'WORKSPACE' | 'PRIVATE';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ContextInput, J as Json, P as PaginationInput, S as SdkModule } from '../../module-
|
|
1
|
+
import { C as ContextInput, J as Json, P as PaginationInput, S as SdkModule } from '../../module-Bq-w9Ws5.js';
|
|
2
2
|
import 'graphql-request';
|
|
3
3
|
|
|
4
4
|
type TagScope = 'GLOBAL' | 'TENANT' | 'WORKSPACE' | 'PRIVATE';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as Json, P as PaginationInput, S as SdkModule } from '../../module-
|
|
1
|
+
import { J as Json, P as PaginationInput, S as SdkModule } from '../../module-Bq-w9Ws5.cjs';
|
|
2
2
|
import 'graphql-request';
|
|
3
3
|
|
|
4
4
|
type WorkspaceStatus = 'ACTIVE' | 'ARCHIVED' | 'DELETED' | 'SUSPENDED';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as Json, P as PaginationInput, S as SdkModule } from '../../module-
|
|
1
|
+
import { J as Json, P as PaginationInput, S as SdkModule } from '../../module-Bq-w9Ws5.js';
|
|
2
2
|
import 'graphql-request';
|
|
3
3
|
|
|
4
4
|
type WorkspaceStatus = 'ACTIVE' | 'ARCHIVED' | 'DELETED' | 'SUSPENDED';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/sdk-libs",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.1026.1",
|
|
4
4
|
"description": "Modular SDK library shared across all Burdenoff product SDKs (vibecontrols, botlit, fluidgrids, bigconsole, healthybowl, devportal, workspaces). Each module exports an SdkModule contract with attach(ctx) returning a typed API; product SDKs become thin shells that pick which modules to mount. Sister to @burdenoff/cli-sdk.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
package/dist/chunk-Q2R2HBZ7.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {c,b as b$1,g,d,e,a,l,j as j$1,k}from'./chunk-NEREAHJ6.js';import {GraphQLClient}from'graphql-request';import {readFile,mkdir,writeFile,unlink}from'fs/promises';import {dirname}from'path';var $=3e4,G=3,W=1e3,j=300*1e3;function Q(t,e){return new Promise((r,o)=>{if(e?.aborted)return o(new b$1("Aborted","ABORTED"));let n=setTimeout(()=>r(),t);e?.addEventListener("abort",()=>{clearTimeout(n),o(new b$1("Aborted","ABORTED"));});})}function U(t){if(t instanceof TypeError)return true;if(t&&typeof t=="object"&&"response"in t){let e=t.response;if(e&&typeof e.status=="number"&&e.status>=500)return true}return false}function _(t){if(t&&typeof t=="object"&&"response"in t){let e=t.response;if(e&&typeof e.status=="number"&&e.status>=400&&e.status<500)return e.status}return null}function q(t){if(t&&typeof t=="object"&&"response"in t){let e=t,r=e.response?.errors?.[0];if(r?.message)return a(r.message);if(e.message)return a(e.message)}return t instanceof Error?a(t.message):a(String(t))}var m=class{workspaceClient;globalClient;opts;constructor(e){this.opts=e,this.workspaceClient=new GraphQLClient(e.workspaceEndpoint),this.globalClient=new GraphQLClient(e.globalEndpoint);}async buildHeaders(e){let r={},o=this.opts.auth.getApiKey();o&&(r["X-API-Key"]=o);let n=await this.opts.auth.getTokens();if(n?.accessToken&&(r.Authorization=`Bearer ${n.accessToken}`),e==="workspace"){let s=this.opts.auth.getWorkspaceToken();s&&(r["X-Workspace-Authorization"]=`Bearer ${s}`);}return r}isExpiringSoon(e){return e?Date.now()+j>=e:false}async ensureFresh(){if(this.opts.autoRefresh===false)return;let e=await this.opts.auth.getTokens();e?.expiresAt&&this.isExpiringSoon(e.expiresAt)&&await this.performTokenRefresh();}async performTokenRefresh(){let e=await this.opts.auth.getTokens();if(!e?.refreshToken)throw new c("No refresh token available");let o=await this.globalClient.request("mutation RefreshToken($token: String!) { refreshToken(token: $token) { accessToken refreshToken expiresIn } }",{token:e.refreshToken}),n=Date.now()+o.refreshToken.expiresIn*1e3,s={accessToken:o.refreshToken.accessToken,refreshToken:o.refreshToken.refreshToken,expiresAt:n};return await this.opts.auth.setTokens(s),this.opts.onTokenRefresh&&await this.opts.onTokenRefresh(s),s}async executeWithRetry(e$1,r,o,n,s){let i=this.opts.timeout??$,a;for(let l=0;l<G;l++){let d=new AbortController,x=s?.signal??this.opts.defaultSignal,I=()=>d.abort();x?.addEventListener("abort",I);let B=setTimeout(()=>d.abort(),i);try{let h=await this.buildHeaders(r);return await e$1.request({document:o,variables:n,signal:d.signal,requestHeaders:h})}catch(h){if(a=h,_(h)!==null)break;if(U(h)&&l<G-1){await Q(W*2**l,x);continue}break}finally{clearTimeout(B),x?.removeEventListener("abort",I);}}let c$1=_(a);if(c$1!==null){let l=q(a);switch(c$1){case 401:throw new c(l,a);case 403:throw new d(l,a);case 429:throw new g(l,a);default:throw new b$1(l,`HTTP_${c$1}`,a)}}throw a instanceof TypeError?new e(q(a),a):a instanceof b$1?a:new b$1(q(a),"SDK_ERROR",a)}async globalRequest(e,r,o){return this.executeWithRetry(this.globalClient,"global",e,r,o)}async workspaceRequest(e,r,o){return await this.ensureFresh(),this.executeWithRetry(this.workspaceClient,"workspace",e,r,o)}async workspaceAuthOnlyRequest(e,r,o){return this.executeWithRetry(this.workspaceClient,"workspace",e,r,o)}};function T(t,e){return e==="workspace"?{request:(r,o,n)=>t.workspaceRequest(r,o,n)}:e==="global"?{request:(r,o,n)=>t.globalRequest(r,o,n)}:{request:(r,o,n)=>t.workspaceAuthOnlyRequest(r,o,n)}}var f=class{tokens;constructor(e){this.tokens=e??null;}async get(){return this.tokens?{...this.tokens}:null}async set(e){this.tokens={...e};}async clear(){this.tokens=null;}},v=class{constructor(e){this.opts=e;}opts;async get(){try{let e=await readFile(this.opts.path,"utf8"),r=JSON.parse(e);return r&&typeof r.accessToken=="string"?{accessToken:r.accessToken,refreshToken:r.refreshToken??"",expiresAt:typeof r.expiresAt=="number"?r.expiresAt:void 0}:null}catch(e){if(K(e)==="ENOENT")return null;throw new Error(a(`FileTokenStore.get failed: ${e.message}`))}}async set(e){await mkdir(dirname(this.opts.path),{recursive:true}),await writeFile(this.opts.path,JSON.stringify(e,null,2),{mode:384});}async clear(){try{await unlink(this.opts.path);}catch(e){if(K(e)!=="ENOENT")throw e}}};function K(t){if(t&&typeof t=="object"&&"code"in t&&typeof t.code=="string")return t.code}var b=class{constructor(e){this.opts=e;}opts;async get(){let e=process.env[this.opts.accessTokenVar];if(!e)return null;let r=this.opts.refreshTokenVar?process.env[this.opts.refreshTokenVar]??"":"",o=this.opts.expiresAtVar?process.env[this.opts.expiresAtVar]:void 0,n=o?Number.parseInt(o,10):void 0;return {accessToken:e,refreshToken:r,expiresAt:n}}async set(e){}async clear(){}};var y=class{constructor(e){this.tokenStore=e;}tokenStore;workspaceToken=null;apiKey=null;async getTokens(){return this.tokenStore.get()}async setTokens(e){await this.tokenStore.set(e);}async clearTokens(){await this.tokenStore.clear(),this.workspaceToken=null;}setWorkspaceToken(e){this.workspaceToken=e;}getWorkspaceToken(){return this.workspaceToken}setApiKey(e){this.apiKey=e;}getApiKey(){return this.apiKey}async isAuthenticated(){return (await this.getTokens())?.accessToken?true:!!this.apiKey}};function E(t){let e=t?.tokenStore??new f(t?.tokens??null),r=new y(e);return t?.workspaceToken&&r.setWorkspaceToken(t.workspaceToken),t?.apiKey&&r.setApiKey(t.apiKey),r}var V={debug:10,info:20,warn:30,error:40};function M(t={}){let e=V[t.level??"warn"],r=t.prefix?`[${t.prefix}]`:"";function o(n,s,i){if(V[n]<e)return;let a$1=`${r}[${n}] ${a(s)}`,c=i?JSON.parse(a(JSON.stringify(i))):void 0;n==="error"||n==="warn"?console.error(a$1,c??""):console.warn(a$1,c??"");}return {debug:(n,s)=>o("debug",n,s),info:(n,s)=>o("info",n,s),warn:(n,s)=>o("warn",n,s),error:(n,s)=>o("error",n,s)}}var w=class{apis=new Map;set(e,r){this.apis.set(e,r);}get(e){if(!this.apis.has(e))throw new l(e);return this.apis.get(e)}has(e){return this.apis.has(e)}ids(){return Array.from(this.apis.keys())}};var Z="https://graphqlworkspaces.burdenoff.com/workspaces/graphql",ee="https://graphql.burdenoff.com/global/graphql";function F(t,e,r,o){if(e)return e;let n=process.env[`${t.toUpperCase()}_${r}`];if(n)return n;let s=process.env[`BURDENOFF_${r}`];return s||o}function te(t){let e=t.productVersion??"0.0.0",r=F(t.productName,t.workspaceEndpoint,"WORKSPACE_ENDPOINT",Z),o=F(t.productName,t.globalEndpoint,"GLOBAL_ENDPOINT",ee),n=t.env??re(r),s=t.logger??M({level:t.logLevel??"warn",prefix:t.productName}),i=t.accessToken?{accessToken:t.accessToken,refreshToken:t.refreshToken??""}:null,a=E({tokens:i,workspaceToken:t.workspaceToken??null,apiKey:t.apiKey??null,tokenStore:t.tokenStore}),l={issuer:t.oidcIssuer??oe(o),clientId:t.clientId,clientSecret:t.clientSecret,redirectUri:t.redirectUri},d=new m({workspaceEndpoint:r,globalEndpoint:o,auth:a,timeout:t.timeout,autoRefresh:t.autoRefresh,onTokenRefresh:t.onTokenRefresh,defaultSignal:t.signal});return {productName:t.productName,productVersion:e,env:n,gql:{workspace:T(d,"workspace"),global:T(d,"global"),workspaceAuthOnly:T(d,"workspaceAuthOnly")},client:d,auth:a,oidc:l,logger:s,modules:new w,signal:t.signal}}function re(t){return t.includes("localhost")||t.includes("127.0.0.1")?"local":t.includes("alpha")?"alpha":t.includes("dev")?"dev":"prod"}function oe(t){return t.includes("localhost")||t.includes("127.0.0.1")?t.replace(/\/graphql$/,"").replace(/\/global\/graphql$/,"/global"):"https://graphql.burdenoff.com/global"}function N(t){let e=new Map;for(let i of t){if(e.has(i.id))throw new b$1(`Duplicate module id: '${i.id}'`,"DUPLICATE_MODULE");e.set(i.id,i);}for(let i of t)for(let a of i.dependsOn??[])if(!e.has(a))throw new j$1(i.id,a);let r=[],o=new Set,n=new Set,s=(i,a)=>{if(!n.has(i.id)){if(o.has(i.id))throw new k([...a,i.id]);o.add(i.id);for(let c of i.dependsOn??[]){let l=e.get(c);l&&s(l,[...a,i.id]);}o.delete(i.id),n.add(i.id),r.push(i);}};for(let i of t)s(i,[]);return r}function Ve(t,e){let r=N(e),o={};for(let n of r){let s=n.attach(t);t.modules.set(n.id,s),o[n.id]=s;}return {ctx:t,modules:o}}
|
|
2
|
-
export{m as a,T as b,f as c,v as d,b as e,y as f,E as g,M as h,w as i,te as j,N as k,Ve as l};
|