@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/esm/api.js
CHANGED
|
@@ -122,6 +122,9 @@ export const UpdateAccountRequestDataAttributesStatusEnum = {
|
|
|
122
122
|
Active: 'active',
|
|
123
123
|
Disabled: 'disabled',
|
|
124
124
|
};
|
|
125
|
+
export const UpdateItemToDefaultRenditionOperationTypeEnum = {
|
|
126
|
+
UpdateToDefaultRendition: 'update-to-default-rendition',
|
|
127
|
+
};
|
|
125
128
|
export const UpdateSceneRequestDataAttributesStateEnum = {
|
|
126
129
|
Draft: 'draft',
|
|
127
130
|
Commit: 'commit',
|
|
@@ -641,10 +644,11 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
641
644
|
* Get `applications`.
|
|
642
645
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
643
646
|
* @param {number} [pageSize] The number of items to return.
|
|
647
|
+
* @param {string} [filterClientId] Comma-separated list of client IDs to filter on.
|
|
644
648
|
* @param {*} [options] Override http request option.
|
|
645
649
|
* @throws {RequiredError}
|
|
646
650
|
*/
|
|
647
|
-
getApplications: (pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
651
|
+
getApplications: (pageCursor, pageSize, filterClientId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
648
652
|
var _d;
|
|
649
653
|
const localVarPath = `/applications`;
|
|
650
654
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -665,6 +669,9 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
665
669
|
if (pageSize !== undefined) {
|
|
666
670
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
667
671
|
}
|
|
672
|
+
if (filterClientId !== undefined) {
|
|
673
|
+
localVarQueryParameter['filter[clientId]'] = filterClientId;
|
|
674
|
+
}
|
|
668
675
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
669
676
|
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
670
677
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -758,12 +765,13 @@ export const ApplicationsApiFp = function (configuration) {
|
|
|
758
765
|
* Get `applications`.
|
|
759
766
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
760
767
|
* @param {number} [pageSize] The number of items to return.
|
|
768
|
+
* @param {string} [filterClientId] Comma-separated list of client IDs to filter on.
|
|
761
769
|
* @param {*} [options] Override http request option.
|
|
762
770
|
* @throws {RequiredError}
|
|
763
771
|
*/
|
|
764
|
-
getApplications(pageCursor, pageSize, options) {
|
|
772
|
+
getApplications(pageCursor, pageSize, filterClientId, options) {
|
|
765
773
|
return __awaiter(this, void 0, void 0, function* () {
|
|
766
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getApplications(pageCursor, pageSize, options);
|
|
774
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getApplications(pageCursor, pageSize, filterClientId, options);
|
|
767
775
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
768
776
|
});
|
|
769
777
|
},
|
|
@@ -826,12 +834,13 @@ export const ApplicationsApiFactory = function (configuration, basePath, axios)
|
|
|
826
834
|
* Get `applications`.
|
|
827
835
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
828
836
|
* @param {number} [pageSize] The number of items to return.
|
|
837
|
+
* @param {string} [filterClientId] Comma-separated list of client IDs to filter on.
|
|
829
838
|
* @param {*} [options] Override http request option.
|
|
830
839
|
* @throws {RequiredError}
|
|
831
840
|
*/
|
|
832
|
-
getApplications(pageCursor, pageSize, options) {
|
|
841
|
+
getApplications(pageCursor, pageSize, filterClientId, options) {
|
|
833
842
|
return localVarFp
|
|
834
|
-
.getApplications(pageCursor, pageSize, options)
|
|
843
|
+
.getApplications(pageCursor, pageSize, filterClientId, options)
|
|
835
844
|
.then((request) => request(axios, basePath));
|
|
836
845
|
},
|
|
837
846
|
/**
|
|
@@ -900,7 +909,7 @@ export class ApplicationsApi extends BaseAPI {
|
|
|
900
909
|
*/
|
|
901
910
|
getApplications(requestParameters = {}, options) {
|
|
902
911
|
return ApplicationsApiFp(this.configuration)
|
|
903
|
-
.getApplications(requestParameters.pageCursor, requestParameters.pageSize, options)
|
|
912
|
+
.getApplications(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterClientId, options)
|
|
904
913
|
.then((request) => request(this.axios, this.basePath));
|
|
905
914
|
}
|
|
906
915
|
/**
|
|
@@ -4051,6 +4060,325 @@ export class SceneAlterationsApi extends BaseAPI {
|
|
|
4051
4060
|
.then((request) => request(this.axios, this.basePath));
|
|
4052
4061
|
}
|
|
4053
4062
|
}
|
|
4063
|
+
/**
|
|
4064
|
+
* SceneAnnotationsApi - axios parameter creator
|
|
4065
|
+
* @export
|
|
4066
|
+
*/
|
|
4067
|
+
export const SceneAnnotationsApiAxiosParamCreator = function (configuration) {
|
|
4068
|
+
return {
|
|
4069
|
+
/**
|
|
4070
|
+
* Create an annotation belonging to an annotation set. **Preview:** This is a preview API and is subject to change.
|
|
4071
|
+
* @param {string} id The `scene-annotation-set` ID.
|
|
4072
|
+
* @param {CreateSceneAnnotationRequest} createSceneAnnotationRequest
|
|
4073
|
+
* @param {*} [options] Override http request option.
|
|
4074
|
+
* @throws {RequiredError}
|
|
4075
|
+
*/
|
|
4076
|
+
createSceneAnnotation: (id, createSceneAnnotationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4077
|
+
var _a;
|
|
4078
|
+
// verify required parameter 'id' is not null or undefined
|
|
4079
|
+
assertParamExists('createSceneAnnotation', 'id', id);
|
|
4080
|
+
// verify required parameter 'createSceneAnnotationRequest' is not null or undefined
|
|
4081
|
+
assertParamExists('createSceneAnnotation', 'createSceneAnnotationRequest', createSceneAnnotationRequest);
|
|
4082
|
+
const localVarPath = `/scene-annotation-sets/{id}/scene-annotations`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4083
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4084
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4085
|
+
let baseOptions;
|
|
4086
|
+
if (configuration) {
|
|
4087
|
+
baseOptions = configuration.baseOptions;
|
|
4088
|
+
}
|
|
4089
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4090
|
+
const localVarHeaderParameter = {};
|
|
4091
|
+
const localVarQueryParameter = {};
|
|
4092
|
+
// authentication OAuth2 required
|
|
4093
|
+
// oauth required
|
|
4094
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4095
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4096
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4097
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
4098
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4099
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createSceneAnnotationRequest, localVarRequestOptions, configuration);
|
|
4100
|
+
return {
|
|
4101
|
+
url: toPathString(localVarUrlObj),
|
|
4102
|
+
options: localVarRequestOptions,
|
|
4103
|
+
};
|
|
4104
|
+
}),
|
|
4105
|
+
/**
|
|
4106
|
+
* Create an annotation set that is associated with a scene. **Preview:** This is a preview API and is subject to change.
|
|
4107
|
+
* @param {string} id The `scene` ID.
|
|
4108
|
+
* @param {CreateSceneAnnotationSetRequest} createSceneAnnotationSetRequest
|
|
4109
|
+
* @param {*} [options] Override http request option.
|
|
4110
|
+
* @throws {RequiredError}
|
|
4111
|
+
*/
|
|
4112
|
+
createSceneAnnotationSet: (id, createSceneAnnotationSetRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4113
|
+
var _b;
|
|
4114
|
+
// verify required parameter 'id' is not null or undefined
|
|
4115
|
+
assertParamExists('createSceneAnnotationSet', 'id', id);
|
|
4116
|
+
// verify required parameter 'createSceneAnnotationSetRequest' is not null or undefined
|
|
4117
|
+
assertParamExists('createSceneAnnotationSet', 'createSceneAnnotationSetRequest', createSceneAnnotationSetRequest);
|
|
4118
|
+
const localVarPath = `/scenes/{id}/scene-annotation-sets`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4119
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4120
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4121
|
+
let baseOptions;
|
|
4122
|
+
if (configuration) {
|
|
4123
|
+
baseOptions = configuration.baseOptions;
|
|
4124
|
+
}
|
|
4125
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4126
|
+
const localVarHeaderParameter = {};
|
|
4127
|
+
const localVarQueryParameter = {};
|
|
4128
|
+
// authentication OAuth2 required
|
|
4129
|
+
// oauth required
|
|
4130
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4131
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4132
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4133
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
4134
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4135
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createSceneAnnotationSetRequest, localVarRequestOptions, configuration);
|
|
4136
|
+
return {
|
|
4137
|
+
url: toPathString(localVarUrlObj),
|
|
4138
|
+
options: localVarRequestOptions,
|
|
4139
|
+
};
|
|
4140
|
+
}),
|
|
4141
|
+
/**
|
|
4142
|
+
* Delete a scene annotation. **Preview:** This is a preview API and is subject to change.
|
|
4143
|
+
* @param {string} id The `scene-annotation` ID.
|
|
4144
|
+
* @param {*} [options] Override http request option.
|
|
4145
|
+
* @throws {RequiredError}
|
|
4146
|
+
*/
|
|
4147
|
+
deleteSceneAnnotation: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4148
|
+
var _c;
|
|
4149
|
+
// verify required parameter 'id' is not null or undefined
|
|
4150
|
+
assertParamExists('deleteSceneAnnotation', 'id', id);
|
|
4151
|
+
const localVarPath = `/scene-annotations/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4152
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4153
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4154
|
+
let baseOptions;
|
|
4155
|
+
if (configuration) {
|
|
4156
|
+
baseOptions = configuration.baseOptions;
|
|
4157
|
+
}
|
|
4158
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
4159
|
+
const localVarHeaderParameter = {};
|
|
4160
|
+
const localVarQueryParameter = {};
|
|
4161
|
+
// authentication OAuth2 required
|
|
4162
|
+
// oauth required
|
|
4163
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4164
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4165
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
4166
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4167
|
+
return {
|
|
4168
|
+
url: toPathString(localVarUrlObj),
|
|
4169
|
+
options: localVarRequestOptions,
|
|
4170
|
+
};
|
|
4171
|
+
}),
|
|
4172
|
+
/**
|
|
4173
|
+
* Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
|
|
4174
|
+
* @param {string} id The `scene-annotation` ID.
|
|
4175
|
+
* @param {UpdateSceneAnnotationRequest} updateSceneAnnotationRequest
|
|
4176
|
+
* @param {*} [options] Override http request option.
|
|
4177
|
+
* @throws {RequiredError}
|
|
4178
|
+
*/
|
|
4179
|
+
updateSceneAnnotation: (id, updateSceneAnnotationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4180
|
+
var _d;
|
|
4181
|
+
// verify required parameter 'id' is not null or undefined
|
|
4182
|
+
assertParamExists('updateSceneAnnotation', 'id', id);
|
|
4183
|
+
// verify required parameter 'updateSceneAnnotationRequest' is not null or undefined
|
|
4184
|
+
assertParamExists('updateSceneAnnotation', 'updateSceneAnnotationRequest', updateSceneAnnotationRequest);
|
|
4185
|
+
const localVarPath = `/scene-annotations/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4186
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4187
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4188
|
+
let baseOptions;
|
|
4189
|
+
if (configuration) {
|
|
4190
|
+
baseOptions = configuration.baseOptions;
|
|
4191
|
+
}
|
|
4192
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
4193
|
+
const localVarHeaderParameter = {};
|
|
4194
|
+
const localVarQueryParameter = {};
|
|
4195
|
+
// authentication OAuth2 required
|
|
4196
|
+
// oauth required
|
|
4197
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4198
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4199
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4200
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
4201
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4202
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateSceneAnnotationRequest, localVarRequestOptions, configuration);
|
|
4203
|
+
return {
|
|
4204
|
+
url: toPathString(localVarUrlObj),
|
|
4205
|
+
options: localVarRequestOptions,
|
|
4206
|
+
};
|
|
4207
|
+
}),
|
|
4208
|
+
};
|
|
4209
|
+
};
|
|
4210
|
+
/**
|
|
4211
|
+
* SceneAnnotationsApi - functional programming interface
|
|
4212
|
+
* @export
|
|
4213
|
+
*/
|
|
4214
|
+
export const SceneAnnotationsApiFp = function (configuration) {
|
|
4215
|
+
const localVarAxiosParamCreator = SceneAnnotationsApiAxiosParamCreator(configuration);
|
|
4216
|
+
return {
|
|
4217
|
+
/**
|
|
4218
|
+
* Create an annotation belonging to an annotation set. **Preview:** This is a preview API and is subject to change.
|
|
4219
|
+
* @param {string} id The `scene-annotation-set` ID.
|
|
4220
|
+
* @param {CreateSceneAnnotationRequest} createSceneAnnotationRequest
|
|
4221
|
+
* @param {*} [options] Override http request option.
|
|
4222
|
+
* @throws {RequiredError}
|
|
4223
|
+
*/
|
|
4224
|
+
createSceneAnnotation(id, createSceneAnnotationRequest, options) {
|
|
4225
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4226
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSceneAnnotation(id, createSceneAnnotationRequest, options);
|
|
4227
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4228
|
+
});
|
|
4229
|
+
},
|
|
4230
|
+
/**
|
|
4231
|
+
* Create an annotation set that is associated with a scene. **Preview:** This is a preview API and is subject to change.
|
|
4232
|
+
* @param {string} id The `scene` ID.
|
|
4233
|
+
* @param {CreateSceneAnnotationSetRequest} createSceneAnnotationSetRequest
|
|
4234
|
+
* @param {*} [options] Override http request option.
|
|
4235
|
+
* @throws {RequiredError}
|
|
4236
|
+
*/
|
|
4237
|
+
createSceneAnnotationSet(id, createSceneAnnotationSetRequest, options) {
|
|
4238
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4239
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSceneAnnotationSet(id, createSceneAnnotationSetRequest, options);
|
|
4240
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4241
|
+
});
|
|
4242
|
+
},
|
|
4243
|
+
/**
|
|
4244
|
+
* Delete a scene annotation. **Preview:** This is a preview API and is subject to change.
|
|
4245
|
+
* @param {string} id The `scene-annotation` ID.
|
|
4246
|
+
* @param {*} [options] Override http request option.
|
|
4247
|
+
* @throws {RequiredError}
|
|
4248
|
+
*/
|
|
4249
|
+
deleteSceneAnnotation(id, options) {
|
|
4250
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4251
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSceneAnnotation(id, options);
|
|
4252
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4253
|
+
});
|
|
4254
|
+
},
|
|
4255
|
+
/**
|
|
4256
|
+
* Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
|
|
4257
|
+
* @param {string} id The `scene-annotation` ID.
|
|
4258
|
+
* @param {UpdateSceneAnnotationRequest} updateSceneAnnotationRequest
|
|
4259
|
+
* @param {*} [options] Override http request option.
|
|
4260
|
+
* @throws {RequiredError}
|
|
4261
|
+
*/
|
|
4262
|
+
updateSceneAnnotation(id, updateSceneAnnotationRequest, options) {
|
|
4263
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4264
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateSceneAnnotation(id, updateSceneAnnotationRequest, options);
|
|
4265
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4266
|
+
});
|
|
4267
|
+
},
|
|
4268
|
+
};
|
|
4269
|
+
};
|
|
4270
|
+
/**
|
|
4271
|
+
* SceneAnnotationsApi - factory interface
|
|
4272
|
+
* @export
|
|
4273
|
+
*/
|
|
4274
|
+
export const SceneAnnotationsApiFactory = function (configuration, basePath, axios) {
|
|
4275
|
+
const localVarFp = SceneAnnotationsApiFp(configuration);
|
|
4276
|
+
return {
|
|
4277
|
+
/**
|
|
4278
|
+
* Create an annotation belonging to an annotation set. **Preview:** This is a preview API and is subject to change.
|
|
4279
|
+
* @param {string} id The `scene-annotation-set` ID.
|
|
4280
|
+
* @param {CreateSceneAnnotationRequest} createSceneAnnotationRequest
|
|
4281
|
+
* @param {*} [options] Override http request option.
|
|
4282
|
+
* @throws {RequiredError}
|
|
4283
|
+
*/
|
|
4284
|
+
createSceneAnnotation(id, createSceneAnnotationRequest, options) {
|
|
4285
|
+
return localVarFp
|
|
4286
|
+
.createSceneAnnotation(id, createSceneAnnotationRequest, options)
|
|
4287
|
+
.then((request) => request(axios, basePath));
|
|
4288
|
+
},
|
|
4289
|
+
/**
|
|
4290
|
+
* Create an annotation set that is associated with a scene. **Preview:** This is a preview API and is subject to change.
|
|
4291
|
+
* @param {string} id The `scene` ID.
|
|
4292
|
+
* @param {CreateSceneAnnotationSetRequest} createSceneAnnotationSetRequest
|
|
4293
|
+
* @param {*} [options] Override http request option.
|
|
4294
|
+
* @throws {RequiredError}
|
|
4295
|
+
*/
|
|
4296
|
+
createSceneAnnotationSet(id, createSceneAnnotationSetRequest, options) {
|
|
4297
|
+
return localVarFp
|
|
4298
|
+
.createSceneAnnotationSet(id, createSceneAnnotationSetRequest, options)
|
|
4299
|
+
.then((request) => request(axios, basePath));
|
|
4300
|
+
},
|
|
4301
|
+
/**
|
|
4302
|
+
* Delete a scene annotation. **Preview:** This is a preview API and is subject to change.
|
|
4303
|
+
* @param {string} id The `scene-annotation` ID.
|
|
4304
|
+
* @param {*} [options] Override http request option.
|
|
4305
|
+
* @throws {RequiredError}
|
|
4306
|
+
*/
|
|
4307
|
+
deleteSceneAnnotation(id, options) {
|
|
4308
|
+
return localVarFp
|
|
4309
|
+
.deleteSceneAnnotation(id, options)
|
|
4310
|
+
.then((request) => request(axios, basePath));
|
|
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 localVarFp
|
|
4321
|
+
.updateSceneAnnotation(id, updateSceneAnnotationRequest, options)
|
|
4322
|
+
.then((request) => request(axios, basePath));
|
|
4323
|
+
},
|
|
4324
|
+
};
|
|
4325
|
+
};
|
|
4326
|
+
/**
|
|
4327
|
+
* SceneAnnotationsApi - object-oriented interface
|
|
4328
|
+
* @export
|
|
4329
|
+
* @class SceneAnnotationsApi
|
|
4330
|
+
* @extends {BaseAPI}
|
|
4331
|
+
*/
|
|
4332
|
+
export class SceneAnnotationsApi extends BaseAPI {
|
|
4333
|
+
/**
|
|
4334
|
+
* Create an annotation belonging to an annotation set. **Preview:** This is a preview API and is subject to change.
|
|
4335
|
+
* @param {SceneAnnotationsApiCreateSceneAnnotationRequest} requestParameters Request parameters.
|
|
4336
|
+
* @param {*} [options] Override http request option.
|
|
4337
|
+
* @throws {RequiredError}
|
|
4338
|
+
* @memberof SceneAnnotationsApi
|
|
4339
|
+
*/
|
|
4340
|
+
createSceneAnnotation(requestParameters, options) {
|
|
4341
|
+
return SceneAnnotationsApiFp(this.configuration)
|
|
4342
|
+
.createSceneAnnotation(requestParameters.id, requestParameters.createSceneAnnotationRequest, options)
|
|
4343
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4344
|
+
}
|
|
4345
|
+
/**
|
|
4346
|
+
* Create an annotation set that is associated with a scene. **Preview:** This is a preview API and is subject to change.
|
|
4347
|
+
* @param {SceneAnnotationsApiCreateSceneAnnotationSetRequest} requestParameters Request parameters.
|
|
4348
|
+
* @param {*} [options] Override http request option.
|
|
4349
|
+
* @throws {RequiredError}
|
|
4350
|
+
* @memberof SceneAnnotationsApi
|
|
4351
|
+
*/
|
|
4352
|
+
createSceneAnnotationSet(requestParameters, options) {
|
|
4353
|
+
return SceneAnnotationsApiFp(this.configuration)
|
|
4354
|
+
.createSceneAnnotationSet(requestParameters.id, requestParameters.createSceneAnnotationSetRequest, options)
|
|
4355
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4356
|
+
}
|
|
4357
|
+
/**
|
|
4358
|
+
* Delete a scene annotation. **Preview:** This is a preview API and is subject to change.
|
|
4359
|
+
* @param {SceneAnnotationsApiDeleteSceneAnnotationRequest} requestParameters Request parameters.
|
|
4360
|
+
* @param {*} [options] Override http request option.
|
|
4361
|
+
* @throws {RequiredError}
|
|
4362
|
+
* @memberof SceneAnnotationsApi
|
|
4363
|
+
*/
|
|
4364
|
+
deleteSceneAnnotation(requestParameters, options) {
|
|
4365
|
+
return SceneAnnotationsApiFp(this.configuration)
|
|
4366
|
+
.deleteSceneAnnotation(requestParameters.id, options)
|
|
4367
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4368
|
+
}
|
|
4369
|
+
/**
|
|
4370
|
+
* Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
|
|
4371
|
+
* @param {SceneAnnotationsApiUpdateSceneAnnotationRequest} requestParameters Request parameters.
|
|
4372
|
+
* @param {*} [options] Override http request option.
|
|
4373
|
+
* @throws {RequiredError}
|
|
4374
|
+
* @memberof SceneAnnotationsApi
|
|
4375
|
+
*/
|
|
4376
|
+
updateSceneAnnotation(requestParameters, options) {
|
|
4377
|
+
return SceneAnnotationsApiFp(this.configuration)
|
|
4378
|
+
.updateSceneAnnotation(requestParameters.id, requestParameters.updateSceneAnnotationRequest, options)
|
|
4379
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4380
|
+
}
|
|
4381
|
+
}
|
|
4054
4382
|
/**
|
|
4055
4383
|
* SceneItemOverridesApi - axios parameter creator
|
|
4056
4384
|
* @export
|
|
@@ -4921,6 +5249,329 @@ export class SceneItemsApi extends BaseAPI {
|
|
|
4921
5249
|
.then((request) => request(this.axios, this.basePath));
|
|
4922
5250
|
}
|
|
4923
5251
|
}
|
|
5252
|
+
/**
|
|
5253
|
+
* SceneSynchronizationsApi - axios parameter creator
|
|
5254
|
+
* @export
|
|
5255
|
+
*/
|
|
5256
|
+
export const SceneSynchronizationsApiAxiosParamCreator = function (configuration) {
|
|
5257
|
+
return {
|
|
5258
|
+
/**
|
|
5259
|
+
* Create a scene item update job.
|
|
5260
|
+
* @param {string} id The `scene` ID.
|
|
5261
|
+
* @param {CreateSceneSyncRequest} createSceneSyncRequest
|
|
5262
|
+
* @param {*} [options] Override http request option.
|
|
5263
|
+
* @throws {RequiredError}
|
|
5264
|
+
*/
|
|
5265
|
+
createSceneSync: (id, createSceneSyncRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5266
|
+
var _a;
|
|
5267
|
+
// verify required parameter 'id' is not null or undefined
|
|
5268
|
+
assertParamExists('createSceneSync', 'id', id);
|
|
5269
|
+
// verify required parameter 'createSceneSyncRequest' is not null or undefined
|
|
5270
|
+
assertParamExists('createSceneSync', 'createSceneSyncRequest', createSceneSyncRequest);
|
|
5271
|
+
const localVarPath = `/scenes/{id}/scene-syncs`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
5272
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5273
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5274
|
+
let baseOptions;
|
|
5275
|
+
if (configuration) {
|
|
5276
|
+
baseOptions = configuration.baseOptions;
|
|
5277
|
+
}
|
|
5278
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5279
|
+
const localVarHeaderParameter = {};
|
|
5280
|
+
const localVarQueryParameter = {};
|
|
5281
|
+
// authentication OAuth2 required
|
|
5282
|
+
// oauth required
|
|
5283
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5284
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5285
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5286
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
5287
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5288
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createSceneSyncRequest, localVarRequestOptions, configuration);
|
|
5289
|
+
return {
|
|
5290
|
+
url: toPathString(localVarUrlObj),
|
|
5291
|
+
options: localVarRequestOptions,
|
|
5292
|
+
};
|
|
5293
|
+
}),
|
|
5294
|
+
/**
|
|
5295
|
+
* Get a `queued-scene-sync-job`.
|
|
5296
|
+
* @param {string} id The `queued-scene-sync` ID.
|
|
5297
|
+
* @param {*} [options] Override http request option.
|
|
5298
|
+
* @throws {RequiredError}
|
|
5299
|
+
*/
|
|
5300
|
+
getQueuedSceneSync: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5301
|
+
var _b;
|
|
5302
|
+
// verify required parameter 'id' is not null or undefined
|
|
5303
|
+
assertParamExists('getQueuedSceneSync', 'id', id);
|
|
5304
|
+
const localVarPath = `/queued-scene-syncs/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
5305
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5306
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5307
|
+
let baseOptions;
|
|
5308
|
+
if (configuration) {
|
|
5309
|
+
baseOptions = configuration.baseOptions;
|
|
5310
|
+
}
|
|
5311
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5312
|
+
const localVarHeaderParameter = {};
|
|
5313
|
+
const localVarQueryParameter = {};
|
|
5314
|
+
// authentication OAuth2 required
|
|
5315
|
+
// oauth required
|
|
5316
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5317
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5318
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
5319
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5320
|
+
return {
|
|
5321
|
+
url: toPathString(localVarUrlObj),
|
|
5322
|
+
options: localVarRequestOptions,
|
|
5323
|
+
};
|
|
5324
|
+
}),
|
|
5325
|
+
/**
|
|
5326
|
+
* Get a `scene-sync`.
|
|
5327
|
+
* @param {string} id The `scene-sync` ID.
|
|
5328
|
+
* @param {*} [options] Override http request option.
|
|
5329
|
+
* @throws {RequiredError}
|
|
5330
|
+
*/
|
|
5331
|
+
getSceneSync: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5332
|
+
var _c;
|
|
5333
|
+
// verify required parameter 'id' is not null or undefined
|
|
5334
|
+
assertParamExists('getSceneSync', 'id', id);
|
|
5335
|
+
const localVarPath = `/scene-syncs/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
5336
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5337
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5338
|
+
let baseOptions;
|
|
5339
|
+
if (configuration) {
|
|
5340
|
+
baseOptions = configuration.baseOptions;
|
|
5341
|
+
}
|
|
5342
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5343
|
+
const localVarHeaderParameter = {};
|
|
5344
|
+
const localVarQueryParameter = {};
|
|
5345
|
+
// authentication OAuth2 required
|
|
5346
|
+
// oauth required
|
|
5347
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5348
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5349
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
5350
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5351
|
+
return {
|
|
5352
|
+
url: toPathString(localVarUrlObj),
|
|
5353
|
+
options: localVarRequestOptions,
|
|
5354
|
+
};
|
|
5355
|
+
}),
|
|
5356
|
+
/**
|
|
5357
|
+
* Get the results of a scene synchronization.
|
|
5358
|
+
* @param {string} id The `scene-sync` ID.
|
|
5359
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
5360
|
+
* @param {number} [pageSize] The number of items to return.
|
|
5361
|
+
* @param {string} [filterSceneItemId] List of scene item IDs to filter on.
|
|
5362
|
+
* @param {*} [options] Override http request option.
|
|
5363
|
+
* @throws {RequiredError}
|
|
5364
|
+
*/
|
|
5365
|
+
getSceneSyncItemResults: (id, pageCursor, pageSize, filterSceneItemId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5366
|
+
var _d;
|
|
5367
|
+
// verify required parameter 'id' is not null or undefined
|
|
5368
|
+
assertParamExists('getSceneSyncItemResults', 'id', id);
|
|
5369
|
+
const localVarPath = `/scene-syncs/{id}/item-results`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
5370
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5371
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5372
|
+
let baseOptions;
|
|
5373
|
+
if (configuration) {
|
|
5374
|
+
baseOptions = configuration.baseOptions;
|
|
5375
|
+
}
|
|
5376
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5377
|
+
const localVarHeaderParameter = {};
|
|
5378
|
+
const localVarQueryParameter = {};
|
|
5379
|
+
// authentication OAuth2 required
|
|
5380
|
+
// oauth required
|
|
5381
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5382
|
+
if (pageCursor !== undefined) {
|
|
5383
|
+
localVarQueryParameter['page[cursor]'] = pageCursor;
|
|
5384
|
+
}
|
|
5385
|
+
if (pageSize !== undefined) {
|
|
5386
|
+
localVarQueryParameter['page[size]'] = pageSize;
|
|
5387
|
+
}
|
|
5388
|
+
if (filterSceneItemId !== undefined) {
|
|
5389
|
+
localVarQueryParameter['filter[sceneItemId]'] = filterSceneItemId;
|
|
5390
|
+
}
|
|
5391
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5392
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
5393
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5394
|
+
return {
|
|
5395
|
+
url: toPathString(localVarUrlObj),
|
|
5396
|
+
options: localVarRequestOptions,
|
|
5397
|
+
};
|
|
5398
|
+
}),
|
|
5399
|
+
};
|
|
5400
|
+
};
|
|
5401
|
+
/**
|
|
5402
|
+
* SceneSynchronizationsApi - functional programming interface
|
|
5403
|
+
* @export
|
|
5404
|
+
*/
|
|
5405
|
+
export const SceneSynchronizationsApiFp = function (configuration) {
|
|
5406
|
+
const localVarAxiosParamCreator = SceneSynchronizationsApiAxiosParamCreator(configuration);
|
|
5407
|
+
return {
|
|
5408
|
+
/**
|
|
5409
|
+
* Create a scene item update job.
|
|
5410
|
+
* @param {string} id The `scene` ID.
|
|
5411
|
+
* @param {CreateSceneSyncRequest} createSceneSyncRequest
|
|
5412
|
+
* @param {*} [options] Override http request option.
|
|
5413
|
+
* @throws {RequiredError}
|
|
5414
|
+
*/
|
|
5415
|
+
createSceneSync(id, createSceneSyncRequest, options) {
|
|
5416
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5417
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSceneSync(id, createSceneSyncRequest, options);
|
|
5418
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5419
|
+
});
|
|
5420
|
+
},
|
|
5421
|
+
/**
|
|
5422
|
+
* Get a `queued-scene-sync-job`.
|
|
5423
|
+
* @param {string} id The `queued-scene-sync` ID.
|
|
5424
|
+
* @param {*} [options] Override http request option.
|
|
5425
|
+
* @throws {RequiredError}
|
|
5426
|
+
*/
|
|
5427
|
+
getQueuedSceneSync(id, options) {
|
|
5428
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5429
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQueuedSceneSync(id, options);
|
|
5430
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5431
|
+
});
|
|
5432
|
+
},
|
|
5433
|
+
/**
|
|
5434
|
+
* Get a `scene-sync`.
|
|
5435
|
+
* @param {string} id The `scene-sync` ID.
|
|
5436
|
+
* @param {*} [options] Override http request option.
|
|
5437
|
+
* @throws {RequiredError}
|
|
5438
|
+
*/
|
|
5439
|
+
getSceneSync(id, options) {
|
|
5440
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5441
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneSync(id, options);
|
|
5442
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5443
|
+
});
|
|
5444
|
+
},
|
|
5445
|
+
/**
|
|
5446
|
+
* Get the results of a scene synchronization.
|
|
5447
|
+
* @param {string} id The `scene-sync` ID.
|
|
5448
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
5449
|
+
* @param {number} [pageSize] The number of items to return.
|
|
5450
|
+
* @param {string} [filterSceneItemId] List of scene item IDs to filter on.
|
|
5451
|
+
* @param {*} [options] Override http request option.
|
|
5452
|
+
* @throws {RequiredError}
|
|
5453
|
+
*/
|
|
5454
|
+
getSceneSyncItemResults(id, pageCursor, pageSize, filterSceneItemId, options) {
|
|
5455
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5456
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneSyncItemResults(id, pageCursor, pageSize, filterSceneItemId, options);
|
|
5457
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5458
|
+
});
|
|
5459
|
+
},
|
|
5460
|
+
};
|
|
5461
|
+
};
|
|
5462
|
+
/**
|
|
5463
|
+
* SceneSynchronizationsApi - factory interface
|
|
5464
|
+
* @export
|
|
5465
|
+
*/
|
|
5466
|
+
export const SceneSynchronizationsApiFactory = function (configuration, basePath, axios) {
|
|
5467
|
+
const localVarFp = SceneSynchronizationsApiFp(configuration);
|
|
5468
|
+
return {
|
|
5469
|
+
/**
|
|
5470
|
+
* Create a scene item update job.
|
|
5471
|
+
* @param {string} id The `scene` ID.
|
|
5472
|
+
* @param {CreateSceneSyncRequest} createSceneSyncRequest
|
|
5473
|
+
* @param {*} [options] Override http request option.
|
|
5474
|
+
* @throws {RequiredError}
|
|
5475
|
+
*/
|
|
5476
|
+
createSceneSync(id, createSceneSyncRequest, options) {
|
|
5477
|
+
return localVarFp
|
|
5478
|
+
.createSceneSync(id, createSceneSyncRequest, options)
|
|
5479
|
+
.then((request) => request(axios, basePath));
|
|
5480
|
+
},
|
|
5481
|
+
/**
|
|
5482
|
+
* Get a `queued-scene-sync-job`.
|
|
5483
|
+
* @param {string} id The `queued-scene-sync` ID.
|
|
5484
|
+
* @param {*} [options] Override http request option.
|
|
5485
|
+
* @throws {RequiredError}
|
|
5486
|
+
*/
|
|
5487
|
+
getQueuedSceneSync(id, options) {
|
|
5488
|
+
return localVarFp
|
|
5489
|
+
.getQueuedSceneSync(id, options)
|
|
5490
|
+
.then((request) => request(axios, basePath));
|
|
5491
|
+
},
|
|
5492
|
+
/**
|
|
5493
|
+
* Get a `scene-sync`.
|
|
5494
|
+
* @param {string} id The `scene-sync` ID.
|
|
5495
|
+
* @param {*} [options] Override http request option.
|
|
5496
|
+
* @throws {RequiredError}
|
|
5497
|
+
*/
|
|
5498
|
+
getSceneSync(id, options) {
|
|
5499
|
+
return localVarFp
|
|
5500
|
+
.getSceneSync(id, options)
|
|
5501
|
+
.then((request) => request(axios, basePath));
|
|
5502
|
+
},
|
|
5503
|
+
/**
|
|
5504
|
+
* Get the results of a scene synchronization.
|
|
5505
|
+
* @param {string} id The `scene-sync` ID.
|
|
5506
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
5507
|
+
* @param {number} [pageSize] The number of items to return.
|
|
5508
|
+
* @param {string} [filterSceneItemId] List of scene item IDs to filter on.
|
|
5509
|
+
* @param {*} [options] Override http request option.
|
|
5510
|
+
* @throws {RequiredError}
|
|
5511
|
+
*/
|
|
5512
|
+
getSceneSyncItemResults(id, pageCursor, pageSize, filterSceneItemId, options) {
|
|
5513
|
+
return localVarFp
|
|
5514
|
+
.getSceneSyncItemResults(id, pageCursor, pageSize, filterSceneItemId, options)
|
|
5515
|
+
.then((request) => request(axios, basePath));
|
|
5516
|
+
},
|
|
5517
|
+
};
|
|
5518
|
+
};
|
|
5519
|
+
/**
|
|
5520
|
+
* SceneSynchronizationsApi - object-oriented interface
|
|
5521
|
+
* @export
|
|
5522
|
+
* @class SceneSynchronizationsApi
|
|
5523
|
+
* @extends {BaseAPI}
|
|
5524
|
+
*/
|
|
5525
|
+
export class SceneSynchronizationsApi extends BaseAPI {
|
|
5526
|
+
/**
|
|
5527
|
+
* Create a scene item update job.
|
|
5528
|
+
* @param {SceneSynchronizationsApiCreateSceneSyncRequest} requestParameters Request parameters.
|
|
5529
|
+
* @param {*} [options] Override http request option.
|
|
5530
|
+
* @throws {RequiredError}
|
|
5531
|
+
* @memberof SceneSynchronizationsApi
|
|
5532
|
+
*/
|
|
5533
|
+
createSceneSync(requestParameters, options) {
|
|
5534
|
+
return SceneSynchronizationsApiFp(this.configuration)
|
|
5535
|
+
.createSceneSync(requestParameters.id, requestParameters.createSceneSyncRequest, options)
|
|
5536
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5537
|
+
}
|
|
5538
|
+
/**
|
|
5539
|
+
* Get a `queued-scene-sync-job`.
|
|
5540
|
+
* @param {SceneSynchronizationsApiGetQueuedSceneSyncRequest} requestParameters Request parameters.
|
|
5541
|
+
* @param {*} [options] Override http request option.
|
|
5542
|
+
* @throws {RequiredError}
|
|
5543
|
+
* @memberof SceneSynchronizationsApi
|
|
5544
|
+
*/
|
|
5545
|
+
getQueuedSceneSync(requestParameters, options) {
|
|
5546
|
+
return SceneSynchronizationsApiFp(this.configuration)
|
|
5547
|
+
.getQueuedSceneSync(requestParameters.id, options)
|
|
5548
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5549
|
+
}
|
|
5550
|
+
/**
|
|
5551
|
+
* Get a `scene-sync`.
|
|
5552
|
+
* @param {SceneSynchronizationsApiGetSceneSyncRequest} requestParameters Request parameters.
|
|
5553
|
+
* @param {*} [options] Override http request option.
|
|
5554
|
+
* @throws {RequiredError}
|
|
5555
|
+
* @memberof SceneSynchronizationsApi
|
|
5556
|
+
*/
|
|
5557
|
+
getSceneSync(requestParameters, options) {
|
|
5558
|
+
return SceneSynchronizationsApiFp(this.configuration)
|
|
5559
|
+
.getSceneSync(requestParameters.id, options)
|
|
5560
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5561
|
+
}
|
|
5562
|
+
/**
|
|
5563
|
+
* Get the results of a scene synchronization.
|
|
5564
|
+
* @param {SceneSynchronizationsApiGetSceneSyncItemResultsRequest} requestParameters Request parameters.
|
|
5565
|
+
* @param {*} [options] Override http request option.
|
|
5566
|
+
* @throws {RequiredError}
|
|
5567
|
+
* @memberof SceneSynchronizationsApi
|
|
5568
|
+
*/
|
|
5569
|
+
getSceneSyncItemResults(requestParameters, options) {
|
|
5570
|
+
return SceneSynchronizationsApiFp(this.configuration)
|
|
5571
|
+
.getSceneSyncItemResults(requestParameters.id, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterSceneItemId, options)
|
|
5572
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5573
|
+
}
|
|
5574
|
+
}
|
|
4924
5575
|
/**
|
|
4925
5576
|
* SceneViewStatesApi - axios parameter creator
|
|
4926
5577
|
* @export
|
|
@@ -6034,10 +6685,13 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
6034
6685
|
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
6035
6686
|
* @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.
|
|
6036
6687
|
* @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`.
|
|
6688
|
+
* @param {string} [filterSceneItemsSourcePartRevision] Comma-separated list of scene-item source part revision IDs to filter on.
|
|
6689
|
+
* @param {string} [filterSceneItemsSourceGeometrySet] Comma-separated list of scene-item source geometry set IDs to filter on.
|
|
6690
|
+
* @param {string} [filterSceneItemsSourceScene] Comma-separated list of scene-item source scene IDs to filter on.
|
|
6037
6691
|
* @param {*} [options] Override http request option.
|
|
6038
6692
|
* @throws {RequiredError}
|
|
6039
6693
|
*/
|
|
6040
|
-
getScenes: (pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6694
|
+
getScenes: (pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, filterSceneItemsSourcePartRevision, filterSceneItemsSourceGeometrySet, filterSceneItemsSourceScene, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6041
6695
|
var _e;
|
|
6042
6696
|
const localVarPath = `/scenes`;
|
|
6043
6697
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -6070,6 +6724,18 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
6070
6724
|
if (filterMetadata !== undefined) {
|
|
6071
6725
|
localVarQueryParameter['filter[metadata]'] = filterMetadata;
|
|
6072
6726
|
}
|
|
6727
|
+
if (filterSceneItemsSourcePartRevision !== undefined) {
|
|
6728
|
+
localVarQueryParameter['filter[sceneItems.source.partRevision]'] =
|
|
6729
|
+
filterSceneItemsSourcePartRevision;
|
|
6730
|
+
}
|
|
6731
|
+
if (filterSceneItemsSourceGeometrySet !== undefined) {
|
|
6732
|
+
localVarQueryParameter['filter[sceneItems.source.geometrySet]'] =
|
|
6733
|
+
filterSceneItemsSourceGeometrySet;
|
|
6734
|
+
}
|
|
6735
|
+
if (filterSceneItemsSourceScene !== undefined) {
|
|
6736
|
+
localVarQueryParameter['filter[sceneItems.source.scene]'] =
|
|
6737
|
+
filterSceneItemsSourceScene;
|
|
6738
|
+
}
|
|
6073
6739
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6074
6740
|
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
6075
6741
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6219,12 +6885,15 @@ export const ScenesApiFp = function (configuration) {
|
|
|
6219
6885
|
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
6220
6886
|
* @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.
|
|
6221
6887
|
* @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`.
|
|
6888
|
+
* @param {string} [filterSceneItemsSourcePartRevision] Comma-separated list of scene-item source part revision IDs to filter on.
|
|
6889
|
+
* @param {string} [filterSceneItemsSourceGeometrySet] Comma-separated list of scene-item source geometry set IDs to filter on.
|
|
6890
|
+
* @param {string} [filterSceneItemsSourceScene] Comma-separated list of scene-item source scene IDs to filter on.
|
|
6222
6891
|
* @param {*} [options] Override http request option.
|
|
6223
6892
|
* @throws {RequiredError}
|
|
6224
6893
|
*/
|
|
6225
|
-
getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, options) {
|
|
6894
|
+
getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, filterSceneItemsSourcePartRevision, filterSceneItemsSourceGeometrySet, filterSceneItemsSourceScene, options) {
|
|
6226
6895
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6227
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, options);
|
|
6896
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, filterSceneItemsSourcePartRevision, filterSceneItemsSourceGeometrySet, filterSceneItemsSourceScene, options);
|
|
6228
6897
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6229
6898
|
});
|
|
6230
6899
|
},
|
|
@@ -6317,12 +6986,15 @@ export const ScenesApiFactory = function (configuration, basePath, axios) {
|
|
|
6317
6986
|
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
6318
6987
|
* @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.
|
|
6319
6988
|
* @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`.
|
|
6989
|
+
* @param {string} [filterSceneItemsSourcePartRevision] Comma-separated list of scene-item source part revision IDs to filter on.
|
|
6990
|
+
* @param {string} [filterSceneItemsSourceGeometrySet] Comma-separated list of scene-item source geometry set IDs to filter on.
|
|
6991
|
+
* @param {string} [filterSceneItemsSourceScene] Comma-separated list of scene-item source scene IDs to filter on.
|
|
6320
6992
|
* @param {*} [options] Override http request option.
|
|
6321
6993
|
* @throws {RequiredError}
|
|
6322
6994
|
*/
|
|
6323
|
-
getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, options) {
|
|
6995
|
+
getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, filterSceneItemsSourcePartRevision, filterSceneItemsSourceGeometrySet, filterSceneItemsSourceScene, options) {
|
|
6324
6996
|
return localVarFp
|
|
6325
|
-
.getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, options)
|
|
6997
|
+
.getScenes(pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, filterSceneItemsSourcePartRevision, filterSceneItemsSourceGeometrySet, filterSceneItemsSourceScene, options)
|
|
6326
6998
|
.then((request) => request(axios, basePath));
|
|
6327
6999
|
},
|
|
6328
7000
|
/**
|
|
@@ -6416,7 +7088,7 @@ export class ScenesApi extends BaseAPI {
|
|
|
6416
7088
|
*/
|
|
6417
7089
|
getScenes(requestParameters = {}, options) {
|
|
6418
7090
|
return ScenesApiFp(this.configuration)
|
|
6419
|
-
.getScenes(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterName, requestParameters.filterSuppliedId, requestParameters.fieldsScene, requestParameters.filterMetadata, options)
|
|
7091
|
+
.getScenes(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterName, requestParameters.filterSuppliedId, requestParameters.fieldsScene, requestParameters.filterMetadata, requestParameters.filterSceneItemsSourcePartRevision, requestParameters.filterSceneItemsSourceGeometrySet, requestParameters.filterSceneItemsSourceScene, options)
|
|
6420
7092
|
.then((request) => request(this.axios, this.basePath));
|
|
6421
7093
|
}
|
|
6422
7094
|
/**
|