From 6ba54e5144c430bc876b43a72b7569caebbfdbce Mon Sep 17 00:00:00 2001 From: Madison Ehlers Date: Tue, 7 Jul 2026 16:51:17 -0500 Subject: [PATCH 1/2] [PLAT-8733] Latest API Changes --- api.ts | 1712 +++++++++++++++++++++++++++++++++++++++++++++++++- package.json | 6 +- spec.yml | 1106 ++++++++++++++++++++++++++++---- yarn.lock | 87 +-- 4 files changed, 2724 insertions(+), 187 deletions(-) diff --git a/api.ts b/api.ts index db9e365..7fc4ec8 100644 --- a/api.ts +++ b/api.ts @@ -2375,6 +2375,71 @@ export const CreatePermissionGrantDataAttributesCapabilityEnum = { export type CreatePermissionGrantDataAttributesCapabilityEnum = (typeof CreatePermissionGrantDataAttributesCapabilityEnum)[keyof typeof CreatePermissionGrantDataAttributesCapabilityEnum]; +/** + * + * @export + * @interface CreatePropertyKeyPolicyRequest + */ +export interface CreatePropertyKeyPolicyRequest { + /** + * + * @type {CreatePropertyKeyPolicyRequestData} + * @memberof CreatePropertyKeyPolicyRequest + */ + data: CreatePropertyKeyPolicyRequestData; +} +/** + * + * @export + * @interface CreatePropertyKeyPolicyRequestData + */ +export interface CreatePropertyKeyPolicyRequestData { + /** + * + * @type {string} + * @memberof CreatePropertyKeyPolicyRequestData + */ + type: CreatePropertyKeyPolicyRequestDataTypeEnum; + /** + * + * @type {CreatePropertyKeyPolicyRequestDataAttributes} + * @memberof CreatePropertyKeyPolicyRequestData + */ + attributes?: CreatePropertyKeyPolicyRequestDataAttributes; +} + +export const CreatePropertyKeyPolicyRequestDataTypeEnum = { + PropertyKeyPolicy: 'property-key-policy', +} as const; + +export type CreatePropertyKeyPolicyRequestDataTypeEnum = + (typeof CreatePropertyKeyPolicyRequestDataTypeEnum)[keyof typeof CreatePropertyKeyPolicyRequestDataTypeEnum]; + +/** + * + * @export + * @interface CreatePropertyKeyPolicyRequestDataAttributes + */ +export interface CreatePropertyKeyPolicyRequestDataAttributes { + /** + * ID provided for correlation with external systems, e.g. a PLM system. + * @type {string} + * @memberof CreatePropertyKeyPolicyRequestDataAttributes + */ + suppliedId?: string; + /** + * + * @type {string} + * @memberof CreatePropertyKeyPolicyRequestDataAttributes + */ + name?: string; + /** + * + * @type {PropertyKeyPolicyMode} + * @memberof CreatePropertyKeyPolicyRequestDataAttributes + */ + mode?: PropertyKeyPolicyMode; +} /** * * @export @@ -3360,6 +3425,12 @@ export interface CreateStreamKeyRequestDataAttributes { * @memberof CreateStreamKeyRequestDataAttributes */ sceneViewStateId?: string; + /** + * An optional ID specifying the `property-key-policy` to apply to JWTs generated from this `stream-key`. + * @type {string} + * @memberof CreateStreamKeyRequestDataAttributes + */ + propertyKeyPolicyId?: string; /** * Optionally enables or disables the creation of a search session for the view. The default creates a session for the scene-view * @type {boolean} @@ -5272,7 +5343,7 @@ export interface MaterialOverride { value?: ColorMaterial; } /** - * 4x4 affine transformation matrix, see [Matrix transformations](https://developer.vertex3d.com/docs/guides/matrix-transformations) for details. + * 4x4 affine transformation matrix. * @export * @interface Matrix4 */ @@ -6924,10 +6995,10 @@ export interface PropertyEntryDataAttributes { | PropertyDateType; /** * - * @type {PropertyKeyType} + * @type {PropertyKey} * @memberof PropertyEntryDataAttributes */ - key: PropertyKeyType; + key: PropertyKey; } /** * @@ -6951,16 +7022,268 @@ export interface PropertyEntryList { /** * * @export - * @interface PropertyKeyType + * @interface PropertyKey */ -export interface PropertyKeyType { +export interface PropertyKey { /** * * @type {string} - * @memberof PropertyKeyType + * @memberof PropertyKey */ name: string; } +/** + * + * @export + * @interface PropertyKeyPolicy + */ +export interface PropertyKeyPolicy { + /** + * + * @type {PropertyKeyPolicyData} + * @memberof PropertyKeyPolicy + */ + data: PropertyKeyPolicyData; + /** + * + * @type {{ [key: string]: Link; }} + * @memberof PropertyKeyPolicy + */ + links?: { [key: string]: Link }; +} +/** + * + * @export + * @interface PropertyKeyPolicyData + */ +export interface PropertyKeyPolicyData { + /** + * + * @type {string} + * @memberof PropertyKeyPolicyData + */ + type: PropertyKeyPolicyDataTypeEnum; + /** + * ID of the resource. + * @type {string} + * @memberof PropertyKeyPolicyData + */ + id: string; + /** + * + * @type {PropertyKeyPolicyDataAttributes} + * @memberof PropertyKeyPolicyData + */ + attributes: PropertyKeyPolicyDataAttributes; + /** + * + * @type {{ [key: string]: Link; }} + * @memberof PropertyKeyPolicyData + */ + links?: { [key: string]: Link }; +} + +export const PropertyKeyPolicyDataTypeEnum = { + PropertyKeyPolicy: 'property-key-policy', +} as const; + +export type PropertyKeyPolicyDataTypeEnum = + (typeof PropertyKeyPolicyDataTypeEnum)[keyof typeof PropertyKeyPolicyDataTypeEnum]; + +/** + * + * @export + * @interface PropertyKeyPolicyDataAttributes + */ +export interface PropertyKeyPolicyDataAttributes { + /** + * + * @type {string} + * @memberof PropertyKeyPolicyDataAttributes + */ + createdAt: string; + /** + * ID provided for correlation with external systems, e.g. a PLM system. + * @type {string} + * @memberof PropertyKeyPolicyDataAttributes + */ + suppliedId?: string; + /** + * + * @type {string} + * @memberof PropertyKeyPolicyDataAttributes + */ + name?: string; + /** + * + * @type {PropertyKeyPolicyMode} + * @memberof PropertyKeyPolicyDataAttributes + */ + mode: PropertyKeyPolicyMode; +} +/** + * + * @export + * @interface PropertyKeyPolicyEntryData + */ +export interface PropertyKeyPolicyEntryData { + /** + * + * @type {string} + * @memberof PropertyKeyPolicyEntryData + */ + type: PropertyKeyPolicyEntryDataTypeEnum; + /** + * + * @type {string} + * @memberof PropertyKeyPolicyEntryData + */ + id: string; + /** + * + * @type {PropertyKeyPolicyEntryDataAttributes} + * @memberof PropertyKeyPolicyEntryData + */ + attributes: PropertyKeyPolicyEntryDataAttributes; + /** + * + * @type {PropertyKeyPolicyEntryDataRelationships} + * @memberof PropertyKeyPolicyEntryData + */ + relationships: PropertyKeyPolicyEntryDataRelationships; + /** + * + * @type {{ [key: string]: Link; }} + * @memberof PropertyKeyPolicyEntryData + */ + links?: { [key: string]: Link }; +} + +export const PropertyKeyPolicyEntryDataTypeEnum = { + PropertyKeyPolicyEntry: 'property-key-policy-entry', +} as const; + +export type PropertyKeyPolicyEntryDataTypeEnum = + (typeof PropertyKeyPolicyEntryDataTypeEnum)[keyof typeof PropertyKeyPolicyEntryDataTypeEnum]; + +/** + * + * @export + * @interface PropertyKeyPolicyEntryDataAttributes + */ +export interface PropertyKeyPolicyEntryDataAttributes { + /** + * + * @type {PropertyKey} + * @memberof PropertyKeyPolicyEntryDataAttributes + */ + key: PropertyKey; +} +/** + * + * @export + * @interface PropertyKeyPolicyEntryDataRelationships + */ +export interface PropertyKeyPolicyEntryDataRelationships { + /** + * + * @type {PropertyKeyPolicyRelationship} + * @memberof PropertyKeyPolicyEntryDataRelationships + */ + propertyKeyPolicy: PropertyKeyPolicyRelationship; +} +/** + * + * @export + * @interface PropertyKeyPolicyEntryList + */ +export interface PropertyKeyPolicyEntryList { + /** + * + * @type {Array} + * @memberof PropertyKeyPolicyEntryList + */ + data: Array; + /** + * + * @type {{ [key: string]: Link; }} + * @memberof PropertyKeyPolicyEntryList + */ + links: { [key: string]: Link }; +} +/** + * + * @export + * @interface PropertyKeyPolicyList + */ +export interface PropertyKeyPolicyList { + /** + * + * @type {Array} + * @memberof PropertyKeyPolicyList + */ + data: Array; + /** + * + * @type {{ [key: string]: Link; }} + * @memberof PropertyKeyPolicyList + */ + links: { [key: string]: Link }; +} +/** + * + * @export + * @enum {string} + */ + +export const PropertyKeyPolicyMode = { + Allowlist: 'allowlist', + Denylist: 'denylist', +} as const; + +export type PropertyKeyPolicyMode = + (typeof PropertyKeyPolicyMode)[keyof typeof PropertyKeyPolicyMode]; + +/** + * Relationship to a `property-key-policy`. + * @export + * @interface PropertyKeyPolicyRelationship + */ +export interface PropertyKeyPolicyRelationship { + /** + * + * @type {PropertyKeyPolicyRelationshipData} + * @memberof PropertyKeyPolicyRelationship + */ + data: PropertyKeyPolicyRelationshipData; +} +/** + * + * @export + * @interface PropertyKeyPolicyRelationshipData + */ +export interface PropertyKeyPolicyRelationshipData { + /** + * Resource object type. + * @type {string} + * @memberof PropertyKeyPolicyRelationshipData + */ + type: PropertyKeyPolicyRelationshipDataTypeEnum; + /** + * ID of the resource. + * @type {string} + * @memberof PropertyKeyPolicyRelationshipData + */ + id: string; +} + +export const PropertyKeyPolicyRelationshipDataTypeEnum = { + PropertyKeyPolicy: 'property-key-policy', +} as const; + +export type PropertyKeyPolicyRelationshipDataTypeEnum = + (typeof PropertyKeyPolicyRelationshipDataTypeEnum)[keyof typeof PropertyKeyPolicyRelationshipDataTypeEnum]; + /** * * @export @@ -9862,6 +10185,12 @@ export interface StreamKeyDataAttributes { * @memberof StreamKeyDataAttributes */ sceneViewStateId?: string; + /** + * ID of the resource. + * @type {string} + * @memberof StreamKeyDataAttributes + */ + propertyKeyPolicyId?: string; } /** * @@ -11470,6 +11799,19 @@ export interface UpsertPropertyEntriesRequestDataRelationships { | SceneItemRelationship | PartInstanceRelationship; } +/** + * + * @export + * @interface UpsertPropertyKeyPolicyEntriesRequest + */ +export interface UpsertPropertyKeyPolicyEntriesRequest { + /** + * + * @type {Array} + * @memberof UpsertPropertyKeyPolicyEntriesRequest + */ + data: Array; +} /** * * @export @@ -18655,14 +18997,22 @@ export const FilesApiAxiosParamCreator = function ( * Get `files`. * @param {string} [pageCursor] The cursor for the next page of items. * @param {number} [pageSize] The number of items to return. - * @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on. + * @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order. + * @param {FilterExpression} [filterName] A filter expression for the `name` to filter on. + * @param {FilterExpression} [filterFileId] A filter expression for the `fileId` to filter on. + * @param {string | FilterExpression} [filterSuppliedId] A filter for the `suppliedId`. The canonical form is a filter expression such as `filter[suppliedId][contains]=...`. The deprecated legacy `filter[suppliedId]=id-1,id-2` exact-match CSV form is also accepted for backwards compatibility. + * @param {FilterExpression} [filterCreatedAt] A filter expression for the `createdAt` to filter on. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFiles: async ( pageCursor?: string, pageSize?: number, - filterSuppliedId?: string, + sort?: string, + filterName?: FilterExpression, + filterFileId?: FilterExpression, + filterSuppliedId?: string | FilterExpression, + filterCreatedAt?: FilterExpression, options: AxiosRequestConfig = {} ): Promise => { const localVarPath = `/files`; @@ -18698,10 +19048,26 @@ export const FilesApiAxiosParamCreator = function ( localVarQueryParameter['page[size]'] = pageSize; } + if (sort !== undefined) { + localVarQueryParameter['sort'] = sort; + } + + if (filterName !== undefined) { + localVarQueryParameter['filter[name]'] = filterName; + } + + if (filterFileId !== undefined) { + localVarQueryParameter['filter[fileId]'] = filterFileId; + } + if (filterSuppliedId !== undefined) { localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId; } + if (filterCreatedAt !== undefined) { + localVarQueryParameter['filter[createdAt]'] = filterCreatedAt; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions?.headers ?? {}; localVarRequestOptions.headers = { @@ -18716,21 +19082,86 @@ export const FilesApiAxiosParamCreator = function ( }; }, /** - * Update a `file`. + * List `file-collection` IDs associated with a `file`. * @param {string} id The `file` ID. - * @param {UpdateFileRequest} updateFileRequest + * @param {string} [pageCursor] The cursor for the next page of items. + * @param {number} [pageSize] The number of items to return. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateFile: async ( + listFileCollectionsForFile: async ( id: string, - updateFileRequest: UpdateFileRequest, + pageCursor?: string, + pageSize?: number, options: AxiosRequestConfig = {} ): Promise => { // verify required parameter 'id' is not null or undefined - assertParamExists('updateFile', 'id', id); - // verify required parameter 'updateFileRequest' is not null or undefined - assertParamExists('updateFile', 'updateFileRequest', updateFileRequest); + assertParamExists('listFileCollectionsForFile', 'id', id); + const localVarPath = `/files/{id}/file-collections`.replace( + `{${'id'}}`, + encodeURIComponent(String(id)) + ); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'GET', + ...baseOptions, + ...options, + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication OAuth2 required + // oauth required + await setOAuthToObject( + localVarHeaderParameter, + 'OAuth2', + [], + configuration + ); + + if (pageCursor !== undefined) { + localVarQueryParameter['page[cursor]'] = pageCursor; + } + + if (pageSize !== undefined) { + localVarQueryParameter['page[size]'] = pageSize; + } + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions?.headers ?? {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers, + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Update a `file`. + * @param {string} id The `file` ID. + * @param {UpdateFileRequest} updateFileRequest + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateFile: async ( + id: string, + updateFileRequest: UpdateFileRequest, + options: AxiosRequestConfig = {} + ): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('updateFile', 'id', id); + // verify required parameter 'updateFileRequest' is not null or undefined + assertParamExists('updateFile', 'updateFileRequest', updateFileRequest); const localVarPath = `/files/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(id)) @@ -18979,14 +19410,22 @@ export const FilesApiFp = function (configuration?: Configuration) { * Get `files`. * @param {string} [pageCursor] The cursor for the next page of items. * @param {number} [pageSize] The number of items to return. - * @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on. + * @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order. + * @param {FilterExpression} [filterName] A filter expression for the `name` to filter on. + * @param {FilterExpression} [filterFileId] A filter expression for the `fileId` to filter on. + * @param {string | FilterExpression} [filterSuppliedId] A filter for the `suppliedId`. The canonical form is a filter expression such as `filter[suppliedId][contains]=...`. The deprecated legacy `filter[suppliedId]=id-1,id-2` exact-match CSV form is also accepted for backwards compatibility. + * @param {FilterExpression} [filterCreatedAt] A filter expression for the `createdAt` to filter on. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async getFiles( pageCursor?: string, pageSize?: number, - filterSuppliedId?: string, + sort?: string, + filterName?: FilterExpression, + filterFileId?: FilterExpression, + filterSuppliedId?: string | FilterExpression, + filterCreatedAt?: FilterExpression, options?: AxiosRequestConfig ): Promise< (axios?: AxiosInstance, basePath?: string) => AxiosPromise @@ -18994,7 +19433,11 @@ export const FilesApiFp = function (configuration?: Configuration) { const localVarAxiosArgs = await localVarAxiosParamCreator.getFiles( pageCursor, pageSize, + sort, + filterName, + filterFileId, filterSuppliedId, + filterCreatedAt, options ); return createRequestFunction( @@ -19004,6 +19447,39 @@ export const FilesApiFp = function (configuration?: Configuration) { configuration ); }, + /** + * List `file-collection` IDs associated with a `file`. + * @param {string} id The `file` ID. + * @param {string} [pageCursor] The cursor for the next page of items. + * @param {number} [pageSize] The number of items to return. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listFileCollectionsForFile( + id: string, + pageCursor?: string, + pageSize?: number, + options?: AxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.listFileCollectionsForFile( + id, + pageCursor, + pageSize, + options + ); + return createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + ); + }, /** * Update a `file`. * @param {string} id The `file` ID. @@ -19142,18 +19618,53 @@ export const FilesApiFactory = function ( * Get `files`. * @param {string} [pageCursor] The cursor for the next page of items. * @param {number} [pageSize] The number of items to return. - * @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on. + * @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order. + * @param {FilterExpression} [filterName] A filter expression for the `name` to filter on. + * @param {FilterExpression} [filterFileId] A filter expression for the `fileId` to filter on. + * @param {string | FilterExpression} [filterSuppliedId] A filter for the `suppliedId`. The canonical form is a filter expression such as `filter[suppliedId][contains]=...`. The deprecated legacy `filter[suppliedId]=id-1,id-2` exact-match CSV form is also accepted for backwards compatibility. + * @param {FilterExpression} [filterCreatedAt] A filter expression for the `createdAt` to filter on. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFiles( pageCursor?: string, pageSize?: number, - filterSuppliedId?: string, + sort?: string, + filterName?: FilterExpression, + filterFileId?: FilterExpression, + filterSuppliedId?: string | FilterExpression, + filterCreatedAt?: FilterExpression, options?: any ): AxiosPromise { return localVarFp - .getFiles(pageCursor, pageSize, filterSuppliedId, options) + .getFiles( + pageCursor, + pageSize, + sort, + filterName, + filterFileId, + filterSuppliedId, + filterCreatedAt, + options + ) + .then((request) => request(axios, basePath)); + }, + /** + * List `file-collection` IDs associated with a `file`. + * @param {string} id The `file` ID. + * @param {string} [pageCursor] The cursor for the next page of items. + * @param {number} [pageSize] The number of items to return. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listFileCollectionsForFile( + id: string, + pageCursor?: string, + pageSize?: number, + options?: any + ): AxiosPromise { + return localVarFp + .listFileCollectionsForFile(id, pageCursor, pageSize, options) .then((request) => request(axios, basePath)); }, /** @@ -19292,11 +19803,67 @@ export interface FilesApiGetFilesRequest { readonly pageSize?: number; /** - * Comma-separated list of supplied IDs to filter on. + * A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order. * @type {string} * @memberof FilesApiGetFiles */ - readonly filterSuppliedId?: string; + readonly sort?: string; + + /** + * A filter expression for the `name` to filter on. + * @type {FilterExpression} + * @memberof FilesApiGetFiles + */ + readonly filterName?: FilterExpression; + + /** + * A filter expression for the `fileId` to filter on. + * @type {FilterExpression} + * @memberof FilesApiGetFiles + */ + readonly filterFileId?: FilterExpression; + + /** + * A filter for the `suppliedId`. The canonical form is a filter expression such as `filter[suppliedId][contains]=...`. The deprecated legacy `filter[suppliedId]=id-1,id-2` exact-match CSV form is also accepted for backwards compatibility. + * @type {string | FilterExpression} + * @memberof FilesApiGetFiles + */ + readonly filterSuppliedId?: string | FilterExpression; + + /** + * A filter expression for the `createdAt` to filter on. + * @type {FilterExpression} + * @memberof FilesApiGetFiles + */ + readonly filterCreatedAt?: FilterExpression; +} + +/** + * Request parameters for listFileCollectionsForFile operation in FilesApi. + * @export + * @interface FilesApiListFileCollectionsForFileRequest + */ +export interface FilesApiListFileCollectionsForFileRequest { + /** + * The `file` ID. + * @type {string} + * @memberof FilesApiListFileCollectionsForFile + */ + readonly id: string; + + /** + * The cursor for the next page of items. + * @type {string} + * @memberof FilesApiListFileCollectionsForFile + */ + readonly pageCursor?: string; + + /** + * The number of items to return. + * @type {number} + * @memberof FilesApiListFileCollectionsForFile + */ + readonly pageSize?: number; } /** @@ -19451,7 +20018,32 @@ export class FilesApi extends BaseAPI { .getFiles( requestParameters.pageCursor, requestParameters.pageSize, + requestParameters.sort, + requestParameters.filterName, + requestParameters.filterFileId, requestParameters.filterSuppliedId, + requestParameters.filterCreatedAt, + options + ) + .then((request) => request(this.axios, this.basePath)); + } + + /** + * List `file-collection` IDs associated with a `file`. + * @param {FilesApiListFileCollectionsForFileRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof FilesApi + */ + public listFileCollectionsForFile( + requestParameters: FilesApiListFileCollectionsForFileRequest, + options?: AxiosRequestConfig + ) { + return FilesApiFp(this.configuration) + .listFileCollectionsForFile( + requestParameters.id, + requestParameters.pageCursor, + requestParameters.pageSize, options ) .then((request) => request(this.axios, this.basePath)); @@ -25468,6 +26060,1082 @@ export class PropertyEntriesApi extends BaseAPI { } } +/** + * PropertyKeyPoliciesApi - axios parameter creator + * @export + */ +export const PropertyKeyPoliciesApiAxiosParamCreator = function ( + configuration?: Configuration +) { + return { + /** + * Create a `property-key-policy`. + * @param {CreatePropertyKeyPolicyRequest} createPropertyKeyPolicyRequest + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createPropertyKeyPolicy: async ( + createPropertyKeyPolicyRequest: CreatePropertyKeyPolicyRequest, + options: AxiosRequestConfig = {} + ): Promise => { + // verify required parameter 'createPropertyKeyPolicyRequest' is not null or undefined + assertParamExists( + 'createPropertyKeyPolicy', + 'createPropertyKeyPolicyRequest', + createPropertyKeyPolicyRequest + ); + const localVarPath = `/property-key-policies`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'POST', + ...baseOptions, + ...options, + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication OAuth2 required + // oauth required + await setOAuthToObject( + localVarHeaderParameter, + 'OAuth2', + [], + configuration + ); + + localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions?.headers ?? {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers, + }; + localVarRequestOptions.data = serializeDataIfNeeded( + createPropertyKeyPolicyRequest, + localVarRequestOptions, + configuration + ); + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Delete a `property-key-policy`. + * @param {string} id The `property-key-policy` ID. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deletePropertyKeyPolicy: async ( + id: string, + options: AxiosRequestConfig = {} + ): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('deletePropertyKeyPolicy', 'id', id); + const localVarPath = `/property-key-policies/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(id)) + ); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'DELETE', + ...baseOptions, + ...options, + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication OAuth2 required + // oauth required + await setOAuthToObject( + localVarHeaderParameter, + 'OAuth2', + [], + configuration + ); + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions?.headers ?? {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers, + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Delete entries from a `property-key-policy`. + * @param {string} id The `property-key-policy` ID. + * @param {string} [filterId] Comma-separated list of IDs to filter on. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deletePropertyKeyPolicyEntries: async ( + id: string, + filterId?: string, + options: AxiosRequestConfig = {} + ): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('deletePropertyKeyPolicyEntries', 'id', id); + const localVarPath = `/property-key-policies/{id}/entries`.replace( + `{${'id'}}`, + encodeURIComponent(String(id)) + ); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'DELETE', + ...baseOptions, + ...options, + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication OAuth2 required + // oauth required + await setOAuthToObject( + localVarHeaderParameter, + 'OAuth2', + [], + configuration + ); + + if (filterId !== undefined) { + localVarQueryParameter['filter[id]'] = filterId; + } + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions?.headers ?? {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers, + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Get a `property-key-policy`. + * @param {string} id The `property-key-policy` ID. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getPropertyKeyPolicy: async ( + id: string, + options: AxiosRequestConfig = {} + ): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('getPropertyKeyPolicy', 'id', id); + const localVarPath = `/property-key-policies/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(id)) + ); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'GET', + ...baseOptions, + ...options, + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication OAuth2 required + // oauth required + await setOAuthToObject( + localVarHeaderParameter, + 'OAuth2', + [], + configuration + ); + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions?.headers ?? {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers, + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * List `property-key-policies`. + * @param {string} [pageCursor] The cursor for the next page of items. + * @param {number} [pageSize] The number of items to return. + * @param {FilterExpression} [filterSuppliedId] The supplied ID filter expression for property key policies. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listPropertyKeyPolicies: async ( + pageCursor?: string, + pageSize?: number, + filterSuppliedId?: FilterExpression, + options: AxiosRequestConfig = {} + ): Promise => { + const localVarPath = `/property-key-policies`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'GET', + ...baseOptions, + ...options, + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication OAuth2 required + // oauth required + await setOAuthToObject( + localVarHeaderParameter, + 'OAuth2', + [], + configuration + ); + + if (pageCursor !== undefined) { + localVarQueryParameter['page[cursor]'] = pageCursor; + } + + if (pageSize !== undefined) { + localVarQueryParameter['page[size]'] = pageSize; + } + + if (filterSuppliedId !== undefined) { + localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId; + } + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions?.headers ?? {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers, + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Get `property-key-policy-entry` resources for a `property-key-policy`. Accepts `filter[propertyKeyPolicy.id]` and `filter[propertyKeyPolicy.suppliedId]`. When both are provided, `filter[propertyKeyPolicy.id]` takes precedence. + * @param {string} [pageCursor] The cursor for the next page of items. + * @param {number} [pageSize] The number of items to return. + * @param {string} [filterPropertyKeyPolicyId] The `property-key-policy` ID to filter on. + * @param {string} [filterPropertyKeyPolicySuppliedId] The `property-key-policy` supplied ID to filter on. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listPropertyKeyPolicyEntries: async ( + pageCursor?: string, + pageSize?: number, + filterPropertyKeyPolicyId?: string, + filterPropertyKeyPolicySuppliedId?: string, + options: AxiosRequestConfig = {} + ): Promise => { + const localVarPath = `/property-key-policy-entries`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'GET', + ...baseOptions, + ...options, + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication OAuth2 required + // oauth required + await setOAuthToObject( + localVarHeaderParameter, + 'OAuth2', + [], + configuration + ); + + if (pageCursor !== undefined) { + localVarQueryParameter['page[cursor]'] = pageCursor; + } + + if (pageSize !== undefined) { + localVarQueryParameter['page[size]'] = pageSize; + } + + if (filterPropertyKeyPolicyId !== undefined) { + localVarQueryParameter['filter[propertyKeyPolicy.id]'] = + filterPropertyKeyPolicyId; + } + + if (filterPropertyKeyPolicySuppliedId !== undefined) { + localVarQueryParameter['filter[propertyKeyPolicy.suppliedId]'] = + filterPropertyKeyPolicySuppliedId; + } + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions?.headers ?? {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers, + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Upsert entries for a `property-key-policy`. + * @param {string} id The `property-key-policy` ID. + * @param {UpsertPropertyKeyPolicyEntriesRequest} upsertPropertyKeyPolicyEntriesRequest + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + upsertPropertyKeyPolicyEntries: async ( + id: string, + upsertPropertyKeyPolicyEntriesRequest: UpsertPropertyKeyPolicyEntriesRequest, + options: AxiosRequestConfig = {} + ): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('upsertPropertyKeyPolicyEntries', 'id', id); + // verify required parameter 'upsertPropertyKeyPolicyEntriesRequest' is not null or undefined + assertParamExists( + 'upsertPropertyKeyPolicyEntries', + 'upsertPropertyKeyPolicyEntriesRequest', + upsertPropertyKeyPolicyEntriesRequest + ); + const localVarPath = `/property-key-policies/{id}/entries`.replace( + `{${'id'}}`, + encodeURIComponent(String(id)) + ); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'POST', + ...baseOptions, + ...options, + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication OAuth2 required + // oauth required + await setOAuthToObject( + localVarHeaderParameter, + 'OAuth2', + [], + configuration + ); + + localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions?.headers ?? {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers, + }; + localVarRequestOptions.data = serializeDataIfNeeded( + upsertPropertyKeyPolicyEntriesRequest, + localVarRequestOptions, + configuration + ); + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + }; +}; + +/** + * PropertyKeyPoliciesApi - functional programming interface + * @export + */ +export const PropertyKeyPoliciesApiFp = function ( + configuration?: Configuration +) { + const localVarAxiosParamCreator = + PropertyKeyPoliciesApiAxiosParamCreator(configuration); + return { + /** + * Create a `property-key-policy`. + * @param {CreatePropertyKeyPolicyRequest} createPropertyKeyPolicyRequest + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createPropertyKeyPolicy( + createPropertyKeyPolicyRequest: CreatePropertyKeyPolicyRequest, + options?: AxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.createPropertyKeyPolicy( + createPropertyKeyPolicyRequest, + options + ); + return createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + ); + }, + /** + * Delete a `property-key-policy`. + * @param {string} id The `property-key-policy` ID. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async deletePropertyKeyPolicy( + id: string, + options?: AxiosRequestConfig + ): Promise< + (axios?: AxiosInstance, basePath?: string) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.deletePropertyKeyPolicy(id, options); + return createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + ); + }, + /** + * Delete entries from a `property-key-policy`. + * @param {string} id The `property-key-policy` ID. + * @param {string} [filterId] Comma-separated list of IDs to filter on. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async deletePropertyKeyPolicyEntries( + id: string, + filterId?: string, + options?: AxiosRequestConfig + ): Promise< + (axios?: AxiosInstance, basePath?: string) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.deletePropertyKeyPolicyEntries( + id, + filterId, + options + ); + return createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + ); + }, + /** + * Get a `property-key-policy`. + * @param {string} id The `property-key-policy` ID. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getPropertyKeyPolicy( + id: string, + options?: AxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.getPropertyKeyPolicy(id, options); + return createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + ); + }, + /** + * List `property-key-policies`. + * @param {string} [pageCursor] The cursor for the next page of items. + * @param {number} [pageSize] The number of items to return. + * @param {FilterExpression} [filterSuppliedId] The supplied ID filter expression for property key policies. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listPropertyKeyPolicies( + pageCursor?: string, + pageSize?: number, + filterSuppliedId?: FilterExpression, + options?: AxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.listPropertyKeyPolicies( + pageCursor, + pageSize, + filterSuppliedId, + options + ); + return createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + ); + }, + /** + * Get `property-key-policy-entry` resources for a `property-key-policy`. Accepts `filter[propertyKeyPolicy.id]` and `filter[propertyKeyPolicy.suppliedId]`. When both are provided, `filter[propertyKeyPolicy.id]` takes precedence. + * @param {string} [pageCursor] The cursor for the next page of items. + * @param {number} [pageSize] The number of items to return. + * @param {string} [filterPropertyKeyPolicyId] The `property-key-policy` ID to filter on. + * @param {string} [filterPropertyKeyPolicySuppliedId] The `property-key-policy` supplied ID to filter on. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listPropertyKeyPolicyEntries( + pageCursor?: string, + pageSize?: number, + filterPropertyKeyPolicyId?: string, + filterPropertyKeyPolicySuppliedId?: string, + options?: AxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.listPropertyKeyPolicyEntries( + pageCursor, + pageSize, + filterPropertyKeyPolicyId, + filterPropertyKeyPolicySuppliedId, + options + ); + return createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + ); + }, + /** + * Upsert entries for a `property-key-policy`. + * @param {string} id The `property-key-policy` ID. + * @param {UpsertPropertyKeyPolicyEntriesRequest} upsertPropertyKeyPolicyEntriesRequest + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async upsertPropertyKeyPolicyEntries( + id: string, + upsertPropertyKeyPolicyEntriesRequest: UpsertPropertyKeyPolicyEntriesRequest, + options?: AxiosRequestConfig + ): Promise< + (axios?: AxiosInstance, basePath?: string) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.upsertPropertyKeyPolicyEntries( + id, + upsertPropertyKeyPolicyEntriesRequest, + options + ); + return createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + ); + }, + }; +}; + +/** + * PropertyKeyPoliciesApi - factory interface + * @export + */ +export const PropertyKeyPoliciesApiFactory = function ( + configuration?: Configuration, + basePath?: string, + axios?: AxiosInstance +) { + const localVarFp = PropertyKeyPoliciesApiFp(configuration); + return { + /** + * Create a `property-key-policy`. + * @param {CreatePropertyKeyPolicyRequest} createPropertyKeyPolicyRequest + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createPropertyKeyPolicy( + createPropertyKeyPolicyRequest: CreatePropertyKeyPolicyRequest, + options?: any + ): AxiosPromise { + return localVarFp + .createPropertyKeyPolicy(createPropertyKeyPolicyRequest, options) + .then((request) => request(axios, basePath)); + }, + /** + * Delete a `property-key-policy`. + * @param {string} id The `property-key-policy` ID. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deletePropertyKeyPolicy(id: string, options?: any): AxiosPromise { + return localVarFp + .deletePropertyKeyPolicy(id, options) + .then((request) => request(axios, basePath)); + }, + /** + * Delete entries from a `property-key-policy`. + * @param {string} id The `property-key-policy` ID. + * @param {string} [filterId] Comma-separated list of IDs to filter on. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + deletePropertyKeyPolicyEntries( + id: string, + filterId?: string, + options?: any + ): AxiosPromise { + return localVarFp + .deletePropertyKeyPolicyEntries(id, filterId, options) + .then((request) => request(axios, basePath)); + }, + /** + * Get a `property-key-policy`. + * @param {string} id The `property-key-policy` ID. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getPropertyKeyPolicy( + id: string, + options?: any + ): AxiosPromise { + return localVarFp + .getPropertyKeyPolicy(id, options) + .then((request) => request(axios, basePath)); + }, + /** + * List `property-key-policies`. + * @param {string} [pageCursor] The cursor for the next page of items. + * @param {number} [pageSize] The number of items to return. + * @param {FilterExpression} [filterSuppliedId] The supplied ID filter expression for property key policies. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listPropertyKeyPolicies( + pageCursor?: string, + pageSize?: number, + filterSuppliedId?: FilterExpression, + options?: any + ): AxiosPromise { + return localVarFp + .listPropertyKeyPolicies( + pageCursor, + pageSize, + filterSuppliedId, + options + ) + .then((request) => request(axios, basePath)); + }, + /** + * Get `property-key-policy-entry` resources for a `property-key-policy`. Accepts `filter[propertyKeyPolicy.id]` and `filter[propertyKeyPolicy.suppliedId]`. When both are provided, `filter[propertyKeyPolicy.id]` takes precedence. + * @param {string} [pageCursor] The cursor for the next page of items. + * @param {number} [pageSize] The number of items to return. + * @param {string} [filterPropertyKeyPolicyId] The `property-key-policy` ID to filter on. + * @param {string} [filterPropertyKeyPolicySuppliedId] The `property-key-policy` supplied ID to filter on. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listPropertyKeyPolicyEntries( + pageCursor?: string, + pageSize?: number, + filterPropertyKeyPolicyId?: string, + filterPropertyKeyPolicySuppliedId?: string, + options?: any + ): AxiosPromise { + return localVarFp + .listPropertyKeyPolicyEntries( + pageCursor, + pageSize, + filterPropertyKeyPolicyId, + filterPropertyKeyPolicySuppliedId, + options + ) + .then((request) => request(axios, basePath)); + }, + /** + * Upsert entries for a `property-key-policy`. + * @param {string} id The `property-key-policy` ID. + * @param {UpsertPropertyKeyPolicyEntriesRequest} upsertPropertyKeyPolicyEntriesRequest + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + upsertPropertyKeyPolicyEntries( + id: string, + upsertPropertyKeyPolicyEntriesRequest: UpsertPropertyKeyPolicyEntriesRequest, + options?: any + ): AxiosPromise { + return localVarFp + .upsertPropertyKeyPolicyEntries( + id, + upsertPropertyKeyPolicyEntriesRequest, + options + ) + .then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * Request parameters for createPropertyKeyPolicy operation in PropertyKeyPoliciesApi. + * @export + * @interface PropertyKeyPoliciesApiCreatePropertyKeyPolicyRequest + */ +export interface PropertyKeyPoliciesApiCreatePropertyKeyPolicyRequest { + /** + * + * @type {CreatePropertyKeyPolicyRequest} + * @memberof PropertyKeyPoliciesApiCreatePropertyKeyPolicy + */ + readonly createPropertyKeyPolicyRequest: CreatePropertyKeyPolicyRequest; +} + +/** + * Request parameters for deletePropertyKeyPolicy operation in PropertyKeyPoliciesApi. + * @export + * @interface PropertyKeyPoliciesApiDeletePropertyKeyPolicyRequest + */ +export interface PropertyKeyPoliciesApiDeletePropertyKeyPolicyRequest { + /** + * The `property-key-policy` ID. + * @type {string} + * @memberof PropertyKeyPoliciesApiDeletePropertyKeyPolicy + */ + readonly id: string; +} + +/** + * Request parameters for deletePropertyKeyPolicyEntries operation in PropertyKeyPoliciesApi. + * @export + * @interface PropertyKeyPoliciesApiDeletePropertyKeyPolicyEntriesRequest + */ +export interface PropertyKeyPoliciesApiDeletePropertyKeyPolicyEntriesRequest { + /** + * The `property-key-policy` ID. + * @type {string} + * @memberof PropertyKeyPoliciesApiDeletePropertyKeyPolicyEntries + */ + readonly id: string; + + /** + * Comma-separated list of IDs to filter on. + * @type {string} + * @memberof PropertyKeyPoliciesApiDeletePropertyKeyPolicyEntries + */ + readonly filterId?: string; +} + +/** + * Request parameters for getPropertyKeyPolicy operation in PropertyKeyPoliciesApi. + * @export + * @interface PropertyKeyPoliciesApiGetPropertyKeyPolicyRequest + */ +export interface PropertyKeyPoliciesApiGetPropertyKeyPolicyRequest { + /** + * The `property-key-policy` ID. + * @type {string} + * @memberof PropertyKeyPoliciesApiGetPropertyKeyPolicy + */ + readonly id: string; +} + +/** + * Request parameters for listPropertyKeyPolicies operation in PropertyKeyPoliciesApi. + * @export + * @interface PropertyKeyPoliciesApiListPropertyKeyPoliciesRequest + */ +export interface PropertyKeyPoliciesApiListPropertyKeyPoliciesRequest { + /** + * The cursor for the next page of items. + * @type {string} + * @memberof PropertyKeyPoliciesApiListPropertyKeyPolicies + */ + readonly pageCursor?: string; + + /** + * The number of items to return. + * @type {number} + * @memberof PropertyKeyPoliciesApiListPropertyKeyPolicies + */ + readonly pageSize?: number; + + /** + * The supplied ID filter expression for property key policies. + * @type {FilterExpression} + * @memberof PropertyKeyPoliciesApiListPropertyKeyPolicies + */ + readonly filterSuppliedId?: FilterExpression; +} + +/** + * Request parameters for listPropertyKeyPolicyEntries operation in PropertyKeyPoliciesApi. + * @export + * @interface PropertyKeyPoliciesApiListPropertyKeyPolicyEntriesRequest + */ +export interface PropertyKeyPoliciesApiListPropertyKeyPolicyEntriesRequest { + /** + * The cursor for the next page of items. + * @type {string} + * @memberof PropertyKeyPoliciesApiListPropertyKeyPolicyEntries + */ + readonly pageCursor?: string; + + /** + * The number of items to return. + * @type {number} + * @memberof PropertyKeyPoliciesApiListPropertyKeyPolicyEntries + */ + readonly pageSize?: number; + + /** + * The `property-key-policy` ID to filter on. + * @type {string} + * @memberof PropertyKeyPoliciesApiListPropertyKeyPolicyEntries + */ + readonly filterPropertyKeyPolicyId?: string; + + /** + * The `property-key-policy` supplied ID to filter on. + * @type {string} + * @memberof PropertyKeyPoliciesApiListPropertyKeyPolicyEntries + */ + readonly filterPropertyKeyPolicySuppliedId?: string; +} + +/** + * Request parameters for upsertPropertyKeyPolicyEntries operation in PropertyKeyPoliciesApi. + * @export + * @interface PropertyKeyPoliciesApiUpsertPropertyKeyPolicyEntriesRequest + */ +export interface PropertyKeyPoliciesApiUpsertPropertyKeyPolicyEntriesRequest { + /** + * The `property-key-policy` ID. + * @type {string} + * @memberof PropertyKeyPoliciesApiUpsertPropertyKeyPolicyEntries + */ + readonly id: string; + + /** + * + * @type {UpsertPropertyKeyPolicyEntriesRequest} + * @memberof PropertyKeyPoliciesApiUpsertPropertyKeyPolicyEntries + */ + readonly upsertPropertyKeyPolicyEntriesRequest: UpsertPropertyKeyPolicyEntriesRequest; +} + +/** + * PropertyKeyPoliciesApi - object-oriented interface + * @export + * @class PropertyKeyPoliciesApi + * @extends {BaseAPI} + */ +export class PropertyKeyPoliciesApi extends BaseAPI { + /** + * Create a `property-key-policy`. + * @param {PropertyKeyPoliciesApiCreatePropertyKeyPolicyRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PropertyKeyPoliciesApi + */ + public createPropertyKeyPolicy( + requestParameters: PropertyKeyPoliciesApiCreatePropertyKeyPolicyRequest, + options?: AxiosRequestConfig + ) { + return PropertyKeyPoliciesApiFp(this.configuration) + .createPropertyKeyPolicy( + requestParameters.createPropertyKeyPolicyRequest, + options + ) + .then((request) => request(this.axios, this.basePath)); + } + + /** + * Delete a `property-key-policy`. + * @param {PropertyKeyPoliciesApiDeletePropertyKeyPolicyRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PropertyKeyPoliciesApi + */ + public deletePropertyKeyPolicy( + requestParameters: PropertyKeyPoliciesApiDeletePropertyKeyPolicyRequest, + options?: AxiosRequestConfig + ) { + return PropertyKeyPoliciesApiFp(this.configuration) + .deletePropertyKeyPolicy(requestParameters.id, options) + .then((request) => request(this.axios, this.basePath)); + } + + /** + * Delete entries from a `property-key-policy`. + * @param {PropertyKeyPoliciesApiDeletePropertyKeyPolicyEntriesRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PropertyKeyPoliciesApi + */ + public deletePropertyKeyPolicyEntries( + requestParameters: PropertyKeyPoliciesApiDeletePropertyKeyPolicyEntriesRequest, + options?: AxiosRequestConfig + ) { + return PropertyKeyPoliciesApiFp(this.configuration) + .deletePropertyKeyPolicyEntries( + requestParameters.id, + requestParameters.filterId, + options + ) + .then((request) => request(this.axios, this.basePath)); + } + + /** + * Get a `property-key-policy`. + * @param {PropertyKeyPoliciesApiGetPropertyKeyPolicyRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PropertyKeyPoliciesApi + */ + public getPropertyKeyPolicy( + requestParameters: PropertyKeyPoliciesApiGetPropertyKeyPolicyRequest, + options?: AxiosRequestConfig + ) { + return PropertyKeyPoliciesApiFp(this.configuration) + .getPropertyKeyPolicy(requestParameters.id, options) + .then((request) => request(this.axios, this.basePath)); + } + + /** + * List `property-key-policies`. + * @param {PropertyKeyPoliciesApiListPropertyKeyPoliciesRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PropertyKeyPoliciesApi + */ + public listPropertyKeyPolicies( + requestParameters: PropertyKeyPoliciesApiListPropertyKeyPoliciesRequest = {}, + options?: AxiosRequestConfig + ) { + return PropertyKeyPoliciesApiFp(this.configuration) + .listPropertyKeyPolicies( + requestParameters.pageCursor, + requestParameters.pageSize, + requestParameters.filterSuppliedId, + options + ) + .then((request) => request(this.axios, this.basePath)); + } + + /** + * Get `property-key-policy-entry` resources for a `property-key-policy`. Accepts `filter[propertyKeyPolicy.id]` and `filter[propertyKeyPolicy.suppliedId]`. When both are provided, `filter[propertyKeyPolicy.id]` takes precedence. + * @param {PropertyKeyPoliciesApiListPropertyKeyPolicyEntriesRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PropertyKeyPoliciesApi + */ + public listPropertyKeyPolicyEntries( + requestParameters: PropertyKeyPoliciesApiListPropertyKeyPolicyEntriesRequest = {}, + options?: AxiosRequestConfig + ) { + return PropertyKeyPoliciesApiFp(this.configuration) + .listPropertyKeyPolicyEntries( + requestParameters.pageCursor, + requestParameters.pageSize, + requestParameters.filterPropertyKeyPolicyId, + requestParameters.filterPropertyKeyPolicySuppliedId, + options + ) + .then((request) => request(this.axios, this.basePath)); + } + + /** + * Upsert entries for a `property-key-policy`. + * @param {PropertyKeyPoliciesApiUpsertPropertyKeyPolicyEntriesRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PropertyKeyPoliciesApi + */ + public upsertPropertyKeyPolicyEntries( + requestParameters: PropertyKeyPoliciesApiUpsertPropertyKeyPolicyEntriesRequest, + options?: AxiosRequestConfig + ) { + return PropertyKeyPoliciesApiFp(this.configuration) + .upsertPropertyKeyPolicyEntries( + requestParameters.id, + requestParameters.upsertPropertyKeyPolicyEntriesRequest, + options + ) + .then((request) => request(this.axios, this.basePath)); + } +} + /** * RepliesApi - axios parameter creator * @export diff --git a/package.json b/package.json index 7cd98b2..1ec1a87 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ }, "devDependencies": { "@types/jest": "^27.0", - "@types/node": "^16", + "@types/node": "^18", "@vertexvis/eslint-config-vertexvis-typescript": "^0.5.1", "eslint": "^8.49.0", "eslint-plugin-promise": "^6.1.1", @@ -48,8 +48,8 @@ "pinst": "^2.1", "prettier": "^3.0.3", "ts-jest": "^29.1.1", - "typedoc": "^0.22", - "typescript": "4.5.x" + "typedoc": "^0.23", + "typescript": "4.9.x" }, "scripts": { "build": "tsc --project tsconfig.json && tsc --project tsconfig-esm.json", diff --git a/spec.yml b/spec.yml index 5514ac7..4b626f7 100644 --- a/spec.yml +++ b/spec.yml @@ -51,6 +51,7 @@ tags: - description: Requires Engage Module name: pmi - name: property-entries + - name: property-key-policies - description: Requires Engage Module name: replies - name: scene-alterations @@ -2030,16 +2031,58 @@ paths: minimum: 1 type: integer style: form - - description: Comma-separated list of supplied IDs to filter on. + - description: + A sort to apply to the collection. A "minus" prefixed before + the field name is used to specify descending sort order. explode: true in: query - name: filter[suppliedId] + name: sort required: false schema: - example: some-id-1,some-id-2 - maxLength: 1024 + example: -age,name type: string style: form + - description: A filter expression for the `name` to filter on. + explode: true + in: query + name: filter[name] + required: false + schema: + $ref: '#/components/schemas/FilterExpression' + style: form + - description: A filter expression for the `fileId` to filter on. + explode: true + in: query + name: filter[fileId] + required: false + schema: + $ref: '#/components/schemas/FilterExpression' + style: form + - description: + A filter for the `suppliedId`. The canonical form is a filter + expression such as `filter[suppliedId][contains]=...`. The deprecated legacy + `filter[suppliedId]=id-1,id-2` exact-match CSV form is also accepted for + backwards compatibility. + explode: true + in: query + name: filter[suppliedId] + required: false + schema: + oneOf: + - deprecated: true + example: some-id-1,some-id-2 + maxLength: 1024 + type: string + - $ref: '#/components/schemas/FilterExpression' + style: form + - description: A filter expression for the `createdAt` to filter on. + explode: true + in: query + name: filter[createdAt] + required: false + schema: + $ref: '#/components/schemas/FilterExpression' + style: form responses: '200': content: @@ -2402,6 +2445,62 @@ paths: - OAuth2: [] tags: - files + /files/{id}/file-collections: + get: + description: List `file-collection` IDs associated with a `file`. + operationId: listFileCollectionsForFile + parameters: + - description: The cursor for the next page of items. + explode: true + in: query + name: page[cursor] + required: false + schema: + example: cHJkMDVFR2RLag== + type: string + style: form + - description: The number of items to return. + explode: true + in: query + name: page[size] + required: false + schema: + example: 10 + format: int32 + maximum: 200 + minimum: 1 + type: integer + style: form + - description: The `file` ID. + explode: false + in: path + name: id + required: true + schema: + $ref: '#/components/schemas/Uuid' + style: simple + responses: + '200': + content: + application/vnd.api+json: + schema: + $ref: '#/components/schemas/FileCollectionList' + description: OK + '401': + content: + application/vnd.api+json: + example: + errors: + - status: '401' + code: Unauthorized + title: Invalid or missing credentials. + schema: + $ref: '#/components/schemas/Failure' + description: Unauthorized + security: + - OAuth2: [] + tags: + - files /files/{id}/upload-url: post: description: Create an upload uri for a `file` by ID. @@ -5683,18 +5782,402 @@ paths: name: page[size] required: false schema: - example: 10 - format: int32 - maximum: 200 - minimum: 1 - type: integer - style: form + example: 10 + format: int32 + maximum: 200 + minimum: 1 + type: integer + style: form + responses: + '200': + content: + application/vnd.api+json: + schema: + $ref: '#/components/schemas/PmiAnnotationList' + description: OK + '401': + content: + application/vnd.api+json: + example: + errors: + - status: '401' + code: Unauthorized + title: Invalid or missing credentials. + schema: + $ref: '#/components/schemas/Failure' + description: Unauthorized + '404': + content: + application/vnd.api+json: + example: + errors: + - status: '404' + code: NotFound + title: The requested resource was not found. + schema: + $ref: '#/components/schemas/Failure' + description: Not Found + '415': + content: + application/vnd.api+json: + example: + errors: + - status: '415' + code: UnsupportedMediaType + title: + The provided media type is not supported. Update the Content-Type + header to application/vnd.api+json and try again. + schema: + $ref: '#/components/schemas/Failure' + description: Unsupported Media Type + security: + - OAuth2: [] + tags: + - pmi + /property-entries: + get: + description: | + Get `property-entries` by a resource ID + operationId: getPropertyEntries + parameters: + - description: The cursor for the next page of items. + explode: true + in: query + name: page[cursor] + required: false + schema: + example: cHJkMDVFR2RLag== + type: string + style: form + - description: The number of items to return. + explode: true + in: query + name: page[size] + required: false + schema: + example: 10 + format: int32 + maximum: 200 + minimum: 1 + type: integer + style: form + - description: A resource ID to filter on + explode: true + in: query + name: filter[resourceId] + required: false + schema: + example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 + format: uuid + maxLength: 36 + type: string + style: form + - description: The provided type for the resource ids + explode: true + in: query + name: filter[resourceType] + required: false + schema: + example: part-revision + maxLength: 36 + type: string + style: form + responses: + '200': + content: + application/vnd.api+json: + schema: + $ref: '#/components/schemas/PropertyEntryList' + description: OK + '401': + content: + application/vnd.api+json: + example: + errors: + - status: '401' + code: Unauthorized + title: Invalid or missing credentials. + schema: + $ref: '#/components/schemas/Failure' + description: Unauthorized + '415': + content: + application/vnd.api+json: + example: + errors: + - status: '415' + code: UnsupportedMediaType + title: + The provided media type is not supported. Update the Content-Type + header to application/vnd.api+json and try again. + schema: + $ref: '#/components/schemas/Failure' + description: Unsupported Media Type + security: + - OAuth2: [] + tags: + - property-entries + patch: + description: | + Upsert property-entries for a provided resource. + operationId: upsertPropertyEntries + requestBody: + content: + application/vnd.api+json: + schema: + $ref: '#/components/schemas/UpsertPropertyEntriesRequest' + required: true + responses: + '204': + description: No Content + '400': + content: + application/vnd.api+json: + example: + errors: + - status: '400' + code: BadRequest + title: Invalid, missing, or out-of-range request parameters. + schema: + $ref: '#/components/schemas/Failure' + description: Bad Request + '401': + content: + application/vnd.api+json: + example: + errors: + - status: '401' + code: Unauthorized + title: Invalid or missing credentials. + schema: + $ref: '#/components/schemas/Failure' + description: Unauthorized + '404': + content: + application/vnd.api+json: + example: + errors: + - status: '404' + code: NotFound + title: The requested resource was not found. + schema: + $ref: '#/components/schemas/Failure' + description: Not Found + security: + - OAuth2: [] + tags: + - property-entries + /property-key-policies: + get: + description: List `property-key-policies`. + operationId: listPropertyKeyPolicies + parameters: + - description: The cursor for the next page of items. + explode: true + in: query + name: page[cursor] + required: false + schema: + example: cHJkMDVFR2RLag== + type: string + style: form + - description: The number of items to return. + explode: true + in: query + name: page[size] + required: false + schema: + example: 10 + format: int32 + maximum: 200 + minimum: 1 + type: integer + style: form + - description: The supplied ID filter expression for property key policies. + explode: true + in: query + name: filter[suppliedId] + required: false + schema: + $ref: '#/components/schemas/FilterExpression' + style: form + responses: + '200': + content: + application/vnd.api+json: + schema: + $ref: '#/components/schemas/PropertyKeyPolicyList' + description: OK + '401': + content: + application/vnd.api+json: + example: + errors: + - status: '401' + code: Unauthorized + title: Invalid or missing credentials. + schema: + $ref: '#/components/schemas/Failure' + description: Unauthorized + '415': + content: + application/vnd.api+json: + example: + errors: + - status: '415' + code: UnsupportedMediaType + title: + The provided media type is not supported. Update the Content-Type + header to application/vnd.api+json and try again. + schema: + $ref: '#/components/schemas/Failure' + description: Unsupported Media Type + security: + - OAuth2: [] + tags: + - property-key-policies + post: + description: Create a `property-key-policy`. + operationId: createPropertyKeyPolicy + requestBody: + content: + application/vnd.api+json: + schema: + $ref: '#/components/schemas/CreatePropertyKeyPolicyRequest' + required: true + responses: + '201': + content: + application/vnd.api+json: + schema: + $ref: '#/components/schemas/PropertyKeyPolicy' + description: Created + headers: + location: + $ref: '#/components/headers/Location' + '400': + content: + application/vnd.api+json: + example: + errors: + - status: '400' + code: BadRequest + title: Invalid, missing, or out-of-range request parameters. + schema: + $ref: '#/components/schemas/Failure' + description: Bad Request + '401': + content: + application/vnd.api+json: + example: + errors: + - status: '401' + code: Unauthorized + title: Invalid or missing credentials. + schema: + $ref: '#/components/schemas/Failure' + description: Unauthorized + '409': + content: + application/vnd.api+json: + example: + errors: + - status: '409' + code: Conflict + title: The state of the resource does not permit this operation. + schema: + $ref: '#/components/schemas/Failure' + description: Conflict + '415': + content: + application/vnd.api+json: + example: + errors: + - status: '415' + code: UnsupportedMediaType + title: + The provided media type is not supported. Update the Content-Type + header to application/vnd.api+json and try again. + schema: + $ref: '#/components/schemas/Failure' + description: Unsupported Media Type + security: + - OAuth2: [] + tags: + - property-key-policies + /property-key-policies/{id}: + delete: + description: Delete a `property-key-policy`. + operationId: deletePropertyKeyPolicy + parameters: + - description: The `property-key-policy` ID. + explode: false + in: path + name: id + required: true + schema: + $ref: '#/components/schemas/Uuid' + style: simple + responses: + '204': + description: No Content + '401': + content: + application/vnd.api+json: + example: + errors: + - status: '401' + code: Unauthorized + title: Invalid or missing credentials. + schema: + $ref: '#/components/schemas/Failure' + description: Unauthorized + '404': + content: + application/vnd.api+json: + example: + errors: + - status: '404' + code: NotFound + title: The requested resource was not found. + schema: + $ref: '#/components/schemas/Failure' + description: Not Found + '415': + content: + application/vnd.api+json: + example: + errors: + - status: '415' + code: UnsupportedMediaType + title: + The provided media type is not supported. Update the Content-Type + header to application/vnd.api+json and try again. + schema: + $ref: '#/components/schemas/Failure' + description: Unsupported Media Type + security: + - OAuth2: [] + tags: + - property-key-policies + get: + description: Get a `property-key-policy`. + operationId: getPropertyKeyPolicy + parameters: + - description: The `property-key-policy` ID. + explode: false + in: path + name: id + required: true + schema: + $ref: '#/components/schemas/Uuid' + style: simple responses: '200': content: application/vnd.api+json: schema: - $ref: '#/components/schemas/PmiAnnotationList' + $ref: '#/components/schemas/PropertyKeyPolicy' description: OK '401': content: @@ -5734,12 +6217,14 @@ paths: security: - OAuth2: [] tags: - - pmi - /property-entries: + - property-key-policies + /property-key-policy-entries: get: - description: | - Get `property-entries` by a resource ID - operationId: getPropertyEntries + description: + Get `property-key-policy-entry` resources for a `property-key-policy`. + Accepts `filter[propertyKeyPolicy.id]` and `filter[propertyKeyPolicy.suppliedId]`. + When both are provided, `filter[propertyKeyPolicy.id]` takes precedence. + operationId: listPropertyKeyPolicyEntries parameters: - description: The cursor for the next page of items. explode: true @@ -5762,34 +6247,69 @@ paths: minimum: 1 type: integer style: form - - description: A resource ID to filter on + - description: The `property-key-policy` ID to filter on. explode: true in: query - name: filter[resourceId] + name: filter[propertyKeyPolicy.id] required: false schema: - example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 - format: uuid - maxLength: 36 - type: string + $ref: '#/components/schemas/Uuid' style: form - - description: The provided type for the resource ids + - description: The `property-key-policy` supplied ID to filter on. explode: true in: query - name: filter[resourceType] + name: filter[propertyKeyPolicy.suppliedId] required: false schema: - example: part-revision - maxLength: 36 - type: string + $ref: '#/components/schemas/NonEmptyString' style: form responses: '200': content: application/vnd.api+json: schema: - $ref: '#/components/schemas/PropertyEntryList' + $ref: '#/components/schemas/PropertyKeyPolicyEntryList' description: OK + '400': + content: + application/vnd.api+json: + example: + errors: + - status: '400' + code: BadRequest + title: Invalid, missing, or out-of-range request parameters. + schema: + $ref: '#/components/schemas/Failure' + description: Bad Request + security: + - OAuth2: [] + tags: + - property-key-policies + /property-key-policies/{id}/entries: + delete: + description: Delete entries from a `property-key-policy`. + operationId: deletePropertyKeyPolicyEntries + parameters: + - description: The `property-key-policy` ID. + explode: false + in: path + name: id + required: true + schema: + $ref: '#/components/schemas/Uuid' + style: simple + - description: Comma-separated list of IDs to filter on. + explode: true + in: query + name: filter[id] + required: false + schema: + example: some-id-1,some-id-2 + type: string + style: form + responses: + '204': + description: No Content '401': content: application/vnd.api+json: @@ -5801,6 +6321,17 @@ paths: schema: $ref: '#/components/schemas/Failure' description: Unauthorized + '404': + content: + application/vnd.api+json: + example: + errors: + - status: '404' + code: NotFound + title: The requested resource was not found. + schema: + $ref: '#/components/schemas/Failure' + description: Not Found '415': content: application/vnd.api+json: @@ -5817,16 +6348,24 @@ paths: security: - OAuth2: [] tags: - - property-entries - patch: - description: | - Upsert property-entries for a provided resource. - operationId: upsertPropertyEntries + - property-key-policies + post: + description: Upsert entries for a `property-key-policy`. + operationId: upsertPropertyKeyPolicyEntries + parameters: + - description: The `property-key-policy` ID. + explode: false + in: path + name: id + required: true + schema: + $ref: '#/components/schemas/Uuid' + style: simple requestBody: content: application/vnd.api+json: schema: - $ref: '#/components/schemas/UpsertPropertyEntriesRequest' + $ref: '#/components/schemas/UpsertPropertyKeyPolicyEntriesRequest' required: true responses: '204': @@ -5864,10 +6403,23 @@ paths: schema: $ref: '#/components/schemas/Failure' description: Not Found + '415': + content: + application/vnd.api+json: + example: + errors: + - status: '415' + code: UnsupportedMediaType + title: + The provided media type is not supported. Update the Content-Type + header to application/vnd.api+json and try again. + schema: + $ref: '#/components/schemas/Failure' + description: Unsupported Media Type security: - OAuth2: [] tags: - - property-entries + - property-key-policies /scene-alterations/{id}: get: description: Get a `scene-alteration` by ID. @@ -11190,6 +11742,15 @@ components: schema: $ref: '#/components/schemas/FilterExpression' style: form + PropertyKeyPolicySuppliedIdFilter: + description: The supplied ID filter expression for property key policies. + explode: true + in: query + name: filter[suppliedId] + required: false + schema: + $ref: '#/components/schemas/FilterExpression' + style: form RelationshipIdFilter: description: A relationship id to filter attachments for explode: true @@ -11724,6 +12285,24 @@ components: maxLength: 36 type: string style: form + PropertyKeyPolicyEntryPropertyKeyPolicyIdFilter: + description: The `property-key-policy` ID to filter on. + explode: true + in: query + name: filter[propertyKeyPolicy.id] + required: false + schema: + $ref: '#/components/schemas/Uuid' + style: form + PropertyKeyPolicyEntryPropertyKeyPolicySuppliedIdFilter: + description: The `property-key-policy` supplied ID to filter on. + explode: true + in: query + name: filter[propertyKeyPolicy.suppliedId] + required: false + schema: + $ref: '#/components/schemas/NonEmptyString' + style: form SuppliedIdFilter: description: Comma-separated list of supplied IDs to filter on. explode: true @@ -11735,6 +12314,50 @@ components: maxLength: 1024 type: string style: form + NameFilterExpression: + description: A filter expression for the `name` to filter on. + explode: true + in: query + name: filter[name] + required: false + schema: + $ref: '#/components/schemas/FilterExpression' + style: form + FileIdFilterExpression: + description: A filter expression for the `fileId` to filter on. + explode: true + in: query + name: filter[fileId] + required: false + schema: + $ref: '#/components/schemas/FilterExpression' + style: form + FileSuppliedIdFilterExpression: + description: + A filter for the `suppliedId`. The canonical form is a filter expression + such as `filter[suppliedId][contains]=...`. The deprecated legacy `filter[suppliedId]=id-1,id-2` + exact-match CSV form is also accepted for backwards compatibility. + explode: true + in: query + name: filter[suppliedId] + required: false + schema: + oneOf: + - deprecated: true + example: some-id-1,some-id-2 + maxLength: 1024 + type: string + - $ref: '#/components/schemas/FilterExpression' + style: form + CreatedAtFilterExpression: + description: A filter expression for the `createdAt` to filter on. + explode: true + in: query + name: filter[createdAt] + required: false + schema: + $ref: '#/components/schemas/FilterExpression' + style: form SceneItemsPartRevisionSourceFilter: description: Comma-separated list of scene-item source part revision IDs to @@ -12286,6 +12909,32 @@ components: - data - links type: object + FilterExpression: + additionalProperties: false + description: Describes how an attribute should be filtered. + properties: + eq: + description: A value of a filter. + type: string + neq: + description: A value of a filter. + type: string + gt: + description: A value of a filter. + type: string + gte: + description: A value of a filter. + type: string + lt: + description: A value of a filter. + type: string + lte: + description: A value of a filter. + type: string + contains: + description: A value of a filter. + type: string + type: object FileList: additionalProperties: false properties: @@ -12329,32 +12978,32 @@ components: required: - data type: object - DownloadUrl: + FileCollectionList: additionalProperties: false properties: data: - $ref: '#/components/schemas/DownloadUrlData' + items: + $ref: '#/components/schemas/FileCollectionMetadataData' + type: array links: additionalProperties: $ref: '#/components/schemas/Link' type: object required: - data + - links type: object - FileCollectionList: + DownloadUrl: additionalProperties: false properties: data: - items: - $ref: '#/components/schemas/FileCollectionMetadataData' - type: array + $ref: '#/components/schemas/DownloadUrlData' links: additionalProperties: $ref: '#/components/schemas/Link' type: object required: - data - - links type: object CreateFileCollectionRequest: additionalProperties: false @@ -12798,62 +13447,125 @@ components: required: - data type: object - UpdatePartRequest: + UpdatePartRequest: + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/UpdatePartRequest_data' + required: + - data + type: object + ModelView: + additionalProperties: false + properties: + data: + $ref: '#/components/schemas/ModelViewData' + links: + additionalProperties: + $ref: '#/components/schemas/Link' + type: object + required: + - data + type: object + ModelViewList: + additionalProperties: false + properties: + data: + items: + $ref: '#/components/schemas/ModelViewData' + type: array + links: + additionalProperties: + $ref: '#/components/schemas/Link' + type: object + required: + - data + - links + type: object + PmiAnnotationList: + additionalProperties: false + properties: + data: + items: + $ref: '#/components/schemas/PmiAnnotationData' + type: array + links: + additionalProperties: + $ref: '#/components/schemas/Link' + type: object + required: + - data + - links + type: object + PropertyEntryList: + additionalProperties: false + properties: + data: + items: + $ref: '#/components/schemas/PropertyEntryData' + type: array + links: + additionalProperties: + $ref: '#/components/schemas/Link' + type: object + required: + - data + - links + type: object + UpsertPropertyEntriesRequest: additionalProperties: false properties: data: - $ref: '#/components/schemas/UpdatePartRequest_data' + $ref: '#/components/schemas/UpsertPropertyEntriesRequest_data' required: - data type: object - ModelView: + PropertyKeyPolicyList: additionalProperties: false properties: data: - $ref: '#/components/schemas/ModelViewData' + items: + $ref: '#/components/schemas/PropertyKeyPolicyData' + type: array links: additionalProperties: $ref: '#/components/schemas/Link' type: object required: - data + - links type: object - ModelViewList: + CreatePropertyKeyPolicyRequest: additionalProperties: false properties: data: - items: - $ref: '#/components/schemas/ModelViewData' - type: array - links: - additionalProperties: - $ref: '#/components/schemas/Link' - type: object + $ref: '#/components/schemas/CreatePropertyKeyPolicyRequestData' required: - data - - links type: object - PmiAnnotationList: + PropertyKeyPolicy: additionalProperties: false properties: data: - items: - $ref: '#/components/schemas/PmiAnnotationData' - type: array + $ref: '#/components/schemas/PropertyKeyPolicyData' links: additionalProperties: $ref: '#/components/schemas/Link' type: object required: - data - - links type: object - PropertyEntryList: + NonEmptyString: + example: some-string + maxLength: 1024 + minLength: 1 + type: string + PropertyKeyPolicyEntryList: additionalProperties: false properties: data: items: - $ref: '#/components/schemas/PropertyEntryData' + $ref: '#/components/schemas/PropertyKeyPolicyEntryData' type: array links: additionalProperties: @@ -12863,11 +13575,13 @@ components: - data - links type: object - UpsertPropertyEntriesRequest: + UpsertPropertyKeyPolicyEntriesRequest: additionalProperties: false properties: data: - $ref: '#/components/schemas/UpsertPropertyEntriesRequest_data' + items: + $ref: '#/components/schemas/PropertyKey' + type: array required: - data type: object @@ -13354,32 +14068,6 @@ components: required: - data type: object - FilterExpression: - additionalProperties: false - description: Describes how an attribute should be filtered. - properties: - eq: - description: A value of a filter. - type: string - neq: - description: A value of a filter. - type: string - gt: - description: A value of a filter. - type: string - gte: - description: A value of a filter. - type: string - lt: - description: A value of a filter. - type: string - lte: - description: A value of a filter. - type: string - contains: - description: A value of a filter. - type: string - type: object QueuedJobList: additionalProperties: false properties: @@ -13711,11 +14399,6 @@ components: - position - up type: object - NonEmptyString: - example: some-string - maxLength: 1024 - minLength: 1 - type: string DateTime: example: 2020-01-01T12:00:00Z format: date-time @@ -14102,6 +14785,9 @@ components: - relationships - type type: object + FilterLiteral: + description: A value of a filter. + type: string FileMetadataData: additionalProperties: false properties: @@ -14125,11 +14811,13 @@ components: - id - type type: object - DownloadUrlData: + FileCollectionMetadataData: additionalProperties: false properties: type: - example: download-url + enum: + - file-collection + example: file-collection type: string id: description: ID of the resource. @@ -14138,7 +14826,7 @@ components: maxLength: 36 type: string attributes: - $ref: '#/components/schemas/DownloadUrlData_attributes' + $ref: '#/components/schemas/FileCollectionMetadataData_attributes' links: additionalProperties: $ref: '#/components/schemas/Link' @@ -14148,13 +14836,11 @@ components: - id - type type: object - FileCollectionMetadataData: + DownloadUrlData: additionalProperties: false properties: type: - enum: - - file-collection - example: file-collection + example: download-url type: string id: description: ID of the resource. @@ -14163,7 +14849,7 @@ components: maxLength: 36 type: string attributes: - $ref: '#/components/schemas/FileCollectionMetadataData_attributes' + $ref: '#/components/schemas/DownloadUrlData_attributes' links: additionalProperties: $ref: '#/components/schemas/Link' @@ -14782,6 +15468,81 @@ components: required: - data type: object + PropertyKeyPolicyData: + additionalProperties: false + properties: + type: + enum: + - property-key-policy + example: property-key-policy + type: string + id: + description: ID of the resource. + example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 + format: uuid + maxLength: 36 + type: string + attributes: + $ref: '#/components/schemas/PropertyKeyPolicyDataAttributes' + links: + additionalProperties: + $ref: '#/components/schemas/Link' + type: object + required: + - attributes + - id + - type + type: object + CreatePropertyKeyPolicyRequestData: + additionalProperties: false + properties: + type: + enum: + - property-key-policy + type: string + attributes: + $ref: '#/components/schemas/CreatePropertyKeyPolicyRequestDataAttributes' + required: + - type + type: object + PropertyKeyPolicyEntryData: + additionalProperties: false + properties: + type: + enum: + - property-key-policy-entry + example: property-key-policy-entry + type: string + id: + example: some-string + maxLength: 1024 + minLength: 1 + type: string + attributes: + $ref: '#/components/schemas/PropertyKeyPolicyEntryDataAttributes' + relationships: + $ref: '#/components/schemas/PropertyKeyPolicyEntryDataRelationships' + links: + additionalProperties: + $ref: '#/components/schemas/Link' + type: object + required: + - attributes + - id + - relationships + - type + type: object + PropertyKey: + additionalProperties: false + properties: + name: + example: some-string + maxLength: 1024 + minLength: 1 + type: string + required: + - name + type: object SceneAlterationData: additionalProperties: false properties: @@ -14985,9 +15746,7 @@ components: type: object Matrix4: additionalProperties: false - description: - 4x4 affine transformation matrix, see [Matrix transformations](https://developer.vertex3d.com/docs/guides/matrix-transformations) - for details. + description: 4x4 affine transformation matrix. example: r0: x: 1.0 @@ -15495,9 +16254,6 @@ components: - relationships - type type: object - FilterLiteral: - description: A value of a filter. - type: string QueuedTranslationJobData: additionalProperties: false properties: @@ -16194,16 +16950,66 @@ components: required: - ordinal type: object - PropertyKeyType: + PropertyKeyPolicyDataAttributes: + additionalProperties: false + properties: + createdAt: + example: 2020-01-01T12:00:00Z + format: date-time + type: string + suppliedId: + description: + ID provided for correlation with external systems, e.g. a PLM + system. + example: GRP12345 + maxLength: 1024 + minLength: 1 + type: string + name: + example: some-string + maxLength: 1024 + minLength: 1 + type: string + mode: + $ref: '#/components/schemas/PropertyKeyPolicyMode' + required: + - createdAt + - mode + type: object + CreatePropertyKeyPolicyRequestDataAttributes: + additionalProperties: false properties: + suppliedId: + description: + ID provided for correlation with external systems, e.g. a PLM + system. + example: GRP12345 + maxLength: 1024 + minLength: 1 + type: string name: example: some-string maxLength: 1024 minLength: 1 type: string + mode: + $ref: '#/components/schemas/PropertyKeyPolicyMode' + type: object + PropertyKeyPolicyEntryDataAttributes: + additionalProperties: false + properties: + key: + $ref: '#/components/schemas/PropertyKey' required: - - category - - name + - key + type: object + PropertyKeyPolicyEntryDataRelationships: + additionalProperties: false + properties: + propertyKeyPolicy: + $ref: '#/components/schemas/PropertyKeyPolicyRelationship' + required: + - propertyKeyPolicy type: object QueryById: additionalProperties: false @@ -16990,6 +17796,20 @@ components: - id - type type: object + PropertyKeyPolicyMode: + enum: + - allowlist + - denylist + type: string + PropertyKeyPolicyRelationship: + additionalProperties: false + description: Relationship to a `property-key-policy`. + properties: + data: + $ref: '#/components/schemas/PropertyKeyPolicyRelationship_data' + required: + - data + type: object QueryBySceneItemId: additionalProperties: false properties: @@ -19009,6 +19829,14 @@ components: format: uuid maxLength: 36 type: string + propertyKeyPolicyId: + description: + An optional ID specifying the `property-key-policy` to apply + to JWTs generated from this `stream-key`. + example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 + format: uuid + maxLength: 36 + type: string withSearchSession: description: Optionally enables or disables the creation of a search session @@ -19652,20 +20480,6 @@ components: - name - status type: object - DownloadUrlData_attributes: - properties: - downloadUrl: - deprecated: true - description: Deprecated. Use `uri` instead. - example: https://example.com/path/to/file.zip - type: string - uri: - example: https://example.com/path/to/file.zip - type: string - required: - - downloadUrl - - uri - type: object FileCollectionMetadataData_attributes: properties: name: @@ -19696,6 +20510,20 @@ components: required: - created type: object + DownloadUrlData_attributes: + properties: + downloadUrl: + deprecated: true + description: Deprecated. Use `uri` instead. + example: https://example.com/path/to/file.zip + type: string + uri: + example: https://example.com/path/to/file.zip + type: string + required: + - downloadUrl + - uri + type: object DocumentData_attributes: properties: fileId: @@ -20061,7 +20889,7 @@ components: - $ref: '#/components/schemas/PropertyLongType' - $ref: '#/components/schemas/PropertyDateType' key: - $ref: '#/components/schemas/PropertyKeyType' + $ref: '#/components/schemas/PropertyKey' required: - key - value @@ -20463,6 +21291,12 @@ components: format: uuid maxLength: 36 type: string + propertyKeyPolicyId: + description: ID of the resource. + example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 + format: uuid + maxLength: 36 + type: string required: - created - expiry @@ -20927,6 +21761,24 @@ components: required: - data type: object + PropertyKeyPolicyRelationship_data: + properties: + type: + description: Resource object type. + enum: + - property-key-policy + example: property-key-policy + type: string + id: + description: ID of the resource. + example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3 + format: uuid + maxLength: 36 + type: string + required: + - id + - type + type: object securitySchemes: OAuth2: flows: diff --git a/yarn.lock b/yarn.lock index a385fe4..b2e2c21 100644 --- a/yarn.lock +++ b/yarn.lock @@ -971,11 +971,18 @@ resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz#d70faba7039d5fca54c83c7dbab41051d2b6f6cb" integrity sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA== -"@types/node@*", "@types/node@^16": +"@types/node@*": version "16.11.12" resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.12.tgz#ac7fb693ac587ee182c3780c26eb65546a1a3c10" integrity sha512-+2Iggwg7PxoO5Kyhvsq9VarmPbIelXP070HMImEpbtGCoyWNINQj4wzjbQCXzdHTRXnqufutJb5KAURZANNBAw== +"@types/node@^18": + version "18.19.130" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.130.tgz#da4c6324793a79defb7a62cba3947ec5add00d59" + integrity sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg== + dependencies: + undici-types "~5.26.4" + "@types/semver@^7.3.12": version "7.5.1" resolved "https://registry.npmjs.org/@types/semver/-/semver-7.5.1.tgz#0480eeb7221eb9bc398ad7432c9d7e14b1a5a367" @@ -1149,6 +1156,11 @@ ansi-regex@^5.0.1: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== +ansi-sequence-parser@^1.1.0: + version "1.1.3" + resolved "https://registry.yarnpkg.com/ansi-sequence-parser/-/ansi-sequence-parser-1.1.3.tgz#f2cefb8b681aeb72b7cd50aebc00d509eba64d4c" + integrity sha512-+fksAx9eG3Ab6LDnLs3ZqZa8KVJ/jYnX+D4Qe1azX+LFGFAXqynCQLOdLpNYN/l9e7l6hMWwZbrnctqr6eSQSw== + ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" @@ -2048,7 +2060,7 @@ glob-parent@^6.0.2: dependencies: is-glob "^4.0.3" -glob@^7.1.3, glob@^7.1.4, glob@^7.2.0: +glob@^7.1.3, glob@^7.1.4: version "7.2.0" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== @@ -2763,10 +2775,10 @@ json5@2.2.3, json5@^2.1.2, json5@^2.2.3: resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== -jsonc-parser@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.0.0.tgz#abdd785701c7e7eaca8a9ec8cf070ca51a745a22" - integrity sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA== +jsonc-parser@^3.2.0: + version "3.3.1" + resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.3.1.tgz#f2a524b4f7fd11e3d791e559977ad60b98b798b4" + integrity sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ== kleur@^3.0.3: version "3.0.3" @@ -2846,7 +2858,7 @@ makeerror@1.0.12: dependencies: tmpl "1.0.5" -marked@4.3.0, marked@^3.0.8: +marked@4.3.0, marked@^4.2.12: version "4.3.0" resolved "https://registry.yarnpkg.com/marked/-/marked-4.3.0.tgz#796362821b019f734054582038b116481b456cf3" integrity sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A== @@ -2896,7 +2908,7 @@ mimic-fn@^4.0.0: resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== -minimatch@3.1.5, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.2: +minimatch@3.1.5, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.2, minimatch@^7.1.3: version "3.1.5" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.5.tgz#580c88f8d5445f2bd6aa8f3cadefa0de79fbd69e" integrity sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w== @@ -3284,14 +3296,15 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shiki@^0.9.12: - version "0.9.14" - resolved "https://registry.yarnpkg.com/shiki/-/shiki-0.9.14.tgz#6b3e369edf76049ae7ad7c2b0498c35c200b8dd7" - integrity sha512-uLHjjyJdNsMzF9GOF8vlOuZ8BwigiYPraMN5yjC826k8K7Xu90JQcC5GUNrzRibLgT2EOk9597I1IX+jRdA8nw== +shiki@^0.14.1: + version "0.14.7" + resolved "https://registry.yarnpkg.com/shiki/-/shiki-0.14.7.tgz#c3c9e1853e9737845f1d2ef81b31bcfb07056d4e" + integrity sha512-dNPAPrxSc87ua2sKJ3H5dQ/6ZaY8RNnaAqK+t0eG7p0Soi2ydiqbGOTaZCqaYvA/uZYfS1LJnemt3Q+mSfcPCg== dependencies: - jsonc-parser "^3.0.0" - vscode-oniguruma "^1.6.1" - vscode-textmate "5.2.0" + ansi-sequence-parser "^1.1.0" + jsonc-parser "^3.2.0" + vscode-oniguruma "^1.7.0" + vscode-textmate "^8.0.0" signal-exit@^3.0.3: version "3.0.6" @@ -3505,21 +3518,25 @@ type-fest@^0.21.3: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== -typedoc@^0.22: - version "0.22.10" - resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.22.10.tgz#221e1a2b17bcb71817ef027dc4c4969d572e7620" - integrity sha512-hQYZ4WtoMZ61wDC6w10kxA42+jclWngdmztNZsDvIz7BMJg7F2xnT+uYsUa7OluyKossdFj9E9Ye4QOZKTy8SA== +typedoc@^0.23: + version "0.23.28" + resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.23.28.tgz#3ce9c36ef1c273fa849d2dea18651855100d3ccd" + integrity sha512-9x1+hZWTHEQcGoP7qFmlo4unUoVJLB0H/8vfO/7wqTnZxg4kPuji9y3uRzEu0ZKez63OJAUmiGhUrtukC6Uj3w== dependencies: - glob "^7.2.0" lunr "^2.3.9" - marked "^3.0.8" - minimatch "^3.0.4" - shiki "^0.9.12" + marked "^4.2.12" + minimatch "^7.1.3" + shiki "^0.14.1" + +typescript@4.9.x: + version "4.9.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" + integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== -typescript@4.5.x: - version "4.5.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.2.tgz#8ac1fba9f52256fdb06fb89e4122fa6a346c2998" - integrity sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw== +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== untildify@^4.0.0: version "4.0.0" @@ -3550,15 +3567,15 @@ v8-to-istanbul@^9.0.1: "@types/istanbul-lib-coverage" "^2.0.1" convert-source-map "^1.6.0" -vscode-oniguruma@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/vscode-oniguruma/-/vscode-oniguruma-1.6.1.tgz#2bf4dfcfe3dd2e56eb549a3068c8ee39e6c30ce5" - integrity sha512-vc4WhSIaVpgJ0jJIejjYxPvURJavX6QG41vu0mGhqywMkQqulezEqEQ3cO3gc8GvcOpX6ycmKGqRoROEMBNXTQ== +vscode-oniguruma@^1.7.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz#439bfad8fe71abd7798338d1cd3dc53a8beea94b" + integrity sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA== -vscode-textmate@5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/vscode-textmate/-/vscode-textmate-5.2.0.tgz#01f01760a391e8222fe4f33fbccbd1ad71aed74e" - integrity sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ== +vscode-textmate@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/vscode-textmate/-/vscode-textmate-8.0.0.tgz#2c7a3b1163ef0441097e0b5d6389cd5504b59e5d" + integrity sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg== walker@^1.0.8: version "1.0.8" From 82472541b3638725038117988fda5b9cb1efaa7e Mon Sep 17 00:00:00 2001 From: Madison Ehlers Date: Tue, 7 Jul 2026 16:52:11 -0500 Subject: [PATCH 2/2] v0.43.0 --- client/version.ts | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/version.ts b/client/version.ts index 3d29811..c925cb7 100644 --- a/client/version.ts +++ b/client/version.ts @@ -1 +1 @@ -export const version = '0.42.3'; +export const version = '0.43.0'; diff --git a/package.json b/package.json index 1ec1a87..d322aa4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vertexvis/api-client-node", - "version": "0.42.3", + "version": "0.43.0", "description": "The Vertex REST API client for Node.js.", "license": "MIT", "author": "Vertex Developers (https://developer.vertex3d.com)",