@vertexvis/api-client-node 0.26.0 → 0.30.2

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/esm/api.js CHANGED
@@ -60,6 +60,17 @@ export const ClearTransformOpTypeEnum = {
60
60
  export const CreateFileCollectionRequestDataTypeEnum = {
61
61
  FileCollection: 'file-collection',
62
62
  };
63
+ export const CreateFileJobRequestDataTypeEnum = {
64
+ FileJob: 'file-job',
65
+ };
66
+ export const CreateSceneItemRequestDataAttributesResolutionRuleEnum = {
67
+ AsSpecified: 'as-specified',
68
+ LatestIteration: 'latest-iteration',
69
+ LatestRevision: 'latest-revision',
70
+ };
71
+ export const CreateSearchSessionRequestDataTypeEnum = {
72
+ SearchSession: 'search-session',
73
+ };
63
74
  export const DeselectOperationTypeEnum = {
64
75
  Deselect: 'deselect',
65
76
  };
@@ -72,6 +83,9 @@ export const ExportStateRelationshipDataTypeEnum = {
72
83
  export const FileCollectionMetadataDataTypeEnum = {
73
84
  FileCollection: 'file-collection',
74
85
  };
86
+ export const FileJobArchiveOperationTypeEnum = {
87
+ FileArchiveOperation: 'file-archive-operation',
88
+ };
75
89
  export const FileRelationshipDataTypeEnum = {
76
90
  File: 'file',
77
91
  };
@@ -142,6 +156,12 @@ export const SceneViewRelationshipDataTypeEnum = {
142
156
  export const SceneViewStateRelationshipDataTypeEnum = {
143
157
  SceneViewState: 'scene-view-state',
144
158
  };
159
+ export const SelectFileByIdTypeEnum = {
160
+ FileById: 'file-by-id',
161
+ };
162
+ export const SelectFileBySuppliedIdTypeEnum = {
163
+ FileBySuppliedId: 'file-by-supplied-id',
164
+ };
145
165
  export const SelectOpTypeEnum = {
146
166
  Select: 'select',
147
167
  };
@@ -1639,6 +1659,41 @@ export const FileCollectionsApiAxiosParamCreator = function (configuration) {
1639
1659
  options: localVarRequestOptions,
1640
1660
  };
1641
1661
  }),
1662
+ /**
1663
+ * Remove a file from a `file-collection`.
1664
+ * @param {string} id The `file-collection` ID.
1665
+ * @param {string} [filterFileId] Comma-separated list of file-ids to filter on.
1666
+ * @param {*} [options] Override http request option.
1667
+ * @throws {RequiredError}
1668
+ */
1669
+ removeFileCollectionFiles: (id, filterFileId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1670
+ var _g;
1671
+ // verify required parameter 'id' is not null or undefined
1672
+ assertParamExists('removeFileCollectionFiles', 'id', id);
1673
+ const localVarPath = `/file-collections/{id}/files`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
1674
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1675
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1676
+ let baseOptions;
1677
+ if (configuration) {
1678
+ baseOptions = configuration.baseOptions;
1679
+ }
1680
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1681
+ const localVarHeaderParameter = {};
1682
+ const localVarQueryParameter = {};
1683
+ // authentication OAuth2 required
1684
+ // oauth required
1685
+ yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
1686
+ if (filterFileId !== undefined) {
1687
+ localVarQueryParameter['filter[fileId]'] = filterFileId;
1688
+ }
1689
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1690
+ let headersFromBaseOptions = (_g = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _g !== void 0 ? _g : {};
1691
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1692
+ return {
1693
+ url: toPathString(localVarUrlObj),
1694
+ options: localVarRequestOptions,
1695
+ };
1696
+ }),
1642
1697
  /**
1643
1698
  * Update a `file-collection`.
1644
1699
  * @param {string} id The `file-collection` ID.
@@ -1647,7 +1702,7 @@ export const FileCollectionsApiAxiosParamCreator = function (configuration) {
1647
1702
  * @throws {RequiredError}
1648
1703
  */
1649
1704
  updateFileCollection: (id, updateFileCollectionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1650
- var _g;
1705
+ var _h;
1651
1706
  // verify required parameter 'id' is not null or undefined
1652
1707
  assertParamExists('updateFileCollection', 'id', id);
1653
1708
  // verify required parameter 'updateFileCollectionRequest' is not null or undefined
@@ -1667,7 +1722,7 @@ export const FileCollectionsApiAxiosParamCreator = function (configuration) {
1667
1722
  yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
1668
1723
  localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
1669
1724
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1670
- let headersFromBaseOptions = (_g = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _g !== void 0 ? _g : {};
1725
+ let headersFromBaseOptions = (_h = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _h !== void 0 ? _h : {};
1671
1726
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1672
1727
  localVarRequestOptions.data = serializeDataIfNeeded(updateFileCollectionRequest, localVarRequestOptions, configuration);
1673
1728
  return {
@@ -1761,6 +1816,19 @@ export const FileCollectionsApiFp = function (configuration) {
1761
1816
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1762
1817
  });
1763
1818
  },
1819
+ /**
1820
+ * Remove a file from a `file-collection`.
1821
+ * @param {string} id The `file-collection` ID.
1822
+ * @param {string} [filterFileId] Comma-separated list of file-ids to filter on.
1823
+ * @param {*} [options] Override http request option.
1824
+ * @throws {RequiredError}
1825
+ */
1826
+ removeFileCollectionFiles(id, filterFileId, options) {
1827
+ return __awaiter(this, void 0, void 0, function* () {
1828
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeFileCollectionFiles(id, filterFileId, options);
1829
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1830
+ });
1831
+ },
1764
1832
  /**
1765
1833
  * Update a `file-collection`.
1766
1834
  * @param {string} id The `file-collection` ID.
@@ -1854,6 +1922,18 @@ export const FileCollectionsApiFactory = function (configuration, basePath, axio
1854
1922
  .listFileCollections(pageCursor, pageSize, filterSuppliedId, options)
1855
1923
  .then((request) => request(axios, basePath));
1856
1924
  },
1925
+ /**
1926
+ * Remove a file from a `file-collection`.
1927
+ * @param {string} id The `file-collection` ID.
1928
+ * @param {string} [filterFileId] Comma-separated list of file-ids to filter on.
1929
+ * @param {*} [options] Override http request option.
1930
+ * @throws {RequiredError}
1931
+ */
1932
+ removeFileCollectionFiles(id, filterFileId, options) {
1933
+ return localVarFp
1934
+ .removeFileCollectionFiles(id, filterFileId, options)
1935
+ .then((request) => request(axios, basePath));
1936
+ },
1857
1937
  /**
1858
1938
  * Update a `file-collection`.
1859
1939
  * @param {string} id The `file-collection` ID.
@@ -1947,6 +2027,18 @@ export class FileCollectionsApi extends BaseAPI {
1947
2027
  .listFileCollections(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterSuppliedId, options)
1948
2028
  .then((request) => request(this.axios, this.basePath));
1949
2029
  }
2030
+ /**
2031
+ * Remove a file from a `file-collection`.
2032
+ * @param {FileCollectionsApiRemoveFileCollectionFilesRequest} requestParameters Request parameters.
2033
+ * @param {*} [options] Override http request option.
2034
+ * @throws {RequiredError}
2035
+ * @memberof FileCollectionsApi
2036
+ */
2037
+ removeFileCollectionFiles(requestParameters, options) {
2038
+ return FileCollectionsApiFp(this.configuration)
2039
+ .removeFileCollectionFiles(requestParameters.id, requestParameters.filterFileId, options)
2040
+ .then((request) => request(this.axios, this.basePath));
2041
+ }
1950
2042
  /**
1951
2043
  * Update a `file-collection`.
1952
2044
  * @param {FileCollectionsApiUpdateFileCollectionRequest} requestParameters Request parameters.
@@ -1960,6 +2052,174 @@ export class FileCollectionsApi extends BaseAPI {
1960
2052
  .then((request) => request(this.axios, this.basePath));
1961
2053
  }
1962
2054
  }
2055
+ /**
2056
+ * FileJobsApi - axios parameter creator
2057
+ * @export
2058
+ */
2059
+ export const FileJobsApiAxiosParamCreator = function (configuration) {
2060
+ return {
2061
+ /**
2062
+ * Create a `file-job`.
2063
+ * @param {CreateFileJobRequest} createFileJobRequest
2064
+ * @param {*} [options] Override http request option.
2065
+ * @throws {RequiredError}
2066
+ */
2067
+ createFileJob: (createFileJobRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2068
+ var _a;
2069
+ // verify required parameter 'createFileJobRequest' is not null or undefined
2070
+ assertParamExists('createFileJob', 'createFileJobRequest', createFileJobRequest);
2071
+ const localVarPath = `/file-jobs`;
2072
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2073
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2074
+ let baseOptions;
2075
+ if (configuration) {
2076
+ baseOptions = configuration.baseOptions;
2077
+ }
2078
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2079
+ const localVarHeaderParameter = {};
2080
+ const localVarQueryParameter = {};
2081
+ // authentication OAuth2 required
2082
+ // oauth required
2083
+ yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
2084
+ localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
2085
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2086
+ let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
2087
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2088
+ localVarRequestOptions.data = serializeDataIfNeeded(createFileJobRequest, localVarRequestOptions, configuration);
2089
+ return {
2090
+ url: toPathString(localVarUrlObj),
2091
+ options: localVarRequestOptions,
2092
+ };
2093
+ }),
2094
+ /**
2095
+ * Get the status and result of a `file-job`.
2096
+ * @param {string} id The ID of a file job.
2097
+ * @param {*} [options] Override http request option.
2098
+ * @throws {RequiredError}
2099
+ */
2100
+ getFileJob: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
2101
+ var _b;
2102
+ // verify required parameter 'id' is not null or undefined
2103
+ assertParamExists('getFileJob', 'id', id);
2104
+ const localVarPath = `/file-jobs/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
2105
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2106
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2107
+ let baseOptions;
2108
+ if (configuration) {
2109
+ baseOptions = configuration.baseOptions;
2110
+ }
2111
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2112
+ const localVarHeaderParameter = {};
2113
+ const localVarQueryParameter = {};
2114
+ // authentication OAuth2 required
2115
+ // oauth required
2116
+ yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
2117
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2118
+ let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
2119
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2120
+ return {
2121
+ url: toPathString(localVarUrlObj),
2122
+ options: localVarRequestOptions,
2123
+ };
2124
+ }),
2125
+ };
2126
+ };
2127
+ /**
2128
+ * FileJobsApi - functional programming interface
2129
+ * @export
2130
+ */
2131
+ export const FileJobsApiFp = function (configuration) {
2132
+ const localVarAxiosParamCreator = FileJobsApiAxiosParamCreator(configuration);
2133
+ return {
2134
+ /**
2135
+ * Create a `file-job`.
2136
+ * @param {CreateFileJobRequest} createFileJobRequest
2137
+ * @param {*} [options] Override http request option.
2138
+ * @throws {RequiredError}
2139
+ */
2140
+ createFileJob(createFileJobRequest, options) {
2141
+ return __awaiter(this, void 0, void 0, function* () {
2142
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createFileJob(createFileJobRequest, options);
2143
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2144
+ });
2145
+ },
2146
+ /**
2147
+ * Get the status and result of a `file-job`.
2148
+ * @param {string} id The ID of a file job.
2149
+ * @param {*} [options] Override http request option.
2150
+ * @throws {RequiredError}
2151
+ */
2152
+ getFileJob(id, options) {
2153
+ return __awaiter(this, void 0, void 0, function* () {
2154
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFileJob(id, options);
2155
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2156
+ });
2157
+ },
2158
+ };
2159
+ };
2160
+ /**
2161
+ * FileJobsApi - factory interface
2162
+ * @export
2163
+ */
2164
+ export const FileJobsApiFactory = function (configuration, basePath, axios) {
2165
+ const localVarFp = FileJobsApiFp(configuration);
2166
+ return {
2167
+ /**
2168
+ * Create a `file-job`.
2169
+ * @param {CreateFileJobRequest} createFileJobRequest
2170
+ * @param {*} [options] Override http request option.
2171
+ * @throws {RequiredError}
2172
+ */
2173
+ createFileJob(createFileJobRequest, options) {
2174
+ return localVarFp
2175
+ .createFileJob(createFileJobRequest, options)
2176
+ .then((request) => request(axios, basePath));
2177
+ },
2178
+ /**
2179
+ * Get the status and result of a `file-job`.
2180
+ * @param {string} id The ID of a file job.
2181
+ * @param {*} [options] Override http request option.
2182
+ * @throws {RequiredError}
2183
+ */
2184
+ getFileJob(id, options) {
2185
+ return localVarFp
2186
+ .getFileJob(id, options)
2187
+ .then((request) => request(axios, basePath));
2188
+ },
2189
+ };
2190
+ };
2191
+ /**
2192
+ * FileJobsApi - object-oriented interface
2193
+ * @export
2194
+ * @class FileJobsApi
2195
+ * @extends {BaseAPI}
2196
+ */
2197
+ export class FileJobsApi extends BaseAPI {
2198
+ /**
2199
+ * Create a `file-job`.
2200
+ * @param {FileJobsApiCreateFileJobRequest} requestParameters Request parameters.
2201
+ * @param {*} [options] Override http request option.
2202
+ * @throws {RequiredError}
2203
+ * @memberof FileJobsApi
2204
+ */
2205
+ createFileJob(requestParameters, options) {
2206
+ return FileJobsApiFp(this.configuration)
2207
+ .createFileJob(requestParameters.createFileJobRequest, options)
2208
+ .then((request) => request(this.axios, this.basePath));
2209
+ }
2210
+ /**
2211
+ * Get the status and result of a `file-job`.
2212
+ * @param {FileJobsApiGetFileJobRequest} requestParameters Request parameters.
2213
+ * @param {*} [options] Override http request option.
2214
+ * @throws {RequiredError}
2215
+ * @memberof FileJobsApi
2216
+ */
2217
+ getFileJob(requestParameters, options) {
2218
+ return FileJobsApiFp(this.configuration)
2219
+ .getFileJob(requestParameters.id, options)
2220
+ .then((request) => request(this.axios, this.basePath));
2221
+ }
2222
+ }
1963
2223
  /**
1964
2224
  * FilesApi - axios parameter creator
1965
2225
  * @export
@@ -3561,7 +3821,7 @@ export class Oauth2Api extends BaseAPI {
3561
3821
  export const PartRenditionsApiAxiosParamCreator = function (configuration) {
3562
3822
  return {
3563
3823
  /**
3564
- *
3824
+ * Creates a part-rendition associated with a part-revision
3565
3825
  * @param {string} id The `part-revision` ID.
3566
3826
  * @param {CreatePartRenditionRequest} createPartRenditionRequest
3567
3827
  * @param {*} [options] Override http request option.
@@ -3681,7 +3941,7 @@ export const PartRenditionsApiFp = function (configuration) {
3681
3941
  const localVarAxiosParamCreator = PartRenditionsApiAxiosParamCreator(configuration);
3682
3942
  return {
3683
3943
  /**
3684
- *
3944
+ * Creates a part-rendition associated with a part-revision
3685
3945
  * @param {string} id The `part-revision` ID.
3686
3946
  * @param {CreatePartRenditionRequest} createPartRenditionRequest
3687
3947
  * @param {*} [options] Override http request option.
@@ -3730,7 +3990,7 @@ export const PartRenditionsApiFactory = function (configuration, basePath, axios
3730
3990
  const localVarFp = PartRenditionsApiFp(configuration);
3731
3991
  return {
3732
3992
  /**
3733
- *
3993
+ * Creates a part-rendition associated with a part-revision
3734
3994
  * @param {string} id The `part-revision` ID.
3735
3995
  * @param {CreatePartRenditionRequest} createPartRenditionRequest
3736
3996
  * @param {*} [options] Override http request option.
@@ -3776,7 +4036,7 @@ export const PartRenditionsApiFactory = function (configuration, basePath, axios
3776
4036
  */
3777
4037
  export class PartRenditionsApi extends BaseAPI {
3778
4038
  /**
3779
- *
4039
+ * Creates a part-rendition associated with a part-revision
3780
4040
  * @param {PartRenditionsApiCreatePartRenditionRequest} requestParameters Request parameters.
3781
4041
  * @param {*} [options] Override http request option.
3782
4042
  * @throws {RequiredError}
@@ -3819,7 +4079,7 @@ export class PartRenditionsApi extends BaseAPI {
3819
4079
  export const PartRevisionInstancesApiAxiosParamCreator = function (configuration) {
3820
4080
  return {
3821
4081
  /**
3822
- * Gets a page of \'part-revision\' instances. An instance is an occurence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
4082
+ * Gets a page of \'part-revision\' instances. An instance is an occurrence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
3823
4083
  * @param {string} [filterParent] Parent ID to filter on.
3824
4084
  * @param {string} [pageCursor] The cursor for the next page of items.
3825
4085
  * @param {number} [pageSize] The number of items to return.
@@ -3868,7 +4128,7 @@ export const PartRevisionInstancesApiFp = function (configuration) {
3868
4128
  const localVarAxiosParamCreator = PartRevisionInstancesApiAxiosParamCreator(configuration);
3869
4129
  return {
3870
4130
  /**
3871
- * Gets a page of \'part-revision\' instances. An instance is an occurence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
4131
+ * Gets a page of \'part-revision\' instances. An instance is an occurrence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
3872
4132
  * @param {string} [filterParent] Parent ID to filter on.
3873
4133
  * @param {string} [pageCursor] The cursor for the next page of items.
3874
4134
  * @param {number} [pageSize] The number of items to return.
@@ -3891,7 +4151,7 @@ export const PartRevisionInstancesApiFactory = function (configuration, basePath
3891
4151
  const localVarFp = PartRevisionInstancesApiFp(configuration);
3892
4152
  return {
3893
4153
  /**
3894
- * Gets a page of \'part-revision\' instances. An instance is an occurence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
4154
+ * Gets a page of \'part-revision\' instances. An instance is an occurrence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
3895
4155
  * @param {string} [filterParent] Parent ID to filter on.
3896
4156
  * @param {string} [pageCursor] The cursor for the next page of items.
3897
4157
  * @param {number} [pageSize] The number of items to return.
@@ -3913,7 +4173,7 @@ export const PartRevisionInstancesApiFactory = function (configuration, basePath
3913
4173
  */
3914
4174
  export class PartRevisionInstancesApi extends BaseAPI {
3915
4175
  /**
3916
- * Gets a page of \'part-revision\' instances. An instance is an occurence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
4176
+ * Gets a page of \'part-revision\' instances. An instance is an occurrence of a revision that is a child of a parent revision. The returned data will have the ordinal used for ordering and the transform matrix for each occurrence.
3917
4177
  * @param {PartRevisionInstancesApiGetPartRevisionInstanceListRequest} requestParameters Request parameters.
3918
4178
  * @param {*} [options] Override http request option.
3919
4179
  * @throws {RequiredError}
@@ -4157,7 +4417,7 @@ export const PartRevisionsApiAxiosParamCreator = function (configuration) {
4157
4417
  };
4158
4418
  }),
4159
4419
  /**
4160
- * Update a `part-revision`. When given a `file` relationship as a payload, this will invoke a translation job, similar to the POST /parts endpoint. The response code will be a 202 and will respond with an async workflow, and return an Accepted[QueuedJob]. The geometry of the part and all of its children will be replaced with the geometry specified within the translated file given from this relationship. Some of the properties given here are only used for the translation of the file. Namely, `indexMetadata`, `name`, `suppliedIdKey`, `suppliedRevisionIdKey`, and `suppliedInstanceIdKey`. Note that geometry updates are eventually consistent and will not update existing scenes. For updates to the revision when the file relationship is not present will respond with a standard 200 ok code when successful. Note that metadata updates are eventually consistent and will not update existing scenes. To view updated metadata within a scene, a new scene must be created or the updated part-revision must be removed and re-added to an existing scene.
4420
+ * Update a `part-revision`. When given a `file` relationship as a payload, this will invoke a translation job, similar to the POST /parts endpoint. The response code will be a 202 and will respond with an async workflow, and return an Accepted[QueuedJob]. The geometry of the part and all of its children will be replaced with the geometry specified within the translated file given from this relationship. Some of the properties given here are only used for the translation of the file. Namely, `indexMetadata`, `name`, `suppliedIdKey`, `suppliedRevisionIdKey`, and `suppliedInstanceIdKey`. Note that geometry updates are eventually consistent and will not update existing scenes. For updates to the revision when the file relationship is not present will respond with a standard 200 ok code when successful. Note that metadata updates are eventually consistent and will not update existing scenes. To view updated metadata within a scene, a new scene must be created or the updated part-revision must be removed and re-added to an existing scene.
4161
4421
  * @param {string} id The `part-revision` ID.
4162
4422
  * @param {UpdatePartRevisionRequest} updatePartRevisionRequest
4163
4423
  * @param {*} [options] Override http request option.
@@ -4278,7 +4538,7 @@ export const PartRevisionsApiFp = function (configuration) {
4278
4538
  });
4279
4539
  },
4280
4540
  /**
4281
- * Update a `part-revision`. When given a `file` relationship as a payload, this will invoke a translation job, similar to the POST /parts endpoint. The response code will be a 202 and will respond with an async workflow, and return an Accepted[QueuedJob]. The geometry of the part and all of its children will be replaced with the geometry specified within the translated file given from this relationship. Some of the properties given here are only used for the translation of the file. Namely, `indexMetadata`, `name`, `suppliedIdKey`, `suppliedRevisionIdKey`, and `suppliedInstanceIdKey`. Note that geometry updates are eventually consistent and will not update existing scenes. For updates to the revision when the file relationship is not present will respond with a standard 200 ok code when successful. Note that metadata updates are eventually consistent and will not update existing scenes. To view updated metadata within a scene, a new scene must be created or the updated part-revision must be removed and re-added to an existing scene.
4541
+ * Update a `part-revision`. When given a `file` relationship as a payload, this will invoke a translation job, similar to the POST /parts endpoint. The response code will be a 202 and will respond with an async workflow, and return an Accepted[QueuedJob]. The geometry of the part and all of its children will be replaced with the geometry specified within the translated file given from this relationship. Some of the properties given here are only used for the translation of the file. Namely, `indexMetadata`, `name`, `suppliedIdKey`, `suppliedRevisionIdKey`, and `suppliedInstanceIdKey`. Note that geometry updates are eventually consistent and will not update existing scenes. For updates to the revision when the file relationship is not present will respond with a standard 200 ok code when successful. Note that metadata updates are eventually consistent and will not update existing scenes. To view updated metadata within a scene, a new scene must be created or the updated part-revision must be removed and re-added to an existing scene.
4282
4542
  * @param {string} id The `part-revision` ID.
4283
4543
  * @param {UpdatePartRevisionRequest} updatePartRevisionRequest
4284
4544
  * @param {*} [options] Override http request option.
@@ -4371,7 +4631,7 @@ export const PartRevisionsApiFactory = function (configuration, basePath, axios)
4371
4631
  .then((request) => request(axios, basePath));
4372
4632
  },
4373
4633
  /**
4374
- * Update a `part-revision`. When given a `file` relationship as a payload, this will invoke a translation job, similar to the POST /parts endpoint. The response code will be a 202 and will respond with an async workflow, and return an Accepted[QueuedJob]. The geometry of the part and all of its children will be replaced with the geometry specified within the translated file given from this relationship. Some of the properties given here are only used for the translation of the file. Namely, `indexMetadata`, `name`, `suppliedIdKey`, `suppliedRevisionIdKey`, and `suppliedInstanceIdKey`. Note that geometry updates are eventually consistent and will not update existing scenes. For updates to the revision when the file relationship is not present will respond with a standard 200 ok code when successful. Note that metadata updates are eventually consistent and will not update existing scenes. To view updated metadata within a scene, a new scene must be created or the updated part-revision must be removed and re-added to an existing scene.
4634
+ * Update a `part-revision`. When given a `file` relationship as a payload, this will invoke a translation job, similar to the POST /parts endpoint. The response code will be a 202 and will respond with an async workflow, and return an Accepted[QueuedJob]. The geometry of the part and all of its children will be replaced with the geometry specified within the translated file given from this relationship. Some of the properties given here are only used for the translation of the file. Namely, `indexMetadata`, `name`, `suppliedIdKey`, `suppliedRevisionIdKey`, and `suppliedInstanceIdKey`. Note that geometry updates are eventually consistent and will not update existing scenes. For updates to the revision when the file relationship is not present will respond with a standard 200 ok code when successful. Note that metadata updates are eventually consistent and will not update existing scenes. To view updated metadata within a scene, a new scene must be created or the updated part-revision must be removed and re-added to an existing scene.
4375
4635
  * @param {string} id The `part-revision` ID.
4376
4636
  * @param {UpdatePartRevisionRequest} updatePartRevisionRequest
4377
4637
  * @param {*} [options] Override http request option.
@@ -4452,7 +4712,7 @@ export class PartRevisionsApi extends BaseAPI {
4452
4712
  .then((request) => request(this.axios, this.basePath));
4453
4713
  }
4454
4714
  /**
4455
- * Update a `part-revision`. When given a `file` relationship as a payload, this will invoke a translation job, similar to the POST /parts endpoint. The response code will be a 202 and will respond with an async workflow, and return an Accepted[QueuedJob]. The geometry of the part and all of its children will be replaced with the geometry specified within the translated file given from this relationship. Some of the properties given here are only used for the translation of the file. Namely, `indexMetadata`, `name`, `suppliedIdKey`, `suppliedRevisionIdKey`, and `suppliedInstanceIdKey`. Note that geometry updates are eventually consistent and will not update existing scenes. For updates to the revision when the file relationship is not present will respond with a standard 200 ok code when successful. Note that metadata updates are eventually consistent and will not update existing scenes. To view updated metadata within a scene, a new scene must be created or the updated part-revision must be removed and re-added to an existing scene.
4715
+ * Update a `part-revision`. When given a `file` relationship as a payload, this will invoke a translation job, similar to the POST /parts endpoint. The response code will be a 202 and will respond with an async workflow, and return an Accepted[QueuedJob]. The geometry of the part and all of its children will be replaced with the geometry specified within the translated file given from this relationship. Some of the properties given here are only used for the translation of the file. Namely, `indexMetadata`, `name`, `suppliedIdKey`, `suppliedRevisionIdKey`, and `suppliedInstanceIdKey`. Note that geometry updates are eventually consistent and will not update existing scenes. For updates to the revision when the file relationship is not present will respond with a standard 200 ok code when successful. Note that metadata updates are eventually consistent and will not update existing scenes. To view updated metadata within a scene, a new scene must be created or the updated part-revision must be removed and re-added to an existing scene.
4456
4716
  * @param {PartRevisionsApiUpdatePartRevisionRequest} requestParameters Request parameters.
4457
4717
  * @param {*} [options] Override http request option.
4458
4718
  * @throws {RequiredError}
@@ -4471,7 +4731,7 @@ export class PartRevisionsApi extends BaseAPI {
4471
4731
  export const PartsApiAxiosParamCreator = function (configuration) {
4472
4732
  return {
4473
4733
  /**
4474
- * Create a `part`. This endpoint includes multiple successful response codes: [`201`, `202`]. When not given a relationship, this endpoint will create a part with an empty part revision and return a `201` status code of the part. When given a relationship to translate, this endpoint will return a `202` status code with the location of a `queued-translation`. The status of the translation can be queried via `getQueuedTranslation`. After the translation is complete, a `part` and `part-revision` that references the translated geometry. A unique suppliedId/suppliedRevisionId combination will create a new part and new part revision. For instance, sending my-part-id/my-revision-id will create a new part and new revision with those corresponding supplied ids. To create a new revision for `my-part-id`, likewise you can invoke this endpoint with a new revision id: `my-part-id/my-new-revision-id` and a new revision will be created for the existing part. See our [Import Data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guides for more information.
4734
+ * Create a `part`. This endpoint includes multiple successful response codes: [`201`, `202`]. When not given a relationship, this endpoint will create a part with an empty part revision and return a `201` status code of the part. When given a relationship to translate, this endpoint will return a `202` status code with the location of a `queued-translation`. The status of the translation can be queried via `getQueuedTranslation`. After the translation is complete, a `part` and `part-revision` that references the translated geometry. A unique suppliedId/suppliedRevisionId combination will create a new part and new part revision. For instance, sending my-part-id/my-revision-id will create a new part and new revision with those corresponding supplied ids. To create a new revision for `my-part-id`, likewise you can invoke this endpoint with a new revision id: `my-part-id/my-new-revision-id` and a new revision will be created for the existing part. See our [Import Data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guides for more information.
4475
4735
  * @param {CreatePartRequest} createPartRequest
4476
4736
  * @param {*} [options] Override http request option.
4477
4737
  * @throws {RequiredError}
@@ -4650,7 +4910,7 @@ export const PartsApiFp = function (configuration) {
4650
4910
  const localVarAxiosParamCreator = PartsApiAxiosParamCreator(configuration);
4651
4911
  return {
4652
4912
  /**
4653
- * Create a `part`. This endpoint includes multiple successful response codes: [`201`, `202`]. When not given a relationship, this endpoint will create a part with an empty part revision and return a `201` status code of the part. When given a relationship to translate, this endpoint will return a `202` status code with the location of a `queued-translation`. The status of the translation can be queried via `getQueuedTranslation`. After the translation is complete, a `part` and `part-revision` that references the translated geometry. A unique suppliedId/suppliedRevisionId combination will create a new part and new part revision. For instance, sending my-part-id/my-revision-id will create a new part and new revision with those corresponding supplied ids. To create a new revision for `my-part-id`, likewise you can invoke this endpoint with a new revision id: `my-part-id/my-new-revision-id` and a new revision will be created for the existing part. See our [Import Data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guides for more information.
4913
+ * Create a `part`. This endpoint includes multiple successful response codes: [`201`, `202`]. When not given a relationship, this endpoint will create a part with an empty part revision and return a `201` status code of the part. When given a relationship to translate, this endpoint will return a `202` status code with the location of a `queued-translation`. The status of the translation can be queried via `getQueuedTranslation`. After the translation is complete, a `part` and `part-revision` that references the translated geometry. A unique suppliedId/suppliedRevisionId combination will create a new part and new part revision. For instance, sending my-part-id/my-revision-id will create a new part and new revision with those corresponding supplied ids. To create a new revision for `my-part-id`, likewise you can invoke this endpoint with a new revision id: `my-part-id/my-new-revision-id` and a new revision will be created for the existing part. See our [Import Data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guides for more information.
4654
4914
  * @param {CreatePartRequest} createPartRequest
4655
4915
  * @param {*} [options] Override http request option.
4656
4916
  * @throws {RequiredError}
@@ -4722,7 +4982,7 @@ export const PartsApiFactory = function (configuration, basePath, axios) {
4722
4982
  const localVarFp = PartsApiFp(configuration);
4723
4983
  return {
4724
4984
  /**
4725
- * Create a `part`. This endpoint includes multiple successful response codes: [`201`, `202`]. When not given a relationship, this endpoint will create a part with an empty part revision and return a `201` status code of the part. When given a relationship to translate, this endpoint will return a `202` status code with the location of a `queued-translation`. The status of the translation can be queried via `getQueuedTranslation`. After the translation is complete, a `part` and `part-revision` that references the translated geometry. A unique suppliedId/suppliedRevisionId combination will create a new part and new part revision. For instance, sending my-part-id/my-revision-id will create a new part and new revision with those corresponding supplied ids. To create a new revision for `my-part-id`, likewise you can invoke this endpoint with a new revision id: `my-part-id/my-new-revision-id` and a new revision will be created for the existing part. See our [Import Data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guides for more information.
4985
+ * Create a `part`. This endpoint includes multiple successful response codes: [`201`, `202`]. When not given a relationship, this endpoint will create a part with an empty part revision and return a `201` status code of the part. When given a relationship to translate, this endpoint will return a `202` status code with the location of a `queued-translation`. The status of the translation can be queried via `getQueuedTranslation`. After the translation is complete, a `part` and `part-revision` that references the translated geometry. A unique suppliedId/suppliedRevisionId combination will create a new part and new part revision. For instance, sending my-part-id/my-revision-id will create a new part and new revision with those corresponding supplied ids. To create a new revision for `my-part-id`, likewise you can invoke this endpoint with a new revision id: `my-part-id/my-new-revision-id` and a new revision will be created for the existing part. See our [Import Data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guides for more information.
4726
4986
  * @param {CreatePartRequest} createPartRequest
4727
4987
  * @param {*} [options] Override http request option.
4728
4988
  * @throws {RequiredError}
@@ -4789,7 +5049,7 @@ export const PartsApiFactory = function (configuration, basePath, axios) {
4789
5049
  */
4790
5050
  export class PartsApi extends BaseAPI {
4791
5051
  /**
4792
- * Create a `part`. This endpoint includes multiple successful response codes: [`201`, `202`]. When not given a relationship, this endpoint will create a part with an empty part revision and return a `201` status code of the part. When given a relationship to translate, this endpoint will return a `202` status code with the location of a `queued-translation`. The status of the translation can be queried via `getQueuedTranslation`. After the translation is complete, a `part` and `part-revision` that references the translated geometry. A unique suppliedId/suppliedRevisionId combination will create a new part and new part revision. For instance, sending my-part-id/my-revision-id will create a new part and new revision with those corresponding supplied ids. To create a new revision for `my-part-id`, likewise you can invoke this endpoint with a new revision id: `my-part-id/my-new-revision-id` and a new revision will be created for the existing part. See our [Import Data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guides for more information.
5052
+ * Create a `part`. This endpoint includes multiple successful response codes: [`201`, `202`]. When not given a relationship, this endpoint will create a part with an empty part revision and return a `201` status code of the part. When given a relationship to translate, this endpoint will return a `202` status code with the location of a `queued-translation`. The status of the translation can be queried via `getQueuedTranslation`. After the translation is complete, a `part` and `part-revision` that references the translated geometry. A unique suppliedId/suppliedRevisionId combination will create a new part and new part revision. For instance, sending my-part-id/my-revision-id will create a new part and new revision with those corresponding supplied ids. To create a new revision for `my-part-id`, likewise you can invoke this endpoint with a new revision id: `my-part-id/my-new-revision-id` and a new revision will be created for the existing part. See our [Import Data](https://developer.vertexvis.com/docs/guides/import-data-with-api) guides for more information.
4793
5053
  * @param {PartsApiCreatePartRequest} requestParameters Request parameters.
4794
5054
  * @param {*} [options] Override http request option.
4795
5055
  * @throws {RequiredError}
@@ -4969,7 +5229,7 @@ export class PmiApi extends BaseAPI {
4969
5229
  export const PropertyEntriesApiAxiosParamCreator = function (configuration) {
4970
5230
  return {
4971
5231
  /**
4972
- * Get `property-entries` by a resource ID **Preview:** This is a preview API and is subject to change.
5232
+ * Get `property-entries` by a resource ID
4973
5233
  * @param {string} [pageCursor] The cursor for the next page of items.
4974
5234
  * @param {number} [pageSize] The number of items to return.
4975
5235
  * @param {string} [filterResourceId] A resource ID to filter on
@@ -5013,7 +5273,7 @@ export const PropertyEntriesApiAxiosParamCreator = function (configuration) {
5013
5273
  };
5014
5274
  }),
5015
5275
  /**
5016
- * Upsert property-entries for a provided resource. **Preview:** This is a preview API and is subject to change.
5276
+ * Upsert property-entries for a provided resource.
5017
5277
  * @param {UpsertPropertyEntriesRequest} upsertPropertyEntriesRequest
5018
5278
  * @param {*} [options] Override http request option.
5019
5279
  * @throws {RequiredError}
@@ -5055,7 +5315,7 @@ export const PropertyEntriesApiFp = function (configuration) {
5055
5315
  const localVarAxiosParamCreator = PropertyEntriesApiAxiosParamCreator(configuration);
5056
5316
  return {
5057
5317
  /**
5058
- * Get `property-entries` by a resource ID **Preview:** This is a preview API and is subject to change.
5318
+ * Get `property-entries` by a resource ID
5059
5319
  * @param {string} [pageCursor] The cursor for the next page of items.
5060
5320
  * @param {number} [pageSize] The number of items to return.
5061
5321
  * @param {string} [filterResourceId] A resource ID to filter on
@@ -5070,7 +5330,7 @@ export const PropertyEntriesApiFp = function (configuration) {
5070
5330
  });
5071
5331
  },
5072
5332
  /**
5073
- * Upsert property-entries for a provided resource. **Preview:** This is a preview API and is subject to change.
5333
+ * Upsert property-entries for a provided resource.
5074
5334
  * @param {UpsertPropertyEntriesRequest} upsertPropertyEntriesRequest
5075
5335
  * @param {*} [options] Override http request option.
5076
5336
  * @throws {RequiredError}
@@ -5091,7 +5351,7 @@ export const PropertyEntriesApiFactory = function (configuration, basePath, axio
5091
5351
  const localVarFp = PropertyEntriesApiFp(configuration);
5092
5352
  return {
5093
5353
  /**
5094
- * Get `property-entries` by a resource ID **Preview:** This is a preview API and is subject to change.
5354
+ * Get `property-entries` by a resource ID
5095
5355
  * @param {string} [pageCursor] The cursor for the next page of items.
5096
5356
  * @param {number} [pageSize] The number of items to return.
5097
5357
  * @param {string} [filterResourceId] A resource ID to filter on
@@ -5105,7 +5365,7 @@ export const PropertyEntriesApiFactory = function (configuration, basePath, axio
5105
5365
  .then((request) => request(axios, basePath));
5106
5366
  },
5107
5367
  /**
5108
- * Upsert property-entries for a provided resource. **Preview:** This is a preview API and is subject to change.
5368
+ * Upsert property-entries for a provided resource.
5109
5369
  * @param {UpsertPropertyEntriesRequest} upsertPropertyEntriesRequest
5110
5370
  * @param {*} [options] Override http request option.
5111
5371
  * @throws {RequiredError}
@@ -5125,7 +5385,7 @@ export const PropertyEntriesApiFactory = function (configuration, basePath, axio
5125
5385
  */
5126
5386
  export class PropertyEntriesApi extends BaseAPI {
5127
5387
  /**
5128
- * Get `property-entries` by a resource ID **Preview:** This is a preview API and is subject to change.
5388
+ * Get `property-entries` by a resource ID
5129
5389
  * @param {PropertyEntriesApiGetPropertyEntriesRequest} requestParameters Request parameters.
5130
5390
  * @param {*} [options] Override http request option.
5131
5391
  * @throws {RequiredError}
@@ -5137,7 +5397,7 @@ export class PropertyEntriesApi extends BaseAPI {
5137
5397
  .then((request) => request(this.axios, this.basePath));
5138
5398
  }
5139
5399
  /**
5140
- * Upsert property-entries for a provided resource. **Preview:** This is a preview API and is subject to change.
5400
+ * Upsert property-entries for a provided resource.
5141
5401
  * @param {PropertyEntriesApiUpsertPropertyEntriesRequest} requestParameters Request parameters.
5142
5402
  * @param {*} [options] Override http request option.
5143
5403
  * @throws {RequiredError}
@@ -8600,6 +8860,174 @@ export class ScenesApi extends BaseAPI {
8600
8860
  .then((request) => request(this.axios, this.basePath));
8601
8861
  }
8602
8862
  }
8863
+ /**
8864
+ * SearchSessionsApi - axios parameter creator
8865
+ * @export
8866
+ */
8867
+ export const SearchSessionsApiAxiosParamCreator = function (configuration) {
8868
+ return {
8869
+ /**
8870
+ * Create a `search-session`.
8871
+ * @param {CreateSearchSessionRequest} createSearchSessionRequest
8872
+ * @param {*} [options] Override http request option.
8873
+ * @throws {RequiredError}
8874
+ */
8875
+ createSearchSession: (createSearchSessionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
8876
+ var _a;
8877
+ // verify required parameter 'createSearchSessionRequest' is not null or undefined
8878
+ assertParamExists('createSearchSession', 'createSearchSessionRequest', createSearchSessionRequest);
8879
+ const localVarPath = `/search-sessions`;
8880
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8881
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8882
+ let baseOptions;
8883
+ if (configuration) {
8884
+ baseOptions = configuration.baseOptions;
8885
+ }
8886
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8887
+ const localVarHeaderParameter = {};
8888
+ const localVarQueryParameter = {};
8889
+ // authentication OAuth2 required
8890
+ // oauth required
8891
+ yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
8892
+ localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
8893
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8894
+ let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
8895
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8896
+ localVarRequestOptions.data = serializeDataIfNeeded(createSearchSessionRequest, localVarRequestOptions, configuration);
8897
+ return {
8898
+ url: toPathString(localVarUrlObj),
8899
+ options: localVarRequestOptions,
8900
+ };
8901
+ }),
8902
+ /**
8903
+ * Get a `search-session`.
8904
+ * @param {string} id The `search-session` ID.
8905
+ * @param {*} [options] Override http request option.
8906
+ * @throws {RequiredError}
8907
+ */
8908
+ getSearchSession: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
8909
+ var _b;
8910
+ // verify required parameter 'id' is not null or undefined
8911
+ assertParamExists('getSearchSession', 'id', id);
8912
+ const localVarPath = `/search-sessions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
8913
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8914
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8915
+ let baseOptions;
8916
+ if (configuration) {
8917
+ baseOptions = configuration.baseOptions;
8918
+ }
8919
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
8920
+ const localVarHeaderParameter = {};
8921
+ const localVarQueryParameter = {};
8922
+ // authentication OAuth2 required
8923
+ // oauth required
8924
+ yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
8925
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8926
+ let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
8927
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8928
+ return {
8929
+ url: toPathString(localVarUrlObj),
8930
+ options: localVarRequestOptions,
8931
+ };
8932
+ }),
8933
+ };
8934
+ };
8935
+ /**
8936
+ * SearchSessionsApi - functional programming interface
8937
+ * @export
8938
+ */
8939
+ export const SearchSessionsApiFp = function (configuration) {
8940
+ const localVarAxiosParamCreator = SearchSessionsApiAxiosParamCreator(configuration);
8941
+ return {
8942
+ /**
8943
+ * Create a `search-session`.
8944
+ * @param {CreateSearchSessionRequest} createSearchSessionRequest
8945
+ * @param {*} [options] Override http request option.
8946
+ * @throws {RequiredError}
8947
+ */
8948
+ createSearchSession(createSearchSessionRequest, options) {
8949
+ return __awaiter(this, void 0, void 0, function* () {
8950
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createSearchSession(createSearchSessionRequest, options);
8951
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8952
+ });
8953
+ },
8954
+ /**
8955
+ * Get a `search-session`.
8956
+ * @param {string} id The `search-session` ID.
8957
+ * @param {*} [options] Override http request option.
8958
+ * @throws {RequiredError}
8959
+ */
8960
+ getSearchSession(id, options) {
8961
+ return __awaiter(this, void 0, void 0, function* () {
8962
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSearchSession(id, options);
8963
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8964
+ });
8965
+ },
8966
+ };
8967
+ };
8968
+ /**
8969
+ * SearchSessionsApi - factory interface
8970
+ * @export
8971
+ */
8972
+ export const SearchSessionsApiFactory = function (configuration, basePath, axios) {
8973
+ const localVarFp = SearchSessionsApiFp(configuration);
8974
+ return {
8975
+ /**
8976
+ * Create a `search-session`.
8977
+ * @param {CreateSearchSessionRequest} createSearchSessionRequest
8978
+ * @param {*} [options] Override http request option.
8979
+ * @throws {RequiredError}
8980
+ */
8981
+ createSearchSession(createSearchSessionRequest, options) {
8982
+ return localVarFp
8983
+ .createSearchSession(createSearchSessionRequest, options)
8984
+ .then((request) => request(axios, basePath));
8985
+ },
8986
+ /**
8987
+ * Get a `search-session`.
8988
+ * @param {string} id The `search-session` ID.
8989
+ * @param {*} [options] Override http request option.
8990
+ * @throws {RequiredError}
8991
+ */
8992
+ getSearchSession(id, options) {
8993
+ return localVarFp
8994
+ .getSearchSession(id, options)
8995
+ .then((request) => request(axios, basePath));
8996
+ },
8997
+ };
8998
+ };
8999
+ /**
9000
+ * SearchSessionsApi - object-oriented interface
9001
+ * @export
9002
+ * @class SearchSessionsApi
9003
+ * @extends {BaseAPI}
9004
+ */
9005
+ export class SearchSessionsApi extends BaseAPI {
9006
+ /**
9007
+ * Create a `search-session`.
9008
+ * @param {SearchSessionsApiCreateSearchSessionRequest} requestParameters Request parameters.
9009
+ * @param {*} [options] Override http request option.
9010
+ * @throws {RequiredError}
9011
+ * @memberof SearchSessionsApi
9012
+ */
9013
+ createSearchSession(requestParameters, options) {
9014
+ return SearchSessionsApiFp(this.configuration)
9015
+ .createSearchSession(requestParameters.createSearchSessionRequest, options)
9016
+ .then((request) => request(this.axios, this.basePath));
9017
+ }
9018
+ /**
9019
+ * Get a `search-session`.
9020
+ * @param {SearchSessionsApiGetSearchSessionRequest} requestParameters Request parameters.
9021
+ * @param {*} [options] Override http request option.
9022
+ * @throws {RequiredError}
9023
+ * @memberof SearchSessionsApi
9024
+ */
9025
+ getSearchSession(requestParameters, options) {
9026
+ return SearchSessionsApiFp(this.configuration)
9027
+ .getSearchSession(requestParameters.id, options)
9028
+ .then((request) => request(this.axios, this.basePath));
9029
+ }
9030
+ }
8603
9031
  /**
8604
9032
  * StreamKeysApi - axios parameter creator
8605
9033
  * @export