@tridion-sites/models 1.2.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +52 -14
- package/dist/index.d.ts +4 -194
- package/dist/index.js +42 -486
- package/package.json +19 -18
- package/dist/dts/index.d.ts +0 -14
- package/dist/dts/locale.d.ts +0 -6
- package/dist/dts/mappings/access/accessControlEntryMapping.d.ts +0 -4
- package/dist/dts/mappings/access/accessControlListMapping.d.ts +0 -4
- package/dist/dts/mappings/access/index.d.ts +0 -4
- package/dist/dts/mappings/access/permissionMapping.d.ts +0 -3
- package/dist/dts/mappings/access/rightMapping.d.ts +0 -3
- package/dist/dts/mappings/access/securityDescriptorMapping.d.ts +0 -4
- package/dist/dts/mappings/access/stringSearchModeMapping.d.ts +0 -4
- package/dist/dts/mappings/baseType/contentMapping.d.ts +0 -2
- package/dist/dts/mappings/baseType/dateMapping.d.ts +0 -1
- package/dist/dts/mappings/baseType/index.d.ts +0 -2
- package/dist/dts/mappings/batch/batchMapping.d.ts +0 -7
- package/dist/dts/mappings/batch/batchOperationMapping.d.ts +0 -4
- package/dist/dts/mappings/batch/batchTypeMapping.d.ts +0 -2
- package/dist/dts/mappings/batch/index.d.ts +0 -3
- package/dist/dts/mappings/binaryContentMapping.d.ts +0 -7
- package/dist/dts/mappings/claimMappingMapping.d.ts +0 -5
- package/dist/dts/mappings/classificationDetailMapping.d.ts +0 -7
- package/dist/dts/mappings/classificationInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/component/componentBaseMapping.d.ts +0 -5
- package/dist/dts/mappings/component/componentMapping.d.ts +0 -5
- package/dist/dts/mappings/component/componentTypeMapping.d.ts +0 -3
- package/dist/dts/mappings/component/externalMultimediaComponentMapping.d.ts +0 -7
- package/dist/dts/mappings/component/externalVersionInfoMapping.d.ts +0 -5
- package/dist/dts/mappings/component/index.d.ts +0 -5
- package/dist/dts/mappings/component/multimediaComponentMapping.d.ts +0 -7
- package/dist/dts/mappings/component/registerComponentMappings.d.ts +0 -2
- package/dist/dts/mappings/createRegistry.d.ts +0 -2
- package/dist/dts/mappings/dependencyDirectionMapping.d.ts +0 -4
- package/dist/dts/mappings/dependencyGraphNodeMapping.d.ts +0 -7
- package/dist/dts/mappings/externalKeywordMapping.d.ts +0 -7
- package/dist/dts/mappings/identifiableObject/basicVersionInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/identifiableObject/errorTypeMapping.d.ts +0 -4
- package/dist/dts/mappings/identifiableObject/identifiableObjectMapping.d.ts +0 -5
- package/dist/dts/mappings/identifiableObject/index.d.ts +0 -7
- package/dist/dts/mappings/identifiableObject/loadInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/identifiableObject/loadInfoStateMapping.d.ts +0 -4
- package/dist/dts/mappings/identifiableObject/whereUsedCommentTokenMapping.d.ts +0 -3
- package/dist/dts/mappings/identifiableObject/whereUsedListInfoMappings.d.ts +0 -7
- package/dist/dts/mappings/index.d.ts +0 -17
- package/dist/dts/mappings/keywordMapping.d.ts +0 -7
- package/dist/dts/mappings/links/hateoasLinkMapping.d.ts +0 -4
- package/dist/dts/mappings/links/index.d.ts +0 -3
- package/dist/dts/mappings/links/linkMapping.d.ts +0 -8
- package/dist/dts/mappings/links/linkWithIsEditableMapping.d.ts +0 -5
- package/dist/dts/mappings/listDetailsLevelMapping.d.ts +0 -4
- package/dist/dts/mappings/mapToModel.d.ts +0 -1
- package/dist/dts/mappings/mapToModels.d.ts +0 -1
- package/dist/dts/mappings/mappingRegistry.d.ts +0 -9
- package/dist/dts/mappings/organizationalItems/bundleMapping.d.ts +0 -7
- package/dist/dts/mappings/organizationalItems/businessProcessTypeMapping.d.ts +0 -7
- package/dist/dts/mappings/organizationalItems/businessProcessTypesMapping.d.ts +0 -5
- package/dist/dts/mappings/organizationalItems/changeOrgItemToBusinessProcessTypes.d.ts +0 -2
- package/dist/dts/mappings/organizationalItems/changeOrgItemToTaxonomies.d.ts +0 -2
- package/dist/dts/mappings/organizationalItems/externalContainerMapping.d.ts +0 -5
- package/dist/dts/mappings/organizationalItems/externalKeywordCategoryMapping.d.ts +0 -5
- package/dist/dts/mappings/organizationalItems/folderMapping.d.ts +0 -7
- package/dist/dts/mappings/organizationalItems/index.d.ts +0 -14
- package/dist/dts/mappings/organizationalItems/keywordCategoryMapping.d.ts +0 -7
- package/dist/dts/mappings/organizationalItems/organizationalItemMapping.d.ts +0 -5
- package/dist/dts/mappings/organizationalItems/publishLocationInfoMapping.d.ts +0 -5
- package/dist/dts/mappings/organizationalItems/searchFolderMapping.d.ts +0 -5
- package/dist/dts/mappings/organizationalItems/structureGroupMapping.d.ts +0 -7
- package/dist/dts/mappings/organizationalItems/taxonomiesMapping.d.ts +0 -5
- package/dist/dts/mappings/organizationalItems/virtualFolderMapping.d.ts +0 -5
- package/dist/dts/mappings/page/componentPresentationMapping.d.ts +0 -7
- package/dist/dts/mappings/page/embeddedRegionMapping.d.ts +0 -7
- package/dist/dts/mappings/page/index.d.ts +0 -4
- package/dist/dts/mappings/page/pageMapping.d.ts +0 -7
- package/dist/dts/mappings/page/regionsMapping.d.ts +0 -4
- package/dist/dts/mappings/page/targetGroupConditionMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/deployerActionMapping.d.ts +0 -4
- package/dist/dts/mappings/publishing/index.d.ts +0 -15
- package/dist/dts/mappings/publishing/processedItemMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/publishActionMappings.d.ts +0 -3
- package/dist/dts/mappings/publishing/publishContextMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/publishInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/publishInstructionMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/publishTransactionListInfoMappings.d.ts +0 -7
- package/dist/dts/mappings/publishing/publishTransactionMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/publishTransactionStateMapping.d.ts +0 -4
- package/dist/dts/mappings/publishing/publishTransactionsCreationResultMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/publishUrlInfoMapping.d.ts +0 -4
- package/dist/dts/mappings/publishing/resolveInstructionBaseMapping.d.ts +0 -5
- package/dist/dts/mappings/publishing/resolveInstructionMapping.d.ts +0 -5
- package/dist/dts/mappings/publishing/resolvedItemMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/structureResolveOptionMapping.d.ts +0 -4
- package/dist/dts/mappings/publishing/unpublishInstructionMapping.d.ts +0 -7
- package/dist/dts/mappings/registerMappings.d.ts +0 -2
- package/dist/dts/mappings/repositoryLocalObject/blueprintInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/repositoryLocalObject/index.d.ts +0 -7
- package/dist/dts/mappings/repositoryLocalObject/limitedVersionInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/repositoryLocalObject/locationInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/repositoryLocalObject/lockInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/repositoryLocalObject/lockTypeMapping.d.ts +0 -4
- package/dist/dts/mappings/repositoryLocalObject/repositoryLocalObjectMapping.d.ts +0 -5
- package/dist/dts/mappings/repositoryLocalObject/rloItemTypeMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/fieldDefinitions/componentLinkFieldDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/dateFieldDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/dateListDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/embeddedSchemaFieldDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/fieldsDefinitionDictionaryMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/fieldDefinitions/index.d.ts +0 -11
- package/dist/dts/mappings/schema/fieldDefinitions/keywordFieldDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/listDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/listTypeMapping.d.ts +0 -3
- package/dist/dts/mappings/schema/fieldDefinitions/multimediaLinkFieldDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/numberFieldDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/textFields/externalLinkFieldDefinitionMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/fieldDefinitions/textFields/formattingFeaturesMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/fieldDefinitions/textFields/index.d.ts +0 -6
- package/dist/dts/mappings/schema/fieldDefinitions/textFields/multilineTextFieldDefinitionMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/fieldDefinitions/textFields/singleLineTextFieldDefinitionMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/fieldDefinitions/textFields/singleLineTextListDefinitionMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/fieldDefinitions/textFields/xhtmlFieldDefinitionMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/index.d.ts +0 -3
- package/dist/dts/mappings/schema/schemaMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/schemaPurposeMapping.d.ts +0 -4
- package/dist/dts/mappings/search/index.d.ts +0 -1
- package/dist/dts/mappings/search/searchBlueprintStatusMapping.d.ts +0 -4
- package/dist/dts/mappings/synchronizationActionMapping.d.ts +0 -4
- package/dist/dts/mappings/synchronizationResultMapping.d.ts +0 -4
- package/dist/dts/mappings/synchronizeFlagsMapping.d.ts +0 -4
- package/dist/dts/mappings/systemPrivilegeMapping.d.ts +0 -4
- package/dist/dts/mappings/systemPrivilegesDictionaryMapping.d.ts +0 -4
- package/dist/dts/mappings/systemWideObjects/approvalStatusMapping.d.ts +0 -5
- package/dist/dts/mappings/systemWideObjects/index.d.ts +0 -7
- package/dist/dts/mappings/systemWideObjects/multimediaTypeMapping.d.ts +0 -5
- package/dist/dts/mappings/systemWideObjects/publicationMapping.d.ts +0 -7
- package/dist/dts/mappings/systemWideObjects/publishPriorityMapping.d.ts +0 -4
- package/dist/dts/mappings/systemWideObjects/repositoryMapping.d.ts +0 -7
- package/dist/dts/mappings/systemWideObjects/systemWideObjectMapping.d.ts +0 -1
- package/dist/dts/mappings/systemWideObjects/targetTypeMapping.d.ts +0 -4
- package/dist/dts/mappings/targetGroupMapping.d.ts +0 -5
- package/dist/dts/mappings/templates/componentTemplateMapping.d.ts +0 -7
- package/dist/dts/mappings/templates/index.d.ts +0 -3
- package/dist/dts/mappings/templates/pageTemplateMapping.d.ts +0 -7
- package/dist/dts/mappings/templates/templateBuildingBlockMapping.d.ts +0 -7
- package/dist/dts/mappings/templates/templateMapping.d.ts +0 -5
- package/dist/dts/mappings/translations/identifiableTranslationJobMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/index.d.ts +0 -22
- package/dist/dts/mappings/translations/resolveOptionsMapping.d.ts +0 -3
- package/dist/dts/mappings/translations/retrieveReasonMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/targetLanguageMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/tmsLanguageMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/tmsWorkflowMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/tmsWorkflowStepMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/translationDetailsMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationErrorDetailsMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationErrorSeverityMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/translationExceptionDetailsMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationJobDisplayStateMapping.d.ts +0 -3
- package/dist/dts/mappings/translations/translationJobInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationJobItemMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationJobMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationJobPriorityMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/translationJobStateMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/translationJobTypeMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/translationStatusMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/translationTargetPublicationMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationWorkflowStatusMapping.d.ts +0 -7
- package/dist/dts/mappings/tryMapToModel.d.ts +0 -1
- package/dist/dts/mappings/user/accessTokenMapping.d.ts +0 -7
- package/dist/dts/mappings/user/groupMembershipMapping.d.ts +0 -7
- package/dist/dts/mappings/user/index.d.ts +0 -10
- package/dist/dts/mappings/user/trusteeMapping.d.ts +0 -5
- package/dist/dts/mappings/user/userFavoriteLinkMapping.d.ts +0 -7
- package/dist/dts/mappings/user/userGroupMapping.d.ts +0 -7
- package/dist/dts/mappings/user/userLocaleInfoMapping.d.ts +0 -4
- package/dist/dts/mappings/user/userMapping.d.ts +0 -5
- package/dist/dts/mappings/user/userPreferencesMapping.d.ts +0 -7
- package/dist/dts/mappings/user/userProfileMapping.d.ts +0 -7
- package/dist/dts/mappings/user/userUserRuntimeInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/versionedItem/dynamicVersionInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/versionedItem/fullVersionInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/versionedItem/index.d.ts +0 -3
- package/dist/dts/mappings/versionedItem/versionedItemMapping.d.ts +0 -5
- package/dist/dts/mappings/workflow/activityConstraintsMapping.d.ts +0 -3
- package/dist/dts/mappings/workflow/activityDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/activityHistoryMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/activityInstanceMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/activityMapping.d.ts +0 -5
- package/dist/dts/mappings/workflow/activityStateMapping.d.ts +0 -4
- package/dist/dts/mappings/workflow/activityTypeMapping.d.ts +0 -3
- package/dist/dts/mappings/workflow/finishActivityResultMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/index.d.ts +0 -19
- package/dist/dts/mappings/workflow/processDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/processFinishReasonMapping.d.ts +0 -3
- package/dist/dts/mappings/workflow/processHistoryMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/processInstanceMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/processMapping.d.ts +0 -5
- package/dist/dts/mappings/workflow/tridionActivityDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/tridionProcessDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/workItemMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/workflowInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/workflowObjectMapping.d.ts +0 -5
- package/dist/dts/mappingsTests/data/bundleData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/businessProcessTypeData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/categoryData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/componentData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/folderData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/groupData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/groupMembershipData.d.ts +0 -14
- package/dist/dts/mappingsTests/data/identifiableObjectData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/index.d.ts +0 -27
- package/dist/dts/mappingsTests/data/keywordData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/multimediaComponentData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/multimediaTypeData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/organizationalItemData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/pageData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/processDefinitionData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/publishingTargetData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/repositoryData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/repositoryLocalObjectData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/schemaData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/searchFolderData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/structureGroupData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/systemWideObjectData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/targetGroupData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/targetTypeData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/trusteeData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/userData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/versionedItemData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/virtualFolderData.d.ts +0 -2
- package/dist/dts/mappingsTests/tests/identifiableObject/identifiableObjectMapping.spec.d.ts +0 -1
- package/dist/dts/mappingsTests/tests/keyword.spec.d.ts +0 -1
- package/dist/dts/mappingsTests/tests/links/linkMapping.spec.d.ts +0 -1
- package/dist/dts/mappingsTests/tests/links/linkWithIsEditableMapping.spec.d.ts +0 -1
- package/dist/dts/mappingsTests/tests/repositoryLocalObject/repositoryLocalObject.spec.d.ts +0 -1
- package/dist/dts/mappingsTests/tests/user/groupMembershipMapping.spec.d.ts +0 -1
- package/dist/dts/mappingsTests/utils/createUserProfile.d.ts +0 -2
- package/dist/dts/mappingsTests/utils/expectArrayOfType.d.ts +0 -1
- package/dist/dts/models/access/accessControlEntry.d.ts +0 -45
- package/dist/dts/models/access/accessControlList.d.ts +0 -16
- package/dist/dts/models/access/index.d.ts +0 -6
- package/dist/dts/models/access/permission.d.ts +0 -12
- package/dist/dts/models/access/right.d.ts +0 -28
- package/dist/dts/models/access/securityDescriptor.d.ts +0 -39
- package/dist/dts/models/access/stringSearchMode.d.ts +0 -7
- package/dist/dts/models/api/apiError.d.ts +0 -13
- package/dist/dts/models/api/apiRequestOptions.d.ts +0 -14
- package/dist/dts/models/api/index.d.ts +0 -6
- package/dist/dts/models/api/validationApiError.d.ts +0 -29
- package/dist/dts/models/api/validationError.d.ts +0 -18
- package/dist/dts/models/api/validationResult.d.ts +0 -22
- package/dist/dts/models/api/validationWarning.d.ts +0 -10
- package/dist/dts/models/batch/batch.d.ts +0 -53
- package/dist/dts/models/batch/batchOperation.d.ts +0 -46
- package/dist/dts/models/batch/batchOperationState.d.ts +0 -14
- package/dist/dts/models/batch/batchStatus.d.ts +0 -3
- package/dist/dts/models/batch/batchType.d.ts +0 -1
- package/dist/dts/models/batch/index.d.ts +0 -6
- package/dist/dts/models/batch/parametersDictionary.d.ts +0 -4
- package/dist/dts/models/binaryContent.d.ts +0 -69
- package/dist/dts/models/blueprint/blueprintGraph.d.ts +0 -31
- package/dist/dts/models/blueprint/blueprintGraphNode.d.ts +0 -49
- package/dist/dts/models/blueprint/index.d.ts +0 -4
- package/dist/dts/models/blueprint/itemBlueprintHierarchy/constructItemGraph.d.ts +0 -4
- package/dist/dts/models/blueprint/itemBlueprintHierarchy/getPrimaryItem.d.ts +0 -3
- package/dist/dts/models/blueprint/itemBlueprintHierarchy/index.d.ts +0 -2
- package/dist/dts/models/blueprint/itemBlueprintHierarchy/itemBlueprintHierarchy.d.ts +0 -15
- package/dist/dts/models/blueprint/itemBlueprintHierarchy/itemBlueprintNodeData.d.ts +0 -25
- package/dist/dts/models/blueprint/publicationBlueprintHierarchy/constructPublicationGraph.d.ts +0 -4
- package/dist/dts/models/blueprint/publicationBlueprintHierarchy/index.d.ts +0 -1
- package/dist/dts/models/blueprint/publicationBlueprintHierarchy/publicationBlueprintHierarchy.d.ts +0 -13
- package/dist/dts/models/claimMapping.d.ts +0 -23
- package/dist/dts/models/classificationDetail.d.ts +0 -34
- package/dist/dts/models/classificationInfo.d.ts +0 -26
- package/dist/dts/models/component/component.d.ts +0 -16
- package/dist/dts/models/component/componentBase.d.ts +0 -51
- package/dist/dts/models/component/componentType.d.ts +0 -11
- package/dist/dts/models/component/externalMultimediaComponent.d.ts +0 -39
- package/dist/dts/models/component/externalVersionInfo.d.ts +0 -18
- package/dist/dts/models/component/index.d.ts +0 -6
- package/dist/dts/models/component/multimediaComponent.d.ts +0 -17
- package/dist/dts/models/dependencyDirection.d.ts +0 -1
- package/dist/dts/models/dependencyGraphNode.d.ts +0 -33
- package/dist/dts/models/externalKeyword.d.ts +0 -43
- package/dist/dts/models/identifiableObject/applicableActions.d.ts +0 -30
- package/dist/dts/models/identifiableObject/basicVersionInfo.d.ts +0 -24
- package/dist/dts/models/identifiableObject/extensionPropertyDictionary.d.ts +0 -4
- package/dist/dts/models/identifiableObject/identifiableObject.d.ts +0 -82
- package/dist/dts/models/identifiableObject/index.d.ts +0 -9
- package/dist/dts/models/identifiableObject/listInfo.d.ts +0 -1
- package/dist/dts/models/identifiableObject/listLink.d.ts +0 -15
- package/dist/dts/models/identifiableObject/loadInfo.d.ts +0 -38
- package/dist/dts/models/identifiableObject/whereUsedCommentToken.d.ts +0 -15
- package/dist/dts/models/identifiableObject/whereUsedListInfo.d.ts +0 -15
- package/dist/dts/models/index.d.ts +0 -36
- package/dist/dts/models/itemType.d.ts +0 -71
- package/dist/dts/models/itemUri/eclUri.d.ts +0 -54
- package/dist/dts/models/itemUri/eclUri.spec.d.ts +0 -1
- package/dist/dts/models/itemUri/eclUriItemType.d.ts +0 -4
- package/dist/dts/models/itemUri/index.d.ts +0 -5
- package/dist/dts/models/itemUri/itemUri.d.ts +0 -7
- package/dist/dts/models/itemUri/tcmUri.d.ts +0 -40
- package/dist/dts/models/itemUri/tcmUri.spec.d.ts +0 -1
- package/dist/dts/models/itemUri/tcmUriItemType.d.ts +0 -39
- package/dist/dts/models/itemUri/tmUri.d.ts +0 -37
- package/dist/dts/models/itemUri/tmUri.spec.d.ts +0 -1
- package/dist/dts/models/itemUri/uri.d.ts +0 -14
- package/dist/dts/models/itemUri/virtualUri.d.ts +0 -18
- package/dist/dts/models/keyword.d.ts +0 -55
- package/dist/dts/models/links/createBackendHateoasLink.d.ts +0 -2
- package/dist/dts/models/links/createBackendLink.d.ts +0 -2
- package/dist/dts/models/links/hateoasLink.d.ts +0 -21
- package/dist/dts/models/links/index.d.ts +0 -5
- package/dist/dts/models/links/link.d.ts +0 -41
- package/dist/dts/models/links/linkWithIsEditable.d.ts +0 -17
- package/dist/dts/models/listDetailsLevel.d.ts +0 -1
- package/dist/dts/models/organizationalItems/bundle.d.ts +0 -21
- package/dist/dts/models/organizationalItems/businessProcessType.d.ts +0 -68
- package/dist/dts/models/organizationalItems/businessProcessTypes.d.ts +0 -10
- package/dist/dts/models/organizationalItems/createBackendBusinessProcessTypes.d.ts +0 -3
- package/dist/dts/models/organizationalItems/createBackendTaxonomies.d.ts +0 -3
- package/dist/dts/models/organizationalItems/externalContainer.d.ts +0 -17
- package/dist/dts/models/organizationalItems/externalKeywordCategory.d.ts +0 -21
- package/dist/dts/models/organizationalItems/folder.d.ts +0 -41
- package/dist/dts/models/organizationalItems/index.d.ts +0 -15
- package/dist/dts/models/organizationalItems/keywordCategory.d.ts +0 -65
- package/dist/dts/models/organizationalItems/organizationalItem.d.ts +0 -37
- package/dist/dts/models/organizationalItems/publishLocationInfo.d.ts +0 -33
- package/dist/dts/models/organizationalItems/searchFolder.d.ts +0 -14
- package/dist/dts/models/organizationalItems/structureGroup.d.ts +0 -85
- package/dist/dts/models/organizationalItems/taxonomies.d.ts +0 -12
- package/dist/dts/models/organizationalItems/virtualFolder.d.ts +0 -42
- package/dist/dts/models/page/componentPresentation.d.ts +0 -28
- package/dist/dts/models/page/embeddedRegion.d.ts +0 -30
- package/dist/dts/models/page/index.d.ts +0 -5
- package/dist/dts/models/page/page.d.ts +0 -81
- package/dist/dts/models/page/region.d.ts +0 -10
- package/dist/dts/models/page/targetGroupCondition.d.ts +0 -23
- package/dist/dts/models/publishing/deployerAction.d.ts +0 -11
- package/dist/dts/models/publishing/index.d.ts +0 -17
- package/dist/dts/models/publishing/processedItem.d.ts +0 -33
- package/dist/dts/models/publishing/publishAction.d.ts +0 -4
- package/dist/dts/models/publishing/publishContext.d.ts +0 -36
- package/dist/dts/models/publishing/publishInfo.d.ts +0 -45
- package/dist/dts/models/publishing/publishInstruction.d.ts +0 -24
- package/dist/dts/models/publishing/publishInstructionBase.d.ts +0 -9
- package/dist/dts/models/publishing/publishTransaction.d.ts +0 -101
- package/dist/dts/models/publishing/publishTransactionListInfo.d.ts +0 -19
- package/dist/dts/models/publishing/publishTransactionState.d.ts +0 -1
- package/dist/dts/models/publishing/publishTransactionsCreationResult.d.ts +0 -13
- package/dist/dts/models/publishing/publishUrlInfo.d.ts +0 -8
- package/dist/dts/models/publishing/resolveInstruction.d.ts +0 -27
- package/dist/dts/models/publishing/resolveInstructionBase.d.ts +0 -31
- package/dist/dts/models/publishing/resolvedItem.d.ts +0 -38
- package/dist/dts/models/publishing/structureResolveOption.d.ts +0 -1
- package/dist/dts/models/publishing/unpublishInstruction.d.ts +0 -25
- package/dist/dts/models/repositoryLocalObject/blueprintInfo.d.ts +0 -33
- package/dist/dts/models/repositoryLocalObject/fieldsValueDictionary.d.ts +0 -4
- package/dist/dts/models/repositoryLocalObject/index.d.ts +0 -8
- package/dist/dts/models/repositoryLocalObject/limitedVersionInfo.d.ts +0 -21
- package/dist/dts/models/repositoryLocalObject/locationInfo.d.ts +0 -33
- package/dist/dts/models/repositoryLocalObject/lockInfo.d.ts +0 -33
- package/dist/dts/models/repositoryLocalObject/lockType.d.ts +0 -13
- package/dist/dts/models/repositoryLocalObject/repositoryLocalObject.d.ts +0 -53
- package/dist/dts/models/repositoryLocalObject/rloItemType.d.ts +0 -20
- package/dist/dts/models/schema/fieldDefinitions/componentLinkFieldDefinition.d.ts +0 -31
- package/dist/dts/models/schema/fieldDefinitions/dateFieldDefinition.d.ts +0 -45
- package/dist/dts/models/schema/fieldDefinitions/dateListDefinition.d.ts +0 -19
- package/dist/dts/models/schema/fieldDefinitions/embeddedSchemaFieldDefinition.d.ts +0 -27
- package/dist/dts/models/schema/fieldDefinitions/fieldsDefinitionDictionary.d.ts +0 -5
- package/dist/dts/models/schema/fieldDefinitions/index.d.ts +0 -14
- package/dist/dts/models/schema/fieldDefinitions/itemFieldDefinition.d.ts +0 -43
- package/dist/dts/models/schema/fieldDefinitions/itemPublishableFieldDefinition.d.ts +0 -18
- package/dist/dts/models/schema/fieldDefinitions/keywordFieldDefinition.d.ts +0 -34
- package/dist/dts/models/schema/fieldDefinitions/listDefinition.d.ts +0 -23
- package/dist/dts/models/schema/fieldDefinitions/listType.d.ts +0 -1
- package/dist/dts/models/schema/fieldDefinitions/multimediaLinkFieldDefinition.d.ts +0 -28
- package/dist/dts/models/schema/fieldDefinitions/numberFieldDefinition.d.ts +0 -49
- package/dist/dts/models/schema/fieldDefinitions/numberListDefinition.d.ts +0 -17
- package/dist/dts/models/schema/fieldDefinitions/textFields/externalLinkFieldDefinition.d.ts +0 -14
- package/dist/dts/models/schema/fieldDefinitions/textFields/formattingFeatures.d.ts +0 -26
- package/dist/dts/models/schema/fieldDefinitions/textFields/index.d.ts +0 -7
- package/dist/dts/models/schema/fieldDefinitions/textFields/multilineTextFieldDefinition.d.ts +0 -12
- package/dist/dts/models/schema/fieldDefinitions/textFields/singleLineTextFieldDefinition.d.ts +0 -33
- package/dist/dts/models/schema/fieldDefinitions/textFields/singleLineTextListDefinition.d.ts +0 -17
- package/dist/dts/models/schema/fieldDefinitions/textFields/textFieldDefinition.d.ts +0 -14
- package/dist/dts/models/schema/fieldDefinitions/textFields/xhtmlFieldDefinition.d.ts +0 -22
- package/dist/dts/models/schema/index.d.ts +0 -3
- package/dist/dts/models/schema/schema.d.ts +0 -67
- package/dist/dts/models/schema/schemaPurpose.d.ts +0 -18
- package/dist/dts/models/search/index.d.ts +0 -1
- package/dist/dts/models/search/searchBlueprintStatus.d.ts +0 -1
- package/dist/dts/models/synchronizationAction.d.ts +0 -35
- package/dist/dts/models/synchronizationResult.d.ts +0 -23
- package/dist/dts/models/synchronizeFlags.d.ts +0 -1
- package/dist/dts/models/systemPrivilege.d.ts +0 -21
- package/dist/dts/models/systemPrivilegesDictionary.d.ts +0 -6
- package/dist/dts/models/systemWideObjects/approvalStatus.d.ts +0 -24
- package/dist/dts/models/systemWideObjects/index.d.ts +0 -8
- package/dist/dts/models/systemWideObjects/multimediaType.d.ts +0 -21
- package/dist/dts/models/systemWideObjects/publication.d.ts +0 -93
- package/dist/dts/models/systemWideObjects/publishPriority.d.ts +0 -9
- package/dist/dts/models/systemWideObjects/publishingTarget.d.ts +0 -18
- package/dist/dts/models/systemWideObjects/repository.d.ts +0 -56
- package/dist/dts/models/systemWideObjects/systemWideObject.d.ts +0 -13
- package/dist/dts/models/systemWideObjects/targetType.d.ts +0 -63
- package/dist/dts/models/targetGroup.d.ts +0 -19
- package/dist/dts/models/templates/componentTemplate.d.ts +0 -93
- package/dist/dts/models/templates/index.d.ts +0 -4
- package/dist/dts/models/templates/pageTemplate.d.ts +0 -42
- package/dist/dts/models/templates/template.d.ts +0 -49
- package/dist/dts/models/templates/templateBuildingBlock.d.ts +0 -28
- package/dist/dts/models/translation/identifiableTranslationJob.d.ts +0 -156
- package/dist/dts/models/translation/index.d.ts +0 -22
- package/dist/dts/models/translation/resolveOptions.d.ts +0 -10
- package/dist/dts/models/translation/retrieveReason.d.ts +0 -19
- package/dist/dts/models/translation/targetLanguage.d.ts +0 -44
- package/dist/dts/models/translation/tmsLanguage.d.ts +0 -17
- package/dist/dts/models/translation/tmsWorkflow.d.ts +0 -15
- package/dist/dts/models/translation/tmsWorkflowStep.d.ts +0 -24
- package/dist/dts/models/translation/translationDetails.d.ts +0 -76
- package/dist/dts/models/translation/translationErrorDetails.d.ts +0 -75
- package/dist/dts/models/translation/translationErrorSeverity.d.ts +0 -11
- package/dist/dts/models/translation/translationExceptionDetails.d.ts +0 -17
- package/dist/dts/models/translation/translationInfo.d.ts +0 -32
- package/dist/dts/models/translation/translationJob.d.ts +0 -138
- package/dist/dts/models/translation/translationJobDisplayState.d.ts +0 -20
- package/dist/dts/models/translation/translationJobInfo.d.ts +0 -140
- package/dist/dts/models/translation/translationJobItem.d.ts +0 -34
- package/dist/dts/models/translation/translationJobPriority.d.ts +0 -12
- package/dist/dts/models/translation/translationJobState.d.ts +0 -17
- package/dist/dts/models/translation/translationJobType.d.ts +0 -11
- package/dist/dts/models/translation/translationStatus.d.ts +0 -13
- package/dist/dts/models/translation/translationTargetPublication.d.ts +0 -20
- package/dist/dts/models/translation/translationWorkflowStatus.d.ts +0 -24
- package/dist/dts/models/user/accessToken.d.ts +0 -27
- package/dist/dts/models/user/groupMembership.d.ts +0 -22
- package/dist/dts/models/user/index.d.ts +0 -11
- package/dist/dts/models/user/trustee.d.ts +0 -30
- package/dist/dts/models/user/user.d.ts +0 -26
- package/dist/dts/models/user/userFavoriteLink.d.ts +0 -27
- package/dist/dts/models/user/userGroup.d.ts +0 -43
- package/dist/dts/models/user/userLocaleInfo.d.ts +0 -61
- package/dist/dts/models/user/userPreferences.d.ts +0 -19
- package/dist/dts/models/user/userProfile.d.ts +0 -38
- package/dist/dts/models/user/userRuntimeInfo.d.ts +0 -31
- package/dist/dts/models/versionedItem/dynamicVersionInfo.d.ts +0 -29
- package/dist/dts/models/versionedItem/fullVersionInfo.d.ts +0 -57
- package/dist/dts/models/versionedItem/index.d.ts +0 -3
- package/dist/dts/models/versionedItem/versionedItem.d.ts +0 -28
- package/dist/dts/models/workflow/activity.d.ts +0 -98
- package/dist/dts/models/workflow/activityConstraints.d.ts +0 -11
- package/dist/dts/models/workflow/activityDefinition.d.ts +0 -43
- package/dist/dts/models/workflow/activityHistory.d.ts +0 -37
- package/dist/dts/models/workflow/activityInstance.d.ts +0 -67
- package/dist/dts/models/workflow/activityState.d.ts +0 -15
- package/dist/dts/models/workflow/activityType.d.ts +0 -6
- package/dist/dts/models/workflow/finishActivityResult.d.ts +0 -13
- package/dist/dts/models/workflow/index.d.ts +0 -19
- package/dist/dts/models/workflow/process.d.ts +0 -51
- package/dist/dts/models/workflow/processDefinition.d.ts +0 -23
- package/dist/dts/models/workflow/processFinishReason.d.ts +0 -12
- package/dist/dts/models/workflow/processHistory.d.ts +0 -31
- package/dist/dts/models/workflow/processInstance.d.ts +0 -26
- package/dist/dts/models/workflow/tridionActivityDefinition.d.ts +0 -76
- package/dist/dts/models/workflow/tridionProcessDefinition.d.ts +0 -19
- package/dist/dts/models/workflow/variablesDictionary.d.ts +0 -4
- package/dist/dts/models/workflow/workItem.d.ts +0 -60
- package/dist/dts/models/workflow/workflowInfo.d.ts +0 -91
- package/dist/dts/models/workflow/workflowObject.d.ts +0 -21
- package/dist/dts/utils/getItemContainerId.d.ts +0 -3
- package/dist/dts/utils/getItemLabelWithId.d.ts +0 -11
- package/dist/dts/utils/getItemLinkType.d.ts +0 -3
- package/dist/dts/utils/getItemType.d.ts +0 -3
- package/dist/dts/utils/index.d.ts +0 -4
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import type { TranslationJob as BackendTranslationJob } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { ItemUri } from '../itemUri';
|
|
3
|
-
import type { Link } from '../links';
|
|
4
|
-
import type { FieldsValueDictionary } from '../repositoryLocalObject';
|
|
5
|
-
import type { TargetLanguage } from './targetLanguage';
|
|
6
|
-
import type { TmsLanguage } from './tmsLanguage';
|
|
7
|
-
import type { TranslationErrorDetails } from './translationErrorDetails';
|
|
8
|
-
import type { TranslationErrorSeverity } from './translationErrorSeverity';
|
|
9
|
-
import type { TranslationJobDisplayState } from './translationJobDisplayState';
|
|
10
|
-
import type { TranslationJobItem } from './translationJobItem';
|
|
11
|
-
import type { TranslationJobPriority } from './translationJobPriority';
|
|
12
|
-
import type { TranslationJobState } from './translationJobState';
|
|
13
|
-
import type { TranslationJobType } from './translationJobType';
|
|
14
|
-
import type { TranslationWorkflowStatus } from './translationWorkflowStatus';
|
|
15
|
-
export interface TranslationJobConstructorArgs {
|
|
16
|
-
backendModel: BackendTranslationJob;
|
|
17
|
-
addedItems: ReadonlyArray<TranslationJobItem> | undefined;
|
|
18
|
-
configurationItemUri: ItemUri | undefined;
|
|
19
|
-
creationDate: Date | undefined;
|
|
20
|
-
creator: Link | undefined;
|
|
21
|
-
displayState: TranslationJobDisplayState | undefined;
|
|
22
|
-
errors: ReadonlyArray<TranslationErrorDetails> | undefined;
|
|
23
|
-
errorSeverityLevel: TranslationErrorSeverity | undefined;
|
|
24
|
-
language: TmsLanguage | undefined;
|
|
25
|
-
priority: TranslationJobPriority | undefined;
|
|
26
|
-
requiredDate: Date | undefined;
|
|
27
|
-
revisionDate: Date | undefined;
|
|
28
|
-
revisor: Link | undefined;
|
|
29
|
-
state: TranslationJobState | undefined;
|
|
30
|
-
targetLanguages: ReadonlyArray<TargetLanguage> | undefined;
|
|
31
|
-
type: ReadonlyArray<TranslationJobType> | undefined;
|
|
32
|
-
workflowStatus: ReadonlyArray<TranslationWorkflowStatus> | undefined;
|
|
33
|
-
}
|
|
34
|
-
export declare class TranslationJob {
|
|
35
|
-
protected _backendModel: BackendTranslationJob;
|
|
36
|
-
private _addedItems;
|
|
37
|
-
private _creator;
|
|
38
|
-
private _configurationItemUri;
|
|
39
|
-
private _displayState;
|
|
40
|
-
private _errors;
|
|
41
|
-
private _errorSeverityLevel;
|
|
42
|
-
private _language;
|
|
43
|
-
private _priority;
|
|
44
|
-
private _revisor;
|
|
45
|
-
private _state;
|
|
46
|
-
private _targetLanguages;
|
|
47
|
-
private _type;
|
|
48
|
-
private _workflowStatus;
|
|
49
|
-
private _creationDate;
|
|
50
|
-
private _requiredDate;
|
|
51
|
-
private _revisionDate;
|
|
52
|
-
constructor({ addedItems, backendModel, configurationItemUri, creationDate, creator, displayState, errors, errorSeverityLevel, language, priority, requiredDate, revisionDate, revisor, state, targetLanguages, type, workflowStatus, }: TranslationJobConstructorArgs);
|
|
53
|
-
get id(): number | undefined;
|
|
54
|
-
get title(): string | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* Collection containing the `AddedItem`s that have been added to this Translation Job.
|
|
57
|
-
* The `AddedItem`s represent either an Item that will be translated (for example a Component) or
|
|
58
|
-
* an Item that contains the Items that will be translated (for example a Folder).
|
|
59
|
-
*/
|
|
60
|
-
get addedItems(): ReadonlyArray<TranslationJobItem> | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* TCM URI of the item containing the `TranslationConfiguration` used for this Translation Job.
|
|
63
|
-
*/
|
|
64
|
-
get configurationItemUri(): ItemUri | undefined;
|
|
65
|
-
/**
|
|
66
|
-
* Title of the Publication containing the <seealso cref="P:Tridion.TranslationManager.OpenApi.V2.Dto.TranslationJob.ConfigurationItemUri" />.
|
|
67
|
-
*/
|
|
68
|
-
get contextPublicationTitle(): string | undefined;
|
|
69
|
-
/**
|
|
70
|
-
* The date the Translation Job was created (in UTC).
|
|
71
|
-
*/
|
|
72
|
-
get creationDate(): Date | undefined;
|
|
73
|
-
/**
|
|
74
|
-
* A link to the user who created the Translation Job.
|
|
75
|
-
*/
|
|
76
|
-
get creator(): Link | undefined;
|
|
77
|
-
get displayState(): TranslationJobDisplayState | undefined;
|
|
78
|
-
/**
|
|
79
|
-
* Collection of errors registered to this job.
|
|
80
|
-
*/
|
|
81
|
-
get errors(): ReadonlyArray<TranslationErrorDetails> | undefined;
|
|
82
|
-
get errorSeverityLevel(): TranslationErrorSeverity | undefined;
|
|
83
|
-
get hasError(): boolean;
|
|
84
|
-
/**
|
|
85
|
-
* Value indicating whether items that have already been translated should be included in the job.
|
|
86
|
-
*/
|
|
87
|
-
get includeItemsAlreadyTranslated(): boolean;
|
|
88
|
-
/**
|
|
89
|
-
* Value indicating if the Translation Job currently have one or more `TranslationJobQuote`s awaiting authorization (see remarks).
|
|
90
|
-
*/
|
|
91
|
-
get isAwaitingAuthorization(): boolean;
|
|
92
|
-
get language(): TmsLanguage | undefined;
|
|
93
|
-
/**
|
|
94
|
-
* Metadata associated with the Translation Job.
|
|
95
|
-
*/
|
|
96
|
-
get metadata(): FieldsValueDictionary | undefined;
|
|
97
|
-
/**
|
|
98
|
-
* TCM URI of the metadata schema used for this Translation Job.
|
|
99
|
-
*/
|
|
100
|
-
get metadataSchemaUri(): string | undefined;
|
|
101
|
-
/**
|
|
102
|
-
* The priority of the Translation Job. This value will only have an affect if `SupportsPriority` returns true.
|
|
103
|
-
*/
|
|
104
|
-
get priority(): TranslationJobPriority | undefined;
|
|
105
|
-
get progressPercentage(): number | undefined;
|
|
106
|
-
/**
|
|
107
|
-
* The due date for this job.
|
|
108
|
-
*/
|
|
109
|
-
get requiredDate(): Date | undefined;
|
|
110
|
-
get revisionDate(): Date | undefined;
|
|
111
|
-
/**
|
|
112
|
-
* A link to the user who last modified the Translation Job.
|
|
113
|
-
*/
|
|
114
|
-
get revisor(): Link | undefined;
|
|
115
|
-
get state(): TranslationJobState | undefined;
|
|
116
|
-
/**
|
|
117
|
-
* Show if `TranslationJob` support setting of priority.
|
|
118
|
-
*/
|
|
119
|
-
get supportsPriority(): boolean;
|
|
120
|
-
/**
|
|
121
|
-
* Show if `TranslationJob` support setting required rate.
|
|
122
|
-
*/
|
|
123
|
-
get supportsRequiredDate(): boolean;
|
|
124
|
-
/**
|
|
125
|
-
* List of target languages available for this `TranslationJob`.
|
|
126
|
-
*/
|
|
127
|
-
get targetLanguages(): ReadonlyArray<TargetLanguage> | undefined;
|
|
128
|
-
/**
|
|
129
|
-
* Value indicating if the Translation Job is a translation to the Publication of the `ConfigurationItemUri`
|
|
130
|
-
* (Pull job) or from the Publication (Push job).
|
|
131
|
-
*/
|
|
132
|
-
get type(): ReadonlyArray<TranslationJobType> | undefined;
|
|
133
|
-
/**
|
|
134
|
-
* Item count of language/workflowstep pairs.
|
|
135
|
-
*/
|
|
136
|
-
get workflowStatus(): ReadonlyArray<TranslationWorkflowStatus> | undefined;
|
|
137
|
-
getInternalModel: () => BackendTranslationJob;
|
|
138
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Gets the state that should be displayed in the UI for the. This is slightly more detailed than the.
|
|
3
|
-
*
|
|
4
|
-
* Members:
|
|
5
|
-
* * `error` - The is in an error state not related to retrieval or sending the. The errors are available in.
|
|
6
|
-
* * `canceled` - The was canceled in the translation management system before all items where retrieved.
|
|
7
|
-
* * `completed` - The translation of the has been completed.
|
|
8
|
-
* * `definition` - It is still possible to edit the before it is send for translation.
|
|
9
|
-
* * `awaitingAuthorization` - One or more s is ready for authorization.
|
|
10
|
-
* * `awaitingAuthorizationAndError` - One or more s is ready for authorization and one or more errors is available in.
|
|
11
|
-
* * `errorRetrieving` - The is in an error state related to retrieving translations. The errors are available in.
|
|
12
|
-
* * `inTranslation` - The is currently in translation. Some - but not all - items might have been canceled or completed.
|
|
13
|
-
* * `errorSending` - The is in an error state related to sending the Items for translation. The errors are available in.
|
|
14
|
-
* * `submittingToTranslation` - The is currently being send to the translation management system by the Translation Manager windows service.
|
|
15
|
-
* * `readyForTranslation` - The is no longer in state and is ready to be send for translation by the Translation Manager windows service.
|
|
16
|
-
* * `deleting` - The is being deleted by the Translation Manager windows service.
|
|
17
|
-
* * `unknownByClient` - Special reserved value used to notify an older API version client about the presence of an enumeration member added in a later API version.
|
|
18
|
-
* Explicitly setting this value by a client is not allowed, but client code should check it and be able to handle such cases.
|
|
19
|
-
*/
|
|
20
|
-
export type TranslationJobDisplayState = 'awaitingAuthorization' | 'awaitingAuthorizationAndError' | 'canceled' | 'completed' | 'definition' | 'deleting' | 'error' | 'errorRetrieving' | 'errorSending' | 'inTranslation' | 'readyForTranslation' | 'submittingToTranslation' | 'unknownByClient';
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import type { TranslationJobInfo as BackendTranslationJobInfo } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { ItemUri } from '../itemUri';
|
|
3
|
-
import type { RetrieveReason } from './retrieveReason';
|
|
4
|
-
export interface TranslationJobInfoConstructorArgs {
|
|
5
|
-
backendModel: BackendTranslationJobInfo;
|
|
6
|
-
retrieveReason: RetrieveReason | undefined;
|
|
7
|
-
sourceItemUri: ItemUri | undefined;
|
|
8
|
-
sourcePublicationUri: ItemUri | undefined;
|
|
9
|
-
targetItemUri: ItemUri | undefined;
|
|
10
|
-
retrievedFromTranslationDate: Date | undefined;
|
|
11
|
-
sendForTranslationDate: Date | undefined;
|
|
12
|
-
sourceRevisionDate: Date | undefined;
|
|
13
|
-
targetRevisionDate: Date | undefined;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Contains details on a specific translation to a target Item (see `TranslationDetails`).
|
|
17
|
-
*/
|
|
18
|
-
export declare class TranslationJobInfo {
|
|
19
|
-
protected _backendModel: BackendTranslationJobInfo;
|
|
20
|
-
private _retrieveReason;
|
|
21
|
-
private _sourceItemUri;
|
|
22
|
-
private _sourcePublicationUri;
|
|
23
|
-
private _targetItemUri;
|
|
24
|
-
private _retrievedFromTranslationDate;
|
|
25
|
-
private _sendForTranslationDate;
|
|
26
|
-
private _sourceRevisionDate;
|
|
27
|
-
private _targetRevisionDate;
|
|
28
|
-
constructor({ backendModel, retrievedFromTranslationDate, retrieveReason, sendForTranslationDate, sourceItemUri, sourcePublicationUri, sourceRevisionDate, targetItemUri, targetRevisionDate, }: TranslationJobInfoConstructorArgs);
|
|
29
|
-
/**
|
|
30
|
-
* Indicates if an in-progress translation will be discarded due to a newer translation having been completed already.
|
|
31
|
-
*/
|
|
32
|
-
get isObsolete(): boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Indicates whether this translation was started based on the current version of the source Item.
|
|
35
|
-
*/
|
|
36
|
-
get newSourceVersionExists(): boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Indicates whether current version of target item contains this translation.
|
|
39
|
-
*/
|
|
40
|
-
get newTargetVersionExists(): boolean;
|
|
41
|
-
/**
|
|
42
|
-
* The date and time the Item was retrieved from translation.
|
|
43
|
-
*/
|
|
44
|
-
get retrievedFromTranslationDate(): Date | undefined;
|
|
45
|
-
/**
|
|
46
|
-
* Indicates if the retrieval was done to allow review or if it completed the translation job.
|
|
47
|
-
*/
|
|
48
|
-
get retrieveReason(): RetrieveReason | undefined;
|
|
49
|
-
/**
|
|
50
|
-
* The date and time the Item was send for translation.
|
|
51
|
-
*/
|
|
52
|
-
get sendForTranslationDate(): Date | undefined;
|
|
53
|
-
/**
|
|
54
|
-
* The title of the source Item for this translation.
|
|
55
|
-
*/
|
|
56
|
-
get sourceItemTitle(): string | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* The TCM URI of the source Item for this translation.
|
|
59
|
-
*/
|
|
60
|
-
get sourceItemUri(): ItemUri | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* The language id of the source Item for this translation.
|
|
63
|
-
*/
|
|
64
|
-
get sourceLanguageId(): string | undefined;
|
|
65
|
-
/**
|
|
66
|
-
* The language name of the source Item for this translation.
|
|
67
|
-
*/
|
|
68
|
-
get sourceLanguageName(): string | undefined;
|
|
69
|
-
/**
|
|
70
|
-
* The last modified date/time of the source item for this translation.
|
|
71
|
-
*/
|
|
72
|
-
get sourceLastModified(): string | undefined;
|
|
73
|
-
/**
|
|
74
|
-
* The minor version of the latest version of the source Item;
|
|
75
|
-
* null if the source Item is not versioned.
|
|
76
|
-
*/
|
|
77
|
-
get sourceLatestRevision(): number | undefined;
|
|
78
|
-
/**
|
|
79
|
-
* The major version of the latest version of the source Item;
|
|
80
|
-
* null if the source Item is not versioned.
|
|
81
|
-
*/
|
|
82
|
-
get sourceLatestVersion(): number | undefined;
|
|
83
|
-
/**
|
|
84
|
-
* The title of the Publication containing the source Item for this translation.
|
|
85
|
-
*/
|
|
86
|
-
get sourcePublicationTitle(): string | undefined;
|
|
87
|
-
/**
|
|
88
|
-
* The TCM URI of the Publication containing the source Item for this translation.
|
|
89
|
-
*/
|
|
90
|
-
get sourcePublicationUri(): ItemUri | undefined;
|
|
91
|
-
/**
|
|
92
|
-
* The minor version of the source Item for this translation;
|
|
93
|
-
* null if the source Item is not versioned or the source version has been lost
|
|
94
|
-
* due to it being promoted or demoted in the BluePrint.
|
|
95
|
-
*/
|
|
96
|
-
get sourceRevision(): number | undefined;
|
|
97
|
-
/**
|
|
98
|
-
* The revision date of the source item for this translation.
|
|
99
|
-
*/
|
|
100
|
-
get sourceRevisionDate(): Date | undefined;
|
|
101
|
-
/**
|
|
102
|
-
* The major version of the source Item for this translation;
|
|
103
|
-
* null if the source Item is not versioned or the source version has been lost
|
|
104
|
-
* due to it being promoted or demoted in the BluePrint.
|
|
105
|
-
*/
|
|
106
|
-
get sourceVersion(): number | undefined;
|
|
107
|
-
/**
|
|
108
|
-
* Gets last modified date of the current version of the target Item.
|
|
109
|
-
*/
|
|
110
|
-
get targetItemUri(): ItemUri | undefined;
|
|
111
|
-
/**
|
|
112
|
-
* The target language id of the Item for this translation.
|
|
113
|
-
*/
|
|
114
|
-
get targetLanguageId(): string | undefined;
|
|
115
|
-
/**
|
|
116
|
-
* The target language name of the Item for this translation.
|
|
117
|
-
*/
|
|
118
|
-
get targetLanguageName(): string | undefined;
|
|
119
|
-
/**
|
|
120
|
-
* The minor version of the target Item the translations where retrieved into.
|
|
121
|
-
*/
|
|
122
|
-
get targetRevision(): number | undefined;
|
|
123
|
-
/**
|
|
124
|
-
* The revision date/time of the target item of this translation.
|
|
125
|
-
*/
|
|
126
|
-
get targetRevisionDate(): Date | undefined;
|
|
127
|
-
/**
|
|
128
|
-
* The major version of the target Item the translations where retrieved into.
|
|
129
|
-
*/
|
|
130
|
-
get targetVersion(): number | undefined;
|
|
131
|
-
/**
|
|
132
|
-
* The id of the `TranslationJob` the translation is part of.
|
|
133
|
-
*/
|
|
134
|
-
get translationJobId(): number | undefined;
|
|
135
|
-
/**
|
|
136
|
-
* Title of the `TranslationJob` the translation is part of.
|
|
137
|
-
*/
|
|
138
|
-
get translationJobTitle(): string | undefined;
|
|
139
|
-
getInternalModel: () => BackendTranslationJobInfo;
|
|
140
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { AddedItem as BackendAddedItem } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { ItemUri } from '../itemUri';
|
|
3
|
-
import type { ResolveOptions } from './resolveOptions';
|
|
4
|
-
export interface TranslationJobItemConstructorArgs {
|
|
5
|
-
backendModel: BackendAddedItem;
|
|
6
|
-
idRef: ItemUri | undefined;
|
|
7
|
-
resolveOptions: ReadonlyArray<ResolveOptions> | undefined;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Represents an Item added to a `TranslationJob`.
|
|
11
|
-
*/
|
|
12
|
-
export declare class TranslationJobItem {
|
|
13
|
-
protected _backendModel: BackendAddedItem;
|
|
14
|
-
private _idRef;
|
|
15
|
-
private _resolveOptions;
|
|
16
|
-
constructor({ backendModel, idRef, resolveOptions }: TranslationJobItemConstructorArgs);
|
|
17
|
-
/**
|
|
18
|
-
* URI of the added item.
|
|
19
|
-
*/
|
|
20
|
-
get idRef(): ItemUri | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* Title of the Tridion item.
|
|
23
|
-
*/
|
|
24
|
-
get title(): string | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* A string that identifies the Tridion Item type.
|
|
27
|
-
*/
|
|
28
|
-
get itemTypeWithSubtype(): string | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* Specifies if it is the Item itself, it's child Items or both that should be translated.
|
|
31
|
-
*/
|
|
32
|
-
get resolveOptions(): ReadonlyArray<ResolveOptions> | undefined;
|
|
33
|
-
getInternalModel: () => BackendAddedItem;
|
|
34
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Specifies the priority of the translation job. Higher priority jobs will be send to
|
|
3
|
-
* the TMS server first.
|
|
4
|
-
*
|
|
5
|
-
* Members:
|
|
6
|
-
* * `low` - Low priority
|
|
7
|
-
* * `normal` - Normal priority
|
|
8
|
-
* * `high` - High priority
|
|
9
|
-
* * `unknownByClient` - Special reserved value used to notify an older API version client about the presence of an enumeration member added in a later API version.
|
|
10
|
-
* Explicitly setting this value by a client is not allowed, but client code should check it and be able to handle such cases.
|
|
11
|
-
*/
|
|
12
|
-
export type TranslationJobPriority = 'low' | 'normal' | 'high' | 'unknownByClient';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* State of a translation job.
|
|
3
|
-
*
|
|
4
|
-
* Members:
|
|
5
|
-
* * `canceled` - The job has been canceled.
|
|
6
|
-
* * `definition` - The job is in definition state - it can still be edited.
|
|
7
|
-
* * `readyForTranslation` - The job has been defined, and is waiting for the Translation Manager Service to retrieve it.
|
|
8
|
-
* * `submittingToTranslation` - The job is being transferred to the translation management system.
|
|
9
|
-
* * `inTranslation` - The job is under control of the translation management system.
|
|
10
|
-
* * `completed` - The job has been completed.
|
|
11
|
-
* * `readyForDeletion` - The job can be deleted and is waiting for the service to pick up the task.
|
|
12
|
-
* * `deleting` - The job is currently being deleted.
|
|
13
|
-
* * `none` - Unspecified state (used to get jobs for all states).
|
|
14
|
-
* * `unknownByClient` - Special reserved value used to notify an older API version client about the presence of an enumeration member added in a later API version.
|
|
15
|
-
* Explicitly setting this value by a client is not allowed, but client code should check it and be able to handle such cases.
|
|
16
|
-
*/
|
|
17
|
-
export type TranslationJobState = 'canceled' | 'definition' | 'readyForTranslation' | 'submittingToTranslation' | 'inTranslation' | 'completed' | 'readyForDeletion' | 'deleting' | 'none' | 'unknownByClient';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Translation job type (push or pull)
|
|
3
|
-
*
|
|
4
|
-
* Members:
|
|
5
|
-
* * `none` - Unspecified job type (used to get jobs for all types).
|
|
6
|
-
* * `pushJob` - Job that pushes translation from one translation source to one or more targets.
|
|
7
|
-
* * `pullJob` - Job that pulls the translation from one or more source languages to the context target.
|
|
8
|
-
* * `unknownByClient` - Special reserved value used to notify an older API version client about the presence of an enumeration member added in a later API version.
|
|
9
|
-
* Explicitly setting this value by a client is not allowed, but client code should check it and be able to handle such cases.
|
|
10
|
-
*/
|
|
11
|
-
export type TranslationJobType = 'none' | 'pushJob' | 'pullJob' | 'unknownByClient';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents translation status of an Item.
|
|
3
|
-
*
|
|
4
|
-
* * `notTranslated` - Item is not translated.
|
|
5
|
-
* * `inProgress` - Translation in progress.
|
|
6
|
-
* * `upToDate` - Items contains latest translation of source.
|
|
7
|
-
* * `newSourceVersionExists` - New version of source available.
|
|
8
|
-
* * `newTargetVersionExists` - Previous version of target item contains translation but target item was changed after.
|
|
9
|
-
* * `unknownByClient` - Special reserved value used to notify an older API version client about the presence
|
|
10
|
-
* of an enumeration member added in a later API version. Explicitly setting this value by a client is not allowed,
|
|
11
|
-
* but client code should check it and be able to handle such cases.
|
|
12
|
-
*/
|
|
13
|
-
export type TranslationStatus = 'notTranslated' | 'inProgress' | 'upToDate' | 'newSourceVersionExists' | 'newTargetVersionExists' | 'unknownByClient';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { TargetPublication as BackendTranslationTargetPublication } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { ItemUri } from '../itemUri';
|
|
3
|
-
export interface TranslationTargetPublicationConstructorArgs {
|
|
4
|
-
backendModel: BackendTranslationTargetPublication;
|
|
5
|
-
idRef: ItemUri | undefined;
|
|
6
|
-
configurationItemUri: ItemUri | undefined;
|
|
7
|
-
}
|
|
8
|
-
export declare class TranslationTargetPublication {
|
|
9
|
-
protected _backendModel: BackendTranslationTargetPublication;
|
|
10
|
-
private _idRef;
|
|
11
|
-
private _configurationItemUri;
|
|
12
|
-
constructor({ backendModel, configurationItemUri, idRef }: TranslationTargetPublicationConstructorArgs);
|
|
13
|
-
get title(): string | undefined;
|
|
14
|
-
get idRef(): ItemUri | undefined;
|
|
15
|
-
get configurationItemTitle(): string | undefined;
|
|
16
|
-
get configurationItemUri(): ItemUri | undefined;
|
|
17
|
-
get isReadOnly(): boolean;
|
|
18
|
-
get isSelected(): boolean;
|
|
19
|
-
getInternalModel: () => BackendTranslationTargetPublication;
|
|
20
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { WorkflowStatus as BackendTranslationWorkflowStatus } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { TmsLanguage } from './tmsLanguage';
|
|
3
|
-
import type { TmsWorkflowStep } from './tmsWorkflowStep';
|
|
4
|
-
export interface TranslationWorkflowStatusConstructorArgs {
|
|
5
|
-
backendModel: BackendTranslationWorkflowStatus;
|
|
6
|
-
language: TmsLanguage | undefined;
|
|
7
|
-
workflowStep: TmsWorkflowStep | undefined;
|
|
8
|
-
}
|
|
9
|
-
export declare class TranslationWorkflowStatus {
|
|
10
|
-
protected _backendModel: BackendTranslationWorkflowStatus;
|
|
11
|
-
private _language;
|
|
12
|
-
private _workflowStep;
|
|
13
|
-
constructor({ backendModel, language, workflowStep }: TranslationWorkflowStatusConstructorArgs);
|
|
14
|
-
/**
|
|
15
|
-
* Number of items in the current `WorkflowStep` for this `Language`.
|
|
16
|
-
*/
|
|
17
|
-
get numberOfItems(): number | undefined;
|
|
18
|
-
get language(): TmsLanguage | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* Current `TmsWorkflowStep` the Items are in on the translation management system.
|
|
21
|
-
*/
|
|
22
|
-
get workflowStep(): TmsWorkflowStep | undefined;
|
|
23
|
-
getInternalModel: () => BackendTranslationWorkflowStatus;
|
|
24
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { AccessToken as BackendAccessToken } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { SystemPrivilegeName, SystemPrivilegesDictionary } from '../systemPrivilegesDictionary';
|
|
3
|
-
import type { UserConstructorArgs } from './user';
|
|
4
|
-
import { User } from './user';
|
|
5
|
-
export interface AccessTokenConstructorArgs extends UserConstructorArgs {
|
|
6
|
-
backendModel: BackendAccessToken;
|
|
7
|
-
inheritedSystemPrivileges: SystemPrivilegesDictionary | undefined;
|
|
8
|
-
}
|
|
9
|
-
export declare class AccessToken extends User {
|
|
10
|
-
protected _backendModel: BackendAccessToken;
|
|
11
|
-
private _inheritedSystemPrivileges;
|
|
12
|
-
constructor({ backendModel, inheritedSystemPrivileges, ...userArgs }: AccessTokenConstructorArgs);
|
|
13
|
-
/**
|
|
14
|
-
* Expiration date and time in UTC format for this token.
|
|
15
|
-
*/
|
|
16
|
-
get expiresAt(): string | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* Dictionary containing "SystemPrivilege" and link "Group" associations.
|
|
19
|
-
*/
|
|
20
|
-
get inheritedSystemPrivileges(): SystemPrivilegesDictionary | undefined;
|
|
21
|
-
hasInheritedSystemPrivilege(systemPrivilege: SystemPrivilegeName): boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Signature value for this token to prevent modifying any of its properties outside of the CM system.
|
|
24
|
-
*/
|
|
25
|
-
get signature(): string | undefined;
|
|
26
|
-
getInternalModel: () => BackendAccessToken;
|
|
27
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { GroupMembership as BackendGroupMembership } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { Link, LinkWithIsEditable } from '../links';
|
|
3
|
-
export interface GroupMembershipConstructorArgs {
|
|
4
|
-
backendModel: BackendGroupMembership;
|
|
5
|
-
group: Link | undefined;
|
|
6
|
-
scope: ReadonlyArray<LinkWithIsEditable> | undefined;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Contains the scope of a Group.
|
|
10
|
-
*/
|
|
11
|
-
export declare class GroupMembership {
|
|
12
|
-
protected _backendModel: BackendGroupMembership;
|
|
13
|
-
private _group;
|
|
14
|
-
private _scope;
|
|
15
|
-
constructor({ backendModel, group, scope }: GroupMembershipConstructorArgs);
|
|
16
|
-
get group(): Link | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* Scope of the group
|
|
19
|
-
*/
|
|
20
|
-
get scope(): ReadonlyArray<LinkWithIsEditable> | undefined;
|
|
21
|
-
getInternalModel: () => BackendGroupMembership;
|
|
22
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './accessToken';
|
|
2
|
-
export * from './groupMembership';
|
|
3
|
-
export * from './trustee';
|
|
4
|
-
export * from './user';
|
|
5
|
-
export * from './userFavoriteLink';
|
|
6
|
-
export * from './userGroup';
|
|
7
|
-
export * from './userLocaleInfo';
|
|
8
|
-
export * from './userPreferences';
|
|
9
|
-
export * from './userProfile';
|
|
10
|
-
export * from './userRuntimeInfo';
|
|
11
|
-
export * from './groupMembership';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { Trustee as BackendTrustee } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { SystemWideObjectConstructorArgs } from '../systemWideObjects';
|
|
3
|
-
import { SystemWideObject } from '../systemWideObjects';
|
|
4
|
-
import type { GroupMembership } from './groupMembership';
|
|
5
|
-
export interface TrusteeConstructorArgs extends SystemWideObjectConstructorArgs {
|
|
6
|
-
backendModel: BackendTrustee;
|
|
7
|
-
groupMemberships: ReadonlyArray<GroupMembership> | undefined;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Abstract base class for the data of "Trustees": the data of Users or Groups.
|
|
11
|
-
*/
|
|
12
|
-
export declare abstract class Trustee extends SystemWideObject {
|
|
13
|
-
protected _backendModel: BackendTrustee;
|
|
14
|
-
private _groupMemberships;
|
|
15
|
-
constructor({ backendModel, groupMemberships, ...systemWideObjectArgs }: TrusteeConstructorArgs);
|
|
16
|
-
/**
|
|
17
|
-
* Description (full name) of the Trustee
|
|
18
|
-
*/
|
|
19
|
-
get description(): string | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* Whether the trustee is predefined by the system.
|
|
22
|
-
*/
|
|
23
|
-
get isPredefined(): boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Access to the Trustee's Group memberships.
|
|
26
|
-
*/
|
|
27
|
-
get groupMemberships(): ReadonlyArray<GroupMembership> | undefined;
|
|
28
|
-
getLabelWithId(labelSource?: 'title' | 'description', includeVersion?: boolean): string;
|
|
29
|
-
getInternalModel: () => BackendTrustee;
|
|
30
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { User as BackendUser } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { TrusteeConstructorArgs } from './trustee';
|
|
3
|
-
import { Trustee } from './trustee';
|
|
4
|
-
export interface UserConstructorArgs extends TrusteeConstructorArgs {
|
|
5
|
-
}
|
|
6
|
-
export declare class User extends Trustee {
|
|
7
|
-
protected _backendModel: BackendUser;
|
|
8
|
-
constructor({ backendModel, ...trusteeArgs }: UserConstructorArgs);
|
|
9
|
-
/**
|
|
10
|
-
* Whether the User is enabled.
|
|
11
|
-
*/
|
|
12
|
-
get isEnabled(): boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Whether the enabled state can be modified.
|
|
15
|
-
*/
|
|
16
|
-
get isEnabledEditable(): boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Language ID (LCID) of the User
|
|
19
|
-
*/
|
|
20
|
-
get languageId(): number | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* Locale ID (LCID) of the User
|
|
23
|
-
*/
|
|
24
|
-
get localeId(): number | undefined;
|
|
25
|
-
getInternalModel: () => BackendUser;
|
|
26
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { FavoriteLink as BackendFavoriteLink } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { ItemUri } from '../itemUri';
|
|
3
|
-
export interface UserFavoriteLinkConstructorArgs {
|
|
4
|
-
backendModel: BackendFavoriteLink;
|
|
5
|
-
idRef: ItemUri;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Represents the link to a favorite item.
|
|
9
|
-
*/
|
|
10
|
-
export declare class UserFavoriteLink {
|
|
11
|
-
protected _backendModel: BackendFavoriteLink;
|
|
12
|
-
private _idRef;
|
|
13
|
-
constructor({ backendModel, idRef }: UserFavoriteLinkConstructorArgs);
|
|
14
|
-
/**
|
|
15
|
-
* TCM URI of the referenced item.
|
|
16
|
-
*/
|
|
17
|
-
get idRef(): ItemUri;
|
|
18
|
-
/**
|
|
19
|
-
* Title of the referenced item.
|
|
20
|
-
*/
|
|
21
|
-
get title(): string | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* Path to the container where the referenced item is located.
|
|
24
|
-
*/
|
|
25
|
-
get path(): string | undefined;
|
|
26
|
-
getInternalModel: () => BackendFavoriteLink;
|
|
27
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { Group as BackendGroup } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { LinkWithIsEditable } from '../links';
|
|
3
|
-
import type { SystemPrivilege } from '../systemPrivilege';
|
|
4
|
-
import type { SystemPrivilegesDictionary } from '../systemPrivilegesDictionary';
|
|
5
|
-
import type { TrusteeConstructorArgs } from './trustee';
|
|
6
|
-
import { Trustee } from './trustee';
|
|
7
|
-
export interface UserGroupConstructorArgs extends TrusteeConstructorArgs {
|
|
8
|
-
backendModel: BackendGroup;
|
|
9
|
-
scope: ReadonlyArray<LinkWithIsEditable> | undefined;
|
|
10
|
-
systemPrivileges: ReadonlyArray<SystemPrivilege> | undefined;
|
|
11
|
-
inheritedSystemPrivileges: SystemPrivilegesDictionary | undefined;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Represents a data of Group of Users.
|
|
15
|
-
*/
|
|
16
|
-
export declare class UserGroup extends Trustee {
|
|
17
|
-
protected _backendModel: BackendGroup;
|
|
18
|
-
private _scope;
|
|
19
|
-
private _systemPrivileges;
|
|
20
|
-
private _inheritedSystemPrivileges;
|
|
21
|
-
constructor({ backendModel, inheritedSystemPrivileges, scope, systemPrivileges, ...trusteeArgs }: UserGroupConstructorArgs);
|
|
22
|
-
/**
|
|
23
|
-
* Default Group Id.
|
|
24
|
-
* Determines the default Group id for current Group.
|
|
25
|
-
*/
|
|
26
|
-
get defaultGroupId(): number | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* A dictionary containing "SystemPrivilege" and link "UserGroup" associations.
|
|
29
|
-
*/
|
|
30
|
-
get inheritedSystemPrivileges(): SystemPrivilegesDictionary | undefined;
|
|
31
|
-
/**
|
|
32
|
-
* Access to the UserGroup's scope (also known as "usage constraints"): the Repositories in which the UserGroup can be used.
|
|
33
|
-
* A collection of Repository objects representing the Repositories in which the UserGroup can be used.
|
|
34
|
-
* An empty collection means that the UserGroup is not scoped to particular Repositories.
|
|
35
|
-
* Changes to the collection are reflected in the state of the UserGroup.
|
|
36
|
-
*/
|
|
37
|
-
get scope(): ReadonlyArray<LinkWithIsEditable> | undefined;
|
|
38
|
-
/**
|
|
39
|
-
* A collection of "SystemPrivilege" assigned for this UserGroup.
|
|
40
|
-
*/
|
|
41
|
-
get systemPrivileges(): ReadonlyArray<SystemPrivilege> | undefined;
|
|
42
|
-
getInternalModel: () => BackendGroup;
|
|
43
|
-
}
|