@vertexvis/api-client-node 0.21.3 → 0.22.1
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 +651 -73
- package/dist/cjs/api.js +300 -10
- package/dist/cjs/base.d.ts +1 -1
- package/dist/cjs/base.js +1 -1
- package/dist/cjs/client/helpers/index.d.ts +1 -1
- package/dist/cjs/client/helpers/index.js +1 -1
- package/dist/cjs/client/helpers/scenes.d.ts +6 -0
- package/dist/cjs/client/helpers/scenes.js +5 -4
- package/dist/cjs/client/index.d.ts +1 -1
- package/dist/cjs/client/index.js +1 -1
- package/dist/cjs/client/version.d.ts +1 -1
- package/dist/cjs/client/version.js +1 -1
- package/dist/cjs/common.d.ts +1 -1
- package/dist/cjs/common.js +1 -1
- package/dist/cjs/configuration.d.ts +1 -1
- package/dist/cjs/configuration.js +1 -1
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/api.d.ts +651 -73
- package/dist/esm/api.js +293 -7
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/client/helpers/index.d.ts +1 -1
- package/dist/esm/client/helpers/index.js +1 -1
- package/dist/esm/client/helpers/scenes.d.ts +6 -0
- package/dist/esm/client/helpers/scenes.js +2 -2
- package/dist/esm/client/index.d.ts +1 -1
- package/dist/esm/client/index.js +1 -1
- package/dist/esm/client/version.d.ts +1 -1
- package/dist/esm/client/version.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +10 -10
package/dist/esm/api.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Vertex Platform API
|
|
5
|
-
* The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples
|
|
5
|
+
* The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: support@vertexvis.com
|
|
@@ -36,19 +36,25 @@ export const CameraFitTypeEnum = {
|
|
|
36
36
|
FitVisibleSceneItems: 'fit-visible-scene-items',
|
|
37
37
|
Reset: 'reset',
|
|
38
38
|
};
|
|
39
|
-
export const
|
|
39
|
+
export const ChangeMaterialOpTypeEnum = {
|
|
40
40
|
ChangeMaterial: 'change-material',
|
|
41
41
|
};
|
|
42
|
-
export const
|
|
42
|
+
export const ChangeTransformOpTypeEnum = {
|
|
43
43
|
ChangeTransform: 'change-transform',
|
|
44
44
|
};
|
|
45
|
-
export const
|
|
45
|
+
export const ChangeVisibilityOpTypeEnum = {
|
|
46
46
|
ChangeVisibility: 'change-visibility',
|
|
47
47
|
};
|
|
48
|
-
export const
|
|
48
|
+
export const ClearMaterialOpTypeEnum = {
|
|
49
49
|
ClearMaterial: 'clear-material',
|
|
50
50
|
};
|
|
51
|
-
export const
|
|
51
|
+
export const ClearRenOpTypeEnum = {
|
|
52
|
+
ClearRendition: 'clear-rendition',
|
|
53
|
+
};
|
|
54
|
+
export const ClearRepOpTypeEnum = {
|
|
55
|
+
ClearRepresentation: 'clear-representation',
|
|
56
|
+
};
|
|
57
|
+
export const ClearTransformOpTypeEnum = {
|
|
52
58
|
ClearTransform: 'clear-transform',
|
|
53
59
|
};
|
|
54
60
|
export const DeselectOperationTypeEnum = {
|
|
@@ -72,6 +78,9 @@ export const PartDataRelationshipsPartRevisionsTypeEnum = {
|
|
|
72
78
|
export const PartRelationshipDataTypeEnum = {
|
|
73
79
|
Part: 'part',
|
|
74
80
|
};
|
|
81
|
+
export const PartRenditionRelationshipDataTypeEnum = {
|
|
82
|
+
PartRendition: 'part-rendition',
|
|
83
|
+
};
|
|
75
84
|
/**
|
|
76
85
|
* Resource object type.
|
|
77
86
|
* @export
|
|
@@ -106,7 +115,7 @@ export const SceneViewRelationshipDataTypeEnum = {
|
|
|
106
115
|
export const SceneViewStateRelationshipDataTypeEnum = {
|
|
107
116
|
SceneViewState: 'scene-view-state',
|
|
108
117
|
};
|
|
109
|
-
export const
|
|
118
|
+
export const SelectOpTypeEnum = {
|
|
110
119
|
Select: 'select',
|
|
111
120
|
};
|
|
112
121
|
export const UpdateAccountRequestDataAttributesStatusEnum = {
|
|
@@ -121,6 +130,25 @@ export const UpdateWebhookSubscriptionRequestDataAttributesStatusEnum = {
|
|
|
121
130
|
Active: 'active',
|
|
122
131
|
Paused: 'paused',
|
|
123
132
|
};
|
|
133
|
+
export const ViewDefaultRenOpTypeEnum = {
|
|
134
|
+
ViewDefaultRendition: 'view-default-rendition',
|
|
135
|
+
};
|
|
136
|
+
export const ViewRenByIdOpTypeEnum = {
|
|
137
|
+
ViewRenditionById: 'view-rendition-by-id',
|
|
138
|
+
};
|
|
139
|
+
export const ViewRenBySuppliedIdOpTypeEnum = {
|
|
140
|
+
ViewRenditionBySuppliedId: 'view-rendition-by-supplied-id',
|
|
141
|
+
};
|
|
142
|
+
export const ViewRepByIdOpTypeEnum = {
|
|
143
|
+
ViewRepresentationById: 'view-representation-by-id',
|
|
144
|
+
};
|
|
145
|
+
export const ViewRepByPredefinedIdOpTypeEnum = {
|
|
146
|
+
ViewRepresentationByPredefinedId: 'view-representation-by-predefined-id',
|
|
147
|
+
};
|
|
148
|
+
export const ViewRepByPredefinedIdOpIdEnum = {
|
|
149
|
+
Empty: 'empty',
|
|
150
|
+
EntirePart: 'entire-part',
|
|
151
|
+
};
|
|
124
152
|
export const WebhookEventDataRelationshipsOwnerDataTypeEnum = {
|
|
125
153
|
Account: 'account',
|
|
126
154
|
};
|
|
@@ -2536,6 +2564,264 @@ export class Oauth2Api extends BaseAPI {
|
|
|
2536
2564
|
.then((request) => request(this.axios, this.basePath));
|
|
2537
2565
|
}
|
|
2538
2566
|
}
|
|
2567
|
+
/**
|
|
2568
|
+
* PartRenditionsApi - axios parameter creator
|
|
2569
|
+
* @export
|
|
2570
|
+
*/
|
|
2571
|
+
export const PartRenditionsApiAxiosParamCreator = function (configuration) {
|
|
2572
|
+
return {
|
|
2573
|
+
/**
|
|
2574
|
+
*
|
|
2575
|
+
* @param {string} id The `part-revision` ID.
|
|
2576
|
+
* @param {CreatePartRenditionRequest} createPartRenditionRequest
|
|
2577
|
+
* @param {*} [options] Override http request option.
|
|
2578
|
+
* @throws {RequiredError}
|
|
2579
|
+
*/
|
|
2580
|
+
createPartRendition: (id, createPartRenditionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2581
|
+
var _a;
|
|
2582
|
+
// verify required parameter 'id' is not null or undefined
|
|
2583
|
+
assertParamExists('createPartRendition', 'id', id);
|
|
2584
|
+
// verify required parameter 'createPartRenditionRequest' is not null or undefined
|
|
2585
|
+
assertParamExists('createPartRendition', 'createPartRenditionRequest', createPartRenditionRequest);
|
|
2586
|
+
const localVarPath = `/part-revisions/{id}/part-renditions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
2587
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2588
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2589
|
+
let baseOptions;
|
|
2590
|
+
if (configuration) {
|
|
2591
|
+
baseOptions = configuration.baseOptions;
|
|
2592
|
+
}
|
|
2593
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2594
|
+
const localVarHeaderParameter = {};
|
|
2595
|
+
const localVarQueryParameter = {};
|
|
2596
|
+
// authentication OAuth2 required
|
|
2597
|
+
// oauth required
|
|
2598
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2599
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2600
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2601
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
2602
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2603
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createPartRenditionRequest, localVarRequestOptions, configuration);
|
|
2604
|
+
return {
|
|
2605
|
+
url: toPathString(localVarUrlObj),
|
|
2606
|
+
options: localVarRequestOptions,
|
|
2607
|
+
};
|
|
2608
|
+
}),
|
|
2609
|
+
/**
|
|
2610
|
+
* Get a `part-rendition` by ID.
|
|
2611
|
+
* @param {string} id The `part-rendition` ID.
|
|
2612
|
+
* @param {*} [options] Override http request option.
|
|
2613
|
+
* @throws {RequiredError}
|
|
2614
|
+
*/
|
|
2615
|
+
getPartRendition: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2616
|
+
var _b;
|
|
2617
|
+
// verify required parameter 'id' is not null or undefined
|
|
2618
|
+
assertParamExists('getPartRendition', 'id', id);
|
|
2619
|
+
const localVarPath = `/part-renditions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
2620
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2621
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2622
|
+
let baseOptions;
|
|
2623
|
+
if (configuration) {
|
|
2624
|
+
baseOptions = configuration.baseOptions;
|
|
2625
|
+
}
|
|
2626
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2627
|
+
const localVarHeaderParameter = {};
|
|
2628
|
+
const localVarQueryParameter = {};
|
|
2629
|
+
// authentication OAuth2 required
|
|
2630
|
+
// oauth required
|
|
2631
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2632
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2633
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
2634
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2635
|
+
return {
|
|
2636
|
+
url: toPathString(localVarUrlObj),
|
|
2637
|
+
options: localVarRequestOptions,
|
|
2638
|
+
};
|
|
2639
|
+
}),
|
|
2640
|
+
/**
|
|
2641
|
+
* Get `part-renditions` with an optional filter.
|
|
2642
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
2643
|
+
* @param {number} [pageSize] The number of items to return.
|
|
2644
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
2645
|
+
* @param {string} [filterRevisionId] A revision ID to filter on.
|
|
2646
|
+
* @param {*} [options] Override http request option.
|
|
2647
|
+
* @throws {RequiredError}
|
|
2648
|
+
*/
|
|
2649
|
+
getPartRenditions: (pageCursor, pageSize, filterSuppliedId, filterRevisionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2650
|
+
var _c;
|
|
2651
|
+
const localVarPath = `/part-renditions`;
|
|
2652
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2653
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2654
|
+
let baseOptions;
|
|
2655
|
+
if (configuration) {
|
|
2656
|
+
baseOptions = configuration.baseOptions;
|
|
2657
|
+
}
|
|
2658
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2659
|
+
const localVarHeaderParameter = {};
|
|
2660
|
+
const localVarQueryParameter = {};
|
|
2661
|
+
// authentication OAuth2 required
|
|
2662
|
+
// oauth required
|
|
2663
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2664
|
+
if (pageCursor !== undefined) {
|
|
2665
|
+
localVarQueryParameter['page[cursor]'] = pageCursor;
|
|
2666
|
+
}
|
|
2667
|
+
if (pageSize !== undefined) {
|
|
2668
|
+
localVarQueryParameter['page[size]'] = pageSize;
|
|
2669
|
+
}
|
|
2670
|
+
if (filterSuppliedId !== undefined) {
|
|
2671
|
+
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
2672
|
+
}
|
|
2673
|
+
if (filterRevisionId !== undefined) {
|
|
2674
|
+
localVarQueryParameter['filter[revisionId]'] = filterRevisionId;
|
|
2675
|
+
}
|
|
2676
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2677
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
2678
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2679
|
+
return {
|
|
2680
|
+
url: toPathString(localVarUrlObj),
|
|
2681
|
+
options: localVarRequestOptions,
|
|
2682
|
+
};
|
|
2683
|
+
}),
|
|
2684
|
+
};
|
|
2685
|
+
};
|
|
2686
|
+
/**
|
|
2687
|
+
* PartRenditionsApi - functional programming interface
|
|
2688
|
+
* @export
|
|
2689
|
+
*/
|
|
2690
|
+
export const PartRenditionsApiFp = function (configuration) {
|
|
2691
|
+
const localVarAxiosParamCreator = PartRenditionsApiAxiosParamCreator(configuration);
|
|
2692
|
+
return {
|
|
2693
|
+
/**
|
|
2694
|
+
*
|
|
2695
|
+
* @param {string} id The `part-revision` ID.
|
|
2696
|
+
* @param {CreatePartRenditionRequest} createPartRenditionRequest
|
|
2697
|
+
* @param {*} [options] Override http request option.
|
|
2698
|
+
* @throws {RequiredError}
|
|
2699
|
+
*/
|
|
2700
|
+
createPartRendition(id, createPartRenditionRequest, options) {
|
|
2701
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2702
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createPartRendition(id, createPartRenditionRequest, options);
|
|
2703
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2704
|
+
});
|
|
2705
|
+
},
|
|
2706
|
+
/**
|
|
2707
|
+
* Get a `part-rendition` by ID.
|
|
2708
|
+
* @param {string} id The `part-rendition` ID.
|
|
2709
|
+
* @param {*} [options] Override http request option.
|
|
2710
|
+
* @throws {RequiredError}
|
|
2711
|
+
*/
|
|
2712
|
+
getPartRendition(id, options) {
|
|
2713
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2714
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPartRendition(id, options);
|
|
2715
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2716
|
+
});
|
|
2717
|
+
},
|
|
2718
|
+
/**
|
|
2719
|
+
* Get `part-renditions` with an optional filter.
|
|
2720
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
2721
|
+
* @param {number} [pageSize] The number of items to return.
|
|
2722
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
2723
|
+
* @param {string} [filterRevisionId] A revision ID to filter on.
|
|
2724
|
+
* @param {*} [options] Override http request option.
|
|
2725
|
+
* @throws {RequiredError}
|
|
2726
|
+
*/
|
|
2727
|
+
getPartRenditions(pageCursor, pageSize, filterSuppliedId, filterRevisionId, options) {
|
|
2728
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2729
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPartRenditions(pageCursor, pageSize, filterSuppliedId, filterRevisionId, options);
|
|
2730
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2731
|
+
});
|
|
2732
|
+
},
|
|
2733
|
+
};
|
|
2734
|
+
};
|
|
2735
|
+
/**
|
|
2736
|
+
* PartRenditionsApi - factory interface
|
|
2737
|
+
* @export
|
|
2738
|
+
*/
|
|
2739
|
+
export const PartRenditionsApiFactory = function (configuration, basePath, axios) {
|
|
2740
|
+
const localVarFp = PartRenditionsApiFp(configuration);
|
|
2741
|
+
return {
|
|
2742
|
+
/**
|
|
2743
|
+
*
|
|
2744
|
+
* @param {string} id The `part-revision` ID.
|
|
2745
|
+
* @param {CreatePartRenditionRequest} createPartRenditionRequest
|
|
2746
|
+
* @param {*} [options] Override http request option.
|
|
2747
|
+
* @throws {RequiredError}
|
|
2748
|
+
*/
|
|
2749
|
+
createPartRendition(id, createPartRenditionRequest, options) {
|
|
2750
|
+
return localVarFp
|
|
2751
|
+
.createPartRendition(id, createPartRenditionRequest, options)
|
|
2752
|
+
.then((request) => request(axios, basePath));
|
|
2753
|
+
},
|
|
2754
|
+
/**
|
|
2755
|
+
* Get a `part-rendition` by ID.
|
|
2756
|
+
* @param {string} id The `part-rendition` ID.
|
|
2757
|
+
* @param {*} [options] Override http request option.
|
|
2758
|
+
* @throws {RequiredError}
|
|
2759
|
+
*/
|
|
2760
|
+
getPartRendition(id, options) {
|
|
2761
|
+
return localVarFp
|
|
2762
|
+
.getPartRendition(id, options)
|
|
2763
|
+
.then((request) => request(axios, basePath));
|
|
2764
|
+
},
|
|
2765
|
+
/**
|
|
2766
|
+
* Get `part-renditions` with an optional filter.
|
|
2767
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
2768
|
+
* @param {number} [pageSize] The number of items to return.
|
|
2769
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
2770
|
+
* @param {string} [filterRevisionId] A revision ID to filter on.
|
|
2771
|
+
* @param {*} [options] Override http request option.
|
|
2772
|
+
* @throws {RequiredError}
|
|
2773
|
+
*/
|
|
2774
|
+
getPartRenditions(pageCursor, pageSize, filterSuppliedId, filterRevisionId, options) {
|
|
2775
|
+
return localVarFp
|
|
2776
|
+
.getPartRenditions(pageCursor, pageSize, filterSuppliedId, filterRevisionId, options)
|
|
2777
|
+
.then((request) => request(axios, basePath));
|
|
2778
|
+
},
|
|
2779
|
+
};
|
|
2780
|
+
};
|
|
2781
|
+
/**
|
|
2782
|
+
* PartRenditionsApi - object-oriented interface
|
|
2783
|
+
* @export
|
|
2784
|
+
* @class PartRenditionsApi
|
|
2785
|
+
* @extends {BaseAPI}
|
|
2786
|
+
*/
|
|
2787
|
+
export class PartRenditionsApi extends BaseAPI {
|
|
2788
|
+
/**
|
|
2789
|
+
*
|
|
2790
|
+
* @param {PartRenditionsApiCreatePartRenditionRequest} requestParameters Request parameters.
|
|
2791
|
+
* @param {*} [options] Override http request option.
|
|
2792
|
+
* @throws {RequiredError}
|
|
2793
|
+
* @memberof PartRenditionsApi
|
|
2794
|
+
*/
|
|
2795
|
+
createPartRendition(requestParameters, options) {
|
|
2796
|
+
return PartRenditionsApiFp(this.configuration)
|
|
2797
|
+
.createPartRendition(requestParameters.id, requestParameters.createPartRenditionRequest, options)
|
|
2798
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2799
|
+
}
|
|
2800
|
+
/**
|
|
2801
|
+
* Get a `part-rendition` by ID.
|
|
2802
|
+
* @param {PartRenditionsApiGetPartRenditionRequest} requestParameters Request parameters.
|
|
2803
|
+
* @param {*} [options] Override http request option.
|
|
2804
|
+
* @throws {RequiredError}
|
|
2805
|
+
* @memberof PartRenditionsApi
|
|
2806
|
+
*/
|
|
2807
|
+
getPartRendition(requestParameters, options) {
|
|
2808
|
+
return PartRenditionsApiFp(this.configuration)
|
|
2809
|
+
.getPartRendition(requestParameters.id, options)
|
|
2810
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2811
|
+
}
|
|
2812
|
+
/**
|
|
2813
|
+
* Get `part-renditions` with an optional filter.
|
|
2814
|
+
* @param {PartRenditionsApiGetPartRenditionsRequest} requestParameters Request parameters.
|
|
2815
|
+
* @param {*} [options] Override http request option.
|
|
2816
|
+
* @throws {RequiredError}
|
|
2817
|
+
* @memberof PartRenditionsApi
|
|
2818
|
+
*/
|
|
2819
|
+
getPartRenditions(requestParameters = {}, options) {
|
|
2820
|
+
return PartRenditionsApiFp(this.configuration)
|
|
2821
|
+
.getPartRenditions(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterSuppliedId, requestParameters.filterRevisionId, options)
|
|
2822
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2823
|
+
}
|
|
2824
|
+
}
|
|
2539
2825
|
/**
|
|
2540
2826
|
* PartRevisionsApi - axios parameter creator
|
|
2541
2827
|
* @export
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vertex Platform API
|
|
3
|
-
* The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples
|
|
3
|
+
* The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
* Contact: support@vertexvis.com
|
package/dist/esm/base.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Vertex Platform API
|
|
5
|
-
* The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples
|
|
5
|
+
* The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: support@vertexvis.com
|
|
@@ -92,6 +92,12 @@ export interface QueuedSceneItem {
|
|
|
92
92
|
* Create a scene with scene items.
|
|
93
93
|
*/
|
|
94
94
|
export declare function createSceneAndSceneItems({ client, createSceneItemReqs, createSceneReq, failFast, onMsg, onProgress, parallelism, polling, returnQueued, verbose, }: CreateSceneAndSceneItemsReq): Promise<CreateSceneAndSceneItemsRes>;
|
|
95
|
+
/**
|
|
96
|
+
* This async function takes a long list of create scene item data and handles
|
|
97
|
+
* batch based scene item creation. Batch operation results and errors are
|
|
98
|
+
* returned to the caller.
|
|
99
|
+
*/
|
|
100
|
+
export declare const createSceneItemBatch: ({ client, createSceneItemReqs: createItemReqs, failFast, onProgress, limit, sceneId, polling, }: CreateSceneItemBatchReq) => Promise<CreateSceneItemBatchRes>;
|
|
95
101
|
/**
|
|
96
102
|
* Create scene items within a scene.
|
|
97
103
|
*/
|
|
@@ -223,7 +223,7 @@ function toMetadataOrUndefined(value, condition = true) {
|
|
|
223
223
|
* batch based scene item creation. Batch operation results and errors are
|
|
224
224
|
* returned to the caller.
|
|
225
225
|
*/
|
|
226
|
-
const createSceneItemBatch = ({ client, createSceneItemReqs: createItemReqs, failFast, onProgress, limit, sceneId, polling = { intervalMs: PollIntervalMs, maxAttempts: MaxAttempts }, }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
226
|
+
export const createSceneItemBatch = ({ client, createSceneItemReqs: createItemReqs, failFast, onProgress, limit, sceneId, polling = { intervalMs: PollIntervalMs, maxAttempts: MaxAttempts }, }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
227
227
|
let batchErrors = [];
|
|
228
228
|
let itemErrors = [];
|
|
229
229
|
let itemResults = [];
|
|
@@ -284,7 +284,7 @@ const createSceneItemBatch = ({ client, createSceneItemReqs: createItemReqs, fai
|
|
|
284
284
|
*/
|
|
285
285
|
export function createSceneItems({ client, createSceneItemReqs, failFast, limit, sceneId, }) {
|
|
286
286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
287
|
-
const batchSize =
|
|
287
|
+
const batchSize = 200;
|
|
288
288
|
const opChunks = arrayChunked(createSceneItemReqs.map((req) => ({
|
|
289
289
|
data: req.data,
|
|
290
290
|
op: BatchOperationOpEnum.Add,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VertexClient } from './index';
|
|
2
|
+
export * from './helpers/index';
|
|
2
3
|
export * from './utils';
|
|
3
4
|
export * from './vertex-client';
|
|
4
|
-
export * from './helpers/index';
|
|
5
5
|
/** Common helper arguments. */
|
|
6
6
|
export interface BaseReq {
|
|
7
7
|
/** An instance of {@link VertexClient}. */
|
package/dist/esm/client/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.
|
|
1
|
+
export declare const version = "0.22.1";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '0.
|
|
1
|
+
export const version = '0.22.1';
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vertex Platform API
|
|
3
|
-
* The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples
|
|
3
|
+
* The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
* Contact: support@vertexvis.com
|
package/dist/esm/common.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Vertex Platform API
|
|
5
|
-
* The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples
|
|
5
|
+
* The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: support@vertexvis.com
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vertex Platform API
|
|
3
|
-
* The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples
|
|
3
|
+
* The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
* Contact: support@vertexvis.com
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Vertex Platform API
|
|
5
|
-
* The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples
|
|
5
|
+
* The Vertex distributed cloud rendering platform includes a set of APIs and SDKs, which together allow easily integrating 3D product data into your business application. See our [Developer Guides](https://developer.vertexvis.com/docs/guides/render-your-first-scene) to get started. Notes about the Postman collection and API Reference code samples: - They include all required and optional body parameters for completeness. Remove any optional parameters as desired. - They use auto-generated IDs and other values that may share the same value for ease of documentation only. In actual requests and responses, the IDs should uniquely identify their corresponding resource.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: support@vertexvis.com
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertexvis/api-client-node",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.1",
|
|
4
4
|
"description": "The Vertex REST API client for Node.js.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Vertex Developers <support@vertexvis.com> (https://developer.vertexvis.com)",
|
|
@@ -33,21 +33,21 @@
|
|
|
33
33
|
"typescript"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"axios": "^
|
|
36
|
+
"axios": "^1.6.0",
|
|
37
37
|
"p-limit": "^3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/jest": "^27.0",
|
|
41
41
|
"@types/node": "^16",
|
|
42
|
-
"@vertexvis/eslint-config-vertexvis-typescript": "^0.
|
|
43
|
-
"eslint": "^
|
|
44
|
-
"eslint-plugin-promise": "^
|
|
45
|
-
"eslint-plugin-simple-import-sort": "^
|
|
46
|
-
"eslint-plugin-tsdoc": "^0.2",
|
|
47
|
-
"jest": "^
|
|
42
|
+
"@vertexvis/eslint-config-vertexvis-typescript": "^0.5.1",
|
|
43
|
+
"eslint": "^8.49.0",
|
|
44
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
45
|
+
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
46
|
+
"eslint-plugin-tsdoc": "^0.2.17",
|
|
47
|
+
"jest": "^29.7.0",
|
|
48
48
|
"pinst": "^2.1",
|
|
49
|
-
"prettier": "^
|
|
50
|
-
"ts-jest": "^
|
|
49
|
+
"prettier": "^3.0.3",
|
|
50
|
+
"ts-jest": "^29.1.1",
|
|
51
51
|
"typedoc": "^0.22",
|
|
52
52
|
"typescript": "4.5.x"
|
|
53
53
|
},
|