├── .github └── workflows │ └── AutoChangeLog.yml ├── .gitignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── authentication ├── .gitignore ├── .npmignore ├── .prettierrc └── source │ ├── README.md │ ├── api.ts │ ├── api │ ├── tokenApi.ts │ └── usersApi.ts │ ├── base.ts │ ├── common.ts │ ├── custom-code │ ├── authenticationClient.ts │ └── index.ts │ ├── index.ts │ ├── model │ ├── grantType.ts │ ├── index.ts │ ├── introspectToken.ts │ ├── jwks.ts │ ├── jwksKey.ts │ ├── oidcSpec.ts │ ├── responseType.ts │ ├── scopes.ts │ ├── threeLeggedToken.ts │ ├── tokenTypeHint.ts │ ├── twoLeggedToken.ts │ ├── userInfo.ts │ ├── userInfoAddress.ts │ └── userInfoSocialUserinfoList.ts │ ├── package-lock.json │ ├── package.json │ ├── tsconfig.esm.json │ └── tsconfig.json ├── construction ├── accountadmin │ └── source │ │ ├── .gitignore │ │ ├── .npmignore │ │ ├── .prettierrc │ │ ├── README.md │ │ ├── api.ts │ │ ├── api │ │ ├── accountUsersApi.ts │ │ ├── businessUnitsApi.ts │ │ ├── companiesApi.ts │ │ ├── projectUsersApi.ts │ │ ├── projectsApi.ts │ │ └── userProjectsApi.ts │ │ ├── base.ts │ │ ├── common.ts │ │ ├── custom-code │ │ ├── adminClient.ts │ │ └── index.ts │ │ ├── index.ts │ │ ├── model │ │ ├── accessLevels.ts │ │ ├── businessUnit.ts │ │ ├── businessUnitsRequest.ts │ │ ├── businessUnitsRequestPayload.ts │ │ ├── businessUnitsResponse.ts │ │ ├── classification.ts │ │ ├── company.ts │ │ ├── companyImportResponse.ts │ │ ├── companyPatchPayload.ts │ │ ├── companyPayload.ts │ │ ├── companyResponse.ts │ │ ├── currency.ts │ │ ├── fields.ts │ │ ├── filterTextMatch.ts │ │ ├── filterUserProjectsAccessLevels.ts │ │ ├── index.ts │ │ ├── orFilters.ts │ │ ├── pagination.ts │ │ ├── platform.ts │ │ ├── productAccess.ts │ │ ├── productKeys.ts │ │ ├── products.ts │ │ ├── project.ts │ │ ├── projectPatchResponse.ts │ │ ├── projectPayload.ts │ │ ├── projectPayloadProjectValue.ts │ │ ├── projectPayloadTemplate.ts │ │ ├── projectPayloadTemplateOptions.ts │ │ ├── projectPayloadTemplateOptionsField.ts │ │ ├── projectUser.ts │ │ ├── projectUserAccessLevels.ts │ │ ├── projectUserPayload.ts │ │ ├── projectUserPayloadProducts.ts │ │ ├── projectUserPhone.ts │ │ ├── projectUserProducts.ts │ │ ├── projectUserResponse.ts │ │ ├── projectUserRoles.ts │ │ ├── projectUsers.ts │ │ ├── projectUsersImportPayload.ts │ │ ├── projectUsersImportPayloadUsers.ts │ │ ├── projectUsersImportPayloadUsersProducts.ts │ │ ├── projectUsersImportResponse.ts │ │ ├── projectUsersUpdatePayload.ts │ │ ├── projectUsersUpdatePayloadProducts.ts │ │ ├── projects.ts │ │ ├── projectsPagination.ts │ │ ├── region.ts │ │ ├── sortBy.ts │ │ ├── status.ts │ │ ├── statusFilter.ts │ │ ├── timezone.ts │ │ ├── trade.ts │ │ ├── type.ts │ │ ├── user.ts │ │ ├── userFields.ts │ │ ├── userImportResponse.ts │ │ ├── userPatchPayload.ts │ │ ├── userPatchStatus.ts │ │ ├── userPayload.ts │ │ ├── userProject.ts │ │ ├── userProjectAccessLevels.ts │ │ ├── userProjectFields.ts │ │ ├── userProjectProjectValue.ts │ │ ├── userProjectSortBy.ts │ │ ├── userProjectsPage.ts │ │ └── userSortBy.ts │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── tsconfig.esm.json │ │ └── tsconfig.json └── issues │ └── source │ ├── .gitignore │ ├── README.md │ ├── api.ts │ ├── api │ ├── issue-attribute-definitions-api.ts │ ├── issue-attribute-mappings-api.ts │ ├── issue-comments-api.ts │ ├── issue-root-cause-categories-api.ts │ ├── issue-types-api.ts │ ├── issues-api.ts │ └── issues-profile-api.ts │ ├── base.ts │ ├── common.ts │ ├── custom-code │ ├── index.ts │ └── issuesClient.ts │ ├── index.ts │ ├── model │ ├── assignedToType.ts │ ├── attrDefinitionPage.ts │ ├── attrDefinitionPageResults.ts │ ├── attrDefinitionPageResultsMetadata.ts │ ├── attrDefinitionPageResultsMetadataList.ts │ ├── attrDefinitionPageResultsMetadataListOptions.ts │ ├── attrMappingPage.ts │ ├── attrMappingPageResults.ts │ ├── comments.ts │ ├── commentsPage.ts │ ├── commentsPayload.ts │ ├── dataType.ts │ ├── fields.ts │ ├── index.ts │ ├── issue.ts │ ├── issueCustomAttributes.ts │ ├── issueGpsCoordinates.ts │ ├── issueLinkedDocuments.ts │ ├── issueLinkedDocumentsDetails.ts │ ├── issueLinkedDocumentsDetailsPosition.ts │ ├── issueLinkedDocumentsDetailsViewable.ts │ ├── issuePayload.ts │ ├── issuePayloadCustomAttributes.ts │ ├── issuePayloadGpsCoordinates.ts │ ├── issuesPage.ts │ ├── pagination.ts │ ├── permissionLevel.ts │ ├── region.ts │ ├── rootCauseCategoriesPage.ts │ ├── rootCauseCategoriesPageResults.ts │ ├── rootCauseCategoriesPageResultsRootCauses.ts │ ├── sortBy.ts │ ├── status.ts │ ├── typesPage.ts │ ├── typesPageResults.ts │ ├── typesPageResultsSubtypes.ts │ ├── user.ts │ ├── userIssues.ts │ ├── userIssuesFilter.ts │ └── userIssuesNew.ts │ ├── package.json │ ├── tsconfig.esm.json │ └── tsconfig.json ├── datamanagement └── source │ ├── .gitignore │ ├── .npmignore │ ├── .prettierrc │ ├── README.md │ ├── api.ts │ ├── api │ ├── commandsApi.ts │ ├── foldersApi.ts │ ├── hubsApi.ts │ ├── itemsApi.ts │ ├── projectsApi.ts │ └── versionsApi.ts │ ├── base.ts │ ├── common.ts │ ├── custom-code │ ├── dataManagementClient.ts │ └── index.ts │ ├── index.ts │ ├── model │ ├── baseAttributesExtensionObjectWithSchemaLink.ts │ ├── baseAttributesExtensionObjectWithSchemaLinkSchema.ts │ ├── baseAttributesExtensionObjectWithoutSchemaLink.ts │ ├── checkPermission.ts │ ├── checkPermissionAttributes.ts │ ├── checkPermissionAttributesExtension.ts │ ├── checkPermissionAttributesExtensionData.ts │ ├── checkPermissionAttributesExtensionDataPermissions.ts │ ├── checkPermissionAttributesExtensionDataPermissionsDetails.ts │ ├── checkPermissionAttributesExtensionSchema.ts │ ├── checkPermissionPayload.ts │ ├── checkPermissionPayloadAttributes.ts │ ├── checkPermissionPayloadAttributesExtension.ts │ ├── checkPermissionPayloadAttributesExtensionData.ts │ ├── checkPermissionPayloadRelationships.ts │ ├── checkPermissionPayloadRelationshipsResources.ts │ ├── checkPermissionPayloadRelationshipsResourcesData.ts │ ├── checkPermissionRelationships.ts │ ├── checkPermissionRelationshipsResources.ts │ ├── checkPermissionRelationshipsResourcesData.ts │ ├── command.ts │ ├── commandData.ts │ ├── commandExecutionStatus.ts │ ├── commandPayload.ts │ ├── commandPayloadData.ts │ ├── conformingStatus.ts │ ├── createdDownload.ts │ ├── createdDownloadData.ts │ ├── createdDownloadDataAttributes.ts │ ├── createdItem.ts │ ├── createdItemMeta.ts │ ├── createdVersion.ts │ ├── createdVersionData.ts │ ├── createdVersionIncluded.ts │ ├── createdVersionIncludedLinks.ts │ ├── createdVersionIncludedRelationships.ts │ ├── download.ts │ ├── downloadData.ts │ ├── downloadDataAttributes.ts │ ├── downloadDataAttributesFormat.ts │ ├── downloadDataRelationships.ts │ ├── downloadDataRelationshipsStorage.ts │ ├── downloadDataRelationshipsStorageData.ts │ ├── downloadDataRelationshipsStorageMeta.ts │ ├── downloadFormats.ts │ ├── downloadFormatsData.ts │ ├── downloadFormatsDataAttributes.ts │ ├── downloadFormatsDataAttributesFormats.ts │ ├── downloadPayload.ts │ ├── downloadPayloadData.ts │ ├── downloadPayloadDataAttributes.ts │ ├── downloadPayloadDataAttributesFormat.ts │ ├── downloadPayloadDataRelationships.ts │ ├── downloadPayloadDataRelationshipsSource.ts │ ├── downloadPayloadDataRelationshipsSourceData.ts │ ├── downloads.ts │ ├── downloadsStatus.ts │ ├── extensionTypeCoreXref.ts │ ├── filterDirection.ts │ ├── filterRefType.ts │ ├── filterType.ts │ ├── filterTypeVersion.ts │ ├── folder.ts │ ├── folderAttributesWithExtensions.ts │ ├── folderContents.ts │ ├── folderContentsData.ts │ ├── folderContentsLinks.ts │ ├── folderData.ts │ ├── folderDataRelationships.ts │ ├── folderExtensionWithSchemaLink.ts │ ├── folderPayload.ts │ ├── folderPayloadData.ts │ ├── folderPayloadDataAttributes.ts │ ├── folderPayloadDataAttributesExtension.ts │ ├── folderPayloadDataRelationships.ts │ ├── folderPayloadDataRelationshipsParent.ts │ ├── folderPayloadDataRelationshipsParentData.ts │ ├── folderRefs.ts │ ├── folderRefsData.ts │ ├── hub.ts │ ├── hubData.ts │ ├── hubDataAttributes.ts │ ├── hubDataRelationships.ts │ ├── hubDataRelationshipsPimCollection.ts │ ├── hubDataRelationshipsProjects.ts │ ├── hubs.ts │ ├── index.ts │ ├── item.ts │ ├── itemAttributes.ts │ ├── itemData.ts │ ├── itemDataRelationships.ts │ ├── itemExtensionWithSchemaLink.ts │ ├── itemPayload.ts │ ├── itemPayloadData.ts │ ├── itemPayloadDataAttributes.ts │ ├── itemPayloadDataAttributesExtension.ts │ ├── itemPayloadDataRelationships.ts │ ├── itemPayloadDataRelationshipsParent.ts │ ├── itemPayloadDataRelationshipsParentData.ts │ ├── itemPayloadDataRelationshipsTip.ts │ ├── itemPayloadDataRelationshipsTipData.ts │ ├── itemPayloadIncluded.ts │ ├── itemPayloadIncludedAttributes.ts │ ├── itemPayloadIncludedAttributesExtension.ts │ ├── itemPayloadIncludedRelationships.ts │ ├── itemPayloadIncludedRelationshipsStorage.ts │ ├── itemPayloadIncludedRelationshipsStorageData.ts │ ├── itemTip.ts │ ├── job.ts │ ├── jobData.ts │ ├── jobDataAttributes.ts │ ├── jsonApiLink.ts │ ├── jsonApiLinksRelated.ts │ ├── jsonApiLinksRelatedRelated.ts │ ├── jsonApiLinksSelf.ts │ ├── jsonApiLinksSelfAndWebView.ts │ ├── jsonApiLinksSelfSelf.ts │ ├── jsonApiMetaLink.ts │ ├── jsonApiRelationshipsLinksFolderParent.ts │ ├── jsonApiRelationshipsLinksInternal.ts │ ├── jsonApiRelationshipsLinksInternalResource.ts │ ├── jsonApiRelationshipsLinksLinks.ts │ ├── jsonApiRelationshipsLinksLinksLinks.ts │ ├── jsonApiRelationshipsLinksOnlyBim.ts │ ├── jsonApiRelationshipsLinksRefs.ts │ ├── jsonApiRelationshipsLinksRefsLinks.ts │ ├── jsonApiRelationshipsLinksRootFolder.ts │ ├── jsonApiRelationshipsLinksToTipVersion.ts │ ├── jsonApiRelationshipsLinksVersions.ts │ ├── jsonApiRelationshipsRefs.ts │ ├── jsonApiRelationshipsRefsData.ts │ ├── jsonApiRelationshipsRefsDataMeta.ts │ ├── jsonApiRelationshipsRefsDataMetaExtension.ts │ ├── jsonApiRelationshipsRefsDataMetaExtensionData.ts │ ├── jsonApiTypeId.ts │ ├── jsonApiVersion.ts │ ├── jsonApiVersionValue.ts │ ├── listItems.ts │ ├── listItemsAttributes.ts │ ├── listItemsAttributesExtension.ts │ ├── listItemsPayload.ts │ ├── listItemsPayloadAttributes.ts │ ├── listItemsPayloadAttributesExtension.ts │ ├── listItemsPayloadAttributesExtensionData.ts │ ├── listItemsPayloadRelationships.ts │ ├── listItemsPayloadRelationshipsResources.ts │ ├── listItemsPayloadRelationshipsResourcesData.ts │ ├── listItemsRelationships.ts │ ├── listItemsRelationshipsResources.ts │ ├── listItemsRelationshipsResourcesData.ts │ ├── listItemsTest.ts │ ├── listItemsTestRelationships.ts │ ├── listItemsTestRelationshipsResources.ts │ ├── listItemsTestRelationshipsResourcesData.ts │ ├── listRefs.ts │ ├── listRefsAttributes.ts │ ├── listRefsIncluded.ts │ ├── listRefsPayload.ts │ ├── listRefsPayloadAttributes.ts │ ├── listRefsPayloadAttributesExtension.ts │ ├── listRefsPayloadRelationships.ts │ ├── listRefsPayloadRelationshipsResources.ts │ ├── listRefsPayloadRelationshipsResourcesData.ts │ ├── listRefsRelationships.ts │ ├── listRefsRelationshipsResources.ts │ ├── listRefsRelationshipsResourcesData.ts │ ├── metaForWebhooks.ts │ ├── metaRefs.ts │ ├── metarefsDirection.ts │ ├── modifyFolderPayload.ts │ ├── modifyFolderPayloadData.ts │ ├── modifyFolderPayloadDataAttributes.ts │ ├── modifyFolderPayloadDataRelationships.ts │ ├── modifyFolderPayloadDataRelationshipsParent.ts │ ├── modifyFolderPayloadDataRelationshipsParentData.ts │ ├── modifyItemPayload.ts │ ├── modifyItemPayloadData.ts │ ├── modifyItemPayloadDataAttributes.ts │ ├── modifyVersionPayload.ts │ ├── modifyVersionPayloadData.ts │ ├── modifyVersionPayloadDataAttributes.ts │ ├── nestedXref.ts │ ├── paginationInfo.ts │ ├── paginationInfoFirst.ts │ ├── paginationInfoNext.ts │ ├── paginationInfoPrev.ts │ ├── paginationInfoSelf.ts │ ├── project.ts │ ├── projectData.ts │ ├── projectDataAttributes.ts │ ├── projectDataRelationships.ts │ ├── projectDataRelationshipsTopFolders.ts │ ├── projectExtensionWithSchemaLink.ts │ ├── projectTypeBim360Acc.ts │ ├── projects.ts │ ├── publishModel.ts │ ├── publishModelAttributes.ts │ ├── publishModelAttributesExtension.ts │ ├── publishModelJob.ts │ ├── publishModelJobAttributes.ts │ ├── publishModelJobAttributesExtension.ts │ ├── publishModelJobPayload.ts │ ├── publishModelJobPayloadAttributes.ts │ ├── publishModelJobPayloadAttributesExtension.ts │ ├── publishModelJobPayloadRelationships.ts │ ├── publishModelJobPayloadRelationshipsResources.ts │ ├── publishModelJobPayloadRelationshipsResourcesData.ts │ ├── publishModelPayload.ts │ ├── publishModelPayloadAttributes.ts │ ├── publishModelPayloadAttributesExtension.ts │ ├── publishModelPayloadRelationships.ts │ ├── publishModelPayloadRelationshipsResources.ts │ ├── publishModelPayloadRelationshipsResourcesData.ts │ ├── publishWithoutLinks.ts │ ├── publishWithoutLinksAttributes.ts │ ├── publishWithoutLinksAttributesExtension.ts │ ├── publishWithoutLinksPayload.ts │ ├── publishWithoutLinksPayloadAttributes.ts │ ├── publishWithoutLinksPayloadAttributesExtension.ts │ ├── publishWithoutLinksPayloadRelationships.ts │ ├── publishWithoutLinksPayloadRelationshipsResources.ts │ ├── publishWithoutLinksPayloadRelationshipsResourcesData.ts │ ├── refs.ts │ ├── refsData.ts │ ├── reftypesXref.ts │ ├── region.ts │ ├── relationshipLinks.ts │ ├── relationshipLinksData.ts │ ├── relationshipLinksDataMeta.ts │ ├── relationshipLinksDataMetaData.ts │ ├── relationshipRefs.ts │ ├── relationshipRefsData.ts │ ├── relationshipRefsIncluded.ts │ ├── relationshipRefsLinks.ts │ ├── relationshipRefsPayload.ts │ ├── relationshipRefsPayloadData.ts │ ├── relationshipRefsPayloadDataMeta.ts │ ├── search.ts │ ├── storage.ts │ ├── storageData.ts │ ├── storageDataRelationships.ts │ ├── storageDataRelationshipsTarget.ts │ ├── storageDataRelationshipsTargetData.ts │ ├── storagePayload.ts │ ├── storagePayloadData.ts │ ├── storagePayloadDataAttributes.ts │ ├── storagePayloadDataRelationships.ts │ ├── storagePayloadDataRelationshipsTarget.ts │ ├── storagePayloadDataRelationshipsTargetData.ts │ ├── topFolderAttributesWithExtensions.ts │ ├── topFolderData.ts │ ├── topFolderDataRelationships.ts │ ├── topFolderExtensionWithSchemaLink.ts │ ├── topFolders.ts │ ├── typeCommands.ts │ ├── typeCommandtypeCheckPermission.ts │ ├── typeCommandtypeGetPublishModelJob.ts │ ├── typeCommandtypeListItems.ts │ ├── typeCommandtypeListRefs.ts │ ├── typeCommandtypePublishWithoutLinks.ts │ ├── typeCommandtypePublishmodel.ts │ ├── typeDownloadformats.ts │ ├── typeDownloads.ts │ ├── typeEntity.ts │ ├── typeFolder.ts │ ├── typeFolderItems.ts │ ├── typeFolderItemsForStorage.ts │ ├── typeHub.ts │ ├── typeItem.ts │ ├── typeJob.ts │ ├── typeLink.ts │ ├── typeObject.ts │ ├── typeProject.ts │ ├── typeRef.ts │ ├── typeVersion.ts │ ├── version.ts │ ├── versionAttributes.ts │ ├── versionData.ts │ ├── versionDataRelationships.ts │ ├── versionDataRelationshipsDerivatives.ts │ ├── versionDataRelationshipsDownloadFormats.ts │ ├── versionDataRelationshipsItem.ts │ ├── versionDataRelationshipsStorage.ts │ ├── versionDataRelationshipsThumbnails.ts │ ├── versionExtensionWithSchemaLink.ts │ ├── versionPayload.ts │ ├── versionPayloadData.ts │ ├── versionPayloadDataAttributes.ts │ ├── versionPayloadDataAttributesExtension.ts │ ├── versionPayloadDataRelationships.ts │ ├── versionPayloadDataRelationshipsItem.ts │ ├── versionPayloadDataRelationshipsItemData.ts │ ├── versionPayloadDataRelationshipsRefs.ts │ ├── versionPayloadDataRelationshipsRefsData.ts │ ├── versionPayloadDataRelationshipsRefsDataMeta.ts │ ├── versionPayloadDataRelationshipsRefsDataMetaExtension.ts │ ├── versionPayloadDataRelationshipsRefsDataMetaExtensionData.ts │ ├── versionPayloadDataRelationshipsStorage.ts │ ├── versionPayloadDataRelationshipsStorageData.ts │ ├── versions.ts │ └── webViewLink.ts │ ├── package-lock.json │ ├── package.json │ ├── tsconfig.esm.json │ └── tsconfig.json ├── modelderivative └── source │ ├── .gitignore │ ├── .npmignore │ ├── .prettierrc │ ├── README.md │ ├── api.ts │ ├── api │ ├── derivativesApi.ts │ ├── informationalApi.ts │ ├── jobsApi.ts │ ├── manifestApi.ts │ ├── metadataApi.ts │ └── thumbnailsApi.ts │ ├── base.ts │ ├── common.ts │ ├── custom-code │ ├── index.ts │ └── modelDerivativeClient.ts │ ├── index.ts │ ├── model │ ├── applicationProtocol.ts │ ├── beginsWith.ts │ ├── between.ts │ ├── buildingStoreys.ts │ ├── contains.ts │ ├── conversionMethod.ts │ ├── deleteManifest.ts │ ├── derivativeDownload.ts │ ├── equalsTo.ts │ ├── exportFileStructure.ts │ ├── extractorVersion.ts │ ├── format.ts │ ├── greaterThan.ts │ ├── height.ts │ ├── hierarchy.ts │ ├── index.ts │ ├── job.ts │ ├── jobAcceptedJobs.ts │ ├── jobPayload.ts │ ├── jobPayloadFormat.ts │ ├── jobPayloadFormatAdvancedDWG.ts │ ├── jobPayloadFormatAdvancedIFC.ts │ ├── jobPayloadFormatAdvancedIGES.ts │ ├── jobPayloadFormatAdvancedOBJ.ts │ ├── jobPayloadFormatAdvancedOBJAdvanced.ts │ ├── jobPayloadFormatAdvancedSTEP.ts │ ├── jobPayloadFormatAdvancedSTL.ts │ ├── jobPayloadFormatAdvancedSTLAdvanced.ts │ ├── jobPayloadFormatAdvancedThumbnail.ts │ ├── jobPayloadFormatDWG.ts │ ├── jobPayloadFormatIFC.ts │ ├── jobPayloadFormatIGES.ts │ ├── jobPayloadFormatOBJ.ts │ ├── jobPayloadFormatSTEP.ts │ ├── jobPayloadFormatSTL.ts │ ├── jobPayloadFormatSVF.ts │ ├── jobPayloadFormatSVF2.ts │ ├── jobPayloadFormatSVF2Advanced.ts │ ├── jobPayloadFormatSVF2AdvancedDGN.ts │ ├── jobPayloadFormatSVF2AdvancedDWG.ts │ ├── jobPayloadFormatSVF2AdvancedIFC.ts │ ├── jobPayloadFormatSVF2AdvancedNWD.ts │ ├── jobPayloadFormatSVF2AdvancedRVT.ts │ ├── jobPayloadFormatSVF2AdvancedVUE.ts │ ├── jobPayloadFormatSVFAdvanced.ts │ ├── jobPayloadFormatSVFAdvancedDGN.ts │ ├── jobPayloadFormatSVFAdvancedDWG.ts │ ├── jobPayloadFormatSVFAdvancedIFC.ts │ ├── jobPayloadFormatSVFAdvancedNWD.ts │ ├── jobPayloadFormatSVFAdvancedRVT.ts │ ├── jobPayloadFormatSVFAdvancedVUE.ts │ ├── jobPayloadFormatThumbnail.ts │ ├── jobPayloadInput.ts │ ├── jobPayloadMisc.ts │ ├── jobPayloadOutput.ts │ ├── jobPayloadOutputDestination.ts │ ├── lessThan.ts │ ├── manifest.ts │ ├── manifestDerivative.ts │ ├── manifestResources.ts │ ├── matchId.ts │ ├── matchIdType.ts │ ├── materialMode.ts │ ├── messages.ts │ ├── model2dView.ts │ ├── modelViews.ts │ ├── modelViewsData.ts │ ├── modelViewsDataMetadata.ts │ ├── objectTree.ts │ ├── objectTreeData.ts │ ├── objectTreeDataObjects.ts │ ├── openingElements.ts │ ├── outputType.ts │ ├── payload.ts │ ├── properties.ts │ ├── propertiesData.ts │ ├── propertiesDataCollection.ts │ ├── region.ts │ ├── role.ts │ ├── sheetType.ts │ ├── solidType.ts │ ├── spaces.ts │ ├── specificProperties.ts │ ├── specificPropertiesPagination.ts │ ├── specificPropertiesPayload.ts │ ├── specificPropertiesPayloadPagination.ts │ ├── specificPropertiesPayloadQuery.ts │ ├── specifyReferences.ts │ ├── specifyReferencesPayload.ts │ ├── specifyReferencesPayloadReferences.ts │ ├── supportedFormats.ts │ ├── surfaceType.ts │ ├── unit.ts │ ├── view.ts │ ├── width.ts │ ├── xadsDerivativeFormat.ts │ ├── xadsJobStatus.ts │ └── xadsRole.ts │ ├── package.json │ ├── tsconfig.esm.json │ └── tsconfig.json ├── oss └── source │ ├── .gitignore │ ├── .npmignore │ ├── .prettierrc │ ├── README.md │ ├── api.ts │ ├── api │ ├── bucketsApi.ts │ └── objectsApi.ts │ ├── base.ts │ ├── common.ts │ ├── custom-code │ ├── fileTransferConfigurations.ts │ ├── index.ts │ ├── ossClient.ts │ └── ossFileTransfer.ts │ ├── index.ts │ ├── model │ ├── access.ts │ ├── batchCompletedResults.ts │ ├── batchCompletedResultsParts.ts │ ├── batchcompleteuploadObject.ts │ ├── batchcompleteuploadObjectRequests.ts │ ├── batchcompleteuploadResponse.ts │ ├── batchsigneds3downloadObject.ts │ ├── batchsigneds3downloadObjectRequests.ts │ ├── batchsigneds3downloadResponse.ts │ ├── batchsigneds3uploadObject.ts │ ├── batchsigneds3uploadObjectRequests.ts │ ├── batchsigneds3uploadResponse.ts │ ├── batchsigneds3uploadResponseResultsValue.ts │ ├── bucket.ts │ ├── bucketObjects.ts │ ├── buckets.ts │ ├── bucketsItems.ts │ ├── completes3uploadBody.ts │ ├── createBucketsPayload.ts │ ├── createBucketsPayloadAllow.ts │ ├── createObjectSigned.ts │ ├── createSignedResource.ts │ ├── downloadResults.ts │ ├── downloadStatus.ts │ ├── index.ts │ ├── objectDetails.ts │ ├── objectFullDetails.ts │ ├── permission.ts │ ├── permissionAccess.ts │ ├── policyKey.ts │ ├── reason.ts │ ├── region.ts │ ├── result.ts │ ├── signeds3downloadResponse.ts │ ├── signeds3uploadResponse.ts │ ├── status.ts │ └── with.ts │ ├── package.json │ ├── tsconfig.esm.json │ └── tsconfig.json ├── package-lock.json ├── samples ├── .gitignore ├── accountadmin.ts ├── authentication.ts ├── datamanagement.ts ├── issues.ts ├── modelderivative.ts ├── oss.ts ├── package-lock.json ├── package.json ├── tsconfig.json └── webhooks.ts ├── sdkmanager ├── README.md ├── index.ts ├── package.json ├── src │ ├── apiResponse.ts │ ├── apsClient.ts │ ├── apsConfiguration.ts │ ├── apsService.ts │ ├── apsServiceRequestConfig.ts │ ├── authClient.ts │ ├── authClientConfiguration.ts │ ├── baseClient.ts │ ├── iApsClient.ts │ ├── iApsConfiguration.ts │ ├── iAuthClient.ts │ ├── iAuthClientConfiguration.ts │ ├── iAuthenticationProvider.ts │ ├── iBuilder.ts │ ├── iLogger.ts │ ├── iResiliencyConfiguration.ts │ ├── iSdkError.ts │ ├── iSdkManager.ts │ ├── logger.ts │ ├── resiliencyConfiguration.ts │ ├── sdkManager.ts │ ├── sdkManagerBuilder.ts │ └── staticAuthenticationProvider.ts ├── tsconfig.esm.json └── tsconfig.json └── webhooks └── source ├── .gitignore ├── .npmignore ├── .prettierrc ├── README.md ├── api.ts ├── api ├── hooksApi.ts └── tokensApi.ts ├── base.ts ├── common.ts ├── custom-code ├── index.ts └── webhooksClient.ts ├── index.ts ├── model ├── events.ts ├── hook.ts ├── hookDetails.ts ├── hookDetailsScope.ts ├── hookPayload.ts ├── hooks.ts ├── hooksLinks.ts ├── index.ts ├── modifyHookPayload.ts ├── region.ts ├── scopes.ts ├── sort.ts ├── status.ts ├── statusFilter.ts ├── statusRequest.ts ├── systems.ts ├── token.ts ├── tokenPayload.ts └── xAdsRegion.ts ├── package-lock.json ├── package.json ├── tsconfig.esm.json └── tsconfig.json /authentication/.gitignore: -------------------------------------------------------------------------------- 1 | wwwroot/*.js 2 | node_modules 3 | typings 4 | dist 5 | -------------------------------------------------------------------------------- /authentication/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .gitignore 3 | .npmignore 4 | tsconfig.json 5 | tsconfig.esm.json -------------------------------------------------------------------------------- /authentication/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": true, 3 | "trailingComma": "none", 4 | "singleQuote": true, 5 | "printWidth": 80 6 | } -------------------------------------------------------------------------------- /authentication/source/README.md: -------------------------------------------------------------------------------- 1 | ## APS SDK for Authentication 2 | 3 | [![npm](https://img.shields.io/badge/npm-8.11-blue.svg)](https://www.npmjs.com/) 4 | [![License Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/autodesk-platform-services/aps-sdk-node/blob/development/LICENSE) 5 | 6 | Generate tokens using the OAuth 2.0 standard to authenticate requests made to APS APIs and SDKs. 7 | For further information see [Documentation](https://aps.autodesk.com/en/docs/oauth/v2/developers_guide/overview) 8 | 9 | 10 | ## Installation 11 | ``` 12 | npm i @aps_sdk/authentication 13 | ``` 14 | ## Example 15 | 16 | For usage, see [Authentication sample](https://github.com/autodesk-platform-services/aps-sdk-node/blob/development/samples/authentication.ts) 17 | -------------------------------------------------------------------------------- /authentication/source/api.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | export * from './api/tokenApi'; 6 | export * from './api/usersApi'; 7 | 8 | -------------------------------------------------------------------------------- /authentication/source/custom-code/index.ts: -------------------------------------------------------------------------------- 1 | export * from './authenticationClient'; -------------------------------------------------------------------------------- /authentication/source/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | export * from "./api"; 5 | export * from "./base"; 6 | export * from "./model"; 7 | export * from "./custom-code"; -------------------------------------------------------------------------------- /authentication/source/model/grantType.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Specifies the grant type you are requesting the code for. Possible values are: - ``client_credentials`` - For a 2-legged access token. - ``authorization_code`` - For a 3-legged access token. - ``refresh_token`` - For a refresh token. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const GrantType = { 12 | ClientCredentials: 'client_credentials', 13 | AuthorizationCode: 'authorization_code', 14 | RefreshToken: 'refresh_token' 15 | } as const; 16 | 17 | export type GrantType = typeof GrantType[keyof typeof GrantType]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /authentication/source/model/index.ts: -------------------------------------------------------------------------------- 1 | export * from './grantType'; 2 | export * from './introspectToken'; 3 | export * from './jwks'; 4 | export * from './jwksKey'; 5 | export * from './oidcSpec'; 6 | export * from './responseType'; 7 | export * from './scopes'; 8 | export * from './threeLeggedToken'; 9 | export * from './tokenTypeHint'; 10 | export * from './twoLeggedToken'; 11 | export * from './userInfo'; 12 | export * from './userInfoAddress'; 13 | export * from './userInfoSocialUserinfoList'; -------------------------------------------------------------------------------- /authentication/source/model/jwks.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JwksKey } from './jwksKey'; 5 | 6 | /** 7 | * Represents a successful response to a Get JWKS operation. 8 | * @export 9 | * @interface Jwks 10 | */ 11 | export interface Jwks { 12 | /** 13 | * An array of objects where each object represents a JSON Web Key Set (JWKS). 14 | * @type {Array} 15 | * @memberof Jwks 16 | */ 17 | 'keys'?: Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /authentication/source/model/responseType.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of response you want to receive. Possible values are: - ``code`` - Authorization code grant. - ``id_token`` - OpenID Connect ID token. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const ResponseType = { 12 | Code: 'code', 13 | IdToken: 'id_token' 14 | } as const; 15 | 16 | export type ResponseType = typeof ResponseType[keyof typeof ResponseType]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /authentication/source/model/tokenTypeHint.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of token to revoke. Possible values are: ``access_token`` and ``refresh_token``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TokenTypeHint = { 12 | AccessToken: 'access_token', 13 | RefreshToken: 'refresh_token' 14 | } as const; 15 | 16 | export type TokenTypeHint = typeof TokenTypeHint[keyof typeof TokenTypeHint]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /authentication/source/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "esnext", 5 | "outDir": "dist/esm" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /authentication/source/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declaration": true, 4 | "target": "ES6", 5 | "module": "commonjs", 6 | "noImplicitAny": true, 7 | "outDir": "dist", 8 | "rootDir": ".", 9 | "moduleResolution": "node", 10 | "typeRoots": [ 11 | "node_modules/@types" 12 | ], 13 | "forceConsistentCasingInFileNames": true 14 | }, 15 | "exclude": [ 16 | "dist", 17 | "node_modules" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /construction/accountadmin/source/.gitignore: -------------------------------------------------------------------------------- 1 | wwwroot/*.js 2 | node_modules 3 | typings 4 | dist 5 | -------------------------------------------------------------------------------- /construction/accountadmin/source/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .gitignore 3 | .npmignore 4 | tsconfig.json 5 | tsconfig.esm.json -------------------------------------------------------------------------------- /construction/accountadmin/source/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": true, 3 | "trailingComma": "none", 4 | "singleQuote": true, 5 | "printWidth": 80 6 | } -------------------------------------------------------------------------------- /construction/accountadmin/source/api.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | export * from './api/accountUsersApi'; 6 | export * from './api/businessUnitsApi'; 7 | export * from './api/companiesApi'; 8 | export * from './api/projectUsersApi'; 9 | export * from './api/projectsApi'; 10 | export * from './api/userProjectsApi'; 11 | 12 | -------------------------------------------------------------------------------- /construction/accountadmin/source/custom-code/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./adminClient"; -------------------------------------------------------------------------------- /construction/accountadmin/source/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | export * from "./api"; 5 | export * from "./base"; 6 | export * from "./model"; 7 | export * from "./custom-code"; -------------------------------------------------------------------------------- /construction/accountadmin/source/model/accessLevels.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const AccessLevels = { 12 | AccountAdmin: 'accountAdmin', 13 | ProjectAdmin: 'projectAdmin', 14 | Executive: 'executive' 15 | } as const; 16 | 17 | export type AccessLevels = typeof AccessLevels[keyof typeof AccessLevels]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/businessUnitsRequestPayload.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { BusinessUnitsRequest } from './businessUnitsRequest'; 5 | 6 | /** 7 | * 8 | * @export 9 | * @interface BusinessUnitsRequestPayload 10 | */ 11 | export interface BusinessUnitsRequestPayload { 12 | /** 13 | * 14 | * @type {Array} 15 | * @memberof BusinessUnitsRequestPyload 16 | */ 17 | 'business_units'?: Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/businessUnitsResponse.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { BusinessUnit } from './businessUnit'; 5 | 6 | /** 7 | * 8 | * @export 9 | * @interface BusinessUnitsResponse 10 | */ 11 | export interface BusinessUnitsResponse { 12 | /** 13 | * 14 | * @type {Array} 15 | * @memberof BusinessUnitsResponse 16 | */ 17 | 'business_units'?: Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/classification.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const Classification = { 12 | Production: 'production', 13 | Template: 'template', 14 | Component: 'component', 15 | Sample: 'sample' 16 | } as const; 17 | 18 | export type Classification = typeof Classification[keyof typeof Classification]; 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/filterTextMatch.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const FilterTextMatch = { 12 | Contains: 'contains', 13 | StartsWith: 'startsWith', 14 | EndsWith: 'endsWith', 15 | Equals: 'equals' 16 | } as const; 17 | 18 | export type FilterTextMatch = typeof FilterTextMatch[keyof typeof FilterTextMatch]; 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/filterUserProjectsAccessLevels.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * Possible values: projectAdmin, projectMember. 5 | * @export 6 | * @enum {string} 7 | */ 8 | 9 | export const FilterUserProjectsAccessLevels = { 10 | ProjectMember: 'projectMember', 11 | ProjectAdmin: 'projectAdmin' 12 | } as const; 13 | 14 | export type FilterUserProjectsAccessLevels = typeof FilterUserProjectsAccessLevels[keyof typeof FilterUserProjectsAccessLevels]; 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/orFilters.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const OrFilters = { 12 | Id: 'id', 13 | Name: 'name', 14 | Email: 'email', 15 | AutodeskId: 'autodeskId', 16 | Status: 'status', 17 | AccessLevels: 'accessLevels' 18 | } as const; 19 | 20 | export type OrFilters = typeof OrFilters[keyof typeof OrFilters]; 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/platform.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const Platform = { 12 | Acc: 'acc', 13 | Bim360: 'bim360' 14 | } as const; 15 | 16 | export type Platform = typeof Platform[keyof typeof Platform]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/productAccess.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const ProductAccess = { 12 | Administrator: 'administrator', 13 | Member: 'member', 14 | None: 'none' 15 | } as const; 16 | 17 | export type ProductAccess = typeof ProductAccess[keyof typeof ProductAccess]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/projectPayloadTemplateOptions.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ProjectPayloadTemplateOptionsField } from './projectPayloadTemplateOptionsField'; 5 | 6 | /** 7 | * Information about what to include when cloning a project template. 8 | * @export 9 | * @interface ProjectPayloadTemplateOptions 10 | */ 11 | export interface ProjectPayloadTemplateOptions { 12 | /** 13 | * 14 | * @type {ProjectPayloadTemplateOptionsField} 15 | * @memberof ProjectPayloadTemplateOptions 16 | */ 17 | 'field'?: ProjectPayloadTemplateOptionsField; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/projectUserPayloadProducts.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ProductAccess } from './productAccess'; 5 | import { ProductKeys } from './productKeys'; 6 | 7 | /** 8 | * 9 | * @export 10 | * @interface ProjectUserPayloadProducts 11 | */ 12 | export interface ProjectUserPayloadProducts { 13 | /** 14 | * 15 | * @type {ProductKeys} 16 | * @memberof ProjectUserPayloadProducts 17 | */ 18 | 'key': ProductKeys; 19 | /** 20 | * 21 | * @type {ProductAccess} 22 | * @memberof ProjectUserPayloadProducts 23 | */ 24 | 'access': ProductAccess; 25 | } 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/projectUserPhone.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The user’s phone number. This data syncs from the user’s Autodesk profile. 7 | * @export 8 | * @interface ProjectUserPhone 9 | */ 10 | export interface ProjectUserPhone { 11 | /** 12 | * User’s phone number 13 | * @type {string} 14 | * @memberof ProjectUserPhone 15 | */ 16 | 'number'?: string; 17 | /** 18 | * The user’s phone type. 19 | * @type {string} 20 | * @memberof ProjectUserPhone 21 | */ 22 | 'phoneType'?: string; 23 | /** 24 | * User’s phone extension. 25 | * @type {string} 26 | * @memberof ProjectUserPhone 27 | */ 28 | 'extension'?: string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/projectUserProducts.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @interface ProjectUserProducts 9 | */ 10 | export interface ProjectUserProducts { 11 | /** 12 | * A keyword that identifies the product. 13 | * @type {string} 14 | * @memberof ProjectUserProducts 15 | */ 16 | 'key'?: string; 17 | /** 18 | * The user’s type of access to the product identified by key. 19 | * @type {string} 20 | * @memberof ProjectUserProducts 21 | */ 22 | 'access'?: string; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/projectUserRoles.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @interface ProjectUserRoles 9 | */ 10 | export interface ProjectUserRoles { 11 | /** 12 | * The ID of a role that the user belongs to in the project. 13 | * @type {string} 14 | * @memberof ProjectUserRoles 15 | */ 16 | 'id'?: string; 17 | /** 18 | * The name of a role that the user belongs to in the project. 19 | * @type {string} 20 | * @memberof ProjectUserRoles 21 | */ 22 | 'name'?: string; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/projectUsers.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ProjectUser } from './projectUser'; 5 | import { ProjectsPagination } from './projectsPagination'; 6 | 7 | /** 8 | * 9 | * @export 10 | * @interface ProjectUsers 11 | */ 12 | export interface ProjectUsers { 13 | /** 14 | * 15 | * @type {ProjectsPagination} 16 | * @memberof ProjectUsers 17 | */ 18 | 'pagination'?: ProjectsPagination; 19 | /** 20 | * The requested page of project users. 21 | * @type {Array} 22 | * @memberof ProjectUsers 23 | */ 24 | 'results'?: Array; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/projectUsersImportPayload.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ProjectUsersImportPayloadUsers } from './projectUsersImportPayloadUsers'; 5 | 6 | /** 7 | * 8 | * @export 9 | * @interface ProjectUsersImportPayload 10 | */ 11 | export interface ProjectUsersImportPayload { 12 | /** 13 | * User data to import. 14 | * @type {Array} 15 | * @memberof ProjectUsersImportPayload 16 | */ 17 | 'users'?: Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/projectUsersImportPayloadUsersProducts.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ProductAccess } from './productAccess'; 5 | import { ProductKeys } from './productKeys'; 6 | 7 | /** 8 | * 9 | * @export 10 | * @interface ProjectUsersImportPayloadUsersProducts 11 | */ 12 | export interface ProjectUsersImportPayloadUsersProducts { 13 | /** 14 | * 15 | * @type {ProductKeys} 16 | * @memberof ProjectUsersImportPayloadUsersProducts 17 | */ 18 | 'key': ProductKeys; 19 | /** 20 | * 21 | * @type {ProductAccess} 22 | * @memberof ProjectUsersImportPayloadUsersProducts 23 | */ 24 | 'access': ProductAccess; 25 | } 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/projectUsersImportResponse.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @interface ProjectUsersImportResponse 9 | */ 10 | export interface ProjectUsersImportResponse { 11 | /** 12 | * We don’t currently support this field, but expect to in a future release. If the response returns jobId with a valid UUID value, the user import operation was successful. 13 | * @type {string} 14 | * @memberof ProjectUsersImportResponse 15 | */ 16 | 'jobId'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/projectUsersUpdatePayloadProducts.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ProductAccess } from './productAccess'; 5 | import { ProductKeys } from './productKeys'; 6 | 7 | /** 8 | * 9 | * @export 10 | * @interface ProjectUsersUpdatePayloadProducts 11 | */ 12 | export interface ProjectUsersUpdatePayloadProducts { 13 | /** 14 | * 15 | * @type {ProductKeys} 16 | * @memberof ProjectUsersUpdatePayloadProducts 17 | */ 18 | 'key'?: ProductKeys; 19 | /** 20 | * 21 | * @type {ProductAccess} 22 | * @memberof ProjectUsersUpdatePayloadProducts 23 | */ 24 | 'access'?: ProductAccess; 25 | } 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/projects.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { Project } from './project'; 5 | import { ProjectsPagination } from './projectsPagination'; 6 | 7 | /** 8 | * 9 | * @export 10 | * @interface Projects 11 | */ 12 | export interface Projects { 13 | /** 14 | * 15 | * @type {ProjectsPagination} 16 | * @memberof Projects 17 | */ 18 | 'pagination'?: ProjectsPagination; 19 | /** 20 | * The requested page of projects. 21 | * @type {Array} 22 | * @memberof Projects 23 | */ 24 | 'results'?: Array; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/region.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const Region = { 12 | Us: 'US', 13 | Emea: 'EMEA', 14 | /** 15 | * @deprecated Please use AUS instead. 16 | */ 17 | Apac: 'APAC', 18 | Aus: 'AUS', 19 | } as const; 20 | 21 | export type Region = typeof Region[keyof typeof Region]; 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/status.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const Status = { 12 | Active: 'active', 13 | Pending: 'pending', 14 | Archived: 'archived', 15 | Suspended: 'suspended' 16 | } as const; 17 | 18 | export type Status = typeof Status[keyof typeof Status]; 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/statusFilter.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const StatusFilter = { 12 | Active: 'active', 13 | Pending: 'pending', 14 | Deleted: 'deleted' 15 | } as const; 16 | 17 | export type StatusFilter = typeof StatusFilter[keyof typeof StatusFilter]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/userPatchPayload.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { UserPatchStatus } from './userPatchStatus'; 5 | 6 | /** 7 | * 8 | * @export 9 | * @interface UserPatchPayload 10 | */ 11 | export interface UserPatchPayload { 12 | /** 13 | * 14 | * @type {UserPatchStatus} 15 | * @memberof UserPatchPayload 16 | */ 17 | 'status'?: UserPatchStatus; 18 | /** 19 | * The user’s default company ID in BIM 360 20 | * @type {string} 21 | * @memberof UserPatchPayload 22 | */ 23 | 'company_id'?: string; 24 | } 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/userPatchStatus.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const UserPatchStatus = { 12 | Active: 'active', 13 | Inactive: 'inactive' 14 | } as const; 15 | 16 | export type UserPatchStatus = typeof UserPatchStatus[keyof typeof UserPatchStatus]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/userProjectAccessLevels.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * 5 | * @export 6 | * @interface UserProjectAccessLevels 7 | */ 8 | export interface UserProjectAccessLevels { 9 | /** 10 | * 11 | * @type {boolean} 12 | * @memberof UserProjectAccessLevels 13 | */ 14 | 'projectAdmin'?: boolean; 15 | /** 16 | * 17 | * @type {boolean} 18 | * @memberof UserProjectAccessLevels 19 | */ 20 | 'projectMember'?: boolean; 21 | } 22 | 23 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/userProjectProjectValue.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * 5 | * @export 6 | * @interface UserProjectProjectValue 7 | */ 8 | export interface UserProjectProjectValue { 9 | /** 10 | * 11 | * @type {number} 12 | * @memberof UserProjectProjectValue 13 | */ 14 | 'value'?: number; 15 | /** 16 | * 17 | * @type {string} 18 | * @memberof UserProjectProjectValue 19 | */ 20 | 'currency'?: string; 21 | } 22 | 23 | -------------------------------------------------------------------------------- /construction/accountadmin/source/model/userProjectsPage.ts: -------------------------------------------------------------------------------- 1 | 2 | import { Pagination } from './pagination'; 3 | import { UserProject } from './userProject'; 4 | 5 | /** 6 | * 7 | * @export 8 | * @interface UserProjectsPage 9 | */ 10 | export interface UserProjectsPage { 11 | /** 12 | * 13 | * @type {Pagination} 14 | * @memberof UserProjectsPage 15 | */ 16 | 'pagination'?: Pagination; 17 | /** 18 | * 19 | * @type {Array} 20 | * @memberof UserProjectsPage 21 | */ 22 | 'results'?: Array; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /construction/accountadmin/source/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "esnext", 5 | "outDir": "dist/esm" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /construction/accountadmin/source/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declaration": true, 4 | "target": "ES6", 5 | "module": "commonjs", 6 | "noImplicitAny": true, 7 | "outDir": "dist", 8 | "rootDir": ".", 9 | "moduleResolution": "node", 10 | "typeRoots": [ 11 | "node_modules/@types" 12 | ], 13 | "forceConsistentCasingInFileNames": true 14 | }, 15 | "exclude": [ 16 | "dist", 17 | "node_modules" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /construction/issues/source/.gitignore: -------------------------------------------------------------------------------- 1 | wwwroot/*.js 2 | node_modules 3 | typings 4 | dist 5 | -------------------------------------------------------------------------------- /construction/issues/source/api.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | export * from './api/issue-attribute-definitions-api'; 4 | export * from './api/issue-attribute-mappings-api'; 5 | export * from './api/issue-comments-api'; 6 | export * from './api/issue-root-cause-categories-api'; 7 | export * from './api/issue-types-api'; 8 | export * from './api/issues-api'; 9 | export * from './api/issues-profile-api'; 10 | 11 | -------------------------------------------------------------------------------- /construction/issues/source/custom-code/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./issuesClient" -------------------------------------------------------------------------------- /construction/issues/source/index.ts: -------------------------------------------------------------------------------- 1 | 2 | export * from "./api"; 3 | export * from "./base"; 4 | export * from "./model"; 5 | export * from "./custom-code"; 6 | -------------------------------------------------------------------------------- /construction/issues/source/model/assignedToType.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * 5 | * @export 6 | * @enum {string} 7 | */ 8 | 9 | export const AssignedToType = { 10 | User: 'user', 11 | Company: 'company', 12 | Role: 'role', 13 | // Null: 'null, Documented but the endpoint doesn't support null so commenting it out. 14 | } as const; 15 | 16 | export type AssignedToType = typeof AssignedToType[keyof typeof AssignedToType]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /construction/issues/source/model/attrDefinitionPage.ts: -------------------------------------------------------------------------------- 1 | 2 | import { AttrDefinitionPageResults } from './attrDefinitionPageResults'; 3 | import { Pagination } from './pagination'; 4 | 5 | /** 6 | * The pagination object. 7 | * @export 8 | * @interface AttrDefinitionPage 9 | */ 10 | export interface AttrDefinitionPage { 11 | /** 12 | * 13 | * @type {Pagination} 14 | * @memberof AttrDefinitionPage 15 | */ 16 | 'pagination'?: Pagination; 17 | /** 18 | * A list of issue attribute mappings. 19 | * @type {Array} 20 | * @memberof AttrDefinitionPage 21 | */ 22 | 'results'?: Array; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /construction/issues/source/model/attrDefinitionPageResultsMetadata.ts: -------------------------------------------------------------------------------- 1 | 2 | import { AttrDefinitionPageResultsMetadataList } from './attrDefinitionPageResultsMetadataList'; 3 | 4 | /** 5 | * The metadata object; only relevant for list custom attributes. 6 | * @export 7 | * @interface AttrDefinitionPageResultsMetadata 8 | */ 9 | export interface AttrDefinitionPageResultsMetadata { 10 | /** 11 | * 12 | * @type {AttrDefinitionPageResultsMetadataList} 13 | * @memberof AttrDefinitionPageResultsMetadata 14 | */ 15 | 'list'?: AttrDefinitionPageResultsMetadataList; 16 | } 17 | 18 | -------------------------------------------------------------------------------- /construction/issues/source/model/attrDefinitionPageResultsMetadataList.ts: -------------------------------------------------------------------------------- 1 | 2 | import { AttrDefinitionPageResultsMetadataListOptions } from './attrDefinitionPageResultsMetadataListOptions'; 3 | 4 | /** 5 | * The list object. 6 | * @export 7 | * @interface AttrDefinitionPageResultsMetadataList 8 | */ 9 | export interface AttrDefinitionPageResultsMetadataList { 10 | /** 11 | * The options object. 12 | * @type {Array} 13 | * @memberof AttrDefinitionPageResultsMetadataList 14 | */ 15 | 'options'?: Array; 16 | } 17 | 18 | -------------------------------------------------------------------------------- /construction/issues/source/model/attrDefinitionPageResultsMetadataListOptions.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * 5 | * @export 6 | * @interface AttrDefinitionPageResultsMetadataListOptions 7 | */ 8 | export interface AttrDefinitionPageResultsMetadataListOptions { 9 | /** 10 | * The id of the list option. 11 | * @type {string} 12 | * @memberof AttrDefinitionPageResultsMetadataListOptions 13 | */ 14 | 'id'?: string; 15 | /** 16 | * The value of the list item. 17 | * @type {string} 18 | * @memberof AttrDefinitionPageResultsMetadataListOptions 19 | */ 20 | 'value'?: string; 21 | } 22 | 23 | -------------------------------------------------------------------------------- /construction/issues/source/model/attrMappingPage.ts: -------------------------------------------------------------------------------- 1 | 2 | import { AttrMappingPageResults } from './attrMappingPageResults'; 3 | import { Pagination } from './pagination'; 4 | 5 | /** 6 | * The pagination object. 7 | * @export 8 | * @interface AttrMappingPage 9 | */ 10 | export interface AttrMappingPage { 11 | /** 12 | * 13 | * @type {Pagination} 14 | * @memberof AttrMappingPage 15 | */ 16 | 'pagination'?: Pagination; 17 | /** 18 | * A list of issue attribute mappings. 19 | * @type {Array} 20 | * @memberof AttrMappingPage 21 | */ 22 | 'results'?: Array; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /construction/issues/source/model/commentsPage.ts: -------------------------------------------------------------------------------- 1 | 2 | import { Comments } from './comments'; 3 | import { Pagination } from './pagination'; 4 | 5 | /** 6 | * The pagination object. 7 | * @export 8 | * @interface CommentsPage 9 | */ 10 | export interface CommentsPage { 11 | /** 12 | * 13 | * @type {Pagination} 14 | * @memberof CommentsPage 15 | */ 16 | 'pagination'?: Pagination; 17 | /** 18 | * 19 | * @type {Comments} 20 | * @memberof CommentsPage 21 | */ 22 | 'results'?: Comments; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /construction/issues/source/model/commentsPayload.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * 5 | * @export 6 | * @interface CommentsPayload 7 | */ 8 | export interface CommentsPayload { 9 | /** 10 | * 11 | * @type {string} 12 | * @memberof CommentsPayload 13 | */ 14 | 'body': string; 15 | } 16 | 17 | -------------------------------------------------------------------------------- /construction/issues/source/model/dataType.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * Retrieves issue custom attribute definitions with the specified data type 5 | * @export 6 | * @enum {string} 7 | */ 8 | 9 | export const DataType = { 10 | List: 'list', 11 | Text: 'text', 12 | Paragraph: 'paragraph', 13 | Numeric: 'numeric' 14 | } as const; 15 | 16 | export type DataType = typeof DataType[keyof typeof DataType]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /construction/issues/source/model/issueGpsCoordinates.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * A GPS Coordinate which represents the geo location of the issue. 5 | * @export 6 | * @interface IssueGpsCoordinates 7 | */ 8 | export interface IssueGpsCoordinates { 9 | /** 10 | * 11 | * @type {number} 12 | * @memberof IssueGpsCoordinates 13 | */ 14 | 'latitude'?: number; 15 | /** 16 | * 17 | * @type {number} 18 | * @memberof IssueGpsCoordinates 19 | */ 20 | 'longitude'?: number; 21 | } 22 | 23 | -------------------------------------------------------------------------------- /construction/issues/source/model/issuePayloadCustomAttributes.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * 5 | * @export 6 | * @interface IssuePayloadCustomAttributes 7 | */ 8 | export interface IssuePayloadCustomAttributes { 9 | /** 10 | * The unique identifier of the custom attribute. 11 | * @type {string} 12 | * @memberof IssuePayloadCustomAttributes 13 | */ 14 | 'attributeDefinitionId': string; 15 | /** 16 | * Custom attribute value. Possible value types: string, number, null. 17 | * @type {object} 18 | * @memberof IssuePayloadCustomAttributes 19 | */ 20 | 'value': object; 21 | } 22 | 23 | -------------------------------------------------------------------------------- /construction/issues/source/model/issuePayloadGpsCoordinates.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * A GPS Coordinate which represents the geo location of the issue. 5 | * @export 6 | * @interface IssuePayloadGpsCoordinates 7 | */ 8 | export interface IssuePayloadGpsCoordinates { 9 | /** 10 | * 11 | * @type {number} 12 | * @memberof IssuePayloadGpsCoordinates 13 | */ 14 | 'latitude'?: number; 15 | /** 16 | * 17 | * @type {number} 18 | * @memberof IssuePayloadGpsCoordinates 19 | */ 20 | 'longitude'?: number; 21 | } 22 | 23 | -------------------------------------------------------------------------------- /construction/issues/source/model/issuesPage.ts: -------------------------------------------------------------------------------- 1 | 2 | import { Issue } from './issue'; 3 | import { Pagination } from './pagination'; 4 | 5 | /** 6 | * 7 | * @export 8 | * @interface IssuesPage 9 | */ 10 | export interface IssuesPage { 11 | /** 12 | * 13 | * @type {Pagination} 14 | * @memberof IssuesPage 15 | */ 16 | 'pagination'?: Pagination; 17 | /** 18 | * The list of issues in the current page 19 | * @type {Array} 20 | * @memberof IssuesPage 21 | */ 22 | 'results'?: Array; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /construction/issues/source/model/pagination.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * The pagination object. 5 | * @export 6 | * @interface Pagination 7 | */ 8 | export interface Pagination { 9 | /** 10 | * The number of items per page. 11 | * @type {number} 12 | * @memberof Pagination 13 | */ 14 | 'limit'?: number; 15 | /** 16 | * The page number that the results begin from. 17 | * @type {number} 18 | * @memberof Pagination 19 | */ 20 | 'offset'?: number; 21 | /** 22 | * The number of items in the response. 23 | * @type {number} 24 | * @memberof Pagination 25 | */ 26 | 'totalResults'?: number; 27 | } 28 | 29 | -------------------------------------------------------------------------------- /construction/issues/source/model/permissionLevel.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * 5 | * @export 6 | * @enum {string} 7 | */ 8 | 9 | export const PermissionLevel = { 10 | Create: 'create', 11 | Read: 'read', 12 | Write: 'write' 13 | } as const; 14 | 15 | export type PermissionLevel = typeof PermissionLevel[keyof typeof PermissionLevel]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /construction/issues/source/model/region.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * Specifies where the bucket containing the object is stored. Possible values are: - ``US`` - (Default) Data center for the US region. - ``EMEA`` - Data center for the European Union, Middle East, and Africa. - ``AUS`` - Data center for Australia. **Note:** Beta features are subject to change. Please do not use in production environments. 5 | * @export 6 | * @enum {string} 7 | */ 8 | 9 | export const Region = { 10 | Us: 'US', 11 | Emea: 'EMEA', 12 | /** 13 | * @deprecated Please use AUS instead. 14 | */ 15 | Apac: 'APAC', 16 | Aus: 'AUS' 17 | } as const; 18 | 19 | export type Region = typeof Region[keyof typeof Region]; 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /construction/issues/source/model/rootCauseCategoriesPage.ts: -------------------------------------------------------------------------------- 1 | 2 | import { Pagination } from './pagination'; 3 | import { RootCauseCategoriesPageResults } from './rootCauseCategoriesPageResults'; 4 | 5 | /** 6 | * The pagination object. 7 | * @export 8 | * @interface RootCauseCategoriesPage 9 | */ 10 | export interface RootCauseCategoriesPage { 11 | /** 12 | * 13 | * @type {Pagination} 14 | * @memberof RootCauseCategoriesPage 15 | */ 16 | 'pagination'?: Pagination; 17 | /** 18 | * A list of issue root cause categories. 19 | * @type {Array} 20 | * @memberof RootCauseCategoriesPage 21 | */ 22 | 'results'?: Array; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /construction/issues/source/model/status.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * The current status of the issue. To check the available statuses for the project, call GET users/me and check the permitted statuses list (issue.new.permittedStatuses). For more information about statuses, see the Help documentation. 5 | * @export 6 | * @enum {string} 7 | */ 8 | 9 | export const Status = { 10 | Draft: 'draft', 11 | Open: 'open', 12 | Pending: 'pending', 13 | InProgress: 'in_progress', 14 | InReview: 'in_review', 15 | Completed: 'completed', 16 | NotApproved: 'not_approved', 17 | InDispute: 'in_dispute', 18 | Closed: 'closed' 19 | } as const; 20 | 21 | export type Status = typeof Status[keyof typeof Status]; 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /construction/issues/source/model/typesPage.ts: -------------------------------------------------------------------------------- 1 | 2 | import { Pagination } from './pagination'; 3 | import { TypesPageResults } from './typesPageResults'; 4 | 5 | /** 6 | * 7 | * @export 8 | * @interface TypesPage 9 | */ 10 | export interface TypesPage { 11 | /** 12 | * 13 | * @type {Pagination} 14 | * @memberof TypesPage 15 | */ 16 | 'pagination'?: Pagination; 17 | /** 18 | * A list of issue type categories. 19 | * @type {Array} 20 | * @memberof TypesPage 21 | */ 22 | 'results'?: Array; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /construction/issues/source/model/userIssues.ts: -------------------------------------------------------------------------------- 1 | 2 | import { UserIssuesFilter } from './userIssuesFilter'; 3 | import { UserIssuesNew } from './userIssuesNew'; 4 | 5 | /** 6 | * 7 | * @export 8 | * @interface UserIssues 9 | */ 10 | export interface UserIssues { 11 | /** 12 | * 13 | * @type {UserIssuesNew} 14 | * @memberof UserIssues 15 | */ 16 | 'new'?: UserIssuesNew; 17 | /** 18 | * 19 | * @type {UserIssuesFilter} 20 | * @memberof UserIssues 21 | */ 22 | 'filter'?: UserIssuesFilter; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /construction/issues/source/model/userIssuesFilter.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * Not relevant 5 | * @export 6 | * @interface UserIssuesFilter 7 | */ 8 | export interface UserIssuesFilter { 9 | /** 10 | * Not relevant 11 | * @type {Array} 12 | * @memberof UserIssuesFilter 13 | */ 14 | 'permittedStatuses'?: Array; 15 | } 16 | 17 | -------------------------------------------------------------------------------- /construction/issues/source/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "esnext", 5 | "outDir": "dist/esm" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /construction/issues/source/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declaration": true, 4 | "target": "ES6", 5 | "module": "commonjs", 6 | "noImplicitAny": true, 7 | "outDir": "dist", 8 | "rootDir": ".", 9 | "moduleResolution": "node", 10 | "typeRoots": [ 11 | "node_modules/@types" 12 | ], 13 | "forceConsistentCasingInFileNames": true, 14 | "sourceMap": true 15 | }, 16 | "exclude": [ 17 | "dist", 18 | "node_modules" 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /datamanagement/source/.gitignore: -------------------------------------------------------------------------------- 1 | wwwroot/*.js 2 | node_modules 3 | typings 4 | dist 5 | -------------------------------------------------------------------------------- /datamanagement/source/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .gitignore 3 | .npmignore 4 | tsconfig.json 5 | tsconfig.esm.json -------------------------------------------------------------------------------- /datamanagement/source/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": true, 3 | "trailingComma": "none", 4 | "singleQuote": true, 5 | "printWidth": 80 6 | } -------------------------------------------------------------------------------- /datamanagement/source/README.md: -------------------------------------------------------------------------------- 1 | # APS SDK for Data Management 2 | 3 | [![npm](https://img.shields.io/badge/npm-8.11-blue.svg)](https://www.npmjs.com/) 4 | [![License Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE) 5 | 6 | Access data across BIM 360 team, Fusion Team, BIM 360 Docs and the Object Storage Service to build apps to display and extend your data in ways that add value to your users. 7 | For further information see [Documentation](https://aps.autodesk.com/en/docs/data/v2/developers_guide/overview) 8 | 9 | ## Installation 10 | ``` 11 | npm i @aps_sdk/data-management 12 | ``` 13 | ## Example 14 | 15 | For usage, see [Data Management sample](https://github.com/autodesk-platform-services/aps-sdk-node/blob/development/samples/datamanagement.ts) 16 | 17 | -------------------------------------------------------------------------------- /datamanagement/source/api.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | export * from './api/commandsApi'; 6 | export * from './api/foldersApi'; 7 | export * from './api/hubsApi'; 8 | export * from './api/itemsApi'; 9 | export * from './api/projectsApi'; 10 | export * from './api/versionsApi'; 11 | 12 | -------------------------------------------------------------------------------- /datamanagement/source/custom-code/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./dataManagementClient"; -------------------------------------------------------------------------------- /datamanagement/source/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | export * from "./api"; 5 | export * from "./base"; 6 | export * from "./model"; 7 | export * from "./custom-code"; -------------------------------------------------------------------------------- /datamanagement/source/model/baseAttributesExtensionObjectWithSchemaLinkSchema.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * A container for the hyperlink to the schema of the type. 7 | * @export 8 | * @interface BaseAttributesExtensionObjectWithSchemaLinkSchema 9 | */ 10 | export interface BaseAttributesExtensionObjectWithSchemaLinkSchema { 11 | /** 12 | * A hypertext reference to the location of the referenced resource. 13 | * @type {string} 14 | * @memberof BaseAttributesExtensionObjectWithSchemaLinkSchema 15 | */ 16 | 'href': string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/checkPermissionAttributes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { CheckPermissionAttributesExtension } from './checkPermissionAttributesExtension'; 5 | 6 | /** 7 | * Contains the properties of the response to the CheckPermission command. 8 | * @export 9 | * @interface CheckPermissionAttributes 10 | */ 11 | export interface CheckPermissionAttributes { 12 | /** 13 | * 14 | * @type {CheckPermissionAttributesExtension} 15 | * @memberof CheckPermissionAttributes 16 | */ 17 | 'extension'?: CheckPermissionAttributesExtension; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/checkPermissionAttributesExtensionSchema.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Contains the location of the schema. 7 | * @export 8 | * @interface CheckPermissionAttributesExtensionSchema 9 | */ 10 | export interface CheckPermissionAttributesExtensionSchema { 11 | /** 12 | * The hypertext reference to the location of the schema. 13 | * @type {string} 14 | * @memberof CheckPermissionAttributesExtensionSchema 15 | */ 16 | 'href'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/checkPermissionPayloadAttributes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { CheckPermissionPayloadAttributesExtension } from './checkPermissionPayloadAttributesExtension'; 5 | 6 | /** 7 | * A container of the inputs for the command. 8 | * @export 9 | * @interface CheckPermissionPayloadAttributes 10 | */ 11 | export interface CheckPermissionPayloadAttributes { 12 | /** 13 | * 14 | * @type {CheckPermissionPayloadAttributesExtension} 15 | * @memberof CheckPermissionPayloadAttributes 16 | */ 17 | 'extension'?: CheckPermissionPayloadAttributesExtension; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/checkPermissionPayloadRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { CheckPermissionPayloadRelationshipsResources } from './checkPermissionPayloadRelationshipsResources'; 5 | 6 | /** 7 | * Contains a list of resources required for execution of the command. 8 | * @export 9 | * @interface CheckPermissionPayloadRelationships 10 | */ 11 | export interface CheckPermissionPayloadRelationships { 12 | /** 13 | * 14 | * @type {CheckPermissionPayloadRelationshipsResources} 15 | * @memberof CheckPermissionPayloadRelationships 16 | */ 17 | 'resources'?: CheckPermissionPayloadRelationshipsResources; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/checkPermissionPayloadRelationshipsResourcesData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { TypeEntity } from './typeEntity'; 5 | 6 | /** 7 | * 8 | * @export 9 | * @interface CheckPermissionPayloadRelationshipsResourcesData 10 | */ 11 | export interface CheckPermissionPayloadRelationshipsResourcesData { 12 | /** 13 | * 14 | * @type {TypeEntity} 15 | * @memberof CheckPermissionPayloadRelationshipsResourcesData 16 | */ 17 | 'type'?: TypeEntity; 18 | /** 19 | * The URN of the resource to check. 20 | * @type {string} 21 | * @memberof CheckPermissionPayloadRelationshipsResourcesData 22 | */ 23 | 'id'?: string; 24 | } 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /datamanagement/source/model/checkPermissionRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { CheckPermissionRelationshipsResources } from './checkPermissionRelationshipsResources'; 5 | 6 | /** 7 | * Contains the list of resources checked for permission. 8 | * @export 9 | * @interface CheckPermissionRelationships 10 | */ 11 | export interface CheckPermissionRelationships { 12 | /** 13 | * 14 | * @type {CheckPermissionRelationshipsResources} 15 | * @memberof CheckPermissionRelationships 16 | */ 17 | 'resources'?: CheckPermissionRelationshipsResources; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/checkPermissionRelationshipsResources.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { CheckPermissionRelationshipsResourcesData } from './checkPermissionRelationshipsResourcesData'; 5 | 6 | /** 7 | * Contains the list of resources checked for permission. 8 | * @export 9 | * @interface CheckPermissionRelationshipsResources 10 | */ 11 | export interface CheckPermissionRelationshipsResources { 12 | /** 13 | * 14 | * @type {Array} 15 | * @memberof CheckPermissionRelationshipsResources 16 | */ 17 | 'data'?: Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/checkPermissionRelationshipsResourcesData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { TypeEntity } from './typeEntity'; 5 | 6 | /** 7 | * 8 | * @export 9 | * @interface CheckPermissionRelationshipsResourcesData 10 | */ 11 | export interface CheckPermissionRelationshipsResourcesData { 12 | /** 13 | * 14 | * @type {TypeEntity} 15 | * @memberof CheckPermissionRelationshipsResourcesData 16 | */ 17 | 'type'?: TypeEntity; 18 | /** 19 | * The URN of the resource. 20 | * @type {string} 21 | * @memberof CheckPermissionRelationshipsResourcesData 22 | */ 23 | 'id'?: string; 24 | } 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /datamanagement/source/model/command.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { CommandData } from './commandData'; 5 | import { JsonApiVersion } from './jsonApiVersion'; 6 | 7 | /** 8 | * Commamd response 9 | * @export 10 | * @interface Command 11 | */ 12 | export interface Command { 13 | /** 14 | * 15 | * @type {JsonApiVersion} 16 | * @memberof Command 17 | */ 18 | 'jsonapi'?: JsonApiVersion; 19 | /** 20 | * 21 | * @type {CommandData} 22 | * @memberof Command 23 | */ 24 | 'data'?: CommandData; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /datamanagement/source/model/commandPayload.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { CommandPayloadData } from './commandPayloadData'; 5 | import { JsonApiVersion } from './jsonApiVersion'; 6 | 7 | /** 8 | * Command Payload 9 | * @export 10 | * @interface CommandPayload 11 | */ 12 | export interface CommandPayload { 13 | /** 14 | * 15 | * @type {JsonApiVersion} 16 | * @memberof CommandPayload 17 | */ 18 | 'jsonapi'?: JsonApiVersion; 19 | /** 20 | * 21 | * @type {CommandPayloadData} 22 | * @memberof CommandPayload 23 | */ 24 | 'data'?: CommandPayloadData; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /datamanagement/source/model/createdDownloadDataAttributes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { DownloadsStatus } from './downloadsStatus'; 5 | 6 | /** 7 | * Contains the properties that indicate the current status of the job. 8 | * @export 9 | * @interface CreatedDownloadDataAttributes 10 | */ 11 | export interface CreatedDownloadDataAttributes { 12 | /** 13 | * 14 | * @type {DownloadsStatus} 15 | * @memberof CreatedDownloadDataAttributes 16 | */ 17 | 'status'?: DownloadsStatus; 18 | } 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /datamanagement/source/model/createdItemMeta.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The object containing the information on the command ID of the command processor. 7 | * @export 8 | * @interface CreatedItemMeta 9 | */ 10 | export interface CreatedItemMeta { 11 | /** 12 | * The command id of the command processor. You can use this ID to check the status of processing. 13 | * @type {string} 14 | * @memberof CreatedItemMeta 15 | */ 16 | 'bim360DmCommandId'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/createdVersionIncludedLinks.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLinksRelated } from './jsonApiLinksRelated'; 5 | import { JsonApiLinksSelf } from './jsonApiLinksSelf'; 6 | 7 | /** 8 | * Contains the links to use to access references of this resource. 9 | * @export 10 | * @interface CreatedVersionIncludedLinks 11 | */ 12 | export interface CreatedVersionIncludedLinks { 13 | /** 14 | * 15 | * @type {JsonApiLinksSelf} 16 | * @memberof CreatedVersionIncludedLinks 17 | */ 18 | 'self'?: JsonApiLinksSelf; 19 | /** 20 | * 21 | * @type {JsonApiLinksRelated} 22 | * @memberof CreatedVersionIncludedLinks 23 | */ 24 | 'related'?: JsonApiLinksRelated; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /datamanagement/source/model/downloadDataAttributes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { DownloadDataAttributesFormat } from './downloadDataAttributesFormat'; 5 | 6 | /** 7 | * The properties of the download. 8 | * @export 9 | * @interface DownloadDataAttributes 10 | */ 11 | export interface DownloadDataAttributes { 12 | /** 13 | * 14 | * @type {DownloadDataAttributesFormat} 15 | * @memberof DownloadDataAttributes 16 | */ 17 | 'format'?: DownloadDataAttributesFormat; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/downloadDataAttributesFormat.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * A container of the file format of the download. 7 | * @export 8 | * @interface DownloadDataAttributesFormat 9 | */ 10 | export interface DownloadDataAttributesFormat { 11 | /** 12 | * The file name extension of the file format of the download. 13 | * @type {string} 14 | * @memberof DownloadDataAttributesFormat 15 | */ 16 | 'fileType'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/downloadDataRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { DownloadDataRelationshipsStorage } from './downloadDataRelationshipsStorage'; 5 | 6 | /** 7 | * Contains links to the resources directly related to the download. 8 | * @export 9 | * @interface DownloadDataRelationships 10 | */ 11 | export interface DownloadDataRelationships { 12 | /** 13 | * 14 | * @type {DownloadDataRelationshipsStorage} 15 | * @memberof DownloadDataRelationships 16 | */ 17 | 'storage'?: DownloadDataRelationshipsStorage; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/downloadDataRelationshipsStorageData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { TypeObject } from './typeObject'; 5 | 6 | /** 7 | * Contains information about the storage location of the download. 8 | * @export 9 | * @interface DownloadDataRelationshipsStorageData 10 | */ 11 | export interface DownloadDataRelationshipsStorageData { 12 | /** 13 | * 14 | * @type {TypeObject} 15 | * @memberof DownloadDataRelationshipsStorageData 16 | */ 17 | 'type'?: TypeObject; 18 | /** 19 | * The URN of the storage location. 20 | * @type {string} 21 | * @memberof DownloadDataRelationshipsStorageData 22 | */ 23 | 'id'?: string; 24 | } 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /datamanagement/source/model/downloadDataRelationshipsStorageMeta.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLink } from './jsonApiLink'; 5 | 6 | /** 7 | * Meta information about the storage location of the download. 8 | * @export 9 | * @interface DownloadDataRelationshipsStorageMeta 10 | */ 11 | export interface DownloadDataRelationshipsStorageMeta { 12 | /** 13 | * 14 | * @type {JsonApiLink} 15 | * @memberof DownloadDataRelationshipsStorageMeta 16 | */ 17 | 'link'?: JsonApiLink; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/downloadFormatsDataAttributes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { DownloadFormatsDataAttributesFormats } from './downloadFormatsDataAttributesFormats'; 5 | 6 | /** 7 | * Contains the list of formats. 8 | * @export 9 | * @interface DownloadFormatsDataAttributes 10 | */ 11 | export interface DownloadFormatsDataAttributes { 12 | /** 13 | * An array of objects, where each object corresponds to a file format. 14 | * @type {Array} 15 | * @memberof DownloadFormatsDataAttributes 16 | */ 17 | 'formats'?: Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/downloadFormatsDataAttributesFormats.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @interface DownloadFormatsDataAttributesFormats 9 | */ 10 | export interface DownloadFormatsDataAttributesFormats { 11 | /** 12 | * The file name extension of the supported file format. 13 | * @type {string} 14 | * @memberof DownloadFormatsDataAttributesFormats 15 | */ 16 | 'fileType'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/downloadPayload.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { DownloadPayloadData } from './downloadPayloadData'; 5 | import { JsonApiVersion } from './jsonApiVersion'; 6 | 7 | /** 8 | * The payload for creating a download of a specified format. 9 | * @export 10 | * @interface DownloadPayload 11 | */ 12 | export interface DownloadPayload { 13 | /** 14 | * 15 | * @type {JsonApiVersion} 16 | * @memberof DownloadPayload 17 | */ 18 | 'jsonapi': JsonApiVersion; 19 | /** 20 | * 21 | * @type {DownloadPayloadData} 22 | * @memberof DownloadPayload 23 | */ 24 | 'data': DownloadPayloadData; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /datamanagement/source/model/downloadPayloadDataAttributes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { DownloadPayloadDataAttributesFormat } from './downloadPayloadDataAttributesFormat'; 5 | 6 | /** 7 | * Contains information about the desired download format. 8 | * @export 9 | * @interface DownloadPayloadDataAttributes 10 | */ 11 | export interface DownloadPayloadDataAttributes { 12 | /** 13 | * 14 | * @type {DownloadPayloadDataAttributesFormat} 15 | * @memberof DownloadPayloadDataAttributes 16 | */ 17 | 'format': DownloadPayloadDataAttributesFormat; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/downloadPayloadDataAttributesFormat.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Specifies the desired download format. 7 | * @export 8 | * @interface DownloadPayloadDataAttributesFormat 9 | */ 10 | export interface DownloadPayloadDataAttributesFormat { 11 | /** 12 | * The file name extension of the desired download format. Must be one of the supported file name extensions returned by the [List Supported Download Formats](/en/docs/data/v2/reference/http/projects-project_id-versions-version_id-downloadFormats-GET/) operation for the specified version. 13 | * @type {string} 14 | * @memberof DownloadPayloadDataAttributesFormat 15 | */ 16 | 'fileType': string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/downloadPayloadDataRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { DownloadPayloadDataRelationshipsSource } from './downloadPayloadDataRelationshipsSource'; 5 | 6 | /** 7 | * Contains information about the version the download format is being created for. 8 | * @export 9 | * @interface DownloadPayloadDataRelationships 10 | */ 11 | export interface DownloadPayloadDataRelationships { 12 | /** 13 | * 14 | * @type {DownloadPayloadDataRelationshipsSource} 15 | * @memberof DownloadPayloadDataRelationships 16 | */ 17 | 'source': DownloadPayloadDataRelationshipsSource; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/downloadPayloadDataRelationshipsSource.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { DownloadPayloadDataRelationshipsSourceData } from './downloadPayloadDataRelationshipsSourceData'; 5 | 6 | /** 7 | * Contains information about the version the download format is being created for. 8 | * @export 9 | * @interface DownloadPayloadDataRelationshipsSource 10 | */ 11 | export interface DownloadPayloadDataRelationshipsSource { 12 | /** 13 | * 14 | * @type {DownloadPayloadDataRelationshipsSourceData} 15 | * @memberof DownloadPayloadDataRelationshipsSource 16 | */ 17 | 'data': DownloadPayloadDataRelationshipsSourceData; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/downloadsStatus.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of this resource. Possible values: queued, finished, failed, processing 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const DownloadsStatus = { 12 | Queued: 'queued', 13 | Finished: 'finished', 14 | Failed: 'failed', 15 | Processing: 'processing' 16 | } as const; 17 | 18 | export type DownloadsStatus = typeof DownloadsStatus[keyof typeof DownloadsStatus]; 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /datamanagement/source/model/extensionTypeCoreXref.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of the relationship. Will always be ``xrefs:autodesk.core:Xref``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const ExtensionTypeCoreXref = { 12 | XrefsautodeskCoreXref: 'xrefs:autodesk.core:Xref' 13 | } as const; 14 | 15 | export type ExtensionTypeCoreXref = typeof ExtensionTypeCoreXref[keyof typeof ExtensionTypeCoreXref]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/filterDirection.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Filter by the direction of the reference. Possible values: ``from`` and ``to``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const FilterDirection = { 12 | From: 'from', 13 | To: 'to' 14 | } as const; 15 | 16 | export type FilterDirection = typeof FilterDirection[keyof typeof FilterDirection]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/filterRefType.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Filter by ``refType``. Possible values: ``derived``, ``dependencies``, ``auxiliary``, ``xrefs``, and ``includes``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const FilterRefType = { 12 | Derived: 'derived', 13 | Dependencies: 'dependencies', 14 | Auxiliary: 'auxiliary', 15 | Xrefs: 'xrefs', 16 | Includes: 'includes' 17 | } as const; 18 | 19 | export type FilterRefType = typeof FilterRefType[keyof typeof FilterRefType]; 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /datamanagement/source/model/filterType.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Filter by the type of the objects in the folder. Supported values are ``folders`` and ``items``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const FilterType = { 12 | Folders: 'folders', 13 | Items: 'items' 14 | } as const; 15 | 16 | export type FilterType = typeof FilterType[keyof typeof FilterType]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/filterTypeVersion.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Filter by the ``type`` of the ``ref`` target. Supported values include ``folders``, ``items``, and ``versions``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const FilterTypeVersion = { 12 | Folders: 'folders', 13 | Items: 'items', 14 | Versions: 'versions' 15 | } as const; 16 | 17 | export type FilterTypeVersion = typeof FilterTypeVersion[keyof typeof FilterTypeVersion]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /datamanagement/source/model/folderContentsData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { FolderData } from './folderData'; 5 | import { ItemAttributes } from './itemAttributes'; 6 | import { ItemData } from './itemData'; 7 | import { ItemDataRelationships } from './itemDataRelationships'; 8 | import { JsonApiLinksSelfAndWebView } from './jsonApiLinksSelfAndWebView'; 9 | import { TypeItem } from './typeItem'; 10 | 11 | /** 12 | * @type FolderContentsData 13 | * @export 14 | */ 15 | export type FolderContentsData = FolderData | ItemData; 16 | 17 | 18 | -------------------------------------------------------------------------------- /datamanagement/source/model/folderPayload.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { FolderPayloadData } from './folderPayloadData'; 5 | import { JsonApiVersion } from './jsonApiVersion'; 6 | 7 | /** 8 | * Describe the folder to be created. 9 | * @export 10 | * @interface FolderPayload 11 | */ 12 | export interface FolderPayload { 13 | /** 14 | * 15 | * @type {JsonApiVersion} 16 | * @memberof FolderPayload 17 | */ 18 | 'jsonapi': JsonApiVersion; 19 | /** 20 | * 21 | * @type {FolderPayloadData} 22 | * @memberof FolderPayload 23 | */ 24 | 'data': FolderPayloadData; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /datamanagement/source/model/folderPayloadDataRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { FolderPayloadDataRelationshipsParent } from './folderPayloadDataRelationshipsParent'; 5 | 6 | /** 7 | * A container of links to resources that are related to the folder to be created. 8 | * @export 9 | * @interface FolderPayloadDataRelationships 10 | */ 11 | export interface FolderPayloadDataRelationships { 12 | /** 13 | * 14 | * @type {FolderPayloadDataRelationshipsParent} 15 | * @memberof FolderPayloadDataRelationships 16 | */ 17 | 'parent': FolderPayloadDataRelationshipsParent; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/folderPayloadDataRelationshipsParent.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { FolderPayloadDataRelationshipsParentData } from './folderPayloadDataRelationshipsParentData'; 5 | 6 | /** 7 | * Information about the parent of the new folder in the folder hierarchy. 8 | * @export 9 | * @interface FolderPayloadDataRelationshipsParent 10 | */ 11 | export interface FolderPayloadDataRelationshipsParent { 12 | /** 13 | * 14 | * @type {FolderPayloadDataRelationshipsParentData} 15 | * @memberof FolderPayloadDataRelationshipsParent 16 | */ 17 | 'data': FolderPayloadDataRelationshipsParentData; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/folderRefsData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { FolderData } from './folderData'; 5 | import { ItemData } from './itemData'; 6 | import { JsonApiLinksSelfAndWebView } from './jsonApiLinksSelfAndWebView'; 7 | import { TypeVersion } from './typeVersion'; 8 | import { VersionAttributes } from './versionAttributes'; 9 | import { VersionData } from './versionData'; 10 | import { VersionDataRelationships } from './versionDataRelationships'; 11 | 12 | /** 13 | * @type FolderRefsData 14 | * @export 15 | */ 16 | export type FolderRefsData = FolderData | ItemData | VersionData; 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/hub.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { HubData } from './hubData'; 5 | import { JsonApiLinksSelf } from './jsonApiLinksSelf'; 6 | import { JsonApiVersion } from './jsonApiVersion'; 7 | 8 | /** 9 | * An object representing a hub. 10 | * @export 11 | * @interface Hub 12 | */ 13 | export interface Hub { 14 | /** 15 | * 16 | * @type {JsonApiVersion} 17 | * @memberof Hub 18 | */ 19 | 'jsonapi'?: JsonApiVersion; 20 | /** 21 | * 22 | * @type {JsonApiLinksSelf} 23 | * @memberof Hub 24 | */ 25 | 'links'?: JsonApiLinksSelf; 26 | /** 27 | * 28 | * @type {HubData} 29 | * @memberof Hub 30 | */ 31 | 'data'?: HubData; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /datamanagement/source/model/hubDataRelationshipsPimCollection.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiTypeId } from './jsonApiTypeId'; 5 | 6 | /** 7 | * Information on the ``id`` and ``type`` properties of a resource. This is available only for Fusion Team hubs and A360 Personal hubs. 8 | * @export 9 | * @interface HubDataRelationshipsPimCollection 10 | */ 11 | export interface HubDataRelationshipsPimCollection { 12 | /** 13 | * 14 | * @type {JsonApiTypeId} 15 | * @memberof HubDataRelationshipsPimCollection 16 | */ 17 | 'data'?: JsonApiTypeId; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/hubDataRelationshipsProjects.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLinksRelated } from './jsonApiLinksRelated'; 5 | 6 | /** 7 | * Contains the endpoint you can use to list the projects in this hub. 8 | * @export 9 | * @interface HubDataRelationshipsProjects 10 | */ 11 | export interface HubDataRelationshipsProjects { 12 | /** 13 | * 14 | * @type {JsonApiLinksRelated} 15 | * @memberof HubDataRelationshipsProjects 16 | */ 17 | 'links'?: JsonApiLinksRelated; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/itemPayloadDataRelationshipsParent.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ItemPayloadDataRelationshipsParentData } from './itemPayloadDataRelationshipsParentData'; 5 | 6 | /** 7 | * Information about the parent of the new item in the folder hierarchy. 8 | * @export 9 | * @interface ItemPayloadDataRelationshipsParent 10 | */ 11 | export interface ItemPayloadDataRelationshipsParent { 12 | /** 13 | * 14 | * @type {ItemPayloadDataRelationshipsParentData} 15 | * @memberof ItemPayloadDataRelationshipsParent 16 | */ 17 | 'data': ItemPayloadDataRelationshipsParentData; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/itemPayloadDataRelationshipsTip.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ItemPayloadDataRelationshipsTipData } from './itemPayloadDataRelationshipsTipData'; 5 | 6 | /** 7 | * Information about the first version of the new item, which will be its tip version. 8 | * @export 9 | * @interface ItemPayloadDataRelationshipsTip 10 | */ 11 | export interface ItemPayloadDataRelationshipsTip { 12 | /** 13 | * 14 | * @type {ItemPayloadDataRelationshipsTipData} 15 | * @memberof ItemPayloadDataRelationshipsTip 16 | */ 17 | 'data': ItemPayloadDataRelationshipsTipData; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/itemPayloadDataRelationshipsTipData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { TypeVersion } from './typeVersion'; 5 | 6 | /** 7 | * The data about the version to be created. 8 | * @export 9 | * @interface ItemPayloadDataRelationshipsTipData 10 | */ 11 | export interface ItemPayloadDataRelationshipsTipData { 12 | /** 13 | * 14 | * @type {TypeVersion} 15 | * @memberof ItemPayloadDataRelationshipsTipData 16 | */ 17 | 'type': TypeVersion; 18 | /** 19 | * An ID to uniquely identify the version. 20 | * @type {string} 21 | * @memberof ItemPayloadDataRelationshipsTipData 22 | */ 23 | 'id': string; 24 | } 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /datamanagement/source/model/itemPayloadIncludedRelationshipsStorage.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ItemPayloadIncludedRelationshipsStorageData } from './itemPayloadIncludedRelationshipsStorageData'; 5 | 6 | /** 7 | * The object containing information on where the binary data of the item is stored. 8 | * @export 9 | * @interface ItemPayloadIncludedRelationshipsStorage 10 | */ 11 | export interface ItemPayloadIncludedRelationshipsStorage { 12 | /** 13 | * 14 | * @type {ItemPayloadIncludedRelationshipsStorageData} 15 | * @memberof ItemPayloadIncludedRelationshipsStorage 16 | */ 17 | 'data': ItemPayloadIncludedRelationshipsStorageData; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/job.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JobData } from './jobData'; 5 | import { JsonApiLinksSelf } from './jsonApiLinksSelf'; 6 | import { JsonApiVersion } from './jsonApiVersion'; 7 | 8 | /** 9 | * Details of the specified job was returned successfully. 10 | * @export 11 | * @interface Job 12 | */ 13 | export interface Job { 14 | /** 15 | * 16 | * @type {JsonApiVersion} 17 | * @memberof Job 18 | */ 19 | 'jsonapi'?: JsonApiVersion; 20 | /** 21 | * 22 | * @type {JsonApiLinksSelf} 23 | * @memberof Job 24 | */ 25 | 'links'?: JsonApiLinksSelf; 26 | /** 27 | * 28 | * @type {JobData} 29 | * @memberof Job 30 | */ 31 | 'data'?: JobData; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /datamanagement/source/model/jobDataAttributes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Contains the properties that indicate the current status of the job. 7 | * @export 8 | * @interface JobDataAttributes 9 | */ 10 | export interface JobDataAttributes { 11 | /** 12 | * Indicates the current status of the job, while the job is ``queued``, ``processing``, or ``failed``. If the job is finished, the server returns a HTTP 303 status with the ``location`` header set to the URI to use to fetch the details of the download. 13 | * @type {string} 14 | * @memberof JobDataAttributes 15 | */ 16 | 'status'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiLink.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * An object containing the hyperlink to the referenced resource. 7 | * @export 8 | * @interface JsonApiLink 9 | */ 10 | export interface JsonApiLink { 11 | /** 12 | * A hypertext reference to the location of the referenced resource. 13 | * @type {string} 14 | * @memberof JsonApiLink 15 | */ 16 | 'href': string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiLinksRelated.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLinksRelatedRelated } from './jsonApiLinksRelatedRelated'; 5 | 6 | /** 7 | * Contains the endpoint you can use to retrieve the related resources. 8 | * @export 9 | * @interface JsonApiLinksRelated 10 | */ 11 | export interface JsonApiLinksRelated { 12 | /** 13 | * 14 | * @type {JsonApiLinksRelatedRelated} 15 | * @memberof JsonApiLinksRelated 16 | */ 17 | 'related'?: JsonApiLinksRelatedRelated; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiLinksRelatedRelated.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * An object containing the endpoint to retrieve a list of related resources. 7 | * @export 8 | * @interface JsonApiLinksRelatedRelated 9 | */ 10 | export interface JsonApiLinksRelatedRelated { 11 | /** 12 | * The URI of the endpoint that returns the related resources. 13 | * @type {string} 14 | * @memberof JsonApiLinksRelatedRelated 15 | */ 16 | 'href'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiLinksSelf.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLinksSelfSelf } from './jsonApiLinksSelfSelf'; 5 | 6 | /** 7 | * An object containing the URI of the endpoint to access this resource. 8 | * @export 9 | * @interface JsonApiLinksSelf 10 | */ 11 | export interface JsonApiLinksSelf { 12 | /** 13 | * 14 | * @type {JsonApiLinksSelfSelf} 15 | * @memberof JsonApiLinksSelf 16 | */ 17 | 'self'?: JsonApiLinksSelfSelf; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiLinksSelfAndWebView.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLink } from './jsonApiLink'; 5 | import { WebViewLink } from './webViewLink'; 6 | 7 | /** 8 | * Information on links to this resource. 9 | * @export 10 | * @interface JsonApiLinksSelfAndWebView 11 | */ 12 | export interface JsonApiLinksSelfAndWebView { 13 | /** 14 | * 15 | * @type {JsonApiLink} 16 | * @memberof JsonApiLinksSelfAndWebView 17 | */ 18 | 'self': JsonApiLink; 19 | /** 20 | * 21 | * @type {WebViewLink} 22 | * @memberof JsonApiLinksSelfAndWebView 23 | */ 24 | 'webView'?: WebViewLink; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiLinksSelfSelf.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * An object containing the URI of the endpoint to access this resource. 7 | * @export 8 | * @interface JsonApiLinksSelfSelf 9 | */ 10 | export interface JsonApiLinksSelfSelf { 11 | /** 12 | * The URI of the endpoint to access this resource. 13 | * @type {string} 14 | * @memberof JsonApiLinksSelfSelf 15 | */ 16 | 'href'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiMetaLink.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLink } from './jsonApiLink'; 5 | 6 | /** 7 | * Meta-information on links to this resource. 8 | * @export 9 | * @interface JsonApiMetaLink 10 | */ 11 | export interface JsonApiMetaLink { 12 | /** 13 | * 14 | * @type {JsonApiLink} 15 | * @memberof JsonApiMetaLink 16 | */ 17 | 'link'?: JsonApiLink; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiRelationshipsLinksInternal.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLinksRelated } from './jsonApiLinksRelated'; 5 | 6 | /** 7 | * Information on resources that are found under this resource. 8 | * @export 9 | * @interface JsonApiRelationshipsLinksInternal 10 | */ 11 | export interface JsonApiRelationshipsLinksInternal { 12 | /** 13 | * 14 | * @type {JsonApiLinksRelated} 15 | * @memberof JsonApiRelationshipsLinksInternal 16 | */ 17 | 'links': JsonApiLinksRelated; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiRelationshipsLinksLinks.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiRelationshipsLinksLinksLinks } from './jsonApiRelationshipsLinksLinksLinks'; 5 | 6 | /** 7 | * Information on the link resources found in this resource. 8 | * @export 9 | * @interface JsonApiRelationshipsLinksLinks 10 | */ 11 | export interface JsonApiRelationshipsLinksLinks { 12 | /** 13 | * 14 | * @type {JsonApiRelationshipsLinksLinksLinks} 15 | * @memberof JsonApiRelationshipsLinksLinks 16 | */ 17 | 'links': JsonApiRelationshipsLinksLinksLinks; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiRelationshipsLinksLinksLinks.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLink } from './jsonApiLink'; 5 | 6 | /** 7 | * The object containing information on links to this resource. 8 | * @export 9 | * @interface JsonApiRelationshipsLinksLinksLinks 10 | */ 11 | export interface JsonApiRelationshipsLinksLinksLinks { 12 | /** 13 | * 14 | * @type {JsonApiLink} 15 | * @memberof JsonApiRelationshipsLinksLinksLinks 16 | */ 17 | 'self': JsonApiLink; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiRelationshipsLinksRefs.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiRelationshipsLinksRefsLinks } from './jsonApiRelationshipsLinksRefsLinks'; 5 | 6 | /** 7 | * Information on other resources that have a custom relationship with this resource. 8 | * @export 9 | * @interface JsonApiRelationshipsLinksRefs 10 | */ 11 | export interface JsonApiRelationshipsLinksRefs { 12 | /** 13 | * 14 | * @type {JsonApiRelationshipsLinksRefsLinks} 15 | * @memberof JsonApiRelationshipsLinksRefs 16 | */ 17 | 'links': JsonApiRelationshipsLinksRefsLinks; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiRelationshipsLinksRefsLinks.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLink } from './jsonApiLink'; 5 | 6 | /** 7 | * The object containing information on links of related resources that share a custom relationship with this resource. 8 | * @export 9 | * @interface JsonApiRelationshipsLinksRefsLinks 10 | */ 11 | export interface JsonApiRelationshipsLinksRefsLinks { 12 | /** 13 | * 14 | * @type {JsonApiLink} 15 | * @memberof JsonApiRelationshipsLinksRefsLinks 16 | */ 17 | 'self': JsonApiLink; 18 | /** 19 | * 20 | * @type {JsonApiLink} 21 | * @memberof JsonApiRelationshipsLinksRefsLinks 22 | */ 23 | 'related': JsonApiLink; 24 | } 25 | 26 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiRelationshipsLinksRootFolder.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiMetaLink } from './jsonApiMetaLink'; 5 | import { JsonApiTypeId } from './jsonApiTypeId'; 6 | 7 | /** 8 | * Information about the root folder of a project. 9 | * @export 10 | * @interface JsonApiRelationshipsLinksRootFolder 11 | */ 12 | export interface JsonApiRelationshipsLinksRootFolder { 13 | /** 14 | * 15 | * @type {JsonApiMetaLink} 16 | * @memberof JsonApiRelationshipsLinksRootFolder 17 | */ 18 | 'meta'?: JsonApiMetaLink; 19 | /** 20 | * 21 | * @type {JsonApiTypeId} 22 | * @memberof JsonApiRelationshipsLinksRootFolder 23 | */ 24 | 'data'?: JsonApiTypeId; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiRelationshipsLinksToTipVersion.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLinksRelated } from './jsonApiLinksRelated'; 5 | import { JsonApiTypeId } from './jsonApiTypeId'; 6 | 7 | /** 8 | * Information about the latest version of the item. 9 | * @export 10 | * @interface JsonApiRelationshipsLinksToTipVersion 11 | */ 12 | export interface JsonApiRelationshipsLinksToTipVersion { 13 | /** 14 | * 15 | * @type {JsonApiLinksRelated} 16 | * @memberof JsonApiRelationshipsLinksToTipVersion 17 | */ 18 | 'links'?: JsonApiLinksRelated; 19 | /** 20 | * 21 | * @type {JsonApiTypeId} 22 | * @memberof JsonApiRelationshipsLinksToTipVersion 23 | */ 24 | 'data'?: JsonApiTypeId; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiRelationshipsLinksVersions.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLinksRelated } from './jsonApiLinksRelated'; 5 | 6 | /** 7 | * Information about the existing versions of the item. 8 | * @export 9 | * @interface JsonApiRelationshipsLinksVersions 10 | */ 11 | export interface JsonApiRelationshipsLinksVersions { 12 | /** 13 | * 14 | * @type {JsonApiLinksRelated} 15 | * @memberof JsonApiRelationshipsLinksVersions 16 | */ 17 | 'links': JsonApiLinksRelated; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiRelationshipsRefs.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiRelationshipsRefsData } from './jsonApiRelationshipsRefsData'; 5 | 6 | /** 7 | * Information on other resources that share a custom relationship with this resource. 8 | * @export 9 | * @interface JsonApiRelationshipsRefs 10 | */ 11 | export interface JsonApiRelationshipsRefs { 12 | /** 13 | * An array of objects, where each object represents custom relationship. 14 | * @type {Array} 15 | * @memberof JsonApiRelationshipsRefs 16 | */ 17 | 'data': Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiRelationshipsRefsDataMetaExtensionData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { NestedXref } from './nestedXref'; 5 | 6 | /** 7 | * The container of the additional properties. The additional properties must follow the schema specified by ``extensions.type`` and ``extensions.version``. Properties that don\'t follow the schema will be ignored. 8 | * @export 9 | * @interface JsonApiRelationshipsRefsDataMetaExtensionData 10 | */ 11 | export interface JsonApiRelationshipsRefsDataMetaExtensionData { 12 | /** 13 | * 14 | * @type {NestedXref} 15 | * @memberof JsonApiRelationshipsRefsDataMetaExtensionData 16 | */ 17 | 'nestedType': NestedXref; 18 | } 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiTypeId.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * An object containing the ``id`` and ``type`` properties of a resource. 7 | * @export 8 | * @interface JsonApiTypeId 9 | */ 10 | export interface JsonApiTypeId { 11 | /** 12 | * The URN of the resource. 13 | * @type {string} 14 | * @memberof JsonApiTypeId 15 | */ 16 | 'id'?: string; 17 | /** 18 | * The type of the resource. 19 | * @type {string} 20 | * @memberof JsonApiTypeId 21 | */ 22 | 'type'?: string; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiVersion.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiVersionValue } from './jsonApiVersionValue'; 5 | 6 | /** 7 | * The JSON API object. 8 | * @export 9 | * @interface JsonApiVersion 10 | */ 11 | export interface JsonApiVersion { 12 | /** 13 | * 14 | * @type {JsonApiVersionValue} 15 | * @memberof JsonApiVersion 16 | */ 17 | 'version': JsonApiVersionValue; 18 | } 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /datamanagement/source/model/jsonApiVersionValue.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The version of JSON API. Will always be ``1.0``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const JsonApiVersionValue = { 12 | _10: '1.0' 13 | } as const; 14 | 15 | export type JsonApiVersionValue = typeof JsonApiVersionValue[keyof typeof JsonApiVersionValue]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/listItemsPayloadAttributes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ListItemsPayloadAttributesExtension } from './listItemsPayloadAttributesExtension'; 5 | 6 | /** 7 | * A container of the inputs for the command. 8 | * @export 9 | * @interface ListItemsPayloadAttributes 10 | */ 11 | export interface ListItemsPayloadAttributes { 12 | /** 13 | * 14 | * @type {ListItemsPayloadAttributesExtension} 15 | * @memberof ListItemsPayloadAttributes 16 | */ 17 | 'extension'?: ListItemsPayloadAttributesExtension; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/listItemsPayloadRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ListItemsPayloadRelationshipsResources } from './listItemsPayloadRelationshipsResources'; 5 | 6 | /** 7 | * Contains a list of resources required for execution of the command. 8 | * @export 9 | * @interface ListItemsPayloadRelationships 10 | */ 11 | export interface ListItemsPayloadRelationships { 12 | /** 13 | * 14 | * @type {ListItemsPayloadRelationshipsResources} 15 | * @memberof ListItemsPayloadRelationships 16 | */ 17 | 'resources'?: ListItemsPayloadRelationshipsResources; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/listItemsPayloadRelationshipsResources.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ListItemsPayloadRelationshipsResourcesData } from './listItemsPayloadRelationshipsResourcesData'; 5 | 6 | /** 7 | * Contains the list of items to check. The list can contain up to 50 versions. 8 | * @export 9 | * @interface ListItemsPayloadRelationshipsResources 10 | */ 11 | export interface ListItemsPayloadRelationshipsResources { 12 | /** 13 | * An array of objects, where each object represents an item to check. 14 | * @type {Array} 15 | * @memberof ListItemsPayloadRelationshipsResources 16 | */ 17 | 'data'?: Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/listItemsRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ListItemsRelationshipsResources } from './listItemsRelationshipsResources'; 5 | 6 | /** 7 | * Contains the list of items that were checked. 8 | * @export 9 | * @interface ListItemsRelationships 10 | */ 11 | export interface ListItemsRelationships { 12 | /** 13 | * 14 | * @type {ListItemsRelationshipsResources} 15 | * @memberof ListItemsRelationships 16 | */ 17 | 'resources'?: ListItemsRelationshipsResources; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/listItemsRelationshipsResources.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ListItemsRelationshipsResourcesData } from './listItemsRelationshipsResourcesData'; 5 | 6 | /** 7 | * Contains the list of items that were checked. 8 | * @export 9 | * @interface ListItemsRelationshipsResources 10 | */ 11 | export interface ListItemsRelationshipsResources { 12 | /** 13 | * An array of objects, where each object represents a item that was checked. 14 | * @type {Array} 15 | * @memberof ListItemsRelationshipsResources 16 | */ 17 | 'data'?: Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/listItemsTestRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ListItemsTestRelationshipsResources } from './listItemsTestRelationshipsResources'; 5 | 6 | /** 7 | * 8 | * @export 9 | * @interface ListItemsTestRelationships 10 | */ 11 | export interface ListItemsTestRelationships { 12 | /** 13 | * 14 | * @type {ListItemsTestRelationshipsResources} 15 | * @memberof ListItemsTestRelationships 16 | */ 17 | 'resources'?: ListItemsTestRelationshipsResources; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/listItemsTestRelationshipsResourcesData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { TypeItem } from './typeItem'; 5 | 6 | /** 7 | * 8 | * @export 9 | * @interface ListItemsTestRelationshipsResourcesData 10 | */ 11 | export interface ListItemsTestRelationshipsResourcesData { 12 | /** 13 | * 14 | * @type {TypeItem} 15 | * @memberof ListItemsTestRelationshipsResourcesData 16 | */ 17 | 'type'?: TypeItem; 18 | /** 19 | * 20 | * @type {string} 21 | * @memberof ListItemsTestRelationshipsResourcesData 22 | */ 23 | 'version'?: string; 24 | } 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /datamanagement/source/model/listRefsIncluded.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ItemData } from './itemData'; 5 | import { JsonApiLinksSelfAndWebView } from './jsonApiLinksSelfAndWebView'; 6 | import { TypeVersion } from './typeVersion'; 7 | import { VersionAttributes } from './versionAttributes'; 8 | import { VersionData } from './versionData'; 9 | import { VersionDataRelationships } from './versionDataRelationships'; 10 | 11 | /** 12 | * @type ListRefsIncluded 13 | * @export 14 | */ 15 | export type ListRefsIncluded = ItemData | VersionData; 16 | 17 | 18 | -------------------------------------------------------------------------------- /datamanagement/source/model/listRefsPayloadAttributes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ListRefsPayloadAttributesExtension } from './listRefsPayloadAttributesExtension'; 5 | 6 | /** 7 | * A container of the inputs for the command. 8 | * @export 9 | * @interface ListRefsPayloadAttributes 10 | */ 11 | export interface ListRefsPayloadAttributes { 12 | /** 13 | * 14 | * @type {ListRefsPayloadAttributesExtension} 15 | * @memberof ListRefsPayloadAttributes 16 | */ 17 | 'extension'?: ListRefsPayloadAttributesExtension; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/listRefsPayloadRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ListRefsPayloadRelationshipsResources } from './listRefsPayloadRelationshipsResources'; 5 | 6 | /** 7 | * Contains a list of resources required for execution of the command. 8 | * @export 9 | * @interface ListRefsPayloadRelationships 10 | */ 11 | export interface ListRefsPayloadRelationships { 12 | /** 13 | * 14 | * @type {ListRefsPayloadRelationshipsResources} 15 | * @memberof ListRefsPayloadRelationships 16 | */ 17 | 'resources'?: ListRefsPayloadRelationshipsResources; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/listRefsPayloadRelationshipsResources.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ListRefsPayloadRelationshipsResourcesData } from './listRefsPayloadRelationshipsResourcesData'; 5 | 6 | /** 7 | * Contains the list of versions to check. The list can contain up to 50 versions. 8 | * @export 9 | * @interface ListRefsPayloadRelationshipsResources 10 | */ 11 | export interface ListRefsPayloadRelationshipsResources { 12 | /** 13 | * An array of objects, where each object represents a version to check. 14 | * @type {Array} 15 | * @memberof ListRefsPayloadRelationshipsResources 16 | */ 17 | 'data'?: Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/listRefsRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ListRefsRelationshipsResources } from './listRefsRelationshipsResources'; 5 | 6 | /** 7 | * Contains the list of versions that were checked. 8 | * @export 9 | * @interface ListRefsRelationships 10 | */ 11 | export interface ListRefsRelationships { 12 | /** 13 | * 14 | * @type {ListRefsRelationshipsResources} 15 | * @memberof ListRefsRelationships 16 | */ 17 | 'resources'?: ListRefsRelationshipsResources; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/listRefsRelationshipsResources.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ListRefsRelationshipsResourcesData } from './listRefsRelationshipsResourcesData'; 5 | 6 | /** 7 | * Contains the list of versions that were checked. 8 | * @export 9 | * @interface ListRefsRelationshipsResources 10 | */ 11 | export interface ListRefsRelationshipsResources { 12 | /** 13 | * An array of objects, where each object represents a version that was checked. 14 | * @type {Array} 15 | * @memberof ListRefsRelationshipsResources 16 | */ 17 | 'data'?: Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/metarefsDirection.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Describes the direction of data flow in the relationship. Possible values are: - ``to`` - Data flows from this resource to the related resource. - ``from`` - Data flows from the related resource to this resource. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const MetarefsDirection = { 12 | From: 'from', 13 | To: 'to' 14 | } as const; 15 | 16 | export type MetarefsDirection = typeof MetarefsDirection[keyof typeof MetarefsDirection]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/modifyFolderPayload.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiVersion } from './jsonApiVersion'; 5 | import { ModifyFolderPayloadData } from './modifyFolderPayloadData'; 6 | 7 | /** 8 | * Modifies folder names 9 | * @export 10 | * @interface ModifyFolderPayload 11 | */ 12 | export interface ModifyFolderPayload { 13 | /** 14 | * 15 | * @type {JsonApiVersion} 16 | * @memberof ModifyFolderPayload 17 | */ 18 | 'jsonapi': JsonApiVersion; 19 | /** 20 | * 21 | * @type {ModifyFolderPayloadData} 22 | * @memberof ModifyFolderPayload 23 | */ 24 | 'data': ModifyFolderPayloadData; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /datamanagement/source/model/modifyFolderPayloadDataRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ModifyFolderPayloadDataRelationshipsParent } from './modifyFolderPayloadDataRelationshipsParent'; 5 | 6 | /** 7 | * Contains links to resources that are directly related to this folder. 8 | * @export 9 | * @interface ModifyFolderPayloadDataRelationships 10 | */ 11 | export interface ModifyFolderPayloadDataRelationships { 12 | /** 13 | * 14 | * @type {ModifyFolderPayloadDataRelationshipsParent} 15 | * @memberof ModifyFolderPayloadDataRelationships 16 | */ 17 | 'parent'?: ModifyFolderPayloadDataRelationshipsParent; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/modifyFolderPayloadDataRelationshipsParent.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ModifyFolderPayloadDataRelationshipsParentData } from './modifyFolderPayloadDataRelationshipsParentData'; 5 | 6 | /** 7 | * Information about the parent folder of this folder. 8 | * @export 9 | * @interface ModifyFolderPayloadDataRelationshipsParent 10 | */ 11 | export interface ModifyFolderPayloadDataRelationshipsParent { 12 | /** 13 | * 14 | * @type {ModifyFolderPayloadDataRelationshipsParentData} 15 | * @memberof ModifyFolderPayloadDataRelationshipsParent 16 | */ 17 | 'data': ModifyFolderPayloadDataRelationshipsParentData; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/modifyItemPayload.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiVersion } from './jsonApiVersion'; 5 | import { ModifyItemPayloadData } from './modifyItemPayloadData'; 6 | 7 | /** 8 | * An object that defines the attributes of an item that must be updated. 9 | * @export 10 | * @interface ModifyItemPayload 11 | */ 12 | export interface ModifyItemPayload { 13 | /** 14 | * 15 | * @type {JsonApiVersion} 16 | * @memberof ModifyItemPayload 17 | */ 18 | 'jsonapi': JsonApiVersion; 19 | /** 20 | * 21 | * @type {ModifyItemPayloadData} 22 | * @memberof ModifyItemPayload 23 | */ 24 | 'data': ModifyItemPayloadData; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /datamanagement/source/model/modifyItemPayloadDataAttributes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * A container of the attributes to be updated. 7 | * @export 8 | * @interface ModifyItemPayloadDataAttributes 9 | */ 10 | export interface ModifyItemPayloadDataAttributes { 11 | /** 12 | * A human friendly name to identify an item. **Note:** For BIM 360 projects this attribute is reserved for future releases and should not be used. For such items use a version\'s ``attributes.name`` as the item\'s name. 13 | * @type {string} 14 | * @memberof ModifyItemPayloadDataAttributes 15 | */ 16 | 'displayName'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/modifyVersionPayload.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiVersion } from './jsonApiVersion'; 5 | import { ModifyVersionPayloadData } from './modifyVersionPayloadData'; 6 | 7 | /** 8 | * An object that contains the information on the version to be patched. 9 | * @export 10 | * @interface ModifyVersionPayload 11 | */ 12 | export interface ModifyVersionPayload { 13 | /** 14 | * 15 | * @type {JsonApiVersion} 16 | * @memberof ModifyVersionPayload 17 | */ 18 | 'jsonapi': JsonApiVersion; 19 | /** 20 | * 21 | * @type {ModifyVersionPayloadData} 22 | * @memberof ModifyVersionPayload 23 | */ 24 | 'data': ModifyVersionPayloadData; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /datamanagement/source/model/modifyVersionPayloadDataAttributes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Contains the properties to update 7 | * @export 8 | * @interface ModifyVersionPayloadDataAttributes 9 | */ 10 | export interface ModifyVersionPayloadDataAttributes { 11 | /** 12 | * The file name to be used when synced to local disk (1-255 characters). Avoid using the following reserved characters in the name: ``<``, ``>``, ``:``, ``\"``, ``/``, ``\\``, ``|``, ``?``, ``*``, ``\'``, ``\\n``, ``\\r``, ``\\t``, ``\\0``, ``\\f``, ``¢``, ``™``, ``$``, ``®``. 13 | * @type {string} 14 | * @memberof ModifyVersionPayloadDataAttributes 15 | */ 16 | 'name'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/nestedXref.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of the xref, which defines how nested xrefs are handled. Possible values are: - ``attachment``: Nested xrefs are not ignored. - ``overlay`` : Nested xrefs are ignored. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const NestedXref = { 12 | Attachment: 'attachment', 13 | Overlay: 'overlay' 14 | } as const; 15 | 16 | export type NestedXref = typeof NestedXref[keyof typeof NestedXref]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/paginationInfoFirst.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * A container for the link to the first page of the response. 7 | * @export 8 | * @interface PaginationInfoFirst 9 | */ 10 | export interface PaginationInfoFirst { 11 | /** 12 | * A hypertext reference to the location of the referenced resource. 13 | * @type {string} 14 | * @memberof PaginationInfoFirst 15 | */ 16 | 'href'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/paginationInfoNext.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * A container for the link to the next page of the response. 7 | * @export 8 | * @interface PaginationInfoNext 9 | */ 10 | export interface PaginationInfoNext { 11 | /** 12 | * A hypertext reference to the location of the referenced resource. 13 | * @type {string} 14 | * @memberof PaginationInfoNext 15 | */ 16 | 'href'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/paginationInfoPrev.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * A container for the link to the previous page of the response. 7 | * @export 8 | * @interface PaginationInfoPrev 9 | */ 10 | export interface PaginationInfoPrev { 11 | /** 12 | * A hypertext reference to the location of the referenced resource. 13 | * @type {string} 14 | * @memberof PaginationInfoPrev 15 | */ 16 | 'href'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/paginationInfoSelf.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * A container for the link to the current page of the response. 7 | * @export 8 | * @interface PaginationInfoSelf 9 | */ 10 | export interface PaginationInfoSelf { 11 | /** 12 | * A hypertext reference to the location of the referenced resource. 13 | * @type {string} 14 | * @memberof PaginationInfoSelf 15 | */ 16 | 'href'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/projectDataRelationshipsTopFolders.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLinksRelated } from './jsonApiLinksRelated'; 5 | 6 | /** 7 | * Information about the highest level folders you have access to. 8 | * @export 9 | * @interface ProjectDataRelationshipsTopFolders 10 | */ 11 | export interface ProjectDataRelationshipsTopFolders { 12 | /** 13 | * 14 | * @type {JsonApiLinksRelated} 15 | * @memberof ProjectDataRelationshipsTopFolders 16 | */ 17 | 'links'?: JsonApiLinksRelated; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/projectTypeBim360Acc.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of project. Only relevant for BIM 360 and ACC projects. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const ProjectTypeBim360Acc = { 12 | Bim360: 'BIM360', 13 | Acc: 'ACC' 14 | } as const; 15 | 16 | export type ProjectTypeBim360Acc = typeof ProjectTypeBim360Acc[keyof typeof ProjectTypeBim360Acc]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/publishModelJobPayloadAttributes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { PublishModelJobPayloadAttributesExtension } from './publishModelJobPayloadAttributesExtension'; 5 | 6 | /** 7 | * A container of the inputs for the command. 8 | * @export 9 | * @interface PublishModelJobPayloadAttributes 10 | */ 11 | export interface PublishModelJobPayloadAttributes { 12 | /** 13 | * 14 | * @type {PublishModelJobPayloadAttributesExtension} 15 | * @memberof PublishModelJobPayloadAttributes 16 | */ 17 | 'extension'?: PublishModelJobPayloadAttributesExtension; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/publishModelJobPayloadRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { PublishModelJobPayloadRelationshipsResources } from './publishModelJobPayloadRelationshipsResources'; 5 | 6 | /** 7 | * Contains a list of resources required for execution of the command. 8 | * @export 9 | * @interface PublishModelJobPayloadRelationships 10 | */ 11 | export interface PublishModelJobPayloadRelationships { 12 | /** 13 | * 14 | * @type {PublishModelJobPayloadRelationshipsResources} 15 | * @memberof PublishModelJobPayloadRelationships 16 | */ 17 | 'resources'?: PublishModelJobPayloadRelationshipsResources; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/publishModelJobPayloadRelationshipsResources.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { PublishModelJobPayloadRelationshipsResourcesData } from './publishModelJobPayloadRelationshipsResourcesData'; 5 | 6 | /** 7 | * Contains the list of items to check. 8 | * @export 9 | * @interface PublishModelJobPayloadRelationshipsResources 10 | */ 11 | export interface PublishModelJobPayloadRelationshipsResources { 12 | /** 13 | * An array of objects, where each object represents an item to check. 14 | * @type {Array} 15 | * @memberof PublishModelJobPayloadRelationshipsResources 16 | */ 17 | 'data'?: Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/publishModelPayloadAttributes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { PublishModelPayloadAttributesExtension } from './publishModelPayloadAttributesExtension'; 5 | 6 | /** 7 | * A container of the inputs for the command. 8 | * @export 9 | * @interface PublishModelPayloadAttributes 10 | */ 11 | export interface PublishModelPayloadAttributes { 12 | /** 13 | * 14 | * @type {PublishModelPayloadAttributesExtension} 15 | * @memberof PublishModelPayloadAttributes 16 | */ 17 | 'extension'?: PublishModelPayloadAttributesExtension; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/publishModelPayloadRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { PublishModelPayloadRelationshipsResources } from './publishModelPayloadRelationshipsResources'; 5 | 6 | /** 7 | * Contains a list of resources required for execution of the command. 8 | * @export 9 | * @interface PublishModelPayloadRelationships 10 | */ 11 | export interface PublishModelPayloadRelationships { 12 | /** 13 | * 14 | * @type {PublishModelPayloadRelationshipsResources} 15 | * @memberof PublishModelPayloadRelationships 16 | */ 17 | 'resources'?: PublishModelPayloadRelationshipsResources; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/publishModelPayloadRelationshipsResources.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { PublishModelPayloadRelationshipsResourcesData } from './publishModelPayloadRelationshipsResourcesData'; 5 | 6 | /** 7 | * Contains the list of resources to be published. 8 | * @export 9 | * @interface PublishModelPayloadRelationshipsResources 10 | */ 11 | export interface PublishModelPayloadRelationshipsResources { 12 | /** 13 | * An array of objects where each object represents a resource that must be published. 14 | * @type {Array} 15 | * @memberof PublishModelPayloadRelationshipsResources 16 | */ 17 | 'data'?: Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/publishWithoutLinksPayloadAttributes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { PublishWithoutLinksPayloadAttributesExtension } from './publishWithoutLinksPayloadAttributesExtension'; 5 | 6 | /** 7 | * A container of the inputs for the command. 8 | * @export 9 | * @interface PublishWithoutLinksPayloadAttributes 10 | */ 11 | export interface PublishWithoutLinksPayloadAttributes { 12 | /** 13 | * 14 | * @type {PublishWithoutLinksPayloadAttributesExtension} 15 | * @memberof PublishWithoutLinksPayloadAttributes 16 | */ 17 | 'extension'?: PublishWithoutLinksPayloadAttributesExtension; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/publishWithoutLinksPayloadRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { PublishWithoutLinksPayloadRelationshipsResources } from './publishWithoutLinksPayloadRelationshipsResources'; 5 | 6 | /** 7 | * Contains a list of resources required for execution of the command. 8 | * @export 9 | * @interface PublishWithoutLinksPayloadRelationships 10 | */ 11 | export interface PublishWithoutLinksPayloadRelationships { 12 | /** 13 | * 14 | * @type {PublishWithoutLinksPayloadRelationshipsResources} 15 | * @memberof PublishWithoutLinksPayloadRelationships 16 | */ 17 | 'resources'?: PublishWithoutLinksPayloadRelationshipsResources; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/refsData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { FolderData } from './folderData'; 5 | import { ItemData } from './itemData'; 6 | import { JsonApiLinksSelfAndWebView } from './jsonApiLinksSelfAndWebView'; 7 | import { TypeVersion } from './typeVersion'; 8 | import { VersionAttributes } from './versionAttributes'; 9 | import { VersionData } from './versionData'; 10 | import { VersionDataRelationships } from './versionDataRelationships'; 11 | 12 | /** 13 | * @type RefsData 14 | * @export 15 | */ 16 | export type RefsData = FolderData | ItemData | VersionData; 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/reftypesXref.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of custom relationship. Will always be ``xrefs``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const ReftypesXref = { 12 | Xrefs: 'xrefs' 13 | } as const; 14 | 15 | export type ReftypesXref = typeof ReftypesXref[keyof typeof ReftypesXref]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/region.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | /** 5 | * Specifies where the hub is stored. Possible values are: 6 | * - ``US`` - Data center for the US region. 7 | * - ``EMEA`` - Data center for the European Union, Middle East, and Africa regions. 8 | * - ``APAC`` - Data center for the Australia region. **@deprecated Use `AUS` instead.** 9 | * - ``AUS`` - New data center for the Australia region. 10 | * @export 11 | * @enum {string} 12 | */ 13 | 14 | export const Region = { 15 | Us: 'US', 16 | Emea: 'EMEA', 17 | /** @deprecated Use `AUS` instead. */ 18 | Apac: 'APAC', 19 | Aus: 'AUS' 20 | } as const; 21 | 22 | export type Region = typeof Region[keyof typeof Region]; 23 | -------------------------------------------------------------------------------- /datamanagement/source/model/relationshipLinksDataMetaData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The object containing meta-information on the data of the links of this resource. 7 | * @export 8 | * @interface RelationshipLinksDataMetaData 9 | */ 10 | export interface RelationshipLinksDataMetaData { 11 | /** 12 | * The type of the resource data. 13 | * @type {string} 14 | * @memberof RelationshipLinksDataMetaData 15 | */ 16 | 'type'?: string; 17 | /** 18 | * The ID or URN of the resource. 19 | * @type {string} 20 | * @memberof RelationshipLinksDataMetaData 21 | */ 22 | 'id'?: string; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /datamanagement/source/model/relationshipRefsIncluded.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { FolderData } from './folderData'; 5 | import { ItemData } from './itemData'; 6 | import { JsonApiLinksSelfAndWebView } from './jsonApiLinksSelfAndWebView'; 7 | import { TypeVersion } from './typeVersion'; 8 | import { VersionAttributes } from './versionAttributes'; 9 | import { VersionData } from './versionData'; 10 | import { VersionDataRelationships } from './versionDataRelationships'; 11 | 12 | /** 13 | * @type RelationshipRefsIncluded 14 | * @export 15 | */ 16 | export type RelationshipRefsIncluded = FolderData | ItemData | VersionData; 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/relationshipRefsLinks.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLinksRelated } from './jsonApiLinksRelated'; 5 | import { JsonApiLinksRelatedRelated } from './jsonApiLinksRelatedRelated'; 6 | import { JsonApiLinksSelf } from './jsonApiLinksSelf'; 7 | import { JsonApiLinksSelfSelf } from './jsonApiLinksSelfSelf'; 8 | 9 | /** 10 | * @type RelationshipRefsLinks 11 | * Information on links to this resource. 12 | * @export 13 | */ 14 | export type RelationshipRefsLinks = JsonApiLinksRelated | JsonApiLinksSelf; 15 | 16 | 17 | -------------------------------------------------------------------------------- /datamanagement/source/model/relationshipRefsPayload.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiVersion } from './jsonApiVersion'; 5 | import { RelationshipRefsPayloadData } from './relationshipRefsPayloadData'; 6 | 7 | /** 8 | * An object that describes the custom relationship to be created. 9 | * @export 10 | * @interface RelationshipRefsPayload 11 | */ 12 | export interface RelationshipRefsPayload { 13 | /** 14 | * 15 | * @type {JsonApiVersion} 16 | * @memberof RelationshipRefsPayload 17 | */ 18 | 'jsonapi': JsonApiVersion; 19 | /** 20 | * 21 | * @type {RelationshipRefsPayloadData} 22 | * @memberof RelationshipRefsPayload 23 | */ 24 | 'data': RelationshipRefsPayloadData; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /datamanagement/source/model/relationshipRefsPayloadDataMeta.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { BaseAttributesExtensionObjectWithoutSchemaLink } from './baseAttributesExtensionObjectWithoutSchemaLink'; 5 | 6 | /** 7 | * The meta-information about this resource. 8 | * @export 9 | * @interface RelationshipRefsPayloadDataMeta 10 | */ 11 | export interface RelationshipRefsPayloadDataMeta { 12 | /** 13 | * 14 | * @type {BaseAttributesExtensionObjectWithoutSchemaLink} 15 | * @memberof RelationshipRefsPayloadDataMeta 16 | */ 17 | 'extension': BaseAttributesExtensionObjectWithoutSchemaLink; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/storageDataRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { StorageDataRelationshipsTarget } from './storageDataRelationshipsTarget'; 5 | 6 | /** 7 | * Contains links to resources that are directly related to the storage location. 8 | * @export 9 | * @interface StorageDataRelationships 10 | */ 11 | export interface StorageDataRelationships { 12 | /** 13 | * 14 | * @type {StorageDataRelationshipsTarget} 15 | * @memberof StorageDataRelationships 16 | */ 17 | 'target'?: StorageDataRelationshipsTarget; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/storageDataRelationshipsTargetData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { TypeFolder } from './typeFolder'; 5 | 6 | /** 7 | * Contains information about the folder containing the item or version the storage location is reserved for. 8 | * @export 9 | * @interface StorageDataRelationshipsTargetData 10 | */ 11 | export interface StorageDataRelationshipsTargetData { 12 | /** 13 | * 14 | * @type {TypeFolder} 15 | * @memberof StorageDataRelationshipsTargetData 16 | */ 17 | 'type'?: TypeFolder; 18 | /** 19 | * The ID to uniquely identify the resource. 20 | * @type {string} 21 | * @memberof StorageDataRelationshipsTargetData 22 | */ 23 | 'id'?: string; 24 | } 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /datamanagement/source/model/storagePayload.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiVersion } from './jsonApiVersion'; 5 | import { StoragePayloadData } from './storagePayloadData'; 6 | 7 | /** 8 | * An object representing a placeholder (storage location) for data. 9 | * @export 10 | * @interface StoragePayload 11 | */ 12 | export interface StoragePayload { 13 | /** 14 | * 15 | * @type {JsonApiVersion} 16 | * @memberof StoragePayload 17 | */ 18 | 'jsonapi': JsonApiVersion; 19 | /** 20 | * 21 | * @type {StoragePayloadData} 22 | * @memberof StoragePayload 23 | */ 24 | 'data': StoragePayloadData; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /datamanagement/source/model/storagePayloadDataAttributes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Properties of the storage location to be created. 7 | * @export 8 | * @interface StoragePayloadDataAttributes 9 | */ 10 | export interface StoragePayloadDataAttributes { 11 | /** 12 | * A human friendly name to identify the resource. 13 | * @type {string} 14 | * @memberof StoragePayloadDataAttributes 15 | */ 16 | 'name': string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/storagePayloadDataRelationships.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { StoragePayloadDataRelationshipsTarget } from './storagePayloadDataRelationshipsTarget'; 5 | 6 | /** 7 | * Contains information on other resources related to this resource. 8 | * @export 9 | * @interface StoragePayloadDataRelationships 10 | */ 11 | export interface StoragePayloadDataRelationships { 12 | /** 13 | * 14 | * @type {StoragePayloadDataRelationshipsTarget} 15 | * @memberof StoragePayloadDataRelationships 16 | */ 17 | 'target': StoragePayloadDataRelationshipsTarget; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/storagePayloadDataRelationshipsTarget.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { StoragePayloadDataRelationshipsTargetData } from './storagePayloadDataRelationshipsTargetData'; 5 | 6 | /** 7 | * Information about the target object. 8 | * @export 9 | * @interface StoragePayloadDataRelationshipsTarget 10 | */ 11 | export interface StoragePayloadDataRelationshipsTarget { 12 | /** 13 | * 14 | * @type {StoragePayloadDataRelationshipsTargetData} 15 | * @memberof StoragePayloadDataRelationshipsTarget 16 | */ 17 | 'data': StoragePayloadDataRelationshipsTargetData; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeCommands.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of this resource. Possible values are ``commands``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeCommands = { 12 | Commands: 'commands' 13 | } as const; 14 | 15 | export type TypeCommands = typeof TypeCommands[keyof typeof TypeCommands]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeCommandtypeCheckPermission.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The Type ID of the schema used for extending properties. Must be ``commands:autodesk.core:CheckPermission`` for the CheckPermission command. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeCommandtypeCheckPermission = { 12 | CommandsautodeskCoreCheckPermission: 'commands:autodesk.core:CheckPermission' 13 | } as const; 14 | 15 | export type TypeCommandtypeCheckPermission = typeof TypeCommandtypeCheckPermission[keyof typeof TypeCommandtypeCheckPermission]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeCommandtypeGetPublishModelJob.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The Type ID of the schema used for extending properties. Must be ``commands:autodesk.bim360:C4RModelGetPublishJob`` for the GetPublishModelJob command. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeCommandtypeGetPublishModelJob = { 12 | CommandsautodeskBim360C4RModelGetPublishJob: 'commands:autodesk.bim360:C4RModelGetPublishJob' 13 | } as const; 14 | 15 | export type TypeCommandtypeGetPublishModelJob = typeof TypeCommandtypeGetPublishModelJob[keyof typeof TypeCommandtypeGetPublishModelJob]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeCommandtypeListItems.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The Type ID of the schema used for extending properties. Must be ``commands:autodesk.core:ListItems`` for the ListItems command. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeCommandtypeListItems = { 12 | CommandsautodeskCoreListItems: 'commands:autodesk.core:ListItems' 13 | } as const; 14 | 15 | export type TypeCommandtypeListItems = typeof TypeCommandtypeListItems[keyof typeof TypeCommandtypeListItems]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeCommandtypeListRefs.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The Type ID of the schema used for extending properties. Must be ``commands:autodesk.core:ListRefs`` for the ListRefs command. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeCommandtypeListRefs = { 12 | CommandsautodeskCoreListRefs: 'commands:autodesk.core:ListRefs' 13 | } as const; 14 | 15 | export type TypeCommandtypeListRefs = typeof TypeCommandtypeListRefs[keyof typeof TypeCommandtypeListRefs]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeCommandtypePublishWithoutLinks.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The Type ID of the schema used for extending properties. Must be ``commands:autodesk.bim360:C4RPublishWithoutLinks`` for the PublishWithoutLinks command. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeCommandtypePublishWithoutLinks = { 12 | CommandsautodeskBim360C4RPublishWithoutLinks: 'commands:autodesk.bim360:C4RPublishWithoutLinks' 13 | } as const; 14 | 15 | export type TypeCommandtypePublishWithoutLinks = typeof TypeCommandtypePublishWithoutLinks[keyof typeof TypeCommandtypePublishWithoutLinks]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeCommandtypePublishmodel.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The Type ID of the schema used for extending properties. Must be ``commands:autodesk.bim360:C4RModelPublish`` for the PublishModel command. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeCommandtypePublishmodel = { 12 | CommandsautodeskBim360C4RModelPublish: 'commands:autodesk.bim360:C4RModelPublish' 13 | } as const; 14 | 15 | export type TypeCommandtypePublishmodel = typeof TypeCommandtypePublishmodel[keyof typeof TypeCommandtypePublishmodel]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeDownloadformats.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of this resource. Possible values are ``downloadFormats``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeDownloadformats = { 12 | DownloadFormats: 'downloadFormats' 13 | } as const; 14 | 15 | export type TypeDownloadformats = typeof TypeDownloadformats[keyof typeof TypeDownloadformats]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeDownloads.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of this resource. Possible values are ``downloads``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeDownloads = { 12 | Downloads: 'downloads' 13 | } as const; 14 | 15 | export type TypeDownloads = typeof TypeDownloads[keyof typeof TypeDownloads]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeEntity.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of the resource. Possible values are ``folders``, ``items``, ``versions``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeEntity = { 12 | Folders: 'folders', 13 | Items: 'items', 14 | Versions: 'versions' 15 | } as const; 16 | 17 | export type TypeEntity = typeof TypeEntity[keyof typeof TypeEntity]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeFolder.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of the resource. Possible values are ``folders``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeFolder = { 12 | Folders: 'folders' 13 | } as const; 14 | 15 | export type TypeFolder = typeof TypeFolder[keyof typeof TypeFolder]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeFolderItems.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of the resource. Possible values are ``folders``, ``items``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeFolderItems = { 12 | Folders: 'folders', 13 | Items: 'items' 14 | } as const; 15 | 16 | export type TypeFolderItems = typeof TypeFolderItems[keyof typeof TypeFolderItems]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeFolderItemsForStorage.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of resource the storage location is related to. Possible values are: - ``folders`` - The storage location is for a new item. - ``items`` - The storage location is for a new version of an existing item. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeFolderItemsForStorage = { 12 | Folders: 'folders', 13 | Items: 'items' 14 | } as const; 15 | 16 | export type TypeFolderItemsForStorage = typeof TypeFolderItemsForStorage[keyof typeof TypeFolderItemsForStorage]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeHub.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of the resource. Possible values are ``hubs``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeHub = { 12 | Hubs: 'hubs' 13 | } as const; 14 | 15 | export type TypeHub = typeof TypeHub[keyof typeof TypeHub]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeItem.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of the resource. Possible values are ``items``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeItem = { 12 | Items: 'items' 13 | } as const; 14 | 15 | export type TypeItem = typeof TypeItem[keyof typeof TypeItem]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeJob.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of this resource. Possible values are ``jobs``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeJob = { 12 | Downloads: 'downloads' 13 | } as const; 14 | 15 | export type TypeJob = typeof TypeJob[keyof typeof TypeJob]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeLink.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of the resource. Possible values are ``links``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeLink = { 12 | Links: 'links' 13 | } as const; 14 | 15 | export type TypeLink = typeof TypeLink[keyof typeof TypeLink]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeObject.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of this resource. Possible values are ``objects``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeObject = { 12 | Objects: 'objects' 13 | } as const; 14 | 15 | export type TypeObject = typeof TypeObject[keyof typeof TypeObject]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeProject.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of the resource. Possible values are ``projects``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeProject = { 12 | Projects: 'projects' 13 | } as const; 14 | 15 | export type TypeProject = typeof TypeProject[keyof typeof TypeProject]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeRef.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of the resource. Possible values are ``derived``, ``dependencies``, ``auxiliary``, ``xrefs``, and ``includes``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeRef = { 12 | Derived: 'derived', 13 | Dependencies: 'dependencies', 14 | Auxiliary: 'auxiliary', 15 | Xrefs: 'xrefs', 16 | Includes: 'includes' 17 | } as const; 18 | 19 | export type TypeRef = typeof TypeRef[keyof typeof TypeRef]; 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /datamanagement/source/model/typeVersion.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The type of the resource. Possible values are ``versions``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const TypeVersion = { 12 | Versions: 'versions' 13 | } as const; 14 | 15 | export type TypeVersion = typeof TypeVersion[keyof typeof TypeVersion]; 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/model/versionDataRelationshipsDownloadFormats.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLinksRelated } from './jsonApiLinksRelated'; 5 | 6 | /** 7 | * Contains the endpoint you can use to find out what formats the version can be downloaded as. 8 | * @export 9 | * @interface VersionDataRelationshipsDownloadFormats 10 | */ 11 | export interface VersionDataRelationshipsDownloadFormats { 12 | /** 13 | * 14 | * @type {JsonApiLinksRelated} 15 | * @memberof VersionDataRelationshipsDownloadFormats 16 | */ 17 | 'links'?: JsonApiLinksRelated; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/versionDataRelationshipsItem.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JsonApiLinksRelated } from './jsonApiLinksRelated'; 5 | import { JsonApiTypeId } from './jsonApiTypeId'; 6 | 7 | /** 8 | * Contains information about the item this is a version of. 9 | * @export 10 | * @interface VersionDataRelationshipsItem 11 | */ 12 | export interface VersionDataRelationshipsItem { 13 | /** 14 | * 15 | * @type {JsonApiLinksRelated} 16 | * @memberof VersionDataRelationshipsItem 17 | */ 18 | 'links'?: JsonApiLinksRelated; 19 | /** 20 | * 21 | * @type {JsonApiTypeId} 22 | * @memberof VersionDataRelationshipsItem 23 | */ 24 | 'data'?: JsonApiTypeId; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /datamanagement/source/model/versionPayloadDataRelationshipsItem.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { VersionPayloadDataRelationshipsItemData } from './versionPayloadDataRelationshipsItemData'; 5 | 6 | /** 7 | * Contains information about the item this is a version of. 8 | * @export 9 | * @interface VersionPayloadDataRelationshipsItem 10 | */ 11 | export interface VersionPayloadDataRelationshipsItem { 12 | /** 13 | * 14 | * @type {VersionPayloadDataRelationshipsItemData} 15 | * @memberof VersionPayloadDataRelationshipsItem 16 | */ 17 | 'data': VersionPayloadDataRelationshipsItemData; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/versionPayloadDataRelationshipsItemData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { TypeItem } from './typeItem'; 5 | 6 | /** 7 | * A container of data on the item. 8 | * @export 9 | * @interface VersionPayloadDataRelationshipsItemData 10 | */ 11 | export interface VersionPayloadDataRelationshipsItemData { 12 | /** 13 | * 14 | * @type {TypeItem} 15 | * @memberof VersionPayloadDataRelationshipsItemData 16 | */ 17 | 'type': TypeItem; 18 | /** 19 | * The ID that uniquely identifies the item. 20 | * @type {string} 21 | * @memberof VersionPayloadDataRelationshipsItemData 22 | */ 23 | 'id': string; 24 | } 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /datamanagement/source/model/versionPayloadDataRelationshipsRefs.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { VersionPayloadDataRelationshipsRefsData } from './versionPayloadDataRelationshipsRefsData'; 5 | 6 | /** 7 | * Information on other resources that will share a custom relationship with the version being created. 8 | * @export 9 | * @interface VersionPayloadDataRelationshipsRefs 10 | */ 11 | export interface VersionPayloadDataRelationshipsRefs { 12 | /** 13 | * An array of object, where each object represents a reference. 14 | * @type {Array} 15 | * @memberof VersionPayloadDataRelationshipsRefs 16 | */ 17 | 'data': Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/versionPayloadDataRelationshipsRefsDataMetaExtensionData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { NestedXref } from './nestedXref'; 5 | 6 | /** 7 | * 8 | * @export 9 | * @interface VersionPayloadDataRelationshipsRefsDataMetaExtensionData 10 | */ 11 | export interface VersionPayloadDataRelationshipsRefsDataMetaExtensionData { 12 | /** 13 | * 14 | * @type {NestedXref} 15 | * @memberof VersionPayloadDataRelationshipsRefsDataMetaExtensionData 16 | */ 17 | 'nestedType': NestedXref; 18 | } 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /datamanagement/source/model/versionPayloadDataRelationshipsStorage.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { VersionPayloadDataRelationshipsStorageData } from './versionPayloadDataRelationshipsStorageData'; 5 | 6 | /** 7 | * Contains the information about the storage location that contains the binary data of this version. 8 | * @export 9 | * @interface VersionPayloadDataRelationshipsStorage 10 | */ 11 | export interface VersionPayloadDataRelationshipsStorage { 12 | /** 13 | * 14 | * @type {VersionPayloadDataRelationshipsStorageData} 15 | * @memberof VersionPayloadDataRelationshipsStorage 16 | */ 17 | 'data': VersionPayloadDataRelationshipsStorageData; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /datamanagement/source/model/versionPayloadDataRelationshipsStorageData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { TypeObject } from './typeObject'; 5 | 6 | /** 7 | * A container of data on the storage location. 8 | * @export 9 | * @interface VersionPayloadDataRelationshipsStorageData 10 | */ 11 | export interface VersionPayloadDataRelationshipsStorageData { 12 | /** 13 | * 14 | * @type {TypeObject} 15 | * @memberof VersionPayloadDataRelationshipsStorageData 16 | */ 17 | 'type': TypeObject; 18 | /** 19 | * The ID that uniquely identifies the storage location. 20 | * @type {string} 21 | * @memberof VersionPayloadDataRelationshipsStorageData 22 | */ 23 | 'id': string; 24 | } 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /datamanagement/source/model/webViewLink.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * An object containing a link that opens the resource in a browser. 7 | * @export 8 | * @interface WebViewLink 9 | */ 10 | export interface WebViewLink { 11 | /** 12 | * The location (URL) of the resource the link points to. 13 | * @type {string} 14 | * @memberof WebViewLink 15 | */ 16 | 'href': string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /datamanagement/source/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "esnext", 5 | "outDir": "dist/esm" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /datamanagement/source/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declaration": true, 4 | "target": "ES6", 5 | "module": "commonjs", 6 | "noImplicitAny": true, 7 | "outDir": "dist", 8 | "rootDir": ".", 9 | "moduleResolution": "node", 10 | "typeRoots": [ 11 | "node_modules/@types" 12 | ], 13 | "forceConsistentCasingInFileNames": true, 14 | }, 15 | "exclude": [ 16 | "dist", 17 | "node_modules" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /modelderivative/source/.gitignore: -------------------------------------------------------------------------------- 1 | wwwroot/*.js 2 | node_modules 3 | typings 4 | dist 5 | -------------------------------------------------------------------------------- /modelderivative/source/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .gitignore 3 | .npmignore 4 | tsconfig.json 5 | tsconfig.esm.json -------------------------------------------------------------------------------- /modelderivative/source/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": true, 3 | "trailingComma": "none", 4 | "singleQuote": true, 5 | "printWidth": 80 6 | } -------------------------------------------------------------------------------- /modelderivative/source/README.md: -------------------------------------------------------------------------------- 1 | # APS SDK for Model Derivative 2 | 3 | [![npm](https://img.shields.io/badge/npm-8.11-blue.svg)](https://www.npmjs.com/) 4 | [![License Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE) 5 | 6 | Derive outputs viewable by the Viewer from more than 60 CAD file formats and extract metadata about the model as well as the individual objects within the model. 7 | For further information see [Documentation](https://aps.autodesk.com/en/docs/model-derivative/v2/developers_guide/overview) 8 | 9 | ## Installation 10 | ``` 11 | npm i @aps_sdk/model-derivative 12 | ``` 13 | ## Example 14 | 15 | For usage, see [Model Derivative sample](https://github.com/autodesk-platform-services/aps-sdk-node/blob/main/samples/modelderivative.ts) 16 | 17 | -------------------------------------------------------------------------------- /modelderivative/source/api.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | export * from './api/derivativesApi'; 6 | export * from './api/informationalApi'; 7 | export * from './api/jobsApi'; 8 | export * from './api/manifestApi'; 9 | export * from './api/metadataApi'; 10 | export * from './api/thumbnailsApi'; 11 | 12 | -------------------------------------------------------------------------------- /modelderivative/source/custom-code/index.ts: -------------------------------------------------------------------------------- 1 | export * from './modelDerivativeClient'; -------------------------------------------------------------------------------- /modelderivative/source/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | export * from "./api"; 5 | export * from "./base"; 6 | export * from "./model"; 7 | export * from "./custom-code"; -------------------------------------------------------------------------------- /modelderivative/source/model/applicationProtocol.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Specifies the application protocol to use when the output type is STEP. Possible values are: - ``203`` - Configuration controlled design. - ``214`` - (Default) Core data for automotive mechanical design processes. - ``242`` - Managed model based 3D engineering. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const ApplicationProtocol = { 12 | _203: '203', 13 | _214: '214', 14 | _242: '242' 15 | } as const; 16 | 17 | export type ApplicationProtocol = typeof ApplicationProtocol[keyof typeof ApplicationProtocol]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /modelderivative/source/model/beginsWith.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Use this to retrieve only the properties of objects with names begining with a specified string. 7 | * @export 8 | * @interface BeginsWith 9 | */ 10 | export interface BeginsWith { 11 | /** 12 | * Returns only the objects with their ``name`` attribute beginning with the specified string. The first element of the array contains the name of the attribute to match (``name``). The second element contains the string to match. The array can have only two elements. Only the objects whose name begin with the specified string are returned. 13 | * @type {Array} 14 | * @memberof BeginsWith 15 | */ 16 | '$prefix': Array; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /modelderivative/source/model/buildingStoreys.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Specifies how storeys are translated. Applicable only when the source design is of type IFC. Possible values are: - ``hide`` - (Default) Storeys are translated but not visible by default. - ``show`` - Storeys are translated and are visible by default. - ``skip`` - Storeys are not translated. **Note:** These options are applicable only when ``conversionMethod`` is set to ``modern`` or ``v3``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const BuildingStoreys = { 12 | Hide: 'hide', 13 | Show: 'show', 14 | Skip: 'skip' 15 | } as const; 16 | 17 | export type BuildingStoreys = typeof BuildingStoreys[keyof typeof BuildingStoreys]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /modelderivative/source/model/deleteManifest.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * An object that represents the successful response of a Delete Manifest operation. 7 | * @export 8 | * @interface DeleteManifest 9 | */ 10 | export interface DeleteManifest { 11 | /** 12 | * A message describing outcome of the operation. Always ``success`` for status ``200``. 13 | * @type {string} 14 | * @memberof DeleteManifest 15 | */ 16 | 'result'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /modelderivative/source/model/exportFileStructure.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Specifies the structure of the derivative, when the specified output is STL. Possible values are: - ``single`` (Default) Create one STL file for all the input files (assembly file). - ``multiple``: Create a separate STL file for each object 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const ExportFileStructure = { 12 | Single: 'single', 13 | Multiple: 'multiple' 14 | } as const; 15 | 16 | export type ExportFileStructure = typeof ExportFileStructure[keyof typeof ExportFileStructure]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /modelderivative/source/model/format.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Specifies the format of the file to create, when the specified output is STL. Possible values are: - ``ascii`` - Create derivative as an ASCII STL file. - ``binary`` - (Default) Create derivative as a binary STL file. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const Format = { 12 | Binary: 'binary', 13 | Ascii: 'ascii' 14 | } as const; 15 | 16 | export type Format = typeof Format[keyof typeof Format]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /modelderivative/source/model/height.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Height of thumbnails. Possible values are: ``100``, ``200``, ``400``.If ``height`` is omitted, but ``width`` is specified, ``height`` defaults to ``width``. If both ``width`` and ``height`` are omitted, the server will return a thumbnail closest to ``200``, if such a thumbnail is available 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const Height = { 12 | NUMBER_100: 100, 13 | NUMBER_200: 200, 14 | NUMBER_400: 400 15 | } as const; 16 | 17 | export type Height = typeof Height[keyof typeof Height]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /modelderivative/source/model/job.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JobAcceptedJobs } from './jobAcceptedJobs'; 5 | 6 | /** 7 | * An object that represents the successful response of a Create Translation Job operation. 8 | * @export 9 | * @interface Job 10 | */ 11 | export interface Job { 12 | /** 13 | * reporting success status 14 | * @type {string} 15 | * @memberof Job 16 | */ 17 | 'result': string; 18 | /** 19 | * the urn identifier of the source file 20 | * @type {string} 21 | * @memberof Job 22 | */ 23 | 'urn': string; 24 | /** 25 | * 26 | * @type {JobAcceptedJobs} 27 | * @memberof Job 28 | */ 29 | 'acceptedJobs': JobAcceptedJobs; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobAcceptedJobs.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * List of the requested outputs. 7 | * @export 8 | * @interface JobAcceptedJobs 9 | */ 10 | export interface JobAcceptedJobs { 11 | /** 12 | * Identical to the ``output`` object of the request body. For information on each attribute, see the request body structure description. 13 | * @type {object} 14 | * @memberof JobAcceptedJobs 15 | */ 16 | 'output': object; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobPayloadFormatAdvancedDWG.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * An object that contains advanced options for an DWG output. 7 | * @export 8 | * @interface JobPayloadFormatAdvancedDWG 9 | */ 10 | export interface JobPayloadFormatAdvancedDWG { 11 | /** 12 | * The export settings should be one of the DWG Export settings pre-saved in the source design. 13 | * @type {string} 14 | * @memberof JobPayloadFormatAdvancedDWG 15 | */ 16 | 'exportSettingName'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobPayloadFormatAdvancedIFC.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * An object that contains advanced options for an IFC output. 7 | * @export 8 | * @interface JobPayloadFormatAdvancedIFC 9 | */ 10 | export interface JobPayloadFormatAdvancedIFC { 11 | /** 12 | * The export settings should be one of the IFC Export settings pre-saved in the source design. 13 | * @type {string} 14 | * @memberof JobPayloadFormatAdvancedIFC 15 | */ 16 | 'exportSettingName'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobPayloadFormatAdvancedThumbnail.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { Height } from './height'; 5 | import { Width } from './width'; 6 | 7 | /** 8 | * An object that contains advanced options for a thumbnail output. 9 | * @export 10 | * @interface JobPayloadFormatAdvancedThumbnail 11 | */ 12 | export interface JobPayloadFormatAdvancedThumbnail { 13 | /** 14 | * 15 | * @type {Width} 16 | * @memberof JobPayloadFormatAdvancedThumbnail 17 | */ 18 | 'width'?: Width; 19 | /** 20 | * 21 | * @type {Height} 22 | * @memberof JobPayloadFormatAdvancedThumbnail 23 | */ 24 | 'height'?: Height; 25 | } 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobPayloadFormatDWG.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JobPayloadFormatAdvancedDWG } from './jobPayloadFormatAdvancedDWG'; 5 | import { OutputType } from './outputType'; 6 | 7 | /** 8 | * Options for DWG outputs. 9 | * @export 10 | * @interface JobPayloadFormatDWG 11 | */ 12 | export interface JobPayloadFormatDWG { 13 | /** 14 | * 15 | * @type {OutputType.Dwg} 16 | * @memberof JobPayloadFormatDWG 17 | */ 18 | 'type': typeof OutputType.Dwg; 19 | /** 20 | * 21 | * @type {JobPayloadFormatAdvancedDWG} 22 | * @memberof JobPayloadFormatDWG 23 | */ 24 | 'advanced'?: JobPayloadFormatAdvancedDWG; 25 | } 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobPayloadFormatIFC.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JobPayloadFormatAdvancedIFC } from './jobPayloadFormatAdvancedIFC'; 5 | import { OutputType } from './outputType'; 6 | 7 | /** 8 | * Options for IFC outputs. 9 | * @export 10 | * @interface JobPayloadFormatIFC 11 | */ 12 | export interface JobPayloadFormatIFC { 13 | /** 14 | * 15 | * @type {OutputType.Ifc} 16 | * @memberof JobPayloadFormatIFC 17 | */ 18 | 'type': typeof OutputType.Ifc; 19 | /** 20 | * 21 | * @type {JobPayloadFormatAdvancedIFC} 22 | * @memberof JobPayloadFormatIFC 23 | */ 24 | 'advanced'?: JobPayloadFormatAdvancedIFC; 25 | } 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobPayloadFormatIGES.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JobPayloadFormatAdvancedIGES } from './jobPayloadFormatAdvancedIGES'; 5 | import { OutputType } from './outputType'; 6 | 7 | /** 8 | * Options for IGES outputs. 9 | * @export 10 | * @interface JobPayloadFormatIGES 11 | */ 12 | export interface JobPayloadFormatIGES { 13 | /** 14 | * 15 | * @type {OutputType.Iges} 16 | * @memberof JobPayloadFormatIGES 17 | */ 18 | 'type':typeof OutputType.Iges; 19 | /** 20 | * 21 | * @type {JobPayloadFormatAdvancedIGES} 22 | * @memberof JobPayloadFormatIGES 23 | */ 24 | 'advanced'?: JobPayloadFormatAdvancedIGES; 25 | } 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobPayloadFormatOBJ.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JobPayloadFormatAdvancedOBJ } from './jobPayloadFormatAdvancedOBJ'; 5 | import { OutputType } from './outputType'; 6 | 7 | /** 8 | * Options for OBJ outputs. 9 | * @export 10 | * @interface JobPayloadFormatOBJ 11 | */ 12 | export interface JobPayloadFormatOBJ { 13 | /** 14 | * 15 | * @type {OutputType.Obj} 16 | * @memberof JobPayloadFormatOBJ 17 | */ 18 | 'type': typeof OutputType.Obj; 19 | /** 20 | * 21 | * @type {JobPayloadFormatAdvancedOBJ} 22 | * @memberof JobPayloadFormatOBJ 23 | */ 24 | 'advanced'?: JobPayloadFormatAdvancedOBJ; 25 | } 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobPayloadFormatSTEP.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JobPayloadFormatAdvancedSTEP } from './jobPayloadFormatAdvancedSTEP'; 5 | import { OutputType } from './outputType'; 6 | 7 | /** 8 | * Options for STEP outputs. 9 | * @export 10 | * @interface JobPayloadFormatSTEP 11 | */ 12 | export interface JobPayloadFormatSTEP { 13 | /** 14 | * 15 | * @type {OutputType.Step} 16 | * @memberof JobPayloadFormatSTEP 17 | */ 18 | 'type': typeof OutputType.Step; 19 | /** 20 | * 21 | * @type {JobPayloadFormatAdvancedSTEP} 22 | * @memberof JobPayloadFormatSTEP 23 | */ 24 | 'advanced'?: JobPayloadFormatAdvancedSTEP; 25 | } 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobPayloadFormatSTL.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { JobPayloadFormatAdvancedSTL } from './jobPayloadFormatAdvancedSTL'; 5 | import { OutputType } from './outputType'; 6 | 7 | /** 8 | * Options for STL outputs. 9 | * @export 10 | * @interface JobPayloadFormatSTL 11 | */ 12 | export interface JobPayloadFormatSTL { 13 | /** 14 | * 15 | * @type {OutputType.Stl} 16 | * @memberof JobPayloadFormatSTL 17 | */ 18 | 'type': typeof OutputType.Stl; 19 | /** 20 | * 21 | * @type {JobPayloadFormatAdvancedSTL} 22 | * @memberof JobPayloadFormatSTL 23 | */ 24 | 'advanced'?: JobPayloadFormatAdvancedSTL; 25 | } 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobPayloadFormatSVF2AdvancedDGN.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Advanced options for DGN inputs. 7 | * @export 8 | * @interface JobPayloadFormatSVF2AdvancedDGN 9 | */ 10 | export interface JobPayloadFormatSVF2AdvancedDGN { 11 | /** 12 | * An array containing user data linkage IDs of the linkage data to be extracted from the DGN file. Linkage data is not extracted if you do not specify this attribute. 13 | * @type {Array} 14 | * @memberof JobPayloadFormatSVF2AdvancedDGN 15 | */ 16 | 'requestedLinkageIDs'?: Array; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobPayloadFormatSVF2AdvancedDWG.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { Model2dView } from './model2dView'; 5 | 6 | /** 7 | * Advanced options for DWG inputs. 8 | * @export 9 | * @interface JobPayloadFormatSVF2AdvancedDWG 10 | */ 11 | export interface JobPayloadFormatSVF2AdvancedDWG { 12 | /** 13 | * 14 | * @type {Model2dView} 15 | * @memberof JobPayloadFormatSVF2AdvancedDWG 16 | */ 17 | '2dviews'?: Model2dView; 18 | } 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobPayloadFormatSVF2AdvancedVUE.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { Hierarchy } from './hierarchy'; 5 | 6 | /** 7 | * Advanced options for VUE inputs. 8 | * @export 9 | * @interface JobPayloadFormatSVF2AdvancedVUE 10 | */ 11 | export interface JobPayloadFormatSVF2AdvancedVUE { 12 | /** 13 | * 14 | * @type {Hierarchy} 15 | * @memberof JobPayloadFormatSVF2AdvancedVUE 16 | */ 17 | 'hierarchy'?: Hierarchy; 18 | } 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobPayloadFormatSVFAdvancedDGN.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Advanced options for DGN inputs. 7 | * @export 8 | * @interface JobPayloadFormatSVFAdvancedDGN 9 | */ 10 | export interface JobPayloadFormatSVFAdvancedDGN { 11 | /** 12 | * An array containing user data linkage IDs of the linkage data to be extracted from the DGN file. Linkage data is not extracted if you do not specify this attribute. 13 | * @type {Array} 14 | * @memberof JobPayloadFormatSVFAdvancedDGN 15 | */ 16 | 'requestedLinkageIDs'?: Array; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobPayloadFormatSVFAdvancedDWG.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { Model2dView } from './model2dView'; 5 | 6 | /** 7 | * Advanced options for DWG inputs. 8 | * @export 9 | * @interface JobPayloadFormatSVFAdvancedDWG 10 | */ 11 | export interface JobPayloadFormatSVFAdvancedDWG { 12 | /** 13 | * 14 | * @type {Model2dView} 15 | * @memberof JobPayloadFormatSVFAdvancedDWG 16 | */ 17 | '2dviews'?: Model2dView; 18 | } 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /modelderivative/source/model/jobPayloadFormatSVFAdvancedVUE.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { Hierarchy } from './hierarchy'; 5 | 6 | /** 7 | * Advanced options for VUE inputs. 8 | * @export 9 | * @interface JobPayloadFormatSVFAdvancedVUE 10 | */ 11 | export interface JobPayloadFormatSVFAdvancedVUE { 12 | /** 13 | * 14 | * @type {Hierarchy} 15 | * @memberof JobPayloadFormatSVFAdvancedVUE 16 | */ 17 | 'hierarchy'?: Hierarchy; 18 | } 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /modelderivative/source/model/materialMode.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Specifies the materials to apply to the generated SVF derivatives. Applicable only when the source design is of type RVT. Possible values are: - ``auto`` - (Default) Use the current setting of the default view of the input file. - ``basic`` - Use basic materials. - ``autodesk`` - Use Autodesk materials. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const MaterialMode = { 12 | Auto: 'auto', 13 | Basic: 'basic', 14 | Autodesk: 'autodesk' 15 | } as const; 16 | 17 | export type MaterialMode = typeof MaterialMode[keyof typeof MaterialMode]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /modelderivative/source/model/model2dView.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The format that 2D views must be rendered to. Possible values are: - ``legacy`` - (Default) Render to a model derivative specific file format. - ``pdf`` - Render to the PDF file format. When the source design is of type Revit, applies only to Revit 2022 files and newer. If the source design is of type DWG, only properties with semantic values are extracted. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const Model2dView = { 12 | Legacy: 'legacy', 13 | Pdf: 'pdf' 14 | } as const; 15 | 16 | export type Model2dView = typeof Model2dView[keyof typeof Model2dView]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /modelderivative/source/model/modelViews.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ModelViewsData } from './modelViewsData'; 5 | 6 | /** 7 | * An object that represents the successful response of a List Model Views operation. 8 | * @export 9 | * @interface ModelViews 10 | */ 11 | export interface ModelViews { 12 | /** 13 | * 14 | * @type {ModelViewsData} 15 | * @memberof ModelViews 16 | */ 17 | 'data': ModelViewsData; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /modelderivative/source/model/modelViewsData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ModelViewsDataMetadata } from './modelViewsDataMetadata'; 5 | 6 | /** 7 | * An envelope that contains the return data. 8 | * @export 9 | * @interface ModelViewsData 10 | */ 11 | export interface ModelViewsData { 12 | /** 13 | * The type of data that is returned. 14 | * @type {string} 15 | * @memberof ModelViewsData 16 | */ 17 | 'type': string; 18 | /** 19 | * An array of objects, where each object represents a Model View. 20 | * @type {Array} 21 | * @memberof ModelViewsData 22 | */ 23 | 'metadata': Array; 24 | } 25 | 26 | -------------------------------------------------------------------------------- /modelderivative/source/model/objectTreeData.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ObjectTreeDataObjects } from './objectTreeDataObjects'; 5 | 6 | /** 7 | * Envelope that contains the returned data. 8 | * @export 9 | * @interface ObjectTreeData 10 | */ 11 | export interface ObjectTreeData { 12 | /** 13 | * The type of data that is returned. Always ``objects``. 14 | * @type {string} 15 | * @memberof ObjectTreeData 16 | */ 17 | 'type': string; 18 | /** 19 | * Collection of \"objects\" that constitute the nodes of the object tree. 20 | * @type {Array} 21 | * @memberof ObjectTreeData 22 | */ 23 | 'objects': Array; 24 | } 25 | 26 | -------------------------------------------------------------------------------- /modelderivative/source/model/outputType.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The requested output types. Possible values include `svf`, `svf2`, `thumbnail`, `stl`, `step`, `iges`, `obj`, `ifc` or `dwg`. For a list of supported types, call the [GET formats](/en/docs/model-derivative/v2/reference/http/formats-GET) endpoint. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const OutputType = { 12 | Svf: 'svf', 13 | Svf2: 'svf2', 14 | Thumbnail: 'thumbnail', 15 | Stl: 'stl', 16 | Step: 'step', 17 | Iges: 'iges', 18 | Obj: 'obj', 19 | Ifc: 'ifc', 20 | Dwg: 'dwg', 21 | Fbx: 'fbx' 22 | } as const; 23 | 24 | export type OutputType = typeof OutputType[keyof typeof OutputType]; 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /modelderivative/source/model/region.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Specifies where the referenced files are stored. Possible values are: - ``US`` - Data center for the US region. - ``EMEA`` - Data center for the European Union, Middle East, and Africa. - ``AUS`` - (Beta) Data centre for the Australia region. **Note**: Beta features are subject to change. Please avoid using them in production environments. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const Region = { 12 | Us: 'US', 13 | Emea: 'EMEA', 14 | /** 15 | * @deprecated Please use AUS instead. 16 | */ 17 | Apac: 'APAC', 18 | Aus: 'AUS' 19 | } as const; 20 | 21 | export type Region = typeof Region[keyof typeof Region]; 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /modelderivative/source/model/role.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Specifies the type of a Model View. Possible values are: ``2d``, ``3d``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const Role = { 12 | _2d: '2d', 13 | _3d: '3d' 14 | } as const; 15 | 16 | export type Role = typeof Role[keyof typeof Role]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /modelderivative/source/model/sheetType.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The sheet body type to export as, when the output is IGES. Possible values are: - ``open`` - ``shell`` - ``surface`` - (Default) - ``wireframe`` 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const SheetType = { 12 | Open: 'open', 13 | Surface: 'surface', 14 | Shell: 'shell', 15 | Wireframe: 'wireframe' 16 | } as const; 17 | 18 | export type SheetType = typeof SheetType[keyof typeof SheetType]; 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /modelderivative/source/model/solidType.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The solid body type to export as, when the output is IGES. Possible values are: - ``solid`` - (Default) - ``surface`` - ``wireframe`` 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const SolidType = { 12 | Solid: 'solid', 13 | Surface: 'surface', 14 | Wireframe: 'wireframe' 15 | } as const; 16 | 17 | export type SolidType = typeof SolidType[keyof typeof SolidType]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /modelderivative/source/model/spaces.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Specifies how spaces are translated. Applicable only when the source design is of type IFC. Possible values are: - ``hide`` - (Default) spaces are translated but are not visible by default. - ``show`` - Spaces are translated and are visible by default. - ``skip`` - Spaces are not translated. **Note:** These options are applicable only when ``conversionMethod`` is set to ``modern`` or ``v3``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const Spaces = { 12 | Hide: 'hide', 13 | Show: 'show', 14 | Skip: 'skip' 15 | } as const; 16 | 17 | export type Spaces = typeof Spaces[keyof typeof Spaces]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /modelderivative/source/model/specificPropertiesPayloadQuery.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { BeginsWith } from './beginsWith'; 5 | import { Between } from './between'; 6 | import { Contains } from './contains'; 7 | import { EqualsTo } from './equalsTo'; 8 | import { GreaterThan } from './greaterThan'; 9 | import { LessThan } from './lessThan'; 10 | import { MatchId } from './matchId'; 11 | 12 | /** 13 | * @type SpecificPropertiesPayloadQuery 14 | * Specifies what objects to query. Contains the parameters to pass to the search service. You can use one of the following forms: 15 | * @export 16 | */ 17 | export type SpecificPropertiesPayloadQuery = BeginsWith | Between | Contains | EqualsTo | GreaterThan | LessThan | MatchId; 18 | 19 | 20 | -------------------------------------------------------------------------------- /modelderivative/source/model/specifyReferences.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * An object that represents the successful response of a Specify References operation. 7 | * @export 8 | * @interface SpecifyReferences 9 | */ 10 | export interface SpecifyReferences { 11 | /** 12 | * The result of the operation. Always ``success`` for status ``200``. 13 | * @type {string} 14 | * @memberof SpecifyReferences 15 | */ 16 | 'result'?: string; 17 | /** 18 | * The URN of the top level component. 19 | * @type {string} 20 | * @memberof SpecifyReferences 21 | */ 22 | 'urn': string; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /modelderivative/source/model/supportedFormats.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * An object that represents the successful response of a List Supported Formats operation. 7 | * @export 8 | * @interface SupportedFormats 9 | */ 10 | export interface SupportedFormats { 11 | /** 12 | * A dictionary object that contains a collection of key-value pairs, where each pair represents the target file format and the corresponding source file formats. 13 | * @type {{ [key: string]: Array; }} 14 | * @memberof SupportedFormats 15 | */ 16 | 'formats'?: { [key: string]: Array; }; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /modelderivative/source/model/surfaceType.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Specifies the surface type to export as, when the output is IGES. Possible values are - ``bounded`` - (Default) Bounded surface - ``trimmed`` - Trimmed surface - `wireframe`. Wireframe surface.\' 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const SurfaceType = { 12 | Bounded: 'bounded', 13 | Trimmed: 'trimmed', 14 | Wireframe: 'wireframe' 15 | } as const; 16 | 17 | export type SurfaceType = typeof SurfaceType[keyof typeof SurfaceType]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /modelderivative/source/model/view.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Required options for SVF type. Possible values are ``2d`` and ``3d``. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const View = { 12 | _2d: '2d', 13 | _3d: '3d' 14 | } as const; 15 | 16 | export type View = typeof View[keyof typeof View]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /modelderivative/source/model/width.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Width of thumbnail in pixels. Possible values are: ``100``, ``200``, ``400`` If ``width`` is omitted, but ``height`` is specified, ``width`` defaults to ``height``. If both ``width`` and ``height`` are omitted, the server will return a thumbnail closest to ``200``, if such a thumbnail is available. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const Width = { 12 | NUMBER_100: 100, 13 | NUMBER_200: 200, 14 | NUMBER_400: 400 15 | } as const; 16 | 17 | export type Width = typeof Width[keyof typeof Width]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /modelderivative/source/model/xadsDerivativeFormat.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Specifies what Object IDs to return, if the design has legacy SVF derivatives generated by the BIM Docs service. Possible values are: - ``latest`` - (Default) Return SVF2 Object IDs. - ``fallback`` - Return SVF Object IDs. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const XAdsDerivativeFormat = { 12 | Latest: 'latest', 13 | Fallback: 'fallback' 14 | } as const; 15 | 16 | export type XAdsDerivativeFormat = typeof XAdsDerivativeFormat[keyof typeof XAdsDerivativeFormat]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /modelderivative/source/model/xadsJobStatus.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The execution status of the translation job. Possible values are: ``inprogress``, ``success``, ``failed``, ``timedout`` 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const XAdsJobStatus = { 12 | Inprogress: 'inprogress', 13 | Success: 'success', 14 | Failed: 'failed', 15 | Timedout: 'timedout' 16 | } as const; 17 | 18 | export type XAdsJobStatus = typeof XAdsJobStatus[keyof typeof XAdsJobStatus]; 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /modelderivative/source/model/xadsRole.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The source of the thumbnail: Possible values are: - ``rendered`` - Generated pursuant to this API call - ``extracted`` - Obtained from the original design file\' 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const XAdsRole = { 12 | Rendered: 'rendered', 13 | Extracted: 'extracted' 14 | } as const; 15 | 16 | export type XAdsRole = typeof XAdsRole[keyof typeof XAdsRole]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /modelderivative/source/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "esnext", 5 | "outDir": "dist/esm" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /modelderivative/source/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declaration": true, 4 | "target": "ES6", 5 | "module": "commonjs", 6 | "noImplicitAny": true, 7 | "outDir": "dist", 8 | "rootDir": ".", 9 | "moduleResolution": "node", 10 | "typeRoots": [ 11 | "node_modules/@types" 12 | ], 13 | "forceConsistentCasingInFileNames": true 14 | }, 15 | "exclude": [ 16 | "dist", 17 | "node_modules" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /oss/source/.gitignore: -------------------------------------------------------------------------------- 1 | wwwroot/*.js 2 | node_modules 3 | typings 4 | -------------------------------------------------------------------------------- /oss/source/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .gitignore 3 | .npmignore 4 | tsconfig.json 5 | tsconfig.esm.json -------------------------------------------------------------------------------- /oss/source/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": true, 3 | "trailingComma": "none", 4 | "singleQuote": true, 5 | "printWidth": 80 6 | } -------------------------------------------------------------------------------- /oss/source/README.md: -------------------------------------------------------------------------------- 1 | ## APS SDK for Data Management OSS 2 | 3 | [![npm](https://img.shields.io/badge/npm-8.11-blue.svg)](https://www.npmjs.com/) 4 | [![License Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/autodesk-platform-services/aps-sdk-node/blob/development/LICENSE) 5 | 6 | Access data using the Object Storage Service to build apps to display and extend your data in ways that add value to your users. 7 | For further information see [Documentation](https://aps.autodesk.com/en/docs/data/v2/developers_guide/overview) 8 | 9 | ## Installation 10 | ``` 11 | npm i @aps_sdk/oss 12 | ``` 13 | ## Example 14 | 15 | For usage, see [OSS sample](https://github.com/autodesk-platform-services/aps-sdk-node/blob/main/samples/oss.ts) 16 | 17 | 18 | -------------------------------------------------------------------------------- /oss/source/api.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | export * from "./api/bucketsApi" 6 | export * from "./api/objectsApi" 7 | 8 | -------------------------------------------------------------------------------- /oss/source/custom-code/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./ossFileTransfer"; 2 | export * from "./fileTransferConfigurations"; 3 | export * from "./ossClient"; -------------------------------------------------------------------------------- /oss/source/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | export * from "./api"; 5 | export * from "./base"; 6 | export * from "./model"; 7 | export * from "./custom-code"; -------------------------------------------------------------------------------- /oss/source/model/access.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Access for signed resource Possible values: read, write, readwrite Default value: read 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const Access = { 12 | Read: 'Read', 13 | Write: 'Write', 14 | ReadWrite: 'ReadWrite' 15 | } as const; 16 | 17 | export type Access = typeof Access[keyof typeof Access]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /oss/source/model/batchcompleteuploadObject.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { BatchcompleteuploadObjectRequests } from './batchcompleteuploadObjectRequests'; 5 | 6 | /** 7 | * The request payload for the Complete Batch Upload to S3 Signed URLs operation. 8 | * @export 9 | * @interface BatchcompleteuploadObject 10 | */ 11 | export interface BatchcompleteuploadObject { 12 | /** 13 | * An array of objects, each of which represents an upload to complete. 14 | * @type {Array} 15 | * @memberof BatchcompleteuploadObject 16 | */ 17 | 'requests': Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /oss/source/model/batchcompleteuploadResponse.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { BatchCompletedResults } from './batchCompletedResults'; 5 | 6 | /** 7 | * The response to a Complete Batch Upload to S3 Signed URLs operation. 8 | * @export 9 | * @interface BatchcompleteuploadResponse 10 | */ 11 | export interface BatchcompleteuploadResponse { 12 | /** 13 | * A map of the returned results; each key in the map corresponds to an object key in the batch, and the value includes the results for that object. 14 | * @type {{ [key: string]: BatchCompletedResults; }} 15 | * @memberof BatchcompleteuploadResponse 16 | */ 17 | 'results': { [key: string]: BatchCompletedResults; }; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /oss/source/model/batchsigneds3downloadObject.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { Batchsigneds3downloadObjectRequests } from './batchsigneds3downloadObjectRequests'; 5 | 6 | /** 7 | * The response to a Batch Generate Signed S3 Download URLs operation. 8 | * @export 9 | * @interface Batchsigneds3downloadObject 10 | */ 11 | export interface Batchsigneds3downloadObject { 12 | /** 13 | * An array where each element is an object containing information needed to generate a signed S3 download URL. 14 | * @type {Array} 15 | * @memberof Batchsigneds3downloadObject 16 | */ 17 | 'requests': Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /oss/source/model/batchsigneds3downloadResponse.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { DownloadResults } from './downloadResults'; 5 | 6 | /** 7 | * The response to a Batch Generate Signed S3 Download URLs operation. 8 | * @export 9 | * @interface Batchsigneds3downloadResponse 10 | */ 11 | export interface Batchsigneds3downloadResponse { 12 | /** 13 | * A map of the returned results; each key in the map corresponds to an object key in the batch, and the value includes the results for that object. 14 | * @type {{ [key: string]: DownloadResults; }} 15 | * @memberof Batchsigneds3downloadResponse 16 | */ 17 | 'results': { [key: string]: DownloadResults; }; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /oss/source/model/batchsigneds3uploadObject.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { Batchsigneds3uploadObjectRequests } from './batchsigneds3uploadObjectRequests'; 5 | 6 | /** 7 | * The request payload for a Batch Generate Signed S3 Upload URLs operation. 8 | * @export 9 | * @interface Batchsigneds3uploadObject 10 | */ 11 | export interface Batchsigneds3uploadObject { 12 | /** 13 | * An array where each element is an object containing information needed to generate a signed S3 upload URL. 14 | * @type {Array} 15 | * @memberof Batchsigneds3uploadObject 16 | */ 17 | 'requests': Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /oss/source/model/bucketObjects.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { ObjectDetails } from './objectDetails'; 5 | 6 | /** 7 | * An array where each element represents an object in the bucket. 8 | * @export 9 | * @interface BucketObjects 10 | */ 11 | export interface BucketObjects { 12 | /** 13 | * 14 | * @type {Array} 15 | * @memberof BucketObjects 16 | */ 17 | 'items': Array; 18 | /** 19 | * The URL to be used to retrieve the next page of results, if available. It will be present only when there are more items to be retrieved after the current set. 20 | * @type {string} 21 | * @memberof BucketObjects 22 | */ 23 | 'next'?: string; 24 | } 25 | 26 | -------------------------------------------------------------------------------- /oss/source/model/buckets.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { BucketsItems } from './bucketsItems'; 5 | 6 | /** 7 | * An object that represents a collection of buckets. 8 | * @export 9 | * @interface Buckets 10 | */ 11 | export interface Buckets { 12 | /** 13 | * Array of objects, where each object represents a bucket. 14 | * @type {Array} 15 | * @memberof Buckets 16 | */ 17 | 'items': Array; 18 | /** 19 | * The URL to be used to retrieve the next page of results, if available. It will be present only when there are more items to be retrieved after the current set. 20 | * @type {string} 21 | * @memberof Buckets 22 | */ 23 | 'next'?: string; 24 | } 25 | 26 | -------------------------------------------------------------------------------- /oss/source/model/permission.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { PermissionAccess } from './permissionAccess'; 5 | 6 | /** 7 | * An object representing the permissions for accessing a bucket. 8 | * @export 9 | * @interface Permission 10 | */ 11 | export interface Permission { 12 | /** 13 | * The Client ID of the application. 14 | * @type {string} 15 | * @memberof Permission 16 | */ 17 | 'authId'?: string; 18 | /** 19 | * 20 | * @type {PermissionAccess} 21 | * @memberof Permission 22 | */ 23 | 'access'?: PermissionAccess; 24 | } 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /oss/source/model/permissionAccess.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Specifies the level of permission the application has. Possible values are: - ``full`` - Unrestricted access to objects within the bucket. - ``read_only`` - Read only access to the objects within the bucket. Modification and deletion of objects is not allowed. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const PermissionAccess = { 12 | Full: 'full', 13 | Read: 'read' 14 | } as const; 15 | 16 | export type PermissionAccess = typeof PermissionAccess[keyof typeof PermissionAccess]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /oss/source/model/policyKey.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Specifies the retention policy for the objects stored in the bucket. Possible values are: - ``transient`` - Objects are retained for 24 hours. - ``temporary`` - Objects are retained for 30 days. - ``persistent`` - Objects are retained until they are deleted. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const PolicyKey = { 12 | Transient: 'transient', 13 | Temporary: 'temporary', 14 | Persistent: 'persistent' 15 | } as const; 16 | 17 | export type PolicyKey = typeof PolicyKey[keyof typeof PolicyKey]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /oss/source/model/reason.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * An object returned with an error describing the reason for failure. 7 | * @export 8 | * @interface Reason 9 | */ 10 | export interface Reason { 11 | /** 12 | * reason for failure 13 | * @type {string} 14 | * @memberof Reason 15 | */ 16 | 'reason': string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /oss/source/model/result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * A response returned by an Upload Object Using Signed URL operation when processing is yet to be completed. 7 | * @export 8 | * @interface Result 9 | */ 10 | export interface Result { 11 | /** 12 | * A human friendly description of the state of processing. 13 | * @type {string} 14 | * @memberof Result 15 | */ 16 | 'result': string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /oss/source/model/with.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * **Not applicable for Head operation** The optional information you can request for. To request more than one of the following, specify this parameter multiple times in the request. Possible values: - ``createdDate`` - ``lastAccessedDate`` - ``lastModifiedDate`` - ``userDefinedMetadata`` 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const With = { 12 | CreatedDate: 'createdDate', 13 | LastAccessedDate: 'lastAccessedDate', 14 | LastModifiedDate: 'lastModifiedDate', 15 | UserDefinedMetadata: 'userDefinedMetadata' 16 | } as const; 17 | 18 | export type With = typeof With[keyof typeof With]; 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /oss/source/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "esnext", 5 | "outDir": "dist/esm" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /oss/source/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declaration": true, 4 | "target": "ES6", 5 | "module": "commonjs", 6 | "noImplicitAny": true, 7 | "outDir": "dist", 8 | "rootDir": ".", 9 | "moduleResolution": "node", 10 | "typeRoots": [ 11 | "node_modules/@types" 12 | ], 13 | "forceConsistentCasingInFileNames": true, 14 | }, 15 | "exclude": [ 16 | "dist", 17 | "node_modules" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "aps-sdk-node", 3 | "lockfileVersion": 3, 4 | "requires": true, 5 | "packages": {} 6 | } 7 | -------------------------------------------------------------------------------- /samples/.gitignore: -------------------------------------------------------------------------------- 1 | wwwroot/*.js 2 | node_modules 3 | typings 4 | dist 5 | .env 6 | .vscode 7 | -------------------------------------------------------------------------------- /samples/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "samples", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "Autodesk Platform Services", 10 | "license": "Apache-2.0", 11 | "dependencies": { 12 | "@aps_sdk/authentication": "^1.0.0", 13 | "@aps_sdk/autodesk-sdkmanager": "^1.0.0", 14 | "@aps_sdk/construction-account-admin": "^1.0.0", 15 | "@aps_sdk/construction-issues": "^1.0.0", 16 | "@aps_sdk/data-management": "^1.0.1", 17 | "@aps_sdk/model-derivative": "^1.0.0", 18 | "@aps_sdk/oss": "^1.0.0", 19 | "@aps_sdk/webhooks": "^1.0.0", 20 | "dotenv": "^16.4.5" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /samples/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES2022", 4 | "module": "CommonJS", 5 | "outDir": "dist", 6 | "sourceMap": true 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /sdkmanager/src/apiResponse.ts: -------------------------------------------------------------------------------- 1 | export class ApiResponse { 2 | public content: any; 3 | public response: any; 4 | 5 | constructor(response: any, content: any) { 6 | this.response = response; 7 | this.content = content; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /sdkmanager/src/apsServiceRequestConfig.ts: -------------------------------------------------------------------------------- 1 | import { AxiosRequestConfig } from 'axios'; 2 | export interface ApsServiceRequestConfig extends AxiosRequestConfig {} 3 | -------------------------------------------------------------------------------- /sdkmanager/src/authClient.ts: -------------------------------------------------------------------------------- 1 | import { AuthClient as IAuthClient } from './iAuthClient'; 2 | 3 | export default class AuthClient implements IAuthClient { 4 | getUpdatedAccessToken(): string { 5 | throw new Error('Method not implemented.'); 6 | } 7 | getAccessToken(scopes: string): string { 8 | throw new Error('Method not implemented.'); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sdkmanager/src/authClientConfiguration.ts: -------------------------------------------------------------------------------- 1 | import { AuthClientConfiguration as IAuthClientConfiguration } from './iAuthClientConfiguration'; 2 | 3 | export class AuthClientConfiguration implements IAuthClientConfiguration {} 4 | -------------------------------------------------------------------------------- /sdkmanager/src/baseClient.ts: -------------------------------------------------------------------------------- 1 | import { IAuthenticationProvider } from './iAuthenticationProvider'; 2 | 3 | export class BaseClient { 4 | private _authenticationProvider: IAuthenticationProvider; 5 | 6 | public get authenticationProvider(): IAuthenticationProvider { 7 | return this._authenticationProvider; 8 | } 9 | 10 | public set authenticationProvider(value: IAuthenticationProvider) { 11 | this._authenticationProvider = value; 12 | } 13 | 14 | constructor(authenticationProvider?: IAuthenticationProvider) { 15 | if (authenticationProvider) { 16 | this._authenticationProvider = authenticationProvider; 17 | } 18 | } 19 | } 20 | 21 | -------------------------------------------------------------------------------- /sdkmanager/src/iApsClient.ts: -------------------------------------------------------------------------------- 1 | import { ApsService } from './apsService'; 2 | 3 | export interface ApsClient { 4 | get apsService(): ApsService; 5 | } 6 | -------------------------------------------------------------------------------- /sdkmanager/src/iApsConfiguration.ts: -------------------------------------------------------------------------------- 1 | export interface ApsConfiguration { 2 | readonly baseAddress: URL; 3 | readonly baseOptions?: any; 4 | 5 | /** 6 | * The FormData constructor that will be used to create multipart form data 7 | * requests. You can inject this here so that execution environments that 8 | * do not support the FormData class can still run the generated client. 9 | * 10 | * @type {new () => FormData} 11 | */ 12 | readonly formDataCtor?: new () => any; 13 | } 14 | -------------------------------------------------------------------------------- /sdkmanager/src/iAuthClient.ts: -------------------------------------------------------------------------------- 1 | export interface AuthClient { 2 | getAccessToken(scopes: string): string; 3 | getUpdatedAccessToken(): string; 4 | } 5 | -------------------------------------------------------------------------------- /sdkmanager/src/iAuthClientConfiguration.ts: -------------------------------------------------------------------------------- 1 | export interface AuthClientConfiguration {} 2 | -------------------------------------------------------------------------------- /sdkmanager/src/iAuthenticationProvider.ts: -------------------------------------------------------------------------------- 1 | export interface IAuthenticationProvider { 2 | getAccessToken(scopes?: string[]): Promise; 3 | } 4 | 5 | -------------------------------------------------------------------------------- /sdkmanager/src/iBuilder.ts: -------------------------------------------------------------------------------- 1 | import { IResiliencyConfiguration } from './iResiliencyConfiguration'; 2 | import { AuthClient as IAuthClient } from './iAuthClient'; 3 | import { ApsConfiguration as IApsConfiguration } from './iApsConfiguration'; 4 | import { Logger } from './logger'; 5 | import { IBuilder } from '..'; 6 | 7 | export interface Builder { 8 | addResiliencyConfiguration( 9 | resiliencyConfiguration: IResiliencyConfiguration 10 | ): IBuilder; 11 | addAuthClient(authClient: IAuthClient): IBuilder; 12 | addApsConfiguration(apsConfiguration: IApsConfiguration): IBuilder; 13 | addLogger(logger: Logger): IBuilder; 14 | } 15 | -------------------------------------------------------------------------------- /sdkmanager/src/iLogger.ts: -------------------------------------------------------------------------------- 1 | export interface ILogger { 2 | logInfo(msg: string): void; 3 | logDebug(msg: string): void; 4 | logWarn(msg: string): void; 5 | logError(msg: string): void; 6 | setEnabled(enabled: boolean): void; 7 | } 8 | -------------------------------------------------------------------------------- /sdkmanager/src/iResiliencyConfiguration.ts: -------------------------------------------------------------------------------- 1 | export interface IResiliencyConfiguration { 2 | retryCount: number; 3 | backoffInterval: number; 4 | circuitBreakerInterval: number; 5 | timeOutValue: number; 6 | } 7 | -------------------------------------------------------------------------------- /sdkmanager/src/iSdkError.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * SDK Error Interface defining the shape we expect for errors thrown from generated SDKs 3 | * that use the SDK Manager. 4 | * This allows resiliency configuration in this library to distinguish errors thrown by the generated SDK from 5 | * standard library Error instances. 6 | */ 7 | export interface ISdkError { 8 | httpStatusCode(): number | null; 9 | } 10 | -------------------------------------------------------------------------------- /sdkmanager/src/iSdkManager.ts: -------------------------------------------------------------------------------- 1 | export interface ISdkManager {} 2 | -------------------------------------------------------------------------------- /sdkmanager/src/staticAuthenticationProvider.ts: -------------------------------------------------------------------------------- 1 | import { IAuthenticationProvider } from './iAuthenticationProvider'; 2 | 3 | export class StaticAuthenticationProvider implements IAuthenticationProvider { 4 | private _accessToken: string; 5 | 6 | constructor(accessToken: string) { 7 | this._accessToken = accessToken; 8 | } 9 | 10 | public async getAccessToken(scopes?: string[]): Promise { 11 | return this._accessToken; 12 | } 13 | 14 | } -------------------------------------------------------------------------------- /sdkmanager/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "esnext", 5 | "outDir": "dist/esm" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /sdkmanager/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "ES6", 5 | "moduleResolution": "node", 6 | "declaration": true, 7 | "outDir": "./dist", 8 | "forceConsistentCasingInFileNames": true 9 | }, 10 | "include": [ 11 | "src/**/*" 12 | ], 13 | "exclude": [ 14 | "node_modules", 15 | "./dist/**/*" 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /webhooks/source/.gitignore: -------------------------------------------------------------------------------- 1 | wwwroot/*.js 2 | node_modules 3 | typings 4 | dist 5 | -------------------------------------------------------------------------------- /webhooks/source/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .gitignore 3 | .npmignore 4 | tsconfig.json 5 | tsconfig.esm.json -------------------------------------------------------------------------------- /webhooks/source/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": true, 3 | "trailingComma": "none", 4 | "singleQuote": true, 5 | "printWidth": 80 6 | } -------------------------------------------------------------------------------- /webhooks/source/README.md: -------------------------------------------------------------------------------- 1 | # APS SDK for WebHooks 2 | 3 | [![npm](https://img.shields.io/badge/npm-8.11-blue.svg)](https://www.npmjs.com/) 4 | [![License Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE) 5 | 6 | Subscribe to and receive notification of the occurrence of events within the Autodesk ecosystem. 7 | For further information see [Documentation](https://aps.autodesk.com/en/docs/webhooks/v1/developers_guide/overview) 8 | 9 | ## Installation 10 | ``` 11 | npm i @aps_sdk/webhooks 12 | ``` 13 | ## Example 14 | 15 | For usage, see [WebHooks sample](https://github.com/autodesk-platform-services/aps-sdk-node/blob/main/samples/webhooks.ts) 16 | 17 | -------------------------------------------------------------------------------- /webhooks/source/api.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | export * from './api/hooksApi'; 6 | export * from './api/tokensApi'; 7 | 8 | -------------------------------------------------------------------------------- /webhooks/source/custom-code/index.ts: -------------------------------------------------------------------------------- 1 | export * from './webhooksClient'; -------------------------------------------------------------------------------- /webhooks/source/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | export * from "./api"; 5 | export * from "./base"; 6 | export * from "./model"; 7 | export * from "./custom-code"; -------------------------------------------------------------------------------- /webhooks/source/model/hook.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { HookDetails } from './hookDetails'; 5 | 6 | /** 7 | * Contains the response to a Create Webhooks for All Events request. 8 | * @export 9 | * @interface Hook 10 | */ 11 | export interface Hook { 12 | /** 13 | * An array of objects, where each object represents a webhook that was created. 14 | * @type {Array} 15 | * @memberof Hook 16 | */ 17 | 'hooks'?: Array; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /webhooks/source/model/hooks.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | import { HookDetails } from './hookDetails'; 5 | import { HooksLinks } from './hooksLinks'; 6 | 7 | /** 8 | * A paginated list of webhooks. 9 | * @export 10 | * @interface Hooks 11 | */ 12 | export interface Hooks { 13 | /** 14 | * 15 | * @type {HooksLinks} 16 | * @memberof Hooks 17 | */ 18 | 'links'?: HooksLinks; 19 | /** 20 | * An array of objects, where each object represents a webhook. 21 | * @type {Array} 22 | * @memberof Hooks 23 | */ 24 | 'data'?: Array; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /webhooks/source/model/hooksLinks.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Contains an object with the address of the next page of the list of webhooks. 7 | * @export 8 | * @interface HooksLinks 9 | */ 10 | export interface HooksLinks { 11 | /** 12 | * Base64 encoded string to retrieve the next page of the list of webhooks. 13 | * @type {string} 14 | * @memberof HooksLinks 15 | */ 16 | 'next'?: string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /webhooks/source/model/index.ts: -------------------------------------------------------------------------------- 1 | export * from './events'; 2 | export * from './hook'; 3 | export * from './hookDetails'; 4 | export * from './hookDetailsScope'; 5 | export * from './hookPayload'; 6 | export * from './hooks'; 7 | export * from './hooksLinks'; 8 | export * from './modifyHookPayload'; 9 | export * from './region'; 10 | export * from './scopes'; 11 | export * from './sort'; 12 | export * from './status'; 13 | export * from './statusFilter'; 14 | export * from './statusRequest'; 15 | export * from './systems'; 16 | export * from './token'; 17 | export * from './tokenPayload'; 18 | export * from './xAdsRegion'; 19 | -------------------------------------------------------------------------------- /webhooks/source/model/scopes.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const Scopes = { 12 | Workflow: 'workflow', 13 | Folder: 'folder', 14 | Project: 'project' 15 | } as const; 16 | 17 | export type Scopes = typeof Scopes[keyof typeof Scopes]; 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /webhooks/source/model/sort.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Specifies the sorting order of the list of webhooks by their ``lastUpdatedDate`` attribute. - ``asc`` - Ascending order. - ``desc`` - (Default) Descending order. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const Sort = { 12 | Asc: 'asc', 13 | Desc: 'desc' 14 | } as const; 15 | 16 | export type Sort = typeof Sort[keyof typeof Sort]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /webhooks/source/model/statusRequest.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Sets the current state of the webhook. Possible values: - ``active`` - Activates webhook. - ``inactive`` - Deactivates webhook. 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const StatusRequest = { 12 | Active: 'active', 13 | Inactive: 'inactive' 14 | } as const; 15 | 16 | export type StatusRequest = typeof StatusRequest[keyof typeof StatusRequest]; 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /webhooks/source/model/systems.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * 7 | * @export 8 | * @enum {string} 9 | */ 10 | 11 | export const Systems = { 12 | Data: 'data', 13 | Derivative: 'derivative', 14 | AdskC4r: 'adsk.c4r', 15 | AdskFlcProduction: 'adsk.flc.production', 16 | AutodeskConstructionCost: 'autodesk.construction.cost' 17 | } as const; 18 | 19 | export type Systems = typeof Systems[keyof typeof Systems]; 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /webhooks/source/model/token.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * Add a new Webhook secret token. 7 | * @export 8 | * @interface Token 9 | */ 10 | export interface Token { 11 | /** 12 | * A repetition of the HTTP status code returned in the response headers, which indicates the outcome of the request. 13 | * @type {number} 14 | * @memberof Token 15 | */ 16 | 'status'?: number; 17 | /** 18 | * An array of strings, where each string is a human-readable description of the request\'s outcome. 19 | * @type {Array} 20 | * @memberof Token 21 | */ 22 | 'detail'?: Array; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /webhooks/source/model/tokenPayload.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | 4 | 5 | /** 6 | * The request body for an Update Secret Token operation. 7 | * @export 8 | * @interface TokenPayload 9 | */ 10 | export interface TokenPayload { 11 | /** 12 | * The new secret to set. 13 | * @type {string} 14 | * @memberof TokenPayload 15 | */ 16 | 'token': string; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /webhooks/source/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "esnext", 5 | "outDir": "dist/esm" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /webhooks/source/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declaration": true, 4 | "target": "ES6", 5 | "module": "commonjs", 6 | "noImplicitAny": true, 7 | "outDir": "dist", 8 | "rootDir": ".", 9 | "moduleResolution": "node", 10 | "typeRoots": [ 11 | "node_modules/@types" 12 | ], 13 | "forceConsistentCasingInFileNames": true, 14 | }, 15 | "exclude": [ 16 | "dist", 17 | "node_modules" 18 | ] 19 | } 20 | --------------------------------------------------------------------------------