@vertexvis/api-client-node 0.20.10 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api.js +176 -88
- package/dist/cjs/client/helpers/scene-items.d.ts +21 -0
- package/dist/cjs/client/helpers/scene-items.js +40 -1
- package/dist/cjs/client/helpers/scenes.d.ts +21 -38
- package/dist/cjs/client/helpers/scenes.js +231 -192
- package/dist/cjs/client/utils.d.ts +8 -1
- package/dist/cjs/client/utils.js +21 -2
- package/dist/cjs/client/version.d.ts +1 -1
- package/dist/cjs/client/version.js +1 -1
- package/dist/esm/api.js +176 -88
- package/dist/esm/client/helpers/scene-items.d.ts +21 -0
- package/dist/esm/client/helpers/scene-items.js +38 -1
- package/dist/esm/client/helpers/scenes.d.ts +21 -38
- package/dist/esm/client/helpers/scenes.js +229 -188
- package/dist/esm/client/utils.d.ts +8 -1
- package/dist/esm/client/utils.js +18 -1
- package/dist/esm/client/version.d.ts +1 -1
- package/dist/esm/client/version.js +1 -1
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -141,6 +141,7 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
141
141
|
* @throws {RequiredError}
|
|
142
142
|
*/
|
|
143
143
|
createAccount: (createAccountRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
144
|
+
var _a;
|
|
144
145
|
// verify required parameter 'createAccountRequest' is not null or undefined
|
|
145
146
|
assertParamExists('createAccount', 'createAccountRequest', createAccountRequest);
|
|
146
147
|
const localVarPath = `/accounts`;
|
|
@@ -158,7 +159,7 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
158
159
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2Internal', ['accounts.*', 'accounts.write'], configuration);
|
|
159
160
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
160
161
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
161
|
-
let headersFromBaseOptions = baseOptions
|
|
162
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
162
163
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
163
164
|
localVarRequestOptions.data = serializeDataIfNeeded(createAccountRequest, localVarRequestOptions, configuration);
|
|
164
165
|
return {
|
|
@@ -174,6 +175,7 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
174
175
|
* @throws {RequiredError}
|
|
175
176
|
*/
|
|
176
177
|
createApplicationForAccount: (id, adminCreateApplicationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
178
|
+
var _b;
|
|
177
179
|
// verify required parameter 'id' is not null or undefined
|
|
178
180
|
assertParamExists('createApplicationForAccount', 'id', id);
|
|
179
181
|
// verify required parameter 'adminCreateApplicationRequest' is not null or undefined
|
|
@@ -193,7 +195,7 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
193
195
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2Internal', ['accounts.*', 'accounts.write'], configuration);
|
|
194
196
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
195
197
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
196
|
-
let headersFromBaseOptions = baseOptions
|
|
198
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
197
199
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
198
200
|
localVarRequestOptions.data = serializeDataIfNeeded(adminCreateApplicationRequest, localVarRequestOptions, configuration);
|
|
199
201
|
return {
|
|
@@ -208,6 +210,7 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
208
210
|
* @throws {RequiredError}
|
|
209
211
|
*/
|
|
210
212
|
deleteAccount: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
213
|
+
var _c;
|
|
211
214
|
// verify required parameter 'id' is not null or undefined
|
|
212
215
|
assertParamExists('deleteAccount', 'id', id);
|
|
213
216
|
const localVarPath = `/accounts/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -224,7 +227,7 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
224
227
|
// oauth required
|
|
225
228
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2Internal', ['accounts.*', 'accounts.write'], configuration);
|
|
226
229
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
227
|
-
let headersFromBaseOptions = baseOptions
|
|
230
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
228
231
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
229
232
|
return {
|
|
230
233
|
url: toPathString(localVarUrlObj),
|
|
@@ -238,6 +241,7 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
238
241
|
* @throws {RequiredError}
|
|
239
242
|
*/
|
|
240
243
|
getAccount: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
244
|
+
var _d;
|
|
241
245
|
// verify required parameter 'id' is not null or undefined
|
|
242
246
|
assertParamExists('getAccount', 'id', id);
|
|
243
247
|
const localVarPath = `/accounts/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -254,7 +258,7 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
254
258
|
// oauth required
|
|
255
259
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2Internal', ['accounts.*', 'accounts.read'], configuration);
|
|
256
260
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
257
|
-
let headersFromBaseOptions = baseOptions
|
|
261
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
258
262
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
259
263
|
return {
|
|
260
264
|
url: toPathString(localVarUrlObj),
|
|
@@ -269,6 +273,7 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
269
273
|
* @throws {RequiredError}
|
|
270
274
|
*/
|
|
271
275
|
updateAccount: (id, updateAccountRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
276
|
+
var _e;
|
|
272
277
|
// verify required parameter 'id' is not null or undefined
|
|
273
278
|
assertParamExists('updateAccount', 'id', id);
|
|
274
279
|
// verify required parameter 'updateAccountRequest' is not null or undefined
|
|
@@ -288,7 +293,7 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
288
293
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2Internal', ['accounts.*', 'accounts.write'], configuration);
|
|
289
294
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
290
295
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
291
|
-
let headersFromBaseOptions = baseOptions
|
|
296
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
292
297
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
293
298
|
localVarRequestOptions.data = serializeDataIfNeeded(updateAccountRequest, localVarRequestOptions, configuration);
|
|
294
299
|
return {
|
|
@@ -516,6 +521,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
516
521
|
* @throws {RequiredError}
|
|
517
522
|
*/
|
|
518
523
|
createApplication: (createApplicationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
524
|
+
var _a;
|
|
519
525
|
// verify required parameter 'createApplicationRequest' is not null or undefined
|
|
520
526
|
assertParamExists('createApplication', 'createApplicationRequest', createApplicationRequest);
|
|
521
527
|
const localVarPath = `/applications`;
|
|
@@ -533,7 +539,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
533
539
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
534
540
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
535
541
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
536
|
-
let headersFromBaseOptions = baseOptions
|
|
542
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
537
543
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
538
544
|
localVarRequestOptions.data = serializeDataIfNeeded(createApplicationRequest, localVarRequestOptions, configuration);
|
|
539
545
|
return {
|
|
@@ -548,6 +554,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
548
554
|
* @throws {RequiredError}
|
|
549
555
|
*/
|
|
550
556
|
deleteApplication: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
557
|
+
var _b;
|
|
551
558
|
// verify required parameter 'id' is not null or undefined
|
|
552
559
|
assertParamExists('deleteApplication', 'id', id);
|
|
553
560
|
const localVarPath = `/applications/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -564,7 +571,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
564
571
|
// oauth required
|
|
565
572
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
566
573
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
567
|
-
let headersFromBaseOptions = baseOptions
|
|
574
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
568
575
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
569
576
|
return {
|
|
570
577
|
url: toPathString(localVarUrlObj),
|
|
@@ -578,6 +585,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
578
585
|
* @throws {RequiredError}
|
|
579
586
|
*/
|
|
580
587
|
getApplication: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
588
|
+
var _c;
|
|
581
589
|
// verify required parameter 'id' is not null or undefined
|
|
582
590
|
assertParamExists('getApplication', 'id', id);
|
|
583
591
|
const localVarPath = `/applications/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -594,7 +602,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
594
602
|
// oauth required
|
|
595
603
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
596
604
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
597
|
-
let headersFromBaseOptions = baseOptions
|
|
605
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
598
606
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
599
607
|
return {
|
|
600
608
|
url: toPathString(localVarUrlObj),
|
|
@@ -609,6 +617,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
609
617
|
* @throws {RequiredError}
|
|
610
618
|
*/
|
|
611
619
|
getApplications: (pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
620
|
+
var _d;
|
|
612
621
|
const localVarPath = `/applications`;
|
|
613
622
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
614
623
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -629,7 +638,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
629
638
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
630
639
|
}
|
|
631
640
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
632
|
-
let headersFromBaseOptions = baseOptions
|
|
641
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
633
642
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
634
643
|
return {
|
|
635
644
|
url: toPathString(localVarUrlObj),
|
|
@@ -644,6 +653,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
644
653
|
* @throws {RequiredError}
|
|
645
654
|
*/
|
|
646
655
|
updateApplication: (id, updateApplicationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
656
|
+
var _e;
|
|
647
657
|
// verify required parameter 'id' is not null or undefined
|
|
648
658
|
assertParamExists('updateApplication', 'id', id);
|
|
649
659
|
// verify required parameter 'updateApplicationRequest' is not null or undefined
|
|
@@ -663,7 +673,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
663
673
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
664
674
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
665
675
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
666
|
-
let headersFromBaseOptions = baseOptions
|
|
676
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
667
677
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
668
678
|
localVarRequestOptions.data = serializeDataIfNeeded(updateApplicationRequest, localVarRequestOptions, configuration);
|
|
669
679
|
return {
|
|
@@ -891,6 +901,7 @@ export const BatchesApiAxiosParamCreator = function (configuration) {
|
|
|
891
901
|
* @throws {RequiredError}
|
|
892
902
|
*/
|
|
893
903
|
createBatch: (createBatchRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
904
|
+
var _a;
|
|
894
905
|
// verify required parameter 'createBatchRequest' is not null or undefined
|
|
895
906
|
assertParamExists('createBatch', 'createBatchRequest', createBatchRequest);
|
|
896
907
|
const localVarPath = `/batches`;
|
|
@@ -908,7 +919,7 @@ export const BatchesApiAxiosParamCreator = function (configuration) {
|
|
|
908
919
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
909
920
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
910
921
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
911
|
-
let headersFromBaseOptions = baseOptions
|
|
922
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
912
923
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
913
924
|
localVarRequestOptions.data = serializeDataIfNeeded(createBatchRequest, localVarRequestOptions, configuration);
|
|
914
925
|
return {
|
|
@@ -923,6 +934,7 @@ export const BatchesApiAxiosParamCreator = function (configuration) {
|
|
|
923
934
|
* @throws {RequiredError}
|
|
924
935
|
*/
|
|
925
936
|
getBatch: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
937
|
+
var _b;
|
|
926
938
|
// verify required parameter 'id' is not null or undefined
|
|
927
939
|
assertParamExists('getBatch', 'id', id);
|
|
928
940
|
const localVarPath = `/batches/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -939,7 +951,7 @@ export const BatchesApiAxiosParamCreator = function (configuration) {
|
|
|
939
951
|
// oauth required
|
|
940
952
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
941
953
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
942
|
-
let headersFromBaseOptions = baseOptions
|
|
954
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
943
955
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
944
956
|
return {
|
|
945
957
|
url: toPathString(localVarUrlObj),
|
|
@@ -953,6 +965,7 @@ export const BatchesApiAxiosParamCreator = function (configuration) {
|
|
|
953
965
|
* @throws {RequiredError}
|
|
954
966
|
*/
|
|
955
967
|
getQueuedBatch: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
968
|
+
var _c;
|
|
956
969
|
// verify required parameter 'id' is not null or undefined
|
|
957
970
|
assertParamExists('getQueuedBatch', 'id', id);
|
|
958
971
|
const localVarPath = `/queued-batches/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -969,7 +982,7 @@ export const BatchesApiAxiosParamCreator = function (configuration) {
|
|
|
969
982
|
// oauth required
|
|
970
983
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
971
984
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
972
|
-
let headersFromBaseOptions = baseOptions
|
|
985
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
973
986
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
974
987
|
return {
|
|
975
988
|
url: toPathString(localVarUrlObj),
|
|
@@ -1122,6 +1135,7 @@ export const ExportsApiAxiosParamCreator = function (configuration) {
|
|
|
1122
1135
|
* @throws {RequiredError}
|
|
1123
1136
|
*/
|
|
1124
1137
|
createExport: (createExportRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1138
|
+
var _a;
|
|
1125
1139
|
// verify required parameter 'createExportRequest' is not null or undefined
|
|
1126
1140
|
assertParamExists('createExport', 'createExportRequest', createExportRequest);
|
|
1127
1141
|
const localVarPath = `/exports`;
|
|
@@ -1139,7 +1153,7 @@ export const ExportsApiAxiosParamCreator = function (configuration) {
|
|
|
1139
1153
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1140
1154
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
1141
1155
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1142
|
-
let headersFromBaseOptions = baseOptions
|
|
1156
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
1143
1157
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1144
1158
|
localVarRequestOptions.data = serializeDataIfNeeded(createExportRequest, localVarRequestOptions, configuration);
|
|
1145
1159
|
return {
|
|
@@ -1154,6 +1168,7 @@ export const ExportsApiAxiosParamCreator = function (configuration) {
|
|
|
1154
1168
|
* @throws {RequiredError}
|
|
1155
1169
|
*/
|
|
1156
1170
|
getExport: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1171
|
+
var _b;
|
|
1157
1172
|
// verify required parameter 'id' is not null or undefined
|
|
1158
1173
|
assertParamExists('getExport', 'id', id);
|
|
1159
1174
|
const localVarPath = `/exports/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -1170,7 +1185,7 @@ export const ExportsApiAxiosParamCreator = function (configuration) {
|
|
|
1170
1185
|
// oauth required
|
|
1171
1186
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1172
1187
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1173
|
-
let headersFromBaseOptions = baseOptions
|
|
1188
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
1174
1189
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1175
1190
|
return {
|
|
1176
1191
|
url: toPathString(localVarUrlObj),
|
|
@@ -1184,6 +1199,7 @@ export const ExportsApiAxiosParamCreator = function (configuration) {
|
|
|
1184
1199
|
* @throws {RequiredError}
|
|
1185
1200
|
*/
|
|
1186
1201
|
getQueuedExport: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1202
|
+
var _c;
|
|
1187
1203
|
// verify required parameter 'id' is not null or undefined
|
|
1188
1204
|
assertParamExists('getQueuedExport', 'id', id);
|
|
1189
1205
|
const localVarPath = `/queued-exports/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -1200,7 +1216,7 @@ export const ExportsApiAxiosParamCreator = function (configuration) {
|
|
|
1200
1216
|
// oauth required
|
|
1201
1217
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1202
1218
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1203
|
-
let headersFromBaseOptions = baseOptions
|
|
1219
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
1204
1220
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1205
1221
|
return {
|
|
1206
1222
|
url: toPathString(localVarUrlObj),
|
|
@@ -1353,6 +1369,7 @@ export const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1353
1369
|
* @throws {RequiredError}
|
|
1354
1370
|
*/
|
|
1355
1371
|
createFile: (createFileRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1372
|
+
var _a;
|
|
1356
1373
|
// verify required parameter 'createFileRequest' is not null or undefined
|
|
1357
1374
|
assertParamExists('createFile', 'createFileRequest', createFileRequest);
|
|
1358
1375
|
const localVarPath = `/files`;
|
|
@@ -1370,7 +1387,7 @@ export const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1370
1387
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1371
1388
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
1372
1389
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1373
|
-
let headersFromBaseOptions = baseOptions
|
|
1390
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
1374
1391
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1375
1392
|
localVarRequestOptions.data = serializeDataIfNeeded(createFileRequest, localVarRequestOptions, configuration);
|
|
1376
1393
|
return {
|
|
@@ -1385,6 +1402,7 @@ export const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1385
1402
|
* @throws {RequiredError}
|
|
1386
1403
|
*/
|
|
1387
1404
|
deleteFile: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1405
|
+
var _b;
|
|
1388
1406
|
// verify required parameter 'id' is not null or undefined
|
|
1389
1407
|
assertParamExists('deleteFile', 'id', id);
|
|
1390
1408
|
const localVarPath = `/files/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -1401,7 +1419,7 @@ export const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1401
1419
|
// oauth required
|
|
1402
1420
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1403
1421
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1404
|
-
let headersFromBaseOptions = baseOptions
|
|
1422
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
1405
1423
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1406
1424
|
return {
|
|
1407
1425
|
url: toPathString(localVarUrlObj),
|
|
@@ -1415,6 +1433,7 @@ export const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1415
1433
|
* @throws {RequiredError}
|
|
1416
1434
|
*/
|
|
1417
1435
|
getFile: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1436
|
+
var _c;
|
|
1418
1437
|
// verify required parameter 'id' is not null or undefined
|
|
1419
1438
|
assertParamExists('getFile', 'id', id);
|
|
1420
1439
|
const localVarPath = `/files/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -1431,7 +1450,7 @@ export const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1431
1450
|
// oauth required
|
|
1432
1451
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1433
1452
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1434
|
-
let headersFromBaseOptions = baseOptions
|
|
1453
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
1435
1454
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1436
1455
|
return {
|
|
1437
1456
|
url: toPathString(localVarUrlObj),
|
|
@@ -1447,6 +1466,7 @@ export const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1447
1466
|
* @throws {RequiredError}
|
|
1448
1467
|
*/
|
|
1449
1468
|
getFiles: (pageCursor, pageSize, filterSuppliedId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1469
|
+
var _d;
|
|
1450
1470
|
const localVarPath = `/files`;
|
|
1451
1471
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1452
1472
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1470,7 +1490,7 @@ export const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1470
1490
|
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
1471
1491
|
}
|
|
1472
1492
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1473
|
-
let headersFromBaseOptions = baseOptions
|
|
1493
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
1474
1494
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1475
1495
|
return {
|
|
1476
1496
|
url: toPathString(localVarUrlObj),
|
|
@@ -1485,6 +1505,7 @@ export const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1485
1505
|
* @throws {RequiredError}
|
|
1486
1506
|
*/
|
|
1487
1507
|
uploadFile: (id, body, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1508
|
+
var _e;
|
|
1488
1509
|
// verify required parameter 'id' is not null or undefined
|
|
1489
1510
|
assertParamExists('uploadFile', 'id', id);
|
|
1490
1511
|
// verify required parameter 'body' is not null or undefined
|
|
@@ -1504,7 +1525,7 @@ export const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1504
1525
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1505
1526
|
localVarHeaderParameter['Content-Type'] = 'application/octet-stream';
|
|
1506
1527
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1507
|
-
let headersFromBaseOptions = baseOptions
|
|
1528
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
1508
1529
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1509
1530
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
1510
1531
|
return {
|
|
@@ -1734,6 +1755,7 @@ export const GeometrySetsApiAxiosParamCreator = function (configuration) {
|
|
|
1734
1755
|
* @throws {RequiredError}
|
|
1735
1756
|
*/
|
|
1736
1757
|
createGeometrySet: (createGeometrySetRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1758
|
+
var _a;
|
|
1737
1759
|
// verify required parameter 'createGeometrySetRequest' is not null or undefined
|
|
1738
1760
|
assertParamExists('createGeometrySet', 'createGeometrySetRequest', createGeometrySetRequest);
|
|
1739
1761
|
const localVarPath = `/geometry-sets`;
|
|
@@ -1751,7 +1773,7 @@ export const GeometrySetsApiAxiosParamCreator = function (configuration) {
|
|
|
1751
1773
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1752
1774
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
1753
1775
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1754
|
-
let headersFromBaseOptions = baseOptions
|
|
1776
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
1755
1777
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1756
1778
|
localVarRequestOptions.data = serializeDataIfNeeded(createGeometrySetRequest, localVarRequestOptions, configuration);
|
|
1757
1779
|
return {
|
|
@@ -1766,6 +1788,7 @@ export const GeometrySetsApiAxiosParamCreator = function (configuration) {
|
|
|
1766
1788
|
* @throws {RequiredError}
|
|
1767
1789
|
*/
|
|
1768
1790
|
getGeometrySet: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1791
|
+
var _b;
|
|
1769
1792
|
// verify required parameter 'id' is not null or undefined
|
|
1770
1793
|
assertParamExists('getGeometrySet', 'id', id);
|
|
1771
1794
|
const localVarPath = `/geometry-sets/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -1782,7 +1805,7 @@ export const GeometrySetsApiAxiosParamCreator = function (configuration) {
|
|
|
1782
1805
|
// oauth required
|
|
1783
1806
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1784
1807
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1785
|
-
let headersFromBaseOptions = baseOptions
|
|
1808
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
1786
1809
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1787
1810
|
return {
|
|
1788
1811
|
url: toPathString(localVarUrlObj),
|
|
@@ -1797,6 +1820,7 @@ export const GeometrySetsApiAxiosParamCreator = function (configuration) {
|
|
|
1797
1820
|
* @throws {RequiredError}
|
|
1798
1821
|
*/
|
|
1799
1822
|
getGeometrySets: (pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1823
|
+
var _c;
|
|
1800
1824
|
const localVarPath = `/geometry-sets`;
|
|
1801
1825
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1802
1826
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1817,7 +1841,7 @@ export const GeometrySetsApiAxiosParamCreator = function (configuration) {
|
|
|
1817
1841
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
1818
1842
|
}
|
|
1819
1843
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1820
|
-
let headersFromBaseOptions = baseOptions
|
|
1844
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
1821
1845
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1822
1846
|
return {
|
|
1823
1847
|
url: toPathString(localVarUrlObj),
|
|
@@ -1975,6 +1999,7 @@ export const HitsApiAxiosParamCreator = function (configuration) {
|
|
|
1975
1999
|
* @throws {RequiredError}
|
|
1976
2000
|
*/
|
|
1977
2001
|
createSceneHit: (id, createHitRequest, include, fieldsPartRevision, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2002
|
+
var _a;
|
|
1978
2003
|
// verify required parameter 'id' is not null or undefined
|
|
1979
2004
|
assertParamExists('createSceneHit', 'id', id);
|
|
1980
2005
|
// verify required parameter 'createHitRequest' is not null or undefined
|
|
@@ -2000,7 +2025,7 @@ export const HitsApiAxiosParamCreator = function (configuration) {
|
|
|
2000
2025
|
}
|
|
2001
2026
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2002
2027
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2003
|
-
let headersFromBaseOptions = baseOptions
|
|
2028
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
2004
2029
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2005
2030
|
localVarRequestOptions.data = serializeDataIfNeeded(createHitRequest, localVarRequestOptions, configuration);
|
|
2006
2031
|
return {
|
|
@@ -2018,6 +2043,7 @@ export const HitsApiAxiosParamCreator = function (configuration) {
|
|
|
2018
2043
|
* @throws {RequiredError}
|
|
2019
2044
|
*/
|
|
2020
2045
|
createSceneViewHit: (id, createHitRequest, include, fieldsPartRevision, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2046
|
+
var _b;
|
|
2021
2047
|
// verify required parameter 'id' is not null or undefined
|
|
2022
2048
|
assertParamExists('createSceneViewHit', 'id', id);
|
|
2023
2049
|
// verify required parameter 'createHitRequest' is not null or undefined
|
|
@@ -2043,7 +2069,7 @@ export const HitsApiAxiosParamCreator = function (configuration) {
|
|
|
2043
2069
|
}
|
|
2044
2070
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2045
2071
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2046
|
-
let headersFromBaseOptions = baseOptions
|
|
2072
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
2047
2073
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2048
2074
|
localVarRequestOptions.data = serializeDataIfNeeded(createHitRequest, localVarRequestOptions, configuration);
|
|
2049
2075
|
return {
|
|
@@ -2175,6 +2201,7 @@ export const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2175
2201
|
* @throws {RequiredError}
|
|
2176
2202
|
*/
|
|
2177
2203
|
adminAcceptConsent: (challenge, adminConsentAcceptRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2204
|
+
var _a;
|
|
2178
2205
|
// verify required parameter 'challenge' is not null or undefined
|
|
2179
2206
|
assertParamExists('adminAcceptConsent', 'challenge', challenge);
|
|
2180
2207
|
const localVarPath = `/oauth2/auth/requests/consent/accept`;
|
|
@@ -2195,7 +2222,7 @@ export const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2195
2222
|
}
|
|
2196
2223
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2197
2224
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2198
|
-
let headersFromBaseOptions = baseOptions
|
|
2225
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
2199
2226
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2200
2227
|
localVarRequestOptions.data = serializeDataIfNeeded(adminConsentAcceptRequest, localVarRequestOptions, configuration);
|
|
2201
2228
|
return {
|
|
@@ -2211,6 +2238,7 @@ export const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2211
2238
|
* @throws {RequiredError}
|
|
2212
2239
|
*/
|
|
2213
2240
|
adminAcceptLogin: (loginChallenge, adminLoginAcceptRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2241
|
+
var _b;
|
|
2214
2242
|
// verify required parameter 'loginChallenge' is not null or undefined
|
|
2215
2243
|
assertParamExists('adminAcceptLogin', 'loginChallenge', loginChallenge);
|
|
2216
2244
|
// verify required parameter 'adminLoginAcceptRequest' is not null or undefined
|
|
@@ -2233,7 +2261,7 @@ export const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2233
2261
|
}
|
|
2234
2262
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2235
2263
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2236
|
-
let headersFromBaseOptions = baseOptions
|
|
2264
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
2237
2265
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2238
2266
|
localVarRequestOptions.data = serializeDataIfNeeded(adminLoginAcceptRequest, localVarRequestOptions, configuration);
|
|
2239
2267
|
return {
|
|
@@ -2252,6 +2280,7 @@ export const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2252
2280
|
* @throws {RequiredError}
|
|
2253
2281
|
*/
|
|
2254
2282
|
createToken: (grantType, scope, code, redirectUri, refreshToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2283
|
+
var _c;
|
|
2255
2284
|
// verify required parameter 'grantType' is not null or undefined
|
|
2256
2285
|
assertParamExists('createToken', 'grantType', grantType);
|
|
2257
2286
|
const localVarPath = `/oauth2/token`;
|
|
@@ -2286,7 +2315,7 @@ export const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2286
2315
|
localVarHeaderParameter['Content-Type'] =
|
|
2287
2316
|
'application/x-www-form-urlencoded';
|
|
2288
2317
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2289
|
-
let headersFromBaseOptions = baseOptions
|
|
2318
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
2290
2319
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2291
2320
|
localVarRequestOptions.data = localVarFormParams.toString();
|
|
2292
2321
|
return {
|
|
@@ -2301,6 +2330,7 @@ export const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2301
2330
|
* @throws {RequiredError}
|
|
2302
2331
|
*/
|
|
2303
2332
|
revokeToken: (revokeOAuth2TokenRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2333
|
+
var _d;
|
|
2304
2334
|
// verify required parameter 'revokeOAuth2TokenRequest' is not null or undefined
|
|
2305
2335
|
assertParamExists('revokeToken', 'revokeOAuth2TokenRequest', revokeOAuth2TokenRequest);
|
|
2306
2336
|
const localVarPath = `/oauth2/revoke`;
|
|
@@ -2318,7 +2348,7 @@ export const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2318
2348
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2319
2349
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2320
2350
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2321
|
-
let headersFromBaseOptions = baseOptions
|
|
2351
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
2322
2352
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2323
2353
|
localVarRequestOptions.data = serializeDataIfNeeded(revokeOAuth2TokenRequest, localVarRequestOptions, configuration);
|
|
2324
2354
|
return {
|
|
@@ -2519,6 +2549,7 @@ export const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2519
2549
|
* @throws {RequiredError}
|
|
2520
2550
|
*/
|
|
2521
2551
|
deletePartRevision: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2552
|
+
var _a;
|
|
2522
2553
|
// verify required parameter 'id' is not null or undefined
|
|
2523
2554
|
assertParamExists('deletePartRevision', 'id', id);
|
|
2524
2555
|
const localVarPath = `/part-revisions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -2535,7 +2566,7 @@ export const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2535
2566
|
// oauth required
|
|
2536
2567
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2537
2568
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2538
|
-
let headersFromBaseOptions = baseOptions
|
|
2569
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
2539
2570
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2540
2571
|
return {
|
|
2541
2572
|
url: toPathString(localVarUrlObj),
|
|
@@ -2550,6 +2581,7 @@ export const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2550
2581
|
* @throws {RequiredError}
|
|
2551
2582
|
*/
|
|
2552
2583
|
getPartRevision: (id, fieldsPartRevision, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2584
|
+
var _b;
|
|
2553
2585
|
// verify required parameter 'id' is not null or undefined
|
|
2554
2586
|
assertParamExists('getPartRevision', 'id', id);
|
|
2555
2587
|
const localVarPath = `/part-revisions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -2569,7 +2601,7 @@ export const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2569
2601
|
localVarQueryParameter['fields[part-revision]'] = fieldsPartRevision;
|
|
2570
2602
|
}
|
|
2571
2603
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2572
|
-
let headersFromBaseOptions = baseOptions
|
|
2604
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
2573
2605
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2574
2606
|
return {
|
|
2575
2607
|
url: toPathString(localVarUrlObj),
|
|
@@ -2586,6 +2618,7 @@ export const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2586
2618
|
* @throws {RequiredError}
|
|
2587
2619
|
*/
|
|
2588
2620
|
getPartRevisions: (id, pageCursor, pageSize, filterSuppliedId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2621
|
+
var _c;
|
|
2589
2622
|
// verify required parameter 'id' is not null or undefined
|
|
2590
2623
|
assertParamExists('getPartRevisions', 'id', id);
|
|
2591
2624
|
const localVarPath = `/parts/{id}/part-revisions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -2611,7 +2644,7 @@ export const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2611
2644
|
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
2612
2645
|
}
|
|
2613
2646
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2614
|
-
let headersFromBaseOptions = baseOptions
|
|
2647
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
2615
2648
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2616
2649
|
return {
|
|
2617
2650
|
url: toPathString(localVarUrlObj),
|
|
@@ -2625,6 +2658,7 @@ export const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2625
2658
|
* @throws {RequiredError}
|
|
2626
2659
|
*/
|
|
2627
2660
|
getQueuedPartRevisionDeletion: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2661
|
+
var _d;
|
|
2628
2662
|
// verify required parameter 'id' is not null or undefined
|
|
2629
2663
|
assertParamExists('getQueuedPartRevisionDeletion', 'id', id);
|
|
2630
2664
|
const localVarPath = `/queued-part-revision-deletions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -2641,7 +2675,7 @@ export const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2641
2675
|
// oauth required
|
|
2642
2676
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2643
2677
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2644
|
-
let headersFromBaseOptions = baseOptions
|
|
2678
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
2645
2679
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2646
2680
|
return {
|
|
2647
2681
|
url: toPathString(localVarUrlObj),
|
|
@@ -2667,6 +2701,7 @@ export const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2667
2701
|
* @throws {RequiredError}
|
|
2668
2702
|
*/
|
|
2669
2703
|
renderPartRevision: (id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2704
|
+
var _e;
|
|
2670
2705
|
// verify required parameter 'id' is not null or undefined
|
|
2671
2706
|
assertParamExists('renderPartRevision', 'id', id);
|
|
2672
2707
|
const localVarPath = `/part-revisions/{id}/image`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -2725,7 +2760,7 @@ export const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2725
2760
|
cameraOrthographicFovHeight;
|
|
2726
2761
|
}
|
|
2727
2762
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2728
|
-
let headersFromBaseOptions = baseOptions
|
|
2763
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
2729
2764
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2730
2765
|
return {
|
|
2731
2766
|
url: toPathString(localVarUrlObj),
|
|
@@ -2740,6 +2775,7 @@ export const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2740
2775
|
* @throws {RequiredError}
|
|
2741
2776
|
*/
|
|
2742
2777
|
updatePartRevision: (id, updatePartRevisionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2778
|
+
var _f;
|
|
2743
2779
|
// verify required parameter 'id' is not null or undefined
|
|
2744
2780
|
assertParamExists('updatePartRevision', 'id', id);
|
|
2745
2781
|
// verify required parameter 'updatePartRevisionRequest' is not null or undefined
|
|
@@ -2759,7 +2795,7 @@ export const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2759
2795
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2760
2796
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2761
2797
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2762
|
-
let headersFromBaseOptions = baseOptions
|
|
2798
|
+
let headersFromBaseOptions = (_f = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _f !== void 0 ? _f : {};
|
|
2763
2799
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2764
2800
|
localVarRequestOptions.data = serializeDataIfNeeded(updatePartRevisionRequest, localVarRequestOptions, configuration);
|
|
2765
2801
|
return {
|
|
@@ -3052,6 +3088,7 @@ export const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3052
3088
|
* @throws {RequiredError}
|
|
3053
3089
|
*/
|
|
3054
3090
|
createPart: (createPartRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3091
|
+
var _a;
|
|
3055
3092
|
// verify required parameter 'createPartRequest' is not null or undefined
|
|
3056
3093
|
assertParamExists('createPart', 'createPartRequest', createPartRequest);
|
|
3057
3094
|
const localVarPath = `/parts`;
|
|
@@ -3069,7 +3106,7 @@ export const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3069
3106
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3070
3107
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
3071
3108
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3072
|
-
let headersFromBaseOptions = baseOptions
|
|
3109
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
3073
3110
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3074
3111
|
localVarRequestOptions.data = serializeDataIfNeeded(createPartRequest, localVarRequestOptions, configuration);
|
|
3075
3112
|
return {
|
|
@@ -3084,6 +3121,7 @@ export const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3084
3121
|
* @throws {RequiredError}
|
|
3085
3122
|
*/
|
|
3086
3123
|
deletePart: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3124
|
+
var _b;
|
|
3087
3125
|
// verify required parameter 'id' is not null or undefined
|
|
3088
3126
|
assertParamExists('deletePart', 'id', id);
|
|
3089
3127
|
const localVarPath = `/parts/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3100,7 +3138,7 @@ export const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3100
3138
|
// oauth required
|
|
3101
3139
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3102
3140
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3103
|
-
let headersFromBaseOptions = baseOptions
|
|
3141
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
3104
3142
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3105
3143
|
return {
|
|
3106
3144
|
url: toPathString(localVarUrlObj),
|
|
@@ -3115,6 +3153,7 @@ export const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3115
3153
|
* @throws {RequiredError}
|
|
3116
3154
|
*/
|
|
3117
3155
|
getPart: (id, include, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3156
|
+
var _c;
|
|
3118
3157
|
// verify required parameter 'id' is not null or undefined
|
|
3119
3158
|
assertParamExists('getPart', 'id', id);
|
|
3120
3159
|
const localVarPath = `/parts/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3134,7 +3173,7 @@ export const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3134
3173
|
localVarQueryParameter['include'] = include;
|
|
3135
3174
|
}
|
|
3136
3175
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3137
|
-
let headersFromBaseOptions = baseOptions
|
|
3176
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
3138
3177
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3139
3178
|
return {
|
|
3140
3179
|
url: toPathString(localVarUrlObj),
|
|
@@ -3150,6 +3189,7 @@ export const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3150
3189
|
* @throws {RequiredError}
|
|
3151
3190
|
*/
|
|
3152
3191
|
getParts: (pageCursor, pageSize, filterSuppliedId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3192
|
+
var _d;
|
|
3153
3193
|
const localVarPath = `/parts`;
|
|
3154
3194
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3155
3195
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3173,7 +3213,7 @@ export const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3173
3213
|
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
3174
3214
|
}
|
|
3175
3215
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3176
|
-
let headersFromBaseOptions = baseOptions
|
|
3216
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
3177
3217
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3178
3218
|
return {
|
|
3179
3219
|
url: toPathString(localVarUrlObj),
|
|
@@ -3187,6 +3227,7 @@ export const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3187
3227
|
* @throws {RequiredError}
|
|
3188
3228
|
*/
|
|
3189
3229
|
getQueuedPartDeletion: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3230
|
+
var _e;
|
|
3190
3231
|
// verify required parameter 'id' is not null or undefined
|
|
3191
3232
|
assertParamExists('getQueuedPartDeletion', 'id', id);
|
|
3192
3233
|
const localVarPath = `/queued-part-deletions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3203,7 +3244,7 @@ export const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3203
3244
|
// oauth required
|
|
3204
3245
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3205
3246
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3206
|
-
let headersFromBaseOptions = baseOptions
|
|
3247
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
3207
3248
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3208
3249
|
return {
|
|
3209
3250
|
url: toPathString(localVarUrlObj),
|
|
@@ -3433,6 +3474,7 @@ export const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3433
3474
|
* @throws {RequiredError}
|
|
3434
3475
|
*/
|
|
3435
3476
|
createSceneAlteration: (id, createSceneAlterationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3477
|
+
var _a;
|
|
3436
3478
|
// verify required parameter 'id' is not null or undefined
|
|
3437
3479
|
assertParamExists('createSceneAlteration', 'id', id);
|
|
3438
3480
|
// verify required parameter 'createSceneAlterationRequest' is not null or undefined
|
|
@@ -3452,7 +3494,7 @@ export const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3452
3494
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3453
3495
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
3454
3496
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3455
|
-
let headersFromBaseOptions = baseOptions
|
|
3497
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
3456
3498
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3457
3499
|
localVarRequestOptions.data = serializeDataIfNeeded(createSceneAlterationRequest, localVarRequestOptions, configuration);
|
|
3458
3500
|
return {
|
|
@@ -3467,6 +3509,7 @@ export const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3467
3509
|
* @throws {RequiredError}
|
|
3468
3510
|
*/
|
|
3469
3511
|
getQueuedSceneAlteration: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3512
|
+
var _b;
|
|
3470
3513
|
// verify required parameter 'id' is not null or undefined
|
|
3471
3514
|
assertParamExists('getQueuedSceneAlteration', 'id', id);
|
|
3472
3515
|
const localVarPath = `/queued-scene-alterations/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3483,7 +3526,7 @@ export const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3483
3526
|
// oauth required
|
|
3484
3527
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3485
3528
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3486
|
-
let headersFromBaseOptions = baseOptions
|
|
3529
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
3487
3530
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3488
3531
|
return {
|
|
3489
3532
|
url: toPathString(localVarUrlObj),
|
|
@@ -3497,6 +3540,7 @@ export const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3497
3540
|
* @throws {RequiredError}
|
|
3498
3541
|
*/
|
|
3499
3542
|
getSceneAlteration: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3543
|
+
var _c;
|
|
3500
3544
|
// verify required parameter 'id' is not null or undefined
|
|
3501
3545
|
assertParamExists('getSceneAlteration', 'id', id);
|
|
3502
3546
|
const localVarPath = `/scene-alterations/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3513,7 +3557,7 @@ export const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3513
3557
|
// oauth required
|
|
3514
3558
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3515
3559
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3516
|
-
let headersFromBaseOptions = baseOptions
|
|
3560
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
3517
3561
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3518
3562
|
return {
|
|
3519
3563
|
url: toPathString(localVarUrlObj),
|
|
@@ -3527,6 +3571,7 @@ export const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3527
3571
|
* @throws {RequiredError}
|
|
3528
3572
|
*/
|
|
3529
3573
|
getSceneAlterations: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3574
|
+
var _d;
|
|
3530
3575
|
// verify required parameter 'id' is not null or undefined
|
|
3531
3576
|
assertParamExists('getSceneAlterations', 'id', id);
|
|
3532
3577
|
const localVarPath = `/scene-views/{id}/scene-alterations`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3543,7 +3588,7 @@ export const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3543
3588
|
// oauth required
|
|
3544
3589
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3545
3590
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3546
|
-
let headersFromBaseOptions = baseOptions
|
|
3591
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
3547
3592
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3548
3593
|
return {
|
|
3549
3594
|
url: toPathString(localVarUrlObj),
|
|
@@ -3734,6 +3779,7 @@ export const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3734
3779
|
* @throws {RequiredError}
|
|
3735
3780
|
*/
|
|
3736
3781
|
createSceneItemOverride: (id, createSceneItemOverrideRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3782
|
+
var _a;
|
|
3737
3783
|
// verify required parameter 'id' is not null or undefined
|
|
3738
3784
|
assertParamExists('createSceneItemOverride', 'id', id);
|
|
3739
3785
|
// verify required parameter 'createSceneItemOverrideRequest' is not null or undefined
|
|
@@ -3753,7 +3799,7 @@ export const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3753
3799
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3754
3800
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
3755
3801
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3756
|
-
let headersFromBaseOptions = baseOptions
|
|
3802
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
3757
3803
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3758
3804
|
localVarRequestOptions.data = serializeDataIfNeeded(createSceneItemOverrideRequest, localVarRequestOptions, configuration);
|
|
3759
3805
|
return {
|
|
@@ -3768,6 +3814,7 @@ export const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3768
3814
|
* @throws {RequiredError}
|
|
3769
3815
|
*/
|
|
3770
3816
|
deleteSceneItemOverride: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3817
|
+
var _b;
|
|
3771
3818
|
// verify required parameter 'id' is not null or undefined
|
|
3772
3819
|
assertParamExists('deleteSceneItemOverride', 'id', id);
|
|
3773
3820
|
const localVarPath = `/scene-item-overrides/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3784,7 +3831,7 @@ export const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3784
3831
|
// oauth required
|
|
3785
3832
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3786
3833
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3787
|
-
let headersFromBaseOptions = baseOptions
|
|
3834
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
3788
3835
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3789
3836
|
return {
|
|
3790
3837
|
url: toPathString(localVarUrlObj),
|
|
@@ -3800,6 +3847,7 @@ export const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3800
3847
|
* @throws {RequiredError}
|
|
3801
3848
|
*/
|
|
3802
3849
|
getSceneItemOverrides: (id, pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3850
|
+
var _c;
|
|
3803
3851
|
// verify required parameter 'id' is not null or undefined
|
|
3804
3852
|
assertParamExists('getSceneItemOverrides', 'id', id);
|
|
3805
3853
|
const localVarPath = `/scene-views/{id}/scene-item-overrides`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3822,7 +3870,7 @@ export const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3822
3870
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
3823
3871
|
}
|
|
3824
3872
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3825
|
-
let headersFromBaseOptions = baseOptions
|
|
3873
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
3826
3874
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3827
3875
|
return {
|
|
3828
3876
|
url: toPathString(localVarUrlObj),
|
|
@@ -3837,6 +3885,7 @@ export const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3837
3885
|
* @throws {RequiredError}
|
|
3838
3886
|
*/
|
|
3839
3887
|
updateSceneItemOverride: (id, updateSceneItemOverrideRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3888
|
+
var _d;
|
|
3840
3889
|
// verify required parameter 'id' is not null or undefined
|
|
3841
3890
|
assertParamExists('updateSceneItemOverride', 'id', id);
|
|
3842
3891
|
// verify required parameter 'updateSceneItemOverrideRequest' is not null or undefined
|
|
@@ -3856,7 +3905,7 @@ export const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3856
3905
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3857
3906
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
3858
3907
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3859
|
-
let headersFromBaseOptions = baseOptions
|
|
3908
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
3860
3909
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3861
3910
|
localVarRequestOptions.data = serializeDataIfNeeded(updateSceneItemOverrideRequest, localVarRequestOptions, configuration);
|
|
3862
3911
|
return {
|
|
@@ -4054,6 +4103,7 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4054
4103
|
* @throws {RequiredError}
|
|
4055
4104
|
*/
|
|
4056
4105
|
createSceneItem: (id, createSceneItemRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4106
|
+
var _a;
|
|
4057
4107
|
// verify required parameter 'id' is not null or undefined
|
|
4058
4108
|
assertParamExists('createSceneItem', 'id', id);
|
|
4059
4109
|
// verify required parameter 'createSceneItemRequest' is not null or undefined
|
|
@@ -4073,7 +4123,7 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4073
4123
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4074
4124
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4075
4125
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4076
|
-
let headersFromBaseOptions = baseOptions
|
|
4126
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
4077
4127
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4078
4128
|
localVarRequestOptions.data = serializeDataIfNeeded(createSceneItemRequest, localVarRequestOptions, configuration);
|
|
4079
4129
|
return {
|
|
@@ -4088,6 +4138,7 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4088
4138
|
* @throws {RequiredError}
|
|
4089
4139
|
*/
|
|
4090
4140
|
deleteSceneItem: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4141
|
+
var _b;
|
|
4091
4142
|
// verify required parameter 'id' is not null or undefined
|
|
4092
4143
|
assertParamExists('deleteSceneItem', 'id', id);
|
|
4093
4144
|
const localVarPath = `/scene-items/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4104,7 +4155,7 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4104
4155
|
// oauth required
|
|
4105
4156
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4106
4157
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4107
|
-
let headersFromBaseOptions = baseOptions
|
|
4158
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
4108
4159
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4109
4160
|
return {
|
|
4110
4161
|
url: toPathString(localVarUrlObj),
|
|
@@ -4118,6 +4169,7 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4118
4169
|
* @throws {RequiredError}
|
|
4119
4170
|
*/
|
|
4120
4171
|
getQueuedSceneItem: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4172
|
+
var _c;
|
|
4121
4173
|
// verify required parameter 'id' is not null or undefined
|
|
4122
4174
|
assertParamExists('getQueuedSceneItem', 'id', id);
|
|
4123
4175
|
const localVarPath = `/queued-scene-items/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4134,7 +4186,7 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4134
4186
|
// oauth required
|
|
4135
4187
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4136
4188
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4137
|
-
let headersFromBaseOptions = baseOptions
|
|
4189
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
4138
4190
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4139
4191
|
return {
|
|
4140
4192
|
url: toPathString(localVarUrlObj),
|
|
@@ -4148,6 +4200,7 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4148
4200
|
* @throws {RequiredError}
|
|
4149
4201
|
*/
|
|
4150
4202
|
getQueuedSceneItemDeletion: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4203
|
+
var _d;
|
|
4151
4204
|
// verify required parameter 'id' is not null or undefined
|
|
4152
4205
|
assertParamExists('getQueuedSceneItemDeletion', 'id', id);
|
|
4153
4206
|
const localVarPath = `/queued-scene-item-deletions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4164,7 +4217,7 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4164
4217
|
// oauth required
|
|
4165
4218
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4166
4219
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4167
|
-
let headersFromBaseOptions = baseOptions
|
|
4220
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
4168
4221
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4169
4222
|
return {
|
|
4170
4223
|
url: toPathString(localVarUrlObj),
|
|
@@ -4179,6 +4232,7 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4179
4232
|
* @throws {RequiredError}
|
|
4180
4233
|
*/
|
|
4181
4234
|
getSceneItem: (id, fieldsSceneItem, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4235
|
+
var _e;
|
|
4182
4236
|
// verify required parameter 'id' is not null or undefined
|
|
4183
4237
|
assertParamExists('getSceneItem', 'id', id);
|
|
4184
4238
|
const localVarPath = `/scene-items/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4198,7 +4252,7 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4198
4252
|
localVarQueryParameter['fields[scene-item]'] = fieldsSceneItem;
|
|
4199
4253
|
}
|
|
4200
4254
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4201
|
-
let headersFromBaseOptions = baseOptions
|
|
4255
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
4202
4256
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4203
4257
|
return {
|
|
4204
4258
|
url: toPathString(localVarUrlObj),
|
|
@@ -4217,6 +4271,7 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4217
4271
|
* @throws {RequiredError}
|
|
4218
4272
|
*/
|
|
4219
4273
|
getSceneItems: (id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4274
|
+
var _f;
|
|
4220
4275
|
// verify required parameter 'id' is not null or undefined
|
|
4221
4276
|
assertParamExists('getSceneItems', 'id', id);
|
|
4222
4277
|
const localVarPath = `/scenes/{id}/scene-items`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4248,7 +4303,7 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4248
4303
|
localVarQueryParameter['filter[parent]'] = filterParent;
|
|
4249
4304
|
}
|
|
4250
4305
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4251
|
-
let headersFromBaseOptions = baseOptions
|
|
4306
|
+
let headersFromBaseOptions = (_f = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _f !== void 0 ? _f : {};
|
|
4252
4307
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4253
4308
|
return {
|
|
4254
4309
|
url: toPathString(localVarUrlObj),
|
|
@@ -4263,6 +4318,7 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4263
4318
|
* @throws {RequiredError}
|
|
4264
4319
|
*/
|
|
4265
4320
|
updateSceneItem: (id, updateSceneItemRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4321
|
+
var _g;
|
|
4266
4322
|
// verify required parameter 'id' is not null or undefined
|
|
4267
4323
|
assertParamExists('updateSceneItem', 'id', id);
|
|
4268
4324
|
// verify required parameter 'updateSceneItemRequest' is not null or undefined
|
|
@@ -4282,7 +4338,7 @@ export const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4282
4338
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4283
4339
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4284
4340
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4285
|
-
let headersFromBaseOptions = baseOptions
|
|
4341
|
+
let headersFromBaseOptions = (_g = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _g !== void 0 ? _g : {};
|
|
4286
4342
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4287
4343
|
localVarRequestOptions.data = serializeDataIfNeeded(updateSceneItemRequest, localVarRequestOptions, configuration);
|
|
4288
4344
|
return {
|
|
@@ -4593,6 +4649,7 @@ export const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4593
4649
|
* @throws {RequiredError}
|
|
4594
4650
|
*/
|
|
4595
4651
|
createSceneViewState: (id, createSceneViewStateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4652
|
+
var _a;
|
|
4596
4653
|
// verify required parameter 'id' is not null or undefined
|
|
4597
4654
|
assertParamExists('createSceneViewState', 'id', id);
|
|
4598
4655
|
// verify required parameter 'createSceneViewStateRequest' is not null or undefined
|
|
@@ -4612,7 +4669,7 @@ export const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4612
4669
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4613
4670
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4614
4671
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4615
|
-
let headersFromBaseOptions = baseOptions
|
|
4672
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
4616
4673
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4617
4674
|
localVarRequestOptions.data = serializeDataIfNeeded(createSceneViewStateRequest, localVarRequestOptions, configuration);
|
|
4618
4675
|
return {
|
|
@@ -4627,6 +4684,7 @@ export const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4627
4684
|
* @throws {RequiredError}
|
|
4628
4685
|
*/
|
|
4629
4686
|
deleteSceneViewState: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4687
|
+
var _b;
|
|
4630
4688
|
// verify required parameter 'id' is not null or undefined
|
|
4631
4689
|
assertParamExists('deleteSceneViewState', 'id', id);
|
|
4632
4690
|
const localVarPath = `/scene-view-states/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4643,7 +4701,7 @@ export const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4643
4701
|
// oauth required
|
|
4644
4702
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4645
4703
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4646
|
-
let headersFromBaseOptions = baseOptions
|
|
4704
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
4647
4705
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4648
4706
|
return {
|
|
4649
4707
|
url: toPathString(localVarUrlObj),
|
|
@@ -4658,6 +4716,7 @@ export const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4658
4716
|
* @throws {RequiredError}
|
|
4659
4717
|
*/
|
|
4660
4718
|
getSceneViewState: (id, fieldsSceneViewState, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4719
|
+
var _c;
|
|
4661
4720
|
// verify required parameter 'id' is not null or undefined
|
|
4662
4721
|
assertParamExists('getSceneViewState', 'id', id);
|
|
4663
4722
|
const localVarPath = `/scene-view-states/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4678,7 +4737,7 @@ export const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4678
4737
|
fieldsSceneViewState;
|
|
4679
4738
|
}
|
|
4680
4739
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4681
|
-
let headersFromBaseOptions = baseOptions
|
|
4740
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
4682
4741
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4683
4742
|
return {
|
|
4684
4743
|
url: toPathString(localVarUrlObj),
|
|
@@ -4697,6 +4756,7 @@ export const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4697
4756
|
* @throws {RequiredError}
|
|
4698
4757
|
*/
|
|
4699
4758
|
getSceneViewStates: (id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4759
|
+
var _d;
|
|
4700
4760
|
// verify required parameter 'id' is not null or undefined
|
|
4701
4761
|
assertParamExists('getSceneViewStates', 'id', id);
|
|
4702
4762
|
const localVarPath = `/scenes/{id}/scene-view-states`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4729,7 +4789,7 @@ export const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4729
4789
|
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
4730
4790
|
}
|
|
4731
4791
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4732
|
-
let headersFromBaseOptions = baseOptions
|
|
4792
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
4733
4793
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4734
4794
|
return {
|
|
4735
4795
|
url: toPathString(localVarUrlObj),
|
|
@@ -4744,6 +4804,7 @@ export const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4744
4804
|
* @throws {RequiredError}
|
|
4745
4805
|
*/
|
|
4746
4806
|
updateSceneViewState: (id, updateSceneViewStateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4807
|
+
var _e;
|
|
4747
4808
|
// verify required parameter 'id' is not null or undefined
|
|
4748
4809
|
assertParamExists('updateSceneViewState', 'id', id);
|
|
4749
4810
|
// verify required parameter 'updateSceneViewStateRequest' is not null or undefined
|
|
@@ -4763,7 +4824,7 @@ export const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4763
4824
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4764
4825
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4765
4826
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4766
|
-
let headersFromBaseOptions = baseOptions
|
|
4827
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
4767
4828
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4768
4829
|
localVarRequestOptions.data = serializeDataIfNeeded(updateSceneViewStateRequest, localVarRequestOptions, configuration);
|
|
4769
4830
|
return {
|
|
@@ -5004,6 +5065,7 @@ export const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5004
5065
|
* @throws {RequiredError}
|
|
5005
5066
|
*/
|
|
5006
5067
|
createSceneView: (id, createSceneViewRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5068
|
+
var _a;
|
|
5007
5069
|
// verify required parameter 'id' is not null or undefined
|
|
5008
5070
|
assertParamExists('createSceneView', 'id', id);
|
|
5009
5071
|
// verify required parameter 'createSceneViewRequest' is not null or undefined
|
|
@@ -5023,7 +5085,7 @@ export const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5023
5085
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5024
5086
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5025
5087
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5026
|
-
let headersFromBaseOptions = baseOptions
|
|
5088
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
5027
5089
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5028
5090
|
localVarRequestOptions.data = serializeDataIfNeeded(createSceneViewRequest, localVarRequestOptions, configuration);
|
|
5029
5091
|
return {
|
|
@@ -5038,6 +5100,7 @@ export const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5038
5100
|
* @throws {RequiredError}
|
|
5039
5101
|
*/
|
|
5040
5102
|
deleteSceneView: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5103
|
+
var _b;
|
|
5041
5104
|
// verify required parameter 'id' is not null or undefined
|
|
5042
5105
|
assertParamExists('deleteSceneView', 'id', id);
|
|
5043
5106
|
const localVarPath = `/scene-views/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5054,7 +5117,7 @@ export const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5054
5117
|
// oauth required
|
|
5055
5118
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5056
5119
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5057
|
-
let headersFromBaseOptions = baseOptions
|
|
5120
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
5058
5121
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5059
5122
|
return {
|
|
5060
5123
|
url: toPathString(localVarUrlObj),
|
|
@@ -5068,6 +5131,7 @@ export const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5068
5131
|
* @throws {RequiredError}
|
|
5069
5132
|
*/
|
|
5070
5133
|
getSceneView: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5134
|
+
var _c;
|
|
5071
5135
|
// verify required parameter 'id' is not null or undefined
|
|
5072
5136
|
assertParamExists('getSceneView', 'id', id);
|
|
5073
5137
|
const localVarPath = `/scene-views/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5084,7 +5148,7 @@ export const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5084
5148
|
// oauth required
|
|
5085
5149
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5086
5150
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5087
|
-
let headersFromBaseOptions = baseOptions
|
|
5151
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
5088
5152
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5089
5153
|
return {
|
|
5090
5154
|
url: toPathString(localVarUrlObj),
|
|
@@ -5100,6 +5164,7 @@ export const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5100
5164
|
* @throws {RequiredError}
|
|
5101
5165
|
*/
|
|
5102
5166
|
getSceneViews: (id, pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5167
|
+
var _d;
|
|
5103
5168
|
// verify required parameter 'id' is not null or undefined
|
|
5104
5169
|
assertParamExists('getSceneViews', 'id', id);
|
|
5105
5170
|
const localVarPath = `/scenes/{id}/scene-views`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5122,7 +5187,7 @@ export const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5122
5187
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
5123
5188
|
}
|
|
5124
5189
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5125
|
-
let headersFromBaseOptions = baseOptions
|
|
5190
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
5126
5191
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5127
5192
|
return {
|
|
5128
5193
|
url: toPathString(localVarUrlObj),
|
|
@@ -5139,6 +5204,7 @@ export const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5139
5204
|
* @throws {RequiredError}
|
|
5140
5205
|
*/
|
|
5141
5206
|
getViewSceneItem: (id, itemId, fieldsSceneItem, include, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5207
|
+
var _e;
|
|
5142
5208
|
// verify required parameter 'id' is not null or undefined
|
|
5143
5209
|
assertParamExists('getViewSceneItem', 'id', id);
|
|
5144
5210
|
// verify required parameter 'itemId' is not null or undefined
|
|
@@ -5165,7 +5231,7 @@ export const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5165
5231
|
localVarQueryParameter['include'] = include;
|
|
5166
5232
|
}
|
|
5167
5233
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5168
|
-
let headersFromBaseOptions = baseOptions
|
|
5234
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
5169
5235
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5170
5236
|
return {
|
|
5171
5237
|
url: toPathString(localVarUrlObj),
|
|
@@ -5181,6 +5247,7 @@ export const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5181
5247
|
* @throws {RequiredError}
|
|
5182
5248
|
*/
|
|
5183
5249
|
renderSceneView: (id, height, width, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5250
|
+
var _f;
|
|
5184
5251
|
// verify required parameter 'id' is not null or undefined
|
|
5185
5252
|
assertParamExists('renderSceneView', 'id', id);
|
|
5186
5253
|
const localVarPath = `/scene-views/{id}/image`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5203,7 +5270,7 @@ export const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5203
5270
|
localVarQueryParameter['width'] = width;
|
|
5204
5271
|
}
|
|
5205
5272
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5206
|
-
let headersFromBaseOptions = baseOptions
|
|
5273
|
+
let headersFromBaseOptions = (_f = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _f !== void 0 ? _f : {};
|
|
5207
5274
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5208
5275
|
return {
|
|
5209
5276
|
url: toPathString(localVarUrlObj),
|
|
@@ -5218,6 +5285,7 @@ export const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5218
5285
|
* @throws {RequiredError}
|
|
5219
5286
|
*/
|
|
5220
5287
|
updateSceneView: (id, updateSceneViewRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5288
|
+
var _g;
|
|
5221
5289
|
// verify required parameter 'id' is not null or undefined
|
|
5222
5290
|
assertParamExists('updateSceneView', 'id', id);
|
|
5223
5291
|
// verify required parameter 'updateSceneViewRequest' is not null or undefined
|
|
@@ -5237,7 +5305,7 @@ export const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5237
5305
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5238
5306
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5239
5307
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5240
|
-
let headersFromBaseOptions = baseOptions
|
|
5308
|
+
let headersFromBaseOptions = (_g = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _g !== void 0 ? _g : {};
|
|
5241
5309
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5242
5310
|
localVarRequestOptions.data = serializeDataIfNeeded(updateSceneViewRequest, localVarRequestOptions, configuration);
|
|
5243
5311
|
return {
|
|
@@ -5549,6 +5617,7 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5549
5617
|
* @throws {RequiredError}
|
|
5550
5618
|
*/
|
|
5551
5619
|
createScene: (createSceneRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5620
|
+
var _a;
|
|
5552
5621
|
// verify required parameter 'createSceneRequest' is not null or undefined
|
|
5553
5622
|
assertParamExists('createScene', 'createSceneRequest', createSceneRequest);
|
|
5554
5623
|
const localVarPath = `/scenes`;
|
|
@@ -5566,7 +5635,7 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5566
5635
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5567
5636
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5568
5637
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5569
|
-
let headersFromBaseOptions = baseOptions
|
|
5638
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
5570
5639
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5571
5640
|
localVarRequestOptions.data = serializeDataIfNeeded(createSceneRequest, localVarRequestOptions, configuration);
|
|
5572
5641
|
return {
|
|
@@ -5581,6 +5650,7 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5581
5650
|
* @throws {RequiredError}
|
|
5582
5651
|
*/
|
|
5583
5652
|
deleteScene: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5653
|
+
var _b;
|
|
5584
5654
|
// verify required parameter 'id' is not null or undefined
|
|
5585
5655
|
assertParamExists('deleteScene', 'id', id);
|
|
5586
5656
|
const localVarPath = `/scenes/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5597,7 +5667,7 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5597
5667
|
// oauth required
|
|
5598
5668
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5599
5669
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5600
|
-
let headersFromBaseOptions = baseOptions
|
|
5670
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
5601
5671
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5602
5672
|
return {
|
|
5603
5673
|
url: toPathString(localVarUrlObj),
|
|
@@ -5611,6 +5681,7 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5611
5681
|
* @throws {RequiredError}
|
|
5612
5682
|
*/
|
|
5613
5683
|
getQueuedScene: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5684
|
+
var _c;
|
|
5614
5685
|
// verify required parameter 'id' is not null or undefined
|
|
5615
5686
|
assertParamExists('getQueuedScene', 'id', id);
|
|
5616
5687
|
const localVarPath = `/queued-scenes/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5627,7 +5698,7 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5627
5698
|
// oauth required
|
|
5628
5699
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5629
5700
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5630
|
-
let headersFromBaseOptions = baseOptions
|
|
5701
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
5631
5702
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5632
5703
|
return {
|
|
5633
5704
|
url: toPathString(localVarUrlObj),
|
|
@@ -5642,6 +5713,7 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5642
5713
|
* @throws {RequiredError}
|
|
5643
5714
|
*/
|
|
5644
5715
|
getScene: (id, fieldsScene, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5716
|
+
var _d;
|
|
5645
5717
|
// verify required parameter 'id' is not null or undefined
|
|
5646
5718
|
assertParamExists('getScene', 'id', id);
|
|
5647
5719
|
const localVarPath = `/scenes/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5661,7 +5733,7 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5661
5733
|
localVarQueryParameter['fields[scene]'] = fieldsScene;
|
|
5662
5734
|
}
|
|
5663
5735
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5664
|
-
let headersFromBaseOptions = baseOptions
|
|
5736
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
5665
5737
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5666
5738
|
return {
|
|
5667
5739
|
url: toPathString(localVarUrlObj),
|
|
@@ -5680,6 +5752,7 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5680
5752
|
* @throws {RequiredError}
|
|
5681
5753
|
*/
|
|
5682
5754
|
getScenes: (pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5755
|
+
var _e;
|
|
5683
5756
|
const localVarPath = `/scenes`;
|
|
5684
5757
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5685
5758
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5712,7 +5785,7 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5712
5785
|
localVarQueryParameter['filter[metadata]'] = filterMetadata;
|
|
5713
5786
|
}
|
|
5714
5787
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5715
|
-
let headersFromBaseOptions = baseOptions
|
|
5788
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
5716
5789
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5717
5790
|
return {
|
|
5718
5791
|
url: toPathString(localVarUrlObj),
|
|
@@ -5728,6 +5801,7 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5728
5801
|
* @throws {RequiredError}
|
|
5729
5802
|
*/
|
|
5730
5803
|
renderScene: (id, height, width, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5804
|
+
var _f;
|
|
5731
5805
|
// verify required parameter 'id' is not null or undefined
|
|
5732
5806
|
assertParamExists('renderScene', 'id', id);
|
|
5733
5807
|
const localVarPath = `/scenes/{id}/image`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5750,7 +5824,7 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5750
5824
|
localVarQueryParameter['width'] = width;
|
|
5751
5825
|
}
|
|
5752
5826
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5753
|
-
let headersFromBaseOptions = baseOptions
|
|
5827
|
+
let headersFromBaseOptions = (_f = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _f !== void 0 ? _f : {};
|
|
5754
5828
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5755
5829
|
return {
|
|
5756
5830
|
url: toPathString(localVarUrlObj),
|
|
@@ -5765,6 +5839,7 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5765
5839
|
* @throws {RequiredError}
|
|
5766
5840
|
*/
|
|
5767
5841
|
updateScene: (id, updateSceneRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5842
|
+
var _g;
|
|
5768
5843
|
// verify required parameter 'id' is not null or undefined
|
|
5769
5844
|
assertParamExists('updateScene', 'id', id);
|
|
5770
5845
|
// verify required parameter 'updateSceneRequest' is not null or undefined
|
|
@@ -5784,7 +5859,7 @@ export const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5784
5859
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5785
5860
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5786
5861
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5787
|
-
let headersFromBaseOptions = baseOptions
|
|
5862
|
+
let headersFromBaseOptions = (_g = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _g !== void 0 ? _g : {};
|
|
5788
5863
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5789
5864
|
localVarRequestOptions.data = serializeDataIfNeeded(updateSceneRequest, localVarRequestOptions, configuration);
|
|
5790
5865
|
return {
|
|
@@ -6097,6 +6172,7 @@ export const StreamKeysApiAxiosParamCreator = function (configuration) {
|
|
|
6097
6172
|
* @throws {RequiredError}
|
|
6098
6173
|
*/
|
|
6099
6174
|
createSceneStreamKey: (id, createStreamKeyRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6175
|
+
var _a;
|
|
6100
6176
|
// verify required parameter 'id' is not null or undefined
|
|
6101
6177
|
assertParamExists('createSceneStreamKey', 'id', id);
|
|
6102
6178
|
// verify required parameter 'createStreamKeyRequest' is not null or undefined
|
|
@@ -6116,7 +6192,7 @@ export const StreamKeysApiAxiosParamCreator = function (configuration) {
|
|
|
6116
6192
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6117
6193
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
6118
6194
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6119
|
-
let headersFromBaseOptions = baseOptions
|
|
6195
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
6120
6196
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6121
6197
|
localVarRequestOptions.data = serializeDataIfNeeded(createStreamKeyRequest, localVarRequestOptions, configuration);
|
|
6122
6198
|
return {
|
|
@@ -6131,6 +6207,7 @@ export const StreamKeysApiAxiosParamCreator = function (configuration) {
|
|
|
6131
6207
|
* @throws {RequiredError}
|
|
6132
6208
|
*/
|
|
6133
6209
|
deleteStreamKey: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6210
|
+
var _b;
|
|
6134
6211
|
// verify required parameter 'id' is not null or undefined
|
|
6135
6212
|
assertParamExists('deleteStreamKey', 'id', id);
|
|
6136
6213
|
const localVarPath = `/stream-keys/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -6147,7 +6224,7 @@ export const StreamKeysApiAxiosParamCreator = function (configuration) {
|
|
|
6147
6224
|
// oauth required
|
|
6148
6225
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6149
6226
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6150
|
-
let headersFromBaseOptions = baseOptions
|
|
6227
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
6151
6228
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6152
6229
|
return {
|
|
6153
6230
|
url: toPathString(localVarUrlObj),
|
|
@@ -6163,6 +6240,7 @@ export const StreamKeysApiAxiosParamCreator = function (configuration) {
|
|
|
6163
6240
|
* @throws {RequiredError}
|
|
6164
6241
|
*/
|
|
6165
6242
|
getStreamKeys: (pageCursor, pageSize, filterKey, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6243
|
+
var _c;
|
|
6166
6244
|
const localVarPath = `/stream-keys`;
|
|
6167
6245
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6168
6246
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6186,7 +6264,7 @@ export const StreamKeysApiAxiosParamCreator = function (configuration) {
|
|
|
6186
6264
|
localVarQueryParameter['filter[key]'] = filterKey;
|
|
6187
6265
|
}
|
|
6188
6266
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6189
|
-
let headersFromBaseOptions = baseOptions
|
|
6267
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
6190
6268
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6191
6269
|
return {
|
|
6192
6270
|
url: toPathString(localVarUrlObj),
|
|
@@ -6345,6 +6423,7 @@ export const TranslationInspectionsApiAxiosParamCreator = function (configuratio
|
|
|
6345
6423
|
* @throws {RequiredError}
|
|
6346
6424
|
*/
|
|
6347
6425
|
createTranslationInspection: (createTranslationInspectionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6426
|
+
var _a;
|
|
6348
6427
|
// verify required parameter 'createTranslationInspectionRequest' is not null or undefined
|
|
6349
6428
|
assertParamExists('createTranslationInspection', 'createTranslationInspectionRequest', createTranslationInspectionRequest);
|
|
6350
6429
|
const localVarPath = `/translation-inspections`;
|
|
@@ -6362,7 +6441,7 @@ export const TranslationInspectionsApiAxiosParamCreator = function (configuratio
|
|
|
6362
6441
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6363
6442
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
6364
6443
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6365
|
-
let headersFromBaseOptions = baseOptions
|
|
6444
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
6366
6445
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6367
6446
|
localVarRequestOptions.data = serializeDataIfNeeded(createTranslationInspectionRequest, localVarRequestOptions, configuration);
|
|
6368
6447
|
return {
|
|
@@ -6377,6 +6456,7 @@ export const TranslationInspectionsApiAxiosParamCreator = function (configuratio
|
|
|
6377
6456
|
* @throws {RequiredError}
|
|
6378
6457
|
*/
|
|
6379
6458
|
getInspectionJob: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6459
|
+
var _b;
|
|
6380
6460
|
// verify required parameter 'id' is not null or undefined
|
|
6381
6461
|
assertParamExists('getInspectionJob', 'id', id);
|
|
6382
6462
|
const localVarPath = `/translation-inspections/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -6393,7 +6473,7 @@ export const TranslationInspectionsApiAxiosParamCreator = function (configuratio
|
|
|
6393
6473
|
// oauth required
|
|
6394
6474
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6395
6475
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6396
|
-
let headersFromBaseOptions = baseOptions
|
|
6476
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
6397
6477
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6398
6478
|
return {
|
|
6399
6479
|
url: toPathString(localVarUrlObj),
|
|
@@ -6407,6 +6487,7 @@ export const TranslationInspectionsApiAxiosParamCreator = function (configuratio
|
|
|
6407
6487
|
* @throws {RequiredError}
|
|
6408
6488
|
*/
|
|
6409
6489
|
getQueuedTranslation: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6490
|
+
var _c;
|
|
6410
6491
|
// verify required parameter 'id' is not null or undefined
|
|
6411
6492
|
assertParamExists('getQueuedTranslation', 'id', id);
|
|
6412
6493
|
const localVarPath = `/queued-translations/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -6423,7 +6504,7 @@ export const TranslationInspectionsApiAxiosParamCreator = function (configuratio
|
|
|
6423
6504
|
// oauth required
|
|
6424
6505
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6425
6506
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6426
|
-
let headersFromBaseOptions = baseOptions
|
|
6507
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
6427
6508
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6428
6509
|
return {
|
|
6429
6510
|
url: toPathString(localVarUrlObj),
|
|
@@ -6437,6 +6518,7 @@ export const TranslationInspectionsApiAxiosParamCreator = function (configuratio
|
|
|
6437
6518
|
* @throws {RequiredError}
|
|
6438
6519
|
*/
|
|
6439
6520
|
getQueuedTranslationJob: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6521
|
+
var _d;
|
|
6440
6522
|
// verify required parameter 'id' is not null or undefined
|
|
6441
6523
|
assertParamExists('getQueuedTranslationJob', 'id', id);
|
|
6442
6524
|
const localVarPath = `/queued-translation-jobs/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -6453,7 +6535,7 @@ export const TranslationInspectionsApiAxiosParamCreator = function (configuratio
|
|
|
6453
6535
|
// oauth required
|
|
6454
6536
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6455
6537
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6456
|
-
let headersFromBaseOptions = baseOptions
|
|
6538
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
6457
6539
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6458
6540
|
return {
|
|
6459
6541
|
url: toPathString(localVarUrlObj),
|
|
@@ -6469,6 +6551,7 @@ export const TranslationInspectionsApiAxiosParamCreator = function (configuratio
|
|
|
6469
6551
|
* @throws {RequiredError}
|
|
6470
6552
|
*/
|
|
6471
6553
|
getQueuedTranslations: (pageCursor, pageSize, filterStatus, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6554
|
+
var _e;
|
|
6472
6555
|
const localVarPath = `/queued-translations`;
|
|
6473
6556
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6474
6557
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6492,7 +6575,7 @@ export const TranslationInspectionsApiAxiosParamCreator = function (configuratio
|
|
|
6492
6575
|
localVarQueryParameter['filter[status]'] = filterStatus;
|
|
6493
6576
|
}
|
|
6494
6577
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6495
|
-
let headersFromBaseOptions = baseOptions
|
|
6578
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
6496
6579
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6497
6580
|
return {
|
|
6498
6581
|
url: toPathString(localVarUrlObj),
|
|
@@ -6719,6 +6802,7 @@ export const WebhookSubscriptionsApiAxiosParamCreator = function (configuration)
|
|
|
6719
6802
|
* @throws {RequiredError}
|
|
6720
6803
|
*/
|
|
6721
6804
|
createWebhookSubscription: (createWebhookSubscriptionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6805
|
+
var _a;
|
|
6722
6806
|
// verify required parameter 'createWebhookSubscriptionRequest' is not null or undefined
|
|
6723
6807
|
assertParamExists('createWebhookSubscription', 'createWebhookSubscriptionRequest', createWebhookSubscriptionRequest);
|
|
6724
6808
|
const localVarPath = `/webhook-subscriptions`;
|
|
@@ -6736,7 +6820,7 @@ export const WebhookSubscriptionsApiAxiosParamCreator = function (configuration)
|
|
|
6736
6820
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6737
6821
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
6738
6822
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6739
|
-
let headersFromBaseOptions = baseOptions
|
|
6823
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
6740
6824
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6741
6825
|
localVarRequestOptions.data = serializeDataIfNeeded(createWebhookSubscriptionRequest, localVarRequestOptions, configuration);
|
|
6742
6826
|
return {
|
|
@@ -6751,6 +6835,7 @@ export const WebhookSubscriptionsApiAxiosParamCreator = function (configuration)
|
|
|
6751
6835
|
* @throws {RequiredError}
|
|
6752
6836
|
*/
|
|
6753
6837
|
deleteWebhookSubscription: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6838
|
+
var _b;
|
|
6754
6839
|
// verify required parameter 'id' is not null or undefined
|
|
6755
6840
|
assertParamExists('deleteWebhookSubscription', 'id', id);
|
|
6756
6841
|
const localVarPath = `/webhook-subscriptions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -6767,7 +6852,7 @@ export const WebhookSubscriptionsApiAxiosParamCreator = function (configuration)
|
|
|
6767
6852
|
// oauth required
|
|
6768
6853
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6769
6854
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6770
|
-
let headersFromBaseOptions = baseOptions
|
|
6855
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
6771
6856
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6772
6857
|
return {
|
|
6773
6858
|
url: toPathString(localVarUrlObj),
|
|
@@ -6781,6 +6866,7 @@ export const WebhookSubscriptionsApiAxiosParamCreator = function (configuration)
|
|
|
6781
6866
|
* @throws {RequiredError}
|
|
6782
6867
|
*/
|
|
6783
6868
|
getWebhookSubscription: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6869
|
+
var _c;
|
|
6784
6870
|
// verify required parameter 'id' is not null or undefined
|
|
6785
6871
|
assertParamExists('getWebhookSubscription', 'id', id);
|
|
6786
6872
|
const localVarPath = `/webhook-subscriptions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -6797,7 +6883,7 @@ export const WebhookSubscriptionsApiAxiosParamCreator = function (configuration)
|
|
|
6797
6883
|
// oauth required
|
|
6798
6884
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6799
6885
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6800
|
-
let headersFromBaseOptions = baseOptions
|
|
6886
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
6801
6887
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6802
6888
|
return {
|
|
6803
6889
|
url: toPathString(localVarUrlObj),
|
|
@@ -6812,6 +6898,7 @@ export const WebhookSubscriptionsApiAxiosParamCreator = function (configuration)
|
|
|
6812
6898
|
* @throws {RequiredError}
|
|
6813
6899
|
*/
|
|
6814
6900
|
getWebhookSubscriptions: (pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6901
|
+
var _d;
|
|
6815
6902
|
const localVarPath = `/webhook-subscriptions`;
|
|
6816
6903
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6817
6904
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6832,7 +6919,7 @@ export const WebhookSubscriptionsApiAxiosParamCreator = function (configuration)
|
|
|
6832
6919
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
6833
6920
|
}
|
|
6834
6921
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6835
|
-
let headersFromBaseOptions = baseOptions
|
|
6922
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
6836
6923
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6837
6924
|
return {
|
|
6838
6925
|
url: toPathString(localVarUrlObj),
|
|
@@ -6847,6 +6934,7 @@ export const WebhookSubscriptionsApiAxiosParamCreator = function (configuration)
|
|
|
6847
6934
|
* @throws {RequiredError}
|
|
6848
6935
|
*/
|
|
6849
6936
|
updateWebhookSubscription: (id, updateWebhookSubscriptionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6937
|
+
var _e;
|
|
6850
6938
|
// verify required parameter 'id' is not null or undefined
|
|
6851
6939
|
assertParamExists('updateWebhookSubscription', 'id', id);
|
|
6852
6940
|
// verify required parameter 'updateWebhookSubscriptionRequest' is not null or undefined
|
|
@@ -6866,7 +6954,7 @@ export const WebhookSubscriptionsApiAxiosParamCreator = function (configuration)
|
|
|
6866
6954
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6867
6955
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
6868
6956
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6869
|
-
let headersFromBaseOptions = baseOptions
|
|
6957
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
6870
6958
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6871
6959
|
localVarRequestOptions.data = serializeDataIfNeeded(updateWebhookSubscriptionRequest, localVarRequestOptions, configuration);
|
|
6872
6960
|
return {
|