@vertexvis/api-client-node 0.26.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/api.js CHANGED
@@ -25,10 +25,10 @@ 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.WebhookSubscriptionDataAttributesStatusEnum = exports.WebhookEventDataRelationshipsOwnerDataTypeEnum = exports.ViewRepByPredefinedIdOpIdEnum = exports.ViewRepByPredefinedIdOpTypeEnum = exports.ViewRepByIdOpTypeEnum = exports.ViewRenBySuppliedIdOpTypeEnum = exports.ViewRenByIdOpTypeEnum = exports.ViewDefaultRenOpTypeEnum = exports.UpdateWebhookSubscriptionRequestDataAttributesStatusEnum = exports.UpdateSceneRequestDataAttributesStateEnum = exports.UpdateItemToDefaultRenditionOperationTypeEnum = exports.UpdateFileCollectionRequestDataTypeEnum = exports.UpdateAccountRequestDataAttributesStatusEnum = exports.SelectOpTypeEnum = exports.SceneViewStateRelationshipDataTypeEnum = exports.SceneViewRelationshipDataTypeEnum = exports.SceneRelationshipDataTypeEnum = exports.SceneItemRelationshipDataTypeEnum = exports.QueryByMetadataDataTypeEnum = exports.QueryByIdDataAttributesTypeEnum = exports.QueryByIdDataTypeEnum = exports.QueryByCollectionDataAttributesTypeEnum = exports.QueryByCollectionDataTypeEnum = exports.QueryAll = exports.PropertyStringTypeTypeEnum = exports.PropertySetRelationshipDataTypeEnum = exports.PropertyLongTypeTypeEnum = exports.PropertyDoubleTypeTypeEnum = exports.PropertyDateTypeTypeEnum = exports.PartRenditionRelationshipDataTypeEnum = exports.PartRelationshipDataTypeEnum = exports.PartInstanceRelationshipDataTypeEnum = exports.PartDataRelationshipsPartRevisionsTypeEnum = exports.GeometrySetRelationshipDataTypeEnum = exports.FileRelationshipDataTypeEnum = exports.FileCollectionMetadataDataTypeEnum = exports.ExportStateRelationshipDataTypeEnum = exports.ExportRelationshipDataTypeEnum = exports.DeselectOperationTypeEnum = exports.CreateFileCollectionRequestDataTypeEnum = exports.ClearTransformOpTypeEnum = exports.ClearRepOpTypeEnum = exports.ClearRenOpTypeEnum = exports.ClearMaterialOpTypeEnum = exports.ChangeVisibilityOpTypeEnum = exports.ChangeTransformOpTypeEnum = exports.ChangeMaterialOpTypeEnum = exports.CameraFitTypeEnum = exports.BatchOperationRefTypeEnum = exports.BatchOperationOpEnum = void 0;
29
- exports.PartRevisionsApiFp = exports.PartRevisionsApiAxiosParamCreator = exports.PartRevisionInstancesApi = exports.PartRevisionInstancesApiFactory = exports.PartRevisionInstancesApiFp = exports.PartRevisionInstancesApiAxiosParamCreator = exports.PartRenditionsApi = exports.PartRenditionsApiFactory = exports.PartRenditionsApiFp = exports.PartRenditionsApiAxiosParamCreator = exports.Oauth2Api = exports.Oauth2ApiFactory = exports.Oauth2ApiFp = exports.Oauth2ApiAxiosParamCreator = exports.ModelViewsApi = exports.ModelViewsApiFactory = exports.ModelViewsApiFp = exports.ModelViewsApiAxiosParamCreator = exports.HitsApi = exports.HitsApiFactory = exports.HitsApiFp = exports.HitsApiAxiosParamCreator = exports.GeometrySetsApi = exports.GeometrySetsApiFactory = exports.GeometrySetsApiFp = exports.GeometrySetsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.FileCollectionsApi = exports.FileCollectionsApiFactory = exports.FileCollectionsApiFp = exports.FileCollectionsApiAxiosParamCreator = 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 = void 0;
30
- 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.SceneSynchronizationsApi = exports.SceneSynchronizationsApiFactory = exports.SceneSynchronizationsApiFp = exports.SceneSynchronizationsApiAxiosParamCreator = exports.SceneItemsApi = exports.SceneItemsApiFactory = exports.SceneItemsApiFp = exports.SceneItemsApiAxiosParamCreator = exports.SceneItemOverridesApi = exports.SceneItemOverridesApiFactory = exports.SceneItemOverridesApiFp = exports.SceneItemOverridesApiAxiosParamCreator = exports.SceneAnnotationsApi = exports.SceneAnnotationsApiFactory = exports.SceneAnnotationsApiFp = exports.SceneAnnotationsApiAxiosParamCreator = exports.SceneAlterationsApi = exports.SceneAlterationsApiFactory = exports.SceneAlterationsApiFp = exports.SceneAlterationsApiAxiosParamCreator = exports.PropertyEntriesApi = exports.PropertyEntriesApiFactory = exports.PropertyEntriesApiFp = exports.PropertyEntriesApiAxiosParamCreator = exports.PmiApi = exports.PmiApiFactory = exports.PmiApiFp = exports.PmiApiAxiosParamCreator = exports.PartsApi = exports.PartsApiFactory = exports.PartsApiFp = exports.PartsApiAxiosParamCreator = exports.PartRevisionsApi = exports.PartRevisionsApiFactory = void 0;
31
- exports.WebhookSubscriptionsApi = exports.WebhookSubscriptionsApiFactory = exports.WebhookSubscriptionsApiFp = exports.WebhookSubscriptionsApiAxiosParamCreator = exports.TranslationInspectionsApi = exports.TranslationInspectionsApiFactory = exports.TranslationInspectionsApiFp = exports.TranslationInspectionsApiAxiosParamCreator = void 0;
28
+ exports.ViewRenBySuppliedIdOpTypeEnum = exports.ViewRenByIdOpTypeEnum = exports.ViewDefaultRenOpTypeEnum = exports.UpdateWebhookSubscriptionRequestDataAttributesStatusEnum = exports.UpdateSceneRequestDataAttributesStateEnum = exports.UpdateItemToDefaultRenditionOperationTypeEnum = exports.UpdateFileCollectionRequestDataTypeEnum = exports.UpdateAccountRequestDataAttributesStatusEnum = exports.SelectOpTypeEnum = exports.SelectFileBySuppliedIdTypeEnum = exports.SelectFileByIdTypeEnum = exports.SceneViewStateRelationshipDataTypeEnum = exports.SceneViewRelationshipDataTypeEnum = exports.SceneRelationshipDataTypeEnum = exports.SceneItemRelationshipDataTypeEnum = exports.QueryByMetadataDataTypeEnum = exports.QueryByIdDataAttributesTypeEnum = exports.QueryByIdDataTypeEnum = exports.QueryByCollectionDataAttributesTypeEnum = exports.QueryByCollectionDataTypeEnum = exports.QueryAll = exports.PropertyStringTypeTypeEnum = exports.PropertySetRelationshipDataTypeEnum = exports.PropertyLongTypeTypeEnum = exports.PropertyDoubleTypeTypeEnum = exports.PropertyDateTypeTypeEnum = exports.PartRenditionRelationshipDataTypeEnum = exports.PartRelationshipDataTypeEnum = exports.PartInstanceRelationshipDataTypeEnum = exports.PartDataRelationshipsPartRevisionsTypeEnum = exports.GeometrySetRelationshipDataTypeEnum = exports.FileRelationshipDataTypeEnum = exports.FileJobArchiveOperationTypeEnum = exports.FileCollectionMetadataDataTypeEnum = exports.ExportStateRelationshipDataTypeEnum = exports.ExportRelationshipDataTypeEnum = exports.DeselectOperationTypeEnum = exports.CreateSceneItemRequestDataAttributesResolutionRuleEnum = exports.CreateFileJobRequestDataTypeEnum = exports.CreateFileCollectionRequestDataTypeEnum = exports.ClearTransformOpTypeEnum = exports.ClearRepOpTypeEnum = exports.ClearRenOpTypeEnum = exports.ClearMaterialOpTypeEnum = exports.ChangeVisibilityOpTypeEnum = exports.ChangeTransformOpTypeEnum = exports.ChangeMaterialOpTypeEnum = exports.CameraFitTypeEnum = exports.BatchOperationRefTypeEnum = exports.BatchOperationOpEnum = void 0;
29
+ exports.PartRenditionsApiAxiosParamCreator = exports.Oauth2Api = exports.Oauth2ApiFactory = exports.Oauth2ApiFp = exports.Oauth2ApiAxiosParamCreator = exports.ModelViewsApi = exports.ModelViewsApiFactory = exports.ModelViewsApiFp = exports.ModelViewsApiAxiosParamCreator = exports.HitsApi = exports.HitsApiFactory = exports.HitsApiFp = exports.HitsApiAxiosParamCreator = exports.GeometrySetsApi = exports.GeometrySetsApiFactory = exports.GeometrySetsApiFp = exports.GeometrySetsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.FileJobsApi = exports.FileJobsApiFactory = exports.FileJobsApiFp = exports.FileJobsApiAxiosParamCreator = exports.FileCollectionsApi = exports.FileCollectionsApiFactory = exports.FileCollectionsApiFp = exports.FileCollectionsApiAxiosParamCreator = 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.ViewRepByPredefinedIdOpIdEnum = exports.ViewRepByPredefinedIdOpTypeEnum = exports.ViewRepByIdOpTypeEnum = void 0;
30
+ exports.SceneViewsApiFactory = exports.SceneViewsApiFp = exports.SceneViewsApiAxiosParamCreator = exports.SceneViewStatesApi = exports.SceneViewStatesApiFactory = exports.SceneViewStatesApiFp = exports.SceneViewStatesApiAxiosParamCreator = exports.SceneSynchronizationsApi = exports.SceneSynchronizationsApiFactory = exports.SceneSynchronizationsApiFp = exports.SceneSynchronizationsApiAxiosParamCreator = exports.SceneItemsApi = exports.SceneItemsApiFactory = exports.SceneItemsApiFp = exports.SceneItemsApiAxiosParamCreator = exports.SceneItemOverridesApi = exports.SceneItemOverridesApiFactory = exports.SceneItemOverridesApiFp = exports.SceneItemOverridesApiAxiosParamCreator = exports.SceneAnnotationsApi = exports.SceneAnnotationsApiFactory = exports.SceneAnnotationsApiFp = exports.SceneAnnotationsApiAxiosParamCreator = exports.SceneAlterationsApi = exports.SceneAlterationsApiFactory = exports.SceneAlterationsApiFp = exports.SceneAlterationsApiAxiosParamCreator = exports.PropertyEntriesApi = exports.PropertyEntriesApiFactory = exports.PropertyEntriesApiFp = exports.PropertyEntriesApiAxiosParamCreator = exports.PmiApi = exports.PmiApiFactory = exports.PmiApiFp = exports.PmiApiAxiosParamCreator = exports.PartsApi = exports.PartsApiFactory = exports.PartsApiFp = exports.PartsApiAxiosParamCreator = exports.PartRevisionsApi = exports.PartRevisionsApiFactory = exports.PartRevisionsApiFp = exports.PartRevisionsApiAxiosParamCreator = exports.PartRevisionInstancesApi = exports.PartRevisionInstancesApiFactory = exports.PartRevisionInstancesApiFp = exports.PartRevisionInstancesApiAxiosParamCreator = exports.PartRenditionsApi = exports.PartRenditionsApiFactory = exports.PartRenditionsApiFp = void 0;
31
+ exports.WebhookSubscriptionsApi = exports.WebhookSubscriptionsApiFactory = exports.WebhookSubscriptionsApiFp = exports.WebhookSubscriptionsApiAxiosParamCreator = exports.TranslationInspectionsApi = exports.TranslationInspectionsApiFactory = exports.TranslationInspectionsApiFp = exports.TranslationInspectionsApiAxiosParamCreator = exports.StreamKeysApi = exports.StreamKeysApiFactory = exports.StreamKeysApiFp = exports.StreamKeysApiAxiosParamCreator = exports.ScenesApi = exports.ScenesApiFactory = exports.ScenesApiFp = exports.ScenesApiAxiosParamCreator = exports.SceneViewsApi = void 0;
32
32
  const axios_1 = __importDefault(require("axios"));
33
33
  // Some imports not used depending on template conditions
34
34
  // @ts-ignore
@@ -69,6 +69,14 @@ exports.ClearTransformOpTypeEnum = {
69
69
  exports.CreateFileCollectionRequestDataTypeEnum = {
70
70
  FileCollection: 'file-collection',
71
71
  };
72
+ exports.CreateFileJobRequestDataTypeEnum = {
73
+ FileJob: 'file-job',
74
+ };
75
+ exports.CreateSceneItemRequestDataAttributesResolutionRuleEnum = {
76
+ AsSpecified: 'as-specified',
77
+ LatestIteration: 'latest-iteration',
78
+ LatestRevision: 'latest-revision',
79
+ };
72
80
  exports.DeselectOperationTypeEnum = {
73
81
  Deselect: 'deselect',
74
82
  };
@@ -81,6 +89,9 @@ exports.ExportStateRelationshipDataTypeEnum = {
81
89
  exports.FileCollectionMetadataDataTypeEnum = {
82
90
  FileCollection: 'file-collection',
83
91
  };
92
+ exports.FileJobArchiveOperationTypeEnum = {
93
+ FileArchiveOperation: 'file-archive-operation',
94
+ };
84
95
  exports.FileRelationshipDataTypeEnum = {
85
96
  File: 'file',
86
97
  };
@@ -151,6 +162,12 @@ exports.SceneViewRelationshipDataTypeEnum = {
151
162
  exports.SceneViewStateRelationshipDataTypeEnum = {
152
163
  SceneViewState: 'scene-view-state',
153
164
  };
165
+ exports.SelectFileByIdTypeEnum = {
166
+ FileById: 'file-by-id',
167
+ };
168
+ exports.SelectFileBySuppliedIdTypeEnum = {
169
+ FileBySuppliedId: 'file-by-supplied-id',
170
+ };
154
171
  exports.SelectOpTypeEnum = {
155
172
  Select: 'select',
156
173
  };
@@ -1664,6 +1681,41 @@ const FileCollectionsApiAxiosParamCreator = function (configuration) {
1664
1681
  options: localVarRequestOptions,
1665
1682
  };
1666
1683
  }),
1684
+ /**
1685
+ * Remove a file from a `file-collection`.
1686
+ * @param {string} id The `file-collection` ID.
1687
+ * @param {string} [filterFileId] Comma-separated list of file-ids to filter on.
1688
+ * @param {*} [options] Override http request option.
1689
+ * @throws {RequiredError}
1690
+ */
1691
+ removeFileCollectionFiles: (id, filterFileId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1692
+ var _g;
1693
+ // verify required parameter 'id' is not null or undefined
1694
+ (0, common_1.assertParamExists)('removeFileCollectionFiles', 'id', id);
1695
+ const localVarPath = `/file-collections/{id}/files`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
1696
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1697
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1698
+ let baseOptions;
1699
+ if (configuration) {
1700
+ baseOptions = configuration.baseOptions;
1701
+ }
1702
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1703
+ const localVarHeaderParameter = {};
1704
+ const localVarQueryParameter = {};
1705
+ // authentication OAuth2 required
1706
+ // oauth required
1707
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
1708
+ if (filterFileId !== undefined) {
1709
+ localVarQueryParameter['filter[fileId]'] = filterFileId;
1710
+ }
1711
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1712
+ let headersFromBaseOptions = (_g = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _g !== void 0 ? _g : {};
1713
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1714
+ return {
1715
+ url: (0, common_1.toPathString)(localVarUrlObj),
1716
+ options: localVarRequestOptions,
1717
+ };
1718
+ }),
1667
1719
  /**
1668
1720
  * Update a `file-collection`.
1669
1721
  * @param {string} id The `file-collection` ID.
@@ -1672,7 +1724,7 @@ const FileCollectionsApiAxiosParamCreator = function (configuration) {
1672
1724
  * @throws {RequiredError}
1673
1725
  */
1674
1726
  updateFileCollection: (id, updateFileCollectionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1675
- var _g;
1727
+ var _h;
1676
1728
  // verify required parameter 'id' is not null or undefined
1677
1729
  (0, common_1.assertParamExists)('updateFileCollection', 'id', id);
1678
1730
  // verify required parameter 'updateFileCollectionRequest' is not null or undefined
@@ -1692,7 +1744,7 @@ const FileCollectionsApiAxiosParamCreator = function (configuration) {
1692
1744
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
1693
1745
  localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
1694
1746
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1695
- let headersFromBaseOptions = (_g = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _g !== void 0 ? _g : {};
1747
+ let headersFromBaseOptions = (_h = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _h !== void 0 ? _h : {};
1696
1748
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1697
1749
  localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateFileCollectionRequest, localVarRequestOptions, configuration);
1698
1750
  return {
@@ -1787,6 +1839,19 @@ const FileCollectionsApiFp = function (configuration) {
1787
1839
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1788
1840
  });
1789
1841
  },
1842
+ /**
1843
+ * Remove a file from a `file-collection`.
1844
+ * @param {string} id The `file-collection` ID.
1845
+ * @param {string} [filterFileId] Comma-separated list of file-ids to filter on.
1846
+ * @param {*} [options] Override http request option.
1847
+ * @throws {RequiredError}
1848
+ */
1849
+ removeFileCollectionFiles(id, filterFileId, options) {
1850
+ return __awaiter(this, void 0, void 0, function* () {
1851
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeFileCollectionFiles(id, filterFileId, options);
1852
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1853
+ });
1854
+ },
1790
1855
  /**
1791
1856
  * Update a `file-collection`.
1792
1857
  * @param {string} id The `file-collection` ID.
@@ -1881,6 +1946,18 @@ const FileCollectionsApiFactory = function (configuration, basePath, axios) {
1881
1946
  .listFileCollections(pageCursor, pageSize, filterSuppliedId, options)
1882
1947
  .then((request) => request(axios, basePath));
1883
1948
  },
1949
+ /**
1950
+ * Remove a file from a `file-collection`.
1951
+ * @param {string} id The `file-collection` ID.
1952
+ * @param {string} [filterFileId] Comma-separated list of file-ids to filter on.
1953
+ * @param {*} [options] Override http request option.
1954
+ * @throws {RequiredError}
1955
+ */
1956
+ removeFileCollectionFiles(id, filterFileId, options) {
1957
+ return localVarFp
1958
+ .removeFileCollectionFiles(id, filterFileId, options)
1959
+ .then((request) => request(axios, basePath));
1960
+ },
1884
1961
  /**
1885
1962
  * Update a `file-collection`.
1886
1963
  * @param {string} id The `file-collection` ID.
@@ -1975,6 +2052,18 @@ class FileCollectionsApi extends base_1.BaseAPI {
1975
2052
  .listFileCollections(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterSuppliedId, options)
1976
2053
  .then((request) => request(this.axios, this.basePath));
1977
2054
  }
2055
+ /**
2056
+ * Remove a file from a `file-collection`.
2057
+ * @param {FileCollectionsApiRemoveFileCollectionFilesRequest} requestParameters Request parameters.
2058
+ * @param {*} [options] Override http request option.
2059
+ * @throws {RequiredError}
2060
+ * @memberof FileCollectionsApi
2061
+ */
2062
+ removeFileCollectionFiles(requestParameters, options) {
2063
+ return (0, exports.FileCollectionsApiFp)(this.configuration)
2064
+ .removeFileCollectionFiles(requestParameters.id, requestParameters.filterFileId, options)
2065
+ .then((request) => request(this.axios, this.basePath));
2066
+ }
1978
2067
  /**
1979
2068
  * Update a `file-collection`.
1980
2069
  * @param {FileCollectionsApiUpdateFileCollectionRequest} requestParameters Request parameters.
@@ -1989,6 +2078,178 @@ class FileCollectionsApi extends base_1.BaseAPI {
1989
2078
  }
1990
2079
  }
1991
2080
  exports.FileCollectionsApi = FileCollectionsApi;
2081
+ /**
2082
+ * FileJobsApi - axios parameter creator
2083
+ * @export
2084
+ */
2085
+ const FileJobsApiAxiosParamCreator = function (configuration) {
2086
+ return {
2087
+ /**
2088
+ * Create a `file-job`.
2089
+ * @param {CreateFileJobRequest} createFileJobRequest
2090
+ * @param {*} [options] Override http request option.
2091
+ * @throws {RequiredError}
2092
+ */
2093
+ createFileJob: (createFileJobRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2094
+ var _a;
2095
+ // verify required parameter 'createFileJobRequest' is not null or undefined
2096
+ (0, common_1.assertParamExists)('createFileJob', 'createFileJobRequest', createFileJobRequest);
2097
+ const localVarPath = `/file-jobs`;
2098
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2099
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2100
+ let baseOptions;
2101
+ if (configuration) {
2102
+ baseOptions = configuration.baseOptions;
2103
+ }
2104
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2105
+ const localVarHeaderParameter = {};
2106
+ const localVarQueryParameter = {};
2107
+ // authentication OAuth2 required
2108
+ // oauth required
2109
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
2110
+ localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
2111
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2112
+ let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
2113
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2114
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createFileJobRequest, localVarRequestOptions, configuration);
2115
+ return {
2116
+ url: (0, common_1.toPathString)(localVarUrlObj),
2117
+ options: localVarRequestOptions,
2118
+ };
2119
+ }),
2120
+ /**
2121
+ * Get the status and result of a `file-job`.
2122
+ * @param {string} id The ID of a file job.
2123
+ * @param {*} [options] Override http request option.
2124
+ * @throws {RequiredError}
2125
+ */
2126
+ getFileJob: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
2127
+ var _b;
2128
+ // verify required parameter 'id' is not null or undefined
2129
+ (0, common_1.assertParamExists)('getFileJob', 'id', id);
2130
+ const localVarPath = `/file-jobs/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
2131
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2132
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2133
+ let baseOptions;
2134
+ if (configuration) {
2135
+ baseOptions = configuration.baseOptions;
2136
+ }
2137
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2138
+ const localVarHeaderParameter = {};
2139
+ const localVarQueryParameter = {};
2140
+ // authentication OAuth2 required
2141
+ // oauth required
2142
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
2143
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2144
+ let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
2145
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2146
+ return {
2147
+ url: (0, common_1.toPathString)(localVarUrlObj),
2148
+ options: localVarRequestOptions,
2149
+ };
2150
+ }),
2151
+ };
2152
+ };
2153
+ exports.FileJobsApiAxiosParamCreator = FileJobsApiAxiosParamCreator;
2154
+ /**
2155
+ * FileJobsApi - functional programming interface
2156
+ * @export
2157
+ */
2158
+ const FileJobsApiFp = function (configuration) {
2159
+ const localVarAxiosParamCreator = (0, exports.FileJobsApiAxiosParamCreator)(configuration);
2160
+ return {
2161
+ /**
2162
+ * Create a `file-job`.
2163
+ * @param {CreateFileJobRequest} createFileJobRequest
2164
+ * @param {*} [options] Override http request option.
2165
+ * @throws {RequiredError}
2166
+ */
2167
+ createFileJob(createFileJobRequest, options) {
2168
+ return __awaiter(this, void 0, void 0, function* () {
2169
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createFileJob(createFileJobRequest, options);
2170
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2171
+ });
2172
+ },
2173
+ /**
2174
+ * Get the status and result of a `file-job`.
2175
+ * @param {string} id The ID of a file job.
2176
+ * @param {*} [options] Override http request option.
2177
+ * @throws {RequiredError}
2178
+ */
2179
+ getFileJob(id, options) {
2180
+ return __awaiter(this, void 0, void 0, function* () {
2181
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFileJob(id, options);
2182
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2183
+ });
2184
+ },
2185
+ };
2186
+ };
2187
+ exports.FileJobsApiFp = FileJobsApiFp;
2188
+ /**
2189
+ * FileJobsApi - factory interface
2190
+ * @export
2191
+ */
2192
+ const FileJobsApiFactory = function (configuration, basePath, axios) {
2193
+ const localVarFp = (0, exports.FileJobsApiFp)(configuration);
2194
+ return {
2195
+ /**
2196
+ * Create a `file-job`.
2197
+ * @param {CreateFileJobRequest} createFileJobRequest
2198
+ * @param {*} [options] Override http request option.
2199
+ * @throws {RequiredError}
2200
+ */
2201
+ createFileJob(createFileJobRequest, options) {
2202
+ return localVarFp
2203
+ .createFileJob(createFileJobRequest, options)
2204
+ .then((request) => request(axios, basePath));
2205
+ },
2206
+ /**
2207
+ * Get the status and result of a `file-job`.
2208
+ * @param {string} id The ID of a file job.
2209
+ * @param {*} [options] Override http request option.
2210
+ * @throws {RequiredError}
2211
+ */
2212
+ getFileJob(id, options) {
2213
+ return localVarFp
2214
+ .getFileJob(id, options)
2215
+ .then((request) => request(axios, basePath));
2216
+ },
2217
+ };
2218
+ };
2219
+ exports.FileJobsApiFactory = FileJobsApiFactory;
2220
+ /**
2221
+ * FileJobsApi - object-oriented interface
2222
+ * @export
2223
+ * @class FileJobsApi
2224
+ * @extends {BaseAPI}
2225
+ */
2226
+ class FileJobsApi extends base_1.BaseAPI {
2227
+ /**
2228
+ * Create a `file-job`.
2229
+ * @param {FileJobsApiCreateFileJobRequest} requestParameters Request parameters.
2230
+ * @param {*} [options] Override http request option.
2231
+ * @throws {RequiredError}
2232
+ * @memberof FileJobsApi
2233
+ */
2234
+ createFileJob(requestParameters, options) {
2235
+ return (0, exports.FileJobsApiFp)(this.configuration)
2236
+ .createFileJob(requestParameters.createFileJobRequest, options)
2237
+ .then((request) => request(this.axios, this.basePath));
2238
+ }
2239
+ /**
2240
+ * Get the status and result of a `file-job`.
2241
+ * @param {FileJobsApiGetFileJobRequest} requestParameters Request parameters.
2242
+ * @param {*} [options] Override http request option.
2243
+ * @throws {RequiredError}
2244
+ * @memberof FileJobsApi
2245
+ */
2246
+ getFileJob(requestParameters, options) {
2247
+ return (0, exports.FileJobsApiFp)(this.configuration)
2248
+ .getFileJob(requestParameters.id, options)
2249
+ .then((request) => request(this.axios, this.basePath));
2250
+ }
2251
+ }
2252
+ exports.FileJobsApi = FileJobsApi;
1992
2253
  /**
1993
2254
  * FilesApi - axios parameter creator
1994
2255
  * @export
@@ -3610,7 +3871,7 @@ exports.Oauth2Api = Oauth2Api;
3610
3871
  const PartRenditionsApiAxiosParamCreator = function (configuration) {
3611
3872
  return {
3612
3873
  /**
3613
- *
3874
+ * Creates a part-rendition associated with a part-revision
3614
3875
  * @param {string} id The `part-revision` ID.
3615
3876
  * @param {CreatePartRenditionRequest} createPartRenditionRequest
3616
3877
  * @param {*} [options] Override http request option.
@@ -3731,7 +3992,7 @@ const PartRenditionsApiFp = function (configuration) {
3731
3992
  const localVarAxiosParamCreator = (0, exports.PartRenditionsApiAxiosParamCreator)(configuration);
3732
3993
  return {
3733
3994
  /**
3734
- *
3995
+ * Creates a part-rendition associated with a part-revision
3735
3996
  * @param {string} id The `part-revision` ID.
3736
3997
  * @param {CreatePartRenditionRequest} createPartRenditionRequest
3737
3998
  * @param {*} [options] Override http request option.
@@ -3781,7 +4042,7 @@ const PartRenditionsApiFactory = function (configuration, basePath, axios) {
3781
4042
  const localVarFp = (0, exports.PartRenditionsApiFp)(configuration);
3782
4043
  return {
3783
4044
  /**
3784
- *
4045
+ * Creates a part-rendition associated with a part-revision
3785
4046
  * @param {string} id The `part-revision` ID.
3786
4047
  * @param {CreatePartRenditionRequest} createPartRenditionRequest
3787
4048
  * @param {*} [options] Override http request option.
@@ -3828,7 +4089,7 @@ exports.PartRenditionsApiFactory = PartRenditionsApiFactory;
3828
4089
  */
3829
4090
  class PartRenditionsApi extends base_1.BaseAPI {
3830
4091
  /**
3831
- *
4092
+ * Creates a part-rendition associated with a part-revision
3832
4093
  * @param {PartRenditionsApiCreatePartRenditionRequest} requestParameters Request parameters.
3833
4094
  * @param {*} [options] Override http request option.
3834
4095
  * @throws {RequiredError}
@@ -3872,7 +4133,7 @@ exports.PartRenditionsApi = PartRenditionsApi;
3872
4133
  const PartRevisionInstancesApiAxiosParamCreator = function (configuration) {
3873
4134
  return {
3874
4135
  /**
3875
- * 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.
4136
+ * 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.
3876
4137
  * @param {string} [filterParent] Parent ID to filter on.
3877
4138
  * @param {string} [pageCursor] The cursor for the next page of items.
3878
4139
  * @param {number} [pageSize] The number of items to return.
@@ -3922,7 +4183,7 @@ const PartRevisionInstancesApiFp = function (configuration) {
3922
4183
  const localVarAxiosParamCreator = (0, exports.PartRevisionInstancesApiAxiosParamCreator)(configuration);
3923
4184
  return {
3924
4185
  /**
3925
- * 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.
4186
+ * 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.
3926
4187
  * @param {string} [filterParent] Parent ID to filter on.
3927
4188
  * @param {string} [pageCursor] The cursor for the next page of items.
3928
4189
  * @param {number} [pageSize] The number of items to return.
@@ -3946,7 +4207,7 @@ const PartRevisionInstancesApiFactory = function (configuration, basePath, axios
3946
4207
  const localVarFp = (0, exports.PartRevisionInstancesApiFp)(configuration);
3947
4208
  return {
3948
4209
  /**
3949
- * 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.
4210
+ * 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.
3950
4211
  * @param {string} [filterParent] Parent ID to filter on.
3951
4212
  * @param {string} [pageCursor] The cursor for the next page of items.
3952
4213
  * @param {number} [pageSize] The number of items to return.
@@ -3969,7 +4230,7 @@ exports.PartRevisionInstancesApiFactory = PartRevisionInstancesApiFactory;
3969
4230
  */
3970
4231
  class PartRevisionInstancesApi extends base_1.BaseAPI {
3971
4232
  /**
3972
- * 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.
4233
+ * 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.
3973
4234
  * @param {PartRevisionInstancesApiGetPartRevisionInstanceListRequest} requestParameters Request parameters.
3974
4235
  * @param {*} [options] Override http request option.
3975
4236
  * @throws {RequiredError}
@@ -4214,7 +4475,7 @@ const PartRevisionsApiAxiosParamCreator = function (configuration) {
4214
4475
  };
4215
4476
  }),
4216
4477
  /**
4217
- * 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.
4478
+ * 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.
4218
4479
  * @param {string} id The `part-revision` ID.
4219
4480
  * @param {UpdatePartRevisionRequest} updatePartRevisionRequest
4220
4481
  * @param {*} [options] Override http request option.
@@ -4336,7 +4597,7 @@ const PartRevisionsApiFp = function (configuration) {
4336
4597
  });
4337
4598
  },
4338
4599
  /**
4339
- * 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.
4600
+ * 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.
4340
4601
  * @param {string} id The `part-revision` ID.
4341
4602
  * @param {UpdatePartRevisionRequest} updatePartRevisionRequest
4342
4603
  * @param {*} [options] Override http request option.
@@ -4430,7 +4691,7 @@ const PartRevisionsApiFactory = function (configuration, basePath, axios) {
4430
4691
  .then((request) => request(axios, basePath));
4431
4692
  },
4432
4693
  /**
4433
- * 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.
4694
+ * 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.
4434
4695
  * @param {string} id The `part-revision` ID.
4435
4696
  * @param {UpdatePartRevisionRequest} updatePartRevisionRequest
4436
4697
  * @param {*} [options] Override http request option.
@@ -4512,7 +4773,7 @@ class PartRevisionsApi extends base_1.BaseAPI {
4512
4773
  .then((request) => request(this.axios, this.basePath));
4513
4774
  }
4514
4775
  /**
4515
- * 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.
4776
+ * 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.
4516
4777
  * @param {PartRevisionsApiUpdatePartRevisionRequest} requestParameters Request parameters.
4517
4778
  * @param {*} [options] Override http request option.
4518
4779
  * @throws {RequiredError}
@@ -4532,7 +4793,7 @@ exports.PartRevisionsApi = PartRevisionsApi;
4532
4793
  const PartsApiAxiosParamCreator = function (configuration) {
4533
4794
  return {
4534
4795
  /**
4535
- * 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.
4796
+ * 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.
4536
4797
  * @param {CreatePartRequest} createPartRequest
4537
4798
  * @param {*} [options] Override http request option.
4538
4799
  * @throws {RequiredError}
@@ -4712,7 +4973,7 @@ const PartsApiFp = function (configuration) {
4712
4973
  const localVarAxiosParamCreator = (0, exports.PartsApiAxiosParamCreator)(configuration);
4713
4974
  return {
4714
4975
  /**
4715
- * 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.
4976
+ * 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.
4716
4977
  * @param {CreatePartRequest} createPartRequest
4717
4978
  * @param {*} [options] Override http request option.
4718
4979
  * @throws {RequiredError}
@@ -4785,7 +5046,7 @@ const PartsApiFactory = function (configuration, basePath, axios) {
4785
5046
  const localVarFp = (0, exports.PartsApiFp)(configuration);
4786
5047
  return {
4787
5048
  /**
4788
- * 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.
5049
+ * 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.
4789
5050
  * @param {CreatePartRequest} createPartRequest
4790
5051
  * @param {*} [options] Override http request option.
4791
5052
  * @throws {RequiredError}
@@ -4853,7 +5114,7 @@ exports.PartsApiFactory = PartsApiFactory;
4853
5114
  */
4854
5115
  class PartsApi extends base_1.BaseAPI {
4855
5116
  /**
4856
- * 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.
5117
+ * 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.
4857
5118
  * @param {PartsApiCreatePartRequest} requestParameters Request parameters.
4858
5119
  * @param {*} [options] Override http request option.
4859
5120
  * @throws {RequiredError}
@@ -5038,7 +5299,7 @@ exports.PmiApi = PmiApi;
5038
5299
  const PropertyEntriesApiAxiosParamCreator = function (configuration) {
5039
5300
  return {
5040
5301
  /**
5041
- * Get `property-entries` by a resource ID **Preview:** This is a preview API and is subject to change.
5302
+ * Get `property-entries` by a resource ID
5042
5303
  * @param {string} [pageCursor] The cursor for the next page of items.
5043
5304
  * @param {number} [pageSize] The number of items to return.
5044
5305
  * @param {string} [filterResourceId] A resource ID to filter on
@@ -5082,7 +5343,7 @@ const PropertyEntriesApiAxiosParamCreator = function (configuration) {
5082
5343
  };
5083
5344
  }),
5084
5345
  /**
5085
- * Upsert property-entries for a provided resource. **Preview:** This is a preview API and is subject to change.
5346
+ * Upsert property-entries for a provided resource.
5086
5347
  * @param {UpsertPropertyEntriesRequest} upsertPropertyEntriesRequest
5087
5348
  * @param {*} [options] Override http request option.
5088
5349
  * @throws {RequiredError}
@@ -5125,7 +5386,7 @@ const PropertyEntriesApiFp = function (configuration) {
5125
5386
  const localVarAxiosParamCreator = (0, exports.PropertyEntriesApiAxiosParamCreator)(configuration);
5126
5387
  return {
5127
5388
  /**
5128
- * Get `property-entries` by a resource ID **Preview:** This is a preview API and is subject to change.
5389
+ * Get `property-entries` by a resource ID
5129
5390
  * @param {string} [pageCursor] The cursor for the next page of items.
5130
5391
  * @param {number} [pageSize] The number of items to return.
5131
5392
  * @param {string} [filterResourceId] A resource ID to filter on
@@ -5140,7 +5401,7 @@ const PropertyEntriesApiFp = function (configuration) {
5140
5401
  });
5141
5402
  },
5142
5403
  /**
5143
- * Upsert property-entries for a provided resource. **Preview:** This is a preview API and is subject to change.
5404
+ * Upsert property-entries for a provided resource.
5144
5405
  * @param {UpsertPropertyEntriesRequest} upsertPropertyEntriesRequest
5145
5406
  * @param {*} [options] Override http request option.
5146
5407
  * @throws {RequiredError}
@@ -5162,7 +5423,7 @@ const PropertyEntriesApiFactory = function (configuration, basePath, axios) {
5162
5423
  const localVarFp = (0, exports.PropertyEntriesApiFp)(configuration);
5163
5424
  return {
5164
5425
  /**
5165
- * Get `property-entries` by a resource ID **Preview:** This is a preview API and is subject to change.
5426
+ * Get `property-entries` by a resource ID
5166
5427
  * @param {string} [pageCursor] The cursor for the next page of items.
5167
5428
  * @param {number} [pageSize] The number of items to return.
5168
5429
  * @param {string} [filterResourceId] A resource ID to filter on
@@ -5176,7 +5437,7 @@ const PropertyEntriesApiFactory = function (configuration, basePath, axios) {
5176
5437
  .then((request) => request(axios, basePath));
5177
5438
  },
5178
5439
  /**
5179
- * Upsert property-entries for a provided resource. **Preview:** This is a preview API and is subject to change.
5440
+ * Upsert property-entries for a provided resource.
5180
5441
  * @param {UpsertPropertyEntriesRequest} upsertPropertyEntriesRequest
5181
5442
  * @param {*} [options] Override http request option.
5182
5443
  * @throws {RequiredError}
@@ -5197,7 +5458,7 @@ exports.PropertyEntriesApiFactory = PropertyEntriesApiFactory;
5197
5458
  */
5198
5459
  class PropertyEntriesApi extends base_1.BaseAPI {
5199
5460
  /**
5200
- * Get `property-entries` by a resource ID **Preview:** This is a preview API and is subject to change.
5461
+ * Get `property-entries` by a resource ID
5201
5462
  * @param {PropertyEntriesApiGetPropertyEntriesRequest} requestParameters Request parameters.
5202
5463
  * @param {*} [options] Override http request option.
5203
5464
  * @throws {RequiredError}
@@ -5209,7 +5470,7 @@ class PropertyEntriesApi extends base_1.BaseAPI {
5209
5470
  .then((request) => request(this.axios, this.basePath));
5210
5471
  }
5211
5472
  /**
5212
- * Upsert property-entries for a provided resource. **Preview:** This is a preview API and is subject to change.
5473
+ * Upsert property-entries for a provided resource.
5213
5474
  * @param {PropertyEntriesApiUpsertPropertyEntriesRequest} requestParameters Request parameters.
5214
5475
  * @param {*} [options] Override http request option.
5215
5476
  * @throws {RequiredError}
@@ -1 +1 @@
1
- export declare const version = "0.26.0";
1
+ export declare const version = "0.30.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = '0.26.0';
4
+ exports.version = '0.30.0';