@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/cjs/api.js
CHANGED
|
@@ -149,6 +149,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
149
149
|
* @throws {RequiredError}
|
|
150
150
|
*/
|
|
151
151
|
createAccount: (createAccountRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
152
|
+
var _a;
|
|
152
153
|
// verify required parameter 'createAccountRequest' is not null or undefined
|
|
153
154
|
(0, common_1.assertParamExists)('createAccount', 'createAccountRequest', createAccountRequest);
|
|
154
155
|
const localVarPath = `/accounts`;
|
|
@@ -166,7 +167,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
166
167
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2Internal', ['accounts.*', 'accounts.write'], configuration);
|
|
167
168
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
168
169
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
169
|
-
let headersFromBaseOptions = baseOptions
|
|
170
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
170
171
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
171
172
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createAccountRequest, localVarRequestOptions, configuration);
|
|
172
173
|
return {
|
|
@@ -182,6 +183,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
182
183
|
* @throws {RequiredError}
|
|
183
184
|
*/
|
|
184
185
|
createApplicationForAccount: (id, adminCreateApplicationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
186
|
+
var _b;
|
|
185
187
|
// verify required parameter 'id' is not null or undefined
|
|
186
188
|
(0, common_1.assertParamExists)('createApplicationForAccount', 'id', id);
|
|
187
189
|
// verify required parameter 'adminCreateApplicationRequest' is not null or undefined
|
|
@@ -201,7 +203,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
201
203
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2Internal', ['accounts.*', 'accounts.write'], configuration);
|
|
202
204
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
203
205
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
204
|
-
let headersFromBaseOptions = baseOptions
|
|
206
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
205
207
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
206
208
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminCreateApplicationRequest, localVarRequestOptions, configuration);
|
|
207
209
|
return {
|
|
@@ -216,6 +218,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
216
218
|
* @throws {RequiredError}
|
|
217
219
|
*/
|
|
218
220
|
deleteAccount: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
221
|
+
var _c;
|
|
219
222
|
// verify required parameter 'id' is not null or undefined
|
|
220
223
|
(0, common_1.assertParamExists)('deleteAccount', 'id', id);
|
|
221
224
|
const localVarPath = `/accounts/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -232,7 +235,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
232
235
|
// oauth required
|
|
233
236
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2Internal', ['accounts.*', 'accounts.write'], configuration);
|
|
234
237
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
235
|
-
let headersFromBaseOptions = baseOptions
|
|
238
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
236
239
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
237
240
|
return {
|
|
238
241
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -246,6 +249,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
246
249
|
* @throws {RequiredError}
|
|
247
250
|
*/
|
|
248
251
|
getAccount: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
252
|
+
var _d;
|
|
249
253
|
// verify required parameter 'id' is not null or undefined
|
|
250
254
|
(0, common_1.assertParamExists)('getAccount', 'id', id);
|
|
251
255
|
const localVarPath = `/accounts/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -262,7 +266,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
262
266
|
// oauth required
|
|
263
267
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2Internal', ['accounts.*', 'accounts.read'], configuration);
|
|
264
268
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
265
|
-
let headersFromBaseOptions = baseOptions
|
|
269
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
266
270
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
267
271
|
return {
|
|
268
272
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -277,6 +281,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
277
281
|
* @throws {RequiredError}
|
|
278
282
|
*/
|
|
279
283
|
updateAccount: (id, updateAccountRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
284
|
+
var _e;
|
|
280
285
|
// verify required parameter 'id' is not null or undefined
|
|
281
286
|
(0, common_1.assertParamExists)('updateAccount', 'id', id);
|
|
282
287
|
// verify required parameter 'updateAccountRequest' is not null or undefined
|
|
@@ -296,7 +301,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
296
301
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2Internal', ['accounts.*', 'accounts.write'], configuration);
|
|
297
302
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
298
303
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
299
|
-
let headersFromBaseOptions = baseOptions
|
|
304
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
300
305
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
301
306
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateAccountRequest, localVarRequestOptions, configuration);
|
|
302
307
|
return {
|
|
@@ -528,6 +533,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
528
533
|
* @throws {RequiredError}
|
|
529
534
|
*/
|
|
530
535
|
createApplication: (createApplicationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
536
|
+
var _a;
|
|
531
537
|
// verify required parameter 'createApplicationRequest' is not null or undefined
|
|
532
538
|
(0, common_1.assertParamExists)('createApplication', 'createApplicationRequest', createApplicationRequest);
|
|
533
539
|
const localVarPath = `/applications`;
|
|
@@ -545,7 +551,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
545
551
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
546
552
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
547
553
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
548
|
-
let headersFromBaseOptions = baseOptions
|
|
554
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
549
555
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
550
556
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createApplicationRequest, localVarRequestOptions, configuration);
|
|
551
557
|
return {
|
|
@@ -560,6 +566,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
560
566
|
* @throws {RequiredError}
|
|
561
567
|
*/
|
|
562
568
|
deleteApplication: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
569
|
+
var _b;
|
|
563
570
|
// verify required parameter 'id' is not null or undefined
|
|
564
571
|
(0, common_1.assertParamExists)('deleteApplication', 'id', id);
|
|
565
572
|
const localVarPath = `/applications/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -576,7 +583,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
576
583
|
// oauth required
|
|
577
584
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
578
585
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
579
|
-
let headersFromBaseOptions = baseOptions
|
|
586
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
580
587
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
581
588
|
return {
|
|
582
589
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -590,6 +597,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
590
597
|
* @throws {RequiredError}
|
|
591
598
|
*/
|
|
592
599
|
getApplication: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
600
|
+
var _c;
|
|
593
601
|
// verify required parameter 'id' is not null or undefined
|
|
594
602
|
(0, common_1.assertParamExists)('getApplication', 'id', id);
|
|
595
603
|
const localVarPath = `/applications/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -606,7 +614,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
606
614
|
// oauth required
|
|
607
615
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
608
616
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
609
|
-
let headersFromBaseOptions = baseOptions
|
|
617
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
610
618
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
611
619
|
return {
|
|
612
620
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -621,6 +629,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
621
629
|
* @throws {RequiredError}
|
|
622
630
|
*/
|
|
623
631
|
getApplications: (pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
632
|
+
var _d;
|
|
624
633
|
const localVarPath = `/applications`;
|
|
625
634
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
626
635
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -641,7 +650,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
641
650
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
642
651
|
}
|
|
643
652
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
644
|
-
let headersFromBaseOptions = baseOptions
|
|
653
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
645
654
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
646
655
|
return {
|
|
647
656
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -656,6 +665,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
656
665
|
* @throws {RequiredError}
|
|
657
666
|
*/
|
|
658
667
|
updateApplication: (id, updateApplicationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
668
|
+
var _e;
|
|
659
669
|
// verify required parameter 'id' is not null or undefined
|
|
660
670
|
(0, common_1.assertParamExists)('updateApplication', 'id', id);
|
|
661
671
|
// verify required parameter 'updateApplicationRequest' is not null or undefined
|
|
@@ -675,7 +685,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
675
685
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
676
686
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
677
687
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
678
|
-
let headersFromBaseOptions = baseOptions
|
|
688
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
679
689
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
680
690
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateApplicationRequest, localVarRequestOptions, configuration);
|
|
681
691
|
return {
|
|
@@ -907,6 +917,7 @@ const BatchesApiAxiosParamCreator = function (configuration) {
|
|
|
907
917
|
* @throws {RequiredError}
|
|
908
918
|
*/
|
|
909
919
|
createBatch: (createBatchRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
920
|
+
var _a;
|
|
910
921
|
// verify required parameter 'createBatchRequest' is not null or undefined
|
|
911
922
|
(0, common_1.assertParamExists)('createBatch', 'createBatchRequest', createBatchRequest);
|
|
912
923
|
const localVarPath = `/batches`;
|
|
@@ -924,7 +935,7 @@ const BatchesApiAxiosParamCreator = function (configuration) {
|
|
|
924
935
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
925
936
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
926
937
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
927
|
-
let headersFromBaseOptions = baseOptions
|
|
938
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
928
939
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
929
940
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createBatchRequest, localVarRequestOptions, configuration);
|
|
930
941
|
return {
|
|
@@ -939,6 +950,7 @@ const BatchesApiAxiosParamCreator = function (configuration) {
|
|
|
939
950
|
* @throws {RequiredError}
|
|
940
951
|
*/
|
|
941
952
|
getBatch: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
953
|
+
var _b;
|
|
942
954
|
// verify required parameter 'id' is not null or undefined
|
|
943
955
|
(0, common_1.assertParamExists)('getBatch', 'id', id);
|
|
944
956
|
const localVarPath = `/batches/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -955,7 +967,7 @@ const BatchesApiAxiosParamCreator = function (configuration) {
|
|
|
955
967
|
// oauth required
|
|
956
968
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
957
969
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
958
|
-
let headersFromBaseOptions = baseOptions
|
|
970
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
959
971
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
960
972
|
return {
|
|
961
973
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -969,6 +981,7 @@ const BatchesApiAxiosParamCreator = function (configuration) {
|
|
|
969
981
|
* @throws {RequiredError}
|
|
970
982
|
*/
|
|
971
983
|
getQueuedBatch: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
984
|
+
var _c;
|
|
972
985
|
// verify required parameter 'id' is not null or undefined
|
|
973
986
|
(0, common_1.assertParamExists)('getQueuedBatch', 'id', id);
|
|
974
987
|
const localVarPath = `/queued-batches/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -985,7 +998,7 @@ const BatchesApiAxiosParamCreator = function (configuration) {
|
|
|
985
998
|
// oauth required
|
|
986
999
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
987
1000
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
988
|
-
let headersFromBaseOptions = baseOptions
|
|
1001
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
989
1002
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
990
1003
|
return {
|
|
991
1004
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -1142,6 +1155,7 @@ const ExportsApiAxiosParamCreator = function (configuration) {
|
|
|
1142
1155
|
* @throws {RequiredError}
|
|
1143
1156
|
*/
|
|
1144
1157
|
createExport: (createExportRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1158
|
+
var _a;
|
|
1145
1159
|
// verify required parameter 'createExportRequest' is not null or undefined
|
|
1146
1160
|
(0, common_1.assertParamExists)('createExport', 'createExportRequest', createExportRequest);
|
|
1147
1161
|
const localVarPath = `/exports`;
|
|
@@ -1159,7 +1173,7 @@ const ExportsApiAxiosParamCreator = function (configuration) {
|
|
|
1159
1173
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1160
1174
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
1161
1175
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1162
|
-
let headersFromBaseOptions = baseOptions
|
|
1176
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
1163
1177
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1164
1178
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createExportRequest, localVarRequestOptions, configuration);
|
|
1165
1179
|
return {
|
|
@@ -1174,6 +1188,7 @@ const ExportsApiAxiosParamCreator = function (configuration) {
|
|
|
1174
1188
|
* @throws {RequiredError}
|
|
1175
1189
|
*/
|
|
1176
1190
|
getExport: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1191
|
+
var _b;
|
|
1177
1192
|
// verify required parameter 'id' is not null or undefined
|
|
1178
1193
|
(0, common_1.assertParamExists)('getExport', 'id', id);
|
|
1179
1194
|
const localVarPath = `/exports/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -1190,7 +1205,7 @@ const ExportsApiAxiosParamCreator = function (configuration) {
|
|
|
1190
1205
|
// oauth required
|
|
1191
1206
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1192
1207
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1193
|
-
let headersFromBaseOptions = baseOptions
|
|
1208
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
1194
1209
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1195
1210
|
return {
|
|
1196
1211
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -1204,6 +1219,7 @@ const ExportsApiAxiosParamCreator = function (configuration) {
|
|
|
1204
1219
|
* @throws {RequiredError}
|
|
1205
1220
|
*/
|
|
1206
1221
|
getQueuedExport: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1222
|
+
var _c;
|
|
1207
1223
|
// verify required parameter 'id' is not null or undefined
|
|
1208
1224
|
(0, common_1.assertParamExists)('getQueuedExport', 'id', id);
|
|
1209
1225
|
const localVarPath = `/queued-exports/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -1220,7 +1236,7 @@ const ExportsApiAxiosParamCreator = function (configuration) {
|
|
|
1220
1236
|
// oauth required
|
|
1221
1237
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1222
1238
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1223
|
-
let headersFromBaseOptions = baseOptions
|
|
1239
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
1224
1240
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1225
1241
|
return {
|
|
1226
1242
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -1377,6 +1393,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1377
1393
|
* @throws {RequiredError}
|
|
1378
1394
|
*/
|
|
1379
1395
|
createFile: (createFileRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1396
|
+
var _a;
|
|
1380
1397
|
// verify required parameter 'createFileRequest' is not null or undefined
|
|
1381
1398
|
(0, common_1.assertParamExists)('createFile', 'createFileRequest', createFileRequest);
|
|
1382
1399
|
const localVarPath = `/files`;
|
|
@@ -1394,7 +1411,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1394
1411
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1395
1412
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
1396
1413
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1397
|
-
let headersFromBaseOptions = baseOptions
|
|
1414
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
1398
1415
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1399
1416
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createFileRequest, localVarRequestOptions, configuration);
|
|
1400
1417
|
return {
|
|
@@ -1409,6 +1426,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1409
1426
|
* @throws {RequiredError}
|
|
1410
1427
|
*/
|
|
1411
1428
|
deleteFile: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1429
|
+
var _b;
|
|
1412
1430
|
// verify required parameter 'id' is not null or undefined
|
|
1413
1431
|
(0, common_1.assertParamExists)('deleteFile', 'id', id);
|
|
1414
1432
|
const localVarPath = `/files/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -1425,7 +1443,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1425
1443
|
// oauth required
|
|
1426
1444
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1427
1445
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1428
|
-
let headersFromBaseOptions = baseOptions
|
|
1446
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
1429
1447
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1430
1448
|
return {
|
|
1431
1449
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -1439,6 +1457,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1439
1457
|
* @throws {RequiredError}
|
|
1440
1458
|
*/
|
|
1441
1459
|
getFile: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1460
|
+
var _c;
|
|
1442
1461
|
// verify required parameter 'id' is not null or undefined
|
|
1443
1462
|
(0, common_1.assertParamExists)('getFile', 'id', id);
|
|
1444
1463
|
const localVarPath = `/files/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -1455,7 +1474,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1455
1474
|
// oauth required
|
|
1456
1475
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1457
1476
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1458
|
-
let headersFromBaseOptions = baseOptions
|
|
1477
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
1459
1478
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1460
1479
|
return {
|
|
1461
1480
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -1471,6 +1490,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1471
1490
|
* @throws {RequiredError}
|
|
1472
1491
|
*/
|
|
1473
1492
|
getFiles: (pageCursor, pageSize, filterSuppliedId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1493
|
+
var _d;
|
|
1474
1494
|
const localVarPath = `/files`;
|
|
1475
1495
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1476
1496
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1494,7 +1514,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1494
1514
|
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
1495
1515
|
}
|
|
1496
1516
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1497
|
-
let headersFromBaseOptions = baseOptions
|
|
1517
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
1498
1518
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1499
1519
|
return {
|
|
1500
1520
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -1509,6 +1529,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1509
1529
|
* @throws {RequiredError}
|
|
1510
1530
|
*/
|
|
1511
1531
|
uploadFile: (id, body, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1532
|
+
var _e;
|
|
1512
1533
|
// verify required parameter 'id' is not null or undefined
|
|
1513
1534
|
(0, common_1.assertParamExists)('uploadFile', 'id', id);
|
|
1514
1535
|
// verify required parameter 'body' is not null or undefined
|
|
@@ -1528,7 +1549,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1528
1549
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1529
1550
|
localVarHeaderParameter['Content-Type'] = 'application/octet-stream';
|
|
1530
1551
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1531
|
-
let headersFromBaseOptions = baseOptions
|
|
1552
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
1532
1553
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1533
1554
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
1534
1555
|
return {
|
|
@@ -1762,6 +1783,7 @@ const GeometrySetsApiAxiosParamCreator = function (configuration) {
|
|
|
1762
1783
|
* @throws {RequiredError}
|
|
1763
1784
|
*/
|
|
1764
1785
|
createGeometrySet: (createGeometrySetRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1786
|
+
var _a;
|
|
1765
1787
|
// verify required parameter 'createGeometrySetRequest' is not null or undefined
|
|
1766
1788
|
(0, common_1.assertParamExists)('createGeometrySet', 'createGeometrySetRequest', createGeometrySetRequest);
|
|
1767
1789
|
const localVarPath = `/geometry-sets`;
|
|
@@ -1779,7 +1801,7 @@ const GeometrySetsApiAxiosParamCreator = function (configuration) {
|
|
|
1779
1801
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1780
1802
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
1781
1803
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1782
|
-
let headersFromBaseOptions = baseOptions
|
|
1804
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
1783
1805
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1784
1806
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createGeometrySetRequest, localVarRequestOptions, configuration);
|
|
1785
1807
|
return {
|
|
@@ -1794,6 +1816,7 @@ const GeometrySetsApiAxiosParamCreator = function (configuration) {
|
|
|
1794
1816
|
* @throws {RequiredError}
|
|
1795
1817
|
*/
|
|
1796
1818
|
getGeometrySet: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1819
|
+
var _b;
|
|
1797
1820
|
// verify required parameter 'id' is not null or undefined
|
|
1798
1821
|
(0, common_1.assertParamExists)('getGeometrySet', 'id', id);
|
|
1799
1822
|
const localVarPath = `/geometry-sets/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -1810,7 +1833,7 @@ const GeometrySetsApiAxiosParamCreator = function (configuration) {
|
|
|
1810
1833
|
// oauth required
|
|
1811
1834
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1812
1835
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1813
|
-
let headersFromBaseOptions = baseOptions
|
|
1836
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
1814
1837
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1815
1838
|
return {
|
|
1816
1839
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -1825,6 +1848,7 @@ const GeometrySetsApiAxiosParamCreator = function (configuration) {
|
|
|
1825
1848
|
* @throws {RequiredError}
|
|
1826
1849
|
*/
|
|
1827
1850
|
getGeometrySets: (pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1851
|
+
var _c;
|
|
1828
1852
|
const localVarPath = `/geometry-sets`;
|
|
1829
1853
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1830
1854
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1845,7 +1869,7 @@ const GeometrySetsApiAxiosParamCreator = function (configuration) {
|
|
|
1845
1869
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
1846
1870
|
}
|
|
1847
1871
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1848
|
-
let headersFromBaseOptions = baseOptions
|
|
1872
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
1849
1873
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1850
1874
|
return {
|
|
1851
1875
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -2007,6 +2031,7 @@ const HitsApiAxiosParamCreator = function (configuration) {
|
|
|
2007
2031
|
* @throws {RequiredError}
|
|
2008
2032
|
*/
|
|
2009
2033
|
createSceneHit: (id, createHitRequest, include, fieldsPartRevision, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2034
|
+
var _a;
|
|
2010
2035
|
// verify required parameter 'id' is not null or undefined
|
|
2011
2036
|
(0, common_1.assertParamExists)('createSceneHit', 'id', id);
|
|
2012
2037
|
// verify required parameter 'createHitRequest' is not null or undefined
|
|
@@ -2032,7 +2057,7 @@ const HitsApiAxiosParamCreator = function (configuration) {
|
|
|
2032
2057
|
}
|
|
2033
2058
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2034
2059
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2035
|
-
let headersFromBaseOptions = baseOptions
|
|
2060
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
2036
2061
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2037
2062
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createHitRequest, localVarRequestOptions, configuration);
|
|
2038
2063
|
return {
|
|
@@ -2050,6 +2075,7 @@ const HitsApiAxiosParamCreator = function (configuration) {
|
|
|
2050
2075
|
* @throws {RequiredError}
|
|
2051
2076
|
*/
|
|
2052
2077
|
createSceneViewHit: (id, createHitRequest, include, fieldsPartRevision, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2078
|
+
var _b;
|
|
2053
2079
|
// verify required parameter 'id' is not null or undefined
|
|
2054
2080
|
(0, common_1.assertParamExists)('createSceneViewHit', 'id', id);
|
|
2055
2081
|
// verify required parameter 'createHitRequest' is not null or undefined
|
|
@@ -2075,7 +2101,7 @@ const HitsApiAxiosParamCreator = function (configuration) {
|
|
|
2075
2101
|
}
|
|
2076
2102
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2077
2103
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2078
|
-
let headersFromBaseOptions = baseOptions
|
|
2104
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
2079
2105
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2080
2106
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createHitRequest, localVarRequestOptions, configuration);
|
|
2081
2107
|
return {
|
|
@@ -2211,6 +2237,7 @@ const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2211
2237
|
* @throws {RequiredError}
|
|
2212
2238
|
*/
|
|
2213
2239
|
adminAcceptConsent: (challenge, adminConsentAcceptRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2240
|
+
var _a;
|
|
2214
2241
|
// verify required parameter 'challenge' is not null or undefined
|
|
2215
2242
|
(0, common_1.assertParamExists)('adminAcceptConsent', 'challenge', challenge);
|
|
2216
2243
|
const localVarPath = `/oauth2/auth/requests/consent/accept`;
|
|
@@ -2231,7 +2258,7 @@ const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2231
2258
|
}
|
|
2232
2259
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2233
2260
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2234
|
-
let headersFromBaseOptions = baseOptions
|
|
2261
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
2235
2262
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2236
2263
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminConsentAcceptRequest, localVarRequestOptions, configuration);
|
|
2237
2264
|
return {
|
|
@@ -2247,6 +2274,7 @@ const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2247
2274
|
* @throws {RequiredError}
|
|
2248
2275
|
*/
|
|
2249
2276
|
adminAcceptLogin: (loginChallenge, adminLoginAcceptRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2277
|
+
var _b;
|
|
2250
2278
|
// verify required parameter 'loginChallenge' is not null or undefined
|
|
2251
2279
|
(0, common_1.assertParamExists)('adminAcceptLogin', 'loginChallenge', loginChallenge);
|
|
2252
2280
|
// verify required parameter 'adminLoginAcceptRequest' is not null or undefined
|
|
@@ -2269,7 +2297,7 @@ const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2269
2297
|
}
|
|
2270
2298
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2271
2299
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2272
|
-
let headersFromBaseOptions = baseOptions
|
|
2300
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
2273
2301
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2274
2302
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminLoginAcceptRequest, localVarRequestOptions, configuration);
|
|
2275
2303
|
return {
|
|
@@ -2288,6 +2316,7 @@ const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2288
2316
|
* @throws {RequiredError}
|
|
2289
2317
|
*/
|
|
2290
2318
|
createToken: (grantType, scope, code, redirectUri, refreshToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2319
|
+
var _c;
|
|
2291
2320
|
// verify required parameter 'grantType' is not null or undefined
|
|
2292
2321
|
(0, common_1.assertParamExists)('createToken', 'grantType', grantType);
|
|
2293
2322
|
const localVarPath = `/oauth2/token`;
|
|
@@ -2322,7 +2351,7 @@ const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2322
2351
|
localVarHeaderParameter['Content-Type'] =
|
|
2323
2352
|
'application/x-www-form-urlencoded';
|
|
2324
2353
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2325
|
-
let headersFromBaseOptions = baseOptions
|
|
2354
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
2326
2355
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2327
2356
|
localVarRequestOptions.data = localVarFormParams.toString();
|
|
2328
2357
|
return {
|
|
@@ -2337,6 +2366,7 @@ const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2337
2366
|
* @throws {RequiredError}
|
|
2338
2367
|
*/
|
|
2339
2368
|
revokeToken: (revokeOAuth2TokenRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2369
|
+
var _d;
|
|
2340
2370
|
// verify required parameter 'revokeOAuth2TokenRequest' is not null or undefined
|
|
2341
2371
|
(0, common_1.assertParamExists)('revokeToken', 'revokeOAuth2TokenRequest', revokeOAuth2TokenRequest);
|
|
2342
2372
|
const localVarPath = `/oauth2/revoke`;
|
|
@@ -2354,7 +2384,7 @@ const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2354
2384
|
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
2355
2385
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2356
2386
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2357
|
-
let headersFromBaseOptions = baseOptions
|
|
2387
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
2358
2388
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2359
2389
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(revokeOAuth2TokenRequest, localVarRequestOptions, configuration);
|
|
2360
2390
|
return {
|
|
@@ -2559,6 +2589,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2559
2589
|
* @throws {RequiredError}
|
|
2560
2590
|
*/
|
|
2561
2591
|
deletePartRevision: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2592
|
+
var _a;
|
|
2562
2593
|
// verify required parameter 'id' is not null or undefined
|
|
2563
2594
|
(0, common_1.assertParamExists)('deletePartRevision', 'id', id);
|
|
2564
2595
|
const localVarPath = `/part-revisions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -2575,7 +2606,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2575
2606
|
// oauth required
|
|
2576
2607
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2577
2608
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2578
|
-
let headersFromBaseOptions = baseOptions
|
|
2609
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
2579
2610
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2580
2611
|
return {
|
|
2581
2612
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -2590,6 +2621,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2590
2621
|
* @throws {RequiredError}
|
|
2591
2622
|
*/
|
|
2592
2623
|
getPartRevision: (id, fieldsPartRevision, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2624
|
+
var _b;
|
|
2593
2625
|
// verify required parameter 'id' is not null or undefined
|
|
2594
2626
|
(0, common_1.assertParamExists)('getPartRevision', 'id', id);
|
|
2595
2627
|
const localVarPath = `/part-revisions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -2609,7 +2641,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2609
2641
|
localVarQueryParameter['fields[part-revision]'] = fieldsPartRevision;
|
|
2610
2642
|
}
|
|
2611
2643
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2612
|
-
let headersFromBaseOptions = baseOptions
|
|
2644
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
2613
2645
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2614
2646
|
return {
|
|
2615
2647
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -2626,6 +2658,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2626
2658
|
* @throws {RequiredError}
|
|
2627
2659
|
*/
|
|
2628
2660
|
getPartRevisions: (id, pageCursor, pageSize, filterSuppliedId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2661
|
+
var _c;
|
|
2629
2662
|
// verify required parameter 'id' is not null or undefined
|
|
2630
2663
|
(0, common_1.assertParamExists)('getPartRevisions', 'id', id);
|
|
2631
2664
|
const localVarPath = `/parts/{id}/part-revisions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -2651,7 +2684,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2651
2684
|
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
2652
2685
|
}
|
|
2653
2686
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2654
|
-
let headersFromBaseOptions = baseOptions
|
|
2687
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
2655
2688
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2656
2689
|
return {
|
|
2657
2690
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -2665,6 +2698,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2665
2698
|
* @throws {RequiredError}
|
|
2666
2699
|
*/
|
|
2667
2700
|
getQueuedPartRevisionDeletion: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2701
|
+
var _d;
|
|
2668
2702
|
// verify required parameter 'id' is not null or undefined
|
|
2669
2703
|
(0, common_1.assertParamExists)('getQueuedPartRevisionDeletion', 'id', id);
|
|
2670
2704
|
const localVarPath = `/queued-part-revision-deletions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -2681,7 +2715,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2681
2715
|
// oauth required
|
|
2682
2716
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2683
2717
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2684
|
-
let headersFromBaseOptions = baseOptions
|
|
2718
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
2685
2719
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2686
2720
|
return {
|
|
2687
2721
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -2707,6 +2741,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2707
2741
|
* @throws {RequiredError}
|
|
2708
2742
|
*/
|
|
2709
2743
|
renderPartRevision: (id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2744
|
+
var _e;
|
|
2710
2745
|
// verify required parameter 'id' is not null or undefined
|
|
2711
2746
|
(0, common_1.assertParamExists)('renderPartRevision', 'id', id);
|
|
2712
2747
|
const localVarPath = `/part-revisions/{id}/image`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -2765,7 +2800,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2765
2800
|
cameraOrthographicFovHeight;
|
|
2766
2801
|
}
|
|
2767
2802
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2768
|
-
let headersFromBaseOptions = baseOptions
|
|
2803
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
2769
2804
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2770
2805
|
return {
|
|
2771
2806
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -2780,6 +2815,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2780
2815
|
* @throws {RequiredError}
|
|
2781
2816
|
*/
|
|
2782
2817
|
updatePartRevision: (id, updatePartRevisionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2818
|
+
var _f;
|
|
2783
2819
|
// verify required parameter 'id' is not null or undefined
|
|
2784
2820
|
(0, common_1.assertParamExists)('updatePartRevision', 'id', id);
|
|
2785
2821
|
// verify required parameter 'updatePartRevisionRequest' is not null or undefined
|
|
@@ -2799,7 +2835,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2799
2835
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2800
2836
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2801
2837
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2802
|
-
let headersFromBaseOptions = baseOptions
|
|
2838
|
+
let headersFromBaseOptions = (_f = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _f !== void 0 ? _f : {};
|
|
2803
2839
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2804
2840
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updatePartRevisionRequest, localVarRequestOptions, configuration);
|
|
2805
2841
|
return {
|
|
@@ -3096,6 +3132,7 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3096
3132
|
* @throws {RequiredError}
|
|
3097
3133
|
*/
|
|
3098
3134
|
createPart: (createPartRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3135
|
+
var _a;
|
|
3099
3136
|
// verify required parameter 'createPartRequest' is not null or undefined
|
|
3100
3137
|
(0, common_1.assertParamExists)('createPart', 'createPartRequest', createPartRequest);
|
|
3101
3138
|
const localVarPath = `/parts`;
|
|
@@ -3113,7 +3150,7 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3113
3150
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3114
3151
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
3115
3152
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3116
|
-
let headersFromBaseOptions = baseOptions
|
|
3153
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
3117
3154
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3118
3155
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPartRequest, localVarRequestOptions, configuration);
|
|
3119
3156
|
return {
|
|
@@ -3128,6 +3165,7 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3128
3165
|
* @throws {RequiredError}
|
|
3129
3166
|
*/
|
|
3130
3167
|
deletePart: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3168
|
+
var _b;
|
|
3131
3169
|
// verify required parameter 'id' is not null or undefined
|
|
3132
3170
|
(0, common_1.assertParamExists)('deletePart', 'id', id);
|
|
3133
3171
|
const localVarPath = `/parts/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3144,7 +3182,7 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3144
3182
|
// oauth required
|
|
3145
3183
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3146
3184
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3147
|
-
let headersFromBaseOptions = baseOptions
|
|
3185
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
3148
3186
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3149
3187
|
return {
|
|
3150
3188
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -3159,6 +3197,7 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3159
3197
|
* @throws {RequiredError}
|
|
3160
3198
|
*/
|
|
3161
3199
|
getPart: (id, include, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3200
|
+
var _c;
|
|
3162
3201
|
// verify required parameter 'id' is not null or undefined
|
|
3163
3202
|
(0, common_1.assertParamExists)('getPart', 'id', id);
|
|
3164
3203
|
const localVarPath = `/parts/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3178,7 +3217,7 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3178
3217
|
localVarQueryParameter['include'] = include;
|
|
3179
3218
|
}
|
|
3180
3219
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3181
|
-
let headersFromBaseOptions = baseOptions
|
|
3220
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
3182
3221
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3183
3222
|
return {
|
|
3184
3223
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -3194,6 +3233,7 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3194
3233
|
* @throws {RequiredError}
|
|
3195
3234
|
*/
|
|
3196
3235
|
getParts: (pageCursor, pageSize, filterSuppliedId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3236
|
+
var _d;
|
|
3197
3237
|
const localVarPath = `/parts`;
|
|
3198
3238
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3199
3239
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -3217,7 +3257,7 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3217
3257
|
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
3218
3258
|
}
|
|
3219
3259
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3220
|
-
let headersFromBaseOptions = baseOptions
|
|
3260
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
3221
3261
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3222
3262
|
return {
|
|
3223
3263
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -3231,6 +3271,7 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3231
3271
|
* @throws {RequiredError}
|
|
3232
3272
|
*/
|
|
3233
3273
|
getQueuedPartDeletion: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3274
|
+
var _e;
|
|
3234
3275
|
// verify required parameter 'id' is not null or undefined
|
|
3235
3276
|
(0, common_1.assertParamExists)('getQueuedPartDeletion', 'id', id);
|
|
3236
3277
|
const localVarPath = `/queued-part-deletions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3247,7 +3288,7 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3247
3288
|
// oauth required
|
|
3248
3289
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3249
3290
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3250
|
-
let headersFromBaseOptions = baseOptions
|
|
3291
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
3251
3292
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3252
3293
|
return {
|
|
3253
3294
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -3481,6 +3522,7 @@ const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3481
3522
|
* @throws {RequiredError}
|
|
3482
3523
|
*/
|
|
3483
3524
|
createSceneAlteration: (id, createSceneAlterationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3525
|
+
var _a;
|
|
3484
3526
|
// verify required parameter 'id' is not null or undefined
|
|
3485
3527
|
(0, common_1.assertParamExists)('createSceneAlteration', 'id', id);
|
|
3486
3528
|
// verify required parameter 'createSceneAlterationRequest' is not null or undefined
|
|
@@ -3500,7 +3542,7 @@ const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3500
3542
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3501
3543
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
3502
3544
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3503
|
-
let headersFromBaseOptions = baseOptions
|
|
3545
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
3504
3546
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3505
3547
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSceneAlterationRequest, localVarRequestOptions, configuration);
|
|
3506
3548
|
return {
|
|
@@ -3515,6 +3557,7 @@ const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3515
3557
|
* @throws {RequiredError}
|
|
3516
3558
|
*/
|
|
3517
3559
|
getQueuedSceneAlteration: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3560
|
+
var _b;
|
|
3518
3561
|
// verify required parameter 'id' is not null or undefined
|
|
3519
3562
|
(0, common_1.assertParamExists)('getQueuedSceneAlteration', 'id', id);
|
|
3520
3563
|
const localVarPath = `/queued-scene-alterations/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3531,7 +3574,7 @@ const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3531
3574
|
// oauth required
|
|
3532
3575
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3533
3576
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3534
|
-
let headersFromBaseOptions = baseOptions
|
|
3577
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
3535
3578
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3536
3579
|
return {
|
|
3537
3580
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -3545,6 +3588,7 @@ const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3545
3588
|
* @throws {RequiredError}
|
|
3546
3589
|
*/
|
|
3547
3590
|
getSceneAlteration: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3591
|
+
var _c;
|
|
3548
3592
|
// verify required parameter 'id' is not null or undefined
|
|
3549
3593
|
(0, common_1.assertParamExists)('getSceneAlteration', 'id', id);
|
|
3550
3594
|
const localVarPath = `/scene-alterations/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3561,7 +3605,7 @@ const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3561
3605
|
// oauth required
|
|
3562
3606
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3563
3607
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3564
|
-
let headersFromBaseOptions = baseOptions
|
|
3608
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
3565
3609
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3566
3610
|
return {
|
|
3567
3611
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -3575,6 +3619,7 @@ const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3575
3619
|
* @throws {RequiredError}
|
|
3576
3620
|
*/
|
|
3577
3621
|
getSceneAlterations: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3622
|
+
var _d;
|
|
3578
3623
|
// verify required parameter 'id' is not null or undefined
|
|
3579
3624
|
(0, common_1.assertParamExists)('getSceneAlterations', 'id', id);
|
|
3580
3625
|
const localVarPath = `/scene-views/{id}/scene-alterations`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3591,7 +3636,7 @@ const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3591
3636
|
// oauth required
|
|
3592
3637
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3593
3638
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3594
|
-
let headersFromBaseOptions = baseOptions
|
|
3639
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
3595
3640
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3596
3641
|
return {
|
|
3597
3642
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -3786,6 +3831,7 @@ const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3786
3831
|
* @throws {RequiredError}
|
|
3787
3832
|
*/
|
|
3788
3833
|
createSceneItemOverride: (id, createSceneItemOverrideRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3834
|
+
var _a;
|
|
3789
3835
|
// verify required parameter 'id' is not null or undefined
|
|
3790
3836
|
(0, common_1.assertParamExists)('createSceneItemOverride', 'id', id);
|
|
3791
3837
|
// verify required parameter 'createSceneItemOverrideRequest' is not null or undefined
|
|
@@ -3805,7 +3851,7 @@ const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3805
3851
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3806
3852
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
3807
3853
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3808
|
-
let headersFromBaseOptions = baseOptions
|
|
3854
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
3809
3855
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3810
3856
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSceneItemOverrideRequest, localVarRequestOptions, configuration);
|
|
3811
3857
|
return {
|
|
@@ -3820,6 +3866,7 @@ const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3820
3866
|
* @throws {RequiredError}
|
|
3821
3867
|
*/
|
|
3822
3868
|
deleteSceneItemOverride: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3869
|
+
var _b;
|
|
3823
3870
|
// verify required parameter 'id' is not null or undefined
|
|
3824
3871
|
(0, common_1.assertParamExists)('deleteSceneItemOverride', 'id', id);
|
|
3825
3872
|
const localVarPath = `/scene-item-overrides/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3836,7 +3883,7 @@ const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3836
3883
|
// oauth required
|
|
3837
3884
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3838
3885
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3839
|
-
let headersFromBaseOptions = baseOptions
|
|
3886
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
3840
3887
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3841
3888
|
return {
|
|
3842
3889
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -3852,6 +3899,7 @@ const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3852
3899
|
* @throws {RequiredError}
|
|
3853
3900
|
*/
|
|
3854
3901
|
getSceneItemOverrides: (id, pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3902
|
+
var _c;
|
|
3855
3903
|
// verify required parameter 'id' is not null or undefined
|
|
3856
3904
|
(0, common_1.assertParamExists)('getSceneItemOverrides', 'id', id);
|
|
3857
3905
|
const localVarPath = `/scene-views/{id}/scene-item-overrides`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -3874,7 +3922,7 @@ const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3874
3922
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
3875
3923
|
}
|
|
3876
3924
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3877
|
-
let headersFromBaseOptions = baseOptions
|
|
3925
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
3878
3926
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3879
3927
|
return {
|
|
3880
3928
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -3889,6 +3937,7 @@ const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3889
3937
|
* @throws {RequiredError}
|
|
3890
3938
|
*/
|
|
3891
3939
|
updateSceneItemOverride: (id, updateSceneItemOverrideRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3940
|
+
var _d;
|
|
3892
3941
|
// verify required parameter 'id' is not null or undefined
|
|
3893
3942
|
(0, common_1.assertParamExists)('updateSceneItemOverride', 'id', id);
|
|
3894
3943
|
// verify required parameter 'updateSceneItemOverrideRequest' is not null or undefined
|
|
@@ -3908,7 +3957,7 @@ const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3908
3957
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3909
3958
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
3910
3959
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3911
|
-
let headersFromBaseOptions = baseOptions
|
|
3960
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
3912
3961
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3913
3962
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSceneItemOverrideRequest, localVarRequestOptions, configuration);
|
|
3914
3963
|
return {
|
|
@@ -4110,6 +4159,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4110
4159
|
* @throws {RequiredError}
|
|
4111
4160
|
*/
|
|
4112
4161
|
createSceneItem: (id, createSceneItemRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4162
|
+
var _a;
|
|
4113
4163
|
// verify required parameter 'id' is not null or undefined
|
|
4114
4164
|
(0, common_1.assertParamExists)('createSceneItem', 'id', id);
|
|
4115
4165
|
// verify required parameter 'createSceneItemRequest' is not null or undefined
|
|
@@ -4129,7 +4179,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4129
4179
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4130
4180
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4131
4181
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4132
|
-
let headersFromBaseOptions = baseOptions
|
|
4182
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
4133
4183
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4134
4184
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSceneItemRequest, localVarRequestOptions, configuration);
|
|
4135
4185
|
return {
|
|
@@ -4144,6 +4194,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4144
4194
|
* @throws {RequiredError}
|
|
4145
4195
|
*/
|
|
4146
4196
|
deleteSceneItem: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4197
|
+
var _b;
|
|
4147
4198
|
// verify required parameter 'id' is not null or undefined
|
|
4148
4199
|
(0, common_1.assertParamExists)('deleteSceneItem', 'id', id);
|
|
4149
4200
|
const localVarPath = `/scene-items/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4160,7 +4211,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4160
4211
|
// oauth required
|
|
4161
4212
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4162
4213
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4163
|
-
let headersFromBaseOptions = baseOptions
|
|
4214
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
4164
4215
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4165
4216
|
return {
|
|
4166
4217
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -4174,6 +4225,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4174
4225
|
* @throws {RequiredError}
|
|
4175
4226
|
*/
|
|
4176
4227
|
getQueuedSceneItem: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4228
|
+
var _c;
|
|
4177
4229
|
// verify required parameter 'id' is not null or undefined
|
|
4178
4230
|
(0, common_1.assertParamExists)('getQueuedSceneItem', 'id', id);
|
|
4179
4231
|
const localVarPath = `/queued-scene-items/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4190,7 +4242,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4190
4242
|
// oauth required
|
|
4191
4243
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4192
4244
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4193
|
-
let headersFromBaseOptions = baseOptions
|
|
4245
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
4194
4246
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4195
4247
|
return {
|
|
4196
4248
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -4204,6 +4256,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4204
4256
|
* @throws {RequiredError}
|
|
4205
4257
|
*/
|
|
4206
4258
|
getQueuedSceneItemDeletion: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4259
|
+
var _d;
|
|
4207
4260
|
// verify required parameter 'id' is not null or undefined
|
|
4208
4261
|
(0, common_1.assertParamExists)('getQueuedSceneItemDeletion', 'id', id);
|
|
4209
4262
|
const localVarPath = `/queued-scene-item-deletions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4220,7 +4273,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4220
4273
|
// oauth required
|
|
4221
4274
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4222
4275
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4223
|
-
let headersFromBaseOptions = baseOptions
|
|
4276
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
4224
4277
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4225
4278
|
return {
|
|
4226
4279
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -4235,6 +4288,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4235
4288
|
* @throws {RequiredError}
|
|
4236
4289
|
*/
|
|
4237
4290
|
getSceneItem: (id, fieldsSceneItem, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4291
|
+
var _e;
|
|
4238
4292
|
// verify required parameter 'id' is not null or undefined
|
|
4239
4293
|
(0, common_1.assertParamExists)('getSceneItem', 'id', id);
|
|
4240
4294
|
const localVarPath = `/scene-items/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4254,7 +4308,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4254
4308
|
localVarQueryParameter['fields[scene-item]'] = fieldsSceneItem;
|
|
4255
4309
|
}
|
|
4256
4310
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4257
|
-
let headersFromBaseOptions = baseOptions
|
|
4311
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
4258
4312
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4259
4313
|
return {
|
|
4260
4314
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -4273,6 +4327,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4273
4327
|
* @throws {RequiredError}
|
|
4274
4328
|
*/
|
|
4275
4329
|
getSceneItems: (id, pageCursor, pageSize, filterSource, filterSuppliedId, filterParent, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4330
|
+
var _f;
|
|
4276
4331
|
// verify required parameter 'id' is not null or undefined
|
|
4277
4332
|
(0, common_1.assertParamExists)('getSceneItems', 'id', id);
|
|
4278
4333
|
const localVarPath = `/scenes/{id}/scene-items`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4304,7 +4359,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4304
4359
|
localVarQueryParameter['filter[parent]'] = filterParent;
|
|
4305
4360
|
}
|
|
4306
4361
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4307
|
-
let headersFromBaseOptions = baseOptions
|
|
4362
|
+
let headersFromBaseOptions = (_f = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _f !== void 0 ? _f : {};
|
|
4308
4363
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4309
4364
|
return {
|
|
4310
4365
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -4319,6 +4374,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4319
4374
|
* @throws {RequiredError}
|
|
4320
4375
|
*/
|
|
4321
4376
|
updateSceneItem: (id, updateSceneItemRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4377
|
+
var _g;
|
|
4322
4378
|
// verify required parameter 'id' is not null or undefined
|
|
4323
4379
|
(0, common_1.assertParamExists)('updateSceneItem', 'id', id);
|
|
4324
4380
|
// verify required parameter 'updateSceneItemRequest' is not null or undefined
|
|
@@ -4338,7 +4394,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4338
4394
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4339
4395
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4340
4396
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4341
|
-
let headersFromBaseOptions = baseOptions
|
|
4397
|
+
let headersFromBaseOptions = (_g = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _g !== void 0 ? _g : {};
|
|
4342
4398
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4343
4399
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSceneItemRequest, localVarRequestOptions, configuration);
|
|
4344
4400
|
return {
|
|
@@ -4653,6 +4709,7 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4653
4709
|
* @throws {RequiredError}
|
|
4654
4710
|
*/
|
|
4655
4711
|
createSceneViewState: (id, createSceneViewStateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4712
|
+
var _a;
|
|
4656
4713
|
// verify required parameter 'id' is not null or undefined
|
|
4657
4714
|
(0, common_1.assertParamExists)('createSceneViewState', 'id', id);
|
|
4658
4715
|
// verify required parameter 'createSceneViewStateRequest' is not null or undefined
|
|
@@ -4672,7 +4729,7 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4672
4729
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4673
4730
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4674
4731
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4675
|
-
let headersFromBaseOptions = baseOptions
|
|
4732
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
4676
4733
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4677
4734
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSceneViewStateRequest, localVarRequestOptions, configuration);
|
|
4678
4735
|
return {
|
|
@@ -4687,6 +4744,7 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4687
4744
|
* @throws {RequiredError}
|
|
4688
4745
|
*/
|
|
4689
4746
|
deleteSceneViewState: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4747
|
+
var _b;
|
|
4690
4748
|
// verify required parameter 'id' is not null or undefined
|
|
4691
4749
|
(0, common_1.assertParamExists)('deleteSceneViewState', 'id', id);
|
|
4692
4750
|
const localVarPath = `/scene-view-states/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4703,7 +4761,7 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4703
4761
|
// oauth required
|
|
4704
4762
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4705
4763
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4706
|
-
let headersFromBaseOptions = baseOptions
|
|
4764
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
4707
4765
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4708
4766
|
return {
|
|
4709
4767
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -4718,6 +4776,7 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4718
4776
|
* @throws {RequiredError}
|
|
4719
4777
|
*/
|
|
4720
4778
|
getSceneViewState: (id, fieldsSceneViewState, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4779
|
+
var _c;
|
|
4721
4780
|
// verify required parameter 'id' is not null or undefined
|
|
4722
4781
|
(0, common_1.assertParamExists)('getSceneViewState', 'id', id);
|
|
4723
4782
|
const localVarPath = `/scene-view-states/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4738,7 +4797,7 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4738
4797
|
fieldsSceneViewState;
|
|
4739
4798
|
}
|
|
4740
4799
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4741
|
-
let headersFromBaseOptions = baseOptions
|
|
4800
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
4742
4801
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4743
4802
|
return {
|
|
4744
4803
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -4757,6 +4816,7 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4757
4816
|
* @throws {RequiredError}
|
|
4758
4817
|
*/
|
|
4759
4818
|
getSceneViewStates: (id, pageCursor, pageSize, fieldsSceneViewState, filterId, filterSuppliedId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4819
|
+
var _d;
|
|
4760
4820
|
// verify required parameter 'id' is not null or undefined
|
|
4761
4821
|
(0, common_1.assertParamExists)('getSceneViewStates', 'id', id);
|
|
4762
4822
|
const localVarPath = `/scenes/{id}/scene-view-states`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4789,7 +4849,7 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4789
4849
|
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
4790
4850
|
}
|
|
4791
4851
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4792
|
-
let headersFromBaseOptions = baseOptions
|
|
4852
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
4793
4853
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4794
4854
|
return {
|
|
4795
4855
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -4804,6 +4864,7 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4804
4864
|
* @throws {RequiredError}
|
|
4805
4865
|
*/
|
|
4806
4866
|
updateSceneViewState: (id, updateSceneViewStateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4867
|
+
var _e;
|
|
4807
4868
|
// verify required parameter 'id' is not null or undefined
|
|
4808
4869
|
(0, common_1.assertParamExists)('updateSceneViewState', 'id', id);
|
|
4809
4870
|
// verify required parameter 'updateSceneViewStateRequest' is not null or undefined
|
|
@@ -4823,7 +4884,7 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4823
4884
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4824
4885
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4825
4886
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4826
|
-
let headersFromBaseOptions = baseOptions
|
|
4887
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
4827
4888
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4828
4889
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSceneViewStateRequest, localVarRequestOptions, configuration);
|
|
4829
4890
|
return {
|
|
@@ -5068,6 +5129,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5068
5129
|
* @throws {RequiredError}
|
|
5069
5130
|
*/
|
|
5070
5131
|
createSceneView: (id, createSceneViewRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5132
|
+
var _a;
|
|
5071
5133
|
// verify required parameter 'id' is not null or undefined
|
|
5072
5134
|
(0, common_1.assertParamExists)('createSceneView', 'id', id);
|
|
5073
5135
|
// verify required parameter 'createSceneViewRequest' is not null or undefined
|
|
@@ -5087,7 +5149,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5087
5149
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5088
5150
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5089
5151
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5090
|
-
let headersFromBaseOptions = baseOptions
|
|
5152
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
5091
5153
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5092
5154
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSceneViewRequest, localVarRequestOptions, configuration);
|
|
5093
5155
|
return {
|
|
@@ -5102,6 +5164,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5102
5164
|
* @throws {RequiredError}
|
|
5103
5165
|
*/
|
|
5104
5166
|
deleteSceneView: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5167
|
+
var _b;
|
|
5105
5168
|
// verify required parameter 'id' is not null or undefined
|
|
5106
5169
|
(0, common_1.assertParamExists)('deleteSceneView', 'id', id);
|
|
5107
5170
|
const localVarPath = `/scene-views/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5118,7 +5181,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5118
5181
|
// oauth required
|
|
5119
5182
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5120
5183
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5121
|
-
let headersFromBaseOptions = baseOptions
|
|
5184
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
5122
5185
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5123
5186
|
return {
|
|
5124
5187
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -5132,6 +5195,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5132
5195
|
* @throws {RequiredError}
|
|
5133
5196
|
*/
|
|
5134
5197
|
getSceneView: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5198
|
+
var _c;
|
|
5135
5199
|
// verify required parameter 'id' is not null or undefined
|
|
5136
5200
|
(0, common_1.assertParamExists)('getSceneView', 'id', id);
|
|
5137
5201
|
const localVarPath = `/scene-views/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5148,7 +5212,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5148
5212
|
// oauth required
|
|
5149
5213
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5150
5214
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5151
|
-
let headersFromBaseOptions = baseOptions
|
|
5215
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
5152
5216
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5153
5217
|
return {
|
|
5154
5218
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -5164,6 +5228,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5164
5228
|
* @throws {RequiredError}
|
|
5165
5229
|
*/
|
|
5166
5230
|
getSceneViews: (id, pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5231
|
+
var _d;
|
|
5167
5232
|
// verify required parameter 'id' is not null or undefined
|
|
5168
5233
|
(0, common_1.assertParamExists)('getSceneViews', 'id', id);
|
|
5169
5234
|
const localVarPath = `/scenes/{id}/scene-views`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5186,7 +5251,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5186
5251
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
5187
5252
|
}
|
|
5188
5253
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5189
|
-
let headersFromBaseOptions = baseOptions
|
|
5254
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
5190
5255
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5191
5256
|
return {
|
|
5192
5257
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -5203,6 +5268,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5203
5268
|
* @throws {RequiredError}
|
|
5204
5269
|
*/
|
|
5205
5270
|
getViewSceneItem: (id, itemId, fieldsSceneItem, include, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5271
|
+
var _e;
|
|
5206
5272
|
// verify required parameter 'id' is not null or undefined
|
|
5207
5273
|
(0, common_1.assertParamExists)('getViewSceneItem', 'id', id);
|
|
5208
5274
|
// verify required parameter 'itemId' is not null or undefined
|
|
@@ -5229,7 +5295,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5229
5295
|
localVarQueryParameter['include'] = include;
|
|
5230
5296
|
}
|
|
5231
5297
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5232
|
-
let headersFromBaseOptions = baseOptions
|
|
5298
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
5233
5299
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5234
5300
|
return {
|
|
5235
5301
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -5245,6 +5311,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5245
5311
|
* @throws {RequiredError}
|
|
5246
5312
|
*/
|
|
5247
5313
|
renderSceneView: (id, height, width, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5314
|
+
var _f;
|
|
5248
5315
|
// verify required parameter 'id' is not null or undefined
|
|
5249
5316
|
(0, common_1.assertParamExists)('renderSceneView', 'id', id);
|
|
5250
5317
|
const localVarPath = `/scene-views/{id}/image`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5267,7 +5334,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5267
5334
|
localVarQueryParameter['width'] = width;
|
|
5268
5335
|
}
|
|
5269
5336
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5270
|
-
let headersFromBaseOptions = baseOptions
|
|
5337
|
+
let headersFromBaseOptions = (_f = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _f !== void 0 ? _f : {};
|
|
5271
5338
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5272
5339
|
return {
|
|
5273
5340
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -5282,6 +5349,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5282
5349
|
* @throws {RequiredError}
|
|
5283
5350
|
*/
|
|
5284
5351
|
updateSceneView: (id, updateSceneViewRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5352
|
+
var _g;
|
|
5285
5353
|
// verify required parameter 'id' is not null or undefined
|
|
5286
5354
|
(0, common_1.assertParamExists)('updateSceneView', 'id', id);
|
|
5287
5355
|
// verify required parameter 'updateSceneViewRequest' is not null or undefined
|
|
@@ -5301,7 +5369,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5301
5369
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5302
5370
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5303
5371
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5304
|
-
let headersFromBaseOptions = baseOptions
|
|
5372
|
+
let headersFromBaseOptions = (_g = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _g !== void 0 ? _g : {};
|
|
5305
5373
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5306
5374
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSceneViewRequest, localVarRequestOptions, configuration);
|
|
5307
5375
|
return {
|
|
@@ -5617,6 +5685,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5617
5685
|
* @throws {RequiredError}
|
|
5618
5686
|
*/
|
|
5619
5687
|
createScene: (createSceneRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5688
|
+
var _a;
|
|
5620
5689
|
// verify required parameter 'createSceneRequest' is not null or undefined
|
|
5621
5690
|
(0, common_1.assertParamExists)('createScene', 'createSceneRequest', createSceneRequest);
|
|
5622
5691
|
const localVarPath = `/scenes`;
|
|
@@ -5634,7 +5703,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5634
5703
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5635
5704
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5636
5705
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5637
|
-
let headersFromBaseOptions = baseOptions
|
|
5706
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
5638
5707
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5639
5708
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSceneRequest, localVarRequestOptions, configuration);
|
|
5640
5709
|
return {
|
|
@@ -5649,6 +5718,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5649
5718
|
* @throws {RequiredError}
|
|
5650
5719
|
*/
|
|
5651
5720
|
deleteScene: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5721
|
+
var _b;
|
|
5652
5722
|
// verify required parameter 'id' is not null or undefined
|
|
5653
5723
|
(0, common_1.assertParamExists)('deleteScene', 'id', id);
|
|
5654
5724
|
const localVarPath = `/scenes/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5665,7 +5735,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5665
5735
|
// oauth required
|
|
5666
5736
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5667
5737
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5668
|
-
let headersFromBaseOptions = baseOptions
|
|
5738
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
5669
5739
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5670
5740
|
return {
|
|
5671
5741
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -5679,6 +5749,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5679
5749
|
* @throws {RequiredError}
|
|
5680
5750
|
*/
|
|
5681
5751
|
getQueuedScene: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5752
|
+
var _c;
|
|
5682
5753
|
// verify required parameter 'id' is not null or undefined
|
|
5683
5754
|
(0, common_1.assertParamExists)('getQueuedScene', 'id', id);
|
|
5684
5755
|
const localVarPath = `/queued-scenes/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5695,7 +5766,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5695
5766
|
// oauth required
|
|
5696
5767
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5697
5768
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5698
|
-
let headersFromBaseOptions = baseOptions
|
|
5769
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
5699
5770
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5700
5771
|
return {
|
|
5701
5772
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -5710,6 +5781,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5710
5781
|
* @throws {RequiredError}
|
|
5711
5782
|
*/
|
|
5712
5783
|
getScene: (id, fieldsScene, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5784
|
+
var _d;
|
|
5713
5785
|
// verify required parameter 'id' is not null or undefined
|
|
5714
5786
|
(0, common_1.assertParamExists)('getScene', 'id', id);
|
|
5715
5787
|
const localVarPath = `/scenes/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5729,7 +5801,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5729
5801
|
localVarQueryParameter['fields[scene]'] = fieldsScene;
|
|
5730
5802
|
}
|
|
5731
5803
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5732
|
-
let headersFromBaseOptions = baseOptions
|
|
5804
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
5733
5805
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5734
5806
|
return {
|
|
5735
5807
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -5748,6 +5820,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5748
5820
|
* @throws {RequiredError}
|
|
5749
5821
|
*/
|
|
5750
5822
|
getScenes: (pageCursor, pageSize, filterName, filterSuppliedId, fieldsScene, filterMetadata, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5823
|
+
var _e;
|
|
5751
5824
|
const localVarPath = `/scenes`;
|
|
5752
5825
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5753
5826
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5780,7 +5853,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5780
5853
|
localVarQueryParameter['filter[metadata]'] = filterMetadata;
|
|
5781
5854
|
}
|
|
5782
5855
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5783
|
-
let headersFromBaseOptions = baseOptions
|
|
5856
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
5784
5857
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5785
5858
|
return {
|
|
5786
5859
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -5796,6 +5869,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5796
5869
|
* @throws {RequiredError}
|
|
5797
5870
|
*/
|
|
5798
5871
|
renderScene: (id, height, width, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5872
|
+
var _f;
|
|
5799
5873
|
// verify required parameter 'id' is not null or undefined
|
|
5800
5874
|
(0, common_1.assertParamExists)('renderScene', 'id', id);
|
|
5801
5875
|
const localVarPath = `/scenes/{id}/image`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -5818,7 +5892,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5818
5892
|
localVarQueryParameter['width'] = width;
|
|
5819
5893
|
}
|
|
5820
5894
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5821
|
-
let headersFromBaseOptions = baseOptions
|
|
5895
|
+
let headersFromBaseOptions = (_f = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _f !== void 0 ? _f : {};
|
|
5822
5896
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5823
5897
|
return {
|
|
5824
5898
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -5833,6 +5907,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5833
5907
|
* @throws {RequiredError}
|
|
5834
5908
|
*/
|
|
5835
5909
|
updateScene: (id, updateSceneRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5910
|
+
var _g;
|
|
5836
5911
|
// verify required parameter 'id' is not null or undefined
|
|
5837
5912
|
(0, common_1.assertParamExists)('updateScene', 'id', id);
|
|
5838
5913
|
// verify required parameter 'updateSceneRequest' is not null or undefined
|
|
@@ -5852,7 +5927,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5852
5927
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5853
5928
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5854
5929
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5855
|
-
let headersFromBaseOptions = baseOptions
|
|
5930
|
+
let headersFromBaseOptions = (_g = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _g !== void 0 ? _g : {};
|
|
5856
5931
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5857
5932
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSceneRequest, localVarRequestOptions, configuration);
|
|
5858
5933
|
return {
|
|
@@ -6169,6 +6244,7 @@ const StreamKeysApiAxiosParamCreator = function (configuration) {
|
|
|
6169
6244
|
* @throws {RequiredError}
|
|
6170
6245
|
*/
|
|
6171
6246
|
createSceneStreamKey: (id, createStreamKeyRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6247
|
+
var _a;
|
|
6172
6248
|
// verify required parameter 'id' is not null or undefined
|
|
6173
6249
|
(0, common_1.assertParamExists)('createSceneStreamKey', 'id', id);
|
|
6174
6250
|
// verify required parameter 'createStreamKeyRequest' is not null or undefined
|
|
@@ -6188,7 +6264,7 @@ const StreamKeysApiAxiosParamCreator = function (configuration) {
|
|
|
6188
6264
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6189
6265
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
6190
6266
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6191
|
-
let headersFromBaseOptions = baseOptions
|
|
6267
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
6192
6268
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6193
6269
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createStreamKeyRequest, localVarRequestOptions, configuration);
|
|
6194
6270
|
return {
|
|
@@ -6203,6 +6279,7 @@ const StreamKeysApiAxiosParamCreator = function (configuration) {
|
|
|
6203
6279
|
* @throws {RequiredError}
|
|
6204
6280
|
*/
|
|
6205
6281
|
deleteStreamKey: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6282
|
+
var _b;
|
|
6206
6283
|
// verify required parameter 'id' is not null or undefined
|
|
6207
6284
|
(0, common_1.assertParamExists)('deleteStreamKey', 'id', id);
|
|
6208
6285
|
const localVarPath = `/stream-keys/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -6219,7 +6296,7 @@ const StreamKeysApiAxiosParamCreator = function (configuration) {
|
|
|
6219
6296
|
// oauth required
|
|
6220
6297
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6221
6298
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6222
|
-
let headersFromBaseOptions = baseOptions
|
|
6299
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
6223
6300
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6224
6301
|
return {
|
|
6225
6302
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -6235,6 +6312,7 @@ const StreamKeysApiAxiosParamCreator = function (configuration) {
|
|
|
6235
6312
|
* @throws {RequiredError}
|
|
6236
6313
|
*/
|
|
6237
6314
|
getStreamKeys: (pageCursor, pageSize, filterKey, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6315
|
+
var _c;
|
|
6238
6316
|
const localVarPath = `/stream-keys`;
|
|
6239
6317
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6240
6318
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -6258,7 +6336,7 @@ const StreamKeysApiAxiosParamCreator = function (configuration) {
|
|
|
6258
6336
|
localVarQueryParameter['filter[key]'] = filterKey;
|
|
6259
6337
|
}
|
|
6260
6338
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6261
|
-
let headersFromBaseOptions = baseOptions
|
|
6339
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
6262
6340
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6263
6341
|
return {
|
|
6264
6342
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -6421,6 +6499,7 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
|
|
|
6421
6499
|
* @throws {RequiredError}
|
|
6422
6500
|
*/
|
|
6423
6501
|
createTranslationInspection: (createTranslationInspectionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6502
|
+
var _a;
|
|
6424
6503
|
// verify required parameter 'createTranslationInspectionRequest' is not null or undefined
|
|
6425
6504
|
(0, common_1.assertParamExists)('createTranslationInspection', 'createTranslationInspectionRequest', createTranslationInspectionRequest);
|
|
6426
6505
|
const localVarPath = `/translation-inspections`;
|
|
@@ -6438,7 +6517,7 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
|
|
|
6438
6517
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6439
6518
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
6440
6519
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6441
|
-
let headersFromBaseOptions = baseOptions
|
|
6520
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
6442
6521
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6443
6522
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createTranslationInspectionRequest, localVarRequestOptions, configuration);
|
|
6444
6523
|
return {
|
|
@@ -6453,6 +6532,7 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
|
|
|
6453
6532
|
* @throws {RequiredError}
|
|
6454
6533
|
*/
|
|
6455
6534
|
getInspectionJob: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6535
|
+
var _b;
|
|
6456
6536
|
// verify required parameter 'id' is not null or undefined
|
|
6457
6537
|
(0, common_1.assertParamExists)('getInspectionJob', 'id', id);
|
|
6458
6538
|
const localVarPath = `/translation-inspections/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -6469,7 +6549,7 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
|
|
|
6469
6549
|
// oauth required
|
|
6470
6550
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6471
6551
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6472
|
-
let headersFromBaseOptions = baseOptions
|
|
6552
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
6473
6553
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6474
6554
|
return {
|
|
6475
6555
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -6483,6 +6563,7 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
|
|
|
6483
6563
|
* @throws {RequiredError}
|
|
6484
6564
|
*/
|
|
6485
6565
|
getQueuedTranslation: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6566
|
+
var _c;
|
|
6486
6567
|
// verify required parameter 'id' is not null or undefined
|
|
6487
6568
|
(0, common_1.assertParamExists)('getQueuedTranslation', 'id', id);
|
|
6488
6569
|
const localVarPath = `/queued-translations/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -6499,7 +6580,7 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
|
|
|
6499
6580
|
// oauth required
|
|
6500
6581
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6501
6582
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6502
|
-
let headersFromBaseOptions = baseOptions
|
|
6583
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
6503
6584
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6504
6585
|
return {
|
|
6505
6586
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -6513,6 +6594,7 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
|
|
|
6513
6594
|
* @throws {RequiredError}
|
|
6514
6595
|
*/
|
|
6515
6596
|
getQueuedTranslationJob: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6597
|
+
var _d;
|
|
6516
6598
|
// verify required parameter 'id' is not null or undefined
|
|
6517
6599
|
(0, common_1.assertParamExists)('getQueuedTranslationJob', 'id', id);
|
|
6518
6600
|
const localVarPath = `/queued-translation-jobs/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -6529,7 +6611,7 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
|
|
|
6529
6611
|
// oauth required
|
|
6530
6612
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6531
6613
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6532
|
-
let headersFromBaseOptions = baseOptions
|
|
6614
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
6533
6615
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6534
6616
|
return {
|
|
6535
6617
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -6545,6 +6627,7 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
|
|
|
6545
6627
|
* @throws {RequiredError}
|
|
6546
6628
|
*/
|
|
6547
6629
|
getQueuedTranslations: (pageCursor, pageSize, filterStatus, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6630
|
+
var _e;
|
|
6548
6631
|
const localVarPath = `/queued-translations`;
|
|
6549
6632
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6550
6633
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -6568,7 +6651,7 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
|
|
|
6568
6651
|
localVarQueryParameter['filter[status]'] = filterStatus;
|
|
6569
6652
|
}
|
|
6570
6653
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6571
|
-
let headersFromBaseOptions = baseOptions
|
|
6654
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
6572
6655
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6573
6656
|
return {
|
|
6574
6657
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -6799,6 +6882,7 @@ const WebhookSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
6799
6882
|
* @throws {RequiredError}
|
|
6800
6883
|
*/
|
|
6801
6884
|
createWebhookSubscription: (createWebhookSubscriptionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6885
|
+
var _a;
|
|
6802
6886
|
// verify required parameter 'createWebhookSubscriptionRequest' is not null or undefined
|
|
6803
6887
|
(0, common_1.assertParamExists)('createWebhookSubscription', 'createWebhookSubscriptionRequest', createWebhookSubscriptionRequest);
|
|
6804
6888
|
const localVarPath = `/webhook-subscriptions`;
|
|
@@ -6816,7 +6900,7 @@ const WebhookSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
6816
6900
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6817
6901
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
6818
6902
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6819
|
-
let headersFromBaseOptions = baseOptions
|
|
6903
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
6820
6904
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6821
6905
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createWebhookSubscriptionRequest, localVarRequestOptions, configuration);
|
|
6822
6906
|
return {
|
|
@@ -6831,6 +6915,7 @@ const WebhookSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
6831
6915
|
* @throws {RequiredError}
|
|
6832
6916
|
*/
|
|
6833
6917
|
deleteWebhookSubscription: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6918
|
+
var _b;
|
|
6834
6919
|
// verify required parameter 'id' is not null or undefined
|
|
6835
6920
|
(0, common_1.assertParamExists)('deleteWebhookSubscription', 'id', id);
|
|
6836
6921
|
const localVarPath = `/webhook-subscriptions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -6847,7 +6932,7 @@ const WebhookSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
6847
6932
|
// oauth required
|
|
6848
6933
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6849
6934
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6850
|
-
let headersFromBaseOptions = baseOptions
|
|
6935
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
6851
6936
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6852
6937
|
return {
|
|
6853
6938
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -6861,6 +6946,7 @@ const WebhookSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
6861
6946
|
* @throws {RequiredError}
|
|
6862
6947
|
*/
|
|
6863
6948
|
getWebhookSubscription: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6949
|
+
var _c;
|
|
6864
6950
|
// verify required parameter 'id' is not null or undefined
|
|
6865
6951
|
(0, common_1.assertParamExists)('getWebhookSubscription', 'id', id);
|
|
6866
6952
|
const localVarPath = `/webhook-subscriptions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -6877,7 +6963,7 @@ const WebhookSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
6877
6963
|
// oauth required
|
|
6878
6964
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6879
6965
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6880
|
-
let headersFromBaseOptions = baseOptions
|
|
6966
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
6881
6967
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6882
6968
|
return {
|
|
6883
6969
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -6892,6 +6978,7 @@ const WebhookSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
6892
6978
|
* @throws {RequiredError}
|
|
6893
6979
|
*/
|
|
6894
6980
|
getWebhookSubscriptions: (pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6981
|
+
var _d;
|
|
6895
6982
|
const localVarPath = `/webhook-subscriptions`;
|
|
6896
6983
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6897
6984
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -6912,7 +6999,7 @@ const WebhookSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
6912
6999
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
6913
7000
|
}
|
|
6914
7001
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6915
|
-
let headersFromBaseOptions = baseOptions
|
|
7002
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
6916
7003
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6917
7004
|
return {
|
|
6918
7005
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -6927,6 +7014,7 @@ const WebhookSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
6927
7014
|
* @throws {RequiredError}
|
|
6928
7015
|
*/
|
|
6929
7016
|
updateWebhookSubscription: (id, updateWebhookSubscriptionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7017
|
+
var _e;
|
|
6930
7018
|
// verify required parameter 'id' is not null or undefined
|
|
6931
7019
|
(0, common_1.assertParamExists)('updateWebhookSubscription', 'id', id);
|
|
6932
7020
|
// verify required parameter 'updateWebhookSubscriptionRequest' is not null or undefined
|
|
@@ -6946,7 +7034,7 @@ const WebhookSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
6946
7034
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6947
7035
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
6948
7036
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6949
|
-
let headersFromBaseOptions = baseOptions
|
|
7037
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
6950
7038
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6951
7039
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateWebhookSubscriptionRequest, localVarRequestOptions, configuration);
|
|
6952
7040
|
return {
|