@vertexvis/api-client-node 0.22.2 → 0.22.4
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 +1366 -169
- package/dist/cjs/api.js +695 -15
- package/dist/cjs/client/helpers/parts.js +1 -1
- package/dist/cjs/client/helpers/queued-jobs.js +3 -2
- package/dist/cjs/client/version.d.ts +1 -1
- package/dist/cjs/client/version.js +1 -1
- package/dist/esm/api.d.ts +1366 -169
- package/dist/esm/api.js +684 -12
- package/dist/esm/client/helpers/parts.js +1 -1
- package/dist/esm/client/helpers/queued-jobs.js +3 -2
- package/dist/esm/client/version.d.ts +1 -1
- package/dist/esm/client/version.js +1 -1
- package/package.json +2 -2
package/dist/cjs/api.js
CHANGED
|
@@ -25,9 +25,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.WebhookSubscriptionsApi = exports.WebhookSubscriptionsApiFactory = exports.WebhookSubscriptionsApiFp = exports.WebhookSubscriptionsApiAxiosParamCreator = exports.TranslationInspectionsApi = exports.TranslationInspectionsApiFactory = exports.TranslationInspectionsApiFp = exports.TranslationInspectionsApiAxiosParamCreator = exports.StreamKeysApi = exports.StreamKeysApiFactory = exports.StreamKeysApiFp = exports.StreamKeysApiAxiosParamCreator = exports.ScenesApi = exports.ScenesApiFactory = exports.ScenesApiFp = exports.ScenesApiAxiosParamCreator = exports.SceneViewsApi = exports.SceneViewsApiFactory = exports.SceneViewsApiFp = void 0;
|
|
28
|
+
exports.BatchesApiFp = exports.BatchesApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.WebhookSubscriptionDataAttributesStatusEnum = exports.WebhookEventDataRelationshipsOwnerDataTypeEnum = exports.ViewRepByPredefinedIdOpIdEnum = exports.ViewRepByPredefinedIdOpTypeEnum = exports.ViewRepByIdOpTypeEnum = exports.ViewRenBySuppliedIdOpTypeEnum = exports.ViewRenByIdOpTypeEnum = exports.ViewDefaultRenOpTypeEnum = exports.UpdateWebhookSubscriptionRequestDataAttributesStatusEnum = exports.UpdateSceneRequestDataAttributesStateEnum = exports.UpdateItemToDefaultRenditionOperationTypeEnum = exports.UpdateAccountRequestDataAttributesStatusEnum = exports.SelectOpTypeEnum = exports.SceneViewStateRelationshipDataTypeEnum = exports.SceneViewRelationshipDataTypeEnum = exports.SceneRelationshipDataTypeEnum = exports.SceneItemRelationshipDataTypeEnum = exports.QueryByIdDataAttributesTypeEnum = exports.QueryByIdDataTypeEnum = exports.QueryByCollectionDataAttributesTypeEnum = exports.QueryByCollectionDataTypeEnum = exports.QueryAll = exports.PartRenditionRelationshipDataTypeEnum = exports.PartRelationshipDataTypeEnum = exports.PartDataRelationshipsPartRevisionsTypeEnum = exports.GeometrySetRelationshipDataTypeEnum = exports.FileRelationshipDataTypeEnum = exports.ExportStateRelationshipDataTypeEnum = exports.ExportRelationshipDataTypeEnum = exports.DeselectOperationTypeEnum = exports.ClearTransformOpTypeEnum = exports.ClearRepOpTypeEnum = exports.ClearRenOpTypeEnum = exports.ClearMaterialOpTypeEnum = exports.ChangeVisibilityOpTypeEnum = exports.ChangeTransformOpTypeEnum = exports.ChangeMaterialOpTypeEnum = exports.CameraFitTypeEnum = exports.BatchOperationRefTypeEnum = exports.BatchOperationOpEnum = void 0;
|
|
29
|
+
exports.SceneItemsApi = exports.SceneItemsApiFactory = exports.SceneItemsApiFp = exports.SceneItemsApiAxiosParamCreator = exports.SceneItemOverridesApi = exports.SceneItemOverridesApiFactory = exports.SceneItemOverridesApiFp = exports.SceneItemOverridesApiAxiosParamCreator = exports.SceneAnnotationsApi = exports.SceneAnnotationsApiFactory = exports.SceneAnnotationsApiFp = exports.SceneAnnotationsApiAxiosParamCreator = exports.SceneAlterationsApi = exports.SceneAlterationsApiFactory = exports.SceneAlterationsApiFp = exports.SceneAlterationsApiAxiosParamCreator = exports.PartsApi = exports.PartsApiFactory = exports.PartsApiFp = exports.PartsApiAxiosParamCreator = exports.PartRevisionsApi = exports.PartRevisionsApiFactory = exports.PartRevisionsApiFp = exports.PartRevisionsApiAxiosParamCreator = exports.PartRenditionsApi = exports.PartRenditionsApiFactory = exports.PartRenditionsApiFp = exports.PartRenditionsApiAxiosParamCreator = exports.Oauth2Api = exports.Oauth2ApiFactory = exports.Oauth2ApiFp = exports.Oauth2ApiAxiosParamCreator = exports.HitsApi = exports.HitsApiFactory = exports.HitsApiFp = exports.HitsApiAxiosParamCreator = exports.GeometrySetsApi = exports.GeometrySetsApiFactory = exports.GeometrySetsApiFp = exports.GeometrySetsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.ExportsApi = exports.ExportsApiFactory = exports.ExportsApiFp = exports.ExportsApiAxiosParamCreator = exports.BatchesApi = exports.BatchesApiFactory = void 0;
|
|
30
|
+
exports.WebhookSubscriptionsApi = exports.WebhookSubscriptionsApiFactory = exports.WebhookSubscriptionsApiFp = exports.WebhookSubscriptionsApiAxiosParamCreator = exports.TranslationInspectionsApi = exports.TranslationInspectionsApiFactory = exports.TranslationInspectionsApiFp = exports.TranslationInspectionsApiAxiosParamCreator = exports.StreamKeysApi = exports.StreamKeysApiFactory = exports.StreamKeysApiFp = exports.StreamKeysApiAxiosParamCreator = exports.ScenesApi = exports.ScenesApiFactory = exports.ScenesApiFp = exports.ScenesApiAxiosParamCreator = exports.SceneViewsApi = exports.SceneViewsApiFactory = exports.SceneViewsApiFp = exports.SceneViewsApiAxiosParamCreator = exports.SceneViewStatesApi = exports.SceneViewStatesApiFactory = exports.SceneViewStatesApiFp = exports.SceneViewStatesApiAxiosParamCreator = exports.SceneSynchronizationsApi = exports.SceneSynchronizationsApiFactory = exports.SceneSynchronizationsApiFp = exports.SceneSynchronizationsApiAxiosParamCreator = void 0;
|
|
31
31
|
const axios_1 = __importDefault(require("axios"));
|
|
32
32
|
// Some imports not used depending on template conditions
|
|
33
33
|
// @ts-ignore
|
|
@@ -130,6 +130,9 @@ exports.UpdateAccountRequestDataAttributesStatusEnum = {
|
|
|
130
130
|
Active: 'active',
|
|
131
131
|
Disabled: 'disabled',
|
|
132
132
|
};
|
|
133
|
+
exports.UpdateItemToDefaultRenditionOperationTypeEnum = {
|
|
134
|
+
UpdateToDefaultRendition: 'update-to-default-rendition',
|
|
135
|
+
};
|
|
133
136
|
exports.UpdateSceneRequestDataAttributesStateEnum = {
|
|
134
137
|
Draft: 'draft',
|
|
135
138
|
Commit: 'commit',
|
|
@@ -653,10 +656,11 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
653
656
|
* Get `applications`.
|
|
654
657
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
655
658
|
* @param {number} [pageSize] The number of items to return.
|
|
659
|
+
* @param {string} [filterClientId] Comma-separated list of client IDs to filter on.
|
|
656
660
|
* @param {*} [options] Override http request option.
|
|
657
661
|
* @throws {RequiredError}
|
|
658
662
|
*/
|
|
659
|
-
getApplications: (pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
663
|
+
getApplications: (pageCursor, pageSize, filterClientId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
660
664
|
var _d;
|
|
661
665
|
const localVarPath = `/applications`;
|
|
662
666
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -677,6 +681,9 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
677
681
|
if (pageSize !== undefined) {
|
|
678
682
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
679
683
|
}
|
|
684
|
+
if (filterClientId !== undefined) {
|
|
685
|
+
localVarQueryParameter['filter[clientId]'] = filterClientId;
|
|
686
|
+
}
|
|
680
687
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
681
688
|
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
682
689
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -771,12 +778,13 @@ const ApplicationsApiFp = function (configuration) {
|
|
|
771
778
|
* Get `applications`.
|
|
772
779
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
773
780
|
* @param {number} [pageSize] The number of items to return.
|
|
781
|
+
* @param {string} [filterClientId] Comma-separated list of client IDs to filter on.
|
|
774
782
|
* @param {*} [options] Override http request option.
|
|
775
783
|
* @throws {RequiredError}
|
|
776
784
|
*/
|
|
777
|
-
getApplications(pageCursor, pageSize, options) {
|
|
785
|
+
getApplications(pageCursor, pageSize, filterClientId, options) {
|
|
778
786
|
return __awaiter(this, void 0, void 0, function* () {
|
|
779
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getApplications(pageCursor, pageSize, options);
|
|
787
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getApplications(pageCursor, pageSize, filterClientId, options);
|
|
780
788
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
781
789
|
});
|
|
782
790
|
},
|
|
@@ -840,12 +848,13 @@ const ApplicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
840
848
|
* Get `applications`.
|
|
841
849
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
842
850
|
* @param {number} [pageSize] The number of items to return.
|
|
851
|
+
* @param {string} [filterClientId] Comma-separated list of client IDs to filter on.
|
|
843
852
|
* @param {*} [options] Override http request option.
|
|
844
853
|
* @throws {RequiredError}
|
|
845
854
|
*/
|
|
846
|
-
getApplications(pageCursor, pageSize, options) {
|
|
855
|
+
getApplications(pageCursor, pageSize, filterClientId, options) {
|
|
847
856
|
return localVarFp
|
|
848
|
-
.getApplications(pageCursor, pageSize, options)
|
|
857
|
+
.getApplications(pageCursor, pageSize, filterClientId, options)
|
|
849
858
|
.then((request) => request(axios, basePath));
|
|
850
859
|
},
|
|
851
860
|
/**
|
|
@@ -915,7 +924,7 @@ class ApplicationsApi extends base_1.BaseAPI {
|
|
|
915
924
|
*/
|
|
916
925
|
getApplications(requestParameters = {}, options) {
|
|
917
926
|
return (0, exports.ApplicationsApiFp)(this.configuration)
|
|
918
|
-
.getApplications(requestParameters.pageCursor, requestParameters.pageSize, options)
|
|
927
|
+
.getApplications(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterClientId, options)
|
|
919
928
|
.then((request) => request(this.axios, this.basePath));
|
|
920
929
|
}
|
|
921
930
|
/**
|
|
@@ -4107,6 +4116,329 @@ class SceneAlterationsApi extends base_1.BaseAPI {
|
|
|
4107
4116
|
}
|
|
4108
4117
|
}
|
|
4109
4118
|
exports.SceneAlterationsApi = SceneAlterationsApi;
|
|
4119
|
+
/**
|
|
4120
|
+
* SceneAnnotationsApi - axios parameter creator
|
|
4121
|
+
* @export
|
|
4122
|
+
*/
|
|
4123
|
+
const SceneAnnotationsApiAxiosParamCreator = function (configuration) {
|
|
4124
|
+
return {
|
|
4125
|
+
/**
|
|
4126
|
+
* Create an annotation belonging to an annotation set. **Preview:** This is a preview API and is subject to change.
|
|
4127
|
+
* @param {string} id The `scene-annotation-set` ID.
|
|
4128
|
+
* @param {CreateSceneAnnotationRequest} createSceneAnnotationRequest
|
|
4129
|
+
* @param {*} [options] Override http request option.
|
|
4130
|
+
* @throws {RequiredError}
|
|
4131
|
+
*/
|
|
4132
|
+
createSceneAnnotation: (id, createSceneAnnotationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4133
|
+
var _a;
|
|
4134
|
+
// verify required parameter 'id' is not null or undefined
|
|
4135
|
+
(0, common_1.assertParamExists)('createSceneAnnotation', 'id', id);
|
|
4136
|
+
// verify required parameter 'createSceneAnnotationRequest' is not null or undefined
|
|
4137
|
+
(0, common_1.assertParamExists)('createSceneAnnotation', 'createSceneAnnotationRequest', createSceneAnnotationRequest);
|
|
4138
|
+
const localVarPath = `/scene-annotation-sets/{id}/scene-annotations`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4139
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4140
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4141
|
+
let baseOptions;
|
|
4142
|
+
if (configuration) {
|
|
4143
|
+
baseOptions = configuration.baseOptions;
|
|
4144
|
+
}
|
|
4145
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4146
|
+
const localVarHeaderParameter = {};
|
|
4147
|
+
const localVarQueryParameter = {};
|
|
4148
|
+
// authentication OAuth2 required
|
|
4149
|
+
// oauth required
|
|
4150
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4151
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4152
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4153
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
4154
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4155
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSceneAnnotationRequest, localVarRequestOptions, configuration);
|
|
4156
|
+
return {
|
|
4157
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4158
|
+
options: localVarRequestOptions,
|
|
4159
|
+
};
|
|
4160
|
+
}),
|
|
4161
|
+
/**
|
|
4162
|
+
* Create an annotation set that is associated with a scene. **Preview:** This is a preview API and is subject to change.
|
|
4163
|
+
* @param {string} id The `scene` ID.
|
|
4164
|
+
* @param {CreateSceneAnnotationSetRequest} createSceneAnnotationSetRequest
|
|
4165
|
+
* @param {*} [options] Override http request option.
|
|
4166
|
+
* @throws {RequiredError}
|
|
4167
|
+
*/
|
|
4168
|
+
createSceneAnnotationSet: (id, createSceneAnnotationSetRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4169
|
+
var _b;
|
|
4170
|
+
// verify required parameter 'id' is not null or undefined
|
|
4171
|
+
(0, common_1.assertParamExists)('createSceneAnnotationSet', 'id', id);
|
|
4172
|
+
// verify required parameter 'createSceneAnnotationSetRequest' is not null or undefined
|
|
4173
|
+
(0, common_1.assertParamExists)('createSceneAnnotationSet', 'createSceneAnnotationSetRequest', createSceneAnnotationSetRequest);
|
|
4174
|
+
const localVarPath = `/scenes/{id}/scene-annotation-sets`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4175
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4176
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4177
|
+
let baseOptions;
|
|
4178
|
+
if (configuration) {
|
|
4179
|
+
baseOptions = configuration.baseOptions;
|
|
4180
|
+
}
|
|
4181
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4182
|
+
const localVarHeaderParameter = {};
|
|
4183
|
+
const localVarQueryParameter = {};
|
|
4184
|
+
// authentication OAuth2 required
|
|
4185
|
+
// oauth required
|
|
4186
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4187
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4188
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4189
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
4190
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4191
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSceneAnnotationSetRequest, localVarRequestOptions, configuration);
|
|
4192
|
+
return {
|
|
4193
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4194
|
+
options: localVarRequestOptions,
|
|
4195
|
+
};
|
|
4196
|
+
}),
|
|
4197
|
+
/**
|
|
4198
|
+
* Delete a scene annotation. **Preview:** This is a preview API and is subject to change.
|
|
4199
|
+
* @param {string} id The `scene-annotation` ID.
|
|
4200
|
+
* @param {*} [options] Override http request option.
|
|
4201
|
+
* @throws {RequiredError}
|
|
4202
|
+
*/
|
|
4203
|
+
deleteSceneAnnotation: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4204
|
+
var _c;
|
|
4205
|
+
// verify required parameter 'id' is not null or undefined
|
|
4206
|
+
(0, common_1.assertParamExists)('deleteSceneAnnotation', 'id', id);
|
|
4207
|
+
const localVarPath = `/scene-annotations/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4208
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4209
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4210
|
+
let baseOptions;
|
|
4211
|
+
if (configuration) {
|
|
4212
|
+
baseOptions = configuration.baseOptions;
|
|
4213
|
+
}
|
|
4214
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
4215
|
+
const localVarHeaderParameter = {};
|
|
4216
|
+
const localVarQueryParameter = {};
|
|
4217
|
+
// authentication OAuth2 required
|
|
4218
|
+
// oauth required
|
|
4219
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4220
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4221
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
4222
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4223
|
+
return {
|
|
4224
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4225
|
+
options: localVarRequestOptions,
|
|
4226
|
+
};
|
|
4227
|
+
}),
|
|
4228
|
+
/**
|
|
4229
|
+
* Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
|
|
4230
|
+
* @param {string} id The `scene-annotation` ID.
|
|
4231
|
+
* @param {UpdateSceneAnnotationRequest} updateSceneAnnotationRequest
|
|
4232
|
+
* @param {*} [options] Override http request option.
|
|
4233
|
+
* @throws {RequiredError}
|
|
4234
|
+
*/
|
|
4235
|
+
updateSceneAnnotation: (id, updateSceneAnnotationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4236
|
+
var _d;
|
|
4237
|
+
// verify required parameter 'id' is not null or undefined
|
|
4238
|
+
(0, common_1.assertParamExists)('updateSceneAnnotation', 'id', id);
|
|
4239
|
+
// verify required parameter 'updateSceneAnnotationRequest' is not null or undefined
|
|
4240
|
+
(0, common_1.assertParamExists)('updateSceneAnnotation', 'updateSceneAnnotationRequest', updateSceneAnnotationRequest);
|
|
4241
|
+
const localVarPath = `/scene-annotations/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4242
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4243
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4244
|
+
let baseOptions;
|
|
4245
|
+
if (configuration) {
|
|
4246
|
+
baseOptions = configuration.baseOptions;
|
|
4247
|
+
}
|
|
4248
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
4249
|
+
const localVarHeaderParameter = {};
|
|
4250
|
+
const localVarQueryParameter = {};
|
|
4251
|
+
// authentication OAuth2 required
|
|
4252
|
+
// oauth required
|
|
4253
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4254
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4255
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4256
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
4257
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4258
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSceneAnnotationRequest, localVarRequestOptions, configuration);
|
|
4259
|
+
return {
|
|
4260
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4261
|
+
options: localVarRequestOptions,
|
|
4262
|
+
};
|
|
4263
|
+
}),
|
|
4264
|
+
};
|
|
4265
|
+
};
|
|
4266
|
+
exports.SceneAnnotationsApiAxiosParamCreator = SceneAnnotationsApiAxiosParamCreator;
|
|
4267
|
+
/**
|
|
4268
|
+
* SceneAnnotationsApi - functional programming interface
|
|
4269
|
+
* @export
|
|
4270
|
+
*/
|
|
4271
|
+
const SceneAnnotationsApiFp = function (configuration) {
|
|
4272
|
+
const localVarAxiosParamCreator = (0, exports.SceneAnnotationsApiAxiosParamCreator)(configuration);
|
|
4273
|
+
return {
|
|
4274
|
+
/**
|
|
4275
|
+
* Create an annotation belonging to an annotation set. **Preview:** This is a preview API and is subject to change.
|
|
4276
|
+
* @param {string} id The `scene-annotation-set` ID.
|
|
4277
|
+
* @param {CreateSceneAnnotationRequest} createSceneAnnotationRequest
|
|
4278
|
+
* @param {*} [options] Override http request option.
|
|
4279
|
+
* @throws {RequiredError}
|
|
4280
|
+
*/
|
|
4281
|
+
createSceneAnnotation(id, createSceneAnnotationRequest, options) {
|
|
4282
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4283
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSceneAnnotation(id, createSceneAnnotationRequest, options);
|
|
4284
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
4285
|
+
});
|
|
4286
|
+
},
|
|
4287
|
+
/**
|
|
4288
|
+
* Create an annotation set that is associated with a scene. **Preview:** This is a preview API and is subject to change.
|
|
4289
|
+
* @param {string} id The `scene` ID.
|
|
4290
|
+
* @param {CreateSceneAnnotationSetRequest} createSceneAnnotationSetRequest
|
|
4291
|
+
* @param {*} [options] Override http request option.
|
|
4292
|
+
* @throws {RequiredError}
|
|
4293
|
+
*/
|
|
4294
|
+
createSceneAnnotationSet(id, createSceneAnnotationSetRequest, options) {
|
|
4295
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4296
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSceneAnnotationSet(id, createSceneAnnotationSetRequest, options);
|
|
4297
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
4298
|
+
});
|
|
4299
|
+
},
|
|
4300
|
+
/**
|
|
4301
|
+
* Delete a scene annotation. **Preview:** This is a preview API and is subject to change.
|
|
4302
|
+
* @param {string} id The `scene-annotation` ID.
|
|
4303
|
+
* @param {*} [options] Override http request option.
|
|
4304
|
+
* @throws {RequiredError}
|
|
4305
|
+
*/
|
|
4306
|
+
deleteSceneAnnotation(id, options) {
|
|
4307
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4308
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSceneAnnotation(id, options);
|
|
4309
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
4310
|
+
});
|
|
4311
|
+
},
|
|
4312
|
+
/**
|
|
4313
|
+
* Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
|
|
4314
|
+
* @param {string} id The `scene-annotation` ID.
|
|
4315
|
+
* @param {UpdateSceneAnnotationRequest} updateSceneAnnotationRequest
|
|
4316
|
+
* @param {*} [options] Override http request option.
|
|
4317
|
+
* @throws {RequiredError}
|
|
4318
|
+
*/
|
|
4319
|
+
updateSceneAnnotation(id, updateSceneAnnotationRequest, options) {
|
|
4320
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4321
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateSceneAnnotation(id, updateSceneAnnotationRequest, options);
|
|
4322
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
4323
|
+
});
|
|
4324
|
+
},
|
|
4325
|
+
};
|
|
4326
|
+
};
|
|
4327
|
+
exports.SceneAnnotationsApiFp = SceneAnnotationsApiFp;
|
|
4328
|
+
/**
|
|
4329
|
+
* SceneAnnotationsApi - factory interface
|
|
4330
|
+
* @export
|
|
4331
|
+
*/
|
|
4332
|
+
const SceneAnnotationsApiFactory = function (configuration, basePath, axios) {
|
|
4333
|
+
const localVarFp = (0, exports.SceneAnnotationsApiFp)(configuration);
|
|
4334
|
+
return {
|
|
4335
|
+
/**
|
|
4336
|
+
* Create an annotation belonging to an annotation set. **Preview:** This is a preview API and is subject to change.
|
|
4337
|
+
* @param {string} id The `scene-annotation-set` ID.
|
|
4338
|
+
* @param {CreateSceneAnnotationRequest} createSceneAnnotationRequest
|
|
4339
|
+
* @param {*} [options] Override http request option.
|
|
4340
|
+
* @throws {RequiredError}
|
|
4341
|
+
*/
|
|
4342
|
+
createSceneAnnotation(id, createSceneAnnotationRequest, options) {
|
|
4343
|
+
return localVarFp
|
|
4344
|
+
.createSceneAnnotation(id, createSceneAnnotationRequest, options)
|
|
4345
|
+
.then((request) => request(axios, basePath));
|
|
4346
|
+
},
|
|
4347
|
+
/**
|
|
4348
|
+
* Create an annotation set that is associated with a scene. **Preview:** This is a preview API and is subject to change.
|
|
4349
|
+
* @param {string} id The `scene` ID.
|
|
4350
|
+
* @param {CreateSceneAnnotationSetRequest} createSceneAnnotationSetRequest
|
|
4351
|
+
* @param {*} [options] Override http request option.
|
|
4352
|
+
* @throws {RequiredError}
|
|
4353
|
+
*/
|
|
4354
|
+
createSceneAnnotationSet(id, createSceneAnnotationSetRequest, options) {
|
|
4355
|
+
return localVarFp
|
|
4356
|
+
.createSceneAnnotationSet(id, createSceneAnnotationSetRequest, options)
|
|
4357
|
+
.then((request) => request(axios, basePath));
|
|
4358
|
+
},
|
|
4359
|
+
/**
|
|
4360
|
+
* Delete a scene annotation. **Preview:** This is a preview API and is subject to change.
|
|
4361
|
+
* @param {string} id The `scene-annotation` ID.
|
|
4362
|
+
* @param {*} [options] Override http request option.
|
|
4363
|
+
* @throws {RequiredError}
|
|
4364
|
+
*/
|
|
4365
|
+
deleteSceneAnnotation(id, options) {
|
|
4366
|
+
return localVarFp
|
|
4367
|
+
.deleteSceneAnnotation(id, options)
|
|
4368
|
+
.then((request) => request(axios, basePath));
|
|
4369
|
+
},
|
|
4370
|
+
/**
|
|
4371
|
+
* Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
|
|
4372
|
+
* @param {string} id The `scene-annotation` ID.
|
|
4373
|
+
* @param {UpdateSceneAnnotationRequest} updateSceneAnnotationRequest
|
|
4374
|
+
* @param {*} [options] Override http request option.
|
|
4375
|
+
* @throws {RequiredError}
|
|
4376
|
+
*/
|
|
4377
|
+
updateSceneAnnotation(id, updateSceneAnnotationRequest, options) {
|
|
4378
|
+
return localVarFp
|
|
4379
|
+
.updateSceneAnnotation(id, updateSceneAnnotationRequest, options)
|
|
4380
|
+
.then((request) => request(axios, basePath));
|
|
4381
|
+
},
|
|
4382
|
+
};
|
|
4383
|
+
};
|
|
4384
|
+
exports.SceneAnnotationsApiFactory = SceneAnnotationsApiFactory;
|
|
4385
|
+
/**
|
|
4386
|
+
* SceneAnnotationsApi - object-oriented interface
|
|
4387
|
+
* @export
|
|
4388
|
+
* @class SceneAnnotationsApi
|
|
4389
|
+
* @extends {BaseAPI}
|
|
4390
|
+
*/
|
|
4391
|
+
class SceneAnnotationsApi extends base_1.BaseAPI {
|
|
4392
|
+
/**
|
|
4393
|
+
* Create an annotation belonging to an annotation set. **Preview:** This is a preview API and is subject to change.
|
|
4394
|
+
* @param {SceneAnnotationsApiCreateSceneAnnotationRequest} requestParameters Request parameters.
|
|
4395
|
+
* @param {*} [options] Override http request option.
|
|
4396
|
+
* @throws {RequiredError}
|
|
4397
|
+
* @memberof SceneAnnotationsApi
|
|
4398
|
+
*/
|
|
4399
|
+
createSceneAnnotation(requestParameters, options) {
|
|
4400
|
+
return (0, exports.SceneAnnotationsApiFp)(this.configuration)
|
|
4401
|
+
.createSceneAnnotation(requestParameters.id, requestParameters.createSceneAnnotationRequest, options)
|
|
4402
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4403
|
+
}
|
|
4404
|
+
/**
|
|
4405
|
+
* Create an annotation set that is associated with a scene. **Preview:** This is a preview API and is subject to change.
|
|
4406
|
+
* @param {SceneAnnotationsApiCreateSceneAnnotationSetRequest} requestParameters Request parameters.
|
|
4407
|
+
* @param {*} [options] Override http request option.
|
|
4408
|
+
* @throws {RequiredError}
|
|
4409
|
+
* @memberof SceneAnnotationsApi
|
|
4410
|
+
*/
|
|
4411
|
+
createSceneAnnotationSet(requestParameters, options) {
|
|
4412
|
+
return (0, exports.SceneAnnotationsApiFp)(this.configuration)
|
|
4413
|
+
.createSceneAnnotationSet(requestParameters.id, requestParameters.createSceneAnnotationSetRequest, options)
|
|
4414
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4415
|
+
}
|
|
4416
|
+
/**
|
|
4417
|
+
* Delete a scene annotation. **Preview:** This is a preview API and is subject to change.
|
|
4418
|
+
* @param {SceneAnnotationsApiDeleteSceneAnnotationRequest} requestParameters Request parameters.
|
|
4419
|
+
* @param {*} [options] Override http request option.
|
|
4420
|
+
* @throws {RequiredError}
|
|
4421
|
+
* @memberof SceneAnnotationsApi
|
|
4422
|
+
*/
|
|
4423
|
+
deleteSceneAnnotation(requestParameters, options) {
|
|
4424
|
+
return (0, exports.SceneAnnotationsApiFp)(this.configuration)
|
|
4425
|
+
.deleteSceneAnnotation(requestParameters.id, options)
|
|
4426
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4427
|
+
}
|
|
4428
|
+
/**
|
|
4429
|
+
* Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
|
|
4430
|
+
* @param {SceneAnnotationsApiUpdateSceneAnnotationRequest} requestParameters Request parameters.
|
|
4431
|
+
* @param {*} [options] Override http request option.
|
|
4432
|
+
* @throws {RequiredError}
|
|
4433
|
+
* @memberof SceneAnnotationsApi
|
|
4434
|
+
*/
|
|
4435
|
+
updateSceneAnnotation(requestParameters, options) {
|
|
4436
|
+
return (0, exports.SceneAnnotationsApiFp)(this.configuration)
|
|
4437
|
+
.updateSceneAnnotation(requestParameters.id, requestParameters.updateSceneAnnotationRequest, options)
|
|
4438
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4439
|
+
}
|
|
4440
|
+
}
|
|
4441
|
+
exports.SceneAnnotationsApi = SceneAnnotationsApi;
|
|
4110
4442
|
/**
|
|
4111
4443
|
* SceneItemOverridesApi - axios parameter creator
|
|
4112
4444
|
* @export
|
|
@@ -4985,6 +5317,333 @@ class SceneItemsApi extends base_1.BaseAPI {
|
|
|
4985
5317
|
}
|
|
4986
5318
|
}
|
|
4987
5319
|
exports.SceneItemsApi = SceneItemsApi;
|
|
5320
|
+
/**
|
|
5321
|
+
* SceneSynchronizationsApi - axios parameter creator
|
|
5322
|
+
* @export
|
|
5323
|
+
*/
|
|
5324
|
+
const SceneSynchronizationsApiAxiosParamCreator = function (configuration) {
|
|
5325
|
+
return {
|
|
5326
|
+
/**
|
|
5327
|
+
* Create a scene item update job.
|
|
5328
|
+
* @param {string} id The `scene` ID.
|
|
5329
|
+
* @param {CreateSceneSyncRequest} createSceneSyncRequest
|
|
5330
|
+
* @param {*} [options] Override http request option.
|
|
5331
|
+
* @throws {RequiredError}
|
|
5332
|
+
*/
|
|
5333
|
+
createSceneSync: (id, createSceneSyncRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5334
|
+
var _a;
|
|
5335
|
+
// verify required parameter 'id' is not null or undefined
|
|
5336
|
+
(0, common_1.assertParamExists)('createSceneSync', 'id', id);
|
|
5337
|
+
// verify required parameter 'createSceneSyncRequest' is not null or undefined
|
|
5338
|
+
(0, common_1.assertParamExists)('createSceneSync', 'createSceneSyncRequest', createSceneSyncRequest);
|
|
5339
|
+
const localVarPath = `/scenes/{id}/scene-syncs`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
5340
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5341
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5342
|
+
let baseOptions;
|
|
5343
|
+
if (configuration) {
|
|
5344
|
+
baseOptions = configuration.baseOptions;
|
|
5345
|
+
}
|
|
5346
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5347
|
+
const localVarHeaderParameter = {};
|
|
5348
|
+
const localVarQueryParameter = {};
|
|
5349
|
+
// authentication OAuth2 required
|
|
5350
|
+
// oauth required
|
|
5351
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5352
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5353
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5354
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
5355
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5356
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSceneSyncRequest, localVarRequestOptions, configuration);
|
|
5357
|
+
return {
|
|
5358
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5359
|
+
options: localVarRequestOptions,
|
|
5360
|
+
};
|
|
5361
|
+
}),
|
|
5362
|
+
/**
|
|
5363
|
+
* Get a `queued-scene-sync-job`.
|
|
5364
|
+
* @param {string} id The `queued-scene-sync` ID.
|
|
5365
|
+
* @param {*} [options] Override http request option.
|
|
5366
|
+
* @throws {RequiredError}
|
|
5367
|
+
*/
|
|
5368
|
+
getQueuedSceneSync: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5369
|
+
var _b;
|
|
5370
|
+
// verify required parameter 'id' is not null or undefined
|
|
5371
|
+
(0, common_1.assertParamExists)('getQueuedSceneSync', 'id', id);
|
|
5372
|
+
const localVarPath = `/queued-scene-syncs/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
5373
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5374
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5375
|
+
let baseOptions;
|
|
5376
|
+
if (configuration) {
|
|
5377
|
+
baseOptions = configuration.baseOptions;
|
|
5378
|
+
}
|
|
5379
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5380
|
+
const localVarHeaderParameter = {};
|
|
5381
|
+
const localVarQueryParameter = {};
|
|
5382
|
+
// authentication OAuth2 required
|
|
5383
|
+
// oauth required
|
|
5384
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5385
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5386
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
5387
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5388
|
+
return {
|
|
5389
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5390
|
+
options: localVarRequestOptions,
|
|
5391
|
+
};
|
|
5392
|
+
}),
|
|
5393
|
+
/**
|
|
5394
|
+
* Get a `scene-sync`.
|
|
5395
|
+
* @param {string} id The `scene-sync` ID.
|
|
5396
|
+
* @param {*} [options] Override http request option.
|
|
5397
|
+
* @throws {RequiredError}
|
|
5398
|
+
*/
|
|
5399
|
+
getSceneSync: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5400
|
+
var _c;
|
|
5401
|
+
// verify required parameter 'id' is not null or undefined
|
|
5402
|
+
(0, common_1.assertParamExists)('getSceneSync', 'id', id);
|
|
5403
|
+
const localVarPath = `/scene-syncs/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
5404
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5405
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5406
|
+
let baseOptions;
|
|
5407
|
+
if (configuration) {
|
|
5408
|
+
baseOptions = configuration.baseOptions;
|
|
5409
|
+
}
|
|
5410
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5411
|
+
const localVarHeaderParameter = {};
|
|
5412
|
+
const localVarQueryParameter = {};
|
|
5413
|
+
// authentication OAuth2 required
|
|
5414
|
+
// oauth required
|
|
5415
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5416
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5417
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
5418
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5419
|
+
return {
|
|
5420
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5421
|
+
options: localVarRequestOptions,
|
|
5422
|
+
};
|
|
5423
|
+
}),
|
|
5424
|
+
/**
|
|
5425
|
+
* Get the results of a scene synchronization.
|
|
5426
|
+
* @param {string} id The `scene-sync` ID.
|
|
5427
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
5428
|
+
* @param {number} [pageSize] The number of items to return.
|
|
5429
|
+
* @param {string} [filterSceneItemId] List of scene item IDs to filter on.
|
|
5430
|
+
* @param {*} [options] Override http request option.
|
|
5431
|
+
* @throws {RequiredError}
|
|
5432
|
+
*/
|
|
5433
|
+
getSceneSyncItemResults: (id, pageCursor, pageSize, filterSceneItemId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5434
|
+
var _d;
|
|
5435
|
+
// verify required parameter 'id' is not null or undefined
|
|
5436
|
+
(0, common_1.assertParamExists)('getSceneSyncItemResults', 'id', id);
|
|
5437
|
+
const localVarPath = `/scene-syncs/{id}/item-results`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
5438
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5439
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5440
|
+
let baseOptions;
|
|
5441
|
+
if (configuration) {
|
|
5442
|
+
baseOptions = configuration.baseOptions;
|
|
5443
|
+
}
|
|
5444
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5445
|
+
const localVarHeaderParameter = {};
|
|
5446
|
+
const localVarQueryParameter = {};
|
|
5447
|
+
// authentication OAuth2 required
|
|
5448
|
+
// oauth required
|
|
5449
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5450
|
+
if (pageCursor !== undefined) {
|
|
5451
|
+
localVarQueryParameter['page[cursor]'] = pageCursor;
|
|
5452
|
+
}
|
|
5453
|
+
if (pageSize !== undefined) {
|
|
5454
|
+
localVarQueryParameter['page[size]'] = pageSize;
|
|
5455
|
+
}
|
|
5456
|
+
if (filterSceneItemId !== undefined) {
|
|
5457
|
+
localVarQueryParameter['filter[sceneItemId]'] = filterSceneItemId;
|
|
5458
|
+
}
|
|
5459
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5460
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
5461
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5462
|
+
return {
|
|
5463
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5464
|
+
options: localVarRequestOptions,
|
|
5465
|
+
};
|
|
5466
|
+
}),
|
|
5467
|
+
};
|
|
5468
|
+
};
|
|
5469
|
+
exports.SceneSynchronizationsApiAxiosParamCreator = SceneSynchronizationsApiAxiosParamCreator;
|
|
5470
|
+
/**
|
|
5471
|
+
* SceneSynchronizationsApi - functional programming interface
|
|
5472
|
+
* @export
|
|
5473
|
+
*/
|
|
5474
|
+
const SceneSynchronizationsApiFp = function (configuration) {
|
|
5475
|
+
const localVarAxiosParamCreator = (0, exports.SceneSynchronizationsApiAxiosParamCreator)(configuration);
|
|
5476
|
+
return {
|
|
5477
|
+
/**
|
|
5478
|
+
* Create a scene item update job.
|
|
5479
|
+
* @param {string} id The `scene` ID.
|
|
5480
|
+
* @param {CreateSceneSyncRequest} createSceneSyncRequest
|
|
5481
|
+
* @param {*} [options] Override http request option.
|
|
5482
|
+
* @throws {RequiredError}
|
|
5483
|
+
*/
|
|
5484
|
+
createSceneSync(id, createSceneSyncRequest, options) {
|
|
5485
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5486
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSceneSync(id, createSceneSyncRequest, options);
|
|
5487
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5488
|
+
});
|
|
5489
|
+
},
|
|
5490
|
+
/**
|
|
5491
|
+
* Get a `queued-scene-sync-job`.
|
|
5492
|
+
* @param {string} id The `queued-scene-sync` ID.
|
|
5493
|
+
* @param {*} [options] Override http request option.
|
|
5494
|
+
* @throws {RequiredError}
|
|
5495
|
+
*/
|
|
5496
|
+
getQueuedSceneSync(id, options) {
|
|
5497
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5498
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQueuedSceneSync(id, options);
|
|
5499
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5500
|
+
});
|
|
5501
|
+
},
|
|
5502
|
+
/**
|
|
5503
|
+
* Get a `scene-sync`.
|
|
5504
|
+
* @param {string} id The `scene-sync` ID.
|
|
5505
|
+
* @param {*} [options] Override http request option.
|
|
5506
|
+
* @throws {RequiredError}
|
|
5507
|
+
*/
|
|
5508
|
+
getSceneSync(id, options) {
|
|
5509
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5510
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneSync(id, options);
|
|
5511
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5512
|
+
});
|
|
5513
|
+
},
|
|
5514
|
+
/**
|
|
5515
|
+
* Get the results of a scene synchronization.
|
|
5516
|
+
* @param {string} id The `scene-sync` ID.
|
|
5517
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
5518
|
+
* @param {number} [pageSize] The number of items to return.
|
|
5519
|
+
* @param {string} [filterSceneItemId] List of scene item IDs to filter on.
|
|
5520
|
+
* @param {*} [options] Override http request option.
|
|
5521
|
+
* @throws {RequiredError}
|
|
5522
|
+
*/
|
|
5523
|
+
getSceneSyncItemResults(id, pageCursor, pageSize, filterSceneItemId, options) {
|
|
5524
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5525
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneSyncItemResults(id, pageCursor, pageSize, filterSceneItemId, options);
|
|
5526
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5527
|
+
});
|
|
5528
|
+
},
|
|
5529
|
+
};
|
|
5530
|
+
};
|
|
5531
|
+
exports.SceneSynchronizationsApiFp = SceneSynchronizationsApiFp;
|
|
5532
|
+
/**
|
|
5533
|
+
* SceneSynchronizationsApi - factory interface
|
|
5534
|
+
* @export
|
|
5535
|
+
*/
|
|
5536
|
+
const SceneSynchronizationsApiFactory = function (configuration, basePath, axios) {
|
|
5537
|
+
const localVarFp = (0, exports.SceneSynchronizationsApiFp)(configuration);
|
|
5538
|
+
return {
|
|
5539
|
+
/**
|
|
5540
|
+
* Create a scene item update job.
|
|
5541
|
+
* @param {string} id The `scene` ID.
|
|
5542
|
+
* @param {CreateSceneSyncRequest} createSceneSyncRequest
|
|
5543
|
+
* @param {*} [options] Override http request option.
|
|
5544
|
+
* @throws {RequiredError}
|
|
5545
|
+
*/
|
|
5546
|
+
createSceneSync(id, createSceneSyncRequest, options) {
|
|
5547
|
+
return localVarFp
|
|
5548
|
+
.createSceneSync(id, createSceneSyncRequest, options)
|
|
5549
|
+
.then((request) => request(axios, basePath));
|
|
5550
|
+
},
|
|
5551
|
+
/**
|
|
5552
|
+
* Get a `queued-scene-sync-job`.
|
|
5553
|
+
* @param {string} id The `queued-scene-sync` ID.
|
|
5554
|
+
* @param {*} [options] Override http request option.
|
|
5555
|
+
* @throws {RequiredError}
|
|
5556
|
+
*/
|
|
5557
|
+
getQueuedSceneSync(id, options) {
|
|
5558
|
+
return localVarFp
|
|
5559
|
+
.getQueuedSceneSync(id, options)
|
|
5560
|
+
.then((request) => request(axios, basePath));
|
|
5561
|
+
},
|
|
5562
|
+
/**
|
|
5563
|
+
* Get a `scene-sync`.
|
|
5564
|
+
* @param {string} id The `scene-sync` ID.
|
|
5565
|
+
* @param {*} [options] Override http request option.
|
|
5566
|
+
* @throws {RequiredError}
|
|
5567
|
+
*/
|
|
5568
|
+
getSceneSync(id, options) {
|
|
5569
|
+
return localVarFp
|
|
5570
|
+
.getSceneSync(id, options)
|
|
5571
|
+
.then((request) => request(axios, basePath));
|
|
5572
|
+
},
|
|
5573
|
+
/**
|
|
5574
|
+
* Get the results of a scene synchronization.
|
|
5575
|
+
* @param {string} id The `scene-sync` ID.
|
|
5576
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
5577
|
+
* @param {number} [pageSize] The number of items to return.
|
|
5578
|
+
* @param {string} [filterSceneItemId] List of scene item IDs to filter on.
|
|
5579
|
+
* @param {*} [options] Override http request option.
|
|
5580
|
+
* @throws {RequiredError}
|
|
5581
|
+
*/
|
|
5582
|
+
getSceneSyncItemResults(id, pageCursor, pageSize, filterSceneItemId, options) {
|
|
5583
|
+
return localVarFp
|
|
5584
|
+
.getSceneSyncItemResults(id, pageCursor, pageSize, filterSceneItemId, options)
|
|
5585
|
+
.then((request) => request(axios, basePath));
|
|
5586
|
+
},
|
|
5587
|
+
};
|
|
5588
|
+
};
|
|
5589
|
+
exports.SceneSynchronizationsApiFactory = SceneSynchronizationsApiFactory;
|
|
5590
|
+
/**
|
|
5591
|
+
* SceneSynchronizationsApi - object-oriented interface
|
|
5592
|
+
* @export
|
|
5593
|
+
* @class SceneSynchronizationsApi
|
|
5594
|
+
* @extends {BaseAPI}
|
|
5595
|
+
*/
|
|
5596
|
+
class SceneSynchronizationsApi extends base_1.BaseAPI {
|
|
5597
|
+
/**
|
|
5598
|
+
* Create a scene item update job.
|
|
5599
|
+
* @param {SceneSynchronizationsApiCreateSceneSyncRequest} requestParameters Request parameters.
|
|
5600
|
+
* @param {*} [options] Override http request option.
|
|
5601
|
+
* @throws {RequiredError}
|
|
5602
|
+
* @memberof SceneSynchronizationsApi
|
|
5603
|
+
*/
|
|
5604
|
+
createSceneSync(requestParameters, options) {
|
|
5605
|
+
return (0, exports.SceneSynchronizationsApiFp)(this.configuration)
|
|
5606
|
+
.createSceneSync(requestParameters.id, requestParameters.createSceneSyncRequest, options)
|
|
5607
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5608
|
+
}
|
|
5609
|
+
/**
|
|
5610
|
+
* Get a `queued-scene-sync-job`.
|
|
5611
|
+
* @param {SceneSynchronizationsApiGetQueuedSceneSyncRequest} requestParameters Request parameters.
|
|
5612
|
+
* @param {*} [options] Override http request option.
|
|
5613
|
+
* @throws {RequiredError}
|
|
5614
|
+
* @memberof SceneSynchronizationsApi
|
|
5615
|
+
*/
|
|
5616
|
+
getQueuedSceneSync(requestParameters, options) {
|
|
5617
|
+
return (0, exports.SceneSynchronizationsApiFp)(this.configuration)
|
|
5618
|
+
.getQueuedSceneSync(requestParameters.id, options)
|
|
5619
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5620
|
+
}
|
|
5621
|
+
/**
|
|
5622
|
+
* Get a `scene-sync`.
|
|
5623
|
+
* @param {SceneSynchronizationsApiGetSceneSyncRequest} requestParameters Request parameters.
|
|
5624
|
+
* @param {*} [options] Override http request option.
|
|
5625
|
+
* @throws {RequiredError}
|
|
5626
|
+
* @memberof SceneSynchronizationsApi
|
|
5627
|
+
*/
|
|
5628
|
+
getSceneSync(requestParameters, options) {
|
|
5629
|
+
return (0, exports.SceneSynchronizationsApiFp)(this.configuration)
|
|
5630
|
+
.getSceneSync(requestParameters.id, options)
|
|
5631
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5632
|
+
}
|
|
5633
|
+
/**
|
|
5634
|
+
* Get the results of a scene synchronization.
|
|
5635
|
+
* @param {SceneSynchronizationsApiGetSceneSyncItemResultsRequest} requestParameters Request parameters.
|
|
5636
|
+
* @param {*} [options] Override http request option.
|
|
5637
|
+
* @throws {RequiredError}
|
|
5638
|
+
* @memberof SceneSynchronizationsApi
|
|
5639
|
+
*/
|
|
5640
|
+
getSceneSyncItemResults(requestParameters, options) {
|
|
5641
|
+
return (0, exports.SceneSynchronizationsApiFp)(this.configuration)
|
|
5642
|
+
.getSceneSyncItemResults(requestParameters.id, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterSceneItemId, options)
|
|
5643
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5644
|
+
}
|
|
5645
|
+
}
|
|
5646
|
+
exports.SceneSynchronizationsApi = SceneSynchronizationsApi;
|
|
4988
5647
|
/**
|
|
4989
5648
|
* SceneViewStatesApi - axios parameter creator
|
|
4990
5649
|
* @export
|
|
@@ -6106,10 +6765,13 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
6106
6765
|
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
6107
6766
|
* @param {string} [fieldsScene] Comma-separated list of fields to return in response. An empty value returns no fields. `metadata` is only returned if explicitly requested.
|
|
6108
6767
|
* @param {{ [key: string]: string; }} [filterMetadata] Filter scenes that contain all the given metadata key-value pairs. Should be specified in query parameter map notation: `filter[metadata][key1]=value1&filter[metadata][key]=value2`.
|
|
6768
|
+
* @param {string} [filterSceneItemsSourcePartRevision] Comma-separated list of scene-item source part revision IDs to filter on.
|
|
6769
|
+
* @param {string} [filterSceneItemsSourceGeometrySet] Comma-separated list of scene-item source geometry set IDs to filter on.
|
|
6770
|
+
* @param {string} [filterSceneItemsSourceScene] Comma-separated list of scene-item source scene IDs to filter on.
|
|
6109
6771
|
* @param {*} [options] Override http request option.
|
|
6110
6772
|
* @throws {RequiredError}
|
|
6111
6773
|
*/
|
|
6112
|
-
getScenes: (pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6774
|
+
getScenes: (pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, filterSceneItemsSourcePartRevision, filterSceneItemsSourceGeometrySet, filterSceneItemsSourceScene, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6113
6775
|
var _e;
|
|
6114
6776
|
const localVarPath = `/scenes`;
|
|
6115
6777
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -6142,6 +6804,18 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
6142
6804
|
if (filterMetadata !== undefined) {
|
|
6143
6805
|
localVarQueryParameter['filter[metadata]'] = filterMetadata;
|
|
6144
6806
|
}
|
|
6807
|
+
if (filterSceneItemsSourcePartRevision !== undefined) {
|
|
6808
|
+
localVarQueryParameter['filter[sceneItems.source.partRevision]'] =
|
|
6809
|
+
filterSceneItemsSourcePartRevision;
|
|
6810
|
+
}
|
|
6811
|
+
if (filterSceneItemsSourceGeometrySet !== undefined) {
|
|
6812
|
+
localVarQueryParameter['filter[sceneItems.source.geometrySet]'] =
|
|
6813
|
+
filterSceneItemsSourceGeometrySet;
|
|
6814
|
+
}
|
|
6815
|
+
if (filterSceneItemsSourceScene !== undefined) {
|
|
6816
|
+
localVarQueryParameter['filter[sceneItems.source.scene]'] =
|
|
6817
|
+
filterSceneItemsSourceScene;
|
|
6818
|
+
}
|
|
6145
6819
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6146
6820
|
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
6147
6821
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6292,12 +6966,15 @@ const ScenesApiFp = function (configuration) {
|
|
|
6292
6966
|
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
6293
6967
|
* @param {string} [fieldsScene] Comma-separated list of fields to return in response. An empty value returns no fields. `metadata` is only returned if explicitly requested.
|
|
6294
6968
|
* @param {{ [key: string]: string; }} [filterMetadata] Filter scenes that contain all the given metadata key-value pairs. Should be specified in query parameter map notation: `filter[metadata][key1]=value1&filter[metadata][key]=value2`.
|
|
6969
|
+
* @param {string} [filterSceneItemsSourcePartRevision] Comma-separated list of scene-item source part revision IDs to filter on.
|
|
6970
|
+
* @param {string} [filterSceneItemsSourceGeometrySet] Comma-separated list of scene-item source geometry set IDs to filter on.
|
|
6971
|
+
* @param {string} [filterSceneItemsSourceScene] Comma-separated list of scene-item source scene IDs to filter on.
|
|
6295
6972
|
* @param {*} [options] Override http request option.
|
|
6296
6973
|
* @throws {RequiredError}
|
|
6297
6974
|
*/
|
|
6298
|
-
getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, options) {
|
|
6975
|
+
getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, filterSceneItemsSourcePartRevision, filterSceneItemsSourceGeometrySet, filterSceneItemsSourceScene, options) {
|
|
6299
6976
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6300
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, options);
|
|
6977
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, filterSceneItemsSourcePartRevision, filterSceneItemsSourceGeometrySet, filterSceneItemsSourceScene, options);
|
|
6301
6978
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6302
6979
|
});
|
|
6303
6980
|
},
|
|
@@ -6391,12 +7068,15 @@ const ScenesApiFactory = function (configuration, basePath, axios) {
|
|
|
6391
7068
|
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
6392
7069
|
* @param {string} [fieldsScene] Comma-separated list of fields to return in response. An empty value returns no fields. `metadata` is only returned if explicitly requested.
|
|
6393
7070
|
* @param {{ [key: string]: string; }} [filterMetadata] Filter scenes that contain all the given metadata key-value pairs. Should be specified in query parameter map notation: `filter[metadata][key1]=value1&filter[metadata][key]=value2`.
|
|
7071
|
+
* @param {string} [filterSceneItemsSourcePartRevision] Comma-separated list of scene-item source part revision IDs to filter on.
|
|
7072
|
+
* @param {string} [filterSceneItemsSourceGeometrySet] Comma-separated list of scene-item source geometry set IDs to filter on.
|
|
7073
|
+
* @param {string} [filterSceneItemsSourceScene] Comma-separated list of scene-item source scene IDs to filter on.
|
|
6394
7074
|
* @param {*} [options] Override http request option.
|
|
6395
7075
|
* @throws {RequiredError}
|
|
6396
7076
|
*/
|
|
6397
|
-
getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, options) {
|
|
7077
|
+
getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, filterSceneItemsSourcePartRevision, filterSceneItemsSourceGeometrySet, filterSceneItemsSourceScene, options) {
|
|
6398
7078
|
return localVarFp
|
|
6399
|
-
.getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, options)
|
|
7079
|
+
.getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, filterSceneItemsSourcePartRevision, filterSceneItemsSourceGeometrySet, filterSceneItemsSourceScene, options)
|
|
6400
7080
|
.then((request) => request(axios, basePath));
|
|
6401
7081
|
},
|
|
6402
7082
|
/**
|
|
@@ -6491,7 +7171,7 @@ class ScenesApi extends base_1.BaseAPI {
|
|
|
6491
7171
|
*/
|
|
6492
7172
|
getScenes(requestParameters = {}, options) {
|
|
6493
7173
|
return (0, exports.ScenesApiFp)(this.configuration)
|
|
6494
|
-
.getScenes(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterName, requestParameters.filterSuppliedId, requestParameters.fieldsScene, requestParameters.filterMetadata, options)
|
|
7174
|
+
.getScenes(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterName, requestParameters.filterSuppliedId, requestParameters.fieldsScene, requestParameters.filterMetadata, requestParameters.filterSceneItemsSourcePartRevision, requestParameters.filterSceneItemsSourceGeometrySet, requestParameters.filterSceneItemsSourceScene, options)
|
|
6495
7175
|
.then((request) => request(this.axios, this.basePath));
|
|
6496
7176
|
}
|
|
6497
7177
|
/**
|