@vertexvis/api-client-node 0.20.3 → 0.20.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api.d.ts +126 -5
- package/dist/cjs/api.js +12 -6
- package/dist/cjs/client/version.d.ts +1 -1
- package/dist/cjs/client/version.js +1 -1
- package/dist/esm/api.d.ts +126 -5
- package/dist/esm/api.js +12 -6
- 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
|
*
|
|
@@ -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
|
|
@@ -1364,6 +1377,14 @@ export interface CreateSceneItemRequestDataAttributes {
|
|
|
1364
1377
|
* @memberof CreateSceneItemRequestDataAttributes
|
|
1365
1378
|
*/
|
|
1366
1379
|
visible?: boolean;
|
|
1380
|
+
/**
|
|
1381
|
+
* Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file.
|
|
1382
|
+
* @type {{ [key: string]: MetadataStringType | MetadataFloatType | MetadataNullType; }}
|
|
1383
|
+
* @memberof CreateSceneItemRequestDataAttributes
|
|
1384
|
+
*/
|
|
1385
|
+
metadata?: {
|
|
1386
|
+
[key: string]: MetadataStringType | MetadataFloatType | MetadataNullType;
|
|
1387
|
+
};
|
|
1367
1388
|
}
|
|
1368
1389
|
/**
|
|
1369
1390
|
*
|
|
@@ -1598,6 +1619,12 @@ export interface CreateSceneViewStateRequestDataAttributes {
|
|
|
1598
1619
|
* @memberof CreateSceneViewStateRequestDataAttributes
|
|
1599
1620
|
*/
|
|
1600
1621
|
name?: string;
|
|
1622
|
+
/**
|
|
1623
|
+
* ID provided for correlation. For example, an existing ID from a PLM system.
|
|
1624
|
+
* @type {string}
|
|
1625
|
+
* @memberof CreateSceneViewStateRequestDataAttributes
|
|
1626
|
+
*/
|
|
1627
|
+
suppliedId?: string;
|
|
1601
1628
|
}
|
|
1602
1629
|
/**
|
|
1603
1630
|
*
|
|
@@ -2772,6 +2799,40 @@ export interface Part {
|
|
|
2772
2799
|
[key: string]: Link;
|
|
2773
2800
|
};
|
|
2774
2801
|
}
|
|
2802
|
+
/**
|
|
2803
|
+
* Create Part Assembly
|
|
2804
|
+
* @export
|
|
2805
|
+
* @interface PartAssemblyRelationship
|
|
2806
|
+
*/
|
|
2807
|
+
export interface PartAssemblyRelationship {
|
|
2808
|
+
/**
|
|
2809
|
+
*
|
|
2810
|
+
* @type {PartAssemblyRelationshipData}
|
|
2811
|
+
* @memberof PartAssemblyRelationship
|
|
2812
|
+
*/
|
|
2813
|
+
data: PartAssemblyRelationshipData;
|
|
2814
|
+
}
|
|
2815
|
+
/**
|
|
2816
|
+
*
|
|
2817
|
+
* @export
|
|
2818
|
+
* @interface PartAssemblyRelationshipData
|
|
2819
|
+
*/
|
|
2820
|
+
export interface PartAssemblyRelationshipData {
|
|
2821
|
+
/**
|
|
2822
|
+
*
|
|
2823
|
+
* @type {Array<PartRevisionInstance>}
|
|
2824
|
+
* @memberof PartAssemblyRelationshipData
|
|
2825
|
+
*/
|
|
2826
|
+
children: Array<PartRevisionInstance>;
|
|
2827
|
+
/**
|
|
2828
|
+
* Additional metadata about the `part` and/or `part-revision`.
|
|
2829
|
+
* @type {{ [key: string]: MetadataStringType | MetadataFloatType | MetadataNullType; }}
|
|
2830
|
+
* @memberof PartAssemblyRelationshipData
|
|
2831
|
+
*/
|
|
2832
|
+
metadata?: {
|
|
2833
|
+
[key: string]: MetadataStringType | MetadataFloatType | MetadataNullType;
|
|
2834
|
+
};
|
|
2835
|
+
}
|
|
2775
2836
|
/**
|
|
2776
2837
|
*
|
|
2777
2838
|
* @export
|
|
@@ -3022,6 +3083,37 @@ export interface PartRevisionDataRelationships {
|
|
|
3022
3083
|
*/
|
|
3023
3084
|
part?: PartRelationshipData;
|
|
3024
3085
|
}
|
|
3086
|
+
/**
|
|
3087
|
+
* A reference to an existing PartRevision. Specify one and only one of referenceId or suppliedReferenceId to refer to a revision.
|
|
3088
|
+
* @export
|
|
3089
|
+
* @interface PartRevisionInstance
|
|
3090
|
+
*/
|
|
3091
|
+
export interface PartRevisionInstance {
|
|
3092
|
+
/**
|
|
3093
|
+
* A 0-based index used for defining a consistent ordering for children of an assembly
|
|
3094
|
+
* @type {number}
|
|
3095
|
+
* @memberof PartRevisionInstance
|
|
3096
|
+
*/
|
|
3097
|
+
ordinal: number;
|
|
3098
|
+
/**
|
|
3099
|
+
* ID of the resource.
|
|
3100
|
+
* @type {string}
|
|
3101
|
+
* @memberof PartRevisionInstance
|
|
3102
|
+
*/
|
|
3103
|
+
revisionId?: string;
|
|
3104
|
+
/**
|
|
3105
|
+
*
|
|
3106
|
+
* @type {string}
|
|
3107
|
+
* @memberof PartRevisionInstance
|
|
3108
|
+
*/
|
|
3109
|
+
suppliedRevisionId?: string;
|
|
3110
|
+
/**
|
|
3111
|
+
*
|
|
3112
|
+
* @type {Matrix4}
|
|
3113
|
+
* @memberof PartRevisionInstance
|
|
3114
|
+
*/
|
|
3115
|
+
transform?: Matrix4;
|
|
3116
|
+
}
|
|
3025
3117
|
/**
|
|
3026
3118
|
*
|
|
3027
3119
|
* @export
|
|
@@ -3105,6 +3197,12 @@ export interface PerspectiveCamera {
|
|
|
3105
3197
|
* @memberof PerspectiveCamera
|
|
3106
3198
|
*/
|
|
3107
3199
|
up: Vector3;
|
|
3200
|
+
/**
|
|
3201
|
+
* A numerical floating-point value representing the field of view
|
|
3202
|
+
* @type {number}
|
|
3203
|
+
* @memberof PerspectiveCamera
|
|
3204
|
+
*/
|
|
3205
|
+
fovY?: number;
|
|
3108
3206
|
}
|
|
3109
3207
|
/**
|
|
3110
3208
|
* 2D point.
|
|
@@ -4328,6 +4426,12 @@ export interface SceneViewStateDataAttributes {
|
|
|
4328
4426
|
* @memberof SceneViewStateDataAttributes
|
|
4329
4427
|
*/
|
|
4330
4428
|
noDefaultLights?: boolean;
|
|
4429
|
+
/**
|
|
4430
|
+
*
|
|
4431
|
+
* @type {string}
|
|
4432
|
+
* @memberof SceneViewStateDataAttributes
|
|
4433
|
+
*/
|
|
4434
|
+
suppliedId?: string;
|
|
4331
4435
|
}
|
|
4332
4436
|
/**
|
|
4333
4437
|
*
|
|
@@ -4950,6 +5054,14 @@ export interface UpdateSceneItemRequestDataAttributes {
|
|
|
4950
5054
|
* @memberof UpdateSceneItemRequestDataAttributes
|
|
4951
5055
|
*/
|
|
4952
5056
|
suppliedId?: string;
|
|
5057
|
+
/**
|
|
5058
|
+
* Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file.
|
|
5059
|
+
* @type {{ [key: string]: MetadataStringType | MetadataFloatType | MetadataNullType; }}
|
|
5060
|
+
* @memberof UpdateSceneItemRequestDataAttributes
|
|
5061
|
+
*/
|
|
5062
|
+
metadata?: {
|
|
5063
|
+
[key: string]: MetadataStringType | MetadataFloatType | MetadataNullType;
|
|
5064
|
+
};
|
|
4953
5065
|
}
|
|
4954
5066
|
/**
|
|
4955
5067
|
*
|
|
@@ -8742,10 +8854,11 @@ export declare const SceneViewStatesApiAxiosParamCreator: (configuration?: Confi
|
|
|
8742
8854
|
* @param {number} [pageSize] The number of items to return.
|
|
8743
8855
|
* @param {string} [fieldsSceneViewState] Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested.
|
|
8744
8856
|
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
8857
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
8745
8858
|
* @param {*} [options] Override http request option.
|
|
8746
8859
|
* @throws {RequiredError}
|
|
8747
8860
|
*/
|
|
8748
|
-
getSceneViewStates: (id: string, pageCursor?: string | undefined, pageSize?: number | undefined, fieldsSceneViewState?: string | undefined, filterId?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8861
|
+
getSceneViewStates: (id: string, pageCursor?: string | undefined, pageSize?: number | undefined, fieldsSceneViewState?: string | undefined, filterId?: string | undefined, filterSuppliedId?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8749
8862
|
/**
|
|
8750
8863
|
* Update a `scene-view-state`.
|
|
8751
8864
|
* @param {string} id The `scene-view-state` ID.
|
|
@@ -8790,10 +8903,11 @@ export declare const SceneViewStatesApiFp: (configuration?: Configuration | unde
|
|
|
8790
8903
|
* @param {number} [pageSize] The number of items to return.
|
|
8791
8904
|
* @param {string} [fieldsSceneViewState] Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested.
|
|
8792
8905
|
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
8906
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
8793
8907
|
* @param {*} [options] Override http request option.
|
|
8794
8908
|
* @throws {RequiredError}
|
|
8795
8909
|
*/
|
|
8796
|
-
getSceneViewStates(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, fieldsSceneViewState?: string | undefined, filterId?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SceneViewStateList>>;
|
|
8910
|
+
getSceneViewStates(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, fieldsSceneViewState?: string | undefined, filterId?: string | undefined, filterSuppliedId?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SceneViewStateList>>;
|
|
8797
8911
|
/**
|
|
8798
8912
|
* Update a `scene-view-state`.
|
|
8799
8913
|
* @param {string} id The `scene-view-state` ID.
|
|
@@ -8838,10 +8952,11 @@ export declare const SceneViewStatesApiFactory: (configuration?: Configuration |
|
|
|
8838
8952
|
* @param {number} [pageSize] The number of items to return.
|
|
8839
8953
|
* @param {string} [fieldsSceneViewState] Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested.
|
|
8840
8954
|
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
8955
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
8841
8956
|
* @param {*} [options] Override http request option.
|
|
8842
8957
|
* @throws {RequiredError}
|
|
8843
8958
|
*/
|
|
8844
|
-
getSceneViewStates(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, fieldsSceneViewState?: string | undefined, filterId?: string | undefined, options?: any): AxiosPromise<SceneViewStateList>;
|
|
8959
|
+
getSceneViewStates(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, fieldsSceneViewState?: string | undefined, filterId?: string | undefined, filterSuppliedId?: string | undefined, options?: any): AxiosPromise<SceneViewStateList>;
|
|
8845
8960
|
/**
|
|
8846
8961
|
* Update a `scene-view-state`.
|
|
8847
8962
|
* @param {string} id The `scene-view-state` ID.
|
|
@@ -8938,6 +9053,12 @@ export interface SceneViewStatesApiGetSceneViewStatesRequest {
|
|
|
8938
9053
|
* @memberof SceneViewStatesApiGetSceneViewStates
|
|
8939
9054
|
*/
|
|
8940
9055
|
readonly filterId?: string;
|
|
9056
|
+
/**
|
|
9057
|
+
* Comma-separated list of supplied IDs to filter on.
|
|
9058
|
+
* @type {string}
|
|
9059
|
+
* @memberof SceneViewStatesApiGetSceneViewStates
|
|
9060
|
+
*/
|
|
9061
|
+
readonly filterSuppliedId?: string;
|
|
8941
9062
|
}
|
|
8942
9063
|
/**
|
|
8943
9064
|
* Request parameters for updateSceneViewState operation in SceneViewStatesApi.
|
package/dist/cjs/api.js
CHANGED
|
@@ -4752,10 +4752,11 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4752
4752
|
* @param {number} [pageSize] The number of items to return.
|
|
4753
4753
|
* @param {string} [fieldsSceneViewState] Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested.
|
|
4754
4754
|
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
4755
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
4755
4756
|
* @param {*} [options] Override http request option.
|
|
4756
4757
|
* @throws {RequiredError}
|
|
4757
4758
|
*/
|
|
4758
|
-
getSceneViewStates: (id, pageCursor, pageSize, fieldsSceneViewState, filterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4759
|
+
getSceneViewStates: (id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4759
4760
|
// verify required parameter 'id' is not null or undefined
|
|
4760
4761
|
(0, common_1.assertParamExists)('getSceneViewStates', 'id', id);
|
|
4761
4762
|
const localVarPath = `/scenes/{id}/scene-view-states`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4784,6 +4785,9 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4784
4785
|
if (filterId !== undefined) {
|
|
4785
4786
|
localVarQueryParameter['filter[id]'] = filterId;
|
|
4786
4787
|
}
|
|
4788
|
+
if (filterSuppliedId !== undefined) {
|
|
4789
|
+
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
4790
|
+
}
|
|
4787
4791
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4788
4792
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4789
4793
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4882,12 +4886,13 @@ const SceneViewStatesApiFp = function (configuration) {
|
|
|
4882
4886
|
* @param {number} [pageSize] The number of items to return.
|
|
4883
4887
|
* @param {string} [fieldsSceneViewState] Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested.
|
|
4884
4888
|
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
4889
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
4885
4890
|
* @param {*} [options] Override http request option.
|
|
4886
4891
|
* @throws {RequiredError}
|
|
4887
4892
|
*/
|
|
4888
|
-
getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, options) {
|
|
4893
|
+
getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId, options) {
|
|
4889
4894
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4890
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, options);
|
|
4895
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId, options);
|
|
4891
4896
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
4892
4897
|
});
|
|
4893
4898
|
},
|
|
@@ -4956,12 +4961,13 @@ const SceneViewStatesApiFactory = function (configuration, basePath, axios) {
|
|
|
4956
4961
|
* @param {number} [pageSize] The number of items to return.
|
|
4957
4962
|
* @param {string} [fieldsSceneViewState] Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested.
|
|
4958
4963
|
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
4964
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
4959
4965
|
* @param {*} [options] Override http request option.
|
|
4960
4966
|
* @throws {RequiredError}
|
|
4961
4967
|
*/
|
|
4962
|
-
getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, options) {
|
|
4968
|
+
getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId, options) {
|
|
4963
4969
|
return localVarFp
|
|
4964
|
-
.getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, options)
|
|
4970
|
+
.getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId, options)
|
|
4965
4971
|
.then((request) => request(axios, basePath));
|
|
4966
4972
|
},
|
|
4967
4973
|
/**
|
|
@@ -5031,7 +5037,7 @@ class SceneViewStatesApi extends base_1.BaseAPI {
|
|
|
5031
5037
|
*/
|
|
5032
5038
|
getSceneViewStates(requestParameters, options) {
|
|
5033
5039
|
return (0, exports.SceneViewStatesApiFp)(this.configuration)
|
|
5034
|
-
.getSceneViewStates(requestParameters.id, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.fieldsSceneViewState, requestParameters.filterId, options)
|
|
5040
|
+
.getSceneViewStates(requestParameters.id, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.fieldsSceneViewState, requestParameters.filterId, requestParameters.filterSuppliedId, options)
|
|
5035
5041
|
.then((request) => request(this.axios, this.basePath));
|
|
5036
5042
|
}
|
|
5037
5043
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.20.
|
|
1
|
+
export declare const version = "0.20.5";
|
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
|
*
|
|
@@ -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
|
|
@@ -1364,6 +1377,14 @@ export interface CreateSceneItemRequestDataAttributes {
|
|
|
1364
1377
|
* @memberof CreateSceneItemRequestDataAttributes
|
|
1365
1378
|
*/
|
|
1366
1379
|
visible?: boolean;
|
|
1380
|
+
/**
|
|
1381
|
+
* Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file.
|
|
1382
|
+
* @type {{ [key: string]: MetadataStringType | MetadataFloatType | MetadataNullType; }}
|
|
1383
|
+
* @memberof CreateSceneItemRequestDataAttributes
|
|
1384
|
+
*/
|
|
1385
|
+
metadata?: {
|
|
1386
|
+
[key: string]: MetadataStringType | MetadataFloatType | MetadataNullType;
|
|
1387
|
+
};
|
|
1367
1388
|
}
|
|
1368
1389
|
/**
|
|
1369
1390
|
*
|
|
@@ -1598,6 +1619,12 @@ export interface CreateSceneViewStateRequestDataAttributes {
|
|
|
1598
1619
|
* @memberof CreateSceneViewStateRequestDataAttributes
|
|
1599
1620
|
*/
|
|
1600
1621
|
name?: string;
|
|
1622
|
+
/**
|
|
1623
|
+
* ID provided for correlation. For example, an existing ID from a PLM system.
|
|
1624
|
+
* @type {string}
|
|
1625
|
+
* @memberof CreateSceneViewStateRequestDataAttributes
|
|
1626
|
+
*/
|
|
1627
|
+
suppliedId?: string;
|
|
1601
1628
|
}
|
|
1602
1629
|
/**
|
|
1603
1630
|
*
|
|
@@ -2772,6 +2799,40 @@ export interface Part {
|
|
|
2772
2799
|
[key: string]: Link;
|
|
2773
2800
|
};
|
|
2774
2801
|
}
|
|
2802
|
+
/**
|
|
2803
|
+
* Create Part Assembly
|
|
2804
|
+
* @export
|
|
2805
|
+
* @interface PartAssemblyRelationship
|
|
2806
|
+
*/
|
|
2807
|
+
export interface PartAssemblyRelationship {
|
|
2808
|
+
/**
|
|
2809
|
+
*
|
|
2810
|
+
* @type {PartAssemblyRelationshipData}
|
|
2811
|
+
* @memberof PartAssemblyRelationship
|
|
2812
|
+
*/
|
|
2813
|
+
data: PartAssemblyRelationshipData;
|
|
2814
|
+
}
|
|
2815
|
+
/**
|
|
2816
|
+
*
|
|
2817
|
+
* @export
|
|
2818
|
+
* @interface PartAssemblyRelationshipData
|
|
2819
|
+
*/
|
|
2820
|
+
export interface PartAssemblyRelationshipData {
|
|
2821
|
+
/**
|
|
2822
|
+
*
|
|
2823
|
+
* @type {Array<PartRevisionInstance>}
|
|
2824
|
+
* @memberof PartAssemblyRelationshipData
|
|
2825
|
+
*/
|
|
2826
|
+
children: Array<PartRevisionInstance>;
|
|
2827
|
+
/**
|
|
2828
|
+
* Additional metadata about the `part` and/or `part-revision`.
|
|
2829
|
+
* @type {{ [key: string]: MetadataStringType | MetadataFloatType | MetadataNullType; }}
|
|
2830
|
+
* @memberof PartAssemblyRelationshipData
|
|
2831
|
+
*/
|
|
2832
|
+
metadata?: {
|
|
2833
|
+
[key: string]: MetadataStringType | MetadataFloatType | MetadataNullType;
|
|
2834
|
+
};
|
|
2835
|
+
}
|
|
2775
2836
|
/**
|
|
2776
2837
|
*
|
|
2777
2838
|
* @export
|
|
@@ -3022,6 +3083,37 @@ export interface PartRevisionDataRelationships {
|
|
|
3022
3083
|
*/
|
|
3023
3084
|
part?: PartRelationshipData;
|
|
3024
3085
|
}
|
|
3086
|
+
/**
|
|
3087
|
+
* A reference to an existing PartRevision. Specify one and only one of referenceId or suppliedReferenceId to refer to a revision.
|
|
3088
|
+
* @export
|
|
3089
|
+
* @interface PartRevisionInstance
|
|
3090
|
+
*/
|
|
3091
|
+
export interface PartRevisionInstance {
|
|
3092
|
+
/**
|
|
3093
|
+
* A 0-based index used for defining a consistent ordering for children of an assembly
|
|
3094
|
+
* @type {number}
|
|
3095
|
+
* @memberof PartRevisionInstance
|
|
3096
|
+
*/
|
|
3097
|
+
ordinal: number;
|
|
3098
|
+
/**
|
|
3099
|
+
* ID of the resource.
|
|
3100
|
+
* @type {string}
|
|
3101
|
+
* @memberof PartRevisionInstance
|
|
3102
|
+
*/
|
|
3103
|
+
revisionId?: string;
|
|
3104
|
+
/**
|
|
3105
|
+
*
|
|
3106
|
+
* @type {string}
|
|
3107
|
+
* @memberof PartRevisionInstance
|
|
3108
|
+
*/
|
|
3109
|
+
suppliedRevisionId?: string;
|
|
3110
|
+
/**
|
|
3111
|
+
*
|
|
3112
|
+
* @type {Matrix4}
|
|
3113
|
+
* @memberof PartRevisionInstance
|
|
3114
|
+
*/
|
|
3115
|
+
transform?: Matrix4;
|
|
3116
|
+
}
|
|
3025
3117
|
/**
|
|
3026
3118
|
*
|
|
3027
3119
|
* @export
|
|
@@ -3105,6 +3197,12 @@ export interface PerspectiveCamera {
|
|
|
3105
3197
|
* @memberof PerspectiveCamera
|
|
3106
3198
|
*/
|
|
3107
3199
|
up: Vector3;
|
|
3200
|
+
/**
|
|
3201
|
+
* A numerical floating-point value representing the field of view
|
|
3202
|
+
* @type {number}
|
|
3203
|
+
* @memberof PerspectiveCamera
|
|
3204
|
+
*/
|
|
3205
|
+
fovY?: number;
|
|
3108
3206
|
}
|
|
3109
3207
|
/**
|
|
3110
3208
|
* 2D point.
|
|
@@ -4328,6 +4426,12 @@ export interface SceneViewStateDataAttributes {
|
|
|
4328
4426
|
* @memberof SceneViewStateDataAttributes
|
|
4329
4427
|
*/
|
|
4330
4428
|
noDefaultLights?: boolean;
|
|
4429
|
+
/**
|
|
4430
|
+
*
|
|
4431
|
+
* @type {string}
|
|
4432
|
+
* @memberof SceneViewStateDataAttributes
|
|
4433
|
+
*/
|
|
4434
|
+
suppliedId?: string;
|
|
4331
4435
|
}
|
|
4332
4436
|
/**
|
|
4333
4437
|
*
|
|
@@ -4950,6 +5054,14 @@ export interface UpdateSceneItemRequestDataAttributes {
|
|
|
4950
5054
|
* @memberof UpdateSceneItemRequestDataAttributes
|
|
4951
5055
|
*/
|
|
4952
5056
|
suppliedId?: string;
|
|
5057
|
+
/**
|
|
5058
|
+
* Additional metadata for the scene-item. This metadata will take precedence over any metadata that belongs to the part file.
|
|
5059
|
+
* @type {{ [key: string]: MetadataStringType | MetadataFloatType | MetadataNullType; }}
|
|
5060
|
+
* @memberof UpdateSceneItemRequestDataAttributes
|
|
5061
|
+
*/
|
|
5062
|
+
metadata?: {
|
|
5063
|
+
[key: string]: MetadataStringType | MetadataFloatType | MetadataNullType;
|
|
5064
|
+
};
|
|
4953
5065
|
}
|
|
4954
5066
|
/**
|
|
4955
5067
|
*
|
|
@@ -8742,10 +8854,11 @@ export declare const SceneViewStatesApiAxiosParamCreator: (configuration?: Confi
|
|
|
8742
8854
|
* @param {number} [pageSize] The number of items to return.
|
|
8743
8855
|
* @param {string} [fieldsSceneViewState] Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested.
|
|
8744
8856
|
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
8857
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
8745
8858
|
* @param {*} [options] Override http request option.
|
|
8746
8859
|
* @throws {RequiredError}
|
|
8747
8860
|
*/
|
|
8748
|
-
getSceneViewStates: (id: string, pageCursor?: string | undefined, pageSize?: number | undefined, fieldsSceneViewState?: string | undefined, filterId?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8861
|
+
getSceneViewStates: (id: string, pageCursor?: string | undefined, pageSize?: number | undefined, fieldsSceneViewState?: string | undefined, filterId?: string | undefined, filterSuppliedId?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8749
8862
|
/**
|
|
8750
8863
|
* Update a `scene-view-state`.
|
|
8751
8864
|
* @param {string} id The `scene-view-state` ID.
|
|
@@ -8790,10 +8903,11 @@ export declare const SceneViewStatesApiFp: (configuration?: Configuration | unde
|
|
|
8790
8903
|
* @param {number} [pageSize] The number of items to return.
|
|
8791
8904
|
* @param {string} [fieldsSceneViewState] Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested.
|
|
8792
8905
|
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
8906
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
8793
8907
|
* @param {*} [options] Override http request option.
|
|
8794
8908
|
* @throws {RequiredError}
|
|
8795
8909
|
*/
|
|
8796
|
-
getSceneViewStates(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, fieldsSceneViewState?: string | undefined, filterId?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SceneViewStateList>>;
|
|
8910
|
+
getSceneViewStates(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, fieldsSceneViewState?: string | undefined, filterId?: string | undefined, filterSuppliedId?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SceneViewStateList>>;
|
|
8797
8911
|
/**
|
|
8798
8912
|
* Update a `scene-view-state`.
|
|
8799
8913
|
* @param {string} id The `scene-view-state` ID.
|
|
@@ -8838,10 +8952,11 @@ export declare const SceneViewStatesApiFactory: (configuration?: Configuration |
|
|
|
8838
8952
|
* @param {number} [pageSize] The number of items to return.
|
|
8839
8953
|
* @param {string} [fieldsSceneViewState] Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested.
|
|
8840
8954
|
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
8955
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
8841
8956
|
* @param {*} [options] Override http request option.
|
|
8842
8957
|
* @throws {RequiredError}
|
|
8843
8958
|
*/
|
|
8844
|
-
getSceneViewStates(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, fieldsSceneViewState?: string | undefined, filterId?: string | undefined, options?: any): AxiosPromise<SceneViewStateList>;
|
|
8959
|
+
getSceneViewStates(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, fieldsSceneViewState?: string | undefined, filterId?: string | undefined, filterSuppliedId?: string | undefined, options?: any): AxiosPromise<SceneViewStateList>;
|
|
8845
8960
|
/**
|
|
8846
8961
|
* Update a `scene-view-state`.
|
|
8847
8962
|
* @param {string} id The `scene-view-state` ID.
|
|
@@ -8938,6 +9053,12 @@ export interface SceneViewStatesApiGetSceneViewStatesRequest {
|
|
|
8938
9053
|
* @memberof SceneViewStatesApiGetSceneViewStates
|
|
8939
9054
|
*/
|
|
8940
9055
|
readonly filterId?: string;
|
|
9056
|
+
/**
|
|
9057
|
+
* Comma-separated list of supplied IDs to filter on.
|
|
9058
|
+
* @type {string}
|
|
9059
|
+
* @memberof SceneViewStatesApiGetSceneViewStates
|
|
9060
|
+
*/
|
|
9061
|
+
readonly filterSuppliedId?: string;
|
|
8941
9062
|
}
|
|
8942
9063
|
/**
|
|
8943
9064
|
* Request parameters for updateSceneViewState operation in SceneViewStatesApi.
|
package/dist/esm/api.js
CHANGED
|
@@ -4692,10 +4692,11 @@ export const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4692
4692
|
* @param {number} [pageSize] The number of items to return.
|
|
4693
4693
|
* @param {string} [fieldsSceneViewState] Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested.
|
|
4694
4694
|
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
4695
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
4695
4696
|
* @param {*} [options] Override http request option.
|
|
4696
4697
|
* @throws {RequiredError}
|
|
4697
4698
|
*/
|
|
4698
|
-
getSceneViewStates: (id, pageCursor, pageSize, fieldsSceneViewState, filterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4699
|
+
getSceneViewStates: (id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4699
4700
|
// verify required parameter 'id' is not null or undefined
|
|
4700
4701
|
assertParamExists('getSceneViewStates', 'id', id);
|
|
4701
4702
|
const localVarPath = `/scenes/{id}/scene-view-states`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4724,6 +4725,9 @@ export const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4724
4725
|
if (filterId !== undefined) {
|
|
4725
4726
|
localVarQueryParameter['filter[id]'] = filterId;
|
|
4726
4727
|
}
|
|
4728
|
+
if (filterSuppliedId !== undefined) {
|
|
4729
|
+
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
4730
|
+
}
|
|
4727
4731
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4728
4732
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4729
4733
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4821,12 +4825,13 @@ export const SceneViewStatesApiFp = function (configuration) {
|
|
|
4821
4825
|
* @param {number} [pageSize] The number of items to return.
|
|
4822
4826
|
* @param {string} [fieldsSceneViewState] Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested.
|
|
4823
4827
|
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
4828
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
4824
4829
|
* @param {*} [options] Override http request option.
|
|
4825
4830
|
* @throws {RequiredError}
|
|
4826
4831
|
*/
|
|
4827
|
-
getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, options) {
|
|
4832
|
+
getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId, options) {
|
|
4828
4833
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4829
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, options);
|
|
4834
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId, options);
|
|
4830
4835
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4831
4836
|
});
|
|
4832
4837
|
},
|
|
@@ -4894,12 +4899,13 @@ export const SceneViewStatesApiFactory = function (configuration, basePath, axio
|
|
|
4894
4899
|
* @param {number} [pageSize] The number of items to return.
|
|
4895
4900
|
* @param {string} [fieldsSceneViewState] Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested.
|
|
4896
4901
|
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
4902
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
4897
4903
|
* @param {*} [options] Override http request option.
|
|
4898
4904
|
* @throws {RequiredError}
|
|
4899
4905
|
*/
|
|
4900
|
-
getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, options) {
|
|
4906
|
+
getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId, options) {
|
|
4901
4907
|
return localVarFp
|
|
4902
|
-
.getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, options)
|
|
4908
|
+
.getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId, options)
|
|
4903
4909
|
.then((request) => request(axios, basePath));
|
|
4904
4910
|
},
|
|
4905
4911
|
/**
|
|
@@ -4968,7 +4974,7 @@ export class SceneViewStatesApi extends BaseAPI {
|
|
|
4968
4974
|
*/
|
|
4969
4975
|
getSceneViewStates(requestParameters, options) {
|
|
4970
4976
|
return SceneViewStatesApiFp(this.configuration)
|
|
4971
|
-
.getSceneViewStates(requestParameters.id, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.fieldsSceneViewState, requestParameters.filterId, options)
|
|
4977
|
+
.getSceneViewStates(requestParameters.id, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.fieldsSceneViewState, requestParameters.filterId, requestParameters.filterSuppliedId, options)
|
|
4972
4978
|
.then((request) => request(this.axios, this.basePath));
|
|
4973
4979
|
}
|
|
4974
4980
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.20.
|
|
1
|
+
export declare const version = "0.20.5";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '0.20.
|
|
1
|
+
export const version = '0.20.5';
|
package/package.json
CHANGED