@vertexvis/api-client-node 0.33.1 → 0.34.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 +121 -5
- package/dist/cjs/api.js +81 -6
- package/dist/cjs/client/helpers/scenes.js +14 -4
- package/dist/cjs/client/version.d.ts +1 -1
- package/dist/cjs/client/version.js +1 -1
- package/dist/cjs/client/vertex-client.d.ts +1 -1
- package/dist/cjs/client/vertex-client.js +1 -1
- package/dist/esm/api.d.ts +121 -5
- package/dist/esm/api.js +81 -6
- package/dist/esm/client/helpers/scenes.js +14 -4
- package/dist/esm/client/version.d.ts +1 -1
- package/dist/esm/client/version.js +1 -1
- package/dist/esm/client/vertex-client.d.ts +1 -1
- package/dist/esm/client/vertex-client.js +1 -1
- package/package.json +1 -1
package/dist/cjs/api.d.ts
CHANGED
|
@@ -509,10 +509,10 @@ export interface Batch {
|
|
|
509
509
|
export interface BatchOperation {
|
|
510
510
|
/**
|
|
511
511
|
* Operation\'s primary data.
|
|
512
|
-
* @type {CreateSceneItemRequestData}
|
|
512
|
+
* @type {CreateSceneItemRequestData | RelationshipData}
|
|
513
513
|
* @memberof BatchOperation
|
|
514
514
|
*/
|
|
515
|
-
data: CreateSceneItemRequestData;
|
|
515
|
+
data: CreateSceneItemRequestData | RelationshipData;
|
|
516
516
|
/**
|
|
517
517
|
* Batch operation type type.
|
|
518
518
|
* @type {string}
|
|
@@ -528,6 +528,7 @@ export interface BatchOperation {
|
|
|
528
528
|
}
|
|
529
529
|
export declare const BatchOperationOpEnum: {
|
|
530
530
|
readonly Add: "add";
|
|
531
|
+
readonly Remove: "remove";
|
|
531
532
|
};
|
|
532
533
|
export declare type BatchOperationOpEnum = (typeof BatchOperationOpEnum)[keyof typeof BatchOperationOpEnum];
|
|
533
534
|
/**
|
|
@@ -2464,6 +2465,12 @@ export interface CreateSceneViewRequestDataAttributes {
|
|
|
2464
2465
|
* @memberof CreateSceneViewRequestDataAttributes
|
|
2465
2466
|
*/
|
|
2466
2467
|
excludePrunedItems?: boolean;
|
|
2468
|
+
/**
|
|
2469
|
+
* Number of seconds before expiration. Defaults to 24 hours in seconds. Max is 7 days in seconds
|
|
2470
|
+
* @type {number}
|
|
2471
|
+
* @memberof CreateSceneViewRequestDataAttributes
|
|
2472
|
+
*/
|
|
2473
|
+
expiry?: number;
|
|
2467
2474
|
}
|
|
2468
2475
|
/**
|
|
2469
2476
|
*
|
|
@@ -4825,6 +4832,19 @@ export interface PartRevision {
|
|
|
4825
4832
|
[key: string]: Link;
|
|
4826
4833
|
};
|
|
4827
4834
|
}
|
|
4835
|
+
/**
|
|
4836
|
+
*
|
|
4837
|
+
* @export
|
|
4838
|
+
* @interface PartRevisionChildren
|
|
4839
|
+
*/
|
|
4840
|
+
export interface PartRevisionChildren {
|
|
4841
|
+
/**
|
|
4842
|
+
* ID of a uploaded file that contains assembly children in JSON format. The file content MUST be a JSON object with a \"children\" array matching the PartAssemblyInstance schema. Each child must include the UUID of the revision. The optional transform may be included to position the child relative to the parent. See the Matrix4 schema for details. Note: The ordinal will not be used even if specified. The children will be ordered as they appear in the array. Also, the suppliedRevisionId will be ignored as it has been deprecated in the PartAssemblyInstance schema. Example file content: { \"children\": [ { \"revisionId\": \"00000000-0000-0000-0000-000000000001\" }, { \"revisionId\": \"00000000-0000-0000-0000-000000000002\", \"transform\": { \"r0\": {\"x\": 1, \"y\": 0, \"z\": 0, \"w\": 0 }, \"r1\": {\"x\": 0, \"y\": 1, \"z\": 0, \"w\": 0 }, \"r2\": {\"x\": 0, \"y\": 0, \"z\": 1, \"w\": 0 }, \"r3\": {\"x\": 0, \"y\": 0, \"z\": 0, \"w\": 1 } }} ] }
|
|
4843
|
+
* @type {FileRelationshipData}
|
|
4844
|
+
* @memberof PartRevisionChildren
|
|
4845
|
+
*/
|
|
4846
|
+
data: FileRelationshipData;
|
|
4847
|
+
}
|
|
4828
4848
|
/**
|
|
4829
4849
|
*
|
|
4830
4850
|
* @export
|
|
@@ -5833,6 +5853,32 @@ export declare const QueryBySceneItemMetadataTypeEnum: {
|
|
|
5833
5853
|
readonly QueryByMetadata: "query-by-metadata";
|
|
5834
5854
|
};
|
|
5835
5855
|
export declare type QueryBySceneItemMetadataTypeEnum = (typeof QueryBySceneItemMetadataTypeEnum)[keyof typeof QueryBySceneItemMetadataTypeEnum];
|
|
5856
|
+
/**
|
|
5857
|
+
*
|
|
5858
|
+
* @export
|
|
5859
|
+
* @interface QueryTranslationJobs
|
|
5860
|
+
*/
|
|
5861
|
+
export interface QueryTranslationJobs {
|
|
5862
|
+
/**
|
|
5863
|
+
*
|
|
5864
|
+
* @type {QueryTranslationJobsFilter}
|
|
5865
|
+
* @memberof QueryTranslationJobs
|
|
5866
|
+
*/
|
|
5867
|
+
filter: QueryTranslationJobsFilter;
|
|
5868
|
+
}
|
|
5869
|
+
/**
|
|
5870
|
+
*
|
|
5871
|
+
* @export
|
|
5872
|
+
* @interface QueryTranslationJobsFilter
|
|
5873
|
+
*/
|
|
5874
|
+
export interface QueryTranslationJobsFilter {
|
|
5875
|
+
/**
|
|
5876
|
+
*
|
|
5877
|
+
* @type {Array<string>}
|
|
5878
|
+
* @memberof QueryTranslationJobsFilter
|
|
5879
|
+
*/
|
|
5880
|
+
jobId: Array<string>;
|
|
5881
|
+
}
|
|
5836
5882
|
/**
|
|
5837
5883
|
*
|
|
5838
5884
|
* @export
|
|
@@ -6055,6 +6101,19 @@ export interface QueuedTranslationJobDataRelationships {
|
|
|
6055
6101
|
*/
|
|
6056
6102
|
partRendition?: PartRenditionRelationship;
|
|
6057
6103
|
}
|
|
6104
|
+
/**
|
|
6105
|
+
*
|
|
6106
|
+
* @export
|
|
6107
|
+
* @interface QueuedTranslationJobList
|
|
6108
|
+
*/
|
|
6109
|
+
export interface QueuedTranslationJobList {
|
|
6110
|
+
/**
|
|
6111
|
+
*
|
|
6112
|
+
* @type {Array<QueuedTranslationJob>}
|
|
6113
|
+
* @memberof QueuedTranslationJobList
|
|
6114
|
+
*/
|
|
6115
|
+
data: Array<QueuedTranslationJob>;
|
|
6116
|
+
}
|
|
6058
6117
|
/**
|
|
6059
6118
|
*
|
|
6060
6119
|
* @export
|
|
@@ -8847,6 +8906,12 @@ export interface UpdatePartRevisionRequestDataRelationships {
|
|
|
8847
8906
|
* @memberof UpdatePartRevisionRequestDataRelationships
|
|
8848
8907
|
*/
|
|
8849
8908
|
defaultPartRendition?: PartRenditionRelationship;
|
|
8909
|
+
/**
|
|
8910
|
+
*
|
|
8911
|
+
* @type {PartRevisionChildren}
|
|
8912
|
+
* @memberof UpdatePartRevisionRequestDataRelationships
|
|
8913
|
+
*/
|
|
8914
|
+
children?: PartRevisionChildren;
|
|
8850
8915
|
}
|
|
8851
8916
|
/**
|
|
8852
8917
|
*
|
|
@@ -15517,10 +15582,11 @@ export declare const SceneItemsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
15517
15582
|
* @param {string} [filterParent] Parent ID to filter on.
|
|
15518
15583
|
* @param {boolean} [filterHasChildren] Filter scene-items based on whether they are the parent of at least one other scene-item
|
|
15519
15584
|
* @param {boolean} [filterHasGeometrySet] Filter scene-items based on whether they have an associated geometry-set.
|
|
15585
|
+
* @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
15520
15586
|
* @param {*} [options] Override http request option.
|
|
15521
15587
|
* @throws {RequiredError}
|
|
15522
15588
|
*/
|
|
15523
|
-
getSceneItems: (id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterSource?: string | undefined, filterSuppliedId?: string | undefined, filterParent?: string | undefined, filterHasChildren?: boolean | undefined, filterHasGeometrySet?: boolean | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
15589
|
+
getSceneItems: (id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterSource?: string | undefined, filterSuppliedId?: string | undefined, filterParent?: string | undefined, filterHasChildren?: boolean | undefined, filterHasGeometrySet?: boolean | undefined, sort?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
15524
15590
|
/**
|
|
15525
15591
|
* Update a `scene-item`.
|
|
15526
15592
|
* @param {string} id The `scene-item` ID.
|
|
@@ -15582,10 +15648,11 @@ export declare const SceneItemsApiFp: (configuration?: Configuration | undefined
|
|
|
15582
15648
|
* @param {string} [filterParent] Parent ID to filter on.
|
|
15583
15649
|
* @param {boolean} [filterHasChildren] Filter scene-items based on whether they are the parent of at least one other scene-item
|
|
15584
15650
|
* @param {boolean} [filterHasGeometrySet] Filter scene-items based on whether they have an associated geometry-set.
|
|
15651
|
+
* @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
15585
15652
|
* @param {*} [options] Override http request option.
|
|
15586
15653
|
* @throws {RequiredError}
|
|
15587
15654
|
*/
|
|
15588
|
-
getSceneItems(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterSource?: string | undefined, filterSuppliedId?: string | undefined, filterParent?: string | undefined, filterHasChildren?: boolean | undefined, filterHasGeometrySet?: boolean | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SceneItemList>>;
|
|
15655
|
+
getSceneItems(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterSource?: string | undefined, filterSuppliedId?: string | undefined, filterParent?: string | undefined, filterHasChildren?: boolean | undefined, filterHasGeometrySet?: boolean | undefined, sort?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SceneItemList>>;
|
|
15589
15656
|
/**
|
|
15590
15657
|
* Update a `scene-item`.
|
|
15591
15658
|
* @param {string} id The `scene-item` ID.
|
|
@@ -15647,10 +15714,11 @@ export declare const SceneItemsApiFactory: (configuration?: Configuration | unde
|
|
|
15647
15714
|
* @param {string} [filterParent] Parent ID to filter on.
|
|
15648
15715
|
* @param {boolean} [filterHasChildren] Filter scene-items based on whether they are the parent of at least one other scene-item
|
|
15649
15716
|
* @param {boolean} [filterHasGeometrySet] Filter scene-items based on whether they have an associated geometry-set.
|
|
15717
|
+
* @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
15650
15718
|
* @param {*} [options] Override http request option.
|
|
15651
15719
|
* @throws {RequiredError}
|
|
15652
15720
|
*/
|
|
15653
|
-
getSceneItems(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterSource?: string | undefined, filterSuppliedId?: string | undefined, filterParent?: string | undefined, filterHasChildren?: boolean | undefined, filterHasGeometrySet?: boolean | undefined, options?: any): AxiosPromise<SceneItemList>;
|
|
15721
|
+
getSceneItems(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterSource?: string | undefined, filterSuppliedId?: string | undefined, filterParent?: string | undefined, filterHasChildren?: boolean | undefined, filterHasGeometrySet?: boolean | undefined, sort?: string | undefined, options?: any): AxiosPromise<SceneItemList>;
|
|
15654
15722
|
/**
|
|
15655
15723
|
* Update a `scene-item`.
|
|
15656
15724
|
* @param {string} id The `scene-item` ID.
|
|
@@ -15791,6 +15859,12 @@ export interface SceneItemsApiGetSceneItemsRequest {
|
|
|
15791
15859
|
* @memberof SceneItemsApiGetSceneItems
|
|
15792
15860
|
*/
|
|
15793
15861
|
readonly filterHasGeometrySet?: boolean;
|
|
15862
|
+
/**
|
|
15863
|
+
* A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
15864
|
+
* @type {string}
|
|
15865
|
+
* @memberof SceneItemsApiGetSceneItems
|
|
15866
|
+
*/
|
|
15867
|
+
readonly sort?: string;
|
|
15794
15868
|
}
|
|
15795
15869
|
/**
|
|
15796
15870
|
* Request parameters for updateSceneItem operation in SceneItemsApi.
|
|
@@ -17851,6 +17925,13 @@ export declare const TranslationInspectionsApiAxiosParamCreator: (configuration?
|
|
|
17851
17925
|
* @throws {RequiredError}
|
|
17852
17926
|
*/
|
|
17853
17927
|
getQueuedTranslations: (pageCursor?: string | undefined, pageSize?: number | undefined, filterStatus?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17928
|
+
/**
|
|
17929
|
+
* Get all the specified translation jobs.
|
|
17930
|
+
* @param {QueryTranslationJobs} queryTranslationJobs
|
|
17931
|
+
* @param {*} [options] Override http request option.
|
|
17932
|
+
* @throws {RequiredError}
|
|
17933
|
+
*/
|
|
17934
|
+
postQueryTranslationJobs: (queryTranslationJobs: QueryTranslationJobs, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17854
17935
|
};
|
|
17855
17936
|
/**
|
|
17856
17937
|
* TranslationInspectionsApi - functional programming interface
|
|
@@ -17907,6 +17988,13 @@ export declare const TranslationInspectionsApiFp: (configuration?: Configuration
|
|
|
17907
17988
|
* @throws {RequiredError}
|
|
17908
17989
|
*/
|
|
17909
17990
|
getQueuedTranslations(pageCursor?: string | undefined, pageSize?: number | undefined, filterStatus?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<QueuedJobList>>;
|
|
17991
|
+
/**
|
|
17992
|
+
* Get all the specified translation jobs.
|
|
17993
|
+
* @param {QueryTranslationJobs} queryTranslationJobs
|
|
17994
|
+
* @param {*} [options] Override http request option.
|
|
17995
|
+
* @throws {RequiredError}
|
|
17996
|
+
*/
|
|
17997
|
+
postQueryTranslationJobs(queryTranslationJobs: QueryTranslationJobs, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<QueuedTranslationJobList>>;
|
|
17910
17998
|
};
|
|
17911
17999
|
/**
|
|
17912
18000
|
* TranslationInspectionsApi - factory interface
|
|
@@ -17963,6 +18051,13 @@ export declare const TranslationInspectionsApiFactory: (configuration?: Configur
|
|
|
17963
18051
|
* @throws {RequiredError}
|
|
17964
18052
|
*/
|
|
17965
18053
|
getQueuedTranslations(pageCursor?: string | undefined, pageSize?: number | undefined, filterStatus?: string | undefined, options?: any): AxiosPromise<QueuedJobList>;
|
|
18054
|
+
/**
|
|
18055
|
+
* Get all the specified translation jobs.
|
|
18056
|
+
* @param {QueryTranslationJobs} queryTranslationJobs
|
|
18057
|
+
* @param {*} [options] Override http request option.
|
|
18058
|
+
* @throws {RequiredError}
|
|
18059
|
+
*/
|
|
18060
|
+
postQueryTranslationJobs(queryTranslationJobs: QueryTranslationJobs, options?: any): AxiosPromise<QueuedTranslationJobList>;
|
|
17966
18061
|
};
|
|
17967
18062
|
/**
|
|
17968
18063
|
* Request parameters for createTranslationInspection operation in TranslationInspectionsApi.
|
|
@@ -18078,6 +18173,19 @@ export interface TranslationInspectionsApiGetQueuedTranslationsRequest {
|
|
|
18078
18173
|
*/
|
|
18079
18174
|
readonly filterStatus?: string;
|
|
18080
18175
|
}
|
|
18176
|
+
/**
|
|
18177
|
+
* Request parameters for postQueryTranslationJobs operation in TranslationInspectionsApi.
|
|
18178
|
+
* @export
|
|
18179
|
+
* @interface TranslationInspectionsApiPostQueryTranslationJobsRequest
|
|
18180
|
+
*/
|
|
18181
|
+
export interface TranslationInspectionsApiPostQueryTranslationJobsRequest {
|
|
18182
|
+
/**
|
|
18183
|
+
*
|
|
18184
|
+
* @type {QueryTranslationJobs}
|
|
18185
|
+
* @memberof TranslationInspectionsApiPostQueryTranslationJobs
|
|
18186
|
+
*/
|
|
18187
|
+
readonly queryTranslationJobs: QueryTranslationJobs;
|
|
18188
|
+
}
|
|
18081
18189
|
/**
|
|
18082
18190
|
* TranslationInspectionsApi - object-oriented interface
|
|
18083
18191
|
* @export
|
|
@@ -18135,6 +18243,14 @@ export declare class TranslationInspectionsApi extends BaseAPI {
|
|
|
18135
18243
|
* @memberof TranslationInspectionsApi
|
|
18136
18244
|
*/
|
|
18137
18245
|
getQueuedTranslations(requestParameters?: TranslationInspectionsApiGetQueuedTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueuedJobList, any>>;
|
|
18246
|
+
/**
|
|
18247
|
+
* Get all the specified translation jobs.
|
|
18248
|
+
* @param {TranslationInspectionsApiPostQueryTranslationJobsRequest} requestParameters Request parameters.
|
|
18249
|
+
* @param {*} [options] Override http request option.
|
|
18250
|
+
* @throws {RequiredError}
|
|
18251
|
+
* @memberof TranslationInspectionsApi
|
|
18252
|
+
*/
|
|
18253
|
+
postQueryTranslationJobs(requestParameters: TranslationInspectionsApiPostQueryTranslationJobsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueuedTranslationJobList, any>>;
|
|
18138
18254
|
}
|
|
18139
18255
|
/**
|
|
18140
18256
|
* UserGroupsApi - axios parameter creator
|
package/dist/cjs/api.js
CHANGED
|
@@ -41,6 +41,7 @@ exports.AccountRelationshipDataTypeEnum = {
|
|
|
41
41
|
};
|
|
42
42
|
exports.BatchOperationOpEnum = {
|
|
43
43
|
Add: 'add',
|
|
44
|
+
Remove: 'remove',
|
|
44
45
|
};
|
|
45
46
|
exports.BatchOperationRefTypeEnum = {
|
|
46
47
|
Scene: 'scene',
|
|
@@ -7833,10 +7834,11 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
7833
7834
|
* @param {string} [filterParent] Parent ID to filter on.
|
|
7834
7835
|
* @param {boolean} [filterHasChildren] Filter scene-items based on whether they are the parent of at least one other scene-item
|
|
7835
7836
|
* @param {boolean} [filterHasGeometrySet] Filter scene-items based on whether they have an associated geometry-set.
|
|
7837
|
+
* @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
7836
7838
|
* @param {*} [options] Override http request option.
|
|
7837
7839
|
* @throws {RequiredError}
|
|
7838
7840
|
*/
|
|
7839
|
-
getSceneItems: (id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7841
|
+
getSceneItems: (id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, sort, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7840
7842
|
var _f;
|
|
7841
7843
|
// verify required parameter 'id' is not null or undefined
|
|
7842
7844
|
(0, common_1.assertParamExists)('getSceneItems', 'id', id);
|
|
@@ -7874,6 +7876,9 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
7874
7876
|
if (filterHasGeometrySet !== undefined) {
|
|
7875
7877
|
localVarQueryParameter['filter[hasGeometrySet]'] = filterHasGeometrySet;
|
|
7876
7878
|
}
|
|
7879
|
+
if (sort !== undefined) {
|
|
7880
|
+
localVarQueryParameter['sort'] = sort;
|
|
7881
|
+
}
|
|
7877
7882
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7878
7883
|
let headersFromBaseOptions = (_f = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _f !== void 0 ? _f : {};
|
|
7879
7884
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -8000,12 +8005,13 @@ const SceneItemsApiFp = function (configuration) {
|
|
|
8000
8005
|
* @param {string} [filterParent] Parent ID to filter on.
|
|
8001
8006
|
* @param {boolean} [filterHasChildren] Filter scene-items based on whether they are the parent of at least one other scene-item
|
|
8002
8007
|
* @param {boolean} [filterHasGeometrySet] Filter scene-items based on whether they have an associated geometry-set.
|
|
8008
|
+
* @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
8003
8009
|
* @param {*} [options] Override http request option.
|
|
8004
8010
|
* @throws {RequiredError}
|
|
8005
8011
|
*/
|
|
8006
|
-
getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, options) {
|
|
8012
|
+
getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, sort, options) {
|
|
8007
8013
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8008
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, options);
|
|
8014
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, sort, options);
|
|
8009
8015
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
8010
8016
|
});
|
|
8011
8017
|
},
|
|
@@ -8099,12 +8105,13 @@ const SceneItemsApiFactory = function (configuration, basePath, axios) {
|
|
|
8099
8105
|
* @param {string} [filterParent] Parent ID to filter on.
|
|
8100
8106
|
* @param {boolean} [filterHasChildren] Filter scene-items based on whether they are the parent of at least one other scene-item
|
|
8101
8107
|
* @param {boolean} [filterHasGeometrySet] Filter scene-items based on whether they have an associated geometry-set.
|
|
8108
|
+
* @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
8102
8109
|
* @param {*} [options] Override http request option.
|
|
8103
8110
|
* @throws {RequiredError}
|
|
8104
8111
|
*/
|
|
8105
|
-
getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, options) {
|
|
8112
|
+
getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, sort, options) {
|
|
8106
8113
|
return localVarFp
|
|
8107
|
-
.getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, options)
|
|
8114
|
+
.getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, sort, options)
|
|
8108
8115
|
.then((request) => request(axios, basePath));
|
|
8109
8116
|
},
|
|
8110
8117
|
/**
|
|
@@ -8198,7 +8205,7 @@ class SceneItemsApi extends base_1.BaseAPI {
|
|
|
8198
8205
|
*/
|
|
8199
8206
|
getSceneItems(requestParameters, options) {
|
|
8200
8207
|
return (0, exports.SceneItemsApiFp)(this.configuration)
|
|
8201
|
-
.getSceneItems(requestParameters.id, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterSource, requestParameters.filterSuppliedId, requestParameters.filterParent, requestParameters.filterHasChildren, requestParameters.filterHasGeometrySet, options)
|
|
8208
|
+
.getSceneItems(requestParameters.id, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterSource, requestParameters.filterSuppliedId, requestParameters.filterParent, requestParameters.filterHasChildren, requestParameters.filterHasGeometrySet, requestParameters.sort, options)
|
|
8202
8209
|
.then((request) => request(this.axios, this.basePath));
|
|
8203
8210
|
}
|
|
8204
8211
|
/**
|
|
@@ -11095,6 +11102,39 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
|
|
|
11095
11102
|
options: localVarRequestOptions,
|
|
11096
11103
|
};
|
|
11097
11104
|
}),
|
|
11105
|
+
/**
|
|
11106
|
+
* Get all the specified translation jobs.
|
|
11107
|
+
* @param {QueryTranslationJobs} queryTranslationJobs
|
|
11108
|
+
* @param {*} [options] Override http request option.
|
|
11109
|
+
* @throws {RequiredError}
|
|
11110
|
+
*/
|
|
11111
|
+
postQueryTranslationJobs: (queryTranslationJobs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
11112
|
+
var _g;
|
|
11113
|
+
// verify required parameter 'queryTranslationJobs' is not null or undefined
|
|
11114
|
+
(0, common_1.assertParamExists)('postQueryTranslationJobs', 'queryTranslationJobs', queryTranslationJobs);
|
|
11115
|
+
const localVarPath = `/query-translation-jobs`;
|
|
11116
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11117
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11118
|
+
let baseOptions;
|
|
11119
|
+
if (configuration) {
|
|
11120
|
+
baseOptions = configuration.baseOptions;
|
|
11121
|
+
}
|
|
11122
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
11123
|
+
const localVarHeaderParameter = {};
|
|
11124
|
+
const localVarQueryParameter = {};
|
|
11125
|
+
// authentication OAuth2 required
|
|
11126
|
+
// oauth required
|
|
11127
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
11128
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
11129
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11130
|
+
let headersFromBaseOptions = (_g = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _g !== void 0 ? _g : {};
|
|
11131
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11132
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(queryTranslationJobs, localVarRequestOptions, configuration);
|
|
11133
|
+
return {
|
|
11134
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11135
|
+
options: localVarRequestOptions,
|
|
11136
|
+
};
|
|
11137
|
+
}),
|
|
11098
11138
|
};
|
|
11099
11139
|
};
|
|
11100
11140
|
exports.TranslationInspectionsApiAxiosParamCreator = TranslationInspectionsApiAxiosParamCreator;
|
|
@@ -11185,6 +11225,18 @@ const TranslationInspectionsApiFp = function (configuration) {
|
|
|
11185
11225
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
11186
11226
|
});
|
|
11187
11227
|
},
|
|
11228
|
+
/**
|
|
11229
|
+
* Get all the specified translation jobs.
|
|
11230
|
+
* @param {QueryTranslationJobs} queryTranslationJobs
|
|
11231
|
+
* @param {*} [options] Override http request option.
|
|
11232
|
+
* @throws {RequiredError}
|
|
11233
|
+
*/
|
|
11234
|
+
postQueryTranslationJobs(queryTranslationJobs, options) {
|
|
11235
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11236
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.postQueryTranslationJobs(queryTranslationJobs, options);
|
|
11237
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
11238
|
+
});
|
|
11239
|
+
},
|
|
11188
11240
|
};
|
|
11189
11241
|
};
|
|
11190
11242
|
exports.TranslationInspectionsApiFp = TranslationInspectionsApiFp;
|
|
@@ -11269,6 +11321,17 @@ const TranslationInspectionsApiFactory = function (configuration, basePath, axio
|
|
|
11269
11321
|
.getQueuedTranslations(pageCursor, pageSize, filterStatus, options)
|
|
11270
11322
|
.then((request) => request(axios, basePath));
|
|
11271
11323
|
},
|
|
11324
|
+
/**
|
|
11325
|
+
* Get all the specified translation jobs.
|
|
11326
|
+
* @param {QueryTranslationJobs} queryTranslationJobs
|
|
11327
|
+
* @param {*} [options] Override http request option.
|
|
11328
|
+
* @throws {RequiredError}
|
|
11329
|
+
*/
|
|
11330
|
+
postQueryTranslationJobs(queryTranslationJobs, options) {
|
|
11331
|
+
return localVarFp
|
|
11332
|
+
.postQueryTranslationJobs(queryTranslationJobs, options)
|
|
11333
|
+
.then((request) => request(axios, basePath));
|
|
11334
|
+
},
|
|
11272
11335
|
};
|
|
11273
11336
|
};
|
|
11274
11337
|
exports.TranslationInspectionsApiFactory = TranslationInspectionsApiFactory;
|
|
@@ -11353,6 +11416,18 @@ class TranslationInspectionsApi extends base_1.BaseAPI {
|
|
|
11353
11416
|
.getQueuedTranslations(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterStatus, options)
|
|
11354
11417
|
.then((request) => request(this.axios, this.basePath));
|
|
11355
11418
|
}
|
|
11419
|
+
/**
|
|
11420
|
+
* Get all the specified translation jobs.
|
|
11421
|
+
* @param {TranslationInspectionsApiPostQueryTranslationJobsRequest} requestParameters Request parameters.
|
|
11422
|
+
* @param {*} [options] Override http request option.
|
|
11423
|
+
* @throws {RequiredError}
|
|
11424
|
+
* @memberof TranslationInspectionsApi
|
|
11425
|
+
*/
|
|
11426
|
+
postQueryTranslationJobs(requestParameters, options) {
|
|
11427
|
+
return (0, exports.TranslationInspectionsApiFp)(this.configuration)
|
|
11428
|
+
.postQueryTranslationJobs(requestParameters.queryTranslationJobs, options)
|
|
11429
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11430
|
+
}
|
|
11356
11431
|
}
|
|
11357
11432
|
exports.TranslationInspectionsApi = TranslationInspectionsApi;
|
|
11358
11433
|
/**
|
|
@@ -270,7 +270,12 @@ const createSceneItemBatch = ({ client, createSceneItemReqs: createItemReqs, fai
|
|
|
270
270
|
const batchRes = yield Promise.all(batchOps.map((is) => limit(poll, is)));
|
|
271
271
|
itemResults = batchRes.flatMap((b, i) => (0, queued_jobs_1.isBatch)(b.res)
|
|
272
272
|
? b.res['vertexvis/batch:results'].map((r, j) => {
|
|
273
|
-
return {
|
|
273
|
+
return {
|
|
274
|
+
// `batchOps[i].ops[j].data` is guaranteed to be of type `CreateSceneItemRequestData`, as the
|
|
275
|
+
// `createSceneItems` used to construct operations only deals with this type of payload.
|
|
276
|
+
req: batchOps[i].ops[j].data,
|
|
277
|
+
res: r,
|
|
278
|
+
};
|
|
274
279
|
})
|
|
275
280
|
: []);
|
|
276
281
|
itemErrors = itemErrors.concat(itemResults.filter((resultItem) => (0, utils_1.isApiError)(resultItem.res)));
|
|
@@ -279,9 +284,14 @@ const createSceneItemBatch = ({ client, createSceneItemReqs: createItemReqs, fai
|
|
|
279
284
|
errors.forEach((error) => {
|
|
280
285
|
console.log(error);
|
|
281
286
|
error.ops.forEach((op) => {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
287
|
+
itemErrors.push({
|
|
288
|
+
// `op.data` is guaranteed to be of type `CreateSceneItemRequestData`, as the
|
|
289
|
+
// `createSceneItems` used to construct operations only deals with this type of payload.
|
|
290
|
+
req: op.data,
|
|
291
|
+
// `error.res` guaranteed to be non-null due to `isApiError()` condition above
|
|
292
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
293
|
+
res: error.res,
|
|
294
|
+
});
|
|
285
295
|
});
|
|
286
296
|
});
|
|
287
297
|
return { batchOps, batchErrors, itemErrors, itemResults };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.
|
|
1
|
+
export declare const version = "0.34.0";
|
|
@@ -80,7 +80,7 @@ export declare class VertexClient {
|
|
|
80
80
|
oAuth2: Oauth2Api;
|
|
81
81
|
partRevisions: PartRevisionsApi;
|
|
82
82
|
parts: PartsApi;
|
|
83
|
-
|
|
83
|
+
propertyEntries: PropertyEntriesApi;
|
|
84
84
|
sceneAlterations: SceneAlterationsApi;
|
|
85
85
|
sceneAnnotations: SceneAnnotationsApi;
|
|
86
86
|
sceneItemOverrides: SceneItemOverridesApi;
|
|
@@ -86,7 +86,7 @@ class VertexClient {
|
|
|
86
86
|
this.hits = new index_1.HitsApi(this.config, undefined, axiosInst);
|
|
87
87
|
this.partRevisions = new index_1.PartRevisionsApi(this.config, undefined, axiosInst);
|
|
88
88
|
this.parts = new index_1.PartsApi(this.config, undefined, axiosInst);
|
|
89
|
-
this.
|
|
89
|
+
this.propertyEntries = new index_1.PropertyEntriesApi(this.config, undefined, axiosInst);
|
|
90
90
|
this.sceneAlterations = new index_1.SceneAlterationsApi(this.config, undefined, axiosInst);
|
|
91
91
|
this.sceneAnnotations = new index_1.SceneAnnotationsApi(this.config, undefined, axiosInst);
|
|
92
92
|
this.sceneItemOverrides = new index_1.SceneItemOverridesApi(this.config, undefined, axiosInst);
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -509,10 +509,10 @@ export interface Batch {
|
|
|
509
509
|
export interface BatchOperation {
|
|
510
510
|
/**
|
|
511
511
|
* Operation\'s primary data.
|
|
512
|
-
* @type {CreateSceneItemRequestData}
|
|
512
|
+
* @type {CreateSceneItemRequestData | RelationshipData}
|
|
513
513
|
* @memberof BatchOperation
|
|
514
514
|
*/
|
|
515
|
-
data: CreateSceneItemRequestData;
|
|
515
|
+
data: CreateSceneItemRequestData | RelationshipData;
|
|
516
516
|
/**
|
|
517
517
|
* Batch operation type type.
|
|
518
518
|
* @type {string}
|
|
@@ -528,6 +528,7 @@ export interface BatchOperation {
|
|
|
528
528
|
}
|
|
529
529
|
export declare const BatchOperationOpEnum: {
|
|
530
530
|
readonly Add: "add";
|
|
531
|
+
readonly Remove: "remove";
|
|
531
532
|
};
|
|
532
533
|
export declare type BatchOperationOpEnum = (typeof BatchOperationOpEnum)[keyof typeof BatchOperationOpEnum];
|
|
533
534
|
/**
|
|
@@ -2464,6 +2465,12 @@ export interface CreateSceneViewRequestDataAttributes {
|
|
|
2464
2465
|
* @memberof CreateSceneViewRequestDataAttributes
|
|
2465
2466
|
*/
|
|
2466
2467
|
excludePrunedItems?: boolean;
|
|
2468
|
+
/**
|
|
2469
|
+
* Number of seconds before expiration. Defaults to 24 hours in seconds. Max is 7 days in seconds
|
|
2470
|
+
* @type {number}
|
|
2471
|
+
* @memberof CreateSceneViewRequestDataAttributes
|
|
2472
|
+
*/
|
|
2473
|
+
expiry?: number;
|
|
2467
2474
|
}
|
|
2468
2475
|
/**
|
|
2469
2476
|
*
|
|
@@ -4825,6 +4832,19 @@ export interface PartRevision {
|
|
|
4825
4832
|
[key: string]: Link;
|
|
4826
4833
|
};
|
|
4827
4834
|
}
|
|
4835
|
+
/**
|
|
4836
|
+
*
|
|
4837
|
+
* @export
|
|
4838
|
+
* @interface PartRevisionChildren
|
|
4839
|
+
*/
|
|
4840
|
+
export interface PartRevisionChildren {
|
|
4841
|
+
/**
|
|
4842
|
+
* ID of a uploaded file that contains assembly children in JSON format. The file content MUST be a JSON object with a \"children\" array matching the PartAssemblyInstance schema. Each child must include the UUID of the revision. The optional transform may be included to position the child relative to the parent. See the Matrix4 schema for details. Note: The ordinal will not be used even if specified. The children will be ordered as they appear in the array. Also, the suppliedRevisionId will be ignored as it has been deprecated in the PartAssemblyInstance schema. Example file content: { \"children\": [ { \"revisionId\": \"00000000-0000-0000-0000-000000000001\" }, { \"revisionId\": \"00000000-0000-0000-0000-000000000002\", \"transform\": { \"r0\": {\"x\": 1, \"y\": 0, \"z\": 0, \"w\": 0 }, \"r1\": {\"x\": 0, \"y\": 1, \"z\": 0, \"w\": 0 }, \"r2\": {\"x\": 0, \"y\": 0, \"z\": 1, \"w\": 0 }, \"r3\": {\"x\": 0, \"y\": 0, \"z\": 0, \"w\": 1 } }} ] }
|
|
4843
|
+
* @type {FileRelationshipData}
|
|
4844
|
+
* @memberof PartRevisionChildren
|
|
4845
|
+
*/
|
|
4846
|
+
data: FileRelationshipData;
|
|
4847
|
+
}
|
|
4828
4848
|
/**
|
|
4829
4849
|
*
|
|
4830
4850
|
* @export
|
|
@@ -5833,6 +5853,32 @@ export declare const QueryBySceneItemMetadataTypeEnum: {
|
|
|
5833
5853
|
readonly QueryByMetadata: "query-by-metadata";
|
|
5834
5854
|
};
|
|
5835
5855
|
export declare type QueryBySceneItemMetadataTypeEnum = (typeof QueryBySceneItemMetadataTypeEnum)[keyof typeof QueryBySceneItemMetadataTypeEnum];
|
|
5856
|
+
/**
|
|
5857
|
+
*
|
|
5858
|
+
* @export
|
|
5859
|
+
* @interface QueryTranslationJobs
|
|
5860
|
+
*/
|
|
5861
|
+
export interface QueryTranslationJobs {
|
|
5862
|
+
/**
|
|
5863
|
+
*
|
|
5864
|
+
* @type {QueryTranslationJobsFilter}
|
|
5865
|
+
* @memberof QueryTranslationJobs
|
|
5866
|
+
*/
|
|
5867
|
+
filter: QueryTranslationJobsFilter;
|
|
5868
|
+
}
|
|
5869
|
+
/**
|
|
5870
|
+
*
|
|
5871
|
+
* @export
|
|
5872
|
+
* @interface QueryTranslationJobsFilter
|
|
5873
|
+
*/
|
|
5874
|
+
export interface QueryTranslationJobsFilter {
|
|
5875
|
+
/**
|
|
5876
|
+
*
|
|
5877
|
+
* @type {Array<string>}
|
|
5878
|
+
* @memberof QueryTranslationJobsFilter
|
|
5879
|
+
*/
|
|
5880
|
+
jobId: Array<string>;
|
|
5881
|
+
}
|
|
5836
5882
|
/**
|
|
5837
5883
|
*
|
|
5838
5884
|
* @export
|
|
@@ -6055,6 +6101,19 @@ export interface QueuedTranslationJobDataRelationships {
|
|
|
6055
6101
|
*/
|
|
6056
6102
|
partRendition?: PartRenditionRelationship;
|
|
6057
6103
|
}
|
|
6104
|
+
/**
|
|
6105
|
+
*
|
|
6106
|
+
* @export
|
|
6107
|
+
* @interface QueuedTranslationJobList
|
|
6108
|
+
*/
|
|
6109
|
+
export interface QueuedTranslationJobList {
|
|
6110
|
+
/**
|
|
6111
|
+
*
|
|
6112
|
+
* @type {Array<QueuedTranslationJob>}
|
|
6113
|
+
* @memberof QueuedTranslationJobList
|
|
6114
|
+
*/
|
|
6115
|
+
data: Array<QueuedTranslationJob>;
|
|
6116
|
+
}
|
|
6058
6117
|
/**
|
|
6059
6118
|
*
|
|
6060
6119
|
* @export
|
|
@@ -8847,6 +8906,12 @@ export interface UpdatePartRevisionRequestDataRelationships {
|
|
|
8847
8906
|
* @memberof UpdatePartRevisionRequestDataRelationships
|
|
8848
8907
|
*/
|
|
8849
8908
|
defaultPartRendition?: PartRenditionRelationship;
|
|
8909
|
+
/**
|
|
8910
|
+
*
|
|
8911
|
+
* @type {PartRevisionChildren}
|
|
8912
|
+
* @memberof UpdatePartRevisionRequestDataRelationships
|
|
8913
|
+
*/
|
|
8914
|
+
children?: PartRevisionChildren;
|
|
8850
8915
|
}
|
|
8851
8916
|
/**
|
|
8852
8917
|
*
|
|
@@ -15517,10 +15582,11 @@ export declare const SceneItemsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
15517
15582
|
* @param {string} [filterParent] Parent ID to filter on.
|
|
15518
15583
|
* @param {boolean} [filterHasChildren] Filter scene-items based on whether they are the parent of at least one other scene-item
|
|
15519
15584
|
* @param {boolean} [filterHasGeometrySet] Filter scene-items based on whether they have an associated geometry-set.
|
|
15585
|
+
* @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
15520
15586
|
* @param {*} [options] Override http request option.
|
|
15521
15587
|
* @throws {RequiredError}
|
|
15522
15588
|
*/
|
|
15523
|
-
getSceneItems: (id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterSource?: string | undefined, filterSuppliedId?: string | undefined, filterParent?: string | undefined, filterHasChildren?: boolean | undefined, filterHasGeometrySet?: boolean | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
15589
|
+
getSceneItems: (id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterSource?: string | undefined, filterSuppliedId?: string | undefined, filterParent?: string | undefined, filterHasChildren?: boolean | undefined, filterHasGeometrySet?: boolean | undefined, sort?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
15524
15590
|
/**
|
|
15525
15591
|
* Update a `scene-item`.
|
|
15526
15592
|
* @param {string} id The `scene-item` ID.
|
|
@@ -15582,10 +15648,11 @@ export declare const SceneItemsApiFp: (configuration?: Configuration | undefined
|
|
|
15582
15648
|
* @param {string} [filterParent] Parent ID to filter on.
|
|
15583
15649
|
* @param {boolean} [filterHasChildren] Filter scene-items based on whether they are the parent of at least one other scene-item
|
|
15584
15650
|
* @param {boolean} [filterHasGeometrySet] Filter scene-items based on whether they have an associated geometry-set.
|
|
15651
|
+
* @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
15585
15652
|
* @param {*} [options] Override http request option.
|
|
15586
15653
|
* @throws {RequiredError}
|
|
15587
15654
|
*/
|
|
15588
|
-
getSceneItems(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterSource?: string | undefined, filterSuppliedId?: string | undefined, filterParent?: string | undefined, filterHasChildren?: boolean | undefined, filterHasGeometrySet?: boolean | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SceneItemList>>;
|
|
15655
|
+
getSceneItems(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterSource?: string | undefined, filterSuppliedId?: string | undefined, filterParent?: string | undefined, filterHasChildren?: boolean | undefined, filterHasGeometrySet?: boolean | undefined, sort?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SceneItemList>>;
|
|
15589
15656
|
/**
|
|
15590
15657
|
* Update a `scene-item`.
|
|
15591
15658
|
* @param {string} id The `scene-item` ID.
|
|
@@ -15647,10 +15714,11 @@ export declare const SceneItemsApiFactory: (configuration?: Configuration | unde
|
|
|
15647
15714
|
* @param {string} [filterParent] Parent ID to filter on.
|
|
15648
15715
|
* @param {boolean} [filterHasChildren] Filter scene-items based on whether they are the parent of at least one other scene-item
|
|
15649
15716
|
* @param {boolean} [filterHasGeometrySet] Filter scene-items based on whether they have an associated geometry-set.
|
|
15717
|
+
* @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
15650
15718
|
* @param {*} [options] Override http request option.
|
|
15651
15719
|
* @throws {RequiredError}
|
|
15652
15720
|
*/
|
|
15653
|
-
getSceneItems(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterSource?: string | undefined, filterSuppliedId?: string | undefined, filterParent?: string | undefined, filterHasChildren?: boolean | undefined, filterHasGeometrySet?: boolean | undefined, options?: any): AxiosPromise<SceneItemList>;
|
|
15721
|
+
getSceneItems(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterSource?: string | undefined, filterSuppliedId?: string | undefined, filterParent?: string | undefined, filterHasChildren?: boolean | undefined, filterHasGeometrySet?: boolean | undefined, sort?: string | undefined, options?: any): AxiosPromise<SceneItemList>;
|
|
15654
15722
|
/**
|
|
15655
15723
|
* Update a `scene-item`.
|
|
15656
15724
|
* @param {string} id The `scene-item` ID.
|
|
@@ -15791,6 +15859,12 @@ export interface SceneItemsApiGetSceneItemsRequest {
|
|
|
15791
15859
|
* @memberof SceneItemsApiGetSceneItems
|
|
15792
15860
|
*/
|
|
15793
15861
|
readonly filterHasGeometrySet?: boolean;
|
|
15862
|
+
/**
|
|
15863
|
+
* A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
15864
|
+
* @type {string}
|
|
15865
|
+
* @memberof SceneItemsApiGetSceneItems
|
|
15866
|
+
*/
|
|
15867
|
+
readonly sort?: string;
|
|
15794
15868
|
}
|
|
15795
15869
|
/**
|
|
15796
15870
|
* Request parameters for updateSceneItem operation in SceneItemsApi.
|
|
@@ -17851,6 +17925,13 @@ export declare const TranslationInspectionsApiAxiosParamCreator: (configuration?
|
|
|
17851
17925
|
* @throws {RequiredError}
|
|
17852
17926
|
*/
|
|
17853
17927
|
getQueuedTranslations: (pageCursor?: string | undefined, pageSize?: number | undefined, filterStatus?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17928
|
+
/**
|
|
17929
|
+
* Get all the specified translation jobs.
|
|
17930
|
+
* @param {QueryTranslationJobs} queryTranslationJobs
|
|
17931
|
+
* @param {*} [options] Override http request option.
|
|
17932
|
+
* @throws {RequiredError}
|
|
17933
|
+
*/
|
|
17934
|
+
postQueryTranslationJobs: (queryTranslationJobs: QueryTranslationJobs, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17854
17935
|
};
|
|
17855
17936
|
/**
|
|
17856
17937
|
* TranslationInspectionsApi - functional programming interface
|
|
@@ -17907,6 +17988,13 @@ export declare const TranslationInspectionsApiFp: (configuration?: Configuration
|
|
|
17907
17988
|
* @throws {RequiredError}
|
|
17908
17989
|
*/
|
|
17909
17990
|
getQueuedTranslations(pageCursor?: string | undefined, pageSize?: number | undefined, filterStatus?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<QueuedJobList>>;
|
|
17991
|
+
/**
|
|
17992
|
+
* Get all the specified translation jobs.
|
|
17993
|
+
* @param {QueryTranslationJobs} queryTranslationJobs
|
|
17994
|
+
* @param {*} [options] Override http request option.
|
|
17995
|
+
* @throws {RequiredError}
|
|
17996
|
+
*/
|
|
17997
|
+
postQueryTranslationJobs(queryTranslationJobs: QueryTranslationJobs, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<QueuedTranslationJobList>>;
|
|
17910
17998
|
};
|
|
17911
17999
|
/**
|
|
17912
18000
|
* TranslationInspectionsApi - factory interface
|
|
@@ -17963,6 +18051,13 @@ export declare const TranslationInspectionsApiFactory: (configuration?: Configur
|
|
|
17963
18051
|
* @throws {RequiredError}
|
|
17964
18052
|
*/
|
|
17965
18053
|
getQueuedTranslations(pageCursor?: string | undefined, pageSize?: number | undefined, filterStatus?: string | undefined, options?: any): AxiosPromise<QueuedJobList>;
|
|
18054
|
+
/**
|
|
18055
|
+
* Get all the specified translation jobs.
|
|
18056
|
+
* @param {QueryTranslationJobs} queryTranslationJobs
|
|
18057
|
+
* @param {*} [options] Override http request option.
|
|
18058
|
+
* @throws {RequiredError}
|
|
18059
|
+
*/
|
|
18060
|
+
postQueryTranslationJobs(queryTranslationJobs: QueryTranslationJobs, options?: any): AxiosPromise<QueuedTranslationJobList>;
|
|
17966
18061
|
};
|
|
17967
18062
|
/**
|
|
17968
18063
|
* Request parameters for createTranslationInspection operation in TranslationInspectionsApi.
|
|
@@ -18078,6 +18173,19 @@ export interface TranslationInspectionsApiGetQueuedTranslationsRequest {
|
|
|
18078
18173
|
*/
|
|
18079
18174
|
readonly filterStatus?: string;
|
|
18080
18175
|
}
|
|
18176
|
+
/**
|
|
18177
|
+
* Request parameters for postQueryTranslationJobs operation in TranslationInspectionsApi.
|
|
18178
|
+
* @export
|
|
18179
|
+
* @interface TranslationInspectionsApiPostQueryTranslationJobsRequest
|
|
18180
|
+
*/
|
|
18181
|
+
export interface TranslationInspectionsApiPostQueryTranslationJobsRequest {
|
|
18182
|
+
/**
|
|
18183
|
+
*
|
|
18184
|
+
* @type {QueryTranslationJobs}
|
|
18185
|
+
* @memberof TranslationInspectionsApiPostQueryTranslationJobs
|
|
18186
|
+
*/
|
|
18187
|
+
readonly queryTranslationJobs: QueryTranslationJobs;
|
|
18188
|
+
}
|
|
18081
18189
|
/**
|
|
18082
18190
|
* TranslationInspectionsApi - object-oriented interface
|
|
18083
18191
|
* @export
|
|
@@ -18135,6 +18243,14 @@ export declare class TranslationInspectionsApi extends BaseAPI {
|
|
|
18135
18243
|
* @memberof TranslationInspectionsApi
|
|
18136
18244
|
*/
|
|
18137
18245
|
getQueuedTranslations(requestParameters?: TranslationInspectionsApiGetQueuedTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueuedJobList, any>>;
|
|
18246
|
+
/**
|
|
18247
|
+
* Get all the specified translation jobs.
|
|
18248
|
+
* @param {TranslationInspectionsApiPostQueryTranslationJobsRequest} requestParameters Request parameters.
|
|
18249
|
+
* @param {*} [options] Override http request option.
|
|
18250
|
+
* @throws {RequiredError}
|
|
18251
|
+
* @memberof TranslationInspectionsApi
|
|
18252
|
+
*/
|
|
18253
|
+
postQueryTranslationJobs(requestParameters: TranslationInspectionsApiPostQueryTranslationJobsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueuedTranslationJobList, any>>;
|
|
18138
18254
|
}
|
|
18139
18255
|
/**
|
|
18140
18256
|
* UserGroupsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -31,6 +31,7 @@ export const AccountRelationshipDataTypeEnum = {
|
|
|
31
31
|
};
|
|
32
32
|
export const BatchOperationOpEnum = {
|
|
33
33
|
Add: 'add',
|
|
34
|
+
Remove: 'remove',
|
|
34
35
|
};
|
|
35
36
|
export const BatchOperationRefTypeEnum = {
|
|
36
37
|
Scene: 'scene',
|
|
@@ -7731,10 +7732,11 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
7731
7732
|
* @param {string} [filterParent] Parent ID to filter on.
|
|
7732
7733
|
* @param {boolean} [filterHasChildren] Filter scene-items based on whether they are the parent of at least one other scene-item
|
|
7733
7734
|
* @param {boolean} [filterHasGeometrySet] Filter scene-items based on whether they have an associated geometry-set.
|
|
7735
|
+
* @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
7734
7736
|
* @param {*} [options] Override http request option.
|
|
7735
7737
|
* @throws {RequiredError}
|
|
7736
7738
|
*/
|
|
7737
|
-
getSceneItems: (id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7739
|
+
getSceneItems: (id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, sort, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7738
7740
|
var _f;
|
|
7739
7741
|
// verify required parameter 'id' is not null or undefined
|
|
7740
7742
|
assertParamExists('getSceneItems', 'id', id);
|
|
@@ -7772,6 +7774,9 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
7772
7774
|
if (filterHasGeometrySet !== undefined) {
|
|
7773
7775
|
localVarQueryParameter['filter[hasGeometrySet]'] = filterHasGeometrySet;
|
|
7774
7776
|
}
|
|
7777
|
+
if (sort !== undefined) {
|
|
7778
|
+
localVarQueryParameter['sort'] = sort;
|
|
7779
|
+
}
|
|
7775
7780
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7776
7781
|
let headersFromBaseOptions = (_f = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _f !== void 0 ? _f : {};
|
|
7777
7782
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7897,12 +7902,13 @@ export const SceneItemsApiFp = function (configuration) {
|
|
|
7897
7902
|
* @param {string} [filterParent] Parent ID to filter on.
|
|
7898
7903
|
* @param {boolean} [filterHasChildren] Filter scene-items based on whether they are the parent of at least one other scene-item
|
|
7899
7904
|
* @param {boolean} [filterHasGeometrySet] Filter scene-items based on whether they have an associated geometry-set.
|
|
7905
|
+
* @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
7900
7906
|
* @param {*} [options] Override http request option.
|
|
7901
7907
|
* @throws {RequiredError}
|
|
7902
7908
|
*/
|
|
7903
|
-
getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, options) {
|
|
7909
|
+
getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, sort, options) {
|
|
7904
7910
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7905
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, options);
|
|
7911
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, sort, options);
|
|
7906
7912
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7907
7913
|
});
|
|
7908
7914
|
},
|
|
@@ -7995,12 +8001,13 @@ export const SceneItemsApiFactory = function (configuration, basePath, axios) {
|
|
|
7995
8001
|
* @param {string} [filterParent] Parent ID to filter on.
|
|
7996
8002
|
* @param {boolean} [filterHasChildren] Filter scene-items based on whether they are the parent of at least one other scene-item
|
|
7997
8003
|
* @param {boolean} [filterHasGeometrySet] Filter scene-items based on whether they have an associated geometry-set.
|
|
8004
|
+
* @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
7998
8005
|
* @param {*} [options] Override http request option.
|
|
7999
8006
|
* @throws {RequiredError}
|
|
8000
8007
|
*/
|
|
8001
|
-
getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, options) {
|
|
8008
|
+
getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, sort, options) {
|
|
8002
8009
|
return localVarFp
|
|
8003
|
-
.getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, options)
|
|
8010
|
+
.getSceneItems(id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, filterHasChildren, filterHasGeometrySet, sort, options)
|
|
8004
8011
|
.then((request) => request(axios, basePath));
|
|
8005
8012
|
},
|
|
8006
8013
|
/**
|
|
@@ -8093,7 +8100,7 @@ export class SceneItemsApi extends BaseAPI {
|
|
|
8093
8100
|
*/
|
|
8094
8101
|
getSceneItems(requestParameters, options) {
|
|
8095
8102
|
return SceneItemsApiFp(this.configuration)
|
|
8096
|
-
.getSceneItems(requestParameters.id, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterSource, requestParameters.filterSuppliedId, requestParameters.filterParent, requestParameters.filterHasChildren, requestParameters.filterHasGeometrySet, options)
|
|
8103
|
+
.getSceneItems(requestParameters.id, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterSource, requestParameters.filterSuppliedId, requestParameters.filterParent, requestParameters.filterHasChildren, requestParameters.filterHasGeometrySet, requestParameters.sort, options)
|
|
8097
8104
|
.then((request) => request(this.axios, this.basePath));
|
|
8098
8105
|
}
|
|
8099
8106
|
/**
|
|
@@ -10961,6 +10968,39 @@ export const TranslationInspectionsApiAxiosParamCreator = function (configuratio
|
|
|
10961
10968
|
options: localVarRequestOptions,
|
|
10962
10969
|
};
|
|
10963
10970
|
}),
|
|
10971
|
+
/**
|
|
10972
|
+
* Get all the specified translation jobs.
|
|
10973
|
+
* @param {QueryTranslationJobs} queryTranslationJobs
|
|
10974
|
+
* @param {*} [options] Override http request option.
|
|
10975
|
+
* @throws {RequiredError}
|
|
10976
|
+
*/
|
|
10977
|
+
postQueryTranslationJobs: (queryTranslationJobs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10978
|
+
var _g;
|
|
10979
|
+
// verify required parameter 'queryTranslationJobs' is not null or undefined
|
|
10980
|
+
assertParamExists('postQueryTranslationJobs', 'queryTranslationJobs', queryTranslationJobs);
|
|
10981
|
+
const localVarPath = `/query-translation-jobs`;
|
|
10982
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10983
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10984
|
+
let baseOptions;
|
|
10985
|
+
if (configuration) {
|
|
10986
|
+
baseOptions = configuration.baseOptions;
|
|
10987
|
+
}
|
|
10988
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
10989
|
+
const localVarHeaderParameter = {};
|
|
10990
|
+
const localVarQueryParameter = {};
|
|
10991
|
+
// authentication OAuth2 required
|
|
10992
|
+
// oauth required
|
|
10993
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
10994
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
10995
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10996
|
+
let headersFromBaseOptions = (_g = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _g !== void 0 ? _g : {};
|
|
10997
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10998
|
+
localVarRequestOptions.data = serializeDataIfNeeded(queryTranslationJobs, localVarRequestOptions, configuration);
|
|
10999
|
+
return {
|
|
11000
|
+
url: toPathString(localVarUrlObj),
|
|
11001
|
+
options: localVarRequestOptions,
|
|
11002
|
+
};
|
|
11003
|
+
}),
|
|
10964
11004
|
};
|
|
10965
11005
|
};
|
|
10966
11006
|
/**
|
|
@@ -11050,6 +11090,18 @@ export const TranslationInspectionsApiFp = function (configuration) {
|
|
|
11050
11090
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11051
11091
|
});
|
|
11052
11092
|
},
|
|
11093
|
+
/**
|
|
11094
|
+
* Get all the specified translation jobs.
|
|
11095
|
+
* @param {QueryTranslationJobs} queryTranslationJobs
|
|
11096
|
+
* @param {*} [options] Override http request option.
|
|
11097
|
+
* @throws {RequiredError}
|
|
11098
|
+
*/
|
|
11099
|
+
postQueryTranslationJobs(queryTranslationJobs, options) {
|
|
11100
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11101
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.postQueryTranslationJobs(queryTranslationJobs, options);
|
|
11102
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11103
|
+
});
|
|
11104
|
+
},
|
|
11053
11105
|
};
|
|
11054
11106
|
};
|
|
11055
11107
|
/**
|
|
@@ -11133,6 +11185,17 @@ export const TranslationInspectionsApiFactory = function (configuration, basePat
|
|
|
11133
11185
|
.getQueuedTranslations(pageCursor, pageSize, filterStatus, options)
|
|
11134
11186
|
.then((request) => request(axios, basePath));
|
|
11135
11187
|
},
|
|
11188
|
+
/**
|
|
11189
|
+
* Get all the specified translation jobs.
|
|
11190
|
+
* @param {QueryTranslationJobs} queryTranslationJobs
|
|
11191
|
+
* @param {*} [options] Override http request option.
|
|
11192
|
+
* @throws {RequiredError}
|
|
11193
|
+
*/
|
|
11194
|
+
postQueryTranslationJobs(queryTranslationJobs, options) {
|
|
11195
|
+
return localVarFp
|
|
11196
|
+
.postQueryTranslationJobs(queryTranslationJobs, options)
|
|
11197
|
+
.then((request) => request(axios, basePath));
|
|
11198
|
+
},
|
|
11136
11199
|
};
|
|
11137
11200
|
};
|
|
11138
11201
|
/**
|
|
@@ -11216,6 +11279,18 @@ export class TranslationInspectionsApi extends BaseAPI {
|
|
|
11216
11279
|
.getQueuedTranslations(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterStatus, options)
|
|
11217
11280
|
.then((request) => request(this.axios, this.basePath));
|
|
11218
11281
|
}
|
|
11282
|
+
/**
|
|
11283
|
+
* Get all the specified translation jobs.
|
|
11284
|
+
* @param {TranslationInspectionsApiPostQueryTranslationJobsRequest} requestParameters Request parameters.
|
|
11285
|
+
* @param {*} [options] Override http request option.
|
|
11286
|
+
* @throws {RequiredError}
|
|
11287
|
+
* @memberof TranslationInspectionsApi
|
|
11288
|
+
*/
|
|
11289
|
+
postQueryTranslationJobs(requestParameters, options) {
|
|
11290
|
+
return TranslationInspectionsApiFp(this.configuration)
|
|
11291
|
+
.postQueryTranslationJobs(requestParameters.queryTranslationJobs, options)
|
|
11292
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11293
|
+
}
|
|
11219
11294
|
}
|
|
11220
11295
|
/**
|
|
11221
11296
|
* UserGroupsApi - axios parameter creator
|
|
@@ -263,7 +263,12 @@ export const createSceneItemBatch = ({ client, createSceneItemReqs: createItemRe
|
|
|
263
263
|
const batchRes = yield Promise.all(batchOps.map((is) => limit(poll, is)));
|
|
264
264
|
itemResults = batchRes.flatMap((b, i) => isBatch(b.res)
|
|
265
265
|
? b.res['vertexvis/batch:results'].map((r, j) => {
|
|
266
|
-
return {
|
|
266
|
+
return {
|
|
267
|
+
// `batchOps[i].ops[j].data` is guaranteed to be of type `CreateSceneItemRequestData`, as the
|
|
268
|
+
// `createSceneItems` used to construct operations only deals with this type of payload.
|
|
269
|
+
req: batchOps[i].ops[j].data,
|
|
270
|
+
res: r,
|
|
271
|
+
};
|
|
267
272
|
})
|
|
268
273
|
: []);
|
|
269
274
|
itemErrors = itemErrors.concat(itemResults.filter((resultItem) => isApiError(resultItem.res)));
|
|
@@ -272,9 +277,14 @@ export const createSceneItemBatch = ({ client, createSceneItemReqs: createItemRe
|
|
|
272
277
|
errors.forEach((error) => {
|
|
273
278
|
console.log(error);
|
|
274
279
|
error.ops.forEach((op) => {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
280
|
+
itemErrors.push({
|
|
281
|
+
// `op.data` is guaranteed to be of type `CreateSceneItemRequestData`, as the
|
|
282
|
+
// `createSceneItems` used to construct operations only deals with this type of payload.
|
|
283
|
+
req: op.data,
|
|
284
|
+
// `error.res` guaranteed to be non-null due to `isApiError()` condition above
|
|
285
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
286
|
+
res: error.res,
|
|
287
|
+
});
|
|
278
288
|
});
|
|
279
289
|
});
|
|
280
290
|
return { batchOps, batchErrors, itemErrors, itemResults };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.
|
|
1
|
+
export declare const version = "0.34.0";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '0.
|
|
1
|
+
export const version = '0.34.0';
|
|
@@ -80,7 +80,7 @@ export declare class VertexClient {
|
|
|
80
80
|
oAuth2: Oauth2Api;
|
|
81
81
|
partRevisions: PartRevisionsApi;
|
|
82
82
|
parts: PartsApi;
|
|
83
|
-
|
|
83
|
+
propertyEntries: PropertyEntriesApi;
|
|
84
84
|
sceneAlterations: SceneAlterationsApi;
|
|
85
85
|
sceneAnnotations: SceneAnnotationsApi;
|
|
86
86
|
sceneItemOverrides: SceneItemOverridesApi;
|
|
@@ -80,7 +80,7 @@ export class VertexClient {
|
|
|
80
80
|
this.hits = new HitsApi(this.config, undefined, axiosInst);
|
|
81
81
|
this.partRevisions = new PartRevisionsApi(this.config, undefined, axiosInst);
|
|
82
82
|
this.parts = new PartsApi(this.config, undefined, axiosInst);
|
|
83
|
-
this.
|
|
83
|
+
this.propertyEntries = new PropertyEntriesApi(this.config, undefined, axiosInst);
|
|
84
84
|
this.sceneAlterations = new SceneAlterationsApi(this.config, undefined, axiosInst);
|
|
85
85
|
this.sceneAnnotations = new SceneAnnotationsApi(this.config, undefined, axiosInst);
|
|
86
86
|
this.sceneItemOverrides = new SceneItemOverridesApi(this.config, undefined, axiosInst);
|
package/package.json
CHANGED