@burdenoff/sdk-libs 2026.627.3 → 2026.627.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,450 @@
1
+ import { J as Json, S as SdkModule } from '../../module-JDbvil5h.cjs';
2
+ import 'graphql-request';
3
+
4
+ type CosAccessLevel = 'EMBARGOED' | 'PUBLIC' | 'RESTRICTED' | 'WORKSPACE';
5
+ type CosAnalysisStatus = 'COMPLETED' | 'FAILED' | 'PENDING' | 'RUNNING';
6
+ type CosDatasetStatus = 'ARCHIVED' | 'AVAILABLE' | 'DEPRECATED' | 'DRAFT' | 'INGESTING';
7
+ type CosFieldType = 'BOOLEAN' | 'COORDINATE' | 'FLOAT' | 'GEOMETRY' | 'IMAGE_REF' | 'INTEGER' | 'JSON' | 'SPECTRUM' | 'STRING' | 'TIMESTAMP';
8
+ type CosGrantStatus = 'ACTIVE' | 'EXPIRED' | 'PENDING' | 'REVOKED';
9
+ type CosNotebookStatus = 'ARCHIVED' | 'DRAFT' | 'PUBLISHED' | 'RUNNING';
10
+ type CosPipelineStatus = 'ACTIVE' | 'ARCHIVED' | 'DRAFT' | 'PAUSED';
11
+ type CosPipelineTrigger = 'MANUAL' | 'ON_INGEST' | 'SCHEDULED' | 'WEBHOOK';
12
+ type CosReleaseStatus = 'DRAFT' | 'PUBLISHED' | 'RETRACTED' | 'UNDER_REVIEW';
13
+ type CosRunStatus = 'CANCELLED' | 'FAILED' | 'QUEUED' | 'RUNNING' | 'SUCCEEDED';
14
+ type CosSourceStatus = 'CONFIGURING' | 'CONNECTED' | 'DEGRADED' | 'DISABLED' | 'ERROR' | 'SYNCING';
15
+ type CosSourceType = 'API' | 'ARCHIVE' | 'FILE_DROP' | 'GROUND_SENSOR' | 'SATELLITE' | 'SIMULATION' | 'STREAM' | 'TELESCOPE';
16
+ type CosStepKind = 'ANALYZE' | 'CALIBRATE' | 'EXPORT' | 'INGEST' | 'NOTIFY' | 'TRANSFORM';
17
+ interface CosFileRef {
18
+ id: string;
19
+ }
20
+ interface CosPageInfo {
21
+ cursor?: string | null;
22
+ hasMore: boolean;
23
+ }
24
+ interface CosSchemaField {
25
+ id: string;
26
+ datasetId: string;
27
+ name: string;
28
+ fieldType: CosFieldType;
29
+ nullable: boolean;
30
+ position: number;
31
+ description?: string | null;
32
+ provenance?: string | null;
33
+ unit?: string | null;
34
+ workspaceId: string;
35
+ createdAt: string;
36
+ updatedAt: string;
37
+ }
38
+ interface CosCollection {
39
+ id: string;
40
+ name: string;
41
+ slug?: string | null;
42
+ description?: string | null;
43
+ isPublic: boolean;
44
+ tags: string[];
45
+ datasets?: CosDataset[];
46
+ workspaceId: string;
47
+ createdAt: string;
48
+ updatedAt: string;
49
+ }
50
+ interface CosSource {
51
+ id: string;
52
+ name: string;
53
+ type: CosSourceType;
54
+ status: CosSourceStatus;
55
+ description?: string | null;
56
+ endpoint?: string | null;
57
+ config?: Json | null;
58
+ tags: string[];
59
+ lastSyncedAt?: string | null;
60
+ datasets?: CosDataset[];
61
+ workspaceId: string;
62
+ createdAt: string;
63
+ updatedAt: string;
64
+ }
65
+ interface CosDataset {
66
+ id: string;
67
+ name: string;
68
+ description?: string | null;
69
+ status: CosDatasetStatus;
70
+ accessLevel: CosAccessLevel;
71
+ format?: string | null;
72
+ coverage?: Json | null;
73
+ file?: CosFileRef | null;
74
+ collectionId?: string | null;
75
+ collection?: CosCollection | null;
76
+ sourceId?: string | null;
77
+ source?: CosSource | null;
78
+ schemaFields: CosSchemaField[];
79
+ rowCount: string;
80
+ sizeBytes: string;
81
+ version: number;
82
+ lineageCaptured: boolean;
83
+ ingestedAt?: string | null;
84
+ tags: string[];
85
+ workspaceId: string;
86
+ createdAt: string;
87
+ updatedAt: string;
88
+ }
89
+ interface CosAnalysis {
90
+ id: string;
91
+ title: string;
92
+ status: CosAnalysisStatus;
93
+ method?: string | null;
94
+ aiAssisted: boolean;
95
+ datasetId?: string | null;
96
+ notebookId?: string | null;
97
+ results?: Json | null;
98
+ outputFile?: CosFileRef | null;
99
+ errorMessage?: string | null;
100
+ startedAt?: string | null;
101
+ finishedAt?: string | null;
102
+ workspaceId: string;
103
+ createdAt: string;
104
+ updatedAt: string;
105
+ }
106
+ interface CosRelease {
107
+ id: string;
108
+ title: string;
109
+ version: string;
110
+ status: CosReleaseStatus;
111
+ abstract?: string | null;
112
+ authors: string[];
113
+ datasetIds: string[];
114
+ notebookId?: string | null;
115
+ doi?: string | null;
116
+ license?: string | null;
117
+ publishedAt?: string | null;
118
+ workspaceId: string;
119
+ createdAt: string;
120
+ updatedAt: string;
121
+ }
122
+ interface CosNotebook {
123
+ id: string;
124
+ title: string;
125
+ description?: string | null;
126
+ status: CosNotebookStatus;
127
+ runtime?: string | null;
128
+ environment?: Json | null;
129
+ datasetIds: string[];
130
+ file?: CosFileRef | null;
131
+ isShared: boolean;
132
+ shareSlug?: string | null;
133
+ tags: string[];
134
+ analyses?: CosAnalysis[];
135
+ releases?: CosRelease[];
136
+ workspaceId: string;
137
+ createdAt: string;
138
+ updatedAt: string;
139
+ }
140
+ interface CosPipelineStep {
141
+ id: string;
142
+ runId: string;
143
+ name: string;
144
+ kind: CosStepKind;
145
+ status: CosRunStatus;
146
+ position: number;
147
+ inputs?: Json | null;
148
+ outputs?: Json | null;
149
+ logsRef?: string | null;
150
+ errorMessage?: string | null;
151
+ durationMs?: number | null;
152
+ startedAt?: string | null;
153
+ finishedAt?: string | null;
154
+ workspaceId: string;
155
+ createdAt: string;
156
+ updatedAt: string;
157
+ }
158
+ interface CosPipelineRun {
159
+ id: string;
160
+ pipelineId: string;
161
+ pipeline?: CosPipeline | null;
162
+ runNumber: number;
163
+ status: CosRunStatus;
164
+ datasetId?: string | null;
165
+ params?: Json | null;
166
+ metrics?: Json | null;
167
+ steps: CosPipelineStep[];
168
+ triggeredBy?: string | null;
169
+ errorMessage?: string | null;
170
+ durationMs?: number | null;
171
+ startedAt?: string | null;
172
+ finishedAt?: string | null;
173
+ workspaceId: string;
174
+ createdAt: string;
175
+ updatedAt: string;
176
+ }
177
+ interface CosPipeline {
178
+ id: string;
179
+ name: string;
180
+ description?: string | null;
181
+ status: CosPipelineStatus;
182
+ trigger: CosPipelineTrigger;
183
+ schedule?: string | null;
184
+ definition?: Json | null;
185
+ version: number;
186
+ tags: string[];
187
+ lastRunAt?: string | null;
188
+ runs?: CosPipelineRun[];
189
+ workspaceId: string;
190
+ createdAt: string;
191
+ updatedAt: string;
192
+ }
193
+ interface CosDataAccessGrant {
194
+ id: string;
195
+ datasetId: string;
196
+ granteeId: string;
197
+ status: CosGrantStatus;
198
+ scopes: string[];
199
+ reason?: string | null;
200
+ grantedAt?: string | null;
201
+ expiresAt?: string | null;
202
+ revokedAt?: string | null;
203
+ workspaceId: string;
204
+ createdAt: string;
205
+ updatedAt: string;
206
+ }
207
+ interface CosDatasetConnection {
208
+ items: CosDataset[];
209
+ pageInfo: CosPageInfo;
210
+ }
211
+ interface CosNotebookConnection {
212
+ items: CosNotebook[];
213
+ pageInfo: CosPageInfo;
214
+ }
215
+ interface CosPipelineConnection {
216
+ items: CosPipeline[];
217
+ pageInfo: CosPageInfo;
218
+ }
219
+ interface CosPipelineRunConnection {
220
+ items: CosPipelineRun[];
221
+ pageInfo: CosPageInfo;
222
+ }
223
+ interface CosReleaseConnection {
224
+ items: CosRelease[];
225
+ pageInfo: CosPageInfo;
226
+ }
227
+ interface CosSourceConnection {
228
+ items: CosSource[];
229
+ pageInfo: CosPageInfo;
230
+ }
231
+ interface CosPaginationInput {
232
+ cursor?: string;
233
+ limit?: number;
234
+ offset?: number;
235
+ }
236
+ interface CosCreateSourceInput {
237
+ name: string;
238
+ type?: CosSourceType;
239
+ status?: CosSourceStatus;
240
+ description?: string;
241
+ endpoint?: string;
242
+ config?: Json;
243
+ credentialRef?: string;
244
+ tags?: string[];
245
+ }
246
+ interface CosUpdateSourceInput {
247
+ name?: string;
248
+ type?: CosSourceType;
249
+ status?: CosSourceStatus;
250
+ description?: string;
251
+ endpoint?: string;
252
+ config?: Json;
253
+ credentialRef?: string;
254
+ tags?: string[];
255
+ }
256
+ interface CosCreateDatasetInput {
257
+ name: string;
258
+ accessLevel?: CosAccessLevel;
259
+ status?: CosDatasetStatus;
260
+ description?: string;
261
+ format?: string;
262
+ coverage?: Json;
263
+ fileId?: string;
264
+ collectionId?: string;
265
+ sourceId?: string;
266
+ tags?: string[];
267
+ }
268
+ interface CosUpdateDatasetInput {
269
+ name?: string;
270
+ accessLevel?: CosAccessLevel;
271
+ description?: string;
272
+ format?: string;
273
+ coverage?: Json;
274
+ collectionId?: string;
275
+ tags?: string[];
276
+ }
277
+ interface CosAddSchemaFieldInput {
278
+ datasetId: string;
279
+ name: string;
280
+ fieldType?: CosFieldType;
281
+ nullable?: boolean;
282
+ position?: number;
283
+ description?: string;
284
+ provenance?: string;
285
+ unit?: string;
286
+ }
287
+ interface CosCreateCollectionInput {
288
+ name: string;
289
+ description?: string;
290
+ isPublic?: boolean;
291
+ slug?: string;
292
+ tags?: string[];
293
+ }
294
+ interface CosCreateNotebookInput {
295
+ title: string;
296
+ description?: string;
297
+ runtime?: string;
298
+ environment?: Json;
299
+ datasetIds?: string[];
300
+ fileId?: string;
301
+ tags?: string[];
302
+ }
303
+ interface CosUpdateNotebookInput {
304
+ title?: string;
305
+ description?: string;
306
+ status?: CosNotebookStatus;
307
+ runtime?: string;
308
+ environment?: Json;
309
+ datasetIds?: string[];
310
+ isShared?: boolean;
311
+ shareSlug?: string;
312
+ tags?: string[];
313
+ }
314
+ interface CosRunAnalysisInput {
315
+ title: string;
316
+ aiAssisted?: boolean;
317
+ datasetId?: string;
318
+ method?: string;
319
+ notebookId?: string;
320
+ }
321
+ interface CosCreatePipelineInput {
322
+ name: string;
323
+ description?: string;
324
+ definition?: Json;
325
+ schedule?: string;
326
+ trigger?: CosPipelineTrigger;
327
+ tags?: string[];
328
+ }
329
+ interface CosUpdatePipelineInput {
330
+ name?: string;
331
+ description?: string;
332
+ definition?: Json;
333
+ schedule?: string;
334
+ status?: CosPipelineStatus;
335
+ trigger?: CosPipelineTrigger;
336
+ tags?: string[];
337
+ }
338
+ interface CosStartRunInput {
339
+ pipelineId: string;
340
+ datasetId?: string;
341
+ params?: Json;
342
+ }
343
+ interface CosAddRunStepInput {
344
+ runId: string;
345
+ name: string;
346
+ kind?: CosStepKind;
347
+ position?: number;
348
+ inputs?: Json;
349
+ }
350
+ interface CosCreateReleaseInput {
351
+ title: string;
352
+ abstract?: string;
353
+ authors?: string[];
354
+ datasetIds?: string[];
355
+ license?: string;
356
+ notebookId?: string;
357
+ version?: string;
358
+ }
359
+ interface CosGrantAccessInput {
360
+ datasetId: string;
361
+ granteeId: string;
362
+ scopes?: string[];
363
+ reason?: string;
364
+ expiresAt?: string;
365
+ }
366
+
367
+ interface CosmicintersectionSourcesApi {
368
+ get(id: string): Promise<CosSource | null>;
369
+ list(status?: CosSourceStatus, type?: CosSourceType, pagination?: CosPaginationInput): Promise<CosSourceConnection>;
370
+ create(input: CosCreateSourceInput): Promise<CosSource>;
371
+ update(id: string, input: CosUpdateSourceInput): Promise<CosSource>;
372
+ archive(id: string): Promise<boolean>;
373
+ markSynced(id: string): Promise<CosSource>;
374
+ }
375
+ interface CosmicintersectionDatasetsApi {
376
+ get(id: string): Promise<CosDataset | null>;
377
+ list(collectionId?: string, sourceId?: string, status?: CosDatasetStatus, pagination?: CosPaginationInput): Promise<CosDatasetConnection>;
378
+ create(input: CosCreateDatasetInput): Promise<CosDataset>;
379
+ update(id: string, input: CosUpdateDatasetInput): Promise<CosDataset>;
380
+ archive(id: string): Promise<boolean>;
381
+ publish(id: string): Promise<CosDataset>;
382
+ }
383
+ interface CosmicintersectionSchemaFieldsApi {
384
+ list(datasetId: string): Promise<CosSchemaField[]>;
385
+ add(input: CosAddSchemaFieldInput): Promise<CosSchemaField>;
386
+ }
387
+ interface CosmicintersectionCollectionsApi {
388
+ list(): Promise<CosCollection[]>;
389
+ create(input: CosCreateCollectionInput): Promise<CosCollection>;
390
+ }
391
+ interface CosmicintersectionNotebooksApi {
392
+ get(id: string): Promise<CosNotebook | null>;
393
+ list(status?: CosNotebookStatus, pagination?: CosPaginationInput): Promise<CosNotebookConnection>;
394
+ create(input: CosCreateNotebookInput): Promise<CosNotebook>;
395
+ update(id: string, input: CosUpdateNotebookInput): Promise<CosNotebook>;
396
+ archive(id: string): Promise<boolean>;
397
+ }
398
+ interface CosmicintersectionAnalysesApi {
399
+ list(datasetId?: string, notebookId?: string, status?: CosAnalysisStatus): Promise<CosAnalysis[]>;
400
+ run(input: CosRunAnalysisInput): Promise<CosAnalysis>;
401
+ complete(id: string, status: CosAnalysisStatus, results?: unknown, outputFileId?: string): Promise<CosAnalysis>;
402
+ }
403
+ interface CosmicintersectionPipelinesApi {
404
+ get(id: string): Promise<CosPipeline | null>;
405
+ list(status?: CosPipelineStatus, pagination?: CosPaginationInput): Promise<CosPipelineConnection>;
406
+ create(input: CosCreatePipelineInput): Promise<CosPipeline>;
407
+ update(id: string, input: CosUpdatePipelineInput): Promise<CosPipeline>;
408
+ archive(id: string): Promise<boolean>;
409
+ }
410
+ interface CosmicintersectionRunsApi {
411
+ get(id: string): Promise<CosPipelineRun | null>;
412
+ list(pipelineId?: string, status?: CosRunStatus, pagination?: CosPaginationInput): Promise<CosPipelineRunConnection>;
413
+ start(input: CosStartRunInput): Promise<CosPipelineRun>;
414
+ transition(id: string, status: CosRunStatus): Promise<CosPipelineRun>;
415
+ }
416
+ interface CosmicintersectionStepsApi {
417
+ list(runId: string): Promise<CosPipelineStep[]>;
418
+ add(input: CosAddRunStepInput): Promise<CosPipelineStep>;
419
+ }
420
+ interface CosmicintersectionReleasesApi {
421
+ list(status?: CosReleaseStatus, pagination?: CosPaginationInput): Promise<CosReleaseConnection>;
422
+ create(input: CosCreateReleaseInput): Promise<CosRelease>;
423
+ publish(id: string, doi?: string): Promise<CosRelease>;
424
+ }
425
+ interface CosmicintersectionGrantsApi {
426
+ list(datasetId?: string, status?: CosGrantStatus): Promise<CosDataAccessGrant[]>;
427
+ grant(input: CosGrantAccessInput): Promise<CosDataAccessGrant>;
428
+ revoke(id: string): Promise<CosDataAccessGrant>;
429
+ }
430
+ interface CosmicintersectionSystemApi {
431
+ health(): Promise<string>;
432
+ }
433
+ interface CosmicintersectionApi {
434
+ sources: CosmicintersectionSourcesApi;
435
+ datasets: CosmicintersectionDatasetsApi;
436
+ schemaFields: CosmicintersectionSchemaFieldsApi;
437
+ collections: CosmicintersectionCollectionsApi;
438
+ notebooks: CosmicintersectionNotebooksApi;
439
+ analyses: CosmicintersectionAnalysesApi;
440
+ pipelines: CosmicintersectionPipelinesApi;
441
+ runs: CosmicintersectionRunsApi;
442
+ steps: CosmicintersectionStepsApi;
443
+ releases: CosmicintersectionReleasesApi;
444
+ grants: CosmicintersectionGrantsApi;
445
+ system: CosmicintersectionSystemApi;
446
+ }
447
+
448
+ declare const cosmicintersectionModule: SdkModule<CosmicintersectionApi>;
449
+
450
+ export { type CosAccessLevel, type CosAddRunStepInput, type CosAddSchemaFieldInput, type CosAnalysis, type CosAnalysisStatus, type CosCollection, type CosCreateCollectionInput, type CosCreateDatasetInput, type CosCreateNotebookInput, type CosCreatePipelineInput, type CosCreateReleaseInput, type CosCreateSourceInput, type CosDataAccessGrant, type CosDataset, type CosDatasetConnection, type CosDatasetStatus, type CosFieldType, type CosFileRef, type CosGrantAccessInput, type CosGrantStatus, type CosNotebook, type CosNotebookConnection, type CosNotebookStatus, type CosPageInfo, type CosPaginationInput, type CosPipeline, type CosPipelineConnection, type CosPipelineRun, type CosPipelineRunConnection, type CosPipelineStatus, type CosPipelineStep, type CosPipelineTrigger, type CosRelease, type CosReleaseConnection, type CosReleaseStatus, type CosRunAnalysisInput, type CosRunStatus, type CosSchemaField, type CosSource, type CosSourceConnection, type CosSourceStatus, type CosSourceType, type CosStartRunInput, type CosStepKind, type CosUpdateDatasetInput, type CosUpdateNotebookInput, type CosUpdatePipelineInput, type CosUpdateSourceInput, type CosmicintersectionAnalysesApi, type CosmicintersectionApi, type CosmicintersectionCollectionsApi, type CosmicintersectionDatasetsApi, type CosmicintersectionGrantsApi, type CosmicintersectionNotebooksApi, type CosmicintersectionPipelinesApi, type CosmicintersectionReleasesApi, type CosmicintersectionRunsApi, type CosmicintersectionSchemaFieldsApi, type CosmicintersectionSourcesApi, type CosmicintersectionStepsApi, type CosmicintersectionSystemApi, cosmicintersectionModule as default };