@vertexvis/api-client-node 0.15.5 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api.d.ts +895 -503
- package/dist/cjs/api.js +501 -344
- package/dist/cjs/base.d.ts +2 -2
- package/dist/cjs/client/helpers/exports.d.ts +15 -0
- package/dist/cjs/client/helpers/exports.js +39 -0
- package/dist/cjs/client/helpers/files.d.ts +3 -12
- package/dist/cjs/client/helpers/files.js +5 -8
- package/dist/cjs/client/helpers/index.d.ts +1 -0
- package/dist/cjs/client/helpers/index.js +1 -0
- package/dist/cjs/client/helpers/parts.d.ts +4 -6
- package/dist/cjs/client/helpers/queued-jobs.js +1 -1
- package/dist/cjs/client/helpers/scenes.d.ts +1 -1
- package/dist/cjs/client/helpers/scenes.js +2 -11
- package/dist/cjs/client/version.d.ts +1 -1
- package/dist/cjs/client/version.js +1 -1
- package/dist/cjs/client/vertex-client.d.ts +2 -1
- package/dist/cjs/client/vertex-client.js +1 -0
- package/dist/cjs/common.d.ts +2 -2
- package/dist/esm/api.d.ts +895 -503
- package/dist/esm/api.js +494 -341
- package/dist/esm/base.d.ts +2 -2
- package/dist/esm/client/helpers/exports.d.ts +15 -0
- package/dist/esm/client/helpers/exports.js +35 -0
- package/dist/esm/client/helpers/files.d.ts +3 -12
- package/dist/esm/client/helpers/files.js +5 -8
- package/dist/esm/client/helpers/index.d.ts +1 -0
- package/dist/esm/client/helpers/index.js +1 -0
- package/dist/esm/client/helpers/parts.d.ts +4 -6
- package/dist/esm/client/helpers/queued-jobs.js +1 -1
- package/dist/esm/client/helpers/scenes.d.ts +1 -1
- package/dist/esm/client/helpers/scenes.js +2 -11
- package/dist/esm/client/version.d.ts +1 -1
- package/dist/esm/client/version.js +1 -1
- package/dist/esm/client/vertex-client.d.ts +2 -1
- package/dist/esm/client/vertex-client.js +2 -1
- package/dist/esm/common.d.ts +2 -2
- package/package.json +20 -20
package/dist/cjs/api.js
CHANGED
|
@@ -25,259 +25,121 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.WebhookSubscriptionsApi = void 0;
|
|
28
|
+
exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.ExportsApi = exports.ExportsApiFactory = exports.ExportsApiFp = exports.ExportsApiAxiosParamCreator = exports.BatchesApi = exports.BatchesApiFactory = exports.BatchesApiFp = exports.BatchesApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.WebhookSubscriptionDataAttributesStatusEnum = exports.WebhookEventDataRelationshipsOwnerDataTypeEnum = exports.UpdateWebhookSubscriptionRequestDataAttributesStatusEnum = exports.UpdateSceneRequestDataAttributesStateEnum = exports.UpdateAccountRequestDataAttributesStatusEnum = exports.SelectOperationTypeEnum = exports.SceneViewStateRelationshipDataTypeEnum = exports.SceneViewRelationshipDataTypeEnum = exports.SceneRelationshipDataTypeEnum = exports.SceneItemRelationshipDataTypeEnum = exports.QueryByIdDataAttributesTypeEnum = exports.QueryByIdDataTypeEnum = exports.QueryByCollectionDataAttributesTypeEnum = exports.QueryByCollectionDataTypeEnum = exports.QueryAll = exports.PartRelationshipDataTypeEnum = exports.PartDataRelationshipsPartRevisionsTypeEnum = exports.MetadataValueTypeEnum = exports.GeometrySetRelationshipDataTypeEnum = exports.FileRelationshipDataTypeEnum = exports.ExportRelationshipDataTypeEnum = exports.DeselectOperationTypeEnum = exports.ClearTransformOperationTypeEnum = exports.ClearMaterialOperationTypeEnum = exports.ChangeVisibilityOperationTypeEnum = exports.ChangeTransformOperationTypeEnum = exports.ChangeMaterialOperationTypeEnum = exports.CameraFitTypeEnum = exports.BatchOperationRefTypeEnum = exports.BatchOperationOpEnum = void 0;
|
|
29
|
+
exports.TranslationInspectionsApiFp = exports.TranslationInspectionsApiAxiosParamCreator = exports.StreamKeysApi = exports.StreamKeysApiFactory = exports.StreamKeysApiFp = exports.StreamKeysApiAxiosParamCreator = exports.ScenesApi = exports.ScenesApiFactory = exports.ScenesApiFp = exports.ScenesApiAxiosParamCreator = exports.SceneViewsApi = exports.SceneViewsApiFactory = exports.SceneViewsApiFp = exports.SceneViewsApiAxiosParamCreator = exports.SceneViewStatesApi = exports.SceneViewStatesApiFactory = exports.SceneViewStatesApiFp = exports.SceneViewStatesApiAxiosParamCreator = exports.SceneItemsApi = exports.SceneItemsApiFactory = exports.SceneItemsApiFp = exports.SceneItemsApiAxiosParamCreator = exports.SceneItemOverridesApi = exports.SceneItemOverridesApiFactory = exports.SceneItemOverridesApiFp = exports.SceneItemOverridesApiAxiosParamCreator = exports.SceneAlterationsApi = exports.SceneAlterationsApiFactory = exports.SceneAlterationsApiFp = exports.SceneAlterationsApiAxiosParamCreator = exports.PartsApi = exports.PartsApiFactory = exports.PartsApiFp = exports.PartsApiAxiosParamCreator = exports.PartRevisionsApi = exports.PartRevisionsApiFactory = exports.PartRevisionsApiFp = exports.PartRevisionsApiAxiosParamCreator = exports.Oauth2Api = exports.Oauth2ApiFactory = exports.Oauth2ApiFp = exports.Oauth2ApiAxiosParamCreator = exports.HitsApi = exports.HitsApiFactory = exports.HitsApiFp = exports.HitsApiAxiosParamCreator = exports.GeometrySetsApi = exports.GeometrySetsApiFactory = exports.GeometrySetsApiFp = exports.GeometrySetsApiAxiosParamCreator = void 0;
|
|
30
|
+
exports.WebhookSubscriptionsApi = exports.WebhookSubscriptionsApiFactory = exports.WebhookSubscriptionsApiFp = exports.WebhookSubscriptionsApiAxiosParamCreator = exports.TranslationInspectionsApi = exports.TranslationInspectionsApiFactory = void 0;
|
|
31
31
|
const axios_1 = __importDefault(require("axios"));
|
|
32
32
|
// Some imports not used depending on template conditions
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
const common_1 = require("./common");
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
const base_1 = require("./base");
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
* @export
|
|
88
|
-
* @enum {string}
|
|
89
|
-
*/
|
|
90
|
-
var ClearMaterialOperationTypeEnum;
|
|
91
|
-
(function (ClearMaterialOperationTypeEnum) {
|
|
92
|
-
ClearMaterialOperationTypeEnum["ClearMaterial"] = "clear-material";
|
|
93
|
-
})(ClearMaterialOperationTypeEnum = exports.ClearMaterialOperationTypeEnum || (exports.ClearMaterialOperationTypeEnum = {}));
|
|
94
|
-
/**
|
|
95
|
-
* @export
|
|
96
|
-
* @enum {string}
|
|
97
|
-
*/
|
|
98
|
-
var ClearTransformOperationTypeEnum;
|
|
99
|
-
(function (ClearTransformOperationTypeEnum) {
|
|
100
|
-
ClearTransformOperationTypeEnum["ClearTransform"] = "clear-transform";
|
|
101
|
-
})(ClearTransformOperationTypeEnum = exports.ClearTransformOperationTypeEnum || (exports.ClearTransformOperationTypeEnum = {}));
|
|
102
|
-
/**
|
|
103
|
-
* @export
|
|
104
|
-
* @enum {string}
|
|
105
|
-
*/
|
|
106
|
-
var DeselectOperationTypeEnum;
|
|
107
|
-
(function (DeselectOperationTypeEnum) {
|
|
108
|
-
DeselectOperationTypeEnum["Deselect"] = "deselect";
|
|
109
|
-
})(DeselectOperationTypeEnum = exports.DeselectOperationTypeEnum || (exports.DeselectOperationTypeEnum = {}));
|
|
110
|
-
/**
|
|
111
|
-
* @export
|
|
112
|
-
* @enum {string}
|
|
113
|
-
*/
|
|
114
|
-
var FileRelationshipDataTypeEnum;
|
|
115
|
-
(function (FileRelationshipDataTypeEnum) {
|
|
116
|
-
FileRelationshipDataTypeEnum["File"] = "file";
|
|
117
|
-
})(FileRelationshipDataTypeEnum = exports.FileRelationshipDataTypeEnum || (exports.FileRelationshipDataTypeEnum = {}));
|
|
118
|
-
/**
|
|
119
|
-
* @export
|
|
120
|
-
* @enum {string}
|
|
121
|
-
*/
|
|
122
|
-
var GeometrySetRelationshipDataTypeEnum;
|
|
123
|
-
(function (GeometrySetRelationshipDataTypeEnum) {
|
|
124
|
-
GeometrySetRelationshipDataTypeEnum["GeometrySet"] = "geometry-set";
|
|
125
|
-
})(GeometrySetRelationshipDataTypeEnum = exports.GeometrySetRelationshipDataTypeEnum || (exports.GeometrySetRelationshipDataTypeEnum = {}));
|
|
126
|
-
/**
|
|
127
|
-
* @export
|
|
128
|
-
* @enum {string}
|
|
129
|
-
*/
|
|
130
|
-
var MetadataValueTypeEnum;
|
|
131
|
-
(function (MetadataValueTypeEnum) {
|
|
132
|
-
MetadataValueTypeEnum["String"] = "string";
|
|
133
|
-
MetadataValueTypeEnum["Long"] = "long";
|
|
134
|
-
MetadataValueTypeEnum["Float"] = "float";
|
|
135
|
-
MetadataValueTypeEnum["Date"] = "date";
|
|
136
|
-
MetadataValueTypeEnum["Null"] = "null";
|
|
137
|
-
})(MetadataValueTypeEnum = exports.MetadataValueTypeEnum || (exports.MetadataValueTypeEnum = {}));
|
|
138
|
-
/**
|
|
139
|
-
* @export
|
|
140
|
-
* @enum {string}
|
|
141
|
-
*/
|
|
142
|
-
var PartDataRelationshipsPartRevisionsTypeEnum;
|
|
143
|
-
(function (PartDataRelationshipsPartRevisionsTypeEnum) {
|
|
144
|
-
PartDataRelationshipsPartRevisionsTypeEnum["PartRevision"] = "part-revision";
|
|
145
|
-
})(PartDataRelationshipsPartRevisionsTypeEnum = exports.PartDataRelationshipsPartRevisionsTypeEnum || (exports.PartDataRelationshipsPartRevisionsTypeEnum = {}));
|
|
146
|
-
/**
|
|
147
|
-
* @export
|
|
148
|
-
* @enum {string}
|
|
149
|
-
*/
|
|
150
|
-
var PartRelationshipDataTypeEnum;
|
|
151
|
-
(function (PartRelationshipDataTypeEnum) {
|
|
152
|
-
PartRelationshipDataTypeEnum["Part"] = "part";
|
|
153
|
-
})(PartRelationshipDataTypeEnum = exports.PartRelationshipDataTypeEnum || (exports.PartRelationshipDataTypeEnum = {}));
|
|
37
|
+
exports.BatchOperationOpEnum = {
|
|
38
|
+
Add: 'add',
|
|
39
|
+
};
|
|
40
|
+
exports.BatchOperationRefTypeEnum = {
|
|
41
|
+
Scene: 'scene',
|
|
42
|
+
};
|
|
43
|
+
exports.CameraFitTypeEnum = {
|
|
44
|
+
FitVisibleSceneItems: 'fit-visible-scene-items',
|
|
45
|
+
Reset: 'reset',
|
|
46
|
+
};
|
|
47
|
+
exports.ChangeMaterialOperationTypeEnum = {
|
|
48
|
+
ChangeMaterial: 'change-material',
|
|
49
|
+
};
|
|
50
|
+
exports.ChangeTransformOperationTypeEnum = {
|
|
51
|
+
ChangeTransform: 'change-transform',
|
|
52
|
+
};
|
|
53
|
+
exports.ChangeVisibilityOperationTypeEnum = {
|
|
54
|
+
ChangeVisibility: 'change-visibility',
|
|
55
|
+
};
|
|
56
|
+
exports.ClearMaterialOperationTypeEnum = {
|
|
57
|
+
ClearMaterial: 'clear-material',
|
|
58
|
+
};
|
|
59
|
+
exports.ClearTransformOperationTypeEnum = {
|
|
60
|
+
ClearTransform: 'clear-transform',
|
|
61
|
+
};
|
|
62
|
+
exports.DeselectOperationTypeEnum = {
|
|
63
|
+
Deselect: 'deselect',
|
|
64
|
+
};
|
|
65
|
+
exports.ExportRelationshipDataTypeEnum = {
|
|
66
|
+
Scene: 'scene',
|
|
67
|
+
};
|
|
68
|
+
exports.FileRelationshipDataTypeEnum = {
|
|
69
|
+
File: 'file',
|
|
70
|
+
};
|
|
71
|
+
exports.GeometrySetRelationshipDataTypeEnum = {
|
|
72
|
+
GeometrySet: 'geometry-set',
|
|
73
|
+
};
|
|
74
|
+
exports.MetadataValueTypeEnum = {
|
|
75
|
+
String: 'string',
|
|
76
|
+
Long: 'long',
|
|
77
|
+
Float: 'float',
|
|
78
|
+
Date: 'date',
|
|
79
|
+
Null: 'null',
|
|
80
|
+
};
|
|
81
|
+
exports.PartDataRelationshipsPartRevisionsTypeEnum = {
|
|
82
|
+
PartRevision: 'part-revision',
|
|
83
|
+
};
|
|
84
|
+
exports.PartRelationshipDataTypeEnum = {
|
|
85
|
+
Part: 'part',
|
|
86
|
+
};
|
|
154
87
|
/**
|
|
155
88
|
* Resource object type.
|
|
156
89
|
* @export
|
|
157
90
|
* @enum {string}
|
|
158
91
|
*/
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
(function (SceneRelationshipDataTypeEnum) {
|
|
211
|
-
SceneRelationshipDataTypeEnum["Scene"] = "scene";
|
|
212
|
-
})(SceneRelationshipDataTypeEnum = exports.SceneRelationshipDataTypeEnum || (exports.SceneRelationshipDataTypeEnum = {}));
|
|
213
|
-
/**
|
|
214
|
-
* @export
|
|
215
|
-
* @enum {string}
|
|
216
|
-
*/
|
|
217
|
-
var SceneViewRelationshipDataTypeEnum;
|
|
218
|
-
(function (SceneViewRelationshipDataTypeEnum) {
|
|
219
|
-
SceneViewRelationshipDataTypeEnum["SceneView"] = "scene-view";
|
|
220
|
-
})(SceneViewRelationshipDataTypeEnum = exports.SceneViewRelationshipDataTypeEnum || (exports.SceneViewRelationshipDataTypeEnum = {}));
|
|
221
|
-
/**
|
|
222
|
-
* @export
|
|
223
|
-
* @enum {string}
|
|
224
|
-
*/
|
|
225
|
-
var SceneViewStateRelationshipDataTypeEnum;
|
|
226
|
-
(function (SceneViewStateRelationshipDataTypeEnum) {
|
|
227
|
-
SceneViewStateRelationshipDataTypeEnum["SceneViewState"] = "scene-view-state";
|
|
228
|
-
})(SceneViewStateRelationshipDataTypeEnum = exports.SceneViewStateRelationshipDataTypeEnum || (exports.SceneViewStateRelationshipDataTypeEnum = {}));
|
|
229
|
-
/**
|
|
230
|
-
* @export
|
|
231
|
-
* @enum {string}
|
|
232
|
-
*/
|
|
233
|
-
var SelectOperationTypeEnum;
|
|
234
|
-
(function (SelectOperationTypeEnum) {
|
|
235
|
-
SelectOperationTypeEnum["Select"] = "select";
|
|
236
|
-
})(SelectOperationTypeEnum = exports.SelectOperationTypeEnum || (exports.SelectOperationTypeEnum = {}));
|
|
237
|
-
/**
|
|
238
|
-
* @export
|
|
239
|
-
* @enum {string}
|
|
240
|
-
*/
|
|
241
|
-
var UpdateAccountRequestDataAttributesStatusEnum;
|
|
242
|
-
(function (UpdateAccountRequestDataAttributesStatusEnum) {
|
|
243
|
-
UpdateAccountRequestDataAttributesStatusEnum["Active"] = "active";
|
|
244
|
-
UpdateAccountRequestDataAttributesStatusEnum["Disabled"] = "disabled";
|
|
245
|
-
})(UpdateAccountRequestDataAttributesStatusEnum = exports.UpdateAccountRequestDataAttributesStatusEnum || (exports.UpdateAccountRequestDataAttributesStatusEnum = {}));
|
|
246
|
-
/**
|
|
247
|
-
* @export
|
|
248
|
-
* @enum {string}
|
|
249
|
-
*/
|
|
250
|
-
var UpdateSceneRequestDataAttributesStateEnum;
|
|
251
|
-
(function (UpdateSceneRequestDataAttributesStateEnum) {
|
|
252
|
-
UpdateSceneRequestDataAttributesStateEnum["Draft"] = "draft";
|
|
253
|
-
UpdateSceneRequestDataAttributesStateEnum["Commit"] = "commit";
|
|
254
|
-
})(UpdateSceneRequestDataAttributesStateEnum = exports.UpdateSceneRequestDataAttributesStateEnum || (exports.UpdateSceneRequestDataAttributesStateEnum = {}));
|
|
255
|
-
/**
|
|
256
|
-
* @export
|
|
257
|
-
* @enum {string}
|
|
258
|
-
*/
|
|
259
|
-
var UpdateWebhookSubscriptionRequestDataAttributesStatusEnum;
|
|
260
|
-
(function (UpdateWebhookSubscriptionRequestDataAttributesStatusEnum) {
|
|
261
|
-
UpdateWebhookSubscriptionRequestDataAttributesStatusEnum["Active"] = "active";
|
|
262
|
-
UpdateWebhookSubscriptionRequestDataAttributesStatusEnum["Paused"] = "paused";
|
|
263
|
-
})(UpdateWebhookSubscriptionRequestDataAttributesStatusEnum = exports.UpdateWebhookSubscriptionRequestDataAttributesStatusEnum || (exports.UpdateWebhookSubscriptionRequestDataAttributesStatusEnum = {}));
|
|
264
|
-
/**
|
|
265
|
-
* @export
|
|
266
|
-
* @enum {string}
|
|
267
|
-
*/
|
|
268
|
-
var WebhookEventDataRelationshipsOwnerDataTypeEnum;
|
|
269
|
-
(function (WebhookEventDataRelationshipsOwnerDataTypeEnum) {
|
|
270
|
-
WebhookEventDataRelationshipsOwnerDataTypeEnum["Account"] = "account";
|
|
271
|
-
})(WebhookEventDataRelationshipsOwnerDataTypeEnum = exports.WebhookEventDataRelationshipsOwnerDataTypeEnum || (exports.WebhookEventDataRelationshipsOwnerDataTypeEnum = {}));
|
|
272
|
-
/**
|
|
273
|
-
* @export
|
|
274
|
-
* @enum {string}
|
|
275
|
-
*/
|
|
276
|
-
var WebhookSubscriptionDataAttributesStatusEnum;
|
|
277
|
-
(function (WebhookSubscriptionDataAttributesStatusEnum) {
|
|
278
|
-
WebhookSubscriptionDataAttributesStatusEnum["Active"] = "active";
|
|
279
|
-
WebhookSubscriptionDataAttributesStatusEnum["Paused"] = "paused";
|
|
280
|
-
})(WebhookSubscriptionDataAttributesStatusEnum = exports.WebhookSubscriptionDataAttributesStatusEnum || (exports.WebhookSubscriptionDataAttributesStatusEnum = {}));
|
|
92
|
+
exports.QueryAll = {
|
|
93
|
+
All: 'all',
|
|
94
|
+
};
|
|
95
|
+
exports.QueryByCollectionDataTypeEnum = {
|
|
96
|
+
QueryByCollection: 'query-by-collection',
|
|
97
|
+
};
|
|
98
|
+
exports.QueryByCollectionDataAttributesTypeEnum = {
|
|
99
|
+
And: 'and',
|
|
100
|
+
Or: 'or',
|
|
101
|
+
};
|
|
102
|
+
exports.QueryByIdDataTypeEnum = {
|
|
103
|
+
QueryById: 'query-by-id',
|
|
104
|
+
};
|
|
105
|
+
exports.QueryByIdDataAttributesTypeEnum = {
|
|
106
|
+
Id: 'id',
|
|
107
|
+
SuppliedId: 'suppliedId',
|
|
108
|
+
};
|
|
109
|
+
exports.SceneItemRelationshipDataTypeEnum = {
|
|
110
|
+
SceneItem: 'scene-item',
|
|
111
|
+
};
|
|
112
|
+
exports.SceneRelationshipDataTypeEnum = {
|
|
113
|
+
Scene: 'scene',
|
|
114
|
+
};
|
|
115
|
+
exports.SceneViewRelationshipDataTypeEnum = {
|
|
116
|
+
SceneView: 'scene-view',
|
|
117
|
+
};
|
|
118
|
+
exports.SceneViewStateRelationshipDataTypeEnum = {
|
|
119
|
+
SceneViewState: 'scene-view-state',
|
|
120
|
+
};
|
|
121
|
+
exports.SelectOperationTypeEnum = {
|
|
122
|
+
Select: 'select',
|
|
123
|
+
};
|
|
124
|
+
exports.UpdateAccountRequestDataAttributesStatusEnum = {
|
|
125
|
+
Active: 'active',
|
|
126
|
+
Disabled: 'disabled',
|
|
127
|
+
};
|
|
128
|
+
exports.UpdateSceneRequestDataAttributesStateEnum = {
|
|
129
|
+
Draft: 'draft',
|
|
130
|
+
Commit: 'commit',
|
|
131
|
+
};
|
|
132
|
+
exports.UpdateWebhookSubscriptionRequestDataAttributesStatusEnum = {
|
|
133
|
+
Active: 'active',
|
|
134
|
+
Paused: 'paused',
|
|
135
|
+
};
|
|
136
|
+
exports.WebhookEventDataRelationshipsOwnerDataTypeEnum = {
|
|
137
|
+
Account: 'account',
|
|
138
|
+
};
|
|
139
|
+
exports.WebhookSubscriptionDataAttributesStatusEnum = {
|
|
140
|
+
Active: 'active',
|
|
141
|
+
Paused: 'paused',
|
|
142
|
+
};
|
|
281
143
|
/**
|
|
282
144
|
* AccountsApi - axios parameter creator
|
|
283
145
|
* @export
|
|
@@ -307,7 +169,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
307
169
|
// oauth required
|
|
308
170
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2Internal', ['accounts.*', 'accounts.write'], configuration);
|
|
309
171
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
310
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
172
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
311
173
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
312
174
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
313
175
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createAccountRequest, localVarRequestOptions, configuration);
|
|
@@ -342,7 +204,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
342
204
|
// oauth required
|
|
343
205
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2Internal', ['accounts.*', 'accounts.write'], configuration);
|
|
344
206
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
345
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
207
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
346
208
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
347
209
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
348
210
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminCreateApplicationRequest, localVarRequestOptions, configuration);
|
|
@@ -373,7 +235,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
373
235
|
// authentication OAuth2Internal required
|
|
374
236
|
// oauth required
|
|
375
237
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2Internal', ['accounts.*', 'accounts.write'], configuration);
|
|
376
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
238
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
377
239
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
378
240
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
379
241
|
return {
|
|
@@ -403,7 +265,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
403
265
|
// authentication OAuth2Internal required
|
|
404
266
|
// oauth required
|
|
405
267
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2Internal', ['accounts.*', 'accounts.read'], configuration);
|
|
406
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
268
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
407
269
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
408
270
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
409
271
|
return {
|
|
@@ -437,7 +299,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
437
299
|
// oauth required
|
|
438
300
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2Internal', ['accounts.*', 'accounts.write'], configuration);
|
|
439
301
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
440
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
302
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
441
303
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
442
304
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
443
305
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateAccountRequest, localVarRequestOptions, configuration);
|
|
@@ -686,7 +548,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
686
548
|
// oauth required
|
|
687
549
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
688
550
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
689
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
551
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
690
552
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
691
553
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
692
554
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createApplicationRequest, localVarRequestOptions, configuration);
|
|
@@ -717,7 +579,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
717
579
|
// authentication OAuth2 required
|
|
718
580
|
// oauth required
|
|
719
581
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
720
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
582
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
721
583
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
722
584
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
723
585
|
return {
|
|
@@ -747,7 +609,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
747
609
|
// authentication OAuth2 required
|
|
748
610
|
// oauth required
|
|
749
611
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
750
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
612
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
751
613
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
752
614
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
753
615
|
return {
|
|
@@ -782,7 +644,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
782
644
|
if (pageSize !== undefined) {
|
|
783
645
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
784
646
|
}
|
|
785
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
647
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
786
648
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
787
649
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
788
650
|
return {
|
|
@@ -816,7 +678,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
816
678
|
// oauth required
|
|
817
679
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
818
680
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
819
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
681
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
820
682
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
821
683
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
822
684
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateApplicationRequest, localVarRequestOptions, configuration);
|
|
@@ -1065,7 +927,7 @@ const BatchesApiAxiosParamCreator = function (configuration) {
|
|
|
1065
927
|
// oauth required
|
|
1066
928
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1067
929
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
1068
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
930
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1069
931
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1070
932
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1071
933
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createBatchRequest, localVarRequestOptions, configuration);
|
|
@@ -1096,7 +958,7 @@ const BatchesApiAxiosParamCreator = function (configuration) {
|
|
|
1096
958
|
// authentication OAuth2 required
|
|
1097
959
|
// oauth required
|
|
1098
960
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1099
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
961
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1100
962
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1101
963
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1102
964
|
return {
|
|
@@ -1126,7 +988,7 @@ const BatchesApiAxiosParamCreator = function (configuration) {
|
|
|
1126
988
|
// authentication OAuth2 required
|
|
1127
989
|
// oauth required
|
|
1128
990
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1129
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
991
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1130
992
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1131
993
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1132
994
|
return {
|
|
@@ -1271,6 +1133,241 @@ class BatchesApi extends base_1.BaseAPI {
|
|
|
1271
1133
|
}
|
|
1272
1134
|
}
|
|
1273
1135
|
exports.BatchesApi = BatchesApi;
|
|
1136
|
+
/**
|
|
1137
|
+
* ExportsApi - axios parameter creator
|
|
1138
|
+
* @export
|
|
1139
|
+
*/
|
|
1140
|
+
const ExportsApiAxiosParamCreator = function (configuration) {
|
|
1141
|
+
return {
|
|
1142
|
+
/**
|
|
1143
|
+
* Create an `export`. This API is asynchronous, returning the location of a `queued-export`. Check the status via the getQueuedExport API.
|
|
1144
|
+
* @param {CreateExportRequest} createExportRequest
|
|
1145
|
+
* @param {*} [options] Override http request option.
|
|
1146
|
+
* @throws {RequiredError}
|
|
1147
|
+
*/
|
|
1148
|
+
createExport: (createExportRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1149
|
+
// verify required parameter 'createExportRequest' is not null or undefined
|
|
1150
|
+
(0, common_1.assertParamExists)('createExport', 'createExportRequest', createExportRequest);
|
|
1151
|
+
const localVarPath = `/exports`;
|
|
1152
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1153
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1154
|
+
let baseOptions;
|
|
1155
|
+
if (configuration) {
|
|
1156
|
+
baseOptions = configuration.baseOptions;
|
|
1157
|
+
}
|
|
1158
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1159
|
+
const localVarHeaderParameter = {};
|
|
1160
|
+
const localVarQueryParameter = {};
|
|
1161
|
+
// authentication OAuth2 required
|
|
1162
|
+
// oauth required
|
|
1163
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1164
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
1165
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1166
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1167
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1168
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createExportRequest, localVarRequestOptions, configuration);
|
|
1169
|
+
return {
|
|
1170
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1171
|
+
options: localVarRequestOptions,
|
|
1172
|
+
};
|
|
1173
|
+
}),
|
|
1174
|
+
/**
|
|
1175
|
+
* Get an `export` by ID.
|
|
1176
|
+
* @param {string} id The `export` ID.
|
|
1177
|
+
* @param {*} [options] Override http request option.
|
|
1178
|
+
* @throws {RequiredError}
|
|
1179
|
+
*/
|
|
1180
|
+
getExport: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1181
|
+
// verify required parameter 'id' is not null or undefined
|
|
1182
|
+
(0, common_1.assertParamExists)('getExport', 'id', id);
|
|
1183
|
+
const localVarPath = `/exports/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
1184
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1185
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1186
|
+
let baseOptions;
|
|
1187
|
+
if (configuration) {
|
|
1188
|
+
baseOptions = configuration.baseOptions;
|
|
1189
|
+
}
|
|
1190
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1191
|
+
const localVarHeaderParameter = {};
|
|
1192
|
+
const localVarQueryParameter = {};
|
|
1193
|
+
// authentication OAuth2 required
|
|
1194
|
+
// oauth required
|
|
1195
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1196
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1198
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1199
|
+
return {
|
|
1200
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1201
|
+
options: localVarRequestOptions,
|
|
1202
|
+
};
|
|
1203
|
+
}),
|
|
1204
|
+
/**
|
|
1205
|
+
* Get a `queued-export`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `export`.
|
|
1206
|
+
* @param {string} id The `queued-export` ID.
|
|
1207
|
+
* @param {*} [options] Override http request option.
|
|
1208
|
+
* @throws {RequiredError}
|
|
1209
|
+
*/
|
|
1210
|
+
getQueuedExport: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1211
|
+
// verify required parameter 'id' is not null or undefined
|
|
1212
|
+
(0, common_1.assertParamExists)('getQueuedExport', 'id', id);
|
|
1213
|
+
const localVarPath = `/queued-exports/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
1214
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1215
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1216
|
+
let baseOptions;
|
|
1217
|
+
if (configuration) {
|
|
1218
|
+
baseOptions = configuration.baseOptions;
|
|
1219
|
+
}
|
|
1220
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1221
|
+
const localVarHeaderParameter = {};
|
|
1222
|
+
const localVarQueryParameter = {};
|
|
1223
|
+
// authentication OAuth2 required
|
|
1224
|
+
// oauth required
|
|
1225
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1226
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1227
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1228
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1229
|
+
return {
|
|
1230
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1231
|
+
options: localVarRequestOptions,
|
|
1232
|
+
};
|
|
1233
|
+
}),
|
|
1234
|
+
};
|
|
1235
|
+
};
|
|
1236
|
+
exports.ExportsApiAxiosParamCreator = ExportsApiAxiosParamCreator;
|
|
1237
|
+
/**
|
|
1238
|
+
* ExportsApi - functional programming interface
|
|
1239
|
+
* @export
|
|
1240
|
+
*/
|
|
1241
|
+
const ExportsApiFp = function (configuration) {
|
|
1242
|
+
const localVarAxiosParamCreator = (0, exports.ExportsApiAxiosParamCreator)(configuration);
|
|
1243
|
+
return {
|
|
1244
|
+
/**
|
|
1245
|
+
* Create an `export`. This API is asynchronous, returning the location of a `queued-export`. Check the status via the getQueuedExport API.
|
|
1246
|
+
* @param {CreateExportRequest} createExportRequest
|
|
1247
|
+
* @param {*} [options] Override http request option.
|
|
1248
|
+
* @throws {RequiredError}
|
|
1249
|
+
*/
|
|
1250
|
+
createExport(createExportRequest, options) {
|
|
1251
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1252
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createExport(createExportRequest, options);
|
|
1253
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1254
|
+
});
|
|
1255
|
+
},
|
|
1256
|
+
/**
|
|
1257
|
+
* Get an `export` by ID.
|
|
1258
|
+
* @param {string} id The `export` ID.
|
|
1259
|
+
* @param {*} [options] Override http request option.
|
|
1260
|
+
* @throws {RequiredError}
|
|
1261
|
+
*/
|
|
1262
|
+
getExport(id, options) {
|
|
1263
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1264
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getExport(id, options);
|
|
1265
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1266
|
+
});
|
|
1267
|
+
},
|
|
1268
|
+
/**
|
|
1269
|
+
* Get a `queued-export`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `export`.
|
|
1270
|
+
* @param {string} id The `queued-export` ID.
|
|
1271
|
+
* @param {*} [options] Override http request option.
|
|
1272
|
+
* @throws {RequiredError}
|
|
1273
|
+
*/
|
|
1274
|
+
getQueuedExport(id, options) {
|
|
1275
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1276
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQueuedExport(id, options);
|
|
1277
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1278
|
+
});
|
|
1279
|
+
},
|
|
1280
|
+
};
|
|
1281
|
+
};
|
|
1282
|
+
exports.ExportsApiFp = ExportsApiFp;
|
|
1283
|
+
/**
|
|
1284
|
+
* ExportsApi - factory interface
|
|
1285
|
+
* @export
|
|
1286
|
+
*/
|
|
1287
|
+
const ExportsApiFactory = function (configuration, basePath, axios) {
|
|
1288
|
+
const localVarFp = (0, exports.ExportsApiFp)(configuration);
|
|
1289
|
+
return {
|
|
1290
|
+
/**
|
|
1291
|
+
* Create an `export`. This API is asynchronous, returning the location of a `queued-export`. Check the status via the getQueuedExport API.
|
|
1292
|
+
* @param {CreateExportRequest} createExportRequest
|
|
1293
|
+
* @param {*} [options] Override http request option.
|
|
1294
|
+
* @throws {RequiredError}
|
|
1295
|
+
*/
|
|
1296
|
+
createExport(createExportRequest, options) {
|
|
1297
|
+
return localVarFp
|
|
1298
|
+
.createExport(createExportRequest, options)
|
|
1299
|
+
.then((request) => request(axios, basePath));
|
|
1300
|
+
},
|
|
1301
|
+
/**
|
|
1302
|
+
* Get an `export` by ID.
|
|
1303
|
+
* @param {string} id The `export` ID.
|
|
1304
|
+
* @param {*} [options] Override http request option.
|
|
1305
|
+
* @throws {RequiredError}
|
|
1306
|
+
*/
|
|
1307
|
+
getExport(id, options) {
|
|
1308
|
+
return localVarFp
|
|
1309
|
+
.getExport(id, options)
|
|
1310
|
+
.then((request) => request(axios, basePath));
|
|
1311
|
+
},
|
|
1312
|
+
/**
|
|
1313
|
+
* Get a `queued-export`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `export`.
|
|
1314
|
+
* @param {string} id The `queued-export` ID.
|
|
1315
|
+
* @param {*} [options] Override http request option.
|
|
1316
|
+
* @throws {RequiredError}
|
|
1317
|
+
*/
|
|
1318
|
+
getQueuedExport(id, options) {
|
|
1319
|
+
return localVarFp
|
|
1320
|
+
.getQueuedExport(id, options)
|
|
1321
|
+
.then((request) => request(axios, basePath));
|
|
1322
|
+
},
|
|
1323
|
+
};
|
|
1324
|
+
};
|
|
1325
|
+
exports.ExportsApiFactory = ExportsApiFactory;
|
|
1326
|
+
/**
|
|
1327
|
+
* ExportsApi - object-oriented interface
|
|
1328
|
+
* @export
|
|
1329
|
+
* @class ExportsApi
|
|
1330
|
+
* @extends {BaseAPI}
|
|
1331
|
+
*/
|
|
1332
|
+
class ExportsApi extends base_1.BaseAPI {
|
|
1333
|
+
/**
|
|
1334
|
+
* Create an `export`. This API is asynchronous, returning the location of a `queued-export`. Check the status via the getQueuedExport API.
|
|
1335
|
+
* @param {ExportsApiCreateExportRequest} requestParameters Request parameters.
|
|
1336
|
+
* @param {*} [options] Override http request option.
|
|
1337
|
+
* @throws {RequiredError}
|
|
1338
|
+
* @memberof ExportsApi
|
|
1339
|
+
*/
|
|
1340
|
+
createExport(requestParameters, options) {
|
|
1341
|
+
return (0, exports.ExportsApiFp)(this.configuration)
|
|
1342
|
+
.createExport(requestParameters.createExportRequest, options)
|
|
1343
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1344
|
+
}
|
|
1345
|
+
/**
|
|
1346
|
+
* Get an `export` by ID.
|
|
1347
|
+
* @param {ExportsApiGetExportRequest} requestParameters Request parameters.
|
|
1348
|
+
* @param {*} [options] Override http request option.
|
|
1349
|
+
* @throws {RequiredError}
|
|
1350
|
+
* @memberof ExportsApi
|
|
1351
|
+
*/
|
|
1352
|
+
getExport(requestParameters, options) {
|
|
1353
|
+
return (0, exports.ExportsApiFp)(this.configuration)
|
|
1354
|
+
.getExport(requestParameters.id, options)
|
|
1355
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1356
|
+
}
|
|
1357
|
+
/**
|
|
1358
|
+
* Get a `queued-export`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `export`.
|
|
1359
|
+
* @param {ExportsApiGetQueuedExportRequest} requestParameters Request parameters.
|
|
1360
|
+
* @param {*} [options] Override http request option.
|
|
1361
|
+
* @throws {RequiredError}
|
|
1362
|
+
* @memberof ExportsApi
|
|
1363
|
+
*/
|
|
1364
|
+
getQueuedExport(requestParameters, options) {
|
|
1365
|
+
return (0, exports.ExportsApiFp)(this.configuration)
|
|
1366
|
+
.getQueuedExport(requestParameters.id, options)
|
|
1367
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
exports.ExportsApi = ExportsApi;
|
|
1274
1371
|
/**
|
|
1275
1372
|
* FilesApi - axios parameter creator
|
|
1276
1373
|
* @export
|
|
@@ -1300,7 +1397,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1300
1397
|
// oauth required
|
|
1301
1398
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1302
1399
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
1303
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
1400
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1304
1401
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1305
1402
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1306
1403
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createFileRequest, localVarRequestOptions, configuration);
|
|
@@ -1331,7 +1428,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1331
1428
|
// authentication OAuth2 required
|
|
1332
1429
|
// oauth required
|
|
1333
1430
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1334
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
1431
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1335
1432
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1336
1433
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1337
1434
|
return {
|
|
@@ -1361,7 +1458,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1361
1458
|
// authentication OAuth2 required
|
|
1362
1459
|
// oauth required
|
|
1363
1460
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1364
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
1461
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1365
1462
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1366
1463
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1367
1464
|
return {
|
|
@@ -1400,7 +1497,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1400
1497
|
if (filterSuppliedId !== undefined) {
|
|
1401
1498
|
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
1402
1499
|
}
|
|
1403
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
1500
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1404
1501
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1405
1502
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1406
1503
|
return {
|
|
@@ -1434,7 +1531,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1434
1531
|
// oauth required
|
|
1435
1532
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1436
1533
|
localVarHeaderParameter['Content-Type'] = 'application/octet-stream';
|
|
1437
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
1534
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1438
1535
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1439
1536
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1440
1537
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
@@ -1685,7 +1782,7 @@ const GeometrySetsApiAxiosParamCreator = function (configuration) {
|
|
|
1685
1782
|
// oauth required
|
|
1686
1783
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1687
1784
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
1688
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
1785
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1689
1786
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1690
1787
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1691
1788
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createGeometrySetRequest, localVarRequestOptions, configuration);
|
|
@@ -1716,7 +1813,7 @@ const GeometrySetsApiAxiosParamCreator = function (configuration) {
|
|
|
1716
1813
|
// authentication OAuth2 required
|
|
1717
1814
|
// oauth required
|
|
1718
1815
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1719
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
1816
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1720
1817
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1721
1818
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1722
1819
|
return {
|
|
@@ -1751,7 +1848,7 @@ const GeometrySetsApiAxiosParamCreator = function (configuration) {
|
|
|
1751
1848
|
if (pageSize !== undefined) {
|
|
1752
1849
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
1753
1850
|
}
|
|
1754
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
1851
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1755
1852
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1756
1853
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1757
1854
|
return {
|
|
@@ -1938,7 +2035,7 @@ const HitsApiAxiosParamCreator = function (configuration) {
|
|
|
1938
2035
|
localVarQueryParameter['fields[part-revision]'] = fieldsPartRevision;
|
|
1939
2036
|
}
|
|
1940
2037
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
1941
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
2038
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1942
2039
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1943
2040
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1944
2041
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createHitRequest, localVarRequestOptions, configuration);
|
|
@@ -1981,7 +2078,7 @@ const HitsApiAxiosParamCreator = function (configuration) {
|
|
|
1981
2078
|
localVarQueryParameter['fields[part-revision]'] = fieldsPartRevision;
|
|
1982
2079
|
}
|
|
1983
2080
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
1984
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
2081
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1985
2082
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1986
2083
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1987
2084
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createHitRequest, localVarRequestOptions, configuration);
|
|
@@ -2137,7 +2234,7 @@ const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2137
2234
|
localVarQueryParameter['challenge'] = challenge;
|
|
2138
2235
|
}
|
|
2139
2236
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2140
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
2237
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2141
2238
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2142
2239
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2143
2240
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminConsentAcceptRequest, localVarRequestOptions, configuration);
|
|
@@ -2175,7 +2272,7 @@ const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2175
2272
|
localVarQueryParameter['login_challenge'] = loginChallenge;
|
|
2176
2273
|
}
|
|
2177
2274
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2178
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
2275
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2179
2276
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2180
2277
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2181
2278
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminLoginAcceptRequest, localVarRequestOptions, configuration);
|
|
@@ -2228,7 +2325,7 @@ const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2228
2325
|
}
|
|
2229
2326
|
localVarHeaderParameter['Content-Type'] =
|
|
2230
2327
|
'application/x-www-form-urlencoded';
|
|
2231
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
2328
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2232
2329
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2233
2330
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2234
2331
|
localVarRequestOptions.data = localVarFormParams.toString();
|
|
@@ -2260,7 +2357,7 @@ const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
2260
2357
|
// http basic authentication required
|
|
2261
2358
|
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
2262
2359
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2263
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
2360
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2264
2361
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2265
2362
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2266
2363
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(revokeOAuth2TokenRequest, localVarRequestOptions, configuration);
|
|
@@ -2481,7 +2578,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2481
2578
|
// authentication OAuth2 required
|
|
2482
2579
|
// oauth required
|
|
2483
2580
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2484
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
2581
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2485
2582
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2486
2583
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2487
2584
|
return {
|
|
@@ -2515,7 +2612,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2515
2612
|
if (fieldsPartRevision !== undefined) {
|
|
2516
2613
|
localVarQueryParameter['fields[part-revision]'] = fieldsPartRevision;
|
|
2517
2614
|
}
|
|
2518
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
2615
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2519
2616
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2520
2617
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2521
2618
|
return {
|
|
@@ -2557,7 +2654,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2557
2654
|
if (filterSuppliedId !== undefined) {
|
|
2558
2655
|
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
2559
2656
|
}
|
|
2560
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
2657
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2561
2658
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2562
2659
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2563
2660
|
return {
|
|
@@ -2587,7 +2684,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2587
2684
|
// authentication OAuth2 required
|
|
2588
2685
|
// oauth required
|
|
2589
2686
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2590
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
2687
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2591
2688
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2592
2689
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2593
2690
|
return {
|
|
@@ -2603,10 +2700,17 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2603
2700
|
* @param {Vector3} [cameraPosition] The `camera` position vector.
|
|
2604
2701
|
* @param {Vector3} [cameraUp] The `camera` up vector.
|
|
2605
2702
|
* @param {Vector3} [cameraLookAt] The `camera` lookAt vector.
|
|
2703
|
+
* @param {Vector3} [cameraPerspectivePosition] The perspective camera position.
|
|
2704
|
+
* @param {Vector3} [cameraPerspectiveLookAt] The perspective camera look at position.
|
|
2705
|
+
* @param {Vector3} [cameraPerspectiveUp] The perspective camera up vector.
|
|
2706
|
+
* @param {Vector3} [cameraOrthographicViewVector] The orthographic camera view vector.
|
|
2707
|
+
* @param {Vector3} [cameraOrthographicLookAt] The orthographic camera look at position.
|
|
2708
|
+
* @param {Vector3} [cameraOrthographicUp] The orthographic camera up vector.
|
|
2709
|
+
* @param {number} [cameraOrthographicFovHeight] The orthographic field-of-view height.
|
|
2606
2710
|
* @param {*} [options] Override http request option.
|
|
2607
2711
|
* @throws {RequiredError}
|
|
2608
2712
|
*/
|
|
2609
|
-
renderPartRevision: (id, height, width, cameraPosition, cameraUp, cameraLookAt, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2713
|
+
renderPartRevision: (id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2610
2714
|
// verify required parameter 'id' is not null or undefined
|
|
2611
2715
|
(0, common_1.assertParamExists)('renderPartRevision', 'id', id);
|
|
2612
2716
|
const localVarPath = `/part-revisions/{id}/image`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -2637,7 +2741,34 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2637
2741
|
if (cameraLookAt !== undefined) {
|
|
2638
2742
|
localVarQueryParameter['camera[lookAt]'] = cameraLookAt;
|
|
2639
2743
|
}
|
|
2640
|
-
|
|
2744
|
+
if (cameraPerspectivePosition !== undefined) {
|
|
2745
|
+
localVarQueryParameter['camera[perspective][position]'] =
|
|
2746
|
+
cameraPerspectivePosition;
|
|
2747
|
+
}
|
|
2748
|
+
if (cameraPerspectiveLookAt !== undefined) {
|
|
2749
|
+
localVarQueryParameter['camera[perspective][lookAt]'] =
|
|
2750
|
+
cameraPerspectiveLookAt;
|
|
2751
|
+
}
|
|
2752
|
+
if (cameraPerspectiveUp !== undefined) {
|
|
2753
|
+
localVarQueryParameter['camera[perspective][up]'] = cameraPerspectiveUp;
|
|
2754
|
+
}
|
|
2755
|
+
if (cameraOrthographicViewVector !== undefined) {
|
|
2756
|
+
localVarQueryParameter['camera[orthographic][viewVector]'] =
|
|
2757
|
+
cameraOrthographicViewVector;
|
|
2758
|
+
}
|
|
2759
|
+
if (cameraOrthographicLookAt !== undefined) {
|
|
2760
|
+
localVarQueryParameter['camera[orthographic][lookAt]'] =
|
|
2761
|
+
cameraOrthographicLookAt;
|
|
2762
|
+
}
|
|
2763
|
+
if (cameraOrthographicUp !== undefined) {
|
|
2764
|
+
localVarQueryParameter['camera[orthographic][up]'] =
|
|
2765
|
+
cameraOrthographicUp;
|
|
2766
|
+
}
|
|
2767
|
+
if (cameraOrthographicFovHeight !== undefined) {
|
|
2768
|
+
localVarQueryParameter['camera[orthographic][fovHeight]'] =
|
|
2769
|
+
cameraOrthographicFovHeight;
|
|
2770
|
+
}
|
|
2771
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2641
2772
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2642
2773
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2643
2774
|
return {
|
|
@@ -2671,7 +2802,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
|
|
|
2671
2802
|
// oauth required
|
|
2672
2803
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2673
2804
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2674
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
2805
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2675
2806
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2676
2807
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2677
2808
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updatePartRevisionRequest, localVarRequestOptions, configuration);
|
|
@@ -2750,12 +2881,19 @@ const PartRevisionsApiFp = function (configuration) {
|
|
|
2750
2881
|
* @param {Vector3} [cameraPosition] The `camera` position vector.
|
|
2751
2882
|
* @param {Vector3} [cameraUp] The `camera` up vector.
|
|
2752
2883
|
* @param {Vector3} [cameraLookAt] The `camera` lookAt vector.
|
|
2884
|
+
* @param {Vector3} [cameraPerspectivePosition] The perspective camera position.
|
|
2885
|
+
* @param {Vector3} [cameraPerspectiveLookAt] The perspective camera look at position.
|
|
2886
|
+
* @param {Vector3} [cameraPerspectiveUp] The perspective camera up vector.
|
|
2887
|
+
* @param {Vector3} [cameraOrthographicViewVector] The orthographic camera view vector.
|
|
2888
|
+
* @param {Vector3} [cameraOrthographicLookAt] The orthographic camera look at position.
|
|
2889
|
+
* @param {Vector3} [cameraOrthographicUp] The orthographic camera up vector.
|
|
2890
|
+
* @param {number} [cameraOrthographicFovHeight] The orthographic field-of-view height.
|
|
2753
2891
|
* @param {*} [options] Override http request option.
|
|
2754
2892
|
* @throws {RequiredError}
|
|
2755
2893
|
*/
|
|
2756
|
-
renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, options) {
|
|
2894
|
+
renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight, options) {
|
|
2757
2895
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2758
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, options);
|
|
2896
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight, options);
|
|
2759
2897
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2760
2898
|
});
|
|
2761
2899
|
},
|
|
@@ -2838,12 +2976,19 @@ const PartRevisionsApiFactory = function (configuration, basePath, axios) {
|
|
|
2838
2976
|
* @param {Vector3} [cameraPosition] The `camera` position vector.
|
|
2839
2977
|
* @param {Vector3} [cameraUp] The `camera` up vector.
|
|
2840
2978
|
* @param {Vector3} [cameraLookAt] The `camera` lookAt vector.
|
|
2979
|
+
* @param {Vector3} [cameraPerspectivePosition] The perspective camera position.
|
|
2980
|
+
* @param {Vector3} [cameraPerspectiveLookAt] The perspective camera look at position.
|
|
2981
|
+
* @param {Vector3} [cameraPerspectiveUp] The perspective camera up vector.
|
|
2982
|
+
* @param {Vector3} [cameraOrthographicViewVector] The orthographic camera view vector.
|
|
2983
|
+
* @param {Vector3} [cameraOrthographicLookAt] The orthographic camera look at position.
|
|
2984
|
+
* @param {Vector3} [cameraOrthographicUp] The orthographic camera up vector.
|
|
2985
|
+
* @param {number} [cameraOrthographicFovHeight] The orthographic field-of-view height.
|
|
2841
2986
|
* @param {*} [options] Override http request option.
|
|
2842
2987
|
* @throws {RequiredError}
|
|
2843
2988
|
*/
|
|
2844
|
-
renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, options) {
|
|
2989
|
+
renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight, options) {
|
|
2845
2990
|
return localVarFp
|
|
2846
|
-
.renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, options)
|
|
2991
|
+
.renderPartRevision(id, height, width, cameraPosition, cameraUp, cameraLookAt, cameraPerspectivePosition, cameraPerspectiveLookAt, cameraPerspectiveUp, cameraOrthographicViewVector, cameraOrthographicLookAt, cameraOrthographicUp, cameraOrthographicFovHeight, options)
|
|
2847
2992
|
.then((request) => request(axios, basePath));
|
|
2848
2993
|
},
|
|
2849
2994
|
/**
|
|
@@ -2925,7 +3070,7 @@ class PartRevisionsApi extends base_1.BaseAPI {
|
|
|
2925
3070
|
*/
|
|
2926
3071
|
renderPartRevision(requestParameters, options) {
|
|
2927
3072
|
return (0, exports.PartRevisionsApiFp)(this.configuration)
|
|
2928
|
-
.renderPartRevision(requestParameters.id, requestParameters.height, requestParameters.width, requestParameters.cameraPosition, requestParameters.cameraUp, requestParameters.cameraLookAt, options)
|
|
3073
|
+
.renderPartRevision(requestParameters.id, requestParameters.height, requestParameters.width, requestParameters.cameraPosition, requestParameters.cameraUp, requestParameters.cameraLookAt, requestParameters.cameraPerspectivePosition, requestParameters.cameraPerspectiveLookAt, requestParameters.cameraPerspectiveUp, requestParameters.cameraOrthographicViewVector, requestParameters.cameraOrthographicLookAt, requestParameters.cameraOrthographicUp, requestParameters.cameraOrthographicFovHeight, options)
|
|
2929
3074
|
.then((request) => request(this.axios, this.basePath));
|
|
2930
3075
|
}
|
|
2931
3076
|
/**
|
|
@@ -2971,7 +3116,7 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
2971
3116
|
// oauth required
|
|
2972
3117
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2973
3118
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
2974
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
3119
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2975
3120
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2976
3121
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2977
3122
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPartRequest, localVarRequestOptions, configuration);
|
|
@@ -3002,7 +3147,7 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3002
3147
|
// authentication OAuth2 required
|
|
3003
3148
|
// oauth required
|
|
3004
3149
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3005
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
3150
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3006
3151
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3007
3152
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3008
3153
|
return {
|
|
@@ -3036,7 +3181,7 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3036
3181
|
if (include !== undefined) {
|
|
3037
3182
|
localVarQueryParameter['include'] = include;
|
|
3038
3183
|
}
|
|
3039
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
3184
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3040
3185
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3041
3186
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3042
3187
|
return {
|
|
@@ -3075,7 +3220,7 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3075
3220
|
if (filterSuppliedId !== undefined) {
|
|
3076
3221
|
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
3077
3222
|
}
|
|
3078
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
3223
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3079
3224
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3080
3225
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3081
3226
|
return {
|
|
@@ -3105,7 +3250,7 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
3105
3250
|
// authentication OAuth2 required
|
|
3106
3251
|
// oauth required
|
|
3107
3252
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3108
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
3253
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3109
3254
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3110
3255
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3111
3256
|
return {
|
|
@@ -3358,7 +3503,7 @@ const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3358
3503
|
// oauth required
|
|
3359
3504
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3360
3505
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
3361
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
3506
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3362
3507
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3363
3508
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3364
3509
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSceneAlterationRequest, localVarRequestOptions, configuration);
|
|
@@ -3389,7 +3534,7 @@ const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3389
3534
|
// authentication OAuth2 required
|
|
3390
3535
|
// oauth required
|
|
3391
3536
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3392
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
3537
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3393
3538
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3394
3539
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3395
3540
|
return {
|
|
@@ -3419,7 +3564,7 @@ const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3419
3564
|
// authentication OAuth2 required
|
|
3420
3565
|
// oauth required
|
|
3421
3566
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3422
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
3567
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3423
3568
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3424
3569
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3425
3570
|
return {
|
|
@@ -3449,7 +3594,7 @@ const SceneAlterationsApiAxiosParamCreator = function (configuration) {
|
|
|
3449
3594
|
// authentication OAuth2 required
|
|
3450
3595
|
// oauth required
|
|
3451
3596
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3452
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
3597
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3453
3598
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3454
3599
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3455
3600
|
return {
|
|
@@ -3663,7 +3808,7 @@ const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3663
3808
|
// oauth required
|
|
3664
3809
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3665
3810
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
3666
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
3811
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3667
3812
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3668
3813
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3669
3814
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSceneItemOverrideRequest, localVarRequestOptions, configuration);
|
|
@@ -3694,7 +3839,7 @@ const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3694
3839
|
// authentication OAuth2 required
|
|
3695
3840
|
// oauth required
|
|
3696
3841
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3697
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
3842
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3698
3843
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3699
3844
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3700
3845
|
return {
|
|
@@ -3724,7 +3869,7 @@ const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3724
3869
|
// authentication OAuth2 required
|
|
3725
3870
|
// oauth required
|
|
3726
3871
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3727
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
3872
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3728
3873
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3729
3874
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3730
3875
|
return {
|
|
@@ -3758,7 +3903,7 @@ const SceneItemOverridesApiAxiosParamCreator = function (configuration) {
|
|
|
3758
3903
|
// oauth required
|
|
3759
3904
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3760
3905
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
3761
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
3906
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3762
3907
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3763
3908
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3764
3909
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSceneItemOverrideRequest, localVarRequestOptions, configuration);
|
|
@@ -3975,7 +4120,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
3975
4120
|
// oauth required
|
|
3976
4121
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
3977
4122
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
3978
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
4123
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3979
4124
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3980
4125
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3981
4126
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSceneItemRequest, localVarRequestOptions, configuration);
|
|
@@ -4006,7 +4151,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4006
4151
|
// authentication OAuth2 required
|
|
4007
4152
|
// oauth required
|
|
4008
4153
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4009
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
4154
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4010
4155
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4011
4156
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4012
4157
|
return {
|
|
@@ -4036,7 +4181,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4036
4181
|
// authentication OAuth2 required
|
|
4037
4182
|
// oauth required
|
|
4038
4183
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4039
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
4184
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4040
4185
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4041
4186
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4042
4187
|
return {
|
|
@@ -4066,7 +4211,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4066
4211
|
// authentication OAuth2 required
|
|
4067
4212
|
// oauth required
|
|
4068
4213
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4069
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
4214
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4070
4215
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4071
4216
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4072
4217
|
return {
|
|
@@ -4100,7 +4245,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4100
4245
|
if (fieldsSceneItem !== undefined) {
|
|
4101
4246
|
localVarQueryParameter['fields[scene-item]'] = fieldsSceneItem;
|
|
4102
4247
|
}
|
|
4103
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
4248
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4104
4249
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4105
4250
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4106
4251
|
return {
|
|
@@ -4150,7 +4295,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4150
4295
|
if (filterParent !== undefined) {
|
|
4151
4296
|
localVarQueryParameter['filter[parent]'] = filterParent;
|
|
4152
4297
|
}
|
|
4153
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
4298
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4154
4299
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4155
4300
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4156
4301
|
return {
|
|
@@ -4184,7 +4329,7 @@ const SceneItemsApiAxiosParamCreator = function (configuration) {
|
|
|
4184
4329
|
// oauth required
|
|
4185
4330
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4186
4331
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4187
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
4332
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4188
4333
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4189
4334
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4190
4335
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSceneItemRequest, localVarRequestOptions, configuration);
|
|
@@ -4518,7 +4663,7 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4518
4663
|
// oauth required
|
|
4519
4664
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4520
4665
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4521
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
4666
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4522
4667
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4523
4668
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4524
4669
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSceneViewStateRequest, localVarRequestOptions, configuration);
|
|
@@ -4549,7 +4694,7 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4549
4694
|
// authentication OAuth2 required
|
|
4550
4695
|
// oauth required
|
|
4551
4696
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4552
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
4697
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4553
4698
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4554
4699
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4555
4700
|
return {
|
|
@@ -4584,7 +4729,7 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4584
4729
|
localVarQueryParameter['fields[scene-view-state]'] =
|
|
4585
4730
|
fieldsSceneViewState;
|
|
4586
4731
|
}
|
|
4587
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
4732
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4588
4733
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4589
4734
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4590
4735
|
return {
|
|
@@ -4598,10 +4743,11 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4598
4743
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
4599
4744
|
* @param {number} [pageSize] The number of items to return.
|
|
4600
4745
|
* @param {string} [fieldsSceneViewState] Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested.
|
|
4746
|
+
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
4601
4747
|
* @param {*} [options] Override http request option.
|
|
4602
4748
|
* @throws {RequiredError}
|
|
4603
4749
|
*/
|
|
4604
|
-
getSceneViewStates: (id, pageCursor, pageSize, fieldsSceneViewState, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4750
|
+
getSceneViewStates: (id, pageCursor, pageSize, fieldsSceneViewState, filterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4605
4751
|
// verify required parameter 'id' is not null or undefined
|
|
4606
4752
|
(0, common_1.assertParamExists)('getSceneViewStates', 'id', id);
|
|
4607
4753
|
const localVarPath = `/scenes/{id}/scene-view-states`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -4627,7 +4773,10 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4627
4773
|
localVarQueryParameter['fields[scene-view-state]'] =
|
|
4628
4774
|
fieldsSceneViewState;
|
|
4629
4775
|
}
|
|
4630
|
-
|
|
4776
|
+
if (filterId !== undefined) {
|
|
4777
|
+
localVarQueryParameter['filter[id]'] = filterId;
|
|
4778
|
+
}
|
|
4779
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4631
4780
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4632
4781
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4633
4782
|
return {
|
|
@@ -4661,7 +4810,7 @@ const SceneViewStatesApiAxiosParamCreator = function (configuration) {
|
|
|
4661
4810
|
// oauth required
|
|
4662
4811
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4663
4812
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4664
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
4813
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4665
4814
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4666
4815
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4667
4816
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSceneViewStateRequest, localVarRequestOptions, configuration);
|
|
@@ -4724,12 +4873,13 @@ const SceneViewStatesApiFp = function (configuration) {
|
|
|
4724
4873
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
4725
4874
|
* @param {number} [pageSize] The number of items to return.
|
|
4726
4875
|
* @param {string} [fieldsSceneViewState] Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested.
|
|
4876
|
+
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
4727
4877
|
* @param {*} [options] Override http request option.
|
|
4728
4878
|
* @throws {RequiredError}
|
|
4729
4879
|
*/
|
|
4730
|
-
getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, options) {
|
|
4880
|
+
getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, options) {
|
|
4731
4881
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4732
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, options);
|
|
4882
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, options);
|
|
4733
4883
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
4734
4884
|
});
|
|
4735
4885
|
},
|
|
@@ -4797,12 +4947,13 @@ const SceneViewStatesApiFactory = function (configuration, basePath, axios) {
|
|
|
4797
4947
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
4798
4948
|
* @param {number} [pageSize] The number of items to return.
|
|
4799
4949
|
* @param {string} [fieldsSceneViewState] Comma-separated list of fields to return in response. An empty value returns no fields. `thumbnails` is only returned if explicitly requested.
|
|
4950
|
+
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
4800
4951
|
* @param {*} [options] Override http request option.
|
|
4801
4952
|
* @throws {RequiredError}
|
|
4802
4953
|
*/
|
|
4803
|
-
getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, options) {
|
|
4954
|
+
getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, options) {
|
|
4804
4955
|
return localVarFp
|
|
4805
|
-
.getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, options)
|
|
4956
|
+
.getSceneViewStates(id, pageCursor, pageSize, fieldsSceneViewState, filterId, options)
|
|
4806
4957
|
.then((request) => request(axios, basePath));
|
|
4807
4958
|
},
|
|
4808
4959
|
/**
|
|
@@ -4872,7 +5023,7 @@ class SceneViewStatesApi extends base_1.BaseAPI {
|
|
|
4872
5023
|
*/
|
|
4873
5024
|
getSceneViewStates(requestParameters, options) {
|
|
4874
5025
|
return (0, exports.SceneViewStatesApiFp)(this.configuration)
|
|
4875
|
-
.getSceneViewStates(requestParameters.id, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.fieldsSceneViewState, options)
|
|
5026
|
+
.getSceneViewStates(requestParameters.id, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.fieldsSceneViewState, requestParameters.filterId, options)
|
|
4876
5027
|
.then((request) => request(this.axios, this.basePath));
|
|
4877
5028
|
}
|
|
4878
5029
|
/**
|
|
@@ -4921,7 +5072,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
4921
5072
|
// oauth required
|
|
4922
5073
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4923
5074
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4924
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
5075
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4925
5076
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4926
5077
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4927
5078
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSceneViewRequest, localVarRequestOptions, configuration);
|
|
@@ -4952,7 +5103,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
4952
5103
|
// authentication OAuth2 required
|
|
4953
5104
|
// oauth required
|
|
4954
5105
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4955
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
5106
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4956
5107
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4957
5108
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4958
5109
|
return {
|
|
@@ -4982,7 +5133,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
4982
5133
|
// authentication OAuth2 required
|
|
4983
5134
|
// oauth required
|
|
4984
5135
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4985
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
5136
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4986
5137
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4987
5138
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4988
5139
|
return {
|
|
@@ -5020,7 +5171,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5020
5171
|
if (pageSize !== undefined) {
|
|
5021
5172
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
5022
5173
|
}
|
|
5023
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
5174
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5024
5175
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5025
5176
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5026
5177
|
return {
|
|
@@ -5063,7 +5214,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5063
5214
|
if (include !== undefined) {
|
|
5064
5215
|
localVarQueryParameter['include'] = include;
|
|
5065
5216
|
}
|
|
5066
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
5217
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5067
5218
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5068
5219
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5069
5220
|
return {
|
|
@@ -5101,7 +5252,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5101
5252
|
if (width !== undefined) {
|
|
5102
5253
|
localVarQueryParameter['width'] = width;
|
|
5103
5254
|
}
|
|
5104
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
5255
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5105
5256
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5106
5257
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5107
5258
|
return {
|
|
@@ -5135,7 +5286,7 @@ const SceneViewsApiAxiosParamCreator = function (configuration) {
|
|
|
5135
5286
|
// oauth required
|
|
5136
5287
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5137
5288
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5138
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
5289
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5139
5290
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5140
5291
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5141
5292
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSceneViewRequest, localVarRequestOptions, configuration);
|
|
@@ -5468,7 +5619,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5468
5619
|
// oauth required
|
|
5469
5620
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5470
5621
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5471
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
5622
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5472
5623
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5473
5624
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5474
5625
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSceneRequest, localVarRequestOptions, configuration);
|
|
@@ -5499,7 +5650,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5499
5650
|
// authentication OAuth2 required
|
|
5500
5651
|
// oauth required
|
|
5501
5652
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5502
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
5653
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5503
5654
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5504
5655
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5505
5656
|
return {
|
|
@@ -5529,7 +5680,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5529
5680
|
// authentication OAuth2 required
|
|
5530
5681
|
// oauth required
|
|
5531
5682
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5532
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
5683
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5533
5684
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5534
5685
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5535
5686
|
return {
|
|
@@ -5563,7 +5714,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5563
5714
|
if (fieldsScene !== undefined) {
|
|
5564
5715
|
localVarQueryParameter['fields[scene]'] = fieldsScene;
|
|
5565
5716
|
}
|
|
5566
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
5717
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5567
5718
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5568
5719
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5569
5720
|
return {
|
|
@@ -5575,11 +5726,12 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5575
5726
|
* Get `scenes`.
|
|
5576
5727
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
5577
5728
|
* @param {number} [pageSize] The number of items to return.
|
|
5729
|
+
* @param {string} [filterName] Comma-separated list of names to filter on.
|
|
5578
5730
|
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
5579
5731
|
* @param {*} [options] Override http request option.
|
|
5580
5732
|
* @throws {RequiredError}
|
|
5581
5733
|
*/
|
|
5582
|
-
getScenes: (pageCursor, pageSize, filterSuppliedId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5734
|
+
getScenes: (pageCursor, pageSize, filterName, filterSuppliedId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5583
5735
|
const localVarPath = `/scenes`;
|
|
5584
5736
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5585
5737
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5599,10 +5751,13 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5599
5751
|
if (pageSize !== undefined) {
|
|
5600
5752
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
5601
5753
|
}
|
|
5754
|
+
if (filterName !== undefined) {
|
|
5755
|
+
localVarQueryParameter['filter[name]'] = filterName;
|
|
5756
|
+
}
|
|
5602
5757
|
if (filterSuppliedId !== undefined) {
|
|
5603
5758
|
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
5604
5759
|
}
|
|
5605
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
5760
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5606
5761
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5607
5762
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5608
5763
|
return {
|
|
@@ -5640,7 +5795,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5640
5795
|
if (width !== undefined) {
|
|
5641
5796
|
localVarQueryParameter['width'] = width;
|
|
5642
5797
|
}
|
|
5643
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
5798
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5644
5799
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5645
5800
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5646
5801
|
return {
|
|
@@ -5674,7 +5829,7 @@ const ScenesApiAxiosParamCreator = function (configuration) {
|
|
|
5674
5829
|
// oauth required
|
|
5675
5830
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5676
5831
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5677
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
5832
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5678
5833
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5679
5834
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5680
5835
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSceneRequest, localVarRequestOptions, configuration);
|
|
@@ -5746,13 +5901,14 @@ const ScenesApiFp = function (configuration) {
|
|
|
5746
5901
|
* Get `scenes`.
|
|
5747
5902
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
5748
5903
|
* @param {number} [pageSize] The number of items to return.
|
|
5904
|
+
* @param {string} [filterName] Comma-separated list of names to filter on.
|
|
5749
5905
|
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
5750
5906
|
* @param {*} [options] Override http request option.
|
|
5751
5907
|
* @throws {RequiredError}
|
|
5752
5908
|
*/
|
|
5753
|
-
getScenes(pageCursor, pageSize, filterSuppliedId, options) {
|
|
5909
|
+
getScenes(pageCursor, pageSize, filterName, filterSuppliedId, options) {
|
|
5754
5910
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5755
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenes(pageCursor, pageSize, filterSuppliedId, options);
|
|
5911
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScenes(pageCursor, pageSize, filterName, filterSuppliedId, options);
|
|
5756
5912
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5757
5913
|
});
|
|
5758
5914
|
},
|
|
@@ -5842,13 +5998,14 @@ const ScenesApiFactory = function (configuration, basePath, axios) {
|
|
|
5842
5998
|
* Get `scenes`.
|
|
5843
5999
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
5844
6000
|
* @param {number} [pageSize] The number of items to return.
|
|
6001
|
+
* @param {string} [filterName] Comma-separated list of names to filter on.
|
|
5845
6002
|
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
5846
6003
|
* @param {*} [options] Override http request option.
|
|
5847
6004
|
* @throws {RequiredError}
|
|
5848
6005
|
*/
|
|
5849
|
-
getScenes(pageCursor, pageSize, filterSuppliedId, options) {
|
|
6006
|
+
getScenes(pageCursor, pageSize, filterName, filterSuppliedId, options) {
|
|
5850
6007
|
return localVarFp
|
|
5851
|
-
.getScenes(pageCursor, pageSize, filterSuppliedId, options)
|
|
6008
|
+
.getScenes(pageCursor, pageSize, filterName, filterSuppliedId, options)
|
|
5852
6009
|
.then((request) => request(axios, basePath));
|
|
5853
6010
|
},
|
|
5854
6011
|
/**
|
|
@@ -5943,7 +6100,7 @@ class ScenesApi extends base_1.BaseAPI {
|
|
|
5943
6100
|
*/
|
|
5944
6101
|
getScenes(requestParameters = {}, options) {
|
|
5945
6102
|
return (0, exports.ScenesApiFp)(this.configuration)
|
|
5946
|
-
.getScenes(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterSuppliedId, options)
|
|
6103
|
+
.getScenes(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterName, requestParameters.filterSuppliedId, options)
|
|
5947
6104
|
.then((request) => request(this.axios, this.basePath));
|
|
5948
6105
|
}
|
|
5949
6106
|
/**
|
|
@@ -6004,7 +6161,7 @@ const StreamKeysApiAxiosParamCreator = function (configuration) {
|
|
|
6004
6161
|
// oauth required
|
|
6005
6162
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6006
6163
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
6007
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
6164
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6008
6165
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6009
6166
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6010
6167
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createStreamKeyRequest, localVarRequestOptions, configuration);
|
|
@@ -6035,7 +6192,7 @@ const StreamKeysApiAxiosParamCreator = function (configuration) {
|
|
|
6035
6192
|
// authentication OAuth2 required
|
|
6036
6193
|
// oauth required
|
|
6037
6194
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6038
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
6195
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6039
6196
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6040
6197
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6041
6198
|
return {
|
|
@@ -6074,7 +6231,7 @@ const StreamKeysApiAxiosParamCreator = function (configuration) {
|
|
|
6074
6231
|
if (filterKey !== undefined) {
|
|
6075
6232
|
localVarQueryParameter['filter[key]'] = filterKey;
|
|
6076
6233
|
}
|
|
6077
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
6234
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6078
6235
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6079
6236
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6080
6237
|
return {
|
|
@@ -6254,7 +6411,7 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
|
|
|
6254
6411
|
// oauth required
|
|
6255
6412
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6256
6413
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
6257
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
6414
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6258
6415
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6259
6416
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6260
6417
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createTranslationInspectionRequest, localVarRequestOptions, configuration);
|
|
@@ -6285,7 +6442,7 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
|
|
|
6285
6442
|
// authentication OAuth2 required
|
|
6286
6443
|
// oauth required
|
|
6287
6444
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6288
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
6445
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6289
6446
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6290
6447
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6291
6448
|
return {
|
|
@@ -6315,7 +6472,7 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
|
|
|
6315
6472
|
// authentication OAuth2 required
|
|
6316
6473
|
// oauth required
|
|
6317
6474
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6318
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
6475
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6319
6476
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6320
6477
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6321
6478
|
return {
|
|
@@ -6354,7 +6511,7 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
|
|
|
6354
6511
|
if (filterStatus !== undefined) {
|
|
6355
6512
|
localVarQueryParameter['filter[status]'] = filterStatus;
|
|
6356
6513
|
}
|
|
6357
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
6514
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6358
6515
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6359
6516
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6360
6517
|
return {
|
|
@@ -6567,7 +6724,7 @@ const WebhookSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
6567
6724
|
// oauth required
|
|
6568
6725
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6569
6726
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
6570
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
6727
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6571
6728
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6572
6729
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6573
6730
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createWebhookSubscriptionRequest, localVarRequestOptions, configuration);
|
|
@@ -6598,7 +6755,7 @@ const WebhookSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
6598
6755
|
// authentication OAuth2 required
|
|
6599
6756
|
// oauth required
|
|
6600
6757
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6601
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
6758
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6602
6759
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6603
6760
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6604
6761
|
return {
|
|
@@ -6628,7 +6785,7 @@ const WebhookSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
6628
6785
|
// authentication OAuth2 required
|
|
6629
6786
|
// oauth required
|
|
6630
6787
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6631
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
6788
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6632
6789
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6633
6790
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6634
6791
|
return {
|
|
@@ -6663,7 +6820,7 @@ const WebhookSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
6663
6820
|
if (pageSize !== undefined) {
|
|
6664
6821
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
6665
6822
|
}
|
|
6666
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
6823
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6667
6824
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6668
6825
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6669
6826
|
return {
|
|
@@ -6697,7 +6854,7 @@ const WebhookSubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
6697
6854
|
// oauth required
|
|
6698
6855
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6699
6856
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
6700
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
6857
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6701
6858
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6702
6859
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6703
6860
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateWebhookSubscriptionRequest, localVarRequestOptions, configuration);
|