@vertexvis/api-client-node 0.20.4 → 0.20.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api.d.ts +166 -20
- package/dist/cjs/client/version.d.ts +1 -1
- package/dist/cjs/client/version.js +1 -1
- package/dist/esm/api.d.ts +166 -20
- package/dist/esm/client/version.d.ts +1 -1
- package/dist/esm/client/version.js +1 -1
- package/package.json +1 -1
package/dist/cjs/api.d.ts
CHANGED
|
@@ -1083,10 +1083,10 @@ export interface CreatePartRequestData {
|
|
|
1083
1083
|
attributes: CreatePartRequestDataAttributes;
|
|
1084
1084
|
/**
|
|
1085
1085
|
*
|
|
1086
|
-
* @type {
|
|
1086
|
+
* @type {CreatePartRequestDataRelationships}
|
|
1087
1087
|
* @memberof CreatePartRequestData
|
|
1088
1088
|
*/
|
|
1089
|
-
relationships?:
|
|
1089
|
+
relationships?: CreatePartRequestDataRelationships;
|
|
1090
1090
|
}
|
|
1091
1091
|
/**
|
|
1092
1092
|
*
|
|
@@ -1114,11 +1114,11 @@ export interface CreatePartRequestDataAttributes {
|
|
|
1114
1114
|
indexMetadata?: boolean;
|
|
1115
1115
|
/**
|
|
1116
1116
|
* Additional metadata about the `part` and/or `part-revision`. This metadata will take precedence over any metadata that belongs to the part file if `indexMetadata` is specified.
|
|
1117
|
-
* @type {{ [key: string]:
|
|
1117
|
+
* @type {{ [key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType; }}
|
|
1118
1118
|
* @memberof CreatePartRequestDataAttributes
|
|
1119
1119
|
*/
|
|
1120
1120
|
metadata?: {
|
|
1121
|
-
[key: string]:
|
|
1121
|
+
[key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType;
|
|
1122
1122
|
};
|
|
1123
1123
|
/**
|
|
1124
1124
|
* Name to be used for the root part.
|
|
@@ -1145,6 +1145,19 @@ export interface CreatePartRequestDataAttributes {
|
|
|
1145
1145
|
*/
|
|
1146
1146
|
suppliedInstanceIdKey?: string;
|
|
1147
1147
|
}
|
|
1148
|
+
/**
|
|
1149
|
+
*
|
|
1150
|
+
* @export
|
|
1151
|
+
* @interface CreatePartRequestDataRelationships
|
|
1152
|
+
*/
|
|
1153
|
+
export interface CreatePartRequestDataRelationships {
|
|
1154
|
+
/**
|
|
1155
|
+
*
|
|
1156
|
+
* @type {FileRelationship | PartAssemblyRelationship}
|
|
1157
|
+
* @memberof CreatePartRequestDataRelationships
|
|
1158
|
+
*/
|
|
1159
|
+
source: FileRelationship | PartAssemblyRelationship;
|
|
1160
|
+
}
|
|
1148
1161
|
/**
|
|
1149
1162
|
*
|
|
1150
1163
|
* @export
|
|
@@ -1366,11 +1379,11 @@ export interface CreateSceneItemRequestDataAttributes {
|
|
|
1366
1379
|
visible?: boolean;
|
|
1367
1380
|
/**
|
|
1368
1381
|
* Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file.
|
|
1369
|
-
* @type {{ [key: string]:
|
|
1382
|
+
* @type {{ [key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType; }}
|
|
1370
1383
|
* @memberof CreateSceneItemRequestDataAttributes
|
|
1371
1384
|
*/
|
|
1372
1385
|
metadata?: {
|
|
1373
|
-
[key: string]:
|
|
1386
|
+
[key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType;
|
|
1374
1387
|
};
|
|
1375
1388
|
}
|
|
1376
1389
|
/**
|
|
@@ -1542,6 +1555,12 @@ export interface CreateSceneViewRequestDataAttributes {
|
|
|
1542
1555
|
* @memberof CreateSceneViewRequestDataAttributes
|
|
1543
1556
|
*/
|
|
1544
1557
|
crossSectioning?: CrossSectioning | null;
|
|
1558
|
+
/**
|
|
1559
|
+
* Whether to exclude non-visible items in the view
|
|
1560
|
+
* @type {boolean}
|
|
1561
|
+
* @memberof CreateSceneViewRequestDataAttributes
|
|
1562
|
+
*/
|
|
1563
|
+
excludePrunedItems?: boolean;
|
|
1545
1564
|
}
|
|
1546
1565
|
/**
|
|
1547
1566
|
*
|
|
@@ -1670,6 +1689,12 @@ export interface CreateStreamKeyRequestDataAttributes {
|
|
|
1670
1689
|
* @memberof CreateStreamKeyRequestDataAttributes
|
|
1671
1690
|
*/
|
|
1672
1691
|
expiry?: number;
|
|
1692
|
+
/**
|
|
1693
|
+
* Whether to exclude non-visible items in the view
|
|
1694
|
+
* @type {boolean}
|
|
1695
|
+
* @memberof CreateStreamKeyRequestDataAttributes
|
|
1696
|
+
*/
|
|
1697
|
+
excludePrunedItems?: boolean;
|
|
1673
1698
|
}
|
|
1674
1699
|
/**
|
|
1675
1700
|
*
|
|
@@ -2596,6 +2621,25 @@ export interface Matrix4Nullable {
|
|
|
2596
2621
|
*/
|
|
2597
2622
|
r3: Vector4;
|
|
2598
2623
|
}
|
|
2624
|
+
/**
|
|
2625
|
+
*
|
|
2626
|
+
* @export
|
|
2627
|
+
* @interface MetadataDateType
|
|
2628
|
+
*/
|
|
2629
|
+
export interface MetadataDateType {
|
|
2630
|
+
/**
|
|
2631
|
+
* Type of metadata value.
|
|
2632
|
+
* @type {string}
|
|
2633
|
+
* @memberof MetadataDateType
|
|
2634
|
+
*/
|
|
2635
|
+
type: string;
|
|
2636
|
+
/**
|
|
2637
|
+
* A date value.
|
|
2638
|
+
* @type {string}
|
|
2639
|
+
* @memberof MetadataDateType
|
|
2640
|
+
*/
|
|
2641
|
+
value: string;
|
|
2642
|
+
}
|
|
2599
2643
|
/**
|
|
2600
2644
|
*
|
|
2601
2645
|
* @export
|
|
@@ -2615,6 +2659,25 @@ export interface MetadataFloatType {
|
|
|
2615
2659
|
*/
|
|
2616
2660
|
value: number;
|
|
2617
2661
|
}
|
|
2662
|
+
/**
|
|
2663
|
+
*
|
|
2664
|
+
* @export
|
|
2665
|
+
* @interface MetadataLongType
|
|
2666
|
+
*/
|
|
2667
|
+
export interface MetadataLongType {
|
|
2668
|
+
/**
|
|
2669
|
+
* Type of metadata value.
|
|
2670
|
+
* @type {string}
|
|
2671
|
+
* @memberof MetadataLongType
|
|
2672
|
+
*/
|
|
2673
|
+
type: string;
|
|
2674
|
+
/**
|
|
2675
|
+
* A numerical long value.
|
|
2676
|
+
* @type {number}
|
|
2677
|
+
* @memberof MetadataLongType
|
|
2678
|
+
*/
|
|
2679
|
+
value: number;
|
|
2680
|
+
}
|
|
2618
2681
|
/**
|
|
2619
2682
|
*
|
|
2620
2683
|
* @export
|
|
@@ -2786,6 +2849,40 @@ export interface Part {
|
|
|
2786
2849
|
[key: string]: Link;
|
|
2787
2850
|
};
|
|
2788
2851
|
}
|
|
2852
|
+
/**
|
|
2853
|
+
* Create Part Assembly
|
|
2854
|
+
* @export
|
|
2855
|
+
* @interface PartAssemblyRelationship
|
|
2856
|
+
*/
|
|
2857
|
+
export interface PartAssemblyRelationship {
|
|
2858
|
+
/**
|
|
2859
|
+
*
|
|
2860
|
+
* @type {PartAssemblyRelationshipData}
|
|
2861
|
+
* @memberof PartAssemblyRelationship
|
|
2862
|
+
*/
|
|
2863
|
+
data: PartAssemblyRelationshipData;
|
|
2864
|
+
}
|
|
2865
|
+
/**
|
|
2866
|
+
*
|
|
2867
|
+
* @export
|
|
2868
|
+
* @interface PartAssemblyRelationshipData
|
|
2869
|
+
*/
|
|
2870
|
+
export interface PartAssemblyRelationshipData {
|
|
2871
|
+
/**
|
|
2872
|
+
*
|
|
2873
|
+
* @type {Array<PartRevisionInstance>}
|
|
2874
|
+
* @memberof PartAssemblyRelationshipData
|
|
2875
|
+
*/
|
|
2876
|
+
children: Array<PartRevisionInstance>;
|
|
2877
|
+
/**
|
|
2878
|
+
* Additional metadata about the `part` and/or `part-revision`.
|
|
2879
|
+
* @type {{ [key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType; }}
|
|
2880
|
+
* @memberof PartAssemblyRelationshipData
|
|
2881
|
+
*/
|
|
2882
|
+
metadata?: {
|
|
2883
|
+
[key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType;
|
|
2884
|
+
};
|
|
2885
|
+
}
|
|
2789
2886
|
/**
|
|
2790
2887
|
*
|
|
2791
2888
|
* @export
|
|
@@ -3004,11 +3101,11 @@ export interface PartRevisionDataAttributes {
|
|
|
3004
3101
|
created?: string;
|
|
3005
3102
|
/**
|
|
3006
3103
|
*
|
|
3007
|
-
* @type {{ [key: string]:
|
|
3104
|
+
* @type {{ [key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType; }}
|
|
3008
3105
|
* @memberof PartRevisionDataAttributes
|
|
3009
3106
|
*/
|
|
3010
3107
|
metadata?: {
|
|
3011
|
-
[key: string]:
|
|
3108
|
+
[key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType;
|
|
3012
3109
|
};
|
|
3013
3110
|
/**
|
|
3014
3111
|
*
|
|
@@ -3036,6 +3133,37 @@ export interface PartRevisionDataRelationships {
|
|
|
3036
3133
|
*/
|
|
3037
3134
|
part?: PartRelationshipData;
|
|
3038
3135
|
}
|
|
3136
|
+
/**
|
|
3137
|
+
* A reference to an existing PartRevision. Specify one and only one of referenceId or suppliedReferenceId to refer to a revision.
|
|
3138
|
+
* @export
|
|
3139
|
+
* @interface PartRevisionInstance
|
|
3140
|
+
*/
|
|
3141
|
+
export interface PartRevisionInstance {
|
|
3142
|
+
/**
|
|
3143
|
+
* A 0-based index used for defining a consistent ordering for children of an assembly
|
|
3144
|
+
* @type {number}
|
|
3145
|
+
* @memberof PartRevisionInstance
|
|
3146
|
+
*/
|
|
3147
|
+
ordinal: number;
|
|
3148
|
+
/**
|
|
3149
|
+
* ID of the resource.
|
|
3150
|
+
* @type {string}
|
|
3151
|
+
* @memberof PartRevisionInstance
|
|
3152
|
+
*/
|
|
3153
|
+
revisionId?: string;
|
|
3154
|
+
/**
|
|
3155
|
+
*
|
|
3156
|
+
* @type {string}
|
|
3157
|
+
* @memberof PartRevisionInstance
|
|
3158
|
+
*/
|
|
3159
|
+
suppliedRevisionId?: string;
|
|
3160
|
+
/**
|
|
3161
|
+
*
|
|
3162
|
+
* @type {Matrix4}
|
|
3163
|
+
* @memberof PartRevisionInstance
|
|
3164
|
+
*/
|
|
3165
|
+
transform?: Matrix4;
|
|
3166
|
+
}
|
|
3039
3167
|
/**
|
|
3040
3168
|
*
|
|
3041
3169
|
* @export
|
|
@@ -3119,6 +3247,12 @@ export interface PerspectiveCamera {
|
|
|
3119
3247
|
* @memberof PerspectiveCamera
|
|
3120
3248
|
*/
|
|
3121
3249
|
up: Vector3;
|
|
3250
|
+
/**
|
|
3251
|
+
* A numerical floating-point value representing the field of view
|
|
3252
|
+
* @type {number}
|
|
3253
|
+
* @memberof PerspectiveCamera
|
|
3254
|
+
*/
|
|
3255
|
+
fovY?: number;
|
|
3122
3256
|
}
|
|
3123
3257
|
/**
|
|
3124
3258
|
* 2D point.
|
|
@@ -3740,11 +3874,11 @@ export interface SceneItemDataAttributes {
|
|
|
3740
3874
|
materialOverride?: ColorMaterial;
|
|
3741
3875
|
/**
|
|
3742
3876
|
*
|
|
3743
|
-
* @type {{ [key: string]:
|
|
3877
|
+
* @type {{ [key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType; }}
|
|
3744
3878
|
* @memberof SceneItemDataAttributes
|
|
3745
3879
|
*/
|
|
3746
3880
|
metadata?: {
|
|
3747
|
-
[key: string]:
|
|
3881
|
+
[key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType;
|
|
3748
3882
|
};
|
|
3749
3883
|
/**
|
|
3750
3884
|
*
|
|
@@ -4148,6 +4282,12 @@ export interface SceneViewDataAttributes {
|
|
|
4148
4282
|
* @memberof SceneViewDataAttributes
|
|
4149
4283
|
*/
|
|
4150
4284
|
worldOrientation?: Orientation;
|
|
4285
|
+
/**
|
|
4286
|
+
* Whether to exclude non-visible items in the view
|
|
4287
|
+
* @type {boolean}
|
|
4288
|
+
* @memberof SceneViewDataAttributes
|
|
4289
|
+
*/
|
|
4290
|
+
excludePrunedItems?: boolean;
|
|
4151
4291
|
}
|
|
4152
4292
|
/**
|
|
4153
4293
|
*
|
|
@@ -4437,12 +4577,6 @@ export interface SelectOperation {
|
|
|
4437
4577
|
* @memberof SelectOperation
|
|
4438
4578
|
*/
|
|
4439
4579
|
type: SelectOperationTypeEnum;
|
|
4440
|
-
/**
|
|
4441
|
-
*
|
|
4442
|
-
* @type {ColorMaterial}
|
|
4443
|
-
* @memberof SelectOperation
|
|
4444
|
-
*/
|
|
4445
|
-
material: ColorMaterial;
|
|
4446
4580
|
}
|
|
4447
4581
|
export declare const SelectOperationTypeEnum: {
|
|
4448
4582
|
readonly Select: "select";
|
|
@@ -4532,6 +4666,12 @@ export interface StreamKeyDataAttributes {
|
|
|
4532
4666
|
* @memberof StreamKeyDataAttributes
|
|
4533
4667
|
*/
|
|
4534
4668
|
created: string;
|
|
4669
|
+
/**
|
|
4670
|
+
*
|
|
4671
|
+
* @type {boolean}
|
|
4672
|
+
* @memberof StreamKeyDataAttributes
|
|
4673
|
+
*/
|
|
4674
|
+
excludePrunedItems?: boolean;
|
|
4535
4675
|
}
|
|
4536
4676
|
/**
|
|
4537
4677
|
*
|
|
@@ -4790,11 +4930,11 @@ export interface UpdatePartRevisionRequestData {
|
|
|
4790
4930
|
export interface UpdatePartRevisionRequestDataAttributes {
|
|
4791
4931
|
/**
|
|
4792
4932
|
* Metadata about the `part` and/or `part-revision`. This metadata will take precedence over any metadata that belongs to the part file if `indexMetadata` is specified.
|
|
4793
|
-
* @type {{ [key: string]:
|
|
4933
|
+
* @type {{ [key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType; }}
|
|
4794
4934
|
* @memberof UpdatePartRevisionRequestDataAttributes
|
|
4795
4935
|
*/
|
|
4796
4936
|
metadata?: {
|
|
4797
|
-
[key: string]:
|
|
4937
|
+
[key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType;
|
|
4798
4938
|
};
|
|
4799
4939
|
/**
|
|
4800
4940
|
* Whether or not to index metadata in the part file when sending a file relationship - not used otherwise. To ignore metadata from the part file and add your own, pass `false` for `indexMetadata` and supply custom metadata using the `metadata` field.
|
|
@@ -4972,11 +5112,11 @@ export interface UpdateSceneItemRequestDataAttributes {
|
|
|
4972
5112
|
suppliedId?: string;
|
|
4973
5113
|
/**
|
|
4974
5114
|
* Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file.
|
|
4975
|
-
* @type {{ [key: string]:
|
|
5115
|
+
* @type {{ [key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType; }}
|
|
4976
5116
|
* @memberof UpdateSceneItemRequestDataAttributes
|
|
4977
5117
|
*/
|
|
4978
5118
|
metadata?: {
|
|
4979
|
-
[key: string]:
|
|
5119
|
+
[key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType;
|
|
4980
5120
|
};
|
|
4981
5121
|
}
|
|
4982
5122
|
/**
|
|
@@ -5122,6 +5262,12 @@ export interface UpdateSceneViewRequestDataAttributes {
|
|
|
5122
5262
|
* @memberof UpdateSceneViewRequestDataAttributes
|
|
5123
5263
|
*/
|
|
5124
5264
|
crossSectioning?: CrossSectioning | null;
|
|
5265
|
+
/**
|
|
5266
|
+
* Whether or not to turn off default lighting
|
|
5267
|
+
* @type {boolean}
|
|
5268
|
+
* @memberof UpdateSceneViewRequestDataAttributes
|
|
5269
|
+
*/
|
|
5270
|
+
noDefaultLights?: boolean;
|
|
5125
5271
|
}
|
|
5126
5272
|
/**
|
|
5127
5273
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.20.
|
|
1
|
+
export declare const version = "0.20.6";
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1083,10 +1083,10 @@ export interface CreatePartRequestData {
|
|
|
1083
1083
|
attributes: CreatePartRequestDataAttributes;
|
|
1084
1084
|
/**
|
|
1085
1085
|
*
|
|
1086
|
-
* @type {
|
|
1086
|
+
* @type {CreatePartRequestDataRelationships}
|
|
1087
1087
|
* @memberof CreatePartRequestData
|
|
1088
1088
|
*/
|
|
1089
|
-
relationships?:
|
|
1089
|
+
relationships?: CreatePartRequestDataRelationships;
|
|
1090
1090
|
}
|
|
1091
1091
|
/**
|
|
1092
1092
|
*
|
|
@@ -1114,11 +1114,11 @@ export interface CreatePartRequestDataAttributes {
|
|
|
1114
1114
|
indexMetadata?: boolean;
|
|
1115
1115
|
/**
|
|
1116
1116
|
* Additional metadata about the `part` and/or `part-revision`. This metadata will take precedence over any metadata that belongs to the part file if `indexMetadata` is specified.
|
|
1117
|
-
* @type {{ [key: string]:
|
|
1117
|
+
* @type {{ [key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType; }}
|
|
1118
1118
|
* @memberof CreatePartRequestDataAttributes
|
|
1119
1119
|
*/
|
|
1120
1120
|
metadata?: {
|
|
1121
|
-
[key: string]:
|
|
1121
|
+
[key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType;
|
|
1122
1122
|
};
|
|
1123
1123
|
/**
|
|
1124
1124
|
* Name to be used for the root part.
|
|
@@ -1145,6 +1145,19 @@ export interface CreatePartRequestDataAttributes {
|
|
|
1145
1145
|
*/
|
|
1146
1146
|
suppliedInstanceIdKey?: string;
|
|
1147
1147
|
}
|
|
1148
|
+
/**
|
|
1149
|
+
*
|
|
1150
|
+
* @export
|
|
1151
|
+
* @interface CreatePartRequestDataRelationships
|
|
1152
|
+
*/
|
|
1153
|
+
export interface CreatePartRequestDataRelationships {
|
|
1154
|
+
/**
|
|
1155
|
+
*
|
|
1156
|
+
* @type {FileRelationship | PartAssemblyRelationship}
|
|
1157
|
+
* @memberof CreatePartRequestDataRelationships
|
|
1158
|
+
*/
|
|
1159
|
+
source: FileRelationship | PartAssemblyRelationship;
|
|
1160
|
+
}
|
|
1148
1161
|
/**
|
|
1149
1162
|
*
|
|
1150
1163
|
* @export
|
|
@@ -1366,11 +1379,11 @@ export interface CreateSceneItemRequestDataAttributes {
|
|
|
1366
1379
|
visible?: boolean;
|
|
1367
1380
|
/**
|
|
1368
1381
|
* Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file.
|
|
1369
|
-
* @type {{ [key: string]:
|
|
1382
|
+
* @type {{ [key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType; }}
|
|
1370
1383
|
* @memberof CreateSceneItemRequestDataAttributes
|
|
1371
1384
|
*/
|
|
1372
1385
|
metadata?: {
|
|
1373
|
-
[key: string]:
|
|
1386
|
+
[key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType;
|
|
1374
1387
|
};
|
|
1375
1388
|
}
|
|
1376
1389
|
/**
|
|
@@ -1542,6 +1555,12 @@ export interface CreateSceneViewRequestDataAttributes {
|
|
|
1542
1555
|
* @memberof CreateSceneViewRequestDataAttributes
|
|
1543
1556
|
*/
|
|
1544
1557
|
crossSectioning?: CrossSectioning | null;
|
|
1558
|
+
/**
|
|
1559
|
+
* Whether to exclude non-visible items in the view
|
|
1560
|
+
* @type {boolean}
|
|
1561
|
+
* @memberof CreateSceneViewRequestDataAttributes
|
|
1562
|
+
*/
|
|
1563
|
+
excludePrunedItems?: boolean;
|
|
1545
1564
|
}
|
|
1546
1565
|
/**
|
|
1547
1566
|
*
|
|
@@ -1670,6 +1689,12 @@ export interface CreateStreamKeyRequestDataAttributes {
|
|
|
1670
1689
|
* @memberof CreateStreamKeyRequestDataAttributes
|
|
1671
1690
|
*/
|
|
1672
1691
|
expiry?: number;
|
|
1692
|
+
/**
|
|
1693
|
+
* Whether to exclude non-visible items in the view
|
|
1694
|
+
* @type {boolean}
|
|
1695
|
+
* @memberof CreateStreamKeyRequestDataAttributes
|
|
1696
|
+
*/
|
|
1697
|
+
excludePrunedItems?: boolean;
|
|
1673
1698
|
}
|
|
1674
1699
|
/**
|
|
1675
1700
|
*
|
|
@@ -2596,6 +2621,25 @@ export interface Matrix4Nullable {
|
|
|
2596
2621
|
*/
|
|
2597
2622
|
r3: Vector4;
|
|
2598
2623
|
}
|
|
2624
|
+
/**
|
|
2625
|
+
*
|
|
2626
|
+
* @export
|
|
2627
|
+
* @interface MetadataDateType
|
|
2628
|
+
*/
|
|
2629
|
+
export interface MetadataDateType {
|
|
2630
|
+
/**
|
|
2631
|
+
* Type of metadata value.
|
|
2632
|
+
* @type {string}
|
|
2633
|
+
* @memberof MetadataDateType
|
|
2634
|
+
*/
|
|
2635
|
+
type: string;
|
|
2636
|
+
/**
|
|
2637
|
+
* A date value.
|
|
2638
|
+
* @type {string}
|
|
2639
|
+
* @memberof MetadataDateType
|
|
2640
|
+
*/
|
|
2641
|
+
value: string;
|
|
2642
|
+
}
|
|
2599
2643
|
/**
|
|
2600
2644
|
*
|
|
2601
2645
|
* @export
|
|
@@ -2615,6 +2659,25 @@ export interface MetadataFloatType {
|
|
|
2615
2659
|
*/
|
|
2616
2660
|
value: number;
|
|
2617
2661
|
}
|
|
2662
|
+
/**
|
|
2663
|
+
*
|
|
2664
|
+
* @export
|
|
2665
|
+
* @interface MetadataLongType
|
|
2666
|
+
*/
|
|
2667
|
+
export interface MetadataLongType {
|
|
2668
|
+
/**
|
|
2669
|
+
* Type of metadata value.
|
|
2670
|
+
* @type {string}
|
|
2671
|
+
* @memberof MetadataLongType
|
|
2672
|
+
*/
|
|
2673
|
+
type: string;
|
|
2674
|
+
/**
|
|
2675
|
+
* A numerical long value.
|
|
2676
|
+
* @type {number}
|
|
2677
|
+
* @memberof MetadataLongType
|
|
2678
|
+
*/
|
|
2679
|
+
value: number;
|
|
2680
|
+
}
|
|
2618
2681
|
/**
|
|
2619
2682
|
*
|
|
2620
2683
|
* @export
|
|
@@ -2786,6 +2849,40 @@ export interface Part {
|
|
|
2786
2849
|
[key: string]: Link;
|
|
2787
2850
|
};
|
|
2788
2851
|
}
|
|
2852
|
+
/**
|
|
2853
|
+
* Create Part Assembly
|
|
2854
|
+
* @export
|
|
2855
|
+
* @interface PartAssemblyRelationship
|
|
2856
|
+
*/
|
|
2857
|
+
export interface PartAssemblyRelationship {
|
|
2858
|
+
/**
|
|
2859
|
+
*
|
|
2860
|
+
* @type {PartAssemblyRelationshipData}
|
|
2861
|
+
* @memberof PartAssemblyRelationship
|
|
2862
|
+
*/
|
|
2863
|
+
data: PartAssemblyRelationshipData;
|
|
2864
|
+
}
|
|
2865
|
+
/**
|
|
2866
|
+
*
|
|
2867
|
+
* @export
|
|
2868
|
+
* @interface PartAssemblyRelationshipData
|
|
2869
|
+
*/
|
|
2870
|
+
export interface PartAssemblyRelationshipData {
|
|
2871
|
+
/**
|
|
2872
|
+
*
|
|
2873
|
+
* @type {Array<PartRevisionInstance>}
|
|
2874
|
+
* @memberof PartAssemblyRelationshipData
|
|
2875
|
+
*/
|
|
2876
|
+
children: Array<PartRevisionInstance>;
|
|
2877
|
+
/**
|
|
2878
|
+
* Additional metadata about the `part` and/or `part-revision`.
|
|
2879
|
+
* @type {{ [key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType; }}
|
|
2880
|
+
* @memberof PartAssemblyRelationshipData
|
|
2881
|
+
*/
|
|
2882
|
+
metadata?: {
|
|
2883
|
+
[key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType;
|
|
2884
|
+
};
|
|
2885
|
+
}
|
|
2789
2886
|
/**
|
|
2790
2887
|
*
|
|
2791
2888
|
* @export
|
|
@@ -3004,11 +3101,11 @@ export interface PartRevisionDataAttributes {
|
|
|
3004
3101
|
created?: string;
|
|
3005
3102
|
/**
|
|
3006
3103
|
*
|
|
3007
|
-
* @type {{ [key: string]:
|
|
3104
|
+
* @type {{ [key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType; }}
|
|
3008
3105
|
* @memberof PartRevisionDataAttributes
|
|
3009
3106
|
*/
|
|
3010
3107
|
metadata?: {
|
|
3011
|
-
[key: string]:
|
|
3108
|
+
[key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType;
|
|
3012
3109
|
};
|
|
3013
3110
|
/**
|
|
3014
3111
|
*
|
|
@@ -3036,6 +3133,37 @@ export interface PartRevisionDataRelationships {
|
|
|
3036
3133
|
*/
|
|
3037
3134
|
part?: PartRelationshipData;
|
|
3038
3135
|
}
|
|
3136
|
+
/**
|
|
3137
|
+
* A reference to an existing PartRevision. Specify one and only one of referenceId or suppliedReferenceId to refer to a revision.
|
|
3138
|
+
* @export
|
|
3139
|
+
* @interface PartRevisionInstance
|
|
3140
|
+
*/
|
|
3141
|
+
export interface PartRevisionInstance {
|
|
3142
|
+
/**
|
|
3143
|
+
* A 0-based index used for defining a consistent ordering for children of an assembly
|
|
3144
|
+
* @type {number}
|
|
3145
|
+
* @memberof PartRevisionInstance
|
|
3146
|
+
*/
|
|
3147
|
+
ordinal: number;
|
|
3148
|
+
/**
|
|
3149
|
+
* ID of the resource.
|
|
3150
|
+
* @type {string}
|
|
3151
|
+
* @memberof PartRevisionInstance
|
|
3152
|
+
*/
|
|
3153
|
+
revisionId?: string;
|
|
3154
|
+
/**
|
|
3155
|
+
*
|
|
3156
|
+
* @type {string}
|
|
3157
|
+
* @memberof PartRevisionInstance
|
|
3158
|
+
*/
|
|
3159
|
+
suppliedRevisionId?: string;
|
|
3160
|
+
/**
|
|
3161
|
+
*
|
|
3162
|
+
* @type {Matrix4}
|
|
3163
|
+
* @memberof PartRevisionInstance
|
|
3164
|
+
*/
|
|
3165
|
+
transform?: Matrix4;
|
|
3166
|
+
}
|
|
3039
3167
|
/**
|
|
3040
3168
|
*
|
|
3041
3169
|
* @export
|
|
@@ -3119,6 +3247,12 @@ export interface PerspectiveCamera {
|
|
|
3119
3247
|
* @memberof PerspectiveCamera
|
|
3120
3248
|
*/
|
|
3121
3249
|
up: Vector3;
|
|
3250
|
+
/**
|
|
3251
|
+
* A numerical floating-point value representing the field of view
|
|
3252
|
+
* @type {number}
|
|
3253
|
+
* @memberof PerspectiveCamera
|
|
3254
|
+
*/
|
|
3255
|
+
fovY?: number;
|
|
3122
3256
|
}
|
|
3123
3257
|
/**
|
|
3124
3258
|
* 2D point.
|
|
@@ -3740,11 +3874,11 @@ export interface SceneItemDataAttributes {
|
|
|
3740
3874
|
materialOverride?: ColorMaterial;
|
|
3741
3875
|
/**
|
|
3742
3876
|
*
|
|
3743
|
-
* @type {{ [key: string]:
|
|
3877
|
+
* @type {{ [key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType; }}
|
|
3744
3878
|
* @memberof SceneItemDataAttributes
|
|
3745
3879
|
*/
|
|
3746
3880
|
metadata?: {
|
|
3747
|
-
[key: string]:
|
|
3881
|
+
[key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType;
|
|
3748
3882
|
};
|
|
3749
3883
|
/**
|
|
3750
3884
|
*
|
|
@@ -4148,6 +4282,12 @@ export interface SceneViewDataAttributes {
|
|
|
4148
4282
|
* @memberof SceneViewDataAttributes
|
|
4149
4283
|
*/
|
|
4150
4284
|
worldOrientation?: Orientation;
|
|
4285
|
+
/**
|
|
4286
|
+
* Whether to exclude non-visible items in the view
|
|
4287
|
+
* @type {boolean}
|
|
4288
|
+
* @memberof SceneViewDataAttributes
|
|
4289
|
+
*/
|
|
4290
|
+
excludePrunedItems?: boolean;
|
|
4151
4291
|
}
|
|
4152
4292
|
/**
|
|
4153
4293
|
*
|
|
@@ -4437,12 +4577,6 @@ export interface SelectOperation {
|
|
|
4437
4577
|
* @memberof SelectOperation
|
|
4438
4578
|
*/
|
|
4439
4579
|
type: SelectOperationTypeEnum;
|
|
4440
|
-
/**
|
|
4441
|
-
*
|
|
4442
|
-
* @type {ColorMaterial}
|
|
4443
|
-
* @memberof SelectOperation
|
|
4444
|
-
*/
|
|
4445
|
-
material: ColorMaterial;
|
|
4446
4580
|
}
|
|
4447
4581
|
export declare const SelectOperationTypeEnum: {
|
|
4448
4582
|
readonly Select: "select";
|
|
@@ -4532,6 +4666,12 @@ export interface StreamKeyDataAttributes {
|
|
|
4532
4666
|
* @memberof StreamKeyDataAttributes
|
|
4533
4667
|
*/
|
|
4534
4668
|
created: string;
|
|
4669
|
+
/**
|
|
4670
|
+
*
|
|
4671
|
+
* @type {boolean}
|
|
4672
|
+
* @memberof StreamKeyDataAttributes
|
|
4673
|
+
*/
|
|
4674
|
+
excludePrunedItems?: boolean;
|
|
4535
4675
|
}
|
|
4536
4676
|
/**
|
|
4537
4677
|
*
|
|
@@ -4790,11 +4930,11 @@ export interface UpdatePartRevisionRequestData {
|
|
|
4790
4930
|
export interface UpdatePartRevisionRequestDataAttributes {
|
|
4791
4931
|
/**
|
|
4792
4932
|
* Metadata about the `part` and/or `part-revision`. This metadata will take precedence over any metadata that belongs to the part file if `indexMetadata` is specified.
|
|
4793
|
-
* @type {{ [key: string]:
|
|
4933
|
+
* @type {{ [key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType; }}
|
|
4794
4934
|
* @memberof UpdatePartRevisionRequestDataAttributes
|
|
4795
4935
|
*/
|
|
4796
4936
|
metadata?: {
|
|
4797
|
-
[key: string]:
|
|
4937
|
+
[key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType;
|
|
4798
4938
|
};
|
|
4799
4939
|
/**
|
|
4800
4940
|
* Whether or not to index metadata in the part file when sending a file relationship - not used otherwise. To ignore metadata from the part file and add your own, pass `false` for `indexMetadata` and supply custom metadata using the `metadata` field.
|
|
@@ -4972,11 +5112,11 @@ export interface UpdateSceneItemRequestDataAttributes {
|
|
|
4972
5112
|
suppliedId?: string;
|
|
4973
5113
|
/**
|
|
4974
5114
|
* Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file.
|
|
4975
|
-
* @type {{ [key: string]:
|
|
5115
|
+
* @type {{ [key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType; }}
|
|
4976
5116
|
* @memberof UpdateSceneItemRequestDataAttributes
|
|
4977
5117
|
*/
|
|
4978
5118
|
metadata?: {
|
|
4979
|
-
[key: string]:
|
|
5119
|
+
[key: string]: MetadataLongType | MetadataFloatType | MetadataDateType | MetadataStringType | MetadataNullType;
|
|
4980
5120
|
};
|
|
4981
5121
|
}
|
|
4982
5122
|
/**
|
|
@@ -5122,6 +5262,12 @@ export interface UpdateSceneViewRequestDataAttributes {
|
|
|
5122
5262
|
* @memberof UpdateSceneViewRequestDataAttributes
|
|
5123
5263
|
*/
|
|
5124
5264
|
crossSectioning?: CrossSectioning | null;
|
|
5265
|
+
/**
|
|
5266
|
+
* Whether or not to turn off default lighting
|
|
5267
|
+
* @type {boolean}
|
|
5268
|
+
* @memberof UpdateSceneViewRequestDataAttributes
|
|
5269
|
+
*/
|
|
5270
|
+
noDefaultLights?: boolean;
|
|
5125
5271
|
}
|
|
5126
5272
|
/**
|
|
5127
5273
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.20.
|
|
1
|
+
export declare const version = "0.20.6";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '0.20.
|
|
1
|
+
export const version = '0.20.6';
|
package/package.json
CHANGED