@vertexvis/api-client-node 0.22.0 → 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/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, - 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.
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 ChangeMaterialOperationTypeEnum = {
39
+ export const ChangeMaterialOpTypeEnum = {
40
40
  ChangeMaterial: 'change-material',
41
41
  };
42
- export const ChangeTransformOperationTypeEnum = {
42
+ export const ChangeTransformOpTypeEnum = {
43
43
  ChangeTransform: 'change-transform',
44
44
  };
45
- export const ChangeVisibilityOperationTypeEnum = {
45
+ export const ChangeVisibilityOpTypeEnum = {
46
46
  ChangeVisibility: 'change-visibility',
47
47
  };
48
- export const ClearMaterialOperationTypeEnum = {
48
+ export const ClearMaterialOpTypeEnum = {
49
49
  ClearMaterial: 'clear-material',
50
50
  };
51
- export const ClearTransformOperationTypeEnum = {
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 = {
@@ -109,7 +115,7 @@ export const SceneViewRelationshipDataTypeEnum = {
109
115
  export const SceneViewStateRelationshipDataTypeEnum = {
110
116
  SceneViewState: 'scene-view-state',
111
117
  };
112
- export const SelectOperationTypeEnum = {
118
+ export const SelectOpTypeEnum = {
113
119
  Select: 'select',
114
120
  };
115
121
  export const UpdateAccountRequestDataAttributesStatusEnum = {
@@ -124,6 +130,25 @@ export const UpdateWebhookSubscriptionRequestDataAttributesStatusEnum = {
124
130
  Active: 'active',
125
131
  Paused: 'paused',
126
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
+ };
127
152
  export const WebhookEventDataRelationshipsOwnerDataTypeEnum = {
128
153
  Account: 'account',
129
154
  };
@@ -1125,113 +1150,6 @@ export class BatchesApi extends BaseAPI {
1125
1150
  .then((request) => request(this.axios, this.basePath));
1126
1151
  }
1127
1152
  }
1128
- /**
1129
- * DefaultApi - axios parameter creator
1130
- * @export
1131
- */
1132
- export const DefaultApiAxiosParamCreator = function (configuration) {
1133
- return {
1134
- /**
1135
- *
1136
- * @param {string} id The `part-revision` ID.
1137
- * @param {CreatePartRenditionRequest} createPartRenditionRequest
1138
- * @param {*} [options] Override http request option.
1139
- * @throws {RequiredError}
1140
- */
1141
- createPartRendition: (id, createPartRenditionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1142
- var _a;
1143
- // verify required parameter 'id' is not null or undefined
1144
- assertParamExists('createPartRendition', 'id', id);
1145
- // verify required parameter 'createPartRenditionRequest' is not null or undefined
1146
- assertParamExists('createPartRendition', 'createPartRenditionRequest', createPartRenditionRequest);
1147
- const localVarPath = `/part-revisions/{id}/part-renditions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
1148
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1149
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1150
- let baseOptions;
1151
- if (configuration) {
1152
- baseOptions = configuration.baseOptions;
1153
- }
1154
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1155
- const localVarHeaderParameter = {};
1156
- const localVarQueryParameter = {};
1157
- // authentication OAuth2 required
1158
- // oauth required
1159
- yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
1160
- localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
1161
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1162
- let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
1163
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1164
- localVarRequestOptions.data = serializeDataIfNeeded(createPartRenditionRequest, localVarRequestOptions, configuration);
1165
- return {
1166
- url: toPathString(localVarUrlObj),
1167
- options: localVarRequestOptions,
1168
- };
1169
- }),
1170
- };
1171
- };
1172
- /**
1173
- * DefaultApi - functional programming interface
1174
- * @export
1175
- */
1176
- export const DefaultApiFp = function (configuration) {
1177
- const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration);
1178
- return {
1179
- /**
1180
- *
1181
- * @param {string} id The `part-revision` ID.
1182
- * @param {CreatePartRenditionRequest} createPartRenditionRequest
1183
- * @param {*} [options] Override http request option.
1184
- * @throws {RequiredError}
1185
- */
1186
- createPartRendition(id, createPartRenditionRequest, options) {
1187
- return __awaiter(this, void 0, void 0, function* () {
1188
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createPartRendition(id, createPartRenditionRequest, options);
1189
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1190
- });
1191
- },
1192
- };
1193
- };
1194
- /**
1195
- * DefaultApi - factory interface
1196
- * @export
1197
- */
1198
- export const DefaultApiFactory = function (configuration, basePath, axios) {
1199
- const localVarFp = DefaultApiFp(configuration);
1200
- return {
1201
- /**
1202
- *
1203
- * @param {string} id The `part-revision` ID.
1204
- * @param {CreatePartRenditionRequest} createPartRenditionRequest
1205
- * @param {*} [options] Override http request option.
1206
- * @throws {RequiredError}
1207
- */
1208
- createPartRendition(id, createPartRenditionRequest, options) {
1209
- return localVarFp
1210
- .createPartRendition(id, createPartRenditionRequest, options)
1211
- .then((request) => request(axios, basePath));
1212
- },
1213
- };
1214
- };
1215
- /**
1216
- * DefaultApi - object-oriented interface
1217
- * @export
1218
- * @class DefaultApi
1219
- * @extends {BaseAPI}
1220
- */
1221
- export class DefaultApi extends BaseAPI {
1222
- /**
1223
- *
1224
- * @param {DefaultApiCreatePartRenditionRequest} requestParameters Request parameters.
1225
- * @param {*} [options] Override http request option.
1226
- * @throws {RequiredError}
1227
- * @memberof DefaultApi
1228
- */
1229
- createPartRendition(requestParameters, options) {
1230
- return DefaultApiFp(this.configuration)
1231
- .createPartRendition(requestParameters.id, requestParameters.createPartRenditionRequest, options)
1232
- .then((request) => request(this.axios, this.basePath));
1233
- }
1234
- }
1235
1153
  /**
1236
1154
  * ExportsApi - axios parameter creator
1237
1155
  * @export
@@ -2646,6 +2564,264 @@ export class Oauth2Api extends BaseAPI {
2646
2564
  .then((request) => request(this.axios, this.basePath));
2647
2565
  }
2648
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
+ }
2649
2825
  /**
2650
2826
  * PartRevisionsApi - axios parameter creator
2651
2827
  * @export
@@ -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, - 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.
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, - 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.
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 = 500;
287
+ const batchSize = 200;
288
288
  const opChunks = arrayChunked(createSceneItemReqs.map((req) => ({
289
289
  data: req.data,
290
290
  op: BatchOperationOpEnum.Add,
@@ -1 +1 @@
1
- export declare const version = "0.22.0";
1
+ export declare const version = "0.22.1";
@@ -1 +1 @@
1
- export const version = '0.22.0';
1
+ export const version = '0.22.1';
@@ -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, - 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.
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, - 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.
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, - 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.
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, - 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.
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertexvis/api-client-node",
3
- "version": "0.22.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,7 +33,7 @@
33
33
  "typescript"
34
34
  ],
35
35
  "dependencies": {
36
- "axios": "^1.5.0",
36
+ "axios": "^1.6.0",
37
37
  "p-limit": "^3"
38
38
  },
39
39
  "devDependencies": {