@geode/opengeodeweb-viewer 1.40.0-rc.1 → 1.40.0-rc.2

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.
@@ -1,8 +1,11 @@
1
1
  // Generated by opengeodeweb-microservice-generate, do not edit.
2
2
  import type json from "./opengeodeweb_viewer_schemas.json";
3
3
 
4
+ import type { DataId, GeodeId } from "@geode/opengeodeweb-microservice/schema_types";
5
+ import type { AttributeItem, AttributeName, AttributeRangeMaximum, AttributeRangeMinimum, BlockIds, ColorMapPoints, ColorRGB, ColorRGBA, EdgeWidth, Filename, Opacity, Point3D, PointSize, ViewerId, Visibility } from "@geode/opengeodeweb-viewer/schema_types";
6
+
4
7
  export interface GenericRegisterParams {
5
- id: string;
8
+ id: DataId;
6
9
  name: string;
7
10
  }
8
11
 
@@ -10,402 +13,280 @@ export interface GenericRegisterResponse {
10
13
  }
11
14
 
12
15
  export interface GenericDeregisterParams {
13
- id: string;
16
+ id: DataId;
14
17
  }
15
18
 
16
19
  export interface GenericDeregisterResponse {
17
20
  }
18
21
 
19
22
  export interface MeshCellsAttributeCellAttributeParams {
20
- id: string;
21
- item: number;
22
- maximum: number;
23
- minimum: number;
24
- name: string;
25
- no_data_color?: MeshCellsAttributeCellAttributeParamsNoDataColor;
26
- /**
27
- * Flat array of [value, r, g, b, ...]
28
- */
29
- points: number[];
30
- }
31
-
32
- export interface MeshCellsAttributeCellAttributeParamsNoDataColor {
33
- alpha: number;
34
- blue: number;
35
- green: number;
36
- red: number;
37
- }
38
-
23
+ id: DataId;
24
+ item: AttributeItem;
25
+ maximum: AttributeRangeMaximum;
26
+ minimum: AttributeRangeMinimum;
27
+ name: AttributeName;
28
+ no_data_color?: ColorRGBA;
29
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
30
+ }
31
+
32
+ /**
33
+ * Flat array of [value, r, g, b, ...]
34
+ */
39
35
  export interface MeshCellsAttributeCellAttributeResponse {
40
36
  }
41
37
 
42
38
  export interface MeshCellsAttributeVertexAttributeParams {
43
- id: string;
44
- item: number;
45
- maximum: number;
46
- minimum: number;
47
- name: string;
48
- no_data_color?: MeshCellsAttributeVertexAttributeParamsNoDataColor;
49
- /**
50
- * Flat array of [value, r, g, b, ...]
51
- */
52
- points: number[];
53
- }
54
-
55
- export interface MeshCellsAttributeVertexAttributeParamsNoDataColor {
56
- alpha: number;
57
- blue: number;
58
- green: number;
59
- red: number;
39
+ id: DataId;
40
+ item: AttributeItem;
41
+ maximum: AttributeRangeMaximum;
42
+ minimum: AttributeRangeMinimum;
43
+ name: AttributeName;
44
+ no_data_color?: ColorRGBA;
45
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
60
46
  }
61
47
 
62
48
  export interface MeshCellsAttributeVertexAttributeResponse {
63
49
  }
64
50
 
65
51
  export interface MeshCellsVisibilityParams {
66
- id: string;
67
- visibility: boolean;
52
+ id: DataId;
53
+ visibility: Visibility;
68
54
  }
69
55
 
70
56
  export interface MeshCellsVisibilityResponse {
71
57
  }
72
58
 
73
59
  export interface MeshCellsOpacityParams {
74
- id: string;
75
- opacity: number;
60
+ id: DataId;
61
+ opacity: Opacity;
76
62
  }
77
63
 
78
64
  export interface MeshCellsOpacityResponse {
79
65
  }
80
66
 
81
67
  export interface MeshCellsColorParams {
82
- color: MeshCellsColorParamsColor;
83
- id: string;
84
- }
85
-
86
- export interface MeshCellsColorParamsColor {
87
- alpha: number;
88
- blue: number;
89
- green: number;
90
- red: number;
68
+ color: ColorRGBA;
69
+ id: DataId;
91
70
  }
92
71
 
93
72
  export interface MeshCellsColorResponse {
94
73
  }
95
74
 
96
75
  export interface MeshEdgesAttributeEdgeAttributeParams {
97
- id: string;
98
- item: number;
99
- maximum: number;
100
- minimum: number;
101
- name: string;
102
- no_data_color?: MeshEdgesAttributeEdgeAttributeParamsNoDataColor;
103
- /**
104
- * Flat array of [value, r, g, b, ...]
105
- */
106
- points: number[];
107
- }
108
-
109
- export interface MeshEdgesAttributeEdgeAttributeParamsNoDataColor {
110
- alpha: number;
111
- blue: number;
112
- green: number;
113
- red: number;
76
+ id: DataId;
77
+ item: AttributeItem;
78
+ maximum: AttributeRangeMaximum;
79
+ minimum: AttributeRangeMinimum;
80
+ name: AttributeName;
81
+ no_data_color?: ColorRGBA;
82
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
114
83
  }
115
84
 
116
85
  export interface MeshEdgesAttributeEdgeAttributeResponse {
117
86
  }
118
87
 
119
88
  export interface MeshEdgesAttributeVertexAttributeParams {
120
- id: string;
121
- item: number;
122
- maximum: number;
123
- minimum: number;
124
- name: string;
125
- no_data_color?: MeshEdgesAttributeVertexAttributeParamsNoDataColor;
126
- /**
127
- * Flat array of [value, r, g, b, ...]
128
- */
129
- points: number[];
130
- }
131
-
132
- export interface MeshEdgesAttributeVertexAttributeParamsNoDataColor {
133
- alpha: number;
134
- blue: number;
135
- green: number;
136
- red: number;
89
+ id: DataId;
90
+ item: AttributeItem;
91
+ maximum: AttributeRangeMaximum;
92
+ minimum: AttributeRangeMinimum;
93
+ name: AttributeName;
94
+ no_data_color?: ColorRGBA;
95
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
137
96
  }
138
97
 
139
98
  export interface MeshEdgesAttributeVertexAttributeResponse {
140
99
  }
141
100
 
142
101
  export interface MeshEdgesWidthParams {
143
- id: string;
144
- width: number;
102
+ id: DataId;
103
+ width: EdgeWidth;
145
104
  }
146
105
 
147
106
  export interface MeshEdgesWidthResponse {
148
107
  }
149
108
 
150
109
  export interface MeshEdgesVisibilityParams {
151
- id: string;
152
- visibility: boolean;
110
+ id: DataId;
111
+ visibility: Visibility;
153
112
  }
154
113
 
155
114
  export interface MeshEdgesVisibilityResponse {
156
115
  }
157
116
 
158
117
  export interface MeshEdgesOpacityParams {
159
- id: string;
160
- opacity: number;
118
+ id: DataId;
119
+ opacity: Opacity;
161
120
  }
162
121
 
163
122
  export interface MeshEdgesOpacityResponse {
164
123
  }
165
124
 
166
125
  export interface MeshEdgesColorParams {
167
- color: MeshEdgesColorParamsColor;
168
- id: string;
169
- }
170
-
171
- export interface MeshEdgesColorParamsColor {
172
- alpha: number;
173
- blue: number;
174
- green: number;
175
- red: number;
126
+ color: ColorRGBA;
127
+ id: DataId;
176
128
  }
177
129
 
178
130
  export interface MeshEdgesColorResponse {
179
131
  }
180
132
 
181
133
  export interface MeshPointsAttributeVertexAttributeParams {
182
- id: string;
183
- item: number;
184
- maximum: number;
185
- minimum: number;
186
- name: string;
187
- no_data_color?: MeshPointsAttributeVertexAttributeParamsNoDataColor;
188
- /**
189
- * Flat array of [value, r, g, b, ...]
190
- */
191
- points: number[];
192
- }
193
-
194
- export interface MeshPointsAttributeVertexAttributeParamsNoDataColor {
195
- alpha: number;
196
- blue: number;
197
- green: number;
198
- red: number;
134
+ id: DataId;
135
+ item: AttributeItem;
136
+ maximum: AttributeRangeMaximum;
137
+ minimum: AttributeRangeMinimum;
138
+ name: AttributeName;
139
+ no_data_color?: ColorRGBA;
140
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
199
141
  }
200
142
 
201
143
  export interface MeshPointsAttributeVertexAttributeResponse {
202
144
  }
203
145
 
204
146
  export interface MeshPointsVisibilityParams {
205
- id: string;
206
- visibility: boolean;
147
+ id: DataId;
148
+ visibility: Visibility;
207
149
  }
208
150
 
209
151
  export interface MeshPointsVisibilityResponse {
210
- id: string;
211
- visibility: boolean;
152
+ id: DataId;
153
+ visibility: Visibility;
212
154
  }
213
155
 
214
156
  export interface MeshPointsSizeParams {
215
- id: string;
216
- size: number;
157
+ id: DataId;
158
+ size: PointSize;
217
159
  }
218
160
 
219
161
  export interface MeshPointsSizeResponse {
220
162
  }
221
163
 
222
164
  export interface MeshPointsOpacityParams {
223
- id: string;
224
- opacity: number;
165
+ id: DataId;
166
+ opacity: Opacity;
225
167
  }
226
168
 
227
169
  export interface MeshPointsOpacityResponse {
228
170
  }
229
171
 
230
172
  export interface MeshPointsColorParams {
231
- color: MeshPointsColorParamsColor;
232
- id: string;
233
- }
234
-
235
- export interface MeshPointsColorParamsColor {
236
- alpha: number;
237
- blue: number;
238
- green: number;
239
- red: number;
173
+ color: ColorRGBA;
174
+ id: DataId;
240
175
  }
241
176
 
242
177
  export interface MeshPointsColorResponse {
243
178
  }
244
179
 
245
180
  export interface MeshPolygonsAttributePolygonAttributeParams {
246
- id: string;
247
- item: number;
248
- maximum: number;
249
- minimum: number;
250
- name: string;
251
- no_data_color?: MeshPolygonsAttributePolygonAttributeParamsNoDataColor;
252
- /**
253
- * Flat array of [value, r, g, b, ...]
254
- */
255
- points: number[];
256
- }
257
-
258
- export interface MeshPolygonsAttributePolygonAttributeParamsNoDataColor {
259
- alpha: number;
260
- blue: number;
261
- green: number;
262
- red: number;
181
+ id: DataId;
182
+ item: AttributeItem;
183
+ maximum: AttributeRangeMaximum;
184
+ minimum: AttributeRangeMinimum;
185
+ name: AttributeName;
186
+ no_data_color?: ColorRGBA;
187
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
263
188
  }
264
189
 
265
190
  export interface MeshPolygonsAttributePolygonAttributeResponse {
266
191
  }
267
192
 
268
193
  export interface MeshPolygonsAttributeVertexAttributeParams {
269
- id: string;
270
- item: number;
271
- maximum: number;
272
- minimum: number;
273
- name: string;
274
- no_data_color?: MeshPolygonsAttributeVertexAttributeParamsNoDataColor;
275
- /**
276
- * Flat array of [value, r, g, b, ...]
277
- */
278
- points: number[];
279
- }
280
-
281
- export interface MeshPolygonsAttributeVertexAttributeParamsNoDataColor {
282
- alpha: number;
283
- blue: number;
284
- green: number;
285
- red: number;
194
+ id: DataId;
195
+ item: AttributeItem;
196
+ maximum: AttributeRangeMaximum;
197
+ minimum: AttributeRangeMinimum;
198
+ name: AttributeName;
199
+ no_data_color?: ColorRGBA;
200
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
286
201
  }
287
202
 
288
203
  export interface MeshPolygonsAttributeVertexAttributeResponse {
289
204
  }
290
205
 
291
206
  export interface MeshPolygonsVisibilityParams {
292
- id: string;
293
- visibility: boolean;
207
+ id: DataId;
208
+ visibility: Visibility;
294
209
  }
295
210
 
296
211
  export interface MeshPolygonsVisibilityResponse {
297
212
  }
298
213
 
299
214
  export interface MeshPolygonsOpacityParams {
300
- id: string;
301
- opacity: number;
215
+ id: DataId;
216
+ opacity: Opacity;
302
217
  }
303
218
 
304
219
  export interface MeshPolygonsOpacityResponse {
305
220
  }
306
221
 
307
222
  export interface MeshPolygonsColorParams {
308
- color: MeshPolygonsColorParamsColor;
309
- id: string;
310
- }
311
-
312
- export interface MeshPolygonsColorParamsColor {
313
- alpha: number;
314
- blue: number;
315
- green: number;
316
- red: number;
223
+ color: ColorRGBA;
224
+ id: DataId;
317
225
  }
318
226
 
319
227
  export interface MeshPolygonsColorResponse {
320
228
  }
321
229
 
322
230
  export interface MeshPolyhedraAttributePolyhedronAttributeParams {
323
- id: string;
324
- item: number;
325
- maximum: number;
326
- minimum: number;
327
- name: string;
328
- no_data_color?: MeshPolyhedraAttributePolyhedronAttributeParamsNoDataColor;
329
- /**
330
- * Flat array of [value, r, g, b, ...]
331
- */
332
- points: number[];
333
- }
334
-
335
- export interface MeshPolyhedraAttributePolyhedronAttributeParamsNoDataColor {
336
- alpha: number;
337
- blue: number;
338
- green: number;
339
- red: number;
231
+ id: DataId;
232
+ item: AttributeItem;
233
+ maximum: AttributeRangeMaximum;
234
+ minimum: AttributeRangeMinimum;
235
+ name: AttributeName;
236
+ no_data_color?: ColorRGBA;
237
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
340
238
  }
341
239
 
342
240
  export interface MeshPolyhedraAttributePolyhedronAttributeResponse {
343
241
  }
344
242
 
345
243
  export interface MeshPolyhedraAttributeVertexAttributeParams {
346
- id: string;
347
- item: number;
348
- maximum: number;
349
- minimum: number;
350
- name: string;
351
- no_data_color?: MeshPolyhedraAttributeVertexAttributeParamsNoDataColor;
352
- /**
353
- * Flat array of [value, r, g, b, ...]
354
- */
355
- points: number[];
356
- }
357
-
358
- export interface MeshPolyhedraAttributeVertexAttributeParamsNoDataColor {
359
- alpha: number;
360
- blue: number;
361
- green: number;
362
- red: number;
244
+ id: DataId;
245
+ item: AttributeItem;
246
+ maximum: AttributeRangeMaximum;
247
+ minimum: AttributeRangeMinimum;
248
+ name: AttributeName;
249
+ no_data_color?: ColorRGBA;
250
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
363
251
  }
364
252
 
365
253
  export interface MeshPolyhedraAttributeVertexAttributeResponse {
366
254
  }
367
255
 
368
256
  export interface MeshPolyhedraVisibilityParams {
369
- id: string;
370
- visibility: boolean;
257
+ id: DataId;
258
+ visibility: Visibility;
371
259
  }
372
260
 
373
261
  export interface MeshPolyhedraVisibilityResponse {
374
262
  }
375
263
 
376
264
  export interface MeshPolyhedraOpacityParams {
377
- id: string;
378
- opacity: number;
265
+ id: DataId;
266
+ opacity: Opacity;
379
267
  }
380
268
 
381
269
  export interface MeshPolyhedraOpacityResponse {
382
270
  }
383
271
 
384
272
  export interface MeshPolyhedraColorParams {
385
- color: MeshPolyhedraColorParamsColor;
386
- id: string;
387
- }
388
-
389
- export interface MeshPolyhedraColorParamsColor {
390
- alpha: number;
391
- blue: number;
392
- green: number;
393
- red: number;
273
+ color: ColorRGBA;
274
+ id: DataId;
394
275
  }
395
276
 
396
277
  export interface MeshPolyhedraColorResponse {
397
278
  }
398
279
 
399
280
  export interface MeshVisibilityParams {
400
- id: string;
401
- visibility: boolean;
281
+ id: DataId;
282
+ visibility: Visibility;
402
283
  }
403
284
 
404
285
  export interface MeshVisibilityResponse {
405
286
  }
406
287
 
407
288
  export interface MeshRegisterParams {
408
- id: string;
289
+ id: DataId;
409
290
  name: string;
410
291
  }
411
292
 
@@ -413,44 +294,37 @@ export interface MeshRegisterResponse {
413
294
  }
414
295
 
415
296
  export interface MeshHighlightParams {
416
- id: string;
417
- visibility: boolean;
297
+ id: DataId;
298
+ visibility: Visibility;
418
299
  }
419
300
 
420
301
  export interface MeshHighlightResponse {
421
302
  }
422
303
 
423
304
  export interface MeshDeregisterParams {
424
- id: string;
305
+ id: DataId;
425
306
  }
426
307
 
427
308
  export interface MeshDeregisterResponse {
428
309
  }
429
310
 
430
311
  export interface MeshColorParams {
431
- color: MeshColorParamsColor;
432
- id: string;
433
- }
434
-
435
- export interface MeshColorParamsColor {
436
- alpha: number;
437
- blue: number;
438
- green: number;
439
- red: number;
312
+ color: ColorRGBA;
313
+ id: DataId;
440
314
  }
441
315
 
442
316
  export interface MeshColorResponse {
443
317
  }
444
318
 
445
319
  export interface MeshBasemapLayersParams {
446
- id: string;
320
+ id: DataId;
447
321
  layers: Layer[];
448
322
  }
449
323
 
450
324
  export interface Layer {
451
325
  crop: boolean;
452
326
  map: string;
453
- opacity: number;
327
+ opacity: Opacity;
454
328
  visible: boolean;
455
329
  }
456
330
 
@@ -459,19 +333,19 @@ export interface MeshBasemapLayersResponse {
459
333
 
460
334
  export interface MeshBasemapDrapeParams {
461
335
  data_ids: string[];
462
- id: string;
336
+ id: DataId;
463
337
  }
464
338
 
465
339
  export interface MeshBasemapDrapeResponse {
466
340
  }
467
341
 
468
342
  export interface MeshApplyTexturesParams {
469
- id: string;
343
+ id: DataId;
470
344
  textures: MeshApplyTexturesParamsTexture[];
471
345
  }
472
346
 
473
347
  export interface MeshApplyTexturesParamsTexture {
474
- id: string;
348
+ id: DataId;
475
349
  texture_name: string;
476
350
  }
477
351
 
@@ -481,7 +355,7 @@ export interface MeshApplyTexturesResponse {
481
355
  export interface MeshApplyBasemapParams {
482
356
  columns: number;
483
357
  detail_of?: string;
484
- id: string;
358
+ id: DataId;
485
359
  layers: MapState[];
486
360
  maps: Map[];
487
361
  rows: number;
@@ -490,7 +364,7 @@ export interface MeshApplyBasemapParams {
490
364
  export interface MapState {
491
365
  crop: boolean;
492
366
  map: string;
493
- opacity: number;
367
+ opacity: Opacity;
494
368
  visible: boolean;
495
369
  }
496
370
 
@@ -503,191 +377,130 @@ export interface MeshApplyBasemapResponse {
503
377
  }
504
378
 
505
379
  export interface ModelBlocksAttributePolyhedronAttributeParams {
506
- block_ids: number[];
507
- id: string;
508
- item: number;
509
- maximum: number;
510
- minimum: number;
511
- name: string;
512
- no_data_color?: ModelBlocksAttributePolyhedronAttributeParamsNoDataColor;
513
- /**
514
- * Flat array of [value, r, g, b, ...]
515
- */
516
- points: number[];
517
- }
518
-
519
- export interface ModelBlocksAttributePolyhedronAttributeParamsNoDataColor {
520
- alpha: number;
521
- blue: number;
522
- green: number;
523
- red: number;
380
+ block_ids: BlockIds;
381
+ id: DataId;
382
+ item: AttributeItem;
383
+ maximum: AttributeRangeMaximum;
384
+ minimum: AttributeRangeMinimum;
385
+ name: AttributeName;
386
+ no_data_color?: ColorRGBA;
387
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
524
388
  }
525
389
 
526
390
  export interface ModelBlocksAttributePolyhedronAttributeResponse {
527
391
  }
528
392
 
529
393
  export interface ModelBlocksAttributeVertexAttributeParams {
530
- block_ids: number[];
531
- id: string;
532
- item: number;
533
- maximum: number;
534
- minimum: number;
535
- name: string;
536
- no_data_color?: ModelBlocksAttributeVertexAttributeParamsNoDataColor;
537
- /**
538
- * Flat array of [value, r, g, b, ...]
539
- */
540
- points: number[];
541
- }
542
-
543
- export interface ModelBlocksAttributeVertexAttributeParamsNoDataColor {
544
- alpha: number;
545
- blue: number;
546
- green: number;
547
- red: number;
394
+ block_ids: BlockIds;
395
+ id: DataId;
396
+ item: AttributeItem;
397
+ maximum: AttributeRangeMaximum;
398
+ minimum: AttributeRangeMinimum;
399
+ name: AttributeName;
400
+ no_data_color?: ColorRGBA;
401
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
548
402
  }
549
403
 
550
404
  export interface ModelBlocksAttributeVertexAttributeResponse {
551
405
  }
552
406
 
553
407
  export interface ModelBlocksEdgesAttributeVertexAttributeParams {
554
- block_ids: number[];
555
- id: string;
556
- item: number;
557
- maximum: number;
558
- minimum: number;
559
- name: string;
560
- no_data_color?: ModelBlocksEdgesAttributeVertexAttributeParamsNoDataColor;
561
- /**
562
- * Flat array of [value, r, g, b, ...]
563
- */
564
- points: number[];
565
- }
566
-
567
- export interface ModelBlocksEdgesAttributeVertexAttributeParamsNoDataColor {
568
- alpha: number;
569
- blue: number;
570
- green: number;
571
- red: number;
408
+ block_ids: BlockIds;
409
+ id: DataId;
410
+ item: AttributeItem;
411
+ maximum: AttributeRangeMaximum;
412
+ minimum: AttributeRangeMinimum;
413
+ name: AttributeName;
414
+ no_data_color?: ColorRGBA;
415
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
572
416
  }
573
417
 
574
418
  export interface ModelBlocksEdgesAttributeVertexAttributeResponse {
575
419
  }
576
420
 
577
421
  export interface ModelBlocksEdgesWidthParams {
578
- block_ids: number[];
579
- id: string;
580
- width: number;
422
+ block_ids: BlockIds;
423
+ id: DataId;
424
+ width: EdgeWidth;
581
425
  }
582
426
 
583
427
  export interface ModelBlocksEdgesWidthResponse {
584
428
  }
585
429
 
586
430
  export interface ModelBlocksEdgesVisibilityParams {
587
- block_ids: number[];
588
- id: string;
589
- visibility: boolean;
431
+ block_ids: BlockIds;
432
+ id: DataId;
433
+ visibility: Visibility;
590
434
  }
591
435
 
592
436
  export interface ModelBlocksEdgesVisibilityResponse {
593
437
  }
594
438
 
595
439
  export interface ModelBlocksEdgesColorParams {
596
- block_ids: number[];
597
- color: ModelBlocksEdgesColorParamsColor;
598
- id: string;
599
- }
600
-
601
- export interface ModelBlocksEdgesColorParamsColor {
602
- alpha: number;
603
- blue: number;
604
- green: number;
605
- red: number;
440
+ block_ids: BlockIds;
441
+ color: ColorRGBA;
442
+ id: DataId;
606
443
  }
607
444
 
608
445
  export interface ModelBlocksEdgesColorResponse {
609
446
  }
610
447
 
611
448
  export interface ModelBlocksPointsAttributeVertexAttributeParams {
612
- block_ids: number[];
613
- id: string;
614
- item: number;
615
- maximum: number;
616
- minimum: number;
617
- name: string;
618
- no_data_color?: ModelBlocksPointsAttributeVertexAttributeParamsNoDataColor;
619
- /**
620
- * Flat array of [value, r, g, b, ...]
621
- */
622
- points: number[];
623
- }
624
-
625
- export interface ModelBlocksPointsAttributeVertexAttributeParamsNoDataColor {
626
- alpha: number;
627
- blue: number;
628
- green: number;
629
- red: number;
449
+ block_ids: BlockIds;
450
+ id: DataId;
451
+ item: AttributeItem;
452
+ maximum: AttributeRangeMaximum;
453
+ minimum: AttributeRangeMinimum;
454
+ name: AttributeName;
455
+ no_data_color?: ColorRGBA;
456
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
630
457
  }
631
458
 
632
459
  export interface ModelBlocksPointsAttributeVertexAttributeResponse {
633
460
  }
634
461
 
635
462
  export interface ModelBlocksPointsVisibilityParams {
636
- block_ids: number[];
637
- id: string;
638
- visibility: boolean;
463
+ block_ids: BlockIds;
464
+ id: DataId;
465
+ visibility: Visibility;
639
466
  }
640
467
 
641
468
  export interface ModelBlocksPointsVisibilityResponse {
642
469
  }
643
470
 
644
471
  export interface ModelBlocksPointsSizeParams {
645
- block_ids: number[];
646
- id: string;
647
- size: number;
472
+ block_ids: BlockIds;
473
+ id: DataId;
474
+ size: PointSize;
648
475
  }
649
476
 
650
477
  export interface ModelBlocksPointsSizeResponse {
651
478
  }
652
479
 
653
480
  export interface ModelBlocksPointsColorParams {
654
- block_ids: number[];
655
- color: ModelBlocksPointsColorParamsColor;
656
- id: string;
657
- }
658
-
659
- export interface ModelBlocksPointsColorParamsColor {
660
- alpha: number;
661
- blue: number;
662
- green: number;
663
- red: number;
481
+ block_ids: BlockIds;
482
+ color: ColorRGBA;
483
+ id: DataId;
664
484
  }
665
485
 
666
486
  export interface ModelBlocksPointsColorResponse {
667
487
  }
668
488
 
669
489
  export interface ModelBlocksVisibilityParams {
670
- block_ids: number[];
671
- id: string;
672
- visibility: boolean;
490
+ block_ids: BlockIds;
491
+ id: DataId;
492
+ visibility: Visibility;
673
493
  }
674
494
 
675
495
  export interface ModelBlocksVisibilityResponse {
676
496
  }
677
497
 
678
498
  export interface ModelBlocksColorParams {
679
- block_ids: number[];
680
- collection_id?: string;
681
- color?: ModelBlocksColorParamsColor;
499
+ block_ids: BlockIds;
500
+ collection_id?: GeodeId;
501
+ color?: ColorRGBA;
682
502
  color_mode: ColorMode;
683
- id: string;
684
- }
685
-
686
- export interface ModelBlocksColorParamsColor {
687
- alpha: number;
688
- blue: number;
689
- green: number;
690
- red: number;
503
+ id: DataId;
691
504
  }
692
505
 
693
506
  export type ColorMode = "constant" | "random";
@@ -697,64 +510,40 @@ export interface ModelBlocksColorResponse {
697
510
  }
698
511
 
699
512
  export interface ModelBlocksColorResponseColor {
700
- color: PurpleColorRGBA;
701
- geode_id: string;
702
- viewer_id: number;
703
- }
704
-
705
- export interface PurpleColorRGBA {
706
- alpha: number;
707
- blue: number;
708
- green: number;
709
- red: number;
513
+ color: ColorRGBA;
514
+ geode_id: GeodeId;
515
+ viewer_id: ViewerId;
710
516
  }
711
517
 
712
518
  export interface ModelCornersAttributeVertexAttributeParams {
713
- block_ids: number[];
714
- id: string;
715
- item: number;
716
- maximum: number;
717
- minimum: number;
718
- name: string;
719
- no_data_color?: ModelCornersAttributeVertexAttributeParamsNoDataColor;
720
- /**
721
- * Flat array of [value, r, g, b, ...]
722
- */
723
- points: number[];
724
- }
725
-
726
- export interface ModelCornersAttributeVertexAttributeParamsNoDataColor {
727
- alpha: number;
728
- blue: number;
729
- green: number;
730
- red: number;
519
+ block_ids: BlockIds;
520
+ id: DataId;
521
+ item: AttributeItem;
522
+ maximum: AttributeRangeMaximum;
523
+ minimum: AttributeRangeMinimum;
524
+ name: AttributeName;
525
+ no_data_color?: ColorRGBA;
526
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
731
527
  }
732
528
 
733
529
  export interface ModelCornersAttributeVertexAttributeResponse {
734
530
  }
735
531
 
736
532
  export interface ModelCornersVisibilityParams {
737
- block_ids: number[];
738
- id: string;
739
- visibility: boolean;
533
+ block_ids: BlockIds;
534
+ id: DataId;
535
+ visibility: Visibility;
740
536
  }
741
537
 
742
538
  export interface ModelCornersVisibilityResponse {
743
539
  }
744
540
 
745
541
  export interface ModelCornersColorParams {
746
- block_ids: number[];
747
- collection_id?: string;
748
- color?: ModelCornersColorParamsColor;
542
+ block_ids: BlockIds;
543
+ collection_id?: GeodeId;
544
+ color?: ColorRGBA;
749
545
  color_mode: ColorMode;
750
- id: string;
751
- }
752
-
753
- export interface ModelCornersColorParamsColor {
754
- alpha: number;
755
- blue: number;
756
- green: number;
757
- red: number;
546
+ id: DataId;
758
547
  }
759
548
 
760
549
  export interface ModelCornersColorResponse {
@@ -762,162 +551,111 @@ export interface ModelCornersColorResponse {
762
551
  }
763
552
 
764
553
  export interface ModelCornersColorResponseColor {
765
- color: FluffyColorRGBA;
766
- geode_id: string;
767
- viewer_id: number;
768
- }
769
-
770
- export interface FluffyColorRGBA {
771
- alpha: number;
772
- blue: number;
773
- green: number;
774
- red: number;
554
+ color: ColorRGBA;
555
+ geode_id: GeodeId;
556
+ viewer_id: ViewerId;
775
557
  }
776
558
 
777
559
  export interface ModelEdgesWidthParams {
778
- id: string;
779
- width: number;
560
+ id: DataId;
561
+ width: EdgeWidth;
780
562
  }
781
563
 
782
564
  export interface ModelEdgesWidthResponse {
783
565
  }
784
566
 
785
567
  export interface ModelEdgesVisibilityParams {
786
- id: string;
787
- visibility: boolean;
568
+ id: DataId;
569
+ visibility: Visibility;
788
570
  }
789
571
 
790
572
  export interface ModelEdgesVisibilityResponse {
791
573
  }
792
574
 
793
575
  export interface ModelLinesAttributeEdgeAttributeParams {
794
- block_ids: number[];
795
- id: string;
796
- item: number;
797
- maximum: number;
798
- minimum: number;
799
- name: string;
800
- no_data_color?: ModelLinesAttributeEdgeAttributeParamsNoDataColor;
801
- /**
802
- * Flat array of [value, r, g, b, ...]
803
- */
804
- points: number[];
805
- }
806
-
807
- export interface ModelLinesAttributeEdgeAttributeParamsNoDataColor {
808
- alpha: number;
809
- blue: number;
810
- green: number;
811
- red: number;
576
+ block_ids: BlockIds;
577
+ id: DataId;
578
+ item: AttributeItem;
579
+ maximum: AttributeRangeMaximum;
580
+ minimum: AttributeRangeMinimum;
581
+ name: AttributeName;
582
+ no_data_color?: ColorRGBA;
583
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
812
584
  }
813
585
 
814
586
  export interface ModelLinesAttributeEdgeAttributeResponse {
815
587
  }
816
588
 
817
589
  export interface ModelLinesAttributeVertexAttributeParams {
818
- block_ids: number[];
819
- id: string;
820
- item: number;
821
- maximum: number;
822
- minimum: number;
823
- name: string;
824
- no_data_color?: ModelLinesAttributeVertexAttributeParamsNoDataColor;
825
- /**
826
- * Flat array of [value, r, g, b, ...]
827
- */
828
- points: number[];
829
- }
830
-
831
- export interface ModelLinesAttributeVertexAttributeParamsNoDataColor {
832
- alpha: number;
833
- blue: number;
834
- green: number;
835
- red: number;
590
+ block_ids: BlockIds;
591
+ id: DataId;
592
+ item: AttributeItem;
593
+ maximum: AttributeRangeMaximum;
594
+ minimum: AttributeRangeMinimum;
595
+ name: AttributeName;
596
+ no_data_color?: ColorRGBA;
597
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
836
598
  }
837
599
 
838
600
  export interface ModelLinesAttributeVertexAttributeResponse {
839
601
  }
840
602
 
841
603
  export interface ModelLinesPointsAttributeVertexAttributeParams {
842
- block_ids: number[];
843
- id: string;
844
- item: number;
845
- maximum: number;
846
- minimum: number;
847
- name: string;
848
- no_data_color?: ModelLinesPointsAttributeVertexAttributeParamsNoDataColor;
849
- /**
850
- * Flat array of [value, r, g, b, ...]
851
- */
852
- points: number[];
853
- }
854
-
855
- export interface ModelLinesPointsAttributeVertexAttributeParamsNoDataColor {
856
- alpha: number;
857
- blue: number;
858
- green: number;
859
- red: number;
604
+ block_ids: BlockIds;
605
+ id: DataId;
606
+ item: AttributeItem;
607
+ maximum: AttributeRangeMaximum;
608
+ minimum: AttributeRangeMinimum;
609
+ name: AttributeName;
610
+ no_data_color?: ColorRGBA;
611
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
860
612
  }
861
613
 
862
614
  export interface ModelLinesPointsAttributeVertexAttributeResponse {
863
615
  }
864
616
 
865
617
  export interface ModelLinesPointsVisibilityParams {
866
- block_ids: number[];
867
- id: string;
868
- visibility: boolean;
618
+ block_ids: BlockIds;
619
+ id: DataId;
620
+ visibility: Visibility;
869
621
  }
870
622
 
871
623
  export interface ModelLinesPointsVisibilityResponse {
872
624
  }
873
625
 
874
626
  export interface ModelLinesPointsSizeParams {
875
- block_ids: number[];
876
- id: string;
877
- size: number;
627
+ block_ids: BlockIds;
628
+ id: DataId;
629
+ size: PointSize;
878
630
  }
879
631
 
880
632
  export interface ModelLinesPointsSizeResponse {
881
633
  }
882
634
 
883
635
  export interface ModelLinesPointsColorParams {
884
- block_ids: number[];
885
- color: ModelLinesPointsColorParamsColor;
886
- id: string;
887
- }
888
-
889
- export interface ModelLinesPointsColorParamsColor {
890
- alpha: number;
891
- blue: number;
892
- green: number;
893
- red: number;
636
+ block_ids: BlockIds;
637
+ color: ColorRGBA;
638
+ id: DataId;
894
639
  }
895
640
 
896
641
  export interface ModelLinesPointsColorResponse {
897
642
  }
898
643
 
899
644
  export interface ModelLinesVisibilityParams {
900
- block_ids: number[];
901
- id: string;
902
- visibility: boolean;
645
+ block_ids: BlockIds;
646
+ id: DataId;
647
+ visibility: Visibility;
903
648
  }
904
649
 
905
650
  export interface ModelLinesVisibilityResponse {
906
651
  }
907
652
 
908
653
  export interface ModelLinesColorParams {
909
- block_ids: number[];
910
- collection_id?: string;
911
- color?: ModelLinesColorParamsColor;
654
+ block_ids: BlockIds;
655
+ collection_id?: GeodeId;
656
+ color?: ColorRGBA;
912
657
  color_mode: ColorMode;
913
- id: string;
914
- }
915
-
916
- export interface ModelLinesColorParamsColor {
917
- alpha: number;
918
- blue: number;
919
- green: number;
920
- red: number;
658
+ id: DataId;
921
659
  }
922
660
 
923
661
  export interface ModelLinesColorResponse {
@@ -925,44 +663,37 @@ export interface ModelLinesColorResponse {
925
663
  }
926
664
 
927
665
  export interface ModelLinesColorResponseColor {
928
- color: TentacledColorRGBA;
929
- geode_id: string;
930
- viewer_id: number;
931
- }
932
-
933
- export interface TentacledColorRGBA {
934
- alpha: number;
935
- blue: number;
936
- green: number;
937
- red: number;
666
+ color: ColorRGBA;
667
+ geode_id: GeodeId;
668
+ viewer_id: ViewerId;
938
669
  }
939
670
 
940
671
  export interface ModelPointsVisibilityParams {
941
- id: string;
942
- visibility: boolean;
672
+ id: DataId;
673
+ visibility: Visibility;
943
674
  }
944
675
 
945
676
  export interface ModelPointsVisibilityResponse {
946
677
  }
947
678
 
948
679
  export interface ModelPointsSizeParams {
949
- id: string;
950
- size: number;
680
+ id: DataId;
681
+ size: PointSize;
951
682
  }
952
683
 
953
684
  export interface ModelPointsSizeResponse {
954
685
  }
955
686
 
956
687
  export interface ModelVisibilityParams {
957
- id: string;
958
- visibility: boolean;
688
+ id: DataId;
689
+ visibility: Visibility;
959
690
  }
960
691
 
961
692
  export interface ModelVisibilityResponse {
962
693
  }
963
694
 
964
695
  export interface ModelRegisterParams {
965
- id: string;
696
+ id: DataId;
966
697
  name: string;
967
698
  }
968
699
 
@@ -970,17 +701,17 @@ export interface ModelRegisterResponse {
970
701
  }
971
702
 
972
703
  export interface ModelHighlightParams {
973
- block_ids: number[];
974
- id: string;
975
- visibility: boolean;
704
+ block_ids: ViewerId[];
705
+ id: DataId;
706
+ visibility: Visibility;
976
707
  }
977
708
 
978
709
  export interface ModelHighlightResponse {
979
710
  }
980
711
 
981
712
  export interface ModelGetBlocksBoundsParams {
982
- block_ids: number[];
983
- id: string;
713
+ block_ids: ViewerId[];
714
+ id: DataId;
984
715
  }
985
716
 
986
717
  export interface ModelGetBlocksBoundsResponse {
@@ -988,198 +719,137 @@ export interface ModelGetBlocksBoundsResponse {
988
719
  }
989
720
 
990
721
  export interface ModelDeregisterParams {
991
- id: string;
722
+ id: DataId;
992
723
  }
993
724
 
994
725
  export interface ModelDeregisterResponse {
995
726
  }
996
727
 
997
728
  export interface ModelSurfacesAttributePolygonAttributeParams {
998
- block_ids: number[];
999
- id: string;
1000
- item: number;
1001
- maximum: number;
1002
- minimum: number;
1003
- name: string;
1004
- no_data_color?: ModelSurfacesAttributePolygonAttributeParamsNoDataColor;
1005
- /**
1006
- * Flat array of [value, r, g, b, ...]
1007
- */
1008
- points: number[];
1009
- }
1010
-
1011
- export interface ModelSurfacesAttributePolygonAttributeParamsNoDataColor {
1012
- alpha: number;
1013
- blue: number;
1014
- green: number;
1015
- red: number;
729
+ block_ids: BlockIds;
730
+ id: DataId;
731
+ item: AttributeItem;
732
+ maximum: AttributeRangeMaximum;
733
+ minimum: AttributeRangeMinimum;
734
+ name: AttributeName;
735
+ no_data_color?: ColorRGBA;
736
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
1016
737
  }
1017
738
 
1018
739
  export interface ModelSurfacesAttributePolygonAttributeResponse {
1019
740
  }
1020
741
 
1021
742
  export interface ModelSurfacesAttributeVertexAttributeParams {
1022
- block_ids: number[];
1023
- id: string;
1024
- item: number;
1025
- maximum: number;
1026
- minimum: number;
1027
- name: string;
1028
- no_data_color?: ModelSurfacesAttributeVertexAttributeParamsNoDataColor;
1029
- /**
1030
- * Flat array of [value, r, g, b, ...]
1031
- */
1032
- points: number[];
1033
- }
1034
-
1035
- export interface ModelSurfacesAttributeVertexAttributeParamsNoDataColor {
1036
- alpha: number;
1037
- blue: number;
1038
- green: number;
1039
- red: number;
743
+ block_ids: BlockIds;
744
+ id: DataId;
745
+ item: AttributeItem;
746
+ maximum: AttributeRangeMaximum;
747
+ minimum: AttributeRangeMinimum;
748
+ name: AttributeName;
749
+ no_data_color?: ColorRGBA;
750
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
1040
751
  }
1041
752
 
1042
753
  export interface ModelSurfacesAttributeVertexAttributeResponse {
1043
754
  }
1044
755
 
1045
756
  export interface ModelSurfacesEdgesAttributeVertexAttributeParams {
1046
- block_ids: number[];
1047
- id: string;
1048
- item: number;
1049
- maximum: number;
1050
- minimum: number;
1051
- name: string;
1052
- no_data_color?: ModelSurfacesEdgesAttributeVertexAttributeParamsNoDataColor;
1053
- /**
1054
- * Flat array of [value, r, g, b, ...]
1055
- */
1056
- points: number[];
1057
- }
1058
-
1059
- export interface ModelSurfacesEdgesAttributeVertexAttributeParamsNoDataColor {
1060
- alpha: number;
1061
- blue: number;
1062
- green: number;
1063
- red: number;
757
+ block_ids: BlockIds;
758
+ id: DataId;
759
+ item: AttributeItem;
760
+ maximum: AttributeRangeMaximum;
761
+ minimum: AttributeRangeMinimum;
762
+ name: AttributeName;
763
+ no_data_color?: ColorRGBA;
764
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
1064
765
  }
1065
766
 
1066
767
  export interface ModelSurfacesEdgesAttributeVertexAttributeResponse {
1067
768
  }
1068
769
 
1069
770
  export interface ModelSurfacesEdgesWidthParams {
1070
- block_ids: number[];
1071
- id: string;
1072
- width: number;
771
+ block_ids: BlockIds;
772
+ id: DataId;
773
+ width: EdgeWidth;
1073
774
  }
1074
775
 
1075
776
  export interface ModelSurfacesEdgesWidthResponse {
1076
777
  }
1077
778
 
1078
779
  export interface ModelSurfacesEdgesVisibilityParams {
1079
- block_ids: number[];
1080
- id: string;
1081
- visibility: boolean;
780
+ block_ids: BlockIds;
781
+ id: DataId;
782
+ visibility: Visibility;
1082
783
  }
1083
784
 
1084
785
  export interface ModelSurfacesEdgesVisibilityResponse {
1085
786
  }
1086
787
 
1087
788
  export interface ModelSurfacesEdgesColorParams {
1088
- block_ids: number[];
1089
- color: ModelSurfacesEdgesColorParamsColor;
1090
- id: string;
1091
- }
1092
-
1093
- export interface ModelSurfacesEdgesColorParamsColor {
1094
- alpha: number;
1095
- blue: number;
1096
- green: number;
1097
- red: number;
789
+ block_ids: BlockIds;
790
+ color: ColorRGBA;
791
+ id: DataId;
1098
792
  }
1099
793
 
1100
794
  export interface ModelSurfacesEdgesColorResponse {
1101
795
  }
1102
796
 
1103
797
  export interface ModelSurfacesPointsAttributeVertexAttributeParams {
1104
- block_ids: number[];
1105
- id: string;
1106
- item: number;
1107
- maximum: number;
1108
- minimum: number;
1109
- name: string;
1110
- no_data_color?: ModelSurfacesPointsAttributeVertexAttributeParamsNoDataColor;
1111
- /**
1112
- * Flat array of [value, r, g, b, ...]
1113
- */
1114
- points: number[];
1115
- }
1116
-
1117
- export interface ModelSurfacesPointsAttributeVertexAttributeParamsNoDataColor {
1118
- alpha: number;
1119
- blue: number;
1120
- green: number;
1121
- red: number;
798
+ block_ids: BlockIds;
799
+ id: DataId;
800
+ item: AttributeItem;
801
+ maximum: AttributeRangeMaximum;
802
+ minimum: AttributeRangeMinimum;
803
+ name: AttributeName;
804
+ no_data_color?: ColorRGBA;
805
+ points: ColorMapPoints; // Flat array of [value, r, g, b, ...]
1122
806
  }
1123
807
 
1124
808
  export interface ModelSurfacesPointsAttributeVertexAttributeResponse {
1125
809
  }
1126
810
 
1127
811
  export interface ModelSurfacesPointsVisibilityParams {
1128
- block_ids: number[];
1129
- id: string;
1130
- visibility: boolean;
812
+ block_ids: BlockIds;
813
+ id: DataId;
814
+ visibility: Visibility;
1131
815
  }
1132
816
 
1133
817
  export interface ModelSurfacesPointsVisibilityResponse {
1134
818
  }
1135
819
 
1136
820
  export interface ModelSurfacesPointsSizeParams {
1137
- block_ids: number[];
1138
- id: string;
1139
- size: number;
821
+ block_ids: BlockIds;
822
+ id: DataId;
823
+ size: PointSize;
1140
824
  }
1141
825
 
1142
826
  export interface ModelSurfacesPointsSizeResponse {
1143
827
  }
1144
828
 
1145
829
  export interface ModelSurfacesPointsColorParams {
1146
- block_ids: number[];
1147
- color: ModelSurfacesPointsColorParamsColor;
1148
- id: string;
1149
- }
1150
-
1151
- export interface ModelSurfacesPointsColorParamsColor {
1152
- alpha: number;
1153
- blue: number;
1154
- green: number;
1155
- red: number;
830
+ block_ids: BlockIds;
831
+ color: ColorRGBA;
832
+ id: DataId;
1156
833
  }
1157
834
 
1158
835
  export interface ModelSurfacesPointsColorResponse {
1159
836
  }
1160
837
 
1161
838
  export interface ModelSurfacesVisibilityParams {
1162
- block_ids: number[];
1163
- id: string;
1164
- visibility: boolean;
839
+ block_ids: BlockIds;
840
+ id: DataId;
841
+ visibility: Visibility;
1165
842
  }
1166
843
 
1167
844
  export interface ModelSurfacesVisibilityResponse {
1168
845
  }
1169
846
 
1170
847
  export interface ModelSurfacesColorParams {
1171
- block_ids: number[];
1172
- collection_id?: string;
1173
- color?: ModelSurfacesColorParamsColor;
848
+ block_ids: BlockIds;
849
+ collection_id?: GeodeId;
850
+ color?: ColorRGBA;
1174
851
  color_mode: ColorMode;
1175
- id: string;
1176
- }
1177
-
1178
- export interface ModelSurfacesColorParamsColor {
1179
- alpha: number;
1180
- blue: number;
1181
- green: number;
1182
- red: number;
852
+ id: DataId;
1183
853
  }
1184
854
 
1185
855
  export interface ModelSurfacesColorResponse {
@@ -1187,20 +857,13 @@ export interface ModelSurfacesColorResponse {
1187
857
  }
1188
858
 
1189
859
  export interface ModelSurfacesColorResponseColor {
1190
- color: StickyColorRGBA;
1191
- geode_id: string;
1192
- viewer_id: number;
1193
- }
1194
-
1195
- export interface StickyColorRGBA {
1196
- alpha: number;
1197
- blue: number;
1198
- green: number;
1199
- red: number;
860
+ color: ColorRGBA;
861
+ geode_id: GeodeId;
862
+ viewer_id: ViewerId;
1200
863
  }
1201
864
 
1202
865
  export interface ModelSurfacesApplyTexturesParams {
1203
- id: string;
866
+ id: DataId;
1204
867
  textures: ModelSurfacesApplyTexturesParamsTexture[];
1205
868
  }
1206
869
 
@@ -1238,7 +901,7 @@ export interface ImportProjectResponse {
1238
901
  }
1239
902
 
1240
903
  export interface ViewerUpdateDataParams {
1241
- id: string;
904
+ id: DataId;
1242
905
  }
1243
906
 
1244
907
  export interface ViewerUpdateDataResponse {
@@ -1263,14 +926,14 @@ export interface ViewerUpdateCameraResponse {
1263
926
 
1264
927
  export interface ViewerThresholdParams {
1265
928
  attributes: AttributeElement[];
1266
- ids: string[];
929
+ ids: DataId[];
1267
930
  }
1268
931
 
1269
932
  export interface AttributeElement {
1270
- item: number;
933
+ item: AttributeItem;
1271
934
  location: Location;
1272
- maximum: number;
1273
- minimum: number;
935
+ maximum: AttributeRangeMaximum;
936
+ minimum: AttributeRangeMinimum;
1274
937
  name: string;
1275
938
  }
1276
939
 
@@ -1280,7 +943,7 @@ export interface ViewerThresholdResponse {
1280
943
  }
1281
944
 
1282
945
  export interface ViewerTakeScreenshotParams {
1283
- filename: string;
946
+ filename: Filename;
1284
947
  height?: number;
1285
948
  include_background: boolean;
1286
949
  output_extension: OutputExtension;
@@ -1290,14 +953,11 @@ export interface ViewerTakeScreenshotParams {
1290
953
  export type OutputExtension = "png" | "jpg";
1291
954
 
1292
955
  export interface ViewerTakeScreenshotResponse {
1293
- /**
1294
- * Image file content, sent as binary
1295
- */
1296
- blob: any;
956
+ blob: any; // Image file content, sent as binary
1297
957
  }
1298
958
 
1299
959
  export interface ViewerSliceParams {
1300
- ids: string[];
960
+ ids: DataId[];
1301
961
  slices: Slice[];
1302
962
  }
1303
963
 
@@ -1311,7 +971,7 @@ export interface ViewerSliceResponse {
1311
971
  }
1312
972
 
1313
973
  export interface ViewerShrinkParams {
1314
- ids: string[];
974
+ ids: DataId[];
1315
975
  shrink_factor: number;
1316
976
  }
1317
977
 
@@ -1326,15 +986,9 @@ export interface ViewerSetZScalingResponse {
1326
986
  }
1327
987
 
1328
988
  export interface ViewerSetTextStyleParams {
1329
- color: TextColor;
989
+ color: ColorRGB;
1330
990
  font_family: FontFamily;
1331
- opacity: number;
1332
- }
1333
-
1334
- export interface TextColor {
1335
- b: number;
1336
- g: number;
1337
- r: number;
991
+ opacity: Opacity;
1338
992
  }
1339
993
 
1340
994
  export type FontFamily = "arial" | "courier" | "times";
@@ -1352,13 +1006,7 @@ export interface ViewerSetOrientationWidgetResponse {
1352
1006
  }
1353
1007
 
1354
1008
  export interface ViewerSetBackgroundColorParams {
1355
- color: ViewerSetBackgroundColorParamsColor;
1356
- }
1357
-
1358
- export interface ViewerSetBackgroundColorParamsColor {
1359
- b: number;
1360
- g: number;
1361
- r: number;
1009
+ color: ColorRGB;
1362
1010
  }
1363
1011
 
1364
1012
  export interface ViewerSetBackgroundColorResponse {
@@ -1400,30 +1048,24 @@ export interface ViewerRenderResponse {
1400
1048
 
1401
1049
  export interface ViewerPreviewPointsParams {
1402
1050
  closed?: boolean;
1403
- points: Point[];
1051
+ points: Point3D[];
1404
1052
  style: Style;
1405
1053
  }
1406
1054
 
1407
- export interface Point {
1408
- x: number;
1409
- y: number;
1410
- z: number;
1411
- }
1412
-
1413
1055
  export type Style = "points" | "curve" | "surface";
1414
1056
 
1415
1057
  export interface ViewerPreviewPointsResponse {
1416
1058
  }
1417
1059
 
1418
1060
  export interface ViewerPickedIDSParams {
1419
- ids: string[];
1061
+ ids: DataId[];
1420
1062
  x: number;
1421
1063
  y: number;
1422
1064
  }
1423
1065
 
1424
1066
  export interface ViewerPickedIDSResponse {
1425
- array_ids: string[];
1426
- viewer_id?: number;
1067
+ array_ids: DataId[];
1068
+ viewer_id?: ViewerId;
1427
1069
  }
1428
1070
 
1429
1071
  export interface ViewerPickColormapParams {
@@ -1433,13 +1075,13 @@ export interface ViewerPickColormapParams {
1433
1075
  }
1434
1076
 
1435
1077
  export interface ViewerPickColormapResponse {
1436
- block_ids?: number[];
1078
+ block_ids?: ViewerId[];
1437
1079
  data_id?: string;
1438
1080
  }
1439
1081
 
1440
1082
  export interface ViewerHighlightParams {
1441
1083
  field_type: PickedFieldType;
1442
- ids: string[];
1084
+ ids: DataId[];
1443
1085
  x: number;
1444
1086
  y: number;
1445
1087
  }
@@ -1449,13 +1091,13 @@ export type PickedFieldType = "CELL" | "POINT";
1449
1091
  export interface ViewerHighlightResponse {
1450
1092
  attributes?: { [key: string]: number[] | number };
1451
1093
  field_type?: PickedFieldType;
1452
- geode_id?: string;
1453
- id?: string;
1094
+ geode_id?: GeodeId;
1095
+ id?: DataId;
1454
1096
  picked_id?: number;
1455
1097
  }
1456
1098
 
1457
1099
  export interface ViewerGridScaleParams {
1458
- visibility: boolean;
1100
+ visibility: Visibility;
1459
1101
  }
1460
1102
 
1461
1103
  export interface ViewerGridScaleResponse {
@@ -1466,43 +1108,32 @@ export interface ViewerGetPointPositionParams {
1466
1108
  y: number;
1467
1109
  }
1468
1110
 
1469
- export interface ViewerGetPointPositionResponse {
1470
- x: number;
1471
- y: number;
1472
- z: number;
1473
- }
1111
+ export type ViewerGetPointPositionResponse = Point3D;
1474
1112
 
1475
1113
  export interface ViewerExplodeParams {
1476
1114
  explode_factor: number;
1477
- ids: string[];
1115
+ ids: DataId[];
1478
1116
  }
1479
1117
 
1480
1118
  export interface ViewerExplodeResponse {
1481
1119
  }
1482
1120
 
1483
1121
  export interface ViewerClippingPlanesParams {
1484
- ids: string[];
1122
+ ids: DataId[];
1485
1123
  planes: Plane[];
1486
1124
  }
1487
1125
 
1488
1126
  export interface Plane {
1489
- color?: PlaneColor;
1127
+ color?: ColorRGBA;
1490
1128
  normal: number[];
1491
1129
  origin: number[];
1492
1130
  }
1493
1131
 
1494
- export interface PlaneColor {
1495
- alpha: number;
1496
- blue: number;
1497
- green: number;
1498
- red: number;
1499
- }
1500
-
1501
1132
  export interface ViewerClippingPlanesResponse {
1502
1133
  }
1503
1134
 
1504
1135
  export interface ViewerAxesParams {
1505
- visibility: boolean;
1136
+ visibility: Visibility;
1506
1137
  }
1507
1138
 
1508
1139
  export interface ViewerAxesResponse {