@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,283 @@
1
+ 'use strict';var y=`
2
+ fragment ConnectorScalars on SemConnector {
3
+ id name description kind isActive capabilities
4
+ workspaceId createdAt updatedAt
5
+ }
6
+ `,d=`
7
+ fragment ConnectionFields on SemConnection {
8
+ id dataSourceId health latencyMs message probedAt
9
+ workspaceId createdAt updatedAt
10
+ }
11
+ `,A=`
12
+ fragment DataSourceScalars on SemDataSource {
13
+ id connectorId name description endpoint pushdownEnabled secretRef
14
+ status tags lastIntrospectedAt workspaceId createdAt updatedAt
15
+ }
16
+ `,E=`
17
+ fragment DimensionFields on SemDimension {
18
+ id entityId name dataType expression isPrimary description
19
+ workspaceId createdAt updatedAt
20
+ }
21
+ `,D=`
22
+ fragment MetricFields on SemMetric {
23
+ id entityId name aggregation expression format description
24
+ workspaceId createdAt updatedAt
25
+ }
26
+ `,S=`
27
+ fragment RelationshipFields on SemRelationship {
28
+ id modelId name fromEntityId fromField toEntityId toField kind description
29
+ workspaceId createdAt updatedAt
30
+ }
31
+ `,p=`
32
+ fragment AccessPolicyFields on SemAccessPolicy {
33
+ id name description principal effect scope rule isActive entityId modelId
34
+ workspaceId createdAt updatedAt
35
+ }
36
+ `,l=`
37
+ fragment QueryRunFields on SemQueryRun {
38
+ id queryId status fromCache rowCount sourcesTouched durationMs
39
+ planSummary errorMessage runById startedAt finishedAt
40
+ workspaceId createdAt updatedAt
41
+ }
42
+ `,ce=`
43
+ fragment QueryScalars on SemQuery {
44
+ id modelId name description queryText parameters cacheable cacheTtlSeconds
45
+ status tags workspaceId createdAt updatedAt
46
+ }
47
+ `,me=`
48
+ fragment ModelScalars on SemSemanticModel {
49
+ id name description status version tags publishedAt
50
+ workspaceId createdAt updatedAt
51
+ }
52
+ `,a=`
53
+ fragment PageInfoFields on SemPageInfo { cursor hasMore }
54
+ `,m=`
55
+ ${y}
56
+ ${A}
57
+ fragment ConnectorFull on SemConnector {
58
+ ...ConnectorScalars
59
+ dataSources { ...DataSourceScalars }
60
+ }
61
+ `,o=`
62
+ ${A}
63
+ ${y}
64
+ ${d}
65
+ fragment DataSourceFull on SemDataSource {
66
+ ...DataSourceScalars
67
+ connector { ...ConnectorScalars }
68
+ connections { ...ConnectionFields }
69
+ }
70
+ `,s=`
71
+ ${E}
72
+ ${D}
73
+ fragment EntityFull on SemEntity {
74
+ id modelId dataSourceId name kind physicalName primaryKey sqlDefinition
75
+ description workspaceId createdAt updatedAt
76
+ dimensions { ...DimensionFields }
77
+ metrics { ...MetricFields }
78
+ }
79
+ `,r=`
80
+ ${me}
81
+ ${s}
82
+ ${S}
83
+ fragment ModelFull on SemSemanticModel {
84
+ ...ModelScalars
85
+ entities { ...EntityFull }
86
+ relationships { ...RelationshipFields }
87
+ }
88
+ `,c=`
89
+ ${ce}
90
+ ${l}
91
+ fragment QueryFull on SemQuery {
92
+ ...QueryScalars
93
+ runs { ...QueryRunFields }
94
+ }
95
+ `,R=`
96
+ ${m}
97
+ query SemGetConnector($id: ID!) { semConnector(id: $id) { ...ConnectorFull } }
98
+ `,$=`
99
+ ${m}
100
+ ${a}
101
+ query SemListConnectors($kind: SemConnectorKind, $pagination: PaginationInput) {
102
+ semListConnectors(kind: $kind, pagination: $pagination) {
103
+ items { ...ConnectorFull }
104
+ pageInfo { ...PageInfoFields }
105
+ }
106
+ }
107
+ `,F=`
108
+ ${m}
109
+ mutation SemCreateConnector($input: SemCreateConnectorInput!) {
110
+ semCreateConnector(input: $input) { ...ConnectorFull }
111
+ }
112
+ `,T=`
113
+ ${m}
114
+ mutation SemUpdateConnector($id: ID!, $input: SemUpdateConnectorInput!) {
115
+ semUpdateConnector(id: $id, input: $input) { ...ConnectorFull }
116
+ }
117
+ `,P=`
118
+ mutation SemArchiveConnector($id: ID!) { semArchiveConnector(id: $id) }
119
+ `,_=`
120
+ ${o}
121
+ query SemGetDataSource($id: ID!) { semDataSource(id: $id) { ...DataSourceFull } }
122
+ `,M=`
123
+ ${o}
124
+ ${a}
125
+ query SemListDataSources(
126
+ $connectorId: ID
127
+ $status: SemDataSourceStatus
128
+ $pagination: PaginationInput
129
+ ) {
130
+ semListDataSources(connectorId: $connectorId, status: $status, pagination: $pagination) {
131
+ items { ...DataSourceFull }
132
+ pageInfo { ...PageInfoFields }
133
+ }
134
+ }
135
+ `,Q=`
136
+ ${o}
137
+ mutation SemCreateDataSource($input: SemCreateDataSourceInput!) {
138
+ semCreateDataSource(input: $input) { ...DataSourceFull }
139
+ }
140
+ `,g=`
141
+ ${o}
142
+ mutation SemUpdateDataSource($id: ID!, $input: SemUpdateDataSourceInput!) {
143
+ semUpdateDataSource(id: $id, input: $input) { ...DataSourceFull }
144
+ }
145
+ `,L=`
146
+ mutation SemArchiveDataSource($id: ID!) { semArchiveDataSource(id: $id) }
147
+ `,h=`
148
+ ${o}
149
+ mutation SemTransitionDataSource($id: ID!, $status: SemDataSourceStatus!) {
150
+ semTransitionDataSource(id: $id, status: $status) { ...DataSourceFull }
151
+ }
152
+ `,U=`
153
+ ${d}
154
+ query SemListConnections($dataSourceId: ID!) {
155
+ semListConnections(dataSourceId: $dataSourceId) { ...ConnectionFields }
156
+ }
157
+ `,O=`
158
+ ${d}
159
+ mutation SemRecordConnection($input: SemRecordConnectionInput!) {
160
+ semRecordConnection(input: $input) { ...ConnectionFields }
161
+ }
162
+ `,N=`
163
+ ${r}
164
+ query SemGetModel($id: ID!) { semModel(id: $id) { ...ModelFull } }
165
+ `,q=`
166
+ ${r}
167
+ ${a}
168
+ query SemListModels($status: SemModelStatus, $pagination: PaginationInput) {
169
+ semListModels(status: $status, pagination: $pagination) {
170
+ items { ...ModelFull }
171
+ pageInfo { ...PageInfoFields }
172
+ }
173
+ }
174
+ `,f=`
175
+ ${r}
176
+ mutation SemCreateModel($input: SemCreateModelInput!) {
177
+ semCreateModel(input: $input) { ...ModelFull }
178
+ }
179
+ `,x=`
180
+ ${r}
181
+ mutation SemUpdateModel($id: ID!, $input: SemUpdateModelInput!) {
182
+ semUpdateModel(id: $id, input: $input) { ...ModelFull }
183
+ }
184
+ `,w=`
185
+ mutation SemArchiveModel($id: ID!) { semArchiveModel(id: $id) }
186
+ `,v=`
187
+ ${r}
188
+ mutation SemPublishModel($id: ID!) { semPublishModel(id: $id) { ...ModelFull } }
189
+ `,H=`
190
+ ${s}
191
+ query SemGetEntity($id: ID!) { semEntity(id: $id) { ...EntityFull } }
192
+ `,Y=`
193
+ ${s}
194
+ query SemListEntities($modelId: ID!) {
195
+ semListEntities(modelId: $modelId) { ...EntityFull }
196
+ }
197
+ `,b=`
198
+ ${s}
199
+ mutation SemCreateEntity($input: SemCreateEntityInput!) {
200
+ semCreateEntity(input: $input) { ...EntityFull }
201
+ }
202
+ `,k=`
203
+ ${s}
204
+ mutation SemUpdateEntity($id: ID!, $input: SemUpdateEntityInput!) {
205
+ semUpdateEntity(id: $id, input: $input) { ...EntityFull }
206
+ }
207
+ `,G=`
208
+ mutation SemDeleteEntity($id: ID!) { semDeleteEntity(id: $id) }
209
+ `,V=`
210
+ ${E}
211
+ mutation SemCreateDimension($input: SemCreateDimensionInput!) {
212
+ semCreateDimension(input: $input) { ...DimensionFields }
213
+ }
214
+ `,K=`
215
+ ${D}
216
+ mutation SemCreateMetric($input: SemCreateMetricInput!) {
217
+ semCreateMetric(input: $input) { ...MetricFields }
218
+ }
219
+ `,B=`
220
+ ${S}
221
+ query SemListRelationships($modelId: ID!) {
222
+ semListRelationships(modelId: $modelId) { ...RelationshipFields }
223
+ }
224
+ `,j=`
225
+ ${S}
226
+ mutation SemCreateRelationship($input: SemCreateRelationshipInput!) {
227
+ semCreateRelationship(input: $input) { ...RelationshipFields }
228
+ }
229
+ `,z=`
230
+ ${c}
231
+ query SemGetQuery($id: ID!) { semQuery(id: $id) { ...QueryFull } }
232
+ `,J=`
233
+ ${c}
234
+ ${a}
235
+ query SemListQueries($modelId: ID, $status: SemQueryStatus, $pagination: PaginationInput) {
236
+ semListQueries(modelId: $modelId, status: $status, pagination: $pagination) {
237
+ items { ...QueryFull }
238
+ pageInfo { ...PageInfoFields }
239
+ }
240
+ }
241
+ `,W=`
242
+ ${c}
243
+ mutation SemCreateQuery($input: SemCreateQueryInput!) {
244
+ semCreateQuery(input: $input) { ...QueryFull }
245
+ }
246
+ `,X=`
247
+ ${c}
248
+ mutation SemUpdateQuery($id: ID!, $input: SemUpdateQueryInput!) {
249
+ semUpdateQuery(id: $id, input: $input) { ...QueryFull }
250
+ }
251
+ `,Z=`
252
+ mutation SemArchiveQuery($id: ID!) { semArchiveQuery(id: $id) }
253
+ `,ee=`
254
+ ${c}
255
+ mutation SemPublishQuery($id: ID!) { semPublishQuery(id: $id) { ...QueryFull } }
256
+ `,te=`
257
+ ${l}
258
+ mutation SemRunQuery($id: ID!) { semRunQuery(id: $id) { ...QueryRunFields } }
259
+ `,ne=`
260
+ ${l}
261
+ ${a}
262
+ query SemListQueryRuns($queryId: ID!, $status: SemQueryRunStatus, $pagination: PaginationInput) {
263
+ semListQueryRuns(queryId: $queryId, status: $status, pagination: $pagination) {
264
+ items { ...QueryRunFields }
265
+ pageInfo { ...PageInfoFields }
266
+ }
267
+ }
268
+ `,ie=`
269
+ ${p}
270
+ query SemListAccessPolicies($entityId: ID, $modelId: ID) {
271
+ semListAccessPolicies(entityId: $entityId, modelId: $modelId) { ...AccessPolicyFields }
272
+ }
273
+ `,ae=`
274
+ ${p}
275
+ mutation SemCreateAccessPolicy($input: SemCreateAccessPolicyInput!) {
276
+ semCreateAccessPolicy(input: $input) { ...AccessPolicyFields }
277
+ }
278
+ `,oe=`
279
+ ${p}
280
+ mutation SemSetAccessPolicyActive($id: ID!, $isActive: Boolean!) {
281
+ semSetAccessPolicyActive(id: $id, isActive: $isActive) { ...AccessPolicyFields }
282
+ }
283
+ `,se="query SemHealth { semHealth }";function re(u){let{workspace:n}=u.gql;return {connectors:{async get(e){return (await n.request(R,{id:e})).semConnector},async list(e,t){return (await n.request($,{kind:e,pagination:t})).semListConnectors},async create(e){return (await n.request(F,{input:e})).semCreateConnector},async update(e,t){return (await n.request(T,{id:e,input:t})).semUpdateConnector},async archive(e){return (await n.request(P,{id:e})).semArchiveConnector}},dataSources:{async get(e){return (await n.request(_,{id:e})).semDataSource},async list(e,t,i){return (await n.request(M,{connectorId:e,status:t,pagination:i})).semListDataSources},async create(e){return (await n.request(Q,{input:e})).semCreateDataSource},async update(e,t){return (await n.request(g,{id:e,input:t})).semUpdateDataSource},async archive(e){return (await n.request(L,{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(U,{dataSourceId:e})).semListConnections},async record(e){return (await n.request(O,{input:e})).semRecordConnection}},models:{async get(e){return (await n.request(N,{id:e})).semModel},async list(e,t){return (await n.request(q,{status:e,pagination:t})).semListModels},async create(e){return (await n.request(f,{input:e})).semCreateModel},async update(e,t){return (await n.request(x,{id:e,input:t})).semUpdateModel},async archive(e){return (await n.request(w,{id:e})).semArchiveModel},async publish(e){return (await n.request(v,{id:e})).semPublishModel}},entities:{async get(e){return (await n.request(H,{id:e})).semEntity},async list(e){return (await n.request(Y,{modelId:e})).semListEntities},async create(e){return (await n.request(b,{input:e})).semCreateEntity},async update(e,t){return (await n.request(k,{id:e,input:t})).semUpdateEntity},async delete(e){return (await n.request(G,{id:e})).semDeleteEntity}},dimensions:{async create(e){return (await n.request(V,{input:e})).semCreateDimension}},metrics:{async create(e){return (await n.request(K,{input:e})).semCreateMetric}},relationships:{async list(e){return (await n.request(B,{modelId:e})).semListRelationships},async create(e){return (await n.request(j,{input:e})).semCreateRelationship}},queries:{async get(e){return (await n.request(z,{id:e})).semQuery},async list(e,t,i){return (await n.request(J,{modelId:e,status:t,pagination:i})).semListQueries},async create(e){return (await n.request(W,{input:e})).semCreateQuery},async update(e,t){return (await n.request(X,{id:e,input:t})).semUpdateQuery},async archive(e){return (await n.request(Z,{id:e})).semArchiveQuery},async publish(e){return (await n.request(ee,{id:e})).semPublishQuery},async run(e){return (await n.request(te,{id:e})).semRunQuery}},queryRuns:{async list(e,t,i){return (await n.request(ne,{queryId:e,status:t,pagination:i})).semListQueryRuns}},accessPolicies:{async list(e,t){return (await n.request(ie,{entityId:e,modelId:t})).semListAccessPolicies},async create(e){return (await n.request(ae,{input:e})).semCreateAccessPolicy},async setActive(e,t){return (await n.request(oe,{id:e,isActive:t})).semSetAccessPolicyActive}},health:{async check(){return (await n.request(se)).semHealth}}}}var ue={id:"semanticfed",version:"1.0.0",displayName:"SemanticFed",dependsOn:["auth"],attach(u){return re(u)}},ge=ue;module.exports=ge;
@@ -0,0 +1,404 @@
1
+ import { J as Json, S as SdkModule } from '../../module-JDbvil5h.cjs';
2
+ import 'graphql-request';
3
+
4
+ type SemAggregation = 'AVG' | 'COUNT' | 'COUNT_DISTINCT' | 'CUSTOM' | 'MAX' | 'MEDIAN' | 'MIN' | 'SUM';
5
+ type SemConnectionHealth = 'DEGRADED' | 'HEALTHY' | 'UNKNOWN' | 'UNREACHABLE';
6
+ type SemConnectorKind = 'BIGQUERY' | 'CLICKHOUSE' | 'DATABRICKS' | 'GRAPHQL_API' | 'MONGODB' | 'MYSQL' | 'OTHER' | 'POSTGRES' | 'REDSHIFT' | 'REST_API' | 'S3_PARQUET' | 'SNOWFLAKE';
7
+ type SemDataSourceStatus = 'CONNECTED' | 'DEGRADED' | 'DISABLED' | 'DISCONNECTED' | 'DRAFT';
8
+ type SemDataType = 'BOOLEAN' | 'DATE' | 'DECIMAL' | 'GEO' | 'INTEGER' | 'JSON' | 'STRING' | 'TIMESTAMP';
9
+ type SemEntityKind = 'DERIVED' | 'EXTERNAL' | 'TABLE' | 'VIEW';
10
+ type SemModelStatus = 'ARCHIVED' | 'DEPRECATED' | 'DRAFT' | 'PUBLISHED';
11
+ type SemPolicyEffect = 'ALLOW' | 'DENY';
12
+ type SemPolicyScope = 'COLUMN' | 'ENTITY' | 'ROW';
13
+ type SemQueryRunStatus = 'CANCELLED' | 'FAILED' | 'PLANNING' | 'QUEUED' | 'RUNNING' | 'SUCCEEDED';
14
+ type SemQueryStatus = 'ARCHIVED' | 'DRAFT' | 'PUBLISHED';
15
+ type SemRelationshipKind = 'MANY_TO_MANY' | 'MANY_TO_ONE' | 'ONE_TO_MANY' | 'ONE_TO_ONE';
16
+ interface SemPageInfo {
17
+ cursor?: string | null;
18
+ hasMore: boolean;
19
+ }
20
+ interface SemConnector {
21
+ id: string;
22
+ name: string;
23
+ description?: string | null;
24
+ kind: SemConnectorKind;
25
+ isActive: boolean;
26
+ capabilities?: Json | null;
27
+ dataSources: SemDataSource[];
28
+ workspaceId: string;
29
+ createdAt: string;
30
+ updatedAt: string;
31
+ }
32
+ interface SemConnection {
33
+ id: string;
34
+ dataSourceId: string;
35
+ health: SemConnectionHealth;
36
+ latencyMs?: number | null;
37
+ message?: string | null;
38
+ probedAt: string;
39
+ workspaceId: string;
40
+ createdAt: string;
41
+ updatedAt: string;
42
+ }
43
+ interface SemDataSource {
44
+ id: string;
45
+ connectorId: string;
46
+ connector?: SemConnector | null;
47
+ connections: SemConnection[];
48
+ name: string;
49
+ description?: string | null;
50
+ endpoint?: Json | null;
51
+ pushdownEnabled: boolean;
52
+ secretRef?: string | null;
53
+ status: SemDataSourceStatus;
54
+ tags: string[];
55
+ lastIntrospectedAt?: string | null;
56
+ workspaceId: string;
57
+ createdAt: string;
58
+ updatedAt: string;
59
+ }
60
+ interface SemDimension {
61
+ id: string;
62
+ entityId: string;
63
+ name: string;
64
+ dataType: SemDataType;
65
+ expression?: string | null;
66
+ isPrimary: boolean;
67
+ description?: string | null;
68
+ workspaceId: string;
69
+ createdAt: string;
70
+ updatedAt: string;
71
+ }
72
+ interface SemMetric {
73
+ id: string;
74
+ entityId: string;
75
+ name: string;
76
+ aggregation: SemAggregation;
77
+ expression?: string | null;
78
+ format?: string | null;
79
+ description?: string | null;
80
+ workspaceId: string;
81
+ createdAt: string;
82
+ updatedAt: string;
83
+ }
84
+ interface SemEntity {
85
+ id: string;
86
+ modelId: string;
87
+ dataSourceId?: string | null;
88
+ name: string;
89
+ kind: SemEntityKind;
90
+ physicalName?: string | null;
91
+ primaryKey?: string | null;
92
+ sqlDefinition?: string | null;
93
+ description?: string | null;
94
+ dimensions: SemDimension[];
95
+ metrics: SemMetric[];
96
+ workspaceId: string;
97
+ createdAt: string;
98
+ updatedAt: string;
99
+ }
100
+ interface SemRelationship {
101
+ id: string;
102
+ modelId: string;
103
+ name: string;
104
+ fromEntityId: string;
105
+ fromField: string;
106
+ toEntityId: string;
107
+ toField: string;
108
+ kind: SemRelationshipKind;
109
+ description?: string | null;
110
+ workspaceId: string;
111
+ createdAt: string;
112
+ updatedAt: string;
113
+ }
114
+ interface SemSemanticModel {
115
+ id: string;
116
+ name: string;
117
+ description?: string | null;
118
+ status: SemModelStatus;
119
+ version: number;
120
+ tags: string[];
121
+ publishedAt?: string | null;
122
+ entities: SemEntity[];
123
+ relationships: SemRelationship[];
124
+ workspaceId: string;
125
+ createdAt: string;
126
+ updatedAt: string;
127
+ }
128
+ interface SemQueryRun {
129
+ id: string;
130
+ queryId: string;
131
+ status: SemQueryRunStatus;
132
+ fromCache: boolean;
133
+ rowCount?: number | null;
134
+ sourcesTouched: number;
135
+ durationMs?: number | null;
136
+ planSummary?: Json | null;
137
+ errorMessage?: string | null;
138
+ runById?: string | null;
139
+ startedAt?: string | null;
140
+ finishedAt?: string | null;
141
+ workspaceId: string;
142
+ createdAt: string;
143
+ updatedAt: string;
144
+ }
145
+ interface SemQuery {
146
+ id: string;
147
+ modelId?: string | null;
148
+ name: string;
149
+ description?: string | null;
150
+ queryText: string;
151
+ parameters?: Json | null;
152
+ cacheable: boolean;
153
+ cacheTtlSeconds: number;
154
+ status: SemQueryStatus;
155
+ tags: string[];
156
+ runs: SemQueryRun[];
157
+ workspaceId: string;
158
+ createdAt: string;
159
+ updatedAt: string;
160
+ }
161
+ interface SemAccessPolicy {
162
+ id: string;
163
+ name: string;
164
+ description?: string | null;
165
+ principal: string;
166
+ effect: SemPolicyEffect;
167
+ scope: SemPolicyScope;
168
+ rule?: Json | null;
169
+ isActive: boolean;
170
+ entityId?: string | null;
171
+ modelId?: string | null;
172
+ workspaceId: string;
173
+ createdAt: string;
174
+ updatedAt: string;
175
+ }
176
+ interface SemConnectorConnection {
177
+ items: SemConnector[];
178
+ pageInfo: SemPageInfo;
179
+ }
180
+ interface SemDataSourceConnection {
181
+ items: SemDataSource[];
182
+ pageInfo: SemPageInfo;
183
+ }
184
+ interface SemSemanticModelConnection {
185
+ items: SemSemanticModel[];
186
+ pageInfo: SemPageInfo;
187
+ }
188
+ interface SemQueryConnection {
189
+ items: SemQuery[];
190
+ pageInfo: SemPageInfo;
191
+ }
192
+ interface SemQueryRunConnection {
193
+ items: SemQueryRun[];
194
+ pageInfo: SemPageInfo;
195
+ }
196
+ interface SemPaginationInput {
197
+ cursor?: string;
198
+ limit?: number;
199
+ offset?: number;
200
+ }
201
+ interface SemCreateConnectorInput {
202
+ name: string;
203
+ capabilities?: Json;
204
+ description?: string;
205
+ kind?: SemConnectorKind;
206
+ }
207
+ interface SemUpdateConnectorInput {
208
+ capabilities?: Json;
209
+ description?: string;
210
+ isActive?: boolean;
211
+ kind?: SemConnectorKind;
212
+ name?: string;
213
+ }
214
+ interface SemCreateDataSourceInput {
215
+ connectorId: string;
216
+ name: string;
217
+ description?: string;
218
+ endpoint?: Json;
219
+ pushdownEnabled?: boolean;
220
+ secretRef?: string;
221
+ tags?: string[];
222
+ }
223
+ interface SemUpdateDataSourceInput {
224
+ description?: string;
225
+ endpoint?: Json;
226
+ name?: string;
227
+ pushdownEnabled?: boolean;
228
+ secretRef?: string;
229
+ tags?: string[];
230
+ }
231
+ interface SemRecordConnectionInput {
232
+ dataSourceId: string;
233
+ health: SemConnectionHealth;
234
+ latencyMs?: number;
235
+ message?: string;
236
+ }
237
+ interface SemCreateModelInput {
238
+ name: string;
239
+ description?: string;
240
+ tags?: string[];
241
+ }
242
+ interface SemUpdateModelInput {
243
+ description?: string;
244
+ name?: string;
245
+ tags?: string[];
246
+ }
247
+ interface SemCreateEntityInput {
248
+ modelId: string;
249
+ name: string;
250
+ dataSourceId?: string;
251
+ description?: string;
252
+ kind?: SemEntityKind;
253
+ physicalName?: string;
254
+ primaryKey?: string;
255
+ sqlDefinition?: string;
256
+ }
257
+ interface SemUpdateEntityInput {
258
+ dataSourceId?: string;
259
+ description?: string;
260
+ kind?: SemEntityKind;
261
+ name?: string;
262
+ physicalName?: string;
263
+ primaryKey?: string;
264
+ sqlDefinition?: string;
265
+ }
266
+ interface SemCreateDimensionInput {
267
+ entityId: string;
268
+ name: string;
269
+ dataType?: SemDataType;
270
+ description?: string;
271
+ expression?: string;
272
+ isPrimary?: boolean;
273
+ }
274
+ interface SemCreateMetricInput {
275
+ entityId: string;
276
+ name: string;
277
+ aggregation?: SemAggregation;
278
+ description?: string;
279
+ expression?: string;
280
+ format?: string;
281
+ }
282
+ interface SemCreateRelationshipInput {
283
+ modelId: string;
284
+ name: string;
285
+ fromEntityId: string;
286
+ fromField: string;
287
+ toEntityId: string;
288
+ toField: string;
289
+ description?: string;
290
+ kind?: SemRelationshipKind;
291
+ }
292
+ interface SemCreateQueryInput {
293
+ name: string;
294
+ queryText: string;
295
+ cacheTtlSeconds?: number;
296
+ cacheable?: boolean;
297
+ description?: string;
298
+ modelId?: string;
299
+ parameters?: Json;
300
+ tags?: string[];
301
+ }
302
+ interface SemUpdateQueryInput {
303
+ cacheTtlSeconds?: number;
304
+ cacheable?: boolean;
305
+ description?: string;
306
+ modelId?: string;
307
+ name?: string;
308
+ parameters?: Json;
309
+ queryText?: string;
310
+ tags?: string[];
311
+ }
312
+ interface SemCreateAccessPolicyInput {
313
+ name: string;
314
+ principal: string;
315
+ description?: string;
316
+ effect?: SemPolicyEffect;
317
+ entityId?: string;
318
+ modelId?: string;
319
+ rule?: Json;
320
+ scope?: SemPolicyScope;
321
+ }
322
+
323
+ interface SemanticFedConnectorsApi {
324
+ get(id: string): Promise<SemConnector | null>;
325
+ list(kind?: SemConnectorKind, pagination?: SemPaginationInput): Promise<SemConnectorConnection>;
326
+ create(input: SemCreateConnectorInput): Promise<SemConnector>;
327
+ update(id: string, input: SemUpdateConnectorInput): Promise<SemConnector>;
328
+ archive(id: string): Promise<boolean>;
329
+ }
330
+ interface SemanticFedDataSourcesApi {
331
+ get(id: string): Promise<SemDataSource | null>;
332
+ list(connectorId?: string, status?: SemDataSourceStatus, pagination?: SemPaginationInput): Promise<SemDataSourceConnection>;
333
+ create(input: SemCreateDataSourceInput): Promise<SemDataSource>;
334
+ update(id: string, input: SemUpdateDataSourceInput): Promise<SemDataSource>;
335
+ archive(id: string): Promise<boolean>;
336
+ transition(id: string, status: SemDataSourceStatus): Promise<SemDataSource>;
337
+ }
338
+ interface SemanticFedConnectionsApi {
339
+ list(dataSourceId: string): Promise<SemConnection[]>;
340
+ record(input: SemRecordConnectionInput): Promise<SemConnection>;
341
+ }
342
+ interface SemanticFedModelsApi {
343
+ get(id: string): Promise<SemSemanticModel | null>;
344
+ list(status?: SemModelStatus, pagination?: SemPaginationInput): Promise<SemSemanticModelConnection>;
345
+ create(input: SemCreateModelInput): Promise<SemSemanticModel>;
346
+ update(id: string, input: SemUpdateModelInput): Promise<SemSemanticModel>;
347
+ archive(id: string): Promise<boolean>;
348
+ publish(id: string): Promise<SemSemanticModel>;
349
+ }
350
+ interface SemanticFedEntitiesApi {
351
+ get(id: string): Promise<SemEntity | null>;
352
+ list(modelId: string): Promise<SemEntity[]>;
353
+ create(input: SemCreateEntityInput): Promise<SemEntity>;
354
+ update(id: string, input: SemUpdateEntityInput): Promise<SemEntity>;
355
+ delete(id: string): Promise<boolean>;
356
+ }
357
+ interface SemanticFedDimensionsApi {
358
+ create(input: SemCreateDimensionInput): Promise<SemDimension>;
359
+ }
360
+ interface SemanticFedMetricsApi {
361
+ create(input: SemCreateMetricInput): Promise<SemMetric>;
362
+ }
363
+ interface SemanticFedRelationshipsApi {
364
+ list(modelId: string): Promise<SemRelationship[]>;
365
+ create(input: SemCreateRelationshipInput): Promise<SemRelationship>;
366
+ }
367
+ interface SemanticFedQueriesApi {
368
+ get(id: string): Promise<SemQuery | null>;
369
+ list(modelId?: string, status?: SemQueryStatus, pagination?: SemPaginationInput): Promise<SemQueryConnection>;
370
+ create(input: SemCreateQueryInput): Promise<SemQuery>;
371
+ update(id: string, input: SemUpdateQueryInput): Promise<SemQuery>;
372
+ archive(id: string): Promise<boolean>;
373
+ publish(id: string): Promise<SemQuery>;
374
+ run(id: string): Promise<SemQueryRun>;
375
+ }
376
+ interface SemanticFedQueryRunsApi {
377
+ list(queryId: string, status?: SemQueryRunStatus, pagination?: SemPaginationInput): Promise<SemQueryRunConnection>;
378
+ }
379
+ interface SemanticFedAccessPoliciesApi {
380
+ list(entityId?: string, modelId?: string): Promise<SemAccessPolicy[]>;
381
+ create(input: SemCreateAccessPolicyInput): Promise<SemAccessPolicy>;
382
+ setActive(id: string, isActive: boolean): Promise<SemAccessPolicy>;
383
+ }
384
+ interface SemanticFedHealthApi {
385
+ check(): Promise<string>;
386
+ }
387
+ interface SemanticFedApi {
388
+ connectors: SemanticFedConnectorsApi;
389
+ dataSources: SemanticFedDataSourcesApi;
390
+ connections: SemanticFedConnectionsApi;
391
+ models: SemanticFedModelsApi;
392
+ entities: SemanticFedEntitiesApi;
393
+ dimensions: SemanticFedDimensionsApi;
394
+ metrics: SemanticFedMetricsApi;
395
+ relationships: SemanticFedRelationshipsApi;
396
+ queries: SemanticFedQueriesApi;
397
+ queryRuns: SemanticFedQueryRunsApi;
398
+ accessPolicies: SemanticFedAccessPoliciesApi;
399
+ health: SemanticFedHealthApi;
400
+ }
401
+
402
+ declare const semanticfedModule: SdkModule<SemanticFedApi>;
403
+
404
+ export { type SemAccessPolicy, type SemAggregation, type SemConnection, type SemConnectionHealth, type SemConnector, type SemConnectorConnection, type SemConnectorKind, type SemCreateAccessPolicyInput, type SemCreateConnectorInput, type SemCreateDataSourceInput, type SemCreateDimensionInput, type SemCreateEntityInput, type SemCreateMetricInput, type SemCreateModelInput, type SemCreateQueryInput, type SemCreateRelationshipInput, type SemDataSource, type SemDataSourceConnection, type SemDataSourceStatus, type SemDataType, type SemDimension, type SemEntity, type SemEntityKind, type SemMetric, type SemModelStatus, type SemPageInfo, type SemPaginationInput, type SemPolicyEffect, type SemPolicyScope, type SemQuery, type SemQueryConnection, type SemQueryRun, type SemQueryRunConnection, type SemQueryRunStatus, type SemQueryStatus, type SemRecordConnectionInput, type SemRelationship, type SemRelationshipKind, type SemSemanticModel, type SemSemanticModelConnection, type SemUpdateConnectorInput, type SemUpdateDataSourceInput, type SemUpdateEntityInput, type SemUpdateModelInput, type SemUpdateQueryInput, type SemanticFedAccessPoliciesApi, type SemanticFedApi, type SemanticFedConnectionsApi, type SemanticFedConnectorsApi, type SemanticFedDataSourcesApi, type SemanticFedDimensionsApi, type SemanticFedEntitiesApi, type SemanticFedHealthApi, type SemanticFedMetricsApi, type SemanticFedModelsApi, type SemanticFedQueriesApi, type SemanticFedQueryRunsApi, type SemanticFedRelationshipsApi, semanticfedModule as default };