@vertexvis/api-client-node 0.15.6 → 0.16.0
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 +281 -252
- package/dist/cjs/api.js +152 -245
- package/dist/esm/api.d.ts +281 -252
- package/dist/esm/api.js +152 -245
- package/package.json +1 -1
package/dist/cjs/api.js
CHANGED
|
@@ -34,250 +34,109 @@ const axios_1 = __importDefault(require("axios"));
|
|
|
34
34
|
const common_1 = require("./common");
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
const base_1 = require("./base");
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
ChangeVisibilityOperationTypeEnum["ChangeVisibility"] = "change-visibility";
|
|
85
|
-
})(ChangeVisibilityOperationTypeEnum = exports.ChangeVisibilityOperationTypeEnum || (exports.ChangeVisibilityOperationTypeEnum = {}));
|
|
86
|
-
/**
|
|
87
|
-
* @export
|
|
88
|
-
* @enum {string}
|
|
89
|
-
*/
|
|
90
|
-
var ClearMaterialOperationTypeEnum;
|
|
91
|
-
(function (ClearMaterialOperationTypeEnum) {
|
|
92
|
-
ClearMaterialOperationTypeEnum["ClearMaterial"] = "clear-material";
|
|
93
|
-
})(ClearMaterialOperationTypeEnum = exports.ClearMaterialOperationTypeEnum || (exports.ClearMaterialOperationTypeEnum = {}));
|
|
94
|
-
/**
|
|
95
|
-
* @export
|
|
96
|
-
* @enum {string}
|
|
97
|
-
*/
|
|
98
|
-
var ClearTransformOperationTypeEnum;
|
|
99
|
-
(function (ClearTransformOperationTypeEnum) {
|
|
100
|
-
ClearTransformOperationTypeEnum["ClearTransform"] = "clear-transform";
|
|
101
|
-
})(ClearTransformOperationTypeEnum = exports.ClearTransformOperationTypeEnum || (exports.ClearTransformOperationTypeEnum = {}));
|
|
102
|
-
/**
|
|
103
|
-
* @export
|
|
104
|
-
* @enum {string}
|
|
105
|
-
*/
|
|
106
|
-
var DeselectOperationTypeEnum;
|
|
107
|
-
(function (DeselectOperationTypeEnum) {
|
|
108
|
-
DeselectOperationTypeEnum["Deselect"] = "deselect";
|
|
109
|
-
})(DeselectOperationTypeEnum = exports.DeselectOperationTypeEnum || (exports.DeselectOperationTypeEnum = {}));
|
|
110
|
-
/**
|
|
111
|
-
* @export
|
|
112
|
-
* @enum {string}
|
|
113
|
-
*/
|
|
114
|
-
var FileRelationshipDataTypeEnum;
|
|
115
|
-
(function (FileRelationshipDataTypeEnum) {
|
|
116
|
-
FileRelationshipDataTypeEnum["File"] = "file";
|
|
117
|
-
})(FileRelationshipDataTypeEnum = exports.FileRelationshipDataTypeEnum || (exports.FileRelationshipDataTypeEnum = {}));
|
|
118
|
-
/**
|
|
119
|
-
* @export
|
|
120
|
-
* @enum {string}
|
|
121
|
-
*/
|
|
122
|
-
var GeometrySetRelationshipDataTypeEnum;
|
|
123
|
-
(function (GeometrySetRelationshipDataTypeEnum) {
|
|
124
|
-
GeometrySetRelationshipDataTypeEnum["GeometrySet"] = "geometry-set";
|
|
125
|
-
})(GeometrySetRelationshipDataTypeEnum = exports.GeometrySetRelationshipDataTypeEnum || (exports.GeometrySetRelationshipDataTypeEnum = {}));
|
|
126
|
-
/**
|
|
127
|
-
* @export
|
|
128
|
-
* @enum {string}
|
|
129
|
-
*/
|
|
130
|
-
var MetadataValueTypeEnum;
|
|
131
|
-
(function (MetadataValueTypeEnum) {
|
|
132
|
-
MetadataValueTypeEnum["String"] = "string";
|
|
133
|
-
MetadataValueTypeEnum["Long"] = "long";
|
|
134
|
-
MetadataValueTypeEnum["Float"] = "float";
|
|
135
|
-
MetadataValueTypeEnum["Date"] = "date";
|
|
136
|
-
MetadataValueTypeEnum["Null"] = "null";
|
|
137
|
-
})(MetadataValueTypeEnum = exports.MetadataValueTypeEnum || (exports.MetadataValueTypeEnum = {}));
|
|
138
|
-
/**
|
|
139
|
-
* @export
|
|
140
|
-
* @enum {string}
|
|
141
|
-
*/
|
|
142
|
-
var PartDataRelationshipsPartRevisionsTypeEnum;
|
|
143
|
-
(function (PartDataRelationshipsPartRevisionsTypeEnum) {
|
|
144
|
-
PartDataRelationshipsPartRevisionsTypeEnum["PartRevision"] = "part-revision";
|
|
145
|
-
})(PartDataRelationshipsPartRevisionsTypeEnum = exports.PartDataRelationshipsPartRevisionsTypeEnum || (exports.PartDataRelationshipsPartRevisionsTypeEnum = {}));
|
|
146
|
-
/**
|
|
147
|
-
* @export
|
|
148
|
-
* @enum {string}
|
|
149
|
-
*/
|
|
150
|
-
var PartRelationshipDataTypeEnum;
|
|
151
|
-
(function (PartRelationshipDataTypeEnum) {
|
|
152
|
-
PartRelationshipDataTypeEnum["Part"] = "part";
|
|
153
|
-
})(PartRelationshipDataTypeEnum = exports.PartRelationshipDataTypeEnum || (exports.PartRelationshipDataTypeEnum = {}));
|
|
37
|
+
exports.BatchOperationOpEnum = {
|
|
38
|
+
Add: 'add',
|
|
39
|
+
};
|
|
40
|
+
exports.BatchOperationRefTypeEnum = {
|
|
41
|
+
Scene: 'scene',
|
|
42
|
+
};
|
|
43
|
+
exports.CameraFitTypeEnum = {
|
|
44
|
+
FitVisibleSceneItems: 'fit-visible-scene-items',
|
|
45
|
+
Reset: 'reset',
|
|
46
|
+
};
|
|
47
|
+
exports.ChangeMaterialOperationTypeEnum = {
|
|
48
|
+
ChangeMaterial: 'change-material',
|
|
49
|
+
};
|
|
50
|
+
exports.ChangeTransformOperationTypeEnum = {
|
|
51
|
+
ChangeTransform: 'change-transform',
|
|
52
|
+
};
|
|
53
|
+
exports.ChangeVisibilityOperationTypeEnum = {
|
|
54
|
+
ChangeVisibility: 'change-visibility',
|
|
55
|
+
};
|
|
56
|
+
exports.ClearMaterialOperationTypeEnum = {
|
|
57
|
+
ClearMaterial: 'clear-material',
|
|
58
|
+
};
|
|
59
|
+
exports.ClearTransformOperationTypeEnum = {
|
|
60
|
+
ClearTransform: 'clear-transform',
|
|
61
|
+
};
|
|
62
|
+
exports.DeselectOperationTypeEnum = {
|
|
63
|
+
Deselect: 'deselect',
|
|
64
|
+
};
|
|
65
|
+
exports.FileRelationshipDataTypeEnum = {
|
|
66
|
+
File: 'file',
|
|
67
|
+
};
|
|
68
|
+
exports.GeometrySetRelationshipDataTypeEnum = {
|
|
69
|
+
GeometrySet: 'geometry-set',
|
|
70
|
+
};
|
|
71
|
+
exports.MetadataValueTypeEnum = {
|
|
72
|
+
String: 'string',
|
|
73
|
+
Long: 'long',
|
|
74
|
+
Float: 'float',
|
|
75
|
+
Date: 'date',
|
|
76
|
+
Null: 'null',
|
|
77
|
+
};
|
|
78
|
+
exports.PartDataRelationshipsPartRevisionsTypeEnum = {
|
|
79
|
+
PartRevision: 'part-revision',
|
|
80
|
+
};
|
|
81
|
+
exports.PartRelationshipDataTypeEnum = {
|
|
82
|
+
Part: 'part',
|
|
83
|
+
};
|
|
154
84
|
/**
|
|
155
85
|
* Resource object type.
|
|
156
86
|
* @export
|
|
157
87
|
* @enum {string}
|
|
158
88
|
*/
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
(function (SceneRelationshipDataTypeEnum) {
|
|
211
|
-
SceneRelationshipDataTypeEnum["Scene"] = "scene";
|
|
212
|
-
})(SceneRelationshipDataTypeEnum = exports.SceneRelationshipDataTypeEnum || (exports.SceneRelationshipDataTypeEnum = {}));
|
|
213
|
-
/**
|
|
214
|
-
* @export
|
|
215
|
-
* @enum {string}
|
|
216
|
-
*/
|
|
217
|
-
var SceneViewRelationshipDataTypeEnum;
|
|
218
|
-
(function (SceneViewRelationshipDataTypeEnum) {
|
|
219
|
-
SceneViewRelationshipDataTypeEnum["SceneView"] = "scene-view";
|
|
220
|
-
})(SceneViewRelationshipDataTypeEnum = exports.SceneViewRelationshipDataTypeEnum || (exports.SceneViewRelationshipDataTypeEnum = {}));
|
|
221
|
-
/**
|
|
222
|
-
* @export
|
|
223
|
-
* @enum {string}
|
|
224
|
-
*/
|
|
225
|
-
var SceneViewStateRelationshipDataTypeEnum;
|
|
226
|
-
(function (SceneViewStateRelationshipDataTypeEnum) {
|
|
227
|
-
SceneViewStateRelationshipDataTypeEnum["SceneViewState"] = "scene-view-state";
|
|
228
|
-
})(SceneViewStateRelationshipDataTypeEnum = exports.SceneViewStateRelationshipDataTypeEnum || (exports.SceneViewStateRelationshipDataTypeEnum = {}));
|
|
229
|
-
/**
|
|
230
|
-
* @export
|
|
231
|
-
* @enum {string}
|
|
232
|
-
*/
|
|
233
|
-
var SelectOperationTypeEnum;
|
|
234
|
-
(function (SelectOperationTypeEnum) {
|
|
235
|
-
SelectOperationTypeEnum["Select"] = "select";
|
|
236
|
-
})(SelectOperationTypeEnum = exports.SelectOperationTypeEnum || (exports.SelectOperationTypeEnum = {}));
|
|
237
|
-
/**
|
|
238
|
-
* @export
|
|
239
|
-
* @enum {string}
|
|
240
|
-
*/
|
|
241
|
-
var UpdateAccountRequestDataAttributesStatusEnum;
|
|
242
|
-
(function (UpdateAccountRequestDataAttributesStatusEnum) {
|
|
243
|
-
UpdateAccountRequestDataAttributesStatusEnum["Active"] = "active";
|
|
244
|
-
UpdateAccountRequestDataAttributesStatusEnum["Disabled"] = "disabled";
|
|
245
|
-
})(UpdateAccountRequestDataAttributesStatusEnum = exports.UpdateAccountRequestDataAttributesStatusEnum || (exports.UpdateAccountRequestDataAttributesStatusEnum = {}));
|
|
246
|
-
/**
|
|
247
|
-
* @export
|
|
248
|
-
* @enum {string}
|
|
249
|
-
*/
|
|
250
|
-
var UpdateSceneRequestDataAttributesStateEnum;
|
|
251
|
-
(function (UpdateSceneRequestDataAttributesStateEnum) {
|
|
252
|
-
UpdateSceneRequestDataAttributesStateEnum["Draft"] = "draft";
|
|
253
|
-
UpdateSceneRequestDataAttributesStateEnum["Commit"] = "commit";
|
|
254
|
-
})(UpdateSceneRequestDataAttributesStateEnum = exports.UpdateSceneRequestDataAttributesStateEnum || (exports.UpdateSceneRequestDataAttributesStateEnum = {}));
|
|
255
|
-
/**
|
|
256
|
-
* @export
|
|
257
|
-
* @enum {string}
|
|
258
|
-
*/
|
|
259
|
-
var UpdateWebhookSubscriptionRequestDataAttributesStatusEnum;
|
|
260
|
-
(function (UpdateWebhookSubscriptionRequestDataAttributesStatusEnum) {
|
|
261
|
-
UpdateWebhookSubscriptionRequestDataAttributesStatusEnum["Active"] = "active";
|
|
262
|
-
UpdateWebhookSubscriptionRequestDataAttributesStatusEnum["Paused"] = "paused";
|
|
263
|
-
})(UpdateWebhookSubscriptionRequestDataAttributesStatusEnum = exports.UpdateWebhookSubscriptionRequestDataAttributesStatusEnum || (exports.UpdateWebhookSubscriptionRequestDataAttributesStatusEnum = {}));
|
|
264
|
-
/**
|
|
265
|
-
* @export
|
|
266
|
-
* @enum {string}
|
|
267
|
-
*/
|
|
268
|
-
var WebhookEventDataRelationshipsOwnerDataTypeEnum;
|
|
269
|
-
(function (WebhookEventDataRelationshipsOwnerDataTypeEnum) {
|
|
270
|
-
WebhookEventDataRelationshipsOwnerDataTypeEnum["Account"] = "account";
|
|
271
|
-
})(WebhookEventDataRelationshipsOwnerDataTypeEnum = exports.WebhookEventDataRelationshipsOwnerDataTypeEnum || (exports.WebhookEventDataRelationshipsOwnerDataTypeEnum = {}));
|
|
272
|
-
/**
|
|
273
|
-
* @export
|
|
274
|
-
* @enum {string}
|
|
275
|
-
*/
|
|
276
|
-
var WebhookSubscriptionDataAttributesStatusEnum;
|
|
277
|
-
(function (WebhookSubscriptionDataAttributesStatusEnum) {
|
|
278
|
-
WebhookSubscriptionDataAttributesStatusEnum["Active"] = "active";
|
|
279
|
-
WebhookSubscriptionDataAttributesStatusEnum["Paused"] = "paused";
|
|
280
|
-
})(WebhookSubscriptionDataAttributesStatusEnum = exports.WebhookSubscriptionDataAttributesStatusEnum || (exports.WebhookSubscriptionDataAttributesStatusEnum = {}));
|
|
89
|
+
exports.QueryAll = {
|
|
90
|
+
All: 'all',
|
|
91
|
+
};
|
|
92
|
+
exports.QueryByCollectionDataTypeEnum = {
|
|
93
|
+
QueryByCollection: 'query-by-collection',
|
|
94
|
+
};
|
|
95
|
+
exports.QueryByCollectionDataAttributesTypeEnum = {
|
|
96
|
+
And: 'and',
|
|
97
|
+
Or: 'or',
|
|
98
|
+
};
|
|
99
|
+
exports.QueryByIdDataTypeEnum = {
|
|
100
|
+
QueryById: 'query-by-id',
|
|
101
|
+
};
|
|
102
|
+
exports.QueryByIdDataAttributesTypeEnum = {
|
|
103
|
+
Id: 'id',
|
|
104
|
+
SuppliedId: 'suppliedId',
|
|
105
|
+
};
|
|
106
|
+
exports.SceneItemRelationshipDataTypeEnum = {
|
|
107
|
+
SceneItem: 'scene-item',
|
|
108
|
+
};
|
|
109
|
+
exports.SceneRelationshipDataTypeEnum = {
|
|
110
|
+
Scene: 'scene',
|
|
111
|
+
};
|
|
112
|
+
exports.SceneViewRelationshipDataTypeEnum = {
|
|
113
|
+
SceneView: 'scene-view',
|
|
114
|
+
};
|
|
115
|
+
exports.SceneViewStateRelationshipDataTypeEnum = {
|
|
116
|
+
SceneViewState: 'scene-view-state',
|
|
117
|
+
};
|
|
118
|
+
exports.SelectOperationTypeEnum = {
|
|
119
|
+
Select: 'select',
|
|
120
|
+
};
|
|
121
|
+
exports.UpdateAccountRequestDataAttributesStatusEnum = {
|
|
122
|
+
Active: 'active',
|
|
123
|
+
Disabled: 'disabled',
|
|
124
|
+
};
|
|
125
|
+
exports.UpdateSceneRequestDataAttributesStateEnum = {
|
|
126
|
+
Draft: 'draft',
|
|
127
|
+
Commit: 'commit',
|
|
128
|
+
};
|
|
129
|
+
exports.UpdateWebhookSubscriptionRequestDataAttributesStatusEnum = {
|
|
130
|
+
Active: 'active',
|
|
131
|
+
Paused: 'paused',
|
|
132
|
+
};
|
|
133
|
+
exports.WebhookEventDataRelationshipsOwnerDataTypeEnum = {
|
|
134
|
+
Account: 'account',
|
|
135
|
+
};
|
|
136
|
+
exports.WebhookSubscriptionDataAttributesStatusEnum = {
|
|
137
|
+
Active: 'active',
|
|
138
|
+
Paused: 'paused',
|
|
139
|
+
};
|
|
281
140
|
/**
|
|
282
141
|
* AccountsApi - axios parameter creator
|
|
283
142
|
* @export
|
|
@@ -2603,10 +2462,17 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2603
2462
|
* @param {Vector3} [cameraPosition] The `camera` position vector.
|
|
2604
2463
|
* @param {Vector3} [cameraUp] The `camera` up vector.
|
|
2605
2464
|
* @param {Vector3} [cameraLookAt] The `camera` lookAt vector.
|
|
2465
|
+
* @param {Vector3} [cameraPerspectivePosition] The perspective camera position.
|
|
2466
|
+
* @param {Vector3} [cameraPerspectiveLookAt] The perspective camera look at position.
|
|
2467
|
+
* @param {Vector3} [cameraPerspectiveUp] The perspective camera up vector.
|
|
2468
|
+
* @param {Vector3} [cameraOrthographicViewVector] The orthographic camera view vector.
|
|
2469
|
+
* @param {Vector3} [cameraOrthographicLookAt] The orthographic camera look at position.
|
|
2470
|
+
* @param {Vector3} [cameraOrthographicUp] The orthographic camera up vector.
|
|
2471
|
+
* @param {number} [cameraOrthographicFovHeight] The orthographic field-of-view height.
|
|
2606
2472
|
* @param {*} [options] Override http request option.
|
|
2607
2473
|
* @throws {RequiredError}
|
|
2608
2474
|
*/
|
|
2609
|
-
renderPartRevision: (id, height, width, cameraPosition, cameraUp, cameraLookAt, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2475
|
+
renderPartRevision: (id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2610
2476
|
// verify required parameter 'id' is not null or undefined
|
|
2611
2477
|
(0, common_1.assertParamExists)('renderPartRevision', 'id', id);
|
|
2612
2478
|
const localVarPath = `/part-revisions/{id}/image`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -2637,6 +2503,33 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2637
2503
|
if (cameraLookAt !== undefined) {
|
|
2638
2504
|
localVarQueryParameter['camera[lookAt]'] = cameraLookAt;
|
|
2639
2505
|
}
|
|
2506
|
+
if (cameraPerspectivePosition !== undefined) {
|
|
2507
|
+
localVarQueryParameter['camera[perspective][position]'] =
|
|
2508
|
+
cameraPerspectivePosition;
|
|
2509
|
+
}
|
|
2510
|
+
if (cameraPerspectiveLookAt !== undefined) {
|
|
2511
|
+
localVarQueryParameter['camera[perspective][lookAt]'] =
|
|
2512
|
+
cameraPerspectiveLookAt;
|
|
2513
|
+
}
|
|
2514
|
+
if (cameraPerspectiveUp !== undefined) {
|
|
2515
|
+
localVarQueryParameter['camera[perspective][up]'] = cameraPerspectiveUp;
|
|
2516
|
+
}
|
|
2517
|
+
if (cameraOrthographicViewVector !== undefined) {
|
|
2518
|
+
localVarQueryParameter['camera[orthographic][viewVector]'] =
|
|
2519
|
+
cameraOrthographicViewVector;
|
|
2520
|
+
}
|
|
2521
|
+
if (cameraOrthographicLookAt !== undefined) {
|
|
2522
|
+
localVarQueryParameter['camera[orthographic][lookAt]'] =
|
|
2523
|
+
cameraOrthographicLookAt;
|
|
2524
|
+
}
|
|
2525
|
+
if (cameraOrthographicUp !== undefined) {
|
|
2526
|
+
localVarQueryParameter['camera[orthographic][up]'] =
|
|
2527
|
+
cameraOrthographicUp;
|
|
2528
|
+
}
|
|
2529
|
+
if (cameraOrthographicFovHeight !== undefined) {
|
|
2530
|
+
localVarQueryParameter['camera[orthographic][fovHeight]'] =
|
|
2531
|
+
cameraOrthographicFovHeight;
|
|
2532
|
+
}
|
|
2640
2533
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2641
2534
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2642
2535
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2750,12 +2643,19 @@ const PartRevisionsApiFp = function (configuration) {
|
|
|
2750
2643
|
* @param {Vector3} [cameraPosition] The `camera` position vector.
|
|
2751
2644
|
* @param {Vector3} [cameraUp] The `camera` up vector.
|
|
2752
2645
|
* @param {Vector3} [cameraLookAt] The `camera` lookAt vector.
|
|
2646
|
+
* @param {Vector3} [cameraPerspectivePosition] The perspective camera position.
|
|
2647
|
+
* @param {Vector3} [cameraPerspectiveLookAt] The perspective camera look at position.
|
|
2648
|
+
* @param {Vector3} [cameraPerspectiveUp] The perspective camera up vector.
|
|
2649
|
+
* @param {Vector3} [cameraOrthographicViewVector] The orthographic camera view vector.
|
|
2650
|
+
* @param {Vector3} [cameraOrthographicLookAt] The orthographic camera look at position.
|
|
2651
|
+
* @param {Vector3} [cameraOrthographicUp] The orthographic camera up vector.
|
|
2652
|
+
* @param {number} [cameraOrthographicFovHeight] The orthographic field-of-view height.
|
|
2753
2653
|
* @param {*} [options] Override http request option.
|
|
2754
2654
|
* @throws {RequiredError}
|
|
2755
2655
|
*/
|
|
2756
|
-
renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, options) {
|
|
2656
|
+
renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight, options) {
|
|
2757
2657
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2758
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, options);
|
|
2658
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight, options);
|
|
2759
2659
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2760
2660
|
});
|
|
2761
2661
|
},
|
|
@@ -2838,12 +2738,19 @@ const PartRevisionsApiFactory = function (configuration, basePath, axios) {
|
|
|
2838
2738
|
* @param {Vector3} [cameraPosition] The `camera` position vector.
|
|
2839
2739
|
* @param {Vector3} [cameraUp] The `camera` up vector.
|
|
2840
2740
|
* @param {Vector3} [cameraLookAt] The `camera` lookAt vector.
|
|
2741
|
+
* @param {Vector3} [cameraPerspectivePosition] The perspective camera position.
|
|
2742
|
+
* @param {Vector3} [cameraPerspectiveLookAt] The perspective camera look at position.
|
|
2743
|
+
* @param {Vector3} [cameraPerspectiveUp] The perspective camera up vector.
|
|
2744
|
+
* @param {Vector3} [cameraOrthographicViewVector] The orthographic camera view vector.
|
|
2745
|
+
* @param {Vector3} [cameraOrthographicLookAt] The orthographic camera look at position.
|
|
2746
|
+
* @param {Vector3} [cameraOrthographicUp] The orthographic camera up vector.
|
|
2747
|
+
* @param {number} [cameraOrthographicFovHeight] The orthographic field-of-view height.
|
|
2841
2748
|
* @param {*} [options] Override http request option.
|
|
2842
2749
|
* @throws {RequiredError}
|
|
2843
2750
|
*/
|
|
2844
|
-
renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, options) {
|
|
2751
|
+
renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight, options) {
|
|
2845
2752
|
return localVarFp
|
|
2846
|
-
.renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, options)
|
|
2753
|
+
.renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight, options)
|
|
2847
2754
|
.then((request) => request(axios, basePath));
|
|
2848
2755
|
},
|
|
2849
2756
|
/**
|
|
@@ -2925,7 +2832,7 @@ class PartRevisionsApi extends base_1.BaseAPI {
|
|
|
2925
2832
|
*/
|
|
2926
2833
|
renderPartRevision(requestParameters, options) {
|
|
2927
2834
|
return (0, exports.PartRevisionsApiFp)(this.configuration)
|
|
2928
|
-
.renderPartRevision(requestParameters.id, requestParameters.height, requestParameters.width, requestParameters.cameraPosition, requestParameters.cameraUp, requestParameters.cameraLookAt, options)
|
|
2835
|
+
.renderPartRevision(requestParameters.id, requestParameters.height, requestParameters.width, requestParameters.cameraPosition, requestParameters.cameraUp, requestParameters.cameraLookAt, requestParameters.cameraPerspectivePosition, requestParameters.cameraPerspectiveLookAt, requestParameters.cameraPerspectiveUp, requestParameters.cameraOrthographicViewVector, requestParameters.cameraOrthographicLookAt, requestParameters.cameraOrthographicUp, requestParameters.cameraOrthographicFovHeight, options)
|
|
2929
2836
|
.then((request) => request(this.axios, this.basePath));
|
|
2930
2837
|
}
|
|
2931
2838
|
/**
|